mollie-api-typescript 0.6.2 → 0.8.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 +896 -258
  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/operations/cancelrefund.d.ts +36 -2
  126. package/dist/commonjs/models/operations/cancelrefund.d.ts.map +1 -1
  127. package/dist/commonjs/models/operations/cancelrefund.js +30 -3
  128. package/dist/commonjs/models/operations/cancelrefund.js.map +1 -1
  129. package/dist/commonjs/models/operations/getbalance.d.ts +36 -2
  130. package/dist/commonjs/models/operations/getbalance.d.ts.map +1 -1
  131. package/dist/commonjs/models/operations/getbalance.js +30 -3
  132. package/dist/commonjs/models/operations/getbalance.js.map +1 -1
  133. package/dist/commonjs/models/operations/getbalancereport.d.ts +36 -2
  134. package/dist/commonjs/models/operations/getbalancereport.d.ts.map +1 -1
  135. package/dist/commonjs/models/operations/getbalancereport.js +30 -3
  136. package/dist/commonjs/models/operations/getbalancereport.js.map +1 -1
  137. package/dist/commonjs/models/operations/getcapture.d.ts +36 -2
  138. package/dist/commonjs/models/operations/getcapture.d.ts.map +1 -1
  139. package/dist/commonjs/models/operations/getcapture.js +30 -3
  140. package/dist/commonjs/models/operations/getcapture.js.map +1 -1
  141. package/dist/commonjs/models/operations/getchargeback.d.ts +36 -2
  142. package/dist/commonjs/models/operations/getchargeback.d.ts.map +1 -1
  143. package/dist/commonjs/models/operations/getchargeback.js +30 -3
  144. package/dist/commonjs/models/operations/getchargeback.js.map +1 -1
  145. package/dist/commonjs/models/operations/getconnectbalancetransfer.d.ts +36 -2
  146. package/dist/commonjs/models/operations/getconnectbalancetransfer.d.ts.map +1 -1
  147. package/dist/commonjs/models/operations/getconnectbalancetransfer.js +30 -3
  148. package/dist/commonjs/models/operations/getconnectbalancetransfer.js.map +1 -1
  149. package/dist/commonjs/models/operations/getcustomer.d.ts +36 -2
  150. package/dist/commonjs/models/operations/getcustomer.d.ts.map +1 -1
  151. package/dist/commonjs/models/operations/getcustomer.js +30 -3
  152. package/dist/commonjs/models/operations/getcustomer.js.map +1 -1
  153. package/dist/commonjs/models/operations/getmandate.d.ts +36 -2
  154. package/dist/commonjs/models/operations/getmandate.d.ts.map +1 -1
  155. package/dist/commonjs/models/operations/getmandate.js +30 -3
  156. package/dist/commonjs/models/operations/getmandate.js.map +1 -1
  157. package/dist/commonjs/models/operations/getmethod.d.ts +47 -2
  158. package/dist/commonjs/models/operations/getmethod.d.ts.map +1 -1
  159. package/dist/commonjs/models/operations/getmethod.js +32 -3
  160. package/dist/commonjs/models/operations/getmethod.js.map +1 -1
  161. package/dist/commonjs/models/operations/getorganization.d.ts +36 -2
  162. package/dist/commonjs/models/operations/getorganization.d.ts.map +1 -1
  163. package/dist/commonjs/models/operations/getorganization.js +30 -3
  164. package/dist/commonjs/models/operations/getorganization.js.map +1 -1
  165. package/dist/commonjs/models/operations/getpayment.d.ts +36 -2
  166. package/dist/commonjs/models/operations/getpayment.d.ts.map +1 -1
  167. package/dist/commonjs/models/operations/getpayment.js +30 -3
  168. package/dist/commonjs/models/operations/getpayment.js.map +1 -1
  169. package/dist/commonjs/models/operations/getpaymentlink.d.ts +36 -2
  170. package/dist/commonjs/models/operations/getpaymentlink.d.ts.map +1 -1
  171. package/dist/commonjs/models/operations/getpaymentlink.js +30 -3
  172. package/dist/commonjs/models/operations/getpaymentlink.js.map +1 -1
  173. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +36 -2
  174. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  175. package/dist/commonjs/models/operations/getpaymentlinkpayments.js +30 -3
  176. package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
  177. package/dist/commonjs/models/operations/getpermission.d.ts +36 -2
  178. package/dist/commonjs/models/operations/getpermission.d.ts.map +1 -1
  179. package/dist/commonjs/models/operations/getpermission.js +30 -3
  180. package/dist/commonjs/models/operations/getpermission.js.map +1 -1
  181. package/dist/commonjs/models/operations/getprofile.d.ts +36 -2
  182. package/dist/commonjs/models/operations/getprofile.d.ts.map +1 -1
  183. package/dist/commonjs/models/operations/getprofile.js +30 -3
  184. package/dist/commonjs/models/operations/getprofile.js.map +1 -1
  185. package/dist/commonjs/models/operations/getrefund.d.ts +36 -2
  186. package/dist/commonjs/models/operations/getrefund.d.ts.map +1 -1
  187. package/dist/commonjs/models/operations/getrefund.js +30 -3
  188. package/dist/commonjs/models/operations/getrefund.js.map +1 -1
  189. package/dist/commonjs/models/operations/getsalesinvoice.d.ts +36 -2
  190. package/dist/commonjs/models/operations/getsalesinvoice.d.ts.map +1 -1
  191. package/dist/commonjs/models/operations/getsalesinvoice.js +30 -3
  192. package/dist/commonjs/models/operations/getsalesinvoice.js.map +1 -1
  193. package/dist/commonjs/models/operations/getsubscription.d.ts +36 -2
  194. package/dist/commonjs/models/operations/getsubscription.d.ts.map +1 -1
  195. package/dist/commonjs/models/operations/getsubscription.js +30 -3
  196. package/dist/commonjs/models/operations/getsubscription.js.map +1 -1
  197. package/dist/commonjs/models/operations/getterminal.d.ts +36 -2
  198. package/dist/commonjs/models/operations/getterminal.d.ts.map +1 -1
  199. package/dist/commonjs/models/operations/getterminal.js +30 -3
  200. package/dist/commonjs/models/operations/getterminal.js.map +1 -1
  201. package/dist/commonjs/models/operations/getwebhook.d.ts +36 -2
  202. package/dist/commonjs/models/operations/getwebhook.d.ts.map +1 -1
  203. package/dist/commonjs/models/operations/getwebhook.js +30 -3
  204. package/dist/commonjs/models/operations/getwebhook.js.map +1 -1
  205. package/dist/commonjs/models/operations/getwebhookevent.d.ts +36 -2
  206. package/dist/commonjs/models/operations/getwebhookevent.d.ts.map +1 -1
  207. package/dist/commonjs/models/operations/getwebhookevent.js +30 -3
  208. package/dist/commonjs/models/operations/getwebhookevent.js.map +1 -1
  209. package/dist/commonjs/models/operations/listallchargebacks.d.ts +47 -2
  210. package/dist/commonjs/models/operations/listallchargebacks.d.ts.map +1 -1
  211. package/dist/commonjs/models/operations/listallchargebacks.js +32 -3
  212. package/dist/commonjs/models/operations/listallchargebacks.js.map +1 -1
  213. package/dist/commonjs/models/operations/listallmethods.d.ts +47 -2
  214. package/dist/commonjs/models/operations/listallmethods.d.ts.map +1 -1
  215. package/dist/commonjs/models/operations/listallmethods.js +32 -3
  216. package/dist/commonjs/models/operations/listallmethods.js.map +1 -1
  217. package/dist/commonjs/models/operations/listallrefunds.d.ts +47 -2
  218. package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
  219. package/dist/commonjs/models/operations/listallrefunds.js +32 -3
  220. package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
  221. package/dist/commonjs/models/operations/listallsubscriptions.d.ts +47 -2
  222. package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
  223. package/dist/commonjs/models/operations/listallsubscriptions.js +32 -3
  224. package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
  225. package/dist/commonjs/models/operations/listbalances.d.ts +36 -2
  226. package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
  227. package/dist/commonjs/models/operations/listbalances.js +30 -3
  228. package/dist/commonjs/models/operations/listbalances.js.map +1 -1
  229. package/dist/commonjs/models/operations/listbalancetransactions.d.ts +36 -2
  230. package/dist/commonjs/models/operations/listbalancetransactions.d.ts.map +1 -1
  231. package/dist/commonjs/models/operations/listbalancetransactions.js +30 -3
  232. package/dist/commonjs/models/operations/listbalancetransactions.js.map +1 -1
  233. package/dist/commonjs/models/operations/listcaptures.d.ts +36 -2
  234. package/dist/commonjs/models/operations/listcaptures.d.ts.map +1 -1
  235. package/dist/commonjs/models/operations/listcaptures.js +30 -3
  236. package/dist/commonjs/models/operations/listcaptures.js.map +1 -1
  237. package/dist/commonjs/models/operations/listchargebacks.d.ts +36 -2
  238. package/dist/commonjs/models/operations/listchargebacks.d.ts.map +1 -1
  239. package/dist/commonjs/models/operations/listchargebacks.js +30 -3
  240. package/dist/commonjs/models/operations/listchargebacks.js.map +1 -1
  241. package/dist/commonjs/models/operations/listconnectbalancetransfers.d.ts +36 -2
  242. package/dist/commonjs/models/operations/listconnectbalancetransfers.d.ts.map +1 -1
  243. package/dist/commonjs/models/operations/listconnectbalancetransfers.js +30 -3
  244. package/dist/commonjs/models/operations/listconnectbalancetransfers.js.map +1 -1
  245. package/dist/commonjs/models/operations/listcustomerpayments.d.ts +47 -2
  246. package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
  247. package/dist/commonjs/models/operations/listcustomerpayments.js +32 -3
  248. package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
  249. package/dist/commonjs/models/operations/listcustomers.d.ts +36 -2
  250. package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
  251. package/dist/commonjs/models/operations/listcustomers.js +30 -3
  252. package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
  253. package/dist/commonjs/models/operations/listmandates.d.ts +36 -2
  254. package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
  255. package/dist/commonjs/models/operations/listmandates.js +30 -3
  256. package/dist/commonjs/models/operations/listmandates.js.map +1 -1
  257. package/dist/commonjs/models/operations/listmethods.d.ts +47 -2
  258. package/dist/commonjs/models/operations/listmethods.d.ts.map +1 -1
  259. package/dist/commonjs/models/operations/listmethods.js +32 -3
  260. package/dist/commonjs/models/operations/listmethods.js.map +1 -1
  261. package/dist/commonjs/models/operations/listpaymentlinks.d.ts +36 -2
  262. package/dist/commonjs/models/operations/listpaymentlinks.d.ts.map +1 -1
  263. package/dist/commonjs/models/operations/listpaymentlinks.js +30 -3
  264. package/dist/commonjs/models/operations/listpaymentlinks.js.map +1 -1
  265. package/dist/commonjs/models/operations/listpayments.d.ts +47 -2
  266. package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
  267. package/dist/commonjs/models/operations/listpayments.js +32 -3
  268. package/dist/commonjs/models/operations/listpayments.js.map +1 -1
  269. package/dist/commonjs/models/operations/listrefunds.d.ts +36 -2
  270. package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
  271. package/dist/commonjs/models/operations/listrefunds.js +30 -3
  272. package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
  273. package/dist/commonjs/models/operations/listsalesinvoices.d.ts +36 -2
  274. package/dist/commonjs/models/operations/listsalesinvoices.d.ts.map +1 -1
  275. package/dist/commonjs/models/operations/listsalesinvoices.js +30 -3
  276. package/dist/commonjs/models/operations/listsalesinvoices.js.map +1 -1
  277. package/dist/commonjs/models/operations/listsettlementcaptures.d.ts +36 -2
  278. package/dist/commonjs/models/operations/listsettlementcaptures.d.ts.map +1 -1
  279. package/dist/commonjs/models/operations/listsettlementcaptures.js +30 -3
  280. package/dist/commonjs/models/operations/listsettlementcaptures.js.map +1 -1
  281. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +36 -2
  282. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  283. package/dist/commonjs/models/operations/listsettlementchargebacks.js +30 -3
  284. package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
  285. package/dist/commonjs/models/operations/listsettlementpayments.d.ts +47 -2
  286. package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
  287. package/dist/commonjs/models/operations/listsettlementpayments.js +32 -3
  288. package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
  289. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +36 -2
  290. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
  291. package/dist/commonjs/models/operations/listsettlementrefunds.js +30 -3
  292. package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
  293. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +47 -2
  294. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  295. package/dist/commonjs/models/operations/listsubscriptionpayments.js +32 -3
  296. package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
  297. package/dist/commonjs/models/operations/listsubscriptions.d.ts +36 -2
  298. package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
  299. package/dist/commonjs/models/operations/listsubscriptions.js +30 -3
  300. package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
  301. package/dist/commonjs/models/operations/listterminals.d.ts +36 -2
  302. package/dist/commonjs/models/operations/listterminals.d.ts.map +1 -1
  303. package/dist/commonjs/models/operations/listterminals.js +30 -3
  304. package/dist/commonjs/models/operations/listterminals.js.map +1 -1
  305. package/dist/commonjs/models/operations/listwebhooks.d.ts +36 -2
  306. package/dist/commonjs/models/operations/listwebhooks.d.ts.map +1 -1
  307. package/dist/commonjs/models/operations/listwebhooks.js +30 -3
  308. package/dist/commonjs/models/operations/listwebhooks.js.map +1 -1
  309. package/dist/commonjs/models/operations/paymentlistroutes.d.ts +36 -2
  310. package/dist/commonjs/models/operations/paymentlistroutes.d.ts.map +1 -1
  311. package/dist/commonjs/models/operations/paymentlistroutes.js +30 -3
  312. package/dist/commonjs/models/operations/paymentlistroutes.js.map +1 -1
  313. package/dist/commonjs/models/paymentresponse.d.ts +10 -0
  314. package/dist/commonjs/models/paymentresponse.d.ts.map +1 -1
  315. package/dist/commonjs/models/paymentresponse.js +4 -0
  316. package/dist/commonjs/models/paymentresponse.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/operations/cancelrefund.d.ts +36 -2
  438. package/dist/esm/models/operations/cancelrefund.d.ts.map +1 -1
  439. package/dist/esm/models/operations/cancelrefund.js +27 -2
  440. package/dist/esm/models/operations/cancelrefund.js.map +1 -1
  441. package/dist/esm/models/operations/getbalance.d.ts +36 -2
  442. package/dist/esm/models/operations/getbalance.d.ts.map +1 -1
  443. package/dist/esm/models/operations/getbalance.js +27 -2
  444. package/dist/esm/models/operations/getbalance.js.map +1 -1
  445. package/dist/esm/models/operations/getbalancereport.d.ts +36 -2
  446. package/dist/esm/models/operations/getbalancereport.d.ts.map +1 -1
  447. package/dist/esm/models/operations/getbalancereport.js +27 -2
  448. package/dist/esm/models/operations/getbalancereport.js.map +1 -1
  449. package/dist/esm/models/operations/getcapture.d.ts +36 -2
  450. package/dist/esm/models/operations/getcapture.d.ts.map +1 -1
  451. package/dist/esm/models/operations/getcapture.js +27 -2
  452. package/dist/esm/models/operations/getcapture.js.map +1 -1
  453. package/dist/esm/models/operations/getchargeback.d.ts +36 -2
  454. package/dist/esm/models/operations/getchargeback.d.ts.map +1 -1
  455. package/dist/esm/models/operations/getchargeback.js +27 -2
  456. package/dist/esm/models/operations/getchargeback.js.map +1 -1
  457. package/dist/esm/models/operations/getconnectbalancetransfer.d.ts +36 -2
  458. package/dist/esm/models/operations/getconnectbalancetransfer.d.ts.map +1 -1
  459. package/dist/esm/models/operations/getconnectbalancetransfer.js +27 -2
  460. package/dist/esm/models/operations/getconnectbalancetransfer.js.map +1 -1
  461. package/dist/esm/models/operations/getcustomer.d.ts +36 -2
  462. package/dist/esm/models/operations/getcustomer.d.ts.map +1 -1
  463. package/dist/esm/models/operations/getcustomer.js +27 -2
  464. package/dist/esm/models/operations/getcustomer.js.map +1 -1
  465. package/dist/esm/models/operations/getmandate.d.ts +36 -2
  466. package/dist/esm/models/operations/getmandate.d.ts.map +1 -1
  467. package/dist/esm/models/operations/getmandate.js +27 -2
  468. package/dist/esm/models/operations/getmandate.js.map +1 -1
  469. package/dist/esm/models/operations/getmethod.d.ts +47 -2
  470. package/dist/esm/models/operations/getmethod.d.ts.map +1 -1
  471. package/dist/esm/models/operations/getmethod.js +29 -2
  472. package/dist/esm/models/operations/getmethod.js.map +1 -1
  473. package/dist/esm/models/operations/getorganization.d.ts +36 -2
  474. package/dist/esm/models/operations/getorganization.d.ts.map +1 -1
  475. package/dist/esm/models/operations/getorganization.js +27 -2
  476. package/dist/esm/models/operations/getorganization.js.map +1 -1
  477. package/dist/esm/models/operations/getpayment.d.ts +36 -2
  478. package/dist/esm/models/operations/getpayment.d.ts.map +1 -1
  479. package/dist/esm/models/operations/getpayment.js +27 -2
  480. package/dist/esm/models/operations/getpayment.js.map +1 -1
  481. package/dist/esm/models/operations/getpaymentlink.d.ts +36 -2
  482. package/dist/esm/models/operations/getpaymentlink.d.ts.map +1 -1
  483. package/dist/esm/models/operations/getpaymentlink.js +27 -2
  484. package/dist/esm/models/operations/getpaymentlink.js.map +1 -1
  485. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +36 -2
  486. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  487. package/dist/esm/models/operations/getpaymentlinkpayments.js +27 -2
  488. package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
  489. package/dist/esm/models/operations/getpermission.d.ts +36 -2
  490. package/dist/esm/models/operations/getpermission.d.ts.map +1 -1
  491. package/dist/esm/models/operations/getpermission.js +27 -2
  492. package/dist/esm/models/operations/getpermission.js.map +1 -1
  493. package/dist/esm/models/operations/getprofile.d.ts +36 -2
  494. package/dist/esm/models/operations/getprofile.d.ts.map +1 -1
  495. package/dist/esm/models/operations/getprofile.js +27 -2
  496. package/dist/esm/models/operations/getprofile.js.map +1 -1
  497. package/dist/esm/models/operations/getrefund.d.ts +36 -2
  498. package/dist/esm/models/operations/getrefund.d.ts.map +1 -1
  499. package/dist/esm/models/operations/getrefund.js +27 -2
  500. package/dist/esm/models/operations/getrefund.js.map +1 -1
  501. package/dist/esm/models/operations/getsalesinvoice.d.ts +36 -2
  502. package/dist/esm/models/operations/getsalesinvoice.d.ts.map +1 -1
  503. package/dist/esm/models/operations/getsalesinvoice.js +27 -2
  504. package/dist/esm/models/operations/getsalesinvoice.js.map +1 -1
  505. package/dist/esm/models/operations/getsubscription.d.ts +36 -2
  506. package/dist/esm/models/operations/getsubscription.d.ts.map +1 -1
  507. package/dist/esm/models/operations/getsubscription.js +27 -2
  508. package/dist/esm/models/operations/getsubscription.js.map +1 -1
  509. package/dist/esm/models/operations/getterminal.d.ts +36 -2
  510. package/dist/esm/models/operations/getterminal.d.ts.map +1 -1
  511. package/dist/esm/models/operations/getterminal.js +27 -2
  512. package/dist/esm/models/operations/getterminal.js.map +1 -1
  513. package/dist/esm/models/operations/getwebhook.d.ts +36 -2
  514. package/dist/esm/models/operations/getwebhook.d.ts.map +1 -1
  515. package/dist/esm/models/operations/getwebhook.js +27 -2
  516. package/dist/esm/models/operations/getwebhook.js.map +1 -1
  517. package/dist/esm/models/operations/getwebhookevent.d.ts +36 -2
  518. package/dist/esm/models/operations/getwebhookevent.d.ts.map +1 -1
  519. package/dist/esm/models/operations/getwebhookevent.js +27 -2
  520. package/dist/esm/models/operations/getwebhookevent.js.map +1 -1
  521. package/dist/esm/models/operations/listallchargebacks.d.ts +47 -2
  522. package/dist/esm/models/operations/listallchargebacks.d.ts.map +1 -1
  523. package/dist/esm/models/operations/listallchargebacks.js +29 -2
  524. package/dist/esm/models/operations/listallchargebacks.js.map +1 -1
  525. package/dist/esm/models/operations/listallmethods.d.ts +47 -2
  526. package/dist/esm/models/operations/listallmethods.d.ts.map +1 -1
  527. package/dist/esm/models/operations/listallmethods.js +29 -2
  528. package/dist/esm/models/operations/listallmethods.js.map +1 -1
  529. package/dist/esm/models/operations/listallrefunds.d.ts +47 -2
  530. package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
  531. package/dist/esm/models/operations/listallrefunds.js +29 -2
  532. package/dist/esm/models/operations/listallrefunds.js.map +1 -1
  533. package/dist/esm/models/operations/listallsubscriptions.d.ts +47 -2
  534. package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
  535. package/dist/esm/models/operations/listallsubscriptions.js +29 -2
  536. package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
  537. package/dist/esm/models/operations/listbalances.d.ts +36 -2
  538. package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
  539. package/dist/esm/models/operations/listbalances.js +27 -2
  540. package/dist/esm/models/operations/listbalances.js.map +1 -1
  541. package/dist/esm/models/operations/listbalancetransactions.d.ts +36 -2
  542. package/dist/esm/models/operations/listbalancetransactions.d.ts.map +1 -1
  543. package/dist/esm/models/operations/listbalancetransactions.js +27 -2
  544. package/dist/esm/models/operations/listbalancetransactions.js.map +1 -1
  545. package/dist/esm/models/operations/listcaptures.d.ts +36 -2
  546. package/dist/esm/models/operations/listcaptures.d.ts.map +1 -1
  547. package/dist/esm/models/operations/listcaptures.js +27 -2
  548. package/dist/esm/models/operations/listcaptures.js.map +1 -1
  549. package/dist/esm/models/operations/listchargebacks.d.ts +36 -2
  550. package/dist/esm/models/operations/listchargebacks.d.ts.map +1 -1
  551. package/dist/esm/models/operations/listchargebacks.js +27 -2
  552. package/dist/esm/models/operations/listchargebacks.js.map +1 -1
  553. package/dist/esm/models/operations/listconnectbalancetransfers.d.ts +36 -2
  554. package/dist/esm/models/operations/listconnectbalancetransfers.d.ts.map +1 -1
  555. package/dist/esm/models/operations/listconnectbalancetransfers.js +27 -2
  556. package/dist/esm/models/operations/listconnectbalancetransfers.js.map +1 -1
  557. package/dist/esm/models/operations/listcustomerpayments.d.ts +47 -2
  558. package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
  559. package/dist/esm/models/operations/listcustomerpayments.js +29 -2
  560. package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
  561. package/dist/esm/models/operations/listcustomers.d.ts +36 -2
  562. package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
  563. package/dist/esm/models/operations/listcustomers.js +27 -2
  564. package/dist/esm/models/operations/listcustomers.js.map +1 -1
  565. package/dist/esm/models/operations/listmandates.d.ts +36 -2
  566. package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
  567. package/dist/esm/models/operations/listmandates.js +27 -2
  568. package/dist/esm/models/operations/listmandates.js.map +1 -1
  569. package/dist/esm/models/operations/listmethods.d.ts +47 -2
  570. package/dist/esm/models/operations/listmethods.d.ts.map +1 -1
  571. package/dist/esm/models/operations/listmethods.js +29 -2
  572. package/dist/esm/models/operations/listmethods.js.map +1 -1
  573. package/dist/esm/models/operations/listpaymentlinks.d.ts +36 -2
  574. package/dist/esm/models/operations/listpaymentlinks.d.ts.map +1 -1
  575. package/dist/esm/models/operations/listpaymentlinks.js +27 -2
  576. package/dist/esm/models/operations/listpaymentlinks.js.map +1 -1
  577. package/dist/esm/models/operations/listpayments.d.ts +47 -2
  578. package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
  579. package/dist/esm/models/operations/listpayments.js +29 -2
  580. package/dist/esm/models/operations/listpayments.js.map +1 -1
  581. package/dist/esm/models/operations/listrefunds.d.ts +36 -2
  582. package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
  583. package/dist/esm/models/operations/listrefunds.js +27 -2
  584. package/dist/esm/models/operations/listrefunds.js.map +1 -1
  585. package/dist/esm/models/operations/listsalesinvoices.d.ts +36 -2
  586. package/dist/esm/models/operations/listsalesinvoices.d.ts.map +1 -1
  587. package/dist/esm/models/operations/listsalesinvoices.js +27 -2
  588. package/dist/esm/models/operations/listsalesinvoices.js.map +1 -1
  589. package/dist/esm/models/operations/listsettlementcaptures.d.ts +36 -2
  590. package/dist/esm/models/operations/listsettlementcaptures.d.ts.map +1 -1
  591. package/dist/esm/models/operations/listsettlementcaptures.js +27 -2
  592. package/dist/esm/models/operations/listsettlementcaptures.js.map +1 -1
  593. package/dist/esm/models/operations/listsettlementchargebacks.d.ts +36 -2
  594. package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  595. package/dist/esm/models/operations/listsettlementchargebacks.js +27 -2
  596. package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
  597. package/dist/esm/models/operations/listsettlementpayments.d.ts +47 -2
  598. package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
  599. package/dist/esm/models/operations/listsettlementpayments.js +29 -2
  600. package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
  601. package/dist/esm/models/operations/listsettlementrefunds.d.ts +36 -2
  602. package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
  603. package/dist/esm/models/operations/listsettlementrefunds.js +27 -2
  604. package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
  605. package/dist/esm/models/operations/listsubscriptionpayments.d.ts +47 -2
  606. package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  607. package/dist/esm/models/operations/listsubscriptionpayments.js +29 -2
  608. package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
  609. package/dist/esm/models/operations/listsubscriptions.d.ts +36 -2
  610. package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
  611. package/dist/esm/models/operations/listsubscriptions.js +27 -2
  612. package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
  613. package/dist/esm/models/operations/listterminals.d.ts +36 -2
  614. package/dist/esm/models/operations/listterminals.d.ts.map +1 -1
  615. package/dist/esm/models/operations/listterminals.js +27 -2
  616. package/dist/esm/models/operations/listterminals.js.map +1 -1
  617. package/dist/esm/models/operations/listwebhooks.d.ts +36 -2
  618. package/dist/esm/models/operations/listwebhooks.d.ts.map +1 -1
  619. package/dist/esm/models/operations/listwebhooks.js +27 -2
  620. package/dist/esm/models/operations/listwebhooks.js.map +1 -1
  621. package/dist/esm/models/operations/paymentlistroutes.d.ts +36 -2
  622. package/dist/esm/models/operations/paymentlistroutes.d.ts.map +1 -1
  623. package/dist/esm/models/operations/paymentlistroutes.js +27 -2
  624. package/dist/esm/models/operations/paymentlistroutes.js.map +1 -1
  625. package/dist/esm/models/paymentresponse.d.ts +10 -0
  626. package/dist/esm/models/paymentresponse.d.ts.map +1 -1
  627. package/dist/esm/models/paymentresponse.js +4 -0
  628. package/dist/esm/models/paymentresponse.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/operations/cancelrefund.ts +71 -4
  709. package/src/models/operations/getbalance.ts +71 -4
  710. package/src/models/operations/getbalancereport.ts +71 -4
  711. package/src/models/operations/getcapture.ts +71 -4
  712. package/src/models/operations/getchargeback.ts +71 -4
  713. package/src/models/operations/getconnectbalancetransfer.ts +73 -4
  714. package/src/models/operations/getcustomer.ts +71 -4
  715. package/src/models/operations/getmandate.ts +71 -4
  716. package/src/models/operations/getmethod.ts +84 -4
  717. package/src/models/operations/getorganization.ts +71 -4
  718. package/src/models/operations/getpayment.ts +71 -4
  719. package/src/models/operations/getpaymentlink.ts +71 -4
  720. package/src/models/operations/getpaymentlinkpayments.ts +73 -4
  721. package/src/models/operations/getpermission.ts +71 -4
  722. package/src/models/operations/getprofile.ts +71 -4
  723. package/src/models/operations/getrefund.ts +71 -4
  724. package/src/models/operations/getsalesinvoice.ts +71 -4
  725. package/src/models/operations/getsubscription.ts +71 -4
  726. package/src/models/operations/getterminal.ts +71 -4
  727. package/src/models/operations/getwebhook.ts +71 -4
  728. package/src/models/operations/getwebhookevent.ts +71 -4
  729. package/src/models/operations/listallchargebacks.ts +84 -4
  730. package/src/models/operations/listallmethods.ts +84 -4
  731. package/src/models/operations/listallrefunds.ts +84 -4
  732. package/src/models/operations/listallsubscriptions.ts +86 -4
  733. package/src/models/operations/listbalances.ts +71 -4
  734. package/src/models/operations/listbalancetransactions.ts +73 -4
  735. package/src/models/operations/listcaptures.ts +71 -4
  736. package/src/models/operations/listchargebacks.ts +71 -4
  737. package/src/models/operations/listconnectbalancetransfers.ts +75 -4
  738. package/src/models/operations/listcustomerpayments.ts +86 -4
  739. package/src/models/operations/listcustomers.ts +71 -4
  740. package/src/models/operations/listmandates.ts +71 -4
  741. package/src/models/operations/listmethods.ts +84 -4
  742. package/src/models/operations/listpaymentlinks.ts +71 -4
  743. package/src/models/operations/listpayments.ts +84 -4
  744. package/src/models/operations/listrefunds.ts +71 -4
  745. package/src/models/operations/listsalesinvoices.ts +71 -4
  746. package/src/models/operations/listsettlementcaptures.ts +73 -4
  747. package/src/models/operations/listsettlementchargebacks.ts +73 -4
  748. package/src/models/operations/listsettlementpayments.ts +86 -4
  749. package/src/models/operations/listsettlementrefunds.ts +73 -4
  750. package/src/models/operations/listsubscriptionpayments.ts +86 -4
  751. package/src/models/operations/listsubscriptions.ts +71 -4
  752. package/src/models/operations/listterminals.ts +71 -4
  753. package/src/models/operations/listwebhooks.ts +71 -4
  754. package/src/models/operations/paymentlistroutes.ts +71 -4
  755. package/src/models/paymentresponse.ts +14 -0
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.8.0",
34128
+ genVersion: "2.737.0",
34129
+ userAgent: "speakeasy-sdk/typescript 0.8.0 2.737.0 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.2",
34299
- genVersion: "2.730.5",
34300
- userAgent: "speakeasy-sdk/typescript 0.6.2 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;
@@ -42814,7 +42925,9 @@ var init_paymentresponse = __esm(() => {
42814
42925
  vouchers: arrayType(recordType(anyType())).optional(),
42815
42926
  remainderAmount: Amount$inboundSchema.optional(),
42816
42927
  remainderMethod: stringType().optional(),
42817
- remainderDetails: recordType(anyType()).optional()
42928
+ remainderDetails: recordType(anyType()).optional(),
42929
+ multibancoReference: nullableType(stringType()).optional(),
42930
+ multibancoEntity: nullableType(stringType()).optional()
42818
42931
  });
42819
42932
  PaymentResponseDetails$outboundSchema = objectType({
42820
42933
  consumerName: nullableType(stringType()).optional(),
@@ -42866,7 +42979,9 @@ var init_paymentresponse = __esm(() => {
42866
42979
  vouchers: arrayType(recordType(anyType())).optional(),
42867
42980
  remainderAmount: Amount$outboundSchema.optional(),
42868
42981
  remainderMethod: stringType().optional(),
42869
- remainderDetails: recordType(anyType()).optional()
42982
+ remainderDetails: recordType(anyType()).optional(),
42983
+ multibancoReference: nullableType(stringType()).optional(),
42984
+ multibancoEntity: nullableType(stringType()).optional()
42870
42985
  });
42871
42986
  ((PaymentResponseDetails$) => {
42872
42987
  PaymentResponseDetails$.inboundSchema = PaymentResponseDetails$inboundSchema;
@@ -43736,14 +43851,24 @@ var init_cancelpayment = __esm(() => {
43736
43851
  });
43737
43852
 
43738
43853
  // src/models/operations/cancelrefund.ts
43739
- var CancelRefundRequest$inboundSchema, CancelRefundRequest$outboundSchema, CancelRefundRequest$;
43854
+ var CancelRefundGlobals$inboundSchema, CancelRefundGlobals$outboundSchema, CancelRefundGlobals$, CancelRefundRequest$inboundSchema, CancelRefundRequest$outboundSchema, CancelRefundRequest$;
43740
43855
  var init_cancelrefund = __esm(() => {
43741
43856
  init_esm();
43742
43857
  init_primitives();
43858
+ CancelRefundGlobals$inboundSchema = objectType({
43859
+ testmode: booleanType().optional()
43860
+ });
43861
+ CancelRefundGlobals$outboundSchema = objectType({
43862
+ testmode: booleanType().optional()
43863
+ });
43864
+ ((CancelRefundGlobals$) => {
43865
+ CancelRefundGlobals$.inboundSchema = CancelRefundGlobals$inboundSchema;
43866
+ CancelRefundGlobals$.outboundSchema = CancelRefundGlobals$outboundSchema;
43867
+ })(CancelRefundGlobals$ ||= {});
43743
43868
  CancelRefundRequest$inboundSchema = objectType({
43744
43869
  paymentId: stringType(),
43745
43870
  refundId: stringType(),
43746
- testmode: nullableType(booleanType()).optional(),
43871
+ testmode: booleanType().optional(),
43747
43872
  "idempotency-key": stringType().optional()
43748
43873
  }).transform((v2) => {
43749
43874
  return remap(v2, {
@@ -43753,7 +43878,7 @@ var init_cancelrefund = __esm(() => {
43753
43878
  CancelRefundRequest$outboundSchema = objectType({
43754
43879
  paymentId: stringType(),
43755
43880
  refundId: stringType(),
43756
- testmode: nullableType(booleanType()).optional(),
43881
+ testmode: booleanType().optional(),
43757
43882
  idempotencyKey: stringType().optional()
43758
43883
  }).transform((v2) => {
43759
43884
  return remap(v2, {
@@ -44472,13 +44597,23 @@ var init_deletewebhook = __esm(() => {
44472
44597
  });
44473
44598
 
44474
44599
  // src/models/operations/getbalance.ts
44475
- var GetBalanceRequest$inboundSchema, GetBalanceRequest$outboundSchema, GetBalanceRequest$;
44600
+ var GetBalanceGlobals$inboundSchema, GetBalanceGlobals$outboundSchema, GetBalanceGlobals$, GetBalanceRequest$inboundSchema, GetBalanceRequest$outboundSchema, GetBalanceRequest$;
44476
44601
  var init_getbalance = __esm(() => {
44477
44602
  init_esm();
44478
44603
  init_primitives();
44604
+ GetBalanceGlobals$inboundSchema = objectType({
44605
+ testmode: booleanType().optional()
44606
+ });
44607
+ GetBalanceGlobals$outboundSchema = objectType({
44608
+ testmode: booleanType().optional()
44609
+ });
44610
+ ((GetBalanceGlobals$) => {
44611
+ GetBalanceGlobals$.inboundSchema = GetBalanceGlobals$inboundSchema;
44612
+ GetBalanceGlobals$.outboundSchema = GetBalanceGlobals$outboundSchema;
44613
+ })(GetBalanceGlobals$ ||= {});
44479
44614
  GetBalanceRequest$inboundSchema = objectType({
44480
44615
  id: stringType(),
44481
- testmode: nullableType(booleanType()).optional(),
44616
+ testmode: booleanType().optional(),
44482
44617
  "idempotency-key": stringType().optional()
44483
44618
  }).transform((v2) => {
44484
44619
  return remap(v2, {
@@ -44487,7 +44622,7 @@ var init_getbalance = __esm(() => {
44487
44622
  });
44488
44623
  GetBalanceRequest$outboundSchema = objectType({
44489
44624
  id: stringType(),
44490
- testmode: nullableType(booleanType()).optional(),
44625
+ testmode: booleanType().optional(),
44491
44626
  idempotencyKey: stringType().optional()
44492
44627
  }).transform((v2) => {
44493
44628
  return remap(v2, {
@@ -44501,17 +44636,27 @@ var init_getbalance = __esm(() => {
44501
44636
  });
44502
44637
 
44503
44638
  // src/models/operations/getbalancereport.ts
44504
- var GetBalanceReportRequest$inboundSchema, GetBalanceReportRequest$outboundSchema, GetBalanceReportRequest$;
44639
+ var GetBalanceReportGlobals$inboundSchema, GetBalanceReportGlobals$outboundSchema, GetBalanceReportGlobals$, GetBalanceReportRequest$inboundSchema, GetBalanceReportRequest$outboundSchema, GetBalanceReportRequest$;
44505
44640
  var init_getbalancereport = __esm(() => {
44506
44641
  init_esm();
44507
44642
  init_primitives();
44508
44643
  init_models();
44644
+ GetBalanceReportGlobals$inboundSchema = objectType({
44645
+ testmode: booleanType().optional()
44646
+ });
44647
+ GetBalanceReportGlobals$outboundSchema = objectType({
44648
+ testmode: booleanType().optional()
44649
+ });
44650
+ ((GetBalanceReportGlobals$) => {
44651
+ GetBalanceReportGlobals$.inboundSchema = GetBalanceReportGlobals$inboundSchema;
44652
+ GetBalanceReportGlobals$.outboundSchema = GetBalanceReportGlobals$outboundSchema;
44653
+ })(GetBalanceReportGlobals$ ||= {});
44509
44654
  GetBalanceReportRequest$inboundSchema = objectType({
44510
44655
  balanceId: stringType(),
44511
44656
  from: stringType(),
44512
44657
  until: stringType(),
44513
44658
  grouping: BalanceReportGrouping$inboundSchema.optional(),
44514
- testmode: nullableType(booleanType()).optional(),
44659
+ testmode: booleanType().optional(),
44515
44660
  "idempotency-key": stringType().optional()
44516
44661
  }).transform((v2) => {
44517
44662
  return remap(v2, {
@@ -44523,7 +44668,7 @@ var init_getbalancereport = __esm(() => {
44523
44668
  from: stringType(),
44524
44669
  until: stringType(),
44525
44670
  grouping: BalanceReportGrouping$outboundSchema.optional(),
44526
- testmode: nullableType(booleanType()).optional(),
44671
+ testmode: booleanType().optional(),
44527
44672
  idempotencyKey: stringType().optional()
44528
44673
  }).transform((v2) => {
44529
44674
  return remap(v2, {
@@ -44537,15 +44682,25 @@ var init_getbalancereport = __esm(() => {
44537
44682
  });
44538
44683
 
44539
44684
  // src/models/operations/getcapture.ts
44540
- var GetCaptureRequest$inboundSchema, GetCaptureRequest$outboundSchema, GetCaptureRequest$;
44685
+ var GetCaptureGlobals$inboundSchema, GetCaptureGlobals$outboundSchema, GetCaptureGlobals$, GetCaptureRequest$inboundSchema, GetCaptureRequest$outboundSchema, GetCaptureRequest$;
44541
44686
  var init_getcapture = __esm(() => {
44542
44687
  init_esm();
44543
44688
  init_primitives();
44689
+ GetCaptureGlobals$inboundSchema = objectType({
44690
+ testmode: booleanType().optional()
44691
+ });
44692
+ GetCaptureGlobals$outboundSchema = objectType({
44693
+ testmode: booleanType().optional()
44694
+ });
44695
+ ((GetCaptureGlobals$) => {
44696
+ GetCaptureGlobals$.inboundSchema = GetCaptureGlobals$inboundSchema;
44697
+ GetCaptureGlobals$.outboundSchema = GetCaptureGlobals$outboundSchema;
44698
+ })(GetCaptureGlobals$ ||= {});
44544
44699
  GetCaptureRequest$inboundSchema = objectType({
44545
44700
  paymentId: stringType(),
44546
44701
  captureId: stringType(),
44547
44702
  embed: nullableType(stringType()).optional(),
44548
- testmode: nullableType(booleanType()).optional(),
44703
+ testmode: booleanType().optional(),
44549
44704
  "idempotency-key": stringType().optional()
44550
44705
  }).transform((v2) => {
44551
44706
  return remap(v2, {
@@ -44556,7 +44711,7 @@ var init_getcapture = __esm(() => {
44556
44711
  paymentId: stringType(),
44557
44712
  captureId: stringType(),
44558
44713
  embed: nullableType(stringType()).optional(),
44559
- testmode: nullableType(booleanType()).optional(),
44714
+ testmode: booleanType().optional(),
44560
44715
  idempotencyKey: stringType().optional()
44561
44716
  }).transform((v2) => {
44562
44717
  return remap(v2, {
@@ -44570,15 +44725,25 @@ var init_getcapture = __esm(() => {
44570
44725
  });
44571
44726
 
44572
44727
  // src/models/operations/getchargeback.ts
44573
- var GetChargebackRequest$inboundSchema, GetChargebackRequest$outboundSchema, GetChargebackRequest$;
44728
+ var GetChargebackGlobals$inboundSchema, GetChargebackGlobals$outboundSchema, GetChargebackGlobals$, GetChargebackRequest$inboundSchema, GetChargebackRequest$outboundSchema, GetChargebackRequest$;
44574
44729
  var init_getchargeback = __esm(() => {
44575
44730
  init_esm();
44576
44731
  init_primitives();
44732
+ GetChargebackGlobals$inboundSchema = objectType({
44733
+ testmode: booleanType().optional()
44734
+ });
44735
+ GetChargebackGlobals$outboundSchema = objectType({
44736
+ testmode: booleanType().optional()
44737
+ });
44738
+ ((GetChargebackGlobals$) => {
44739
+ GetChargebackGlobals$.inboundSchema = GetChargebackGlobals$inboundSchema;
44740
+ GetChargebackGlobals$.outboundSchema = GetChargebackGlobals$outboundSchema;
44741
+ })(GetChargebackGlobals$ ||= {});
44577
44742
  GetChargebackRequest$inboundSchema = objectType({
44578
44743
  paymentId: stringType(),
44579
44744
  chargebackId: stringType(),
44580
44745
  embed: nullableType(stringType()).optional(),
44581
- testmode: nullableType(booleanType()).optional(),
44746
+ testmode: booleanType().optional(),
44582
44747
  "idempotency-key": stringType().optional()
44583
44748
  }).transform((v2) => {
44584
44749
  return remap(v2, {
@@ -44589,7 +44754,7 @@ var init_getchargeback = __esm(() => {
44589
44754
  paymentId: stringType(),
44590
44755
  chargebackId: stringType(),
44591
44756
  embed: nullableType(stringType()).optional(),
44592
- testmode: nullableType(booleanType()).optional(),
44757
+ testmode: booleanType().optional(),
44593
44758
  idempotencyKey: stringType().optional()
44594
44759
  }).transform((v2) => {
44595
44760
  return remap(v2, {
@@ -44703,13 +44868,23 @@ var init_getclient = __esm(() => {
44703
44868
  });
44704
44869
 
44705
44870
  // src/models/operations/getconnectbalancetransfer.ts
44706
- var GetConnectBalanceTransferRequest$inboundSchema, GetConnectBalanceTransferRequest$outboundSchema, GetConnectBalanceTransferRequest$;
44871
+ var GetConnectBalanceTransferGlobals$inboundSchema, GetConnectBalanceTransferGlobals$outboundSchema, GetConnectBalanceTransferGlobals$, GetConnectBalanceTransferRequest$inboundSchema, GetConnectBalanceTransferRequest$outboundSchema, GetConnectBalanceTransferRequest$;
44707
44872
  var init_getconnectbalancetransfer = __esm(() => {
44708
44873
  init_esm();
44709
44874
  init_primitives();
44875
+ GetConnectBalanceTransferGlobals$inboundSchema = objectType({
44876
+ testmode: booleanType().optional()
44877
+ });
44878
+ GetConnectBalanceTransferGlobals$outboundSchema = objectType({
44879
+ testmode: booleanType().optional()
44880
+ });
44881
+ ((GetConnectBalanceTransferGlobals$) => {
44882
+ GetConnectBalanceTransferGlobals$.inboundSchema = GetConnectBalanceTransferGlobals$inboundSchema;
44883
+ GetConnectBalanceTransferGlobals$.outboundSchema = GetConnectBalanceTransferGlobals$outboundSchema;
44884
+ })(GetConnectBalanceTransferGlobals$ ||= {});
44710
44885
  GetConnectBalanceTransferRequest$inboundSchema = objectType({
44711
44886
  id: stringType(),
44712
- testmode: nullableType(booleanType()).optional(),
44887
+ testmode: booleanType().optional(),
44713
44888
  "idempotency-key": stringType().optional()
44714
44889
  }).transform((v2) => {
44715
44890
  return remap(v2, {
@@ -44718,7 +44893,7 @@ var init_getconnectbalancetransfer = __esm(() => {
44718
44893
  });
44719
44894
  GetConnectBalanceTransferRequest$outboundSchema = objectType({
44720
44895
  id: stringType(),
44721
- testmode: nullableType(booleanType()).optional(),
44896
+ testmode: booleanType().optional(),
44722
44897
  idempotencyKey: stringType().optional()
44723
44898
  }).transform((v2) => {
44724
44899
  return remap(v2, {
@@ -44782,15 +44957,25 @@ var init_getcurrentprofile = __esm(() => {
44782
44957
  });
44783
44958
 
44784
44959
  // src/models/operations/getcustomer.ts
44785
- var GetCustomerRequest$inboundSchema, GetCustomerRequest$outboundSchema, GetCustomerRequest$, GetCustomerLinks$inboundSchema, GetCustomerLinks$outboundSchema, GetCustomerLinks$, GetCustomerResponse$inboundSchema, GetCustomerResponse$outboundSchema, GetCustomerResponse$;
44960
+ var GetCustomerGlobals$inboundSchema, GetCustomerGlobals$outboundSchema, GetCustomerGlobals$, GetCustomerRequest$inboundSchema, GetCustomerRequest$outboundSchema, GetCustomerRequest$, GetCustomerLinks$inboundSchema, GetCustomerLinks$outboundSchema, GetCustomerLinks$, GetCustomerResponse$inboundSchema, GetCustomerResponse$outboundSchema, GetCustomerResponse$;
44786
44961
  var init_getcustomer = __esm(() => {
44787
44962
  init_esm();
44788
44963
  init_primitives();
44789
44964
  init_models();
44965
+ GetCustomerGlobals$inboundSchema = objectType({
44966
+ testmode: booleanType().optional()
44967
+ });
44968
+ GetCustomerGlobals$outboundSchema = objectType({
44969
+ testmode: booleanType().optional()
44970
+ });
44971
+ ((GetCustomerGlobals$) => {
44972
+ GetCustomerGlobals$.inboundSchema = GetCustomerGlobals$inboundSchema;
44973
+ GetCustomerGlobals$.outboundSchema = GetCustomerGlobals$outboundSchema;
44974
+ })(GetCustomerGlobals$ ||= {});
44790
44975
  GetCustomerRequest$inboundSchema = objectType({
44791
44976
  customerId: stringType(),
44792
44977
  include: nullableType(stringType()).optional(),
44793
- testmode: nullableType(booleanType()).optional(),
44978
+ testmode: booleanType().optional(),
44794
44979
  "idempotency-key": stringType().optional()
44795
44980
  }).transform((v2) => {
44796
44981
  return remap(v2, {
@@ -44800,7 +44985,7 @@ var init_getcustomer = __esm(() => {
44800
44985
  GetCustomerRequest$outboundSchema = objectType({
44801
44986
  customerId: stringType(),
44802
44987
  include: nullableType(stringType()).optional(),
44803
- testmode: nullableType(booleanType()).optional(),
44988
+ testmode: booleanType().optional(),
44804
44989
  idempotencyKey: stringType().optional()
44805
44990
  }).transform((v2) => {
44806
44991
  return remap(v2, {
@@ -44897,14 +45082,24 @@ var init_getinvoice = __esm(() => {
44897
45082
  });
44898
45083
 
44899
45084
  // src/models/operations/getmandate.ts
44900
- var GetMandateRequest$inboundSchema, GetMandateRequest$outboundSchema, GetMandateRequest$;
45085
+ var GetMandateGlobals$inboundSchema, GetMandateGlobals$outboundSchema, GetMandateGlobals$, GetMandateRequest$inboundSchema, GetMandateRequest$outboundSchema, GetMandateRequest$;
44901
45086
  var init_getmandate = __esm(() => {
44902
45087
  init_esm();
44903
45088
  init_primitives();
45089
+ GetMandateGlobals$inboundSchema = objectType({
45090
+ testmode: booleanType().optional()
45091
+ });
45092
+ GetMandateGlobals$outboundSchema = objectType({
45093
+ testmode: booleanType().optional()
45094
+ });
45095
+ ((GetMandateGlobals$) => {
45096
+ GetMandateGlobals$.inboundSchema = GetMandateGlobals$inboundSchema;
45097
+ GetMandateGlobals$.outboundSchema = GetMandateGlobals$outboundSchema;
45098
+ })(GetMandateGlobals$ ||= {});
44904
45099
  GetMandateRequest$inboundSchema = objectType({
44905
45100
  customerId: stringType(),
44906
45101
  mandateId: stringType(),
44907
- testmode: nullableType(booleanType()).optional(),
45102
+ testmode: booleanType().optional(),
44908
45103
  "idempotency-key": stringType().optional()
44909
45104
  }).transform((v2) => {
44910
45105
  return remap(v2, {
@@ -44914,7 +45109,7 @@ var init_getmandate = __esm(() => {
44914
45109
  GetMandateRequest$outboundSchema = objectType({
44915
45110
  customerId: stringType(),
44916
45111
  mandateId: stringType(),
44917
- testmode: nullableType(booleanType()).optional(),
45112
+ testmode: booleanType().optional(),
44918
45113
  idempotencyKey: stringType().optional()
44919
45114
  }).transform((v2) => {
44920
45115
  return remap(v2, {
@@ -44928,11 +45123,23 @@ var init_getmandate = __esm(() => {
44928
45123
  });
44929
45124
 
44930
45125
  // src/models/operations/getmethod.ts
44931
- var GetMethodRequest$inboundSchema, GetMethodRequest$outboundSchema, GetMethodRequest$;
45126
+ var GetMethodGlobals$inboundSchema, GetMethodGlobals$outboundSchema, GetMethodGlobals$, GetMethodRequest$inboundSchema, GetMethodRequest$outboundSchema, GetMethodRequest$;
44932
45127
  var init_getmethod = __esm(() => {
44933
45128
  init_esm();
44934
45129
  init_primitives();
44935
45130
  init_models();
45131
+ GetMethodGlobals$inboundSchema = objectType({
45132
+ profileId: stringType().optional(),
45133
+ testmode: booleanType().optional()
45134
+ });
45135
+ GetMethodGlobals$outboundSchema = objectType({
45136
+ profileId: stringType().optional(),
45137
+ testmode: booleanType().optional()
45138
+ });
45139
+ ((GetMethodGlobals$) => {
45140
+ GetMethodGlobals$.inboundSchema = GetMethodGlobals$inboundSchema;
45141
+ GetMethodGlobals$.outboundSchema = GetMethodGlobals$outboundSchema;
45142
+ })(GetMethodGlobals$ ||= {});
44936
45143
  GetMethodRequest$inboundSchema = objectType({
44937
45144
  id: stringType(),
44938
45145
  locale: nullableType(Locale$inboundSchema).optional(),
@@ -44940,7 +45147,7 @@ var init_getmethod = __esm(() => {
44940
45147
  profileId: stringType().optional(),
44941
45148
  include: nullableType(stringType()).optional(),
44942
45149
  sequenceType: SequenceType$inboundSchema.optional(),
44943
- testmode: nullableType(booleanType()).optional(),
45150
+ testmode: booleanType().optional(),
44944
45151
  "idempotency-key": stringType().optional()
44945
45152
  }).transform((v2) => {
44946
45153
  return remap(v2, {
@@ -44954,7 +45161,7 @@ var init_getmethod = __esm(() => {
44954
45161
  profileId: stringType().optional(),
44955
45162
  include: nullableType(stringType()).optional(),
44956
45163
  sequenceType: SequenceType$outboundSchema.optional(),
44957
- testmode: nullableType(booleanType()).optional(),
45164
+ testmode: booleanType().optional(),
44958
45165
  idempotencyKey: stringType().optional()
44959
45166
  }).transform((v2) => {
44960
45167
  return remap(v2, {
@@ -45043,13 +45250,23 @@ var init_getopensettlement = __esm(() => {
45043
45250
  });
45044
45251
 
45045
45252
  // src/models/operations/getorganization.ts
45046
- var GetOrganizationRequest$inboundSchema, GetOrganizationRequest$outboundSchema, GetOrganizationRequest$;
45253
+ var GetOrganizationGlobals$inboundSchema, GetOrganizationGlobals$outboundSchema, GetOrganizationGlobals$, GetOrganizationRequest$inboundSchema, GetOrganizationRequest$outboundSchema, GetOrganizationRequest$;
45047
45254
  var init_getorganization = __esm(() => {
45048
45255
  init_esm();
45049
45256
  init_primitives();
45257
+ GetOrganizationGlobals$inboundSchema = objectType({
45258
+ testmode: booleanType().optional()
45259
+ });
45260
+ GetOrganizationGlobals$outboundSchema = objectType({
45261
+ testmode: booleanType().optional()
45262
+ });
45263
+ ((GetOrganizationGlobals$) => {
45264
+ GetOrganizationGlobals$.inboundSchema = GetOrganizationGlobals$inboundSchema;
45265
+ GetOrganizationGlobals$.outboundSchema = GetOrganizationGlobals$outboundSchema;
45266
+ })(GetOrganizationGlobals$ ||= {});
45050
45267
  GetOrganizationRequest$inboundSchema = objectType({
45051
45268
  id: stringType(),
45052
- testmode: nullableType(booleanType()).optional(),
45269
+ testmode: booleanType().optional(),
45053
45270
  "idempotency-key": stringType().optional()
45054
45271
  }).transform((v2) => {
45055
45272
  return remap(v2, {
@@ -45058,7 +45275,7 @@ var init_getorganization = __esm(() => {
45058
45275
  });
45059
45276
  GetOrganizationRequest$outboundSchema = objectType({
45060
45277
  id: stringType(),
45061
- testmode: nullableType(booleanType()).optional(),
45278
+ testmode: booleanType().optional(),
45062
45279
  idempotencyKey: stringType().optional()
45063
45280
  }).transform((v2) => {
45064
45281
  return remap(v2, {
@@ -45169,15 +45386,25 @@ var init_getpartnerstatus = __esm(() => {
45169
45386
  });
45170
45387
 
45171
45388
  // src/models/operations/getpayment.ts
45172
- var GetPaymentRequest$inboundSchema, GetPaymentRequest$outboundSchema, GetPaymentRequest$;
45389
+ var GetPaymentGlobals$inboundSchema, GetPaymentGlobals$outboundSchema, GetPaymentGlobals$, GetPaymentRequest$inboundSchema, GetPaymentRequest$outboundSchema, GetPaymentRequest$;
45173
45390
  var init_getpayment = __esm(() => {
45174
45391
  init_esm();
45175
45392
  init_primitives();
45393
+ GetPaymentGlobals$inboundSchema = objectType({
45394
+ testmode: booleanType().optional()
45395
+ });
45396
+ GetPaymentGlobals$outboundSchema = objectType({
45397
+ testmode: booleanType().optional()
45398
+ });
45399
+ ((GetPaymentGlobals$) => {
45400
+ GetPaymentGlobals$.inboundSchema = GetPaymentGlobals$inboundSchema;
45401
+ GetPaymentGlobals$.outboundSchema = GetPaymentGlobals$outboundSchema;
45402
+ })(GetPaymentGlobals$ ||= {});
45176
45403
  GetPaymentRequest$inboundSchema = objectType({
45177
45404
  paymentId: stringType(),
45178
45405
  include: nullableType(stringType()).optional(),
45179
45406
  embed: nullableType(stringType()).optional(),
45180
- testmode: nullableType(booleanType()).optional(),
45407
+ testmode: booleanType().optional(),
45181
45408
  "idempotency-key": stringType().optional()
45182
45409
  }).transform((v2) => {
45183
45410
  return remap(v2, {
@@ -45188,7 +45415,7 @@ var init_getpayment = __esm(() => {
45188
45415
  paymentId: stringType(),
45189
45416
  include: nullableType(stringType()).optional(),
45190
45417
  embed: nullableType(stringType()).optional(),
45191
- testmode: nullableType(booleanType()).optional(),
45418
+ testmode: booleanType().optional(),
45192
45419
  idempotencyKey: stringType().optional()
45193
45420
  }).transform((v2) => {
45194
45421
  return remap(v2, {
@@ -45202,13 +45429,23 @@ var init_getpayment = __esm(() => {
45202
45429
  });
45203
45430
 
45204
45431
  // src/models/operations/getpaymentlink.ts
45205
- var GetPaymentLinkRequest$inboundSchema, GetPaymentLinkRequest$outboundSchema, GetPaymentLinkRequest$;
45432
+ var GetPaymentLinkGlobals$inboundSchema, GetPaymentLinkGlobals$outboundSchema, GetPaymentLinkGlobals$, GetPaymentLinkRequest$inboundSchema, GetPaymentLinkRequest$outboundSchema, GetPaymentLinkRequest$;
45206
45433
  var init_getpaymentlink = __esm(() => {
45207
45434
  init_esm();
45208
45435
  init_primitives();
45436
+ GetPaymentLinkGlobals$inboundSchema = objectType({
45437
+ testmode: booleanType().optional()
45438
+ });
45439
+ GetPaymentLinkGlobals$outboundSchema = objectType({
45440
+ testmode: booleanType().optional()
45441
+ });
45442
+ ((GetPaymentLinkGlobals$) => {
45443
+ GetPaymentLinkGlobals$.inboundSchema = GetPaymentLinkGlobals$inboundSchema;
45444
+ GetPaymentLinkGlobals$.outboundSchema = GetPaymentLinkGlobals$outboundSchema;
45445
+ })(GetPaymentLinkGlobals$ ||= {});
45209
45446
  GetPaymentLinkRequest$inboundSchema = objectType({
45210
45447
  paymentLinkId: stringType(),
45211
- testmode: nullableType(booleanType()).optional(),
45448
+ testmode: booleanType().optional(),
45212
45449
  "idempotency-key": stringType().optional()
45213
45450
  }).transform((v2) => {
45214
45451
  return remap(v2, {
@@ -45217,7 +45454,7 @@ var init_getpaymentlink = __esm(() => {
45217
45454
  });
45218
45455
  GetPaymentLinkRequest$outboundSchema = objectType({
45219
45456
  paymentLinkId: stringType(),
45220
- testmode: nullableType(booleanType()).optional(),
45457
+ testmode: booleanType().optional(),
45221
45458
  idempotencyKey: stringType().optional()
45222
45459
  }).transform((v2) => {
45223
45460
  return remap(v2, {
@@ -45231,17 +45468,27 @@ var init_getpaymentlink = __esm(() => {
45231
45468
  });
45232
45469
 
45233
45470
  // src/models/operations/getpaymentlinkpayments.ts
45234
- var GetPaymentLinkPaymentsRequest$inboundSchema, GetPaymentLinkPaymentsRequest$outboundSchema, GetPaymentLinkPaymentsRequest$, GetPaymentLinkPaymentsEmbedded$inboundSchema, GetPaymentLinkPaymentsEmbedded$outboundSchema, GetPaymentLinkPaymentsEmbedded$, GetPaymentLinkPaymentsResponse$inboundSchema, GetPaymentLinkPaymentsResponse$outboundSchema, GetPaymentLinkPaymentsResponse$;
45471
+ var GetPaymentLinkPaymentsGlobals$inboundSchema, GetPaymentLinkPaymentsGlobals$outboundSchema, GetPaymentLinkPaymentsGlobals$, GetPaymentLinkPaymentsRequest$inboundSchema, GetPaymentLinkPaymentsRequest$outboundSchema, GetPaymentLinkPaymentsRequest$, GetPaymentLinkPaymentsEmbedded$inboundSchema, GetPaymentLinkPaymentsEmbedded$outboundSchema, GetPaymentLinkPaymentsEmbedded$, GetPaymentLinkPaymentsResponse$inboundSchema, GetPaymentLinkPaymentsResponse$outboundSchema, GetPaymentLinkPaymentsResponse$;
45235
45472
  var init_getpaymentlinkpayments = __esm(() => {
45236
45473
  init_esm();
45237
45474
  init_primitives();
45238
45475
  init_models();
45476
+ GetPaymentLinkPaymentsGlobals$inboundSchema = objectType({
45477
+ testmode: booleanType().optional()
45478
+ });
45479
+ GetPaymentLinkPaymentsGlobals$outboundSchema = objectType({
45480
+ testmode: booleanType().optional()
45481
+ });
45482
+ ((GetPaymentLinkPaymentsGlobals$) => {
45483
+ GetPaymentLinkPaymentsGlobals$.inboundSchema = GetPaymentLinkPaymentsGlobals$inboundSchema;
45484
+ GetPaymentLinkPaymentsGlobals$.outboundSchema = GetPaymentLinkPaymentsGlobals$outboundSchema;
45485
+ })(GetPaymentLinkPaymentsGlobals$ ||= {});
45239
45486
  GetPaymentLinkPaymentsRequest$inboundSchema = objectType({
45240
45487
  paymentLinkId: stringType(),
45241
45488
  from: stringType().optional(),
45242
45489
  limit: nullableType(numberType().int()).optional(),
45243
45490
  sort: Sorting$inboundSchema.optional(),
45244
- testmode: nullableType(booleanType()).optional(),
45491
+ testmode: booleanType().optional(),
45245
45492
  "idempotency-key": stringType().optional()
45246
45493
  }).transform((v2) => {
45247
45494
  return remap(v2, {
@@ -45253,7 +45500,7 @@ var init_getpaymentlinkpayments = __esm(() => {
45253
45500
  from: stringType().optional(),
45254
45501
  limit: nullableType(numberType().int()).optional(),
45255
45502
  sort: Sorting$outboundSchema.optional(),
45256
- testmode: nullableType(booleanType()).optional(),
45503
+ testmode: booleanType().optional(),
45257
45504
  idempotencyKey: stringType().optional()
45258
45505
  }).transform((v2) => {
45259
45506
  return remap(v2, {
@@ -45301,13 +45548,23 @@ var init_getpaymentlinkpayments = __esm(() => {
45301
45548
  });
45302
45549
 
45303
45550
  // src/models/operations/getpermission.ts
45304
- var GetPermissionRequest$inboundSchema, GetPermissionRequest$outboundSchema, GetPermissionRequest$;
45551
+ var GetPermissionGlobals$inboundSchema, GetPermissionGlobals$outboundSchema, GetPermissionGlobals$, GetPermissionRequest$inboundSchema, GetPermissionRequest$outboundSchema, GetPermissionRequest$;
45305
45552
  var init_getpermission = __esm(() => {
45306
45553
  init_esm();
45307
45554
  init_primitives();
45555
+ GetPermissionGlobals$inboundSchema = objectType({
45556
+ testmode: booleanType().optional()
45557
+ });
45558
+ GetPermissionGlobals$outboundSchema = objectType({
45559
+ testmode: booleanType().optional()
45560
+ });
45561
+ ((GetPermissionGlobals$) => {
45562
+ GetPermissionGlobals$.inboundSchema = GetPermissionGlobals$inboundSchema;
45563
+ GetPermissionGlobals$.outboundSchema = GetPermissionGlobals$outboundSchema;
45564
+ })(GetPermissionGlobals$ ||= {});
45308
45565
  GetPermissionRequest$inboundSchema = objectType({
45309
45566
  permissionId: stringType(),
45310
- testmode: nullableType(booleanType()).optional(),
45567
+ testmode: booleanType().optional(),
45311
45568
  "idempotency-key": stringType().optional()
45312
45569
  }).transform((v2) => {
45313
45570
  return remap(v2, {
@@ -45316,7 +45573,7 @@ var init_getpermission = __esm(() => {
45316
45573
  });
45317
45574
  GetPermissionRequest$outboundSchema = objectType({
45318
45575
  permissionId: stringType(),
45319
- testmode: nullableType(booleanType()).optional(),
45576
+ testmode: booleanType().optional(),
45320
45577
  idempotencyKey: stringType().optional()
45321
45578
  }).transform((v2) => {
45322
45579
  return remap(v2, {
@@ -45355,13 +45612,23 @@ var init_getprimarybalance = __esm(() => {
45355
45612
  });
45356
45613
 
45357
45614
  // src/models/operations/getprofile.ts
45358
- var GetProfileRequest$inboundSchema, GetProfileRequest$outboundSchema, GetProfileRequest$;
45615
+ var GetProfileGlobals$inboundSchema, GetProfileGlobals$outboundSchema, GetProfileGlobals$, GetProfileRequest$inboundSchema, GetProfileRequest$outboundSchema, GetProfileRequest$;
45359
45616
  var init_getprofile = __esm(() => {
45360
45617
  init_esm();
45361
45618
  init_primitives();
45619
+ GetProfileGlobals$inboundSchema = objectType({
45620
+ testmode: booleanType().optional()
45621
+ });
45622
+ GetProfileGlobals$outboundSchema = objectType({
45623
+ testmode: booleanType().optional()
45624
+ });
45625
+ ((GetProfileGlobals$) => {
45626
+ GetProfileGlobals$.inboundSchema = GetProfileGlobals$inboundSchema;
45627
+ GetProfileGlobals$.outboundSchema = GetProfileGlobals$outboundSchema;
45628
+ })(GetProfileGlobals$ ||= {});
45362
45629
  GetProfileRequest$inboundSchema = objectType({
45363
45630
  id: stringType(),
45364
- testmode: nullableType(booleanType()).optional(),
45631
+ testmode: booleanType().optional(),
45365
45632
  "idempotency-key": stringType().optional()
45366
45633
  }).transform((v2) => {
45367
45634
  return remap(v2, {
@@ -45370,7 +45637,7 @@ var init_getprofile = __esm(() => {
45370
45637
  });
45371
45638
  GetProfileRequest$outboundSchema = objectType({
45372
45639
  id: stringType(),
45373
- testmode: nullableType(booleanType()).optional(),
45640
+ testmode: booleanType().optional(),
45374
45641
  idempotencyKey: stringType().optional()
45375
45642
  }).transform((v2) => {
45376
45643
  return remap(v2, {
@@ -45384,15 +45651,25 @@ var init_getprofile = __esm(() => {
45384
45651
  });
45385
45652
 
45386
45653
  // src/models/operations/getrefund.ts
45387
- var GetRefundRequest$inboundSchema, GetRefundRequest$outboundSchema, GetRefundRequest$;
45654
+ var GetRefundGlobals$inboundSchema, GetRefundGlobals$outboundSchema, GetRefundGlobals$, GetRefundRequest$inboundSchema, GetRefundRequest$outboundSchema, GetRefundRequest$;
45388
45655
  var init_getrefund = __esm(() => {
45389
45656
  init_esm();
45390
45657
  init_primitives();
45658
+ GetRefundGlobals$inboundSchema = objectType({
45659
+ testmode: booleanType().optional()
45660
+ });
45661
+ GetRefundGlobals$outboundSchema = objectType({
45662
+ testmode: booleanType().optional()
45663
+ });
45664
+ ((GetRefundGlobals$) => {
45665
+ GetRefundGlobals$.inboundSchema = GetRefundGlobals$inboundSchema;
45666
+ GetRefundGlobals$.outboundSchema = GetRefundGlobals$outboundSchema;
45667
+ })(GetRefundGlobals$ ||= {});
45391
45668
  GetRefundRequest$inboundSchema = objectType({
45392
45669
  paymentId: stringType(),
45393
45670
  refundId: stringType(),
45394
45671
  embed: nullableType(stringType()).optional(),
45395
- testmode: nullableType(booleanType()).optional(),
45672
+ testmode: booleanType().optional(),
45396
45673
  "idempotency-key": stringType().optional()
45397
45674
  }).transform((v2) => {
45398
45675
  return remap(v2, {
@@ -45403,7 +45680,7 @@ var init_getrefund = __esm(() => {
45403
45680
  paymentId: stringType(),
45404
45681
  refundId: stringType(),
45405
45682
  embed: nullableType(stringType()).optional(),
45406
- testmode: nullableType(booleanType()).optional(),
45683
+ testmode: booleanType().optional(),
45407
45684
  idempotencyKey: stringType().optional()
45408
45685
  }).transform((v2) => {
45409
45686
  return remap(v2, {
@@ -45417,13 +45694,23 @@ var init_getrefund = __esm(() => {
45417
45694
  });
45418
45695
 
45419
45696
  // src/models/operations/getsalesinvoice.ts
45420
- var GetSalesInvoiceRequest$inboundSchema, GetSalesInvoiceRequest$outboundSchema, GetSalesInvoiceRequest$;
45697
+ var GetSalesInvoiceGlobals$inboundSchema, GetSalesInvoiceGlobals$outboundSchema, GetSalesInvoiceGlobals$, GetSalesInvoiceRequest$inboundSchema, GetSalesInvoiceRequest$outboundSchema, GetSalesInvoiceRequest$;
45421
45698
  var init_getsalesinvoice = __esm(() => {
45422
45699
  init_esm();
45423
45700
  init_primitives();
45701
+ GetSalesInvoiceGlobals$inboundSchema = objectType({
45702
+ testmode: booleanType().optional()
45703
+ });
45704
+ GetSalesInvoiceGlobals$outboundSchema = objectType({
45705
+ testmode: booleanType().optional()
45706
+ });
45707
+ ((GetSalesInvoiceGlobals$) => {
45708
+ GetSalesInvoiceGlobals$.inboundSchema = GetSalesInvoiceGlobals$inboundSchema;
45709
+ GetSalesInvoiceGlobals$.outboundSchema = GetSalesInvoiceGlobals$outboundSchema;
45710
+ })(GetSalesInvoiceGlobals$ ||= {});
45424
45711
  GetSalesInvoiceRequest$inboundSchema = objectType({
45425
45712
  id: stringType(),
45426
- testmode: nullableType(booleanType()).optional(),
45713
+ testmode: booleanType().optional(),
45427
45714
  "idempotency-key": stringType().optional()
45428
45715
  }).transform((v2) => {
45429
45716
  return remap(v2, {
@@ -45432,7 +45719,7 @@ var init_getsalesinvoice = __esm(() => {
45432
45719
  });
45433
45720
  GetSalesInvoiceRequest$outboundSchema = objectType({
45434
45721
  id: stringType(),
45435
- testmode: nullableType(booleanType()).optional(),
45722
+ testmode: booleanType().optional(),
45436
45723
  idempotencyKey: stringType().optional()
45437
45724
  }).transform((v2) => {
45438
45725
  return remap(v2, {
@@ -45473,14 +45760,24 @@ var init_getsettlement = __esm(() => {
45473
45760
  });
45474
45761
 
45475
45762
  // src/models/operations/getsubscription.ts
45476
- var GetSubscriptionRequest$inboundSchema, GetSubscriptionRequest$outboundSchema, GetSubscriptionRequest$;
45763
+ var GetSubscriptionGlobals$inboundSchema, GetSubscriptionGlobals$outboundSchema, GetSubscriptionGlobals$, GetSubscriptionRequest$inboundSchema, GetSubscriptionRequest$outboundSchema, GetSubscriptionRequest$;
45477
45764
  var init_getsubscription = __esm(() => {
45478
45765
  init_esm();
45479
45766
  init_primitives();
45767
+ GetSubscriptionGlobals$inboundSchema = objectType({
45768
+ testmode: booleanType().optional()
45769
+ });
45770
+ GetSubscriptionGlobals$outboundSchema = objectType({
45771
+ testmode: booleanType().optional()
45772
+ });
45773
+ ((GetSubscriptionGlobals$) => {
45774
+ GetSubscriptionGlobals$.inboundSchema = GetSubscriptionGlobals$inboundSchema;
45775
+ GetSubscriptionGlobals$.outboundSchema = GetSubscriptionGlobals$outboundSchema;
45776
+ })(GetSubscriptionGlobals$ ||= {});
45480
45777
  GetSubscriptionRequest$inboundSchema = objectType({
45481
45778
  customerId: stringType(),
45482
45779
  subscriptionId: stringType(),
45483
- testmode: nullableType(booleanType()).optional(),
45780
+ testmode: booleanType().optional(),
45484
45781
  "idempotency-key": stringType().optional()
45485
45782
  }).transform((v2) => {
45486
45783
  return remap(v2, {
@@ -45490,7 +45787,7 @@ var init_getsubscription = __esm(() => {
45490
45787
  GetSubscriptionRequest$outboundSchema = objectType({
45491
45788
  customerId: stringType(),
45492
45789
  subscriptionId: stringType(),
45493
- testmode: nullableType(booleanType()).optional(),
45790
+ testmode: booleanType().optional(),
45494
45791
  idempotencyKey: stringType().optional()
45495
45792
  }).transform((v2) => {
45496
45793
  return remap(v2, {
@@ -45504,13 +45801,23 @@ var init_getsubscription = __esm(() => {
45504
45801
  });
45505
45802
 
45506
45803
  // src/models/operations/getterminal.ts
45507
- var GetTerminalRequest$inboundSchema, GetTerminalRequest$outboundSchema, GetTerminalRequest$;
45804
+ var GetTerminalGlobals$inboundSchema, GetTerminalGlobals$outboundSchema, GetTerminalGlobals$, GetTerminalRequest$inboundSchema, GetTerminalRequest$outboundSchema, GetTerminalRequest$;
45508
45805
  var init_getterminal = __esm(() => {
45509
45806
  init_esm();
45510
45807
  init_primitives();
45808
+ GetTerminalGlobals$inboundSchema = objectType({
45809
+ testmode: booleanType().optional()
45810
+ });
45811
+ GetTerminalGlobals$outboundSchema = objectType({
45812
+ testmode: booleanType().optional()
45813
+ });
45814
+ ((GetTerminalGlobals$) => {
45815
+ GetTerminalGlobals$.inboundSchema = GetTerminalGlobals$inboundSchema;
45816
+ GetTerminalGlobals$.outboundSchema = GetTerminalGlobals$outboundSchema;
45817
+ })(GetTerminalGlobals$ ||= {});
45511
45818
  GetTerminalRequest$inboundSchema = objectType({
45512
45819
  terminalId: stringType(),
45513
- testmode: nullableType(booleanType()).optional(),
45820
+ testmode: booleanType().optional(),
45514
45821
  "idempotency-key": stringType().optional()
45515
45822
  }).transform((v2) => {
45516
45823
  return remap(v2, {
@@ -45519,7 +45826,7 @@ var init_getterminal = __esm(() => {
45519
45826
  });
45520
45827
  GetTerminalRequest$outboundSchema = objectType({
45521
45828
  terminalId: stringType(),
45522
- testmode: nullableType(booleanType()).optional(),
45829
+ testmode: booleanType().optional(),
45523
45830
  idempotencyKey: stringType().optional()
45524
45831
  }).transform((v2) => {
45525
45832
  return remap(v2, {
@@ -45533,13 +45840,23 @@ var init_getterminal = __esm(() => {
45533
45840
  });
45534
45841
 
45535
45842
  // src/models/operations/getwebhook.ts
45536
- var GetWebhookRequest$inboundSchema, GetWebhookRequest$outboundSchema, GetWebhookRequest$;
45843
+ var GetWebhookGlobals$inboundSchema, GetWebhookGlobals$outboundSchema, GetWebhookGlobals$, GetWebhookRequest$inboundSchema, GetWebhookRequest$outboundSchema, GetWebhookRequest$;
45537
45844
  var init_getwebhook = __esm(() => {
45538
45845
  init_esm();
45539
45846
  init_primitives();
45847
+ GetWebhookGlobals$inboundSchema = objectType({
45848
+ testmode: booleanType().optional()
45849
+ });
45850
+ GetWebhookGlobals$outboundSchema = objectType({
45851
+ testmode: booleanType().optional()
45852
+ });
45853
+ ((GetWebhookGlobals$) => {
45854
+ GetWebhookGlobals$.inboundSchema = GetWebhookGlobals$inboundSchema;
45855
+ GetWebhookGlobals$.outboundSchema = GetWebhookGlobals$outboundSchema;
45856
+ })(GetWebhookGlobals$ ||= {});
45540
45857
  GetWebhookRequest$inboundSchema = objectType({
45541
45858
  id: stringType(),
45542
- testmode: nullableType(booleanType()).optional(),
45859
+ testmode: booleanType().optional(),
45543
45860
  "idempotency-key": stringType().optional()
45544
45861
  }).transform((v2) => {
45545
45862
  return remap(v2, {
@@ -45548,7 +45865,7 @@ var init_getwebhook = __esm(() => {
45548
45865
  });
45549
45866
  GetWebhookRequest$outboundSchema = objectType({
45550
45867
  id: stringType(),
45551
- testmode: nullableType(booleanType()).optional(),
45868
+ testmode: booleanType().optional(),
45552
45869
  idempotencyKey: stringType().optional()
45553
45870
  }).transform((v2) => {
45554
45871
  return remap(v2, {
@@ -45562,13 +45879,23 @@ var init_getwebhook = __esm(() => {
45562
45879
  });
45563
45880
 
45564
45881
  // src/models/operations/getwebhookevent.ts
45565
- var GetWebhookEventRequest$inboundSchema, GetWebhookEventRequest$outboundSchema, GetWebhookEventRequest$;
45882
+ var GetWebhookEventGlobals$inboundSchema, GetWebhookEventGlobals$outboundSchema, GetWebhookEventGlobals$, GetWebhookEventRequest$inboundSchema, GetWebhookEventRequest$outboundSchema, GetWebhookEventRequest$;
45566
45883
  var init_getwebhookevent = __esm(() => {
45567
45884
  init_esm();
45568
45885
  init_primitives();
45886
+ GetWebhookEventGlobals$inboundSchema = objectType({
45887
+ testmode: booleanType().optional()
45888
+ });
45889
+ GetWebhookEventGlobals$outboundSchema = objectType({
45890
+ testmode: booleanType().optional()
45891
+ });
45892
+ ((GetWebhookEventGlobals$) => {
45893
+ GetWebhookEventGlobals$.inboundSchema = GetWebhookEventGlobals$inboundSchema;
45894
+ GetWebhookEventGlobals$.outboundSchema = GetWebhookEventGlobals$outboundSchema;
45895
+ })(GetWebhookEventGlobals$ ||= {});
45569
45896
  GetWebhookEventRequest$inboundSchema = objectType({
45570
45897
  id: stringType(),
45571
- testmode: nullableType(booleanType()).optional(),
45898
+ testmode: booleanType().optional(),
45572
45899
  "idempotency-key": stringType().optional()
45573
45900
  }).transform((v2) => {
45574
45901
  return remap(v2, {
@@ -45577,7 +45904,7 @@ var init_getwebhookevent = __esm(() => {
45577
45904
  });
45578
45905
  GetWebhookEventRequest$outboundSchema = objectType({
45579
45906
  id: stringType(),
45580
- testmode: nullableType(booleanType()).optional(),
45907
+ testmode: booleanType().optional(),
45581
45908
  idempotencyKey: stringType().optional()
45582
45909
  }).transform((v2) => {
45583
45910
  return remap(v2, {
@@ -45591,18 +45918,30 @@ var init_getwebhookevent = __esm(() => {
45591
45918
  });
45592
45919
 
45593
45920
  // src/models/operations/listallchargebacks.ts
45594
- var ListAllChargebacksRequest$inboundSchema, ListAllChargebacksRequest$outboundSchema, ListAllChargebacksRequest$, ListAllChargebacksEmbedded$inboundSchema, ListAllChargebacksEmbedded$outboundSchema, ListAllChargebacksEmbedded$, ListAllChargebacksResponse$inboundSchema, ListAllChargebacksResponse$outboundSchema, ListAllChargebacksResponse$;
45921
+ var ListAllChargebacksGlobals$inboundSchema, ListAllChargebacksGlobals$outboundSchema, ListAllChargebacksGlobals$, ListAllChargebacksRequest$inboundSchema, ListAllChargebacksRequest$outboundSchema, ListAllChargebacksRequest$, ListAllChargebacksEmbedded$inboundSchema, ListAllChargebacksEmbedded$outboundSchema, ListAllChargebacksEmbedded$, ListAllChargebacksResponse$inboundSchema, ListAllChargebacksResponse$outboundSchema, ListAllChargebacksResponse$;
45595
45922
  var init_listallchargebacks = __esm(() => {
45596
45923
  init_esm();
45597
45924
  init_primitives();
45598
45925
  init_models();
45926
+ ListAllChargebacksGlobals$inboundSchema = objectType({
45927
+ profileId: stringType().optional(),
45928
+ testmode: booleanType().optional()
45929
+ });
45930
+ ListAllChargebacksGlobals$outboundSchema = objectType({
45931
+ profileId: stringType().optional(),
45932
+ testmode: booleanType().optional()
45933
+ });
45934
+ ((ListAllChargebacksGlobals$) => {
45935
+ ListAllChargebacksGlobals$.inboundSchema = ListAllChargebacksGlobals$inboundSchema;
45936
+ ListAllChargebacksGlobals$.outboundSchema = ListAllChargebacksGlobals$outboundSchema;
45937
+ })(ListAllChargebacksGlobals$ ||= {});
45599
45938
  ListAllChargebacksRequest$inboundSchema = objectType({
45600
45939
  from: stringType().optional(),
45601
45940
  limit: nullableType(numberType().int()).optional(),
45602
45941
  embed: nullableType(stringType()).optional(),
45603
45942
  sort: Sorting$inboundSchema.optional(),
45604
45943
  profileId: stringType().optional(),
45605
- testmode: nullableType(booleanType()).optional(),
45944
+ testmode: booleanType().optional(),
45606
45945
  "idempotency-key": stringType().optional()
45607
45946
  }).transform((v2) => {
45608
45947
  return remap(v2, {
@@ -45615,7 +45954,7 @@ var init_listallchargebacks = __esm(() => {
45615
45954
  embed: nullableType(stringType()).optional(),
45616
45955
  sort: Sorting$outboundSchema.optional(),
45617
45956
  profileId: stringType().optional(),
45618
- testmode: nullableType(booleanType()).optional(),
45957
+ testmode: booleanType().optional(),
45619
45958
  idempotencyKey: stringType().optional()
45620
45959
  }).transform((v2) => {
45621
45960
  return remap(v2, {
@@ -45663,18 +46002,30 @@ var init_listallchargebacks = __esm(() => {
45663
46002
  });
45664
46003
 
45665
46004
  // src/models/operations/listallmethods.ts
45666
- var ListAllMethodsRequest$inboundSchema, ListAllMethodsRequest$outboundSchema, ListAllMethodsRequest$, ListAllMethodsEmbedded$inboundSchema, ListAllMethodsEmbedded$outboundSchema, ListAllMethodsEmbedded$, ListAllMethodsLinks$inboundSchema, ListAllMethodsLinks$outboundSchema, ListAllMethodsLinks$, ListAllMethodsResponse$inboundSchema, ListAllMethodsResponse$outboundSchema, ListAllMethodsResponse$;
46005
+ 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$;
45667
46006
  var init_listallmethods = __esm(() => {
45668
46007
  init_esm();
45669
46008
  init_primitives();
45670
46009
  init_models();
46010
+ ListAllMethodsGlobals$inboundSchema = objectType({
46011
+ profileId: stringType().optional(),
46012
+ testmode: booleanType().optional()
46013
+ });
46014
+ ListAllMethodsGlobals$outboundSchema = objectType({
46015
+ profileId: stringType().optional(),
46016
+ testmode: booleanType().optional()
46017
+ });
46018
+ ((ListAllMethodsGlobals$) => {
46019
+ ListAllMethodsGlobals$.inboundSchema = ListAllMethodsGlobals$inboundSchema;
46020
+ ListAllMethodsGlobals$.outboundSchema = ListAllMethodsGlobals$outboundSchema;
46021
+ })(ListAllMethodsGlobals$ ||= {});
45671
46022
  ListAllMethodsRequest$inboundSchema = objectType({
45672
46023
  locale: nullableType(Locale$inboundSchema).optional(),
45673
46024
  amount: Amount$inboundSchema.optional(),
45674
46025
  include: nullableType(stringType()).optional(),
45675
46026
  sequenceType: SequenceType$inboundSchema.optional(),
45676
46027
  profileId: stringType().optional(),
45677
- testmode: nullableType(booleanType()).optional(),
46028
+ testmode: booleanType().optional(),
45678
46029
  "idempotency-key": stringType().optional()
45679
46030
  }).transform((v2) => {
45680
46031
  return remap(v2, {
@@ -45687,7 +46038,7 @@ var init_listallmethods = __esm(() => {
45687
46038
  include: nullableType(stringType()).optional(),
45688
46039
  sequenceType: SequenceType$outboundSchema.optional(),
45689
46040
  profileId: stringType().optional(),
45690
- testmode: nullableType(booleanType()).optional(),
46041
+ testmode: booleanType().optional(),
45691
46042
  idempotencyKey: stringType().optional()
45692
46043
  }).transform((v2) => {
45693
46044
  return remap(v2, {
@@ -45747,18 +46098,30 @@ var init_listallmethods = __esm(() => {
45747
46098
  });
45748
46099
 
45749
46100
  // src/models/operations/listallrefunds.ts
45750
- var ListAllRefundsRequest$inboundSchema, ListAllRefundsRequest$outboundSchema, ListAllRefundsRequest$, ListAllRefundsEmbedded$inboundSchema, ListAllRefundsEmbedded$outboundSchema, ListAllRefundsEmbedded$, ListAllRefundsResponse$inboundSchema, ListAllRefundsResponse$outboundSchema, ListAllRefundsResponse$;
46101
+ var ListAllRefundsGlobals$inboundSchema, ListAllRefundsGlobals$outboundSchema, ListAllRefundsGlobals$, ListAllRefundsRequest$inboundSchema, ListAllRefundsRequest$outboundSchema, ListAllRefundsRequest$, ListAllRefundsEmbedded$inboundSchema, ListAllRefundsEmbedded$outboundSchema, ListAllRefundsEmbedded$, ListAllRefundsResponse$inboundSchema, ListAllRefundsResponse$outboundSchema, ListAllRefundsResponse$;
45751
46102
  var init_listallrefunds = __esm(() => {
45752
46103
  init_esm();
45753
46104
  init_primitives();
45754
46105
  init_models();
46106
+ ListAllRefundsGlobals$inboundSchema = objectType({
46107
+ profileId: stringType().optional(),
46108
+ testmode: booleanType().optional()
46109
+ });
46110
+ ListAllRefundsGlobals$outboundSchema = objectType({
46111
+ profileId: stringType().optional(),
46112
+ testmode: booleanType().optional()
46113
+ });
46114
+ ((ListAllRefundsGlobals$) => {
46115
+ ListAllRefundsGlobals$.inboundSchema = ListAllRefundsGlobals$inboundSchema;
46116
+ ListAllRefundsGlobals$.outboundSchema = ListAllRefundsGlobals$outboundSchema;
46117
+ })(ListAllRefundsGlobals$ ||= {});
45755
46118
  ListAllRefundsRequest$inboundSchema = objectType({
45756
46119
  from: stringType().optional(),
45757
46120
  limit: nullableType(numberType().int()).optional(),
45758
46121
  sort: Sorting$inboundSchema.optional(),
45759
46122
  embed: nullableType(stringType()).optional(),
45760
46123
  profileId: stringType().optional(),
45761
- testmode: nullableType(booleanType()).optional(),
46124
+ testmode: booleanType().optional(),
45762
46125
  "idempotency-key": stringType().optional()
45763
46126
  }).transform((v2) => {
45764
46127
  return remap(v2, {
@@ -45771,7 +46134,7 @@ var init_listallrefunds = __esm(() => {
45771
46134
  sort: Sorting$outboundSchema.optional(),
45772
46135
  embed: nullableType(stringType()).optional(),
45773
46136
  profileId: stringType().optional(),
45774
- testmode: nullableType(booleanType()).optional(),
46137
+ testmode: booleanType().optional(),
45775
46138
  idempotencyKey: stringType().optional()
45776
46139
  }).transform((v2) => {
45777
46140
  return remap(v2, {
@@ -45819,16 +46182,28 @@ var init_listallrefunds = __esm(() => {
45819
46182
  });
45820
46183
 
45821
46184
  // src/models/operations/listallsubscriptions.ts
45822
- var ListAllSubscriptionsRequest$inboundSchema, ListAllSubscriptionsRequest$outboundSchema, ListAllSubscriptionsRequest$, ListAllSubscriptionsEmbedded$inboundSchema, ListAllSubscriptionsEmbedded$outboundSchema, ListAllSubscriptionsEmbedded$, ListAllSubscriptionsResponse$inboundSchema, ListAllSubscriptionsResponse$outboundSchema, ListAllSubscriptionsResponse$;
46185
+ var ListAllSubscriptionsGlobals$inboundSchema, ListAllSubscriptionsGlobals$outboundSchema, ListAllSubscriptionsGlobals$, ListAllSubscriptionsRequest$inboundSchema, ListAllSubscriptionsRequest$outboundSchema, ListAllSubscriptionsRequest$, ListAllSubscriptionsEmbedded$inboundSchema, ListAllSubscriptionsEmbedded$outboundSchema, ListAllSubscriptionsEmbedded$, ListAllSubscriptionsResponse$inboundSchema, ListAllSubscriptionsResponse$outboundSchema, ListAllSubscriptionsResponse$;
45823
46186
  var init_listallsubscriptions = __esm(() => {
45824
46187
  init_esm();
45825
46188
  init_primitives();
45826
46189
  init_models();
46190
+ ListAllSubscriptionsGlobals$inboundSchema = objectType({
46191
+ profileId: stringType().optional(),
46192
+ testmode: booleanType().optional()
46193
+ });
46194
+ ListAllSubscriptionsGlobals$outboundSchema = objectType({
46195
+ profileId: stringType().optional(),
46196
+ testmode: booleanType().optional()
46197
+ });
46198
+ ((ListAllSubscriptionsGlobals$) => {
46199
+ ListAllSubscriptionsGlobals$.inboundSchema = ListAllSubscriptionsGlobals$inboundSchema;
46200
+ ListAllSubscriptionsGlobals$.outboundSchema = ListAllSubscriptionsGlobals$outboundSchema;
46201
+ })(ListAllSubscriptionsGlobals$ ||= {});
45827
46202
  ListAllSubscriptionsRequest$inboundSchema = objectType({
45828
46203
  from: nullableType(stringType()).optional(),
45829
46204
  limit: nullableType(numberType().int()).optional(),
45830
46205
  profileId: nullableType(stringType()).optional(),
45831
- testmode: nullableType(booleanType()).optional(),
46206
+ testmode: booleanType().optional(),
45832
46207
  "idempotency-key": stringType().optional()
45833
46208
  }).transform((v2) => {
45834
46209
  return remap(v2, {
@@ -45839,7 +46214,7 @@ var init_listallsubscriptions = __esm(() => {
45839
46214
  from: nullableType(stringType()).optional(),
45840
46215
  limit: nullableType(numberType().int()).optional(),
45841
46216
  profileId: nullableType(stringType()).optional(),
45842
- testmode: nullableType(booleanType()).optional(),
46217
+ testmode: booleanType().optional(),
45843
46218
  idempotencyKey: stringType().optional()
45844
46219
  }).transform((v2) => {
45845
46220
  return remap(v2, {
@@ -45887,16 +46262,26 @@ var init_listallsubscriptions = __esm(() => {
45887
46262
  });
45888
46263
 
45889
46264
  // src/models/operations/listbalances.ts
45890
- var ListBalancesRequest$inboundSchema, ListBalancesRequest$outboundSchema, ListBalancesRequest$, ListBalancesEmbedded$inboundSchema, ListBalancesEmbedded$outboundSchema, ListBalancesEmbedded$, ListBalancesResponse$inboundSchema, ListBalancesResponse$outboundSchema, ListBalancesResponse$;
46265
+ var ListBalancesGlobals$inboundSchema, ListBalancesGlobals$outboundSchema, ListBalancesGlobals$, ListBalancesRequest$inboundSchema, ListBalancesRequest$outboundSchema, ListBalancesRequest$, ListBalancesEmbedded$inboundSchema, ListBalancesEmbedded$outboundSchema, ListBalancesEmbedded$, ListBalancesResponse$inboundSchema, ListBalancesResponse$outboundSchema, ListBalancesResponse$;
45891
46266
  var init_listbalances = __esm(() => {
45892
46267
  init_esm();
45893
46268
  init_primitives();
45894
46269
  init_models();
46270
+ ListBalancesGlobals$inboundSchema = objectType({
46271
+ testmode: booleanType().optional()
46272
+ });
46273
+ ListBalancesGlobals$outboundSchema = objectType({
46274
+ testmode: booleanType().optional()
46275
+ });
46276
+ ((ListBalancesGlobals$) => {
46277
+ ListBalancesGlobals$.inboundSchema = ListBalancesGlobals$inboundSchema;
46278
+ ListBalancesGlobals$.outboundSchema = ListBalancesGlobals$outboundSchema;
46279
+ })(ListBalancesGlobals$ ||= {});
45895
46280
  ListBalancesRequest$inboundSchema = objectType({
45896
46281
  currency: nullableType(stringType()).optional(),
45897
46282
  from: nullableType(stringType()).optional(),
45898
46283
  limit: nullableType(numberType().int()).optional(),
45899
- testmode: nullableType(booleanType()).optional(),
46284
+ testmode: booleanType().optional(),
45900
46285
  "idempotency-key": stringType().optional()
45901
46286
  }).transform((v2) => {
45902
46287
  return remap(v2, {
@@ -45907,7 +46292,7 @@ var init_listbalances = __esm(() => {
45907
46292
  currency: nullableType(stringType()).optional(),
45908
46293
  from: nullableType(stringType()).optional(),
45909
46294
  limit: nullableType(numberType().int()).optional(),
45910
- testmode: nullableType(booleanType()).optional(),
46295
+ testmode: booleanType().optional(),
45911
46296
  idempotencyKey: stringType().optional()
45912
46297
  }).transform((v2) => {
45913
46298
  return remap(v2, {
@@ -45955,16 +46340,26 @@ var init_listbalances = __esm(() => {
45955
46340
  });
45956
46341
 
45957
46342
  // src/models/operations/listbalancetransactions.ts
45958
- var ListBalanceTransactionsRequest$inboundSchema, ListBalanceTransactionsRequest$outboundSchema, ListBalanceTransactionsRequest$, ListBalanceTransactionsEmbedded$inboundSchema, ListBalanceTransactionsEmbedded$outboundSchema, ListBalanceTransactionsEmbedded$, ListBalanceTransactionsResponse$inboundSchema, ListBalanceTransactionsResponse$outboundSchema, ListBalanceTransactionsResponse$;
46343
+ var ListBalanceTransactionsGlobals$inboundSchema, ListBalanceTransactionsGlobals$outboundSchema, ListBalanceTransactionsGlobals$, ListBalanceTransactionsRequest$inboundSchema, ListBalanceTransactionsRequest$outboundSchema, ListBalanceTransactionsRequest$, ListBalanceTransactionsEmbedded$inboundSchema, ListBalanceTransactionsEmbedded$outboundSchema, ListBalanceTransactionsEmbedded$, ListBalanceTransactionsResponse$inboundSchema, ListBalanceTransactionsResponse$outboundSchema, ListBalanceTransactionsResponse$;
45959
46344
  var init_listbalancetransactions = __esm(() => {
45960
46345
  init_esm();
45961
46346
  init_primitives();
45962
46347
  init_models();
46348
+ ListBalanceTransactionsGlobals$inboundSchema = objectType({
46349
+ testmode: booleanType().optional()
46350
+ });
46351
+ ListBalanceTransactionsGlobals$outboundSchema = objectType({
46352
+ testmode: booleanType().optional()
46353
+ });
46354
+ ((ListBalanceTransactionsGlobals$) => {
46355
+ ListBalanceTransactionsGlobals$.inboundSchema = ListBalanceTransactionsGlobals$inboundSchema;
46356
+ ListBalanceTransactionsGlobals$.outboundSchema = ListBalanceTransactionsGlobals$outboundSchema;
46357
+ })(ListBalanceTransactionsGlobals$ ||= {});
45963
46358
  ListBalanceTransactionsRequest$inboundSchema = objectType({
45964
46359
  balanceId: stringType(),
45965
46360
  from: nullableType(stringType()).optional(),
45966
46361
  limit: nullableType(numberType().int()).optional(),
45967
- testmode: nullableType(booleanType()).optional(),
46362
+ testmode: booleanType().optional(),
45968
46363
  "idempotency-key": stringType().optional()
45969
46364
  }).transform((v2) => {
45970
46365
  return remap(v2, {
@@ -45975,7 +46370,7 @@ var init_listbalancetransactions = __esm(() => {
45975
46370
  balanceId: stringType(),
45976
46371
  from: nullableType(stringType()).optional(),
45977
46372
  limit: nullableType(numberType().int()).optional(),
45978
- testmode: nullableType(booleanType()).optional(),
46373
+ testmode: booleanType().optional(),
45979
46374
  idempotencyKey: stringType().optional()
45980
46375
  }).transform((v2) => {
45981
46376
  return remap(v2, {
@@ -46101,17 +46496,27 @@ var init_listcapabilities = __esm(() => {
46101
46496
  });
46102
46497
 
46103
46498
  // src/models/operations/listcaptures.ts
46104
- var ListCapturesRequest$inboundSchema, ListCapturesRequest$outboundSchema, ListCapturesRequest$, ListCapturesEmbedded$inboundSchema, ListCapturesEmbedded$outboundSchema, ListCapturesEmbedded$, ListCapturesResponse$inboundSchema, ListCapturesResponse$outboundSchema, ListCapturesResponse$;
46499
+ var ListCapturesGlobals$inboundSchema, ListCapturesGlobals$outboundSchema, ListCapturesGlobals$, ListCapturesRequest$inboundSchema, ListCapturesRequest$outboundSchema, ListCapturesRequest$, ListCapturesEmbedded$inboundSchema, ListCapturesEmbedded$outboundSchema, ListCapturesEmbedded$, ListCapturesResponse$inboundSchema, ListCapturesResponse$outboundSchema, ListCapturesResponse$;
46105
46500
  var init_listcaptures = __esm(() => {
46106
46501
  init_esm();
46107
46502
  init_primitives();
46108
46503
  init_models();
46504
+ ListCapturesGlobals$inboundSchema = objectType({
46505
+ testmode: booleanType().optional()
46506
+ });
46507
+ ListCapturesGlobals$outboundSchema = objectType({
46508
+ testmode: booleanType().optional()
46509
+ });
46510
+ ((ListCapturesGlobals$) => {
46511
+ ListCapturesGlobals$.inboundSchema = ListCapturesGlobals$inboundSchema;
46512
+ ListCapturesGlobals$.outboundSchema = ListCapturesGlobals$outboundSchema;
46513
+ })(ListCapturesGlobals$ ||= {});
46109
46514
  ListCapturesRequest$inboundSchema = objectType({
46110
46515
  paymentId: stringType(),
46111
46516
  from: stringType().optional(),
46112
46517
  limit: nullableType(numberType().int()).optional(),
46113
46518
  embed: nullableType(stringType()).optional(),
46114
- testmode: nullableType(booleanType()).optional(),
46519
+ testmode: booleanType().optional(),
46115
46520
  "idempotency-key": stringType().optional()
46116
46521
  }).transform((v2) => {
46117
46522
  return remap(v2, {
@@ -46123,7 +46528,7 @@ var init_listcaptures = __esm(() => {
46123
46528
  from: stringType().optional(),
46124
46529
  limit: nullableType(numberType().int()).optional(),
46125
46530
  embed: nullableType(stringType()).optional(),
46126
- testmode: nullableType(booleanType()).optional(),
46531
+ testmode: booleanType().optional(),
46127
46532
  idempotencyKey: stringType().optional()
46128
46533
  }).transform((v2) => {
46129
46534
  return remap(v2, {
@@ -46171,17 +46576,27 @@ var init_listcaptures = __esm(() => {
46171
46576
  });
46172
46577
 
46173
46578
  // src/models/operations/listchargebacks.ts
46174
- var ListChargebacksRequest$inboundSchema, ListChargebacksRequest$outboundSchema, ListChargebacksRequest$, ListChargebacksEmbedded$inboundSchema, ListChargebacksEmbedded$outboundSchema, ListChargebacksEmbedded$, ListChargebacksResponse$inboundSchema, ListChargebacksResponse$outboundSchema, ListChargebacksResponse$;
46579
+ var ListChargebacksGlobals$inboundSchema, ListChargebacksGlobals$outboundSchema, ListChargebacksGlobals$, ListChargebacksRequest$inboundSchema, ListChargebacksRequest$outboundSchema, ListChargebacksRequest$, ListChargebacksEmbedded$inboundSchema, ListChargebacksEmbedded$outboundSchema, ListChargebacksEmbedded$, ListChargebacksResponse$inboundSchema, ListChargebacksResponse$outboundSchema, ListChargebacksResponse$;
46175
46580
  var init_listchargebacks = __esm(() => {
46176
46581
  init_esm();
46177
46582
  init_primitives();
46178
46583
  init_models();
46584
+ ListChargebacksGlobals$inboundSchema = objectType({
46585
+ testmode: booleanType().optional()
46586
+ });
46587
+ ListChargebacksGlobals$outboundSchema = objectType({
46588
+ testmode: booleanType().optional()
46589
+ });
46590
+ ((ListChargebacksGlobals$) => {
46591
+ ListChargebacksGlobals$.inboundSchema = ListChargebacksGlobals$inboundSchema;
46592
+ ListChargebacksGlobals$.outboundSchema = ListChargebacksGlobals$outboundSchema;
46593
+ })(ListChargebacksGlobals$ ||= {});
46179
46594
  ListChargebacksRequest$inboundSchema = objectType({
46180
46595
  paymentId: stringType(),
46181
46596
  from: stringType().optional(),
46182
46597
  limit: nullableType(numberType().int()).optional(),
46183
46598
  embed: nullableType(stringType()).optional(),
46184
- testmode: nullableType(booleanType()).optional(),
46599
+ testmode: booleanType().optional(),
46185
46600
  "idempotency-key": stringType().optional()
46186
46601
  }).transform((v2) => {
46187
46602
  return remap(v2, {
@@ -46193,7 +46608,7 @@ var init_listchargebacks = __esm(() => {
46193
46608
  from: stringType().optional(),
46194
46609
  limit: nullableType(numberType().int()).optional(),
46195
46610
  embed: nullableType(stringType()).optional(),
46196
- testmode: nullableType(booleanType()).optional(),
46611
+ testmode: booleanType().optional(),
46197
46612
  idempotencyKey: stringType().optional()
46198
46613
  }).transform((v2) => {
46199
46614
  return remap(v2, {
@@ -46377,16 +46792,26 @@ var init_listclients = __esm(() => {
46377
46792
  });
46378
46793
 
46379
46794
  // src/models/operations/listconnectbalancetransfers.ts
46380
- var ListConnectBalanceTransfersRequest$inboundSchema, ListConnectBalanceTransfersRequest$outboundSchema, ListConnectBalanceTransfersRequest$, ListConnectBalanceTransfersEmbedded$inboundSchema, ListConnectBalanceTransfersEmbedded$outboundSchema, ListConnectBalanceTransfersEmbedded$, ListConnectBalanceTransfersResponse$inboundSchema, ListConnectBalanceTransfersResponse$outboundSchema, ListConnectBalanceTransfersResponse$;
46795
+ var ListConnectBalanceTransfersGlobals$inboundSchema, ListConnectBalanceTransfersGlobals$outboundSchema, ListConnectBalanceTransfersGlobals$, ListConnectBalanceTransfersRequest$inboundSchema, ListConnectBalanceTransfersRequest$outboundSchema, ListConnectBalanceTransfersRequest$, ListConnectBalanceTransfersEmbedded$inboundSchema, ListConnectBalanceTransfersEmbedded$outboundSchema, ListConnectBalanceTransfersEmbedded$, ListConnectBalanceTransfersResponse$inboundSchema, ListConnectBalanceTransfersResponse$outboundSchema, ListConnectBalanceTransfersResponse$;
46381
46796
  var init_listconnectbalancetransfers = __esm(() => {
46382
46797
  init_esm();
46383
46798
  init_primitives();
46384
46799
  init_models();
46800
+ ListConnectBalanceTransfersGlobals$inboundSchema = objectType({
46801
+ testmode: booleanType().optional()
46802
+ });
46803
+ ListConnectBalanceTransfersGlobals$outboundSchema = objectType({
46804
+ testmode: booleanType().optional()
46805
+ });
46806
+ ((ListConnectBalanceTransfersGlobals$) => {
46807
+ ListConnectBalanceTransfersGlobals$.inboundSchema = ListConnectBalanceTransfersGlobals$inboundSchema;
46808
+ ListConnectBalanceTransfersGlobals$.outboundSchema = ListConnectBalanceTransfersGlobals$outboundSchema;
46809
+ })(ListConnectBalanceTransfersGlobals$ ||= {});
46385
46810
  ListConnectBalanceTransfersRequest$inboundSchema = objectType({
46386
46811
  from: nullableType(stringType()).optional(),
46387
46812
  limit: nullableType(numberType().int()).optional(),
46388
46813
  sort: Sorting$inboundSchema.optional(),
46389
- testmode: nullableType(booleanType()).optional(),
46814
+ testmode: booleanType().optional(),
46390
46815
  "idempotency-key": stringType().optional()
46391
46816
  }).transform((v2) => {
46392
46817
  return remap(v2, {
@@ -46397,7 +46822,7 @@ var init_listconnectbalancetransfers = __esm(() => {
46397
46822
  from: nullableType(stringType()).optional(),
46398
46823
  limit: nullableType(numberType().int()).optional(),
46399
46824
  sort: Sorting$outboundSchema.optional(),
46400
- testmode: nullableType(booleanType()).optional(),
46825
+ testmode: booleanType().optional(),
46401
46826
  idempotencyKey: stringType().optional()
46402
46827
  }).transform((v2) => {
46403
46828
  return remap(v2, {
@@ -46453,18 +46878,30 @@ var init_listconnectbalancetransfers = __esm(() => {
46453
46878
  });
46454
46879
 
46455
46880
  // src/models/operations/listcustomerpayments.ts
46456
- var ListCustomerPaymentsRequest$inboundSchema, ListCustomerPaymentsRequest$outboundSchema, ListCustomerPaymentsRequest$, ListCustomerPaymentsEmbedded$inboundSchema, ListCustomerPaymentsEmbedded$outboundSchema, ListCustomerPaymentsEmbedded$, ListCustomerPaymentsResponse$inboundSchema, ListCustomerPaymentsResponse$outboundSchema, ListCustomerPaymentsResponse$;
46881
+ var ListCustomerPaymentsGlobals$inboundSchema, ListCustomerPaymentsGlobals$outboundSchema, ListCustomerPaymentsGlobals$, ListCustomerPaymentsRequest$inboundSchema, ListCustomerPaymentsRequest$outboundSchema, ListCustomerPaymentsRequest$, ListCustomerPaymentsEmbedded$inboundSchema, ListCustomerPaymentsEmbedded$outboundSchema, ListCustomerPaymentsEmbedded$, ListCustomerPaymentsResponse$inboundSchema, ListCustomerPaymentsResponse$outboundSchema, ListCustomerPaymentsResponse$;
46457
46882
  var init_listcustomerpayments = __esm(() => {
46458
46883
  init_esm();
46459
46884
  init_primitives();
46460
46885
  init_models();
46886
+ ListCustomerPaymentsGlobals$inboundSchema = objectType({
46887
+ profileId: stringType().optional(),
46888
+ testmode: booleanType().optional()
46889
+ });
46890
+ ListCustomerPaymentsGlobals$outboundSchema = objectType({
46891
+ profileId: stringType().optional(),
46892
+ testmode: booleanType().optional()
46893
+ });
46894
+ ((ListCustomerPaymentsGlobals$) => {
46895
+ ListCustomerPaymentsGlobals$.inboundSchema = ListCustomerPaymentsGlobals$inboundSchema;
46896
+ ListCustomerPaymentsGlobals$.outboundSchema = ListCustomerPaymentsGlobals$outboundSchema;
46897
+ })(ListCustomerPaymentsGlobals$ ||= {});
46461
46898
  ListCustomerPaymentsRequest$inboundSchema = objectType({
46462
46899
  customerId: stringType(),
46463
46900
  from: stringType().optional(),
46464
46901
  limit: nullableType(numberType().int()).optional(),
46465
46902
  sort: Sorting$inboundSchema.optional(),
46466
46903
  profileId: stringType().optional(),
46467
- testmode: nullableType(booleanType()).optional(),
46904
+ testmode: booleanType().optional(),
46468
46905
  "idempotency-key": stringType().optional()
46469
46906
  }).transform((v2) => {
46470
46907
  return remap(v2, {
@@ -46477,7 +46914,7 @@ var init_listcustomerpayments = __esm(() => {
46477
46914
  limit: nullableType(numberType().int()).optional(),
46478
46915
  sort: Sorting$outboundSchema.optional(),
46479
46916
  profileId: stringType().optional(),
46480
- testmode: nullableType(booleanType()).optional(),
46917
+ testmode: booleanType().optional(),
46481
46918
  idempotencyKey: stringType().optional()
46482
46919
  }).transform((v2) => {
46483
46920
  return remap(v2, {
@@ -46525,16 +46962,26 @@ var init_listcustomerpayments = __esm(() => {
46525
46962
  });
46526
46963
 
46527
46964
  // src/models/operations/listcustomers.ts
46528
- var ListCustomersRequest$inboundSchema, ListCustomersRequest$outboundSchema, ListCustomersRequest$, ListCustomersEmbedded$inboundSchema, ListCustomersEmbedded$outboundSchema, ListCustomersEmbedded$, ListCustomersResponse$inboundSchema, ListCustomersResponse$outboundSchema, ListCustomersResponse$;
46965
+ var ListCustomersGlobals$inboundSchema, ListCustomersGlobals$outboundSchema, ListCustomersGlobals$, ListCustomersRequest$inboundSchema, ListCustomersRequest$outboundSchema, ListCustomersRequest$, ListCustomersEmbedded$inboundSchema, ListCustomersEmbedded$outboundSchema, ListCustomersEmbedded$, ListCustomersResponse$inboundSchema, ListCustomersResponse$outboundSchema, ListCustomersResponse$;
46529
46966
  var init_listcustomers = __esm(() => {
46530
46967
  init_esm();
46531
46968
  init_primitives();
46532
46969
  init_models();
46970
+ ListCustomersGlobals$inboundSchema = objectType({
46971
+ testmode: booleanType().optional()
46972
+ });
46973
+ ListCustomersGlobals$outboundSchema = objectType({
46974
+ testmode: booleanType().optional()
46975
+ });
46976
+ ((ListCustomersGlobals$) => {
46977
+ ListCustomersGlobals$.inboundSchema = ListCustomersGlobals$inboundSchema;
46978
+ ListCustomersGlobals$.outboundSchema = ListCustomersGlobals$outboundSchema;
46979
+ })(ListCustomersGlobals$ ||= {});
46533
46980
  ListCustomersRequest$inboundSchema = objectType({
46534
46981
  from: stringType().optional(),
46535
46982
  limit: nullableType(numberType().int()).optional(),
46536
46983
  sort: Sorting$inboundSchema.optional(),
46537
- testmode: nullableType(booleanType()).optional(),
46984
+ testmode: booleanType().optional(),
46538
46985
  "idempotency-key": stringType().optional()
46539
46986
  }).transform((v2) => {
46540
46987
  return remap(v2, {
@@ -46545,7 +46992,7 @@ var init_listcustomers = __esm(() => {
46545
46992
  from: stringType().optional(),
46546
46993
  limit: nullableType(numberType().int()).optional(),
46547
46994
  sort: Sorting$outboundSchema.optional(),
46548
- testmode: nullableType(booleanType()).optional(),
46995
+ testmode: booleanType().optional(),
46549
46996
  idempotencyKey: stringType().optional()
46550
46997
  }).transform((v2) => {
46551
46998
  return remap(v2, {
@@ -46671,17 +47118,27 @@ var init_listinvoices = __esm(() => {
46671
47118
  });
46672
47119
 
46673
47120
  // src/models/operations/listmandates.ts
46674
- var ListMandatesRequest$inboundSchema, ListMandatesRequest$outboundSchema, ListMandatesRequest$, ListMandatesEmbedded$inboundSchema, ListMandatesEmbedded$outboundSchema, ListMandatesEmbedded$, ListMandatesResponse$inboundSchema, ListMandatesResponse$outboundSchema, ListMandatesResponse$;
47121
+ var ListMandatesGlobals$inboundSchema, ListMandatesGlobals$outboundSchema, ListMandatesGlobals$, ListMandatesRequest$inboundSchema, ListMandatesRequest$outboundSchema, ListMandatesRequest$, ListMandatesEmbedded$inboundSchema, ListMandatesEmbedded$outboundSchema, ListMandatesEmbedded$, ListMandatesResponse$inboundSchema, ListMandatesResponse$outboundSchema, ListMandatesResponse$;
46675
47122
  var init_listmandates = __esm(() => {
46676
47123
  init_esm();
46677
47124
  init_primitives();
46678
47125
  init_models();
47126
+ ListMandatesGlobals$inboundSchema = objectType({
47127
+ testmode: booleanType().optional()
47128
+ });
47129
+ ListMandatesGlobals$outboundSchema = objectType({
47130
+ testmode: booleanType().optional()
47131
+ });
47132
+ ((ListMandatesGlobals$) => {
47133
+ ListMandatesGlobals$.inboundSchema = ListMandatesGlobals$inboundSchema;
47134
+ ListMandatesGlobals$.outboundSchema = ListMandatesGlobals$outboundSchema;
47135
+ })(ListMandatesGlobals$ ||= {});
46679
47136
  ListMandatesRequest$inboundSchema = objectType({
46680
47137
  customerId: stringType(),
46681
47138
  from: stringType().optional(),
46682
47139
  limit: nullableType(numberType().int()).optional(),
46683
47140
  sort: Sorting$inboundSchema.optional(),
46684
- testmode: nullableType(booleanType()).optional(),
47141
+ testmode: booleanType().optional(),
46685
47142
  "idempotency-key": stringType().optional()
46686
47143
  }).transform((v2) => {
46687
47144
  return remap(v2, {
@@ -46693,7 +47150,7 @@ var init_listmandates = __esm(() => {
46693
47150
  from: stringType().optional(),
46694
47151
  limit: nullableType(numberType().int()).optional(),
46695
47152
  sort: Sorting$outboundSchema.optional(),
46696
- testmode: nullableType(booleanType()).optional(),
47153
+ testmode: booleanType().optional(),
46697
47154
  idempotencyKey: stringType().optional()
46698
47155
  }).transform((v2) => {
46699
47156
  return remap(v2, {
@@ -46741,11 +47198,23 @@ var init_listmandates = __esm(() => {
46741
47198
  });
46742
47199
 
46743
47200
  // src/models/operations/listmethods.ts
46744
- var ListMethodsRequest$inboundSchema, ListMethodsRequest$outboundSchema, ListMethodsRequest$, ListMethodsEmbedded$inboundSchema, ListMethodsEmbedded$outboundSchema, ListMethodsEmbedded$, ListMethodsLinks$inboundSchema, ListMethodsLinks$outboundSchema, ListMethodsLinks$, ListMethodsResponse$inboundSchema, ListMethodsResponse$outboundSchema, ListMethodsResponse$;
47201
+ 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$;
46745
47202
  var init_listmethods = __esm(() => {
46746
47203
  init_esm();
46747
47204
  init_primitives();
46748
47205
  init_models();
47206
+ ListMethodsGlobals$inboundSchema = objectType({
47207
+ profileId: stringType().optional(),
47208
+ testmode: booleanType().optional()
47209
+ });
47210
+ ListMethodsGlobals$outboundSchema = objectType({
47211
+ profileId: stringType().optional(),
47212
+ testmode: booleanType().optional()
47213
+ });
47214
+ ((ListMethodsGlobals$) => {
47215
+ ListMethodsGlobals$.inboundSchema = ListMethodsGlobals$inboundSchema;
47216
+ ListMethodsGlobals$.outboundSchema = ListMethodsGlobals$outboundSchema;
47217
+ })(ListMethodsGlobals$ ||= {});
46749
47218
  ListMethodsRequest$inboundSchema = objectType({
46750
47219
  sequenceType: SequenceType$inboundSchema.optional(),
46751
47220
  locale: nullableType(Locale$inboundSchema).optional(),
@@ -46756,7 +47225,7 @@ var init_listmethods = __esm(() => {
46756
47225
  orderLineCategories: LineCategories$inboundSchema.optional(),
46757
47226
  profileId: stringType().optional(),
46758
47227
  include: nullableType(stringType()).optional(),
46759
- testmode: nullableType(booleanType()).optional(),
47228
+ testmode: booleanType().optional(),
46760
47229
  "idempotency-key": stringType().optional()
46761
47230
  }).transform((v2) => {
46762
47231
  return remap(v2, {
@@ -46773,7 +47242,7 @@ var init_listmethods = __esm(() => {
46773
47242
  orderLineCategories: LineCategories$outboundSchema.optional(),
46774
47243
  profileId: stringType().optional(),
46775
47244
  include: nullableType(stringType()).optional(),
46776
- testmode: nullableType(booleanType()).optional(),
47245
+ testmode: booleanType().optional(),
46777
47246
  idempotencyKey: stringType().optional()
46778
47247
  }).transform((v2) => {
46779
47248
  return remap(v2, {
@@ -46833,15 +47302,25 @@ var init_listmethods = __esm(() => {
46833
47302
  });
46834
47303
 
46835
47304
  // src/models/operations/listpaymentlinks.ts
46836
- var ListPaymentLinksRequest$inboundSchema, ListPaymentLinksRequest$outboundSchema, ListPaymentLinksRequest$, ListPaymentLinksEmbedded$inboundSchema, ListPaymentLinksEmbedded$outboundSchema, ListPaymentLinksEmbedded$, ListPaymentLinksResponse$inboundSchema, ListPaymentLinksResponse$outboundSchema, ListPaymentLinksResponse$;
47305
+ var ListPaymentLinksGlobals$inboundSchema, ListPaymentLinksGlobals$outboundSchema, ListPaymentLinksGlobals$, ListPaymentLinksRequest$inboundSchema, ListPaymentLinksRequest$outboundSchema, ListPaymentLinksRequest$, ListPaymentLinksEmbedded$inboundSchema, ListPaymentLinksEmbedded$outboundSchema, ListPaymentLinksEmbedded$, ListPaymentLinksResponse$inboundSchema, ListPaymentLinksResponse$outboundSchema, ListPaymentLinksResponse$;
46837
47306
  var init_listpaymentlinks = __esm(() => {
46838
47307
  init_esm();
46839
47308
  init_primitives();
46840
47309
  init_models();
47310
+ ListPaymentLinksGlobals$inboundSchema = objectType({
47311
+ testmode: booleanType().optional()
47312
+ });
47313
+ ListPaymentLinksGlobals$outboundSchema = objectType({
47314
+ testmode: booleanType().optional()
47315
+ });
47316
+ ((ListPaymentLinksGlobals$) => {
47317
+ ListPaymentLinksGlobals$.inboundSchema = ListPaymentLinksGlobals$inboundSchema;
47318
+ ListPaymentLinksGlobals$.outboundSchema = ListPaymentLinksGlobals$outboundSchema;
47319
+ })(ListPaymentLinksGlobals$ ||= {});
46841
47320
  ListPaymentLinksRequest$inboundSchema = objectType({
46842
47321
  from: stringType().optional(),
46843
47322
  limit: nullableType(numberType().int()).optional(),
46844
- testmode: nullableType(booleanType()).optional(),
47323
+ testmode: booleanType().optional(),
46845
47324
  "idempotency-key": stringType().optional()
46846
47325
  }).transform((v2) => {
46847
47326
  return remap(v2, {
@@ -46851,7 +47330,7 @@ var init_listpaymentlinks = __esm(() => {
46851
47330
  ListPaymentLinksRequest$outboundSchema = objectType({
46852
47331
  from: stringType().optional(),
46853
47332
  limit: nullableType(numberType().int()).optional(),
46854
- testmode: nullableType(booleanType()).optional(),
47333
+ testmode: booleanType().optional(),
46855
47334
  idempotencyKey: stringType().optional()
46856
47335
  }).transform((v2) => {
46857
47336
  return remap(v2, {
@@ -46907,17 +47386,29 @@ var init_listpaymentlinks = __esm(() => {
46907
47386
  });
46908
47387
 
46909
47388
  // src/models/operations/listpayments.ts
46910
- var ListPaymentsRequest$inboundSchema, ListPaymentsRequest$outboundSchema, ListPaymentsRequest$, ListPaymentsEmbedded$inboundSchema, ListPaymentsEmbedded$outboundSchema, ListPaymentsEmbedded$, ListPaymentsResponse$inboundSchema, ListPaymentsResponse$outboundSchema, ListPaymentsResponse$;
47389
+ var ListPaymentsGlobals$inboundSchema, ListPaymentsGlobals$outboundSchema, ListPaymentsGlobals$, ListPaymentsRequest$inboundSchema, ListPaymentsRequest$outboundSchema, ListPaymentsRequest$, ListPaymentsEmbedded$inboundSchema, ListPaymentsEmbedded$outboundSchema, ListPaymentsEmbedded$, ListPaymentsResponse$inboundSchema, ListPaymentsResponse$outboundSchema, ListPaymentsResponse$;
46911
47390
  var init_listpayments = __esm(() => {
46912
47391
  init_esm();
46913
47392
  init_primitives();
46914
47393
  init_models();
47394
+ ListPaymentsGlobals$inboundSchema = objectType({
47395
+ profileId: stringType().optional(),
47396
+ testmode: booleanType().optional()
47397
+ });
47398
+ ListPaymentsGlobals$outboundSchema = objectType({
47399
+ profileId: stringType().optional(),
47400
+ testmode: booleanType().optional()
47401
+ });
47402
+ ((ListPaymentsGlobals$) => {
47403
+ ListPaymentsGlobals$.inboundSchema = ListPaymentsGlobals$inboundSchema;
47404
+ ListPaymentsGlobals$.outboundSchema = ListPaymentsGlobals$outboundSchema;
47405
+ })(ListPaymentsGlobals$ ||= {});
46915
47406
  ListPaymentsRequest$inboundSchema = objectType({
46916
47407
  from: stringType().optional(),
46917
47408
  limit: nullableType(numberType().int()).optional(),
46918
47409
  sort: Sorting$inboundSchema.optional(),
46919
47410
  profileId: stringType().optional(),
46920
- testmode: nullableType(booleanType()).optional(),
47411
+ testmode: booleanType().optional(),
46921
47412
  "idempotency-key": stringType().optional()
46922
47413
  }).transform((v2) => {
46923
47414
  return remap(v2, {
@@ -46929,7 +47420,7 @@ var init_listpayments = __esm(() => {
46929
47420
  limit: nullableType(numberType().int()).optional(),
46930
47421
  sort: Sorting$outboundSchema.optional(),
46931
47422
  profileId: stringType().optional(),
46932
- testmode: nullableType(booleanType()).optional(),
47423
+ testmode: booleanType().optional(),
46933
47424
  idempotencyKey: stringType().optional()
46934
47425
  }).transform((v2) => {
46935
47426
  return remap(v2, {
@@ -47113,17 +47604,27 @@ var init_listprofiles = __esm(() => {
47113
47604
  });
47114
47605
 
47115
47606
  // src/models/operations/listrefunds.ts
47116
- var ListRefundsRequest$inboundSchema, ListRefundsRequest$outboundSchema, ListRefundsRequest$, ListRefundsEmbedded$inboundSchema, ListRefundsEmbedded$outboundSchema, ListRefundsEmbedded$, ListRefundsResponse$inboundSchema, ListRefundsResponse$outboundSchema, ListRefundsResponse$;
47607
+ var ListRefundsGlobals$inboundSchema, ListRefundsGlobals$outboundSchema, ListRefundsGlobals$, ListRefundsRequest$inboundSchema, ListRefundsRequest$outboundSchema, ListRefundsRequest$, ListRefundsEmbedded$inboundSchema, ListRefundsEmbedded$outboundSchema, ListRefundsEmbedded$, ListRefundsResponse$inboundSchema, ListRefundsResponse$outboundSchema, ListRefundsResponse$;
47117
47608
  var init_listrefunds = __esm(() => {
47118
47609
  init_esm();
47119
47610
  init_primitives();
47120
47611
  init_models();
47612
+ ListRefundsGlobals$inboundSchema = objectType({
47613
+ testmode: booleanType().optional()
47614
+ });
47615
+ ListRefundsGlobals$outboundSchema = objectType({
47616
+ testmode: booleanType().optional()
47617
+ });
47618
+ ((ListRefundsGlobals$) => {
47619
+ ListRefundsGlobals$.inboundSchema = ListRefundsGlobals$inboundSchema;
47620
+ ListRefundsGlobals$.outboundSchema = ListRefundsGlobals$outboundSchema;
47621
+ })(ListRefundsGlobals$ ||= {});
47121
47622
  ListRefundsRequest$inboundSchema = objectType({
47122
47623
  paymentId: stringType(),
47123
47624
  from: stringType().optional(),
47124
47625
  limit: nullableType(numberType().int()).optional(),
47125
47626
  embed: nullableType(stringType()).optional(),
47126
- testmode: nullableType(booleanType()).optional(),
47627
+ testmode: booleanType().optional(),
47127
47628
  "idempotency-key": stringType().optional()
47128
47629
  }).transform((v2) => {
47129
47630
  return remap(v2, {
@@ -47135,7 +47636,7 @@ var init_listrefunds = __esm(() => {
47135
47636
  from: stringType().optional(),
47136
47637
  limit: nullableType(numberType().int()).optional(),
47137
47638
  embed: nullableType(stringType()).optional(),
47138
- testmode: nullableType(booleanType()).optional(),
47639
+ testmode: booleanType().optional(),
47139
47640
  idempotencyKey: stringType().optional()
47140
47641
  }).transform((v2) => {
47141
47642
  return remap(v2, {
@@ -47183,15 +47684,25 @@ var init_listrefunds = __esm(() => {
47183
47684
  });
47184
47685
 
47185
47686
  // src/models/operations/listsalesinvoices.ts
47186
- var ListSalesInvoicesRequest$inboundSchema, ListSalesInvoicesRequest$outboundSchema, ListSalesInvoicesRequest$, ListSalesInvoicesEmbedded$inboundSchema, ListSalesInvoicesEmbedded$outboundSchema, ListSalesInvoicesEmbedded$, ListSalesInvoicesResponse$inboundSchema, ListSalesInvoicesResponse$outboundSchema, ListSalesInvoicesResponse$;
47687
+ var ListSalesInvoicesGlobals$inboundSchema, ListSalesInvoicesGlobals$outboundSchema, ListSalesInvoicesGlobals$, ListSalesInvoicesRequest$inboundSchema, ListSalesInvoicesRequest$outboundSchema, ListSalesInvoicesRequest$, ListSalesInvoicesEmbedded$inboundSchema, ListSalesInvoicesEmbedded$outboundSchema, ListSalesInvoicesEmbedded$, ListSalesInvoicesResponse$inboundSchema, ListSalesInvoicesResponse$outboundSchema, ListSalesInvoicesResponse$;
47187
47688
  var init_listsalesinvoices = __esm(() => {
47188
47689
  init_esm();
47189
47690
  init_primitives();
47190
47691
  init_models();
47692
+ ListSalesInvoicesGlobals$inboundSchema = objectType({
47693
+ testmode: booleanType().optional()
47694
+ });
47695
+ ListSalesInvoicesGlobals$outboundSchema = objectType({
47696
+ testmode: booleanType().optional()
47697
+ });
47698
+ ((ListSalesInvoicesGlobals$) => {
47699
+ ListSalesInvoicesGlobals$.inboundSchema = ListSalesInvoicesGlobals$inboundSchema;
47700
+ ListSalesInvoicesGlobals$.outboundSchema = ListSalesInvoicesGlobals$outboundSchema;
47701
+ })(ListSalesInvoicesGlobals$ ||= {});
47191
47702
  ListSalesInvoicesRequest$inboundSchema = objectType({
47192
47703
  from: nullableType(stringType()).optional(),
47193
47704
  limit: nullableType(numberType().int()).optional(),
47194
- testmode: nullableType(booleanType()).optional(),
47705
+ testmode: booleanType().optional(),
47195
47706
  "idempotency-key": stringType().optional()
47196
47707
  }).transform((v2) => {
47197
47708
  return remap(v2, {
@@ -47201,7 +47712,7 @@ var init_listsalesinvoices = __esm(() => {
47201
47712
  ListSalesInvoicesRequest$outboundSchema = objectType({
47202
47713
  from: nullableType(stringType()).optional(),
47203
47714
  limit: nullableType(numberType().int()).optional(),
47204
- testmode: nullableType(booleanType()).optional(),
47715
+ testmode: booleanType().optional(),
47205
47716
  idempotencyKey: stringType().optional()
47206
47717
  }).transform((v2) => {
47207
47718
  return remap(v2, {
@@ -47257,17 +47768,27 @@ var init_listsalesinvoices = __esm(() => {
47257
47768
  });
47258
47769
 
47259
47770
  // src/models/operations/listsettlementcaptures.ts
47260
- var ListSettlementCapturesRequest$inboundSchema, ListSettlementCapturesRequest$outboundSchema, ListSettlementCapturesRequest$, ListSettlementCapturesEmbedded$inboundSchema, ListSettlementCapturesEmbedded$outboundSchema, ListSettlementCapturesEmbedded$, ListSettlementCapturesResponse$inboundSchema, ListSettlementCapturesResponse$outboundSchema, ListSettlementCapturesResponse$;
47771
+ var ListSettlementCapturesGlobals$inboundSchema, ListSettlementCapturesGlobals$outboundSchema, ListSettlementCapturesGlobals$, ListSettlementCapturesRequest$inboundSchema, ListSettlementCapturesRequest$outboundSchema, ListSettlementCapturesRequest$, ListSettlementCapturesEmbedded$inboundSchema, ListSettlementCapturesEmbedded$outboundSchema, ListSettlementCapturesEmbedded$, ListSettlementCapturesResponse$inboundSchema, ListSettlementCapturesResponse$outboundSchema, ListSettlementCapturesResponse$;
47261
47772
  var init_listsettlementcaptures = __esm(() => {
47262
47773
  init_esm();
47263
47774
  init_primitives();
47264
47775
  init_models();
47776
+ ListSettlementCapturesGlobals$inboundSchema = objectType({
47777
+ testmode: booleanType().optional()
47778
+ });
47779
+ ListSettlementCapturesGlobals$outboundSchema = objectType({
47780
+ testmode: booleanType().optional()
47781
+ });
47782
+ ((ListSettlementCapturesGlobals$) => {
47783
+ ListSettlementCapturesGlobals$.inboundSchema = ListSettlementCapturesGlobals$inboundSchema;
47784
+ ListSettlementCapturesGlobals$.outboundSchema = ListSettlementCapturesGlobals$outboundSchema;
47785
+ })(ListSettlementCapturesGlobals$ ||= {});
47265
47786
  ListSettlementCapturesRequest$inboundSchema = objectType({
47266
47787
  settlementId: stringType(),
47267
47788
  from: stringType().optional(),
47268
47789
  limit: nullableType(numberType().int()).optional(),
47269
47790
  embed: nullableType(stringType()).optional(),
47270
- testmode: nullableType(booleanType()).optional(),
47791
+ testmode: booleanType().optional(),
47271
47792
  "idempotency-key": stringType().optional()
47272
47793
  }).transform((v2) => {
47273
47794
  return remap(v2, {
@@ -47279,7 +47800,7 @@ var init_listsettlementcaptures = __esm(() => {
47279
47800
  from: stringType().optional(),
47280
47801
  limit: nullableType(numberType().int()).optional(),
47281
47802
  embed: nullableType(stringType()).optional(),
47282
- testmode: nullableType(booleanType()).optional(),
47803
+ testmode: booleanType().optional(),
47283
47804
  idempotencyKey: stringType().optional()
47284
47805
  }).transform((v2) => {
47285
47806
  return remap(v2, {
@@ -47327,17 +47848,27 @@ var init_listsettlementcaptures = __esm(() => {
47327
47848
  });
47328
47849
 
47329
47850
  // src/models/operations/listsettlementchargebacks.ts
47330
- var ListSettlementChargebacksRequest$inboundSchema, ListSettlementChargebacksRequest$outboundSchema, ListSettlementChargebacksRequest$, ListSettlementChargebacksEmbedded$inboundSchema, ListSettlementChargebacksEmbedded$outboundSchema, ListSettlementChargebacksEmbedded$, ListSettlementChargebacksResponse$inboundSchema, ListSettlementChargebacksResponse$outboundSchema, ListSettlementChargebacksResponse$;
47851
+ var ListSettlementChargebacksGlobals$inboundSchema, ListSettlementChargebacksGlobals$outboundSchema, ListSettlementChargebacksGlobals$, ListSettlementChargebacksRequest$inboundSchema, ListSettlementChargebacksRequest$outboundSchema, ListSettlementChargebacksRequest$, ListSettlementChargebacksEmbedded$inboundSchema, ListSettlementChargebacksEmbedded$outboundSchema, ListSettlementChargebacksEmbedded$, ListSettlementChargebacksResponse$inboundSchema, ListSettlementChargebacksResponse$outboundSchema, ListSettlementChargebacksResponse$;
47331
47852
  var init_listsettlementchargebacks = __esm(() => {
47332
47853
  init_esm();
47333
47854
  init_primitives();
47334
47855
  init_models();
47856
+ ListSettlementChargebacksGlobals$inboundSchema = objectType({
47857
+ testmode: booleanType().optional()
47858
+ });
47859
+ ListSettlementChargebacksGlobals$outboundSchema = objectType({
47860
+ testmode: booleanType().optional()
47861
+ });
47862
+ ((ListSettlementChargebacksGlobals$) => {
47863
+ ListSettlementChargebacksGlobals$.inboundSchema = ListSettlementChargebacksGlobals$inboundSchema;
47864
+ ListSettlementChargebacksGlobals$.outboundSchema = ListSettlementChargebacksGlobals$outboundSchema;
47865
+ })(ListSettlementChargebacksGlobals$ ||= {});
47335
47866
  ListSettlementChargebacksRequest$inboundSchema = objectType({
47336
47867
  settlementId: stringType(),
47337
47868
  from: stringType().optional(),
47338
47869
  limit: nullableType(numberType().int()).optional(),
47339
47870
  embed: nullableType(stringType()).optional(),
47340
- testmode: nullableType(booleanType()).optional(),
47871
+ testmode: booleanType().optional(),
47341
47872
  "idempotency-key": stringType().optional()
47342
47873
  }).transform((v2) => {
47343
47874
  return remap(v2, {
@@ -47349,7 +47880,7 @@ var init_listsettlementchargebacks = __esm(() => {
47349
47880
  from: stringType().optional(),
47350
47881
  limit: nullableType(numberType().int()).optional(),
47351
47882
  embed: nullableType(stringType()).optional(),
47352
- testmode: nullableType(booleanType()).optional(),
47883
+ testmode: booleanType().optional(),
47353
47884
  idempotencyKey: stringType().optional()
47354
47885
  }).transform((v2) => {
47355
47886
  return remap(v2, {
@@ -47397,18 +47928,30 @@ var init_listsettlementchargebacks = __esm(() => {
47397
47928
  });
47398
47929
 
47399
47930
  // src/models/operations/listsettlementpayments.ts
47400
- var ListSettlementPaymentsRequest$inboundSchema, ListSettlementPaymentsRequest$outboundSchema, ListSettlementPaymentsRequest$, ListSettlementPaymentsEmbedded$inboundSchema, ListSettlementPaymentsEmbedded$outboundSchema, ListSettlementPaymentsEmbedded$, ListSettlementPaymentsResponse$inboundSchema, ListSettlementPaymentsResponse$outboundSchema, ListSettlementPaymentsResponse$;
47931
+ var ListSettlementPaymentsGlobals$inboundSchema, ListSettlementPaymentsGlobals$outboundSchema, ListSettlementPaymentsGlobals$, ListSettlementPaymentsRequest$inboundSchema, ListSettlementPaymentsRequest$outboundSchema, ListSettlementPaymentsRequest$, ListSettlementPaymentsEmbedded$inboundSchema, ListSettlementPaymentsEmbedded$outboundSchema, ListSettlementPaymentsEmbedded$, ListSettlementPaymentsResponse$inboundSchema, ListSettlementPaymentsResponse$outboundSchema, ListSettlementPaymentsResponse$;
47401
47932
  var init_listsettlementpayments = __esm(() => {
47402
47933
  init_esm();
47403
47934
  init_primitives();
47404
47935
  init_models();
47936
+ ListSettlementPaymentsGlobals$inboundSchema = objectType({
47937
+ profileId: stringType().optional(),
47938
+ testmode: booleanType().optional()
47939
+ });
47940
+ ListSettlementPaymentsGlobals$outboundSchema = objectType({
47941
+ profileId: stringType().optional(),
47942
+ testmode: booleanType().optional()
47943
+ });
47944
+ ((ListSettlementPaymentsGlobals$) => {
47945
+ ListSettlementPaymentsGlobals$.inboundSchema = ListSettlementPaymentsGlobals$inboundSchema;
47946
+ ListSettlementPaymentsGlobals$.outboundSchema = ListSettlementPaymentsGlobals$outboundSchema;
47947
+ })(ListSettlementPaymentsGlobals$ ||= {});
47405
47948
  ListSettlementPaymentsRequest$inboundSchema = objectType({
47406
47949
  settlementId: stringType(),
47407
47950
  from: stringType().optional(),
47408
47951
  limit: nullableType(numberType().int()).optional(),
47409
47952
  sort: Sorting$inboundSchema.optional(),
47410
47953
  profileId: stringType().optional(),
47411
- testmode: nullableType(booleanType()).optional(),
47954
+ testmode: booleanType().optional(),
47412
47955
  "idempotency-key": stringType().optional()
47413
47956
  }).transform((v2) => {
47414
47957
  return remap(v2, {
@@ -47421,7 +47964,7 @@ var init_listsettlementpayments = __esm(() => {
47421
47964
  limit: nullableType(numberType().int()).optional(),
47422
47965
  sort: Sorting$outboundSchema.optional(),
47423
47966
  profileId: stringType().optional(),
47424
- testmode: nullableType(booleanType()).optional(),
47967
+ testmode: booleanType().optional(),
47425
47968
  idempotencyKey: stringType().optional()
47426
47969
  }).transform((v2) => {
47427
47970
  return remap(v2, {
@@ -47469,17 +48012,27 @@ var init_listsettlementpayments = __esm(() => {
47469
48012
  });
47470
48013
 
47471
48014
  // src/models/operations/listsettlementrefunds.ts
47472
- var ListSettlementRefundsRequest$inboundSchema, ListSettlementRefundsRequest$outboundSchema, ListSettlementRefundsRequest$, ListSettlementRefundsEmbedded$inboundSchema, ListSettlementRefundsEmbedded$outboundSchema, ListSettlementRefundsEmbedded$, ListSettlementRefundsResponse$inboundSchema, ListSettlementRefundsResponse$outboundSchema, ListSettlementRefundsResponse$;
48015
+ var ListSettlementRefundsGlobals$inboundSchema, ListSettlementRefundsGlobals$outboundSchema, ListSettlementRefundsGlobals$, ListSettlementRefundsRequest$inboundSchema, ListSettlementRefundsRequest$outboundSchema, ListSettlementRefundsRequest$, ListSettlementRefundsEmbedded$inboundSchema, ListSettlementRefundsEmbedded$outboundSchema, ListSettlementRefundsEmbedded$, ListSettlementRefundsResponse$inboundSchema, ListSettlementRefundsResponse$outboundSchema, ListSettlementRefundsResponse$;
47473
48016
  var init_listsettlementrefunds = __esm(() => {
47474
48017
  init_esm();
47475
48018
  init_primitives();
47476
48019
  init_models();
48020
+ ListSettlementRefundsGlobals$inboundSchema = objectType({
48021
+ testmode: booleanType().optional()
48022
+ });
48023
+ ListSettlementRefundsGlobals$outboundSchema = objectType({
48024
+ testmode: booleanType().optional()
48025
+ });
48026
+ ((ListSettlementRefundsGlobals$) => {
48027
+ ListSettlementRefundsGlobals$.inboundSchema = ListSettlementRefundsGlobals$inboundSchema;
48028
+ ListSettlementRefundsGlobals$.outboundSchema = ListSettlementRefundsGlobals$outboundSchema;
48029
+ })(ListSettlementRefundsGlobals$ ||= {});
47477
48030
  ListSettlementRefundsRequest$inboundSchema = objectType({
47478
48031
  settlementId: stringType(),
47479
48032
  from: stringType().optional(),
47480
48033
  limit: nullableType(numberType().int()).optional(),
47481
48034
  embed: nullableType(stringType()).optional(),
47482
- testmode: nullableType(booleanType()).optional(),
48035
+ testmode: booleanType().optional(),
47483
48036
  "idempotency-key": stringType().optional()
47484
48037
  }).transform((v2) => {
47485
48038
  return remap(v2, {
@@ -47491,7 +48044,7 @@ var init_listsettlementrefunds = __esm(() => {
47491
48044
  from: stringType().optional(),
47492
48045
  limit: nullableType(numberType().int()).optional(),
47493
48046
  embed: nullableType(stringType()).optional(),
47494
- testmode: nullableType(booleanType()).optional(),
48047
+ testmode: booleanType().optional(),
47495
48048
  idempotencyKey: stringType().optional()
47496
48049
  }).transform((v2) => {
47497
48050
  return remap(v2, {
@@ -47611,11 +48164,23 @@ var init_listsettlements = __esm(() => {
47611
48164
  });
47612
48165
 
47613
48166
  // src/models/operations/listsubscriptionpayments.ts
47614
- var ListSubscriptionPaymentsRequest$inboundSchema, ListSubscriptionPaymentsRequest$outboundSchema, ListSubscriptionPaymentsRequest$, ListSubscriptionPaymentsEmbedded$inboundSchema, ListSubscriptionPaymentsEmbedded$outboundSchema, ListSubscriptionPaymentsEmbedded$, ListSubscriptionPaymentsResponse$inboundSchema, ListSubscriptionPaymentsResponse$outboundSchema, ListSubscriptionPaymentsResponse$;
48167
+ var ListSubscriptionPaymentsGlobals$inboundSchema, ListSubscriptionPaymentsGlobals$outboundSchema, ListSubscriptionPaymentsGlobals$, ListSubscriptionPaymentsRequest$inboundSchema, ListSubscriptionPaymentsRequest$outboundSchema, ListSubscriptionPaymentsRequest$, ListSubscriptionPaymentsEmbedded$inboundSchema, ListSubscriptionPaymentsEmbedded$outboundSchema, ListSubscriptionPaymentsEmbedded$, ListSubscriptionPaymentsResponse$inboundSchema, ListSubscriptionPaymentsResponse$outboundSchema, ListSubscriptionPaymentsResponse$;
47615
48168
  var init_listsubscriptionpayments = __esm(() => {
47616
48169
  init_esm();
47617
48170
  init_primitives();
47618
48171
  init_models();
48172
+ ListSubscriptionPaymentsGlobals$inboundSchema = objectType({
48173
+ profileId: stringType().optional(),
48174
+ testmode: booleanType().optional()
48175
+ });
48176
+ ListSubscriptionPaymentsGlobals$outboundSchema = objectType({
48177
+ profileId: stringType().optional(),
48178
+ testmode: booleanType().optional()
48179
+ });
48180
+ ((ListSubscriptionPaymentsGlobals$) => {
48181
+ ListSubscriptionPaymentsGlobals$.inboundSchema = ListSubscriptionPaymentsGlobals$inboundSchema;
48182
+ ListSubscriptionPaymentsGlobals$.outboundSchema = ListSubscriptionPaymentsGlobals$outboundSchema;
48183
+ })(ListSubscriptionPaymentsGlobals$ ||= {});
47619
48184
  ListSubscriptionPaymentsRequest$inboundSchema = objectType({
47620
48185
  customerId: stringType(),
47621
48186
  subscriptionId: stringType(),
@@ -47623,7 +48188,7 @@ var init_listsubscriptionpayments = __esm(() => {
47623
48188
  limit: nullableType(numberType().int()).optional(),
47624
48189
  sort: Sorting$inboundSchema.optional(),
47625
48190
  profileId: stringType().optional(),
47626
- testmode: nullableType(booleanType()).optional(),
48191
+ testmode: booleanType().optional(),
47627
48192
  "idempotency-key": stringType().optional()
47628
48193
  }).transform((v2) => {
47629
48194
  return remap(v2, {
@@ -47637,7 +48202,7 @@ var init_listsubscriptionpayments = __esm(() => {
47637
48202
  limit: nullableType(numberType().int()).optional(),
47638
48203
  sort: Sorting$outboundSchema.optional(),
47639
48204
  profileId: stringType().optional(),
47640
- testmode: nullableType(booleanType()).optional(),
48205
+ testmode: booleanType().optional(),
47641
48206
  idempotencyKey: stringType().optional()
47642
48207
  }).transform((v2) => {
47643
48208
  return remap(v2, {
@@ -47685,17 +48250,27 @@ var init_listsubscriptionpayments = __esm(() => {
47685
48250
  });
47686
48251
 
47687
48252
  // src/models/operations/listsubscriptions.ts
47688
- var ListSubscriptionsRequest$inboundSchema, ListSubscriptionsRequest$outboundSchema, ListSubscriptionsRequest$, ListSubscriptionsEmbedded$inboundSchema, ListSubscriptionsEmbedded$outboundSchema, ListSubscriptionsEmbedded$, ListSubscriptionsResponse$inboundSchema, ListSubscriptionsResponse$outboundSchema, ListSubscriptionsResponse$;
48253
+ var ListSubscriptionsGlobals$inboundSchema, ListSubscriptionsGlobals$outboundSchema, ListSubscriptionsGlobals$, ListSubscriptionsRequest$inboundSchema, ListSubscriptionsRequest$outboundSchema, ListSubscriptionsRequest$, ListSubscriptionsEmbedded$inboundSchema, ListSubscriptionsEmbedded$outboundSchema, ListSubscriptionsEmbedded$, ListSubscriptionsResponse$inboundSchema, ListSubscriptionsResponse$outboundSchema, ListSubscriptionsResponse$;
47689
48254
  var init_listsubscriptions = __esm(() => {
47690
48255
  init_esm();
47691
48256
  init_primitives();
47692
48257
  init_models();
48258
+ ListSubscriptionsGlobals$inboundSchema = objectType({
48259
+ testmode: booleanType().optional()
48260
+ });
48261
+ ListSubscriptionsGlobals$outboundSchema = objectType({
48262
+ testmode: booleanType().optional()
48263
+ });
48264
+ ((ListSubscriptionsGlobals$) => {
48265
+ ListSubscriptionsGlobals$.inboundSchema = ListSubscriptionsGlobals$inboundSchema;
48266
+ ListSubscriptionsGlobals$.outboundSchema = ListSubscriptionsGlobals$outboundSchema;
48267
+ })(ListSubscriptionsGlobals$ ||= {});
47693
48268
  ListSubscriptionsRequest$inboundSchema = objectType({
47694
48269
  customerId: stringType(),
47695
48270
  from: stringType().optional(),
47696
48271
  limit: nullableType(numberType().int()).optional(),
47697
48272
  sort: Sorting$inboundSchema.optional(),
47698
- testmode: nullableType(booleanType()).optional(),
48273
+ testmode: booleanType().optional(),
47699
48274
  "idempotency-key": stringType().optional()
47700
48275
  }).transform((v2) => {
47701
48276
  return remap(v2, {
@@ -47707,7 +48282,7 @@ var init_listsubscriptions = __esm(() => {
47707
48282
  from: stringType().optional(),
47708
48283
  limit: nullableType(numberType().int()).optional(),
47709
48284
  sort: Sorting$outboundSchema.optional(),
47710
- testmode: nullableType(booleanType()).optional(),
48285
+ testmode: booleanType().optional(),
47711
48286
  idempotencyKey: stringType().optional()
47712
48287
  }).transform((v2) => {
47713
48288
  return remap(v2, {
@@ -47755,16 +48330,26 @@ var init_listsubscriptions = __esm(() => {
47755
48330
  });
47756
48331
 
47757
48332
  // src/models/operations/listterminals.ts
47758
- var ListTerminalsRequest$inboundSchema, ListTerminalsRequest$outboundSchema, ListTerminalsRequest$, ListTerminalsEmbedded$inboundSchema, ListTerminalsEmbedded$outboundSchema, ListTerminalsEmbedded$, ListTerminalsResponse$inboundSchema, ListTerminalsResponse$outboundSchema, ListTerminalsResponse$;
48333
+ var ListTerminalsGlobals$inboundSchema, ListTerminalsGlobals$outboundSchema, ListTerminalsGlobals$, ListTerminalsRequest$inboundSchema, ListTerminalsRequest$outboundSchema, ListTerminalsRequest$, ListTerminalsEmbedded$inboundSchema, ListTerminalsEmbedded$outboundSchema, ListTerminalsEmbedded$, ListTerminalsResponse$inboundSchema, ListTerminalsResponse$outboundSchema, ListTerminalsResponse$;
47759
48334
  var init_listterminals = __esm(() => {
47760
48335
  init_esm();
47761
48336
  init_primitives();
47762
48337
  init_models();
48338
+ ListTerminalsGlobals$inboundSchema = objectType({
48339
+ testmode: booleanType().optional()
48340
+ });
48341
+ ListTerminalsGlobals$outboundSchema = objectType({
48342
+ testmode: booleanType().optional()
48343
+ });
48344
+ ((ListTerminalsGlobals$) => {
48345
+ ListTerminalsGlobals$.inboundSchema = ListTerminalsGlobals$inboundSchema;
48346
+ ListTerminalsGlobals$.outboundSchema = ListTerminalsGlobals$outboundSchema;
48347
+ })(ListTerminalsGlobals$ ||= {});
47763
48348
  ListTerminalsRequest$inboundSchema = objectType({
47764
48349
  from: stringType().optional(),
47765
48350
  limit: nullableType(numberType().int()).optional(),
47766
48351
  sort: Sorting$inboundSchema.optional(),
47767
- testmode: nullableType(booleanType()).optional(),
48352
+ testmode: booleanType().optional(),
47768
48353
  "idempotency-key": stringType().optional()
47769
48354
  }).transform((v2) => {
47770
48355
  return remap(v2, {
@@ -47775,7 +48360,7 @@ var init_listterminals = __esm(() => {
47775
48360
  from: stringType().optional(),
47776
48361
  limit: nullableType(numberType().int()).optional(),
47777
48362
  sort: Sorting$outboundSchema.optional(),
47778
- testmode: nullableType(booleanType()).optional(),
48363
+ testmode: booleanType().optional(),
47779
48364
  idempotencyKey: stringType().optional()
47780
48365
  }).transform((v2) => {
47781
48366
  return remap(v2, {
@@ -47823,17 +48408,27 @@ var init_listterminals = __esm(() => {
47823
48408
  });
47824
48409
 
47825
48410
  // src/models/operations/listwebhooks.ts
47826
- var ListWebhooksRequest$inboundSchema, ListWebhooksRequest$outboundSchema, ListWebhooksRequest$, ListWebhooksEmbedded$inboundSchema, ListWebhooksEmbedded$outboundSchema, ListWebhooksEmbedded$, ListWebhooksResponse$inboundSchema, ListWebhooksResponse$outboundSchema, ListWebhooksResponse$;
48411
+ var ListWebhooksGlobals$inboundSchema, ListWebhooksGlobals$outboundSchema, ListWebhooksGlobals$, ListWebhooksRequest$inboundSchema, ListWebhooksRequest$outboundSchema, ListWebhooksRequest$, ListWebhooksEmbedded$inboundSchema, ListWebhooksEmbedded$outboundSchema, ListWebhooksEmbedded$, ListWebhooksResponse$inboundSchema, ListWebhooksResponse$outboundSchema, ListWebhooksResponse$;
47827
48412
  var init_listwebhooks = __esm(() => {
47828
48413
  init_esm();
47829
48414
  init_primitives();
47830
48415
  init_models();
48416
+ ListWebhooksGlobals$inboundSchema = objectType({
48417
+ testmode: booleanType().optional()
48418
+ });
48419
+ ListWebhooksGlobals$outboundSchema = objectType({
48420
+ testmode: booleanType().optional()
48421
+ });
48422
+ ((ListWebhooksGlobals$) => {
48423
+ ListWebhooksGlobals$.inboundSchema = ListWebhooksGlobals$inboundSchema;
48424
+ ListWebhooksGlobals$.outboundSchema = ListWebhooksGlobals$outboundSchema;
48425
+ })(ListWebhooksGlobals$ ||= {});
47831
48426
  ListWebhooksRequest$inboundSchema = objectType({
47832
48427
  from: nullableType(stringType()).optional(),
47833
48428
  limit: nullableType(numberType().int()).optional(),
47834
48429
  sort: Sorting$inboundSchema.optional(),
47835
48430
  eventTypes: WebhookEventTypes$inboundSchema.optional(),
47836
- testmode: nullableType(booleanType()).optional(),
48431
+ testmode: booleanType().optional(),
47837
48432
  "idempotency-key": stringType().optional()
47838
48433
  }).transform((v2) => {
47839
48434
  return remap(v2, {
@@ -47845,7 +48440,7 @@ var init_listwebhooks = __esm(() => {
47845
48440
  limit: nullableType(numberType().int()).optional(),
47846
48441
  sort: Sorting$outboundSchema.optional(),
47847
48442
  eventTypes: WebhookEventTypes$outboundSchema.optional(),
47848
- testmode: nullableType(booleanType()).optional(),
48443
+ testmode: booleanType().optional(),
47849
48444
  idempotencyKey: stringType().optional()
47850
48445
  }).transform((v2) => {
47851
48446
  return remap(v2, {
@@ -47925,14 +48520,24 @@ var init_paymentcreateroute = __esm(() => {
47925
48520
  });
47926
48521
 
47927
48522
  // src/models/operations/paymentlistroutes.ts
47928
- var PaymentListRoutesRequest$inboundSchema, PaymentListRoutesRequest$outboundSchema, PaymentListRoutesRequest$, PaymentListRoutesEmbedded$inboundSchema, PaymentListRoutesEmbedded$outboundSchema, PaymentListRoutesEmbedded$, PaymentListRoutesLinks$inboundSchema, PaymentListRoutesLinks$outboundSchema, PaymentListRoutesLinks$, PaymentListRoutesResponse$inboundSchema, PaymentListRoutesResponse$outboundSchema, PaymentListRoutesResponse$;
48523
+ 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$;
47929
48524
  var init_paymentlistroutes = __esm(() => {
47930
48525
  init_esm();
47931
48526
  init_primitives();
47932
48527
  init_models();
48528
+ PaymentListRoutesGlobals$inboundSchema = objectType({
48529
+ testmode: booleanType().optional()
48530
+ });
48531
+ PaymentListRoutesGlobals$outboundSchema = objectType({
48532
+ testmode: booleanType().optional()
48533
+ });
48534
+ ((PaymentListRoutesGlobals$) => {
48535
+ PaymentListRoutesGlobals$.inboundSchema = PaymentListRoutesGlobals$inboundSchema;
48536
+ PaymentListRoutesGlobals$.outboundSchema = PaymentListRoutesGlobals$outboundSchema;
48537
+ })(PaymentListRoutesGlobals$ ||= {});
47933
48538
  PaymentListRoutesRequest$inboundSchema = objectType({
47934
48539
  paymentId: stringType(),
47935
- testmode: nullableType(booleanType()).optional(),
48540
+ testmode: booleanType().optional(),
47936
48541
  "idempotency-key": stringType().optional()
47937
48542
  }).transform((v2) => {
47938
48543
  return remap(v2, {
@@ -47941,7 +48546,7 @@ var init_paymentlistroutes = __esm(() => {
47941
48546
  });
47942
48547
  PaymentListRoutesRequest$outboundSchema = objectType({
47943
48548
  paymentId: stringType(),
47944
- testmode: nullableType(booleanType()).optional(),
48549
+ testmode: booleanType().optional(),
47945
48550
  idempotencyKey: stringType().optional()
47946
48551
  }).transform((v2) => {
47947
48552
  return remap(v2, {
@@ -48752,7 +49357,7 @@ async function $do(client, request, options) {
48752
49357
  };
48753
49358
  const path = pathToFunc("/balances/{id}")(pathParams);
48754
49359
  const query = encodeFormQuery({
48755
- testmode: payload.testmode
49360
+ testmode: payload.testmode ?? client._options.testmode
48756
49361
  });
48757
49362
  const headers = new Headers(compactMap({
48758
49363
  Accept: "application/hal+json",
@@ -49008,7 +49613,7 @@ async function $do3(client, request, options) {
49008
49613
  const query = encodeFormQuery({
49009
49614
  from: payload.from,
49010
49615
  grouping: payload.grouping,
49011
- testmode: payload.testmode,
49616
+ testmode: payload.testmode ?? client._options.testmode,
49012
49617
  until: payload.until
49013
49618
  });
49014
49619
  const headers = new Headers(compactMap({
@@ -49138,7 +49743,7 @@ async function $do4(client, request, options) {
49138
49743
  currency: payload?.currency,
49139
49744
  from: payload?.from,
49140
49745
  limit: payload?.limit,
49141
- testmode: payload?.testmode
49746
+ testmode: payload?.testmode ?? client._options.testmode
49142
49747
  });
49143
49748
  const headers = new Headers(compactMap({
49144
49749
  Accept: "application/hal+json",
@@ -49267,7 +49872,7 @@ async function $do5(client, request, options) {
49267
49872
  const query = encodeFormQuery({
49268
49873
  from: payload.from,
49269
49874
  limit: payload.limit,
49270
- testmode: payload.testmode
49875
+ testmode: payload.testmode ?? client._options.testmode
49271
49876
  });
49272
49877
  const headers = new Headers(compactMap({
49273
49878
  Accept: "application/hal+json",
@@ -49523,7 +50128,7 @@ async function $do7(client, request, options) {
49523
50128
  };
49524
50129
  const path = pathToFunc("/connect/balance-transfers/{id}")(pathParams);
49525
50130
  const query = encodeFormQuery({
49526
- testmode: payload.testmode
50131
+ testmode: payload.testmode ?? client._options.testmode
49527
50132
  });
49528
50133
  const headers = new Headers(compactMap({
49529
50134
  Accept: "application/hal+json",
@@ -49646,7 +50251,7 @@ async function $do8(client, request, options) {
49646
50251
  from: payload?.from,
49647
50252
  limit: payload?.limit,
49648
50253
  sort: payload?.sort,
49649
- testmode: payload?.testmode
50254
+ testmode: payload?.testmode ?? client._options.testmode
49650
50255
  });
49651
50256
  const headers = new Headers(compactMap({
49652
50257
  Accept: "application/hal+json",
@@ -50027,7 +50632,7 @@ async function $do11(client, request, options) {
50027
50632
  const path = pathToFunc("/payments/{paymentId}/captures/{captureId}")(pathParams);
50028
50633
  const query = encodeFormQuery({
50029
50634
  embed: payload.embed,
50030
- testmode: payload.testmode
50635
+ testmode: payload.testmode ?? client._options.testmode
50031
50636
  });
50032
50637
  const headers = new Headers(compactMap({
50033
50638
  Accept: "application/hal+json",
@@ -50157,7 +50762,7 @@ async function $do12(client, request, options) {
50157
50762
  embed: payload.embed,
50158
50763
  from: payload.from,
50159
50764
  limit: payload.limit,
50160
- testmode: payload.testmode
50765
+ testmode: payload.testmode ?? client._options.testmode
50161
50766
  });
50162
50767
  const headers = new Headers(compactMap({
50163
50768
  Accept: "application/hal+json",
@@ -50281,9 +50886,9 @@ async function $do13(client, request, options) {
50281
50886
  embed: payload?.embed,
50282
50887
  from: payload?.from,
50283
50888
  limit: payload?.limit,
50284
- profileId: payload?.profileId,
50889
+ profileId: payload?.profileId ?? client._options.profileId,
50285
50890
  sort: payload?.sort,
50286
- testmode: payload?.testmode
50891
+ testmode: payload?.testmode ?? client._options.testmode
50287
50892
  });
50288
50893
  const headers = new Headers(compactMap({
50289
50894
  Accept: "application/hal+json",
@@ -50415,7 +51020,7 @@ async function $do14(client, request, options) {
50415
51020
  const path = pathToFunc("/payments/{paymentId}/chargebacks/{chargebackId}")(pathParams);
50416
51021
  const query = encodeFormQuery({
50417
51022
  embed: payload.embed,
50418
- testmode: payload.testmode
51023
+ testmode: payload.testmode ?? client._options.testmode
50419
51024
  });
50420
51025
  const headers = new Headers(compactMap({
50421
51026
  Accept: "application/hal+json",
@@ -50544,7 +51149,7 @@ async function $do15(client, request, options) {
50544
51149
  embed: payload.embed,
50545
51150
  from: payload.from,
50546
51151
  limit: payload.limit,
50547
- testmode: payload.testmode
51152
+ testmode: payload.testmode ?? client._options.testmode
50548
51153
  });
50549
51154
  const headers = new Headers(compactMap({
50550
51155
  Accept: "application/hal+json",
@@ -51471,7 +52076,7 @@ async function $do22(client, request, options) {
51471
52076
  const path = pathToFunc("/customers/{customerId}")(pathParams);
51472
52077
  const query = encodeFormQuery({
51473
52078
  include: payload.include,
51474
- testmode: payload.testmode
52079
+ testmode: payload.testmode ?? client._options.testmode
51475
52080
  });
51476
52081
  const headers = new Headers(compactMap({
51477
52082
  Accept: "application/hal+json",
@@ -51593,7 +52198,7 @@ async function $do23(client, request, options) {
51593
52198
  from: payload?.from,
51594
52199
  limit: payload?.limit,
51595
52200
  sort: payload?.sort,
51596
- testmode: payload?.testmode
52201
+ testmode: payload?.testmode ?? client._options.testmode
51597
52202
  });
51598
52203
  const headers = new Headers(compactMap({
51599
52204
  Accept: "application/hal+json",
@@ -51722,9 +52327,9 @@ async function $do24(client, request, options) {
51722
52327
  const query = encodeFormQuery({
51723
52328
  from: payload.from,
51724
52329
  limit: payload.limit,
51725
- profileId: payload.profileId,
52330
+ profileId: payload.profileId ?? client._options.profileId,
51726
52331
  sort: payload.sort,
51727
- testmode: payload.testmode
52332
+ testmode: payload.testmode ?? client._options.testmode
51728
52333
  });
51729
52334
  const headers = new Headers(compactMap({
51730
52335
  Accept: "application/hal+json",
@@ -52100,7 +52705,7 @@ async function $do27(client, request, options) {
52100
52705
  };
52101
52706
  const path = pathToFunc("/payments/{paymentId}/routes")(pathParams);
52102
52707
  const query = encodeFormQuery({
52103
- testmode: payload.testmode
52708
+ testmode: payload.testmode ?? client._options.testmode
52104
52709
  });
52105
52710
  const headers = new Headers(compactMap({
52106
52711
  Accept: "application/hal+json",
@@ -52608,7 +53213,7 @@ async function $do31(client, request, options) {
52608
53213
  };
52609
53214
  const path = pathToFunc("/customers/{customerId}/mandates/{mandateId}")(pathParams);
52610
53215
  const query = encodeFormQuery({
52611
- testmode: payload.testmode
53216
+ testmode: payload.testmode ?? client._options.testmode
52612
53217
  });
52613
53218
  const headers = new Headers(compactMap({
52614
53219
  Accept: "application/hal+json",
@@ -52738,7 +53343,7 @@ async function $do32(client, request, options) {
52738
53343
  from: payload.from,
52739
53344
  limit: payload.limit,
52740
53345
  sort: payload.sort,
52741
- testmode: payload.testmode
53346
+ testmode: payload.testmode ?? client._options.testmode
52742
53347
  });
52743
53348
  const headers = new Headers(compactMap({
52744
53349
  Accept: "application/hal+json",
@@ -52989,9 +53594,9 @@ async function $do34(client, request, options) {
52989
53594
  }), encodeFormQuery({
52990
53595
  include: payload?.include,
52991
53596
  locale: payload?.locale,
52992
- profileId: payload?.profileId,
53597
+ profileId: payload?.profileId ?? client._options.profileId,
52993
53598
  sequenceType: payload?.sequenceType,
52994
- testmode: payload?.testmode
53599
+ testmode: payload?.testmode ?? client._options.testmode
52995
53600
  }));
52996
53601
  const headers = new Headers(compactMap({
52997
53602
  Accept: "application/hal+json",
@@ -53122,9 +53727,9 @@ async function $do35(client, request, options) {
53122
53727
  currency: payload.currency,
53123
53728
  include: payload.include,
53124
53729
  locale: payload.locale,
53125
- profileId: payload.profileId,
53730
+ profileId: payload.profileId ?? client._options.profileId,
53126
53731
  sequenceType: payload.sequenceType,
53127
- testmode: payload.testmode
53732
+ testmode: payload.testmode ?? client._options.testmode
53128
53733
  });
53129
53734
  const headers = new Headers(compactMap({
53130
53735
  Accept: "application/hal+json",
@@ -53262,10 +53867,10 @@ async function $do36(client, request, options) {
53262
53867
  includeWallets: payload?.includeWallets,
53263
53868
  locale: payload?.locale,
53264
53869
  orderLineCategories: payload?.orderLineCategories,
53265
- profileId: payload?.profileId,
53870
+ profileId: payload?.profileId ?? client._options.profileId,
53266
53871
  resource: payload?.resource,
53267
53872
  sequenceType: payload?.sequenceType,
53268
- testmode: payload?.testmode
53873
+ testmode: payload?.testmode ?? client._options.testmode
53269
53874
  }));
53270
53875
  const headers = new Headers(compactMap({
53271
53876
  Accept: "application/hal+json",
@@ -53629,7 +54234,7 @@ async function $do39(client, request, options) {
53629
54234
  };
53630
54235
  const path = pathToFunc("/organizations/{id}")(pathParams);
53631
54236
  const query = encodeFormQuery({
53632
- testmode: payload.testmode
54237
+ testmode: payload.testmode ?? client._options.testmode
53633
54238
  });
53634
54239
  const headers = new Headers(compactMap({
53635
54240
  Accept: "application/hal+json",
@@ -54230,7 +54835,7 @@ async function $do44(client, request, options) {
54230
54835
  };
54231
54836
  const path = pathToFunc("/payment-links/{paymentLinkId}")(pathParams);
54232
54837
  const query = encodeFormQuery({
54233
- testmode: payload.testmode
54838
+ testmode: payload.testmode ?? client._options.testmode
54234
54839
  });
54235
54840
  const headers = new Headers(compactMap({
54236
54841
  Accept: "application/hal+json",
@@ -54352,7 +54957,7 @@ async function $do45(client, request, options) {
54352
54957
  const query = encodeFormQuery({
54353
54958
  from: payload?.from,
54354
54959
  limit: payload?.limit,
54355
- testmode: payload?.testmode
54960
+ testmode: payload?.testmode ?? client._options.testmode
54356
54961
  });
54357
54962
  const headers = new Headers(compactMap({
54358
54963
  Accept: "application/hal+json",
@@ -54482,7 +55087,7 @@ async function $do46(client, request, options) {
54482
55087
  from: payload.from,
54483
55088
  limit: payload.limit,
54484
55089
  sort: payload.sort,
54485
- testmode: payload.testmode
55090
+ testmode: payload.testmode ?? client._options.testmode
54486
55091
  });
54487
55092
  const headers = new Headers(compactMap({
54488
55093
  Accept: "application/hal+json",
@@ -54998,7 +55603,7 @@ async function $do50(client, request, options) {
54998
55603
  const query = encodeFormQuery({
54999
55604
  embed: payload.embed,
55000
55605
  include: payload.include,
55001
- testmode: payload.testmode
55606
+ testmode: payload.testmode ?? client._options.testmode
55002
55607
  });
55003
55608
  const headers = new Headers(compactMap({
55004
55609
  Accept: "application/hal+json",
@@ -55120,9 +55725,9 @@ async function $do51(client, request, options) {
55120
55725
  const query = encodeFormQuery({
55121
55726
  from: payload?.from,
55122
55727
  limit: payload?.limit,
55123
- profileId: payload?.profileId,
55728
+ profileId: payload?.profileId ?? client._options.profileId,
55124
55729
  sort: payload?.sort,
55125
- testmode: payload?.testmode
55730
+ testmode: payload?.testmode ?? client._options.testmode
55126
55731
  });
55127
55732
  const headers = new Headers(compactMap({
55128
55733
  Accept: "application/hal+json",
@@ -55502,7 +56107,7 @@ async function $do54(client, request, options) {
55502
56107
  };
55503
56108
  const path = pathToFunc("/permissions/{permissionId}")(pathParams);
55504
56109
  const query = encodeFormQuery({
55505
- testmode: payload.testmode
56110
+ testmode: payload.testmode ?? client._options.testmode
55506
56111
  });
55507
56112
  const headers = new Headers(compactMap({
55508
56113
  Accept: "application/hal+json",
@@ -55985,7 +56590,7 @@ async function $do58(client, request, options) {
55985
56590
  };
55986
56591
  const path = pathToFunc("/profiles/{id}")(pathParams);
55987
56592
  const query = encodeFormQuery({
55988
- testmode: payload.testmode
56593
+ testmode: payload.testmode ?? client._options.testmode
55989
56594
  });
55990
56595
  const headers = new Headers(compactMap({
55991
56596
  Accept: "application/hal+json",
@@ -56470,9 +57075,9 @@ async function $do62(client, request, options) {
56470
57075
  embed: payload?.embed,
56471
57076
  from: payload?.from,
56472
57077
  limit: payload?.limit,
56473
- profileId: payload?.profileId,
57078
+ profileId: payload?.profileId ?? client._options.profileId,
56474
57079
  sort: payload?.sort,
56475
- testmode: payload?.testmode
57080
+ testmode: payload?.testmode ?? client._options.testmode
56476
57081
  });
56477
57082
  const headers = new Headers(compactMap({
56478
57083
  Accept: "application/hal+json",
@@ -56603,7 +57208,7 @@ async function $do63(client, request, options) {
56603
57208
  };
56604
57209
  const path = pathToFunc("/payments/{paymentId}/refunds/{refundId}")(pathParams);
56605
57210
  const query = encodeFormQuery({
56606
- testmode: payload.testmode
57211
+ testmode: payload.testmode ?? client._options.testmode
56607
57212
  });
56608
57213
  const headers = new Headers(compactMap({
56609
57214
  Accept: "application/hal+json",
@@ -56860,7 +57465,7 @@ async function $do65(client, request, options) {
56860
57465
  const path = pathToFunc("/payments/{paymentId}/refunds/{refundId}")(pathParams);
56861
57466
  const query = encodeFormQuery({
56862
57467
  embed: payload.embed,
56863
- testmode: payload.testmode
57468
+ testmode: payload.testmode ?? client._options.testmode
56864
57469
  });
56865
57470
  const headers = new Headers(compactMap({
56866
57471
  Accept: "application/hal+json",
@@ -56989,7 +57594,7 @@ async function $do66(client, request, options) {
56989
57594
  embed: payload.embed,
56990
57595
  from: payload.from,
56991
57596
  limit: payload.limit,
56992
- testmode: payload.testmode
57597
+ testmode: payload.testmode ?? client._options.testmode
56993
57598
  });
56994
57599
  const headers = new Headers(compactMap({
56995
57600
  Accept: "application/hal+json",
@@ -57367,7 +57972,7 @@ async function $do69(client, request, options) {
57367
57972
  };
57368
57973
  const path = pathToFunc("/sales-invoices/{id}")(pathParams);
57369
57974
  const query = encodeFormQuery({
57370
- testmode: payload.testmode
57975
+ testmode: payload.testmode ?? client._options.testmode
57371
57976
  });
57372
57977
  const headers = new Headers(compactMap({
57373
57978
  Accept: "application/hal+json",
@@ -57493,7 +58098,7 @@ async function $do70(client, request, options) {
57493
58098
  const query = encodeFormQuery({
57494
58099
  from: payload?.from,
57495
58100
  limit: payload?.limit,
57496
- testmode: payload?.testmode
58101
+ testmode: payload?.testmode ?? client._options.testmode
57497
58102
  });
57498
58103
  const headers = new Headers(compactMap({
57499
58104
  Accept: "application/hal+json",
@@ -58250,7 +58855,7 @@ async function $do76(client, request, options) {
58250
58855
  embed: payload.embed,
58251
58856
  from: payload.from,
58252
58857
  limit: payload.limit,
58253
- testmode: payload.testmode
58858
+ testmode: payload.testmode ?? client._options.testmode
58254
58859
  });
58255
58860
  const headers = new Headers(compactMap({
58256
58861
  Accept: "application/hal+json",
@@ -58380,7 +58985,7 @@ async function $do77(client, request, options) {
58380
58985
  embed: payload.embed,
58381
58986
  from: payload.from,
58382
58987
  limit: payload.limit,
58383
- testmode: payload.testmode
58988
+ testmode: payload.testmode ?? client._options.testmode
58384
58989
  });
58385
58990
  const headers = new Headers(compactMap({
58386
58991
  Accept: "application/hal+json",
@@ -58509,9 +59114,9 @@ async function $do78(client, request, options) {
58509
59114
  const query = encodeFormQuery({
58510
59115
  from: payload.from,
58511
59116
  limit: payload.limit,
58512
- profileId: payload.profileId,
59117
+ profileId: payload.profileId ?? client._options.profileId,
58513
59118
  sort: payload.sort,
58514
- testmode: payload.testmode
59119
+ testmode: payload.testmode ?? client._options.testmode
58515
59120
  });
58516
59121
  const headers = new Headers(compactMap({
58517
59122
  Accept: "application/hal+json",
@@ -58644,7 +59249,7 @@ async function $do79(client, request, options) {
58644
59249
  embed: payload.embed,
58645
59250
  from: payload.from,
58646
59251
  limit: payload.limit,
58647
- testmode: payload.testmode
59252
+ testmode: payload.testmode ?? client._options.testmode
58648
59253
  });
58649
59254
  const headers = new Headers(compactMap({
58650
59255
  Accept: "application/hal+json",
@@ -58767,8 +59372,8 @@ async function $do80(client, request, options) {
58767
59372
  const query = encodeFormQuery({
58768
59373
  from: payload?.from,
58769
59374
  limit: payload?.limit,
58770
- profileId: payload?.profileId,
58771
- testmode: payload?.testmode
59375
+ profileId: payload?.profileId ?? client._options.profileId,
59376
+ testmode: payload?.testmode ?? client._options.testmode
58772
59377
  });
58773
59378
  const headers = new Headers(compactMap({
58774
59379
  Accept: "application/hal+json",
@@ -59169,7 +59774,7 @@ async function $do83(client, request, options) {
59169
59774
  };
59170
59775
  const path = pathToFunc("/customers/{customerId}/subscriptions/{subscriptionId}")(pathParams);
59171
59776
  const query = encodeFormQuery({
59172
- testmode: payload.testmode
59777
+ testmode: payload.testmode ?? client._options.testmode
59173
59778
  });
59174
59779
  const headers = new Headers(compactMap({
59175
59780
  Accept: "application/hal+json",
@@ -59298,7 +59903,7 @@ async function $do84(client, request, options) {
59298
59903
  from: payload.from,
59299
59904
  limit: payload.limit,
59300
59905
  sort: payload.sort,
59301
- testmode: payload.testmode
59906
+ testmode: payload.testmode ?? client._options.testmode
59302
59907
  });
59303
59908
  const headers = new Headers(compactMap({
59304
59909
  Accept: "application/hal+json",
@@ -59431,9 +60036,9 @@ async function $do85(client, request, options) {
59431
60036
  const query = encodeFormQuery({
59432
60037
  from: payload.from,
59433
60038
  limit: payload.limit,
59434
- profileId: payload.profileId,
60039
+ profileId: payload.profileId ?? client._options.profileId,
59435
60040
  sort: payload.sort,
59436
- testmode: payload.testmode
60041
+ testmode: payload.testmode ?? client._options.testmode
59437
60042
  });
59438
60043
  const headers = new Headers(compactMap({
59439
60044
  Accept: "application/hal+json",
@@ -59691,7 +60296,7 @@ async function $do87(client, request, options) {
59691
60296
  };
59692
60297
  const path = pathToFunc("/terminals/{terminalId}")(pathParams);
59693
60298
  const query = encodeFormQuery({
59694
- testmode: payload.testmode
60299
+ testmode: payload.testmode ?? client._options.testmode
59695
60300
  });
59696
60301
  const headers = new Headers(compactMap({
59697
60302
  Accept: "application/hal+json",
@@ -59814,7 +60419,7 @@ async function $do88(client, request, options) {
59814
60419
  from: payload?.from,
59815
60420
  limit: payload?.limit,
59816
60421
  sort: payload?.sort,
59817
- testmode: payload?.testmode
60422
+ testmode: payload?.testmode ?? client._options.testmode
59818
60423
  });
59819
60424
  const headers = new Headers(compactMap({
59820
60425
  Accept: "application/hal+json",
@@ -60074,7 +60679,7 @@ async function $do90(client, request, options) {
60074
60679
  };
60075
60680
  const path = pathToFunc("/events/{id}")(pathParams);
60076
60681
  const query = encodeFormQuery({
60077
- testmode: payload.testmode
60682
+ testmode: payload.testmode ?? client._options.testmode
60078
60683
  });
60079
60684
  const headers = new Headers(compactMap({
60080
60685
  Accept: "application/hal+json",
@@ -60438,7 +61043,7 @@ async function $do93(client, request, options) {
60438
61043
  };
60439
61044
  const path = pathToFunc("/webhooks/{id}")(pathParams);
60440
61045
  const query = encodeFormQuery({
60441
- testmode: payload.testmode
61046
+ testmode: payload.testmode ?? client._options.testmode
60442
61047
  });
60443
61048
  const headers = new Headers(compactMap({
60444
61049
  Accept: "application/hal+json",
@@ -60562,7 +61167,7 @@ async function $do94(client, request, options) {
60562
61167
  from: payload?.from,
60563
61168
  limit: payload?.limit,
60564
61169
  sort: payload?.sort,
60565
- testmode: payload?.testmode
61170
+ testmode: payload?.testmode ?? client._options.testmode
60566
61171
  });
60567
61172
  const headers = new Headers(compactMap({
60568
61173
  Accept: "application/hal+json",
@@ -60916,10 +61521,13 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
60916
61521
  function createMCPServer(deps) {
60917
61522
  const server = new McpServer({
60918
61523
  name: "Client",
60919
- version: "0.6.2"
61524
+ version: "0.8.0"
60920
61525
  });
60921
61526
  const client = new ClientCore({
60922
61527
  security: deps.security,
61528
+ profileId: deps.profileId,
61529
+ testmode: deps.testmode,
61530
+ customUserAgent: deps.customUserAgent,
60923
61531
  serverURL: deps.serverURL,
60924
61532
  serverIdx: deps.serverIdx
60925
61533
  });
@@ -61158,6 +61766,9 @@ async function startStdio(flags) {
61158
61766
  logger,
61159
61767
  allowedTools: flags.tool,
61160
61768
  security: { apiKey: flags["api-key"] ?? "", oAuth: flags["o-auth"] ?? "" },
61769
+ profileId: flags["profile-id"],
61770
+ testmode: flags.testmode,
61771
+ customUserAgent: flags["custom-user-agent"],
61161
61772
  serverURL: flags["server-url"],
61162
61773
  serverIdx: flags["server-index"]
61163
61774
  });
@@ -61176,6 +61787,9 @@ async function startSSE(flags) {
61176
61787
  logger,
61177
61788
  allowedTools: flags.tool,
61178
61789
  security: { apiKey: flags["api-key"] ?? "", oAuth: flags["o-auth"] ?? "" },
61790
+ profileId: flags["profile-id"],
61791
+ testmode: flags.testmode,
61792
+ customUserAgent: flags["custom-user-agent"],
61179
61793
  serverURL: flags["server-url"],
61180
61794
  serverIdx: flags["server-index"]
61181
61795
  });
@@ -62252,6 +62866,30 @@ var startCommand = on({
62252
62866
  return stringType().parse(value);
62253
62867
  }
62254
62868
  },
62869
+ "profile-id": {
62870
+ kind: "parsed",
62871
+ brief: "Allows setting the profileId parameter for all supported operations",
62872
+ optional: true,
62873
+ parse: (value) => {
62874
+ return stringType().parse(value);
62875
+ }
62876
+ },
62877
+ testmode: {
62878
+ kind: "parsed",
62879
+ brief: "Allows setting the testmode parameter for all supported operations",
62880
+ optional: true,
62881
+ parse: (value) => {
62882
+ return enumType(["true", "false"]).transform((v2) => v2 === "true").parse(value);
62883
+ }
62884
+ },
62885
+ "custom-user-agent": {
62886
+ kind: "parsed",
62887
+ brief: "Allows setting the customUserAgent parameter for all supported operations",
62888
+ optional: true,
62889
+ parse: (value) => {
62890
+ return stringType().parse(value);
62891
+ }
62892
+ },
62255
62893
  "server-url": {
62256
62894
  kind: "parsed",
62257
62895
  brief: "Overrides the default server URL used by the SDK",
@@ -62311,7 +62949,7 @@ var routes = an({
62311
62949
  var app = He(routes, {
62312
62950
  name: "mcp",
62313
62951
  versionInfo: {
62314
- currentVersion: "0.6.2"
62952
+ currentVersion: "0.8.0"
62315
62953
  }
62316
62954
  });
62317
62955
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -62319,5 +62957,5 @@ export {
62319
62957
  app
62320
62958
  };
62321
62959
 
62322
- //# debugId=ED51F0D7B4B9680464756E2164756E21
62960
+ //# debugId=B309C442C864750864756E2164756E21
62323
62961
  //# sourceMappingURL=mcp-server.js.map