@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
|
@@ -12,6 +12,12 @@ import type { PaymentsBuyerEntity } from './PaymentsBuyerEntity';
|
|
|
12
12
|
* @interface TransactionEntity
|
|
13
13
|
*/
|
|
14
14
|
export interface TransactionEntity {
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @type {string}
|
|
18
|
+
* @memberof TransactionEntity
|
|
19
|
+
*/
|
|
20
|
+
transactionIntegrationId: string;
|
|
15
21
|
/**
|
|
16
22
|
*
|
|
17
23
|
* @type {string}
|
|
@@ -42,6 +48,24 @@ export interface TransactionEntity {
|
|
|
42
48
|
* @memberof TransactionEntity
|
|
43
49
|
*/
|
|
44
50
|
amount: number;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {number}
|
|
54
|
+
* @memberof TransactionEntity
|
|
55
|
+
*/
|
|
56
|
+
netAmount: number;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {number}
|
|
60
|
+
* @memberof TransactionEntity
|
|
61
|
+
*/
|
|
62
|
+
fee: number;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {Array<object>}
|
|
66
|
+
* @memberof TransactionEntity
|
|
67
|
+
*/
|
|
68
|
+
feeDetails?: Array<object>;
|
|
45
69
|
/**
|
|
46
70
|
*
|
|
47
71
|
* @type {number}
|
|
@@ -156,6 +180,12 @@ export interface TransactionEntity {
|
|
|
156
180
|
* @memberof TransactionEntity
|
|
157
181
|
*/
|
|
158
182
|
buyerId?: string;
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @type {string}
|
|
186
|
+
* @memberof TransactionEntity
|
|
187
|
+
*/
|
|
188
|
+
sECCode?: string;
|
|
159
189
|
}
|
|
160
190
|
/**
|
|
161
191
|
* @export
|
|
@@ -170,6 +200,11 @@ export declare const TransactionEntityStatusEnum: {
|
|
|
170
200
|
readonly Captured: "captured";
|
|
171
201
|
readonly VoidPending: "voidPending";
|
|
172
202
|
readonly Voided: "voided";
|
|
203
|
+
readonly Held: "held";
|
|
204
|
+
readonly Submitted: "submitted";
|
|
205
|
+
readonly Transmitted: "transmitted";
|
|
206
|
+
readonly Settled: "settled";
|
|
207
|
+
readonly Returned: "returned";
|
|
173
208
|
};
|
|
174
209
|
export type TransactionEntityStatusEnum = typeof TransactionEntityStatusEnum[keyof typeof TransactionEntityStatusEnum];
|
|
175
210
|
/**
|
|
@@ -178,6 +213,8 @@ export type TransactionEntityStatusEnum = typeof TransactionEntityStatusEnum[key
|
|
|
178
213
|
export declare const TransactionEntityIntentEnum: {
|
|
179
214
|
readonly Capture: "capture";
|
|
180
215
|
readonly Authorize: "authorize";
|
|
216
|
+
readonly Debit: "debit";
|
|
217
|
+
readonly Credit: "credit";
|
|
181
218
|
};
|
|
182
219
|
export type TransactionEntityIntentEnum = typeof TransactionEntityIntentEnum[keyof typeof TransactionEntityIntentEnum];
|
|
183
220
|
/**
|
|
@@ -21,14 +21,21 @@ export const TransactionEntityStatusEnum = {
|
|
|
21
21
|
CapturePending: 'capturePending',
|
|
22
22
|
Captured: 'captured',
|
|
23
23
|
VoidPending: 'voidPending',
|
|
24
|
-
Voided: 'voided'
|
|
24
|
+
Voided: 'voided',
|
|
25
|
+
Held: 'held',
|
|
26
|
+
Submitted: 'submitted',
|
|
27
|
+
Transmitted: 'transmitted',
|
|
28
|
+
Settled: 'settled',
|
|
29
|
+
Returned: 'returned'
|
|
25
30
|
};
|
|
26
31
|
/**
|
|
27
32
|
* @export
|
|
28
33
|
*/
|
|
29
34
|
export const TransactionEntityIntentEnum = {
|
|
30
35
|
Capture: 'capture',
|
|
31
|
-
Authorize: 'authorize'
|
|
36
|
+
Authorize: 'authorize',
|
|
37
|
+
Debit: 'debit',
|
|
38
|
+
Credit: 'credit'
|
|
32
39
|
};
|
|
33
40
|
/**
|
|
34
41
|
* @export
|
|
@@ -43,11 +50,14 @@ export const TransactionEntityCurrencyEnum = {
|
|
|
43
50
|
*/
|
|
44
51
|
export function instanceOfTransactionEntity(value) {
|
|
45
52
|
let isInstance = true;
|
|
53
|
+
isInstance = isInstance && "transactionIntegrationId" in value;
|
|
46
54
|
isInstance = isInstance && "transactionId" in value;
|
|
47
55
|
isInstance = isInstance && "merchantId" in value;
|
|
48
56
|
isInstance = isInstance && "status" in value;
|
|
49
57
|
isInstance = isInstance && "intent" in value;
|
|
50
58
|
isInstance = isInstance && "amount" in value;
|
|
59
|
+
isInstance = isInstance && "netAmount" in value;
|
|
60
|
+
isInstance = isInstance && "fee" in value;
|
|
51
61
|
return isInstance;
|
|
52
62
|
}
|
|
53
63
|
export function TransactionEntityFromJSON(json) {
|
|
@@ -58,11 +68,15 @@ export function TransactionEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
68
|
return json;
|
|
59
69
|
}
|
|
60
70
|
const typed = {
|
|
71
|
+
'transactionIntegrationId': json['transactionIntegrationId'],
|
|
61
72
|
'transactionId': json['transactionId'],
|
|
62
73
|
'merchantId': json['merchantId'],
|
|
63
74
|
'status': json['status'],
|
|
64
75
|
'intent': json['intent'],
|
|
65
76
|
'amount': json['amount'],
|
|
77
|
+
'netAmount': json['netAmount'],
|
|
78
|
+
'fee': json['fee'],
|
|
79
|
+
'feeDetails': !exists(json, 'feeDetails') ? undefined : json['feeDetails'],
|
|
66
80
|
'capturedAmount': !exists(json, 'capturedAmount') ? undefined : json['capturedAmount'],
|
|
67
81
|
'refundedAmount': !exists(json, 'refundedAmount') ? undefined : json['refundedAmount'],
|
|
68
82
|
'currency': !exists(json, 'currency') ? undefined : json['currency'],
|
|
@@ -82,6 +96,7 @@ export function TransactionEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
82
96
|
'voidedAt': !exists(json, 'voidedAt') ? undefined : (new Date(json['voidedAt'])),
|
|
83
97
|
'externalTransactionId': !exists(json, 'externalTransactionId') ? undefined : json['externalTransactionId'],
|
|
84
98
|
'buyerId': !exists(json, 'buyerId') ? undefined : json['buyerId'],
|
|
99
|
+
'sECCode': !exists(json, 'SECCode') ? undefined : json['SECCode'],
|
|
85
100
|
};
|
|
86
101
|
return removeNullUndefined(typed);
|
|
87
102
|
}
|
|
@@ -93,11 +108,15 @@ export function TransactionEntityToJSON(value) {
|
|
|
93
108
|
return null;
|
|
94
109
|
}
|
|
95
110
|
return {
|
|
111
|
+
'transactionIntegrationId': value.transactionIntegrationId,
|
|
96
112
|
'transactionId': value.transactionId,
|
|
97
113
|
'merchantId': value.merchantId,
|
|
98
114
|
'status': value.status,
|
|
99
115
|
'intent': value.intent,
|
|
100
116
|
'amount': value.amount,
|
|
117
|
+
'netAmount': value.netAmount,
|
|
118
|
+
'fee': value.fee,
|
|
119
|
+
'feeDetails': value.feeDetails,
|
|
101
120
|
'capturedAmount': value.capturedAmount,
|
|
102
121
|
'refundedAmount': value.refundedAmount,
|
|
103
122
|
'currency': value.currency,
|
|
@@ -117,5 +136,6 @@ export function TransactionEntityToJSON(value) {
|
|
|
117
136
|
'voidedAt': value.voidedAt === undefined ? undefined : (value.voidedAt.toISOString()),
|
|
118
137
|
'externalTransactionId': value.externalTransactionId,
|
|
119
138
|
'buyerId': value.buyerId,
|
|
139
|
+
'SECCode': value.sECCode,
|
|
120
140
|
};
|
|
121
141
|
}
|
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export interface UpdateCFeeDto {
|
|
13
13
|
/**
|
|
14
|
-
* The type of the
|
|
14
|
+
* The type of the cFee
|
|
15
15
|
* @type {string}
|
|
16
16
|
* @memberof UpdateCFeeDto
|
|
17
17
|
*/
|
|
18
|
-
type
|
|
18
|
+
type: UpdateCFeeDtoTypeEnum;
|
|
19
19
|
/**
|
|
20
|
-
* The rate of the
|
|
20
|
+
* The rate of the cFee as an integer
|
|
21
21
|
* @type {number}
|
|
22
22
|
* @memberof UpdateCFeeDto
|
|
23
23
|
*/
|
|
24
|
-
rate
|
|
24
|
+
rate: number;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* @export
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
|
-
import {
|
|
9
|
+
import { removeNullUndefined } from '../runtime';
|
|
10
10
|
/**
|
|
11
11
|
* @export
|
|
12
12
|
*/
|
|
@@ -19,6 +19,8 @@ export const UpdateCFeeDtoTypeEnum = {
|
|
|
19
19
|
*/
|
|
20
20
|
export function instanceOfUpdateCFeeDto(value) {
|
|
21
21
|
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "type" in value;
|
|
23
|
+
isInstance = isInstance && "rate" in value;
|
|
22
24
|
return isInstance;
|
|
23
25
|
}
|
|
24
26
|
export function UpdateCFeeDtoFromJSON(json) {
|
|
@@ -29,8 +31,8 @@ export function UpdateCFeeDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
31
|
return json;
|
|
30
32
|
}
|
|
31
33
|
const typed = {
|
|
32
|
-
'type':
|
|
33
|
-
'rate':
|
|
34
|
+
'type': json['type'],
|
|
35
|
+
'rate': json['rate'],
|
|
34
36
|
};
|
|
35
37
|
return removeNullUndefined(typed);
|
|
36
38
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { UpdateMerchantAccountDtoCFee } from './UpdateMerchantAccountDtoCFee';
|
|
8
8
|
/**
|
|
9
9
|
*
|
|
10
10
|
* @export
|
|
@@ -16,19 +16,31 @@ export interface UpdateMerchantAccountDto {
|
|
|
16
16
|
* @type {string}
|
|
17
17
|
* @memberof UpdateMerchantAccountDto
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
method?: UpdateMerchantAccountDtoMethodEnum;
|
|
20
20
|
/**
|
|
21
21
|
* The payment service provider
|
|
22
22
|
* @type {string}
|
|
23
23
|
* @memberof UpdateMerchantAccountDto
|
|
24
24
|
*/
|
|
25
25
|
psp?: UpdateMerchantAccountDtoPspEnum;
|
|
26
|
+
/**
|
|
27
|
+
* The accepted card types
|
|
28
|
+
* @type {Array<string>}
|
|
29
|
+
* @memberof UpdateMerchantAccountDto
|
|
30
|
+
*/
|
|
31
|
+
cardTypes?: Array<UpdateMerchantAccountDtoCardTypesEnum>;
|
|
32
|
+
/**
|
|
33
|
+
* The accepted card schemes
|
|
34
|
+
* @type {Array<string>}
|
|
35
|
+
* @memberof UpdateMerchantAccountDto
|
|
36
|
+
*/
|
|
37
|
+
cardSchemes?: Array<UpdateMerchantAccountDtoCardSchemesEnum>;
|
|
26
38
|
/**
|
|
27
39
|
* The accepted currencies
|
|
28
40
|
* @type {Array<string>}
|
|
29
41
|
* @memberof UpdateMerchantAccountDto
|
|
30
42
|
*/
|
|
31
|
-
|
|
43
|
+
currencies?: Array<UpdateMerchantAccountDtoCurrenciesEnum>;
|
|
32
44
|
/**
|
|
33
45
|
* The MCC (Merchant Category Code)
|
|
34
46
|
* @type {string}
|
|
@@ -67,37 +79,60 @@ export interface UpdateMerchantAccountDto {
|
|
|
67
79
|
merchantAccountId: string;
|
|
68
80
|
/**
|
|
69
81
|
*
|
|
70
|
-
* @type {
|
|
82
|
+
* @type {UpdateMerchantAccountDtoCFee}
|
|
71
83
|
* @memberof UpdateMerchantAccountDto
|
|
72
84
|
*/
|
|
73
|
-
|
|
85
|
+
cFee?: UpdateMerchantAccountDtoCFee;
|
|
74
86
|
}
|
|
75
87
|
/**
|
|
76
88
|
* @export
|
|
77
89
|
*/
|
|
78
|
-
export declare const
|
|
90
|
+
export declare const UpdateMerchantAccountDtoMethodEnum: {
|
|
79
91
|
readonly Card: "CARD";
|
|
80
92
|
readonly Ach: "ACH";
|
|
81
93
|
};
|
|
82
|
-
export type
|
|
94
|
+
export type UpdateMerchantAccountDtoMethodEnum = typeof UpdateMerchantAccountDtoMethodEnum[keyof typeof UpdateMerchantAccountDtoMethodEnum];
|
|
83
95
|
/**
|
|
84
96
|
* @export
|
|
85
97
|
*/
|
|
86
98
|
export declare const UpdateMerchantAccountDtoPspEnum: {
|
|
87
99
|
readonly Tsys: "TSYS";
|
|
88
100
|
readonly Nashville: "NASHVILLE";
|
|
101
|
+
readonly North: "NORTH";
|
|
89
102
|
readonly ChannelPayments: "CHANNEL_PAYMENTS";
|
|
90
103
|
};
|
|
91
104
|
export type UpdateMerchantAccountDtoPspEnum = typeof UpdateMerchantAccountDtoPspEnum[keyof typeof UpdateMerchantAccountDtoPspEnum];
|
|
92
105
|
/**
|
|
93
106
|
* @export
|
|
94
107
|
*/
|
|
95
|
-
export declare const
|
|
108
|
+
export declare const UpdateMerchantAccountDtoCardTypesEnum: {
|
|
109
|
+
readonly Credit: "CREDIT";
|
|
110
|
+
readonly Debit: "DEBIT";
|
|
111
|
+
readonly Prepaid: "PREPAID";
|
|
112
|
+
};
|
|
113
|
+
export type UpdateMerchantAccountDtoCardTypesEnum = typeof UpdateMerchantAccountDtoCardTypesEnum[keyof typeof UpdateMerchantAccountDtoCardTypesEnum];
|
|
114
|
+
/**
|
|
115
|
+
* @export
|
|
116
|
+
*/
|
|
117
|
+
export declare const UpdateMerchantAccountDtoCardSchemesEnum: {
|
|
118
|
+
readonly Visa: "VISA";
|
|
119
|
+
readonly Mastercard: "MASTERCARD";
|
|
120
|
+
readonly Amex: "AMEX";
|
|
121
|
+
readonly Discover: "DISCOVER";
|
|
122
|
+
readonly Jcb: "JCB";
|
|
123
|
+
readonly DinersClub: "DINERS_CLUB";
|
|
124
|
+
readonly Maestro: "MAESTRO";
|
|
125
|
+
};
|
|
126
|
+
export type UpdateMerchantAccountDtoCardSchemesEnum = typeof UpdateMerchantAccountDtoCardSchemesEnum[keyof typeof UpdateMerchantAccountDtoCardSchemesEnum];
|
|
127
|
+
/**
|
|
128
|
+
* @export
|
|
129
|
+
*/
|
|
130
|
+
export declare const UpdateMerchantAccountDtoCurrenciesEnum: {
|
|
96
131
|
readonly Usd: "USD";
|
|
97
132
|
readonly Aud: "AUD";
|
|
98
133
|
readonly Cad: "CAD";
|
|
99
134
|
};
|
|
100
|
-
export type
|
|
135
|
+
export type UpdateMerchantAccountDtoCurrenciesEnum = typeof UpdateMerchantAccountDtoCurrenciesEnum[keyof typeof UpdateMerchantAccountDtoCurrenciesEnum];
|
|
101
136
|
/**
|
|
102
137
|
* Check if a given object implements the UpdateMerchantAccountDto interface.
|
|
103
138
|
*/
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
9
|
import { exists, removeNullUndefined } from '../runtime';
|
|
10
|
-
import {
|
|
10
|
+
import { UpdateMerchantAccountDtoCFeeFromJSON, UpdateMerchantAccountDtoCFeeToJSON, } from './UpdateMerchantAccountDtoCFee';
|
|
11
11
|
/**
|
|
12
12
|
* @export
|
|
13
13
|
*/
|
|
14
|
-
export const
|
|
14
|
+
export const UpdateMerchantAccountDtoMethodEnum = {
|
|
15
15
|
Card: 'CARD',
|
|
16
16
|
Ach: 'ACH'
|
|
17
17
|
};
|
|
@@ -21,12 +21,33 @@ export const UpdateMerchantAccountDtoPaymentMethodEnum = {
|
|
|
21
21
|
export const UpdateMerchantAccountDtoPspEnum = {
|
|
22
22
|
Tsys: 'TSYS',
|
|
23
23
|
Nashville: 'NASHVILLE',
|
|
24
|
+
North: 'NORTH',
|
|
24
25
|
ChannelPayments: 'CHANNEL_PAYMENTS'
|
|
25
26
|
};
|
|
26
27
|
/**
|
|
27
28
|
* @export
|
|
28
29
|
*/
|
|
29
|
-
export const
|
|
30
|
+
export const UpdateMerchantAccountDtoCardTypesEnum = {
|
|
31
|
+
Credit: 'CREDIT',
|
|
32
|
+
Debit: 'DEBIT',
|
|
33
|
+
Prepaid: 'PREPAID'
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @export
|
|
37
|
+
*/
|
|
38
|
+
export const UpdateMerchantAccountDtoCardSchemesEnum = {
|
|
39
|
+
Visa: 'VISA',
|
|
40
|
+
Mastercard: 'MASTERCARD',
|
|
41
|
+
Amex: 'AMEX',
|
|
42
|
+
Discover: 'DISCOVER',
|
|
43
|
+
Jcb: 'JCB',
|
|
44
|
+
DinersClub: 'DINERS_CLUB',
|
|
45
|
+
Maestro: 'MAESTRO'
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* @export
|
|
49
|
+
*/
|
|
50
|
+
export const UpdateMerchantAccountDtoCurrenciesEnum = {
|
|
30
51
|
Usd: 'USD',
|
|
31
52
|
Aud: 'AUD',
|
|
32
53
|
Cad: 'CAD'
|
|
@@ -47,16 +68,18 @@ export function UpdateMerchantAccountDtoFromJSONTyped(json, ignoreDiscriminator)
|
|
|
47
68
|
return json;
|
|
48
69
|
}
|
|
49
70
|
const typed = {
|
|
50
|
-
'
|
|
71
|
+
'method': !exists(json, 'method') ? undefined : json['method'],
|
|
51
72
|
'psp': !exists(json, 'psp') ? undefined : json['psp'],
|
|
52
|
-
'
|
|
73
|
+
'cardTypes': !exists(json, 'cardTypes') ? undefined : json['cardTypes'],
|
|
74
|
+
'cardSchemes': !exists(json, 'cardSchemes') ? undefined : json['cardSchemes'],
|
|
75
|
+
'currencies': !exists(json, 'currencies') ? undefined : json['currencies'],
|
|
53
76
|
'mcc': !exists(json, 'mcc') ? undefined : json['mcc'],
|
|
54
77
|
'bin': !exists(json, 'bin') ? undefined : json['bin'],
|
|
55
78
|
'chain': !exists(json, 'chain') ? undefined : json['chain'],
|
|
56
79
|
'store': !exists(json, 'store') ? undefined : json['store'],
|
|
57
80
|
'agent': !exists(json, 'agent') ? undefined : json['agent'],
|
|
58
81
|
'merchantAccountId': json['merchantAccountId'],
|
|
59
|
-
'
|
|
82
|
+
'cFee': !exists(json, 'cFee') ? undefined : UpdateMerchantAccountDtoCFeeFromJSON(json['cFee']),
|
|
60
83
|
};
|
|
61
84
|
return removeNullUndefined(typed);
|
|
62
85
|
}
|
|
@@ -68,15 +91,17 @@ export function UpdateMerchantAccountDtoToJSON(value) {
|
|
|
68
91
|
return null;
|
|
69
92
|
}
|
|
70
93
|
return {
|
|
71
|
-
'
|
|
94
|
+
'method': value.method,
|
|
72
95
|
'psp': value.psp,
|
|
73
|
-
'
|
|
96
|
+
'cardTypes': value.cardTypes,
|
|
97
|
+
'cardSchemes': value.cardSchemes,
|
|
98
|
+
'currencies': value.currencies,
|
|
74
99
|
'mcc': value.mcc,
|
|
75
100
|
'bin': value.bin,
|
|
76
101
|
'chain': value.chain,
|
|
77
102
|
'store': value.store,
|
|
78
103
|
'agent': value.agent,
|
|
79
104
|
'merchantAccountId': value.merchantAccountId,
|
|
80
|
-
'
|
|
105
|
+
'cFee': UpdateMerchantAccountDtoCFeeToJSON(value.cFee),
|
|
81
106
|
};
|
|
82
107
|
}
|
|
@@ -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 updated CFee (Commission Fee) for the merchant account
|
|
9
|
+
* @export
|
|
10
|
+
* @interface UpdateMerchantAccountDtoCFee
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateMerchantAccountDtoCFee {
|
|
13
|
+
/**
|
|
14
|
+
* The type of the cFee
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof UpdateMerchantAccountDtoCFee
|
|
17
|
+
*/
|
|
18
|
+
type: UpdateMerchantAccountDtoCFeeTypeEnum;
|
|
19
|
+
/**
|
|
20
|
+
* The rate of the cFee as an integer
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof UpdateMerchantAccountDtoCFee
|
|
23
|
+
*/
|
|
24
|
+
rate: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
export declare const UpdateMerchantAccountDtoCFeeTypeEnum: {
|
|
30
|
+
readonly Percentage: "PERCENTAGE";
|
|
31
|
+
readonly Fixed: "FIXED";
|
|
32
|
+
};
|
|
33
|
+
export type UpdateMerchantAccountDtoCFeeTypeEnum = typeof UpdateMerchantAccountDtoCFeeTypeEnum[keyof typeof UpdateMerchantAccountDtoCFeeTypeEnum];
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the UpdateMerchantAccountDtoCFee interface.
|
|
36
|
+
*/
|
|
37
|
+
export declare function instanceOfUpdateMerchantAccountDtoCFee(value: object): boolean;
|
|
38
|
+
export declare function UpdateMerchantAccountDtoCFeeFromJSON(json: any): UpdateMerchantAccountDtoCFee;
|
|
39
|
+
export declare function UpdateMerchantAccountDtoCFeeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateMerchantAccountDtoCFee;
|
|
40
|
+
export declare function UpdateMerchantAccountDtoCFeeToJSON(value?: UpdateMerchantAccountDtoCFee | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Channel Payments API
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
import { removeNullUndefined } from '../runtime';
|
|
10
|
+
/**
|
|
11
|
+
* @export
|
|
12
|
+
*/
|
|
13
|
+
export const UpdateMerchantAccountDtoCFeeTypeEnum = {
|
|
14
|
+
Percentage: 'PERCENTAGE',
|
|
15
|
+
Fixed: 'FIXED'
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the UpdateMerchantAccountDtoCFee interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfUpdateMerchantAccountDtoCFee(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "type" in value;
|
|
23
|
+
isInstance = isInstance && "rate" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
export function UpdateMerchantAccountDtoCFeeFromJSON(json) {
|
|
27
|
+
return UpdateMerchantAccountDtoCFeeFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function UpdateMerchantAccountDtoCFeeFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if ((json === undefined) || (json === null)) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
const typed = {
|
|
34
|
+
'type': json['type'],
|
|
35
|
+
'rate': json['rate'],
|
|
36
|
+
};
|
|
37
|
+
return removeNullUndefined(typed);
|
|
38
|
+
}
|
|
39
|
+
export function UpdateMerchantAccountDtoCFeeToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'type': value.type,
|
|
48
|
+
'rate': value.rate,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Channel Payments API
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
import type { CreateMerchantRoutingFlowRuleWithoutIdDtoConditions } from './CreateMerchantRoutingFlowRuleWithoutIdDtoConditions';
|
|
8
|
+
import type { CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors } from './CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors';
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @export
|
|
12
|
+
* @interface UpdateMerchantRoutingFlowRuleDto
|
|
13
|
+
*/
|
|
14
|
+
export interface UpdateMerchantRoutingFlowRuleDto {
|
|
15
|
+
/**
|
|
16
|
+
* The name for the rule
|
|
17
|
+
* @type {string}
|
|
18
|
+
* @memberof UpdateMerchantRoutingFlowRuleDto
|
|
19
|
+
*/
|
|
20
|
+
name?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The type of action for the rule
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof UpdateMerchantRoutingFlowRuleDto
|
|
25
|
+
*/
|
|
26
|
+
actionType?: UpdateMerchantRoutingFlowRuleDtoActionTypeEnum;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors}
|
|
30
|
+
* @memberof UpdateMerchantRoutingFlowRuleDto
|
|
31
|
+
*/
|
|
32
|
+
connectors?: CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {CreateMerchantRoutingFlowRuleWithoutIdDtoConditions}
|
|
36
|
+
* @memberof UpdateMerchantRoutingFlowRuleDto
|
|
37
|
+
*/
|
|
38
|
+
conditions?: CreateMerchantRoutingFlowRuleWithoutIdDtoConditions;
|
|
39
|
+
/**
|
|
40
|
+
* The ID for the rule
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof UpdateMerchantRoutingFlowRuleDto
|
|
43
|
+
*/
|
|
44
|
+
routingRuleId: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @export
|
|
48
|
+
*/
|
|
49
|
+
export declare const UpdateMerchantRoutingFlowRuleDtoActionTypeEnum: {
|
|
50
|
+
readonly Route: "route";
|
|
51
|
+
readonly Decline: "decline";
|
|
52
|
+
};
|
|
53
|
+
export type UpdateMerchantRoutingFlowRuleDtoActionTypeEnum = typeof UpdateMerchantRoutingFlowRuleDtoActionTypeEnum[keyof typeof UpdateMerchantRoutingFlowRuleDtoActionTypeEnum];
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the UpdateMerchantRoutingFlowRuleDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export declare function instanceOfUpdateMerchantRoutingFlowRuleDto(value: object): boolean;
|
|
58
|
+
export declare function UpdateMerchantRoutingFlowRuleDtoFromJSON(json: any): UpdateMerchantRoutingFlowRuleDto;
|
|
59
|
+
export declare function UpdateMerchantRoutingFlowRuleDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateMerchantRoutingFlowRuleDto;
|
|
60
|
+
export declare function UpdateMerchantRoutingFlowRuleDtoToJSON(value?: UpdateMerchantRoutingFlowRuleDto | null): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Channel Payments API
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
import { exists, removeNullUndefined } from '../runtime';
|
|
10
|
+
import { CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsFromJSON, CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsToJSON, } from './CreateMerchantRoutingFlowRuleWithoutIdDtoConditions';
|
|
11
|
+
import { CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsFromJSON, CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsToJSON, } from './CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors';
|
|
12
|
+
/**
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export const UpdateMerchantRoutingFlowRuleDtoActionTypeEnum = {
|
|
16
|
+
Route: 'route',
|
|
17
|
+
Decline: 'decline'
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the UpdateMerchantRoutingFlowRuleDto interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfUpdateMerchantRoutingFlowRuleDto(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "routingRuleId" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
export function UpdateMerchantRoutingFlowRuleDtoFromJSON(json) {
|
|
28
|
+
return UpdateMerchantRoutingFlowRuleDtoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function UpdateMerchantRoutingFlowRuleDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
const typed = {
|
|
35
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
36
|
+
'actionType': !exists(json, 'actionType') ? undefined : json['actionType'],
|
|
37
|
+
'connectors': !exists(json, 'connectors') ? undefined : CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsFromJSON(json['connectors']),
|
|
38
|
+
'conditions': !exists(json, 'conditions') ? undefined : CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsFromJSON(json['conditions']),
|
|
39
|
+
'routingRuleId': json['routingRuleId'],
|
|
40
|
+
};
|
|
41
|
+
return removeNullUndefined(typed);
|
|
42
|
+
}
|
|
43
|
+
export function UpdateMerchantRoutingFlowRuleDtoToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'name': value.name,
|
|
52
|
+
'actionType': value.actionType,
|
|
53
|
+
'connectors': CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsToJSON(value.connectors),
|
|
54
|
+
'conditions': CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsToJSON(value.conditions),
|
|
55
|
+
'routingRuleId': value.routingRuleId,
|
|
56
|
+
};
|
|
57
|
+
}
|