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
package/bin/mcp-server.js
CHANGED
|
@@ -34295,9 +34295,9 @@ var init_config = __esm(() => {
|
|
|
34295
34295
|
SDK_METADATA = {
|
|
34296
34296
|
language: "typescript",
|
|
34297
34297
|
openapiDocVersion: "1.0.0",
|
|
34298
|
-
sdkVersion: "0.
|
|
34299
|
-
genVersion: "2.
|
|
34300
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
34298
|
+
sdkVersion: "0.6.1",
|
|
34299
|
+
genVersion: "2.730.5",
|
|
34300
|
+
userAgent: "speakeasy-sdk/typescript 0.6.1 2.730.5 1.0.0 mollie-api-typescript"
|
|
34301
34301
|
};
|
|
34302
34302
|
});
|
|
34303
34303
|
|
|
@@ -38768,9 +38768,6 @@ var init_methodresponse = __esm(() => {
|
|
|
38768
38768
|
In3: "in3",
|
|
38769
38769
|
Kbc: "kbc",
|
|
38770
38770
|
Klarna: "klarna",
|
|
38771
|
-
Klarnapaylater: "klarnapaylater",
|
|
38772
|
-
Klarnapaynow: "klarnapaynow",
|
|
38773
|
-
Klarnasliceit: "klarnasliceit",
|
|
38774
38771
|
Mbway: "mbway",
|
|
38775
38772
|
Mobilepay: "mobilepay",
|
|
38776
38773
|
Multibanco: "multibanco",
|
|
@@ -41044,6 +41041,55 @@ var init_paymentlineitemresponse = __esm(() => {
|
|
|
41044
41041
|
})(PaymentLineItemResponse$ ||= {});
|
|
41045
41042
|
});
|
|
41046
41043
|
|
|
41044
|
+
// src/models/paymentlinkmethodresponse.ts
|
|
41045
|
+
var PaymentLinkMethodResponse, PaymentLinkMethodResponse$inboundSchema, PaymentLinkMethodResponse$outboundSchema, PaymentLinkMethodResponse$;
|
|
41046
|
+
var init_paymentlinkmethodresponse = __esm(() => {
|
|
41047
|
+
init_esm();
|
|
41048
|
+
PaymentLinkMethodResponse = {
|
|
41049
|
+
Applepay: "applepay",
|
|
41050
|
+
Bacs: "bacs",
|
|
41051
|
+
Bancomatpay: "bancomatpay",
|
|
41052
|
+
Bancontact: "bancontact",
|
|
41053
|
+
Banktransfer: "banktransfer",
|
|
41054
|
+
Belfius: "belfius",
|
|
41055
|
+
Billie: "billie",
|
|
41056
|
+
Blik: "blik",
|
|
41057
|
+
Creditcard: "creditcard",
|
|
41058
|
+
Eps: "eps",
|
|
41059
|
+
Giftcard: "giftcard",
|
|
41060
|
+
Ideal: "ideal",
|
|
41061
|
+
In3: "in3",
|
|
41062
|
+
Kbc: "kbc",
|
|
41063
|
+
Klarna: "klarna",
|
|
41064
|
+
Mbway: "mbway",
|
|
41065
|
+
Multibanco: "multibanco",
|
|
41066
|
+
Mybank: "mybank",
|
|
41067
|
+
Paybybank: "paybybank",
|
|
41068
|
+
Paypal: "paypal",
|
|
41069
|
+
Paysafecard: "paysafecard",
|
|
41070
|
+
Pointofsale: "pointofsale",
|
|
41071
|
+
Przelewy24: "przelewy24",
|
|
41072
|
+
Riverty: "riverty",
|
|
41073
|
+
Satispay: "satispay",
|
|
41074
|
+
Swish: "swish",
|
|
41075
|
+
Trustly: "trustly",
|
|
41076
|
+
Twint: "twint",
|
|
41077
|
+
Voucher: "voucher"
|
|
41078
|
+
};
|
|
41079
|
+
PaymentLinkMethodResponse$inboundSchema = unionType([
|
|
41080
|
+
nativeEnumType(PaymentLinkMethodResponse),
|
|
41081
|
+
stringType().transform(catchUnrecognizedEnum)
|
|
41082
|
+
]);
|
|
41083
|
+
PaymentLinkMethodResponse$outboundSchema = unionType([
|
|
41084
|
+
nativeEnumType(PaymentLinkMethodResponse),
|
|
41085
|
+
stringType().and(custom())
|
|
41086
|
+
]);
|
|
41087
|
+
((PaymentLinkMethodResponse$) => {
|
|
41088
|
+
PaymentLinkMethodResponse$.inboundSchema = PaymentLinkMethodResponse$inboundSchema;
|
|
41089
|
+
PaymentLinkMethodResponse$.outboundSchema = PaymentLinkMethodResponse$outboundSchema;
|
|
41090
|
+
})(PaymentLinkMethodResponse$ ||= {});
|
|
41091
|
+
});
|
|
41092
|
+
|
|
41047
41093
|
// src/models/paymentlinksequencetyperesponse.ts
|
|
41048
41094
|
var PaymentLinkSequenceTypeResponse, PaymentLinkSequenceTypeResponse$inboundSchema, PaymentLinkSequenceTypeResponse$outboundSchema, PaymentLinkSequenceTypeResponse$;
|
|
41049
41095
|
var init_paymentlinksequencetyperesponse = __esm(() => {
|
|
@@ -41076,6 +41122,7 @@ var init_paymentlinkresponse = __esm(() => {
|
|
|
41076
41122
|
init_mode();
|
|
41077
41123
|
init_paymentaddress();
|
|
41078
41124
|
init_paymentlineitemresponse();
|
|
41125
|
+
init_paymentlinkmethodresponse();
|
|
41079
41126
|
init_paymentlinksequencetyperesponse();
|
|
41080
41127
|
init_url2();
|
|
41081
41128
|
PaymentLinkResponseApplicationFee$inboundSchema = objectType({
|
|
@@ -41120,7 +41167,7 @@ var init_paymentlinkresponse = __esm(() => {
|
|
|
41120
41167
|
createdAt: stringType().optional(),
|
|
41121
41168
|
paidAt: nullableType(stringType()).optional(),
|
|
41122
41169
|
expiresAt: nullableType(stringType()).optional(),
|
|
41123
|
-
allowedMethods: nullableType(arrayType(
|
|
41170
|
+
allowedMethods: nullableType(arrayType(PaymentLinkMethodResponse$inboundSchema)).optional(),
|
|
41124
41171
|
applicationFee: lazyType(() => PaymentLinkResponseApplicationFee$inboundSchema).optional(),
|
|
41125
41172
|
sequenceType: PaymentLinkSequenceTypeResponse$inboundSchema.optional(),
|
|
41126
41173
|
customerId: nullableType(stringType()).optional(),
|
|
@@ -41148,7 +41195,7 @@ var init_paymentlinkresponse = __esm(() => {
|
|
|
41148
41195
|
createdAt: stringType().optional(),
|
|
41149
41196
|
paidAt: nullableType(stringType()).optional(),
|
|
41150
41197
|
expiresAt: nullableType(stringType()).optional(),
|
|
41151
|
-
allowedMethods: nullableType(arrayType(
|
|
41198
|
+
allowedMethods: nullableType(arrayType(PaymentLinkMethodResponse$outboundSchema)).optional(),
|
|
41152
41199
|
applicationFee: lazyType(() => PaymentLinkResponseApplicationFee$outboundSchema).optional(),
|
|
41153
41200
|
sequenceType: PaymentLinkSequenceTypeResponse$outboundSchema.optional(),
|
|
41154
41201
|
customerId: nullableType(stringType()).optional(),
|
|
@@ -41634,9 +41681,6 @@ var init_method = __esm(() => {
|
|
|
41634
41681
|
In3: "in3",
|
|
41635
41682
|
Kbc: "kbc",
|
|
41636
41683
|
Klarna: "klarna",
|
|
41637
|
-
Klarnapaylater: "klarnapaylater",
|
|
41638
|
-
Klarnapaynow: "klarnapaynow",
|
|
41639
|
-
Klarnasliceit: "klarnasliceit",
|
|
41640
41684
|
Mbway: "mbway",
|
|
41641
41685
|
Mobilepay: "mobilepay",
|
|
41642
41686
|
Multibanco: "multibanco",
|
|
@@ -42045,6 +42089,49 @@ var init_paymentlineitem = __esm(() => {
|
|
|
42045
42089
|
})(PaymentLineItem$ ||= {});
|
|
42046
42090
|
});
|
|
42047
42091
|
|
|
42092
|
+
// src/models/paymentlinkmethod.ts
|
|
42093
|
+
var PaymentLinkMethod, PaymentLinkMethod$inboundSchema, PaymentLinkMethod$outboundSchema, PaymentLinkMethod$;
|
|
42094
|
+
var init_paymentlinkmethod = __esm(() => {
|
|
42095
|
+
init_esm();
|
|
42096
|
+
PaymentLinkMethod = {
|
|
42097
|
+
Applepay: "applepay",
|
|
42098
|
+
Bacs: "bacs",
|
|
42099
|
+
Bancomatpay: "bancomatpay",
|
|
42100
|
+
Bancontact: "bancontact",
|
|
42101
|
+
Banktransfer: "banktransfer",
|
|
42102
|
+
Belfius: "belfius",
|
|
42103
|
+
Billie: "billie",
|
|
42104
|
+
Blik: "blik",
|
|
42105
|
+
Creditcard: "creditcard",
|
|
42106
|
+
Eps: "eps",
|
|
42107
|
+
Giftcard: "giftcard",
|
|
42108
|
+
Ideal: "ideal",
|
|
42109
|
+
In3: "in3",
|
|
42110
|
+
Kbc: "kbc",
|
|
42111
|
+
Klarna: "klarna",
|
|
42112
|
+
Mbway: "mbway",
|
|
42113
|
+
Multibanco: "multibanco",
|
|
42114
|
+
Mybank: "mybank",
|
|
42115
|
+
Paybybank: "paybybank",
|
|
42116
|
+
Paypal: "paypal",
|
|
42117
|
+
Paysafecard: "paysafecard",
|
|
42118
|
+
Pointofsale: "pointofsale",
|
|
42119
|
+
Przelewy24: "przelewy24",
|
|
42120
|
+
Riverty: "riverty",
|
|
42121
|
+
Satispay: "satispay",
|
|
42122
|
+
Swish: "swish",
|
|
42123
|
+
Trustly: "trustly",
|
|
42124
|
+
Twint: "twint",
|
|
42125
|
+
Voucher: "voucher"
|
|
42126
|
+
};
|
|
42127
|
+
PaymentLinkMethod$inboundSchema = nativeEnumType(PaymentLinkMethod);
|
|
42128
|
+
PaymentLinkMethod$outboundSchema = PaymentLinkMethod$inboundSchema;
|
|
42129
|
+
((PaymentLinkMethod$) => {
|
|
42130
|
+
PaymentLinkMethod$.inboundSchema = PaymentLinkMethod$inboundSchema;
|
|
42131
|
+
PaymentLinkMethod$.outboundSchema = PaymentLinkMethod$outboundSchema;
|
|
42132
|
+
})(PaymentLinkMethod$ ||= {});
|
|
42133
|
+
});
|
|
42134
|
+
|
|
42048
42135
|
// src/models/paymentlinksequencetype.ts
|
|
42049
42136
|
var PaymentLinkSequenceType, PaymentLinkSequenceType$inboundSchema, PaymentLinkSequenceType$outboundSchema, PaymentLinkSequenceType$;
|
|
42050
42137
|
var init_paymentlinksequencetype = __esm(() => {
|
|
@@ -43462,6 +43549,8 @@ var init_models = __esm(() => {
|
|
|
43462
43549
|
init_paymentlineitemresponse();
|
|
43463
43550
|
init_paymentlinetype();
|
|
43464
43551
|
init_paymentlinetyperesponse();
|
|
43552
|
+
init_paymentlinkmethod();
|
|
43553
|
+
init_paymentlinkmethodresponse();
|
|
43465
43554
|
init_paymentlinkresponse();
|
|
43466
43555
|
init_paymentlinksequencetype();
|
|
43467
43556
|
init_paymentlinksequencetyperesponse();
|
|
@@ -43966,7 +44055,7 @@ var init_createpaymentlink = __esm(() => {
|
|
|
43966
44055
|
profileId: nullableType(stringType()).optional(),
|
|
43967
44056
|
reusable: nullableType(booleanType()).optional(),
|
|
43968
44057
|
expiresAt: nullableType(stringType()).optional(),
|
|
43969
|
-
allowedMethods: nullableType(arrayType(
|
|
44058
|
+
allowedMethods: nullableType(arrayType(PaymentLinkMethod$inboundSchema)).optional(),
|
|
43970
44059
|
applicationFee: lazyType(() => ApplicationFee$inboundSchema).optional(),
|
|
43971
44060
|
sequenceType: PaymentLinkSequenceType$inboundSchema.optional(),
|
|
43972
44061
|
customerId: nullableType(stringType()).optional(),
|
|
@@ -43985,7 +44074,7 @@ var init_createpaymentlink = __esm(() => {
|
|
|
43985
44074
|
profileId: nullableType(stringType()).optional(),
|
|
43986
44075
|
reusable: nullableType(booleanType()).optional(),
|
|
43987
44076
|
expiresAt: nullableType(stringType()).optional(),
|
|
43988
|
-
allowedMethods: nullableType(arrayType(
|
|
44077
|
+
allowedMethods: nullableType(arrayType(PaymentLinkMethod$outboundSchema)).optional(),
|
|
43989
44078
|
applicationFee: lazyType(() => ApplicationFee$outboundSchema).optional(),
|
|
43990
44079
|
sequenceType: PaymentLinkSequenceType$outboundSchema.optional(),
|
|
43991
44080
|
customerId: nullableType(stringType()).optional(),
|
|
@@ -48268,7 +48357,7 @@ var init_updatepaymentlink = __esm(() => {
|
|
|
48268
48357
|
description: stringType().optional(),
|
|
48269
48358
|
minimumAmount: Amount$inboundSchema.optional(),
|
|
48270
48359
|
archived: booleanType().optional(),
|
|
48271
|
-
allowedMethods: nullableType(arrayType(
|
|
48360
|
+
allowedMethods: nullableType(arrayType(PaymentLinkMethod$inboundSchema)).optional(),
|
|
48272
48361
|
lines: nullableType(arrayType(PaymentLineItem$inboundSchema)).optional(),
|
|
48273
48362
|
billingAddress: PaymentAddress$inboundSchema.optional(),
|
|
48274
48363
|
shippingAddress: PaymentAddress$inboundSchema.optional(),
|
|
@@ -48278,7 +48367,7 @@ var init_updatepaymentlink = __esm(() => {
|
|
|
48278
48367
|
description: stringType().optional(),
|
|
48279
48368
|
minimumAmount: Amount$outboundSchema.optional(),
|
|
48280
48369
|
archived: booleanType().optional(),
|
|
48281
|
-
allowedMethods: nullableType(arrayType(
|
|
48370
|
+
allowedMethods: nullableType(arrayType(PaymentLinkMethod$outboundSchema)).optional(),
|
|
48282
48371
|
lines: nullableType(arrayType(PaymentLineItem$outboundSchema)).optional(),
|
|
48283
48372
|
billingAddress: PaymentAddress$outboundSchema.optional(),
|
|
48284
48373
|
shippingAddress: PaymentAddress$outboundSchema.optional(),
|
|
@@ -60824,7 +60913,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
|
|
|
60824
60913
|
function createMCPServer(deps) {
|
|
60825
60914
|
const server = new McpServer({
|
|
60826
60915
|
name: "Client",
|
|
60827
|
-
version: "0.
|
|
60916
|
+
version: "0.6.1"
|
|
60828
60917
|
});
|
|
60829
60918
|
const client = new ClientCore({
|
|
60830
60919
|
security: deps.security,
|
|
@@ -62219,7 +62308,7 @@ var routes = an({
|
|
|
62219
62308
|
var app = He(routes, {
|
|
62220
62309
|
name: "mcp",
|
|
62221
62310
|
versionInfo: {
|
|
62222
|
-
currentVersion: "0.
|
|
62311
|
+
currentVersion: "0.6.1"
|
|
62223
62312
|
}
|
|
62224
62313
|
});
|
|
62225
62314
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -62227,5 +62316,5 @@ export {
|
|
|
62227
62316
|
app
|
|
62228
62317
|
};
|
|
62229
62318
|
|
|
62230
|
-
//# debugId=
|
|
62319
|
+
//# debugId=F25850C3DC2F5A7A64756E2164756E21
|
|
62231
62320
|
//# sourceMappingURL=mcp-server.js.map
|