@channelpayments/node-sdk 1.28.2 → 1.37.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/dist/cjs/{src/apis → apis}/ChannelPaymentsApi.d.ts +12 -1
- package/dist/cjs/{src/apis → apis}/ChannelPaymentsApi.js +17 -7
- 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}/BuyerEntity.d.ts +12 -0
- package/dist/cjs/{src/models → models}/BuyerEntity.js +4 -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/mjs/{src/apis → apis}/ChannelPaymentsApi.d.ts +12 -1
- package/dist/mjs/{src/apis → apis}/ChannelPaymentsApi.js +17 -7
- 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}/BuyerEntity.d.ts +12 -0
- package/dist/mjs/{src/models → models}/BuyerEntity.js +4 -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/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 -57
- 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 -23
- /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}/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/cjs/{src/runtime.d.ts → runtime.d.ts} +0 -0
- /package/dist/cjs/{src/runtime.js → runtime.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}/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
- /package/dist/mjs/{src/runtime.d.ts → runtime.d.ts} +0 -0
- /package/dist/mjs/{src/runtime.js → runtime.js} +0 -0
|
@@ -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;
|
|
@@ -0,0 +1,92 @@
|
|
|
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 MerchantConnectorEntity
|
|
11
|
+
*/
|
|
12
|
+
export interface MerchantConnectorEntity {
|
|
13
|
+
/**
|
|
14
|
+
* The alphanumeric document ID
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof MerchantConnectorEntity
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* The alphanumeric ID of the merchant connector
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof MerchantConnectorEntity
|
|
23
|
+
*/
|
|
24
|
+
connectorId: string;
|
|
25
|
+
/**
|
|
26
|
+
* The connector issued ID
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof MerchantConnectorEntity
|
|
29
|
+
*/
|
|
30
|
+
issuedConnectorId: string;
|
|
31
|
+
/**
|
|
32
|
+
* The alphanumeric ID of the merchant account
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof MerchantConnectorEntity
|
|
35
|
+
*/
|
|
36
|
+
merchantAccountId: string;
|
|
37
|
+
/**
|
|
38
|
+
* The name of the connector
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof MerchantConnectorEntity
|
|
41
|
+
*/
|
|
42
|
+
connector: MerchantConnectorEntityConnectorEnum;
|
|
43
|
+
/**
|
|
44
|
+
* The date the merchant connector was created
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof MerchantConnectorEntity
|
|
47
|
+
*/
|
|
48
|
+
createdAt: Date;
|
|
49
|
+
/**
|
|
50
|
+
* The date the merchant connector was last updated
|
|
51
|
+
* @type {Date}
|
|
52
|
+
* @memberof MerchantConnectorEntity
|
|
53
|
+
*/
|
|
54
|
+
updatedAt: Date;
|
|
55
|
+
/**
|
|
56
|
+
* The type of the merchant connector
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof MerchantConnectorEntity
|
|
59
|
+
*/
|
|
60
|
+
type: MerchantConnectorEntityTypeEnum;
|
|
61
|
+
/**
|
|
62
|
+
* The name of the merchant connector
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof MerchantConnectorEntity
|
|
65
|
+
*/
|
|
66
|
+
name?: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @export
|
|
70
|
+
*/
|
|
71
|
+
export declare const MerchantConnectorEntityConnectorEnum: {
|
|
72
|
+
readonly Epay: "EPAY";
|
|
73
|
+
readonly Nmi: "NMI";
|
|
74
|
+
readonly AuthorizeNet: "AUTHORIZE_NET";
|
|
75
|
+
readonly ChannelPayments: "CHANNEL_PAYMENTS";
|
|
76
|
+
};
|
|
77
|
+
export type MerchantConnectorEntityConnectorEnum = typeof MerchantConnectorEntityConnectorEnum[keyof typeof MerchantConnectorEntityConnectorEnum];
|
|
78
|
+
/**
|
|
79
|
+
* @export
|
|
80
|
+
*/
|
|
81
|
+
export declare const MerchantConnectorEntityTypeEnum: {
|
|
82
|
+
readonly Gateway: "GATEWAY";
|
|
83
|
+
readonly Terminal: "TERMINAL";
|
|
84
|
+
};
|
|
85
|
+
export type MerchantConnectorEntityTypeEnum = typeof MerchantConnectorEntityTypeEnum[keyof typeof MerchantConnectorEntityTypeEnum];
|
|
86
|
+
/**
|
|
87
|
+
* Check if a given object implements the MerchantConnectorEntity interface.
|
|
88
|
+
*/
|
|
89
|
+
export declare function instanceOfMerchantConnectorEntity(value: object): boolean;
|
|
90
|
+
export declare function MerchantConnectorEntityFromJSON(json: any): MerchantConnectorEntity;
|
|
91
|
+
export declare function MerchantConnectorEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): MerchantConnectorEntity;
|
|
92
|
+
export declare function MerchantConnectorEntityToJSON(value?: MerchantConnectorEntity | null): any;
|
|
@@ -0,0 +1,86 @@
|
|
|
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.MerchantConnectorEntityToJSON = exports.MerchantConnectorEntityFromJSONTyped = exports.MerchantConnectorEntityFromJSON = exports.instanceOfMerchantConnectorEntity = exports.MerchantConnectorEntityTypeEnum = exports.MerchantConnectorEntityConnectorEnum = void 0;
|
|
12
|
+
const runtime_1 = require("../runtime");
|
|
13
|
+
/**
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
exports.MerchantConnectorEntityConnectorEnum = {
|
|
17
|
+
Epay: 'EPAY',
|
|
18
|
+
Nmi: 'NMI',
|
|
19
|
+
AuthorizeNet: 'AUTHORIZE_NET',
|
|
20
|
+
ChannelPayments: 'CHANNEL_PAYMENTS'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.MerchantConnectorEntityTypeEnum = {
|
|
26
|
+
Gateway: 'GATEWAY',
|
|
27
|
+
Terminal: 'TERMINAL'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the MerchantConnectorEntity interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfMerchantConnectorEntity(value) {
|
|
33
|
+
let isInstance = true;
|
|
34
|
+
isInstance = isInstance && "id" in value;
|
|
35
|
+
isInstance = isInstance && "connectorId" in value;
|
|
36
|
+
isInstance = isInstance && "issuedConnectorId" in value;
|
|
37
|
+
isInstance = isInstance && "merchantAccountId" in value;
|
|
38
|
+
isInstance = isInstance && "connector" in value;
|
|
39
|
+
isInstance = isInstance && "createdAt" in value;
|
|
40
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
41
|
+
isInstance = isInstance && "type" in value;
|
|
42
|
+
return isInstance;
|
|
43
|
+
}
|
|
44
|
+
exports.instanceOfMerchantConnectorEntity = instanceOfMerchantConnectorEntity;
|
|
45
|
+
function MerchantConnectorEntityFromJSON(json) {
|
|
46
|
+
return MerchantConnectorEntityFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
exports.MerchantConnectorEntityFromJSON = MerchantConnectorEntityFromJSON;
|
|
49
|
+
function MerchantConnectorEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if ((json === undefined) || (json === null)) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
const typed = {
|
|
54
|
+
'id': json['id'],
|
|
55
|
+
'connectorId': json['connectorId'],
|
|
56
|
+
'issuedConnectorId': json['issuedConnectorId'],
|
|
57
|
+
'merchantAccountId': json['merchantAccountId'],
|
|
58
|
+
'connector': json['connector'],
|
|
59
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
60
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
61
|
+
'type': json['type'],
|
|
62
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
63
|
+
};
|
|
64
|
+
return (0, runtime_1.removeNullUndefined)(typed);
|
|
65
|
+
}
|
|
66
|
+
exports.MerchantConnectorEntityFromJSONTyped = MerchantConnectorEntityFromJSONTyped;
|
|
67
|
+
function MerchantConnectorEntityToJSON(value) {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'id': value.id,
|
|
76
|
+
'connectorId': value.connectorId,
|
|
77
|
+
'issuedConnectorId': value.issuedConnectorId,
|
|
78
|
+
'merchantAccountId': value.merchantAccountId,
|
|
79
|
+
'connector': value.connector,
|
|
80
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
81
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
82
|
+
'type': value.type,
|
|
83
|
+
'name': value.name,
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
exports.MerchantConnectorEntityToJSON = MerchantConnectorEntityToJSON;
|
|
@@ -12,6 +12,12 @@ import type { MerchantEntityAddress } from './MerchantEntityAddress';
|
|
|
12
12
|
* @interface MerchantEntity
|
|
13
13
|
*/
|
|
14
14
|
export interface MerchantEntity {
|
|
15
|
+
/**
|
|
16
|
+
* The alphanumeric document ID
|
|
17
|
+
* @type {string}
|
|
18
|
+
* @memberof MerchantEntity
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
15
21
|
/**
|
|
16
22
|
* The alphanumeric merchant ID
|
|
17
23
|
* @type {string}
|
|
@@ -17,6 +17,7 @@ const MerchantEntityAddress_1 = require("./MerchantEntityAddress");
|
|
|
17
17
|
*/
|
|
18
18
|
function instanceOfMerchantEntity(value) {
|
|
19
19
|
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "id" in value;
|
|
20
21
|
isInstance = isInstance && "merchantId" in value;
|
|
21
22
|
isInstance = isInstance && "name" in value;
|
|
22
23
|
isInstance = isInstance && "address" in value;
|
|
@@ -36,6 +37,7 @@ function MerchantEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
37
|
return json;
|
|
37
38
|
}
|
|
38
39
|
const typed = {
|
|
40
|
+
'id': json['id'],
|
|
39
41
|
'merchantId': json['merchantId'],
|
|
40
42
|
'name': json['name'],
|
|
41
43
|
'address': (0, MerchantEntityAddress_1.MerchantEntityAddressFromJSON)(json['address']),
|
|
@@ -59,6 +61,7 @@ function MerchantEntityToJSON(value) {
|
|
|
59
61
|
return null;
|
|
60
62
|
}
|
|
61
63
|
return {
|
|
64
|
+
'id': value.id,
|
|
62
65
|
'merchantId': value.merchantId,
|
|
63
66
|
'name': value.name,
|
|
64
67
|
'address': (0, MerchantEntityAddress_1.MerchantEntityAddressToJSON)(value.address),
|