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,40 @@
|
|
|
1
|
+
import { BaseResult } from "../..";
|
|
2
|
+
import type { PaginationData } from "./pagination";
|
|
3
|
+
type ValidatorDescription = {
|
|
4
|
+
moniker: string;
|
|
5
|
+
identity: string;
|
|
6
|
+
website: string;
|
|
7
|
+
security_contact: string;
|
|
8
|
+
details: string;
|
|
9
|
+
};
|
|
10
|
+
type ValidatorCommission = {
|
|
11
|
+
commission_rates: {
|
|
12
|
+
rate: string;
|
|
13
|
+
max_rate: string;
|
|
14
|
+
max_change_rate: string;
|
|
15
|
+
};
|
|
16
|
+
update_time: string;
|
|
17
|
+
};
|
|
18
|
+
type Validator = {
|
|
19
|
+
operator_address: string;
|
|
20
|
+
consensus_pubkey: {
|
|
21
|
+
"@type": string;
|
|
22
|
+
key: string;
|
|
23
|
+
};
|
|
24
|
+
jailed: boolean;
|
|
25
|
+
status: string;
|
|
26
|
+
tokens: string;
|
|
27
|
+
delegator_shares: string;
|
|
28
|
+
description: ValidatorDescription;
|
|
29
|
+
unbonding_height: string;
|
|
30
|
+
unbonding_time: string;
|
|
31
|
+
commission: ValidatorCommission;
|
|
32
|
+
min_self_delegation: string;
|
|
33
|
+
};
|
|
34
|
+
type ValidatorsData = BaseResult & PaginationData & {
|
|
35
|
+
validators: Validator[];
|
|
36
|
+
};
|
|
37
|
+
type ValidatorData = BaseResult & {
|
|
38
|
+
validator: Validator;
|
|
39
|
+
};
|
|
40
|
+
export type { Validator, ValidatorDescription, ValidatorCommission, ValidatorsData, ValidatorData, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type * from "./countries";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AxiosRequestConfig, InternalAxiosRequestConfig } from "axios";
|
|
2
|
+
import { ClientContextProvider } from "../..";
|
|
3
|
+
import { CookiesHelper } from "../../..";
|
|
4
|
+
import type { AuthService } from "../../../api/service/authService";
|
|
5
|
+
type TGetAxiosConfig = (token: string, baseURL: string, lang?: string, installationId?: string) => AxiosRequestConfig;
|
|
6
|
+
type TGetAuthAxiosConfig = (baseURL: string, lang: string, installationId: string) => AxiosRequestConfig;
|
|
7
|
+
type TAddAxiosConfigHeader = (config: AxiosRequestConfig, key: string, value: string) => void;
|
|
8
|
+
type TInjectRequest<D> = (req: InternalAxiosRequestConfig<D>) => InternalAxiosRequestConfig<D>;
|
|
9
|
+
type InjectBaseHeaders<D> = (req: InternalAxiosRequestConfig, context: ClientContextProvider, cookiesHelper: CookiesHelper) => Promise<InternalAxiosRequestConfig<D>>;
|
|
10
|
+
type InjectLimitedToken = (req: InternalAxiosRequestConfig, authService: AuthService, cookiesHelper: CookiesHelper) => Promise<InternalAxiosRequestConfig>;
|
|
11
|
+
type GetLimitedToken = (authService: AuthService, cookiesHelper: CookiesHelper) => Promise<string | null>;
|
|
12
|
+
type GetLimitedAuthHeaders = (authService: AuthService, cookiesHelper: CookiesHelper) => Promise<{
|
|
13
|
+
Authorization: string;
|
|
14
|
+
} | undefined>;
|
|
15
|
+
type Bearer = (token: string) => string;
|
|
16
|
+
export { TGetAxiosConfig, TGetAuthAxiosConfig, TAddAxiosConfigHeader, TInjectRequest, InjectBaseHeaders, InjectLimitedToken, GetLimitedToken, GetLimitedAuthHeaders, Bearer, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { Device } from "..";
|
|
2
|
+
interface DeviceTableSubscriptionData {
|
|
3
|
+
ID: number;
|
|
4
|
+
Program_ID: number;
|
|
5
|
+
Entity: number;
|
|
6
|
+
Entity_ID: number;
|
|
7
|
+
Server_DateTime: string;
|
|
8
|
+
DateTime_UTC: string;
|
|
9
|
+
Update_DateTime_UTC: string;
|
|
10
|
+
Type: number;
|
|
11
|
+
Brand: string | null;
|
|
12
|
+
OS: string | null;
|
|
13
|
+
Unique_ID: string | null;
|
|
14
|
+
Installation_ID: string | null;
|
|
15
|
+
Serial_Number: string | null;
|
|
16
|
+
JSON: string | null;
|
|
17
|
+
Status: number;
|
|
18
|
+
Verification_Status: number;
|
|
19
|
+
Is_Online: boolean;
|
|
20
|
+
Encryption_Key: string | null;
|
|
21
|
+
Application_Version: string | null;
|
|
22
|
+
Activation_Location: string | null;
|
|
23
|
+
Last_Location: string | null;
|
|
24
|
+
IP_Address: string | null;
|
|
25
|
+
Source_IP_Address: string | null;
|
|
26
|
+
Host_Name: string | null;
|
|
27
|
+
Client_Time_Zone: string | null;
|
|
28
|
+
Geo_Coordinates: string | null;
|
|
29
|
+
Source_App: number;
|
|
30
|
+
Source_ID: string | null;
|
|
31
|
+
Session_ID: string | null;
|
|
32
|
+
Auth_Type: number;
|
|
33
|
+
Auth_ID: number;
|
|
34
|
+
}
|
|
35
|
+
interface FilledDeviceTableData {
|
|
36
|
+
devices: Device[];
|
|
37
|
+
currentDevice: Device | null;
|
|
38
|
+
}
|
|
39
|
+
export type { DeviceTableSubscriptionData, FilledDeviceTableData };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { GeoCoordinates } from "../banking/common";
|
|
2
|
+
type IPAddressStringResult = {
|
|
3
|
+
value: string;
|
|
4
|
+
};
|
|
5
|
+
type IPAddressAndLocation = {
|
|
6
|
+
ip_address: string;
|
|
7
|
+
country: string;
|
|
8
|
+
city: string;
|
|
9
|
+
latitude: number;
|
|
10
|
+
longitude: number;
|
|
11
|
+
};
|
|
12
|
+
interface CachedGeoData {
|
|
13
|
+
geo_coordinates: GeoCoordinates;
|
|
14
|
+
ip_address?: string;
|
|
15
|
+
timestamp: number;
|
|
16
|
+
}
|
|
17
|
+
export type { IPAddressStringResult, IPAddressAndLocation, CachedGeoData };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type * from "./api/axiosHelper";
|
|
2
|
+
export type * from "./api/requestBuilder";
|
|
3
|
+
export type * from "./cipherHelper";
|
|
4
|
+
export type * from "./deviceHelper";
|
|
5
|
+
export type * from "./geoHelper";
|
|
6
|
+
export type * from "./userHelper";
|
|
7
|
+
export type * from "./storageHelper";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type ChangeEventParameters = {
|
|
2
|
+
IID: EventCallback;
|
|
3
|
+
USR: EventCallback;
|
|
4
|
+
DEK: EventCallback;
|
|
5
|
+
accessToken: EventCallback;
|
|
6
|
+
jwtToken: EventCallback;
|
|
7
|
+
};
|
|
8
|
+
type EventCallback = (eventType: "change" | "delete") => void;
|
|
9
|
+
export { ChangeEventParameters, EventCallback };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./cookiesHelper";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./cookiesHelper";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { DocumentData, OrganizationData, PersonalInfo, ResetUserSecurity, UserData, UserSecurity } from "..";
|
|
2
|
+
import type { GiftData } from "../banking/entities/customField/promotionData/giftData";
|
|
3
|
+
type TEntity = UserData[keyof Pick<UserData, "addresses" | "bank_account" | "email" | "phone" | "identification">][0];
|
|
4
|
+
type TModifyListByEntity = <K extends TEntity>(entityList: K[], entity: K) => K[];
|
|
5
|
+
type TModifyByDocumentData = <K extends TEntity>(entityList: K[], entity: DocumentData) => K[];
|
|
6
|
+
type TModifyOrganizationByDocumentData = (organizationList: OrganizationData[], documentData: DocumentData) => OrganizationData[];
|
|
7
|
+
type TModifyOrganizationList = (organizationList: OrganizationData[], organization: OrganizationData) => OrganizationData[];
|
|
8
|
+
type TModifyProfilePicture = (personal_info: PersonalInfo, documentData: DocumentData) => PersonalInfo;
|
|
9
|
+
type TModifySecurity = <K extends UserSecurity>(userSecurity: K, newUserSecurity: K) => UserSecurity;
|
|
10
|
+
type TModifySecurityResetUserSecurity = (userSecurity: UserSecurity, resetUserSecurity: ResetUserSecurity) => UserSecurity;
|
|
11
|
+
export { TEntity, TModifyListByEntity, TModifyByDocumentData, TModifyOrganizationByDocumentData, TModifyOrganizationList, TModifyProfilePicture, TModifySecurityResetUserSecurity, TModifySecurity, };
|
|
12
|
+
type BaseEntity = {
|
|
13
|
+
id: number;
|
|
14
|
+
is_primary: number;
|
|
15
|
+
verification_status: number;
|
|
16
|
+
};
|
|
17
|
+
type TSortEntity = <K extends BaseEntity>(entityList: K[]) => K[];
|
|
18
|
+
type TBaseSortEntityBy = <K extends BaseEntity>(a: K, b: K) => number;
|
|
19
|
+
type TSortByIsPrimary = TBaseSortEntityBy;
|
|
20
|
+
type TSortByVerificationStatus = TBaseSortEntityBy;
|
|
21
|
+
type TSortByID = TBaseSortEntityBy;
|
|
22
|
+
export { TSortEntity, TSortByIsPrimary, TSortByVerificationStatus, TSortByID };
|
|
23
|
+
type TSubEntityKey = keyof Pick<UserData, "addresses" | "bank_account" | "identification" | "organization">;
|
|
24
|
+
type TTicketAction = "add" | "modify" | "remove";
|
|
25
|
+
export type { TSubEntityKey, TTicketAction };
|
|
26
|
+
type PromotionCustomField = {
|
|
27
|
+
promotion_data: {
|
|
28
|
+
gift_data?: GiftData[];
|
|
29
|
+
referral_data?: {
|
|
30
|
+
code: string;
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export type { PromotionCustomField };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type NodeGiftData = {
|
|
2
|
+
id: number;
|
|
3
|
+
promotionId: number;
|
|
4
|
+
promotionCode: string;
|
|
5
|
+
type: number;
|
|
6
|
+
orderId: number;
|
|
7
|
+
orderStatus: number;
|
|
8
|
+
claimedDate: string | null;
|
|
9
|
+
claimedPrizeAmount: number;
|
|
10
|
+
claimedPrizeAsset: string;
|
|
11
|
+
};
|
|
12
|
+
export type { NodeGiftData };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PromotionType, PromotionVisibility, PromotionStatus, PromotionGames } from "../../constant";
|
|
2
|
+
import type { Amount, LotteryPrize } from ".";
|
|
3
|
+
import { BaseResult } from "../..";
|
|
4
|
+
type PromotionDetails = BaseResult & {
|
|
5
|
+
id: number;
|
|
6
|
+
code: string;
|
|
7
|
+
name: string;
|
|
8
|
+
localeName: string;
|
|
9
|
+
type: PromotionType;
|
|
10
|
+
referralCode?: string;
|
|
11
|
+
visibility: PromotionVisibility;
|
|
12
|
+
status: PromotionStatus;
|
|
13
|
+
startDate: string;
|
|
14
|
+
endDate: string;
|
|
15
|
+
allowedParticipants: number;
|
|
16
|
+
claimedParticipants: number;
|
|
17
|
+
totalPromotionAmount: Amount;
|
|
18
|
+
minPrize: number;
|
|
19
|
+
maxPrize: number;
|
|
20
|
+
promotionPrizes: Amount[];
|
|
21
|
+
claimedAmounts: number;
|
|
22
|
+
enabledGames: PromotionGames[];
|
|
23
|
+
enableLottery: boolean;
|
|
24
|
+
lotteryPrizes?: LotteryPrize[];
|
|
25
|
+
};
|
|
26
|
+
export type { PromotionDetails };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./cookies";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./cookies";
|
package/dist/user.d.ts
ADDED
package/dist/user.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./utils";
|
package/dist/utility.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./utils";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Endpoints } from "../../constant/constant";
|
|
2
|
+
const ENTITY_ENDPOINTS = [
|
|
3
|
+
Endpoints.Account,
|
|
4
|
+
Endpoints.Order,
|
|
5
|
+
Endpoints.Organization,
|
|
6
|
+
Endpoints.Transaction,
|
|
7
|
+
Endpoints.User,
|
|
8
|
+
];
|
|
9
|
+
function isEntityEndpoint(url) {
|
|
10
|
+
if (!url)
|
|
11
|
+
return false;
|
|
12
|
+
const path = url.startsWith("/") ? url.slice(1) : url;
|
|
13
|
+
return ENTITY_ENDPOINTS.some((endpoint) => path === endpoint || path.startsWith(`${endpoint}/`));
|
|
14
|
+
}
|
|
15
|
+
export { isEntityEndpoint };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SupportedCountriesExtended } from "../types/banking/program/bin";
|
|
2
|
+
import type { CountryData } from "../types";
|
|
3
|
+
declare const getCountryFlag: (iso2: string) => string;
|
|
4
|
+
declare const toCountryData: (country: SupportedCountriesExtended) => CountryData;
|
|
5
|
+
export { getCountryFlag, toCountryData };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Converts an ISO 3166-1 alpha-2 code into its regional-indicator flag emoji
|
|
2
|
+
// by mapping each letter (A–Z) to its corresponding code point starting at U+1F1E6.
|
|
3
|
+
const getCountryFlag = (iso2) => {
|
|
4
|
+
if (!iso2 || iso2.length < 2)
|
|
5
|
+
return "";
|
|
6
|
+
return iso2
|
|
7
|
+
.toUpperCase()
|
|
8
|
+
.slice(0, 2)
|
|
9
|
+
.split("")
|
|
10
|
+
.map((c) => String.fromCodePoint(c.charCodeAt(0) - 65 + 0x1f1e6))
|
|
11
|
+
.join("");
|
|
12
|
+
};
|
|
13
|
+
// Returns the SDK country object enriched with its flag emoji derived from iso_a2.
|
|
14
|
+
const toCountryData = (country) => ({
|
|
15
|
+
...country,
|
|
16
|
+
flag: getCountryFlag(country.iso_a2),
|
|
17
|
+
});
|
|
18
|
+
export { getCountryFlag, toCountryData };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const generateSourceID: (userId: number) => string;
|
|
2
|
+
declare const generateWiped: () => string;
|
|
3
|
+
declare const generateBase64: (length?: number) => string;
|
|
4
|
+
declare const generateUUID: () => `${string}-${string}-${string}-${string}-${string}`;
|
|
5
|
+
export { generateSourceID, generateWiped, generateBase64, generateUUID };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { pad, padMilliseconds } from "..";
|
|
2
|
+
import crypto from "crypto";
|
|
3
|
+
const generateSourceID = (userId) => {
|
|
4
|
+
const now = new Date();
|
|
5
|
+
// Format date and time components
|
|
6
|
+
const day = pad(now.getDate());
|
|
7
|
+
const month = pad(now.getMonth() + 1); // Months are zero-based
|
|
8
|
+
const year = now.getFullYear();
|
|
9
|
+
const hours = pad(now.getHours());
|
|
10
|
+
const minutes = pad(now.getMinutes());
|
|
11
|
+
const seconds = pad(now.getSeconds());
|
|
12
|
+
const milliseconds = padMilliseconds(now.getMilliseconds());
|
|
13
|
+
const timestamp = `${day}${month}${year}.${hours}${minutes}${seconds}.${milliseconds}`;
|
|
14
|
+
const source_id = `U.${userId || 0}.${timestamp}`;
|
|
15
|
+
return source_id;
|
|
16
|
+
};
|
|
17
|
+
const generateWiped = () => {
|
|
18
|
+
return "____";
|
|
19
|
+
};
|
|
20
|
+
const generateBase64 = (length = 32) => {
|
|
21
|
+
return crypto.randomBytes(length).toString("base64");
|
|
22
|
+
};
|
|
23
|
+
const generateUUID = () => {
|
|
24
|
+
return crypto.randomUUID();
|
|
25
|
+
};
|
|
26
|
+
export { generateSourceID, generateWiped, generateBase64, generateUUID };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const pad: (number: number) => string;
|
|
2
|
+
declare const padMilliseconds: (number: number) => string;
|
|
3
|
+
declare const getBase64: (url: string) => Promise<string | null>;
|
|
4
|
+
/**
|
|
5
|
+
* Drops every `null` and `undefined` property off `object`, so the result can be
|
|
6
|
+
* spread over an existing object without blanking out the values it already
|
|
7
|
+
*/
|
|
8
|
+
declare const filterDefinedProperties: <T extends object>(object: T | null | undefined) => Partial<T>;
|
|
9
|
+
export { pad, padMilliseconds, getBase64, filterDefinedProperties };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { isNullOrUndefined } from "./validation";
|
|
2
|
+
const pad = (number) => String(number).padStart(2, "0");
|
|
3
|
+
const padMilliseconds = (number) => String(number).padStart(3, "0");
|
|
4
|
+
const getBase64 = async (url) => {
|
|
5
|
+
try {
|
|
6
|
+
const response = await fetch(url);
|
|
7
|
+
const blob = await response.blob();
|
|
8
|
+
const base64 = new Promise((resolve, reject) => {
|
|
9
|
+
const reader = new FileReader();
|
|
10
|
+
reader.onload = () => {
|
|
11
|
+
if (reader.result instanceof ArrayBuffer) {
|
|
12
|
+
const binaryData = new Uint8Array(reader.result);
|
|
13
|
+
const base64Data = btoa(String.fromCharCode(...binaryData));
|
|
14
|
+
resolve(base64Data);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
reject(new Error("Failed to read as ArrayBuffer"));
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
reader.readAsArrayBuffer(blob);
|
|
21
|
+
});
|
|
22
|
+
return await base64;
|
|
23
|
+
}
|
|
24
|
+
catch (error) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Drops every `null` and `undefined` property off `object`, so the result can be
|
|
30
|
+
* spread over an existing object without blanking out the values it already
|
|
31
|
+
*/
|
|
32
|
+
const filterDefinedProperties = (object) => {
|
|
33
|
+
if (!object)
|
|
34
|
+
return {};
|
|
35
|
+
return Object.fromEntries(Object.entries(object).filter(([, value]) => !isNullOrUndefined(value)));
|
|
36
|
+
};
|
|
37
|
+
export { pad, padMilliseconds, getBase64, filterDefinedProperties };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { TicketData, TTicketAction, UserData } from "../../types";
|
|
2
|
+
/**
|
|
3
|
+
* The single path every ticket action takes, and the only place that decides
|
|
4
|
+
* where a ticket belongs. Backs `UserHelper.addTicket`, `UserHelper.modifyTicket`
|
|
5
|
+
* and `UserHelper.removeTicket`.
|
|
6
|
+
*
|
|
7
|
+
* The user-level list is reconciled for every action, whatever the ticket is
|
|
8
|
+
* attached to, so it stays a complete picture of the user's tickets. A ticket
|
|
9
|
+
* whose sub-entity points at a collection we know about is then applied to that
|
|
10
|
+
* entity's own list and status as well.
|
|
11
|
+
*
|
|
12
|
+
* Mutates `userData` in place, so it may be called on a draft inside a reducer.
|
|
13
|
+
*/
|
|
14
|
+
declare const applyTicket: (userData: UserData, ticket: TicketData, action: TTicketAction) => void;
|
|
15
|
+
export { applyTicket };
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { Entity } from "../../constant";
|
|
2
|
+
const SUB_ENTITY_KEY = {
|
|
3
|
+
[Entity.Entity_Address]: "addresses",
|
|
4
|
+
[Entity.Entity_Bank]: "bank_account",
|
|
5
|
+
[Entity.Entity_Identification]: "identification",
|
|
6
|
+
[Entity.Organization]: "organization",
|
|
7
|
+
};
|
|
8
|
+
/** Merges `ticket` into `tickets` by `info.id`, without ever appending it. */
|
|
9
|
+
const patchTicket = (tickets, ticket) => tickets.map((t) => (t.info.id === ticket.info.id ? { ...t, ...ticket } : t));
|
|
10
|
+
/** Applies `action` to any ticket list, be it a user's or an entity's own. */
|
|
11
|
+
const applyTicketAction = (tickets, ticket, action) => {
|
|
12
|
+
switch (action) {
|
|
13
|
+
case "add":
|
|
14
|
+
// Upserts rather than appends: a create the caller has already applied
|
|
15
|
+
// must not leave two copies of the same ticket behind.
|
|
16
|
+
return tickets.some((t) => t.info.id === ticket.info.id)
|
|
17
|
+
? patchTicket(tickets, ticket)
|
|
18
|
+
: [...tickets, ticket];
|
|
19
|
+
case "modify":
|
|
20
|
+
// Patches in place only — a ticket that is not here is not ours to add.
|
|
21
|
+
return patchTicket(tickets, ticket);
|
|
22
|
+
case "remove":
|
|
23
|
+
return tickets.filter((t) => t.info.id !== ticket.info.id);
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Finds the single entity `subEntity` points at, inside `collection`. Returns
|
|
28
|
+
* `undefined` when that entity is no longer present.
|
|
29
|
+
*/
|
|
30
|
+
const findSubEntity = (userData, collection, entityId) => {
|
|
31
|
+
if (collection === "organization") {
|
|
32
|
+
return userData.organization.find((o) => Number(o.info.id) === entityId);
|
|
33
|
+
}
|
|
34
|
+
const entities = userData[collection];
|
|
35
|
+
return entities.find((e) => Number(e.id) === entityId);
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Copies `ticket` and its sub-entity's status onto the single entity that
|
|
39
|
+
* sub-entity points at, inside `collection`, or removes the ticket from it when
|
|
40
|
+
* `action` is `remove`. Mutates `userData` in place, so it may be called on a
|
|
41
|
+
* draft inside a reducer. Does nothing when that entity is no longer present.
|
|
42
|
+
*
|
|
43
|
+
* A removal only takes the ticket off the entity: `verification_status` and
|
|
44
|
+
* `status` are left as the server last reported them, since the ticket carries
|
|
45
|
+
* no record of what they were before it was filed.
|
|
46
|
+
*
|
|
47
|
+
* Every routable collection carries its own ticket list, so the list itself is
|
|
48
|
+
* handled uniformly; only the depth of the status fields differs, since
|
|
49
|
+
* `organization` keeps them under `.info` and the rest at the top level.
|
|
50
|
+
*/
|
|
51
|
+
const applyTicketToEntity = (userData, collection, subEntity, ticket, action) => {
|
|
52
|
+
const entity = findSubEntity(userData, collection, Number(subEntity.sub_entity_id));
|
|
53
|
+
if (!entity)
|
|
54
|
+
return;
|
|
55
|
+
entity.ticket = applyTicketAction(entity.ticket ?? [], ticket, action);
|
|
56
|
+
if (action === "remove")
|
|
57
|
+
return;
|
|
58
|
+
const status = "info" in entity ? entity.info : entity;
|
|
59
|
+
status.verification_status = subEntity.verification_status;
|
|
60
|
+
status.status = subEntity.status;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* The single path every ticket action takes, and the only place that decides
|
|
64
|
+
* where a ticket belongs. Backs `UserHelper.addTicket`, `UserHelper.modifyTicket`
|
|
65
|
+
* and `UserHelper.removeTicket`.
|
|
66
|
+
*
|
|
67
|
+
* The user-level list is reconciled for every action, whatever the ticket is
|
|
68
|
+
* attached to, so it stays a complete picture of the user's tickets. A ticket
|
|
69
|
+
* whose sub-entity points at a collection we know about is then applied to that
|
|
70
|
+
* entity's own list and status as well.
|
|
71
|
+
*
|
|
72
|
+
* Mutates `userData` in place, so it may be called on a draft inside a reducer.
|
|
73
|
+
*/
|
|
74
|
+
const applyTicket = (userData, ticket, action) => {
|
|
75
|
+
if (!userData || !ticket)
|
|
76
|
+
return;
|
|
77
|
+
userData.ticket = applyTicketAction(userData.ticket ?? [], ticket, action);
|
|
78
|
+
const subEntity = ticket.info?.sub_entity?.[0];
|
|
79
|
+
if (!subEntity)
|
|
80
|
+
return;
|
|
81
|
+
const collection = SUB_ENTITY_KEY[subEntity.sub_entity];
|
|
82
|
+
if (!collection)
|
|
83
|
+
return;
|
|
84
|
+
applyTicketToEntity(userData, collection, subEntity, ticket, action);
|
|
85
|
+
};
|
|
86
|
+
export { applyTicket };
|