mollie-api-typescript 1.6.4 → 1.6.6

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 (219) hide show
  1. package/FUNCTIONS.md +2 -2
  2. package/README.md +3 -3
  3. package/dist/commonjs/funcs/{verifyPayeesCreate.d.ts → verifyPayeeCreate.d.ts} +2 -2
  4. package/dist/commonjs/funcs/verifyPayeeCreate.d.ts.map +1 -0
  5. package/dist/commonjs/funcs/{verifyPayeesCreate.js → verifyPayeeCreate.js} +4 -4
  6. package/dist/commonjs/funcs/verifyPayeeCreate.js.map +1 -0
  7. package/dist/commonjs/lib/config.d.ts +3 -3
  8. package/dist/commonjs/lib/config.js +3 -3
  9. package/dist/commonjs/lib/config.js.map +1 -1
  10. package/dist/commonjs/models/captureresponse.d.ts +12 -10
  11. package/dist/commonjs/models/captureresponse.d.ts.map +1 -1
  12. package/dist/commonjs/models/captureresponse.js.map +1 -1
  13. package/dist/commonjs/models/entitycapabilityrequirement.d.ts +1 -2
  14. package/dist/commonjs/models/entitycapabilityrequirement.d.ts.map +1 -1
  15. package/dist/commonjs/models/entitycapabilityrequirement.js.map +1 -1
  16. package/dist/commonjs/models/entitychargeback.d.ts +12 -12
  17. package/dist/commonjs/models/entityrefundresponse.d.ts +14 -20
  18. package/dist/commonjs/models/entityrefundresponse.d.ts.map +1 -1
  19. package/dist/commonjs/models/entityrefundresponse.js.map +1 -1
  20. package/dist/commonjs/models/index.d.ts +2 -0
  21. package/dist/commonjs/models/index.d.ts.map +1 -1
  22. package/dist/commonjs/models/index.js +2 -0
  23. package/dist/commonjs/models/index.js.map +1 -1
  24. package/dist/commonjs/models/listcaptureresponse.d.ts +12 -10
  25. package/dist/commonjs/models/listcaptureresponse.d.ts.map +1 -1
  26. package/dist/commonjs/models/listcaptureresponse.js.map +1 -1
  27. package/dist/commonjs/models/listentitychargeback.d.ts +12 -12
  28. package/dist/commonjs/models/listentityrefund.d.ts +14 -20
  29. package/dist/commonjs/models/listentityrefund.d.ts.map +1 -1
  30. package/dist/commonjs/models/listentityrefund.js.map +1 -1
  31. package/dist/commonjs/models/listpaymentresponse.d.ts +16 -12
  32. package/dist/commonjs/models/listpaymentresponse.d.ts.map +1 -1
  33. package/dist/commonjs/models/listpaymentresponse.js.map +1 -1
  34. package/dist/commonjs/models/listsalesinvoiceresponse.d.ts +7 -4
  35. package/dist/commonjs/models/listsalesinvoiceresponse.d.ts.map +1 -1
  36. package/dist/commonjs/models/listsalesinvoiceresponse.js +2 -1
  37. package/dist/commonjs/models/listsalesinvoiceresponse.js.map +1 -1
  38. package/dist/commonjs/models/listsettlementcaptureresponse.d.ts +2 -16
  39. package/dist/commonjs/models/listsettlementcaptureresponse.d.ts.map +1 -1
  40. package/dist/commonjs/models/listsettlementcaptureresponse.js.map +1 -1
  41. package/dist/commonjs/models/listsettlementchargebackresponse.d.ts +127 -0
  42. package/dist/commonjs/models/listsettlementchargebackresponse.d.ts.map +1 -0
  43. package/dist/commonjs/models/listsettlementchargebackresponse.js +98 -0
  44. package/dist/commonjs/models/listsettlementchargebackresponse.js.map +1 -0
  45. package/dist/commonjs/models/listsettlementpaymentresponse.d.ts +6 -14
  46. package/dist/commonjs/models/listsettlementpaymentresponse.d.ts.map +1 -1
  47. package/dist/commonjs/models/listsettlementpaymentresponse.js.map +1 -1
  48. package/dist/commonjs/models/listsettlementrefundresponse.d.ts +6 -24
  49. package/dist/commonjs/models/listsettlementrefundresponse.d.ts.map +1 -1
  50. package/dist/commonjs/models/listsettlementrefundresponse.js.map +1 -1
  51. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +1 -1
  52. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  53. package/dist/commonjs/models/operations/listsettlementchargebacks.js +1 -1
  54. package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
  55. package/dist/commonjs/models/operations/updatesalesinvoice.d.ts +1 -4
  56. package/dist/commonjs/models/operations/updatesalesinvoice.d.ts.map +1 -1
  57. package/dist/commonjs/models/operations/updatesalesinvoice.js +1 -1
  58. package/dist/commonjs/models/operations/updatesalesinvoice.js.map +1 -1
  59. package/dist/commonjs/models/paymentresponse.d.ts +16 -12
  60. package/dist/commonjs/models/paymentresponse.d.ts.map +1 -1
  61. package/dist/commonjs/models/paymentresponse.js.map +1 -1
  62. package/dist/commonjs/models/salesinvoicerequest.d.ts +0 -3
  63. package/dist/commonjs/models/salesinvoicerequest.d.ts.map +1 -1
  64. package/dist/commonjs/models/salesinvoicerequest.js.map +1 -1
  65. package/dist/commonjs/models/salesinvoiceresponse.d.ts +7 -4
  66. package/dist/commonjs/models/salesinvoiceresponse.d.ts.map +1 -1
  67. package/dist/commonjs/models/salesinvoiceresponse.js +2 -1
  68. package/dist/commonjs/models/salesinvoiceresponse.js.map +1 -1
  69. package/dist/commonjs/models/salesinvoicestatus.d.ts +0 -6
  70. package/dist/commonjs/models/salesinvoicestatus.d.ts.map +1 -1
  71. package/dist/commonjs/models/salesinvoicestatus.js +0 -3
  72. package/dist/commonjs/models/salesinvoicestatus.js.map +1 -1
  73. package/dist/commonjs/models/salesinvoicestatusresponse.d.ts +0 -6
  74. package/dist/commonjs/models/salesinvoicestatusresponse.d.ts.map +1 -1
  75. package/dist/commonjs/models/salesinvoicestatusresponse.js +0 -3
  76. package/dist/commonjs/models/salesinvoicestatusresponse.js.map +1 -1
  77. package/dist/commonjs/models/salesinvoicestatusupdate.d.ts +40 -0
  78. package/dist/commonjs/models/salesinvoicestatusupdate.d.ts.map +1 -0
  79. package/dist/commonjs/models/salesinvoicestatusupdate.js +64 -0
  80. package/dist/commonjs/models/salesinvoicestatusupdate.js.map +1 -0
  81. package/dist/commonjs/models/statusreason.d.ts +3 -3
  82. package/dist/commonjs/models/statusreason.d.ts.map +1 -1
  83. package/dist/commonjs/models/statusreason.js +2 -1
  84. package/dist/commonjs/models/statusreason.js.map +1 -1
  85. package/dist/commonjs/sdk/sdk.d.ts +3 -3
  86. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  87. package/dist/commonjs/sdk/sdk.js +3 -3
  88. package/dist/commonjs/sdk/sdk.js.map +1 -1
  89. package/dist/{esm/sdk/verifypayees.d.ts → commonjs/sdk/verifypayee.d.ts} +2 -2
  90. package/dist/commonjs/sdk/verifypayee.d.ts.map +1 -0
  91. package/dist/commonjs/sdk/{verifypayees.js → verifypayee.js} +7 -7
  92. package/dist/commonjs/sdk/verifypayee.js.map +1 -0
  93. package/dist/esm/funcs/{verifyPayeesCreate.d.ts → verifyPayeeCreate.d.ts} +2 -2
  94. package/dist/esm/funcs/verifyPayeeCreate.d.ts.map +1 -0
  95. package/dist/esm/funcs/{verifyPayeesCreate.js → verifyPayeeCreate.js} +3 -3
  96. package/dist/esm/funcs/verifyPayeeCreate.js.map +1 -0
  97. package/dist/esm/lib/config.d.ts +3 -3
  98. package/dist/esm/lib/config.js +3 -3
  99. package/dist/esm/lib/config.js.map +1 -1
  100. package/dist/esm/models/captureresponse.d.ts +12 -10
  101. package/dist/esm/models/captureresponse.d.ts.map +1 -1
  102. package/dist/esm/models/captureresponse.js.map +1 -1
  103. package/dist/esm/models/entitycapabilityrequirement.d.ts +1 -2
  104. package/dist/esm/models/entitycapabilityrequirement.d.ts.map +1 -1
  105. package/dist/esm/models/entitycapabilityrequirement.js.map +1 -1
  106. package/dist/esm/models/entitychargeback.d.ts +12 -12
  107. package/dist/esm/models/entityrefundresponse.d.ts +14 -20
  108. package/dist/esm/models/entityrefundresponse.d.ts.map +1 -1
  109. package/dist/esm/models/entityrefundresponse.js.map +1 -1
  110. package/dist/esm/models/index.d.ts +2 -0
  111. package/dist/esm/models/index.d.ts.map +1 -1
  112. package/dist/esm/models/index.js +2 -0
  113. package/dist/esm/models/index.js.map +1 -1
  114. package/dist/esm/models/listcaptureresponse.d.ts +12 -10
  115. package/dist/esm/models/listcaptureresponse.d.ts.map +1 -1
  116. package/dist/esm/models/listcaptureresponse.js.map +1 -1
  117. package/dist/esm/models/listentitychargeback.d.ts +12 -12
  118. package/dist/esm/models/listentityrefund.d.ts +14 -20
  119. package/dist/esm/models/listentityrefund.d.ts.map +1 -1
  120. package/dist/esm/models/listentityrefund.js.map +1 -1
  121. package/dist/esm/models/listpaymentresponse.d.ts +16 -12
  122. package/dist/esm/models/listpaymentresponse.d.ts.map +1 -1
  123. package/dist/esm/models/listpaymentresponse.js.map +1 -1
  124. package/dist/esm/models/listsalesinvoiceresponse.d.ts +7 -4
  125. package/dist/esm/models/listsalesinvoiceresponse.d.ts.map +1 -1
  126. package/dist/esm/models/listsalesinvoiceresponse.js +2 -1
  127. package/dist/esm/models/listsalesinvoiceresponse.js.map +1 -1
  128. package/dist/esm/models/listsettlementcaptureresponse.d.ts +2 -16
  129. package/dist/esm/models/listsettlementcaptureresponse.d.ts.map +1 -1
  130. package/dist/esm/models/listsettlementcaptureresponse.js.map +1 -1
  131. package/dist/esm/models/listsettlementchargebackresponse.d.ts +127 -0
  132. package/dist/esm/models/listsettlementchargebackresponse.d.ts.map +1 -0
  133. package/dist/esm/models/listsettlementchargebackresponse.js +58 -0
  134. package/dist/esm/models/listsettlementchargebackresponse.js.map +1 -0
  135. package/dist/esm/models/listsettlementpaymentresponse.d.ts +6 -14
  136. package/dist/esm/models/listsettlementpaymentresponse.d.ts.map +1 -1
  137. package/dist/esm/models/listsettlementpaymentresponse.js.map +1 -1
  138. package/dist/esm/models/listsettlementrefundresponse.d.ts +6 -24
  139. package/dist/esm/models/listsettlementrefundresponse.d.ts.map +1 -1
  140. package/dist/esm/models/listsettlementrefundresponse.js.map +1 -1
  141. package/dist/esm/models/operations/listsettlementchargebacks.d.ts +1 -1
  142. package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  143. package/dist/esm/models/operations/listsettlementchargebacks.js +1 -1
  144. package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
  145. package/dist/esm/models/operations/updatesalesinvoice.d.ts +1 -4
  146. package/dist/esm/models/operations/updatesalesinvoice.d.ts.map +1 -1
  147. package/dist/esm/models/operations/updatesalesinvoice.js +1 -1
  148. package/dist/esm/models/operations/updatesalesinvoice.js.map +1 -1
  149. package/dist/esm/models/paymentresponse.d.ts +16 -12
  150. package/dist/esm/models/paymentresponse.d.ts.map +1 -1
  151. package/dist/esm/models/paymentresponse.js.map +1 -1
  152. package/dist/esm/models/salesinvoicerequest.d.ts +0 -3
  153. package/dist/esm/models/salesinvoicerequest.d.ts.map +1 -1
  154. package/dist/esm/models/salesinvoicerequest.js.map +1 -1
  155. package/dist/esm/models/salesinvoiceresponse.d.ts +7 -4
  156. package/dist/esm/models/salesinvoiceresponse.d.ts.map +1 -1
  157. package/dist/esm/models/salesinvoiceresponse.js +2 -1
  158. package/dist/esm/models/salesinvoiceresponse.js.map +1 -1
  159. package/dist/esm/models/salesinvoicestatus.d.ts +0 -6
  160. package/dist/esm/models/salesinvoicestatus.d.ts.map +1 -1
  161. package/dist/esm/models/salesinvoicestatus.js +0 -3
  162. package/dist/esm/models/salesinvoicestatus.js.map +1 -1
  163. package/dist/esm/models/salesinvoicestatusresponse.d.ts +0 -6
  164. package/dist/esm/models/salesinvoicestatusresponse.d.ts.map +1 -1
  165. package/dist/esm/models/salesinvoicestatusresponse.js +0 -3
  166. package/dist/esm/models/salesinvoicestatusresponse.js.map +1 -1
  167. package/dist/esm/models/salesinvoicestatusupdate.d.ts +40 -0
  168. package/dist/esm/models/salesinvoicestatusupdate.d.ts.map +1 -0
  169. package/dist/esm/models/salesinvoicestatusupdate.js +28 -0
  170. package/dist/esm/models/salesinvoicestatusupdate.js.map +1 -0
  171. package/dist/esm/models/statusreason.d.ts +3 -3
  172. package/dist/esm/models/statusreason.d.ts.map +1 -1
  173. package/dist/esm/models/statusreason.js +2 -1
  174. package/dist/esm/models/statusreason.js.map +1 -1
  175. package/dist/esm/sdk/sdk.d.ts +3 -3
  176. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  177. package/dist/esm/sdk/sdk.js +3 -3
  178. package/dist/esm/sdk/sdk.js.map +1 -1
  179. package/dist/{commonjs/sdk/verifypayees.d.ts → esm/sdk/verifypayee.d.ts} +2 -2
  180. package/dist/esm/sdk/verifypayee.d.ts.map +1 -0
  181. package/dist/esm/sdk/{verifypayees.js → verifypayee.js} +5 -5
  182. package/dist/esm/sdk/verifypayee.js.map +1 -0
  183. package/jsr.json +1 -1
  184. package/package.json +1 -1
  185. package/src/funcs/{verifyPayeesCreate.ts → verifyPayeeCreate.ts} +2 -2
  186. package/src/lib/config.ts +3 -3
  187. package/src/models/captureresponse.ts +12 -10
  188. package/src/models/entitycapabilityrequirement.ts +1 -2
  189. package/src/models/entitychargeback.ts +12 -12
  190. package/src/models/entityrefundresponse.ts +14 -20
  191. package/src/models/index.ts +2 -0
  192. package/src/models/listcaptureresponse.ts +12 -10
  193. package/src/models/listentitychargeback.ts +12 -12
  194. package/src/models/listentityrefund.ts +14 -20
  195. package/src/models/listpaymentresponse.ts +16 -12
  196. package/src/models/listsalesinvoiceresponse.ts +9 -5
  197. package/src/models/listsettlementcaptureresponse.ts +2 -16
  198. package/src/models/listsettlementchargebackresponse.ts +240 -0
  199. package/src/models/listsettlementpaymentresponse.ts +6 -14
  200. package/src/models/listsettlementrefundresponse.ts +6 -24
  201. package/src/models/operations/listsettlementchargebacks.ts +2 -2
  202. package/src/models/operations/updatesalesinvoice.ts +2 -5
  203. package/src/models/paymentresponse.ts +16 -12
  204. package/src/models/salesinvoicerequest.ts +0 -3
  205. package/src/models/salesinvoiceresponse.ts +9 -5
  206. package/src/models/salesinvoicestatus.ts +0 -6
  207. package/src/models/salesinvoicestatusresponse.ts +0 -6
  208. package/src/models/salesinvoicestatusupdate.ts +50 -0
  209. package/src/models/statusreason.ts +5 -5
  210. package/src/sdk/sdk.ts +4 -4
  211. package/src/sdk/{verifypayees.ts → verifypayee.ts} +4 -4
  212. package/dist/commonjs/funcs/verifyPayeesCreate.d.ts.map +0 -1
  213. package/dist/commonjs/funcs/verifyPayeesCreate.js.map +0 -1
  214. package/dist/commonjs/sdk/verifypayees.d.ts.map +0 -1
  215. package/dist/commonjs/sdk/verifypayees.js.map +0 -1
  216. package/dist/esm/funcs/verifyPayeesCreate.d.ts.map +0 -1
  217. package/dist/esm/funcs/verifyPayeesCreate.js.map +0 -1
  218. package/dist/esm/sdk/verifypayees.d.ts.map +0 -1
  219. package/dist/esm/sdk/verifypayees.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: 10f27368a6f1
3
+ * @generated-id: b10476a7eab6
4
4
  */
5
5
 
6
6
  import { ClientCore } from "../core.js";
@@ -57,7 +57,7 @@ import { Result } from "../types/fp.js";
57
57
  *
58
58
  * If set, this operation will use {@link Security.organizationAccessToken} from the global security.
59
59
  */
60
- export function verifyPayeesCreate(
60
+ export function verifyPayeeCreate(
61
61
  client: ClientCore,
62
62
  request?: operations.VerifyPayeeRequest | undefined,
63
63
  options?: RequestOptions,
package/src/lib/config.ts CHANGED
@@ -78,8 +78,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
78
78
  export const SDK_METADATA = {
79
79
  language: "typescript",
80
80
  openapiDocVersion: "1.0.0",
81
- sdkVersion: "1.6.4",
82
- genVersion: "2.881.4",
81
+ sdkVersion: "1.6.6",
82
+ genVersion: "2.881.17",
83
83
  userAgent:
84
- "speakeasy-sdk/typescript 1.6.4 2.881.4 1.0.0 mollie-api-typescript",
84
+ "speakeasy-sdk/typescript 1.6.6 2.881.17 1.0.0 mollie-api-typescript",
85
85
  } as const;
@@ -20,14 +20,15 @@ import { Url, Url$inboundSchema } from "./url.js";
20
20
  import { UrlNullable, UrlNullable$inboundSchema } from "./urlnullable.js";
21
21
 
22
22
  /**
23
- * This optional field will contain the approximate amount that will be settled to your account, converted to the
23
+ * **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
24
24
  *
25
25
  * @remarks
26
- * currency your account is settled in.
26
+ * the [List balance transactions endpoint](list-balance-transactions) for settlement data.
27
27
  *
28
- * Since the field contains an estimated amount during capture processing, it may change over time. To retrieve
29
- * accurate settlement amounts we recommend using the [List balance transactions endpoint](list-balance-transactions)
30
- * instead.
28
+ * The amount that will be settled to your account for this capture, converted to the currency your account is
29
+ * settled in. Only available once the capture is finalized and the final settlement amount has been determined.
30
+ *
31
+ * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
31
32
  */
32
33
  export type CaptureResponseSettlementAmount = {
33
34
  /**
@@ -101,14 +102,15 @@ export type CaptureResponse = {
101
102
  */
102
103
  amount: AmountNullable | null;
103
104
  /**
104
- * This optional field will contain the approximate amount that will be settled to your account, converted to the
105
+ * **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
105
106
  *
106
107
  * @remarks
107
- * currency your account is settled in.
108
+ * the [List balance transactions endpoint](list-balance-transactions) for settlement data.
109
+ *
110
+ * The amount that will be settled to your account for this capture, converted to the currency your account is
111
+ * settled in. Only available once the capture is finalized and the final settlement amount has been determined.
108
112
  *
109
- * Since the field contains an estimated amount during capture processing, it may change over time. To retrieve
110
- * accurate settlement amounts we recommend using the [List balance transactions endpoint](list-balance-transactions)
111
- * instead.
113
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
112
114
  */
113
115
  settlementAmount?: CaptureResponseSettlementAmount | null | undefined;
114
116
  status: CaptureResponseStatus;
@@ -27,8 +27,7 @@ export type EntityCapabilityRequirement = {
27
27
  *
28
28
  * @remarks
29
29
  * to enable or re-enable the capability. The name is unique among other requirements
30
- * of the same capability. Requirements related to the onboarding process start with 'onboarding-', while
31
- * requirements related to information requests start with 'information-request-'.
30
+ * of the same capability. Examples include `needs-data` and `process-first-payment`.
32
31
  */
33
32
  id: string;
34
33
  /**
@@ -13,16 +13,16 @@ import { Url, Url$inboundSchema } from "./url.js";
13
13
  import { UrlNullable, UrlNullable$inboundSchema } from "./urlnullable.js";
14
14
 
15
15
  /**
16
- * This optional field will contain the approximate amount that will be deducted from your account balance, converted
16
+ * **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
17
17
  *
18
18
  * @remarks
19
- * to the currency your account is settled in.
19
+ * the [List balance transactions endpoint](list-balance-transactions) for settlement data.
20
20
  *
21
- * The amount is a **negative** amount.
21
+ * The amount deducted from your account balance for this chargeback, converted to the currency your account is
22
+ * settled in. Always a **negative** amount. Only available once the chargeback is finalized and the final settlement
23
+ * amount has been determined.
22
24
  *
23
- * Since the field contains an estimated amount during chargeback processing, it may change over time. To retrieve
24
- * accurate settlement amounts we recommend using the [List balance transactions endpoint](list-balance-transactions)
25
- * instead.
25
+ * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
26
26
  */
27
27
  export type EntityChargebackSettlementAmount = {
28
28
  /**
@@ -88,16 +88,16 @@ export type EntityChargeback = {
88
88
  */
89
89
  amount: Amount;
90
90
  /**
91
- * This optional field will contain the approximate amount that will be deducted from your account balance, converted
91
+ * **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
92
92
  *
93
93
  * @remarks
94
- * to the currency your account is settled in.
94
+ * the [List balance transactions endpoint](list-balance-transactions) for settlement data.
95
95
  *
96
- * The amount is a **negative** amount.
96
+ * The amount deducted from your account balance for this chargeback, converted to the currency your account is
97
+ * settled in. Always a **negative** amount. Only available once the chargeback is finalized and the final settlement
98
+ * amount has been determined.
97
99
  *
98
- * Since the field contains an estimated amount during chargeback processing, it may change over time. To retrieve
99
- * accurate settlement amounts we recommend using the [List balance transactions endpoint](list-balance-transactions)
100
- * instead.
100
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
101
101
  */
102
102
  settlementAmount?: EntityChargebackSettlementAmount | null | undefined;
103
103
  /**
@@ -21,21 +21,18 @@ import { Url, Url$inboundSchema } from "./url.js";
21
21
  import { UrlNullable, UrlNullable$inboundSchema } from "./urlnullable.js";
22
22
 
23
23
  /**
24
- * This optional field will contain the approximate amount that will be deducted from your account balance, converted
24
+ * **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
25
25
  *
26
26
  * @remarks
27
- * to the currency your account is settled in.
27
+ * the [List balance transactions endpoint](list-balance-transactions) for settlement data.
28
28
  *
29
- * The amount is a **negative** amount.
29
+ * The amount deducted from your account balance for this refund, converted to the currency your account is settled
30
+ * in. Always a **negative** amount. Only available once the refund is finalized and the final settlement amount has
31
+ * been determined.
30
32
  *
31
- * If the refund is not directly processed by Mollie, for example for PayPal refunds, the settlement amount will be
32
- * zero.
33
+ * For refunds not directly processed by Mollie (e.g. PayPal), the settlement amount is zero.
33
34
  *
34
- * Since the field contains an estimated amount during refund processing, it may change over time. For example, while
35
- * the refund is queued the settlement amount is likely not yet available.
36
- *
37
- * To retrieve accurate settlement amounts we recommend using the
38
- * [List balance transactions endpoint](list-balance-transactions) instead.
35
+ * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
39
36
  */
40
37
  export type EntityRefundResponseSettlementAmount = {
41
38
  /**
@@ -136,21 +133,18 @@ export type EntityRefundResponse = {
136
133
  */
137
134
  amount: Amount;
138
135
  /**
139
- * This optional field will contain the approximate amount that will be deducted from your account balance, converted
136
+ * **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
140
137
  *
141
138
  * @remarks
142
- * to the currency your account is settled in.
143
- *
144
- * The amount is a **negative** amount.
139
+ * the [List balance transactions endpoint](list-balance-transactions) for settlement data.
145
140
  *
146
- * If the refund is not directly processed by Mollie, for example for PayPal refunds, the settlement amount will be
147
- * zero.
141
+ * The amount deducted from your account balance for this refund, converted to the currency your account is settled
142
+ * in. Always a **negative** amount. Only available once the refund is finalized and the final settlement amount has
143
+ * been determined.
148
144
  *
149
- * Since the field contains an estimated amount during refund processing, it may change over time. For example, while
150
- * the refund is queued the settlement amount is likely not yet available.
145
+ * For refunds not directly processed by Mollie (e.g. PayPal), the settlement amount is zero.
151
146
  *
152
- * To retrieve accurate settlement amounts we recommend using the
153
- * [List balance transactions endpoint](list-balance-transactions) instead.
147
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
154
148
  */
155
149
  settlementAmount?: EntityRefundResponseSettlementAmount | null | undefined;
156
150
  /**
@@ -93,6 +93,7 @@ export * from "./listprofileresponse.js";
93
93
  export * from "./listroutegetresponse.js";
94
94
  export * from "./listsalesinvoiceresponse.js";
95
95
  export * from "./listsettlementcaptureresponse.js";
96
+ export * from "./listsettlementchargebackresponse.js";
96
97
  export * from "./listsettlementpaymentresponse.js";
97
98
  export * from "./listsettlementrefundresponse.js";
98
99
  export * from "./listsubscriptionresponse.js";
@@ -171,6 +172,7 @@ export * from "./salesinvoicerequest.js";
171
172
  export * from "./salesinvoiceresponse.js";
172
173
  export * from "./salesinvoicestatus.js";
173
174
  export * from "./salesinvoicestatusresponse.js";
175
+ export * from "./salesinvoicestatusupdate.js";
174
176
  export * from "./salesinvoicevatmode.js";
175
177
  export * from "./salesinvoicevatmoderesponse.js";
176
178
  export * from "./salesinvoicevatscheme.js";
@@ -20,14 +20,15 @@ import { Url, Url$inboundSchema } from "./url.js";
20
20
  import { UrlNullable, UrlNullable$inboundSchema } from "./urlnullable.js";
21
21
 
22
22
  /**
23
- * This optional field will contain the approximate amount that will be settled to your account, converted to the
23
+ * **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
24
24
  *
25
25
  * @remarks
26
- * currency your account is settled in.
26
+ * the [List balance transactions endpoint](list-balance-transactions) for settlement data.
27
27
  *
28
- * Since the field contains an estimated amount during capture processing, it may change over time. To retrieve
29
- * accurate settlement amounts we recommend using the [List balance transactions endpoint](list-balance-transactions)
30
- * instead.
28
+ * The amount that will be settled to your account for this capture, converted to the currency your account is
29
+ * settled in. Only available once the capture is finalized and the final settlement amount has been determined.
30
+ *
31
+ * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
31
32
  */
32
33
  export type ListCaptureResponseSettlementAmount = {
33
34
  /**
@@ -99,14 +100,15 @@ export type ListCaptureResponse = {
99
100
  */
100
101
  amount: AmountNullable | null;
101
102
  /**
102
- * This optional field will contain the approximate amount that will be settled to your account, converted to the
103
+ * **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
103
104
  *
104
105
  * @remarks
105
- * currency your account is settled in.
106
+ * the [List balance transactions endpoint](list-balance-transactions) for settlement data.
107
+ *
108
+ * The amount that will be settled to your account for this capture, converted to the currency your account is
109
+ * settled in. Only available once the capture is finalized and the final settlement amount has been determined.
106
110
  *
107
- * Since the field contains an estimated amount during capture processing, it may change over time. To retrieve
108
- * accurate settlement amounts we recommend using the [List balance transactions endpoint](list-balance-transactions)
109
- * instead.
111
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
110
112
  */
111
113
  settlementAmount?: ListCaptureResponseSettlementAmount | null | undefined;
112
114
  status: ListCaptureResponseStatus;
@@ -13,16 +13,16 @@ import { Url, Url$inboundSchema } from "./url.js";
13
13
  import { UrlNullable, UrlNullable$inboundSchema } from "./urlnullable.js";
14
14
 
15
15
  /**
16
- * This optional field will contain the approximate amount that will be deducted from your account balance, converted
16
+ * **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
17
17
  *
18
18
  * @remarks
19
- * to the currency your account is settled in.
19
+ * the [List balance transactions endpoint](list-balance-transactions) for settlement data.
20
20
  *
21
- * The amount is a **negative** amount.
21
+ * The amount deducted from your account balance for this chargeback, converted to the currency your account is
22
+ * settled in. Always a **negative** amount. Only available once the chargeback is finalized and the final settlement
23
+ * amount has been determined.
22
24
  *
23
- * Since the field contains an estimated amount during chargeback processing, it may change over time. To retrieve
24
- * accurate settlement amounts we recommend using the [List balance transactions endpoint](list-balance-transactions)
25
- * instead.
25
+ * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
26
26
  */
27
27
  export type ListEntityChargebackSettlementAmount = {
28
28
  /**
@@ -84,16 +84,16 @@ export type ListEntityChargeback = {
84
84
  */
85
85
  amount: Amount;
86
86
  /**
87
- * This optional field will contain the approximate amount that will be deducted from your account balance, converted
87
+ * **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
88
88
  *
89
89
  * @remarks
90
- * to the currency your account is settled in.
90
+ * the [List balance transactions endpoint](list-balance-transactions) for settlement data.
91
91
  *
92
- * The amount is a **negative** amount.
92
+ * The amount deducted from your account balance for this chargeback, converted to the currency your account is
93
+ * settled in. Always a **negative** amount. Only available once the chargeback is finalized and the final settlement
94
+ * amount has been determined.
93
95
  *
94
- * Since the field contains an estimated amount during chargeback processing, it may change over time. To retrieve
95
- * accurate settlement amounts we recommend using the [List balance transactions endpoint](list-balance-transactions)
96
- * instead.
96
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
97
97
  */
98
98
  settlementAmount?: ListEntityChargebackSettlementAmount | null | undefined;
99
99
  /**
@@ -21,21 +21,18 @@ import { Url, Url$inboundSchema } from "./url.js";
21
21
  import { UrlNullable, UrlNullable$inboundSchema } from "./urlnullable.js";
22
22
 
23
23
  /**
24
- * This optional field will contain the approximate amount that will be deducted from your account balance, converted
24
+ * **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
25
25
  *
26
26
  * @remarks
27
- * to the currency your account is settled in.
27
+ * the [List balance transactions endpoint](list-balance-transactions) for settlement data.
28
28
  *
29
- * The amount is a **negative** amount.
29
+ * The amount deducted from your account balance for this refund, converted to the currency your account is settled
30
+ * in. Always a **negative** amount. Only available once the refund is finalized and the final settlement amount has
31
+ * been determined.
30
32
  *
31
- * If the refund is not directly processed by Mollie, for example for PayPal refunds, the settlement amount will be
32
- * zero.
33
+ * For refunds not directly processed by Mollie (e.g. PayPal), the settlement amount is zero.
33
34
  *
34
- * Since the field contains an estimated amount during refund processing, it may change over time. For example, while
35
- * the refund is queued the settlement amount is likely not yet available.
36
- *
37
- * To retrieve accurate settlement amounts we recommend using the
38
- * [List balance transactions endpoint](list-balance-transactions) instead.
35
+ * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
39
36
  */
40
37
  export type ListEntityRefundSettlementAmount = {
41
38
  /**
@@ -130,21 +127,18 @@ export type ListEntityRefund = {
130
127
  */
131
128
  amount: Amount;
132
129
  /**
133
- * This optional field will contain the approximate amount that will be deducted from your account balance, converted
130
+ * **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
134
131
  *
135
132
  * @remarks
136
- * to the currency your account is settled in.
137
- *
138
- * The amount is a **negative** amount.
133
+ * the [List balance transactions endpoint](list-balance-transactions) for settlement data.
139
134
  *
140
- * If the refund is not directly processed by Mollie, for example for PayPal refunds, the settlement amount will be
141
- * zero.
135
+ * The amount deducted from your account balance for this refund, converted to the currency your account is settled
136
+ * in. Always a **negative** amount. Only available once the refund is finalized and the final settlement amount has
137
+ * been determined.
142
138
  *
143
- * Since the field contains an estimated amount during refund processing, it may change over time. For example, while
144
- * the refund is queued the settlement amount is likely not yet available.
139
+ * For refunds not directly processed by Mollie (e.g. PayPal), the settlement amount is zero.
145
140
  *
146
- * To retrieve accurate settlement amounts we recommend using the
147
- * [List balance transactions endpoint](list-balance-transactions) instead.
141
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
148
142
  */
149
143
  settlementAmount?: ListEntityRefundSettlementAmount | null | undefined;
150
144
  /**
@@ -162,16 +162,18 @@ export type ListPaymentResponseAmountChargedBack = {
162
162
  };
163
163
 
164
164
  /**
165
- * This optional field will contain the approximate amount that will be settled to your account, converted to the
165
+ * **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
166
166
  *
167
167
  * @remarks
168
- * currency your account is settled in.
168
+ * the [List balance transactions endpoint](list-balance-transactions) for settlement data.
169
169
  *
170
- * Any amounts not settled by Mollie will not be reflected in this amount, e.g. PayPal or gift cards. If no amount is
171
- * settled by Mollie the `settlementAmount` is omitted from the response.
170
+ * The amount that will be settled to your account, converted to the currency your account is settled in. Only
171
+ * available once the payment is finalized and the final settlement amount has been determined.
172
172
  *
173
- * Please note that this amount might be recalculated and changed when the status of the payment changes. We suggest
174
- * using the List balance transactions endpoint instead to get more accurate settlement amounts for your payments.
173
+ * Amounts not settled by Mollie are not reflected here (e.g. PayPal or gift cards). If no amount is settled by
174
+ * Mollie, this field is omitted from the response.
175
+ *
176
+ * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
175
177
  */
176
178
  export type ListPaymentResponseSettlementAmount = {
177
179
  /**
@@ -849,16 +851,18 @@ export type ListPaymentResponse = {
849
851
  */
850
852
  amountChargedBack?: ListPaymentResponseAmountChargedBack | undefined;
851
853
  /**
852
- * This optional field will contain the approximate amount that will be settled to your account, converted to the
854
+ * **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
853
855
  *
854
856
  * @remarks
855
- * currency your account is settled in.
857
+ * the [List balance transactions endpoint](list-balance-transactions) for settlement data.
858
+ *
859
+ * The amount that will be settled to your account, converted to the currency your account is settled in. Only
860
+ * available once the payment is finalized and the final settlement amount has been determined.
856
861
  *
857
- * Any amounts not settled by Mollie will not be reflected in this amount, e.g. PayPal or gift cards. If no amount is
858
- * settled by Mollie the `settlementAmount` is omitted from the response.
862
+ * Amounts not settled by Mollie are not reflected here (e.g. PayPal or gift cards). If no amount is settled by
863
+ * Mollie, this field is omitted from the response.
859
864
  *
860
- * Please note that this amount might be recalculated and changed when the status of the payment changes. We suggest
861
- * using the List balance transactions endpoint instead to get more accurate settlement amounts for your payments.
865
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
862
866
  */
863
867
  settlementAmount?: ListPaymentResponseSettlementAmount | undefined;
864
868
  /**
@@ -182,9 +182,6 @@ export type ListSalesInvoiceResponse = {
182
182
  * the recipient so they may then pay through our payment system. To skip our payment process, set this to `paid` to
183
183
  * mark it as paid. It can then subsequently be sent as well, same as with `issued`.
184
184
  *
185
- * A status value that cannot be set but can be returned is `canceled`, for invoices which were
186
- * issued, but then canceled. Currently this can only be done for invoices created in the dashboard.
187
- *
188
185
  * Dependent parameters:
189
186
  * - `paymentDetails` is required if invoice should be set directly to `paid`
190
187
  * - `customerId` and `mandateId` are required if a recurring payment should be used to set the invoice to `paid`
@@ -217,7 +214,13 @@ export type ListSalesInvoiceResponse = {
217
214
  * The payment term to be set on the invoice.
218
215
  */
219
216
  paymentTerm?: SalesInvoicePaymentTermResponse | null | undefined;
220
- paymentDetails?: SalesInvoicePaymentDetailsResponse | undefined;
217
+ /**
218
+ * Used when setting an invoice to status of `paid`, and will store a payment that fully pays the invoice with the
219
+ *
220
+ * @remarks
221
+ * provided details. Required for `paid` status.
222
+ */
223
+ paymentDetails?: Array<SalesInvoicePaymentDetailsResponse> | undefined;
221
224
  emailDetails?: SalesInvoiceEmailDetails | null | undefined;
222
225
  /**
223
226
  * The identifier referring to the [customer](get-customer) you want to attempt an automated payment for. If
@@ -467,7 +470,8 @@ export const ListSalesInvoiceResponse$inboundSchema: z.ZodType<
467
470
  metadata: z.nullable(z.record(z.any())).optional(),
468
471
  paymentTerm: z.nullable(SalesInvoicePaymentTermResponse$inboundSchema)
469
472
  .optional(),
470
- paymentDetails: SalesInvoicePaymentDetailsResponse$inboundSchema.optional(),
473
+ paymentDetails: z.array(SalesInvoicePaymentDetailsResponse$inboundSchema)
474
+ .optional(),
471
475
  emailDetails: z.nullable(SalesInvoiceEmailDetails$inboundSchema).optional(),
472
476
  customerId: z.string().optional(),
473
477
  mandateId: z.string().optional(),
@@ -25,14 +25,7 @@ import { Url, Url$inboundSchema } from "./url.js";
25
25
  import { UrlNullable, UrlNullable$inboundSchema } from "./urlnullable.js";
26
26
 
27
27
  /**
28
- * This optional field will contain the approximate amount that will be settled to your account, converted to the
29
- *
30
- * @remarks
31
- * currency your account is settled in.
32
- *
33
- * Since the field contains an estimated amount during capture processing, it may change over time. To retrieve
34
- * accurate settlement amounts we recommend using the [List balance transactions endpoint](list-balance-transactions)
35
- * instead.
28
+ * The amount settled to your account for this capture, converted to the currency your account is settled in.
36
29
  */
37
30
  export type ListSettlementCaptureResponseSettlementAmount = {
38
31
  /**
@@ -89,14 +82,7 @@ export type ListSettlementCaptureResponse = {
89
82
  */
90
83
  amount: AmountNullable | null;
91
84
  /**
92
- * This optional field will contain the approximate amount that will be settled to your account, converted to the
93
- *
94
- * @remarks
95
- * currency your account is settled in.
96
- *
97
- * Since the field contains an estimated amount during capture processing, it may change over time. To retrieve
98
- * accurate settlement amounts we recommend using the [List balance transactions endpoint](list-balance-transactions)
99
- * instead.
85
+ * The amount settled to your account for this capture, converted to the currency your account is settled in.
100
86
  */
101
87
  settlementAmount?:
102
88
  | ListSettlementCaptureResponseSettlementAmount