2025-09-18 05:51:17 +07:00
|
|
|
class ApiPath {
|
|
|
|
|
static String checkPhone = '/api/v1/customer-auth/check-phone';
|
2025-09-18 06:03:02 +07:00
|
|
|
static String register = '/api/v1/customer-auth/register/start';
|
2025-09-18 06:38:50 +07:00
|
|
|
static String verify = '/api/v1/customer-auth/register/verify-otp';
|
2025-09-18 06:57:08 +07:00
|
|
|
static String setPassword = '/api/v1/customer-auth/register/set-password';
|
2025-09-18 08:17:24 +07:00
|
|
|
static String login = '/api/v1/customer-auth/login';
|
2025-09-18 09:03:50 +07:00
|
|
|
static String resend = '/api/v1/customer-auth/resend-otp';
|
2025-09-18 10:39:54 +07:00
|
|
|
|
|
|
|
|
// Marketing
|
2025-09-18 14:53:39 +07:00
|
|
|
static String ferrisWheel = '/api/v1/customer/ferris-wheel';
|
2026-10-01 01:43:22 +07:00
|
|
|
static String spin = '/api/v1/customer/spin';
|
2026-01-16 12:26:06 +07:00
|
|
|
|
2026-10-01 01:43:22 +07:00
|
|
|
// Wallet
|
|
|
|
|
static String wallet = '/api/v1/customer/wallet';
|
|
|
|
|
static String walletTransactions = '/api/v1/customer/wallet/transactions';
|
|
|
|
|
static String walletExpiring = '/api/v1/customer/wallet/expiring';
|
|
|
|
|
static String walletPaymentCode = '/api/v1/customer/wallet/payment-code';
|
|
|
|
|
static String walletExchangePreview =
|
|
|
|
|
'/api/v1/customer/wallet/exchange/preview';
|
|
|
|
|
static String walletExchange = '/api/v1/customer/wallet/exchange';
|
|
|
|
|
static String walletTransferRecipient =
|
|
|
|
|
'/api/v1/customer/wallet/transfer/recipient';
|
|
|
|
|
static String walletTransfer = '/api/v1/customer/wallet/transfer';
|
|
|
|
|
|
|
|
|
|
// Outlet & order
|
|
|
|
|
static String outlets = '/api/v1/customer/outlets';
|
|
|
|
|
static String orders = '/api/v1/customer/orders';
|
|
|
|
|
|
|
|
|
|
// PIN
|
|
|
|
|
static String pin = '/api/v1/customer/pin';
|
|
|
|
|
static String pinStatus = '/api/v1/customer/pin/status';
|
|
|
|
|
static String pinOtp = '/api/v1/customer/pin/otp';
|
|
|
|
|
static String pinReset = '/api/v1/customer/pin/reset';
|
|
|
|
|
|
|
|
|
|
// Device (push notification)
|
|
|
|
|
static String devices = '/api/v1/customer/devices';
|
2025-09-18 05:51:17 +07:00
|
|
|
}
|