@channelpayments/node-sdk 1.24.0 → 1.35.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/cjs/{src/apis → apis}/ChannelPaymentsApi.d.ts +13 -2
- package/dist/cjs/{src/apis → apis}/ChannelPaymentsApi.js +44 -31
- package/dist/cjs/models/AddressEntity1.d.ts +62 -0
- package/dist/cjs/models/AddressEntity1.js +63 -0
- package/dist/cjs/models/AmountRuleConditionEntity.d.ts +53 -0
- package/dist/cjs/models/AmountRuleConditionEntity.js +61 -0
- package/dist/cjs/{src/models → models}/BuyerEntity1.d.ts +9 -3
- package/dist/cjs/{src/models → models}/BuyerEntity1.js +5 -3
- package/dist/cjs/models/BuyerEntity1Address.d.ts +62 -0
- package/dist/cjs/models/BuyerEntity1Address.js +63 -0
- package/dist/cjs/models/CFeeRuleConditionEntity.d.ts +40 -0
- package/dist/cjs/models/CFeeRuleConditionEntity.js +57 -0
- package/dist/cjs/{src/models → models}/CardDetails.d.ts +6 -6
- package/dist/cjs/{src/models → models}/CardDetails.js +8 -8
- package/dist/cjs/models/CreateAmountRuleConditionDto.d.ts +44 -0
- package/dist/cjs/models/CreateAmountRuleConditionDto.js +53 -0
- package/dist/cjs/models/CreateCFeeDto.d.ts +40 -0
- package/dist/cjs/{src/models/CFeeDto.js → models/CreateCFeeDto.js} +12 -12
- package/dist/cjs/models/CreateCFeeRuleConditionDto.d.ts +32 -0
- package/dist/cjs/models/CreateCFeeRuleConditionDto.js +50 -0
- package/dist/{mjs/src → cjs}/models/CreateMerchantAccountDto.d.ts +48 -13
- package/dist/cjs/{src/models → models}/CreateMerchantAccountDto.js +41 -16
- package/dist/cjs/models/CreateMerchantAccountDtoCFee.d.ts +40 -0
- package/dist/cjs/{src/models/CreateMerchantAccountDtoCfee.js → models/CreateMerchantAccountDtoCFee.js} +12 -12
- package/dist/cjs/models/CreateMerchantAccountWithoutMerchantIdDto.d.ts +149 -0
- package/dist/cjs/models/CreateMerchantAccountWithoutMerchantIdDto.js +121 -0
- package/dist/cjs/models/CreateMerchantConnectorWithoutMerchantAccountIdDto.d.ts +62 -0
- package/dist/cjs/models/CreateMerchantConnectorWithoutMerchantAccountIdDto.js +71 -0
- package/dist/{mjs/src → cjs}/models/CreateMerchantDto.d.ts +3 -3
- package/dist/cjs/{src/models → models}/CreateMerchantDto.js +3 -3
- package/dist/cjs/models/CreateMerchantRoutingFlowDto.d.ts +47 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowDto.js +61 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleDto.d.ts +60 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleDto.js +66 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDto.d.ts +54 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDto.js +64 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConditions.d.ts +41 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConditions.js +53 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors.d.ts +52 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors.js +66 -0
- package/dist/cjs/models/CreateMetadataRuleConditionDto.d.ts +49 -0
- package/dist/cjs/models/CreateMetadataRuleConditionDto.js +63 -0
- package/dist/{mjs/src → cjs}/models/CreatePaymentMethodDto.d.ts +2 -1
- package/dist/cjs/{src/models → models}/CreatePaymentMethodDto.js +3 -3
- package/dist/cjs/models/CreateRuleConditionsDto.d.ts +41 -0
- package/dist/cjs/models/CreateRuleConditionsDto.js +53 -0
- package/dist/cjs/models/CreateRuleConditionsDtoAmount.d.ts +44 -0
- package/dist/cjs/models/CreateRuleConditionsDtoAmount.js +53 -0
- package/dist/cjs/models/CreateRuleConditionsDtoCFee.d.ts +32 -0
- package/dist/cjs/models/CreateRuleConditionsDtoCFee.js +50 -0
- package/dist/cjs/models/CreateRuleConnectorsDto.d.ts +52 -0
- package/dist/cjs/models/CreateRuleConnectorsDto.js +66 -0
- package/dist/cjs/{src/models → models}/CreateTransactionDto.d.ts +4 -4
- package/dist/cjs/{src/models → models}/CreateTransactionDto.js +4 -4
- package/dist/{mjs/src → cjs}/models/CreateTransactionDtoPaymentMethod.d.ts +0 -1
- package/dist/cjs/{src/models → models}/CreateTransactionDtoPaymentMethod.js +1 -2
- package/dist/cjs/models/CreateUserDto.d.ts +65 -0
- package/dist/cjs/models/CreateUserDto.js +69 -0
- package/dist/cjs/models/MerchantAccountEntity.d.ts +172 -0
- package/dist/cjs/{src/models → models}/MerchantAccountEntity.js +63 -18
- package/dist/cjs/models/MerchantAccountEntityCFee.d.ts +40 -0
- package/dist/cjs/{src/models/MerchantAccountEntityCfee.js → models/MerchantAccountEntityCFee.js} +12 -12
- package/dist/cjs/models/MerchantConnectorEntity.d.ts +92 -0
- package/dist/cjs/models/MerchantConnectorEntity.js +86 -0
- package/dist/cjs/{src/models → models}/MerchantEntity.d.ts +6 -0
- package/dist/cjs/{src/models → models}/MerchantEntity.js +3 -0
- package/dist/cjs/models/MerchantRoutingFlowEntity.d.ts +65 -0
- package/dist/cjs/models/MerchantRoutingFlowEntity.js +70 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntity.d.ts +78 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntity.js +76 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntityConditions.d.ts +41 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntityConditions.js +53 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntityConnectors.d.ts +52 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntityConnectors.js +67 -0
- package/dist/cjs/models/MetadataRuleConditionEntity.d.ts +49 -0
- package/dist/cjs/models/MetadataRuleConditionEntity.js +63 -0
- package/dist/cjs/{src/models → models}/PaymentMethodDto.d.ts +0 -1
- package/dist/cjs/{src/models → models}/PaymentMethodDto.js +1 -2
- package/dist/{mjs/src → cjs}/models/PaymentMethodEntity.d.ts +11 -8
- package/dist/cjs/{src/models → models}/PaymentMethodEntity.js +10 -7
- package/dist/{mjs/src → cjs}/models/PaymentMethodEntity1.d.ts +27 -3
- package/dist/cjs/{src/models → models}/PaymentMethodEntity1.js +11 -3
- package/dist/{mjs/src → cjs}/models/PaymentMethodEntityBuyer.d.ts +9 -3
- package/dist/cjs/{src/models → models}/PaymentMethodEntityBuyer.js +5 -3
- package/dist/cjs/models/PaymentMethodEntityCardDetails.d.ts +59 -0
- package/dist/cjs/models/PaymentMethodEntityCardDetails.js +67 -0
- package/dist/cjs/models/RuleConditionsEntity.d.ts +41 -0
- package/dist/cjs/models/RuleConditionsEntity.js +53 -0
- package/dist/cjs/models/RuleConditionsEntityAmount.d.ts +53 -0
- package/dist/cjs/models/RuleConditionsEntityAmount.js +61 -0
- package/dist/cjs/models/RuleConditionsEntityCfee.d.ts +40 -0
- package/dist/cjs/models/RuleConditionsEntityCfee.js +57 -0
- package/dist/cjs/models/RuleConnectorsEntity.d.ts +52 -0
- package/dist/cjs/models/RuleConnectorsEntity.js +67 -0
- package/dist/cjs/{src/models → models}/TransactionEntity.d.ts +37 -0
- package/dist/cjs/{src/models → models}/TransactionEntity.js +22 -2
- package/dist/cjs/{src/models → models}/UpdateBuyerDto.d.ts +1 -1
- package/dist/{mjs/src → cjs}/models/UpdateCFeeDto.d.ts +4 -4
- package/dist/cjs/{src/models → models}/UpdateCFeeDto.js +4 -2
- package/dist/cjs/{src/models → models}/UpdateMerchantAccountDto.d.ts +44 -9
- package/dist/cjs/{src/models → models}/UpdateMerchantAccountDto.js +35 -10
- package/dist/cjs/models/UpdateMerchantAccountDtoCFee.d.ts +40 -0
- package/dist/cjs/models/UpdateMerchantAccountDtoCFee.js +57 -0
- package/dist/cjs/models/UpdateMerchantRoutingFlowRuleDto.d.ts +60 -0
- package/dist/cjs/models/UpdateMerchantRoutingFlowRuleDto.js +64 -0
- package/dist/cjs/models/UpdateSelfDto.d.ts +75 -0
- package/dist/cjs/models/UpdateSelfDto.js +73 -0
- package/dist/cjs/models/UpdateUserDto.d.ts +81 -0
- package/dist/cjs/models/UpdateUserDto.js +76 -0
- package/dist/cjs/models/UserEntity.d.ts +99 -0
- package/dist/cjs/models/UserEntity.js +90 -0
- package/dist/cjs/{src/models → models}/index.d.ts +38 -9
- package/dist/cjs/{src/models → models}/index.js +38 -9
- package/dist/cjs/{src/runtime.d.ts → runtime.d.ts} +0 -1
- package/dist/cjs/{src/runtime.js → runtime.js} +1 -19
- package/dist/mjs/{src/apis → apis}/ChannelPaymentsApi.d.ts +13 -2
- package/dist/mjs/{src/apis → apis}/ChannelPaymentsApi.js +44 -31
- package/dist/mjs/models/AddressEntity1.d.ts +62 -0
- package/dist/mjs/models/AddressEntity1.js +56 -0
- package/dist/mjs/models/AmountRuleConditionEntity.d.ts +53 -0
- package/dist/mjs/models/AmountRuleConditionEntity.js +54 -0
- package/dist/mjs/{src/models → models}/BuyerEntity1.d.ts +9 -3
- package/dist/mjs/{src/models → models}/BuyerEntity1.js +5 -3
- package/dist/mjs/models/BuyerEntity1Address.d.ts +62 -0
- package/dist/mjs/models/BuyerEntity1Address.js +56 -0
- package/dist/mjs/models/CFeeRuleConditionEntity.d.ts +40 -0
- package/dist/mjs/models/CFeeRuleConditionEntity.js +50 -0
- package/dist/mjs/{src/models → models}/CardDetails.d.ts +6 -6
- package/dist/mjs/{src/models → models}/CardDetails.js +7 -7
- package/dist/mjs/models/CreateAmountRuleConditionDto.d.ts +44 -0
- package/dist/mjs/models/CreateAmountRuleConditionDto.js +46 -0
- package/dist/mjs/models/CreateCFeeDto.d.ts +40 -0
- package/dist/mjs/{src/models/CFeeDto.js → models/CreateCFeeDto.js} +7 -7
- package/dist/mjs/models/CreateCFeeRuleConditionDto.d.ts +32 -0
- package/dist/mjs/models/CreateCFeeRuleConditionDto.js +43 -0
- package/dist/{cjs/src → mjs}/models/CreateMerchantAccountDto.d.ts +48 -13
- package/dist/mjs/{src/models → models}/CreateMerchantAccountDto.js +40 -15
- package/dist/mjs/models/CreateMerchantAccountDtoCFee.d.ts +40 -0
- package/dist/mjs/{src/models/CreateMerchantAccountDtoCfee.js → models/CreateMerchantAccountDtoCFee.js} +7 -7
- package/dist/mjs/models/CreateMerchantAccountWithoutMerchantIdDto.d.ts +149 -0
- package/dist/mjs/models/CreateMerchantAccountWithoutMerchantIdDto.js +114 -0
- package/dist/mjs/models/CreateMerchantConnectorWithoutMerchantAccountIdDto.d.ts +62 -0
- package/dist/mjs/models/CreateMerchantConnectorWithoutMerchantAccountIdDto.js +64 -0
- package/dist/{cjs/src → mjs}/models/CreateMerchantDto.d.ts +3 -3
- package/dist/mjs/{src/models → models}/CreateMerchantDto.js +3 -3
- package/dist/mjs/models/CreateMerchantRoutingFlowDto.d.ts +47 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowDto.js +54 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleDto.d.ts +60 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleDto.js +59 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDto.d.ts +54 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDto.js +57 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConditions.d.ts +41 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConditions.js +46 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors.d.ts +52 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors.js +59 -0
- package/dist/mjs/models/CreateMetadataRuleConditionDto.d.ts +49 -0
- package/dist/mjs/models/CreateMetadataRuleConditionDto.js +56 -0
- package/dist/{cjs/src → mjs}/models/CreatePaymentMethodDto.d.ts +2 -1
- package/dist/mjs/{src/models → models}/CreatePaymentMethodDto.js +3 -3
- package/dist/mjs/models/CreateRuleConditionsDto.d.ts +41 -0
- package/dist/mjs/models/CreateRuleConditionsDto.js +46 -0
- package/dist/mjs/models/CreateRuleConditionsDtoAmount.d.ts +44 -0
- package/dist/mjs/models/CreateRuleConditionsDtoAmount.js +46 -0
- package/dist/mjs/models/CreateRuleConditionsDtoCFee.d.ts +32 -0
- package/dist/mjs/models/CreateRuleConditionsDtoCFee.js +43 -0
- package/dist/mjs/models/CreateRuleConnectorsDto.d.ts +52 -0
- package/dist/mjs/models/CreateRuleConnectorsDto.js +59 -0
- package/dist/mjs/{src/models → models}/CreateTransactionDto.d.ts +4 -4
- package/dist/mjs/{src/models → models}/CreateTransactionDto.js +4 -4
- package/dist/{cjs/src → mjs}/models/CreateTransactionDtoPaymentMethod.d.ts +0 -1
- package/dist/mjs/{src/models → models}/CreateTransactionDtoPaymentMethod.js +1 -2
- package/dist/mjs/models/CreateUserDto.d.ts +65 -0
- package/dist/mjs/models/CreateUserDto.js +62 -0
- package/dist/mjs/models/MerchantAccountEntity.d.ts +172 -0
- package/dist/mjs/models/MerchantAccountEntity.js +135 -0
- package/dist/mjs/models/MerchantAccountEntityCFee.d.ts +40 -0
- package/dist/mjs/{src/models/MerchantAccountEntityCfee.js → models/MerchantAccountEntityCFee.js} +7 -7
- package/dist/mjs/models/MerchantConnectorEntity.d.ts +92 -0
- package/dist/mjs/models/MerchantConnectorEntity.js +79 -0
- package/dist/mjs/{src/models → models}/MerchantEntity.d.ts +6 -0
- package/dist/mjs/{src/models → models}/MerchantEntity.js +3 -0
- package/dist/mjs/models/MerchantRoutingFlowEntity.d.ts +65 -0
- package/dist/mjs/models/MerchantRoutingFlowEntity.js +63 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntity.d.ts +78 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntity.js +69 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntityConditions.d.ts +41 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntityConditions.js +46 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntityConnectors.d.ts +52 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntityConnectors.js +60 -0
- package/dist/mjs/models/MetadataRuleConditionEntity.d.ts +49 -0
- package/dist/mjs/models/MetadataRuleConditionEntity.js +56 -0
- package/dist/mjs/{src/models → models}/PaymentMethodDto.d.ts +0 -1
- package/dist/mjs/{src/models → models}/PaymentMethodDto.js +1 -2
- package/dist/{cjs/src → mjs}/models/PaymentMethodEntity.d.ts +11 -8
- package/dist/mjs/{src/models → models}/PaymentMethodEntity.js +10 -7
- package/dist/{cjs/src → mjs}/models/PaymentMethodEntity1.d.ts +27 -3
- package/dist/mjs/{src/models → models}/PaymentMethodEntity1.js +11 -3
- package/dist/{cjs/src → mjs}/models/PaymentMethodEntityBuyer.d.ts +9 -3
- package/dist/mjs/{src/models → models}/PaymentMethodEntityBuyer.js +5 -3
- package/dist/mjs/models/PaymentMethodEntityCardDetails.d.ts +59 -0
- package/dist/mjs/{src/models/PaymentMethodEntityDetails.js → models/PaymentMethodEntityCardDetails.js} +13 -13
- package/dist/mjs/models/RuleConditionsEntity.d.ts +41 -0
- package/dist/mjs/models/RuleConditionsEntity.js +46 -0
- package/dist/mjs/models/RuleConditionsEntityAmount.d.ts +53 -0
- package/dist/mjs/models/RuleConditionsEntityAmount.js +54 -0
- package/dist/mjs/models/RuleConditionsEntityCfee.d.ts +40 -0
- package/dist/mjs/models/RuleConditionsEntityCfee.js +50 -0
- package/dist/mjs/models/RuleConnectorsEntity.d.ts +52 -0
- package/dist/mjs/models/RuleConnectorsEntity.js +60 -0
- package/dist/mjs/{src/models → models}/TransactionEntity.d.ts +37 -0
- package/dist/mjs/{src/models → models}/TransactionEntity.js +22 -2
- package/dist/mjs/{src/models → models}/UpdateBuyerDto.d.ts +1 -1
- package/dist/{cjs/src → mjs}/models/UpdateCFeeDto.d.ts +4 -4
- package/dist/mjs/{src/models → models}/UpdateCFeeDto.js +5 -3
- package/dist/mjs/{src/models → models}/UpdateMerchantAccountDto.d.ts +44 -9
- package/dist/mjs/{src/models → models}/UpdateMerchantAccountDto.js +34 -9
- package/dist/mjs/models/UpdateMerchantAccountDtoCFee.d.ts +40 -0
- package/dist/mjs/models/UpdateMerchantAccountDtoCFee.js +50 -0
- package/dist/mjs/models/UpdateMerchantRoutingFlowRuleDto.d.ts +60 -0
- package/dist/mjs/models/UpdateMerchantRoutingFlowRuleDto.js +57 -0
- package/dist/mjs/models/UpdateSelfDto.d.ts +75 -0
- package/dist/mjs/models/UpdateSelfDto.js +66 -0
- package/dist/mjs/models/UpdateUserDto.d.ts +81 -0
- package/dist/mjs/models/UpdateUserDto.js +69 -0
- package/dist/mjs/models/UserEntity.d.ts +99 -0
- package/dist/mjs/models/UserEntity.js +83 -0
- package/dist/mjs/{src/models → models}/index.d.ts +38 -9
- package/dist/mjs/{src/models → models}/index.js +38 -9
- package/dist/mjs/{src/runtime.d.ts → runtime.d.ts} +0 -1
- package/dist/mjs/{src/runtime.js → runtime.js} +1 -19
- package/package.json +1 -1
- package/dist/cjs/src/models/CFeeDto.d.ts +0 -40
- package/dist/cjs/src/models/CreateMerchantAccountDtoCfee.d.ts +0 -40
- package/dist/cjs/src/models/CreateMerchantAccountDtoGateways.d.ts +0 -41
- package/dist/cjs/src/models/CreateMerchantAccountDtoGateways.js +0 -58
- package/dist/cjs/src/models/CreateMerchantAccountsDto.d.ts +0 -114
- package/dist/cjs/src/models/CreateMerchantAccountsDto.js +0 -96
- package/dist/cjs/src/models/CreateMerchantGateway.d.ts +0 -41
- package/dist/cjs/src/models/CreateMerchantGateway.js +0 -58
- package/dist/cjs/src/models/MerchantAccountEntity.d.ts +0 -108
- package/dist/cjs/src/models/MerchantAccountEntityCfee.d.ts +0 -40
- package/dist/cjs/src/models/MerchantGatewayEntity.d.ts +0 -59
- package/dist/cjs/src/models/MerchantGatewayEntity.js +0 -67
- package/dist/cjs/src/models/PaymentMethodEntityDetails.d.ts +0 -59
- package/dist/cjs/src/models/PaymentMethodEntityDetails.js +0 -67
- package/dist/cjs/src/models/UpdateMerchantAccountDtoCfee.d.ts +0 -40
- package/dist/cjs/src/models/UpdateMerchantAccountDtoCfee.js +0 -55
- package/dist/cjs/test.d.ts +0 -1
- package/dist/cjs/test.js +0 -81
- package/dist/mjs/src/models/CFeeDto.d.ts +0 -40
- package/dist/mjs/src/models/CreateMerchantAccountDtoCfee.d.ts +0 -40
- package/dist/mjs/src/models/CreateMerchantAccountDtoGateways.d.ts +0 -41
- package/dist/mjs/src/models/CreateMerchantAccountDtoGateways.js +0 -51
- package/dist/mjs/src/models/CreateMerchantAccountsDto.d.ts +0 -114
- package/dist/mjs/src/models/CreateMerchantAccountsDto.js +0 -89
- package/dist/mjs/src/models/CreateMerchantGateway.d.ts +0 -41
- package/dist/mjs/src/models/CreateMerchantGateway.js +0 -51
- package/dist/mjs/src/models/MerchantAccountEntity.d.ts +0 -108
- package/dist/mjs/src/models/MerchantAccountEntity.js +0 -90
- package/dist/mjs/src/models/MerchantAccountEntityCfee.d.ts +0 -40
- package/dist/mjs/src/models/MerchantGatewayEntity.d.ts +0 -59
- package/dist/mjs/src/models/MerchantGatewayEntity.js +0 -60
- package/dist/mjs/src/models/PaymentMethodEntityDetails.d.ts +0 -59
- package/dist/mjs/src/models/UpdateMerchantAccountDtoCfee.d.ts +0 -40
- package/dist/mjs/src/models/UpdateMerchantAccountDtoCfee.js +0 -48
- package/dist/mjs/test.d.ts +0 -1
- package/dist/mjs/test.js +0 -47
- /package/dist/cjs/{src/apis → apis}/index.d.ts +0 -0
- /package/dist/cjs/{src/apis → apis}/index.js +0 -0
- /package/dist/cjs/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/cjs/{src/index.js → index.js} +0 -0
- /package/dist/cjs/{src/models → models}/AddressDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/AddressDto.js +0 -0
- /package/dist/cjs/{src/models → models}/AddressEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/AddressEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/BuyerAddressEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/BuyerAddressEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/BuyerEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/BuyerEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/BuyerEntityAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/BuyerEntityAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/BuyersSearchEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/BuyersSearchEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/CFeeEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CFeeEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/CaptureTransactionDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CaptureTransactionDto.js +0 -0
- /package/dist/cjs/{src/models → models}/CreateBuyerDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CreateBuyerDto.js +0 -0
- /package/dist/cjs/{src/models → models}/CreateBuyerDtoAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CreateBuyerDtoAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantAddressDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantAddressDto.js +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantCredentialsDto.js +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantDtoAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantDtoAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/ErrorEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/ErrorEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/MerchantAddressEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/MerchantAddressEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/MerchantCredentialsEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/MerchantCredentialsEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/MerchantEntityAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/MerchantEntityAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/PaymentMethodsSearchEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/PaymentMethodsSearchEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/PaymentsBuyerEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/PaymentsBuyerEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/RefundTransactionDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/RefundTransactionDto.js +0 -0
- /package/dist/cjs/{src/models → models}/TransactionRefundEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/TransactionRefundEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/TransactionRefundsSearchEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/TransactionRefundsSearchEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/TransactionsSearchEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/TransactionsSearchEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateAddressDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateAddressDto.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateBuyerDto.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateBuyerDtoAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateBuyerDtoAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantAddressDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantAddressDto.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantCredentialsDto.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantDto.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantDtoAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantDtoAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/ValidateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/ValidateMerchantCredentialsDto.js +0 -0
- /package/dist/mjs/{src/apis → apis}/index.d.ts +0 -0
- /package/dist/mjs/{src/apis → apis}/index.js +0 -0
- /package/dist/mjs/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/mjs/{src/index.js → index.js} +0 -0
- /package/dist/mjs/{src/models → models}/AddressDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/AddressDto.js +0 -0
- /package/dist/mjs/{src/models → models}/AddressEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/AddressEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/BuyerAddressEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/BuyerAddressEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/BuyerEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/BuyerEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/BuyerEntityAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/BuyerEntityAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/BuyersSearchEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/BuyersSearchEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/CFeeEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CFeeEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/CaptureTransactionDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CaptureTransactionDto.js +0 -0
- /package/dist/mjs/{src/models → models}/CreateBuyerDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CreateBuyerDto.js +0 -0
- /package/dist/mjs/{src/models → models}/CreateBuyerDtoAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CreateBuyerDtoAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantAddressDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantAddressDto.js +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantCredentialsDto.js +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantDtoAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantDtoAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/ErrorEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/ErrorEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/MerchantAddressEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/MerchantAddressEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/MerchantCredentialsEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/MerchantCredentialsEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/MerchantEntityAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/MerchantEntityAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/PaymentMethodsSearchEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/PaymentMethodsSearchEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/PaymentsBuyerEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/PaymentsBuyerEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/RefundTransactionDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/RefundTransactionDto.js +0 -0
- /package/dist/mjs/{src/models → models}/TransactionRefundEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/TransactionRefundEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/TransactionRefundsSearchEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/TransactionRefundsSearchEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/TransactionsSearchEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/TransactionsSearchEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateAddressDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateAddressDto.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateBuyerDto.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateBuyerDtoAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateBuyerDtoAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantAddressDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantAddressDto.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantCredentialsDto.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantDto.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantDtoAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantDtoAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/ValidateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/ValidateMerchantCredentialsDto.js +0 -0
|
@@ -0,0 +1,71 @@
|
|
|
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.CreateMerchantConnectorWithoutMerchantAccountIdDtoToJSON = exports.CreateMerchantConnectorWithoutMerchantAccountIdDtoFromJSONTyped = exports.CreateMerchantConnectorWithoutMerchantAccountIdDtoFromJSON = exports.instanceOfCreateMerchantConnectorWithoutMerchantAccountIdDto = exports.CreateMerchantConnectorWithoutMerchantAccountIdDtoTypeEnum = exports.CreateMerchantConnectorWithoutMerchantAccountIdDtoConnectorEnum = void 0;
|
|
12
|
+
const runtime_1 = require("../runtime");
|
|
13
|
+
/**
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
exports.CreateMerchantConnectorWithoutMerchantAccountIdDtoConnectorEnum = {
|
|
17
|
+
Epay: 'EPAY',
|
|
18
|
+
Nmi: 'NMI',
|
|
19
|
+
AuthorizeNet: 'AUTHORIZE_NET',
|
|
20
|
+
ChannelPayments: 'CHANNEL_PAYMENTS'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.CreateMerchantConnectorWithoutMerchantAccountIdDtoTypeEnum = {
|
|
26
|
+
Gateway: 'GATEWAY',
|
|
27
|
+
Terminal: 'TERMINAL'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the CreateMerchantConnectorWithoutMerchantAccountIdDto interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfCreateMerchantConnectorWithoutMerchantAccountIdDto(value) {
|
|
33
|
+
let isInstance = true;
|
|
34
|
+
isInstance = isInstance && "connector" in value;
|
|
35
|
+
isInstance = isInstance && "issuedConnectorId" in value;
|
|
36
|
+
isInstance = isInstance && "type" in value;
|
|
37
|
+
return isInstance;
|
|
38
|
+
}
|
|
39
|
+
exports.instanceOfCreateMerchantConnectorWithoutMerchantAccountIdDto = instanceOfCreateMerchantConnectorWithoutMerchantAccountIdDto;
|
|
40
|
+
function CreateMerchantConnectorWithoutMerchantAccountIdDtoFromJSON(json) {
|
|
41
|
+
return CreateMerchantConnectorWithoutMerchantAccountIdDtoFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
exports.CreateMerchantConnectorWithoutMerchantAccountIdDtoFromJSON = CreateMerchantConnectorWithoutMerchantAccountIdDtoFromJSON;
|
|
44
|
+
function CreateMerchantConnectorWithoutMerchantAccountIdDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if ((json === undefined) || (json === null)) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
const typed = {
|
|
49
|
+
'connector': json['connector'],
|
|
50
|
+
'issuedConnectorId': json['issuedConnectorId'],
|
|
51
|
+
'type': json['type'],
|
|
52
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
53
|
+
};
|
|
54
|
+
return (0, runtime_1.removeNullUndefined)(typed);
|
|
55
|
+
}
|
|
56
|
+
exports.CreateMerchantConnectorWithoutMerchantAccountIdDtoFromJSONTyped = CreateMerchantConnectorWithoutMerchantAccountIdDtoFromJSONTyped;
|
|
57
|
+
function CreateMerchantConnectorWithoutMerchantAccountIdDtoToJSON(value) {
|
|
58
|
+
if (value === undefined) {
|
|
59
|
+
return undefined;
|
|
60
|
+
}
|
|
61
|
+
if (value === null) {
|
|
62
|
+
return null;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'connector': value.connector,
|
|
66
|
+
'issuedConnectorId': value.issuedConnectorId,
|
|
67
|
+
'type': value.type,
|
|
68
|
+
'name': value.name,
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
exports.CreateMerchantConnectorWithoutMerchantAccountIdDtoToJSON = CreateMerchantConnectorWithoutMerchantAccountIdDtoToJSON;
|
|
@@ -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 { CreateMerchantAccountWithoutMerchantIdDto } from './CreateMerchantAccountWithoutMerchantIdDto';
|
|
8
8
|
import type { CreateMerchantDtoAddress } from './CreateMerchantDtoAddress';
|
|
9
9
|
/**
|
|
10
10
|
*
|
|
@@ -56,10 +56,10 @@ export interface CreateMerchantDto {
|
|
|
56
56
|
parentMerchantId?: string;
|
|
57
57
|
/**
|
|
58
58
|
* Array of merchant accounts
|
|
59
|
-
* @type {Array<
|
|
59
|
+
* @type {Array<CreateMerchantAccountWithoutMerchantIdDto>}
|
|
60
60
|
* @memberof CreateMerchantDto
|
|
61
61
|
*/
|
|
62
|
-
merchantAccounts?: Array<
|
|
62
|
+
merchantAccounts?: Array<CreateMerchantAccountWithoutMerchantIdDto>;
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
65
|
* Check if a given object implements the CreateMerchantDto interface.
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports.CreateMerchantDtoToJSON = exports.CreateMerchantDtoFromJSONTyped = exports.CreateMerchantDtoFromJSON = exports.instanceOfCreateMerchantDto = void 0;
|
|
12
12
|
const runtime_1 = require("../runtime");
|
|
13
|
-
const
|
|
13
|
+
const CreateMerchantAccountWithoutMerchantIdDto_1 = require("./CreateMerchantAccountWithoutMerchantIdDto");
|
|
14
14
|
const CreateMerchantDtoAddress_1 = require("./CreateMerchantDtoAddress");
|
|
15
15
|
/**
|
|
16
16
|
* Check if a given object implements the CreateMerchantDto interface.
|
|
@@ -40,7 +40,7 @@ function CreateMerchantDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'website': !(0, runtime_1.exists)(json, 'website') ? undefined : json['website'],
|
|
41
41
|
'logo': !(0, runtime_1.exists)(json, 'logo') ? undefined : json['logo'],
|
|
42
42
|
'parentMerchantId': !(0, runtime_1.exists)(json, 'parentMerchantId') ? undefined : json['parentMerchantId'],
|
|
43
|
-
'merchantAccounts': !(0, runtime_1.exists)(json, 'merchantAccounts') ? undefined : (json['merchantAccounts'].map(
|
|
43
|
+
'merchantAccounts': !(0, runtime_1.exists)(json, 'merchantAccounts') ? undefined : (json['merchantAccounts'].map(CreateMerchantAccountWithoutMerchantIdDto_1.CreateMerchantAccountWithoutMerchantIdDtoFromJSON)),
|
|
44
44
|
};
|
|
45
45
|
return (0, runtime_1.removeNullUndefined)(typed);
|
|
46
46
|
}
|
|
@@ -60,7 +60,7 @@ function CreateMerchantDtoToJSON(value) {
|
|
|
60
60
|
'website': value.website,
|
|
61
61
|
'logo': value.logo,
|
|
62
62
|
'parentMerchantId': value.parentMerchantId,
|
|
63
|
-
'merchantAccounts': value.merchantAccounts === undefined ? undefined : (value.merchantAccounts.map(
|
|
63
|
+
'merchantAccounts': value.merchantAccounts === undefined ? undefined : (value.merchantAccounts.map(CreateMerchantAccountWithoutMerchantIdDto_1.CreateMerchantAccountWithoutMerchantIdDtoToJSON)),
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
exports.CreateMerchantDtoToJSON = CreateMerchantDtoToJSON;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Channel Payments API
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
import type { CreateMerchantRoutingFlowRuleWithoutIdDto } from './CreateMerchantRoutingFlowRuleWithoutIdDto';
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @export
|
|
11
|
+
* @interface CreateMerchantRoutingFlowDto
|
|
12
|
+
*/
|
|
13
|
+
export interface CreateMerchantRoutingFlowDto {
|
|
14
|
+
/**
|
|
15
|
+
* The ID for the merchant
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof CreateMerchantRoutingFlowDto
|
|
18
|
+
*/
|
|
19
|
+
merchantId: string;
|
|
20
|
+
/**
|
|
21
|
+
* The payment method for the merchant flow config
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof CreateMerchantRoutingFlowDto
|
|
24
|
+
*/
|
|
25
|
+
method: CreateMerchantRoutingFlowDtoMethodEnum;
|
|
26
|
+
/**
|
|
27
|
+
* The rules for the merchant flow config
|
|
28
|
+
* @type {Array<CreateMerchantRoutingFlowRuleWithoutIdDto>}
|
|
29
|
+
* @memberof CreateMerchantRoutingFlowDto
|
|
30
|
+
*/
|
|
31
|
+
routingFlowRules: Array<CreateMerchantRoutingFlowRuleWithoutIdDto>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
export declare const CreateMerchantRoutingFlowDtoMethodEnum: {
|
|
37
|
+
readonly Card: "CARD";
|
|
38
|
+
readonly Ach: "ACH";
|
|
39
|
+
};
|
|
40
|
+
export type CreateMerchantRoutingFlowDtoMethodEnum = typeof CreateMerchantRoutingFlowDtoMethodEnum[keyof typeof CreateMerchantRoutingFlowDtoMethodEnum];
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the CreateMerchantRoutingFlowDto interface.
|
|
43
|
+
*/
|
|
44
|
+
export declare function instanceOfCreateMerchantRoutingFlowDto(value: object): boolean;
|
|
45
|
+
export declare function CreateMerchantRoutingFlowDtoFromJSON(json: any): CreateMerchantRoutingFlowDto;
|
|
46
|
+
export declare function CreateMerchantRoutingFlowDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateMerchantRoutingFlowDto;
|
|
47
|
+
export declare function CreateMerchantRoutingFlowDtoToJSON(value?: CreateMerchantRoutingFlowDto | null): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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.CreateMerchantRoutingFlowDtoToJSON = exports.CreateMerchantRoutingFlowDtoFromJSONTyped = exports.CreateMerchantRoutingFlowDtoFromJSON = exports.instanceOfCreateMerchantRoutingFlowDto = exports.CreateMerchantRoutingFlowDtoMethodEnum = void 0;
|
|
12
|
+
const runtime_1 = require("../runtime");
|
|
13
|
+
const CreateMerchantRoutingFlowRuleWithoutIdDto_1 = require("./CreateMerchantRoutingFlowRuleWithoutIdDto");
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
exports.CreateMerchantRoutingFlowDtoMethodEnum = {
|
|
18
|
+
Card: 'CARD',
|
|
19
|
+
Ach: 'ACH'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateMerchantRoutingFlowDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateMerchantRoutingFlowDto(value) {
|
|
25
|
+
let isInstance = true;
|
|
26
|
+
isInstance = isInstance && "merchantId" in value;
|
|
27
|
+
isInstance = isInstance && "method" in value;
|
|
28
|
+
isInstance = isInstance && "routingFlowRules" in value;
|
|
29
|
+
return isInstance;
|
|
30
|
+
}
|
|
31
|
+
exports.instanceOfCreateMerchantRoutingFlowDto = instanceOfCreateMerchantRoutingFlowDto;
|
|
32
|
+
function CreateMerchantRoutingFlowDtoFromJSON(json) {
|
|
33
|
+
return CreateMerchantRoutingFlowDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
exports.CreateMerchantRoutingFlowDtoFromJSON = CreateMerchantRoutingFlowDtoFromJSON;
|
|
36
|
+
function CreateMerchantRoutingFlowDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if ((json === undefined) || (json === null)) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
const typed = {
|
|
41
|
+
'merchantId': json['merchantId'],
|
|
42
|
+
'method': json['method'],
|
|
43
|
+
'routingFlowRules': (json['routingFlowRules'].map(CreateMerchantRoutingFlowRuleWithoutIdDto_1.CreateMerchantRoutingFlowRuleWithoutIdDtoFromJSON)),
|
|
44
|
+
};
|
|
45
|
+
return (0, runtime_1.removeNullUndefined)(typed);
|
|
46
|
+
}
|
|
47
|
+
exports.CreateMerchantRoutingFlowDtoFromJSONTyped = CreateMerchantRoutingFlowDtoFromJSONTyped;
|
|
48
|
+
function CreateMerchantRoutingFlowDtoToJSON(value) {
|
|
49
|
+
if (value === undefined) {
|
|
50
|
+
return undefined;
|
|
51
|
+
}
|
|
52
|
+
if (value === null) {
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'merchantId': value.merchantId,
|
|
57
|
+
'method': value.method,
|
|
58
|
+
'routingFlowRules': (value.routingFlowRules.map(CreateMerchantRoutingFlowRuleWithoutIdDto_1.CreateMerchantRoutingFlowRuleWithoutIdDtoToJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
exports.CreateMerchantRoutingFlowDtoToJSON = CreateMerchantRoutingFlowDtoToJSON;
|
|
@@ -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 CreateMerchantRoutingFlowRuleDto
|
|
13
|
+
*/
|
|
14
|
+
export interface CreateMerchantRoutingFlowRuleDto {
|
|
15
|
+
/**
|
|
16
|
+
* The ID for the record
|
|
17
|
+
* @type {string}
|
|
18
|
+
* @memberof CreateMerchantRoutingFlowRuleDto
|
|
19
|
+
*/
|
|
20
|
+
routingFlowId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The name for the rule
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof CreateMerchantRoutingFlowRuleDto
|
|
25
|
+
*/
|
|
26
|
+
name: string;
|
|
27
|
+
/**
|
|
28
|
+
* The type of action for the rule
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof CreateMerchantRoutingFlowRuleDto
|
|
31
|
+
*/
|
|
32
|
+
actionType: CreateMerchantRoutingFlowRuleDtoActionTypeEnum;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors}
|
|
36
|
+
* @memberof CreateMerchantRoutingFlowRuleDto
|
|
37
|
+
*/
|
|
38
|
+
connectors?: CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {CreateMerchantRoutingFlowRuleWithoutIdDtoConditions}
|
|
42
|
+
* @memberof CreateMerchantRoutingFlowRuleDto
|
|
43
|
+
*/
|
|
44
|
+
conditions: CreateMerchantRoutingFlowRuleWithoutIdDtoConditions;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @export
|
|
48
|
+
*/
|
|
49
|
+
export declare const CreateMerchantRoutingFlowRuleDtoActionTypeEnum: {
|
|
50
|
+
readonly Route: "route";
|
|
51
|
+
readonly Decline: "decline";
|
|
52
|
+
};
|
|
53
|
+
export type CreateMerchantRoutingFlowRuleDtoActionTypeEnum = typeof CreateMerchantRoutingFlowRuleDtoActionTypeEnum[keyof typeof CreateMerchantRoutingFlowRuleDtoActionTypeEnum];
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the CreateMerchantRoutingFlowRuleDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export declare function instanceOfCreateMerchantRoutingFlowRuleDto(value: object): boolean;
|
|
58
|
+
export declare function CreateMerchantRoutingFlowRuleDtoFromJSON(json: any): CreateMerchantRoutingFlowRuleDto;
|
|
59
|
+
export declare function CreateMerchantRoutingFlowRuleDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateMerchantRoutingFlowRuleDto;
|
|
60
|
+
export declare function CreateMerchantRoutingFlowRuleDtoToJSON(value?: CreateMerchantRoutingFlowRuleDto | null): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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.CreateMerchantRoutingFlowRuleDtoToJSON = exports.CreateMerchantRoutingFlowRuleDtoFromJSONTyped = exports.CreateMerchantRoutingFlowRuleDtoFromJSON = exports.instanceOfCreateMerchantRoutingFlowRuleDto = exports.CreateMerchantRoutingFlowRuleDtoActionTypeEnum = void 0;
|
|
12
|
+
const runtime_1 = require("../runtime");
|
|
13
|
+
const CreateMerchantRoutingFlowRuleWithoutIdDtoConditions_1 = require("./CreateMerchantRoutingFlowRuleWithoutIdDtoConditions");
|
|
14
|
+
const CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors_1 = require("./CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors");
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
exports.CreateMerchantRoutingFlowRuleDtoActionTypeEnum = {
|
|
19
|
+
Route: 'route',
|
|
20
|
+
Decline: 'decline'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CreateMerchantRoutingFlowRuleDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCreateMerchantRoutingFlowRuleDto(value) {
|
|
26
|
+
let isInstance = true;
|
|
27
|
+
isInstance = isInstance && "name" in value;
|
|
28
|
+
isInstance = isInstance && "actionType" in value;
|
|
29
|
+
isInstance = isInstance && "conditions" in value;
|
|
30
|
+
return isInstance;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfCreateMerchantRoutingFlowRuleDto = instanceOfCreateMerchantRoutingFlowRuleDto;
|
|
33
|
+
function CreateMerchantRoutingFlowRuleDtoFromJSON(json) {
|
|
34
|
+
return CreateMerchantRoutingFlowRuleDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.CreateMerchantRoutingFlowRuleDtoFromJSON = CreateMerchantRoutingFlowRuleDtoFromJSON;
|
|
37
|
+
function CreateMerchantRoutingFlowRuleDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if ((json === undefined) || (json === null)) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
const typed = {
|
|
42
|
+
'routingFlowId': !(0, runtime_1.exists)(json, 'routingFlowId') ? undefined : json['routingFlowId'],
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
'actionType': json['actionType'],
|
|
45
|
+
'connectors': !(0, runtime_1.exists)(json, 'connectors') ? undefined : (0, CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors_1.CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsFromJSON)(json['connectors']),
|
|
46
|
+
'conditions': (0, CreateMerchantRoutingFlowRuleWithoutIdDtoConditions_1.CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsFromJSON)(json['conditions']),
|
|
47
|
+
};
|
|
48
|
+
return (0, runtime_1.removeNullUndefined)(typed);
|
|
49
|
+
}
|
|
50
|
+
exports.CreateMerchantRoutingFlowRuleDtoFromJSONTyped = CreateMerchantRoutingFlowRuleDtoFromJSONTyped;
|
|
51
|
+
function CreateMerchantRoutingFlowRuleDtoToJSON(value) {
|
|
52
|
+
if (value === undefined) {
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
if (value === null) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'routingFlowId': value.routingFlowId,
|
|
60
|
+
'name': value.name,
|
|
61
|
+
'actionType': value.actionType,
|
|
62
|
+
'connectors': (0, CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors_1.CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsToJSON)(value.connectors),
|
|
63
|
+
'conditions': (0, CreateMerchantRoutingFlowRuleWithoutIdDtoConditions_1.CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsToJSON)(value.conditions),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
exports.CreateMerchantRoutingFlowRuleDtoToJSON = CreateMerchantRoutingFlowRuleDtoToJSON;
|
|
@@ -0,0 +1,54 @@
|
|
|
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 CreateMerchantRoutingFlowRuleWithoutIdDto
|
|
13
|
+
*/
|
|
14
|
+
export interface CreateMerchantRoutingFlowRuleWithoutIdDto {
|
|
15
|
+
/**
|
|
16
|
+
* The name for the rule
|
|
17
|
+
* @type {string}
|
|
18
|
+
* @memberof CreateMerchantRoutingFlowRuleWithoutIdDto
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* The type of action for the rule
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof CreateMerchantRoutingFlowRuleWithoutIdDto
|
|
25
|
+
*/
|
|
26
|
+
actionType: CreateMerchantRoutingFlowRuleWithoutIdDtoActionTypeEnum;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors}
|
|
30
|
+
* @memberof CreateMerchantRoutingFlowRuleWithoutIdDto
|
|
31
|
+
*/
|
|
32
|
+
connectors?: CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {CreateMerchantRoutingFlowRuleWithoutIdDtoConditions}
|
|
36
|
+
* @memberof CreateMerchantRoutingFlowRuleWithoutIdDto
|
|
37
|
+
*/
|
|
38
|
+
conditions: CreateMerchantRoutingFlowRuleWithoutIdDtoConditions;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @export
|
|
42
|
+
*/
|
|
43
|
+
export declare const CreateMerchantRoutingFlowRuleWithoutIdDtoActionTypeEnum: {
|
|
44
|
+
readonly Route: "route";
|
|
45
|
+
readonly Decline: "decline";
|
|
46
|
+
};
|
|
47
|
+
export type CreateMerchantRoutingFlowRuleWithoutIdDtoActionTypeEnum = typeof CreateMerchantRoutingFlowRuleWithoutIdDtoActionTypeEnum[keyof typeof CreateMerchantRoutingFlowRuleWithoutIdDtoActionTypeEnum];
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the CreateMerchantRoutingFlowRuleWithoutIdDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export declare function instanceOfCreateMerchantRoutingFlowRuleWithoutIdDto(value: object): boolean;
|
|
52
|
+
export declare function CreateMerchantRoutingFlowRuleWithoutIdDtoFromJSON(json: any): CreateMerchantRoutingFlowRuleWithoutIdDto;
|
|
53
|
+
export declare function CreateMerchantRoutingFlowRuleWithoutIdDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateMerchantRoutingFlowRuleWithoutIdDto;
|
|
54
|
+
export declare function CreateMerchantRoutingFlowRuleWithoutIdDtoToJSON(value?: CreateMerchantRoutingFlowRuleWithoutIdDto | null): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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.CreateMerchantRoutingFlowRuleWithoutIdDtoToJSON = exports.CreateMerchantRoutingFlowRuleWithoutIdDtoFromJSONTyped = exports.CreateMerchantRoutingFlowRuleWithoutIdDtoFromJSON = exports.instanceOfCreateMerchantRoutingFlowRuleWithoutIdDto = exports.CreateMerchantRoutingFlowRuleWithoutIdDtoActionTypeEnum = void 0;
|
|
12
|
+
const runtime_1 = require("../runtime");
|
|
13
|
+
const CreateMerchantRoutingFlowRuleWithoutIdDtoConditions_1 = require("./CreateMerchantRoutingFlowRuleWithoutIdDtoConditions");
|
|
14
|
+
const CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors_1 = require("./CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors");
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
exports.CreateMerchantRoutingFlowRuleWithoutIdDtoActionTypeEnum = {
|
|
19
|
+
Route: 'route',
|
|
20
|
+
Decline: 'decline'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CreateMerchantRoutingFlowRuleWithoutIdDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCreateMerchantRoutingFlowRuleWithoutIdDto(value) {
|
|
26
|
+
let isInstance = true;
|
|
27
|
+
isInstance = isInstance && "name" in value;
|
|
28
|
+
isInstance = isInstance && "actionType" in value;
|
|
29
|
+
isInstance = isInstance && "conditions" in value;
|
|
30
|
+
return isInstance;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfCreateMerchantRoutingFlowRuleWithoutIdDto = instanceOfCreateMerchantRoutingFlowRuleWithoutIdDto;
|
|
33
|
+
function CreateMerchantRoutingFlowRuleWithoutIdDtoFromJSON(json) {
|
|
34
|
+
return CreateMerchantRoutingFlowRuleWithoutIdDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.CreateMerchantRoutingFlowRuleWithoutIdDtoFromJSON = CreateMerchantRoutingFlowRuleWithoutIdDtoFromJSON;
|
|
37
|
+
function CreateMerchantRoutingFlowRuleWithoutIdDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if ((json === undefined) || (json === null)) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
const typed = {
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'actionType': json['actionType'],
|
|
44
|
+
'connectors': !(0, runtime_1.exists)(json, 'connectors') ? undefined : (0, CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors_1.CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsFromJSON)(json['connectors']),
|
|
45
|
+
'conditions': (0, CreateMerchantRoutingFlowRuleWithoutIdDtoConditions_1.CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsFromJSON)(json['conditions']),
|
|
46
|
+
};
|
|
47
|
+
return (0, runtime_1.removeNullUndefined)(typed);
|
|
48
|
+
}
|
|
49
|
+
exports.CreateMerchantRoutingFlowRuleWithoutIdDtoFromJSONTyped = CreateMerchantRoutingFlowRuleWithoutIdDtoFromJSONTyped;
|
|
50
|
+
function CreateMerchantRoutingFlowRuleWithoutIdDtoToJSON(value) {
|
|
51
|
+
if (value === undefined) {
|
|
52
|
+
return undefined;
|
|
53
|
+
}
|
|
54
|
+
if (value === null) {
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'name': value.name,
|
|
59
|
+
'actionType': value.actionType,
|
|
60
|
+
'connectors': (0, CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors_1.CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsToJSON)(value.connectors),
|
|
61
|
+
'conditions': (0, CreateMerchantRoutingFlowRuleWithoutIdDtoConditions_1.CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsToJSON)(value.conditions),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
exports.CreateMerchantRoutingFlowRuleWithoutIdDtoToJSON = CreateMerchantRoutingFlowRuleWithoutIdDtoToJSON;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Channel Payments API
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
import type { CreateMetadataRuleConditionDto } from './CreateMetadataRuleConditionDto';
|
|
8
|
+
import type { CreateRuleConditionsDtoAmount } from './CreateRuleConditionsDtoAmount';
|
|
9
|
+
import type { CreateRuleConditionsDtoCFee } from './CreateRuleConditionsDtoCFee';
|
|
10
|
+
/**
|
|
11
|
+
* The conditions for the rule
|
|
12
|
+
* @export
|
|
13
|
+
* @interface CreateMerchantRoutingFlowRuleWithoutIdDtoConditions
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateMerchantRoutingFlowRuleWithoutIdDtoConditions {
|
|
16
|
+
/**
|
|
17
|
+
* The metadata rule config
|
|
18
|
+
* @type {Array<CreateMetadataRuleConditionDto>}
|
|
19
|
+
* @memberof CreateMerchantRoutingFlowRuleWithoutIdDtoConditions
|
|
20
|
+
*/
|
|
21
|
+
metadata?: Array<CreateMetadataRuleConditionDto>;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {CreateRuleConditionsDtoAmount}
|
|
25
|
+
* @memberof CreateMerchantRoutingFlowRuleWithoutIdDtoConditions
|
|
26
|
+
*/
|
|
27
|
+
amount?: CreateRuleConditionsDtoAmount;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {CreateRuleConditionsDtoCFee}
|
|
31
|
+
* @memberof CreateMerchantRoutingFlowRuleWithoutIdDtoConditions
|
|
32
|
+
*/
|
|
33
|
+
cFee?: CreateRuleConditionsDtoCFee;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the CreateMerchantRoutingFlowRuleWithoutIdDtoConditions interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfCreateMerchantRoutingFlowRuleWithoutIdDtoConditions(value: object): boolean;
|
|
39
|
+
export declare function CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsFromJSON(json: any): CreateMerchantRoutingFlowRuleWithoutIdDtoConditions;
|
|
40
|
+
export declare function CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateMerchantRoutingFlowRuleWithoutIdDtoConditions;
|
|
41
|
+
export declare function CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsToJSON(value?: CreateMerchantRoutingFlowRuleWithoutIdDtoConditions | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsToJSON = exports.CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsFromJSONTyped = exports.CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsFromJSON = exports.instanceOfCreateMerchantRoutingFlowRuleWithoutIdDtoConditions = void 0;
|
|
12
|
+
const runtime_1 = require("../runtime");
|
|
13
|
+
const CreateMetadataRuleConditionDto_1 = require("./CreateMetadataRuleConditionDto");
|
|
14
|
+
const CreateRuleConditionsDtoAmount_1 = require("./CreateRuleConditionsDtoAmount");
|
|
15
|
+
const CreateRuleConditionsDtoCFee_1 = require("./CreateRuleConditionsDtoCFee");
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the CreateMerchantRoutingFlowRuleWithoutIdDtoConditions interface.
|
|
18
|
+
*/
|
|
19
|
+
function instanceOfCreateMerchantRoutingFlowRuleWithoutIdDtoConditions(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
return isInstance;
|
|
22
|
+
}
|
|
23
|
+
exports.instanceOfCreateMerchantRoutingFlowRuleWithoutIdDtoConditions = instanceOfCreateMerchantRoutingFlowRuleWithoutIdDtoConditions;
|
|
24
|
+
function CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsFromJSON(json) {
|
|
25
|
+
return CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
exports.CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsFromJSON = CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsFromJSON;
|
|
28
|
+
function CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
const typed = {
|
|
33
|
+
'metadata': !(0, runtime_1.exists)(json, 'metadata') ? undefined : (json['metadata'].map(CreateMetadataRuleConditionDto_1.CreateMetadataRuleConditionDtoFromJSON)),
|
|
34
|
+
'amount': !(0, runtime_1.exists)(json, 'amount') ? undefined : (0, CreateRuleConditionsDtoAmount_1.CreateRuleConditionsDtoAmountFromJSON)(json['amount']),
|
|
35
|
+
'cFee': !(0, runtime_1.exists)(json, 'cFee') ? undefined : (0, CreateRuleConditionsDtoCFee_1.CreateRuleConditionsDtoCFeeFromJSON)(json['cFee']),
|
|
36
|
+
};
|
|
37
|
+
return (0, runtime_1.removeNullUndefined)(typed);
|
|
38
|
+
}
|
|
39
|
+
exports.CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsFromJSONTyped = CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsFromJSONTyped;
|
|
40
|
+
function CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'metadata': value.metadata === undefined ? undefined : (value.metadata.map(CreateMetadataRuleConditionDto_1.CreateMetadataRuleConditionDtoToJSON)),
|
|
49
|
+
'amount': (0, CreateRuleConditionsDtoAmount_1.CreateRuleConditionsDtoAmountToJSON)(value.amount),
|
|
50
|
+
'cFee': (0, CreateRuleConditionsDtoCFee_1.CreateRuleConditionsDtoCFeeToJSON)(value.cFee),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsToJSON = CreateMerchantRoutingFlowRuleWithoutIdDtoConditionsToJSON;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Channel Payments API
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* The actions for the rule
|
|
9
|
+
* @export
|
|
10
|
+
* @interface CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors {
|
|
13
|
+
/**
|
|
14
|
+
* The primary connector for the action
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors
|
|
17
|
+
*/
|
|
18
|
+
primaryConnector?: CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsPrimaryConnectorEnum;
|
|
19
|
+
/**
|
|
20
|
+
* The secondary connectors for the action
|
|
21
|
+
* @type {Array<string>}
|
|
22
|
+
* @memberof CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors
|
|
23
|
+
*/
|
|
24
|
+
fallbackConnectors?: Array<CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsFallbackConnectorsEnum>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
export declare const CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsPrimaryConnectorEnum: {
|
|
30
|
+
readonly Epay: "EPAY";
|
|
31
|
+
readonly Nmi: "NMI";
|
|
32
|
+
readonly AuthorizeNet: "AUTHORIZE_NET";
|
|
33
|
+
readonly ChannelPayments: "CHANNEL_PAYMENTS";
|
|
34
|
+
};
|
|
35
|
+
export type CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsPrimaryConnectorEnum = typeof CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsPrimaryConnectorEnum[keyof typeof CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsPrimaryConnectorEnum];
|
|
36
|
+
/**
|
|
37
|
+
* @export
|
|
38
|
+
*/
|
|
39
|
+
export declare const CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsFallbackConnectorsEnum: {
|
|
40
|
+
readonly Epay: "EPAY";
|
|
41
|
+
readonly Nmi: "NMI";
|
|
42
|
+
readonly AuthorizeNet: "AUTHORIZE_NET";
|
|
43
|
+
readonly ChannelPayments: "CHANNEL_PAYMENTS";
|
|
44
|
+
};
|
|
45
|
+
export type CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsFallbackConnectorsEnum = typeof CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsFallbackConnectorsEnum[keyof typeof CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsFallbackConnectorsEnum];
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfCreateMerchantRoutingFlowRuleWithoutIdDtoConnectors(value: object): boolean;
|
|
50
|
+
export declare function CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsFromJSON(json: any): CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors;
|
|
51
|
+
export declare function CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors;
|
|
52
|
+
export declare function CreateMerchantRoutingFlowRuleWithoutIdDtoConnectorsToJSON(value?: CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors | null): any;
|