mollie-api-typescript 0.1.5 → 0.1.7
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 +32 -28
- package/bin/mcp-server.js.map +17 -17
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/operations/cancelpayment.d.ts +3 -3
- package/dist/commonjs/models/operations/cancelpayment.js +1 -1
- package/dist/commonjs/models/operations/createcustomerpayment.d.ts +3 -3
- package/dist/commonjs/models/operations/createcustomerpayment.js +1 -1
- package/dist/commonjs/models/operations/createpayment.d.ts +3 -3
- package/dist/commonjs/models/operations/createpayment.js +1 -1
- package/dist/commonjs/models/operations/getpayment.d.ts +3 -3
- package/dist/commonjs/models/operations/getpayment.js +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +3 -3
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js +1 -1
- package/dist/commonjs/models/operations/getterminal.d.ts +9 -3
- package/dist/commonjs/models/operations/getterminal.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getterminal.js +3 -1
- package/dist/commonjs/models/operations/getterminal.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts +3 -3
- package/dist/commonjs/models/operations/listcustomerpayments.js +1 -1
- package/dist/commonjs/models/operations/listpayments.d.ts +3 -3
- package/dist/commonjs/models/operations/listpayments.js +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts +3 -3
- package/dist/commonjs/models/operations/listsettlementpayments.js +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +3 -3
- package/dist/commonjs/models/operations/listsubscriptionpayments.js +1 -1
- package/dist/commonjs/models/operations/listterminals.d.ts +15 -9
- package/dist/commonjs/models/operations/listterminals.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listterminals.js +9 -7
- package/dist/commonjs/models/operations/listterminals.js.map +1 -1
- package/dist/commonjs/models/operations/updatepayment.d.ts +3 -3
- package/dist/commonjs/models/operations/updatepayment.js +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/operations/cancelpayment.d.ts +3 -3
- package/dist/esm/models/operations/cancelpayment.js +1 -1
- package/dist/esm/models/operations/createcustomerpayment.d.ts +3 -3
- package/dist/esm/models/operations/createcustomerpayment.js +1 -1
- package/dist/esm/models/operations/createpayment.d.ts +3 -3
- package/dist/esm/models/operations/createpayment.js +1 -1
- package/dist/esm/models/operations/getpayment.d.ts +3 -3
- package/dist/esm/models/operations/getpayment.js +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +3 -3
- package/dist/esm/models/operations/getpaymentlinkpayments.js +1 -1
- package/dist/esm/models/operations/getterminal.d.ts +9 -3
- package/dist/esm/models/operations/getterminal.d.ts.map +1 -1
- package/dist/esm/models/operations/getterminal.js +3 -1
- package/dist/esm/models/operations/getterminal.js.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.d.ts +3 -3
- package/dist/esm/models/operations/listcustomerpayments.js +1 -1
- package/dist/esm/models/operations/listpayments.d.ts +3 -3
- package/dist/esm/models/operations/listpayments.js +1 -1
- package/dist/esm/models/operations/listsettlementpayments.d.ts +3 -3
- package/dist/esm/models/operations/listsettlementpayments.js +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts +3 -3
- package/dist/esm/models/operations/listsubscriptionpayments.js +1 -1
- package/dist/esm/models/operations/listterminals.d.ts +15 -9
- package/dist/esm/models/operations/listterminals.d.ts.map +1 -1
- package/dist/esm/models/operations/listterminals.js +9 -7
- package/dist/esm/models/operations/listterminals.js.map +1 -1
- package/dist/esm/models/operations/updatepayment.d.ts +3 -3
- package/dist/esm/models/operations/updatepayment.js +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/operations/cancelpayment.ts +1 -1
- package/src/models/operations/createcustomerpayment.ts +1 -1
- package/src/models/operations/createpayment.ts +1 -1
- package/src/models/operations/getpayment.ts +1 -1
- package/src/models/operations/getpaymentlinkpayments.ts +1 -1
- package/src/models/operations/getterminal.ts +3 -1
- package/src/models/operations/listcustomerpayments.ts +1 -1
- package/src/models/operations/listpayments.ts +1 -1
- package/src/models/operations/listsettlementpayments.ts +1 -1
- package/src/models/operations/listsubscriptionpayments.ts +1 -1
- package/src/models/operations/listterminals.ts +15 -13
- package/src/models/operations/updatepayment.ts +1 -1
|
@@ -71,6 +71,7 @@ export type GetTerminalStatus = ClosedEnum<typeof GetTerminalStatus>;
|
|
|
71
71
|
*/
|
|
72
72
|
export const GetTerminalBrand = {
|
|
73
73
|
Pax: "PAX",
|
|
74
|
+
Tap: "Tap",
|
|
74
75
|
} as const;
|
|
75
76
|
/**
|
|
76
77
|
* The brand of the terminal.
|
|
@@ -84,8 +85,9 @@ export const GetTerminalModel = {
|
|
|
84
85
|
A35: "A35",
|
|
85
86
|
A77: "A77",
|
|
86
87
|
A920: "A920",
|
|
87
|
-
A920Pro: "
|
|
88
|
+
A920Pro: "A920Pro",
|
|
88
89
|
Im30: "IM30",
|
|
90
|
+
Tap: "Tap",
|
|
89
91
|
} as const;
|
|
90
92
|
/**
|
|
91
93
|
* The model of the terminal. For example for a PAX A920, this field's value will be `A920`.
|
|
@@ -103,6 +103,7 @@ export type ListTerminalsStatus = ClosedEnum<typeof ListTerminalsStatus>;
|
|
|
103
103
|
*/
|
|
104
104
|
export const ListTerminalsBrand = {
|
|
105
105
|
Pax: "PAX",
|
|
106
|
+
Tap: "Tap",
|
|
106
107
|
} as const;
|
|
107
108
|
/**
|
|
108
109
|
* The brand of the terminal.
|
|
@@ -116,8 +117,9 @@ export const ListTerminalsModel = {
|
|
|
116
117
|
A35: "A35",
|
|
117
118
|
A77: "A77",
|
|
118
119
|
A920: "A920",
|
|
119
|
-
A920Pro: "
|
|
120
|
+
A920Pro: "A920Pro",
|
|
120
121
|
Im30: "IM30",
|
|
122
|
+
Tap: "Tap",
|
|
121
123
|
} as const;
|
|
122
124
|
/**
|
|
123
125
|
* The model of the terminal. For example for a PAX A920, this field's value will be `A920`.
|
|
@@ -332,12 +334,12 @@ export type ListTerminalsResponse = {
|
|
|
332
334
|
* The maximum number of items per result set is controlled by the `limit` property provided in the request. The default
|
|
333
335
|
* limit is 50 items.
|
|
334
336
|
*/
|
|
335
|
-
count
|
|
336
|
-
embedded
|
|
337
|
+
count: number;
|
|
338
|
+
embedded: ListTerminalsEmbedded;
|
|
337
339
|
/**
|
|
338
340
|
* Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field.
|
|
339
341
|
*/
|
|
340
|
-
links
|
|
342
|
+
links: ListTerminalsLinks;
|
|
341
343
|
};
|
|
342
344
|
|
|
343
345
|
/** @internal */
|
|
@@ -1244,9 +1246,9 @@ export const ListTerminalsResponse$inboundSchema: z.ZodType<
|
|
|
1244
1246
|
z.ZodTypeDef,
|
|
1245
1247
|
unknown
|
|
1246
1248
|
> = z.object({
|
|
1247
|
-
count: z.number().int()
|
|
1248
|
-
_embedded: z.lazy(() => ListTerminalsEmbedded$inboundSchema)
|
|
1249
|
-
_links: z.lazy(() => ListTerminalsLinks$inboundSchema)
|
|
1249
|
+
count: z.number().int(),
|
|
1250
|
+
_embedded: z.lazy(() => ListTerminalsEmbedded$inboundSchema),
|
|
1251
|
+
_links: z.lazy(() => ListTerminalsLinks$inboundSchema),
|
|
1250
1252
|
}).transform((v) => {
|
|
1251
1253
|
return remap$(v, {
|
|
1252
1254
|
"_embedded": "embedded",
|
|
@@ -1256,9 +1258,9 @@ export const ListTerminalsResponse$inboundSchema: z.ZodType<
|
|
|
1256
1258
|
|
|
1257
1259
|
/** @internal */
|
|
1258
1260
|
export type ListTerminalsResponse$Outbound = {
|
|
1259
|
-
count
|
|
1260
|
-
_embedded
|
|
1261
|
-
_links
|
|
1261
|
+
count: number;
|
|
1262
|
+
_embedded: ListTerminalsEmbedded$Outbound;
|
|
1263
|
+
_links: ListTerminalsLinks$Outbound;
|
|
1262
1264
|
};
|
|
1263
1265
|
|
|
1264
1266
|
/** @internal */
|
|
@@ -1267,9 +1269,9 @@ export const ListTerminalsResponse$outboundSchema: z.ZodType<
|
|
|
1267
1269
|
z.ZodTypeDef,
|
|
1268
1270
|
ListTerminalsResponse
|
|
1269
1271
|
> = z.object({
|
|
1270
|
-
count: z.number().int()
|
|
1271
|
-
embedded: z.lazy(() => ListTerminalsEmbedded$outboundSchema)
|
|
1272
|
-
links: z.lazy(() => ListTerminalsLinks$outboundSchema)
|
|
1272
|
+
count: z.number().int(),
|
|
1273
|
+
embedded: z.lazy(() => ListTerminalsEmbedded$outboundSchema),
|
|
1274
|
+
links: z.lazy(() => ListTerminalsLinks$outboundSchema),
|
|
1273
1275
|
}).transform((v) => {
|
|
1274
1276
|
return remap$(v, {
|
|
1275
1277
|
embedded: "_embedded",
|