mollie-api-typescript 0.0.2 → 0.0.4
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 +1 -1
- package/README.md +6 -6
- package/bin/mcp-server.js +97 -199
- package/bin/mcp-server.js.map +16 -16
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/operations/cancelpayment.d.ts +10 -59
- package/dist/commonjs/models/operations/cancelpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/cancelpayment.js +10 -43
- package/dist/commonjs/models/operations/cancelpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createcustomerpayment.d.ts +20 -118
- package/dist/commonjs/models/operations/createcustomerpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createcustomerpayment.js +19 -86
- package/dist/commonjs/models/operations/createcustomerpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createpayment.d.ts +20 -118
- package/dist/commonjs/models/operations/createpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createpayment.js +18 -84
- package/dist/commonjs/models/operations/createpayment.js.map +1 -1
- package/dist/commonjs/models/operations/getpayment.d.ts +10 -59
- package/dist/commonjs/models/operations/getpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getpayment.js +10 -43
- package/dist/commonjs/models/operations/getpayment.js.map +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +10 -59
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js +11 -44
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts +10 -59
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.js +11 -44
- package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts +10 -59
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.js +11 -44
- package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listpayments.d.ts +10 -59
- package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpayments.js +11 -44
- package/dist/commonjs/models/operations/listpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts +10 -59
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.js +11 -44
- package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +10 -59
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.js +11 -44
- package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
- package/dist/commonjs/models/operations/updatepayment.d.ts +16 -59
- package/dist/commonjs/models/operations/updatepayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatepayment.js +13 -44
- package/dist/commonjs/models/operations/updatepayment.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/operations/cancelpayment.d.ts +10 -59
- package/dist/esm/models/operations/cancelpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/cancelpayment.js +6 -39
- package/dist/esm/models/operations/cancelpayment.js.map +1 -1
- package/dist/esm/models/operations/createcustomerpayment.d.ts +20 -118
- package/dist/esm/models/operations/createcustomerpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/createcustomerpayment.js +13 -80
- package/dist/esm/models/operations/createcustomerpayment.js.map +1 -1
- package/dist/esm/models/operations/createpayment.d.ts +20 -118
- package/dist/esm/models/operations/createpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/createpayment.js +12 -78
- package/dist/esm/models/operations/createpayment.js.map +1 -1
- package/dist/esm/models/operations/getpayment.d.ts +10 -59
- package/dist/esm/models/operations/getpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/getpayment.js +6 -39
- package/dist/esm/models/operations/getpayment.js.map +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +10 -59
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.js +6 -39
- package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.d.ts +10 -59
- package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.js +6 -39
- package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.d.ts +10 -59
- package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.js +6 -39
- package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
- package/dist/esm/models/operations/listpayments.d.ts +10 -59
- package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listpayments.js +6 -39
- package/dist/esm/models/operations/listpayments.js.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.d.ts +10 -59
- package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.js +6 -39
- package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts +10 -59
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.js +6 -39
- package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
- package/dist/esm/models/operations/updatepayment.d.ts +16 -59
- package/dist/esm/models/operations/updatepayment.d.ts.map +1 -1
- package/dist/esm/models/operations/updatepayment.js +8 -39
- package/dist/esm/models/operations/updatepayment.js.map +1 -1
- package/docs/sdks/customers/README.md +2 -2
- package/docs/sdks/payments/README.md +2 -2
- package/examples/package-lock.json +1 -1
- package/examples/paymentsCreate.example.ts +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/cancelpayment.ts +10 -71
- package/src/models/operations/createcustomerpayment.ts +21 -150
- package/src/models/operations/createpayment.ts +20 -143
- package/src/models/operations/getpayment.ts +10 -69
- package/src/models/operations/getpaymentlinkpayments.ts +10 -72
- package/src/models/operations/listallsubscriptions.ts +10 -71
- package/src/models/operations/listcustomerpayments.ts +10 -71
- package/src/models/operations/listpayments.ts +10 -71
- package/src/models/operations/listsettlementpayments.ts +10 -72
- package/src/models/operations/listsubscriptionpayments.ts +10 -74
- package/src/models/operations/updatepayment.ts +12 -71
|
@@ -565,6 +565,7 @@ export const CreateCustomerPaymentMethodRequest = {
|
|
|
565
565
|
Banktransfer: "banktransfer",
|
|
566
566
|
Belfius: "belfius",
|
|
567
567
|
Billie: "billie",
|
|
568
|
+
Bizum: "bizum",
|
|
568
569
|
Blik: "blik",
|
|
569
570
|
Creditcard: "creditcard",
|
|
570
571
|
Directdebit: "directdebit",
|
|
@@ -577,6 +578,7 @@ export const CreateCustomerPaymentMethodRequest = {
|
|
|
577
578
|
Mbway: "mbway",
|
|
578
579
|
Multibanco: "multibanco",
|
|
579
580
|
Mybank: "mybank",
|
|
581
|
+
Paybybank: "paybybank",
|
|
580
582
|
Payconiq: "payconiq",
|
|
581
583
|
Paypal: "paypal",
|
|
582
584
|
Paysafecard: "paysafecard",
|
|
@@ -641,46 +643,6 @@ export type CreateCustomerPaymentCaptureModeRequest = ClosedEnum<
|
|
|
641
643
|
typeof CreateCustomerPaymentCaptureModeRequest
|
|
642
644
|
>;
|
|
643
645
|
|
|
644
|
-
/**
|
|
645
|
-
* **Only relevant if you wish to manage authorization and capturing separately.**
|
|
646
|
-
*
|
|
647
|
-
* @remarks
|
|
648
|
-
*
|
|
649
|
-
* Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
|
|
650
|
-
* later point either be 'captured' or canceled.
|
|
651
|
-
*
|
|
652
|
-
* By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
|
|
653
|
-
* capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
|
|
654
|
-
* example `8 hours` or `2 days`.
|
|
655
|
-
*
|
|
656
|
-
* To schedule an automatic capture, the `captureMode` must be set to `automatic`.
|
|
657
|
-
*
|
|
658
|
-
* The maximum delay is 7 days (168 hours).
|
|
659
|
-
*/
|
|
660
|
-
export const CreateCustomerPaymentCaptureDelayRequest = {
|
|
661
|
-
DotDotDotHours: "... hours",
|
|
662
|
-
DotDotDotDays: "... days",
|
|
663
|
-
} as const;
|
|
664
|
-
/**
|
|
665
|
-
* **Only relevant if you wish to manage authorization and capturing separately.**
|
|
666
|
-
*
|
|
667
|
-
* @remarks
|
|
668
|
-
*
|
|
669
|
-
* Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
|
|
670
|
-
* later point either be 'captured' or canceled.
|
|
671
|
-
*
|
|
672
|
-
* By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
|
|
673
|
-
* capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
|
|
674
|
-
* example `8 hours` or `2 days`.
|
|
675
|
-
*
|
|
676
|
-
* To schedule an automatic capture, the `captureMode` must be set to `automatic`.
|
|
677
|
-
*
|
|
678
|
-
* The maximum delay is 7 days (168 hours).
|
|
679
|
-
*/
|
|
680
|
-
export type CreateCustomerPaymentCaptureDelayRequest = ClosedEnum<
|
|
681
|
-
typeof CreateCustomerPaymentCaptureDelayRequest
|
|
682
|
-
>;
|
|
683
|
-
|
|
684
646
|
/**
|
|
685
647
|
* The fee that you wish to charge.
|
|
686
648
|
*
|
|
@@ -1078,8 +1040,10 @@ export type CreateCustomerPaymentRequestBody = {
|
|
|
1078
1040
|
* To schedule an automatic capture, the `captureMode` must be set to `automatic`.
|
|
1079
1041
|
*
|
|
1080
1042
|
* The maximum delay is 7 days (168 hours).
|
|
1043
|
+
*
|
|
1044
|
+
* Possible values: `... hours` `... days`
|
|
1081
1045
|
*/
|
|
1082
|
-
captureDelay?:
|
|
1046
|
+
captureDelay?: string | null | undefined;
|
|
1083
1047
|
/**
|
|
1084
1048
|
* With Mollie Connect you can charge fees on payments that your app is processing on behalf of other Mollie
|
|
1085
1049
|
*
|
|
@@ -1872,6 +1836,7 @@ export const CreateCustomerPaymentMethodResponse = {
|
|
|
1872
1836
|
Banktransfer: "banktransfer",
|
|
1873
1837
|
Belfius: "belfius",
|
|
1874
1838
|
Billie: "billie",
|
|
1839
|
+
Bizum: "bizum",
|
|
1875
1840
|
Blik: "blik",
|
|
1876
1841
|
Creditcard: "creditcard",
|
|
1877
1842
|
Directdebit: "directdebit",
|
|
@@ -1884,6 +1849,7 @@ export const CreateCustomerPaymentMethodResponse = {
|
|
|
1884
1849
|
Mbway: "mbway",
|
|
1885
1850
|
Multibanco: "multibanco",
|
|
1886
1851
|
Mybank: "mybank",
|
|
1852
|
+
Paybybank: "paybybank",
|
|
1887
1853
|
Payconiq: "payconiq",
|
|
1888
1854
|
Paypal: "paypal",
|
|
1889
1855
|
Paysafecard: "paysafecard",
|
|
@@ -1943,46 +1909,6 @@ export type CreateCustomerPaymentCaptureModeResponse = ClosedEnum<
|
|
|
1943
1909
|
typeof CreateCustomerPaymentCaptureModeResponse
|
|
1944
1910
|
>;
|
|
1945
1911
|
|
|
1946
|
-
/**
|
|
1947
|
-
* **Only relevant if you wish to manage authorization and capturing separately.**
|
|
1948
|
-
*
|
|
1949
|
-
* @remarks
|
|
1950
|
-
*
|
|
1951
|
-
* Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
|
|
1952
|
-
* later point either be 'captured' or canceled.
|
|
1953
|
-
*
|
|
1954
|
-
* By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
|
|
1955
|
-
* capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
|
|
1956
|
-
* example `8 hours` or `2 days`.
|
|
1957
|
-
*
|
|
1958
|
-
* To schedule an automatic capture, the `captureMode` must be set to `automatic`.
|
|
1959
|
-
*
|
|
1960
|
-
* The maximum delay is 7 days (168 hours).
|
|
1961
|
-
*/
|
|
1962
|
-
export const CreateCustomerPaymentCaptureDelayResponse = {
|
|
1963
|
-
DotDotDotHours: "... hours",
|
|
1964
|
-
DotDotDotDays: "... days",
|
|
1965
|
-
} as const;
|
|
1966
|
-
/**
|
|
1967
|
-
* **Only relevant if you wish to manage authorization and capturing separately.**
|
|
1968
|
-
*
|
|
1969
|
-
* @remarks
|
|
1970
|
-
*
|
|
1971
|
-
* Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
|
|
1972
|
-
* later point either be 'captured' or canceled.
|
|
1973
|
-
*
|
|
1974
|
-
* By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
|
|
1975
|
-
* capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
|
|
1976
|
-
* example `8 hours` or `2 days`.
|
|
1977
|
-
*
|
|
1978
|
-
* To schedule an automatic capture, the `captureMode` must be set to `automatic`.
|
|
1979
|
-
*
|
|
1980
|
-
* The maximum delay is 7 days (168 hours).
|
|
1981
|
-
*/
|
|
1982
|
-
export type CreateCustomerPaymentCaptureDelayResponse = ClosedEnum<
|
|
1983
|
-
typeof CreateCustomerPaymentCaptureDelayResponse
|
|
1984
|
-
>;
|
|
1985
|
-
|
|
1986
1912
|
/**
|
|
1987
1913
|
* The fee that you wish to charge.
|
|
1988
1914
|
*
|
|
@@ -2812,8 +2738,10 @@ export type CreateCustomerPaymentResponse = {
|
|
|
2812
2738
|
* To schedule an automatic capture, the `captureMode` must be set to `automatic`.
|
|
2813
2739
|
*
|
|
2814
2740
|
* The maximum delay is 7 days (168 hours).
|
|
2741
|
+
*
|
|
2742
|
+
* Possible values: `... hours` `... days`
|
|
2815
2743
|
*/
|
|
2816
|
-
captureDelay?:
|
|
2744
|
+
captureDelay?: string | null | undefined;
|
|
2817
2745
|
/**
|
|
2818
2746
|
* Indicates the date before which the payment needs to be captured, in ISO 8601 format. From this date onwards we
|
|
2819
2747
|
*
|
|
@@ -4040,29 +3968,6 @@ export namespace CreateCustomerPaymentCaptureModeRequest$ {
|
|
|
4040
3968
|
CreateCustomerPaymentCaptureModeRequest$outboundSchema;
|
|
4041
3969
|
}
|
|
4042
3970
|
|
|
4043
|
-
/** @internal */
|
|
4044
|
-
export const CreateCustomerPaymentCaptureDelayRequest$inboundSchema:
|
|
4045
|
-
z.ZodNativeEnum<typeof CreateCustomerPaymentCaptureDelayRequest> = z
|
|
4046
|
-
.nativeEnum(CreateCustomerPaymentCaptureDelayRequest);
|
|
4047
|
-
|
|
4048
|
-
/** @internal */
|
|
4049
|
-
export const CreateCustomerPaymentCaptureDelayRequest$outboundSchema:
|
|
4050
|
-
z.ZodNativeEnum<typeof CreateCustomerPaymentCaptureDelayRequest> =
|
|
4051
|
-
CreateCustomerPaymentCaptureDelayRequest$inboundSchema;
|
|
4052
|
-
|
|
4053
|
-
/**
|
|
4054
|
-
* @internal
|
|
4055
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4056
|
-
*/
|
|
4057
|
-
export namespace CreateCustomerPaymentCaptureDelayRequest$ {
|
|
4058
|
-
/** @deprecated use `CreateCustomerPaymentCaptureDelayRequest$inboundSchema` instead. */
|
|
4059
|
-
export const inboundSchema =
|
|
4060
|
-
CreateCustomerPaymentCaptureDelayRequest$inboundSchema;
|
|
4061
|
-
/** @deprecated use `CreateCustomerPaymentCaptureDelayRequest$outboundSchema` instead. */
|
|
4062
|
-
export const outboundSchema =
|
|
4063
|
-
CreateCustomerPaymentCaptureDelayRequest$outboundSchema;
|
|
4064
|
-
}
|
|
4065
|
-
|
|
4066
3971
|
/** @internal */
|
|
4067
3972
|
export const CreateCustomerPaymentApplicationFeeAmountRequest$inboundSchema:
|
|
4068
3973
|
z.ZodType<
|
|
@@ -4686,12 +4591,9 @@ export const CreateCustomerPaymentRequestBody$inboundSchema: z.ZodType<
|
|
|
4686
4591
|
z.array(z.string()),
|
|
4687
4592
|
]),
|
|
4688
4593
|
).optional(),
|
|
4689
|
-
captureMode: z.nullable(
|
|
4690
|
-
|
|
4691
|
-
),
|
|
4692
|
-
captureDelay: z.nullable(
|
|
4693
|
-
CreateCustomerPaymentCaptureDelayRequest$inboundSchema,
|
|
4694
|
-
).optional(),
|
|
4594
|
+
captureMode: z.nullable(CreateCustomerPaymentCaptureModeRequest$inboundSchema)
|
|
4595
|
+
.optional(),
|
|
4596
|
+
captureDelay: z.nullable(z.string()).optional(),
|
|
4695
4597
|
applicationFee: z.nullable(
|
|
4696
4598
|
z.lazy(() => CreateCustomerPaymentApplicationFeeRequest$inboundSchema),
|
|
4697
4599
|
).optional(),
|
|
@@ -4732,7 +4634,7 @@ export type CreateCustomerPaymentRequestBody$Outbound = {
|
|
|
4732
4634
|
| Array<string>
|
|
4733
4635
|
| null
|
|
4734
4636
|
| undefined;
|
|
4735
|
-
captureMode
|
|
4637
|
+
captureMode?: string | null | undefined;
|
|
4736
4638
|
captureDelay?: string | null | undefined;
|
|
4737
4639
|
applicationFee?:
|
|
4738
4640
|
| CreateCustomerPaymentApplicationFeeRequest$Outbound
|
|
@@ -4784,11 +4686,9 @@ export const CreateCustomerPaymentRequestBody$outboundSchema: z.ZodType<
|
|
|
4784
4686
|
]),
|
|
4785
4687
|
).optional(),
|
|
4786
4688
|
captureMode: z.nullable(
|
|
4787
|
-
CreateCustomerPaymentCaptureModeRequest$outboundSchema
|
|
4788
|
-
),
|
|
4789
|
-
captureDelay: z.nullable(
|
|
4790
|
-
CreateCustomerPaymentCaptureDelayRequest$outboundSchema,
|
|
4689
|
+
CreateCustomerPaymentCaptureModeRequest$outboundSchema,
|
|
4791
4690
|
).optional(),
|
|
4691
|
+
captureDelay: z.nullable(z.string()).optional(),
|
|
4792
4692
|
applicationFee: z.nullable(
|
|
4793
4693
|
z.lazy(() => CreateCustomerPaymentApplicationFeeRequest$outboundSchema),
|
|
4794
4694
|
).optional(),
|
|
@@ -6574,29 +6474,6 @@ export namespace CreateCustomerPaymentCaptureModeResponse$ {
|
|
|
6574
6474
|
CreateCustomerPaymentCaptureModeResponse$outboundSchema;
|
|
6575
6475
|
}
|
|
6576
6476
|
|
|
6577
|
-
/** @internal */
|
|
6578
|
-
export const CreateCustomerPaymentCaptureDelayResponse$inboundSchema:
|
|
6579
|
-
z.ZodNativeEnum<typeof CreateCustomerPaymentCaptureDelayResponse> = z
|
|
6580
|
-
.nativeEnum(CreateCustomerPaymentCaptureDelayResponse);
|
|
6581
|
-
|
|
6582
|
-
/** @internal */
|
|
6583
|
-
export const CreateCustomerPaymentCaptureDelayResponse$outboundSchema:
|
|
6584
|
-
z.ZodNativeEnum<typeof CreateCustomerPaymentCaptureDelayResponse> =
|
|
6585
|
-
CreateCustomerPaymentCaptureDelayResponse$inboundSchema;
|
|
6586
|
-
|
|
6587
|
-
/**
|
|
6588
|
-
* @internal
|
|
6589
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6590
|
-
*/
|
|
6591
|
-
export namespace CreateCustomerPaymentCaptureDelayResponse$ {
|
|
6592
|
-
/** @deprecated use `CreateCustomerPaymentCaptureDelayResponse$inboundSchema` instead. */
|
|
6593
|
-
export const inboundSchema =
|
|
6594
|
-
CreateCustomerPaymentCaptureDelayResponse$inboundSchema;
|
|
6595
|
-
/** @deprecated use `CreateCustomerPaymentCaptureDelayResponse$outboundSchema` instead. */
|
|
6596
|
-
export const outboundSchema =
|
|
6597
|
-
CreateCustomerPaymentCaptureDelayResponse$outboundSchema;
|
|
6598
|
-
}
|
|
6599
|
-
|
|
6600
6477
|
/** @internal */
|
|
6601
6478
|
export const CreateCustomerPaymentApplicationFeeAmountResponse$inboundSchema:
|
|
6602
6479
|
z.ZodType<
|
|
@@ -8402,11 +8279,9 @@ export const CreateCustomerPaymentResponse$inboundSchema: z.ZodType<
|
|
|
8402
8279
|
]),
|
|
8403
8280
|
).optional(),
|
|
8404
8281
|
captureMode: z.nullable(
|
|
8405
|
-
CreateCustomerPaymentCaptureModeResponse$inboundSchema
|
|
8406
|
-
),
|
|
8407
|
-
captureDelay: z.nullable(
|
|
8408
|
-
CreateCustomerPaymentCaptureDelayResponse$inboundSchema,
|
|
8282
|
+
CreateCustomerPaymentCaptureModeResponse$inboundSchema,
|
|
8409
8283
|
).optional(),
|
|
8284
|
+
captureDelay: z.nullable(z.string()).optional(),
|
|
8410
8285
|
captureBefore: z.nullable(z.string()).optional(),
|
|
8411
8286
|
applicationFee: z.nullable(
|
|
8412
8287
|
z.lazy(() => CreateCustomerPaymentApplicationFeeResponse$inboundSchema),
|
|
@@ -8477,7 +8352,7 @@ export type CreateCustomerPaymentResponse$Outbound = {
|
|
|
8477
8352
|
| Array<string>
|
|
8478
8353
|
| null
|
|
8479
8354
|
| undefined;
|
|
8480
|
-
captureMode
|
|
8355
|
+
captureMode?: string | null | undefined;
|
|
8481
8356
|
captureDelay?: string | null | undefined;
|
|
8482
8357
|
captureBefore?: string | null | undefined;
|
|
8483
8358
|
applicationFee?:
|
|
@@ -8561,13 +8436,9 @@ export const CreateCustomerPaymentResponse$outboundSchema: z.ZodType<
|
|
|
8561
8436
|
]),
|
|
8562
8437
|
).optional(),
|
|
8563
8438
|
captureMode: z.nullable(
|
|
8564
|
-
CreateCustomerPaymentCaptureModeResponse$outboundSchema
|
|
8565
|
-
"automatic",
|
|
8566
|
-
),
|
|
8567
|
-
),
|
|
8568
|
-
captureDelay: z.nullable(
|
|
8569
|
-
CreateCustomerPaymentCaptureDelayResponse$outboundSchema,
|
|
8439
|
+
CreateCustomerPaymentCaptureModeResponse$outboundSchema,
|
|
8570
8440
|
).optional(),
|
|
8441
|
+
captureDelay: z.nullable(z.string()).optional(),
|
|
8571
8442
|
captureBefore: z.nullable(z.string()).optional(),
|
|
8572
8443
|
applicationFee: z.nullable(
|
|
8573
8444
|
z.lazy(() => CreateCustomerPaymentApplicationFeeResponse$outboundSchema),
|
|
@@ -576,6 +576,7 @@ export const CreatePaymentMethodRequest = {
|
|
|
576
576
|
Banktransfer: "banktransfer",
|
|
577
577
|
Belfius: "belfius",
|
|
578
578
|
Billie: "billie",
|
|
579
|
+
Bizum: "bizum",
|
|
579
580
|
Blik: "blik",
|
|
580
581
|
Creditcard: "creditcard",
|
|
581
582
|
Directdebit: "directdebit",
|
|
@@ -588,6 +589,7 @@ export const CreatePaymentMethodRequest = {
|
|
|
588
589
|
Mbway: "mbway",
|
|
589
590
|
Multibanco: "multibanco",
|
|
590
591
|
Mybank: "mybank",
|
|
592
|
+
Paybybank: "paybybank",
|
|
591
593
|
Payconiq: "payconiq",
|
|
592
594
|
Paypal: "paypal",
|
|
593
595
|
Paysafecard: "paysafecard",
|
|
@@ -652,46 +654,6 @@ export type CreatePaymentCaptureModeRequest = ClosedEnum<
|
|
|
652
654
|
typeof CreatePaymentCaptureModeRequest
|
|
653
655
|
>;
|
|
654
656
|
|
|
655
|
-
/**
|
|
656
|
-
* **Only relevant if you wish to manage authorization and capturing separately.**
|
|
657
|
-
*
|
|
658
|
-
* @remarks
|
|
659
|
-
*
|
|
660
|
-
* Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
|
|
661
|
-
* later point either be 'captured' or canceled.
|
|
662
|
-
*
|
|
663
|
-
* By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
|
|
664
|
-
* capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
|
|
665
|
-
* example `8 hours` or `2 days`.
|
|
666
|
-
*
|
|
667
|
-
* To schedule an automatic capture, the `captureMode` must be set to `automatic`.
|
|
668
|
-
*
|
|
669
|
-
* The maximum delay is 7 days (168 hours).
|
|
670
|
-
*/
|
|
671
|
-
export const CreatePaymentCaptureDelayRequest = {
|
|
672
|
-
DotDotDotHours: "... hours",
|
|
673
|
-
DotDotDotDays: "... days",
|
|
674
|
-
} as const;
|
|
675
|
-
/**
|
|
676
|
-
* **Only relevant if you wish to manage authorization and capturing separately.**
|
|
677
|
-
*
|
|
678
|
-
* @remarks
|
|
679
|
-
*
|
|
680
|
-
* Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
|
|
681
|
-
* later point either be 'captured' or canceled.
|
|
682
|
-
*
|
|
683
|
-
* By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
|
|
684
|
-
* capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
|
|
685
|
-
* example `8 hours` or `2 days`.
|
|
686
|
-
*
|
|
687
|
-
* To schedule an automatic capture, the `captureMode` must be set to `automatic`.
|
|
688
|
-
*
|
|
689
|
-
* The maximum delay is 7 days (168 hours).
|
|
690
|
-
*/
|
|
691
|
-
export type CreatePaymentCaptureDelayRequest = ClosedEnum<
|
|
692
|
-
typeof CreatePaymentCaptureDelayRequest
|
|
693
|
-
>;
|
|
694
|
-
|
|
695
657
|
/**
|
|
696
658
|
* The fee that you wish to charge.
|
|
697
659
|
*
|
|
@@ -1089,8 +1051,10 @@ export type CreatePaymentRequestBody = {
|
|
|
1089
1051
|
* To schedule an automatic capture, the `captureMode` must be set to `automatic`.
|
|
1090
1052
|
*
|
|
1091
1053
|
* The maximum delay is 7 days (168 hours).
|
|
1054
|
+
*
|
|
1055
|
+
* Possible values: `... hours` `... days`
|
|
1092
1056
|
*/
|
|
1093
|
-
captureDelay?:
|
|
1057
|
+
captureDelay?: string | null | undefined;
|
|
1094
1058
|
/**
|
|
1095
1059
|
* With Mollie Connect you can charge fees on payments that your app is processing on behalf of other Mollie
|
|
1096
1060
|
*
|
|
@@ -1878,6 +1842,7 @@ export const CreatePaymentMethodResponse = {
|
|
|
1878
1842
|
Banktransfer: "banktransfer",
|
|
1879
1843
|
Belfius: "belfius",
|
|
1880
1844
|
Billie: "billie",
|
|
1845
|
+
Bizum: "bizum",
|
|
1881
1846
|
Blik: "blik",
|
|
1882
1847
|
Creditcard: "creditcard",
|
|
1883
1848
|
Directdebit: "directdebit",
|
|
@@ -1890,6 +1855,7 @@ export const CreatePaymentMethodResponse = {
|
|
|
1890
1855
|
Mbway: "mbway",
|
|
1891
1856
|
Multibanco: "multibanco",
|
|
1892
1857
|
Mybank: "mybank",
|
|
1858
|
+
Paybybank: "paybybank",
|
|
1893
1859
|
Payconiq: "payconiq",
|
|
1894
1860
|
Paypal: "paypal",
|
|
1895
1861
|
Paysafecard: "paysafecard",
|
|
@@ -1949,46 +1915,6 @@ export type CreatePaymentCaptureModeResponse = ClosedEnum<
|
|
|
1949
1915
|
typeof CreatePaymentCaptureModeResponse
|
|
1950
1916
|
>;
|
|
1951
1917
|
|
|
1952
|
-
/**
|
|
1953
|
-
* **Only relevant if you wish to manage authorization and capturing separately.**
|
|
1954
|
-
*
|
|
1955
|
-
* @remarks
|
|
1956
|
-
*
|
|
1957
|
-
* Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
|
|
1958
|
-
* later point either be 'captured' or canceled.
|
|
1959
|
-
*
|
|
1960
|
-
* By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
|
|
1961
|
-
* capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
|
|
1962
|
-
* example `8 hours` or `2 days`.
|
|
1963
|
-
*
|
|
1964
|
-
* To schedule an automatic capture, the `captureMode` must be set to `automatic`.
|
|
1965
|
-
*
|
|
1966
|
-
* The maximum delay is 7 days (168 hours).
|
|
1967
|
-
*/
|
|
1968
|
-
export const CreatePaymentCaptureDelayResponse = {
|
|
1969
|
-
DotDotDotHours: "... hours",
|
|
1970
|
-
DotDotDotDays: "... days",
|
|
1971
|
-
} as const;
|
|
1972
|
-
/**
|
|
1973
|
-
* **Only relevant if you wish to manage authorization and capturing separately.**
|
|
1974
|
-
*
|
|
1975
|
-
* @remarks
|
|
1976
|
-
*
|
|
1977
|
-
* Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
|
|
1978
|
-
* later point either be 'captured' or canceled.
|
|
1979
|
-
*
|
|
1980
|
-
* By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
|
|
1981
|
-
* capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
|
|
1982
|
-
* example `8 hours` or `2 days`.
|
|
1983
|
-
*
|
|
1984
|
-
* To schedule an automatic capture, the `captureMode` must be set to `automatic`.
|
|
1985
|
-
*
|
|
1986
|
-
* The maximum delay is 7 days (168 hours).
|
|
1987
|
-
*/
|
|
1988
|
-
export type CreatePaymentCaptureDelayResponse = ClosedEnum<
|
|
1989
|
-
typeof CreatePaymentCaptureDelayResponse
|
|
1990
|
-
>;
|
|
1991
|
-
|
|
1992
1918
|
/**
|
|
1993
1919
|
* The fee that you wish to charge.
|
|
1994
1920
|
*
|
|
@@ -2816,8 +2742,10 @@ export type CreatePaymentResponse = {
|
|
|
2816
2742
|
* To schedule an automatic capture, the `captureMode` must be set to `automatic`.
|
|
2817
2743
|
*
|
|
2818
2744
|
* The maximum delay is 7 days (168 hours).
|
|
2745
|
+
*
|
|
2746
|
+
* Possible values: `... hours` `... days`
|
|
2819
2747
|
*/
|
|
2820
|
-
captureDelay?:
|
|
2748
|
+
captureDelay?: string | null | undefined;
|
|
2821
2749
|
/**
|
|
2822
2750
|
* Indicates the date before which the payment needs to be captured, in ISO 8601 format. From this date onwards we
|
|
2823
2751
|
*
|
|
@@ -3974,27 +3902,6 @@ export namespace CreatePaymentCaptureModeRequest$ {
|
|
|
3974
3902
|
export const outboundSchema = CreatePaymentCaptureModeRequest$outboundSchema;
|
|
3975
3903
|
}
|
|
3976
3904
|
|
|
3977
|
-
/** @internal */
|
|
3978
|
-
export const CreatePaymentCaptureDelayRequest$inboundSchema: z.ZodNativeEnum<
|
|
3979
|
-
typeof CreatePaymentCaptureDelayRequest
|
|
3980
|
-
> = z.nativeEnum(CreatePaymentCaptureDelayRequest);
|
|
3981
|
-
|
|
3982
|
-
/** @internal */
|
|
3983
|
-
export const CreatePaymentCaptureDelayRequest$outboundSchema: z.ZodNativeEnum<
|
|
3984
|
-
typeof CreatePaymentCaptureDelayRequest
|
|
3985
|
-
> = CreatePaymentCaptureDelayRequest$inboundSchema;
|
|
3986
|
-
|
|
3987
|
-
/**
|
|
3988
|
-
* @internal
|
|
3989
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3990
|
-
*/
|
|
3991
|
-
export namespace CreatePaymentCaptureDelayRequest$ {
|
|
3992
|
-
/** @deprecated use `CreatePaymentCaptureDelayRequest$inboundSchema` instead. */
|
|
3993
|
-
export const inboundSchema = CreatePaymentCaptureDelayRequest$inboundSchema;
|
|
3994
|
-
/** @deprecated use `CreatePaymentCaptureDelayRequest$outboundSchema` instead. */
|
|
3995
|
-
export const outboundSchema = CreatePaymentCaptureDelayRequest$outboundSchema;
|
|
3996
|
-
}
|
|
3997
|
-
|
|
3998
3905
|
/** @internal */
|
|
3999
3906
|
export const CreatePaymentApplicationFeeAmountRequest$inboundSchema: z.ZodType<
|
|
4000
3907
|
CreatePaymentApplicationFeeAmountRequest,
|
|
@@ -4563,11 +4470,9 @@ export const CreatePaymentRequestBody$inboundSchema: z.ZodType<
|
|
|
4563
4470
|
z.array(z.string()),
|
|
4564
4471
|
]),
|
|
4565
4472
|
).optional(),
|
|
4566
|
-
captureMode: z.nullable(
|
|
4567
|
-
CreatePaymentCaptureModeRequest$inboundSchema.default("automatic"),
|
|
4568
|
-
),
|
|
4569
|
-
captureDelay: z.nullable(CreatePaymentCaptureDelayRequest$inboundSchema)
|
|
4473
|
+
captureMode: z.nullable(CreatePaymentCaptureModeRequest$inboundSchema)
|
|
4570
4474
|
.optional(),
|
|
4475
|
+
captureDelay: z.nullable(z.string()).optional(),
|
|
4571
4476
|
applicationFee: z.nullable(
|
|
4572
4477
|
z.lazy(() => CreatePaymentApplicationFeeRequest$inboundSchema),
|
|
4573
4478
|
).optional(),
|
|
@@ -4604,7 +4509,7 @@ export type CreatePaymentRequestBody$Outbound = {
|
|
|
4604
4509
|
| Array<string>
|
|
4605
4510
|
| null
|
|
4606
4511
|
| undefined;
|
|
4607
|
-
captureMode
|
|
4512
|
+
captureMode?: string | null | undefined;
|
|
4608
4513
|
captureDelay?: string | null | undefined;
|
|
4609
4514
|
applicationFee?:
|
|
4610
4515
|
| CreatePaymentApplicationFeeRequest$Outbound
|
|
@@ -4650,11 +4555,9 @@ export const CreatePaymentRequestBody$outboundSchema: z.ZodType<
|
|
|
4650
4555
|
z.array(z.string()),
|
|
4651
4556
|
]),
|
|
4652
4557
|
).optional(),
|
|
4653
|
-
captureMode: z.nullable(
|
|
4654
|
-
CreatePaymentCaptureModeRequest$outboundSchema.default("automatic"),
|
|
4655
|
-
),
|
|
4656
|
-
captureDelay: z.nullable(CreatePaymentCaptureDelayRequest$outboundSchema)
|
|
4558
|
+
captureMode: z.nullable(CreatePaymentCaptureModeRequest$outboundSchema)
|
|
4657
4559
|
.optional(),
|
|
4560
|
+
captureDelay: z.nullable(z.string()).optional(),
|
|
4658
4561
|
applicationFee: z.nullable(
|
|
4659
4562
|
z.lazy(() => CreatePaymentApplicationFeeRequest$outboundSchema),
|
|
4660
4563
|
).optional(),
|
|
@@ -6303,28 +6206,6 @@ export namespace CreatePaymentCaptureModeResponse$ {
|
|
|
6303
6206
|
export const outboundSchema = CreatePaymentCaptureModeResponse$outboundSchema;
|
|
6304
6207
|
}
|
|
6305
6208
|
|
|
6306
|
-
/** @internal */
|
|
6307
|
-
export const CreatePaymentCaptureDelayResponse$inboundSchema: z.ZodNativeEnum<
|
|
6308
|
-
typeof CreatePaymentCaptureDelayResponse
|
|
6309
|
-
> = z.nativeEnum(CreatePaymentCaptureDelayResponse);
|
|
6310
|
-
|
|
6311
|
-
/** @internal */
|
|
6312
|
-
export const CreatePaymentCaptureDelayResponse$outboundSchema: z.ZodNativeEnum<
|
|
6313
|
-
typeof CreatePaymentCaptureDelayResponse
|
|
6314
|
-
> = CreatePaymentCaptureDelayResponse$inboundSchema;
|
|
6315
|
-
|
|
6316
|
-
/**
|
|
6317
|
-
* @internal
|
|
6318
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6319
|
-
*/
|
|
6320
|
-
export namespace CreatePaymentCaptureDelayResponse$ {
|
|
6321
|
-
/** @deprecated use `CreatePaymentCaptureDelayResponse$inboundSchema` instead. */
|
|
6322
|
-
export const inboundSchema = CreatePaymentCaptureDelayResponse$inboundSchema;
|
|
6323
|
-
/** @deprecated use `CreatePaymentCaptureDelayResponse$outboundSchema` instead. */
|
|
6324
|
-
export const outboundSchema =
|
|
6325
|
-
CreatePaymentCaptureDelayResponse$outboundSchema;
|
|
6326
|
-
}
|
|
6327
|
-
|
|
6328
6209
|
/** @internal */
|
|
6329
6210
|
export const CreatePaymentApplicationFeeAmountResponse$inboundSchema: z.ZodType<
|
|
6330
6211
|
CreatePaymentApplicationFeeAmountResponse,
|
|
@@ -7992,11 +7873,9 @@ export const CreatePaymentResponse$inboundSchema: z.ZodType<
|
|
|
7992
7873
|
z.array(z.string()),
|
|
7993
7874
|
]),
|
|
7994
7875
|
).optional(),
|
|
7995
|
-
captureMode: z.nullable(
|
|
7996
|
-
CreatePaymentCaptureModeResponse$inboundSchema.default("automatic"),
|
|
7997
|
-
),
|
|
7998
|
-
captureDelay: z.nullable(CreatePaymentCaptureDelayResponse$inboundSchema)
|
|
7876
|
+
captureMode: z.nullable(CreatePaymentCaptureModeResponse$inboundSchema)
|
|
7999
7877
|
.optional(),
|
|
7878
|
+
captureDelay: z.nullable(z.string()).optional(),
|
|
8000
7879
|
captureBefore: z.nullable(z.string()).optional(),
|
|
8001
7880
|
applicationFee: z.nullable(
|
|
8002
7881
|
z.lazy(() => CreatePaymentApplicationFeeResponse$inboundSchema),
|
|
@@ -8061,7 +7940,7 @@ export type CreatePaymentResponse$Outbound = {
|
|
|
8061
7940
|
| Array<string>
|
|
8062
7941
|
| null
|
|
8063
7942
|
| undefined;
|
|
8064
|
-
captureMode
|
|
7943
|
+
captureMode?: string | null | undefined;
|
|
8065
7944
|
captureDelay?: string | null | undefined;
|
|
8066
7945
|
captureBefore?: string | null | undefined;
|
|
8067
7946
|
applicationFee?:
|
|
@@ -8134,11 +8013,9 @@ export const CreatePaymentResponse$outboundSchema: z.ZodType<
|
|
|
8134
8013
|
z.array(z.string()),
|
|
8135
8014
|
]),
|
|
8136
8015
|
).optional(),
|
|
8137
|
-
captureMode: z.nullable(
|
|
8138
|
-
CreatePaymentCaptureModeResponse$outboundSchema.default("automatic"),
|
|
8139
|
-
),
|
|
8140
|
-
captureDelay: z.nullable(CreatePaymentCaptureDelayResponse$outboundSchema)
|
|
8016
|
+
captureMode: z.nullable(CreatePaymentCaptureModeResponse$outboundSchema)
|
|
8141
8017
|
.optional(),
|
|
8018
|
+
captureDelay: z.nullable(z.string()).optional(),
|
|
8142
8019
|
captureBefore: z.nullable(z.string()).optional(),
|
|
8143
8020
|
applicationFee: z.nullable(
|
|
8144
8021
|
z.lazy(() => CreatePaymentApplicationFeeResponse$outboundSchema),
|
|
@@ -724,6 +724,7 @@ export const GetPaymentMethod = {
|
|
|
724
724
|
Banktransfer: "banktransfer",
|
|
725
725
|
Belfius: "belfius",
|
|
726
726
|
Billie: "billie",
|
|
727
|
+
Bizum: "bizum",
|
|
727
728
|
Blik: "blik",
|
|
728
729
|
Creditcard: "creditcard",
|
|
729
730
|
Directdebit: "directdebit",
|
|
@@ -736,6 +737,7 @@ export const GetPaymentMethod = {
|
|
|
736
737
|
Mbway: "mbway",
|
|
737
738
|
Multibanco: "multibanco",
|
|
738
739
|
Mybank: "mybank",
|
|
740
|
+
Paybybank: "paybybank",
|
|
739
741
|
Payconiq: "payconiq",
|
|
740
742
|
Paypal: "paypal",
|
|
741
743
|
Paysafecard: "paysafecard",
|
|
@@ -791,44 +793,6 @@ export const GetPaymentCaptureMode = {
|
|
|
791
793
|
*/
|
|
792
794
|
export type GetPaymentCaptureMode = ClosedEnum<typeof GetPaymentCaptureMode>;
|
|
793
795
|
|
|
794
|
-
/**
|
|
795
|
-
* **Only relevant if you wish to manage authorization and capturing separately.**
|
|
796
|
-
*
|
|
797
|
-
* @remarks
|
|
798
|
-
*
|
|
799
|
-
* Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
|
|
800
|
-
* later point either be 'captured' or canceled.
|
|
801
|
-
*
|
|
802
|
-
* By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
|
|
803
|
-
* capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
|
|
804
|
-
* example `8 hours` or `2 days`.
|
|
805
|
-
*
|
|
806
|
-
* To schedule an automatic capture, the `captureMode` must be set to `automatic`.
|
|
807
|
-
*
|
|
808
|
-
* The maximum delay is 7 days (168 hours).
|
|
809
|
-
*/
|
|
810
|
-
export const GetPaymentCaptureDelay = {
|
|
811
|
-
DotDotDotHours: "... hours",
|
|
812
|
-
DotDotDotDays: "... days",
|
|
813
|
-
} as const;
|
|
814
|
-
/**
|
|
815
|
-
* **Only relevant if you wish to manage authorization and capturing separately.**
|
|
816
|
-
*
|
|
817
|
-
* @remarks
|
|
818
|
-
*
|
|
819
|
-
* Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
|
|
820
|
-
* later point either be 'captured' or canceled.
|
|
821
|
-
*
|
|
822
|
-
* By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
|
|
823
|
-
* capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
|
|
824
|
-
* example `8 hours` or `2 days`.
|
|
825
|
-
*
|
|
826
|
-
* To schedule an automatic capture, the `captureMode` must be set to `automatic`.
|
|
827
|
-
*
|
|
828
|
-
* The maximum delay is 7 days (168 hours).
|
|
829
|
-
*/
|
|
830
|
-
export type GetPaymentCaptureDelay = ClosedEnum<typeof GetPaymentCaptureDelay>;
|
|
831
|
-
|
|
832
796
|
/**
|
|
833
797
|
* The fee that you wish to charge.
|
|
834
798
|
*
|
|
@@ -1645,8 +1609,10 @@ export type GetPaymentResponse = {
|
|
|
1645
1609
|
* To schedule an automatic capture, the `captureMode` must be set to `automatic`.
|
|
1646
1610
|
*
|
|
1647
1611
|
* The maximum delay is 7 days (168 hours).
|
|
1612
|
+
*
|
|
1613
|
+
* Possible values: `... hours` `... days`
|
|
1648
1614
|
*/
|
|
1649
|
-
captureDelay?:
|
|
1615
|
+
captureDelay?: string | null | undefined;
|
|
1650
1616
|
/**
|
|
1651
1617
|
* Indicates the date before which the payment needs to be captured, in ISO 8601 format. From this date onwards we
|
|
1652
1618
|
*
|
|
@@ -3266,27 +3232,6 @@ export namespace GetPaymentCaptureMode$ {
|
|
|
3266
3232
|
export const outboundSchema = GetPaymentCaptureMode$outboundSchema;
|
|
3267
3233
|
}
|
|
3268
3234
|
|
|
3269
|
-
/** @internal */
|
|
3270
|
-
export const GetPaymentCaptureDelay$inboundSchema: z.ZodNativeEnum<
|
|
3271
|
-
typeof GetPaymentCaptureDelay
|
|
3272
|
-
> = z.nativeEnum(GetPaymentCaptureDelay);
|
|
3273
|
-
|
|
3274
|
-
/** @internal */
|
|
3275
|
-
export const GetPaymentCaptureDelay$outboundSchema: z.ZodNativeEnum<
|
|
3276
|
-
typeof GetPaymentCaptureDelay
|
|
3277
|
-
> = GetPaymentCaptureDelay$inboundSchema;
|
|
3278
|
-
|
|
3279
|
-
/**
|
|
3280
|
-
* @internal
|
|
3281
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3282
|
-
*/
|
|
3283
|
-
export namespace GetPaymentCaptureDelay$ {
|
|
3284
|
-
/** @deprecated use `GetPaymentCaptureDelay$inboundSchema` instead. */
|
|
3285
|
-
export const inboundSchema = GetPaymentCaptureDelay$inboundSchema;
|
|
3286
|
-
/** @deprecated use `GetPaymentCaptureDelay$outboundSchema` instead. */
|
|
3287
|
-
export const outboundSchema = GetPaymentCaptureDelay$outboundSchema;
|
|
3288
|
-
}
|
|
3289
|
-
|
|
3290
3235
|
/** @internal */
|
|
3291
3236
|
export const GetPaymentApplicationFeeAmount$inboundSchema: z.ZodType<
|
|
3292
3237
|
GetPaymentApplicationFeeAmount,
|
|
@@ -4906,10 +4851,8 @@ export const GetPaymentResponse$inboundSchema: z.ZodType<
|
|
|
4906
4851
|
z.array(z.string()),
|
|
4907
4852
|
]),
|
|
4908
4853
|
).optional(),
|
|
4909
|
-
captureMode: z.nullable(
|
|
4910
|
-
|
|
4911
|
-
),
|
|
4912
|
-
captureDelay: z.nullable(GetPaymentCaptureDelay$inboundSchema).optional(),
|
|
4854
|
+
captureMode: z.nullable(GetPaymentCaptureMode$inboundSchema).optional(),
|
|
4855
|
+
captureDelay: z.nullable(z.string()).optional(),
|
|
4913
4856
|
captureBefore: z.nullable(z.string()).optional(),
|
|
4914
4857
|
applicationFee: z.nullable(
|
|
4915
4858
|
z.lazy(() => GetPaymentApplicationFee$inboundSchema),
|
|
@@ -4972,7 +4915,7 @@ export type GetPaymentResponse$Outbound = {
|
|
|
4972
4915
|
| Array<string>
|
|
4973
4916
|
| null
|
|
4974
4917
|
| undefined;
|
|
4975
|
-
captureMode
|
|
4918
|
+
captureMode?: string | null | undefined;
|
|
4976
4919
|
captureDelay?: string | null | undefined;
|
|
4977
4920
|
captureBefore?: string | null | undefined;
|
|
4978
4921
|
applicationFee?: GetPaymentApplicationFee$Outbound | null | undefined;
|
|
@@ -5039,10 +4982,8 @@ export const GetPaymentResponse$outboundSchema: z.ZodType<
|
|
|
5039
4982
|
z.array(z.string()),
|
|
5040
4983
|
]),
|
|
5041
4984
|
).optional(),
|
|
5042
|
-
captureMode: z.nullable(
|
|
5043
|
-
|
|
5044
|
-
),
|
|
5045
|
-
captureDelay: z.nullable(GetPaymentCaptureDelay$outboundSchema).optional(),
|
|
4985
|
+
captureMode: z.nullable(GetPaymentCaptureMode$outboundSchema).optional(),
|
|
4986
|
+
captureDelay: z.nullable(z.string()).optional(),
|
|
5046
4987
|
captureBefore: z.nullable(z.string()).optional(),
|
|
5047
4988
|
applicationFee: z.nullable(
|
|
5048
4989
|
z.lazy(() => GetPaymentApplicationFee$outboundSchema),
|