mollie-api-typescript 0.5.1 → 0.6.1
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/bin/mcp-server.js +107 -18
- package/bin/mcp-server.js.map +14 -12
- 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/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/method.d.ts +0 -9
- package/dist/commonjs/models/method.d.ts.map +1 -1
- package/dist/commonjs/models/method.js +0 -3
- package/dist/commonjs/models/method.js.map +1 -1
- package/dist/commonjs/models/methodresponse.d.ts +0 -3
- package/dist/commonjs/models/methodresponse.d.ts.map +1 -1
- package/dist/commonjs/models/methodresponse.js +0 -3
- package/dist/commonjs/models/methodresponse.js.map +1 -1
- package/dist/commonjs/models/operations/createpaymentlink.d.ts +1 -5
- package/dist/commonjs/models/operations/createpaymentlink.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createpaymentlink.js +4 -2
- package/dist/commonjs/models/operations/createpaymentlink.js.map +1 -1
- package/dist/commonjs/models/operations/updatepaymentlink.d.ts +1 -5
- package/dist/commonjs/models/operations/updatepaymentlink.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatepaymentlink.js +4 -2
- package/dist/commonjs/models/operations/updatepaymentlink.js.map +1 -1
- package/dist/commonjs/models/paymentlinkmethod.d.ts +109 -0
- package/dist/commonjs/models/paymentlinkmethod.d.ts.map +1 -0
- package/dist/commonjs/models/paymentlinkmethod.js +87 -0
- package/dist/commonjs/models/paymentlinkmethod.js.map +1 -0
- package/dist/commonjs/models/paymentlinkmethodresponse.d.ts +49 -0
- package/dist/commonjs/models/paymentlinkmethodresponse.d.ts.map +1 -0
- package/dist/commonjs/models/paymentlinkmethodresponse.js +95 -0
- package/dist/commonjs/models/paymentlinkmethodresponse.js.map +1 -0
- package/dist/commonjs/models/paymentlinkresponse.d.ts +2 -5
- package/dist/commonjs/models/paymentlinkresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentlinkresponse.js +5 -2
- package/dist/commonjs/models/paymentlinkresponse.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/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/method.d.ts +0 -9
- package/dist/esm/models/method.d.ts.map +1 -1
- package/dist/esm/models/method.js +0 -3
- package/dist/esm/models/method.js.map +1 -1
- package/dist/esm/models/methodresponse.d.ts +0 -3
- package/dist/esm/models/methodresponse.d.ts.map +1 -1
- package/dist/esm/models/methodresponse.js +0 -3
- package/dist/esm/models/methodresponse.js.map +1 -1
- package/dist/esm/models/operations/createpaymentlink.d.ts +1 -5
- package/dist/esm/models/operations/createpaymentlink.d.ts.map +1 -1
- package/dist/esm/models/operations/createpaymentlink.js +4 -2
- package/dist/esm/models/operations/createpaymentlink.js.map +1 -1
- package/dist/esm/models/operations/updatepaymentlink.d.ts +1 -5
- package/dist/esm/models/operations/updatepaymentlink.d.ts.map +1 -1
- package/dist/esm/models/operations/updatepaymentlink.js +4 -2
- package/dist/esm/models/operations/updatepaymentlink.js.map +1 -1
- package/dist/esm/models/paymentlinkmethod.d.ts +109 -0
- package/dist/esm/models/paymentlinkmethod.d.ts.map +1 -0
- package/dist/esm/models/paymentlinkmethod.js +51 -0
- package/dist/esm/models/paymentlinkmethod.js.map +1 -0
- package/dist/esm/models/paymentlinkmethodresponse.d.ts +49 -0
- package/dist/esm/models/paymentlinkmethodresponse.d.ts.map +1 -0
- package/dist/esm/models/paymentlinkmethodresponse.js +59 -0
- package/dist/esm/models/paymentlinkmethodresponse.js.map +1 -0
- package/dist/esm/models/paymentlinkresponse.d.ts +2 -5
- package/dist/esm/models/paymentlinkresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentlinkresponse.js +5 -2
- package/dist/esm/models/paymentlinkresponse.js.map +1 -1
- package/examples/package-lock.json +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/index.ts +2 -0
- package/src/models/method.ts +0 -3
- package/src/models/methodresponse.ts +0 -3
- package/src/models/operations/createpaymentlink.ts +5 -7
- package/src/models/operations/updatepaymentlink.ts +5 -7
- package/src/models/paymentlinkmethod.ts +60 -0
- package/src/models/paymentlinkmethodresponse.ts +77 -0
- package/src/models/paymentlinkresponse.ts +10 -7
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
export declare const PaymentLinkMethod: {
|
|
4
|
+
readonly Applepay: "applepay";
|
|
5
|
+
readonly Bacs: "bacs";
|
|
6
|
+
readonly Bancomatpay: "bancomatpay";
|
|
7
|
+
readonly Bancontact: "bancontact";
|
|
8
|
+
readonly Banktransfer: "banktransfer";
|
|
9
|
+
readonly Belfius: "belfius";
|
|
10
|
+
readonly Billie: "billie";
|
|
11
|
+
readonly Blik: "blik";
|
|
12
|
+
readonly Creditcard: "creditcard";
|
|
13
|
+
readonly Eps: "eps";
|
|
14
|
+
readonly Giftcard: "giftcard";
|
|
15
|
+
readonly Ideal: "ideal";
|
|
16
|
+
readonly In3: "in3";
|
|
17
|
+
readonly Kbc: "kbc";
|
|
18
|
+
readonly Klarna: "klarna";
|
|
19
|
+
readonly Mbway: "mbway";
|
|
20
|
+
readonly Multibanco: "multibanco";
|
|
21
|
+
readonly Mybank: "mybank";
|
|
22
|
+
readonly Paybybank: "paybybank";
|
|
23
|
+
readonly Paypal: "paypal";
|
|
24
|
+
readonly Paysafecard: "paysafecard";
|
|
25
|
+
readonly Pointofsale: "pointofsale";
|
|
26
|
+
readonly Przelewy24: "przelewy24";
|
|
27
|
+
readonly Riverty: "riverty";
|
|
28
|
+
readonly Satispay: "satispay";
|
|
29
|
+
readonly Swish: "swish";
|
|
30
|
+
readonly Trustly: "trustly";
|
|
31
|
+
readonly Twint: "twint";
|
|
32
|
+
readonly Voucher: "voucher";
|
|
33
|
+
};
|
|
34
|
+
export type PaymentLinkMethod = ClosedEnum<typeof PaymentLinkMethod>;
|
|
35
|
+
/** @internal */
|
|
36
|
+
export declare const PaymentLinkMethod$inboundSchema: z.ZodNativeEnum<typeof PaymentLinkMethod>;
|
|
37
|
+
/** @internal */
|
|
38
|
+
export declare const PaymentLinkMethod$outboundSchema: z.ZodNativeEnum<typeof PaymentLinkMethod>;
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
42
|
+
*/
|
|
43
|
+
export declare namespace PaymentLinkMethod$ {
|
|
44
|
+
/** @deprecated use `PaymentLinkMethod$inboundSchema` instead. */
|
|
45
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
46
|
+
readonly Applepay: "applepay";
|
|
47
|
+
readonly Bacs: "bacs";
|
|
48
|
+
readonly Bancomatpay: "bancomatpay";
|
|
49
|
+
readonly Bancontact: "bancontact";
|
|
50
|
+
readonly Banktransfer: "banktransfer";
|
|
51
|
+
readonly Belfius: "belfius";
|
|
52
|
+
readonly Billie: "billie";
|
|
53
|
+
readonly Blik: "blik";
|
|
54
|
+
readonly Creditcard: "creditcard";
|
|
55
|
+
readonly Eps: "eps";
|
|
56
|
+
readonly Giftcard: "giftcard";
|
|
57
|
+
readonly Ideal: "ideal";
|
|
58
|
+
readonly In3: "in3";
|
|
59
|
+
readonly Kbc: "kbc";
|
|
60
|
+
readonly Klarna: "klarna";
|
|
61
|
+
readonly Mbway: "mbway";
|
|
62
|
+
readonly Multibanco: "multibanco";
|
|
63
|
+
readonly Mybank: "mybank";
|
|
64
|
+
readonly Paybybank: "paybybank";
|
|
65
|
+
readonly Paypal: "paypal";
|
|
66
|
+
readonly Paysafecard: "paysafecard";
|
|
67
|
+
readonly Pointofsale: "pointofsale";
|
|
68
|
+
readonly Przelewy24: "przelewy24";
|
|
69
|
+
readonly Riverty: "riverty";
|
|
70
|
+
readonly Satispay: "satispay";
|
|
71
|
+
readonly Swish: "swish";
|
|
72
|
+
readonly Trustly: "trustly";
|
|
73
|
+
readonly Twint: "twint";
|
|
74
|
+
readonly Voucher: "voucher";
|
|
75
|
+
}>;
|
|
76
|
+
/** @deprecated use `PaymentLinkMethod$outboundSchema` instead. */
|
|
77
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
78
|
+
readonly Applepay: "applepay";
|
|
79
|
+
readonly Bacs: "bacs";
|
|
80
|
+
readonly Bancomatpay: "bancomatpay";
|
|
81
|
+
readonly Bancontact: "bancontact";
|
|
82
|
+
readonly Banktransfer: "banktransfer";
|
|
83
|
+
readonly Belfius: "belfius";
|
|
84
|
+
readonly Billie: "billie";
|
|
85
|
+
readonly Blik: "blik";
|
|
86
|
+
readonly Creditcard: "creditcard";
|
|
87
|
+
readonly Eps: "eps";
|
|
88
|
+
readonly Giftcard: "giftcard";
|
|
89
|
+
readonly Ideal: "ideal";
|
|
90
|
+
readonly In3: "in3";
|
|
91
|
+
readonly Kbc: "kbc";
|
|
92
|
+
readonly Klarna: "klarna";
|
|
93
|
+
readonly Mbway: "mbway";
|
|
94
|
+
readonly Multibanco: "multibanco";
|
|
95
|
+
readonly Mybank: "mybank";
|
|
96
|
+
readonly Paybybank: "paybybank";
|
|
97
|
+
readonly Paypal: "paypal";
|
|
98
|
+
readonly Paysafecard: "paysafecard";
|
|
99
|
+
readonly Pointofsale: "pointofsale";
|
|
100
|
+
readonly Przelewy24: "przelewy24";
|
|
101
|
+
readonly Riverty: "riverty";
|
|
102
|
+
readonly Satispay: "satispay";
|
|
103
|
+
readonly Swish: "swish";
|
|
104
|
+
readonly Trustly: "trustly";
|
|
105
|
+
readonly Twint: "twint";
|
|
106
|
+
readonly Voucher: "voucher";
|
|
107
|
+
}>;
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=paymentlinkmethod.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paymentlinkmethod.d.ts","sourceRoot":"","sources":["../../../src/models/paymentlinkmethod.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BpB,CAAC;AACX,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAErE,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,iBAAiB,CACS,CAAC;AAEpC,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,aAAa,CAC5D,OAAO,iBAAiB,CACS,CAAC;AAEpC;;;GAGG;AACH,yBAAiB,kBAAkB,CAAC;IAClC,iEAAiE;IAC1D,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAkC,CAAC;IAC7D,kEAAkE;IAC3D,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAmC,CAAC;CAChE"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v3";
|
|
5
|
+
export const PaymentLinkMethod = {
|
|
6
|
+
Applepay: "applepay",
|
|
7
|
+
Bacs: "bacs",
|
|
8
|
+
Bancomatpay: "bancomatpay",
|
|
9
|
+
Bancontact: "bancontact",
|
|
10
|
+
Banktransfer: "banktransfer",
|
|
11
|
+
Belfius: "belfius",
|
|
12
|
+
Billie: "billie",
|
|
13
|
+
Blik: "blik",
|
|
14
|
+
Creditcard: "creditcard",
|
|
15
|
+
Eps: "eps",
|
|
16
|
+
Giftcard: "giftcard",
|
|
17
|
+
Ideal: "ideal",
|
|
18
|
+
In3: "in3",
|
|
19
|
+
Kbc: "kbc",
|
|
20
|
+
Klarna: "klarna",
|
|
21
|
+
Mbway: "mbway",
|
|
22
|
+
Multibanco: "multibanco",
|
|
23
|
+
Mybank: "mybank",
|
|
24
|
+
Paybybank: "paybybank",
|
|
25
|
+
Paypal: "paypal",
|
|
26
|
+
Paysafecard: "paysafecard",
|
|
27
|
+
Pointofsale: "pointofsale",
|
|
28
|
+
Przelewy24: "przelewy24",
|
|
29
|
+
Riverty: "riverty",
|
|
30
|
+
Satispay: "satispay",
|
|
31
|
+
Swish: "swish",
|
|
32
|
+
Trustly: "trustly",
|
|
33
|
+
Twint: "twint",
|
|
34
|
+
Voucher: "voucher",
|
|
35
|
+
};
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const PaymentLinkMethod$inboundSchema = z.nativeEnum(PaymentLinkMethod);
|
|
38
|
+
/** @internal */
|
|
39
|
+
export const PaymentLinkMethod$outboundSchema = PaymentLinkMethod$inboundSchema;
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
43
|
+
*/
|
|
44
|
+
export var PaymentLinkMethod$;
|
|
45
|
+
(function (PaymentLinkMethod$) {
|
|
46
|
+
/** @deprecated use `PaymentLinkMethod$inboundSchema` instead. */
|
|
47
|
+
PaymentLinkMethod$.inboundSchema = PaymentLinkMethod$inboundSchema;
|
|
48
|
+
/** @deprecated use `PaymentLinkMethod$outboundSchema` instead. */
|
|
49
|
+
PaymentLinkMethod$.outboundSchema = PaymentLinkMethod$outboundSchema;
|
|
50
|
+
})(PaymentLinkMethod$ || (PaymentLinkMethod$ = {}));
|
|
51
|
+
//# sourceMappingURL=paymentlinkmethod.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paymentlinkmethod.js","sourceRoot":"","sources":["../../../src/models/paymentlinkmethod.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;IACxB,YAAY,EAAE,cAAc;IAC5B,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,YAAY;IACxB,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;CACV,CAAC;AAGX,gBAAgB;AAChB,MAAM,CAAC,MAAM,+BAA+B,GAExC,CAAC,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC;AAEpC,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAEzC,+BAA+B,CAAC;AAEpC;;;GAGG;AACH,MAAM,KAAW,kBAAkB,CAKlC;AALD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,+BAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,gCAAgC,CAAC;AACjE,CAAC,EALgB,kBAAkB,KAAlB,kBAAkB,QAKlC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { OpenEnum } from "../types/enums.js";
|
|
3
|
+
export declare const PaymentLinkMethodResponse: {
|
|
4
|
+
readonly Applepay: "applepay";
|
|
5
|
+
readonly Bacs: "bacs";
|
|
6
|
+
readonly Bancomatpay: "bancomatpay";
|
|
7
|
+
readonly Bancontact: "bancontact";
|
|
8
|
+
readonly Banktransfer: "banktransfer";
|
|
9
|
+
readonly Belfius: "belfius";
|
|
10
|
+
readonly Billie: "billie";
|
|
11
|
+
readonly Blik: "blik";
|
|
12
|
+
readonly Creditcard: "creditcard";
|
|
13
|
+
readonly Eps: "eps";
|
|
14
|
+
readonly Giftcard: "giftcard";
|
|
15
|
+
readonly Ideal: "ideal";
|
|
16
|
+
readonly In3: "in3";
|
|
17
|
+
readonly Kbc: "kbc";
|
|
18
|
+
readonly Klarna: "klarna";
|
|
19
|
+
readonly Mbway: "mbway";
|
|
20
|
+
readonly Multibanco: "multibanco";
|
|
21
|
+
readonly Mybank: "mybank";
|
|
22
|
+
readonly Paybybank: "paybybank";
|
|
23
|
+
readonly Paypal: "paypal";
|
|
24
|
+
readonly Paysafecard: "paysafecard";
|
|
25
|
+
readonly Pointofsale: "pointofsale";
|
|
26
|
+
readonly Przelewy24: "przelewy24";
|
|
27
|
+
readonly Riverty: "riverty";
|
|
28
|
+
readonly Satispay: "satispay";
|
|
29
|
+
readonly Swish: "swish";
|
|
30
|
+
readonly Trustly: "trustly";
|
|
31
|
+
readonly Twint: "twint";
|
|
32
|
+
readonly Voucher: "voucher";
|
|
33
|
+
};
|
|
34
|
+
export type PaymentLinkMethodResponse = OpenEnum<typeof PaymentLinkMethodResponse>;
|
|
35
|
+
/** @internal */
|
|
36
|
+
export declare const PaymentLinkMethodResponse$inboundSchema: z.ZodType<PaymentLinkMethodResponse, z.ZodTypeDef, unknown>;
|
|
37
|
+
/** @internal */
|
|
38
|
+
export declare const PaymentLinkMethodResponse$outboundSchema: z.ZodType<PaymentLinkMethodResponse, z.ZodTypeDef, PaymentLinkMethodResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
42
|
+
*/
|
|
43
|
+
export declare namespace PaymentLinkMethodResponse$ {
|
|
44
|
+
/** @deprecated use `PaymentLinkMethodResponse$inboundSchema` instead. */
|
|
45
|
+
const inboundSchema: z.ZodType<PaymentLinkMethodResponse, z.ZodTypeDef, unknown>;
|
|
46
|
+
/** @deprecated use `PaymentLinkMethodResponse$outboundSchema` instead. */
|
|
47
|
+
const outboundSchema: z.ZodType<PaymentLinkMethodResponse, z.ZodTypeDef, PaymentLinkMethodResponse>;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=paymentlinkmethodresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paymentlinkmethodresponse.d.ts","sourceRoot":"","sources":["../../../src/models/paymentlinkmethodresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAEL,QAAQ,EAET,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B5B,CAAC;AACX,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAC9C,OAAO,yBAAyB,CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAKL,CAAC;AAEL,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAIzB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,+EAA2C,CAAC;CACxE"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v3";
|
|
5
|
+
import { catchUnrecognizedEnum, } from "../types/enums.js";
|
|
6
|
+
export const PaymentLinkMethodResponse = {
|
|
7
|
+
Applepay: "applepay",
|
|
8
|
+
Bacs: "bacs",
|
|
9
|
+
Bancomatpay: "bancomatpay",
|
|
10
|
+
Bancontact: "bancontact",
|
|
11
|
+
Banktransfer: "banktransfer",
|
|
12
|
+
Belfius: "belfius",
|
|
13
|
+
Billie: "billie",
|
|
14
|
+
Blik: "blik",
|
|
15
|
+
Creditcard: "creditcard",
|
|
16
|
+
Eps: "eps",
|
|
17
|
+
Giftcard: "giftcard",
|
|
18
|
+
Ideal: "ideal",
|
|
19
|
+
In3: "in3",
|
|
20
|
+
Kbc: "kbc",
|
|
21
|
+
Klarna: "klarna",
|
|
22
|
+
Mbway: "mbway",
|
|
23
|
+
Multibanco: "multibanco",
|
|
24
|
+
Mybank: "mybank",
|
|
25
|
+
Paybybank: "paybybank",
|
|
26
|
+
Paypal: "paypal",
|
|
27
|
+
Paysafecard: "paysafecard",
|
|
28
|
+
Pointofsale: "pointofsale",
|
|
29
|
+
Przelewy24: "przelewy24",
|
|
30
|
+
Riverty: "riverty",
|
|
31
|
+
Satispay: "satispay",
|
|
32
|
+
Swish: "swish",
|
|
33
|
+
Trustly: "trustly",
|
|
34
|
+
Twint: "twint",
|
|
35
|
+
Voucher: "voucher",
|
|
36
|
+
};
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const PaymentLinkMethodResponse$inboundSchema = z
|
|
39
|
+
.union([
|
|
40
|
+
z.nativeEnum(PaymentLinkMethodResponse),
|
|
41
|
+
z.string().transform(catchUnrecognizedEnum),
|
|
42
|
+
]);
|
|
43
|
+
/** @internal */
|
|
44
|
+
export const PaymentLinkMethodResponse$outboundSchema = z.union([
|
|
45
|
+
z.nativeEnum(PaymentLinkMethodResponse),
|
|
46
|
+
z.string().and(z.custom()),
|
|
47
|
+
]);
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
51
|
+
*/
|
|
52
|
+
export var PaymentLinkMethodResponse$;
|
|
53
|
+
(function (PaymentLinkMethodResponse$) {
|
|
54
|
+
/** @deprecated use `PaymentLinkMethodResponse$inboundSchema` instead. */
|
|
55
|
+
PaymentLinkMethodResponse$.inboundSchema = PaymentLinkMethodResponse$inboundSchema;
|
|
56
|
+
/** @deprecated use `PaymentLinkMethodResponse$outboundSchema` instead. */
|
|
57
|
+
PaymentLinkMethodResponse$.outboundSchema = PaymentLinkMethodResponse$outboundSchema;
|
|
58
|
+
})(PaymentLinkMethodResponse$ || (PaymentLinkMethodResponse$ = {}));
|
|
59
|
+
//# sourceMappingURL=paymentlinkmethodresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paymentlinkmethodresponse.js","sourceRoot":"","sources":["../../../src/models/paymentlinkmethodresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,qBAAqB,GAGtB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,WAAW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C,CAAC;AACzE,CAAC,EALgB,0BAA0B,KAA1B,0BAA0B,QAK1C"}
|
|
@@ -6,6 +6,7 @@ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
|
6
6
|
import { Mode } from "./mode.js";
|
|
7
7
|
import { PaymentAddress, PaymentAddress$Outbound } from "./paymentaddress.js";
|
|
8
8
|
import { PaymentLineItemResponse, PaymentLineItemResponse$Outbound } from "./paymentlineitemresponse.js";
|
|
9
|
+
import { PaymentLinkMethodResponse } from "./paymentlinkmethodresponse.js";
|
|
9
10
|
import { PaymentLinkSequenceTypeResponse } from "./paymentlinksequencetyperesponse.js";
|
|
10
11
|
import { Url, Url$Outbound } from "./url.js";
|
|
11
12
|
/**
|
|
@@ -148,12 +149,8 @@ export type PaymentLinkResponse = {
|
|
|
148
149
|
*
|
|
149
150
|
* @remarks
|
|
150
151
|
* not provided or is an empty array, all enabled payment methods will be available.
|
|
151
|
-
*
|
|
152
|
-
* Enum: 'applepay', 'bacs', 'bancomatpay', 'bancontact', 'banktransfer', 'belfius', 'billie', 'blik', 'creditcard', 'eps',
|
|
153
|
-
* 'giftcard', 'ideal', 'in3', 'kbc', 'klarna', 'mbway', 'multibanco', 'mybank', 'paybybank', 'paypal', 'paysafecard',
|
|
154
|
-
* 'pointofsale', 'przelewy24', 'riverty', 'satispay', 'swish', 'trustly', 'twint', 'voucher'.
|
|
155
152
|
*/
|
|
156
|
-
allowedMethods?: Array<
|
|
153
|
+
allowedMethods?: Array<PaymentLinkMethodResponse> | null | undefined;
|
|
157
154
|
/**
|
|
158
155
|
* With Mollie Connect you can charge fees on payment links that your app is processing on behalf of other Mollie
|
|
159
156
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paymentlinkresponse.d.ts","sourceRoot":"","sources":["../../../src/models/paymentlinkresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE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E,MAAM,GAAG,SAAS,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,MAAM,CAAC,EAAE,iCAAiC,GAAG,SAAS,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CA8BnB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oBAAoB,CAAC;IACpC,mEAAmE;IAC5D,MAAM,aAAa,uDAAoC,CAAC;IAC/D,oEAAoE;IAC7D,MAAM,cAAc,4EAAqC,CAAC;IACjE,8DAA8D;IAC9D,KAAY,QAAQ,GAAG,4BAA4B,CAAC;CACrD;AAED,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -9,6 +9,7 @@ import { AmountNullable$inboundSchema, AmountNullable$outboundSchema, } from "./
|
|
|
9
9
|
import { Mode$inboundSchema, Mode$outboundSchema } from "./mode.js";
|
|
10
10
|
import { PaymentAddress$inboundSchema, PaymentAddress$outboundSchema, } from "./paymentaddress.js";
|
|
11
11
|
import { PaymentLineItemResponse$inboundSchema, PaymentLineItemResponse$outboundSchema, } from "./paymentlineitemresponse.js";
|
|
12
|
+
import { PaymentLinkMethodResponse$inboundSchema, PaymentLinkMethodResponse$outboundSchema, } from "./paymentlinkmethodresponse.js";
|
|
12
13
|
import { PaymentLinkSequenceTypeResponse$inboundSchema, PaymentLinkSequenceTypeResponse$outboundSchema, } from "./paymentlinksequencetyperesponse.js";
|
|
13
14
|
import { Url$inboundSchema, Url$outboundSchema, } from "./url.js";
|
|
14
15
|
/** @internal */
|
|
@@ -84,7 +85,8 @@ export const PaymentLinkResponse$inboundSchema = z.object({
|
|
|
84
85
|
createdAt: z.string().optional(),
|
|
85
86
|
paidAt: z.nullable(z.string()).optional(),
|
|
86
87
|
expiresAt: z.nullable(z.string()).optional(),
|
|
87
|
-
allowedMethods: z.nullable(z.array(
|
|
88
|
+
allowedMethods: z.nullable(z.array(PaymentLinkMethodResponse$inboundSchema))
|
|
89
|
+
.optional(),
|
|
88
90
|
applicationFee: z.lazy(() => PaymentLinkResponseApplicationFee$inboundSchema)
|
|
89
91
|
.optional(),
|
|
90
92
|
sequenceType: PaymentLinkSequenceTypeResponse$inboundSchema.optional(),
|
|
@@ -114,7 +116,8 @@ export const PaymentLinkResponse$outboundSchema = z.object({
|
|
|
114
116
|
createdAt: z.string().optional(),
|
|
115
117
|
paidAt: z.nullable(z.string()).optional(),
|
|
116
118
|
expiresAt: z.nullable(z.string()).optional(),
|
|
117
|
-
allowedMethods: z.nullable(z.array(
|
|
119
|
+
allowedMethods: z.nullable(z.array(PaymentLinkMethodResponse$outboundSchema))
|
|
120
|
+
.optional(),
|
|
118
121
|
applicationFee: z.lazy(() => PaymentLinkResponseApplicationFee$outboundSchema)
|
|
119
122
|
.optional(),
|
|
120
123
|
sequenceType: PaymentLinkSequenceTypeResponse$outboundSchema.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paymentlinkresponse.js","sourceRoot":"","sources":["../../../src/models/paymentlinkresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAEL,oBAAoB,EAEpB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AACrB,OAAO,EAEL,4BAA4B,EAE5B,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAQ,kBAAkB,EAAE,mBAAmB,E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-62,8 +62,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
62
62
|
export const SDK_METADATA = {
|
|
63
63
|
language: "typescript",
|
|
64
64
|
openapiDocVersion: "1.0.0",
|
|
65
|
-
sdkVersion: "0.
|
|
66
|
-
genVersion: "2.
|
|
65
|
+
sdkVersion: "0.6.1",
|
|
66
|
+
genVersion: "2.730.5",
|
|
67
67
|
userAgent:
|
|
68
|
-
"speakeasy-sdk/typescript 0.
|
|
68
|
+
"speakeasy-sdk/typescript 0.6.1 2.730.5 1.0.0 mollie-api-typescript",
|
|
69
69
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
package/src/models/index.ts
CHANGED
|
@@ -100,6 +100,8 @@ export * from "./paymentlineitem.js";
|
|
|
100
100
|
export * from "./paymentlineitemresponse.js";
|
|
101
101
|
export * from "./paymentlinetype.js";
|
|
102
102
|
export * from "./paymentlinetyperesponse.js";
|
|
103
|
+
export * from "./paymentlinkmethod.js";
|
|
104
|
+
export * from "./paymentlinkmethodresponse.js";
|
|
103
105
|
export * from "./paymentlinkresponse.js";
|
|
104
106
|
export * from "./paymentlinksequencetype.js";
|
|
105
107
|
export * from "./paymentlinksequencetyperesponse.js";
|
package/src/models/method.ts
CHANGED
|
@@ -39,9 +39,6 @@ export const MethodResponse = {
|
|
|
39
39
|
In3: "in3",
|
|
40
40
|
Kbc: "kbc",
|
|
41
41
|
Klarna: "klarna",
|
|
42
|
-
Klarnapaylater: "klarnapaylater",
|
|
43
|
-
Klarnapaynow: "klarnapaynow",
|
|
44
|
-
Klarnasliceit: "klarnasliceit",
|
|
45
42
|
Mbway: "mbway",
|
|
46
43
|
Mobilepay: "mobilepay",
|
|
47
44
|
Multibanco: "multibanco",
|
|
@@ -114,12 +114,8 @@ export type CreatePaymentLinkRequestBody = {
|
|
|
114
114
|
*
|
|
115
115
|
* @remarks
|
|
116
116
|
* not provided or is an empty array, all enabled payment methods will be available.
|
|
117
|
-
*
|
|
118
|
-
* Enum: 'applepay', 'bacs', 'bancomatpay', 'bancontact', 'banktransfer', 'belfius', 'billie', 'blik', 'creditcard', 'eps',
|
|
119
|
-
* 'giftcard', 'ideal', 'in3', 'kbc', 'klarna', 'mbway', 'multibanco', 'mybank', 'paybybank', 'paypal', 'paysafecard',
|
|
120
|
-
* 'pointofsale', 'przelewy24', 'riverty', 'satispay', 'swish', 'trustly', 'twint', 'voucher'.
|
|
121
117
|
*/
|
|
122
|
-
allowedMethods?: Array<
|
|
118
|
+
allowedMethods?: Array<models.PaymentLinkMethod> | null | undefined;
|
|
123
119
|
/**
|
|
124
120
|
* With Mollie Connect you can charge fees on payment links that your app is processing on behalf of other Mollie
|
|
125
121
|
*
|
|
@@ -233,7 +229,8 @@ export const CreatePaymentLinkRequestBody$inboundSchema: z.ZodType<
|
|
|
233
229
|
profileId: z.nullable(z.string()).optional(),
|
|
234
230
|
reusable: z.nullable(z.boolean()).optional(),
|
|
235
231
|
expiresAt: z.nullable(z.string()).optional(),
|
|
236
|
-
allowedMethods: z.nullable(z.array(
|
|
232
|
+
allowedMethods: z.nullable(z.array(models.PaymentLinkMethod$inboundSchema))
|
|
233
|
+
.optional(),
|
|
237
234
|
applicationFee: z.lazy(() => ApplicationFee$inboundSchema).optional(),
|
|
238
235
|
sequenceType: models.PaymentLinkSequenceType$inboundSchema.optional(),
|
|
239
236
|
customerId: z.nullable(z.string()).optional(),
|
|
@@ -279,7 +276,8 @@ export const CreatePaymentLinkRequestBody$outboundSchema: z.ZodType<
|
|
|
279
276
|
profileId: z.nullable(z.string()).optional(),
|
|
280
277
|
reusable: z.nullable(z.boolean()).optional(),
|
|
281
278
|
expiresAt: z.nullable(z.string()).optional(),
|
|
282
|
-
allowedMethods: z.nullable(z.array(
|
|
279
|
+
allowedMethods: z.nullable(z.array(models.PaymentLinkMethod$outboundSchema))
|
|
280
|
+
.optional(),
|
|
283
281
|
applicationFee: z.lazy(() => ApplicationFee$outboundSchema).optional(),
|
|
284
282
|
sequenceType: models.PaymentLinkSequenceType$outboundSchema.optional(),
|
|
285
283
|
customerId: z.nullable(z.string()).optional(),
|
|
@@ -35,12 +35,8 @@ export type UpdatePaymentLinkRequestBody = {
|
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
37
|
* not provided or is an empty array, all enabled payment methods will be available.
|
|
38
|
-
*
|
|
39
|
-
* Enum: 'applepay', 'bacs', 'bancomatpay', 'bancontact', 'banktransfer', 'belfius', 'billie', 'blik', 'creditcard', 'eps',
|
|
40
|
-
* 'giftcard', 'ideal', 'in3', 'kbc', 'klarna', 'mbway', 'multibanco', 'mybank', 'paybybank', 'paypal', 'paysafecard',
|
|
41
|
-
* 'pointofsale', 'przelewy24', 'riverty', 'satispay', 'swish', 'trustly', 'twint', 'voucher'.
|
|
42
38
|
*/
|
|
43
|
-
allowedMethods?: Array<
|
|
39
|
+
allowedMethods?: Array<models.PaymentLinkMethod> | null | undefined;
|
|
44
40
|
/**
|
|
45
41
|
* Optionally provide the order lines for the payment. Each line contains details such as a description of the item
|
|
46
42
|
*
|
|
@@ -86,7 +82,8 @@ export const UpdatePaymentLinkRequestBody$inboundSchema: z.ZodType<
|
|
|
86
82
|
description: z.string().optional(),
|
|
87
83
|
minimumAmount: models.Amount$inboundSchema.optional(),
|
|
88
84
|
archived: z.boolean().optional(),
|
|
89
|
-
allowedMethods: z.nullable(z.array(
|
|
85
|
+
allowedMethods: z.nullable(z.array(models.PaymentLinkMethod$inboundSchema))
|
|
86
|
+
.optional(),
|
|
90
87
|
lines: z.nullable(z.array(models.PaymentLineItem$inboundSchema)).optional(),
|
|
91
88
|
billingAddress: models.PaymentAddress$inboundSchema.optional(),
|
|
92
89
|
shippingAddress: models.PaymentAddress$inboundSchema.optional(),
|
|
@@ -114,7 +111,8 @@ export const UpdatePaymentLinkRequestBody$outboundSchema: z.ZodType<
|
|
|
114
111
|
description: z.string().optional(),
|
|
115
112
|
minimumAmount: models.Amount$outboundSchema.optional(),
|
|
116
113
|
archived: z.boolean().optional(),
|
|
117
|
-
allowedMethods: z.nullable(z.array(
|
|
114
|
+
allowedMethods: z.nullable(z.array(models.PaymentLinkMethod$outboundSchema))
|
|
115
|
+
.optional(),
|
|
118
116
|
lines: z.nullable(z.array(models.PaymentLineItem$outboundSchema)).optional(),
|
|
119
117
|
billingAddress: models.PaymentAddress$outboundSchema.optional(),
|
|
120
118
|
shippingAddress: models.PaymentAddress$outboundSchema.optional(),
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const PaymentLinkMethod = {
|
|
9
|
+
Applepay: "applepay",
|
|
10
|
+
Bacs: "bacs",
|
|
11
|
+
Bancomatpay: "bancomatpay",
|
|
12
|
+
Bancontact: "bancontact",
|
|
13
|
+
Banktransfer: "banktransfer",
|
|
14
|
+
Belfius: "belfius",
|
|
15
|
+
Billie: "billie",
|
|
16
|
+
Blik: "blik",
|
|
17
|
+
Creditcard: "creditcard",
|
|
18
|
+
Eps: "eps",
|
|
19
|
+
Giftcard: "giftcard",
|
|
20
|
+
Ideal: "ideal",
|
|
21
|
+
In3: "in3",
|
|
22
|
+
Kbc: "kbc",
|
|
23
|
+
Klarna: "klarna",
|
|
24
|
+
Mbway: "mbway",
|
|
25
|
+
Multibanco: "multibanco",
|
|
26
|
+
Mybank: "mybank",
|
|
27
|
+
Paybybank: "paybybank",
|
|
28
|
+
Paypal: "paypal",
|
|
29
|
+
Paysafecard: "paysafecard",
|
|
30
|
+
Pointofsale: "pointofsale",
|
|
31
|
+
Przelewy24: "przelewy24",
|
|
32
|
+
Riverty: "riverty",
|
|
33
|
+
Satispay: "satispay",
|
|
34
|
+
Swish: "swish",
|
|
35
|
+
Trustly: "trustly",
|
|
36
|
+
Twint: "twint",
|
|
37
|
+
Voucher: "voucher",
|
|
38
|
+
} as const;
|
|
39
|
+
export type PaymentLinkMethod = ClosedEnum<typeof PaymentLinkMethod>;
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const PaymentLinkMethod$inboundSchema: z.ZodNativeEnum<
|
|
43
|
+
typeof PaymentLinkMethod
|
|
44
|
+
> = z.nativeEnum(PaymentLinkMethod);
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const PaymentLinkMethod$outboundSchema: z.ZodNativeEnum<
|
|
48
|
+
typeof PaymentLinkMethod
|
|
49
|
+
> = PaymentLinkMethod$inboundSchema;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
54
|
+
*/
|
|
55
|
+
export namespace PaymentLinkMethod$ {
|
|
56
|
+
/** @deprecated use `PaymentLinkMethod$inboundSchema` instead. */
|
|
57
|
+
export const inboundSchema = PaymentLinkMethod$inboundSchema;
|
|
58
|
+
/** @deprecated use `PaymentLinkMethod$outboundSchema` instead. */
|
|
59
|
+
export const outboundSchema = PaymentLinkMethod$outboundSchema;
|
|
60
|
+
}
|