mollie-api-typescript 1.1.6 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (821) hide show
  1. package/FUNCTIONS.md +3 -1
  2. package/README.md +62 -7
  3. package/bin/mcp-server.js +1634 -398
  4. package/bin/mcp-server.js.map +91 -90
  5. package/dist/commonjs/funcs/balanceTransfersList.d.ts +6 -1
  6. package/dist/commonjs/funcs/balanceTransfersList.d.ts.map +1 -1
  7. package/dist/commonjs/funcs/balanceTransfersList.js +49 -14
  8. package/dist/commonjs/funcs/balanceTransfersList.js.map +1 -1
  9. package/dist/commonjs/funcs/balancesList.d.ts +6 -1
  10. package/dist/commonjs/funcs/balancesList.d.ts.map +1 -1
  11. package/dist/commonjs/funcs/balancesList.js +49 -14
  12. package/dist/commonjs/funcs/balancesList.js.map +1 -1
  13. package/dist/commonjs/funcs/balancesListTransactions.d.ts +6 -1
  14. package/dist/commonjs/funcs/balancesListTransactions.d.ts.map +1 -1
  15. package/dist/commonjs/funcs/balancesListTransactions.js +48 -13
  16. package/dist/commonjs/funcs/balancesListTransactions.js.map +1 -1
  17. package/dist/commonjs/funcs/capturesList.d.ts +6 -1
  18. package/dist/commonjs/funcs/capturesList.d.ts.map +1 -1
  19. package/dist/commonjs/funcs/capturesList.js +49 -14
  20. package/dist/commonjs/funcs/capturesList.js.map +1 -1
  21. package/dist/commonjs/funcs/chargebacksAll.d.ts +6 -1
  22. package/dist/commonjs/funcs/chargebacksAll.d.ts.map +1 -1
  23. package/dist/commonjs/funcs/chargebacksAll.js +51 -16
  24. package/dist/commonjs/funcs/chargebacksAll.js.map +1 -1
  25. package/dist/commonjs/funcs/chargebacksList.d.ts +6 -1
  26. package/dist/commonjs/funcs/chargebacksList.d.ts.map +1 -1
  27. package/dist/commonjs/funcs/chargebacksList.js +49 -14
  28. package/dist/commonjs/funcs/chargebacksList.js.map +1 -1
  29. package/dist/commonjs/funcs/clientsList.d.ts +6 -1
  30. package/dist/commonjs/funcs/clientsList.d.ts.map +1 -1
  31. package/dist/commonjs/funcs/clientsList.js +48 -13
  32. package/dist/commonjs/funcs/clientsList.js.map +1 -1
  33. package/dist/commonjs/funcs/customersList.d.ts +6 -1
  34. package/dist/commonjs/funcs/customersList.d.ts.map +1 -1
  35. package/dist/commonjs/funcs/customersList.js +49 -14
  36. package/dist/commonjs/funcs/customersList.js.map +1 -1
  37. package/dist/commonjs/funcs/customersListPayments.d.ts +6 -1
  38. package/dist/commonjs/funcs/customersListPayments.d.ts.map +1 -1
  39. package/dist/commonjs/funcs/customersListPayments.js +50 -15
  40. package/dist/commonjs/funcs/customersListPayments.js.map +1 -1
  41. package/dist/commonjs/funcs/invoicesList.d.ts +6 -1
  42. package/dist/commonjs/funcs/invoicesList.d.ts.map +1 -1
  43. package/dist/commonjs/funcs/invoicesList.js +50 -15
  44. package/dist/commonjs/funcs/invoicesList.js.map +1 -1
  45. package/dist/commonjs/funcs/mandatesList.d.ts +6 -1
  46. package/dist/commonjs/funcs/mandatesList.d.ts.map +1 -1
  47. package/dist/commonjs/funcs/mandatesList.js +49 -14
  48. package/dist/commonjs/funcs/mandatesList.js.map +1 -1
  49. package/dist/commonjs/funcs/paymentLinksList.d.ts +6 -1
  50. package/dist/commonjs/funcs/paymentLinksList.d.ts.map +1 -1
  51. package/dist/commonjs/funcs/paymentLinksList.js +48 -13
  52. package/dist/commonjs/funcs/paymentLinksList.js.map +1 -1
  53. package/dist/commonjs/funcs/paymentLinksListPayments.d.ts +6 -1
  54. package/dist/commonjs/funcs/paymentLinksListPayments.d.ts.map +1 -1
  55. package/dist/commonjs/funcs/paymentLinksListPayments.js +49 -14
  56. package/dist/commonjs/funcs/paymentLinksListPayments.js.map +1 -1
  57. package/dist/commonjs/funcs/paymentsList.d.ts +6 -1
  58. package/dist/commonjs/funcs/paymentsList.d.ts.map +1 -1
  59. package/dist/commonjs/funcs/paymentsList.js +50 -15
  60. package/dist/commonjs/funcs/paymentsList.js.map +1 -1
  61. package/dist/commonjs/funcs/profilesList.d.ts +6 -1
  62. package/dist/commonjs/funcs/profilesList.d.ts.map +1 -1
  63. package/dist/commonjs/funcs/profilesList.js +47 -12
  64. package/dist/commonjs/funcs/profilesList.js.map +1 -1
  65. package/dist/commonjs/funcs/refundsAll.d.ts +6 -1
  66. package/dist/commonjs/funcs/refundsAll.d.ts.map +1 -1
  67. package/dist/commonjs/funcs/refundsAll.js +51 -16
  68. package/dist/commonjs/funcs/refundsAll.js.map +1 -1
  69. package/dist/commonjs/funcs/refundsList.d.ts +6 -1
  70. package/dist/commonjs/funcs/refundsList.d.ts.map +1 -1
  71. package/dist/commonjs/funcs/refundsList.js +49 -14
  72. package/dist/commonjs/funcs/refundsList.js.map +1 -1
  73. package/dist/commonjs/funcs/salesInvoicesList.d.ts +6 -1
  74. package/dist/commonjs/funcs/salesInvoicesList.d.ts.map +1 -1
  75. package/dist/commonjs/funcs/salesInvoicesList.js +48 -13
  76. package/dist/commonjs/funcs/salesInvoicesList.js.map +1 -1
  77. package/dist/commonjs/funcs/settlementsList.d.ts +6 -1
  78. package/dist/commonjs/funcs/settlementsList.d.ts.map +1 -1
  79. package/dist/commonjs/funcs/settlementsList.js +51 -16
  80. package/dist/commonjs/funcs/settlementsList.js.map +1 -1
  81. package/dist/commonjs/funcs/settlementsListCaptures.d.ts +6 -1
  82. package/dist/commonjs/funcs/settlementsListCaptures.d.ts.map +1 -1
  83. package/dist/commonjs/funcs/settlementsListCaptures.js +49 -14
  84. package/dist/commonjs/funcs/settlementsListCaptures.js.map +1 -1
  85. package/dist/commonjs/funcs/settlementsListChargebacks.d.ts +6 -1
  86. package/dist/commonjs/funcs/settlementsListChargebacks.d.ts.map +1 -1
  87. package/dist/commonjs/funcs/settlementsListChargebacks.js +49 -14
  88. package/dist/commonjs/funcs/settlementsListChargebacks.js.map +1 -1
  89. package/dist/commonjs/funcs/settlementsListPayments.d.ts +6 -1
  90. package/dist/commonjs/funcs/settlementsListPayments.d.ts.map +1 -1
  91. package/dist/commonjs/funcs/settlementsListPayments.js +50 -15
  92. package/dist/commonjs/funcs/settlementsListPayments.js.map +1 -1
  93. package/dist/commonjs/funcs/settlementsListRefunds.d.ts +6 -1
  94. package/dist/commonjs/funcs/settlementsListRefunds.d.ts.map +1 -1
  95. package/dist/commonjs/funcs/settlementsListRefunds.js +49 -14
  96. package/dist/commonjs/funcs/settlementsListRefunds.js.map +1 -1
  97. package/dist/commonjs/funcs/subscriptionsAll.d.ts +6 -1
  98. package/dist/commonjs/funcs/subscriptionsAll.d.ts.map +1 -1
  99. package/dist/commonjs/funcs/subscriptionsAll.js +49 -14
  100. package/dist/commonjs/funcs/subscriptionsAll.js.map +1 -1
  101. package/dist/commonjs/funcs/subscriptionsList.d.ts +6 -1
  102. package/dist/commonjs/funcs/subscriptionsList.d.ts.map +1 -1
  103. package/dist/commonjs/funcs/subscriptionsList.js +49 -14
  104. package/dist/commonjs/funcs/subscriptionsList.js.map +1 -1
  105. package/dist/commonjs/funcs/subscriptionsListPayments.d.ts +6 -1
  106. package/dist/commonjs/funcs/subscriptionsListPayments.d.ts.map +1 -1
  107. package/dist/commonjs/funcs/subscriptionsListPayments.js +50 -15
  108. package/dist/commonjs/funcs/subscriptionsListPayments.js.map +1 -1
  109. package/dist/commonjs/funcs/terminalsList.d.ts +6 -1
  110. package/dist/commonjs/funcs/terminalsList.d.ts.map +1 -1
  111. package/dist/commonjs/funcs/terminalsList.js +49 -14
  112. package/dist/commonjs/funcs/terminalsList.js.map +1 -1
  113. package/dist/commonjs/funcs/webhooksList.d.ts +6 -1
  114. package/dist/commonjs/funcs/webhooksList.d.ts.map +1 -1
  115. package/dist/commonjs/funcs/webhooksList.js +50 -15
  116. package/dist/commonjs/funcs/webhooksList.js.map +1 -1
  117. package/dist/commonjs/lib/config.d.ts +3 -3
  118. package/dist/commonjs/lib/config.js +3 -3
  119. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  120. package/dist/commonjs/mcp-server/server.js +1 -1
  121. package/dist/commonjs/mcp-server/tools/balanceTransfersList.js +1 -1
  122. package/dist/commonjs/mcp-server/tools/balanceTransfersList.js.map +1 -1
  123. package/dist/commonjs/mcp-server/tools/balancesList.js +1 -1
  124. package/dist/commonjs/mcp-server/tools/balancesList.js.map +1 -1
  125. package/dist/commonjs/mcp-server/tools/balancesListTransactions.js +1 -1
  126. package/dist/commonjs/mcp-server/tools/balancesListTransactions.js.map +1 -1
  127. package/dist/commonjs/mcp-server/tools/capturesList.js +1 -1
  128. package/dist/commonjs/mcp-server/tools/capturesList.js.map +1 -1
  129. package/dist/commonjs/mcp-server/tools/chargebacksAll.js +1 -1
  130. package/dist/commonjs/mcp-server/tools/chargebacksAll.js.map +1 -1
  131. package/dist/commonjs/mcp-server/tools/chargebacksList.js +1 -1
  132. package/dist/commonjs/mcp-server/tools/chargebacksList.js.map +1 -1
  133. package/dist/commonjs/mcp-server/tools/clientsList.js +1 -1
  134. package/dist/commonjs/mcp-server/tools/clientsList.js.map +1 -1
  135. package/dist/commonjs/mcp-server/tools/customersList.js +1 -1
  136. package/dist/commonjs/mcp-server/tools/customersList.js.map +1 -1
  137. package/dist/commonjs/mcp-server/tools/customersListPayments.js +1 -1
  138. package/dist/commonjs/mcp-server/tools/customersListPayments.js.map +1 -1
  139. package/dist/commonjs/mcp-server/tools/invoicesList.js +1 -1
  140. package/dist/commonjs/mcp-server/tools/invoicesList.js.map +1 -1
  141. package/dist/commonjs/mcp-server/tools/mandatesList.js +1 -1
  142. package/dist/commonjs/mcp-server/tools/mandatesList.js.map +1 -1
  143. package/dist/commonjs/mcp-server/tools/paymentLinksList.js +1 -1
  144. package/dist/commonjs/mcp-server/tools/paymentLinksList.js.map +1 -1
  145. package/dist/commonjs/mcp-server/tools/paymentLinksListPayments.js +1 -1
  146. package/dist/commonjs/mcp-server/tools/paymentLinksListPayments.js.map +1 -1
  147. package/dist/commonjs/mcp-server/tools/paymentsList.js +1 -1
  148. package/dist/commonjs/mcp-server/tools/paymentsList.js.map +1 -1
  149. package/dist/commonjs/mcp-server/tools/profilesList.js +1 -1
  150. package/dist/commonjs/mcp-server/tools/profilesList.js.map +1 -1
  151. package/dist/commonjs/mcp-server/tools/refundsAll.js +1 -1
  152. package/dist/commonjs/mcp-server/tools/refundsAll.js.map +1 -1
  153. package/dist/commonjs/mcp-server/tools/refundsList.js +1 -1
  154. package/dist/commonjs/mcp-server/tools/refundsList.js.map +1 -1
  155. package/dist/commonjs/mcp-server/tools/salesInvoicesList.js +1 -1
  156. package/dist/commonjs/mcp-server/tools/salesInvoicesList.js.map +1 -1
  157. package/dist/commonjs/mcp-server/tools/settlementsList.js +1 -1
  158. package/dist/commonjs/mcp-server/tools/settlementsList.js.map +1 -1
  159. package/dist/commonjs/mcp-server/tools/settlementsListCaptures.js +1 -1
  160. package/dist/commonjs/mcp-server/tools/settlementsListCaptures.js.map +1 -1
  161. package/dist/commonjs/mcp-server/tools/settlementsListChargebacks.js +1 -1
  162. package/dist/commonjs/mcp-server/tools/settlementsListChargebacks.js.map +1 -1
  163. package/dist/commonjs/mcp-server/tools/settlementsListPayments.js +1 -1
  164. package/dist/commonjs/mcp-server/tools/settlementsListPayments.js.map +1 -1
  165. package/dist/commonjs/mcp-server/tools/settlementsListRefunds.js +1 -1
  166. package/dist/commonjs/mcp-server/tools/settlementsListRefunds.js.map +1 -1
  167. package/dist/commonjs/mcp-server/tools/subscriptionsAll.js +1 -1
  168. package/dist/commonjs/mcp-server/tools/subscriptionsAll.js.map +1 -1
  169. package/dist/commonjs/mcp-server/tools/subscriptionsList.js +1 -1
  170. package/dist/commonjs/mcp-server/tools/subscriptionsList.js.map +1 -1
  171. package/dist/commonjs/mcp-server/tools/subscriptionsListPayments.js +1 -1
  172. package/dist/commonjs/mcp-server/tools/subscriptionsListPayments.js.map +1 -1
  173. package/dist/commonjs/mcp-server/tools/terminalsList.js +1 -1
  174. package/dist/commonjs/mcp-server/tools/terminalsList.js.map +1 -1
  175. package/dist/commonjs/mcp-server/tools/webhooksList.js +1 -1
  176. package/dist/commonjs/mcp-server/tools/webhooksList.js.map +1 -1
  177. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +16 -3
  178. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  179. package/dist/commonjs/models/operations/getpaymentlinkpayments.js +27 -3
  180. package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
  181. package/dist/commonjs/models/operations/listallchargebacks.d.ts +16 -3
  182. package/dist/commonjs/models/operations/listallchargebacks.d.ts.map +1 -1
  183. package/dist/commonjs/models/operations/listallchargebacks.js +27 -3
  184. package/dist/commonjs/models/operations/listallchargebacks.js.map +1 -1
  185. package/dist/commonjs/models/operations/listallrefunds.d.ts +16 -3
  186. package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
  187. package/dist/commonjs/models/operations/listallrefunds.js +27 -3
  188. package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
  189. package/dist/commonjs/models/operations/listallsubscriptions.d.ts +16 -3
  190. package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
  191. package/dist/commonjs/models/operations/listallsubscriptions.js +27 -3
  192. package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
  193. package/dist/commonjs/models/operations/listbalances.d.ts +16 -3
  194. package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
  195. package/dist/commonjs/models/operations/listbalances.js +27 -3
  196. package/dist/commonjs/models/operations/listbalances.js.map +1 -1
  197. package/dist/commonjs/models/operations/listbalancetransactions.d.ts +16 -3
  198. package/dist/commonjs/models/operations/listbalancetransactions.d.ts.map +1 -1
  199. package/dist/commonjs/models/operations/listbalancetransactions.js +27 -3
  200. package/dist/commonjs/models/operations/listbalancetransactions.js.map +1 -1
  201. package/dist/commonjs/models/operations/listcaptures.d.ts +16 -3
  202. package/dist/commonjs/models/operations/listcaptures.d.ts.map +1 -1
  203. package/dist/commonjs/models/operations/listcaptures.js +27 -3
  204. package/dist/commonjs/models/operations/listcaptures.js.map +1 -1
  205. package/dist/commonjs/models/operations/listchargebacks.d.ts +16 -3
  206. package/dist/commonjs/models/operations/listchargebacks.d.ts.map +1 -1
  207. package/dist/commonjs/models/operations/listchargebacks.js +27 -3
  208. package/dist/commonjs/models/operations/listchargebacks.js.map +1 -1
  209. package/dist/commonjs/models/operations/listclients.d.ts +16 -3
  210. package/dist/commonjs/models/operations/listclients.d.ts.map +1 -1
  211. package/dist/commonjs/models/operations/listclients.js +27 -3
  212. package/dist/commonjs/models/operations/listclients.js.map +1 -1
  213. package/dist/commonjs/models/operations/listconnectbalancetransfers.d.ts +16 -3
  214. package/dist/commonjs/models/operations/listconnectbalancetransfers.d.ts.map +1 -1
  215. package/dist/commonjs/models/operations/listconnectbalancetransfers.js +27 -3
  216. package/dist/commonjs/models/operations/listconnectbalancetransfers.js.map +1 -1
  217. package/dist/commonjs/models/operations/listcustomerpayments.d.ts +16 -3
  218. package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
  219. package/dist/commonjs/models/operations/listcustomerpayments.js +27 -3
  220. package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
  221. package/dist/commonjs/models/operations/listcustomers.d.ts +16 -3
  222. package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
  223. package/dist/commonjs/models/operations/listcustomers.js +27 -3
  224. package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
  225. package/dist/commonjs/models/operations/listinvoices.d.ts +16 -3
  226. package/dist/commonjs/models/operations/listinvoices.d.ts.map +1 -1
  227. package/dist/commonjs/models/operations/listinvoices.js +27 -3
  228. package/dist/commonjs/models/operations/listinvoices.js.map +1 -1
  229. package/dist/commonjs/models/operations/listmandates.d.ts +16 -3
  230. package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
  231. package/dist/commonjs/models/operations/listmandates.js +27 -3
  232. package/dist/commonjs/models/operations/listmandates.js.map +1 -1
  233. package/dist/commonjs/models/operations/listpaymentlinks.d.ts +16 -3
  234. package/dist/commonjs/models/operations/listpaymentlinks.d.ts.map +1 -1
  235. package/dist/commonjs/models/operations/listpaymentlinks.js +27 -3
  236. package/dist/commonjs/models/operations/listpaymentlinks.js.map +1 -1
  237. package/dist/commonjs/models/operations/listpayments.d.ts +16 -3
  238. package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
  239. package/dist/commonjs/models/operations/listpayments.js +27 -3
  240. package/dist/commonjs/models/operations/listpayments.js.map +1 -1
  241. package/dist/commonjs/models/operations/listprofiles.d.ts +16 -3
  242. package/dist/commonjs/models/operations/listprofiles.d.ts.map +1 -1
  243. package/dist/commonjs/models/operations/listprofiles.js +27 -3
  244. package/dist/commonjs/models/operations/listprofiles.js.map +1 -1
  245. package/dist/commonjs/models/operations/listrefunds.d.ts +16 -3
  246. package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
  247. package/dist/commonjs/models/operations/listrefunds.js +27 -3
  248. package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
  249. package/dist/commonjs/models/operations/listsalesinvoices.d.ts +16 -3
  250. package/dist/commonjs/models/operations/listsalesinvoices.d.ts.map +1 -1
  251. package/dist/commonjs/models/operations/listsalesinvoices.js +27 -3
  252. package/dist/commonjs/models/operations/listsalesinvoices.js.map +1 -1
  253. package/dist/commonjs/models/operations/listsettlementcaptures.d.ts +16 -3
  254. package/dist/commonjs/models/operations/listsettlementcaptures.d.ts.map +1 -1
  255. package/dist/commonjs/models/operations/listsettlementcaptures.js +27 -3
  256. package/dist/commonjs/models/operations/listsettlementcaptures.js.map +1 -1
  257. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +16 -3
  258. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  259. package/dist/commonjs/models/operations/listsettlementchargebacks.js +27 -3
  260. package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
  261. package/dist/commonjs/models/operations/listsettlementpayments.d.ts +16 -3
  262. package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
  263. package/dist/commonjs/models/operations/listsettlementpayments.js +27 -3
  264. package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
  265. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +16 -3
  266. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
  267. package/dist/commonjs/models/operations/listsettlementrefunds.js +27 -3
  268. package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
  269. package/dist/commonjs/models/operations/listsettlements.d.ts +16 -3
  270. package/dist/commonjs/models/operations/listsettlements.d.ts.map +1 -1
  271. package/dist/commonjs/models/operations/listsettlements.js +27 -3
  272. package/dist/commonjs/models/operations/listsettlements.js.map +1 -1
  273. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +16 -3
  274. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  275. package/dist/commonjs/models/operations/listsubscriptionpayments.js +27 -3
  276. package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
  277. package/dist/commonjs/models/operations/listsubscriptions.d.ts +16 -3
  278. package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
  279. package/dist/commonjs/models/operations/listsubscriptions.js +27 -3
  280. package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
  281. package/dist/commonjs/models/operations/listterminals.d.ts +16 -3
  282. package/dist/commonjs/models/operations/listterminals.d.ts.map +1 -1
  283. package/dist/commonjs/models/operations/listterminals.js +27 -3
  284. package/dist/commonjs/models/operations/listterminals.js.map +1 -1
  285. package/dist/commonjs/models/operations/listwebhooks.d.ts +16 -3
  286. package/dist/commonjs/models/operations/listwebhooks.d.ts.map +1 -1
  287. package/dist/commonjs/models/operations/listwebhooks.js +27 -3
  288. package/dist/commonjs/models/operations/listwebhooks.js.map +1 -1
  289. package/dist/commonjs/sdk/balances.d.ts +7 -2
  290. package/dist/commonjs/sdk/balances.d.ts.map +1 -1
  291. package/dist/commonjs/sdk/balances.js +3 -2
  292. package/dist/commonjs/sdk/balances.js.map +1 -1
  293. package/dist/commonjs/sdk/balancetransfers.d.ts +4 -1
  294. package/dist/commonjs/sdk/balancetransfers.d.ts.map +1 -1
  295. package/dist/commonjs/sdk/balancetransfers.js +2 -1
  296. package/dist/commonjs/sdk/balancetransfers.js.map +1 -1
  297. package/dist/commonjs/sdk/captures.d.ts +4 -1
  298. package/dist/commonjs/sdk/captures.d.ts.map +1 -1
  299. package/dist/commonjs/sdk/captures.js +2 -1
  300. package/dist/commonjs/sdk/captures.js.map +1 -1
  301. package/dist/commonjs/sdk/chargebacks.d.ts +7 -2
  302. package/dist/commonjs/sdk/chargebacks.d.ts.map +1 -1
  303. package/dist/commonjs/sdk/chargebacks.js +3 -2
  304. package/dist/commonjs/sdk/chargebacks.js.map +1 -1
  305. package/dist/commonjs/sdk/clients.d.ts +4 -1
  306. package/dist/commonjs/sdk/clients.d.ts.map +1 -1
  307. package/dist/commonjs/sdk/clients.js +2 -1
  308. package/dist/commonjs/sdk/clients.js.map +1 -1
  309. package/dist/commonjs/sdk/customers.d.ts +7 -2
  310. package/dist/commonjs/sdk/customers.d.ts.map +1 -1
  311. package/dist/commonjs/sdk/customers.js +3 -2
  312. package/dist/commonjs/sdk/customers.js.map +1 -1
  313. package/dist/commonjs/sdk/invoices.d.ts +4 -1
  314. package/dist/commonjs/sdk/invoices.d.ts.map +1 -1
  315. package/dist/commonjs/sdk/invoices.js +2 -1
  316. package/dist/commonjs/sdk/invoices.js.map +1 -1
  317. package/dist/commonjs/sdk/mandates.d.ts +4 -1
  318. package/dist/commonjs/sdk/mandates.d.ts.map +1 -1
  319. package/dist/commonjs/sdk/mandates.js +2 -1
  320. package/dist/commonjs/sdk/mandates.js.map +1 -1
  321. package/dist/commonjs/sdk/paymentlinks.d.ts +7 -2
  322. package/dist/commonjs/sdk/paymentlinks.d.ts.map +1 -1
  323. package/dist/commonjs/sdk/paymentlinks.js +3 -2
  324. package/dist/commonjs/sdk/paymentlinks.js.map +1 -1
  325. package/dist/commonjs/sdk/payments.d.ts +4 -1
  326. package/dist/commonjs/sdk/payments.d.ts.map +1 -1
  327. package/dist/commonjs/sdk/payments.js +2 -1
  328. package/dist/commonjs/sdk/payments.js.map +1 -1
  329. package/dist/commonjs/sdk/profiles.d.ts +4 -1
  330. package/dist/commonjs/sdk/profiles.d.ts.map +1 -1
  331. package/dist/commonjs/sdk/profiles.js +2 -1
  332. package/dist/commonjs/sdk/profiles.js.map +1 -1
  333. package/dist/commonjs/sdk/refunds.d.ts +7 -2
  334. package/dist/commonjs/sdk/refunds.d.ts.map +1 -1
  335. package/dist/commonjs/sdk/refunds.js +3 -2
  336. package/dist/commonjs/sdk/refunds.js.map +1 -1
  337. package/dist/commonjs/sdk/salesinvoices.d.ts +4 -1
  338. package/dist/commonjs/sdk/salesinvoices.d.ts.map +1 -1
  339. package/dist/commonjs/sdk/salesinvoices.js +2 -1
  340. package/dist/commonjs/sdk/salesinvoices.js.map +1 -1
  341. package/dist/commonjs/sdk/settlements.d.ts +16 -5
  342. package/dist/commonjs/sdk/settlements.d.ts.map +1 -1
  343. package/dist/commonjs/sdk/settlements.js +6 -5
  344. package/dist/commonjs/sdk/settlements.js.map +1 -1
  345. package/dist/commonjs/sdk/subscriptions.d.ts +10 -3
  346. package/dist/commonjs/sdk/subscriptions.d.ts.map +1 -1
  347. package/dist/commonjs/sdk/subscriptions.js +4 -3
  348. package/dist/commonjs/sdk/subscriptions.js.map +1 -1
  349. package/dist/commonjs/sdk/terminals.d.ts +4 -1
  350. package/dist/commonjs/sdk/terminals.d.ts.map +1 -1
  351. package/dist/commonjs/sdk/terminals.js +2 -1
  352. package/dist/commonjs/sdk/terminals.js.map +1 -1
  353. package/dist/commonjs/sdk/webhooks.d.ts +4 -1
  354. package/dist/commonjs/sdk/webhooks.d.ts.map +1 -1
  355. package/dist/commonjs/sdk/webhooks.js +2 -1
  356. package/dist/commonjs/sdk/webhooks.js.map +1 -1
  357. package/dist/esm/funcs/balanceTransfersList.d.ts +6 -1
  358. package/dist/esm/funcs/balanceTransfersList.d.ts.map +1 -1
  359. package/dist/esm/funcs/balanceTransfersList.js +49 -14
  360. package/dist/esm/funcs/balanceTransfersList.js.map +1 -1
  361. package/dist/esm/funcs/balancesList.d.ts +6 -1
  362. package/dist/esm/funcs/balancesList.d.ts.map +1 -1
  363. package/dist/esm/funcs/balancesList.js +49 -14
  364. package/dist/esm/funcs/balancesList.js.map +1 -1
  365. package/dist/esm/funcs/balancesListTransactions.d.ts +6 -1
  366. package/dist/esm/funcs/balancesListTransactions.d.ts.map +1 -1
  367. package/dist/esm/funcs/balancesListTransactions.js +48 -13
  368. package/dist/esm/funcs/balancesListTransactions.js.map +1 -1
  369. package/dist/esm/funcs/capturesList.d.ts +6 -1
  370. package/dist/esm/funcs/capturesList.d.ts.map +1 -1
  371. package/dist/esm/funcs/capturesList.js +49 -14
  372. package/dist/esm/funcs/capturesList.js.map +1 -1
  373. package/dist/esm/funcs/chargebacksAll.d.ts +6 -1
  374. package/dist/esm/funcs/chargebacksAll.d.ts.map +1 -1
  375. package/dist/esm/funcs/chargebacksAll.js +51 -16
  376. package/dist/esm/funcs/chargebacksAll.js.map +1 -1
  377. package/dist/esm/funcs/chargebacksList.d.ts +6 -1
  378. package/dist/esm/funcs/chargebacksList.d.ts.map +1 -1
  379. package/dist/esm/funcs/chargebacksList.js +49 -14
  380. package/dist/esm/funcs/chargebacksList.js.map +1 -1
  381. package/dist/esm/funcs/clientsList.d.ts +6 -1
  382. package/dist/esm/funcs/clientsList.d.ts.map +1 -1
  383. package/dist/esm/funcs/clientsList.js +48 -13
  384. package/dist/esm/funcs/clientsList.js.map +1 -1
  385. package/dist/esm/funcs/customersList.d.ts +6 -1
  386. package/dist/esm/funcs/customersList.d.ts.map +1 -1
  387. package/dist/esm/funcs/customersList.js +49 -14
  388. package/dist/esm/funcs/customersList.js.map +1 -1
  389. package/dist/esm/funcs/customersListPayments.d.ts +6 -1
  390. package/dist/esm/funcs/customersListPayments.d.ts.map +1 -1
  391. package/dist/esm/funcs/customersListPayments.js +50 -15
  392. package/dist/esm/funcs/customersListPayments.js.map +1 -1
  393. package/dist/esm/funcs/invoicesList.d.ts +6 -1
  394. package/dist/esm/funcs/invoicesList.d.ts.map +1 -1
  395. package/dist/esm/funcs/invoicesList.js +50 -15
  396. package/dist/esm/funcs/invoicesList.js.map +1 -1
  397. package/dist/esm/funcs/mandatesList.d.ts +6 -1
  398. package/dist/esm/funcs/mandatesList.d.ts.map +1 -1
  399. package/dist/esm/funcs/mandatesList.js +49 -14
  400. package/dist/esm/funcs/mandatesList.js.map +1 -1
  401. package/dist/esm/funcs/paymentLinksList.d.ts +6 -1
  402. package/dist/esm/funcs/paymentLinksList.d.ts.map +1 -1
  403. package/dist/esm/funcs/paymentLinksList.js +48 -13
  404. package/dist/esm/funcs/paymentLinksList.js.map +1 -1
  405. package/dist/esm/funcs/paymentLinksListPayments.d.ts +6 -1
  406. package/dist/esm/funcs/paymentLinksListPayments.d.ts.map +1 -1
  407. package/dist/esm/funcs/paymentLinksListPayments.js +49 -14
  408. package/dist/esm/funcs/paymentLinksListPayments.js.map +1 -1
  409. package/dist/esm/funcs/paymentsList.d.ts +6 -1
  410. package/dist/esm/funcs/paymentsList.d.ts.map +1 -1
  411. package/dist/esm/funcs/paymentsList.js +50 -15
  412. package/dist/esm/funcs/paymentsList.js.map +1 -1
  413. package/dist/esm/funcs/profilesList.d.ts +6 -1
  414. package/dist/esm/funcs/profilesList.d.ts.map +1 -1
  415. package/dist/esm/funcs/profilesList.js +47 -12
  416. package/dist/esm/funcs/profilesList.js.map +1 -1
  417. package/dist/esm/funcs/refundsAll.d.ts +6 -1
  418. package/dist/esm/funcs/refundsAll.d.ts.map +1 -1
  419. package/dist/esm/funcs/refundsAll.js +51 -16
  420. package/dist/esm/funcs/refundsAll.js.map +1 -1
  421. package/dist/esm/funcs/refundsList.d.ts +6 -1
  422. package/dist/esm/funcs/refundsList.d.ts.map +1 -1
  423. package/dist/esm/funcs/refundsList.js +49 -14
  424. package/dist/esm/funcs/refundsList.js.map +1 -1
  425. package/dist/esm/funcs/salesInvoicesList.d.ts +6 -1
  426. package/dist/esm/funcs/salesInvoicesList.d.ts.map +1 -1
  427. package/dist/esm/funcs/salesInvoicesList.js +48 -13
  428. package/dist/esm/funcs/salesInvoicesList.js.map +1 -1
  429. package/dist/esm/funcs/settlementsList.d.ts +6 -1
  430. package/dist/esm/funcs/settlementsList.d.ts.map +1 -1
  431. package/dist/esm/funcs/settlementsList.js +51 -16
  432. package/dist/esm/funcs/settlementsList.js.map +1 -1
  433. package/dist/esm/funcs/settlementsListCaptures.d.ts +6 -1
  434. package/dist/esm/funcs/settlementsListCaptures.d.ts.map +1 -1
  435. package/dist/esm/funcs/settlementsListCaptures.js +49 -14
  436. package/dist/esm/funcs/settlementsListCaptures.js.map +1 -1
  437. package/dist/esm/funcs/settlementsListChargebacks.d.ts +6 -1
  438. package/dist/esm/funcs/settlementsListChargebacks.d.ts.map +1 -1
  439. package/dist/esm/funcs/settlementsListChargebacks.js +49 -14
  440. package/dist/esm/funcs/settlementsListChargebacks.js.map +1 -1
  441. package/dist/esm/funcs/settlementsListPayments.d.ts +6 -1
  442. package/dist/esm/funcs/settlementsListPayments.d.ts.map +1 -1
  443. package/dist/esm/funcs/settlementsListPayments.js +50 -15
  444. package/dist/esm/funcs/settlementsListPayments.js.map +1 -1
  445. package/dist/esm/funcs/settlementsListRefunds.d.ts +6 -1
  446. package/dist/esm/funcs/settlementsListRefunds.d.ts.map +1 -1
  447. package/dist/esm/funcs/settlementsListRefunds.js +49 -14
  448. package/dist/esm/funcs/settlementsListRefunds.js.map +1 -1
  449. package/dist/esm/funcs/subscriptionsAll.d.ts +6 -1
  450. package/dist/esm/funcs/subscriptionsAll.d.ts.map +1 -1
  451. package/dist/esm/funcs/subscriptionsAll.js +49 -14
  452. package/dist/esm/funcs/subscriptionsAll.js.map +1 -1
  453. package/dist/esm/funcs/subscriptionsList.d.ts +6 -1
  454. package/dist/esm/funcs/subscriptionsList.d.ts.map +1 -1
  455. package/dist/esm/funcs/subscriptionsList.js +49 -14
  456. package/dist/esm/funcs/subscriptionsList.js.map +1 -1
  457. package/dist/esm/funcs/subscriptionsListPayments.d.ts +6 -1
  458. package/dist/esm/funcs/subscriptionsListPayments.d.ts.map +1 -1
  459. package/dist/esm/funcs/subscriptionsListPayments.js +50 -15
  460. package/dist/esm/funcs/subscriptionsListPayments.js.map +1 -1
  461. package/dist/esm/funcs/terminalsList.d.ts +6 -1
  462. package/dist/esm/funcs/terminalsList.d.ts.map +1 -1
  463. package/dist/esm/funcs/terminalsList.js +49 -14
  464. package/dist/esm/funcs/terminalsList.js.map +1 -1
  465. package/dist/esm/funcs/webhooksList.d.ts +6 -1
  466. package/dist/esm/funcs/webhooksList.d.ts.map +1 -1
  467. package/dist/esm/funcs/webhooksList.js +50 -15
  468. package/dist/esm/funcs/webhooksList.js.map +1 -1
  469. package/dist/esm/lib/config.d.ts +3 -3
  470. package/dist/esm/lib/config.js +3 -3
  471. package/dist/esm/mcp-server/mcp-server.js +1 -1
  472. package/dist/esm/mcp-server/server.js +1 -1
  473. package/dist/esm/mcp-server/tools/balanceTransfersList.js +1 -1
  474. package/dist/esm/mcp-server/tools/balanceTransfersList.js.map +1 -1
  475. package/dist/esm/mcp-server/tools/balancesList.js +1 -1
  476. package/dist/esm/mcp-server/tools/balancesList.js.map +1 -1
  477. package/dist/esm/mcp-server/tools/balancesListTransactions.js +1 -1
  478. package/dist/esm/mcp-server/tools/balancesListTransactions.js.map +1 -1
  479. package/dist/esm/mcp-server/tools/capturesList.js +1 -1
  480. package/dist/esm/mcp-server/tools/capturesList.js.map +1 -1
  481. package/dist/esm/mcp-server/tools/chargebacksAll.js +1 -1
  482. package/dist/esm/mcp-server/tools/chargebacksAll.js.map +1 -1
  483. package/dist/esm/mcp-server/tools/chargebacksList.js +1 -1
  484. package/dist/esm/mcp-server/tools/chargebacksList.js.map +1 -1
  485. package/dist/esm/mcp-server/tools/clientsList.js +1 -1
  486. package/dist/esm/mcp-server/tools/clientsList.js.map +1 -1
  487. package/dist/esm/mcp-server/tools/customersList.js +1 -1
  488. package/dist/esm/mcp-server/tools/customersList.js.map +1 -1
  489. package/dist/esm/mcp-server/tools/customersListPayments.js +1 -1
  490. package/dist/esm/mcp-server/tools/customersListPayments.js.map +1 -1
  491. package/dist/esm/mcp-server/tools/invoicesList.js +1 -1
  492. package/dist/esm/mcp-server/tools/invoicesList.js.map +1 -1
  493. package/dist/esm/mcp-server/tools/mandatesList.js +1 -1
  494. package/dist/esm/mcp-server/tools/mandatesList.js.map +1 -1
  495. package/dist/esm/mcp-server/tools/paymentLinksList.js +1 -1
  496. package/dist/esm/mcp-server/tools/paymentLinksList.js.map +1 -1
  497. package/dist/esm/mcp-server/tools/paymentLinksListPayments.js +1 -1
  498. package/dist/esm/mcp-server/tools/paymentLinksListPayments.js.map +1 -1
  499. package/dist/esm/mcp-server/tools/paymentsList.js +1 -1
  500. package/dist/esm/mcp-server/tools/paymentsList.js.map +1 -1
  501. package/dist/esm/mcp-server/tools/profilesList.js +1 -1
  502. package/dist/esm/mcp-server/tools/profilesList.js.map +1 -1
  503. package/dist/esm/mcp-server/tools/refundsAll.js +1 -1
  504. package/dist/esm/mcp-server/tools/refundsAll.js.map +1 -1
  505. package/dist/esm/mcp-server/tools/refundsList.js +1 -1
  506. package/dist/esm/mcp-server/tools/refundsList.js.map +1 -1
  507. package/dist/esm/mcp-server/tools/salesInvoicesList.js +1 -1
  508. package/dist/esm/mcp-server/tools/salesInvoicesList.js.map +1 -1
  509. package/dist/esm/mcp-server/tools/settlementsList.js +1 -1
  510. package/dist/esm/mcp-server/tools/settlementsList.js.map +1 -1
  511. package/dist/esm/mcp-server/tools/settlementsListCaptures.js +1 -1
  512. package/dist/esm/mcp-server/tools/settlementsListCaptures.js.map +1 -1
  513. package/dist/esm/mcp-server/tools/settlementsListChargebacks.js +1 -1
  514. package/dist/esm/mcp-server/tools/settlementsListChargebacks.js.map +1 -1
  515. package/dist/esm/mcp-server/tools/settlementsListPayments.js +1 -1
  516. package/dist/esm/mcp-server/tools/settlementsListPayments.js.map +1 -1
  517. package/dist/esm/mcp-server/tools/settlementsListRefunds.js +1 -1
  518. package/dist/esm/mcp-server/tools/settlementsListRefunds.js.map +1 -1
  519. package/dist/esm/mcp-server/tools/subscriptionsAll.js +1 -1
  520. package/dist/esm/mcp-server/tools/subscriptionsAll.js.map +1 -1
  521. package/dist/esm/mcp-server/tools/subscriptionsList.js +1 -1
  522. package/dist/esm/mcp-server/tools/subscriptionsList.js.map +1 -1
  523. package/dist/esm/mcp-server/tools/subscriptionsListPayments.js +1 -1
  524. package/dist/esm/mcp-server/tools/subscriptionsListPayments.js.map +1 -1
  525. package/dist/esm/mcp-server/tools/terminalsList.js +1 -1
  526. package/dist/esm/mcp-server/tools/terminalsList.js.map +1 -1
  527. package/dist/esm/mcp-server/tools/webhooksList.js +1 -1
  528. package/dist/esm/mcp-server/tools/webhooksList.js.map +1 -1
  529. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +16 -3
  530. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  531. package/dist/esm/models/operations/getpaymentlinkpayments.js +24 -2
  532. package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
  533. package/dist/esm/models/operations/listallchargebacks.d.ts +16 -3
  534. package/dist/esm/models/operations/listallchargebacks.d.ts.map +1 -1
  535. package/dist/esm/models/operations/listallchargebacks.js +24 -2
  536. package/dist/esm/models/operations/listallchargebacks.js.map +1 -1
  537. package/dist/esm/models/operations/listallrefunds.d.ts +16 -3
  538. package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
  539. package/dist/esm/models/operations/listallrefunds.js +24 -2
  540. package/dist/esm/models/operations/listallrefunds.js.map +1 -1
  541. package/dist/esm/models/operations/listallsubscriptions.d.ts +16 -3
  542. package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
  543. package/dist/esm/models/operations/listallsubscriptions.js +24 -2
  544. package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
  545. package/dist/esm/models/operations/listbalances.d.ts +16 -3
  546. package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
  547. package/dist/esm/models/operations/listbalances.js +24 -2
  548. package/dist/esm/models/operations/listbalances.js.map +1 -1
  549. package/dist/esm/models/operations/listbalancetransactions.d.ts +16 -3
  550. package/dist/esm/models/operations/listbalancetransactions.d.ts.map +1 -1
  551. package/dist/esm/models/operations/listbalancetransactions.js +24 -2
  552. package/dist/esm/models/operations/listbalancetransactions.js.map +1 -1
  553. package/dist/esm/models/operations/listcaptures.d.ts +16 -3
  554. package/dist/esm/models/operations/listcaptures.d.ts.map +1 -1
  555. package/dist/esm/models/operations/listcaptures.js +24 -2
  556. package/dist/esm/models/operations/listcaptures.js.map +1 -1
  557. package/dist/esm/models/operations/listchargebacks.d.ts +16 -3
  558. package/dist/esm/models/operations/listchargebacks.d.ts.map +1 -1
  559. package/dist/esm/models/operations/listchargebacks.js +24 -2
  560. package/dist/esm/models/operations/listchargebacks.js.map +1 -1
  561. package/dist/esm/models/operations/listclients.d.ts +16 -3
  562. package/dist/esm/models/operations/listclients.d.ts.map +1 -1
  563. package/dist/esm/models/operations/listclients.js +24 -2
  564. package/dist/esm/models/operations/listclients.js.map +1 -1
  565. package/dist/esm/models/operations/listconnectbalancetransfers.d.ts +16 -3
  566. package/dist/esm/models/operations/listconnectbalancetransfers.d.ts.map +1 -1
  567. package/dist/esm/models/operations/listconnectbalancetransfers.js +24 -2
  568. package/dist/esm/models/operations/listconnectbalancetransfers.js.map +1 -1
  569. package/dist/esm/models/operations/listcustomerpayments.d.ts +16 -3
  570. package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
  571. package/dist/esm/models/operations/listcustomerpayments.js +24 -2
  572. package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
  573. package/dist/esm/models/operations/listcustomers.d.ts +16 -3
  574. package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
  575. package/dist/esm/models/operations/listcustomers.js +24 -2
  576. package/dist/esm/models/operations/listcustomers.js.map +1 -1
  577. package/dist/esm/models/operations/listinvoices.d.ts +16 -3
  578. package/dist/esm/models/operations/listinvoices.d.ts.map +1 -1
  579. package/dist/esm/models/operations/listinvoices.js +24 -2
  580. package/dist/esm/models/operations/listinvoices.js.map +1 -1
  581. package/dist/esm/models/operations/listmandates.d.ts +16 -3
  582. package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
  583. package/dist/esm/models/operations/listmandates.js +24 -2
  584. package/dist/esm/models/operations/listmandates.js.map +1 -1
  585. package/dist/esm/models/operations/listpaymentlinks.d.ts +16 -3
  586. package/dist/esm/models/operations/listpaymentlinks.d.ts.map +1 -1
  587. package/dist/esm/models/operations/listpaymentlinks.js +24 -2
  588. package/dist/esm/models/operations/listpaymentlinks.js.map +1 -1
  589. package/dist/esm/models/operations/listpayments.d.ts +16 -3
  590. package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
  591. package/dist/esm/models/operations/listpayments.js +24 -2
  592. package/dist/esm/models/operations/listpayments.js.map +1 -1
  593. package/dist/esm/models/operations/listprofiles.d.ts +16 -3
  594. package/dist/esm/models/operations/listprofiles.d.ts.map +1 -1
  595. package/dist/esm/models/operations/listprofiles.js +24 -2
  596. package/dist/esm/models/operations/listprofiles.js.map +1 -1
  597. package/dist/esm/models/operations/listrefunds.d.ts +16 -3
  598. package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
  599. package/dist/esm/models/operations/listrefunds.js +24 -2
  600. package/dist/esm/models/operations/listrefunds.js.map +1 -1
  601. package/dist/esm/models/operations/listsalesinvoices.d.ts +16 -3
  602. package/dist/esm/models/operations/listsalesinvoices.d.ts.map +1 -1
  603. package/dist/esm/models/operations/listsalesinvoices.js +24 -2
  604. package/dist/esm/models/operations/listsalesinvoices.js.map +1 -1
  605. package/dist/esm/models/operations/listsettlementcaptures.d.ts +16 -3
  606. package/dist/esm/models/operations/listsettlementcaptures.d.ts.map +1 -1
  607. package/dist/esm/models/operations/listsettlementcaptures.js +24 -2
  608. package/dist/esm/models/operations/listsettlementcaptures.js.map +1 -1
  609. package/dist/esm/models/operations/listsettlementchargebacks.d.ts +16 -3
  610. package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  611. package/dist/esm/models/operations/listsettlementchargebacks.js +24 -2
  612. package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
  613. package/dist/esm/models/operations/listsettlementpayments.d.ts +16 -3
  614. package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
  615. package/dist/esm/models/operations/listsettlementpayments.js +24 -2
  616. package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
  617. package/dist/esm/models/operations/listsettlementrefunds.d.ts +16 -3
  618. package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
  619. package/dist/esm/models/operations/listsettlementrefunds.js +24 -2
  620. package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
  621. package/dist/esm/models/operations/listsettlements.d.ts +16 -3
  622. package/dist/esm/models/operations/listsettlements.d.ts.map +1 -1
  623. package/dist/esm/models/operations/listsettlements.js +24 -2
  624. package/dist/esm/models/operations/listsettlements.js.map +1 -1
  625. package/dist/esm/models/operations/listsubscriptionpayments.d.ts +16 -3
  626. package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  627. package/dist/esm/models/operations/listsubscriptionpayments.js +24 -2
  628. package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
  629. package/dist/esm/models/operations/listsubscriptions.d.ts +16 -3
  630. package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
  631. package/dist/esm/models/operations/listsubscriptions.js +24 -2
  632. package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
  633. package/dist/esm/models/operations/listterminals.d.ts +16 -3
  634. package/dist/esm/models/operations/listterminals.d.ts.map +1 -1
  635. package/dist/esm/models/operations/listterminals.js +24 -2
  636. package/dist/esm/models/operations/listterminals.js.map +1 -1
  637. package/dist/esm/models/operations/listwebhooks.d.ts +16 -3
  638. package/dist/esm/models/operations/listwebhooks.d.ts.map +1 -1
  639. package/dist/esm/models/operations/listwebhooks.js +24 -2
  640. package/dist/esm/models/operations/listwebhooks.js.map +1 -1
  641. package/dist/esm/sdk/balances.d.ts +7 -2
  642. package/dist/esm/sdk/balances.d.ts.map +1 -1
  643. package/dist/esm/sdk/balances.js +3 -2
  644. package/dist/esm/sdk/balances.js.map +1 -1
  645. package/dist/esm/sdk/balancetransfers.d.ts +4 -1
  646. package/dist/esm/sdk/balancetransfers.d.ts.map +1 -1
  647. package/dist/esm/sdk/balancetransfers.js +2 -1
  648. package/dist/esm/sdk/balancetransfers.js.map +1 -1
  649. package/dist/esm/sdk/captures.d.ts +4 -1
  650. package/dist/esm/sdk/captures.d.ts.map +1 -1
  651. package/dist/esm/sdk/captures.js +2 -1
  652. package/dist/esm/sdk/captures.js.map +1 -1
  653. package/dist/esm/sdk/chargebacks.d.ts +7 -2
  654. package/dist/esm/sdk/chargebacks.d.ts.map +1 -1
  655. package/dist/esm/sdk/chargebacks.js +3 -2
  656. package/dist/esm/sdk/chargebacks.js.map +1 -1
  657. package/dist/esm/sdk/clients.d.ts +4 -1
  658. package/dist/esm/sdk/clients.d.ts.map +1 -1
  659. package/dist/esm/sdk/clients.js +2 -1
  660. package/dist/esm/sdk/clients.js.map +1 -1
  661. package/dist/esm/sdk/customers.d.ts +7 -2
  662. package/dist/esm/sdk/customers.d.ts.map +1 -1
  663. package/dist/esm/sdk/customers.js +3 -2
  664. package/dist/esm/sdk/customers.js.map +1 -1
  665. package/dist/esm/sdk/invoices.d.ts +4 -1
  666. package/dist/esm/sdk/invoices.d.ts.map +1 -1
  667. package/dist/esm/sdk/invoices.js +2 -1
  668. package/dist/esm/sdk/invoices.js.map +1 -1
  669. package/dist/esm/sdk/mandates.d.ts +4 -1
  670. package/dist/esm/sdk/mandates.d.ts.map +1 -1
  671. package/dist/esm/sdk/mandates.js +2 -1
  672. package/dist/esm/sdk/mandates.js.map +1 -1
  673. package/dist/esm/sdk/paymentlinks.d.ts +7 -2
  674. package/dist/esm/sdk/paymentlinks.d.ts.map +1 -1
  675. package/dist/esm/sdk/paymentlinks.js +3 -2
  676. package/dist/esm/sdk/paymentlinks.js.map +1 -1
  677. package/dist/esm/sdk/payments.d.ts +4 -1
  678. package/dist/esm/sdk/payments.d.ts.map +1 -1
  679. package/dist/esm/sdk/payments.js +2 -1
  680. package/dist/esm/sdk/payments.js.map +1 -1
  681. package/dist/esm/sdk/profiles.d.ts +4 -1
  682. package/dist/esm/sdk/profiles.d.ts.map +1 -1
  683. package/dist/esm/sdk/profiles.js +2 -1
  684. package/dist/esm/sdk/profiles.js.map +1 -1
  685. package/dist/esm/sdk/refunds.d.ts +7 -2
  686. package/dist/esm/sdk/refunds.d.ts.map +1 -1
  687. package/dist/esm/sdk/refunds.js +3 -2
  688. package/dist/esm/sdk/refunds.js.map +1 -1
  689. package/dist/esm/sdk/salesinvoices.d.ts +4 -1
  690. package/dist/esm/sdk/salesinvoices.d.ts.map +1 -1
  691. package/dist/esm/sdk/salesinvoices.js +2 -1
  692. package/dist/esm/sdk/salesinvoices.js.map +1 -1
  693. package/dist/esm/sdk/settlements.d.ts +16 -5
  694. package/dist/esm/sdk/settlements.d.ts.map +1 -1
  695. package/dist/esm/sdk/settlements.js +6 -5
  696. package/dist/esm/sdk/settlements.js.map +1 -1
  697. package/dist/esm/sdk/subscriptions.d.ts +10 -3
  698. package/dist/esm/sdk/subscriptions.d.ts.map +1 -1
  699. package/dist/esm/sdk/subscriptions.js +4 -3
  700. package/dist/esm/sdk/subscriptions.js.map +1 -1
  701. package/dist/esm/sdk/terminals.d.ts +4 -1
  702. package/dist/esm/sdk/terminals.d.ts.map +1 -1
  703. package/dist/esm/sdk/terminals.js +2 -1
  704. package/dist/esm/sdk/terminals.js.map +1 -1
  705. package/dist/esm/sdk/webhooks.d.ts +4 -1
  706. package/dist/esm/sdk/webhooks.d.ts.map +1 -1
  707. package/dist/esm/sdk/webhooks.js +2 -1
  708. package/dist/esm/sdk/webhooks.js.map +1 -1
  709. package/examples/balancesList.example.ts +3 -1
  710. package/jsr.json +1 -1
  711. package/package.json +1 -1
  712. package/src/funcs/balanceTransfersList.ts +112 -38
  713. package/src/funcs/balancesList.ts +112 -38
  714. package/src/funcs/balancesListTransactions.ts +111 -38
  715. package/src/funcs/capturesList.ts +112 -39
  716. package/src/funcs/chargebacksAll.ts +114 -40
  717. package/src/funcs/chargebacksList.ts +112 -39
  718. package/src/funcs/clientsList.ts +111 -37
  719. package/src/funcs/customersList.ts +112 -38
  720. package/src/funcs/customersListPayments.ts +113 -40
  721. package/src/funcs/invoicesList.ts +113 -39
  722. package/src/funcs/mandatesList.ts +112 -39
  723. package/src/funcs/paymentLinksList.ts +111 -37
  724. package/src/funcs/paymentLinksListPayments.ts +112 -41
  725. package/src/funcs/paymentsList.ts +113 -39
  726. package/src/funcs/profilesList.ts +110 -36
  727. package/src/funcs/refundsAll.ts +114 -40
  728. package/src/funcs/refundsList.ts +112 -39
  729. package/src/funcs/salesInvoicesList.ts +111 -37
  730. package/src/funcs/settlementsList.ts +114 -40
  731. package/src/funcs/settlementsListCaptures.ts +112 -39
  732. package/src/funcs/settlementsListChargebacks.ts +112 -41
  733. package/src/funcs/settlementsListPayments.ts +113 -40
  734. package/src/funcs/settlementsListRefunds.ts +112 -39
  735. package/src/funcs/subscriptionsAll.ts +112 -38
  736. package/src/funcs/subscriptionsList.ts +112 -39
  737. package/src/funcs/subscriptionsListPayments.ts +115 -42
  738. package/src/funcs/terminalsList.ts +112 -38
  739. package/src/funcs/webhooksList.ts +113 -39
  740. package/src/lib/config.ts +3 -3
  741. package/src/mcp-server/mcp-server.ts +1 -1
  742. package/src/mcp-server/server.ts +1 -1
  743. package/src/mcp-server/tools/balanceTransfersList.ts +1 -1
  744. package/src/mcp-server/tools/balancesList.ts +1 -1
  745. package/src/mcp-server/tools/balancesListTransactions.ts +1 -1
  746. package/src/mcp-server/tools/capturesList.ts +1 -1
  747. package/src/mcp-server/tools/chargebacksAll.ts +1 -1
  748. package/src/mcp-server/tools/chargebacksList.ts +1 -1
  749. package/src/mcp-server/tools/clientsList.ts +1 -1
  750. package/src/mcp-server/tools/customersList.ts +1 -1
  751. package/src/mcp-server/tools/customersListPayments.ts +1 -1
  752. package/src/mcp-server/tools/invoicesList.ts +1 -1
  753. package/src/mcp-server/tools/mandatesList.ts +1 -1
  754. package/src/mcp-server/tools/paymentLinksList.ts +1 -1
  755. package/src/mcp-server/tools/paymentLinksListPayments.ts +1 -1
  756. package/src/mcp-server/tools/paymentsList.ts +1 -1
  757. package/src/mcp-server/tools/profilesList.ts +1 -1
  758. package/src/mcp-server/tools/refundsAll.ts +1 -1
  759. package/src/mcp-server/tools/refundsList.ts +1 -1
  760. package/src/mcp-server/tools/salesInvoicesList.ts +1 -1
  761. package/src/mcp-server/tools/settlementsList.ts +1 -1
  762. package/src/mcp-server/tools/settlementsListCaptures.ts +1 -1
  763. package/src/mcp-server/tools/settlementsListChargebacks.ts +1 -1
  764. package/src/mcp-server/tools/settlementsListPayments.ts +1 -1
  765. package/src/mcp-server/tools/settlementsListRefunds.ts +1 -1
  766. package/src/mcp-server/tools/subscriptionsAll.ts +1 -1
  767. package/src/mcp-server/tools/subscriptionsList.ts +1 -1
  768. package/src/mcp-server/tools/subscriptionsListPayments.ts +1 -1
  769. package/src/mcp-server/tools/terminalsList.ts +1 -1
  770. package/src/mcp-server/tools/webhooksList.ts +1 -1
  771. package/src/models/operations/getpaymentlinkpayments.ts +61 -7
  772. package/src/models/operations/listallchargebacks.ts +60 -7
  773. package/src/models/operations/listallrefunds.ts +58 -7
  774. package/src/models/operations/listallsubscriptions.ts +60 -7
  775. package/src/models/operations/listbalances.ts +58 -7
  776. package/src/models/operations/listbalancetransactions.ts +61 -7
  777. package/src/models/operations/listcaptures.ts +58 -7
  778. package/src/models/operations/listchargebacks.ts +60 -7
  779. package/src/models/operations/listclients.ts +58 -7
  780. package/src/models/operations/listconnectbalancetransfers.ts +67 -7
  781. package/src/models/operations/listcustomerpayments.ts +60 -7
  782. package/src/models/operations/listcustomers.ts +58 -7
  783. package/src/models/operations/listinvoices.ts +58 -7
  784. package/src/models/operations/listmandates.ts +58 -7
  785. package/src/models/operations/listpaymentlinks.ts +60 -7
  786. package/src/models/operations/listpayments.ts +58 -7
  787. package/src/models/operations/listprofiles.ts +58 -7
  788. package/src/models/operations/listrefunds.ts +58 -7
  789. package/src/models/operations/listsalesinvoices.ts +60 -7
  790. package/src/models/operations/listsettlementcaptures.ts +61 -7
  791. package/src/models/operations/listsettlementchargebacks.ts +61 -7
  792. package/src/models/operations/listsettlementpayments.ts +61 -7
  793. package/src/models/operations/listsettlementrefunds.ts +60 -7
  794. package/src/models/operations/listsettlements.ts +60 -7
  795. package/src/models/operations/listsubscriptionpayments.ts +61 -7
  796. package/src/models/operations/listsubscriptions.ts +60 -7
  797. package/src/models/operations/listterminals.ts +58 -7
  798. package/src/models/operations/listwebhooks.ts +58 -7
  799. package/src/sdk/balances.ts +7 -4
  800. package/src/sdk/balancetransfers.ts +8 -2
  801. package/src/sdk/captures.ts +3 -2
  802. package/src/sdk/chargebacks.ts +9 -4
  803. package/src/sdk/clients.ts +3 -2
  804. package/src/sdk/customers.ts +7 -4
  805. package/src/sdk/invoices.ts +3 -2
  806. package/src/sdk/mandates.ts +3 -2
  807. package/src/sdk/paymentlinks.ts +9 -4
  808. package/src/sdk/payments.ts +3 -2
  809. package/src/sdk/profiles.ts +3 -2
  810. package/src/sdk/refunds.ts +5 -4
  811. package/src/sdk/salesinvoices.ts +5 -2
  812. package/src/sdk/settlements.ts +21 -10
  813. package/src/sdk/subscriptions.ts +13 -6
  814. package/src/sdk/terminals.ts +3 -2
  815. package/src/sdk/webhooks.ts +3 -2
  816. package/.devcontainer/devcontainer.json +0 -45
  817. package/_speakeasy/.github/action-inputs-config.json +0 -53
  818. package/_speakeasy/.github/action-security-config.json +0 -88
  819. package/examples/package-lock.json +0 -620
  820. package/examples/package.json +0 -18
  821. package/tsconfig.json +0 -40
package/bin/mcp-server.js CHANGED
@@ -52869,9 +52869,9 @@ var init_config = __esm(() => {
52869
52869
  SDK_METADATA = {
52870
52870
  language: "typescript",
52871
52871
  openapiDocVersion: "1.0.0",
52872
- sdkVersion: "1.1.6",
52873
- genVersion: "2.832.6",
52874
- userAgent: "speakeasy-sdk/typescript 1.1.6 2.832.6 1.0.0 mollie-api-typescript"
52872
+ sdkVersion: "1.2.0",
52873
+ genVersion: "2.844.3",
52874
+ userAgent: "speakeasy-sdk/typescript 1.2.0 2.844.3 1.0.0 mollie-api-typescript"
52875
52875
  };
52876
52876
  });
52877
52877
 
@@ -64328,7 +64328,7 @@ var init_getpaymentlink = __esm(() => {
64328
64328
  });
64329
64329
 
64330
64330
  // src/models/operations/getpaymentlinkpayments.ts
64331
- var GetPaymentLinkPaymentsGlobals$inboundSchema, GetPaymentLinkPaymentsGlobals$outboundSchema, GetPaymentLinkPaymentsRequest$inboundSchema, GetPaymentLinkPaymentsRequest$outboundSchema, GetPaymentLinkPaymentsEmbedded$inboundSchema, GetPaymentLinkPaymentsEmbedded$outboundSchema, GetPaymentLinkPaymentsResponse$inboundSchema, GetPaymentLinkPaymentsResponse$outboundSchema;
64331
+ var GetPaymentLinkPaymentsGlobals$inboundSchema, GetPaymentLinkPaymentsGlobals$outboundSchema, GetPaymentLinkPaymentsRequest$inboundSchema, GetPaymentLinkPaymentsRequest$outboundSchema, GetPaymentLinkPaymentsEmbedded$inboundSchema, GetPaymentLinkPaymentsEmbedded$outboundSchema, GetPaymentLinkPaymentsResponseBody$inboundSchema, GetPaymentLinkPaymentsResponseBody$outboundSchema, GetPaymentLinkPaymentsResponse$inboundSchema, GetPaymentLinkPaymentsResponse$outboundSchema;
64332
64332
  var init_getpaymentlinkpayments = __esm(() => {
64333
64333
  init_esm();
64334
64334
  init_primitives();
@@ -64369,7 +64369,7 @@ var init_getpaymentlinkpayments = __esm(() => {
64369
64369
  GetPaymentLinkPaymentsEmbedded$outboundSchema = objectType({
64370
64370
  payments: arrayType(ListPaymentResponse$outboundSchema).optional()
64371
64371
  });
64372
- GetPaymentLinkPaymentsResponse$inboundSchema = objectType({
64372
+ GetPaymentLinkPaymentsResponseBody$inboundSchema = objectType({
64373
64373
  count: numberType().int(),
64374
64374
  _embedded: lazyType(() => GetPaymentLinkPaymentsEmbedded$inboundSchema),
64375
64375
  _links: ListLinks$inboundSchema
@@ -64379,7 +64379,7 @@ var init_getpaymentlinkpayments = __esm(() => {
64379
64379
  _links: "links"
64380
64380
  });
64381
64381
  });
64382
- GetPaymentLinkPaymentsResponse$outboundSchema = objectType({
64382
+ GetPaymentLinkPaymentsResponseBody$outboundSchema = objectType({
64383
64383
  count: numberType().int(),
64384
64384
  embedded: lazyType(() => GetPaymentLinkPaymentsEmbedded$outboundSchema),
64385
64385
  links: ListLinks$outboundSchema
@@ -64389,6 +64389,20 @@ var init_getpaymentlinkpayments = __esm(() => {
64389
64389
  links: "_links"
64390
64390
  });
64391
64391
  });
64392
+ GetPaymentLinkPaymentsResponse$inboundSchema = objectType({
64393
+ Result: lazyType(() => GetPaymentLinkPaymentsResponseBody$inboundSchema)
64394
+ }).transform((v2) => {
64395
+ return remap(v2, {
64396
+ Result: "result"
64397
+ });
64398
+ });
64399
+ GetPaymentLinkPaymentsResponse$outboundSchema = objectType({
64400
+ result: lazyType(() => GetPaymentLinkPaymentsResponseBody$outboundSchema)
64401
+ }).transform((v2) => {
64402
+ return remap(v2, {
64403
+ result: "Result"
64404
+ });
64405
+ });
64392
64406
  });
64393
64407
 
64394
64408
  // src/models/operations/getpermission.ts
@@ -64690,7 +64704,7 @@ var init_getwebhookevent = __esm(() => {
64690
64704
  });
64691
64705
 
64692
64706
  // src/models/operations/listallchargebacks.ts
64693
- var ListAllChargebacksGlobals$inboundSchema, ListAllChargebacksGlobals$outboundSchema, ListAllChargebacksRequest$inboundSchema, ListAllChargebacksRequest$outboundSchema, ListAllChargebacksEmbedded$inboundSchema, ListAllChargebacksEmbedded$outboundSchema, ListAllChargebacksResponse$inboundSchema, ListAllChargebacksResponse$outboundSchema;
64707
+ var ListAllChargebacksGlobals$inboundSchema, ListAllChargebacksGlobals$outboundSchema, ListAllChargebacksRequest$inboundSchema, ListAllChargebacksRequest$outboundSchema, ListAllChargebacksEmbedded$inboundSchema, ListAllChargebacksEmbedded$outboundSchema, ListAllChargebacksResponseBody$inboundSchema, ListAllChargebacksResponseBody$outboundSchema, ListAllChargebacksResponse$inboundSchema, ListAllChargebacksResponse$outboundSchema;
64694
64708
  var init_listallchargebacks = __esm(() => {
64695
64709
  init_esm();
64696
64710
  init_primitives();
@@ -64735,7 +64749,7 @@ var init_listallchargebacks = __esm(() => {
64735
64749
  ListAllChargebacksEmbedded$outboundSchema = objectType({
64736
64750
  chargebacks: arrayType(ListEntityChargeback$outboundSchema)
64737
64751
  });
64738
- ListAllChargebacksResponse$inboundSchema = objectType({
64752
+ ListAllChargebacksResponseBody$inboundSchema = objectType({
64739
64753
  count: numberType().int(),
64740
64754
  _embedded: lazyType(() => ListAllChargebacksEmbedded$inboundSchema),
64741
64755
  _links: ListLinks$inboundSchema
@@ -64745,7 +64759,7 @@ var init_listallchargebacks = __esm(() => {
64745
64759
  _links: "links"
64746
64760
  });
64747
64761
  });
64748
- ListAllChargebacksResponse$outboundSchema = objectType({
64762
+ ListAllChargebacksResponseBody$outboundSchema = objectType({
64749
64763
  count: numberType().int(),
64750
64764
  embedded: lazyType(() => ListAllChargebacksEmbedded$outboundSchema),
64751
64765
  links: ListLinks$outboundSchema
@@ -64755,6 +64769,20 @@ var init_listallchargebacks = __esm(() => {
64755
64769
  links: "_links"
64756
64770
  });
64757
64771
  });
64772
+ ListAllChargebacksResponse$inboundSchema = objectType({
64773
+ Result: lazyType(() => ListAllChargebacksResponseBody$inboundSchema)
64774
+ }).transform((v2) => {
64775
+ return remap(v2, {
64776
+ Result: "result"
64777
+ });
64778
+ });
64779
+ ListAllChargebacksResponse$outboundSchema = objectType({
64780
+ result: lazyType(() => ListAllChargebacksResponseBody$outboundSchema)
64781
+ }).transform((v2) => {
64782
+ return remap(v2, {
64783
+ result: "Result"
64784
+ });
64785
+ });
64758
64786
  });
64759
64787
 
64760
64788
  // src/models/operations/listallmethods.ts
@@ -64834,7 +64862,7 @@ var init_listallmethods = __esm(() => {
64834
64862
  });
64835
64863
 
64836
64864
  // src/models/operations/listallrefunds.ts
64837
- var ListAllRefundsGlobals$inboundSchema, ListAllRefundsGlobals$outboundSchema, ListAllRefundsRequest$inboundSchema, ListAllRefundsRequest$outboundSchema, ListAllRefundsEmbedded$inboundSchema, ListAllRefundsEmbedded$outboundSchema, ListAllRefundsResponse$inboundSchema, ListAllRefundsResponse$outboundSchema;
64865
+ var ListAllRefundsGlobals$inboundSchema, ListAllRefundsGlobals$outboundSchema, ListAllRefundsRequest$inboundSchema, ListAllRefundsRequest$outboundSchema, ListAllRefundsEmbedded$inboundSchema, ListAllRefundsEmbedded$outboundSchema, ListAllRefundsResponseBody$inboundSchema, ListAllRefundsResponseBody$outboundSchema, ListAllRefundsResponse$inboundSchema, ListAllRefundsResponse$outboundSchema;
64838
64866
  var init_listallrefunds = __esm(() => {
64839
64867
  init_esm();
64840
64868
  init_primitives();
@@ -64879,7 +64907,7 @@ var init_listallrefunds = __esm(() => {
64879
64907
  ListAllRefundsEmbedded$outboundSchema = objectType({
64880
64908
  refunds: arrayType(ListEntityRefund$outboundSchema)
64881
64909
  });
64882
- ListAllRefundsResponse$inboundSchema = objectType({
64910
+ ListAllRefundsResponseBody$inboundSchema = objectType({
64883
64911
  count: numberType().int(),
64884
64912
  _embedded: lazyType(() => ListAllRefundsEmbedded$inboundSchema),
64885
64913
  _links: ListLinks$inboundSchema
@@ -64889,7 +64917,7 @@ var init_listallrefunds = __esm(() => {
64889
64917
  _links: "links"
64890
64918
  });
64891
64919
  });
64892
- ListAllRefundsResponse$outboundSchema = objectType({
64920
+ ListAllRefundsResponseBody$outboundSchema = objectType({
64893
64921
  count: numberType().int(),
64894
64922
  embedded: lazyType(() => ListAllRefundsEmbedded$outboundSchema),
64895
64923
  links: ListLinks$outboundSchema
@@ -64899,10 +64927,24 @@ var init_listallrefunds = __esm(() => {
64899
64927
  links: "_links"
64900
64928
  });
64901
64929
  });
64930
+ ListAllRefundsResponse$inboundSchema = objectType({
64931
+ Result: lazyType(() => ListAllRefundsResponseBody$inboundSchema)
64932
+ }).transform((v2) => {
64933
+ return remap(v2, {
64934
+ Result: "result"
64935
+ });
64936
+ });
64937
+ ListAllRefundsResponse$outboundSchema = objectType({
64938
+ result: lazyType(() => ListAllRefundsResponseBody$outboundSchema)
64939
+ }).transform((v2) => {
64940
+ return remap(v2, {
64941
+ result: "Result"
64942
+ });
64943
+ });
64902
64944
  });
64903
64945
 
64904
64946
  // src/models/operations/listallsubscriptions.ts
64905
- var ListAllSubscriptionsGlobals$inboundSchema, ListAllSubscriptionsGlobals$outboundSchema, ListAllSubscriptionsRequest$inboundSchema, ListAllSubscriptionsRequest$outboundSchema, ListAllSubscriptionsEmbedded$inboundSchema, ListAllSubscriptionsEmbedded$outboundSchema, ListAllSubscriptionsResponse$inboundSchema, ListAllSubscriptionsResponse$outboundSchema;
64947
+ var ListAllSubscriptionsGlobals$inboundSchema, ListAllSubscriptionsGlobals$outboundSchema, ListAllSubscriptionsRequest$inboundSchema, ListAllSubscriptionsRequest$outboundSchema, ListAllSubscriptionsEmbedded$inboundSchema, ListAllSubscriptionsEmbedded$outboundSchema, ListAllSubscriptionsResponseBody$inboundSchema, ListAllSubscriptionsResponseBody$outboundSchema, ListAllSubscriptionsResponse$inboundSchema, ListAllSubscriptionsResponse$outboundSchema;
64906
64948
  var init_listallsubscriptions = __esm(() => {
64907
64949
  init_esm();
64908
64950
  init_primitives();
@@ -64943,7 +64985,7 @@ var init_listallsubscriptions = __esm(() => {
64943
64985
  ListAllSubscriptionsEmbedded$outboundSchema = objectType({
64944
64986
  subscriptions: arrayType(ListSubscriptionResponse$outboundSchema).optional()
64945
64987
  });
64946
- ListAllSubscriptionsResponse$inboundSchema = objectType({
64988
+ ListAllSubscriptionsResponseBody$inboundSchema = objectType({
64947
64989
  count: numberType().int(),
64948
64990
  _embedded: lazyType(() => ListAllSubscriptionsEmbedded$inboundSchema),
64949
64991
  _links: ListLinks$inboundSchema
@@ -64953,7 +64995,7 @@ var init_listallsubscriptions = __esm(() => {
64953
64995
  _links: "links"
64954
64996
  });
64955
64997
  });
64956
- ListAllSubscriptionsResponse$outboundSchema = objectType({
64998
+ ListAllSubscriptionsResponseBody$outboundSchema = objectType({
64957
64999
  count: numberType().int(),
64958
65000
  embedded: lazyType(() => ListAllSubscriptionsEmbedded$outboundSchema),
64959
65001
  links: ListLinks$outboundSchema
@@ -64963,10 +65005,24 @@ var init_listallsubscriptions = __esm(() => {
64963
65005
  links: "_links"
64964
65006
  });
64965
65007
  });
65008
+ ListAllSubscriptionsResponse$inboundSchema = objectType({
65009
+ Result: lazyType(() => ListAllSubscriptionsResponseBody$inboundSchema)
65010
+ }).transform((v2) => {
65011
+ return remap(v2, {
65012
+ Result: "result"
65013
+ });
65014
+ });
65015
+ ListAllSubscriptionsResponse$outboundSchema = objectType({
65016
+ result: lazyType(() => ListAllSubscriptionsResponseBody$outboundSchema)
65017
+ }).transform((v2) => {
65018
+ return remap(v2, {
65019
+ result: "Result"
65020
+ });
65021
+ });
64966
65022
  });
64967
65023
 
64968
65024
  // src/models/operations/listbalances.ts
64969
- var ListBalancesGlobals$inboundSchema, ListBalancesGlobals$outboundSchema, ListBalancesRequest$inboundSchema, ListBalancesRequest$outboundSchema, ListBalancesEmbedded$inboundSchema, ListBalancesEmbedded$outboundSchema, ListBalancesResponse$inboundSchema, ListBalancesResponse$outboundSchema;
65025
+ var ListBalancesGlobals$inboundSchema, ListBalancesGlobals$outboundSchema, ListBalancesRequest$inboundSchema, ListBalancesRequest$outboundSchema, ListBalancesEmbedded$inboundSchema, ListBalancesEmbedded$outboundSchema, ListBalancesResponseBody$inboundSchema, ListBalancesResponseBody$outboundSchema, ListBalancesResponse$inboundSchema, ListBalancesResponse$outboundSchema;
64970
65026
  var init_listbalances = __esm(() => {
64971
65027
  init_esm();
64972
65028
  init_primitives();
@@ -65005,7 +65061,7 @@ var init_listbalances = __esm(() => {
65005
65061
  ListBalancesEmbedded$outboundSchema = objectType({
65006
65062
  balances: arrayType(ListEntityBalance$outboundSchema)
65007
65063
  });
65008
- ListBalancesResponse$inboundSchema = objectType({
65064
+ ListBalancesResponseBody$inboundSchema = objectType({
65009
65065
  count: numberType().int(),
65010
65066
  _embedded: lazyType(() => ListBalancesEmbedded$inboundSchema),
65011
65067
  _links: ListLinks$inboundSchema
@@ -65015,7 +65071,7 @@ var init_listbalances = __esm(() => {
65015
65071
  _links: "links"
65016
65072
  });
65017
65073
  });
65018
- ListBalancesResponse$outboundSchema = objectType({
65074
+ ListBalancesResponseBody$outboundSchema = objectType({
65019
65075
  count: numberType().int(),
65020
65076
  embedded: lazyType(() => ListBalancesEmbedded$outboundSchema),
65021
65077
  links: ListLinks$outboundSchema
@@ -65025,10 +65081,24 @@ var init_listbalances = __esm(() => {
65025
65081
  links: "_links"
65026
65082
  });
65027
65083
  });
65084
+ ListBalancesResponse$inboundSchema = objectType({
65085
+ Result: lazyType(() => ListBalancesResponseBody$inboundSchema)
65086
+ }).transform((v2) => {
65087
+ return remap(v2, {
65088
+ Result: "result"
65089
+ });
65090
+ });
65091
+ ListBalancesResponse$outboundSchema = objectType({
65092
+ result: lazyType(() => ListBalancesResponseBody$outboundSchema)
65093
+ }).transform((v2) => {
65094
+ return remap(v2, {
65095
+ result: "Result"
65096
+ });
65097
+ });
65028
65098
  });
65029
65099
 
65030
65100
  // src/models/operations/listbalancetransactions.ts
65031
- var ListBalanceTransactionsGlobals$inboundSchema, ListBalanceTransactionsGlobals$outboundSchema, ListBalanceTransactionsRequest$inboundSchema, ListBalanceTransactionsRequest$outboundSchema, ListBalanceTransactionsEmbedded$inboundSchema, ListBalanceTransactionsEmbedded$outboundSchema, ListBalanceTransactionsResponse$inboundSchema, ListBalanceTransactionsResponse$outboundSchema;
65101
+ var ListBalanceTransactionsGlobals$inboundSchema, ListBalanceTransactionsGlobals$outboundSchema, ListBalanceTransactionsRequest$inboundSchema, ListBalanceTransactionsRequest$outboundSchema, ListBalanceTransactionsEmbedded$inboundSchema, ListBalanceTransactionsEmbedded$outboundSchema, ListBalanceTransactionsResponseBody$inboundSchema, ListBalanceTransactionsResponseBody$outboundSchema, ListBalanceTransactionsResponse$inboundSchema, ListBalanceTransactionsResponse$outboundSchema;
65032
65102
  var init_listbalancetransactions = __esm(() => {
65033
65103
  init_esm();
65034
65104
  init_primitives();
@@ -65075,7 +65145,7 @@ var init_listbalancetransactions = __esm(() => {
65075
65145
  balanceTransactions: "balance_transactions"
65076
65146
  });
65077
65147
  });
65078
- ListBalanceTransactionsResponse$inboundSchema = objectType({
65148
+ ListBalanceTransactionsResponseBody$inboundSchema = objectType({
65079
65149
  count: numberType().int(),
65080
65150
  _embedded: lazyType(() => ListBalanceTransactionsEmbedded$inboundSchema),
65081
65151
  _links: ListLinks$inboundSchema
@@ -65085,7 +65155,7 @@ var init_listbalancetransactions = __esm(() => {
65085
65155
  _links: "links"
65086
65156
  });
65087
65157
  });
65088
- ListBalanceTransactionsResponse$outboundSchema = objectType({
65158
+ ListBalanceTransactionsResponseBody$outboundSchema = objectType({
65089
65159
  count: numberType().int(),
65090
65160
  embedded: lazyType(() => ListBalanceTransactionsEmbedded$outboundSchema),
65091
65161
  links: ListLinks$outboundSchema
@@ -65095,6 +65165,20 @@ var init_listbalancetransactions = __esm(() => {
65095
65165
  links: "_links"
65096
65166
  });
65097
65167
  });
65168
+ ListBalanceTransactionsResponse$inboundSchema = objectType({
65169
+ Result: lazyType(() => ListBalanceTransactionsResponseBody$inboundSchema)
65170
+ }).transform((v2) => {
65171
+ return remap(v2, {
65172
+ Result: "result"
65173
+ });
65174
+ });
65175
+ ListBalanceTransactionsResponse$outboundSchema = objectType({
65176
+ result: lazyType(() => ListBalanceTransactionsResponseBody$outboundSchema)
65177
+ }).transform((v2) => {
65178
+ return remap(v2, {
65179
+ result: "Result"
65180
+ });
65181
+ });
65098
65182
  });
65099
65183
 
65100
65184
  // src/models/operations/listcapabilities.ts
@@ -65152,7 +65236,7 @@ var init_listcapabilities = __esm(() => {
65152
65236
  });
65153
65237
 
65154
65238
  // src/models/operations/listcaptures.ts
65155
- var ListCapturesGlobals$inboundSchema, ListCapturesGlobals$outboundSchema, ListCapturesRequest$inboundSchema, ListCapturesRequest$outboundSchema, ListCapturesEmbedded$inboundSchema, ListCapturesEmbedded$outboundSchema, ListCapturesResponse$inboundSchema, ListCapturesResponse$outboundSchema;
65239
+ var ListCapturesGlobals$inboundSchema, ListCapturesGlobals$outboundSchema, ListCapturesRequest$inboundSchema, ListCapturesRequest$outboundSchema, ListCapturesEmbedded$inboundSchema, ListCapturesEmbedded$outboundSchema, ListCapturesResponseBody$inboundSchema, ListCapturesResponseBody$outboundSchema, ListCapturesResponse$inboundSchema, ListCapturesResponse$outboundSchema;
65156
65240
  var init_listcaptures = __esm(() => {
65157
65241
  init_esm();
65158
65242
  init_primitives();
@@ -65193,7 +65277,7 @@ var init_listcaptures = __esm(() => {
65193
65277
  ListCapturesEmbedded$outboundSchema = objectType({
65194
65278
  captures: arrayType(ListCaptureResponse$outboundSchema)
65195
65279
  });
65196
- ListCapturesResponse$inboundSchema = objectType({
65280
+ ListCapturesResponseBody$inboundSchema = objectType({
65197
65281
  count: numberType().int(),
65198
65282
  _embedded: lazyType(() => ListCapturesEmbedded$inboundSchema),
65199
65283
  _links: ListLinks$inboundSchema
@@ -65203,7 +65287,7 @@ var init_listcaptures = __esm(() => {
65203
65287
  _links: "links"
65204
65288
  });
65205
65289
  });
65206
- ListCapturesResponse$outboundSchema = objectType({
65290
+ ListCapturesResponseBody$outboundSchema = objectType({
65207
65291
  count: numberType().int(),
65208
65292
  embedded: lazyType(() => ListCapturesEmbedded$outboundSchema),
65209
65293
  links: ListLinks$outboundSchema
@@ -65213,10 +65297,24 @@ var init_listcaptures = __esm(() => {
65213
65297
  links: "_links"
65214
65298
  });
65215
65299
  });
65300
+ ListCapturesResponse$inboundSchema = objectType({
65301
+ Result: lazyType(() => ListCapturesResponseBody$inboundSchema)
65302
+ }).transform((v2) => {
65303
+ return remap(v2, {
65304
+ Result: "result"
65305
+ });
65306
+ });
65307
+ ListCapturesResponse$outboundSchema = objectType({
65308
+ result: lazyType(() => ListCapturesResponseBody$outboundSchema)
65309
+ }).transform((v2) => {
65310
+ return remap(v2, {
65311
+ result: "Result"
65312
+ });
65313
+ });
65216
65314
  });
65217
65315
 
65218
65316
  // src/models/operations/listchargebacks.ts
65219
- var ListChargebacksGlobals$inboundSchema, ListChargebacksGlobals$outboundSchema, ListChargebacksRequest$inboundSchema, ListChargebacksRequest$outboundSchema, ListChargebacksEmbedded$inboundSchema, ListChargebacksEmbedded$outboundSchema, ListChargebacksResponse$inboundSchema, ListChargebacksResponse$outboundSchema;
65317
+ var ListChargebacksGlobals$inboundSchema, ListChargebacksGlobals$outboundSchema, ListChargebacksRequest$inboundSchema, ListChargebacksRequest$outboundSchema, ListChargebacksEmbedded$inboundSchema, ListChargebacksEmbedded$outboundSchema, ListChargebacksResponseBody$inboundSchema, ListChargebacksResponseBody$outboundSchema, ListChargebacksResponse$inboundSchema, ListChargebacksResponse$outboundSchema;
65220
65318
  var init_listchargebacks = __esm(() => {
65221
65319
  init_esm();
65222
65320
  init_primitives();
@@ -65257,7 +65355,7 @@ var init_listchargebacks = __esm(() => {
65257
65355
  ListChargebacksEmbedded$outboundSchema = objectType({
65258
65356
  chargebacks: arrayType(ListEntityChargeback$outboundSchema)
65259
65357
  });
65260
- ListChargebacksResponse$inboundSchema = objectType({
65358
+ ListChargebacksResponseBody$inboundSchema = objectType({
65261
65359
  count: numberType().int(),
65262
65360
  _embedded: lazyType(() => ListChargebacksEmbedded$inboundSchema),
65263
65361
  _links: ListLinks$inboundSchema
@@ -65267,7 +65365,7 @@ var init_listchargebacks = __esm(() => {
65267
65365
  _links: "links"
65268
65366
  });
65269
65367
  });
65270
- ListChargebacksResponse$outboundSchema = objectType({
65368
+ ListChargebacksResponseBody$outboundSchema = objectType({
65271
65369
  count: numberType().int(),
65272
65370
  embedded: lazyType(() => ListChargebacksEmbedded$outboundSchema),
65273
65371
  links: ListLinks$outboundSchema
@@ -65277,10 +65375,24 @@ var init_listchargebacks = __esm(() => {
65277
65375
  links: "_links"
65278
65376
  });
65279
65377
  });
65378
+ ListChargebacksResponse$inboundSchema = objectType({
65379
+ Result: lazyType(() => ListChargebacksResponseBody$inboundSchema)
65380
+ }).transform((v2) => {
65381
+ return remap(v2, {
65382
+ Result: "result"
65383
+ });
65384
+ });
65385
+ ListChargebacksResponse$outboundSchema = objectType({
65386
+ result: lazyType(() => ListChargebacksResponseBody$outboundSchema)
65387
+ }).transform((v2) => {
65388
+ return remap(v2, {
65389
+ result: "Result"
65390
+ });
65391
+ });
65280
65392
  });
65281
65393
 
65282
65394
  // src/models/operations/listclients.ts
65283
- var ListClientsRequest$inboundSchema, ListClientsRequest$outboundSchema, ListClientsCommission$inboundSchema, ListClientsCommission$outboundSchema, ListClientsLinks$inboundSchema, ListClientsLinks$outboundSchema, ClientEmbedded$inboundSchema, ClientEmbedded$outboundSchema, Client$inboundSchema, Client$outboundSchema, ListClientsEmbedded$inboundSchema, ListClientsEmbedded$outboundSchema, ListClientsResponse$inboundSchema, ListClientsResponse$outboundSchema;
65395
+ var ListClientsRequest$inboundSchema, ListClientsRequest$outboundSchema, ListClientsCommission$inboundSchema, ListClientsCommission$outboundSchema, ListClientsLinks$inboundSchema, ListClientsLinks$outboundSchema, ClientEmbedded$inboundSchema, ClientEmbedded$outboundSchema, Client$inboundSchema, Client$outboundSchema, ListClientsEmbedded$inboundSchema, ListClientsEmbedded$outboundSchema, ListClientsResponseBody$inboundSchema, ListClientsResponseBody$outboundSchema, ListClientsResponse$inboundSchema, ListClientsResponse$outboundSchema;
65284
65396
  var init_listclients = __esm(() => {
65285
65397
  init_esm();
65286
65398
  init_primitives();
@@ -65363,7 +65475,7 @@ var init_listclients = __esm(() => {
65363
65475
  ListClientsEmbedded$outboundSchema = objectType({
65364
65476
  clients: arrayType(lazyType(() => Client$outboundSchema)).optional()
65365
65477
  });
65366
- ListClientsResponse$inboundSchema = objectType({
65478
+ ListClientsResponseBody$inboundSchema = objectType({
65367
65479
  count: numberType().int().optional(),
65368
65480
  _embedded: lazyType(() => ListClientsEmbedded$inboundSchema).optional(),
65369
65481
  _links: ListLinks$inboundSchema.optional()
@@ -65373,7 +65485,7 @@ var init_listclients = __esm(() => {
65373
65485
  _links: "links"
65374
65486
  });
65375
65487
  });
65376
- ListClientsResponse$outboundSchema = objectType({
65488
+ ListClientsResponseBody$outboundSchema = objectType({
65377
65489
  count: numberType().int().optional(),
65378
65490
  embedded: lazyType(() => ListClientsEmbedded$outboundSchema).optional(),
65379
65491
  links: ListLinks$outboundSchema.optional()
@@ -65383,10 +65495,24 @@ var init_listclients = __esm(() => {
65383
65495
  links: "_links"
65384
65496
  });
65385
65497
  });
65498
+ ListClientsResponse$inboundSchema = objectType({
65499
+ Result: lazyType(() => ListClientsResponseBody$inboundSchema)
65500
+ }).transform((v2) => {
65501
+ return remap(v2, {
65502
+ Result: "result"
65503
+ });
65504
+ });
65505
+ ListClientsResponse$outboundSchema = objectType({
65506
+ result: lazyType(() => ListClientsResponseBody$outboundSchema)
65507
+ }).transform((v2) => {
65508
+ return remap(v2, {
65509
+ result: "Result"
65510
+ });
65511
+ });
65386
65512
  });
65387
65513
 
65388
65514
  // src/models/operations/listconnectbalancetransfers.ts
65389
- var ListConnectBalanceTransfersGlobals$inboundSchema, ListConnectBalanceTransfersGlobals$outboundSchema, ListConnectBalanceTransfersRequest$inboundSchema, ListConnectBalanceTransfersRequest$outboundSchema, ListConnectBalanceTransfersEmbedded$inboundSchema, ListConnectBalanceTransfersEmbedded$outboundSchema, ListConnectBalanceTransfersResponse$inboundSchema, ListConnectBalanceTransfersResponse$outboundSchema;
65515
+ var ListConnectBalanceTransfersGlobals$inboundSchema, ListConnectBalanceTransfersGlobals$outboundSchema, ListConnectBalanceTransfersRequest$inboundSchema, ListConnectBalanceTransfersRequest$outboundSchema, ListConnectBalanceTransfersEmbedded$inboundSchema, ListConnectBalanceTransfersEmbedded$outboundSchema, ListConnectBalanceTransfersResponseBody$inboundSchema, ListConnectBalanceTransfersResponseBody$outboundSchema, ListConnectBalanceTransfersResponse$inboundSchema, ListConnectBalanceTransfersResponse$outboundSchema;
65390
65516
  var init_listconnectbalancetransfers = __esm(() => {
65391
65517
  init_esm();
65392
65518
  init_primitives();
@@ -65433,7 +65559,7 @@ var init_listconnectbalancetransfers = __esm(() => {
65433
65559
  connectBalanceTransfers: "connect_balance_transfers"
65434
65560
  });
65435
65561
  });
65436
- ListConnectBalanceTransfersResponse$inboundSchema = objectType({
65562
+ ListConnectBalanceTransfersResponseBody$inboundSchema = objectType({
65437
65563
  count: numberType().int(),
65438
65564
  _embedded: lazyType(() => ListConnectBalanceTransfersEmbedded$inboundSchema),
65439
65565
  _links: ListLinks$inboundSchema
@@ -65443,7 +65569,7 @@ var init_listconnectbalancetransfers = __esm(() => {
65443
65569
  _links: "links"
65444
65570
  });
65445
65571
  });
65446
- ListConnectBalanceTransfersResponse$outboundSchema = objectType({
65572
+ ListConnectBalanceTransfersResponseBody$outboundSchema = objectType({
65447
65573
  count: numberType().int(),
65448
65574
  embedded: lazyType(() => ListConnectBalanceTransfersEmbedded$outboundSchema),
65449
65575
  links: ListLinks$outboundSchema
@@ -65453,10 +65579,24 @@ var init_listconnectbalancetransfers = __esm(() => {
65453
65579
  links: "_links"
65454
65580
  });
65455
65581
  });
65582
+ ListConnectBalanceTransfersResponse$inboundSchema = objectType({
65583
+ Result: lazyType(() => ListConnectBalanceTransfersResponseBody$inboundSchema)
65584
+ }).transform((v2) => {
65585
+ return remap(v2, {
65586
+ Result: "result"
65587
+ });
65588
+ });
65589
+ ListConnectBalanceTransfersResponse$outboundSchema = objectType({
65590
+ result: lazyType(() => ListConnectBalanceTransfersResponseBody$outboundSchema)
65591
+ }).transform((v2) => {
65592
+ return remap(v2, {
65593
+ result: "Result"
65594
+ });
65595
+ });
65456
65596
  });
65457
65597
 
65458
65598
  // src/models/operations/listcustomerpayments.ts
65459
- var ListCustomerPaymentsGlobals$inboundSchema, ListCustomerPaymentsGlobals$outboundSchema, ListCustomerPaymentsRequest$inboundSchema, ListCustomerPaymentsRequest$outboundSchema, ListCustomerPaymentsEmbedded$inboundSchema, ListCustomerPaymentsEmbedded$outboundSchema, ListCustomerPaymentsResponse$inboundSchema, ListCustomerPaymentsResponse$outboundSchema;
65599
+ var ListCustomerPaymentsGlobals$inboundSchema, ListCustomerPaymentsGlobals$outboundSchema, ListCustomerPaymentsRequest$inboundSchema, ListCustomerPaymentsRequest$outboundSchema, ListCustomerPaymentsEmbedded$inboundSchema, ListCustomerPaymentsEmbedded$outboundSchema, ListCustomerPaymentsResponseBody$inboundSchema, ListCustomerPaymentsResponseBody$outboundSchema, ListCustomerPaymentsResponse$inboundSchema, ListCustomerPaymentsResponse$outboundSchema;
65460
65600
  var init_listcustomerpayments = __esm(() => {
65461
65601
  init_esm();
65462
65602
  init_primitives();
@@ -65501,7 +65641,7 @@ var init_listcustomerpayments = __esm(() => {
65501
65641
  ListCustomerPaymentsEmbedded$outboundSchema = objectType({
65502
65642
  payments: arrayType(ListPaymentResponse$outboundSchema).optional()
65503
65643
  });
65504
- ListCustomerPaymentsResponse$inboundSchema = objectType({
65644
+ ListCustomerPaymentsResponseBody$inboundSchema = objectType({
65505
65645
  count: numberType().int(),
65506
65646
  _embedded: lazyType(() => ListCustomerPaymentsEmbedded$inboundSchema),
65507
65647
  _links: ListLinks$inboundSchema
@@ -65511,7 +65651,7 @@ var init_listcustomerpayments = __esm(() => {
65511
65651
  _links: "links"
65512
65652
  });
65513
65653
  });
65514
- ListCustomerPaymentsResponse$outboundSchema = objectType({
65654
+ ListCustomerPaymentsResponseBody$outboundSchema = objectType({
65515
65655
  count: numberType().int(),
65516
65656
  embedded: lazyType(() => ListCustomerPaymentsEmbedded$outboundSchema),
65517
65657
  links: ListLinks$outboundSchema
@@ -65521,10 +65661,24 @@ var init_listcustomerpayments = __esm(() => {
65521
65661
  links: "_links"
65522
65662
  });
65523
65663
  });
65664
+ ListCustomerPaymentsResponse$inboundSchema = objectType({
65665
+ Result: lazyType(() => ListCustomerPaymentsResponseBody$inboundSchema)
65666
+ }).transform((v2) => {
65667
+ return remap(v2, {
65668
+ Result: "result"
65669
+ });
65670
+ });
65671
+ ListCustomerPaymentsResponse$outboundSchema = objectType({
65672
+ result: lazyType(() => ListCustomerPaymentsResponseBody$outboundSchema)
65673
+ }).transform((v2) => {
65674
+ return remap(v2, {
65675
+ result: "Result"
65676
+ });
65677
+ });
65524
65678
  });
65525
65679
 
65526
65680
  // src/models/operations/listcustomers.ts
65527
- var ListCustomersGlobals$inboundSchema, ListCustomersGlobals$outboundSchema, ListCustomersRequest$inboundSchema, ListCustomersRequest$outboundSchema, ListCustomersEmbedded$inboundSchema, ListCustomersEmbedded$outboundSchema, ListCustomersResponse$inboundSchema, ListCustomersResponse$outboundSchema;
65681
+ var ListCustomersGlobals$inboundSchema, ListCustomersGlobals$outboundSchema, ListCustomersRequest$inboundSchema, ListCustomersRequest$outboundSchema, ListCustomersEmbedded$inboundSchema, ListCustomersEmbedded$outboundSchema, ListCustomersResponseBody$inboundSchema, ListCustomersResponseBody$outboundSchema, ListCustomersResponse$inboundSchema, ListCustomersResponse$outboundSchema;
65528
65682
  var init_listcustomers = __esm(() => {
65529
65683
  init_esm();
65530
65684
  init_primitives();
@@ -65563,7 +65717,7 @@ var init_listcustomers = __esm(() => {
65563
65717
  ListCustomersEmbedded$outboundSchema = objectType({
65564
65718
  customers: arrayType(ListCustomerResponse$outboundSchema)
65565
65719
  });
65566
- ListCustomersResponse$inboundSchema = objectType({
65720
+ ListCustomersResponseBody$inboundSchema = objectType({
65567
65721
  count: numberType().int(),
65568
65722
  _embedded: lazyType(() => ListCustomersEmbedded$inboundSchema),
65569
65723
  _links: ListLinks$inboundSchema
@@ -65573,7 +65727,7 @@ var init_listcustomers = __esm(() => {
65573
65727
  _links: "links"
65574
65728
  });
65575
65729
  });
65576
- ListCustomersResponse$outboundSchema = objectType({
65730
+ ListCustomersResponseBody$outboundSchema = objectType({
65577
65731
  count: numberType().int(),
65578
65732
  embedded: lazyType(() => ListCustomersEmbedded$outboundSchema),
65579
65733
  links: ListLinks$outboundSchema
@@ -65583,10 +65737,24 @@ var init_listcustomers = __esm(() => {
65583
65737
  links: "_links"
65584
65738
  });
65585
65739
  });
65740
+ ListCustomersResponse$inboundSchema = objectType({
65741
+ Result: lazyType(() => ListCustomersResponseBody$inboundSchema)
65742
+ }).transform((v2) => {
65743
+ return remap(v2, {
65744
+ Result: "result"
65745
+ });
65746
+ });
65747
+ ListCustomersResponse$outboundSchema = objectType({
65748
+ result: lazyType(() => ListCustomersResponseBody$outboundSchema)
65749
+ }).transform((v2) => {
65750
+ return remap(v2, {
65751
+ result: "Result"
65752
+ });
65753
+ });
65586
65754
  });
65587
65755
 
65588
65756
  // src/models/operations/listinvoices.ts
65589
- var ListInvoicesRequest$inboundSchema, ListInvoicesRequest$outboundSchema, ListInvoicesEmbedded$inboundSchema, ListInvoicesEmbedded$outboundSchema, ListInvoicesResponse$inboundSchema, ListInvoicesResponse$outboundSchema;
65757
+ var ListInvoicesRequest$inboundSchema, ListInvoicesRequest$outboundSchema, ListInvoicesEmbedded$inboundSchema, ListInvoicesEmbedded$outboundSchema, ListInvoicesResponseBody$inboundSchema, ListInvoicesResponseBody$outboundSchema, ListInvoicesResponse$inboundSchema, ListInvoicesResponse$outboundSchema;
65590
65758
  var init_listinvoices = __esm(() => {
65591
65759
  init_esm();
65592
65760
  init_primitives();
@@ -65621,7 +65789,7 @@ var init_listinvoices = __esm(() => {
65621
65789
  ListInvoicesEmbedded$outboundSchema = objectType({
65622
65790
  invoices: arrayType(ListEntityInvoice$outboundSchema)
65623
65791
  });
65624
- ListInvoicesResponse$inboundSchema = objectType({
65792
+ ListInvoicesResponseBody$inboundSchema = objectType({
65625
65793
  count: numberType().int(),
65626
65794
  _embedded: lazyType(() => ListInvoicesEmbedded$inboundSchema),
65627
65795
  _links: ListLinks$inboundSchema
@@ -65631,7 +65799,7 @@ var init_listinvoices = __esm(() => {
65631
65799
  _links: "links"
65632
65800
  });
65633
65801
  });
65634
- ListInvoicesResponse$outboundSchema = objectType({
65802
+ ListInvoicesResponseBody$outboundSchema = objectType({
65635
65803
  count: numberType().int(),
65636
65804
  embedded: lazyType(() => ListInvoicesEmbedded$outboundSchema),
65637
65805
  links: ListLinks$outboundSchema
@@ -65641,10 +65809,24 @@ var init_listinvoices = __esm(() => {
65641
65809
  links: "_links"
65642
65810
  });
65643
65811
  });
65812
+ ListInvoicesResponse$inboundSchema = objectType({
65813
+ Result: lazyType(() => ListInvoicesResponseBody$inboundSchema)
65814
+ }).transform((v2) => {
65815
+ return remap(v2, {
65816
+ Result: "result"
65817
+ });
65818
+ });
65819
+ ListInvoicesResponse$outboundSchema = objectType({
65820
+ result: lazyType(() => ListInvoicesResponseBody$outboundSchema)
65821
+ }).transform((v2) => {
65822
+ return remap(v2, {
65823
+ result: "Result"
65824
+ });
65825
+ });
65644
65826
  });
65645
65827
 
65646
65828
  // src/models/operations/listmandates.ts
65647
- var ListMandatesGlobals$inboundSchema, ListMandatesGlobals$outboundSchema, ListMandatesRequest$inboundSchema, ListMandatesRequest$outboundSchema, ListMandatesEmbedded$inboundSchema, ListMandatesEmbedded$outboundSchema, ListMandatesResponse$inboundSchema, ListMandatesResponse$outboundSchema;
65829
+ var ListMandatesGlobals$inboundSchema, ListMandatesGlobals$outboundSchema, ListMandatesRequest$inboundSchema, ListMandatesRequest$outboundSchema, ListMandatesEmbedded$inboundSchema, ListMandatesEmbedded$outboundSchema, ListMandatesResponseBody$inboundSchema, ListMandatesResponseBody$outboundSchema, ListMandatesResponse$inboundSchema, ListMandatesResponse$outboundSchema;
65648
65830
  var init_listmandates = __esm(() => {
65649
65831
  init_esm();
65650
65832
  init_primitives();
@@ -65685,7 +65867,7 @@ var init_listmandates = __esm(() => {
65685
65867
  ListMandatesEmbedded$outboundSchema = objectType({
65686
65868
  mandates: arrayType(ListMandateResponse$outboundSchema)
65687
65869
  });
65688
- ListMandatesResponse$inboundSchema = objectType({
65870
+ ListMandatesResponseBody$inboundSchema = objectType({
65689
65871
  count: numberType().int(),
65690
65872
  _embedded: lazyType(() => ListMandatesEmbedded$inboundSchema),
65691
65873
  _links: ListLinks$inboundSchema
@@ -65695,7 +65877,7 @@ var init_listmandates = __esm(() => {
65695
65877
  _links: "links"
65696
65878
  });
65697
65879
  });
65698
- ListMandatesResponse$outboundSchema = objectType({
65880
+ ListMandatesResponseBody$outboundSchema = objectType({
65699
65881
  count: numberType().int(),
65700
65882
  embedded: lazyType(() => ListMandatesEmbedded$outboundSchema),
65701
65883
  links: ListLinks$outboundSchema
@@ -65705,6 +65887,20 @@ var init_listmandates = __esm(() => {
65705
65887
  links: "_links"
65706
65888
  });
65707
65889
  });
65890
+ ListMandatesResponse$inboundSchema = objectType({
65891
+ Result: lazyType(() => ListMandatesResponseBody$inboundSchema)
65892
+ }).transform((v2) => {
65893
+ return remap(v2, {
65894
+ Result: "result"
65895
+ });
65896
+ });
65897
+ ListMandatesResponse$outboundSchema = objectType({
65898
+ result: lazyType(() => ListMandatesResponseBody$outboundSchema)
65899
+ }).transform((v2) => {
65900
+ return remap(v2, {
65901
+ result: "Result"
65902
+ });
65903
+ });
65708
65904
  });
65709
65905
 
65710
65906
  // src/models/operations/listmethods.ts
@@ -65792,7 +65988,7 @@ var init_listmethods = __esm(() => {
65792
65988
  });
65793
65989
 
65794
65990
  // src/models/operations/listpaymentlinks.ts
65795
- var ListPaymentLinksGlobals$inboundSchema, ListPaymentLinksGlobals$outboundSchema, ListPaymentLinksRequest$inboundSchema, ListPaymentLinksRequest$outboundSchema, ListPaymentLinksEmbedded$inboundSchema, ListPaymentLinksEmbedded$outboundSchema, ListPaymentLinksResponse$inboundSchema, ListPaymentLinksResponse$outboundSchema;
65991
+ var ListPaymentLinksGlobals$inboundSchema, ListPaymentLinksGlobals$outboundSchema, ListPaymentLinksRequest$inboundSchema, ListPaymentLinksRequest$outboundSchema, ListPaymentLinksEmbedded$inboundSchema, ListPaymentLinksEmbedded$outboundSchema, ListPaymentLinksResponseBody$inboundSchema, ListPaymentLinksResponseBody$outboundSchema, ListPaymentLinksResponse$inboundSchema, ListPaymentLinksResponse$outboundSchema;
65796
65992
  var init_listpaymentlinks = __esm(() => {
65797
65993
  init_esm();
65798
65994
  init_primitives();
@@ -65837,7 +66033,7 @@ var init_listpaymentlinks = __esm(() => {
65837
66033
  paymentLinks: "payment_links"
65838
66034
  });
65839
66035
  });
65840
- ListPaymentLinksResponse$inboundSchema = objectType({
66036
+ ListPaymentLinksResponseBody$inboundSchema = objectType({
65841
66037
  count: numberType().int(),
65842
66038
  _embedded: lazyType(() => ListPaymentLinksEmbedded$inboundSchema),
65843
66039
  _links: ListLinks$inboundSchema
@@ -65847,7 +66043,7 @@ var init_listpaymentlinks = __esm(() => {
65847
66043
  _links: "links"
65848
66044
  });
65849
66045
  });
65850
- ListPaymentLinksResponse$outboundSchema = objectType({
66046
+ ListPaymentLinksResponseBody$outboundSchema = objectType({
65851
66047
  count: numberType().int(),
65852
66048
  embedded: lazyType(() => ListPaymentLinksEmbedded$outboundSchema),
65853
66049
  links: ListLinks$outboundSchema
@@ -65857,10 +66053,24 @@ var init_listpaymentlinks = __esm(() => {
65857
66053
  links: "_links"
65858
66054
  });
65859
66055
  });
66056
+ ListPaymentLinksResponse$inboundSchema = objectType({
66057
+ Result: lazyType(() => ListPaymentLinksResponseBody$inboundSchema)
66058
+ }).transform((v2) => {
66059
+ return remap(v2, {
66060
+ Result: "result"
66061
+ });
66062
+ });
66063
+ ListPaymentLinksResponse$outboundSchema = objectType({
66064
+ result: lazyType(() => ListPaymentLinksResponseBody$outboundSchema)
66065
+ }).transform((v2) => {
66066
+ return remap(v2, {
66067
+ result: "Result"
66068
+ });
66069
+ });
65860
66070
  });
65861
66071
 
65862
66072
  // src/models/operations/listpayments.ts
65863
- var ListPaymentsGlobals$inboundSchema, ListPaymentsGlobals$outboundSchema, ListPaymentsRequest$inboundSchema, ListPaymentsRequest$outboundSchema, ListPaymentsEmbedded$inboundSchema, ListPaymentsEmbedded$outboundSchema, ListPaymentsResponse$inboundSchema, ListPaymentsResponse$outboundSchema;
66073
+ var ListPaymentsGlobals$inboundSchema, ListPaymentsGlobals$outboundSchema, ListPaymentsRequest$inboundSchema, ListPaymentsRequest$outboundSchema, ListPaymentsEmbedded$inboundSchema, ListPaymentsEmbedded$outboundSchema, ListPaymentsResponseBody$inboundSchema, ListPaymentsResponseBody$outboundSchema, ListPaymentsResponse$inboundSchema, ListPaymentsResponse$outboundSchema;
65864
66074
  var init_listpayments = __esm(() => {
65865
66075
  init_esm();
65866
66076
  init_primitives();
@@ -65903,7 +66113,7 @@ var init_listpayments = __esm(() => {
65903
66113
  ListPaymentsEmbedded$outboundSchema = objectType({
65904
66114
  payments: arrayType(ListPaymentResponse$outboundSchema).optional()
65905
66115
  });
65906
- ListPaymentsResponse$inboundSchema = objectType({
66116
+ ListPaymentsResponseBody$inboundSchema = objectType({
65907
66117
  count: numberType().int(),
65908
66118
  _embedded: lazyType(() => ListPaymentsEmbedded$inboundSchema),
65909
66119
  _links: ListLinks$inboundSchema
@@ -65913,7 +66123,7 @@ var init_listpayments = __esm(() => {
65913
66123
  _links: "links"
65914
66124
  });
65915
66125
  });
65916
- ListPaymentsResponse$outboundSchema = objectType({
66126
+ ListPaymentsResponseBody$outboundSchema = objectType({
65917
66127
  count: numberType().int(),
65918
66128
  embedded: lazyType(() => ListPaymentsEmbedded$outboundSchema),
65919
66129
  links: ListLinks$outboundSchema
@@ -65923,6 +66133,20 @@ var init_listpayments = __esm(() => {
65923
66133
  links: "_links"
65924
66134
  });
65925
66135
  });
66136
+ ListPaymentsResponse$inboundSchema = objectType({
66137
+ Result: lazyType(() => ListPaymentsResponseBody$inboundSchema)
66138
+ }).transform((v2) => {
66139
+ return remap(v2, {
66140
+ Result: "result"
66141
+ });
66142
+ });
66143
+ ListPaymentsResponse$outboundSchema = objectType({
66144
+ result: lazyType(() => ListPaymentsResponseBody$outboundSchema)
66145
+ }).transform((v2) => {
66146
+ return remap(v2, {
66147
+ result: "Result"
66148
+ });
66149
+ });
65926
66150
  });
65927
66151
 
65928
66152
  // src/models/operations/listpermissions.ts
@@ -65982,7 +66206,7 @@ var init_listpermissions = __esm(() => {
65982
66206
  });
65983
66207
 
65984
66208
  // src/models/operations/listprofiles.ts
65985
- var ListProfilesRequest$inboundSchema, ListProfilesRequest$outboundSchema, ListProfilesEmbedded$inboundSchema, ListProfilesEmbedded$outboundSchema, ListProfilesResponse$inboundSchema, ListProfilesResponse$outboundSchema;
66209
+ var ListProfilesRequest$inboundSchema, ListProfilesRequest$outboundSchema, ListProfilesEmbedded$inboundSchema, ListProfilesEmbedded$outboundSchema, ListProfilesResponseBody$inboundSchema, ListProfilesResponseBody$outboundSchema, ListProfilesResponse$inboundSchema, ListProfilesResponse$outboundSchema;
65986
66210
  var init_listprofiles = __esm(() => {
65987
66211
  init_esm();
65988
66212
  init_primitives();
@@ -66011,7 +66235,7 @@ var init_listprofiles = __esm(() => {
66011
66235
  ListProfilesEmbedded$outboundSchema = objectType({
66012
66236
  profiles: arrayType(ListProfileResponse$outboundSchema)
66013
66237
  });
66014
- ListProfilesResponse$inboundSchema = objectType({
66238
+ ListProfilesResponseBody$inboundSchema = objectType({
66015
66239
  count: numberType().int(),
66016
66240
  _embedded: lazyType(() => ListProfilesEmbedded$inboundSchema),
66017
66241
  _links: ListLinks$inboundSchema
@@ -66021,7 +66245,7 @@ var init_listprofiles = __esm(() => {
66021
66245
  _links: "links"
66022
66246
  });
66023
66247
  });
66024
- ListProfilesResponse$outboundSchema = objectType({
66248
+ ListProfilesResponseBody$outboundSchema = objectType({
66025
66249
  count: numberType().int(),
66026
66250
  embedded: lazyType(() => ListProfilesEmbedded$outboundSchema),
66027
66251
  links: ListLinks$outboundSchema
@@ -66031,10 +66255,24 @@ var init_listprofiles = __esm(() => {
66031
66255
  links: "_links"
66032
66256
  });
66033
66257
  });
66258
+ ListProfilesResponse$inboundSchema = objectType({
66259
+ Result: lazyType(() => ListProfilesResponseBody$inboundSchema)
66260
+ }).transform((v2) => {
66261
+ return remap(v2, {
66262
+ Result: "result"
66263
+ });
66264
+ });
66265
+ ListProfilesResponse$outboundSchema = objectType({
66266
+ result: lazyType(() => ListProfilesResponseBody$outboundSchema)
66267
+ }).transform((v2) => {
66268
+ return remap(v2, {
66269
+ result: "Result"
66270
+ });
66271
+ });
66034
66272
  });
66035
66273
 
66036
66274
  // src/models/operations/listrefunds.ts
66037
- var ListRefundsGlobals$inboundSchema, ListRefundsGlobals$outboundSchema, ListRefundsRequest$inboundSchema, ListRefundsRequest$outboundSchema, ListRefundsEmbedded$inboundSchema, ListRefundsEmbedded$outboundSchema, ListRefundsResponse$inboundSchema, ListRefundsResponse$outboundSchema;
66275
+ var ListRefundsGlobals$inboundSchema, ListRefundsGlobals$outboundSchema, ListRefundsRequest$inboundSchema, ListRefundsRequest$outboundSchema, ListRefundsEmbedded$inboundSchema, ListRefundsEmbedded$outboundSchema, ListRefundsResponseBody$inboundSchema, ListRefundsResponseBody$outboundSchema, ListRefundsResponse$inboundSchema, ListRefundsResponse$outboundSchema;
66038
66276
  var init_listrefunds = __esm(() => {
66039
66277
  init_esm();
66040
66278
  init_primitives();
@@ -66075,7 +66313,7 @@ var init_listrefunds = __esm(() => {
66075
66313
  ListRefundsEmbedded$outboundSchema = objectType({
66076
66314
  refunds: arrayType(ListEntityRefund$outboundSchema)
66077
66315
  });
66078
- ListRefundsResponse$inboundSchema = objectType({
66316
+ ListRefundsResponseBody$inboundSchema = objectType({
66079
66317
  count: numberType().int(),
66080
66318
  _embedded: lazyType(() => ListRefundsEmbedded$inboundSchema),
66081
66319
  _links: ListLinks$inboundSchema
@@ -66085,7 +66323,7 @@ var init_listrefunds = __esm(() => {
66085
66323
  _links: "links"
66086
66324
  });
66087
66325
  });
66088
- ListRefundsResponse$outboundSchema = objectType({
66326
+ ListRefundsResponseBody$outboundSchema = objectType({
66089
66327
  count: numberType().int(),
66090
66328
  embedded: lazyType(() => ListRefundsEmbedded$outboundSchema),
66091
66329
  links: ListLinks$outboundSchema
@@ -66095,10 +66333,24 @@ var init_listrefunds = __esm(() => {
66095
66333
  links: "_links"
66096
66334
  });
66097
66335
  });
66336
+ ListRefundsResponse$inboundSchema = objectType({
66337
+ Result: lazyType(() => ListRefundsResponseBody$inboundSchema)
66338
+ }).transform((v2) => {
66339
+ return remap(v2, {
66340
+ Result: "result"
66341
+ });
66342
+ });
66343
+ ListRefundsResponse$outboundSchema = objectType({
66344
+ result: lazyType(() => ListRefundsResponseBody$outboundSchema)
66345
+ }).transform((v2) => {
66346
+ return remap(v2, {
66347
+ result: "Result"
66348
+ });
66349
+ });
66098
66350
  });
66099
66351
 
66100
66352
  // src/models/operations/listsalesinvoices.ts
66101
- var ListSalesInvoicesGlobals$inboundSchema, ListSalesInvoicesGlobals$outboundSchema, ListSalesInvoicesRequest$inboundSchema, ListSalesInvoicesRequest$outboundSchema, ListSalesInvoicesEmbedded$inboundSchema, ListSalesInvoicesEmbedded$outboundSchema, ListSalesInvoicesResponse$inboundSchema, ListSalesInvoicesResponse$outboundSchema;
66353
+ var ListSalesInvoicesGlobals$inboundSchema, ListSalesInvoicesGlobals$outboundSchema, ListSalesInvoicesRequest$inboundSchema, ListSalesInvoicesRequest$outboundSchema, ListSalesInvoicesEmbedded$inboundSchema, ListSalesInvoicesEmbedded$outboundSchema, ListSalesInvoicesResponseBody$inboundSchema, ListSalesInvoicesResponseBody$outboundSchema, ListSalesInvoicesResponse$inboundSchema, ListSalesInvoicesResponse$outboundSchema;
66102
66354
  var init_listsalesinvoices = __esm(() => {
66103
66355
  init_esm();
66104
66356
  init_primitives();
@@ -66143,7 +66395,7 @@ var init_listsalesinvoices = __esm(() => {
66143
66395
  salesInvoices: "sales_invoices"
66144
66396
  });
66145
66397
  });
66146
- ListSalesInvoicesResponse$inboundSchema = objectType({
66398
+ ListSalesInvoicesResponseBody$inboundSchema = objectType({
66147
66399
  count: numberType().int().optional(),
66148
66400
  _embedded: lazyType(() => ListSalesInvoicesEmbedded$inboundSchema).optional(),
66149
66401
  _links: ListLinks$inboundSchema.optional()
@@ -66153,7 +66405,7 @@ var init_listsalesinvoices = __esm(() => {
66153
66405
  _links: "links"
66154
66406
  });
66155
66407
  });
66156
- ListSalesInvoicesResponse$outboundSchema = objectType({
66408
+ ListSalesInvoicesResponseBody$outboundSchema = objectType({
66157
66409
  count: numberType().int().optional(),
66158
66410
  embedded: lazyType(() => ListSalesInvoicesEmbedded$outboundSchema).optional(),
66159
66411
  links: ListLinks$outboundSchema.optional()
@@ -66163,10 +66415,24 @@ var init_listsalesinvoices = __esm(() => {
66163
66415
  links: "_links"
66164
66416
  });
66165
66417
  });
66418
+ ListSalesInvoicesResponse$inboundSchema = objectType({
66419
+ Result: lazyType(() => ListSalesInvoicesResponseBody$inboundSchema)
66420
+ }).transform((v2) => {
66421
+ return remap(v2, {
66422
+ Result: "result"
66423
+ });
66424
+ });
66425
+ ListSalesInvoicesResponse$outboundSchema = objectType({
66426
+ result: lazyType(() => ListSalesInvoicesResponseBody$outboundSchema)
66427
+ }).transform((v2) => {
66428
+ return remap(v2, {
66429
+ result: "Result"
66430
+ });
66431
+ });
66166
66432
  });
66167
66433
 
66168
66434
  // src/models/operations/listsettlementcaptures.ts
66169
- var ListSettlementCapturesGlobals$inboundSchema, ListSettlementCapturesGlobals$outboundSchema, ListSettlementCapturesRequest$inboundSchema, ListSettlementCapturesRequest$outboundSchema, ListSettlementCapturesEmbedded$inboundSchema, ListSettlementCapturesEmbedded$outboundSchema, ListSettlementCapturesResponse$inboundSchema, ListSettlementCapturesResponse$outboundSchema;
66435
+ var ListSettlementCapturesGlobals$inboundSchema, ListSettlementCapturesGlobals$outboundSchema, ListSettlementCapturesRequest$inboundSchema, ListSettlementCapturesRequest$outboundSchema, ListSettlementCapturesEmbedded$inboundSchema, ListSettlementCapturesEmbedded$outboundSchema, ListSettlementCapturesResponseBody$inboundSchema, ListSettlementCapturesResponseBody$outboundSchema, ListSettlementCapturesResponse$inboundSchema, ListSettlementCapturesResponse$outboundSchema;
66170
66436
  var init_listsettlementcaptures = __esm(() => {
66171
66437
  init_esm();
66172
66438
  init_primitives();
@@ -66207,7 +66473,7 @@ var init_listsettlementcaptures = __esm(() => {
66207
66473
  ListSettlementCapturesEmbedded$outboundSchema = objectType({
66208
66474
  captures: arrayType(ListCaptureResponse$outboundSchema)
66209
66475
  });
66210
- ListSettlementCapturesResponse$inboundSchema = objectType({
66476
+ ListSettlementCapturesResponseBody$inboundSchema = objectType({
66211
66477
  count: numberType().int(),
66212
66478
  _embedded: lazyType(() => ListSettlementCapturesEmbedded$inboundSchema),
66213
66479
  _links: ListLinks$inboundSchema
@@ -66217,7 +66483,7 @@ var init_listsettlementcaptures = __esm(() => {
66217
66483
  _links: "links"
66218
66484
  });
66219
66485
  });
66220
- ListSettlementCapturesResponse$outboundSchema = objectType({
66486
+ ListSettlementCapturesResponseBody$outboundSchema = objectType({
66221
66487
  count: numberType().int(),
66222
66488
  embedded: lazyType(() => ListSettlementCapturesEmbedded$outboundSchema),
66223
66489
  links: ListLinks$outboundSchema
@@ -66227,10 +66493,24 @@ var init_listsettlementcaptures = __esm(() => {
66227
66493
  links: "_links"
66228
66494
  });
66229
66495
  });
66496
+ ListSettlementCapturesResponse$inboundSchema = objectType({
66497
+ Result: lazyType(() => ListSettlementCapturesResponseBody$inboundSchema)
66498
+ }).transform((v2) => {
66499
+ return remap(v2, {
66500
+ Result: "result"
66501
+ });
66502
+ });
66503
+ ListSettlementCapturesResponse$outboundSchema = objectType({
66504
+ result: lazyType(() => ListSettlementCapturesResponseBody$outboundSchema)
66505
+ }).transform((v2) => {
66506
+ return remap(v2, {
66507
+ result: "Result"
66508
+ });
66509
+ });
66230
66510
  });
66231
66511
 
66232
66512
  // src/models/operations/listsettlementchargebacks.ts
66233
- var ListSettlementChargebacksGlobals$inboundSchema, ListSettlementChargebacksGlobals$outboundSchema, ListSettlementChargebacksRequest$inboundSchema, ListSettlementChargebacksRequest$outboundSchema, ListSettlementChargebacksEmbedded$inboundSchema, ListSettlementChargebacksEmbedded$outboundSchema, ListSettlementChargebacksResponse$inboundSchema, ListSettlementChargebacksResponse$outboundSchema;
66513
+ var ListSettlementChargebacksGlobals$inboundSchema, ListSettlementChargebacksGlobals$outboundSchema, ListSettlementChargebacksRequest$inboundSchema, ListSettlementChargebacksRequest$outboundSchema, ListSettlementChargebacksEmbedded$inboundSchema, ListSettlementChargebacksEmbedded$outboundSchema, ListSettlementChargebacksResponseBody$inboundSchema, ListSettlementChargebacksResponseBody$outboundSchema, ListSettlementChargebacksResponse$inboundSchema, ListSettlementChargebacksResponse$outboundSchema;
66234
66514
  var init_listsettlementchargebacks = __esm(() => {
66235
66515
  init_esm();
66236
66516
  init_primitives();
@@ -66271,7 +66551,7 @@ var init_listsettlementchargebacks = __esm(() => {
66271
66551
  ListSettlementChargebacksEmbedded$outboundSchema = objectType({
66272
66552
  chargebacks: arrayType(ListEntityChargeback$outboundSchema)
66273
66553
  });
66274
- ListSettlementChargebacksResponse$inboundSchema = objectType({
66554
+ ListSettlementChargebacksResponseBody$inboundSchema = objectType({
66275
66555
  count: numberType().int(),
66276
66556
  _embedded: lazyType(() => ListSettlementChargebacksEmbedded$inboundSchema),
66277
66557
  _links: ListLinks$inboundSchema
@@ -66281,7 +66561,7 @@ var init_listsettlementchargebacks = __esm(() => {
66281
66561
  _links: "links"
66282
66562
  });
66283
66563
  });
66284
- ListSettlementChargebacksResponse$outboundSchema = objectType({
66564
+ ListSettlementChargebacksResponseBody$outboundSchema = objectType({
66285
66565
  count: numberType().int(),
66286
66566
  embedded: lazyType(() => ListSettlementChargebacksEmbedded$outboundSchema),
66287
66567
  links: ListLinks$outboundSchema
@@ -66291,10 +66571,24 @@ var init_listsettlementchargebacks = __esm(() => {
66291
66571
  links: "_links"
66292
66572
  });
66293
66573
  });
66574
+ ListSettlementChargebacksResponse$inboundSchema = objectType({
66575
+ Result: lazyType(() => ListSettlementChargebacksResponseBody$inboundSchema)
66576
+ }).transform((v2) => {
66577
+ return remap(v2, {
66578
+ Result: "result"
66579
+ });
66580
+ });
66581
+ ListSettlementChargebacksResponse$outboundSchema = objectType({
66582
+ result: lazyType(() => ListSettlementChargebacksResponseBody$outboundSchema)
66583
+ }).transform((v2) => {
66584
+ return remap(v2, {
66585
+ result: "Result"
66586
+ });
66587
+ });
66294
66588
  });
66295
66589
 
66296
66590
  // src/models/operations/listsettlementpayments.ts
66297
- var ListSettlementPaymentsGlobals$inboundSchema, ListSettlementPaymentsGlobals$outboundSchema, ListSettlementPaymentsRequest$inboundSchema, ListSettlementPaymentsRequest$outboundSchema, ListSettlementPaymentsEmbedded$inboundSchema, ListSettlementPaymentsEmbedded$outboundSchema, ListSettlementPaymentsResponse$inboundSchema, ListSettlementPaymentsResponse$outboundSchema;
66591
+ var ListSettlementPaymentsGlobals$inboundSchema, ListSettlementPaymentsGlobals$outboundSchema, ListSettlementPaymentsRequest$inboundSchema, ListSettlementPaymentsRequest$outboundSchema, ListSettlementPaymentsEmbedded$inboundSchema, ListSettlementPaymentsEmbedded$outboundSchema, ListSettlementPaymentsResponseBody$inboundSchema, ListSettlementPaymentsResponseBody$outboundSchema, ListSettlementPaymentsResponse$inboundSchema, ListSettlementPaymentsResponse$outboundSchema;
66298
66592
  var init_listsettlementpayments = __esm(() => {
66299
66593
  init_esm();
66300
66594
  init_primitives();
@@ -66339,7 +66633,7 @@ var init_listsettlementpayments = __esm(() => {
66339
66633
  ListSettlementPaymentsEmbedded$outboundSchema = objectType({
66340
66634
  payments: arrayType(ListPaymentResponse$outboundSchema).optional()
66341
66635
  });
66342
- ListSettlementPaymentsResponse$inboundSchema = objectType({
66636
+ ListSettlementPaymentsResponseBody$inboundSchema = objectType({
66343
66637
  count: numberType().int(),
66344
66638
  _embedded: lazyType(() => ListSettlementPaymentsEmbedded$inboundSchema),
66345
66639
  _links: ListLinks$inboundSchema
@@ -66349,7 +66643,7 @@ var init_listsettlementpayments = __esm(() => {
66349
66643
  _links: "links"
66350
66644
  });
66351
66645
  });
66352
- ListSettlementPaymentsResponse$outboundSchema = objectType({
66646
+ ListSettlementPaymentsResponseBody$outboundSchema = objectType({
66353
66647
  count: numberType().int(),
66354
66648
  embedded: lazyType(() => ListSettlementPaymentsEmbedded$outboundSchema),
66355
66649
  links: ListLinks$outboundSchema
@@ -66359,10 +66653,24 @@ var init_listsettlementpayments = __esm(() => {
66359
66653
  links: "_links"
66360
66654
  });
66361
66655
  });
66656
+ ListSettlementPaymentsResponse$inboundSchema = objectType({
66657
+ Result: lazyType(() => ListSettlementPaymentsResponseBody$inboundSchema)
66658
+ }).transform((v2) => {
66659
+ return remap(v2, {
66660
+ Result: "result"
66661
+ });
66662
+ });
66663
+ ListSettlementPaymentsResponse$outboundSchema = objectType({
66664
+ result: lazyType(() => ListSettlementPaymentsResponseBody$outboundSchema)
66665
+ }).transform((v2) => {
66666
+ return remap(v2, {
66667
+ result: "Result"
66668
+ });
66669
+ });
66362
66670
  });
66363
66671
 
66364
66672
  // src/models/operations/listsettlementrefunds.ts
66365
- var ListSettlementRefundsGlobals$inboundSchema, ListSettlementRefundsGlobals$outboundSchema, ListSettlementRefundsRequest$inboundSchema, ListSettlementRefundsRequest$outboundSchema, ListSettlementRefundsEmbedded$inboundSchema, ListSettlementRefundsEmbedded$outboundSchema, ListSettlementRefundsResponse$inboundSchema, ListSettlementRefundsResponse$outboundSchema;
66673
+ var ListSettlementRefundsGlobals$inboundSchema, ListSettlementRefundsGlobals$outboundSchema, ListSettlementRefundsRequest$inboundSchema, ListSettlementRefundsRequest$outboundSchema, ListSettlementRefundsEmbedded$inboundSchema, ListSettlementRefundsEmbedded$outboundSchema, ListSettlementRefundsResponseBody$inboundSchema, ListSettlementRefundsResponseBody$outboundSchema, ListSettlementRefundsResponse$inboundSchema, ListSettlementRefundsResponse$outboundSchema;
66366
66674
  var init_listsettlementrefunds = __esm(() => {
66367
66675
  init_esm();
66368
66676
  init_primitives();
@@ -66403,7 +66711,7 @@ var init_listsettlementrefunds = __esm(() => {
66403
66711
  ListSettlementRefundsEmbedded$outboundSchema = objectType({
66404
66712
  refunds: arrayType(ListEntityRefund$outboundSchema)
66405
66713
  });
66406
- ListSettlementRefundsResponse$inboundSchema = objectType({
66714
+ ListSettlementRefundsResponseBody$inboundSchema = objectType({
66407
66715
  count: numberType().int(),
66408
66716
  _embedded: lazyType(() => ListSettlementRefundsEmbedded$inboundSchema),
66409
66717
  _links: ListLinks$inboundSchema
@@ -66413,7 +66721,7 @@ var init_listsettlementrefunds = __esm(() => {
66413
66721
  _links: "links"
66414
66722
  });
66415
66723
  });
66416
- ListSettlementRefundsResponse$outboundSchema = objectType({
66724
+ ListSettlementRefundsResponseBody$outboundSchema = objectType({
66417
66725
  count: numberType().int(),
66418
66726
  embedded: lazyType(() => ListSettlementRefundsEmbedded$outboundSchema),
66419
66727
  links: ListLinks$outboundSchema
@@ -66423,10 +66731,24 @@ var init_listsettlementrefunds = __esm(() => {
66423
66731
  links: "_links"
66424
66732
  });
66425
66733
  });
66734
+ ListSettlementRefundsResponse$inboundSchema = objectType({
66735
+ Result: lazyType(() => ListSettlementRefundsResponseBody$inboundSchema)
66736
+ }).transform((v2) => {
66737
+ return remap(v2, {
66738
+ Result: "result"
66739
+ });
66740
+ });
66741
+ ListSettlementRefundsResponse$outboundSchema = objectType({
66742
+ result: lazyType(() => ListSettlementRefundsResponseBody$outboundSchema)
66743
+ }).transform((v2) => {
66744
+ return remap(v2, {
66745
+ result: "Result"
66746
+ });
66747
+ });
66426
66748
  });
66427
66749
 
66428
66750
  // src/models/operations/listsettlements.ts
66429
- var ListSettlementsRequest$inboundSchema, ListSettlementsRequest$outboundSchema, ListSettlementsEmbedded$inboundSchema, ListSettlementsEmbedded$outboundSchema, ListSettlementsResponse$inboundSchema, ListSettlementsResponse$outboundSchema;
66751
+ var ListSettlementsRequest$inboundSchema, ListSettlementsRequest$outboundSchema, ListSettlementsEmbedded$inboundSchema, ListSettlementsEmbedded$outboundSchema, ListSettlementsResponseBody$inboundSchema, ListSettlementsResponseBody$outboundSchema, ListSettlementsResponse$inboundSchema, ListSettlementsResponse$outboundSchema;
66430
66752
  var init_listsettlements = __esm(() => {
66431
66753
  init_esm();
66432
66754
  init_primitives();
@@ -66463,7 +66785,7 @@ var init_listsettlements = __esm(() => {
66463
66785
  ListSettlementsEmbedded$outboundSchema = objectType({
66464
66786
  settlements: arrayType(ListEntitySettlement$outboundSchema)
66465
66787
  });
66466
- ListSettlementsResponse$inboundSchema = objectType({
66788
+ ListSettlementsResponseBody$inboundSchema = objectType({
66467
66789
  count: numberType().int(),
66468
66790
  _embedded: lazyType(() => ListSettlementsEmbedded$inboundSchema),
66469
66791
  _links: ListLinks$inboundSchema
@@ -66473,7 +66795,7 @@ var init_listsettlements = __esm(() => {
66473
66795
  _links: "links"
66474
66796
  });
66475
66797
  });
66476
- ListSettlementsResponse$outboundSchema = objectType({
66798
+ ListSettlementsResponseBody$outboundSchema = objectType({
66477
66799
  count: numberType().int(),
66478
66800
  embedded: lazyType(() => ListSettlementsEmbedded$outboundSchema),
66479
66801
  links: ListLinks$outboundSchema
@@ -66483,10 +66805,24 @@ var init_listsettlements = __esm(() => {
66483
66805
  links: "_links"
66484
66806
  });
66485
66807
  });
66808
+ ListSettlementsResponse$inboundSchema = objectType({
66809
+ Result: lazyType(() => ListSettlementsResponseBody$inboundSchema)
66810
+ }).transform((v2) => {
66811
+ return remap(v2, {
66812
+ Result: "result"
66813
+ });
66814
+ });
66815
+ ListSettlementsResponse$outboundSchema = objectType({
66816
+ result: lazyType(() => ListSettlementsResponseBody$outboundSchema)
66817
+ }).transform((v2) => {
66818
+ return remap(v2, {
66819
+ result: "Result"
66820
+ });
66821
+ });
66486
66822
  });
66487
66823
 
66488
66824
  // src/models/operations/listsubscriptionpayments.ts
66489
- var ListSubscriptionPaymentsGlobals$inboundSchema, ListSubscriptionPaymentsGlobals$outboundSchema, ListSubscriptionPaymentsRequest$inboundSchema, ListSubscriptionPaymentsRequest$outboundSchema, ListSubscriptionPaymentsEmbedded$inboundSchema, ListSubscriptionPaymentsEmbedded$outboundSchema, ListSubscriptionPaymentsResponse$inboundSchema, ListSubscriptionPaymentsResponse$outboundSchema;
66825
+ var ListSubscriptionPaymentsGlobals$inboundSchema, ListSubscriptionPaymentsGlobals$outboundSchema, ListSubscriptionPaymentsRequest$inboundSchema, ListSubscriptionPaymentsRequest$outboundSchema, ListSubscriptionPaymentsEmbedded$inboundSchema, ListSubscriptionPaymentsEmbedded$outboundSchema, ListSubscriptionPaymentsResponseBody$inboundSchema, ListSubscriptionPaymentsResponseBody$outboundSchema, ListSubscriptionPaymentsResponse$inboundSchema, ListSubscriptionPaymentsResponse$outboundSchema;
66490
66826
  var init_listsubscriptionpayments = __esm(() => {
66491
66827
  init_esm();
66492
66828
  init_primitives();
@@ -66533,7 +66869,7 @@ var init_listsubscriptionpayments = __esm(() => {
66533
66869
  ListSubscriptionPaymentsEmbedded$outboundSchema = objectType({
66534
66870
  payments: arrayType(ListPaymentResponse$outboundSchema).optional()
66535
66871
  });
66536
- ListSubscriptionPaymentsResponse$inboundSchema = objectType({
66872
+ ListSubscriptionPaymentsResponseBody$inboundSchema = objectType({
66537
66873
  count: numberType().int(),
66538
66874
  _embedded: lazyType(() => ListSubscriptionPaymentsEmbedded$inboundSchema),
66539
66875
  _links: ListLinks$inboundSchema
@@ -66543,7 +66879,7 @@ var init_listsubscriptionpayments = __esm(() => {
66543
66879
  _links: "links"
66544
66880
  });
66545
66881
  });
66546
- ListSubscriptionPaymentsResponse$outboundSchema = objectType({
66882
+ ListSubscriptionPaymentsResponseBody$outboundSchema = objectType({
66547
66883
  count: numberType().int(),
66548
66884
  embedded: lazyType(() => ListSubscriptionPaymentsEmbedded$outboundSchema),
66549
66885
  links: ListLinks$outboundSchema
@@ -66553,10 +66889,24 @@ var init_listsubscriptionpayments = __esm(() => {
66553
66889
  links: "_links"
66554
66890
  });
66555
66891
  });
66892
+ ListSubscriptionPaymentsResponse$inboundSchema = objectType({
66893
+ Result: lazyType(() => ListSubscriptionPaymentsResponseBody$inboundSchema)
66894
+ }).transform((v2) => {
66895
+ return remap(v2, {
66896
+ Result: "result"
66897
+ });
66898
+ });
66899
+ ListSubscriptionPaymentsResponse$outboundSchema = objectType({
66900
+ result: lazyType(() => ListSubscriptionPaymentsResponseBody$outboundSchema)
66901
+ }).transform((v2) => {
66902
+ return remap(v2, {
66903
+ result: "Result"
66904
+ });
66905
+ });
66556
66906
  });
66557
66907
 
66558
66908
  // src/models/operations/listsubscriptions.ts
66559
- var ListSubscriptionsGlobals$inboundSchema, ListSubscriptionsGlobals$outboundSchema, ListSubscriptionsRequest$inboundSchema, ListSubscriptionsRequest$outboundSchema, ListSubscriptionsEmbedded$inboundSchema, ListSubscriptionsEmbedded$outboundSchema, ListSubscriptionsResponse$inboundSchema, ListSubscriptionsResponse$outboundSchema;
66909
+ var ListSubscriptionsGlobals$inboundSchema, ListSubscriptionsGlobals$outboundSchema, ListSubscriptionsRequest$inboundSchema, ListSubscriptionsRequest$outboundSchema, ListSubscriptionsEmbedded$inboundSchema, ListSubscriptionsEmbedded$outboundSchema, ListSubscriptionsResponseBody$inboundSchema, ListSubscriptionsResponseBody$outboundSchema, ListSubscriptionsResponse$inboundSchema, ListSubscriptionsResponse$outboundSchema;
66560
66910
  var init_listsubscriptions = __esm(() => {
66561
66911
  init_esm();
66562
66912
  init_primitives();
@@ -66597,7 +66947,7 @@ var init_listsubscriptions = __esm(() => {
66597
66947
  ListSubscriptionsEmbedded$outboundSchema = objectType({
66598
66948
  subscriptions: arrayType(ListSubscriptionResponse$outboundSchema).optional()
66599
66949
  });
66600
- ListSubscriptionsResponse$inboundSchema = objectType({
66950
+ ListSubscriptionsResponseBody$inboundSchema = objectType({
66601
66951
  count: numberType().int(),
66602
66952
  _embedded: lazyType(() => ListSubscriptionsEmbedded$inboundSchema),
66603
66953
  _links: ListLinks$inboundSchema
@@ -66607,7 +66957,7 @@ var init_listsubscriptions = __esm(() => {
66607
66957
  _links: "links"
66608
66958
  });
66609
66959
  });
66610
- ListSubscriptionsResponse$outboundSchema = objectType({
66960
+ ListSubscriptionsResponseBody$outboundSchema = objectType({
66611
66961
  count: numberType().int(),
66612
66962
  embedded: lazyType(() => ListSubscriptionsEmbedded$outboundSchema),
66613
66963
  links: ListLinks$outboundSchema
@@ -66617,10 +66967,24 @@ var init_listsubscriptions = __esm(() => {
66617
66967
  links: "_links"
66618
66968
  });
66619
66969
  });
66970
+ ListSubscriptionsResponse$inboundSchema = objectType({
66971
+ Result: lazyType(() => ListSubscriptionsResponseBody$inboundSchema)
66972
+ }).transform((v2) => {
66973
+ return remap(v2, {
66974
+ Result: "result"
66975
+ });
66976
+ });
66977
+ ListSubscriptionsResponse$outboundSchema = objectType({
66978
+ result: lazyType(() => ListSubscriptionsResponseBody$outboundSchema)
66979
+ }).transform((v2) => {
66980
+ return remap(v2, {
66981
+ result: "Result"
66982
+ });
66983
+ });
66620
66984
  });
66621
66985
 
66622
66986
  // src/models/operations/listterminals.ts
66623
- var ListTerminalsGlobals$inboundSchema, ListTerminalsGlobals$outboundSchema, ListTerminalsRequest$inboundSchema, ListTerminalsRequest$outboundSchema, ListTerminalsEmbedded$inboundSchema, ListTerminalsEmbedded$outboundSchema, ListTerminalsResponse$inboundSchema, ListTerminalsResponse$outboundSchema;
66987
+ var ListTerminalsGlobals$inboundSchema, ListTerminalsGlobals$outboundSchema, ListTerminalsRequest$inboundSchema, ListTerminalsRequest$outboundSchema, ListTerminalsEmbedded$inboundSchema, ListTerminalsEmbedded$outboundSchema, ListTerminalsResponseBody$inboundSchema, ListTerminalsResponseBody$outboundSchema, ListTerminalsResponse$inboundSchema, ListTerminalsResponse$outboundSchema;
66624
66988
  var init_listterminals = __esm(() => {
66625
66989
  init_esm();
66626
66990
  init_primitives();
@@ -66659,7 +67023,7 @@ var init_listterminals = __esm(() => {
66659
67023
  ListTerminalsEmbedded$outboundSchema = objectType({
66660
67024
  terminals: arrayType(ListEntityTerminal$outboundSchema).optional()
66661
67025
  });
66662
- ListTerminalsResponse$inboundSchema = objectType({
67026
+ ListTerminalsResponseBody$inboundSchema = objectType({
66663
67027
  count: numberType().int(),
66664
67028
  _embedded: lazyType(() => ListTerminalsEmbedded$inboundSchema),
66665
67029
  _links: ListLinks$inboundSchema
@@ -66669,7 +67033,7 @@ var init_listterminals = __esm(() => {
66669
67033
  _links: "links"
66670
67034
  });
66671
67035
  });
66672
- ListTerminalsResponse$outboundSchema = objectType({
67036
+ ListTerminalsResponseBody$outboundSchema = objectType({
66673
67037
  count: numberType().int(),
66674
67038
  embedded: lazyType(() => ListTerminalsEmbedded$outboundSchema),
66675
67039
  links: ListLinks$outboundSchema
@@ -66679,10 +67043,24 @@ var init_listterminals = __esm(() => {
66679
67043
  links: "_links"
66680
67044
  });
66681
67045
  });
67046
+ ListTerminalsResponse$inboundSchema = objectType({
67047
+ Result: lazyType(() => ListTerminalsResponseBody$inboundSchema)
67048
+ }).transform((v2) => {
67049
+ return remap(v2, {
67050
+ Result: "result"
67051
+ });
67052
+ });
67053
+ ListTerminalsResponse$outboundSchema = objectType({
67054
+ result: lazyType(() => ListTerminalsResponseBody$outboundSchema)
67055
+ }).transform((v2) => {
67056
+ return remap(v2, {
67057
+ result: "Result"
67058
+ });
67059
+ });
66682
67060
  });
66683
67061
 
66684
67062
  // src/models/operations/listwebhooks.ts
66685
- var ListWebhooksGlobals$inboundSchema, ListWebhooksGlobals$outboundSchema, ListWebhooksRequest$inboundSchema, ListWebhooksRequest$outboundSchema, ListWebhooksEmbedded$inboundSchema, ListWebhooksEmbedded$outboundSchema, ListWebhooksResponse$inboundSchema, ListWebhooksResponse$outboundSchema;
67063
+ var ListWebhooksGlobals$inboundSchema, ListWebhooksGlobals$outboundSchema, ListWebhooksRequest$inboundSchema, ListWebhooksRequest$outboundSchema, ListWebhooksEmbedded$inboundSchema, ListWebhooksEmbedded$outboundSchema, ListWebhooksResponseBody$inboundSchema, ListWebhooksResponseBody$outboundSchema, ListWebhooksResponse$inboundSchema, ListWebhooksResponse$outboundSchema;
66686
67064
  var init_listwebhooks = __esm(() => {
66687
67065
  init_esm();
66688
67066
  init_primitives();
@@ -66723,7 +67101,7 @@ var init_listwebhooks = __esm(() => {
66723
67101
  ListWebhooksEmbedded$outboundSchema = objectType({
66724
67102
  webhooks: arrayType(ListEntityWebhook$outboundSchema)
66725
67103
  });
66726
- ListWebhooksResponse$inboundSchema = objectType({
67104
+ ListWebhooksResponseBody$inboundSchema = objectType({
66727
67105
  count: numberType().int(),
66728
67106
  _embedded: lazyType(() => ListWebhooksEmbedded$inboundSchema),
66729
67107
  _links: ListLinks$inboundSchema
@@ -66733,7 +67111,7 @@ var init_listwebhooks = __esm(() => {
66733
67111
  _links: "links"
66734
67112
  });
66735
67113
  });
66736
- ListWebhooksResponse$outboundSchema = objectType({
67114
+ ListWebhooksResponseBody$outboundSchema = objectType({
66737
67115
  count: numberType().int(),
66738
67116
  embedded: lazyType(() => ListWebhooksEmbedded$outboundSchema),
66739
67117
  links: ListLinks$outboundSchema
@@ -66743,6 +67121,20 @@ var init_listwebhooks = __esm(() => {
66743
67121
  links: "_links"
66744
67122
  });
66745
67123
  });
67124
+ ListWebhooksResponse$inboundSchema = objectType({
67125
+ Result: lazyType(() => ListWebhooksResponseBody$inboundSchema)
67126
+ }).transform((v2) => {
67127
+ return remap(v2, {
67128
+ Result: "result"
67129
+ });
67130
+ });
67131
+ ListWebhooksResponse$outboundSchema = objectType({
67132
+ result: lazyType(() => ListWebhooksResponseBody$outboundSchema)
67133
+ }).transform((v2) => {
67134
+ return remap(v2, {
67135
+ result: "Result"
67136
+ });
67137
+ });
66746
67138
  });
66747
67139
 
66748
67140
  // src/models/operations/paymentcreateroute.ts
@@ -67935,6 +68327,38 @@ organization's primary balance.`,
67935
68327
  };
67936
68328
  });
67937
68329
 
68330
+ // src/types/operations.ts
68331
+ function createPageIterator(page, halt) {
68332
+ return {
68333
+ [Symbol.asyncIterator]: async function* paginator() {
68334
+ yield page;
68335
+ if (halt(page)) {
68336
+ return;
68337
+ }
68338
+ let p = page;
68339
+ for (p = await p.next();p != null; p = await p.next()) {
68340
+ yield p;
68341
+ if (halt(p)) {
68342
+ return;
68343
+ }
68344
+ }
68345
+ }
68346
+ };
68347
+ }
68348
+ function haltIterator(v2) {
68349
+ return {
68350
+ ...v2,
68351
+ next: () => null,
68352
+ [Symbol.asyncIterator]: async function* paginator() {
68353
+ yield v2;
68354
+ }
68355
+ };
68356
+ }
68357
+ var URL_OVERRIDE;
68358
+ var init_operations2 = __esm(() => {
68359
+ URL_OVERRIDE = Symbol("URL_OVERRIDE");
68360
+ });
68361
+
67938
68362
  // src/funcs/balancesList.ts
67939
68363
  function balancesList(client, request, options) {
67940
68364
  return new APIPromise($do4(client, request, options));
@@ -67942,12 +68366,12 @@ function balancesList(client, request, options) {
67942
68366
  async function $do4(client, request, options) {
67943
68367
  const parsed = safeParse4(request, (value) => ListBalancesRequest$outboundSchema.optional().parse(value), "Input validation failed");
67944
68368
  if (!parsed.ok) {
67945
- return [parsed, { status: "invalid" }];
68369
+ return [haltIterator(parsed), { status: "invalid" }];
67946
68370
  }
67947
68371
  const payload = parsed.value;
67948
68372
  const body = null;
67949
- const path = pathToFunc("/balances")();
67950
- const query = encodeFormQuery({
68373
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/balances")();
68374
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
67951
68375
  currency: payload?.currency,
67952
68376
  from: payload?.from,
67953
68377
  limit: payload?.limit,
@@ -67981,7 +68405,7 @@ async function $do4(client, request, options) {
67981
68405
  const requestRes = client._createRequest(context, {
67982
68406
  security: requestSecurity,
67983
68407
  method: "GET",
67984
- baseURL: options?.serverURL,
68408
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
67985
68409
  path,
67986
68410
  headers,
67987
68411
  query,
@@ -67990,7 +68414,7 @@ async function $do4(client, request, options) {
67990
68414
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
67991
68415
  }, options);
67992
68416
  if (!requestRes.ok) {
67993
- return [requestRes, { status: "invalid" }];
68417
+ return [haltIterator(requestRes), { status: "invalid" }];
67994
68418
  }
67995
68419
  const req = requestRes.value;
67996
68420
  const doResult = await client._do(req, {
@@ -68000,21 +68424,49 @@ async function $do4(client, request, options) {
68000
68424
  retryCodes: context.retryCodes
68001
68425
  });
68002
68426
  if (!doResult.ok) {
68003
- return [doResult, { status: "request-error", request: req }];
68427
+ return [haltIterator(doResult), { status: "request-error", request: req }];
68004
68428
  }
68005
68429
  const response = doResult.value;
68006
68430
  const responseFields = {
68007
68431
  HttpMeta: { Response: response, Request: req }
68008
68432
  };
68009
- const [result] = await match(json(200, ListBalancesResponse$inboundSchema, {
68010
- ctype: "application/hal+json"
68433
+ const [result, raw] = await match(json(200, ListBalancesResponse$inboundSchema, {
68434
+ ctype: "application/hal+json",
68435
+ key: "Result"
68011
68436
  }), jsonErr([400, 404], ErrorResponse$inboundSchema, {
68012
68437
  ctype: "application/hal+json"
68013
68438
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
68014
68439
  if (!result.ok) {
68015
- return [result, { status: "complete", request: req, response }];
68440
+ return [haltIterator(result), {
68441
+ status: "complete",
68442
+ request: req,
68443
+ response
68444
+ }];
68016
68445
  }
68017
- return [result, { status: "complete", request: req, response }];
68446
+ const nextFunc = (responseData) => {
68447
+ let nextURL = dlv(responseData, "_links.next.href");
68448
+ if (typeof nextURL !== "string") {
68449
+ return { next: () => null };
68450
+ }
68451
+ if (nextURL.startsWith("/")) {
68452
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
68453
+ }
68454
+ try {
68455
+ new URL(nextURL);
68456
+ } catch (_error) {
68457
+ return { next: () => null };
68458
+ }
68459
+ const nextVal = () => balancesList(client, {
68460
+ ...request
68461
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
68462
+ return { next: nextVal, "~next": { url: nextURL } };
68463
+ };
68464
+ const page = { ...result, ...nextFunc(raw) };
68465
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
68466
+ status: "complete",
68467
+ request: req,
68468
+ response
68469
+ }];
68018
68470
  }
68019
68471
  var init_balancesList = __esm(() => {
68020
68472
  init_encodings();
@@ -68026,6 +68478,7 @@ var init_balancesList = __esm(() => {
68026
68478
  init_errors4();
68027
68479
  init_operations();
68028
68480
  init_async();
68481
+ init_operations2();
68029
68482
  });
68030
68483
 
68031
68484
  // src/mcp-server/tools/balancesList.ts
@@ -68053,7 +68506,7 @@ The results are paginated.`,
68053
68506
  isError: true
68054
68507
  };
68055
68508
  }
68056
- const value = result.value;
68509
+ const value = result.value.result;
68057
68510
  return formatResult(value, apiCall);
68058
68511
  }
68059
68512
  };
@@ -68066,7 +68519,7 @@ function balancesListTransactions(client, request, options) {
68066
68519
  async function $do5(client, request, options) {
68067
68520
  const parsed = safeParse4(request, (value) => ListBalanceTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
68068
68521
  if (!parsed.ok) {
68069
- return [parsed, { status: "invalid" }];
68522
+ return [haltIterator(parsed), { status: "invalid" }];
68070
68523
  }
68071
68524
  const payload = parsed.value;
68072
68525
  const body = null;
@@ -68076,8 +68529,8 @@ async function $do5(client, request, options) {
68076
68529
  charEncoding: "percent"
68077
68530
  })
68078
68531
  };
68079
- const path = pathToFunc("/balances/{balanceId}/transactions")(pathParams);
68080
- const query = encodeFormQuery({
68532
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/balances/{balanceId}/transactions")(pathParams);
68533
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
68081
68534
  from: payload.from,
68082
68535
  limit: payload.limit,
68083
68536
  testmode: payload.testmode ?? client._options.testmode
@@ -68110,7 +68563,7 @@ async function $do5(client, request, options) {
68110
68563
  const requestRes = client._createRequest(context, {
68111
68564
  security: requestSecurity,
68112
68565
  method: "GET",
68113
- baseURL: options?.serverURL,
68566
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
68114
68567
  path,
68115
68568
  headers,
68116
68569
  query,
@@ -68119,7 +68572,7 @@ async function $do5(client, request, options) {
68119
68572
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
68120
68573
  }, options);
68121
68574
  if (!requestRes.ok) {
68122
- return [requestRes, { status: "invalid" }];
68575
+ return [haltIterator(requestRes), { status: "invalid" }];
68123
68576
  }
68124
68577
  const req = requestRes.value;
68125
68578
  const doResult = await client._do(req, {
@@ -68129,21 +68582,49 @@ async function $do5(client, request, options) {
68129
68582
  retryCodes: context.retryCodes
68130
68583
  });
68131
68584
  if (!doResult.ok) {
68132
- return [doResult, { status: "request-error", request: req }];
68585
+ return [haltIterator(doResult), { status: "request-error", request: req }];
68133
68586
  }
68134
68587
  const response = doResult.value;
68135
68588
  const responseFields = {
68136
68589
  HttpMeta: { Response: response, Request: req }
68137
68590
  };
68138
- const [result] = await match(json(200, ListBalanceTransactionsResponse$inboundSchema, {
68139
- ctype: "application/hal+json"
68591
+ const [result, raw] = await match(json(200, ListBalanceTransactionsResponse$inboundSchema, {
68592
+ ctype: "application/hal+json",
68593
+ key: "Result"
68140
68594
  }), jsonErr([400, 404, 429], ErrorResponse$inboundSchema, {
68141
68595
  ctype: "application/hal+json"
68142
68596
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
68143
68597
  if (!result.ok) {
68144
- return [result, { status: "complete", request: req, response }];
68598
+ return [haltIterator(result), {
68599
+ status: "complete",
68600
+ request: req,
68601
+ response
68602
+ }];
68145
68603
  }
68146
- return [result, { status: "complete", request: req, response }];
68604
+ const nextFunc = (responseData) => {
68605
+ let nextURL = dlv(responseData, "_links.next.href");
68606
+ if (typeof nextURL !== "string") {
68607
+ return { next: () => null };
68608
+ }
68609
+ if (nextURL.startsWith("/")) {
68610
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
68611
+ }
68612
+ try {
68613
+ new URL(nextURL);
68614
+ } catch (_error) {
68615
+ return { next: () => null };
68616
+ }
68617
+ const nextVal = () => balancesListTransactions(client, {
68618
+ ...request
68619
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
68620
+ return { next: nextVal, "~next": { url: nextURL } };
68621
+ };
68622
+ const page = { ...result, ...nextFunc(raw) };
68623
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
68624
+ status: "complete",
68625
+ request: req,
68626
+ response
68627
+ }];
68147
68628
  }
68148
68629
  var init_balancesListTransactions = __esm(() => {
68149
68630
  init_encodings();
@@ -68155,6 +68636,7 @@ var init_balancesListTransactions = __esm(() => {
68155
68636
  init_errors4();
68156
68637
  init_operations();
68157
68638
  init_async();
68639
+ init_operations2();
68158
68640
  });
68159
68641
 
68160
68642
  // src/mcp-server/tools/balancesListTransactions.ts
@@ -68189,7 +68671,7 @@ The results are paginated.`,
68189
68671
  isError: true
68190
68672
  };
68191
68673
  }
68192
- const value = result.value;
68674
+ const value = result.value.result;
68193
68675
  return formatResult(value, apiCall);
68194
68676
  }
68195
68677
  };
@@ -68447,12 +68929,12 @@ function balanceTransfersList(client, request, options) {
68447
68929
  async function $do8(client, request, options) {
68448
68930
  const parsed = safeParse4(request, (value) => ListConnectBalanceTransfersRequest$outboundSchema.optional().parse(value), "Input validation failed");
68449
68931
  if (!parsed.ok) {
68450
- return [parsed, { status: "invalid" }];
68932
+ return [haltIterator(parsed), { status: "invalid" }];
68451
68933
  }
68452
68934
  const payload = parsed.value;
68453
68935
  const body = null;
68454
- const path = pathToFunc("/connect/balance-transfers")();
68455
- const query = encodeFormQuery({
68936
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/connect/balance-transfers")();
68937
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
68456
68938
  from: payload?.from,
68457
68939
  limit: payload?.limit,
68458
68940
  sort: payload?.sort,
@@ -68486,7 +68968,7 @@ async function $do8(client, request, options) {
68486
68968
  const requestRes = client._createRequest(context, {
68487
68969
  security: requestSecurity,
68488
68970
  method: "GET",
68489
- baseURL: options?.serverURL,
68971
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
68490
68972
  path,
68491
68973
  headers,
68492
68974
  query,
@@ -68495,7 +68977,7 @@ async function $do8(client, request, options) {
68495
68977
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
68496
68978
  }, options);
68497
68979
  if (!requestRes.ok) {
68498
- return [requestRes, { status: "invalid" }];
68980
+ return [haltIterator(requestRes), { status: "invalid" }];
68499
68981
  }
68500
68982
  const req = requestRes.value;
68501
68983
  const doResult = await client._do(req, {
@@ -68505,21 +68987,49 @@ async function $do8(client, request, options) {
68505
68987
  retryCodes: context.retryCodes
68506
68988
  });
68507
68989
  if (!doResult.ok) {
68508
- return [doResult, { status: "request-error", request: req }];
68990
+ return [haltIterator(doResult), { status: "request-error", request: req }];
68509
68991
  }
68510
68992
  const response = doResult.value;
68511
68993
  const responseFields = {
68512
68994
  HttpMeta: { Response: response, Request: req }
68513
68995
  };
68514
- const [result] = await match(json(200, ListConnectBalanceTransfersResponse$inboundSchema, {
68515
- ctype: "application/hal+json"
68996
+ const [result, raw] = await match(json(200, ListConnectBalanceTransfersResponse$inboundSchema, {
68997
+ ctype: "application/hal+json",
68998
+ key: "Result"
68516
68999
  }), jsonErr(400, ErrorResponse$inboundSchema, {
68517
69000
  ctype: "application/hal+json"
68518
69001
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
68519
69002
  if (!result.ok) {
68520
- return [result, { status: "complete", request: req, response }];
69003
+ return [haltIterator(result), {
69004
+ status: "complete",
69005
+ request: req,
69006
+ response
69007
+ }];
68521
69008
  }
68522
- return [result, { status: "complete", request: req, response }];
69009
+ const nextFunc = (responseData) => {
69010
+ let nextURL = dlv(responseData, "_links.next.href");
69011
+ if (typeof nextURL !== "string") {
69012
+ return { next: () => null };
69013
+ }
69014
+ if (nextURL.startsWith("/")) {
69015
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
69016
+ }
69017
+ try {
69018
+ new URL(nextURL);
69019
+ } catch (_error) {
69020
+ return { next: () => null };
69021
+ }
69022
+ const nextVal = () => balanceTransfersList(client, {
69023
+ ...request
69024
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
69025
+ return { next: nextVal, "~next": { url: nextURL } };
69026
+ };
69027
+ const page = { ...result, ...nextFunc(raw) };
69028
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
69029
+ status: "complete",
69030
+ request: req,
69031
+ response
69032
+ }];
68523
69033
  }
68524
69034
  var init_balanceTransfersList = __esm(() => {
68525
69035
  init_encodings();
@@ -68531,6 +69041,7 @@ var init_balanceTransfersList = __esm(() => {
68531
69041
  init_errors4();
68532
69042
  init_operations();
68533
69043
  init_async();
69044
+ init_operations2();
68534
69045
  });
68535
69046
 
68536
69047
  // src/mcp-server/tools/balanceTransfersList.ts
@@ -68556,7 +69067,7 @@ Returns a paginated list of balance transfers associated with your organization.
68556
69067
  isError: true
68557
69068
  };
68558
69069
  }
68559
- const value = result.value;
69070
+ const value = result.value.result;
68560
69071
  return formatResult(value, apiCall);
68561
69072
  }
68562
69073
  };
@@ -68952,7 +69463,7 @@ function capturesList(client, request, options) {
68952
69463
  async function $do12(client, request, options) {
68953
69464
  const parsed = safeParse4(request, (value) => ListCapturesRequest$outboundSchema.parse(value), "Input validation failed");
68954
69465
  if (!parsed.ok) {
68955
- return [parsed, { status: "invalid" }];
69466
+ return [haltIterator(parsed), { status: "invalid" }];
68956
69467
  }
68957
69468
  const payload = parsed.value;
68958
69469
  const body = null;
@@ -68962,8 +69473,8 @@ async function $do12(client, request, options) {
68962
69473
  charEncoding: "percent"
68963
69474
  })
68964
69475
  };
68965
- const path = pathToFunc("/payments/{paymentId}/captures")(pathParams);
68966
- const query = encodeFormQuery({
69476
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/payments/{paymentId}/captures")(pathParams);
69477
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
68967
69478
  embed: payload.embed,
68968
69479
  from: payload.from,
68969
69480
  limit: payload.limit,
@@ -68997,7 +69508,7 @@ async function $do12(client, request, options) {
68997
69508
  const requestRes = client._createRequest(context, {
68998
69509
  security: requestSecurity,
68999
69510
  method: "GET",
69000
- baseURL: options?.serverURL,
69511
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
69001
69512
  path,
69002
69513
  headers,
69003
69514
  query,
@@ -69006,7 +69517,7 @@ async function $do12(client, request, options) {
69006
69517
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
69007
69518
  }, options);
69008
69519
  if (!requestRes.ok) {
69009
- return [requestRes, { status: "invalid" }];
69520
+ return [haltIterator(requestRes), { status: "invalid" }];
69010
69521
  }
69011
69522
  const req = requestRes.value;
69012
69523
  const doResult = await client._do(req, {
@@ -69016,21 +69527,49 @@ async function $do12(client, request, options) {
69016
69527
  retryCodes: context.retryCodes
69017
69528
  });
69018
69529
  if (!doResult.ok) {
69019
- return [doResult, { status: "request-error", request: req }];
69530
+ return [haltIterator(doResult), { status: "request-error", request: req }];
69020
69531
  }
69021
69532
  const response = doResult.value;
69022
69533
  const responseFields = {
69023
69534
  HttpMeta: { Response: response, Request: req }
69024
69535
  };
69025
- const [result] = await match(json(200, ListCapturesResponse$inboundSchema, {
69026
- ctype: "application/hal+json"
69536
+ const [result, raw] = await match(json(200, ListCapturesResponse$inboundSchema, {
69537
+ ctype: "application/hal+json",
69538
+ key: "Result"
69027
69539
  }), jsonErr([400, 404], ErrorResponse$inboundSchema, {
69028
69540
  ctype: "application/hal+json"
69029
69541
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
69030
69542
  if (!result.ok) {
69031
- return [result, { status: "complete", request: req, response }];
69543
+ return [haltIterator(result), {
69544
+ status: "complete",
69545
+ request: req,
69546
+ response
69547
+ }];
69032
69548
  }
69033
- return [result, { status: "complete", request: req, response }];
69549
+ const nextFunc = (responseData) => {
69550
+ let nextURL = dlv(responseData, "_links.next.href");
69551
+ if (typeof nextURL !== "string") {
69552
+ return { next: () => null };
69553
+ }
69554
+ if (nextURL.startsWith("/")) {
69555
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
69556
+ }
69557
+ try {
69558
+ new URL(nextURL);
69559
+ } catch (_error) {
69560
+ return { next: () => null };
69561
+ }
69562
+ const nextVal = () => capturesList(client, {
69563
+ ...request
69564
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
69565
+ return { next: nextVal, "~next": { url: nextURL } };
69566
+ };
69567
+ const page = { ...result, ...nextFunc(raw) };
69568
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
69569
+ status: "complete",
69570
+ request: req,
69571
+ response
69572
+ }];
69034
69573
  }
69035
69574
  var init_capturesList = __esm(() => {
69036
69575
  init_encodings();
@@ -69042,6 +69581,7 @@ var init_capturesList = __esm(() => {
69042
69581
  init_errors4();
69043
69582
  init_operations();
69044
69583
  init_async();
69584
+ init_operations2();
69045
69585
  });
69046
69586
 
69047
69587
  // src/mcp-server/tools/capturesList.ts
@@ -69069,7 +69609,7 @@ The results are paginated.`,
69069
69609
  isError: true
69070
69610
  };
69071
69611
  }
69072
- const value = result.value;
69612
+ const value = result.value.result;
69073
69613
  return formatResult(value, apiCall);
69074
69614
  }
69075
69615
  };
@@ -69082,12 +69622,12 @@ function chargebacksAll(client, request, options) {
69082
69622
  async function $do13(client, request, options) {
69083
69623
  const parsed = safeParse4(request, (value) => ListAllChargebacksRequest$outboundSchema.optional().parse(value), "Input validation failed");
69084
69624
  if (!parsed.ok) {
69085
- return [parsed, { status: "invalid" }];
69625
+ return [haltIterator(parsed), { status: "invalid" }];
69086
69626
  }
69087
69627
  const payload = parsed.value;
69088
69628
  const body = null;
69089
- const path = pathToFunc("/chargebacks")();
69090
- const query = encodeFormQuery({
69629
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/chargebacks")();
69630
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
69091
69631
  embed: payload?.embed,
69092
69632
  from: payload?.from,
69093
69633
  limit: payload?.limit,
@@ -69123,7 +69663,7 @@ async function $do13(client, request, options) {
69123
69663
  const requestRes = client._createRequest(context, {
69124
69664
  security: requestSecurity,
69125
69665
  method: "GET",
69126
- baseURL: options?.serverURL,
69666
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
69127
69667
  path,
69128
69668
  headers,
69129
69669
  query,
@@ -69132,7 +69672,7 @@ async function $do13(client, request, options) {
69132
69672
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
69133
69673
  }, options);
69134
69674
  if (!requestRes.ok) {
69135
- return [requestRes, { status: "invalid" }];
69675
+ return [haltIterator(requestRes), { status: "invalid" }];
69136
69676
  }
69137
69677
  const req = requestRes.value;
69138
69678
  const doResult = await client._do(req, {
@@ -69142,21 +69682,49 @@ async function $do13(client, request, options) {
69142
69682
  retryCodes: context.retryCodes
69143
69683
  });
69144
69684
  if (!doResult.ok) {
69145
- return [doResult, { status: "request-error", request: req }];
69685
+ return [haltIterator(doResult), { status: "request-error", request: req }];
69146
69686
  }
69147
69687
  const response = doResult.value;
69148
69688
  const responseFields = {
69149
69689
  HttpMeta: { Response: response, Request: req }
69150
69690
  };
69151
- const [result] = await match(json(200, ListAllChargebacksResponse$inboundSchema, {
69152
- ctype: "application/hal+json"
69691
+ const [result, raw] = await match(json(200, ListAllChargebacksResponse$inboundSchema, {
69692
+ ctype: "application/hal+json",
69693
+ key: "Result"
69153
69694
  }), jsonErr([400, 404], ErrorResponse$inboundSchema, {
69154
69695
  ctype: "application/hal+json"
69155
69696
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
69156
69697
  if (!result.ok) {
69157
- return [result, { status: "complete", request: req, response }];
69698
+ return [haltIterator(result), {
69699
+ status: "complete",
69700
+ request: req,
69701
+ response
69702
+ }];
69158
69703
  }
69159
- return [result, { status: "complete", request: req, response }];
69704
+ const nextFunc = (responseData) => {
69705
+ let nextURL = dlv(responseData, "_links.next.href");
69706
+ if (typeof nextURL !== "string") {
69707
+ return { next: () => null };
69708
+ }
69709
+ if (nextURL.startsWith("/")) {
69710
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
69711
+ }
69712
+ try {
69713
+ new URL(nextURL);
69714
+ } catch (_error) {
69715
+ return { next: () => null };
69716
+ }
69717
+ const nextVal = () => chargebacksAll(client, {
69718
+ ...request
69719
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
69720
+ return { next: nextVal, "~next": { url: nextURL } };
69721
+ };
69722
+ const page = { ...result, ...nextFunc(raw) };
69723
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
69724
+ status: "complete",
69725
+ request: req,
69726
+ response
69727
+ }];
69160
69728
  }
69161
69729
  var init_chargebacksAll = __esm(() => {
69162
69730
  init_encodings();
@@ -69168,6 +69736,7 @@ var init_chargebacksAll = __esm(() => {
69168
69736
  init_errors4();
69169
69737
  init_operations();
69170
69738
  init_async();
69739
+ init_operations2();
69171
69740
  });
69172
69741
 
69173
69742
  // src/mcp-server/tools/chargebacksAll.ts
@@ -69195,7 +69764,7 @@ The results are paginated.`,
69195
69764
  isError: true
69196
69765
  };
69197
69766
  }
69198
- const value = result.value;
69767
+ const value = result.value.result;
69199
69768
  return formatResult(value, apiCall);
69200
69769
  }
69201
69770
  };
@@ -69339,7 +69908,7 @@ function chargebacksList(client, request, options) {
69339
69908
  async function $do15(client, request, options) {
69340
69909
  const parsed = safeParse4(request, (value) => ListChargebacksRequest$outboundSchema.parse(value), "Input validation failed");
69341
69910
  if (!parsed.ok) {
69342
- return [parsed, { status: "invalid" }];
69911
+ return [haltIterator(parsed), { status: "invalid" }];
69343
69912
  }
69344
69913
  const payload = parsed.value;
69345
69914
  const body = null;
@@ -69349,8 +69918,8 @@ async function $do15(client, request, options) {
69349
69918
  charEncoding: "percent"
69350
69919
  })
69351
69920
  };
69352
- const path = pathToFunc("/payments/{paymentId}/chargebacks")(pathParams);
69353
- const query = encodeFormQuery({
69921
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/payments/{paymentId}/chargebacks")(pathParams);
69922
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
69354
69923
  embed: payload.embed,
69355
69924
  from: payload.from,
69356
69925
  limit: payload.limit,
@@ -69384,7 +69953,7 @@ async function $do15(client, request, options) {
69384
69953
  const requestRes = client._createRequest(context, {
69385
69954
  security: requestSecurity,
69386
69955
  method: "GET",
69387
- baseURL: options?.serverURL,
69956
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
69388
69957
  path,
69389
69958
  headers,
69390
69959
  query,
@@ -69393,7 +69962,7 @@ async function $do15(client, request, options) {
69393
69962
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
69394
69963
  }, options);
69395
69964
  if (!requestRes.ok) {
69396
- return [requestRes, { status: "invalid" }];
69965
+ return [haltIterator(requestRes), { status: "invalid" }];
69397
69966
  }
69398
69967
  const req = requestRes.value;
69399
69968
  const doResult = await client._do(req, {
@@ -69403,21 +69972,49 @@ async function $do15(client, request, options) {
69403
69972
  retryCodes: context.retryCodes
69404
69973
  });
69405
69974
  if (!doResult.ok) {
69406
- return [doResult, { status: "request-error", request: req }];
69975
+ return [haltIterator(doResult), { status: "request-error", request: req }];
69407
69976
  }
69408
69977
  const response = doResult.value;
69409
69978
  const responseFields = {
69410
69979
  HttpMeta: { Response: response, Request: req }
69411
69980
  };
69412
- const [result] = await match(json(200, ListChargebacksResponse$inboundSchema, {
69413
- ctype: "application/hal+json"
69981
+ const [result, raw] = await match(json(200, ListChargebacksResponse$inboundSchema, {
69982
+ ctype: "application/hal+json",
69983
+ key: "Result"
69414
69984
  }), jsonErr([400, 404], ErrorResponse$inboundSchema, {
69415
69985
  ctype: "application/hal+json"
69416
69986
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
69417
69987
  if (!result.ok) {
69418
- return [result, { status: "complete", request: req, response }];
69988
+ return [haltIterator(result), {
69989
+ status: "complete",
69990
+ request: req,
69991
+ response
69992
+ }];
69419
69993
  }
69420
- return [result, { status: "complete", request: req, response }];
69994
+ const nextFunc = (responseData) => {
69995
+ let nextURL = dlv(responseData, "_links.next.href");
69996
+ if (typeof nextURL !== "string") {
69997
+ return { next: () => null };
69998
+ }
69999
+ if (nextURL.startsWith("/")) {
70000
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
70001
+ }
70002
+ try {
70003
+ new URL(nextURL);
70004
+ } catch (_error) {
70005
+ return { next: () => null };
70006
+ }
70007
+ const nextVal = () => chargebacksList(client, {
70008
+ ...request
70009
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
70010
+ return { next: nextVal, "~next": { url: nextURL } };
70011
+ };
70012
+ const page = { ...result, ...nextFunc(raw) };
70013
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
70014
+ status: "complete",
70015
+ request: req,
70016
+ response
70017
+ }];
69421
70018
  }
69422
70019
  var init_chargebacksList = __esm(() => {
69423
70020
  init_encodings();
@@ -69429,6 +70026,7 @@ var init_chargebacksList = __esm(() => {
69429
70026
  init_errors4();
69430
70027
  init_operations();
69431
70028
  init_async();
70029
+ init_operations2();
69432
70030
  });
69433
70031
 
69434
70032
  // src/mcp-server/tools/chargebacksList.ts
@@ -69456,7 +70054,7 @@ The results are paginated.`,
69456
70054
  isError: true
69457
70055
  };
69458
70056
  }
69459
- const value = result.value;
70057
+ const value = result.value.result;
69460
70058
  return formatResult(value, apiCall);
69461
70059
  }
69462
70060
  };
@@ -69765,12 +70363,12 @@ function clientsList(client, request, options) {
69765
70363
  async function $do18(client, request, options) {
69766
70364
  const parsed = safeParse4(request, (value) => ListClientsRequest$outboundSchema.optional().parse(value), "Input validation failed");
69767
70365
  if (!parsed.ok) {
69768
- return [parsed, { status: "invalid" }];
70366
+ return [haltIterator(parsed), { status: "invalid" }];
69769
70367
  }
69770
70368
  const payload = parsed.value;
69771
70369
  const body = null;
69772
- const path = pathToFunc("/clients")();
69773
- const query = encodeFormQuery({
70370
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/clients")();
70371
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
69774
70372
  embed: payload?.embed,
69775
70373
  from: payload?.from,
69776
70374
  limit: payload?.limit
@@ -69803,7 +70401,7 @@ async function $do18(client, request, options) {
69803
70401
  const requestRes = client._createRequest(context, {
69804
70402
  security: requestSecurity,
69805
70403
  method: "GET",
69806
- baseURL: options?.serverURL,
70404
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
69807
70405
  path,
69808
70406
  headers,
69809
70407
  query,
@@ -69812,7 +70410,7 @@ async function $do18(client, request, options) {
69812
70410
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
69813
70411
  }, options);
69814
70412
  if (!requestRes.ok) {
69815
- return [requestRes, { status: "invalid" }];
70413
+ return [haltIterator(requestRes), { status: "invalid" }];
69816
70414
  }
69817
70415
  const req = requestRes.value;
69818
70416
  const doResult = await client._do(req, {
@@ -69822,21 +70420,49 @@ async function $do18(client, request, options) {
69822
70420
  retryCodes: context.retryCodes
69823
70421
  });
69824
70422
  if (!doResult.ok) {
69825
- return [doResult, { status: "request-error", request: req }];
70423
+ return [haltIterator(doResult), { status: "request-error", request: req }];
69826
70424
  }
69827
70425
  const response = doResult.value;
69828
70426
  const responseFields = {
69829
70427
  HttpMeta: { Response: response, Request: req }
69830
70428
  };
69831
- const [result] = await match(json(200, ListClientsResponse$inboundSchema, {
69832
- ctype: "application/hal+json"
70429
+ const [result, raw] = await match(json(200, ListClientsResponse$inboundSchema, {
70430
+ ctype: "application/hal+json",
70431
+ key: "Result"
69833
70432
  }), jsonErr([400, 404], ErrorResponse$inboundSchema, {
69834
70433
  ctype: "application/hal+json"
69835
70434
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
69836
70435
  if (!result.ok) {
69837
- return [result, { status: "complete", request: req, response }];
70436
+ return [haltIterator(result), {
70437
+ status: "complete",
70438
+ request: req,
70439
+ response
70440
+ }];
69838
70441
  }
69839
- return [result, { status: "complete", request: req, response }];
70442
+ const nextFunc = (responseData) => {
70443
+ let nextURL = dlv(responseData, "_links.next.href");
70444
+ if (typeof nextURL !== "string") {
70445
+ return { next: () => null };
70446
+ }
70447
+ if (nextURL.startsWith("/")) {
70448
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
70449
+ }
70450
+ try {
70451
+ new URL(nextURL);
70452
+ } catch (_error) {
70453
+ return { next: () => null };
70454
+ }
70455
+ const nextVal = () => clientsList(client, {
70456
+ ...request
70457
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
70458
+ return { next: nextVal, "~next": { url: nextURL } };
70459
+ };
70460
+ const page = { ...result, ...nextFunc(raw) };
70461
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
70462
+ status: "complete",
70463
+ request: req,
70464
+ response
70465
+ }];
69840
70466
  }
69841
70467
  var init_clientsList = __esm(() => {
69842
70468
  init_encodings();
@@ -69848,6 +70474,7 @@ var init_clientsList = __esm(() => {
69848
70474
  init_errors4();
69849
70475
  init_operations();
69850
70476
  init_async();
70477
+ init_operations2();
69851
70478
  });
69852
70479
 
69853
70480
  // src/mcp-server/tools/clientsList.ts
@@ -69875,7 +70502,7 @@ The results are paginated.`,
69875
70502
  isError: true
69876
70503
  };
69877
70504
  }
69878
- const value = result.value;
70505
+ const value = result.value.result;
69879
70506
  return formatResult(value, apiCall);
69880
70507
  }
69881
70508
  };
@@ -70393,12 +71020,12 @@ function customersList(client, request, options) {
70393
71020
  async function $do23(client, request, options) {
70394
71021
  const parsed = safeParse4(request, (value) => ListCustomersRequest$outboundSchema.optional().parse(value), "Input validation failed");
70395
71022
  if (!parsed.ok) {
70396
- return [parsed, { status: "invalid" }];
71023
+ return [haltIterator(parsed), { status: "invalid" }];
70397
71024
  }
70398
71025
  const payload = parsed.value;
70399
71026
  const body = null;
70400
- const path = pathToFunc("/customers")();
70401
- const query = encodeFormQuery({
71027
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/customers")();
71028
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
70402
71029
  from: payload?.from,
70403
71030
  limit: payload?.limit,
70404
71031
  sort: payload?.sort,
@@ -70432,7 +71059,7 @@ async function $do23(client, request, options) {
70432
71059
  const requestRes = client._createRequest(context, {
70433
71060
  security: requestSecurity,
70434
71061
  method: "GET",
70435
- baseURL: options?.serverURL,
71062
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
70436
71063
  path,
70437
71064
  headers,
70438
71065
  query,
@@ -70441,7 +71068,7 @@ async function $do23(client, request, options) {
70441
71068
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
70442
71069
  }, options);
70443
71070
  if (!requestRes.ok) {
70444
- return [requestRes, { status: "invalid" }];
71071
+ return [haltIterator(requestRes), { status: "invalid" }];
70445
71072
  }
70446
71073
  const req = requestRes.value;
70447
71074
  const doResult = await client._do(req, {
@@ -70451,21 +71078,49 @@ async function $do23(client, request, options) {
70451
71078
  retryCodes: context.retryCodes
70452
71079
  });
70453
71080
  if (!doResult.ok) {
70454
- return [doResult, { status: "request-error", request: req }];
71081
+ return [haltIterator(doResult), { status: "request-error", request: req }];
70455
71082
  }
70456
71083
  const response = doResult.value;
70457
71084
  const responseFields = {
70458
71085
  HttpMeta: { Response: response, Request: req }
70459
71086
  };
70460
- const [result] = await match(json(200, ListCustomersResponse$inboundSchema, {
70461
- ctype: "application/hal+json"
71087
+ const [result, raw] = await match(json(200, ListCustomersResponse$inboundSchema, {
71088
+ ctype: "application/hal+json",
71089
+ key: "Result"
70462
71090
  }), jsonErr([400, 404], ErrorResponse$inboundSchema, {
70463
71091
  ctype: "application/hal+json"
70464
71092
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
70465
71093
  if (!result.ok) {
70466
- return [result, { status: "complete", request: req, response }];
71094
+ return [haltIterator(result), {
71095
+ status: "complete",
71096
+ request: req,
71097
+ response
71098
+ }];
70467
71099
  }
70468
- return [result, { status: "complete", request: req, response }];
71100
+ const nextFunc = (responseData) => {
71101
+ let nextURL = dlv(responseData, "_links.next.href");
71102
+ if (typeof nextURL !== "string") {
71103
+ return { next: () => null };
71104
+ }
71105
+ if (nextURL.startsWith("/")) {
71106
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
71107
+ }
71108
+ try {
71109
+ new URL(nextURL);
71110
+ } catch (_error) {
71111
+ return { next: () => null };
71112
+ }
71113
+ const nextVal = () => customersList(client, {
71114
+ ...request
71115
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
71116
+ return { next: nextVal, "~next": { url: nextURL } };
71117
+ };
71118
+ const page = { ...result, ...nextFunc(raw) };
71119
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
71120
+ status: "complete",
71121
+ request: req,
71122
+ response
71123
+ }];
70469
71124
  }
70470
71125
  var init_customersList = __esm(() => {
70471
71126
  init_encodings();
@@ -70477,6 +71132,7 @@ var init_customersList = __esm(() => {
70477
71132
  init_errors4();
70478
71133
  init_operations();
70479
71134
  init_async();
71135
+ init_operations2();
70480
71136
  });
70481
71137
 
70482
71138
  // src/mcp-server/tools/customersList.ts
@@ -70504,7 +71160,7 @@ The results are paginated.`,
70504
71160
  isError: true
70505
71161
  };
70506
71162
  }
70507
- const value = result.value;
71163
+ const value = result.value.result;
70508
71164
  return formatResult(value, apiCall);
70509
71165
  }
70510
71166
  };
@@ -70517,7 +71173,7 @@ function customersListPayments(client, request, options) {
70517
71173
  async function $do24(client, request, options) {
70518
71174
  const parsed = safeParse4(request, (value) => ListCustomerPaymentsRequest$outboundSchema.parse(value), "Input validation failed");
70519
71175
  if (!parsed.ok) {
70520
- return [parsed, { status: "invalid" }];
71176
+ return [haltIterator(parsed), { status: "invalid" }];
70521
71177
  }
70522
71178
  const payload = parsed.value;
70523
71179
  const body = null;
@@ -70527,8 +71183,8 @@ async function $do24(client, request, options) {
70527
71183
  charEncoding: "percent"
70528
71184
  })
70529
71185
  };
70530
- const path = pathToFunc("/customers/{customerId}/payments")(pathParams);
70531
- const query = encodeFormQuery({
71186
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/customers/{customerId}/payments")(pathParams);
71187
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
70532
71188
  from: payload.from,
70533
71189
  limit: payload.limit,
70534
71190
  profileId: payload.profileId ?? client._options.profileId,
@@ -70563,7 +71219,7 @@ async function $do24(client, request, options) {
70563
71219
  const requestRes = client._createRequest(context, {
70564
71220
  security: requestSecurity,
70565
71221
  method: "GET",
70566
- baseURL: options?.serverURL,
71222
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
70567
71223
  path,
70568
71224
  headers,
70569
71225
  query,
@@ -70572,7 +71228,7 @@ async function $do24(client, request, options) {
70572
71228
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
70573
71229
  }, options);
70574
71230
  if (!requestRes.ok) {
70575
- return [requestRes, { status: "invalid" }];
71231
+ return [haltIterator(requestRes), { status: "invalid" }];
70576
71232
  }
70577
71233
  const req = requestRes.value;
70578
71234
  const doResult = await client._do(req, {
@@ -70582,21 +71238,49 @@ async function $do24(client, request, options) {
70582
71238
  retryCodes: context.retryCodes
70583
71239
  });
70584
71240
  if (!doResult.ok) {
70585
- return [doResult, { status: "request-error", request: req }];
71241
+ return [haltIterator(doResult), { status: "request-error", request: req }];
70586
71242
  }
70587
71243
  const response = doResult.value;
70588
71244
  const responseFields = {
70589
71245
  HttpMeta: { Response: response, Request: req }
70590
71246
  };
70591
- const [result] = await match(json(200, ListCustomerPaymentsResponse$inboundSchema, {
70592
- ctype: "application/hal+json"
71247
+ const [result, raw] = await match(json(200, ListCustomerPaymentsResponse$inboundSchema, {
71248
+ ctype: "application/hal+json",
71249
+ key: "Result"
70593
71250
  }), jsonErr(400, ErrorResponse$inboundSchema, {
70594
71251
  ctype: "application/hal+json"
70595
71252
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
70596
71253
  if (!result.ok) {
70597
- return [result, { status: "complete", request: req, response }];
71254
+ return [haltIterator(result), {
71255
+ status: "complete",
71256
+ request: req,
71257
+ response
71258
+ }];
70598
71259
  }
70599
- return [result, { status: "complete", request: req, response }];
71260
+ const nextFunc = (responseData) => {
71261
+ let nextURL = dlv(responseData, "_links.next.href");
71262
+ if (typeof nextURL !== "string") {
71263
+ return { next: () => null };
71264
+ }
71265
+ if (nextURL.startsWith("/")) {
71266
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
71267
+ }
71268
+ try {
71269
+ new URL(nextURL);
71270
+ } catch (_error) {
71271
+ return { next: () => null };
71272
+ }
71273
+ const nextVal = () => customersListPayments(client, {
71274
+ ...request
71275
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
71276
+ return { next: nextVal, "~next": { url: nextURL } };
71277
+ };
71278
+ const page = { ...result, ...nextFunc(raw) };
71279
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
71280
+ status: "complete",
71281
+ request: req,
71282
+ response
71283
+ }];
70600
71284
  }
70601
71285
  var init_customersListPayments = __esm(() => {
70602
71286
  init_encodings();
@@ -70608,6 +71292,7 @@ var init_customersListPayments = __esm(() => {
70608
71292
  init_errors4();
70609
71293
  init_operations();
70610
71294
  init_async();
71295
+ init_operations2();
70611
71296
  });
70612
71297
 
70613
71298
  // src/mcp-server/tools/customersListPayments.ts
@@ -70633,7 +71318,7 @@ Retrieve all payments linked to the customer.`,
70633
71318
  isError: true
70634
71319
  };
70635
71320
  }
70636
- const value = result.value;
71321
+ const value = result.value.result;
70637
71322
  return formatResult(value, apiCall);
70638
71323
  }
70639
71324
  };
@@ -71273,12 +71958,12 @@ function invoicesList(client, request, options) {
71273
71958
  async function $do30(client, request, options) {
71274
71959
  const parsed = safeParse4(request, (value) => ListInvoicesRequest$outboundSchema.optional().parse(value), "Input validation failed");
71275
71960
  if (!parsed.ok) {
71276
- return [parsed, { status: "invalid" }];
71961
+ return [haltIterator(parsed), { status: "invalid" }];
71277
71962
  }
71278
71963
  const payload = parsed.value;
71279
71964
  const body = null;
71280
- const path = pathToFunc("/invoices")();
71281
- const query = encodeFormQuery({
71965
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/invoices")();
71966
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
71282
71967
  from: payload?.from,
71283
71968
  limit: payload?.limit,
71284
71969
  reference: payload?.reference,
@@ -71313,7 +71998,7 @@ async function $do30(client, request, options) {
71313
71998
  const requestRes = client._createRequest(context, {
71314
71999
  security: requestSecurity,
71315
72000
  method: "GET",
71316
- baseURL: options?.serverURL,
72001
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
71317
72002
  path,
71318
72003
  headers,
71319
72004
  query,
@@ -71322,7 +72007,7 @@ async function $do30(client, request, options) {
71322
72007
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
71323
72008
  }, options);
71324
72009
  if (!requestRes.ok) {
71325
- return [requestRes, { status: "invalid" }];
72010
+ return [haltIterator(requestRes), { status: "invalid" }];
71326
72011
  }
71327
72012
  const req = requestRes.value;
71328
72013
  const doResult = await client._do(req, {
@@ -71332,21 +72017,49 @@ async function $do30(client, request, options) {
71332
72017
  retryCodes: context.retryCodes
71333
72018
  });
71334
72019
  if (!doResult.ok) {
71335
- return [doResult, { status: "request-error", request: req }];
72020
+ return [haltIterator(doResult), { status: "request-error", request: req }];
71336
72021
  }
71337
72022
  const response = doResult.value;
71338
72023
  const responseFields = {
71339
72024
  HttpMeta: { Response: response, Request: req }
71340
72025
  };
71341
- const [result] = await match(json(200, ListInvoicesResponse$inboundSchema, {
71342
- ctype: "application/hal+json"
72026
+ const [result, raw] = await match(json(200, ListInvoicesResponse$inboundSchema, {
72027
+ ctype: "application/hal+json",
72028
+ key: "Result"
71343
72029
  }), jsonErr([400, 404], ErrorResponse$inboundSchema, {
71344
72030
  ctype: "application/hal+json"
71345
72031
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
71346
72032
  if (!result.ok) {
71347
- return [result, { status: "complete", request: req, response }];
72033
+ return [haltIterator(result), {
72034
+ status: "complete",
72035
+ request: req,
72036
+ response
72037
+ }];
71348
72038
  }
71349
- return [result, { status: "complete", request: req, response }];
72039
+ const nextFunc = (responseData) => {
72040
+ let nextURL = dlv(responseData, "_links.next.href");
72041
+ if (typeof nextURL !== "string") {
72042
+ return { next: () => null };
72043
+ }
72044
+ if (nextURL.startsWith("/")) {
72045
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
72046
+ }
72047
+ try {
72048
+ new URL(nextURL);
72049
+ } catch (_error) {
72050
+ return { next: () => null };
72051
+ }
72052
+ const nextVal = () => invoicesList(client, {
72053
+ ...request
72054
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
72055
+ return { next: nextVal, "~next": { url: nextURL } };
72056
+ };
72057
+ const page = { ...result, ...nextFunc(raw) };
72058
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
72059
+ status: "complete",
72060
+ request: req,
72061
+ response
72062
+ }];
71350
72063
  }
71351
72064
  var init_invoicesList = __esm(() => {
71352
72065
  init_encodings();
@@ -71358,6 +72071,7 @@ var init_invoicesList = __esm(() => {
71358
72071
  init_errors4();
71359
72072
  init_operations();
71360
72073
  init_async();
72074
+ init_operations2();
71361
72075
  });
71362
72076
 
71363
72077
  // src/mcp-server/tools/invoicesList.ts
@@ -71386,7 +72100,7 @@ The results are paginated.`,
71386
72100
  isError: true
71387
72101
  };
71388
72102
  }
71389
- const value = result.value;
72103
+ const value = result.value.result;
71390
72104
  return formatResult(value, apiCall);
71391
72105
  }
71392
72106
  };
@@ -71659,7 +72373,7 @@ function mandatesList(client, request, options) {
71659
72373
  async function $do33(client, request, options) {
71660
72374
  const parsed = safeParse4(request, (value) => ListMandatesRequest$outboundSchema.parse(value), "Input validation failed");
71661
72375
  if (!parsed.ok) {
71662
- return [parsed, { status: "invalid" }];
72376
+ return [haltIterator(parsed), { status: "invalid" }];
71663
72377
  }
71664
72378
  const payload = parsed.value;
71665
72379
  const body = null;
@@ -71669,8 +72383,8 @@ async function $do33(client, request, options) {
71669
72383
  charEncoding: "percent"
71670
72384
  })
71671
72385
  };
71672
- const path = pathToFunc("/customers/{customerId}/mandates")(pathParams);
71673
- const query = encodeFormQuery({
72386
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/customers/{customerId}/mandates")(pathParams);
72387
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
71674
72388
  from: payload.from,
71675
72389
  limit: payload.limit,
71676
72390
  sort: payload.sort,
@@ -71704,7 +72418,7 @@ async function $do33(client, request, options) {
71704
72418
  const requestRes = client._createRequest(context, {
71705
72419
  security: requestSecurity,
71706
72420
  method: "GET",
71707
- baseURL: options?.serverURL,
72421
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
71708
72422
  path,
71709
72423
  headers,
71710
72424
  query,
@@ -71713,7 +72427,7 @@ async function $do33(client, request, options) {
71713
72427
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
71714
72428
  }, options);
71715
72429
  if (!requestRes.ok) {
71716
- return [requestRes, { status: "invalid" }];
72430
+ return [haltIterator(requestRes), { status: "invalid" }];
71717
72431
  }
71718
72432
  const req = requestRes.value;
71719
72433
  const doResult = await client._do(req, {
@@ -71723,21 +72437,49 @@ async function $do33(client, request, options) {
71723
72437
  retryCodes: context.retryCodes
71724
72438
  });
71725
72439
  if (!doResult.ok) {
71726
- return [doResult, { status: "request-error", request: req }];
72440
+ return [haltIterator(doResult), { status: "request-error", request: req }];
71727
72441
  }
71728
72442
  const response = doResult.value;
71729
72443
  const responseFields = {
71730
72444
  HttpMeta: { Response: response, Request: req }
71731
72445
  };
71732
- const [result] = await match(json(200, ListMandatesResponse$inboundSchema, {
71733
- ctype: "application/hal+json"
72446
+ const [result, raw] = await match(json(200, ListMandatesResponse$inboundSchema, {
72447
+ ctype: "application/hal+json",
72448
+ key: "Result"
71734
72449
  }), jsonErr([400, 404], ErrorResponse$inboundSchema, {
71735
72450
  ctype: "application/hal+json"
71736
72451
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
71737
72452
  if (!result.ok) {
71738
- return [result, { status: "complete", request: req, response }];
72453
+ return [haltIterator(result), {
72454
+ status: "complete",
72455
+ request: req,
72456
+ response
72457
+ }];
71739
72458
  }
71740
- return [result, { status: "complete", request: req, response }];
72459
+ const nextFunc = (responseData) => {
72460
+ let nextURL = dlv(responseData, "_links.next.href");
72461
+ if (typeof nextURL !== "string") {
72462
+ return { next: () => null };
72463
+ }
72464
+ if (nextURL.startsWith("/")) {
72465
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
72466
+ }
72467
+ try {
72468
+ new URL(nextURL);
72469
+ } catch (_error) {
72470
+ return { next: () => null };
72471
+ }
72472
+ const nextVal = () => mandatesList(client, {
72473
+ ...request
72474
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
72475
+ return { next: nextVal, "~next": { url: nextURL } };
72476
+ };
72477
+ const page = { ...result, ...nextFunc(raw) };
72478
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
72479
+ status: "complete",
72480
+ request: req,
72481
+ response
72482
+ }];
71741
72483
  }
71742
72484
  var init_mandatesList = __esm(() => {
71743
72485
  init_encodings();
@@ -71749,6 +72491,7 @@ var init_mandatesList = __esm(() => {
71749
72491
  init_errors4();
71750
72492
  init_operations();
71751
72493
  init_async();
72494
+ init_operations2();
71752
72495
  });
71753
72496
 
71754
72497
  // src/mcp-server/tools/mandatesList.ts
@@ -71776,7 +72519,7 @@ The results are paginated.`,
71776
72519
  isError: true
71777
72520
  };
71778
72521
  }
71779
- const value = result.value;
72522
+ const value = result.value.result;
71780
72523
  return formatResult(value, apiCall);
71781
72524
  }
71782
72525
  };
@@ -73283,12 +74026,12 @@ function paymentLinksList(client, request, options) {
73283
74026
  async function $do46(client, request, options) {
73284
74027
  const parsed = safeParse4(request, (value) => ListPaymentLinksRequest$outboundSchema.optional().parse(value), "Input validation failed");
73285
74028
  if (!parsed.ok) {
73286
- return [parsed, { status: "invalid" }];
74029
+ return [haltIterator(parsed), { status: "invalid" }];
73287
74030
  }
73288
74031
  const payload = parsed.value;
73289
74032
  const body = null;
73290
- const path = pathToFunc("/payment-links")();
73291
- const query = encodeFormQuery({
74033
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/payment-links")();
74034
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
73292
74035
  from: payload?.from,
73293
74036
  limit: payload?.limit,
73294
74037
  testmode: payload?.testmode ?? client._options.testmode
@@ -73321,7 +74064,7 @@ async function $do46(client, request, options) {
73321
74064
  const requestRes = client._createRequest(context, {
73322
74065
  security: requestSecurity,
73323
74066
  method: "GET",
73324
- baseURL: options?.serverURL,
74067
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
73325
74068
  path,
73326
74069
  headers,
73327
74070
  query,
@@ -73330,7 +74073,7 @@ async function $do46(client, request, options) {
73330
74073
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
73331
74074
  }, options);
73332
74075
  if (!requestRes.ok) {
73333
- return [requestRes, { status: "invalid" }];
74076
+ return [haltIterator(requestRes), { status: "invalid" }];
73334
74077
  }
73335
74078
  const req = requestRes.value;
73336
74079
  const doResult = await client._do(req, {
@@ -73340,21 +74083,49 @@ async function $do46(client, request, options) {
73340
74083
  retryCodes: context.retryCodes
73341
74084
  });
73342
74085
  if (!doResult.ok) {
73343
- return [doResult, { status: "request-error", request: req }];
74086
+ return [haltIterator(doResult), { status: "request-error", request: req }];
73344
74087
  }
73345
74088
  const response = doResult.value;
73346
74089
  const responseFields = {
73347
74090
  HttpMeta: { Response: response, Request: req }
73348
74091
  };
73349
- const [result] = await match(json(200, ListPaymentLinksResponse$inboundSchema, {
73350
- ctype: "application/hal+json"
74092
+ const [result, raw] = await match(json(200, ListPaymentLinksResponse$inboundSchema, {
74093
+ ctype: "application/hal+json",
74094
+ key: "Result"
73351
74095
  }), jsonErr(400, ErrorResponse$inboundSchema, {
73352
74096
  ctype: "application/hal+json"
73353
74097
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
73354
74098
  if (!result.ok) {
73355
- return [result, { status: "complete", request: req, response }];
74099
+ return [haltIterator(result), {
74100
+ status: "complete",
74101
+ request: req,
74102
+ response
74103
+ }];
73356
74104
  }
73357
- return [result, { status: "complete", request: req, response }];
74105
+ const nextFunc = (responseData) => {
74106
+ let nextURL = dlv(responseData, "_links.next.href");
74107
+ if (typeof nextURL !== "string") {
74108
+ return { next: () => null };
74109
+ }
74110
+ if (nextURL.startsWith("/")) {
74111
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
74112
+ }
74113
+ try {
74114
+ new URL(nextURL);
74115
+ } catch (_error) {
74116
+ return { next: () => null };
74117
+ }
74118
+ const nextVal = () => paymentLinksList(client, {
74119
+ ...request
74120
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
74121
+ return { next: nextVal, "~next": { url: nextURL } };
74122
+ };
74123
+ const page = { ...result, ...nextFunc(raw) };
74124
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
74125
+ status: "complete",
74126
+ request: req,
74127
+ response
74128
+ }];
73358
74129
  }
73359
74130
  var init_paymentLinksList = __esm(() => {
73360
74131
  init_encodings();
@@ -73366,6 +74137,7 @@ var init_paymentLinksList = __esm(() => {
73366
74137
  init_errors4();
73367
74138
  init_operations();
73368
74139
  init_async();
74140
+ init_operations2();
73369
74141
  });
73370
74142
 
73371
74143
  // src/mcp-server/tools/paymentLinksList.ts
@@ -73393,7 +74165,7 @@ The results are paginated.`,
73393
74165
  isError: true
73394
74166
  };
73395
74167
  }
73396
- const value = result.value;
74168
+ const value = result.value.result;
73397
74169
  return formatResult(value, apiCall);
73398
74170
  }
73399
74171
  };
@@ -73406,7 +74178,7 @@ function paymentLinksListPayments(client, request, options) {
73406
74178
  async function $do47(client, request, options) {
73407
74179
  const parsed = safeParse4(request, (value) => GetPaymentLinkPaymentsRequest$outboundSchema.parse(value), "Input validation failed");
73408
74180
  if (!parsed.ok) {
73409
- return [parsed, { status: "invalid" }];
74181
+ return [haltIterator(parsed), { status: "invalid" }];
73410
74182
  }
73411
74183
  const payload = parsed.value;
73412
74184
  const body = null;
@@ -73416,8 +74188,8 @@ async function $do47(client, request, options) {
73416
74188
  charEncoding: "percent"
73417
74189
  })
73418
74190
  };
73419
- const path = pathToFunc("/payment-links/{paymentLinkId}/payments")(pathParams);
73420
- const query = encodeFormQuery({
74191
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/payment-links/{paymentLinkId}/payments")(pathParams);
74192
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
73421
74193
  from: payload.from,
73422
74194
  limit: payload.limit,
73423
74195
  sort: payload.sort,
@@ -73451,7 +74223,7 @@ async function $do47(client, request, options) {
73451
74223
  const requestRes = client._createRequest(context, {
73452
74224
  security: requestSecurity,
73453
74225
  method: "GET",
73454
- baseURL: options?.serverURL,
74226
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
73455
74227
  path,
73456
74228
  headers,
73457
74229
  query,
@@ -73460,7 +74232,7 @@ async function $do47(client, request, options) {
73460
74232
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
73461
74233
  }, options);
73462
74234
  if (!requestRes.ok) {
73463
- return [requestRes, { status: "invalid" }];
74235
+ return [haltIterator(requestRes), { status: "invalid" }];
73464
74236
  }
73465
74237
  const req = requestRes.value;
73466
74238
  const doResult = await client._do(req, {
@@ -73470,21 +74242,49 @@ async function $do47(client, request, options) {
73470
74242
  retryCodes: context.retryCodes
73471
74243
  });
73472
74244
  if (!doResult.ok) {
73473
- return [doResult, { status: "request-error", request: req }];
74245
+ return [haltIterator(doResult), { status: "request-error", request: req }];
73474
74246
  }
73475
74247
  const response = doResult.value;
73476
74248
  const responseFields = {
73477
74249
  HttpMeta: { Response: response, Request: req }
73478
74250
  };
73479
- const [result] = await match(json(200, GetPaymentLinkPaymentsResponse$inboundSchema, {
73480
- ctype: "application/hal+json"
74251
+ const [result, raw] = await match(json(200, GetPaymentLinkPaymentsResponse$inboundSchema, {
74252
+ ctype: "application/hal+json",
74253
+ key: "Result"
73481
74254
  }), jsonErr(400, ErrorResponse$inboundSchema, {
73482
74255
  ctype: "application/hal+json"
73483
74256
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
73484
74257
  if (!result.ok) {
73485
- return [result, { status: "complete", request: req, response }];
74258
+ return [haltIterator(result), {
74259
+ status: "complete",
74260
+ request: req,
74261
+ response
74262
+ }];
73486
74263
  }
73487
- return [result, { status: "complete", request: req, response }];
74264
+ const nextFunc = (responseData) => {
74265
+ let nextURL = dlv(responseData, "_links.next.href");
74266
+ if (typeof nextURL !== "string") {
74267
+ return { next: () => null };
74268
+ }
74269
+ if (nextURL.startsWith("/")) {
74270
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
74271
+ }
74272
+ try {
74273
+ new URL(nextURL);
74274
+ } catch (_error) {
74275
+ return { next: () => null };
74276
+ }
74277
+ const nextVal = () => paymentLinksListPayments(client, {
74278
+ ...request
74279
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
74280
+ return { next: nextVal, "~next": { url: nextURL } };
74281
+ };
74282
+ const page = { ...result, ...nextFunc(raw) };
74283
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
74284
+ status: "complete",
74285
+ request: req,
74286
+ response
74287
+ }];
73488
74288
  }
73489
74289
  var init_paymentLinksListPayments = __esm(() => {
73490
74290
  init_encodings();
@@ -73496,6 +74296,7 @@ var init_paymentLinksListPayments = __esm(() => {
73496
74296
  init_errors4();
73497
74297
  init_operations();
73498
74298
  init_async();
74299
+ init_operations2();
73499
74300
  });
73500
74301
 
73501
74302
  // src/mcp-server/tools/paymentLinksListPayments.ts
@@ -73523,7 +74324,7 @@ The results are paginated.`,
73523
74324
  isError: true
73524
74325
  };
73525
74326
  }
73526
- const value = result.value;
74327
+ const value = result.value.result;
73527
74328
  return formatResult(value, apiCall);
73528
74329
  }
73529
74330
  };
@@ -74051,12 +74852,12 @@ function paymentsList(client, request, options) {
74051
74852
  async function $do52(client, request, options) {
74052
74853
  const parsed = safeParse4(request, (value) => ListPaymentsRequest$outboundSchema.optional().parse(value), "Input validation failed");
74053
74854
  if (!parsed.ok) {
74054
- return [parsed, { status: "invalid" }];
74855
+ return [haltIterator(parsed), { status: "invalid" }];
74055
74856
  }
74056
74857
  const payload = parsed.value;
74057
74858
  const body = null;
74058
- const path = pathToFunc("/payments")();
74059
- const query = encodeFormQuery({
74859
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/payments")();
74860
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
74060
74861
  from: payload?.from,
74061
74862
  limit: payload?.limit,
74062
74863
  profileId: payload?.profileId ?? client._options.profileId,
@@ -74091,7 +74892,7 @@ async function $do52(client, request, options) {
74091
74892
  const requestRes = client._createRequest(context, {
74092
74893
  security: requestSecurity,
74093
74894
  method: "GET",
74094
- baseURL: options?.serverURL,
74895
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
74095
74896
  path,
74096
74897
  headers,
74097
74898
  query,
@@ -74100,7 +74901,7 @@ async function $do52(client, request, options) {
74100
74901
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
74101
74902
  }, options);
74102
74903
  if (!requestRes.ok) {
74103
- return [requestRes, { status: "invalid" }];
74904
+ return [haltIterator(requestRes), { status: "invalid" }];
74104
74905
  }
74105
74906
  const req = requestRes.value;
74106
74907
  const doResult = await client._do(req, {
@@ -74110,21 +74911,49 @@ async function $do52(client, request, options) {
74110
74911
  retryCodes: context.retryCodes
74111
74912
  });
74112
74913
  if (!doResult.ok) {
74113
- return [doResult, { status: "request-error", request: req }];
74914
+ return [haltIterator(doResult), { status: "request-error", request: req }];
74114
74915
  }
74115
74916
  const response = doResult.value;
74116
74917
  const responseFields = {
74117
74918
  HttpMeta: { Response: response, Request: req }
74118
74919
  };
74119
- const [result] = await match(json(200, ListPaymentsResponse$inboundSchema, {
74120
- ctype: "application/hal+json"
74920
+ const [result, raw] = await match(json(200, ListPaymentsResponse$inboundSchema, {
74921
+ ctype: "application/hal+json",
74922
+ key: "Result"
74121
74923
  }), jsonErr(400, ErrorResponse$inboundSchema, {
74122
74924
  ctype: "application/hal+json"
74123
74925
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
74124
74926
  if (!result.ok) {
74125
- return [result, { status: "complete", request: req, response }];
74927
+ return [haltIterator(result), {
74928
+ status: "complete",
74929
+ request: req,
74930
+ response
74931
+ }];
74126
74932
  }
74127
- return [result, { status: "complete", request: req, response }];
74933
+ const nextFunc = (responseData) => {
74934
+ let nextURL = dlv(responseData, "_links.next.href");
74935
+ if (typeof nextURL !== "string") {
74936
+ return { next: () => null };
74937
+ }
74938
+ if (nextURL.startsWith("/")) {
74939
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
74940
+ }
74941
+ try {
74942
+ new URL(nextURL);
74943
+ } catch (_error) {
74944
+ return { next: () => null };
74945
+ }
74946
+ const nextVal = () => paymentsList(client, {
74947
+ ...request
74948
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
74949
+ return { next: nextVal, "~next": { url: nextURL } };
74950
+ };
74951
+ const page = { ...result, ...nextFunc(raw) };
74952
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
74953
+ status: "complete",
74954
+ request: req,
74955
+ response
74956
+ }];
74128
74957
  }
74129
74958
  var init_paymentsList = __esm(() => {
74130
74959
  init_encodings();
@@ -74136,6 +74965,7 @@ var init_paymentsList = __esm(() => {
74136
74965
  init_errors4();
74137
74966
  init_operations();
74138
74967
  init_async();
74968
+ init_operations2();
74139
74969
  });
74140
74970
 
74141
74971
  // src/mcp-server/tools/paymentsList.ts
@@ -74163,7 +74993,7 @@ The results are paginated.`,
74163
74993
  isError: true
74164
74994
  };
74165
74995
  }
74166
- const value = result.value;
74996
+ const value = result.value.result;
74167
74997
  return formatResult(value, apiCall);
74168
74998
  }
74169
74999
  };
@@ -75152,12 +75982,12 @@ function profilesList(client, request, options) {
75152
75982
  async function $do61(client, request, options) {
75153
75983
  const parsed = safeParse4(request, (value) => ListProfilesRequest$outboundSchema.optional().parse(value), "Input validation failed");
75154
75984
  if (!parsed.ok) {
75155
- return [parsed, { status: "invalid" }];
75985
+ return [haltIterator(parsed), { status: "invalid" }];
75156
75986
  }
75157
75987
  const payload = parsed.value;
75158
75988
  const body = null;
75159
- const path = pathToFunc("/profiles")();
75160
- const query = encodeFormQuery({
75989
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/profiles")();
75990
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
75161
75991
  from: payload?.from,
75162
75992
  limit: payload?.limit
75163
75993
  });
@@ -75189,7 +76019,7 @@ async function $do61(client, request, options) {
75189
76019
  const requestRes = client._createRequest(context, {
75190
76020
  security: requestSecurity,
75191
76021
  method: "GET",
75192
- baseURL: options?.serverURL,
76022
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
75193
76023
  path,
75194
76024
  headers,
75195
76025
  query,
@@ -75198,7 +76028,7 @@ async function $do61(client, request, options) {
75198
76028
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
75199
76029
  }, options);
75200
76030
  if (!requestRes.ok) {
75201
- return [requestRes, { status: "invalid" }];
76031
+ return [haltIterator(requestRes), { status: "invalid" }];
75202
76032
  }
75203
76033
  const req = requestRes.value;
75204
76034
  const doResult = await client._do(req, {
@@ -75208,21 +76038,49 @@ async function $do61(client, request, options) {
75208
76038
  retryCodes: context.retryCodes
75209
76039
  });
75210
76040
  if (!doResult.ok) {
75211
- return [doResult, { status: "request-error", request: req }];
76041
+ return [haltIterator(doResult), { status: "request-error", request: req }];
75212
76042
  }
75213
76043
  const response = doResult.value;
75214
76044
  const responseFields = {
75215
76045
  HttpMeta: { Response: response, Request: req }
75216
76046
  };
75217
- const [result] = await match(json(200, ListProfilesResponse$inboundSchema, {
75218
- ctype: "application/hal+json"
76047
+ const [result, raw] = await match(json(200, ListProfilesResponse$inboundSchema, {
76048
+ ctype: "application/hal+json",
76049
+ key: "Result"
75219
76050
  }), jsonErr(400, ErrorResponse$inboundSchema, {
75220
76051
  ctype: "application/hal+json"
75221
76052
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
75222
76053
  if (!result.ok) {
75223
- return [result, { status: "complete", request: req, response }];
76054
+ return [haltIterator(result), {
76055
+ status: "complete",
76056
+ request: req,
76057
+ response
76058
+ }];
75224
76059
  }
75225
- return [result, { status: "complete", request: req, response }];
76060
+ const nextFunc = (responseData) => {
76061
+ let nextURL = dlv(responseData, "_links.next.href");
76062
+ if (typeof nextURL !== "string") {
76063
+ return { next: () => null };
76064
+ }
76065
+ if (nextURL.startsWith("/")) {
76066
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
76067
+ }
76068
+ try {
76069
+ new URL(nextURL);
76070
+ } catch (_error) {
76071
+ return { next: () => null };
76072
+ }
76073
+ const nextVal = () => profilesList(client, {
76074
+ ...request
76075
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
76076
+ return { next: nextVal, "~next": { url: nextURL } };
76077
+ };
76078
+ const page = { ...result, ...nextFunc(raw) };
76079
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
76080
+ status: "complete",
76081
+ request: req,
76082
+ response
76083
+ }];
75226
76084
  }
75227
76085
  var init_profilesList = __esm(() => {
75228
76086
  init_encodings();
@@ -75234,6 +76092,7 @@ var init_profilesList = __esm(() => {
75234
76092
  init_errors4();
75235
76093
  init_operations();
75236
76094
  init_async();
76095
+ init_operations2();
75237
76096
  });
75238
76097
 
75239
76098
  // src/mcp-server/tools/profilesList.ts
@@ -75261,7 +76120,7 @@ The results are paginated.`,
75261
76120
  isError: true
75262
76121
  };
75263
76122
  }
75264
- const value = result.value;
76123
+ const value = result.value.result;
75265
76124
  return formatResult(value, apiCall);
75266
76125
  }
75267
76126
  };
@@ -75400,12 +76259,12 @@ function refundsAll(client, request, options) {
75400
76259
  async function $do63(client, request, options) {
75401
76260
  const parsed = safeParse4(request, (value) => ListAllRefundsRequest$outboundSchema.optional().parse(value), "Input validation failed");
75402
76261
  if (!parsed.ok) {
75403
- return [parsed, { status: "invalid" }];
76262
+ return [haltIterator(parsed), { status: "invalid" }];
75404
76263
  }
75405
76264
  const payload = parsed.value;
75406
76265
  const body = null;
75407
- const path = pathToFunc("/refunds")();
75408
- const query = encodeFormQuery({
76266
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/refunds")();
76267
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
75409
76268
  embed: payload?.embed,
75410
76269
  from: payload?.from,
75411
76270
  limit: payload?.limit,
@@ -75441,7 +76300,7 @@ async function $do63(client, request, options) {
75441
76300
  const requestRes = client._createRequest(context, {
75442
76301
  security: requestSecurity,
75443
76302
  method: "GET",
75444
- baseURL: options?.serverURL,
76303
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
75445
76304
  path,
75446
76305
  headers,
75447
76306
  query,
@@ -75450,7 +76309,7 @@ async function $do63(client, request, options) {
75450
76309
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
75451
76310
  }, options);
75452
76311
  if (!requestRes.ok) {
75453
- return [requestRes, { status: "invalid" }];
76312
+ return [haltIterator(requestRes), { status: "invalid" }];
75454
76313
  }
75455
76314
  const req = requestRes.value;
75456
76315
  const doResult = await client._do(req, {
@@ -75460,21 +76319,49 @@ async function $do63(client, request, options) {
75460
76319
  retryCodes: context.retryCodes
75461
76320
  });
75462
76321
  if (!doResult.ok) {
75463
- return [doResult, { status: "request-error", request: req }];
76322
+ return [haltIterator(doResult), { status: "request-error", request: req }];
75464
76323
  }
75465
76324
  const response = doResult.value;
75466
76325
  const responseFields = {
75467
76326
  HttpMeta: { Response: response, Request: req }
75468
76327
  };
75469
- const [result] = await match(json(200, ListAllRefundsResponse$inboundSchema, {
75470
- ctype: "application/hal+json"
76328
+ const [result, raw] = await match(json(200, ListAllRefundsResponse$inboundSchema, {
76329
+ ctype: "application/hal+json",
76330
+ key: "Result"
75471
76331
  }), jsonErr(400, ErrorResponse$inboundSchema, {
75472
76332
  ctype: "application/hal+json"
75473
76333
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
75474
76334
  if (!result.ok) {
75475
- return [result, { status: "complete", request: req, response }];
76335
+ return [haltIterator(result), {
76336
+ status: "complete",
76337
+ request: req,
76338
+ response
76339
+ }];
75476
76340
  }
75477
- return [result, { status: "complete", request: req, response }];
76341
+ const nextFunc = (responseData) => {
76342
+ let nextURL = dlv(responseData, "_links.next.href");
76343
+ if (typeof nextURL !== "string") {
76344
+ return { next: () => null };
76345
+ }
76346
+ if (nextURL.startsWith("/")) {
76347
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
76348
+ }
76349
+ try {
76350
+ new URL(nextURL);
76351
+ } catch (_error) {
76352
+ return { next: () => null };
76353
+ }
76354
+ const nextVal = () => refundsAll(client, {
76355
+ ...request
76356
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
76357
+ return { next: nextVal, "~next": { url: nextURL } };
76358
+ };
76359
+ const page = { ...result, ...nextFunc(raw) };
76360
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
76361
+ status: "complete",
76362
+ request: req,
76363
+ response
76364
+ }];
75478
76365
  }
75479
76366
  var init_refundsAll = __esm(() => {
75480
76367
  init_encodings();
@@ -75486,6 +76373,7 @@ var init_refundsAll = __esm(() => {
75486
76373
  init_errors4();
75487
76374
  init_operations();
75488
76375
  init_async();
76376
+ init_operations2();
75489
76377
  });
75490
76378
 
75491
76379
  // src/mcp-server/tools/refundsAll.ts
@@ -75513,7 +76401,7 @@ The results are paginated.`,
75513
76401
  isError: true
75514
76402
  };
75515
76403
  }
75516
- const value = result.value;
76404
+ const value = result.value.result;
75517
76405
  return formatResult(value, apiCall);
75518
76406
  }
75519
76407
  };
@@ -75912,7 +76800,7 @@ function refundsList(client, request, options) {
75912
76800
  async function $do67(client, request, options) {
75913
76801
  const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
75914
76802
  if (!parsed.ok) {
75915
- return [parsed, { status: "invalid" }];
76803
+ return [haltIterator(parsed), { status: "invalid" }];
75916
76804
  }
75917
76805
  const payload = parsed.value;
75918
76806
  const body = null;
@@ -75922,8 +76810,8 @@ async function $do67(client, request, options) {
75922
76810
  charEncoding: "percent"
75923
76811
  })
75924
76812
  };
75925
- const path = pathToFunc("/payments/{paymentId}/refunds")(pathParams);
75926
- const query = encodeFormQuery({
76813
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/payments/{paymentId}/refunds")(pathParams);
76814
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
75927
76815
  embed: payload.embed,
75928
76816
  from: payload.from,
75929
76817
  limit: payload.limit,
@@ -75957,7 +76845,7 @@ async function $do67(client, request, options) {
75957
76845
  const requestRes = client._createRequest(context, {
75958
76846
  security: requestSecurity,
75959
76847
  method: "GET",
75960
- baseURL: options?.serverURL,
76848
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
75961
76849
  path,
75962
76850
  headers,
75963
76851
  query,
@@ -75966,7 +76854,7 @@ async function $do67(client, request, options) {
75966
76854
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
75967
76855
  }, options);
75968
76856
  if (!requestRes.ok) {
75969
- return [requestRes, { status: "invalid" }];
76857
+ return [haltIterator(requestRes), { status: "invalid" }];
75970
76858
  }
75971
76859
  const req = requestRes.value;
75972
76860
  const doResult = await client._do(req, {
@@ -75976,21 +76864,49 @@ async function $do67(client, request, options) {
75976
76864
  retryCodes: context.retryCodes
75977
76865
  });
75978
76866
  if (!doResult.ok) {
75979
- return [doResult, { status: "request-error", request: req }];
76867
+ return [haltIterator(doResult), { status: "request-error", request: req }];
75980
76868
  }
75981
76869
  const response = doResult.value;
75982
76870
  const responseFields = {
75983
76871
  HttpMeta: { Response: response, Request: req }
75984
76872
  };
75985
- const [result] = await match(json(200, ListRefundsResponse$inboundSchema, {
75986
- ctype: "application/hal+json"
76873
+ const [result, raw] = await match(json(200, ListRefundsResponse$inboundSchema, {
76874
+ ctype: "application/hal+json",
76875
+ key: "Result"
75987
76876
  }), jsonErr([400, 404], ErrorResponse$inboundSchema, {
75988
76877
  ctype: "application/hal+json"
75989
76878
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
75990
76879
  if (!result.ok) {
75991
- return [result, { status: "complete", request: req, response }];
76880
+ return [haltIterator(result), {
76881
+ status: "complete",
76882
+ request: req,
76883
+ response
76884
+ }];
75992
76885
  }
75993
- return [result, { status: "complete", request: req, response }];
76886
+ const nextFunc = (responseData) => {
76887
+ let nextURL = dlv(responseData, "_links.next.href");
76888
+ if (typeof nextURL !== "string") {
76889
+ return { next: () => null };
76890
+ }
76891
+ if (nextURL.startsWith("/")) {
76892
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
76893
+ }
76894
+ try {
76895
+ new URL(nextURL);
76896
+ } catch (_error) {
76897
+ return { next: () => null };
76898
+ }
76899
+ const nextVal = () => refundsList(client, {
76900
+ ...request
76901
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
76902
+ return { next: nextVal, "~next": { url: nextURL } };
76903
+ };
76904
+ const page = { ...result, ...nextFunc(raw) };
76905
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
76906
+ status: "complete",
76907
+ request: req,
76908
+ response
76909
+ }];
75994
76910
  }
75995
76911
  var init_refundsList = __esm(() => {
75996
76912
  init_encodings();
@@ -76002,6 +76918,7 @@ var init_refundsList = __esm(() => {
76002
76918
  init_errors4();
76003
76919
  init_operations();
76004
76920
  init_async();
76921
+ init_operations2();
76005
76922
  });
76006
76923
 
76007
76924
  // src/mcp-server/tools/refundsList.ts
@@ -76029,7 +76946,7 @@ The results are paginated.`,
76029
76946
  isError: true
76030
76947
  };
76031
76948
  }
76032
- const value = result.value;
76949
+ const value = result.value.result;
76033
76950
  return formatResult(value, apiCall);
76034
76951
  }
76035
76952
  };
@@ -76422,12 +77339,12 @@ function salesInvoicesList(client, request, options) {
76422
77339
  async function $do71(client, request, options) {
76423
77340
  const parsed = safeParse4(request, (value) => ListSalesInvoicesRequest$outboundSchema.optional().parse(value), "Input validation failed");
76424
77341
  if (!parsed.ok) {
76425
- return [parsed, { status: "invalid" }];
77342
+ return [haltIterator(parsed), { status: "invalid" }];
76426
77343
  }
76427
77344
  const payload = parsed.value;
76428
77345
  const body = null;
76429
- const path = pathToFunc("/sales-invoices")();
76430
- const query = encodeFormQuery({
77346
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/sales-invoices")();
77347
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
76431
77348
  from: payload?.from,
76432
77349
  limit: payload?.limit,
76433
77350
  testmode: payload?.testmode ?? client._options.testmode
@@ -76460,7 +77377,7 @@ async function $do71(client, request, options) {
76460
77377
  const requestRes = client._createRequest(context, {
76461
77378
  security: requestSecurity,
76462
77379
  method: "GET",
76463
- baseURL: options?.serverURL,
77380
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
76464
77381
  path,
76465
77382
  headers,
76466
77383
  query,
@@ -76469,7 +77386,7 @@ async function $do71(client, request, options) {
76469
77386
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
76470
77387
  }, options);
76471
77388
  if (!requestRes.ok) {
76472
- return [requestRes, { status: "invalid" }];
77389
+ return [haltIterator(requestRes), { status: "invalid" }];
76473
77390
  }
76474
77391
  const req = requestRes.value;
76475
77392
  const doResult = await client._do(req, {
@@ -76479,21 +77396,49 @@ async function $do71(client, request, options) {
76479
77396
  retryCodes: context.retryCodes
76480
77397
  });
76481
77398
  if (!doResult.ok) {
76482
- return [doResult, { status: "request-error", request: req }];
77399
+ return [haltIterator(doResult), { status: "request-error", request: req }];
76483
77400
  }
76484
77401
  const response = doResult.value;
76485
77402
  const responseFields = {
76486
77403
  HttpMeta: { Response: response, Request: req }
76487
77404
  };
76488
- const [result] = await match(json(200, ListSalesInvoicesResponse$inboundSchema, {
76489
- ctype: "application/hal+json"
77405
+ const [result, raw] = await match(json(200, ListSalesInvoicesResponse$inboundSchema, {
77406
+ ctype: "application/hal+json",
77407
+ key: "Result"
76490
77408
  }), jsonErr(400, ErrorResponse$inboundSchema, {
76491
77409
  ctype: "application/hal+json"
76492
77410
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
76493
77411
  if (!result.ok) {
76494
- return [result, { status: "complete", request: req, response }];
77412
+ return [haltIterator(result), {
77413
+ status: "complete",
77414
+ request: req,
77415
+ response
77416
+ }];
76495
77417
  }
76496
- return [result, { status: "complete", request: req, response }];
77418
+ const nextFunc = (responseData) => {
77419
+ let nextURL = dlv(responseData, "_links.next.href");
77420
+ if (typeof nextURL !== "string") {
77421
+ return { next: () => null };
77422
+ }
77423
+ if (nextURL.startsWith("/")) {
77424
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
77425
+ }
77426
+ try {
77427
+ new URL(nextURL);
77428
+ } catch (_error) {
77429
+ return { next: () => null };
77430
+ }
77431
+ const nextVal = () => salesInvoicesList(client, {
77432
+ ...request
77433
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
77434
+ return { next: nextVal, "~next": { url: nextURL } };
77435
+ };
77436
+ const page = { ...result, ...nextFunc(raw) };
77437
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
77438
+ status: "complete",
77439
+ request: req,
77440
+ response
77441
+ }];
76497
77442
  }
76498
77443
  var init_salesInvoicesList = __esm(() => {
76499
77444
  init_encodings();
@@ -76505,6 +77450,7 @@ var init_salesInvoicesList = __esm(() => {
76505
77450
  init_errors4();
76506
77451
  init_operations();
76507
77452
  init_async();
77453
+ init_operations2();
76508
77454
  });
76509
77455
 
76510
77456
  // src/mcp-server/tools/salesInvoicesList.ts
@@ -76536,7 +77482,7 @@ The results are paginated.`,
76536
77482
  isError: true
76537
77483
  };
76538
77484
  }
76539
- const value = result.value;
77485
+ const value = result.value.result;
76540
77486
  return formatResult(value, apiCall);
76541
77487
  }
76542
77488
  };
@@ -77044,12 +77990,12 @@ function settlementsList(client, request, options) {
77044
77990
  async function $do76(client, request, options) {
77045
77991
  const parsed = safeParse4(request, (value) => ListSettlementsRequest$outboundSchema.optional().parse(value), "Input validation failed");
77046
77992
  if (!parsed.ok) {
77047
- return [parsed, { status: "invalid" }];
77993
+ return [haltIterator(parsed), { status: "invalid" }];
77048
77994
  }
77049
77995
  const payload = parsed.value;
77050
77996
  const body = null;
77051
- const path = pathToFunc("/settlements")();
77052
- const query = encodeFormQuery({
77997
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/settlements")();
77998
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
77053
77999
  balanceId: payload?.balanceId,
77054
78000
  currencies: payload?.currencies,
77055
78001
  from: payload?.from,
@@ -77085,7 +78031,7 @@ async function $do76(client, request, options) {
77085
78031
  const requestRes = client._createRequest(context, {
77086
78032
  security: requestSecurity,
77087
78033
  method: "GET",
77088
- baseURL: options?.serverURL,
78034
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
77089
78035
  path,
77090
78036
  headers,
77091
78037
  query,
@@ -77094,7 +78040,7 @@ async function $do76(client, request, options) {
77094
78040
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
77095
78041
  }, options);
77096
78042
  if (!requestRes.ok) {
77097
- return [requestRes, { status: "invalid" }];
78043
+ return [haltIterator(requestRes), { status: "invalid" }];
77098
78044
  }
77099
78045
  const req = requestRes.value;
77100
78046
  const doResult = await client._do(req, {
@@ -77104,21 +78050,49 @@ async function $do76(client, request, options) {
77104
78050
  retryCodes: context.retryCodes
77105
78051
  });
77106
78052
  if (!doResult.ok) {
77107
- return [doResult, { status: "request-error", request: req }];
78053
+ return [haltIterator(doResult), { status: "request-error", request: req }];
77108
78054
  }
77109
78055
  const response = doResult.value;
77110
78056
  const responseFields = {
77111
78057
  HttpMeta: { Response: response, Request: req }
77112
78058
  };
77113
- const [result] = await match(json(200, ListSettlementsResponse$inboundSchema, {
77114
- ctype: "application/hal+json"
78059
+ const [result, raw] = await match(json(200, ListSettlementsResponse$inboundSchema, {
78060
+ ctype: "application/hal+json",
78061
+ key: "Result"
77115
78062
  }), jsonErr([400, 404], ErrorResponse$inboundSchema, {
77116
78063
  ctype: "application/hal+json"
77117
78064
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
77118
78065
  if (!result.ok) {
77119
- return [result, { status: "complete", request: req, response }];
78066
+ return [haltIterator(result), {
78067
+ status: "complete",
78068
+ request: req,
78069
+ response
78070
+ }];
77120
78071
  }
77121
- return [result, { status: "complete", request: req, response }];
78072
+ const nextFunc = (responseData) => {
78073
+ let nextURL = dlv(responseData, "_links.next.href");
78074
+ if (typeof nextURL !== "string") {
78075
+ return { next: () => null };
78076
+ }
78077
+ if (nextURL.startsWith("/")) {
78078
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
78079
+ }
78080
+ try {
78081
+ new URL(nextURL);
78082
+ } catch (_error) {
78083
+ return { next: () => null };
78084
+ }
78085
+ const nextVal = () => settlementsList(client, {
78086
+ ...request
78087
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
78088
+ return { next: nextVal, "~next": { url: nextURL } };
78089
+ };
78090
+ const page = { ...result, ...nextFunc(raw) };
78091
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
78092
+ status: "complete",
78093
+ request: req,
78094
+ response
78095
+ }];
77122
78096
  }
77123
78097
  var init_settlementsList = __esm(() => {
77124
78098
  init_encodings();
@@ -77130,6 +78104,7 @@ var init_settlementsList = __esm(() => {
77130
78104
  init_errors4();
77131
78105
  init_operations();
77132
78106
  init_async();
78107
+ init_operations2();
77133
78108
  });
77134
78109
 
77135
78110
  // src/mcp-server/tools/settlementsList.ts
@@ -77157,7 +78132,7 @@ The results are paginated.`,
77157
78132
  isError: true
77158
78133
  };
77159
78134
  }
77160
- const value = result.value;
78135
+ const value = result.value.result;
77161
78136
  return formatResult(value, apiCall);
77162
78137
  }
77163
78138
  };
@@ -77170,7 +78145,7 @@ function settlementsListCaptures(client, request, options) {
77170
78145
  async function $do77(client, request, options) {
77171
78146
  const parsed = safeParse4(request, (value) => ListSettlementCapturesRequest$outboundSchema.parse(value), "Input validation failed");
77172
78147
  if (!parsed.ok) {
77173
- return [parsed, { status: "invalid" }];
78148
+ return [haltIterator(parsed), { status: "invalid" }];
77174
78149
  }
77175
78150
  const payload = parsed.value;
77176
78151
  const body = null;
@@ -77180,8 +78155,8 @@ async function $do77(client, request, options) {
77180
78155
  charEncoding: "percent"
77181
78156
  })
77182
78157
  };
77183
- const path = pathToFunc("/settlements/{settlementId}/captures")(pathParams);
77184
- const query = encodeFormQuery({
78158
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/settlements/{settlementId}/captures")(pathParams);
78159
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
77185
78160
  embed: payload.embed,
77186
78161
  from: payload.from,
77187
78162
  limit: payload.limit,
@@ -77215,7 +78190,7 @@ async function $do77(client, request, options) {
77215
78190
  const requestRes = client._createRequest(context, {
77216
78191
  security: requestSecurity,
77217
78192
  method: "GET",
77218
- baseURL: options?.serverURL,
78193
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
77219
78194
  path,
77220
78195
  headers,
77221
78196
  query,
@@ -77224,7 +78199,7 @@ async function $do77(client, request, options) {
77224
78199
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
77225
78200
  }, options);
77226
78201
  if (!requestRes.ok) {
77227
- return [requestRes, { status: "invalid" }];
78202
+ return [haltIterator(requestRes), { status: "invalid" }];
77228
78203
  }
77229
78204
  const req = requestRes.value;
77230
78205
  const doResult = await client._do(req, {
@@ -77234,21 +78209,49 @@ async function $do77(client, request, options) {
77234
78209
  retryCodes: context.retryCodes
77235
78210
  });
77236
78211
  if (!doResult.ok) {
77237
- return [doResult, { status: "request-error", request: req }];
78212
+ return [haltIterator(doResult), { status: "request-error", request: req }];
77238
78213
  }
77239
78214
  const response = doResult.value;
77240
78215
  const responseFields = {
77241
78216
  HttpMeta: { Response: response, Request: req }
77242
78217
  };
77243
- const [result] = await match(json(200, ListSettlementCapturesResponse$inboundSchema, {
77244
- ctype: "application/hal+json"
78218
+ const [result, raw] = await match(json(200, ListSettlementCapturesResponse$inboundSchema, {
78219
+ ctype: "application/hal+json",
78220
+ key: "Result"
77245
78221
  }), jsonErr([400, 404], ErrorResponse$inboundSchema, {
77246
78222
  ctype: "application/hal+json"
77247
78223
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
77248
78224
  if (!result.ok) {
77249
- return [result, { status: "complete", request: req, response }];
78225
+ return [haltIterator(result), {
78226
+ status: "complete",
78227
+ request: req,
78228
+ response
78229
+ }];
77250
78230
  }
77251
- return [result, { status: "complete", request: req, response }];
78231
+ const nextFunc = (responseData) => {
78232
+ let nextURL = dlv(responseData, "_links.next.href");
78233
+ if (typeof nextURL !== "string") {
78234
+ return { next: () => null };
78235
+ }
78236
+ if (nextURL.startsWith("/")) {
78237
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
78238
+ }
78239
+ try {
78240
+ new URL(nextURL);
78241
+ } catch (_error) {
78242
+ return { next: () => null };
78243
+ }
78244
+ const nextVal = () => settlementsListCaptures(client, {
78245
+ ...request
78246
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
78247
+ return { next: nextVal, "~next": { url: nextURL } };
78248
+ };
78249
+ const page = { ...result, ...nextFunc(raw) };
78250
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
78251
+ status: "complete",
78252
+ request: req,
78253
+ response
78254
+ }];
77252
78255
  }
77253
78256
  var init_settlementsListCaptures = __esm(() => {
77254
78257
  init_encodings();
@@ -77260,6 +78263,7 @@ var init_settlementsListCaptures = __esm(() => {
77260
78263
  init_errors4();
77261
78264
  init_operations();
77262
78265
  init_async();
78266
+ init_operations2();
77263
78267
  });
77264
78268
 
77265
78269
  // src/mcp-server/tools/settlementsListCaptures.ts
@@ -77287,7 +78291,7 @@ The response is in the same format as the response of the [List captures endpoin
77287
78291
  isError: true
77288
78292
  };
77289
78293
  }
77290
- const value = result.value;
78294
+ const value = result.value.result;
77291
78295
  return formatResult(value, apiCall);
77292
78296
  }
77293
78297
  };
@@ -77300,7 +78304,7 @@ function settlementsListChargebacks(client, request, options) {
77300
78304
  async function $do78(client, request, options) {
77301
78305
  const parsed = safeParse4(request, (value) => ListSettlementChargebacksRequest$outboundSchema.parse(value), "Input validation failed");
77302
78306
  if (!parsed.ok) {
77303
- return [parsed, { status: "invalid" }];
78307
+ return [haltIterator(parsed), { status: "invalid" }];
77304
78308
  }
77305
78309
  const payload = parsed.value;
77306
78310
  const body = null;
@@ -77310,8 +78314,8 @@ async function $do78(client, request, options) {
77310
78314
  charEncoding: "percent"
77311
78315
  })
77312
78316
  };
77313
- const path = pathToFunc("/settlements/{settlementId}/chargebacks")(pathParams);
77314
- const query = encodeFormQuery({
78317
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/settlements/{settlementId}/chargebacks")(pathParams);
78318
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
77315
78319
  embed: payload.embed,
77316
78320
  from: payload.from,
77317
78321
  limit: payload.limit,
@@ -77345,7 +78349,7 @@ async function $do78(client, request, options) {
77345
78349
  const requestRes = client._createRequest(context, {
77346
78350
  security: requestSecurity,
77347
78351
  method: "GET",
77348
- baseURL: options?.serverURL,
78352
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
77349
78353
  path,
77350
78354
  headers,
77351
78355
  query,
@@ -77354,7 +78358,7 @@ async function $do78(client, request, options) {
77354
78358
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
77355
78359
  }, options);
77356
78360
  if (!requestRes.ok) {
77357
- return [requestRes, { status: "invalid" }];
78361
+ return [haltIterator(requestRes), { status: "invalid" }];
77358
78362
  }
77359
78363
  const req = requestRes.value;
77360
78364
  const doResult = await client._do(req, {
@@ -77364,21 +78368,49 @@ async function $do78(client, request, options) {
77364
78368
  retryCodes: context.retryCodes
77365
78369
  });
77366
78370
  if (!doResult.ok) {
77367
- return [doResult, { status: "request-error", request: req }];
78371
+ return [haltIterator(doResult), { status: "request-error", request: req }];
77368
78372
  }
77369
78373
  const response = doResult.value;
77370
78374
  const responseFields = {
77371
78375
  HttpMeta: { Response: response, Request: req }
77372
78376
  };
77373
- const [result] = await match(json(200, ListSettlementChargebacksResponse$inboundSchema, {
77374
- ctype: "application/hal+json"
78377
+ const [result, raw] = await match(json(200, ListSettlementChargebacksResponse$inboundSchema, {
78378
+ ctype: "application/hal+json",
78379
+ key: "Result"
77375
78380
  }), jsonErr([400, 404], ErrorResponse$inboundSchema, {
77376
78381
  ctype: "application/hal+json"
77377
78382
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
77378
78383
  if (!result.ok) {
77379
- return [result, { status: "complete", request: req, response }];
78384
+ return [haltIterator(result), {
78385
+ status: "complete",
78386
+ request: req,
78387
+ response
78388
+ }];
77380
78389
  }
77381
- return [result, { status: "complete", request: req, response }];
78390
+ const nextFunc = (responseData) => {
78391
+ let nextURL = dlv(responseData, "_links.next.href");
78392
+ if (typeof nextURL !== "string") {
78393
+ return { next: () => null };
78394
+ }
78395
+ if (nextURL.startsWith("/")) {
78396
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
78397
+ }
78398
+ try {
78399
+ new URL(nextURL);
78400
+ } catch (_error) {
78401
+ return { next: () => null };
78402
+ }
78403
+ const nextVal = () => settlementsListChargebacks(client, {
78404
+ ...request
78405
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
78406
+ return { next: nextVal, "~next": { url: nextURL } };
78407
+ };
78408
+ const page = { ...result, ...nextFunc(raw) };
78409
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
78410
+ status: "complete",
78411
+ request: req,
78412
+ response
78413
+ }];
77382
78414
  }
77383
78415
  var init_settlementsListChargebacks = __esm(() => {
77384
78416
  init_encodings();
@@ -77390,6 +78422,7 @@ var init_settlementsListChargebacks = __esm(() => {
77390
78422
  init_errors4();
77391
78423
  init_operations();
77392
78424
  init_async();
78425
+ init_operations2();
77393
78426
  });
77394
78427
 
77395
78428
  // src/mcp-server/tools/settlementsListChargebacks.ts
@@ -77417,7 +78450,7 @@ The response is in the same format as the response of the [List chargebacks endp
77417
78450
  isError: true
77418
78451
  };
77419
78452
  }
77420
- const value = result.value;
78453
+ const value = result.value.result;
77421
78454
  return formatResult(value, apiCall);
77422
78455
  }
77423
78456
  };
@@ -77430,7 +78463,7 @@ function settlementsListPayments(client, request, options) {
77430
78463
  async function $do79(client, request, options) {
77431
78464
  const parsed = safeParse4(request, (value) => ListSettlementPaymentsRequest$outboundSchema.parse(value), "Input validation failed");
77432
78465
  if (!parsed.ok) {
77433
- return [parsed, { status: "invalid" }];
78466
+ return [haltIterator(parsed), { status: "invalid" }];
77434
78467
  }
77435
78468
  const payload = parsed.value;
77436
78469
  const body = null;
@@ -77440,8 +78473,8 @@ async function $do79(client, request, options) {
77440
78473
  charEncoding: "percent"
77441
78474
  })
77442
78475
  };
77443
- const path = pathToFunc("/settlements/{settlementId}/payments")(pathParams);
77444
- const query = encodeFormQuery({
78476
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/settlements/{settlementId}/payments")(pathParams);
78477
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
77445
78478
  from: payload.from,
77446
78479
  limit: payload.limit,
77447
78480
  profileId: payload.profileId ?? client._options.profileId,
@@ -77476,7 +78509,7 @@ async function $do79(client, request, options) {
77476
78509
  const requestRes = client._createRequest(context, {
77477
78510
  security: requestSecurity,
77478
78511
  method: "GET",
77479
- baseURL: options?.serverURL,
78512
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
77480
78513
  path,
77481
78514
  headers,
77482
78515
  query,
@@ -77485,7 +78518,7 @@ async function $do79(client, request, options) {
77485
78518
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
77486
78519
  }, options);
77487
78520
  if (!requestRes.ok) {
77488
- return [requestRes, { status: "invalid" }];
78521
+ return [haltIterator(requestRes), { status: "invalid" }];
77489
78522
  }
77490
78523
  const req = requestRes.value;
77491
78524
  const doResult = await client._do(req, {
@@ -77495,21 +78528,49 @@ async function $do79(client, request, options) {
77495
78528
  retryCodes: context.retryCodes
77496
78529
  });
77497
78530
  if (!doResult.ok) {
77498
- return [doResult, { status: "request-error", request: req }];
78531
+ return [haltIterator(doResult), { status: "request-error", request: req }];
77499
78532
  }
77500
78533
  const response = doResult.value;
77501
78534
  const responseFields = {
77502
78535
  HttpMeta: { Response: response, Request: req }
77503
78536
  };
77504
- const [result] = await match(json(200, ListSettlementPaymentsResponse$inboundSchema, {
77505
- ctype: "application/hal+json"
78537
+ const [result, raw] = await match(json(200, ListSettlementPaymentsResponse$inboundSchema, {
78538
+ ctype: "application/hal+json",
78539
+ key: "Result"
77506
78540
  }), jsonErr(400, ErrorResponse$inboundSchema, {
77507
78541
  ctype: "application/hal+json"
77508
78542
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
77509
78543
  if (!result.ok) {
77510
- return [result, { status: "complete", request: req, response }];
78544
+ return [haltIterator(result), {
78545
+ status: "complete",
78546
+ request: req,
78547
+ response
78548
+ }];
77511
78549
  }
77512
- return [result, { status: "complete", request: req, response }];
78550
+ const nextFunc = (responseData) => {
78551
+ let nextURL = dlv(responseData, "_links.next.href");
78552
+ if (typeof nextURL !== "string") {
78553
+ return { next: () => null };
78554
+ }
78555
+ if (nextURL.startsWith("/")) {
78556
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
78557
+ }
78558
+ try {
78559
+ new URL(nextURL);
78560
+ } catch (_error) {
78561
+ return { next: () => null };
78562
+ }
78563
+ const nextVal = () => settlementsListPayments(client, {
78564
+ ...request
78565
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
78566
+ return { next: nextVal, "~next": { url: nextURL } };
78567
+ };
78568
+ const page = { ...result, ...nextFunc(raw) };
78569
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
78570
+ status: "complete",
78571
+ request: req,
78572
+ response
78573
+ }];
77513
78574
  }
77514
78575
  var init_settlementsListPayments = __esm(() => {
77515
78576
  init_encodings();
@@ -77521,6 +78582,7 @@ var init_settlementsListPayments = __esm(() => {
77521
78582
  init_errors4();
77522
78583
  init_operations();
77523
78584
  init_async();
78585
+ init_operations2();
77524
78586
  });
77525
78587
 
77526
78588
  // src/mcp-server/tools/settlementsListPayments.ts
@@ -77551,7 +78613,7 @@ For capture-based payment methods such as Klarna, the payments are not listed he
77551
78613
  isError: true
77552
78614
  };
77553
78615
  }
77554
- const value = result.value;
78616
+ const value = result.value.result;
77555
78617
  return formatResult(value, apiCall);
77556
78618
  }
77557
78619
  };
@@ -77564,7 +78626,7 @@ function settlementsListRefunds(client, request, options) {
77564
78626
  async function $do80(client, request, options) {
77565
78627
  const parsed = safeParse4(request, (value) => ListSettlementRefundsRequest$outboundSchema.parse(value), "Input validation failed");
77566
78628
  if (!parsed.ok) {
77567
- return [parsed, { status: "invalid" }];
78629
+ return [haltIterator(parsed), { status: "invalid" }];
77568
78630
  }
77569
78631
  const payload = parsed.value;
77570
78632
  const body = null;
@@ -77574,8 +78636,8 @@ async function $do80(client, request, options) {
77574
78636
  charEncoding: "percent"
77575
78637
  })
77576
78638
  };
77577
- const path = pathToFunc("/settlements/{settlementId}/refunds")(pathParams);
77578
- const query = encodeFormQuery({
78639
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/settlements/{settlementId}/refunds")(pathParams);
78640
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
77579
78641
  embed: payload.embed,
77580
78642
  from: payload.from,
77581
78643
  limit: payload.limit,
@@ -77609,7 +78671,7 @@ async function $do80(client, request, options) {
77609
78671
  const requestRes = client._createRequest(context, {
77610
78672
  security: requestSecurity,
77611
78673
  method: "GET",
77612
- baseURL: options?.serverURL,
78674
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
77613
78675
  path,
77614
78676
  headers,
77615
78677
  query,
@@ -77618,7 +78680,7 @@ async function $do80(client, request, options) {
77618
78680
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
77619
78681
  }, options);
77620
78682
  if (!requestRes.ok) {
77621
- return [requestRes, { status: "invalid" }];
78683
+ return [haltIterator(requestRes), { status: "invalid" }];
77622
78684
  }
77623
78685
  const req = requestRes.value;
77624
78686
  const doResult = await client._do(req, {
@@ -77628,21 +78690,49 @@ async function $do80(client, request, options) {
77628
78690
  retryCodes: context.retryCodes
77629
78691
  });
77630
78692
  if (!doResult.ok) {
77631
- return [doResult, { status: "request-error", request: req }];
78693
+ return [haltIterator(doResult), { status: "request-error", request: req }];
77632
78694
  }
77633
78695
  const response = doResult.value;
77634
78696
  const responseFields = {
77635
78697
  HttpMeta: { Response: response, Request: req }
77636
78698
  };
77637
- const [result] = await match(json(200, ListSettlementRefundsResponse$inboundSchema, {
77638
- ctype: "application/hal+json"
78699
+ const [result, raw] = await match(json(200, ListSettlementRefundsResponse$inboundSchema, {
78700
+ ctype: "application/hal+json",
78701
+ key: "Result"
77639
78702
  }), jsonErr([400, 404], ErrorResponse$inboundSchema, {
77640
78703
  ctype: "application/hal+json"
77641
78704
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
77642
78705
  if (!result.ok) {
77643
- return [result, { status: "complete", request: req, response }];
78706
+ return [haltIterator(result), {
78707
+ status: "complete",
78708
+ request: req,
78709
+ response
78710
+ }];
77644
78711
  }
77645
- return [result, { status: "complete", request: req, response }];
78712
+ const nextFunc = (responseData) => {
78713
+ let nextURL = dlv(responseData, "_links.next.href");
78714
+ if (typeof nextURL !== "string") {
78715
+ return { next: () => null };
78716
+ }
78717
+ if (nextURL.startsWith("/")) {
78718
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
78719
+ }
78720
+ try {
78721
+ new URL(nextURL);
78722
+ } catch (_error) {
78723
+ return { next: () => null };
78724
+ }
78725
+ const nextVal = () => settlementsListRefunds(client, {
78726
+ ...request
78727
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
78728
+ return { next: nextVal, "~next": { url: nextURL } };
78729
+ };
78730
+ const page = { ...result, ...nextFunc(raw) };
78731
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
78732
+ status: "complete",
78733
+ request: req,
78734
+ response
78735
+ }];
77646
78736
  }
77647
78737
  var init_settlementsListRefunds = __esm(() => {
77648
78738
  init_encodings();
@@ -77654,6 +78744,7 @@ var init_settlementsListRefunds = __esm(() => {
77654
78744
  init_errors4();
77655
78745
  init_operations();
77656
78746
  init_async();
78747
+ init_operations2();
77657
78748
  });
77658
78749
 
77659
78750
  // src/mcp-server/tools/settlementsListRefunds.ts
@@ -77681,7 +78772,7 @@ The response is in the same format as the response of the [List refunds endpoint
77681
78772
  isError: true
77682
78773
  };
77683
78774
  }
77684
- const value = result.value;
78775
+ const value = result.value.result;
77685
78776
  return formatResult(value, apiCall);
77686
78777
  }
77687
78778
  };
@@ -77694,12 +78785,12 @@ function subscriptionsAll(client, request, options) {
77694
78785
  async function $do81(client, request, options) {
77695
78786
  const parsed = safeParse4(request, (value) => ListAllSubscriptionsRequest$outboundSchema.optional().parse(value), "Input validation failed");
77696
78787
  if (!parsed.ok) {
77697
- return [parsed, { status: "invalid" }];
78788
+ return [haltIterator(parsed), { status: "invalid" }];
77698
78789
  }
77699
78790
  const payload = parsed.value;
77700
78791
  const body = null;
77701
- const path = pathToFunc("/subscriptions")();
77702
- const query = encodeFormQuery({
78792
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/subscriptions")();
78793
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
77703
78794
  from: payload?.from,
77704
78795
  limit: payload?.limit,
77705
78796
  profileId: payload?.profileId ?? client._options.profileId,
@@ -77733,7 +78824,7 @@ async function $do81(client, request, options) {
77733
78824
  const requestRes = client._createRequest(context, {
77734
78825
  security: requestSecurity,
77735
78826
  method: "GET",
77736
- baseURL: options?.serverURL,
78827
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
77737
78828
  path,
77738
78829
  headers,
77739
78830
  query,
@@ -77742,7 +78833,7 @@ async function $do81(client, request, options) {
77742
78833
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
77743
78834
  }, options);
77744
78835
  if (!requestRes.ok) {
77745
- return [requestRes, { status: "invalid" }];
78836
+ return [haltIterator(requestRes), { status: "invalid" }];
77746
78837
  }
77747
78838
  const req = requestRes.value;
77748
78839
  const doResult = await client._do(req, {
@@ -77752,21 +78843,49 @@ async function $do81(client, request, options) {
77752
78843
  retryCodes: context.retryCodes
77753
78844
  });
77754
78845
  if (!doResult.ok) {
77755
- return [doResult, { status: "request-error", request: req }];
78846
+ return [haltIterator(doResult), { status: "request-error", request: req }];
77756
78847
  }
77757
78848
  const response = doResult.value;
77758
78849
  const responseFields = {
77759
78850
  HttpMeta: { Response: response, Request: req }
77760
78851
  };
77761
- const [result] = await match(json(200, ListAllSubscriptionsResponse$inboundSchema, {
77762
- ctype: "application/hal+json"
78852
+ const [result, raw] = await match(json(200, ListAllSubscriptionsResponse$inboundSchema, {
78853
+ ctype: "application/hal+json",
78854
+ key: "Result"
77763
78855
  }), jsonErr([400, 404], ErrorResponse$inboundSchema, {
77764
78856
  ctype: "application/hal+json"
77765
78857
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
77766
78858
  if (!result.ok) {
77767
- return [result, { status: "complete", request: req, response }];
78859
+ return [haltIterator(result), {
78860
+ status: "complete",
78861
+ request: req,
78862
+ response
78863
+ }];
77768
78864
  }
77769
- return [result, { status: "complete", request: req, response }];
78865
+ const nextFunc = (responseData) => {
78866
+ let nextURL = dlv(responseData, "_links.next.href");
78867
+ if (typeof nextURL !== "string") {
78868
+ return { next: () => null };
78869
+ }
78870
+ if (nextURL.startsWith("/")) {
78871
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
78872
+ }
78873
+ try {
78874
+ new URL(nextURL);
78875
+ } catch (_error) {
78876
+ return { next: () => null };
78877
+ }
78878
+ const nextVal = () => subscriptionsAll(client, {
78879
+ ...request
78880
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
78881
+ return { next: nextVal, "~next": { url: nextURL } };
78882
+ };
78883
+ const page = { ...result, ...nextFunc(raw) };
78884
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
78885
+ status: "complete",
78886
+ request: req,
78887
+ response
78888
+ }];
77770
78889
  }
77771
78890
  var init_subscriptionsAll = __esm(() => {
77772
78891
  init_encodings();
@@ -77778,6 +78897,7 @@ var init_subscriptionsAll = __esm(() => {
77778
78897
  init_errors4();
77779
78898
  init_operations();
77780
78899
  init_async();
78900
+ init_operations2();
77781
78901
  });
77782
78902
 
77783
78903
  // src/mcp-server/tools/subscriptionsAll.ts
@@ -77805,7 +78925,7 @@ The results are paginated.`,
77805
78925
  isError: true
77806
78926
  };
77807
78927
  }
77808
- const value = result.value;
78928
+ const value = result.value.result;
77809
78929
  return formatResult(value, apiCall);
77810
78930
  }
77811
78931
  };
@@ -78218,7 +79338,7 @@ function subscriptionsList(client, request, options) {
78218
79338
  async function $do85(client, request, options) {
78219
79339
  const parsed = safeParse4(request, (value) => ListSubscriptionsRequest$outboundSchema.parse(value), "Input validation failed");
78220
79340
  if (!parsed.ok) {
78221
- return [parsed, { status: "invalid" }];
79341
+ return [haltIterator(parsed), { status: "invalid" }];
78222
79342
  }
78223
79343
  const payload = parsed.value;
78224
79344
  const body = null;
@@ -78228,8 +79348,8 @@ async function $do85(client, request, options) {
78228
79348
  charEncoding: "percent"
78229
79349
  })
78230
79350
  };
78231
- const path = pathToFunc("/customers/{customerId}/subscriptions")(pathParams);
78232
- const query = encodeFormQuery({
79351
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/customers/{customerId}/subscriptions")(pathParams);
79352
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
78233
79353
  from: payload.from,
78234
79354
  limit: payload.limit,
78235
79355
  sort: payload.sort,
@@ -78263,7 +79383,7 @@ async function $do85(client, request, options) {
78263
79383
  const requestRes = client._createRequest(context, {
78264
79384
  security: requestSecurity,
78265
79385
  method: "GET",
78266
- baseURL: options?.serverURL,
79386
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
78267
79387
  path,
78268
79388
  headers,
78269
79389
  query,
@@ -78272,7 +79392,7 @@ async function $do85(client, request, options) {
78272
79392
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
78273
79393
  }, options);
78274
79394
  if (!requestRes.ok) {
78275
- return [requestRes, { status: "invalid" }];
79395
+ return [haltIterator(requestRes), { status: "invalid" }];
78276
79396
  }
78277
79397
  const req = requestRes.value;
78278
79398
  const doResult = await client._do(req, {
@@ -78282,21 +79402,49 @@ async function $do85(client, request, options) {
78282
79402
  retryCodes: context.retryCodes
78283
79403
  });
78284
79404
  if (!doResult.ok) {
78285
- return [doResult, { status: "request-error", request: req }];
79405
+ return [haltIterator(doResult), { status: "request-error", request: req }];
78286
79406
  }
78287
79407
  const response = doResult.value;
78288
79408
  const responseFields = {
78289
79409
  HttpMeta: { Response: response, Request: req }
78290
79410
  };
78291
- const [result] = await match(json(200, ListSubscriptionsResponse$inboundSchema, {
78292
- ctype: "application/hal+json"
79411
+ const [result, raw] = await match(json(200, ListSubscriptionsResponse$inboundSchema, {
79412
+ ctype: "application/hal+json",
79413
+ key: "Result"
78293
79414
  }), jsonErr([400, 404], ErrorResponse$inboundSchema, {
78294
79415
  ctype: "application/hal+json"
78295
79416
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
78296
79417
  if (!result.ok) {
78297
- return [result, { status: "complete", request: req, response }];
79418
+ return [haltIterator(result), {
79419
+ status: "complete",
79420
+ request: req,
79421
+ response
79422
+ }];
78298
79423
  }
78299
- return [result, { status: "complete", request: req, response }];
79424
+ const nextFunc = (responseData) => {
79425
+ let nextURL = dlv(responseData, "_links.next.href");
79426
+ if (typeof nextURL !== "string") {
79427
+ return { next: () => null };
79428
+ }
79429
+ if (nextURL.startsWith("/")) {
79430
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
79431
+ }
79432
+ try {
79433
+ new URL(nextURL);
79434
+ } catch (_error) {
79435
+ return { next: () => null };
79436
+ }
79437
+ const nextVal = () => subscriptionsList(client, {
79438
+ ...request
79439
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
79440
+ return { next: nextVal, "~next": { url: nextURL } };
79441
+ };
79442
+ const page = { ...result, ...nextFunc(raw) };
79443
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
79444
+ status: "complete",
79445
+ request: req,
79446
+ response
79447
+ }];
78300
79448
  }
78301
79449
  var init_subscriptionsList = __esm(() => {
78302
79450
  init_encodings();
@@ -78308,6 +79456,7 @@ var init_subscriptionsList = __esm(() => {
78308
79456
  init_errors4();
78309
79457
  init_operations();
78310
79458
  init_async();
79459
+ init_operations2();
78311
79460
  });
78312
79461
 
78313
79462
  // src/mcp-server/tools/subscriptionsList.ts
@@ -78335,7 +79484,7 @@ The results are paginated.`,
78335
79484
  isError: true
78336
79485
  };
78337
79486
  }
78338
- const value = result.value;
79487
+ const value = result.value.result;
78339
79488
  return formatResult(value, apiCall);
78340
79489
  }
78341
79490
  };
@@ -78348,7 +79497,7 @@ function subscriptionsListPayments(client, request, options) {
78348
79497
  async function $do86(client, request, options) {
78349
79498
  const parsed = safeParse4(request, (value) => ListSubscriptionPaymentsRequest$outboundSchema.parse(value), "Input validation failed");
78350
79499
  if (!parsed.ok) {
78351
- return [parsed, { status: "invalid" }];
79500
+ return [haltIterator(parsed), { status: "invalid" }];
78352
79501
  }
78353
79502
  const payload = parsed.value;
78354
79503
  const body = null;
@@ -78362,8 +79511,8 @@ async function $do86(client, request, options) {
78362
79511
  charEncoding: "percent"
78363
79512
  })
78364
79513
  };
78365
- const path = pathToFunc("/customers/{customerId}/subscriptions/{subscriptionId}/payments")(pathParams);
78366
- const query = encodeFormQuery({
79514
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/customers/{customerId}/subscriptions/{subscriptionId}/payments")(pathParams);
79515
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
78367
79516
  from: payload.from,
78368
79517
  limit: payload.limit,
78369
79518
  profileId: payload.profileId ?? client._options.profileId,
@@ -78398,7 +79547,7 @@ async function $do86(client, request, options) {
78398
79547
  const requestRes = client._createRequest(context, {
78399
79548
  security: requestSecurity,
78400
79549
  method: "GET",
78401
- baseURL: options?.serverURL,
79550
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
78402
79551
  path,
78403
79552
  headers,
78404
79553
  query,
@@ -78407,7 +79556,7 @@ async function $do86(client, request, options) {
78407
79556
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
78408
79557
  }, options);
78409
79558
  if (!requestRes.ok) {
78410
- return [requestRes, { status: "invalid" }];
79559
+ return [haltIterator(requestRes), { status: "invalid" }];
78411
79560
  }
78412
79561
  const req = requestRes.value;
78413
79562
  const doResult = await client._do(req, {
@@ -78417,21 +79566,49 @@ async function $do86(client, request, options) {
78417
79566
  retryCodes: context.retryCodes
78418
79567
  });
78419
79568
  if (!doResult.ok) {
78420
- return [doResult, { status: "request-error", request: req }];
79569
+ return [haltIterator(doResult), { status: "request-error", request: req }];
78421
79570
  }
78422
79571
  const response = doResult.value;
78423
79572
  const responseFields = {
78424
79573
  HttpMeta: { Response: response, Request: req }
78425
79574
  };
78426
- const [result] = await match(json(200, ListSubscriptionPaymentsResponse$inboundSchema, {
78427
- ctype: "application/hal+json"
79575
+ const [result, raw] = await match(json(200, ListSubscriptionPaymentsResponse$inboundSchema, {
79576
+ ctype: "application/hal+json",
79577
+ key: "Result"
78428
79578
  }), jsonErr(400, ErrorResponse$inboundSchema, {
78429
79579
  ctype: "application/hal+json"
78430
79580
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
78431
79581
  if (!result.ok) {
78432
- return [result, { status: "complete", request: req, response }];
79582
+ return [haltIterator(result), {
79583
+ status: "complete",
79584
+ request: req,
79585
+ response
79586
+ }];
78433
79587
  }
78434
- return [result, { status: "complete", request: req, response }];
79588
+ const nextFunc = (responseData) => {
79589
+ let nextURL = dlv(responseData, "_links.next.href");
79590
+ if (typeof nextURL !== "string") {
79591
+ return { next: () => null };
79592
+ }
79593
+ if (nextURL.startsWith("/")) {
79594
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
79595
+ }
79596
+ try {
79597
+ new URL(nextURL);
79598
+ } catch (_error) {
79599
+ return { next: () => null };
79600
+ }
79601
+ const nextVal = () => subscriptionsListPayments(client, {
79602
+ ...request
79603
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
79604
+ return { next: nextVal, "~next": { url: nextURL } };
79605
+ };
79606
+ const page = { ...result, ...nextFunc(raw) };
79607
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
79608
+ status: "complete",
79609
+ request: req,
79610
+ response
79611
+ }];
78435
79612
  }
78436
79613
  var init_subscriptionsListPayments = __esm(() => {
78437
79614
  init_encodings();
@@ -78443,6 +79620,7 @@ var init_subscriptionsListPayments = __esm(() => {
78443
79620
  init_errors4();
78444
79621
  init_operations();
78445
79622
  init_async();
79623
+ init_operations2();
78446
79624
  });
78447
79625
 
78448
79626
  // src/mcp-server/tools/subscriptionsListPayments.ts
@@ -78470,7 +79648,7 @@ The results are paginated.`,
78470
79648
  isError: true
78471
79649
  };
78472
79650
  }
78473
- const value = result.value;
79651
+ const value = result.value.result;
78474
79652
  return formatResult(value, apiCall);
78475
79653
  }
78476
79654
  };
@@ -78740,12 +79918,12 @@ function terminalsList(client, request, options) {
78740
79918
  async function $do89(client, request, options) {
78741
79919
  const parsed = safeParse4(request, (value) => ListTerminalsRequest$outboundSchema.optional().parse(value), "Input validation failed");
78742
79920
  if (!parsed.ok) {
78743
- return [parsed, { status: "invalid" }];
79921
+ return [haltIterator(parsed), { status: "invalid" }];
78744
79922
  }
78745
79923
  const payload = parsed.value;
78746
79924
  const body = null;
78747
- const path = pathToFunc("/terminals")();
78748
- const query = encodeFormQuery({
79925
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/terminals")();
79926
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
78749
79927
  from: payload?.from,
78750
79928
  limit: payload?.limit,
78751
79929
  sort: payload?.sort,
@@ -78779,7 +79957,7 @@ async function $do89(client, request, options) {
78779
79957
  const requestRes = client._createRequest(context, {
78780
79958
  security: requestSecurity,
78781
79959
  method: "GET",
78782
- baseURL: options?.serverURL,
79960
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
78783
79961
  path,
78784
79962
  headers,
78785
79963
  query,
@@ -78788,7 +79966,7 @@ async function $do89(client, request, options) {
78788
79966
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
78789
79967
  }, options);
78790
79968
  if (!requestRes.ok) {
78791
- return [requestRes, { status: "invalid" }];
79969
+ return [haltIterator(requestRes), { status: "invalid" }];
78792
79970
  }
78793
79971
  const req = requestRes.value;
78794
79972
  const doResult = await client._do(req, {
@@ -78798,21 +79976,49 @@ async function $do89(client, request, options) {
78798
79976
  retryCodes: context.retryCodes
78799
79977
  });
78800
79978
  if (!doResult.ok) {
78801
- return [doResult, { status: "request-error", request: req }];
79979
+ return [haltIterator(doResult), { status: "request-error", request: req }];
78802
79980
  }
78803
79981
  const response = doResult.value;
78804
79982
  const responseFields = {
78805
79983
  HttpMeta: { Response: response, Request: req }
78806
79984
  };
78807
- const [result] = await match(json(200, ListTerminalsResponse$inboundSchema, {
78808
- ctype: "application/hal+json"
79985
+ const [result, raw] = await match(json(200, ListTerminalsResponse$inboundSchema, {
79986
+ ctype: "application/hal+json",
79987
+ key: "Result"
78809
79988
  }), jsonErr(400, ErrorResponse$inboundSchema, {
78810
79989
  ctype: "application/hal+json"
78811
79990
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
78812
79991
  if (!result.ok) {
78813
- return [result, { status: "complete", request: req, response }];
79992
+ return [haltIterator(result), {
79993
+ status: "complete",
79994
+ request: req,
79995
+ response
79996
+ }];
78814
79997
  }
78815
- return [result, { status: "complete", request: req, response }];
79998
+ const nextFunc = (responseData) => {
79999
+ let nextURL = dlv(responseData, "_links.next.href");
80000
+ if (typeof nextURL !== "string") {
80001
+ return { next: () => null };
80002
+ }
80003
+ if (nextURL.startsWith("/")) {
80004
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
80005
+ }
80006
+ try {
80007
+ new URL(nextURL);
80008
+ } catch (_error) {
80009
+ return { next: () => null };
80010
+ }
80011
+ const nextVal = () => terminalsList(client, {
80012
+ ...request
80013
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
80014
+ return { next: nextVal, "~next": { url: nextURL } };
80015
+ };
80016
+ const page = { ...result, ...nextFunc(raw) };
80017
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
80018
+ status: "complete",
80019
+ request: req,
80020
+ response
80021
+ }];
78816
80022
  }
78817
80023
  var init_terminalsList = __esm(() => {
78818
80024
  init_encodings();
@@ -78824,6 +80030,7 @@ var init_terminalsList = __esm(() => {
78824
80030
  init_errors4();
78825
80031
  init_operations();
78826
80032
  init_async();
80033
+ init_operations2();
78827
80034
  });
78828
80035
 
78829
80036
  // src/mcp-server/tools/terminalsList.ts
@@ -78851,7 +80058,7 @@ The results are paginated.`,
78851
80058
  isError: true
78852
80059
  };
78853
80060
  }
78854
- const value = result.value;
80061
+ const value = result.value.result;
78855
80062
  return formatResult(value, apiCall);
78856
80063
  }
78857
80064
  };
@@ -79486,12 +80693,12 @@ function webhooksList(client, request, options) {
79486
80693
  async function $do95(client, request, options) {
79487
80694
  const parsed = safeParse4(request, (value) => ListWebhooksRequest$outboundSchema.optional().parse(value), "Input validation failed");
79488
80695
  if (!parsed.ok) {
79489
- return [parsed, { status: "invalid" }];
80696
+ return [haltIterator(parsed), { status: "invalid" }];
79490
80697
  }
79491
80698
  const payload = parsed.value;
79492
80699
  const body = null;
79493
- const path = pathToFunc("/webhooks")();
79494
- const query = encodeFormQuery({
80700
+ const path = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].pathname : pathToFunc("/webhooks")();
80701
+ const query = options?.[URL_OVERRIDE] ? options[URL_OVERRIDE].search.substring(1) : encodeFormQuery({
79495
80702
  eventTypes: payload?.eventTypes,
79496
80703
  from: payload?.from,
79497
80704
  limit: payload?.limit,
@@ -79526,7 +80733,7 @@ async function $do95(client, request, options) {
79526
80733
  const requestRes = client._createRequest(context, {
79527
80734
  security: requestSecurity,
79528
80735
  method: "GET",
79529
- baseURL: options?.serverURL,
80736
+ baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
79530
80737
  path,
79531
80738
  headers,
79532
80739
  query,
@@ -79535,7 +80742,7 @@ async function $do95(client, request, options) {
79535
80742
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
79536
80743
  }, options);
79537
80744
  if (!requestRes.ok) {
79538
- return [requestRes, { status: "invalid" }];
80745
+ return [haltIterator(requestRes), { status: "invalid" }];
79539
80746
  }
79540
80747
  const req = requestRes.value;
79541
80748
  const doResult = await client._do(req, {
@@ -79545,21 +80752,49 @@ async function $do95(client, request, options) {
79545
80752
  retryCodes: context.retryCodes
79546
80753
  });
79547
80754
  if (!doResult.ok) {
79548
- return [doResult, { status: "request-error", request: req }];
80755
+ return [haltIterator(doResult), { status: "request-error", request: req }];
79549
80756
  }
79550
80757
  const response = doResult.value;
79551
80758
  const responseFields = {
79552
80759
  HttpMeta: { Response: response, Request: req }
79553
80760
  };
79554
- const [result] = await match(json(200, ListWebhooksResponse$inboundSchema, {
79555
- ctype: "application/hal+json"
80761
+ const [result, raw] = await match(json(200, ListWebhooksResponse$inboundSchema, {
80762
+ ctype: "application/hal+json",
80763
+ key: "Result"
79556
80764
  }), jsonErr(400, ErrorResponse$inboundSchema, {
79557
80765
  ctype: "application/hal+json"
79558
80766
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
79559
80767
  if (!result.ok) {
79560
- return [result, { status: "complete", request: req, response }];
80768
+ return [haltIterator(result), {
80769
+ status: "complete",
80770
+ request: req,
80771
+ response
80772
+ }];
79561
80773
  }
79562
- return [result, { status: "complete", request: req, response }];
80774
+ const nextFunc = (responseData) => {
80775
+ let nextURL = dlv(responseData, "_links.next.href");
80776
+ if (typeof nextURL !== "string") {
80777
+ return { next: () => null };
80778
+ }
80779
+ if (nextURL.startsWith("/")) {
80780
+ nextURL = `${client._baseURL?.origin}${nextURL}`;
80781
+ }
80782
+ try {
80783
+ new URL(nextURL);
80784
+ } catch (_error) {
80785
+ return { next: () => null };
80786
+ }
80787
+ const nextVal = () => webhooksList(client, {
80788
+ ...request
80789
+ }, { ...options, [URL_OVERRIDE]: new URL(nextURL) });
80790
+ return { next: nextVal, "~next": { url: nextURL } };
80791
+ };
80792
+ const page = { ...result, ...nextFunc(raw) };
80793
+ return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
80794
+ status: "complete",
80795
+ request: req,
80796
+ response
80797
+ }];
79563
80798
  }
79564
80799
  var init_webhooksList = __esm(() => {
79565
80800
  init_encodings();
@@ -79571,6 +80806,7 @@ var init_webhooksList = __esm(() => {
79571
80806
  init_errors4();
79572
80807
  init_operations();
79573
80808
  init_async();
80809
+ init_operations2();
79574
80810
  });
79575
80811
 
79576
80812
  // src/mcp-server/tools/webhooksList.ts
@@ -79596,7 +80832,7 @@ Returns a paginated list of your webhooks. If no webhook endpoints are available
79596
80832
  isError: true
79597
80833
  };
79598
80834
  }
79599
- const value = result.value;
80835
+ const value = result.value.result;
79600
80836
  return formatResult(value, apiCall);
79601
80837
  }
79602
80838
  };
@@ -79849,7 +81085,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
79849
81085
  function createMCPServer(deps) {
79850
81086
  const server = new McpServer({
79851
81087
  name: "Client",
79852
- version: "1.1.6"
81088
+ version: "1.2.0"
79853
81089
  });
79854
81090
  const client = new ClientCore({
79855
81091
  security: deps.security,
@@ -81279,7 +82515,7 @@ var routes = an({
81279
82515
  var app = He(routes, {
81280
82516
  name: "mcp",
81281
82517
  versionInfo: {
81282
- currentVersion: "1.1.6"
82518
+ currentVersion: "1.2.0"
81283
82519
  }
81284
82520
  });
81285
82521
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -81287,5 +82523,5 @@ export {
81287
82523
  app
81288
82524
  };
81289
82525
 
81290
- //# debugId=52F40B3131617BD664756E2164756E21
82526
+ //# debugId=B7EA511FC5B38C9464756E2164756E21
81291
82527
  //# sourceMappingURL=mcp-server.js.map