mollie-api-typescript 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +112 -330
- package/bin/mcp-server.js.map +26 -26
- package/dist/commonjs/funcs/methodsAll.d.ts.map +1 -1
- package/dist/commonjs/funcs/methodsAll.js +3 -2
- package/dist/commonjs/funcs/methodsAll.js.map +1 -1
- package/dist/commonjs/funcs/methodsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/methodsList.js +3 -2
- package/dist/commonjs/funcs/methodsList.js.map +1 -1
- 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 +5 -35
- package/dist/commonjs/models/operations/cancelpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/cancelpayment.js +7 -31
- package/dist/commonjs/models/operations/cancelpayment.js.map +1 -1
- package/dist/commonjs/models/operations/cancelsubscription.d.ts +7 -47
- package/dist/commonjs/models/operations/cancelsubscription.d.ts.map +1 -1
- package/dist/commonjs/models/operations/cancelsubscription.js +8 -35
- package/dist/commonjs/models/operations/cancelsubscription.js.map +1 -1
- package/dist/commonjs/models/operations/createcustomerpayment.d.ts +10 -70
- package/dist/commonjs/models/operations/createcustomerpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createcustomerpayment.js +11 -57
- package/dist/commonjs/models/operations/createcustomerpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createpayment.d.ts +10 -70
- package/dist/commonjs/models/operations/createpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createpayment.js +11 -57
- package/dist/commonjs/models/operations/createpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createsubscription.d.ts +10 -90
- package/dist/commonjs/models/operations/createsubscription.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createsubscription.js +10 -64
- package/dist/commonjs/models/operations/createsubscription.js.map +1 -1
- package/dist/commonjs/models/operations/getmethod.d.ts +2 -2
- package/dist/commonjs/models/operations/getmethod.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getmethod.js +2 -2
- package/dist/commonjs/models/operations/getmethod.js.map +1 -1
- package/dist/commonjs/models/operations/getpayment.d.ts +5 -35
- package/dist/commonjs/models/operations/getpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getpayment.js +7 -31
- package/dist/commonjs/models/operations/getpayment.js.map +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +5 -35
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js +8 -31
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/commonjs/models/operations/getsubscription.d.ts +7 -47
- package/dist/commonjs/models/operations/getsubscription.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getsubscription.js +8 -35
- package/dist/commonjs/models/operations/getsubscription.js.map +1 -1
- package/dist/commonjs/models/operations/listallmethods.d.ts +2 -2
- package/dist/commonjs/models/operations/listallmethods.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallmethods.js +2 -2
- package/dist/commonjs/models/operations/listallmethods.js.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts +13 -53
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.js +14 -45
- package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts +5 -35
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.js +8 -31
- package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listmethods.d.ts +2 -2
- package/dist/commonjs/models/operations/listmethods.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listmethods.js +2 -2
- package/dist/commonjs/models/operations/listmethods.js.map +1 -1
- package/dist/commonjs/models/operations/listpayments.d.ts +5 -35
- package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpayments.js +8 -31
- package/dist/commonjs/models/operations/listpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts +5 -35
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.js +8 -31
- package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +5 -35
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.js +8 -31
- package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.d.ts +13 -53
- package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.js +14 -43
- package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/updatepayment.d.ts +5 -35
- package/dist/commonjs/models/operations/updatepayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatepayment.js +8 -31
- package/dist/commonjs/models/operations/updatepayment.js.map +1 -1
- package/dist/commonjs/models/operations/updatesubscription.d.ts +10 -90
- package/dist/commonjs/models/operations/updatesubscription.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatesubscription.js +10 -64
- package/dist/commonjs/models/operations/updatesubscription.js.map +1 -1
- package/dist/esm/funcs/methodsAll.d.ts.map +1 -1
- package/dist/esm/funcs/methodsAll.js +4 -3
- package/dist/esm/funcs/methodsAll.js.map +1 -1
- package/dist/esm/funcs/methodsList.d.ts.map +1 -1
- package/dist/esm/funcs/methodsList.js +4 -3
- package/dist/esm/funcs/methodsList.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 +5 -35
- package/dist/esm/models/operations/cancelpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/cancelpayment.js +2 -25
- package/dist/esm/models/operations/cancelpayment.js.map +1 -1
- package/dist/esm/models/operations/cancelsubscription.d.ts +7 -47
- package/dist/esm/models/operations/cancelsubscription.d.ts.map +1 -1
- package/dist/esm/models/operations/cancelsubscription.js +6 -33
- package/dist/esm/models/operations/cancelsubscription.js.map +1 -1
- package/dist/esm/models/operations/createcustomerpayment.d.ts +10 -70
- package/dist/esm/models/operations/createcustomerpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/createcustomerpayment.js +4 -50
- package/dist/esm/models/operations/createcustomerpayment.js.map +1 -1
- package/dist/esm/models/operations/createpayment.d.ts +10 -70
- package/dist/esm/models/operations/createpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/createpayment.js +4 -50
- package/dist/esm/models/operations/createpayment.js.map +1 -1
- package/dist/esm/models/operations/createsubscription.d.ts +10 -90
- package/dist/esm/models/operations/createsubscription.d.ts.map +1 -1
- package/dist/esm/models/operations/createsubscription.js +8 -62
- package/dist/esm/models/operations/createsubscription.js.map +1 -1
- package/dist/esm/models/operations/getmethod.d.ts +2 -2
- package/dist/esm/models/operations/getmethod.d.ts.map +1 -1
- package/dist/esm/models/operations/getmethod.js +2 -2
- package/dist/esm/models/operations/getmethod.js.map +1 -1
- package/dist/esm/models/operations/getpayment.d.ts +5 -35
- package/dist/esm/models/operations/getpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/getpayment.js +2 -25
- package/dist/esm/models/operations/getpayment.js.map +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +5 -35
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.js +2 -25
- package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/esm/models/operations/getsubscription.d.ts +7 -47
- package/dist/esm/models/operations/getsubscription.d.ts.map +1 -1
- package/dist/esm/models/operations/getsubscription.js +6 -33
- package/dist/esm/models/operations/getsubscription.js.map +1 -1
- package/dist/esm/models/operations/listallmethods.d.ts +2 -2
- package/dist/esm/models/operations/listallmethods.d.ts.map +1 -1
- package/dist/esm/models/operations/listallmethods.js +2 -2
- package/dist/esm/models/operations/listallmethods.js.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.d.ts +13 -53
- package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.js +12 -43
- package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.d.ts +5 -35
- package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.js +2 -25
- package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
- package/dist/esm/models/operations/listmethods.d.ts +2 -2
- package/dist/esm/models/operations/listmethods.d.ts.map +1 -1
- package/dist/esm/models/operations/listmethods.js +2 -2
- package/dist/esm/models/operations/listmethods.js.map +1 -1
- package/dist/esm/models/operations/listpayments.d.ts +5 -35
- package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listpayments.js +2 -25
- package/dist/esm/models/operations/listpayments.js.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.d.ts +5 -35
- package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.js +2 -25
- package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts +5 -35
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.js +2 -25
- package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.d.ts +13 -53
- package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.js +12 -41
- package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/updatepayment.d.ts +5 -35
- package/dist/esm/models/operations/updatepayment.d.ts.map +1 -1
- package/dist/esm/models/operations/updatepayment.js +2 -25
- package/dist/esm/models/operations/updatepayment.js.map +1 -1
- package/dist/esm/models/operations/updatesubscription.d.ts +10 -90
- package/dist/esm/models/operations/updatesubscription.d.ts.map +1 -1
- package/dist/esm/models/operations/updatesubscription.js +8 -62
- package/dist/esm/models/operations/updatesubscription.js.map +1 -1
- package/docs/sdks/subscriptions/README.md +4 -4
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/methodsAll.ts +17 -9
- package/src/funcs/methodsList.ts +21 -13
- 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 +7 -37
- package/src/models/operations/cancelsubscription.ts +13 -55
- package/src/models/operations/createcustomerpayment.ts +14 -84
- package/src/models/operations/createpayment.ts +14 -78
- package/src/models/operations/createsubscription.ts +18 -104
- package/src/models/operations/getmethod.ts +4 -4
- package/src/models/operations/getpayment.ts +7 -37
- package/src/models/operations/getpaymentlinkpayments.ts +7 -39
- package/src/models/operations/getsubscription.ts +13 -55
- package/src/models/operations/listallmethods.ts +4 -4
- package/src/models/operations/listallsubscriptions.ts +25 -71
- package/src/models/operations/listcustomerpayments.ts +7 -39
- package/src/models/operations/listmethods.ts +4 -4
- package/src/models/operations/listpayments.ts +7 -37
- package/src/models/operations/listsettlementpayments.ts +7 -39
- package/src/models/operations/listsubscriptionpayments.ts +7 -39
- package/src/models/operations/listsubscriptions.ts +25 -69
- package/src/models/operations/updatepayment.ts +7 -37
- package/src/models/operations/updatesubscription.ts +18 -104
|
@@ -34,14 +34,6 @@ export const CreatePaymentCategoryRequest = {
|
|
|
34
34
|
Gift: "gift",
|
|
35
35
|
SportCulture: "sport_culture",
|
|
36
36
|
};
|
|
37
|
-
/**
|
|
38
|
-
* Cadence unit of the recurring item. For example: `12 months`, `52 weeks` or `365 days`.
|
|
39
|
-
*/
|
|
40
|
-
export const CreatePaymentIntervalRequest = {
|
|
41
|
-
DotDotDotMonths: "... months",
|
|
42
|
-
DotDotDotWeeks: "... weeks",
|
|
43
|
-
DotDotDotDays: "... days",
|
|
44
|
-
};
|
|
45
37
|
/**
|
|
46
38
|
* Allows you to preset the language to be used in the hosted payment pages shown to the customer. Setting a locale
|
|
47
39
|
*
|
|
@@ -199,14 +191,6 @@ export const CreatePaymentCategoryResponse = {
|
|
|
199
191
|
Gift: "gift",
|
|
200
192
|
SportCulture: "sport_culture",
|
|
201
193
|
};
|
|
202
|
-
/**
|
|
203
|
-
* Cadence unit of the recurring item. For example: `12 months`, `52 weeks` or `365 days`.
|
|
204
|
-
*/
|
|
205
|
-
export const CreatePaymentIntervalResponse = {
|
|
206
|
-
DotDotDotMonths: "... months",
|
|
207
|
-
DotDotDotWeeks: "... weeks",
|
|
208
|
-
DotDotDotDays: "... days",
|
|
209
|
-
};
|
|
210
194
|
/**
|
|
211
195
|
* Allows you to preset the language to be used in the hosted payment pages shown to the customer. Setting a locale
|
|
212
196
|
*
|
|
@@ -775,21 +759,6 @@ export var CreatePaymentCategoryRequest$;
|
|
|
775
759
|
CreatePaymentCategoryRequest$.outboundSchema = CreatePaymentCategoryRequest$outboundSchema;
|
|
776
760
|
})(CreatePaymentCategoryRequest$ || (CreatePaymentCategoryRequest$ = {}));
|
|
777
761
|
/** @internal */
|
|
778
|
-
export const CreatePaymentIntervalRequest$inboundSchema = z.nativeEnum(CreatePaymentIntervalRequest);
|
|
779
|
-
/** @internal */
|
|
780
|
-
export const CreatePaymentIntervalRequest$outboundSchema = CreatePaymentIntervalRequest$inboundSchema;
|
|
781
|
-
/**
|
|
782
|
-
* @internal
|
|
783
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
784
|
-
*/
|
|
785
|
-
export var CreatePaymentIntervalRequest$;
|
|
786
|
-
(function (CreatePaymentIntervalRequest$) {
|
|
787
|
-
/** @deprecated use `CreatePaymentIntervalRequest$inboundSchema` instead. */
|
|
788
|
-
CreatePaymentIntervalRequest$.inboundSchema = CreatePaymentIntervalRequest$inboundSchema;
|
|
789
|
-
/** @deprecated use `CreatePaymentIntervalRequest$outboundSchema` instead. */
|
|
790
|
-
CreatePaymentIntervalRequest$.outboundSchema = CreatePaymentIntervalRequest$outboundSchema;
|
|
791
|
-
})(CreatePaymentIntervalRequest$ || (CreatePaymentIntervalRequest$ = {}));
|
|
792
|
-
/** @internal */
|
|
793
762
|
export const CreatePaymentRecurringAmountRequest$inboundSchema = z.object({
|
|
794
763
|
currency: z.string(),
|
|
795
764
|
value: z.string(),
|
|
@@ -819,7 +788,7 @@ export function createPaymentRecurringAmountRequestFromJSON(jsonString) {
|
|
|
819
788
|
/** @internal */
|
|
820
789
|
export const CreatePaymentRecurringRequest$inboundSchema = z.object({
|
|
821
790
|
description: z.string().optional(),
|
|
822
|
-
interval:
|
|
791
|
+
interval: z.string(),
|
|
823
792
|
amount: z.lazy(() => CreatePaymentRecurringAmountRequest$inboundSchema)
|
|
824
793
|
.optional(),
|
|
825
794
|
times: z.number().int().optional(),
|
|
@@ -828,7 +797,7 @@ export const CreatePaymentRecurringRequest$inboundSchema = z.object({
|
|
|
828
797
|
/** @internal */
|
|
829
798
|
export const CreatePaymentRecurringRequest$outboundSchema = z.object({
|
|
830
799
|
description: z.string().optional(),
|
|
831
|
-
interval:
|
|
800
|
+
interval: z.string(),
|
|
832
801
|
amount: z.lazy(() => CreatePaymentRecurringAmountRequest$outboundSchema)
|
|
833
802
|
.optional(),
|
|
834
803
|
times: z.number().int().optional(),
|
|
@@ -1908,21 +1877,6 @@ export var CreatePaymentCategoryResponse$;
|
|
|
1908
1877
|
CreatePaymentCategoryResponse$.outboundSchema = CreatePaymentCategoryResponse$outboundSchema;
|
|
1909
1878
|
})(CreatePaymentCategoryResponse$ || (CreatePaymentCategoryResponse$ = {}));
|
|
1910
1879
|
/** @internal */
|
|
1911
|
-
export const CreatePaymentIntervalResponse$inboundSchema = z.nativeEnum(CreatePaymentIntervalResponse);
|
|
1912
|
-
/** @internal */
|
|
1913
|
-
export const CreatePaymentIntervalResponse$outboundSchema = CreatePaymentIntervalResponse$inboundSchema;
|
|
1914
|
-
/**
|
|
1915
|
-
* @internal
|
|
1916
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1917
|
-
*/
|
|
1918
|
-
export var CreatePaymentIntervalResponse$;
|
|
1919
|
-
(function (CreatePaymentIntervalResponse$) {
|
|
1920
|
-
/** @deprecated use `CreatePaymentIntervalResponse$inboundSchema` instead. */
|
|
1921
|
-
CreatePaymentIntervalResponse$.inboundSchema = CreatePaymentIntervalResponse$inboundSchema;
|
|
1922
|
-
/** @deprecated use `CreatePaymentIntervalResponse$outboundSchema` instead. */
|
|
1923
|
-
CreatePaymentIntervalResponse$.outboundSchema = CreatePaymentIntervalResponse$outboundSchema;
|
|
1924
|
-
})(CreatePaymentIntervalResponse$ || (CreatePaymentIntervalResponse$ = {}));
|
|
1925
|
-
/** @internal */
|
|
1926
1880
|
export const CreatePaymentRecurringAmountResponse$inboundSchema = z.object({
|
|
1927
1881
|
currency: z.string(),
|
|
1928
1882
|
value: z.string(),
|
|
@@ -1952,7 +1906,7 @@ export function createPaymentRecurringAmountResponseFromJSON(jsonString) {
|
|
|
1952
1906
|
/** @internal */
|
|
1953
1907
|
export const CreatePaymentRecurringResponse$inboundSchema = z.object({
|
|
1954
1908
|
description: z.string().optional(),
|
|
1955
|
-
interval:
|
|
1909
|
+
interval: z.string(),
|
|
1956
1910
|
amount: z.lazy(() => CreatePaymentRecurringAmountResponse$inboundSchema)
|
|
1957
1911
|
.optional(),
|
|
1958
1912
|
times: z.number().int().optional(),
|
|
@@ -1961,7 +1915,7 @@ export const CreatePaymentRecurringResponse$inboundSchema = z.object({
|
|
|
1961
1915
|
/** @internal */
|
|
1962
1916
|
export const CreatePaymentRecurringResponse$outboundSchema = z.object({
|
|
1963
1917
|
description: z.string().optional(),
|
|
1964
|
-
interval:
|
|
1918
|
+
interval: z.string(),
|
|
1965
1919
|
amount: z.lazy(() => CreatePaymentRecurringAmountResponse$outboundSchema)
|
|
1966
1920
|
.optional(),
|
|
1967
1921
|
times: z.number().int().optional(),
|