connect-sdk-nodejs 4.20.0 → 5.0.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 +46 -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 +148 -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 +51 -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,43 +0,0 @@
1
- import { DeviceFingerprintRequest } from "../domain/product";
2
- import { PaymentContext, SdkCallback } from "../types";
3
- export interface ProductgroupsClient {
4
- /**
5
- * Resource /{merchantId}/productgroups - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/productgroups/find.html">Get payment product groups</a>
6
- * @param cb The callback for the response.
7
- * If the call was successfull, the response body type will be {@link PaymentProductGroups}.
8
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
9
- */
10
- find(merchantId: string, paymentContext: FindProductgroupsParams, cb: SdkCallback): void;
11
- /**
12
- * Resource /{merchantId}/productgroups/{paymentProductGroupId} - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/productgroups/get.html">Get payment product group</a>
13
- * @param cb The callback for the response.
14
- * If the call was successfull, the response body type will be {@link PaymentProductGroupResponse}.
15
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
16
- */
17
- get(merchantId: string, paymentProductGroupId: string, paymentContext: GetProductgroupParams, cb: SdkCallback): void;
18
- /**
19
- * Resource /{merchantId}/productgroups/{paymentProductGroupId}/deviceFingerprint - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/productgroups/deviceFingerprint.html">Get device fingerprint</a>
20
- * @param cb The callback for the response.
21
- * If the call was successfull, the response body type will be {@link DeviceFingerprintResponse}.
22
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
23
- */
24
- deviceFingerprint(merchantId: string, paymentProductGroupId: string, postData: DeviceFingerprintRequest, paymentContext: PaymentContext | null, cb: SdkCallback): void;
25
- }
26
- export interface FindProductgroupsParams extends PaymentContext {
27
- countryCode?: string;
28
- currencyCode?: string;
29
- locale?: string;
30
- amount?: number;
31
- isRecurring?: boolean;
32
- isInstallments?: boolean;
33
- hide?: string[];
34
- }
35
- export interface GetProductgroupParams extends PaymentContext {
36
- countryCode?: string;
37
- currencyCode?: string;
38
- locale?: string;
39
- amount?: number;
40
- isRecurring?: boolean;
41
- isInstallments?: boolean;
42
- hide?: string[];
43
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/model/productgroups/index.ts"],"names":[],"mappings":""}
@@ -1,82 +0,0 @@
1
- import { CreatePaymentProductSessionRequest, DeviceFingerprintRequest, GetCustomerDetailsRequest } from "../domain/product";
2
- import { PaymentContext, SdkCallback } from "../types";
3
- export interface ProductsClient {
4
- /**
5
- * Resource /{merchantId}/products - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/products/find.html">Get payment products</a>
6
- * @param cb The callback for the response.
7
- * If the call was successfull, the response body type will be {@link PaymentProducts}.
8
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
9
- */
10
- find(merchantId: string, paymentContext: FindProductsParams, cb: SdkCallback): void;
11
- /**
12
- * Resource /{merchantId}/products/{paymentProductId} - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/products/get.html">Get payment product</a>
13
- * @param cb The callback for the response.
14
- * If the call was successfull, the response body type will be {@link PaymentProductResponse}.
15
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
16
- */
17
- get(merchantId: string, paymentProductId: number, paymentContext: GetProductParams, cb: SdkCallback): void;
18
- /**
19
- * Resource /{merchantId}/products/{paymentProductId}/directory - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/products/directory.html">Get payment product directory</a>
20
- * @param cb The callback for the response.
21
- * If the call was successfull, the response body type will be {@link Directory}.
22
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
23
- */
24
- directory(merchantId: string, paymentProductId: number, paymentContext: DirectoryParams, cb: SdkCallback): void;
25
- /**
26
- * Resource /{merchantId}/products/{paymentProductId}/customerDetails - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/products/customerDetails.html">Get customer details</a>
27
- * @param cb The callback for the response.
28
- * If the call was successfull, the response body type will be {@link GetCustomerDetailsResponse}.
29
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
30
- */
31
- customerDetails(merchantId: string, paymentProductId: number, postData: GetCustomerDetailsRequest, paymentContext: PaymentContext | null, cb: SdkCallback): void;
32
- /**
33
- * Resource /{merchantId}/products/{paymentProductId}/deviceFingerprint - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/products/deviceFingerprint.html">Get device fingerprint</a>
34
- * @param cb The callback for the response.
35
- * If the call was successfull, the response body type will be {@link DeviceFingerprintResponse}.
36
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
37
- */
38
- deviceFingerprint(merchantId: string, paymentProductId: number, postData: DeviceFingerprintRequest, paymentContext: PaymentContext | null, cb: SdkCallback): void;
39
- /**
40
- * Resource /{merchantId}/products/{paymentProductId}/networks - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/products/networks.html">Get payment product networks</a>
41
- * @param cb The callback for the response.
42
- * If the call was successfull, the response body type will be {@link PaymentProductNetworksResponse}.
43
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
44
- */
45
- networks(merchantId: string, paymentProductId: number, paymentContext: NetworksParams, cb: SdkCallback): void;
46
- /**
47
- * Resource /{merchantId}/products/{paymentProductId}/sessions - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/products/sessions.html">Create session for payment product</a>
48
- * @param cb The callback for the response.
49
- * If the call was successfull, the response body type will be {@link CreatePaymentProductSessionResponse}.
50
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
51
- */
52
- sessions(merchantId: string, paymentProductId: number, postData: CreatePaymentProductSessionRequest, paymentContext: PaymentContext | null, cb: SdkCallback): void;
53
- }
54
- export interface FindProductsParams extends PaymentContext {
55
- countryCode?: string;
56
- currencyCode?: string;
57
- locale?: string;
58
- amount?: number;
59
- isRecurring?: boolean;
60
- isInstallments?: boolean;
61
- hide?: string[];
62
- }
63
- export interface GetProductParams extends PaymentContext {
64
- countryCode?: string;
65
- currencyCode?: string;
66
- locale?: string;
67
- amount?: number;
68
- isRecurring?: boolean;
69
- isInstallments?: boolean;
70
- hide?: string[];
71
- forceBasicFlow?: boolean;
72
- }
73
- export interface DirectoryParams extends PaymentContext {
74
- countryCode?: string;
75
- currencyCode?: string;
76
- }
77
- export interface NetworksParams extends PaymentContext {
78
- countryCode?: string;
79
- currencyCode?: string;
80
- amount?: number;
81
- isRecurring?: boolean;
82
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/model/products/index.ts"],"names":[],"mappings":""}
@@ -1,46 +0,0 @@
1
- import { ApproveRefundRequest } from "../domain/refund";
2
- import { PaymentContext, SdkCallback } from "../types";
3
- export interface RefundsClient {
4
- /**
5
- * Resource /{merchantId}/refunds - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/refunds/find.html">Find refunds</a>
6
- * @param cb The callback for the response.
7
- * If the call was successfull, the response body type will be {@link FindRefundsResponse}.
8
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
9
- */
10
- find(merchantId: string, paymentContext: FindRefundsParams, cb: SdkCallback): void;
11
- /**
12
- * Resource /{merchantId}/refunds/{refundId} - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/refunds/get.html">Get refund</a>
13
- * @param cb The callback for the response.
14
- * If the call was successfull, the response body type will be {@link RefundResponse}.
15
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
16
- */
17
- get(merchantId: string, refundId: string, paymentContext: PaymentContext | null, cb: SdkCallback): void;
18
- /**
19
- * Resource /{merchantId}/refunds/{refundId}/approve - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/refunds/approve.html">Approve refund</a>
20
- * @param cb The callback for the response.
21
- * If the call was successfull, the response body type will be null.
22
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
23
- */
24
- approve(merchantId: string, refundId: string, postData: ApproveRefundRequest, paymentContext: PaymentContext | null, cb: SdkCallback): void;
25
- /**
26
- * Resource /{merchantId}/refunds/{refundId}/cancel - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/refunds/cancel.html">Cancel refund</a>
27
- * @param cb The callback for the response.
28
- * If the call was successfull, the response body type will be null.
29
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
30
- */
31
- cancel(merchantId: string, refundId: string, paymentContext: PaymentContext | null, cb: SdkCallback): void;
32
- /**
33
- * Resource /{merchantId}/refunds/{refundId}/cancelapproval - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/refunds/cancelapproval.html">Undo approve refund</a>
34
- * @param cb The callback for the response.
35
- * If the call was successfull, the response body type will be null.
36
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
37
- */
38
- cancelapproval(merchantId: string, refundId: string, paymentContext: PaymentContext | null, cb: SdkCallback): void;
39
- }
40
- export interface FindRefundsParams extends PaymentContext {
41
- hostedCheckoutId?: string;
42
- merchantReference?: string;
43
- merchantOrderId?: number;
44
- offset?: number;
45
- limit?: number;
46
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/model/refunds/index.ts"],"names":[],"mappings":""}
@@ -1,18 +0,0 @@
1
- import { RiskAssessmentBankAccount, RiskAssessmentCard } from "../domain/riskassessments";
2
- import { PaymentContext, SdkCallback } from "../types";
3
- export interface RiskassessmentsClient {
4
- /**
5
- * Resource /{merchantId}/riskassessments/bankaccounts - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/riskassessments/bankaccounts.html">Risk-assess bankaccount</a>
6
- * @param cb The callback for the response.
7
- * If the call was successfull, the response body type will be {@link RiskAssessmentResponse}.
8
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
9
- */
10
- bankaccounts(merchantId: string, postData: RiskAssessmentBankAccount, paymentContext: PaymentContext | null, cb: SdkCallback): void;
11
- /**
12
- * Resource /{merchantId}/riskassessments/cards - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/riskassessments/cards.html">Risk-assess card</a>
13
- * @param cb The callback for the response.
14
- * If the call was successfull, the response body type will be {@link RiskAssessmentResponse}.
15
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
16
- */
17
- cards(merchantId: string, postData: RiskAssessmentCard, paymentContext: PaymentContext | null, cb: SdkCallback): void;
18
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/model/riskassessments/index.ts"],"names":[],"mappings":""}
@@ -1,48 +0,0 @@
1
- import { BankDetailsRequest, GetIINDetailsRequest } from "../domain/services";
2
- import { PaymentContext, SdkCallback } from "../types";
3
- export interface ServicesClient {
4
- /**
5
- * Resource /{merchantId}/services/convert/amount - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/services/convertAmount.html">Convert amount</a>
6
- * @param cb The callback for the response.
7
- * If the call was successfull, the response body type will be {@link ConvertAmount}.
8
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
9
- */
10
- convertAmount(merchantId: string, paymentContext: ConvertAmountParams, cb: SdkCallback): void;
11
- /**
12
- * Resource /{merchantId}/services/convert/bankaccount - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/services/bankaccount.html">Convert bankaccount</a>
13
- * @param cb The callback for the response.
14
- * If the call was successfull, the response body type will be {@link BankDetailsResponse}.
15
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
16
- */
17
- bankaccount(merchantId: string, postData: BankDetailsRequest, paymentContext: PaymentContext | null, cb: SdkCallback): void;
18
- /**
19
- * Resource /{merchantId}/services/getIINdetails - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/services/getIINdetails.html">Get IIN details</a>
20
- * @param cb The callback for the response.
21
- * If the call was successfull, the response body type will be {@link GetIINDetailsResponse}.
22
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
23
- */
24
- getIINdetails(merchantId: string, postData: GetIINDetailsRequest, paymentContext: PaymentContext | null, cb: SdkCallback): void;
25
- /**
26
- * Resource /{merchantId}/services/privacypolicy - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/services/privacypolicy.html">Get privacy policy</a>
27
- * @param cb The callback for the response.
28
- * If the call was successfull, the response body type will be {@link GetPrivacyPolicyResponse}.
29
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
30
- */
31
- privacypolicy(merchantId: string, paymentContext: PrivacypolicyParams, cb: SdkCallback): void;
32
- /**
33
- * Resource /{merchantId}/services/testconnection - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/services/testconnection.html">Test connection</a>
34
- * @param cb The callback for the response.
35
- * If the call was successfull, the response body type will be {@link TestConnection}.
36
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
37
- */
38
- testconnection(merchantId: string, paymentContext: PaymentContext | null, cb: SdkCallback): void;
39
- }
40
- export interface ConvertAmountParams extends PaymentContext {
41
- source?: string;
42
- target?: string;
43
- amount?: number;
44
- }
45
- export interface PrivacypolicyParams extends PaymentContext {
46
- locale?: string;
47
- paymentProductId?: number;
48
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/model/services/index.ts"],"names":[],"mappings":""}
@@ -1,11 +0,0 @@
1
- import { SessionRequest } from "../domain/sessions";
2
- import { PaymentContext, SdkCallback } from "../types";
3
- export interface SessionsClient {
4
- /**
5
- * Resource /{merchantId}/sessions - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/sessions/create.html">Create session</a>
6
- * @param cb The callback for the response.
7
- * If the call was successfull, the response body type will be {@link SessionResponse}.
8
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
9
- */
10
- create(merchantId: string, postData: SessionRequest, paymentContext: PaymentContext | null, cb: SdkCallback): void;
11
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/model/sessions/index.ts"],"names":[],"mappings":""}
@@ -1,42 +0,0 @@
1
- import { ApproveTokenRequest, CreateTokenRequest, UpdateTokenRequest } from "../domain/token";
2
- import { PaymentContext, SdkCallback } from "../types";
3
- export interface TokensClient {
4
- /**
5
- * Resource /{merchantId}/tokens - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/tokens/create.html">Create token</a>
6
- * @param cb The callback for the response.
7
- * If the call was successfull, the response body type will be {@link CreateTokenResponse}.
8
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
9
- */
10
- create(merchantId: string, postData: CreateTokenRequest, paymentContext: PaymentContext | null, cb: SdkCallback): void;
11
- /**
12
- * Resource /{merchantId}/tokens/{tokenId} - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/tokens/get.html">Get token</a>
13
- * @param cb The callback for the response.
14
- * If the call was successfull, the response body type will be {@link TokenResponse}.
15
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
16
- */
17
- get(merchantId: string, tokenId: string, paymentContext: PaymentContext | null, cb: SdkCallback): void;
18
- /**
19
- * Resource /{merchantId}/tokens/{tokenId} - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/tokens/update.html">Update token</a>
20
- * @param cb The callback for the response.
21
- * If the call was successfull, the response body type will be null.
22
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
23
- */
24
- update(merchantId: string, tokenId: string, postData: UpdateTokenRequest, paymentContext: PaymentContext | null, cb: SdkCallback): void;
25
- /**
26
- * Resource /{merchantId}/tokens/{tokenId} - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/tokens/delete.html">Delete token</a>
27
- * @param cb The callback for the response.
28
- * If the call was successfull, the response body type will be null.
29
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
30
- */
31
- remove(merchantId: string, tokenId: string, paymentContext: DeleteTokenParams, cb: SdkCallback): void;
32
- /**
33
- * Resource /{merchantId}/tokens/{tokenId}/approvesepadirectdebit - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/tokens/approvesepadirectdebit.html">Approve SEPA DD mandate</a>
34
- * @param cb The callback for the response.
35
- * If the call was successfull, the response body type will be null.
36
- * If the call was not successful, the response body type will be {@link ErrorResponse}.
37
- */
38
- approvesepadirectdebit(merchantId: string, tokenId: string, postData: ApproveTokenRequest, paymentContext: PaymentContext | null, cb: SdkCallback): void;
39
- }
40
- export interface DeleteTokenParams extends PaymentContext {
41
- mandateCancelDate?: string;
42
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1,4 +0,0 @@
1
- import { PaymentContext, SdkCallback } from "../model";
2
- import { ApprovePaymentRequest } from "../model/domain/payment";
3
- declare const approvePayment: (merchantId: string, paymentId: string, postData: ApprovePaymentRequest, paymentContext: PaymentContext | null, cb: SdkCallback) => void;
4
- export = approvePayment;
@@ -1,30 +0,0 @@
1
- "use strict";
2
- /*
3
- * This file was auto-generated from the API references found at
4
- * https://epayments-api.developer-ingenico.com/
5
- */
6
- const jsonschema_1 = require("jsonschema");
7
- const communicator = require("../utils/communicator");
8
- const sdkcontext = require("../utils/context");
9
- // eslint-disable-next-line @typescript-eslint/no-var-requires
10
- const requestSchema = require("../../schemas/payment/ApprovePaymentRequest.json");
11
- const approvePayment = function (merchantId, paymentId, postData, paymentContext, cb) {
12
- // validate postData
13
- const isValidRequest = jsonschema_1.validate(postData, requestSchema);
14
- if (!isValidRequest.valid) {
15
- const logger = sdkcontext.getLogger();
16
- if (sdkcontext.isLoggingEnabled()) {
17
- logger("error", isValidRequest.errors);
18
- }
19
- throw new Error(isValidRequest.errors.toString());
20
- }
21
- communicator.json({
22
- method: "POST",
23
- modulePath: "/v1/" + merchantId + "/payments/" + paymentId + "/approve",
24
- body: postData,
25
- paymentContext: paymentContext,
26
- cb: cb
27
- });
28
- };
29
- module.exports = approvePayment;
30
- //# sourceMappingURL=approve.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approve.js","sourceRoot":"","sources":["../../src/payments/approve.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH,2CAAsC;AACtC,sDAAuD;AACvD,+CAAgD;AAIhD,8DAA8D;AAC9D,MAAM,aAAa,GAAG,OAAO,CAAC,kDAAkD,CAAC,CAAC;AAElF,MAAM,cAAc,GAAG,UAAS,UAAkB,EAAE,SAAiB,EAAE,QAA+B,EAAE,cAAqC,EAAE,EAAe;IAC5J,oBAAoB;IACpB,MAAM,cAAc,GAAG,qBAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;IACzD,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE;QACzB,MAAM,MAAM,GAAG,UAAU,CAAC,SAAS,EAAE,CAAC;QACtC,IAAI,UAAU,CAAC,gBAAgB,EAAE,EAAE;YACjC,MAAM,CAAC,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;SACxC;QACD,MAAM,IAAI,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;KACnD;IACD,YAAY,CAAC,IAAI,CAAC;QAChB,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM,GAAG,UAAU,GAAG,YAAY,GAAG,SAAS,GAAG,UAAU;QACvE,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,cAAc;QAC9B,EAAE,EAAE,EAAE;KACP,CAAC,CAAC;AACL,CAAC,CAAC;AACF,iBAAS,cAAc,CAAC"}
@@ -1,3 +0,0 @@
1
- import { PaymentContext, SdkCallback } from "../model";
2
- declare const cancelPayment: (merchantId: string, paymentId: string, paymentContext: PaymentContext | null, cb: SdkCallback) => void;
3
- export = cancelPayment;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- /*
3
- * This file was auto-generated from the API references found at
4
- * https://epayments-api.developer-ingenico.com/
5
- */
6
- const communicator = require("../utils/communicator");
7
- const cancelPayment = function (merchantId, paymentId, paymentContext, cb) {
8
- communicator.json({
9
- method: "POST",
10
- modulePath: "/v1/" + merchantId + "/payments/" + paymentId + "/cancel",
11
- body: null,
12
- paymentContext: paymentContext,
13
- cb: cb
14
- });
15
- };
16
- module.exports = cancelPayment;
17
- //# sourceMappingURL=cancel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cancel.js","sourceRoot":"","sources":["../../src/payments/cancel.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH,sDAAuD;AAGvD,MAAM,aAAa,GAAG,UAAS,UAAkB,EAAE,SAAiB,EAAE,cAAqC,EAAE,EAAe;IAC1H,YAAY,CAAC,IAAI,CAAC;QAChB,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM,GAAG,UAAU,GAAG,YAAY,GAAG,SAAS,GAAG,SAAS;QACtE,IAAI,EAAE,IAAI;QACV,cAAc,EAAE,cAAc;QAC9B,EAAE,EAAE,EAAE;KACP,CAAC,CAAC;AACL,CAAC,CAAC;AACF,iBAAS,aAAa,CAAC"}
@@ -1,3 +0,0 @@
1
- import { PaymentContext, SdkCallback } from "../model";
2
- declare const cancelApprovalPayment: (merchantId: string, paymentId: string, paymentContext: PaymentContext | null, cb: SdkCallback) => void;
3
- export = cancelApprovalPayment;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- /*
3
- * This file was auto-generated from the API references found at
4
- * https://epayments-api.developer-ingenico.com/
5
- */
6
- const communicator = require("../utils/communicator");
7
- const cancelApprovalPayment = function (merchantId, paymentId, paymentContext, cb) {
8
- communicator.json({
9
- method: "POST",
10
- modulePath: "/v1/" + merchantId + "/payments/" + paymentId + "/cancelapproval",
11
- body: null,
12
- paymentContext: paymentContext,
13
- cb: cb
14
- });
15
- };
16
- module.exports = cancelApprovalPayment;
17
- //# sourceMappingURL=cancelapproval.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cancelapproval.js","sourceRoot":"","sources":["../../src/payments/cancelapproval.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH,sDAAuD;AAGvD,MAAM,qBAAqB,GAAG,UAAS,UAAkB,EAAE,SAAiB,EAAE,cAAqC,EAAE,EAAe;IAClI,YAAY,CAAC,IAAI,CAAC;QAChB,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM,GAAG,UAAU,GAAG,YAAY,GAAG,SAAS,GAAG,iBAAiB;QAC9E,IAAI,EAAE,IAAI;QACV,cAAc,EAAE,cAAc;QAC9B,EAAE,EAAE,EAAE;KACP,CAAC,CAAC;AACL,CAAC,CAAC;AACF,iBAAS,qBAAqB,CAAC"}
@@ -1,4 +0,0 @@
1
- import { PaymentContext, SdkCallback } from "../model";
2
- import { CapturePaymentRequest } from "../model/domain/payment";
3
- declare const capturePayment: (merchantId: string, paymentId: string, postData: CapturePaymentRequest, paymentContext: PaymentContext | null, cb: SdkCallback) => void;
4
- export = capturePayment;
@@ -1,30 +0,0 @@
1
- "use strict";
2
- /*
3
- * This file was auto-generated from the API references found at
4
- * https://epayments-api.developer-ingenico.com/
5
- */
6
- const jsonschema_1 = require("jsonschema");
7
- const communicator = require("../utils/communicator");
8
- const sdkcontext = require("../utils/context");
9
- // eslint-disable-next-line @typescript-eslint/no-var-requires
10
- const requestSchema = require("../../schemas/payment/CapturePaymentRequest.json");
11
- const capturePayment = function (merchantId, paymentId, postData, paymentContext, cb) {
12
- // validate postData
13
- const isValidRequest = jsonschema_1.validate(postData, requestSchema);
14
- if (!isValidRequest.valid) {
15
- const logger = sdkcontext.getLogger();
16
- if (sdkcontext.isLoggingEnabled()) {
17
- logger("error", isValidRequest.errors);
18
- }
19
- throw new Error(isValidRequest.errors.toString());
20
- }
21
- communicator.json({
22
- method: "POST",
23
- modulePath: "/v1/" + merchantId + "/payments/" + paymentId + "/capture",
24
- body: postData,
25
- paymentContext: paymentContext,
26
- cb: cb
27
- });
28
- };
29
- module.exports = capturePayment;
30
- //# sourceMappingURL=capture.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"capture.js","sourceRoot":"","sources":["../../src/payments/capture.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH,2CAAsC;AACtC,sDAAuD;AACvD,+CAAgD;AAIhD,8DAA8D;AAC9D,MAAM,aAAa,GAAG,OAAO,CAAC,kDAAkD,CAAC,CAAC;AAElF,MAAM,cAAc,GAAG,UAAS,UAAkB,EAAE,SAAiB,EAAE,QAA+B,EAAE,cAAqC,EAAE,EAAe;IAC5J,oBAAoB;IACpB,MAAM,cAAc,GAAG,qBAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;IACzD,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE;QACzB,MAAM,MAAM,GAAG,UAAU,CAAC,SAAS,EAAE,CAAC;QACtC,IAAI,UAAU,CAAC,gBAAgB,EAAE,EAAE;YACjC,MAAM,CAAC,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;SACxC;QACD,MAAM,IAAI,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;KACnD;IACD,YAAY,CAAC,IAAI,CAAC;QAChB,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM,GAAG,UAAU,GAAG,YAAY,GAAG,SAAS,GAAG,UAAU;QACvE,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,cAAc;QAC9B,EAAE,EAAE,EAAE;KACP,CAAC,CAAC;AACL,CAAC,CAAC;AACF,iBAAS,cAAc,CAAC"}
@@ -1,3 +0,0 @@
1
- import { PaymentContext, SdkCallback } from "../model";
2
- declare const getPaymentCaptures: (merchantId: string, paymentId: string, paymentContext: PaymentContext | null, cb: SdkCallback) => void;
3
- export = getPaymentCaptures;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- /*
3
- * This file was auto-generated from the API references found at
4
- * https://epayments-api.developer-ingenico.com/
5
- */
6
- const communicator = require("../utils/communicator");
7
- const getPaymentCaptures = function (merchantId, paymentId, paymentContext, cb) {
8
- communicator.json({
9
- method: "GET",
10
- modulePath: "/v1/" + merchantId + "/payments/" + paymentId + "/captures",
11
- body: null,
12
- paymentContext: paymentContext,
13
- cb: cb
14
- });
15
- };
16
- module.exports = getPaymentCaptures;
17
- //# sourceMappingURL=captures.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"captures.js","sourceRoot":"","sources":["../../src/payments/captures.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH,sDAAuD;AAGvD,MAAM,kBAAkB,GAAG,UAAS,UAAkB,EAAE,SAAiB,EAAE,cAAqC,EAAE,EAAe;IAC/H,YAAY,CAAC,IAAI,CAAC;QAChB,MAAM,EAAE,KAAK;QACb,UAAU,EAAE,MAAM,GAAG,UAAU,GAAG,YAAY,GAAG,SAAS,GAAG,WAAW;QACxE,IAAI,EAAE,IAAI;QACV,cAAc,EAAE,cAAc;QAC9B,EAAE,EAAE,EAAE;KACP,CAAC,CAAC;AACL,CAAC,CAAC;AACF,iBAAS,kBAAkB,CAAC"}
@@ -1,4 +0,0 @@
1
- import { PaymentContext, SdkCallback } from "../model";
2
- import { CompletePaymentRequest } from "../model/domain/payment";
3
- declare const completePayment: (merchantId: string, paymentId: string, postData: CompletePaymentRequest, paymentContext: PaymentContext | null, cb: SdkCallback) => void;
4
- export = completePayment;
@@ -1,30 +0,0 @@
1
- "use strict";
2
- /*
3
- * This file was auto-generated from the API references found at
4
- * https://epayments-api.developer-ingenico.com/
5
- */
6
- const jsonschema_1 = require("jsonschema");
7
- const communicator = require("../utils/communicator");
8
- const sdkcontext = require("../utils/context");
9
- // eslint-disable-next-line @typescript-eslint/no-var-requires
10
- const requestSchema = require("../../schemas/payment/CompletePaymentRequest.json");
11
- const completePayment = function (merchantId, paymentId, postData, paymentContext, cb) {
12
- // validate postData
13
- const isValidRequest = jsonschema_1.validate(postData, requestSchema);
14
- if (!isValidRequest.valid) {
15
- const logger = sdkcontext.getLogger();
16
- if (sdkcontext.isLoggingEnabled()) {
17
- logger("error", isValidRequest.errors);
18
- }
19
- throw new Error(isValidRequest.errors.toString());
20
- }
21
- communicator.json({
22
- method: "POST",
23
- modulePath: "/v1/" + merchantId + "/payments/" + paymentId + "/complete",
24
- body: postData,
25
- paymentContext: paymentContext,
26
- cb: cb
27
- });
28
- };
29
- module.exports = completePayment;
30
- //# sourceMappingURL=complete.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"complete.js","sourceRoot":"","sources":["../../src/payments/complete.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH,2CAAsC;AACtC,sDAAuD;AACvD,+CAAgD;AAIhD,8DAA8D;AAC9D,MAAM,aAAa,GAAG,OAAO,CAAC,mDAAmD,CAAC,CAAC;AAEnF,MAAM,eAAe,GAAG,UAAS,UAAkB,EAAE,SAAiB,EAAE,QAAgC,EAAE,cAAqC,EAAE,EAAe;IAC9J,oBAAoB;IACpB,MAAM,cAAc,GAAG,qBAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;IACzD,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE;QACzB,MAAM,MAAM,GAAG,UAAU,CAAC,SAAS,EAAE,CAAC;QACtC,IAAI,UAAU,CAAC,gBAAgB,EAAE,EAAE;YACjC,MAAM,CAAC,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;SACxC;QACD,MAAM,IAAI,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;KACnD;IACD,YAAY,CAAC,IAAI,CAAC;QAChB,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM,GAAG,UAAU,GAAG,YAAY,GAAG,SAAS,GAAG,WAAW;QACxE,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,cAAc;QAC9B,EAAE,EAAE,EAAE;KACP,CAAC,CAAC;AACL,CAAC,CAAC;AACF,iBAAS,eAAe,CAAC"}
@@ -1,4 +0,0 @@
1
- import { PaymentContext, SdkCallback } from "../model";
2
- import { CreatePaymentRequest } from "../model/domain/payment";
3
- declare const createPayment: (merchantId: string, postData: CreatePaymentRequest, paymentContext: PaymentContext | null, cb: SdkCallback) => void;
4
- export = createPayment;
@@ -1,30 +0,0 @@
1
- "use strict";
2
- /*
3
- * This file was auto-generated from the API references found at
4
- * https://epayments-api.developer-ingenico.com/
5
- */
6
- const jsonschema_1 = require("jsonschema");
7
- const communicator = require("../utils/communicator");
8
- const sdkcontext = require("../utils/context");
9
- // eslint-disable-next-line @typescript-eslint/no-var-requires
10
- const requestSchema = require("../../schemas/payment/CreatePaymentRequest.json");
11
- const createPayment = function (merchantId, postData, paymentContext, cb) {
12
- // validate postData
13
- const isValidRequest = jsonschema_1.validate(postData, requestSchema);
14
- if (!isValidRequest.valid) {
15
- const logger = sdkcontext.getLogger();
16
- if (sdkcontext.isLoggingEnabled()) {
17
- logger("error", isValidRequest.errors);
18
- }
19
- throw new Error(isValidRequest.errors.toString());
20
- }
21
- communicator.json({
22
- method: "POST",
23
- modulePath: "/v1/" + merchantId + "/payments",
24
- body: postData,
25
- paymentContext: paymentContext,
26
- cb: cb
27
- });
28
- };
29
- module.exports = createPayment;
30
- //# sourceMappingURL=create.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create.js","sourceRoot":"","sources":["../../src/payments/create.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH,2CAAsC;AACtC,sDAAuD;AACvD,+CAAgD;AAIhD,8DAA8D;AAC9D,MAAM,aAAa,GAAG,OAAO,CAAC,iDAAiD,CAAC,CAAC;AAEjF,MAAM,aAAa,GAAG,UAAS,UAAkB,EAAE,QAA8B,EAAE,cAAqC,EAAE,EAAe;IACvI,oBAAoB;IACpB,MAAM,cAAc,GAAG,qBAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;IACzD,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE;QACzB,MAAM,MAAM,GAAG,UAAU,CAAC,SAAS,EAAE,CAAC;QACtC,IAAI,UAAU,CAAC,gBAAgB,EAAE,EAAE;YACjC,MAAM,CAAC,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;SACxC;QACD,MAAM,IAAI,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;KACnD;IACD,YAAY,CAAC,IAAI,CAAC;QAChB,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM,GAAG,UAAU,GAAG,WAAW;QAC7C,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,cAAc;QAC9B,EAAE,EAAE,EAAE;KACP,CAAC,CAAC;AACL,CAAC,CAAC;AACF,iBAAS,aAAa,CAAC"}
@@ -1,3 +0,0 @@
1
- import { PaymentContext, SdkCallback } from "../model";
2
- declare const getPaymentDeviceFingerprintDetails: (merchantId: string, paymentId: string, paymentContext: PaymentContext | null, cb: SdkCallback) => void;
3
- export = getPaymentDeviceFingerprintDetails;