mollie-api-typescript 0.0.4 → 0.0.6

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 (385) hide show
  1. package/README.md +3 -2
  2. package/bin/mcp-server.js +824 -1262
  3. package/bin/mcp-server.js.map +46 -46
  4. package/dist/commonjs/funcs/delayedRoutingList.js +4 -0
  5. package/dist/commonjs/funcs/delayedRoutingList.js.map +1 -1
  6. package/dist/commonjs/funcs/subscriptionsAll.d.ts +1 -1
  7. package/dist/commonjs/funcs/subscriptionsAll.d.ts.map +1 -1
  8. package/dist/commonjs/funcs/subscriptionsAll.js +2 -5
  9. package/dist/commonjs/funcs/subscriptionsAll.js.map +1 -1
  10. package/dist/commonjs/lib/config.d.ts +2 -2
  11. package/dist/commonjs/lib/config.js +2 -2
  12. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  13. package/dist/commonjs/mcp-server/server.js +1 -1
  14. package/dist/commonjs/models/errors/listallsubscriptions.d.ts +95 -14
  15. package/dist/commonjs/models/errors/listallsubscriptions.d.ts.map +1 -1
  16. package/dist/commonjs/models/errors/listallsubscriptions.js +80 -14
  17. package/dist/commonjs/models/errors/listallsubscriptions.js.map +1 -1
  18. package/dist/commonjs/models/operations/cancelpayment.d.ts +9 -0
  19. package/dist/commonjs/models/operations/cancelpayment.d.ts.map +1 -1
  20. package/dist/commonjs/models/operations/cancelpayment.js +3 -0
  21. package/dist/commonjs/models/operations/cancelpayment.js.map +1 -1
  22. package/dist/commonjs/models/operations/cancelsubscription.d.ts +40 -40
  23. package/dist/commonjs/models/operations/cancelsubscription.d.ts.map +1 -1
  24. package/dist/commonjs/models/operations/cancelsubscription.js +40 -48
  25. package/dist/commonjs/models/operations/cancelsubscription.js.map +1 -1
  26. package/dist/commonjs/models/operations/createcustomer.d.ts +22 -22
  27. package/dist/commonjs/models/operations/createcustomer.d.ts.map +1 -1
  28. package/dist/commonjs/models/operations/createcustomer.js +22 -24
  29. package/dist/commonjs/models/operations/createcustomer.js.map +1 -1
  30. package/dist/commonjs/models/operations/createcustomerpayment.d.ts +18 -0
  31. package/dist/commonjs/models/operations/createcustomerpayment.d.ts.map +1 -1
  32. package/dist/commonjs/models/operations/createcustomerpayment.js +6 -0
  33. package/dist/commonjs/models/operations/createcustomerpayment.js.map +1 -1
  34. package/dist/commonjs/models/operations/createmandate.d.ts +26 -26
  35. package/dist/commonjs/models/operations/createmandate.d.ts.map +1 -1
  36. package/dist/commonjs/models/operations/createmandate.js +26 -28
  37. package/dist/commonjs/models/operations/createmandate.js.map +1 -1
  38. package/dist/commonjs/models/operations/createpayment.d.ts +18 -0
  39. package/dist/commonjs/models/operations/createpayment.d.ts.map +1 -1
  40. package/dist/commonjs/models/operations/createpayment.js +6 -0
  41. package/dist/commonjs/models/operations/createpayment.js.map +1 -1
  42. package/dist/commonjs/models/operations/createpaymentlink.d.ts +136 -0
  43. package/dist/commonjs/models/operations/createpaymentlink.d.ts.map +1 -1
  44. package/dist/commonjs/models/operations/createpaymentlink.js +73 -3
  45. package/dist/commonjs/models/operations/createpaymentlink.js.map +1 -1
  46. package/dist/commonjs/models/operations/createrefund.d.ts +7 -7
  47. package/dist/commonjs/models/operations/createrefund.d.ts.map +1 -1
  48. package/dist/commonjs/models/operations/createrefund.js +8 -10
  49. package/dist/commonjs/models/operations/createrefund.js.map +1 -1
  50. package/dist/commonjs/models/operations/createsubscription.d.ts +44 -44
  51. package/dist/commonjs/models/operations/createsubscription.d.ts.map +1 -1
  52. package/dist/commonjs/models/operations/createsubscription.js +44 -53
  53. package/dist/commonjs/models/operations/createsubscription.js.map +1 -1
  54. package/dist/commonjs/models/operations/getcustomer.d.ts +28 -28
  55. package/dist/commonjs/models/operations/getcustomer.d.ts.map +1 -1
  56. package/dist/commonjs/models/operations/getcustomer.js +28 -30
  57. package/dist/commonjs/models/operations/getcustomer.js.map +1 -1
  58. package/dist/commonjs/models/operations/getmandate.d.ts +26 -26
  59. package/dist/commonjs/models/operations/getmandate.d.ts.map +1 -1
  60. package/dist/commonjs/models/operations/getmandate.js +26 -27
  61. package/dist/commonjs/models/operations/getmandate.js.map +1 -1
  62. package/dist/commonjs/models/operations/getmethod.d.ts +18 -0
  63. package/dist/commonjs/models/operations/getmethod.d.ts.map +1 -1
  64. package/dist/commonjs/models/operations/getmethod.js +6 -0
  65. package/dist/commonjs/models/operations/getmethod.js.map +1 -1
  66. package/dist/commonjs/models/operations/getpayment.d.ts +9 -0
  67. package/dist/commonjs/models/operations/getpayment.d.ts.map +1 -1
  68. package/dist/commonjs/models/operations/getpayment.js +3 -0
  69. package/dist/commonjs/models/operations/getpayment.js.map +1 -1
  70. package/dist/commonjs/models/operations/getpaymentlink.d.ts +68 -0
  71. package/dist/commonjs/models/operations/getpaymentlink.d.ts.map +1 -1
  72. package/dist/commonjs/models/operations/getpaymentlink.js +36 -2
  73. package/dist/commonjs/models/operations/getpaymentlink.js.map +1 -1
  74. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +9 -0
  75. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  76. package/dist/commonjs/models/operations/getpaymentlinkpayments.js +3 -0
  77. package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
  78. package/dist/commonjs/models/operations/getrefund.d.ts +7 -7
  79. package/dist/commonjs/models/operations/getrefund.d.ts.map +1 -1
  80. package/dist/commonjs/models/operations/getrefund.js +8 -8
  81. package/dist/commonjs/models/operations/getrefund.js.map +1 -1
  82. package/dist/commonjs/models/operations/getsubscription.d.ts +40 -40
  83. package/dist/commonjs/models/operations/getsubscription.d.ts.map +1 -1
  84. package/dist/commonjs/models/operations/getsubscription.js +40 -48
  85. package/dist/commonjs/models/operations/getsubscription.js.map +1 -1
  86. package/dist/commonjs/models/operations/getwebhookevent.d.ts +68 -0
  87. package/dist/commonjs/models/operations/getwebhookevent.d.ts.map +1 -1
  88. package/dist/commonjs/models/operations/getwebhookevent.js +38 -3
  89. package/dist/commonjs/models/operations/getwebhookevent.js.map +1 -1
  90. package/dist/commonjs/models/operations/listallmethods.d.ts +18 -0
  91. package/dist/commonjs/models/operations/listallmethods.d.ts.map +1 -1
  92. package/dist/commonjs/models/operations/listallmethods.js +6 -0
  93. package/dist/commonjs/models/operations/listallmethods.js.map +1 -1
  94. package/dist/commonjs/models/operations/listallrefunds.d.ts +9 -15
  95. package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
  96. package/dist/commonjs/models/operations/listallrefunds.js +8 -10
  97. package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
  98. package/dist/commonjs/models/operations/listallsubscriptions.d.ts +532 -2840
  99. package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
  100. package/dist/commonjs/models/operations/listallsubscriptions.js +345 -1609
  101. package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
  102. package/dist/commonjs/models/operations/listcustomerpayments.d.ts +9 -0
  103. package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
  104. package/dist/commonjs/models/operations/listcustomerpayments.js +3 -0
  105. package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
  106. package/dist/commonjs/models/operations/listcustomers.d.ts +22 -22
  107. package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
  108. package/dist/commonjs/models/operations/listcustomers.js +22 -22
  109. package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
  110. package/dist/commonjs/models/operations/listmandates.d.ts +26 -26
  111. package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
  112. package/dist/commonjs/models/operations/listmandates.js +26 -26
  113. package/dist/commonjs/models/operations/listmandates.js.map +1 -1
  114. package/dist/commonjs/models/operations/listmethods.d.ts +18 -0
  115. package/dist/commonjs/models/operations/listmethods.d.ts.map +1 -1
  116. package/dist/commonjs/models/operations/listmethods.js +6 -0
  117. package/dist/commonjs/models/operations/listmethods.js.map +1 -1
  118. package/dist/commonjs/models/operations/listpaymentlinks.d.ts +68 -0
  119. package/dist/commonjs/models/operations/listpaymentlinks.d.ts.map +1 -1
  120. package/dist/commonjs/models/operations/listpaymentlinks.js +37 -2
  121. package/dist/commonjs/models/operations/listpaymentlinks.js.map +1 -1
  122. package/dist/commonjs/models/operations/listpayments.d.ts +9 -0
  123. package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
  124. package/dist/commonjs/models/operations/listpayments.js +3 -0
  125. package/dist/commonjs/models/operations/listpayments.js.map +1 -1
  126. package/dist/commonjs/models/operations/listrefunds.d.ts +7 -7
  127. package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
  128. package/dist/commonjs/models/operations/listrefunds.js +8 -10
  129. package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
  130. package/dist/commonjs/models/operations/listsettlementpayments.d.ts +9 -0
  131. package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
  132. package/dist/commonjs/models/operations/listsettlementpayments.js +3 -0
  133. package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
  134. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +7 -7
  135. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
  136. package/dist/commonjs/models/operations/listsettlementrefunds.js +8 -8
  137. package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
  138. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +9 -0
  139. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  140. package/dist/commonjs/models/operations/listsubscriptionpayments.js +3 -0
  141. package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
  142. package/dist/commonjs/models/operations/listsubscriptions.d.ts +81 -81
  143. package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
  144. package/dist/commonjs/models/operations/listsubscriptions.js +90 -96
  145. package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
  146. package/dist/commonjs/models/operations/paymentcreateroute.d.ts +11 -0
  147. package/dist/commonjs/models/operations/paymentcreateroute.d.ts.map +1 -1
  148. package/dist/commonjs/models/operations/paymentcreateroute.js +2 -0
  149. package/dist/commonjs/models/operations/paymentcreateroute.js.map +1 -1
  150. package/dist/commonjs/models/operations/paymentlistroutes.d.ts +11 -0
  151. package/dist/commonjs/models/operations/paymentlistroutes.d.ts.map +1 -1
  152. package/dist/commonjs/models/operations/paymentlistroutes.js +2 -0
  153. package/dist/commonjs/models/operations/paymentlistroutes.js.map +1 -1
  154. package/dist/commonjs/models/operations/updatecustomer.d.ts +22 -22
  155. package/dist/commonjs/models/operations/updatecustomer.d.ts.map +1 -1
  156. package/dist/commonjs/models/operations/updatecustomer.js +22 -24
  157. package/dist/commonjs/models/operations/updatecustomer.js.map +1 -1
  158. package/dist/commonjs/models/operations/updatepayment.d.ts +18 -0
  159. package/dist/commonjs/models/operations/updatepayment.d.ts.map +1 -1
  160. package/dist/commonjs/models/operations/updatepayment.js +6 -0
  161. package/dist/commonjs/models/operations/updatepayment.js.map +1 -1
  162. package/dist/commonjs/models/operations/updatepaymentlink.d.ts +68 -0
  163. package/dist/commonjs/models/operations/updatepaymentlink.d.ts.map +1 -1
  164. package/dist/commonjs/models/operations/updatepaymentlink.js +38 -3
  165. package/dist/commonjs/models/operations/updatepaymentlink.js.map +1 -1
  166. package/dist/commonjs/models/operations/updatesubscription.d.ts +40 -40
  167. package/dist/commonjs/models/operations/updatesubscription.d.ts.map +1 -1
  168. package/dist/commonjs/models/operations/updatesubscription.js +40 -50
  169. package/dist/commonjs/models/operations/updatesubscription.js.map +1 -1
  170. package/dist/esm/funcs/delayedRoutingList.js +5 -1
  171. package/dist/esm/funcs/delayedRoutingList.js.map +1 -1
  172. package/dist/esm/funcs/subscriptionsAll.d.ts +1 -1
  173. package/dist/esm/funcs/subscriptionsAll.d.ts.map +1 -1
  174. package/dist/esm/funcs/subscriptionsAll.js +2 -5
  175. package/dist/esm/funcs/subscriptionsAll.js.map +1 -1
  176. package/dist/esm/lib/config.d.ts +2 -2
  177. package/dist/esm/lib/config.js +2 -2
  178. package/dist/esm/mcp-server/mcp-server.js +1 -1
  179. package/dist/esm/mcp-server/server.js +1 -1
  180. package/dist/esm/models/errors/listallsubscriptions.d.ts +95 -14
  181. package/dist/esm/models/errors/listallsubscriptions.d.ts.map +1 -1
  182. package/dist/esm/models/errors/listallsubscriptions.js +77 -12
  183. package/dist/esm/models/errors/listallsubscriptions.js.map +1 -1
  184. package/dist/esm/models/operations/cancelpayment.d.ts +9 -0
  185. package/dist/esm/models/operations/cancelpayment.d.ts.map +1 -1
  186. package/dist/esm/models/operations/cancelpayment.js +3 -0
  187. package/dist/esm/models/operations/cancelpayment.js.map +1 -1
  188. package/dist/esm/models/operations/cancelsubscription.d.ts +40 -40
  189. package/dist/esm/models/operations/cancelsubscription.d.ts.map +1 -1
  190. package/dist/esm/models/operations/cancelsubscription.js +40 -48
  191. package/dist/esm/models/operations/cancelsubscription.js.map +1 -1
  192. package/dist/esm/models/operations/createcustomer.d.ts +22 -22
  193. package/dist/esm/models/operations/createcustomer.d.ts.map +1 -1
  194. package/dist/esm/models/operations/createcustomer.js +22 -24
  195. package/dist/esm/models/operations/createcustomer.js.map +1 -1
  196. package/dist/esm/models/operations/createcustomerpayment.d.ts +18 -0
  197. package/dist/esm/models/operations/createcustomerpayment.d.ts.map +1 -1
  198. package/dist/esm/models/operations/createcustomerpayment.js +6 -0
  199. package/dist/esm/models/operations/createcustomerpayment.js.map +1 -1
  200. package/dist/esm/models/operations/createmandate.d.ts +26 -26
  201. package/dist/esm/models/operations/createmandate.d.ts.map +1 -1
  202. package/dist/esm/models/operations/createmandate.js +26 -28
  203. package/dist/esm/models/operations/createmandate.js.map +1 -1
  204. package/dist/esm/models/operations/createpayment.d.ts +18 -0
  205. package/dist/esm/models/operations/createpayment.d.ts.map +1 -1
  206. package/dist/esm/models/operations/createpayment.js +6 -0
  207. package/dist/esm/models/operations/createpayment.js.map +1 -1
  208. package/dist/esm/models/operations/createpaymentlink.d.ts +136 -0
  209. package/dist/esm/models/operations/createpaymentlink.d.ts.map +1 -1
  210. package/dist/esm/models/operations/createpaymentlink.js +70 -0
  211. package/dist/esm/models/operations/createpaymentlink.js.map +1 -1
  212. package/dist/esm/models/operations/createrefund.d.ts +7 -7
  213. package/dist/esm/models/operations/createrefund.d.ts.map +1 -1
  214. package/dist/esm/models/operations/createrefund.js +8 -10
  215. package/dist/esm/models/operations/createrefund.js.map +1 -1
  216. package/dist/esm/models/operations/createsubscription.d.ts +44 -44
  217. package/dist/esm/models/operations/createsubscription.d.ts.map +1 -1
  218. package/dist/esm/models/operations/createsubscription.js +44 -53
  219. package/dist/esm/models/operations/createsubscription.js.map +1 -1
  220. package/dist/esm/models/operations/getcustomer.d.ts +28 -28
  221. package/dist/esm/models/operations/getcustomer.d.ts.map +1 -1
  222. package/dist/esm/models/operations/getcustomer.js +28 -30
  223. package/dist/esm/models/operations/getcustomer.js.map +1 -1
  224. package/dist/esm/models/operations/getmandate.d.ts +26 -26
  225. package/dist/esm/models/operations/getmandate.d.ts.map +1 -1
  226. package/dist/esm/models/operations/getmandate.js +26 -27
  227. package/dist/esm/models/operations/getmandate.js.map +1 -1
  228. package/dist/esm/models/operations/getmethod.d.ts +18 -0
  229. package/dist/esm/models/operations/getmethod.d.ts.map +1 -1
  230. package/dist/esm/models/operations/getmethod.js +6 -0
  231. package/dist/esm/models/operations/getmethod.js.map +1 -1
  232. package/dist/esm/models/operations/getpayment.d.ts +9 -0
  233. package/dist/esm/models/operations/getpayment.d.ts.map +1 -1
  234. package/dist/esm/models/operations/getpayment.js +3 -0
  235. package/dist/esm/models/operations/getpayment.js.map +1 -1
  236. package/dist/esm/models/operations/getpaymentlink.d.ts +68 -0
  237. package/dist/esm/models/operations/getpaymentlink.d.ts.map +1 -1
  238. package/dist/esm/models/operations/getpaymentlink.js +34 -0
  239. package/dist/esm/models/operations/getpaymentlink.js.map +1 -1
  240. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +9 -0
  241. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  242. package/dist/esm/models/operations/getpaymentlinkpayments.js +3 -0
  243. package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
  244. package/dist/esm/models/operations/getrefund.d.ts +7 -7
  245. package/dist/esm/models/operations/getrefund.d.ts.map +1 -1
  246. package/dist/esm/models/operations/getrefund.js +8 -8
  247. package/dist/esm/models/operations/getrefund.js.map +1 -1
  248. package/dist/esm/models/operations/getsubscription.d.ts +40 -40
  249. package/dist/esm/models/operations/getsubscription.d.ts.map +1 -1
  250. package/dist/esm/models/operations/getsubscription.js +40 -48
  251. package/dist/esm/models/operations/getsubscription.js.map +1 -1
  252. package/dist/esm/models/operations/getwebhookevent.d.ts +68 -0
  253. package/dist/esm/models/operations/getwebhookevent.d.ts.map +1 -1
  254. package/dist/esm/models/operations/getwebhookevent.js +35 -0
  255. package/dist/esm/models/operations/getwebhookevent.js.map +1 -1
  256. package/dist/esm/models/operations/listallmethods.d.ts +18 -0
  257. package/dist/esm/models/operations/listallmethods.d.ts.map +1 -1
  258. package/dist/esm/models/operations/listallmethods.js +6 -0
  259. package/dist/esm/models/operations/listallmethods.js.map +1 -1
  260. package/dist/esm/models/operations/listallrefunds.d.ts +9 -15
  261. package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
  262. package/dist/esm/models/operations/listallrefunds.js +8 -10
  263. package/dist/esm/models/operations/listallrefunds.js.map +1 -1
  264. package/dist/esm/models/operations/listallsubscriptions.d.ts +532 -2840
  265. package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
  266. package/dist/esm/models/operations/listallsubscriptions.js +325 -1530
  267. package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
  268. package/dist/esm/models/operations/listcustomerpayments.d.ts +9 -0
  269. package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
  270. package/dist/esm/models/operations/listcustomerpayments.js +3 -0
  271. package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
  272. package/dist/esm/models/operations/listcustomers.d.ts +22 -22
  273. package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
  274. package/dist/esm/models/operations/listcustomers.js +22 -22
  275. package/dist/esm/models/operations/listcustomers.js.map +1 -1
  276. package/dist/esm/models/operations/listmandates.d.ts +26 -26
  277. package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
  278. package/dist/esm/models/operations/listmandates.js +26 -26
  279. package/dist/esm/models/operations/listmandates.js.map +1 -1
  280. package/dist/esm/models/operations/listmethods.d.ts +18 -0
  281. package/dist/esm/models/operations/listmethods.d.ts.map +1 -1
  282. package/dist/esm/models/operations/listmethods.js +6 -0
  283. package/dist/esm/models/operations/listmethods.js.map +1 -1
  284. package/dist/esm/models/operations/listpaymentlinks.d.ts +68 -0
  285. package/dist/esm/models/operations/listpaymentlinks.d.ts.map +1 -1
  286. package/dist/esm/models/operations/listpaymentlinks.js +35 -0
  287. package/dist/esm/models/operations/listpaymentlinks.js.map +1 -1
  288. package/dist/esm/models/operations/listpayments.d.ts +9 -0
  289. package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
  290. package/dist/esm/models/operations/listpayments.js +3 -0
  291. package/dist/esm/models/operations/listpayments.js.map +1 -1
  292. package/dist/esm/models/operations/listrefunds.d.ts +7 -7
  293. package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
  294. package/dist/esm/models/operations/listrefunds.js +8 -10
  295. package/dist/esm/models/operations/listrefunds.js.map +1 -1
  296. package/dist/esm/models/operations/listsettlementpayments.d.ts +9 -0
  297. package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
  298. package/dist/esm/models/operations/listsettlementpayments.js +3 -0
  299. package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
  300. package/dist/esm/models/operations/listsettlementrefunds.d.ts +7 -7
  301. package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
  302. package/dist/esm/models/operations/listsettlementrefunds.js +8 -8
  303. package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
  304. package/dist/esm/models/operations/listsubscriptionpayments.d.ts +9 -0
  305. package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  306. package/dist/esm/models/operations/listsubscriptionpayments.js +3 -0
  307. package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
  308. package/dist/esm/models/operations/listsubscriptions.d.ts +81 -81
  309. package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
  310. package/dist/esm/models/operations/listsubscriptions.js +83 -89
  311. package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
  312. package/dist/esm/models/operations/paymentcreateroute.d.ts +11 -0
  313. package/dist/esm/models/operations/paymentcreateroute.d.ts.map +1 -1
  314. package/dist/esm/models/operations/paymentcreateroute.js +2 -0
  315. package/dist/esm/models/operations/paymentcreateroute.js.map +1 -1
  316. package/dist/esm/models/operations/paymentlistroutes.d.ts +11 -0
  317. package/dist/esm/models/operations/paymentlistroutes.d.ts.map +1 -1
  318. package/dist/esm/models/operations/paymentlistroutes.js +2 -0
  319. package/dist/esm/models/operations/paymentlistroutes.js.map +1 -1
  320. package/dist/esm/models/operations/updatecustomer.d.ts +22 -22
  321. package/dist/esm/models/operations/updatecustomer.d.ts.map +1 -1
  322. package/dist/esm/models/operations/updatecustomer.js +22 -24
  323. package/dist/esm/models/operations/updatecustomer.js.map +1 -1
  324. package/dist/esm/models/operations/updatepayment.d.ts +18 -0
  325. package/dist/esm/models/operations/updatepayment.d.ts.map +1 -1
  326. package/dist/esm/models/operations/updatepayment.js +6 -0
  327. package/dist/esm/models/operations/updatepayment.js.map +1 -1
  328. package/dist/esm/models/operations/updatepaymentlink.d.ts +68 -0
  329. package/dist/esm/models/operations/updatepaymentlink.d.ts.map +1 -1
  330. package/dist/esm/models/operations/updatepaymentlink.js +35 -0
  331. package/dist/esm/models/operations/updatepaymentlink.js.map +1 -1
  332. package/dist/esm/models/operations/updatesubscription.d.ts +40 -40
  333. package/dist/esm/models/operations/updatesubscription.d.ts.map +1 -1
  334. package/dist/esm/models/operations/updatesubscription.js +40 -50
  335. package/dist/esm/models/operations/updatesubscription.js.map +1 -1
  336. package/docs/sdks/delayedrouting/README.md +4 -0
  337. package/docs/sdks/paymentlinks/README.md +4 -0
  338. package/docs/sdks/subscriptions/README.md +5 -4
  339. package/examples/package-lock.json +1 -1
  340. package/jsr.json +1 -1
  341. package/package.json +1 -1
  342. package/src/funcs/delayedRoutingList.ts +6 -1
  343. package/src/funcs/subscriptionsAll.ts +17 -8
  344. package/src/lib/config.ts +2 -2
  345. package/src/mcp-server/mcp-server.ts +1 -1
  346. package/src/mcp-server/server.ts +1 -1
  347. package/src/models/errors/listallsubscriptions.ts +173 -23
  348. package/src/models/operations/cancelpayment.ts +3 -0
  349. package/src/models/operations/cancelsubscription.ts +80 -98
  350. package/src/models/operations/createcustomer.ts +45 -53
  351. package/src/models/operations/createcustomerpayment.ts +6 -0
  352. package/src/models/operations/createmandate.ts +52 -54
  353. package/src/models/operations/createpayment.ts +6 -0
  354. package/src/models/operations/createpaymentlink.ts +162 -0
  355. package/src/models/operations/createrefund.ts +15 -17
  356. package/src/models/operations/createsubscription.ts +89 -104
  357. package/src/models/operations/getcustomer.ts +56 -63
  358. package/src/models/operations/getmandate.ts +52 -53
  359. package/src/models/operations/getmethod.ts +6 -0
  360. package/src/models/operations/getpayment.ts +3 -0
  361. package/src/models/operations/getpaymentlink.ts +77 -0
  362. package/src/models/operations/getpaymentlinkpayments.ts +3 -0
  363. package/src/models/operations/getrefund.ts +15 -15
  364. package/src/models/operations/getsubscription.ts +80 -98
  365. package/src/models/operations/getwebhookevent.ts +78 -0
  366. package/src/models/operations/listallmethods.ts +6 -0
  367. package/src/models/operations/listallrefunds.ts +17 -25
  368. package/src/models/operations/listallsubscriptions.ts +894 -4392
  369. package/src/models/operations/listcustomerpayments.ts +3 -0
  370. package/src/models/operations/listcustomers.ts +44 -49
  371. package/src/models/operations/listmandates.ts +52 -52
  372. package/src/models/operations/listmethods.ts +6 -0
  373. package/src/models/operations/listpaymentlinks.ts +78 -0
  374. package/src/models/operations/listpayments.ts +3 -0
  375. package/src/models/operations/listrefunds.ts +15 -17
  376. package/src/models/operations/listsettlementpayments.ts +3 -0
  377. package/src/models/operations/listsettlementrefunds.ts +15 -15
  378. package/src/models/operations/listsubscriptionpayments.ts +3 -0
  379. package/src/models/operations/listsubscriptions.ts +181 -176
  380. package/src/models/operations/paymentcreateroute.ts +13 -0
  381. package/src/models/operations/paymentlistroutes.ts +13 -0
  382. package/src/models/operations/updatecustomer.ts +45 -53
  383. package/src/models/operations/updatepayment.ts +6 -0
  384. package/src/models/operations/updatepaymentlink.ts +78 -0
  385. package/src/models/operations/updatesubscription.ts +81 -97
package/bin/mcp-server.js CHANGED
@@ -34269,9 +34269,9 @@ var init_config = __esm(() => {
34269
34269
  SDK_METADATA = {
34270
34270
  language: "typescript",
34271
34271
  openapiDocVersion: "1.0.0",
34272
- sdkVersion: "0.0.4",
34272
+ sdkVersion: "0.0.6",
34273
34273
  genVersion: "2.672.0",
34274
- userAgent: "speakeasy-sdk/typescript 0.0.4 2.672.0 1.0.0 mollie-api-typescript"
34274
+ userAgent: "speakeasy-sdk/typescript 0.0.6 2.672.0 1.0.0 mollie-api-typescript"
34275
34275
  };
34276
34276
  });
34277
34277
 
@@ -35815,6 +35815,9 @@ var init_cancelpayment = __esm(() => {
35815
35815
  In3: "in3",
35816
35816
  Kbc: "kbc",
35817
35817
  Klarna: "klarna",
35818
+ Klarnapaylater: "klarnapaylater",
35819
+ Klarnapaynow: "klarnapaynow",
35820
+ Klarnasliceit: "klarnasliceit",
35818
35821
  Mbway: "mbway",
35819
35822
  Multibanco: "multibanco",
35820
35823
  Mybank: "mybank",
@@ -36899,12 +36902,12 @@ var init_cancelsubscription = __esm(() => {
36899
36902
  CancelSubscriptionApplicationFeeAmount$.outboundSchema = CancelSubscriptionApplicationFeeAmount$outboundSchema;
36900
36903
  })(CancelSubscriptionApplicationFeeAmount$ ||= {});
36901
36904
  CancelSubscriptionApplicationFee$inboundSchema = objectType({
36902
- amount: lazyType(() => CancelSubscriptionApplicationFeeAmount$inboundSchema).optional(),
36903
- description: stringType().optional()
36905
+ amount: lazyType(() => CancelSubscriptionApplicationFeeAmount$inboundSchema),
36906
+ description: stringType()
36904
36907
  });
36905
36908
  CancelSubscriptionApplicationFee$outboundSchema = objectType({
36906
- amount: lazyType(() => CancelSubscriptionApplicationFeeAmount$outboundSchema).optional(),
36907
- description: stringType().optional()
36909
+ amount: lazyType(() => CancelSubscriptionApplicationFeeAmount$outboundSchema),
36910
+ description: stringType()
36908
36911
  });
36909
36912
  ((CancelSubscriptionApplicationFee$) => {
36910
36913
  CancelSubscriptionApplicationFee$.inboundSchema = CancelSubscriptionApplicationFee$inboundSchema;
@@ -37003,20 +37006,20 @@ var init_cancelsubscription = __esm(() => {
37003
37006
  CancelSubscriptionDocumentation$.outboundSchema = CancelSubscriptionDocumentation$outboundSchema;
37004
37007
  })(CancelSubscriptionDocumentation$ ||= {});
37005
37008
  CancelSubscriptionLinks$inboundSchema = objectType({
37006
- self: lazyType(() => CancelSubscriptionSelf$inboundSchema).optional(),
37007
- customer: nullableType(lazyType(() => CancelSubscriptionCustomer$inboundSchema)).optional(),
37009
+ self: lazyType(() => CancelSubscriptionSelf$inboundSchema),
37010
+ customer: nullableType(lazyType(() => CancelSubscriptionCustomer$inboundSchema)),
37008
37011
  mandate: nullableType(lazyType(() => CancelSubscriptionMandate$inboundSchema)).optional(),
37009
- profile: nullableType(lazyType(() => CancelSubscriptionProfile$inboundSchema)).optional(),
37012
+ profile: nullableType(lazyType(() => CancelSubscriptionProfile$inboundSchema)),
37010
37013
  payments: nullableType(lazyType(() => CancelSubscriptionPayments$inboundSchema)).optional(),
37011
- documentation: lazyType(() => CancelSubscriptionDocumentation$inboundSchema).optional()
37014
+ documentation: lazyType(() => CancelSubscriptionDocumentation$inboundSchema)
37012
37015
  });
37013
37016
  CancelSubscriptionLinks$outboundSchema = objectType({
37014
- self: lazyType(() => CancelSubscriptionSelf$outboundSchema).optional(),
37015
- customer: nullableType(lazyType(() => CancelSubscriptionCustomer$outboundSchema)).optional(),
37017
+ self: lazyType(() => CancelSubscriptionSelf$outboundSchema),
37018
+ customer: nullableType(lazyType(() => CancelSubscriptionCustomer$outboundSchema)),
37016
37019
  mandate: nullableType(lazyType(() => CancelSubscriptionMandate$outboundSchema)).optional(),
37017
- profile: nullableType(lazyType(() => CancelSubscriptionProfile$outboundSchema)).optional(),
37020
+ profile: nullableType(lazyType(() => CancelSubscriptionProfile$outboundSchema)),
37018
37021
  payments: nullableType(lazyType(() => CancelSubscriptionPayments$outboundSchema)).optional(),
37019
- documentation: lazyType(() => CancelSubscriptionDocumentation$outboundSchema).optional()
37022
+ documentation: lazyType(() => CancelSubscriptionDocumentation$outboundSchema)
37020
37023
  });
37021
37024
  ((CancelSubscriptionLinks$) => {
37022
37025
  CancelSubscriptionLinks$.inboundSchema = CancelSubscriptionLinks$inboundSchema;
@@ -37024,27 +37027,27 @@ var init_cancelsubscription = __esm(() => {
37024
37027
  })(CancelSubscriptionLinks$ ||= {});
37025
37028
  CancelSubscriptionResponse$inboundSchema = objectType({
37026
37029
  resource: stringType().default("subscription"),
37027
- id: stringType().optional(),
37028
- mode: CancelSubscriptionMode$inboundSchema.optional(),
37029
- status: CancelSubscriptionStatus$inboundSchema.optional(),
37030
- amount: lazyType(() => CancelSubscriptionAmount$inboundSchema).optional(),
37031
- times: nullableType(numberType().int()).optional(),
37032
- timesRemaining: numberType().int().optional(),
37033
- interval: CancelSubscriptionInterval$inboundSchema.optional(),
37034
- startDate: stringType().optional(),
37030
+ id: stringType(),
37031
+ mode: CancelSubscriptionMode$inboundSchema,
37032
+ status: CancelSubscriptionStatus$inboundSchema,
37033
+ amount: lazyType(() => CancelSubscriptionAmount$inboundSchema),
37034
+ times: nullableType(numberType().int()),
37035
+ timesRemaining: numberType().int(),
37036
+ interval: CancelSubscriptionInterval$inboundSchema,
37037
+ startDate: stringType(),
37035
37038
  nextPaymentDate: nullableType(stringType()).optional(),
37036
- description: stringType().optional(),
37037
- method: nullableType(CancelSubscriptionMethod$inboundSchema).optional(),
37039
+ description: stringType(),
37040
+ method: nullableType(CancelSubscriptionMethod$inboundSchema),
37038
37041
  applicationFee: lazyType(() => CancelSubscriptionApplicationFee$inboundSchema).optional(),
37039
37042
  metadata: nullableType(unionType([
37040
37043
  lazyType(() => CancelSubscriptionMetadata$inboundSchema),
37041
37044
  stringType(),
37042
37045
  arrayType(stringType())
37043
- ])).optional(),
37044
- webhookUrl: stringType().optional(),
37045
- customerId: stringType().optional(),
37046
+ ])),
37047
+ webhookUrl: stringType(),
37048
+ customerId: stringType(),
37046
37049
  mandateId: nullableType(stringType()).optional(),
37047
- createdAt: stringType().optional(),
37050
+ createdAt: stringType(),
37048
37051
  canceledAt: nullableType(stringType()).optional(),
37049
37052
  _links: lazyType(() => CancelSubscriptionLinks$inboundSchema).optional()
37050
37053
  }).transform((v2) => {
@@ -37054,27 +37057,27 @@ var init_cancelsubscription = __esm(() => {
37054
37057
  });
37055
37058
  CancelSubscriptionResponse$outboundSchema = objectType({
37056
37059
  resource: stringType().default("subscription"),
37057
- id: stringType().optional(),
37058
- mode: CancelSubscriptionMode$outboundSchema.optional(),
37059
- status: CancelSubscriptionStatus$outboundSchema.optional(),
37060
- amount: lazyType(() => CancelSubscriptionAmount$outboundSchema).optional(),
37061
- times: nullableType(numberType().int()).optional(),
37062
- timesRemaining: numberType().int().optional(),
37063
- interval: CancelSubscriptionInterval$outboundSchema.optional(),
37064
- startDate: stringType().optional(),
37060
+ id: stringType(),
37061
+ mode: CancelSubscriptionMode$outboundSchema,
37062
+ status: CancelSubscriptionStatus$outboundSchema,
37063
+ amount: lazyType(() => CancelSubscriptionAmount$outboundSchema),
37064
+ times: nullableType(numberType().int()),
37065
+ timesRemaining: numberType().int(),
37066
+ interval: CancelSubscriptionInterval$outboundSchema,
37067
+ startDate: stringType(),
37065
37068
  nextPaymentDate: nullableType(stringType()).optional(),
37066
- description: stringType().optional(),
37067
- method: nullableType(CancelSubscriptionMethod$outboundSchema).optional(),
37069
+ description: stringType(),
37070
+ method: nullableType(CancelSubscriptionMethod$outboundSchema),
37068
37071
  applicationFee: lazyType(() => CancelSubscriptionApplicationFee$outboundSchema).optional(),
37069
37072
  metadata: nullableType(unionType([
37070
37073
  lazyType(() => CancelSubscriptionMetadata$outboundSchema),
37071
37074
  stringType(),
37072
37075
  arrayType(stringType())
37073
- ])).optional(),
37074
- webhookUrl: stringType().optional(),
37075
- customerId: stringType().optional(),
37076
+ ])),
37077
+ webhookUrl: stringType(),
37078
+ customerId: stringType(),
37076
37079
  mandateId: nullableType(stringType()).optional(),
37077
- createdAt: stringType().optional(),
37080
+ createdAt: stringType(),
37078
37081
  canceledAt: nullableType(stringType()).optional(),
37079
37082
  links: lazyType(() => CancelSubscriptionLinks$outboundSchema).optional()
37080
37083
  }).transform((v2) => {
@@ -37845,20 +37848,20 @@ var init_createcustomer = __esm(() => {
37845
37848
  CreateCustomerDocumentation$.outboundSchema = CreateCustomerDocumentation$outboundSchema;
37846
37849
  })(CreateCustomerDocumentation$ ||= {});
37847
37850
  CreateCustomerLinks$inboundSchema = objectType({
37848
- self: lazyType(() => CreateCustomerSelf$inboundSchema).optional(),
37849
- dashboard: lazyType(() => CreateCustomerDashboard$inboundSchema).optional(),
37851
+ self: lazyType(() => CreateCustomerSelf$inboundSchema),
37852
+ dashboard: lazyType(() => CreateCustomerDashboard$inboundSchema),
37850
37853
  payments: nullableType(lazyType(() => CreateCustomerPayments$inboundSchema)).optional(),
37851
37854
  mandates: nullableType(lazyType(() => CreateCustomerMandates$inboundSchema)).optional(),
37852
37855
  subscriptions: nullableType(lazyType(() => CreateCustomerSubscriptions$inboundSchema)).optional(),
37853
- documentation: lazyType(() => CreateCustomerDocumentation$inboundSchema).optional()
37856
+ documentation: lazyType(() => CreateCustomerDocumentation$inboundSchema)
37854
37857
  });
37855
37858
  CreateCustomerLinks$outboundSchema = objectType({
37856
- self: lazyType(() => CreateCustomerSelf$outboundSchema).optional(),
37857
- dashboard: lazyType(() => CreateCustomerDashboard$outboundSchema).optional(),
37859
+ self: lazyType(() => CreateCustomerSelf$outboundSchema),
37860
+ dashboard: lazyType(() => CreateCustomerDashboard$outboundSchema),
37858
37861
  payments: nullableType(lazyType(() => CreateCustomerPayments$outboundSchema)).optional(),
37859
37862
  mandates: nullableType(lazyType(() => CreateCustomerMandates$outboundSchema)).optional(),
37860
37863
  subscriptions: nullableType(lazyType(() => CreateCustomerSubscriptions$outboundSchema)).optional(),
37861
- documentation: lazyType(() => CreateCustomerDocumentation$outboundSchema).optional()
37864
+ documentation: lazyType(() => CreateCustomerDocumentation$outboundSchema)
37862
37865
  });
37863
37866
  ((CreateCustomerLinks$) => {
37864
37867
  CreateCustomerLinks$.inboundSchema = CreateCustomerLinks$inboundSchema;
@@ -37866,18 +37869,18 @@ var init_createcustomer = __esm(() => {
37866
37869
  })(CreateCustomerLinks$ ||= {});
37867
37870
  CreateCustomerResponse$inboundSchema = objectType({
37868
37871
  resource: stringType().default("customer"),
37869
- id: stringType().optional(),
37870
- mode: CreateCustomerMode$inboundSchema.optional(),
37871
- name: nullableType(stringType()).optional(),
37872
- email: nullableType(stringType()).optional(),
37873
- locale: nullableType(CreateCustomerLocaleResponse$inboundSchema).optional(),
37872
+ id: stringType(),
37873
+ mode: CreateCustomerMode$inboundSchema,
37874
+ name: nullableType(stringType()),
37875
+ email: nullableType(stringType()),
37876
+ locale: nullableType(CreateCustomerLocaleResponse$inboundSchema),
37874
37877
  metadata: nullableType(unionType([
37875
37878
  lazyType(() => CreateCustomerMetadataResponse$inboundSchema),
37876
37879
  stringType(),
37877
37880
  arrayType(stringType())
37878
- ])).optional(),
37879
- createdAt: stringType().optional(),
37880
- _links: lazyType(() => CreateCustomerLinks$inboundSchema).optional()
37881
+ ])),
37882
+ createdAt: stringType(),
37883
+ _links: lazyType(() => CreateCustomerLinks$inboundSchema)
37881
37884
  }).transform((v2) => {
37882
37885
  return remap(v2, {
37883
37886
  _links: "links"
@@ -37885,18 +37888,18 @@ var init_createcustomer = __esm(() => {
37885
37888
  });
37886
37889
  CreateCustomerResponse$outboundSchema = objectType({
37887
37890
  resource: stringType().default("customer"),
37888
- id: stringType().optional(),
37889
- mode: CreateCustomerMode$outboundSchema.optional(),
37890
- name: nullableType(stringType()).optional(),
37891
- email: nullableType(stringType()).optional(),
37892
- locale: nullableType(CreateCustomerLocaleResponse$outboundSchema).optional(),
37891
+ id: stringType(),
37892
+ mode: CreateCustomerMode$outboundSchema,
37893
+ name: nullableType(stringType()),
37894
+ email: nullableType(stringType()),
37895
+ locale: nullableType(CreateCustomerLocaleResponse$outboundSchema),
37893
37896
  metadata: nullableType(unionType([
37894
37897
  lazyType(() => CreateCustomerMetadataResponse$outboundSchema),
37895
37898
  stringType(),
37896
37899
  arrayType(stringType())
37897
- ])).optional(),
37898
- createdAt: stringType().optional(),
37899
- links: lazyType(() => CreateCustomerLinks$outboundSchema).optional()
37900
+ ])),
37901
+ createdAt: stringType(),
37902
+ links: lazyType(() => CreateCustomerLinks$outboundSchema)
37900
37903
  }).transform((v2) => {
37901
37904
  return remap(v2, {
37902
37905
  links: "_links"
@@ -37977,6 +37980,9 @@ var init_createcustomerpayment = __esm(() => {
37977
37980
  In3: "in3",
37978
37981
  Kbc: "kbc",
37979
37982
  Klarna: "klarna",
37983
+ Klarnapaylater: "klarnapaylater",
37984
+ Klarnapaynow: "klarnapaynow",
37985
+ Klarnasliceit: "klarnasliceit",
37980
37986
  Mbway: "mbway",
37981
37987
  Multibanco: "multibanco",
37982
37988
  Mybank: "mybank",
@@ -38073,6 +38079,9 @@ var init_createcustomerpayment = __esm(() => {
38073
38079
  In3: "in3",
38074
38080
  Kbc: "kbc",
38075
38081
  Klarna: "klarna",
38082
+ Klarnapaylater: "klarnapaylater",
38083
+ Klarnapaynow: "klarnapaynow",
38084
+ Klarnasliceit: "klarnasliceit",
38076
38085
  Mbway: "mbway",
38077
38086
  Multibanco: "multibanco",
38078
38087
  Mybank: "mybank",
@@ -39605,14 +39614,14 @@ var init_createmandate = __esm(() => {
39605
39614
  CreateMandateDocumentation$.outboundSchema = CreateMandateDocumentation$outboundSchema;
39606
39615
  })(CreateMandateDocumentation$ ||= {});
39607
39616
  CreateMandateLinks$inboundSchema = objectType({
39608
- self: lazyType(() => CreateMandateSelf$inboundSchema).optional(),
39609
- customer: lazyType(() => CreateMandateCustomer$inboundSchema).optional(),
39610
- documentation: lazyType(() => CreateMandateDocumentation$inboundSchema).optional()
39617
+ self: lazyType(() => CreateMandateSelf$inboundSchema),
39618
+ customer: lazyType(() => CreateMandateCustomer$inboundSchema),
39619
+ documentation: lazyType(() => CreateMandateDocumentation$inboundSchema)
39611
39620
  });
39612
39621
  CreateMandateLinks$outboundSchema = objectType({
39613
- self: lazyType(() => CreateMandateSelf$outboundSchema).optional(),
39614
- customer: lazyType(() => CreateMandateCustomer$outboundSchema).optional(),
39615
- documentation: lazyType(() => CreateMandateDocumentation$outboundSchema).optional()
39622
+ self: lazyType(() => CreateMandateSelf$outboundSchema),
39623
+ customer: lazyType(() => CreateMandateCustomer$outboundSchema),
39624
+ documentation: lazyType(() => CreateMandateDocumentation$outboundSchema)
39616
39625
  });
39617
39626
  ((CreateMandateLinks$) => {
39618
39627
  CreateMandateLinks$.inboundSchema = CreateMandateLinks$inboundSchema;
@@ -39620,16 +39629,16 @@ var init_createmandate = __esm(() => {
39620
39629
  })(CreateMandateLinks$ ||= {});
39621
39630
  CreateMandateResponse$inboundSchema = objectType({
39622
39631
  resource: stringType().default("mandate"),
39623
- id: stringType().optional(),
39624
- mode: CreateMandateMode$inboundSchema.optional(),
39625
- method: CreateMandateMethodResponse$inboundSchema.optional(),
39626
- details: lazyType(() => CreateMandateDetails$inboundSchema).optional(),
39627
- signatureDate: nullableType(stringType()).optional(),
39628
- mandateReference: nullableType(stringType()).optional(),
39629
- status: CreateMandateStatus$inboundSchema.optional(),
39630
- customerId: stringType().optional(),
39631
- createdAt: stringType().optional(),
39632
- _links: lazyType(() => CreateMandateLinks$inboundSchema).optional()
39632
+ id: stringType(),
39633
+ mode: CreateMandateMode$inboundSchema,
39634
+ method: CreateMandateMethodResponse$inboundSchema,
39635
+ details: lazyType(() => CreateMandateDetails$inboundSchema),
39636
+ signatureDate: nullableType(stringType()),
39637
+ mandateReference: nullableType(stringType()),
39638
+ status: CreateMandateStatus$inboundSchema,
39639
+ customerId: stringType(),
39640
+ createdAt: stringType(),
39641
+ _links: lazyType(() => CreateMandateLinks$inboundSchema)
39633
39642
  }).transform((v2) => {
39634
39643
  return remap(v2, {
39635
39644
  _links: "links"
@@ -39637,16 +39646,16 @@ var init_createmandate = __esm(() => {
39637
39646
  });
39638
39647
  CreateMandateResponse$outboundSchema = objectType({
39639
39648
  resource: stringType().default("mandate"),
39640
- id: stringType().optional(),
39641
- mode: CreateMandateMode$outboundSchema.optional(),
39642
- method: CreateMandateMethodResponse$outboundSchema.optional(),
39643
- details: lazyType(() => CreateMandateDetails$outboundSchema).optional(),
39644
- signatureDate: nullableType(stringType()).optional(),
39645
- mandateReference: nullableType(stringType()).optional(),
39646
- status: CreateMandateStatus$outboundSchema.optional(),
39647
- customerId: stringType().optional(),
39648
- createdAt: stringType().optional(),
39649
- links: lazyType(() => CreateMandateLinks$outboundSchema).optional()
39649
+ id: stringType(),
39650
+ mode: CreateMandateMode$outboundSchema,
39651
+ method: CreateMandateMethodResponse$outboundSchema,
39652
+ details: lazyType(() => CreateMandateDetails$outboundSchema),
39653
+ signatureDate: nullableType(stringType()),
39654
+ mandateReference: nullableType(stringType()),
39655
+ status: CreateMandateStatus$outboundSchema,
39656
+ customerId: stringType(),
39657
+ createdAt: stringType(),
39658
+ links: lazyType(() => CreateMandateLinks$outboundSchema)
39650
39659
  }).transform((v2) => {
39651
39660
  return remap(v2, {
39652
39661
  links: "_links"
@@ -39730,6 +39739,9 @@ var init_createpayment = __esm(() => {
39730
39739
  In3: "in3",
39731
39740
  Kbc: "kbc",
39732
39741
  Klarna: "klarna",
39742
+ Klarnapaylater: "klarnapaylater",
39743
+ Klarnapaynow: "klarnapaynow",
39744
+ Klarnasliceit: "klarnasliceit",
39733
39745
  Mbway: "mbway",
39734
39746
  Multibanco: "multibanco",
39735
39747
  Mybank: "mybank",
@@ -39826,6 +39838,9 @@ var init_createpayment = __esm(() => {
39826
39838
  In3: "in3",
39827
39839
  Kbc: "kbc",
39828
39840
  Klarna: "klarna",
39841
+ Klarnapaylater: "klarnapaylater",
39842
+ Klarnapaynow: "klarnapaynow",
39843
+ Klarnasliceit: "klarnasliceit",
39829
39844
  Mbway: "mbway",
39830
39845
  Multibanco: "multibanco",
39831
39846
  Mybank: "mybank",
@@ -41164,7 +41179,7 @@ var init_createpayment = __esm(() => {
41164
41179
  });
41165
41180
 
41166
41181
  // src/models/operations/createpaymentlink.ts
41167
- var CreatePaymentLinkTypeRequest, CreatePaymentLinkCategoryRequest, CreatePaymentLinkMode, CreatePaymentLinkTypeResponse, CreatePaymentLinkCategoryResponse, CreatePaymentLinkAmountRequest$inboundSchema, CreatePaymentLinkAmountRequest$outboundSchema, CreatePaymentLinkAmountRequest$, CreatePaymentLinkMinimumAmountRequest$inboundSchema, CreatePaymentLinkMinimumAmountRequest$outboundSchema, CreatePaymentLinkMinimumAmountRequest$, CreatePaymentLinkTypeRequest$inboundSchema, CreatePaymentLinkTypeRequest$outboundSchema, CreatePaymentLinkTypeRequest$, CreatePaymentLinkUnitPriceRequest$inboundSchema, CreatePaymentLinkUnitPriceRequest$outboundSchema, CreatePaymentLinkUnitPriceRequest$, CreatePaymentLinkDiscountAmountRequest$inboundSchema, CreatePaymentLinkDiscountAmountRequest$outboundSchema, CreatePaymentLinkDiscountAmountRequest$, CreatePaymentLinkTotalAmountRequest$inboundSchema, CreatePaymentLinkTotalAmountRequest$outboundSchema, CreatePaymentLinkTotalAmountRequest$, CreatePaymentLinkVatAmountRequest$inboundSchema, CreatePaymentLinkVatAmountRequest$outboundSchema, CreatePaymentLinkVatAmountRequest$, CreatePaymentLinkCategoryRequest$inboundSchema, CreatePaymentLinkCategoryRequest$outboundSchema, CreatePaymentLinkCategoryRequest$, CreatePaymentLinkLineRequest$inboundSchema, CreatePaymentLinkLineRequest$outboundSchema, CreatePaymentLinkLineRequest$, CreatePaymentLinkBillingAddressRequest$inboundSchema, CreatePaymentLinkBillingAddressRequest$outboundSchema, CreatePaymentLinkBillingAddressRequest$, CreatePaymentLinkShippingAddressRequest$inboundSchema, CreatePaymentLinkShippingAddressRequest$outboundSchema, CreatePaymentLinkShippingAddressRequest$, CreatePaymentLinkApplicationFeeAmountRequest$inboundSchema, CreatePaymentLinkApplicationFeeAmountRequest$outboundSchema, CreatePaymentLinkApplicationFeeAmountRequest$, CreatePaymentLinkApplicationFeeRequest$inboundSchema, CreatePaymentLinkApplicationFeeRequest$outboundSchema, CreatePaymentLinkApplicationFeeRequest$, CreatePaymentLinkRequest$inboundSchema, CreatePaymentLinkRequest$outboundSchema, CreatePaymentLinkRequest$, CreatePaymentLinkUnprocessableEntityDocumentation$inboundSchema, CreatePaymentLinkUnprocessableEntityDocumentation$outboundSchema, CreatePaymentLinkUnprocessableEntityDocumentation$, CreatePaymentLinkUnprocessableEntityLinks$inboundSchema, CreatePaymentLinkUnprocessableEntityLinks$outboundSchema, CreatePaymentLinkUnprocessableEntityLinks$, CreatePaymentLinkNotFoundDocumentation$inboundSchema, CreatePaymentLinkNotFoundDocumentation$outboundSchema, CreatePaymentLinkNotFoundDocumentation$, CreatePaymentLinkNotFoundLinks$inboundSchema, CreatePaymentLinkNotFoundLinks$outboundSchema, CreatePaymentLinkNotFoundLinks$, CreatePaymentLinkMode$inboundSchema, CreatePaymentLinkMode$outboundSchema, CreatePaymentLinkMode$, CreatePaymentLinkAmountResponse$inboundSchema, CreatePaymentLinkAmountResponse$outboundSchema, CreatePaymentLinkAmountResponse$, CreatePaymentLinkMinimumAmountResponse$inboundSchema, CreatePaymentLinkMinimumAmountResponse$outboundSchema, CreatePaymentLinkMinimumAmountResponse$, CreatePaymentLinkTypeResponse$inboundSchema, CreatePaymentLinkTypeResponse$outboundSchema, CreatePaymentLinkTypeResponse$, CreatePaymentLinkUnitPriceResponse$inboundSchema, CreatePaymentLinkUnitPriceResponse$outboundSchema, CreatePaymentLinkUnitPriceResponse$, CreatePaymentLinkDiscountAmountResponse$inboundSchema, CreatePaymentLinkDiscountAmountResponse$outboundSchema, CreatePaymentLinkDiscountAmountResponse$, CreatePaymentLinkTotalAmountResponse$inboundSchema, CreatePaymentLinkTotalAmountResponse$outboundSchema, CreatePaymentLinkTotalAmountResponse$, CreatePaymentLinkVatAmountResponse$inboundSchema, CreatePaymentLinkVatAmountResponse$outboundSchema, CreatePaymentLinkVatAmountResponse$, CreatePaymentLinkCategoryResponse$inboundSchema, CreatePaymentLinkCategoryResponse$outboundSchema, CreatePaymentLinkCategoryResponse$, CreatePaymentLinkLineResponse$inboundSchema, CreatePaymentLinkLineResponse$outboundSchema, CreatePaymentLinkLineResponse$, CreatePaymentLinkBillingAddressResponse$inboundSchema, CreatePaymentLinkBillingAddressResponse$outboundSchema, CreatePaymentLinkBillingAddressResponse$, CreatePaymentLinkShippingAddressResponse$inboundSchema, CreatePaymentLinkShippingAddressResponse$outboundSchema, CreatePaymentLinkShippingAddressResponse$, CreatePaymentLinkApplicationFeeAmountResponse$inboundSchema, CreatePaymentLinkApplicationFeeAmountResponse$outboundSchema, CreatePaymentLinkApplicationFeeAmountResponse$, CreatePaymentLinkApplicationFeeResponse$inboundSchema, CreatePaymentLinkApplicationFeeResponse$outboundSchema, CreatePaymentLinkApplicationFeeResponse$, CreatePaymentLinkSelf$inboundSchema, CreatePaymentLinkSelf$outboundSchema, CreatePaymentLinkSelf$, CreatePaymentLinkPaymentLink$inboundSchema, CreatePaymentLinkPaymentLink$outboundSchema, CreatePaymentLinkPaymentLink$, CreatePaymentLinkLinks$inboundSchema, CreatePaymentLinkLinks$outboundSchema, CreatePaymentLinkLinks$, CreatePaymentLinkResponse$inboundSchema, CreatePaymentLinkResponse$outboundSchema, CreatePaymentLinkResponse$;
41182
+ var CreatePaymentLinkTypeRequest, CreatePaymentLinkCategoryRequest, CreatePaymentLinkSequenceTypeRequest, CreatePaymentLinkMode, CreatePaymentLinkTypeResponse, CreatePaymentLinkCategoryResponse, CreatePaymentLinkSequenceTypeResponse, CreatePaymentLinkAmountRequest$inboundSchema, CreatePaymentLinkAmountRequest$outboundSchema, CreatePaymentLinkAmountRequest$, CreatePaymentLinkMinimumAmountRequest$inboundSchema, CreatePaymentLinkMinimumAmountRequest$outboundSchema, CreatePaymentLinkMinimumAmountRequest$, CreatePaymentLinkTypeRequest$inboundSchema, CreatePaymentLinkTypeRequest$outboundSchema, CreatePaymentLinkTypeRequest$, CreatePaymentLinkUnitPriceRequest$inboundSchema, CreatePaymentLinkUnitPriceRequest$outboundSchema, CreatePaymentLinkUnitPriceRequest$, CreatePaymentLinkDiscountAmountRequest$inboundSchema, CreatePaymentLinkDiscountAmountRequest$outboundSchema, CreatePaymentLinkDiscountAmountRequest$, CreatePaymentLinkTotalAmountRequest$inboundSchema, CreatePaymentLinkTotalAmountRequest$outboundSchema, CreatePaymentLinkTotalAmountRequest$, CreatePaymentLinkVatAmountRequest$inboundSchema, CreatePaymentLinkVatAmountRequest$outboundSchema, CreatePaymentLinkVatAmountRequest$, CreatePaymentLinkCategoryRequest$inboundSchema, CreatePaymentLinkCategoryRequest$outboundSchema, CreatePaymentLinkCategoryRequest$, CreatePaymentLinkLineRequest$inboundSchema, CreatePaymentLinkLineRequest$outboundSchema, CreatePaymentLinkLineRequest$, CreatePaymentLinkBillingAddressRequest$inboundSchema, CreatePaymentLinkBillingAddressRequest$outboundSchema, CreatePaymentLinkBillingAddressRequest$, CreatePaymentLinkShippingAddressRequest$inboundSchema, CreatePaymentLinkShippingAddressRequest$outboundSchema, CreatePaymentLinkShippingAddressRequest$, CreatePaymentLinkApplicationFeeAmountRequest$inboundSchema, CreatePaymentLinkApplicationFeeAmountRequest$outboundSchema, CreatePaymentLinkApplicationFeeAmountRequest$, CreatePaymentLinkApplicationFeeRequest$inboundSchema, CreatePaymentLinkApplicationFeeRequest$outboundSchema, CreatePaymentLinkApplicationFeeRequest$, CreatePaymentLinkSequenceTypeRequest$inboundSchema, CreatePaymentLinkSequenceTypeRequest$outboundSchema, CreatePaymentLinkSequenceTypeRequest$, CreatePaymentLinkRequest$inboundSchema, CreatePaymentLinkRequest$outboundSchema, CreatePaymentLinkRequest$, CreatePaymentLinkUnprocessableEntityDocumentation$inboundSchema, CreatePaymentLinkUnprocessableEntityDocumentation$outboundSchema, CreatePaymentLinkUnprocessableEntityDocumentation$, CreatePaymentLinkUnprocessableEntityLinks$inboundSchema, CreatePaymentLinkUnprocessableEntityLinks$outboundSchema, CreatePaymentLinkUnprocessableEntityLinks$, CreatePaymentLinkNotFoundDocumentation$inboundSchema, CreatePaymentLinkNotFoundDocumentation$outboundSchema, CreatePaymentLinkNotFoundDocumentation$, CreatePaymentLinkNotFoundLinks$inboundSchema, CreatePaymentLinkNotFoundLinks$outboundSchema, CreatePaymentLinkNotFoundLinks$, CreatePaymentLinkMode$inboundSchema, CreatePaymentLinkMode$outboundSchema, CreatePaymentLinkMode$, CreatePaymentLinkAmountResponse$inboundSchema, CreatePaymentLinkAmountResponse$outboundSchema, CreatePaymentLinkAmountResponse$, CreatePaymentLinkMinimumAmountResponse$inboundSchema, CreatePaymentLinkMinimumAmountResponse$outboundSchema, CreatePaymentLinkMinimumAmountResponse$, CreatePaymentLinkTypeResponse$inboundSchema, CreatePaymentLinkTypeResponse$outboundSchema, CreatePaymentLinkTypeResponse$, CreatePaymentLinkUnitPriceResponse$inboundSchema, CreatePaymentLinkUnitPriceResponse$outboundSchema, CreatePaymentLinkUnitPriceResponse$, CreatePaymentLinkDiscountAmountResponse$inboundSchema, CreatePaymentLinkDiscountAmountResponse$outboundSchema, CreatePaymentLinkDiscountAmountResponse$, CreatePaymentLinkTotalAmountResponse$inboundSchema, CreatePaymentLinkTotalAmountResponse$outboundSchema, CreatePaymentLinkTotalAmountResponse$, CreatePaymentLinkVatAmountResponse$inboundSchema, CreatePaymentLinkVatAmountResponse$outboundSchema, CreatePaymentLinkVatAmountResponse$, CreatePaymentLinkCategoryResponse$inboundSchema, CreatePaymentLinkCategoryResponse$outboundSchema, CreatePaymentLinkCategoryResponse$, CreatePaymentLinkLineResponse$inboundSchema, CreatePaymentLinkLineResponse$outboundSchema, CreatePaymentLinkLineResponse$, CreatePaymentLinkBillingAddressResponse$inboundSchema, CreatePaymentLinkBillingAddressResponse$outboundSchema, CreatePaymentLinkBillingAddressResponse$, CreatePaymentLinkShippingAddressResponse$inboundSchema, CreatePaymentLinkShippingAddressResponse$outboundSchema, CreatePaymentLinkShippingAddressResponse$, CreatePaymentLinkApplicationFeeAmountResponse$inboundSchema, CreatePaymentLinkApplicationFeeAmountResponse$outboundSchema, CreatePaymentLinkApplicationFeeAmountResponse$, CreatePaymentLinkApplicationFeeResponse$inboundSchema, CreatePaymentLinkApplicationFeeResponse$outboundSchema, CreatePaymentLinkApplicationFeeResponse$, CreatePaymentLinkSequenceTypeResponse$inboundSchema, CreatePaymentLinkSequenceTypeResponse$outboundSchema, CreatePaymentLinkSequenceTypeResponse$, CreatePaymentLinkSelf$inboundSchema, CreatePaymentLinkSelf$outboundSchema, CreatePaymentLinkSelf$, CreatePaymentLinkPaymentLink$inboundSchema, CreatePaymentLinkPaymentLink$outboundSchema, CreatePaymentLinkPaymentLink$, CreatePaymentLinkLinks$inboundSchema, CreatePaymentLinkLinks$outboundSchema, CreatePaymentLinkLinks$, CreatePaymentLinkResponse$inboundSchema, CreatePaymentLinkResponse$outboundSchema, CreatePaymentLinkResponse$;
41168
41183
  var init_createpaymentlink = __esm(() => {
41169
41184
  init_esm();
41170
41185
  init_primitives();
@@ -41184,6 +41199,10 @@ var init_createpaymentlink = __esm(() => {
41184
41199
  Gift: "gift",
41185
41200
  SportCulture: "sport_culture"
41186
41201
  };
41202
+ CreatePaymentLinkSequenceTypeRequest = {
41203
+ Oneoff: "oneoff",
41204
+ First: "first"
41205
+ };
41187
41206
  CreatePaymentLinkMode = {
41188
41207
  Live: "live",
41189
41208
  Test: "test"
@@ -41204,6 +41223,10 @@ var init_createpaymentlink = __esm(() => {
41204
41223
  Gift: "gift",
41205
41224
  SportCulture: "sport_culture"
41206
41225
  };
41226
+ CreatePaymentLinkSequenceTypeResponse = {
41227
+ Oneoff: "oneoff",
41228
+ First: "first"
41229
+ };
41207
41230
  CreatePaymentLinkAmountRequest$inboundSchema = objectType({
41208
41231
  currency: stringType(),
41209
41232
  value: stringType()
@@ -41410,6 +41433,12 @@ var init_createpaymentlink = __esm(() => {
41410
41433
  CreatePaymentLinkApplicationFeeRequest$.inboundSchema = CreatePaymentLinkApplicationFeeRequest$inboundSchema;
41411
41434
  CreatePaymentLinkApplicationFeeRequest$.outboundSchema = CreatePaymentLinkApplicationFeeRequest$outboundSchema;
41412
41435
  })(CreatePaymentLinkApplicationFeeRequest$ ||= {});
41436
+ CreatePaymentLinkSequenceTypeRequest$inboundSchema = nativeEnumType(CreatePaymentLinkSequenceTypeRequest);
41437
+ CreatePaymentLinkSequenceTypeRequest$outboundSchema = CreatePaymentLinkSequenceTypeRequest$inboundSchema;
41438
+ ((CreatePaymentLinkSequenceTypeRequest$) => {
41439
+ CreatePaymentLinkSequenceTypeRequest$.inboundSchema = CreatePaymentLinkSequenceTypeRequest$inboundSchema;
41440
+ CreatePaymentLinkSequenceTypeRequest$.outboundSchema = CreatePaymentLinkSequenceTypeRequest$outboundSchema;
41441
+ })(CreatePaymentLinkSequenceTypeRequest$ ||= {});
41413
41442
  CreatePaymentLinkRequest$inboundSchema = objectType({
41414
41443
  description: stringType(),
41415
41444
  amount: nullableType(lazyType(() => CreatePaymentLinkAmountRequest$inboundSchema)).optional(),
@@ -41423,7 +41452,9 @@ var init_createpaymentlink = __esm(() => {
41423
41452
  reusable: nullableType(booleanType().default(false)),
41424
41453
  expiresAt: nullableType(stringType()).optional(),
41425
41454
  allowedMethods: nullableType(arrayType(stringType())).optional(),
41426
- applicationFee: lazyType(() => CreatePaymentLinkApplicationFeeRequest$inboundSchema).optional()
41455
+ applicationFee: lazyType(() => CreatePaymentLinkApplicationFeeRequest$inboundSchema).optional(),
41456
+ sequenceType: nullableType(CreatePaymentLinkSequenceTypeRequest$inboundSchema).optional(),
41457
+ customerId: nullableType(stringType()).optional()
41427
41458
  });
41428
41459
  CreatePaymentLinkRequest$outboundSchema = objectType({
41429
41460
  description: stringType(),
@@ -41438,7 +41469,9 @@ var init_createpaymentlink = __esm(() => {
41438
41469
  reusable: nullableType(booleanType().default(false)),
41439
41470
  expiresAt: nullableType(stringType()).optional(),
41440
41471
  allowedMethods: nullableType(arrayType(stringType())).optional(),
41441
- applicationFee: lazyType(() => CreatePaymentLinkApplicationFeeRequest$outboundSchema).optional()
41472
+ applicationFee: lazyType(() => CreatePaymentLinkApplicationFeeRequest$outboundSchema).optional(),
41473
+ sequenceType: nullableType(CreatePaymentLinkSequenceTypeRequest$outboundSchema).optional(),
41474
+ customerId: nullableType(stringType()).optional()
41442
41475
  });
41443
41476
  ((CreatePaymentLinkRequest$) => {
41444
41477
  CreatePaymentLinkRequest$.inboundSchema = CreatePaymentLinkRequest$inboundSchema;
@@ -41700,6 +41733,12 @@ var init_createpaymentlink = __esm(() => {
41700
41733
  CreatePaymentLinkApplicationFeeResponse$.inboundSchema = CreatePaymentLinkApplicationFeeResponse$inboundSchema;
41701
41734
  CreatePaymentLinkApplicationFeeResponse$.outboundSchema = CreatePaymentLinkApplicationFeeResponse$outboundSchema;
41702
41735
  })(CreatePaymentLinkApplicationFeeResponse$ ||= {});
41736
+ CreatePaymentLinkSequenceTypeResponse$inboundSchema = nativeEnumType(CreatePaymentLinkSequenceTypeResponse);
41737
+ CreatePaymentLinkSequenceTypeResponse$outboundSchema = CreatePaymentLinkSequenceTypeResponse$inboundSchema;
41738
+ ((CreatePaymentLinkSequenceTypeResponse$) => {
41739
+ CreatePaymentLinkSequenceTypeResponse$.inboundSchema = CreatePaymentLinkSequenceTypeResponse$inboundSchema;
41740
+ CreatePaymentLinkSequenceTypeResponse$.outboundSchema = CreatePaymentLinkSequenceTypeResponse$outboundSchema;
41741
+ })(CreatePaymentLinkSequenceTypeResponse$ ||= {});
41703
41742
  CreatePaymentLinkSelf$inboundSchema = objectType({
41704
41743
  href: stringType(),
41705
41744
  type: stringType()
@@ -41756,6 +41795,8 @@ var init_createpaymentlink = __esm(() => {
41756
41795
  expiresAt: nullableType(stringType()),
41757
41796
  allowedMethods: nullableType(arrayType(stringType())),
41758
41797
  applicationFee: lazyType(() => CreatePaymentLinkApplicationFeeResponse$inboundSchema).optional(),
41798
+ sequenceType: nullableType(CreatePaymentLinkSequenceTypeResponse$inboundSchema).optional(),
41799
+ customerId: nullableType(stringType()).optional(),
41759
41800
  _links: lazyType(() => CreatePaymentLinkLinks$inboundSchema)
41760
41801
  }).transform((v2) => {
41761
41802
  return remap(v2, {
@@ -41782,6 +41823,8 @@ var init_createpaymentlink = __esm(() => {
41782
41823
  expiresAt: nullableType(stringType()),
41783
41824
  allowedMethods: nullableType(arrayType(stringType())),
41784
41825
  applicationFee: lazyType(() => CreatePaymentLinkApplicationFeeResponse$outboundSchema).optional(),
41826
+ sequenceType: nullableType(CreatePaymentLinkSequenceTypeResponse$outboundSchema).optional(),
41827
+ customerId: nullableType(stringType()).optional(),
41785
41828
  links: lazyType(() => CreatePaymentLinkLinks$outboundSchema)
41786
41829
  }).transform((v2) => {
41787
41830
  return remap(v2, {
@@ -42441,23 +42484,23 @@ var init_createrefund = __esm(() => {
42441
42484
  CreateRefundDocumentation$.outboundSchema = CreateRefundDocumentation$outboundSchema;
42442
42485
  })(CreateRefundDocumentation$ ||= {});
42443
42486
  CreateRefundLinks$inboundSchema = objectType({
42444
- self: lazyType(() => CreateRefundSelf$inboundSchema).optional(),
42445
- payment: lazyType(() => CreateRefundPayment$inboundSchema).optional(),
42487
+ self: lazyType(() => CreateRefundSelf$inboundSchema),
42488
+ payment: lazyType(() => CreateRefundPayment$inboundSchema),
42446
42489
  settlement: nullableType(lazyType(() => CreateRefundSettlement$inboundSchema)).optional(),
42447
- documentation: lazyType(() => CreateRefundDocumentation$inboundSchema).optional()
42490
+ documentation: lazyType(() => CreateRefundDocumentation$inboundSchema)
42448
42491
  });
42449
42492
  CreateRefundLinks$outboundSchema = objectType({
42450
- self: lazyType(() => CreateRefundSelf$outboundSchema).optional(),
42451
- payment: lazyType(() => CreateRefundPayment$outboundSchema).optional(),
42493
+ self: lazyType(() => CreateRefundSelf$outboundSchema),
42494
+ payment: lazyType(() => CreateRefundPayment$outboundSchema),
42452
42495
  settlement: nullableType(lazyType(() => CreateRefundSettlement$outboundSchema)).optional(),
42453
- documentation: lazyType(() => CreateRefundDocumentation$outboundSchema).optional()
42496
+ documentation: lazyType(() => CreateRefundDocumentation$outboundSchema)
42454
42497
  });
42455
42498
  ((CreateRefundLinks$) => {
42456
42499
  CreateRefundLinks$.inboundSchema = CreateRefundLinks$inboundSchema;
42457
42500
  CreateRefundLinks$.outboundSchema = CreateRefundLinks$outboundSchema;
42458
42501
  })(CreateRefundLinks$ ||= {});
42459
42502
  CreateRefundResponse$inboundSchema = objectType({
42460
- resource: stringType().default("refund"),
42503
+ resource: stringType().optional(),
42461
42504
  id: stringType().optional(),
42462
42505
  mode: CreateRefundMode$inboundSchema.optional(),
42463
42506
  description: stringType().optional(),
@@ -42481,7 +42524,7 @@ var init_createrefund = __esm(() => {
42481
42524
  });
42482
42525
  });
42483
42526
  CreateRefundResponse$outboundSchema = objectType({
42484
- resource: stringType().default("refund"),
42527
+ resource: stringType().optional(),
42485
42528
  id: stringType().optional(),
42486
42529
  mode: CreateRefundMode$outboundSchema.optional(),
42487
42530
  description: stringType().optional(),
@@ -43324,12 +43367,12 @@ var init_createsubscription = __esm(() => {
43324
43367
  CreateSubscriptionApplicationFeeAmountRequest$.outboundSchema = CreateSubscriptionApplicationFeeAmountRequest$outboundSchema;
43325
43368
  })(CreateSubscriptionApplicationFeeAmountRequest$ ||= {});
43326
43369
  CreateSubscriptionApplicationFeeRequest$inboundSchema = objectType({
43327
- amount: lazyType(() => CreateSubscriptionApplicationFeeAmountRequest$inboundSchema).optional(),
43328
- description: stringType().optional()
43370
+ amount: lazyType(() => CreateSubscriptionApplicationFeeAmountRequest$inboundSchema),
43371
+ description: stringType()
43329
43372
  });
43330
43373
  CreateSubscriptionApplicationFeeRequest$outboundSchema = objectType({
43331
- amount: lazyType(() => CreateSubscriptionApplicationFeeAmountRequest$outboundSchema).optional(),
43332
- description: stringType().optional()
43374
+ amount: lazyType(() => CreateSubscriptionApplicationFeeAmountRequest$outboundSchema),
43375
+ description: stringType()
43333
43376
  });
43334
43377
  ((CreateSubscriptionApplicationFeeRequest$) => {
43335
43378
  CreateSubscriptionApplicationFeeRequest$.inboundSchema = CreateSubscriptionApplicationFeeRequest$inboundSchema;
@@ -43484,12 +43527,12 @@ var init_createsubscription = __esm(() => {
43484
43527
  CreateSubscriptionApplicationFeeAmountResponse$.outboundSchema = CreateSubscriptionApplicationFeeAmountResponse$outboundSchema;
43485
43528
  })(CreateSubscriptionApplicationFeeAmountResponse$ ||= {});
43486
43529
  CreateSubscriptionApplicationFeeResponse$inboundSchema = objectType({
43487
- amount: lazyType(() => CreateSubscriptionApplicationFeeAmountResponse$inboundSchema).optional(),
43488
- description: stringType().optional()
43530
+ amount: lazyType(() => CreateSubscriptionApplicationFeeAmountResponse$inboundSchema),
43531
+ description: stringType()
43489
43532
  });
43490
43533
  CreateSubscriptionApplicationFeeResponse$outboundSchema = objectType({
43491
- amount: lazyType(() => CreateSubscriptionApplicationFeeAmountResponse$outboundSchema).optional(),
43492
- description: stringType().optional()
43534
+ amount: lazyType(() => CreateSubscriptionApplicationFeeAmountResponse$outboundSchema),
43535
+ description: stringType()
43493
43536
  });
43494
43537
  ((CreateSubscriptionApplicationFeeResponse$) => {
43495
43538
  CreateSubscriptionApplicationFeeResponse$.inboundSchema = CreateSubscriptionApplicationFeeResponse$inboundSchema;
@@ -43588,20 +43631,20 @@ var init_createsubscription = __esm(() => {
43588
43631
  CreateSubscriptionDocumentation$.outboundSchema = CreateSubscriptionDocumentation$outboundSchema;
43589
43632
  })(CreateSubscriptionDocumentation$ ||= {});
43590
43633
  CreateSubscriptionLinks$inboundSchema = objectType({
43591
- self: lazyType(() => CreateSubscriptionSelf$inboundSchema).optional(),
43592
- customer: nullableType(lazyType(() => CreateSubscriptionCustomer$inboundSchema)).optional(),
43634
+ self: lazyType(() => CreateSubscriptionSelf$inboundSchema),
43635
+ customer: nullableType(lazyType(() => CreateSubscriptionCustomer$inboundSchema)),
43593
43636
  mandate: nullableType(lazyType(() => CreateSubscriptionMandate$inboundSchema)).optional(),
43594
- profile: nullableType(lazyType(() => CreateSubscriptionProfile$inboundSchema)).optional(),
43637
+ profile: nullableType(lazyType(() => CreateSubscriptionProfile$inboundSchema)),
43595
43638
  payments: nullableType(lazyType(() => CreateSubscriptionPayments$inboundSchema)).optional(),
43596
- documentation: lazyType(() => CreateSubscriptionDocumentation$inboundSchema).optional()
43639
+ documentation: lazyType(() => CreateSubscriptionDocumentation$inboundSchema)
43597
43640
  });
43598
43641
  CreateSubscriptionLinks$outboundSchema = objectType({
43599
- self: lazyType(() => CreateSubscriptionSelf$outboundSchema).optional(),
43600
- customer: nullableType(lazyType(() => CreateSubscriptionCustomer$outboundSchema)).optional(),
43642
+ self: lazyType(() => CreateSubscriptionSelf$outboundSchema),
43643
+ customer: nullableType(lazyType(() => CreateSubscriptionCustomer$outboundSchema)),
43601
43644
  mandate: nullableType(lazyType(() => CreateSubscriptionMandate$outboundSchema)).optional(),
43602
- profile: nullableType(lazyType(() => CreateSubscriptionProfile$outboundSchema)).optional(),
43645
+ profile: nullableType(lazyType(() => CreateSubscriptionProfile$outboundSchema)),
43603
43646
  payments: nullableType(lazyType(() => CreateSubscriptionPayments$outboundSchema)).optional(),
43604
- documentation: lazyType(() => CreateSubscriptionDocumentation$outboundSchema).optional()
43647
+ documentation: lazyType(() => CreateSubscriptionDocumentation$outboundSchema)
43605
43648
  });
43606
43649
  ((CreateSubscriptionLinks$) => {
43607
43650
  CreateSubscriptionLinks$.inboundSchema = CreateSubscriptionLinks$inboundSchema;
@@ -43609,27 +43652,27 @@ var init_createsubscription = __esm(() => {
43609
43652
  })(CreateSubscriptionLinks$ ||= {});
43610
43653
  CreateSubscriptionResponse$inboundSchema = objectType({
43611
43654
  resource: stringType().default("subscription"),
43612
- id: stringType().optional(),
43613
- mode: CreateSubscriptionMode$inboundSchema.optional(),
43614
- status: CreateSubscriptionStatus$inboundSchema.optional(),
43615
- amount: lazyType(() => CreateSubscriptionAmountResponse$inboundSchema).optional(),
43616
- times: nullableType(numberType().int()).optional(),
43617
- timesRemaining: numberType().int().optional(),
43618
- interval: CreateSubscriptionIntervalResponse$inboundSchema.optional(),
43619
- startDate: stringType().optional(),
43655
+ id: stringType(),
43656
+ mode: CreateSubscriptionMode$inboundSchema,
43657
+ status: CreateSubscriptionStatus$inboundSchema,
43658
+ amount: lazyType(() => CreateSubscriptionAmountResponse$inboundSchema),
43659
+ times: nullableType(numberType().int()),
43660
+ timesRemaining: numberType().int(),
43661
+ interval: CreateSubscriptionIntervalResponse$inboundSchema,
43662
+ startDate: stringType(),
43620
43663
  nextPaymentDate: nullableType(stringType()).optional(),
43621
- description: stringType().optional(),
43622
- method: nullableType(CreateSubscriptionMethodResponse$inboundSchema).optional(),
43664
+ description: stringType(),
43665
+ method: nullableType(CreateSubscriptionMethodResponse$inboundSchema),
43623
43666
  applicationFee: lazyType(() => CreateSubscriptionApplicationFeeResponse$inboundSchema).optional(),
43624
43667
  metadata: nullableType(unionType([
43625
43668
  lazyType(() => CreateSubscriptionMetadataResponse$inboundSchema),
43626
43669
  stringType(),
43627
43670
  arrayType(stringType())
43628
- ])).optional(),
43629
- webhookUrl: stringType().optional(),
43630
- customerId: stringType().optional(),
43671
+ ])),
43672
+ webhookUrl: stringType(),
43673
+ customerId: stringType(),
43631
43674
  mandateId: nullableType(stringType()).optional(),
43632
- createdAt: stringType().optional(),
43675
+ createdAt: stringType(),
43633
43676
  canceledAt: nullableType(stringType()).optional(),
43634
43677
  _links: lazyType(() => CreateSubscriptionLinks$inboundSchema).optional()
43635
43678
  }).transform((v2) => {
@@ -43639,27 +43682,27 @@ var init_createsubscription = __esm(() => {
43639
43682
  });
43640
43683
  CreateSubscriptionResponse$outboundSchema = objectType({
43641
43684
  resource: stringType().default("subscription"),
43642
- id: stringType().optional(),
43643
- mode: CreateSubscriptionMode$outboundSchema.optional(),
43644
- status: CreateSubscriptionStatus$outboundSchema.optional(),
43645
- amount: lazyType(() => CreateSubscriptionAmountResponse$outboundSchema).optional(),
43646
- times: nullableType(numberType().int()).optional(),
43647
- timesRemaining: numberType().int().optional(),
43648
- interval: CreateSubscriptionIntervalResponse$outboundSchema.optional(),
43649
- startDate: stringType().optional(),
43685
+ id: stringType(),
43686
+ mode: CreateSubscriptionMode$outboundSchema,
43687
+ status: CreateSubscriptionStatus$outboundSchema,
43688
+ amount: lazyType(() => CreateSubscriptionAmountResponse$outboundSchema),
43689
+ times: nullableType(numberType().int()),
43690
+ timesRemaining: numberType().int(),
43691
+ interval: CreateSubscriptionIntervalResponse$outboundSchema,
43692
+ startDate: stringType(),
43650
43693
  nextPaymentDate: nullableType(stringType()).optional(),
43651
- description: stringType().optional(),
43652
- method: nullableType(CreateSubscriptionMethodResponse$outboundSchema).optional(),
43694
+ description: stringType(),
43695
+ method: nullableType(CreateSubscriptionMethodResponse$outboundSchema),
43653
43696
  applicationFee: lazyType(() => CreateSubscriptionApplicationFeeResponse$outboundSchema).optional(),
43654
43697
  metadata: nullableType(unionType([
43655
43698
  lazyType(() => CreateSubscriptionMetadataResponse$outboundSchema),
43656
43699
  stringType(),
43657
43700
  arrayType(stringType())
43658
- ])).optional(),
43659
- webhookUrl: stringType().optional(),
43660
- customerId: stringType().optional(),
43701
+ ])),
43702
+ webhookUrl: stringType(),
43703
+ customerId: stringType(),
43661
43704
  mandateId: nullableType(stringType()).optional(),
43662
- createdAt: stringType().optional(),
43705
+ createdAt: stringType(),
43663
43706
  canceledAt: nullableType(stringType()).optional(),
43664
43707
  links: lazyType(() => CreateSubscriptionLinks$outboundSchema).optional()
43665
43708
  }).transform((v2) => {
@@ -62082,20 +62125,20 @@ var init_getcustomer = __esm(() => {
62082
62125
  GetCustomerDocumentation$.outboundSchema = GetCustomerDocumentation$outboundSchema;
62083
62126
  })(GetCustomerDocumentation$ ||= {});
62084
62127
  GetCustomerLinks$inboundSchema = objectType({
62085
- self: lazyType(() => GetCustomerSelf$inboundSchema).optional(),
62086
- dashboard: lazyType(() => GetCustomerDashboard$inboundSchema).optional(),
62128
+ self: lazyType(() => GetCustomerSelf$inboundSchema),
62129
+ dashboard: lazyType(() => GetCustomerDashboard$inboundSchema),
62087
62130
  payments: nullableType(lazyType(() => GetCustomerPayments$inboundSchema)).optional(),
62088
62131
  mandates: nullableType(lazyType(() => GetCustomerMandates$inboundSchema)).optional(),
62089
62132
  subscriptions: nullableType(lazyType(() => GetCustomerSubscriptions$inboundSchema)).optional(),
62090
- documentation: lazyType(() => GetCustomerDocumentation$inboundSchema).optional()
62133
+ documentation: lazyType(() => GetCustomerDocumentation$inboundSchema)
62091
62134
  });
62092
62135
  GetCustomerLinks$outboundSchema = objectType({
62093
- self: lazyType(() => GetCustomerSelf$outboundSchema).optional(),
62094
- dashboard: lazyType(() => GetCustomerDashboard$outboundSchema).optional(),
62136
+ self: lazyType(() => GetCustomerSelf$outboundSchema),
62137
+ dashboard: lazyType(() => GetCustomerDashboard$outboundSchema),
62095
62138
  payments: nullableType(lazyType(() => GetCustomerPayments$outboundSchema)).optional(),
62096
62139
  mandates: nullableType(lazyType(() => GetCustomerMandates$outboundSchema)).optional(),
62097
62140
  subscriptions: nullableType(lazyType(() => GetCustomerSubscriptions$outboundSchema)).optional(),
62098
- documentation: lazyType(() => GetCustomerDocumentation$outboundSchema).optional()
62141
+ documentation: lazyType(() => GetCustomerDocumentation$outboundSchema)
62099
62142
  });
62100
62143
  ((GetCustomerLinks$) => {
62101
62144
  GetCustomerLinks$.inboundSchema = GetCustomerLinks$inboundSchema;
@@ -62125,9 +62168,9 @@ var init_getcustomer = __esm(() => {
62125
62168
  })(EventLinks$ ||= {});
62126
62169
  Event$inboundSchema = objectType({
62127
62170
  resource: stringType().default("event"),
62128
- type: numberType().int().optional(),
62129
- createdAt: stringType().optional(),
62130
- message: stringType().optional(),
62171
+ type: numberType().int(),
62172
+ createdAt: stringType(),
62173
+ message: stringType(),
62131
62174
  _links: lazyType(() => EventLinks$inboundSchema).optional()
62132
62175
  }).transform((v2) => {
62133
62176
  return remap(v2, {
@@ -62136,9 +62179,9 @@ var init_getcustomer = __esm(() => {
62136
62179
  });
62137
62180
  Event$outboundSchema = objectType({
62138
62181
  resource: stringType().default("event"),
62139
- type: numberType().int().optional(),
62140
- createdAt: stringType().optional(),
62141
- message: stringType().optional(),
62182
+ type: numberType().int(),
62183
+ createdAt: stringType(),
62184
+ message: stringType(),
62142
62185
  links: lazyType(() => EventLinks$outboundSchema).optional()
62143
62186
  }).transform((v2) => {
62144
62187
  return remap(v2, {
@@ -62151,18 +62194,18 @@ var init_getcustomer = __esm(() => {
62151
62194
  })(Event$ ||= {});
62152
62195
  GetCustomerResponse$inboundSchema = objectType({
62153
62196
  resource: stringType().default("customer"),
62154
- id: stringType().optional(),
62155
- mode: GetCustomerMode$inboundSchema.optional(),
62156
- name: nullableType(stringType()).optional(),
62157
- email: nullableType(stringType()).optional(),
62158
- locale: nullableType(GetCustomerLocale$inboundSchema).optional(),
62197
+ id: stringType(),
62198
+ mode: GetCustomerMode$inboundSchema,
62199
+ name: nullableType(stringType()),
62200
+ email: nullableType(stringType()),
62201
+ locale: nullableType(GetCustomerLocale$inboundSchema),
62159
62202
  metadata: nullableType(unionType([
62160
62203
  lazyType(() => GetCustomerMetadata$inboundSchema),
62161
62204
  stringType(),
62162
62205
  arrayType(stringType())
62163
- ])).optional(),
62164
- createdAt: stringType().optional(),
62165
- _links: lazyType(() => GetCustomerLinks$inboundSchema).optional(),
62206
+ ])),
62207
+ createdAt: stringType(),
62208
+ _links: lazyType(() => GetCustomerLinks$inboundSchema),
62166
62209
  events: arrayType(lazyType(() => Event$inboundSchema)).optional()
62167
62210
  }).transform((v2) => {
62168
62211
  return remap(v2, {
@@ -62171,18 +62214,18 @@ var init_getcustomer = __esm(() => {
62171
62214
  });
62172
62215
  GetCustomerResponse$outboundSchema = objectType({
62173
62216
  resource: stringType().default("customer"),
62174
- id: stringType().optional(),
62175
- mode: GetCustomerMode$outboundSchema.optional(),
62176
- name: nullableType(stringType()).optional(),
62177
- email: nullableType(stringType()).optional(),
62178
- locale: nullableType(GetCustomerLocale$outboundSchema).optional(),
62217
+ id: stringType(),
62218
+ mode: GetCustomerMode$outboundSchema,
62219
+ name: nullableType(stringType()),
62220
+ email: nullableType(stringType()),
62221
+ locale: nullableType(GetCustomerLocale$outboundSchema),
62179
62222
  metadata: nullableType(unionType([
62180
62223
  lazyType(() => GetCustomerMetadata$outboundSchema),
62181
62224
  stringType(),
62182
62225
  arrayType(stringType())
62183
- ])).optional(),
62184
- createdAt: stringType().optional(),
62185
- links: lazyType(() => GetCustomerLinks$outboundSchema).optional(),
62226
+ ])),
62227
+ createdAt: stringType(),
62228
+ links: lazyType(() => GetCustomerLinks$outboundSchema),
62186
62229
  events: arrayType(lazyType(() => Event$outboundSchema)).optional()
62187
62230
  }).transform((v2) => {
62188
62231
  return remap(v2, {
@@ -62557,14 +62600,14 @@ var init_getmandate = __esm(() => {
62557
62600
  GetMandateDocumentation$.outboundSchema = GetMandateDocumentation$outboundSchema;
62558
62601
  })(GetMandateDocumentation$ ||= {});
62559
62602
  GetMandateLinks$inboundSchema = objectType({
62560
- self: lazyType(() => GetMandateSelf$inboundSchema).optional(),
62561
- customer: lazyType(() => GetMandateCustomer$inboundSchema).optional(),
62562
- documentation: lazyType(() => GetMandateDocumentation$inboundSchema).optional()
62603
+ self: lazyType(() => GetMandateSelf$inboundSchema),
62604
+ customer: lazyType(() => GetMandateCustomer$inboundSchema),
62605
+ documentation: lazyType(() => GetMandateDocumentation$inboundSchema)
62563
62606
  });
62564
62607
  GetMandateLinks$outboundSchema = objectType({
62565
- self: lazyType(() => GetMandateSelf$outboundSchema).optional(),
62566
- customer: lazyType(() => GetMandateCustomer$outboundSchema).optional(),
62567
- documentation: lazyType(() => GetMandateDocumentation$outboundSchema).optional()
62608
+ self: lazyType(() => GetMandateSelf$outboundSchema),
62609
+ customer: lazyType(() => GetMandateCustomer$outboundSchema),
62610
+ documentation: lazyType(() => GetMandateDocumentation$outboundSchema)
62568
62611
  });
62569
62612
  ((GetMandateLinks$) => {
62570
62613
  GetMandateLinks$.inboundSchema = GetMandateLinks$inboundSchema;
@@ -62572,16 +62615,16 @@ var init_getmandate = __esm(() => {
62572
62615
  })(GetMandateLinks$ ||= {});
62573
62616
  GetMandateResponse$inboundSchema = objectType({
62574
62617
  resource: stringType().default("mandate"),
62575
- id: stringType().optional(),
62576
- mode: GetMandateMode$inboundSchema.optional(),
62577
- method: GetMandateMethod$inboundSchema.optional(),
62578
- details: lazyType(() => GetMandateDetails$inboundSchema).optional(),
62579
- signatureDate: nullableType(stringType()).optional(),
62580
- mandateReference: nullableType(stringType()).optional(),
62581
- status: GetMandateStatus$inboundSchema.optional(),
62582
- customerId: stringType().optional(),
62583
- createdAt: stringType().optional(),
62584
- _links: lazyType(() => GetMandateLinks$inboundSchema).optional()
62618
+ id: stringType(),
62619
+ mode: GetMandateMode$inboundSchema,
62620
+ method: GetMandateMethod$inboundSchema,
62621
+ details: lazyType(() => GetMandateDetails$inboundSchema),
62622
+ signatureDate: nullableType(stringType()),
62623
+ mandateReference: nullableType(stringType()),
62624
+ status: GetMandateStatus$inboundSchema,
62625
+ customerId: stringType(),
62626
+ createdAt: stringType(),
62627
+ _links: lazyType(() => GetMandateLinks$inboundSchema)
62585
62628
  }).transform((v2) => {
62586
62629
  return remap(v2, {
62587
62630
  _links: "links"
@@ -62589,16 +62632,16 @@ var init_getmandate = __esm(() => {
62589
62632
  });
62590
62633
  GetMandateResponse$outboundSchema = objectType({
62591
62634
  resource: stringType().default("mandate"),
62592
- id: stringType().optional(),
62593
- mode: GetMandateMode$outboundSchema.optional(),
62594
- method: GetMandateMethod$outboundSchema.optional(),
62595
- details: lazyType(() => GetMandateDetails$outboundSchema).optional(),
62596
- signatureDate: nullableType(stringType()).optional(),
62597
- mandateReference: nullableType(stringType()).optional(),
62598
- status: GetMandateStatus$outboundSchema.optional(),
62599
- customerId: stringType().optional(),
62600
- createdAt: stringType().optional(),
62601
- links: lazyType(() => GetMandateLinks$outboundSchema).optional()
62635
+ id: stringType(),
62636
+ mode: GetMandateMode$outboundSchema,
62637
+ method: GetMandateMethod$outboundSchema,
62638
+ details: lazyType(() => GetMandateDetails$outboundSchema),
62639
+ signatureDate: nullableType(stringType()),
62640
+ mandateReference: nullableType(stringType()),
62641
+ status: GetMandateStatus$outboundSchema,
62642
+ customerId: stringType(),
62643
+ createdAt: stringType(),
62644
+ links: lazyType(() => GetMandateLinks$outboundSchema)
62602
62645
  }).transform((v2) => {
62603
62646
  return remap(v2, {
62604
62647
  links: "_links"
@@ -62656,6 +62699,7 @@ var init_getmethod = __esm(() => {
62656
62699
  Banktransfer: "banktransfer",
62657
62700
  Belfius: "belfius",
62658
62701
  Billie: "billie",
62702
+ Bizum: "bizum",
62659
62703
  Blik: "blik",
62660
62704
  Creditcard: "creditcard",
62661
62705
  Directdebit: "directdebit",
@@ -62668,9 +62712,14 @@ var init_getmethod = __esm(() => {
62668
62712
  Klarnapaylater: "klarnapaylater",
62669
62713
  Klarnapaynow: "klarnapaynow",
62670
62714
  Klarnasliceit: "klarnasliceit",
62715
+ Mbway: "mbway",
62716
+ Multibanco: "multibanco",
62671
62717
  Mybank: "mybank",
62718
+ Paybybank: "paybybank",
62719
+ Payconiq: "payconiq",
62672
62720
  Paypal: "paypal",
62673
62721
  Paysafecard: "paysafecard",
62722
+ Pointofsale: "pointofsale",
62674
62723
  Przelewy24: "przelewy24",
62675
62724
  Riverty: "riverty",
62676
62725
  Satispay: "satispay",
@@ -64368,6 +64417,9 @@ var init_getpayment = __esm(() => {
64368
64417
  In3: "in3",
64369
64418
  Kbc: "kbc",
64370
64419
  Klarna: "klarna",
64420
+ Klarnapaylater: "klarnapaylater",
64421
+ Klarnapaynow: "klarnapaynow",
64422
+ Klarnasliceit: "klarnasliceit",
64371
64423
  Mbway: "mbway",
64372
64424
  Multibanco: "multibanco",
64373
64425
  Mybank: "mybank",
@@ -65258,7 +65310,7 @@ var init_getpayment = __esm(() => {
65258
65310
  });
65259
65311
 
65260
65312
  // src/models/operations/getpaymentlink.ts
65261
- var GetPaymentLinkMode, GetPaymentLinkType, GetPaymentLinkCategory, GetPaymentLinkRequest$inboundSchema, GetPaymentLinkRequest$outboundSchema, GetPaymentLinkRequest$, GetPaymentLinkDocumentation$inboundSchema, GetPaymentLinkDocumentation$outboundSchema, GetPaymentLinkDocumentation$, GetPaymentLinkNotFoundLinks$inboundSchema, GetPaymentLinkNotFoundLinks$outboundSchema, GetPaymentLinkNotFoundLinks$, GetPaymentLinkMode$inboundSchema, GetPaymentLinkMode$outboundSchema, GetPaymentLinkMode$, GetPaymentLinkAmount$inboundSchema, GetPaymentLinkAmount$outboundSchema, GetPaymentLinkAmount$, GetPaymentLinkMinimumAmount$inboundSchema, GetPaymentLinkMinimumAmount$outboundSchema, GetPaymentLinkMinimumAmount$, GetPaymentLinkType$inboundSchema, GetPaymentLinkType$outboundSchema, GetPaymentLinkType$, GetPaymentLinkUnitPrice$inboundSchema, GetPaymentLinkUnitPrice$outboundSchema, GetPaymentLinkUnitPrice$, GetPaymentLinkDiscountAmount$inboundSchema, GetPaymentLinkDiscountAmount$outboundSchema, GetPaymentLinkDiscountAmount$, GetPaymentLinkTotalAmount$inboundSchema, GetPaymentLinkTotalAmount$outboundSchema, GetPaymentLinkTotalAmount$, GetPaymentLinkVatAmount$inboundSchema, GetPaymentLinkVatAmount$outboundSchema, GetPaymentLinkVatAmount$, GetPaymentLinkCategory$inboundSchema, GetPaymentLinkCategory$outboundSchema, GetPaymentLinkCategory$, GetPaymentLinkLine$inboundSchema, GetPaymentLinkLine$outboundSchema, GetPaymentLinkLine$, GetPaymentLinkBillingAddress$inboundSchema, GetPaymentLinkBillingAddress$outboundSchema, GetPaymentLinkBillingAddress$, GetPaymentLinkShippingAddress$inboundSchema, GetPaymentLinkShippingAddress$outboundSchema, GetPaymentLinkShippingAddress$, GetPaymentLinkApplicationFeeAmount$inboundSchema, GetPaymentLinkApplicationFeeAmount$outboundSchema, GetPaymentLinkApplicationFeeAmount$, GetPaymentLinkApplicationFee$inboundSchema, GetPaymentLinkApplicationFee$outboundSchema, GetPaymentLinkApplicationFee$, GetPaymentLinkSelf$inboundSchema, GetPaymentLinkSelf$outboundSchema, GetPaymentLinkSelf$, GetPaymentLinkPaymentLink$inboundSchema, GetPaymentLinkPaymentLink$outboundSchema, GetPaymentLinkPaymentLink$, GetPaymentLinkLinks$inboundSchema, GetPaymentLinkLinks$outboundSchema, GetPaymentLinkLinks$, GetPaymentLinkResponse$inboundSchema, GetPaymentLinkResponse$outboundSchema, GetPaymentLinkResponse$;
65313
+ var GetPaymentLinkMode, GetPaymentLinkType, GetPaymentLinkCategory, GetPaymentLinkSequenceType, GetPaymentLinkRequest$inboundSchema, GetPaymentLinkRequest$outboundSchema, GetPaymentLinkRequest$, GetPaymentLinkDocumentation$inboundSchema, GetPaymentLinkDocumentation$outboundSchema, GetPaymentLinkDocumentation$, GetPaymentLinkNotFoundLinks$inboundSchema, GetPaymentLinkNotFoundLinks$outboundSchema, GetPaymentLinkNotFoundLinks$, GetPaymentLinkMode$inboundSchema, GetPaymentLinkMode$outboundSchema, GetPaymentLinkMode$, GetPaymentLinkAmount$inboundSchema, GetPaymentLinkAmount$outboundSchema, GetPaymentLinkAmount$, GetPaymentLinkMinimumAmount$inboundSchema, GetPaymentLinkMinimumAmount$outboundSchema, GetPaymentLinkMinimumAmount$, GetPaymentLinkType$inboundSchema, GetPaymentLinkType$outboundSchema, GetPaymentLinkType$, GetPaymentLinkUnitPrice$inboundSchema, GetPaymentLinkUnitPrice$outboundSchema, GetPaymentLinkUnitPrice$, GetPaymentLinkDiscountAmount$inboundSchema, GetPaymentLinkDiscountAmount$outboundSchema, GetPaymentLinkDiscountAmount$, GetPaymentLinkTotalAmount$inboundSchema, GetPaymentLinkTotalAmount$outboundSchema, GetPaymentLinkTotalAmount$, GetPaymentLinkVatAmount$inboundSchema, GetPaymentLinkVatAmount$outboundSchema, GetPaymentLinkVatAmount$, GetPaymentLinkCategory$inboundSchema, GetPaymentLinkCategory$outboundSchema, GetPaymentLinkCategory$, GetPaymentLinkLine$inboundSchema, GetPaymentLinkLine$outboundSchema, GetPaymentLinkLine$, GetPaymentLinkBillingAddress$inboundSchema, GetPaymentLinkBillingAddress$outboundSchema, GetPaymentLinkBillingAddress$, GetPaymentLinkShippingAddress$inboundSchema, GetPaymentLinkShippingAddress$outboundSchema, GetPaymentLinkShippingAddress$, GetPaymentLinkApplicationFeeAmount$inboundSchema, GetPaymentLinkApplicationFeeAmount$outboundSchema, GetPaymentLinkApplicationFeeAmount$, GetPaymentLinkApplicationFee$inboundSchema, GetPaymentLinkApplicationFee$outboundSchema, GetPaymentLinkApplicationFee$, GetPaymentLinkSequenceType$inboundSchema, GetPaymentLinkSequenceType$outboundSchema, GetPaymentLinkSequenceType$, GetPaymentLinkSelf$inboundSchema, GetPaymentLinkSelf$outboundSchema, GetPaymentLinkSelf$, GetPaymentLinkPaymentLink$inboundSchema, GetPaymentLinkPaymentLink$outboundSchema, GetPaymentLinkPaymentLink$, GetPaymentLinkLinks$inboundSchema, GetPaymentLinkLinks$outboundSchema, GetPaymentLinkLinks$, GetPaymentLinkResponse$inboundSchema, GetPaymentLinkResponse$outboundSchema, GetPaymentLinkResponse$;
65262
65314
  var init_getpaymentlink = __esm(() => {
65263
65315
  init_esm();
65264
65316
  init_primitives();
@@ -65282,6 +65334,10 @@ var init_getpaymentlink = __esm(() => {
65282
65334
  Gift: "gift",
65283
65335
  SportCulture: "sport_culture"
65284
65336
  };
65337
+ GetPaymentLinkSequenceType = {
65338
+ Oneoff: "oneoff",
65339
+ First: "first"
65340
+ };
65285
65341
  GetPaymentLinkRequest$inboundSchema = objectType({
65286
65342
  paymentLinkId: stringType(),
65287
65343
  testmode: nullableType(booleanType()).optional()
@@ -65528,6 +65584,12 @@ var init_getpaymentlink = __esm(() => {
65528
65584
  GetPaymentLinkApplicationFee$.inboundSchema = GetPaymentLinkApplicationFee$inboundSchema;
65529
65585
  GetPaymentLinkApplicationFee$.outboundSchema = GetPaymentLinkApplicationFee$outboundSchema;
65530
65586
  })(GetPaymentLinkApplicationFee$ ||= {});
65587
+ GetPaymentLinkSequenceType$inboundSchema = nativeEnumType(GetPaymentLinkSequenceType);
65588
+ GetPaymentLinkSequenceType$outboundSchema = GetPaymentLinkSequenceType$inboundSchema;
65589
+ ((GetPaymentLinkSequenceType$) => {
65590
+ GetPaymentLinkSequenceType$.inboundSchema = GetPaymentLinkSequenceType$inboundSchema;
65591
+ GetPaymentLinkSequenceType$.outboundSchema = GetPaymentLinkSequenceType$outboundSchema;
65592
+ })(GetPaymentLinkSequenceType$ ||= {});
65531
65593
  GetPaymentLinkSelf$inboundSchema = objectType({
65532
65594
  href: stringType(),
65533
65595
  type: stringType()
@@ -65584,6 +65646,8 @@ var init_getpaymentlink = __esm(() => {
65584
65646
  expiresAt: nullableType(stringType()),
65585
65647
  allowedMethods: nullableType(arrayType(stringType())),
65586
65648
  applicationFee: lazyType(() => GetPaymentLinkApplicationFee$inboundSchema).optional(),
65649
+ sequenceType: nullableType(GetPaymentLinkSequenceType$inboundSchema).optional(),
65650
+ customerId: nullableType(stringType()).optional(),
65587
65651
  _links: lazyType(() => GetPaymentLinkLinks$inboundSchema)
65588
65652
  }).transform((v2) => {
65589
65653
  return remap(v2, {
@@ -65610,6 +65674,8 @@ var init_getpaymentlink = __esm(() => {
65610
65674
  expiresAt: nullableType(stringType()),
65611
65675
  allowedMethods: nullableType(arrayType(stringType())),
65612
65676
  applicationFee: lazyType(() => GetPaymentLinkApplicationFee$outboundSchema).optional(),
65677
+ sequenceType: nullableType(GetPaymentLinkSequenceType$outboundSchema).optional(),
65678
+ customerId: nullableType(stringType()).optional(),
65613
65679
  links: lazyType(() => GetPaymentLinkLinks$outboundSchema)
65614
65680
  }).transform((v2) => {
65615
65681
  return remap(v2, {
@@ -65699,6 +65765,9 @@ var init_getpaymentlinkpayments = __esm(() => {
65699
65765
  In3: "in3",
65700
65766
  Kbc: "kbc",
65701
65767
  Klarna: "klarna",
65768
+ Klarnapaylater: "klarnapaylater",
65769
+ Klarnapaynow: "klarnapaynow",
65770
+ Klarnasliceit: "klarnasliceit",
65702
65771
  Mbway: "mbway",
65703
65772
  Multibanco: "multibanco",
65704
65773
  Mybank: "mybank",
@@ -67479,23 +67548,23 @@ var init_getrefund = __esm(() => {
67479
67548
  GetRefundDocumentation$.outboundSchema = GetRefundDocumentation$outboundSchema;
67480
67549
  })(GetRefundDocumentation$ ||= {});
67481
67550
  GetRefundLinks$inboundSchema = objectType({
67482
- self: lazyType(() => GetRefundSelf$inboundSchema).optional(),
67483
- payment: lazyType(() => GetRefundPayment$inboundSchema).optional(),
67551
+ self: lazyType(() => GetRefundSelf$inboundSchema),
67552
+ payment: lazyType(() => GetRefundPayment$inboundSchema),
67484
67553
  settlement: nullableType(lazyType(() => GetRefundSettlement$inboundSchema)).optional(),
67485
- documentation: lazyType(() => GetRefundDocumentation$inboundSchema).optional()
67554
+ documentation: lazyType(() => GetRefundDocumentation$inboundSchema)
67486
67555
  });
67487
67556
  GetRefundLinks$outboundSchema = objectType({
67488
- self: lazyType(() => GetRefundSelf$outboundSchema).optional(),
67489
- payment: lazyType(() => GetRefundPayment$outboundSchema).optional(),
67557
+ self: lazyType(() => GetRefundSelf$outboundSchema),
67558
+ payment: lazyType(() => GetRefundPayment$outboundSchema),
67490
67559
  settlement: nullableType(lazyType(() => GetRefundSettlement$outboundSchema)).optional(),
67491
- documentation: lazyType(() => GetRefundDocumentation$outboundSchema).optional()
67560
+ documentation: lazyType(() => GetRefundDocumentation$outboundSchema)
67492
67561
  });
67493
67562
  ((GetRefundLinks$) => {
67494
67563
  GetRefundLinks$.inboundSchema = GetRefundLinks$inboundSchema;
67495
67564
  GetRefundLinks$.outboundSchema = GetRefundLinks$outboundSchema;
67496
67565
  })(GetRefundLinks$ ||= {});
67497
67566
  GetRefundResponse$inboundSchema = objectType({
67498
- resource: stringType().default("refund"),
67567
+ resource: stringType().optional(),
67499
67568
  id: stringType().optional(),
67500
67569
  mode: GetRefundMode$inboundSchema.optional(),
67501
67570
  description: stringType().optional(),
@@ -67519,7 +67588,7 @@ var init_getrefund = __esm(() => {
67519
67588
  });
67520
67589
  });
67521
67590
  GetRefundResponse$outboundSchema = objectType({
67522
- resource: stringType().default("refund"),
67591
+ resource: stringType().optional(),
67523
67592
  id: stringType().optional(),
67524
67593
  mode: GetRefundMode$outboundSchema.optional(),
67525
67594
  description: stringType().optional(),
@@ -68631,12 +68700,12 @@ var init_getsubscription = __esm(() => {
68631
68700
  GetSubscriptionApplicationFeeAmount$.outboundSchema = GetSubscriptionApplicationFeeAmount$outboundSchema;
68632
68701
  })(GetSubscriptionApplicationFeeAmount$ ||= {});
68633
68702
  GetSubscriptionApplicationFee$inboundSchema = objectType({
68634
- amount: lazyType(() => GetSubscriptionApplicationFeeAmount$inboundSchema).optional(),
68635
- description: stringType().optional()
68703
+ amount: lazyType(() => GetSubscriptionApplicationFeeAmount$inboundSchema),
68704
+ description: stringType()
68636
68705
  });
68637
68706
  GetSubscriptionApplicationFee$outboundSchema = objectType({
68638
- amount: lazyType(() => GetSubscriptionApplicationFeeAmount$outboundSchema).optional(),
68639
- description: stringType().optional()
68707
+ amount: lazyType(() => GetSubscriptionApplicationFeeAmount$outboundSchema),
68708
+ description: stringType()
68640
68709
  });
68641
68710
  ((GetSubscriptionApplicationFee$) => {
68642
68711
  GetSubscriptionApplicationFee$.inboundSchema = GetSubscriptionApplicationFee$inboundSchema;
@@ -68735,20 +68804,20 @@ var init_getsubscription = __esm(() => {
68735
68804
  GetSubscriptionDocumentation$.outboundSchema = GetSubscriptionDocumentation$outboundSchema;
68736
68805
  })(GetSubscriptionDocumentation$ ||= {});
68737
68806
  GetSubscriptionLinks$inboundSchema = objectType({
68738
- self: lazyType(() => GetSubscriptionSelf$inboundSchema).optional(),
68739
- customer: nullableType(lazyType(() => GetSubscriptionCustomer$inboundSchema)).optional(),
68807
+ self: lazyType(() => GetSubscriptionSelf$inboundSchema),
68808
+ customer: nullableType(lazyType(() => GetSubscriptionCustomer$inboundSchema)),
68740
68809
  mandate: nullableType(lazyType(() => GetSubscriptionMandate$inboundSchema)).optional(),
68741
- profile: nullableType(lazyType(() => GetSubscriptionProfile$inboundSchema)).optional(),
68810
+ profile: nullableType(lazyType(() => GetSubscriptionProfile$inboundSchema)),
68742
68811
  payments: nullableType(lazyType(() => GetSubscriptionPayments$inboundSchema)).optional(),
68743
- documentation: lazyType(() => GetSubscriptionDocumentation$inboundSchema).optional()
68812
+ documentation: lazyType(() => GetSubscriptionDocumentation$inboundSchema)
68744
68813
  });
68745
68814
  GetSubscriptionLinks$outboundSchema = objectType({
68746
- self: lazyType(() => GetSubscriptionSelf$outboundSchema).optional(),
68747
- customer: nullableType(lazyType(() => GetSubscriptionCustomer$outboundSchema)).optional(),
68815
+ self: lazyType(() => GetSubscriptionSelf$outboundSchema),
68816
+ customer: nullableType(lazyType(() => GetSubscriptionCustomer$outboundSchema)),
68748
68817
  mandate: nullableType(lazyType(() => GetSubscriptionMandate$outboundSchema)).optional(),
68749
- profile: nullableType(lazyType(() => GetSubscriptionProfile$outboundSchema)).optional(),
68818
+ profile: nullableType(lazyType(() => GetSubscriptionProfile$outboundSchema)),
68750
68819
  payments: nullableType(lazyType(() => GetSubscriptionPayments$outboundSchema)).optional(),
68751
- documentation: lazyType(() => GetSubscriptionDocumentation$outboundSchema).optional()
68820
+ documentation: lazyType(() => GetSubscriptionDocumentation$outboundSchema)
68752
68821
  });
68753
68822
  ((GetSubscriptionLinks$) => {
68754
68823
  GetSubscriptionLinks$.inboundSchema = GetSubscriptionLinks$inboundSchema;
@@ -68756,27 +68825,27 @@ var init_getsubscription = __esm(() => {
68756
68825
  })(GetSubscriptionLinks$ ||= {});
68757
68826
  GetSubscriptionResponse$inboundSchema = objectType({
68758
68827
  resource: stringType().default("subscription"),
68759
- id: stringType().optional(),
68760
- mode: GetSubscriptionMode$inboundSchema.optional(),
68761
- status: GetSubscriptionStatus$inboundSchema.optional(),
68762
- amount: lazyType(() => GetSubscriptionAmount$inboundSchema).optional(),
68763
- times: nullableType(numberType().int()).optional(),
68764
- timesRemaining: numberType().int().optional(),
68765
- interval: GetSubscriptionInterval$inboundSchema.optional(),
68766
- startDate: stringType().optional(),
68828
+ id: stringType(),
68829
+ mode: GetSubscriptionMode$inboundSchema,
68830
+ status: GetSubscriptionStatus$inboundSchema,
68831
+ amount: lazyType(() => GetSubscriptionAmount$inboundSchema),
68832
+ times: nullableType(numberType().int()),
68833
+ timesRemaining: numberType().int(),
68834
+ interval: GetSubscriptionInterval$inboundSchema,
68835
+ startDate: stringType(),
68767
68836
  nextPaymentDate: nullableType(stringType()).optional(),
68768
- description: stringType().optional(),
68769
- method: nullableType(GetSubscriptionMethod$inboundSchema).optional(),
68837
+ description: stringType(),
68838
+ method: nullableType(GetSubscriptionMethod$inboundSchema),
68770
68839
  applicationFee: lazyType(() => GetSubscriptionApplicationFee$inboundSchema).optional(),
68771
68840
  metadata: nullableType(unionType([
68772
68841
  lazyType(() => GetSubscriptionMetadata$inboundSchema),
68773
68842
  stringType(),
68774
68843
  arrayType(stringType())
68775
- ])).optional(),
68776
- webhookUrl: stringType().optional(),
68777
- customerId: stringType().optional(),
68844
+ ])),
68845
+ webhookUrl: stringType(),
68846
+ customerId: stringType(),
68778
68847
  mandateId: nullableType(stringType()).optional(),
68779
- createdAt: stringType().optional(),
68848
+ createdAt: stringType(),
68780
68849
  canceledAt: nullableType(stringType()).optional(),
68781
68850
  _links: lazyType(() => GetSubscriptionLinks$inboundSchema).optional()
68782
68851
  }).transform((v2) => {
@@ -68786,27 +68855,27 @@ var init_getsubscription = __esm(() => {
68786
68855
  });
68787
68856
  GetSubscriptionResponse$outboundSchema = objectType({
68788
68857
  resource: stringType().default("subscription"),
68789
- id: stringType().optional(),
68790
- mode: GetSubscriptionMode$outboundSchema.optional(),
68791
- status: GetSubscriptionStatus$outboundSchema.optional(),
68792
- amount: lazyType(() => GetSubscriptionAmount$outboundSchema).optional(),
68793
- times: nullableType(numberType().int()).optional(),
68794
- timesRemaining: numberType().int().optional(),
68795
- interval: GetSubscriptionInterval$outboundSchema.optional(),
68796
- startDate: stringType().optional(),
68858
+ id: stringType(),
68859
+ mode: GetSubscriptionMode$outboundSchema,
68860
+ status: GetSubscriptionStatus$outboundSchema,
68861
+ amount: lazyType(() => GetSubscriptionAmount$outboundSchema),
68862
+ times: nullableType(numberType().int()),
68863
+ timesRemaining: numberType().int(),
68864
+ interval: GetSubscriptionInterval$outboundSchema,
68865
+ startDate: stringType(),
68797
68866
  nextPaymentDate: nullableType(stringType()).optional(),
68798
- description: stringType().optional(),
68799
- method: nullableType(GetSubscriptionMethod$outboundSchema).optional(),
68867
+ description: stringType(),
68868
+ method: nullableType(GetSubscriptionMethod$outboundSchema),
68800
68869
  applicationFee: lazyType(() => GetSubscriptionApplicationFee$outboundSchema).optional(),
68801
68870
  metadata: nullableType(unionType([
68802
68871
  lazyType(() => GetSubscriptionMetadata$outboundSchema),
68803
68872
  stringType(),
68804
68873
  arrayType(stringType())
68805
- ])).optional(),
68806
- webhookUrl: stringType().optional(),
68807
- customerId: stringType().optional(),
68874
+ ])),
68875
+ webhookUrl: stringType(),
68876
+ customerId: stringType(),
68808
68877
  mandateId: nullableType(stringType()).optional(),
68809
- createdAt: stringType().optional(),
68878
+ createdAt: stringType(),
68810
68879
  canceledAt: nullableType(stringType()).optional(),
68811
68880
  links: lazyType(() => GetSubscriptionLinks$outboundSchema).optional()
68812
68881
  }).transform((v2) => {
@@ -69092,7 +69161,7 @@ var init_getwebhook = __esm(() => {
69092
69161
  });
69093
69162
 
69094
69163
  // src/models/operations/getwebhookevent.ts
69095
- var GetWebhookEventMode2, GetWebhookEventStatus, GetWebhookEventReviewStatus, GetWebhookEventMode1, GetWebhookEventType, GetWebhookEventCategory, GetWebhookEventRequest$inboundSchema, GetWebhookEventRequest$outboundSchema, GetWebhookEventRequest$, GetWebhookEventNotFoundDocumentation$inboundSchema, GetWebhookEventNotFoundDocumentation$outboundSchema, GetWebhookEventNotFoundDocumentation$, GetWebhookEventNotFoundLinks$inboundSchema, GetWebhookEventNotFoundLinks$outboundSchema, GetWebhookEventNotFoundLinks$, GetWebhookEventMode2$inboundSchema, GetWebhookEventMode2$outboundSchema, GetWebhookEventMode2$, GetWebhookEventStatus$inboundSchema, GetWebhookEventStatus$outboundSchema, GetWebhookEventStatus$, GetWebhookEventReviewStatus$inboundSchema, GetWebhookEventReviewStatus$outboundSchema, GetWebhookEventReviewStatus$, GetWebhookEventReview$inboundSchema, GetWebhookEventReview$outboundSchema, GetWebhookEventReview$, EntitySelf2$inboundSchema, EntitySelf2$outboundSchema, EntitySelf2$, GetWebhookEventDashboard$inboundSchema, GetWebhookEventDashboard$outboundSchema, GetWebhookEventDashboard$, GetWebhookEventChargebacks$inboundSchema, GetWebhookEventChargebacks$outboundSchema, GetWebhookEventChargebacks$, GetWebhookEventMethods$inboundSchema, GetWebhookEventMethods$outboundSchema, GetWebhookEventMethods$, GetWebhookEventPayments$inboundSchema, GetWebhookEventPayments$outboundSchema, GetWebhookEventPayments$, GetWebhookEventRefunds$inboundSchema, GetWebhookEventRefunds$outboundSchema, GetWebhookEventRefunds$, GetWebhookEventCheckoutPreviewUrl$inboundSchema, GetWebhookEventCheckoutPreviewUrl$outboundSchema, GetWebhookEventCheckoutPreviewUrl$, EntityDocumentation$inboundSchema, EntityDocumentation$outboundSchema, EntityDocumentation$, EntityLinks2$inboundSchema, EntityLinks2$outboundSchema, EntityLinks2$, GetWebhookEventProfile$inboundSchema, GetWebhookEventProfile$outboundSchema, GetWebhookEventProfile$, GetWebhookEventMode1$inboundSchema, GetWebhookEventMode1$outboundSchema, GetWebhookEventMode1$, GetWebhookEventAmount$inboundSchema, GetWebhookEventAmount$outboundSchema, GetWebhookEventAmount$, GetWebhookEventMinimumAmount$inboundSchema, GetWebhookEventMinimumAmount$outboundSchema, GetWebhookEventMinimumAmount$, GetWebhookEventType$inboundSchema, GetWebhookEventType$outboundSchema, GetWebhookEventType$, GetWebhookEventUnitPrice$inboundSchema, GetWebhookEventUnitPrice$outboundSchema, GetWebhookEventUnitPrice$, GetWebhookEventDiscountAmount$inboundSchema, GetWebhookEventDiscountAmount$outboundSchema, GetWebhookEventDiscountAmount$, GetWebhookEventTotalAmount$inboundSchema, GetWebhookEventTotalAmount$outboundSchema, GetWebhookEventTotalAmount$, GetWebhookEventVatAmount$inboundSchema, GetWebhookEventVatAmount$outboundSchema, GetWebhookEventVatAmount$, GetWebhookEventCategory$inboundSchema, GetWebhookEventCategory$outboundSchema, GetWebhookEventCategory$, GetWebhookEventLine$inboundSchema, GetWebhookEventLine$outboundSchema, GetWebhookEventLine$, GetWebhookEventBillingAddress$inboundSchema, GetWebhookEventBillingAddress$outboundSchema, GetWebhookEventBillingAddress$, GetWebhookEventShippingAddress$inboundSchema, GetWebhookEventShippingAddress$outboundSchema, GetWebhookEventShippingAddress$, GetWebhookEventApplicationFeeAmount$inboundSchema, GetWebhookEventApplicationFeeAmount$outboundSchema, GetWebhookEventApplicationFeeAmount$, GetWebhookEventApplicationFee$inboundSchema, GetWebhookEventApplicationFee$outboundSchema, GetWebhookEventApplicationFee$, EntitySelf1$inboundSchema, EntitySelf1$outboundSchema, EntitySelf1$, GetWebhookEventLinksPaymentLink$inboundSchema, GetWebhookEventLinksPaymentLink$outboundSchema, GetWebhookEventLinksPaymentLink$, EntityLinks1$inboundSchema, EntityLinks1$outboundSchema, EntityLinks1$, GetWebhookEventPaymentLink$inboundSchema, GetWebhookEventPaymentLink$outboundSchema, GetWebhookEventPaymentLink$, Entity$inboundSchema, Entity$outboundSchema, Entity$, GetWebhookEventEmbedded$inboundSchema, GetWebhookEventEmbedded$outboundSchema, GetWebhookEventEmbedded$, GetWebhookEventSelf$inboundSchema, GetWebhookEventSelf$outboundSchema, GetWebhookEventSelf$, GetWebhookEventDocumentation$inboundSchema, GetWebhookEventDocumentation$outboundSchema, GetWebhookEventDocumentation$, LinksEntity$inboundSchema, LinksEntity$outboundSchema, LinksEntity$, GetWebhookEventLinks$inboundSchema, GetWebhookEventLinks$outboundSchema, GetWebhookEventLinks$, GetWebhookEventResponse$inboundSchema, GetWebhookEventResponse$outboundSchema, GetWebhookEventResponse$;
69164
+ var GetWebhookEventMode2, GetWebhookEventStatus, GetWebhookEventReviewStatus, GetWebhookEventMode1, GetWebhookEventType, GetWebhookEventCategory, GetWebhookEventSequenceType, GetWebhookEventRequest$inboundSchema, GetWebhookEventRequest$outboundSchema, GetWebhookEventRequest$, GetWebhookEventNotFoundDocumentation$inboundSchema, GetWebhookEventNotFoundDocumentation$outboundSchema, GetWebhookEventNotFoundDocumentation$, GetWebhookEventNotFoundLinks$inboundSchema, GetWebhookEventNotFoundLinks$outboundSchema, GetWebhookEventNotFoundLinks$, GetWebhookEventMode2$inboundSchema, GetWebhookEventMode2$outboundSchema, GetWebhookEventMode2$, GetWebhookEventStatus$inboundSchema, GetWebhookEventStatus$outboundSchema, GetWebhookEventStatus$, GetWebhookEventReviewStatus$inboundSchema, GetWebhookEventReviewStatus$outboundSchema, GetWebhookEventReviewStatus$, GetWebhookEventReview$inboundSchema, GetWebhookEventReview$outboundSchema, GetWebhookEventReview$, EntitySelf2$inboundSchema, EntitySelf2$outboundSchema, EntitySelf2$, GetWebhookEventDashboard$inboundSchema, GetWebhookEventDashboard$outboundSchema, GetWebhookEventDashboard$, GetWebhookEventChargebacks$inboundSchema, GetWebhookEventChargebacks$outboundSchema, GetWebhookEventChargebacks$, GetWebhookEventMethods$inboundSchema, GetWebhookEventMethods$outboundSchema, GetWebhookEventMethods$, GetWebhookEventPayments$inboundSchema, GetWebhookEventPayments$outboundSchema, GetWebhookEventPayments$, GetWebhookEventRefunds$inboundSchema, GetWebhookEventRefunds$outboundSchema, GetWebhookEventRefunds$, GetWebhookEventCheckoutPreviewUrl$inboundSchema, GetWebhookEventCheckoutPreviewUrl$outboundSchema, GetWebhookEventCheckoutPreviewUrl$, EntityDocumentation$inboundSchema, EntityDocumentation$outboundSchema, EntityDocumentation$, EntityLinks2$inboundSchema, EntityLinks2$outboundSchema, EntityLinks2$, GetWebhookEventProfile$inboundSchema, GetWebhookEventProfile$outboundSchema, GetWebhookEventProfile$, GetWebhookEventMode1$inboundSchema, GetWebhookEventMode1$outboundSchema, GetWebhookEventMode1$, GetWebhookEventAmount$inboundSchema, GetWebhookEventAmount$outboundSchema, GetWebhookEventAmount$, GetWebhookEventMinimumAmount$inboundSchema, GetWebhookEventMinimumAmount$outboundSchema, GetWebhookEventMinimumAmount$, GetWebhookEventType$inboundSchema, GetWebhookEventType$outboundSchema, GetWebhookEventType$, GetWebhookEventUnitPrice$inboundSchema, GetWebhookEventUnitPrice$outboundSchema, GetWebhookEventUnitPrice$, GetWebhookEventDiscountAmount$inboundSchema, GetWebhookEventDiscountAmount$outboundSchema, GetWebhookEventDiscountAmount$, GetWebhookEventTotalAmount$inboundSchema, GetWebhookEventTotalAmount$outboundSchema, GetWebhookEventTotalAmount$, GetWebhookEventVatAmount$inboundSchema, GetWebhookEventVatAmount$outboundSchema, GetWebhookEventVatAmount$, GetWebhookEventCategory$inboundSchema, GetWebhookEventCategory$outboundSchema, GetWebhookEventCategory$, GetWebhookEventLine$inboundSchema, GetWebhookEventLine$outboundSchema, GetWebhookEventLine$, GetWebhookEventBillingAddress$inboundSchema, GetWebhookEventBillingAddress$outboundSchema, GetWebhookEventBillingAddress$, GetWebhookEventShippingAddress$inboundSchema, GetWebhookEventShippingAddress$outboundSchema, GetWebhookEventShippingAddress$, GetWebhookEventApplicationFeeAmount$inboundSchema, GetWebhookEventApplicationFeeAmount$outboundSchema, GetWebhookEventApplicationFeeAmount$, GetWebhookEventApplicationFee$inboundSchema, GetWebhookEventApplicationFee$outboundSchema, GetWebhookEventApplicationFee$, GetWebhookEventSequenceType$inboundSchema, GetWebhookEventSequenceType$outboundSchema, GetWebhookEventSequenceType$, EntitySelf1$inboundSchema, EntitySelf1$outboundSchema, EntitySelf1$, GetWebhookEventLinksPaymentLink$inboundSchema, GetWebhookEventLinksPaymentLink$outboundSchema, GetWebhookEventLinksPaymentLink$, EntityLinks1$inboundSchema, EntityLinks1$outboundSchema, EntityLinks1$, GetWebhookEventPaymentLink$inboundSchema, GetWebhookEventPaymentLink$outboundSchema, GetWebhookEventPaymentLink$, Entity$inboundSchema, Entity$outboundSchema, Entity$, GetWebhookEventEmbedded$inboundSchema, GetWebhookEventEmbedded$outboundSchema, GetWebhookEventEmbedded$, GetWebhookEventSelf$inboundSchema, GetWebhookEventSelf$outboundSchema, GetWebhookEventSelf$, GetWebhookEventDocumentation$inboundSchema, GetWebhookEventDocumentation$outboundSchema, GetWebhookEventDocumentation$, LinksEntity$inboundSchema, LinksEntity$outboundSchema, LinksEntity$, GetWebhookEventLinks$inboundSchema, GetWebhookEventLinks$outboundSchema, GetWebhookEventLinks$, GetWebhookEventResponse$inboundSchema, GetWebhookEventResponse$outboundSchema, GetWebhookEventResponse$;
69096
69165
  var init_getwebhookevent = __esm(() => {
69097
69166
  init_esm();
69098
69167
  init_primitives();
@@ -69129,6 +69198,10 @@ var init_getwebhookevent = __esm(() => {
69129
69198
  Gift: "gift",
69130
69199
  SportCulture: "sport_culture"
69131
69200
  };
69201
+ GetWebhookEventSequenceType = {
69202
+ Oneoff: "oneoff",
69203
+ First: "first"
69204
+ };
69132
69205
  GetWebhookEventRequest$inboundSchema = objectType({
69133
69206
  id: stringType()
69134
69207
  });
@@ -69565,6 +69638,12 @@ var init_getwebhookevent = __esm(() => {
69565
69638
  GetWebhookEventApplicationFee$.inboundSchema = GetWebhookEventApplicationFee$inboundSchema;
69566
69639
  GetWebhookEventApplicationFee$.outboundSchema = GetWebhookEventApplicationFee$outboundSchema;
69567
69640
  })(GetWebhookEventApplicationFee$ ||= {});
69641
+ GetWebhookEventSequenceType$inboundSchema = nativeEnumType(GetWebhookEventSequenceType);
69642
+ GetWebhookEventSequenceType$outboundSchema = GetWebhookEventSequenceType$inboundSchema;
69643
+ ((GetWebhookEventSequenceType$) => {
69644
+ GetWebhookEventSequenceType$.inboundSchema = GetWebhookEventSequenceType$inboundSchema;
69645
+ GetWebhookEventSequenceType$.outboundSchema = GetWebhookEventSequenceType$outboundSchema;
69646
+ })(GetWebhookEventSequenceType$ ||= {});
69568
69647
  EntitySelf1$inboundSchema = objectType({
69569
69648
  href: stringType(),
69570
69649
  type: stringType()
@@ -69621,6 +69700,8 @@ var init_getwebhookevent = __esm(() => {
69621
69700
  expiresAt: nullableType(stringType()),
69622
69701
  allowedMethods: nullableType(arrayType(stringType())),
69623
69702
  applicationFee: lazyType(() => GetWebhookEventApplicationFee$inboundSchema).optional(),
69703
+ sequenceType: nullableType(GetWebhookEventSequenceType$inboundSchema).optional(),
69704
+ customerId: nullableType(stringType()).optional(),
69624
69705
  _links: lazyType(() => EntityLinks1$inboundSchema)
69625
69706
  }).transform((v2) => {
69626
69707
  return remap(v2, {
@@ -69647,6 +69728,8 @@ var init_getwebhookevent = __esm(() => {
69647
69728
  expiresAt: nullableType(stringType()),
69648
69729
  allowedMethods: nullableType(arrayType(stringType())),
69649
69730
  applicationFee: lazyType(() => GetWebhookEventApplicationFee$outboundSchema).optional(),
69731
+ sequenceType: nullableType(GetWebhookEventSequenceType$outboundSchema).optional(),
69732
+ customerId: nullableType(stringType()).optional(),
69650
69733
  links: lazyType(() => EntityLinks1$outboundSchema)
69651
69734
  }).transform((v2) => {
69652
69735
  return remap(v2, {
@@ -70140,6 +70223,7 @@ var init_listallmethods = __esm(() => {
70140
70223
  Banktransfer: "banktransfer",
70141
70224
  Belfius: "belfius",
70142
70225
  Billie: "billie",
70226
+ Bizum: "bizum",
70143
70227
  Blik: "blik",
70144
70228
  Creditcard: "creditcard",
70145
70229
  Directdebit: "directdebit",
@@ -70152,9 +70236,14 @@ var init_listallmethods = __esm(() => {
70152
70236
  Klarnapaylater: "klarnapaylater",
70153
70237
  Klarnapaynow: "klarnapaynow",
70154
70238
  Klarnasliceit: "klarnasliceit",
70239
+ Mbway: "mbway",
70240
+ Multibanco: "multibanco",
70155
70241
  Mybank: "mybank",
70242
+ Paybybank: "paybybank",
70243
+ Payconiq: "payconiq",
70156
70244
  Paypal: "paypal",
70157
70245
  Paysafecard: "paysafecard",
70246
+ Pointofsale: "pointofsale",
70158
70247
  Przelewy24: "przelewy24",
70159
70248
  Riverty: "riverty",
70160
70249
  Satispay: "satispay",
@@ -70732,23 +70821,23 @@ var init_listallrefunds = __esm(() => {
70732
70821
  ListAllRefundsRefundDocumentation$.outboundSchema = ListAllRefundsRefundDocumentation$outboundSchema;
70733
70822
  })(ListAllRefundsRefundDocumentation$ ||= {});
70734
70823
  ListAllRefundsRefundLinks$inboundSchema = objectType({
70735
- self: lazyType(() => ListAllRefundsRefundSelf$inboundSchema).optional(),
70736
- payment: lazyType(() => ListAllRefundsPayment$inboundSchema).optional(),
70824
+ self: lazyType(() => ListAllRefundsRefundSelf$inboundSchema),
70825
+ payment: lazyType(() => ListAllRefundsPayment$inboundSchema),
70737
70826
  settlement: nullableType(lazyType(() => ListAllRefundsSettlement$inboundSchema)).optional(),
70738
- documentation: lazyType(() => ListAllRefundsRefundDocumentation$inboundSchema).optional()
70827
+ documentation: lazyType(() => ListAllRefundsRefundDocumentation$inboundSchema)
70739
70828
  });
70740
70829
  ListAllRefundsRefundLinks$outboundSchema = objectType({
70741
- self: lazyType(() => ListAllRefundsRefundSelf$outboundSchema).optional(),
70742
- payment: lazyType(() => ListAllRefundsPayment$outboundSchema).optional(),
70830
+ self: lazyType(() => ListAllRefundsRefundSelf$outboundSchema),
70831
+ payment: lazyType(() => ListAllRefundsPayment$outboundSchema),
70743
70832
  settlement: nullableType(lazyType(() => ListAllRefundsSettlement$outboundSchema)).optional(),
70744
- documentation: lazyType(() => ListAllRefundsRefundDocumentation$outboundSchema).optional()
70833
+ documentation: lazyType(() => ListAllRefundsRefundDocumentation$outboundSchema)
70745
70834
  });
70746
70835
  ((ListAllRefundsRefundLinks$) => {
70747
70836
  ListAllRefundsRefundLinks$.inboundSchema = ListAllRefundsRefundLinks$inboundSchema;
70748
70837
  ListAllRefundsRefundLinks$.outboundSchema = ListAllRefundsRefundLinks$outboundSchema;
70749
70838
  })(ListAllRefundsRefundLinks$ ||= {});
70750
70839
  ListAllRefundsRefund$inboundSchema = objectType({
70751
- resource: stringType().default("refund"),
70840
+ resource: stringType().optional(),
70752
70841
  id: stringType().optional(),
70753
70842
  mode: ListAllRefundsMode$inboundSchema.optional(),
70754
70843
  description: stringType().optional(),
@@ -70772,7 +70861,7 @@ var init_listallrefunds = __esm(() => {
70772
70861
  });
70773
70862
  });
70774
70863
  ListAllRefundsRefund$outboundSchema = objectType({
70775
- resource: stringType().default("refund"),
70864
+ resource: stringType().optional(),
70776
70865
  id: stringType().optional(),
70777
70866
  mode: ListAllRefundsMode$outboundSchema.optional(),
70778
70867
  description: stringType().optional(),
@@ -70900,147 +70989,69 @@ var init_listallrefunds = __esm(() => {
70900
70989
  });
70901
70990
 
70902
70991
  // src/models/operations/listallsubscriptions.ts
70903
- var ListAllSubscriptionsSort, ListAllSubscriptionsMode, ListAllSubscriptionsLineType, ListAllSubscriptionsCategory, ListAllSubscriptionsInterval, ListAllSubscriptionsLocale, ListAllSubscriptionsMethod, ListAllSubscriptionsCaptureMode, ListAllSubscriptionsRoutingMode, ListAllSubscriptionsRoutingType, ListAllSubscriptionsSequenceType, ListAllSubscriptionsStatus, ListAllSubscriptionsSort$inboundSchema, ListAllSubscriptionsSort$outboundSchema, ListAllSubscriptionsSort$, ListAllSubscriptionsRequest$inboundSchema, ListAllSubscriptionsRequest$outboundSchema, ListAllSubscriptionsRequest$, ListAllSubscriptionsBadRequestDocumentation$inboundSchema, ListAllSubscriptionsBadRequestDocumentation$outboundSchema, ListAllSubscriptionsBadRequestDocumentation$, ListAllSubscriptionsBadRequestLinks$inboundSchema, ListAllSubscriptionsBadRequestLinks$outboundSchema, ListAllSubscriptionsBadRequestLinks$, ListAllSubscriptionsMode$inboundSchema, ListAllSubscriptionsMode$outboundSchema, ListAllSubscriptionsMode$, ListAllSubscriptionsAmount$inboundSchema, ListAllSubscriptionsAmount$outboundSchema, ListAllSubscriptionsAmount$, ListAllSubscriptionsAmountRefunded$inboundSchema, ListAllSubscriptionsAmountRefunded$outboundSchema, ListAllSubscriptionsAmountRefunded$, ListAllSubscriptionsAmountRemaining$inboundSchema, ListAllSubscriptionsAmountRemaining$outboundSchema, ListAllSubscriptionsAmountRemaining$, ListAllSubscriptionsAmountCaptured$inboundSchema, ListAllSubscriptionsAmountCaptured$outboundSchema, ListAllSubscriptionsAmountCaptured$, ListAllSubscriptionsAmountChargedBack$inboundSchema, ListAllSubscriptionsAmountChargedBack$outboundSchema, ListAllSubscriptionsAmountChargedBack$, ListAllSubscriptionsSettlementAmount$inboundSchema, ListAllSubscriptionsSettlementAmount$outboundSchema, ListAllSubscriptionsSettlementAmount$, ListAllSubscriptionsLineType$inboundSchema, ListAllSubscriptionsLineType$outboundSchema, ListAllSubscriptionsLineType$, ListAllSubscriptionsUnitPrice$inboundSchema, ListAllSubscriptionsUnitPrice$outboundSchema, ListAllSubscriptionsUnitPrice$, ListAllSubscriptionsDiscountAmount$inboundSchema, ListAllSubscriptionsDiscountAmount$outboundSchema, ListAllSubscriptionsDiscountAmount$, ListAllSubscriptionsTotalAmount$inboundSchema, ListAllSubscriptionsTotalAmount$outboundSchema, ListAllSubscriptionsTotalAmount$, ListAllSubscriptionsVatAmount$inboundSchema, ListAllSubscriptionsVatAmount$outboundSchema, ListAllSubscriptionsVatAmount$, ListAllSubscriptionsCategory$inboundSchema, ListAllSubscriptionsCategory$outboundSchema, ListAllSubscriptionsCategory$, ListAllSubscriptionsInterval$inboundSchema, ListAllSubscriptionsInterval$outboundSchema, ListAllSubscriptionsInterval$, ListAllSubscriptionsRecurringAmount$inboundSchema, ListAllSubscriptionsRecurringAmount$outboundSchema, ListAllSubscriptionsRecurringAmount$, ListAllSubscriptionsRecurring$inboundSchema, ListAllSubscriptionsRecurring$outboundSchema, ListAllSubscriptionsRecurring$, ListAllSubscriptionsLine$inboundSchema, ListAllSubscriptionsLine$outboundSchema, ListAllSubscriptionsLine$, ListAllSubscriptionsBillingAddress$inboundSchema, ListAllSubscriptionsBillingAddress$outboundSchema, ListAllSubscriptionsBillingAddress$, ListAllSubscriptionsShippingAddress$inboundSchema, ListAllSubscriptionsShippingAddress$outboundSchema, ListAllSubscriptionsShippingAddress$, ListAllSubscriptionsLocale$inboundSchema, ListAllSubscriptionsLocale$outboundSchema, ListAllSubscriptionsLocale$, ListAllSubscriptionsMethod$inboundSchema, ListAllSubscriptionsMethod$outboundSchema, ListAllSubscriptionsMethod$, ListAllSubscriptionsMetadata$inboundSchema, ListAllSubscriptionsMetadata$outboundSchema, ListAllSubscriptionsMetadata$, ListAllSubscriptionsMetadataUnion$inboundSchema, ListAllSubscriptionsMetadataUnion$outboundSchema, ListAllSubscriptionsMetadataUnion$, ListAllSubscriptionsCaptureMode$inboundSchema, ListAllSubscriptionsCaptureMode$outboundSchema, ListAllSubscriptionsCaptureMode$, ListAllSubscriptionsApplicationFeeAmount$inboundSchema, ListAllSubscriptionsApplicationFeeAmount$outboundSchema, ListAllSubscriptionsApplicationFeeAmount$, ListAllSubscriptionsApplicationFee$inboundSchema, ListAllSubscriptionsApplicationFee$outboundSchema, ListAllSubscriptionsApplicationFee$, ListAllSubscriptionsRoutingMode$inboundSchema, ListAllSubscriptionsRoutingMode$outboundSchema, ListAllSubscriptionsRoutingMode$, ListAllSubscriptionsRoutingAmount$inboundSchema, ListAllSubscriptionsRoutingAmount$outboundSchema, ListAllSubscriptionsRoutingAmount$, ListAllSubscriptionsRoutingType$inboundSchema, ListAllSubscriptionsRoutingType$outboundSchema, ListAllSubscriptionsRoutingType$, ListAllSubscriptionsDestination$inboundSchema, ListAllSubscriptionsDestination$outboundSchema, ListAllSubscriptionsDestination$, ListAllSubscriptionsRoutingSelf$inboundSchema, ListAllSubscriptionsRoutingSelf$outboundSchema, ListAllSubscriptionsRoutingSelf$, ListAllSubscriptionsRoutingPayment$inboundSchema, ListAllSubscriptionsRoutingPayment$outboundSchema, ListAllSubscriptionsRoutingPayment$, ListAllSubscriptionsRoutingLinks$inboundSchema, ListAllSubscriptionsRoutingLinks$outboundSchema, ListAllSubscriptionsRoutingLinks$, ListAllSubscriptionsRouting$inboundSchema, ListAllSubscriptionsRouting$outboundSchema, ListAllSubscriptionsRouting$, ListAllSubscriptionsSequenceType$inboundSchema, ListAllSubscriptionsSequenceType$outboundSchema, ListAllSubscriptionsSequenceType$, ListAllSubscriptionsStatus$inboundSchema, ListAllSubscriptionsStatus$outboundSchema, ListAllSubscriptionsStatus$, ListAllSubscriptionsStatusReason$inboundSchema, ListAllSubscriptionsStatusReason$outboundSchema, ListAllSubscriptionsStatusReason$, ListAllSubscriptionsPaymentSelf$inboundSchema, ListAllSubscriptionsPaymentSelf$outboundSchema, ListAllSubscriptionsPaymentSelf$, ListAllSubscriptionsCheckout$inboundSchema, ListAllSubscriptionsCheckout$outboundSchema, ListAllSubscriptionsCheckout$, ListAllSubscriptionsMobileAppCheckout$inboundSchema, ListAllSubscriptionsMobileAppCheckout$outboundSchema, ListAllSubscriptionsMobileAppCheckout$, ListAllSubscriptionsChangePaymentState$inboundSchema, ListAllSubscriptionsChangePaymentState$outboundSchema, ListAllSubscriptionsChangePaymentState$, ListAllSubscriptionsDashboard$inboundSchema, ListAllSubscriptionsDashboard$outboundSchema, ListAllSubscriptionsDashboard$, ListAllSubscriptionsRefunds$inboundSchema, ListAllSubscriptionsRefunds$outboundSchema, ListAllSubscriptionsRefunds$, ListAllSubscriptionsChargebacks$inboundSchema, ListAllSubscriptionsChargebacks$outboundSchema, ListAllSubscriptionsChargebacks$, ListAllSubscriptionsCaptures$inboundSchema, ListAllSubscriptionsCaptures$outboundSchema, ListAllSubscriptionsCaptures$, ListAllSubscriptionsSettlement$inboundSchema, ListAllSubscriptionsSettlement$outboundSchema, ListAllSubscriptionsSettlement$, ListAllSubscriptionsCustomer$inboundSchema, ListAllSubscriptionsCustomer$outboundSchema, ListAllSubscriptionsCustomer$, ListAllSubscriptionsMandate$inboundSchema, ListAllSubscriptionsMandate$outboundSchema, ListAllSubscriptionsMandate$, ListAllSubscriptionsSubscription$inboundSchema, ListAllSubscriptionsSubscription$outboundSchema, ListAllSubscriptionsSubscription$, ListAllSubscriptionsOrder$inboundSchema, ListAllSubscriptionsOrder$outboundSchema, ListAllSubscriptionsOrder$, ListAllSubscriptionsTerminal$inboundSchema, ListAllSubscriptionsTerminal$outboundSchema, ListAllSubscriptionsTerminal$, ListAllSubscriptionsPaymentDocumentation$inboundSchema, ListAllSubscriptionsPaymentDocumentation$outboundSchema, ListAllSubscriptionsPaymentDocumentation$, ListAllSubscriptionsPaymentLinks$inboundSchema, ListAllSubscriptionsPaymentLinks$outboundSchema, ListAllSubscriptionsPaymentLinks$, ListAllSubscriptionsPaymentOutput$inboundSchema, ListAllSubscriptionsPaymentOutput$outboundSchema, ListAllSubscriptionsPaymentOutput$, ListAllSubscriptionsEmbedded$inboundSchema, ListAllSubscriptionsEmbedded$outboundSchema, ListAllSubscriptionsEmbedded$, ListAllSubscriptionsSelf$inboundSchema, ListAllSubscriptionsSelf$outboundSchema, ListAllSubscriptionsSelf$, ListAllSubscriptionsPrevious$inboundSchema, ListAllSubscriptionsPrevious$outboundSchema, ListAllSubscriptionsPrevious$, ListAllSubscriptionsNext$inboundSchema, ListAllSubscriptionsNext$outboundSchema, ListAllSubscriptionsNext$, ListAllSubscriptionsDocumentation$inboundSchema, ListAllSubscriptionsDocumentation$outboundSchema, ListAllSubscriptionsDocumentation$, ListAllSubscriptionsLinks$inboundSchema, ListAllSubscriptionsLinks$outboundSchema, ListAllSubscriptionsLinks$, ListAllSubscriptionsResponse$inboundSchema, ListAllSubscriptionsResponse$outboundSchema, ListAllSubscriptionsResponse$;
70992
+ var ListAllSubscriptionsMode, ListAllSubscriptionsStatus, ListAllSubscriptionsInterval, ListAllSubscriptionsMethod, ListAllSubscriptionsRequest$inboundSchema, ListAllSubscriptionsRequest$outboundSchema, ListAllSubscriptionsRequest$, ListAllSubscriptionsNotFoundDocumentation$inboundSchema, ListAllSubscriptionsNotFoundDocumentation$outboundSchema, ListAllSubscriptionsNotFoundDocumentation$, ListAllSubscriptionsNotFoundLinks$inboundSchema, ListAllSubscriptionsNotFoundLinks$outboundSchema, ListAllSubscriptionsNotFoundLinks$, ListAllSubscriptionsBadRequestDocumentation$inboundSchema, ListAllSubscriptionsBadRequestDocumentation$outboundSchema, ListAllSubscriptionsBadRequestDocumentation$, ListAllSubscriptionsBadRequestLinks$inboundSchema, ListAllSubscriptionsBadRequestLinks$outboundSchema, ListAllSubscriptionsBadRequestLinks$, ListAllSubscriptionsMode$inboundSchema, ListAllSubscriptionsMode$outboundSchema, ListAllSubscriptionsMode$, ListAllSubscriptionsStatus$inboundSchema, ListAllSubscriptionsStatus$outboundSchema, ListAllSubscriptionsStatus$, ListAllSubscriptionsAmount$inboundSchema, ListAllSubscriptionsAmount$outboundSchema, ListAllSubscriptionsAmount$, ListAllSubscriptionsInterval$inboundSchema, ListAllSubscriptionsInterval$outboundSchema, ListAllSubscriptionsInterval$, ListAllSubscriptionsMethod$inboundSchema, ListAllSubscriptionsMethod$outboundSchema, ListAllSubscriptionsMethod$, ListAllSubscriptionsApplicationFeeAmount$inboundSchema, ListAllSubscriptionsApplicationFeeAmount$outboundSchema, ListAllSubscriptionsApplicationFeeAmount$, ListAllSubscriptionsApplicationFee$inboundSchema, ListAllSubscriptionsApplicationFee$outboundSchema, ListAllSubscriptionsApplicationFee$, ListAllSubscriptionsMetadata$inboundSchema, ListAllSubscriptionsMetadata$outboundSchema, ListAllSubscriptionsMetadata$, ListAllSubscriptionsMetadataUnion$inboundSchema, ListAllSubscriptionsMetadataUnion$outboundSchema, ListAllSubscriptionsMetadataUnion$, ListAllSubscriptionsSubscriptionSelf$inboundSchema, ListAllSubscriptionsSubscriptionSelf$outboundSchema, ListAllSubscriptionsSubscriptionSelf$, ListAllSubscriptionsCustomer$inboundSchema, ListAllSubscriptionsCustomer$outboundSchema, ListAllSubscriptionsCustomer$, ListAllSubscriptionsMandate$inboundSchema, ListAllSubscriptionsMandate$outboundSchema, ListAllSubscriptionsMandate$, ListAllSubscriptionsProfile$inboundSchema, ListAllSubscriptionsProfile$outboundSchema, ListAllSubscriptionsProfile$, ListAllSubscriptionsPayments$inboundSchema, ListAllSubscriptionsPayments$outboundSchema, ListAllSubscriptionsPayments$, ListAllSubscriptionsSubscriptionDocumentation$inboundSchema, ListAllSubscriptionsSubscriptionDocumentation$outboundSchema, ListAllSubscriptionsSubscriptionDocumentation$, ListAllSubscriptionsSubscriptionLinks$inboundSchema, ListAllSubscriptionsSubscriptionLinks$outboundSchema, ListAllSubscriptionsSubscriptionLinks$, ListAllSubscriptionsSubscription$inboundSchema, ListAllSubscriptionsSubscription$outboundSchema, ListAllSubscriptionsSubscription$, ListAllSubscriptionsEmbedded$inboundSchema, ListAllSubscriptionsEmbedded$outboundSchema, ListAllSubscriptionsEmbedded$, ListAllSubscriptionsSelf$inboundSchema, ListAllSubscriptionsSelf$outboundSchema, ListAllSubscriptionsSelf$, ListAllSubscriptionsPrevious$inboundSchema, ListAllSubscriptionsPrevious$outboundSchema, ListAllSubscriptionsPrevious$, ListAllSubscriptionsNext$inboundSchema, ListAllSubscriptionsNext$outboundSchema, ListAllSubscriptionsNext$, ListAllSubscriptionsDocumentation$inboundSchema, ListAllSubscriptionsDocumentation$outboundSchema, ListAllSubscriptionsDocumentation$, ListAllSubscriptionsLinks$inboundSchema, ListAllSubscriptionsLinks$outboundSchema, ListAllSubscriptionsLinks$, ListAllSubscriptionsResponse$inboundSchema, ListAllSubscriptionsResponse$outboundSchema, ListAllSubscriptionsResponse$;
70904
70993
  var init_listallsubscriptions = __esm(() => {
70905
70994
  init_esm();
70906
70995
  init_primitives();
70907
- ListAllSubscriptionsSort = {
70908
- Asc: "asc",
70909
- Desc: "desc"
70910
- };
70911
70996
  ListAllSubscriptionsMode = {
70912
70997
  Live: "live",
70913
70998
  Test: "test"
70914
70999
  };
70915
- ListAllSubscriptionsLineType = {
70916
- Physical: "physical",
70917
- Digital: "digital",
70918
- ShippingFee: "shipping_fee",
70919
- Discount: "discount",
70920
- StoreCredit: "store_credit",
70921
- GiftCard: "gift_card",
70922
- Surcharge: "surcharge",
70923
- Tip: "tip"
70924
- };
70925
- ListAllSubscriptionsCategory = {
70926
- Meal: "meal",
70927
- Eco: "eco",
70928
- Gift: "gift",
70929
- SportCulture: "sport_culture"
71000
+ ListAllSubscriptionsStatus = {
71001
+ Pending: "pending",
71002
+ Active: "active",
71003
+ Canceled: "canceled",
71004
+ Suspended: "suspended",
71005
+ Completed: "completed"
70930
71006
  };
70931
71007
  ListAllSubscriptionsInterval = {
70932
- DotDotDotMonths: "... months",
71008
+ DotDotDotDays: "... days",
70933
71009
  DotDotDotWeeks: "... weeks",
70934
- DotDotDotDays: "... days"
70935
- };
70936
- ListAllSubscriptionsLocale = {
70937
- EnUS: "en_US",
70938
- EnGB: "en_GB",
70939
- NLNL: "nl_NL",
70940
- NlBE: "nl_BE",
70941
- DEDE: "de_DE",
70942
- DeAT: "de_AT",
70943
- DeCH: "de_CH",
70944
- FRFR: "fr_FR",
70945
- FrBE: "fr_BE",
70946
- ESES: "es_ES",
70947
- CaES: "ca_ES",
70948
- PTPT: "pt_PT",
70949
- ITIT: "it_IT",
70950
- NbNO: "nb_NO",
70951
- SvSE: "sv_SE",
70952
- FIFI: "fi_FI",
70953
- DaDK: "da_DK",
70954
- ISIS: "is_IS",
70955
- HUHU: "hu_HU",
70956
- PLPL: "pl_PL",
70957
- LVLV: "lv_LV",
70958
- LTLT: "lt_LT"
71010
+ DotDotDotMonths: "... months"
70959
71011
  };
70960
71012
  ListAllSubscriptionsMethod = {
70961
- Alma: "alma",
70962
- Applepay: "applepay",
70963
- Bacs: "bacs",
70964
- Bancomatpay: "bancomatpay",
70965
- Bancontact: "bancontact",
70966
- Banktransfer: "banktransfer",
70967
- Belfius: "belfius",
70968
- Billie: "billie",
70969
- Bizum: "bizum",
70970
- Blik: "blik",
70971
71013
  Creditcard: "creditcard",
70972
71014
  Directdebit: "directdebit",
70973
- Eps: "eps",
70974
- Giftcard: "giftcard",
70975
- Ideal: "ideal",
70976
- In3: "in3",
70977
- Kbc: "kbc",
70978
- Klarna: "klarna",
70979
- Mbway: "mbway",
70980
- Multibanco: "multibanco",
70981
- Mybank: "mybank",
70982
- Paybybank: "paybybank",
70983
- Payconiq: "payconiq",
70984
- Paypal: "paypal",
70985
- Paysafecard: "paysafecard",
70986
- Pointofsale: "pointofsale",
70987
- Przelewy24: "przelewy24",
70988
- Riverty: "riverty",
70989
- Satispay: "satispay",
70990
- Swish: "swish",
70991
- Trustly: "trustly",
70992
- Twint: "twint",
70993
- Voucher: "voucher"
70994
- };
70995
- ListAllSubscriptionsCaptureMode = {
70996
- Automatic: "automatic",
70997
- Manual: "manual"
70998
- };
70999
- ListAllSubscriptionsRoutingMode = {
71000
- Live: "live",
71001
- Test: "test"
71002
- };
71003
- ListAllSubscriptionsRoutingType = {
71004
- Organization: "organization"
71005
- };
71006
- ListAllSubscriptionsSequenceType = {
71007
- Oneoff: "oneoff",
71008
- First: "first",
71009
- Recurring: "recurring"
71010
- };
71011
- ListAllSubscriptionsStatus = {
71012
- Open: "open",
71013
- Pending: "pending",
71014
- Authorized: "authorized",
71015
- Paid: "paid",
71016
- Canceled: "canceled",
71017
- Expired: "expired",
71018
- Failed: "failed"
71015
+ Paypal: "paypal"
71019
71016
  };
71020
- ListAllSubscriptionsSort$inboundSchema = nativeEnumType(ListAllSubscriptionsSort);
71021
- ListAllSubscriptionsSort$outboundSchema = ListAllSubscriptionsSort$inboundSchema;
71022
- ((ListAllSubscriptionsSort$) => {
71023
- ListAllSubscriptionsSort$.inboundSchema = ListAllSubscriptionsSort$inboundSchema;
71024
- ListAllSubscriptionsSort$.outboundSchema = ListAllSubscriptionsSort$outboundSchema;
71025
- })(ListAllSubscriptionsSort$ ||= {});
71026
71017
  ListAllSubscriptionsRequest$inboundSchema = objectType({
71027
71018
  from: stringType().optional(),
71028
71019
  limit: nullableType(numberType().int().default(50)),
71029
- sort: nullableType(ListAllSubscriptionsSort$inboundSchema.default("desc")),
71030
- profileId: stringType().optional(),
71020
+ profileId: nullableType(stringType()).optional(),
71031
71021
  testmode: nullableType(booleanType()).optional()
71032
71022
  });
71033
71023
  ListAllSubscriptionsRequest$outboundSchema = objectType({
71034
71024
  from: stringType().optional(),
71035
71025
  limit: nullableType(numberType().int().default(50)),
71036
- sort: nullableType(ListAllSubscriptionsSort$outboundSchema.default("desc")),
71037
- profileId: stringType().optional(),
71026
+ profileId: nullableType(stringType()).optional(),
71038
71027
  testmode: nullableType(booleanType()).optional()
71039
71028
  });
71040
71029
  ((ListAllSubscriptionsRequest$) => {
71041
71030
  ListAllSubscriptionsRequest$.inboundSchema = ListAllSubscriptionsRequest$inboundSchema;
71042
71031
  ListAllSubscriptionsRequest$.outboundSchema = ListAllSubscriptionsRequest$outboundSchema;
71043
71032
  })(ListAllSubscriptionsRequest$ ||= {});
71033
+ ListAllSubscriptionsNotFoundDocumentation$inboundSchema = objectType({
71034
+ href: stringType(),
71035
+ type: stringType()
71036
+ });
71037
+ ListAllSubscriptionsNotFoundDocumentation$outboundSchema = objectType({
71038
+ href: stringType(),
71039
+ type: stringType()
71040
+ });
71041
+ ((ListAllSubscriptionsNotFoundDocumentation$) => {
71042
+ ListAllSubscriptionsNotFoundDocumentation$.inboundSchema = ListAllSubscriptionsNotFoundDocumentation$inboundSchema;
71043
+ ListAllSubscriptionsNotFoundDocumentation$.outboundSchema = ListAllSubscriptionsNotFoundDocumentation$outboundSchema;
71044
+ })(ListAllSubscriptionsNotFoundDocumentation$ ||= {});
71045
+ ListAllSubscriptionsNotFoundLinks$inboundSchema = objectType({
71046
+ documentation: lazyType(() => ListAllSubscriptionsNotFoundDocumentation$inboundSchema)
71047
+ });
71048
+ ListAllSubscriptionsNotFoundLinks$outboundSchema = objectType({
71049
+ documentation: lazyType(() => ListAllSubscriptionsNotFoundDocumentation$outboundSchema)
71050
+ });
71051
+ ((ListAllSubscriptionsNotFoundLinks$) => {
71052
+ ListAllSubscriptionsNotFoundLinks$.inboundSchema = ListAllSubscriptionsNotFoundLinks$inboundSchema;
71053
+ ListAllSubscriptionsNotFoundLinks$.outboundSchema = ListAllSubscriptionsNotFoundLinks$outboundSchema;
71054
+ })(ListAllSubscriptionsNotFoundLinks$ ||= {});
71044
71055
  ListAllSubscriptionsBadRequestDocumentation$inboundSchema = objectType({
71045
71056
  href: stringType(),
71046
71057
  type: stringType()
@@ -71069,6 +71080,12 @@ var init_listallsubscriptions = __esm(() => {
71069
71080
  ListAllSubscriptionsMode$.inboundSchema = ListAllSubscriptionsMode$inboundSchema;
71070
71081
  ListAllSubscriptionsMode$.outboundSchema = ListAllSubscriptionsMode$outboundSchema;
71071
71082
  })(ListAllSubscriptionsMode$ ||= {});
71083
+ ListAllSubscriptionsStatus$inboundSchema = nativeEnumType(ListAllSubscriptionsStatus);
71084
+ ListAllSubscriptionsStatus$outboundSchema = ListAllSubscriptionsStatus$inboundSchema;
71085
+ ((ListAllSubscriptionsStatus$) => {
71086
+ ListAllSubscriptionsStatus$.inboundSchema = ListAllSubscriptionsStatus$inboundSchema;
71087
+ ListAllSubscriptionsStatus$.outboundSchema = ListAllSubscriptionsStatus$outboundSchema;
71088
+ })(ListAllSubscriptionsStatus$ ||= {});
71072
71089
  ListAllSubscriptionsAmount$inboundSchema = objectType({
71073
71090
  currency: stringType(),
71074
71091
  value: stringType()
@@ -71081,274 +71098,42 @@ var init_listallsubscriptions = __esm(() => {
71081
71098
  ListAllSubscriptionsAmount$.inboundSchema = ListAllSubscriptionsAmount$inboundSchema;
71082
71099
  ListAllSubscriptionsAmount$.outboundSchema = ListAllSubscriptionsAmount$outboundSchema;
71083
71100
  })(ListAllSubscriptionsAmount$ ||= {});
71084
- ListAllSubscriptionsAmountRefunded$inboundSchema = objectType({
71085
- currency: stringType(),
71086
- value: stringType()
71087
- });
71088
- ListAllSubscriptionsAmountRefunded$outboundSchema = objectType({
71089
- currency: stringType(),
71090
- value: stringType()
71091
- });
71092
- ((ListAllSubscriptionsAmountRefunded$) => {
71093
- ListAllSubscriptionsAmountRefunded$.inboundSchema = ListAllSubscriptionsAmountRefunded$inboundSchema;
71094
- ListAllSubscriptionsAmountRefunded$.outboundSchema = ListAllSubscriptionsAmountRefunded$outboundSchema;
71095
- })(ListAllSubscriptionsAmountRefunded$ ||= {});
71096
- ListAllSubscriptionsAmountRemaining$inboundSchema = objectType({
71097
- currency: stringType(),
71098
- value: stringType()
71099
- });
71100
- ListAllSubscriptionsAmountRemaining$outboundSchema = objectType({
71101
- currency: stringType(),
71102
- value: stringType()
71103
- });
71104
- ((ListAllSubscriptionsAmountRemaining$) => {
71105
- ListAllSubscriptionsAmountRemaining$.inboundSchema = ListAllSubscriptionsAmountRemaining$inboundSchema;
71106
- ListAllSubscriptionsAmountRemaining$.outboundSchema = ListAllSubscriptionsAmountRemaining$outboundSchema;
71107
- })(ListAllSubscriptionsAmountRemaining$ ||= {});
71108
- ListAllSubscriptionsAmountCaptured$inboundSchema = objectType({
71109
- currency: stringType(),
71110
- value: stringType()
71111
- });
71112
- ListAllSubscriptionsAmountCaptured$outboundSchema = objectType({
71113
- currency: stringType(),
71114
- value: stringType()
71115
- });
71116
- ((ListAllSubscriptionsAmountCaptured$) => {
71117
- ListAllSubscriptionsAmountCaptured$.inboundSchema = ListAllSubscriptionsAmountCaptured$inboundSchema;
71118
- ListAllSubscriptionsAmountCaptured$.outboundSchema = ListAllSubscriptionsAmountCaptured$outboundSchema;
71119
- })(ListAllSubscriptionsAmountCaptured$ ||= {});
71120
- ListAllSubscriptionsAmountChargedBack$inboundSchema = objectType({
71121
- currency: stringType(),
71122
- value: stringType()
71123
- });
71124
- ListAllSubscriptionsAmountChargedBack$outboundSchema = objectType({
71125
- currency: stringType(),
71126
- value: stringType()
71127
- });
71128
- ((ListAllSubscriptionsAmountChargedBack$) => {
71129
- ListAllSubscriptionsAmountChargedBack$.inboundSchema = ListAllSubscriptionsAmountChargedBack$inboundSchema;
71130
- ListAllSubscriptionsAmountChargedBack$.outboundSchema = ListAllSubscriptionsAmountChargedBack$outboundSchema;
71131
- })(ListAllSubscriptionsAmountChargedBack$ ||= {});
71132
- ListAllSubscriptionsSettlementAmount$inboundSchema = objectType({
71133
- currency: stringType(),
71134
- value: stringType()
71135
- });
71136
- ListAllSubscriptionsSettlementAmount$outboundSchema = objectType({
71137
- currency: stringType(),
71138
- value: stringType()
71139
- });
71140
- ((ListAllSubscriptionsSettlementAmount$) => {
71141
- ListAllSubscriptionsSettlementAmount$.inboundSchema = ListAllSubscriptionsSettlementAmount$inboundSchema;
71142
- ListAllSubscriptionsSettlementAmount$.outboundSchema = ListAllSubscriptionsSettlementAmount$outboundSchema;
71143
- })(ListAllSubscriptionsSettlementAmount$ ||= {});
71144
- ListAllSubscriptionsLineType$inboundSchema = nativeEnumType(ListAllSubscriptionsLineType);
71145
- ListAllSubscriptionsLineType$outboundSchema = ListAllSubscriptionsLineType$inboundSchema;
71146
- ((ListAllSubscriptionsLineType$) => {
71147
- ListAllSubscriptionsLineType$.inboundSchema = ListAllSubscriptionsLineType$inboundSchema;
71148
- ListAllSubscriptionsLineType$.outboundSchema = ListAllSubscriptionsLineType$outboundSchema;
71149
- })(ListAllSubscriptionsLineType$ ||= {});
71150
- ListAllSubscriptionsUnitPrice$inboundSchema = objectType({
71151
- currency: stringType(),
71152
- value: stringType()
71153
- });
71154
- ListAllSubscriptionsUnitPrice$outboundSchema = objectType({
71155
- currency: stringType(),
71156
- value: stringType()
71157
- });
71158
- ((ListAllSubscriptionsUnitPrice$) => {
71159
- ListAllSubscriptionsUnitPrice$.inboundSchema = ListAllSubscriptionsUnitPrice$inboundSchema;
71160
- ListAllSubscriptionsUnitPrice$.outboundSchema = ListAllSubscriptionsUnitPrice$outboundSchema;
71161
- })(ListAllSubscriptionsUnitPrice$ ||= {});
71162
- ListAllSubscriptionsDiscountAmount$inboundSchema = objectType({
71163
- currency: stringType(),
71164
- value: stringType()
71165
- });
71166
- ListAllSubscriptionsDiscountAmount$outboundSchema = objectType({
71167
- currency: stringType(),
71168
- value: stringType()
71169
- });
71170
- ((ListAllSubscriptionsDiscountAmount$) => {
71171
- ListAllSubscriptionsDiscountAmount$.inboundSchema = ListAllSubscriptionsDiscountAmount$inboundSchema;
71172
- ListAllSubscriptionsDiscountAmount$.outboundSchema = ListAllSubscriptionsDiscountAmount$outboundSchema;
71173
- })(ListAllSubscriptionsDiscountAmount$ ||= {});
71174
- ListAllSubscriptionsTotalAmount$inboundSchema = objectType({
71175
- currency: stringType(),
71176
- value: stringType()
71177
- });
71178
- ListAllSubscriptionsTotalAmount$outboundSchema = objectType({
71179
- currency: stringType(),
71180
- value: stringType()
71181
- });
71182
- ((ListAllSubscriptionsTotalAmount$) => {
71183
- ListAllSubscriptionsTotalAmount$.inboundSchema = ListAllSubscriptionsTotalAmount$inboundSchema;
71184
- ListAllSubscriptionsTotalAmount$.outboundSchema = ListAllSubscriptionsTotalAmount$outboundSchema;
71185
- })(ListAllSubscriptionsTotalAmount$ ||= {});
71186
- ListAllSubscriptionsVatAmount$inboundSchema = objectType({
71187
- currency: stringType(),
71188
- value: stringType()
71189
- });
71190
- ListAllSubscriptionsVatAmount$outboundSchema = objectType({
71191
- currency: stringType(),
71192
- value: stringType()
71193
- });
71194
- ((ListAllSubscriptionsVatAmount$) => {
71195
- ListAllSubscriptionsVatAmount$.inboundSchema = ListAllSubscriptionsVatAmount$inboundSchema;
71196
- ListAllSubscriptionsVatAmount$.outboundSchema = ListAllSubscriptionsVatAmount$outboundSchema;
71197
- })(ListAllSubscriptionsVatAmount$ ||= {});
71198
- ListAllSubscriptionsCategory$inboundSchema = nativeEnumType(ListAllSubscriptionsCategory);
71199
- ListAllSubscriptionsCategory$outboundSchema = ListAllSubscriptionsCategory$inboundSchema;
71200
- ((ListAllSubscriptionsCategory$) => {
71201
- ListAllSubscriptionsCategory$.inboundSchema = ListAllSubscriptionsCategory$inboundSchema;
71202
- ListAllSubscriptionsCategory$.outboundSchema = ListAllSubscriptionsCategory$outboundSchema;
71203
- })(ListAllSubscriptionsCategory$ ||= {});
71204
71101
  ListAllSubscriptionsInterval$inboundSchema = nativeEnumType(ListAllSubscriptionsInterval);
71205
71102
  ListAllSubscriptionsInterval$outboundSchema = ListAllSubscriptionsInterval$inboundSchema;
71206
71103
  ((ListAllSubscriptionsInterval$) => {
71207
71104
  ListAllSubscriptionsInterval$.inboundSchema = ListAllSubscriptionsInterval$inboundSchema;
71208
71105
  ListAllSubscriptionsInterval$.outboundSchema = ListAllSubscriptionsInterval$outboundSchema;
71209
71106
  })(ListAllSubscriptionsInterval$ ||= {});
71210
- ListAllSubscriptionsRecurringAmount$inboundSchema = objectType({
71107
+ ListAllSubscriptionsMethod$inboundSchema = nativeEnumType(ListAllSubscriptionsMethod);
71108
+ ListAllSubscriptionsMethod$outboundSchema = ListAllSubscriptionsMethod$inboundSchema;
71109
+ ((ListAllSubscriptionsMethod$) => {
71110
+ ListAllSubscriptionsMethod$.inboundSchema = ListAllSubscriptionsMethod$inboundSchema;
71111
+ ListAllSubscriptionsMethod$.outboundSchema = ListAllSubscriptionsMethod$outboundSchema;
71112
+ })(ListAllSubscriptionsMethod$ ||= {});
71113
+ ListAllSubscriptionsApplicationFeeAmount$inboundSchema = objectType({
71211
71114
  currency: stringType(),
71212
71115
  value: stringType()
71213
71116
  });
71214
- ListAllSubscriptionsRecurringAmount$outboundSchema = objectType({
71117
+ ListAllSubscriptionsApplicationFeeAmount$outboundSchema = objectType({
71215
71118
  currency: stringType(),
71216
71119
  value: stringType()
71217
71120
  });
71218
- ((ListAllSubscriptionsRecurringAmount$) => {
71219
- ListAllSubscriptionsRecurringAmount$.inboundSchema = ListAllSubscriptionsRecurringAmount$inboundSchema;
71220
- ListAllSubscriptionsRecurringAmount$.outboundSchema = ListAllSubscriptionsRecurringAmount$outboundSchema;
71221
- })(ListAllSubscriptionsRecurringAmount$ ||= {});
71222
- ListAllSubscriptionsRecurring$inboundSchema = objectType({
71223
- description: stringType().optional(),
71224
- interval: ListAllSubscriptionsInterval$inboundSchema,
71225
- amount: lazyType(() => ListAllSubscriptionsRecurringAmount$inboundSchema).optional(),
71226
- times: numberType().int().optional(),
71227
- startDate: nullableType(stringType()).optional()
71228
- });
71229
- ListAllSubscriptionsRecurring$outboundSchema = objectType({
71230
- description: stringType().optional(),
71231
- interval: ListAllSubscriptionsInterval$outboundSchema,
71232
- amount: lazyType(() => ListAllSubscriptionsRecurringAmount$outboundSchema).optional(),
71233
- times: numberType().int().optional(),
71234
- startDate: nullableType(stringType()).optional()
71235
- });
71236
- ((ListAllSubscriptionsRecurring$) => {
71237
- ListAllSubscriptionsRecurring$.inboundSchema = ListAllSubscriptionsRecurring$inboundSchema;
71238
- ListAllSubscriptionsRecurring$.outboundSchema = ListAllSubscriptionsRecurring$outboundSchema;
71239
- })(ListAllSubscriptionsRecurring$ ||= {});
71240
- ListAllSubscriptionsLine$inboundSchema = objectType({
71241
- type: ListAllSubscriptionsLineType$inboundSchema.default("physical"),
71242
- description: stringType(),
71243
- quantity: numberType().int(),
71244
- quantityUnit: stringType().optional(),
71245
- unitPrice: lazyType(() => ListAllSubscriptionsUnitPrice$inboundSchema),
71246
- discountAmount: lazyType(() => ListAllSubscriptionsDiscountAmount$inboundSchema).optional(),
71247
- totalAmount: lazyType(() => ListAllSubscriptionsTotalAmount$inboundSchema),
71248
- vatRate: stringType().optional(),
71249
- vatAmount: lazyType(() => ListAllSubscriptionsVatAmount$inboundSchema).optional(),
71250
- sku: stringType().optional(),
71251
- categories: arrayType(ListAllSubscriptionsCategory$inboundSchema).optional(),
71252
- imageUrl: stringType().optional(),
71253
- productUrl: stringType().optional(),
71254
- recurring: lazyType(() => ListAllSubscriptionsRecurring$inboundSchema).optional()
71255
- });
71256
- ListAllSubscriptionsLine$outboundSchema = objectType({
71257
- type: ListAllSubscriptionsLineType$outboundSchema.default("physical"),
71258
- description: stringType(),
71259
- quantity: numberType().int(),
71260
- quantityUnit: stringType().optional(),
71261
- unitPrice: lazyType(() => ListAllSubscriptionsUnitPrice$outboundSchema),
71262
- discountAmount: lazyType(() => ListAllSubscriptionsDiscountAmount$outboundSchema).optional(),
71263
- totalAmount: lazyType(() => ListAllSubscriptionsTotalAmount$outboundSchema),
71264
- vatRate: stringType().optional(),
71265
- vatAmount: lazyType(() => ListAllSubscriptionsVatAmount$outboundSchema).optional(),
71266
- sku: stringType().optional(),
71267
- categories: arrayType(ListAllSubscriptionsCategory$outboundSchema).optional(),
71268
- imageUrl: stringType().optional(),
71269
- productUrl: stringType().optional(),
71270
- recurring: lazyType(() => ListAllSubscriptionsRecurring$outboundSchema).optional()
71271
- });
71272
- ((ListAllSubscriptionsLine$) => {
71273
- ListAllSubscriptionsLine$.inboundSchema = ListAllSubscriptionsLine$inboundSchema;
71274
- ListAllSubscriptionsLine$.outboundSchema = ListAllSubscriptionsLine$outboundSchema;
71275
- })(ListAllSubscriptionsLine$ ||= {});
71276
- ListAllSubscriptionsBillingAddress$inboundSchema = objectType({
71277
- title: stringType().optional(),
71278
- givenName: stringType().optional(),
71279
- familyName: stringType().optional(),
71280
- organizationName: stringType().optional(),
71281
- streetAndNumber: stringType().optional(),
71282
- streetAdditional: stringType().optional(),
71283
- postalCode: stringType().optional(),
71284
- email: stringType().optional(),
71285
- phone: stringType().optional(),
71286
- city: stringType().optional(),
71287
- region: stringType().optional(),
71288
- country: stringType().optional()
71289
- });
71290
- ListAllSubscriptionsBillingAddress$outboundSchema = objectType({
71291
- title: stringType().optional(),
71292
- givenName: stringType().optional(),
71293
- familyName: stringType().optional(),
71294
- organizationName: stringType().optional(),
71295
- streetAndNumber: stringType().optional(),
71296
- streetAdditional: stringType().optional(),
71297
- postalCode: stringType().optional(),
71298
- email: stringType().optional(),
71299
- phone: stringType().optional(),
71300
- city: stringType().optional(),
71301
- region: stringType().optional(),
71302
- country: stringType().optional()
71303
- });
71304
- ((ListAllSubscriptionsBillingAddress$) => {
71305
- ListAllSubscriptionsBillingAddress$.inboundSchema = ListAllSubscriptionsBillingAddress$inboundSchema;
71306
- ListAllSubscriptionsBillingAddress$.outboundSchema = ListAllSubscriptionsBillingAddress$outboundSchema;
71307
- })(ListAllSubscriptionsBillingAddress$ ||= {});
71308
- ListAllSubscriptionsShippingAddress$inboundSchema = objectType({
71309
- title: stringType().optional(),
71310
- givenName: stringType().optional(),
71311
- familyName: stringType().optional(),
71312
- organizationName: stringType().optional(),
71313
- streetAndNumber: stringType().optional(),
71314
- streetAdditional: stringType().optional(),
71315
- postalCode: stringType().optional(),
71316
- email: stringType().optional(),
71317
- phone: stringType().optional(),
71318
- city: stringType().optional(),
71319
- region: stringType().optional(),
71320
- country: stringType().optional()
71121
+ ((ListAllSubscriptionsApplicationFeeAmount$) => {
71122
+ ListAllSubscriptionsApplicationFeeAmount$.inboundSchema = ListAllSubscriptionsApplicationFeeAmount$inboundSchema;
71123
+ ListAllSubscriptionsApplicationFeeAmount$.outboundSchema = ListAllSubscriptionsApplicationFeeAmount$outboundSchema;
71124
+ })(ListAllSubscriptionsApplicationFeeAmount$ ||= {});
71125
+ ListAllSubscriptionsApplicationFee$inboundSchema = objectType({
71126
+ amount: lazyType(() => ListAllSubscriptionsApplicationFeeAmount$inboundSchema),
71127
+ description: stringType()
71321
71128
  });
71322
- ListAllSubscriptionsShippingAddress$outboundSchema = objectType({
71323
- title: stringType().optional(),
71324
- givenName: stringType().optional(),
71325
- familyName: stringType().optional(),
71326
- organizationName: stringType().optional(),
71327
- streetAndNumber: stringType().optional(),
71328
- streetAdditional: stringType().optional(),
71329
- postalCode: stringType().optional(),
71330
- email: stringType().optional(),
71331
- phone: stringType().optional(),
71332
- city: stringType().optional(),
71333
- region: stringType().optional(),
71334
- country: stringType().optional()
71129
+ ListAllSubscriptionsApplicationFee$outboundSchema = objectType({
71130
+ amount: lazyType(() => ListAllSubscriptionsApplicationFeeAmount$outboundSchema),
71131
+ description: stringType()
71335
71132
  });
71336
- ((ListAllSubscriptionsShippingAddress$) => {
71337
- ListAllSubscriptionsShippingAddress$.inboundSchema = ListAllSubscriptionsShippingAddress$inboundSchema;
71338
- ListAllSubscriptionsShippingAddress$.outboundSchema = ListAllSubscriptionsShippingAddress$outboundSchema;
71339
- })(ListAllSubscriptionsShippingAddress$ ||= {});
71340
- ListAllSubscriptionsLocale$inboundSchema = nativeEnumType(ListAllSubscriptionsLocale);
71341
- ListAllSubscriptionsLocale$outboundSchema = ListAllSubscriptionsLocale$inboundSchema;
71342
- ((ListAllSubscriptionsLocale$) => {
71343
- ListAllSubscriptionsLocale$.inboundSchema = ListAllSubscriptionsLocale$inboundSchema;
71344
- ListAllSubscriptionsLocale$.outboundSchema = ListAllSubscriptionsLocale$outboundSchema;
71345
- })(ListAllSubscriptionsLocale$ ||= {});
71346
- ListAllSubscriptionsMethod$inboundSchema = nativeEnumType(ListAllSubscriptionsMethod);
71347
- ListAllSubscriptionsMethod$outboundSchema = ListAllSubscriptionsMethod$inboundSchema;
71348
- ((ListAllSubscriptionsMethod$) => {
71349
- ListAllSubscriptionsMethod$.inboundSchema = ListAllSubscriptionsMethod$inboundSchema;
71350
- ListAllSubscriptionsMethod$.outboundSchema = ListAllSubscriptionsMethod$outboundSchema;
71351
- })(ListAllSubscriptionsMethod$ ||= {});
71133
+ ((ListAllSubscriptionsApplicationFee$) => {
71134
+ ListAllSubscriptionsApplicationFee$.inboundSchema = ListAllSubscriptionsApplicationFee$inboundSchema;
71135
+ ListAllSubscriptionsApplicationFee$.outboundSchema = ListAllSubscriptionsApplicationFee$outboundSchema;
71136
+ })(ListAllSubscriptionsApplicationFee$ ||= {});
71352
71137
  ListAllSubscriptionsMetadata$inboundSchema = objectType({});
71353
71138
  ListAllSubscriptionsMetadata$outboundSchema = objectType({});
71354
71139
  ((ListAllSubscriptionsMetadata$) => {
@@ -71369,501 +71154,167 @@ var init_listallsubscriptions = __esm(() => {
71369
71154
  ListAllSubscriptionsMetadataUnion$.inboundSchema = ListAllSubscriptionsMetadataUnion$inboundSchema;
71370
71155
  ListAllSubscriptionsMetadataUnion$.outboundSchema = ListAllSubscriptionsMetadataUnion$outboundSchema;
71371
71156
  })(ListAllSubscriptionsMetadataUnion$ ||= {});
71372
- ListAllSubscriptionsCaptureMode$inboundSchema = nativeEnumType(ListAllSubscriptionsCaptureMode);
71373
- ListAllSubscriptionsCaptureMode$outboundSchema = ListAllSubscriptionsCaptureMode$inboundSchema;
71374
- ((ListAllSubscriptionsCaptureMode$) => {
71375
- ListAllSubscriptionsCaptureMode$.inboundSchema = ListAllSubscriptionsCaptureMode$inboundSchema;
71376
- ListAllSubscriptionsCaptureMode$.outboundSchema = ListAllSubscriptionsCaptureMode$outboundSchema;
71377
- })(ListAllSubscriptionsCaptureMode$ ||= {});
71378
- ListAllSubscriptionsApplicationFeeAmount$inboundSchema = objectType({
71379
- currency: stringType(),
71380
- value: stringType()
71381
- });
71382
- ListAllSubscriptionsApplicationFeeAmount$outboundSchema = objectType({
71383
- currency: stringType(),
71384
- value: stringType()
71385
- });
71386
- ((ListAllSubscriptionsApplicationFeeAmount$) => {
71387
- ListAllSubscriptionsApplicationFeeAmount$.inboundSchema = ListAllSubscriptionsApplicationFeeAmount$inboundSchema;
71388
- ListAllSubscriptionsApplicationFeeAmount$.outboundSchema = ListAllSubscriptionsApplicationFeeAmount$outboundSchema;
71389
- })(ListAllSubscriptionsApplicationFeeAmount$ ||= {});
71390
- ListAllSubscriptionsApplicationFee$inboundSchema = objectType({
71391
- amount: lazyType(() => ListAllSubscriptionsApplicationFeeAmount$inboundSchema).optional(),
71392
- description: stringType().optional()
71393
- });
71394
- ListAllSubscriptionsApplicationFee$outboundSchema = objectType({
71395
- amount: lazyType(() => ListAllSubscriptionsApplicationFeeAmount$outboundSchema).optional(),
71396
- description: stringType().optional()
71397
- });
71398
- ((ListAllSubscriptionsApplicationFee$) => {
71399
- ListAllSubscriptionsApplicationFee$.inboundSchema = ListAllSubscriptionsApplicationFee$inboundSchema;
71400
- ListAllSubscriptionsApplicationFee$.outboundSchema = ListAllSubscriptionsApplicationFee$outboundSchema;
71401
- })(ListAllSubscriptionsApplicationFee$ ||= {});
71402
- ListAllSubscriptionsRoutingMode$inboundSchema = nativeEnumType(ListAllSubscriptionsRoutingMode);
71403
- ListAllSubscriptionsRoutingMode$outboundSchema = ListAllSubscriptionsRoutingMode$inboundSchema;
71404
- ((ListAllSubscriptionsRoutingMode$) => {
71405
- ListAllSubscriptionsRoutingMode$.inboundSchema = ListAllSubscriptionsRoutingMode$inboundSchema;
71406
- ListAllSubscriptionsRoutingMode$.outboundSchema = ListAllSubscriptionsRoutingMode$outboundSchema;
71407
- })(ListAllSubscriptionsRoutingMode$ ||= {});
71408
- ListAllSubscriptionsRoutingAmount$inboundSchema = objectType({
71409
- currency: stringType(),
71410
- value: stringType()
71411
- });
71412
- ListAllSubscriptionsRoutingAmount$outboundSchema = objectType({
71413
- currency: stringType(),
71414
- value: stringType()
71415
- });
71416
- ((ListAllSubscriptionsRoutingAmount$) => {
71417
- ListAllSubscriptionsRoutingAmount$.inboundSchema = ListAllSubscriptionsRoutingAmount$inboundSchema;
71418
- ListAllSubscriptionsRoutingAmount$.outboundSchema = ListAllSubscriptionsRoutingAmount$outboundSchema;
71419
- })(ListAllSubscriptionsRoutingAmount$ ||= {});
71420
- ListAllSubscriptionsRoutingType$inboundSchema = nativeEnumType(ListAllSubscriptionsRoutingType);
71421
- ListAllSubscriptionsRoutingType$outboundSchema = ListAllSubscriptionsRoutingType$inboundSchema;
71422
- ((ListAllSubscriptionsRoutingType$) => {
71423
- ListAllSubscriptionsRoutingType$.inboundSchema = ListAllSubscriptionsRoutingType$inboundSchema;
71424
- ListAllSubscriptionsRoutingType$.outboundSchema = ListAllSubscriptionsRoutingType$outboundSchema;
71425
- })(ListAllSubscriptionsRoutingType$ ||= {});
71426
- ListAllSubscriptionsDestination$inboundSchema = objectType({
71427
- type: ListAllSubscriptionsRoutingType$inboundSchema,
71428
- organizationId: stringType()
71429
- });
71430
- ListAllSubscriptionsDestination$outboundSchema = objectType({
71431
- type: ListAllSubscriptionsRoutingType$outboundSchema,
71432
- organizationId: stringType()
71433
- });
71434
- ((ListAllSubscriptionsDestination$) => {
71435
- ListAllSubscriptionsDestination$.inboundSchema = ListAllSubscriptionsDestination$inboundSchema;
71436
- ListAllSubscriptionsDestination$.outboundSchema = ListAllSubscriptionsDestination$outboundSchema;
71437
- })(ListAllSubscriptionsDestination$ ||= {});
71438
- ListAllSubscriptionsRoutingSelf$inboundSchema = objectType({
71157
+ ListAllSubscriptionsSubscriptionSelf$inboundSchema = objectType({
71439
71158
  href: stringType(),
71440
71159
  type: stringType()
71441
71160
  });
71442
- ListAllSubscriptionsRoutingSelf$outboundSchema = objectType({
71161
+ ListAllSubscriptionsSubscriptionSelf$outboundSchema = objectType({
71443
71162
  href: stringType(),
71444
71163
  type: stringType()
71445
71164
  });
71446
- ((ListAllSubscriptionsRoutingSelf$) => {
71447
- ListAllSubscriptionsRoutingSelf$.inboundSchema = ListAllSubscriptionsRoutingSelf$inboundSchema;
71448
- ListAllSubscriptionsRoutingSelf$.outboundSchema = ListAllSubscriptionsRoutingSelf$outboundSchema;
71449
- })(ListAllSubscriptionsRoutingSelf$ ||= {});
71450
- ListAllSubscriptionsRoutingPayment$inboundSchema = objectType({
71451
- href: stringType(),
71452
- type: stringType()
71453
- });
71454
- ListAllSubscriptionsRoutingPayment$outboundSchema = objectType({
71455
- href: stringType(),
71456
- type: stringType()
71457
- });
71458
- ((ListAllSubscriptionsRoutingPayment$) => {
71459
- ListAllSubscriptionsRoutingPayment$.inboundSchema = ListAllSubscriptionsRoutingPayment$inboundSchema;
71460
- ListAllSubscriptionsRoutingPayment$.outboundSchema = ListAllSubscriptionsRoutingPayment$outboundSchema;
71461
- })(ListAllSubscriptionsRoutingPayment$ ||= {});
71462
- ListAllSubscriptionsRoutingLinks$inboundSchema = objectType({
71463
- self: lazyType(() => ListAllSubscriptionsRoutingSelf$inboundSchema),
71464
- payment: lazyType(() => ListAllSubscriptionsRoutingPayment$inboundSchema)
71465
- });
71466
- ListAllSubscriptionsRoutingLinks$outboundSchema = objectType({
71467
- self: lazyType(() => ListAllSubscriptionsRoutingSelf$outboundSchema),
71468
- payment: lazyType(() => ListAllSubscriptionsRoutingPayment$outboundSchema)
71469
- });
71470
- ((ListAllSubscriptionsRoutingLinks$) => {
71471
- ListAllSubscriptionsRoutingLinks$.inboundSchema = ListAllSubscriptionsRoutingLinks$inboundSchema;
71472
- ListAllSubscriptionsRoutingLinks$.outboundSchema = ListAllSubscriptionsRoutingLinks$outboundSchema;
71473
- })(ListAllSubscriptionsRoutingLinks$ ||= {});
71474
- ListAllSubscriptionsRouting$inboundSchema = objectType({
71475
- resource: stringType(),
71476
- id: stringType(),
71477
- mode: ListAllSubscriptionsRoutingMode$inboundSchema,
71478
- amount: lazyType(() => ListAllSubscriptionsRoutingAmount$inboundSchema),
71479
- destination: lazyType(() => ListAllSubscriptionsDestination$inboundSchema),
71480
- createdAt: stringType(),
71481
- releaseDate: nullableType(stringType()).optional(),
71482
- _links: lazyType(() => ListAllSubscriptionsRoutingLinks$inboundSchema)
71483
- }).transform((v2) => {
71484
- return remap(v2, {
71485
- _links: "links"
71486
- });
71487
- });
71488
- ListAllSubscriptionsRouting$outboundSchema = objectType({
71489
- resource: stringType(),
71490
- id: stringType(),
71491
- mode: ListAllSubscriptionsRoutingMode$outboundSchema,
71492
- amount: lazyType(() => ListAllSubscriptionsRoutingAmount$outboundSchema),
71493
- destination: lazyType(() => ListAllSubscriptionsDestination$outboundSchema),
71494
- createdAt: stringType(),
71495
- releaseDate: nullableType(stringType()).optional(),
71496
- links: lazyType(() => ListAllSubscriptionsRoutingLinks$outboundSchema)
71497
- }).transform((v2) => {
71498
- return remap(v2, {
71499
- links: "_links"
71500
- });
71501
- });
71502
- ((ListAllSubscriptionsRouting$) => {
71503
- ListAllSubscriptionsRouting$.inboundSchema = ListAllSubscriptionsRouting$inboundSchema;
71504
- ListAllSubscriptionsRouting$.outboundSchema = ListAllSubscriptionsRouting$outboundSchema;
71505
- })(ListAllSubscriptionsRouting$ ||= {});
71506
- ListAllSubscriptionsSequenceType$inboundSchema = nativeEnumType(ListAllSubscriptionsSequenceType);
71507
- ListAllSubscriptionsSequenceType$outboundSchema = ListAllSubscriptionsSequenceType$inboundSchema;
71508
- ((ListAllSubscriptionsSequenceType$) => {
71509
- ListAllSubscriptionsSequenceType$.inboundSchema = ListAllSubscriptionsSequenceType$inboundSchema;
71510
- ListAllSubscriptionsSequenceType$.outboundSchema = ListAllSubscriptionsSequenceType$outboundSchema;
71511
- })(ListAllSubscriptionsSequenceType$ ||= {});
71512
- ListAllSubscriptionsStatus$inboundSchema = nativeEnumType(ListAllSubscriptionsStatus);
71513
- ListAllSubscriptionsStatus$outboundSchema = ListAllSubscriptionsStatus$inboundSchema;
71514
- ((ListAllSubscriptionsStatus$) => {
71515
- ListAllSubscriptionsStatus$.inboundSchema = ListAllSubscriptionsStatus$inboundSchema;
71516
- ListAllSubscriptionsStatus$.outboundSchema = ListAllSubscriptionsStatus$outboundSchema;
71517
- })(ListAllSubscriptionsStatus$ ||= {});
71518
- ListAllSubscriptionsStatusReason$inboundSchema = objectType({
71519
- code: stringType(),
71520
- message: stringType()
71521
- });
71522
- ListAllSubscriptionsStatusReason$outboundSchema = objectType({
71523
- code: stringType(),
71524
- message: stringType()
71525
- });
71526
- ((ListAllSubscriptionsStatusReason$) => {
71527
- ListAllSubscriptionsStatusReason$.inboundSchema = ListAllSubscriptionsStatusReason$inboundSchema;
71528
- ListAllSubscriptionsStatusReason$.outboundSchema = ListAllSubscriptionsStatusReason$outboundSchema;
71529
- })(ListAllSubscriptionsStatusReason$ ||= {});
71530
- ListAllSubscriptionsPaymentSelf$inboundSchema = objectType({
71531
- href: stringType(),
71532
- type: stringType()
71533
- });
71534
- ListAllSubscriptionsPaymentSelf$outboundSchema = objectType({
71535
- href: stringType(),
71536
- type: stringType()
71537
- });
71538
- ((ListAllSubscriptionsPaymentSelf$) => {
71539
- ListAllSubscriptionsPaymentSelf$.inboundSchema = ListAllSubscriptionsPaymentSelf$inboundSchema;
71540
- ListAllSubscriptionsPaymentSelf$.outboundSchema = ListAllSubscriptionsPaymentSelf$outboundSchema;
71541
- })(ListAllSubscriptionsPaymentSelf$ ||= {});
71542
- ListAllSubscriptionsCheckout$inboundSchema = objectType({
71543
- href: stringType(),
71544
- type: stringType()
71545
- });
71546
- ListAllSubscriptionsCheckout$outboundSchema = objectType({
71547
- href: stringType(),
71548
- type: stringType()
71549
- });
71550
- ((ListAllSubscriptionsCheckout$) => {
71551
- ListAllSubscriptionsCheckout$.inboundSchema = ListAllSubscriptionsCheckout$inboundSchema;
71552
- ListAllSubscriptionsCheckout$.outboundSchema = ListAllSubscriptionsCheckout$outboundSchema;
71553
- })(ListAllSubscriptionsCheckout$ ||= {});
71554
- ListAllSubscriptionsMobileAppCheckout$inboundSchema = objectType({
71555
- href: stringType(),
71556
- type: stringType()
71557
- });
71558
- ListAllSubscriptionsMobileAppCheckout$outboundSchema = objectType({
71559
- href: stringType(),
71560
- type: stringType()
71561
- });
71562
- ((ListAllSubscriptionsMobileAppCheckout$) => {
71563
- ListAllSubscriptionsMobileAppCheckout$.inboundSchema = ListAllSubscriptionsMobileAppCheckout$inboundSchema;
71564
- ListAllSubscriptionsMobileAppCheckout$.outboundSchema = ListAllSubscriptionsMobileAppCheckout$outboundSchema;
71565
- })(ListAllSubscriptionsMobileAppCheckout$ ||= {});
71566
- ListAllSubscriptionsChangePaymentState$inboundSchema = objectType({
71567
- href: stringType(),
71568
- type: stringType()
71569
- });
71570
- ListAllSubscriptionsChangePaymentState$outboundSchema = objectType({
71571
- href: stringType(),
71572
- type: stringType()
71573
- });
71574
- ((ListAllSubscriptionsChangePaymentState$) => {
71575
- ListAllSubscriptionsChangePaymentState$.inboundSchema = ListAllSubscriptionsChangePaymentState$inboundSchema;
71576
- ListAllSubscriptionsChangePaymentState$.outboundSchema = ListAllSubscriptionsChangePaymentState$outboundSchema;
71577
- })(ListAllSubscriptionsChangePaymentState$ ||= {});
71578
- ListAllSubscriptionsDashboard$inboundSchema = objectType({
71579
- href: stringType(),
71580
- type: stringType()
71581
- });
71582
- ListAllSubscriptionsDashboard$outboundSchema = objectType({
71583
- href: stringType(),
71584
- type: stringType()
71585
- });
71586
- ((ListAllSubscriptionsDashboard$) => {
71587
- ListAllSubscriptionsDashboard$.inboundSchema = ListAllSubscriptionsDashboard$inboundSchema;
71588
- ListAllSubscriptionsDashboard$.outboundSchema = ListAllSubscriptionsDashboard$outboundSchema;
71589
- })(ListAllSubscriptionsDashboard$ ||= {});
71590
- ListAllSubscriptionsRefunds$inboundSchema = objectType({
71591
- href: stringType(),
71592
- type: stringType()
71593
- });
71594
- ListAllSubscriptionsRefunds$outboundSchema = objectType({
71595
- href: stringType(),
71596
- type: stringType()
71597
- });
71598
- ((ListAllSubscriptionsRefunds$) => {
71599
- ListAllSubscriptionsRefunds$.inboundSchema = ListAllSubscriptionsRefunds$inboundSchema;
71600
- ListAllSubscriptionsRefunds$.outboundSchema = ListAllSubscriptionsRefunds$outboundSchema;
71601
- })(ListAllSubscriptionsRefunds$ ||= {});
71602
- ListAllSubscriptionsChargebacks$inboundSchema = objectType({
71603
- href: stringType(),
71604
- type: stringType()
71605
- });
71606
- ListAllSubscriptionsChargebacks$outboundSchema = objectType({
71607
- href: stringType(),
71608
- type: stringType()
71609
- });
71610
- ((ListAllSubscriptionsChargebacks$) => {
71611
- ListAllSubscriptionsChargebacks$.inboundSchema = ListAllSubscriptionsChargebacks$inboundSchema;
71612
- ListAllSubscriptionsChargebacks$.outboundSchema = ListAllSubscriptionsChargebacks$outboundSchema;
71613
- })(ListAllSubscriptionsChargebacks$ ||= {});
71614
- ListAllSubscriptionsCaptures$inboundSchema = objectType({
71615
- href: stringType(),
71616
- type: stringType()
71617
- });
71618
- ListAllSubscriptionsCaptures$outboundSchema = objectType({
71619
- href: stringType(),
71620
- type: stringType()
71621
- });
71622
- ((ListAllSubscriptionsCaptures$) => {
71623
- ListAllSubscriptionsCaptures$.inboundSchema = ListAllSubscriptionsCaptures$inboundSchema;
71624
- ListAllSubscriptionsCaptures$.outboundSchema = ListAllSubscriptionsCaptures$outboundSchema;
71625
- })(ListAllSubscriptionsCaptures$ ||= {});
71626
- ListAllSubscriptionsSettlement$inboundSchema = objectType({
71627
- href: stringType(),
71628
- type: stringType()
71629
- });
71630
- ListAllSubscriptionsSettlement$outboundSchema = objectType({
71631
- href: stringType(),
71632
- type: stringType()
71633
- });
71634
- ((ListAllSubscriptionsSettlement$) => {
71635
- ListAllSubscriptionsSettlement$.inboundSchema = ListAllSubscriptionsSettlement$inboundSchema;
71636
- ListAllSubscriptionsSettlement$.outboundSchema = ListAllSubscriptionsSettlement$outboundSchema;
71637
- })(ListAllSubscriptionsSettlement$ ||= {});
71165
+ ((ListAllSubscriptionsSubscriptionSelf$) => {
71166
+ ListAllSubscriptionsSubscriptionSelf$.inboundSchema = ListAllSubscriptionsSubscriptionSelf$inboundSchema;
71167
+ ListAllSubscriptionsSubscriptionSelf$.outboundSchema = ListAllSubscriptionsSubscriptionSelf$outboundSchema;
71168
+ })(ListAllSubscriptionsSubscriptionSelf$ ||= {});
71638
71169
  ListAllSubscriptionsCustomer$inboundSchema = objectType({
71639
- href: stringType(),
71640
- type: stringType()
71170
+ href: stringType().optional(),
71171
+ type: stringType().optional()
71641
71172
  });
71642
71173
  ListAllSubscriptionsCustomer$outboundSchema = objectType({
71643
- href: stringType(),
71644
- type: stringType()
71174
+ href: stringType().optional(),
71175
+ type: stringType().optional()
71645
71176
  });
71646
71177
  ((ListAllSubscriptionsCustomer$) => {
71647
71178
  ListAllSubscriptionsCustomer$.inboundSchema = ListAllSubscriptionsCustomer$inboundSchema;
71648
71179
  ListAllSubscriptionsCustomer$.outboundSchema = ListAllSubscriptionsCustomer$outboundSchema;
71649
71180
  })(ListAllSubscriptionsCustomer$ ||= {});
71650
71181
  ListAllSubscriptionsMandate$inboundSchema = objectType({
71651
- href: stringType(),
71652
- type: stringType()
71182
+ href: stringType().optional(),
71183
+ type: stringType().optional()
71653
71184
  });
71654
71185
  ListAllSubscriptionsMandate$outboundSchema = objectType({
71655
- href: stringType(),
71656
- type: stringType()
71186
+ href: stringType().optional(),
71187
+ type: stringType().optional()
71657
71188
  });
71658
71189
  ((ListAllSubscriptionsMandate$) => {
71659
71190
  ListAllSubscriptionsMandate$.inboundSchema = ListAllSubscriptionsMandate$inboundSchema;
71660
71191
  ListAllSubscriptionsMandate$.outboundSchema = ListAllSubscriptionsMandate$outboundSchema;
71661
71192
  })(ListAllSubscriptionsMandate$ ||= {});
71662
- ListAllSubscriptionsSubscription$inboundSchema = objectType({
71663
- href: stringType(),
71664
- type: stringType()
71665
- });
71666
- ListAllSubscriptionsSubscription$outboundSchema = objectType({
71667
- href: stringType(),
71668
- type: stringType()
71669
- });
71670
- ((ListAllSubscriptionsSubscription$) => {
71671
- ListAllSubscriptionsSubscription$.inboundSchema = ListAllSubscriptionsSubscription$inboundSchema;
71672
- ListAllSubscriptionsSubscription$.outboundSchema = ListAllSubscriptionsSubscription$outboundSchema;
71673
- })(ListAllSubscriptionsSubscription$ ||= {});
71674
- ListAllSubscriptionsOrder$inboundSchema = objectType({
71675
- href: stringType(),
71676
- type: stringType()
71193
+ ListAllSubscriptionsProfile$inboundSchema = objectType({
71194
+ href: stringType().optional(),
71195
+ type: stringType().optional()
71677
71196
  });
71678
- ListAllSubscriptionsOrder$outboundSchema = objectType({
71679
- href: stringType(),
71680
- type: stringType()
71197
+ ListAllSubscriptionsProfile$outboundSchema = objectType({
71198
+ href: stringType().optional(),
71199
+ type: stringType().optional()
71681
71200
  });
71682
- ((ListAllSubscriptionsOrder$) => {
71683
- ListAllSubscriptionsOrder$.inboundSchema = ListAllSubscriptionsOrder$inboundSchema;
71684
- ListAllSubscriptionsOrder$.outboundSchema = ListAllSubscriptionsOrder$outboundSchema;
71685
- })(ListAllSubscriptionsOrder$ ||= {});
71686
- ListAllSubscriptionsTerminal$inboundSchema = objectType({
71687
- href: stringType(),
71688
- type: stringType()
71201
+ ((ListAllSubscriptionsProfile$) => {
71202
+ ListAllSubscriptionsProfile$.inboundSchema = ListAllSubscriptionsProfile$inboundSchema;
71203
+ ListAllSubscriptionsProfile$.outboundSchema = ListAllSubscriptionsProfile$outboundSchema;
71204
+ })(ListAllSubscriptionsProfile$ ||= {});
71205
+ ListAllSubscriptionsPayments$inboundSchema = objectType({
71206
+ href: stringType().optional(),
71207
+ type: stringType().optional()
71689
71208
  });
71690
- ListAllSubscriptionsTerminal$outboundSchema = objectType({
71691
- href: stringType(),
71692
- type: stringType()
71209
+ ListAllSubscriptionsPayments$outboundSchema = objectType({
71210
+ href: stringType().optional(),
71211
+ type: stringType().optional()
71693
71212
  });
71694
- ((ListAllSubscriptionsTerminal$) => {
71695
- ListAllSubscriptionsTerminal$.inboundSchema = ListAllSubscriptionsTerminal$inboundSchema;
71696
- ListAllSubscriptionsTerminal$.outboundSchema = ListAllSubscriptionsTerminal$outboundSchema;
71697
- })(ListAllSubscriptionsTerminal$ ||= {});
71698
- ListAllSubscriptionsPaymentDocumentation$inboundSchema = objectType({
71213
+ ((ListAllSubscriptionsPayments$) => {
71214
+ ListAllSubscriptionsPayments$.inboundSchema = ListAllSubscriptionsPayments$inboundSchema;
71215
+ ListAllSubscriptionsPayments$.outboundSchema = ListAllSubscriptionsPayments$outboundSchema;
71216
+ })(ListAllSubscriptionsPayments$ ||= {});
71217
+ ListAllSubscriptionsSubscriptionDocumentation$inboundSchema = objectType({
71699
71218
  href: stringType(),
71700
71219
  type: stringType()
71701
71220
  });
71702
- ListAllSubscriptionsPaymentDocumentation$outboundSchema = objectType({
71221
+ ListAllSubscriptionsSubscriptionDocumentation$outboundSchema = objectType({
71703
71222
  href: stringType(),
71704
71223
  type: stringType()
71705
71224
  });
71706
- ((ListAllSubscriptionsPaymentDocumentation$) => {
71707
- ListAllSubscriptionsPaymentDocumentation$.inboundSchema = ListAllSubscriptionsPaymentDocumentation$inboundSchema;
71708
- ListAllSubscriptionsPaymentDocumentation$.outboundSchema = ListAllSubscriptionsPaymentDocumentation$outboundSchema;
71709
- })(ListAllSubscriptionsPaymentDocumentation$ ||= {});
71710
- ListAllSubscriptionsPaymentLinks$inboundSchema = objectType({
71711
- self: lazyType(() => ListAllSubscriptionsPaymentSelf$inboundSchema),
71712
- checkout: lazyType(() => ListAllSubscriptionsCheckout$inboundSchema).optional(),
71713
- mobileAppCheckout: lazyType(() => ListAllSubscriptionsMobileAppCheckout$inboundSchema).optional(),
71714
- changePaymentState: lazyType(() => ListAllSubscriptionsChangePaymentState$inboundSchema).optional(),
71715
- dashboard: lazyType(() => ListAllSubscriptionsDashboard$inboundSchema),
71716
- refunds: lazyType(() => ListAllSubscriptionsRefunds$inboundSchema).optional(),
71717
- chargebacks: lazyType(() => ListAllSubscriptionsChargebacks$inboundSchema).optional(),
71718
- captures: lazyType(() => ListAllSubscriptionsCaptures$inboundSchema).optional(),
71719
- settlement: lazyType(() => ListAllSubscriptionsSettlement$inboundSchema).optional(),
71720
- customer: lazyType(() => ListAllSubscriptionsCustomer$inboundSchema).optional(),
71721
- mandate: lazyType(() => ListAllSubscriptionsMandate$inboundSchema).optional(),
71722
- subscription: lazyType(() => ListAllSubscriptionsSubscription$inboundSchema).optional(),
71723
- order: lazyType(() => ListAllSubscriptionsOrder$inboundSchema).optional(),
71724
- terminal: lazyType(() => ListAllSubscriptionsTerminal$inboundSchema).optional(),
71725
- documentation: lazyType(() => ListAllSubscriptionsPaymentDocumentation$inboundSchema).optional()
71225
+ ((ListAllSubscriptionsSubscriptionDocumentation$) => {
71226
+ ListAllSubscriptionsSubscriptionDocumentation$.inboundSchema = ListAllSubscriptionsSubscriptionDocumentation$inboundSchema;
71227
+ ListAllSubscriptionsSubscriptionDocumentation$.outboundSchema = ListAllSubscriptionsSubscriptionDocumentation$outboundSchema;
71228
+ })(ListAllSubscriptionsSubscriptionDocumentation$ ||= {});
71229
+ ListAllSubscriptionsSubscriptionLinks$inboundSchema = objectType({
71230
+ self: lazyType(() => ListAllSubscriptionsSubscriptionSelf$inboundSchema),
71231
+ customer: nullableType(lazyType(() => ListAllSubscriptionsCustomer$inboundSchema)),
71232
+ mandate: nullableType(lazyType(() => ListAllSubscriptionsMandate$inboundSchema)).optional(),
71233
+ profile: nullableType(lazyType(() => ListAllSubscriptionsProfile$inboundSchema)),
71234
+ payments: nullableType(lazyType(() => ListAllSubscriptionsPayments$inboundSchema)).optional(),
71235
+ documentation: lazyType(() => ListAllSubscriptionsSubscriptionDocumentation$inboundSchema)
71726
71236
  });
71727
- ListAllSubscriptionsPaymentLinks$outboundSchema = objectType({
71728
- self: lazyType(() => ListAllSubscriptionsPaymentSelf$outboundSchema),
71729
- checkout: lazyType(() => ListAllSubscriptionsCheckout$outboundSchema).optional(),
71730
- mobileAppCheckout: lazyType(() => ListAllSubscriptionsMobileAppCheckout$outboundSchema).optional(),
71731
- changePaymentState: lazyType(() => ListAllSubscriptionsChangePaymentState$outboundSchema).optional(),
71732
- dashboard: lazyType(() => ListAllSubscriptionsDashboard$outboundSchema),
71733
- refunds: lazyType(() => ListAllSubscriptionsRefunds$outboundSchema).optional(),
71734
- chargebacks: lazyType(() => ListAllSubscriptionsChargebacks$outboundSchema).optional(),
71735
- captures: lazyType(() => ListAllSubscriptionsCaptures$outboundSchema).optional(),
71736
- settlement: lazyType(() => ListAllSubscriptionsSettlement$outboundSchema).optional(),
71737
- customer: lazyType(() => ListAllSubscriptionsCustomer$outboundSchema).optional(),
71738
- mandate: lazyType(() => ListAllSubscriptionsMandate$outboundSchema).optional(),
71739
- subscription: lazyType(() => ListAllSubscriptionsSubscription$outboundSchema).optional(),
71740
- order: lazyType(() => ListAllSubscriptionsOrder$outboundSchema).optional(),
71741
- terminal: lazyType(() => ListAllSubscriptionsTerminal$outboundSchema).optional(),
71742
- documentation: lazyType(() => ListAllSubscriptionsPaymentDocumentation$outboundSchema).optional()
71237
+ ListAllSubscriptionsSubscriptionLinks$outboundSchema = objectType({
71238
+ self: lazyType(() => ListAllSubscriptionsSubscriptionSelf$outboundSchema),
71239
+ customer: nullableType(lazyType(() => ListAllSubscriptionsCustomer$outboundSchema)),
71240
+ mandate: nullableType(lazyType(() => ListAllSubscriptionsMandate$outboundSchema)).optional(),
71241
+ profile: nullableType(lazyType(() => ListAllSubscriptionsProfile$outboundSchema)),
71242
+ payments: nullableType(lazyType(() => ListAllSubscriptionsPayments$outboundSchema)).optional(),
71243
+ documentation: lazyType(() => ListAllSubscriptionsSubscriptionDocumentation$outboundSchema)
71743
71244
  });
71744
- ((ListAllSubscriptionsPaymentLinks$) => {
71745
- ListAllSubscriptionsPaymentLinks$.inboundSchema = ListAllSubscriptionsPaymentLinks$inboundSchema;
71746
- ListAllSubscriptionsPaymentLinks$.outboundSchema = ListAllSubscriptionsPaymentLinks$outboundSchema;
71747
- })(ListAllSubscriptionsPaymentLinks$ ||= {});
71748
- ListAllSubscriptionsPaymentOutput$inboundSchema = objectType({
71749
- resource: stringType(),
71245
+ ((ListAllSubscriptionsSubscriptionLinks$) => {
71246
+ ListAllSubscriptionsSubscriptionLinks$.inboundSchema = ListAllSubscriptionsSubscriptionLinks$inboundSchema;
71247
+ ListAllSubscriptionsSubscriptionLinks$.outboundSchema = ListAllSubscriptionsSubscriptionLinks$outboundSchema;
71248
+ })(ListAllSubscriptionsSubscriptionLinks$ ||= {});
71249
+ ListAllSubscriptionsSubscription$inboundSchema = objectType({
71250
+ resource: stringType().default("subscription"),
71750
71251
  id: stringType(),
71751
71252
  mode: ListAllSubscriptionsMode$inboundSchema,
71752
- description: stringType(),
71253
+ status: ListAllSubscriptionsStatus$inboundSchema,
71753
71254
  amount: lazyType(() => ListAllSubscriptionsAmount$inboundSchema),
71754
- amountRefunded: lazyType(() => ListAllSubscriptionsAmountRefunded$inboundSchema).optional(),
71755
- amountRemaining: lazyType(() => ListAllSubscriptionsAmountRemaining$inboundSchema).optional(),
71756
- amountCaptured: lazyType(() => ListAllSubscriptionsAmountCaptured$inboundSchema).optional(),
71757
- amountChargedBack: lazyType(() => ListAllSubscriptionsAmountChargedBack$inboundSchema).optional(),
71758
- settlementAmount: lazyType(() => ListAllSubscriptionsSettlementAmount$inboundSchema).optional(),
71759
- redirectUrl: nullableType(stringType()).optional(),
71760
- cancelUrl: nullableType(stringType()).optional(),
71761
- webhookUrl: nullableType(stringType()).optional(),
71762
- lines: nullableType(arrayType(lazyType(() => ListAllSubscriptionsLine$inboundSchema))).optional(),
71763
- billingAddress: lazyType(() => ListAllSubscriptionsBillingAddress$inboundSchema).optional(),
71764
- shippingAddress: lazyType(() => ListAllSubscriptionsShippingAddress$inboundSchema).optional(),
71765
- locale: nullableType(ListAllSubscriptionsLocale$inboundSchema).optional(),
71766
- countryCode: nullableType(stringType()).optional(),
71767
- method: nullableType(ListAllSubscriptionsMethod$inboundSchema).optional(),
71768
- restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
71255
+ times: nullableType(numberType().int()),
71256
+ timesRemaining: numberType().int(),
71257
+ interval: ListAllSubscriptionsInterval$inboundSchema,
71258
+ startDate: stringType(),
71259
+ nextPaymentDate: nullableType(stringType()).optional(),
71260
+ description: stringType(),
71261
+ method: nullableType(ListAllSubscriptionsMethod$inboundSchema),
71262
+ applicationFee: lazyType(() => ListAllSubscriptionsApplicationFee$inboundSchema).optional(),
71769
71263
  metadata: nullableType(unionType([
71770
71264
  lazyType(() => ListAllSubscriptionsMetadata$inboundSchema),
71771
71265
  stringType(),
71772
71266
  arrayType(stringType())
71773
- ])).optional(),
71774
- captureMode: nullableType(ListAllSubscriptionsCaptureMode$inboundSchema).optional(),
71775
- captureDelay: nullableType(stringType()).optional(),
71776
- captureBefore: nullableType(stringType()).optional(),
71777
- applicationFee: nullableType(lazyType(() => ListAllSubscriptionsApplicationFee$inboundSchema)).optional(),
71778
- routing: nullableType(arrayType(lazyType(() => ListAllSubscriptionsRouting$inboundSchema))).optional(),
71779
- sequenceType: nullableType(ListAllSubscriptionsSequenceType$inboundSchema.default("oneoff")),
71780
- subscriptionId: nullableType(stringType()).optional(),
71267
+ ])),
71268
+ webhookUrl: stringType(),
71269
+ customerId: stringType(),
71781
71270
  mandateId: nullableType(stringType()).optional(),
71782
- customerId: nullableType(stringType()).optional(),
71783
- profileId: stringType(),
71784
- settlementId: nullableType(stringType()).optional(),
71785
- orderId: nullableType(stringType()).optional(),
71786
- status: ListAllSubscriptionsStatus$inboundSchema,
71787
- statusReason: nullableType(lazyType(() => ListAllSubscriptionsStatusReason$inboundSchema)).optional(),
71788
- isCancelable: nullableType(booleanType()).optional(),
71789
- details: nullableType(recordType(anyType())).optional(),
71790
71271
  createdAt: stringType(),
71791
- authorizedAt: nullableType(stringType()).optional(),
71792
- paidAt: nullableType(stringType()).optional(),
71793
71272
  canceledAt: nullableType(stringType()).optional(),
71794
- expiresAt: nullableType(stringType()).optional(),
71795
- expiredAt: nullableType(stringType()).optional(),
71796
- failedAt: nullableType(stringType()).optional(),
71797
- _links: lazyType(() => ListAllSubscriptionsPaymentLinks$inboundSchema)
71273
+ _links: lazyType(() => ListAllSubscriptionsSubscriptionLinks$inboundSchema).optional()
71798
71274
  }).transform((v2) => {
71799
71275
  return remap(v2, {
71800
71276
  _links: "links"
71801
71277
  });
71802
71278
  });
71803
- ListAllSubscriptionsPaymentOutput$outboundSchema = objectType({
71804
- resource: stringType(),
71279
+ ListAllSubscriptionsSubscription$outboundSchema = objectType({
71280
+ resource: stringType().default("subscription"),
71805
71281
  id: stringType(),
71806
71282
  mode: ListAllSubscriptionsMode$outboundSchema,
71807
- description: stringType(),
71283
+ status: ListAllSubscriptionsStatus$outboundSchema,
71808
71284
  amount: lazyType(() => ListAllSubscriptionsAmount$outboundSchema),
71809
- amountRefunded: lazyType(() => ListAllSubscriptionsAmountRefunded$outboundSchema).optional(),
71810
- amountRemaining: lazyType(() => ListAllSubscriptionsAmountRemaining$outboundSchema).optional(),
71811
- amountCaptured: lazyType(() => ListAllSubscriptionsAmountCaptured$outboundSchema).optional(),
71812
- amountChargedBack: lazyType(() => ListAllSubscriptionsAmountChargedBack$outboundSchema).optional(),
71813
- settlementAmount: lazyType(() => ListAllSubscriptionsSettlementAmount$outboundSchema).optional(),
71814
- redirectUrl: nullableType(stringType()).optional(),
71815
- cancelUrl: nullableType(stringType()).optional(),
71816
- webhookUrl: nullableType(stringType()).optional(),
71817
- lines: nullableType(arrayType(lazyType(() => ListAllSubscriptionsLine$outboundSchema))).optional(),
71818
- billingAddress: lazyType(() => ListAllSubscriptionsBillingAddress$outboundSchema).optional(),
71819
- shippingAddress: lazyType(() => ListAllSubscriptionsShippingAddress$outboundSchema).optional(),
71820
- locale: nullableType(ListAllSubscriptionsLocale$outboundSchema).optional(),
71821
- countryCode: nullableType(stringType()).optional(),
71822
- method: nullableType(ListAllSubscriptionsMethod$outboundSchema).optional(),
71823
- restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
71285
+ times: nullableType(numberType().int()),
71286
+ timesRemaining: numberType().int(),
71287
+ interval: ListAllSubscriptionsInterval$outboundSchema,
71288
+ startDate: stringType(),
71289
+ nextPaymentDate: nullableType(stringType()).optional(),
71290
+ description: stringType(),
71291
+ method: nullableType(ListAllSubscriptionsMethod$outboundSchema),
71292
+ applicationFee: lazyType(() => ListAllSubscriptionsApplicationFee$outboundSchema).optional(),
71824
71293
  metadata: nullableType(unionType([
71825
71294
  lazyType(() => ListAllSubscriptionsMetadata$outboundSchema),
71826
71295
  stringType(),
71827
71296
  arrayType(stringType())
71828
- ])).optional(),
71829
- captureMode: nullableType(ListAllSubscriptionsCaptureMode$outboundSchema).optional(),
71830
- captureDelay: nullableType(stringType()).optional(),
71831
- captureBefore: nullableType(stringType()).optional(),
71832
- applicationFee: nullableType(lazyType(() => ListAllSubscriptionsApplicationFee$outboundSchema)).optional(),
71833
- routing: nullableType(arrayType(lazyType(() => ListAllSubscriptionsRouting$outboundSchema))).optional(),
71834
- sequenceType: nullableType(ListAllSubscriptionsSequenceType$outboundSchema.default("oneoff")),
71835
- subscriptionId: nullableType(stringType()).optional(),
71297
+ ])),
71298
+ webhookUrl: stringType(),
71299
+ customerId: stringType(),
71836
71300
  mandateId: nullableType(stringType()).optional(),
71837
- customerId: nullableType(stringType()).optional(),
71838
- profileId: stringType(),
71839
- settlementId: nullableType(stringType()).optional(),
71840
- orderId: nullableType(stringType()).optional(),
71841
- status: ListAllSubscriptionsStatus$outboundSchema,
71842
- statusReason: nullableType(lazyType(() => ListAllSubscriptionsStatusReason$outboundSchema)).optional(),
71843
- isCancelable: nullableType(booleanType()).optional(),
71844
- details: nullableType(recordType(anyType())).optional(),
71845
71301
  createdAt: stringType(),
71846
- authorizedAt: nullableType(stringType()).optional(),
71847
- paidAt: nullableType(stringType()).optional(),
71848
71302
  canceledAt: nullableType(stringType()).optional(),
71849
- expiresAt: nullableType(stringType()).optional(),
71850
- expiredAt: nullableType(stringType()).optional(),
71851
- failedAt: nullableType(stringType()).optional(),
71852
- links: lazyType(() => ListAllSubscriptionsPaymentLinks$outboundSchema)
71303
+ links: lazyType(() => ListAllSubscriptionsSubscriptionLinks$outboundSchema).optional()
71853
71304
  }).transform((v2) => {
71854
71305
  return remap(v2, {
71855
71306
  links: "_links"
71856
71307
  });
71857
71308
  });
71858
- ((ListAllSubscriptionsPaymentOutput$) => {
71859
- ListAllSubscriptionsPaymentOutput$.inboundSchema = ListAllSubscriptionsPaymentOutput$inboundSchema;
71860
- ListAllSubscriptionsPaymentOutput$.outboundSchema = ListAllSubscriptionsPaymentOutput$outboundSchema;
71861
- })(ListAllSubscriptionsPaymentOutput$ ||= {});
71309
+ ((ListAllSubscriptionsSubscription$) => {
71310
+ ListAllSubscriptionsSubscription$.inboundSchema = ListAllSubscriptionsSubscription$inboundSchema;
71311
+ ListAllSubscriptionsSubscription$.outboundSchema = ListAllSubscriptionsSubscription$outboundSchema;
71312
+ })(ListAllSubscriptionsSubscription$ ||= {});
71862
71313
  ListAllSubscriptionsEmbedded$inboundSchema = objectType({
71863
- payments: arrayType(lazyType(() => ListAllSubscriptionsPaymentOutput$inboundSchema)).optional()
71314
+ subscriptions: arrayType(lazyType(() => ListAllSubscriptionsSubscription$inboundSchema)).optional()
71864
71315
  });
71865
71316
  ListAllSubscriptionsEmbedded$outboundSchema = objectType({
71866
- payments: arrayType(lazyType(() => ListAllSubscriptionsPaymentOutput$outboundSchema)).optional()
71317
+ subscriptions: arrayType(lazyType(() => ListAllSubscriptionsSubscription$outboundSchema)).optional()
71867
71318
  });
71868
71319
  ((ListAllSubscriptionsEmbedded$) => {
71869
71320
  ListAllSubscriptionsEmbedded$.inboundSchema = ListAllSubscriptionsEmbedded$inboundSchema;
@@ -74736,6 +74187,9 @@ var init_listcustomerpayments = __esm(() => {
74736
74187
  In3: "in3",
74737
74188
  Kbc: "kbc",
74738
74189
  Klarna: "klarna",
74190
+ Klarnapaylater: "klarnapaylater",
74191
+ Klarnapaynow: "klarnapaynow",
74192
+ Klarnasliceit: "klarnasliceit",
74739
74193
  Mbway: "mbway",
74740
74194
  Multibanco: "multibanco",
74741
74195
  Mybank: "mybank",
@@ -75929,20 +75383,20 @@ var init_listcustomers = __esm(() => {
75929
75383
  CustomerDocumentation$.outboundSchema = CustomerDocumentation$outboundSchema;
75930
75384
  })(CustomerDocumentation$ ||= {});
75931
75385
  CustomerLinks$inboundSchema = objectType({
75932
- self: lazyType(() => CustomerSelf$inboundSchema).optional(),
75933
- dashboard: lazyType(() => ListCustomersDashboard$inboundSchema).optional(),
75386
+ self: lazyType(() => CustomerSelf$inboundSchema),
75387
+ dashboard: lazyType(() => ListCustomersDashboard$inboundSchema),
75934
75388
  payments: nullableType(lazyType(() => ListCustomersPayments$inboundSchema)).optional(),
75935
75389
  mandates: nullableType(lazyType(() => ListCustomersMandates$inboundSchema)).optional(),
75936
75390
  subscriptions: nullableType(lazyType(() => ListCustomersSubscriptions$inboundSchema)).optional(),
75937
- documentation: lazyType(() => CustomerDocumentation$inboundSchema).optional()
75391
+ documentation: lazyType(() => CustomerDocumentation$inboundSchema)
75938
75392
  });
75939
75393
  CustomerLinks$outboundSchema = objectType({
75940
- self: lazyType(() => CustomerSelf$outboundSchema).optional(),
75941
- dashboard: lazyType(() => ListCustomersDashboard$outboundSchema).optional(),
75394
+ self: lazyType(() => CustomerSelf$outboundSchema),
75395
+ dashboard: lazyType(() => ListCustomersDashboard$outboundSchema),
75942
75396
  payments: nullableType(lazyType(() => ListCustomersPayments$outboundSchema)).optional(),
75943
75397
  mandates: nullableType(lazyType(() => ListCustomersMandates$outboundSchema)).optional(),
75944
75398
  subscriptions: nullableType(lazyType(() => ListCustomersSubscriptions$outboundSchema)).optional(),
75945
- documentation: lazyType(() => CustomerDocumentation$outboundSchema).optional()
75399
+ documentation: lazyType(() => CustomerDocumentation$outboundSchema)
75946
75400
  });
75947
75401
  ((CustomerLinks$) => {
75948
75402
  CustomerLinks$.inboundSchema = CustomerLinks$inboundSchema;
@@ -75950,18 +75404,18 @@ var init_listcustomers = __esm(() => {
75950
75404
  })(CustomerLinks$ ||= {});
75951
75405
  ListCustomersCustomer$inboundSchema = objectType({
75952
75406
  resource: stringType().default("customer"),
75953
- id: stringType().optional(),
75954
- mode: ListCustomersMode$inboundSchema.optional(),
75955
- name: nullableType(stringType()).optional(),
75956
- email: nullableType(stringType()).optional(),
75957
- locale: nullableType(ListCustomersLocale$inboundSchema).optional(),
75407
+ id: stringType(),
75408
+ mode: ListCustomersMode$inboundSchema,
75409
+ name: nullableType(stringType()),
75410
+ email: nullableType(stringType()),
75411
+ locale: nullableType(ListCustomersLocale$inboundSchema),
75958
75412
  metadata: nullableType(unionType([
75959
75413
  lazyType(() => ListCustomersMetadata$inboundSchema),
75960
75414
  stringType(),
75961
75415
  arrayType(stringType())
75962
- ])).optional(),
75963
- createdAt: stringType().optional(),
75964
- _links: lazyType(() => CustomerLinks$inboundSchema).optional()
75416
+ ])),
75417
+ createdAt: stringType(),
75418
+ _links: lazyType(() => CustomerLinks$inboundSchema)
75965
75419
  }).transform((v2) => {
75966
75420
  return remap(v2, {
75967
75421
  _links: "links"
@@ -75969,18 +75423,18 @@ var init_listcustomers = __esm(() => {
75969
75423
  });
75970
75424
  ListCustomersCustomer$outboundSchema = objectType({
75971
75425
  resource: stringType().default("customer"),
75972
- id: stringType().optional(),
75973
- mode: ListCustomersMode$outboundSchema.optional(),
75974
- name: nullableType(stringType()).optional(),
75975
- email: nullableType(stringType()).optional(),
75976
- locale: nullableType(ListCustomersLocale$outboundSchema).optional(),
75426
+ id: stringType(),
75427
+ mode: ListCustomersMode$outboundSchema,
75428
+ name: nullableType(stringType()),
75429
+ email: nullableType(stringType()),
75430
+ locale: nullableType(ListCustomersLocale$outboundSchema),
75977
75431
  metadata: nullableType(unionType([
75978
75432
  lazyType(() => ListCustomersMetadata$outboundSchema),
75979
75433
  stringType(),
75980
75434
  arrayType(stringType())
75981
- ])).optional(),
75982
- createdAt: stringType().optional(),
75983
- links: lazyType(() => CustomerLinks$outboundSchema).optional()
75435
+ ])),
75436
+ createdAt: stringType(),
75437
+ links: lazyType(() => CustomerLinks$outboundSchema)
75984
75438
  }).transform((v2) => {
75985
75439
  return remap(v2, {
75986
75440
  links: "_links"
@@ -76465,14 +75919,14 @@ var init_listmandates = __esm(() => {
76465
75919
  MandateDocumentation$.outboundSchema = MandateDocumentation$outboundSchema;
76466
75920
  })(MandateDocumentation$ ||= {});
76467
75921
  MandateLinks$inboundSchema = objectType({
76468
- self: lazyType(() => MandateSelf$inboundSchema).optional(),
76469
- customer: lazyType(() => ListMandatesCustomer$inboundSchema).optional(),
76470
- documentation: lazyType(() => MandateDocumentation$inboundSchema).optional()
75922
+ self: lazyType(() => MandateSelf$inboundSchema),
75923
+ customer: lazyType(() => ListMandatesCustomer$inboundSchema),
75924
+ documentation: lazyType(() => MandateDocumentation$inboundSchema)
76471
75925
  });
76472
75926
  MandateLinks$outboundSchema = objectType({
76473
- self: lazyType(() => MandateSelf$outboundSchema).optional(),
76474
- customer: lazyType(() => ListMandatesCustomer$outboundSchema).optional(),
76475
- documentation: lazyType(() => MandateDocumentation$outboundSchema).optional()
75927
+ self: lazyType(() => MandateSelf$outboundSchema),
75928
+ customer: lazyType(() => ListMandatesCustomer$outboundSchema),
75929
+ documentation: lazyType(() => MandateDocumentation$outboundSchema)
76476
75930
  });
76477
75931
  ((MandateLinks$) => {
76478
75932
  MandateLinks$.inboundSchema = MandateLinks$inboundSchema;
@@ -76480,16 +75934,16 @@ var init_listmandates = __esm(() => {
76480
75934
  })(MandateLinks$ ||= {});
76481
75935
  ListMandatesMandate$inboundSchema = objectType({
76482
75936
  resource: stringType().default("mandate"),
76483
- id: stringType().optional(),
76484
- mode: ListMandatesMode$inboundSchema.optional(),
76485
- method: ListMandatesMethod$inboundSchema.optional(),
76486
- details: lazyType(() => ListMandatesDetails$inboundSchema).optional(),
76487
- signatureDate: nullableType(stringType()).optional(),
76488
- mandateReference: nullableType(stringType()).optional(),
76489
- status: ListMandatesStatus$inboundSchema.optional(),
76490
- customerId: stringType().optional(),
76491
- createdAt: stringType().optional(),
76492
- _links: lazyType(() => MandateLinks$inboundSchema).optional()
75937
+ id: stringType(),
75938
+ mode: ListMandatesMode$inboundSchema,
75939
+ method: ListMandatesMethod$inboundSchema,
75940
+ details: lazyType(() => ListMandatesDetails$inboundSchema),
75941
+ signatureDate: nullableType(stringType()),
75942
+ mandateReference: nullableType(stringType()),
75943
+ status: ListMandatesStatus$inboundSchema,
75944
+ customerId: stringType(),
75945
+ createdAt: stringType(),
75946
+ _links: lazyType(() => MandateLinks$inboundSchema)
76493
75947
  }).transform((v2) => {
76494
75948
  return remap(v2, {
76495
75949
  _links: "links"
@@ -76497,16 +75951,16 @@ var init_listmandates = __esm(() => {
76497
75951
  });
76498
75952
  ListMandatesMandate$outboundSchema = objectType({
76499
75953
  resource: stringType().default("mandate"),
76500
- id: stringType().optional(),
76501
- mode: ListMandatesMode$outboundSchema.optional(),
76502
- method: ListMandatesMethod$outboundSchema.optional(),
76503
- details: lazyType(() => ListMandatesDetails$outboundSchema).optional(),
76504
- signatureDate: nullableType(stringType()).optional(),
76505
- mandateReference: nullableType(stringType()).optional(),
76506
- status: ListMandatesStatus$outboundSchema.optional(),
76507
- customerId: stringType().optional(),
76508
- createdAt: stringType().optional(),
76509
- links: lazyType(() => MandateLinks$outboundSchema).optional()
75954
+ id: stringType(),
75955
+ mode: ListMandatesMode$outboundSchema,
75956
+ method: ListMandatesMethod$outboundSchema,
75957
+ details: lazyType(() => ListMandatesDetails$outboundSchema),
75958
+ signatureDate: nullableType(stringType()),
75959
+ mandateReference: nullableType(stringType()),
75960
+ status: ListMandatesStatus$outboundSchema,
75961
+ customerId: stringType(),
75962
+ createdAt: stringType(),
75963
+ links: lazyType(() => MandateLinks$outboundSchema)
76510
75964
  }).transform((v2) => {
76511
75965
  return remap(v2, {
76512
75966
  links: "_links"
@@ -76677,6 +76131,7 @@ var init_listmethods = __esm(() => {
76677
76131
  Banktransfer: "banktransfer",
76678
76132
  Belfius: "belfius",
76679
76133
  Billie: "billie",
76134
+ Bizum: "bizum",
76680
76135
  Blik: "blik",
76681
76136
  Creditcard: "creditcard",
76682
76137
  Directdebit: "directdebit",
@@ -76689,9 +76144,14 @@ var init_listmethods = __esm(() => {
76689
76144
  Klarnapaylater: "klarnapaylater",
76690
76145
  Klarnapaynow: "klarnapaynow",
76691
76146
  Klarnasliceit: "klarnasliceit",
76147
+ Mbway: "mbway",
76148
+ Multibanco: "multibanco",
76692
76149
  Mybank: "mybank",
76150
+ Paybybank: "paybybank",
76151
+ Payconiq: "payconiq",
76693
76152
  Paypal: "paypal",
76694
76153
  Paysafecard: "paysafecard",
76154
+ Pointofsale: "pointofsale",
76695
76155
  Przelewy24: "przelewy24",
76696
76156
  Riverty: "riverty",
76697
76157
  Satispay: "satispay",
@@ -77028,7 +76488,7 @@ var init_listmethods = __esm(() => {
77028
76488
  });
77029
76489
 
77030
76490
  // src/models/operations/listpaymentlinks.ts
77031
- var ListPaymentLinksMode, ListPaymentLinksType, ListPaymentLinksCategory, ListPaymentLinksRequest$inboundSchema, ListPaymentLinksRequest$outboundSchema, ListPaymentLinksRequest$, ListPaymentLinksBadRequestDocumentation$inboundSchema, ListPaymentLinksBadRequestDocumentation$outboundSchema, ListPaymentLinksBadRequestDocumentation$, ListPaymentLinksBadRequestLinks$inboundSchema, ListPaymentLinksBadRequestLinks$outboundSchema, ListPaymentLinksBadRequestLinks$, ListPaymentLinksMode$inboundSchema, ListPaymentLinksMode$outboundSchema, ListPaymentLinksMode$, ListPaymentLinksAmount$inboundSchema, ListPaymentLinksAmount$outboundSchema, ListPaymentLinksAmount$, ListPaymentLinksMinimumAmount$inboundSchema, ListPaymentLinksMinimumAmount$outboundSchema, ListPaymentLinksMinimumAmount$, ListPaymentLinksType$inboundSchema, ListPaymentLinksType$outboundSchema, ListPaymentLinksType$, ListPaymentLinksUnitPrice$inboundSchema, ListPaymentLinksUnitPrice$outboundSchema, ListPaymentLinksUnitPrice$, ListPaymentLinksDiscountAmount$inboundSchema, ListPaymentLinksDiscountAmount$outboundSchema, ListPaymentLinksDiscountAmount$, ListPaymentLinksTotalAmount$inboundSchema, ListPaymentLinksTotalAmount$outboundSchema, ListPaymentLinksTotalAmount$, ListPaymentLinksVatAmount$inboundSchema, ListPaymentLinksVatAmount$outboundSchema, ListPaymentLinksVatAmount$, ListPaymentLinksCategory$inboundSchema, ListPaymentLinksCategory$outboundSchema, ListPaymentLinksCategory$, ListPaymentLinksLine$inboundSchema, ListPaymentLinksLine$outboundSchema, ListPaymentLinksLine$, ListPaymentLinksBillingAddress$inboundSchema, ListPaymentLinksBillingAddress$outboundSchema, ListPaymentLinksBillingAddress$, ListPaymentLinksShippingAddress$inboundSchema, ListPaymentLinksShippingAddress$outboundSchema, ListPaymentLinksShippingAddress$, ListPaymentLinksApplicationFeeAmount$inboundSchema, ListPaymentLinksApplicationFeeAmount$outboundSchema, ListPaymentLinksApplicationFeeAmount$, ListPaymentLinksApplicationFee$inboundSchema, ListPaymentLinksApplicationFee$outboundSchema, ListPaymentLinksApplicationFee$, PaymentLinkSelf$inboundSchema, PaymentLinkSelf$outboundSchema, PaymentLinkSelf$, ListPaymentLinksLinksPaymentLink$inboundSchema, ListPaymentLinksLinksPaymentLink$outboundSchema, ListPaymentLinksLinksPaymentLink$, PaymentLinkLinks$inboundSchema, PaymentLinkLinks$outboundSchema, PaymentLinkLinks$, ListPaymentLinksPaymentLink$inboundSchema, ListPaymentLinksPaymentLink$outboundSchema, ListPaymentLinksPaymentLink$, ListPaymentLinksEmbedded$inboundSchema, ListPaymentLinksEmbedded$outboundSchema, ListPaymentLinksEmbedded$, ListPaymentLinksSelf$inboundSchema, ListPaymentLinksSelf$outboundSchema, ListPaymentLinksSelf$, ListPaymentLinksPrevious$inboundSchema, ListPaymentLinksPrevious$outboundSchema, ListPaymentLinksPrevious$, ListPaymentLinksNext$inboundSchema, ListPaymentLinksNext$outboundSchema, ListPaymentLinksNext$, ListPaymentLinksDocumentation$inboundSchema, ListPaymentLinksDocumentation$outboundSchema, ListPaymentLinksDocumentation$, ListPaymentLinksLinks$inboundSchema, ListPaymentLinksLinks$outboundSchema, ListPaymentLinksLinks$, ListPaymentLinksResponse$inboundSchema, ListPaymentLinksResponse$outboundSchema, ListPaymentLinksResponse$;
76491
+ var ListPaymentLinksMode, ListPaymentLinksType, ListPaymentLinksCategory, ListPaymentLinksSequenceType, ListPaymentLinksRequest$inboundSchema, ListPaymentLinksRequest$outboundSchema, ListPaymentLinksRequest$, ListPaymentLinksBadRequestDocumentation$inboundSchema, ListPaymentLinksBadRequestDocumentation$outboundSchema, ListPaymentLinksBadRequestDocumentation$, ListPaymentLinksBadRequestLinks$inboundSchema, ListPaymentLinksBadRequestLinks$outboundSchema, ListPaymentLinksBadRequestLinks$, ListPaymentLinksMode$inboundSchema, ListPaymentLinksMode$outboundSchema, ListPaymentLinksMode$, ListPaymentLinksAmount$inboundSchema, ListPaymentLinksAmount$outboundSchema, ListPaymentLinksAmount$, ListPaymentLinksMinimumAmount$inboundSchema, ListPaymentLinksMinimumAmount$outboundSchema, ListPaymentLinksMinimumAmount$, ListPaymentLinksType$inboundSchema, ListPaymentLinksType$outboundSchema, ListPaymentLinksType$, ListPaymentLinksUnitPrice$inboundSchema, ListPaymentLinksUnitPrice$outboundSchema, ListPaymentLinksUnitPrice$, ListPaymentLinksDiscountAmount$inboundSchema, ListPaymentLinksDiscountAmount$outboundSchema, ListPaymentLinksDiscountAmount$, ListPaymentLinksTotalAmount$inboundSchema, ListPaymentLinksTotalAmount$outboundSchema, ListPaymentLinksTotalAmount$, ListPaymentLinksVatAmount$inboundSchema, ListPaymentLinksVatAmount$outboundSchema, ListPaymentLinksVatAmount$, ListPaymentLinksCategory$inboundSchema, ListPaymentLinksCategory$outboundSchema, ListPaymentLinksCategory$, ListPaymentLinksLine$inboundSchema, ListPaymentLinksLine$outboundSchema, ListPaymentLinksLine$, ListPaymentLinksBillingAddress$inboundSchema, ListPaymentLinksBillingAddress$outboundSchema, ListPaymentLinksBillingAddress$, ListPaymentLinksShippingAddress$inboundSchema, ListPaymentLinksShippingAddress$outboundSchema, ListPaymentLinksShippingAddress$, ListPaymentLinksApplicationFeeAmount$inboundSchema, ListPaymentLinksApplicationFeeAmount$outboundSchema, ListPaymentLinksApplicationFeeAmount$, ListPaymentLinksApplicationFee$inboundSchema, ListPaymentLinksApplicationFee$outboundSchema, ListPaymentLinksApplicationFee$, ListPaymentLinksSequenceType$inboundSchema, ListPaymentLinksSequenceType$outboundSchema, ListPaymentLinksSequenceType$, PaymentLinkSelf$inboundSchema, PaymentLinkSelf$outboundSchema, PaymentLinkSelf$, ListPaymentLinksLinksPaymentLink$inboundSchema, ListPaymentLinksLinksPaymentLink$outboundSchema, ListPaymentLinksLinksPaymentLink$, PaymentLinkLinks$inboundSchema, PaymentLinkLinks$outboundSchema, PaymentLinkLinks$, ListPaymentLinksPaymentLink$inboundSchema, ListPaymentLinksPaymentLink$outboundSchema, ListPaymentLinksPaymentLink$, ListPaymentLinksEmbedded$inboundSchema, ListPaymentLinksEmbedded$outboundSchema, ListPaymentLinksEmbedded$, ListPaymentLinksSelf$inboundSchema, ListPaymentLinksSelf$outboundSchema, ListPaymentLinksSelf$, ListPaymentLinksPrevious$inboundSchema, ListPaymentLinksPrevious$outboundSchema, ListPaymentLinksPrevious$, ListPaymentLinksNext$inboundSchema, ListPaymentLinksNext$outboundSchema, ListPaymentLinksNext$, ListPaymentLinksDocumentation$inboundSchema, ListPaymentLinksDocumentation$outboundSchema, ListPaymentLinksDocumentation$, ListPaymentLinksLinks$inboundSchema, ListPaymentLinksLinks$outboundSchema, ListPaymentLinksLinks$, ListPaymentLinksResponse$inboundSchema, ListPaymentLinksResponse$outboundSchema, ListPaymentLinksResponse$;
77032
76492
  var init_listpaymentlinks = __esm(() => {
77033
76493
  init_esm();
77034
76494
  init_primitives();
@@ -77052,6 +76512,10 @@ var init_listpaymentlinks = __esm(() => {
77052
76512
  Gift: "gift",
77053
76513
  SportCulture: "sport_culture"
77054
76514
  };
76515
+ ListPaymentLinksSequenceType = {
76516
+ Oneoff: "oneoff",
76517
+ First: "first"
76518
+ };
77055
76519
  ListPaymentLinksRequest$inboundSchema = objectType({
77056
76520
  from: stringType().optional(),
77057
76521
  limit: nullableType(numberType().int().default(50)),
@@ -77300,6 +76764,12 @@ var init_listpaymentlinks = __esm(() => {
77300
76764
  ListPaymentLinksApplicationFee$.inboundSchema = ListPaymentLinksApplicationFee$inboundSchema;
77301
76765
  ListPaymentLinksApplicationFee$.outboundSchema = ListPaymentLinksApplicationFee$outboundSchema;
77302
76766
  })(ListPaymentLinksApplicationFee$ ||= {});
76767
+ ListPaymentLinksSequenceType$inboundSchema = nativeEnumType(ListPaymentLinksSequenceType);
76768
+ ListPaymentLinksSequenceType$outboundSchema = ListPaymentLinksSequenceType$inboundSchema;
76769
+ ((ListPaymentLinksSequenceType$) => {
76770
+ ListPaymentLinksSequenceType$.inboundSchema = ListPaymentLinksSequenceType$inboundSchema;
76771
+ ListPaymentLinksSequenceType$.outboundSchema = ListPaymentLinksSequenceType$outboundSchema;
76772
+ })(ListPaymentLinksSequenceType$ ||= {});
77303
76773
  PaymentLinkSelf$inboundSchema = objectType({
77304
76774
  href: stringType(),
77305
76775
  type: stringType()
@@ -77356,6 +76826,8 @@ var init_listpaymentlinks = __esm(() => {
77356
76826
  expiresAt: nullableType(stringType()),
77357
76827
  allowedMethods: nullableType(arrayType(stringType())),
77358
76828
  applicationFee: lazyType(() => ListPaymentLinksApplicationFee$inboundSchema).optional(),
76829
+ sequenceType: nullableType(ListPaymentLinksSequenceType$inboundSchema).optional(),
76830
+ customerId: nullableType(stringType()).optional(),
77359
76831
  _links: lazyType(() => PaymentLinkLinks$inboundSchema)
77360
76832
  }).transform((v2) => {
77361
76833
  return remap(v2, {
@@ -77382,6 +76854,8 @@ var init_listpaymentlinks = __esm(() => {
77382
76854
  expiresAt: nullableType(stringType()),
77383
76855
  allowedMethods: nullableType(arrayType(stringType())),
77384
76856
  applicationFee: lazyType(() => ListPaymentLinksApplicationFee$outboundSchema).optional(),
76857
+ sequenceType: nullableType(ListPaymentLinksSequenceType$outboundSchema).optional(),
76858
+ customerId: nullableType(stringType()).optional(),
77385
76859
  links: lazyType(() => PaymentLinkLinks$outboundSchema)
77386
76860
  }).transform((v2) => {
77387
76861
  return remap(v2, {
@@ -77577,6 +77051,9 @@ var init_listpayments = __esm(() => {
77577
77051
  In3: "in3",
77578
77052
  Kbc: "kbc",
77579
77053
  Klarna: "klarna",
77054
+ Klarnapaylater: "klarnapaylater",
77055
+ Klarnapaynow: "klarnapaynow",
77056
+ Klarnasliceit: "klarnasliceit",
77580
77057
  Mbway: "mbway",
77581
77058
  Multibanco: "multibanco",
77582
77059
  Mybank: "mybank",
@@ -79313,23 +78790,23 @@ var init_listrefunds = __esm(() => {
79313
78790
  ListRefundsRefundDocumentation$.outboundSchema = ListRefundsRefundDocumentation$outboundSchema;
79314
78791
  })(ListRefundsRefundDocumentation$ ||= {});
79315
78792
  ListRefundsRefundLinks$inboundSchema = objectType({
79316
- self: lazyType(() => ListRefundsRefundSelf$inboundSchema).optional(),
79317
- payment: lazyType(() => ListRefundsPayment$inboundSchema).optional(),
78793
+ self: lazyType(() => ListRefundsRefundSelf$inboundSchema),
78794
+ payment: lazyType(() => ListRefundsPayment$inboundSchema),
79318
78795
  settlement: nullableType(lazyType(() => ListRefundsSettlement$inboundSchema)).optional(),
79319
- documentation: lazyType(() => ListRefundsRefundDocumentation$inboundSchema).optional()
78796
+ documentation: lazyType(() => ListRefundsRefundDocumentation$inboundSchema)
79320
78797
  });
79321
78798
  ListRefundsRefundLinks$outboundSchema = objectType({
79322
- self: lazyType(() => ListRefundsRefundSelf$outboundSchema).optional(),
79323
- payment: lazyType(() => ListRefundsPayment$outboundSchema).optional(),
78799
+ self: lazyType(() => ListRefundsRefundSelf$outboundSchema),
78800
+ payment: lazyType(() => ListRefundsPayment$outboundSchema),
79324
78801
  settlement: nullableType(lazyType(() => ListRefundsSettlement$outboundSchema)).optional(),
79325
- documentation: lazyType(() => ListRefundsRefundDocumentation$outboundSchema).optional()
78802
+ documentation: lazyType(() => ListRefundsRefundDocumentation$outboundSchema)
79326
78803
  });
79327
78804
  ((ListRefundsRefundLinks$) => {
79328
78805
  ListRefundsRefundLinks$.inboundSchema = ListRefundsRefundLinks$inboundSchema;
79329
78806
  ListRefundsRefundLinks$.outboundSchema = ListRefundsRefundLinks$outboundSchema;
79330
78807
  })(ListRefundsRefundLinks$ ||= {});
79331
78808
  ListRefundsRefund$inboundSchema = objectType({
79332
- resource: stringType().default("refund"),
78809
+ resource: stringType().optional(),
79333
78810
  id: stringType().optional(),
79334
78811
  mode: ListRefundsMode$inboundSchema.optional(),
79335
78812
  description: stringType().optional(),
@@ -79353,7 +78830,7 @@ var init_listrefunds = __esm(() => {
79353
78830
  });
79354
78831
  });
79355
78832
  ListRefundsRefund$outboundSchema = objectType({
79356
- resource: stringType().default("refund"),
78833
+ resource: stringType().optional(),
79357
78834
  id: stringType().optional(),
79358
78835
  mode: ListRefundsMode$outboundSchema.optional(),
79359
78836
  description: stringType().optional(),
@@ -80809,6 +80286,9 @@ var init_listsettlementpayments = __esm(() => {
80809
80286
  In3: "in3",
80810
80287
  Kbc: "kbc",
80811
80288
  Klarna: "klarna",
80289
+ Klarnapaylater: "klarnapaylater",
80290
+ Klarnapaynow: "klarnapaynow",
80291
+ Klarnasliceit: "klarnasliceit",
80812
80292
  Mbway: "mbway",
80813
80293
  Multibanco: "multibanco",
80814
80294
  Mybank: "mybank",
@@ -82042,23 +81522,23 @@ var init_listsettlementrefunds = __esm(() => {
82042
81522
  ListSettlementRefundsRefundDocumentation$.outboundSchema = ListSettlementRefundsRefundDocumentation$outboundSchema;
82043
81523
  })(ListSettlementRefundsRefundDocumentation$ ||= {});
82044
81524
  ListSettlementRefundsRefundLinks$inboundSchema = objectType({
82045
- self: lazyType(() => ListSettlementRefundsRefundSelf$inboundSchema).optional(),
82046
- payment: lazyType(() => ListSettlementRefundsPayment$inboundSchema).optional(),
81525
+ self: lazyType(() => ListSettlementRefundsRefundSelf$inboundSchema),
81526
+ payment: lazyType(() => ListSettlementRefundsPayment$inboundSchema),
82047
81527
  settlement: nullableType(lazyType(() => ListSettlementRefundsSettlement$inboundSchema)).optional(),
82048
- documentation: lazyType(() => ListSettlementRefundsRefundDocumentation$inboundSchema).optional()
81528
+ documentation: lazyType(() => ListSettlementRefundsRefundDocumentation$inboundSchema)
82049
81529
  });
82050
81530
  ListSettlementRefundsRefundLinks$outboundSchema = objectType({
82051
- self: lazyType(() => ListSettlementRefundsRefundSelf$outboundSchema).optional(),
82052
- payment: lazyType(() => ListSettlementRefundsPayment$outboundSchema).optional(),
81531
+ self: lazyType(() => ListSettlementRefundsRefundSelf$outboundSchema),
81532
+ payment: lazyType(() => ListSettlementRefundsPayment$outboundSchema),
82053
81533
  settlement: nullableType(lazyType(() => ListSettlementRefundsSettlement$outboundSchema)).optional(),
82054
- documentation: lazyType(() => ListSettlementRefundsRefundDocumentation$outboundSchema).optional()
81534
+ documentation: lazyType(() => ListSettlementRefundsRefundDocumentation$outboundSchema)
82055
81535
  });
82056
81536
  ((ListSettlementRefundsRefundLinks$) => {
82057
81537
  ListSettlementRefundsRefundLinks$.inboundSchema = ListSettlementRefundsRefundLinks$inboundSchema;
82058
81538
  ListSettlementRefundsRefundLinks$.outboundSchema = ListSettlementRefundsRefundLinks$outboundSchema;
82059
81539
  })(ListSettlementRefundsRefundLinks$ ||= {});
82060
81540
  ListSettlementRefundsRefund$inboundSchema = objectType({
82061
- resource: stringType().default("refund"),
81541
+ resource: stringType().optional(),
82062
81542
  id: stringType().optional(),
82063
81543
  mode: ListSettlementRefundsMode$inboundSchema.optional(),
82064
81544
  description: stringType().optional(),
@@ -82082,7 +81562,7 @@ var init_listsettlementrefunds = __esm(() => {
82082
81562
  });
82083
81563
  });
82084
81564
  ListSettlementRefundsRefund$outboundSchema = objectType({
82085
- resource: stringType().default("refund"),
81565
+ resource: stringType().optional(),
82086
81566
  id: stringType().optional(),
82087
81567
  mode: ListSettlementRefundsMode$outboundSchema.optional(),
82088
81568
  description: stringType().optional(),
@@ -82945,6 +82425,9 @@ var init_listsubscriptionpayments = __esm(() => {
82945
82425
  In3: "in3",
82946
82426
  Kbc: "kbc",
82947
82427
  Klarna: "klarna",
82428
+ Klarnapaylater: "klarnapaylater",
82429
+ Klarnapaynow: "klarnapaynow",
82430
+ Klarnasliceit: "klarnasliceit",
82948
82431
  Mbway: "mbway",
82949
82432
  Multibanco: "multibanco",
82950
82433
  Mybank: "mybank",
@@ -83933,7 +83416,7 @@ var init_listsubscriptionpayments = __esm(() => {
83933
83416
  });
83934
83417
 
83935
83418
  // src/models/operations/listsubscriptions.ts
83936
- var ListSubscriptionsSort, ListSubscriptionsMode, ListSubscriptionsStatus, ListSubscriptionsInterval, ListSubscriptionsMethod, ListSubscriptionsSort$inboundSchema, ListSubscriptionsSort$outboundSchema, ListSubscriptionsSort$, ListSubscriptionsRequest$inboundSchema, ListSubscriptionsRequest$outboundSchema, ListSubscriptionsRequest$, ListSubscriptionsNotFoundDocumentation$inboundSchema, ListSubscriptionsNotFoundDocumentation$outboundSchema, ListSubscriptionsNotFoundDocumentation$, ListSubscriptionsNotFoundLinks$inboundSchema, ListSubscriptionsNotFoundLinks$outboundSchema, ListSubscriptionsNotFoundLinks$, ListSubscriptionsBadRequestDocumentation$inboundSchema, ListSubscriptionsBadRequestDocumentation$outboundSchema, ListSubscriptionsBadRequestDocumentation$, ListSubscriptionsBadRequestLinks$inboundSchema, ListSubscriptionsBadRequestLinks$outboundSchema, ListSubscriptionsBadRequestLinks$, ListSubscriptionsMode$inboundSchema, ListSubscriptionsMode$outboundSchema, ListSubscriptionsMode$, ListSubscriptionsStatus$inboundSchema, ListSubscriptionsStatus$outboundSchema, ListSubscriptionsStatus$, ListSubscriptionsAmount$inboundSchema, ListSubscriptionsAmount$outboundSchema, ListSubscriptionsAmount$, ListSubscriptionsInterval$inboundSchema, ListSubscriptionsInterval$outboundSchema, ListSubscriptionsInterval$, ListSubscriptionsMethod$inboundSchema, ListSubscriptionsMethod$outboundSchema, ListSubscriptionsMethod$, ListSubscriptionsApplicationFeeAmount$inboundSchema, ListSubscriptionsApplicationFeeAmount$outboundSchema, ListSubscriptionsApplicationFeeAmount$, ListSubscriptionsApplicationFee$inboundSchema, ListSubscriptionsApplicationFee$outboundSchema, ListSubscriptionsApplicationFee$, ListSubscriptionsMetadata$inboundSchema, ListSubscriptionsMetadata$outboundSchema, ListSubscriptionsMetadata$, ListSubscriptionsMetadataUnion$inboundSchema, ListSubscriptionsMetadataUnion$outboundSchema, ListSubscriptionsMetadataUnion$, SubscriptionSelf$inboundSchema, SubscriptionSelf$outboundSchema, SubscriptionSelf$, ListSubscriptionsCustomer$inboundSchema, ListSubscriptionsCustomer$outboundSchema, ListSubscriptionsCustomer$, ListSubscriptionsMandate$inboundSchema, ListSubscriptionsMandate$outboundSchema, ListSubscriptionsMandate$, ListSubscriptionsProfile$inboundSchema, ListSubscriptionsProfile$outboundSchema, ListSubscriptionsProfile$, ListSubscriptionsPayments$inboundSchema, ListSubscriptionsPayments$outboundSchema, ListSubscriptionsPayments$, SubscriptionDocumentation$inboundSchema, SubscriptionDocumentation$outboundSchema, SubscriptionDocumentation$, SubscriptionLinks$inboundSchema, SubscriptionLinks$outboundSchema, SubscriptionLinks$, ListSubscriptionsSubscription$inboundSchema, ListSubscriptionsSubscription$outboundSchema, ListSubscriptionsSubscription$, ListSubscriptionsEmbedded$inboundSchema, ListSubscriptionsEmbedded$outboundSchema, ListSubscriptionsEmbedded$, ListSubscriptionsSelf$inboundSchema, ListSubscriptionsSelf$outboundSchema, ListSubscriptionsSelf$, ListSubscriptionsPrevious$inboundSchema, ListSubscriptionsPrevious$outboundSchema, ListSubscriptionsPrevious$, ListSubscriptionsNext$inboundSchema, ListSubscriptionsNext$outboundSchema, ListSubscriptionsNext$, ListSubscriptionsDocumentation$inboundSchema, ListSubscriptionsDocumentation$outboundSchema, ListSubscriptionsDocumentation$, ListSubscriptionsLinks$inboundSchema, ListSubscriptionsLinks$outboundSchema, ListSubscriptionsLinks$, ListSubscriptionsResponse$inboundSchema, ListSubscriptionsResponse$outboundSchema, ListSubscriptionsResponse$;
83419
+ var ListSubscriptionsSort, ListSubscriptionsMode, ListSubscriptionsStatus, ListSubscriptionsInterval, ListSubscriptionsMethod, ListSubscriptionsSort$inboundSchema, ListSubscriptionsSort$outboundSchema, ListSubscriptionsSort$, ListSubscriptionsRequest$inboundSchema, ListSubscriptionsRequest$outboundSchema, ListSubscriptionsRequest$, ListSubscriptionsNotFoundDocumentation$inboundSchema, ListSubscriptionsNotFoundDocumentation$outboundSchema, ListSubscriptionsNotFoundDocumentation$, ListSubscriptionsNotFoundLinks$inboundSchema, ListSubscriptionsNotFoundLinks$outboundSchema, ListSubscriptionsNotFoundLinks$, ListSubscriptionsBadRequestDocumentation$inboundSchema, ListSubscriptionsBadRequestDocumentation$outboundSchema, ListSubscriptionsBadRequestDocumentation$, ListSubscriptionsBadRequestLinks$inboundSchema, ListSubscriptionsBadRequestLinks$outboundSchema, ListSubscriptionsBadRequestLinks$, ListSubscriptionsMode$inboundSchema, ListSubscriptionsMode$outboundSchema, ListSubscriptionsMode$, ListSubscriptionsStatus$inboundSchema, ListSubscriptionsStatus$outboundSchema, ListSubscriptionsStatus$, ListSubscriptionsAmount$inboundSchema, ListSubscriptionsAmount$outboundSchema, ListSubscriptionsAmount$, ListSubscriptionsInterval$inboundSchema, ListSubscriptionsInterval$outboundSchema, ListSubscriptionsInterval$, ListSubscriptionsMethod$inboundSchema, ListSubscriptionsMethod$outboundSchema, ListSubscriptionsMethod$, ListSubscriptionsApplicationFeeAmount$inboundSchema, ListSubscriptionsApplicationFeeAmount$outboundSchema, ListSubscriptionsApplicationFeeAmount$, ListSubscriptionsApplicationFee$inboundSchema, ListSubscriptionsApplicationFee$outboundSchema, ListSubscriptionsApplicationFee$, ListSubscriptionsMetadata$inboundSchema, ListSubscriptionsMetadata$outboundSchema, ListSubscriptionsMetadata$, ListSubscriptionsMetadataUnion$inboundSchema, ListSubscriptionsMetadataUnion$outboundSchema, ListSubscriptionsMetadataUnion$, ListSubscriptionsSubscriptionSelf$inboundSchema, ListSubscriptionsSubscriptionSelf$outboundSchema, ListSubscriptionsSubscriptionSelf$, ListSubscriptionsCustomer$inboundSchema, ListSubscriptionsCustomer$outboundSchema, ListSubscriptionsCustomer$, ListSubscriptionsMandate$inboundSchema, ListSubscriptionsMandate$outboundSchema, ListSubscriptionsMandate$, ListSubscriptionsProfile$inboundSchema, ListSubscriptionsProfile$outboundSchema, ListSubscriptionsProfile$, ListSubscriptionsPayments$inboundSchema, ListSubscriptionsPayments$outboundSchema, ListSubscriptionsPayments$, ListSubscriptionsSubscriptionDocumentation$inboundSchema, ListSubscriptionsSubscriptionDocumentation$outboundSchema, ListSubscriptionsSubscriptionDocumentation$, ListSubscriptionsSubscriptionLinks$inboundSchema, ListSubscriptionsSubscriptionLinks$outboundSchema, ListSubscriptionsSubscriptionLinks$, ListSubscriptionsSubscription$inboundSchema, ListSubscriptionsSubscription$outboundSchema, ListSubscriptionsSubscription$, ListSubscriptionsEmbedded$inboundSchema, ListSubscriptionsEmbedded$outboundSchema, ListSubscriptionsEmbedded$, ListSubscriptionsSelf$inboundSchema, ListSubscriptionsSelf$outboundSchema, ListSubscriptionsSelf$, ListSubscriptionsPrevious$inboundSchema, ListSubscriptionsPrevious$outboundSchema, ListSubscriptionsPrevious$, ListSubscriptionsNext$inboundSchema, ListSubscriptionsNext$outboundSchema, ListSubscriptionsNext$, ListSubscriptionsDocumentation$inboundSchema, ListSubscriptionsDocumentation$outboundSchema, ListSubscriptionsDocumentation$, ListSubscriptionsLinks$inboundSchema, ListSubscriptionsLinks$outboundSchema, ListSubscriptionsLinks$, ListSubscriptionsResponse$inboundSchema, ListSubscriptionsResponse$outboundSchema, ListSubscriptionsResponse$;
83937
83420
  var init_listsubscriptions = __esm(() => {
83938
83421
  init_esm();
83939
83422
  init_primitives();
@@ -84079,12 +83562,12 @@ var init_listsubscriptions = __esm(() => {
84079
83562
  ListSubscriptionsApplicationFeeAmount$.outboundSchema = ListSubscriptionsApplicationFeeAmount$outboundSchema;
84080
83563
  })(ListSubscriptionsApplicationFeeAmount$ ||= {});
84081
83564
  ListSubscriptionsApplicationFee$inboundSchema = objectType({
84082
- amount: lazyType(() => ListSubscriptionsApplicationFeeAmount$inboundSchema).optional(),
84083
- description: stringType().optional()
83565
+ amount: lazyType(() => ListSubscriptionsApplicationFeeAmount$inboundSchema),
83566
+ description: stringType()
84084
83567
  });
84085
83568
  ListSubscriptionsApplicationFee$outboundSchema = objectType({
84086
- amount: lazyType(() => ListSubscriptionsApplicationFeeAmount$outboundSchema).optional(),
84087
- description: stringType().optional()
83569
+ amount: lazyType(() => ListSubscriptionsApplicationFeeAmount$outboundSchema),
83570
+ description: stringType()
84088
83571
  });
84089
83572
  ((ListSubscriptionsApplicationFee$) => {
84090
83573
  ListSubscriptionsApplicationFee$.inboundSchema = ListSubscriptionsApplicationFee$inboundSchema;
@@ -84110,18 +83593,18 @@ var init_listsubscriptions = __esm(() => {
84110
83593
  ListSubscriptionsMetadataUnion$.inboundSchema = ListSubscriptionsMetadataUnion$inboundSchema;
84111
83594
  ListSubscriptionsMetadataUnion$.outboundSchema = ListSubscriptionsMetadataUnion$outboundSchema;
84112
83595
  })(ListSubscriptionsMetadataUnion$ ||= {});
84113
- SubscriptionSelf$inboundSchema = objectType({
83596
+ ListSubscriptionsSubscriptionSelf$inboundSchema = objectType({
84114
83597
  href: stringType(),
84115
83598
  type: stringType()
84116
83599
  });
84117
- SubscriptionSelf$outboundSchema = objectType({
83600
+ ListSubscriptionsSubscriptionSelf$outboundSchema = objectType({
84118
83601
  href: stringType(),
84119
83602
  type: stringType()
84120
83603
  });
84121
- ((SubscriptionSelf$) => {
84122
- SubscriptionSelf$.inboundSchema = SubscriptionSelf$inboundSchema;
84123
- SubscriptionSelf$.outboundSchema = SubscriptionSelf$outboundSchema;
84124
- })(SubscriptionSelf$ ||= {});
83604
+ ((ListSubscriptionsSubscriptionSelf$) => {
83605
+ ListSubscriptionsSubscriptionSelf$.inboundSchema = ListSubscriptionsSubscriptionSelf$inboundSchema;
83606
+ ListSubscriptionsSubscriptionSelf$.outboundSchema = ListSubscriptionsSubscriptionSelf$outboundSchema;
83607
+ })(ListSubscriptionsSubscriptionSelf$ ||= {});
84125
83608
  ListSubscriptionsCustomer$inboundSchema = objectType({
84126
83609
  href: stringType().optional(),
84127
83610
  type: stringType().optional()
@@ -84170,63 +83653,63 @@ var init_listsubscriptions = __esm(() => {
84170
83653
  ListSubscriptionsPayments$.inboundSchema = ListSubscriptionsPayments$inboundSchema;
84171
83654
  ListSubscriptionsPayments$.outboundSchema = ListSubscriptionsPayments$outboundSchema;
84172
83655
  })(ListSubscriptionsPayments$ ||= {});
84173
- SubscriptionDocumentation$inboundSchema = objectType({
83656
+ ListSubscriptionsSubscriptionDocumentation$inboundSchema = objectType({
84174
83657
  href: stringType(),
84175
83658
  type: stringType()
84176
83659
  });
84177
- SubscriptionDocumentation$outboundSchema = objectType({
83660
+ ListSubscriptionsSubscriptionDocumentation$outboundSchema = objectType({
84178
83661
  href: stringType(),
84179
83662
  type: stringType()
84180
83663
  });
84181
- ((SubscriptionDocumentation$) => {
84182
- SubscriptionDocumentation$.inboundSchema = SubscriptionDocumentation$inboundSchema;
84183
- SubscriptionDocumentation$.outboundSchema = SubscriptionDocumentation$outboundSchema;
84184
- })(SubscriptionDocumentation$ ||= {});
84185
- SubscriptionLinks$inboundSchema = objectType({
84186
- self: lazyType(() => SubscriptionSelf$inboundSchema).optional(),
84187
- customer: nullableType(lazyType(() => ListSubscriptionsCustomer$inboundSchema)).optional(),
83664
+ ((ListSubscriptionsSubscriptionDocumentation$) => {
83665
+ ListSubscriptionsSubscriptionDocumentation$.inboundSchema = ListSubscriptionsSubscriptionDocumentation$inboundSchema;
83666
+ ListSubscriptionsSubscriptionDocumentation$.outboundSchema = ListSubscriptionsSubscriptionDocumentation$outboundSchema;
83667
+ })(ListSubscriptionsSubscriptionDocumentation$ ||= {});
83668
+ ListSubscriptionsSubscriptionLinks$inboundSchema = objectType({
83669
+ self: lazyType(() => ListSubscriptionsSubscriptionSelf$inboundSchema),
83670
+ customer: nullableType(lazyType(() => ListSubscriptionsCustomer$inboundSchema)),
84188
83671
  mandate: nullableType(lazyType(() => ListSubscriptionsMandate$inboundSchema)).optional(),
84189
- profile: nullableType(lazyType(() => ListSubscriptionsProfile$inboundSchema)).optional(),
83672
+ profile: nullableType(lazyType(() => ListSubscriptionsProfile$inboundSchema)),
84190
83673
  payments: nullableType(lazyType(() => ListSubscriptionsPayments$inboundSchema)).optional(),
84191
- documentation: lazyType(() => SubscriptionDocumentation$inboundSchema).optional()
83674
+ documentation: lazyType(() => ListSubscriptionsSubscriptionDocumentation$inboundSchema)
84192
83675
  });
84193
- SubscriptionLinks$outboundSchema = objectType({
84194
- self: lazyType(() => SubscriptionSelf$outboundSchema).optional(),
84195
- customer: nullableType(lazyType(() => ListSubscriptionsCustomer$outboundSchema)).optional(),
83676
+ ListSubscriptionsSubscriptionLinks$outboundSchema = objectType({
83677
+ self: lazyType(() => ListSubscriptionsSubscriptionSelf$outboundSchema),
83678
+ customer: nullableType(lazyType(() => ListSubscriptionsCustomer$outboundSchema)),
84196
83679
  mandate: nullableType(lazyType(() => ListSubscriptionsMandate$outboundSchema)).optional(),
84197
- profile: nullableType(lazyType(() => ListSubscriptionsProfile$outboundSchema)).optional(),
83680
+ profile: nullableType(lazyType(() => ListSubscriptionsProfile$outboundSchema)),
84198
83681
  payments: nullableType(lazyType(() => ListSubscriptionsPayments$outboundSchema)).optional(),
84199
- documentation: lazyType(() => SubscriptionDocumentation$outboundSchema).optional()
83682
+ documentation: lazyType(() => ListSubscriptionsSubscriptionDocumentation$outboundSchema)
84200
83683
  });
84201
- ((SubscriptionLinks$) => {
84202
- SubscriptionLinks$.inboundSchema = SubscriptionLinks$inboundSchema;
84203
- SubscriptionLinks$.outboundSchema = SubscriptionLinks$outboundSchema;
84204
- })(SubscriptionLinks$ ||= {});
83684
+ ((ListSubscriptionsSubscriptionLinks$) => {
83685
+ ListSubscriptionsSubscriptionLinks$.inboundSchema = ListSubscriptionsSubscriptionLinks$inboundSchema;
83686
+ ListSubscriptionsSubscriptionLinks$.outboundSchema = ListSubscriptionsSubscriptionLinks$outboundSchema;
83687
+ })(ListSubscriptionsSubscriptionLinks$ ||= {});
84205
83688
  ListSubscriptionsSubscription$inboundSchema = objectType({
84206
83689
  resource: stringType().default("subscription"),
84207
- id: stringType().optional(),
84208
- mode: ListSubscriptionsMode$inboundSchema.optional(),
84209
- status: ListSubscriptionsStatus$inboundSchema.optional(),
84210
- amount: lazyType(() => ListSubscriptionsAmount$inboundSchema).optional(),
84211
- times: nullableType(numberType().int()).optional(),
84212
- timesRemaining: numberType().int().optional(),
84213
- interval: ListSubscriptionsInterval$inboundSchema.optional(),
84214
- startDate: stringType().optional(),
83690
+ id: stringType(),
83691
+ mode: ListSubscriptionsMode$inboundSchema,
83692
+ status: ListSubscriptionsStatus$inboundSchema,
83693
+ amount: lazyType(() => ListSubscriptionsAmount$inboundSchema),
83694
+ times: nullableType(numberType().int()),
83695
+ timesRemaining: numberType().int(),
83696
+ interval: ListSubscriptionsInterval$inboundSchema,
83697
+ startDate: stringType(),
84215
83698
  nextPaymentDate: nullableType(stringType()).optional(),
84216
- description: stringType().optional(),
84217
- method: nullableType(ListSubscriptionsMethod$inboundSchema).optional(),
83699
+ description: stringType(),
83700
+ method: nullableType(ListSubscriptionsMethod$inboundSchema),
84218
83701
  applicationFee: lazyType(() => ListSubscriptionsApplicationFee$inboundSchema).optional(),
84219
83702
  metadata: nullableType(unionType([
84220
83703
  lazyType(() => ListSubscriptionsMetadata$inboundSchema),
84221
83704
  stringType(),
84222
83705
  arrayType(stringType())
84223
- ])).optional(),
84224
- webhookUrl: stringType().optional(),
84225
- customerId: stringType().optional(),
83706
+ ])),
83707
+ webhookUrl: stringType(),
83708
+ customerId: stringType(),
84226
83709
  mandateId: nullableType(stringType()).optional(),
84227
- createdAt: stringType().optional(),
83710
+ createdAt: stringType(),
84228
83711
  canceledAt: nullableType(stringType()).optional(),
84229
- _links: lazyType(() => SubscriptionLinks$inboundSchema).optional()
83712
+ _links: lazyType(() => ListSubscriptionsSubscriptionLinks$inboundSchema).optional()
84230
83713
  }).transform((v2) => {
84231
83714
  return remap(v2, {
84232
83715
  _links: "links"
@@ -84234,29 +83717,29 @@ var init_listsubscriptions = __esm(() => {
84234
83717
  });
84235
83718
  ListSubscriptionsSubscription$outboundSchema = objectType({
84236
83719
  resource: stringType().default("subscription"),
84237
- id: stringType().optional(),
84238
- mode: ListSubscriptionsMode$outboundSchema.optional(),
84239
- status: ListSubscriptionsStatus$outboundSchema.optional(),
84240
- amount: lazyType(() => ListSubscriptionsAmount$outboundSchema).optional(),
84241
- times: nullableType(numberType().int()).optional(),
84242
- timesRemaining: numberType().int().optional(),
84243
- interval: ListSubscriptionsInterval$outboundSchema.optional(),
84244
- startDate: stringType().optional(),
83720
+ id: stringType(),
83721
+ mode: ListSubscriptionsMode$outboundSchema,
83722
+ status: ListSubscriptionsStatus$outboundSchema,
83723
+ amount: lazyType(() => ListSubscriptionsAmount$outboundSchema),
83724
+ times: nullableType(numberType().int()),
83725
+ timesRemaining: numberType().int(),
83726
+ interval: ListSubscriptionsInterval$outboundSchema,
83727
+ startDate: stringType(),
84245
83728
  nextPaymentDate: nullableType(stringType()).optional(),
84246
- description: stringType().optional(),
84247
- method: nullableType(ListSubscriptionsMethod$outboundSchema).optional(),
83729
+ description: stringType(),
83730
+ method: nullableType(ListSubscriptionsMethod$outboundSchema),
84248
83731
  applicationFee: lazyType(() => ListSubscriptionsApplicationFee$outboundSchema).optional(),
84249
83732
  metadata: nullableType(unionType([
84250
83733
  lazyType(() => ListSubscriptionsMetadata$outboundSchema),
84251
83734
  stringType(),
84252
83735
  arrayType(stringType())
84253
- ])).optional(),
84254
- webhookUrl: stringType().optional(),
84255
- customerId: stringType().optional(),
83736
+ ])),
83737
+ webhookUrl: stringType(),
83738
+ customerId: stringType(),
84256
83739
  mandateId: nullableType(stringType()).optional(),
84257
- createdAt: stringType().optional(),
83740
+ createdAt: stringType(),
84258
83741
  canceledAt: nullableType(stringType()).optional(),
84259
- links: lazyType(() => SubscriptionLinks$outboundSchema).optional()
83742
+ links: lazyType(() => ListSubscriptionsSubscriptionLinks$outboundSchema).optional()
84260
83743
  }).transform((v2) => {
84261
83744
  return remap(v2, {
84262
83745
  links: "_links"
@@ -84899,12 +84382,14 @@ var init_paymentcreateroute = __esm(() => {
84899
84382
  PaymentCreateRouteRequestBody$inboundSchema = objectType({
84900
84383
  amount: lazyType(() => PaymentCreateRouteAmountRequest$inboundSchema).optional(),
84901
84384
  description: stringType().optional(),
84902
- destination: lazyType(() => PaymentCreateRouteDestinationRequest$inboundSchema).optional()
84385
+ destination: lazyType(() => PaymentCreateRouteDestinationRequest$inboundSchema).optional(),
84386
+ testmode: nullableType(booleanType()).optional()
84903
84387
  });
84904
84388
  PaymentCreateRouteRequestBody$outboundSchema = objectType({
84905
84389
  amount: lazyType(() => PaymentCreateRouteAmountRequest$outboundSchema).optional(),
84906
84390
  description: stringType().optional(),
84907
- destination: lazyType(() => PaymentCreateRouteDestinationRequest$outboundSchema).optional()
84391
+ destination: lazyType(() => PaymentCreateRouteDestinationRequest$outboundSchema).optional(),
84392
+ testmode: nullableType(booleanType()).optional()
84908
84393
  });
84909
84394
  ((PaymentCreateRouteRequestBody$) => {
84910
84395
  PaymentCreateRouteRequestBody$.inboundSchema = PaymentCreateRouteRequestBody$inboundSchema;
@@ -85059,10 +84544,12 @@ var init_paymentlistroutes = __esm(() => {
85059
84544
  Organization: "organization"
85060
84545
  };
85061
84546
  PaymentListRoutesRequest$inboundSchema = objectType({
85062
- paymentId: stringType()
84547
+ paymentId: stringType(),
84548
+ testmode: nullableType(booleanType()).optional()
85063
84549
  });
85064
84550
  PaymentListRoutesRequest$outboundSchema = objectType({
85065
- paymentId: stringType()
84551
+ paymentId: stringType(),
84552
+ testmode: nullableType(booleanType()).optional()
85066
84553
  });
85067
84554
  ((PaymentListRoutesRequest$) => {
85068
84555
  PaymentListRoutesRequest$.inboundSchema = PaymentListRoutesRequest$inboundSchema;
@@ -85866,20 +85353,20 @@ var init_updatecustomer = __esm(() => {
85866
85353
  UpdateCustomerDocumentation$.outboundSchema = UpdateCustomerDocumentation$outboundSchema;
85867
85354
  })(UpdateCustomerDocumentation$ ||= {});
85868
85355
  UpdateCustomerLinks$inboundSchema = objectType({
85869
- self: lazyType(() => UpdateCustomerSelf$inboundSchema).optional(),
85870
- dashboard: lazyType(() => UpdateCustomerDashboard$inboundSchema).optional(),
85356
+ self: lazyType(() => UpdateCustomerSelf$inboundSchema),
85357
+ dashboard: lazyType(() => UpdateCustomerDashboard$inboundSchema),
85871
85358
  payments: nullableType(lazyType(() => UpdateCustomerPayments$inboundSchema)).optional(),
85872
85359
  mandates: nullableType(lazyType(() => UpdateCustomerMandates$inboundSchema)).optional(),
85873
85360
  subscriptions: nullableType(lazyType(() => UpdateCustomerSubscriptions$inboundSchema)).optional(),
85874
- documentation: lazyType(() => UpdateCustomerDocumentation$inboundSchema).optional()
85361
+ documentation: lazyType(() => UpdateCustomerDocumentation$inboundSchema)
85875
85362
  });
85876
85363
  UpdateCustomerLinks$outboundSchema = objectType({
85877
- self: lazyType(() => UpdateCustomerSelf$outboundSchema).optional(),
85878
- dashboard: lazyType(() => UpdateCustomerDashboard$outboundSchema).optional(),
85364
+ self: lazyType(() => UpdateCustomerSelf$outboundSchema),
85365
+ dashboard: lazyType(() => UpdateCustomerDashboard$outboundSchema),
85879
85366
  payments: nullableType(lazyType(() => UpdateCustomerPayments$outboundSchema)).optional(),
85880
85367
  mandates: nullableType(lazyType(() => UpdateCustomerMandates$outboundSchema)).optional(),
85881
85368
  subscriptions: nullableType(lazyType(() => UpdateCustomerSubscriptions$outboundSchema)).optional(),
85882
- documentation: lazyType(() => UpdateCustomerDocumentation$outboundSchema).optional()
85369
+ documentation: lazyType(() => UpdateCustomerDocumentation$outboundSchema)
85883
85370
  });
85884
85371
  ((UpdateCustomerLinks$) => {
85885
85372
  UpdateCustomerLinks$.inboundSchema = UpdateCustomerLinks$inboundSchema;
@@ -85887,18 +85374,18 @@ var init_updatecustomer = __esm(() => {
85887
85374
  })(UpdateCustomerLinks$ ||= {});
85888
85375
  UpdateCustomerResponse$inboundSchema = objectType({
85889
85376
  resource: stringType().default("customer"),
85890
- id: stringType().optional(),
85891
- mode: UpdateCustomerMode$inboundSchema.optional(),
85892
- name: nullableType(stringType()).optional(),
85893
- email: nullableType(stringType()).optional(),
85894
- locale: nullableType(UpdateCustomerLocaleResponse$inboundSchema).optional(),
85377
+ id: stringType(),
85378
+ mode: UpdateCustomerMode$inboundSchema,
85379
+ name: nullableType(stringType()),
85380
+ email: nullableType(stringType()),
85381
+ locale: nullableType(UpdateCustomerLocaleResponse$inboundSchema),
85895
85382
  metadata: nullableType(unionType([
85896
85383
  lazyType(() => UpdateCustomerMetadataResponse$inboundSchema),
85897
85384
  stringType(),
85898
85385
  arrayType(stringType())
85899
- ])).optional(),
85900
- createdAt: stringType().optional(),
85901
- _links: lazyType(() => UpdateCustomerLinks$inboundSchema).optional()
85386
+ ])),
85387
+ createdAt: stringType(),
85388
+ _links: lazyType(() => UpdateCustomerLinks$inboundSchema)
85902
85389
  }).transform((v2) => {
85903
85390
  return remap(v2, {
85904
85391
  _links: "links"
@@ -85906,18 +85393,18 @@ var init_updatecustomer = __esm(() => {
85906
85393
  });
85907
85394
  UpdateCustomerResponse$outboundSchema = objectType({
85908
85395
  resource: stringType().default("customer"),
85909
- id: stringType().optional(),
85910
- mode: UpdateCustomerMode$outboundSchema.optional(),
85911
- name: nullableType(stringType()).optional(),
85912
- email: nullableType(stringType()).optional(),
85913
- locale: nullableType(UpdateCustomerLocaleResponse$outboundSchema).optional(),
85396
+ id: stringType(),
85397
+ mode: UpdateCustomerMode$outboundSchema,
85398
+ name: nullableType(stringType()),
85399
+ email: nullableType(stringType()),
85400
+ locale: nullableType(UpdateCustomerLocaleResponse$outboundSchema),
85914
85401
  metadata: nullableType(unionType([
85915
85402
  lazyType(() => UpdateCustomerMetadataResponse$outboundSchema),
85916
85403
  stringType(),
85917
85404
  arrayType(stringType())
85918
- ])).optional(),
85919
- createdAt: stringType().optional(),
85920
- links: lazyType(() => UpdateCustomerLinks$outboundSchema).optional()
85405
+ ])),
85406
+ createdAt: stringType(),
85407
+ links: lazyType(() => UpdateCustomerLinks$outboundSchema)
85921
85408
  }).transform((v2) => {
85922
85409
  return remap(v2, {
85923
85410
  links: "_links"
@@ -85953,6 +85440,9 @@ var init_updatepayment = __esm(() => {
85953
85440
  In3: "in3",
85954
85441
  Kbc: "kbc",
85955
85442
  Klarna: "klarna",
85443
+ Klarnapaylater: "klarnapaylater",
85444
+ Klarnapaynow: "klarnapaynow",
85445
+ Klarnasliceit: "klarnasliceit",
85956
85446
  Mbway: "mbway",
85957
85447
  Multibanco: "multibanco",
85958
85448
  Mybank: "mybank",
@@ -86061,6 +85551,9 @@ var init_updatepayment = __esm(() => {
86061
85551
  In3: "in3",
86062
85552
  Kbc: "kbc",
86063
85553
  Klarna: "klarna",
85554
+ Klarnapaylater: "klarnapaylater",
85555
+ Klarnapaynow: "klarnapaynow",
85556
+ Klarnasliceit: "klarnasliceit",
86064
85557
  Mbway: "mbway",
86065
85558
  Multibanco: "multibanco",
86066
85559
  Mybank: "mybank",
@@ -87105,7 +86598,7 @@ var init_updatepayment = __esm(() => {
87105
86598
  });
87106
86599
 
87107
86600
  // src/models/operations/updatepaymentlink.ts
87108
- var UpdatePaymentLinkTypeRequest, UpdatePaymentLinkCategoryRequest, UpdatePaymentLinkMode, UpdatePaymentLinkTypeResponse, UpdatePaymentLinkCategoryResponse, UpdatePaymentLinkMinimumAmountRequest$inboundSchema, UpdatePaymentLinkMinimumAmountRequest$outboundSchema, UpdatePaymentLinkMinimumAmountRequest$, UpdatePaymentLinkTypeRequest$inboundSchema, UpdatePaymentLinkTypeRequest$outboundSchema, UpdatePaymentLinkTypeRequest$, UpdatePaymentLinkUnitPriceRequest$inboundSchema, UpdatePaymentLinkUnitPriceRequest$outboundSchema, UpdatePaymentLinkUnitPriceRequest$, UpdatePaymentLinkDiscountAmountRequest$inboundSchema, UpdatePaymentLinkDiscountAmountRequest$outboundSchema, UpdatePaymentLinkDiscountAmountRequest$, UpdatePaymentLinkTotalAmountRequest$inboundSchema, UpdatePaymentLinkTotalAmountRequest$outboundSchema, UpdatePaymentLinkTotalAmountRequest$, UpdatePaymentLinkVatAmountRequest$inboundSchema, UpdatePaymentLinkVatAmountRequest$outboundSchema, UpdatePaymentLinkVatAmountRequest$, UpdatePaymentLinkCategoryRequest$inboundSchema, UpdatePaymentLinkCategoryRequest$outboundSchema, UpdatePaymentLinkCategoryRequest$, UpdatePaymentLinkLineRequest$inboundSchema, UpdatePaymentLinkLineRequest$outboundSchema, UpdatePaymentLinkLineRequest$, UpdatePaymentLinkBillingAddressRequest$inboundSchema, UpdatePaymentLinkBillingAddressRequest$outboundSchema, UpdatePaymentLinkBillingAddressRequest$, UpdatePaymentLinkShippingAddressRequest$inboundSchema, UpdatePaymentLinkShippingAddressRequest$outboundSchema, UpdatePaymentLinkShippingAddressRequest$, UpdatePaymentLinkRequestBody$inboundSchema, UpdatePaymentLinkRequestBody$outboundSchema, UpdatePaymentLinkRequestBody$, UpdatePaymentLinkRequest$inboundSchema, UpdatePaymentLinkRequest$outboundSchema, UpdatePaymentLinkRequest$, UpdatePaymentLinkUnprocessableEntityDocumentation$inboundSchema, UpdatePaymentLinkUnprocessableEntityDocumentation$outboundSchema, UpdatePaymentLinkUnprocessableEntityDocumentation$, UpdatePaymentLinkUnprocessableEntityLinks$inboundSchema, UpdatePaymentLinkUnprocessableEntityLinks$outboundSchema, UpdatePaymentLinkUnprocessableEntityLinks$, UpdatePaymentLinkNotFoundDocumentation$inboundSchema, UpdatePaymentLinkNotFoundDocumentation$outboundSchema, UpdatePaymentLinkNotFoundDocumentation$, UpdatePaymentLinkNotFoundLinks$inboundSchema, UpdatePaymentLinkNotFoundLinks$outboundSchema, UpdatePaymentLinkNotFoundLinks$, UpdatePaymentLinkMode$inboundSchema, UpdatePaymentLinkMode$outboundSchema, UpdatePaymentLinkMode$, UpdatePaymentLinkAmount$inboundSchema, UpdatePaymentLinkAmount$outboundSchema, UpdatePaymentLinkAmount$, UpdatePaymentLinkMinimumAmountResponse$inboundSchema, UpdatePaymentLinkMinimumAmountResponse$outboundSchema, UpdatePaymentLinkMinimumAmountResponse$, UpdatePaymentLinkTypeResponse$inboundSchema, UpdatePaymentLinkTypeResponse$outboundSchema, UpdatePaymentLinkTypeResponse$, UpdatePaymentLinkUnitPriceResponse$inboundSchema, UpdatePaymentLinkUnitPriceResponse$outboundSchema, UpdatePaymentLinkUnitPriceResponse$, UpdatePaymentLinkDiscountAmountResponse$inboundSchema, UpdatePaymentLinkDiscountAmountResponse$outboundSchema, UpdatePaymentLinkDiscountAmountResponse$, UpdatePaymentLinkTotalAmountResponse$inboundSchema, UpdatePaymentLinkTotalAmountResponse$outboundSchema, UpdatePaymentLinkTotalAmountResponse$, UpdatePaymentLinkVatAmountResponse$inboundSchema, UpdatePaymentLinkVatAmountResponse$outboundSchema, UpdatePaymentLinkVatAmountResponse$, UpdatePaymentLinkCategoryResponse$inboundSchema, UpdatePaymentLinkCategoryResponse$outboundSchema, UpdatePaymentLinkCategoryResponse$, UpdatePaymentLinkLineResponse$inboundSchema, UpdatePaymentLinkLineResponse$outboundSchema, UpdatePaymentLinkLineResponse$, UpdatePaymentLinkBillingAddressResponse$inboundSchema, UpdatePaymentLinkBillingAddressResponse$outboundSchema, UpdatePaymentLinkBillingAddressResponse$, UpdatePaymentLinkShippingAddressResponse$inboundSchema, UpdatePaymentLinkShippingAddressResponse$outboundSchema, UpdatePaymentLinkShippingAddressResponse$, UpdatePaymentLinkApplicationFeeAmount$inboundSchema, UpdatePaymentLinkApplicationFeeAmount$outboundSchema, UpdatePaymentLinkApplicationFeeAmount$, UpdatePaymentLinkApplicationFee$inboundSchema, UpdatePaymentLinkApplicationFee$outboundSchema, UpdatePaymentLinkApplicationFee$, UpdatePaymentLinkSelf$inboundSchema, UpdatePaymentLinkSelf$outboundSchema, UpdatePaymentLinkSelf$, UpdatePaymentLinkPaymentLink$inboundSchema, UpdatePaymentLinkPaymentLink$outboundSchema, UpdatePaymentLinkPaymentLink$, UpdatePaymentLinkLinks$inboundSchema, UpdatePaymentLinkLinks$outboundSchema, UpdatePaymentLinkLinks$, UpdatePaymentLinkResponse$inboundSchema, UpdatePaymentLinkResponse$outboundSchema, UpdatePaymentLinkResponse$;
86601
+ var UpdatePaymentLinkTypeRequest, UpdatePaymentLinkCategoryRequest, UpdatePaymentLinkMode, UpdatePaymentLinkTypeResponse, UpdatePaymentLinkCategoryResponse, UpdatePaymentLinkSequenceType, UpdatePaymentLinkMinimumAmountRequest$inboundSchema, UpdatePaymentLinkMinimumAmountRequest$outboundSchema, UpdatePaymentLinkMinimumAmountRequest$, UpdatePaymentLinkTypeRequest$inboundSchema, UpdatePaymentLinkTypeRequest$outboundSchema, UpdatePaymentLinkTypeRequest$, UpdatePaymentLinkUnitPriceRequest$inboundSchema, UpdatePaymentLinkUnitPriceRequest$outboundSchema, UpdatePaymentLinkUnitPriceRequest$, UpdatePaymentLinkDiscountAmountRequest$inboundSchema, UpdatePaymentLinkDiscountAmountRequest$outboundSchema, UpdatePaymentLinkDiscountAmountRequest$, UpdatePaymentLinkTotalAmountRequest$inboundSchema, UpdatePaymentLinkTotalAmountRequest$outboundSchema, UpdatePaymentLinkTotalAmountRequest$, UpdatePaymentLinkVatAmountRequest$inboundSchema, UpdatePaymentLinkVatAmountRequest$outboundSchema, UpdatePaymentLinkVatAmountRequest$, UpdatePaymentLinkCategoryRequest$inboundSchema, UpdatePaymentLinkCategoryRequest$outboundSchema, UpdatePaymentLinkCategoryRequest$, UpdatePaymentLinkLineRequest$inboundSchema, UpdatePaymentLinkLineRequest$outboundSchema, UpdatePaymentLinkLineRequest$, UpdatePaymentLinkBillingAddressRequest$inboundSchema, UpdatePaymentLinkBillingAddressRequest$outboundSchema, UpdatePaymentLinkBillingAddressRequest$, UpdatePaymentLinkShippingAddressRequest$inboundSchema, UpdatePaymentLinkShippingAddressRequest$outboundSchema, UpdatePaymentLinkShippingAddressRequest$, UpdatePaymentLinkRequestBody$inboundSchema, UpdatePaymentLinkRequestBody$outboundSchema, UpdatePaymentLinkRequestBody$, UpdatePaymentLinkRequest$inboundSchema, UpdatePaymentLinkRequest$outboundSchema, UpdatePaymentLinkRequest$, UpdatePaymentLinkUnprocessableEntityDocumentation$inboundSchema, UpdatePaymentLinkUnprocessableEntityDocumentation$outboundSchema, UpdatePaymentLinkUnprocessableEntityDocumentation$, UpdatePaymentLinkUnprocessableEntityLinks$inboundSchema, UpdatePaymentLinkUnprocessableEntityLinks$outboundSchema, UpdatePaymentLinkUnprocessableEntityLinks$, UpdatePaymentLinkNotFoundDocumentation$inboundSchema, UpdatePaymentLinkNotFoundDocumentation$outboundSchema, UpdatePaymentLinkNotFoundDocumentation$, UpdatePaymentLinkNotFoundLinks$inboundSchema, UpdatePaymentLinkNotFoundLinks$outboundSchema, UpdatePaymentLinkNotFoundLinks$, UpdatePaymentLinkMode$inboundSchema, UpdatePaymentLinkMode$outboundSchema, UpdatePaymentLinkMode$, UpdatePaymentLinkAmount$inboundSchema, UpdatePaymentLinkAmount$outboundSchema, UpdatePaymentLinkAmount$, UpdatePaymentLinkMinimumAmountResponse$inboundSchema, UpdatePaymentLinkMinimumAmountResponse$outboundSchema, UpdatePaymentLinkMinimumAmountResponse$, UpdatePaymentLinkTypeResponse$inboundSchema, UpdatePaymentLinkTypeResponse$outboundSchema, UpdatePaymentLinkTypeResponse$, UpdatePaymentLinkUnitPriceResponse$inboundSchema, UpdatePaymentLinkUnitPriceResponse$outboundSchema, UpdatePaymentLinkUnitPriceResponse$, UpdatePaymentLinkDiscountAmountResponse$inboundSchema, UpdatePaymentLinkDiscountAmountResponse$outboundSchema, UpdatePaymentLinkDiscountAmountResponse$, UpdatePaymentLinkTotalAmountResponse$inboundSchema, UpdatePaymentLinkTotalAmountResponse$outboundSchema, UpdatePaymentLinkTotalAmountResponse$, UpdatePaymentLinkVatAmountResponse$inboundSchema, UpdatePaymentLinkVatAmountResponse$outboundSchema, UpdatePaymentLinkVatAmountResponse$, UpdatePaymentLinkCategoryResponse$inboundSchema, UpdatePaymentLinkCategoryResponse$outboundSchema, UpdatePaymentLinkCategoryResponse$, UpdatePaymentLinkLineResponse$inboundSchema, UpdatePaymentLinkLineResponse$outboundSchema, UpdatePaymentLinkLineResponse$, UpdatePaymentLinkBillingAddressResponse$inboundSchema, UpdatePaymentLinkBillingAddressResponse$outboundSchema, UpdatePaymentLinkBillingAddressResponse$, UpdatePaymentLinkShippingAddressResponse$inboundSchema, UpdatePaymentLinkShippingAddressResponse$outboundSchema, UpdatePaymentLinkShippingAddressResponse$, UpdatePaymentLinkApplicationFeeAmount$inboundSchema, UpdatePaymentLinkApplicationFeeAmount$outboundSchema, UpdatePaymentLinkApplicationFeeAmount$, UpdatePaymentLinkApplicationFee$inboundSchema, UpdatePaymentLinkApplicationFee$outboundSchema, UpdatePaymentLinkApplicationFee$, UpdatePaymentLinkSequenceType$inboundSchema, UpdatePaymentLinkSequenceType$outboundSchema, UpdatePaymentLinkSequenceType$, UpdatePaymentLinkSelf$inboundSchema, UpdatePaymentLinkSelf$outboundSchema, UpdatePaymentLinkSelf$, UpdatePaymentLinkPaymentLink$inboundSchema, UpdatePaymentLinkPaymentLink$outboundSchema, UpdatePaymentLinkPaymentLink$, UpdatePaymentLinkLinks$inboundSchema, UpdatePaymentLinkLinks$outboundSchema, UpdatePaymentLinkLinks$, UpdatePaymentLinkResponse$inboundSchema, UpdatePaymentLinkResponse$outboundSchema, UpdatePaymentLinkResponse$;
87109
86602
  var init_updatepaymentlink = __esm(() => {
87110
86603
  init_esm();
87111
86604
  init_primitives();
@@ -87145,6 +86638,10 @@ var init_updatepaymentlink = __esm(() => {
87145
86638
  Gift: "gift",
87146
86639
  SportCulture: "sport_culture"
87147
86640
  };
86641
+ UpdatePaymentLinkSequenceType = {
86642
+ Oneoff: "oneoff",
86643
+ First: "first"
86644
+ };
87148
86645
  UpdatePaymentLinkMinimumAmountRequest$inboundSchema = objectType({
87149
86646
  currency: stringType(),
87150
86647
  value: stringType()
@@ -87615,6 +87112,12 @@ var init_updatepaymentlink = __esm(() => {
87615
87112
  UpdatePaymentLinkApplicationFee$.inboundSchema = UpdatePaymentLinkApplicationFee$inboundSchema;
87616
87113
  UpdatePaymentLinkApplicationFee$.outboundSchema = UpdatePaymentLinkApplicationFee$outboundSchema;
87617
87114
  })(UpdatePaymentLinkApplicationFee$ ||= {});
87115
+ UpdatePaymentLinkSequenceType$inboundSchema = nativeEnumType(UpdatePaymentLinkSequenceType);
87116
+ UpdatePaymentLinkSequenceType$outboundSchema = UpdatePaymentLinkSequenceType$inboundSchema;
87117
+ ((UpdatePaymentLinkSequenceType$) => {
87118
+ UpdatePaymentLinkSequenceType$.inboundSchema = UpdatePaymentLinkSequenceType$inboundSchema;
87119
+ UpdatePaymentLinkSequenceType$.outboundSchema = UpdatePaymentLinkSequenceType$outboundSchema;
87120
+ })(UpdatePaymentLinkSequenceType$ ||= {});
87618
87121
  UpdatePaymentLinkSelf$inboundSchema = objectType({
87619
87122
  href: stringType(),
87620
87123
  type: stringType()
@@ -87671,6 +87174,8 @@ var init_updatepaymentlink = __esm(() => {
87671
87174
  expiresAt: nullableType(stringType()),
87672
87175
  allowedMethods: nullableType(arrayType(stringType())),
87673
87176
  applicationFee: lazyType(() => UpdatePaymentLinkApplicationFee$inboundSchema).optional(),
87177
+ sequenceType: nullableType(UpdatePaymentLinkSequenceType$inboundSchema).optional(),
87178
+ customerId: nullableType(stringType()).optional(),
87674
87179
  _links: lazyType(() => UpdatePaymentLinkLinks$inboundSchema)
87675
87180
  }).transform((v2) => {
87676
87181
  return remap(v2, {
@@ -87697,6 +87202,8 @@ var init_updatepaymentlink = __esm(() => {
87697
87202
  expiresAt: nullableType(stringType()),
87698
87203
  allowedMethods: nullableType(arrayType(stringType())),
87699
87204
  applicationFee: lazyType(() => UpdatePaymentLinkApplicationFee$outboundSchema).optional(),
87205
+ sequenceType: nullableType(UpdatePaymentLinkSequenceType$outboundSchema).optional(),
87206
+ customerId: nullableType(stringType()).optional(),
87700
87207
  links: lazyType(() => UpdatePaymentLinkLinks$outboundSchema)
87701
87208
  }).transform((v2) => {
87702
87209
  return remap(v2, {
@@ -88960,12 +88467,12 @@ var init_updatesubscription = __esm(() => {
88960
88467
  UpdateSubscriptionApplicationFeeAmount$.outboundSchema = UpdateSubscriptionApplicationFeeAmount$outboundSchema;
88961
88468
  })(UpdateSubscriptionApplicationFeeAmount$ ||= {});
88962
88469
  UpdateSubscriptionApplicationFee$inboundSchema = objectType({
88963
- amount: lazyType(() => UpdateSubscriptionApplicationFeeAmount$inboundSchema).optional(),
88964
- description: stringType().optional()
88470
+ amount: lazyType(() => UpdateSubscriptionApplicationFeeAmount$inboundSchema),
88471
+ description: stringType()
88965
88472
  });
88966
88473
  UpdateSubscriptionApplicationFee$outboundSchema = objectType({
88967
- amount: lazyType(() => UpdateSubscriptionApplicationFeeAmount$outboundSchema).optional(),
88968
- description: stringType().optional()
88474
+ amount: lazyType(() => UpdateSubscriptionApplicationFeeAmount$outboundSchema),
88475
+ description: stringType()
88969
88476
  });
88970
88477
  ((UpdateSubscriptionApplicationFee$) => {
88971
88478
  UpdateSubscriptionApplicationFee$.inboundSchema = UpdateSubscriptionApplicationFee$inboundSchema;
@@ -89064,20 +88571,20 @@ var init_updatesubscription = __esm(() => {
89064
88571
  UpdateSubscriptionDocumentation$.outboundSchema = UpdateSubscriptionDocumentation$outboundSchema;
89065
88572
  })(UpdateSubscriptionDocumentation$ ||= {});
89066
88573
  UpdateSubscriptionLinks$inboundSchema = objectType({
89067
- self: lazyType(() => UpdateSubscriptionSelf$inboundSchema).optional(),
89068
- customer: nullableType(lazyType(() => UpdateSubscriptionCustomer$inboundSchema)).optional(),
88574
+ self: lazyType(() => UpdateSubscriptionSelf$inboundSchema),
88575
+ customer: nullableType(lazyType(() => UpdateSubscriptionCustomer$inboundSchema)),
89069
88576
  mandate: nullableType(lazyType(() => UpdateSubscriptionMandate$inboundSchema)).optional(),
89070
- profile: nullableType(lazyType(() => UpdateSubscriptionProfile$inboundSchema)).optional(),
88577
+ profile: nullableType(lazyType(() => UpdateSubscriptionProfile$inboundSchema)),
89071
88578
  payments: nullableType(lazyType(() => UpdateSubscriptionPayments$inboundSchema)).optional(),
89072
- documentation: lazyType(() => UpdateSubscriptionDocumentation$inboundSchema).optional()
88579
+ documentation: lazyType(() => UpdateSubscriptionDocumentation$inboundSchema)
89073
88580
  });
89074
88581
  UpdateSubscriptionLinks$outboundSchema = objectType({
89075
- self: lazyType(() => UpdateSubscriptionSelf$outboundSchema).optional(),
89076
- customer: nullableType(lazyType(() => UpdateSubscriptionCustomer$outboundSchema)).optional(),
88582
+ self: lazyType(() => UpdateSubscriptionSelf$outboundSchema),
88583
+ customer: nullableType(lazyType(() => UpdateSubscriptionCustomer$outboundSchema)),
89077
88584
  mandate: nullableType(lazyType(() => UpdateSubscriptionMandate$outboundSchema)).optional(),
89078
- profile: nullableType(lazyType(() => UpdateSubscriptionProfile$outboundSchema)).optional(),
88585
+ profile: nullableType(lazyType(() => UpdateSubscriptionProfile$outboundSchema)),
89079
88586
  payments: nullableType(lazyType(() => UpdateSubscriptionPayments$outboundSchema)).optional(),
89080
- documentation: lazyType(() => UpdateSubscriptionDocumentation$outboundSchema).optional()
88587
+ documentation: lazyType(() => UpdateSubscriptionDocumentation$outboundSchema)
89081
88588
  });
89082
88589
  ((UpdateSubscriptionLinks$) => {
89083
88590
  UpdateSubscriptionLinks$.inboundSchema = UpdateSubscriptionLinks$inboundSchema;
@@ -89085,27 +88592,27 @@ var init_updatesubscription = __esm(() => {
89085
88592
  })(UpdateSubscriptionLinks$ ||= {});
89086
88593
  UpdateSubscriptionResponse$inboundSchema = objectType({
89087
88594
  resource: stringType().default("subscription"),
89088
- id: stringType().optional(),
89089
- mode: UpdateSubscriptionMode$inboundSchema.optional(),
89090
- status: UpdateSubscriptionStatus$inboundSchema.optional(),
89091
- amount: lazyType(() => UpdateSubscriptionAmountResponse$inboundSchema).optional(),
89092
- times: nullableType(numberType().int()).optional(),
89093
- timesRemaining: numberType().int().optional(),
89094
- interval: UpdateSubscriptionIntervalResponse$inboundSchema.optional(),
89095
- startDate: stringType().optional(),
88595
+ id: stringType(),
88596
+ mode: UpdateSubscriptionMode$inboundSchema,
88597
+ status: UpdateSubscriptionStatus$inboundSchema,
88598
+ amount: lazyType(() => UpdateSubscriptionAmountResponse$inboundSchema),
88599
+ times: nullableType(numberType().int()),
88600
+ timesRemaining: numberType().int(),
88601
+ interval: UpdateSubscriptionIntervalResponse$inboundSchema,
88602
+ startDate: stringType(),
89096
88603
  nextPaymentDate: nullableType(stringType()).optional(),
89097
- description: stringType().optional(),
89098
- method: nullableType(UpdateSubscriptionMethod$inboundSchema).optional(),
88604
+ description: stringType(),
88605
+ method: nullableType(UpdateSubscriptionMethod$inboundSchema),
89099
88606
  applicationFee: lazyType(() => UpdateSubscriptionApplicationFee$inboundSchema).optional(),
89100
88607
  metadata: nullableType(unionType([
89101
88608
  lazyType(() => UpdateSubscriptionMetadataResponse$inboundSchema),
89102
88609
  stringType(),
89103
88610
  arrayType(stringType())
89104
- ])).optional(),
89105
- webhookUrl: stringType().optional(),
89106
- customerId: stringType().optional(),
88611
+ ])),
88612
+ webhookUrl: stringType(),
88613
+ customerId: stringType(),
89107
88614
  mandateId: nullableType(stringType()).optional(),
89108
- createdAt: stringType().optional(),
88615
+ createdAt: stringType(),
89109
88616
  canceledAt: nullableType(stringType()).optional(),
89110
88617
  _links: lazyType(() => UpdateSubscriptionLinks$inboundSchema).optional()
89111
88618
  }).transform((v2) => {
@@ -89115,27 +88622,27 @@ var init_updatesubscription = __esm(() => {
89115
88622
  });
89116
88623
  UpdateSubscriptionResponse$outboundSchema = objectType({
89117
88624
  resource: stringType().default("subscription"),
89118
- id: stringType().optional(),
89119
- mode: UpdateSubscriptionMode$outboundSchema.optional(),
89120
- status: UpdateSubscriptionStatus$outboundSchema.optional(),
89121
- amount: lazyType(() => UpdateSubscriptionAmountResponse$outboundSchema).optional(),
89122
- times: nullableType(numberType().int()).optional(),
89123
- timesRemaining: numberType().int().optional(),
89124
- interval: UpdateSubscriptionIntervalResponse$outboundSchema.optional(),
89125
- startDate: stringType().optional(),
88625
+ id: stringType(),
88626
+ mode: UpdateSubscriptionMode$outboundSchema,
88627
+ status: UpdateSubscriptionStatus$outboundSchema,
88628
+ amount: lazyType(() => UpdateSubscriptionAmountResponse$outboundSchema),
88629
+ times: nullableType(numberType().int()),
88630
+ timesRemaining: numberType().int(),
88631
+ interval: UpdateSubscriptionIntervalResponse$outboundSchema,
88632
+ startDate: stringType(),
89126
88633
  nextPaymentDate: nullableType(stringType()).optional(),
89127
- description: stringType().optional(),
89128
- method: nullableType(UpdateSubscriptionMethod$outboundSchema).optional(),
88634
+ description: stringType(),
88635
+ method: nullableType(UpdateSubscriptionMethod$outboundSchema),
89129
88636
  applicationFee: lazyType(() => UpdateSubscriptionApplicationFee$outboundSchema).optional(),
89130
88637
  metadata: nullableType(unionType([
89131
88638
  lazyType(() => UpdateSubscriptionMetadataResponse$outboundSchema),
89132
88639
  stringType(),
89133
88640
  arrayType(stringType())
89134
- ])).optional(),
89135
- webhookUrl: stringType().optional(),
89136
- customerId: stringType().optional(),
88641
+ ])),
88642
+ webhookUrl: stringType(),
88643
+ customerId: stringType(),
89137
88644
  mandateId: nullableType(stringType()).optional(),
89138
- createdAt: stringType().optional(),
88645
+ createdAt: stringType(),
89139
88646
  canceledAt: nullableType(stringType()).optional(),
89140
88647
  links: lazyType(() => UpdateSubscriptionLinks$outboundSchema).optional()
89141
88648
  }).transform((v2) => {
@@ -93197,13 +92704,13 @@ var init_listallrefunds2 = __esm(() => {
93197
92704
  });
93198
92705
 
93199
92706
  // src/models/errors/listallsubscriptions.ts
93200
- var ListAllSubscriptionsHalJSONError, ListAllSubscriptionsHalJSONError$inboundSchema, ListAllSubscriptionsHalJSONError$outboundSchema, ListAllSubscriptionsHalJSONError$;
92707
+ var ListAllSubscriptionsNotFoundHalJSONError, ListAllSubscriptionsBadRequestHalJSONError, ListAllSubscriptionsNotFoundHalJSONError$inboundSchema, ListAllSubscriptionsNotFoundHalJSONError$outboundSchema, ListAllSubscriptionsNotFoundHalJSONError$, ListAllSubscriptionsBadRequestHalJSONError$inboundSchema, ListAllSubscriptionsBadRequestHalJSONError$outboundSchema, ListAllSubscriptionsBadRequestHalJSONError$;
93201
92708
  var init_listallsubscriptions2 = __esm(() => {
93202
92709
  init_esm();
93203
92710
  init_primitives();
93204
92711
  init_operations();
93205
92712
  init_clienterror();
93206
- ListAllSubscriptionsHalJSONError = class ListAllSubscriptionsHalJSONError extends ClientError {
92713
+ ListAllSubscriptionsNotFoundHalJSONError = class ListAllSubscriptionsNotFoundHalJSONError extends ClientError {
93207
92714
  status;
93208
92715
  title;
93209
92716
  detail;
@@ -93220,10 +92727,64 @@ var init_listallsubscriptions2 = __esm(() => {
93220
92727
  if (err.field != null)
93221
92728
  this.field = err.field;
93222
92729
  this.links = err.links;
93223
- this.name = "ListAllSubscriptionsHalJSONError";
92730
+ this.name = "ListAllSubscriptionsNotFoundHalJSONError";
93224
92731
  }
93225
92732
  };
93226
- ListAllSubscriptionsHalJSONError$inboundSchema = objectType({
92733
+ ListAllSubscriptionsBadRequestHalJSONError = class ListAllSubscriptionsBadRequestHalJSONError extends ClientError {
92734
+ status;
92735
+ title;
92736
+ detail;
92737
+ field;
92738
+ links;
92739
+ data$;
92740
+ constructor(err, httpMeta) {
92741
+ const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
92742
+ super(message, httpMeta);
92743
+ this.data$ = err;
92744
+ this.status = err.status;
92745
+ this.title = err.title;
92746
+ this.detail = err.detail;
92747
+ if (err.field != null)
92748
+ this.field = err.field;
92749
+ this.links = err.links;
92750
+ this.name = "ListAllSubscriptionsBadRequestHalJSONError";
92751
+ }
92752
+ };
92753
+ ListAllSubscriptionsNotFoundHalJSONError$inboundSchema = objectType({
92754
+ status: numberType().int(),
92755
+ title: stringType(),
92756
+ detail: stringType(),
92757
+ field: stringType().optional(),
92758
+ _links: lazyType(() => ListAllSubscriptionsNotFoundLinks$inboundSchema),
92759
+ request$: instanceOfType(Request),
92760
+ response$: instanceOfType(Response),
92761
+ body$: stringType()
92762
+ }).transform((v2) => {
92763
+ const remapped = remap(v2, {
92764
+ _links: "links"
92765
+ });
92766
+ return new ListAllSubscriptionsNotFoundHalJSONError(remapped, {
92767
+ request: v2.request$,
92768
+ response: v2.response$,
92769
+ body: v2.body$
92770
+ });
92771
+ });
92772
+ ListAllSubscriptionsNotFoundHalJSONError$outboundSchema = instanceOfType(ListAllSubscriptionsNotFoundHalJSONError).transform((v2) => v2.data$).pipe(objectType({
92773
+ status: numberType().int(),
92774
+ title: stringType(),
92775
+ detail: stringType(),
92776
+ field: stringType().optional(),
92777
+ links: lazyType(() => ListAllSubscriptionsNotFoundLinks$outboundSchema)
92778
+ }).transform((v2) => {
92779
+ return remap(v2, {
92780
+ links: "_links"
92781
+ });
92782
+ }));
92783
+ ((ListAllSubscriptionsNotFoundHalJSONError$) => {
92784
+ ListAllSubscriptionsNotFoundHalJSONError$.inboundSchema = ListAllSubscriptionsNotFoundHalJSONError$inboundSchema;
92785
+ ListAllSubscriptionsNotFoundHalJSONError$.outboundSchema = ListAllSubscriptionsNotFoundHalJSONError$outboundSchema;
92786
+ })(ListAllSubscriptionsNotFoundHalJSONError$ ||= {});
92787
+ ListAllSubscriptionsBadRequestHalJSONError$inboundSchema = objectType({
93227
92788
  status: numberType().int(),
93228
92789
  title: stringType(),
93229
92790
  detail: stringType(),
@@ -93236,13 +92797,13 @@ var init_listallsubscriptions2 = __esm(() => {
93236
92797
  const remapped = remap(v2, {
93237
92798
  _links: "links"
93238
92799
  });
93239
- return new ListAllSubscriptionsHalJSONError(remapped, {
92800
+ return new ListAllSubscriptionsBadRequestHalJSONError(remapped, {
93240
92801
  request: v2.request$,
93241
92802
  response: v2.response$,
93242
92803
  body: v2.body$
93243
92804
  });
93244
92805
  });
93245
- ListAllSubscriptionsHalJSONError$outboundSchema = instanceOfType(ListAllSubscriptionsHalJSONError).transform((v2) => v2.data$).pipe(objectType({
92806
+ ListAllSubscriptionsBadRequestHalJSONError$outboundSchema = instanceOfType(ListAllSubscriptionsBadRequestHalJSONError).transform((v2) => v2.data$).pipe(objectType({
93246
92807
  status: numberType().int(),
93247
92808
  title: stringType(),
93248
92809
  detail: stringType(),
@@ -93253,10 +92814,10 @@ var init_listallsubscriptions2 = __esm(() => {
93253
92814
  links: "_links"
93254
92815
  });
93255
92816
  }));
93256
- ((ListAllSubscriptionsHalJSONError$) => {
93257
- ListAllSubscriptionsHalJSONError$.inboundSchema = ListAllSubscriptionsHalJSONError$inboundSchema;
93258
- ListAllSubscriptionsHalJSONError$.outboundSchema = ListAllSubscriptionsHalJSONError$outboundSchema;
93259
- })(ListAllSubscriptionsHalJSONError$ ||= {});
92817
+ ((ListAllSubscriptionsBadRequestHalJSONError$) => {
92818
+ ListAllSubscriptionsBadRequestHalJSONError$.inboundSchema = ListAllSubscriptionsBadRequestHalJSONError$inboundSchema;
92819
+ ListAllSubscriptionsBadRequestHalJSONError$.outboundSchema = ListAllSubscriptionsBadRequestHalJSONError$outboundSchema;
92820
+ })(ListAllSubscriptionsBadRequestHalJSONError$ ||= {});
93260
92821
  });
93261
92822
 
93262
92823
  // src/models/errors/listbalances.ts
@@ -99943,6 +99504,9 @@ async function $do24(client, request, options) {
99943
99504
  })
99944
99505
  };
99945
99506
  const path = pathToFunc("/payments/{paymentId}/routes")(pathParams);
99507
+ const query = encodeFormQuery({
99508
+ testmode: payload.testmode
99509
+ });
99946
99510
  const headers = new Headers(compactMap({
99947
99511
  Accept: "application/hal+json"
99948
99512
  }));
@@ -99973,6 +99537,7 @@ async function $do24(client, request, options) {
99973
99537
  baseURL: options?.serverURL,
99974
99538
  path,
99975
99539
  headers,
99540
+ query,
99976
99541
  body,
99977
99542
  userAgent: client._options.userAgent,
99978
99543
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
@@ -106420,7 +105985,6 @@ async function $do77(client, request, options) {
106420
105985
  from: payload?.from,
106421
105986
  limit: payload?.limit,
106422
105987
  profileId: payload?.profileId,
106423
- sort: payload?.sort,
106424
105988
  testmode: payload?.testmode
106425
105989
  });
106426
105990
  const headers = new Headers(compactMap({
@@ -106464,7 +106028,7 @@ async function $do77(client, request, options) {
106464
106028
  const req = requestRes.value;
106465
106029
  const doResult = await client._do(req, {
106466
106030
  context,
106467
- errorCodes: ["400", "4XX", "5XX"],
106031
+ errorCodes: ["400", "404", "4XX", "5XX"],
106468
106032
  retryConfig: context.retryConfig,
106469
106033
  retryCodes: context.retryCodes
106470
106034
  });
@@ -106477,9 +106041,7 @@ async function $do77(client, request, options) {
106477
106041
  };
106478
106042
  const [result] = await match(json(200, ListAllSubscriptionsResponse$inboundSchema, {
106479
106043
  ctype: "application/hal+json"
106480
- }), jsonErr(400, ListAllSubscriptionsHalJSONError$inboundSchema, {
106481
- ctype: "application/hal+json"
106482
- }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
106044
+ }), jsonErr(400, ListAllSubscriptionsBadRequestHalJSONError$inboundSchema, { ctype: "application/hal+json" }), jsonErr(404, ListAllSubscriptionsNotFoundHalJSONError$inboundSchema, { ctype: "application/hal+json" }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
106483
106045
  if (!result.ok) {
106484
106046
  return [result, { status: "complete", request: req, response }];
106485
106047
  }
@@ -108538,7 +108100,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
108538
108100
  function createMCPServer(deps) {
108539
108101
  const server = new McpServer({
108540
108102
  name: "Client",
108541
- version: "0.0.4"
108103
+ version: "0.0.6"
108542
108104
  });
108543
108105
  const client = new ClientCore({
108544
108106
  security: deps.security,
@@ -109927,7 +109489,7 @@ var routes = an({
109927
109489
  var app = He(routes, {
109928
109490
  name: "mcp",
109929
109491
  versionInfo: {
109930
- currentVersion: "0.0.4"
109492
+ currentVersion: "0.0.6"
109931
109493
  }
109932
109494
  });
109933
109495
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -109935,5 +109497,5 @@ export {
109935
109497
  app
109936
109498
  };
109937
109499
 
109938
- //# debugId=1C2DEA19275AFAB564756E2164756E21
109500
+ //# debugId=E90E6AB8AE0CED2E64756E2164756E21
109939
109501
  //# sourceMappingURL=mcp-server.js.map