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
@@ -4,6 +4,7 @@
4
4
  import * as z from "zod";
5
5
  import { remap as remap$ } from "../../lib/primitives.js";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import { RFCDate } from "../../types/rfcdate.js";
7
8
  /**
8
9
  * This endpoint allows you to include additional information via the `include` query string parameter.
9
10
  */
@@ -195,7 +196,7 @@ export const GetPaymentSequenceType = {
195
196
  * @remarks
196
197
  * statuses occur at what point.
197
198
  */
198
- export const GetPaymentStatus = {
199
+ export const GetPaymentStatusEnum = {
199
200
  Open: "open",
200
201
  Pending: "pending",
201
202
  Authorized: "authorized",
@@ -204,6 +205,249 @@ export const GetPaymentStatus = {
204
205
  Expired: "expired",
205
206
  Failed: "failed",
206
207
  };
208
+ /**
209
+ * A machine-readable code that indicates the reason for the payment's status.
210
+ */
211
+ export const GetPaymentCode = {
212
+ ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully",
213
+ ReferToCardIssuer: "refer_to_card_issuer",
214
+ InvalidMerchant: "invalid_merchant",
215
+ CaptureCard: "capture_card",
216
+ DoNotHonor: "do_not_honor",
217
+ Error: "error",
218
+ PartialApproval: "partial_approval",
219
+ InvalidTransaction: "invalid_transaction",
220
+ InvalidAmount: "invalid_amount",
221
+ InvalidIssuer: "invalid_issuer",
222
+ LostCard: "lost_card",
223
+ StolenCard: "stolen_card",
224
+ InsufficientFunds: "insufficient_funds",
225
+ ExpiredCard: "expired_card",
226
+ InvalidPin: "invalid_pin",
227
+ TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder",
228
+ TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal",
229
+ ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit",
230
+ RestrictedCard: "restricted_card",
231
+ SecurityViolation: "security_violation",
232
+ ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit",
233
+ AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded",
234
+ NoReasonToDecline: "no_reason_to_decline",
235
+ CannotVerifyPin: "cannot_verify_pin",
236
+ IssuerUnavailable: "issuer_unavailable",
237
+ UnableToRouteTransaction: "unable_to_route_transaction",
238
+ DuplicateTransaction: "duplicate_transaction",
239
+ SystemMalfunction: "system_malfunction",
240
+ HonorWithId: "honor_with_id",
241
+ InvalidCardNumber: "invalid_card_number",
242
+ FormatError: "format_error",
243
+ ContactCardIssuer: "contact_card_issuer",
244
+ PinNotChanged: "pin_not_changed",
245
+ InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified",
246
+ InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified",
247
+ InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified",
248
+ LifecycleRelated: "lifecycle_related",
249
+ DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed",
250
+ PolicyRelated: "policy_related",
251
+ FraudSecurityRelated: "fraud_security_related",
252
+ InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle",
253
+ PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed",
254
+ CryptographicFailure: "cryptographic_failure",
255
+ UnacceptablePin: "unacceptable_pin",
256
+ ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition",
257
+ PickUpCardSpecialCondition: "pick_up_card_special_condition",
258
+ VipApproval: "vip_approval",
259
+ InvalidAccountNumber: "invalid_account_number",
260
+ ReEnterTransaction: "re_enter_transaction",
261
+ NoActionTaken: "no_action_taken",
262
+ UnableToLocateRecord: "unable_to_locate_record",
263
+ FileTemporarilyUnavailable: "file_temporarily_unavailable",
264
+ NoCreditAccount: "no_credit_account",
265
+ ClosedAccount: "closed_account",
266
+ NoCheckingAccount: "no_checking_account",
267
+ NoSavingsAccount: "no_savings_account",
268
+ SuspectedFraud: "suspected_fraud",
269
+ TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement",
270
+ PinDataRequired: "pin_data_required",
271
+ UnableToLocatePreviousMessage: "unable_to_locate_previous_message",
272
+ PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data",
273
+ BlockedFirstUsed: "blocked_first_used",
274
+ TransactionReversed: "transaction_reversed",
275
+ CreditIssuerUnavailable: "credit_issuer_unavailable",
276
+ PinCryptographicErrorFound: "pin_cryptographic_error_found",
277
+ NegativeOnlineCamResult: "negative_online_cam_result",
278
+ ViolationOfLaw: "violation_of_law",
279
+ ForceStip: "force_stip",
280
+ CashServiceNotAvailable: "cash_service_not_available",
281
+ CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit",
282
+ DeclineForCvv2Failure: "decline_for_cvv2_failure",
283
+ TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount",
284
+ InvalidBillerInformation: "invalid_biller_information",
285
+ PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined",
286
+ UnsafePin: "unsafe_pin",
287
+ CardAuthenticationFailed: "card_authentication_failed",
288
+ StopPaymentOrder: "stop_payment_order",
289
+ RevocationOfAuthorization: "revocation_of_authorization",
290
+ RevocationOfAllAuthorizations: "revocation_of_all_authorizations",
291
+ ForwardToIssuerXa: "forward_to_issuer_xa",
292
+ ForwardToIssuerXd: "forward_to_issuer_xd",
293
+ UnableToGoOnline: "unable_to_go_online",
294
+ AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required",
295
+ MerchantIdNotFound: "merchant_id_not_found",
296
+ MerchantAccountClosed: "merchant_account_closed",
297
+ TerminalIdNotFound: "terminal_id_not_found",
298
+ TerminalClosed: "terminal_closed",
299
+ InvalidCategoryCode: "invalid_category_code",
300
+ InvalidCurrency: "invalid_currency",
301
+ MissingCvv2Cvc2: "missing_cvv2_cvc2",
302
+ Cvv2NotAllowed: "cvv2_not_allowed",
303
+ MerchantNotRegisteredVbv: "merchant_not_registered_vbv",
304
+ MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex",
305
+ TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal",
306
+ AgreementTerminalNotRelated: "agreement_terminal_not_related",
307
+ InvalidProcessorId: "invalid_processor_id",
308
+ InvalidMerchantData: "invalid_merchant_data",
309
+ SubMerchantAccountClosed: "sub_merchant_account_closed",
310
+ TerminalBusy: "terminal_busy",
311
+ TerminalUnreachable: "terminal_unreachable",
312
+ ServiceFailed: "service_failed",
313
+ InvalidOperation: "invalid_operation",
314
+ AuthorizationError: "authorization_error",
315
+ LoginFailedWithoutReason: "login_failed_without_reason",
316
+ InvalidRetailer: "invalid_retailer",
317
+ CardDoesNotExist: "card_does_not_exist",
318
+ CardIsBlocked: "card_is_blocked",
319
+ InvalidCardId: "invalid_card_id",
320
+ CardIsTransferred: "card_is_transferred",
321
+ CardIsNotActive: "card_is_not_active",
322
+ IncorrectPurchaseValue: "incorrect_purchase_value",
323
+ CardNotAvailable: "card_not_available",
324
+ WrongCurrency: "wrong_currency",
325
+ LoginFailedUnknownUser: "login_failed_unknown_user",
326
+ LoginFailedInvalidPassword: "login_failed_invalid_password",
327
+ InvalidEanCode: "invalid_ean_code",
328
+ };
329
+ /**
330
+ * The card's target audience, if known.
331
+ */
332
+ export const GetPaymentCardAudition = {
333
+ Consumer: "consumer",
334
+ Business: "business",
335
+ };
336
+ /**
337
+ * The card's label, if known.
338
+ */
339
+ export const GetPaymentCardLabel = {
340
+ AmericanExpress: "American Express",
341
+ CartaSi: "Carta Si",
342
+ CarteBleue: "Carte Bleue",
343
+ Dankort: "Dankort",
344
+ DinersClub: "Diners Club",
345
+ Discover: "Discover",
346
+ Jcb: "JCB",
347
+ Laser: "Laser",
348
+ Maestro: "Maestro",
349
+ Mastercard: "Mastercard",
350
+ Unionpay: "Unionpay",
351
+ Visa: "Visa",
352
+ Vpay: "Vpay",
353
+ };
354
+ /**
355
+ * The card type.
356
+ */
357
+ export const GetPaymentCardFunding = {
358
+ Debit: "debit",
359
+ Credit: "credit",
360
+ Prepaid: "prepaid",
361
+ DeferredDebit: "deferred-debit",
362
+ };
363
+ /**
364
+ * The level of security applied during card processing.
365
+ */
366
+ export const GetPaymentCardSecurity = {
367
+ Normal: "normal",
368
+ Threedsecure: "3dsecure",
369
+ };
370
+ /**
371
+ * The applicable card fee region.
372
+ */
373
+ export const GetPaymentFeeRegion = {
374
+ AmericanExpress: "american-express",
375
+ AmexIntraEea: "amex-intra-eea",
376
+ CarteBancaire: "carte-bancaire",
377
+ IntraEu: "intra-eu",
378
+ IntraEuCorporate: "intra-eu-corporate",
379
+ Domestic: "domestic",
380
+ Maestro: "maestro",
381
+ Other: "other",
382
+ Inter: "inter",
383
+ IntraEea: "intra-eea",
384
+ };
385
+ /**
386
+ * A failure code to help understand why the payment failed.
387
+ */
388
+ export const GetPaymentFailureReason = {
389
+ AuthenticationAbandoned: "authentication_abandoned",
390
+ AuthenticationFailed: "authentication_failed",
391
+ AuthenticationRequired: "authentication_required",
392
+ AuthenticationUnavailableAcs: "authentication_unavailable_acs",
393
+ CardDeclined: "card_declined",
394
+ CardExpired: "card_expired",
395
+ InactiveCard: "inactive_card",
396
+ InsufficientFunds: "insufficient_funds",
397
+ InvalidCvv: "invalid_cvv",
398
+ InvalidCardHolderName: "invalid_card_holder_name",
399
+ InvalidCardNumber: "invalid_card_number",
400
+ InvalidCardType: "invalid_card_type",
401
+ PossibleFraud: "possible_fraud",
402
+ RefusedByIssuer: "refused_by_issuer",
403
+ UnknownReason: "unknown_reason",
404
+ };
405
+ /**
406
+ * The wallet used when creating the payment.
407
+ */
408
+ export const GetPaymentWallet = {
409
+ Applepay: "applepay",
410
+ };
411
+ /**
412
+ * Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
413
+ *
414
+ * @remarks
415
+ * payments, and if the information is made available by PayPal.
416
+ */
417
+ export const GetPaymentSellerProtection = {
418
+ Eligible: "Eligible",
419
+ Ineligible: "Ineligible",
420
+ PartiallyEligibleINROnly: "Partially Eligible - INR Only",
421
+ PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
422
+ PartiallyEligible: "Partially Eligible",
423
+ None: "None",
424
+ Active: "Active",
425
+ FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible",
426
+ };
427
+ /**
428
+ * The method by which the card was read by the terminal.
429
+ */
430
+ export const GetPaymentCardReadMethod = {
431
+ Chip: "chip",
432
+ MagneticStripe: "magnetic-stripe",
433
+ NearFieldCommunication: "near-field-communication",
434
+ Contactless: "contactless",
435
+ Moto: "moto",
436
+ };
437
+ /**
438
+ * The method used to verify the cardholder's identity.
439
+ */
440
+ export const GetPaymentCardVerificationMethod = {
441
+ NoCvmRequired: "no-cvm-required",
442
+ OnlinePin: "online-pin",
443
+ OfflinePin: "offline-pin",
444
+ ConsumerDevice: "consumer-device",
445
+ Signature: "signature",
446
+ SignatureAndOnlinePin: "signature-and-online-pin",
447
+ OnlinePinAndSignature: "online-pin-and-signature",
448
+ None: "none",
449
+ Failed: "failed",
450
+ };
207
451
  /** @internal */
208
452
  export const GetPaymentInclude$inboundSchema = z.nativeEnum(GetPaymentInclude);
209
453
  /** @internal */
@@ -1203,28 +1447,43 @@ export var GetPaymentSequenceType$;
1203
1447
  GetPaymentSequenceType$.outboundSchema = GetPaymentSequenceType$outboundSchema;
1204
1448
  })(GetPaymentSequenceType$ || (GetPaymentSequenceType$ = {}));
1205
1449
  /** @internal */
1206
- export const GetPaymentStatus$inboundSchema = z.nativeEnum(GetPaymentStatus);
1450
+ export const GetPaymentStatusEnum$inboundSchema = z.nativeEnum(GetPaymentStatusEnum);
1207
1451
  /** @internal */
1208
- export const GetPaymentStatus$outboundSchema = GetPaymentStatus$inboundSchema;
1452
+ export const GetPaymentStatusEnum$outboundSchema = GetPaymentStatusEnum$inboundSchema;
1209
1453
  /**
1210
1454
  * @internal
1211
1455
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1212
1456
  */
1213
- export var GetPaymentStatus$;
1214
- (function (GetPaymentStatus$) {
1215
- /** @deprecated use `GetPaymentStatus$inboundSchema` instead. */
1216
- GetPaymentStatus$.inboundSchema = GetPaymentStatus$inboundSchema;
1217
- /** @deprecated use `GetPaymentStatus$outboundSchema` instead. */
1218
- GetPaymentStatus$.outboundSchema = GetPaymentStatus$outboundSchema;
1219
- })(GetPaymentStatus$ || (GetPaymentStatus$ = {}));
1457
+ export var GetPaymentStatusEnum$;
1458
+ (function (GetPaymentStatusEnum$) {
1459
+ /** @deprecated use `GetPaymentStatusEnum$inboundSchema` instead. */
1460
+ GetPaymentStatusEnum$.inboundSchema = GetPaymentStatusEnum$inboundSchema;
1461
+ /** @deprecated use `GetPaymentStatusEnum$outboundSchema` instead. */
1462
+ GetPaymentStatusEnum$.outboundSchema = GetPaymentStatusEnum$outboundSchema;
1463
+ })(GetPaymentStatusEnum$ || (GetPaymentStatusEnum$ = {}));
1464
+ /** @internal */
1465
+ export const GetPaymentCode$inboundSchema = z.nativeEnum(GetPaymentCode);
1466
+ /** @internal */
1467
+ export const GetPaymentCode$outboundSchema = GetPaymentCode$inboundSchema;
1468
+ /**
1469
+ * @internal
1470
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1471
+ */
1472
+ export var GetPaymentCode$;
1473
+ (function (GetPaymentCode$) {
1474
+ /** @deprecated use `GetPaymentCode$inboundSchema` instead. */
1475
+ GetPaymentCode$.inboundSchema = GetPaymentCode$inboundSchema;
1476
+ /** @deprecated use `GetPaymentCode$outboundSchema` instead. */
1477
+ GetPaymentCode$.outboundSchema = GetPaymentCode$outboundSchema;
1478
+ })(GetPaymentCode$ || (GetPaymentCode$ = {}));
1220
1479
  /** @internal */
1221
1480
  export const GetPaymentStatusReason$inboundSchema = z.object({
1222
- code: z.string(),
1481
+ code: GetPaymentCode$inboundSchema,
1223
1482
  message: z.string(),
1224
1483
  });
1225
1484
  /** @internal */
1226
1485
  export const GetPaymentStatusReason$outboundSchema = z.object({
1227
- code: z.string(),
1486
+ code: GetPaymentCode$outboundSchema,
1228
1487
  message: z.string(),
1229
1488
  });
1230
1489
  /**
@@ -1245,6 +1504,403 @@ export function getPaymentStatusReasonFromJSON(jsonString) {
1245
1504
  return safeParse(jsonString, (x) => GetPaymentStatusReason$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentStatusReason' from JSON`);
1246
1505
  }
1247
1506
  /** @internal */
1507
+ export const GetPaymentCardAudition$inboundSchema = z.nativeEnum(GetPaymentCardAudition);
1508
+ /** @internal */
1509
+ export const GetPaymentCardAudition$outboundSchema = GetPaymentCardAudition$inboundSchema;
1510
+ /**
1511
+ * @internal
1512
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1513
+ */
1514
+ export var GetPaymentCardAudition$;
1515
+ (function (GetPaymentCardAudition$) {
1516
+ /** @deprecated use `GetPaymentCardAudition$inboundSchema` instead. */
1517
+ GetPaymentCardAudition$.inboundSchema = GetPaymentCardAudition$inboundSchema;
1518
+ /** @deprecated use `GetPaymentCardAudition$outboundSchema` instead. */
1519
+ GetPaymentCardAudition$.outboundSchema = GetPaymentCardAudition$outboundSchema;
1520
+ })(GetPaymentCardAudition$ || (GetPaymentCardAudition$ = {}));
1521
+ /** @internal */
1522
+ export const GetPaymentCardLabel$inboundSchema = z.nativeEnum(GetPaymentCardLabel);
1523
+ /** @internal */
1524
+ export const GetPaymentCardLabel$outboundSchema = GetPaymentCardLabel$inboundSchema;
1525
+ /**
1526
+ * @internal
1527
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1528
+ */
1529
+ export var GetPaymentCardLabel$;
1530
+ (function (GetPaymentCardLabel$) {
1531
+ /** @deprecated use `GetPaymentCardLabel$inboundSchema` instead. */
1532
+ GetPaymentCardLabel$.inboundSchema = GetPaymentCardLabel$inboundSchema;
1533
+ /** @deprecated use `GetPaymentCardLabel$outboundSchema` instead. */
1534
+ GetPaymentCardLabel$.outboundSchema = GetPaymentCardLabel$outboundSchema;
1535
+ })(GetPaymentCardLabel$ || (GetPaymentCardLabel$ = {}));
1536
+ /** @internal */
1537
+ export const GetPaymentCardFunding$inboundSchema = z.nativeEnum(GetPaymentCardFunding);
1538
+ /** @internal */
1539
+ export const GetPaymentCardFunding$outboundSchema = GetPaymentCardFunding$inboundSchema;
1540
+ /**
1541
+ * @internal
1542
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1543
+ */
1544
+ export var GetPaymentCardFunding$;
1545
+ (function (GetPaymentCardFunding$) {
1546
+ /** @deprecated use `GetPaymentCardFunding$inboundSchema` instead. */
1547
+ GetPaymentCardFunding$.inboundSchema = GetPaymentCardFunding$inboundSchema;
1548
+ /** @deprecated use `GetPaymentCardFunding$outboundSchema` instead. */
1549
+ GetPaymentCardFunding$.outboundSchema = GetPaymentCardFunding$outboundSchema;
1550
+ })(GetPaymentCardFunding$ || (GetPaymentCardFunding$ = {}));
1551
+ /** @internal */
1552
+ export const GetPaymentCardSecurity$inboundSchema = z.nativeEnum(GetPaymentCardSecurity);
1553
+ /** @internal */
1554
+ export const GetPaymentCardSecurity$outboundSchema = GetPaymentCardSecurity$inboundSchema;
1555
+ /**
1556
+ * @internal
1557
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1558
+ */
1559
+ export var GetPaymentCardSecurity$;
1560
+ (function (GetPaymentCardSecurity$) {
1561
+ /** @deprecated use `GetPaymentCardSecurity$inboundSchema` instead. */
1562
+ GetPaymentCardSecurity$.inboundSchema = GetPaymentCardSecurity$inboundSchema;
1563
+ /** @deprecated use `GetPaymentCardSecurity$outboundSchema` instead. */
1564
+ GetPaymentCardSecurity$.outboundSchema = GetPaymentCardSecurity$outboundSchema;
1565
+ })(GetPaymentCardSecurity$ || (GetPaymentCardSecurity$ = {}));
1566
+ /** @internal */
1567
+ export const GetPaymentFeeRegion$inboundSchema = z.nativeEnum(GetPaymentFeeRegion);
1568
+ /** @internal */
1569
+ export const GetPaymentFeeRegion$outboundSchema = GetPaymentFeeRegion$inboundSchema;
1570
+ /**
1571
+ * @internal
1572
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1573
+ */
1574
+ export var GetPaymentFeeRegion$;
1575
+ (function (GetPaymentFeeRegion$) {
1576
+ /** @deprecated use `GetPaymentFeeRegion$inboundSchema` instead. */
1577
+ GetPaymentFeeRegion$.inboundSchema = GetPaymentFeeRegion$inboundSchema;
1578
+ /** @deprecated use `GetPaymentFeeRegion$outboundSchema` instead. */
1579
+ GetPaymentFeeRegion$.outboundSchema = GetPaymentFeeRegion$outboundSchema;
1580
+ })(GetPaymentFeeRegion$ || (GetPaymentFeeRegion$ = {}));
1581
+ /** @internal */
1582
+ export const GetPaymentFailureReason$inboundSchema = z.nativeEnum(GetPaymentFailureReason);
1583
+ /** @internal */
1584
+ export const GetPaymentFailureReason$outboundSchema = GetPaymentFailureReason$inboundSchema;
1585
+ /**
1586
+ * @internal
1587
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1588
+ */
1589
+ export var GetPaymentFailureReason$;
1590
+ (function (GetPaymentFailureReason$) {
1591
+ /** @deprecated use `GetPaymentFailureReason$inboundSchema` instead. */
1592
+ GetPaymentFailureReason$.inboundSchema = GetPaymentFailureReason$inboundSchema;
1593
+ /** @deprecated use `GetPaymentFailureReason$outboundSchema` instead. */
1594
+ GetPaymentFailureReason$.outboundSchema = GetPaymentFailureReason$outboundSchema;
1595
+ })(GetPaymentFailureReason$ || (GetPaymentFailureReason$ = {}));
1596
+ /** @internal */
1597
+ export const GetPaymentWallet$inboundSchema = z.nativeEnum(GetPaymentWallet);
1598
+ /** @internal */
1599
+ export const GetPaymentWallet$outboundSchema = GetPaymentWallet$inboundSchema;
1600
+ /**
1601
+ * @internal
1602
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1603
+ */
1604
+ export var GetPaymentWallet$;
1605
+ (function (GetPaymentWallet$) {
1606
+ /** @deprecated use `GetPaymentWallet$inboundSchema` instead. */
1607
+ GetPaymentWallet$.inboundSchema = GetPaymentWallet$inboundSchema;
1608
+ /** @deprecated use `GetPaymentWallet$outboundSchema` instead. */
1609
+ GetPaymentWallet$.outboundSchema = GetPaymentWallet$outboundSchema;
1610
+ })(GetPaymentWallet$ || (GetPaymentWallet$ = {}));
1611
+ /** @internal */
1612
+ export const GetPaymentSellerProtection$inboundSchema = z.nativeEnum(GetPaymentSellerProtection);
1613
+ /** @internal */
1614
+ export const GetPaymentSellerProtection$outboundSchema = GetPaymentSellerProtection$inboundSchema;
1615
+ /**
1616
+ * @internal
1617
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1618
+ */
1619
+ export var GetPaymentSellerProtection$;
1620
+ (function (GetPaymentSellerProtection$) {
1621
+ /** @deprecated use `GetPaymentSellerProtection$inboundSchema` instead. */
1622
+ GetPaymentSellerProtection$.inboundSchema = GetPaymentSellerProtection$inboundSchema;
1623
+ /** @deprecated use `GetPaymentSellerProtection$outboundSchema` instead. */
1624
+ GetPaymentSellerProtection$.outboundSchema = GetPaymentSellerProtection$outboundSchema;
1625
+ })(GetPaymentSellerProtection$ || (GetPaymentSellerProtection$ = {}));
1626
+ /** @internal */
1627
+ export const GetPaymentPaypalFee$inboundSchema = z.object({
1628
+ currency: z.string(),
1629
+ value: z.string(),
1630
+ });
1631
+ /** @internal */
1632
+ export const GetPaymentPaypalFee$outboundSchema = z.object({
1633
+ currency: z.string(),
1634
+ value: z.string(),
1635
+ });
1636
+ /**
1637
+ * @internal
1638
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1639
+ */
1640
+ export var GetPaymentPaypalFee$;
1641
+ (function (GetPaymentPaypalFee$) {
1642
+ /** @deprecated use `GetPaymentPaypalFee$inboundSchema` instead. */
1643
+ GetPaymentPaypalFee$.inboundSchema = GetPaymentPaypalFee$inboundSchema;
1644
+ /** @deprecated use `GetPaymentPaypalFee$outboundSchema` instead. */
1645
+ GetPaymentPaypalFee$.outboundSchema = GetPaymentPaypalFee$outboundSchema;
1646
+ })(GetPaymentPaypalFee$ || (GetPaymentPaypalFee$ = {}));
1647
+ export function getPaymentPaypalFeeToJSON(getPaymentPaypalFee) {
1648
+ return JSON.stringify(GetPaymentPaypalFee$outboundSchema.parse(getPaymentPaypalFee));
1649
+ }
1650
+ export function getPaymentPaypalFeeFromJSON(jsonString) {
1651
+ return safeParse(jsonString, (x) => GetPaymentPaypalFee$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentPaypalFee' from JSON`);
1652
+ }
1653
+ /** @internal */
1654
+ export const GetPaymentCardReadMethod$inboundSchema = z.nativeEnum(GetPaymentCardReadMethod);
1655
+ /** @internal */
1656
+ export const GetPaymentCardReadMethod$outboundSchema = GetPaymentCardReadMethod$inboundSchema;
1657
+ /**
1658
+ * @internal
1659
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1660
+ */
1661
+ export var GetPaymentCardReadMethod$;
1662
+ (function (GetPaymentCardReadMethod$) {
1663
+ /** @deprecated use `GetPaymentCardReadMethod$inboundSchema` instead. */
1664
+ GetPaymentCardReadMethod$.inboundSchema = GetPaymentCardReadMethod$inboundSchema;
1665
+ /** @deprecated use `GetPaymentCardReadMethod$outboundSchema` instead. */
1666
+ GetPaymentCardReadMethod$.outboundSchema = GetPaymentCardReadMethod$outboundSchema;
1667
+ })(GetPaymentCardReadMethod$ || (GetPaymentCardReadMethod$ = {}));
1668
+ /** @internal */
1669
+ export const GetPaymentCardVerificationMethod$inboundSchema = z.nativeEnum(GetPaymentCardVerificationMethod);
1670
+ /** @internal */
1671
+ export const GetPaymentCardVerificationMethod$outboundSchema = GetPaymentCardVerificationMethod$inboundSchema;
1672
+ /**
1673
+ * @internal
1674
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1675
+ */
1676
+ export var GetPaymentCardVerificationMethod$;
1677
+ (function (GetPaymentCardVerificationMethod$) {
1678
+ /** @deprecated use `GetPaymentCardVerificationMethod$inboundSchema` instead. */
1679
+ GetPaymentCardVerificationMethod$.inboundSchema = GetPaymentCardVerificationMethod$inboundSchema;
1680
+ /** @deprecated use `GetPaymentCardVerificationMethod$outboundSchema` instead. */
1681
+ GetPaymentCardVerificationMethod$.outboundSchema = GetPaymentCardVerificationMethod$outboundSchema;
1682
+ })(GetPaymentCardVerificationMethod$ || (GetPaymentCardVerificationMethod$ = {}));
1683
+ /** @internal */
1684
+ export const GetPaymentReceipt$inboundSchema = z.object({
1685
+ authorizationCode: z.nullable(z.string()).optional(),
1686
+ applicationIdentifier: z.nullable(z.string()).optional(),
1687
+ cardReadMethod: z.nullable(GetPaymentCardReadMethod$inboundSchema).optional(),
1688
+ cardVerificationMethod: z.nullable(GetPaymentCardVerificationMethod$inboundSchema).optional(),
1689
+ });
1690
+ /** @internal */
1691
+ export const GetPaymentReceipt$outboundSchema = z.object({
1692
+ authorizationCode: z.nullable(z.string()).optional(),
1693
+ applicationIdentifier: z.nullable(z.string()).optional(),
1694
+ cardReadMethod: z.nullable(GetPaymentCardReadMethod$outboundSchema)
1695
+ .optional(),
1696
+ cardVerificationMethod: z.nullable(GetPaymentCardVerificationMethod$outboundSchema).optional(),
1697
+ });
1698
+ /**
1699
+ * @internal
1700
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1701
+ */
1702
+ export var GetPaymentReceipt$;
1703
+ (function (GetPaymentReceipt$) {
1704
+ /** @deprecated use `GetPaymentReceipt$inboundSchema` instead. */
1705
+ GetPaymentReceipt$.inboundSchema = GetPaymentReceipt$inboundSchema;
1706
+ /** @deprecated use `GetPaymentReceipt$outboundSchema` instead. */
1707
+ GetPaymentReceipt$.outboundSchema = GetPaymentReceipt$outboundSchema;
1708
+ })(GetPaymentReceipt$ || (GetPaymentReceipt$ = {}));
1709
+ export function getPaymentReceiptToJSON(getPaymentReceipt) {
1710
+ return JSON.stringify(GetPaymentReceipt$outboundSchema.parse(getPaymentReceipt));
1711
+ }
1712
+ export function getPaymentReceiptFromJSON(jsonString) {
1713
+ return safeParse(jsonString, (x) => GetPaymentReceipt$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentReceipt' from JSON`);
1714
+ }
1715
+ /** @internal */
1716
+ export const GetPaymentQrCode$inboundSchema = z.object({
1717
+ height: z.number().int().optional(),
1718
+ width: z.number().int().optional(),
1719
+ src: z.string().optional(),
1720
+ });
1721
+ /** @internal */
1722
+ export const GetPaymentQrCode$outboundSchema = z.object({
1723
+ height: z.number().int().optional(),
1724
+ width: z.number().int().optional(),
1725
+ src: z.string().optional(),
1726
+ });
1727
+ /**
1728
+ * @internal
1729
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1730
+ */
1731
+ export var GetPaymentQrCode$;
1732
+ (function (GetPaymentQrCode$) {
1733
+ /** @deprecated use `GetPaymentQrCode$inboundSchema` instead. */
1734
+ GetPaymentQrCode$.inboundSchema = GetPaymentQrCode$inboundSchema;
1735
+ /** @deprecated use `GetPaymentQrCode$outboundSchema` instead. */
1736
+ GetPaymentQrCode$.outboundSchema = GetPaymentQrCode$outboundSchema;
1737
+ })(GetPaymentQrCode$ || (GetPaymentQrCode$ = {}));
1738
+ export function getPaymentQrCodeToJSON(getPaymentQrCode) {
1739
+ return JSON.stringify(GetPaymentQrCode$outboundSchema.parse(getPaymentQrCode));
1740
+ }
1741
+ export function getPaymentQrCodeFromJSON(jsonString) {
1742
+ return safeParse(jsonString, (x) => GetPaymentQrCode$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentQrCode' from JSON`);
1743
+ }
1744
+ /** @internal */
1745
+ export const GetPaymentRemainderAmount$inboundSchema = z.object({
1746
+ currency: z.string(),
1747
+ value: z.string(),
1748
+ });
1749
+ /** @internal */
1750
+ export const GetPaymentRemainderAmount$outboundSchema = z.object({
1751
+ currency: z.string(),
1752
+ value: z.string(),
1753
+ });
1754
+ /**
1755
+ * @internal
1756
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1757
+ */
1758
+ export var GetPaymentRemainderAmount$;
1759
+ (function (GetPaymentRemainderAmount$) {
1760
+ /** @deprecated use `GetPaymentRemainderAmount$inboundSchema` instead. */
1761
+ GetPaymentRemainderAmount$.inboundSchema = GetPaymentRemainderAmount$inboundSchema;
1762
+ /** @deprecated use `GetPaymentRemainderAmount$outboundSchema` instead. */
1763
+ GetPaymentRemainderAmount$.outboundSchema = GetPaymentRemainderAmount$outboundSchema;
1764
+ })(GetPaymentRemainderAmount$ || (GetPaymentRemainderAmount$ = {}));
1765
+ export function getPaymentRemainderAmountToJSON(getPaymentRemainderAmount) {
1766
+ return JSON.stringify(GetPaymentRemainderAmount$outboundSchema.parse(getPaymentRemainderAmount));
1767
+ }
1768
+ export function getPaymentRemainderAmountFromJSON(jsonString) {
1769
+ return safeParse(jsonString, (x) => GetPaymentRemainderAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentRemainderAmount' from JSON`);
1770
+ }
1771
+ /** @internal */
1772
+ export const GetPaymentDetails$inboundSchema = z.object({
1773
+ consumerName: z.nullable(z.string()).optional(),
1774
+ consumerAccount: z.nullable(z.string()).optional(),
1775
+ consumerBic: z.nullable(z.string()).optional(),
1776
+ shippingAddress: z.nullable(z.record(z.any())).optional(),
1777
+ cardNumber: z.nullable(z.string()).optional(),
1778
+ bankName: z.string().optional(),
1779
+ bankAccount: z.string().optional(),
1780
+ bankBic: z.string().optional(),
1781
+ transferReference: z.nullable(z.string()).optional(),
1782
+ cardFingerprint: z.nullable(z.string()).optional(),
1783
+ cardHolder: z.nullable(z.string()).optional(),
1784
+ cardAudition: z.nullable(GetPaymentCardAudition$inboundSchema).optional(),
1785
+ cardLabel: z.nullable(GetPaymentCardLabel$inboundSchema).optional(),
1786
+ cardCountryCode: z.nullable(z.string()).optional(),
1787
+ cardExpiryDate: z.nullable(z.string()).optional(),
1788
+ cardFunding: z.nullable(GetPaymentCardFunding$inboundSchema).optional(),
1789
+ cardSecurity: z.nullable(GetPaymentCardSecurity$inboundSchema).optional(),
1790
+ feeRegion: z.nullable(GetPaymentFeeRegion$inboundSchema).optional(),
1791
+ cardMaskedNumber: z.nullable(z.string()).optional(),
1792
+ card3dsEci: z.nullable(z.string()).optional(),
1793
+ cardBin: z.nullable(z.string()).optional(),
1794
+ cardIssuer: z.nullable(z.string()).optional(),
1795
+ failureReason: z.nullable(GetPaymentFailureReason$inboundSchema).optional(),
1796
+ failureMessage: z.nullable(z.string()).optional(),
1797
+ wallet: z.nullable(GetPaymentWallet$inboundSchema).optional(),
1798
+ paypalReference: z.nullable(z.string()).optional(),
1799
+ paypalPayerId: z.nullable(z.string()).optional(),
1800
+ sellerProtection: z.nullable(GetPaymentSellerProtection$inboundSchema)
1801
+ .optional(),
1802
+ paypalFee: z.nullable(z.lazy(() => GetPaymentPaypalFee$inboundSchema))
1803
+ .optional(),
1804
+ customerReference: z.string().optional(),
1805
+ terminalId: z.string().optional(),
1806
+ maskedNumber: z.nullable(z.string()).optional(),
1807
+ receipt: z.lazy(() => GetPaymentReceipt$inboundSchema).optional(),
1808
+ creditorIdentifier: z.nullable(z.string()).optional(),
1809
+ dueDate: z.nullable(z.string().transform(v => new RFCDate(v))).optional(),
1810
+ signatureDate: z.nullable(z.string().transform(v => new RFCDate(v)))
1811
+ .optional(),
1812
+ bankReasonCode: z.nullable(z.string()).optional(),
1813
+ bankReason: z.nullable(z.string()).optional(),
1814
+ endToEndIdentifier: z.nullable(z.string()).optional(),
1815
+ mandateReference: z.nullable(z.string()).optional(),
1816
+ batchReference: z.nullable(z.string()).optional(),
1817
+ fileReference: z.nullable(z.string()).optional(),
1818
+ qrCode: z.lazy(() => GetPaymentQrCode$inboundSchema).optional(),
1819
+ voucherNumber: z.string().optional(),
1820
+ giftcards: z.array(z.record(z.any())).optional(),
1821
+ issuer: z.string().optional(),
1822
+ vouchers: z.array(z.record(z.any())).optional(),
1823
+ remainderAmount: z.lazy(() => GetPaymentRemainderAmount$inboundSchema)
1824
+ .optional(),
1825
+ remainderMethod: z.string().optional(),
1826
+ remainderDetails: z.record(z.any()).optional(),
1827
+ });
1828
+ /** @internal */
1829
+ export const GetPaymentDetails$outboundSchema = z.object({
1830
+ consumerName: z.nullable(z.string()).optional(),
1831
+ consumerAccount: z.nullable(z.string()).optional(),
1832
+ consumerBic: z.nullable(z.string()).optional(),
1833
+ shippingAddress: z.nullable(z.record(z.any())).optional(),
1834
+ cardNumber: z.nullable(z.string()).optional(),
1835
+ bankName: z.string().optional(),
1836
+ bankAccount: z.string().optional(),
1837
+ bankBic: z.string().optional(),
1838
+ transferReference: z.nullable(z.string()).optional(),
1839
+ cardFingerprint: z.nullable(z.string()).optional(),
1840
+ cardHolder: z.nullable(z.string()).optional(),
1841
+ cardAudition: z.nullable(GetPaymentCardAudition$outboundSchema).optional(),
1842
+ cardLabel: z.nullable(GetPaymentCardLabel$outboundSchema).optional(),
1843
+ cardCountryCode: z.nullable(z.string()).optional(),
1844
+ cardExpiryDate: z.nullable(z.string()).optional(),
1845
+ cardFunding: z.nullable(GetPaymentCardFunding$outboundSchema).optional(),
1846
+ cardSecurity: z.nullable(GetPaymentCardSecurity$outboundSchema).optional(),
1847
+ feeRegion: z.nullable(GetPaymentFeeRegion$outboundSchema).optional(),
1848
+ cardMaskedNumber: z.nullable(z.string()).optional(),
1849
+ card3dsEci: z.nullable(z.string()).optional(),
1850
+ cardBin: z.nullable(z.string()).optional(),
1851
+ cardIssuer: z.nullable(z.string()).optional(),
1852
+ failureReason: z.nullable(GetPaymentFailureReason$outboundSchema).optional(),
1853
+ failureMessage: z.nullable(z.string()).optional(),
1854
+ wallet: z.nullable(GetPaymentWallet$outboundSchema).optional(),
1855
+ paypalReference: z.nullable(z.string()).optional(),
1856
+ paypalPayerId: z.nullable(z.string()).optional(),
1857
+ sellerProtection: z.nullable(GetPaymentSellerProtection$outboundSchema)
1858
+ .optional(),
1859
+ paypalFee: z.nullable(z.lazy(() => GetPaymentPaypalFee$outboundSchema))
1860
+ .optional(),
1861
+ customerReference: z.string().optional(),
1862
+ terminalId: z.string().optional(),
1863
+ maskedNumber: z.nullable(z.string()).optional(),
1864
+ receipt: z.lazy(() => GetPaymentReceipt$outboundSchema).optional(),
1865
+ creditorIdentifier: z.nullable(z.string()).optional(),
1866
+ dueDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
1867
+ .optional(),
1868
+ signatureDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
1869
+ .optional(),
1870
+ bankReasonCode: z.nullable(z.string()).optional(),
1871
+ bankReason: z.nullable(z.string()).optional(),
1872
+ endToEndIdentifier: z.nullable(z.string()).optional(),
1873
+ mandateReference: z.nullable(z.string()).optional(),
1874
+ batchReference: z.nullable(z.string()).optional(),
1875
+ fileReference: z.nullable(z.string()).optional(),
1876
+ qrCode: z.lazy(() => GetPaymentQrCode$outboundSchema).optional(),
1877
+ voucherNumber: z.string().optional(),
1878
+ giftcards: z.array(z.record(z.any())).optional(),
1879
+ issuer: z.string().optional(),
1880
+ vouchers: z.array(z.record(z.any())).optional(),
1881
+ remainderAmount: z.lazy(() => GetPaymentRemainderAmount$outboundSchema)
1882
+ .optional(),
1883
+ remainderMethod: z.string().optional(),
1884
+ remainderDetails: z.record(z.any()).optional(),
1885
+ });
1886
+ /**
1887
+ * @internal
1888
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1889
+ */
1890
+ export var GetPaymentDetails$;
1891
+ (function (GetPaymentDetails$) {
1892
+ /** @deprecated use `GetPaymentDetails$inboundSchema` instead. */
1893
+ GetPaymentDetails$.inboundSchema = GetPaymentDetails$inboundSchema;
1894
+ /** @deprecated use `GetPaymentDetails$outboundSchema` instead. */
1895
+ GetPaymentDetails$.outboundSchema = GetPaymentDetails$outboundSchema;
1896
+ })(GetPaymentDetails$ || (GetPaymentDetails$ = {}));
1897
+ export function getPaymentDetailsToJSON(getPaymentDetails) {
1898
+ return JSON.stringify(GetPaymentDetails$outboundSchema.parse(getPaymentDetails));
1899
+ }
1900
+ export function getPaymentDetailsFromJSON(jsonString) {
1901
+ return safeParse(jsonString, (x) => GetPaymentDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentDetails' from JSON`);
1902
+ }
1903
+ /** @internal */
1248
1904
  export const GetPaymentSelf$inboundSchema = z.object({
1249
1905
  href: z.string(),
1250
1906
  type: z.string(),
@@ -1650,6 +2306,60 @@ export function getPaymentDocumentationFromJSON(jsonString) {
1650
2306
  return safeParse(jsonString, (x) => GetPaymentDocumentation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentDocumentation' from JSON`);
1651
2307
  }
1652
2308
  /** @internal */
2309
+ export const GetPaymentLinksStatus$inboundSchema = z.object({
2310
+ href: z.string(),
2311
+ type: z.string(),
2312
+ });
2313
+ /** @internal */
2314
+ export const GetPaymentLinksStatus$outboundSchema = z.object({
2315
+ href: z.string(),
2316
+ type: z.string(),
2317
+ });
2318
+ /**
2319
+ * @internal
2320
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2321
+ */
2322
+ export var GetPaymentLinksStatus$;
2323
+ (function (GetPaymentLinksStatus$) {
2324
+ /** @deprecated use `GetPaymentLinksStatus$inboundSchema` instead. */
2325
+ GetPaymentLinksStatus$.inboundSchema = GetPaymentLinksStatus$inboundSchema;
2326
+ /** @deprecated use `GetPaymentLinksStatus$outboundSchema` instead. */
2327
+ GetPaymentLinksStatus$.outboundSchema = GetPaymentLinksStatus$outboundSchema;
2328
+ })(GetPaymentLinksStatus$ || (GetPaymentLinksStatus$ = {}));
2329
+ export function getPaymentLinksStatusToJSON(getPaymentLinksStatus) {
2330
+ return JSON.stringify(GetPaymentLinksStatus$outboundSchema.parse(getPaymentLinksStatus));
2331
+ }
2332
+ export function getPaymentLinksStatusFromJSON(jsonString) {
2333
+ return safeParse(jsonString, (x) => GetPaymentLinksStatus$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentLinksStatus' from JSON`);
2334
+ }
2335
+ /** @internal */
2336
+ export const GetPaymentPayOnline$inboundSchema = z.object({
2337
+ href: z.string(),
2338
+ type: z.string(),
2339
+ });
2340
+ /** @internal */
2341
+ export const GetPaymentPayOnline$outboundSchema = z.object({
2342
+ href: z.string(),
2343
+ type: z.string(),
2344
+ });
2345
+ /**
2346
+ * @internal
2347
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2348
+ */
2349
+ export var GetPaymentPayOnline$;
2350
+ (function (GetPaymentPayOnline$) {
2351
+ /** @deprecated use `GetPaymentPayOnline$inboundSchema` instead. */
2352
+ GetPaymentPayOnline$.inboundSchema = GetPaymentPayOnline$inboundSchema;
2353
+ /** @deprecated use `GetPaymentPayOnline$outboundSchema` instead. */
2354
+ GetPaymentPayOnline$.outboundSchema = GetPaymentPayOnline$outboundSchema;
2355
+ })(GetPaymentPayOnline$ || (GetPaymentPayOnline$ = {}));
2356
+ export function getPaymentPayOnlineToJSON(getPaymentPayOnline) {
2357
+ return JSON.stringify(GetPaymentPayOnline$outboundSchema.parse(getPaymentPayOnline));
2358
+ }
2359
+ export function getPaymentPayOnlineFromJSON(jsonString) {
2360
+ return safeParse(jsonString, (x) => GetPaymentPayOnline$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentPayOnline' from JSON`);
2361
+ }
2362
+ /** @internal */
1653
2363
  export const GetPaymentLinks$inboundSchema = z.object({
1654
2364
  self: z.lazy(() => GetPaymentSelf$inboundSchema),
1655
2365
  checkout: z.lazy(() => GetPaymentCheckout$inboundSchema).optional(),
@@ -1668,6 +2378,8 @@ export const GetPaymentLinks$inboundSchema = z.object({
1668
2378
  order: z.lazy(() => GetPaymentOrder$inboundSchema).optional(),
1669
2379
  terminal: z.lazy(() => GetPaymentTerminal$inboundSchema).optional(),
1670
2380
  documentation: z.lazy(() => GetPaymentDocumentation$inboundSchema).optional(),
2381
+ status: z.lazy(() => GetPaymentLinksStatus$inboundSchema).optional(),
2382
+ payOnline: z.lazy(() => GetPaymentPayOnline$inboundSchema).optional(),
1671
2383
  });
1672
2384
  /** @internal */
1673
2385
  export const GetPaymentLinks$outboundSchema = z.object({
@@ -1689,6 +2401,8 @@ export const GetPaymentLinks$outboundSchema = z.object({
1689
2401
  terminal: z.lazy(() => GetPaymentTerminal$outboundSchema).optional(),
1690
2402
  documentation: z.lazy(() => GetPaymentDocumentation$outboundSchema)
1691
2403
  .optional(),
2404
+ status: z.lazy(() => GetPaymentLinksStatus$outboundSchema).optional(),
2405
+ payOnline: z.lazy(() => GetPaymentPayOnline$outboundSchema).optional(),
1692
2406
  });
1693
2407
  /**
1694
2408
  * @internal
@@ -1751,11 +2465,11 @@ export const GetPaymentResponse$inboundSchema = z.object({
1751
2465
  profileId: z.string(),
1752
2466
  settlementId: z.nullable(z.string()).optional(),
1753
2467
  orderId: z.nullable(z.string()).optional(),
1754
- status: GetPaymentStatus$inboundSchema,
2468
+ status: GetPaymentStatusEnum$inboundSchema,
1755
2469
  statusReason: z.nullable(z.lazy(() => GetPaymentStatusReason$inboundSchema))
1756
2470
  .optional(),
1757
2471
  isCancelable: z.nullable(z.boolean()).optional(),
1758
- details: z.nullable(z.record(z.any())).optional(),
2472
+ details: z.nullable(z.lazy(() => GetPaymentDetails$inboundSchema)).optional(),
1759
2473
  createdAt: z.string(),
1760
2474
  authorizedAt: z.nullable(z.string()).optional(),
1761
2475
  paidAt: z.nullable(z.string()).optional(),
@@ -1813,11 +2527,12 @@ export const GetPaymentResponse$outboundSchema = z.object({
1813
2527
  profileId: z.string(),
1814
2528
  settlementId: z.nullable(z.string()).optional(),
1815
2529
  orderId: z.nullable(z.string()).optional(),
1816
- status: GetPaymentStatus$outboundSchema,
2530
+ status: GetPaymentStatusEnum$outboundSchema,
1817
2531
  statusReason: z.nullable(z.lazy(() => GetPaymentStatusReason$outboundSchema))
1818
2532
  .optional(),
1819
2533
  isCancelable: z.nullable(z.boolean()).optional(),
1820
- details: z.nullable(z.record(z.any())).optional(),
2534
+ details: z.nullable(z.lazy(() => GetPaymentDetails$outboundSchema))
2535
+ .optional(),
1821
2536
  createdAt: z.string(),
1822
2537
  authorizedAt: z.nullable(z.string()).optional(),
1823
2538
  paidAt: z.nullable(z.string()).optional(),