- Wallet EnakPoint & EnakCoin: beranda, riwayat, saldo kedaluwarsa, kode bayar, tukar EnakCoin, transfer - PIN (buat, ganti, lupa), outlet, riwayat order, game spin - Halaman community, webview, coming soon, dan ikon menu beranda baru - Redesign Reward Saya: kartu tiket, filter chip, detail kode + QR - Hapus customer point loader, menu, dan checkout lama - Base URL ke enaklo-pos-api.altru.id Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 lines
1.6 KiB
Dart
38 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';
|
|
|
|
// Marketing
|
|
static String ferrisWheel = '/api/v1/customer/ferris-wheel';
|
|
static String spin = '/api/v1/customer/spin';
|
|
|
|
// 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';
|
|
}
|