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.
- package/FUNCTIONS.md +2 -2
- package/README.md +3 -3
- package/dist/commonjs/funcs/{verifyPayeesCreate.d.ts → verifyPayeeCreate.d.ts} +2 -2
- package/dist/commonjs/funcs/verifyPayeeCreate.d.ts.map +1 -0
- package/dist/commonjs/funcs/{verifyPayeesCreate.js → verifyPayeeCreate.js} +4 -4
- package/dist/commonjs/funcs/verifyPayeeCreate.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/models/captureresponse.d.ts +12 -10
- package/dist/commonjs/models/captureresponse.d.ts.map +1 -1
- package/dist/commonjs/models/captureresponse.js.map +1 -1
- package/dist/commonjs/models/entitycapabilityrequirement.d.ts +1 -2
- package/dist/commonjs/models/entitycapabilityrequirement.d.ts.map +1 -1
- package/dist/commonjs/models/entitycapabilityrequirement.js.map +1 -1
- package/dist/commonjs/models/entitychargeback.d.ts +12 -12
- package/dist/commonjs/models/entityrefundresponse.d.ts +14 -20
- package/dist/commonjs/models/entityrefundresponse.d.ts.map +1 -1
- package/dist/commonjs/models/entityrefundresponse.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +2 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +2 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/listcaptureresponse.d.ts +12 -10
- package/dist/commonjs/models/listcaptureresponse.d.ts.map +1 -1
- package/dist/commonjs/models/listcaptureresponse.js.map +1 -1
- package/dist/commonjs/models/listentitychargeback.d.ts +12 -12
- package/dist/commonjs/models/listentityrefund.d.ts +14 -20
- package/dist/commonjs/models/listentityrefund.d.ts.map +1 -1
- package/dist/commonjs/models/listentityrefund.js.map +1 -1
- package/dist/commonjs/models/listpaymentresponse.d.ts +16 -12
- package/dist/commonjs/models/listpaymentresponse.d.ts.map +1 -1
- package/dist/commonjs/models/listpaymentresponse.js.map +1 -1
- package/dist/commonjs/models/listsalesinvoiceresponse.d.ts +7 -4
- package/dist/commonjs/models/listsalesinvoiceresponse.d.ts.map +1 -1
- package/dist/commonjs/models/listsalesinvoiceresponse.js +2 -1
- package/dist/commonjs/models/listsalesinvoiceresponse.js.map +1 -1
- package/dist/commonjs/models/listsettlementcaptureresponse.d.ts +2 -16
- package/dist/commonjs/models/listsettlementcaptureresponse.d.ts.map +1 -1
- package/dist/commonjs/models/listsettlementcaptureresponse.js.map +1 -1
- package/dist/commonjs/models/listsettlementchargebackresponse.d.ts +127 -0
- package/dist/commonjs/models/listsettlementchargebackresponse.d.ts.map +1 -0
- package/dist/commonjs/models/listsettlementchargebackresponse.js +98 -0
- package/dist/commonjs/models/listsettlementchargebackresponse.js.map +1 -0
- package/dist/commonjs/models/listsettlementpaymentresponse.d.ts +6 -14
- package/dist/commonjs/models/listsettlementpaymentresponse.d.ts.map +1 -1
- package/dist/commonjs/models/listsettlementpaymentresponse.js.map +1 -1
- package/dist/commonjs/models/listsettlementrefundresponse.d.ts +6 -24
- package/dist/commonjs/models/listsettlementrefundresponse.d.ts.map +1 -1
- package/dist/commonjs/models/listsettlementrefundresponse.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.js +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/updatesalesinvoice.d.ts +1 -4
- package/dist/commonjs/models/operations/updatesalesinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatesalesinvoice.js +1 -1
- package/dist/commonjs/models/operations/updatesalesinvoice.js.map +1 -1
- package/dist/commonjs/models/paymentresponse.d.ts +16 -12
- package/dist/commonjs/models/paymentresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentresponse.js.map +1 -1
- package/dist/commonjs/models/salesinvoicerequest.d.ts +0 -3
- package/dist/commonjs/models/salesinvoicerequest.d.ts.map +1 -1
- package/dist/commonjs/models/salesinvoicerequest.js.map +1 -1
- package/dist/commonjs/models/salesinvoiceresponse.d.ts +7 -4
- package/dist/commonjs/models/salesinvoiceresponse.d.ts.map +1 -1
- package/dist/commonjs/models/salesinvoiceresponse.js +2 -1
- package/dist/commonjs/models/salesinvoiceresponse.js.map +1 -1
- package/dist/commonjs/models/salesinvoicestatus.d.ts +0 -6
- package/dist/commonjs/models/salesinvoicestatus.d.ts.map +1 -1
- package/dist/commonjs/models/salesinvoicestatus.js +0 -3
- package/dist/commonjs/models/salesinvoicestatus.js.map +1 -1
- package/dist/commonjs/models/salesinvoicestatusresponse.d.ts +0 -6
- package/dist/commonjs/models/salesinvoicestatusresponse.d.ts.map +1 -1
- package/dist/commonjs/models/salesinvoicestatusresponse.js +0 -3
- package/dist/commonjs/models/salesinvoicestatusresponse.js.map +1 -1
- package/dist/commonjs/models/salesinvoicestatusupdate.d.ts +40 -0
- package/dist/commonjs/models/salesinvoicestatusupdate.d.ts.map +1 -0
- package/dist/commonjs/models/salesinvoicestatusupdate.js +64 -0
- package/dist/commonjs/models/salesinvoicestatusupdate.js.map +1 -0
- package/dist/commonjs/models/statusreason.d.ts +3 -3
- package/dist/commonjs/models/statusreason.d.ts.map +1 -1
- package/dist/commonjs/models/statusreason.js +2 -1
- package/dist/commonjs/models/statusreason.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +3 -3
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +3 -3
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/{esm/sdk/verifypayees.d.ts → commonjs/sdk/verifypayee.d.ts} +2 -2
- package/dist/commonjs/sdk/verifypayee.d.ts.map +1 -0
- package/dist/commonjs/sdk/{verifypayees.js → verifypayee.js} +7 -7
- package/dist/commonjs/sdk/verifypayee.js.map +1 -0
- package/dist/esm/funcs/{verifyPayeesCreate.d.ts → verifyPayeeCreate.d.ts} +2 -2
- package/dist/esm/funcs/verifyPayeeCreate.d.ts.map +1 -0
- package/dist/esm/funcs/{verifyPayeesCreate.js → verifyPayeeCreate.js} +3 -3
- package/dist/esm/funcs/verifyPayeeCreate.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/models/captureresponse.d.ts +12 -10
- package/dist/esm/models/captureresponse.d.ts.map +1 -1
- package/dist/esm/models/captureresponse.js.map +1 -1
- package/dist/esm/models/entitycapabilityrequirement.d.ts +1 -2
- package/dist/esm/models/entitycapabilityrequirement.d.ts.map +1 -1
- package/dist/esm/models/entitycapabilityrequirement.js.map +1 -1
- package/dist/esm/models/entitychargeback.d.ts +12 -12
- package/dist/esm/models/entityrefundresponse.d.ts +14 -20
- package/dist/esm/models/entityrefundresponse.d.ts.map +1 -1
- package/dist/esm/models/entityrefundresponse.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +2 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/listcaptureresponse.d.ts +12 -10
- package/dist/esm/models/listcaptureresponse.d.ts.map +1 -1
- package/dist/esm/models/listcaptureresponse.js.map +1 -1
- package/dist/esm/models/listentitychargeback.d.ts +12 -12
- package/dist/esm/models/listentityrefund.d.ts +14 -20
- package/dist/esm/models/listentityrefund.d.ts.map +1 -1
- package/dist/esm/models/listentityrefund.js.map +1 -1
- package/dist/esm/models/listpaymentresponse.d.ts +16 -12
- package/dist/esm/models/listpaymentresponse.d.ts.map +1 -1
- package/dist/esm/models/listpaymentresponse.js.map +1 -1
- package/dist/esm/models/listsalesinvoiceresponse.d.ts +7 -4
- package/dist/esm/models/listsalesinvoiceresponse.d.ts.map +1 -1
- package/dist/esm/models/listsalesinvoiceresponse.js +2 -1
- package/dist/esm/models/listsalesinvoiceresponse.js.map +1 -1
- package/dist/esm/models/listsettlementcaptureresponse.d.ts +2 -16
- package/dist/esm/models/listsettlementcaptureresponse.d.ts.map +1 -1
- package/dist/esm/models/listsettlementcaptureresponse.js.map +1 -1
- package/dist/esm/models/listsettlementchargebackresponse.d.ts +127 -0
- package/dist/esm/models/listsettlementchargebackresponse.d.ts.map +1 -0
- package/dist/esm/models/listsettlementchargebackresponse.js +58 -0
- package/dist/esm/models/listsettlementchargebackresponse.js.map +1 -0
- package/dist/esm/models/listsettlementpaymentresponse.d.ts +6 -14
- package/dist/esm/models/listsettlementpaymentresponse.d.ts.map +1 -1
- package/dist/esm/models/listsettlementpaymentresponse.js.map +1 -1
- package/dist/esm/models/listsettlementrefundresponse.d.ts +6 -24
- package/dist/esm/models/listsettlementrefundresponse.d.ts.map +1 -1
- package/dist/esm/models/listsettlementrefundresponse.js.map +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.d.ts +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.js +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
- package/dist/esm/models/operations/updatesalesinvoice.d.ts +1 -4
- package/dist/esm/models/operations/updatesalesinvoice.d.ts.map +1 -1
- package/dist/esm/models/operations/updatesalesinvoice.js +1 -1
- package/dist/esm/models/operations/updatesalesinvoice.js.map +1 -1
- package/dist/esm/models/paymentresponse.d.ts +16 -12
- package/dist/esm/models/paymentresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentresponse.js.map +1 -1
- package/dist/esm/models/salesinvoicerequest.d.ts +0 -3
- package/dist/esm/models/salesinvoicerequest.d.ts.map +1 -1
- package/dist/esm/models/salesinvoicerequest.js.map +1 -1
- package/dist/esm/models/salesinvoiceresponse.d.ts +7 -4
- package/dist/esm/models/salesinvoiceresponse.d.ts.map +1 -1
- package/dist/esm/models/salesinvoiceresponse.js +2 -1
- package/dist/esm/models/salesinvoiceresponse.js.map +1 -1
- package/dist/esm/models/salesinvoicestatus.d.ts +0 -6
- package/dist/esm/models/salesinvoicestatus.d.ts.map +1 -1
- package/dist/esm/models/salesinvoicestatus.js +0 -3
- package/dist/esm/models/salesinvoicestatus.js.map +1 -1
- package/dist/esm/models/salesinvoicestatusresponse.d.ts +0 -6
- package/dist/esm/models/salesinvoicestatusresponse.d.ts.map +1 -1
- package/dist/esm/models/salesinvoicestatusresponse.js +0 -3
- package/dist/esm/models/salesinvoicestatusresponse.js.map +1 -1
- package/dist/esm/models/salesinvoicestatusupdate.d.ts +40 -0
- package/dist/esm/models/salesinvoicestatusupdate.d.ts.map +1 -0
- package/dist/esm/models/salesinvoicestatusupdate.js +28 -0
- package/dist/esm/models/salesinvoicestatusupdate.js.map +1 -0
- package/dist/esm/models/statusreason.d.ts +3 -3
- package/dist/esm/models/statusreason.d.ts.map +1 -1
- package/dist/esm/models/statusreason.js +2 -1
- package/dist/esm/models/statusreason.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +3 -3
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +3 -3
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/{commonjs/sdk/verifypayees.d.ts → esm/sdk/verifypayee.d.ts} +2 -2
- package/dist/esm/sdk/verifypayee.d.ts.map +1 -0
- package/dist/esm/sdk/{verifypayees.js → verifypayee.js} +5 -5
- package/dist/esm/sdk/verifypayee.js.map +1 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{verifyPayeesCreate.ts → verifyPayeeCreate.ts} +2 -2
- package/src/lib/config.ts +3 -3
- package/src/models/captureresponse.ts +12 -10
- package/src/models/entitycapabilityrequirement.ts +1 -2
- package/src/models/entitychargeback.ts +12 -12
- package/src/models/entityrefundresponse.ts +14 -20
- package/src/models/index.ts +2 -0
- package/src/models/listcaptureresponse.ts +12 -10
- package/src/models/listentitychargeback.ts +12 -12
- package/src/models/listentityrefund.ts +14 -20
- package/src/models/listpaymentresponse.ts +16 -12
- package/src/models/listsalesinvoiceresponse.ts +9 -5
- package/src/models/listsettlementcaptureresponse.ts +2 -16
- package/src/models/listsettlementchargebackresponse.ts +240 -0
- package/src/models/listsettlementpaymentresponse.ts +6 -14
- package/src/models/listsettlementrefundresponse.ts +6 -24
- package/src/models/operations/listsettlementchargebacks.ts +2 -2
- package/src/models/operations/updatesalesinvoice.ts +2 -5
- package/src/models/paymentresponse.ts +16 -12
- package/src/models/salesinvoicerequest.ts +0 -3
- package/src/models/salesinvoiceresponse.ts +9 -5
- package/src/models/salesinvoicestatus.ts +0 -6
- package/src/models/salesinvoicestatusresponse.ts +0 -6
- package/src/models/salesinvoicestatusupdate.ts +50 -0
- package/src/models/statusreason.ts +5 -5
- package/src/sdk/sdk.ts +4 -4
- package/src/sdk/{verifypayees.ts → verifypayee.ts} +4 -4
- package/dist/commonjs/funcs/verifyPayeesCreate.d.ts.map +0 -1
- package/dist/commonjs/funcs/verifyPayeesCreate.js.map +0 -1
- package/dist/commonjs/sdk/verifypayees.d.ts.map +0 -1
- package/dist/commonjs/sdk/verifypayees.js.map +0 -1
- package/dist/esm/funcs/verifyPayeesCreate.d.ts.map +0 -1
- package/dist/esm/funcs/verifyPayeesCreate.js.map +0 -1
- package/dist/esm/sdk/verifypayees.d.ts.map +0 -1
- 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:
|
|
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
|
|
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.
|
|
82
|
-
genVersion: "2.881.
|
|
81
|
+
sdkVersion: "1.6.6",
|
|
82
|
+
genVersion: "2.881.17",
|
|
83
83
|
userAgent:
|
|
84
|
-
"speakeasy-sdk/typescript 1.6.
|
|
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
|
|
23
|
+
* **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
|
|
24
24
|
*
|
|
25
25
|
* @remarks
|
|
26
|
-
*
|
|
26
|
+
* the [List balance transactions endpoint](list-balance-transactions) for settlement data.
|
|
27
27
|
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
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
|
|
105
|
+
* **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
|
|
105
106
|
*
|
|
106
107
|
* @remarks
|
|
107
|
-
*
|
|
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
|
-
*
|
|
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.
|
|
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
|
|
16
|
+
* **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
*
|
|
19
|
+
* the [List balance transactions endpoint](list-balance-transactions) for settlement data.
|
|
20
20
|
*
|
|
21
|
-
* The 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
|
-
*
|
|
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
|
|
91
|
+
* **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
|
|
92
92
|
*
|
|
93
93
|
* @remarks
|
|
94
|
-
*
|
|
94
|
+
* the [List balance transactions endpoint](list-balance-transactions) for settlement data.
|
|
95
95
|
*
|
|
96
|
-
* The 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
|
-
*
|
|
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
|
|
24
|
+
* **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
|
|
25
25
|
*
|
|
26
26
|
* @remarks
|
|
27
|
-
*
|
|
27
|
+
* the [List balance transactions endpoint](list-balance-transactions) for settlement data.
|
|
28
28
|
*
|
|
29
|
-
* The 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
|
-
*
|
|
32
|
-
* zero.
|
|
33
|
+
* For refunds not directly processed by Mollie (e.g. PayPal), the settlement amount is zero.
|
|
33
34
|
*
|
|
34
|
-
*
|
|
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
|
|
136
|
+
* **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
|
|
140
137
|
*
|
|
141
138
|
* @remarks
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
* The amount is a **negative** amount.
|
|
139
|
+
* the [List balance transactions endpoint](list-balance-transactions) for settlement data.
|
|
145
140
|
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
/**
|
package/src/models/index.ts
CHANGED
|
@@ -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
|
|
23
|
+
* **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
|
|
24
24
|
*
|
|
25
25
|
* @remarks
|
|
26
|
-
*
|
|
26
|
+
* the [List balance transactions endpoint](list-balance-transactions) for settlement data.
|
|
27
27
|
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
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
|
|
103
|
+
* **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
|
|
103
104
|
*
|
|
104
105
|
* @remarks
|
|
105
|
-
*
|
|
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
|
-
*
|
|
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
|
|
16
|
+
* **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
*
|
|
19
|
+
* the [List balance transactions endpoint](list-balance-transactions) for settlement data.
|
|
20
20
|
*
|
|
21
|
-
* The 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
|
-
*
|
|
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
|
|
87
|
+
* **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
|
|
88
88
|
*
|
|
89
89
|
* @remarks
|
|
90
|
-
*
|
|
90
|
+
* the [List balance transactions endpoint](list-balance-transactions) for settlement data.
|
|
91
91
|
*
|
|
92
|
-
* The 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
|
-
*
|
|
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
|
|
24
|
+
* **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
|
|
25
25
|
*
|
|
26
26
|
* @remarks
|
|
27
|
-
*
|
|
27
|
+
* the [List balance transactions endpoint](list-balance-transactions) for settlement data.
|
|
28
28
|
*
|
|
29
|
-
* The 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
|
-
*
|
|
32
|
-
* zero.
|
|
33
|
+
* For refunds not directly processed by Mollie (e.g. PayPal), the settlement amount is zero.
|
|
33
34
|
*
|
|
34
|
-
*
|
|
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
|
|
130
|
+
* **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
|
|
134
131
|
*
|
|
135
132
|
* @remarks
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
* The amount is a **negative** amount.
|
|
133
|
+
* the [List balance transactions endpoint](list-balance-transactions) for settlement data.
|
|
139
134
|
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
165
|
+
* **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
|
|
166
166
|
*
|
|
167
167
|
* @remarks
|
|
168
|
-
*
|
|
168
|
+
* the [List balance transactions endpoint](list-balance-transactions) for settlement data.
|
|
169
169
|
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
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
|
-
*
|
|
174
|
-
*
|
|
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
|
|
854
|
+
* **Deprecated.** This field will be removed on January 1st, 2027. Use the [Settlements API](list-settlements) or
|
|
853
855
|
*
|
|
854
856
|
* @remarks
|
|
855
|
-
*
|
|
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
|
-
*
|
|
858
|
-
*
|
|
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
|
-
*
|
|
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
|
-
|
|
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
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|