39 lines
1.6 KiB
Dart
39 lines
1.6 KiB
Dart
class ApiPath {
|
|
static String checkPhone = '/api/v1/customer-auth/check-phone';
|
|
static String register = '/api/v1/customer-auth/register/start';
|
|
static String verify = '/api/v1/customer-auth/register/verify-otp';
|
|
static String setPassword = '/api/v1/customer-auth/register/set-password';
|
|
static String login = '/api/v1/customer-auth/login';
|
|
static String resend = '/api/v1/customer-auth/resend-otp';
|
|
|
|
// 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 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';
|
|
|
|
// Voucher
|
|
static String vouchers = '/api/v1/customer/vouchers';
|
|
static String voucherRedemptions = '/api/v1/customer/vouchers/redemptions';
|
|
static String voucherRedeem(String voucherId) =>
|
|
'/api/v1/customer/vouchers/$voucherId/redeem';
|
|
|
|
// Device (push notification)
|
|
static String devices = '/api/v1/customer/devices';
|
|
}
|