connect-sdk-nodejs 4.20.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (779) hide show
  1. package/README.md +3 -3
  2. package/lib/client.d.ts +3 -0
  3. package/lib/client.js +12 -0
  4. package/lib/client.js.map +1 -0
  5. package/lib/index.d.ts +17 -3
  6. package/lib/index.js +24 -90
  7. package/lib/index.js.map +1 -1
  8. package/lib/model/client.d.ts +6 -0
  9. package/lib/model/client.js +3 -0
  10. package/lib/model/client.js.map +1 -0
  11. package/lib/model/{tokens → domain}/index.js.map +1 -1
  12. package/lib/model/index.d.ts +1 -40
  13. package/lib/model/index.js +6 -1
  14. package/lib/model/index.js.map +1 -1
  15. package/lib/model/types.d.ts +53 -40
  16. package/lib/model/types.js +12 -0
  17. package/lib/model/types.js.map +1 -1
  18. package/lib/model/webhooks/index.d.ts +4 -8
  19. package/lib/model/webhooks/index.js +5 -1
  20. package/lib/model/webhooks/index.js.map +1 -1
  21. package/lib/model/webhooks/types.d.ts +3 -6
  22. package/lib/model/webhooks/types.js.map +1 -1
  23. package/lib/utils/authentication.d.ts +8 -0
  24. package/lib/utils/authentication.js +42 -0
  25. package/lib/utils/authentication.js.map +1 -0
  26. package/lib/utils/communicator.d.ts +3 -3
  27. package/lib/utils/communicator.js +152 -111
  28. package/lib/utils/communicator.js.map +1 -1
  29. package/lib/utils/connection.d.ts +5 -2
  30. package/lib/utils/connection.js +14 -9
  31. package/lib/utils/connection.js.map +1 -1
  32. package/lib/utils/context.d.ts +2 -3
  33. package/lib/utils/context.js +55 -89
  34. package/lib/utils/context.js.map +1 -1
  35. package/lib/utils/headers.js +4 -6
  36. package/lib/utils/headers.js.map +1 -1
  37. package/lib/utils/obfuscate.d.ts +1 -1
  38. package/lib/utils/obfuscate.js +3 -9
  39. package/lib/utils/obfuscate.js.map +1 -1
  40. package/lib/v1/captures/get.d.ts +3 -0
  41. package/lib/v1/captures/get.js +20 -0
  42. package/lib/v1/captures/get.js.map +1 -0
  43. package/lib/v1/captures/index.d.ts +3 -0
  44. package/lib/v1/captures/index.js +17 -0
  45. package/lib/v1/captures/index.js.map +1 -0
  46. package/lib/v1/captures/refund.d.ts +3 -0
  47. package/lib/v1/captures/refund.js +32 -0
  48. package/lib/v1/captures/refund.js.map +1 -0
  49. package/lib/v1/disputes/cancel.d.ts +3 -0
  50. package/lib/v1/disputes/cancel.js +20 -0
  51. package/lib/v1/disputes/cancel.js.map +1 -0
  52. package/lib/v1/disputes/get.d.ts +3 -0
  53. package/lib/v1/disputes/get.js +20 -0
  54. package/lib/v1/disputes/get.js.map +1 -0
  55. package/lib/v1/disputes/index.d.ts +3 -0
  56. package/lib/v1/disputes/index.js +21 -0
  57. package/lib/v1/disputes/index.js.map +1 -0
  58. package/lib/v1/disputes/submit.d.ts +3 -0
  59. package/lib/v1/disputes/submit.js +20 -0
  60. package/lib/v1/disputes/submit.js.map +1 -0
  61. package/lib/v1/disputes/uploadFile.d.ts +4 -0
  62. package/lib/v1/disputes/uploadFile.js +20 -0
  63. package/lib/v1/disputes/uploadFile.js.map +1 -0
  64. package/lib/v1/files/getFile.d.ts +3 -0
  65. package/lib/v1/files/getFile.js +21 -0
  66. package/lib/v1/files/getFile.js.map +1 -0
  67. package/lib/v1/files/index.d.ts +3 -0
  68. package/lib/v1/files/index.js +15 -0
  69. package/lib/v1/files/index.js.map +1 -0
  70. package/lib/v1/hostedcheckouts/create.d.ts +3 -0
  71. package/lib/v1/hostedcheckouts/create.js +32 -0
  72. package/lib/v1/hostedcheckouts/create.js.map +1 -0
  73. package/lib/v1/hostedcheckouts/get.d.ts +3 -0
  74. package/lib/v1/hostedcheckouts/get.js +20 -0
  75. package/lib/v1/hostedcheckouts/get.js.map +1 -0
  76. package/lib/v1/hostedcheckouts/index.d.ts +3 -0
  77. package/lib/v1/hostedcheckouts/index.js +19 -0
  78. package/lib/v1/hostedcheckouts/index.js.map +1 -0
  79. package/lib/v1/hostedcheckouts/remove.d.ts +3 -0
  80. package/lib/v1/hostedcheckouts/remove.js +20 -0
  81. package/lib/v1/hostedcheckouts/remove.js.map +1 -0
  82. package/lib/v1/hostedmandatemanagements/create.d.ts +3 -0
  83. package/lib/v1/hostedmandatemanagements/create.js +32 -0
  84. package/lib/v1/hostedmandatemanagements/create.js.map +1 -0
  85. package/lib/v1/hostedmandatemanagements/get.d.ts +3 -0
  86. package/lib/v1/hostedmandatemanagements/get.js +20 -0
  87. package/lib/v1/hostedmandatemanagements/get.js.map +1 -0
  88. package/lib/v1/hostedmandatemanagements/index.d.ts +3 -0
  89. package/lib/v1/hostedmandatemanagements/index.js +17 -0
  90. package/lib/v1/hostedmandatemanagements/index.js.map +1 -0
  91. package/lib/v1/index.d.ts +3 -0
  92. package/lib/v1/index.js +41 -0
  93. package/lib/v1/index.js.map +1 -0
  94. package/lib/v1/installments/getInstallmentsInfo.d.ts +3 -0
  95. package/lib/v1/installments/getInstallmentsInfo.js +32 -0
  96. package/lib/v1/installments/getInstallmentsInfo.js.map +1 -0
  97. package/lib/v1/installments/index.d.ts +3 -0
  98. package/lib/v1/installments/index.js +15 -0
  99. package/lib/v1/installments/index.js.map +1 -0
  100. package/lib/v1/mandates/block.d.ts +3 -0
  101. package/lib/v1/mandates/block.js +20 -0
  102. package/lib/v1/mandates/block.js.map +1 -0
  103. package/lib/v1/mandates/create.d.ts +3 -0
  104. package/lib/v1/mandates/create.js +32 -0
  105. package/lib/v1/mandates/create.js.map +1 -0
  106. package/lib/v1/mandates/createWithMandateReference.d.ts +3 -0
  107. package/lib/v1/mandates/createWithMandateReference.js +32 -0
  108. package/lib/v1/mandates/createWithMandateReference.js.map +1 -0
  109. package/lib/v1/mandates/get.d.ts +3 -0
  110. package/lib/v1/mandates/get.js +20 -0
  111. package/lib/v1/mandates/get.js.map +1 -0
  112. package/lib/v1/mandates/index.d.ts +3 -0
  113. package/lib/v1/mandates/index.js +25 -0
  114. package/lib/v1/mandates/index.js.map +1 -0
  115. package/lib/v1/mandates/revoke.d.ts +3 -0
  116. package/lib/v1/mandates/revoke.js +20 -0
  117. package/lib/v1/mandates/revoke.js.map +1 -0
  118. package/lib/v1/mandates/unblock.d.ts +3 -0
  119. package/lib/v1/mandates/unblock.js +20 -0
  120. package/lib/v1/mandates/unblock.js.map +1 -0
  121. package/lib/v1/model/captures/index.d.ts +12 -0
  122. package/lib/v1/model/captures/index.js.map +1 -0
  123. package/lib/v1/model/disputes/index.d.ts +23 -0
  124. package/lib/v1/model/disputes/index.js.map +1 -0
  125. package/lib/v1/model/domain/index.d.ts +2242 -0
  126. package/lib/{model/domain/errors/definitions → v1/model/domain}/index.js +1 -1
  127. package/lib/v1/model/domain/index.js.map +1 -0
  128. package/lib/v1/model/files/index.d.ts +8 -0
  129. package/lib/{model/disputes → v1/model/files}/index.js.map +1 -1
  130. package/lib/v1/model/hostedcheckouts/index.d.ts +16 -0
  131. package/lib/v1/model/hostedcheckouts/index.js.map +1 -0
  132. package/lib/v1/model/hostedmandatemanagements/index.d.ts +12 -0
  133. package/lib/v1/model/hostedmandatemanagements/index.js.map +1 -0
  134. package/lib/v1/model/index.d.ts +34 -0
  135. package/lib/{model/files → v1/model}/index.js.map +1 -1
  136. package/lib/v1/model/installments/index.d.ts +8 -0
  137. package/lib/v1/model/installments/index.js.map +1 -0
  138. package/lib/v1/model/mandates/index.d.ts +28 -0
  139. package/lib/v1/model/mandates/index.js.map +1 -0
  140. package/lib/v1/model/payments/index.d.ts +79 -0
  141. package/lib/v1/model/payments/index.js.map +1 -0
  142. package/lib/v1/model/payouts/index.d.ts +34 -0
  143. package/lib/{model/captures → v1/model/payouts}/index.js.map +1 -1
  144. package/lib/v1/model/productgroups/index.d.ts +34 -0
  145. package/lib/v1/model/productgroups/index.js.map +1 -0
  146. package/lib/v1/model/products/index.d.ts +61 -0
  147. package/lib/v1/model/products/index.js.map +1 -0
  148. package/lib/v1/model/refunds/index.d.ts +31 -0
  149. package/lib/v1/model/refunds/index.js.map +1 -0
  150. package/lib/v1/model/riskassessments/index.d.ts +12 -0
  151. package/lib/v1/model/riskassessments/index.js.map +1 -0
  152. package/lib/v1/model/services/index.d.ts +33 -0
  153. package/lib/v1/model/services/index.js.map +1 -0
  154. package/lib/v1/model/sessions/index.d.ts +8 -0
  155. package/lib/v1/model/sessions/index.js.map +1 -0
  156. package/lib/v1/model/tokens/index.d.ts +27 -0
  157. package/lib/{model/installments → v1/model/tokens}/index.js.map +1 -1
  158. package/lib/v1/model/webhooks/index.d.ts +9 -0
  159. package/lib/v1/model/webhooks/index.js.map +1 -0
  160. package/lib/v1/payments/approve.d.ts +3 -0
  161. package/lib/v1/payments/approve.js +32 -0
  162. package/lib/v1/payments/approve.js.map +1 -0
  163. package/lib/v1/payments/cancel.d.ts +3 -0
  164. package/lib/v1/payments/cancel.js +20 -0
  165. package/lib/v1/payments/cancel.js.map +1 -0
  166. package/lib/v1/payments/cancelapproval.d.ts +3 -0
  167. package/lib/v1/payments/cancelapproval.js +20 -0
  168. package/lib/v1/payments/cancelapproval.js.map +1 -0
  169. package/lib/v1/payments/capture.d.ts +3 -0
  170. package/lib/v1/payments/capture.js +32 -0
  171. package/lib/v1/payments/capture.js.map +1 -0
  172. package/lib/v1/payments/captures.d.ts +3 -0
  173. package/lib/v1/payments/captures.js +20 -0
  174. package/lib/v1/payments/captures.js.map +1 -0
  175. package/lib/v1/payments/complete.d.ts +3 -0
  176. package/lib/v1/payments/complete.js +32 -0
  177. package/lib/v1/payments/complete.js.map +1 -0
  178. package/lib/v1/payments/create.d.ts +3 -0
  179. package/lib/v1/payments/create.js +32 -0
  180. package/lib/v1/payments/create.js.map +1 -0
  181. package/lib/v1/payments/devicefingerprint.d.ts +3 -0
  182. package/lib/v1/payments/devicefingerprint.js +20 -0
  183. package/lib/v1/payments/devicefingerprint.js.map +1 -0
  184. package/lib/v1/payments/dispute.d.ts +3 -0
  185. package/lib/v1/payments/dispute.js +32 -0
  186. package/lib/v1/payments/dispute.js.map +1 -0
  187. package/lib/v1/payments/disputes.d.ts +3 -0
  188. package/lib/v1/payments/disputes.js +20 -0
  189. package/lib/v1/payments/disputes.js.map +1 -0
  190. package/lib/v1/payments/find.d.ts +4 -0
  191. package/lib/v1/payments/find.js +20 -0
  192. package/lib/v1/payments/find.js.map +1 -0
  193. package/lib/v1/payments/get.d.ts +3 -0
  194. package/lib/v1/payments/get.js +20 -0
  195. package/lib/v1/payments/get.js.map +1 -0
  196. package/lib/v1/payments/index.d.ts +3 -0
  197. package/lib/v1/payments/index.js +47 -0
  198. package/lib/v1/payments/index.js.map +1 -0
  199. package/lib/v1/payments/processchallenged.d.ts +3 -0
  200. package/lib/v1/payments/processchallenged.js +20 -0
  201. package/lib/v1/payments/processchallenged.js.map +1 -0
  202. package/lib/v1/payments/refund.d.ts +3 -0
  203. package/lib/v1/payments/refund.js +32 -0
  204. package/lib/v1/payments/refund.js.map +1 -0
  205. package/lib/v1/payments/refunds.d.ts +3 -0
  206. package/lib/v1/payments/refunds.js +20 -0
  207. package/lib/v1/payments/refunds.js.map +1 -0
  208. package/lib/v1/payments/thirdPartyStatus.d.ts +3 -0
  209. package/lib/v1/payments/thirdPartyStatus.js +20 -0
  210. package/lib/v1/payments/thirdPartyStatus.js.map +1 -0
  211. package/lib/v1/payments/tokenize.d.ts +3 -0
  212. package/lib/v1/payments/tokenize.js +32 -0
  213. package/lib/v1/payments/tokenize.js.map +1 -0
  214. package/lib/v1/payouts/approve.d.ts +3 -0
  215. package/lib/v1/payouts/approve.js +32 -0
  216. package/lib/v1/payouts/approve.js.map +1 -0
  217. package/lib/v1/payouts/cancel.d.ts +3 -0
  218. package/lib/v1/payouts/cancel.js +20 -0
  219. package/lib/v1/payouts/cancel.js.map +1 -0
  220. package/lib/v1/payouts/cancelapproval.d.ts +3 -0
  221. package/lib/v1/payouts/cancelapproval.js +20 -0
  222. package/lib/v1/payouts/cancelapproval.js.map +1 -0
  223. package/lib/v1/payouts/create.d.ts +3 -0
  224. package/lib/v1/payouts/create.js +32 -0
  225. package/lib/v1/payouts/create.js.map +1 -0
  226. package/lib/v1/payouts/find.d.ts +4 -0
  227. package/lib/v1/payouts/find.js +20 -0
  228. package/lib/v1/payouts/find.js.map +1 -0
  229. package/lib/v1/payouts/get.d.ts +3 -0
  230. package/lib/v1/payouts/get.js +20 -0
  231. package/lib/v1/payouts/get.js.map +1 -0
  232. package/lib/v1/payouts/index.d.ts +3 -0
  233. package/lib/v1/payouts/index.js +25 -0
  234. package/lib/v1/payouts/index.js.map +1 -0
  235. package/lib/v1/productgroups/deviceFingerprint.d.ts +3 -0
  236. package/lib/v1/productgroups/deviceFingerprint.js +32 -0
  237. package/lib/v1/productgroups/deviceFingerprint.js.map +1 -0
  238. package/lib/v1/productgroups/find.d.ts +4 -0
  239. package/lib/v1/productgroups/find.js +20 -0
  240. package/lib/v1/productgroups/find.js.map +1 -0
  241. package/lib/v1/productgroups/get.d.ts +4 -0
  242. package/lib/v1/productgroups/get.js +20 -0
  243. package/lib/v1/productgroups/get.js.map +1 -0
  244. package/lib/v1/productgroups/index.d.ts +3 -0
  245. package/lib/v1/productgroups/index.js +19 -0
  246. package/lib/v1/productgroups/index.js.map +1 -0
  247. package/lib/v1/products/customerDetails.d.ts +3 -0
  248. package/lib/v1/products/customerDetails.js +32 -0
  249. package/lib/v1/products/customerDetails.js.map +1 -0
  250. package/lib/v1/products/deviceFingerprint.d.ts +3 -0
  251. package/lib/v1/products/deviceFingerprint.js +32 -0
  252. package/lib/v1/products/deviceFingerprint.js.map +1 -0
  253. package/lib/v1/products/directory.d.ts +4 -0
  254. package/lib/v1/products/directory.js +20 -0
  255. package/lib/v1/products/directory.js.map +1 -0
  256. package/lib/v1/products/find.d.ts +4 -0
  257. package/lib/v1/products/find.js +20 -0
  258. package/lib/v1/products/find.js.map +1 -0
  259. package/lib/v1/products/get.d.ts +4 -0
  260. package/lib/v1/products/get.js +20 -0
  261. package/lib/v1/products/get.js.map +1 -0
  262. package/lib/v1/products/index.d.ts +3 -0
  263. package/lib/v1/products/index.js +27 -0
  264. package/lib/v1/products/index.js.map +1 -0
  265. package/lib/v1/products/networks.d.ts +4 -0
  266. package/lib/v1/products/networks.js +20 -0
  267. package/lib/v1/products/networks.js.map +1 -0
  268. package/lib/v1/products/sessions.d.ts +3 -0
  269. package/lib/v1/products/sessions.js +32 -0
  270. package/lib/v1/products/sessions.js.map +1 -0
  271. package/lib/v1/refunds/approve.d.ts +3 -0
  272. package/lib/v1/refunds/approve.js +32 -0
  273. package/lib/v1/refunds/approve.js.map +1 -0
  274. package/lib/v1/refunds/cancel.d.ts +3 -0
  275. package/lib/v1/refunds/cancel.js +20 -0
  276. package/lib/v1/refunds/cancel.js.map +1 -0
  277. package/lib/v1/refunds/cancelapproval.d.ts +3 -0
  278. package/lib/v1/refunds/cancelapproval.js +20 -0
  279. package/lib/v1/refunds/cancelapproval.js.map +1 -0
  280. package/lib/v1/refunds/find.d.ts +4 -0
  281. package/lib/v1/refunds/find.js +20 -0
  282. package/lib/v1/refunds/find.js.map +1 -0
  283. package/lib/v1/refunds/get.d.ts +3 -0
  284. package/lib/v1/refunds/get.js +20 -0
  285. package/lib/v1/refunds/get.js.map +1 -0
  286. package/lib/v1/refunds/index.d.ts +3 -0
  287. package/lib/v1/refunds/index.js +23 -0
  288. package/lib/v1/refunds/index.js.map +1 -0
  289. package/lib/v1/riskassessments/bankaccounts.d.ts +3 -0
  290. package/lib/v1/riskassessments/bankaccounts.js +32 -0
  291. package/lib/v1/riskassessments/bankaccounts.js.map +1 -0
  292. package/lib/v1/riskassessments/cards.d.ts +3 -0
  293. package/lib/v1/riskassessments/cards.js +32 -0
  294. package/lib/v1/riskassessments/cards.js.map +1 -0
  295. package/lib/v1/riskassessments/index.d.ts +3 -0
  296. package/lib/v1/riskassessments/index.js +17 -0
  297. package/lib/v1/riskassessments/index.js.map +1 -0
  298. package/lib/v1/services/bankaccount.d.ts +3 -0
  299. package/lib/v1/services/bankaccount.js +32 -0
  300. package/lib/v1/services/bankaccount.js.map +1 -0
  301. package/lib/v1/services/convertAmount.d.ts +4 -0
  302. package/lib/v1/services/convertAmount.js +20 -0
  303. package/lib/v1/services/convertAmount.js.map +1 -0
  304. package/lib/v1/services/getIINdetails.d.ts +3 -0
  305. package/lib/v1/services/getIINdetails.js +32 -0
  306. package/lib/v1/services/getIINdetails.js.map +1 -0
  307. package/lib/v1/services/index.d.ts +3 -0
  308. package/lib/v1/services/index.js +23 -0
  309. package/lib/v1/services/index.js.map +1 -0
  310. package/lib/v1/services/privacypolicy.d.ts +4 -0
  311. package/lib/v1/services/privacypolicy.js +20 -0
  312. package/lib/v1/services/privacypolicy.js.map +1 -0
  313. package/lib/v1/services/testconnection.d.ts +3 -0
  314. package/lib/v1/services/testconnection.js +20 -0
  315. package/lib/v1/services/testconnection.js.map +1 -0
  316. package/lib/v1/sessions/create.d.ts +3 -0
  317. package/lib/v1/sessions/create.js +32 -0
  318. package/lib/v1/sessions/create.js.map +1 -0
  319. package/lib/v1/sessions/index.d.ts +3 -0
  320. package/lib/v1/sessions/index.js +15 -0
  321. package/lib/v1/sessions/index.js.map +1 -0
  322. package/lib/v1/tokens/approvesepadirectdebit.d.ts +3 -0
  323. package/lib/v1/tokens/approvesepadirectdebit.js +32 -0
  324. package/lib/v1/tokens/approvesepadirectdebit.js.map +1 -0
  325. package/lib/v1/tokens/create.d.ts +3 -0
  326. package/lib/v1/tokens/create.js +32 -0
  327. package/lib/v1/tokens/create.js.map +1 -0
  328. package/lib/v1/tokens/get.d.ts +3 -0
  329. package/lib/v1/tokens/get.js +20 -0
  330. package/lib/v1/tokens/get.js.map +1 -0
  331. package/lib/v1/tokens/index.d.ts +3 -0
  332. package/lib/v1/tokens/index.js +23 -0
  333. package/lib/v1/tokens/index.js.map +1 -0
  334. package/lib/v1/tokens/remove.d.ts +4 -0
  335. package/lib/v1/tokens/remove.js +20 -0
  336. package/lib/v1/tokens/remove.js.map +1 -0
  337. package/lib/v1/tokens/update.d.ts +3 -0
  338. package/lib/v1/tokens/update.js +32 -0
  339. package/lib/v1/tokens/update.js.map +1 -0
  340. package/lib/v1/webhooks/index.d.ts +2 -0
  341. package/lib/v1/webhooks/index.js +44 -0
  342. package/lib/v1/webhooks/index.js.map +1 -0
  343. package/lib/webhooks/index.d.ts +3 -3
  344. package/lib/webhooks/index.js +30 -64
  345. package/lib/webhooks/index.js.map +1 -1
  346. package/lib/webhooks/validation.d.ts +2 -3
  347. package/lib/webhooks/validation.js +30 -39
  348. package/lib/webhooks/validation.js.map +1 -1
  349. package/package.json +29 -29
  350. package/lib/captures/get.d.ts +0 -3
  351. package/lib/captures/get.js +0 -17
  352. package/lib/captures/get.js.map +0 -1
  353. package/lib/captures/index.d.ts +0 -3
  354. package/lib/captures/index.js +0 -13
  355. package/lib/captures/index.js.map +0 -1
  356. package/lib/captures/refund.d.ts +0 -4
  357. package/lib/captures/refund.js +0 -30
  358. package/lib/captures/refund.js.map +0 -1
  359. package/lib/disputes/cancel.d.ts +0 -3
  360. package/lib/disputes/cancel.js +0 -17
  361. package/lib/disputes/cancel.js.map +0 -1
  362. package/lib/disputes/get.d.ts +0 -3
  363. package/lib/disputes/get.js +0 -17
  364. package/lib/disputes/get.js.map +0 -1
  365. package/lib/disputes/index.d.ts +0 -3
  366. package/lib/disputes/index.js +0 -17
  367. package/lib/disputes/index.js.map +0 -1
  368. package/lib/disputes/submit.d.ts +0 -3
  369. package/lib/disputes/submit.js +0 -17
  370. package/lib/disputes/submit.js.map +0 -1
  371. package/lib/disputes/uploadFile.d.ts +0 -4
  372. package/lib/disputes/uploadFile.js +0 -17
  373. package/lib/disputes/uploadFile.js.map +0 -1
  374. package/lib/files/getFile.d.ts +0 -3
  375. package/lib/files/getFile.js +0 -17
  376. package/lib/files/getFile.js.map +0 -1
  377. package/lib/files/index.d.ts +0 -3
  378. package/lib/files/index.js +0 -11
  379. package/lib/files/index.js.map +0 -1
  380. package/lib/hostedcheckouts/create.d.ts +0 -4
  381. package/lib/hostedcheckouts/create.js +0 -30
  382. package/lib/hostedcheckouts/create.js.map +0 -1
  383. package/lib/hostedcheckouts/get.d.ts +0 -3
  384. package/lib/hostedcheckouts/get.js +0 -17
  385. package/lib/hostedcheckouts/get.js.map +0 -1
  386. package/lib/hostedcheckouts/index.d.ts +0 -3
  387. package/lib/hostedcheckouts/index.js +0 -15
  388. package/lib/hostedcheckouts/index.js.map +0 -1
  389. package/lib/hostedcheckouts/remove.d.ts +0 -3
  390. package/lib/hostedcheckouts/remove.js +0 -17
  391. package/lib/hostedcheckouts/remove.js.map +0 -1
  392. package/lib/hostedmandatemanagements/create.d.ts +0 -4
  393. package/lib/hostedmandatemanagements/create.js +0 -30
  394. package/lib/hostedmandatemanagements/create.js.map +0 -1
  395. package/lib/hostedmandatemanagements/get.d.ts +0 -3
  396. package/lib/hostedmandatemanagements/get.js +0 -17
  397. package/lib/hostedmandatemanagements/get.js.map +0 -1
  398. package/lib/hostedmandatemanagements/index.d.ts +0 -3
  399. package/lib/hostedmandatemanagements/index.js +0 -13
  400. package/lib/hostedmandatemanagements/index.js.map +0 -1
  401. package/lib/installments/getInstallmentsInfo.d.ts +0 -4
  402. package/lib/installments/getInstallmentsInfo.js +0 -30
  403. package/lib/installments/getInstallmentsInfo.js.map +0 -1
  404. package/lib/installments/index.d.ts +0 -3
  405. package/lib/installments/index.js +0 -11
  406. package/lib/installments/index.js.map +0 -1
  407. package/lib/mandates/block.d.ts +0 -3
  408. package/lib/mandates/block.js +0 -17
  409. package/lib/mandates/block.js.map +0 -1
  410. package/lib/mandates/create.d.ts +0 -4
  411. package/lib/mandates/create.js +0 -30
  412. package/lib/mandates/create.js.map +0 -1
  413. package/lib/mandates/createWithMandateReference.d.ts +0 -4
  414. package/lib/mandates/createWithMandateReference.js +0 -30
  415. package/lib/mandates/createWithMandateReference.js.map +0 -1
  416. package/lib/mandates/get.d.ts +0 -3
  417. package/lib/mandates/get.js +0 -17
  418. package/lib/mandates/get.js.map +0 -1
  419. package/lib/mandates/index.d.ts +0 -3
  420. package/lib/mandates/index.js +0 -21
  421. package/lib/mandates/index.js.map +0 -1
  422. package/lib/mandates/revoke.d.ts +0 -3
  423. package/lib/mandates/revoke.js +0 -17
  424. package/lib/mandates/revoke.js.map +0 -1
  425. package/lib/mandates/unblock.d.ts +0 -3
  426. package/lib/mandates/unblock.js +0 -17
  427. package/lib/mandates/unblock.js.map +0 -1
  428. package/lib/model/captures/index.d.ts +0 -18
  429. package/lib/model/disputes/index.d.ts +0 -34
  430. package/lib/model/domain/capture/definitions/index.d.ts +0 -27
  431. package/lib/model/domain/capture/definitions/index.js.map +0 -1
  432. package/lib/model/domain/capture/index.d.ts +0 -6
  433. package/lib/model/domain/capture/index.js.map +0 -1
  434. package/lib/model/domain/definitions/index.d.ts +0 -320
  435. package/lib/model/domain/definitions/index.js.map +0 -1
  436. package/lib/model/domain/dispute/definitions/index.d.ts +0 -38
  437. package/lib/model/domain/dispute/definitions/index.js.map +0 -1
  438. package/lib/model/domain/dispute/index.d.ts +0 -18
  439. package/lib/model/domain/dispute/index.js.map +0 -1
  440. package/lib/model/domain/errors/definitions/index.d.ts +0 -9
  441. package/lib/model/domain/errors/definitions/index.js.map +0 -1
  442. package/lib/model/domain/errors/index.d.ts +0 -5
  443. package/lib/model/domain/errors/index.js.map +0 -1
  444. package/lib/model/domain/file/definitions/index.d.ts +0 -6
  445. package/lib/model/domain/file/definitions/index.js +0 -7
  446. package/lib/model/domain/file/definitions/index.js.map +0 -1
  447. package/lib/model/domain/hostedcheckout/definitions/index.d.ts +0 -71
  448. package/lib/model/domain/hostedcheckout/definitions/index.js.map +0 -1
  449. package/lib/model/domain/hostedcheckout/index.d.ts +0 -27
  450. package/lib/model/domain/hostedcheckout/index.js.map +0 -1
  451. package/lib/model/domain/hostedmandatemanagement/definitions/index.d.ts +0 -15
  452. package/lib/model/domain/hostedmandatemanagement/definitions/index.js.map +0 -1
  453. package/lib/model/domain/hostedmandatemanagement/index.d.ts +0 -15
  454. package/lib/model/domain/hostedmandatemanagement/index.js.map +0 -1
  455. package/lib/model/domain/installments/definitions/index.d.ts +0 -11
  456. package/lib/model/domain/installments/definitions/index.js.map +0 -1
  457. package/lib/model/domain/installments/index.d.ts +0 -11
  458. package/lib/model/domain/installments/index.js.map +0 -1
  459. package/lib/model/domain/mandates/definitions/index.d.ts +0 -52
  460. package/lib/model/domain/mandates/definitions/index.js.map +0 -1
  461. package/lib/model/domain/mandates/index.d.ts +0 -10
  462. package/lib/model/domain/mandates/index.js.map +0 -1
  463. package/lib/model/domain/metadata/index.js.map +0 -1
  464. package/lib/model/domain/payment/definitions/index.d.ts +0 -910
  465. package/lib/model/domain/payment/definitions/index.js.map +0 -1
  466. package/lib/model/domain/payment/index.d.ts +0 -77
  467. package/lib/model/domain/payment/index.js.map +0 -1
  468. package/lib/model/domain/payout/definitions/index.d.ts +0 -51
  469. package/lib/model/domain/payout/definitions/index.js +0 -3
  470. package/lib/model/domain/payout/definitions/index.js.map +0 -1
  471. package/lib/model/domain/payout/index.d.ts +0 -57
  472. package/lib/model/domain/payout/index.js +0 -3
  473. package/lib/model/domain/payout/index.js.map +0 -1
  474. package/lib/model/domain/product/definitions/index.d.ts +0 -166
  475. package/lib/model/domain/product/definitions/index.js +0 -3
  476. package/lib/model/domain/product/definitions/index.js.map +0 -1
  477. package/lib/model/domain/product/index.d.ts +0 -47
  478. package/lib/model/domain/product/index.js +0 -3
  479. package/lib/model/domain/product/index.js.map +0 -1
  480. package/lib/model/domain/refund/definitions/index.d.ts +0 -26
  481. package/lib/model/domain/refund/definitions/index.js +0 -3
  482. package/lib/model/domain/refund/definitions/index.js.map +0 -1
  483. package/lib/model/domain/refund/index.d.ts +0 -29
  484. package/lib/model/domain/refund/index.js +0 -3
  485. package/lib/model/domain/refund/index.js.map +0 -1
  486. package/lib/model/domain/riskassessments/definitions/index.d.ts +0 -52
  487. package/lib/model/domain/riskassessments/definitions/index.js +0 -3
  488. package/lib/model/domain/riskassessments/definitions/index.js.map +0 -1
  489. package/lib/model/domain/riskassessments/index.d.ts +0 -12
  490. package/lib/model/domain/riskassessments/index.js +0 -3
  491. package/lib/model/domain/riskassessments/index.js.map +0 -1
  492. package/lib/model/domain/services/definitions/index.d.ts +0 -33
  493. package/lib/model/domain/services/definitions/index.js +0 -3
  494. package/lib/model/domain/services/definitions/index.js.map +0 -1
  495. package/lib/model/domain/services/index.d.ts +0 -29
  496. package/lib/model/domain/services/index.js +0 -3
  497. package/lib/model/domain/services/index.js.map +0 -1
  498. package/lib/model/domain/sessions/definitions/index.d.ts +0 -5
  499. package/lib/model/domain/sessions/definitions/index.js +0 -3
  500. package/lib/model/domain/sessions/definitions/index.js.map +0 -1
  501. package/lib/model/domain/sessions/index.d.ts +0 -13
  502. package/lib/model/domain/sessions/index.js +0 -3
  503. package/lib/model/domain/sessions/index.js.map +0 -1
  504. package/lib/model/domain/token/definitions/index.d.ts +0 -102
  505. package/lib/model/domain/token/definitions/index.js +0 -3
  506. package/lib/model/domain/token/definitions/index.js.map +0 -1
  507. package/lib/model/domain/token/index.d.ts +0 -32
  508. package/lib/model/domain/token/index.js +0 -3
  509. package/lib/model/domain/token/index.js.map +0 -1
  510. package/lib/model/domain/webhooks/index.d.ts +0 -17
  511. package/lib/model/domain/webhooks/index.js +0 -3
  512. package/lib/model/domain/webhooks/index.js.map +0 -1
  513. package/lib/model/files/index.d.ts +0 -10
  514. package/lib/model/files/index.js +0 -3
  515. package/lib/model/hostedcheckouts/index.d.ts +0 -25
  516. package/lib/model/hostedcheckouts/index.js +0 -3
  517. package/lib/model/hostedcheckouts/index.js.map +0 -1
  518. package/lib/model/hostedmandatemanagements/index.d.ts +0 -18
  519. package/lib/model/hostedmandatemanagements/index.js +0 -3
  520. package/lib/model/hostedmandatemanagements/index.js.map +0 -1
  521. package/lib/model/installments/index.d.ts +0 -11
  522. package/lib/model/installments/index.js +0 -3
  523. package/lib/model/mandates/index.d.ts +0 -46
  524. package/lib/model/mandates/index.js +0 -3
  525. package/lib/model/mandates/index.js.map +0 -1
  526. package/lib/model/payments/index.d.ts +0 -132
  527. package/lib/model/payments/index.js +0 -3
  528. package/lib/model/payments/index.js.map +0 -1
  529. package/lib/model/payouts/index.d.ts +0 -52
  530. package/lib/model/payouts/index.js +0 -3
  531. package/lib/model/payouts/index.js.map +0 -1
  532. package/lib/model/productgroups/index.d.ts +0 -43
  533. package/lib/model/productgroups/index.js +0 -3
  534. package/lib/model/productgroups/index.js.map +0 -1
  535. package/lib/model/products/index.d.ts +0 -82
  536. package/lib/model/products/index.js +0 -3
  537. package/lib/model/products/index.js.map +0 -1
  538. package/lib/model/refunds/index.d.ts +0 -46
  539. package/lib/model/refunds/index.js +0 -3
  540. package/lib/model/refunds/index.js.map +0 -1
  541. package/lib/model/riskassessments/index.d.ts +0 -18
  542. package/lib/model/riskassessments/index.js +0 -3
  543. package/lib/model/riskassessments/index.js.map +0 -1
  544. package/lib/model/services/index.d.ts +0 -48
  545. package/lib/model/services/index.js +0 -3
  546. package/lib/model/services/index.js.map +0 -1
  547. package/lib/model/sessions/index.d.ts +0 -11
  548. package/lib/model/sessions/index.js +0 -3
  549. package/lib/model/sessions/index.js.map +0 -1
  550. package/lib/model/tokens/index.d.ts +0 -42
  551. package/lib/model/tokens/index.js +0 -3
  552. package/lib/payments/approve.d.ts +0 -4
  553. package/lib/payments/approve.js +0 -30
  554. package/lib/payments/approve.js.map +0 -1
  555. package/lib/payments/cancel.d.ts +0 -3
  556. package/lib/payments/cancel.js +0 -17
  557. package/lib/payments/cancel.js.map +0 -1
  558. package/lib/payments/cancelapproval.d.ts +0 -3
  559. package/lib/payments/cancelapproval.js +0 -17
  560. package/lib/payments/cancelapproval.js.map +0 -1
  561. package/lib/payments/capture.d.ts +0 -4
  562. package/lib/payments/capture.js +0 -30
  563. package/lib/payments/capture.js.map +0 -1
  564. package/lib/payments/captures.d.ts +0 -3
  565. package/lib/payments/captures.js +0 -17
  566. package/lib/payments/captures.js.map +0 -1
  567. package/lib/payments/complete.d.ts +0 -4
  568. package/lib/payments/complete.js +0 -30
  569. package/lib/payments/complete.js.map +0 -1
  570. package/lib/payments/create.d.ts +0 -4
  571. package/lib/payments/create.js +0 -30
  572. package/lib/payments/create.js.map +0 -1
  573. package/lib/payments/devicefingerprint.d.ts +0 -3
  574. package/lib/payments/devicefingerprint.js +0 -17
  575. package/lib/payments/devicefingerprint.js.map +0 -1
  576. package/lib/payments/dispute.d.ts +0 -4
  577. package/lib/payments/dispute.js +0 -30
  578. package/lib/payments/dispute.js.map +0 -1
  579. package/lib/payments/disputes.d.ts +0 -3
  580. package/lib/payments/disputes.js +0 -17
  581. package/lib/payments/disputes.js.map +0 -1
  582. package/lib/payments/find.d.ts +0 -4
  583. package/lib/payments/find.js +0 -17
  584. package/lib/payments/find.js.map +0 -1
  585. package/lib/payments/get.d.ts +0 -3
  586. package/lib/payments/get.js +0 -17
  587. package/lib/payments/get.js.map +0 -1
  588. package/lib/payments/index.d.ts +0 -3
  589. package/lib/payments/index.js +0 -43
  590. package/lib/payments/index.js.map +0 -1
  591. package/lib/payments/processchallenged.d.ts +0 -3
  592. package/lib/payments/processchallenged.js +0 -17
  593. package/lib/payments/processchallenged.js.map +0 -1
  594. package/lib/payments/refund.d.ts +0 -4
  595. package/lib/payments/refund.js +0 -30
  596. package/lib/payments/refund.js.map +0 -1
  597. package/lib/payments/refunds.d.ts +0 -3
  598. package/lib/payments/refunds.js +0 -17
  599. package/lib/payments/refunds.js.map +0 -1
  600. package/lib/payments/thirdPartyStatus.d.ts +0 -3
  601. package/lib/payments/thirdPartyStatus.js +0 -17
  602. package/lib/payments/thirdPartyStatus.js.map +0 -1
  603. package/lib/payments/tokenize.d.ts +0 -4
  604. package/lib/payments/tokenize.js +0 -30
  605. package/lib/payments/tokenize.js.map +0 -1
  606. package/lib/payouts/approve.d.ts +0 -4
  607. package/lib/payouts/approve.js +0 -30
  608. package/lib/payouts/approve.js.map +0 -1
  609. package/lib/payouts/cancel.d.ts +0 -3
  610. package/lib/payouts/cancel.js +0 -17
  611. package/lib/payouts/cancel.js.map +0 -1
  612. package/lib/payouts/cancelapproval.d.ts +0 -3
  613. package/lib/payouts/cancelapproval.js +0 -17
  614. package/lib/payouts/cancelapproval.js.map +0 -1
  615. package/lib/payouts/create.d.ts +0 -4
  616. package/lib/payouts/create.js +0 -30
  617. package/lib/payouts/create.js.map +0 -1
  618. package/lib/payouts/find.d.ts +0 -4
  619. package/lib/payouts/find.js +0 -17
  620. package/lib/payouts/find.js.map +0 -1
  621. package/lib/payouts/get.d.ts +0 -3
  622. package/lib/payouts/get.js +0 -17
  623. package/lib/payouts/get.js.map +0 -1
  624. package/lib/payouts/index.d.ts +0 -3
  625. package/lib/payouts/index.js +0 -21
  626. package/lib/payouts/index.js.map +0 -1
  627. package/lib/productgroups/deviceFingerprint.d.ts +0 -4
  628. package/lib/productgroups/deviceFingerprint.js +0 -30
  629. package/lib/productgroups/deviceFingerprint.js.map +0 -1
  630. package/lib/productgroups/find.d.ts +0 -4
  631. package/lib/productgroups/find.js +0 -17
  632. package/lib/productgroups/find.js.map +0 -1
  633. package/lib/productgroups/get.d.ts +0 -4
  634. package/lib/productgroups/get.js +0 -17
  635. package/lib/productgroups/get.js.map +0 -1
  636. package/lib/productgroups/index.d.ts +0 -3
  637. package/lib/productgroups/index.js +0 -15
  638. package/lib/productgroups/index.js.map +0 -1
  639. package/lib/products/customerDetails.d.ts +0 -4
  640. package/lib/products/customerDetails.js +0 -30
  641. package/lib/products/customerDetails.js.map +0 -1
  642. package/lib/products/deviceFingerprint.d.ts +0 -4
  643. package/lib/products/deviceFingerprint.js +0 -30
  644. package/lib/products/deviceFingerprint.js.map +0 -1
  645. package/lib/products/directory.d.ts +0 -4
  646. package/lib/products/directory.js +0 -17
  647. package/lib/products/directory.js.map +0 -1
  648. package/lib/products/find.d.ts +0 -4
  649. package/lib/products/find.js +0 -17
  650. package/lib/products/find.js.map +0 -1
  651. package/lib/products/get.d.ts +0 -4
  652. package/lib/products/get.js +0 -17
  653. package/lib/products/get.js.map +0 -1
  654. package/lib/products/index.d.ts +0 -3
  655. package/lib/products/index.js +0 -23
  656. package/lib/products/index.js.map +0 -1
  657. package/lib/products/networks.d.ts +0 -4
  658. package/lib/products/networks.js +0 -17
  659. package/lib/products/networks.js.map +0 -1
  660. package/lib/products/sessions.d.ts +0 -4
  661. package/lib/products/sessions.js +0 -30
  662. package/lib/products/sessions.js.map +0 -1
  663. package/lib/refunds/approve.d.ts +0 -4
  664. package/lib/refunds/approve.js +0 -30
  665. package/lib/refunds/approve.js.map +0 -1
  666. package/lib/refunds/cancel.d.ts +0 -3
  667. package/lib/refunds/cancel.js +0 -17
  668. package/lib/refunds/cancel.js.map +0 -1
  669. package/lib/refunds/cancelapproval.d.ts +0 -3
  670. package/lib/refunds/cancelapproval.js +0 -17
  671. package/lib/refunds/cancelapproval.js.map +0 -1
  672. package/lib/refunds/find.d.ts +0 -4
  673. package/lib/refunds/find.js +0 -17
  674. package/lib/refunds/find.js.map +0 -1
  675. package/lib/refunds/get.d.ts +0 -3
  676. package/lib/refunds/get.js +0 -17
  677. package/lib/refunds/get.js.map +0 -1
  678. package/lib/refunds/index.d.ts +0 -3
  679. package/lib/refunds/index.js +0 -19
  680. package/lib/refunds/index.js.map +0 -1
  681. package/lib/riskassessments/bankaccounts.d.ts +0 -4
  682. package/lib/riskassessments/bankaccounts.js +0 -30
  683. package/lib/riskassessments/bankaccounts.js.map +0 -1
  684. package/lib/riskassessments/cards.d.ts +0 -4
  685. package/lib/riskassessments/cards.js +0 -30
  686. package/lib/riskassessments/cards.js.map +0 -1
  687. package/lib/riskassessments/index.d.ts +0 -3
  688. package/lib/riskassessments/index.js +0 -13
  689. package/lib/riskassessments/index.js.map +0 -1
  690. package/lib/services/bankaccount.d.ts +0 -4
  691. package/lib/services/bankaccount.js +0 -30
  692. package/lib/services/bankaccount.js.map +0 -1
  693. package/lib/services/convertAmount.d.ts +0 -4
  694. package/lib/services/convertAmount.js +0 -17
  695. package/lib/services/convertAmount.js.map +0 -1
  696. package/lib/services/getIINdetails.d.ts +0 -4
  697. package/lib/services/getIINdetails.js +0 -30
  698. package/lib/services/getIINdetails.js.map +0 -1
  699. package/lib/services/index.d.ts +0 -3
  700. package/lib/services/index.js +0 -19
  701. package/lib/services/index.js.map +0 -1
  702. package/lib/services/privacypolicy.d.ts +0 -4
  703. package/lib/services/privacypolicy.js +0 -17
  704. package/lib/services/privacypolicy.js.map +0 -1
  705. package/lib/services/testconnection.d.ts +0 -3
  706. package/lib/services/testconnection.js +0 -17
  707. package/lib/services/testconnection.js.map +0 -1
  708. package/lib/sessions/create.d.ts +0 -4
  709. package/lib/sessions/create.js +0 -30
  710. package/lib/sessions/create.js.map +0 -1
  711. package/lib/sessions/index.d.ts +0 -3
  712. package/lib/sessions/index.js +0 -11
  713. package/lib/sessions/index.js.map +0 -1
  714. package/lib/tokens/approvesepadirectdebit.d.ts +0 -4
  715. package/lib/tokens/approvesepadirectdebit.js +0 -30
  716. package/lib/tokens/approvesepadirectdebit.js.map +0 -1
  717. package/lib/tokens/create.d.ts +0 -4
  718. package/lib/tokens/create.js +0 -30
  719. package/lib/tokens/create.js.map +0 -1
  720. package/lib/tokens/get.d.ts +0 -3
  721. package/lib/tokens/get.js +0 -17
  722. package/lib/tokens/get.js.map +0 -1
  723. package/lib/tokens/index.d.ts +0 -3
  724. package/lib/tokens/index.js +0 -19
  725. package/lib/tokens/index.js.map +0 -1
  726. package/lib/tokens/remove.d.ts +0 -4
  727. package/lib/tokens/remove.js +0 -17
  728. package/lib/tokens/remove.js.map +0 -1
  729. package/lib/tokens/update.d.ts +0 -4
  730. package/lib/tokens/update.js +0 -30
  731. package/lib/tokens/update.js.map +0 -1
  732. package/lib/utils/versions.d.ts +0 -1
  733. package/lib/utils/versions.js +0 -9
  734. package/lib/utils/versions.js.map +0 -1
  735. /package/lib/model/domain/{metadata/index.d.ts → index.d.ts} +0 -0
  736. /package/lib/model/{captures → domain}/index.js +0 -0
  737. /package/lib/{model/disputes → v1/model/captures}/index.js +0 -0
  738. /package/lib/{model/domain/capture/definitions → v1/model/disputes}/index.js +0 -0
  739. /package/lib/{model/domain/capture → v1/model/files}/index.js +0 -0
  740. /package/lib/{model/domain/definitions → v1/model/hostedcheckouts}/index.js +0 -0
  741. /package/lib/{model/domain/dispute/definitions → v1/model/hostedmandatemanagements}/index.js +0 -0
  742. /package/lib/{model/domain/dispute → v1/model}/index.js +0 -0
  743. /package/lib/{model/domain/errors → v1/model/installments}/index.js +0 -0
  744. /package/lib/{model/domain/hostedcheckout/definitions → v1/model/mandates}/index.js +0 -0
  745. /package/lib/{model/domain/hostedcheckout → v1/model/payments}/index.js +0 -0
  746. /package/lib/{model/domain/hostedmandatemanagement/definitions → v1/model/payouts}/index.js +0 -0
  747. /package/lib/{model/domain/hostedmandatemanagement → v1/model/productgroups}/index.js +0 -0
  748. /package/lib/{model/domain/installments/definitions → v1/model/products}/index.js +0 -0
  749. /package/lib/{model/domain/installments → v1/model/refunds}/index.js +0 -0
  750. /package/lib/{model/domain/mandates/definitions → v1/model/riskassessments}/index.js +0 -0
  751. /package/lib/{model/domain/mandates → v1/model/services}/index.js +0 -0
  752. /package/lib/{model/domain/metadata → v1/model/sessions}/index.js +0 -0
  753. /package/lib/{model/domain/payment/definitions → v1/model/tokens}/index.js +0 -0
  754. /package/lib/{model/domain/payment → v1/model/webhooks}/index.js +0 -0
  755. /package/schemas/{payment → v1}/ApprovePaymentRequest.json +0 -0
  756. /package/schemas/{payout → v1}/ApprovePayoutRequest.json +0 -0
  757. /package/schemas/{refund → v1}/ApproveRefundRequest.json +0 -0
  758. /package/schemas/{token → v1}/ApproveTokenRequest.json +0 -0
  759. /package/schemas/{services → v1}/BankDetailsRequest.json +0 -0
  760. /package/schemas/{payment → v1}/CapturePaymentRequest.json +0 -0
  761. /package/schemas/{payment → v1}/CompletePaymentRequest.json +0 -0
  762. /package/schemas/{dispute → v1}/CreateDisputeRequest.json +0 -0
  763. /package/schemas/{hostedcheckout → v1}/CreateHostedCheckoutRequest.json +0 -0
  764. /package/schemas/{hostedmandatemanagement → v1}/CreateHostedMandateManagementRequest.json +0 -0
  765. /package/schemas/{mandates → v1}/CreateMandateRequest.json +0 -0
  766. /package/schemas/{product → v1}/CreatePaymentProductSessionRequest.json +0 -0
  767. /package/schemas/{payment → v1}/CreatePaymentRequest.json +0 -0
  768. /package/schemas/{payout → v1}/CreatePayoutRequest.json +0 -0
  769. /package/schemas/{token → v1}/CreateTokenRequest.json +0 -0
  770. /package/schemas/{product → v1}/DeviceFingerprintRequest.json +0 -0
  771. /package/schemas/{product → v1}/GetCustomerDetailsRequest.json +0 -0
  772. /package/schemas/{services → v1}/GetIINDetailsRequest.json +0 -0
  773. /package/schemas/{installments → v1}/GetInstallmentRequest.json +0 -0
  774. /package/schemas/{refund → v1}/RefundRequest.json +0 -0
  775. /package/schemas/{riskassessments → v1}/RiskAssessmentBankAccount.json +0 -0
  776. /package/schemas/{riskassessments → v1}/RiskAssessmentCard.json +0 -0
  777. /package/schemas/{sessions → v1}/SessionRequest.json +0 -0
  778. /package/schemas/{payment → v1}/TokenizePaymentRequest.json +0 -0
  779. /package/schemas/{token → v1}/UpdateTokenRequest.json +0 -0
@@ -1,910 +0,0 @@
1
- import { AbstractOrderStatus, AbstractPaymentMethodSpecificInput, AdditionalOrderInputAirlineData, Address, AirlineData, AmountOfMoney, BankAccountBban, BankAccountIban, Card, CardEssentials, CardFraudResults, CardWithoutCvv, ContactDetailsBase, CustomerBase, FraudResults, KeyValuePair, LodgingData, OrderStatusOutput, PersonalNameBase, RedirectDataBase } from "../../definitions";
2
- import { CreateMandateBase, CreateMandateWithReturnUrl } from "../../mandates/definitions";
3
- import { PaymentProductField } from "../../product/definitions";
4
- export interface AbstractBankTransferPaymentMethodSpecificInput extends AbstractPaymentMethodSpecificInput {
5
- additionalReference?: string | null;
6
- }
7
- export interface AbstractCardPaymentMethodSpecificInput extends AbstractPaymentMethodSpecificInput {
8
- acquirerPromotionCode?: string | null;
9
- authorizationMode?: string | null;
10
- customerReference?: string | null;
11
- initialSchemeTransactionId?: string | null;
12
- recurring?: CardRecurrenceDetails | null;
13
- /**
14
- * @deprecated Use recurring.recurringPaymentSequenceIndicator instead
15
- */
16
- recurringPaymentSequenceIndicator?: string | null;
17
- requiresApproval?: boolean | null;
18
- /**
19
- * @deprecated Use threeDSecure.skipAuthentication instead
20
- */
21
- skipAuthentication?: boolean | null;
22
- skipFraudService?: boolean | null;
23
- token?: string | null;
24
- tokenize?: boolean | null;
25
- transactionChannel?: string | null;
26
- /**
27
- * @deprecated Use unscheduledCardOnFileSequenceIndicator instead
28
- */
29
- unscheduledCardOnFileIndicator?: string | null;
30
- unscheduledCardOnFileRequestor?: string | null;
31
- unscheduledCardOnFileSequenceIndicator?: string | null;
32
- }
33
- export interface AbstractCashPaymentMethodSpecificInput extends AbstractPaymentMethodSpecificInput {
34
- }
35
- export interface AbstractEInvoicePaymentMethodSpecificInput extends AbstractPaymentMethodSpecificInput {
36
- requiresApproval?: boolean | null;
37
- }
38
- export interface AbstractPaymentMethodSpecificOutput {
39
- paymentProductId?: number | null;
40
- }
41
- export interface AbstractRedirectPaymentMethodSpecificInput extends AbstractPaymentMethodSpecificInput {
42
- expirationPeriod?: number | null;
43
- recurringPaymentSequenceIndicator?: string | null;
44
- requiresApproval?: boolean | null;
45
- token?: string | null;
46
- tokenize?: boolean | null;
47
- }
48
- export interface AbstractRedirectPaymentProduct4101SpecificInput {
49
- }
50
- export interface AbstractRedirectPaymentProduct840SpecificInput {
51
- addressSelectionAtPayPal?: boolean | null;
52
- }
53
- export interface AbstractSepaDirectDebitPaymentMethodSpecificInput extends AbstractPaymentMethodSpecificInput {
54
- }
55
- export interface AbstractSepaDirectDebitPaymentProduct771SpecificInput {
56
- /**
57
- * @deprecated Use existingUniqueMandateReference or mandate.uniqueMandateReference instead
58
- */
59
- mandateReference?: string | null;
60
- }
61
- export interface AbstractThreeDSecure {
62
- authenticationAmount?: AmountOfMoney | null;
63
- authenticationFlow?: string | null;
64
- challengeCanvasSize?: string | null;
65
- challengeIndicator?: string | null;
66
- exemptionRequest?: string | null;
67
- priorThreeDSecureData?: ThreeDSecureData | null;
68
- sdkData?: SdkDataInput | null;
69
- skipAuthentication?: boolean | null;
70
- transactionRiskLevel?: string | null;
71
- }
72
- export interface AccountFundingRecipient {
73
- accountNumber?: string | null;
74
- accountNumberType?: string | null;
75
- address?: Address | null;
76
- dateOfBirth?: string | null;
77
- name?: AfrName | null;
78
- partialPan?: string | null;
79
- }
80
- export interface AdditionalOrderInput {
81
- accountFundingRecipient?: AccountFundingRecipient | null;
82
- airlineData?: AirlineData | null;
83
- installments?: Installments | null;
84
- /**
85
- * @deprecated Use Order.shoppingCart.amountBreakdown instead
86
- */
87
- level3SummaryData?: Level3SummaryData | null;
88
- /**
89
- * @deprecated No replacement
90
- */
91
- loanRecipient?: LoanRecipient | null;
92
- lodgingData?: LodgingData | null;
93
- /**
94
- * @deprecated Use installments.numberOfInstallments instead
95
- */
96
- numberOfInstallments?: number | null;
97
- orderDate?: string | null;
98
- typeInformation?: OrderTypeInformation | null;
99
- }
100
- export interface AddressPersonal extends Address {
101
- name?: PersonalName | null;
102
- }
103
- export interface AfrName {
104
- firstName?: string | null;
105
- surname?: string | null;
106
- }
107
- export interface AmountBreakdown {
108
- amount?: number | null;
109
- type?: string | null;
110
- }
111
- export interface ApprovePaymentCardPaymentMethodSpecificOutput {
112
- voidResponseId?: string | null;
113
- }
114
- export interface ApprovePaymentDirectDebitPaymentMethodSpecificInput extends ApprovePaymentPaymentMethodSpecificInput {
115
- }
116
- export interface ApprovePaymentMobilePaymentMethodSpecificOutput {
117
- voidResponseId?: string | null;
118
- }
119
- export interface ApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput extends ApprovePaymentDirectDebitPaymentMethodSpecificInput {
120
- }
121
- export interface ApprovePaymentPaymentMethodSpecificInput {
122
- dateCollect?: string | null;
123
- token?: string | null;
124
- }
125
- export interface ApprovePaymentSepaDirectDebitPaymentMethodSpecificInput extends ApprovePaymentDirectDebitPaymentMethodSpecificInput {
126
- }
127
- export interface BankTransferPaymentMethodSpecificInput extends AbstractBankTransferPaymentMethodSpecificInput {
128
- }
129
- export interface BankTransferPaymentMethodSpecificInputBase extends AbstractBankTransferPaymentMethodSpecificInput {
130
- }
131
- export interface BankTransferPaymentMethodSpecificOutput extends AbstractPaymentMethodSpecificOutput {
132
- fraudResults?: FraudResults | null;
133
- }
134
- export interface BrowserData {
135
- colorDepth?: number | null;
136
- innerHeight?: string | null;
137
- innerWidth?: string | null;
138
- javaEnabled?: boolean | null;
139
- javaScriptEnabled?: boolean | null;
140
- screenHeight?: string | null;
141
- screenWidth?: string | null;
142
- }
143
- export interface CancelPaymentCardPaymentMethodSpecificOutput {
144
- voidResponseId?: string | null;
145
- }
146
- export interface CancelPaymentMobilePaymentMethodSpecificOutput {
147
- voidResponseId?: string | null;
148
- }
149
- export interface CardPaymentMethodSpecificInput extends AbstractCardPaymentMethodSpecificInput {
150
- card?: Card | null;
151
- /**
152
- * @deprecated Use threeDSecure.externalCardholderAuthenticationData instead
153
- */
154
- externalCardholderAuthenticationData?: ExternalCardholderAuthenticationData | null;
155
- isRecurring?: boolean | null;
156
- merchantInitiatedReasonIndicator?: string | null;
157
- networkTokenData?: SchemeTokenData | null;
158
- /**
159
- * @deprecated Use threeDSecure.redirectionData.returnUrl instead
160
- */
161
- returnUrl?: string | null;
162
- threeDSecure?: ThreeDSecure | null;
163
- }
164
- export interface CardPaymentMethodSpecificInputBase extends AbstractCardPaymentMethodSpecificInput {
165
- threeDSecure?: ThreeDSecureBase | null;
166
- }
167
- export interface CardPaymentMethodSpecificOutput extends AbstractPaymentMethodSpecificOutput {
168
- authorisationCode?: string | null;
169
- card?: CardEssentials | null;
170
- fraudResults?: CardFraudResults | null;
171
- initialSchemeTransactionId?: string | null;
172
- schemeTransactionId?: string | null;
173
- threeDSecureResults?: ThreeDSecureResults | null;
174
- token?: string | null;
175
- }
176
- export interface CardRecurrenceDetails {
177
- endDate?: string | null;
178
- minFrequency?: number | null;
179
- recurringPaymentSequenceIndicator?: string | null;
180
- }
181
- export interface CashPaymentMethodSpecificInput extends AbstractCashPaymentMethodSpecificInput {
182
- /**
183
- * @deprecated No replacement
184
- */
185
- paymentProduct1503SpecificInput?: CashPaymentProduct1503SpecificInput | null;
186
- paymentProduct1504SpecificInput?: CashPaymentProduct1504SpecificInput | null;
187
- paymentProduct1521SpecificInput?: CashPaymentProduct1521SpecificInput | null;
188
- paymentProduct1522SpecificInput?: CashPaymentProduct1522SpecificInput | null;
189
- paymentProduct1523SpecificInput?: CashPaymentProduct1523SpecificInput | null;
190
- paymentProduct1524SpecificInput?: CashPaymentProduct1524SpecificInput | null;
191
- paymentProduct1526SpecificInput?: CashPaymentProduct1526SpecificInput | null;
192
- }
193
- export interface CashPaymentMethodSpecificInputBase extends AbstractCashPaymentMethodSpecificInput {
194
- }
195
- export interface CashPaymentMethodSpecificOutput extends AbstractPaymentMethodSpecificOutput {
196
- fraudResults?: FraudResults | null;
197
- }
198
- /**
199
- * @deprecated No replacement
200
- */
201
- export interface CashPaymentProduct1503SpecificInput {
202
- /**
203
- * @deprecated No replacement, since Boleto Bancario no longer needs a return URL
204
- */
205
- returnUrl?: string | null;
206
- }
207
- export interface CashPaymentProduct1504SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase {
208
- }
209
- export interface CashPaymentProduct1521SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase {
210
- }
211
- export interface CashPaymentProduct1522SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase {
212
- }
213
- export interface CashPaymentProduct1523SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase {
214
- }
215
- export interface CashPaymentProduct1524SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase {
216
- }
217
- export interface CashPaymentProduct1526SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase {
218
- }
219
- export interface CashPaymentProductWithRedirectSpecificInputBase {
220
- returnUrl?: string | null;
221
- }
222
- export interface CompletePaymentCardPaymentMethodSpecificInput {
223
- card?: CardWithoutCvv | null;
224
- }
225
- export interface ContactDetails extends ContactDetailsBase {
226
- faxNumber?: string | null;
227
- mobilePhoneNumber?: string | null;
228
- phoneNumber?: string | null;
229
- workPhoneNumber?: string | null;
230
- }
231
- export interface CreatePaymentResult {
232
- creationOutput?: PaymentCreationOutput | null;
233
- merchantAction?: MerchantAction | null;
234
- payment?: Payment | null;
235
- }
236
- export interface Customer extends CustomerBase {
237
- account?: CustomerAccount | null;
238
- accountType?: string | null;
239
- billingAddress?: Address | null;
240
- contactDetails?: ContactDetails | null;
241
- device?: CustomerDevice | null;
242
- fiscalNumber?: string | null;
243
- isCompany?: boolean | null;
244
- isPreviousCustomer?: boolean | null;
245
- locale?: string | null;
246
- personalInformation?: PersonalInformation | null;
247
- /**
248
- * @deprecated Use Order.shipping.address instead
249
- */
250
- shippingAddress?: AddressPersonal | null;
251
- }
252
- export interface CustomerAccount {
253
- authentication?: CustomerAccountAuthentication | null;
254
- changeDate?: string | null;
255
- changedDuringCheckout?: boolean | null;
256
- createDate?: string | null;
257
- hadSuspiciousActivity?: boolean | null;
258
- hasForgottenPassword?: boolean | null;
259
- hasPassword?: boolean | null;
260
- passwordChangeDate?: string | null;
261
- passwordChangedDuringCheckout?: boolean | null;
262
- paymentAccountOnFile?: PaymentAccountOnFile | null;
263
- paymentAccountOnFileType?: string | null;
264
- paymentActivity?: CustomerPaymentActivity | null;
265
- }
266
- export interface CustomerAccountAuthentication {
267
- data?: string | null;
268
- method?: string | null;
269
- utcTimestamp?: string | null;
270
- }
271
- export interface CustomerApprovePayment {
272
- accountType?: string | null;
273
- }
274
- export interface CustomerDevice {
275
- acceptHeader?: string | null;
276
- browserData?: BrowserData | null;
277
- defaultFormFill?: string | null;
278
- deviceFingerprintTransactionId?: string | null;
279
- ipAddress?: string | null;
280
- locale?: string | null;
281
- timezoneOffsetUtcMinutes?: string | null;
282
- userAgent?: string | null;
283
- }
284
- export interface CustomerPaymentActivity {
285
- numberOfPaymentAttemptsLast24Hours?: number | null;
286
- numberOfPaymentAttemptsLastYear?: number | null;
287
- numberOfPurchasesLast6Months?: number | null;
288
- }
289
- export interface DecryptedPaymentData {
290
- /**
291
- * @deprecated Use decryptedPaymentData.paymentMethod instead
292
- */
293
- authMethod?: string | null;
294
- cardholderName?: string | null;
295
- cryptogram?: string | null;
296
- dpan?: string | null;
297
- eci?: number | null;
298
- expiryDate?: string | null;
299
- pan?: string | null;
300
- paymentMethod?: string | null;
301
- }
302
- export interface DeviceRenderOptions {
303
- sdkInterface?: string | null;
304
- /**
305
- * @deprecated Use deviceRenderOptions.sdkUiTypes instead
306
- */
307
- sdkUiType?: string | null;
308
- sdkUiTypes?: string[] | null;
309
- }
310
- export interface EInvoicePaymentMethodSpecificInput extends AbstractEInvoicePaymentMethodSpecificInput {
311
- acceptedTermsAndConditions?: boolean | null;
312
- paymentProduct9000SpecificInput?: EInvoicePaymentProduct9000SpecificInput | null;
313
- }
314
- export interface EInvoicePaymentMethodSpecificInputBase extends AbstractEInvoicePaymentMethodSpecificInput {
315
- }
316
- export interface EInvoicePaymentMethodSpecificOutput extends AbstractPaymentMethodSpecificOutput {
317
- fraudResults?: FraudResults | null;
318
- paymentProduct9000SpecificOutput?: EInvoicePaymentProduct9000SpecificOutput | null;
319
- }
320
- export interface EInvoicePaymentProduct9000SpecificInput {
321
- bankAccountIban?: BankAccountIban | null;
322
- installmentId?: string | null;
323
- }
324
- export interface EInvoicePaymentProduct9000SpecificOutput {
325
- installmentId?: string | null;
326
- }
327
- export interface ExemptionOutput {
328
- exemptionRaised?: string | null;
329
- exemptionRejectionReason?: string | null;
330
- exemptionRequest?: string | null;
331
- }
332
- export interface ExternalCardholderAuthenticationData {
333
- acsTransactionId?: string | null;
334
- appliedExemption?: string | null;
335
- cavv?: string | null;
336
- cavvAlgorithm?: string | null;
337
- directoryServerTransactionId?: string | null;
338
- eci?: number | null;
339
- schemeRiskScore?: number | null;
340
- threeDSecureVersion?: string | null;
341
- /**
342
- * @deprecated No replacement
343
- */
344
- threeDServerTransactionId?: string | null;
345
- validationResult?: string | null;
346
- xid?: string | null;
347
- }
348
- export interface GPayThreeDSecure {
349
- challengeCanvasSize?: string | null;
350
- challengeIndicator?: string | null;
351
- exemptionRequest?: string | null;
352
- redirectionData?: RedirectionData | null;
353
- skipAuthentication?: boolean | null;
354
- }
355
- export interface GiftCardPurchase {
356
- amountOfMoney?: AmountOfMoney | null;
357
- numberOfGiftCards?: number | null;
358
- }
359
- export interface HostedCheckoutSpecificOutput {
360
- hostedCheckoutId?: string | null;
361
- variant?: string | null;
362
- }
363
- export interface Installments {
364
- amountOfMoneyPerInstallment?: AmountOfMoney | null;
365
- amountOfMoneyTotal?: AmountOfMoney | null;
366
- frequencyOfInstallments?: string | null;
367
- installmentPlanCode?: number | null;
368
- interestRate?: string | null;
369
- numberOfInstallments?: number | null;
370
- }
371
- export interface InvoicePaymentMethodSpecificInput extends AbstractPaymentMethodSpecificInput {
372
- additionalReference?: string | null;
373
- }
374
- export interface InvoicePaymentMethodSpecificOutput extends AbstractPaymentMethodSpecificOutput {
375
- fraudResults?: FraudResults | null;
376
- }
377
- /**
378
- * @deprecated Use ShoppingCart.amountBreakdown instead
379
- */
380
- export interface Level3SummaryData {
381
- /**
382
- * @deprecated Use ShoppingCart.amountBreakdown with type DISCOUNT instead
383
- */
384
- discountAmount?: number | null;
385
- /**
386
- * @deprecated Use ShoppingCart.amountBreakdown with type DUTY instead
387
- */
388
- dutyAmount?: number | null;
389
- /**
390
- * @deprecated Use ShoppingCart.amountBreakdown with type SHIPPING instead
391
- */
392
- shippingAmount?: number | null;
393
- }
394
- export interface LineItem {
395
- amountOfMoney?: AmountOfMoney | null;
396
- invoiceData?: LineItemInvoiceData | null;
397
- /**
398
- * @deprecated Use orderLineDetails instead
399
- */
400
- level3InterchangeInformation?: LineItemLevel3InterchangeInformation | null;
401
- orderLineDetails?: OrderLineDetails | null;
402
- }
403
- export interface LineItemInvoiceData {
404
- description?: string | null;
405
- merchantLinenumber?: string | null;
406
- merchantPagenumber?: string | null;
407
- nrOfItems?: string | null;
408
- pricePerItem?: number | null;
409
- }
410
- export interface LineItemLevel3InterchangeInformation {
411
- discountAmount?: number | null;
412
- lineAmountTotal?: number | null;
413
- productCode?: string | null;
414
- productPrice?: number | null;
415
- productType?: string | null;
416
- quantity?: number | null;
417
- taxAmount?: number | null;
418
- unit?: string | null;
419
- }
420
- /**
421
- * @deprecated No replacement
422
- */
423
- export interface LoanRecipient {
424
- /**
425
- * @deprecated No replacement
426
- */
427
- accountNumber?: string | null;
428
- /**
429
- * @deprecated No replacement
430
- */
431
- dateOfBirth?: string | null;
432
- /**
433
- * @deprecated No replacement
434
- */
435
- partialPan?: string | null;
436
- /**
437
- * @deprecated No replacement
438
- */
439
- surname?: string | null;
440
- /**
441
- * @deprecated No replacement
442
- */
443
- zip?: string | null;
444
- }
445
- export interface Merchant {
446
- configurationId?: string | null;
447
- contactWebsiteUrl?: string | null;
448
- seller?: Seller | null;
449
- websiteUrl?: string | null;
450
- }
451
- export interface MerchantAction {
452
- actionType?: string | null;
453
- formFields?: PaymentProductField[] | null;
454
- mobileThreeDSecureChallengeParameters?: MobileThreeDSecureChallengeParameters | null;
455
- redirectData?: RedirectData | null;
456
- renderingData?: string | null;
457
- showData?: KeyValuePair[] | null;
458
- thirdPartyData?: ThirdPartyData | null;
459
- }
460
- export interface MobilePaymentData {
461
- dpan?: string | null;
462
- expiryDate?: string | null;
463
- }
464
- export interface MobilePaymentMethodSpecificInput extends AbstractPaymentMethodSpecificInput {
465
- authorizationMode?: string | null;
466
- customerReference?: string | null;
467
- decryptedPaymentData?: DecryptedPaymentData | null;
468
- encryptedPaymentData?: string | null;
469
- paymentProduct320SpecificInput?: MobilePaymentProduct320SpecificInput | null;
470
- requiresApproval?: boolean | null;
471
- skipFraudService?: boolean | null;
472
- }
473
- export interface MobilePaymentMethodSpecificOutput extends AbstractPaymentMethodSpecificOutput {
474
- authorisationCode?: string | null;
475
- fraudResults?: CardFraudResults | null;
476
- network?: string | null;
477
- paymentData?: MobilePaymentData | null;
478
- threeDSecureResults?: ThreeDSecureResults | null;
479
- }
480
- export interface MobilePaymentProduct320SpecificInput {
481
- cardholderName?: string | null;
482
- threeDSecure?: GPayThreeDSecure | null;
483
- }
484
- export interface MobileThreeDSecureChallengeParameters {
485
- acsReferenceNumber?: string | null;
486
- acsSignedContent?: string | null;
487
- acsTransactionId?: string | null;
488
- threeDServerTransactionId?: string | null;
489
- }
490
- export interface NonSepaDirectDebitPaymentMethodSpecificInput extends AbstractPaymentMethodSpecificInput {
491
- dateCollect?: string | null;
492
- directDebitText?: string | null;
493
- isRecurring?: boolean | null;
494
- paymentProduct705SpecificInput?: NonSepaDirectDebitPaymentProduct705SpecificInput | null;
495
- paymentProduct730SpecificInput?: NonSepaDirectDebitPaymentProduct730SpecificInput | null;
496
- recurringPaymentSequenceIndicator?: string | null;
497
- requiresApproval?: boolean | null;
498
- token?: string | null;
499
- tokenize?: boolean | null;
500
- }
501
- export interface NonSepaDirectDebitPaymentMethodSpecificOutput extends AbstractPaymentMethodSpecificOutput {
502
- fraudResults?: FraudResults | null;
503
- }
504
- export interface NonSepaDirectDebitPaymentProduct705SpecificInput {
505
- authorisationId?: string | null;
506
- bankAccountBban?: BankAccountBban | null;
507
- transactionType?: string | null;
508
- }
509
- export interface NonSepaDirectDebitPaymentProduct730SpecificInput {
510
- bankAccountBban?: BankAccountBban | null;
511
- }
512
- export interface Order {
513
- additionalInput?: AdditionalOrderInput | null;
514
- amountOfMoney?: AmountOfMoney | null;
515
- customer?: Customer | null;
516
- /**
517
- * @deprecated Use shoppingCart.items instead
518
- */
519
- items?: LineItem[] | null;
520
- references?: OrderReferences | null;
521
- /**
522
- * @deprecated Use Merchant.seller instead
523
- */
524
- seller?: Seller | null;
525
- shipping?: Shipping | null;
526
- shoppingCart?: ShoppingCart | null;
527
- }
528
- export interface OrderApprovePayment {
529
- additionalInput?: AdditionalOrderInputAirlineData | null;
530
- customer?: CustomerApprovePayment | null;
531
- references?: OrderReferencesApprovePayment | null;
532
- }
533
- export interface OrderInvoiceData {
534
- additionalData?: string | null;
535
- invoiceDate?: string | null;
536
- invoiceNumber?: string | null;
537
- textQualifiers?: string[] | null;
538
- }
539
- export interface OrderLineDetails {
540
- discountAmount?: number | null;
541
- googleProductCategoryId?: number | null;
542
- lineAmountTotal?: number | null;
543
- productCategory?: string | null;
544
- productCode?: string | null;
545
- productName?: string | null;
546
- productPrice?: number | null;
547
- productSku?: string | null;
548
- productType?: string | null;
549
- quantity?: number | null;
550
- taxAmount?: number | null;
551
- unit?: string | null;
552
- }
553
- export interface OrderOutput {
554
- amountOfMoney?: AmountOfMoney | null;
555
- references?: PaymentReferences | null;
556
- }
557
- export interface OrderReferences {
558
- descriptor?: string | null;
559
- invoiceData?: OrderInvoiceData | null;
560
- merchantOrderId?: number | null;
561
- merchantReference?: string | null;
562
- providerId?: string | null;
563
- providerMerchantId?: string | null;
564
- }
565
- export interface OrderReferencesApprovePayment {
566
- merchantReference?: string | null;
567
- }
568
- export interface OrderTypeInformation {
569
- fundingType?: string | null;
570
- purchaseType?: string | null;
571
- transactionType?: string | null;
572
- usageType?: string | null;
573
- }
574
- export interface Payment extends AbstractOrderStatus {
575
- hostedCheckoutSpecificOutput?: HostedCheckoutSpecificOutput | null;
576
- paymentOutput?: PaymentOutput | null;
577
- status?: string | null;
578
- statusOutput?: PaymentStatusOutput | null;
579
- }
580
- export interface PaymentAccountOnFile {
581
- createDate?: string | null;
582
- numberOfCardOnFileCreationAttemptsLast24Hours?: number | null;
583
- }
584
- export interface PaymentCreationOutput extends PaymentCreationReferences {
585
- isCheckedRememberMe?: boolean | null;
586
- isNewToken?: boolean | null;
587
- token?: string | null;
588
- tokenizationSucceeded?: boolean | null;
589
- }
590
- export interface PaymentCreationReferences {
591
- additionalReference?: string | null;
592
- externalReference?: string | null;
593
- }
594
- export interface PaymentOutput extends OrderOutput {
595
- amountPaid?: number | null;
596
- amountReversed?: number | null;
597
- bankTransferPaymentMethodSpecificOutput?: BankTransferPaymentMethodSpecificOutput | null;
598
- cardPaymentMethodSpecificOutput?: CardPaymentMethodSpecificOutput | null;
599
- cashPaymentMethodSpecificOutput?: CashPaymentMethodSpecificOutput | null;
600
- directDebitPaymentMethodSpecificOutput?: NonSepaDirectDebitPaymentMethodSpecificOutput | null;
601
- eInvoicePaymentMethodSpecificOutput?: EInvoicePaymentMethodSpecificOutput | null;
602
- invoicePaymentMethodSpecificOutput?: InvoicePaymentMethodSpecificOutput | null;
603
- mobilePaymentMethodSpecificOutput?: MobilePaymentMethodSpecificOutput | null;
604
- paymentMethod?: string | null;
605
- redirectPaymentMethodSpecificOutput?: RedirectPaymentMethodSpecificOutput | null;
606
- reversalReason?: string | null;
607
- sepaDirectDebitPaymentMethodSpecificOutput?: SepaDirectDebitPaymentMethodSpecificOutput | null;
608
- }
609
- export interface PaymentProduct3201SpecificOutput {
610
- card?: CardEssentials | null;
611
- }
612
- export interface PaymentProduct771SpecificOutput {
613
- mandateReference?: string | null;
614
- }
615
- export interface PaymentProduct806SpecificOutput {
616
- billingAddress?: Address | null;
617
- customerAccount?: TrustlyBankAccount | null;
618
- }
619
- export interface PaymentProduct836SpecificOutput {
620
- securityIndicator?: string | null;
621
- }
622
- export interface PaymentProduct840CustomerAccount {
623
- accountId?: string | null;
624
- billingAgreementId?: string | null;
625
- companyName?: string | null;
626
- contactPhone?: string | null;
627
- countryCode?: string | null;
628
- customerAccountStatus?: string | null;
629
- customerAddressStatus?: string | null;
630
- firstName?: string | null;
631
- payerId?: string | null;
632
- surname?: string | null;
633
- }
634
- export interface PaymentProduct840SpecificOutput {
635
- billingAddress?: Address | null;
636
- customerAccount?: PaymentProduct840CustomerAccount | null;
637
- customerAddress?: Address | null;
638
- protectionEligibility?: ProtectionEligibility | null;
639
- }
640
- export interface PaymentProduct863ThirdPartyData {
641
- appId?: string | null;
642
- nonceStr?: string | null;
643
- packageSign?: string | null;
644
- paySign?: string | null;
645
- prepayId?: string | null;
646
- signType?: string | null;
647
- timeStamp?: string | null;
648
- }
649
- export interface PaymentReferences {
650
- merchantOrderId?: number | null;
651
- merchantReference?: string | null;
652
- paymentReference?: string | null;
653
- providerId?: string | null;
654
- providerMerchantId?: string | null;
655
- providerReference?: string | null;
656
- referenceOrigPayment?: string | null;
657
- }
658
- export interface PaymentStatusOutput extends OrderStatusOutput {
659
- isAuthorized?: boolean | null;
660
- isRefundable?: boolean | null;
661
- threeDSecureStatus?: string | null;
662
- }
663
- export interface PersonalIdentification {
664
- idIssuingCountryCode?: string | null;
665
- idType?: string | null;
666
- idValue?: string | null;
667
- }
668
- export interface PersonalInformation {
669
- dateOfBirth?: string | null;
670
- gender?: string | null;
671
- identification?: PersonalIdentification | null;
672
- name?: PersonalName | null;
673
- }
674
- export interface PersonalName extends PersonalNameBase {
675
- title?: string | null;
676
- }
677
- export interface ProtectionEligibility {
678
- eligibility?: string | null;
679
- type?: string | null;
680
- }
681
- export interface RedirectData extends RedirectDataBase {
682
- }
683
- export interface RedirectPaymentMethodSpecificInput extends AbstractRedirectPaymentMethodSpecificInput {
684
- isRecurring?: boolean | null;
685
- paymentProduct4101SpecificInput?: RedirectPaymentProduct4101SpecificInput | null;
686
- paymentProduct809SpecificInput?: RedirectPaymentProduct809SpecificInput | null;
687
- paymentProduct816SpecificInput?: RedirectPaymentProduct816SpecificInput | null;
688
- paymentProduct840SpecificInput?: RedirectPaymentProduct840SpecificInput | null;
689
- paymentProduct861SpecificInput?: RedirectPaymentProduct861SpecificInput | null;
690
- paymentProduct863SpecificInput?: RedirectPaymentProduct863SpecificInput | null;
691
- paymentProduct869SpecificInput?: RedirectPaymentProduct869SpecificInput | null;
692
- paymentProduct882SpecificInput?: RedirectPaymentProduct882SpecificInput | null;
693
- redirectionData?: RedirectionData | null;
694
- /**
695
- * @deprecated Use redirectionData.returnUrl instead
696
- */
697
- returnUrl?: string | null;
698
- }
699
- export interface RedirectPaymentMethodSpecificInputBase extends AbstractRedirectPaymentMethodSpecificInput {
700
- paymentProduct4101SpecificInput?: RedirectPaymentProduct4101SpecificInputBase | null;
701
- paymentProduct840SpecificInput?: RedirectPaymentProduct840SpecificInputBase | null;
702
- }
703
- export interface RedirectPaymentMethodSpecificOutput extends AbstractPaymentMethodSpecificOutput {
704
- bankAccountBban?: BankAccountBban | null;
705
- bankAccountIban?: BankAccountIban | null;
706
- bic?: string | null;
707
- fraudResults?: FraudResults | null;
708
- paymentProduct3201SpecificOutput?: PaymentProduct3201SpecificOutput | null;
709
- paymentProduct806SpecificOutput?: PaymentProduct806SpecificOutput | null;
710
- paymentProduct836SpecificOutput?: PaymentProduct836SpecificOutput | null;
711
- paymentProduct840SpecificOutput?: PaymentProduct840SpecificOutput | null;
712
- token?: string | null;
713
- }
714
- export interface RedirectPaymentProduct4101SpecificInput {
715
- displayName?: string | null;
716
- integrationType?: string | null;
717
- virtualPaymentAddress?: string | null;
718
- }
719
- export interface RedirectPaymentProduct4101SpecificInputBase extends AbstractRedirectPaymentProduct4101SpecificInput {
720
- displayName?: string | null;
721
- }
722
- export interface RedirectPaymentProduct809SpecificInput {
723
- /**
724
- * @deprecated Use RedirectPaymentMethodSpecificInput.expirationPeriod instead
725
- */
726
- expirationPeriod?: string | null;
727
- issuerId?: string | null;
728
- }
729
- export interface RedirectPaymentProduct816SpecificInput {
730
- bankAccountIban?: BankAccountIban | null;
731
- }
732
- export interface RedirectPaymentProduct840SpecificInput extends AbstractRedirectPaymentProduct840SpecificInput {
733
- /**
734
- * @deprecated Use Order.references.descriptor instead
735
- */
736
- custom?: string | null;
737
- isShortcut?: boolean | null;
738
- }
739
- export interface RedirectPaymentProduct840SpecificInputBase extends AbstractRedirectPaymentProduct840SpecificInput {
740
- }
741
- export interface RedirectPaymentProduct861SpecificInput {
742
- mobileDevice?: boolean | null;
743
- }
744
- export interface RedirectPaymentProduct863SpecificInput {
745
- integrationType?: string | null;
746
- openId?: string | null;
747
- }
748
- export interface RedirectPaymentProduct869SpecificInput {
749
- issuerId?: string | null;
750
- residentIdName?: string | null;
751
- residentIdNumber?: string | null;
752
- }
753
- export interface RedirectPaymentProduct882SpecificInput {
754
- issuerId?: string | null;
755
- }
756
- export interface RedirectionData {
757
- returnUrl?: string | null;
758
- variant?: string | null;
759
- }
760
- export interface RefundBankMethodSpecificOutput extends RefundMethodSpecificOutput {
761
- }
762
- export interface RefundCardMethodSpecificOutput extends RefundMethodSpecificOutput {
763
- authorisationCode?: string | null;
764
- card?: CardEssentials | null;
765
- }
766
- export interface RefundCashMethodSpecificOutput extends RefundMethodSpecificOutput {
767
- }
768
- export interface RefundEInvoiceMethodSpecificOutput extends RefundMethodSpecificOutput {
769
- }
770
- export interface RefundEWalletMethodSpecificOutput extends RefundMethodSpecificOutput {
771
- paymentProduct840SpecificOutput?: RefundPaymentProduct840SpecificOutput | null;
772
- }
773
- export interface RefundMethodSpecificOutput {
774
- refundProductId?: number | null;
775
- totalAmountPaid?: number | null;
776
- totalAmountRefunded?: number | null;
777
- }
778
- export interface RefundMobileMethodSpecificOutput extends RefundMethodSpecificOutput {
779
- network?: string | null;
780
- }
781
- export interface RefundOutput extends OrderOutput {
782
- amountPaid?: number | null;
783
- bankRefundMethodSpecificOutput?: RefundBankMethodSpecificOutput | null;
784
- cardRefundMethodSpecificOutput?: RefundCardMethodSpecificOutput | null;
785
- cashRefundMethodSpecificOutput?: RefundCashMethodSpecificOutput | null;
786
- eInvoiceRefundMethodSpecificOutput?: RefundEInvoiceMethodSpecificOutput | null;
787
- eWalletRefundMethodSpecificOutput?: RefundEWalletMethodSpecificOutput | null;
788
- mobileRefundMethodSpecificOutput?: RefundMobileMethodSpecificOutput | null;
789
- paymentMethod?: string | null;
790
- }
791
- export interface RefundPaymentProduct840CustomerAccount {
792
- customerAccountStatus?: string | null;
793
- customerAddressStatus?: string | null;
794
- payerId?: string | null;
795
- }
796
- export interface RefundPaymentProduct840SpecificOutput {
797
- customerAccount?: RefundPaymentProduct840CustomerAccount | null;
798
- }
799
- export interface SchemeTokenData {
800
- cardholderName?: string | null;
801
- cryptogram?: string | null;
802
- eci?: string | null;
803
- networkToken?: string | null;
804
- tokenExpiryDate?: string | null;
805
- }
806
- export interface SdkDataInput {
807
- deviceRenderOptions?: DeviceRenderOptions | null;
808
- sdkAppId?: string | null;
809
- sdkEncryptedData?: string | null;
810
- sdkEphemeralPublicKey?: string | null;
811
- sdkMaxTimeout?: string | null;
812
- sdkReferenceNumber?: string | null;
813
- sdkTransactionId?: string | null;
814
- }
815
- export interface SdkDataOutput {
816
- sdkTransactionId?: string | null;
817
- }
818
- export interface Seller {
819
- address?: Address | null;
820
- channelCode?: string | null;
821
- description?: string | null;
822
- externalReferenceId?: string | null;
823
- geocode?: string | null;
824
- id?: string | null;
825
- invoiceNumber?: string | null;
826
- isForeignRetailer?: boolean | null;
827
- mcc?: string | null;
828
- name?: string | null;
829
- phoneNumber?: string | null;
830
- type?: string | null;
831
- }
832
- export interface SepaDirectDebitPaymentMethodSpecificInput extends AbstractSepaDirectDebitPaymentMethodSpecificInput {
833
- dateCollect?: string | null;
834
- directDebitText?: string | null;
835
- isRecurring?: boolean | null;
836
- paymentProduct771SpecificInput?: SepaDirectDebitPaymentProduct771SpecificInput | null;
837
- recurringPaymentSequenceIndicator?: string | null;
838
- requiresApproval?: boolean | null;
839
- token?: string | null;
840
- tokenize?: boolean | null;
841
- }
842
- export interface SepaDirectDebitPaymentMethodSpecificInputBase extends AbstractSepaDirectDebitPaymentMethodSpecificInput {
843
- paymentProduct771SpecificInput?: SepaDirectDebitPaymentProduct771SpecificInputBase | null;
844
- }
845
- export interface SepaDirectDebitPaymentMethodSpecificOutput extends AbstractPaymentMethodSpecificOutput {
846
- fraudResults?: FraudResults | null;
847
- paymentProduct771SpecificOutput?: PaymentProduct771SpecificOutput | null;
848
- token?: string | null;
849
- }
850
- export interface SepaDirectDebitPaymentProduct771SpecificInput extends AbstractSepaDirectDebitPaymentProduct771SpecificInput {
851
- existingUniqueMandateReference?: string | null;
852
- mandate?: CreateMandateWithReturnUrl | null;
853
- }
854
- export interface SepaDirectDebitPaymentProduct771SpecificInputBase extends AbstractSepaDirectDebitPaymentProduct771SpecificInput {
855
- existingUniqueMandateReference?: string | null;
856
- mandate?: CreateMandateBase | null;
857
- }
858
- export interface Shipping {
859
- address?: AddressPersonal | null;
860
- addressIndicator?: string | null;
861
- comments?: string | null;
862
- emailAddress?: string | null;
863
- firstUsageDate?: string | null;
864
- isFirstUsage?: boolean | null;
865
- trackingNumber?: string | null;
866
- type?: string | null;
867
- }
868
- export interface ShoppingCart {
869
- amountBreakdown?: AmountBreakdown[] | null;
870
- giftCardPurchase?: GiftCardPurchase | null;
871
- isPreOrder?: boolean | null;
872
- items?: LineItem[] | null;
873
- preOrderItemAvailabilityDate?: string | null;
874
- reOrderIndicator?: boolean | null;
875
- }
876
- export interface ThirdPartyData {
877
- paymentProduct863?: PaymentProduct863ThirdPartyData | null;
878
- }
879
- export interface ThreeDSecure extends AbstractThreeDSecure {
880
- externalCardholderAuthenticationData?: ExternalCardholderAuthenticationData | null;
881
- redirectionData?: RedirectionData | null;
882
- }
883
- export interface ThreeDSecureBase extends AbstractThreeDSecure {
884
- }
885
- export interface ThreeDSecureData {
886
- acsTransactionId?: string | null;
887
- method?: string | null;
888
- utcTimestamp?: string | null;
889
- }
890
- export interface ThreeDSecureResults {
891
- acsTransactionId?: string | null;
892
- appliedExemption?: string | null;
893
- authenticationAmount?: AmountOfMoney | null;
894
- cavv?: string | null;
895
- directoryServerTransactionId?: string | null;
896
- eci?: string | null;
897
- exemptionOutput?: ExemptionOutput | null;
898
- schemeRiskScore?: number | null;
899
- sdkData?: SdkDataOutput | null;
900
- threeDSecureData?: ThreeDSecureData | null;
901
- threeDSecureVersion?: string | null;
902
- threeDServerTransactionId?: string | null;
903
- xid?: string | null;
904
- }
905
- export interface TrustlyBankAccount {
906
- accountLastDigits?: string | null;
907
- bankName?: string | null;
908
- clearinghouse?: string | null;
909
- personIdentificationNumber?: string | null;
910
- }