mollie-api-typescript 0.6.2 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (746) hide show
  1. package/FUNCTIONS.md +1 -1
  2. package/README.md +103 -8
  3. package/bin/mcp-server.js +890 -256
  4. package/bin/mcp-server.js.map +106 -106
  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/esm/funcs/balanceTransfersGet.js +1 -1
  314. package/dist/esm/funcs/balanceTransfersGet.js.map +1 -1
  315. package/dist/esm/funcs/balanceTransfersList.js +1 -1
  316. package/dist/esm/funcs/balanceTransfersList.js.map +1 -1
  317. package/dist/esm/funcs/balancesGet.js +1 -1
  318. package/dist/esm/funcs/balancesGet.js.map +1 -1
  319. package/dist/esm/funcs/balancesGetReport.js +1 -1
  320. package/dist/esm/funcs/balancesGetReport.js.map +1 -1
  321. package/dist/esm/funcs/balancesList.js +1 -1
  322. package/dist/esm/funcs/balancesList.js.map +1 -1
  323. package/dist/esm/funcs/balancesListTransactions.js +1 -1
  324. package/dist/esm/funcs/balancesListTransactions.js.map +1 -1
  325. package/dist/esm/funcs/capturesGet.js +1 -1
  326. package/dist/esm/funcs/capturesGet.js.map +1 -1
  327. package/dist/esm/funcs/capturesList.js +1 -1
  328. package/dist/esm/funcs/capturesList.js.map +1 -1
  329. package/dist/esm/funcs/chargebacksAll.js +2 -2
  330. package/dist/esm/funcs/chargebacksAll.js.map +1 -1
  331. package/dist/esm/funcs/chargebacksGet.js +1 -1
  332. package/dist/esm/funcs/chargebacksGet.js.map +1 -1
  333. package/dist/esm/funcs/chargebacksList.js +1 -1
  334. package/dist/esm/funcs/chargebacksList.js.map +1 -1
  335. package/dist/esm/funcs/customersGet.js +1 -1
  336. package/dist/esm/funcs/customersGet.js.map +1 -1
  337. package/dist/esm/funcs/customersList.js +1 -1
  338. package/dist/esm/funcs/customersList.js.map +1 -1
  339. package/dist/esm/funcs/customersListPayments.js +2 -2
  340. package/dist/esm/funcs/customersListPayments.js.map +1 -1
  341. package/dist/esm/funcs/delayedRoutingList.js +1 -1
  342. package/dist/esm/funcs/delayedRoutingList.js.map +1 -1
  343. package/dist/esm/funcs/mandatesGet.js +1 -1
  344. package/dist/esm/funcs/mandatesGet.js.map +1 -1
  345. package/dist/esm/funcs/mandatesList.js +1 -1
  346. package/dist/esm/funcs/mandatesList.js.map +1 -1
  347. package/dist/esm/funcs/methodsAll.js +2 -2
  348. package/dist/esm/funcs/methodsAll.js.map +1 -1
  349. package/dist/esm/funcs/methodsGet.js +2 -2
  350. package/dist/esm/funcs/methodsGet.js.map +1 -1
  351. package/dist/esm/funcs/methodsList.js +2 -2
  352. package/dist/esm/funcs/methodsList.js.map +1 -1
  353. package/dist/esm/funcs/organizationsGet.js +1 -1
  354. package/dist/esm/funcs/organizationsGet.js.map +1 -1
  355. package/dist/esm/funcs/paymentLinksGet.js +1 -1
  356. package/dist/esm/funcs/paymentLinksGet.js.map +1 -1
  357. package/dist/esm/funcs/paymentLinksList.js +1 -1
  358. package/dist/esm/funcs/paymentLinksList.js.map +1 -1
  359. package/dist/esm/funcs/paymentLinksListPayments.js +1 -1
  360. package/dist/esm/funcs/paymentLinksListPayments.js.map +1 -1
  361. package/dist/esm/funcs/paymentsGet.js +1 -1
  362. package/dist/esm/funcs/paymentsGet.js.map +1 -1
  363. package/dist/esm/funcs/paymentsList.js +2 -2
  364. package/dist/esm/funcs/paymentsList.js.map +1 -1
  365. package/dist/esm/funcs/permissionsGet.js +1 -1
  366. package/dist/esm/funcs/permissionsGet.js.map +1 -1
  367. package/dist/esm/funcs/profilesGet.js +1 -1
  368. package/dist/esm/funcs/profilesGet.js.map +1 -1
  369. package/dist/esm/funcs/refundsAll.js +2 -2
  370. package/dist/esm/funcs/refundsAll.js.map +1 -1
  371. package/dist/esm/funcs/refundsCancel.js +1 -1
  372. package/dist/esm/funcs/refundsCancel.js.map +1 -1
  373. package/dist/esm/funcs/refundsGet.js +1 -1
  374. package/dist/esm/funcs/refundsGet.js.map +1 -1
  375. package/dist/esm/funcs/refundsList.js +1 -1
  376. package/dist/esm/funcs/refundsList.js.map +1 -1
  377. package/dist/esm/funcs/salesInvoicesGet.js +1 -1
  378. package/dist/esm/funcs/salesInvoicesGet.js.map +1 -1
  379. package/dist/esm/funcs/salesInvoicesList.js +1 -1
  380. package/dist/esm/funcs/salesInvoicesList.js.map +1 -1
  381. package/dist/esm/funcs/settlementsListCaptures.js +1 -1
  382. package/dist/esm/funcs/settlementsListCaptures.js.map +1 -1
  383. package/dist/esm/funcs/settlementsListChargebacks.js +1 -1
  384. package/dist/esm/funcs/settlementsListChargebacks.js.map +1 -1
  385. package/dist/esm/funcs/settlementsListPayments.js +2 -2
  386. package/dist/esm/funcs/settlementsListPayments.js.map +1 -1
  387. package/dist/esm/funcs/settlementsListRefunds.js +1 -1
  388. package/dist/esm/funcs/settlementsListRefunds.js.map +1 -1
  389. package/dist/esm/funcs/subscriptionsAll.js +2 -2
  390. package/dist/esm/funcs/subscriptionsAll.js.map +1 -1
  391. package/dist/esm/funcs/subscriptionsGet.js +1 -1
  392. package/dist/esm/funcs/subscriptionsGet.js.map +1 -1
  393. package/dist/esm/funcs/subscriptionsList.js +1 -1
  394. package/dist/esm/funcs/subscriptionsList.js.map +1 -1
  395. package/dist/esm/funcs/subscriptionsListPayments.js +2 -2
  396. package/dist/esm/funcs/subscriptionsListPayments.js.map +1 -1
  397. package/dist/esm/funcs/terminalsGet.js +1 -1
  398. package/dist/esm/funcs/terminalsGet.js.map +1 -1
  399. package/dist/esm/funcs/terminalsList.js +1 -1
  400. package/dist/esm/funcs/terminalsList.js.map +1 -1
  401. package/dist/esm/funcs/webhookEventsGet.js +1 -1
  402. package/dist/esm/funcs/webhookEventsGet.js.map +1 -1
  403. package/dist/esm/funcs/webhooksGet.js +1 -1
  404. package/dist/esm/funcs/webhooksGet.js.map +1 -1
  405. package/dist/esm/funcs/webhooksList.js +1 -1
  406. package/dist/esm/funcs/webhooksList.js.map +1 -1
  407. package/dist/esm/hooks/mollie-hooks.d.ts +5 -1
  408. package/dist/esm/hooks/mollie-hooks.d.ts.map +1 -1
  409. package/dist/esm/hooks/mollie-hooks.js +111 -3
  410. package/dist/esm/hooks/mollie-hooks.js.map +1 -1
  411. package/dist/esm/lib/config.d.ts +15 -3
  412. package/dist/esm/lib/config.d.ts.map +1 -1
  413. package/dist/esm/lib/config.js +3 -3
  414. package/dist/esm/lib/config.js.map +1 -1
  415. package/dist/esm/lib/env.d.ts +17 -0
  416. package/dist/esm/lib/env.d.ts.map +1 -1
  417. package/dist/esm/lib/env.js +21 -0
  418. package/dist/esm/lib/env.js.map +1 -1
  419. package/dist/esm/lib/sdks.js +2 -2
  420. package/dist/esm/lib/sdks.js.map +1 -1
  421. package/dist/esm/mcp-server/cli/start/command.d.ts.map +1 -1
  422. package/dist/esm/mcp-server/cli/start/command.js +24 -0
  423. package/dist/esm/mcp-server/cli/start/command.js.map +1 -1
  424. package/dist/esm/mcp-server/cli/start/impl.d.ts +3 -0
  425. package/dist/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
  426. package/dist/esm/mcp-server/cli/start/impl.js +6 -0
  427. package/dist/esm/mcp-server/cli/start/impl.js.map +1 -1
  428. package/dist/esm/mcp-server/mcp-server.js +1 -1
  429. package/dist/esm/mcp-server/server.d.ts +3 -0
  430. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  431. package/dist/esm/mcp-server/server.js +4 -1
  432. package/dist/esm/mcp-server/server.js.map +1 -1
  433. package/dist/esm/models/operations/cancelrefund.d.ts +36 -2
  434. package/dist/esm/models/operations/cancelrefund.d.ts.map +1 -1
  435. package/dist/esm/models/operations/cancelrefund.js +27 -2
  436. package/dist/esm/models/operations/cancelrefund.js.map +1 -1
  437. package/dist/esm/models/operations/getbalance.d.ts +36 -2
  438. package/dist/esm/models/operations/getbalance.d.ts.map +1 -1
  439. package/dist/esm/models/operations/getbalance.js +27 -2
  440. package/dist/esm/models/operations/getbalance.js.map +1 -1
  441. package/dist/esm/models/operations/getbalancereport.d.ts +36 -2
  442. package/dist/esm/models/operations/getbalancereport.d.ts.map +1 -1
  443. package/dist/esm/models/operations/getbalancereport.js +27 -2
  444. package/dist/esm/models/operations/getbalancereport.js.map +1 -1
  445. package/dist/esm/models/operations/getcapture.d.ts +36 -2
  446. package/dist/esm/models/operations/getcapture.d.ts.map +1 -1
  447. package/dist/esm/models/operations/getcapture.js +27 -2
  448. package/dist/esm/models/operations/getcapture.js.map +1 -1
  449. package/dist/esm/models/operations/getchargeback.d.ts +36 -2
  450. package/dist/esm/models/operations/getchargeback.d.ts.map +1 -1
  451. package/dist/esm/models/operations/getchargeback.js +27 -2
  452. package/dist/esm/models/operations/getchargeback.js.map +1 -1
  453. package/dist/esm/models/operations/getconnectbalancetransfer.d.ts +36 -2
  454. package/dist/esm/models/operations/getconnectbalancetransfer.d.ts.map +1 -1
  455. package/dist/esm/models/operations/getconnectbalancetransfer.js +27 -2
  456. package/dist/esm/models/operations/getconnectbalancetransfer.js.map +1 -1
  457. package/dist/esm/models/operations/getcustomer.d.ts +36 -2
  458. package/dist/esm/models/operations/getcustomer.d.ts.map +1 -1
  459. package/dist/esm/models/operations/getcustomer.js +27 -2
  460. package/dist/esm/models/operations/getcustomer.js.map +1 -1
  461. package/dist/esm/models/operations/getmandate.d.ts +36 -2
  462. package/dist/esm/models/operations/getmandate.d.ts.map +1 -1
  463. package/dist/esm/models/operations/getmandate.js +27 -2
  464. package/dist/esm/models/operations/getmandate.js.map +1 -1
  465. package/dist/esm/models/operations/getmethod.d.ts +47 -2
  466. package/dist/esm/models/operations/getmethod.d.ts.map +1 -1
  467. package/dist/esm/models/operations/getmethod.js +29 -2
  468. package/dist/esm/models/operations/getmethod.js.map +1 -1
  469. package/dist/esm/models/operations/getorganization.d.ts +36 -2
  470. package/dist/esm/models/operations/getorganization.d.ts.map +1 -1
  471. package/dist/esm/models/operations/getorganization.js +27 -2
  472. package/dist/esm/models/operations/getorganization.js.map +1 -1
  473. package/dist/esm/models/operations/getpayment.d.ts +36 -2
  474. package/dist/esm/models/operations/getpayment.d.ts.map +1 -1
  475. package/dist/esm/models/operations/getpayment.js +27 -2
  476. package/dist/esm/models/operations/getpayment.js.map +1 -1
  477. package/dist/esm/models/operations/getpaymentlink.d.ts +36 -2
  478. package/dist/esm/models/operations/getpaymentlink.d.ts.map +1 -1
  479. package/dist/esm/models/operations/getpaymentlink.js +27 -2
  480. package/dist/esm/models/operations/getpaymentlink.js.map +1 -1
  481. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +36 -2
  482. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  483. package/dist/esm/models/operations/getpaymentlinkpayments.js +27 -2
  484. package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
  485. package/dist/esm/models/operations/getpermission.d.ts +36 -2
  486. package/dist/esm/models/operations/getpermission.d.ts.map +1 -1
  487. package/dist/esm/models/operations/getpermission.js +27 -2
  488. package/dist/esm/models/operations/getpermission.js.map +1 -1
  489. package/dist/esm/models/operations/getprofile.d.ts +36 -2
  490. package/dist/esm/models/operations/getprofile.d.ts.map +1 -1
  491. package/dist/esm/models/operations/getprofile.js +27 -2
  492. package/dist/esm/models/operations/getprofile.js.map +1 -1
  493. package/dist/esm/models/operations/getrefund.d.ts +36 -2
  494. package/dist/esm/models/operations/getrefund.d.ts.map +1 -1
  495. package/dist/esm/models/operations/getrefund.js +27 -2
  496. package/dist/esm/models/operations/getrefund.js.map +1 -1
  497. package/dist/esm/models/operations/getsalesinvoice.d.ts +36 -2
  498. package/dist/esm/models/operations/getsalesinvoice.d.ts.map +1 -1
  499. package/dist/esm/models/operations/getsalesinvoice.js +27 -2
  500. package/dist/esm/models/operations/getsalesinvoice.js.map +1 -1
  501. package/dist/esm/models/operations/getsubscription.d.ts +36 -2
  502. package/dist/esm/models/operations/getsubscription.d.ts.map +1 -1
  503. package/dist/esm/models/operations/getsubscription.js +27 -2
  504. package/dist/esm/models/operations/getsubscription.js.map +1 -1
  505. package/dist/esm/models/operations/getterminal.d.ts +36 -2
  506. package/dist/esm/models/operations/getterminal.d.ts.map +1 -1
  507. package/dist/esm/models/operations/getterminal.js +27 -2
  508. package/dist/esm/models/operations/getterminal.js.map +1 -1
  509. package/dist/esm/models/operations/getwebhook.d.ts +36 -2
  510. package/dist/esm/models/operations/getwebhook.d.ts.map +1 -1
  511. package/dist/esm/models/operations/getwebhook.js +27 -2
  512. package/dist/esm/models/operations/getwebhook.js.map +1 -1
  513. package/dist/esm/models/operations/getwebhookevent.d.ts +36 -2
  514. package/dist/esm/models/operations/getwebhookevent.d.ts.map +1 -1
  515. package/dist/esm/models/operations/getwebhookevent.js +27 -2
  516. package/dist/esm/models/operations/getwebhookevent.js.map +1 -1
  517. package/dist/esm/models/operations/listallchargebacks.d.ts +47 -2
  518. package/dist/esm/models/operations/listallchargebacks.d.ts.map +1 -1
  519. package/dist/esm/models/operations/listallchargebacks.js +29 -2
  520. package/dist/esm/models/operations/listallchargebacks.js.map +1 -1
  521. package/dist/esm/models/operations/listallmethods.d.ts +47 -2
  522. package/dist/esm/models/operations/listallmethods.d.ts.map +1 -1
  523. package/dist/esm/models/operations/listallmethods.js +29 -2
  524. package/dist/esm/models/operations/listallmethods.js.map +1 -1
  525. package/dist/esm/models/operations/listallrefunds.d.ts +47 -2
  526. package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
  527. package/dist/esm/models/operations/listallrefunds.js +29 -2
  528. package/dist/esm/models/operations/listallrefunds.js.map +1 -1
  529. package/dist/esm/models/operations/listallsubscriptions.d.ts +47 -2
  530. package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
  531. package/dist/esm/models/operations/listallsubscriptions.js +29 -2
  532. package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
  533. package/dist/esm/models/operations/listbalances.d.ts +36 -2
  534. package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
  535. package/dist/esm/models/operations/listbalances.js +27 -2
  536. package/dist/esm/models/operations/listbalances.js.map +1 -1
  537. package/dist/esm/models/operations/listbalancetransactions.d.ts +36 -2
  538. package/dist/esm/models/operations/listbalancetransactions.d.ts.map +1 -1
  539. package/dist/esm/models/operations/listbalancetransactions.js +27 -2
  540. package/dist/esm/models/operations/listbalancetransactions.js.map +1 -1
  541. package/dist/esm/models/operations/listcaptures.d.ts +36 -2
  542. package/dist/esm/models/operations/listcaptures.d.ts.map +1 -1
  543. package/dist/esm/models/operations/listcaptures.js +27 -2
  544. package/dist/esm/models/operations/listcaptures.js.map +1 -1
  545. package/dist/esm/models/operations/listchargebacks.d.ts +36 -2
  546. package/dist/esm/models/operations/listchargebacks.d.ts.map +1 -1
  547. package/dist/esm/models/operations/listchargebacks.js +27 -2
  548. package/dist/esm/models/operations/listchargebacks.js.map +1 -1
  549. package/dist/esm/models/operations/listconnectbalancetransfers.d.ts +36 -2
  550. package/dist/esm/models/operations/listconnectbalancetransfers.d.ts.map +1 -1
  551. package/dist/esm/models/operations/listconnectbalancetransfers.js +27 -2
  552. package/dist/esm/models/operations/listconnectbalancetransfers.js.map +1 -1
  553. package/dist/esm/models/operations/listcustomerpayments.d.ts +47 -2
  554. package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
  555. package/dist/esm/models/operations/listcustomerpayments.js +29 -2
  556. package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
  557. package/dist/esm/models/operations/listcustomers.d.ts +36 -2
  558. package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
  559. package/dist/esm/models/operations/listcustomers.js +27 -2
  560. package/dist/esm/models/operations/listcustomers.js.map +1 -1
  561. package/dist/esm/models/operations/listmandates.d.ts +36 -2
  562. package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
  563. package/dist/esm/models/operations/listmandates.js +27 -2
  564. package/dist/esm/models/operations/listmandates.js.map +1 -1
  565. package/dist/esm/models/operations/listmethods.d.ts +47 -2
  566. package/dist/esm/models/operations/listmethods.d.ts.map +1 -1
  567. package/dist/esm/models/operations/listmethods.js +29 -2
  568. package/dist/esm/models/operations/listmethods.js.map +1 -1
  569. package/dist/esm/models/operations/listpaymentlinks.d.ts +36 -2
  570. package/dist/esm/models/operations/listpaymentlinks.d.ts.map +1 -1
  571. package/dist/esm/models/operations/listpaymentlinks.js +27 -2
  572. package/dist/esm/models/operations/listpaymentlinks.js.map +1 -1
  573. package/dist/esm/models/operations/listpayments.d.ts +47 -2
  574. package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
  575. package/dist/esm/models/operations/listpayments.js +29 -2
  576. package/dist/esm/models/operations/listpayments.js.map +1 -1
  577. package/dist/esm/models/operations/listrefunds.d.ts +36 -2
  578. package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
  579. package/dist/esm/models/operations/listrefunds.js +27 -2
  580. package/dist/esm/models/operations/listrefunds.js.map +1 -1
  581. package/dist/esm/models/operations/listsalesinvoices.d.ts +36 -2
  582. package/dist/esm/models/operations/listsalesinvoices.d.ts.map +1 -1
  583. package/dist/esm/models/operations/listsalesinvoices.js +27 -2
  584. package/dist/esm/models/operations/listsalesinvoices.js.map +1 -1
  585. package/dist/esm/models/operations/listsettlementcaptures.d.ts +36 -2
  586. package/dist/esm/models/operations/listsettlementcaptures.d.ts.map +1 -1
  587. package/dist/esm/models/operations/listsettlementcaptures.js +27 -2
  588. package/dist/esm/models/operations/listsettlementcaptures.js.map +1 -1
  589. package/dist/esm/models/operations/listsettlementchargebacks.d.ts +36 -2
  590. package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  591. package/dist/esm/models/operations/listsettlementchargebacks.js +27 -2
  592. package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
  593. package/dist/esm/models/operations/listsettlementpayments.d.ts +47 -2
  594. package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
  595. package/dist/esm/models/operations/listsettlementpayments.js +29 -2
  596. package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
  597. package/dist/esm/models/operations/listsettlementrefunds.d.ts +36 -2
  598. package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
  599. package/dist/esm/models/operations/listsettlementrefunds.js +27 -2
  600. package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
  601. package/dist/esm/models/operations/listsubscriptionpayments.d.ts +47 -2
  602. package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  603. package/dist/esm/models/operations/listsubscriptionpayments.js +29 -2
  604. package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
  605. package/dist/esm/models/operations/listsubscriptions.d.ts +36 -2
  606. package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
  607. package/dist/esm/models/operations/listsubscriptions.js +27 -2
  608. package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
  609. package/dist/esm/models/operations/listterminals.d.ts +36 -2
  610. package/dist/esm/models/operations/listterminals.d.ts.map +1 -1
  611. package/dist/esm/models/operations/listterminals.js +27 -2
  612. package/dist/esm/models/operations/listterminals.js.map +1 -1
  613. package/dist/esm/models/operations/listwebhooks.d.ts +36 -2
  614. package/dist/esm/models/operations/listwebhooks.d.ts.map +1 -1
  615. package/dist/esm/models/operations/listwebhooks.js +27 -2
  616. package/dist/esm/models/operations/listwebhooks.js.map +1 -1
  617. package/dist/esm/models/operations/paymentlistroutes.d.ts +36 -2
  618. package/dist/esm/models/operations/paymentlistroutes.d.ts.map +1 -1
  619. package/dist/esm/models/operations/paymentlistroutes.js +27 -2
  620. package/dist/esm/models/operations/paymentlistroutes.js.map +1 -1
  621. package/docs/sdks/balances/README.md +8 -8
  622. package/docs/sdks/balancetransfers/README.md +4 -4
  623. package/docs/sdks/captures/README.md +4 -4
  624. package/docs/sdks/chargebacks/README.md +8 -8
  625. package/docs/sdks/customers/README.md +8 -8
  626. package/docs/sdks/delayedrouting/README.md +2 -2
  627. package/docs/sdks/mandates/README.md +4 -4
  628. package/docs/sdks/methods/README.md +12 -12
  629. package/docs/sdks/organizations/README.md +2 -2
  630. package/docs/sdks/paymentlinks/README.md +6 -6
  631. package/docs/sdks/payments/README.md +6 -6
  632. package/docs/sdks/permissions/README.md +2 -2
  633. package/docs/sdks/profiles/README.md +2 -2
  634. package/docs/sdks/refunds/README.md +10 -10
  635. package/docs/sdks/salesinvoices/README.md +4 -4
  636. package/docs/sdks/settlements/README.md +10 -10
  637. package/docs/sdks/subscriptions/README.md +12 -12
  638. package/docs/sdks/terminals/README.md +4 -4
  639. package/docs/sdks/webhookevents/README.md +2 -2
  640. package/docs/sdks/webhooks/README.md +4 -4
  641. package/examples/balancesList.example.ts +1 -1
  642. package/examples/package-lock.json +1 -1
  643. package/jsr.json +1 -1
  644. package/package.json +1 -1
  645. package/src/funcs/balanceTransfersGet.ts +1 -1
  646. package/src/funcs/balanceTransfersList.ts +1 -1
  647. package/src/funcs/balancesGet.ts +1 -1
  648. package/src/funcs/balancesGetReport.ts +1 -1
  649. package/src/funcs/balancesList.ts +1 -1
  650. package/src/funcs/balancesListTransactions.ts +1 -1
  651. package/src/funcs/capturesGet.ts +1 -1
  652. package/src/funcs/capturesList.ts +1 -1
  653. package/src/funcs/chargebacksAll.ts +2 -2
  654. package/src/funcs/chargebacksGet.ts +1 -1
  655. package/src/funcs/chargebacksList.ts +1 -1
  656. package/src/funcs/customersGet.ts +1 -1
  657. package/src/funcs/customersList.ts +1 -1
  658. package/src/funcs/customersListPayments.ts +2 -2
  659. package/src/funcs/delayedRoutingList.ts +1 -1
  660. package/src/funcs/mandatesGet.ts +1 -1
  661. package/src/funcs/mandatesList.ts +1 -1
  662. package/src/funcs/methodsAll.ts +2 -2
  663. package/src/funcs/methodsGet.ts +2 -2
  664. package/src/funcs/methodsList.ts +2 -2
  665. package/src/funcs/organizationsGet.ts +1 -1
  666. package/src/funcs/paymentLinksGet.ts +1 -1
  667. package/src/funcs/paymentLinksList.ts +1 -1
  668. package/src/funcs/paymentLinksListPayments.ts +1 -1
  669. package/src/funcs/paymentsGet.ts +1 -1
  670. package/src/funcs/paymentsList.ts +2 -2
  671. package/src/funcs/permissionsGet.ts +1 -1
  672. package/src/funcs/profilesGet.ts +1 -1
  673. package/src/funcs/refundsAll.ts +2 -2
  674. package/src/funcs/refundsCancel.ts +1 -1
  675. package/src/funcs/refundsGet.ts +1 -1
  676. package/src/funcs/refundsList.ts +1 -1
  677. package/src/funcs/salesInvoicesGet.ts +1 -1
  678. package/src/funcs/salesInvoicesList.ts +1 -1
  679. package/src/funcs/settlementsListCaptures.ts +1 -1
  680. package/src/funcs/settlementsListChargebacks.ts +1 -1
  681. package/src/funcs/settlementsListPayments.ts +2 -2
  682. package/src/funcs/settlementsListRefunds.ts +1 -1
  683. package/src/funcs/subscriptionsAll.ts +2 -2
  684. package/src/funcs/subscriptionsGet.ts +1 -1
  685. package/src/funcs/subscriptionsList.ts +1 -1
  686. package/src/funcs/subscriptionsListPayments.ts +2 -2
  687. package/src/funcs/terminalsGet.ts +1 -1
  688. package/src/funcs/terminalsList.ts +1 -1
  689. package/src/funcs/webhookEventsGet.ts +1 -1
  690. package/src/funcs/webhooksGet.ts +1 -1
  691. package/src/funcs/webhooksList.ts +1 -1
  692. package/src/hooks/mollie-hooks.ts +138 -4
  693. package/src/lib/config.ts +18 -3
  694. package/src/lib/env.ts +42 -0
  695. package/src/lib/sdks.ts +2 -2
  696. package/src/mcp-server/cli/start/command.ts +29 -0
  697. package/src/mcp-server/cli/start/impl.ts +9 -0
  698. package/src/mcp-server/mcp-server.ts +1 -1
  699. package/src/mcp-server/server.ts +7 -1
  700. package/src/models/operations/cancelrefund.ts +71 -4
  701. package/src/models/operations/getbalance.ts +71 -4
  702. package/src/models/operations/getbalancereport.ts +71 -4
  703. package/src/models/operations/getcapture.ts +71 -4
  704. package/src/models/operations/getchargeback.ts +71 -4
  705. package/src/models/operations/getconnectbalancetransfer.ts +73 -4
  706. package/src/models/operations/getcustomer.ts +71 -4
  707. package/src/models/operations/getmandate.ts +71 -4
  708. package/src/models/operations/getmethod.ts +84 -4
  709. package/src/models/operations/getorganization.ts +71 -4
  710. package/src/models/operations/getpayment.ts +71 -4
  711. package/src/models/operations/getpaymentlink.ts +71 -4
  712. package/src/models/operations/getpaymentlinkpayments.ts +73 -4
  713. package/src/models/operations/getpermission.ts +71 -4
  714. package/src/models/operations/getprofile.ts +71 -4
  715. package/src/models/operations/getrefund.ts +71 -4
  716. package/src/models/operations/getsalesinvoice.ts +71 -4
  717. package/src/models/operations/getsubscription.ts +71 -4
  718. package/src/models/operations/getterminal.ts +71 -4
  719. package/src/models/operations/getwebhook.ts +71 -4
  720. package/src/models/operations/getwebhookevent.ts +71 -4
  721. package/src/models/operations/listallchargebacks.ts +84 -4
  722. package/src/models/operations/listallmethods.ts +84 -4
  723. package/src/models/operations/listallrefunds.ts +84 -4
  724. package/src/models/operations/listallsubscriptions.ts +86 -4
  725. package/src/models/operations/listbalances.ts +71 -4
  726. package/src/models/operations/listbalancetransactions.ts +73 -4
  727. package/src/models/operations/listcaptures.ts +71 -4
  728. package/src/models/operations/listchargebacks.ts +71 -4
  729. package/src/models/operations/listconnectbalancetransfers.ts +75 -4
  730. package/src/models/operations/listcustomerpayments.ts +86 -4
  731. package/src/models/operations/listcustomers.ts +71 -4
  732. package/src/models/operations/listmandates.ts +71 -4
  733. package/src/models/operations/listmethods.ts +84 -4
  734. package/src/models/operations/listpaymentlinks.ts +71 -4
  735. package/src/models/operations/listpayments.ts +84 -4
  736. package/src/models/operations/listrefunds.ts +71 -4
  737. package/src/models/operations/listsalesinvoices.ts +71 -4
  738. package/src/models/operations/listsettlementcaptures.ts +73 -4
  739. package/src/models/operations/listsettlementchargebacks.ts +73 -4
  740. package/src/models/operations/listsettlementpayments.ts +86 -4
  741. package/src/models/operations/listsettlementrefunds.ts +73 -4
  742. package/src/models/operations/listsubscriptionpayments.ts +86 -4
  743. package/src/models/operations/listsubscriptions.ts +71 -4
  744. package/src/models/operations/listterminals.ts +71 -4
  745. package/src/models/operations/listwebhooks.ts +71 -4
  746. package/src/models/operations/paymentlistroutes.ts +71 -4
package/bin/mcp-server.js CHANGED
@@ -34080,19 +34080,158 @@ var init_mcp = __esm(() => {
34080
34080
  };
34081
34081
  });
34082
34082
 
34083
+ // src/lib/url.ts
34084
+ function pathToFunc(pathPattern, options) {
34085
+ const paramRE = /\{([a-zA-Z0-9_][a-zA-Z0-9_-]*?)\}/g;
34086
+ return function buildURLPath(params = {}) {
34087
+ return pathPattern.replace(paramRE, function(_2, placeholder) {
34088
+ if (!hasOwn.call(params, placeholder)) {
34089
+ throw new Error(`Parameter '${placeholder}' is required`);
34090
+ }
34091
+ const value = params[placeholder];
34092
+ if (typeof value !== "string" && typeof value !== "number") {
34093
+ throw new Error(`Parameter '${placeholder}' must be a string or number`);
34094
+ }
34095
+ return options?.charEncoding === "percent" ? encodeURIComponent(`${value}`) : `${value}`;
34096
+ });
34097
+ };
34098
+ }
34099
+ var hasOwn;
34100
+ var init_url = __esm(() => {
34101
+ hasOwn = Object.prototype.hasOwnProperty;
34102
+ });
34103
+
34104
+ // src/lib/config.ts
34105
+ function serverURLFromOptions(options) {
34106
+ let serverURL = options.serverURL;
34107
+ const params = {};
34108
+ if (!serverURL) {
34109
+ const serverIdx = options.serverIdx ?? 0;
34110
+ if (serverIdx < 0 || serverIdx >= ServerList.length) {
34111
+ throw new Error(`Invalid server index ${serverIdx}`);
34112
+ }
34113
+ serverURL = ServerList[serverIdx] || "";
34114
+ }
34115
+ const u = pathToFunc(serverURL)(params);
34116
+ return new URL(u);
34117
+ }
34118
+ var ServerList, SDK_METADATA;
34119
+ var init_config = __esm(() => {
34120
+ init_url();
34121
+ ServerList = [
34122
+ "https://api.mollie.com/v2"
34123
+ ];
34124
+ SDK_METADATA = {
34125
+ language: "typescript",
34126
+ openapiDocVersion: "1.0.0",
34127
+ sdkVersion: "0.7.0",
34128
+ genVersion: "2.735.1",
34129
+ userAgent: "speakeasy-sdk/typescript 0.7.0 2.735.1 1.0.0 mollie-api-typescript"
34130
+ };
34131
+ });
34132
+
34083
34133
  // src/hooks/mollie-hooks.ts
34084
34134
  class MollieHooks {
34085
- beforeCreateRequest(_2, input) {
34135
+ beforeCreateRequest(hookContext, input) {
34136
+ let headers = new Headers(input.options?.headers);
34137
+ headers = this.handleIdempotencyKey(headers);
34138
+ headers = this.customizeUserAgent(headers, hookContext);
34139
+ input = {
34140
+ ...input,
34141
+ options: {
34142
+ ...input.options,
34143
+ headers
34144
+ }
34145
+ };
34146
+ if (this.isOAuthRequest(headers, hookContext)) {
34147
+ input = this.populateProfileIdAndTestmode(input, hookContext);
34148
+ }
34149
+ return input;
34150
+ }
34151
+ isOAuthRequest(headers, hookContext) {
34152
+ const security = hookContext.options.security;
34153
+ if (typeof security === "function") {
34154
+ return false;
34155
+ }
34156
+ if (security === null) {
34157
+ return false;
34158
+ }
34159
+ const oAuth = security?.oAuth;
34160
+ if (!oAuth) {
34161
+ return false;
34162
+ }
34163
+ return headers.get("Authorization") === `Bearer ${oAuth}`;
34164
+ }
34165
+ handleIdempotencyKey(headers) {
34086
34166
  const idempotencyKey = "Idempotency-Key";
34087
- const headers = new Headers(input.options?.headers);
34088
34167
  if (!headers.has(idempotencyKey) || !headers.get(idempotencyKey)) {
34089
34168
  headers.set(idempotencyKey, this.generateIdempotencyKey());
34090
34169
  }
34170
+ return headers;
34171
+ }
34172
+ customizeUserAgent(headers, hookContext) {
34173
+ const userAgentKey = "User-Agent";
34174
+ const customUserAgent = hookContext.options.customUserAgent;
34175
+ const genVersion = SDK_METADATA.genVersion;
34176
+ const sdkVersion = SDK_METADATA.sdkVersion;
34177
+ const nodeVersion = typeof process !== "undefined" && process.version ? process.version : "unknown";
34178
+ const packageName = SDK_METADATA.userAgent.split(" ").at(-1);
34179
+ let mollieUserAgent = `Speakeasy/${genVersion} TypeScript/${nodeVersion} ${packageName}/${sdkVersion}`;
34180
+ if (customUserAgent) {
34181
+ mollieUserAgent = `${mollieUserAgent} ${customUserAgent}`;
34182
+ }
34183
+ console.log("Setting User-Agent to:", mollieUserAgent);
34184
+ headers.set(userAgentKey, mollieUserAgent);
34185
+ return headers;
34186
+ }
34187
+ populateProfileIdAndTestmode(input, hookContext) {
34188
+ const clientProfileId = hookContext.options.profileId;
34189
+ const clientTestmode = hookContext.options.testmode;
34190
+ const method = input.options?.method || "GET";
34191
+ if (method === "GET") {
34192
+ const url = new URL(input.url);
34193
+ if (clientProfileId !== undefined && !url.searchParams.has("profileId")) {
34194
+ url.searchParams.set("profileId", clientProfileId);
34195
+ }
34196
+ if (clientTestmode !== undefined && !url.searchParams.has("testmode")) {
34197
+ url.searchParams.set("testmode", String(clientTestmode));
34198
+ }
34199
+ return {
34200
+ ...input,
34201
+ url
34202
+ };
34203
+ }
34204
+ let body = {};
34205
+ if (input.options?.body) {
34206
+ try {
34207
+ if (typeof input.options.body === "string") {
34208
+ body = JSON.parse(input.options.body);
34209
+ } else if (input.options.body instanceof ArrayBuffer || input.options.body instanceof Uint8Array) {
34210
+ const decoder = new TextDecoder;
34211
+ const text = decoder.decode(input.options.body);
34212
+ body = JSON.parse(text);
34213
+ } else {
34214
+ body = input.options.body;
34215
+ }
34216
+ } catch (error) {
34217
+ return input;
34218
+ }
34219
+ }
34220
+ if (clientProfileId !== undefined && !("profileId" in body)) {
34221
+ body.profileId = clientProfileId;
34222
+ }
34223
+ if (clientTestmode !== undefined && !("testmode" in body)) {
34224
+ body.testmode = clientTestmode;
34225
+ }
34226
+ const newContent = JSON.stringify(body);
34227
+ const headers = new Headers(input.options?.headers);
34228
+ headers.set("Content-Length", String(new TextEncoder().encode(newContent).length));
34091
34229
  return {
34092
34230
  ...input,
34093
34231
  options: {
34094
34232
  ...input.options,
34095
- headers
34233
+ headers,
34234
+ body: newContent
34096
34235
  }
34097
34236
  };
34098
34237
  }
@@ -34100,12 +34239,17 @@ class MollieHooks {
34100
34239
  return crypto.randomUUID();
34101
34240
  }
34102
34241
  }
34242
+ var init_mollie_hooks = __esm(() => {
34243
+ init_config();
34244
+ });
34103
34245
 
34104
34246
  // src/hooks/registration.ts
34105
34247
  function initHooks(hooks) {
34106
34248
  hooks.registerBeforeCreateRequestHook(new MollieHooks);
34107
34249
  }
34108
- var init_registration = () => {};
34250
+ var init_registration = __esm(() => {
34251
+ init_mollie_hooks();
34252
+ });
34109
34253
 
34110
34254
  // src/hooks/hooks.ts
34111
34255
  class SDKHooks {
@@ -34251,56 +34395,6 @@ var init_base64 = __esm(() => {
34251
34395
  zodInbound = instanceOfType(Uint8Array).or(stringType().transform(bytesFromBase64));
34252
34396
  });
34253
34397
 
34254
- // src/lib/url.ts
34255
- function pathToFunc(pathPattern, options) {
34256
- const paramRE = /\{([a-zA-Z0-9_][a-zA-Z0-9_-]*?)\}/g;
34257
- return function buildURLPath(params = {}) {
34258
- return pathPattern.replace(paramRE, function(_2, placeholder) {
34259
- if (!hasOwn.call(params, placeholder)) {
34260
- throw new Error(`Parameter '${placeholder}' is required`);
34261
- }
34262
- const value = params[placeholder];
34263
- if (typeof value !== "string" && typeof value !== "number") {
34264
- throw new Error(`Parameter '${placeholder}' must be a string or number`);
34265
- }
34266
- return options?.charEncoding === "percent" ? encodeURIComponent(`${value}`) : `${value}`;
34267
- });
34268
- };
34269
- }
34270
- var hasOwn;
34271
- var init_url = __esm(() => {
34272
- hasOwn = Object.prototype.hasOwnProperty;
34273
- });
34274
-
34275
- // src/lib/config.ts
34276
- function serverURLFromOptions(options) {
34277
- let serverURL = options.serverURL;
34278
- const params = {};
34279
- if (!serverURL) {
34280
- const serverIdx = options.serverIdx ?? 0;
34281
- if (serverIdx < 0 || serverIdx >= ServerList.length) {
34282
- throw new Error(`Invalid server index ${serverIdx}`);
34283
- }
34284
- serverURL = ServerList[serverIdx] || "";
34285
- }
34286
- const u = pathToFunc(serverURL)(params);
34287
- return new URL(u);
34288
- }
34289
- var ServerList, SDK_METADATA;
34290
- var init_config = __esm(() => {
34291
- init_url();
34292
- ServerList = [
34293
- "https://api.mollie.com/v2"
34294
- ];
34295
- SDK_METADATA = {
34296
- language: "typescript",
34297
- openapiDocVersion: "1.0.0",
34298
- sdkVersion: "0.6.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;
@@ -43736,14 +43847,24 @@ var init_cancelpayment = __esm(() => {
43736
43847
  });
43737
43848
 
43738
43849
  // src/models/operations/cancelrefund.ts
43739
- var CancelRefundRequest$inboundSchema, CancelRefundRequest$outboundSchema, CancelRefundRequest$;
43850
+ var CancelRefundGlobals$inboundSchema, CancelRefundGlobals$outboundSchema, CancelRefundGlobals$, CancelRefundRequest$inboundSchema, CancelRefundRequest$outboundSchema, CancelRefundRequest$;
43740
43851
  var init_cancelrefund = __esm(() => {
43741
43852
  init_esm();
43742
43853
  init_primitives();
43854
+ CancelRefundGlobals$inboundSchema = objectType({
43855
+ testmode: booleanType().optional()
43856
+ });
43857
+ CancelRefundGlobals$outboundSchema = objectType({
43858
+ testmode: booleanType().optional()
43859
+ });
43860
+ ((CancelRefundGlobals$) => {
43861
+ CancelRefundGlobals$.inboundSchema = CancelRefundGlobals$inboundSchema;
43862
+ CancelRefundGlobals$.outboundSchema = CancelRefundGlobals$outboundSchema;
43863
+ })(CancelRefundGlobals$ ||= {});
43743
43864
  CancelRefundRequest$inboundSchema = objectType({
43744
43865
  paymentId: stringType(),
43745
43866
  refundId: stringType(),
43746
- testmode: nullableType(booleanType()).optional(),
43867
+ testmode: booleanType().optional(),
43747
43868
  "idempotency-key": stringType().optional()
43748
43869
  }).transform((v2) => {
43749
43870
  return remap(v2, {
@@ -43753,7 +43874,7 @@ var init_cancelrefund = __esm(() => {
43753
43874
  CancelRefundRequest$outboundSchema = objectType({
43754
43875
  paymentId: stringType(),
43755
43876
  refundId: stringType(),
43756
- testmode: nullableType(booleanType()).optional(),
43877
+ testmode: booleanType().optional(),
43757
43878
  idempotencyKey: stringType().optional()
43758
43879
  }).transform((v2) => {
43759
43880
  return remap(v2, {
@@ -44472,13 +44593,23 @@ var init_deletewebhook = __esm(() => {
44472
44593
  });
44473
44594
 
44474
44595
  // src/models/operations/getbalance.ts
44475
- var GetBalanceRequest$inboundSchema, GetBalanceRequest$outboundSchema, GetBalanceRequest$;
44596
+ var GetBalanceGlobals$inboundSchema, GetBalanceGlobals$outboundSchema, GetBalanceGlobals$, GetBalanceRequest$inboundSchema, GetBalanceRequest$outboundSchema, GetBalanceRequest$;
44476
44597
  var init_getbalance = __esm(() => {
44477
44598
  init_esm();
44478
44599
  init_primitives();
44600
+ GetBalanceGlobals$inboundSchema = objectType({
44601
+ testmode: booleanType().optional()
44602
+ });
44603
+ GetBalanceGlobals$outboundSchema = objectType({
44604
+ testmode: booleanType().optional()
44605
+ });
44606
+ ((GetBalanceGlobals$) => {
44607
+ GetBalanceGlobals$.inboundSchema = GetBalanceGlobals$inboundSchema;
44608
+ GetBalanceGlobals$.outboundSchema = GetBalanceGlobals$outboundSchema;
44609
+ })(GetBalanceGlobals$ ||= {});
44479
44610
  GetBalanceRequest$inboundSchema = objectType({
44480
44611
  id: stringType(),
44481
- testmode: nullableType(booleanType()).optional(),
44612
+ testmode: booleanType().optional(),
44482
44613
  "idempotency-key": stringType().optional()
44483
44614
  }).transform((v2) => {
44484
44615
  return remap(v2, {
@@ -44487,7 +44618,7 @@ var init_getbalance = __esm(() => {
44487
44618
  });
44488
44619
  GetBalanceRequest$outboundSchema = objectType({
44489
44620
  id: stringType(),
44490
- testmode: nullableType(booleanType()).optional(),
44621
+ testmode: booleanType().optional(),
44491
44622
  idempotencyKey: stringType().optional()
44492
44623
  }).transform((v2) => {
44493
44624
  return remap(v2, {
@@ -44501,17 +44632,27 @@ var init_getbalance = __esm(() => {
44501
44632
  });
44502
44633
 
44503
44634
  // src/models/operations/getbalancereport.ts
44504
- var GetBalanceReportRequest$inboundSchema, GetBalanceReportRequest$outboundSchema, GetBalanceReportRequest$;
44635
+ var GetBalanceReportGlobals$inboundSchema, GetBalanceReportGlobals$outboundSchema, GetBalanceReportGlobals$, GetBalanceReportRequest$inboundSchema, GetBalanceReportRequest$outboundSchema, GetBalanceReportRequest$;
44505
44636
  var init_getbalancereport = __esm(() => {
44506
44637
  init_esm();
44507
44638
  init_primitives();
44508
44639
  init_models();
44640
+ GetBalanceReportGlobals$inboundSchema = objectType({
44641
+ testmode: booleanType().optional()
44642
+ });
44643
+ GetBalanceReportGlobals$outboundSchema = objectType({
44644
+ testmode: booleanType().optional()
44645
+ });
44646
+ ((GetBalanceReportGlobals$) => {
44647
+ GetBalanceReportGlobals$.inboundSchema = GetBalanceReportGlobals$inboundSchema;
44648
+ GetBalanceReportGlobals$.outboundSchema = GetBalanceReportGlobals$outboundSchema;
44649
+ })(GetBalanceReportGlobals$ ||= {});
44509
44650
  GetBalanceReportRequest$inboundSchema = objectType({
44510
44651
  balanceId: stringType(),
44511
44652
  from: stringType(),
44512
44653
  until: stringType(),
44513
44654
  grouping: BalanceReportGrouping$inboundSchema.optional(),
44514
- testmode: nullableType(booleanType()).optional(),
44655
+ testmode: booleanType().optional(),
44515
44656
  "idempotency-key": stringType().optional()
44516
44657
  }).transform((v2) => {
44517
44658
  return remap(v2, {
@@ -44523,7 +44664,7 @@ var init_getbalancereport = __esm(() => {
44523
44664
  from: stringType(),
44524
44665
  until: stringType(),
44525
44666
  grouping: BalanceReportGrouping$outboundSchema.optional(),
44526
- testmode: nullableType(booleanType()).optional(),
44667
+ testmode: booleanType().optional(),
44527
44668
  idempotencyKey: stringType().optional()
44528
44669
  }).transform((v2) => {
44529
44670
  return remap(v2, {
@@ -44537,15 +44678,25 @@ var init_getbalancereport = __esm(() => {
44537
44678
  });
44538
44679
 
44539
44680
  // src/models/operations/getcapture.ts
44540
- var GetCaptureRequest$inboundSchema, GetCaptureRequest$outboundSchema, GetCaptureRequest$;
44681
+ var GetCaptureGlobals$inboundSchema, GetCaptureGlobals$outboundSchema, GetCaptureGlobals$, GetCaptureRequest$inboundSchema, GetCaptureRequest$outboundSchema, GetCaptureRequest$;
44541
44682
  var init_getcapture = __esm(() => {
44542
44683
  init_esm();
44543
44684
  init_primitives();
44685
+ GetCaptureGlobals$inboundSchema = objectType({
44686
+ testmode: booleanType().optional()
44687
+ });
44688
+ GetCaptureGlobals$outboundSchema = objectType({
44689
+ testmode: booleanType().optional()
44690
+ });
44691
+ ((GetCaptureGlobals$) => {
44692
+ GetCaptureGlobals$.inboundSchema = GetCaptureGlobals$inboundSchema;
44693
+ GetCaptureGlobals$.outboundSchema = GetCaptureGlobals$outboundSchema;
44694
+ })(GetCaptureGlobals$ ||= {});
44544
44695
  GetCaptureRequest$inboundSchema = objectType({
44545
44696
  paymentId: stringType(),
44546
44697
  captureId: stringType(),
44547
44698
  embed: nullableType(stringType()).optional(),
44548
- testmode: nullableType(booleanType()).optional(),
44699
+ testmode: booleanType().optional(),
44549
44700
  "idempotency-key": stringType().optional()
44550
44701
  }).transform((v2) => {
44551
44702
  return remap(v2, {
@@ -44556,7 +44707,7 @@ var init_getcapture = __esm(() => {
44556
44707
  paymentId: stringType(),
44557
44708
  captureId: stringType(),
44558
44709
  embed: nullableType(stringType()).optional(),
44559
- testmode: nullableType(booleanType()).optional(),
44710
+ testmode: booleanType().optional(),
44560
44711
  idempotencyKey: stringType().optional()
44561
44712
  }).transform((v2) => {
44562
44713
  return remap(v2, {
@@ -44570,15 +44721,25 @@ var init_getcapture = __esm(() => {
44570
44721
  });
44571
44722
 
44572
44723
  // src/models/operations/getchargeback.ts
44573
- var GetChargebackRequest$inboundSchema, GetChargebackRequest$outboundSchema, GetChargebackRequest$;
44724
+ var GetChargebackGlobals$inboundSchema, GetChargebackGlobals$outboundSchema, GetChargebackGlobals$, GetChargebackRequest$inboundSchema, GetChargebackRequest$outboundSchema, GetChargebackRequest$;
44574
44725
  var init_getchargeback = __esm(() => {
44575
44726
  init_esm();
44576
44727
  init_primitives();
44728
+ GetChargebackGlobals$inboundSchema = objectType({
44729
+ testmode: booleanType().optional()
44730
+ });
44731
+ GetChargebackGlobals$outboundSchema = objectType({
44732
+ testmode: booleanType().optional()
44733
+ });
44734
+ ((GetChargebackGlobals$) => {
44735
+ GetChargebackGlobals$.inboundSchema = GetChargebackGlobals$inboundSchema;
44736
+ GetChargebackGlobals$.outboundSchema = GetChargebackGlobals$outboundSchema;
44737
+ })(GetChargebackGlobals$ ||= {});
44577
44738
  GetChargebackRequest$inboundSchema = objectType({
44578
44739
  paymentId: stringType(),
44579
44740
  chargebackId: stringType(),
44580
44741
  embed: nullableType(stringType()).optional(),
44581
- testmode: nullableType(booleanType()).optional(),
44742
+ testmode: booleanType().optional(),
44582
44743
  "idempotency-key": stringType().optional()
44583
44744
  }).transform((v2) => {
44584
44745
  return remap(v2, {
@@ -44589,7 +44750,7 @@ var init_getchargeback = __esm(() => {
44589
44750
  paymentId: stringType(),
44590
44751
  chargebackId: stringType(),
44591
44752
  embed: nullableType(stringType()).optional(),
44592
- testmode: nullableType(booleanType()).optional(),
44753
+ testmode: booleanType().optional(),
44593
44754
  idempotencyKey: stringType().optional()
44594
44755
  }).transform((v2) => {
44595
44756
  return remap(v2, {
@@ -44703,13 +44864,23 @@ var init_getclient = __esm(() => {
44703
44864
  });
44704
44865
 
44705
44866
  // src/models/operations/getconnectbalancetransfer.ts
44706
- var GetConnectBalanceTransferRequest$inboundSchema, GetConnectBalanceTransferRequest$outboundSchema, GetConnectBalanceTransferRequest$;
44867
+ var GetConnectBalanceTransferGlobals$inboundSchema, GetConnectBalanceTransferGlobals$outboundSchema, GetConnectBalanceTransferGlobals$, GetConnectBalanceTransferRequest$inboundSchema, GetConnectBalanceTransferRequest$outboundSchema, GetConnectBalanceTransferRequest$;
44707
44868
  var init_getconnectbalancetransfer = __esm(() => {
44708
44869
  init_esm();
44709
44870
  init_primitives();
44871
+ GetConnectBalanceTransferGlobals$inboundSchema = objectType({
44872
+ testmode: booleanType().optional()
44873
+ });
44874
+ GetConnectBalanceTransferGlobals$outboundSchema = objectType({
44875
+ testmode: booleanType().optional()
44876
+ });
44877
+ ((GetConnectBalanceTransferGlobals$) => {
44878
+ GetConnectBalanceTransferGlobals$.inboundSchema = GetConnectBalanceTransferGlobals$inboundSchema;
44879
+ GetConnectBalanceTransferGlobals$.outboundSchema = GetConnectBalanceTransferGlobals$outboundSchema;
44880
+ })(GetConnectBalanceTransferGlobals$ ||= {});
44710
44881
  GetConnectBalanceTransferRequest$inboundSchema = objectType({
44711
44882
  id: stringType(),
44712
- testmode: nullableType(booleanType()).optional(),
44883
+ testmode: booleanType().optional(),
44713
44884
  "idempotency-key": stringType().optional()
44714
44885
  }).transform((v2) => {
44715
44886
  return remap(v2, {
@@ -44718,7 +44889,7 @@ var init_getconnectbalancetransfer = __esm(() => {
44718
44889
  });
44719
44890
  GetConnectBalanceTransferRequest$outboundSchema = objectType({
44720
44891
  id: stringType(),
44721
- testmode: nullableType(booleanType()).optional(),
44892
+ testmode: booleanType().optional(),
44722
44893
  idempotencyKey: stringType().optional()
44723
44894
  }).transform((v2) => {
44724
44895
  return remap(v2, {
@@ -44782,15 +44953,25 @@ var init_getcurrentprofile = __esm(() => {
44782
44953
  });
44783
44954
 
44784
44955
  // src/models/operations/getcustomer.ts
44785
- var GetCustomerRequest$inboundSchema, GetCustomerRequest$outboundSchema, GetCustomerRequest$, GetCustomerLinks$inboundSchema, GetCustomerLinks$outboundSchema, GetCustomerLinks$, GetCustomerResponse$inboundSchema, GetCustomerResponse$outboundSchema, GetCustomerResponse$;
44956
+ var GetCustomerGlobals$inboundSchema, GetCustomerGlobals$outboundSchema, GetCustomerGlobals$, GetCustomerRequest$inboundSchema, GetCustomerRequest$outboundSchema, GetCustomerRequest$, GetCustomerLinks$inboundSchema, GetCustomerLinks$outboundSchema, GetCustomerLinks$, GetCustomerResponse$inboundSchema, GetCustomerResponse$outboundSchema, GetCustomerResponse$;
44786
44957
  var init_getcustomer = __esm(() => {
44787
44958
  init_esm();
44788
44959
  init_primitives();
44789
44960
  init_models();
44961
+ GetCustomerGlobals$inboundSchema = objectType({
44962
+ testmode: booleanType().optional()
44963
+ });
44964
+ GetCustomerGlobals$outboundSchema = objectType({
44965
+ testmode: booleanType().optional()
44966
+ });
44967
+ ((GetCustomerGlobals$) => {
44968
+ GetCustomerGlobals$.inboundSchema = GetCustomerGlobals$inboundSchema;
44969
+ GetCustomerGlobals$.outboundSchema = GetCustomerGlobals$outboundSchema;
44970
+ })(GetCustomerGlobals$ ||= {});
44790
44971
  GetCustomerRequest$inboundSchema = objectType({
44791
44972
  customerId: stringType(),
44792
44973
  include: nullableType(stringType()).optional(),
44793
- testmode: nullableType(booleanType()).optional(),
44974
+ testmode: booleanType().optional(),
44794
44975
  "idempotency-key": stringType().optional()
44795
44976
  }).transform((v2) => {
44796
44977
  return remap(v2, {
@@ -44800,7 +44981,7 @@ var init_getcustomer = __esm(() => {
44800
44981
  GetCustomerRequest$outboundSchema = objectType({
44801
44982
  customerId: stringType(),
44802
44983
  include: nullableType(stringType()).optional(),
44803
- testmode: nullableType(booleanType()).optional(),
44984
+ testmode: booleanType().optional(),
44804
44985
  idempotencyKey: stringType().optional()
44805
44986
  }).transform((v2) => {
44806
44987
  return remap(v2, {
@@ -44897,14 +45078,24 @@ var init_getinvoice = __esm(() => {
44897
45078
  });
44898
45079
 
44899
45080
  // src/models/operations/getmandate.ts
44900
- var GetMandateRequest$inboundSchema, GetMandateRequest$outboundSchema, GetMandateRequest$;
45081
+ var GetMandateGlobals$inboundSchema, GetMandateGlobals$outboundSchema, GetMandateGlobals$, GetMandateRequest$inboundSchema, GetMandateRequest$outboundSchema, GetMandateRequest$;
44901
45082
  var init_getmandate = __esm(() => {
44902
45083
  init_esm();
44903
45084
  init_primitives();
45085
+ GetMandateGlobals$inboundSchema = objectType({
45086
+ testmode: booleanType().optional()
45087
+ });
45088
+ GetMandateGlobals$outboundSchema = objectType({
45089
+ testmode: booleanType().optional()
45090
+ });
45091
+ ((GetMandateGlobals$) => {
45092
+ GetMandateGlobals$.inboundSchema = GetMandateGlobals$inboundSchema;
45093
+ GetMandateGlobals$.outboundSchema = GetMandateGlobals$outboundSchema;
45094
+ })(GetMandateGlobals$ ||= {});
44904
45095
  GetMandateRequest$inboundSchema = objectType({
44905
45096
  customerId: stringType(),
44906
45097
  mandateId: stringType(),
44907
- testmode: nullableType(booleanType()).optional(),
45098
+ testmode: booleanType().optional(),
44908
45099
  "idempotency-key": stringType().optional()
44909
45100
  }).transform((v2) => {
44910
45101
  return remap(v2, {
@@ -44914,7 +45105,7 @@ var init_getmandate = __esm(() => {
44914
45105
  GetMandateRequest$outboundSchema = objectType({
44915
45106
  customerId: stringType(),
44916
45107
  mandateId: stringType(),
44917
- testmode: nullableType(booleanType()).optional(),
45108
+ testmode: booleanType().optional(),
44918
45109
  idempotencyKey: stringType().optional()
44919
45110
  }).transform((v2) => {
44920
45111
  return remap(v2, {
@@ -44928,11 +45119,23 @@ var init_getmandate = __esm(() => {
44928
45119
  });
44929
45120
 
44930
45121
  // src/models/operations/getmethod.ts
44931
- var GetMethodRequest$inboundSchema, GetMethodRequest$outboundSchema, GetMethodRequest$;
45122
+ var GetMethodGlobals$inboundSchema, GetMethodGlobals$outboundSchema, GetMethodGlobals$, GetMethodRequest$inboundSchema, GetMethodRequest$outboundSchema, GetMethodRequest$;
44932
45123
  var init_getmethod = __esm(() => {
44933
45124
  init_esm();
44934
45125
  init_primitives();
44935
45126
  init_models();
45127
+ GetMethodGlobals$inboundSchema = objectType({
45128
+ profileId: stringType().optional(),
45129
+ testmode: booleanType().optional()
45130
+ });
45131
+ GetMethodGlobals$outboundSchema = objectType({
45132
+ profileId: stringType().optional(),
45133
+ testmode: booleanType().optional()
45134
+ });
45135
+ ((GetMethodGlobals$) => {
45136
+ GetMethodGlobals$.inboundSchema = GetMethodGlobals$inboundSchema;
45137
+ GetMethodGlobals$.outboundSchema = GetMethodGlobals$outboundSchema;
45138
+ })(GetMethodGlobals$ ||= {});
44936
45139
  GetMethodRequest$inboundSchema = objectType({
44937
45140
  id: stringType(),
44938
45141
  locale: nullableType(Locale$inboundSchema).optional(),
@@ -44940,7 +45143,7 @@ var init_getmethod = __esm(() => {
44940
45143
  profileId: stringType().optional(),
44941
45144
  include: nullableType(stringType()).optional(),
44942
45145
  sequenceType: SequenceType$inboundSchema.optional(),
44943
- testmode: nullableType(booleanType()).optional(),
45146
+ testmode: booleanType().optional(),
44944
45147
  "idempotency-key": stringType().optional()
44945
45148
  }).transform((v2) => {
44946
45149
  return remap(v2, {
@@ -44954,7 +45157,7 @@ var init_getmethod = __esm(() => {
44954
45157
  profileId: stringType().optional(),
44955
45158
  include: nullableType(stringType()).optional(),
44956
45159
  sequenceType: SequenceType$outboundSchema.optional(),
44957
- testmode: nullableType(booleanType()).optional(),
45160
+ testmode: booleanType().optional(),
44958
45161
  idempotencyKey: stringType().optional()
44959
45162
  }).transform((v2) => {
44960
45163
  return remap(v2, {
@@ -45043,13 +45246,23 @@ var init_getopensettlement = __esm(() => {
45043
45246
  });
45044
45247
 
45045
45248
  // src/models/operations/getorganization.ts
45046
- var GetOrganizationRequest$inboundSchema, GetOrganizationRequest$outboundSchema, GetOrganizationRequest$;
45249
+ var GetOrganizationGlobals$inboundSchema, GetOrganizationGlobals$outboundSchema, GetOrganizationGlobals$, GetOrganizationRequest$inboundSchema, GetOrganizationRequest$outboundSchema, GetOrganizationRequest$;
45047
45250
  var init_getorganization = __esm(() => {
45048
45251
  init_esm();
45049
45252
  init_primitives();
45253
+ GetOrganizationGlobals$inboundSchema = objectType({
45254
+ testmode: booleanType().optional()
45255
+ });
45256
+ GetOrganizationGlobals$outboundSchema = objectType({
45257
+ testmode: booleanType().optional()
45258
+ });
45259
+ ((GetOrganizationGlobals$) => {
45260
+ GetOrganizationGlobals$.inboundSchema = GetOrganizationGlobals$inboundSchema;
45261
+ GetOrganizationGlobals$.outboundSchema = GetOrganizationGlobals$outboundSchema;
45262
+ })(GetOrganizationGlobals$ ||= {});
45050
45263
  GetOrganizationRequest$inboundSchema = objectType({
45051
45264
  id: stringType(),
45052
- testmode: nullableType(booleanType()).optional(),
45265
+ testmode: booleanType().optional(),
45053
45266
  "idempotency-key": stringType().optional()
45054
45267
  }).transform((v2) => {
45055
45268
  return remap(v2, {
@@ -45058,7 +45271,7 @@ var init_getorganization = __esm(() => {
45058
45271
  });
45059
45272
  GetOrganizationRequest$outboundSchema = objectType({
45060
45273
  id: stringType(),
45061
- testmode: nullableType(booleanType()).optional(),
45274
+ testmode: booleanType().optional(),
45062
45275
  idempotencyKey: stringType().optional()
45063
45276
  }).transform((v2) => {
45064
45277
  return remap(v2, {
@@ -45169,15 +45382,25 @@ var init_getpartnerstatus = __esm(() => {
45169
45382
  });
45170
45383
 
45171
45384
  // src/models/operations/getpayment.ts
45172
- var GetPaymentRequest$inboundSchema, GetPaymentRequest$outboundSchema, GetPaymentRequest$;
45385
+ var GetPaymentGlobals$inboundSchema, GetPaymentGlobals$outboundSchema, GetPaymentGlobals$, GetPaymentRequest$inboundSchema, GetPaymentRequest$outboundSchema, GetPaymentRequest$;
45173
45386
  var init_getpayment = __esm(() => {
45174
45387
  init_esm();
45175
45388
  init_primitives();
45389
+ GetPaymentGlobals$inboundSchema = objectType({
45390
+ testmode: booleanType().optional()
45391
+ });
45392
+ GetPaymentGlobals$outboundSchema = objectType({
45393
+ testmode: booleanType().optional()
45394
+ });
45395
+ ((GetPaymentGlobals$) => {
45396
+ GetPaymentGlobals$.inboundSchema = GetPaymentGlobals$inboundSchema;
45397
+ GetPaymentGlobals$.outboundSchema = GetPaymentGlobals$outboundSchema;
45398
+ })(GetPaymentGlobals$ ||= {});
45176
45399
  GetPaymentRequest$inboundSchema = objectType({
45177
45400
  paymentId: stringType(),
45178
45401
  include: nullableType(stringType()).optional(),
45179
45402
  embed: nullableType(stringType()).optional(),
45180
- testmode: nullableType(booleanType()).optional(),
45403
+ testmode: booleanType().optional(),
45181
45404
  "idempotency-key": stringType().optional()
45182
45405
  }).transform((v2) => {
45183
45406
  return remap(v2, {
@@ -45188,7 +45411,7 @@ var init_getpayment = __esm(() => {
45188
45411
  paymentId: stringType(),
45189
45412
  include: nullableType(stringType()).optional(),
45190
45413
  embed: nullableType(stringType()).optional(),
45191
- testmode: nullableType(booleanType()).optional(),
45414
+ testmode: booleanType().optional(),
45192
45415
  idempotencyKey: stringType().optional()
45193
45416
  }).transform((v2) => {
45194
45417
  return remap(v2, {
@@ -45202,13 +45425,23 @@ var init_getpayment = __esm(() => {
45202
45425
  });
45203
45426
 
45204
45427
  // src/models/operations/getpaymentlink.ts
45205
- var GetPaymentLinkRequest$inboundSchema, GetPaymentLinkRequest$outboundSchema, GetPaymentLinkRequest$;
45428
+ var GetPaymentLinkGlobals$inboundSchema, GetPaymentLinkGlobals$outboundSchema, GetPaymentLinkGlobals$, GetPaymentLinkRequest$inboundSchema, GetPaymentLinkRequest$outboundSchema, GetPaymentLinkRequest$;
45206
45429
  var init_getpaymentlink = __esm(() => {
45207
45430
  init_esm();
45208
45431
  init_primitives();
45432
+ GetPaymentLinkGlobals$inboundSchema = objectType({
45433
+ testmode: booleanType().optional()
45434
+ });
45435
+ GetPaymentLinkGlobals$outboundSchema = objectType({
45436
+ testmode: booleanType().optional()
45437
+ });
45438
+ ((GetPaymentLinkGlobals$) => {
45439
+ GetPaymentLinkGlobals$.inboundSchema = GetPaymentLinkGlobals$inboundSchema;
45440
+ GetPaymentLinkGlobals$.outboundSchema = GetPaymentLinkGlobals$outboundSchema;
45441
+ })(GetPaymentLinkGlobals$ ||= {});
45209
45442
  GetPaymentLinkRequest$inboundSchema = objectType({
45210
45443
  paymentLinkId: stringType(),
45211
- testmode: nullableType(booleanType()).optional(),
45444
+ testmode: booleanType().optional(),
45212
45445
  "idempotency-key": stringType().optional()
45213
45446
  }).transform((v2) => {
45214
45447
  return remap(v2, {
@@ -45217,7 +45450,7 @@ var init_getpaymentlink = __esm(() => {
45217
45450
  });
45218
45451
  GetPaymentLinkRequest$outboundSchema = objectType({
45219
45452
  paymentLinkId: stringType(),
45220
- testmode: nullableType(booleanType()).optional(),
45453
+ testmode: booleanType().optional(),
45221
45454
  idempotencyKey: stringType().optional()
45222
45455
  }).transform((v2) => {
45223
45456
  return remap(v2, {
@@ -45231,17 +45464,27 @@ var init_getpaymentlink = __esm(() => {
45231
45464
  });
45232
45465
 
45233
45466
  // src/models/operations/getpaymentlinkpayments.ts
45234
- var GetPaymentLinkPaymentsRequest$inboundSchema, GetPaymentLinkPaymentsRequest$outboundSchema, GetPaymentLinkPaymentsRequest$, GetPaymentLinkPaymentsEmbedded$inboundSchema, GetPaymentLinkPaymentsEmbedded$outboundSchema, GetPaymentLinkPaymentsEmbedded$, GetPaymentLinkPaymentsResponse$inboundSchema, GetPaymentLinkPaymentsResponse$outboundSchema, GetPaymentLinkPaymentsResponse$;
45467
+ var GetPaymentLinkPaymentsGlobals$inboundSchema, GetPaymentLinkPaymentsGlobals$outboundSchema, GetPaymentLinkPaymentsGlobals$, GetPaymentLinkPaymentsRequest$inboundSchema, GetPaymentLinkPaymentsRequest$outboundSchema, GetPaymentLinkPaymentsRequest$, GetPaymentLinkPaymentsEmbedded$inboundSchema, GetPaymentLinkPaymentsEmbedded$outboundSchema, GetPaymentLinkPaymentsEmbedded$, GetPaymentLinkPaymentsResponse$inboundSchema, GetPaymentLinkPaymentsResponse$outboundSchema, GetPaymentLinkPaymentsResponse$;
45235
45468
  var init_getpaymentlinkpayments = __esm(() => {
45236
45469
  init_esm();
45237
45470
  init_primitives();
45238
45471
  init_models();
45472
+ GetPaymentLinkPaymentsGlobals$inboundSchema = objectType({
45473
+ testmode: booleanType().optional()
45474
+ });
45475
+ GetPaymentLinkPaymentsGlobals$outboundSchema = objectType({
45476
+ testmode: booleanType().optional()
45477
+ });
45478
+ ((GetPaymentLinkPaymentsGlobals$) => {
45479
+ GetPaymentLinkPaymentsGlobals$.inboundSchema = GetPaymentLinkPaymentsGlobals$inboundSchema;
45480
+ GetPaymentLinkPaymentsGlobals$.outboundSchema = GetPaymentLinkPaymentsGlobals$outboundSchema;
45481
+ })(GetPaymentLinkPaymentsGlobals$ ||= {});
45239
45482
  GetPaymentLinkPaymentsRequest$inboundSchema = objectType({
45240
45483
  paymentLinkId: stringType(),
45241
45484
  from: stringType().optional(),
45242
45485
  limit: nullableType(numberType().int()).optional(),
45243
45486
  sort: Sorting$inboundSchema.optional(),
45244
- testmode: nullableType(booleanType()).optional(),
45487
+ testmode: booleanType().optional(),
45245
45488
  "idempotency-key": stringType().optional()
45246
45489
  }).transform((v2) => {
45247
45490
  return remap(v2, {
@@ -45253,7 +45496,7 @@ var init_getpaymentlinkpayments = __esm(() => {
45253
45496
  from: stringType().optional(),
45254
45497
  limit: nullableType(numberType().int()).optional(),
45255
45498
  sort: Sorting$outboundSchema.optional(),
45256
- testmode: nullableType(booleanType()).optional(),
45499
+ testmode: booleanType().optional(),
45257
45500
  idempotencyKey: stringType().optional()
45258
45501
  }).transform((v2) => {
45259
45502
  return remap(v2, {
@@ -45301,13 +45544,23 @@ var init_getpaymentlinkpayments = __esm(() => {
45301
45544
  });
45302
45545
 
45303
45546
  // src/models/operations/getpermission.ts
45304
- var GetPermissionRequest$inboundSchema, GetPermissionRequest$outboundSchema, GetPermissionRequest$;
45547
+ var GetPermissionGlobals$inboundSchema, GetPermissionGlobals$outboundSchema, GetPermissionGlobals$, GetPermissionRequest$inboundSchema, GetPermissionRequest$outboundSchema, GetPermissionRequest$;
45305
45548
  var init_getpermission = __esm(() => {
45306
45549
  init_esm();
45307
45550
  init_primitives();
45551
+ GetPermissionGlobals$inboundSchema = objectType({
45552
+ testmode: booleanType().optional()
45553
+ });
45554
+ GetPermissionGlobals$outboundSchema = objectType({
45555
+ testmode: booleanType().optional()
45556
+ });
45557
+ ((GetPermissionGlobals$) => {
45558
+ GetPermissionGlobals$.inboundSchema = GetPermissionGlobals$inboundSchema;
45559
+ GetPermissionGlobals$.outboundSchema = GetPermissionGlobals$outboundSchema;
45560
+ })(GetPermissionGlobals$ ||= {});
45308
45561
  GetPermissionRequest$inboundSchema = objectType({
45309
45562
  permissionId: stringType(),
45310
- testmode: nullableType(booleanType()).optional(),
45563
+ testmode: booleanType().optional(),
45311
45564
  "idempotency-key": stringType().optional()
45312
45565
  }).transform((v2) => {
45313
45566
  return remap(v2, {
@@ -45316,7 +45569,7 @@ var init_getpermission = __esm(() => {
45316
45569
  });
45317
45570
  GetPermissionRequest$outboundSchema = objectType({
45318
45571
  permissionId: stringType(),
45319
- testmode: nullableType(booleanType()).optional(),
45572
+ testmode: booleanType().optional(),
45320
45573
  idempotencyKey: stringType().optional()
45321
45574
  }).transform((v2) => {
45322
45575
  return remap(v2, {
@@ -45355,13 +45608,23 @@ var init_getprimarybalance = __esm(() => {
45355
45608
  });
45356
45609
 
45357
45610
  // src/models/operations/getprofile.ts
45358
- var GetProfileRequest$inboundSchema, GetProfileRequest$outboundSchema, GetProfileRequest$;
45611
+ var GetProfileGlobals$inboundSchema, GetProfileGlobals$outboundSchema, GetProfileGlobals$, GetProfileRequest$inboundSchema, GetProfileRequest$outboundSchema, GetProfileRequest$;
45359
45612
  var init_getprofile = __esm(() => {
45360
45613
  init_esm();
45361
45614
  init_primitives();
45615
+ GetProfileGlobals$inboundSchema = objectType({
45616
+ testmode: booleanType().optional()
45617
+ });
45618
+ GetProfileGlobals$outboundSchema = objectType({
45619
+ testmode: booleanType().optional()
45620
+ });
45621
+ ((GetProfileGlobals$) => {
45622
+ GetProfileGlobals$.inboundSchema = GetProfileGlobals$inboundSchema;
45623
+ GetProfileGlobals$.outboundSchema = GetProfileGlobals$outboundSchema;
45624
+ })(GetProfileGlobals$ ||= {});
45362
45625
  GetProfileRequest$inboundSchema = objectType({
45363
45626
  id: stringType(),
45364
- testmode: nullableType(booleanType()).optional(),
45627
+ testmode: booleanType().optional(),
45365
45628
  "idempotency-key": stringType().optional()
45366
45629
  }).transform((v2) => {
45367
45630
  return remap(v2, {
@@ -45370,7 +45633,7 @@ var init_getprofile = __esm(() => {
45370
45633
  });
45371
45634
  GetProfileRequest$outboundSchema = objectType({
45372
45635
  id: stringType(),
45373
- testmode: nullableType(booleanType()).optional(),
45636
+ testmode: booleanType().optional(),
45374
45637
  idempotencyKey: stringType().optional()
45375
45638
  }).transform((v2) => {
45376
45639
  return remap(v2, {
@@ -45384,15 +45647,25 @@ var init_getprofile = __esm(() => {
45384
45647
  });
45385
45648
 
45386
45649
  // src/models/operations/getrefund.ts
45387
- var GetRefundRequest$inboundSchema, GetRefundRequest$outboundSchema, GetRefundRequest$;
45650
+ var GetRefundGlobals$inboundSchema, GetRefundGlobals$outboundSchema, GetRefundGlobals$, GetRefundRequest$inboundSchema, GetRefundRequest$outboundSchema, GetRefundRequest$;
45388
45651
  var init_getrefund = __esm(() => {
45389
45652
  init_esm();
45390
45653
  init_primitives();
45654
+ GetRefundGlobals$inboundSchema = objectType({
45655
+ testmode: booleanType().optional()
45656
+ });
45657
+ GetRefundGlobals$outboundSchema = objectType({
45658
+ testmode: booleanType().optional()
45659
+ });
45660
+ ((GetRefundGlobals$) => {
45661
+ GetRefundGlobals$.inboundSchema = GetRefundGlobals$inboundSchema;
45662
+ GetRefundGlobals$.outboundSchema = GetRefundGlobals$outboundSchema;
45663
+ })(GetRefundGlobals$ ||= {});
45391
45664
  GetRefundRequest$inboundSchema = objectType({
45392
45665
  paymentId: stringType(),
45393
45666
  refundId: stringType(),
45394
45667
  embed: nullableType(stringType()).optional(),
45395
- testmode: nullableType(booleanType()).optional(),
45668
+ testmode: booleanType().optional(),
45396
45669
  "idempotency-key": stringType().optional()
45397
45670
  }).transform((v2) => {
45398
45671
  return remap(v2, {
@@ -45403,7 +45676,7 @@ var init_getrefund = __esm(() => {
45403
45676
  paymentId: stringType(),
45404
45677
  refundId: stringType(),
45405
45678
  embed: nullableType(stringType()).optional(),
45406
- testmode: nullableType(booleanType()).optional(),
45679
+ testmode: booleanType().optional(),
45407
45680
  idempotencyKey: stringType().optional()
45408
45681
  }).transform((v2) => {
45409
45682
  return remap(v2, {
@@ -45417,13 +45690,23 @@ var init_getrefund = __esm(() => {
45417
45690
  });
45418
45691
 
45419
45692
  // src/models/operations/getsalesinvoice.ts
45420
- var GetSalesInvoiceRequest$inboundSchema, GetSalesInvoiceRequest$outboundSchema, GetSalesInvoiceRequest$;
45693
+ var GetSalesInvoiceGlobals$inboundSchema, GetSalesInvoiceGlobals$outboundSchema, GetSalesInvoiceGlobals$, GetSalesInvoiceRequest$inboundSchema, GetSalesInvoiceRequest$outboundSchema, GetSalesInvoiceRequest$;
45421
45694
  var init_getsalesinvoice = __esm(() => {
45422
45695
  init_esm();
45423
45696
  init_primitives();
45697
+ GetSalesInvoiceGlobals$inboundSchema = objectType({
45698
+ testmode: booleanType().optional()
45699
+ });
45700
+ GetSalesInvoiceGlobals$outboundSchema = objectType({
45701
+ testmode: booleanType().optional()
45702
+ });
45703
+ ((GetSalesInvoiceGlobals$) => {
45704
+ GetSalesInvoiceGlobals$.inboundSchema = GetSalesInvoiceGlobals$inboundSchema;
45705
+ GetSalesInvoiceGlobals$.outboundSchema = GetSalesInvoiceGlobals$outboundSchema;
45706
+ })(GetSalesInvoiceGlobals$ ||= {});
45424
45707
  GetSalesInvoiceRequest$inboundSchema = objectType({
45425
45708
  id: stringType(),
45426
- testmode: nullableType(booleanType()).optional(),
45709
+ testmode: booleanType().optional(),
45427
45710
  "idempotency-key": stringType().optional()
45428
45711
  }).transform((v2) => {
45429
45712
  return remap(v2, {
@@ -45432,7 +45715,7 @@ var init_getsalesinvoice = __esm(() => {
45432
45715
  });
45433
45716
  GetSalesInvoiceRequest$outboundSchema = objectType({
45434
45717
  id: stringType(),
45435
- testmode: nullableType(booleanType()).optional(),
45718
+ testmode: booleanType().optional(),
45436
45719
  idempotencyKey: stringType().optional()
45437
45720
  }).transform((v2) => {
45438
45721
  return remap(v2, {
@@ -45473,14 +45756,24 @@ var init_getsettlement = __esm(() => {
45473
45756
  });
45474
45757
 
45475
45758
  // src/models/operations/getsubscription.ts
45476
- var GetSubscriptionRequest$inboundSchema, GetSubscriptionRequest$outboundSchema, GetSubscriptionRequest$;
45759
+ var GetSubscriptionGlobals$inboundSchema, GetSubscriptionGlobals$outboundSchema, GetSubscriptionGlobals$, GetSubscriptionRequest$inboundSchema, GetSubscriptionRequest$outboundSchema, GetSubscriptionRequest$;
45477
45760
  var init_getsubscription = __esm(() => {
45478
45761
  init_esm();
45479
45762
  init_primitives();
45763
+ GetSubscriptionGlobals$inboundSchema = objectType({
45764
+ testmode: booleanType().optional()
45765
+ });
45766
+ GetSubscriptionGlobals$outboundSchema = objectType({
45767
+ testmode: booleanType().optional()
45768
+ });
45769
+ ((GetSubscriptionGlobals$) => {
45770
+ GetSubscriptionGlobals$.inboundSchema = GetSubscriptionGlobals$inboundSchema;
45771
+ GetSubscriptionGlobals$.outboundSchema = GetSubscriptionGlobals$outboundSchema;
45772
+ })(GetSubscriptionGlobals$ ||= {});
45480
45773
  GetSubscriptionRequest$inboundSchema = objectType({
45481
45774
  customerId: stringType(),
45482
45775
  subscriptionId: stringType(),
45483
- testmode: nullableType(booleanType()).optional(),
45776
+ testmode: booleanType().optional(),
45484
45777
  "idempotency-key": stringType().optional()
45485
45778
  }).transform((v2) => {
45486
45779
  return remap(v2, {
@@ -45490,7 +45783,7 @@ var init_getsubscription = __esm(() => {
45490
45783
  GetSubscriptionRequest$outboundSchema = objectType({
45491
45784
  customerId: stringType(),
45492
45785
  subscriptionId: stringType(),
45493
- testmode: nullableType(booleanType()).optional(),
45786
+ testmode: booleanType().optional(),
45494
45787
  idempotencyKey: stringType().optional()
45495
45788
  }).transform((v2) => {
45496
45789
  return remap(v2, {
@@ -45504,13 +45797,23 @@ var init_getsubscription = __esm(() => {
45504
45797
  });
45505
45798
 
45506
45799
  // src/models/operations/getterminal.ts
45507
- var GetTerminalRequest$inboundSchema, GetTerminalRequest$outboundSchema, GetTerminalRequest$;
45800
+ var GetTerminalGlobals$inboundSchema, GetTerminalGlobals$outboundSchema, GetTerminalGlobals$, GetTerminalRequest$inboundSchema, GetTerminalRequest$outboundSchema, GetTerminalRequest$;
45508
45801
  var init_getterminal = __esm(() => {
45509
45802
  init_esm();
45510
45803
  init_primitives();
45804
+ GetTerminalGlobals$inboundSchema = objectType({
45805
+ testmode: booleanType().optional()
45806
+ });
45807
+ GetTerminalGlobals$outboundSchema = objectType({
45808
+ testmode: booleanType().optional()
45809
+ });
45810
+ ((GetTerminalGlobals$) => {
45811
+ GetTerminalGlobals$.inboundSchema = GetTerminalGlobals$inboundSchema;
45812
+ GetTerminalGlobals$.outboundSchema = GetTerminalGlobals$outboundSchema;
45813
+ })(GetTerminalGlobals$ ||= {});
45511
45814
  GetTerminalRequest$inboundSchema = objectType({
45512
45815
  terminalId: stringType(),
45513
- testmode: nullableType(booleanType()).optional(),
45816
+ testmode: booleanType().optional(),
45514
45817
  "idempotency-key": stringType().optional()
45515
45818
  }).transform((v2) => {
45516
45819
  return remap(v2, {
@@ -45519,7 +45822,7 @@ var init_getterminal = __esm(() => {
45519
45822
  });
45520
45823
  GetTerminalRequest$outboundSchema = objectType({
45521
45824
  terminalId: stringType(),
45522
- testmode: nullableType(booleanType()).optional(),
45825
+ testmode: booleanType().optional(),
45523
45826
  idempotencyKey: stringType().optional()
45524
45827
  }).transform((v2) => {
45525
45828
  return remap(v2, {
@@ -45533,13 +45836,23 @@ var init_getterminal = __esm(() => {
45533
45836
  });
45534
45837
 
45535
45838
  // src/models/operations/getwebhook.ts
45536
- var GetWebhookRequest$inboundSchema, GetWebhookRequest$outboundSchema, GetWebhookRequest$;
45839
+ var GetWebhookGlobals$inboundSchema, GetWebhookGlobals$outboundSchema, GetWebhookGlobals$, GetWebhookRequest$inboundSchema, GetWebhookRequest$outboundSchema, GetWebhookRequest$;
45537
45840
  var init_getwebhook = __esm(() => {
45538
45841
  init_esm();
45539
45842
  init_primitives();
45843
+ GetWebhookGlobals$inboundSchema = objectType({
45844
+ testmode: booleanType().optional()
45845
+ });
45846
+ GetWebhookGlobals$outboundSchema = objectType({
45847
+ testmode: booleanType().optional()
45848
+ });
45849
+ ((GetWebhookGlobals$) => {
45850
+ GetWebhookGlobals$.inboundSchema = GetWebhookGlobals$inboundSchema;
45851
+ GetWebhookGlobals$.outboundSchema = GetWebhookGlobals$outboundSchema;
45852
+ })(GetWebhookGlobals$ ||= {});
45540
45853
  GetWebhookRequest$inboundSchema = objectType({
45541
45854
  id: stringType(),
45542
- testmode: nullableType(booleanType()).optional(),
45855
+ testmode: booleanType().optional(),
45543
45856
  "idempotency-key": stringType().optional()
45544
45857
  }).transform((v2) => {
45545
45858
  return remap(v2, {
@@ -45548,7 +45861,7 @@ var init_getwebhook = __esm(() => {
45548
45861
  });
45549
45862
  GetWebhookRequest$outboundSchema = objectType({
45550
45863
  id: stringType(),
45551
- testmode: nullableType(booleanType()).optional(),
45864
+ testmode: booleanType().optional(),
45552
45865
  idempotencyKey: stringType().optional()
45553
45866
  }).transform((v2) => {
45554
45867
  return remap(v2, {
@@ -45562,13 +45875,23 @@ var init_getwebhook = __esm(() => {
45562
45875
  });
45563
45876
 
45564
45877
  // src/models/operations/getwebhookevent.ts
45565
- var GetWebhookEventRequest$inboundSchema, GetWebhookEventRequest$outboundSchema, GetWebhookEventRequest$;
45878
+ var GetWebhookEventGlobals$inboundSchema, GetWebhookEventGlobals$outboundSchema, GetWebhookEventGlobals$, GetWebhookEventRequest$inboundSchema, GetWebhookEventRequest$outboundSchema, GetWebhookEventRequest$;
45566
45879
  var init_getwebhookevent = __esm(() => {
45567
45880
  init_esm();
45568
45881
  init_primitives();
45882
+ GetWebhookEventGlobals$inboundSchema = objectType({
45883
+ testmode: booleanType().optional()
45884
+ });
45885
+ GetWebhookEventGlobals$outboundSchema = objectType({
45886
+ testmode: booleanType().optional()
45887
+ });
45888
+ ((GetWebhookEventGlobals$) => {
45889
+ GetWebhookEventGlobals$.inboundSchema = GetWebhookEventGlobals$inboundSchema;
45890
+ GetWebhookEventGlobals$.outboundSchema = GetWebhookEventGlobals$outboundSchema;
45891
+ })(GetWebhookEventGlobals$ ||= {});
45569
45892
  GetWebhookEventRequest$inboundSchema = objectType({
45570
45893
  id: stringType(),
45571
- testmode: nullableType(booleanType()).optional(),
45894
+ testmode: booleanType().optional(),
45572
45895
  "idempotency-key": stringType().optional()
45573
45896
  }).transform((v2) => {
45574
45897
  return remap(v2, {
@@ -45577,7 +45900,7 @@ var init_getwebhookevent = __esm(() => {
45577
45900
  });
45578
45901
  GetWebhookEventRequest$outboundSchema = objectType({
45579
45902
  id: stringType(),
45580
- testmode: nullableType(booleanType()).optional(),
45903
+ testmode: booleanType().optional(),
45581
45904
  idempotencyKey: stringType().optional()
45582
45905
  }).transform((v2) => {
45583
45906
  return remap(v2, {
@@ -45591,18 +45914,30 @@ var init_getwebhookevent = __esm(() => {
45591
45914
  });
45592
45915
 
45593
45916
  // src/models/operations/listallchargebacks.ts
45594
- var ListAllChargebacksRequest$inboundSchema, ListAllChargebacksRequest$outboundSchema, ListAllChargebacksRequest$, ListAllChargebacksEmbedded$inboundSchema, ListAllChargebacksEmbedded$outboundSchema, ListAllChargebacksEmbedded$, ListAllChargebacksResponse$inboundSchema, ListAllChargebacksResponse$outboundSchema, ListAllChargebacksResponse$;
45917
+ var ListAllChargebacksGlobals$inboundSchema, ListAllChargebacksGlobals$outboundSchema, ListAllChargebacksGlobals$, ListAllChargebacksRequest$inboundSchema, ListAllChargebacksRequest$outboundSchema, ListAllChargebacksRequest$, ListAllChargebacksEmbedded$inboundSchema, ListAllChargebacksEmbedded$outboundSchema, ListAllChargebacksEmbedded$, ListAllChargebacksResponse$inboundSchema, ListAllChargebacksResponse$outboundSchema, ListAllChargebacksResponse$;
45595
45918
  var init_listallchargebacks = __esm(() => {
45596
45919
  init_esm();
45597
45920
  init_primitives();
45598
45921
  init_models();
45922
+ ListAllChargebacksGlobals$inboundSchema = objectType({
45923
+ profileId: stringType().optional(),
45924
+ testmode: booleanType().optional()
45925
+ });
45926
+ ListAllChargebacksGlobals$outboundSchema = objectType({
45927
+ profileId: stringType().optional(),
45928
+ testmode: booleanType().optional()
45929
+ });
45930
+ ((ListAllChargebacksGlobals$) => {
45931
+ ListAllChargebacksGlobals$.inboundSchema = ListAllChargebacksGlobals$inboundSchema;
45932
+ ListAllChargebacksGlobals$.outboundSchema = ListAllChargebacksGlobals$outboundSchema;
45933
+ })(ListAllChargebacksGlobals$ ||= {});
45599
45934
  ListAllChargebacksRequest$inboundSchema = objectType({
45600
45935
  from: stringType().optional(),
45601
45936
  limit: nullableType(numberType().int()).optional(),
45602
45937
  embed: nullableType(stringType()).optional(),
45603
45938
  sort: Sorting$inboundSchema.optional(),
45604
45939
  profileId: stringType().optional(),
45605
- testmode: nullableType(booleanType()).optional(),
45940
+ testmode: booleanType().optional(),
45606
45941
  "idempotency-key": stringType().optional()
45607
45942
  }).transform((v2) => {
45608
45943
  return remap(v2, {
@@ -45615,7 +45950,7 @@ var init_listallchargebacks = __esm(() => {
45615
45950
  embed: nullableType(stringType()).optional(),
45616
45951
  sort: Sorting$outboundSchema.optional(),
45617
45952
  profileId: stringType().optional(),
45618
- testmode: nullableType(booleanType()).optional(),
45953
+ testmode: booleanType().optional(),
45619
45954
  idempotencyKey: stringType().optional()
45620
45955
  }).transform((v2) => {
45621
45956
  return remap(v2, {
@@ -45663,18 +45998,30 @@ var init_listallchargebacks = __esm(() => {
45663
45998
  });
45664
45999
 
45665
46000
  // 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$;
46001
+ var ListAllMethodsGlobals$inboundSchema, ListAllMethodsGlobals$outboundSchema, ListAllMethodsGlobals$, ListAllMethodsRequest$inboundSchema, ListAllMethodsRequest$outboundSchema, ListAllMethodsRequest$, ListAllMethodsEmbedded$inboundSchema, ListAllMethodsEmbedded$outboundSchema, ListAllMethodsEmbedded$, ListAllMethodsLinks$inboundSchema, ListAllMethodsLinks$outboundSchema, ListAllMethodsLinks$, ListAllMethodsResponse$inboundSchema, ListAllMethodsResponse$outboundSchema, ListAllMethodsResponse$;
45667
46002
  var init_listallmethods = __esm(() => {
45668
46003
  init_esm();
45669
46004
  init_primitives();
45670
46005
  init_models();
46006
+ ListAllMethodsGlobals$inboundSchema = objectType({
46007
+ profileId: stringType().optional(),
46008
+ testmode: booleanType().optional()
46009
+ });
46010
+ ListAllMethodsGlobals$outboundSchema = objectType({
46011
+ profileId: stringType().optional(),
46012
+ testmode: booleanType().optional()
46013
+ });
46014
+ ((ListAllMethodsGlobals$) => {
46015
+ ListAllMethodsGlobals$.inboundSchema = ListAllMethodsGlobals$inboundSchema;
46016
+ ListAllMethodsGlobals$.outboundSchema = ListAllMethodsGlobals$outboundSchema;
46017
+ })(ListAllMethodsGlobals$ ||= {});
45671
46018
  ListAllMethodsRequest$inboundSchema = objectType({
45672
46019
  locale: nullableType(Locale$inboundSchema).optional(),
45673
46020
  amount: Amount$inboundSchema.optional(),
45674
46021
  include: nullableType(stringType()).optional(),
45675
46022
  sequenceType: SequenceType$inboundSchema.optional(),
45676
46023
  profileId: stringType().optional(),
45677
- testmode: nullableType(booleanType()).optional(),
46024
+ testmode: booleanType().optional(),
45678
46025
  "idempotency-key": stringType().optional()
45679
46026
  }).transform((v2) => {
45680
46027
  return remap(v2, {
@@ -45687,7 +46034,7 @@ var init_listallmethods = __esm(() => {
45687
46034
  include: nullableType(stringType()).optional(),
45688
46035
  sequenceType: SequenceType$outboundSchema.optional(),
45689
46036
  profileId: stringType().optional(),
45690
- testmode: nullableType(booleanType()).optional(),
46037
+ testmode: booleanType().optional(),
45691
46038
  idempotencyKey: stringType().optional()
45692
46039
  }).transform((v2) => {
45693
46040
  return remap(v2, {
@@ -45747,18 +46094,30 @@ var init_listallmethods = __esm(() => {
45747
46094
  });
45748
46095
 
45749
46096
  // src/models/operations/listallrefunds.ts
45750
- var ListAllRefundsRequest$inboundSchema, ListAllRefundsRequest$outboundSchema, ListAllRefundsRequest$, ListAllRefundsEmbedded$inboundSchema, ListAllRefundsEmbedded$outboundSchema, ListAllRefundsEmbedded$, ListAllRefundsResponse$inboundSchema, ListAllRefundsResponse$outboundSchema, ListAllRefundsResponse$;
46097
+ var ListAllRefundsGlobals$inboundSchema, ListAllRefundsGlobals$outboundSchema, ListAllRefundsGlobals$, ListAllRefundsRequest$inboundSchema, ListAllRefundsRequest$outboundSchema, ListAllRefundsRequest$, ListAllRefundsEmbedded$inboundSchema, ListAllRefundsEmbedded$outboundSchema, ListAllRefundsEmbedded$, ListAllRefundsResponse$inboundSchema, ListAllRefundsResponse$outboundSchema, ListAllRefundsResponse$;
45751
46098
  var init_listallrefunds = __esm(() => {
45752
46099
  init_esm();
45753
46100
  init_primitives();
45754
46101
  init_models();
46102
+ ListAllRefundsGlobals$inboundSchema = objectType({
46103
+ profileId: stringType().optional(),
46104
+ testmode: booleanType().optional()
46105
+ });
46106
+ ListAllRefundsGlobals$outboundSchema = objectType({
46107
+ profileId: stringType().optional(),
46108
+ testmode: booleanType().optional()
46109
+ });
46110
+ ((ListAllRefundsGlobals$) => {
46111
+ ListAllRefundsGlobals$.inboundSchema = ListAllRefundsGlobals$inboundSchema;
46112
+ ListAllRefundsGlobals$.outboundSchema = ListAllRefundsGlobals$outboundSchema;
46113
+ })(ListAllRefundsGlobals$ ||= {});
45755
46114
  ListAllRefundsRequest$inboundSchema = objectType({
45756
46115
  from: stringType().optional(),
45757
46116
  limit: nullableType(numberType().int()).optional(),
45758
46117
  sort: Sorting$inboundSchema.optional(),
45759
46118
  embed: nullableType(stringType()).optional(),
45760
46119
  profileId: stringType().optional(),
45761
- testmode: nullableType(booleanType()).optional(),
46120
+ testmode: booleanType().optional(),
45762
46121
  "idempotency-key": stringType().optional()
45763
46122
  }).transform((v2) => {
45764
46123
  return remap(v2, {
@@ -45771,7 +46130,7 @@ var init_listallrefunds = __esm(() => {
45771
46130
  sort: Sorting$outboundSchema.optional(),
45772
46131
  embed: nullableType(stringType()).optional(),
45773
46132
  profileId: stringType().optional(),
45774
- testmode: nullableType(booleanType()).optional(),
46133
+ testmode: booleanType().optional(),
45775
46134
  idempotencyKey: stringType().optional()
45776
46135
  }).transform((v2) => {
45777
46136
  return remap(v2, {
@@ -45819,16 +46178,28 @@ var init_listallrefunds = __esm(() => {
45819
46178
  });
45820
46179
 
45821
46180
  // src/models/operations/listallsubscriptions.ts
45822
- var ListAllSubscriptionsRequest$inboundSchema, ListAllSubscriptionsRequest$outboundSchema, ListAllSubscriptionsRequest$, ListAllSubscriptionsEmbedded$inboundSchema, ListAllSubscriptionsEmbedded$outboundSchema, ListAllSubscriptionsEmbedded$, ListAllSubscriptionsResponse$inboundSchema, ListAllSubscriptionsResponse$outboundSchema, ListAllSubscriptionsResponse$;
46181
+ var ListAllSubscriptionsGlobals$inboundSchema, ListAllSubscriptionsGlobals$outboundSchema, ListAllSubscriptionsGlobals$, ListAllSubscriptionsRequest$inboundSchema, ListAllSubscriptionsRequest$outboundSchema, ListAllSubscriptionsRequest$, ListAllSubscriptionsEmbedded$inboundSchema, ListAllSubscriptionsEmbedded$outboundSchema, ListAllSubscriptionsEmbedded$, ListAllSubscriptionsResponse$inboundSchema, ListAllSubscriptionsResponse$outboundSchema, ListAllSubscriptionsResponse$;
45823
46182
  var init_listallsubscriptions = __esm(() => {
45824
46183
  init_esm();
45825
46184
  init_primitives();
45826
46185
  init_models();
46186
+ ListAllSubscriptionsGlobals$inboundSchema = objectType({
46187
+ profileId: stringType().optional(),
46188
+ testmode: booleanType().optional()
46189
+ });
46190
+ ListAllSubscriptionsGlobals$outboundSchema = objectType({
46191
+ profileId: stringType().optional(),
46192
+ testmode: booleanType().optional()
46193
+ });
46194
+ ((ListAllSubscriptionsGlobals$) => {
46195
+ ListAllSubscriptionsGlobals$.inboundSchema = ListAllSubscriptionsGlobals$inboundSchema;
46196
+ ListAllSubscriptionsGlobals$.outboundSchema = ListAllSubscriptionsGlobals$outboundSchema;
46197
+ })(ListAllSubscriptionsGlobals$ ||= {});
45827
46198
  ListAllSubscriptionsRequest$inboundSchema = objectType({
45828
46199
  from: nullableType(stringType()).optional(),
45829
46200
  limit: nullableType(numberType().int()).optional(),
45830
46201
  profileId: nullableType(stringType()).optional(),
45831
- testmode: nullableType(booleanType()).optional(),
46202
+ testmode: booleanType().optional(),
45832
46203
  "idempotency-key": stringType().optional()
45833
46204
  }).transform((v2) => {
45834
46205
  return remap(v2, {
@@ -45839,7 +46210,7 @@ var init_listallsubscriptions = __esm(() => {
45839
46210
  from: nullableType(stringType()).optional(),
45840
46211
  limit: nullableType(numberType().int()).optional(),
45841
46212
  profileId: nullableType(stringType()).optional(),
45842
- testmode: nullableType(booleanType()).optional(),
46213
+ testmode: booleanType().optional(),
45843
46214
  idempotencyKey: stringType().optional()
45844
46215
  }).transform((v2) => {
45845
46216
  return remap(v2, {
@@ -45887,16 +46258,26 @@ var init_listallsubscriptions = __esm(() => {
45887
46258
  });
45888
46259
 
45889
46260
  // src/models/operations/listbalances.ts
45890
- var ListBalancesRequest$inboundSchema, ListBalancesRequest$outboundSchema, ListBalancesRequest$, ListBalancesEmbedded$inboundSchema, ListBalancesEmbedded$outboundSchema, ListBalancesEmbedded$, ListBalancesResponse$inboundSchema, ListBalancesResponse$outboundSchema, ListBalancesResponse$;
46261
+ var ListBalancesGlobals$inboundSchema, ListBalancesGlobals$outboundSchema, ListBalancesGlobals$, ListBalancesRequest$inboundSchema, ListBalancesRequest$outboundSchema, ListBalancesRequest$, ListBalancesEmbedded$inboundSchema, ListBalancesEmbedded$outboundSchema, ListBalancesEmbedded$, ListBalancesResponse$inboundSchema, ListBalancesResponse$outboundSchema, ListBalancesResponse$;
45891
46262
  var init_listbalances = __esm(() => {
45892
46263
  init_esm();
45893
46264
  init_primitives();
45894
46265
  init_models();
46266
+ ListBalancesGlobals$inboundSchema = objectType({
46267
+ testmode: booleanType().optional()
46268
+ });
46269
+ ListBalancesGlobals$outboundSchema = objectType({
46270
+ testmode: booleanType().optional()
46271
+ });
46272
+ ((ListBalancesGlobals$) => {
46273
+ ListBalancesGlobals$.inboundSchema = ListBalancesGlobals$inboundSchema;
46274
+ ListBalancesGlobals$.outboundSchema = ListBalancesGlobals$outboundSchema;
46275
+ })(ListBalancesGlobals$ ||= {});
45895
46276
  ListBalancesRequest$inboundSchema = objectType({
45896
46277
  currency: nullableType(stringType()).optional(),
45897
46278
  from: nullableType(stringType()).optional(),
45898
46279
  limit: nullableType(numberType().int()).optional(),
45899
- testmode: nullableType(booleanType()).optional(),
46280
+ testmode: booleanType().optional(),
45900
46281
  "idempotency-key": stringType().optional()
45901
46282
  }).transform((v2) => {
45902
46283
  return remap(v2, {
@@ -45907,7 +46288,7 @@ var init_listbalances = __esm(() => {
45907
46288
  currency: nullableType(stringType()).optional(),
45908
46289
  from: nullableType(stringType()).optional(),
45909
46290
  limit: nullableType(numberType().int()).optional(),
45910
- testmode: nullableType(booleanType()).optional(),
46291
+ testmode: booleanType().optional(),
45911
46292
  idempotencyKey: stringType().optional()
45912
46293
  }).transform((v2) => {
45913
46294
  return remap(v2, {
@@ -45955,16 +46336,26 @@ var init_listbalances = __esm(() => {
45955
46336
  });
45956
46337
 
45957
46338
  // src/models/operations/listbalancetransactions.ts
45958
- var ListBalanceTransactionsRequest$inboundSchema, ListBalanceTransactionsRequest$outboundSchema, ListBalanceTransactionsRequest$, ListBalanceTransactionsEmbedded$inboundSchema, ListBalanceTransactionsEmbedded$outboundSchema, ListBalanceTransactionsEmbedded$, ListBalanceTransactionsResponse$inboundSchema, ListBalanceTransactionsResponse$outboundSchema, ListBalanceTransactionsResponse$;
46339
+ var ListBalanceTransactionsGlobals$inboundSchema, ListBalanceTransactionsGlobals$outboundSchema, ListBalanceTransactionsGlobals$, ListBalanceTransactionsRequest$inboundSchema, ListBalanceTransactionsRequest$outboundSchema, ListBalanceTransactionsRequest$, ListBalanceTransactionsEmbedded$inboundSchema, ListBalanceTransactionsEmbedded$outboundSchema, ListBalanceTransactionsEmbedded$, ListBalanceTransactionsResponse$inboundSchema, ListBalanceTransactionsResponse$outboundSchema, ListBalanceTransactionsResponse$;
45959
46340
  var init_listbalancetransactions = __esm(() => {
45960
46341
  init_esm();
45961
46342
  init_primitives();
45962
46343
  init_models();
46344
+ ListBalanceTransactionsGlobals$inboundSchema = objectType({
46345
+ testmode: booleanType().optional()
46346
+ });
46347
+ ListBalanceTransactionsGlobals$outboundSchema = objectType({
46348
+ testmode: booleanType().optional()
46349
+ });
46350
+ ((ListBalanceTransactionsGlobals$) => {
46351
+ ListBalanceTransactionsGlobals$.inboundSchema = ListBalanceTransactionsGlobals$inboundSchema;
46352
+ ListBalanceTransactionsGlobals$.outboundSchema = ListBalanceTransactionsGlobals$outboundSchema;
46353
+ })(ListBalanceTransactionsGlobals$ ||= {});
45963
46354
  ListBalanceTransactionsRequest$inboundSchema = objectType({
45964
46355
  balanceId: stringType(),
45965
46356
  from: nullableType(stringType()).optional(),
45966
46357
  limit: nullableType(numberType().int()).optional(),
45967
- testmode: nullableType(booleanType()).optional(),
46358
+ testmode: booleanType().optional(),
45968
46359
  "idempotency-key": stringType().optional()
45969
46360
  }).transform((v2) => {
45970
46361
  return remap(v2, {
@@ -45975,7 +46366,7 @@ var init_listbalancetransactions = __esm(() => {
45975
46366
  balanceId: stringType(),
45976
46367
  from: nullableType(stringType()).optional(),
45977
46368
  limit: nullableType(numberType().int()).optional(),
45978
- testmode: nullableType(booleanType()).optional(),
46369
+ testmode: booleanType().optional(),
45979
46370
  idempotencyKey: stringType().optional()
45980
46371
  }).transform((v2) => {
45981
46372
  return remap(v2, {
@@ -46101,17 +46492,27 @@ var init_listcapabilities = __esm(() => {
46101
46492
  });
46102
46493
 
46103
46494
  // src/models/operations/listcaptures.ts
46104
- var ListCapturesRequest$inboundSchema, ListCapturesRequest$outboundSchema, ListCapturesRequest$, ListCapturesEmbedded$inboundSchema, ListCapturesEmbedded$outboundSchema, ListCapturesEmbedded$, ListCapturesResponse$inboundSchema, ListCapturesResponse$outboundSchema, ListCapturesResponse$;
46495
+ var ListCapturesGlobals$inboundSchema, ListCapturesGlobals$outboundSchema, ListCapturesGlobals$, ListCapturesRequest$inboundSchema, ListCapturesRequest$outboundSchema, ListCapturesRequest$, ListCapturesEmbedded$inboundSchema, ListCapturesEmbedded$outboundSchema, ListCapturesEmbedded$, ListCapturesResponse$inboundSchema, ListCapturesResponse$outboundSchema, ListCapturesResponse$;
46105
46496
  var init_listcaptures = __esm(() => {
46106
46497
  init_esm();
46107
46498
  init_primitives();
46108
46499
  init_models();
46500
+ ListCapturesGlobals$inboundSchema = objectType({
46501
+ testmode: booleanType().optional()
46502
+ });
46503
+ ListCapturesGlobals$outboundSchema = objectType({
46504
+ testmode: booleanType().optional()
46505
+ });
46506
+ ((ListCapturesGlobals$) => {
46507
+ ListCapturesGlobals$.inboundSchema = ListCapturesGlobals$inboundSchema;
46508
+ ListCapturesGlobals$.outboundSchema = ListCapturesGlobals$outboundSchema;
46509
+ })(ListCapturesGlobals$ ||= {});
46109
46510
  ListCapturesRequest$inboundSchema = objectType({
46110
46511
  paymentId: stringType(),
46111
46512
  from: stringType().optional(),
46112
46513
  limit: nullableType(numberType().int()).optional(),
46113
46514
  embed: nullableType(stringType()).optional(),
46114
- testmode: nullableType(booleanType()).optional(),
46515
+ testmode: booleanType().optional(),
46115
46516
  "idempotency-key": stringType().optional()
46116
46517
  }).transform((v2) => {
46117
46518
  return remap(v2, {
@@ -46123,7 +46524,7 @@ var init_listcaptures = __esm(() => {
46123
46524
  from: stringType().optional(),
46124
46525
  limit: nullableType(numberType().int()).optional(),
46125
46526
  embed: nullableType(stringType()).optional(),
46126
- testmode: nullableType(booleanType()).optional(),
46527
+ testmode: booleanType().optional(),
46127
46528
  idempotencyKey: stringType().optional()
46128
46529
  }).transform((v2) => {
46129
46530
  return remap(v2, {
@@ -46171,17 +46572,27 @@ var init_listcaptures = __esm(() => {
46171
46572
  });
46172
46573
 
46173
46574
  // src/models/operations/listchargebacks.ts
46174
- var ListChargebacksRequest$inboundSchema, ListChargebacksRequest$outboundSchema, ListChargebacksRequest$, ListChargebacksEmbedded$inboundSchema, ListChargebacksEmbedded$outboundSchema, ListChargebacksEmbedded$, ListChargebacksResponse$inboundSchema, ListChargebacksResponse$outboundSchema, ListChargebacksResponse$;
46575
+ var ListChargebacksGlobals$inboundSchema, ListChargebacksGlobals$outboundSchema, ListChargebacksGlobals$, ListChargebacksRequest$inboundSchema, ListChargebacksRequest$outboundSchema, ListChargebacksRequest$, ListChargebacksEmbedded$inboundSchema, ListChargebacksEmbedded$outboundSchema, ListChargebacksEmbedded$, ListChargebacksResponse$inboundSchema, ListChargebacksResponse$outboundSchema, ListChargebacksResponse$;
46175
46576
  var init_listchargebacks = __esm(() => {
46176
46577
  init_esm();
46177
46578
  init_primitives();
46178
46579
  init_models();
46580
+ ListChargebacksGlobals$inboundSchema = objectType({
46581
+ testmode: booleanType().optional()
46582
+ });
46583
+ ListChargebacksGlobals$outboundSchema = objectType({
46584
+ testmode: booleanType().optional()
46585
+ });
46586
+ ((ListChargebacksGlobals$) => {
46587
+ ListChargebacksGlobals$.inboundSchema = ListChargebacksGlobals$inboundSchema;
46588
+ ListChargebacksGlobals$.outboundSchema = ListChargebacksGlobals$outboundSchema;
46589
+ })(ListChargebacksGlobals$ ||= {});
46179
46590
  ListChargebacksRequest$inboundSchema = objectType({
46180
46591
  paymentId: stringType(),
46181
46592
  from: stringType().optional(),
46182
46593
  limit: nullableType(numberType().int()).optional(),
46183
46594
  embed: nullableType(stringType()).optional(),
46184
- testmode: nullableType(booleanType()).optional(),
46595
+ testmode: booleanType().optional(),
46185
46596
  "idempotency-key": stringType().optional()
46186
46597
  }).transform((v2) => {
46187
46598
  return remap(v2, {
@@ -46193,7 +46604,7 @@ var init_listchargebacks = __esm(() => {
46193
46604
  from: stringType().optional(),
46194
46605
  limit: nullableType(numberType().int()).optional(),
46195
46606
  embed: nullableType(stringType()).optional(),
46196
- testmode: nullableType(booleanType()).optional(),
46607
+ testmode: booleanType().optional(),
46197
46608
  idempotencyKey: stringType().optional()
46198
46609
  }).transform((v2) => {
46199
46610
  return remap(v2, {
@@ -46377,16 +46788,26 @@ var init_listclients = __esm(() => {
46377
46788
  });
46378
46789
 
46379
46790
  // src/models/operations/listconnectbalancetransfers.ts
46380
- var ListConnectBalanceTransfersRequest$inboundSchema, ListConnectBalanceTransfersRequest$outboundSchema, ListConnectBalanceTransfersRequest$, ListConnectBalanceTransfersEmbedded$inboundSchema, ListConnectBalanceTransfersEmbedded$outboundSchema, ListConnectBalanceTransfersEmbedded$, ListConnectBalanceTransfersResponse$inboundSchema, ListConnectBalanceTransfersResponse$outboundSchema, ListConnectBalanceTransfersResponse$;
46791
+ var ListConnectBalanceTransfersGlobals$inboundSchema, ListConnectBalanceTransfersGlobals$outboundSchema, ListConnectBalanceTransfersGlobals$, ListConnectBalanceTransfersRequest$inboundSchema, ListConnectBalanceTransfersRequest$outboundSchema, ListConnectBalanceTransfersRequest$, ListConnectBalanceTransfersEmbedded$inboundSchema, ListConnectBalanceTransfersEmbedded$outboundSchema, ListConnectBalanceTransfersEmbedded$, ListConnectBalanceTransfersResponse$inboundSchema, ListConnectBalanceTransfersResponse$outboundSchema, ListConnectBalanceTransfersResponse$;
46381
46792
  var init_listconnectbalancetransfers = __esm(() => {
46382
46793
  init_esm();
46383
46794
  init_primitives();
46384
46795
  init_models();
46796
+ ListConnectBalanceTransfersGlobals$inboundSchema = objectType({
46797
+ testmode: booleanType().optional()
46798
+ });
46799
+ ListConnectBalanceTransfersGlobals$outboundSchema = objectType({
46800
+ testmode: booleanType().optional()
46801
+ });
46802
+ ((ListConnectBalanceTransfersGlobals$) => {
46803
+ ListConnectBalanceTransfersGlobals$.inboundSchema = ListConnectBalanceTransfersGlobals$inboundSchema;
46804
+ ListConnectBalanceTransfersGlobals$.outboundSchema = ListConnectBalanceTransfersGlobals$outboundSchema;
46805
+ })(ListConnectBalanceTransfersGlobals$ ||= {});
46385
46806
  ListConnectBalanceTransfersRequest$inboundSchema = objectType({
46386
46807
  from: nullableType(stringType()).optional(),
46387
46808
  limit: nullableType(numberType().int()).optional(),
46388
46809
  sort: Sorting$inboundSchema.optional(),
46389
- testmode: nullableType(booleanType()).optional(),
46810
+ testmode: booleanType().optional(),
46390
46811
  "idempotency-key": stringType().optional()
46391
46812
  }).transform((v2) => {
46392
46813
  return remap(v2, {
@@ -46397,7 +46818,7 @@ var init_listconnectbalancetransfers = __esm(() => {
46397
46818
  from: nullableType(stringType()).optional(),
46398
46819
  limit: nullableType(numberType().int()).optional(),
46399
46820
  sort: Sorting$outboundSchema.optional(),
46400
- testmode: nullableType(booleanType()).optional(),
46821
+ testmode: booleanType().optional(),
46401
46822
  idempotencyKey: stringType().optional()
46402
46823
  }).transform((v2) => {
46403
46824
  return remap(v2, {
@@ -46453,18 +46874,30 @@ var init_listconnectbalancetransfers = __esm(() => {
46453
46874
  });
46454
46875
 
46455
46876
  // src/models/operations/listcustomerpayments.ts
46456
- var ListCustomerPaymentsRequest$inboundSchema, ListCustomerPaymentsRequest$outboundSchema, ListCustomerPaymentsRequest$, ListCustomerPaymentsEmbedded$inboundSchema, ListCustomerPaymentsEmbedded$outboundSchema, ListCustomerPaymentsEmbedded$, ListCustomerPaymentsResponse$inboundSchema, ListCustomerPaymentsResponse$outboundSchema, ListCustomerPaymentsResponse$;
46877
+ var ListCustomerPaymentsGlobals$inboundSchema, ListCustomerPaymentsGlobals$outboundSchema, ListCustomerPaymentsGlobals$, ListCustomerPaymentsRequest$inboundSchema, ListCustomerPaymentsRequest$outboundSchema, ListCustomerPaymentsRequest$, ListCustomerPaymentsEmbedded$inboundSchema, ListCustomerPaymentsEmbedded$outboundSchema, ListCustomerPaymentsEmbedded$, ListCustomerPaymentsResponse$inboundSchema, ListCustomerPaymentsResponse$outboundSchema, ListCustomerPaymentsResponse$;
46457
46878
  var init_listcustomerpayments = __esm(() => {
46458
46879
  init_esm();
46459
46880
  init_primitives();
46460
46881
  init_models();
46882
+ ListCustomerPaymentsGlobals$inboundSchema = objectType({
46883
+ profileId: stringType().optional(),
46884
+ testmode: booleanType().optional()
46885
+ });
46886
+ ListCustomerPaymentsGlobals$outboundSchema = objectType({
46887
+ profileId: stringType().optional(),
46888
+ testmode: booleanType().optional()
46889
+ });
46890
+ ((ListCustomerPaymentsGlobals$) => {
46891
+ ListCustomerPaymentsGlobals$.inboundSchema = ListCustomerPaymentsGlobals$inboundSchema;
46892
+ ListCustomerPaymentsGlobals$.outboundSchema = ListCustomerPaymentsGlobals$outboundSchema;
46893
+ })(ListCustomerPaymentsGlobals$ ||= {});
46461
46894
  ListCustomerPaymentsRequest$inboundSchema = objectType({
46462
46895
  customerId: stringType(),
46463
46896
  from: stringType().optional(),
46464
46897
  limit: nullableType(numberType().int()).optional(),
46465
46898
  sort: Sorting$inboundSchema.optional(),
46466
46899
  profileId: stringType().optional(),
46467
- testmode: nullableType(booleanType()).optional(),
46900
+ testmode: booleanType().optional(),
46468
46901
  "idempotency-key": stringType().optional()
46469
46902
  }).transform((v2) => {
46470
46903
  return remap(v2, {
@@ -46477,7 +46910,7 @@ var init_listcustomerpayments = __esm(() => {
46477
46910
  limit: nullableType(numberType().int()).optional(),
46478
46911
  sort: Sorting$outboundSchema.optional(),
46479
46912
  profileId: stringType().optional(),
46480
- testmode: nullableType(booleanType()).optional(),
46913
+ testmode: booleanType().optional(),
46481
46914
  idempotencyKey: stringType().optional()
46482
46915
  }).transform((v2) => {
46483
46916
  return remap(v2, {
@@ -46525,16 +46958,26 @@ var init_listcustomerpayments = __esm(() => {
46525
46958
  });
46526
46959
 
46527
46960
  // src/models/operations/listcustomers.ts
46528
- var ListCustomersRequest$inboundSchema, ListCustomersRequest$outboundSchema, ListCustomersRequest$, ListCustomersEmbedded$inboundSchema, ListCustomersEmbedded$outboundSchema, ListCustomersEmbedded$, ListCustomersResponse$inboundSchema, ListCustomersResponse$outboundSchema, ListCustomersResponse$;
46961
+ var ListCustomersGlobals$inboundSchema, ListCustomersGlobals$outboundSchema, ListCustomersGlobals$, ListCustomersRequest$inboundSchema, ListCustomersRequest$outboundSchema, ListCustomersRequest$, ListCustomersEmbedded$inboundSchema, ListCustomersEmbedded$outboundSchema, ListCustomersEmbedded$, ListCustomersResponse$inboundSchema, ListCustomersResponse$outboundSchema, ListCustomersResponse$;
46529
46962
  var init_listcustomers = __esm(() => {
46530
46963
  init_esm();
46531
46964
  init_primitives();
46532
46965
  init_models();
46966
+ ListCustomersGlobals$inboundSchema = objectType({
46967
+ testmode: booleanType().optional()
46968
+ });
46969
+ ListCustomersGlobals$outboundSchema = objectType({
46970
+ testmode: booleanType().optional()
46971
+ });
46972
+ ((ListCustomersGlobals$) => {
46973
+ ListCustomersGlobals$.inboundSchema = ListCustomersGlobals$inboundSchema;
46974
+ ListCustomersGlobals$.outboundSchema = ListCustomersGlobals$outboundSchema;
46975
+ })(ListCustomersGlobals$ ||= {});
46533
46976
  ListCustomersRequest$inboundSchema = objectType({
46534
46977
  from: stringType().optional(),
46535
46978
  limit: nullableType(numberType().int()).optional(),
46536
46979
  sort: Sorting$inboundSchema.optional(),
46537
- testmode: nullableType(booleanType()).optional(),
46980
+ testmode: booleanType().optional(),
46538
46981
  "idempotency-key": stringType().optional()
46539
46982
  }).transform((v2) => {
46540
46983
  return remap(v2, {
@@ -46545,7 +46988,7 @@ var init_listcustomers = __esm(() => {
46545
46988
  from: stringType().optional(),
46546
46989
  limit: nullableType(numberType().int()).optional(),
46547
46990
  sort: Sorting$outboundSchema.optional(),
46548
- testmode: nullableType(booleanType()).optional(),
46991
+ testmode: booleanType().optional(),
46549
46992
  idempotencyKey: stringType().optional()
46550
46993
  }).transform((v2) => {
46551
46994
  return remap(v2, {
@@ -46671,17 +47114,27 @@ var init_listinvoices = __esm(() => {
46671
47114
  });
46672
47115
 
46673
47116
  // src/models/operations/listmandates.ts
46674
- var ListMandatesRequest$inboundSchema, ListMandatesRequest$outboundSchema, ListMandatesRequest$, ListMandatesEmbedded$inboundSchema, ListMandatesEmbedded$outboundSchema, ListMandatesEmbedded$, ListMandatesResponse$inboundSchema, ListMandatesResponse$outboundSchema, ListMandatesResponse$;
47117
+ var ListMandatesGlobals$inboundSchema, ListMandatesGlobals$outboundSchema, ListMandatesGlobals$, ListMandatesRequest$inboundSchema, ListMandatesRequest$outboundSchema, ListMandatesRequest$, ListMandatesEmbedded$inboundSchema, ListMandatesEmbedded$outboundSchema, ListMandatesEmbedded$, ListMandatesResponse$inboundSchema, ListMandatesResponse$outboundSchema, ListMandatesResponse$;
46675
47118
  var init_listmandates = __esm(() => {
46676
47119
  init_esm();
46677
47120
  init_primitives();
46678
47121
  init_models();
47122
+ ListMandatesGlobals$inboundSchema = objectType({
47123
+ testmode: booleanType().optional()
47124
+ });
47125
+ ListMandatesGlobals$outboundSchema = objectType({
47126
+ testmode: booleanType().optional()
47127
+ });
47128
+ ((ListMandatesGlobals$) => {
47129
+ ListMandatesGlobals$.inboundSchema = ListMandatesGlobals$inboundSchema;
47130
+ ListMandatesGlobals$.outboundSchema = ListMandatesGlobals$outboundSchema;
47131
+ })(ListMandatesGlobals$ ||= {});
46679
47132
  ListMandatesRequest$inboundSchema = objectType({
46680
47133
  customerId: stringType(),
46681
47134
  from: stringType().optional(),
46682
47135
  limit: nullableType(numberType().int()).optional(),
46683
47136
  sort: Sorting$inboundSchema.optional(),
46684
- testmode: nullableType(booleanType()).optional(),
47137
+ testmode: booleanType().optional(),
46685
47138
  "idempotency-key": stringType().optional()
46686
47139
  }).transform((v2) => {
46687
47140
  return remap(v2, {
@@ -46693,7 +47146,7 @@ var init_listmandates = __esm(() => {
46693
47146
  from: stringType().optional(),
46694
47147
  limit: nullableType(numberType().int()).optional(),
46695
47148
  sort: Sorting$outboundSchema.optional(),
46696
- testmode: nullableType(booleanType()).optional(),
47149
+ testmode: booleanType().optional(),
46697
47150
  idempotencyKey: stringType().optional()
46698
47151
  }).transform((v2) => {
46699
47152
  return remap(v2, {
@@ -46741,11 +47194,23 @@ var init_listmandates = __esm(() => {
46741
47194
  });
46742
47195
 
46743
47196
  // 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$;
47197
+ var ListMethodsGlobals$inboundSchema, ListMethodsGlobals$outboundSchema, ListMethodsGlobals$, ListMethodsRequest$inboundSchema, ListMethodsRequest$outboundSchema, ListMethodsRequest$, ListMethodsEmbedded$inboundSchema, ListMethodsEmbedded$outboundSchema, ListMethodsEmbedded$, ListMethodsLinks$inboundSchema, ListMethodsLinks$outboundSchema, ListMethodsLinks$, ListMethodsResponse$inboundSchema, ListMethodsResponse$outboundSchema, ListMethodsResponse$;
46745
47198
  var init_listmethods = __esm(() => {
46746
47199
  init_esm();
46747
47200
  init_primitives();
46748
47201
  init_models();
47202
+ ListMethodsGlobals$inboundSchema = objectType({
47203
+ profileId: stringType().optional(),
47204
+ testmode: booleanType().optional()
47205
+ });
47206
+ ListMethodsGlobals$outboundSchema = objectType({
47207
+ profileId: stringType().optional(),
47208
+ testmode: booleanType().optional()
47209
+ });
47210
+ ((ListMethodsGlobals$) => {
47211
+ ListMethodsGlobals$.inboundSchema = ListMethodsGlobals$inboundSchema;
47212
+ ListMethodsGlobals$.outboundSchema = ListMethodsGlobals$outboundSchema;
47213
+ })(ListMethodsGlobals$ ||= {});
46749
47214
  ListMethodsRequest$inboundSchema = objectType({
46750
47215
  sequenceType: SequenceType$inboundSchema.optional(),
46751
47216
  locale: nullableType(Locale$inboundSchema).optional(),
@@ -46756,7 +47221,7 @@ var init_listmethods = __esm(() => {
46756
47221
  orderLineCategories: LineCategories$inboundSchema.optional(),
46757
47222
  profileId: stringType().optional(),
46758
47223
  include: nullableType(stringType()).optional(),
46759
- testmode: nullableType(booleanType()).optional(),
47224
+ testmode: booleanType().optional(),
46760
47225
  "idempotency-key": stringType().optional()
46761
47226
  }).transform((v2) => {
46762
47227
  return remap(v2, {
@@ -46773,7 +47238,7 @@ var init_listmethods = __esm(() => {
46773
47238
  orderLineCategories: LineCategories$outboundSchema.optional(),
46774
47239
  profileId: stringType().optional(),
46775
47240
  include: nullableType(stringType()).optional(),
46776
- testmode: nullableType(booleanType()).optional(),
47241
+ testmode: booleanType().optional(),
46777
47242
  idempotencyKey: stringType().optional()
46778
47243
  }).transform((v2) => {
46779
47244
  return remap(v2, {
@@ -46833,15 +47298,25 @@ var init_listmethods = __esm(() => {
46833
47298
  });
46834
47299
 
46835
47300
  // src/models/operations/listpaymentlinks.ts
46836
- var ListPaymentLinksRequest$inboundSchema, ListPaymentLinksRequest$outboundSchema, ListPaymentLinksRequest$, ListPaymentLinksEmbedded$inboundSchema, ListPaymentLinksEmbedded$outboundSchema, ListPaymentLinksEmbedded$, ListPaymentLinksResponse$inboundSchema, ListPaymentLinksResponse$outboundSchema, ListPaymentLinksResponse$;
47301
+ var ListPaymentLinksGlobals$inboundSchema, ListPaymentLinksGlobals$outboundSchema, ListPaymentLinksGlobals$, ListPaymentLinksRequest$inboundSchema, ListPaymentLinksRequest$outboundSchema, ListPaymentLinksRequest$, ListPaymentLinksEmbedded$inboundSchema, ListPaymentLinksEmbedded$outboundSchema, ListPaymentLinksEmbedded$, ListPaymentLinksResponse$inboundSchema, ListPaymentLinksResponse$outboundSchema, ListPaymentLinksResponse$;
46837
47302
  var init_listpaymentlinks = __esm(() => {
46838
47303
  init_esm();
46839
47304
  init_primitives();
46840
47305
  init_models();
47306
+ ListPaymentLinksGlobals$inboundSchema = objectType({
47307
+ testmode: booleanType().optional()
47308
+ });
47309
+ ListPaymentLinksGlobals$outboundSchema = objectType({
47310
+ testmode: booleanType().optional()
47311
+ });
47312
+ ((ListPaymentLinksGlobals$) => {
47313
+ ListPaymentLinksGlobals$.inboundSchema = ListPaymentLinksGlobals$inboundSchema;
47314
+ ListPaymentLinksGlobals$.outboundSchema = ListPaymentLinksGlobals$outboundSchema;
47315
+ })(ListPaymentLinksGlobals$ ||= {});
46841
47316
  ListPaymentLinksRequest$inboundSchema = objectType({
46842
47317
  from: stringType().optional(),
46843
47318
  limit: nullableType(numberType().int()).optional(),
46844
- testmode: nullableType(booleanType()).optional(),
47319
+ testmode: booleanType().optional(),
46845
47320
  "idempotency-key": stringType().optional()
46846
47321
  }).transform((v2) => {
46847
47322
  return remap(v2, {
@@ -46851,7 +47326,7 @@ var init_listpaymentlinks = __esm(() => {
46851
47326
  ListPaymentLinksRequest$outboundSchema = objectType({
46852
47327
  from: stringType().optional(),
46853
47328
  limit: nullableType(numberType().int()).optional(),
46854
- testmode: nullableType(booleanType()).optional(),
47329
+ testmode: booleanType().optional(),
46855
47330
  idempotencyKey: stringType().optional()
46856
47331
  }).transform((v2) => {
46857
47332
  return remap(v2, {
@@ -46907,17 +47382,29 @@ var init_listpaymentlinks = __esm(() => {
46907
47382
  });
46908
47383
 
46909
47384
  // src/models/operations/listpayments.ts
46910
- var ListPaymentsRequest$inboundSchema, ListPaymentsRequest$outboundSchema, ListPaymentsRequest$, ListPaymentsEmbedded$inboundSchema, ListPaymentsEmbedded$outboundSchema, ListPaymentsEmbedded$, ListPaymentsResponse$inboundSchema, ListPaymentsResponse$outboundSchema, ListPaymentsResponse$;
47385
+ var ListPaymentsGlobals$inboundSchema, ListPaymentsGlobals$outboundSchema, ListPaymentsGlobals$, ListPaymentsRequest$inboundSchema, ListPaymentsRequest$outboundSchema, ListPaymentsRequest$, ListPaymentsEmbedded$inboundSchema, ListPaymentsEmbedded$outboundSchema, ListPaymentsEmbedded$, ListPaymentsResponse$inboundSchema, ListPaymentsResponse$outboundSchema, ListPaymentsResponse$;
46911
47386
  var init_listpayments = __esm(() => {
46912
47387
  init_esm();
46913
47388
  init_primitives();
46914
47389
  init_models();
47390
+ ListPaymentsGlobals$inboundSchema = objectType({
47391
+ profileId: stringType().optional(),
47392
+ testmode: booleanType().optional()
47393
+ });
47394
+ ListPaymentsGlobals$outboundSchema = objectType({
47395
+ profileId: stringType().optional(),
47396
+ testmode: booleanType().optional()
47397
+ });
47398
+ ((ListPaymentsGlobals$) => {
47399
+ ListPaymentsGlobals$.inboundSchema = ListPaymentsGlobals$inboundSchema;
47400
+ ListPaymentsGlobals$.outboundSchema = ListPaymentsGlobals$outboundSchema;
47401
+ })(ListPaymentsGlobals$ ||= {});
46915
47402
  ListPaymentsRequest$inboundSchema = objectType({
46916
47403
  from: stringType().optional(),
46917
47404
  limit: nullableType(numberType().int()).optional(),
46918
47405
  sort: Sorting$inboundSchema.optional(),
46919
47406
  profileId: stringType().optional(),
46920
- testmode: nullableType(booleanType()).optional(),
47407
+ testmode: booleanType().optional(),
46921
47408
  "idempotency-key": stringType().optional()
46922
47409
  }).transform((v2) => {
46923
47410
  return remap(v2, {
@@ -46929,7 +47416,7 @@ var init_listpayments = __esm(() => {
46929
47416
  limit: nullableType(numberType().int()).optional(),
46930
47417
  sort: Sorting$outboundSchema.optional(),
46931
47418
  profileId: stringType().optional(),
46932
- testmode: nullableType(booleanType()).optional(),
47419
+ testmode: booleanType().optional(),
46933
47420
  idempotencyKey: stringType().optional()
46934
47421
  }).transform((v2) => {
46935
47422
  return remap(v2, {
@@ -47113,17 +47600,27 @@ var init_listprofiles = __esm(() => {
47113
47600
  });
47114
47601
 
47115
47602
  // src/models/operations/listrefunds.ts
47116
- var ListRefundsRequest$inboundSchema, ListRefundsRequest$outboundSchema, ListRefundsRequest$, ListRefundsEmbedded$inboundSchema, ListRefundsEmbedded$outboundSchema, ListRefundsEmbedded$, ListRefundsResponse$inboundSchema, ListRefundsResponse$outboundSchema, ListRefundsResponse$;
47603
+ var ListRefundsGlobals$inboundSchema, ListRefundsGlobals$outboundSchema, ListRefundsGlobals$, ListRefundsRequest$inboundSchema, ListRefundsRequest$outboundSchema, ListRefundsRequest$, ListRefundsEmbedded$inboundSchema, ListRefundsEmbedded$outboundSchema, ListRefundsEmbedded$, ListRefundsResponse$inboundSchema, ListRefundsResponse$outboundSchema, ListRefundsResponse$;
47117
47604
  var init_listrefunds = __esm(() => {
47118
47605
  init_esm();
47119
47606
  init_primitives();
47120
47607
  init_models();
47608
+ ListRefundsGlobals$inboundSchema = objectType({
47609
+ testmode: booleanType().optional()
47610
+ });
47611
+ ListRefundsGlobals$outboundSchema = objectType({
47612
+ testmode: booleanType().optional()
47613
+ });
47614
+ ((ListRefundsGlobals$) => {
47615
+ ListRefundsGlobals$.inboundSchema = ListRefundsGlobals$inboundSchema;
47616
+ ListRefundsGlobals$.outboundSchema = ListRefundsGlobals$outboundSchema;
47617
+ })(ListRefundsGlobals$ ||= {});
47121
47618
  ListRefundsRequest$inboundSchema = objectType({
47122
47619
  paymentId: stringType(),
47123
47620
  from: stringType().optional(),
47124
47621
  limit: nullableType(numberType().int()).optional(),
47125
47622
  embed: nullableType(stringType()).optional(),
47126
- testmode: nullableType(booleanType()).optional(),
47623
+ testmode: booleanType().optional(),
47127
47624
  "idempotency-key": stringType().optional()
47128
47625
  }).transform((v2) => {
47129
47626
  return remap(v2, {
@@ -47135,7 +47632,7 @@ var init_listrefunds = __esm(() => {
47135
47632
  from: stringType().optional(),
47136
47633
  limit: nullableType(numberType().int()).optional(),
47137
47634
  embed: nullableType(stringType()).optional(),
47138
- testmode: nullableType(booleanType()).optional(),
47635
+ testmode: booleanType().optional(),
47139
47636
  idempotencyKey: stringType().optional()
47140
47637
  }).transform((v2) => {
47141
47638
  return remap(v2, {
@@ -47183,15 +47680,25 @@ var init_listrefunds = __esm(() => {
47183
47680
  });
47184
47681
 
47185
47682
  // src/models/operations/listsalesinvoices.ts
47186
- var ListSalesInvoicesRequest$inboundSchema, ListSalesInvoicesRequest$outboundSchema, ListSalesInvoicesRequest$, ListSalesInvoicesEmbedded$inboundSchema, ListSalesInvoicesEmbedded$outboundSchema, ListSalesInvoicesEmbedded$, ListSalesInvoicesResponse$inboundSchema, ListSalesInvoicesResponse$outboundSchema, ListSalesInvoicesResponse$;
47683
+ var ListSalesInvoicesGlobals$inboundSchema, ListSalesInvoicesGlobals$outboundSchema, ListSalesInvoicesGlobals$, ListSalesInvoicesRequest$inboundSchema, ListSalesInvoicesRequest$outboundSchema, ListSalesInvoicesRequest$, ListSalesInvoicesEmbedded$inboundSchema, ListSalesInvoicesEmbedded$outboundSchema, ListSalesInvoicesEmbedded$, ListSalesInvoicesResponse$inboundSchema, ListSalesInvoicesResponse$outboundSchema, ListSalesInvoicesResponse$;
47187
47684
  var init_listsalesinvoices = __esm(() => {
47188
47685
  init_esm();
47189
47686
  init_primitives();
47190
47687
  init_models();
47688
+ ListSalesInvoicesGlobals$inboundSchema = objectType({
47689
+ testmode: booleanType().optional()
47690
+ });
47691
+ ListSalesInvoicesGlobals$outboundSchema = objectType({
47692
+ testmode: booleanType().optional()
47693
+ });
47694
+ ((ListSalesInvoicesGlobals$) => {
47695
+ ListSalesInvoicesGlobals$.inboundSchema = ListSalesInvoicesGlobals$inboundSchema;
47696
+ ListSalesInvoicesGlobals$.outboundSchema = ListSalesInvoicesGlobals$outboundSchema;
47697
+ })(ListSalesInvoicesGlobals$ ||= {});
47191
47698
  ListSalesInvoicesRequest$inboundSchema = objectType({
47192
47699
  from: nullableType(stringType()).optional(),
47193
47700
  limit: nullableType(numberType().int()).optional(),
47194
- testmode: nullableType(booleanType()).optional(),
47701
+ testmode: booleanType().optional(),
47195
47702
  "idempotency-key": stringType().optional()
47196
47703
  }).transform((v2) => {
47197
47704
  return remap(v2, {
@@ -47201,7 +47708,7 @@ var init_listsalesinvoices = __esm(() => {
47201
47708
  ListSalesInvoicesRequest$outboundSchema = objectType({
47202
47709
  from: nullableType(stringType()).optional(),
47203
47710
  limit: nullableType(numberType().int()).optional(),
47204
- testmode: nullableType(booleanType()).optional(),
47711
+ testmode: booleanType().optional(),
47205
47712
  idempotencyKey: stringType().optional()
47206
47713
  }).transform((v2) => {
47207
47714
  return remap(v2, {
@@ -47257,17 +47764,27 @@ var init_listsalesinvoices = __esm(() => {
47257
47764
  });
47258
47765
 
47259
47766
  // src/models/operations/listsettlementcaptures.ts
47260
- var ListSettlementCapturesRequest$inboundSchema, ListSettlementCapturesRequest$outboundSchema, ListSettlementCapturesRequest$, ListSettlementCapturesEmbedded$inboundSchema, ListSettlementCapturesEmbedded$outboundSchema, ListSettlementCapturesEmbedded$, ListSettlementCapturesResponse$inboundSchema, ListSettlementCapturesResponse$outboundSchema, ListSettlementCapturesResponse$;
47767
+ var ListSettlementCapturesGlobals$inboundSchema, ListSettlementCapturesGlobals$outboundSchema, ListSettlementCapturesGlobals$, ListSettlementCapturesRequest$inboundSchema, ListSettlementCapturesRequest$outboundSchema, ListSettlementCapturesRequest$, ListSettlementCapturesEmbedded$inboundSchema, ListSettlementCapturesEmbedded$outboundSchema, ListSettlementCapturesEmbedded$, ListSettlementCapturesResponse$inboundSchema, ListSettlementCapturesResponse$outboundSchema, ListSettlementCapturesResponse$;
47261
47768
  var init_listsettlementcaptures = __esm(() => {
47262
47769
  init_esm();
47263
47770
  init_primitives();
47264
47771
  init_models();
47772
+ ListSettlementCapturesGlobals$inboundSchema = objectType({
47773
+ testmode: booleanType().optional()
47774
+ });
47775
+ ListSettlementCapturesGlobals$outboundSchema = objectType({
47776
+ testmode: booleanType().optional()
47777
+ });
47778
+ ((ListSettlementCapturesGlobals$) => {
47779
+ ListSettlementCapturesGlobals$.inboundSchema = ListSettlementCapturesGlobals$inboundSchema;
47780
+ ListSettlementCapturesGlobals$.outboundSchema = ListSettlementCapturesGlobals$outboundSchema;
47781
+ })(ListSettlementCapturesGlobals$ ||= {});
47265
47782
  ListSettlementCapturesRequest$inboundSchema = objectType({
47266
47783
  settlementId: stringType(),
47267
47784
  from: stringType().optional(),
47268
47785
  limit: nullableType(numberType().int()).optional(),
47269
47786
  embed: nullableType(stringType()).optional(),
47270
- testmode: nullableType(booleanType()).optional(),
47787
+ testmode: booleanType().optional(),
47271
47788
  "idempotency-key": stringType().optional()
47272
47789
  }).transform((v2) => {
47273
47790
  return remap(v2, {
@@ -47279,7 +47796,7 @@ var init_listsettlementcaptures = __esm(() => {
47279
47796
  from: stringType().optional(),
47280
47797
  limit: nullableType(numberType().int()).optional(),
47281
47798
  embed: nullableType(stringType()).optional(),
47282
- testmode: nullableType(booleanType()).optional(),
47799
+ testmode: booleanType().optional(),
47283
47800
  idempotencyKey: stringType().optional()
47284
47801
  }).transform((v2) => {
47285
47802
  return remap(v2, {
@@ -47327,17 +47844,27 @@ var init_listsettlementcaptures = __esm(() => {
47327
47844
  });
47328
47845
 
47329
47846
  // src/models/operations/listsettlementchargebacks.ts
47330
- var ListSettlementChargebacksRequest$inboundSchema, ListSettlementChargebacksRequest$outboundSchema, ListSettlementChargebacksRequest$, ListSettlementChargebacksEmbedded$inboundSchema, ListSettlementChargebacksEmbedded$outboundSchema, ListSettlementChargebacksEmbedded$, ListSettlementChargebacksResponse$inboundSchema, ListSettlementChargebacksResponse$outboundSchema, ListSettlementChargebacksResponse$;
47847
+ var ListSettlementChargebacksGlobals$inboundSchema, ListSettlementChargebacksGlobals$outboundSchema, ListSettlementChargebacksGlobals$, ListSettlementChargebacksRequest$inboundSchema, ListSettlementChargebacksRequest$outboundSchema, ListSettlementChargebacksRequest$, ListSettlementChargebacksEmbedded$inboundSchema, ListSettlementChargebacksEmbedded$outboundSchema, ListSettlementChargebacksEmbedded$, ListSettlementChargebacksResponse$inboundSchema, ListSettlementChargebacksResponse$outboundSchema, ListSettlementChargebacksResponse$;
47331
47848
  var init_listsettlementchargebacks = __esm(() => {
47332
47849
  init_esm();
47333
47850
  init_primitives();
47334
47851
  init_models();
47852
+ ListSettlementChargebacksGlobals$inboundSchema = objectType({
47853
+ testmode: booleanType().optional()
47854
+ });
47855
+ ListSettlementChargebacksGlobals$outboundSchema = objectType({
47856
+ testmode: booleanType().optional()
47857
+ });
47858
+ ((ListSettlementChargebacksGlobals$) => {
47859
+ ListSettlementChargebacksGlobals$.inboundSchema = ListSettlementChargebacksGlobals$inboundSchema;
47860
+ ListSettlementChargebacksGlobals$.outboundSchema = ListSettlementChargebacksGlobals$outboundSchema;
47861
+ })(ListSettlementChargebacksGlobals$ ||= {});
47335
47862
  ListSettlementChargebacksRequest$inboundSchema = objectType({
47336
47863
  settlementId: stringType(),
47337
47864
  from: stringType().optional(),
47338
47865
  limit: nullableType(numberType().int()).optional(),
47339
47866
  embed: nullableType(stringType()).optional(),
47340
- testmode: nullableType(booleanType()).optional(),
47867
+ testmode: booleanType().optional(),
47341
47868
  "idempotency-key": stringType().optional()
47342
47869
  }).transform((v2) => {
47343
47870
  return remap(v2, {
@@ -47349,7 +47876,7 @@ var init_listsettlementchargebacks = __esm(() => {
47349
47876
  from: stringType().optional(),
47350
47877
  limit: nullableType(numberType().int()).optional(),
47351
47878
  embed: nullableType(stringType()).optional(),
47352
- testmode: nullableType(booleanType()).optional(),
47879
+ testmode: booleanType().optional(),
47353
47880
  idempotencyKey: stringType().optional()
47354
47881
  }).transform((v2) => {
47355
47882
  return remap(v2, {
@@ -47397,18 +47924,30 @@ var init_listsettlementchargebacks = __esm(() => {
47397
47924
  });
47398
47925
 
47399
47926
  // src/models/operations/listsettlementpayments.ts
47400
- var ListSettlementPaymentsRequest$inboundSchema, ListSettlementPaymentsRequest$outboundSchema, ListSettlementPaymentsRequest$, ListSettlementPaymentsEmbedded$inboundSchema, ListSettlementPaymentsEmbedded$outboundSchema, ListSettlementPaymentsEmbedded$, ListSettlementPaymentsResponse$inboundSchema, ListSettlementPaymentsResponse$outboundSchema, ListSettlementPaymentsResponse$;
47927
+ var ListSettlementPaymentsGlobals$inboundSchema, ListSettlementPaymentsGlobals$outboundSchema, ListSettlementPaymentsGlobals$, ListSettlementPaymentsRequest$inboundSchema, ListSettlementPaymentsRequest$outboundSchema, ListSettlementPaymentsRequest$, ListSettlementPaymentsEmbedded$inboundSchema, ListSettlementPaymentsEmbedded$outboundSchema, ListSettlementPaymentsEmbedded$, ListSettlementPaymentsResponse$inboundSchema, ListSettlementPaymentsResponse$outboundSchema, ListSettlementPaymentsResponse$;
47401
47928
  var init_listsettlementpayments = __esm(() => {
47402
47929
  init_esm();
47403
47930
  init_primitives();
47404
47931
  init_models();
47932
+ ListSettlementPaymentsGlobals$inboundSchema = objectType({
47933
+ profileId: stringType().optional(),
47934
+ testmode: booleanType().optional()
47935
+ });
47936
+ ListSettlementPaymentsGlobals$outboundSchema = objectType({
47937
+ profileId: stringType().optional(),
47938
+ testmode: booleanType().optional()
47939
+ });
47940
+ ((ListSettlementPaymentsGlobals$) => {
47941
+ ListSettlementPaymentsGlobals$.inboundSchema = ListSettlementPaymentsGlobals$inboundSchema;
47942
+ ListSettlementPaymentsGlobals$.outboundSchema = ListSettlementPaymentsGlobals$outboundSchema;
47943
+ })(ListSettlementPaymentsGlobals$ ||= {});
47405
47944
  ListSettlementPaymentsRequest$inboundSchema = objectType({
47406
47945
  settlementId: stringType(),
47407
47946
  from: stringType().optional(),
47408
47947
  limit: nullableType(numberType().int()).optional(),
47409
47948
  sort: Sorting$inboundSchema.optional(),
47410
47949
  profileId: stringType().optional(),
47411
- testmode: nullableType(booleanType()).optional(),
47950
+ testmode: booleanType().optional(),
47412
47951
  "idempotency-key": stringType().optional()
47413
47952
  }).transform((v2) => {
47414
47953
  return remap(v2, {
@@ -47421,7 +47960,7 @@ var init_listsettlementpayments = __esm(() => {
47421
47960
  limit: nullableType(numberType().int()).optional(),
47422
47961
  sort: Sorting$outboundSchema.optional(),
47423
47962
  profileId: stringType().optional(),
47424
- testmode: nullableType(booleanType()).optional(),
47963
+ testmode: booleanType().optional(),
47425
47964
  idempotencyKey: stringType().optional()
47426
47965
  }).transform((v2) => {
47427
47966
  return remap(v2, {
@@ -47469,17 +48008,27 @@ var init_listsettlementpayments = __esm(() => {
47469
48008
  });
47470
48009
 
47471
48010
  // src/models/operations/listsettlementrefunds.ts
47472
- var ListSettlementRefundsRequest$inboundSchema, ListSettlementRefundsRequest$outboundSchema, ListSettlementRefundsRequest$, ListSettlementRefundsEmbedded$inboundSchema, ListSettlementRefundsEmbedded$outboundSchema, ListSettlementRefundsEmbedded$, ListSettlementRefundsResponse$inboundSchema, ListSettlementRefundsResponse$outboundSchema, ListSettlementRefundsResponse$;
48011
+ var ListSettlementRefundsGlobals$inboundSchema, ListSettlementRefundsGlobals$outboundSchema, ListSettlementRefundsGlobals$, ListSettlementRefundsRequest$inboundSchema, ListSettlementRefundsRequest$outboundSchema, ListSettlementRefundsRequest$, ListSettlementRefundsEmbedded$inboundSchema, ListSettlementRefundsEmbedded$outboundSchema, ListSettlementRefundsEmbedded$, ListSettlementRefundsResponse$inboundSchema, ListSettlementRefundsResponse$outboundSchema, ListSettlementRefundsResponse$;
47473
48012
  var init_listsettlementrefunds = __esm(() => {
47474
48013
  init_esm();
47475
48014
  init_primitives();
47476
48015
  init_models();
48016
+ ListSettlementRefundsGlobals$inboundSchema = objectType({
48017
+ testmode: booleanType().optional()
48018
+ });
48019
+ ListSettlementRefundsGlobals$outboundSchema = objectType({
48020
+ testmode: booleanType().optional()
48021
+ });
48022
+ ((ListSettlementRefundsGlobals$) => {
48023
+ ListSettlementRefundsGlobals$.inboundSchema = ListSettlementRefundsGlobals$inboundSchema;
48024
+ ListSettlementRefundsGlobals$.outboundSchema = ListSettlementRefundsGlobals$outboundSchema;
48025
+ })(ListSettlementRefundsGlobals$ ||= {});
47477
48026
  ListSettlementRefundsRequest$inboundSchema = objectType({
47478
48027
  settlementId: stringType(),
47479
48028
  from: stringType().optional(),
47480
48029
  limit: nullableType(numberType().int()).optional(),
47481
48030
  embed: nullableType(stringType()).optional(),
47482
- testmode: nullableType(booleanType()).optional(),
48031
+ testmode: booleanType().optional(),
47483
48032
  "idempotency-key": stringType().optional()
47484
48033
  }).transform((v2) => {
47485
48034
  return remap(v2, {
@@ -47491,7 +48040,7 @@ var init_listsettlementrefunds = __esm(() => {
47491
48040
  from: stringType().optional(),
47492
48041
  limit: nullableType(numberType().int()).optional(),
47493
48042
  embed: nullableType(stringType()).optional(),
47494
- testmode: nullableType(booleanType()).optional(),
48043
+ testmode: booleanType().optional(),
47495
48044
  idempotencyKey: stringType().optional()
47496
48045
  }).transform((v2) => {
47497
48046
  return remap(v2, {
@@ -47611,11 +48160,23 @@ var init_listsettlements = __esm(() => {
47611
48160
  });
47612
48161
 
47613
48162
  // src/models/operations/listsubscriptionpayments.ts
47614
- var ListSubscriptionPaymentsRequest$inboundSchema, ListSubscriptionPaymentsRequest$outboundSchema, ListSubscriptionPaymentsRequest$, ListSubscriptionPaymentsEmbedded$inboundSchema, ListSubscriptionPaymentsEmbedded$outboundSchema, ListSubscriptionPaymentsEmbedded$, ListSubscriptionPaymentsResponse$inboundSchema, ListSubscriptionPaymentsResponse$outboundSchema, ListSubscriptionPaymentsResponse$;
48163
+ var ListSubscriptionPaymentsGlobals$inboundSchema, ListSubscriptionPaymentsGlobals$outboundSchema, ListSubscriptionPaymentsGlobals$, ListSubscriptionPaymentsRequest$inboundSchema, ListSubscriptionPaymentsRequest$outboundSchema, ListSubscriptionPaymentsRequest$, ListSubscriptionPaymentsEmbedded$inboundSchema, ListSubscriptionPaymentsEmbedded$outboundSchema, ListSubscriptionPaymentsEmbedded$, ListSubscriptionPaymentsResponse$inboundSchema, ListSubscriptionPaymentsResponse$outboundSchema, ListSubscriptionPaymentsResponse$;
47615
48164
  var init_listsubscriptionpayments = __esm(() => {
47616
48165
  init_esm();
47617
48166
  init_primitives();
47618
48167
  init_models();
48168
+ ListSubscriptionPaymentsGlobals$inboundSchema = objectType({
48169
+ profileId: stringType().optional(),
48170
+ testmode: booleanType().optional()
48171
+ });
48172
+ ListSubscriptionPaymentsGlobals$outboundSchema = objectType({
48173
+ profileId: stringType().optional(),
48174
+ testmode: booleanType().optional()
48175
+ });
48176
+ ((ListSubscriptionPaymentsGlobals$) => {
48177
+ ListSubscriptionPaymentsGlobals$.inboundSchema = ListSubscriptionPaymentsGlobals$inboundSchema;
48178
+ ListSubscriptionPaymentsGlobals$.outboundSchema = ListSubscriptionPaymentsGlobals$outboundSchema;
48179
+ })(ListSubscriptionPaymentsGlobals$ ||= {});
47619
48180
  ListSubscriptionPaymentsRequest$inboundSchema = objectType({
47620
48181
  customerId: stringType(),
47621
48182
  subscriptionId: stringType(),
@@ -47623,7 +48184,7 @@ var init_listsubscriptionpayments = __esm(() => {
47623
48184
  limit: nullableType(numberType().int()).optional(),
47624
48185
  sort: Sorting$inboundSchema.optional(),
47625
48186
  profileId: stringType().optional(),
47626
- testmode: nullableType(booleanType()).optional(),
48187
+ testmode: booleanType().optional(),
47627
48188
  "idempotency-key": stringType().optional()
47628
48189
  }).transform((v2) => {
47629
48190
  return remap(v2, {
@@ -47637,7 +48198,7 @@ var init_listsubscriptionpayments = __esm(() => {
47637
48198
  limit: nullableType(numberType().int()).optional(),
47638
48199
  sort: Sorting$outboundSchema.optional(),
47639
48200
  profileId: stringType().optional(),
47640
- testmode: nullableType(booleanType()).optional(),
48201
+ testmode: booleanType().optional(),
47641
48202
  idempotencyKey: stringType().optional()
47642
48203
  }).transform((v2) => {
47643
48204
  return remap(v2, {
@@ -47685,17 +48246,27 @@ var init_listsubscriptionpayments = __esm(() => {
47685
48246
  });
47686
48247
 
47687
48248
  // src/models/operations/listsubscriptions.ts
47688
- var ListSubscriptionsRequest$inboundSchema, ListSubscriptionsRequest$outboundSchema, ListSubscriptionsRequest$, ListSubscriptionsEmbedded$inboundSchema, ListSubscriptionsEmbedded$outboundSchema, ListSubscriptionsEmbedded$, ListSubscriptionsResponse$inboundSchema, ListSubscriptionsResponse$outboundSchema, ListSubscriptionsResponse$;
48249
+ var ListSubscriptionsGlobals$inboundSchema, ListSubscriptionsGlobals$outboundSchema, ListSubscriptionsGlobals$, ListSubscriptionsRequest$inboundSchema, ListSubscriptionsRequest$outboundSchema, ListSubscriptionsRequest$, ListSubscriptionsEmbedded$inboundSchema, ListSubscriptionsEmbedded$outboundSchema, ListSubscriptionsEmbedded$, ListSubscriptionsResponse$inboundSchema, ListSubscriptionsResponse$outboundSchema, ListSubscriptionsResponse$;
47689
48250
  var init_listsubscriptions = __esm(() => {
47690
48251
  init_esm();
47691
48252
  init_primitives();
47692
48253
  init_models();
48254
+ ListSubscriptionsGlobals$inboundSchema = objectType({
48255
+ testmode: booleanType().optional()
48256
+ });
48257
+ ListSubscriptionsGlobals$outboundSchema = objectType({
48258
+ testmode: booleanType().optional()
48259
+ });
48260
+ ((ListSubscriptionsGlobals$) => {
48261
+ ListSubscriptionsGlobals$.inboundSchema = ListSubscriptionsGlobals$inboundSchema;
48262
+ ListSubscriptionsGlobals$.outboundSchema = ListSubscriptionsGlobals$outboundSchema;
48263
+ })(ListSubscriptionsGlobals$ ||= {});
47693
48264
  ListSubscriptionsRequest$inboundSchema = objectType({
47694
48265
  customerId: stringType(),
47695
48266
  from: stringType().optional(),
47696
48267
  limit: nullableType(numberType().int()).optional(),
47697
48268
  sort: Sorting$inboundSchema.optional(),
47698
- testmode: nullableType(booleanType()).optional(),
48269
+ testmode: booleanType().optional(),
47699
48270
  "idempotency-key": stringType().optional()
47700
48271
  }).transform((v2) => {
47701
48272
  return remap(v2, {
@@ -47707,7 +48278,7 @@ var init_listsubscriptions = __esm(() => {
47707
48278
  from: stringType().optional(),
47708
48279
  limit: nullableType(numberType().int()).optional(),
47709
48280
  sort: Sorting$outboundSchema.optional(),
47710
- testmode: nullableType(booleanType()).optional(),
48281
+ testmode: booleanType().optional(),
47711
48282
  idempotencyKey: stringType().optional()
47712
48283
  }).transform((v2) => {
47713
48284
  return remap(v2, {
@@ -47755,16 +48326,26 @@ var init_listsubscriptions = __esm(() => {
47755
48326
  });
47756
48327
 
47757
48328
  // src/models/operations/listterminals.ts
47758
- var ListTerminalsRequest$inboundSchema, ListTerminalsRequest$outboundSchema, ListTerminalsRequest$, ListTerminalsEmbedded$inboundSchema, ListTerminalsEmbedded$outboundSchema, ListTerminalsEmbedded$, ListTerminalsResponse$inboundSchema, ListTerminalsResponse$outboundSchema, ListTerminalsResponse$;
48329
+ var ListTerminalsGlobals$inboundSchema, ListTerminalsGlobals$outboundSchema, ListTerminalsGlobals$, ListTerminalsRequest$inboundSchema, ListTerminalsRequest$outboundSchema, ListTerminalsRequest$, ListTerminalsEmbedded$inboundSchema, ListTerminalsEmbedded$outboundSchema, ListTerminalsEmbedded$, ListTerminalsResponse$inboundSchema, ListTerminalsResponse$outboundSchema, ListTerminalsResponse$;
47759
48330
  var init_listterminals = __esm(() => {
47760
48331
  init_esm();
47761
48332
  init_primitives();
47762
48333
  init_models();
48334
+ ListTerminalsGlobals$inboundSchema = objectType({
48335
+ testmode: booleanType().optional()
48336
+ });
48337
+ ListTerminalsGlobals$outboundSchema = objectType({
48338
+ testmode: booleanType().optional()
48339
+ });
48340
+ ((ListTerminalsGlobals$) => {
48341
+ ListTerminalsGlobals$.inboundSchema = ListTerminalsGlobals$inboundSchema;
48342
+ ListTerminalsGlobals$.outboundSchema = ListTerminalsGlobals$outboundSchema;
48343
+ })(ListTerminalsGlobals$ ||= {});
47763
48344
  ListTerminalsRequest$inboundSchema = objectType({
47764
48345
  from: stringType().optional(),
47765
48346
  limit: nullableType(numberType().int()).optional(),
47766
48347
  sort: Sorting$inboundSchema.optional(),
47767
- testmode: nullableType(booleanType()).optional(),
48348
+ testmode: booleanType().optional(),
47768
48349
  "idempotency-key": stringType().optional()
47769
48350
  }).transform((v2) => {
47770
48351
  return remap(v2, {
@@ -47775,7 +48356,7 @@ var init_listterminals = __esm(() => {
47775
48356
  from: stringType().optional(),
47776
48357
  limit: nullableType(numberType().int()).optional(),
47777
48358
  sort: Sorting$outboundSchema.optional(),
47778
- testmode: nullableType(booleanType()).optional(),
48359
+ testmode: booleanType().optional(),
47779
48360
  idempotencyKey: stringType().optional()
47780
48361
  }).transform((v2) => {
47781
48362
  return remap(v2, {
@@ -47823,17 +48404,27 @@ var init_listterminals = __esm(() => {
47823
48404
  });
47824
48405
 
47825
48406
  // src/models/operations/listwebhooks.ts
47826
- var ListWebhooksRequest$inboundSchema, ListWebhooksRequest$outboundSchema, ListWebhooksRequest$, ListWebhooksEmbedded$inboundSchema, ListWebhooksEmbedded$outboundSchema, ListWebhooksEmbedded$, ListWebhooksResponse$inboundSchema, ListWebhooksResponse$outboundSchema, ListWebhooksResponse$;
48407
+ var ListWebhooksGlobals$inboundSchema, ListWebhooksGlobals$outboundSchema, ListWebhooksGlobals$, ListWebhooksRequest$inboundSchema, ListWebhooksRequest$outboundSchema, ListWebhooksRequest$, ListWebhooksEmbedded$inboundSchema, ListWebhooksEmbedded$outboundSchema, ListWebhooksEmbedded$, ListWebhooksResponse$inboundSchema, ListWebhooksResponse$outboundSchema, ListWebhooksResponse$;
47827
48408
  var init_listwebhooks = __esm(() => {
47828
48409
  init_esm();
47829
48410
  init_primitives();
47830
48411
  init_models();
48412
+ ListWebhooksGlobals$inboundSchema = objectType({
48413
+ testmode: booleanType().optional()
48414
+ });
48415
+ ListWebhooksGlobals$outboundSchema = objectType({
48416
+ testmode: booleanType().optional()
48417
+ });
48418
+ ((ListWebhooksGlobals$) => {
48419
+ ListWebhooksGlobals$.inboundSchema = ListWebhooksGlobals$inboundSchema;
48420
+ ListWebhooksGlobals$.outboundSchema = ListWebhooksGlobals$outboundSchema;
48421
+ })(ListWebhooksGlobals$ ||= {});
47831
48422
  ListWebhooksRequest$inboundSchema = objectType({
47832
48423
  from: nullableType(stringType()).optional(),
47833
48424
  limit: nullableType(numberType().int()).optional(),
47834
48425
  sort: Sorting$inboundSchema.optional(),
47835
48426
  eventTypes: WebhookEventTypes$inboundSchema.optional(),
47836
- testmode: nullableType(booleanType()).optional(),
48427
+ testmode: booleanType().optional(),
47837
48428
  "idempotency-key": stringType().optional()
47838
48429
  }).transform((v2) => {
47839
48430
  return remap(v2, {
@@ -47845,7 +48436,7 @@ var init_listwebhooks = __esm(() => {
47845
48436
  limit: nullableType(numberType().int()).optional(),
47846
48437
  sort: Sorting$outboundSchema.optional(),
47847
48438
  eventTypes: WebhookEventTypes$outboundSchema.optional(),
47848
- testmode: nullableType(booleanType()).optional(),
48439
+ testmode: booleanType().optional(),
47849
48440
  idempotencyKey: stringType().optional()
47850
48441
  }).transform((v2) => {
47851
48442
  return remap(v2, {
@@ -47925,14 +48516,24 @@ var init_paymentcreateroute = __esm(() => {
47925
48516
  });
47926
48517
 
47927
48518
  // 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$;
48519
+ var PaymentListRoutesGlobals$inboundSchema, PaymentListRoutesGlobals$outboundSchema, PaymentListRoutesGlobals$, PaymentListRoutesRequest$inboundSchema, PaymentListRoutesRequest$outboundSchema, PaymentListRoutesRequest$, PaymentListRoutesEmbedded$inboundSchema, PaymentListRoutesEmbedded$outboundSchema, PaymentListRoutesEmbedded$, PaymentListRoutesLinks$inboundSchema, PaymentListRoutesLinks$outboundSchema, PaymentListRoutesLinks$, PaymentListRoutesResponse$inboundSchema, PaymentListRoutesResponse$outboundSchema, PaymentListRoutesResponse$;
47929
48520
  var init_paymentlistroutes = __esm(() => {
47930
48521
  init_esm();
47931
48522
  init_primitives();
47932
48523
  init_models();
48524
+ PaymentListRoutesGlobals$inboundSchema = objectType({
48525
+ testmode: booleanType().optional()
48526
+ });
48527
+ PaymentListRoutesGlobals$outboundSchema = objectType({
48528
+ testmode: booleanType().optional()
48529
+ });
48530
+ ((PaymentListRoutesGlobals$) => {
48531
+ PaymentListRoutesGlobals$.inboundSchema = PaymentListRoutesGlobals$inboundSchema;
48532
+ PaymentListRoutesGlobals$.outboundSchema = PaymentListRoutesGlobals$outboundSchema;
48533
+ })(PaymentListRoutesGlobals$ ||= {});
47933
48534
  PaymentListRoutesRequest$inboundSchema = objectType({
47934
48535
  paymentId: stringType(),
47935
- testmode: nullableType(booleanType()).optional(),
48536
+ testmode: booleanType().optional(),
47936
48537
  "idempotency-key": stringType().optional()
47937
48538
  }).transform((v2) => {
47938
48539
  return remap(v2, {
@@ -47941,7 +48542,7 @@ var init_paymentlistroutes = __esm(() => {
47941
48542
  });
47942
48543
  PaymentListRoutesRequest$outboundSchema = objectType({
47943
48544
  paymentId: stringType(),
47944
- testmode: nullableType(booleanType()).optional(),
48545
+ testmode: booleanType().optional(),
47945
48546
  idempotencyKey: stringType().optional()
47946
48547
  }).transform((v2) => {
47947
48548
  return remap(v2, {
@@ -48752,7 +49353,7 @@ async function $do(client, request, options) {
48752
49353
  };
48753
49354
  const path = pathToFunc("/balances/{id}")(pathParams);
48754
49355
  const query = encodeFormQuery({
48755
- testmode: payload.testmode
49356
+ testmode: payload.testmode ?? client._options.testmode
48756
49357
  });
48757
49358
  const headers = new Headers(compactMap({
48758
49359
  Accept: "application/hal+json",
@@ -49008,7 +49609,7 @@ async function $do3(client, request, options) {
49008
49609
  const query = encodeFormQuery({
49009
49610
  from: payload.from,
49010
49611
  grouping: payload.grouping,
49011
- testmode: payload.testmode,
49612
+ testmode: payload.testmode ?? client._options.testmode,
49012
49613
  until: payload.until
49013
49614
  });
49014
49615
  const headers = new Headers(compactMap({
@@ -49138,7 +49739,7 @@ async function $do4(client, request, options) {
49138
49739
  currency: payload?.currency,
49139
49740
  from: payload?.from,
49140
49741
  limit: payload?.limit,
49141
- testmode: payload?.testmode
49742
+ testmode: payload?.testmode ?? client._options.testmode
49142
49743
  });
49143
49744
  const headers = new Headers(compactMap({
49144
49745
  Accept: "application/hal+json",
@@ -49267,7 +49868,7 @@ async function $do5(client, request, options) {
49267
49868
  const query = encodeFormQuery({
49268
49869
  from: payload.from,
49269
49870
  limit: payload.limit,
49270
- testmode: payload.testmode
49871
+ testmode: payload.testmode ?? client._options.testmode
49271
49872
  });
49272
49873
  const headers = new Headers(compactMap({
49273
49874
  Accept: "application/hal+json",
@@ -49523,7 +50124,7 @@ async function $do7(client, request, options) {
49523
50124
  };
49524
50125
  const path = pathToFunc("/connect/balance-transfers/{id}")(pathParams);
49525
50126
  const query = encodeFormQuery({
49526
- testmode: payload.testmode
50127
+ testmode: payload.testmode ?? client._options.testmode
49527
50128
  });
49528
50129
  const headers = new Headers(compactMap({
49529
50130
  Accept: "application/hal+json",
@@ -49646,7 +50247,7 @@ async function $do8(client, request, options) {
49646
50247
  from: payload?.from,
49647
50248
  limit: payload?.limit,
49648
50249
  sort: payload?.sort,
49649
- testmode: payload?.testmode
50250
+ testmode: payload?.testmode ?? client._options.testmode
49650
50251
  });
49651
50252
  const headers = new Headers(compactMap({
49652
50253
  Accept: "application/hal+json",
@@ -50027,7 +50628,7 @@ async function $do11(client, request, options) {
50027
50628
  const path = pathToFunc("/payments/{paymentId}/captures/{captureId}")(pathParams);
50028
50629
  const query = encodeFormQuery({
50029
50630
  embed: payload.embed,
50030
- testmode: payload.testmode
50631
+ testmode: payload.testmode ?? client._options.testmode
50031
50632
  });
50032
50633
  const headers = new Headers(compactMap({
50033
50634
  Accept: "application/hal+json",
@@ -50157,7 +50758,7 @@ async function $do12(client, request, options) {
50157
50758
  embed: payload.embed,
50158
50759
  from: payload.from,
50159
50760
  limit: payload.limit,
50160
- testmode: payload.testmode
50761
+ testmode: payload.testmode ?? client._options.testmode
50161
50762
  });
50162
50763
  const headers = new Headers(compactMap({
50163
50764
  Accept: "application/hal+json",
@@ -50281,9 +50882,9 @@ async function $do13(client, request, options) {
50281
50882
  embed: payload?.embed,
50282
50883
  from: payload?.from,
50283
50884
  limit: payload?.limit,
50284
- profileId: payload?.profileId,
50885
+ profileId: payload?.profileId ?? client._options.profileId,
50285
50886
  sort: payload?.sort,
50286
- testmode: payload?.testmode
50887
+ testmode: payload?.testmode ?? client._options.testmode
50287
50888
  });
50288
50889
  const headers = new Headers(compactMap({
50289
50890
  Accept: "application/hal+json",
@@ -50415,7 +51016,7 @@ async function $do14(client, request, options) {
50415
51016
  const path = pathToFunc("/payments/{paymentId}/chargebacks/{chargebackId}")(pathParams);
50416
51017
  const query = encodeFormQuery({
50417
51018
  embed: payload.embed,
50418
- testmode: payload.testmode
51019
+ testmode: payload.testmode ?? client._options.testmode
50419
51020
  });
50420
51021
  const headers = new Headers(compactMap({
50421
51022
  Accept: "application/hal+json",
@@ -50544,7 +51145,7 @@ async function $do15(client, request, options) {
50544
51145
  embed: payload.embed,
50545
51146
  from: payload.from,
50546
51147
  limit: payload.limit,
50547
- testmode: payload.testmode
51148
+ testmode: payload.testmode ?? client._options.testmode
50548
51149
  });
50549
51150
  const headers = new Headers(compactMap({
50550
51151
  Accept: "application/hal+json",
@@ -51471,7 +52072,7 @@ async function $do22(client, request, options) {
51471
52072
  const path = pathToFunc("/customers/{customerId}")(pathParams);
51472
52073
  const query = encodeFormQuery({
51473
52074
  include: payload.include,
51474
- testmode: payload.testmode
52075
+ testmode: payload.testmode ?? client._options.testmode
51475
52076
  });
51476
52077
  const headers = new Headers(compactMap({
51477
52078
  Accept: "application/hal+json",
@@ -51593,7 +52194,7 @@ async function $do23(client, request, options) {
51593
52194
  from: payload?.from,
51594
52195
  limit: payload?.limit,
51595
52196
  sort: payload?.sort,
51596
- testmode: payload?.testmode
52197
+ testmode: payload?.testmode ?? client._options.testmode
51597
52198
  });
51598
52199
  const headers = new Headers(compactMap({
51599
52200
  Accept: "application/hal+json",
@@ -51722,9 +52323,9 @@ async function $do24(client, request, options) {
51722
52323
  const query = encodeFormQuery({
51723
52324
  from: payload.from,
51724
52325
  limit: payload.limit,
51725
- profileId: payload.profileId,
52326
+ profileId: payload.profileId ?? client._options.profileId,
51726
52327
  sort: payload.sort,
51727
- testmode: payload.testmode
52328
+ testmode: payload.testmode ?? client._options.testmode
51728
52329
  });
51729
52330
  const headers = new Headers(compactMap({
51730
52331
  Accept: "application/hal+json",
@@ -52100,7 +52701,7 @@ async function $do27(client, request, options) {
52100
52701
  };
52101
52702
  const path = pathToFunc("/payments/{paymentId}/routes")(pathParams);
52102
52703
  const query = encodeFormQuery({
52103
- testmode: payload.testmode
52704
+ testmode: payload.testmode ?? client._options.testmode
52104
52705
  });
52105
52706
  const headers = new Headers(compactMap({
52106
52707
  Accept: "application/hal+json",
@@ -52608,7 +53209,7 @@ async function $do31(client, request, options) {
52608
53209
  };
52609
53210
  const path = pathToFunc("/customers/{customerId}/mandates/{mandateId}")(pathParams);
52610
53211
  const query = encodeFormQuery({
52611
- testmode: payload.testmode
53212
+ testmode: payload.testmode ?? client._options.testmode
52612
53213
  });
52613
53214
  const headers = new Headers(compactMap({
52614
53215
  Accept: "application/hal+json",
@@ -52738,7 +53339,7 @@ async function $do32(client, request, options) {
52738
53339
  from: payload.from,
52739
53340
  limit: payload.limit,
52740
53341
  sort: payload.sort,
52741
- testmode: payload.testmode
53342
+ testmode: payload.testmode ?? client._options.testmode
52742
53343
  });
52743
53344
  const headers = new Headers(compactMap({
52744
53345
  Accept: "application/hal+json",
@@ -52989,9 +53590,9 @@ async function $do34(client, request, options) {
52989
53590
  }), encodeFormQuery({
52990
53591
  include: payload?.include,
52991
53592
  locale: payload?.locale,
52992
- profileId: payload?.profileId,
53593
+ profileId: payload?.profileId ?? client._options.profileId,
52993
53594
  sequenceType: payload?.sequenceType,
52994
- testmode: payload?.testmode
53595
+ testmode: payload?.testmode ?? client._options.testmode
52995
53596
  }));
52996
53597
  const headers = new Headers(compactMap({
52997
53598
  Accept: "application/hal+json",
@@ -53122,9 +53723,9 @@ async function $do35(client, request, options) {
53122
53723
  currency: payload.currency,
53123
53724
  include: payload.include,
53124
53725
  locale: payload.locale,
53125
- profileId: payload.profileId,
53726
+ profileId: payload.profileId ?? client._options.profileId,
53126
53727
  sequenceType: payload.sequenceType,
53127
- testmode: payload.testmode
53728
+ testmode: payload.testmode ?? client._options.testmode
53128
53729
  });
53129
53730
  const headers = new Headers(compactMap({
53130
53731
  Accept: "application/hal+json",
@@ -53262,10 +53863,10 @@ async function $do36(client, request, options) {
53262
53863
  includeWallets: payload?.includeWallets,
53263
53864
  locale: payload?.locale,
53264
53865
  orderLineCategories: payload?.orderLineCategories,
53265
- profileId: payload?.profileId,
53866
+ profileId: payload?.profileId ?? client._options.profileId,
53266
53867
  resource: payload?.resource,
53267
53868
  sequenceType: payload?.sequenceType,
53268
- testmode: payload?.testmode
53869
+ testmode: payload?.testmode ?? client._options.testmode
53269
53870
  }));
53270
53871
  const headers = new Headers(compactMap({
53271
53872
  Accept: "application/hal+json",
@@ -53629,7 +54230,7 @@ async function $do39(client, request, options) {
53629
54230
  };
53630
54231
  const path = pathToFunc("/organizations/{id}")(pathParams);
53631
54232
  const query = encodeFormQuery({
53632
- testmode: payload.testmode
54233
+ testmode: payload.testmode ?? client._options.testmode
53633
54234
  });
53634
54235
  const headers = new Headers(compactMap({
53635
54236
  Accept: "application/hal+json",
@@ -54230,7 +54831,7 @@ async function $do44(client, request, options) {
54230
54831
  };
54231
54832
  const path = pathToFunc("/payment-links/{paymentLinkId}")(pathParams);
54232
54833
  const query = encodeFormQuery({
54233
- testmode: payload.testmode
54834
+ testmode: payload.testmode ?? client._options.testmode
54234
54835
  });
54235
54836
  const headers = new Headers(compactMap({
54236
54837
  Accept: "application/hal+json",
@@ -54352,7 +54953,7 @@ async function $do45(client, request, options) {
54352
54953
  const query = encodeFormQuery({
54353
54954
  from: payload?.from,
54354
54955
  limit: payload?.limit,
54355
- testmode: payload?.testmode
54956
+ testmode: payload?.testmode ?? client._options.testmode
54356
54957
  });
54357
54958
  const headers = new Headers(compactMap({
54358
54959
  Accept: "application/hal+json",
@@ -54482,7 +55083,7 @@ async function $do46(client, request, options) {
54482
55083
  from: payload.from,
54483
55084
  limit: payload.limit,
54484
55085
  sort: payload.sort,
54485
- testmode: payload.testmode
55086
+ testmode: payload.testmode ?? client._options.testmode
54486
55087
  });
54487
55088
  const headers = new Headers(compactMap({
54488
55089
  Accept: "application/hal+json",
@@ -54998,7 +55599,7 @@ async function $do50(client, request, options) {
54998
55599
  const query = encodeFormQuery({
54999
55600
  embed: payload.embed,
55000
55601
  include: payload.include,
55001
- testmode: payload.testmode
55602
+ testmode: payload.testmode ?? client._options.testmode
55002
55603
  });
55003
55604
  const headers = new Headers(compactMap({
55004
55605
  Accept: "application/hal+json",
@@ -55120,9 +55721,9 @@ async function $do51(client, request, options) {
55120
55721
  const query = encodeFormQuery({
55121
55722
  from: payload?.from,
55122
55723
  limit: payload?.limit,
55123
- profileId: payload?.profileId,
55724
+ profileId: payload?.profileId ?? client._options.profileId,
55124
55725
  sort: payload?.sort,
55125
- testmode: payload?.testmode
55726
+ testmode: payload?.testmode ?? client._options.testmode
55126
55727
  });
55127
55728
  const headers = new Headers(compactMap({
55128
55729
  Accept: "application/hal+json",
@@ -55502,7 +56103,7 @@ async function $do54(client, request, options) {
55502
56103
  };
55503
56104
  const path = pathToFunc("/permissions/{permissionId}")(pathParams);
55504
56105
  const query = encodeFormQuery({
55505
- testmode: payload.testmode
56106
+ testmode: payload.testmode ?? client._options.testmode
55506
56107
  });
55507
56108
  const headers = new Headers(compactMap({
55508
56109
  Accept: "application/hal+json",
@@ -55985,7 +56586,7 @@ async function $do58(client, request, options) {
55985
56586
  };
55986
56587
  const path = pathToFunc("/profiles/{id}")(pathParams);
55987
56588
  const query = encodeFormQuery({
55988
- testmode: payload.testmode
56589
+ testmode: payload.testmode ?? client._options.testmode
55989
56590
  });
55990
56591
  const headers = new Headers(compactMap({
55991
56592
  Accept: "application/hal+json",
@@ -56470,9 +57071,9 @@ async function $do62(client, request, options) {
56470
57071
  embed: payload?.embed,
56471
57072
  from: payload?.from,
56472
57073
  limit: payload?.limit,
56473
- profileId: payload?.profileId,
57074
+ profileId: payload?.profileId ?? client._options.profileId,
56474
57075
  sort: payload?.sort,
56475
- testmode: payload?.testmode
57076
+ testmode: payload?.testmode ?? client._options.testmode
56476
57077
  });
56477
57078
  const headers = new Headers(compactMap({
56478
57079
  Accept: "application/hal+json",
@@ -56603,7 +57204,7 @@ async function $do63(client, request, options) {
56603
57204
  };
56604
57205
  const path = pathToFunc("/payments/{paymentId}/refunds/{refundId}")(pathParams);
56605
57206
  const query = encodeFormQuery({
56606
- testmode: payload.testmode
57207
+ testmode: payload.testmode ?? client._options.testmode
56607
57208
  });
56608
57209
  const headers = new Headers(compactMap({
56609
57210
  Accept: "application/hal+json",
@@ -56860,7 +57461,7 @@ async function $do65(client, request, options) {
56860
57461
  const path = pathToFunc("/payments/{paymentId}/refunds/{refundId}")(pathParams);
56861
57462
  const query = encodeFormQuery({
56862
57463
  embed: payload.embed,
56863
- testmode: payload.testmode
57464
+ testmode: payload.testmode ?? client._options.testmode
56864
57465
  });
56865
57466
  const headers = new Headers(compactMap({
56866
57467
  Accept: "application/hal+json",
@@ -56989,7 +57590,7 @@ async function $do66(client, request, options) {
56989
57590
  embed: payload.embed,
56990
57591
  from: payload.from,
56991
57592
  limit: payload.limit,
56992
- testmode: payload.testmode
57593
+ testmode: payload.testmode ?? client._options.testmode
56993
57594
  });
56994
57595
  const headers = new Headers(compactMap({
56995
57596
  Accept: "application/hal+json",
@@ -57367,7 +57968,7 @@ async function $do69(client, request, options) {
57367
57968
  };
57368
57969
  const path = pathToFunc("/sales-invoices/{id}")(pathParams);
57369
57970
  const query = encodeFormQuery({
57370
- testmode: payload.testmode
57971
+ testmode: payload.testmode ?? client._options.testmode
57371
57972
  });
57372
57973
  const headers = new Headers(compactMap({
57373
57974
  Accept: "application/hal+json",
@@ -57493,7 +58094,7 @@ async function $do70(client, request, options) {
57493
58094
  const query = encodeFormQuery({
57494
58095
  from: payload?.from,
57495
58096
  limit: payload?.limit,
57496
- testmode: payload?.testmode
58097
+ testmode: payload?.testmode ?? client._options.testmode
57497
58098
  });
57498
58099
  const headers = new Headers(compactMap({
57499
58100
  Accept: "application/hal+json",
@@ -58250,7 +58851,7 @@ async function $do76(client, request, options) {
58250
58851
  embed: payload.embed,
58251
58852
  from: payload.from,
58252
58853
  limit: payload.limit,
58253
- testmode: payload.testmode
58854
+ testmode: payload.testmode ?? client._options.testmode
58254
58855
  });
58255
58856
  const headers = new Headers(compactMap({
58256
58857
  Accept: "application/hal+json",
@@ -58380,7 +58981,7 @@ async function $do77(client, request, options) {
58380
58981
  embed: payload.embed,
58381
58982
  from: payload.from,
58382
58983
  limit: payload.limit,
58383
- testmode: payload.testmode
58984
+ testmode: payload.testmode ?? client._options.testmode
58384
58985
  });
58385
58986
  const headers = new Headers(compactMap({
58386
58987
  Accept: "application/hal+json",
@@ -58509,9 +59110,9 @@ async function $do78(client, request, options) {
58509
59110
  const query = encodeFormQuery({
58510
59111
  from: payload.from,
58511
59112
  limit: payload.limit,
58512
- profileId: payload.profileId,
59113
+ profileId: payload.profileId ?? client._options.profileId,
58513
59114
  sort: payload.sort,
58514
- testmode: payload.testmode
59115
+ testmode: payload.testmode ?? client._options.testmode
58515
59116
  });
58516
59117
  const headers = new Headers(compactMap({
58517
59118
  Accept: "application/hal+json",
@@ -58644,7 +59245,7 @@ async function $do79(client, request, options) {
58644
59245
  embed: payload.embed,
58645
59246
  from: payload.from,
58646
59247
  limit: payload.limit,
58647
- testmode: payload.testmode
59248
+ testmode: payload.testmode ?? client._options.testmode
58648
59249
  });
58649
59250
  const headers = new Headers(compactMap({
58650
59251
  Accept: "application/hal+json",
@@ -58767,8 +59368,8 @@ async function $do80(client, request, options) {
58767
59368
  const query = encodeFormQuery({
58768
59369
  from: payload?.from,
58769
59370
  limit: payload?.limit,
58770
- profileId: payload?.profileId,
58771
- testmode: payload?.testmode
59371
+ profileId: payload?.profileId ?? client._options.profileId,
59372
+ testmode: payload?.testmode ?? client._options.testmode
58772
59373
  });
58773
59374
  const headers = new Headers(compactMap({
58774
59375
  Accept: "application/hal+json",
@@ -59169,7 +59770,7 @@ async function $do83(client, request, options) {
59169
59770
  };
59170
59771
  const path = pathToFunc("/customers/{customerId}/subscriptions/{subscriptionId}")(pathParams);
59171
59772
  const query = encodeFormQuery({
59172
- testmode: payload.testmode
59773
+ testmode: payload.testmode ?? client._options.testmode
59173
59774
  });
59174
59775
  const headers = new Headers(compactMap({
59175
59776
  Accept: "application/hal+json",
@@ -59298,7 +59899,7 @@ async function $do84(client, request, options) {
59298
59899
  from: payload.from,
59299
59900
  limit: payload.limit,
59300
59901
  sort: payload.sort,
59301
- testmode: payload.testmode
59902
+ testmode: payload.testmode ?? client._options.testmode
59302
59903
  });
59303
59904
  const headers = new Headers(compactMap({
59304
59905
  Accept: "application/hal+json",
@@ -59431,9 +60032,9 @@ async function $do85(client, request, options) {
59431
60032
  const query = encodeFormQuery({
59432
60033
  from: payload.from,
59433
60034
  limit: payload.limit,
59434
- profileId: payload.profileId,
60035
+ profileId: payload.profileId ?? client._options.profileId,
59435
60036
  sort: payload.sort,
59436
- testmode: payload.testmode
60037
+ testmode: payload.testmode ?? client._options.testmode
59437
60038
  });
59438
60039
  const headers = new Headers(compactMap({
59439
60040
  Accept: "application/hal+json",
@@ -59691,7 +60292,7 @@ async function $do87(client, request, options) {
59691
60292
  };
59692
60293
  const path = pathToFunc("/terminals/{terminalId}")(pathParams);
59693
60294
  const query = encodeFormQuery({
59694
- testmode: payload.testmode
60295
+ testmode: payload.testmode ?? client._options.testmode
59695
60296
  });
59696
60297
  const headers = new Headers(compactMap({
59697
60298
  Accept: "application/hal+json",
@@ -59814,7 +60415,7 @@ async function $do88(client, request, options) {
59814
60415
  from: payload?.from,
59815
60416
  limit: payload?.limit,
59816
60417
  sort: payload?.sort,
59817
- testmode: payload?.testmode
60418
+ testmode: payload?.testmode ?? client._options.testmode
59818
60419
  });
59819
60420
  const headers = new Headers(compactMap({
59820
60421
  Accept: "application/hal+json",
@@ -60074,7 +60675,7 @@ async function $do90(client, request, options) {
60074
60675
  };
60075
60676
  const path = pathToFunc("/events/{id}")(pathParams);
60076
60677
  const query = encodeFormQuery({
60077
- testmode: payload.testmode
60678
+ testmode: payload.testmode ?? client._options.testmode
60078
60679
  });
60079
60680
  const headers = new Headers(compactMap({
60080
60681
  Accept: "application/hal+json",
@@ -60438,7 +61039,7 @@ async function $do93(client, request, options) {
60438
61039
  };
60439
61040
  const path = pathToFunc("/webhooks/{id}")(pathParams);
60440
61041
  const query = encodeFormQuery({
60441
- testmode: payload.testmode
61042
+ testmode: payload.testmode ?? client._options.testmode
60442
61043
  });
60443
61044
  const headers = new Headers(compactMap({
60444
61045
  Accept: "application/hal+json",
@@ -60562,7 +61163,7 @@ async function $do94(client, request, options) {
60562
61163
  from: payload?.from,
60563
61164
  limit: payload?.limit,
60564
61165
  sort: payload?.sort,
60565
- testmode: payload?.testmode
61166
+ testmode: payload?.testmode ?? client._options.testmode
60566
61167
  });
60567
61168
  const headers = new Headers(compactMap({
60568
61169
  Accept: "application/hal+json",
@@ -60916,10 +61517,13 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
60916
61517
  function createMCPServer(deps) {
60917
61518
  const server = new McpServer({
60918
61519
  name: "Client",
60919
- version: "0.6.2"
61520
+ version: "0.7.0"
60920
61521
  });
60921
61522
  const client = new ClientCore({
60922
61523
  security: deps.security,
61524
+ profileId: deps.profileId,
61525
+ testmode: deps.testmode,
61526
+ customUserAgent: deps.customUserAgent,
60923
61527
  serverURL: deps.serverURL,
60924
61528
  serverIdx: deps.serverIdx
60925
61529
  });
@@ -61158,6 +61762,9 @@ async function startStdio(flags) {
61158
61762
  logger,
61159
61763
  allowedTools: flags.tool,
61160
61764
  security: { apiKey: flags["api-key"] ?? "", oAuth: flags["o-auth"] ?? "" },
61765
+ profileId: flags["profile-id"],
61766
+ testmode: flags.testmode,
61767
+ customUserAgent: flags["custom-user-agent"],
61161
61768
  serverURL: flags["server-url"],
61162
61769
  serverIdx: flags["server-index"]
61163
61770
  });
@@ -61176,6 +61783,9 @@ async function startSSE(flags) {
61176
61783
  logger,
61177
61784
  allowedTools: flags.tool,
61178
61785
  security: { apiKey: flags["api-key"] ?? "", oAuth: flags["o-auth"] ?? "" },
61786
+ profileId: flags["profile-id"],
61787
+ testmode: flags.testmode,
61788
+ customUserAgent: flags["custom-user-agent"],
61179
61789
  serverURL: flags["server-url"],
61180
61790
  serverIdx: flags["server-index"]
61181
61791
  });
@@ -62252,6 +62862,30 @@ var startCommand = on({
62252
62862
  return stringType().parse(value);
62253
62863
  }
62254
62864
  },
62865
+ "profile-id": {
62866
+ kind: "parsed",
62867
+ brief: "Allows setting the profileId parameter for all supported operations",
62868
+ optional: true,
62869
+ parse: (value) => {
62870
+ return stringType().parse(value);
62871
+ }
62872
+ },
62873
+ testmode: {
62874
+ kind: "parsed",
62875
+ brief: "Allows setting the testmode parameter for all supported operations",
62876
+ optional: true,
62877
+ parse: (value) => {
62878
+ return enumType(["true", "false"]).transform((v2) => v2 === "true").parse(value);
62879
+ }
62880
+ },
62881
+ "custom-user-agent": {
62882
+ kind: "parsed",
62883
+ brief: "Allows setting the customUserAgent parameter for all supported operations",
62884
+ optional: true,
62885
+ parse: (value) => {
62886
+ return stringType().parse(value);
62887
+ }
62888
+ },
62255
62889
  "server-url": {
62256
62890
  kind: "parsed",
62257
62891
  brief: "Overrides the default server URL used by the SDK",
@@ -62311,7 +62945,7 @@ var routes = an({
62311
62945
  var app = He(routes, {
62312
62946
  name: "mcp",
62313
62947
  versionInfo: {
62314
- currentVersion: "0.6.2"
62948
+ currentVersion: "0.7.0"
62315
62949
  }
62316
62950
  });
62317
62951
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -62319,5 +62953,5 @@ export {
62319
62953
  app
62320
62954
  };
62321
62955
 
62322
- //# debugId=ED51F0D7B4B9680464756E2164756E21
62956
+ //# debugId=69E309BB33503C1C64756E2164756E21
62323
62957
  //# sourceMappingURL=mcp-server.js.map