2025-08-16 17:27:57 +07:00
|
|
|
class ApiPath {
|
2025-08-16 19:29:21 +07:00
|
|
|
// Auth
|
2025-08-16 17:27:57 +07:00
|
|
|
static const String login = '/api/v1/auth/login';
|
2025-08-16 19:29:21 +07:00
|
|
|
static const String logout = '/api/v1/auth/logout';
|
2025-08-17 10:10:31 +07:00
|
|
|
|
|
|
|
|
// Analytic
|
|
|
|
|
static const String salesAnalytic = '/api/v1/analytics/sales';
|
2025-08-17 22:36:46 +07:00
|
|
|
static const String profitLossAnalytic = '/api/v1/analytics/profit-loss';
|
2025-08-17 22:46:25 +07:00
|
|
|
static const String categoryAnalytic = '/api/v1/analytics/categories';
|
2025-08-18 01:50:50 +07:00
|
|
|
static const String dashboardAnalytic = '/api/v1/analytics/dashboard';
|
2025-08-17 12:50:10 +07:00
|
|
|
|
2025-08-17 23:54:28 +07:00
|
|
|
// Inventory
|
|
|
|
|
static const String inventoryReportDetail =
|
|
|
|
|
'/api/v1/inventory/report/details';
|
|
|
|
|
|
2025-08-17 12:50:10 +07:00
|
|
|
// Category
|
|
|
|
|
static const String category = '/api/v1/categories';
|
2025-08-17 14:18:10 +07:00
|
|
|
|
|
|
|
|
// Product
|
|
|
|
|
static const String product = '/api/v1/products';
|
2025-08-18 00:30:17 +07:00
|
|
|
|
|
|
|
|
// Customer
|
|
|
|
|
static const String customer = '/api/v1/customers';
|
2025-08-16 17:27:57 +07:00
|
|
|
}
|