telegram-crawler/data/mini_app/wallet/src/routePaths.ts

123 lines
5.3 KiB
TypeScript
Raw Normal View History

2023-09-15 11:59:27 +02:00
enum RoutePaths {
ROOT = '/',
WV = '/wv',
MAIN = '/main',
FIRST_DEPOSIT = '/first-deposit',
ATTACHES_PROMO = '/attaches-promo',
EXCHANGE = '/exchange',
EXCHANGE_CONFIRMATION = '/exchange/confirmation',
ASSETS = '/assets/:assetCurrency',
PURCHASE = '/assets/:assetCurrency/purchase',
RECEIVER_SEARCH = '/assets/:assetCurrency/receiver-search',
SEND = '/assets/send',
SEND_REQUEST_CONFIRMATION = '/assets/:assetCurrency/send-request-confirmation',
SEND_REQUEST_STATUS = '/assets/:assetCurrency/send-request-status',
KYC = '/kyc',
KYC_FIRST_CONFIRMATION = '/kyc/first-confirmation',
KYC_CONFIRMATION = '/kyc/conformation',
KYC_SETTINGS = '/kyc/settings',
KYC_SUMSUB = '/kyc/sumsub',
SEND_OPTIONS = '/send-options',
PURCHASE_OPTIONS = '/purchase-options',
RECEIVE = '/receive',
ONBOARDING = '/onboarding',
FIRST_TRANSACTION = '/first-transaction',
UNAVAILABLE = '/unavailable',
COUNTRY_FORBIDDEN = '/country-forbidden',
UNKNOWN_ERROR = '/unknown-error',
ERROR = '/error',
SETTINGS = '/settings',
SETTINGS_ASSETS = '/settings_assets',
SETTINGS_PASSCODE = '/settings_passcode',
PASSCODE_TURN_ON = '/passcode_turn_on',
PASSCODE_CREATE = '/passcode_create',
PASSCODE_VERIFY = '/passcode_verify',
PASSCODE_RESET = '/passcode_reset',
PASSCODE_UNLOCK_DURATION = '/passcode_unlock_duration',
RECOVERY_EMAIL_CHANGE = '/email_change',
RECOVERY_EMAIL_CREATE = '/email_create',
SETTINGS_LANGUAGE = '/settings-language',
SETTINGS_SELECT_PAYMENT_CURRENCY = '/settings-select-payment-currency',
SELECT_PAYMENT_CURRENCY = '/select-payment-currency',
TRANSACTION = '/transactions',
PURCHASE_STATUS = '/purchase_status',
OPEN_GIFT = '/open_gift',
SEND_GIFT = '/send_gift',
CHOOSE_ASSET = '/choose_asset/:type',
USDT_RUFFLE = '/usdt_ruffle',
USDT_RUFFLE_TICKETS = '/usdt_ruffle/tickets',
P2P_HOME = '/p2p',
P2P_NOTIFICATIONS = '/p2p/user/:id/notifications',
P2P_OFFERS = '/p2p/offers/list/:type/*',
P2P_OFFER = '/p2p/offers/:id',
P2P_OFFER_SELECT_PAYMENT = '/p2p/offers/:id/select-payment',
P2P_OFFER_CREATE_PAYMENT = '/p2p/offers/:id/create-payment',
P2P_OFFER_CREATE = '/p2p/offers/create',
// Temporary solution until Telegram fix scroll issue of absolute positioned elements
P2P_OFFER_CREATE_SELECT_CURRENCY = '/p2p/offers/create/select-currency',
P2P_OFFER_CREATE_ADD_PAYMENT_METHODS = '/p2p/offers/create/add-payment-methods',
P2P_OFFER_CREATE_NEW_PAYMENT_METHOD = '/p2p/offers/create/new-payment-method',
P2P_OFFER_CREATE_CHOOSE_PAYMENT_METHODS = '/p2p/offers/create/choose-payment-method',
P2P_OFFER_CREATE_ADD_COMMENT = '/p2p/offers/create/add-comment',
P2P_OFFER_CREATE_PREVIEW_OFFER = '/p2p/offers/create/preview-offer',
P2P_OFFER_EDIT = '/p2p/offers/:id/edit',
P2P_OFFER_EDIT_ADD_PAYMENT_METHODS = '/p2p/offers/:id/edit/add-payment-methods',
P2P_OFFER_EDIT_NEW_PAYMENT_METHOD = '/p2p/offers/:id/edit/new-payment-method',
P2P_OFFER_EDIT_CHOOSE_PAYMENT_METHODS = '/p2p/offers/:id/edit/choose-payment-method',
P2P_OFFER_EDIT_ADD_COMMENT = '/p2p/offers/:id/edit/add-comment',
P2P_OFFER_EDIT_PREVIEW_OFFER = '/p2p/offers/:id/edit/preview-offer',
P2P_OFFER_DETAILS = '/p2p/offers/:id/details',
P2P_OFFER_CREATE_EDIT_SUCCESS = '/p2p/offers/:id/success',
P2P_OFFER_PREVIEW = '/p2p/offers/:id/preview',
P2P_ORDERS = '/p2p/orders',
P2P_ORDER = '/p2p/orders/:id',
P2P_USER_PROFILE = '/p2p/user',
P2P_USER_PAYMENTS_NEW = '/p2p/user/payments/new/*',
P2P_USER_PAYMENTS_EDIT = '/p2p/user/payments/:id/edit',
P2P_USER_PAYMENTS_CREATE = '/p2p/user/payments/create',
P2P_USER_PAYMENTS = '/p2p/user/payments',
P2P_UNAVAILABLE = '/p2p/unavailable',
WPAY_ORDER_PAYMENT = '/wpay',
WPAY_CHOOSE_PAYMENT_ASSET = '/wpay/choose-payment-asset',
WPAY_CHOOSE_DEPOSIT_TYPE = '/wpay/choose-deposit-type',
SCW_MAIN = '/scw',
SCW_ASSET = '/scw/assets/:currency',
SCW_ONBOARDING = '/scw/onboarding',
SCW_IMPORT_CHOOSE_METHOD = '/scw/import/choose-method',
SCW_IMPORT_CONFIRMATION = '/scw/import/confirmation',
SWC_IMPORT_MNEMONIC = '/scw/import/mnemonic',
SWC_IMPORT_FAILED = '/scw/import/failed',
SWC_IMPORT_SUCCESS = '/scw/import/success',
SCW_IMPORT_EXISTING = '/scw/import/existing',
SCW_BACKUP_CHOOSE_METHOD = '/scw/backup/choose-method',
SCW_BACKUP_MANUAL = '/scw/backup/manual',
SCW_BACKUP_TEST = '/scw/backup/test',
SCW_BACKUP_TEST_SUCCESS = '/scw/backup/test-success',
SCW_BACKUP_SUCCESS = '/scw/backup/success',
SCW_RECOVER = '/scw/recover',
SCW_UPDATE = '/scw/update',
SCW_BETA_WAITLIST_SUCCESS = '/scw/beta-waitlist-success',
SCW_RECEIVE_OPTIONS = '/scw/receive-options',
SCW_QR = '/scw/qr',
SCW_SETTINGS = '/scw/settings',
SCW_SETTINGS_LOGOUT = '/scw/settings/logout',
SCW_SEND = '/scw/send',
SCW_SEND_TON_CONFIRMATION = '/scw/send-ton-confirmation',
SCW_SEND_JETTON_CONFIRMATION = '/scw/send-jetton-confirmation',
SCW_SEND_TON_OPTIONS = '/scw/send-ton-options',
SCW_SEND_SUCCESS = '/scw/send-success',
SCW_RECEIVER_SEARCH = '/scw/receiver-search',
SCW_CHOOSE_ASSET = '/scw/choose-asset',
SCW_TX = '/scw/tx/:id',
COLLECTIBLES = '/collectibles',
COLLECTIBLE = '/collectible/:address',
COLLECTIBLE_RECEIVER_SEARCH = '/collectible/:address/receiver-search',
COLLECTIBLE_SEND_CONFIRM = '/collectible/:address/send/:recipientAddress',
COLLECTIBLE_SEND_SUCCESS = '/collectible/:address/send/:recipientAddress/success',
}
export default RoutePaths;