mollie-api-typescript 0.6.1 → 0.7.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 (755) hide show
  1. package/FUNCTIONS.md +1 -1
  2. package/README.md +103 -8
  3. package/bin/mcp-server.js +894 -257
  4. package/bin/mcp-server.js.map +107 -107
  5. package/dist/commonjs/funcs/balanceTransfersGet.js +1 -1
  6. package/dist/commonjs/funcs/balanceTransfersGet.js.map +1 -1
  7. package/dist/commonjs/funcs/balanceTransfersList.js +1 -1
  8. package/dist/commonjs/funcs/balanceTransfersList.js.map +1 -1
  9. package/dist/commonjs/funcs/balancesGet.js +1 -1
  10. package/dist/commonjs/funcs/balancesGet.js.map +1 -1
  11. package/dist/commonjs/funcs/balancesGetReport.js +1 -1
  12. package/dist/commonjs/funcs/balancesGetReport.js.map +1 -1
  13. package/dist/commonjs/funcs/balancesList.js +1 -1
  14. package/dist/commonjs/funcs/balancesList.js.map +1 -1
  15. package/dist/commonjs/funcs/balancesListTransactions.js +1 -1
  16. package/dist/commonjs/funcs/balancesListTransactions.js.map +1 -1
  17. package/dist/commonjs/funcs/capturesGet.js +1 -1
  18. package/dist/commonjs/funcs/capturesGet.js.map +1 -1
  19. package/dist/commonjs/funcs/capturesList.js +1 -1
  20. package/dist/commonjs/funcs/capturesList.js.map +1 -1
  21. package/dist/commonjs/funcs/chargebacksAll.js +2 -2
  22. package/dist/commonjs/funcs/chargebacksAll.js.map +1 -1
  23. package/dist/commonjs/funcs/chargebacksGet.js +1 -1
  24. package/dist/commonjs/funcs/chargebacksGet.js.map +1 -1
  25. package/dist/commonjs/funcs/chargebacksList.js +1 -1
  26. package/dist/commonjs/funcs/chargebacksList.js.map +1 -1
  27. package/dist/commonjs/funcs/customersGet.js +1 -1
  28. package/dist/commonjs/funcs/customersGet.js.map +1 -1
  29. package/dist/commonjs/funcs/customersList.js +1 -1
  30. package/dist/commonjs/funcs/customersList.js.map +1 -1
  31. package/dist/commonjs/funcs/customersListPayments.js +2 -2
  32. package/dist/commonjs/funcs/customersListPayments.js.map +1 -1
  33. package/dist/commonjs/funcs/delayedRoutingList.js +1 -1
  34. package/dist/commonjs/funcs/delayedRoutingList.js.map +1 -1
  35. package/dist/commonjs/funcs/mandatesGet.js +1 -1
  36. package/dist/commonjs/funcs/mandatesGet.js.map +1 -1
  37. package/dist/commonjs/funcs/mandatesList.js +1 -1
  38. package/dist/commonjs/funcs/mandatesList.js.map +1 -1
  39. package/dist/commonjs/funcs/methodsAll.js +2 -2
  40. package/dist/commonjs/funcs/methodsAll.js.map +1 -1
  41. package/dist/commonjs/funcs/methodsGet.js +2 -2
  42. package/dist/commonjs/funcs/methodsGet.js.map +1 -1
  43. package/dist/commonjs/funcs/methodsList.js +2 -2
  44. package/dist/commonjs/funcs/methodsList.js.map +1 -1
  45. package/dist/commonjs/funcs/organizationsGet.js +1 -1
  46. package/dist/commonjs/funcs/organizationsGet.js.map +1 -1
  47. package/dist/commonjs/funcs/paymentLinksGet.js +1 -1
  48. package/dist/commonjs/funcs/paymentLinksGet.js.map +1 -1
  49. package/dist/commonjs/funcs/paymentLinksList.js +1 -1
  50. package/dist/commonjs/funcs/paymentLinksList.js.map +1 -1
  51. package/dist/commonjs/funcs/paymentLinksListPayments.js +1 -1
  52. package/dist/commonjs/funcs/paymentLinksListPayments.js.map +1 -1
  53. package/dist/commonjs/funcs/paymentsGet.js +1 -1
  54. package/dist/commonjs/funcs/paymentsGet.js.map +1 -1
  55. package/dist/commonjs/funcs/paymentsList.js +2 -2
  56. package/dist/commonjs/funcs/paymentsList.js.map +1 -1
  57. package/dist/commonjs/funcs/permissionsGet.js +1 -1
  58. package/dist/commonjs/funcs/permissionsGet.js.map +1 -1
  59. package/dist/commonjs/funcs/profilesGet.js +1 -1
  60. package/dist/commonjs/funcs/profilesGet.js.map +1 -1
  61. package/dist/commonjs/funcs/refundsAll.js +2 -2
  62. package/dist/commonjs/funcs/refundsAll.js.map +1 -1
  63. package/dist/commonjs/funcs/refundsCancel.js +1 -1
  64. package/dist/commonjs/funcs/refundsCancel.js.map +1 -1
  65. package/dist/commonjs/funcs/refundsGet.js +1 -1
  66. package/dist/commonjs/funcs/refundsGet.js.map +1 -1
  67. package/dist/commonjs/funcs/refundsList.js +1 -1
  68. package/dist/commonjs/funcs/refundsList.js.map +1 -1
  69. package/dist/commonjs/funcs/salesInvoicesGet.js +1 -1
  70. package/dist/commonjs/funcs/salesInvoicesGet.js.map +1 -1
  71. package/dist/commonjs/funcs/salesInvoicesList.js +1 -1
  72. package/dist/commonjs/funcs/salesInvoicesList.js.map +1 -1
  73. package/dist/commonjs/funcs/settlementsListCaptures.js +1 -1
  74. package/dist/commonjs/funcs/settlementsListCaptures.js.map +1 -1
  75. package/dist/commonjs/funcs/settlementsListChargebacks.js +1 -1
  76. package/dist/commonjs/funcs/settlementsListChargebacks.js.map +1 -1
  77. package/dist/commonjs/funcs/settlementsListPayments.js +2 -2
  78. package/dist/commonjs/funcs/settlementsListPayments.js.map +1 -1
  79. package/dist/commonjs/funcs/settlementsListRefunds.js +1 -1
  80. package/dist/commonjs/funcs/settlementsListRefunds.js.map +1 -1
  81. package/dist/commonjs/funcs/subscriptionsAll.js +2 -2
  82. package/dist/commonjs/funcs/subscriptionsAll.js.map +1 -1
  83. package/dist/commonjs/funcs/subscriptionsGet.js +1 -1
  84. package/dist/commonjs/funcs/subscriptionsGet.js.map +1 -1
  85. package/dist/commonjs/funcs/subscriptionsList.js +1 -1
  86. package/dist/commonjs/funcs/subscriptionsList.js.map +1 -1
  87. package/dist/commonjs/funcs/subscriptionsListPayments.js +2 -2
  88. package/dist/commonjs/funcs/subscriptionsListPayments.js.map +1 -1
  89. package/dist/commonjs/funcs/terminalsGet.js +1 -1
  90. package/dist/commonjs/funcs/terminalsGet.js.map +1 -1
  91. package/dist/commonjs/funcs/terminalsList.js +1 -1
  92. package/dist/commonjs/funcs/terminalsList.js.map +1 -1
  93. package/dist/commonjs/funcs/webhookEventsGet.js +1 -1
  94. package/dist/commonjs/funcs/webhookEventsGet.js.map +1 -1
  95. package/dist/commonjs/funcs/webhooksGet.js +1 -1
  96. package/dist/commonjs/funcs/webhooksGet.js.map +1 -1
  97. package/dist/commonjs/funcs/webhooksList.js +1 -1
  98. package/dist/commonjs/funcs/webhooksList.js.map +1 -1
  99. package/dist/commonjs/hooks/mollie-hooks.d.ts +5 -1
  100. package/dist/commonjs/hooks/mollie-hooks.d.ts.map +1 -1
  101. package/dist/commonjs/hooks/mollie-hooks.js +111 -3
  102. package/dist/commonjs/hooks/mollie-hooks.js.map +1 -1
  103. package/dist/commonjs/lib/config.d.ts +15 -3
  104. package/dist/commonjs/lib/config.d.ts.map +1 -1
  105. package/dist/commonjs/lib/config.js +3 -3
  106. package/dist/commonjs/lib/config.js.map +1 -1
  107. package/dist/commonjs/lib/env.d.ts +17 -0
  108. package/dist/commonjs/lib/env.d.ts.map +1 -1
  109. package/dist/commonjs/lib/env.js +22 -0
  110. package/dist/commonjs/lib/env.js.map +1 -1
  111. package/dist/commonjs/lib/sdks.js +1 -1
  112. package/dist/commonjs/lib/sdks.js.map +1 -1
  113. package/dist/commonjs/mcp-server/cli/start/command.d.ts.map +1 -1
  114. package/dist/commonjs/mcp-server/cli/start/command.js +24 -0
  115. package/dist/commonjs/mcp-server/cli/start/command.js.map +1 -1
  116. package/dist/commonjs/mcp-server/cli/start/impl.d.ts +3 -0
  117. package/dist/commonjs/mcp-server/cli/start/impl.d.ts.map +1 -1
  118. package/dist/commonjs/mcp-server/cli/start/impl.js +6 -0
  119. package/dist/commonjs/mcp-server/cli/start/impl.js.map +1 -1
  120. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  121. package/dist/commonjs/mcp-server/server.d.ts +3 -0
  122. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  123. package/dist/commonjs/mcp-server/server.js +4 -1
  124. package/dist/commonjs/mcp-server/server.js.map +1 -1
  125. package/dist/commonjs/models/methodresponse.d.ts +12 -0
  126. package/dist/commonjs/models/methodresponse.d.ts.map +1 -1
  127. package/dist/commonjs/models/methodresponse.js +12 -0
  128. package/dist/commonjs/models/methodresponse.js.map +1 -1
  129. package/dist/commonjs/models/operations/cancelrefund.d.ts +36 -2
  130. package/dist/commonjs/models/operations/cancelrefund.d.ts.map +1 -1
  131. package/dist/commonjs/models/operations/cancelrefund.js +30 -3
  132. package/dist/commonjs/models/operations/cancelrefund.js.map +1 -1
  133. package/dist/commonjs/models/operations/getbalance.d.ts +36 -2
  134. package/dist/commonjs/models/operations/getbalance.d.ts.map +1 -1
  135. package/dist/commonjs/models/operations/getbalance.js +30 -3
  136. package/dist/commonjs/models/operations/getbalance.js.map +1 -1
  137. package/dist/commonjs/models/operations/getbalancereport.d.ts +36 -2
  138. package/dist/commonjs/models/operations/getbalancereport.d.ts.map +1 -1
  139. package/dist/commonjs/models/operations/getbalancereport.js +30 -3
  140. package/dist/commonjs/models/operations/getbalancereport.js.map +1 -1
  141. package/dist/commonjs/models/operations/getcapture.d.ts +36 -2
  142. package/dist/commonjs/models/operations/getcapture.d.ts.map +1 -1
  143. package/dist/commonjs/models/operations/getcapture.js +30 -3
  144. package/dist/commonjs/models/operations/getcapture.js.map +1 -1
  145. package/dist/commonjs/models/operations/getchargeback.d.ts +36 -2
  146. package/dist/commonjs/models/operations/getchargeback.d.ts.map +1 -1
  147. package/dist/commonjs/models/operations/getchargeback.js +30 -3
  148. package/dist/commonjs/models/operations/getchargeback.js.map +1 -1
  149. package/dist/commonjs/models/operations/getconnectbalancetransfer.d.ts +36 -2
  150. package/dist/commonjs/models/operations/getconnectbalancetransfer.d.ts.map +1 -1
  151. package/dist/commonjs/models/operations/getconnectbalancetransfer.js +30 -3
  152. package/dist/commonjs/models/operations/getconnectbalancetransfer.js.map +1 -1
  153. package/dist/commonjs/models/operations/getcustomer.d.ts +36 -2
  154. package/dist/commonjs/models/operations/getcustomer.d.ts.map +1 -1
  155. package/dist/commonjs/models/operations/getcustomer.js +30 -3
  156. package/dist/commonjs/models/operations/getcustomer.js.map +1 -1
  157. package/dist/commonjs/models/operations/getmandate.d.ts +36 -2
  158. package/dist/commonjs/models/operations/getmandate.d.ts.map +1 -1
  159. package/dist/commonjs/models/operations/getmandate.js +30 -3
  160. package/dist/commonjs/models/operations/getmandate.js.map +1 -1
  161. package/dist/commonjs/models/operations/getmethod.d.ts +47 -2
  162. package/dist/commonjs/models/operations/getmethod.d.ts.map +1 -1
  163. package/dist/commonjs/models/operations/getmethod.js +32 -3
  164. package/dist/commonjs/models/operations/getmethod.js.map +1 -1
  165. package/dist/commonjs/models/operations/getorganization.d.ts +36 -2
  166. package/dist/commonjs/models/operations/getorganization.d.ts.map +1 -1
  167. package/dist/commonjs/models/operations/getorganization.js +30 -3
  168. package/dist/commonjs/models/operations/getorganization.js.map +1 -1
  169. package/dist/commonjs/models/operations/getpayment.d.ts +36 -2
  170. package/dist/commonjs/models/operations/getpayment.d.ts.map +1 -1
  171. package/dist/commonjs/models/operations/getpayment.js +30 -3
  172. package/dist/commonjs/models/operations/getpayment.js.map +1 -1
  173. package/dist/commonjs/models/operations/getpaymentlink.d.ts +36 -2
  174. package/dist/commonjs/models/operations/getpaymentlink.d.ts.map +1 -1
  175. package/dist/commonjs/models/operations/getpaymentlink.js +30 -3
  176. package/dist/commonjs/models/operations/getpaymentlink.js.map +1 -1
  177. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +36 -2
  178. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  179. package/dist/commonjs/models/operations/getpaymentlinkpayments.js +30 -3
  180. package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
  181. package/dist/commonjs/models/operations/getpermission.d.ts +36 -2
  182. package/dist/commonjs/models/operations/getpermission.d.ts.map +1 -1
  183. package/dist/commonjs/models/operations/getpermission.js +30 -3
  184. package/dist/commonjs/models/operations/getpermission.js.map +1 -1
  185. package/dist/commonjs/models/operations/getprofile.d.ts +36 -2
  186. package/dist/commonjs/models/operations/getprofile.d.ts.map +1 -1
  187. package/dist/commonjs/models/operations/getprofile.js +30 -3
  188. package/dist/commonjs/models/operations/getprofile.js.map +1 -1
  189. package/dist/commonjs/models/operations/getrefund.d.ts +36 -2
  190. package/dist/commonjs/models/operations/getrefund.d.ts.map +1 -1
  191. package/dist/commonjs/models/operations/getrefund.js +30 -3
  192. package/dist/commonjs/models/operations/getrefund.js.map +1 -1
  193. package/dist/commonjs/models/operations/getsalesinvoice.d.ts +36 -2
  194. package/dist/commonjs/models/operations/getsalesinvoice.d.ts.map +1 -1
  195. package/dist/commonjs/models/operations/getsalesinvoice.js +30 -3
  196. package/dist/commonjs/models/operations/getsalesinvoice.js.map +1 -1
  197. package/dist/commonjs/models/operations/getsubscription.d.ts +36 -2
  198. package/dist/commonjs/models/operations/getsubscription.d.ts.map +1 -1
  199. package/dist/commonjs/models/operations/getsubscription.js +30 -3
  200. package/dist/commonjs/models/operations/getsubscription.js.map +1 -1
  201. package/dist/commonjs/models/operations/getterminal.d.ts +36 -2
  202. package/dist/commonjs/models/operations/getterminal.d.ts.map +1 -1
  203. package/dist/commonjs/models/operations/getterminal.js +30 -3
  204. package/dist/commonjs/models/operations/getterminal.js.map +1 -1
  205. package/dist/commonjs/models/operations/getwebhook.d.ts +36 -2
  206. package/dist/commonjs/models/operations/getwebhook.d.ts.map +1 -1
  207. package/dist/commonjs/models/operations/getwebhook.js +30 -3
  208. package/dist/commonjs/models/operations/getwebhook.js.map +1 -1
  209. package/dist/commonjs/models/operations/getwebhookevent.d.ts +36 -2
  210. package/dist/commonjs/models/operations/getwebhookevent.d.ts.map +1 -1
  211. package/dist/commonjs/models/operations/getwebhookevent.js +30 -3
  212. package/dist/commonjs/models/operations/getwebhookevent.js.map +1 -1
  213. package/dist/commonjs/models/operations/listallchargebacks.d.ts +47 -2
  214. package/dist/commonjs/models/operations/listallchargebacks.d.ts.map +1 -1
  215. package/dist/commonjs/models/operations/listallchargebacks.js +32 -3
  216. package/dist/commonjs/models/operations/listallchargebacks.js.map +1 -1
  217. package/dist/commonjs/models/operations/listallmethods.d.ts +47 -2
  218. package/dist/commonjs/models/operations/listallmethods.d.ts.map +1 -1
  219. package/dist/commonjs/models/operations/listallmethods.js +32 -3
  220. package/dist/commonjs/models/operations/listallmethods.js.map +1 -1
  221. package/dist/commonjs/models/operations/listallrefunds.d.ts +47 -2
  222. package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
  223. package/dist/commonjs/models/operations/listallrefunds.js +32 -3
  224. package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
  225. package/dist/commonjs/models/operations/listallsubscriptions.d.ts +47 -2
  226. package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
  227. package/dist/commonjs/models/operations/listallsubscriptions.js +32 -3
  228. package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
  229. package/dist/commonjs/models/operations/listbalances.d.ts +36 -2
  230. package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
  231. package/dist/commonjs/models/operations/listbalances.js +30 -3
  232. package/dist/commonjs/models/operations/listbalances.js.map +1 -1
  233. package/dist/commonjs/models/operations/listbalancetransactions.d.ts +36 -2
  234. package/dist/commonjs/models/operations/listbalancetransactions.d.ts.map +1 -1
  235. package/dist/commonjs/models/operations/listbalancetransactions.js +30 -3
  236. package/dist/commonjs/models/operations/listbalancetransactions.js.map +1 -1
  237. package/dist/commonjs/models/operations/listcaptures.d.ts +36 -2
  238. package/dist/commonjs/models/operations/listcaptures.d.ts.map +1 -1
  239. package/dist/commonjs/models/operations/listcaptures.js +30 -3
  240. package/dist/commonjs/models/operations/listcaptures.js.map +1 -1
  241. package/dist/commonjs/models/operations/listchargebacks.d.ts +36 -2
  242. package/dist/commonjs/models/operations/listchargebacks.d.ts.map +1 -1
  243. package/dist/commonjs/models/operations/listchargebacks.js +30 -3
  244. package/dist/commonjs/models/operations/listchargebacks.js.map +1 -1
  245. package/dist/commonjs/models/operations/listconnectbalancetransfers.d.ts +36 -2
  246. package/dist/commonjs/models/operations/listconnectbalancetransfers.d.ts.map +1 -1
  247. package/dist/commonjs/models/operations/listconnectbalancetransfers.js +30 -3
  248. package/dist/commonjs/models/operations/listconnectbalancetransfers.js.map +1 -1
  249. package/dist/commonjs/models/operations/listcustomerpayments.d.ts +47 -2
  250. package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
  251. package/dist/commonjs/models/operations/listcustomerpayments.js +32 -3
  252. package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
  253. package/dist/commonjs/models/operations/listcustomers.d.ts +36 -2
  254. package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
  255. package/dist/commonjs/models/operations/listcustomers.js +30 -3
  256. package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
  257. package/dist/commonjs/models/operations/listmandates.d.ts +36 -2
  258. package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
  259. package/dist/commonjs/models/operations/listmandates.js +30 -3
  260. package/dist/commonjs/models/operations/listmandates.js.map +1 -1
  261. package/dist/commonjs/models/operations/listmethods.d.ts +47 -2
  262. package/dist/commonjs/models/operations/listmethods.d.ts.map +1 -1
  263. package/dist/commonjs/models/operations/listmethods.js +32 -3
  264. package/dist/commonjs/models/operations/listmethods.js.map +1 -1
  265. package/dist/commonjs/models/operations/listpaymentlinks.d.ts +36 -2
  266. package/dist/commonjs/models/operations/listpaymentlinks.d.ts.map +1 -1
  267. package/dist/commonjs/models/operations/listpaymentlinks.js +30 -3
  268. package/dist/commonjs/models/operations/listpaymentlinks.js.map +1 -1
  269. package/dist/commonjs/models/operations/listpayments.d.ts +47 -2
  270. package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
  271. package/dist/commonjs/models/operations/listpayments.js +32 -3
  272. package/dist/commonjs/models/operations/listpayments.js.map +1 -1
  273. package/dist/commonjs/models/operations/listrefunds.d.ts +36 -2
  274. package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
  275. package/dist/commonjs/models/operations/listrefunds.js +30 -3
  276. package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
  277. package/dist/commonjs/models/operations/listsalesinvoices.d.ts +36 -2
  278. package/dist/commonjs/models/operations/listsalesinvoices.d.ts.map +1 -1
  279. package/dist/commonjs/models/operations/listsalesinvoices.js +30 -3
  280. package/dist/commonjs/models/operations/listsalesinvoices.js.map +1 -1
  281. package/dist/commonjs/models/operations/listsettlementcaptures.d.ts +36 -2
  282. package/dist/commonjs/models/operations/listsettlementcaptures.d.ts.map +1 -1
  283. package/dist/commonjs/models/operations/listsettlementcaptures.js +30 -3
  284. package/dist/commonjs/models/operations/listsettlementcaptures.js.map +1 -1
  285. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +36 -2
  286. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  287. package/dist/commonjs/models/operations/listsettlementchargebacks.js +30 -3
  288. package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
  289. package/dist/commonjs/models/operations/listsettlementpayments.d.ts +47 -2
  290. package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
  291. package/dist/commonjs/models/operations/listsettlementpayments.js +32 -3
  292. package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
  293. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +36 -2
  294. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
  295. package/dist/commonjs/models/operations/listsettlementrefunds.js +30 -3
  296. package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
  297. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +47 -2
  298. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  299. package/dist/commonjs/models/operations/listsubscriptionpayments.js +32 -3
  300. package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
  301. package/dist/commonjs/models/operations/listsubscriptions.d.ts +36 -2
  302. package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
  303. package/dist/commonjs/models/operations/listsubscriptions.js +30 -3
  304. package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
  305. package/dist/commonjs/models/operations/listterminals.d.ts +36 -2
  306. package/dist/commonjs/models/operations/listterminals.d.ts.map +1 -1
  307. package/dist/commonjs/models/operations/listterminals.js +30 -3
  308. package/dist/commonjs/models/operations/listterminals.js.map +1 -1
  309. package/dist/commonjs/models/operations/listwebhooks.d.ts +36 -2
  310. package/dist/commonjs/models/operations/listwebhooks.d.ts.map +1 -1
  311. package/dist/commonjs/models/operations/listwebhooks.js +30 -3
  312. package/dist/commonjs/models/operations/listwebhooks.js.map +1 -1
  313. package/dist/commonjs/models/operations/paymentlistroutes.d.ts +36 -2
  314. package/dist/commonjs/models/operations/paymentlistroutes.d.ts.map +1 -1
  315. package/dist/commonjs/models/operations/paymentlistroutes.js +30 -3
  316. package/dist/commonjs/models/operations/paymentlistroutes.js.map +1 -1
  317. package/dist/esm/funcs/balanceTransfersGet.js +1 -1
  318. package/dist/esm/funcs/balanceTransfersGet.js.map +1 -1
  319. package/dist/esm/funcs/balanceTransfersList.js +1 -1
  320. package/dist/esm/funcs/balanceTransfersList.js.map +1 -1
  321. package/dist/esm/funcs/balancesGet.js +1 -1
  322. package/dist/esm/funcs/balancesGet.js.map +1 -1
  323. package/dist/esm/funcs/balancesGetReport.js +1 -1
  324. package/dist/esm/funcs/balancesGetReport.js.map +1 -1
  325. package/dist/esm/funcs/balancesList.js +1 -1
  326. package/dist/esm/funcs/balancesList.js.map +1 -1
  327. package/dist/esm/funcs/balancesListTransactions.js +1 -1
  328. package/dist/esm/funcs/balancesListTransactions.js.map +1 -1
  329. package/dist/esm/funcs/capturesGet.js +1 -1
  330. package/dist/esm/funcs/capturesGet.js.map +1 -1
  331. package/dist/esm/funcs/capturesList.js +1 -1
  332. package/dist/esm/funcs/capturesList.js.map +1 -1
  333. package/dist/esm/funcs/chargebacksAll.js +2 -2
  334. package/dist/esm/funcs/chargebacksAll.js.map +1 -1
  335. package/dist/esm/funcs/chargebacksGet.js +1 -1
  336. package/dist/esm/funcs/chargebacksGet.js.map +1 -1
  337. package/dist/esm/funcs/chargebacksList.js +1 -1
  338. package/dist/esm/funcs/chargebacksList.js.map +1 -1
  339. package/dist/esm/funcs/customersGet.js +1 -1
  340. package/dist/esm/funcs/customersGet.js.map +1 -1
  341. package/dist/esm/funcs/customersList.js +1 -1
  342. package/dist/esm/funcs/customersList.js.map +1 -1
  343. package/dist/esm/funcs/customersListPayments.js +2 -2
  344. package/dist/esm/funcs/customersListPayments.js.map +1 -1
  345. package/dist/esm/funcs/delayedRoutingList.js +1 -1
  346. package/dist/esm/funcs/delayedRoutingList.js.map +1 -1
  347. package/dist/esm/funcs/mandatesGet.js +1 -1
  348. package/dist/esm/funcs/mandatesGet.js.map +1 -1
  349. package/dist/esm/funcs/mandatesList.js +1 -1
  350. package/dist/esm/funcs/mandatesList.js.map +1 -1
  351. package/dist/esm/funcs/methodsAll.js +2 -2
  352. package/dist/esm/funcs/methodsAll.js.map +1 -1
  353. package/dist/esm/funcs/methodsGet.js +2 -2
  354. package/dist/esm/funcs/methodsGet.js.map +1 -1
  355. package/dist/esm/funcs/methodsList.js +2 -2
  356. package/dist/esm/funcs/methodsList.js.map +1 -1
  357. package/dist/esm/funcs/organizationsGet.js +1 -1
  358. package/dist/esm/funcs/organizationsGet.js.map +1 -1
  359. package/dist/esm/funcs/paymentLinksGet.js +1 -1
  360. package/dist/esm/funcs/paymentLinksGet.js.map +1 -1
  361. package/dist/esm/funcs/paymentLinksList.js +1 -1
  362. package/dist/esm/funcs/paymentLinksList.js.map +1 -1
  363. package/dist/esm/funcs/paymentLinksListPayments.js +1 -1
  364. package/dist/esm/funcs/paymentLinksListPayments.js.map +1 -1
  365. package/dist/esm/funcs/paymentsGet.js +1 -1
  366. package/dist/esm/funcs/paymentsGet.js.map +1 -1
  367. package/dist/esm/funcs/paymentsList.js +2 -2
  368. package/dist/esm/funcs/paymentsList.js.map +1 -1
  369. package/dist/esm/funcs/permissionsGet.js +1 -1
  370. package/dist/esm/funcs/permissionsGet.js.map +1 -1
  371. package/dist/esm/funcs/profilesGet.js +1 -1
  372. package/dist/esm/funcs/profilesGet.js.map +1 -1
  373. package/dist/esm/funcs/refundsAll.js +2 -2
  374. package/dist/esm/funcs/refundsAll.js.map +1 -1
  375. package/dist/esm/funcs/refundsCancel.js +1 -1
  376. package/dist/esm/funcs/refundsCancel.js.map +1 -1
  377. package/dist/esm/funcs/refundsGet.js +1 -1
  378. package/dist/esm/funcs/refundsGet.js.map +1 -1
  379. package/dist/esm/funcs/refundsList.js +1 -1
  380. package/dist/esm/funcs/refundsList.js.map +1 -1
  381. package/dist/esm/funcs/salesInvoicesGet.js +1 -1
  382. package/dist/esm/funcs/salesInvoicesGet.js.map +1 -1
  383. package/dist/esm/funcs/salesInvoicesList.js +1 -1
  384. package/dist/esm/funcs/salesInvoicesList.js.map +1 -1
  385. package/dist/esm/funcs/settlementsListCaptures.js +1 -1
  386. package/dist/esm/funcs/settlementsListCaptures.js.map +1 -1
  387. package/dist/esm/funcs/settlementsListChargebacks.js +1 -1
  388. package/dist/esm/funcs/settlementsListChargebacks.js.map +1 -1
  389. package/dist/esm/funcs/settlementsListPayments.js +2 -2
  390. package/dist/esm/funcs/settlementsListPayments.js.map +1 -1
  391. package/dist/esm/funcs/settlementsListRefunds.js +1 -1
  392. package/dist/esm/funcs/settlementsListRefunds.js.map +1 -1
  393. package/dist/esm/funcs/subscriptionsAll.js +2 -2
  394. package/dist/esm/funcs/subscriptionsAll.js.map +1 -1
  395. package/dist/esm/funcs/subscriptionsGet.js +1 -1
  396. package/dist/esm/funcs/subscriptionsGet.js.map +1 -1
  397. package/dist/esm/funcs/subscriptionsList.js +1 -1
  398. package/dist/esm/funcs/subscriptionsList.js.map +1 -1
  399. package/dist/esm/funcs/subscriptionsListPayments.js +2 -2
  400. package/dist/esm/funcs/subscriptionsListPayments.js.map +1 -1
  401. package/dist/esm/funcs/terminalsGet.js +1 -1
  402. package/dist/esm/funcs/terminalsGet.js.map +1 -1
  403. package/dist/esm/funcs/terminalsList.js +1 -1
  404. package/dist/esm/funcs/terminalsList.js.map +1 -1
  405. package/dist/esm/funcs/webhookEventsGet.js +1 -1
  406. package/dist/esm/funcs/webhookEventsGet.js.map +1 -1
  407. package/dist/esm/funcs/webhooksGet.js +1 -1
  408. package/dist/esm/funcs/webhooksGet.js.map +1 -1
  409. package/dist/esm/funcs/webhooksList.js +1 -1
  410. package/dist/esm/funcs/webhooksList.js.map +1 -1
  411. package/dist/esm/hooks/mollie-hooks.d.ts +5 -1
  412. package/dist/esm/hooks/mollie-hooks.d.ts.map +1 -1
  413. package/dist/esm/hooks/mollie-hooks.js +111 -3
  414. package/dist/esm/hooks/mollie-hooks.js.map +1 -1
  415. package/dist/esm/lib/config.d.ts +15 -3
  416. package/dist/esm/lib/config.d.ts.map +1 -1
  417. package/dist/esm/lib/config.js +3 -3
  418. package/dist/esm/lib/config.js.map +1 -1
  419. package/dist/esm/lib/env.d.ts +17 -0
  420. package/dist/esm/lib/env.d.ts.map +1 -1
  421. package/dist/esm/lib/env.js +21 -0
  422. package/dist/esm/lib/env.js.map +1 -1
  423. package/dist/esm/lib/sdks.js +2 -2
  424. package/dist/esm/lib/sdks.js.map +1 -1
  425. package/dist/esm/mcp-server/cli/start/command.d.ts.map +1 -1
  426. package/dist/esm/mcp-server/cli/start/command.js +24 -0
  427. package/dist/esm/mcp-server/cli/start/command.js.map +1 -1
  428. package/dist/esm/mcp-server/cli/start/impl.d.ts +3 -0
  429. package/dist/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
  430. package/dist/esm/mcp-server/cli/start/impl.js +6 -0
  431. package/dist/esm/mcp-server/cli/start/impl.js.map +1 -1
  432. package/dist/esm/mcp-server/mcp-server.js +1 -1
  433. package/dist/esm/mcp-server/server.d.ts +3 -0
  434. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  435. package/dist/esm/mcp-server/server.js +4 -1
  436. package/dist/esm/mcp-server/server.js.map +1 -1
  437. package/dist/esm/models/methodresponse.d.ts +12 -0
  438. package/dist/esm/models/methodresponse.d.ts.map +1 -1
  439. package/dist/esm/models/methodresponse.js +12 -0
  440. package/dist/esm/models/methodresponse.js.map +1 -1
  441. package/dist/esm/models/operations/cancelrefund.d.ts +36 -2
  442. package/dist/esm/models/operations/cancelrefund.d.ts.map +1 -1
  443. package/dist/esm/models/operations/cancelrefund.js +27 -2
  444. package/dist/esm/models/operations/cancelrefund.js.map +1 -1
  445. package/dist/esm/models/operations/getbalance.d.ts +36 -2
  446. package/dist/esm/models/operations/getbalance.d.ts.map +1 -1
  447. package/dist/esm/models/operations/getbalance.js +27 -2
  448. package/dist/esm/models/operations/getbalance.js.map +1 -1
  449. package/dist/esm/models/operations/getbalancereport.d.ts +36 -2
  450. package/dist/esm/models/operations/getbalancereport.d.ts.map +1 -1
  451. package/dist/esm/models/operations/getbalancereport.js +27 -2
  452. package/dist/esm/models/operations/getbalancereport.js.map +1 -1
  453. package/dist/esm/models/operations/getcapture.d.ts +36 -2
  454. package/dist/esm/models/operations/getcapture.d.ts.map +1 -1
  455. package/dist/esm/models/operations/getcapture.js +27 -2
  456. package/dist/esm/models/operations/getcapture.js.map +1 -1
  457. package/dist/esm/models/operations/getchargeback.d.ts +36 -2
  458. package/dist/esm/models/operations/getchargeback.d.ts.map +1 -1
  459. package/dist/esm/models/operations/getchargeback.js +27 -2
  460. package/dist/esm/models/operations/getchargeback.js.map +1 -1
  461. package/dist/esm/models/operations/getconnectbalancetransfer.d.ts +36 -2
  462. package/dist/esm/models/operations/getconnectbalancetransfer.d.ts.map +1 -1
  463. package/dist/esm/models/operations/getconnectbalancetransfer.js +27 -2
  464. package/dist/esm/models/operations/getconnectbalancetransfer.js.map +1 -1
  465. package/dist/esm/models/operations/getcustomer.d.ts +36 -2
  466. package/dist/esm/models/operations/getcustomer.d.ts.map +1 -1
  467. package/dist/esm/models/operations/getcustomer.js +27 -2
  468. package/dist/esm/models/operations/getcustomer.js.map +1 -1
  469. package/dist/esm/models/operations/getmandate.d.ts +36 -2
  470. package/dist/esm/models/operations/getmandate.d.ts.map +1 -1
  471. package/dist/esm/models/operations/getmandate.js +27 -2
  472. package/dist/esm/models/operations/getmandate.js.map +1 -1
  473. package/dist/esm/models/operations/getmethod.d.ts +47 -2
  474. package/dist/esm/models/operations/getmethod.d.ts.map +1 -1
  475. package/dist/esm/models/operations/getmethod.js +29 -2
  476. package/dist/esm/models/operations/getmethod.js.map +1 -1
  477. package/dist/esm/models/operations/getorganization.d.ts +36 -2
  478. package/dist/esm/models/operations/getorganization.d.ts.map +1 -1
  479. package/dist/esm/models/operations/getorganization.js +27 -2
  480. package/dist/esm/models/operations/getorganization.js.map +1 -1
  481. package/dist/esm/models/operations/getpayment.d.ts +36 -2
  482. package/dist/esm/models/operations/getpayment.d.ts.map +1 -1
  483. package/dist/esm/models/operations/getpayment.js +27 -2
  484. package/dist/esm/models/operations/getpayment.js.map +1 -1
  485. package/dist/esm/models/operations/getpaymentlink.d.ts +36 -2
  486. package/dist/esm/models/operations/getpaymentlink.d.ts.map +1 -1
  487. package/dist/esm/models/operations/getpaymentlink.js +27 -2
  488. package/dist/esm/models/operations/getpaymentlink.js.map +1 -1
  489. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +36 -2
  490. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  491. package/dist/esm/models/operations/getpaymentlinkpayments.js +27 -2
  492. package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
  493. package/dist/esm/models/operations/getpermission.d.ts +36 -2
  494. package/dist/esm/models/operations/getpermission.d.ts.map +1 -1
  495. package/dist/esm/models/operations/getpermission.js +27 -2
  496. package/dist/esm/models/operations/getpermission.js.map +1 -1
  497. package/dist/esm/models/operations/getprofile.d.ts +36 -2
  498. package/dist/esm/models/operations/getprofile.d.ts.map +1 -1
  499. package/dist/esm/models/operations/getprofile.js +27 -2
  500. package/dist/esm/models/operations/getprofile.js.map +1 -1
  501. package/dist/esm/models/operations/getrefund.d.ts +36 -2
  502. package/dist/esm/models/operations/getrefund.d.ts.map +1 -1
  503. package/dist/esm/models/operations/getrefund.js +27 -2
  504. package/dist/esm/models/operations/getrefund.js.map +1 -1
  505. package/dist/esm/models/operations/getsalesinvoice.d.ts +36 -2
  506. package/dist/esm/models/operations/getsalesinvoice.d.ts.map +1 -1
  507. package/dist/esm/models/operations/getsalesinvoice.js +27 -2
  508. package/dist/esm/models/operations/getsalesinvoice.js.map +1 -1
  509. package/dist/esm/models/operations/getsubscription.d.ts +36 -2
  510. package/dist/esm/models/operations/getsubscription.d.ts.map +1 -1
  511. package/dist/esm/models/operations/getsubscription.js +27 -2
  512. package/dist/esm/models/operations/getsubscription.js.map +1 -1
  513. package/dist/esm/models/operations/getterminal.d.ts +36 -2
  514. package/dist/esm/models/operations/getterminal.d.ts.map +1 -1
  515. package/dist/esm/models/operations/getterminal.js +27 -2
  516. package/dist/esm/models/operations/getterminal.js.map +1 -1
  517. package/dist/esm/models/operations/getwebhook.d.ts +36 -2
  518. package/dist/esm/models/operations/getwebhook.d.ts.map +1 -1
  519. package/dist/esm/models/operations/getwebhook.js +27 -2
  520. package/dist/esm/models/operations/getwebhook.js.map +1 -1
  521. package/dist/esm/models/operations/getwebhookevent.d.ts +36 -2
  522. package/dist/esm/models/operations/getwebhookevent.d.ts.map +1 -1
  523. package/dist/esm/models/operations/getwebhookevent.js +27 -2
  524. package/dist/esm/models/operations/getwebhookevent.js.map +1 -1
  525. package/dist/esm/models/operations/listallchargebacks.d.ts +47 -2
  526. package/dist/esm/models/operations/listallchargebacks.d.ts.map +1 -1
  527. package/dist/esm/models/operations/listallchargebacks.js +29 -2
  528. package/dist/esm/models/operations/listallchargebacks.js.map +1 -1
  529. package/dist/esm/models/operations/listallmethods.d.ts +47 -2
  530. package/dist/esm/models/operations/listallmethods.d.ts.map +1 -1
  531. package/dist/esm/models/operations/listallmethods.js +29 -2
  532. package/dist/esm/models/operations/listallmethods.js.map +1 -1
  533. package/dist/esm/models/operations/listallrefunds.d.ts +47 -2
  534. package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
  535. package/dist/esm/models/operations/listallrefunds.js +29 -2
  536. package/dist/esm/models/operations/listallrefunds.js.map +1 -1
  537. package/dist/esm/models/operations/listallsubscriptions.d.ts +47 -2
  538. package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
  539. package/dist/esm/models/operations/listallsubscriptions.js +29 -2
  540. package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
  541. package/dist/esm/models/operations/listbalances.d.ts +36 -2
  542. package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
  543. package/dist/esm/models/operations/listbalances.js +27 -2
  544. package/dist/esm/models/operations/listbalances.js.map +1 -1
  545. package/dist/esm/models/operations/listbalancetransactions.d.ts +36 -2
  546. package/dist/esm/models/operations/listbalancetransactions.d.ts.map +1 -1
  547. package/dist/esm/models/operations/listbalancetransactions.js +27 -2
  548. package/dist/esm/models/operations/listbalancetransactions.js.map +1 -1
  549. package/dist/esm/models/operations/listcaptures.d.ts +36 -2
  550. package/dist/esm/models/operations/listcaptures.d.ts.map +1 -1
  551. package/dist/esm/models/operations/listcaptures.js +27 -2
  552. package/dist/esm/models/operations/listcaptures.js.map +1 -1
  553. package/dist/esm/models/operations/listchargebacks.d.ts +36 -2
  554. package/dist/esm/models/operations/listchargebacks.d.ts.map +1 -1
  555. package/dist/esm/models/operations/listchargebacks.js +27 -2
  556. package/dist/esm/models/operations/listchargebacks.js.map +1 -1
  557. package/dist/esm/models/operations/listconnectbalancetransfers.d.ts +36 -2
  558. package/dist/esm/models/operations/listconnectbalancetransfers.d.ts.map +1 -1
  559. package/dist/esm/models/operations/listconnectbalancetransfers.js +27 -2
  560. package/dist/esm/models/operations/listconnectbalancetransfers.js.map +1 -1
  561. package/dist/esm/models/operations/listcustomerpayments.d.ts +47 -2
  562. package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
  563. package/dist/esm/models/operations/listcustomerpayments.js +29 -2
  564. package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
  565. package/dist/esm/models/operations/listcustomers.d.ts +36 -2
  566. package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
  567. package/dist/esm/models/operations/listcustomers.js +27 -2
  568. package/dist/esm/models/operations/listcustomers.js.map +1 -1
  569. package/dist/esm/models/operations/listmandates.d.ts +36 -2
  570. package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
  571. package/dist/esm/models/operations/listmandates.js +27 -2
  572. package/dist/esm/models/operations/listmandates.js.map +1 -1
  573. package/dist/esm/models/operations/listmethods.d.ts +47 -2
  574. package/dist/esm/models/operations/listmethods.d.ts.map +1 -1
  575. package/dist/esm/models/operations/listmethods.js +29 -2
  576. package/dist/esm/models/operations/listmethods.js.map +1 -1
  577. package/dist/esm/models/operations/listpaymentlinks.d.ts +36 -2
  578. package/dist/esm/models/operations/listpaymentlinks.d.ts.map +1 -1
  579. package/dist/esm/models/operations/listpaymentlinks.js +27 -2
  580. package/dist/esm/models/operations/listpaymentlinks.js.map +1 -1
  581. package/dist/esm/models/operations/listpayments.d.ts +47 -2
  582. package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
  583. package/dist/esm/models/operations/listpayments.js +29 -2
  584. package/dist/esm/models/operations/listpayments.js.map +1 -1
  585. package/dist/esm/models/operations/listrefunds.d.ts +36 -2
  586. package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
  587. package/dist/esm/models/operations/listrefunds.js +27 -2
  588. package/dist/esm/models/operations/listrefunds.js.map +1 -1
  589. package/dist/esm/models/operations/listsalesinvoices.d.ts +36 -2
  590. package/dist/esm/models/operations/listsalesinvoices.d.ts.map +1 -1
  591. package/dist/esm/models/operations/listsalesinvoices.js +27 -2
  592. package/dist/esm/models/operations/listsalesinvoices.js.map +1 -1
  593. package/dist/esm/models/operations/listsettlementcaptures.d.ts +36 -2
  594. package/dist/esm/models/operations/listsettlementcaptures.d.ts.map +1 -1
  595. package/dist/esm/models/operations/listsettlementcaptures.js +27 -2
  596. package/dist/esm/models/operations/listsettlementcaptures.js.map +1 -1
  597. package/dist/esm/models/operations/listsettlementchargebacks.d.ts +36 -2
  598. package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  599. package/dist/esm/models/operations/listsettlementchargebacks.js +27 -2
  600. package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
  601. package/dist/esm/models/operations/listsettlementpayments.d.ts +47 -2
  602. package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
  603. package/dist/esm/models/operations/listsettlementpayments.js +29 -2
  604. package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
  605. package/dist/esm/models/operations/listsettlementrefunds.d.ts +36 -2
  606. package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
  607. package/dist/esm/models/operations/listsettlementrefunds.js +27 -2
  608. package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
  609. package/dist/esm/models/operations/listsubscriptionpayments.d.ts +47 -2
  610. package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  611. package/dist/esm/models/operations/listsubscriptionpayments.js +29 -2
  612. package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
  613. package/dist/esm/models/operations/listsubscriptions.d.ts +36 -2
  614. package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
  615. package/dist/esm/models/operations/listsubscriptions.js +27 -2
  616. package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
  617. package/dist/esm/models/operations/listterminals.d.ts +36 -2
  618. package/dist/esm/models/operations/listterminals.d.ts.map +1 -1
  619. package/dist/esm/models/operations/listterminals.js +27 -2
  620. package/dist/esm/models/operations/listterminals.js.map +1 -1
  621. package/dist/esm/models/operations/listwebhooks.d.ts +36 -2
  622. package/dist/esm/models/operations/listwebhooks.d.ts.map +1 -1
  623. package/dist/esm/models/operations/listwebhooks.js +27 -2
  624. package/dist/esm/models/operations/listwebhooks.js.map +1 -1
  625. package/dist/esm/models/operations/paymentlistroutes.d.ts +36 -2
  626. package/dist/esm/models/operations/paymentlistroutes.d.ts.map +1 -1
  627. package/dist/esm/models/operations/paymentlistroutes.js +27 -2
  628. package/dist/esm/models/operations/paymentlistroutes.js.map +1 -1
  629. package/docs/sdks/balances/README.md +8 -8
  630. package/docs/sdks/balancetransfers/README.md +4 -4
  631. package/docs/sdks/captures/README.md +4 -4
  632. package/docs/sdks/chargebacks/README.md +8 -8
  633. package/docs/sdks/customers/README.md +8 -8
  634. package/docs/sdks/delayedrouting/README.md +2 -2
  635. package/docs/sdks/mandates/README.md +4 -4
  636. package/docs/sdks/methods/README.md +12 -12
  637. package/docs/sdks/organizations/README.md +2 -2
  638. package/docs/sdks/paymentlinks/README.md +6 -6
  639. package/docs/sdks/payments/README.md +6 -6
  640. package/docs/sdks/permissions/README.md +2 -2
  641. package/docs/sdks/profiles/README.md +2 -2
  642. package/docs/sdks/refunds/README.md +10 -10
  643. package/docs/sdks/salesinvoices/README.md +4 -4
  644. package/docs/sdks/settlements/README.md +10 -10
  645. package/docs/sdks/subscriptions/README.md +12 -12
  646. package/docs/sdks/terminals/README.md +4 -4
  647. package/docs/sdks/webhookevents/README.md +2 -2
  648. package/docs/sdks/webhooks/README.md +4 -4
  649. package/examples/balancesList.example.ts +1 -1
  650. package/examples/package-lock.json +1 -1
  651. package/jsr.json +1 -1
  652. package/package.json +1 -1
  653. package/src/funcs/balanceTransfersGet.ts +1 -1
  654. package/src/funcs/balanceTransfersList.ts +1 -1
  655. package/src/funcs/balancesGet.ts +1 -1
  656. package/src/funcs/balancesGetReport.ts +1 -1
  657. package/src/funcs/balancesList.ts +1 -1
  658. package/src/funcs/balancesListTransactions.ts +1 -1
  659. package/src/funcs/capturesGet.ts +1 -1
  660. package/src/funcs/capturesList.ts +1 -1
  661. package/src/funcs/chargebacksAll.ts +2 -2
  662. package/src/funcs/chargebacksGet.ts +1 -1
  663. package/src/funcs/chargebacksList.ts +1 -1
  664. package/src/funcs/customersGet.ts +1 -1
  665. package/src/funcs/customersList.ts +1 -1
  666. package/src/funcs/customersListPayments.ts +2 -2
  667. package/src/funcs/delayedRoutingList.ts +1 -1
  668. package/src/funcs/mandatesGet.ts +1 -1
  669. package/src/funcs/mandatesList.ts +1 -1
  670. package/src/funcs/methodsAll.ts +2 -2
  671. package/src/funcs/methodsGet.ts +2 -2
  672. package/src/funcs/methodsList.ts +2 -2
  673. package/src/funcs/organizationsGet.ts +1 -1
  674. package/src/funcs/paymentLinksGet.ts +1 -1
  675. package/src/funcs/paymentLinksList.ts +1 -1
  676. package/src/funcs/paymentLinksListPayments.ts +1 -1
  677. package/src/funcs/paymentsGet.ts +1 -1
  678. package/src/funcs/paymentsList.ts +2 -2
  679. package/src/funcs/permissionsGet.ts +1 -1
  680. package/src/funcs/profilesGet.ts +1 -1
  681. package/src/funcs/refundsAll.ts +2 -2
  682. package/src/funcs/refundsCancel.ts +1 -1
  683. package/src/funcs/refundsGet.ts +1 -1
  684. package/src/funcs/refundsList.ts +1 -1
  685. package/src/funcs/salesInvoicesGet.ts +1 -1
  686. package/src/funcs/salesInvoicesList.ts +1 -1
  687. package/src/funcs/settlementsListCaptures.ts +1 -1
  688. package/src/funcs/settlementsListChargebacks.ts +1 -1
  689. package/src/funcs/settlementsListPayments.ts +2 -2
  690. package/src/funcs/settlementsListRefunds.ts +1 -1
  691. package/src/funcs/subscriptionsAll.ts +2 -2
  692. package/src/funcs/subscriptionsGet.ts +1 -1
  693. package/src/funcs/subscriptionsList.ts +1 -1
  694. package/src/funcs/subscriptionsListPayments.ts +2 -2
  695. package/src/funcs/terminalsGet.ts +1 -1
  696. package/src/funcs/terminalsList.ts +1 -1
  697. package/src/funcs/webhookEventsGet.ts +1 -1
  698. package/src/funcs/webhooksGet.ts +1 -1
  699. package/src/funcs/webhooksList.ts +1 -1
  700. package/src/hooks/mollie-hooks.ts +138 -4
  701. package/src/lib/config.ts +18 -3
  702. package/src/lib/env.ts +42 -0
  703. package/src/lib/sdks.ts +2 -2
  704. package/src/mcp-server/cli/start/command.ts +29 -0
  705. package/src/mcp-server/cli/start/impl.ts +9 -0
  706. package/src/mcp-server/mcp-server.ts +1 -1
  707. package/src/mcp-server/server.ts +7 -1
  708. package/src/models/methodresponse.ts +12 -0
  709. package/src/models/operations/cancelrefund.ts +71 -4
  710. package/src/models/operations/getbalance.ts +71 -4
  711. package/src/models/operations/getbalancereport.ts +71 -4
  712. package/src/models/operations/getcapture.ts +71 -4
  713. package/src/models/operations/getchargeback.ts +71 -4
  714. package/src/models/operations/getconnectbalancetransfer.ts +73 -4
  715. package/src/models/operations/getcustomer.ts +71 -4
  716. package/src/models/operations/getmandate.ts +71 -4
  717. package/src/models/operations/getmethod.ts +84 -4
  718. package/src/models/operations/getorganization.ts +71 -4
  719. package/src/models/operations/getpayment.ts +71 -4
  720. package/src/models/operations/getpaymentlink.ts +71 -4
  721. package/src/models/operations/getpaymentlinkpayments.ts +73 -4
  722. package/src/models/operations/getpermission.ts +71 -4
  723. package/src/models/operations/getprofile.ts +71 -4
  724. package/src/models/operations/getrefund.ts +71 -4
  725. package/src/models/operations/getsalesinvoice.ts +71 -4
  726. package/src/models/operations/getsubscription.ts +71 -4
  727. package/src/models/operations/getterminal.ts +71 -4
  728. package/src/models/operations/getwebhook.ts +71 -4
  729. package/src/models/operations/getwebhookevent.ts +71 -4
  730. package/src/models/operations/listallchargebacks.ts +84 -4
  731. package/src/models/operations/listallmethods.ts +84 -4
  732. package/src/models/operations/listallrefunds.ts +84 -4
  733. package/src/models/operations/listallsubscriptions.ts +86 -4
  734. package/src/models/operations/listbalances.ts +71 -4
  735. package/src/models/operations/listbalancetransactions.ts +73 -4
  736. package/src/models/operations/listcaptures.ts +71 -4
  737. package/src/models/operations/listchargebacks.ts +71 -4
  738. package/src/models/operations/listconnectbalancetransfers.ts +75 -4
  739. package/src/models/operations/listcustomerpayments.ts +86 -4
  740. package/src/models/operations/listcustomers.ts +71 -4
  741. package/src/models/operations/listmandates.ts +71 -4
  742. package/src/models/operations/listmethods.ts +84 -4
  743. package/src/models/operations/listpaymentlinks.ts +71 -4
  744. package/src/models/operations/listpayments.ts +84 -4
  745. package/src/models/operations/listrefunds.ts +71 -4
  746. package/src/models/operations/listsalesinvoices.ts +71 -4
  747. package/src/models/operations/listsettlementcaptures.ts +73 -4
  748. package/src/models/operations/listsettlementchargebacks.ts +73 -4
  749. package/src/models/operations/listsettlementpayments.ts +86 -4
  750. package/src/models/operations/listsettlementrefunds.ts +73 -4
  751. package/src/models/operations/listsubscriptionpayments.ts +86 -4
  752. package/src/models/operations/listsubscriptions.ts +71 -4
  753. package/src/models/operations/listterminals.ts +71 -4
  754. package/src/models/operations/listwebhooks.ts +71 -4
  755. package/src/models/operations/paymentlistroutes.ts +71 -4
package/bin/mcp-server.js CHANGED
@@ -34080,19 +34080,158 @@ var init_mcp = __esm(() => {
34080
34080
  };
34081
34081
  });
34082
34082
 
34083
+ // src/lib/url.ts
34084
+ function pathToFunc(pathPattern, options) {
34085
+ const paramRE = /\{([a-zA-Z0-9_][a-zA-Z0-9_-]*?)\}/g;
34086
+ return function buildURLPath(params = {}) {
34087
+ return pathPattern.replace(paramRE, function(_2, placeholder) {
34088
+ if (!hasOwn.call(params, placeholder)) {
34089
+ throw new Error(`Parameter '${placeholder}' is required`);
34090
+ }
34091
+ const value = params[placeholder];
34092
+ if (typeof value !== "string" && typeof value !== "number") {
34093
+ throw new Error(`Parameter '${placeholder}' must be a string or number`);
34094
+ }
34095
+ return options?.charEncoding === "percent" ? encodeURIComponent(`${value}`) : `${value}`;
34096
+ });
34097
+ };
34098
+ }
34099
+ var hasOwn;
34100
+ var init_url = __esm(() => {
34101
+ hasOwn = Object.prototype.hasOwnProperty;
34102
+ });
34103
+
34104
+ // src/lib/config.ts
34105
+ function serverURLFromOptions(options) {
34106
+ let serverURL = options.serverURL;
34107
+ const params = {};
34108
+ if (!serverURL) {
34109
+ const serverIdx = options.serverIdx ?? 0;
34110
+ if (serverIdx < 0 || serverIdx >= ServerList.length) {
34111
+ throw new Error(`Invalid server index ${serverIdx}`);
34112
+ }
34113
+ serverURL = ServerList[serverIdx] || "";
34114
+ }
34115
+ const u = pathToFunc(serverURL)(params);
34116
+ return new URL(u);
34117
+ }
34118
+ var ServerList, SDK_METADATA;
34119
+ var init_config = __esm(() => {
34120
+ init_url();
34121
+ ServerList = [
34122
+ "https://api.mollie.com/v2"
34123
+ ];
34124
+ SDK_METADATA = {
34125
+ language: "typescript",
34126
+ openapiDocVersion: "1.0.0",
34127
+ sdkVersion: "0.7.0",
34128
+ genVersion: "2.735.1",
34129
+ userAgent: "speakeasy-sdk/typescript 0.7.0 2.735.1 1.0.0 mollie-api-typescript"
34130
+ };
34131
+ });
34132
+
34083
34133
  // src/hooks/mollie-hooks.ts
34084
34134
  class MollieHooks {
34085
- beforeCreateRequest(_2, input) {
34135
+ beforeCreateRequest(hookContext, input) {
34136
+ let headers = new Headers(input.options?.headers);
34137
+ headers = this.handleIdempotencyKey(headers);
34138
+ headers = this.customizeUserAgent(headers, hookContext);
34139
+ input = {
34140
+ ...input,
34141
+ options: {
34142
+ ...input.options,
34143
+ headers
34144
+ }
34145
+ };
34146
+ if (this.isOAuthRequest(headers, hookContext)) {
34147
+ input = this.populateProfileIdAndTestmode(input, hookContext);
34148
+ }
34149
+ return input;
34150
+ }
34151
+ isOAuthRequest(headers, hookContext) {
34152
+ const security = hookContext.options.security;
34153
+ if (typeof security === "function") {
34154
+ return false;
34155
+ }
34156
+ if (security === null) {
34157
+ return false;
34158
+ }
34159
+ const oAuth = security?.oAuth;
34160
+ if (!oAuth) {
34161
+ return false;
34162
+ }
34163
+ return headers.get("Authorization") === `Bearer ${oAuth}`;
34164
+ }
34165
+ handleIdempotencyKey(headers) {
34086
34166
  const idempotencyKey = "Idempotency-Key";
34087
- const headers = new Headers(input.options?.headers);
34088
34167
  if (!headers.has(idempotencyKey) || !headers.get(idempotencyKey)) {
34089
34168
  headers.set(idempotencyKey, this.generateIdempotencyKey());
34090
34169
  }
34170
+ return headers;
34171
+ }
34172
+ customizeUserAgent(headers, hookContext) {
34173
+ const userAgentKey = "User-Agent";
34174
+ const customUserAgent = hookContext.options.customUserAgent;
34175
+ const genVersion = SDK_METADATA.genVersion;
34176
+ const sdkVersion = SDK_METADATA.sdkVersion;
34177
+ const nodeVersion = typeof process !== "undefined" && process.version ? process.version : "unknown";
34178
+ const packageName = SDK_METADATA.userAgent.split(" ").at(-1);
34179
+ let mollieUserAgent = `Speakeasy/${genVersion} TypeScript/${nodeVersion} ${packageName}/${sdkVersion}`;
34180
+ if (customUserAgent) {
34181
+ mollieUserAgent = `${mollieUserAgent} ${customUserAgent}`;
34182
+ }
34183
+ console.log("Setting User-Agent to:", mollieUserAgent);
34184
+ headers.set(userAgentKey, mollieUserAgent);
34185
+ return headers;
34186
+ }
34187
+ populateProfileIdAndTestmode(input, hookContext) {
34188
+ const clientProfileId = hookContext.options.profileId;
34189
+ const clientTestmode = hookContext.options.testmode;
34190
+ const method = input.options?.method || "GET";
34191
+ if (method === "GET") {
34192
+ const url = new URL(input.url);
34193
+ if (clientProfileId !== undefined && !url.searchParams.has("profileId")) {
34194
+ url.searchParams.set("profileId", clientProfileId);
34195
+ }
34196
+ if (clientTestmode !== undefined && !url.searchParams.has("testmode")) {
34197
+ url.searchParams.set("testmode", String(clientTestmode));
34198
+ }
34199
+ return {
34200
+ ...input,
34201
+ url
34202
+ };
34203
+ }
34204
+ let body = {};
34205
+ if (input.options?.body) {
34206
+ try {
34207
+ if (typeof input.options.body === "string") {
34208
+ body = JSON.parse(input.options.body);
34209
+ } else if (input.options.body instanceof ArrayBuffer || input.options.body instanceof Uint8Array) {
34210
+ const decoder = new TextDecoder;
34211
+ const text = decoder.decode(input.options.body);
34212
+ body = JSON.parse(text);
34213
+ } else {
34214
+ body = input.options.body;
34215
+ }
34216
+ } catch (error) {
34217
+ return input;
34218
+ }
34219
+ }
34220
+ if (clientProfileId !== undefined && !("profileId" in body)) {
34221
+ body.profileId = clientProfileId;
34222
+ }
34223
+ if (clientTestmode !== undefined && !("testmode" in body)) {
34224
+ body.testmode = clientTestmode;
34225
+ }
34226
+ const newContent = JSON.stringify(body);
34227
+ const headers = new Headers(input.options?.headers);
34228
+ headers.set("Content-Length", String(new TextEncoder().encode(newContent).length));
34091
34229
  return {
34092
34230
  ...input,
34093
34231
  options: {
34094
34232
  ...input.options,
34095
- headers
34233
+ headers,
34234
+ body: newContent
34096
34235
  }
34097
34236
  };
34098
34237
  }
@@ -34100,12 +34239,17 @@ class MollieHooks {
34100
34239
  return crypto.randomUUID();
34101
34240
  }
34102
34241
  }
34242
+ var init_mollie_hooks = __esm(() => {
34243
+ init_config();
34244
+ });
34103
34245
 
34104
34246
  // src/hooks/registration.ts
34105
34247
  function initHooks(hooks) {
34106
34248
  hooks.registerBeforeCreateRequestHook(new MollieHooks);
34107
34249
  }
34108
- var init_registration = () => {};
34250
+ var init_registration = __esm(() => {
34251
+ init_mollie_hooks();
34252
+ });
34109
34253
 
34110
34254
  // src/hooks/hooks.ts
34111
34255
  class SDKHooks {
@@ -34251,56 +34395,6 @@ var init_base64 = __esm(() => {
34251
34395
  zodInbound = instanceOfType(Uint8Array).or(stringType().transform(bytesFromBase64));
34252
34396
  });
34253
34397
 
34254
- // src/lib/url.ts
34255
- function pathToFunc(pathPattern, options) {
34256
- const paramRE = /\{([a-zA-Z0-9_][a-zA-Z0-9_-]*?)\}/g;
34257
- return function buildURLPath(params = {}) {
34258
- return pathPattern.replace(paramRE, function(_2, placeholder) {
34259
- if (!hasOwn.call(params, placeholder)) {
34260
- throw new Error(`Parameter '${placeholder}' is required`);
34261
- }
34262
- const value = params[placeholder];
34263
- if (typeof value !== "string" && typeof value !== "number") {
34264
- throw new Error(`Parameter '${placeholder}' must be a string or number`);
34265
- }
34266
- return options?.charEncoding === "percent" ? encodeURIComponent(`${value}`) : `${value}`;
34267
- });
34268
- };
34269
- }
34270
- var hasOwn;
34271
- var init_url = __esm(() => {
34272
- hasOwn = Object.prototype.hasOwnProperty;
34273
- });
34274
-
34275
- // src/lib/config.ts
34276
- function serverURLFromOptions(options) {
34277
- let serverURL = options.serverURL;
34278
- const params = {};
34279
- if (!serverURL) {
34280
- const serverIdx = options.serverIdx ?? 0;
34281
- if (serverIdx < 0 || serverIdx >= ServerList.length) {
34282
- throw new Error(`Invalid server index ${serverIdx}`);
34283
- }
34284
- serverURL = ServerList[serverIdx] || "";
34285
- }
34286
- const u = pathToFunc(serverURL)(params);
34287
- return new URL(u);
34288
- }
34289
- var ServerList, SDK_METADATA;
34290
- var init_config = __esm(() => {
34291
- init_url();
34292
- ServerList = [
34293
- "https://api.mollie.com/v2"
34294
- ];
34295
- SDK_METADATA = {
34296
- language: "typescript",
34297
- openapiDocVersion: "1.0.0",
34298
- sdkVersion: "0.6.1",
34299
- genVersion: "2.730.5",
34300
- userAgent: "speakeasy-sdk/typescript 0.6.1 2.730.5 1.0.0 mollie-api-typescript"
34301
- };
34302
- });
34303
-
34304
34398
  // src/lib/is-plain-object.ts
34305
34399
  function isPlainObject(value) {
34306
34400
  if (typeof value !== "object" || value === null) {
@@ -34548,12 +34642,29 @@ function env() {
34548
34642
  envMemo = envSchema.parse(envObject);
34549
34643
  return envMemo;
34550
34644
  }
34645
+ function fillGlobals(options) {
34646
+ const clone = { ...options };
34647
+ const envVars = env();
34648
+ if (typeof envVars.CLIENT_PROFILE_ID !== "undefined") {
34649
+ clone.profileId ??= envVars.CLIENT_PROFILE_ID;
34650
+ }
34651
+ if (typeof envVars.CLIENT_TESTMODE !== "undefined") {
34652
+ clone.testmode ??= envVars.CLIENT_TESTMODE;
34653
+ }
34654
+ if (typeof envVars.CLIENT_CUSTOM_USER_AGENT !== "undefined") {
34655
+ clone.customUserAgent ??= envVars.CLIENT_CUSTOM_USER_AGENT;
34656
+ }
34657
+ return clone;
34658
+ }
34551
34659
  var envSchema, envMemo = undefined;
34552
34660
  var init_env = __esm(() => {
34553
34661
  init_esm();
34554
34662
  envSchema = objectType({
34555
34663
  CLIENT_API_KEY: stringType().optional(),
34556
34664
  CLIENT_O_AUTH: stringType().optional(),
34665
+ CLIENT_PROFILE_ID: stringType().optional(),
34666
+ CLIENT_TESTMODE: enumType(["true", "false"]).transform((v2) => v2 === "true").optional(),
34667
+ CLIENT_CUSTOM_USER_AGENT: stringType().optional(),
34557
34668
  CLIENT_DEBUG: coerce.boolean().optional()
34558
34669
  });
34559
34670
  });
@@ -34884,7 +34995,7 @@ class ClientSDK {
34884
34995
  }
34885
34996
  this._baseURL = url;
34886
34997
  this.#httpClient = options.httpClient || defaultHttpClient;
34887
- this._options = { ...options, hooks: this.#hooks };
34998
+ this._options = { ...fillGlobals(options), hooks: this.#hooks };
34888
34999
  this.#logger = this._options.debugLogger;
34889
35000
  if (!this.#logger && env().CLIENT_DEBUG) {
34890
35001
  this.#logger = console;
@@ -38784,7 +38895,10 @@ var init_methodresponse = __esm(() => {
38784
38895
  Trustly: "trustly",
38785
38896
  Twint: "twint",
38786
38897
  Vipps: "vipps",
38787
- Voucher: "voucher"
38898
+ Voucher: "voucher",
38899
+ Klarnapaylater: "klarnapaylater",
38900
+ Klarnapaynow: "klarnapaynow",
38901
+ Klarnasliceit: "klarnasliceit"
38788
38902
  };
38789
38903
  MethodResponse$inboundSchema = unionType([
38790
38904
  nativeEnumType(MethodResponse),
@@ -43733,14 +43847,24 @@ var init_cancelpayment = __esm(() => {
43733
43847
  });
43734
43848
 
43735
43849
  // src/models/operations/cancelrefund.ts
43736
- var CancelRefundRequest$inboundSchema, CancelRefundRequest$outboundSchema, CancelRefundRequest$;
43850
+ var CancelRefundGlobals$inboundSchema, CancelRefundGlobals$outboundSchema, CancelRefundGlobals$, CancelRefundRequest$inboundSchema, CancelRefundRequest$outboundSchema, CancelRefundRequest$;
43737
43851
  var init_cancelrefund = __esm(() => {
43738
43852
  init_esm();
43739
43853
  init_primitives();
43854
+ CancelRefundGlobals$inboundSchema = objectType({
43855
+ testmode: booleanType().optional()
43856
+ });
43857
+ CancelRefundGlobals$outboundSchema = objectType({
43858
+ testmode: booleanType().optional()
43859
+ });
43860
+ ((CancelRefundGlobals$) => {
43861
+ CancelRefundGlobals$.inboundSchema = CancelRefundGlobals$inboundSchema;
43862
+ CancelRefundGlobals$.outboundSchema = CancelRefundGlobals$outboundSchema;
43863
+ })(CancelRefundGlobals$ ||= {});
43740
43864
  CancelRefundRequest$inboundSchema = objectType({
43741
43865
  paymentId: stringType(),
43742
43866
  refundId: stringType(),
43743
- testmode: nullableType(booleanType()).optional(),
43867
+ testmode: booleanType().optional(),
43744
43868
  "idempotency-key": stringType().optional()
43745
43869
  }).transform((v2) => {
43746
43870
  return remap(v2, {
@@ -43750,7 +43874,7 @@ var init_cancelrefund = __esm(() => {
43750
43874
  CancelRefundRequest$outboundSchema = objectType({
43751
43875
  paymentId: stringType(),
43752
43876
  refundId: stringType(),
43753
- testmode: nullableType(booleanType()).optional(),
43877
+ testmode: booleanType().optional(),
43754
43878
  idempotencyKey: stringType().optional()
43755
43879
  }).transform((v2) => {
43756
43880
  return remap(v2, {
@@ -44469,13 +44593,23 @@ var init_deletewebhook = __esm(() => {
44469
44593
  });
44470
44594
 
44471
44595
  // src/models/operations/getbalance.ts
44472
- var GetBalanceRequest$inboundSchema, GetBalanceRequest$outboundSchema, GetBalanceRequest$;
44596
+ var GetBalanceGlobals$inboundSchema, GetBalanceGlobals$outboundSchema, GetBalanceGlobals$, GetBalanceRequest$inboundSchema, GetBalanceRequest$outboundSchema, GetBalanceRequest$;
44473
44597
  var init_getbalance = __esm(() => {
44474
44598
  init_esm();
44475
44599
  init_primitives();
44600
+ GetBalanceGlobals$inboundSchema = objectType({
44601
+ testmode: booleanType().optional()
44602
+ });
44603
+ GetBalanceGlobals$outboundSchema = objectType({
44604
+ testmode: booleanType().optional()
44605
+ });
44606
+ ((GetBalanceGlobals$) => {
44607
+ GetBalanceGlobals$.inboundSchema = GetBalanceGlobals$inboundSchema;
44608
+ GetBalanceGlobals$.outboundSchema = GetBalanceGlobals$outboundSchema;
44609
+ })(GetBalanceGlobals$ ||= {});
44476
44610
  GetBalanceRequest$inboundSchema = objectType({
44477
44611
  id: stringType(),
44478
- testmode: nullableType(booleanType()).optional(),
44612
+ testmode: booleanType().optional(),
44479
44613
  "idempotency-key": stringType().optional()
44480
44614
  }).transform((v2) => {
44481
44615
  return remap(v2, {
@@ -44484,7 +44618,7 @@ var init_getbalance = __esm(() => {
44484
44618
  });
44485
44619
  GetBalanceRequest$outboundSchema = objectType({
44486
44620
  id: stringType(),
44487
- testmode: nullableType(booleanType()).optional(),
44621
+ testmode: booleanType().optional(),
44488
44622
  idempotencyKey: stringType().optional()
44489
44623
  }).transform((v2) => {
44490
44624
  return remap(v2, {
@@ -44498,17 +44632,27 @@ var init_getbalance = __esm(() => {
44498
44632
  });
44499
44633
 
44500
44634
  // src/models/operations/getbalancereport.ts
44501
- var GetBalanceReportRequest$inboundSchema, GetBalanceReportRequest$outboundSchema, GetBalanceReportRequest$;
44635
+ var GetBalanceReportGlobals$inboundSchema, GetBalanceReportGlobals$outboundSchema, GetBalanceReportGlobals$, GetBalanceReportRequest$inboundSchema, GetBalanceReportRequest$outboundSchema, GetBalanceReportRequest$;
44502
44636
  var init_getbalancereport = __esm(() => {
44503
44637
  init_esm();
44504
44638
  init_primitives();
44505
44639
  init_models();
44640
+ GetBalanceReportGlobals$inboundSchema = objectType({
44641
+ testmode: booleanType().optional()
44642
+ });
44643
+ GetBalanceReportGlobals$outboundSchema = objectType({
44644
+ testmode: booleanType().optional()
44645
+ });
44646
+ ((GetBalanceReportGlobals$) => {
44647
+ GetBalanceReportGlobals$.inboundSchema = GetBalanceReportGlobals$inboundSchema;
44648
+ GetBalanceReportGlobals$.outboundSchema = GetBalanceReportGlobals$outboundSchema;
44649
+ })(GetBalanceReportGlobals$ ||= {});
44506
44650
  GetBalanceReportRequest$inboundSchema = objectType({
44507
44651
  balanceId: stringType(),
44508
44652
  from: stringType(),
44509
44653
  until: stringType(),
44510
44654
  grouping: BalanceReportGrouping$inboundSchema.optional(),
44511
- testmode: nullableType(booleanType()).optional(),
44655
+ testmode: booleanType().optional(),
44512
44656
  "idempotency-key": stringType().optional()
44513
44657
  }).transform((v2) => {
44514
44658
  return remap(v2, {
@@ -44520,7 +44664,7 @@ var init_getbalancereport = __esm(() => {
44520
44664
  from: stringType(),
44521
44665
  until: stringType(),
44522
44666
  grouping: BalanceReportGrouping$outboundSchema.optional(),
44523
- testmode: nullableType(booleanType()).optional(),
44667
+ testmode: booleanType().optional(),
44524
44668
  idempotencyKey: stringType().optional()
44525
44669
  }).transform((v2) => {
44526
44670
  return remap(v2, {
@@ -44534,15 +44678,25 @@ var init_getbalancereport = __esm(() => {
44534
44678
  });
44535
44679
 
44536
44680
  // src/models/operations/getcapture.ts
44537
- var GetCaptureRequest$inboundSchema, GetCaptureRequest$outboundSchema, GetCaptureRequest$;
44681
+ var GetCaptureGlobals$inboundSchema, GetCaptureGlobals$outboundSchema, GetCaptureGlobals$, GetCaptureRequest$inboundSchema, GetCaptureRequest$outboundSchema, GetCaptureRequest$;
44538
44682
  var init_getcapture = __esm(() => {
44539
44683
  init_esm();
44540
44684
  init_primitives();
44685
+ GetCaptureGlobals$inboundSchema = objectType({
44686
+ testmode: booleanType().optional()
44687
+ });
44688
+ GetCaptureGlobals$outboundSchema = objectType({
44689
+ testmode: booleanType().optional()
44690
+ });
44691
+ ((GetCaptureGlobals$) => {
44692
+ GetCaptureGlobals$.inboundSchema = GetCaptureGlobals$inboundSchema;
44693
+ GetCaptureGlobals$.outboundSchema = GetCaptureGlobals$outboundSchema;
44694
+ })(GetCaptureGlobals$ ||= {});
44541
44695
  GetCaptureRequest$inboundSchema = objectType({
44542
44696
  paymentId: stringType(),
44543
44697
  captureId: stringType(),
44544
44698
  embed: nullableType(stringType()).optional(),
44545
- testmode: nullableType(booleanType()).optional(),
44699
+ testmode: booleanType().optional(),
44546
44700
  "idempotency-key": stringType().optional()
44547
44701
  }).transform((v2) => {
44548
44702
  return remap(v2, {
@@ -44553,7 +44707,7 @@ var init_getcapture = __esm(() => {
44553
44707
  paymentId: stringType(),
44554
44708
  captureId: stringType(),
44555
44709
  embed: nullableType(stringType()).optional(),
44556
- testmode: nullableType(booleanType()).optional(),
44710
+ testmode: booleanType().optional(),
44557
44711
  idempotencyKey: stringType().optional()
44558
44712
  }).transform((v2) => {
44559
44713
  return remap(v2, {
@@ -44567,15 +44721,25 @@ var init_getcapture = __esm(() => {
44567
44721
  });
44568
44722
 
44569
44723
  // src/models/operations/getchargeback.ts
44570
- var GetChargebackRequest$inboundSchema, GetChargebackRequest$outboundSchema, GetChargebackRequest$;
44724
+ var GetChargebackGlobals$inboundSchema, GetChargebackGlobals$outboundSchema, GetChargebackGlobals$, GetChargebackRequest$inboundSchema, GetChargebackRequest$outboundSchema, GetChargebackRequest$;
44571
44725
  var init_getchargeback = __esm(() => {
44572
44726
  init_esm();
44573
44727
  init_primitives();
44728
+ GetChargebackGlobals$inboundSchema = objectType({
44729
+ testmode: booleanType().optional()
44730
+ });
44731
+ GetChargebackGlobals$outboundSchema = objectType({
44732
+ testmode: booleanType().optional()
44733
+ });
44734
+ ((GetChargebackGlobals$) => {
44735
+ GetChargebackGlobals$.inboundSchema = GetChargebackGlobals$inboundSchema;
44736
+ GetChargebackGlobals$.outboundSchema = GetChargebackGlobals$outboundSchema;
44737
+ })(GetChargebackGlobals$ ||= {});
44574
44738
  GetChargebackRequest$inboundSchema = objectType({
44575
44739
  paymentId: stringType(),
44576
44740
  chargebackId: stringType(),
44577
44741
  embed: nullableType(stringType()).optional(),
44578
- testmode: nullableType(booleanType()).optional(),
44742
+ testmode: booleanType().optional(),
44579
44743
  "idempotency-key": stringType().optional()
44580
44744
  }).transform((v2) => {
44581
44745
  return remap(v2, {
@@ -44586,7 +44750,7 @@ var init_getchargeback = __esm(() => {
44586
44750
  paymentId: stringType(),
44587
44751
  chargebackId: stringType(),
44588
44752
  embed: nullableType(stringType()).optional(),
44589
- testmode: nullableType(booleanType()).optional(),
44753
+ testmode: booleanType().optional(),
44590
44754
  idempotencyKey: stringType().optional()
44591
44755
  }).transform((v2) => {
44592
44756
  return remap(v2, {
@@ -44700,13 +44864,23 @@ var init_getclient = __esm(() => {
44700
44864
  });
44701
44865
 
44702
44866
  // src/models/operations/getconnectbalancetransfer.ts
44703
- var GetConnectBalanceTransferRequest$inboundSchema, GetConnectBalanceTransferRequest$outboundSchema, GetConnectBalanceTransferRequest$;
44867
+ var GetConnectBalanceTransferGlobals$inboundSchema, GetConnectBalanceTransferGlobals$outboundSchema, GetConnectBalanceTransferGlobals$, GetConnectBalanceTransferRequest$inboundSchema, GetConnectBalanceTransferRequest$outboundSchema, GetConnectBalanceTransferRequest$;
44704
44868
  var init_getconnectbalancetransfer = __esm(() => {
44705
44869
  init_esm();
44706
44870
  init_primitives();
44871
+ GetConnectBalanceTransferGlobals$inboundSchema = objectType({
44872
+ testmode: booleanType().optional()
44873
+ });
44874
+ GetConnectBalanceTransferGlobals$outboundSchema = objectType({
44875
+ testmode: booleanType().optional()
44876
+ });
44877
+ ((GetConnectBalanceTransferGlobals$) => {
44878
+ GetConnectBalanceTransferGlobals$.inboundSchema = GetConnectBalanceTransferGlobals$inboundSchema;
44879
+ GetConnectBalanceTransferGlobals$.outboundSchema = GetConnectBalanceTransferGlobals$outboundSchema;
44880
+ })(GetConnectBalanceTransferGlobals$ ||= {});
44707
44881
  GetConnectBalanceTransferRequest$inboundSchema = objectType({
44708
44882
  id: stringType(),
44709
- testmode: nullableType(booleanType()).optional(),
44883
+ testmode: booleanType().optional(),
44710
44884
  "idempotency-key": stringType().optional()
44711
44885
  }).transform((v2) => {
44712
44886
  return remap(v2, {
@@ -44715,7 +44889,7 @@ var init_getconnectbalancetransfer = __esm(() => {
44715
44889
  });
44716
44890
  GetConnectBalanceTransferRequest$outboundSchema = objectType({
44717
44891
  id: stringType(),
44718
- testmode: nullableType(booleanType()).optional(),
44892
+ testmode: booleanType().optional(),
44719
44893
  idempotencyKey: stringType().optional()
44720
44894
  }).transform((v2) => {
44721
44895
  return remap(v2, {
@@ -44779,15 +44953,25 @@ var init_getcurrentprofile = __esm(() => {
44779
44953
  });
44780
44954
 
44781
44955
  // src/models/operations/getcustomer.ts
44782
- var GetCustomerRequest$inboundSchema, GetCustomerRequest$outboundSchema, GetCustomerRequest$, GetCustomerLinks$inboundSchema, GetCustomerLinks$outboundSchema, GetCustomerLinks$, GetCustomerResponse$inboundSchema, GetCustomerResponse$outboundSchema, GetCustomerResponse$;
44956
+ var GetCustomerGlobals$inboundSchema, GetCustomerGlobals$outboundSchema, GetCustomerGlobals$, GetCustomerRequest$inboundSchema, GetCustomerRequest$outboundSchema, GetCustomerRequest$, GetCustomerLinks$inboundSchema, GetCustomerLinks$outboundSchema, GetCustomerLinks$, GetCustomerResponse$inboundSchema, GetCustomerResponse$outboundSchema, GetCustomerResponse$;
44783
44957
  var init_getcustomer = __esm(() => {
44784
44958
  init_esm();
44785
44959
  init_primitives();
44786
44960
  init_models();
44961
+ GetCustomerGlobals$inboundSchema = objectType({
44962
+ testmode: booleanType().optional()
44963
+ });
44964
+ GetCustomerGlobals$outboundSchema = objectType({
44965
+ testmode: booleanType().optional()
44966
+ });
44967
+ ((GetCustomerGlobals$) => {
44968
+ GetCustomerGlobals$.inboundSchema = GetCustomerGlobals$inboundSchema;
44969
+ GetCustomerGlobals$.outboundSchema = GetCustomerGlobals$outboundSchema;
44970
+ })(GetCustomerGlobals$ ||= {});
44787
44971
  GetCustomerRequest$inboundSchema = objectType({
44788
44972
  customerId: stringType(),
44789
44973
  include: nullableType(stringType()).optional(),
44790
- testmode: nullableType(booleanType()).optional(),
44974
+ testmode: booleanType().optional(),
44791
44975
  "idempotency-key": stringType().optional()
44792
44976
  }).transform((v2) => {
44793
44977
  return remap(v2, {
@@ -44797,7 +44981,7 @@ var init_getcustomer = __esm(() => {
44797
44981
  GetCustomerRequest$outboundSchema = objectType({
44798
44982
  customerId: stringType(),
44799
44983
  include: nullableType(stringType()).optional(),
44800
- testmode: nullableType(booleanType()).optional(),
44984
+ testmode: booleanType().optional(),
44801
44985
  idempotencyKey: stringType().optional()
44802
44986
  }).transform((v2) => {
44803
44987
  return remap(v2, {
@@ -44894,14 +45078,24 @@ var init_getinvoice = __esm(() => {
44894
45078
  });
44895
45079
 
44896
45080
  // src/models/operations/getmandate.ts
44897
- var GetMandateRequest$inboundSchema, GetMandateRequest$outboundSchema, GetMandateRequest$;
45081
+ var GetMandateGlobals$inboundSchema, GetMandateGlobals$outboundSchema, GetMandateGlobals$, GetMandateRequest$inboundSchema, GetMandateRequest$outboundSchema, GetMandateRequest$;
44898
45082
  var init_getmandate = __esm(() => {
44899
45083
  init_esm();
44900
45084
  init_primitives();
45085
+ GetMandateGlobals$inboundSchema = objectType({
45086
+ testmode: booleanType().optional()
45087
+ });
45088
+ GetMandateGlobals$outboundSchema = objectType({
45089
+ testmode: booleanType().optional()
45090
+ });
45091
+ ((GetMandateGlobals$) => {
45092
+ GetMandateGlobals$.inboundSchema = GetMandateGlobals$inboundSchema;
45093
+ GetMandateGlobals$.outboundSchema = GetMandateGlobals$outboundSchema;
45094
+ })(GetMandateGlobals$ ||= {});
44901
45095
  GetMandateRequest$inboundSchema = objectType({
44902
45096
  customerId: stringType(),
44903
45097
  mandateId: stringType(),
44904
- testmode: nullableType(booleanType()).optional(),
45098
+ testmode: booleanType().optional(),
44905
45099
  "idempotency-key": stringType().optional()
44906
45100
  }).transform((v2) => {
44907
45101
  return remap(v2, {
@@ -44911,7 +45105,7 @@ var init_getmandate = __esm(() => {
44911
45105
  GetMandateRequest$outboundSchema = objectType({
44912
45106
  customerId: stringType(),
44913
45107
  mandateId: stringType(),
44914
- testmode: nullableType(booleanType()).optional(),
45108
+ testmode: booleanType().optional(),
44915
45109
  idempotencyKey: stringType().optional()
44916
45110
  }).transform((v2) => {
44917
45111
  return remap(v2, {
@@ -44925,11 +45119,23 @@ var init_getmandate = __esm(() => {
44925
45119
  });
44926
45120
 
44927
45121
  // src/models/operations/getmethod.ts
44928
- var GetMethodRequest$inboundSchema, GetMethodRequest$outboundSchema, GetMethodRequest$;
45122
+ var GetMethodGlobals$inboundSchema, GetMethodGlobals$outboundSchema, GetMethodGlobals$, GetMethodRequest$inboundSchema, GetMethodRequest$outboundSchema, GetMethodRequest$;
44929
45123
  var init_getmethod = __esm(() => {
44930
45124
  init_esm();
44931
45125
  init_primitives();
44932
45126
  init_models();
45127
+ GetMethodGlobals$inboundSchema = objectType({
45128
+ profileId: stringType().optional(),
45129
+ testmode: booleanType().optional()
45130
+ });
45131
+ GetMethodGlobals$outboundSchema = objectType({
45132
+ profileId: stringType().optional(),
45133
+ testmode: booleanType().optional()
45134
+ });
45135
+ ((GetMethodGlobals$) => {
45136
+ GetMethodGlobals$.inboundSchema = GetMethodGlobals$inboundSchema;
45137
+ GetMethodGlobals$.outboundSchema = GetMethodGlobals$outboundSchema;
45138
+ })(GetMethodGlobals$ ||= {});
44933
45139
  GetMethodRequest$inboundSchema = objectType({
44934
45140
  id: stringType(),
44935
45141
  locale: nullableType(Locale$inboundSchema).optional(),
@@ -44937,7 +45143,7 @@ var init_getmethod = __esm(() => {
44937
45143
  profileId: stringType().optional(),
44938
45144
  include: nullableType(stringType()).optional(),
44939
45145
  sequenceType: SequenceType$inboundSchema.optional(),
44940
- testmode: nullableType(booleanType()).optional(),
45146
+ testmode: booleanType().optional(),
44941
45147
  "idempotency-key": stringType().optional()
44942
45148
  }).transform((v2) => {
44943
45149
  return remap(v2, {
@@ -44951,7 +45157,7 @@ var init_getmethod = __esm(() => {
44951
45157
  profileId: stringType().optional(),
44952
45158
  include: nullableType(stringType()).optional(),
44953
45159
  sequenceType: SequenceType$outboundSchema.optional(),
44954
- testmode: nullableType(booleanType()).optional(),
45160
+ testmode: booleanType().optional(),
44955
45161
  idempotencyKey: stringType().optional()
44956
45162
  }).transform((v2) => {
44957
45163
  return remap(v2, {
@@ -45040,13 +45246,23 @@ var init_getopensettlement = __esm(() => {
45040
45246
  });
45041
45247
 
45042
45248
  // src/models/operations/getorganization.ts
45043
- var GetOrganizationRequest$inboundSchema, GetOrganizationRequest$outboundSchema, GetOrganizationRequest$;
45249
+ var GetOrganizationGlobals$inboundSchema, GetOrganizationGlobals$outboundSchema, GetOrganizationGlobals$, GetOrganizationRequest$inboundSchema, GetOrganizationRequest$outboundSchema, GetOrganizationRequest$;
45044
45250
  var init_getorganization = __esm(() => {
45045
45251
  init_esm();
45046
45252
  init_primitives();
45253
+ GetOrganizationGlobals$inboundSchema = objectType({
45254
+ testmode: booleanType().optional()
45255
+ });
45256
+ GetOrganizationGlobals$outboundSchema = objectType({
45257
+ testmode: booleanType().optional()
45258
+ });
45259
+ ((GetOrganizationGlobals$) => {
45260
+ GetOrganizationGlobals$.inboundSchema = GetOrganizationGlobals$inboundSchema;
45261
+ GetOrganizationGlobals$.outboundSchema = GetOrganizationGlobals$outboundSchema;
45262
+ })(GetOrganizationGlobals$ ||= {});
45047
45263
  GetOrganizationRequest$inboundSchema = objectType({
45048
45264
  id: stringType(),
45049
- testmode: nullableType(booleanType()).optional(),
45265
+ testmode: booleanType().optional(),
45050
45266
  "idempotency-key": stringType().optional()
45051
45267
  }).transform((v2) => {
45052
45268
  return remap(v2, {
@@ -45055,7 +45271,7 @@ var init_getorganization = __esm(() => {
45055
45271
  });
45056
45272
  GetOrganizationRequest$outboundSchema = objectType({
45057
45273
  id: stringType(),
45058
- testmode: nullableType(booleanType()).optional(),
45274
+ testmode: booleanType().optional(),
45059
45275
  idempotencyKey: stringType().optional()
45060
45276
  }).transform((v2) => {
45061
45277
  return remap(v2, {
@@ -45166,15 +45382,25 @@ var init_getpartnerstatus = __esm(() => {
45166
45382
  });
45167
45383
 
45168
45384
  // src/models/operations/getpayment.ts
45169
- var GetPaymentRequest$inboundSchema, GetPaymentRequest$outboundSchema, GetPaymentRequest$;
45385
+ var GetPaymentGlobals$inboundSchema, GetPaymentGlobals$outboundSchema, GetPaymentGlobals$, GetPaymentRequest$inboundSchema, GetPaymentRequest$outboundSchema, GetPaymentRequest$;
45170
45386
  var init_getpayment = __esm(() => {
45171
45387
  init_esm();
45172
45388
  init_primitives();
45389
+ GetPaymentGlobals$inboundSchema = objectType({
45390
+ testmode: booleanType().optional()
45391
+ });
45392
+ GetPaymentGlobals$outboundSchema = objectType({
45393
+ testmode: booleanType().optional()
45394
+ });
45395
+ ((GetPaymentGlobals$) => {
45396
+ GetPaymentGlobals$.inboundSchema = GetPaymentGlobals$inboundSchema;
45397
+ GetPaymentGlobals$.outboundSchema = GetPaymentGlobals$outboundSchema;
45398
+ })(GetPaymentGlobals$ ||= {});
45173
45399
  GetPaymentRequest$inboundSchema = objectType({
45174
45400
  paymentId: stringType(),
45175
45401
  include: nullableType(stringType()).optional(),
45176
45402
  embed: nullableType(stringType()).optional(),
45177
- testmode: nullableType(booleanType()).optional(),
45403
+ testmode: booleanType().optional(),
45178
45404
  "idempotency-key": stringType().optional()
45179
45405
  }).transform((v2) => {
45180
45406
  return remap(v2, {
@@ -45185,7 +45411,7 @@ var init_getpayment = __esm(() => {
45185
45411
  paymentId: stringType(),
45186
45412
  include: nullableType(stringType()).optional(),
45187
45413
  embed: nullableType(stringType()).optional(),
45188
- testmode: nullableType(booleanType()).optional(),
45414
+ testmode: booleanType().optional(),
45189
45415
  idempotencyKey: stringType().optional()
45190
45416
  }).transform((v2) => {
45191
45417
  return remap(v2, {
@@ -45199,13 +45425,23 @@ var init_getpayment = __esm(() => {
45199
45425
  });
45200
45426
 
45201
45427
  // src/models/operations/getpaymentlink.ts
45202
- var GetPaymentLinkRequest$inboundSchema, GetPaymentLinkRequest$outboundSchema, GetPaymentLinkRequest$;
45428
+ var GetPaymentLinkGlobals$inboundSchema, GetPaymentLinkGlobals$outboundSchema, GetPaymentLinkGlobals$, GetPaymentLinkRequest$inboundSchema, GetPaymentLinkRequest$outboundSchema, GetPaymentLinkRequest$;
45203
45429
  var init_getpaymentlink = __esm(() => {
45204
45430
  init_esm();
45205
45431
  init_primitives();
45432
+ GetPaymentLinkGlobals$inboundSchema = objectType({
45433
+ testmode: booleanType().optional()
45434
+ });
45435
+ GetPaymentLinkGlobals$outboundSchema = objectType({
45436
+ testmode: booleanType().optional()
45437
+ });
45438
+ ((GetPaymentLinkGlobals$) => {
45439
+ GetPaymentLinkGlobals$.inboundSchema = GetPaymentLinkGlobals$inboundSchema;
45440
+ GetPaymentLinkGlobals$.outboundSchema = GetPaymentLinkGlobals$outboundSchema;
45441
+ })(GetPaymentLinkGlobals$ ||= {});
45206
45442
  GetPaymentLinkRequest$inboundSchema = objectType({
45207
45443
  paymentLinkId: stringType(),
45208
- testmode: nullableType(booleanType()).optional(),
45444
+ testmode: booleanType().optional(),
45209
45445
  "idempotency-key": stringType().optional()
45210
45446
  }).transform((v2) => {
45211
45447
  return remap(v2, {
@@ -45214,7 +45450,7 @@ var init_getpaymentlink = __esm(() => {
45214
45450
  });
45215
45451
  GetPaymentLinkRequest$outboundSchema = objectType({
45216
45452
  paymentLinkId: stringType(),
45217
- testmode: nullableType(booleanType()).optional(),
45453
+ testmode: booleanType().optional(),
45218
45454
  idempotencyKey: stringType().optional()
45219
45455
  }).transform((v2) => {
45220
45456
  return remap(v2, {
@@ -45228,17 +45464,27 @@ var init_getpaymentlink = __esm(() => {
45228
45464
  });
45229
45465
 
45230
45466
  // src/models/operations/getpaymentlinkpayments.ts
45231
- var GetPaymentLinkPaymentsRequest$inboundSchema, GetPaymentLinkPaymentsRequest$outboundSchema, GetPaymentLinkPaymentsRequest$, GetPaymentLinkPaymentsEmbedded$inboundSchema, GetPaymentLinkPaymentsEmbedded$outboundSchema, GetPaymentLinkPaymentsEmbedded$, GetPaymentLinkPaymentsResponse$inboundSchema, GetPaymentLinkPaymentsResponse$outboundSchema, GetPaymentLinkPaymentsResponse$;
45467
+ var GetPaymentLinkPaymentsGlobals$inboundSchema, GetPaymentLinkPaymentsGlobals$outboundSchema, GetPaymentLinkPaymentsGlobals$, GetPaymentLinkPaymentsRequest$inboundSchema, GetPaymentLinkPaymentsRequest$outboundSchema, GetPaymentLinkPaymentsRequest$, GetPaymentLinkPaymentsEmbedded$inboundSchema, GetPaymentLinkPaymentsEmbedded$outboundSchema, GetPaymentLinkPaymentsEmbedded$, GetPaymentLinkPaymentsResponse$inboundSchema, GetPaymentLinkPaymentsResponse$outboundSchema, GetPaymentLinkPaymentsResponse$;
45232
45468
  var init_getpaymentlinkpayments = __esm(() => {
45233
45469
  init_esm();
45234
45470
  init_primitives();
45235
45471
  init_models();
45472
+ GetPaymentLinkPaymentsGlobals$inboundSchema = objectType({
45473
+ testmode: booleanType().optional()
45474
+ });
45475
+ GetPaymentLinkPaymentsGlobals$outboundSchema = objectType({
45476
+ testmode: booleanType().optional()
45477
+ });
45478
+ ((GetPaymentLinkPaymentsGlobals$) => {
45479
+ GetPaymentLinkPaymentsGlobals$.inboundSchema = GetPaymentLinkPaymentsGlobals$inboundSchema;
45480
+ GetPaymentLinkPaymentsGlobals$.outboundSchema = GetPaymentLinkPaymentsGlobals$outboundSchema;
45481
+ })(GetPaymentLinkPaymentsGlobals$ ||= {});
45236
45482
  GetPaymentLinkPaymentsRequest$inboundSchema = objectType({
45237
45483
  paymentLinkId: stringType(),
45238
45484
  from: stringType().optional(),
45239
45485
  limit: nullableType(numberType().int()).optional(),
45240
45486
  sort: Sorting$inboundSchema.optional(),
45241
- testmode: nullableType(booleanType()).optional(),
45487
+ testmode: booleanType().optional(),
45242
45488
  "idempotency-key": stringType().optional()
45243
45489
  }).transform((v2) => {
45244
45490
  return remap(v2, {
@@ -45250,7 +45496,7 @@ var init_getpaymentlinkpayments = __esm(() => {
45250
45496
  from: stringType().optional(),
45251
45497
  limit: nullableType(numberType().int()).optional(),
45252
45498
  sort: Sorting$outboundSchema.optional(),
45253
- testmode: nullableType(booleanType()).optional(),
45499
+ testmode: booleanType().optional(),
45254
45500
  idempotencyKey: stringType().optional()
45255
45501
  }).transform((v2) => {
45256
45502
  return remap(v2, {
@@ -45298,13 +45544,23 @@ var init_getpaymentlinkpayments = __esm(() => {
45298
45544
  });
45299
45545
 
45300
45546
  // src/models/operations/getpermission.ts
45301
- var GetPermissionRequest$inboundSchema, GetPermissionRequest$outboundSchema, GetPermissionRequest$;
45547
+ var GetPermissionGlobals$inboundSchema, GetPermissionGlobals$outboundSchema, GetPermissionGlobals$, GetPermissionRequest$inboundSchema, GetPermissionRequest$outboundSchema, GetPermissionRequest$;
45302
45548
  var init_getpermission = __esm(() => {
45303
45549
  init_esm();
45304
45550
  init_primitives();
45551
+ GetPermissionGlobals$inboundSchema = objectType({
45552
+ testmode: booleanType().optional()
45553
+ });
45554
+ GetPermissionGlobals$outboundSchema = objectType({
45555
+ testmode: booleanType().optional()
45556
+ });
45557
+ ((GetPermissionGlobals$) => {
45558
+ GetPermissionGlobals$.inboundSchema = GetPermissionGlobals$inboundSchema;
45559
+ GetPermissionGlobals$.outboundSchema = GetPermissionGlobals$outboundSchema;
45560
+ })(GetPermissionGlobals$ ||= {});
45305
45561
  GetPermissionRequest$inboundSchema = objectType({
45306
45562
  permissionId: stringType(),
45307
- testmode: nullableType(booleanType()).optional(),
45563
+ testmode: booleanType().optional(),
45308
45564
  "idempotency-key": stringType().optional()
45309
45565
  }).transform((v2) => {
45310
45566
  return remap(v2, {
@@ -45313,7 +45569,7 @@ var init_getpermission = __esm(() => {
45313
45569
  });
45314
45570
  GetPermissionRequest$outboundSchema = objectType({
45315
45571
  permissionId: stringType(),
45316
- testmode: nullableType(booleanType()).optional(),
45572
+ testmode: booleanType().optional(),
45317
45573
  idempotencyKey: stringType().optional()
45318
45574
  }).transform((v2) => {
45319
45575
  return remap(v2, {
@@ -45352,13 +45608,23 @@ var init_getprimarybalance = __esm(() => {
45352
45608
  });
45353
45609
 
45354
45610
  // src/models/operations/getprofile.ts
45355
- var GetProfileRequest$inboundSchema, GetProfileRequest$outboundSchema, GetProfileRequest$;
45611
+ var GetProfileGlobals$inboundSchema, GetProfileGlobals$outboundSchema, GetProfileGlobals$, GetProfileRequest$inboundSchema, GetProfileRequest$outboundSchema, GetProfileRequest$;
45356
45612
  var init_getprofile = __esm(() => {
45357
45613
  init_esm();
45358
45614
  init_primitives();
45615
+ GetProfileGlobals$inboundSchema = objectType({
45616
+ testmode: booleanType().optional()
45617
+ });
45618
+ GetProfileGlobals$outboundSchema = objectType({
45619
+ testmode: booleanType().optional()
45620
+ });
45621
+ ((GetProfileGlobals$) => {
45622
+ GetProfileGlobals$.inboundSchema = GetProfileGlobals$inboundSchema;
45623
+ GetProfileGlobals$.outboundSchema = GetProfileGlobals$outboundSchema;
45624
+ })(GetProfileGlobals$ ||= {});
45359
45625
  GetProfileRequest$inboundSchema = objectType({
45360
45626
  id: stringType(),
45361
- testmode: nullableType(booleanType()).optional(),
45627
+ testmode: booleanType().optional(),
45362
45628
  "idempotency-key": stringType().optional()
45363
45629
  }).transform((v2) => {
45364
45630
  return remap(v2, {
@@ -45367,7 +45633,7 @@ var init_getprofile = __esm(() => {
45367
45633
  });
45368
45634
  GetProfileRequest$outboundSchema = objectType({
45369
45635
  id: stringType(),
45370
- testmode: nullableType(booleanType()).optional(),
45636
+ testmode: booleanType().optional(),
45371
45637
  idempotencyKey: stringType().optional()
45372
45638
  }).transform((v2) => {
45373
45639
  return remap(v2, {
@@ -45381,15 +45647,25 @@ var init_getprofile = __esm(() => {
45381
45647
  });
45382
45648
 
45383
45649
  // src/models/operations/getrefund.ts
45384
- var GetRefundRequest$inboundSchema, GetRefundRequest$outboundSchema, GetRefundRequest$;
45650
+ var GetRefundGlobals$inboundSchema, GetRefundGlobals$outboundSchema, GetRefundGlobals$, GetRefundRequest$inboundSchema, GetRefundRequest$outboundSchema, GetRefundRequest$;
45385
45651
  var init_getrefund = __esm(() => {
45386
45652
  init_esm();
45387
45653
  init_primitives();
45654
+ GetRefundGlobals$inboundSchema = objectType({
45655
+ testmode: booleanType().optional()
45656
+ });
45657
+ GetRefundGlobals$outboundSchema = objectType({
45658
+ testmode: booleanType().optional()
45659
+ });
45660
+ ((GetRefundGlobals$) => {
45661
+ GetRefundGlobals$.inboundSchema = GetRefundGlobals$inboundSchema;
45662
+ GetRefundGlobals$.outboundSchema = GetRefundGlobals$outboundSchema;
45663
+ })(GetRefundGlobals$ ||= {});
45388
45664
  GetRefundRequest$inboundSchema = objectType({
45389
45665
  paymentId: stringType(),
45390
45666
  refundId: stringType(),
45391
45667
  embed: nullableType(stringType()).optional(),
45392
- testmode: nullableType(booleanType()).optional(),
45668
+ testmode: booleanType().optional(),
45393
45669
  "idempotency-key": stringType().optional()
45394
45670
  }).transform((v2) => {
45395
45671
  return remap(v2, {
@@ -45400,7 +45676,7 @@ var init_getrefund = __esm(() => {
45400
45676
  paymentId: stringType(),
45401
45677
  refundId: stringType(),
45402
45678
  embed: nullableType(stringType()).optional(),
45403
- testmode: nullableType(booleanType()).optional(),
45679
+ testmode: booleanType().optional(),
45404
45680
  idempotencyKey: stringType().optional()
45405
45681
  }).transform((v2) => {
45406
45682
  return remap(v2, {
@@ -45414,13 +45690,23 @@ var init_getrefund = __esm(() => {
45414
45690
  });
45415
45691
 
45416
45692
  // src/models/operations/getsalesinvoice.ts
45417
- var GetSalesInvoiceRequest$inboundSchema, GetSalesInvoiceRequest$outboundSchema, GetSalesInvoiceRequest$;
45693
+ var GetSalesInvoiceGlobals$inboundSchema, GetSalesInvoiceGlobals$outboundSchema, GetSalesInvoiceGlobals$, GetSalesInvoiceRequest$inboundSchema, GetSalesInvoiceRequest$outboundSchema, GetSalesInvoiceRequest$;
45418
45694
  var init_getsalesinvoice = __esm(() => {
45419
45695
  init_esm();
45420
45696
  init_primitives();
45697
+ GetSalesInvoiceGlobals$inboundSchema = objectType({
45698
+ testmode: booleanType().optional()
45699
+ });
45700
+ GetSalesInvoiceGlobals$outboundSchema = objectType({
45701
+ testmode: booleanType().optional()
45702
+ });
45703
+ ((GetSalesInvoiceGlobals$) => {
45704
+ GetSalesInvoiceGlobals$.inboundSchema = GetSalesInvoiceGlobals$inboundSchema;
45705
+ GetSalesInvoiceGlobals$.outboundSchema = GetSalesInvoiceGlobals$outboundSchema;
45706
+ })(GetSalesInvoiceGlobals$ ||= {});
45421
45707
  GetSalesInvoiceRequest$inboundSchema = objectType({
45422
45708
  id: stringType(),
45423
- testmode: nullableType(booleanType()).optional(),
45709
+ testmode: booleanType().optional(),
45424
45710
  "idempotency-key": stringType().optional()
45425
45711
  }).transform((v2) => {
45426
45712
  return remap(v2, {
@@ -45429,7 +45715,7 @@ var init_getsalesinvoice = __esm(() => {
45429
45715
  });
45430
45716
  GetSalesInvoiceRequest$outboundSchema = objectType({
45431
45717
  id: stringType(),
45432
- testmode: nullableType(booleanType()).optional(),
45718
+ testmode: booleanType().optional(),
45433
45719
  idempotencyKey: stringType().optional()
45434
45720
  }).transform((v2) => {
45435
45721
  return remap(v2, {
@@ -45470,14 +45756,24 @@ var init_getsettlement = __esm(() => {
45470
45756
  });
45471
45757
 
45472
45758
  // src/models/operations/getsubscription.ts
45473
- var GetSubscriptionRequest$inboundSchema, GetSubscriptionRequest$outboundSchema, GetSubscriptionRequest$;
45759
+ var GetSubscriptionGlobals$inboundSchema, GetSubscriptionGlobals$outboundSchema, GetSubscriptionGlobals$, GetSubscriptionRequest$inboundSchema, GetSubscriptionRequest$outboundSchema, GetSubscriptionRequest$;
45474
45760
  var init_getsubscription = __esm(() => {
45475
45761
  init_esm();
45476
45762
  init_primitives();
45763
+ GetSubscriptionGlobals$inboundSchema = objectType({
45764
+ testmode: booleanType().optional()
45765
+ });
45766
+ GetSubscriptionGlobals$outboundSchema = objectType({
45767
+ testmode: booleanType().optional()
45768
+ });
45769
+ ((GetSubscriptionGlobals$) => {
45770
+ GetSubscriptionGlobals$.inboundSchema = GetSubscriptionGlobals$inboundSchema;
45771
+ GetSubscriptionGlobals$.outboundSchema = GetSubscriptionGlobals$outboundSchema;
45772
+ })(GetSubscriptionGlobals$ ||= {});
45477
45773
  GetSubscriptionRequest$inboundSchema = objectType({
45478
45774
  customerId: stringType(),
45479
45775
  subscriptionId: stringType(),
45480
- testmode: nullableType(booleanType()).optional(),
45776
+ testmode: booleanType().optional(),
45481
45777
  "idempotency-key": stringType().optional()
45482
45778
  }).transform((v2) => {
45483
45779
  return remap(v2, {
@@ -45487,7 +45783,7 @@ var init_getsubscription = __esm(() => {
45487
45783
  GetSubscriptionRequest$outboundSchema = objectType({
45488
45784
  customerId: stringType(),
45489
45785
  subscriptionId: stringType(),
45490
- testmode: nullableType(booleanType()).optional(),
45786
+ testmode: booleanType().optional(),
45491
45787
  idempotencyKey: stringType().optional()
45492
45788
  }).transform((v2) => {
45493
45789
  return remap(v2, {
@@ -45501,13 +45797,23 @@ var init_getsubscription = __esm(() => {
45501
45797
  });
45502
45798
 
45503
45799
  // src/models/operations/getterminal.ts
45504
- var GetTerminalRequest$inboundSchema, GetTerminalRequest$outboundSchema, GetTerminalRequest$;
45800
+ var GetTerminalGlobals$inboundSchema, GetTerminalGlobals$outboundSchema, GetTerminalGlobals$, GetTerminalRequest$inboundSchema, GetTerminalRequest$outboundSchema, GetTerminalRequest$;
45505
45801
  var init_getterminal = __esm(() => {
45506
45802
  init_esm();
45507
45803
  init_primitives();
45804
+ GetTerminalGlobals$inboundSchema = objectType({
45805
+ testmode: booleanType().optional()
45806
+ });
45807
+ GetTerminalGlobals$outboundSchema = objectType({
45808
+ testmode: booleanType().optional()
45809
+ });
45810
+ ((GetTerminalGlobals$) => {
45811
+ GetTerminalGlobals$.inboundSchema = GetTerminalGlobals$inboundSchema;
45812
+ GetTerminalGlobals$.outboundSchema = GetTerminalGlobals$outboundSchema;
45813
+ })(GetTerminalGlobals$ ||= {});
45508
45814
  GetTerminalRequest$inboundSchema = objectType({
45509
45815
  terminalId: stringType(),
45510
- testmode: nullableType(booleanType()).optional(),
45816
+ testmode: booleanType().optional(),
45511
45817
  "idempotency-key": stringType().optional()
45512
45818
  }).transform((v2) => {
45513
45819
  return remap(v2, {
@@ -45516,7 +45822,7 @@ var init_getterminal = __esm(() => {
45516
45822
  });
45517
45823
  GetTerminalRequest$outboundSchema = objectType({
45518
45824
  terminalId: stringType(),
45519
- testmode: nullableType(booleanType()).optional(),
45825
+ testmode: booleanType().optional(),
45520
45826
  idempotencyKey: stringType().optional()
45521
45827
  }).transform((v2) => {
45522
45828
  return remap(v2, {
@@ -45530,13 +45836,23 @@ var init_getterminal = __esm(() => {
45530
45836
  });
45531
45837
 
45532
45838
  // src/models/operations/getwebhook.ts
45533
- var GetWebhookRequest$inboundSchema, GetWebhookRequest$outboundSchema, GetWebhookRequest$;
45839
+ var GetWebhookGlobals$inboundSchema, GetWebhookGlobals$outboundSchema, GetWebhookGlobals$, GetWebhookRequest$inboundSchema, GetWebhookRequest$outboundSchema, GetWebhookRequest$;
45534
45840
  var init_getwebhook = __esm(() => {
45535
45841
  init_esm();
45536
45842
  init_primitives();
45843
+ GetWebhookGlobals$inboundSchema = objectType({
45844
+ testmode: booleanType().optional()
45845
+ });
45846
+ GetWebhookGlobals$outboundSchema = objectType({
45847
+ testmode: booleanType().optional()
45848
+ });
45849
+ ((GetWebhookGlobals$) => {
45850
+ GetWebhookGlobals$.inboundSchema = GetWebhookGlobals$inboundSchema;
45851
+ GetWebhookGlobals$.outboundSchema = GetWebhookGlobals$outboundSchema;
45852
+ })(GetWebhookGlobals$ ||= {});
45537
45853
  GetWebhookRequest$inboundSchema = objectType({
45538
45854
  id: stringType(),
45539
- testmode: nullableType(booleanType()).optional(),
45855
+ testmode: booleanType().optional(),
45540
45856
  "idempotency-key": stringType().optional()
45541
45857
  }).transform((v2) => {
45542
45858
  return remap(v2, {
@@ -45545,7 +45861,7 @@ var init_getwebhook = __esm(() => {
45545
45861
  });
45546
45862
  GetWebhookRequest$outboundSchema = objectType({
45547
45863
  id: stringType(),
45548
- testmode: nullableType(booleanType()).optional(),
45864
+ testmode: booleanType().optional(),
45549
45865
  idempotencyKey: stringType().optional()
45550
45866
  }).transform((v2) => {
45551
45867
  return remap(v2, {
@@ -45559,13 +45875,23 @@ var init_getwebhook = __esm(() => {
45559
45875
  });
45560
45876
 
45561
45877
  // src/models/operations/getwebhookevent.ts
45562
- var GetWebhookEventRequest$inboundSchema, GetWebhookEventRequest$outboundSchema, GetWebhookEventRequest$;
45878
+ var GetWebhookEventGlobals$inboundSchema, GetWebhookEventGlobals$outboundSchema, GetWebhookEventGlobals$, GetWebhookEventRequest$inboundSchema, GetWebhookEventRequest$outboundSchema, GetWebhookEventRequest$;
45563
45879
  var init_getwebhookevent = __esm(() => {
45564
45880
  init_esm();
45565
45881
  init_primitives();
45882
+ GetWebhookEventGlobals$inboundSchema = objectType({
45883
+ testmode: booleanType().optional()
45884
+ });
45885
+ GetWebhookEventGlobals$outboundSchema = objectType({
45886
+ testmode: booleanType().optional()
45887
+ });
45888
+ ((GetWebhookEventGlobals$) => {
45889
+ GetWebhookEventGlobals$.inboundSchema = GetWebhookEventGlobals$inboundSchema;
45890
+ GetWebhookEventGlobals$.outboundSchema = GetWebhookEventGlobals$outboundSchema;
45891
+ })(GetWebhookEventGlobals$ ||= {});
45566
45892
  GetWebhookEventRequest$inboundSchema = objectType({
45567
45893
  id: stringType(),
45568
- testmode: nullableType(booleanType()).optional(),
45894
+ testmode: booleanType().optional(),
45569
45895
  "idempotency-key": stringType().optional()
45570
45896
  }).transform((v2) => {
45571
45897
  return remap(v2, {
@@ -45574,7 +45900,7 @@ var init_getwebhookevent = __esm(() => {
45574
45900
  });
45575
45901
  GetWebhookEventRequest$outboundSchema = objectType({
45576
45902
  id: stringType(),
45577
- testmode: nullableType(booleanType()).optional(),
45903
+ testmode: booleanType().optional(),
45578
45904
  idempotencyKey: stringType().optional()
45579
45905
  }).transform((v2) => {
45580
45906
  return remap(v2, {
@@ -45588,18 +45914,30 @@ var init_getwebhookevent = __esm(() => {
45588
45914
  });
45589
45915
 
45590
45916
  // src/models/operations/listallchargebacks.ts
45591
- var ListAllChargebacksRequest$inboundSchema, ListAllChargebacksRequest$outboundSchema, ListAllChargebacksRequest$, ListAllChargebacksEmbedded$inboundSchema, ListAllChargebacksEmbedded$outboundSchema, ListAllChargebacksEmbedded$, ListAllChargebacksResponse$inboundSchema, ListAllChargebacksResponse$outboundSchema, ListAllChargebacksResponse$;
45917
+ var ListAllChargebacksGlobals$inboundSchema, ListAllChargebacksGlobals$outboundSchema, ListAllChargebacksGlobals$, ListAllChargebacksRequest$inboundSchema, ListAllChargebacksRequest$outboundSchema, ListAllChargebacksRequest$, ListAllChargebacksEmbedded$inboundSchema, ListAllChargebacksEmbedded$outboundSchema, ListAllChargebacksEmbedded$, ListAllChargebacksResponse$inboundSchema, ListAllChargebacksResponse$outboundSchema, ListAllChargebacksResponse$;
45592
45918
  var init_listallchargebacks = __esm(() => {
45593
45919
  init_esm();
45594
45920
  init_primitives();
45595
45921
  init_models();
45922
+ ListAllChargebacksGlobals$inboundSchema = objectType({
45923
+ profileId: stringType().optional(),
45924
+ testmode: booleanType().optional()
45925
+ });
45926
+ ListAllChargebacksGlobals$outboundSchema = objectType({
45927
+ profileId: stringType().optional(),
45928
+ testmode: booleanType().optional()
45929
+ });
45930
+ ((ListAllChargebacksGlobals$) => {
45931
+ ListAllChargebacksGlobals$.inboundSchema = ListAllChargebacksGlobals$inboundSchema;
45932
+ ListAllChargebacksGlobals$.outboundSchema = ListAllChargebacksGlobals$outboundSchema;
45933
+ })(ListAllChargebacksGlobals$ ||= {});
45596
45934
  ListAllChargebacksRequest$inboundSchema = objectType({
45597
45935
  from: stringType().optional(),
45598
45936
  limit: nullableType(numberType().int()).optional(),
45599
45937
  embed: nullableType(stringType()).optional(),
45600
45938
  sort: Sorting$inboundSchema.optional(),
45601
45939
  profileId: stringType().optional(),
45602
- testmode: nullableType(booleanType()).optional(),
45940
+ testmode: booleanType().optional(),
45603
45941
  "idempotency-key": stringType().optional()
45604
45942
  }).transform((v2) => {
45605
45943
  return remap(v2, {
@@ -45612,7 +45950,7 @@ var init_listallchargebacks = __esm(() => {
45612
45950
  embed: nullableType(stringType()).optional(),
45613
45951
  sort: Sorting$outboundSchema.optional(),
45614
45952
  profileId: stringType().optional(),
45615
- testmode: nullableType(booleanType()).optional(),
45953
+ testmode: booleanType().optional(),
45616
45954
  idempotencyKey: stringType().optional()
45617
45955
  }).transform((v2) => {
45618
45956
  return remap(v2, {
@@ -45660,18 +45998,30 @@ var init_listallchargebacks = __esm(() => {
45660
45998
  });
45661
45999
 
45662
46000
  // src/models/operations/listallmethods.ts
45663
- var ListAllMethodsRequest$inboundSchema, ListAllMethodsRequest$outboundSchema, ListAllMethodsRequest$, ListAllMethodsEmbedded$inboundSchema, ListAllMethodsEmbedded$outboundSchema, ListAllMethodsEmbedded$, ListAllMethodsLinks$inboundSchema, ListAllMethodsLinks$outboundSchema, ListAllMethodsLinks$, ListAllMethodsResponse$inboundSchema, ListAllMethodsResponse$outboundSchema, ListAllMethodsResponse$;
46001
+ var ListAllMethodsGlobals$inboundSchema, ListAllMethodsGlobals$outboundSchema, ListAllMethodsGlobals$, ListAllMethodsRequest$inboundSchema, ListAllMethodsRequest$outboundSchema, ListAllMethodsRequest$, ListAllMethodsEmbedded$inboundSchema, ListAllMethodsEmbedded$outboundSchema, ListAllMethodsEmbedded$, ListAllMethodsLinks$inboundSchema, ListAllMethodsLinks$outboundSchema, ListAllMethodsLinks$, ListAllMethodsResponse$inboundSchema, ListAllMethodsResponse$outboundSchema, ListAllMethodsResponse$;
45664
46002
  var init_listallmethods = __esm(() => {
45665
46003
  init_esm();
45666
46004
  init_primitives();
45667
46005
  init_models();
46006
+ ListAllMethodsGlobals$inboundSchema = objectType({
46007
+ profileId: stringType().optional(),
46008
+ testmode: booleanType().optional()
46009
+ });
46010
+ ListAllMethodsGlobals$outboundSchema = objectType({
46011
+ profileId: stringType().optional(),
46012
+ testmode: booleanType().optional()
46013
+ });
46014
+ ((ListAllMethodsGlobals$) => {
46015
+ ListAllMethodsGlobals$.inboundSchema = ListAllMethodsGlobals$inboundSchema;
46016
+ ListAllMethodsGlobals$.outboundSchema = ListAllMethodsGlobals$outboundSchema;
46017
+ })(ListAllMethodsGlobals$ ||= {});
45668
46018
  ListAllMethodsRequest$inboundSchema = objectType({
45669
46019
  locale: nullableType(Locale$inboundSchema).optional(),
45670
46020
  amount: Amount$inboundSchema.optional(),
45671
46021
  include: nullableType(stringType()).optional(),
45672
46022
  sequenceType: SequenceType$inboundSchema.optional(),
45673
46023
  profileId: stringType().optional(),
45674
- testmode: nullableType(booleanType()).optional(),
46024
+ testmode: booleanType().optional(),
45675
46025
  "idempotency-key": stringType().optional()
45676
46026
  }).transform((v2) => {
45677
46027
  return remap(v2, {
@@ -45684,7 +46034,7 @@ var init_listallmethods = __esm(() => {
45684
46034
  include: nullableType(stringType()).optional(),
45685
46035
  sequenceType: SequenceType$outboundSchema.optional(),
45686
46036
  profileId: stringType().optional(),
45687
- testmode: nullableType(booleanType()).optional(),
46037
+ testmode: booleanType().optional(),
45688
46038
  idempotencyKey: stringType().optional()
45689
46039
  }).transform((v2) => {
45690
46040
  return remap(v2, {
@@ -45744,18 +46094,30 @@ var init_listallmethods = __esm(() => {
45744
46094
  });
45745
46095
 
45746
46096
  // src/models/operations/listallrefunds.ts
45747
- var ListAllRefundsRequest$inboundSchema, ListAllRefundsRequest$outboundSchema, ListAllRefundsRequest$, ListAllRefundsEmbedded$inboundSchema, ListAllRefundsEmbedded$outboundSchema, ListAllRefundsEmbedded$, ListAllRefundsResponse$inboundSchema, ListAllRefundsResponse$outboundSchema, ListAllRefundsResponse$;
46097
+ var ListAllRefundsGlobals$inboundSchema, ListAllRefundsGlobals$outboundSchema, ListAllRefundsGlobals$, ListAllRefundsRequest$inboundSchema, ListAllRefundsRequest$outboundSchema, ListAllRefundsRequest$, ListAllRefundsEmbedded$inboundSchema, ListAllRefundsEmbedded$outboundSchema, ListAllRefundsEmbedded$, ListAllRefundsResponse$inboundSchema, ListAllRefundsResponse$outboundSchema, ListAllRefundsResponse$;
45748
46098
  var init_listallrefunds = __esm(() => {
45749
46099
  init_esm();
45750
46100
  init_primitives();
45751
46101
  init_models();
46102
+ ListAllRefundsGlobals$inboundSchema = objectType({
46103
+ profileId: stringType().optional(),
46104
+ testmode: booleanType().optional()
46105
+ });
46106
+ ListAllRefundsGlobals$outboundSchema = objectType({
46107
+ profileId: stringType().optional(),
46108
+ testmode: booleanType().optional()
46109
+ });
46110
+ ((ListAllRefundsGlobals$) => {
46111
+ ListAllRefundsGlobals$.inboundSchema = ListAllRefundsGlobals$inboundSchema;
46112
+ ListAllRefundsGlobals$.outboundSchema = ListAllRefundsGlobals$outboundSchema;
46113
+ })(ListAllRefundsGlobals$ ||= {});
45752
46114
  ListAllRefundsRequest$inboundSchema = objectType({
45753
46115
  from: stringType().optional(),
45754
46116
  limit: nullableType(numberType().int()).optional(),
45755
46117
  sort: Sorting$inboundSchema.optional(),
45756
46118
  embed: nullableType(stringType()).optional(),
45757
46119
  profileId: stringType().optional(),
45758
- testmode: nullableType(booleanType()).optional(),
46120
+ testmode: booleanType().optional(),
45759
46121
  "idempotency-key": stringType().optional()
45760
46122
  }).transform((v2) => {
45761
46123
  return remap(v2, {
@@ -45768,7 +46130,7 @@ var init_listallrefunds = __esm(() => {
45768
46130
  sort: Sorting$outboundSchema.optional(),
45769
46131
  embed: nullableType(stringType()).optional(),
45770
46132
  profileId: stringType().optional(),
45771
- testmode: nullableType(booleanType()).optional(),
46133
+ testmode: booleanType().optional(),
45772
46134
  idempotencyKey: stringType().optional()
45773
46135
  }).transform((v2) => {
45774
46136
  return remap(v2, {
@@ -45816,16 +46178,28 @@ var init_listallrefunds = __esm(() => {
45816
46178
  });
45817
46179
 
45818
46180
  // src/models/operations/listallsubscriptions.ts
45819
- var ListAllSubscriptionsRequest$inboundSchema, ListAllSubscriptionsRequest$outboundSchema, ListAllSubscriptionsRequest$, ListAllSubscriptionsEmbedded$inboundSchema, ListAllSubscriptionsEmbedded$outboundSchema, ListAllSubscriptionsEmbedded$, ListAllSubscriptionsResponse$inboundSchema, ListAllSubscriptionsResponse$outboundSchema, ListAllSubscriptionsResponse$;
46181
+ var ListAllSubscriptionsGlobals$inboundSchema, ListAllSubscriptionsGlobals$outboundSchema, ListAllSubscriptionsGlobals$, ListAllSubscriptionsRequest$inboundSchema, ListAllSubscriptionsRequest$outboundSchema, ListAllSubscriptionsRequest$, ListAllSubscriptionsEmbedded$inboundSchema, ListAllSubscriptionsEmbedded$outboundSchema, ListAllSubscriptionsEmbedded$, ListAllSubscriptionsResponse$inboundSchema, ListAllSubscriptionsResponse$outboundSchema, ListAllSubscriptionsResponse$;
45820
46182
  var init_listallsubscriptions = __esm(() => {
45821
46183
  init_esm();
45822
46184
  init_primitives();
45823
46185
  init_models();
46186
+ ListAllSubscriptionsGlobals$inboundSchema = objectType({
46187
+ profileId: stringType().optional(),
46188
+ testmode: booleanType().optional()
46189
+ });
46190
+ ListAllSubscriptionsGlobals$outboundSchema = objectType({
46191
+ profileId: stringType().optional(),
46192
+ testmode: booleanType().optional()
46193
+ });
46194
+ ((ListAllSubscriptionsGlobals$) => {
46195
+ ListAllSubscriptionsGlobals$.inboundSchema = ListAllSubscriptionsGlobals$inboundSchema;
46196
+ ListAllSubscriptionsGlobals$.outboundSchema = ListAllSubscriptionsGlobals$outboundSchema;
46197
+ })(ListAllSubscriptionsGlobals$ ||= {});
45824
46198
  ListAllSubscriptionsRequest$inboundSchema = objectType({
45825
46199
  from: nullableType(stringType()).optional(),
45826
46200
  limit: nullableType(numberType().int()).optional(),
45827
46201
  profileId: nullableType(stringType()).optional(),
45828
- testmode: nullableType(booleanType()).optional(),
46202
+ testmode: booleanType().optional(),
45829
46203
  "idempotency-key": stringType().optional()
45830
46204
  }).transform((v2) => {
45831
46205
  return remap(v2, {
@@ -45836,7 +46210,7 @@ var init_listallsubscriptions = __esm(() => {
45836
46210
  from: nullableType(stringType()).optional(),
45837
46211
  limit: nullableType(numberType().int()).optional(),
45838
46212
  profileId: nullableType(stringType()).optional(),
45839
- testmode: nullableType(booleanType()).optional(),
46213
+ testmode: booleanType().optional(),
45840
46214
  idempotencyKey: stringType().optional()
45841
46215
  }).transform((v2) => {
45842
46216
  return remap(v2, {
@@ -45884,16 +46258,26 @@ var init_listallsubscriptions = __esm(() => {
45884
46258
  });
45885
46259
 
45886
46260
  // src/models/operations/listbalances.ts
45887
- var ListBalancesRequest$inboundSchema, ListBalancesRequest$outboundSchema, ListBalancesRequest$, ListBalancesEmbedded$inboundSchema, ListBalancesEmbedded$outboundSchema, ListBalancesEmbedded$, ListBalancesResponse$inboundSchema, ListBalancesResponse$outboundSchema, ListBalancesResponse$;
46261
+ var ListBalancesGlobals$inboundSchema, ListBalancesGlobals$outboundSchema, ListBalancesGlobals$, ListBalancesRequest$inboundSchema, ListBalancesRequest$outboundSchema, ListBalancesRequest$, ListBalancesEmbedded$inboundSchema, ListBalancesEmbedded$outboundSchema, ListBalancesEmbedded$, ListBalancesResponse$inboundSchema, ListBalancesResponse$outboundSchema, ListBalancesResponse$;
45888
46262
  var init_listbalances = __esm(() => {
45889
46263
  init_esm();
45890
46264
  init_primitives();
45891
46265
  init_models();
46266
+ ListBalancesGlobals$inboundSchema = objectType({
46267
+ testmode: booleanType().optional()
46268
+ });
46269
+ ListBalancesGlobals$outboundSchema = objectType({
46270
+ testmode: booleanType().optional()
46271
+ });
46272
+ ((ListBalancesGlobals$) => {
46273
+ ListBalancesGlobals$.inboundSchema = ListBalancesGlobals$inboundSchema;
46274
+ ListBalancesGlobals$.outboundSchema = ListBalancesGlobals$outboundSchema;
46275
+ })(ListBalancesGlobals$ ||= {});
45892
46276
  ListBalancesRequest$inboundSchema = objectType({
45893
46277
  currency: nullableType(stringType()).optional(),
45894
46278
  from: nullableType(stringType()).optional(),
45895
46279
  limit: nullableType(numberType().int()).optional(),
45896
- testmode: nullableType(booleanType()).optional(),
46280
+ testmode: booleanType().optional(),
45897
46281
  "idempotency-key": stringType().optional()
45898
46282
  }).transform((v2) => {
45899
46283
  return remap(v2, {
@@ -45904,7 +46288,7 @@ var init_listbalances = __esm(() => {
45904
46288
  currency: nullableType(stringType()).optional(),
45905
46289
  from: nullableType(stringType()).optional(),
45906
46290
  limit: nullableType(numberType().int()).optional(),
45907
- testmode: nullableType(booleanType()).optional(),
46291
+ testmode: booleanType().optional(),
45908
46292
  idempotencyKey: stringType().optional()
45909
46293
  }).transform((v2) => {
45910
46294
  return remap(v2, {
@@ -45952,16 +46336,26 @@ var init_listbalances = __esm(() => {
45952
46336
  });
45953
46337
 
45954
46338
  // src/models/operations/listbalancetransactions.ts
45955
- var ListBalanceTransactionsRequest$inboundSchema, ListBalanceTransactionsRequest$outboundSchema, ListBalanceTransactionsRequest$, ListBalanceTransactionsEmbedded$inboundSchema, ListBalanceTransactionsEmbedded$outboundSchema, ListBalanceTransactionsEmbedded$, ListBalanceTransactionsResponse$inboundSchema, ListBalanceTransactionsResponse$outboundSchema, ListBalanceTransactionsResponse$;
46339
+ var ListBalanceTransactionsGlobals$inboundSchema, ListBalanceTransactionsGlobals$outboundSchema, ListBalanceTransactionsGlobals$, ListBalanceTransactionsRequest$inboundSchema, ListBalanceTransactionsRequest$outboundSchema, ListBalanceTransactionsRequest$, ListBalanceTransactionsEmbedded$inboundSchema, ListBalanceTransactionsEmbedded$outboundSchema, ListBalanceTransactionsEmbedded$, ListBalanceTransactionsResponse$inboundSchema, ListBalanceTransactionsResponse$outboundSchema, ListBalanceTransactionsResponse$;
45956
46340
  var init_listbalancetransactions = __esm(() => {
45957
46341
  init_esm();
45958
46342
  init_primitives();
45959
46343
  init_models();
46344
+ ListBalanceTransactionsGlobals$inboundSchema = objectType({
46345
+ testmode: booleanType().optional()
46346
+ });
46347
+ ListBalanceTransactionsGlobals$outboundSchema = objectType({
46348
+ testmode: booleanType().optional()
46349
+ });
46350
+ ((ListBalanceTransactionsGlobals$) => {
46351
+ ListBalanceTransactionsGlobals$.inboundSchema = ListBalanceTransactionsGlobals$inboundSchema;
46352
+ ListBalanceTransactionsGlobals$.outboundSchema = ListBalanceTransactionsGlobals$outboundSchema;
46353
+ })(ListBalanceTransactionsGlobals$ ||= {});
45960
46354
  ListBalanceTransactionsRequest$inboundSchema = objectType({
45961
46355
  balanceId: stringType(),
45962
46356
  from: nullableType(stringType()).optional(),
45963
46357
  limit: nullableType(numberType().int()).optional(),
45964
- testmode: nullableType(booleanType()).optional(),
46358
+ testmode: booleanType().optional(),
45965
46359
  "idempotency-key": stringType().optional()
45966
46360
  }).transform((v2) => {
45967
46361
  return remap(v2, {
@@ -45972,7 +46366,7 @@ var init_listbalancetransactions = __esm(() => {
45972
46366
  balanceId: stringType(),
45973
46367
  from: nullableType(stringType()).optional(),
45974
46368
  limit: nullableType(numberType().int()).optional(),
45975
- testmode: nullableType(booleanType()).optional(),
46369
+ testmode: booleanType().optional(),
45976
46370
  idempotencyKey: stringType().optional()
45977
46371
  }).transform((v2) => {
45978
46372
  return remap(v2, {
@@ -46098,17 +46492,27 @@ var init_listcapabilities = __esm(() => {
46098
46492
  });
46099
46493
 
46100
46494
  // src/models/operations/listcaptures.ts
46101
- var ListCapturesRequest$inboundSchema, ListCapturesRequest$outboundSchema, ListCapturesRequest$, ListCapturesEmbedded$inboundSchema, ListCapturesEmbedded$outboundSchema, ListCapturesEmbedded$, ListCapturesResponse$inboundSchema, ListCapturesResponse$outboundSchema, ListCapturesResponse$;
46495
+ var ListCapturesGlobals$inboundSchema, ListCapturesGlobals$outboundSchema, ListCapturesGlobals$, ListCapturesRequest$inboundSchema, ListCapturesRequest$outboundSchema, ListCapturesRequest$, ListCapturesEmbedded$inboundSchema, ListCapturesEmbedded$outboundSchema, ListCapturesEmbedded$, ListCapturesResponse$inboundSchema, ListCapturesResponse$outboundSchema, ListCapturesResponse$;
46102
46496
  var init_listcaptures = __esm(() => {
46103
46497
  init_esm();
46104
46498
  init_primitives();
46105
46499
  init_models();
46500
+ ListCapturesGlobals$inboundSchema = objectType({
46501
+ testmode: booleanType().optional()
46502
+ });
46503
+ ListCapturesGlobals$outboundSchema = objectType({
46504
+ testmode: booleanType().optional()
46505
+ });
46506
+ ((ListCapturesGlobals$) => {
46507
+ ListCapturesGlobals$.inboundSchema = ListCapturesGlobals$inboundSchema;
46508
+ ListCapturesGlobals$.outboundSchema = ListCapturesGlobals$outboundSchema;
46509
+ })(ListCapturesGlobals$ ||= {});
46106
46510
  ListCapturesRequest$inboundSchema = objectType({
46107
46511
  paymentId: stringType(),
46108
46512
  from: stringType().optional(),
46109
46513
  limit: nullableType(numberType().int()).optional(),
46110
46514
  embed: nullableType(stringType()).optional(),
46111
- testmode: nullableType(booleanType()).optional(),
46515
+ testmode: booleanType().optional(),
46112
46516
  "idempotency-key": stringType().optional()
46113
46517
  }).transform((v2) => {
46114
46518
  return remap(v2, {
@@ -46120,7 +46524,7 @@ var init_listcaptures = __esm(() => {
46120
46524
  from: stringType().optional(),
46121
46525
  limit: nullableType(numberType().int()).optional(),
46122
46526
  embed: nullableType(stringType()).optional(),
46123
- testmode: nullableType(booleanType()).optional(),
46527
+ testmode: booleanType().optional(),
46124
46528
  idempotencyKey: stringType().optional()
46125
46529
  }).transform((v2) => {
46126
46530
  return remap(v2, {
@@ -46168,17 +46572,27 @@ var init_listcaptures = __esm(() => {
46168
46572
  });
46169
46573
 
46170
46574
  // src/models/operations/listchargebacks.ts
46171
- var ListChargebacksRequest$inboundSchema, ListChargebacksRequest$outboundSchema, ListChargebacksRequest$, ListChargebacksEmbedded$inboundSchema, ListChargebacksEmbedded$outboundSchema, ListChargebacksEmbedded$, ListChargebacksResponse$inboundSchema, ListChargebacksResponse$outboundSchema, ListChargebacksResponse$;
46575
+ var ListChargebacksGlobals$inboundSchema, ListChargebacksGlobals$outboundSchema, ListChargebacksGlobals$, ListChargebacksRequest$inboundSchema, ListChargebacksRequest$outboundSchema, ListChargebacksRequest$, ListChargebacksEmbedded$inboundSchema, ListChargebacksEmbedded$outboundSchema, ListChargebacksEmbedded$, ListChargebacksResponse$inboundSchema, ListChargebacksResponse$outboundSchema, ListChargebacksResponse$;
46172
46576
  var init_listchargebacks = __esm(() => {
46173
46577
  init_esm();
46174
46578
  init_primitives();
46175
46579
  init_models();
46580
+ ListChargebacksGlobals$inboundSchema = objectType({
46581
+ testmode: booleanType().optional()
46582
+ });
46583
+ ListChargebacksGlobals$outboundSchema = objectType({
46584
+ testmode: booleanType().optional()
46585
+ });
46586
+ ((ListChargebacksGlobals$) => {
46587
+ ListChargebacksGlobals$.inboundSchema = ListChargebacksGlobals$inboundSchema;
46588
+ ListChargebacksGlobals$.outboundSchema = ListChargebacksGlobals$outboundSchema;
46589
+ })(ListChargebacksGlobals$ ||= {});
46176
46590
  ListChargebacksRequest$inboundSchema = objectType({
46177
46591
  paymentId: stringType(),
46178
46592
  from: stringType().optional(),
46179
46593
  limit: nullableType(numberType().int()).optional(),
46180
46594
  embed: nullableType(stringType()).optional(),
46181
- testmode: nullableType(booleanType()).optional(),
46595
+ testmode: booleanType().optional(),
46182
46596
  "idempotency-key": stringType().optional()
46183
46597
  }).transform((v2) => {
46184
46598
  return remap(v2, {
@@ -46190,7 +46604,7 @@ var init_listchargebacks = __esm(() => {
46190
46604
  from: stringType().optional(),
46191
46605
  limit: nullableType(numberType().int()).optional(),
46192
46606
  embed: nullableType(stringType()).optional(),
46193
- testmode: nullableType(booleanType()).optional(),
46607
+ testmode: booleanType().optional(),
46194
46608
  idempotencyKey: stringType().optional()
46195
46609
  }).transform((v2) => {
46196
46610
  return remap(v2, {
@@ -46374,16 +46788,26 @@ var init_listclients = __esm(() => {
46374
46788
  });
46375
46789
 
46376
46790
  // src/models/operations/listconnectbalancetransfers.ts
46377
- var ListConnectBalanceTransfersRequest$inboundSchema, ListConnectBalanceTransfersRequest$outboundSchema, ListConnectBalanceTransfersRequest$, ListConnectBalanceTransfersEmbedded$inboundSchema, ListConnectBalanceTransfersEmbedded$outboundSchema, ListConnectBalanceTransfersEmbedded$, ListConnectBalanceTransfersResponse$inboundSchema, ListConnectBalanceTransfersResponse$outboundSchema, ListConnectBalanceTransfersResponse$;
46791
+ var ListConnectBalanceTransfersGlobals$inboundSchema, ListConnectBalanceTransfersGlobals$outboundSchema, ListConnectBalanceTransfersGlobals$, ListConnectBalanceTransfersRequest$inboundSchema, ListConnectBalanceTransfersRequest$outboundSchema, ListConnectBalanceTransfersRequest$, ListConnectBalanceTransfersEmbedded$inboundSchema, ListConnectBalanceTransfersEmbedded$outboundSchema, ListConnectBalanceTransfersEmbedded$, ListConnectBalanceTransfersResponse$inboundSchema, ListConnectBalanceTransfersResponse$outboundSchema, ListConnectBalanceTransfersResponse$;
46378
46792
  var init_listconnectbalancetransfers = __esm(() => {
46379
46793
  init_esm();
46380
46794
  init_primitives();
46381
46795
  init_models();
46796
+ ListConnectBalanceTransfersGlobals$inboundSchema = objectType({
46797
+ testmode: booleanType().optional()
46798
+ });
46799
+ ListConnectBalanceTransfersGlobals$outboundSchema = objectType({
46800
+ testmode: booleanType().optional()
46801
+ });
46802
+ ((ListConnectBalanceTransfersGlobals$) => {
46803
+ ListConnectBalanceTransfersGlobals$.inboundSchema = ListConnectBalanceTransfersGlobals$inboundSchema;
46804
+ ListConnectBalanceTransfersGlobals$.outboundSchema = ListConnectBalanceTransfersGlobals$outboundSchema;
46805
+ })(ListConnectBalanceTransfersGlobals$ ||= {});
46382
46806
  ListConnectBalanceTransfersRequest$inboundSchema = objectType({
46383
46807
  from: nullableType(stringType()).optional(),
46384
46808
  limit: nullableType(numberType().int()).optional(),
46385
46809
  sort: Sorting$inboundSchema.optional(),
46386
- testmode: nullableType(booleanType()).optional(),
46810
+ testmode: booleanType().optional(),
46387
46811
  "idempotency-key": stringType().optional()
46388
46812
  }).transform((v2) => {
46389
46813
  return remap(v2, {
@@ -46394,7 +46818,7 @@ var init_listconnectbalancetransfers = __esm(() => {
46394
46818
  from: nullableType(stringType()).optional(),
46395
46819
  limit: nullableType(numberType().int()).optional(),
46396
46820
  sort: Sorting$outboundSchema.optional(),
46397
- testmode: nullableType(booleanType()).optional(),
46821
+ testmode: booleanType().optional(),
46398
46822
  idempotencyKey: stringType().optional()
46399
46823
  }).transform((v2) => {
46400
46824
  return remap(v2, {
@@ -46450,18 +46874,30 @@ var init_listconnectbalancetransfers = __esm(() => {
46450
46874
  });
46451
46875
 
46452
46876
  // src/models/operations/listcustomerpayments.ts
46453
- var ListCustomerPaymentsRequest$inboundSchema, ListCustomerPaymentsRequest$outboundSchema, ListCustomerPaymentsRequest$, ListCustomerPaymentsEmbedded$inboundSchema, ListCustomerPaymentsEmbedded$outboundSchema, ListCustomerPaymentsEmbedded$, ListCustomerPaymentsResponse$inboundSchema, ListCustomerPaymentsResponse$outboundSchema, ListCustomerPaymentsResponse$;
46877
+ var ListCustomerPaymentsGlobals$inboundSchema, ListCustomerPaymentsGlobals$outboundSchema, ListCustomerPaymentsGlobals$, ListCustomerPaymentsRequest$inboundSchema, ListCustomerPaymentsRequest$outboundSchema, ListCustomerPaymentsRequest$, ListCustomerPaymentsEmbedded$inboundSchema, ListCustomerPaymentsEmbedded$outboundSchema, ListCustomerPaymentsEmbedded$, ListCustomerPaymentsResponse$inboundSchema, ListCustomerPaymentsResponse$outboundSchema, ListCustomerPaymentsResponse$;
46454
46878
  var init_listcustomerpayments = __esm(() => {
46455
46879
  init_esm();
46456
46880
  init_primitives();
46457
46881
  init_models();
46882
+ ListCustomerPaymentsGlobals$inboundSchema = objectType({
46883
+ profileId: stringType().optional(),
46884
+ testmode: booleanType().optional()
46885
+ });
46886
+ ListCustomerPaymentsGlobals$outboundSchema = objectType({
46887
+ profileId: stringType().optional(),
46888
+ testmode: booleanType().optional()
46889
+ });
46890
+ ((ListCustomerPaymentsGlobals$) => {
46891
+ ListCustomerPaymentsGlobals$.inboundSchema = ListCustomerPaymentsGlobals$inboundSchema;
46892
+ ListCustomerPaymentsGlobals$.outboundSchema = ListCustomerPaymentsGlobals$outboundSchema;
46893
+ })(ListCustomerPaymentsGlobals$ ||= {});
46458
46894
  ListCustomerPaymentsRequest$inboundSchema = objectType({
46459
46895
  customerId: stringType(),
46460
46896
  from: stringType().optional(),
46461
46897
  limit: nullableType(numberType().int()).optional(),
46462
46898
  sort: Sorting$inboundSchema.optional(),
46463
46899
  profileId: stringType().optional(),
46464
- testmode: nullableType(booleanType()).optional(),
46900
+ testmode: booleanType().optional(),
46465
46901
  "idempotency-key": stringType().optional()
46466
46902
  }).transform((v2) => {
46467
46903
  return remap(v2, {
@@ -46474,7 +46910,7 @@ var init_listcustomerpayments = __esm(() => {
46474
46910
  limit: nullableType(numberType().int()).optional(),
46475
46911
  sort: Sorting$outboundSchema.optional(),
46476
46912
  profileId: stringType().optional(),
46477
- testmode: nullableType(booleanType()).optional(),
46913
+ testmode: booleanType().optional(),
46478
46914
  idempotencyKey: stringType().optional()
46479
46915
  }).transform((v2) => {
46480
46916
  return remap(v2, {
@@ -46522,16 +46958,26 @@ var init_listcustomerpayments = __esm(() => {
46522
46958
  });
46523
46959
 
46524
46960
  // src/models/operations/listcustomers.ts
46525
- var ListCustomersRequest$inboundSchema, ListCustomersRequest$outboundSchema, ListCustomersRequest$, ListCustomersEmbedded$inboundSchema, ListCustomersEmbedded$outboundSchema, ListCustomersEmbedded$, ListCustomersResponse$inboundSchema, ListCustomersResponse$outboundSchema, ListCustomersResponse$;
46961
+ var ListCustomersGlobals$inboundSchema, ListCustomersGlobals$outboundSchema, ListCustomersGlobals$, ListCustomersRequest$inboundSchema, ListCustomersRequest$outboundSchema, ListCustomersRequest$, ListCustomersEmbedded$inboundSchema, ListCustomersEmbedded$outboundSchema, ListCustomersEmbedded$, ListCustomersResponse$inboundSchema, ListCustomersResponse$outboundSchema, ListCustomersResponse$;
46526
46962
  var init_listcustomers = __esm(() => {
46527
46963
  init_esm();
46528
46964
  init_primitives();
46529
46965
  init_models();
46966
+ ListCustomersGlobals$inboundSchema = objectType({
46967
+ testmode: booleanType().optional()
46968
+ });
46969
+ ListCustomersGlobals$outboundSchema = objectType({
46970
+ testmode: booleanType().optional()
46971
+ });
46972
+ ((ListCustomersGlobals$) => {
46973
+ ListCustomersGlobals$.inboundSchema = ListCustomersGlobals$inboundSchema;
46974
+ ListCustomersGlobals$.outboundSchema = ListCustomersGlobals$outboundSchema;
46975
+ })(ListCustomersGlobals$ ||= {});
46530
46976
  ListCustomersRequest$inboundSchema = objectType({
46531
46977
  from: stringType().optional(),
46532
46978
  limit: nullableType(numberType().int()).optional(),
46533
46979
  sort: Sorting$inboundSchema.optional(),
46534
- testmode: nullableType(booleanType()).optional(),
46980
+ testmode: booleanType().optional(),
46535
46981
  "idempotency-key": stringType().optional()
46536
46982
  }).transform((v2) => {
46537
46983
  return remap(v2, {
@@ -46542,7 +46988,7 @@ var init_listcustomers = __esm(() => {
46542
46988
  from: stringType().optional(),
46543
46989
  limit: nullableType(numberType().int()).optional(),
46544
46990
  sort: Sorting$outboundSchema.optional(),
46545
- testmode: nullableType(booleanType()).optional(),
46991
+ testmode: booleanType().optional(),
46546
46992
  idempotencyKey: stringType().optional()
46547
46993
  }).transform((v2) => {
46548
46994
  return remap(v2, {
@@ -46668,17 +47114,27 @@ var init_listinvoices = __esm(() => {
46668
47114
  });
46669
47115
 
46670
47116
  // src/models/operations/listmandates.ts
46671
- var ListMandatesRequest$inboundSchema, ListMandatesRequest$outboundSchema, ListMandatesRequest$, ListMandatesEmbedded$inboundSchema, ListMandatesEmbedded$outboundSchema, ListMandatesEmbedded$, ListMandatesResponse$inboundSchema, ListMandatesResponse$outboundSchema, ListMandatesResponse$;
47117
+ var ListMandatesGlobals$inboundSchema, ListMandatesGlobals$outboundSchema, ListMandatesGlobals$, ListMandatesRequest$inboundSchema, ListMandatesRequest$outboundSchema, ListMandatesRequest$, ListMandatesEmbedded$inboundSchema, ListMandatesEmbedded$outboundSchema, ListMandatesEmbedded$, ListMandatesResponse$inboundSchema, ListMandatesResponse$outboundSchema, ListMandatesResponse$;
46672
47118
  var init_listmandates = __esm(() => {
46673
47119
  init_esm();
46674
47120
  init_primitives();
46675
47121
  init_models();
47122
+ ListMandatesGlobals$inboundSchema = objectType({
47123
+ testmode: booleanType().optional()
47124
+ });
47125
+ ListMandatesGlobals$outboundSchema = objectType({
47126
+ testmode: booleanType().optional()
47127
+ });
47128
+ ((ListMandatesGlobals$) => {
47129
+ ListMandatesGlobals$.inboundSchema = ListMandatesGlobals$inboundSchema;
47130
+ ListMandatesGlobals$.outboundSchema = ListMandatesGlobals$outboundSchema;
47131
+ })(ListMandatesGlobals$ ||= {});
46676
47132
  ListMandatesRequest$inboundSchema = objectType({
46677
47133
  customerId: stringType(),
46678
47134
  from: stringType().optional(),
46679
47135
  limit: nullableType(numberType().int()).optional(),
46680
47136
  sort: Sorting$inboundSchema.optional(),
46681
- testmode: nullableType(booleanType()).optional(),
47137
+ testmode: booleanType().optional(),
46682
47138
  "idempotency-key": stringType().optional()
46683
47139
  }).transform((v2) => {
46684
47140
  return remap(v2, {
@@ -46690,7 +47146,7 @@ var init_listmandates = __esm(() => {
46690
47146
  from: stringType().optional(),
46691
47147
  limit: nullableType(numberType().int()).optional(),
46692
47148
  sort: Sorting$outboundSchema.optional(),
46693
- testmode: nullableType(booleanType()).optional(),
47149
+ testmode: booleanType().optional(),
46694
47150
  idempotencyKey: stringType().optional()
46695
47151
  }).transform((v2) => {
46696
47152
  return remap(v2, {
@@ -46738,11 +47194,23 @@ var init_listmandates = __esm(() => {
46738
47194
  });
46739
47195
 
46740
47196
  // src/models/operations/listmethods.ts
46741
- var ListMethodsRequest$inboundSchema, ListMethodsRequest$outboundSchema, ListMethodsRequest$, ListMethodsEmbedded$inboundSchema, ListMethodsEmbedded$outboundSchema, ListMethodsEmbedded$, ListMethodsLinks$inboundSchema, ListMethodsLinks$outboundSchema, ListMethodsLinks$, ListMethodsResponse$inboundSchema, ListMethodsResponse$outboundSchema, ListMethodsResponse$;
47197
+ var ListMethodsGlobals$inboundSchema, ListMethodsGlobals$outboundSchema, ListMethodsGlobals$, ListMethodsRequest$inboundSchema, ListMethodsRequest$outboundSchema, ListMethodsRequest$, ListMethodsEmbedded$inboundSchema, ListMethodsEmbedded$outboundSchema, ListMethodsEmbedded$, ListMethodsLinks$inboundSchema, ListMethodsLinks$outboundSchema, ListMethodsLinks$, ListMethodsResponse$inboundSchema, ListMethodsResponse$outboundSchema, ListMethodsResponse$;
46742
47198
  var init_listmethods = __esm(() => {
46743
47199
  init_esm();
46744
47200
  init_primitives();
46745
47201
  init_models();
47202
+ ListMethodsGlobals$inboundSchema = objectType({
47203
+ profileId: stringType().optional(),
47204
+ testmode: booleanType().optional()
47205
+ });
47206
+ ListMethodsGlobals$outboundSchema = objectType({
47207
+ profileId: stringType().optional(),
47208
+ testmode: booleanType().optional()
47209
+ });
47210
+ ((ListMethodsGlobals$) => {
47211
+ ListMethodsGlobals$.inboundSchema = ListMethodsGlobals$inboundSchema;
47212
+ ListMethodsGlobals$.outboundSchema = ListMethodsGlobals$outboundSchema;
47213
+ })(ListMethodsGlobals$ ||= {});
46746
47214
  ListMethodsRequest$inboundSchema = objectType({
46747
47215
  sequenceType: SequenceType$inboundSchema.optional(),
46748
47216
  locale: nullableType(Locale$inboundSchema).optional(),
@@ -46753,7 +47221,7 @@ var init_listmethods = __esm(() => {
46753
47221
  orderLineCategories: LineCategories$inboundSchema.optional(),
46754
47222
  profileId: stringType().optional(),
46755
47223
  include: nullableType(stringType()).optional(),
46756
- testmode: nullableType(booleanType()).optional(),
47224
+ testmode: booleanType().optional(),
46757
47225
  "idempotency-key": stringType().optional()
46758
47226
  }).transform((v2) => {
46759
47227
  return remap(v2, {
@@ -46770,7 +47238,7 @@ var init_listmethods = __esm(() => {
46770
47238
  orderLineCategories: LineCategories$outboundSchema.optional(),
46771
47239
  profileId: stringType().optional(),
46772
47240
  include: nullableType(stringType()).optional(),
46773
- testmode: nullableType(booleanType()).optional(),
47241
+ testmode: booleanType().optional(),
46774
47242
  idempotencyKey: stringType().optional()
46775
47243
  }).transform((v2) => {
46776
47244
  return remap(v2, {
@@ -46830,15 +47298,25 @@ var init_listmethods = __esm(() => {
46830
47298
  });
46831
47299
 
46832
47300
  // src/models/operations/listpaymentlinks.ts
46833
- var ListPaymentLinksRequest$inboundSchema, ListPaymentLinksRequest$outboundSchema, ListPaymentLinksRequest$, ListPaymentLinksEmbedded$inboundSchema, ListPaymentLinksEmbedded$outboundSchema, ListPaymentLinksEmbedded$, ListPaymentLinksResponse$inboundSchema, ListPaymentLinksResponse$outboundSchema, ListPaymentLinksResponse$;
47301
+ var ListPaymentLinksGlobals$inboundSchema, ListPaymentLinksGlobals$outboundSchema, ListPaymentLinksGlobals$, ListPaymentLinksRequest$inboundSchema, ListPaymentLinksRequest$outboundSchema, ListPaymentLinksRequest$, ListPaymentLinksEmbedded$inboundSchema, ListPaymentLinksEmbedded$outboundSchema, ListPaymentLinksEmbedded$, ListPaymentLinksResponse$inboundSchema, ListPaymentLinksResponse$outboundSchema, ListPaymentLinksResponse$;
46834
47302
  var init_listpaymentlinks = __esm(() => {
46835
47303
  init_esm();
46836
47304
  init_primitives();
46837
47305
  init_models();
47306
+ ListPaymentLinksGlobals$inboundSchema = objectType({
47307
+ testmode: booleanType().optional()
47308
+ });
47309
+ ListPaymentLinksGlobals$outboundSchema = objectType({
47310
+ testmode: booleanType().optional()
47311
+ });
47312
+ ((ListPaymentLinksGlobals$) => {
47313
+ ListPaymentLinksGlobals$.inboundSchema = ListPaymentLinksGlobals$inboundSchema;
47314
+ ListPaymentLinksGlobals$.outboundSchema = ListPaymentLinksGlobals$outboundSchema;
47315
+ })(ListPaymentLinksGlobals$ ||= {});
46838
47316
  ListPaymentLinksRequest$inboundSchema = objectType({
46839
47317
  from: stringType().optional(),
46840
47318
  limit: nullableType(numberType().int()).optional(),
46841
- testmode: nullableType(booleanType()).optional(),
47319
+ testmode: booleanType().optional(),
46842
47320
  "idempotency-key": stringType().optional()
46843
47321
  }).transform((v2) => {
46844
47322
  return remap(v2, {
@@ -46848,7 +47326,7 @@ var init_listpaymentlinks = __esm(() => {
46848
47326
  ListPaymentLinksRequest$outboundSchema = objectType({
46849
47327
  from: stringType().optional(),
46850
47328
  limit: nullableType(numberType().int()).optional(),
46851
- testmode: nullableType(booleanType()).optional(),
47329
+ testmode: booleanType().optional(),
46852
47330
  idempotencyKey: stringType().optional()
46853
47331
  }).transform((v2) => {
46854
47332
  return remap(v2, {
@@ -46904,17 +47382,29 @@ var init_listpaymentlinks = __esm(() => {
46904
47382
  });
46905
47383
 
46906
47384
  // src/models/operations/listpayments.ts
46907
- var ListPaymentsRequest$inboundSchema, ListPaymentsRequest$outboundSchema, ListPaymentsRequest$, ListPaymentsEmbedded$inboundSchema, ListPaymentsEmbedded$outboundSchema, ListPaymentsEmbedded$, ListPaymentsResponse$inboundSchema, ListPaymentsResponse$outboundSchema, ListPaymentsResponse$;
47385
+ var ListPaymentsGlobals$inboundSchema, ListPaymentsGlobals$outboundSchema, ListPaymentsGlobals$, ListPaymentsRequest$inboundSchema, ListPaymentsRequest$outboundSchema, ListPaymentsRequest$, ListPaymentsEmbedded$inboundSchema, ListPaymentsEmbedded$outboundSchema, ListPaymentsEmbedded$, ListPaymentsResponse$inboundSchema, ListPaymentsResponse$outboundSchema, ListPaymentsResponse$;
46908
47386
  var init_listpayments = __esm(() => {
46909
47387
  init_esm();
46910
47388
  init_primitives();
46911
47389
  init_models();
47390
+ ListPaymentsGlobals$inboundSchema = objectType({
47391
+ profileId: stringType().optional(),
47392
+ testmode: booleanType().optional()
47393
+ });
47394
+ ListPaymentsGlobals$outboundSchema = objectType({
47395
+ profileId: stringType().optional(),
47396
+ testmode: booleanType().optional()
47397
+ });
47398
+ ((ListPaymentsGlobals$) => {
47399
+ ListPaymentsGlobals$.inboundSchema = ListPaymentsGlobals$inboundSchema;
47400
+ ListPaymentsGlobals$.outboundSchema = ListPaymentsGlobals$outboundSchema;
47401
+ })(ListPaymentsGlobals$ ||= {});
46912
47402
  ListPaymentsRequest$inboundSchema = objectType({
46913
47403
  from: stringType().optional(),
46914
47404
  limit: nullableType(numberType().int()).optional(),
46915
47405
  sort: Sorting$inboundSchema.optional(),
46916
47406
  profileId: stringType().optional(),
46917
- testmode: nullableType(booleanType()).optional(),
47407
+ testmode: booleanType().optional(),
46918
47408
  "idempotency-key": stringType().optional()
46919
47409
  }).transform((v2) => {
46920
47410
  return remap(v2, {
@@ -46926,7 +47416,7 @@ var init_listpayments = __esm(() => {
46926
47416
  limit: nullableType(numberType().int()).optional(),
46927
47417
  sort: Sorting$outboundSchema.optional(),
46928
47418
  profileId: stringType().optional(),
46929
- testmode: nullableType(booleanType()).optional(),
47419
+ testmode: booleanType().optional(),
46930
47420
  idempotencyKey: stringType().optional()
46931
47421
  }).transform((v2) => {
46932
47422
  return remap(v2, {
@@ -47110,17 +47600,27 @@ var init_listprofiles = __esm(() => {
47110
47600
  });
47111
47601
 
47112
47602
  // src/models/operations/listrefunds.ts
47113
- var ListRefundsRequest$inboundSchema, ListRefundsRequest$outboundSchema, ListRefundsRequest$, ListRefundsEmbedded$inboundSchema, ListRefundsEmbedded$outboundSchema, ListRefundsEmbedded$, ListRefundsResponse$inboundSchema, ListRefundsResponse$outboundSchema, ListRefundsResponse$;
47603
+ var ListRefundsGlobals$inboundSchema, ListRefundsGlobals$outboundSchema, ListRefundsGlobals$, ListRefundsRequest$inboundSchema, ListRefundsRequest$outboundSchema, ListRefundsRequest$, ListRefundsEmbedded$inboundSchema, ListRefundsEmbedded$outboundSchema, ListRefundsEmbedded$, ListRefundsResponse$inboundSchema, ListRefundsResponse$outboundSchema, ListRefundsResponse$;
47114
47604
  var init_listrefunds = __esm(() => {
47115
47605
  init_esm();
47116
47606
  init_primitives();
47117
47607
  init_models();
47608
+ ListRefundsGlobals$inboundSchema = objectType({
47609
+ testmode: booleanType().optional()
47610
+ });
47611
+ ListRefundsGlobals$outboundSchema = objectType({
47612
+ testmode: booleanType().optional()
47613
+ });
47614
+ ((ListRefundsGlobals$) => {
47615
+ ListRefundsGlobals$.inboundSchema = ListRefundsGlobals$inboundSchema;
47616
+ ListRefundsGlobals$.outboundSchema = ListRefundsGlobals$outboundSchema;
47617
+ })(ListRefundsGlobals$ ||= {});
47118
47618
  ListRefundsRequest$inboundSchema = objectType({
47119
47619
  paymentId: stringType(),
47120
47620
  from: stringType().optional(),
47121
47621
  limit: nullableType(numberType().int()).optional(),
47122
47622
  embed: nullableType(stringType()).optional(),
47123
- testmode: nullableType(booleanType()).optional(),
47623
+ testmode: booleanType().optional(),
47124
47624
  "idempotency-key": stringType().optional()
47125
47625
  }).transform((v2) => {
47126
47626
  return remap(v2, {
@@ -47132,7 +47632,7 @@ var init_listrefunds = __esm(() => {
47132
47632
  from: stringType().optional(),
47133
47633
  limit: nullableType(numberType().int()).optional(),
47134
47634
  embed: nullableType(stringType()).optional(),
47135
- testmode: nullableType(booleanType()).optional(),
47635
+ testmode: booleanType().optional(),
47136
47636
  idempotencyKey: stringType().optional()
47137
47637
  }).transform((v2) => {
47138
47638
  return remap(v2, {
@@ -47180,15 +47680,25 @@ var init_listrefunds = __esm(() => {
47180
47680
  });
47181
47681
 
47182
47682
  // src/models/operations/listsalesinvoices.ts
47183
- var ListSalesInvoicesRequest$inboundSchema, ListSalesInvoicesRequest$outboundSchema, ListSalesInvoicesRequest$, ListSalesInvoicesEmbedded$inboundSchema, ListSalesInvoicesEmbedded$outboundSchema, ListSalesInvoicesEmbedded$, ListSalesInvoicesResponse$inboundSchema, ListSalesInvoicesResponse$outboundSchema, ListSalesInvoicesResponse$;
47683
+ var ListSalesInvoicesGlobals$inboundSchema, ListSalesInvoicesGlobals$outboundSchema, ListSalesInvoicesGlobals$, ListSalesInvoicesRequest$inboundSchema, ListSalesInvoicesRequest$outboundSchema, ListSalesInvoicesRequest$, ListSalesInvoicesEmbedded$inboundSchema, ListSalesInvoicesEmbedded$outboundSchema, ListSalesInvoicesEmbedded$, ListSalesInvoicesResponse$inboundSchema, ListSalesInvoicesResponse$outboundSchema, ListSalesInvoicesResponse$;
47184
47684
  var init_listsalesinvoices = __esm(() => {
47185
47685
  init_esm();
47186
47686
  init_primitives();
47187
47687
  init_models();
47688
+ ListSalesInvoicesGlobals$inboundSchema = objectType({
47689
+ testmode: booleanType().optional()
47690
+ });
47691
+ ListSalesInvoicesGlobals$outboundSchema = objectType({
47692
+ testmode: booleanType().optional()
47693
+ });
47694
+ ((ListSalesInvoicesGlobals$) => {
47695
+ ListSalesInvoicesGlobals$.inboundSchema = ListSalesInvoicesGlobals$inboundSchema;
47696
+ ListSalesInvoicesGlobals$.outboundSchema = ListSalesInvoicesGlobals$outboundSchema;
47697
+ })(ListSalesInvoicesGlobals$ ||= {});
47188
47698
  ListSalesInvoicesRequest$inboundSchema = objectType({
47189
47699
  from: nullableType(stringType()).optional(),
47190
47700
  limit: nullableType(numberType().int()).optional(),
47191
- testmode: nullableType(booleanType()).optional(),
47701
+ testmode: booleanType().optional(),
47192
47702
  "idempotency-key": stringType().optional()
47193
47703
  }).transform((v2) => {
47194
47704
  return remap(v2, {
@@ -47198,7 +47708,7 @@ var init_listsalesinvoices = __esm(() => {
47198
47708
  ListSalesInvoicesRequest$outboundSchema = objectType({
47199
47709
  from: nullableType(stringType()).optional(),
47200
47710
  limit: nullableType(numberType().int()).optional(),
47201
- testmode: nullableType(booleanType()).optional(),
47711
+ testmode: booleanType().optional(),
47202
47712
  idempotencyKey: stringType().optional()
47203
47713
  }).transform((v2) => {
47204
47714
  return remap(v2, {
@@ -47254,17 +47764,27 @@ var init_listsalesinvoices = __esm(() => {
47254
47764
  });
47255
47765
 
47256
47766
  // src/models/operations/listsettlementcaptures.ts
47257
- var ListSettlementCapturesRequest$inboundSchema, ListSettlementCapturesRequest$outboundSchema, ListSettlementCapturesRequest$, ListSettlementCapturesEmbedded$inboundSchema, ListSettlementCapturesEmbedded$outboundSchema, ListSettlementCapturesEmbedded$, ListSettlementCapturesResponse$inboundSchema, ListSettlementCapturesResponse$outboundSchema, ListSettlementCapturesResponse$;
47767
+ var ListSettlementCapturesGlobals$inboundSchema, ListSettlementCapturesGlobals$outboundSchema, ListSettlementCapturesGlobals$, ListSettlementCapturesRequest$inboundSchema, ListSettlementCapturesRequest$outboundSchema, ListSettlementCapturesRequest$, ListSettlementCapturesEmbedded$inboundSchema, ListSettlementCapturesEmbedded$outboundSchema, ListSettlementCapturesEmbedded$, ListSettlementCapturesResponse$inboundSchema, ListSettlementCapturesResponse$outboundSchema, ListSettlementCapturesResponse$;
47258
47768
  var init_listsettlementcaptures = __esm(() => {
47259
47769
  init_esm();
47260
47770
  init_primitives();
47261
47771
  init_models();
47772
+ ListSettlementCapturesGlobals$inboundSchema = objectType({
47773
+ testmode: booleanType().optional()
47774
+ });
47775
+ ListSettlementCapturesGlobals$outboundSchema = objectType({
47776
+ testmode: booleanType().optional()
47777
+ });
47778
+ ((ListSettlementCapturesGlobals$) => {
47779
+ ListSettlementCapturesGlobals$.inboundSchema = ListSettlementCapturesGlobals$inboundSchema;
47780
+ ListSettlementCapturesGlobals$.outboundSchema = ListSettlementCapturesGlobals$outboundSchema;
47781
+ })(ListSettlementCapturesGlobals$ ||= {});
47262
47782
  ListSettlementCapturesRequest$inboundSchema = objectType({
47263
47783
  settlementId: stringType(),
47264
47784
  from: stringType().optional(),
47265
47785
  limit: nullableType(numberType().int()).optional(),
47266
47786
  embed: nullableType(stringType()).optional(),
47267
- testmode: nullableType(booleanType()).optional(),
47787
+ testmode: booleanType().optional(),
47268
47788
  "idempotency-key": stringType().optional()
47269
47789
  }).transform((v2) => {
47270
47790
  return remap(v2, {
@@ -47276,7 +47796,7 @@ var init_listsettlementcaptures = __esm(() => {
47276
47796
  from: stringType().optional(),
47277
47797
  limit: nullableType(numberType().int()).optional(),
47278
47798
  embed: nullableType(stringType()).optional(),
47279
- testmode: nullableType(booleanType()).optional(),
47799
+ testmode: booleanType().optional(),
47280
47800
  idempotencyKey: stringType().optional()
47281
47801
  }).transform((v2) => {
47282
47802
  return remap(v2, {
@@ -47324,17 +47844,27 @@ var init_listsettlementcaptures = __esm(() => {
47324
47844
  });
47325
47845
 
47326
47846
  // src/models/operations/listsettlementchargebacks.ts
47327
- var ListSettlementChargebacksRequest$inboundSchema, ListSettlementChargebacksRequest$outboundSchema, ListSettlementChargebacksRequest$, ListSettlementChargebacksEmbedded$inboundSchema, ListSettlementChargebacksEmbedded$outboundSchema, ListSettlementChargebacksEmbedded$, ListSettlementChargebacksResponse$inboundSchema, ListSettlementChargebacksResponse$outboundSchema, ListSettlementChargebacksResponse$;
47847
+ var ListSettlementChargebacksGlobals$inboundSchema, ListSettlementChargebacksGlobals$outboundSchema, ListSettlementChargebacksGlobals$, ListSettlementChargebacksRequest$inboundSchema, ListSettlementChargebacksRequest$outboundSchema, ListSettlementChargebacksRequest$, ListSettlementChargebacksEmbedded$inboundSchema, ListSettlementChargebacksEmbedded$outboundSchema, ListSettlementChargebacksEmbedded$, ListSettlementChargebacksResponse$inboundSchema, ListSettlementChargebacksResponse$outboundSchema, ListSettlementChargebacksResponse$;
47328
47848
  var init_listsettlementchargebacks = __esm(() => {
47329
47849
  init_esm();
47330
47850
  init_primitives();
47331
47851
  init_models();
47852
+ ListSettlementChargebacksGlobals$inboundSchema = objectType({
47853
+ testmode: booleanType().optional()
47854
+ });
47855
+ ListSettlementChargebacksGlobals$outboundSchema = objectType({
47856
+ testmode: booleanType().optional()
47857
+ });
47858
+ ((ListSettlementChargebacksGlobals$) => {
47859
+ ListSettlementChargebacksGlobals$.inboundSchema = ListSettlementChargebacksGlobals$inboundSchema;
47860
+ ListSettlementChargebacksGlobals$.outboundSchema = ListSettlementChargebacksGlobals$outboundSchema;
47861
+ })(ListSettlementChargebacksGlobals$ ||= {});
47332
47862
  ListSettlementChargebacksRequest$inboundSchema = objectType({
47333
47863
  settlementId: stringType(),
47334
47864
  from: stringType().optional(),
47335
47865
  limit: nullableType(numberType().int()).optional(),
47336
47866
  embed: nullableType(stringType()).optional(),
47337
- testmode: nullableType(booleanType()).optional(),
47867
+ testmode: booleanType().optional(),
47338
47868
  "idempotency-key": stringType().optional()
47339
47869
  }).transform((v2) => {
47340
47870
  return remap(v2, {
@@ -47346,7 +47876,7 @@ var init_listsettlementchargebacks = __esm(() => {
47346
47876
  from: stringType().optional(),
47347
47877
  limit: nullableType(numberType().int()).optional(),
47348
47878
  embed: nullableType(stringType()).optional(),
47349
- testmode: nullableType(booleanType()).optional(),
47879
+ testmode: booleanType().optional(),
47350
47880
  idempotencyKey: stringType().optional()
47351
47881
  }).transform((v2) => {
47352
47882
  return remap(v2, {
@@ -47394,18 +47924,30 @@ var init_listsettlementchargebacks = __esm(() => {
47394
47924
  });
47395
47925
 
47396
47926
  // src/models/operations/listsettlementpayments.ts
47397
- var ListSettlementPaymentsRequest$inboundSchema, ListSettlementPaymentsRequest$outboundSchema, ListSettlementPaymentsRequest$, ListSettlementPaymentsEmbedded$inboundSchema, ListSettlementPaymentsEmbedded$outboundSchema, ListSettlementPaymentsEmbedded$, ListSettlementPaymentsResponse$inboundSchema, ListSettlementPaymentsResponse$outboundSchema, ListSettlementPaymentsResponse$;
47927
+ var ListSettlementPaymentsGlobals$inboundSchema, ListSettlementPaymentsGlobals$outboundSchema, ListSettlementPaymentsGlobals$, ListSettlementPaymentsRequest$inboundSchema, ListSettlementPaymentsRequest$outboundSchema, ListSettlementPaymentsRequest$, ListSettlementPaymentsEmbedded$inboundSchema, ListSettlementPaymentsEmbedded$outboundSchema, ListSettlementPaymentsEmbedded$, ListSettlementPaymentsResponse$inboundSchema, ListSettlementPaymentsResponse$outboundSchema, ListSettlementPaymentsResponse$;
47398
47928
  var init_listsettlementpayments = __esm(() => {
47399
47929
  init_esm();
47400
47930
  init_primitives();
47401
47931
  init_models();
47932
+ ListSettlementPaymentsGlobals$inboundSchema = objectType({
47933
+ profileId: stringType().optional(),
47934
+ testmode: booleanType().optional()
47935
+ });
47936
+ ListSettlementPaymentsGlobals$outboundSchema = objectType({
47937
+ profileId: stringType().optional(),
47938
+ testmode: booleanType().optional()
47939
+ });
47940
+ ((ListSettlementPaymentsGlobals$) => {
47941
+ ListSettlementPaymentsGlobals$.inboundSchema = ListSettlementPaymentsGlobals$inboundSchema;
47942
+ ListSettlementPaymentsGlobals$.outboundSchema = ListSettlementPaymentsGlobals$outboundSchema;
47943
+ })(ListSettlementPaymentsGlobals$ ||= {});
47402
47944
  ListSettlementPaymentsRequest$inboundSchema = objectType({
47403
47945
  settlementId: stringType(),
47404
47946
  from: stringType().optional(),
47405
47947
  limit: nullableType(numberType().int()).optional(),
47406
47948
  sort: Sorting$inboundSchema.optional(),
47407
47949
  profileId: stringType().optional(),
47408
- testmode: nullableType(booleanType()).optional(),
47950
+ testmode: booleanType().optional(),
47409
47951
  "idempotency-key": stringType().optional()
47410
47952
  }).transform((v2) => {
47411
47953
  return remap(v2, {
@@ -47418,7 +47960,7 @@ var init_listsettlementpayments = __esm(() => {
47418
47960
  limit: nullableType(numberType().int()).optional(),
47419
47961
  sort: Sorting$outboundSchema.optional(),
47420
47962
  profileId: stringType().optional(),
47421
- testmode: nullableType(booleanType()).optional(),
47963
+ testmode: booleanType().optional(),
47422
47964
  idempotencyKey: stringType().optional()
47423
47965
  }).transform((v2) => {
47424
47966
  return remap(v2, {
@@ -47466,17 +48008,27 @@ var init_listsettlementpayments = __esm(() => {
47466
48008
  });
47467
48009
 
47468
48010
  // src/models/operations/listsettlementrefunds.ts
47469
- var ListSettlementRefundsRequest$inboundSchema, ListSettlementRefundsRequest$outboundSchema, ListSettlementRefundsRequest$, ListSettlementRefundsEmbedded$inboundSchema, ListSettlementRefundsEmbedded$outboundSchema, ListSettlementRefundsEmbedded$, ListSettlementRefundsResponse$inboundSchema, ListSettlementRefundsResponse$outboundSchema, ListSettlementRefundsResponse$;
48011
+ var ListSettlementRefundsGlobals$inboundSchema, ListSettlementRefundsGlobals$outboundSchema, ListSettlementRefundsGlobals$, ListSettlementRefundsRequest$inboundSchema, ListSettlementRefundsRequest$outboundSchema, ListSettlementRefundsRequest$, ListSettlementRefundsEmbedded$inboundSchema, ListSettlementRefundsEmbedded$outboundSchema, ListSettlementRefundsEmbedded$, ListSettlementRefundsResponse$inboundSchema, ListSettlementRefundsResponse$outboundSchema, ListSettlementRefundsResponse$;
47470
48012
  var init_listsettlementrefunds = __esm(() => {
47471
48013
  init_esm();
47472
48014
  init_primitives();
47473
48015
  init_models();
48016
+ ListSettlementRefundsGlobals$inboundSchema = objectType({
48017
+ testmode: booleanType().optional()
48018
+ });
48019
+ ListSettlementRefundsGlobals$outboundSchema = objectType({
48020
+ testmode: booleanType().optional()
48021
+ });
48022
+ ((ListSettlementRefundsGlobals$) => {
48023
+ ListSettlementRefundsGlobals$.inboundSchema = ListSettlementRefundsGlobals$inboundSchema;
48024
+ ListSettlementRefundsGlobals$.outboundSchema = ListSettlementRefundsGlobals$outboundSchema;
48025
+ })(ListSettlementRefundsGlobals$ ||= {});
47474
48026
  ListSettlementRefundsRequest$inboundSchema = objectType({
47475
48027
  settlementId: stringType(),
47476
48028
  from: stringType().optional(),
47477
48029
  limit: nullableType(numberType().int()).optional(),
47478
48030
  embed: nullableType(stringType()).optional(),
47479
- testmode: nullableType(booleanType()).optional(),
48031
+ testmode: booleanType().optional(),
47480
48032
  "idempotency-key": stringType().optional()
47481
48033
  }).transform((v2) => {
47482
48034
  return remap(v2, {
@@ -47488,7 +48040,7 @@ var init_listsettlementrefunds = __esm(() => {
47488
48040
  from: stringType().optional(),
47489
48041
  limit: nullableType(numberType().int()).optional(),
47490
48042
  embed: nullableType(stringType()).optional(),
47491
- testmode: nullableType(booleanType()).optional(),
48043
+ testmode: booleanType().optional(),
47492
48044
  idempotencyKey: stringType().optional()
47493
48045
  }).transform((v2) => {
47494
48046
  return remap(v2, {
@@ -47608,11 +48160,23 @@ var init_listsettlements = __esm(() => {
47608
48160
  });
47609
48161
 
47610
48162
  // src/models/operations/listsubscriptionpayments.ts
47611
- var ListSubscriptionPaymentsRequest$inboundSchema, ListSubscriptionPaymentsRequest$outboundSchema, ListSubscriptionPaymentsRequest$, ListSubscriptionPaymentsEmbedded$inboundSchema, ListSubscriptionPaymentsEmbedded$outboundSchema, ListSubscriptionPaymentsEmbedded$, ListSubscriptionPaymentsResponse$inboundSchema, ListSubscriptionPaymentsResponse$outboundSchema, ListSubscriptionPaymentsResponse$;
48163
+ var ListSubscriptionPaymentsGlobals$inboundSchema, ListSubscriptionPaymentsGlobals$outboundSchema, ListSubscriptionPaymentsGlobals$, ListSubscriptionPaymentsRequest$inboundSchema, ListSubscriptionPaymentsRequest$outboundSchema, ListSubscriptionPaymentsRequest$, ListSubscriptionPaymentsEmbedded$inboundSchema, ListSubscriptionPaymentsEmbedded$outboundSchema, ListSubscriptionPaymentsEmbedded$, ListSubscriptionPaymentsResponse$inboundSchema, ListSubscriptionPaymentsResponse$outboundSchema, ListSubscriptionPaymentsResponse$;
47612
48164
  var init_listsubscriptionpayments = __esm(() => {
47613
48165
  init_esm();
47614
48166
  init_primitives();
47615
48167
  init_models();
48168
+ ListSubscriptionPaymentsGlobals$inboundSchema = objectType({
48169
+ profileId: stringType().optional(),
48170
+ testmode: booleanType().optional()
48171
+ });
48172
+ ListSubscriptionPaymentsGlobals$outboundSchema = objectType({
48173
+ profileId: stringType().optional(),
48174
+ testmode: booleanType().optional()
48175
+ });
48176
+ ((ListSubscriptionPaymentsGlobals$) => {
48177
+ ListSubscriptionPaymentsGlobals$.inboundSchema = ListSubscriptionPaymentsGlobals$inboundSchema;
48178
+ ListSubscriptionPaymentsGlobals$.outboundSchema = ListSubscriptionPaymentsGlobals$outboundSchema;
48179
+ })(ListSubscriptionPaymentsGlobals$ ||= {});
47616
48180
  ListSubscriptionPaymentsRequest$inboundSchema = objectType({
47617
48181
  customerId: stringType(),
47618
48182
  subscriptionId: stringType(),
@@ -47620,7 +48184,7 @@ var init_listsubscriptionpayments = __esm(() => {
47620
48184
  limit: nullableType(numberType().int()).optional(),
47621
48185
  sort: Sorting$inboundSchema.optional(),
47622
48186
  profileId: stringType().optional(),
47623
- testmode: nullableType(booleanType()).optional(),
48187
+ testmode: booleanType().optional(),
47624
48188
  "idempotency-key": stringType().optional()
47625
48189
  }).transform((v2) => {
47626
48190
  return remap(v2, {
@@ -47634,7 +48198,7 @@ var init_listsubscriptionpayments = __esm(() => {
47634
48198
  limit: nullableType(numberType().int()).optional(),
47635
48199
  sort: Sorting$outboundSchema.optional(),
47636
48200
  profileId: stringType().optional(),
47637
- testmode: nullableType(booleanType()).optional(),
48201
+ testmode: booleanType().optional(),
47638
48202
  idempotencyKey: stringType().optional()
47639
48203
  }).transform((v2) => {
47640
48204
  return remap(v2, {
@@ -47682,17 +48246,27 @@ var init_listsubscriptionpayments = __esm(() => {
47682
48246
  });
47683
48247
 
47684
48248
  // src/models/operations/listsubscriptions.ts
47685
- var ListSubscriptionsRequest$inboundSchema, ListSubscriptionsRequest$outboundSchema, ListSubscriptionsRequest$, ListSubscriptionsEmbedded$inboundSchema, ListSubscriptionsEmbedded$outboundSchema, ListSubscriptionsEmbedded$, ListSubscriptionsResponse$inboundSchema, ListSubscriptionsResponse$outboundSchema, ListSubscriptionsResponse$;
48249
+ var ListSubscriptionsGlobals$inboundSchema, ListSubscriptionsGlobals$outboundSchema, ListSubscriptionsGlobals$, ListSubscriptionsRequest$inboundSchema, ListSubscriptionsRequest$outboundSchema, ListSubscriptionsRequest$, ListSubscriptionsEmbedded$inboundSchema, ListSubscriptionsEmbedded$outboundSchema, ListSubscriptionsEmbedded$, ListSubscriptionsResponse$inboundSchema, ListSubscriptionsResponse$outboundSchema, ListSubscriptionsResponse$;
47686
48250
  var init_listsubscriptions = __esm(() => {
47687
48251
  init_esm();
47688
48252
  init_primitives();
47689
48253
  init_models();
48254
+ ListSubscriptionsGlobals$inboundSchema = objectType({
48255
+ testmode: booleanType().optional()
48256
+ });
48257
+ ListSubscriptionsGlobals$outboundSchema = objectType({
48258
+ testmode: booleanType().optional()
48259
+ });
48260
+ ((ListSubscriptionsGlobals$) => {
48261
+ ListSubscriptionsGlobals$.inboundSchema = ListSubscriptionsGlobals$inboundSchema;
48262
+ ListSubscriptionsGlobals$.outboundSchema = ListSubscriptionsGlobals$outboundSchema;
48263
+ })(ListSubscriptionsGlobals$ ||= {});
47690
48264
  ListSubscriptionsRequest$inboundSchema = objectType({
47691
48265
  customerId: stringType(),
47692
48266
  from: stringType().optional(),
47693
48267
  limit: nullableType(numberType().int()).optional(),
47694
48268
  sort: Sorting$inboundSchema.optional(),
47695
- testmode: nullableType(booleanType()).optional(),
48269
+ testmode: booleanType().optional(),
47696
48270
  "idempotency-key": stringType().optional()
47697
48271
  }).transform((v2) => {
47698
48272
  return remap(v2, {
@@ -47704,7 +48278,7 @@ var init_listsubscriptions = __esm(() => {
47704
48278
  from: stringType().optional(),
47705
48279
  limit: nullableType(numberType().int()).optional(),
47706
48280
  sort: Sorting$outboundSchema.optional(),
47707
- testmode: nullableType(booleanType()).optional(),
48281
+ testmode: booleanType().optional(),
47708
48282
  idempotencyKey: stringType().optional()
47709
48283
  }).transform((v2) => {
47710
48284
  return remap(v2, {
@@ -47752,16 +48326,26 @@ var init_listsubscriptions = __esm(() => {
47752
48326
  });
47753
48327
 
47754
48328
  // src/models/operations/listterminals.ts
47755
- var ListTerminalsRequest$inboundSchema, ListTerminalsRequest$outboundSchema, ListTerminalsRequest$, ListTerminalsEmbedded$inboundSchema, ListTerminalsEmbedded$outboundSchema, ListTerminalsEmbedded$, ListTerminalsResponse$inboundSchema, ListTerminalsResponse$outboundSchema, ListTerminalsResponse$;
48329
+ var ListTerminalsGlobals$inboundSchema, ListTerminalsGlobals$outboundSchema, ListTerminalsGlobals$, ListTerminalsRequest$inboundSchema, ListTerminalsRequest$outboundSchema, ListTerminalsRequest$, ListTerminalsEmbedded$inboundSchema, ListTerminalsEmbedded$outboundSchema, ListTerminalsEmbedded$, ListTerminalsResponse$inboundSchema, ListTerminalsResponse$outboundSchema, ListTerminalsResponse$;
47756
48330
  var init_listterminals = __esm(() => {
47757
48331
  init_esm();
47758
48332
  init_primitives();
47759
48333
  init_models();
48334
+ ListTerminalsGlobals$inboundSchema = objectType({
48335
+ testmode: booleanType().optional()
48336
+ });
48337
+ ListTerminalsGlobals$outboundSchema = objectType({
48338
+ testmode: booleanType().optional()
48339
+ });
48340
+ ((ListTerminalsGlobals$) => {
48341
+ ListTerminalsGlobals$.inboundSchema = ListTerminalsGlobals$inboundSchema;
48342
+ ListTerminalsGlobals$.outboundSchema = ListTerminalsGlobals$outboundSchema;
48343
+ })(ListTerminalsGlobals$ ||= {});
47760
48344
  ListTerminalsRequest$inboundSchema = objectType({
47761
48345
  from: stringType().optional(),
47762
48346
  limit: nullableType(numberType().int()).optional(),
47763
48347
  sort: Sorting$inboundSchema.optional(),
47764
- testmode: nullableType(booleanType()).optional(),
48348
+ testmode: booleanType().optional(),
47765
48349
  "idempotency-key": stringType().optional()
47766
48350
  }).transform((v2) => {
47767
48351
  return remap(v2, {
@@ -47772,7 +48356,7 @@ var init_listterminals = __esm(() => {
47772
48356
  from: stringType().optional(),
47773
48357
  limit: nullableType(numberType().int()).optional(),
47774
48358
  sort: Sorting$outboundSchema.optional(),
47775
- testmode: nullableType(booleanType()).optional(),
48359
+ testmode: booleanType().optional(),
47776
48360
  idempotencyKey: stringType().optional()
47777
48361
  }).transform((v2) => {
47778
48362
  return remap(v2, {
@@ -47820,17 +48404,27 @@ var init_listterminals = __esm(() => {
47820
48404
  });
47821
48405
 
47822
48406
  // src/models/operations/listwebhooks.ts
47823
- var ListWebhooksRequest$inboundSchema, ListWebhooksRequest$outboundSchema, ListWebhooksRequest$, ListWebhooksEmbedded$inboundSchema, ListWebhooksEmbedded$outboundSchema, ListWebhooksEmbedded$, ListWebhooksResponse$inboundSchema, ListWebhooksResponse$outboundSchema, ListWebhooksResponse$;
48407
+ var ListWebhooksGlobals$inboundSchema, ListWebhooksGlobals$outboundSchema, ListWebhooksGlobals$, ListWebhooksRequest$inboundSchema, ListWebhooksRequest$outboundSchema, ListWebhooksRequest$, ListWebhooksEmbedded$inboundSchema, ListWebhooksEmbedded$outboundSchema, ListWebhooksEmbedded$, ListWebhooksResponse$inboundSchema, ListWebhooksResponse$outboundSchema, ListWebhooksResponse$;
47824
48408
  var init_listwebhooks = __esm(() => {
47825
48409
  init_esm();
47826
48410
  init_primitives();
47827
48411
  init_models();
48412
+ ListWebhooksGlobals$inboundSchema = objectType({
48413
+ testmode: booleanType().optional()
48414
+ });
48415
+ ListWebhooksGlobals$outboundSchema = objectType({
48416
+ testmode: booleanType().optional()
48417
+ });
48418
+ ((ListWebhooksGlobals$) => {
48419
+ ListWebhooksGlobals$.inboundSchema = ListWebhooksGlobals$inboundSchema;
48420
+ ListWebhooksGlobals$.outboundSchema = ListWebhooksGlobals$outboundSchema;
48421
+ })(ListWebhooksGlobals$ ||= {});
47828
48422
  ListWebhooksRequest$inboundSchema = objectType({
47829
48423
  from: nullableType(stringType()).optional(),
47830
48424
  limit: nullableType(numberType().int()).optional(),
47831
48425
  sort: Sorting$inboundSchema.optional(),
47832
48426
  eventTypes: WebhookEventTypes$inboundSchema.optional(),
47833
- testmode: nullableType(booleanType()).optional(),
48427
+ testmode: booleanType().optional(),
47834
48428
  "idempotency-key": stringType().optional()
47835
48429
  }).transform((v2) => {
47836
48430
  return remap(v2, {
@@ -47842,7 +48436,7 @@ var init_listwebhooks = __esm(() => {
47842
48436
  limit: nullableType(numberType().int()).optional(),
47843
48437
  sort: Sorting$outboundSchema.optional(),
47844
48438
  eventTypes: WebhookEventTypes$outboundSchema.optional(),
47845
- testmode: nullableType(booleanType()).optional(),
48439
+ testmode: booleanType().optional(),
47846
48440
  idempotencyKey: stringType().optional()
47847
48441
  }).transform((v2) => {
47848
48442
  return remap(v2, {
@@ -47922,14 +48516,24 @@ var init_paymentcreateroute = __esm(() => {
47922
48516
  });
47923
48517
 
47924
48518
  // src/models/operations/paymentlistroutes.ts
47925
- var PaymentListRoutesRequest$inboundSchema, PaymentListRoutesRequest$outboundSchema, PaymentListRoutesRequest$, PaymentListRoutesEmbedded$inboundSchema, PaymentListRoutesEmbedded$outboundSchema, PaymentListRoutesEmbedded$, PaymentListRoutesLinks$inboundSchema, PaymentListRoutesLinks$outboundSchema, PaymentListRoutesLinks$, PaymentListRoutesResponse$inboundSchema, PaymentListRoutesResponse$outboundSchema, PaymentListRoutesResponse$;
48519
+ var PaymentListRoutesGlobals$inboundSchema, PaymentListRoutesGlobals$outboundSchema, PaymentListRoutesGlobals$, PaymentListRoutesRequest$inboundSchema, PaymentListRoutesRequest$outboundSchema, PaymentListRoutesRequest$, PaymentListRoutesEmbedded$inboundSchema, PaymentListRoutesEmbedded$outboundSchema, PaymentListRoutesEmbedded$, PaymentListRoutesLinks$inboundSchema, PaymentListRoutesLinks$outboundSchema, PaymentListRoutesLinks$, PaymentListRoutesResponse$inboundSchema, PaymentListRoutesResponse$outboundSchema, PaymentListRoutesResponse$;
47926
48520
  var init_paymentlistroutes = __esm(() => {
47927
48521
  init_esm();
47928
48522
  init_primitives();
47929
48523
  init_models();
48524
+ PaymentListRoutesGlobals$inboundSchema = objectType({
48525
+ testmode: booleanType().optional()
48526
+ });
48527
+ PaymentListRoutesGlobals$outboundSchema = objectType({
48528
+ testmode: booleanType().optional()
48529
+ });
48530
+ ((PaymentListRoutesGlobals$) => {
48531
+ PaymentListRoutesGlobals$.inboundSchema = PaymentListRoutesGlobals$inboundSchema;
48532
+ PaymentListRoutesGlobals$.outboundSchema = PaymentListRoutesGlobals$outboundSchema;
48533
+ })(PaymentListRoutesGlobals$ ||= {});
47930
48534
  PaymentListRoutesRequest$inboundSchema = objectType({
47931
48535
  paymentId: stringType(),
47932
- testmode: nullableType(booleanType()).optional(),
48536
+ testmode: booleanType().optional(),
47933
48537
  "idempotency-key": stringType().optional()
47934
48538
  }).transform((v2) => {
47935
48539
  return remap(v2, {
@@ -47938,7 +48542,7 @@ var init_paymentlistroutes = __esm(() => {
47938
48542
  });
47939
48543
  PaymentListRoutesRequest$outboundSchema = objectType({
47940
48544
  paymentId: stringType(),
47941
- testmode: nullableType(booleanType()).optional(),
48545
+ testmode: booleanType().optional(),
47942
48546
  idempotencyKey: stringType().optional()
47943
48547
  }).transform((v2) => {
47944
48548
  return remap(v2, {
@@ -48749,7 +49353,7 @@ async function $do(client, request, options) {
48749
49353
  };
48750
49354
  const path = pathToFunc("/balances/{id}")(pathParams);
48751
49355
  const query = encodeFormQuery({
48752
- testmode: payload.testmode
49356
+ testmode: payload.testmode ?? client._options.testmode
48753
49357
  });
48754
49358
  const headers = new Headers(compactMap({
48755
49359
  Accept: "application/hal+json",
@@ -49005,7 +49609,7 @@ async function $do3(client, request, options) {
49005
49609
  const query = encodeFormQuery({
49006
49610
  from: payload.from,
49007
49611
  grouping: payload.grouping,
49008
- testmode: payload.testmode,
49612
+ testmode: payload.testmode ?? client._options.testmode,
49009
49613
  until: payload.until
49010
49614
  });
49011
49615
  const headers = new Headers(compactMap({
@@ -49135,7 +49739,7 @@ async function $do4(client, request, options) {
49135
49739
  currency: payload?.currency,
49136
49740
  from: payload?.from,
49137
49741
  limit: payload?.limit,
49138
- testmode: payload?.testmode
49742
+ testmode: payload?.testmode ?? client._options.testmode
49139
49743
  });
49140
49744
  const headers = new Headers(compactMap({
49141
49745
  Accept: "application/hal+json",
@@ -49264,7 +49868,7 @@ async function $do5(client, request, options) {
49264
49868
  const query = encodeFormQuery({
49265
49869
  from: payload.from,
49266
49870
  limit: payload.limit,
49267
- testmode: payload.testmode
49871
+ testmode: payload.testmode ?? client._options.testmode
49268
49872
  });
49269
49873
  const headers = new Headers(compactMap({
49270
49874
  Accept: "application/hal+json",
@@ -49520,7 +50124,7 @@ async function $do7(client, request, options) {
49520
50124
  };
49521
50125
  const path = pathToFunc("/connect/balance-transfers/{id}")(pathParams);
49522
50126
  const query = encodeFormQuery({
49523
- testmode: payload.testmode
50127
+ testmode: payload.testmode ?? client._options.testmode
49524
50128
  });
49525
50129
  const headers = new Headers(compactMap({
49526
50130
  Accept: "application/hal+json",
@@ -49643,7 +50247,7 @@ async function $do8(client, request, options) {
49643
50247
  from: payload?.from,
49644
50248
  limit: payload?.limit,
49645
50249
  sort: payload?.sort,
49646
- testmode: payload?.testmode
50250
+ testmode: payload?.testmode ?? client._options.testmode
49647
50251
  });
49648
50252
  const headers = new Headers(compactMap({
49649
50253
  Accept: "application/hal+json",
@@ -50024,7 +50628,7 @@ async function $do11(client, request, options) {
50024
50628
  const path = pathToFunc("/payments/{paymentId}/captures/{captureId}")(pathParams);
50025
50629
  const query = encodeFormQuery({
50026
50630
  embed: payload.embed,
50027
- testmode: payload.testmode
50631
+ testmode: payload.testmode ?? client._options.testmode
50028
50632
  });
50029
50633
  const headers = new Headers(compactMap({
50030
50634
  Accept: "application/hal+json",
@@ -50154,7 +50758,7 @@ async function $do12(client, request, options) {
50154
50758
  embed: payload.embed,
50155
50759
  from: payload.from,
50156
50760
  limit: payload.limit,
50157
- testmode: payload.testmode
50761
+ testmode: payload.testmode ?? client._options.testmode
50158
50762
  });
50159
50763
  const headers = new Headers(compactMap({
50160
50764
  Accept: "application/hal+json",
@@ -50278,9 +50882,9 @@ async function $do13(client, request, options) {
50278
50882
  embed: payload?.embed,
50279
50883
  from: payload?.from,
50280
50884
  limit: payload?.limit,
50281
- profileId: payload?.profileId,
50885
+ profileId: payload?.profileId ?? client._options.profileId,
50282
50886
  sort: payload?.sort,
50283
- testmode: payload?.testmode
50887
+ testmode: payload?.testmode ?? client._options.testmode
50284
50888
  });
50285
50889
  const headers = new Headers(compactMap({
50286
50890
  Accept: "application/hal+json",
@@ -50412,7 +51016,7 @@ async function $do14(client, request, options) {
50412
51016
  const path = pathToFunc("/payments/{paymentId}/chargebacks/{chargebackId}")(pathParams);
50413
51017
  const query = encodeFormQuery({
50414
51018
  embed: payload.embed,
50415
- testmode: payload.testmode
51019
+ testmode: payload.testmode ?? client._options.testmode
50416
51020
  });
50417
51021
  const headers = new Headers(compactMap({
50418
51022
  Accept: "application/hal+json",
@@ -50541,7 +51145,7 @@ async function $do15(client, request, options) {
50541
51145
  embed: payload.embed,
50542
51146
  from: payload.from,
50543
51147
  limit: payload.limit,
50544
- testmode: payload.testmode
51148
+ testmode: payload.testmode ?? client._options.testmode
50545
51149
  });
50546
51150
  const headers = new Headers(compactMap({
50547
51151
  Accept: "application/hal+json",
@@ -51468,7 +52072,7 @@ async function $do22(client, request, options) {
51468
52072
  const path = pathToFunc("/customers/{customerId}")(pathParams);
51469
52073
  const query = encodeFormQuery({
51470
52074
  include: payload.include,
51471
- testmode: payload.testmode
52075
+ testmode: payload.testmode ?? client._options.testmode
51472
52076
  });
51473
52077
  const headers = new Headers(compactMap({
51474
52078
  Accept: "application/hal+json",
@@ -51590,7 +52194,7 @@ async function $do23(client, request, options) {
51590
52194
  from: payload?.from,
51591
52195
  limit: payload?.limit,
51592
52196
  sort: payload?.sort,
51593
- testmode: payload?.testmode
52197
+ testmode: payload?.testmode ?? client._options.testmode
51594
52198
  });
51595
52199
  const headers = new Headers(compactMap({
51596
52200
  Accept: "application/hal+json",
@@ -51719,9 +52323,9 @@ async function $do24(client, request, options) {
51719
52323
  const query = encodeFormQuery({
51720
52324
  from: payload.from,
51721
52325
  limit: payload.limit,
51722
- profileId: payload.profileId,
52326
+ profileId: payload.profileId ?? client._options.profileId,
51723
52327
  sort: payload.sort,
51724
- testmode: payload.testmode
52328
+ testmode: payload.testmode ?? client._options.testmode
51725
52329
  });
51726
52330
  const headers = new Headers(compactMap({
51727
52331
  Accept: "application/hal+json",
@@ -52097,7 +52701,7 @@ async function $do27(client, request, options) {
52097
52701
  };
52098
52702
  const path = pathToFunc("/payments/{paymentId}/routes")(pathParams);
52099
52703
  const query = encodeFormQuery({
52100
- testmode: payload.testmode
52704
+ testmode: payload.testmode ?? client._options.testmode
52101
52705
  });
52102
52706
  const headers = new Headers(compactMap({
52103
52707
  Accept: "application/hal+json",
@@ -52605,7 +53209,7 @@ async function $do31(client, request, options) {
52605
53209
  };
52606
53210
  const path = pathToFunc("/customers/{customerId}/mandates/{mandateId}")(pathParams);
52607
53211
  const query = encodeFormQuery({
52608
- testmode: payload.testmode
53212
+ testmode: payload.testmode ?? client._options.testmode
52609
53213
  });
52610
53214
  const headers = new Headers(compactMap({
52611
53215
  Accept: "application/hal+json",
@@ -52735,7 +53339,7 @@ async function $do32(client, request, options) {
52735
53339
  from: payload.from,
52736
53340
  limit: payload.limit,
52737
53341
  sort: payload.sort,
52738
- testmode: payload.testmode
53342
+ testmode: payload.testmode ?? client._options.testmode
52739
53343
  });
52740
53344
  const headers = new Headers(compactMap({
52741
53345
  Accept: "application/hal+json",
@@ -52986,9 +53590,9 @@ async function $do34(client, request, options) {
52986
53590
  }), encodeFormQuery({
52987
53591
  include: payload?.include,
52988
53592
  locale: payload?.locale,
52989
- profileId: payload?.profileId,
53593
+ profileId: payload?.profileId ?? client._options.profileId,
52990
53594
  sequenceType: payload?.sequenceType,
52991
- testmode: payload?.testmode
53595
+ testmode: payload?.testmode ?? client._options.testmode
52992
53596
  }));
52993
53597
  const headers = new Headers(compactMap({
52994
53598
  Accept: "application/hal+json",
@@ -53119,9 +53723,9 @@ async function $do35(client, request, options) {
53119
53723
  currency: payload.currency,
53120
53724
  include: payload.include,
53121
53725
  locale: payload.locale,
53122
- profileId: payload.profileId,
53726
+ profileId: payload.profileId ?? client._options.profileId,
53123
53727
  sequenceType: payload.sequenceType,
53124
- testmode: payload.testmode
53728
+ testmode: payload.testmode ?? client._options.testmode
53125
53729
  });
53126
53730
  const headers = new Headers(compactMap({
53127
53731
  Accept: "application/hal+json",
@@ -53259,10 +53863,10 @@ async function $do36(client, request, options) {
53259
53863
  includeWallets: payload?.includeWallets,
53260
53864
  locale: payload?.locale,
53261
53865
  orderLineCategories: payload?.orderLineCategories,
53262
- profileId: payload?.profileId,
53866
+ profileId: payload?.profileId ?? client._options.profileId,
53263
53867
  resource: payload?.resource,
53264
53868
  sequenceType: payload?.sequenceType,
53265
- testmode: payload?.testmode
53869
+ testmode: payload?.testmode ?? client._options.testmode
53266
53870
  }));
53267
53871
  const headers = new Headers(compactMap({
53268
53872
  Accept: "application/hal+json",
@@ -53626,7 +54230,7 @@ async function $do39(client, request, options) {
53626
54230
  };
53627
54231
  const path = pathToFunc("/organizations/{id}")(pathParams);
53628
54232
  const query = encodeFormQuery({
53629
- testmode: payload.testmode
54233
+ testmode: payload.testmode ?? client._options.testmode
53630
54234
  });
53631
54235
  const headers = new Headers(compactMap({
53632
54236
  Accept: "application/hal+json",
@@ -54227,7 +54831,7 @@ async function $do44(client, request, options) {
54227
54831
  };
54228
54832
  const path = pathToFunc("/payment-links/{paymentLinkId}")(pathParams);
54229
54833
  const query = encodeFormQuery({
54230
- testmode: payload.testmode
54834
+ testmode: payload.testmode ?? client._options.testmode
54231
54835
  });
54232
54836
  const headers = new Headers(compactMap({
54233
54837
  Accept: "application/hal+json",
@@ -54349,7 +54953,7 @@ async function $do45(client, request, options) {
54349
54953
  const query = encodeFormQuery({
54350
54954
  from: payload?.from,
54351
54955
  limit: payload?.limit,
54352
- testmode: payload?.testmode
54956
+ testmode: payload?.testmode ?? client._options.testmode
54353
54957
  });
54354
54958
  const headers = new Headers(compactMap({
54355
54959
  Accept: "application/hal+json",
@@ -54479,7 +55083,7 @@ async function $do46(client, request, options) {
54479
55083
  from: payload.from,
54480
55084
  limit: payload.limit,
54481
55085
  sort: payload.sort,
54482
- testmode: payload.testmode
55086
+ testmode: payload.testmode ?? client._options.testmode
54483
55087
  });
54484
55088
  const headers = new Headers(compactMap({
54485
55089
  Accept: "application/hal+json",
@@ -54995,7 +55599,7 @@ async function $do50(client, request, options) {
54995
55599
  const query = encodeFormQuery({
54996
55600
  embed: payload.embed,
54997
55601
  include: payload.include,
54998
- testmode: payload.testmode
55602
+ testmode: payload.testmode ?? client._options.testmode
54999
55603
  });
55000
55604
  const headers = new Headers(compactMap({
55001
55605
  Accept: "application/hal+json",
@@ -55117,9 +55721,9 @@ async function $do51(client, request, options) {
55117
55721
  const query = encodeFormQuery({
55118
55722
  from: payload?.from,
55119
55723
  limit: payload?.limit,
55120
- profileId: payload?.profileId,
55724
+ profileId: payload?.profileId ?? client._options.profileId,
55121
55725
  sort: payload?.sort,
55122
- testmode: payload?.testmode
55726
+ testmode: payload?.testmode ?? client._options.testmode
55123
55727
  });
55124
55728
  const headers = new Headers(compactMap({
55125
55729
  Accept: "application/hal+json",
@@ -55499,7 +56103,7 @@ async function $do54(client, request, options) {
55499
56103
  };
55500
56104
  const path = pathToFunc("/permissions/{permissionId}")(pathParams);
55501
56105
  const query = encodeFormQuery({
55502
- testmode: payload.testmode
56106
+ testmode: payload.testmode ?? client._options.testmode
55503
56107
  });
55504
56108
  const headers = new Headers(compactMap({
55505
56109
  Accept: "application/hal+json",
@@ -55982,7 +56586,7 @@ async function $do58(client, request, options) {
55982
56586
  };
55983
56587
  const path = pathToFunc("/profiles/{id}")(pathParams);
55984
56588
  const query = encodeFormQuery({
55985
- testmode: payload.testmode
56589
+ testmode: payload.testmode ?? client._options.testmode
55986
56590
  });
55987
56591
  const headers = new Headers(compactMap({
55988
56592
  Accept: "application/hal+json",
@@ -56467,9 +57071,9 @@ async function $do62(client, request, options) {
56467
57071
  embed: payload?.embed,
56468
57072
  from: payload?.from,
56469
57073
  limit: payload?.limit,
56470
- profileId: payload?.profileId,
57074
+ profileId: payload?.profileId ?? client._options.profileId,
56471
57075
  sort: payload?.sort,
56472
- testmode: payload?.testmode
57076
+ testmode: payload?.testmode ?? client._options.testmode
56473
57077
  });
56474
57078
  const headers = new Headers(compactMap({
56475
57079
  Accept: "application/hal+json",
@@ -56600,7 +57204,7 @@ async function $do63(client, request, options) {
56600
57204
  };
56601
57205
  const path = pathToFunc("/payments/{paymentId}/refunds/{refundId}")(pathParams);
56602
57206
  const query = encodeFormQuery({
56603
- testmode: payload.testmode
57207
+ testmode: payload.testmode ?? client._options.testmode
56604
57208
  });
56605
57209
  const headers = new Headers(compactMap({
56606
57210
  Accept: "application/hal+json",
@@ -56857,7 +57461,7 @@ async function $do65(client, request, options) {
56857
57461
  const path = pathToFunc("/payments/{paymentId}/refunds/{refundId}")(pathParams);
56858
57462
  const query = encodeFormQuery({
56859
57463
  embed: payload.embed,
56860
- testmode: payload.testmode
57464
+ testmode: payload.testmode ?? client._options.testmode
56861
57465
  });
56862
57466
  const headers = new Headers(compactMap({
56863
57467
  Accept: "application/hal+json",
@@ -56986,7 +57590,7 @@ async function $do66(client, request, options) {
56986
57590
  embed: payload.embed,
56987
57591
  from: payload.from,
56988
57592
  limit: payload.limit,
56989
- testmode: payload.testmode
57593
+ testmode: payload.testmode ?? client._options.testmode
56990
57594
  });
56991
57595
  const headers = new Headers(compactMap({
56992
57596
  Accept: "application/hal+json",
@@ -57364,7 +57968,7 @@ async function $do69(client, request, options) {
57364
57968
  };
57365
57969
  const path = pathToFunc("/sales-invoices/{id}")(pathParams);
57366
57970
  const query = encodeFormQuery({
57367
- testmode: payload.testmode
57971
+ testmode: payload.testmode ?? client._options.testmode
57368
57972
  });
57369
57973
  const headers = new Headers(compactMap({
57370
57974
  Accept: "application/hal+json",
@@ -57490,7 +58094,7 @@ async function $do70(client, request, options) {
57490
58094
  const query = encodeFormQuery({
57491
58095
  from: payload?.from,
57492
58096
  limit: payload?.limit,
57493
- testmode: payload?.testmode
58097
+ testmode: payload?.testmode ?? client._options.testmode
57494
58098
  });
57495
58099
  const headers = new Headers(compactMap({
57496
58100
  Accept: "application/hal+json",
@@ -58247,7 +58851,7 @@ async function $do76(client, request, options) {
58247
58851
  embed: payload.embed,
58248
58852
  from: payload.from,
58249
58853
  limit: payload.limit,
58250
- testmode: payload.testmode
58854
+ testmode: payload.testmode ?? client._options.testmode
58251
58855
  });
58252
58856
  const headers = new Headers(compactMap({
58253
58857
  Accept: "application/hal+json",
@@ -58377,7 +58981,7 @@ async function $do77(client, request, options) {
58377
58981
  embed: payload.embed,
58378
58982
  from: payload.from,
58379
58983
  limit: payload.limit,
58380
- testmode: payload.testmode
58984
+ testmode: payload.testmode ?? client._options.testmode
58381
58985
  });
58382
58986
  const headers = new Headers(compactMap({
58383
58987
  Accept: "application/hal+json",
@@ -58506,9 +59110,9 @@ async function $do78(client, request, options) {
58506
59110
  const query = encodeFormQuery({
58507
59111
  from: payload.from,
58508
59112
  limit: payload.limit,
58509
- profileId: payload.profileId,
59113
+ profileId: payload.profileId ?? client._options.profileId,
58510
59114
  sort: payload.sort,
58511
- testmode: payload.testmode
59115
+ testmode: payload.testmode ?? client._options.testmode
58512
59116
  });
58513
59117
  const headers = new Headers(compactMap({
58514
59118
  Accept: "application/hal+json",
@@ -58641,7 +59245,7 @@ async function $do79(client, request, options) {
58641
59245
  embed: payload.embed,
58642
59246
  from: payload.from,
58643
59247
  limit: payload.limit,
58644
- testmode: payload.testmode
59248
+ testmode: payload.testmode ?? client._options.testmode
58645
59249
  });
58646
59250
  const headers = new Headers(compactMap({
58647
59251
  Accept: "application/hal+json",
@@ -58764,8 +59368,8 @@ async function $do80(client, request, options) {
58764
59368
  const query = encodeFormQuery({
58765
59369
  from: payload?.from,
58766
59370
  limit: payload?.limit,
58767
- profileId: payload?.profileId,
58768
- testmode: payload?.testmode
59371
+ profileId: payload?.profileId ?? client._options.profileId,
59372
+ testmode: payload?.testmode ?? client._options.testmode
58769
59373
  });
58770
59374
  const headers = new Headers(compactMap({
58771
59375
  Accept: "application/hal+json",
@@ -59166,7 +59770,7 @@ async function $do83(client, request, options) {
59166
59770
  };
59167
59771
  const path = pathToFunc("/customers/{customerId}/subscriptions/{subscriptionId}")(pathParams);
59168
59772
  const query = encodeFormQuery({
59169
- testmode: payload.testmode
59773
+ testmode: payload.testmode ?? client._options.testmode
59170
59774
  });
59171
59775
  const headers = new Headers(compactMap({
59172
59776
  Accept: "application/hal+json",
@@ -59295,7 +59899,7 @@ async function $do84(client, request, options) {
59295
59899
  from: payload.from,
59296
59900
  limit: payload.limit,
59297
59901
  sort: payload.sort,
59298
- testmode: payload.testmode
59902
+ testmode: payload.testmode ?? client._options.testmode
59299
59903
  });
59300
59904
  const headers = new Headers(compactMap({
59301
59905
  Accept: "application/hal+json",
@@ -59428,9 +60032,9 @@ async function $do85(client, request, options) {
59428
60032
  const query = encodeFormQuery({
59429
60033
  from: payload.from,
59430
60034
  limit: payload.limit,
59431
- profileId: payload.profileId,
60035
+ profileId: payload.profileId ?? client._options.profileId,
59432
60036
  sort: payload.sort,
59433
- testmode: payload.testmode
60037
+ testmode: payload.testmode ?? client._options.testmode
59434
60038
  });
59435
60039
  const headers = new Headers(compactMap({
59436
60040
  Accept: "application/hal+json",
@@ -59688,7 +60292,7 @@ async function $do87(client, request, options) {
59688
60292
  };
59689
60293
  const path = pathToFunc("/terminals/{terminalId}")(pathParams);
59690
60294
  const query = encodeFormQuery({
59691
- testmode: payload.testmode
60295
+ testmode: payload.testmode ?? client._options.testmode
59692
60296
  });
59693
60297
  const headers = new Headers(compactMap({
59694
60298
  Accept: "application/hal+json",
@@ -59811,7 +60415,7 @@ async function $do88(client, request, options) {
59811
60415
  from: payload?.from,
59812
60416
  limit: payload?.limit,
59813
60417
  sort: payload?.sort,
59814
- testmode: payload?.testmode
60418
+ testmode: payload?.testmode ?? client._options.testmode
59815
60419
  });
59816
60420
  const headers = new Headers(compactMap({
59817
60421
  Accept: "application/hal+json",
@@ -60071,7 +60675,7 @@ async function $do90(client, request, options) {
60071
60675
  };
60072
60676
  const path = pathToFunc("/events/{id}")(pathParams);
60073
60677
  const query = encodeFormQuery({
60074
- testmode: payload.testmode
60678
+ testmode: payload.testmode ?? client._options.testmode
60075
60679
  });
60076
60680
  const headers = new Headers(compactMap({
60077
60681
  Accept: "application/hal+json",
@@ -60435,7 +61039,7 @@ async function $do93(client, request, options) {
60435
61039
  };
60436
61040
  const path = pathToFunc("/webhooks/{id}")(pathParams);
60437
61041
  const query = encodeFormQuery({
60438
- testmode: payload.testmode
61042
+ testmode: payload.testmode ?? client._options.testmode
60439
61043
  });
60440
61044
  const headers = new Headers(compactMap({
60441
61045
  Accept: "application/hal+json",
@@ -60559,7 +61163,7 @@ async function $do94(client, request, options) {
60559
61163
  from: payload?.from,
60560
61164
  limit: payload?.limit,
60561
61165
  sort: payload?.sort,
60562
- testmode: payload?.testmode
61166
+ testmode: payload?.testmode ?? client._options.testmode
60563
61167
  });
60564
61168
  const headers = new Headers(compactMap({
60565
61169
  Accept: "application/hal+json",
@@ -60913,10 +61517,13 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
60913
61517
  function createMCPServer(deps) {
60914
61518
  const server = new McpServer({
60915
61519
  name: "Client",
60916
- version: "0.6.1"
61520
+ version: "0.7.0"
60917
61521
  });
60918
61522
  const client = new ClientCore({
60919
61523
  security: deps.security,
61524
+ profileId: deps.profileId,
61525
+ testmode: deps.testmode,
61526
+ customUserAgent: deps.customUserAgent,
60920
61527
  serverURL: deps.serverURL,
60921
61528
  serverIdx: deps.serverIdx
60922
61529
  });
@@ -61155,6 +61762,9 @@ async function startStdio(flags) {
61155
61762
  logger,
61156
61763
  allowedTools: flags.tool,
61157
61764
  security: { apiKey: flags["api-key"] ?? "", oAuth: flags["o-auth"] ?? "" },
61765
+ profileId: flags["profile-id"],
61766
+ testmode: flags.testmode,
61767
+ customUserAgent: flags["custom-user-agent"],
61158
61768
  serverURL: flags["server-url"],
61159
61769
  serverIdx: flags["server-index"]
61160
61770
  });
@@ -61173,6 +61783,9 @@ async function startSSE(flags) {
61173
61783
  logger,
61174
61784
  allowedTools: flags.tool,
61175
61785
  security: { apiKey: flags["api-key"] ?? "", oAuth: flags["o-auth"] ?? "" },
61786
+ profileId: flags["profile-id"],
61787
+ testmode: flags.testmode,
61788
+ customUserAgent: flags["custom-user-agent"],
61176
61789
  serverURL: flags["server-url"],
61177
61790
  serverIdx: flags["server-index"]
61178
61791
  });
@@ -62249,6 +62862,30 @@ var startCommand = on({
62249
62862
  return stringType().parse(value);
62250
62863
  }
62251
62864
  },
62865
+ "profile-id": {
62866
+ kind: "parsed",
62867
+ brief: "Allows setting the profileId parameter for all supported operations",
62868
+ optional: true,
62869
+ parse: (value) => {
62870
+ return stringType().parse(value);
62871
+ }
62872
+ },
62873
+ testmode: {
62874
+ kind: "parsed",
62875
+ brief: "Allows setting the testmode parameter for all supported operations",
62876
+ optional: true,
62877
+ parse: (value) => {
62878
+ return enumType(["true", "false"]).transform((v2) => v2 === "true").parse(value);
62879
+ }
62880
+ },
62881
+ "custom-user-agent": {
62882
+ kind: "parsed",
62883
+ brief: "Allows setting the customUserAgent parameter for all supported operations",
62884
+ optional: true,
62885
+ parse: (value) => {
62886
+ return stringType().parse(value);
62887
+ }
62888
+ },
62252
62889
  "server-url": {
62253
62890
  kind: "parsed",
62254
62891
  brief: "Overrides the default server URL used by the SDK",
@@ -62308,7 +62945,7 @@ var routes = an({
62308
62945
  var app = He(routes, {
62309
62946
  name: "mcp",
62310
62947
  versionInfo: {
62311
- currentVersion: "0.6.1"
62948
+ currentVersion: "0.7.0"
62312
62949
  }
62313
62950
  });
62314
62951
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -62316,5 +62953,5 @@ export {
62316
62953
  app
62317
62954
  };
62318
62955
 
62319
- //# debugId=F25850C3DC2F5A7A64756E2164756E21
62956
+ //# debugId=69E309BB33503C1C64756E2164756E21
62320
62957
  //# sourceMappingURL=mcp-server.js.map