mollie-api-typescript 1.3.0 → 1.3.1

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 (356) hide show
  1. package/bin/mcp-server.js +239 -212
  2. package/bin/mcp-server.js.map +88 -86
  3. package/dist/commonjs/funcs/balanceTransfersGet.js.map +1 -1
  4. package/dist/commonjs/funcs/balanceTransfersList.js +5 -5
  5. package/dist/commonjs/funcs/balanceTransfersList.js.map +1 -1
  6. package/dist/commonjs/funcs/balancesGet.js.map +1 -1
  7. package/dist/commonjs/funcs/balancesGetReport.js.map +1 -1
  8. package/dist/commonjs/funcs/balancesList.js +5 -5
  9. package/dist/commonjs/funcs/balancesList.js.map +1 -1
  10. package/dist/commonjs/funcs/balancesListTransactions.js +5 -5
  11. package/dist/commonjs/funcs/balancesListTransactions.js.map +1 -1
  12. package/dist/commonjs/funcs/capturesCreate.js.map +1 -1
  13. package/dist/commonjs/funcs/capturesGet.js.map +1 -1
  14. package/dist/commonjs/funcs/capturesList.js +5 -5
  15. package/dist/commonjs/funcs/capturesList.js.map +1 -1
  16. package/dist/commonjs/funcs/chargebacksAll.js +5 -5
  17. package/dist/commonjs/funcs/chargebacksAll.js.map +1 -1
  18. package/dist/commonjs/funcs/chargebacksGet.js.map +1 -1
  19. package/dist/commonjs/funcs/chargebacksList.js +5 -5
  20. package/dist/commonjs/funcs/chargebacksList.js.map +1 -1
  21. package/dist/commonjs/funcs/clientsGet.js.map +1 -1
  22. package/dist/commonjs/funcs/clientsList.js +5 -5
  23. package/dist/commonjs/funcs/clientsList.js.map +1 -1
  24. package/dist/commonjs/funcs/customersCreatePayment.js.map +1 -1
  25. package/dist/commonjs/funcs/customersDelete.js.map +1 -1
  26. package/dist/commonjs/funcs/customersGet.js.map +1 -1
  27. package/dist/commonjs/funcs/customersList.js +5 -5
  28. package/dist/commonjs/funcs/customersList.js.map +1 -1
  29. package/dist/commonjs/funcs/customersListPayments.js +5 -5
  30. package/dist/commonjs/funcs/customersListPayments.js.map +1 -1
  31. package/dist/commonjs/funcs/customersUpdate.js.map +1 -1
  32. package/dist/commonjs/funcs/delayedRoutingCreate.js.map +1 -1
  33. package/dist/commonjs/funcs/delayedRoutingGet.js.map +1 -1
  34. package/dist/commonjs/funcs/delayedRoutingList.js.map +1 -1
  35. package/dist/commonjs/funcs/invoicesGet.js.map +1 -1
  36. package/dist/commonjs/funcs/invoicesList.js +5 -5
  37. package/dist/commonjs/funcs/invoicesList.js.map +1 -1
  38. package/dist/commonjs/funcs/mandatesCreate.js.map +1 -1
  39. package/dist/commonjs/funcs/mandatesGet.js.map +1 -1
  40. package/dist/commonjs/funcs/mandatesList.js +5 -5
  41. package/dist/commonjs/funcs/mandatesList.js.map +1 -1
  42. package/dist/commonjs/funcs/mandatesRevoke.js.map +1 -1
  43. package/dist/commonjs/funcs/methodsGet.js.map +1 -1
  44. package/dist/commonjs/funcs/organizationsGet.js.map +1 -1
  45. package/dist/commonjs/funcs/paymentLinksDelete.js.map +1 -1
  46. package/dist/commonjs/funcs/paymentLinksGet.js.map +1 -1
  47. package/dist/commonjs/funcs/paymentLinksList.js +5 -5
  48. package/dist/commonjs/funcs/paymentLinksList.js.map +1 -1
  49. package/dist/commonjs/funcs/paymentLinksListPayments.js +5 -5
  50. package/dist/commonjs/funcs/paymentLinksListPayments.js.map +1 -1
  51. package/dist/commonjs/funcs/paymentLinksUpdate.js.map +1 -1
  52. package/dist/commonjs/funcs/paymentsCancel.js.map +1 -1
  53. package/dist/commonjs/funcs/paymentsGet.js.map +1 -1
  54. package/dist/commonjs/funcs/paymentsList.js +5 -5
  55. package/dist/commonjs/funcs/paymentsList.js.map +1 -1
  56. package/dist/commonjs/funcs/paymentsReleaseAuthorization.js.map +1 -1
  57. package/dist/commonjs/funcs/paymentsUpdate.js.map +1 -1
  58. package/dist/commonjs/funcs/permissionsGet.js.map +1 -1
  59. package/dist/commonjs/funcs/profilesDelete.js.map +1 -1
  60. package/dist/commonjs/funcs/profilesGet.js.map +1 -1
  61. package/dist/commonjs/funcs/profilesList.js +5 -5
  62. package/dist/commonjs/funcs/profilesList.js.map +1 -1
  63. package/dist/commonjs/funcs/profilesUpdate.js.map +1 -1
  64. package/dist/commonjs/funcs/refundsAll.js +5 -5
  65. package/dist/commonjs/funcs/refundsAll.js.map +1 -1
  66. package/dist/commonjs/funcs/refundsCancel.js.map +1 -1
  67. package/dist/commonjs/funcs/refundsCreate.js.map +1 -1
  68. package/dist/commonjs/funcs/refundsGet.js.map +1 -1
  69. package/dist/commonjs/funcs/refundsList.js +5 -5
  70. package/dist/commonjs/funcs/refundsList.js.map +1 -1
  71. package/dist/commonjs/funcs/salesInvoicesDelete.js.map +1 -1
  72. package/dist/commonjs/funcs/salesInvoicesGet.js.map +1 -1
  73. package/dist/commonjs/funcs/salesInvoicesList.js +5 -5
  74. package/dist/commonjs/funcs/salesInvoicesList.js.map +1 -1
  75. package/dist/commonjs/funcs/salesInvoicesUpdate.js.map +1 -1
  76. package/dist/commonjs/funcs/sessionsGet.js.map +1 -1
  77. package/dist/commonjs/funcs/settlementsGet.js.map +1 -1
  78. package/dist/commonjs/funcs/settlementsList.js +5 -5
  79. package/dist/commonjs/funcs/settlementsList.js.map +1 -1
  80. package/dist/commonjs/funcs/settlementsListCaptures.js +5 -5
  81. package/dist/commonjs/funcs/settlementsListCaptures.js.map +1 -1
  82. package/dist/commonjs/funcs/settlementsListChargebacks.js +5 -5
  83. package/dist/commonjs/funcs/settlementsListChargebacks.js.map +1 -1
  84. package/dist/commonjs/funcs/settlementsListPayments.js +5 -5
  85. package/dist/commonjs/funcs/settlementsListPayments.js.map +1 -1
  86. package/dist/commonjs/funcs/settlementsListRefunds.js +5 -5
  87. package/dist/commonjs/funcs/settlementsListRefunds.js.map +1 -1
  88. package/dist/commonjs/funcs/subscriptionsAll.js +5 -5
  89. package/dist/commonjs/funcs/subscriptionsAll.js.map +1 -1
  90. package/dist/commonjs/funcs/subscriptionsCancel.js.map +1 -1
  91. package/dist/commonjs/funcs/subscriptionsCreate.js.map +1 -1
  92. package/dist/commonjs/funcs/subscriptionsGet.js.map +1 -1
  93. package/dist/commonjs/funcs/subscriptionsList.js +5 -5
  94. package/dist/commonjs/funcs/subscriptionsList.js.map +1 -1
  95. package/dist/commonjs/funcs/subscriptionsListPayments.js +5 -5
  96. package/dist/commonjs/funcs/subscriptionsListPayments.js.map +1 -1
  97. package/dist/commonjs/funcs/subscriptionsUpdate.js.map +1 -1
  98. package/dist/commonjs/funcs/terminalsGet.js.map +1 -1
  99. package/dist/commonjs/funcs/terminalsList.js +5 -5
  100. package/dist/commonjs/funcs/terminalsList.js.map +1 -1
  101. package/dist/commonjs/funcs/webhookEventsGet.js.map +1 -1
  102. package/dist/commonjs/funcs/webhooksDelete.js.map +1 -1
  103. package/dist/commonjs/funcs/webhooksGet.js.map +1 -1
  104. package/dist/commonjs/funcs/webhooksList.js +5 -5
  105. package/dist/commonjs/funcs/webhooksList.js.map +1 -1
  106. package/dist/commonjs/funcs/webhooksTest.js.map +1 -1
  107. package/dist/commonjs/funcs/webhooksUpdate.js.map +1 -1
  108. package/dist/commonjs/hooks/global-usage.d.ts +2 -0
  109. package/dist/commonjs/hooks/global-usage.d.ts.map +1 -0
  110. package/dist/commonjs/hooks/global-usage.js +44 -0
  111. package/dist/commonjs/hooks/global-usage.js.map +1 -0
  112. package/dist/commonjs/hooks/mollie-auth-utils.d.ts +4 -0
  113. package/dist/commonjs/hooks/mollie-auth-utils.d.ts.map +1 -0
  114. package/dist/commonjs/hooks/mollie-auth-utils.js +19 -0
  115. package/dist/commonjs/hooks/mollie-auth-utils.js.map +1 -0
  116. package/dist/commonjs/hooks/mollie-hooks.d.ts +1 -2
  117. package/dist/commonjs/hooks/mollie-hooks.d.ts.map +1 -1
  118. package/dist/commonjs/hooks/mollie-hooks.js +27 -60
  119. package/dist/commonjs/hooks/mollie-hooks.js.map +1 -1
  120. package/dist/commonjs/lib/config.d.ts +3 -3
  121. package/dist/commonjs/lib/config.js +3 -3
  122. package/dist/commonjs/lib/config.js.map +1 -1
  123. package/dist/commonjs/lib/files.d.ts +13 -0
  124. package/dist/commonjs/lib/files.d.ts.map +1 -1
  125. package/dist/commonjs/lib/files.js +19 -0
  126. package/dist/commonjs/lib/files.js.map +1 -1
  127. package/dist/commonjs/lib/sdks.d.ts +0 -2
  128. package/dist/commonjs/lib/sdks.d.ts.map +1 -1
  129. package/dist/commonjs/lib/sdks.js +10 -20
  130. package/dist/commonjs/lib/sdks.js.map +1 -1
  131. package/dist/commonjs/lib/url.d.ts.map +1 -1
  132. package/dist/commonjs/lib/url.js +4 -2
  133. package/dist/commonjs/lib/url.js.map +1 -1
  134. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  135. package/dist/commonjs/mcp-server/server.js +1 -1
  136. package/dist/esm/funcs/balanceTransfersGet.js.map +1 -1
  137. package/dist/esm/funcs/balanceTransfersList.js +5 -5
  138. package/dist/esm/funcs/balanceTransfersList.js.map +1 -1
  139. package/dist/esm/funcs/balancesGet.js.map +1 -1
  140. package/dist/esm/funcs/balancesGetReport.js.map +1 -1
  141. package/dist/esm/funcs/balancesList.js +5 -5
  142. package/dist/esm/funcs/balancesList.js.map +1 -1
  143. package/dist/esm/funcs/balancesListTransactions.js +5 -5
  144. package/dist/esm/funcs/balancesListTransactions.js.map +1 -1
  145. package/dist/esm/funcs/capturesCreate.js.map +1 -1
  146. package/dist/esm/funcs/capturesGet.js.map +1 -1
  147. package/dist/esm/funcs/capturesList.js +5 -5
  148. package/dist/esm/funcs/capturesList.js.map +1 -1
  149. package/dist/esm/funcs/chargebacksAll.js +5 -5
  150. package/dist/esm/funcs/chargebacksAll.js.map +1 -1
  151. package/dist/esm/funcs/chargebacksGet.js.map +1 -1
  152. package/dist/esm/funcs/chargebacksList.js +5 -5
  153. package/dist/esm/funcs/chargebacksList.js.map +1 -1
  154. package/dist/esm/funcs/clientsGet.js.map +1 -1
  155. package/dist/esm/funcs/clientsList.js +5 -5
  156. package/dist/esm/funcs/clientsList.js.map +1 -1
  157. package/dist/esm/funcs/customersCreatePayment.js.map +1 -1
  158. package/dist/esm/funcs/customersDelete.js.map +1 -1
  159. package/dist/esm/funcs/customersGet.js.map +1 -1
  160. package/dist/esm/funcs/customersList.js +5 -5
  161. package/dist/esm/funcs/customersList.js.map +1 -1
  162. package/dist/esm/funcs/customersListPayments.js +5 -5
  163. package/dist/esm/funcs/customersListPayments.js.map +1 -1
  164. package/dist/esm/funcs/customersUpdate.js.map +1 -1
  165. package/dist/esm/funcs/delayedRoutingCreate.js.map +1 -1
  166. package/dist/esm/funcs/delayedRoutingGet.js.map +1 -1
  167. package/dist/esm/funcs/delayedRoutingList.js.map +1 -1
  168. package/dist/esm/funcs/invoicesGet.js.map +1 -1
  169. package/dist/esm/funcs/invoicesList.js +5 -5
  170. package/dist/esm/funcs/invoicesList.js.map +1 -1
  171. package/dist/esm/funcs/mandatesCreate.js.map +1 -1
  172. package/dist/esm/funcs/mandatesGet.js.map +1 -1
  173. package/dist/esm/funcs/mandatesList.js +5 -5
  174. package/dist/esm/funcs/mandatesList.js.map +1 -1
  175. package/dist/esm/funcs/mandatesRevoke.js.map +1 -1
  176. package/dist/esm/funcs/methodsGet.js.map +1 -1
  177. package/dist/esm/funcs/organizationsGet.js.map +1 -1
  178. package/dist/esm/funcs/paymentLinksDelete.js.map +1 -1
  179. package/dist/esm/funcs/paymentLinksGet.js.map +1 -1
  180. package/dist/esm/funcs/paymentLinksList.js +5 -5
  181. package/dist/esm/funcs/paymentLinksList.js.map +1 -1
  182. package/dist/esm/funcs/paymentLinksListPayments.js +5 -5
  183. package/dist/esm/funcs/paymentLinksListPayments.js.map +1 -1
  184. package/dist/esm/funcs/paymentLinksUpdate.js.map +1 -1
  185. package/dist/esm/funcs/paymentsCancel.js.map +1 -1
  186. package/dist/esm/funcs/paymentsGet.js.map +1 -1
  187. package/dist/esm/funcs/paymentsList.js +5 -5
  188. package/dist/esm/funcs/paymentsList.js.map +1 -1
  189. package/dist/esm/funcs/paymentsReleaseAuthorization.js.map +1 -1
  190. package/dist/esm/funcs/paymentsUpdate.js.map +1 -1
  191. package/dist/esm/funcs/permissionsGet.js.map +1 -1
  192. package/dist/esm/funcs/profilesDelete.js.map +1 -1
  193. package/dist/esm/funcs/profilesGet.js.map +1 -1
  194. package/dist/esm/funcs/profilesList.js +5 -5
  195. package/dist/esm/funcs/profilesList.js.map +1 -1
  196. package/dist/esm/funcs/profilesUpdate.js.map +1 -1
  197. package/dist/esm/funcs/refundsAll.js +5 -5
  198. package/dist/esm/funcs/refundsAll.js.map +1 -1
  199. package/dist/esm/funcs/refundsCancel.js.map +1 -1
  200. package/dist/esm/funcs/refundsCreate.js.map +1 -1
  201. package/dist/esm/funcs/refundsGet.js.map +1 -1
  202. package/dist/esm/funcs/refundsList.js +5 -5
  203. package/dist/esm/funcs/refundsList.js.map +1 -1
  204. package/dist/esm/funcs/salesInvoicesDelete.js.map +1 -1
  205. package/dist/esm/funcs/salesInvoicesGet.js.map +1 -1
  206. package/dist/esm/funcs/salesInvoicesList.js +5 -5
  207. package/dist/esm/funcs/salesInvoicesList.js.map +1 -1
  208. package/dist/esm/funcs/salesInvoicesUpdate.js.map +1 -1
  209. package/dist/esm/funcs/sessionsGet.js.map +1 -1
  210. package/dist/esm/funcs/settlementsGet.js.map +1 -1
  211. package/dist/esm/funcs/settlementsList.js +5 -5
  212. package/dist/esm/funcs/settlementsList.js.map +1 -1
  213. package/dist/esm/funcs/settlementsListCaptures.js +5 -5
  214. package/dist/esm/funcs/settlementsListCaptures.js.map +1 -1
  215. package/dist/esm/funcs/settlementsListChargebacks.js +5 -5
  216. package/dist/esm/funcs/settlementsListChargebacks.js.map +1 -1
  217. package/dist/esm/funcs/settlementsListPayments.js +5 -5
  218. package/dist/esm/funcs/settlementsListPayments.js.map +1 -1
  219. package/dist/esm/funcs/settlementsListRefunds.js +5 -5
  220. package/dist/esm/funcs/settlementsListRefunds.js.map +1 -1
  221. package/dist/esm/funcs/subscriptionsAll.js +5 -5
  222. package/dist/esm/funcs/subscriptionsAll.js.map +1 -1
  223. package/dist/esm/funcs/subscriptionsCancel.js.map +1 -1
  224. package/dist/esm/funcs/subscriptionsCreate.js.map +1 -1
  225. package/dist/esm/funcs/subscriptionsGet.js.map +1 -1
  226. package/dist/esm/funcs/subscriptionsList.js +5 -5
  227. package/dist/esm/funcs/subscriptionsList.js.map +1 -1
  228. package/dist/esm/funcs/subscriptionsListPayments.js +5 -5
  229. package/dist/esm/funcs/subscriptionsListPayments.js.map +1 -1
  230. package/dist/esm/funcs/subscriptionsUpdate.js.map +1 -1
  231. package/dist/esm/funcs/terminalsGet.js.map +1 -1
  232. package/dist/esm/funcs/terminalsList.js +5 -5
  233. package/dist/esm/funcs/terminalsList.js.map +1 -1
  234. package/dist/esm/funcs/webhookEventsGet.js.map +1 -1
  235. package/dist/esm/funcs/webhooksDelete.js.map +1 -1
  236. package/dist/esm/funcs/webhooksGet.js.map +1 -1
  237. package/dist/esm/funcs/webhooksList.js +5 -5
  238. package/dist/esm/funcs/webhooksList.js.map +1 -1
  239. package/dist/esm/funcs/webhooksTest.js.map +1 -1
  240. package/dist/esm/funcs/webhooksUpdate.js.map +1 -1
  241. package/dist/esm/hooks/global-usage.d.ts +2 -0
  242. package/dist/esm/hooks/global-usage.d.ts.map +1 -0
  243. package/dist/esm/hooks/global-usage.js +41 -0
  244. package/dist/esm/hooks/global-usage.js.map +1 -0
  245. package/dist/esm/hooks/mollie-auth-utils.d.ts +4 -0
  246. package/dist/esm/hooks/mollie-auth-utils.d.ts.map +1 -0
  247. package/dist/esm/hooks/mollie-auth-utils.js +15 -0
  248. package/dist/esm/hooks/mollie-auth-utils.js.map +1 -0
  249. package/dist/esm/hooks/mollie-hooks.d.ts +1 -2
  250. package/dist/esm/hooks/mollie-hooks.d.ts.map +1 -1
  251. package/dist/esm/hooks/mollie-hooks.js +27 -60
  252. package/dist/esm/hooks/mollie-hooks.js.map +1 -1
  253. package/dist/esm/lib/config.d.ts +3 -3
  254. package/dist/esm/lib/config.js +3 -3
  255. package/dist/esm/lib/config.js.map +1 -1
  256. package/dist/esm/lib/files.d.ts +13 -0
  257. package/dist/esm/lib/files.d.ts.map +1 -1
  258. package/dist/esm/lib/files.js +18 -0
  259. package/dist/esm/lib/files.js.map +1 -1
  260. package/dist/esm/lib/sdks.d.ts +0 -2
  261. package/dist/esm/lib/sdks.d.ts.map +1 -1
  262. package/dist/esm/lib/sdks.js +10 -20
  263. package/dist/esm/lib/sdks.js.map +1 -1
  264. package/dist/esm/lib/url.d.ts.map +1 -1
  265. package/dist/esm/lib/url.js +4 -2
  266. package/dist/esm/lib/url.js.map +1 -1
  267. package/dist/esm/mcp-server/mcp-server.js +1 -1
  268. package/dist/esm/mcp-server/server.js +1 -1
  269. package/jsr.json +1 -1
  270. package/package.json +1 -1
  271. package/src/funcs/balanceTransfersGet.ts +0 -1
  272. package/src/funcs/balanceTransfersList.ts +5 -6
  273. package/src/funcs/balancesGet.ts +0 -1
  274. package/src/funcs/balancesGetReport.ts +0 -1
  275. package/src/funcs/balancesList.ts +5 -6
  276. package/src/funcs/balancesListTransactions.ts +5 -6
  277. package/src/funcs/capturesCreate.ts +0 -1
  278. package/src/funcs/capturesGet.ts +0 -1
  279. package/src/funcs/capturesList.ts +5 -6
  280. package/src/funcs/chargebacksAll.ts +5 -6
  281. package/src/funcs/chargebacksGet.ts +0 -1
  282. package/src/funcs/chargebacksList.ts +5 -6
  283. package/src/funcs/clientsGet.ts +0 -1
  284. package/src/funcs/clientsList.ts +5 -6
  285. package/src/funcs/customersCreatePayment.ts +0 -1
  286. package/src/funcs/customersDelete.ts +0 -1
  287. package/src/funcs/customersGet.ts +0 -1
  288. package/src/funcs/customersList.ts +5 -6
  289. package/src/funcs/customersListPayments.ts +5 -6
  290. package/src/funcs/customersUpdate.ts +0 -1
  291. package/src/funcs/delayedRoutingCreate.ts +0 -1
  292. package/src/funcs/delayedRoutingGet.ts +0 -1
  293. package/src/funcs/delayedRoutingList.ts +0 -1
  294. package/src/funcs/invoicesGet.ts +0 -1
  295. package/src/funcs/invoicesList.ts +5 -6
  296. package/src/funcs/mandatesCreate.ts +0 -1
  297. package/src/funcs/mandatesGet.ts +0 -1
  298. package/src/funcs/mandatesList.ts +5 -6
  299. package/src/funcs/mandatesRevoke.ts +0 -1
  300. package/src/funcs/methodsGet.ts +0 -1
  301. package/src/funcs/organizationsGet.ts +0 -1
  302. package/src/funcs/paymentLinksDelete.ts +0 -1
  303. package/src/funcs/paymentLinksGet.ts +0 -1
  304. package/src/funcs/paymentLinksList.ts +5 -6
  305. package/src/funcs/paymentLinksListPayments.ts +5 -6
  306. package/src/funcs/paymentLinksUpdate.ts +0 -1
  307. package/src/funcs/paymentsCancel.ts +0 -1
  308. package/src/funcs/paymentsGet.ts +0 -1
  309. package/src/funcs/paymentsList.ts +5 -6
  310. package/src/funcs/paymentsReleaseAuthorization.ts +0 -1
  311. package/src/funcs/paymentsUpdate.ts +0 -1
  312. package/src/funcs/permissionsGet.ts +0 -1
  313. package/src/funcs/profilesDelete.ts +0 -1
  314. package/src/funcs/profilesGet.ts +0 -1
  315. package/src/funcs/profilesList.ts +5 -6
  316. package/src/funcs/profilesUpdate.ts +0 -1
  317. package/src/funcs/refundsAll.ts +5 -6
  318. package/src/funcs/refundsCancel.ts +0 -1
  319. package/src/funcs/refundsCreate.ts +0 -1
  320. package/src/funcs/refundsGet.ts +0 -1
  321. package/src/funcs/refundsList.ts +5 -6
  322. package/src/funcs/salesInvoicesDelete.ts +0 -1
  323. package/src/funcs/salesInvoicesGet.ts +0 -1
  324. package/src/funcs/salesInvoicesList.ts +5 -6
  325. package/src/funcs/salesInvoicesUpdate.ts +0 -1
  326. package/src/funcs/sessionsGet.ts +0 -1
  327. package/src/funcs/settlementsGet.ts +0 -1
  328. package/src/funcs/settlementsList.ts +5 -6
  329. package/src/funcs/settlementsListCaptures.ts +5 -6
  330. package/src/funcs/settlementsListChargebacks.ts +5 -6
  331. package/src/funcs/settlementsListPayments.ts +5 -6
  332. package/src/funcs/settlementsListRefunds.ts +5 -6
  333. package/src/funcs/subscriptionsAll.ts +5 -6
  334. package/src/funcs/subscriptionsCancel.ts +0 -1
  335. package/src/funcs/subscriptionsCreate.ts +0 -1
  336. package/src/funcs/subscriptionsGet.ts +0 -1
  337. package/src/funcs/subscriptionsList.ts +5 -6
  338. package/src/funcs/subscriptionsListPayments.ts +5 -6
  339. package/src/funcs/subscriptionsUpdate.ts +0 -1
  340. package/src/funcs/terminalsGet.ts +0 -1
  341. package/src/funcs/terminalsList.ts +5 -6
  342. package/src/funcs/webhookEventsGet.ts +0 -1
  343. package/src/funcs/webhooksDelete.ts +0 -1
  344. package/src/funcs/webhooksGet.ts +0 -1
  345. package/src/funcs/webhooksList.ts +5 -6
  346. package/src/funcs/webhooksTest.ts +0 -1
  347. package/src/funcs/webhooksUpdate.ts +0 -1
  348. package/src/hooks/global-usage.ts +40 -0
  349. package/src/hooks/mollie-auth-utils.ts +17 -0
  350. package/src/hooks/mollie-hooks.ts +33 -76
  351. package/src/lib/config.ts +3 -3
  352. package/src/lib/files.ts +22 -0
  353. package/src/lib/sdks.ts +9 -26
  354. package/src/lib/url.ts +16 -14
  355. package/src/mcp-server/mcp-server.ts +1 -1
  356. package/src/mcp-server/server.ts +1 -1
@@ -98,7 +98,6 @@ async function $do(
98
98
  { explode: false, charEncoding: "percent" },
99
99
  ),
100
100
  };
101
-
102
101
  const path = pathToFunc("/connect/balance-transfers/{balanceTransferId}")(
103
102
  pathParams,
104
103
  );
@@ -106,7 +106,7 @@ async function $do(
106
106
  const body = null;
107
107
 
108
108
  const path = options?.[URL_OVERRIDE]
109
- ? options[URL_OVERRIDE].pathname
109
+ ? ""
110
110
  : pathToFunc("/connect/balance-transfers")();
111
111
 
112
112
  const query = options?.[URL_OVERRIDE]
@@ -158,7 +158,7 @@ async function $do(
158
158
  const requestRes = client._createRequest(context, {
159
159
  security: requestSecurity,
160
160
  method: "GET",
161
- baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
161
+ baseURL: options?.[URL_OVERRIDE]?.href || options?.serverURL,
162
162
  path: path,
163
163
  headers: headers,
164
164
  query: query,
@@ -240,11 +240,10 @@ async function $do(
240
240
  return { next: () => null };
241
241
  }
242
242
 
243
- if (nextURL.startsWith("/")) {
244
- nextURL = `${client._baseURL?.origin}${nextURL}`;
245
- }
246
-
247
243
  try {
244
+ if (nextURL.startsWith("/")) {
245
+ nextURL = new URL(nextURL, client._baseURL ?? "").href;
246
+ }
248
247
  new URL(nextURL);
249
248
  } catch (_error) {
250
249
  return { next: () => null };
@@ -110,7 +110,6 @@ async function $do(
110
110
  charEncoding: "percent",
111
111
  }),
112
112
  };
113
-
114
113
  const path = pathToFunc("/balances/{balanceId}")(pathParams);
115
114
 
116
115
  const query = encodeFormQuery({
@@ -102,7 +102,6 @@ async function $do(
102
102
  charEncoding: "percent",
103
103
  }),
104
104
  };
105
-
106
105
  const path = pathToFunc("/balances/{balanceId}/report")(pathParams);
107
106
 
108
107
  const query = encodeFormQuery({
@@ -107,7 +107,7 @@ async function $do(
107
107
  const body = null;
108
108
 
109
109
  const path = options?.[URL_OVERRIDE]
110
- ? options[URL_OVERRIDE].pathname
110
+ ? ""
111
111
  : pathToFunc("/balances")();
112
112
 
113
113
  const query = options?.[URL_OVERRIDE]
@@ -159,7 +159,7 @@ async function $do(
159
159
  const requestRes = client._createRequest(context, {
160
160
  security: requestSecurity,
161
161
  method: "GET",
162
- baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
162
+ baseURL: options?.[URL_OVERRIDE]?.href || options?.serverURL,
163
163
  path: path,
164
164
  headers: headers,
165
165
  query: query,
@@ -241,11 +241,10 @@ async function $do(
241
241
  return { next: () => null };
242
242
  }
243
243
 
244
- if (nextURL.startsWith("/")) {
245
- nextURL = `${client._baseURL?.origin}${nextURL}`;
246
- }
247
-
248
244
  try {
245
+ if (nextURL.startsWith("/")) {
246
+ nextURL = new URL(nextURL, client._baseURL ?? "").href;
247
+ }
249
248
  new URL(nextURL);
250
249
  } catch (_error) {
251
250
  return { next: () => null };
@@ -120,7 +120,7 @@ async function $do(
120
120
  }),
121
121
  };
122
122
  const path = options?.[URL_OVERRIDE]
123
- ? options[URL_OVERRIDE].pathname
123
+ ? ""
124
124
  : pathToFunc("/balances/{balanceId}/transactions")(pathParams);
125
125
 
126
126
  const query = options?.[URL_OVERRIDE]
@@ -171,7 +171,7 @@ async function $do(
171
171
  const requestRes = client._createRequest(context, {
172
172
  security: requestSecurity,
173
173
  method: "GET",
174
- baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
174
+ baseURL: options?.[URL_OVERRIDE]?.href || options?.serverURL,
175
175
  path: path,
176
176
  headers: headers,
177
177
  query: query,
@@ -253,11 +253,10 @@ async function $do(
253
253
  return { next: () => null };
254
254
  }
255
255
 
256
- if (nextURL.startsWith("/")) {
257
- nextURL = `${client._baseURL?.origin}${nextURL}`;
258
- }
259
-
260
256
  try {
257
+ if (nextURL.startsWith("/")) {
258
+ nextURL = new URL(nextURL, client._baseURL ?? "").href;
259
+ }
261
260
  new URL(nextURL);
262
261
  } catch (_error) {
263
262
  return { next: () => null };
@@ -103,7 +103,6 @@ async function $do(
103
103
  charEncoding: "percent",
104
104
  }),
105
105
  };
106
-
107
106
  const path = pathToFunc("/payments/{paymentId}/captures")(pathParams);
108
107
 
109
108
  const headers = new Headers(compactMap({
@@ -101,7 +101,6 @@ async function $do(
101
101
  charEncoding: "percent",
102
102
  }),
103
103
  };
104
-
105
104
  const path = pathToFunc("/payments/{paymentId}/captures/{captureId}")(
106
105
  pathParams,
107
106
  );
@@ -112,7 +112,7 @@ async function $do(
112
112
  }),
113
113
  };
114
114
  const path = options?.[URL_OVERRIDE]
115
- ? options[URL_OVERRIDE].pathname
115
+ ? ""
116
116
  : pathToFunc("/payments/{paymentId}/captures")(pathParams);
117
117
 
118
118
  const query = options?.[URL_OVERRIDE]
@@ -164,7 +164,7 @@ async function $do(
164
164
  const requestRes = client._createRequest(context, {
165
165
  security: requestSecurity,
166
166
  method: "GET",
167
- baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
167
+ baseURL: options?.[URL_OVERRIDE]?.href || options?.serverURL,
168
168
  path: path,
169
169
  headers: headers,
170
170
  query: query,
@@ -246,11 +246,10 @@ async function $do(
246
246
  return { next: () => null };
247
247
  }
248
248
 
249
- if (nextURL.startsWith("/")) {
250
- nextURL = `${client._baseURL?.origin}${nextURL}`;
251
- }
252
-
253
249
  try {
250
+ if (nextURL.startsWith("/")) {
251
+ nextURL = new URL(nextURL, client._baseURL ?? "").href;
252
+ }
254
253
  new URL(nextURL);
255
254
  } catch (_error) {
256
255
  return { next: () => null };
@@ -109,7 +109,7 @@ async function $do(
109
109
  const body = null;
110
110
 
111
111
  const path = options?.[URL_OVERRIDE]
112
- ? options[URL_OVERRIDE].pathname
112
+ ? ""
113
113
  : pathToFunc("/chargebacks")();
114
114
 
115
115
  const query = options?.[URL_OVERRIDE]
@@ -163,7 +163,7 @@ async function $do(
163
163
  const requestRes = client._createRequest(context, {
164
164
  security: requestSecurity,
165
165
  method: "GET",
166
- baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
166
+ baseURL: options?.[URL_OVERRIDE]?.href || options?.serverURL,
167
167
  path: path,
168
168
  headers: headers,
169
169
  query: query,
@@ -245,11 +245,10 @@ async function $do(
245
245
  return { next: () => null };
246
246
  }
247
247
 
248
- if (nextURL.startsWith("/")) {
249
- nextURL = `${client._baseURL?.origin}${nextURL}`;
250
- }
251
-
252
248
  try {
249
+ if (nextURL.startsWith("/")) {
250
+ nextURL = new URL(nextURL, client._baseURL ?? "").href;
251
+ }
253
252
  new URL(nextURL);
254
253
  } catch (_error) {
255
254
  return { next: () => null };
@@ -100,7 +100,6 @@ async function $do(
100
100
  charEncoding: "percent",
101
101
  }),
102
102
  };
103
-
104
103
  const path = pathToFunc("/payments/{paymentId}/chargebacks/{chargebackId}")(
105
104
  pathParams,
106
105
  );
@@ -112,7 +112,7 @@ async function $do(
112
112
  }),
113
113
  };
114
114
  const path = options?.[URL_OVERRIDE]
115
- ? options[URL_OVERRIDE].pathname
115
+ ? ""
116
116
  : pathToFunc("/payments/{paymentId}/chargebacks")(pathParams);
117
117
 
118
118
  const query = options?.[URL_OVERRIDE]
@@ -164,7 +164,7 @@ async function $do(
164
164
  const requestRes = client._createRequest(context, {
165
165
  security: requestSecurity,
166
166
  method: "GET",
167
- baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
167
+ baseURL: options?.[URL_OVERRIDE]?.href || options?.serverURL,
168
168
  path: path,
169
169
  headers: headers,
170
170
  query: query,
@@ -246,11 +246,10 @@ async function $do(
246
246
  return { next: () => null };
247
247
  }
248
248
 
249
- if (nextURL.startsWith("/")) {
250
- nextURL = `${client._baseURL?.origin}${nextURL}`;
251
- }
252
-
253
249
  try {
250
+ if (nextURL.startsWith("/")) {
251
+ nextURL = new URL(nextURL, client._baseURL ?? "").href;
252
+ }
254
253
  new URL(nextURL);
255
254
  } catch (_error) {
256
255
  return { next: () => null };
@@ -95,7 +95,6 @@ async function $do(
95
95
  charEncoding: "percent",
96
96
  }),
97
97
  };
98
-
99
98
  const path = pathToFunc("/clients/{organizationId}")(pathParams);
100
99
 
101
100
  const query = encodeFormQuery({
@@ -107,7 +107,7 @@ async function $do(
107
107
  const body = null;
108
108
 
109
109
  const path = options?.[URL_OVERRIDE]
110
- ? options[URL_OVERRIDE].pathname
110
+ ? ""
111
111
  : pathToFunc("/clients")();
112
112
 
113
113
  const query = options?.[URL_OVERRIDE]
@@ -158,7 +158,7 @@ async function $do(
158
158
  const requestRes = client._createRequest(context, {
159
159
  security: requestSecurity,
160
160
  method: "GET",
161
- baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
161
+ baseURL: options?.[URL_OVERRIDE]?.href || options?.serverURL,
162
162
  path: path,
163
163
  headers: headers,
164
164
  query: query,
@@ -240,11 +240,10 @@ async function $do(
240
240
  return { next: () => null };
241
241
  }
242
242
 
243
- if (nextURL.startsWith("/")) {
244
- nextURL = `${client._baseURL?.origin}${nextURL}`;
245
- }
246
-
247
243
  try {
244
+ if (nextURL.startsWith("/")) {
245
+ nextURL = new URL(nextURL, client._baseURL ?? "").href;
246
+ }
248
247
  new URL(nextURL);
249
248
  } catch (_error) {
250
249
  return { next: () => null };
@@ -109,7 +109,6 @@ async function $do(
109
109
  charEncoding: "percent",
110
110
  }),
111
111
  };
112
-
113
112
  const path = pathToFunc("/customers/{customerId}/payments")(pathParams);
114
113
 
115
114
  const headers = new Headers(compactMap({
@@ -96,7 +96,6 @@ async function $do(
96
96
  charEncoding: "percent",
97
97
  }),
98
98
  };
99
-
100
99
  const path = pathToFunc("/customers/{customerId}")(pathParams);
101
100
 
102
101
  const headers = new Headers(compactMap({
@@ -95,7 +95,6 @@ async function $do(
95
95
  charEncoding: "percent",
96
96
  }),
97
97
  };
98
-
99
98
  const path = pathToFunc("/customers/{customerId}")(pathParams);
100
99
 
101
100
  const query = encodeFormQuery({
@@ -107,7 +107,7 @@ async function $do(
107
107
  const body = null;
108
108
 
109
109
  const path = options?.[URL_OVERRIDE]
110
- ? options[URL_OVERRIDE].pathname
110
+ ? ""
111
111
  : pathToFunc("/customers")();
112
112
 
113
113
  const query = options?.[URL_OVERRIDE]
@@ -159,7 +159,7 @@ async function $do(
159
159
  const requestRes = client._createRequest(context, {
160
160
  security: requestSecurity,
161
161
  method: "GET",
162
- baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
162
+ baseURL: options?.[URL_OVERRIDE]?.href || options?.serverURL,
163
163
  path: path,
164
164
  headers: headers,
165
165
  query: query,
@@ -241,11 +241,10 @@ async function $do(
241
241
  return { next: () => null };
242
242
  }
243
243
 
244
- if (nextURL.startsWith("/")) {
245
- nextURL = `${client._baseURL?.origin}${nextURL}`;
246
- }
247
-
248
244
  try {
245
+ if (nextURL.startsWith("/")) {
246
+ nextURL = new URL(nextURL, client._baseURL ?? "").href;
247
+ }
249
248
  new URL(nextURL);
250
249
  } catch (_error) {
251
250
  return { next: () => null };
@@ -111,7 +111,7 @@ async function $do(
111
111
  }),
112
112
  };
113
113
  const path = options?.[URL_OVERRIDE]
114
- ? options[URL_OVERRIDE].pathname
114
+ ? ""
115
115
  : pathToFunc("/customers/{customerId}/payments")(pathParams);
116
116
 
117
117
  const query = options?.[URL_OVERRIDE]
@@ -164,7 +164,7 @@ async function $do(
164
164
  const requestRes = client._createRequest(context, {
165
165
  security: requestSecurity,
166
166
  method: "GET",
167
- baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
167
+ baseURL: options?.[URL_OVERRIDE]?.href || options?.serverURL,
168
168
  path: path,
169
169
  headers: headers,
170
170
  query: query,
@@ -246,11 +246,10 @@ async function $do(
246
246
  return { next: () => null };
247
247
  }
248
248
 
249
- if (nextURL.startsWith("/")) {
250
- nextURL = `${client._baseURL?.origin}${nextURL}`;
251
- }
252
-
253
249
  try {
250
+ if (nextURL.startsWith("/")) {
251
+ nextURL = new URL(nextURL, client._baseURL ?? "").href;
252
+ }
254
253
  new URL(nextURL);
255
254
  } catch (_error) {
256
255
  return { next: () => null };
@@ -98,7 +98,6 @@ async function $do(
98
98
  charEncoding: "percent",
99
99
  }),
100
100
  };
101
-
102
101
  const path = pathToFunc("/customers/{customerId}")(pathParams);
103
102
 
104
103
  const headers = new Headers(compactMap({
@@ -99,7 +99,6 @@ async function $do(
99
99
  charEncoding: "percent",
100
100
  }),
101
101
  };
102
-
103
102
  const path = pathToFunc("/payments/{paymentId}/routes")(pathParams);
104
103
 
105
104
  const headers = new Headers(compactMap({
@@ -100,7 +100,6 @@ async function $do(
100
100
  charEncoding: "percent",
101
101
  }),
102
102
  };
103
-
104
103
  const path = pathToFunc("/payments/{paymentId}/routes/{routeId}")(pathParams);
105
104
 
106
105
  const headers = new Headers(compactMap({
@@ -95,7 +95,6 @@ async function $do(
95
95
  charEncoding: "percent",
96
96
  }),
97
97
  };
98
-
99
98
  const path = pathToFunc("/payments/{paymentId}/routes")(pathParams);
100
99
 
101
100
  const query = encodeFormQuery({
@@ -99,7 +99,6 @@ async function $do(
99
99
  charEncoding: "percent",
100
100
  }),
101
101
  };
102
-
103
102
  const path = pathToFunc("/invoices/{invoiceId}")(pathParams);
104
103
 
105
104
  const headers = new Headers(compactMap({
@@ -108,7 +108,7 @@ async function $do(
108
108
  const body = null;
109
109
 
110
110
  const path = options?.[URL_OVERRIDE]
111
- ? options[URL_OVERRIDE].pathname
111
+ ? ""
112
112
  : pathToFunc("/invoices")();
113
113
 
114
114
  const query = options?.[URL_OVERRIDE]
@@ -161,7 +161,7 @@ async function $do(
161
161
  const requestRes = client._createRequest(context, {
162
162
  security: requestSecurity,
163
163
  method: "GET",
164
- baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
164
+ baseURL: options?.[URL_OVERRIDE]?.href || options?.serverURL,
165
165
  path: path,
166
166
  headers: headers,
167
167
  query: query,
@@ -243,11 +243,10 @@ async function $do(
243
243
  return { next: () => null };
244
244
  }
245
245
 
246
- if (nextURL.startsWith("/")) {
247
- nextURL = `${client._baseURL?.origin}${nextURL}`;
248
- }
249
-
250
246
  try {
247
+ if (nextURL.startsWith("/")) {
248
+ nextURL = new URL(nextURL, client._baseURL ?? "").href;
249
+ }
251
250
  new URL(nextURL);
252
251
  } catch (_error) {
253
252
  return { next: () => null };
@@ -102,7 +102,6 @@ async function $do(
102
102
  charEncoding: "percent",
103
103
  }),
104
104
  };
105
-
106
105
  const path = pathToFunc("/customers/{customerId}/mandates")(pathParams);
107
106
 
108
107
  const headers = new Headers(compactMap({
@@ -101,7 +101,6 @@ async function $do(
101
101
  charEncoding: "percent",
102
102
  }),
103
103
  };
104
-
105
104
  const path = pathToFunc("/customers/{customerId}/mandates/{mandateId}")(
106
105
  pathParams,
107
106
  );
@@ -112,7 +112,7 @@ async function $do(
112
112
  }),
113
113
  };
114
114
  const path = options?.[URL_OVERRIDE]
115
- ? options[URL_OVERRIDE].pathname
115
+ ? ""
116
116
  : pathToFunc("/customers/{customerId}/mandates")(pathParams);
117
117
 
118
118
  const query = options?.[URL_OVERRIDE]
@@ -164,7 +164,7 @@ async function $do(
164
164
  const requestRes = client._createRequest(context, {
165
165
  security: requestSecurity,
166
166
  method: "GET",
167
- baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
167
+ baseURL: options?.[URL_OVERRIDE]?.href || options?.serverURL,
168
168
  path: path,
169
169
  headers: headers,
170
170
  query: query,
@@ -246,11 +246,10 @@ async function $do(
246
246
  return { next: () => null };
247
247
  }
248
248
 
249
- if (nextURL.startsWith("/")) {
250
- nextURL = `${client._baseURL?.origin}${nextURL}`;
251
- }
252
-
253
249
  try {
250
+ if (nextURL.startsWith("/")) {
251
+ nextURL = new URL(nextURL, client._baseURL ?? "").href;
252
+ }
254
253
  new URL(nextURL);
255
254
  } catch (_error) {
256
255
  return { next: () => null };
@@ -101,7 +101,6 @@ async function $do(
101
101
  charEncoding: "percent",
102
102
  }),
103
103
  };
104
-
105
104
  const path = pathToFunc("/customers/{customerId}/mandates/{mandateId}")(
106
105
  pathParams,
107
106
  );
@@ -107,7 +107,6 @@ async function $do(
107
107
  charEncoding: "percent",
108
108
  }),
109
109
  };
110
-
111
110
  const path = pathToFunc("/methods/{methodId}")(pathParams);
112
111
 
113
112
  const query = encodeFormQuery({
@@ -101,7 +101,6 @@ async function $do(
101
101
  charEncoding: "percent",
102
102
  }),
103
103
  };
104
-
105
104
  const path = pathToFunc("/organizations/{organizationId}")(pathParams);
106
105
 
107
106
  const query = encodeFormQuery({
@@ -102,7 +102,6 @@ async function $do(
102
102
  charEncoding: "percent",
103
103
  }),
104
104
  };
105
-
106
105
  const path = pathToFunc("/payment-links/{paymentLinkId}")(pathParams);
107
106
 
108
107
  const headers = new Headers(compactMap({
@@ -96,7 +96,6 @@ async function $do(
96
96
  charEncoding: "percent",
97
97
  }),
98
98
  };
99
-
100
99
  const path = pathToFunc("/payment-links/{paymentLinkId}")(pathParams);
101
100
 
102
101
  const query = encodeFormQuery({
@@ -107,7 +107,7 @@ async function $do(
107
107
  const body = null;
108
108
 
109
109
  const path = options?.[URL_OVERRIDE]
110
- ? options[URL_OVERRIDE].pathname
110
+ ? ""
111
111
  : pathToFunc("/payment-links")();
112
112
 
113
113
  const query = options?.[URL_OVERRIDE]
@@ -158,7 +158,7 @@ async function $do(
158
158
  const requestRes = client._createRequest(context, {
159
159
  security: requestSecurity,
160
160
  method: "GET",
161
- baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
161
+ baseURL: options?.[URL_OVERRIDE]?.href || options?.serverURL,
162
162
  path: path,
163
163
  headers: headers,
164
164
  query: query,
@@ -240,11 +240,10 @@ async function $do(
240
240
  return { next: () => null };
241
241
  }
242
242
 
243
- if (nextURL.startsWith("/")) {
244
- nextURL = `${client._baseURL?.origin}${nextURL}`;
245
- }
246
-
247
243
  try {
244
+ if (nextURL.startsWith("/")) {
245
+ nextURL = new URL(nextURL, client._baseURL ?? "").href;
246
+ }
248
247
  new URL(nextURL);
249
248
  } catch (_error) {
250
249
  return { next: () => null };
@@ -113,7 +113,7 @@ async function $do(
113
113
  }),
114
114
  };
115
115
  const path = options?.[URL_OVERRIDE]
116
- ? options[URL_OVERRIDE].pathname
116
+ ? ""
117
117
  : pathToFunc("/payment-links/{paymentLinkId}/payments")(pathParams);
118
118
 
119
119
  const query = options?.[URL_OVERRIDE]
@@ -165,7 +165,7 @@ async function $do(
165
165
  const requestRes = client._createRequest(context, {
166
166
  security: requestSecurity,
167
167
  method: "GET",
168
- baseURL: options?.[URL_OVERRIDE]?.origin || options?.serverURL,
168
+ baseURL: options?.[URL_OVERRIDE]?.href || options?.serverURL,
169
169
  path: path,
170
170
  headers: headers,
171
171
  query: query,
@@ -247,11 +247,10 @@ async function $do(
247
247
  return { next: () => null };
248
248
  }
249
249
 
250
- if (nextURL.startsWith("/")) {
251
- nextURL = `${client._baseURL?.origin}${nextURL}`;
252
- }
253
-
254
250
  try {
251
+ if (nextURL.startsWith("/")) {
252
+ nextURL = new URL(nextURL, client._baseURL ?? "").href;
253
+ }
255
254
  new URL(nextURL);
256
255
  } catch (_error) {
257
256
  return { next: () => null };
@@ -96,7 +96,6 @@ async function $do(
96
96
  charEncoding: "percent",
97
97
  }),
98
98
  };
99
-
100
99
  const path = pathToFunc("/payment-links/{paymentLinkId}")(pathParams);
101
100
 
102
101
  const headers = new Headers(compactMap({
@@ -101,7 +101,6 @@ async function $do(
101
101
  charEncoding: "percent",
102
102
  }),
103
103
  };
104
-
105
104
  const path = pathToFunc("/payments/{paymentId}")(pathParams);
106
105
 
107
106
  const headers = new Headers(compactMap({
@@ -96,7 +96,6 @@ async function $do(
96
96
  charEncoding: "percent",
97
97
  }),
98
98
  };
99
-
100
99
  const path = pathToFunc("/payments/{paymentId}")(pathParams);
101
100
 
102
101
  const query = encodeFormQuery({