mollie-api-typescript 1.7.2 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (649) hide show
  1. package/FUNCTIONS.md +4 -5
  2. package/README.md +44 -18
  3. package/dist/commonjs/funcs/capturesCreate.d.ts +2 -0
  4. package/dist/commonjs/funcs/capturesCreate.d.ts.map +1 -1
  5. package/dist/commonjs/funcs/capturesCreate.js +3 -1
  6. package/dist/commonjs/funcs/capturesCreate.js.map +1 -1
  7. package/dist/commonjs/funcs/capturesGet.d.ts +2 -0
  8. package/dist/commonjs/funcs/capturesGet.d.ts.map +1 -1
  9. package/dist/commonjs/funcs/capturesGet.js +3 -1
  10. package/dist/commonjs/funcs/capturesGet.js.map +1 -1
  11. package/dist/commonjs/funcs/capturesList.d.ts +2 -0
  12. package/dist/commonjs/funcs/capturesList.d.ts.map +1 -1
  13. package/dist/commonjs/funcs/capturesList.js +3 -1
  14. package/dist/commonjs/funcs/capturesList.js.map +1 -1
  15. package/dist/commonjs/funcs/chargebacksAll.d.ts +2 -0
  16. package/dist/commonjs/funcs/chargebacksAll.d.ts.map +1 -1
  17. package/dist/commonjs/funcs/chargebacksAll.js +3 -1
  18. package/dist/commonjs/funcs/chargebacksAll.js.map +1 -1
  19. package/dist/commonjs/funcs/chargebacksGet.d.ts +2 -0
  20. package/dist/commonjs/funcs/chargebacksGet.d.ts.map +1 -1
  21. package/dist/commonjs/funcs/chargebacksGet.js +3 -1
  22. package/dist/commonjs/funcs/chargebacksGet.js.map +1 -1
  23. package/dist/commonjs/funcs/chargebacksList.d.ts +2 -0
  24. package/dist/commonjs/funcs/chargebacksList.d.ts.map +1 -1
  25. package/dist/commonjs/funcs/chargebacksList.js +3 -1
  26. package/dist/commonjs/funcs/chargebacksList.js.map +1 -1
  27. package/dist/commonjs/funcs/customersCreate.d.ts +2 -0
  28. package/dist/commonjs/funcs/customersCreate.d.ts.map +1 -1
  29. package/dist/commonjs/funcs/customersCreate.js +3 -1
  30. package/dist/commonjs/funcs/customersCreate.js.map +1 -1
  31. package/dist/commonjs/funcs/customersCreatePayment.d.ts +2 -0
  32. package/dist/commonjs/funcs/customersCreatePayment.d.ts.map +1 -1
  33. package/dist/commonjs/funcs/customersCreatePayment.js +3 -1
  34. package/dist/commonjs/funcs/customersCreatePayment.js.map +1 -1
  35. package/dist/commonjs/funcs/customersDelete.d.ts +2 -0
  36. package/dist/commonjs/funcs/customersDelete.d.ts.map +1 -1
  37. package/dist/commonjs/funcs/customersDelete.js +3 -1
  38. package/dist/commonjs/funcs/customersDelete.js.map +1 -1
  39. package/dist/commonjs/funcs/customersGet.d.ts +2 -0
  40. package/dist/commonjs/funcs/customersGet.d.ts.map +1 -1
  41. package/dist/commonjs/funcs/customersGet.js +3 -1
  42. package/dist/commonjs/funcs/customersGet.js.map +1 -1
  43. package/dist/commonjs/funcs/customersList.d.ts +2 -0
  44. package/dist/commonjs/funcs/customersList.d.ts.map +1 -1
  45. package/dist/commonjs/funcs/customersList.js +3 -1
  46. package/dist/commonjs/funcs/customersList.js.map +1 -1
  47. package/dist/commonjs/funcs/customersListPayments.d.ts +2 -0
  48. package/dist/commonjs/funcs/customersListPayments.d.ts.map +1 -1
  49. package/dist/commonjs/funcs/customersListPayments.js +3 -1
  50. package/dist/commonjs/funcs/customersListPayments.js.map +1 -1
  51. package/dist/commonjs/funcs/customersUpdate.d.ts +2 -0
  52. package/dist/commonjs/funcs/customersUpdate.d.ts.map +1 -1
  53. package/dist/commonjs/funcs/customersUpdate.js +3 -1
  54. package/dist/commonjs/funcs/customersUpdate.js.map +1 -1
  55. package/dist/commonjs/funcs/delayedRoutingCreate.d.ts +2 -0
  56. package/dist/commonjs/funcs/delayedRoutingCreate.d.ts.map +1 -1
  57. package/dist/commonjs/funcs/delayedRoutingCreate.js +3 -1
  58. package/dist/commonjs/funcs/delayedRoutingCreate.js.map +1 -1
  59. package/dist/commonjs/funcs/delayedRoutingGet.d.ts +2 -0
  60. package/dist/commonjs/funcs/delayedRoutingGet.d.ts.map +1 -1
  61. package/dist/commonjs/funcs/delayedRoutingGet.js +3 -1
  62. package/dist/commonjs/funcs/delayedRoutingGet.js.map +1 -1
  63. package/dist/commonjs/funcs/delayedRoutingList.d.ts +2 -0
  64. package/dist/commonjs/funcs/delayedRoutingList.d.ts.map +1 -1
  65. package/dist/commonjs/funcs/delayedRoutingList.js +3 -1
  66. package/dist/commonjs/funcs/delayedRoutingList.js.map +1 -1
  67. package/dist/commonjs/funcs/mandatesCreate.d.ts +2 -0
  68. package/dist/commonjs/funcs/mandatesCreate.d.ts.map +1 -1
  69. package/dist/commonjs/funcs/mandatesCreate.js +3 -1
  70. package/dist/commonjs/funcs/mandatesCreate.js.map +1 -1
  71. package/dist/commonjs/funcs/mandatesGet.d.ts +2 -0
  72. package/dist/commonjs/funcs/mandatesGet.d.ts.map +1 -1
  73. package/dist/commonjs/funcs/mandatesGet.js +3 -1
  74. package/dist/commonjs/funcs/mandatesGet.js.map +1 -1
  75. package/dist/commonjs/funcs/mandatesList.d.ts +2 -0
  76. package/dist/commonjs/funcs/mandatesList.d.ts.map +1 -1
  77. package/dist/commonjs/funcs/mandatesList.js +3 -1
  78. package/dist/commonjs/funcs/mandatesList.js.map +1 -1
  79. package/dist/commonjs/funcs/mandatesRevoke.d.ts +2 -0
  80. package/dist/commonjs/funcs/mandatesRevoke.d.ts.map +1 -1
  81. package/dist/commonjs/funcs/mandatesRevoke.js +3 -1
  82. package/dist/commonjs/funcs/mandatesRevoke.js.map +1 -1
  83. package/dist/commonjs/funcs/methodsAll.d.ts +2 -0
  84. package/dist/commonjs/funcs/methodsAll.d.ts.map +1 -1
  85. package/dist/commonjs/funcs/methodsAll.js +3 -1
  86. package/dist/commonjs/funcs/methodsAll.js.map +1 -1
  87. package/dist/commonjs/funcs/methodsGet.d.ts +2 -0
  88. package/dist/commonjs/funcs/methodsGet.d.ts.map +1 -1
  89. package/dist/commonjs/funcs/methodsGet.js +3 -1
  90. package/dist/commonjs/funcs/methodsGet.js.map +1 -1
  91. package/dist/commonjs/funcs/methodsList.d.ts +2 -0
  92. package/dist/commonjs/funcs/methodsList.d.ts.map +1 -1
  93. package/dist/commonjs/funcs/methodsList.js +3 -1
  94. package/dist/commonjs/funcs/methodsList.js.map +1 -1
  95. package/dist/commonjs/funcs/oauthGenerate.d.ts +1 -3
  96. package/dist/commonjs/funcs/oauthGenerate.d.ts.map +1 -1
  97. package/dist/commonjs/funcs/oauthGenerate.js +10 -8
  98. package/dist/commonjs/funcs/oauthGenerate.js.map +1 -1
  99. package/dist/commonjs/funcs/oauthRevoke.d.ts +1 -3
  100. package/dist/commonjs/funcs/oauthRevoke.d.ts.map +1 -1
  101. package/dist/commonjs/funcs/oauthRevoke.js +10 -8
  102. package/dist/commonjs/funcs/oauthRevoke.js.map +1 -1
  103. package/dist/commonjs/funcs/paymentLinksCreate.d.ts +2 -0
  104. package/dist/commonjs/funcs/paymentLinksCreate.d.ts.map +1 -1
  105. package/dist/commonjs/funcs/paymentLinksCreate.js +3 -1
  106. package/dist/commonjs/funcs/paymentLinksCreate.js.map +1 -1
  107. package/dist/commonjs/funcs/paymentLinksDelete.d.ts +2 -0
  108. package/dist/commonjs/funcs/paymentLinksDelete.d.ts.map +1 -1
  109. package/dist/commonjs/funcs/paymentLinksDelete.js +3 -1
  110. package/dist/commonjs/funcs/paymentLinksDelete.js.map +1 -1
  111. package/dist/commonjs/funcs/paymentLinksGet.d.ts +2 -0
  112. package/dist/commonjs/funcs/paymentLinksGet.d.ts.map +1 -1
  113. package/dist/commonjs/funcs/paymentLinksGet.js +3 -1
  114. package/dist/commonjs/funcs/paymentLinksGet.js.map +1 -1
  115. package/dist/commonjs/funcs/paymentLinksList.d.ts +2 -0
  116. package/dist/commonjs/funcs/paymentLinksList.d.ts.map +1 -1
  117. package/dist/commonjs/funcs/paymentLinksList.js +3 -1
  118. package/dist/commonjs/funcs/paymentLinksList.js.map +1 -1
  119. package/dist/commonjs/funcs/paymentLinksListPayments.d.ts +2 -0
  120. package/dist/commonjs/funcs/paymentLinksListPayments.d.ts.map +1 -1
  121. package/dist/commonjs/funcs/paymentLinksListPayments.js +3 -1
  122. package/dist/commonjs/funcs/paymentLinksListPayments.js.map +1 -1
  123. package/dist/commonjs/funcs/paymentLinksUpdate.d.ts +2 -0
  124. package/dist/commonjs/funcs/paymentLinksUpdate.d.ts.map +1 -1
  125. package/dist/commonjs/funcs/paymentLinksUpdate.js +3 -1
  126. package/dist/commonjs/funcs/paymentLinksUpdate.js.map +1 -1
  127. package/dist/commonjs/funcs/paymentsCancel.d.ts +2 -0
  128. package/dist/commonjs/funcs/paymentsCancel.d.ts.map +1 -1
  129. package/dist/commonjs/funcs/paymentsCancel.js +3 -1
  130. package/dist/commonjs/funcs/paymentsCancel.js.map +1 -1
  131. package/dist/commonjs/funcs/paymentsCreate.d.ts +2 -0
  132. package/dist/commonjs/funcs/paymentsCreate.d.ts.map +1 -1
  133. package/dist/commonjs/funcs/paymentsCreate.js +3 -1
  134. package/dist/commonjs/funcs/paymentsCreate.js.map +1 -1
  135. package/dist/commonjs/funcs/paymentsGet.d.ts +2 -0
  136. package/dist/commonjs/funcs/paymentsGet.d.ts.map +1 -1
  137. package/dist/commonjs/funcs/paymentsGet.js +3 -1
  138. package/dist/commonjs/funcs/paymentsGet.js.map +1 -1
  139. package/dist/commonjs/funcs/paymentsList.d.ts +2 -0
  140. package/dist/commonjs/funcs/paymentsList.d.ts.map +1 -1
  141. package/dist/commonjs/funcs/paymentsList.js +3 -1
  142. package/dist/commonjs/funcs/paymentsList.js.map +1 -1
  143. package/dist/commonjs/funcs/paymentsReleaseAuthorization.d.ts +2 -0
  144. package/dist/commonjs/funcs/paymentsReleaseAuthorization.d.ts.map +1 -1
  145. package/dist/commonjs/funcs/paymentsReleaseAuthorization.js +3 -1
  146. package/dist/commonjs/funcs/paymentsReleaseAuthorization.js.map +1 -1
  147. package/dist/commonjs/funcs/paymentsUpdate.d.ts +2 -0
  148. package/dist/commonjs/funcs/paymentsUpdate.d.ts.map +1 -1
  149. package/dist/commonjs/funcs/paymentsUpdate.js +3 -1
  150. package/dist/commonjs/funcs/paymentsUpdate.js.map +1 -1
  151. package/dist/commonjs/funcs/payoutsCancel.d.ts +2 -0
  152. package/dist/commonjs/funcs/payoutsCancel.d.ts.map +1 -1
  153. package/dist/commonjs/funcs/payoutsCancel.js +3 -1
  154. package/dist/commonjs/funcs/payoutsCancel.js.map +1 -1
  155. package/dist/commonjs/funcs/payoutsCreate.d.ts +2 -0
  156. package/dist/commonjs/funcs/payoutsCreate.d.ts.map +1 -1
  157. package/dist/commonjs/funcs/payoutsCreate.js +3 -5
  158. package/dist/commonjs/funcs/payoutsCreate.js.map +1 -1
  159. package/dist/commonjs/funcs/payoutsGet.d.ts +2 -0
  160. package/dist/commonjs/funcs/payoutsGet.d.ts.map +1 -1
  161. package/dist/commonjs/funcs/payoutsGet.js +3 -1
  162. package/dist/commonjs/funcs/payoutsGet.js.map +1 -1
  163. package/dist/commonjs/funcs/payoutsList.d.ts +2 -0
  164. package/dist/commonjs/funcs/payoutsList.d.ts.map +1 -1
  165. package/dist/commonjs/funcs/payoutsList.js +3 -1
  166. package/dist/commonjs/funcs/payoutsList.js.map +1 -1
  167. package/dist/commonjs/funcs/refundsAll.d.ts +2 -0
  168. package/dist/commonjs/funcs/refundsAll.d.ts.map +1 -1
  169. package/dist/commonjs/funcs/refundsAll.js +3 -1
  170. package/dist/commonjs/funcs/refundsAll.js.map +1 -1
  171. package/dist/commonjs/funcs/refundsCancel.d.ts +2 -0
  172. package/dist/commonjs/funcs/refundsCancel.d.ts.map +1 -1
  173. package/dist/commonjs/funcs/refundsCancel.js +3 -1
  174. package/dist/commonjs/funcs/refundsCancel.js.map +1 -1
  175. package/dist/commonjs/funcs/refundsCreate.d.ts +2 -0
  176. package/dist/commonjs/funcs/refundsCreate.d.ts.map +1 -1
  177. package/dist/commonjs/funcs/refundsCreate.js +3 -1
  178. package/dist/commonjs/funcs/refundsCreate.js.map +1 -1
  179. package/dist/commonjs/funcs/refundsGet.d.ts +2 -0
  180. package/dist/commonjs/funcs/refundsGet.d.ts.map +1 -1
  181. package/dist/commonjs/funcs/refundsGet.js +3 -1
  182. package/dist/commonjs/funcs/refundsGet.js.map +1 -1
  183. package/dist/commonjs/funcs/refundsList.d.ts +2 -0
  184. package/dist/commonjs/funcs/refundsList.d.ts.map +1 -1
  185. package/dist/commonjs/funcs/refundsList.js +3 -1
  186. package/dist/commonjs/funcs/refundsList.js.map +1 -1
  187. package/dist/commonjs/funcs/salesInvoicesCreate.d.ts +2 -0
  188. package/dist/commonjs/funcs/salesInvoicesCreate.d.ts.map +1 -1
  189. package/dist/commonjs/funcs/salesInvoicesCreate.js +3 -1
  190. package/dist/commonjs/funcs/salesInvoicesCreate.js.map +1 -1
  191. package/dist/commonjs/funcs/salesInvoicesDelete.d.ts +2 -0
  192. package/dist/commonjs/funcs/salesInvoicesDelete.d.ts.map +1 -1
  193. package/dist/commonjs/funcs/salesInvoicesDelete.js +3 -1
  194. package/dist/commonjs/funcs/salesInvoicesDelete.js.map +1 -1
  195. package/dist/commonjs/funcs/salesInvoicesGet.d.ts +2 -0
  196. package/dist/commonjs/funcs/salesInvoicesGet.d.ts.map +1 -1
  197. package/dist/commonjs/funcs/salesInvoicesGet.js +3 -1
  198. package/dist/commonjs/funcs/salesInvoicesGet.js.map +1 -1
  199. package/dist/commonjs/funcs/salesInvoicesList.d.ts +2 -0
  200. package/dist/commonjs/funcs/salesInvoicesList.d.ts.map +1 -1
  201. package/dist/commonjs/funcs/salesInvoicesList.js +3 -1
  202. package/dist/commonjs/funcs/salesInvoicesList.js.map +1 -1
  203. package/dist/commonjs/funcs/salesInvoicesUpdate.d.ts +2 -0
  204. package/dist/commonjs/funcs/salesInvoicesUpdate.d.ts.map +1 -1
  205. package/dist/commonjs/funcs/salesInvoicesUpdate.js +3 -1
  206. package/dist/commonjs/funcs/salesInvoicesUpdate.js.map +1 -1
  207. package/dist/commonjs/funcs/sessionsCreate.d.ts +2 -0
  208. package/dist/commonjs/funcs/sessionsCreate.d.ts.map +1 -1
  209. package/dist/commonjs/funcs/sessionsCreate.js +3 -1
  210. package/dist/commonjs/funcs/sessionsCreate.js.map +1 -1
  211. package/dist/commonjs/funcs/sessionsGet.d.ts +2 -0
  212. package/dist/commonjs/funcs/sessionsGet.d.ts.map +1 -1
  213. package/dist/commonjs/funcs/sessionsGet.js +3 -1
  214. package/dist/commonjs/funcs/sessionsGet.js.map +1 -1
  215. package/dist/commonjs/funcs/subscriptionsAll.d.ts +2 -0
  216. package/dist/commonjs/funcs/subscriptionsAll.d.ts.map +1 -1
  217. package/dist/commonjs/funcs/subscriptionsAll.js +3 -1
  218. package/dist/commonjs/funcs/subscriptionsAll.js.map +1 -1
  219. package/dist/commonjs/funcs/subscriptionsCancel.d.ts +2 -0
  220. package/dist/commonjs/funcs/subscriptionsCancel.d.ts.map +1 -1
  221. package/dist/commonjs/funcs/subscriptionsCancel.js +3 -1
  222. package/dist/commonjs/funcs/subscriptionsCancel.js.map +1 -1
  223. package/dist/commonjs/funcs/subscriptionsCreate.d.ts +2 -0
  224. package/dist/commonjs/funcs/subscriptionsCreate.d.ts.map +1 -1
  225. package/dist/commonjs/funcs/subscriptionsCreate.js +3 -1
  226. package/dist/commonjs/funcs/subscriptionsCreate.js.map +1 -1
  227. package/dist/commonjs/funcs/subscriptionsGet.d.ts +2 -0
  228. package/dist/commonjs/funcs/subscriptionsGet.d.ts.map +1 -1
  229. package/dist/commonjs/funcs/subscriptionsGet.js +3 -1
  230. package/dist/commonjs/funcs/subscriptionsGet.js.map +1 -1
  231. package/dist/commonjs/funcs/subscriptionsList.d.ts +2 -0
  232. package/dist/commonjs/funcs/subscriptionsList.d.ts.map +1 -1
  233. package/dist/commonjs/funcs/subscriptionsList.js +3 -1
  234. package/dist/commonjs/funcs/subscriptionsList.js.map +1 -1
  235. package/dist/commonjs/funcs/subscriptionsListPayments.d.ts +2 -0
  236. package/dist/commonjs/funcs/subscriptionsListPayments.d.ts.map +1 -1
  237. package/dist/commonjs/funcs/subscriptionsListPayments.js +3 -1
  238. package/dist/commonjs/funcs/subscriptionsListPayments.js.map +1 -1
  239. package/dist/commonjs/funcs/subscriptionsUpdate.d.ts +2 -0
  240. package/dist/commonjs/funcs/subscriptionsUpdate.d.ts.map +1 -1
  241. package/dist/commonjs/funcs/subscriptionsUpdate.js +3 -1
  242. package/dist/commonjs/funcs/subscriptionsUpdate.js.map +1 -1
  243. package/dist/commonjs/funcs/terminalsGet.d.ts +2 -0
  244. package/dist/commonjs/funcs/terminalsGet.d.ts.map +1 -1
  245. package/dist/commonjs/funcs/terminalsGet.js +3 -1
  246. package/dist/commonjs/funcs/terminalsGet.js.map +1 -1
  247. package/dist/commonjs/funcs/terminalsList.d.ts +2 -0
  248. package/dist/commonjs/funcs/terminalsList.d.ts.map +1 -1
  249. package/dist/commonjs/funcs/terminalsList.js +3 -1
  250. package/dist/commonjs/funcs/terminalsList.js.map +1 -1
  251. package/dist/commonjs/funcs/unmatchedCreditTransfersGet.d.ts +2 -0
  252. package/dist/commonjs/funcs/unmatchedCreditTransfersGet.d.ts.map +1 -1
  253. package/dist/commonjs/funcs/unmatchedCreditTransfersGet.js +3 -1
  254. package/dist/commonjs/funcs/unmatchedCreditTransfersGet.js.map +1 -1
  255. package/dist/commonjs/funcs/unmatchedCreditTransfersList.d.ts +2 -0
  256. package/dist/commonjs/funcs/unmatchedCreditTransfersList.d.ts.map +1 -1
  257. package/dist/commonjs/funcs/unmatchedCreditTransfersList.js +3 -1
  258. package/dist/commonjs/funcs/unmatchedCreditTransfersList.js.map +1 -1
  259. package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.d.ts +2 -0
  260. package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.d.ts.map +1 -1
  261. package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.js +3 -1
  262. package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.js.map +1 -1
  263. package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.d.ts +2 -0
  264. package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.d.ts.map +1 -1
  265. package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.js +3 -1
  266. package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.js.map +1 -1
  267. package/dist/commonjs/funcs/walletsRequestApplePaySession.d.ts +2 -0
  268. package/dist/commonjs/funcs/walletsRequestApplePaySession.d.ts.map +1 -1
  269. package/dist/commonjs/funcs/walletsRequestApplePaySession.js +3 -1
  270. package/dist/commonjs/funcs/walletsRequestApplePaySession.js.map +1 -1
  271. package/dist/commonjs/lib/config.d.ts +3 -3
  272. package/dist/commonjs/lib/config.js +3 -3
  273. package/dist/commonjs/models/operations/createpayout.d.ts +0 -23
  274. package/dist/commonjs/models/operations/createpayout.d.ts.map +1 -1
  275. package/dist/commonjs/models/operations/createpayout.js +0 -1
  276. package/dist/commonjs/models/operations/createpayout.js.map +1 -1
  277. package/dist/commonjs/models/operations/oauthgeneratetokens.d.ts +12 -0
  278. package/dist/commonjs/models/operations/oauthgeneratetokens.d.ts.map +1 -1
  279. package/dist/commonjs/models/operations/oauthgeneratetokens.js +10 -1
  280. package/dist/commonjs/models/operations/oauthgeneratetokens.js.map +1 -1
  281. package/dist/commonjs/models/operations/oauthrevoketokens.d.ts +12 -0
  282. package/dist/commonjs/models/operations/oauthrevoketokens.d.ts.map +1 -1
  283. package/dist/commonjs/models/operations/oauthrevoketokens.js +10 -1
  284. package/dist/commonjs/models/operations/oauthrevoketokens.js.map +1 -1
  285. package/dist/commonjs/sdk/oauth.d.ts +2 -2
  286. package/dist/commonjs/sdk/oauth.d.ts.map +1 -1
  287. package/dist/commonjs/sdk/oauth.js +4 -4
  288. package/dist/commonjs/sdk/oauth.js.map +1 -1
  289. package/dist/esm/funcs/capturesCreate.d.ts +2 -0
  290. package/dist/esm/funcs/capturesCreate.d.ts.map +1 -1
  291. package/dist/esm/funcs/capturesCreate.js +3 -1
  292. package/dist/esm/funcs/capturesCreate.js.map +1 -1
  293. package/dist/esm/funcs/capturesGet.d.ts +2 -0
  294. package/dist/esm/funcs/capturesGet.d.ts.map +1 -1
  295. package/dist/esm/funcs/capturesGet.js +3 -1
  296. package/dist/esm/funcs/capturesGet.js.map +1 -1
  297. package/dist/esm/funcs/capturesList.d.ts +2 -0
  298. package/dist/esm/funcs/capturesList.d.ts.map +1 -1
  299. package/dist/esm/funcs/capturesList.js +3 -1
  300. package/dist/esm/funcs/capturesList.js.map +1 -1
  301. package/dist/esm/funcs/chargebacksAll.d.ts +2 -0
  302. package/dist/esm/funcs/chargebacksAll.d.ts.map +1 -1
  303. package/dist/esm/funcs/chargebacksAll.js +3 -1
  304. package/dist/esm/funcs/chargebacksAll.js.map +1 -1
  305. package/dist/esm/funcs/chargebacksGet.d.ts +2 -0
  306. package/dist/esm/funcs/chargebacksGet.d.ts.map +1 -1
  307. package/dist/esm/funcs/chargebacksGet.js +3 -1
  308. package/dist/esm/funcs/chargebacksGet.js.map +1 -1
  309. package/dist/esm/funcs/chargebacksList.d.ts +2 -0
  310. package/dist/esm/funcs/chargebacksList.d.ts.map +1 -1
  311. package/dist/esm/funcs/chargebacksList.js +3 -1
  312. package/dist/esm/funcs/chargebacksList.js.map +1 -1
  313. package/dist/esm/funcs/customersCreate.d.ts +2 -0
  314. package/dist/esm/funcs/customersCreate.d.ts.map +1 -1
  315. package/dist/esm/funcs/customersCreate.js +3 -1
  316. package/dist/esm/funcs/customersCreate.js.map +1 -1
  317. package/dist/esm/funcs/customersCreatePayment.d.ts +2 -0
  318. package/dist/esm/funcs/customersCreatePayment.d.ts.map +1 -1
  319. package/dist/esm/funcs/customersCreatePayment.js +3 -1
  320. package/dist/esm/funcs/customersCreatePayment.js.map +1 -1
  321. package/dist/esm/funcs/customersDelete.d.ts +2 -0
  322. package/dist/esm/funcs/customersDelete.d.ts.map +1 -1
  323. package/dist/esm/funcs/customersDelete.js +3 -1
  324. package/dist/esm/funcs/customersDelete.js.map +1 -1
  325. package/dist/esm/funcs/customersGet.d.ts +2 -0
  326. package/dist/esm/funcs/customersGet.d.ts.map +1 -1
  327. package/dist/esm/funcs/customersGet.js +3 -1
  328. package/dist/esm/funcs/customersGet.js.map +1 -1
  329. package/dist/esm/funcs/customersList.d.ts +2 -0
  330. package/dist/esm/funcs/customersList.d.ts.map +1 -1
  331. package/dist/esm/funcs/customersList.js +3 -1
  332. package/dist/esm/funcs/customersList.js.map +1 -1
  333. package/dist/esm/funcs/customersListPayments.d.ts +2 -0
  334. package/dist/esm/funcs/customersListPayments.d.ts.map +1 -1
  335. package/dist/esm/funcs/customersListPayments.js +3 -1
  336. package/dist/esm/funcs/customersListPayments.js.map +1 -1
  337. package/dist/esm/funcs/customersUpdate.d.ts +2 -0
  338. package/dist/esm/funcs/customersUpdate.d.ts.map +1 -1
  339. package/dist/esm/funcs/customersUpdate.js +3 -1
  340. package/dist/esm/funcs/customersUpdate.js.map +1 -1
  341. package/dist/esm/funcs/delayedRoutingCreate.d.ts +2 -0
  342. package/dist/esm/funcs/delayedRoutingCreate.d.ts.map +1 -1
  343. package/dist/esm/funcs/delayedRoutingCreate.js +3 -1
  344. package/dist/esm/funcs/delayedRoutingCreate.js.map +1 -1
  345. package/dist/esm/funcs/delayedRoutingGet.d.ts +2 -0
  346. package/dist/esm/funcs/delayedRoutingGet.d.ts.map +1 -1
  347. package/dist/esm/funcs/delayedRoutingGet.js +3 -1
  348. package/dist/esm/funcs/delayedRoutingGet.js.map +1 -1
  349. package/dist/esm/funcs/delayedRoutingList.d.ts +2 -0
  350. package/dist/esm/funcs/delayedRoutingList.d.ts.map +1 -1
  351. package/dist/esm/funcs/delayedRoutingList.js +3 -1
  352. package/dist/esm/funcs/delayedRoutingList.js.map +1 -1
  353. package/dist/esm/funcs/mandatesCreate.d.ts +2 -0
  354. package/dist/esm/funcs/mandatesCreate.d.ts.map +1 -1
  355. package/dist/esm/funcs/mandatesCreate.js +3 -1
  356. package/dist/esm/funcs/mandatesCreate.js.map +1 -1
  357. package/dist/esm/funcs/mandatesGet.d.ts +2 -0
  358. package/dist/esm/funcs/mandatesGet.d.ts.map +1 -1
  359. package/dist/esm/funcs/mandatesGet.js +3 -1
  360. package/dist/esm/funcs/mandatesGet.js.map +1 -1
  361. package/dist/esm/funcs/mandatesList.d.ts +2 -0
  362. package/dist/esm/funcs/mandatesList.d.ts.map +1 -1
  363. package/dist/esm/funcs/mandatesList.js +3 -1
  364. package/dist/esm/funcs/mandatesList.js.map +1 -1
  365. package/dist/esm/funcs/mandatesRevoke.d.ts +2 -0
  366. package/dist/esm/funcs/mandatesRevoke.d.ts.map +1 -1
  367. package/dist/esm/funcs/mandatesRevoke.js +3 -1
  368. package/dist/esm/funcs/mandatesRevoke.js.map +1 -1
  369. package/dist/esm/funcs/methodsAll.d.ts +2 -0
  370. package/dist/esm/funcs/methodsAll.d.ts.map +1 -1
  371. package/dist/esm/funcs/methodsAll.js +3 -1
  372. package/dist/esm/funcs/methodsAll.js.map +1 -1
  373. package/dist/esm/funcs/methodsGet.d.ts +2 -0
  374. package/dist/esm/funcs/methodsGet.d.ts.map +1 -1
  375. package/dist/esm/funcs/methodsGet.js +3 -1
  376. package/dist/esm/funcs/methodsGet.js.map +1 -1
  377. package/dist/esm/funcs/methodsList.d.ts +2 -0
  378. package/dist/esm/funcs/methodsList.d.ts.map +1 -1
  379. package/dist/esm/funcs/methodsList.js +3 -1
  380. package/dist/esm/funcs/methodsList.js.map +1 -1
  381. package/dist/esm/funcs/oauthGenerate.d.ts +1 -3
  382. package/dist/esm/funcs/oauthGenerate.d.ts.map +1 -1
  383. package/dist/esm/funcs/oauthGenerate.js +11 -9
  384. package/dist/esm/funcs/oauthGenerate.js.map +1 -1
  385. package/dist/esm/funcs/oauthRevoke.d.ts +1 -3
  386. package/dist/esm/funcs/oauthRevoke.d.ts.map +1 -1
  387. package/dist/esm/funcs/oauthRevoke.js +11 -9
  388. package/dist/esm/funcs/oauthRevoke.js.map +1 -1
  389. package/dist/esm/funcs/paymentLinksCreate.d.ts +2 -0
  390. package/dist/esm/funcs/paymentLinksCreate.d.ts.map +1 -1
  391. package/dist/esm/funcs/paymentLinksCreate.js +3 -1
  392. package/dist/esm/funcs/paymentLinksCreate.js.map +1 -1
  393. package/dist/esm/funcs/paymentLinksDelete.d.ts +2 -0
  394. package/dist/esm/funcs/paymentLinksDelete.d.ts.map +1 -1
  395. package/dist/esm/funcs/paymentLinksDelete.js +3 -1
  396. package/dist/esm/funcs/paymentLinksDelete.js.map +1 -1
  397. package/dist/esm/funcs/paymentLinksGet.d.ts +2 -0
  398. package/dist/esm/funcs/paymentLinksGet.d.ts.map +1 -1
  399. package/dist/esm/funcs/paymentLinksGet.js +3 -1
  400. package/dist/esm/funcs/paymentLinksGet.js.map +1 -1
  401. package/dist/esm/funcs/paymentLinksList.d.ts +2 -0
  402. package/dist/esm/funcs/paymentLinksList.d.ts.map +1 -1
  403. package/dist/esm/funcs/paymentLinksList.js +3 -1
  404. package/dist/esm/funcs/paymentLinksList.js.map +1 -1
  405. package/dist/esm/funcs/paymentLinksListPayments.d.ts +2 -0
  406. package/dist/esm/funcs/paymentLinksListPayments.d.ts.map +1 -1
  407. package/dist/esm/funcs/paymentLinksListPayments.js +3 -1
  408. package/dist/esm/funcs/paymentLinksListPayments.js.map +1 -1
  409. package/dist/esm/funcs/paymentLinksUpdate.d.ts +2 -0
  410. package/dist/esm/funcs/paymentLinksUpdate.d.ts.map +1 -1
  411. package/dist/esm/funcs/paymentLinksUpdate.js +3 -1
  412. package/dist/esm/funcs/paymentLinksUpdate.js.map +1 -1
  413. package/dist/esm/funcs/paymentsCancel.d.ts +2 -0
  414. package/dist/esm/funcs/paymentsCancel.d.ts.map +1 -1
  415. package/dist/esm/funcs/paymentsCancel.js +3 -1
  416. package/dist/esm/funcs/paymentsCancel.js.map +1 -1
  417. package/dist/esm/funcs/paymentsCreate.d.ts +2 -0
  418. package/dist/esm/funcs/paymentsCreate.d.ts.map +1 -1
  419. package/dist/esm/funcs/paymentsCreate.js +3 -1
  420. package/dist/esm/funcs/paymentsCreate.js.map +1 -1
  421. package/dist/esm/funcs/paymentsGet.d.ts +2 -0
  422. package/dist/esm/funcs/paymentsGet.d.ts.map +1 -1
  423. package/dist/esm/funcs/paymentsGet.js +3 -1
  424. package/dist/esm/funcs/paymentsGet.js.map +1 -1
  425. package/dist/esm/funcs/paymentsList.d.ts +2 -0
  426. package/dist/esm/funcs/paymentsList.d.ts.map +1 -1
  427. package/dist/esm/funcs/paymentsList.js +3 -1
  428. package/dist/esm/funcs/paymentsList.js.map +1 -1
  429. package/dist/esm/funcs/paymentsReleaseAuthorization.d.ts +2 -0
  430. package/dist/esm/funcs/paymentsReleaseAuthorization.d.ts.map +1 -1
  431. package/dist/esm/funcs/paymentsReleaseAuthorization.js +3 -1
  432. package/dist/esm/funcs/paymentsReleaseAuthorization.js.map +1 -1
  433. package/dist/esm/funcs/paymentsUpdate.d.ts +2 -0
  434. package/dist/esm/funcs/paymentsUpdate.d.ts.map +1 -1
  435. package/dist/esm/funcs/paymentsUpdate.js +3 -1
  436. package/dist/esm/funcs/paymentsUpdate.js.map +1 -1
  437. package/dist/esm/funcs/payoutsCancel.d.ts +2 -0
  438. package/dist/esm/funcs/payoutsCancel.d.ts.map +1 -1
  439. package/dist/esm/funcs/payoutsCancel.js +3 -1
  440. package/dist/esm/funcs/payoutsCancel.js.map +1 -1
  441. package/dist/esm/funcs/payoutsCreate.d.ts +2 -0
  442. package/dist/esm/funcs/payoutsCreate.d.ts.map +1 -1
  443. package/dist/esm/funcs/payoutsCreate.js +4 -6
  444. package/dist/esm/funcs/payoutsCreate.js.map +1 -1
  445. package/dist/esm/funcs/payoutsGet.d.ts +2 -0
  446. package/dist/esm/funcs/payoutsGet.d.ts.map +1 -1
  447. package/dist/esm/funcs/payoutsGet.js +3 -1
  448. package/dist/esm/funcs/payoutsGet.js.map +1 -1
  449. package/dist/esm/funcs/payoutsList.d.ts +2 -0
  450. package/dist/esm/funcs/payoutsList.d.ts.map +1 -1
  451. package/dist/esm/funcs/payoutsList.js +3 -1
  452. package/dist/esm/funcs/payoutsList.js.map +1 -1
  453. package/dist/esm/funcs/refundsAll.d.ts +2 -0
  454. package/dist/esm/funcs/refundsAll.d.ts.map +1 -1
  455. package/dist/esm/funcs/refundsAll.js +3 -1
  456. package/dist/esm/funcs/refundsAll.js.map +1 -1
  457. package/dist/esm/funcs/refundsCancel.d.ts +2 -0
  458. package/dist/esm/funcs/refundsCancel.d.ts.map +1 -1
  459. package/dist/esm/funcs/refundsCancel.js +3 -1
  460. package/dist/esm/funcs/refundsCancel.js.map +1 -1
  461. package/dist/esm/funcs/refundsCreate.d.ts +2 -0
  462. package/dist/esm/funcs/refundsCreate.d.ts.map +1 -1
  463. package/dist/esm/funcs/refundsCreate.js +3 -1
  464. package/dist/esm/funcs/refundsCreate.js.map +1 -1
  465. package/dist/esm/funcs/refundsGet.d.ts +2 -0
  466. package/dist/esm/funcs/refundsGet.d.ts.map +1 -1
  467. package/dist/esm/funcs/refundsGet.js +3 -1
  468. package/dist/esm/funcs/refundsGet.js.map +1 -1
  469. package/dist/esm/funcs/refundsList.d.ts +2 -0
  470. package/dist/esm/funcs/refundsList.d.ts.map +1 -1
  471. package/dist/esm/funcs/refundsList.js +3 -1
  472. package/dist/esm/funcs/refundsList.js.map +1 -1
  473. package/dist/esm/funcs/salesInvoicesCreate.d.ts +2 -0
  474. package/dist/esm/funcs/salesInvoicesCreate.d.ts.map +1 -1
  475. package/dist/esm/funcs/salesInvoicesCreate.js +3 -1
  476. package/dist/esm/funcs/salesInvoicesCreate.js.map +1 -1
  477. package/dist/esm/funcs/salesInvoicesDelete.d.ts +2 -0
  478. package/dist/esm/funcs/salesInvoicesDelete.d.ts.map +1 -1
  479. package/dist/esm/funcs/salesInvoicesDelete.js +3 -1
  480. package/dist/esm/funcs/salesInvoicesDelete.js.map +1 -1
  481. package/dist/esm/funcs/salesInvoicesGet.d.ts +2 -0
  482. package/dist/esm/funcs/salesInvoicesGet.d.ts.map +1 -1
  483. package/dist/esm/funcs/salesInvoicesGet.js +3 -1
  484. package/dist/esm/funcs/salesInvoicesGet.js.map +1 -1
  485. package/dist/esm/funcs/salesInvoicesList.d.ts +2 -0
  486. package/dist/esm/funcs/salesInvoicesList.d.ts.map +1 -1
  487. package/dist/esm/funcs/salesInvoicesList.js +3 -1
  488. package/dist/esm/funcs/salesInvoicesList.js.map +1 -1
  489. package/dist/esm/funcs/salesInvoicesUpdate.d.ts +2 -0
  490. package/dist/esm/funcs/salesInvoicesUpdate.d.ts.map +1 -1
  491. package/dist/esm/funcs/salesInvoicesUpdate.js +3 -1
  492. package/dist/esm/funcs/salesInvoicesUpdate.js.map +1 -1
  493. package/dist/esm/funcs/sessionsCreate.d.ts +2 -0
  494. package/dist/esm/funcs/sessionsCreate.d.ts.map +1 -1
  495. package/dist/esm/funcs/sessionsCreate.js +3 -1
  496. package/dist/esm/funcs/sessionsCreate.js.map +1 -1
  497. package/dist/esm/funcs/sessionsGet.d.ts +2 -0
  498. package/dist/esm/funcs/sessionsGet.d.ts.map +1 -1
  499. package/dist/esm/funcs/sessionsGet.js +3 -1
  500. package/dist/esm/funcs/sessionsGet.js.map +1 -1
  501. package/dist/esm/funcs/subscriptionsAll.d.ts +2 -0
  502. package/dist/esm/funcs/subscriptionsAll.d.ts.map +1 -1
  503. package/dist/esm/funcs/subscriptionsAll.js +3 -1
  504. package/dist/esm/funcs/subscriptionsAll.js.map +1 -1
  505. package/dist/esm/funcs/subscriptionsCancel.d.ts +2 -0
  506. package/dist/esm/funcs/subscriptionsCancel.d.ts.map +1 -1
  507. package/dist/esm/funcs/subscriptionsCancel.js +3 -1
  508. package/dist/esm/funcs/subscriptionsCancel.js.map +1 -1
  509. package/dist/esm/funcs/subscriptionsCreate.d.ts +2 -0
  510. package/dist/esm/funcs/subscriptionsCreate.d.ts.map +1 -1
  511. package/dist/esm/funcs/subscriptionsCreate.js +3 -1
  512. package/dist/esm/funcs/subscriptionsCreate.js.map +1 -1
  513. package/dist/esm/funcs/subscriptionsGet.d.ts +2 -0
  514. package/dist/esm/funcs/subscriptionsGet.d.ts.map +1 -1
  515. package/dist/esm/funcs/subscriptionsGet.js +3 -1
  516. package/dist/esm/funcs/subscriptionsGet.js.map +1 -1
  517. package/dist/esm/funcs/subscriptionsList.d.ts +2 -0
  518. package/dist/esm/funcs/subscriptionsList.d.ts.map +1 -1
  519. package/dist/esm/funcs/subscriptionsList.js +3 -1
  520. package/dist/esm/funcs/subscriptionsList.js.map +1 -1
  521. package/dist/esm/funcs/subscriptionsListPayments.d.ts +2 -0
  522. package/dist/esm/funcs/subscriptionsListPayments.d.ts.map +1 -1
  523. package/dist/esm/funcs/subscriptionsListPayments.js +3 -1
  524. package/dist/esm/funcs/subscriptionsListPayments.js.map +1 -1
  525. package/dist/esm/funcs/subscriptionsUpdate.d.ts +2 -0
  526. package/dist/esm/funcs/subscriptionsUpdate.d.ts.map +1 -1
  527. package/dist/esm/funcs/subscriptionsUpdate.js +3 -1
  528. package/dist/esm/funcs/subscriptionsUpdate.js.map +1 -1
  529. package/dist/esm/funcs/terminalsGet.d.ts +2 -0
  530. package/dist/esm/funcs/terminalsGet.d.ts.map +1 -1
  531. package/dist/esm/funcs/terminalsGet.js +3 -1
  532. package/dist/esm/funcs/terminalsGet.js.map +1 -1
  533. package/dist/esm/funcs/terminalsList.d.ts +2 -0
  534. package/dist/esm/funcs/terminalsList.d.ts.map +1 -1
  535. package/dist/esm/funcs/terminalsList.js +3 -1
  536. package/dist/esm/funcs/terminalsList.js.map +1 -1
  537. package/dist/esm/funcs/unmatchedCreditTransfersGet.d.ts +2 -0
  538. package/dist/esm/funcs/unmatchedCreditTransfersGet.d.ts.map +1 -1
  539. package/dist/esm/funcs/unmatchedCreditTransfersGet.js +3 -1
  540. package/dist/esm/funcs/unmatchedCreditTransfersGet.js.map +1 -1
  541. package/dist/esm/funcs/unmatchedCreditTransfersList.d.ts +2 -0
  542. package/dist/esm/funcs/unmatchedCreditTransfersList.d.ts.map +1 -1
  543. package/dist/esm/funcs/unmatchedCreditTransfersList.js +3 -1
  544. package/dist/esm/funcs/unmatchedCreditTransfersList.js.map +1 -1
  545. package/dist/esm/funcs/unmatchedCreditTransfersMatch.d.ts +2 -0
  546. package/dist/esm/funcs/unmatchedCreditTransfersMatch.d.ts.map +1 -1
  547. package/dist/esm/funcs/unmatchedCreditTransfersMatch.js +3 -1
  548. package/dist/esm/funcs/unmatchedCreditTransfersMatch.js.map +1 -1
  549. package/dist/esm/funcs/unmatchedCreditTransfersReturn.d.ts +2 -0
  550. package/dist/esm/funcs/unmatchedCreditTransfersReturn.d.ts.map +1 -1
  551. package/dist/esm/funcs/unmatchedCreditTransfersReturn.js +3 -1
  552. package/dist/esm/funcs/unmatchedCreditTransfersReturn.js.map +1 -1
  553. package/dist/esm/funcs/walletsRequestApplePaySession.d.ts +2 -0
  554. package/dist/esm/funcs/walletsRequestApplePaySession.d.ts.map +1 -1
  555. package/dist/esm/funcs/walletsRequestApplePaySession.js +3 -1
  556. package/dist/esm/funcs/walletsRequestApplePaySession.js.map +1 -1
  557. package/dist/esm/lib/config.d.ts +3 -3
  558. package/dist/esm/lib/config.js +3 -3
  559. package/dist/esm/models/operations/createpayout.d.ts +0 -23
  560. package/dist/esm/models/operations/createpayout.d.ts.map +1 -1
  561. package/dist/esm/models/operations/createpayout.js +0 -1
  562. package/dist/esm/models/operations/createpayout.js.map +1 -1
  563. package/dist/esm/models/operations/oauthgeneratetokens.d.ts +12 -0
  564. package/dist/esm/models/operations/oauthgeneratetokens.d.ts.map +1 -1
  565. package/dist/esm/models/operations/oauthgeneratetokens.js +8 -0
  566. package/dist/esm/models/operations/oauthgeneratetokens.js.map +1 -1
  567. package/dist/esm/models/operations/oauthrevoketokens.d.ts +12 -0
  568. package/dist/esm/models/operations/oauthrevoketokens.d.ts.map +1 -1
  569. package/dist/esm/models/operations/oauthrevoketokens.js +8 -0
  570. package/dist/esm/models/operations/oauthrevoketokens.js.map +1 -1
  571. package/dist/esm/sdk/oauth.d.ts +2 -2
  572. package/dist/esm/sdk/oauth.d.ts.map +1 -1
  573. package/dist/esm/sdk/oauth.js +4 -4
  574. package/dist/esm/sdk/oauth.js.map +1 -1
  575. package/examples/oauthGenerate.example.ts +4 -5
  576. package/jsr.json +1 -1
  577. package/package.json +1 -1
  578. package/src/funcs/capturesCreate.ts +3 -1
  579. package/src/funcs/capturesGet.ts +3 -1
  580. package/src/funcs/capturesList.ts +3 -1
  581. package/src/funcs/chargebacksAll.ts +3 -1
  582. package/src/funcs/chargebacksGet.ts +3 -1
  583. package/src/funcs/chargebacksList.ts +3 -1
  584. package/src/funcs/customersCreate.ts +3 -1
  585. package/src/funcs/customersCreatePayment.ts +3 -1
  586. package/src/funcs/customersDelete.ts +3 -1
  587. package/src/funcs/customersGet.ts +3 -1
  588. package/src/funcs/customersList.ts +3 -1
  589. package/src/funcs/customersListPayments.ts +3 -1
  590. package/src/funcs/customersUpdate.ts +3 -1
  591. package/src/funcs/delayedRoutingCreate.ts +3 -1
  592. package/src/funcs/delayedRoutingGet.ts +3 -1
  593. package/src/funcs/delayedRoutingList.ts +3 -1
  594. package/src/funcs/mandatesCreate.ts +3 -1
  595. package/src/funcs/mandatesGet.ts +3 -1
  596. package/src/funcs/mandatesList.ts +3 -1
  597. package/src/funcs/mandatesRevoke.ts +3 -1
  598. package/src/funcs/methodsAll.ts +3 -1
  599. package/src/funcs/methodsGet.ts +3 -1
  600. package/src/funcs/methodsList.ts +3 -1
  601. package/src/funcs/oauthGenerate.ts +13 -6
  602. package/src/funcs/oauthRevoke.ts +13 -6
  603. package/src/funcs/paymentLinksCreate.ts +3 -1
  604. package/src/funcs/paymentLinksDelete.ts +3 -1
  605. package/src/funcs/paymentLinksGet.ts +3 -1
  606. package/src/funcs/paymentLinksList.ts +3 -1
  607. package/src/funcs/paymentLinksListPayments.ts +3 -1
  608. package/src/funcs/paymentLinksUpdate.ts +3 -1
  609. package/src/funcs/paymentsCancel.ts +3 -1
  610. package/src/funcs/paymentsCreate.ts +3 -1
  611. package/src/funcs/paymentsGet.ts +3 -1
  612. package/src/funcs/paymentsList.ts +3 -1
  613. package/src/funcs/paymentsReleaseAuthorization.ts +3 -1
  614. package/src/funcs/paymentsUpdate.ts +3 -1
  615. package/src/funcs/payoutsCancel.ts +3 -1
  616. package/src/funcs/payoutsCreate.ts +4 -7
  617. package/src/funcs/payoutsGet.ts +3 -1
  618. package/src/funcs/payoutsList.ts +3 -1
  619. package/src/funcs/refundsAll.ts +3 -1
  620. package/src/funcs/refundsCancel.ts +3 -1
  621. package/src/funcs/refundsCreate.ts +3 -1
  622. package/src/funcs/refundsGet.ts +3 -1
  623. package/src/funcs/refundsList.ts +3 -1
  624. package/src/funcs/salesInvoicesCreate.ts +3 -1
  625. package/src/funcs/salesInvoicesDelete.ts +3 -1
  626. package/src/funcs/salesInvoicesGet.ts +3 -1
  627. package/src/funcs/salesInvoicesList.ts +3 -1
  628. package/src/funcs/salesInvoicesUpdate.ts +3 -1
  629. package/src/funcs/sessionsCreate.ts +3 -1
  630. package/src/funcs/sessionsGet.ts +3 -1
  631. package/src/funcs/subscriptionsAll.ts +3 -1
  632. package/src/funcs/subscriptionsCancel.ts +3 -1
  633. package/src/funcs/subscriptionsCreate.ts +3 -1
  634. package/src/funcs/subscriptionsGet.ts +3 -1
  635. package/src/funcs/subscriptionsList.ts +3 -1
  636. package/src/funcs/subscriptionsListPayments.ts +3 -1
  637. package/src/funcs/subscriptionsUpdate.ts +3 -1
  638. package/src/funcs/terminalsGet.ts +3 -1
  639. package/src/funcs/terminalsList.ts +3 -1
  640. package/src/funcs/unmatchedCreditTransfersGet.ts +3 -1
  641. package/src/funcs/unmatchedCreditTransfersList.ts +3 -1
  642. package/src/funcs/unmatchedCreditTransfersMatch.ts +3 -1
  643. package/src/funcs/unmatchedCreditTransfersReturn.ts +3 -1
  644. package/src/funcs/walletsRequestApplePaySession.ts +3 -1
  645. package/src/lib/config.ts +3 -3
  646. package/src/models/operations/createpayout.ts +0 -25
  647. package/src/models/operations/oauthgeneratetokens.ts +31 -0
  648. package/src/models/operations/oauthrevoketokens.ts +29 -0
  649. package/src/sdk/oauth.ts +4 -0
@@ -34,6 +34,8 @@ import { Result } from "../types/fp.js";
34
34
  * @remarks
35
35
  * Retrieve a single mandate by its ID. Depending on the type of mandate, the object will contain the customer's bank
36
36
  * account details, card details, or PayPal account details.
37
+ *
38
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
37
39
  */
38
40
  export function mandatesGet(
39
41
  client: ClientCore,
@@ -120,7 +122,7 @@ async function $do(
120
122
  }));
121
123
 
122
124
  const securityInput = await extractSecurity(client._options.security);
123
- const requestSecurity = resolveGlobalSecurity(securityInput);
125
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
124
126
 
125
127
  const context = {
126
128
  options: client._options,
@@ -42,6 +42,8 @@ import {
42
42
  * Retrieve a list of all mandates.
43
43
  *
44
44
  * The results are paginated.
45
+ *
46
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
45
47
  */
46
48
  export function mandatesList(
47
49
  client: ClientCore,
@@ -136,7 +138,7 @@ async function $do(
136
138
  }));
137
139
 
138
140
  const securityInput = await extractSecurity(client._options.security);
139
- const requestSecurity = resolveGlobalSecurity(securityInput);
141
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
140
142
 
141
143
  const context = {
142
144
  options: client._options,
@@ -34,6 +34,8 @@ import { Result } from "../types/fp.js";
34
34
  * @remarks
35
35
  * Revoke a customer's mandate. You will no longer be able to charge the customer's bank account or card with this
36
36
  * mandate, and all connected subscriptions will be canceled.
37
+ *
38
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
37
39
  */
38
40
  export function mandatesRevoke(
39
41
  client: ClientCore,
@@ -117,7 +119,7 @@ async function $do(
117
119
  }));
118
120
 
119
121
  const securityInput = await extractSecurity(client._options.security);
120
- const requestSecurity = resolveGlobalSecurity(securityInput);
122
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
121
123
 
122
124
  const context = {
123
125
  options: client._options,
@@ -43,6 +43,8 @@ import { Result } from "../types/fp.js";
43
43
  *
44
44
  * ℹ️ **Note:** This endpoint only returns **online** payment methods. If you wish to retrieve the information about
45
45
  * a non-online payment method, you can use the [Get payment method endpoint](get-method).
46
+ *
47
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
46
48
  */
47
49
  export function methodsAll(
48
50
  client: ClientCore,
@@ -127,7 +129,7 @@ async function $do(
127
129
  }));
128
130
 
129
131
  const securityInput = await extractSecurity(client._options.security);
130
- const requestSecurity = resolveGlobalSecurity(securityInput);
132
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
131
133
 
132
134
  const context = {
133
135
  options: client._options,
@@ -44,6 +44,8 @@ import { Result } from "../types/fp.js";
44
44
  *
45
45
  * Additionally, it is possible to check if wallet methods such as Apple Pay
46
46
  * are enabled by passing the wallet ID (`applepay`) as the method ID.
47
+ *
48
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
47
49
  */
48
50
  export function methodsGet(
49
51
  client: ClientCore,
@@ -129,7 +131,7 @@ async function $do(
129
131
  }));
130
132
 
131
133
  const securityInput = await extractSecurity(client._options.security);
132
- const requestSecurity = resolveGlobalSecurity(securityInput);
134
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
133
135
 
134
136
  const context = {
135
137
  options: client._options,
@@ -55,6 +55,8 @@ import { Result } from "../types/fp.js";
55
55
  *
56
56
  * ℹ️ **Note:** This endpoint only returns **online** payment methods. If you wish to retrieve the information about
57
57
  * a non-online payment method, you can use the [Get payment method endpoint](get-method).
58
+ *
59
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
58
60
  */
59
61
  export function methodsList(
60
62
  client: ClientCore,
@@ -143,7 +145,7 @@ async function $do(
143
145
  }));
144
146
 
145
147
  const securityInput = await extractSecurity(client._options.security);
146
- const requestSecurity = resolveGlobalSecurity(securityInput);
148
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
147
149
 
148
150
  const context = {
149
151
  options: client._options,
@@ -10,7 +10,7 @@ import * as M from "../lib/matchers.js";
10
10
  import { compactMap } from "../lib/primitives.js";
11
11
  import { safeParse } from "../lib/schemas.js";
12
12
  import { RequestOptions } from "../lib/sdks.js";
13
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
+ import { resolveSecurity } from "../lib/security.js";
14
14
  import { pathToFunc } from "../lib/url.js";
15
15
  import { ClientError } from "../models/errors/clienterror.js";
16
16
  import {
@@ -35,11 +35,10 @@ import { Result } from "../types/fp.js";
35
35
  * API credential, with which you can communicate with the Mollie API on behalf of the consenting merchant.
36
36
  *
37
37
  * This endpoint can only be accessed using **OAuth client credentials**.
38
- *
39
- * If set, this operation will use {@link Security.oAuth} from the global security.
40
38
  */
41
39
  export function oauthGenerate(
42
40
  client: ClientCore,
41
+ security: operations.OauthGenerateTokensSecurity,
43
42
  request?: operations.OauthGenerateTokensRequest | undefined,
44
43
  options?: RequestOptions,
45
44
  ): APIPromise<
@@ -57,6 +56,7 @@ export function oauthGenerate(
57
56
  > {
58
57
  return new APIPromise($do(
59
58
  client,
59
+ security,
60
60
  request,
61
61
  options,
62
62
  ));
@@ -64,6 +64,7 @@ export function oauthGenerate(
64
64
 
65
65
  async function $do(
66
66
  client: ClientCore,
67
+ security: operations.OauthGenerateTokensSecurity,
67
68
  request?: operations.OauthGenerateTokensRequest | undefined,
68
69
  options?: RequestOptions,
69
70
  ): Promise<
@@ -113,8 +114,14 @@ async function $do(
113
114
  ),
114
115
  }));
115
116
 
116
- const securityInput = await extractSecurity(client._options.security);
117
- const requestSecurity = resolveGlobalSecurity(securityInput, [2]);
117
+ const requestSecurity = resolveSecurity(
118
+ [
119
+ {
120
+ type: "http:basic",
121
+ value: { username: security?.username, password: security?.password },
122
+ },
123
+ ],
124
+ );
118
125
 
119
126
  const context = {
120
127
  options: client._options,
@@ -124,7 +131,7 @@ async function $do(
124
131
 
125
132
  resolvedSecurity: requestSecurity,
126
133
 
127
- securitySource: client._options.security,
134
+ securitySource: security,
128
135
  retryConfig: options?.retries
129
136
  || client._options.retryConfig
130
137
  || {
@@ -11,7 +11,7 @@ import * as M from "../lib/matchers.js";
11
11
  import { compactMap } from "../lib/primitives.js";
12
12
  import { safeParse } from "../lib/schemas.js";
13
13
  import { RequestOptions } from "../lib/sdks.js";
14
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
14
+ import { resolveSecurity } from "../lib/security.js";
15
15
  import { pathToFunc } from "../lib/url.js";
16
16
  import { ClientError } from "../models/errors/clienterror.js";
17
17
  import {
@@ -37,11 +37,10 @@ import { Result } from "../types/fp.js";
37
37
  * Revoking a refresh token revokes all access tokens that were created using the same authorization.
38
38
  *
39
39
  * This endpoint can only be accessed using **OAuth client credentials**.
40
- *
41
- * If set, this operation will use {@link Security.oAuth} from the global security.
42
40
  */
43
41
  export function oauthRevoke(
44
42
  client: ClientCore,
43
+ security: operations.OauthRevokeTokensSecurity,
45
44
  request?: operations.OauthRevokeTokensRequest | undefined,
46
45
  options?: RequestOptions,
47
46
  ): APIPromise<
@@ -59,6 +58,7 @@ export function oauthRevoke(
59
58
  > {
60
59
  return new APIPromise($do(
61
60
  client,
61
+ security,
62
62
  request,
63
63
  options,
64
64
  ));
@@ -66,6 +66,7 @@ export function oauthRevoke(
66
66
 
67
67
  async function $do(
68
68
  client: ClientCore,
69
+ security: operations.OauthRevokeTokensSecurity,
69
70
  request?: operations.OauthRevokeTokensRequest | undefined,
70
71
  options?: RequestOptions,
71
72
  ): Promise<
@@ -115,8 +116,14 @@ async function $do(
115
116
  ),
116
117
  }));
117
118
 
118
- const securityInput = await extractSecurity(client._options.security);
119
- const requestSecurity = resolveGlobalSecurity(securityInput, [2]);
119
+ const requestSecurity = resolveSecurity(
120
+ [
121
+ {
122
+ type: "http:basic",
123
+ value: { username: security?.username, password: security?.password },
124
+ },
125
+ ],
126
+ );
120
127
 
121
128
  const context = {
122
129
  options: client._options,
@@ -126,7 +133,7 @@ async function $do(
126
133
 
127
134
  resolvedSecurity: requestSecurity,
128
135
 
129
- securitySource: client._options.security,
136
+ securitySource: security,
130
137
  retryConfig: options?.retries
131
138
  || client._options.retryConfig
132
139
  || {
@@ -35,6 +35,8 @@ import { Result } from "../types/fp.js";
35
35
  * With the Payment links API you can generate payment links that by default, unlike regular payments, do not expire.
36
36
  * The payment link can be shared with your customers and will redirect them to them the payment page where they can
37
37
  * complete the payment. A [payment](get-payment) will only be created once the customer initiates the payment.
38
+ *
39
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
38
40
  */
39
41
  export function paymentLinksCreate(
40
42
  client: ClientCore,
@@ -109,7 +111,7 @@ async function $do(
109
111
  }));
110
112
 
111
113
  const securityInput = await extractSecurity(client._options.security);
112
- const requestSecurity = resolveGlobalSecurity(securityInput);
114
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
113
115
 
114
116
  const context = {
115
117
  options: client._options,
@@ -39,6 +39,8 @@ import { Result } from "../types/fp.js";
39
39
  *
40
40
  * To simply disable a payment link without fully deleting it, you can use the `archived` parameter on the
41
41
  * [Update payment link](update-payment-link) endpoint instead.
42
+ *
43
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
42
44
  */
43
45
  export function paymentLinksDelete(
44
46
  client: ClientCore,
@@ -116,7 +118,7 @@ async function $do(
116
118
  }));
117
119
 
118
120
  const securityInput = await extractSecurity(client._options.security);
119
- const requestSecurity = resolveGlobalSecurity(securityInput);
121
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
120
122
 
121
123
  const context = {
122
124
  options: client._options,
@@ -33,6 +33,8 @@ import { Result } from "../types/fp.js";
33
33
  *
34
34
  * @remarks
35
35
  * Retrieve a single payment link by its ID.
36
+ *
37
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
36
38
  */
37
39
  export function paymentLinksGet(
38
40
  client: ClientCore,
@@ -113,7 +115,7 @@ async function $do(
113
115
  }));
114
116
 
115
117
  const securityInput = await extractSecurity(client._options.security);
116
- const requestSecurity = resolveGlobalSecurity(securityInput);
118
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
117
119
 
118
120
  const context = {
119
121
  options: client._options,
@@ -42,6 +42,8 @@ import {
42
42
  * Retrieve a list of all payment links.
43
43
  *
44
44
  * The results are paginated.
45
+ *
46
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
45
47
  */
46
48
  export function paymentLinksList(
47
49
  client: ClientCore,
@@ -129,7 +131,7 @@ async function $do(
129
131
  }));
130
132
 
131
133
  const securityInput = await extractSecurity(client._options.security);
132
- const requestSecurity = resolveGlobalSecurity(securityInput);
134
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
133
135
 
134
136
  const context = {
135
137
  options: client._options,
@@ -42,6 +42,8 @@ import {
42
42
  * Retrieve the list of payments for a specific payment link.
43
43
  *
44
44
  * The results are paginated.
45
+ *
46
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
45
47
  */
46
48
  export function paymentLinksListPayments(
47
49
  client: ClientCore,
@@ -136,7 +138,7 @@ async function $do(
136
138
  }));
137
139
 
138
140
  const securityInput = await extractSecurity(client._options.security);
139
- const requestSecurity = resolveGlobalSecurity(securityInput);
141
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
140
142
 
141
143
  const context = {
142
144
  options: client._options,
@@ -33,6 +33,8 @@ import { Result } from "../types/fp.js";
33
33
  *
34
34
  * @remarks
35
35
  * Certain details of an existing payment link can be updated.
36
+ *
37
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
36
38
  */
37
39
  export function paymentLinksUpdate(
38
40
  client: ClientCore,
@@ -110,7 +112,7 @@ async function $do(
110
112
  }));
111
113
 
112
114
  const securityInput = await extractSecurity(client._options.security);
113
- const requestSecurity = resolveGlobalSecurity(securityInput);
115
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
114
116
 
115
117
  const context = {
116
118
  options: client._options,
@@ -38,6 +38,8 @@ import { Result } from "../types/fp.js";
38
38
  * Payments may also be canceled manually from the Mollie Dashboard.
39
39
  *
40
40
  * The `isCancelable` property on the [Payment object](get-payment) will indicate if the payment can be canceled.
41
+ *
42
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
41
43
  */
42
44
  export function paymentsCancel(
43
45
  client: ClientCore,
@@ -115,7 +117,7 @@ async function $do(
115
117
  }));
116
118
 
117
119
  const securityInput = await extractSecurity(client._options.security);
118
- const requestSecurity = resolveGlobalSecurity(securityInput);
120
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
119
121
 
120
122
  const context = {
121
123
  options: client._options,
@@ -44,6 +44,8 @@ import { Result } from "../types/fp.js";
44
44
  * If you specify the `method` parameter when creating a payment, optional
45
45
  * additional parameters may be available for the payment method that are not listed below. Please refer to the
46
46
  * guide on [method-specific parameters](extra-payment-parameters).
47
+ *
48
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
47
49
  */
48
50
  export function paymentsCreate(
49
51
  client: ClientCore,
@@ -122,7 +124,7 @@ async function $do(
122
124
  }));
123
125
 
124
126
  const securityInput = await extractSecurity(client._options.security);
125
- const requestSecurity = resolveGlobalSecurity(securityInput);
127
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
126
128
 
127
129
  const context = {
128
130
  options: client._options,
@@ -33,6 +33,8 @@ import { Result } from "../types/fp.js";
33
33
  *
34
34
  * @remarks
35
35
  * Retrieve a single payment object by its payment ID.
36
+ *
37
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
36
38
  */
37
39
  export function paymentsGet(
38
40
  client: ClientCore,
@@ -115,7 +117,7 @@ async function $do(
115
117
  }));
116
118
 
117
119
  const securityInput = await extractSecurity(client._options.security);
118
- const requestSecurity = resolveGlobalSecurity(securityInput);
120
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
119
121
 
120
122
  const context = {
121
123
  options: client._options,
@@ -42,6 +42,8 @@ import {
42
42
  * Retrieve all payments created with the current website profile.
43
43
  *
44
44
  * The results are paginated.
45
+ *
46
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
45
47
  */
46
48
  export function paymentsList(
47
49
  client: ClientCore,
@@ -131,7 +133,7 @@ async function $do(
131
133
  }));
132
134
 
133
135
  const securityInput = await extractSecurity(client._options.security);
134
- const requestSecurity = resolveGlobalSecurity(securityInput);
136
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
135
137
 
136
138
  const context = {
137
139
  options: client._options,
@@ -40,6 +40,8 @@ import { Result } from "../types/fp.js";
40
40
  *
41
41
  * If the request does succeed, the payment status will change to `canceled` for payments without captures.
42
42
  * If there is a successful capture, the payment will transition to `paid`.
43
+ *
44
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
43
45
  */
44
46
  export function paymentsReleaseAuthorization(
45
47
  client: ClientCore,
@@ -120,7 +122,7 @@ async function $do(
120
122
  }));
121
123
 
122
124
  const securityInput = await extractSecurity(client._options.security);
123
- const requestSecurity = resolveGlobalSecurity(securityInput);
125
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
124
126
 
125
127
  const context = {
126
128
  options: client._options,
@@ -35,6 +35,8 @@ import { Result } from "../types/fp.js";
35
35
  * Certain details of an existing payment can be updated.
36
36
  *
37
37
  * Updating the payment details will not result in a webhook call.
38
+ *
39
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
38
40
  */
39
41
  export function paymentsUpdate(
40
42
  client: ClientCore,
@@ -112,7 +114,7 @@ async function $do(
112
114
  }));
113
115
 
114
116
  const securityInput = await extractSecurity(client._options.security);
115
- const requestSecurity = resolveGlobalSecurity(securityInput);
117
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
116
118
 
117
119
  const context = {
118
120
  options: client._options,
@@ -36,6 +36,8 @@ import { Result } from "../types/fp.js";
36
36
  * to `initiated`, it is too late to cancel.
37
37
  *
38
38
  * The canceled payout object is returned with the status set to `canceled`.
39
+ *
40
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
39
41
  */
40
42
  export function payoutsCancel(
41
43
  client: ClientCore,
@@ -116,7 +118,7 @@ async function $do(
116
118
  }));
117
119
 
118
120
  const securityInput = await extractSecurity(client._options.security);
119
- const requestSecurity = resolveGlobalSecurity(securityInput);
121
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
120
122
 
121
123
  const context = {
122
124
  options: client._options,
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { ClientCore } from "../core.js";
7
- import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js";
7
+ import { encodeJSON, encodeSimple } from "../lib/encodings.js";
8
8
  import { matchStatusCode } from "../lib/http.js";
9
9
  import * as M from "../lib/matchers.js";
10
10
  import { compactMap } from "../lib/primitives.js";
@@ -68,6 +68,8 @@ import { Result } from "../types/fp.js";
68
68
  * - The balance has queued refunds.
69
69
  * - One of the organization's balances is below the negative balance threshold.
70
70
  * - The payout destination (bank account) is invalid or not configured.
71
+ *
72
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
71
73
  */
72
74
  export function payoutsCreate(
73
75
  client: ClientCore,
@@ -128,10 +130,6 @@ async function $do(
128
130
 
129
131
  const path = pathToFunc("/v2/payouts")();
130
132
 
131
- const query = encodeFormQuery({
132
- "testmode": payload.testmode ?? client._options.testmode,
133
- });
134
-
135
133
  const headers = new Headers(compactMap({
136
134
  "Content-Type": "application/json",
137
135
  Accept: "application/hal+json",
@@ -143,7 +141,7 @@ async function $do(
143
141
  }));
144
142
 
145
143
  const securityInput = await extractSecurity(client._options.security);
146
- const requestSecurity = resolveGlobalSecurity(securityInput);
144
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
147
145
 
148
146
  const context = {
149
147
  options: client._options,
@@ -176,7 +174,6 @@ async function $do(
176
174
  baseURL: options?.serverURL,
177
175
  path: path,
178
176
  headers: headers,
179
- query: query,
180
177
  body: body,
181
178
  userAgent: client._options.userAgent,
182
179
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
@@ -33,6 +33,8 @@ import { Result } from "../types/fp.js";
33
33
  *
34
34
  * @remarks
35
35
  * Retrieve a single payout by its ID.
36
+ *
37
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
36
38
  */
37
39
  export function payoutsGet(
38
40
  client: ClientCore,
@@ -113,7 +115,7 @@ async function $do(
113
115
  }));
114
116
 
115
117
  const securityInput = await extractSecurity(client._options.security);
116
- const requestSecurity = resolveGlobalSecurity(securityInput);
118
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
117
119
 
118
120
  const context = {
119
121
  options: client._options,
@@ -46,6 +46,8 @@ import {
46
46
  *
47
47
  * The results are paginated. Use the `from` query parameter together with `_links.next` to iterate through
48
48
  * the full result set.
49
+ *
50
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
49
51
  */
50
52
  export function payoutsList(
51
53
  client: ClientCore,
@@ -135,7 +137,7 @@ async function $do(
135
137
  }));
136
138
 
137
139
  const securityInput = await extractSecurity(client._options.security);
138
- const requestSecurity = resolveGlobalSecurity(securityInput);
140
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
139
141
 
140
142
  const context = {
141
143
  options: client._options,
@@ -42,6 +42,8 @@ import {
42
42
  * Retrieve a list of all of your refunds.
43
43
  *
44
44
  * The results are paginated.
45
+ *
46
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
45
47
  */
46
48
  export function refundsAll(
47
49
  client: ClientCore,
@@ -132,7 +134,7 @@ async function $do(
132
134
  }));
133
135
 
134
136
  const securityInput = await extractSecurity(client._options.security);
135
- const requestSecurity = resolveGlobalSecurity(securityInput);
137
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
136
138
 
137
139
  const context = {
138
140
  options: client._options,
@@ -37,6 +37,8 @@ import { Result } from "../types/fp.js";
37
37
  *
38
38
  * A refund can only be canceled while its `status` field is either `queued` or `pending`. See the
39
39
  * [Get refund endpoint](get-refund) for more information.
40
+ *
41
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
40
42
  */
41
43
  export function refundsCancel(
42
44
  client: ClientCore,
@@ -123,7 +125,7 @@ async function $do(
123
125
  }));
124
126
 
125
127
  const securityInput = await extractSecurity(client._options.security);
126
- const requestSecurity = resolveGlobalSecurity(securityInput);
128
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
127
129
 
128
130
  const context = {
129
131
  options: client._options,
@@ -34,6 +34,8 @@ import { Result } from "../types/fp.js";
34
34
  * @remarks
35
35
  * Creates a refund for a specific payment. The refunded amount is credited to your customer usually either via a bank
36
36
  * transfer or by refunding the amount to your customer's credit card.
37
+ *
38
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
37
39
  */
38
40
  export function refundsCreate(
39
41
  client: ClientCore,
@@ -111,7 +113,7 @@ async function $do(
111
113
  }));
112
114
 
113
115
  const securityInput = await extractSecurity(client._options.security);
114
- const requestSecurity = resolveGlobalSecurity(securityInput);
116
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
115
117
 
116
118
  const context = {
117
119
  options: client._options,
@@ -33,6 +33,8 @@ import { Result } from "../types/fp.js";
33
33
  *
34
34
  * @remarks
35
35
  * Retrieve a single payment refund by its ID and the ID of its parent payment.
36
+ *
37
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
36
38
  */
37
39
  export function refundsGet(
38
40
  client: ClientCore,
@@ -120,7 +122,7 @@ async function $do(
120
122
  }));
121
123
 
122
124
  const securityInput = await extractSecurity(client._options.security);
123
- const requestSecurity = resolveGlobalSecurity(securityInput);
125
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
124
126
 
125
127
  const context = {
126
128
  options: client._options,
@@ -42,6 +42,8 @@ import {
42
42
  * Retrieve a list of all refunds created for a specific payment.
43
43
  *
44
44
  * The results are paginated.
45
+ *
46
+ * If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
45
47
  */
46
48
  export function refundsList(
47
49
  client: ClientCore,
@@ -135,7 +137,7 @@ async function $do(
135
137
  }));
136
138
 
137
139
  const securityInput = await extractSecurity(client._options.security);
138
- const requestSecurity = resolveGlobalSecurity(securityInput);
140
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
139
141
 
140
142
  const context = {
141
143
  options: client._options,