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
@@ -577,7 +577,7 @@ export type GetWebhookEventLine = {
577
577
  * An array with the voucher categories, in case of a line eligible for a voucher. See the
578
578
  *
579
579
  * @remarks
580
- * [Integrating Vouchers](integrating-vouchers) guide for more information.
580
+ * [Integrating Vouchers](https://docs.mollie.com/docs/integrating-vouchers/) guide for more information.
581
581
  */
582
582
  categories?: Array<GetWebhookEventCategory> | undefined;
583
583
  /**
@@ -396,19 +396,19 @@ export type ListAllChargebacksLinks = {
396
396
  /**
397
397
  * The URL to the current set of items.
398
398
  */
399
- self?: ListAllChargebacksSelf | undefined;
399
+ self: ListAllChargebacksSelf;
400
400
  /**
401
401
  * The previous set of items, if available.
402
402
  */
403
- previous?: ListAllChargebacksPrevious | null | undefined;
403
+ previous: ListAllChargebacksPrevious | null;
404
404
  /**
405
405
  * The next set of items, if available.
406
406
  */
407
- next?: ListAllChargebacksNext | null | undefined;
407
+ next: ListAllChargebacksNext | null;
408
408
  /**
409
409
  * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
410
410
  */
411
- documentation?: ListAllChargebacksDocumentation | undefined;
411
+ documentation: ListAllChargebacksDocumentation;
412
412
  };
413
413
 
414
414
  /**
@@ -1687,21 +1687,18 @@ export const ListAllChargebacksLinks$inboundSchema: z.ZodType<
1687
1687
  z.ZodTypeDef,
1688
1688
  unknown
1689
1689
  > = z.object({
1690
- self: z.lazy(() => ListAllChargebacksSelf$inboundSchema).optional(),
1691
- previous: z.nullable(z.lazy(() => ListAllChargebacksPrevious$inboundSchema))
1692
- .optional(),
1693
- next: z.nullable(z.lazy(() => ListAllChargebacksNext$inboundSchema))
1694
- .optional(),
1695
- documentation: z.lazy(() => ListAllChargebacksDocumentation$inboundSchema)
1696
- .optional(),
1690
+ self: z.lazy(() => ListAllChargebacksSelf$inboundSchema),
1691
+ previous: z.nullable(z.lazy(() => ListAllChargebacksPrevious$inboundSchema)),
1692
+ next: z.nullable(z.lazy(() => ListAllChargebacksNext$inboundSchema)),
1693
+ documentation: z.lazy(() => ListAllChargebacksDocumentation$inboundSchema),
1697
1694
  });
1698
1695
 
1699
1696
  /** @internal */
1700
1697
  export type ListAllChargebacksLinks$Outbound = {
1701
- self?: ListAllChargebacksSelf$Outbound | undefined;
1702
- previous?: ListAllChargebacksPrevious$Outbound | null | undefined;
1703
- next?: ListAllChargebacksNext$Outbound | null | undefined;
1704
- documentation?: ListAllChargebacksDocumentation$Outbound | undefined;
1698
+ self: ListAllChargebacksSelf$Outbound;
1699
+ previous: ListAllChargebacksPrevious$Outbound | null;
1700
+ next: ListAllChargebacksNext$Outbound | null;
1701
+ documentation: ListAllChargebacksDocumentation$Outbound;
1705
1702
  };
1706
1703
 
1707
1704
  /** @internal */
@@ -1710,13 +1707,10 @@ export const ListAllChargebacksLinks$outboundSchema: z.ZodType<
1710
1707
  z.ZodTypeDef,
1711
1708
  ListAllChargebacksLinks
1712
1709
  > = z.object({
1713
- self: z.lazy(() => ListAllChargebacksSelf$outboundSchema).optional(),
1714
- previous: z.nullable(z.lazy(() => ListAllChargebacksPrevious$outboundSchema))
1715
- .optional(),
1716
- next: z.nullable(z.lazy(() => ListAllChargebacksNext$outboundSchema))
1717
- .optional(),
1718
- documentation: z.lazy(() => ListAllChargebacksDocumentation$outboundSchema)
1719
- .optional(),
1710
+ self: z.lazy(() => ListAllChargebacksSelf$outboundSchema),
1711
+ previous: z.nullable(z.lazy(() => ListAllChargebacksPrevious$outboundSchema)),
1712
+ next: z.nullable(z.lazy(() => ListAllChargebacksNext$outboundSchema)),
1713
+ documentation: z.lazy(() => ListAllChargebacksDocumentation$outboundSchema),
1720
1714
  });
1721
1715
 
1722
1716
  /**
@@ -384,7 +384,7 @@ export type ListAllMethodsMethodLinks = {
384
384
  /**
385
385
  * The fixed price charged per payment.
386
386
  */
387
- export type ListAllMethodsFixed = {
387
+ export type Fixed = {
388
388
  /**
389
389
  * A three-character ISO 4217 currency code.
390
390
  */
@@ -406,7 +406,7 @@ export type Pricing = {
406
406
  /**
407
407
  * The fixed price charged per payment.
408
408
  */
409
- fixed: ListAllMethodsFixed;
409
+ fixed: Fixed;
410
410
  /**
411
411
  * The variable price charged per payment, as a percentage string.
412
412
  */
@@ -1378,26 +1378,23 @@ export function listAllMethodsMethodLinksFromJSON(
1378
1378
  }
1379
1379
 
1380
1380
  /** @internal */
1381
- export const ListAllMethodsFixed$inboundSchema: z.ZodType<
1382
- ListAllMethodsFixed,
1383
- z.ZodTypeDef,
1384
- unknown
1385
- > = z.object({
1386
- currency: z.string(),
1387
- value: z.string(),
1388
- });
1381
+ export const Fixed$inboundSchema: z.ZodType<Fixed, z.ZodTypeDef, unknown> = z
1382
+ .object({
1383
+ currency: z.string(),
1384
+ value: z.string(),
1385
+ });
1389
1386
 
1390
1387
  /** @internal */
1391
- export type ListAllMethodsFixed$Outbound = {
1388
+ export type Fixed$Outbound = {
1392
1389
  currency: string;
1393
1390
  value: string;
1394
1391
  };
1395
1392
 
1396
1393
  /** @internal */
1397
- export const ListAllMethodsFixed$outboundSchema: z.ZodType<
1398
- ListAllMethodsFixed$Outbound,
1394
+ export const Fixed$outboundSchema: z.ZodType<
1395
+ Fixed$Outbound,
1399
1396
  z.ZodTypeDef,
1400
- ListAllMethodsFixed
1397
+ Fixed
1401
1398
  > = z.object({
1402
1399
  currency: z.string(),
1403
1400
  value: z.string(),
@@ -1407,30 +1404,26 @@ export const ListAllMethodsFixed$outboundSchema: z.ZodType<
1407
1404
  * @internal
1408
1405
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1409
1406
  */
1410
- export namespace ListAllMethodsFixed$ {
1411
- /** @deprecated use `ListAllMethodsFixed$inboundSchema` instead. */
1412
- export const inboundSchema = ListAllMethodsFixed$inboundSchema;
1413
- /** @deprecated use `ListAllMethodsFixed$outboundSchema` instead. */
1414
- export const outboundSchema = ListAllMethodsFixed$outboundSchema;
1415
- /** @deprecated use `ListAllMethodsFixed$Outbound` instead. */
1416
- export type Outbound = ListAllMethodsFixed$Outbound;
1407
+ export namespace Fixed$ {
1408
+ /** @deprecated use `Fixed$inboundSchema` instead. */
1409
+ export const inboundSchema = Fixed$inboundSchema;
1410
+ /** @deprecated use `Fixed$outboundSchema` instead. */
1411
+ export const outboundSchema = Fixed$outboundSchema;
1412
+ /** @deprecated use `Fixed$Outbound` instead. */
1413
+ export type Outbound = Fixed$Outbound;
1417
1414
  }
1418
1415
 
1419
- export function listAllMethodsFixedToJSON(
1420
- listAllMethodsFixed: ListAllMethodsFixed,
1421
- ): string {
1422
- return JSON.stringify(
1423
- ListAllMethodsFixed$outboundSchema.parse(listAllMethodsFixed),
1424
- );
1416
+ export function fixedToJSON(fixed: Fixed): string {
1417
+ return JSON.stringify(Fixed$outboundSchema.parse(fixed));
1425
1418
  }
1426
1419
 
1427
- export function listAllMethodsFixedFromJSON(
1420
+ export function fixedFromJSON(
1428
1421
  jsonString: string,
1429
- ): SafeParseResult<ListAllMethodsFixed, SDKValidationError> {
1422
+ ): SafeParseResult<Fixed, SDKValidationError> {
1430
1423
  return safeParse(
1431
1424
  jsonString,
1432
- (x) => ListAllMethodsFixed$inboundSchema.parse(JSON.parse(x)),
1433
- `Failed to parse 'ListAllMethodsFixed' from JSON`,
1425
+ (x) => Fixed$inboundSchema.parse(JSON.parse(x)),
1426
+ `Failed to parse 'Fixed' from JSON`,
1434
1427
  );
1435
1428
  }
1436
1429
 
@@ -1438,7 +1431,7 @@ export function listAllMethodsFixedFromJSON(
1438
1431
  export const Pricing$inboundSchema: z.ZodType<Pricing, z.ZodTypeDef, unknown> =
1439
1432
  z.object({
1440
1433
  description: z.string(),
1441
- fixed: z.lazy(() => ListAllMethodsFixed$inboundSchema),
1434
+ fixed: z.lazy(() => Fixed$inboundSchema),
1442
1435
  variable: z.string(),
1443
1436
  feeRegion: z.nullable(z.string()).optional(),
1444
1437
  });
@@ -1446,7 +1439,7 @@ export const Pricing$inboundSchema: z.ZodType<Pricing, z.ZodTypeDef, unknown> =
1446
1439
  /** @internal */
1447
1440
  export type Pricing$Outbound = {
1448
1441
  description: string;
1449
- fixed: ListAllMethodsFixed$Outbound;
1442
+ fixed: Fixed$Outbound;
1450
1443
  variable: string;
1451
1444
  feeRegion?: string | null | undefined;
1452
1445
  };
@@ -1458,7 +1451,7 @@ export const Pricing$outboundSchema: z.ZodType<
1458
1451
  Pricing
1459
1452
  > = z.object({
1460
1453
  description: z.string(),
1461
- fixed: z.lazy(() => ListAllMethodsFixed$outboundSchema),
1454
+ fixed: z.lazy(() => Fixed$outboundSchema),
1462
1455
  variable: z.string(),
1463
1456
  feeRegion: z.nullable(z.string()).optional(),
1464
1457
  });
@@ -496,19 +496,19 @@ export type ListAllRefundsLinks = {
496
496
  /**
497
497
  * The URL to the current set of items.
498
498
  */
499
- self?: ListAllRefundsSelf | undefined;
499
+ self: ListAllRefundsSelf;
500
500
  /**
501
501
  * The previous set of items, if available.
502
502
  */
503
- previous?: ListAllRefundsPrevious | null | undefined;
503
+ previous: ListAllRefundsPrevious | null;
504
504
  /**
505
505
  * The next set of items, if available.
506
506
  */
507
- next?: ListAllRefundsNext | null | undefined;
507
+ next: ListAllRefundsNext | null;
508
508
  /**
509
509
  * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
510
510
  */
511
- documentation?: ListAllRefundsDocumentation | undefined;
511
+ documentation: ListAllRefundsDocumentation;
512
512
  };
513
513
 
514
514
  /**
@@ -1937,20 +1937,18 @@ export const ListAllRefundsLinks$inboundSchema: z.ZodType<
1937
1937
  z.ZodTypeDef,
1938
1938
  unknown
1939
1939
  > = z.object({
1940
- self: z.lazy(() => ListAllRefundsSelf$inboundSchema).optional(),
1941
- previous: z.nullable(z.lazy(() => ListAllRefundsPrevious$inboundSchema))
1942
- .optional(),
1943
- next: z.nullable(z.lazy(() => ListAllRefundsNext$inboundSchema)).optional(),
1944
- documentation: z.lazy(() => ListAllRefundsDocumentation$inboundSchema)
1945
- .optional(),
1940
+ self: z.lazy(() => ListAllRefundsSelf$inboundSchema),
1941
+ previous: z.nullable(z.lazy(() => ListAllRefundsPrevious$inboundSchema)),
1942
+ next: z.nullable(z.lazy(() => ListAllRefundsNext$inboundSchema)),
1943
+ documentation: z.lazy(() => ListAllRefundsDocumentation$inboundSchema),
1946
1944
  });
1947
1945
 
1948
1946
  /** @internal */
1949
1947
  export type ListAllRefundsLinks$Outbound = {
1950
- self?: ListAllRefundsSelf$Outbound | undefined;
1951
- previous?: ListAllRefundsPrevious$Outbound | null | undefined;
1952
- next?: ListAllRefundsNext$Outbound | null | undefined;
1953
- documentation?: ListAllRefundsDocumentation$Outbound | undefined;
1948
+ self: ListAllRefundsSelf$Outbound;
1949
+ previous: ListAllRefundsPrevious$Outbound | null;
1950
+ next: ListAllRefundsNext$Outbound | null;
1951
+ documentation: ListAllRefundsDocumentation$Outbound;
1954
1952
  };
1955
1953
 
1956
1954
  /** @internal */
@@ -1959,12 +1957,10 @@ export const ListAllRefundsLinks$outboundSchema: z.ZodType<
1959
1957
  z.ZodTypeDef,
1960
1958
  ListAllRefundsLinks
1961
1959
  > = z.object({
1962
- self: z.lazy(() => ListAllRefundsSelf$outboundSchema).optional(),
1963
- previous: z.nullable(z.lazy(() => ListAllRefundsPrevious$outboundSchema))
1964
- .optional(),
1965
- next: z.nullable(z.lazy(() => ListAllRefundsNext$outboundSchema)).optional(),
1966
- documentation: z.lazy(() => ListAllRefundsDocumentation$outboundSchema)
1967
- .optional(),
1960
+ self: z.lazy(() => ListAllRefundsSelf$outboundSchema),
1961
+ previous: z.nullable(z.lazy(() => ListAllRefundsPrevious$outboundSchema)),
1962
+ next: z.nullable(z.lazy(() => ListAllRefundsNext$outboundSchema)),
1963
+ documentation: z.lazy(() => ListAllRefundsDocumentation$outboundSchema),
1968
1964
  });
1969
1965
 
1970
1966
  /**
@@ -534,19 +534,19 @@ export type ListAllSubscriptionsLinks = {
534
534
  /**
535
535
  * The URL to the current set of items.
536
536
  */
537
- self?: ListAllSubscriptionsSelf | undefined;
537
+ self: ListAllSubscriptionsSelf;
538
538
  /**
539
539
  * The previous set of items, if available.
540
540
  */
541
- previous?: ListAllSubscriptionsPrevious | null | undefined;
541
+ previous: ListAllSubscriptionsPrevious | null;
542
542
  /**
543
543
  * The next set of items, if available.
544
544
  */
545
- next?: ListAllSubscriptionsNext | null | undefined;
545
+ next: ListAllSubscriptionsNext | null;
546
546
  /**
547
547
  * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
548
548
  */
549
- documentation?: ListAllSubscriptionsDocumentation | undefined;
549
+ documentation: ListAllSubscriptionsDocumentation;
550
550
  };
551
551
 
552
552
  /**
@@ -2104,21 +2104,20 @@ export const ListAllSubscriptionsLinks$inboundSchema: z.ZodType<
2104
2104
  z.ZodTypeDef,
2105
2105
  unknown
2106
2106
  > = z.object({
2107
- self: z.lazy(() => ListAllSubscriptionsSelf$inboundSchema).optional(),
2108
- previous: z.nullable(z.lazy(() => ListAllSubscriptionsPrevious$inboundSchema))
2109
- .optional(),
2110
- next: z.nullable(z.lazy(() => ListAllSubscriptionsNext$inboundSchema))
2111
- .optional(),
2112
- documentation: z.lazy(() => ListAllSubscriptionsDocumentation$inboundSchema)
2113
- .optional(),
2107
+ self: z.lazy(() => ListAllSubscriptionsSelf$inboundSchema),
2108
+ previous: z.nullable(
2109
+ z.lazy(() => ListAllSubscriptionsPrevious$inboundSchema),
2110
+ ),
2111
+ next: z.nullable(z.lazy(() => ListAllSubscriptionsNext$inboundSchema)),
2112
+ documentation: z.lazy(() => ListAllSubscriptionsDocumentation$inboundSchema),
2114
2113
  });
2115
2114
 
2116
2115
  /** @internal */
2117
2116
  export type ListAllSubscriptionsLinks$Outbound = {
2118
- self?: ListAllSubscriptionsSelf$Outbound | undefined;
2119
- previous?: ListAllSubscriptionsPrevious$Outbound | null | undefined;
2120
- next?: ListAllSubscriptionsNext$Outbound | null | undefined;
2121
- documentation?: ListAllSubscriptionsDocumentation$Outbound | undefined;
2117
+ self: ListAllSubscriptionsSelf$Outbound;
2118
+ previous: ListAllSubscriptionsPrevious$Outbound | null;
2119
+ next: ListAllSubscriptionsNext$Outbound | null;
2120
+ documentation: ListAllSubscriptionsDocumentation$Outbound;
2122
2121
  };
2123
2122
 
2124
2123
  /** @internal */
@@ -2127,14 +2126,12 @@ export const ListAllSubscriptionsLinks$outboundSchema: z.ZodType<
2127
2126
  z.ZodTypeDef,
2128
2127
  ListAllSubscriptionsLinks
2129
2128
  > = z.object({
2130
- self: z.lazy(() => ListAllSubscriptionsSelf$outboundSchema).optional(),
2129
+ self: z.lazy(() => ListAllSubscriptionsSelf$outboundSchema),
2131
2130
  previous: z.nullable(
2132
2131
  z.lazy(() => ListAllSubscriptionsPrevious$outboundSchema),
2133
- ).optional(),
2134
- next: z.nullable(z.lazy(() => ListAllSubscriptionsNext$outboundSchema))
2135
- .optional(),
2136
- documentation: z.lazy(() => ListAllSubscriptionsDocumentation$outboundSchema)
2137
- .optional(),
2132
+ ),
2133
+ next: z.nullable(z.lazy(() => ListAllSubscriptionsNext$outboundSchema)),
2134
+ documentation: z.lazy(() => ListAllSubscriptionsDocumentation$outboundSchema),
2138
2135
  });
2139
2136
 
2140
2137
  /**
@@ -425,19 +425,19 @@ export type ListBalancesLinks = {
425
425
  /**
426
426
  * The URL to the current set of items.
427
427
  */
428
- self?: ListBalancesSelf | undefined;
428
+ self: ListBalancesSelf;
429
429
  /**
430
430
  * The previous set of items, if available.
431
431
  */
432
- previous?: ListBalancesPrevious | null | undefined;
432
+ previous: ListBalancesPrevious | null;
433
433
  /**
434
434
  * The next set of items, if available.
435
435
  */
436
- next?: ListBalancesNext | null | undefined;
436
+ next: ListBalancesNext | null;
437
437
  /**
438
438
  * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
439
439
  */
440
- documentation?: ListBalancesDocumentation | undefined;
440
+ documentation: ListBalancesDocumentation;
441
441
  };
442
442
 
443
443
  /**
@@ -1663,20 +1663,18 @@ export const ListBalancesLinks$inboundSchema: z.ZodType<
1663
1663
  z.ZodTypeDef,
1664
1664
  unknown
1665
1665
  > = z.object({
1666
- self: z.lazy(() => ListBalancesSelf$inboundSchema).optional(),
1667
- previous: z.nullable(z.lazy(() => ListBalancesPrevious$inboundSchema))
1668
- .optional(),
1669
- next: z.nullable(z.lazy(() => ListBalancesNext$inboundSchema)).optional(),
1670
- documentation: z.lazy(() => ListBalancesDocumentation$inboundSchema)
1671
- .optional(),
1666
+ self: z.lazy(() => ListBalancesSelf$inboundSchema),
1667
+ previous: z.nullable(z.lazy(() => ListBalancesPrevious$inboundSchema)),
1668
+ next: z.nullable(z.lazy(() => ListBalancesNext$inboundSchema)),
1669
+ documentation: z.lazy(() => ListBalancesDocumentation$inboundSchema),
1672
1670
  });
1673
1671
 
1674
1672
  /** @internal */
1675
1673
  export type ListBalancesLinks$Outbound = {
1676
- self?: ListBalancesSelf$Outbound | undefined;
1677
- previous?: ListBalancesPrevious$Outbound | null | undefined;
1678
- next?: ListBalancesNext$Outbound | null | undefined;
1679
- documentation?: ListBalancesDocumentation$Outbound | undefined;
1674
+ self: ListBalancesSelf$Outbound;
1675
+ previous: ListBalancesPrevious$Outbound | null;
1676
+ next: ListBalancesNext$Outbound | null;
1677
+ documentation: ListBalancesDocumentation$Outbound;
1680
1678
  };
1681
1679
 
1682
1680
  /** @internal */
@@ -1685,12 +1683,10 @@ export const ListBalancesLinks$outboundSchema: z.ZodType<
1685
1683
  z.ZodTypeDef,
1686
1684
  ListBalancesLinks
1687
1685
  > = z.object({
1688
- self: z.lazy(() => ListBalancesSelf$outboundSchema).optional(),
1689
- previous: z.nullable(z.lazy(() => ListBalancesPrevious$outboundSchema))
1690
- .optional(),
1691
- next: z.nullable(z.lazy(() => ListBalancesNext$outboundSchema)).optional(),
1692
- documentation: z.lazy(() => ListBalancesDocumentation$outboundSchema)
1693
- .optional(),
1686
+ self: z.lazy(() => ListBalancesSelf$outboundSchema),
1687
+ previous: z.nullable(z.lazy(() => ListBalancesPrevious$outboundSchema)),
1688
+ next: z.nullable(z.lazy(() => ListBalancesNext$outboundSchema)),
1689
+ documentation: z.lazy(() => ListBalancesDocumentation$outboundSchema),
1694
1690
  });
1695
1691
 
1696
1692
  /**
@@ -670,19 +670,19 @@ export type ListBalanceTransactionsLinks = {
670
670
  /**
671
671
  * The URL to the current set of items.
672
672
  */
673
- self?: ListBalanceTransactionsSelf | undefined;
673
+ self: ListBalanceTransactionsSelf;
674
674
  /**
675
675
  * The previous set of items, if available.
676
676
  */
677
- previous?: ListBalanceTransactionsPrevious | null | undefined;
677
+ previous: ListBalanceTransactionsPrevious | null;
678
678
  /**
679
679
  * The next set of items, if available.
680
680
  */
681
- next?: ListBalanceTransactionsNext | null | undefined;
681
+ next: ListBalanceTransactionsNext | null;
682
682
  /**
683
683
  * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
684
684
  */
685
- documentation?: ListBalanceTransactionsDocumentation | undefined;
685
+ documentation: ListBalanceTransactionsDocumentation;
686
686
  };
687
687
 
688
688
  /**
@@ -3917,23 +3917,22 @@ export const ListBalanceTransactionsLinks$inboundSchema: z.ZodType<
3917
3917
  z.ZodTypeDef,
3918
3918
  unknown
3919
3919
  > = z.object({
3920
- self: z.lazy(() => ListBalanceTransactionsSelf$inboundSchema).optional(),
3920
+ self: z.lazy(() => ListBalanceTransactionsSelf$inboundSchema),
3921
3921
  previous: z.nullable(
3922
3922
  z.lazy(() => ListBalanceTransactionsPrevious$inboundSchema),
3923
- ).optional(),
3924
- next: z.nullable(z.lazy(() => ListBalanceTransactionsNext$inboundSchema))
3925
- .optional(),
3923
+ ),
3924
+ next: z.nullable(z.lazy(() => ListBalanceTransactionsNext$inboundSchema)),
3926
3925
  documentation: z.lazy(() =>
3927
3926
  ListBalanceTransactionsDocumentation$inboundSchema
3928
- ).optional(),
3927
+ ),
3929
3928
  });
3930
3929
 
3931
3930
  /** @internal */
3932
3931
  export type ListBalanceTransactionsLinks$Outbound = {
3933
- self?: ListBalanceTransactionsSelf$Outbound | undefined;
3934
- previous?: ListBalanceTransactionsPrevious$Outbound | null | undefined;
3935
- next?: ListBalanceTransactionsNext$Outbound | null | undefined;
3936
- documentation?: ListBalanceTransactionsDocumentation$Outbound | undefined;
3932
+ self: ListBalanceTransactionsSelf$Outbound;
3933
+ previous: ListBalanceTransactionsPrevious$Outbound | null;
3934
+ next: ListBalanceTransactionsNext$Outbound | null;
3935
+ documentation: ListBalanceTransactionsDocumentation$Outbound;
3937
3936
  };
3938
3937
 
3939
3938
  /** @internal */
@@ -3942,15 +3941,14 @@ export const ListBalanceTransactionsLinks$outboundSchema: z.ZodType<
3942
3941
  z.ZodTypeDef,
3943
3942
  ListBalanceTransactionsLinks
3944
3943
  > = z.object({
3945
- self: z.lazy(() => ListBalanceTransactionsSelf$outboundSchema).optional(),
3944
+ self: z.lazy(() => ListBalanceTransactionsSelf$outboundSchema),
3946
3945
  previous: z.nullable(
3947
3946
  z.lazy(() => ListBalanceTransactionsPrevious$outboundSchema),
3948
- ).optional(),
3949
- next: z.nullable(z.lazy(() => ListBalanceTransactionsNext$outboundSchema))
3950
- .optional(),
3947
+ ),
3948
+ next: z.nullable(z.lazy(() => ListBalanceTransactionsNext$outboundSchema)),
3951
3949
  documentation: z.lazy(() =>
3952
3950
  ListBalanceTransactionsDocumentation$outboundSchema
3953
- ).optional(),
3951
+ ),
3954
3952
  });
3955
3953
 
3956
3954
  /**
@@ -414,19 +414,19 @@ export type ListCapturesLinks = {
414
414
  /**
415
415
  * The URL to the current set of items.
416
416
  */
417
- self?: ListCapturesSelf | undefined;
417
+ self: ListCapturesSelf;
418
418
  /**
419
419
  * The previous set of items, if available.
420
420
  */
421
- previous?: ListCapturesPrevious | null | undefined;
421
+ previous: ListCapturesPrevious | null;
422
422
  /**
423
423
  * The next set of items, if available.
424
424
  */
425
- next?: ListCapturesNext | null | undefined;
425
+ next: ListCapturesNext | null;
426
426
  /**
427
427
  * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
428
428
  */
429
- documentation?: ListCapturesDocumentation | undefined;
429
+ documentation: ListCapturesDocumentation;
430
430
  };
431
431
 
432
432
  /**
@@ -1734,20 +1734,18 @@ export const ListCapturesLinks$inboundSchema: z.ZodType<
1734
1734
  z.ZodTypeDef,
1735
1735
  unknown
1736
1736
  > = z.object({
1737
- self: z.lazy(() => ListCapturesSelf$inboundSchema).optional(),
1738
- previous: z.nullable(z.lazy(() => ListCapturesPrevious$inboundSchema))
1739
- .optional(),
1740
- next: z.nullable(z.lazy(() => ListCapturesNext$inboundSchema)).optional(),
1741
- documentation: z.lazy(() => ListCapturesDocumentation$inboundSchema)
1742
- .optional(),
1737
+ self: z.lazy(() => ListCapturesSelf$inboundSchema),
1738
+ previous: z.nullable(z.lazy(() => ListCapturesPrevious$inboundSchema)),
1739
+ next: z.nullable(z.lazy(() => ListCapturesNext$inboundSchema)),
1740
+ documentation: z.lazy(() => ListCapturesDocumentation$inboundSchema),
1743
1741
  });
1744
1742
 
1745
1743
  /** @internal */
1746
1744
  export type ListCapturesLinks$Outbound = {
1747
- self?: ListCapturesSelf$Outbound | undefined;
1748
- previous?: ListCapturesPrevious$Outbound | null | undefined;
1749
- next?: ListCapturesNext$Outbound | null | undefined;
1750
- documentation?: ListCapturesDocumentation$Outbound | undefined;
1745
+ self: ListCapturesSelf$Outbound;
1746
+ previous: ListCapturesPrevious$Outbound | null;
1747
+ next: ListCapturesNext$Outbound | null;
1748
+ documentation: ListCapturesDocumentation$Outbound;
1751
1749
  };
1752
1750
 
1753
1751
  /** @internal */
@@ -1756,12 +1754,10 @@ export const ListCapturesLinks$outboundSchema: z.ZodType<
1756
1754
  z.ZodTypeDef,
1757
1755
  ListCapturesLinks
1758
1756
  > = z.object({
1759
- self: z.lazy(() => ListCapturesSelf$outboundSchema).optional(),
1760
- previous: z.nullable(z.lazy(() => ListCapturesPrevious$outboundSchema))
1761
- .optional(),
1762
- next: z.nullable(z.lazy(() => ListCapturesNext$outboundSchema)).optional(),
1763
- documentation: z.lazy(() => ListCapturesDocumentation$outboundSchema)
1764
- .optional(),
1757
+ self: z.lazy(() => ListCapturesSelf$outboundSchema),
1758
+ previous: z.nullable(z.lazy(() => ListCapturesPrevious$outboundSchema)),
1759
+ next: z.nullable(z.lazy(() => ListCapturesNext$outboundSchema)),
1760
+ documentation: z.lazy(() => ListCapturesDocumentation$outboundSchema),
1765
1761
  });
1766
1762
 
1767
1763
  /**
@@ -351,19 +351,19 @@ export type ListChargebacksLinks = {
351
351
  /**
352
352
  * The URL to the current set of items.
353
353
  */
354
- self?: ListChargebacksSelf | undefined;
354
+ self: ListChargebacksSelf;
355
355
  /**
356
356
  * The previous set of items, if available.
357
357
  */
358
- previous?: ListChargebacksPrevious | null | undefined;
358
+ previous: ListChargebacksPrevious | null;
359
359
  /**
360
360
  * The next set of items, if available.
361
361
  */
362
- next?: ListChargebacksNext | null | undefined;
362
+ next: ListChargebacksNext | null;
363
363
  /**
364
364
  * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
365
365
  */
366
- documentation?: ListChargebacksDocumentation | undefined;
366
+ documentation: ListChargebacksDocumentation;
367
367
  };
368
368
 
369
369
  /**
@@ -1589,20 +1589,18 @@ export const ListChargebacksLinks$inboundSchema: z.ZodType<
1589
1589
  z.ZodTypeDef,
1590
1590
  unknown
1591
1591
  > = z.object({
1592
- self: z.lazy(() => ListChargebacksSelf$inboundSchema).optional(),
1593
- previous: z.nullable(z.lazy(() => ListChargebacksPrevious$inboundSchema))
1594
- .optional(),
1595
- next: z.nullable(z.lazy(() => ListChargebacksNext$inboundSchema)).optional(),
1596
- documentation: z.lazy(() => ListChargebacksDocumentation$inboundSchema)
1597
- .optional(),
1592
+ self: z.lazy(() => ListChargebacksSelf$inboundSchema),
1593
+ previous: z.nullable(z.lazy(() => ListChargebacksPrevious$inboundSchema)),
1594
+ next: z.nullable(z.lazy(() => ListChargebacksNext$inboundSchema)),
1595
+ documentation: z.lazy(() => ListChargebacksDocumentation$inboundSchema),
1598
1596
  });
1599
1597
 
1600
1598
  /** @internal */
1601
1599
  export type ListChargebacksLinks$Outbound = {
1602
- self?: ListChargebacksSelf$Outbound | undefined;
1603
- previous?: ListChargebacksPrevious$Outbound | null | undefined;
1604
- next?: ListChargebacksNext$Outbound | null | undefined;
1605
- documentation?: ListChargebacksDocumentation$Outbound | undefined;
1600
+ self: ListChargebacksSelf$Outbound;
1601
+ previous: ListChargebacksPrevious$Outbound | null;
1602
+ next: ListChargebacksNext$Outbound | null;
1603
+ documentation: ListChargebacksDocumentation$Outbound;
1606
1604
  };
1607
1605
 
1608
1606
  /** @internal */
@@ -1611,12 +1609,10 @@ export const ListChargebacksLinks$outboundSchema: z.ZodType<
1611
1609
  z.ZodTypeDef,
1612
1610
  ListChargebacksLinks
1613
1611
  > = z.object({
1614
- self: z.lazy(() => ListChargebacksSelf$outboundSchema).optional(),
1615
- previous: z.nullable(z.lazy(() => ListChargebacksPrevious$outboundSchema))
1616
- .optional(),
1617
- next: z.nullable(z.lazy(() => ListChargebacksNext$outboundSchema)).optional(),
1618
- documentation: z.lazy(() => ListChargebacksDocumentation$outboundSchema)
1619
- .optional(),
1612
+ self: z.lazy(() => ListChargebacksSelf$outboundSchema),
1613
+ previous: z.nullable(z.lazy(() => ListChargebacksPrevious$outboundSchema)),
1614
+ next: z.nullable(z.lazy(() => ListChargebacksNext$outboundSchema)),
1615
+ documentation: z.lazy(() => ListChargebacksDocumentation$outboundSchema),
1620
1616
  });
1621
1617
 
1622
1618
  /**