mollie-api-typescript 1.1.2 → 1.1.5

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 (259) hide show
  1. package/README.md +16 -12
  2. package/bin/mcp-server.js +10 -6
  3. package/bin/mcp-server.js.map +75 -75
  4. package/dist/commonjs/lib/config.d.ts +3 -3
  5. package/dist/commonjs/lib/config.js +3 -3
  6. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  7. package/dist/commonjs/mcp-server/server.js +1 -1
  8. package/dist/commonjs/models/deletevaluessalesinvoice.d.ts +3 -2
  9. package/dist/commonjs/models/deletevaluessalesinvoice.d.ts.map +1 -1
  10. package/dist/commonjs/models/deletevaluessalesinvoice.js.map +1 -1
  11. package/dist/commonjs/models/entitycustomer.d.ts +2 -2
  12. package/dist/commonjs/models/listsalesinvoiceresponse.d.ts +11 -0
  13. package/dist/commonjs/models/listsalesinvoiceresponse.d.ts.map +1 -1
  14. package/dist/commonjs/models/listsalesinvoiceresponse.js +2 -0
  15. package/dist/commonjs/models/listsalesinvoiceresponse.js.map +1 -1
  16. package/dist/commonjs/models/mandaterequest.d.ts +2 -2
  17. package/dist/commonjs/models/operations/cancelpayment.d.ts +2 -2
  18. package/dist/commonjs/models/operations/cancelrefund.d.ts +2 -2
  19. package/dist/commonjs/models/operations/cancelsubscription.d.ts +3 -2
  20. package/dist/commonjs/models/operations/cancelsubscription.d.ts.map +1 -1
  21. package/dist/commonjs/models/operations/cancelsubscription.js.map +1 -1
  22. package/dist/commonjs/models/operations/createpaymentlink.d.ts +3 -3
  23. package/dist/commonjs/models/operations/deletecustomer.d.ts +3 -2
  24. package/dist/commonjs/models/operations/deletecustomer.d.ts.map +1 -1
  25. package/dist/commonjs/models/operations/deletecustomer.js.map +1 -1
  26. package/dist/commonjs/models/operations/deletepaymentlink.d.ts +3 -2
  27. package/dist/commonjs/models/operations/deletepaymentlink.d.ts.map +1 -1
  28. package/dist/commonjs/models/operations/deletepaymentlink.js.map +1 -1
  29. package/dist/commonjs/models/operations/getbalance.d.ts +1 -1
  30. package/dist/commonjs/models/operations/getbalancereport.d.ts +1 -1
  31. package/dist/commonjs/models/operations/getcapture.d.ts +2 -2
  32. package/dist/commonjs/models/operations/getchargeback.d.ts +2 -2
  33. package/dist/commonjs/models/operations/getconnectbalancetransfer.d.ts +1 -1
  34. package/dist/commonjs/models/operations/getcustomer.d.ts +2 -2
  35. package/dist/commonjs/models/operations/getmandate.d.ts +2 -2
  36. package/dist/commonjs/models/operations/getmethod.d.ts +4 -4
  37. package/dist/commonjs/models/operations/getorganization.d.ts +1 -1
  38. package/dist/commonjs/models/operations/getpayment.d.ts +2 -2
  39. package/dist/commonjs/models/operations/getpaymentlink.d.ts +2 -2
  40. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +2 -2
  41. package/dist/commonjs/models/operations/getpermission.d.ts +1 -1
  42. package/dist/commonjs/models/operations/getprofile.d.ts +1 -1
  43. package/dist/commonjs/models/operations/getrefund.d.ts +2 -2
  44. package/dist/commonjs/models/operations/getsalesinvoice.d.ts +2 -2
  45. package/dist/commonjs/models/operations/getsubscription.d.ts +2 -2
  46. package/dist/commonjs/models/operations/getterminal.d.ts +2 -2
  47. package/dist/commonjs/models/operations/getwebhook.d.ts +1 -1
  48. package/dist/commonjs/models/operations/getwebhookevent.d.ts +1 -1
  49. package/dist/commonjs/models/operations/listallchargebacks.d.ts +3 -3
  50. package/dist/commonjs/models/operations/listallmethods.d.ts +4 -4
  51. package/dist/commonjs/models/operations/listallrefunds.d.ts +4 -4
  52. package/dist/commonjs/models/operations/listallsubscriptions.d.ts +3 -3
  53. package/dist/commonjs/models/operations/listbalances.d.ts +1 -1
  54. package/dist/commonjs/models/operations/listbalancetransactions.d.ts +1 -1
  55. package/dist/commonjs/models/operations/listcaptures.d.ts +2 -2
  56. package/dist/commonjs/models/operations/listchargebacks.d.ts +2 -2
  57. package/dist/commonjs/models/operations/listconnectbalancetransfers.d.ts +1 -1
  58. package/dist/commonjs/models/operations/listcustomerpayments.d.ts +4 -4
  59. package/dist/commonjs/models/operations/listcustomers.d.ts +2 -2
  60. package/dist/commonjs/models/operations/listmandates.d.ts +2 -2
  61. package/dist/commonjs/models/operations/listmethods.d.ts +4 -4
  62. package/dist/commonjs/models/operations/listpaymentlinks.d.ts +2 -2
  63. package/dist/commonjs/models/operations/listpayments.d.ts +4 -4
  64. package/dist/commonjs/models/operations/listrefunds.d.ts +2 -2
  65. package/dist/commonjs/models/operations/listsalesinvoices.d.ts +2 -2
  66. package/dist/commonjs/models/operations/listsettlementcaptures.d.ts +2 -2
  67. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +2 -2
  68. package/dist/commonjs/models/operations/listsettlementpayments.d.ts +4 -4
  69. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +2 -2
  70. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +4 -4
  71. package/dist/commonjs/models/operations/listsubscriptions.d.ts +2 -2
  72. package/dist/commonjs/models/operations/listterminals.d.ts +2 -2
  73. package/dist/commonjs/models/operations/listwebhooks.d.ts +1 -1
  74. package/dist/commonjs/models/operations/paymentlistroutes.d.ts +2 -2
  75. package/dist/commonjs/models/operations/releaseauthorization.d.ts +2 -2
  76. package/dist/commonjs/models/operations/revokemandate.d.ts +3 -2
  77. package/dist/commonjs/models/operations/revokemandate.d.ts.map +1 -1
  78. package/dist/commonjs/models/operations/revokemandate.js.map +1 -1
  79. package/dist/commonjs/models/operations/updatecustomer.d.ts +2 -2
  80. package/dist/commonjs/models/operations/updatepayment.d.ts +2 -2
  81. package/dist/commonjs/models/operations/updatepaymentlink.d.ts +2 -2
  82. package/dist/commonjs/models/operations/updatesalesinvoice.d.ts +2 -2
  83. package/dist/commonjs/models/operations/updatesubscription.d.ts +2 -2
  84. package/dist/commonjs/models/operations/updatewebhook.d.ts +2 -2
  85. package/dist/commonjs/models/paymentlinkresponse.d.ts +1 -1
  86. package/dist/commonjs/models/paymentrequest.d.ts +2 -2
  87. package/dist/commonjs/models/refundrequest.d.ts +2 -2
  88. package/dist/commonjs/models/salesinvoicerequest.d.ts +3 -3
  89. package/dist/commonjs/models/salesinvoiceresponse.d.ts +11 -0
  90. package/dist/commonjs/models/salesinvoiceresponse.d.ts.map +1 -1
  91. package/dist/commonjs/models/salesinvoiceresponse.js +2 -0
  92. package/dist/commonjs/models/salesinvoiceresponse.js.map +1 -1
  93. package/dist/commonjs/models/subscriptionrequest.d.ts +2 -2
  94. package/dist/esm/lib/config.d.ts +3 -3
  95. package/dist/esm/lib/config.js +3 -3
  96. package/dist/esm/mcp-server/mcp-server.js +1 -1
  97. package/dist/esm/mcp-server/server.js +1 -1
  98. package/dist/esm/models/deletevaluessalesinvoice.d.ts +3 -2
  99. package/dist/esm/models/deletevaluessalesinvoice.d.ts.map +1 -1
  100. package/dist/esm/models/deletevaluessalesinvoice.js.map +1 -1
  101. package/dist/esm/models/entitycustomer.d.ts +2 -2
  102. package/dist/esm/models/listsalesinvoiceresponse.d.ts +11 -0
  103. package/dist/esm/models/listsalesinvoiceresponse.d.ts.map +1 -1
  104. package/dist/esm/models/listsalesinvoiceresponse.js +2 -0
  105. package/dist/esm/models/listsalesinvoiceresponse.js.map +1 -1
  106. package/dist/esm/models/mandaterequest.d.ts +2 -2
  107. package/dist/esm/models/operations/cancelpayment.d.ts +2 -2
  108. package/dist/esm/models/operations/cancelrefund.d.ts +2 -2
  109. package/dist/esm/models/operations/cancelsubscription.d.ts +3 -2
  110. package/dist/esm/models/operations/cancelsubscription.d.ts.map +1 -1
  111. package/dist/esm/models/operations/cancelsubscription.js.map +1 -1
  112. package/dist/esm/models/operations/createpaymentlink.d.ts +3 -3
  113. package/dist/esm/models/operations/deletecustomer.d.ts +3 -2
  114. package/dist/esm/models/operations/deletecustomer.d.ts.map +1 -1
  115. package/dist/esm/models/operations/deletecustomer.js.map +1 -1
  116. package/dist/esm/models/operations/deletepaymentlink.d.ts +3 -2
  117. package/dist/esm/models/operations/deletepaymentlink.d.ts.map +1 -1
  118. package/dist/esm/models/operations/deletepaymentlink.js.map +1 -1
  119. package/dist/esm/models/operations/getbalance.d.ts +1 -1
  120. package/dist/esm/models/operations/getbalancereport.d.ts +1 -1
  121. package/dist/esm/models/operations/getcapture.d.ts +2 -2
  122. package/dist/esm/models/operations/getchargeback.d.ts +2 -2
  123. package/dist/esm/models/operations/getconnectbalancetransfer.d.ts +1 -1
  124. package/dist/esm/models/operations/getcustomer.d.ts +2 -2
  125. package/dist/esm/models/operations/getmandate.d.ts +2 -2
  126. package/dist/esm/models/operations/getmethod.d.ts +4 -4
  127. package/dist/esm/models/operations/getorganization.d.ts +1 -1
  128. package/dist/esm/models/operations/getpayment.d.ts +2 -2
  129. package/dist/esm/models/operations/getpaymentlink.d.ts +2 -2
  130. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +2 -2
  131. package/dist/esm/models/operations/getpermission.d.ts +1 -1
  132. package/dist/esm/models/operations/getprofile.d.ts +1 -1
  133. package/dist/esm/models/operations/getrefund.d.ts +2 -2
  134. package/dist/esm/models/operations/getsalesinvoice.d.ts +2 -2
  135. package/dist/esm/models/operations/getsubscription.d.ts +2 -2
  136. package/dist/esm/models/operations/getterminal.d.ts +2 -2
  137. package/dist/esm/models/operations/getwebhook.d.ts +1 -1
  138. package/dist/esm/models/operations/getwebhookevent.d.ts +1 -1
  139. package/dist/esm/models/operations/listallchargebacks.d.ts +3 -3
  140. package/dist/esm/models/operations/listallmethods.d.ts +4 -4
  141. package/dist/esm/models/operations/listallrefunds.d.ts +4 -4
  142. package/dist/esm/models/operations/listallsubscriptions.d.ts +3 -3
  143. package/dist/esm/models/operations/listbalances.d.ts +1 -1
  144. package/dist/esm/models/operations/listbalancetransactions.d.ts +1 -1
  145. package/dist/esm/models/operations/listcaptures.d.ts +2 -2
  146. package/dist/esm/models/operations/listchargebacks.d.ts +2 -2
  147. package/dist/esm/models/operations/listconnectbalancetransfers.d.ts +1 -1
  148. package/dist/esm/models/operations/listcustomerpayments.d.ts +4 -4
  149. package/dist/esm/models/operations/listcustomers.d.ts +2 -2
  150. package/dist/esm/models/operations/listmandates.d.ts +2 -2
  151. package/dist/esm/models/operations/listmethods.d.ts +4 -4
  152. package/dist/esm/models/operations/listpaymentlinks.d.ts +2 -2
  153. package/dist/esm/models/operations/listpayments.d.ts +4 -4
  154. package/dist/esm/models/operations/listrefunds.d.ts +2 -2
  155. package/dist/esm/models/operations/listsalesinvoices.d.ts +2 -2
  156. package/dist/esm/models/operations/listsettlementcaptures.d.ts +2 -2
  157. package/dist/esm/models/operations/listsettlementchargebacks.d.ts +2 -2
  158. package/dist/esm/models/operations/listsettlementpayments.d.ts +4 -4
  159. package/dist/esm/models/operations/listsettlementrefunds.d.ts +2 -2
  160. package/dist/esm/models/operations/listsubscriptionpayments.d.ts +4 -4
  161. package/dist/esm/models/operations/listsubscriptions.d.ts +2 -2
  162. package/dist/esm/models/operations/listterminals.d.ts +2 -2
  163. package/dist/esm/models/operations/listwebhooks.d.ts +1 -1
  164. package/dist/esm/models/operations/paymentlistroutes.d.ts +2 -2
  165. package/dist/esm/models/operations/releaseauthorization.d.ts +2 -2
  166. package/dist/esm/models/operations/revokemandate.d.ts +3 -2
  167. package/dist/esm/models/operations/revokemandate.d.ts.map +1 -1
  168. package/dist/esm/models/operations/revokemandate.js.map +1 -1
  169. package/dist/esm/models/operations/updatecustomer.d.ts +2 -2
  170. package/dist/esm/models/operations/updatepayment.d.ts +2 -2
  171. package/dist/esm/models/operations/updatepaymentlink.d.ts +2 -2
  172. package/dist/esm/models/operations/updatesalesinvoice.d.ts +2 -2
  173. package/dist/esm/models/operations/updatesubscription.d.ts +2 -2
  174. package/dist/esm/models/operations/updatewebhook.d.ts +2 -2
  175. package/dist/esm/models/paymentlinkresponse.d.ts +1 -1
  176. package/dist/esm/models/paymentrequest.d.ts +2 -2
  177. package/dist/esm/models/refundrequest.d.ts +2 -2
  178. package/dist/esm/models/salesinvoicerequest.d.ts +3 -3
  179. package/dist/esm/models/salesinvoiceresponse.d.ts +11 -0
  180. package/dist/esm/models/salesinvoiceresponse.d.ts.map +1 -1
  181. package/dist/esm/models/salesinvoiceresponse.js +2 -0
  182. package/dist/esm/models/salesinvoiceresponse.js.map +1 -1
  183. package/dist/esm/models/subscriptionrequest.d.ts +2 -2
  184. package/examples/package-lock.json +1 -1
  185. package/jsr.json +1 -1
  186. package/package.json +1 -1
  187. package/src/lib/config.ts +3 -3
  188. package/src/mcp-server/mcp-server.ts +1 -1
  189. package/src/mcp-server/server.ts +1 -1
  190. package/src/models/deletevaluessalesinvoice.ts +3 -2
  191. package/src/models/entitycustomer.ts +2 -2
  192. package/src/models/listsalesinvoiceresponse.ts +13 -0
  193. package/src/models/mandaterequest.ts +2 -2
  194. package/src/models/operations/cancelpayment.ts +2 -2
  195. package/src/models/operations/cancelrefund.ts +2 -2
  196. package/src/models/operations/cancelsubscription.ts +3 -2
  197. package/src/models/operations/createpaymentlink.ts +3 -3
  198. package/src/models/operations/deletecustomer.ts +3 -2
  199. package/src/models/operations/deletepaymentlink.ts +3 -2
  200. package/src/models/operations/getbalance.ts +1 -1
  201. package/src/models/operations/getbalancereport.ts +1 -1
  202. package/src/models/operations/getcapture.ts +2 -2
  203. package/src/models/operations/getchargeback.ts +2 -2
  204. package/src/models/operations/getconnectbalancetransfer.ts +1 -1
  205. package/src/models/operations/getcustomer.ts +2 -2
  206. package/src/models/operations/getmandate.ts +2 -2
  207. package/src/models/operations/getmethod.ts +4 -4
  208. package/src/models/operations/getorganization.ts +1 -1
  209. package/src/models/operations/getpayment.ts +2 -2
  210. package/src/models/operations/getpaymentlink.ts +2 -2
  211. package/src/models/operations/getpaymentlinkpayments.ts +2 -2
  212. package/src/models/operations/getpermission.ts +1 -1
  213. package/src/models/operations/getprofile.ts +1 -1
  214. package/src/models/operations/getrefund.ts +2 -2
  215. package/src/models/operations/getsalesinvoice.ts +2 -2
  216. package/src/models/operations/getsubscription.ts +2 -2
  217. package/src/models/operations/getterminal.ts +2 -2
  218. package/src/models/operations/getwebhook.ts +1 -1
  219. package/src/models/operations/getwebhookevent.ts +1 -1
  220. package/src/models/operations/listallchargebacks.ts +3 -3
  221. package/src/models/operations/listallmethods.ts +4 -4
  222. package/src/models/operations/listallrefunds.ts +4 -4
  223. package/src/models/operations/listallsubscriptions.ts +3 -3
  224. package/src/models/operations/listbalances.ts +1 -1
  225. package/src/models/operations/listbalancetransactions.ts +1 -1
  226. package/src/models/operations/listcaptures.ts +2 -2
  227. package/src/models/operations/listchargebacks.ts +2 -2
  228. package/src/models/operations/listconnectbalancetransfers.ts +1 -1
  229. package/src/models/operations/listcustomerpayments.ts +4 -4
  230. package/src/models/operations/listcustomers.ts +2 -2
  231. package/src/models/operations/listmandates.ts +2 -2
  232. package/src/models/operations/listmethods.ts +4 -4
  233. package/src/models/operations/listpaymentlinks.ts +2 -2
  234. package/src/models/operations/listpayments.ts +4 -4
  235. package/src/models/operations/listrefunds.ts +2 -2
  236. package/src/models/operations/listsalesinvoices.ts +2 -2
  237. package/src/models/operations/listsettlementcaptures.ts +2 -2
  238. package/src/models/operations/listsettlementchargebacks.ts +2 -2
  239. package/src/models/operations/listsettlementpayments.ts +4 -4
  240. package/src/models/operations/listsettlementrefunds.ts +2 -2
  241. package/src/models/operations/listsubscriptionpayments.ts +4 -4
  242. package/src/models/operations/listsubscriptions.ts +2 -2
  243. package/src/models/operations/listterminals.ts +2 -2
  244. package/src/models/operations/listwebhooks.ts +1 -1
  245. package/src/models/operations/paymentlistroutes.ts +2 -2
  246. package/src/models/operations/releaseauthorization.ts +2 -2
  247. package/src/models/operations/revokemandate.ts +3 -2
  248. package/src/models/operations/updatecustomer.ts +2 -2
  249. package/src/models/operations/updatepayment.ts +2 -2
  250. package/src/models/operations/updatepaymentlink.ts +2 -2
  251. package/src/models/operations/updatesalesinvoice.ts +2 -2
  252. package/src/models/operations/updatesubscription.ts +2 -2
  253. package/src/models/operations/updatewebhook.ts +2 -2
  254. package/src/models/paymentlinkresponse.ts +1 -1
  255. package/src/models/paymentrequest.ts +2 -2
  256. package/src/models/refundrequest.ts +2 -2
  257. package/src/models/salesinvoicerequest.ts +3 -3
  258. package/src/models/salesinvoiceresponse.ts +13 -0
  259. package/src/models/subscriptionrequest.ts +2 -2
@@ -14,7 +14,7 @@ export type ListSalesInvoicesGlobals = {
14
14
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
15
15
  *
16
16
  * @remarks
17
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
17
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
18
18
  * setting the `testmode` query parameter to `true`.
19
19
  *
20
20
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -38,7 +38,7 @@ export type ListSalesInvoicesRequest = {
38
38
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
39
39
  *
40
40
  * @remarks
41
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
41
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
42
42
  * setting the `testmode` query parameter to `true`.
43
43
  *
44
44
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -14,7 +14,7 @@ export type ListSettlementCapturesGlobals = {
14
14
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
15
15
  *
16
16
  * @remarks
17
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
17
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
18
18
  * setting the `testmode` query parameter to `true`.
19
19
  *
20
20
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -49,7 +49,7 @@ export type ListSettlementCapturesRequest = {
49
49
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
50
50
  *
51
51
  * @remarks
52
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
52
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
53
53
  * setting the `testmode` query parameter to `true`.
54
54
  *
55
55
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -14,7 +14,7 @@ export type ListSettlementChargebacksGlobals = {
14
14
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
15
15
  *
16
16
  * @remarks
17
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
17
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
18
18
  * setting the `testmode` query parameter to `true`.
19
19
  *
20
20
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -46,7 +46,7 @@ export type ListSettlementChargebacksRequest = {
46
46
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
47
47
  *
48
48
  * @remarks
49
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
49
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
50
50
  * setting the `testmode` query parameter to `true`.
51
51
  *
52
52
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -16,7 +16,7 @@ export type ListSettlementPaymentsGlobals = {
16
16
  * @remarks
17
17
  * retrieve the resources for.
18
18
  *
19
- * Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted. For
19
+ * Most API credentials are linked to a single profile. In these cases the `profileId` must not be sent. For
20
20
  * organization-level credentials such as OAuth access tokens however, the `profileId` parameter is required.
21
21
  */
22
22
  profileId?: string | undefined;
@@ -24,7 +24,7 @@ export type ListSettlementPaymentsGlobals = {
24
24
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
25
25
  *
26
26
  * @remarks
27
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
27
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
28
28
  * setting the `testmode` query parameter to `true`.
29
29
  *
30
30
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -61,7 +61,7 @@ export type ListSettlementPaymentsRequest = {
61
61
  * @remarks
62
62
  * retrieve the resources for.
63
63
  *
64
- * Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted. For
64
+ * Most API credentials are linked to a single profile. In these cases the `profileId` must not be sent. For
65
65
  * organization-level credentials such as OAuth access tokens however, the `profileId` parameter is required.
66
66
  */
67
67
  profileId?: string | undefined;
@@ -69,7 +69,7 @@ export type ListSettlementPaymentsRequest = {
69
69
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
70
70
  *
71
71
  * @remarks
72
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
72
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
73
73
  * setting the `testmode` query parameter to `true`.
74
74
  *
75
75
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -14,7 +14,7 @@ export type ListSettlementRefundsGlobals = {
14
14
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
15
15
  *
16
16
  * @remarks
17
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
17
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
18
18
  * setting the `testmode` query parameter to `true`.
19
19
  *
20
20
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -49,7 +49,7 @@ export type ListSettlementRefundsRequest = {
49
49
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
50
50
  *
51
51
  * @remarks
52
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
52
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
53
53
  * setting the `testmode` query parameter to `true`.
54
54
  *
55
55
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -16,7 +16,7 @@ export type ListSubscriptionPaymentsGlobals = {
16
16
  * @remarks
17
17
  * retrieve the resources for.
18
18
  *
19
- * Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted. For
19
+ * Most API credentials are linked to a single profile. In these cases the `profileId` must not be sent. For
20
20
  * organization-level credentials such as OAuth access tokens however, the `profileId` parameter is required.
21
21
  */
22
22
  profileId?: string | undefined;
@@ -24,7 +24,7 @@ export type ListSubscriptionPaymentsGlobals = {
24
24
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
25
25
  *
26
26
  * @remarks
27
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
27
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
28
28
  * setting the `testmode` query parameter to `true`.
29
29
  *
30
30
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -65,7 +65,7 @@ export type ListSubscriptionPaymentsRequest = {
65
65
  * @remarks
66
66
  * retrieve the resources for.
67
67
  *
68
- * Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted. For
68
+ * Most API credentials are linked to a single profile. In these cases the `profileId` must not be sent. For
69
69
  * organization-level credentials such as OAuth access tokens however, the `profileId` parameter is required.
70
70
  */
71
71
  profileId?: string | undefined;
@@ -73,7 +73,7 @@ export type ListSubscriptionPaymentsRequest = {
73
73
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
74
74
  *
75
75
  * @remarks
76
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
76
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
77
77
  * setting the `testmode` query parameter to `true`.
78
78
  *
79
79
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -14,7 +14,7 @@ export type ListSubscriptionsGlobals = {
14
14
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
15
15
  *
16
16
  * @remarks
17
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
17
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
18
18
  * setting the `testmode` query parameter to `true`.
19
19
  *
20
20
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -49,7 +49,7 @@ export type ListSubscriptionsRequest = {
49
49
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
50
50
  *
51
51
  * @remarks
52
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
52
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
53
53
  * setting the `testmode` query parameter to `true`.
54
54
  *
55
55
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -14,7 +14,7 @@ export type ListTerminalsGlobals = {
14
14
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
15
15
  *
16
16
  * @remarks
17
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
17
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
18
18
  * setting the `testmode` query parameter to `true`.
19
19
  *
20
20
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -45,7 +45,7 @@ export type ListTerminalsRequest = {
45
45
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
46
46
  *
47
47
  * @remarks
48
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
48
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
49
49
  * setting the `testmode` query parameter to `true`.
50
50
  *
51
51
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -14,7 +14,7 @@ export type ListWebhooksGlobals = {
14
14
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
15
15
  *
16
16
  * @remarks
17
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
17
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
18
18
  * setting the `testmode` query parameter to `true`.
19
19
  *
20
20
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -14,7 +14,7 @@ export type PaymentListRoutesGlobals = {
14
14
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
15
15
  *
16
16
  * @remarks
17
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
17
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
18
18
  * setting the `testmode` query parameter to `true`.
19
19
  *
20
20
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -31,7 +31,7 @@ export type PaymentListRoutesRequest = {
31
31
  * Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
32
32
  *
33
33
  * @remarks
34
- * parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by
34
+ * parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
35
35
  * setting the `testmode` query parameter to `true`.
36
36
  *
37
37
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
@@ -24,8 +24,8 @@ export type ReleaseAuthorizationRequestBody = {
24
24
  *
25
25
  * @remarks
26
26
  *
27
- * Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be
28
- * omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
27
+ * Most API credentials are specifically created for either live mode or test mode, in which case this parameter must
28
+ * not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
29
29
  * `testmode` to `true`.
30
30
  */
31
31
  testmode?: boolean | null | undefined;
@@ -10,10 +10,11 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
11
  export type RevokeMandateRequestBody = {
12
12
  /**
13
- * Most API credentials are specifically created for either live mode or test mode. For organization-level credentials
13
+ * Most API credentials are specifically created for either live mode or test mode, in which case this parameter must
14
14
  *
15
15
  * @remarks
16
- * such as OAuth access tokens, you can enable test mode by setting `testmode` to `true`.
16
+ * not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
17
+ * `testmode` to `true`.
17
18
  *
18
19
  * Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
19
20
  */
@@ -34,8 +34,8 @@ export type UpdateCustomerRequestBody = {
34
34
  *
35
35
  * @remarks
36
36
  *
37
- * Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be
38
- * omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
37
+ * Most API credentials are specifically created for either live mode or test mode, in which case this parameter must
38
+ * not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
39
39
  * `testmode` to `true`.
40
40
  */
41
41
  testmode?: boolean | undefined;
@@ -104,8 +104,8 @@ export type UpdatePaymentRequestBody = {
104
104
  *
105
105
  * @remarks
106
106
  *
107
- * Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be
108
- * omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
107
+ * Most API credentials are specifically created for either live mode or test mode, in which case this parameter must
108
+ * not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
109
109
  * `testmode` to `true`.
110
110
  */
111
111
  testmode?: boolean | undefined;
@@ -55,8 +55,8 @@ export type UpdatePaymentLinkRequestBody = {
55
55
  *
56
56
  * @remarks
57
57
  *
58
- * Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be
59
- * omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
58
+ * Most API credentials are specifically created for either live mode or test mode, in which case this parameter must
59
+ * not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
60
60
  * `testmode` to `true`.
61
61
  */
62
62
  testmode?: boolean | undefined;
@@ -15,8 +15,8 @@ export type UpdateSalesInvoiceRequestBody = {
15
15
  *
16
16
  * @remarks
17
17
  *
18
- * Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be
19
- * omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
18
+ * Most API credentials are specifically created for either live mode or test mode, in which case this parameter must
19
+ * not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
20
20
  * `testmode` to `true`.
21
21
  */
22
22
  testmode?: boolean | undefined;
@@ -68,8 +68,8 @@ export type UpdateSubscriptionRequestBody = {
68
68
  *
69
69
  * @remarks
70
70
  *
71
- * Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be
72
- * omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
71
+ * Most API credentials are specifically created for either live mode or test mode, in which case this parameter must
72
+ * not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
73
73
  * `testmode` to `true`.
74
74
  */
75
75
  testmode?: boolean | undefined;
@@ -31,8 +31,8 @@ export type UpdateWebhookRequestBody = {
31
31
  *
32
32
  * @remarks
33
33
  *
34
- * Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be
35
- * omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
34
+ * Most API credentials are specifically created for either live mode or test mode, in which case this parameter must
35
+ * not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
36
36
  * `testmode` to `true`.
37
37
  */
38
38
  testmode?: boolean | undefined;
@@ -160,7 +160,7 @@ export type PaymentLinkResponse = {
160
160
  *
161
161
  * @remarks
162
162
  *
163
- * Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted in the creation
163
+ * Most API credentials are linked to a single profile. In these cases the `profileId` must not be sent in the creation
164
164
  * request. For organization-level credentials such as OAuth access tokens however, the `profileId` parameter is
165
165
  * required.
166
166
  */
@@ -500,8 +500,8 @@ export type PaymentRequest = {
500
500
  *
501
501
  * @remarks
502
502
  *
503
- * Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be
504
- * omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
503
+ * Most API credentials are specifically created for either live mode or test mode, in which case this parameter must
504
+ * not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
505
505
  * `testmode` to `true`.
506
506
  */
507
507
  testmode?: boolean | null | undefined;
@@ -117,8 +117,8 @@ export type RefundRequest = {
117
117
  *
118
118
  * @remarks
119
119
  *
120
- * Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be
121
- * omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
120
+ * Most API credentials are specifically created for either live mode or test mode, in which case this parameter must
121
+ * not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
122
122
  * `testmode` to `true`.
123
123
  */
124
124
  testmode?: boolean | null | undefined;
@@ -71,8 +71,8 @@ export type SalesInvoiceRequest = {
71
71
  *
72
72
  * @remarks
73
73
  *
74
- * Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be
75
- * omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
74
+ * Most API credentials are specifically created for either live mode or test mode, in which case this parameter must
75
+ * not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
76
76
  * `testmode` to `true`.
77
77
  */
78
78
  testmode?: boolean | null | undefined;
@@ -81,7 +81,7 @@ export type SalesInvoiceRequest = {
81
81
  *
82
82
  * @remarks
83
83
  *
84
- * Most API credentials are linked to a single profile. In these cases the `profileId` can be omitted in the creation
84
+ * Most API credentials are linked to a single profile. In these cases the `profileId` must not be sent in the creation
85
85
  * request. For organization-level credentials such as OAuth access tokens however, the `profileId` parameter is
86
86
  * required.
87
87
  */
@@ -193,6 +193,16 @@ export type SalesInvoiceResponse = {
193
193
  * When issued, an invoice number will be set for the sales invoice.
194
194
  */
195
195
  invoiceNumber?: string | null | undefined;
196
+ /**
197
+ * The identifier referring to the [profile](get-profile) this entity belongs to.
198
+ *
199
+ * @remarks
200
+ *
201
+ * Most API credentials are linked to a single profile. In these cases the `profileId` must not be sent in the creation
202
+ * request. For organization-level credentials such as OAuth access tokens however, the `profileId` parameter is
203
+ * required.
204
+ */
205
+ profileId?: string | null | undefined;
196
206
  /**
197
207
  * The status for the invoice to end up in.
198
208
  *
@@ -655,6 +665,7 @@ export const SalesInvoiceResponse$inboundSchema: z.ZodType<
655
665
  id: z.string(),
656
666
  mode: Mode$inboundSchema,
657
667
  invoiceNumber: z.nullable(z.string()).optional(),
668
+ profileId: z.nullable(z.string()).optional(),
658
669
  status: SalesInvoiceStatusResponse$inboundSchema.optional(),
659
670
  vatScheme: SalesInvoiceVatSchemeResponse$inboundSchema.optional(),
660
671
  vatMode: SalesInvoiceVatModeResponse$inboundSchema.optional(),
@@ -699,6 +710,7 @@ export type SalesInvoiceResponse$Outbound = {
699
710
  id: string;
700
711
  mode: string;
701
712
  invoiceNumber?: string | null | undefined;
713
+ profileId?: string | null | undefined;
702
714
  status?: string | undefined;
703
715
  vatScheme?: string | undefined;
704
716
  vatMode?: string | undefined;
@@ -737,6 +749,7 @@ export const SalesInvoiceResponse$outboundSchema: z.ZodType<
737
749
  id: z.string(),
738
750
  mode: Mode$outboundSchema,
739
751
  invoiceNumber: z.nullable(z.string()).optional(),
752
+ profileId: z.nullable(z.string()).optional(),
740
753
  status: SalesInvoiceStatusResponse$outboundSchema.optional(),
741
754
  vatScheme: SalesInvoiceVatSchemeResponse$outboundSchema.optional(),
742
755
  vatMode: SalesInvoiceVatModeResponse$outboundSchema.optional(),
@@ -119,8 +119,8 @@ export type SubscriptionRequest = {
119
119
  *
120
120
  * @remarks
121
121
  *
122
- * Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be
123
- * omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
122
+ * Most API credentials are specifically created for either live mode or test mode, in which case this parameter must
123
+ * not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
124
124
  * `testmode` to `true`.
125
125
  */
126
126
  testmode?: boolean | null | undefined;