web3-banking-system-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/account.d.ts +5 -0
- package/dist/account.js +5 -0
- package/dist/api/api.d.ts +20 -0
- package/dist/api/api.js +53 -0
- package/dist/api/bc-api.d.ts +42 -0
- package/dist/api/bc-api.js +117 -0
- package/dist/api/context/defaultClientContextProvider.d.ts +26 -0
- package/dist/api/context/defaultClientContextProvider.js +61 -0
- package/dist/api/context/index.d.ts +1 -0
- package/dist/api/context/index.js +1 -0
- package/dist/api/data/account.d.ts +3 -0
- package/dist/api/data/account.js +28 -0
- package/dist/api/data/auth.d.ts +10 -0
- package/dist/api/data/auth.js +76 -0
- package/dist/api/data/blockchain.d.ts +8 -0
- package/dist/api/data/blockchain.js +53 -0
- package/dist/api/data/index.d.ts +9 -0
- package/dist/api/data/index.js +9 -0
- package/dist/api/data/limited.d.ts +6 -0
- package/dist/api/data/limited.js +39 -0
- package/dist/api/data/order.d.ts +5 -0
- package/dist/api/data/order.js +63 -0
- package/dist/api/data/organization.d.ts +7 -0
- package/dist/api/data/organization.js +112 -0
- package/dist/api/data/program.d.ts +3 -0
- package/dist/api/data/program.js +32 -0
- package/dist/api/data/result.d.ts +4 -0
- package/dist/api/data/result.js +29 -0
- package/dist/api/data/transaction.d.ts +10 -0
- package/dist/api/data/transaction.js +190 -0
- package/dist/api/data/user/activity.d.ts +0 -0
- package/dist/api/data/user/activity.js +1 -0
- package/dist/api/data/user/address.d.ts +6 -0
- package/dist/api/data/user/address.js +43 -0
- package/dist/api/data/user/auth.d.ts +6 -0
- package/dist/api/data/user/auth.js +30 -0
- package/dist/api/data/user/bankAccount.d.ts +6 -0
- package/dist/api/data/user/bankAccount.js +63 -0
- package/dist/api/data/user/confirmUserSecurity.d.ts +3 -0
- package/dist/api/data/user/confirmUserSecurity.js +17 -0
- package/dist/api/data/user/device.d.ts +9 -0
- package/dist/api/data/user/device.js +72 -0
- package/dist/api/data/user/document.d.ts +5 -0
- package/dist/api/data/user/document.js +46 -0
- package/dist/api/data/user/email.d.ts +11 -0
- package/dist/api/data/user/email.js +89 -0
- package/dist/api/data/user/forgetSecurityData.d.ts +3 -0
- package/dist/api/data/user/forgetSecurityData.js +18 -0
- package/dist/api/data/user/identification.d.ts +5 -0
- package/dist/api/data/user/identification.js +34 -0
- package/dist/api/data/user/index.d.ts +21 -0
- package/dist/api/data/user/index.js +21 -0
- package/dist/api/data/user/personalInfo.d.ts +3 -0
- package/dist/api/data/user/personalInfo.js +11 -0
- package/dist/api/data/user/phone.d.ts +11 -0
- package/dist/api/data/user/phone.js +91 -0
- package/dist/api/data/user/preferences.d.ts +3 -0
- package/dist/api/data/user/preferences.js +11 -0
- package/dist/api/data/user/resetUserSecurity.d.ts +3 -0
- package/dist/api/data/user/resetUserSecurity.js +16 -0
- package/dist/api/data/user/security.d.ts +7 -0
- package/dist/api/data/user/security.js +76 -0
- package/dist/api/data/user/ticket.d.ts +3 -0
- package/dist/api/data/user/ticket.js +28 -0
- package/dist/api/data/user/type.d.ts +3 -0
- package/dist/api/data/user/type.js +8 -0
- package/dist/api/data/user/user.d.ts +6 -0
- package/dist/api/data/user/user.js +119 -0
- package/dist/api/data/user/userDefaults.d.ts +3 -0
- package/dist/api/data/user/userDefaults.js +48 -0
- package/dist/api/data/user/validateLimitedSecurity.d.ts +3 -0
- package/dist/api/data/user/validateLimitedSecurity.js +16 -0
- package/dist/api/data/user/validateSecurityData.d.ts +3 -0
- package/dist/api/data/user/validateSecurityData.js +16 -0
- package/dist/api/data/user/verifyUserSecurity.d.ts +3 -0
- package/dist/api/data/user/verifyUserSecurity.js +16 -0
- package/dist/api/index.d.ts +6 -0
- package/dist/api/index.js +6 -0
- package/dist/api/proxy/accountProxy.d.ts +9 -0
- package/dist/api/proxy/accountProxy.js +17 -0
- package/dist/api/proxy/authProxy.d.ts +13 -0
- package/dist/api/proxy/authProxy.js +34 -0
- package/dist/api/proxy/baseProxy.d.ts +9 -0
- package/dist/api/proxy/baseProxy.js +11 -0
- package/dist/api/proxy/blockchainProxy.d.ts +11 -0
- package/dist/api/proxy/blockchainProxy.js +28 -0
- package/dist/api/proxy/index.d.ts +10 -0
- package/dist/api/proxy/index.js +10 -0
- package/dist/api/proxy/limitedProxy.d.ts +16 -0
- package/dist/api/proxy/limitedProxy.js +48 -0
- package/dist/api/proxy/orderProxy.d.ts +8 -0
- package/dist/api/proxy/orderProxy.js +16 -0
- package/dist/api/proxy/organizationProxy.d.ts +13 -0
- package/dist/api/proxy/organizationProxy.js +39 -0
- package/dist/api/proxy/programProxy.d.ts +12 -0
- package/dist/api/proxy/programProxy.js +16 -0
- package/dist/api/proxy/promotionProxy.d.ts +10 -0
- package/dist/api/proxy/promotionProxy.js +23 -0
- package/dist/api/proxy/transactionProxy.d.ts +12 -0
- package/dist/api/proxy/transactionProxy.js +34 -0
- package/dist/api/proxy/userProxy.d.ts +85 -0
- package/dist/api/proxy/userProxy.js +235 -0
- package/dist/api/service/accountService.d.ts +10 -0
- package/dist/api/service/accountService.js +18 -0
- package/dist/api/service/authService.d.ts +11 -0
- package/dist/api/service/authService.js +19 -0
- package/dist/api/service/baseBlockchainService.d.ts +8 -0
- package/dist/api/service/baseBlockchainService.js +15 -0
- package/dist/api/service/baseService.d.ts +24 -0
- package/dist/api/service/baseService.js +84 -0
- package/dist/api/service/blockchainService.d.ts +11 -0
- package/dist/api/service/blockchainService.js +26 -0
- package/dist/api/service/index.d.ts +12 -0
- package/dist/api/service/index.js +12 -0
- package/dist/api/service/limitedService.d.ts +15 -0
- package/dist/api/service/limitedService.js +47 -0
- package/dist/api/service/orderService.d.ts +8 -0
- package/dist/api/service/orderService.js +14 -0
- package/dist/api/service/organizationService.d.ts +12 -0
- package/dist/api/service/organizationService.js +35 -0
- package/dist/api/service/programService.d.ts +15 -0
- package/dist/api/service/programService.js +40 -0
- package/dist/api/service/promotionService.d.ts +10 -0
- package/dist/api/service/promotionService.js +24 -0
- package/dist/api/service/transactionService.d.ts +12 -0
- package/dist/api/service/transactionService.js +20 -0
- package/dist/api/service/userService.d.ts +79 -0
- package/dist/api/service/userService.js +286 -0
- package/dist/auth.d.ts +5 -0
- package/dist/auth.js +5 -0
- package/dist/blockchain.d.ts +8 -0
- package/dist/blockchain.js +11 -0
- package/dist/constant/constant.d.ts +137 -0
- package/dist/constant/constant.js +160 -0
- package/dist/constant/enum.d.ts +1528 -0
- package/dist/constant/enum.js +1609 -0
- package/dist/constant/index.d.ts +4 -0
- package/dist/constant/index.js +4 -0
- package/dist/constant/regex.d.ts +118 -0
- package/dist/constant/regex.js +116 -0
- package/dist/constant/structure.d.ts +100 -0
- package/dist/constant/structure.js +102 -0
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +2 -0
- package/dist/content/countries.d.ts +3 -0
- package/dist/content/countries.js +251 -0
- package/dist/content/currencies.d.ts +2162 -0
- package/dist/content/currencies.js +219 -0
- package/dist/content/index.d.ts +3 -0
- package/dist/content/index.js +3 -0
- package/dist/content/states.d.ts +6 -0
- package/dist/content/states.js +349 -0
- package/dist/contents.d.ts +1 -0
- package/dist/contents.js +2 -0
- package/dist/enums.d.ts +1 -0
- package/dist/enums.js +2 -0
- package/dist/helper/api/axiosHelper.d.ts +17 -0
- package/dist/helper/api/axiosHelper.js +116 -0
- package/dist/helper/api/index.d.ts +3 -0
- package/dist/helper/api/index.js +3 -0
- package/dist/helper/api/responseHelper.d.ts +9 -0
- package/dist/helper/api/responseHelper.js +51 -0
- package/dist/helper/api/resultHelper.d.ts +6 -0
- package/dist/helper/api/resultHelper.js +18 -0
- package/dist/helper/cipherHelper.d.ts +21 -0
- package/dist/helper/cipherHelper.js +187 -0
- package/dist/helper/clientHelper.d.ts +13 -0
- package/dist/helper/clientHelper.js +34 -0
- package/dist/helper/dateTimeHelper.d.ts +8 -0
- package/dist/helper/dateTimeHelper.js +23 -0
- package/dist/helper/deviceHelper.d.ts +12 -0
- package/dist/helper/deviceHelper.js +114 -0
- package/dist/helper/geoHelper.d.ts +26 -0
- package/dist/helper/geoHelper.js +160 -0
- package/dist/helper/index.d.ts +8 -0
- package/dist/helper/index.js +8 -0
- package/dist/helper/storage/cookiesHelper.d.ts +64 -0
- package/dist/helper/storage/cookiesHelper.js +663 -0
- package/dist/helper/storage/index.d.ts +3 -0
- package/dist/helper/storage/index.js +3 -0
- package/dist/helper/storage/localStorageHelper.d.ts +21 -0
- package/dist/helper/storage/localStorageHelper.js +108 -0
- package/dist/helper/storage/storageHelper.d.ts +13 -0
- package/dist/helper/storage/storageHelper.js +26 -0
- package/dist/helper/userHelper.d.ts +47 -0
- package/dist/helper/userHelper.js +260 -0
- package/dist/helpers.d.ts +1 -0
- package/dist/helpers.js +2 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +5 -0
- package/dist/limited.d.ts +5 -0
- package/dist/limited.js +5 -0
- package/dist/order.d.ts +5 -0
- package/dist/order.js +5 -0
- package/dist/organization.d.ts +5 -0
- package/dist/organization.js +5 -0
- package/dist/program.d.ts +4 -0
- package/dist/program.js +5 -0
- package/dist/promotion.d.ts +3 -0
- package/dist/promotion.js +3 -0
- package/dist/regex.d.ts +1 -0
- package/dist/regex.js +2 -0
- package/dist/structures.d.ts +1 -0
- package/dist/structures.js +2 -0
- package/dist/transaction.d.ts +5 -0
- package/dist/transaction.js +5 -0
- package/dist/types/api/api.d.ts +8 -0
- package/dist/types/api/api.js +1 -0
- package/dist/types/api/bc-api.d.ts +9 -0
- package/dist/types/api/bc-api.js +1 -0
- package/dist/types/api/common/index.d.ts +9 -0
- package/dist/types/api/common/index.js +1 -0
- package/dist/types/api/context/clientContext.d.ts +28 -0
- package/dist/types/api/context/clientContext.js +1 -0
- package/dist/types/api/context/index.d.ts +1 -0
- package/dist/types/api/context/index.js +1 -0
- package/dist/types/api/data/account.d.ts +7 -0
- package/dist/types/api/data/account.js +1 -0
- package/dist/types/api/data/auth.d.ts +19 -0
- package/dist/types/api/data/auth.js +1 -0
- package/dist/types/api/data/blockchain.d.ts +60 -0
- package/dist/types/api/data/blockchain.js +1 -0
- package/dist/types/api/data/index.d.ts +10 -0
- package/dist/types/api/data/index.js +1 -0
- package/dist/types/api/data/limited.d.ts +20 -0
- package/dist/types/api/data/limited.js +1 -0
- package/dist/types/api/data/openPayd.d.ts +13 -0
- package/dist/types/api/data/openPayd.js +1 -0
- package/dist/types/api/data/order.d.ts +10 -0
- package/dist/types/api/data/order.js +1 -0
- package/dist/types/api/data/organization.d.ts +28 -0
- package/dist/types/api/data/organization.js +1 -0
- package/dist/types/api/data/transaction.d.ts +59 -0
- package/dist/types/api/data/transaction.js +1 -0
- package/dist/types/api/data/user/address.d.ts +21 -0
- package/dist/types/api/data/user/address.js +1 -0
- package/dist/types/api/data/user/auth.d.ts +11 -0
- package/dist/types/api/data/user/auth.js +1 -0
- package/dist/types/api/data/user/bankAccount.d.ts +33 -0
- package/dist/types/api/data/user/bankAccount.js +1 -0
- package/dist/types/api/data/user/device.d.ts +30 -0
- package/dist/types/api/data/user/device.js +1 -0
- package/dist/types/api/data/user/document.d.ts +17 -0
- package/dist/types/api/data/user/document.js +1 -0
- package/dist/types/api/data/user/email.d.ts +28 -0
- package/dist/types/api/data/user/email.js +1 -0
- package/dist/types/api/data/user/identification.d.ts +17 -0
- package/dist/types/api/data/user/identification.js +1 -0
- package/dist/types/api/data/user/index.d.ts +49 -0
- package/dist/types/api/data/user/index.js +1 -0
- package/dist/types/api/data/user/personalInfo.d.ts +9 -0
- package/dist/types/api/data/user/personalInfo.js +1 -0
- package/dist/types/api/data/user/phone.d.ts +30 -0
- package/dist/types/api/data/user/phone.js +1 -0
- package/dist/types/api/data/user/preferences.d.ts +7 -0
- package/dist/types/api/data/user/preferences.js +1 -0
- package/dist/types/api/data/user/security.d.ts +26 -0
- package/dist/types/api/data/user/security.js +1 -0
- package/dist/types/api/data/user/ticket.d.ts +9 -0
- package/dist/types/api/data/user/ticket.js +1 -0
- package/dist/types/api/data/user/type.d.ts +5 -0
- package/dist/types/api/data/user/type.js +1 -0
- package/dist/types/api/index.d.ts +7 -0
- package/dist/types/api/index.js +1 -0
- package/dist/types/api/proxy/index.d.ts +9 -0
- package/dist/types/api/proxy/index.js +1 -0
- package/dist/types/api/service/accountService.d.ts +3 -0
- package/dist/types/api/service/accountService.js +1 -0
- package/dist/types/api/service/authService.d.ts +3 -0
- package/dist/types/api/service/authService.js +1 -0
- package/dist/types/api/service/baseService.d.ts +13 -0
- package/dist/types/api/service/baseService.js +1 -0
- package/dist/types/api/service/blockchainService.d.ts +3 -0
- package/dist/types/api/service/blockchainService.js +1 -0
- package/dist/types/api/service/index.d.ts +11 -0
- package/dist/types/api/service/index.js +1 -0
- package/dist/types/api/service/limitedService.d.ts +3 -0
- package/dist/types/api/service/limitedService.js +1 -0
- package/dist/types/api/service/orderService.d.ts +3 -0
- package/dist/types/api/service/orderService.js +1 -0
- package/dist/types/api/service/organizationService.d.ts +3 -0
- package/dist/types/api/service/organizationService.js +1 -0
- package/dist/types/api/service/programService.d.ts +3 -0
- package/dist/types/api/service/programService.js +1 -0
- package/dist/types/api/service/promotionService.d.ts +11 -0
- package/dist/types/api/service/promotionService.js +1 -0
- package/dist/types/api/service/transactionService.d.ts +3 -0
- package/dist/types/api/service/transactionService.js +1 -0
- package/dist/types/api/service/userService.d.ts +3 -0
- package/dist/types/api/service/userService.js +1 -0
- package/dist/types/banking/account/accountStatementData.d.ts +7 -0
- package/dist/types/banking/account/accountStatementData.js +1 -0
- package/dist/types/banking/account/accountdata.d.ts +19 -0
- package/dist/types/banking/account/accountdata.js +1 -0
- package/dist/types/banking/account/accountstatementdetails.d.ts +18 -0
- package/dist/types/banking/account/accountstatementdetails.js +1 -0
- package/dist/types/banking/account/accountstatementinfo.d.ts +12 -0
- package/dist/types/banking/account/accountstatementinfo.js +1 -0
- package/dist/types/banking/account/accountstatementtransaction.d.ts +15 -0
- package/dist/types/banking/account/accountstatementtransaction.js +1 -0
- package/dist/types/banking/account/chaindata/chaindata.d.ts +8 -0
- package/dist/types/banking/account/chaindata/chaindata.js +1 -0
- package/dist/types/banking/account/chaindata/index.d.ts +1 -0
- package/dist/types/banking/account/chaindata/index.js +1 -0
- package/dist/types/banking/account/creditlimit.d.ts +14 -0
- package/dist/types/banking/account/creditlimit.js +1 -0
- package/dist/types/banking/account/fulfilment.d.ts +17 -0
- package/dist/types/banking/account/fulfilment.js +1 -0
- package/dist/types/banking/account/index.d.ts +13 -0
- package/dist/types/banking/account/index.js +1 -0
- package/dist/types/banking/account/info.d.ts +33 -0
- package/dist/types/banking/account/info.js +1 -0
- package/dist/types/banking/account/limits/dailylimit.d.ts +19 -0
- package/dist/types/banking/account/limits/dailylimit.js +1 -0
- package/dist/types/banking/account/limits/deposit.d.ts +15 -0
- package/dist/types/banking/account/limits/deposit.js +1 -0
- package/dist/types/banking/account/limits/depositinterchange.d.ts +7 -0
- package/dist/types/banking/account/limits/depositinterchange.js +1 -0
- package/dist/types/banking/account/limits/depositmonthly.d.ts +8 -0
- package/dist/types/banking/account/limits/depositmonthly.js +1 -0
- package/dist/types/banking/account/limits/depositpaymentgateway.d.ts +7 -0
- package/dist/types/banking/account/limits/depositpaymentgateway.js +1 -0
- package/dist/types/banking/account/limits/deposityearly.d.ts +8 -0
- package/dist/types/banking/account/limits/deposityearly.js +1 -0
- package/dist/types/banking/account/limits/globaldailylimit.d.ts +11 -0
- package/dist/types/banking/account/limits/globaldailylimit.js +1 -0
- package/dist/types/banking/account/limits/index.d.ts +17 -0
- package/dist/types/banking/account/limits/index.js +1 -0
- package/dist/types/banking/account/limits/limits.d.ts +13 -0
- package/dist/types/banking/account/limits/limits.js +1 -0
- package/dist/types/banking/account/limits/monthlylimit.d.ts +7 -0
- package/dist/types/banking/account/limits/monthlylimit.js +1 -0
- package/dist/types/banking/account/limits/transferreceiving.d.ts +10 -0
- package/dist/types/banking/account/limits/transferreceiving.js +1 -0
- package/dist/types/banking/account/limits/transfersending.d.ts +10 -0
- package/dist/types/banking/account/limits/transfersending.js +1 -0
- package/dist/types/banking/account/limits/withdraw.d.ts +19 -0
- package/dist/types/banking/account/limits/withdraw.js +1 -0
- package/dist/types/banking/account/limits/withdrawinterchange.d.ts +7 -0
- package/dist/types/banking/account/limits/withdrawinterchange.js +1 -0
- package/dist/types/banking/account/limits/withdrawmonthly.d.ts +8 -0
- package/dist/types/banking/account/limits/withdrawmonthly.js +1 -0
- package/dist/types/banking/account/limits/withdraworder.d.ts +7 -0
- package/dist/types/banking/account/limits/withdraworder.js +1 -0
- package/dist/types/banking/account/limits/withdrawpurchaseinterchange.d.ts +7 -0
- package/dist/types/banking/account/limits/withdrawpurchaseinterchange.js +1 -0
- package/dist/types/banking/account/limits/yearlylimit.d.ts +8 -0
- package/dist/types/banking/account/limits/yearlylimit.js +1 -0
- package/dist/types/banking/account/options/bulkshipping.d.ts +11 -0
- package/dist/types/banking/account/options/bulkshipping.js +1 -0
- package/dist/types/banking/account/options/carddetails.d.ts +8 -0
- package/dist/types/banking/account/options/carddetails.js +1 -0
- package/dist/types/banking/account/options/cardproduction.d.ts +23 -0
- package/dist/types/banking/account/options/cardproduction.js +1 -0
- package/dist/types/banking/account/options/courier.d.ts +7 -0
- package/dist/types/banking/account/options/courier.js +1 -0
- package/dist/types/banking/account/options/fulfilment.d.ts +8 -0
- package/dist/types/banking/account/options/fulfilment.js +1 -0
- package/dist/types/banking/account/options/fulfilmentdetails.d.ts +7 -0
- package/dist/types/banking/account/options/fulfilmentdetails.js +1 -0
- package/dist/types/banking/account/options/fulfilmentinfo.d.ts +24 -0
- package/dist/types/banking/account/options/fulfilmentinfo.js +1 -0
- package/dist/types/banking/account/options/index.d.ts +9 -0
- package/dist/types/banking/account/options/index.js +1 -0
- package/dist/types/banking/account/options/options.d.ts +6 -0
- package/dist/types/banking/account/options/options.js +1 -0
- package/dist/types/banking/account/options/security.d.ts +4 -0
- package/dist/types/banking/account/options/security.js +1 -0
- package/dist/types/banking/account/security.d.ts +7 -0
- package/dist/types/banking/account/security.js +1 -0
- package/dist/types/banking/account/tokenization/index.d.ts +4 -0
- package/dist/types/banking/account/tokenization/index.js +1 -0
- package/dist/types/banking/account/tokenization/provision.d.ts +35 -0
- package/dist/types/banking/account/tokenization/provision.js +1 -0
- package/dist/types/banking/account/tokenization/provisionrequest.d.ts +9 -0
- package/dist/types/banking/account/tokenization/provisionrequest.js +1 -0
- package/dist/types/banking/account/tokenization/provisionresponse.d.ts +6 -0
- package/dist/types/banking/account/tokenization/provisionresponse.js +1 -0
- package/dist/types/banking/account/tokenization/tokenization.d.ts +16 -0
- package/dist/types/banking/account/tokenization/tokenization.js +1 -0
- package/dist/types/banking/blockchain/blockchainData.d.ts +9 -0
- package/dist/types/banking/blockchain/blockchainData.js +1 -0
- package/dist/types/banking/blockchain/chainTransactionData.d.ts +8 -0
- package/dist/types/banking/blockchain/chainTransactionData.js +1 -0
- package/dist/types/banking/blockchain/coin.d.ts +1 -0
- package/dist/types/banking/blockchain/coin.js +1 -0
- package/dist/types/banking/blockchain/delegateData.d.ts +3 -0
- package/dist/types/banking/blockchain/delegateData.js +1 -0
- package/dist/types/banking/blockchain/delegationData.d.ts +6 -0
- package/dist/types/banking/blockchain/delegationData.js +1 -0
- package/dist/types/banking/blockchain/index.d.ts +9 -0
- package/dist/types/banking/blockchain/index.js +1 -0
- package/dist/types/banking/blockchain/info.d.ts +16 -0
- package/dist/types/banking/blockchain/info.js +1 -0
- package/dist/types/banking/blockchain/multiSendData.d.ts +6 -0
- package/dist/types/banking/blockchain/multiSendData.js +1 -0
- package/dist/types/banking/blockchain/sendData.d.ts +6 -0
- package/dist/types/banking/blockchain/sendData.js +1 -0
- package/dist/types/banking/blockchain/undelegateData.d.ts +3 -0
- package/dist/types/banking/blockchain/undelegateData.js +1 -0
- package/dist/types/banking/common/ResultSet.d.ts +10 -0
- package/dist/types/banking/common/ResultSet.js +1 -0
- package/dist/types/banking/common/archive.d.ts +7 -0
- package/dist/types/banking/common/archive.js +1 -0
- package/dist/types/banking/common/authentication.d.ts +5 -0
- package/dist/types/banking/common/authentication.js +1 -0
- package/dist/types/banking/common/bankextendeddata.d.ts +12 -0
- package/dist/types/banking/common/bankextendeddata.js +1 -0
- package/dist/types/banking/common/bankingcircledata.d.ts +5 -0
- package/dist/types/banking/common/bankingcircledata.js +1 -0
- package/dist/types/banking/common/baseresult.d.ts +13 -0
- package/dist/types/banking/common/baseresult.js +1 -0
- package/dist/types/banking/common/beneficiaryaddress.d.ts +9 -0
- package/dist/types/banking/common/beneficiaryaddress.js +1 -0
- package/dist/types/banking/common/classification.d.ts +13 -0
- package/dist/types/banking/common/classification.js +1 -0
- package/dist/types/banking/common/contentfile.d.ts +6 -0
- package/dist/types/banking/common/contentfile.js +1 -0
- package/dist/types/banking/common/cryptoaddressextendeddata.d.ts +6 -0
- package/dist/types/banking/common/cryptoaddressextendeddata.js +1 -0
- package/dist/types/banking/common/currencyclouddata.d.ts +65 -0
- package/dist/types/banking/common/currencyclouddata.js +1 -0
- package/dist/types/banking/common/devicecultureinfo.d.ts +26 -0
- package/dist/types/banking/common/devicecultureinfo.js +1 -0
- package/dist/types/banking/common/externalhostinfo.d.ts +9 -0
- package/dist/types/banking/common/externalhostinfo.js +1 -0
- package/dist/types/banking/common/geocoordinates.d.ts +6 -0
- package/dist/types/banking/common/geocoordinates.js +1 -0
- package/dist/types/banking/common/history.d.ts +19 -0
- package/dist/types/banking/common/history.js +1 -0
- package/dist/types/banking/common/index.d.ts +24 -0
- package/dist/types/banking/common/index.js +1 -0
- package/dist/types/banking/common/lastactivity.d.ts +10 -0
- package/dist/types/banking/common/lastactivity.js +1 -0
- package/dist/types/banking/common/notes.d.ts +5 -0
- package/dist/types/banking/common/notes.js +1 -0
- package/dist/types/banking/common/openpayddata.d.ts +34 -0
- package/dist/types/banking/common/openpayddata.js +1 -0
- package/dist/types/banking/common/people/alias.d.ts +10 -0
- package/dist/types/banking/common/people/alias.js +1 -0
- package/dist/types/banking/common/people/billpaydata.d.ts +2 -0
- package/dist/types/banking/common/people/billpaydata.js +1 -0
- package/dist/types/banking/common/people/customerinfo.d.ts +6 -0
- package/dist/types/banking/common/people/customerinfo.js +1 -0
- package/dist/types/banking/common/people/eftdata.d.ts +2 -0
- package/dist/types/banking/common/people/eftdata.js +1 -0
- package/dist/types/banking/common/people/etransferdata.d.ts +6 -0
- package/dist/types/banking/common/people/etransferdata.js +1 -0
- package/dist/types/banking/common/people/index.d.ts +6 -0
- package/dist/types/banking/common/people/index.js +1 -0
- package/dist/types/banking/common/people/peoplesdata.d.ts +7 -0
- package/dist/types/banking/common/people/peoplesdata.js +1 -0
- package/dist/types/banking/common/picture.d.ts +14 -0
- package/dist/types/banking/common/picture.js +1 -0
- package/dist/types/banking/common/result.d.ts +7 -0
- package/dist/types/banking/common/result.js +1 -0
- package/dist/types/banking/common/security/index.d.ts +2 -0
- package/dist/types/banking/common/security/index.js +1 -0
- package/dist/types/banking/common/security/simplifiedaccessrule.d.ts +6 -0
- package/dist/types/banking/common/security/simplifiedaccessrule.js +1 -0
- package/dist/types/banking/common/security/simplifiedaccessruleinfo.d.ts +13 -0
- package/dist/types/banking/common/security/simplifiedaccessruleinfo.js +1 -0
- package/dist/types/banking/common/snbdata.d.ts +6 -0
- package/dist/types/banking/common/snbdata.js +1 -0
- package/dist/types/banking/common/workinghour.d.ts +11 -0
- package/dist/types/banking/common/workinghour.js +1 -0
- package/dist/types/banking/entities/address.d.ts +23 -0
- package/dist/types/banking/entities/address.js +1 -0
- package/dist/types/banking/entities/bankaccount.d.ts +43 -0
- package/dist/types/banking/entities/bankaccount.js +1 -0
- package/dist/types/banking/entities/creditcard.d.ts +25 -0
- package/dist/types/banking/entities/creditcard.js +1 -0
- package/dist/types/banking/entities/cryptoWallet.d.ts +7 -0
- package/dist/types/banking/entities/cryptoWallet.js +1 -0
- package/dist/types/banking/entities/cryptoaddress.d.ts +18 -0
- package/dist/types/banking/entities/cryptoaddress.js +1 -0
- package/dist/types/banking/entities/customField/index.d.ts +8 -0
- package/dist/types/banking/entities/customField/index.js +1 -0
- package/dist/types/banking/entities/customField/promotionData/giftData.d.ts +12 -0
- package/dist/types/banking/entities/customField/promotionData/giftData.js +1 -0
- package/dist/types/banking/entities/customField/promotionData/index.d.ts +3 -0
- package/dist/types/banking/entities/customField/promotionData/index.js +1 -0
- package/dist/types/banking/entities/customField/promotionData/promotionData.d.ts +7 -0
- package/dist/types/banking/entities/customField/promotionData/promotionData.js +1 -0
- package/dist/types/banking/entities/customField/promotionData/referralData.d.ts +5 -0
- package/dist/types/banking/entities/customField/promotionData/referralData.js +1 -0
- package/dist/types/banking/entities/customField/userAccessControl/action.d.ts +7 -0
- package/dist/types/banking/entities/customField/userAccessControl/action.js +1 -0
- package/dist/types/banking/entities/customField/userAccessControl/index.d.ts +5 -0
- package/dist/types/banking/entities/customField/userAccessControl/index.js +1 -0
- package/dist/types/banking/entities/customField/userAccessControl/method.d.ts +5 -0
- package/dist/types/banking/entities/customField/userAccessControl/method.js +1 -0
- package/dist/types/banking/entities/customField/userAccessControl/page.d.ts +7 -0
- package/dist/types/banking/entities/customField/userAccessControl/page.js +1 -0
- package/dist/types/banking/entities/customField/userAccessControl/section.d.ts +7 -0
- package/dist/types/banking/entities/customField/userAccessControl/section.js +1 -0
- package/dist/types/banking/entities/customField/userAccessControl/userAccessControl.d.ts +5 -0
- package/dist/types/banking/entities/customField/userAccessControl/userAccessControl.js +1 -0
- package/dist/types/banking/entities/device.d.ts +25 -0
- package/dist/types/banking/entities/device.js +1 -0
- package/dist/types/banking/entities/devicehistory.d.ts +19 -0
- package/dist/types/banking/entities/devicehistory.js +1 -0
- package/dist/types/banking/entities/email.d.ts +15 -0
- package/dist/types/banking/entities/email.js +1 -0
- package/dist/types/banking/entities/externalauthentication.d.ts +15 -0
- package/dist/types/banking/entities/externalauthentication.js +1 -0
- package/dist/types/banking/entities/generalrequirements.d.ts +10 -0
- package/dist/types/banking/entities/generalrequirements.js +1 -0
- package/dist/types/banking/entities/identification.d.ts +24 -0
- package/dist/types/banking/entities/identification.js +1 -0
- package/dist/types/banking/entities/index.d.ts +20 -0
- package/dist/types/banking/entities/index.js +1 -0
- package/dist/types/banking/entities/json/IdentificationExtraData.d.ts +7 -0
- package/dist/types/banking/entities/json/IdentificationExtraData.js +1 -0
- package/dist/types/banking/entities/json/device/amazonsnsinfo.d.ts +7 -0
- package/dist/types/banking/entities/json/device/amazonsnsinfo.js +1 -0
- package/dist/types/banking/entities/json/device/deviceextendedinfo.d.ts +11 -0
- package/dist/types/banking/entities/json/device/deviceextendedinfo.js +1 -0
- package/dist/types/banking/entities/json/device/index.d.ts +3 -0
- package/dist/types/banking/entities/json/device/index.js +1 -0
- package/dist/types/banking/entities/json/device/siminfo.d.ts +8 -0
- package/dist/types/banking/entities/json/device/siminfo.js +1 -0
- package/dist/types/banking/entities/json/index.d.ts +2 -0
- package/dist/types/banking/entities/json/index.js +1 -0
- package/dist/types/banking/entities/notification.d.ts +9 -0
- package/dist/types/banking/entities/notification.js +1 -0
- package/dist/types/banking/entities/paymentCryptoAddress.d.ts +11 -0
- package/dist/types/banking/entities/paymentCryptoAddress.js +1 -0
- package/dist/types/banking/entities/paymentInfo.d.ts +16 -0
- package/dist/types/banking/entities/paymentInfo.js +1 -0
- package/dist/types/banking/entities/phone.d.ts +16 -0
- package/dist/types/banking/entities/phone.js +1 -0
- package/dist/types/banking/entities/relationship.d.ts +25 -0
- package/dist/types/banking/entities/relationship.js +1 -0
- package/dist/types/banking/entities/socialmedia.d.ts +12 -0
- package/dist/types/banking/entities/socialmedia.js +1 -0
- package/dist/types/banking/entities/termsconditions.d.ts +8 -0
- package/dist/types/banking/entities/termsconditions.js +1 -0
- package/dist/types/banking/group/details.d.ts +9 -0
- package/dist/types/banking/group/details.js +1 -0
- package/dist/types/banking/group/groupdata.d.ts +12 -0
- package/dist/types/banking/group/groupdata.js +1 -0
- package/dist/types/banking/group/groupuser.d.ts +16 -0
- package/dist/types/banking/group/groupuser.js +1 -0
- package/dist/types/banking/group/index.d.ts +7 -0
- package/dist/types/banking/group/index.js +1 -0
- package/dist/types/banking/group/info.d.ts +16 -0
- package/dist/types/banking/group/info.js +1 -0
- package/dist/types/banking/group/localization.d.ts +5 -0
- package/dist/types/banking/group/localization.js +1 -0
- package/dist/types/banking/group/media.d.ts +5 -0
- package/dist/types/banking/group/media.js +1 -0
- package/dist/types/banking/group/settings/classificationinfo.d.ts +7 -0
- package/dist/types/banking/group/settings/classificationinfo.js +1 -0
- package/dist/types/banking/group/settings/companyusers.d.ts +5 -0
- package/dist/types/banking/group/settings/companyusers.js +1 -0
- package/dist/types/banking/group/settings/externalintegration.d.ts +6 -0
- package/dist/types/banking/group/settings/externalintegration.js +1 -0
- package/dist/types/banking/group/settings/fortnox.d.ts +9 -0
- package/dist/types/banking/group/settings/fortnox.js +1 -0
- package/dist/types/banking/group/settings/index.d.ts +8 -0
- package/dist/types/banking/group/settings/index.js +1 -0
- package/dist/types/banking/group/settings/messagingsetup.d.ts +4 -0
- package/dist/types/banking/group/settings/messagingsetup.js +1 -0
- package/dist/types/banking/group/settings/qvitoo.d.ts +15 -0
- package/dist/types/banking/group/settings/qvitoo.js +1 -0
- package/dist/types/banking/group/settings/setting.d.ts +6 -0
- package/dist/types/banking/group/settings/setting.js +1 -0
- package/dist/types/banking/group/settings/voucherrows.d.ts +12 -0
- package/dist/types/banking/group/settings/voucherrows.js +1 -0
- package/dist/types/banking/index.d.ts +13 -0
- package/dist/types/banking/index.js +1 -0
- package/dist/types/banking/oauth/credentialsData.d.ts +16 -0
- package/dist/types/banking/oauth/credentialsData.js +1 -0
- package/dist/types/banking/oauth/index.d.ts +2 -0
- package/dist/types/banking/oauth/index.js +1 -0
- package/dist/types/banking/oauth/tokenData.d.ts +42 -0
- package/dist/types/banking/oauth/tokenData.js +1 -0
- package/dist/types/banking/order/customForm/ggez1.d.ts +20 -0
- package/dist/types/banking/order/customForm/ggez1.js +1 -0
- package/dist/types/banking/order/customForm/ggezGiftRewards.d.ts +12 -0
- package/dist/types/banking/order/customForm/ggezGiftRewards.js +1 -0
- package/dist/types/banking/order/customForm/ggezReferralRewards.d.ts +24 -0
- package/dist/types/banking/order/customForm/ggezReferralRewards.js +1 -0
- package/dist/types/banking/order/customForm/index.d.ts +3 -0
- package/dist/types/banking/order/customForm/index.js +1 -0
- package/dist/types/banking/order/customFormData.d.ts +6 -0
- package/dist/types/banking/order/customFormData.js +1 -0
- package/dist/types/banking/order/features.d.ts +5 -0
- package/dist/types/banking/order/features.js +1 -0
- package/dist/types/banking/order/fee.d.ts +15 -0
- package/dist/types/banking/order/fee.js +1 -0
- package/dist/types/banking/order/fulfilment/fulfilmentInfo.d.ts +12 -0
- package/dist/types/banking/order/fulfilment/fulfilmentInfo.js +1 -0
- package/dist/types/banking/order/fulfilment/index.d.ts +3 -0
- package/dist/types/banking/order/fulfilment/index.js +1 -0
- package/dist/types/banking/order/fulfilment/orderFulfilment.d.ts +15 -0
- package/dist/types/banking/order/fulfilment/orderFulfilment.js +1 -0
- package/dist/types/banking/order/fulfilment/pinCodeFulfilment.d.ts +6 -0
- package/dist/types/banking/order/fulfilment/pinCodeFulfilment.js +1 -0
- package/dist/types/banking/order/index.d.ts +22 -0
- package/dist/types/banking/order/index.js +1 -0
- package/dist/types/banking/order/info.d.ts +30 -0
- package/dist/types/banking/order/info.js +1 -0
- package/dist/types/banking/order/items/index.d.ts +2 -0
- package/dist/types/banking/order/items/index.js +2 -0
- package/dist/types/banking/order/items/info.d.ts +7 -0
- package/dist/types/banking/order/items/info.js +1 -0
- package/dist/types/banking/order/items/orderItem.d.ts +14 -0
- package/dist/types/banking/order/items/orderItem.js +1 -0
- package/dist/types/banking/order/lotteryTicket.d.ts +16 -0
- package/dist/types/banking/order/lotteryTicket.js +1 -0
- package/dist/types/banking/order/orderData.d.ts +12 -0
- package/dist/types/banking/order/orderData.js +1 -0
- package/dist/types/banking/order/orderError.d.ts +14 -0
- package/dist/types/banking/order/orderError.js +1 -0
- package/dist/types/banking/order/paymentMethod.d.ts +12 -0
- package/dist/types/banking/order/paymentMethod.js +1 -0
- package/dist/types/banking/order/pinCode.d.ts +13 -0
- package/dist/types/banking/order/pinCode.js +1 -0
- package/dist/types/banking/order/profit.d.ts +14 -0
- package/dist/types/banking/order/profit.js +1 -0
- package/dist/types/banking/order/promotion.d.ts +2 -0
- package/dist/types/banking/order/promotion.js +1 -0
- package/dist/types/banking/order/reverseData.d.ts +12 -0
- package/dist/types/banking/order/reverseData.js +1 -0
- package/dist/types/banking/order/reverseItem.d.ts +7 -0
- package/dist/types/banking/order/reverseItem.js +1 -0
- package/dist/types/banking/order/reversePinCode.d.ts +4 -0
- package/dist/types/banking/order/reversePinCode.js +1 -0
- package/dist/types/banking/order/ticket.d.ts +2 -0
- package/dist/types/banking/order/ticket.js +1 -0
- package/dist/types/banking/order/topUp.d.ts +4 -0
- package/dist/types/banking/order/topUp.js +1 -0
- package/dist/types/banking/order/variant.d.ts +26 -0
- package/dist/types/banking/order/variant.js +1 -0
- package/dist/types/banking/order/voucher.d.ts +10 -0
- package/dist/types/banking/order/voucher.js +1 -0
- package/dist/types/banking/order/voucherInfo.d.ts +7 -0
- package/dist/types/banking/order/voucherInfo.js +1 -0
- package/dist/types/banking/organization/details.d.ts +9 -0
- package/dist/types/banking/organization/details.js +1 -0
- package/dist/types/banking/organization/index.d.ts +3 -0
- package/dist/types/banking/organization/index.js +1 -0
- package/dist/types/banking/organization/info.d.ts +18 -0
- package/dist/types/banking/organization/info.js +1 -0
- package/dist/types/banking/organization/organizationdata.d.ts +22 -0
- package/dist/types/banking/organization/organizationdata.js +1 -0
- package/dist/types/banking/program/bin/SMSOptionsSetUp.d.ts +4 -0
- package/dist/types/banking/program/bin/SMSOptionsSetUp.js +1 -0
- package/dist/types/banking/program/bin/accFeatures.d.ts +24 -0
- package/dist/types/banking/program/bin/accFeatures.js +1 -0
- package/dist/types/banking/program/bin/accountFeatures.d.ts +7 -0
- package/dist/types/banking/program/bin/accountFeatures.js +1 -0
- package/dist/types/banking/program/bin/accountFeaturesContent.d.ts +7 -0
- package/dist/types/banking/program/bin/accountFeaturesContent.js +1 -0
- package/dist/types/banking/program/bin/accountFeaturesSecurity.d.ts +9 -0
- package/dist/types/banking/program/bin/accountFeaturesSecurity.js +1 -0
- package/dist/types/banking/program/bin/accountPurchasesFeatures.d.ts +9 -0
- package/dist/types/banking/program/bin/accountPurchasesFeatures.js +1 -0
- package/dist/types/banking/program/bin/accountRenewalsFeatures.d.ts +11 -0
- package/dist/types/banking/program/bin/accountRenewalsFeatures.js +1 -0
- package/dist/types/banking/program/bin/accountSecurityDataOptions.d.ts +7 -0
- package/dist/types/banking/program/bin/accountSecurityDataOptions.js +1 -0
- package/dist/types/banking/program/bin/accountsActivationContent.d.ts +10 -0
- package/dist/types/banking/program/bin/accountsActivationContent.js +1 -0
- package/dist/types/banking/program/bin/activationFeatures.d.ts +13 -0
- package/dist/types/banking/program/bin/activationFeatures.js +1 -0
- package/dist/types/banking/program/bin/activationSetup.d.ts +25 -0
- package/dist/types/banking/program/bin/activationSetup.js +1 -0
- package/dist/types/banking/program/bin/authorizationsAVS.d.ts +5 -0
- package/dist/types/banking/program/bin/authorizationsAVS.js +1 -0
- package/dist/types/banking/program/bin/bin.d.ts +14 -0
- package/dist/types/banking/program/bin/bin.js +1 -0
- package/dist/types/banking/program/bin/cardImageNoteTextContent.d.ts +8 -0
- package/dist/types/banking/program/bin/cardImageNoteTextContent.js +1 -0
- package/dist/types/banking/program/bin/cardOption.d.ts +6 -0
- package/dist/types/banking/program/bin/cardOption.js +1 -0
- package/dist/types/banking/program/bin/companionAccountFeatures.d.ts +16 -0
- package/dist/types/banking/program/bin/companionAccountFeatures.js +1 -0
- package/dist/types/banking/program/bin/configuration/BINConfiguration.d.ts +7 -0
- package/dist/types/banking/program/bin/configuration/BINConfiguration.js +1 -0
- package/dist/types/banking/program/bin/configuration/index.d.ts +4 -0
- package/dist/types/banking/program/bin/configuration/index.js +1 -0
- package/dist/types/banking/program/bin/configuration/interchange.d.ts +48 -0
- package/dist/types/banking/program/bin/configuration/interchange.js +1 -0
- package/dist/types/banking/program/bin/configuration/transactionScheduler/features.d.ts +27 -0
- package/dist/types/banking/program/bin/configuration/transactionScheduler/features.js +1 -0
- package/dist/types/banking/program/bin/configuration/transactionScheduler/frequency.d.ts +9 -0
- package/dist/types/banking/program/bin/configuration/transactionScheduler/frequency.js +1 -0
- package/dist/types/banking/program/bin/configuration/transactionScheduler/index.d.ts +6 -0
- package/dist/types/banking/program/bin/configuration/transactionScheduler/index.js +1 -0
- package/dist/types/banking/program/bin/configuration/transactionScheduler/info.d.ts +9 -0
- package/dist/types/banking/program/bin/configuration/transactionScheduler/info.js +1 -0
- package/dist/types/banking/program/bin/configuration/transactionScheduler/processingFeatures.d.ts +8 -0
- package/dist/types/banking/program/bin/configuration/transactionScheduler/processingFeatures.js +1 -0
- package/dist/types/banking/program/bin/configuration/transactionScheduler/transaction.d.ts +11 -0
- package/dist/types/banking/program/bin/configuration/transactionScheduler/transaction.js +1 -0
- package/dist/types/banking/program/bin/configuration/transactionScheduler/transactionSchedulerData.d.ts +9 -0
- package/dist/types/banking/program/bin/configuration/transactionScheduler/transactionSchedulerData.js +1 -0
- package/dist/types/banking/program/bin/configuration/transfer.d.ts +19 -0
- package/dist/types/banking/program/bin/configuration/transfer.js +1 -0
- package/dist/types/banking/program/bin/creditLimitOptions.d.ts +13 -0
- package/dist/types/banking/program/bin/creditLimitOptions.js +1 -0
- package/dist/types/banking/program/bin/deposit.d.ts +13 -0
- package/dist/types/banking/program/bin/deposit.js +1 -0
- package/dist/types/banking/program/bin/depositAndWithdrawalSetup.d.ts +7 -0
- package/dist/types/banking/program/bin/depositAndWithdrawalSetup.js +1 -0
- package/dist/types/banking/program/bin/depositMonthlyYearly.d.ts +8 -0
- package/dist/types/banking/program/bin/depositMonthlyYearly.js +1 -0
- package/dist/types/banking/program/bin/displayOptions.d.ts +6 -0
- package/dist/types/banking/program/bin/displayOptions.js +1 -0
- package/dist/types/banking/program/bin/feeSetup.d.ts +28 -0
- package/dist/types/banking/program/bin/feeSetup.js +1 -0
- package/dist/types/banking/program/bin/fraudDetection.d.ts +12 -0
- package/dist/types/banking/program/bin/fraudDetection.js +1 -0
- package/dist/types/banking/program/bin/fulfilment.d.ts +5 -0
- package/dist/types/banking/program/bin/fulfilment.js +1 -0
- package/dist/types/banking/program/bin/index.d.ts +54 -0
- package/dist/types/banking/program/bin/index.js +1 -0
- package/dist/types/banking/program/bin/info.d.ts +19 -0
- package/dist/types/banking/program/bin/info.js +1 -0
- package/dist/types/banking/program/bin/limit.d.ts +8 -0
- package/dist/types/banking/program/bin/limit.js +1 -0
- package/dist/types/banking/program/bin/limitConfiguration.d.ts +11 -0
- package/dist/types/banking/program/bin/limitConfiguration.js +1 -0
- package/dist/types/banking/program/bin/limitMonthlyYearlySetup.d.ts +7 -0
- package/dist/types/banking/program/bin/limitMonthlyYearlySetup.js +1 -0
- package/dist/types/banking/program/bin/limits.d.ts +14 -0
- package/dist/types/banking/program/bin/limits.js +1 -0
- package/dist/types/banking/program/bin/localizationContent.d.ts +6 -0
- package/dist/types/banking/program/bin/localizationContent.js +1 -0
- package/dist/types/banking/program/bin/mobileAccountOptions.d.ts +8 -0
- package/dist/types/banking/program/bin/mobileAccountOptions.js +1 -0
- package/dist/types/banking/program/bin/mobileLinkedAccountOptions.d.ts +8 -0
- package/dist/types/banking/program/bin/mobileLinkedAccountOptions.js +1 -0
- package/dist/types/banking/program/bin/multiCurrency.d.ts +6 -0
- package/dist/types/banking/program/bin/multiCurrency.js +1 -0
- package/dist/types/banking/program/bin/paymentAndOrdersOptions.d.ts +4 -0
- package/dist/types/banking/program/bin/paymentAndOrdersOptions.js +1 -0
- package/dist/types/banking/program/bin/receivingTypes.d.ts +7 -0
- package/dist/types/banking/program/bin/receivingTypes.js +1 -0
- package/dist/types/banking/program/bin/requirements.d.ts +8 -0
- package/dist/types/banking/program/bin/requirements.js +1 -0
- package/dist/types/banking/program/bin/restAPIOptions.d.ts +5 -0
- package/dist/types/banking/program/bin/restAPIOptions.js +1 -0
- package/dist/types/banking/program/bin/securityFeatures.d.ts +13 -0
- package/dist/types/banking/program/bin/securityFeatures.js +1 -0
- package/dist/types/banking/program/bin/securityProgramTransactionBlockingRules.d.ts +10 -0
- package/dist/types/banking/program/bin/securityProgramTransactionBlockingRules.js +1 -0
- package/dist/types/banking/program/bin/sellersAgentsOptions.d.ts +5 -0
- package/dist/types/banking/program/bin/sellersAgentsOptions.js +1 -0
- package/dist/types/banking/program/bin/sendingTypes.d.ts +7 -0
- package/dist/types/banking/program/bin/sendingTypes.js +1 -0
- package/dist/types/banking/program/bin/settlementAccountCoverage.d.ts +6 -0
- package/dist/types/banking/program/bin/settlementAccountCoverage.js +1 -0
- package/dist/types/banking/program/bin/supportedCountriesExtended.d.ts +21 -0
- package/dist/types/banking/program/bin/supportedCountriesExtended.js +1 -0
- package/dist/types/banking/program/bin/supportedCountryExtendedV2.d.ts +12 -0
- package/dist/types/banking/program/bin/supportedCountryExtendedV2.js +1 -0
- package/dist/types/banking/program/bin/supportedFulfilment.d.ts +6 -0
- package/dist/types/banking/program/bin/supportedFulfilment.js +1 -0
- package/dist/types/banking/program/bin/tokenizationOption.d.ts +14 -0
- package/dist/types/banking/program/bin/tokenizationOption.js +1 -0
- package/dist/types/banking/program/bin/transferReceiving.d.ts +8 -0
- package/dist/types/banking/program/bin/transferReceiving.js +1 -0
- package/dist/types/banking/program/bin/transferSending.d.ts +8 -0
- package/dist/types/banking/program/bin/transferSending.js +1 -0
- package/dist/types/banking/program/bin/virtualCardDisplay.d.ts +12 -0
- package/dist/types/banking/program/bin/virtualCardDisplay.js +1 -0
- package/dist/types/banking/program/bin/virtualCardsContent.d.ts +11 -0
- package/dist/types/banking/program/bin/virtualCardsContent.js +1 -0
- package/dist/types/banking/program/bin/withdraw.d.ts +17 -0
- package/dist/types/banking/program/bin/withdraw.js +1 -0
- package/dist/types/banking/program/bin/withdrawMonthlyYearly.d.ts +8 -0
- package/dist/types/banking/program/bin/withdrawMonthlyYearly.js +1 -0
- package/dist/types/banking/program/index.d.ts +2 -0
- package/dist/types/banking/program/index.js +1 -0
- package/dist/types/banking/program/program/accountOptions.d.ts +7 -0
- package/dist/types/banking/program/program/accountOptions.js +1 -0
- package/dist/types/banking/program/program/accountTabs.d.ts +7 -0
- package/dist/types/banking/program/program/accountTabs.js +1 -0
- package/dist/types/banking/program/program/amountDepositCheck.d.ts +4 -0
- package/dist/types/banking/program/program/amountDepositCheck.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/POSApplication.d.ts +10 -0
- package/dist/types/banking/program/program/applicationOptions/POSApplication.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/POSClassification.d.ts +9 -0
- package/dist/types/banking/program/program/applicationOptions/POSClassification.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/POSConfiguration.d.ts +70 -0
- package/dist/types/banking/program/program/applicationOptions/POSConfiguration.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/POSDefaultConfiguration.d.ts +7 -0
- package/dist/types/banking/program/program/applicationOptions/POSDefaultConfiguration.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/POSMobileFeatures.d.ts +9 -0
- package/dist/types/banking/program/program/applicationOptions/POSMobileFeatures.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/POSMobileSecurity.d.ts +22 -0
- package/dist/types/banking/program/program/applicationOptions/POSMobileSecurity.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/POSWorkingHour.d.ts +11 -0
- package/dist/types/banking/program/program/applicationOptions/POSWorkingHour.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/RESTServiceOptions.d.ts +9 -0
- package/dist/types/banking/program/program/applicationOptions/RESTServiceOptions.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/account.d.ts +7 -0
- package/dist/types/banking/program/program/applicationOptions/account.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/address.d.ts +11 -0
- package/dist/types/banking/program/program/applicationOptions/address.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/customField.d.ts +8 -0
- package/dist/types/banking/program/program/applicationOptions/customField.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/email.d.ts +6 -0
- package/dist/types/banking/program/program/applicationOptions/email.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/group.d.ts +5 -0
- package/dist/types/banking/program/program/applicationOptions/group.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/identification.d.ts +13 -0
- package/dist/types/banking/program/program/applicationOptions/identification.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/identificationRequirements.d.ts +7 -0
- package/dist/types/banking/program/program/applicationOptions/identificationRequirements.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/index.d.ts +31 -0
- package/dist/types/banking/program/program/applicationOptions/index.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/mobileContent.d.ts +19 -0
- package/dist/types/banking/program/program/applicationOptions/mobileContent.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/mobileContentLocalization.d.ts +11 -0
- package/dist/types/banking/program/program/applicationOptions/mobileContentLocalization.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/mobileLocalization.d.ts +5 -0
- package/dist/types/banking/program/program/applicationOptions/mobileLocalization.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/organizationInfo.d.ts +23 -0
- package/dist/types/banking/program/program/applicationOptions/organizationInfo.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/personalInfo.d.ts +12 -0
- package/dist/types/banking/program/program/applicationOptions/personalInfo.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/phone.d.ts +7 -0
- package/dist/types/banking/program/program/applicationOptions/phone.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/salesSignupSettings.d.ts +35 -0
- package/dist/types/banking/program/program/applicationOptions/salesSignupSettings.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/supportedCountriesByType.d.ts +5 -0
- package/dist/types/banking/program/program/applicationOptions/supportedCountriesByType.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/userApplication.d.ts +14 -0
- package/dist/types/banking/program/program/applicationOptions/userApplication.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/userApplicationFeatures.d.ts +14 -0
- package/dist/types/banking/program/program/applicationOptions/userApplicationFeatures.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/userSecuritySettings.d.ts +14 -0
- package/dist/types/banking/program/program/applicationOptions/userSecuritySettings.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/userSignupFeatures.d.ts +15 -0
- package/dist/types/banking/program/program/applicationOptions/userSignupFeatures.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/userSignupForm.d.ts +15 -0
- package/dist/types/banking/program/program/applicationOptions/userSignupForm.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/userSignupFormSecurity.d.ts +10 -0
- package/dist/types/banking/program/program/applicationOptions/userSignupFormSecurity.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/webUtilsSettings.d.ts +6 -0
- package/dist/types/banking/program/program/applicationOptions/webUtilsSettings.js +1 -0
- package/dist/types/banking/program/program/biller/biller.d.ts +6 -0
- package/dist/types/banking/program/program/biller/biller.js +1 -0
- package/dist/types/banking/program/program/biller/index.d.ts +1 -0
- package/dist/types/banking/program/program/biller/index.js +1 -0
- package/dist/types/banking/program/program/content.d.ts +7 -0
- package/dist/types/banking/program/program/content.js +1 -0
- package/dist/types/banking/program/program/currencyRate/CurrencyRate.d.ts +8 -0
- package/dist/types/banking/program/program/currencyRate/CurrencyRate.js +1 -0
- package/dist/types/banking/program/program/currencyRate/index.d.ts +1 -0
- package/dist/types/banking/program/program/currencyRate/index.js +1 -0
- package/dist/types/banking/program/program/ecommerceSettings.d.ts +4 -0
- package/dist/types/banking/program/program/ecommerceSettings.js +1 -0
- package/dist/types/banking/program/program/footerInformation.d.ts +5 -0
- package/dist/types/banking/program/program/footerInformation.js +1 -0
- package/dist/types/banking/program/program/generalCreditCardOptions.d.ts +6 -0
- package/dist/types/banking/program/program/generalCreditCardOptions.js +1 -0
- package/dist/types/banking/program/program/generalRequirementsTabs.d.ts +5 -0
- package/dist/types/banking/program/program/generalRequirementsTabs.js +1 -0
- package/dist/types/banking/program/program/headerInformation.d.ts +5 -0
- package/dist/types/banking/program/program/headerInformation.js +1 -0
- package/dist/types/banking/program/program/index.d.ts +43 -0
- package/dist/types/banking/program/program/index.js +1 -0
- package/dist/types/banking/program/program/info.d.ts +23 -0
- package/dist/types/banking/program/program/info.js +1 -0
- package/dist/types/banking/program/program/localizationContent.d.ts +14 -0
- package/dist/types/banking/program/program/localizationContent.js +1 -0
- package/dist/types/banking/program/program/loginHelpIcon.d.ts +5 -0
- package/dist/types/banking/program/program/loginHelpIcon.js +1 -0
- package/dist/types/banking/program/program/maskingOptions.d.ts +5 -0
- package/dist/types/banking/program/program/maskingOptions.js +1 -0
- package/dist/types/banking/program/program/mobileOptions.d.ts +6 -0
- package/dist/types/banking/program/program/mobileOptions.js +1 -0
- package/dist/types/banking/program/program/passwordSettings.d.ts +16 -0
- package/dist/types/banking/program/program/passwordSettings.js +1 -0
- package/dist/types/banking/program/program/programData.d.ts +25 -0
- package/dist/types/banking/program/program/programData.js +1 -0
- package/dist/types/banking/program/program/programLocalization.d.ts +7 -0
- package/dist/types/banking/program/program/programLocalization.js +1 -0
- package/dist/types/banking/program/program/programLocalizationInfo.d.ts +15 -0
- package/dist/types/banking/program/program/programLocalizationInfo.js +1 -0
- package/dist/types/banking/program/program/programSecurity.d.ts +10 -0
- package/dist/types/banking/program/program/programSecurity.js +1 -0
- package/dist/types/banking/program/program/screeningOptions.d.ts +9 -0
- package/dist/types/banking/program/program/screeningOptions.js +1 -0
- package/dist/types/banking/program/program/securityUserAlert.d.ts +10 -0
- package/dist/types/banking/program/program/securityUserAlert.js +1 -0
- package/dist/types/banking/program/program/securityUserAlertOptions.d.ts +8 -0
- package/dist/types/banking/program/program/securityUserAlertOptions.js +1 -0
- package/dist/types/banking/program/program/setup/index.d.ts +2 -0
- package/dist/types/banking/program/program/setup/index.js +1 -0
- package/dist/types/banking/program/program/setup/payment.d.ts +10 -0
- package/dist/types/banking/program/program/setup/payment.js +1 -0
- package/dist/types/banking/program/program/setup/serviceSetup.d.ts +5 -0
- package/dist/types/banking/program/program/setup/serviceSetup.js +1 -0
- package/dist/types/banking/program/program/signupRequirements.d.ts +22 -0
- package/dist/types/banking/program/program/signupRequirements.js +1 -0
- package/dist/types/banking/program/program/socialMedia.d.ts +10 -0
- package/dist/types/banking/program/program/socialMedia.js +1 -0
- package/dist/types/banking/program/program/status.d.ts +6 -0
- package/dist/types/banking/program/program/status.js +1 -0
- package/dist/types/banking/program/program/systemFeatures.d.ts +11 -0
- package/dist/types/banking/program/program/systemFeatures.js +1 -0
- package/dist/types/banking/program/program/systemIntegrationTabs.d.ts +5 -0
- package/dist/types/banking/program/program/systemIntegrationTabs.js +1 -0
- package/dist/types/banking/program/program/termConditionLocalization.d.ts +9 -0
- package/dist/types/banking/program/program/termConditionLocalization.js +1 -0
- package/dist/types/banking/program/program/termsConditions.d.ts +11 -0
- package/dist/types/banking/program/program/termsConditions.js +1 -0
- package/dist/types/banking/program/program/userContactInfo.d.ts +16 -0
- package/dist/types/banking/program/program/userContactInfo.js +1 -0
- package/dist/types/banking/program/program/userContent.d.ts +6 -0
- package/dist/types/banking/program/program/userContent.js +1 -0
- package/dist/types/banking/program/program/userContentInformation.d.ts +20 -0
- package/dist/types/banking/program/program/userContentInformation.js +1 -0
- package/dist/types/banking/program/program/userIdentificationSetup.d.ts +20 -0
- package/dist/types/banking/program/program/userIdentificationSetup.js +1 -0
- package/dist/types/banking/program/program/userSystemOptions.d.ts +54 -0
- package/dist/types/banking/program/program/userSystemOptions.js +1 -0
- package/dist/types/banking/program/program/userVerificationContent.d.ts +12 -0
- package/dist/types/banking/program/program/userVerificationContent.js +1 -0
- package/dist/types/banking/program/program/validation/IDVerificationSetup.d.ts +14 -0
- package/dist/types/banking/program/program/validation/IDVerificationSetup.js +1 -0
- package/dist/types/banking/program/program/validation/advancedConfiguration.d.ts +5 -0
- package/dist/types/banking/program/program/validation/advancedConfiguration.js +1 -0
- package/dist/types/banking/program/program/validation/configuration.d.ts +7 -0
- package/dist/types/banking/program/program/validation/configuration.js +1 -0
- package/dist/types/banking/program/program/validation/customerRegistrationSetup.d.ts +5 -0
- package/dist/types/banking/program/program/validation/customerRegistrationSetup.js +1 -0
- package/dist/types/banking/program/program/validation/enabledServices.d.ts +6 -0
- package/dist/types/banking/program/program/validation/enabledServices.js +1 -0
- package/dist/types/banking/program/program/validation/index.d.ts +6 -0
- package/dist/types/banking/program/program/validation/index.js +1 -0
- package/dist/types/banking/program/program/validation/validationServicesSettings.d.ts +13 -0
- package/dist/types/banking/program/program/validation/validationServicesSettings.js +1 -0
- package/dist/types/banking/program/program/verificationRequirements.d.ts +12 -0
- package/dist/types/banking/program/program/verificationRequirements.js +1 -0
- package/dist/types/banking/program/program/webServiceSystemOptions.d.ts +16 -0
- package/dist/types/banking/program/program/webServiceSystemOptions.js +1 -0
- package/dist/types/banking/ticket/content.d.ts +5 -0
- package/dist/types/banking/ticket/content.js +1 -0
- package/dist/types/banking/ticket/history.d.ts +6 -0
- package/dist/types/banking/ticket/history.js +1 -0
- package/dist/types/banking/ticket/index.d.ts +5 -0
- package/dist/types/banking/ticket/index.js +1 -0
- package/dist/types/banking/ticket/info.d.ts +34 -0
- package/dist/types/banking/ticket/info.js +1 -0
- package/dist/types/banking/ticket/subentity.d.ts +7 -0
- package/dist/types/banking/ticket/subentity.js +1 -0
- package/dist/types/banking/ticket/ticketdata.d.ts +7 -0
- package/dist/types/banking/ticket/ticketdata.js +1 -0
- package/dist/types/banking/transaction/billingAddress.d.ts +11 -0
- package/dist/types/banking/transaction/billingAddress.js +1 -0
- package/dist/types/banking/transaction/blockchain.d.ts +17 -0
- package/dist/types/banking/transaction/blockchain.js +1 -0
- package/dist/types/banking/transaction/conversion.d.ts +21 -0
- package/dist/types/banking/transaction/conversion.js +1 -0
- package/dist/types/banking/transaction/exchange.d.ts +10 -0
- package/dist/types/banking/transaction/exchange.js +1 -0
- package/dist/types/banking/transaction/fee.d.ts +9 -0
- package/dist/types/banking/transaction/fee.js +1 -0
- package/dist/types/banking/transaction/index.d.ts +13 -0
- package/dist/types/banking/transaction/index.js +1 -0
- package/dist/types/banking/transaction/info.d.ts +34 -0
- package/dist/types/banking/transaction/info.js +1 -0
- package/dist/types/banking/transaction/paymentGateway.d.ts +9 -0
- package/dist/types/banking/transaction/paymentGateway.js +1 -0
- package/dist/types/banking/transaction/receiverInfo.d.ts +8 -0
- package/dist/types/banking/transaction/receiverInfo.js +1 -0
- package/dist/types/banking/transaction/tax.d.ts +10 -0
- package/dist/types/banking/transaction/tax.js +1 -0
- package/dist/types/banking/transaction/transactionData.d.ts +25 -0
- package/dist/types/banking/transaction/transactionData.js +1 -0
- package/dist/types/banking/transaction/transactionInquiry.d.ts +27 -0
- package/dist/types/banking/transaction/transactionInquiry.js +1 -0
- package/dist/types/banking/transaction/transactionResultInquiry.d.ts +7 -0
- package/dist/types/banking/transaction/transactionResultInquiry.js +1 -0
- package/dist/types/banking/transaction/transfer.d.ts +10 -0
- package/dist/types/banking/transaction/transfer.js +1 -0
- package/dist/types/banking/user/activity.d.ts +15 -0
- package/dist/types/banking/user/activity.js +1 -0
- package/dist/types/banking/user/attachment.d.ts +9 -0
- package/dist/types/banking/user/attachment.js +1 -0
- package/dist/types/banking/user/checkForgetSecurityData.d.ts +12 -0
- package/dist/types/banking/user/checkForgetSecurityData.js +1 -0
- package/dist/types/banking/user/commerce/commerce.d.ts +6 -0
- package/dist/types/banking/user/commerce/commerce.js +1 -0
- package/dist/types/banking/user/commerce/index.d.ts +3 -0
- package/dist/types/banking/user/commerce/index.js +1 -0
- package/dist/types/banking/user/commerce/role.d.ts +5 -0
- package/dist/types/banking/user/commerce/role.js +1 -0
- package/dist/types/banking/user/commerce/usercommerceconfiguration.d.ts +6 -0
- package/dist/types/banking/user/commerce/usercommerceconfiguration.js +1 -0
- package/dist/types/banking/user/confirmForgetSecurityData.d.ts +5 -0
- package/dist/types/banking/user/confirmForgetSecurityData.js +1 -0
- package/dist/types/banking/user/confirmSecurityData.d.ts +4 -0
- package/dist/types/banking/user/confirmSecurityData.js +1 -0
- package/dist/types/banking/user/confirmUserSecurity.d.ts +8 -0
- package/dist/types/banking/user/confirmUserSecurity.js +1 -0
- package/dist/types/banking/user/confirmUserSecurityInfo.d.ts +12 -0
- package/dist/types/banking/user/confirmUserSecurityInfo.js +1 -0
- package/dist/types/banking/user/currency.d.ts +7 -0
- package/dist/types/banking/user/currency.js +1 -0
- package/dist/types/banking/user/documentdata.d.ts +8 -0
- package/dist/types/banking/user/documentdata.js +1 -0
- package/dist/types/banking/user/documentinfo.d.ts +25 -0
- package/dist/types/banking/user/documentinfo.js +1 -0
- package/dist/types/banking/user/forgetPassword.d.ts +6 -0
- package/dist/types/banking/user/forgetPassword.js +1 -0
- package/dist/types/banking/user/forgetSecurityData.d.ts +8 -0
- package/dist/types/banking/user/forgetSecurityData.js +1 -0
- package/dist/types/banking/user/forgetSecurityInfo.d.ts +7 -0
- package/dist/types/banking/user/forgetSecurityInfo.js +1 -0
- package/dist/types/banking/user/index.d.ts +38 -0
- package/dist/types/banking/user/index.js +1 -0
- package/dist/types/banking/user/info.d.ts +16 -0
- package/dist/types/banking/user/info.js +1 -0
- package/dist/types/banking/user/personalinfo.d.ts +16 -0
- package/dist/types/banking/user/personalinfo.js +1 -0
- package/dist/types/banking/user/preferences.d.ts +15 -0
- package/dist/types/banking/user/preferences.js +1 -0
- package/dist/types/banking/user/resetPassword.d.ts +5 -0
- package/dist/types/banking/user/resetPassword.js +1 -0
- package/dist/types/banking/user/resetSecurityCode.d.ts +5 -0
- package/dist/types/banking/user/resetSecurityCode.js +1 -0
- package/dist/types/banking/user/resetSecurityData.d.ts +8 -0
- package/dist/types/banking/user/resetSecurityData.js +1 -0
- package/dist/types/banking/user/resetSecurityQuestions.d.ts +8 -0
- package/dist/types/banking/user/resetSecurityQuestions.js +1 -0
- package/dist/types/banking/user/resetUserSecurity.d.ts +7 -0
- package/dist/types/banking/user/resetUserSecurity.js +1 -0
- package/dist/types/banking/user/resetUserSecurityInfo.d.ts +11 -0
- package/dist/types/banking/user/resetUserSecurityInfo.js +1 -0
- package/dist/types/banking/user/security.d.ts +11 -0
- package/dist/types/banking/user/security.js +1 -0
- package/dist/types/banking/user/securityalert.d.ts +12 -0
- package/dist/types/banking/user/securityalert.js +1 -0
- package/dist/types/banking/user/userauthenticationdata.d.ts +12 -0
- package/dist/types/banking/user/userauthenticationdata.js +1 -0
- package/dist/types/banking/user/usercreditlimit.d.ts +6 -0
- package/dist/types/banking/user/usercreditlimit.js +1 -0
- package/dist/types/banking/user/userdata.d.ts +40 -0
- package/dist/types/banking/user/userdata.js +1 -0
- package/dist/types/banking/user/validateForgetSecurityData.d.ts +7 -0
- package/dist/types/banking/user/validateForgetSecurityData.js +1 -0
- package/dist/types/banking/user/validateLimitedSecurity.d.ts +7 -0
- package/dist/types/banking/user/validateLimitedSecurity.js +1 -0
- package/dist/types/banking/user/validateLimitedSecurityData.d.ts +6 -0
- package/dist/types/banking/user/validateLimitedSecurityData.js +1 -0
- package/dist/types/banking/user/validateSecurityData.d.ts +10 -0
- package/dist/types/banking/user/validateSecurityData.js +1 -0
- package/dist/types/banking/user/validateUserSecurity.d.ts +7 -0
- package/dist/types/banking/user/validateUserSecurity.js +1 -0
- package/dist/types/banking/user/validateUserSecurityInfo.d.ts +11 -0
- package/dist/types/banking/user/validateUserSecurityInfo.js +1 -0
- package/dist/types/banking/user/validation/index.d.ts +2 -0
- package/dist/types/banking/user/validation/index.js +1 -0
- package/dist/types/banking/user/validation/info.d.ts +18 -0
- package/dist/types/banking/user/validation/info.js +1 -0
- package/dist/types/banking/user/validation/validationdata.d.ts +7 -0
- package/dist/types/banking/user/validation/validationdata.js +1 -0
- package/dist/types/banking/user/verifySecurityData.d.ts +8 -0
- package/dist/types/banking/user/verifySecurityData.js +1 -0
- package/dist/types/banking/user/verifyUserSecurity.d.ts +7 -0
- package/dist/types/banking/user/verifyUserSecurity.js +1 -0
- package/dist/types/banking/user/verifyUserSecurityInfo.d.ts +14 -0
- package/dist/types/banking/user/verifyUserSecurityInfo.js +1 -0
- package/dist/types/banking/webhook/index.d.ts +1 -0
- package/dist/types/banking/webhook/index.js +1 -0
- package/dist/types/banking/webhook/openpayd/amount.d.ts +5 -0
- package/dist/types/banking/webhook/openpayd/amount.js +1 -0
- package/dist/types/banking/webhook/openpayd/index.d.ts +3 -0
- package/dist/types/banking/webhook/openpayd/index.js +1 -0
- package/dist/types/banking/webhook/openpayd/payInData.d.ts +25 -0
- package/dist/types/banking/webhook/openpayd/payInData.js +1 -0
- package/dist/types/banking/webhook/openpayd/senderRoutingCodes.d.ts +5 -0
- package/dist/types/banking/webhook/openpayd/senderRoutingCodes.js +1 -0
- package/dist/types/blockchain/account.d.ts +67 -0
- package/dist/types/blockchain/account.js +1 -0
- package/dist/types/blockchain/balanceAndFee.d.ts +40 -0
- package/dist/types/blockchain/balanceAndFee.js +1 -0
- package/dist/types/blockchain/balances.d.ts +7 -0
- package/dist/types/blockchain/balances.js +1 -0
- package/dist/types/blockchain/coin.d.ts +5 -0
- package/dist/types/blockchain/coin.js +1 -0
- package/dist/types/blockchain/delegation.d.ts +19 -0
- package/dist/types/blockchain/delegation.js +1 -0
- package/dist/types/blockchain/index.d.ts +10 -0
- package/dist/types/blockchain/index.js +1 -0
- package/dist/types/blockchain/pagination.d.ts +26 -0
- package/dist/types/blockchain/pagination.js +1 -0
- package/dist/types/blockchain/rewards.d.ts +14 -0
- package/dist/types/blockchain/rewards.js +1 -0
- package/dist/types/blockchain/stakingParams.d.ts +13 -0
- package/dist/types/blockchain/stakingParams.js +1 -0
- package/dist/types/blockchain/supply.d.ts +9 -0
- package/dist/types/blockchain/supply.js +1 -0
- package/dist/types/blockchain/validator.d.ts +40 -0
- package/dist/types/blockchain/validator.js +1 -0
- package/dist/types/content/countries.d.ts +5 -0
- package/dist/types/content/countries.js +1 -0
- package/dist/types/content/index.d.ts +1 -0
- package/dist/types/content/index.js +1 -0
- package/dist/types/helper/api/axiosHelper.d.ts +16 -0
- package/dist/types/helper/api/axiosHelper.js +1 -0
- package/dist/types/helper/api/requestBuilder.d.ts +7 -0
- package/dist/types/helper/api/requestBuilder.js +1 -0
- package/dist/types/helper/cipherHelper.d.ts +9 -0
- package/dist/types/helper/cipherHelper.js +1 -0
- package/dist/types/helper/deviceHelper.d.ts +39 -0
- package/dist/types/helper/deviceHelper.js +2 -0
- package/dist/types/helper/geoHelper.d.ts +17 -0
- package/dist/types/helper/geoHelper.js +1 -0
- package/dist/types/helper/index.d.ts +7 -0
- package/dist/types/helper/index.js +1 -0
- package/dist/types/helper/storageHelper/cookiesHelper.d.ts +9 -0
- package/dist/types/helper/storageHelper/cookiesHelper.js +1 -0
- package/dist/types/helper/storageHelper/index.d.ts +1 -0
- package/dist/types/helper/storageHelper/index.js +1 -0
- package/dist/types/helper/userHelper.d.ts +35 -0
- package/dist/types/helper/userHelper.js +2 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/index.js +1 -0
- package/dist/types/node/amount.d.ts +5 -0
- package/dist/types/node/amount.js +1 -0
- package/dist/types/node/giftData.d.ts +12 -0
- package/dist/types/node/giftData.js +1 -0
- package/dist/types/node/index.d.ts +4 -0
- package/dist/types/node/index.js +4 -0
- package/dist/types/node/lotteryPrize.d.ts +10 -0
- package/dist/types/node/lotteryPrize.js +1 -0
- package/dist/types/node/promotionDetails.d.ts +26 -0
- package/dist/types/node/promotionDetails.js +1 -0
- package/dist/types/storage/cookies.d.ts +9 -0
- package/dist/types/storage/cookies.js +1 -0
- package/dist/types/storage/index.d.ts +1 -0
- package/dist/types/storage/index.js +1 -0
- package/dist/user.d.ts +5 -0
- package/dist/user.js +5 -0
- package/dist/utility.d.ts +1 -0
- package/dist/utility.js +1 -0
- package/dist/utils/api/endpointUtils.d.ts +2 -0
- package/dist/utils/api/endpointUtils.js +15 -0
- package/dist/utils/country.d.ts +5 -0
- package/dist/utils/country.js +18 -0
- package/dist/utils/data/generation.d.ts +5 -0
- package/dist/utils/data/generation.js +26 -0
- package/dist/utils/data/index.d.ts +3 -0
- package/dist/utils/data/index.js +3 -0
- package/dist/utils/data/manipulation.d.ts +9 -0
- package/dist/utils/data/manipulation.js +37 -0
- package/dist/utils/data/validation.d.ts +2 -0
- package/dist/utils/data/validation.js +4 -0
- package/dist/utils/helper/userHelper.d.ts +15 -0
- package/dist/utils/helper/userHelper.js +86 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/index.js +4 -0
- package/package.json +154 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { createCipheriv, createDecipheriv } from "crypto";
|
|
2
|
+
class CipherHelper {
|
|
3
|
+
// #region "Properties"
|
|
4
|
+
errorHandler;
|
|
5
|
+
// #endregion
|
|
6
|
+
// #region "Constructor"
|
|
7
|
+
constructor(errorHandler) {
|
|
8
|
+
this.errorHandler = errorHandler;
|
|
9
|
+
}
|
|
10
|
+
// #endregion
|
|
11
|
+
// #region "Encrypt"
|
|
12
|
+
encrypt = (plainText, key, iv, urlSafe = false) => {
|
|
13
|
+
try {
|
|
14
|
+
const encoding = urlSafe ? "base64url" : "base64";
|
|
15
|
+
const keyBuffer = Buffer.from(key, "utf8");
|
|
16
|
+
const ivBuffer = Buffer.from(iv, "utf8");
|
|
17
|
+
const cipher = createCipheriv("aes-256-cbc", keyBuffer, ivBuffer);
|
|
18
|
+
let encrypted = cipher.update(plainText, "utf8", encoding);
|
|
19
|
+
encrypted += cipher.final(encoding);
|
|
20
|
+
return encrypted;
|
|
21
|
+
}
|
|
22
|
+
catch (error) {
|
|
23
|
+
this.errorHandler(error);
|
|
24
|
+
return "";
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
encryptAsJson = (plainText, cookieKey, key, iv) => {
|
|
28
|
+
try {
|
|
29
|
+
const json = JSON.stringify({ [cookieKey]: plainText });
|
|
30
|
+
const encrypted = this.encrypt(json, key, iv);
|
|
31
|
+
return encrypted;
|
|
32
|
+
}
|
|
33
|
+
catch (error) {
|
|
34
|
+
this.errorHandler(error);
|
|
35
|
+
return "";
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
encryptByProgramID = (plainText, programId) => {
|
|
39
|
+
try {
|
|
40
|
+
const { key, iv } = this.generateByProgramID(programId);
|
|
41
|
+
return this.encrypt(plainText, key, iv, true);
|
|
42
|
+
}
|
|
43
|
+
catch (error) {
|
|
44
|
+
this.errorHandler(error);
|
|
45
|
+
return "";
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
// #endregion
|
|
49
|
+
// #region "Decrypt"
|
|
50
|
+
decrypt = (cipherText, key, iv, urlSafe = false) => {
|
|
51
|
+
try {
|
|
52
|
+
const encoding = urlSafe ? "base64url" : "base64";
|
|
53
|
+
const keyBuffer = Buffer.from(key, "utf8");
|
|
54
|
+
const ivBuffer = Buffer.from(iv, "utf8");
|
|
55
|
+
const decipher = createDecipheriv("aes-256-cbc", keyBuffer, ivBuffer);
|
|
56
|
+
let decrypted = decipher.update(cipherText, encoding, "utf8");
|
|
57
|
+
decrypted += decipher.final("utf8");
|
|
58
|
+
return decrypted;
|
|
59
|
+
}
|
|
60
|
+
catch (error) {
|
|
61
|
+
this.errorHandler(error);
|
|
62
|
+
return "";
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
decryptAsJson = (cipherText, key, iv) => {
|
|
66
|
+
try {
|
|
67
|
+
const decryptedJSON = this.decrypt(cipherText, key, iv);
|
|
68
|
+
if (decryptedJSON == "{}") {
|
|
69
|
+
return { [key]: "" };
|
|
70
|
+
}
|
|
71
|
+
const decrypted = JSON.parse(decryptedJSON);
|
|
72
|
+
if (!decrypted) {
|
|
73
|
+
return { [key]: "" };
|
|
74
|
+
}
|
|
75
|
+
return decrypted;
|
|
76
|
+
}
|
|
77
|
+
catch (error) {
|
|
78
|
+
this.errorHandler(error);
|
|
79
|
+
return { [key]: "" };
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
decryptByProgramID = (cipherText, programId) => {
|
|
83
|
+
try {
|
|
84
|
+
const { key, iv } = this.generateByProgramID(programId);
|
|
85
|
+
return this.decrypt(cipherText, key, iv, true);
|
|
86
|
+
}
|
|
87
|
+
catch (error) {
|
|
88
|
+
this.errorHandler(error);
|
|
89
|
+
return "";
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
// #endregion
|
|
93
|
+
// #region "Generate"
|
|
94
|
+
generate = (code) => {
|
|
95
|
+
try {
|
|
96
|
+
if (!code)
|
|
97
|
+
throw new Error("code is not defined");
|
|
98
|
+
const KEY = this.PaddingLeft(code.toString(), 32, "0");
|
|
99
|
+
const IV = this.PaddingLeft(code.toString(), 16, "0");
|
|
100
|
+
return { key: KEY, iv: IV };
|
|
101
|
+
}
|
|
102
|
+
catch (error) {
|
|
103
|
+
this.errorHandler(error);
|
|
104
|
+
return { key: "", iv: "" };
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
generateByUSRAndIID = (USR, IID) => {
|
|
108
|
+
try {
|
|
109
|
+
if (!USR || !USR.device_id || !USR.user_id) {
|
|
110
|
+
throw new Error("USR is not defined");
|
|
111
|
+
}
|
|
112
|
+
if (!IID) {
|
|
113
|
+
throw new Error("IID is not defined");
|
|
114
|
+
}
|
|
115
|
+
const DID_KEY = this.PaddingLeft(USR.device_id.toString(), 10, "0");
|
|
116
|
+
const UID_KEY = this.PaddingLeft(USR.user_id.toString(), 10, "0");
|
|
117
|
+
const IID_KEY = IID.slice(0, 10);
|
|
118
|
+
const KEY = `${DID_KEY}.${UID_KEY}.${IID_KEY}`.toString();
|
|
119
|
+
const DID_IV = this.PaddingLeft(USR.device_id.toString(), 8, "0");
|
|
120
|
+
const UID_IV = this.PaddingLeft(USR.user_id.toString(), 8, "0");
|
|
121
|
+
const IV = `${DID_IV}${UID_IV}`;
|
|
122
|
+
return { key: KEY, iv: IV };
|
|
123
|
+
}
|
|
124
|
+
catch (error) {
|
|
125
|
+
this.errorHandler(error);
|
|
126
|
+
return { key: "", iv: "" };
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
generateByProgramID = (programId) => {
|
|
130
|
+
try {
|
|
131
|
+
if (!programId) {
|
|
132
|
+
throw new Error("Program ID is not defined");
|
|
133
|
+
}
|
|
134
|
+
const PID_KEY = this.PaddingLeft(programId, 10, "0");
|
|
135
|
+
const F_KEY = this.PaddingLeft("0".toString(), 10, "0");
|
|
136
|
+
const FingerPrint_KEY = this.PaddingLeft("", 10, "0");
|
|
137
|
+
const KEY = `${PID_KEY}.${F_KEY}.${FingerPrint_KEY}`;
|
|
138
|
+
const PID_IV = this.PaddingLeft(programId, 8, "0");
|
|
139
|
+
const F_IV = this.PaddingLeft("0".toString(), 8, "0");
|
|
140
|
+
const IV = `${PID_IV}${F_IV}`;
|
|
141
|
+
return { key: KEY, iv: IV };
|
|
142
|
+
}
|
|
143
|
+
catch (error) {
|
|
144
|
+
this.errorHandler(error);
|
|
145
|
+
return { key: "", iv: "" };
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
generateByUserID = (user_id) => {
|
|
149
|
+
try {
|
|
150
|
+
const UID_KEY = this.PaddingLeft(user_id.toString(), 32, "0");
|
|
151
|
+
const UID_IV = this.PaddingLeft(user_id.toString(), 16, "0");
|
|
152
|
+
return { key: UID_KEY, iv: UID_IV };
|
|
153
|
+
}
|
|
154
|
+
catch (error) {
|
|
155
|
+
this.errorHandler(error);
|
|
156
|
+
return { key: "", iv: "" };
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
generateByInstallationID = (IID) => {
|
|
160
|
+
try {
|
|
161
|
+
if (!IID) {
|
|
162
|
+
throw new Error("Installation ID is not defined");
|
|
163
|
+
}
|
|
164
|
+
const IID_KEY = IID.slice(0, 32);
|
|
165
|
+
const IID_IV = IID.slice(0, 16);
|
|
166
|
+
return { key: IID_KEY, iv: IID_IV };
|
|
167
|
+
}
|
|
168
|
+
catch (error) {
|
|
169
|
+
this.errorHandler(error);
|
|
170
|
+
return { key: "", iv: "" };
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
// #endregion
|
|
174
|
+
// #region "Utils"
|
|
175
|
+
PaddingLeft = (value, length, paddingChar) => {
|
|
176
|
+
try {
|
|
177
|
+
if (value.length >= length)
|
|
178
|
+
return value;
|
|
179
|
+
return paddingChar.repeat(length - value.length) + value;
|
|
180
|
+
}
|
|
181
|
+
catch (error) {
|
|
182
|
+
this.errorHandler(error);
|
|
183
|
+
return "";
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
export { CipherHelper };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare class ClientHelper {
|
|
2
|
+
private clientBrowserData;
|
|
3
|
+
constructor();
|
|
4
|
+
getBrowser(): string | undefined;
|
|
5
|
+
getBrowserVersion(): string | undefined;
|
|
6
|
+
getOS(): string | undefined;
|
|
7
|
+
getOSVersion(): string | undefined;
|
|
8
|
+
getCPU(): string;
|
|
9
|
+
getUserAgent(): string;
|
|
10
|
+
getSystemLanguage(): string;
|
|
11
|
+
isHostOnly(): boolean;
|
|
12
|
+
}
|
|
13
|
+
export { ClientHelper };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { UAParser } from "ua-parser-js";
|
|
2
|
+
class ClientHelper {
|
|
3
|
+
clientBrowserData;
|
|
4
|
+
constructor() {
|
|
5
|
+
const uaParser = new UAParser();
|
|
6
|
+
this.clientBrowserData = uaParser.getResult();
|
|
7
|
+
}
|
|
8
|
+
getBrowser() {
|
|
9
|
+
return this.clientBrowserData.browser.name;
|
|
10
|
+
}
|
|
11
|
+
getBrowserVersion() {
|
|
12
|
+
return this.clientBrowserData.browser.version;
|
|
13
|
+
}
|
|
14
|
+
getOS() {
|
|
15
|
+
return this.clientBrowserData.os.name;
|
|
16
|
+
}
|
|
17
|
+
getOSVersion() {
|
|
18
|
+
return this.clientBrowserData.os.version;
|
|
19
|
+
}
|
|
20
|
+
getCPU() {
|
|
21
|
+
return this.clientBrowserData.cpu.architecture;
|
|
22
|
+
}
|
|
23
|
+
getUserAgent() {
|
|
24
|
+
return this.clientBrowserData.ua;
|
|
25
|
+
}
|
|
26
|
+
getSystemLanguage() {
|
|
27
|
+
return window.navigator.language;
|
|
28
|
+
}
|
|
29
|
+
isHostOnly() {
|
|
30
|
+
const host = window.location.hostname;
|
|
31
|
+
return host === "localhost";
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export { ClientHelper };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import dayjs from "dayjs";
|
|
2
|
+
import utc from "dayjs/plugin/utc";
|
|
3
|
+
import timezone from "dayjs/plugin/timezone";
|
|
4
|
+
dayjs.extend(utc);
|
|
5
|
+
dayjs.extend(timezone);
|
|
6
|
+
class DateTimeHelper {
|
|
7
|
+
static now() {
|
|
8
|
+
return new Date().getTime();
|
|
9
|
+
}
|
|
10
|
+
static getClientTimeZone() {
|
|
11
|
+
return `UTC ${dayjs.tz(new Date()).format("Z")}`;
|
|
12
|
+
}
|
|
13
|
+
static getClientTimeZoneName() {
|
|
14
|
+
return dayjs.tz(new Date()).format("Z");
|
|
15
|
+
}
|
|
16
|
+
static getDateUTC() {
|
|
17
|
+
return dayjs.utc(new Date()).format("YYYY-MM-DD HH:mm:ss.SSS");
|
|
18
|
+
}
|
|
19
|
+
static getClientDate() {
|
|
20
|
+
return dayjs.tz(new Date()).format("YYYY-MM-DD HH:mm:ss.SSS");
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export { DateTimeHelper };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Device, DeviceTableSubscriptionData, FilledDeviceTableData } from "../types";
|
|
2
|
+
import { CookiesHelper } from "./";
|
|
3
|
+
declare class DeviceHelper {
|
|
4
|
+
static getDeviceDetails: (asJson?: boolean) => string | Device;
|
|
5
|
+
static sortDevices: (devices: Device[], installationId: string) => Device[];
|
|
6
|
+
static getDeviceExtendedInfo: () => void;
|
|
7
|
+
static fillDeviceDataByDeviceTable(rows: DeviceTableSubscriptionData[], cookiesHelper: CookiesHelper): Promise<FilledDeviceTableData>;
|
|
8
|
+
static mapDeviceTableRows: (rows: DeviceTableSubscriptionData[], installationId: string | null) => FilledDeviceTableData;
|
|
9
|
+
private static fillDeviceDataByDeviceRow;
|
|
10
|
+
private static parseExtendedInfo;
|
|
11
|
+
}
|
|
12
|
+
export { DeviceHelper };
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { DeviceType } from "../constant";
|
|
2
|
+
import { ClientHelper } from "./clientHelper";
|
|
3
|
+
import { DateTimeHelper } from "./dateTimeHelper";
|
|
4
|
+
class DeviceHelper {
|
|
5
|
+
static getDeviceDetails = (asJson = false) => {
|
|
6
|
+
const clientHelper = new ClientHelper();
|
|
7
|
+
const device = {
|
|
8
|
+
type: DeviceType.Browser,
|
|
9
|
+
brand: `${clientHelper.getBrowser()}-${clientHelper.getBrowserVersion()}`,
|
|
10
|
+
os: clientHelper.getOS(),
|
|
11
|
+
extended_info: {
|
|
12
|
+
sim_info: null,
|
|
13
|
+
culture_info: null,
|
|
14
|
+
user_agent: clientHelper.getUserAgent(),
|
|
15
|
+
fingerprint: "",
|
|
16
|
+
cpu: clientHelper.getCPU(),
|
|
17
|
+
system_language: clientHelper.getSystemLanguage(),
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
const fullDevice = {
|
|
21
|
+
...device,
|
|
22
|
+
application_version: "",
|
|
23
|
+
serial_number: "",
|
|
24
|
+
source_ip_address: "",
|
|
25
|
+
geo_coordinates: "",
|
|
26
|
+
installation_id: "",
|
|
27
|
+
client_time_zone: DateTimeHelper.getClientTimeZone(),
|
|
28
|
+
server_date: "",
|
|
29
|
+
date_utc: DateTimeHelper.getDateUTC(),
|
|
30
|
+
client_date: DateTimeHelper.getClientDate(),
|
|
31
|
+
update_date_utc: DateTimeHelper.getDateUTC(),
|
|
32
|
+
original_source_id: "",
|
|
33
|
+
};
|
|
34
|
+
if (asJson)
|
|
35
|
+
return JSON.stringify(fullDevice);
|
|
36
|
+
return fullDevice;
|
|
37
|
+
};
|
|
38
|
+
static sortDevices = (devices, installationId) => {
|
|
39
|
+
return [...devices].sort((a, b) => {
|
|
40
|
+
if (a.installation_id === installationId &&
|
|
41
|
+
b.installation_id !== installationId)
|
|
42
|
+
return -1;
|
|
43
|
+
if (a.installation_id !== installationId &&
|
|
44
|
+
b.installation_id === installationId)
|
|
45
|
+
return 1;
|
|
46
|
+
if (a.is_online && !b.is_online)
|
|
47
|
+
return -1;
|
|
48
|
+
if (!a.is_online && b.is_online)
|
|
49
|
+
return 1;
|
|
50
|
+
if (a.verification_status > b.verification_status)
|
|
51
|
+
return -1;
|
|
52
|
+
if (a.verification_status < b.verification_status)
|
|
53
|
+
return 1;
|
|
54
|
+
const aTime = new Date(a.update_date_utc || a.date_utc).getTime();
|
|
55
|
+
const bTime = new Date(b.update_date_utc || b.date_utc).getTime();
|
|
56
|
+
return bTime - aTime;
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
static getDeviceExtendedInfo = () => { };
|
|
60
|
+
static async fillDeviceDataByDeviceTable(rows, cookiesHelper) {
|
|
61
|
+
const IID = await cookiesHelper.getIID();
|
|
62
|
+
return DeviceHelper.mapDeviceTableRows(rows, IID);
|
|
63
|
+
}
|
|
64
|
+
static mapDeviceTableRows = (rows, installationId) => {
|
|
65
|
+
let currentDevice = null;
|
|
66
|
+
const devices = rows.map((row) => {
|
|
67
|
+
const device = DeviceHelper.fillDeviceDataByDeviceRow(row);
|
|
68
|
+
if (installationId && device.installation_id === installationId) {
|
|
69
|
+
currentDevice = device;
|
|
70
|
+
}
|
|
71
|
+
return device;
|
|
72
|
+
});
|
|
73
|
+
return { devices, currentDevice };
|
|
74
|
+
};
|
|
75
|
+
static fillDeviceDataByDeviceRow(row) {
|
|
76
|
+
return {
|
|
77
|
+
id: row.ID,
|
|
78
|
+
type: row.Type,
|
|
79
|
+
brand: row.Brand?.toString() ?? "",
|
|
80
|
+
os: row.OS ?? "",
|
|
81
|
+
unique_id: null,
|
|
82
|
+
installation_id: row.Installation_ID ?? "",
|
|
83
|
+
extended_info: this.parseExtendedInfo(row.JSON),
|
|
84
|
+
status: row.Status,
|
|
85
|
+
verification_status: row.Verification_Status,
|
|
86
|
+
is_online: row.Is_Online,
|
|
87
|
+
encryption_key: row.Encryption_Key ?? "",
|
|
88
|
+
application_version: row.Application_Version ?? "",
|
|
89
|
+
serial_number: row.Serial_Number ?? "",
|
|
90
|
+
source_ip_address: row.Source_IP_Address ?? "",
|
|
91
|
+
geo_coordinates: row.Geo_Coordinates
|
|
92
|
+
? JSON.parse(row.Geo_Coordinates)
|
|
93
|
+
: undefined,
|
|
94
|
+
original_source_id: row.Source_ID ?? "",
|
|
95
|
+
server_date: row.Server_DateTime,
|
|
96
|
+
date_utc: row.DateTime_UTC,
|
|
97
|
+
client_date: "",
|
|
98
|
+
update_date_utc: row.Update_DateTime_UTC,
|
|
99
|
+
client_time_zone: row.Client_Time_Zone ?? "",
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
static parseExtendedInfo(json) {
|
|
103
|
+
const parsed = json ? JSON.parse(json) : {};
|
|
104
|
+
return {
|
|
105
|
+
sim_info: null,
|
|
106
|
+
culture_info: null,
|
|
107
|
+
user_agent: parsed.user_agent ?? "",
|
|
108
|
+
fingerprint: "",
|
|
109
|
+
cpu: parsed.cpu ?? "",
|
|
110
|
+
system_language: parsed.system_language ?? "",
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export { DeviceHelper };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { GeoCoordinates } from "../types";
|
|
2
|
+
declare class GeoHelper {
|
|
3
|
+
private static readonly CACHE_KEY_PREFIX;
|
|
4
|
+
private static readonly DEFAULT_TTL_MS;
|
|
5
|
+
private static cache;
|
|
6
|
+
private static pending;
|
|
7
|
+
private readonly baseUrl;
|
|
8
|
+
private readonly axiosInstance;
|
|
9
|
+
constructor(baseUrl: string);
|
|
10
|
+
static clearCache(): void;
|
|
11
|
+
private static storageKey;
|
|
12
|
+
private static readCache;
|
|
13
|
+
private static writeCache;
|
|
14
|
+
private fetchIPAddressAndLocation;
|
|
15
|
+
private fetchSharedLocation;
|
|
16
|
+
private loadGeoData;
|
|
17
|
+
private static toGeoCoordinates;
|
|
18
|
+
private static fallbackGeoCoordinates;
|
|
19
|
+
getGeoCoordinates(ttlMs?: number, forceRefresh?: boolean): Promise<GeoCoordinates>;
|
|
20
|
+
getIPAddress(ttlMs?: number, forceRefresh?: boolean): Promise<string>;
|
|
21
|
+
getGeoCoordinatesAndIPAddress(ttlMs?: number, forceRefresh?: boolean): Promise<{
|
|
22
|
+
geo_coordinates: GeoCoordinates;
|
|
23
|
+
ip_address: string;
|
|
24
|
+
}>;
|
|
25
|
+
}
|
|
26
|
+
export { GeoHelper };
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import axios from "axios";
|
|
2
|
+
import { Endpoints } from "../constant/constant";
|
|
3
|
+
class GeoHelper {
|
|
4
|
+
// #region Constants & State
|
|
5
|
+
static CACHE_KEY_PREFIX = "geo_coordinates_cache";
|
|
6
|
+
static DEFAULT_TTL_MS = 24 * 60 * 60 * 1000;
|
|
7
|
+
static cache = new Map();
|
|
8
|
+
static pending = new Map();
|
|
9
|
+
baseUrl;
|
|
10
|
+
axiosInstance;
|
|
11
|
+
// #endregion
|
|
12
|
+
// #region Constructor
|
|
13
|
+
constructor(baseUrl) {
|
|
14
|
+
this.baseUrl = baseUrl;
|
|
15
|
+
this.axiosInstance = axios.create({ baseURL: baseUrl });
|
|
16
|
+
}
|
|
17
|
+
// #endregion
|
|
18
|
+
// #region Cache
|
|
19
|
+
static clearCache() {
|
|
20
|
+
GeoHelper.cache.clear();
|
|
21
|
+
GeoHelper.pending.clear();
|
|
22
|
+
try {
|
|
23
|
+
const keysToRemove = [];
|
|
24
|
+
for (let i = 0; i < localStorage.length; i++) {
|
|
25
|
+
const key = localStorage.key(i);
|
|
26
|
+
if (key?.startsWith(GeoHelper.CACHE_KEY_PREFIX)) {
|
|
27
|
+
keysToRemove.push(key);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
keysToRemove.forEach((key) => localStorage.removeItem(key));
|
|
31
|
+
}
|
|
32
|
+
catch {
|
|
33
|
+
// Ignore errors when clearing cache
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
static storageKey(baseUrl) {
|
|
37
|
+
return `${GeoHelper.CACHE_KEY_PREFIX}:${baseUrl}`;
|
|
38
|
+
}
|
|
39
|
+
static readCache(baseUrl, ttlMs) {
|
|
40
|
+
const memEntry = GeoHelper.cache.get(baseUrl);
|
|
41
|
+
if (memEntry) {
|
|
42
|
+
if (Date.now() - memEntry.timestamp < ttlMs)
|
|
43
|
+
return memEntry;
|
|
44
|
+
GeoHelper.cache.delete(baseUrl);
|
|
45
|
+
}
|
|
46
|
+
try {
|
|
47
|
+
const cachedDataStr = localStorage.getItem(GeoHelper.storageKey(baseUrl));
|
|
48
|
+
if (!cachedDataStr)
|
|
49
|
+
return null;
|
|
50
|
+
const cachedData = JSON.parse(cachedDataStr);
|
|
51
|
+
if (Date.now() - cachedData.timestamp < ttlMs) {
|
|
52
|
+
GeoHelper.cache.set(baseUrl, cachedData);
|
|
53
|
+
return cachedData;
|
|
54
|
+
}
|
|
55
|
+
localStorage.removeItem(GeoHelper.storageKey(baseUrl));
|
|
56
|
+
}
|
|
57
|
+
catch (error) {
|
|
58
|
+
console.warn("Failed to read geo coordinates from cache:", error);
|
|
59
|
+
}
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
static writeCache(baseUrl, data) {
|
|
63
|
+
GeoHelper.cache.set(baseUrl, data);
|
|
64
|
+
try {
|
|
65
|
+
localStorage.setItem(GeoHelper.storageKey(baseUrl), JSON.stringify(data));
|
|
66
|
+
}
|
|
67
|
+
catch (error) {
|
|
68
|
+
console.warn("Failed to store geo coordinates in cache:", error);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
// #endregion
|
|
72
|
+
// #region Helpers
|
|
73
|
+
async fetchIPAddressAndLocation() {
|
|
74
|
+
const response = await this.axiosInstance.get(Endpoints.IPAddress);
|
|
75
|
+
const ipAddressAndLocation = response.data.value;
|
|
76
|
+
if (!ipAddressAndLocation)
|
|
77
|
+
return null;
|
|
78
|
+
try {
|
|
79
|
+
return JSON.parse(ipAddressAndLocation);
|
|
80
|
+
}
|
|
81
|
+
catch (error) {
|
|
82
|
+
console.warn("Failed to parse IP address and location:", error);
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
// Dedupes concurrent fetches per baseURL so N callers on cold cache
|
|
87
|
+
// result in 1 network call instead of N.
|
|
88
|
+
fetchSharedLocation() {
|
|
89
|
+
const existing = GeoHelper.pending.get(this.baseUrl);
|
|
90
|
+
if (existing)
|
|
91
|
+
return existing;
|
|
92
|
+
const inflight = this.fetchIPAddressAndLocation();
|
|
93
|
+
GeoHelper.pending.set(this.baseUrl, inflight);
|
|
94
|
+
const cleanup = () => {
|
|
95
|
+
if (GeoHelper.pending.get(this.baseUrl) === inflight) {
|
|
96
|
+
GeoHelper.pending.delete(this.baseUrl);
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
inflight.then(cleanup, cleanup);
|
|
100
|
+
return inflight;
|
|
101
|
+
}
|
|
102
|
+
async loadGeoData(ttlMs, forceRefresh) {
|
|
103
|
+
if (!forceRefresh && ttlMs > 0) {
|
|
104
|
+
const cached = GeoHelper.readCache(this.baseUrl, ttlMs);
|
|
105
|
+
if (cached)
|
|
106
|
+
return cached;
|
|
107
|
+
}
|
|
108
|
+
const location = await this.fetchSharedLocation();
|
|
109
|
+
// Failed fetch returns fallback but does NOT cache it — a transient
|
|
110
|
+
// network blip should not poison the cache for 24h.
|
|
111
|
+
if (!location) {
|
|
112
|
+
return {
|
|
113
|
+
geo_coordinates: GeoHelper.fallbackGeoCoordinates(),
|
|
114
|
+
ip_address: "",
|
|
115
|
+
timestamp: Date.now(),
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
const data = {
|
|
119
|
+
geo_coordinates: GeoHelper.toGeoCoordinates(location),
|
|
120
|
+
ip_address: location.ip_address || "",
|
|
121
|
+
timestamp: Date.now(),
|
|
122
|
+
};
|
|
123
|
+
if (ttlMs > 0)
|
|
124
|
+
GeoHelper.writeCache(this.baseUrl, data);
|
|
125
|
+
return data;
|
|
126
|
+
}
|
|
127
|
+
static toGeoCoordinates(location) {
|
|
128
|
+
const { latitude, longitude, city, country } = location;
|
|
129
|
+
return {
|
|
130
|
+
latitude: (latitude ?? 0).toString(),
|
|
131
|
+
longitude: (longitude ?? 0).toString(),
|
|
132
|
+
position_description: `${city || "N/A"}, ${country || "N/A"}`,
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
static fallbackGeoCoordinates() {
|
|
136
|
+
return {
|
|
137
|
+
latitude: "0",
|
|
138
|
+
longitude: "0",
|
|
139
|
+
position_description: "N/A, N/A",
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
// #endregion
|
|
143
|
+
// #region Public API
|
|
144
|
+
async getGeoCoordinates(ttlMs = GeoHelper.DEFAULT_TTL_MS, forceRefresh = false) {
|
|
145
|
+
const data = await this.loadGeoData(ttlMs, forceRefresh);
|
|
146
|
+
return data.geo_coordinates;
|
|
147
|
+
}
|
|
148
|
+
async getIPAddress(ttlMs = GeoHelper.DEFAULT_TTL_MS, forceRefresh = false) {
|
|
149
|
+
const data = await this.loadGeoData(ttlMs, forceRefresh);
|
|
150
|
+
return data.ip_address ?? "";
|
|
151
|
+
}
|
|
152
|
+
async getGeoCoordinatesAndIPAddress(ttlMs = GeoHelper.DEFAULT_TTL_MS, forceRefresh = false) {
|
|
153
|
+
const data = await this.loadGeoData(ttlMs, forceRefresh);
|
|
154
|
+
return {
|
|
155
|
+
geo_coordinates: data.geo_coordinates,
|
|
156
|
+
ip_address: data.ip_address ?? "",
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
export { GeoHelper };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { ChangeEventParameters } from "../../types/helper/storageHelper/cookiesHelper";
|
|
2
|
+
import type { CredentialsCookies } from "../../types/storage/cookies";
|
|
3
|
+
import type { USR } from "../../types/helper/cipherHelper";
|
|
4
|
+
import { TokenData } from "../..";
|
|
5
|
+
declare class CookiesHelper {
|
|
6
|
+
private key;
|
|
7
|
+
private pendingIID;
|
|
8
|
+
private eventHandlers;
|
|
9
|
+
private domain;
|
|
10
|
+
private programId;
|
|
11
|
+
private Cookies;
|
|
12
|
+
private useCookieStore;
|
|
13
|
+
private cipherHelper;
|
|
14
|
+
private errorHandler;
|
|
15
|
+
private cachedIID;
|
|
16
|
+
private cachedUSR;
|
|
17
|
+
private cachedDEK;
|
|
18
|
+
private cachedAccessToken;
|
|
19
|
+
private cachedJWTToken;
|
|
20
|
+
constructor(programId: string, domain: string, errorHandler: (error: any) => void);
|
|
21
|
+
/**
|
|
22
|
+
* Check if CookieStore API is available
|
|
23
|
+
* CookieStore requires secure context (HTTPS or localhost)
|
|
24
|
+
*/
|
|
25
|
+
private isCookieStoreAvailable;
|
|
26
|
+
private isSecureContext;
|
|
27
|
+
private buildCookieName;
|
|
28
|
+
private clearCacheForKey;
|
|
29
|
+
private setCookieFallback;
|
|
30
|
+
private getCookieFallback;
|
|
31
|
+
private deleteCookieFallback;
|
|
32
|
+
getIID(): Promise<string>;
|
|
33
|
+
private _fetchOrCreateIID;
|
|
34
|
+
private setIID;
|
|
35
|
+
validateIID(installationId: string): Promise<boolean>;
|
|
36
|
+
getDEK(): Promise<string>;
|
|
37
|
+
setDEK(deviceEncryptionKey: string, USR: USR): Promise<void>;
|
|
38
|
+
validateDEK(DEK: string): Promise<boolean>;
|
|
39
|
+
getUserId(): Promise<number>;
|
|
40
|
+
getDeviceId(): Promise<number>;
|
|
41
|
+
getUSR(): Promise<USR | null>;
|
|
42
|
+
setUSR(deviceId: string, userId: string): Promise<void>;
|
|
43
|
+
validateUSR(USR: string): Promise<boolean>;
|
|
44
|
+
getDeviceSecurityCode(): Promise<string>;
|
|
45
|
+
getAccessToken(): Promise<string>;
|
|
46
|
+
setAccessToken(accessToken: string, expires: number): Promise<void>;
|
|
47
|
+
validateAccessToken(accessToken: string): Promise<boolean>;
|
|
48
|
+
getJWTToken(): Promise<string>;
|
|
49
|
+
setJWTToken(jwtToken: string): Promise<void>;
|
|
50
|
+
validateJWTToken(jwtToken: string): Promise<boolean>;
|
|
51
|
+
get(key: string): Promise<string>;
|
|
52
|
+
set(key: string, value: string, expires?: number): Promise<void>;
|
|
53
|
+
remove(key: string): Promise<void>;
|
|
54
|
+
setCredentialCookiesByTokenData(tokenData: TokenData): Promise<void>;
|
|
55
|
+
clearCredentialCookies(): Promise<void>;
|
|
56
|
+
cookieEventHandler(e: CookieChangeEvent, params: ChangeEventParameters): Promise<void>;
|
|
57
|
+
onChangeHandler(changed: CookieInit[], params: ChangeEventParameters): Promise<void>;
|
|
58
|
+
onDeleteHandler(deleted: CookieInit[], params: ChangeEventParameters): Promise<void>;
|
|
59
|
+
addOnChangeEventListener(id: string, params: ChangeEventParameters): void;
|
|
60
|
+
removeOnChangeEventListener(id: string): void;
|
|
61
|
+
isAuthenticated(): Promise<boolean>;
|
|
62
|
+
getCredentialsCookies(): Promise<CredentialsCookies>;
|
|
63
|
+
}
|
|
64
|
+
export { CookiesHelper };
|