mollie-api-typescript 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +35 -29
- package/bin/mcp-server.js.map +12 -12
- 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 +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +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/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/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/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/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/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 +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +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/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/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/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/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/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 +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/getmethod.ts +4 -4
- package/src/models/operations/getterminal.ts +3 -1
- package/src/models/operations/listallmethods.ts +4 -4
- package/src/models/operations/listmethods.ts +4 -4
- package/src/models/operations/listterminals.ts +15 -13
package/bin/mcp-server.js
CHANGED
|
@@ -34269,9 +34269,9 @@ var init_config = __esm(() => {
|
|
|
34269
34269
|
SDK_METADATA = {
|
|
34270
34270
|
language: "typescript",
|
|
34271
34271
|
openapiDocVersion: "1.0.0",
|
|
34272
|
-
sdkVersion: "0.1.
|
|
34272
|
+
sdkVersion: "0.1.6",
|
|
34273
34273
|
genVersion: "2.686.7",
|
|
34274
|
-
userAgent: "speakeasy-sdk/typescript 0.1.
|
|
34274
|
+
userAgent: "speakeasy-sdk/typescript 0.1.6 2.686.7 1.0.0 mollie-api-typescript"
|
|
34275
34275
|
};
|
|
34276
34276
|
});
|
|
34277
34277
|
|
|
@@ -64019,7 +64019,7 @@ var init_getmethod = __esm(() => {
|
|
|
64019
64019
|
minimumAmount: lazyType(() => GetMethodMinimumAmount$inboundSchema),
|
|
64020
64020
|
maximumAmount: nullableType(lazyType(() => GetMethodMaximumAmount$inboundSchema)),
|
|
64021
64021
|
image: lazyType(() => GetMethodImage$inboundSchema),
|
|
64022
|
-
status:
|
|
64022
|
+
status: GetMethodStatus$inboundSchema,
|
|
64023
64023
|
issuers: arrayType(lazyType(() => GetMethodIssuer$inboundSchema)).optional(),
|
|
64024
64024
|
_links: lazyType(() => GetMethodLinks$inboundSchema)
|
|
64025
64025
|
}).transform((v2) => {
|
|
@@ -64034,7 +64034,7 @@ var init_getmethod = __esm(() => {
|
|
|
64034
64034
|
minimumAmount: lazyType(() => GetMethodMinimumAmount$outboundSchema),
|
|
64035
64035
|
maximumAmount: nullableType(lazyType(() => GetMethodMaximumAmount$outboundSchema)),
|
|
64036
64036
|
image: lazyType(() => GetMethodImage$outboundSchema),
|
|
64037
|
-
status:
|
|
64037
|
+
status: GetMethodStatus$outboundSchema,
|
|
64038
64038
|
issuers: arrayType(lazyType(() => GetMethodIssuer$outboundSchema)).optional(),
|
|
64039
64039
|
links: lazyType(() => GetMethodLinks$outboundSchema)
|
|
64040
64040
|
}).transform((v2) => {
|
|
@@ -69882,14 +69882,16 @@ var init_getterminal = __esm(() => {
|
|
|
69882
69882
|
Inactive: "inactive"
|
|
69883
69883
|
};
|
|
69884
69884
|
GetTerminalBrand = {
|
|
69885
|
-
Pax: "PAX"
|
|
69885
|
+
Pax: "PAX",
|
|
69886
|
+
Tap: "Tap"
|
|
69886
69887
|
};
|
|
69887
69888
|
GetTerminalModel = {
|
|
69888
69889
|
A35: "A35",
|
|
69889
69890
|
A77: "A77",
|
|
69890
69891
|
A920: "A920",
|
|
69891
|
-
A920Pro: "
|
|
69892
|
-
Im30: "IM30"
|
|
69892
|
+
A920Pro: "A920Pro",
|
|
69893
|
+
Im30: "IM30",
|
|
69894
|
+
Tap: "Tap"
|
|
69893
69895
|
};
|
|
69894
69896
|
GetTerminalRequest$inboundSchema = objectType({
|
|
69895
69897
|
terminalId: stringType(),
|
|
@@ -71463,7 +71465,7 @@ var init_listallmethods = __esm(() => {
|
|
|
71463
71465
|
minimumAmount: lazyType(() => ListAllMethodsMinimumAmount$inboundSchema),
|
|
71464
71466
|
maximumAmount: nullableType(lazyType(() => ListAllMethodsMaximumAmount$inboundSchema)),
|
|
71465
71467
|
image: lazyType(() => ListAllMethodsImage$inboundSchema),
|
|
71466
|
-
status:
|
|
71468
|
+
status: ListAllMethodsStatus$inboundSchema,
|
|
71467
71469
|
issuers: arrayType(lazyType(() => ListAllMethodsIssuer$inboundSchema)).optional(),
|
|
71468
71470
|
_links: lazyType(() => ListAllMethodsMethodLinks$inboundSchema),
|
|
71469
71471
|
pricing: arrayType(lazyType(() => Pricing$inboundSchema)).optional()
|
|
@@ -71479,7 +71481,7 @@ var init_listallmethods = __esm(() => {
|
|
|
71479
71481
|
minimumAmount: lazyType(() => ListAllMethodsMinimumAmount$outboundSchema),
|
|
71480
71482
|
maximumAmount: nullableType(lazyType(() => ListAllMethodsMaximumAmount$outboundSchema)),
|
|
71481
71483
|
image: lazyType(() => ListAllMethodsImage$outboundSchema),
|
|
71482
|
-
status:
|
|
71484
|
+
status: ListAllMethodsStatus$outboundSchema,
|
|
71483
71485
|
issuers: arrayType(lazyType(() => ListAllMethodsIssuer$outboundSchema)).optional(),
|
|
71484
71486
|
links: lazyType(() => ListAllMethodsMethodLinks$outboundSchema),
|
|
71485
71487
|
pricing: arrayType(lazyType(() => Pricing$outboundSchema)).optional()
|
|
@@ -77701,7 +77703,7 @@ var init_listmethods = __esm(() => {
|
|
|
77701
77703
|
minimumAmount: lazyType(() => ListMethodsMinimumAmount$inboundSchema),
|
|
77702
77704
|
maximumAmount: nullableType(lazyType(() => ListMethodsMaximumAmount$inboundSchema)),
|
|
77703
77705
|
image: lazyType(() => ListMethodsImage$inboundSchema),
|
|
77704
|
-
status:
|
|
77706
|
+
status: ListMethodsStatus$inboundSchema,
|
|
77705
77707
|
issuers: arrayType(lazyType(() => ListMethodsIssuer$inboundSchema)).optional(),
|
|
77706
77708
|
_links: lazyType(() => ListMethodsMethodLinks$inboundSchema)
|
|
77707
77709
|
}).transform((v2) => {
|
|
@@ -77716,7 +77718,7 @@ var init_listmethods = __esm(() => {
|
|
|
77716
77718
|
minimumAmount: lazyType(() => ListMethodsMinimumAmount$outboundSchema),
|
|
77717
77719
|
maximumAmount: nullableType(lazyType(() => ListMethodsMaximumAmount$outboundSchema)),
|
|
77718
77720
|
image: lazyType(() => ListMethodsImage$outboundSchema),
|
|
77719
|
-
status:
|
|
77721
|
+
status: ListMethodsStatus$outboundSchema,
|
|
77720
77722
|
issuers: arrayType(lazyType(() => ListMethodsIssuer$outboundSchema)).optional(),
|
|
77721
77723
|
links: lazyType(() => ListMethodsMethodLinks$outboundSchema)
|
|
77722
77724
|
}).transform((v2) => {
|
|
@@ -86073,14 +86075,16 @@ var init_listterminals = __esm(() => {
|
|
|
86073
86075
|
Inactive: "inactive"
|
|
86074
86076
|
};
|
|
86075
86077
|
ListTerminalsBrand = {
|
|
86076
|
-
Pax: "PAX"
|
|
86078
|
+
Pax: "PAX",
|
|
86079
|
+
Tap: "Tap"
|
|
86077
86080
|
};
|
|
86078
86081
|
ListTerminalsModel = {
|
|
86079
86082
|
A35: "A35",
|
|
86080
86083
|
A77: "A77",
|
|
86081
86084
|
A920: "A920",
|
|
86082
|
-
A920Pro: "
|
|
86083
|
-
Im30: "IM30"
|
|
86085
|
+
A920Pro: "A920Pro",
|
|
86086
|
+
Im30: "IM30",
|
|
86087
|
+
Tap: "Tap"
|
|
86084
86088
|
};
|
|
86085
86089
|
ListTerminalsSort$inboundSchema = nativeEnumType(ListTerminalsSort);
|
|
86086
86090
|
ListTerminalsSort$outboundSchema = ListTerminalsSort$inboundSchema;
|
|
@@ -86303,9 +86307,9 @@ var init_listterminals = __esm(() => {
|
|
|
86303
86307
|
ListTerminalsLinks$.outboundSchema = ListTerminalsLinks$outboundSchema;
|
|
86304
86308
|
})(ListTerminalsLinks$ ||= {});
|
|
86305
86309
|
ListTerminalsResponse$inboundSchema = objectType({
|
|
86306
|
-
count: numberType().int()
|
|
86307
|
-
_embedded: lazyType(() => ListTerminalsEmbedded$inboundSchema)
|
|
86308
|
-
_links: lazyType(() => ListTerminalsLinks$inboundSchema)
|
|
86310
|
+
count: numberType().int(),
|
|
86311
|
+
_embedded: lazyType(() => ListTerminalsEmbedded$inboundSchema),
|
|
86312
|
+
_links: lazyType(() => ListTerminalsLinks$inboundSchema)
|
|
86309
86313
|
}).transform((v2) => {
|
|
86310
86314
|
return remap(v2, {
|
|
86311
86315
|
_embedded: "embedded",
|
|
@@ -86313,9 +86317,9 @@ var init_listterminals = __esm(() => {
|
|
|
86313
86317
|
});
|
|
86314
86318
|
});
|
|
86315
86319
|
ListTerminalsResponse$outboundSchema = objectType({
|
|
86316
|
-
count: numberType().int()
|
|
86317
|
-
embedded: lazyType(() => ListTerminalsEmbedded$outboundSchema)
|
|
86318
|
-
links: lazyType(() => ListTerminalsLinks$outboundSchema)
|
|
86320
|
+
count: numberType().int(),
|
|
86321
|
+
embedded: lazyType(() => ListTerminalsEmbedded$outboundSchema),
|
|
86322
|
+
links: lazyType(() => ListTerminalsLinks$outboundSchema)
|
|
86319
86323
|
}).transform((v2) => {
|
|
86320
86324
|
return remap(v2, {
|
|
86321
86325
|
embedded: "_embedded",
|
|
@@ -102891,14 +102895,15 @@ async function $do31(client, request, options) {
|
|
|
102891
102895
|
const payload = parsed.value;
|
|
102892
102896
|
const body = null;
|
|
102893
102897
|
const path = pathToFunc("/methods/all")();
|
|
102894
|
-
const query =
|
|
102895
|
-
amount: payload?.amount
|
|
102898
|
+
const query = queryJoin(encodeDeepObjectQuery({
|
|
102899
|
+
amount: payload?.amount
|
|
102900
|
+
}), encodeFormQuery({
|
|
102896
102901
|
include: payload?.include,
|
|
102897
102902
|
locale: payload?.locale,
|
|
102898
102903
|
profileId: payload?.profileId,
|
|
102899
102904
|
sequenceType: payload?.sequenceType,
|
|
102900
102905
|
testmode: payload?.testmode
|
|
102901
|
-
});
|
|
102906
|
+
}));
|
|
102902
102907
|
const headers = new Headers(compactMap({
|
|
102903
102908
|
Accept: "application/hal+json"
|
|
102904
102909
|
}));
|
|
@@ -103159,8 +103164,9 @@ async function $do33(client, request, options) {
|
|
|
103159
103164
|
const payload = parsed.value;
|
|
103160
103165
|
const body = null;
|
|
103161
103166
|
const path = pathToFunc("/methods")();
|
|
103162
|
-
const query =
|
|
103163
|
-
amount: payload?.amount
|
|
103167
|
+
const query = queryJoin(encodeDeepObjectQuery({
|
|
103168
|
+
amount: payload?.amount
|
|
103169
|
+
}), encodeFormQuery({
|
|
103164
103170
|
billingCountry: payload?.billingCountry,
|
|
103165
103171
|
include: payload?.include,
|
|
103166
103172
|
includeWallets: payload?.includeWallets,
|
|
@@ -103170,7 +103176,7 @@ async function $do33(client, request, options) {
|
|
|
103170
103176
|
resource: payload?.resource,
|
|
103171
103177
|
sequenceType: payload?.sequenceType,
|
|
103172
103178
|
testmode: payload?.testmode
|
|
103173
|
-
});
|
|
103179
|
+
}));
|
|
103174
103180
|
const headers = new Headers(compactMap({
|
|
103175
103181
|
Accept: "application/hal+json"
|
|
103176
103182
|
}));
|
|
@@ -110609,7 +110615,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
|
|
|
110609
110615
|
function createMCPServer(deps) {
|
|
110610
110616
|
const server = new McpServer({
|
|
110611
110617
|
name: "Client",
|
|
110612
|
-
version: "0.1.
|
|
110618
|
+
version: "0.1.6"
|
|
110613
110619
|
});
|
|
110614
110620
|
const client = new ClientCore({
|
|
110615
110621
|
security: deps.security,
|
|
@@ -111998,7 +112004,7 @@ var routes = an({
|
|
|
111998
112004
|
var app = He(routes, {
|
|
111999
112005
|
name: "mcp",
|
|
112000
112006
|
versionInfo: {
|
|
112001
|
-
currentVersion: "0.1.
|
|
112007
|
+
currentVersion: "0.1.6"
|
|
112002
112008
|
}
|
|
112003
112009
|
});
|
|
112004
112010
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -112006,5 +112012,5 @@ export {
|
|
|
112006
112012
|
app
|
|
112007
112013
|
};
|
|
112008
112014
|
|
|
112009
|
-
//# debugId=
|
|
112015
|
+
//# debugId=42DC7C544D9873A964756E2164756E21
|
|
112010
112016
|
//# sourceMappingURL=mcp-server.js.map
|