mollie-api-typescript 0.1.2 → 0.1.3

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 (357) hide show
  1. package/FUNCTIONS.md +13 -0
  2. package/README.md +84 -0
  3. package/bin/mcp-server.js +5173 -1638
  4. package/bin/mcp-server.js.map +47 -46
  5. package/dist/commonjs/lib/config.d.ts +2 -2
  6. package/dist/commonjs/lib/config.js +2 -2
  7. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  8. package/dist/commonjs/mcp-server/server.js +1 -1
  9. package/dist/commonjs/models/operations/cancelpayment.d.ts +1458 -19
  10. package/dist/commonjs/models/operations/cancelpayment.d.ts.map +1 -1
  11. package/dist/commonjs/models/operations/cancelpayment.js +755 -20
  12. package/dist/commonjs/models/operations/cancelpayment.js.map +1 -1
  13. package/dist/commonjs/models/operations/createcustomerpayment.d.ts +1596 -20
  14. package/dist/commonjs/models/operations/createcustomerpayment.d.ts.map +1 -1
  15. package/dist/commonjs/models/operations/createcustomerpayment.js +819 -22
  16. package/dist/commonjs/models/operations/createcustomerpayment.js.map +1 -1
  17. package/dist/commonjs/models/operations/createpayment.d.ts +1596 -20
  18. package/dist/commonjs/models/operations/createpayment.d.ts.map +1 -1
  19. package/dist/commonjs/models/operations/createpayment.js +810 -22
  20. package/dist/commonjs/models/operations/createpayment.js.map +1 -1
  21. package/dist/commonjs/models/operations/createpaymentlink.d.ts +2 -2
  22. package/dist/commonjs/models/operations/getnextsettlement.d.ts +6 -846
  23. package/dist/commonjs/models/operations/getnextsettlement.d.ts.map +1 -1
  24. package/dist/commonjs/models/operations/getnextsettlement.js +3 -586
  25. package/dist/commonjs/models/operations/getnextsettlement.js.map +1 -1
  26. package/dist/commonjs/models/operations/getopensettlement.d.ts +6 -846
  27. package/dist/commonjs/models/operations/getopensettlement.d.ts.map +1 -1
  28. package/dist/commonjs/models/operations/getopensettlement.js +3 -586
  29. package/dist/commonjs/models/operations/getopensettlement.js.map +1 -1
  30. package/dist/commonjs/models/operations/getpayment.d.ts +1458 -19
  31. package/dist/commonjs/models/operations/getpayment.d.ts.map +1 -1
  32. package/dist/commonjs/models/operations/getpayment.js +751 -20
  33. package/dist/commonjs/models/operations/getpayment.js.map +1 -1
  34. package/dist/commonjs/models/operations/getpaymentlink.d.ts +1 -1
  35. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +1466 -27
  36. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  37. package/dist/commonjs/models/operations/getpaymentlinkpayments.js +771 -32
  38. package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
  39. package/dist/commonjs/models/operations/getsettlement.d.ts +6 -846
  40. package/dist/commonjs/models/operations/getsettlement.d.ts.map +1 -1
  41. package/dist/commonjs/models/operations/getsettlement.js +3 -579
  42. package/dist/commonjs/models/operations/getsettlement.js.map +1 -1
  43. package/dist/commonjs/models/operations/getwebhookevent.d.ts +1 -1
  44. package/dist/commonjs/models/operations/listallchargebacks.d.ts +8 -8
  45. package/dist/commonjs/models/operations/listallchargebacks.d.ts.map +1 -1
  46. package/dist/commonjs/models/operations/listallchargebacks.js +8 -14
  47. package/dist/commonjs/models/operations/listallchargebacks.js.map +1 -1
  48. package/dist/commonjs/models/operations/listallmethods.d.ts +15 -15
  49. package/dist/commonjs/models/operations/listallmethods.d.ts.map +1 -1
  50. package/dist/commonjs/models/operations/listallmethods.js +19 -18
  51. package/dist/commonjs/models/operations/listallmethods.js.map +1 -1
  52. package/dist/commonjs/models/operations/listallrefunds.d.ts +8 -8
  53. package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
  54. package/dist/commonjs/models/operations/listallrefunds.js +8 -12
  55. package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
  56. package/dist/commonjs/models/operations/listallsubscriptions.d.ts +8 -8
  57. package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
  58. package/dist/commonjs/models/operations/listallsubscriptions.js +8 -13
  59. package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
  60. package/dist/commonjs/models/operations/listbalances.d.ts +8 -8
  61. package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
  62. package/dist/commonjs/models/operations/listbalances.js +8 -12
  63. package/dist/commonjs/models/operations/listbalances.js.map +1 -1
  64. package/dist/commonjs/models/operations/listbalancetransactions.d.ts +8 -8
  65. package/dist/commonjs/models/operations/listbalancetransactions.d.ts.map +1 -1
  66. package/dist/commonjs/models/operations/listbalancetransactions.js +8 -10
  67. package/dist/commonjs/models/operations/listbalancetransactions.js.map +1 -1
  68. package/dist/commonjs/models/operations/listcaptures.d.ts +8 -8
  69. package/dist/commonjs/models/operations/listcaptures.d.ts.map +1 -1
  70. package/dist/commonjs/models/operations/listcaptures.js +8 -12
  71. package/dist/commonjs/models/operations/listcaptures.js.map +1 -1
  72. package/dist/commonjs/models/operations/listchargebacks.d.ts +8 -8
  73. package/dist/commonjs/models/operations/listchargebacks.d.ts.map +1 -1
  74. package/dist/commonjs/models/operations/listchargebacks.js +8 -12
  75. package/dist/commonjs/models/operations/listchargebacks.js.map +1 -1
  76. package/dist/commonjs/models/operations/listclients.d.ts +8 -8
  77. package/dist/commonjs/models/operations/listclients.d.ts.map +1 -1
  78. package/dist/commonjs/models/operations/listclients.js +8 -12
  79. package/dist/commonjs/models/operations/listclients.js.map +1 -1
  80. package/dist/commonjs/models/operations/listcustomerpayments.d.ts +1472 -33
  81. package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
  82. package/dist/commonjs/models/operations/listcustomerpayments.js +776 -42
  83. package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
  84. package/dist/commonjs/models/operations/listcustomers.d.ts +8 -8
  85. package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
  86. package/dist/commonjs/models/operations/listcustomers.js +8 -12
  87. package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
  88. package/dist/commonjs/models/operations/listinvoices.d.ts +8 -8
  89. package/dist/commonjs/models/operations/listinvoices.d.ts.map +1 -1
  90. package/dist/commonjs/models/operations/listinvoices.js +8 -12
  91. package/dist/commonjs/models/operations/listinvoices.js.map +1 -1
  92. package/dist/commonjs/models/operations/listmandates.d.ts +8 -8
  93. package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
  94. package/dist/commonjs/models/operations/listmandates.js +8 -12
  95. package/dist/commonjs/models/operations/listmandates.js.map +1 -1
  96. package/dist/commonjs/models/operations/listpaymentlinks.d.ts +9 -9
  97. package/dist/commonjs/models/operations/listpaymentlinks.d.ts.map +1 -1
  98. package/dist/commonjs/models/operations/listpaymentlinks.js +8 -13
  99. package/dist/commonjs/models/operations/listpaymentlinks.js.map +1 -1
  100. package/dist/commonjs/models/operations/listpayments.d.ts +1472 -33
  101. package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
  102. package/dist/commonjs/models/operations/listpayments.js +768 -39
  103. package/dist/commonjs/models/operations/listpayments.js.map +1 -1
  104. package/dist/commonjs/models/operations/listprofiles.d.ts +8 -8
  105. package/dist/commonjs/models/operations/listprofiles.d.ts.map +1 -1
  106. package/dist/commonjs/models/operations/listprofiles.js +8 -12
  107. package/dist/commonjs/models/operations/listprofiles.js.map +1 -1
  108. package/dist/commonjs/models/operations/listrefunds.d.ts +8 -8
  109. package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
  110. package/dist/commonjs/models/operations/listrefunds.js +8 -12
  111. package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
  112. package/dist/commonjs/models/operations/listsalesinvoices.d.ts +8 -8
  113. package/dist/commonjs/models/operations/listsalesinvoices.d.ts.map +1 -1
  114. package/dist/commonjs/models/operations/listsalesinvoices.js +8 -14
  115. package/dist/commonjs/models/operations/listsalesinvoices.js.map +1 -1
  116. package/dist/commonjs/models/operations/listsettlementcaptures.d.ts +8 -8
  117. package/dist/commonjs/models/operations/listsettlementcaptures.d.ts.map +1 -1
  118. package/dist/commonjs/models/operations/listsettlementcaptures.js +8 -11
  119. package/dist/commonjs/models/operations/listsettlementcaptures.js.map +1 -1
  120. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +8 -8
  121. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  122. package/dist/commonjs/models/operations/listsettlementchargebacks.js +8 -10
  123. package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
  124. package/dist/commonjs/models/operations/listsettlementpayments.d.ts +1472 -33
  125. package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
  126. package/dist/commonjs/models/operations/listsettlementpayments.js +777 -40
  127. package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
  128. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +8 -8
  129. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
  130. package/dist/commonjs/models/operations/listsettlementrefunds.js +8 -12
  131. package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
  132. package/dist/commonjs/models/operations/listsettlements.d.ts +14 -854
  133. package/dist/commonjs/models/operations/listsettlements.d.ts.map +1 -1
  134. package/dist/commonjs/models/operations/listsettlements.js +11 -596
  135. package/dist/commonjs/models/operations/listsettlements.js.map +1 -1
  136. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +1472 -33
  137. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  138. package/dist/commonjs/models/operations/listsubscriptionpayments.js +777 -39
  139. package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
  140. package/dist/commonjs/models/operations/listsubscriptions.d.ts +8 -8
  141. package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
  142. package/dist/commonjs/models/operations/listsubscriptions.js +8 -14
  143. package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
  144. package/dist/commonjs/models/operations/listterminals.d.ts +8 -8
  145. package/dist/commonjs/models/operations/listterminals.d.ts.map +1 -1
  146. package/dist/commonjs/models/operations/listterminals.js +8 -12
  147. package/dist/commonjs/models/operations/listterminals.js.map +1 -1
  148. package/dist/commonjs/models/operations/listwebhooks.d.ts +8 -8
  149. package/dist/commonjs/models/operations/listwebhooks.d.ts.map +1 -1
  150. package/dist/commonjs/models/operations/listwebhooks.js +8 -12
  151. package/dist/commonjs/models/operations/listwebhooks.js.map +1 -1
  152. package/dist/commonjs/models/operations/updatepayment.d.ts +1458 -19
  153. package/dist/commonjs/models/operations/updatepayment.d.ts.map +1 -1
  154. package/dist/commonjs/models/operations/updatepayment.js +755 -21
  155. package/dist/commonjs/models/operations/updatepayment.js.map +1 -1
  156. package/dist/commonjs/models/operations/updatepaymentlink.d.ts +2 -2
  157. package/dist/esm/lib/config.d.ts +2 -2
  158. package/dist/esm/lib/config.js +2 -2
  159. package/dist/esm/mcp-server/mcp-server.js +1 -1
  160. package/dist/esm/mcp-server/server.js +1 -1
  161. package/dist/esm/models/operations/cancelpayment.d.ts +1458 -19
  162. package/dist/esm/models/operations/cancelpayment.d.ts.map +1 -1
  163. package/dist/esm/models/operations/cancelpayment.js +735 -16
  164. package/dist/esm/models/operations/cancelpayment.js.map +1 -1
  165. package/dist/esm/models/operations/createcustomerpayment.d.ts +1596 -20
  166. package/dist/esm/models/operations/createcustomerpayment.d.ts.map +1 -1
  167. package/dist/esm/models/operations/createcustomerpayment.js +796 -16
  168. package/dist/esm/models/operations/createcustomerpayment.js.map +1 -1
  169. package/dist/esm/models/operations/createpayment.d.ts +1596 -20
  170. package/dist/esm/models/operations/createpayment.d.ts.map +1 -1
  171. package/dist/esm/models/operations/createpayment.js +787 -16
  172. package/dist/esm/models/operations/createpayment.js.map +1 -1
  173. package/dist/esm/models/operations/createpaymentlink.d.ts +2 -2
  174. package/dist/esm/models/operations/getnextsettlement.d.ts +6 -846
  175. package/dist/esm/models/operations/getnextsettlement.d.ts.map +1 -1
  176. package/dist/esm/models/operations/getnextsettlement.js +2 -556
  177. package/dist/esm/models/operations/getnextsettlement.js.map +1 -1
  178. package/dist/esm/models/operations/getopensettlement.d.ts +6 -846
  179. package/dist/esm/models/operations/getopensettlement.d.ts.map +1 -1
  180. package/dist/esm/models/operations/getopensettlement.js +2 -556
  181. package/dist/esm/models/operations/getopensettlement.js.map +1 -1
  182. package/dist/esm/models/operations/getpayment.d.ts +1458 -19
  183. package/dist/esm/models/operations/getpayment.d.ts.map +1 -1
  184. package/dist/esm/models/operations/getpayment.js +731 -16
  185. package/dist/esm/models/operations/getpayment.js.map +1 -1
  186. package/dist/esm/models/operations/getpaymentlink.d.ts +1 -1
  187. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +1466 -27
  188. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  189. package/dist/esm/models/operations/getpaymentlinkpayments.js +751 -27
  190. package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
  191. package/dist/esm/models/operations/getsettlement.d.ts +6 -846
  192. package/dist/esm/models/operations/getsettlement.d.ts.map +1 -1
  193. package/dist/esm/models/operations/getsettlement.js +2 -549
  194. package/dist/esm/models/operations/getsettlement.js.map +1 -1
  195. package/dist/esm/models/operations/getwebhookevent.d.ts +1 -1
  196. package/dist/esm/models/operations/listallchargebacks.d.ts +8 -8
  197. package/dist/esm/models/operations/listallchargebacks.d.ts.map +1 -1
  198. package/dist/esm/models/operations/listallchargebacks.js +8 -14
  199. package/dist/esm/models/operations/listallchargebacks.js.map +1 -1
  200. package/dist/esm/models/operations/listallmethods.d.ts +15 -15
  201. package/dist/esm/models/operations/listallmethods.d.ts.map +1 -1
  202. package/dist/esm/models/operations/listallmethods.js +16 -15
  203. package/dist/esm/models/operations/listallmethods.js.map +1 -1
  204. package/dist/esm/models/operations/listallrefunds.d.ts +8 -8
  205. package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
  206. package/dist/esm/models/operations/listallrefunds.js +8 -12
  207. package/dist/esm/models/operations/listallrefunds.js.map +1 -1
  208. package/dist/esm/models/operations/listallsubscriptions.d.ts +8 -8
  209. package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
  210. package/dist/esm/models/operations/listallsubscriptions.js +8 -13
  211. package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
  212. package/dist/esm/models/operations/listbalances.d.ts +8 -8
  213. package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
  214. package/dist/esm/models/operations/listbalances.js +8 -12
  215. package/dist/esm/models/operations/listbalances.js.map +1 -1
  216. package/dist/esm/models/operations/listbalancetransactions.d.ts +8 -8
  217. package/dist/esm/models/operations/listbalancetransactions.d.ts.map +1 -1
  218. package/dist/esm/models/operations/listbalancetransactions.js +8 -10
  219. package/dist/esm/models/operations/listbalancetransactions.js.map +1 -1
  220. package/dist/esm/models/operations/listcaptures.d.ts +8 -8
  221. package/dist/esm/models/operations/listcaptures.d.ts.map +1 -1
  222. package/dist/esm/models/operations/listcaptures.js +8 -12
  223. package/dist/esm/models/operations/listcaptures.js.map +1 -1
  224. package/dist/esm/models/operations/listchargebacks.d.ts +8 -8
  225. package/dist/esm/models/operations/listchargebacks.d.ts.map +1 -1
  226. package/dist/esm/models/operations/listchargebacks.js +8 -12
  227. package/dist/esm/models/operations/listchargebacks.js.map +1 -1
  228. package/dist/esm/models/operations/listclients.d.ts +8 -8
  229. package/dist/esm/models/operations/listclients.d.ts.map +1 -1
  230. package/dist/esm/models/operations/listclients.js +8 -12
  231. package/dist/esm/models/operations/listclients.js.map +1 -1
  232. package/dist/esm/models/operations/listcustomerpayments.d.ts +1472 -33
  233. package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
  234. package/dist/esm/models/operations/listcustomerpayments.js +756 -37
  235. package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
  236. package/dist/esm/models/operations/listcustomers.d.ts +8 -8
  237. package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
  238. package/dist/esm/models/operations/listcustomers.js +8 -12
  239. package/dist/esm/models/operations/listcustomers.js.map +1 -1
  240. package/dist/esm/models/operations/listinvoices.d.ts +8 -8
  241. package/dist/esm/models/operations/listinvoices.d.ts.map +1 -1
  242. package/dist/esm/models/operations/listinvoices.js +8 -12
  243. package/dist/esm/models/operations/listinvoices.js.map +1 -1
  244. package/dist/esm/models/operations/listmandates.d.ts +8 -8
  245. package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
  246. package/dist/esm/models/operations/listmandates.js +8 -12
  247. package/dist/esm/models/operations/listmandates.js.map +1 -1
  248. package/dist/esm/models/operations/listpaymentlinks.d.ts +9 -9
  249. package/dist/esm/models/operations/listpaymentlinks.d.ts.map +1 -1
  250. package/dist/esm/models/operations/listpaymentlinks.js +8 -13
  251. package/dist/esm/models/operations/listpaymentlinks.js.map +1 -1
  252. package/dist/esm/models/operations/listpayments.d.ts +1472 -33
  253. package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
  254. package/dist/esm/models/operations/listpayments.js +748 -34
  255. package/dist/esm/models/operations/listpayments.js.map +1 -1
  256. package/dist/esm/models/operations/listprofiles.d.ts +8 -8
  257. package/dist/esm/models/operations/listprofiles.d.ts.map +1 -1
  258. package/dist/esm/models/operations/listprofiles.js +8 -12
  259. package/dist/esm/models/operations/listprofiles.js.map +1 -1
  260. package/dist/esm/models/operations/listrefunds.d.ts +8 -8
  261. package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
  262. package/dist/esm/models/operations/listrefunds.js +8 -12
  263. package/dist/esm/models/operations/listrefunds.js.map +1 -1
  264. package/dist/esm/models/operations/listsalesinvoices.d.ts +8 -8
  265. package/dist/esm/models/operations/listsalesinvoices.d.ts.map +1 -1
  266. package/dist/esm/models/operations/listsalesinvoices.js +8 -14
  267. package/dist/esm/models/operations/listsalesinvoices.js.map +1 -1
  268. package/dist/esm/models/operations/listsettlementcaptures.d.ts +8 -8
  269. package/dist/esm/models/operations/listsettlementcaptures.d.ts.map +1 -1
  270. package/dist/esm/models/operations/listsettlementcaptures.js +8 -11
  271. package/dist/esm/models/operations/listsettlementcaptures.js.map +1 -1
  272. package/dist/esm/models/operations/listsettlementchargebacks.d.ts +8 -8
  273. package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  274. package/dist/esm/models/operations/listsettlementchargebacks.js +8 -10
  275. package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
  276. package/dist/esm/models/operations/listsettlementpayments.d.ts +1472 -33
  277. package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
  278. package/dist/esm/models/operations/listsettlementpayments.js +757 -35
  279. package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
  280. package/dist/esm/models/operations/listsettlementrefunds.d.ts +8 -8
  281. package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
  282. package/dist/esm/models/operations/listsettlementrefunds.js +8 -12
  283. package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
  284. package/dist/esm/models/operations/listsettlements.d.ts +14 -854
  285. package/dist/esm/models/operations/listsettlements.d.ts.map +1 -1
  286. package/dist/esm/models/operations/listsettlements.js +10 -566
  287. package/dist/esm/models/operations/listsettlements.js.map +1 -1
  288. package/dist/esm/models/operations/listsubscriptionpayments.d.ts +1472 -33
  289. package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  290. package/dist/esm/models/operations/listsubscriptionpayments.js +757 -34
  291. package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
  292. package/dist/esm/models/operations/listsubscriptions.d.ts +8 -8
  293. package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
  294. package/dist/esm/models/operations/listsubscriptions.js +8 -14
  295. package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
  296. package/dist/esm/models/operations/listterminals.d.ts +8 -8
  297. package/dist/esm/models/operations/listterminals.d.ts.map +1 -1
  298. package/dist/esm/models/operations/listterminals.js +8 -12
  299. package/dist/esm/models/operations/listterminals.js.map +1 -1
  300. package/dist/esm/models/operations/listwebhooks.d.ts +8 -8
  301. package/dist/esm/models/operations/listwebhooks.d.ts.map +1 -1
  302. package/dist/esm/models/operations/listwebhooks.js +8 -12
  303. package/dist/esm/models/operations/listwebhooks.js.map +1 -1
  304. package/dist/esm/models/operations/updatepayment.d.ts +1458 -19
  305. package/dist/esm/models/operations/updatepayment.d.ts.map +1 -1
  306. package/dist/esm/models/operations/updatepayment.js +735 -16
  307. package/dist/esm/models/operations/updatepayment.js.map +1 -1
  308. package/dist/esm/models/operations/updatepaymentlink.d.ts +2 -2
  309. package/docs/sdks/customers/README.md +26 -0
  310. package/docs/sdks/payments/README.md +26 -0
  311. package/examples/package-lock.json +1 -1
  312. package/examples/paymentsCreate.example.ts +14 -0
  313. package/jsr.json +1 -1
  314. package/package.json +1 -1
  315. package/src/lib/config.ts +2 -2
  316. package/src/mcp-server/mcp-server.ts +1 -1
  317. package/src/mcp-server/server.ts +1 -1
  318. package/src/models/operations/cancelpayment.ts +2821 -1297
  319. package/src/models/operations/createcustomerpayment.ts +4804 -3036
  320. package/src/models/operations/createpayment.ts +4484 -2767
  321. package/src/models/operations/createpaymentlink.ts +2 -2
  322. package/src/models/operations/getnextsettlement.ts +4 -1290
  323. package/src/models/operations/getopensettlement.ts +4 -1290
  324. package/src/models/operations/getpayment.ts +3155 -1650
  325. package/src/models/operations/getpaymentlink.ts +1 -1
  326. package/src/models/operations/getpaymentlinkpayments.ts +3426 -1847
  327. package/src/models/operations/getsettlement.ts +4 -1253
  328. package/src/models/operations/getwebhookevent.ts +1 -1
  329. package/src/models/operations/listallchargebacks.ts +16 -22
  330. package/src/models/operations/listallmethods.ts +27 -34
  331. package/src/models/operations/listallrefunds.ts +16 -20
  332. package/src/models/operations/listallsubscriptions.ts +18 -21
  333. package/src/models/operations/listbalances.ts +16 -20
  334. package/src/models/operations/listbalancetransactions.ts +16 -18
  335. package/src/models/operations/listcaptures.ts +16 -20
  336. package/src/models/operations/listchargebacks.ts +16 -20
  337. package/src/models/operations/listclients.ts +16 -20
  338. package/src/models/operations/listcustomerpayments.ts +3408 -1847
  339. package/src/models/operations/listcustomers.ts +16 -20
  340. package/src/models/operations/listinvoices.ts +16 -20
  341. package/src/models/operations/listmandates.ts +16 -20
  342. package/src/models/operations/listpaymentlinks.ts +17 -22
  343. package/src/models/operations/listpayments.ts +2971 -1455
  344. package/src/models/operations/listprofiles.ts +16 -20
  345. package/src/models/operations/listrefunds.ts +16 -20
  346. package/src/models/operations/listsalesinvoices.ts +16 -22
  347. package/src/models/operations/listsettlementcaptures.ts +18 -19
  348. package/src/models/operations/listsettlementchargebacks.ts +16 -18
  349. package/src/models/operations/listsettlementpayments.ts +3436 -1859
  350. package/src/models/operations/listsettlementrefunds.ts +18 -20
  351. package/src/models/operations/listsettlements.ts +228 -1500
  352. package/src/models/operations/listsubscriptionpayments.ts +3479 -1875
  353. package/src/models/operations/listsubscriptions.ts +16 -22
  354. package/src/models/operations/listterminals.ts +16 -20
  355. package/src/models/operations/listwebhooks.ts +16 -20
  356. package/src/models/operations/updatepayment.ts +3437 -1913
  357. package/src/models/operations/updatepaymentlink.ts +2 -2
@@ -36,10 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.GetPaymentLineType$inboundSchema = exports.GetPaymentSettlementAmount$ = exports.GetPaymentSettlementAmount$outboundSchema = exports.GetPaymentSettlementAmount$inboundSchema = exports.GetPaymentAmountChargedBack$ = exports.GetPaymentAmountChargedBack$outboundSchema = exports.GetPaymentAmountChargedBack$inboundSchema = exports.GetPaymentAmountCaptured$ = exports.GetPaymentAmountCaptured$outboundSchema = exports.GetPaymentAmountCaptured$inboundSchema = exports.GetPaymentAmountRemaining$ = exports.GetPaymentAmountRemaining$outboundSchema = exports.GetPaymentAmountRemaining$inboundSchema = exports.GetPaymentAmountRefunded$ = exports.GetPaymentAmountRefunded$outboundSchema = exports.GetPaymentAmountRefunded$inboundSchema = exports.GetPaymentAmount$ = exports.GetPaymentAmount$outboundSchema = exports.GetPaymentAmount$inboundSchema = exports.GetPaymentMode$ = exports.GetPaymentMode$outboundSchema = exports.GetPaymentMode$inboundSchema = exports.GetPaymentNotFoundLinks$ = exports.GetPaymentNotFoundLinks$outboundSchema = exports.GetPaymentNotFoundLinks$inboundSchema = exports.GetPaymentNotFoundDocumentation$ = exports.GetPaymentNotFoundDocumentation$outboundSchema = exports.GetPaymentNotFoundDocumentation$inboundSchema = exports.GetPaymentRequest$ = exports.GetPaymentRequest$outboundSchema = exports.GetPaymentRequest$inboundSchema = exports.GetPaymentEmbed$ = exports.GetPaymentEmbed$outboundSchema = exports.GetPaymentEmbed$inboundSchema = exports.GetPaymentInclude$ = exports.GetPaymentInclude$outboundSchema = exports.GetPaymentInclude$inboundSchema = exports.GetPaymentStatus = exports.GetPaymentSequenceType = exports.GetPaymentRoutingType = exports.GetPaymentRoutingMode = exports.GetPaymentCaptureMode = exports.GetPaymentMethod = exports.GetPaymentLocale = exports.GetPaymentInterval = exports.GetPaymentCategory = exports.GetPaymentLineType = exports.GetPaymentMode = exports.GetPaymentEmbed = exports.GetPaymentInclude = void 0;
40
- exports.GetPaymentApplicationFeeAmount$ = exports.GetPaymentApplicationFeeAmount$outboundSchema = exports.GetPaymentApplicationFeeAmount$inboundSchema = exports.GetPaymentCaptureMode$ = exports.GetPaymentCaptureMode$outboundSchema = exports.GetPaymentCaptureMode$inboundSchema = exports.GetPaymentMetadata$ = exports.GetPaymentMetadata$outboundSchema = exports.GetPaymentMetadata$inboundSchema = exports.GetPaymentMethod$ = exports.GetPaymentMethod$outboundSchema = exports.GetPaymentMethod$inboundSchema = exports.GetPaymentLocale$ = exports.GetPaymentLocale$outboundSchema = exports.GetPaymentLocale$inboundSchema = exports.GetPaymentShippingAddress$ = exports.GetPaymentShippingAddress$outboundSchema = exports.GetPaymentShippingAddress$inboundSchema = exports.GetPaymentBillingAddress$ = exports.GetPaymentBillingAddress$outboundSchema = exports.GetPaymentBillingAddress$inboundSchema = exports.GetPaymentLine$ = exports.GetPaymentLine$outboundSchema = exports.GetPaymentLine$inboundSchema = exports.GetPaymentRecurring$ = exports.GetPaymentRecurring$outboundSchema = exports.GetPaymentRecurring$inboundSchema = exports.GetPaymentRecurringAmount$ = exports.GetPaymentRecurringAmount$outboundSchema = exports.GetPaymentRecurringAmount$inboundSchema = exports.GetPaymentInterval$ = exports.GetPaymentInterval$outboundSchema = exports.GetPaymentInterval$inboundSchema = exports.GetPaymentCategory$ = exports.GetPaymentCategory$outboundSchema = exports.GetPaymentCategory$inboundSchema = exports.GetPaymentVatAmount$ = exports.GetPaymentVatAmount$outboundSchema = exports.GetPaymentVatAmount$inboundSchema = exports.GetPaymentTotalAmount$ = exports.GetPaymentTotalAmount$outboundSchema = exports.GetPaymentTotalAmount$inboundSchema = exports.GetPaymentDiscountAmount$ = exports.GetPaymentDiscountAmount$outboundSchema = exports.GetPaymentDiscountAmount$inboundSchema = exports.GetPaymentUnitPrice$ = exports.GetPaymentUnitPrice$outboundSchema = exports.GetPaymentUnitPrice$inboundSchema = exports.GetPaymentLineType$ = exports.GetPaymentLineType$outboundSchema = void 0;
41
- exports.GetPaymentDashboard$outboundSchema = exports.GetPaymentDashboard$inboundSchema = exports.GetPaymentChangePaymentState$ = exports.GetPaymentChangePaymentState$outboundSchema = exports.GetPaymentChangePaymentState$inboundSchema = exports.GetPaymentMobileAppCheckout$ = exports.GetPaymentMobileAppCheckout$outboundSchema = exports.GetPaymentMobileAppCheckout$inboundSchema = exports.GetPaymentCheckout$ = exports.GetPaymentCheckout$outboundSchema = exports.GetPaymentCheckout$inboundSchema = exports.GetPaymentSelf$ = exports.GetPaymentSelf$outboundSchema = exports.GetPaymentSelf$inboundSchema = exports.GetPaymentStatusReason$ = exports.GetPaymentStatusReason$outboundSchema = exports.GetPaymentStatusReason$inboundSchema = exports.GetPaymentStatus$ = exports.GetPaymentStatus$outboundSchema = exports.GetPaymentStatus$inboundSchema = exports.GetPaymentSequenceType$ = exports.GetPaymentSequenceType$outboundSchema = exports.GetPaymentSequenceType$inboundSchema = exports.GetPaymentRouting$ = exports.GetPaymentRouting$outboundSchema = exports.GetPaymentRouting$inboundSchema = exports.GetPaymentRoutingLinks$ = exports.GetPaymentRoutingLinks$outboundSchema = exports.GetPaymentRoutingLinks$inboundSchema = exports.GetPaymentPayment$ = exports.GetPaymentPayment$outboundSchema = exports.GetPaymentPayment$inboundSchema = exports.GetPaymentRoutingSelf$ = exports.GetPaymentRoutingSelf$outboundSchema = exports.GetPaymentRoutingSelf$inboundSchema = exports.GetPaymentDestination$ = exports.GetPaymentDestination$outboundSchema = exports.GetPaymentDestination$inboundSchema = exports.GetPaymentRoutingType$ = exports.GetPaymentRoutingType$outboundSchema = exports.GetPaymentRoutingType$inboundSchema = exports.GetPaymentRoutingAmount$ = exports.GetPaymentRoutingAmount$outboundSchema = exports.GetPaymentRoutingAmount$inboundSchema = exports.GetPaymentRoutingMode$ = exports.GetPaymentRoutingMode$outboundSchema = exports.GetPaymentRoutingMode$inboundSchema = exports.GetPaymentApplicationFee$ = exports.GetPaymentApplicationFee$outboundSchema = exports.GetPaymentApplicationFee$inboundSchema = void 0;
42
- exports.GetPaymentResponse$ = exports.GetPaymentResponse$outboundSchema = exports.GetPaymentResponse$inboundSchema = exports.GetPaymentLinks$ = exports.GetPaymentLinks$outboundSchema = exports.GetPaymentLinks$inboundSchema = exports.GetPaymentDocumentation$ = exports.GetPaymentDocumentation$outboundSchema = exports.GetPaymentDocumentation$inboundSchema = exports.GetPaymentTerminal$ = exports.GetPaymentTerminal$outboundSchema = exports.GetPaymentTerminal$inboundSchema = exports.GetPaymentOrder$ = exports.GetPaymentOrder$outboundSchema = exports.GetPaymentOrder$inboundSchema = exports.GetPaymentSubscription$ = exports.GetPaymentSubscription$outboundSchema = exports.GetPaymentSubscription$inboundSchema = exports.GetPaymentMandate$ = exports.GetPaymentMandate$outboundSchema = exports.GetPaymentMandate$inboundSchema = exports.GetPaymentCustomer$ = exports.GetPaymentCustomer$outboundSchema = exports.GetPaymentCustomer$inboundSchema = exports.GetPaymentSettlement$ = exports.GetPaymentSettlement$outboundSchema = exports.GetPaymentSettlement$inboundSchema = exports.GetPaymentCaptures$ = exports.GetPaymentCaptures$outboundSchema = exports.GetPaymentCaptures$inboundSchema = exports.GetPaymentChargebacks$ = exports.GetPaymentChargebacks$outboundSchema = exports.GetPaymentChargebacks$inboundSchema = exports.GetPaymentRefunds$ = exports.GetPaymentRefunds$outboundSchema = exports.GetPaymentRefunds$inboundSchema = exports.GetPaymentDashboard$ = void 0;
39
+ exports.GetPaymentAmountRemaining$outboundSchema = exports.GetPaymentAmountRemaining$inboundSchema = exports.GetPaymentAmountRefunded$ = exports.GetPaymentAmountRefunded$outboundSchema = exports.GetPaymentAmountRefunded$inboundSchema = exports.GetPaymentAmount$ = exports.GetPaymentAmount$outboundSchema = exports.GetPaymentAmount$inboundSchema = exports.GetPaymentMode$ = exports.GetPaymentMode$outboundSchema = exports.GetPaymentMode$inboundSchema = exports.GetPaymentNotFoundLinks$ = exports.GetPaymentNotFoundLinks$outboundSchema = exports.GetPaymentNotFoundLinks$inboundSchema = exports.GetPaymentNotFoundDocumentation$ = exports.GetPaymentNotFoundDocumentation$outboundSchema = exports.GetPaymentNotFoundDocumentation$inboundSchema = exports.GetPaymentRequest$ = exports.GetPaymentRequest$outboundSchema = exports.GetPaymentRequest$inboundSchema = exports.GetPaymentEmbed$ = exports.GetPaymentEmbed$outboundSchema = exports.GetPaymentEmbed$inboundSchema = exports.GetPaymentInclude$ = exports.GetPaymentInclude$outboundSchema = exports.GetPaymentInclude$inboundSchema = exports.GetPaymentCardVerificationMethod = exports.GetPaymentCardReadMethod = exports.GetPaymentSellerProtection = exports.GetPaymentWallet = exports.GetPaymentFailureReason = exports.GetPaymentFeeRegion = exports.GetPaymentCardSecurity = exports.GetPaymentCardFunding = exports.GetPaymentCardLabel = exports.GetPaymentCardAudition = exports.GetPaymentCode = exports.GetPaymentStatusEnum = exports.GetPaymentSequenceType = exports.GetPaymentRoutingType = exports.GetPaymentRoutingMode = exports.GetPaymentCaptureMode = exports.GetPaymentMethod = exports.GetPaymentLocale = exports.GetPaymentInterval = exports.GetPaymentCategory = exports.GetPaymentLineType = exports.GetPaymentMode = exports.GetPaymentEmbed = exports.GetPaymentInclude = void 0;
40
+ exports.GetPaymentMethod$inboundSchema = exports.GetPaymentLocale$ = exports.GetPaymentLocale$outboundSchema = exports.GetPaymentLocale$inboundSchema = exports.GetPaymentShippingAddress$ = exports.GetPaymentShippingAddress$outboundSchema = exports.GetPaymentShippingAddress$inboundSchema = exports.GetPaymentBillingAddress$ = exports.GetPaymentBillingAddress$outboundSchema = exports.GetPaymentBillingAddress$inboundSchema = exports.GetPaymentLine$ = exports.GetPaymentLine$outboundSchema = exports.GetPaymentLine$inboundSchema = exports.GetPaymentRecurring$ = exports.GetPaymentRecurring$outboundSchema = exports.GetPaymentRecurring$inboundSchema = exports.GetPaymentRecurringAmount$ = exports.GetPaymentRecurringAmount$outboundSchema = exports.GetPaymentRecurringAmount$inboundSchema = exports.GetPaymentInterval$ = exports.GetPaymentInterval$outboundSchema = exports.GetPaymentInterval$inboundSchema = exports.GetPaymentCategory$ = exports.GetPaymentCategory$outboundSchema = exports.GetPaymentCategory$inboundSchema = exports.GetPaymentVatAmount$ = exports.GetPaymentVatAmount$outboundSchema = exports.GetPaymentVatAmount$inboundSchema = exports.GetPaymentTotalAmount$ = exports.GetPaymentTotalAmount$outboundSchema = exports.GetPaymentTotalAmount$inboundSchema = exports.GetPaymentDiscountAmount$ = exports.GetPaymentDiscountAmount$outboundSchema = exports.GetPaymentDiscountAmount$inboundSchema = exports.GetPaymentUnitPrice$ = exports.GetPaymentUnitPrice$outboundSchema = exports.GetPaymentUnitPrice$inboundSchema = exports.GetPaymentLineType$ = exports.GetPaymentLineType$outboundSchema = exports.GetPaymentLineType$inboundSchema = exports.GetPaymentSettlementAmount$ = exports.GetPaymentSettlementAmount$outboundSchema = exports.GetPaymentSettlementAmount$inboundSchema = exports.GetPaymentAmountChargedBack$ = exports.GetPaymentAmountChargedBack$outboundSchema = exports.GetPaymentAmountChargedBack$inboundSchema = exports.GetPaymentAmountCaptured$ = exports.GetPaymentAmountCaptured$outboundSchema = exports.GetPaymentAmountCaptured$inboundSchema = exports.GetPaymentAmountRemaining$ = void 0;
41
+ exports.GetPaymentStatusReason$ = exports.GetPaymentStatusReason$outboundSchema = exports.GetPaymentStatusReason$inboundSchema = exports.GetPaymentCode$ = exports.GetPaymentCode$outboundSchema = exports.GetPaymentCode$inboundSchema = exports.GetPaymentStatusEnum$ = exports.GetPaymentStatusEnum$outboundSchema = exports.GetPaymentStatusEnum$inboundSchema = exports.GetPaymentSequenceType$ = exports.GetPaymentSequenceType$outboundSchema = exports.GetPaymentSequenceType$inboundSchema = exports.GetPaymentRouting$ = exports.GetPaymentRouting$outboundSchema = exports.GetPaymentRouting$inboundSchema = exports.GetPaymentRoutingLinks$ = exports.GetPaymentRoutingLinks$outboundSchema = exports.GetPaymentRoutingLinks$inboundSchema = exports.GetPaymentPayment$ = exports.GetPaymentPayment$outboundSchema = exports.GetPaymentPayment$inboundSchema = exports.GetPaymentRoutingSelf$ = exports.GetPaymentRoutingSelf$outboundSchema = exports.GetPaymentRoutingSelf$inboundSchema = exports.GetPaymentDestination$ = exports.GetPaymentDestination$outboundSchema = exports.GetPaymentDestination$inboundSchema = exports.GetPaymentRoutingType$ = exports.GetPaymentRoutingType$outboundSchema = exports.GetPaymentRoutingType$inboundSchema = exports.GetPaymentRoutingAmount$ = exports.GetPaymentRoutingAmount$outboundSchema = exports.GetPaymentRoutingAmount$inboundSchema = exports.GetPaymentRoutingMode$ = exports.GetPaymentRoutingMode$outboundSchema = exports.GetPaymentRoutingMode$inboundSchema = exports.GetPaymentApplicationFee$ = exports.GetPaymentApplicationFee$outboundSchema = exports.GetPaymentApplicationFee$inboundSchema = exports.GetPaymentApplicationFeeAmount$ = exports.GetPaymentApplicationFeeAmount$outboundSchema = exports.GetPaymentApplicationFeeAmount$inboundSchema = exports.GetPaymentCaptureMode$ = exports.GetPaymentCaptureMode$outboundSchema = exports.GetPaymentCaptureMode$inboundSchema = exports.GetPaymentMetadata$ = exports.GetPaymentMetadata$outboundSchema = exports.GetPaymentMetadata$inboundSchema = exports.GetPaymentMethod$ = exports.GetPaymentMethod$outboundSchema = void 0;
42
+ exports.GetPaymentCheckout$outboundSchema = exports.GetPaymentCheckout$inboundSchema = exports.GetPaymentSelf$ = exports.GetPaymentSelf$outboundSchema = exports.GetPaymentSelf$inboundSchema = exports.GetPaymentDetails$ = exports.GetPaymentDetails$outboundSchema = exports.GetPaymentDetails$inboundSchema = exports.GetPaymentRemainderAmount$ = exports.GetPaymentRemainderAmount$outboundSchema = exports.GetPaymentRemainderAmount$inboundSchema = exports.GetPaymentQrCode$ = exports.GetPaymentQrCode$outboundSchema = exports.GetPaymentQrCode$inboundSchema = exports.GetPaymentReceipt$ = exports.GetPaymentReceipt$outboundSchema = exports.GetPaymentReceipt$inboundSchema = exports.GetPaymentCardVerificationMethod$ = exports.GetPaymentCardVerificationMethod$outboundSchema = exports.GetPaymentCardVerificationMethod$inboundSchema = exports.GetPaymentCardReadMethod$ = exports.GetPaymentCardReadMethod$outboundSchema = exports.GetPaymentCardReadMethod$inboundSchema = exports.GetPaymentPaypalFee$ = exports.GetPaymentPaypalFee$outboundSchema = exports.GetPaymentPaypalFee$inboundSchema = exports.GetPaymentSellerProtection$ = exports.GetPaymentSellerProtection$outboundSchema = exports.GetPaymentSellerProtection$inboundSchema = exports.GetPaymentWallet$ = exports.GetPaymentWallet$outboundSchema = exports.GetPaymentWallet$inboundSchema = exports.GetPaymentFailureReason$ = exports.GetPaymentFailureReason$outboundSchema = exports.GetPaymentFailureReason$inboundSchema = exports.GetPaymentFeeRegion$ = exports.GetPaymentFeeRegion$outboundSchema = exports.GetPaymentFeeRegion$inboundSchema = exports.GetPaymentCardSecurity$ = exports.GetPaymentCardSecurity$outboundSchema = exports.GetPaymentCardSecurity$inboundSchema = exports.GetPaymentCardFunding$ = exports.GetPaymentCardFunding$outboundSchema = exports.GetPaymentCardFunding$inboundSchema = exports.GetPaymentCardLabel$ = exports.GetPaymentCardLabel$outboundSchema = exports.GetPaymentCardLabel$inboundSchema = exports.GetPaymentCardAudition$ = exports.GetPaymentCardAudition$outboundSchema = exports.GetPaymentCardAudition$inboundSchema = void 0;
43
+ exports.GetPaymentResponse$inboundSchema = exports.GetPaymentLinks$ = exports.GetPaymentLinks$outboundSchema = exports.GetPaymentLinks$inboundSchema = exports.GetPaymentPayOnline$ = exports.GetPaymentPayOnline$outboundSchema = exports.GetPaymentPayOnline$inboundSchema = exports.GetPaymentLinksStatus$ = exports.GetPaymentLinksStatus$outboundSchema = exports.GetPaymentLinksStatus$inboundSchema = exports.GetPaymentDocumentation$ = exports.GetPaymentDocumentation$outboundSchema = exports.GetPaymentDocumentation$inboundSchema = exports.GetPaymentTerminal$ = exports.GetPaymentTerminal$outboundSchema = exports.GetPaymentTerminal$inboundSchema = exports.GetPaymentOrder$ = exports.GetPaymentOrder$outboundSchema = exports.GetPaymentOrder$inboundSchema = exports.GetPaymentSubscription$ = exports.GetPaymentSubscription$outboundSchema = exports.GetPaymentSubscription$inboundSchema = exports.GetPaymentMandate$ = exports.GetPaymentMandate$outboundSchema = exports.GetPaymentMandate$inboundSchema = exports.GetPaymentCustomer$ = exports.GetPaymentCustomer$outboundSchema = exports.GetPaymentCustomer$inboundSchema = exports.GetPaymentSettlement$ = exports.GetPaymentSettlement$outboundSchema = exports.GetPaymentSettlement$inboundSchema = exports.GetPaymentCaptures$ = exports.GetPaymentCaptures$outboundSchema = exports.GetPaymentCaptures$inboundSchema = exports.GetPaymentChargebacks$ = exports.GetPaymentChargebacks$outboundSchema = exports.GetPaymentChargebacks$inboundSchema = exports.GetPaymentRefunds$ = exports.GetPaymentRefunds$outboundSchema = exports.GetPaymentRefunds$inboundSchema = exports.GetPaymentDashboard$ = exports.GetPaymentDashboard$outboundSchema = exports.GetPaymentDashboard$inboundSchema = exports.GetPaymentChangePaymentState$ = exports.GetPaymentChangePaymentState$outboundSchema = exports.GetPaymentChangePaymentState$inboundSchema = exports.GetPaymentMobileAppCheckout$ = exports.GetPaymentMobileAppCheckout$outboundSchema = exports.GetPaymentMobileAppCheckout$inboundSchema = exports.GetPaymentCheckout$ = void 0;
44
+ exports.GetPaymentResponse$ = exports.GetPaymentResponse$outboundSchema = void 0;
43
45
  exports.getPaymentRequestToJSON = getPaymentRequestToJSON;
44
46
  exports.getPaymentRequestFromJSON = getPaymentRequestFromJSON;
45
47
  exports.getPaymentNotFoundDocumentationToJSON = getPaymentNotFoundDocumentationToJSON;
@@ -96,6 +98,16 @@ exports.getPaymentRoutingToJSON = getPaymentRoutingToJSON;
96
98
  exports.getPaymentRoutingFromJSON = getPaymentRoutingFromJSON;
97
99
  exports.getPaymentStatusReasonToJSON = getPaymentStatusReasonToJSON;
98
100
  exports.getPaymentStatusReasonFromJSON = getPaymentStatusReasonFromJSON;
101
+ exports.getPaymentPaypalFeeToJSON = getPaymentPaypalFeeToJSON;
102
+ exports.getPaymentPaypalFeeFromJSON = getPaymentPaypalFeeFromJSON;
103
+ exports.getPaymentReceiptToJSON = getPaymentReceiptToJSON;
104
+ exports.getPaymentReceiptFromJSON = getPaymentReceiptFromJSON;
105
+ exports.getPaymentQrCodeToJSON = getPaymentQrCodeToJSON;
106
+ exports.getPaymentQrCodeFromJSON = getPaymentQrCodeFromJSON;
107
+ exports.getPaymentRemainderAmountToJSON = getPaymentRemainderAmountToJSON;
108
+ exports.getPaymentRemainderAmountFromJSON = getPaymentRemainderAmountFromJSON;
109
+ exports.getPaymentDetailsToJSON = getPaymentDetailsToJSON;
110
+ exports.getPaymentDetailsFromJSON = getPaymentDetailsFromJSON;
99
111
  exports.getPaymentSelfToJSON = getPaymentSelfToJSON;
100
112
  exports.getPaymentSelfFromJSON = getPaymentSelfFromJSON;
101
113
  exports.getPaymentCheckoutToJSON = getPaymentCheckoutToJSON;
@@ -126,6 +138,10 @@ exports.getPaymentTerminalToJSON = getPaymentTerminalToJSON;
126
138
  exports.getPaymentTerminalFromJSON = getPaymentTerminalFromJSON;
127
139
  exports.getPaymentDocumentationToJSON = getPaymentDocumentationToJSON;
128
140
  exports.getPaymentDocumentationFromJSON = getPaymentDocumentationFromJSON;
141
+ exports.getPaymentLinksStatusToJSON = getPaymentLinksStatusToJSON;
142
+ exports.getPaymentLinksStatusFromJSON = getPaymentLinksStatusFromJSON;
143
+ exports.getPaymentPayOnlineToJSON = getPaymentPayOnlineToJSON;
144
+ exports.getPaymentPayOnlineFromJSON = getPaymentPayOnlineFromJSON;
129
145
  exports.getPaymentLinksToJSON = getPaymentLinksToJSON;
130
146
  exports.getPaymentLinksFromJSON = getPaymentLinksFromJSON;
131
147
  exports.getPaymentResponseToJSON = getPaymentResponseToJSON;
@@ -133,6 +149,7 @@ exports.getPaymentResponseFromJSON = getPaymentResponseFromJSON;
133
149
  const z = __importStar(require("zod"));
134
150
  const primitives_js_1 = require("../../lib/primitives.js");
135
151
  const schemas_js_1 = require("../../lib/schemas.js");
152
+ const rfcdate_js_1 = require("../../types/rfcdate.js");
136
153
  /**
137
154
  * This endpoint allows you to include additional information via the `include` query string parameter.
138
155
  */
@@ -324,7 +341,7 @@ exports.GetPaymentSequenceType = {
324
341
  * @remarks
325
342
  * statuses occur at what point.
326
343
  */
327
- exports.GetPaymentStatus = {
344
+ exports.GetPaymentStatusEnum = {
328
345
  Open: "open",
329
346
  Pending: "pending",
330
347
  Authorized: "authorized",
@@ -333,6 +350,249 @@ exports.GetPaymentStatus = {
333
350
  Expired: "expired",
334
351
  Failed: "failed",
335
352
  };
353
+ /**
354
+ * A machine-readable code that indicates the reason for the payment's status.
355
+ */
356
+ exports.GetPaymentCode = {
357
+ ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully",
358
+ ReferToCardIssuer: "refer_to_card_issuer",
359
+ InvalidMerchant: "invalid_merchant",
360
+ CaptureCard: "capture_card",
361
+ DoNotHonor: "do_not_honor",
362
+ Error: "error",
363
+ PartialApproval: "partial_approval",
364
+ InvalidTransaction: "invalid_transaction",
365
+ InvalidAmount: "invalid_amount",
366
+ InvalidIssuer: "invalid_issuer",
367
+ LostCard: "lost_card",
368
+ StolenCard: "stolen_card",
369
+ InsufficientFunds: "insufficient_funds",
370
+ ExpiredCard: "expired_card",
371
+ InvalidPin: "invalid_pin",
372
+ TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder",
373
+ TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal",
374
+ ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit",
375
+ RestrictedCard: "restricted_card",
376
+ SecurityViolation: "security_violation",
377
+ ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit",
378
+ AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded",
379
+ NoReasonToDecline: "no_reason_to_decline",
380
+ CannotVerifyPin: "cannot_verify_pin",
381
+ IssuerUnavailable: "issuer_unavailable",
382
+ UnableToRouteTransaction: "unable_to_route_transaction",
383
+ DuplicateTransaction: "duplicate_transaction",
384
+ SystemMalfunction: "system_malfunction",
385
+ HonorWithId: "honor_with_id",
386
+ InvalidCardNumber: "invalid_card_number",
387
+ FormatError: "format_error",
388
+ ContactCardIssuer: "contact_card_issuer",
389
+ PinNotChanged: "pin_not_changed",
390
+ InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified",
391
+ InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified",
392
+ InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified",
393
+ LifecycleRelated: "lifecycle_related",
394
+ DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed",
395
+ PolicyRelated: "policy_related",
396
+ FraudSecurityRelated: "fraud_security_related",
397
+ InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle",
398
+ PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed",
399
+ CryptographicFailure: "cryptographic_failure",
400
+ UnacceptablePin: "unacceptable_pin",
401
+ ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition",
402
+ PickUpCardSpecialCondition: "pick_up_card_special_condition",
403
+ VipApproval: "vip_approval",
404
+ InvalidAccountNumber: "invalid_account_number",
405
+ ReEnterTransaction: "re_enter_transaction",
406
+ NoActionTaken: "no_action_taken",
407
+ UnableToLocateRecord: "unable_to_locate_record",
408
+ FileTemporarilyUnavailable: "file_temporarily_unavailable",
409
+ NoCreditAccount: "no_credit_account",
410
+ ClosedAccount: "closed_account",
411
+ NoCheckingAccount: "no_checking_account",
412
+ NoSavingsAccount: "no_savings_account",
413
+ SuspectedFraud: "suspected_fraud",
414
+ TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement",
415
+ PinDataRequired: "pin_data_required",
416
+ UnableToLocatePreviousMessage: "unable_to_locate_previous_message",
417
+ PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data",
418
+ BlockedFirstUsed: "blocked_first_used",
419
+ TransactionReversed: "transaction_reversed",
420
+ CreditIssuerUnavailable: "credit_issuer_unavailable",
421
+ PinCryptographicErrorFound: "pin_cryptographic_error_found",
422
+ NegativeOnlineCamResult: "negative_online_cam_result",
423
+ ViolationOfLaw: "violation_of_law",
424
+ ForceStip: "force_stip",
425
+ CashServiceNotAvailable: "cash_service_not_available",
426
+ CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit",
427
+ DeclineForCvv2Failure: "decline_for_cvv2_failure",
428
+ TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount",
429
+ InvalidBillerInformation: "invalid_biller_information",
430
+ PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined",
431
+ UnsafePin: "unsafe_pin",
432
+ CardAuthenticationFailed: "card_authentication_failed",
433
+ StopPaymentOrder: "stop_payment_order",
434
+ RevocationOfAuthorization: "revocation_of_authorization",
435
+ RevocationOfAllAuthorizations: "revocation_of_all_authorizations",
436
+ ForwardToIssuerXa: "forward_to_issuer_xa",
437
+ ForwardToIssuerXd: "forward_to_issuer_xd",
438
+ UnableToGoOnline: "unable_to_go_online",
439
+ AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required",
440
+ MerchantIdNotFound: "merchant_id_not_found",
441
+ MerchantAccountClosed: "merchant_account_closed",
442
+ TerminalIdNotFound: "terminal_id_not_found",
443
+ TerminalClosed: "terminal_closed",
444
+ InvalidCategoryCode: "invalid_category_code",
445
+ InvalidCurrency: "invalid_currency",
446
+ MissingCvv2Cvc2: "missing_cvv2_cvc2",
447
+ Cvv2NotAllowed: "cvv2_not_allowed",
448
+ MerchantNotRegisteredVbv: "merchant_not_registered_vbv",
449
+ MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex",
450
+ TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal",
451
+ AgreementTerminalNotRelated: "agreement_terminal_not_related",
452
+ InvalidProcessorId: "invalid_processor_id",
453
+ InvalidMerchantData: "invalid_merchant_data",
454
+ SubMerchantAccountClosed: "sub_merchant_account_closed",
455
+ TerminalBusy: "terminal_busy",
456
+ TerminalUnreachable: "terminal_unreachable",
457
+ ServiceFailed: "service_failed",
458
+ InvalidOperation: "invalid_operation",
459
+ AuthorizationError: "authorization_error",
460
+ LoginFailedWithoutReason: "login_failed_without_reason",
461
+ InvalidRetailer: "invalid_retailer",
462
+ CardDoesNotExist: "card_does_not_exist",
463
+ CardIsBlocked: "card_is_blocked",
464
+ InvalidCardId: "invalid_card_id",
465
+ CardIsTransferred: "card_is_transferred",
466
+ CardIsNotActive: "card_is_not_active",
467
+ IncorrectPurchaseValue: "incorrect_purchase_value",
468
+ CardNotAvailable: "card_not_available",
469
+ WrongCurrency: "wrong_currency",
470
+ LoginFailedUnknownUser: "login_failed_unknown_user",
471
+ LoginFailedInvalidPassword: "login_failed_invalid_password",
472
+ InvalidEanCode: "invalid_ean_code",
473
+ };
474
+ /**
475
+ * The card's target audience, if known.
476
+ */
477
+ exports.GetPaymentCardAudition = {
478
+ Consumer: "consumer",
479
+ Business: "business",
480
+ };
481
+ /**
482
+ * The card's label, if known.
483
+ */
484
+ exports.GetPaymentCardLabel = {
485
+ AmericanExpress: "American Express",
486
+ CartaSi: "Carta Si",
487
+ CarteBleue: "Carte Bleue",
488
+ Dankort: "Dankort",
489
+ DinersClub: "Diners Club",
490
+ Discover: "Discover",
491
+ Jcb: "JCB",
492
+ Laser: "Laser",
493
+ Maestro: "Maestro",
494
+ Mastercard: "Mastercard",
495
+ Unionpay: "Unionpay",
496
+ Visa: "Visa",
497
+ Vpay: "Vpay",
498
+ };
499
+ /**
500
+ * The card type.
501
+ */
502
+ exports.GetPaymentCardFunding = {
503
+ Debit: "debit",
504
+ Credit: "credit",
505
+ Prepaid: "prepaid",
506
+ DeferredDebit: "deferred-debit",
507
+ };
508
+ /**
509
+ * The level of security applied during card processing.
510
+ */
511
+ exports.GetPaymentCardSecurity = {
512
+ Normal: "normal",
513
+ Threedsecure: "3dsecure",
514
+ };
515
+ /**
516
+ * The applicable card fee region.
517
+ */
518
+ exports.GetPaymentFeeRegion = {
519
+ AmericanExpress: "american-express",
520
+ AmexIntraEea: "amex-intra-eea",
521
+ CarteBancaire: "carte-bancaire",
522
+ IntraEu: "intra-eu",
523
+ IntraEuCorporate: "intra-eu-corporate",
524
+ Domestic: "domestic",
525
+ Maestro: "maestro",
526
+ Other: "other",
527
+ Inter: "inter",
528
+ IntraEea: "intra-eea",
529
+ };
530
+ /**
531
+ * A failure code to help understand why the payment failed.
532
+ */
533
+ exports.GetPaymentFailureReason = {
534
+ AuthenticationAbandoned: "authentication_abandoned",
535
+ AuthenticationFailed: "authentication_failed",
536
+ AuthenticationRequired: "authentication_required",
537
+ AuthenticationUnavailableAcs: "authentication_unavailable_acs",
538
+ CardDeclined: "card_declined",
539
+ CardExpired: "card_expired",
540
+ InactiveCard: "inactive_card",
541
+ InsufficientFunds: "insufficient_funds",
542
+ InvalidCvv: "invalid_cvv",
543
+ InvalidCardHolderName: "invalid_card_holder_name",
544
+ InvalidCardNumber: "invalid_card_number",
545
+ InvalidCardType: "invalid_card_type",
546
+ PossibleFraud: "possible_fraud",
547
+ RefusedByIssuer: "refused_by_issuer",
548
+ UnknownReason: "unknown_reason",
549
+ };
550
+ /**
551
+ * The wallet used when creating the payment.
552
+ */
553
+ exports.GetPaymentWallet = {
554
+ Applepay: "applepay",
555
+ };
556
+ /**
557
+ * Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
558
+ *
559
+ * @remarks
560
+ * payments, and if the information is made available by PayPal.
561
+ */
562
+ exports.GetPaymentSellerProtection = {
563
+ Eligible: "Eligible",
564
+ Ineligible: "Ineligible",
565
+ PartiallyEligibleINROnly: "Partially Eligible - INR Only",
566
+ PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
567
+ PartiallyEligible: "Partially Eligible",
568
+ None: "None",
569
+ Active: "Active",
570
+ FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible",
571
+ };
572
+ /**
573
+ * The method by which the card was read by the terminal.
574
+ */
575
+ exports.GetPaymentCardReadMethod = {
576
+ Chip: "chip",
577
+ MagneticStripe: "magnetic-stripe",
578
+ NearFieldCommunication: "near-field-communication",
579
+ Contactless: "contactless",
580
+ Moto: "moto",
581
+ };
582
+ /**
583
+ * The method used to verify the cardholder's identity.
584
+ */
585
+ exports.GetPaymentCardVerificationMethod = {
586
+ NoCvmRequired: "no-cvm-required",
587
+ OnlinePin: "online-pin",
588
+ OfflinePin: "offline-pin",
589
+ ConsumerDevice: "consumer-device",
590
+ Signature: "signature",
591
+ SignatureAndOnlinePin: "signature-and-online-pin",
592
+ OnlinePinAndSignature: "online-pin-and-signature",
593
+ None: "none",
594
+ Failed: "failed",
595
+ };
336
596
  /** @internal */
337
597
  exports.GetPaymentInclude$inboundSchema = z.nativeEnum(exports.GetPaymentInclude);
338
598
  /** @internal */
@@ -1332,28 +1592,43 @@ var GetPaymentSequenceType$;
1332
1592
  GetPaymentSequenceType$.outboundSchema = exports.GetPaymentSequenceType$outboundSchema;
1333
1593
  })(GetPaymentSequenceType$ || (exports.GetPaymentSequenceType$ = GetPaymentSequenceType$ = {}));
1334
1594
  /** @internal */
1335
- exports.GetPaymentStatus$inboundSchema = z.nativeEnum(exports.GetPaymentStatus);
1595
+ exports.GetPaymentStatusEnum$inboundSchema = z.nativeEnum(exports.GetPaymentStatusEnum);
1336
1596
  /** @internal */
1337
- exports.GetPaymentStatus$outboundSchema = exports.GetPaymentStatus$inboundSchema;
1597
+ exports.GetPaymentStatusEnum$outboundSchema = exports.GetPaymentStatusEnum$inboundSchema;
1338
1598
  /**
1339
1599
  * @internal
1340
1600
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1341
1601
  */
1342
- var GetPaymentStatus$;
1343
- (function (GetPaymentStatus$) {
1344
- /** @deprecated use `GetPaymentStatus$inboundSchema` instead. */
1345
- GetPaymentStatus$.inboundSchema = exports.GetPaymentStatus$inboundSchema;
1346
- /** @deprecated use `GetPaymentStatus$outboundSchema` instead. */
1347
- GetPaymentStatus$.outboundSchema = exports.GetPaymentStatus$outboundSchema;
1348
- })(GetPaymentStatus$ || (exports.GetPaymentStatus$ = GetPaymentStatus$ = {}));
1602
+ var GetPaymentStatusEnum$;
1603
+ (function (GetPaymentStatusEnum$) {
1604
+ /** @deprecated use `GetPaymentStatusEnum$inboundSchema` instead. */
1605
+ GetPaymentStatusEnum$.inboundSchema = exports.GetPaymentStatusEnum$inboundSchema;
1606
+ /** @deprecated use `GetPaymentStatusEnum$outboundSchema` instead. */
1607
+ GetPaymentStatusEnum$.outboundSchema = exports.GetPaymentStatusEnum$outboundSchema;
1608
+ })(GetPaymentStatusEnum$ || (exports.GetPaymentStatusEnum$ = GetPaymentStatusEnum$ = {}));
1609
+ /** @internal */
1610
+ exports.GetPaymentCode$inboundSchema = z.nativeEnum(exports.GetPaymentCode);
1611
+ /** @internal */
1612
+ exports.GetPaymentCode$outboundSchema = exports.GetPaymentCode$inboundSchema;
1613
+ /**
1614
+ * @internal
1615
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1616
+ */
1617
+ var GetPaymentCode$;
1618
+ (function (GetPaymentCode$) {
1619
+ /** @deprecated use `GetPaymentCode$inboundSchema` instead. */
1620
+ GetPaymentCode$.inboundSchema = exports.GetPaymentCode$inboundSchema;
1621
+ /** @deprecated use `GetPaymentCode$outboundSchema` instead. */
1622
+ GetPaymentCode$.outboundSchema = exports.GetPaymentCode$outboundSchema;
1623
+ })(GetPaymentCode$ || (exports.GetPaymentCode$ = GetPaymentCode$ = {}));
1349
1624
  /** @internal */
1350
1625
  exports.GetPaymentStatusReason$inboundSchema = z.object({
1351
- code: z.string(),
1626
+ code: exports.GetPaymentCode$inboundSchema,
1352
1627
  message: z.string(),
1353
1628
  });
1354
1629
  /** @internal */
1355
1630
  exports.GetPaymentStatusReason$outboundSchema = z.object({
1356
- code: z.string(),
1631
+ code: exports.GetPaymentCode$outboundSchema,
1357
1632
  message: z.string(),
1358
1633
  });
1359
1634
  /**
@@ -1374,6 +1649,403 @@ function getPaymentStatusReasonFromJSON(jsonString) {
1374
1649
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentStatusReason$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentStatusReason' from JSON`);
1375
1650
  }
1376
1651
  /** @internal */
1652
+ exports.GetPaymentCardAudition$inboundSchema = z.nativeEnum(exports.GetPaymentCardAudition);
1653
+ /** @internal */
1654
+ exports.GetPaymentCardAudition$outboundSchema = exports.GetPaymentCardAudition$inboundSchema;
1655
+ /**
1656
+ * @internal
1657
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1658
+ */
1659
+ var GetPaymentCardAudition$;
1660
+ (function (GetPaymentCardAudition$) {
1661
+ /** @deprecated use `GetPaymentCardAudition$inboundSchema` instead. */
1662
+ GetPaymentCardAudition$.inboundSchema = exports.GetPaymentCardAudition$inboundSchema;
1663
+ /** @deprecated use `GetPaymentCardAudition$outboundSchema` instead. */
1664
+ GetPaymentCardAudition$.outboundSchema = exports.GetPaymentCardAudition$outboundSchema;
1665
+ })(GetPaymentCardAudition$ || (exports.GetPaymentCardAudition$ = GetPaymentCardAudition$ = {}));
1666
+ /** @internal */
1667
+ exports.GetPaymentCardLabel$inboundSchema = z.nativeEnum(exports.GetPaymentCardLabel);
1668
+ /** @internal */
1669
+ exports.GetPaymentCardLabel$outboundSchema = exports.GetPaymentCardLabel$inboundSchema;
1670
+ /**
1671
+ * @internal
1672
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1673
+ */
1674
+ var GetPaymentCardLabel$;
1675
+ (function (GetPaymentCardLabel$) {
1676
+ /** @deprecated use `GetPaymentCardLabel$inboundSchema` instead. */
1677
+ GetPaymentCardLabel$.inboundSchema = exports.GetPaymentCardLabel$inboundSchema;
1678
+ /** @deprecated use `GetPaymentCardLabel$outboundSchema` instead. */
1679
+ GetPaymentCardLabel$.outboundSchema = exports.GetPaymentCardLabel$outboundSchema;
1680
+ })(GetPaymentCardLabel$ || (exports.GetPaymentCardLabel$ = GetPaymentCardLabel$ = {}));
1681
+ /** @internal */
1682
+ exports.GetPaymentCardFunding$inboundSchema = z.nativeEnum(exports.GetPaymentCardFunding);
1683
+ /** @internal */
1684
+ exports.GetPaymentCardFunding$outboundSchema = exports.GetPaymentCardFunding$inboundSchema;
1685
+ /**
1686
+ * @internal
1687
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1688
+ */
1689
+ var GetPaymentCardFunding$;
1690
+ (function (GetPaymentCardFunding$) {
1691
+ /** @deprecated use `GetPaymentCardFunding$inboundSchema` instead. */
1692
+ GetPaymentCardFunding$.inboundSchema = exports.GetPaymentCardFunding$inboundSchema;
1693
+ /** @deprecated use `GetPaymentCardFunding$outboundSchema` instead. */
1694
+ GetPaymentCardFunding$.outboundSchema = exports.GetPaymentCardFunding$outboundSchema;
1695
+ })(GetPaymentCardFunding$ || (exports.GetPaymentCardFunding$ = GetPaymentCardFunding$ = {}));
1696
+ /** @internal */
1697
+ exports.GetPaymentCardSecurity$inboundSchema = z.nativeEnum(exports.GetPaymentCardSecurity);
1698
+ /** @internal */
1699
+ exports.GetPaymentCardSecurity$outboundSchema = exports.GetPaymentCardSecurity$inboundSchema;
1700
+ /**
1701
+ * @internal
1702
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1703
+ */
1704
+ var GetPaymentCardSecurity$;
1705
+ (function (GetPaymentCardSecurity$) {
1706
+ /** @deprecated use `GetPaymentCardSecurity$inboundSchema` instead. */
1707
+ GetPaymentCardSecurity$.inboundSchema = exports.GetPaymentCardSecurity$inboundSchema;
1708
+ /** @deprecated use `GetPaymentCardSecurity$outboundSchema` instead. */
1709
+ GetPaymentCardSecurity$.outboundSchema = exports.GetPaymentCardSecurity$outboundSchema;
1710
+ })(GetPaymentCardSecurity$ || (exports.GetPaymentCardSecurity$ = GetPaymentCardSecurity$ = {}));
1711
+ /** @internal */
1712
+ exports.GetPaymentFeeRegion$inboundSchema = z.nativeEnum(exports.GetPaymentFeeRegion);
1713
+ /** @internal */
1714
+ exports.GetPaymentFeeRegion$outboundSchema = exports.GetPaymentFeeRegion$inboundSchema;
1715
+ /**
1716
+ * @internal
1717
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1718
+ */
1719
+ var GetPaymentFeeRegion$;
1720
+ (function (GetPaymentFeeRegion$) {
1721
+ /** @deprecated use `GetPaymentFeeRegion$inboundSchema` instead. */
1722
+ GetPaymentFeeRegion$.inboundSchema = exports.GetPaymentFeeRegion$inboundSchema;
1723
+ /** @deprecated use `GetPaymentFeeRegion$outboundSchema` instead. */
1724
+ GetPaymentFeeRegion$.outboundSchema = exports.GetPaymentFeeRegion$outboundSchema;
1725
+ })(GetPaymentFeeRegion$ || (exports.GetPaymentFeeRegion$ = GetPaymentFeeRegion$ = {}));
1726
+ /** @internal */
1727
+ exports.GetPaymentFailureReason$inboundSchema = z.nativeEnum(exports.GetPaymentFailureReason);
1728
+ /** @internal */
1729
+ exports.GetPaymentFailureReason$outboundSchema = exports.GetPaymentFailureReason$inboundSchema;
1730
+ /**
1731
+ * @internal
1732
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1733
+ */
1734
+ var GetPaymentFailureReason$;
1735
+ (function (GetPaymentFailureReason$) {
1736
+ /** @deprecated use `GetPaymentFailureReason$inboundSchema` instead. */
1737
+ GetPaymentFailureReason$.inboundSchema = exports.GetPaymentFailureReason$inboundSchema;
1738
+ /** @deprecated use `GetPaymentFailureReason$outboundSchema` instead. */
1739
+ GetPaymentFailureReason$.outboundSchema = exports.GetPaymentFailureReason$outboundSchema;
1740
+ })(GetPaymentFailureReason$ || (exports.GetPaymentFailureReason$ = GetPaymentFailureReason$ = {}));
1741
+ /** @internal */
1742
+ exports.GetPaymentWallet$inboundSchema = z.nativeEnum(exports.GetPaymentWallet);
1743
+ /** @internal */
1744
+ exports.GetPaymentWallet$outboundSchema = exports.GetPaymentWallet$inboundSchema;
1745
+ /**
1746
+ * @internal
1747
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1748
+ */
1749
+ var GetPaymentWallet$;
1750
+ (function (GetPaymentWallet$) {
1751
+ /** @deprecated use `GetPaymentWallet$inboundSchema` instead. */
1752
+ GetPaymentWallet$.inboundSchema = exports.GetPaymentWallet$inboundSchema;
1753
+ /** @deprecated use `GetPaymentWallet$outboundSchema` instead. */
1754
+ GetPaymentWallet$.outboundSchema = exports.GetPaymentWallet$outboundSchema;
1755
+ })(GetPaymentWallet$ || (exports.GetPaymentWallet$ = GetPaymentWallet$ = {}));
1756
+ /** @internal */
1757
+ exports.GetPaymentSellerProtection$inboundSchema = z.nativeEnum(exports.GetPaymentSellerProtection);
1758
+ /** @internal */
1759
+ exports.GetPaymentSellerProtection$outboundSchema = exports.GetPaymentSellerProtection$inboundSchema;
1760
+ /**
1761
+ * @internal
1762
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1763
+ */
1764
+ var GetPaymentSellerProtection$;
1765
+ (function (GetPaymentSellerProtection$) {
1766
+ /** @deprecated use `GetPaymentSellerProtection$inboundSchema` instead. */
1767
+ GetPaymentSellerProtection$.inboundSchema = exports.GetPaymentSellerProtection$inboundSchema;
1768
+ /** @deprecated use `GetPaymentSellerProtection$outboundSchema` instead. */
1769
+ GetPaymentSellerProtection$.outboundSchema = exports.GetPaymentSellerProtection$outboundSchema;
1770
+ })(GetPaymentSellerProtection$ || (exports.GetPaymentSellerProtection$ = GetPaymentSellerProtection$ = {}));
1771
+ /** @internal */
1772
+ exports.GetPaymentPaypalFee$inboundSchema = z.object({
1773
+ currency: z.string(),
1774
+ value: z.string(),
1775
+ });
1776
+ /** @internal */
1777
+ exports.GetPaymentPaypalFee$outboundSchema = z.object({
1778
+ currency: z.string(),
1779
+ value: z.string(),
1780
+ });
1781
+ /**
1782
+ * @internal
1783
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1784
+ */
1785
+ var GetPaymentPaypalFee$;
1786
+ (function (GetPaymentPaypalFee$) {
1787
+ /** @deprecated use `GetPaymentPaypalFee$inboundSchema` instead. */
1788
+ GetPaymentPaypalFee$.inboundSchema = exports.GetPaymentPaypalFee$inboundSchema;
1789
+ /** @deprecated use `GetPaymentPaypalFee$outboundSchema` instead. */
1790
+ GetPaymentPaypalFee$.outboundSchema = exports.GetPaymentPaypalFee$outboundSchema;
1791
+ })(GetPaymentPaypalFee$ || (exports.GetPaymentPaypalFee$ = GetPaymentPaypalFee$ = {}));
1792
+ function getPaymentPaypalFeeToJSON(getPaymentPaypalFee) {
1793
+ return JSON.stringify(exports.GetPaymentPaypalFee$outboundSchema.parse(getPaymentPaypalFee));
1794
+ }
1795
+ function getPaymentPaypalFeeFromJSON(jsonString) {
1796
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentPaypalFee$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentPaypalFee' from JSON`);
1797
+ }
1798
+ /** @internal */
1799
+ exports.GetPaymentCardReadMethod$inboundSchema = z.nativeEnum(exports.GetPaymentCardReadMethod);
1800
+ /** @internal */
1801
+ exports.GetPaymentCardReadMethod$outboundSchema = exports.GetPaymentCardReadMethod$inboundSchema;
1802
+ /**
1803
+ * @internal
1804
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1805
+ */
1806
+ var GetPaymentCardReadMethod$;
1807
+ (function (GetPaymentCardReadMethod$) {
1808
+ /** @deprecated use `GetPaymentCardReadMethod$inboundSchema` instead. */
1809
+ GetPaymentCardReadMethod$.inboundSchema = exports.GetPaymentCardReadMethod$inboundSchema;
1810
+ /** @deprecated use `GetPaymentCardReadMethod$outboundSchema` instead. */
1811
+ GetPaymentCardReadMethod$.outboundSchema = exports.GetPaymentCardReadMethod$outboundSchema;
1812
+ })(GetPaymentCardReadMethod$ || (exports.GetPaymentCardReadMethod$ = GetPaymentCardReadMethod$ = {}));
1813
+ /** @internal */
1814
+ exports.GetPaymentCardVerificationMethod$inboundSchema = z.nativeEnum(exports.GetPaymentCardVerificationMethod);
1815
+ /** @internal */
1816
+ exports.GetPaymentCardVerificationMethod$outboundSchema = exports.GetPaymentCardVerificationMethod$inboundSchema;
1817
+ /**
1818
+ * @internal
1819
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1820
+ */
1821
+ var GetPaymentCardVerificationMethod$;
1822
+ (function (GetPaymentCardVerificationMethod$) {
1823
+ /** @deprecated use `GetPaymentCardVerificationMethod$inboundSchema` instead. */
1824
+ GetPaymentCardVerificationMethod$.inboundSchema = exports.GetPaymentCardVerificationMethod$inboundSchema;
1825
+ /** @deprecated use `GetPaymentCardVerificationMethod$outboundSchema` instead. */
1826
+ GetPaymentCardVerificationMethod$.outboundSchema = exports.GetPaymentCardVerificationMethod$outboundSchema;
1827
+ })(GetPaymentCardVerificationMethod$ || (exports.GetPaymentCardVerificationMethod$ = GetPaymentCardVerificationMethod$ = {}));
1828
+ /** @internal */
1829
+ exports.GetPaymentReceipt$inboundSchema = z.object({
1830
+ authorizationCode: z.nullable(z.string()).optional(),
1831
+ applicationIdentifier: z.nullable(z.string()).optional(),
1832
+ cardReadMethod: z.nullable(exports.GetPaymentCardReadMethod$inboundSchema).optional(),
1833
+ cardVerificationMethod: z.nullable(exports.GetPaymentCardVerificationMethod$inboundSchema).optional(),
1834
+ });
1835
+ /** @internal */
1836
+ exports.GetPaymentReceipt$outboundSchema = z.object({
1837
+ authorizationCode: z.nullable(z.string()).optional(),
1838
+ applicationIdentifier: z.nullable(z.string()).optional(),
1839
+ cardReadMethod: z.nullable(exports.GetPaymentCardReadMethod$outboundSchema)
1840
+ .optional(),
1841
+ cardVerificationMethod: z.nullable(exports.GetPaymentCardVerificationMethod$outboundSchema).optional(),
1842
+ });
1843
+ /**
1844
+ * @internal
1845
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1846
+ */
1847
+ var GetPaymentReceipt$;
1848
+ (function (GetPaymentReceipt$) {
1849
+ /** @deprecated use `GetPaymentReceipt$inboundSchema` instead. */
1850
+ GetPaymentReceipt$.inboundSchema = exports.GetPaymentReceipt$inboundSchema;
1851
+ /** @deprecated use `GetPaymentReceipt$outboundSchema` instead. */
1852
+ GetPaymentReceipt$.outboundSchema = exports.GetPaymentReceipt$outboundSchema;
1853
+ })(GetPaymentReceipt$ || (exports.GetPaymentReceipt$ = GetPaymentReceipt$ = {}));
1854
+ function getPaymentReceiptToJSON(getPaymentReceipt) {
1855
+ return JSON.stringify(exports.GetPaymentReceipt$outboundSchema.parse(getPaymentReceipt));
1856
+ }
1857
+ function getPaymentReceiptFromJSON(jsonString) {
1858
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentReceipt$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentReceipt' from JSON`);
1859
+ }
1860
+ /** @internal */
1861
+ exports.GetPaymentQrCode$inboundSchema = z.object({
1862
+ height: z.number().int().optional(),
1863
+ width: z.number().int().optional(),
1864
+ src: z.string().optional(),
1865
+ });
1866
+ /** @internal */
1867
+ exports.GetPaymentQrCode$outboundSchema = z.object({
1868
+ height: z.number().int().optional(),
1869
+ width: z.number().int().optional(),
1870
+ src: z.string().optional(),
1871
+ });
1872
+ /**
1873
+ * @internal
1874
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1875
+ */
1876
+ var GetPaymentQrCode$;
1877
+ (function (GetPaymentQrCode$) {
1878
+ /** @deprecated use `GetPaymentQrCode$inboundSchema` instead. */
1879
+ GetPaymentQrCode$.inboundSchema = exports.GetPaymentQrCode$inboundSchema;
1880
+ /** @deprecated use `GetPaymentQrCode$outboundSchema` instead. */
1881
+ GetPaymentQrCode$.outboundSchema = exports.GetPaymentQrCode$outboundSchema;
1882
+ })(GetPaymentQrCode$ || (exports.GetPaymentQrCode$ = GetPaymentQrCode$ = {}));
1883
+ function getPaymentQrCodeToJSON(getPaymentQrCode) {
1884
+ return JSON.stringify(exports.GetPaymentQrCode$outboundSchema.parse(getPaymentQrCode));
1885
+ }
1886
+ function getPaymentQrCodeFromJSON(jsonString) {
1887
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentQrCode$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentQrCode' from JSON`);
1888
+ }
1889
+ /** @internal */
1890
+ exports.GetPaymentRemainderAmount$inboundSchema = z.object({
1891
+ currency: z.string(),
1892
+ value: z.string(),
1893
+ });
1894
+ /** @internal */
1895
+ exports.GetPaymentRemainderAmount$outboundSchema = z.object({
1896
+ currency: z.string(),
1897
+ value: z.string(),
1898
+ });
1899
+ /**
1900
+ * @internal
1901
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1902
+ */
1903
+ var GetPaymentRemainderAmount$;
1904
+ (function (GetPaymentRemainderAmount$) {
1905
+ /** @deprecated use `GetPaymentRemainderAmount$inboundSchema` instead. */
1906
+ GetPaymentRemainderAmount$.inboundSchema = exports.GetPaymentRemainderAmount$inboundSchema;
1907
+ /** @deprecated use `GetPaymentRemainderAmount$outboundSchema` instead. */
1908
+ GetPaymentRemainderAmount$.outboundSchema = exports.GetPaymentRemainderAmount$outboundSchema;
1909
+ })(GetPaymentRemainderAmount$ || (exports.GetPaymentRemainderAmount$ = GetPaymentRemainderAmount$ = {}));
1910
+ function getPaymentRemainderAmountToJSON(getPaymentRemainderAmount) {
1911
+ return JSON.stringify(exports.GetPaymentRemainderAmount$outboundSchema.parse(getPaymentRemainderAmount));
1912
+ }
1913
+ function getPaymentRemainderAmountFromJSON(jsonString) {
1914
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentRemainderAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentRemainderAmount' from JSON`);
1915
+ }
1916
+ /** @internal */
1917
+ exports.GetPaymentDetails$inboundSchema = z.object({
1918
+ consumerName: z.nullable(z.string()).optional(),
1919
+ consumerAccount: z.nullable(z.string()).optional(),
1920
+ consumerBic: z.nullable(z.string()).optional(),
1921
+ shippingAddress: z.nullable(z.record(z.any())).optional(),
1922
+ cardNumber: z.nullable(z.string()).optional(),
1923
+ bankName: z.string().optional(),
1924
+ bankAccount: z.string().optional(),
1925
+ bankBic: z.string().optional(),
1926
+ transferReference: z.nullable(z.string()).optional(),
1927
+ cardFingerprint: z.nullable(z.string()).optional(),
1928
+ cardHolder: z.nullable(z.string()).optional(),
1929
+ cardAudition: z.nullable(exports.GetPaymentCardAudition$inboundSchema).optional(),
1930
+ cardLabel: z.nullable(exports.GetPaymentCardLabel$inboundSchema).optional(),
1931
+ cardCountryCode: z.nullable(z.string()).optional(),
1932
+ cardExpiryDate: z.nullable(z.string()).optional(),
1933
+ cardFunding: z.nullable(exports.GetPaymentCardFunding$inboundSchema).optional(),
1934
+ cardSecurity: z.nullable(exports.GetPaymentCardSecurity$inboundSchema).optional(),
1935
+ feeRegion: z.nullable(exports.GetPaymentFeeRegion$inboundSchema).optional(),
1936
+ cardMaskedNumber: z.nullable(z.string()).optional(),
1937
+ card3dsEci: z.nullable(z.string()).optional(),
1938
+ cardBin: z.nullable(z.string()).optional(),
1939
+ cardIssuer: z.nullable(z.string()).optional(),
1940
+ failureReason: z.nullable(exports.GetPaymentFailureReason$inboundSchema).optional(),
1941
+ failureMessage: z.nullable(z.string()).optional(),
1942
+ wallet: z.nullable(exports.GetPaymentWallet$inboundSchema).optional(),
1943
+ paypalReference: z.nullable(z.string()).optional(),
1944
+ paypalPayerId: z.nullable(z.string()).optional(),
1945
+ sellerProtection: z.nullable(exports.GetPaymentSellerProtection$inboundSchema)
1946
+ .optional(),
1947
+ paypalFee: z.nullable(z.lazy(() => exports.GetPaymentPaypalFee$inboundSchema))
1948
+ .optional(),
1949
+ customerReference: z.string().optional(),
1950
+ terminalId: z.string().optional(),
1951
+ maskedNumber: z.nullable(z.string()).optional(),
1952
+ receipt: z.lazy(() => exports.GetPaymentReceipt$inboundSchema).optional(),
1953
+ creditorIdentifier: z.nullable(z.string()).optional(),
1954
+ dueDate: z.nullable(z.string().transform(v => new rfcdate_js_1.RFCDate(v))).optional(),
1955
+ signatureDate: z.nullable(z.string().transform(v => new rfcdate_js_1.RFCDate(v)))
1956
+ .optional(),
1957
+ bankReasonCode: z.nullable(z.string()).optional(),
1958
+ bankReason: z.nullable(z.string()).optional(),
1959
+ endToEndIdentifier: z.nullable(z.string()).optional(),
1960
+ mandateReference: z.nullable(z.string()).optional(),
1961
+ batchReference: z.nullable(z.string()).optional(),
1962
+ fileReference: z.nullable(z.string()).optional(),
1963
+ qrCode: z.lazy(() => exports.GetPaymentQrCode$inboundSchema).optional(),
1964
+ voucherNumber: z.string().optional(),
1965
+ giftcards: z.array(z.record(z.any())).optional(),
1966
+ issuer: z.string().optional(),
1967
+ vouchers: z.array(z.record(z.any())).optional(),
1968
+ remainderAmount: z.lazy(() => exports.GetPaymentRemainderAmount$inboundSchema)
1969
+ .optional(),
1970
+ remainderMethod: z.string().optional(),
1971
+ remainderDetails: z.record(z.any()).optional(),
1972
+ });
1973
+ /** @internal */
1974
+ exports.GetPaymentDetails$outboundSchema = z.object({
1975
+ consumerName: z.nullable(z.string()).optional(),
1976
+ consumerAccount: z.nullable(z.string()).optional(),
1977
+ consumerBic: z.nullable(z.string()).optional(),
1978
+ shippingAddress: z.nullable(z.record(z.any())).optional(),
1979
+ cardNumber: z.nullable(z.string()).optional(),
1980
+ bankName: z.string().optional(),
1981
+ bankAccount: z.string().optional(),
1982
+ bankBic: z.string().optional(),
1983
+ transferReference: z.nullable(z.string()).optional(),
1984
+ cardFingerprint: z.nullable(z.string()).optional(),
1985
+ cardHolder: z.nullable(z.string()).optional(),
1986
+ cardAudition: z.nullable(exports.GetPaymentCardAudition$outboundSchema).optional(),
1987
+ cardLabel: z.nullable(exports.GetPaymentCardLabel$outboundSchema).optional(),
1988
+ cardCountryCode: z.nullable(z.string()).optional(),
1989
+ cardExpiryDate: z.nullable(z.string()).optional(),
1990
+ cardFunding: z.nullable(exports.GetPaymentCardFunding$outboundSchema).optional(),
1991
+ cardSecurity: z.nullable(exports.GetPaymentCardSecurity$outboundSchema).optional(),
1992
+ feeRegion: z.nullable(exports.GetPaymentFeeRegion$outboundSchema).optional(),
1993
+ cardMaskedNumber: z.nullable(z.string()).optional(),
1994
+ card3dsEci: z.nullable(z.string()).optional(),
1995
+ cardBin: z.nullable(z.string()).optional(),
1996
+ cardIssuer: z.nullable(z.string()).optional(),
1997
+ failureReason: z.nullable(exports.GetPaymentFailureReason$outboundSchema).optional(),
1998
+ failureMessage: z.nullable(z.string()).optional(),
1999
+ wallet: z.nullable(exports.GetPaymentWallet$outboundSchema).optional(),
2000
+ paypalReference: z.nullable(z.string()).optional(),
2001
+ paypalPayerId: z.nullable(z.string()).optional(),
2002
+ sellerProtection: z.nullable(exports.GetPaymentSellerProtection$outboundSchema)
2003
+ .optional(),
2004
+ paypalFee: z.nullable(z.lazy(() => exports.GetPaymentPaypalFee$outboundSchema))
2005
+ .optional(),
2006
+ customerReference: z.string().optional(),
2007
+ terminalId: z.string().optional(),
2008
+ maskedNumber: z.nullable(z.string()).optional(),
2009
+ receipt: z.lazy(() => exports.GetPaymentReceipt$outboundSchema).optional(),
2010
+ creditorIdentifier: z.nullable(z.string()).optional(),
2011
+ dueDate: z.nullable(z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString()))
2012
+ .optional(),
2013
+ signatureDate: z.nullable(z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString()))
2014
+ .optional(),
2015
+ bankReasonCode: z.nullable(z.string()).optional(),
2016
+ bankReason: z.nullable(z.string()).optional(),
2017
+ endToEndIdentifier: z.nullable(z.string()).optional(),
2018
+ mandateReference: z.nullable(z.string()).optional(),
2019
+ batchReference: z.nullable(z.string()).optional(),
2020
+ fileReference: z.nullable(z.string()).optional(),
2021
+ qrCode: z.lazy(() => exports.GetPaymentQrCode$outboundSchema).optional(),
2022
+ voucherNumber: z.string().optional(),
2023
+ giftcards: z.array(z.record(z.any())).optional(),
2024
+ issuer: z.string().optional(),
2025
+ vouchers: z.array(z.record(z.any())).optional(),
2026
+ remainderAmount: z.lazy(() => exports.GetPaymentRemainderAmount$outboundSchema)
2027
+ .optional(),
2028
+ remainderMethod: z.string().optional(),
2029
+ remainderDetails: z.record(z.any()).optional(),
2030
+ });
2031
+ /**
2032
+ * @internal
2033
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2034
+ */
2035
+ var GetPaymentDetails$;
2036
+ (function (GetPaymentDetails$) {
2037
+ /** @deprecated use `GetPaymentDetails$inboundSchema` instead. */
2038
+ GetPaymentDetails$.inboundSchema = exports.GetPaymentDetails$inboundSchema;
2039
+ /** @deprecated use `GetPaymentDetails$outboundSchema` instead. */
2040
+ GetPaymentDetails$.outboundSchema = exports.GetPaymentDetails$outboundSchema;
2041
+ })(GetPaymentDetails$ || (exports.GetPaymentDetails$ = GetPaymentDetails$ = {}));
2042
+ function getPaymentDetailsToJSON(getPaymentDetails) {
2043
+ return JSON.stringify(exports.GetPaymentDetails$outboundSchema.parse(getPaymentDetails));
2044
+ }
2045
+ function getPaymentDetailsFromJSON(jsonString) {
2046
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentDetails' from JSON`);
2047
+ }
2048
+ /** @internal */
1377
2049
  exports.GetPaymentSelf$inboundSchema = z.object({
1378
2050
  href: z.string(),
1379
2051
  type: z.string(),
@@ -1779,6 +2451,60 @@ function getPaymentDocumentationFromJSON(jsonString) {
1779
2451
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentDocumentation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentDocumentation' from JSON`);
1780
2452
  }
1781
2453
  /** @internal */
2454
+ exports.GetPaymentLinksStatus$inboundSchema = z.object({
2455
+ href: z.string(),
2456
+ type: z.string(),
2457
+ });
2458
+ /** @internal */
2459
+ exports.GetPaymentLinksStatus$outboundSchema = z.object({
2460
+ href: z.string(),
2461
+ type: z.string(),
2462
+ });
2463
+ /**
2464
+ * @internal
2465
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2466
+ */
2467
+ var GetPaymentLinksStatus$;
2468
+ (function (GetPaymentLinksStatus$) {
2469
+ /** @deprecated use `GetPaymentLinksStatus$inboundSchema` instead. */
2470
+ GetPaymentLinksStatus$.inboundSchema = exports.GetPaymentLinksStatus$inboundSchema;
2471
+ /** @deprecated use `GetPaymentLinksStatus$outboundSchema` instead. */
2472
+ GetPaymentLinksStatus$.outboundSchema = exports.GetPaymentLinksStatus$outboundSchema;
2473
+ })(GetPaymentLinksStatus$ || (exports.GetPaymentLinksStatus$ = GetPaymentLinksStatus$ = {}));
2474
+ function getPaymentLinksStatusToJSON(getPaymentLinksStatus) {
2475
+ return JSON.stringify(exports.GetPaymentLinksStatus$outboundSchema.parse(getPaymentLinksStatus));
2476
+ }
2477
+ function getPaymentLinksStatusFromJSON(jsonString) {
2478
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentLinksStatus$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentLinksStatus' from JSON`);
2479
+ }
2480
+ /** @internal */
2481
+ exports.GetPaymentPayOnline$inboundSchema = z.object({
2482
+ href: z.string(),
2483
+ type: z.string(),
2484
+ });
2485
+ /** @internal */
2486
+ exports.GetPaymentPayOnline$outboundSchema = z.object({
2487
+ href: z.string(),
2488
+ type: z.string(),
2489
+ });
2490
+ /**
2491
+ * @internal
2492
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2493
+ */
2494
+ var GetPaymentPayOnline$;
2495
+ (function (GetPaymentPayOnline$) {
2496
+ /** @deprecated use `GetPaymentPayOnline$inboundSchema` instead. */
2497
+ GetPaymentPayOnline$.inboundSchema = exports.GetPaymentPayOnline$inboundSchema;
2498
+ /** @deprecated use `GetPaymentPayOnline$outboundSchema` instead. */
2499
+ GetPaymentPayOnline$.outboundSchema = exports.GetPaymentPayOnline$outboundSchema;
2500
+ })(GetPaymentPayOnline$ || (exports.GetPaymentPayOnline$ = GetPaymentPayOnline$ = {}));
2501
+ function getPaymentPayOnlineToJSON(getPaymentPayOnline) {
2502
+ return JSON.stringify(exports.GetPaymentPayOnline$outboundSchema.parse(getPaymentPayOnline));
2503
+ }
2504
+ function getPaymentPayOnlineFromJSON(jsonString) {
2505
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentPayOnline$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentPayOnline' from JSON`);
2506
+ }
2507
+ /** @internal */
1782
2508
  exports.GetPaymentLinks$inboundSchema = z.object({
1783
2509
  self: z.lazy(() => exports.GetPaymentSelf$inboundSchema),
1784
2510
  checkout: z.lazy(() => exports.GetPaymentCheckout$inboundSchema).optional(),
@@ -1797,6 +2523,8 @@ exports.GetPaymentLinks$inboundSchema = z.object({
1797
2523
  order: z.lazy(() => exports.GetPaymentOrder$inboundSchema).optional(),
1798
2524
  terminal: z.lazy(() => exports.GetPaymentTerminal$inboundSchema).optional(),
1799
2525
  documentation: z.lazy(() => exports.GetPaymentDocumentation$inboundSchema).optional(),
2526
+ status: z.lazy(() => exports.GetPaymentLinksStatus$inboundSchema).optional(),
2527
+ payOnline: z.lazy(() => exports.GetPaymentPayOnline$inboundSchema).optional(),
1800
2528
  });
1801
2529
  /** @internal */
1802
2530
  exports.GetPaymentLinks$outboundSchema = z.object({
@@ -1818,6 +2546,8 @@ exports.GetPaymentLinks$outboundSchema = z.object({
1818
2546
  terminal: z.lazy(() => exports.GetPaymentTerminal$outboundSchema).optional(),
1819
2547
  documentation: z.lazy(() => exports.GetPaymentDocumentation$outboundSchema)
1820
2548
  .optional(),
2549
+ status: z.lazy(() => exports.GetPaymentLinksStatus$outboundSchema).optional(),
2550
+ payOnline: z.lazy(() => exports.GetPaymentPayOnline$outboundSchema).optional(),
1821
2551
  });
1822
2552
  /**
1823
2553
  * @internal
@@ -1880,11 +2610,11 @@ exports.GetPaymentResponse$inboundSchema = z.object({
1880
2610
  profileId: z.string(),
1881
2611
  settlementId: z.nullable(z.string()).optional(),
1882
2612
  orderId: z.nullable(z.string()).optional(),
1883
- status: exports.GetPaymentStatus$inboundSchema,
2613
+ status: exports.GetPaymentStatusEnum$inboundSchema,
1884
2614
  statusReason: z.nullable(z.lazy(() => exports.GetPaymentStatusReason$inboundSchema))
1885
2615
  .optional(),
1886
2616
  isCancelable: z.nullable(z.boolean()).optional(),
1887
- details: z.nullable(z.record(z.any())).optional(),
2617
+ details: z.nullable(z.lazy(() => exports.GetPaymentDetails$inboundSchema)).optional(),
1888
2618
  createdAt: z.string(),
1889
2619
  authorizedAt: z.nullable(z.string()).optional(),
1890
2620
  paidAt: z.nullable(z.string()).optional(),
@@ -1942,11 +2672,12 @@ exports.GetPaymentResponse$outboundSchema = z.object({
1942
2672
  profileId: z.string(),
1943
2673
  settlementId: z.nullable(z.string()).optional(),
1944
2674
  orderId: z.nullable(z.string()).optional(),
1945
- status: exports.GetPaymentStatus$outboundSchema,
2675
+ status: exports.GetPaymentStatusEnum$outboundSchema,
1946
2676
  statusReason: z.nullable(z.lazy(() => exports.GetPaymentStatusReason$outboundSchema))
1947
2677
  .optional(),
1948
2678
  isCancelable: z.nullable(z.boolean()).optional(),
1949
- details: z.nullable(z.record(z.any())).optional(),
2679
+ details: z.nullable(z.lazy(() => exports.GetPaymentDetails$outboundSchema))
2680
+ .optional(),
1950
2681
  createdAt: z.string(),
1951
2682
  authorizedAt: z.nullable(z.string()).optional(),
1952
2683
  paidAt: z.nullable(z.string()).optional(),