@channelpayments/node-sdk 1.28.2 → 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.
Files changed (397) hide show
  1. package/dist/cjs/{src/apis → apis}/ChannelPaymentsApi.d.ts +12 -1
  2. package/dist/cjs/{src/apis → apis}/ChannelPaymentsApi.js +17 -7
  3. package/dist/cjs/models/AddressEntity1.d.ts +62 -0
  4. package/dist/cjs/models/AddressEntity1.js +63 -0
  5. package/dist/cjs/models/AmountRuleConditionEntity.d.ts +53 -0
  6. package/dist/cjs/models/AmountRuleConditionEntity.js +61 -0
  7. package/dist/cjs/{src/models → models}/BuyerEntity1.d.ts +9 -3
  8. package/dist/cjs/{src/models → models}/BuyerEntity1.js +5 -3
  9. package/dist/cjs/models/BuyerEntity1Address.d.ts +62 -0
  10. package/dist/cjs/models/BuyerEntity1Address.js +63 -0
  11. package/dist/cjs/models/CFeeRuleConditionEntity.d.ts +40 -0
  12. package/dist/cjs/models/CFeeRuleConditionEntity.js +57 -0
  13. package/dist/cjs/{src/models → models}/CardDetails.d.ts +6 -6
  14. package/dist/cjs/{src/models → models}/CardDetails.js +8 -8
  15. package/dist/cjs/models/CreateAmountRuleConditionDto.d.ts +44 -0
  16. package/dist/cjs/models/CreateAmountRuleConditionDto.js +53 -0
  17. package/dist/cjs/models/CreateCFeeDto.d.ts +40 -0
  18. package/dist/cjs/{src/models/CFeeDto.js → models/CreateCFeeDto.js} +12 -12
  19. package/dist/cjs/models/CreateCFeeRuleConditionDto.d.ts +32 -0
  20. package/dist/cjs/models/CreateCFeeRuleConditionDto.js +50 -0
  21. package/dist/{mjs/src → cjs}/models/CreateMerchantAccountDto.d.ts +48 -13
  22. package/dist/cjs/{src/models → models}/CreateMerchantAccountDto.js +41 -16
  23. package/dist/cjs/models/CreateMerchantAccountDtoCFee.d.ts +40 -0
  24. package/dist/cjs/{src/models/CreateMerchantAccountDtoCfee.js → models/CreateMerchantAccountDtoCFee.js} +12 -12
  25. package/dist/cjs/models/CreateMerchantAccountWithoutMerchantIdDto.d.ts +149 -0
  26. package/dist/cjs/models/CreateMerchantAccountWithoutMerchantIdDto.js +121 -0
  27. package/dist/cjs/models/CreateMerchantConnectorWithoutMerchantAccountIdDto.d.ts +62 -0
  28. package/dist/cjs/models/CreateMerchantConnectorWithoutMerchantAccountIdDto.js +71 -0
  29. package/dist/{mjs/src → cjs}/models/CreateMerchantDto.d.ts +3 -3
  30. package/dist/cjs/{src/models → models}/CreateMerchantDto.js +3 -3
  31. package/dist/cjs/models/CreateMerchantRoutingFlowDto.d.ts +47 -0
  32. package/dist/cjs/models/CreateMerchantRoutingFlowDto.js +61 -0
  33. package/dist/cjs/models/CreateMerchantRoutingFlowRuleDto.d.ts +60 -0
  34. package/dist/cjs/models/CreateMerchantRoutingFlowRuleDto.js +66 -0
  35. package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDto.d.ts +54 -0
  36. package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDto.js +64 -0
  37. package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConditions.d.ts +41 -0
  38. package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConditions.js +53 -0
  39. package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors.d.ts +52 -0
  40. package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors.js +66 -0
  41. package/dist/cjs/models/CreateMetadataRuleConditionDto.d.ts +49 -0
  42. package/dist/cjs/models/CreateMetadataRuleConditionDto.js +63 -0
  43. package/dist/{mjs/src → cjs}/models/CreatePaymentMethodDto.d.ts +2 -1
  44. package/dist/cjs/{src/models → models}/CreatePaymentMethodDto.js +3 -3
  45. package/dist/cjs/models/CreateRuleConditionsDto.d.ts +41 -0
  46. package/dist/cjs/models/CreateRuleConditionsDto.js +53 -0
  47. package/dist/cjs/models/CreateRuleConditionsDtoAmount.d.ts +44 -0
  48. package/dist/cjs/models/CreateRuleConditionsDtoAmount.js +53 -0
  49. package/dist/cjs/models/CreateRuleConditionsDtoCFee.d.ts +32 -0
  50. package/dist/cjs/models/CreateRuleConditionsDtoCFee.js +50 -0
  51. package/dist/cjs/models/CreateRuleConnectorsDto.d.ts +52 -0
  52. package/dist/cjs/models/CreateRuleConnectorsDto.js +66 -0
  53. package/dist/cjs/{src/models → models}/CreateTransactionDto.d.ts +4 -4
  54. package/dist/cjs/{src/models → models}/CreateTransactionDto.js +4 -4
  55. package/dist/{mjs/src → cjs}/models/CreateTransactionDtoPaymentMethod.d.ts +0 -1
  56. package/dist/cjs/{src/models → models}/CreateTransactionDtoPaymentMethod.js +1 -2
  57. package/dist/cjs/models/CreateUserDto.d.ts +65 -0
  58. package/dist/cjs/models/CreateUserDto.js +69 -0
  59. package/dist/cjs/models/MerchantAccountEntity.d.ts +172 -0
  60. package/dist/cjs/{src/models → models}/MerchantAccountEntity.js +63 -18
  61. package/dist/cjs/models/MerchantAccountEntityCFee.d.ts +40 -0
  62. package/dist/cjs/{src/models/MerchantAccountEntityCfee.js → models/MerchantAccountEntityCFee.js} +12 -12
  63. package/dist/cjs/models/MerchantConnectorEntity.d.ts +92 -0
  64. package/dist/cjs/models/MerchantConnectorEntity.js +86 -0
  65. package/dist/cjs/{src/models → models}/MerchantEntity.d.ts +6 -0
  66. package/dist/cjs/{src/models → models}/MerchantEntity.js +3 -0
  67. package/dist/cjs/models/MerchantRoutingFlowEntity.d.ts +65 -0
  68. package/dist/cjs/models/MerchantRoutingFlowEntity.js +70 -0
  69. package/dist/cjs/models/MerchantRoutingFlowRuleEntity.d.ts +78 -0
  70. package/dist/cjs/models/MerchantRoutingFlowRuleEntity.js +76 -0
  71. package/dist/cjs/models/MerchantRoutingFlowRuleEntityConditions.d.ts +41 -0
  72. package/dist/cjs/models/MerchantRoutingFlowRuleEntityConditions.js +53 -0
  73. package/dist/cjs/models/MerchantRoutingFlowRuleEntityConnectors.d.ts +52 -0
  74. package/dist/cjs/models/MerchantRoutingFlowRuleEntityConnectors.js +67 -0
  75. package/dist/cjs/models/MetadataRuleConditionEntity.d.ts +49 -0
  76. package/dist/cjs/models/MetadataRuleConditionEntity.js +63 -0
  77. package/dist/cjs/{src/models → models}/PaymentMethodDto.d.ts +0 -1
  78. package/dist/cjs/{src/models → models}/PaymentMethodDto.js +1 -2
  79. package/dist/{mjs/src → cjs}/models/PaymentMethodEntity.d.ts +11 -8
  80. package/dist/cjs/{src/models → models}/PaymentMethodEntity.js +10 -7
  81. package/dist/{mjs/src → cjs}/models/PaymentMethodEntity1.d.ts +27 -3
  82. package/dist/cjs/{src/models → models}/PaymentMethodEntity1.js +11 -3
  83. package/dist/{mjs/src → cjs}/models/PaymentMethodEntityBuyer.d.ts +9 -3
  84. package/dist/cjs/{src/models → models}/PaymentMethodEntityBuyer.js +5 -3
  85. package/dist/cjs/models/PaymentMethodEntityCardDetails.d.ts +59 -0
  86. package/dist/cjs/models/PaymentMethodEntityCardDetails.js +67 -0
  87. package/dist/cjs/models/RuleConditionsEntity.d.ts +41 -0
  88. package/dist/cjs/models/RuleConditionsEntity.js +53 -0
  89. package/dist/cjs/models/RuleConditionsEntityAmount.d.ts +53 -0
  90. package/dist/cjs/models/RuleConditionsEntityAmount.js +61 -0
  91. package/dist/cjs/models/RuleConditionsEntityCfee.d.ts +40 -0
  92. package/dist/cjs/models/RuleConditionsEntityCfee.js +57 -0
  93. package/dist/cjs/models/RuleConnectorsEntity.d.ts +52 -0
  94. package/dist/cjs/models/RuleConnectorsEntity.js +67 -0
  95. package/dist/cjs/{src/models → models}/TransactionEntity.d.ts +37 -0
  96. package/dist/cjs/{src/models → models}/TransactionEntity.js +22 -2
  97. package/dist/cjs/{src/models → models}/UpdateBuyerDto.d.ts +1 -1
  98. package/dist/{mjs/src → cjs}/models/UpdateCFeeDto.d.ts +4 -4
  99. package/dist/cjs/{src/models → models}/UpdateCFeeDto.js +4 -2
  100. package/dist/cjs/{src/models → models}/UpdateMerchantAccountDto.d.ts +44 -9
  101. package/dist/cjs/{src/models → models}/UpdateMerchantAccountDto.js +35 -10
  102. package/dist/cjs/models/UpdateMerchantAccountDtoCFee.d.ts +40 -0
  103. package/dist/cjs/models/UpdateMerchantAccountDtoCFee.js +57 -0
  104. package/dist/cjs/models/UpdateMerchantRoutingFlowRuleDto.d.ts +60 -0
  105. package/dist/cjs/models/UpdateMerchantRoutingFlowRuleDto.js +64 -0
  106. package/dist/cjs/models/UpdateSelfDto.d.ts +75 -0
  107. package/dist/cjs/models/UpdateSelfDto.js +73 -0
  108. package/dist/cjs/models/UpdateUserDto.d.ts +81 -0
  109. package/dist/cjs/models/UpdateUserDto.js +76 -0
  110. package/dist/cjs/models/UserEntity.d.ts +99 -0
  111. package/dist/cjs/models/UserEntity.js +90 -0
  112. package/dist/cjs/{src/models → models}/index.d.ts +38 -9
  113. package/dist/cjs/{src/models → models}/index.js +38 -9
  114. package/dist/mjs/{src/apis → apis}/ChannelPaymentsApi.d.ts +12 -1
  115. package/dist/mjs/{src/apis → apis}/ChannelPaymentsApi.js +17 -7
  116. package/dist/mjs/models/AddressEntity1.d.ts +62 -0
  117. package/dist/mjs/models/AddressEntity1.js +56 -0
  118. package/dist/mjs/models/AmountRuleConditionEntity.d.ts +53 -0
  119. package/dist/mjs/models/AmountRuleConditionEntity.js +54 -0
  120. package/dist/mjs/{src/models → models}/BuyerEntity1.d.ts +9 -3
  121. package/dist/mjs/{src/models → models}/BuyerEntity1.js +5 -3
  122. package/dist/mjs/models/BuyerEntity1Address.d.ts +62 -0
  123. package/dist/mjs/models/BuyerEntity1Address.js +56 -0
  124. package/dist/mjs/models/CFeeRuleConditionEntity.d.ts +40 -0
  125. package/dist/mjs/models/CFeeRuleConditionEntity.js +50 -0
  126. package/dist/mjs/{src/models → models}/CardDetails.d.ts +6 -6
  127. package/dist/mjs/{src/models → models}/CardDetails.js +7 -7
  128. package/dist/mjs/models/CreateAmountRuleConditionDto.d.ts +44 -0
  129. package/dist/mjs/models/CreateAmountRuleConditionDto.js +46 -0
  130. package/dist/mjs/models/CreateCFeeDto.d.ts +40 -0
  131. package/dist/mjs/{src/models/CFeeDto.js → models/CreateCFeeDto.js} +7 -7
  132. package/dist/mjs/models/CreateCFeeRuleConditionDto.d.ts +32 -0
  133. package/dist/mjs/models/CreateCFeeRuleConditionDto.js +43 -0
  134. package/dist/{cjs/src → mjs}/models/CreateMerchantAccountDto.d.ts +48 -13
  135. package/dist/mjs/{src/models → models}/CreateMerchantAccountDto.js +40 -15
  136. package/dist/mjs/models/CreateMerchantAccountDtoCFee.d.ts +40 -0
  137. package/dist/mjs/{src/models/CreateMerchantAccountDtoCfee.js → models/CreateMerchantAccountDtoCFee.js} +7 -7
  138. package/dist/mjs/models/CreateMerchantAccountWithoutMerchantIdDto.d.ts +149 -0
  139. package/dist/mjs/models/CreateMerchantAccountWithoutMerchantIdDto.js +114 -0
  140. package/dist/mjs/models/CreateMerchantConnectorWithoutMerchantAccountIdDto.d.ts +62 -0
  141. package/dist/mjs/models/CreateMerchantConnectorWithoutMerchantAccountIdDto.js +64 -0
  142. package/dist/{cjs/src → mjs}/models/CreateMerchantDto.d.ts +3 -3
  143. package/dist/mjs/{src/models → models}/CreateMerchantDto.js +3 -3
  144. package/dist/mjs/models/CreateMerchantRoutingFlowDto.d.ts +47 -0
  145. package/dist/mjs/models/CreateMerchantRoutingFlowDto.js +54 -0
  146. package/dist/mjs/models/CreateMerchantRoutingFlowRuleDto.d.ts +60 -0
  147. package/dist/mjs/models/CreateMerchantRoutingFlowRuleDto.js +59 -0
  148. package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDto.d.ts +54 -0
  149. package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDto.js +57 -0
  150. package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConditions.d.ts +41 -0
  151. package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConditions.js +46 -0
  152. package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors.d.ts +52 -0
  153. package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors.js +59 -0
  154. package/dist/mjs/models/CreateMetadataRuleConditionDto.d.ts +49 -0
  155. package/dist/mjs/models/CreateMetadataRuleConditionDto.js +56 -0
  156. package/dist/{cjs/src → mjs}/models/CreatePaymentMethodDto.d.ts +2 -1
  157. package/dist/mjs/{src/models → models}/CreatePaymentMethodDto.js +3 -3
  158. package/dist/mjs/models/CreateRuleConditionsDto.d.ts +41 -0
  159. package/dist/mjs/models/CreateRuleConditionsDto.js +46 -0
  160. package/dist/mjs/models/CreateRuleConditionsDtoAmount.d.ts +44 -0
  161. package/dist/mjs/models/CreateRuleConditionsDtoAmount.js +46 -0
  162. package/dist/mjs/models/CreateRuleConditionsDtoCFee.d.ts +32 -0
  163. package/dist/mjs/models/CreateRuleConditionsDtoCFee.js +43 -0
  164. package/dist/mjs/models/CreateRuleConnectorsDto.d.ts +52 -0
  165. package/dist/mjs/models/CreateRuleConnectorsDto.js +59 -0
  166. package/dist/mjs/{src/models → models}/CreateTransactionDto.d.ts +4 -4
  167. package/dist/mjs/{src/models → models}/CreateTransactionDto.js +4 -4
  168. package/dist/{cjs/src → mjs}/models/CreateTransactionDtoPaymentMethod.d.ts +0 -1
  169. package/dist/mjs/{src/models → models}/CreateTransactionDtoPaymentMethod.js +1 -2
  170. package/dist/mjs/models/CreateUserDto.d.ts +65 -0
  171. package/dist/mjs/models/CreateUserDto.js +62 -0
  172. package/dist/mjs/models/MerchantAccountEntity.d.ts +172 -0
  173. package/dist/mjs/models/MerchantAccountEntity.js +135 -0
  174. package/dist/mjs/models/MerchantAccountEntityCFee.d.ts +40 -0
  175. package/dist/mjs/{src/models/MerchantAccountEntityCfee.js → models/MerchantAccountEntityCFee.js} +7 -7
  176. package/dist/mjs/models/MerchantConnectorEntity.d.ts +92 -0
  177. package/dist/mjs/models/MerchantConnectorEntity.js +79 -0
  178. package/dist/mjs/{src/models → models}/MerchantEntity.d.ts +6 -0
  179. package/dist/mjs/{src/models → models}/MerchantEntity.js +3 -0
  180. package/dist/mjs/models/MerchantRoutingFlowEntity.d.ts +65 -0
  181. package/dist/mjs/models/MerchantRoutingFlowEntity.js +63 -0
  182. package/dist/mjs/models/MerchantRoutingFlowRuleEntity.d.ts +78 -0
  183. package/dist/mjs/models/MerchantRoutingFlowRuleEntity.js +69 -0
  184. package/dist/mjs/models/MerchantRoutingFlowRuleEntityConditions.d.ts +41 -0
  185. package/dist/mjs/models/MerchantRoutingFlowRuleEntityConditions.js +46 -0
  186. package/dist/mjs/models/MerchantRoutingFlowRuleEntityConnectors.d.ts +52 -0
  187. package/dist/mjs/models/MerchantRoutingFlowRuleEntityConnectors.js +60 -0
  188. package/dist/mjs/models/MetadataRuleConditionEntity.d.ts +49 -0
  189. package/dist/mjs/models/MetadataRuleConditionEntity.js +56 -0
  190. package/dist/mjs/{src/models → models}/PaymentMethodDto.d.ts +0 -1
  191. package/dist/mjs/{src/models → models}/PaymentMethodDto.js +1 -2
  192. package/dist/{cjs/src → mjs}/models/PaymentMethodEntity.d.ts +11 -8
  193. package/dist/mjs/{src/models → models}/PaymentMethodEntity.js +10 -7
  194. package/dist/{cjs/src → mjs}/models/PaymentMethodEntity1.d.ts +27 -3
  195. package/dist/mjs/{src/models → models}/PaymentMethodEntity1.js +11 -3
  196. package/dist/{cjs/src → mjs}/models/PaymentMethodEntityBuyer.d.ts +9 -3
  197. package/dist/mjs/{src/models → models}/PaymentMethodEntityBuyer.js +5 -3
  198. package/dist/mjs/models/PaymentMethodEntityCardDetails.d.ts +59 -0
  199. package/dist/mjs/{src/models/PaymentMethodEntityDetails.js → models/PaymentMethodEntityCardDetails.js} +13 -13
  200. package/dist/mjs/models/RuleConditionsEntity.d.ts +41 -0
  201. package/dist/mjs/models/RuleConditionsEntity.js +46 -0
  202. package/dist/mjs/models/RuleConditionsEntityAmount.d.ts +53 -0
  203. package/dist/mjs/models/RuleConditionsEntityAmount.js +54 -0
  204. package/dist/mjs/models/RuleConditionsEntityCfee.d.ts +40 -0
  205. package/dist/mjs/models/RuleConditionsEntityCfee.js +50 -0
  206. package/dist/mjs/models/RuleConnectorsEntity.d.ts +52 -0
  207. package/dist/mjs/models/RuleConnectorsEntity.js +60 -0
  208. package/dist/mjs/{src/models → models}/TransactionEntity.d.ts +37 -0
  209. package/dist/mjs/{src/models → models}/TransactionEntity.js +22 -2
  210. package/dist/mjs/{src/models → models}/UpdateBuyerDto.d.ts +1 -1
  211. package/dist/{cjs/src → mjs}/models/UpdateCFeeDto.d.ts +4 -4
  212. package/dist/mjs/{src/models → models}/UpdateCFeeDto.js +5 -3
  213. package/dist/mjs/{src/models → models}/UpdateMerchantAccountDto.d.ts +44 -9
  214. package/dist/mjs/{src/models → models}/UpdateMerchantAccountDto.js +34 -9
  215. package/dist/mjs/models/UpdateMerchantAccountDtoCFee.d.ts +40 -0
  216. package/dist/mjs/models/UpdateMerchantAccountDtoCFee.js +50 -0
  217. package/dist/mjs/models/UpdateMerchantRoutingFlowRuleDto.d.ts +60 -0
  218. package/dist/mjs/models/UpdateMerchantRoutingFlowRuleDto.js +57 -0
  219. package/dist/mjs/models/UpdateSelfDto.d.ts +75 -0
  220. package/dist/mjs/models/UpdateSelfDto.js +66 -0
  221. package/dist/mjs/models/UpdateUserDto.d.ts +81 -0
  222. package/dist/mjs/models/UpdateUserDto.js +69 -0
  223. package/dist/mjs/models/UserEntity.d.ts +99 -0
  224. package/dist/mjs/models/UserEntity.js +83 -0
  225. package/dist/mjs/{src/models → models}/index.d.ts +38 -9
  226. package/dist/mjs/{src/models → models}/index.js +38 -9
  227. package/package.json +1 -1
  228. package/dist/cjs/src/models/CFeeDto.d.ts +0 -40
  229. package/dist/cjs/src/models/CreateMerchantAccountDtoCfee.d.ts +0 -40
  230. package/dist/cjs/src/models/CreateMerchantAccountDtoGateways.d.ts +0 -41
  231. package/dist/cjs/src/models/CreateMerchantAccountDtoGateways.js +0 -58
  232. package/dist/cjs/src/models/CreateMerchantAccountsDto.d.ts +0 -114
  233. package/dist/cjs/src/models/CreateMerchantAccountsDto.js +0 -96
  234. package/dist/cjs/src/models/CreateMerchantGateway.d.ts +0 -41
  235. package/dist/cjs/src/models/CreateMerchantGateway.js +0 -58
  236. package/dist/cjs/src/models/MerchantAccountEntity.d.ts +0 -108
  237. package/dist/cjs/src/models/MerchantAccountEntityCfee.d.ts +0 -40
  238. package/dist/cjs/src/models/MerchantGatewayEntity.d.ts +0 -59
  239. package/dist/cjs/src/models/MerchantGatewayEntity.js +0 -67
  240. package/dist/cjs/src/models/PaymentMethodEntityDetails.d.ts +0 -59
  241. package/dist/cjs/src/models/PaymentMethodEntityDetails.js +0 -67
  242. package/dist/cjs/src/models/UpdateMerchantAccountDtoCfee.d.ts +0 -40
  243. package/dist/cjs/src/models/UpdateMerchantAccountDtoCfee.js +0 -55
  244. package/dist/cjs/test.d.ts +0 -1
  245. package/dist/cjs/test.js +0 -57
  246. package/dist/mjs/src/models/CFeeDto.d.ts +0 -40
  247. package/dist/mjs/src/models/CreateMerchantAccountDtoCfee.d.ts +0 -40
  248. package/dist/mjs/src/models/CreateMerchantAccountDtoGateways.d.ts +0 -41
  249. package/dist/mjs/src/models/CreateMerchantAccountDtoGateways.js +0 -51
  250. package/dist/mjs/src/models/CreateMerchantAccountsDto.d.ts +0 -114
  251. package/dist/mjs/src/models/CreateMerchantAccountsDto.js +0 -89
  252. package/dist/mjs/src/models/CreateMerchantGateway.d.ts +0 -41
  253. package/dist/mjs/src/models/CreateMerchantGateway.js +0 -51
  254. package/dist/mjs/src/models/MerchantAccountEntity.d.ts +0 -108
  255. package/dist/mjs/src/models/MerchantAccountEntity.js +0 -90
  256. package/dist/mjs/src/models/MerchantAccountEntityCfee.d.ts +0 -40
  257. package/dist/mjs/src/models/MerchantGatewayEntity.d.ts +0 -59
  258. package/dist/mjs/src/models/MerchantGatewayEntity.js +0 -60
  259. package/dist/mjs/src/models/PaymentMethodEntityDetails.d.ts +0 -59
  260. package/dist/mjs/src/models/UpdateMerchantAccountDtoCfee.d.ts +0 -40
  261. package/dist/mjs/src/models/UpdateMerchantAccountDtoCfee.js +0 -48
  262. package/dist/mjs/test.d.ts +0 -1
  263. package/dist/mjs/test.js +0 -23
  264. /package/dist/cjs/{src/apis → apis}/index.d.ts +0 -0
  265. /package/dist/cjs/{src/apis → apis}/index.js +0 -0
  266. /package/dist/cjs/{src/index.d.ts → index.d.ts} +0 -0
  267. /package/dist/cjs/{src/index.js → index.js} +0 -0
  268. /package/dist/cjs/{src/models → models}/AddressDto.d.ts +0 -0
  269. /package/dist/cjs/{src/models → models}/AddressDto.js +0 -0
  270. /package/dist/cjs/{src/models → models}/AddressEntity.d.ts +0 -0
  271. /package/dist/cjs/{src/models → models}/AddressEntity.js +0 -0
  272. /package/dist/cjs/{src/models → models}/BuyerAddressEntity.d.ts +0 -0
  273. /package/dist/cjs/{src/models → models}/BuyerAddressEntity.js +0 -0
  274. /package/dist/cjs/{src/models → models}/BuyerEntity.d.ts +0 -0
  275. /package/dist/cjs/{src/models → models}/BuyerEntity.js +0 -0
  276. /package/dist/cjs/{src/models → models}/BuyerEntityAddress.d.ts +0 -0
  277. /package/dist/cjs/{src/models → models}/BuyerEntityAddress.js +0 -0
  278. /package/dist/cjs/{src/models → models}/BuyersSearchEntity.d.ts +0 -0
  279. /package/dist/cjs/{src/models → models}/BuyersSearchEntity.js +0 -0
  280. /package/dist/cjs/{src/models → models}/CFeeEntity.d.ts +0 -0
  281. /package/dist/cjs/{src/models → models}/CFeeEntity.js +0 -0
  282. /package/dist/cjs/{src/models → models}/CaptureTransactionDto.d.ts +0 -0
  283. /package/dist/cjs/{src/models → models}/CaptureTransactionDto.js +0 -0
  284. /package/dist/cjs/{src/models → models}/CreateBuyerDto.d.ts +0 -0
  285. /package/dist/cjs/{src/models → models}/CreateBuyerDto.js +0 -0
  286. /package/dist/cjs/{src/models → models}/CreateBuyerDtoAddress.d.ts +0 -0
  287. /package/dist/cjs/{src/models → models}/CreateBuyerDtoAddress.js +0 -0
  288. /package/dist/cjs/{src/models → models}/CreateMerchantAddressDto.d.ts +0 -0
  289. /package/dist/cjs/{src/models → models}/CreateMerchantAddressDto.js +0 -0
  290. /package/dist/cjs/{src/models → models}/CreateMerchantCredentialsDto.d.ts +0 -0
  291. /package/dist/cjs/{src/models → models}/CreateMerchantCredentialsDto.js +0 -0
  292. /package/dist/cjs/{src/models → models}/CreateMerchantDtoAddress.d.ts +0 -0
  293. /package/dist/cjs/{src/models → models}/CreateMerchantDtoAddress.js +0 -0
  294. /package/dist/cjs/{src/models → models}/ErrorEntity.d.ts +0 -0
  295. /package/dist/cjs/{src/models → models}/ErrorEntity.js +0 -0
  296. /package/dist/cjs/{src/models → models}/MerchantAddressEntity.d.ts +0 -0
  297. /package/dist/cjs/{src/models → models}/MerchantAddressEntity.js +0 -0
  298. /package/dist/cjs/{src/models → models}/MerchantCredentialsEntity.d.ts +0 -0
  299. /package/dist/cjs/{src/models → models}/MerchantCredentialsEntity.js +0 -0
  300. /package/dist/cjs/{src/models → models}/MerchantEntityAddress.d.ts +0 -0
  301. /package/dist/cjs/{src/models → models}/MerchantEntityAddress.js +0 -0
  302. /package/dist/cjs/{src/models → models}/PaymentMethodsSearchEntity.d.ts +0 -0
  303. /package/dist/cjs/{src/models → models}/PaymentMethodsSearchEntity.js +0 -0
  304. /package/dist/cjs/{src/models → models}/PaymentsBuyerEntity.d.ts +0 -0
  305. /package/dist/cjs/{src/models → models}/PaymentsBuyerEntity.js +0 -0
  306. /package/dist/cjs/{src/models → models}/RefundTransactionDto.d.ts +0 -0
  307. /package/dist/cjs/{src/models → models}/RefundTransactionDto.js +0 -0
  308. /package/dist/cjs/{src/models → models}/TransactionRefundEntity.d.ts +0 -0
  309. /package/dist/cjs/{src/models → models}/TransactionRefundEntity.js +0 -0
  310. /package/dist/cjs/{src/models → models}/TransactionRefundsSearchEntity.d.ts +0 -0
  311. /package/dist/cjs/{src/models → models}/TransactionRefundsSearchEntity.js +0 -0
  312. /package/dist/cjs/{src/models → models}/TransactionsSearchEntity.d.ts +0 -0
  313. /package/dist/cjs/{src/models → models}/TransactionsSearchEntity.js +0 -0
  314. /package/dist/cjs/{src/models → models}/UpdateAddressDto.d.ts +0 -0
  315. /package/dist/cjs/{src/models → models}/UpdateAddressDto.js +0 -0
  316. /package/dist/cjs/{src/models → models}/UpdateBuyerDto.js +0 -0
  317. /package/dist/cjs/{src/models → models}/UpdateBuyerDtoAddress.d.ts +0 -0
  318. /package/dist/cjs/{src/models → models}/UpdateBuyerDtoAddress.js +0 -0
  319. /package/dist/cjs/{src/models → models}/UpdateMerchantAddressDto.d.ts +0 -0
  320. /package/dist/cjs/{src/models → models}/UpdateMerchantAddressDto.js +0 -0
  321. /package/dist/cjs/{src/models → models}/UpdateMerchantCredentialsDto.d.ts +0 -0
  322. /package/dist/cjs/{src/models → models}/UpdateMerchantCredentialsDto.js +0 -0
  323. /package/dist/cjs/{src/models → models}/UpdateMerchantDto.d.ts +0 -0
  324. /package/dist/cjs/{src/models → models}/UpdateMerchantDto.js +0 -0
  325. /package/dist/cjs/{src/models → models}/UpdateMerchantDtoAddress.d.ts +0 -0
  326. /package/dist/cjs/{src/models → models}/UpdateMerchantDtoAddress.js +0 -0
  327. /package/dist/cjs/{src/models → models}/ValidateMerchantCredentialsDto.d.ts +0 -0
  328. /package/dist/cjs/{src/models → models}/ValidateMerchantCredentialsDto.js +0 -0
  329. /package/dist/cjs/{src/runtime.d.ts → runtime.d.ts} +0 -0
  330. /package/dist/cjs/{src/runtime.js → runtime.js} +0 -0
  331. /package/dist/mjs/{src/apis → apis}/index.d.ts +0 -0
  332. /package/dist/mjs/{src/apis → apis}/index.js +0 -0
  333. /package/dist/mjs/{src/index.d.ts → index.d.ts} +0 -0
  334. /package/dist/mjs/{src/index.js → index.js} +0 -0
  335. /package/dist/mjs/{src/models → models}/AddressDto.d.ts +0 -0
  336. /package/dist/mjs/{src/models → models}/AddressDto.js +0 -0
  337. /package/dist/mjs/{src/models → models}/AddressEntity.d.ts +0 -0
  338. /package/dist/mjs/{src/models → models}/AddressEntity.js +0 -0
  339. /package/dist/mjs/{src/models → models}/BuyerAddressEntity.d.ts +0 -0
  340. /package/dist/mjs/{src/models → models}/BuyerAddressEntity.js +0 -0
  341. /package/dist/mjs/{src/models → models}/BuyerEntity.d.ts +0 -0
  342. /package/dist/mjs/{src/models → models}/BuyerEntity.js +0 -0
  343. /package/dist/mjs/{src/models → models}/BuyerEntityAddress.d.ts +0 -0
  344. /package/dist/mjs/{src/models → models}/BuyerEntityAddress.js +0 -0
  345. /package/dist/mjs/{src/models → models}/BuyersSearchEntity.d.ts +0 -0
  346. /package/dist/mjs/{src/models → models}/BuyersSearchEntity.js +0 -0
  347. /package/dist/mjs/{src/models → models}/CFeeEntity.d.ts +0 -0
  348. /package/dist/mjs/{src/models → models}/CFeeEntity.js +0 -0
  349. /package/dist/mjs/{src/models → models}/CaptureTransactionDto.d.ts +0 -0
  350. /package/dist/mjs/{src/models → models}/CaptureTransactionDto.js +0 -0
  351. /package/dist/mjs/{src/models → models}/CreateBuyerDto.d.ts +0 -0
  352. /package/dist/mjs/{src/models → models}/CreateBuyerDto.js +0 -0
  353. /package/dist/mjs/{src/models → models}/CreateBuyerDtoAddress.d.ts +0 -0
  354. /package/dist/mjs/{src/models → models}/CreateBuyerDtoAddress.js +0 -0
  355. /package/dist/mjs/{src/models → models}/CreateMerchantAddressDto.d.ts +0 -0
  356. /package/dist/mjs/{src/models → models}/CreateMerchantAddressDto.js +0 -0
  357. /package/dist/mjs/{src/models → models}/CreateMerchantCredentialsDto.d.ts +0 -0
  358. /package/dist/mjs/{src/models → models}/CreateMerchantCredentialsDto.js +0 -0
  359. /package/dist/mjs/{src/models → models}/CreateMerchantDtoAddress.d.ts +0 -0
  360. /package/dist/mjs/{src/models → models}/CreateMerchantDtoAddress.js +0 -0
  361. /package/dist/mjs/{src/models → models}/ErrorEntity.d.ts +0 -0
  362. /package/dist/mjs/{src/models → models}/ErrorEntity.js +0 -0
  363. /package/dist/mjs/{src/models → models}/MerchantAddressEntity.d.ts +0 -0
  364. /package/dist/mjs/{src/models → models}/MerchantAddressEntity.js +0 -0
  365. /package/dist/mjs/{src/models → models}/MerchantCredentialsEntity.d.ts +0 -0
  366. /package/dist/mjs/{src/models → models}/MerchantCredentialsEntity.js +0 -0
  367. /package/dist/mjs/{src/models → models}/MerchantEntityAddress.d.ts +0 -0
  368. /package/dist/mjs/{src/models → models}/MerchantEntityAddress.js +0 -0
  369. /package/dist/mjs/{src/models → models}/PaymentMethodsSearchEntity.d.ts +0 -0
  370. /package/dist/mjs/{src/models → models}/PaymentMethodsSearchEntity.js +0 -0
  371. /package/dist/mjs/{src/models → models}/PaymentsBuyerEntity.d.ts +0 -0
  372. /package/dist/mjs/{src/models → models}/PaymentsBuyerEntity.js +0 -0
  373. /package/dist/mjs/{src/models → models}/RefundTransactionDto.d.ts +0 -0
  374. /package/dist/mjs/{src/models → models}/RefundTransactionDto.js +0 -0
  375. /package/dist/mjs/{src/models → models}/TransactionRefundEntity.d.ts +0 -0
  376. /package/dist/mjs/{src/models → models}/TransactionRefundEntity.js +0 -0
  377. /package/dist/mjs/{src/models → models}/TransactionRefundsSearchEntity.d.ts +0 -0
  378. /package/dist/mjs/{src/models → models}/TransactionRefundsSearchEntity.js +0 -0
  379. /package/dist/mjs/{src/models → models}/TransactionsSearchEntity.d.ts +0 -0
  380. /package/dist/mjs/{src/models → models}/TransactionsSearchEntity.js +0 -0
  381. /package/dist/mjs/{src/models → models}/UpdateAddressDto.d.ts +0 -0
  382. /package/dist/mjs/{src/models → models}/UpdateAddressDto.js +0 -0
  383. /package/dist/mjs/{src/models → models}/UpdateBuyerDto.js +0 -0
  384. /package/dist/mjs/{src/models → models}/UpdateBuyerDtoAddress.d.ts +0 -0
  385. /package/dist/mjs/{src/models → models}/UpdateBuyerDtoAddress.js +0 -0
  386. /package/dist/mjs/{src/models → models}/UpdateMerchantAddressDto.d.ts +0 -0
  387. /package/dist/mjs/{src/models → models}/UpdateMerchantAddressDto.js +0 -0
  388. /package/dist/mjs/{src/models → models}/UpdateMerchantCredentialsDto.d.ts +0 -0
  389. /package/dist/mjs/{src/models → models}/UpdateMerchantCredentialsDto.js +0 -0
  390. /package/dist/mjs/{src/models → models}/UpdateMerchantDto.d.ts +0 -0
  391. /package/dist/mjs/{src/models → models}/UpdateMerchantDto.js +0 -0
  392. /package/dist/mjs/{src/models → models}/UpdateMerchantDtoAddress.d.ts +0 -0
  393. /package/dist/mjs/{src/models → models}/UpdateMerchantDtoAddress.js +0 -0
  394. /package/dist/mjs/{src/models → models}/ValidateMerchantCredentialsDto.d.ts +0 -0
  395. /package/dist/mjs/{src/models → models}/ValidateMerchantCredentialsDto.js +0 -0
  396. /package/dist/mjs/{src/runtime.d.ts → runtime.d.ts} +0 -0
  397. /package/dist/mjs/{src/runtime.js → runtime.js} +0 -0
@@ -1,40 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- /**
8
- * The CFee details
9
- * @export
10
- * @interface CreateMerchantAccountDtoCfee
11
- */
12
- export interface CreateMerchantAccountDtoCfee {
13
- /**
14
- * The type of the CFee
15
- * @type {string}
16
- * @memberof CreateMerchantAccountDtoCfee
17
- */
18
- type: CreateMerchantAccountDtoCfeeTypeEnum;
19
- /**
20
- * The rate of the CFee as an integer
21
- * @type {number}
22
- * @memberof CreateMerchantAccountDtoCfee
23
- */
24
- rate: number;
25
- }
26
- /**
27
- * @export
28
- */
29
- export declare const CreateMerchantAccountDtoCfeeTypeEnum: {
30
- readonly Percentage: "PERCENTAGE";
31
- readonly Fixed: "FIXED";
32
- };
33
- export type CreateMerchantAccountDtoCfeeTypeEnum = typeof CreateMerchantAccountDtoCfeeTypeEnum[keyof typeof CreateMerchantAccountDtoCfeeTypeEnum];
34
- /**
35
- * Check if a given object implements the CreateMerchantAccountDtoCfee interface.
36
- */
37
- export declare function instanceOfCreateMerchantAccountDtoCfee(value: object): boolean;
38
- export declare function CreateMerchantAccountDtoCfeeFromJSON(json: any): CreateMerchantAccountDtoCfee;
39
- export declare function CreateMerchantAccountDtoCfeeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateMerchantAccountDtoCfee;
40
- export declare function CreateMerchantAccountDtoCfeeToJSON(value?: CreateMerchantAccountDtoCfee | null): any;
@@ -1,41 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- /**
8
- * The list of merchant gateways
9
- * @export
10
- * @interface CreateMerchantAccountDtoGateways
11
- */
12
- export interface CreateMerchantAccountDtoGateways {
13
- /**
14
- * The name of the gateway
15
- * @type {string}
16
- * @memberof CreateMerchantAccountDtoGateways
17
- */
18
- name: CreateMerchantAccountDtoGatewaysNameEnum;
19
- /**
20
- * The ID issued by the gateway
21
- * @type {string}
22
- * @memberof CreateMerchantAccountDtoGateways
23
- */
24
- issuedGatewayId: string;
25
- }
26
- /**
27
- * @export
28
- */
29
- export declare const CreateMerchantAccountDtoGatewaysNameEnum: {
30
- readonly Epay: "EPAY";
31
- readonly Nmi: "NMI";
32
- readonly AuthorizeNet: "AUTHORIZE_NET";
33
- };
34
- export type CreateMerchantAccountDtoGatewaysNameEnum = typeof CreateMerchantAccountDtoGatewaysNameEnum[keyof typeof CreateMerchantAccountDtoGatewaysNameEnum];
35
- /**
36
- * Check if a given object implements the CreateMerchantAccountDtoGateways interface.
37
- */
38
- export declare function instanceOfCreateMerchantAccountDtoGateways(value: object): boolean;
39
- export declare function CreateMerchantAccountDtoGatewaysFromJSON(json: any): CreateMerchantAccountDtoGateways;
40
- export declare function CreateMerchantAccountDtoGatewaysFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateMerchantAccountDtoGateways;
41
- export declare function CreateMerchantAccountDtoGatewaysToJSON(value?: CreateMerchantAccountDtoGateways | null): any;
@@ -1,51 +0,0 @@
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 CreateMerchantAccountDtoGatewaysNameEnum = {
14
- Epay: 'EPAY',
15
- Nmi: 'NMI',
16
- AuthorizeNet: 'AUTHORIZE_NET'
17
- };
18
- /**
19
- * Check if a given object implements the CreateMerchantAccountDtoGateways interface.
20
- */
21
- export function instanceOfCreateMerchantAccountDtoGateways(value) {
22
- let isInstance = true;
23
- isInstance = isInstance && "name" in value;
24
- isInstance = isInstance && "issuedGatewayId" in value;
25
- return isInstance;
26
- }
27
- export function CreateMerchantAccountDtoGatewaysFromJSON(json) {
28
- return CreateMerchantAccountDtoGatewaysFromJSONTyped(json, false);
29
- }
30
- export function CreateMerchantAccountDtoGatewaysFromJSONTyped(json, ignoreDiscriminator) {
31
- if ((json === undefined) || (json === null)) {
32
- return json;
33
- }
34
- const typed = {
35
- 'name': json['name'],
36
- 'issuedGatewayId': json['issuedGatewayId'],
37
- };
38
- return removeNullUndefined(typed);
39
- }
40
- export function CreateMerchantAccountDtoGatewaysToJSON(value) {
41
- if (value === undefined) {
42
- return undefined;
43
- }
44
- if (value === null) {
45
- return null;
46
- }
47
- return {
48
- 'name': value.name,
49
- 'issuedGatewayId': value.issuedGatewayId,
50
- };
51
- }
@@ -1,114 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- import type { CreateMerchantAccountDtoCfee } from './CreateMerchantAccountDtoCfee';
8
- import type { CreateMerchantAccountDtoGateways } from './CreateMerchantAccountDtoGateways';
9
- /**
10
- *
11
- * @export
12
- * @interface CreateMerchantAccountsDto
13
- */
14
- export interface CreateMerchantAccountsDto {
15
- /**
16
- * The issued MID (Merchant ID)
17
- * @type {string}
18
- * @memberof CreateMerchantAccountsDto
19
- */
20
- issuedMid: string;
21
- /**
22
- * The payment method
23
- * @type {string}
24
- * @memberof CreateMerchantAccountsDto
25
- */
26
- paymentMethod: CreateMerchantAccountsDtoPaymentMethodEnum;
27
- /**
28
- * The payment service provider
29
- * @type {string}
30
- * @memberof CreateMerchantAccountsDto
31
- */
32
- psp: CreateMerchantAccountsDtoPspEnum;
33
- /**
34
- *
35
- * @type {CreateMerchantAccountDtoCfee}
36
- * @memberof CreateMerchantAccountsDto
37
- */
38
- cfee: CreateMerchantAccountDtoCfee;
39
- /**
40
- *
41
- * @type {CreateMerchantAccountDtoGateways}
42
- * @memberof CreateMerchantAccountsDto
43
- */
44
- gateways: CreateMerchantAccountDtoGateways;
45
- /**
46
- * The accepted currencies
47
- * @type {Array<string>}
48
- * @memberof CreateMerchantAccountsDto
49
- */
50
- acceptedCurrencies?: Array<CreateMerchantAccountsDtoAcceptedCurrenciesEnum>;
51
- /**
52
- * The MCC (Merchant Category Code)
53
- * @type {string}
54
- * @memberof CreateMerchantAccountsDto
55
- */
56
- mcc?: string;
57
- /**
58
- * The BIN (Bank Identification Number)
59
- * @type {string}
60
- * @memberof CreateMerchantAccountsDto
61
- */
62
- bin?: string;
63
- /**
64
- * The chain or franchise information associated with the merchant
65
- * @type {string}
66
- * @memberof CreateMerchantAccountsDto
67
- */
68
- chain?: string;
69
- /**
70
- * The store information associated with the merchant
71
- * @type {string}
72
- * @memberof CreateMerchantAccountsDto
73
- */
74
- store?: string;
75
- /**
76
- * The agent information associated with the merchant
77
- * @type {string}
78
- * @memberof CreateMerchantAccountsDto
79
- */
80
- agent?: string;
81
- }
82
- /**
83
- * @export
84
- */
85
- export declare const CreateMerchantAccountsDtoPaymentMethodEnum: {
86
- readonly Card: "CARD";
87
- readonly Ach: "ACH";
88
- };
89
- export type CreateMerchantAccountsDtoPaymentMethodEnum = typeof CreateMerchantAccountsDtoPaymentMethodEnum[keyof typeof CreateMerchantAccountsDtoPaymentMethodEnum];
90
- /**
91
- * @export
92
- */
93
- export declare const CreateMerchantAccountsDtoPspEnum: {
94
- readonly Tsys: "TSYS";
95
- readonly Nashville: "NASHVILLE";
96
- readonly ChannelPayments: "CHANNEL_PAYMENTS";
97
- };
98
- export type CreateMerchantAccountsDtoPspEnum = typeof CreateMerchantAccountsDtoPspEnum[keyof typeof CreateMerchantAccountsDtoPspEnum];
99
- /**
100
- * @export
101
- */
102
- export declare const CreateMerchantAccountsDtoAcceptedCurrenciesEnum: {
103
- readonly Usd: "USD";
104
- readonly Aud: "AUD";
105
- readonly Cad: "CAD";
106
- };
107
- export type CreateMerchantAccountsDtoAcceptedCurrenciesEnum = typeof CreateMerchantAccountsDtoAcceptedCurrenciesEnum[keyof typeof CreateMerchantAccountsDtoAcceptedCurrenciesEnum];
108
- /**
109
- * Check if a given object implements the CreateMerchantAccountsDto interface.
110
- */
111
- export declare function instanceOfCreateMerchantAccountsDto(value: object): boolean;
112
- export declare function CreateMerchantAccountsDtoFromJSON(json: any): CreateMerchantAccountsDto;
113
- export declare function CreateMerchantAccountsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateMerchantAccountsDto;
114
- export declare function CreateMerchantAccountsDtoToJSON(value?: CreateMerchantAccountsDto | null): any;
@@ -1,89 +0,0 @@
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 { CreateMerchantAccountDtoCfeeFromJSON, CreateMerchantAccountDtoCfeeToJSON, } from './CreateMerchantAccountDtoCfee';
11
- import { CreateMerchantAccountDtoGatewaysFromJSON, CreateMerchantAccountDtoGatewaysToJSON, } from './CreateMerchantAccountDtoGateways';
12
- /**
13
- * @export
14
- */
15
- export const CreateMerchantAccountsDtoPaymentMethodEnum = {
16
- Card: 'CARD',
17
- Ach: 'ACH'
18
- };
19
- /**
20
- * @export
21
- */
22
- export const CreateMerchantAccountsDtoPspEnum = {
23
- Tsys: 'TSYS',
24
- Nashville: 'NASHVILLE',
25
- ChannelPayments: 'CHANNEL_PAYMENTS'
26
- };
27
- /**
28
- * @export
29
- */
30
- export const CreateMerchantAccountsDtoAcceptedCurrenciesEnum = {
31
- Usd: 'USD',
32
- Aud: 'AUD',
33
- Cad: 'CAD'
34
- };
35
- /**
36
- * Check if a given object implements the CreateMerchantAccountsDto interface.
37
- */
38
- export function instanceOfCreateMerchantAccountsDto(value) {
39
- let isInstance = true;
40
- isInstance = isInstance && "issuedMid" in value;
41
- isInstance = isInstance && "paymentMethod" in value;
42
- isInstance = isInstance && "psp" in value;
43
- isInstance = isInstance && "cfee" in value;
44
- isInstance = isInstance && "gateways" in value;
45
- return isInstance;
46
- }
47
- export function CreateMerchantAccountsDtoFromJSON(json) {
48
- return CreateMerchantAccountsDtoFromJSONTyped(json, false);
49
- }
50
- export function CreateMerchantAccountsDtoFromJSONTyped(json, ignoreDiscriminator) {
51
- if ((json === undefined) || (json === null)) {
52
- return json;
53
- }
54
- const typed = {
55
- 'issuedMid': json['issuedMid'],
56
- 'paymentMethod': json['paymentMethod'],
57
- 'psp': json['psp'],
58
- 'cfee': CreateMerchantAccountDtoCfeeFromJSON(json['cfee']),
59
- 'gateways': CreateMerchantAccountDtoGatewaysFromJSON(json['gateways']),
60
- 'acceptedCurrencies': !exists(json, 'acceptedCurrencies') ? undefined : json['acceptedCurrencies'],
61
- 'mcc': !exists(json, 'mcc') ? undefined : json['mcc'],
62
- 'bin': !exists(json, 'bin') ? undefined : json['bin'],
63
- 'chain': !exists(json, 'chain') ? undefined : json['chain'],
64
- 'store': !exists(json, 'store') ? undefined : json['store'],
65
- 'agent': !exists(json, 'agent') ? undefined : json['agent'],
66
- };
67
- return removeNullUndefined(typed);
68
- }
69
- export function CreateMerchantAccountsDtoToJSON(value) {
70
- if (value === undefined) {
71
- return undefined;
72
- }
73
- if (value === null) {
74
- return null;
75
- }
76
- return {
77
- 'issuedMid': value.issuedMid,
78
- 'paymentMethod': value.paymentMethod,
79
- 'psp': value.psp,
80
- 'cfee': CreateMerchantAccountDtoCfeeToJSON(value.cfee),
81
- 'gateways': CreateMerchantAccountDtoGatewaysToJSON(value.gateways),
82
- 'acceptedCurrencies': value.acceptedCurrencies,
83
- 'mcc': value.mcc,
84
- 'bin': value.bin,
85
- 'chain': value.chain,
86
- 'store': value.store,
87
- 'agent': value.agent,
88
- };
89
- }
@@ -1,41 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- /**
8
- *
9
- * @export
10
- * @interface CreateMerchantGateway
11
- */
12
- export interface CreateMerchantGateway {
13
- /**
14
- * The name of the gateway
15
- * @type {string}
16
- * @memberof CreateMerchantGateway
17
- */
18
- name: CreateMerchantGatewayNameEnum;
19
- /**
20
- * The ID issued by the gateway
21
- * @type {string}
22
- * @memberof CreateMerchantGateway
23
- */
24
- issuedGatewayId: string;
25
- }
26
- /**
27
- * @export
28
- */
29
- export declare const CreateMerchantGatewayNameEnum: {
30
- readonly Epay: "EPAY";
31
- readonly Nmi: "NMI";
32
- readonly AuthorizeNet: "AUTHORIZE_NET";
33
- };
34
- export type CreateMerchantGatewayNameEnum = typeof CreateMerchantGatewayNameEnum[keyof typeof CreateMerchantGatewayNameEnum];
35
- /**
36
- * Check if a given object implements the CreateMerchantGateway interface.
37
- */
38
- export declare function instanceOfCreateMerchantGateway(value: object): boolean;
39
- export declare function CreateMerchantGatewayFromJSON(json: any): CreateMerchantGateway;
40
- export declare function CreateMerchantGatewayFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateMerchantGateway;
41
- export declare function CreateMerchantGatewayToJSON(value?: CreateMerchantGateway | null): any;
@@ -1,51 +0,0 @@
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 CreateMerchantGatewayNameEnum = {
14
- Epay: 'EPAY',
15
- Nmi: 'NMI',
16
- AuthorizeNet: 'AUTHORIZE_NET'
17
- };
18
- /**
19
- * Check if a given object implements the CreateMerchantGateway interface.
20
- */
21
- export function instanceOfCreateMerchantGateway(value) {
22
- let isInstance = true;
23
- isInstance = isInstance && "name" in value;
24
- isInstance = isInstance && "issuedGatewayId" in value;
25
- return isInstance;
26
- }
27
- export function CreateMerchantGatewayFromJSON(json) {
28
- return CreateMerchantGatewayFromJSONTyped(json, false);
29
- }
30
- export function CreateMerchantGatewayFromJSONTyped(json, ignoreDiscriminator) {
31
- if ((json === undefined) || (json === null)) {
32
- return json;
33
- }
34
- const typed = {
35
- 'name': json['name'],
36
- 'issuedGatewayId': json['issuedGatewayId'],
37
- };
38
- return removeNullUndefined(typed);
39
- }
40
- export function CreateMerchantGatewayToJSON(value) {
41
- if (value === undefined) {
42
- return undefined;
43
- }
44
- if (value === null) {
45
- return null;
46
- }
47
- return {
48
- 'name': value.name,
49
- 'issuedGatewayId': value.issuedGatewayId,
50
- };
51
- }
@@ -1,108 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- import type { MerchantAccountEntityCfee } from './MerchantAccountEntityCfee';
8
- import type { MerchantGatewayEntity } from './MerchantGatewayEntity';
9
- /**
10
- *
11
- * @export
12
- * @interface MerchantAccountEntity
13
- */
14
- export interface MerchantAccountEntity {
15
- /**
16
- * The alphanumeric ID of the merchant account
17
- * @type {string}
18
- * @memberof MerchantAccountEntity
19
- */
20
- merchantAccountId: string;
21
- /**
22
- * The associated merchant ID
23
- * @type {string}
24
- * @memberof MerchantAccountEntity
25
- */
26
- merchantId?: string;
27
- /**
28
- * The issued MID (Merchant ID)
29
- * @type {string}
30
- * @memberof MerchantAccountEntity
31
- */
32
- issuedMid: string;
33
- /**
34
- * The payment service provider
35
- * @type {string}
36
- * @memberof MerchantAccountEntity
37
- */
38
- psp: MerchantAccountEntityPspEnum;
39
- /**
40
- *
41
- * @type {MerchantAccountEntityCfee}
42
- * @memberof MerchantAccountEntity
43
- */
44
- cfee: MerchantAccountEntityCfee;
45
- /**
46
- * The accepted currencies
47
- * @type {Array<string>}
48
- * @memberof MerchantAccountEntity
49
- */
50
- acceptedCurrencies: Array<MerchantAccountEntityAcceptedCurrenciesEnum>;
51
- /**
52
- * The date the merchant was created
53
- * @type {Date}
54
- * @memberof MerchantAccountEntity
55
- */
56
- createdAt: Date;
57
- /**
58
- * The date the merchant was last updated
59
- * @type {Date}
60
- * @memberof MerchantAccountEntity
61
- */
62
- updatedAt: Date;
63
- /**
64
- * The payment method
65
- * @type {string}
66
- * @memberof MerchantAccountEntity
67
- */
68
- paymentMethod: MerchantAccountEntityPaymentMethodEnum;
69
- /**
70
- *
71
- * @type {Array<MerchantGatewayEntity>}
72
- * @memberof MerchantAccountEntity
73
- */
74
- gateways?: Array<MerchantGatewayEntity>;
75
- }
76
- /**
77
- * @export
78
- */
79
- export declare const MerchantAccountEntityPspEnum: {
80
- readonly Tsys: "TSYS";
81
- readonly Nashville: "NASHVILLE";
82
- readonly ChannelPayments: "CHANNEL_PAYMENTS";
83
- };
84
- export type MerchantAccountEntityPspEnum = typeof MerchantAccountEntityPspEnum[keyof typeof MerchantAccountEntityPspEnum];
85
- /**
86
- * @export
87
- */
88
- export declare const MerchantAccountEntityAcceptedCurrenciesEnum: {
89
- readonly Usd: "USD";
90
- readonly Aud: "AUD";
91
- readonly Cad: "CAD";
92
- };
93
- export type MerchantAccountEntityAcceptedCurrenciesEnum = typeof MerchantAccountEntityAcceptedCurrenciesEnum[keyof typeof MerchantAccountEntityAcceptedCurrenciesEnum];
94
- /**
95
- * @export
96
- */
97
- export declare const MerchantAccountEntityPaymentMethodEnum: {
98
- readonly Card: "CARD";
99
- readonly Ach: "ACH";
100
- };
101
- export type MerchantAccountEntityPaymentMethodEnum = typeof MerchantAccountEntityPaymentMethodEnum[keyof typeof MerchantAccountEntityPaymentMethodEnum];
102
- /**
103
- * Check if a given object implements the MerchantAccountEntity interface.
104
- */
105
- export declare function instanceOfMerchantAccountEntity(value: object): boolean;
106
- export declare function MerchantAccountEntityFromJSON(json: any): MerchantAccountEntity;
107
- export declare function MerchantAccountEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): MerchantAccountEntity;
108
- export declare function MerchantAccountEntityToJSON(value?: MerchantAccountEntity | null): any;
@@ -1,90 +0,0 @@
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 { MerchantAccountEntityCfeeFromJSON, MerchantAccountEntityCfeeToJSON, } from './MerchantAccountEntityCfee';
11
- import { MerchantGatewayEntityFromJSON, MerchantGatewayEntityToJSON, } from './MerchantGatewayEntity';
12
- /**
13
- * @export
14
- */
15
- export const MerchantAccountEntityPspEnum = {
16
- Tsys: 'TSYS',
17
- Nashville: 'NASHVILLE',
18
- ChannelPayments: 'CHANNEL_PAYMENTS'
19
- };
20
- /**
21
- * @export
22
- */
23
- export const MerchantAccountEntityAcceptedCurrenciesEnum = {
24
- Usd: 'USD',
25
- Aud: 'AUD',
26
- Cad: 'CAD'
27
- };
28
- /**
29
- * @export
30
- */
31
- export const MerchantAccountEntityPaymentMethodEnum = {
32
- Card: 'CARD',
33
- Ach: 'ACH'
34
- };
35
- /**
36
- * Check if a given object implements the MerchantAccountEntity interface.
37
- */
38
- export function instanceOfMerchantAccountEntity(value) {
39
- let isInstance = true;
40
- isInstance = isInstance && "merchantAccountId" in value;
41
- isInstance = isInstance && "issuedMid" in value;
42
- isInstance = isInstance && "psp" in value;
43
- isInstance = isInstance && "cfee" in value;
44
- isInstance = isInstance && "acceptedCurrencies" in value;
45
- isInstance = isInstance && "createdAt" in value;
46
- isInstance = isInstance && "updatedAt" in value;
47
- isInstance = isInstance && "paymentMethod" in value;
48
- return isInstance;
49
- }
50
- export function MerchantAccountEntityFromJSON(json) {
51
- return MerchantAccountEntityFromJSONTyped(json, false);
52
- }
53
- export function MerchantAccountEntityFromJSONTyped(json, ignoreDiscriminator) {
54
- if ((json === undefined) || (json === null)) {
55
- return json;
56
- }
57
- const typed = {
58
- 'merchantAccountId': json['merchantAccountId'],
59
- 'merchantId': !exists(json, 'merchantId') ? undefined : json['merchantId'],
60
- 'issuedMid': json['issuedMid'],
61
- 'psp': json['psp'],
62
- 'cfee': MerchantAccountEntityCfeeFromJSON(json['cfee']),
63
- 'acceptedCurrencies': json['acceptedCurrencies'],
64
- 'createdAt': (new Date(json['createdAt'])),
65
- 'updatedAt': (new Date(json['updatedAt'])),
66
- 'paymentMethod': json['paymentMethod'],
67
- 'gateways': !exists(json, 'gateways') ? undefined : (json['gateways'].map(MerchantGatewayEntityFromJSON)),
68
- };
69
- return removeNullUndefined(typed);
70
- }
71
- export function MerchantAccountEntityToJSON(value) {
72
- if (value === undefined) {
73
- return undefined;
74
- }
75
- if (value === null) {
76
- return null;
77
- }
78
- return {
79
- 'merchantAccountId': value.merchantAccountId,
80
- 'merchantId': value.merchantId,
81
- 'issuedMid': value.issuedMid,
82
- 'psp': value.psp,
83
- 'cfee': MerchantAccountEntityCfeeToJSON(value.cfee),
84
- 'acceptedCurrencies': value.acceptedCurrencies,
85
- 'createdAt': (value.createdAt.toISOString()),
86
- 'updatedAt': (value.updatedAt.toISOString()),
87
- 'paymentMethod': value.paymentMethod,
88
- 'gateways': value.gateways === undefined ? undefined : (value.gateways.map(MerchantGatewayEntityToJSON)),
89
- };
90
- }
@@ -1,40 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- /**
8
- * The CFee details
9
- * @export
10
- * @interface MerchantAccountEntityCfee
11
- */
12
- export interface MerchantAccountEntityCfee {
13
- /**
14
- * The type of the CFee
15
- * @type {string}
16
- * @memberof MerchantAccountEntityCfee
17
- */
18
- type: MerchantAccountEntityCfeeTypeEnum;
19
- /**
20
- * The rate of the CFee as an integer
21
- * @type {number}
22
- * @memberof MerchantAccountEntityCfee
23
- */
24
- rate: number;
25
- }
26
- /**
27
- * @export
28
- */
29
- export declare const MerchantAccountEntityCfeeTypeEnum: {
30
- readonly Percentage: "PERCENTAGE";
31
- readonly Fixed: "FIXED";
32
- };
33
- export type MerchantAccountEntityCfeeTypeEnum = typeof MerchantAccountEntityCfeeTypeEnum[keyof typeof MerchantAccountEntityCfeeTypeEnum];
34
- /**
35
- * Check if a given object implements the MerchantAccountEntityCfee interface.
36
- */
37
- export declare function instanceOfMerchantAccountEntityCfee(value: object): boolean;
38
- export declare function MerchantAccountEntityCfeeFromJSON(json: any): MerchantAccountEntityCfee;
39
- export declare function MerchantAccountEntityCfeeFromJSONTyped(json: any, ignoreDiscriminator: boolean): MerchantAccountEntityCfee;
40
- export declare function MerchantAccountEntityCfeeToJSON(value?: MerchantAccountEntityCfee | null): any;