@channelpayments/node-sdk 1.24.0 → 1.35.4
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 +2 -1
- package/dist/cjs/{src/apis → apis}/ChannelPaymentsApi.d.ts +13 -2
- package/dist/cjs/{src/apis → apis}/ChannelPaymentsApi.js +44 -31
- package/dist/cjs/models/AddressEntity1.d.ts +62 -0
- package/dist/cjs/models/AddressEntity1.js +63 -0
- package/dist/cjs/models/AmountRuleConditionEntity.d.ts +53 -0
- package/dist/cjs/models/AmountRuleConditionEntity.js +61 -0
- package/dist/cjs/{src/models → models}/BuyerEntity1.d.ts +9 -3
- package/dist/cjs/{src/models → models}/BuyerEntity1.js +5 -3
- package/dist/cjs/models/BuyerEntity1Address.d.ts +62 -0
- package/dist/cjs/models/BuyerEntity1Address.js +63 -0
- package/dist/cjs/models/CFeeRuleConditionEntity.d.ts +40 -0
- package/dist/cjs/models/CFeeRuleConditionEntity.js +57 -0
- package/dist/cjs/{src/models → models}/CardDetails.d.ts +6 -6
- package/dist/cjs/{src/models → models}/CardDetails.js +8 -8
- package/dist/cjs/models/CreateAmountRuleConditionDto.d.ts +44 -0
- package/dist/cjs/models/CreateAmountRuleConditionDto.js +53 -0
- package/dist/cjs/models/CreateCFeeDto.d.ts +40 -0
- package/dist/cjs/{src/models/CFeeDto.js → models/CreateCFeeDto.js} +12 -12
- package/dist/cjs/models/CreateCFeeRuleConditionDto.d.ts +32 -0
- package/dist/cjs/models/CreateCFeeRuleConditionDto.js +50 -0
- package/dist/{mjs/src → cjs}/models/CreateMerchantAccountDto.d.ts +48 -13
- package/dist/cjs/{src/models → models}/CreateMerchantAccountDto.js +41 -16
- package/dist/cjs/models/CreateMerchantAccountDtoCFee.d.ts +40 -0
- package/dist/cjs/{src/models/CreateMerchantAccountDtoCfee.js → models/CreateMerchantAccountDtoCFee.js} +12 -12
- package/dist/cjs/models/CreateMerchantAccountWithoutMerchantIdDto.d.ts +149 -0
- package/dist/cjs/models/CreateMerchantAccountWithoutMerchantIdDto.js +121 -0
- package/dist/cjs/models/CreateMerchantConnectorWithoutMerchantAccountIdDto.d.ts +62 -0
- package/dist/cjs/models/CreateMerchantConnectorWithoutMerchantAccountIdDto.js +71 -0
- package/dist/{mjs/src → cjs}/models/CreateMerchantDto.d.ts +3 -3
- package/dist/cjs/{src/models → models}/CreateMerchantDto.js +3 -3
- package/dist/cjs/models/CreateMerchantRoutingFlowDto.d.ts +47 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowDto.js +61 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleDto.d.ts +60 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleDto.js +66 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDto.d.ts +54 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDto.js +64 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConditions.d.ts +41 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConditions.js +53 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors.d.ts +52 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors.js +66 -0
- package/dist/cjs/models/CreateMetadataRuleConditionDto.d.ts +49 -0
- package/dist/cjs/models/CreateMetadataRuleConditionDto.js +63 -0
- package/dist/{mjs/src → cjs}/models/CreatePaymentMethodDto.d.ts +2 -1
- package/dist/cjs/{src/models → models}/CreatePaymentMethodDto.js +3 -3
- package/dist/cjs/models/CreateRuleConditionsDto.d.ts +41 -0
- package/dist/cjs/models/CreateRuleConditionsDto.js +53 -0
- package/dist/cjs/models/CreateRuleConditionsDtoAmount.d.ts +44 -0
- package/dist/cjs/models/CreateRuleConditionsDtoAmount.js +53 -0
- package/dist/cjs/models/CreateRuleConditionsDtoCFee.d.ts +32 -0
- package/dist/cjs/models/CreateRuleConditionsDtoCFee.js +50 -0
- package/dist/cjs/models/CreateRuleConnectorsDto.d.ts +52 -0
- package/dist/cjs/models/CreateRuleConnectorsDto.js +66 -0
- package/dist/cjs/{src/models → models}/CreateTransactionDto.d.ts +4 -4
- package/dist/cjs/{src/models → models}/CreateTransactionDto.js +4 -4
- package/dist/{mjs/src → cjs}/models/CreateTransactionDtoPaymentMethod.d.ts +0 -1
- package/dist/cjs/{src/models → models}/CreateTransactionDtoPaymentMethod.js +1 -2
- package/dist/cjs/models/CreateUserDto.d.ts +65 -0
- package/dist/cjs/models/CreateUserDto.js +69 -0
- package/dist/cjs/models/MerchantAccountEntity.d.ts +172 -0
- package/dist/cjs/{src/models → models}/MerchantAccountEntity.js +63 -18
- package/dist/cjs/models/MerchantAccountEntityCFee.d.ts +40 -0
- package/dist/cjs/{src/models/MerchantAccountEntityCfee.js → models/MerchantAccountEntityCFee.js} +12 -12
- package/dist/cjs/models/MerchantConnectorEntity.d.ts +92 -0
- package/dist/cjs/models/MerchantConnectorEntity.js +86 -0
- package/dist/cjs/{src/models → models}/MerchantEntity.d.ts +6 -0
- package/dist/cjs/{src/models → models}/MerchantEntity.js +3 -0
- package/dist/cjs/models/MerchantRoutingFlowEntity.d.ts +65 -0
- package/dist/cjs/models/MerchantRoutingFlowEntity.js +70 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntity.d.ts +78 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntity.js +76 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntityConditions.d.ts +41 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntityConditions.js +53 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntityConnectors.d.ts +52 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntityConnectors.js +67 -0
- package/dist/cjs/models/MetadataRuleConditionEntity.d.ts +49 -0
- package/dist/cjs/models/MetadataRuleConditionEntity.js +63 -0
- package/dist/cjs/{src/models → models}/PaymentMethodDto.d.ts +0 -1
- package/dist/cjs/{src/models → models}/PaymentMethodDto.js +1 -2
- package/dist/{mjs/src → cjs}/models/PaymentMethodEntity.d.ts +11 -8
- package/dist/cjs/{src/models → models}/PaymentMethodEntity.js +10 -7
- package/dist/{mjs/src → cjs}/models/PaymentMethodEntity1.d.ts +27 -3
- package/dist/cjs/{src/models → models}/PaymentMethodEntity1.js +11 -3
- package/dist/{mjs/src → cjs}/models/PaymentMethodEntityBuyer.d.ts +9 -3
- package/dist/cjs/{src/models → models}/PaymentMethodEntityBuyer.js +5 -3
- package/dist/cjs/models/PaymentMethodEntityCardDetails.d.ts +59 -0
- package/dist/cjs/models/PaymentMethodEntityCardDetails.js +67 -0
- package/dist/cjs/models/RuleConditionsEntity.d.ts +41 -0
- package/dist/cjs/models/RuleConditionsEntity.js +53 -0
- package/dist/cjs/models/RuleConditionsEntityAmount.d.ts +53 -0
- package/dist/cjs/models/RuleConditionsEntityAmount.js +61 -0
- package/dist/cjs/models/RuleConditionsEntityCfee.d.ts +40 -0
- package/dist/cjs/models/RuleConditionsEntityCfee.js +57 -0
- package/dist/cjs/models/RuleConnectorsEntity.d.ts +52 -0
- package/dist/cjs/models/RuleConnectorsEntity.js +67 -0
- package/dist/cjs/{src/models → models}/TransactionEntity.d.ts +37 -0
- package/dist/cjs/{src/models → models}/TransactionEntity.js +22 -2
- package/dist/cjs/{src/models → models}/UpdateBuyerDto.d.ts +1 -1
- package/dist/{mjs/src → cjs}/models/UpdateCFeeDto.d.ts +4 -4
- package/dist/cjs/{src/models → models}/UpdateCFeeDto.js +4 -2
- package/dist/cjs/{src/models → models}/UpdateMerchantAccountDto.d.ts +44 -9
- package/dist/cjs/{src/models → models}/UpdateMerchantAccountDto.js +35 -10
- package/dist/cjs/models/UpdateMerchantAccountDtoCFee.d.ts +40 -0
- package/dist/cjs/models/UpdateMerchantAccountDtoCFee.js +57 -0
- package/dist/cjs/models/UpdateMerchantRoutingFlowRuleDto.d.ts +60 -0
- package/dist/cjs/models/UpdateMerchantRoutingFlowRuleDto.js +64 -0
- package/dist/cjs/models/UpdateSelfDto.d.ts +75 -0
- package/dist/cjs/models/UpdateSelfDto.js +73 -0
- package/dist/cjs/models/UpdateUserDto.d.ts +81 -0
- package/dist/cjs/models/UpdateUserDto.js +76 -0
- package/dist/cjs/models/UserEntity.d.ts +99 -0
- package/dist/cjs/models/UserEntity.js +90 -0
- package/dist/cjs/{src/models → models}/index.d.ts +38 -9
- package/dist/cjs/{src/models → models}/index.js +38 -9
- package/dist/cjs/{src/runtime.d.ts → runtime.d.ts} +0 -1
- package/dist/cjs/{src/runtime.js → runtime.js} +1 -19
- package/dist/mjs/{src/apis → apis}/ChannelPaymentsApi.d.ts +13 -2
- package/dist/mjs/{src/apis → apis}/ChannelPaymentsApi.js +44 -31
- package/dist/mjs/models/AddressEntity1.d.ts +62 -0
- package/dist/mjs/models/AddressEntity1.js +56 -0
- package/dist/mjs/models/AmountRuleConditionEntity.d.ts +53 -0
- package/dist/mjs/models/AmountRuleConditionEntity.js +54 -0
- package/dist/mjs/{src/models → models}/BuyerEntity1.d.ts +9 -3
- package/dist/mjs/{src/models → models}/BuyerEntity1.js +5 -3
- package/dist/mjs/models/BuyerEntity1Address.d.ts +62 -0
- package/dist/mjs/models/BuyerEntity1Address.js +56 -0
- package/dist/mjs/models/CFeeRuleConditionEntity.d.ts +40 -0
- package/dist/mjs/models/CFeeRuleConditionEntity.js +50 -0
- package/dist/mjs/{src/models → models}/CardDetails.d.ts +6 -6
- package/dist/mjs/{src/models → models}/CardDetails.js +7 -7
- package/dist/mjs/models/CreateAmountRuleConditionDto.d.ts +44 -0
- package/dist/mjs/models/CreateAmountRuleConditionDto.js +46 -0
- package/dist/mjs/models/CreateCFeeDto.d.ts +40 -0
- package/dist/mjs/{src/models/CFeeDto.js → models/CreateCFeeDto.js} +7 -7
- package/dist/mjs/models/CreateCFeeRuleConditionDto.d.ts +32 -0
- package/dist/mjs/models/CreateCFeeRuleConditionDto.js +43 -0
- package/dist/{cjs/src → mjs}/models/CreateMerchantAccountDto.d.ts +48 -13
- package/dist/mjs/{src/models → models}/CreateMerchantAccountDto.js +40 -15
- package/dist/mjs/models/CreateMerchantAccountDtoCFee.d.ts +40 -0
- package/dist/mjs/{src/models/CreateMerchantAccountDtoCfee.js → models/CreateMerchantAccountDtoCFee.js} +7 -7
- package/dist/mjs/models/CreateMerchantAccountWithoutMerchantIdDto.d.ts +149 -0
- package/dist/mjs/models/CreateMerchantAccountWithoutMerchantIdDto.js +114 -0
- package/dist/mjs/models/CreateMerchantConnectorWithoutMerchantAccountIdDto.d.ts +62 -0
- package/dist/mjs/models/CreateMerchantConnectorWithoutMerchantAccountIdDto.js +64 -0
- package/dist/{cjs/src → mjs}/models/CreateMerchantDto.d.ts +3 -3
- package/dist/mjs/{src/models → models}/CreateMerchantDto.js +3 -3
- package/dist/mjs/models/CreateMerchantRoutingFlowDto.d.ts +47 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowDto.js +54 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleDto.d.ts +60 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleDto.js +59 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDto.d.ts +54 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDto.js +57 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConditions.d.ts +41 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConditions.js +46 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors.d.ts +52 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors.js +59 -0
- package/dist/mjs/models/CreateMetadataRuleConditionDto.d.ts +49 -0
- package/dist/mjs/models/CreateMetadataRuleConditionDto.js +56 -0
- package/dist/{cjs/src → mjs}/models/CreatePaymentMethodDto.d.ts +2 -1
- package/dist/mjs/{src/models → models}/CreatePaymentMethodDto.js +3 -3
- package/dist/mjs/models/CreateRuleConditionsDto.d.ts +41 -0
- package/dist/mjs/models/CreateRuleConditionsDto.js +46 -0
- package/dist/mjs/models/CreateRuleConditionsDtoAmount.d.ts +44 -0
- package/dist/mjs/models/CreateRuleConditionsDtoAmount.js +46 -0
- package/dist/mjs/models/CreateRuleConditionsDtoCFee.d.ts +32 -0
- package/dist/mjs/models/CreateRuleConditionsDtoCFee.js +43 -0
- package/dist/mjs/models/CreateRuleConnectorsDto.d.ts +52 -0
- package/dist/mjs/models/CreateRuleConnectorsDto.js +59 -0
- package/dist/mjs/{src/models → models}/CreateTransactionDto.d.ts +4 -4
- package/dist/mjs/{src/models → models}/CreateTransactionDto.js +4 -4
- package/dist/{cjs/src → mjs}/models/CreateTransactionDtoPaymentMethod.d.ts +0 -1
- package/dist/mjs/{src/models → models}/CreateTransactionDtoPaymentMethod.js +1 -2
- package/dist/mjs/models/CreateUserDto.d.ts +65 -0
- package/dist/mjs/models/CreateUserDto.js +62 -0
- package/dist/mjs/models/MerchantAccountEntity.d.ts +172 -0
- package/dist/mjs/models/MerchantAccountEntity.js +135 -0
- package/dist/mjs/models/MerchantAccountEntityCFee.d.ts +40 -0
- package/dist/mjs/{src/models/MerchantAccountEntityCfee.js → models/MerchantAccountEntityCFee.js} +7 -7
- package/dist/mjs/models/MerchantConnectorEntity.d.ts +92 -0
- package/dist/mjs/models/MerchantConnectorEntity.js +79 -0
- package/dist/mjs/{src/models → models}/MerchantEntity.d.ts +6 -0
- package/dist/mjs/{src/models → models}/MerchantEntity.js +3 -0
- package/dist/mjs/models/MerchantRoutingFlowEntity.d.ts +65 -0
- package/dist/mjs/models/MerchantRoutingFlowEntity.js +63 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntity.d.ts +78 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntity.js +69 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntityConditions.d.ts +41 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntityConditions.js +46 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntityConnectors.d.ts +52 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntityConnectors.js +60 -0
- package/dist/mjs/models/MetadataRuleConditionEntity.d.ts +49 -0
- package/dist/mjs/models/MetadataRuleConditionEntity.js +56 -0
- package/dist/mjs/{src/models → models}/PaymentMethodDto.d.ts +0 -1
- package/dist/mjs/{src/models → models}/PaymentMethodDto.js +1 -2
- package/dist/{cjs/src → mjs}/models/PaymentMethodEntity.d.ts +11 -8
- package/dist/mjs/{src/models → models}/PaymentMethodEntity.js +10 -7
- package/dist/{cjs/src → mjs}/models/PaymentMethodEntity1.d.ts +27 -3
- package/dist/mjs/{src/models → models}/PaymentMethodEntity1.js +11 -3
- package/dist/{cjs/src → mjs}/models/PaymentMethodEntityBuyer.d.ts +9 -3
- package/dist/mjs/{src/models → models}/PaymentMethodEntityBuyer.js +5 -3
- package/dist/mjs/models/PaymentMethodEntityCardDetails.d.ts +59 -0
- package/dist/mjs/{src/models/PaymentMethodEntityDetails.js → models/PaymentMethodEntityCardDetails.js} +13 -13
- package/dist/mjs/models/RuleConditionsEntity.d.ts +41 -0
- package/dist/mjs/models/RuleConditionsEntity.js +46 -0
- package/dist/mjs/models/RuleConditionsEntityAmount.d.ts +53 -0
- package/dist/mjs/models/RuleConditionsEntityAmount.js +54 -0
- package/dist/mjs/models/RuleConditionsEntityCfee.d.ts +40 -0
- package/dist/mjs/models/RuleConditionsEntityCfee.js +50 -0
- package/dist/mjs/models/RuleConnectorsEntity.d.ts +52 -0
- package/dist/mjs/models/RuleConnectorsEntity.js +60 -0
- package/dist/mjs/{src/models → models}/TransactionEntity.d.ts +37 -0
- package/dist/mjs/{src/models → models}/TransactionEntity.js +22 -2
- package/dist/mjs/{src/models → models}/UpdateBuyerDto.d.ts +1 -1
- package/dist/{cjs/src → mjs}/models/UpdateCFeeDto.d.ts +4 -4
- package/dist/mjs/{src/models → models}/UpdateCFeeDto.js +5 -3
- package/dist/mjs/{src/models → models}/UpdateMerchantAccountDto.d.ts +44 -9
- package/dist/mjs/{src/models → models}/UpdateMerchantAccountDto.js +34 -9
- package/dist/mjs/models/UpdateMerchantAccountDtoCFee.d.ts +40 -0
- package/dist/mjs/models/UpdateMerchantAccountDtoCFee.js +50 -0
- package/dist/mjs/models/UpdateMerchantRoutingFlowRuleDto.d.ts +60 -0
- package/dist/mjs/models/UpdateMerchantRoutingFlowRuleDto.js +57 -0
- package/dist/mjs/models/UpdateSelfDto.d.ts +75 -0
- package/dist/mjs/models/UpdateSelfDto.js +66 -0
- package/dist/mjs/models/UpdateUserDto.d.ts +81 -0
- package/dist/mjs/models/UpdateUserDto.js +69 -0
- package/dist/mjs/models/UserEntity.d.ts +99 -0
- package/dist/mjs/models/UserEntity.js +83 -0
- package/dist/mjs/{src/models → models}/index.d.ts +38 -9
- package/dist/mjs/{src/models → models}/index.js +38 -9
- package/dist/mjs/{src/runtime.d.ts → runtime.d.ts} +0 -1
- package/dist/mjs/{src/runtime.js → runtime.js} +1 -19
- package/package.json +1 -1
- package/dist/cjs/src/models/CFeeDto.d.ts +0 -40
- package/dist/cjs/src/models/CreateMerchantAccountDtoCfee.d.ts +0 -40
- package/dist/cjs/src/models/CreateMerchantAccountDtoGateways.d.ts +0 -41
- package/dist/cjs/src/models/CreateMerchantAccountDtoGateways.js +0 -58
- package/dist/cjs/src/models/CreateMerchantAccountsDto.d.ts +0 -114
- package/dist/cjs/src/models/CreateMerchantAccountsDto.js +0 -96
- package/dist/cjs/src/models/CreateMerchantGateway.d.ts +0 -41
- package/dist/cjs/src/models/CreateMerchantGateway.js +0 -58
- package/dist/cjs/src/models/MerchantAccountEntity.d.ts +0 -108
- package/dist/cjs/src/models/MerchantAccountEntityCfee.d.ts +0 -40
- package/dist/cjs/src/models/MerchantGatewayEntity.d.ts +0 -59
- package/dist/cjs/src/models/MerchantGatewayEntity.js +0 -67
- package/dist/cjs/src/models/PaymentMethodEntityDetails.d.ts +0 -59
- package/dist/cjs/src/models/PaymentMethodEntityDetails.js +0 -67
- package/dist/cjs/src/models/UpdateMerchantAccountDtoCfee.d.ts +0 -40
- package/dist/cjs/src/models/UpdateMerchantAccountDtoCfee.js +0 -55
- package/dist/cjs/test.d.ts +0 -1
- package/dist/cjs/test.js +0 -81
- package/dist/mjs/src/models/CFeeDto.d.ts +0 -40
- package/dist/mjs/src/models/CreateMerchantAccountDtoCfee.d.ts +0 -40
- package/dist/mjs/src/models/CreateMerchantAccountDtoGateways.d.ts +0 -41
- package/dist/mjs/src/models/CreateMerchantAccountDtoGateways.js +0 -51
- package/dist/mjs/src/models/CreateMerchantAccountsDto.d.ts +0 -114
- package/dist/mjs/src/models/CreateMerchantAccountsDto.js +0 -89
- package/dist/mjs/src/models/CreateMerchantGateway.d.ts +0 -41
- package/dist/mjs/src/models/CreateMerchantGateway.js +0 -51
- package/dist/mjs/src/models/MerchantAccountEntity.d.ts +0 -108
- package/dist/mjs/src/models/MerchantAccountEntity.js +0 -90
- package/dist/mjs/src/models/MerchantAccountEntityCfee.d.ts +0 -40
- package/dist/mjs/src/models/MerchantGatewayEntity.d.ts +0 -59
- package/dist/mjs/src/models/MerchantGatewayEntity.js +0 -60
- package/dist/mjs/src/models/PaymentMethodEntityDetails.d.ts +0 -59
- package/dist/mjs/src/models/UpdateMerchantAccountDtoCfee.d.ts +0 -40
- package/dist/mjs/src/models/UpdateMerchantAccountDtoCfee.js +0 -48
- package/dist/mjs/test.d.ts +0 -1
- package/dist/mjs/test.js +0 -47
- /package/dist/cjs/{src/apis → apis}/index.d.ts +0 -0
- /package/dist/cjs/{src/apis → apis}/index.js +0 -0
- /package/dist/cjs/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/cjs/{src/index.js → index.js} +0 -0
- /package/dist/cjs/{src/models → models}/AddressDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/AddressDto.js +0 -0
- /package/dist/cjs/{src/models → models}/AddressEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/AddressEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/BuyerAddressEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/BuyerAddressEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/BuyerEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/BuyerEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/BuyerEntityAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/BuyerEntityAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/BuyersSearchEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/BuyersSearchEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/CFeeEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CFeeEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/CaptureTransactionDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CaptureTransactionDto.js +0 -0
- /package/dist/cjs/{src/models → models}/CreateBuyerDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CreateBuyerDto.js +0 -0
- /package/dist/cjs/{src/models → models}/CreateBuyerDtoAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CreateBuyerDtoAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantAddressDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantAddressDto.js +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantCredentialsDto.js +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantDtoAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantDtoAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/ErrorEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/ErrorEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/MerchantAddressEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/MerchantAddressEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/MerchantCredentialsEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/MerchantCredentialsEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/MerchantEntityAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/MerchantEntityAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/PaymentMethodsSearchEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/PaymentMethodsSearchEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/PaymentsBuyerEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/PaymentsBuyerEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/RefundTransactionDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/RefundTransactionDto.js +0 -0
- /package/dist/cjs/{src/models → models}/TransactionRefundEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/TransactionRefundEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/TransactionRefundsSearchEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/TransactionRefundsSearchEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/TransactionsSearchEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/TransactionsSearchEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateAddressDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateAddressDto.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateBuyerDto.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateBuyerDtoAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateBuyerDtoAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantAddressDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantAddressDto.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantCredentialsDto.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantDto.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantDtoAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantDtoAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/ValidateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/ValidateMerchantCredentialsDto.js +0 -0
- /package/dist/mjs/{src/apis → apis}/index.d.ts +0 -0
- /package/dist/mjs/{src/apis → apis}/index.js +0 -0
- /package/dist/mjs/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/mjs/{src/index.js → index.js} +0 -0
- /package/dist/mjs/{src/models → models}/AddressDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/AddressDto.js +0 -0
- /package/dist/mjs/{src/models → models}/AddressEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/AddressEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/BuyerAddressEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/BuyerAddressEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/BuyerEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/BuyerEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/BuyerEntityAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/BuyerEntityAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/BuyersSearchEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/BuyersSearchEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/CFeeEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CFeeEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/CaptureTransactionDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CaptureTransactionDto.js +0 -0
- /package/dist/mjs/{src/models → models}/CreateBuyerDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CreateBuyerDto.js +0 -0
- /package/dist/mjs/{src/models → models}/CreateBuyerDtoAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CreateBuyerDtoAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantAddressDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantAddressDto.js +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantCredentialsDto.js +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantDtoAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantDtoAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/ErrorEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/ErrorEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/MerchantAddressEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/MerchantAddressEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/MerchantCredentialsEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/MerchantCredentialsEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/MerchantEntityAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/MerchantEntityAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/PaymentMethodsSearchEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/PaymentMethodsSearchEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/PaymentsBuyerEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/PaymentsBuyerEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/RefundTransactionDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/RefundTransactionDto.js +0 -0
- /package/dist/mjs/{src/models → models}/TransactionRefundEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/TransactionRefundEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/TransactionRefundsSearchEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/TransactionRefundsSearchEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/TransactionsSearchEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/TransactionsSearchEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateAddressDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateAddressDto.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateBuyerDto.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateBuyerDtoAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateBuyerDtoAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantAddressDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantAddressDto.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantCredentialsDto.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantDto.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantDtoAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantDtoAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/ValidateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/ValidateMerchantCredentialsDto.js +0 -0
|
@@ -23,8 +23,8 @@ exports.CreateTransactionDtoCurrencyEnum = {
|
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
25
|
exports.CreateTransactionDtoIntentEnum = {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
Authorize: 'authorize',
|
|
27
|
+
Capture: 'capture'
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* Check if a given object implements the CreateTransactionDto interface.
|
|
@@ -50,7 +50,7 @@ function CreateTransactionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
50
|
'currency': json['currency'],
|
|
51
51
|
'paymentMethod': (0, CreateTransactionDtoPaymentMethod_1.CreateTransactionDtoPaymentMethodFromJSON)(json['paymentMethod']),
|
|
52
52
|
'intent': !(0, runtime_1.exists)(json, 'intent') ? undefined : json['intent'],
|
|
53
|
-
'
|
|
53
|
+
'excludeCFee': !(0, runtime_1.exists)(json, 'excludeCFee') ? undefined : json['excludeCFee'],
|
|
54
54
|
'country': !(0, runtime_1.exists)(json, 'country') ? undefined : json['country'],
|
|
55
55
|
'externalTransactionId': !(0, runtime_1.exists)(json, 'externalTransactionId') ? undefined : json['externalTransactionId'],
|
|
56
56
|
};
|
|
@@ -69,7 +69,7 @@ function CreateTransactionDtoToJSON(value) {
|
|
|
69
69
|
'currency': value.currency,
|
|
70
70
|
'paymentMethod': (0, CreateTransactionDtoPaymentMethod_1.CreateTransactionDtoPaymentMethodToJSON)(value.paymentMethod),
|
|
71
71
|
'intent': value.intent,
|
|
72
|
-
'
|
|
72
|
+
'excludeCFee': value.excludeCFee,
|
|
73
73
|
'country': value.country,
|
|
74
74
|
'externalTransactionId': value.externalTransactionId,
|
|
75
75
|
};
|
|
@@ -64,7 +64,6 @@ export interface CreateTransactionDtoPaymentMethod {
|
|
|
64
64
|
*/
|
|
65
65
|
export declare const CreateTransactionDtoPaymentMethodMethodEnum: {
|
|
66
66
|
readonly Card: "CARD";
|
|
67
|
-
readonly Id: "ID";
|
|
68
67
|
};
|
|
69
68
|
export type CreateTransactionDtoPaymentMethodMethodEnum = typeof CreateTransactionDtoPaymentMethodMethodEnum[keyof typeof CreateTransactionDtoPaymentMethodMethodEnum];
|
|
70
69
|
/**
|
|
@@ -14,8 +14,7 @@ const runtime_1 = require("../runtime");
|
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
exports.CreateTransactionDtoPaymentMethodMethodEnum = {
|
|
17
|
-
Card: 'CARD'
|
|
18
|
-
Id: 'ID'
|
|
17
|
+
Card: 'CARD'
|
|
19
18
|
};
|
|
20
19
|
/**
|
|
21
20
|
* Check if a given object implements the CreateTransactionDtoPaymentMethod interface.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Channel Payments API
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @export
|
|
10
|
+
* @interface CreateUserDto
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateUserDto {
|
|
13
|
+
/**
|
|
14
|
+
* Email address for the user
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof CreateUserDto
|
|
17
|
+
*/
|
|
18
|
+
email: string;
|
|
19
|
+
/**
|
|
20
|
+
* The user's first name
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateUserDto
|
|
23
|
+
*/
|
|
24
|
+
givenName: string;
|
|
25
|
+
/**
|
|
26
|
+
* The user's last name
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateUserDto
|
|
29
|
+
*/
|
|
30
|
+
familyName: string;
|
|
31
|
+
/**
|
|
32
|
+
* The user's associated merchant ID
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CreateUserDto
|
|
35
|
+
*/
|
|
36
|
+
merchantId: string;
|
|
37
|
+
/**
|
|
38
|
+
* The user's role
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CreateUserDto
|
|
41
|
+
*/
|
|
42
|
+
role: CreateUserDtoRoleEnum;
|
|
43
|
+
/**
|
|
44
|
+
* The user's phone number
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof CreateUserDto
|
|
47
|
+
*/
|
|
48
|
+
phoneNumber?: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @export
|
|
52
|
+
*/
|
|
53
|
+
export declare const CreateUserDtoRoleEnum: {
|
|
54
|
+
readonly User: "user";
|
|
55
|
+
readonly Admin: "admin";
|
|
56
|
+
readonly SuperAdmin: "superAdmin";
|
|
57
|
+
};
|
|
58
|
+
export type CreateUserDtoRoleEnum = typeof CreateUserDtoRoleEnum[keyof typeof CreateUserDtoRoleEnum];
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the CreateUserDto interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfCreateUserDto(value: object): boolean;
|
|
63
|
+
export declare function CreateUserDtoFromJSON(json: any): CreateUserDto;
|
|
64
|
+
export declare function CreateUserDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateUserDto;
|
|
65
|
+
export declare function CreateUserDtoToJSON(value?: CreateUserDto | null): any;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Channel Payments API
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.CreateUserDtoToJSON = exports.CreateUserDtoFromJSONTyped = exports.CreateUserDtoFromJSON = exports.instanceOfCreateUserDto = exports.CreateUserDtoRoleEnum = void 0;
|
|
12
|
+
const runtime_1 = require("../runtime");
|
|
13
|
+
/**
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
exports.CreateUserDtoRoleEnum = {
|
|
17
|
+
User: 'user',
|
|
18
|
+
Admin: 'admin',
|
|
19
|
+
SuperAdmin: 'superAdmin'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateUserDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateUserDto(value) {
|
|
25
|
+
let isInstance = true;
|
|
26
|
+
isInstance = isInstance && "email" in value;
|
|
27
|
+
isInstance = isInstance && "givenName" in value;
|
|
28
|
+
isInstance = isInstance && "familyName" in value;
|
|
29
|
+
isInstance = isInstance && "merchantId" in value;
|
|
30
|
+
isInstance = isInstance && "role" in value;
|
|
31
|
+
return isInstance;
|
|
32
|
+
}
|
|
33
|
+
exports.instanceOfCreateUserDto = instanceOfCreateUserDto;
|
|
34
|
+
function CreateUserDtoFromJSON(json) {
|
|
35
|
+
return CreateUserDtoFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
exports.CreateUserDtoFromJSON = CreateUserDtoFromJSON;
|
|
38
|
+
function CreateUserDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if ((json === undefined) || (json === null)) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
const typed = {
|
|
43
|
+
'email': json['email'],
|
|
44
|
+
'givenName': json['givenName'],
|
|
45
|
+
'familyName': json['familyName'],
|
|
46
|
+
'merchantId': json['merchantId'],
|
|
47
|
+
'role': json['role'],
|
|
48
|
+
'phoneNumber': !(0, runtime_1.exists)(json, 'phoneNumber') ? undefined : json['phoneNumber'],
|
|
49
|
+
};
|
|
50
|
+
return (0, runtime_1.removeNullUndefined)(typed);
|
|
51
|
+
}
|
|
52
|
+
exports.CreateUserDtoFromJSONTyped = CreateUserDtoFromJSONTyped;
|
|
53
|
+
function CreateUserDtoToJSON(value) {
|
|
54
|
+
if (value === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (value === null) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'email': value.email,
|
|
62
|
+
'givenName': value.givenName,
|
|
63
|
+
'familyName': value.familyName,
|
|
64
|
+
'merchantId': value.merchantId,
|
|
65
|
+
'role': value.role,
|
|
66
|
+
'phoneNumber': value.phoneNumber,
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
exports.CreateUserDtoToJSON = CreateUserDtoToJSON;
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Channel Payments API
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
import type { MerchantAccountEntityCFee } from './MerchantAccountEntityCFee';
|
|
8
|
+
import type { MerchantConnectorEntity } from './MerchantConnectorEntity';
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @export
|
|
12
|
+
* @interface MerchantAccountEntity
|
|
13
|
+
*/
|
|
14
|
+
export interface MerchantAccountEntity {
|
|
15
|
+
/**
|
|
16
|
+
* The alphanumeric document ID
|
|
17
|
+
* @type {string}
|
|
18
|
+
* @memberof MerchantAccountEntity
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
/**
|
|
22
|
+
* The alphanumeric ID of the merchant account
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof MerchantAccountEntity
|
|
25
|
+
*/
|
|
26
|
+
merchantAccountId: string;
|
|
27
|
+
/**
|
|
28
|
+
* The associated merchant ID
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof MerchantAccountEntity
|
|
31
|
+
*/
|
|
32
|
+
merchantId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The issued MID (Merchant ID)
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof MerchantAccountEntity
|
|
37
|
+
*/
|
|
38
|
+
issuedMid: string;
|
|
39
|
+
/**
|
|
40
|
+
* The payment service provider
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof MerchantAccountEntity
|
|
43
|
+
*/
|
|
44
|
+
psp: MerchantAccountEntityPspEnum;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {MerchantAccountEntityCFee}
|
|
48
|
+
* @memberof MerchantAccountEntity
|
|
49
|
+
*/
|
|
50
|
+
cFee: MerchantAccountEntityCFee;
|
|
51
|
+
/**
|
|
52
|
+
* The date the merchant was created
|
|
53
|
+
* @type {Date}
|
|
54
|
+
* @memberof MerchantAccountEntity
|
|
55
|
+
*/
|
|
56
|
+
createdAt: Date;
|
|
57
|
+
/**
|
|
58
|
+
* The date the merchant was last updated
|
|
59
|
+
* @type {Date}
|
|
60
|
+
* @memberof MerchantAccountEntity
|
|
61
|
+
*/
|
|
62
|
+
updatedAt: Date;
|
|
63
|
+
/**
|
|
64
|
+
* The payment method
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof MerchantAccountEntity
|
|
67
|
+
*/
|
|
68
|
+
method: MerchantAccountEntityMethodEnum;
|
|
69
|
+
/**
|
|
70
|
+
* The status of the merchant account
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof MerchantAccountEntity
|
|
73
|
+
*/
|
|
74
|
+
status: MerchantAccountEntityStatusEnum;
|
|
75
|
+
/**
|
|
76
|
+
* The card schemes
|
|
77
|
+
* @type {Array<string>}
|
|
78
|
+
* @memberof MerchantAccountEntity
|
|
79
|
+
*/
|
|
80
|
+
cardSchemes: Array<MerchantAccountEntityCardSchemesEnum>;
|
|
81
|
+
/**
|
|
82
|
+
* The accepted currencies
|
|
83
|
+
* @type {Array<string>}
|
|
84
|
+
* @memberof MerchantAccountEntity
|
|
85
|
+
*/
|
|
86
|
+
currencies: Array<MerchantAccountEntityCurrenciesEnum>;
|
|
87
|
+
/**
|
|
88
|
+
* The accepted card types
|
|
89
|
+
* @type {Array<string>}
|
|
90
|
+
* @memberof MerchantAccountEntity
|
|
91
|
+
*/
|
|
92
|
+
cardTypes: Array<MerchantAccountEntityCardTypesEnum>;
|
|
93
|
+
/**
|
|
94
|
+
* The name of the merchant account
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof MerchantAccountEntity
|
|
97
|
+
*/
|
|
98
|
+
name?: string;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {Array<MerchantConnectorEntity>}
|
|
102
|
+
* @memberof MerchantAccountEntity
|
|
103
|
+
*/
|
|
104
|
+
connectors?: Array<MerchantConnectorEntity>;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* @export
|
|
108
|
+
*/
|
|
109
|
+
export declare const MerchantAccountEntityPspEnum: {
|
|
110
|
+
readonly Tsys: "TSYS";
|
|
111
|
+
readonly Nashville: "NASHVILLE";
|
|
112
|
+
readonly North: "NORTH";
|
|
113
|
+
readonly ChannelPayments: "CHANNEL_PAYMENTS";
|
|
114
|
+
};
|
|
115
|
+
export type MerchantAccountEntityPspEnum = typeof MerchantAccountEntityPspEnum[keyof typeof MerchantAccountEntityPspEnum];
|
|
116
|
+
/**
|
|
117
|
+
* @export
|
|
118
|
+
*/
|
|
119
|
+
export declare const MerchantAccountEntityMethodEnum: {
|
|
120
|
+
readonly Card: "CARD";
|
|
121
|
+
readonly Ach: "ACH";
|
|
122
|
+
};
|
|
123
|
+
export type MerchantAccountEntityMethodEnum = typeof MerchantAccountEntityMethodEnum[keyof typeof MerchantAccountEntityMethodEnum];
|
|
124
|
+
/**
|
|
125
|
+
* @export
|
|
126
|
+
*/
|
|
127
|
+
export declare const MerchantAccountEntityStatusEnum: {
|
|
128
|
+
readonly Pending: "PENDING";
|
|
129
|
+
readonly Active: "ACTIVE";
|
|
130
|
+
readonly Inactive: "INACTIVE";
|
|
131
|
+
readonly Suspended: "SUSPENDED";
|
|
132
|
+
readonly Closed: "CLOSED";
|
|
133
|
+
};
|
|
134
|
+
export type MerchantAccountEntityStatusEnum = typeof MerchantAccountEntityStatusEnum[keyof typeof MerchantAccountEntityStatusEnum];
|
|
135
|
+
/**
|
|
136
|
+
* @export
|
|
137
|
+
*/
|
|
138
|
+
export declare const MerchantAccountEntityCardSchemesEnum: {
|
|
139
|
+
readonly Visa: "VISA";
|
|
140
|
+
readonly Mastercard: "MASTERCARD";
|
|
141
|
+
readonly Amex: "AMEX";
|
|
142
|
+
readonly Discover: "DISCOVER";
|
|
143
|
+
readonly Jcb: "JCB";
|
|
144
|
+
readonly DinersClub: "DINERS_CLUB";
|
|
145
|
+
readonly Maestro: "MAESTRO";
|
|
146
|
+
};
|
|
147
|
+
export type MerchantAccountEntityCardSchemesEnum = typeof MerchantAccountEntityCardSchemesEnum[keyof typeof MerchantAccountEntityCardSchemesEnum];
|
|
148
|
+
/**
|
|
149
|
+
* @export
|
|
150
|
+
*/
|
|
151
|
+
export declare const MerchantAccountEntityCurrenciesEnum: {
|
|
152
|
+
readonly Usd: "USD";
|
|
153
|
+
readonly Aud: "AUD";
|
|
154
|
+
readonly Cad: "CAD";
|
|
155
|
+
};
|
|
156
|
+
export type MerchantAccountEntityCurrenciesEnum = typeof MerchantAccountEntityCurrenciesEnum[keyof typeof MerchantAccountEntityCurrenciesEnum];
|
|
157
|
+
/**
|
|
158
|
+
* @export
|
|
159
|
+
*/
|
|
160
|
+
export declare const MerchantAccountEntityCardTypesEnum: {
|
|
161
|
+
readonly Credit: "CREDIT";
|
|
162
|
+
readonly Debit: "DEBIT";
|
|
163
|
+
readonly Prepaid: "PREPAID";
|
|
164
|
+
};
|
|
165
|
+
export type MerchantAccountEntityCardTypesEnum = typeof MerchantAccountEntityCardTypesEnum[keyof typeof MerchantAccountEntityCardTypesEnum];
|
|
166
|
+
/**
|
|
167
|
+
* Check if a given object implements the MerchantAccountEntity interface.
|
|
168
|
+
*/
|
|
169
|
+
export declare function instanceOfMerchantAccountEntity(value: object): boolean;
|
|
170
|
+
export declare function MerchantAccountEntityFromJSON(json: any): MerchantAccountEntity;
|
|
171
|
+
export declare function MerchantAccountEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): MerchantAccountEntity;
|
|
172
|
+
export declare function MerchantAccountEntityToJSON(value?: MerchantAccountEntity | null): any;
|
|
@@ -8,22 +8,52 @@
|
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.MerchantAccountEntityToJSON = exports.MerchantAccountEntityFromJSONTyped = exports.MerchantAccountEntityFromJSON = exports.instanceOfMerchantAccountEntity = exports.
|
|
11
|
+
exports.MerchantAccountEntityToJSON = exports.MerchantAccountEntityFromJSONTyped = exports.MerchantAccountEntityFromJSON = exports.instanceOfMerchantAccountEntity = exports.MerchantAccountEntityCardTypesEnum = exports.MerchantAccountEntityCurrenciesEnum = exports.MerchantAccountEntityCardSchemesEnum = exports.MerchantAccountEntityStatusEnum = exports.MerchantAccountEntityMethodEnum = exports.MerchantAccountEntityPspEnum = void 0;
|
|
12
12
|
const runtime_1 = require("../runtime");
|
|
13
|
-
const
|
|
14
|
-
const
|
|
13
|
+
const MerchantAccountEntityCFee_1 = require("./MerchantAccountEntityCFee");
|
|
14
|
+
const MerchantConnectorEntity_1 = require("./MerchantConnectorEntity");
|
|
15
15
|
/**
|
|
16
16
|
* @export
|
|
17
17
|
*/
|
|
18
18
|
exports.MerchantAccountEntityPspEnum = {
|
|
19
19
|
Tsys: 'TSYS',
|
|
20
20
|
Nashville: 'NASHVILLE',
|
|
21
|
+
North: 'NORTH',
|
|
21
22
|
ChannelPayments: 'CHANNEL_PAYMENTS'
|
|
22
23
|
};
|
|
23
24
|
/**
|
|
24
25
|
* @export
|
|
25
26
|
*/
|
|
26
|
-
exports.
|
|
27
|
+
exports.MerchantAccountEntityMethodEnum = {
|
|
28
|
+
Card: 'CARD',
|
|
29
|
+
Ach: 'ACH'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
exports.MerchantAccountEntityStatusEnum = {
|
|
35
|
+
Pending: 'PENDING',
|
|
36
|
+
Active: 'ACTIVE',
|
|
37
|
+
Inactive: 'INACTIVE',
|
|
38
|
+
Suspended: 'SUSPENDED',
|
|
39
|
+
Closed: 'CLOSED'
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* @export
|
|
43
|
+
*/
|
|
44
|
+
exports.MerchantAccountEntityCardSchemesEnum = {
|
|
45
|
+
Visa: 'VISA',
|
|
46
|
+
Mastercard: 'MASTERCARD',
|
|
47
|
+
Amex: 'AMEX',
|
|
48
|
+
Discover: 'DISCOVER',
|
|
49
|
+
Jcb: 'JCB',
|
|
50
|
+
DinersClub: 'DINERS_CLUB',
|
|
51
|
+
Maestro: 'MAESTRO'
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* @export
|
|
55
|
+
*/
|
|
56
|
+
exports.MerchantAccountEntityCurrenciesEnum = {
|
|
27
57
|
Usd: 'USD',
|
|
28
58
|
Aud: 'AUD',
|
|
29
59
|
Cad: 'CAD'
|
|
@@ -31,23 +61,28 @@ exports.MerchantAccountEntityAcceptedCurrenciesEnum = {
|
|
|
31
61
|
/**
|
|
32
62
|
* @export
|
|
33
63
|
*/
|
|
34
|
-
exports.
|
|
35
|
-
|
|
36
|
-
|
|
64
|
+
exports.MerchantAccountEntityCardTypesEnum = {
|
|
65
|
+
Credit: 'CREDIT',
|
|
66
|
+
Debit: 'DEBIT',
|
|
67
|
+
Prepaid: 'PREPAID'
|
|
37
68
|
};
|
|
38
69
|
/**
|
|
39
70
|
* Check if a given object implements the MerchantAccountEntity interface.
|
|
40
71
|
*/
|
|
41
72
|
function instanceOfMerchantAccountEntity(value) {
|
|
42
73
|
let isInstance = true;
|
|
74
|
+
isInstance = isInstance && "id" in value;
|
|
43
75
|
isInstance = isInstance && "merchantAccountId" in value;
|
|
44
76
|
isInstance = isInstance && "issuedMid" in value;
|
|
45
77
|
isInstance = isInstance && "psp" in value;
|
|
46
|
-
isInstance = isInstance && "
|
|
47
|
-
isInstance = isInstance && "acceptedCurrencies" in value;
|
|
78
|
+
isInstance = isInstance && "cFee" in value;
|
|
48
79
|
isInstance = isInstance && "createdAt" in value;
|
|
49
80
|
isInstance = isInstance && "updatedAt" in value;
|
|
50
|
-
isInstance = isInstance && "
|
|
81
|
+
isInstance = isInstance && "method" in value;
|
|
82
|
+
isInstance = isInstance && "status" in value;
|
|
83
|
+
isInstance = isInstance && "cardSchemes" in value;
|
|
84
|
+
isInstance = isInstance && "currencies" in value;
|
|
85
|
+
isInstance = isInstance && "cardTypes" in value;
|
|
51
86
|
return isInstance;
|
|
52
87
|
}
|
|
53
88
|
exports.instanceOfMerchantAccountEntity = instanceOfMerchantAccountEntity;
|
|
@@ -60,16 +95,21 @@ function MerchantAccountEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
95
|
return json;
|
|
61
96
|
}
|
|
62
97
|
const typed = {
|
|
98
|
+
'id': json['id'],
|
|
63
99
|
'merchantAccountId': json['merchantAccountId'],
|
|
64
100
|
'merchantId': !(0, runtime_1.exists)(json, 'merchantId') ? undefined : json['merchantId'],
|
|
65
101
|
'issuedMid': json['issuedMid'],
|
|
66
102
|
'psp': json['psp'],
|
|
67
|
-
'
|
|
68
|
-
'acceptedCurrencies': json['acceptedCurrencies'],
|
|
103
|
+
'cFee': (0, MerchantAccountEntityCFee_1.MerchantAccountEntityCFeeFromJSON)(json['cFee']),
|
|
69
104
|
'createdAt': (new Date(json['createdAt'])),
|
|
70
105
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
71
|
-
'
|
|
72
|
-
'
|
|
106
|
+
'method': json['method'],
|
|
107
|
+
'status': json['status'],
|
|
108
|
+
'cardSchemes': json['cardSchemes'],
|
|
109
|
+
'currencies': json['currencies'],
|
|
110
|
+
'cardTypes': json['cardTypes'],
|
|
111
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
112
|
+
'connectors': !(0, runtime_1.exists)(json, 'connectors') ? undefined : (json['connectors'].map(MerchantConnectorEntity_1.MerchantConnectorEntityFromJSON)),
|
|
73
113
|
};
|
|
74
114
|
return (0, runtime_1.removeNullUndefined)(typed);
|
|
75
115
|
}
|
|
@@ -82,16 +122,21 @@ function MerchantAccountEntityToJSON(value) {
|
|
|
82
122
|
return null;
|
|
83
123
|
}
|
|
84
124
|
return {
|
|
125
|
+
'id': value.id,
|
|
85
126
|
'merchantAccountId': value.merchantAccountId,
|
|
86
127
|
'merchantId': value.merchantId,
|
|
87
128
|
'issuedMid': value.issuedMid,
|
|
88
129
|
'psp': value.psp,
|
|
89
|
-
'
|
|
90
|
-
'acceptedCurrencies': value.acceptedCurrencies,
|
|
130
|
+
'cFee': (0, MerchantAccountEntityCFee_1.MerchantAccountEntityCFeeToJSON)(value.cFee),
|
|
91
131
|
'createdAt': (value.createdAt.toISOString()),
|
|
92
132
|
'updatedAt': (value.updatedAt.toISOString()),
|
|
93
|
-
'
|
|
94
|
-
'
|
|
133
|
+
'method': value.method,
|
|
134
|
+
'status': value.status,
|
|
135
|
+
'cardSchemes': value.cardSchemes,
|
|
136
|
+
'currencies': value.currencies,
|
|
137
|
+
'cardTypes': value.cardTypes,
|
|
138
|
+
'name': value.name,
|
|
139
|
+
'connectors': value.connectors === undefined ? undefined : (value.connectors.map(MerchantConnectorEntity_1.MerchantConnectorEntityToJSON)),
|
|
95
140
|
};
|
|
96
141
|
}
|
|
97
142
|
exports.MerchantAccountEntityToJSON = MerchantAccountEntityToJSON;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Channel Payments API
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* The CFee details
|
|
9
|
+
* @export
|
|
10
|
+
* @interface MerchantAccountEntityCFee
|
|
11
|
+
*/
|
|
12
|
+
export interface MerchantAccountEntityCFee {
|
|
13
|
+
/**
|
|
14
|
+
* The type of the CFee
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof MerchantAccountEntityCFee
|
|
17
|
+
*/
|
|
18
|
+
type: MerchantAccountEntityCFeeTypeEnum;
|
|
19
|
+
/**
|
|
20
|
+
* The rate of the CFee as an integer
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof MerchantAccountEntityCFee
|
|
23
|
+
*/
|
|
24
|
+
rate: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
export declare const MerchantAccountEntityCFeeTypeEnum: {
|
|
30
|
+
readonly Percentage: "PERCENTAGE";
|
|
31
|
+
readonly Fixed: "FIXED";
|
|
32
|
+
};
|
|
33
|
+
export type MerchantAccountEntityCFeeTypeEnum = typeof MerchantAccountEntityCFeeTypeEnum[keyof typeof MerchantAccountEntityCFeeTypeEnum];
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the MerchantAccountEntityCFee interface.
|
|
36
|
+
*/
|
|
37
|
+
export declare function instanceOfMerchantAccountEntityCFee(value: object): boolean;
|
|
38
|
+
export declare function MerchantAccountEntityCFeeFromJSON(json: any): MerchantAccountEntityCFee;
|
|
39
|
+
export declare function MerchantAccountEntityCFeeFromJSONTyped(json: any, ignoreDiscriminator: boolean): MerchantAccountEntityCFee;
|
|
40
|
+
export declare function MerchantAccountEntityCFeeToJSON(value?: MerchantAccountEntityCFee | null): any;
|
package/dist/cjs/{src/models/MerchantAccountEntityCfee.js → models/MerchantAccountEntityCFee.js}
RENAMED
|
@@ -8,30 +8,30 @@
|
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
11
|
+
exports.MerchantAccountEntityCFeeToJSON = exports.MerchantAccountEntityCFeeFromJSONTyped = exports.MerchantAccountEntityCFeeFromJSON = exports.instanceOfMerchantAccountEntityCFee = exports.MerchantAccountEntityCFeeTypeEnum = void 0;
|
|
12
12
|
const runtime_1 = require("../runtime");
|
|
13
13
|
/**
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
|
-
exports.
|
|
16
|
+
exports.MerchantAccountEntityCFeeTypeEnum = {
|
|
17
17
|
Percentage: 'PERCENTAGE',
|
|
18
18
|
Fixed: 'FIXED'
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
|
-
* Check if a given object implements the
|
|
21
|
+
* Check if a given object implements the MerchantAccountEntityCFee interface.
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function instanceOfMerchantAccountEntityCFee(value) {
|
|
24
24
|
let isInstance = true;
|
|
25
25
|
isInstance = isInstance && "type" in value;
|
|
26
26
|
isInstance = isInstance && "rate" in value;
|
|
27
27
|
return isInstance;
|
|
28
28
|
}
|
|
29
|
-
exports.
|
|
30
|
-
function
|
|
31
|
-
return
|
|
29
|
+
exports.instanceOfMerchantAccountEntityCFee = instanceOfMerchantAccountEntityCFee;
|
|
30
|
+
function MerchantAccountEntityCFeeFromJSON(json) {
|
|
31
|
+
return MerchantAccountEntityCFeeFromJSONTyped(json, false);
|
|
32
32
|
}
|
|
33
|
-
exports.
|
|
34
|
-
function
|
|
33
|
+
exports.MerchantAccountEntityCFeeFromJSON = MerchantAccountEntityCFeeFromJSON;
|
|
34
|
+
function MerchantAccountEntityCFeeFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
35
|
if ((json === undefined) || (json === null)) {
|
|
36
36
|
return json;
|
|
37
37
|
}
|
|
@@ -41,8 +41,8 @@ function MerchantAccountEntityCfeeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
};
|
|
42
42
|
return (0, runtime_1.removeNullUndefined)(typed);
|
|
43
43
|
}
|
|
44
|
-
exports.
|
|
45
|
-
function
|
|
44
|
+
exports.MerchantAccountEntityCFeeFromJSONTyped = MerchantAccountEntityCFeeFromJSONTyped;
|
|
45
|
+
function MerchantAccountEntityCFeeToJSON(value) {
|
|
46
46
|
if (value === undefined) {
|
|
47
47
|
return undefined;
|
|
48
48
|
}
|
|
@@ -54,4 +54,4 @@ function MerchantAccountEntityCfeeToJSON(value) {
|
|
|
54
54
|
'rate': value.rate,
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
|
-
exports.
|
|
57
|
+
exports.MerchantAccountEntityCFeeToJSON = MerchantAccountEntityCFeeToJSON;
|