mollie-api-typescript 0.5.1 → 0.6.0
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 -12
- package/bin/mcp-server.js.map +12 -10
- 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/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/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/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.0",
|
|
34299
|
+
genVersion: "2.730.0",
|
|
34300
|
+
userAgent: "speakeasy-sdk/typescript 0.6.0 2.730.0 1.0.0 mollie-api-typescript"
|
|
34301
34301
|
};
|
|
34302
34302
|
});
|
|
34303
34303
|
|
|
@@ -41044,6 +41044,55 @@ var init_paymentlineitemresponse = __esm(() => {
|
|
|
41044
41044
|
})(PaymentLineItemResponse$ ||= {});
|
|
41045
41045
|
});
|
|
41046
41046
|
|
|
41047
|
+
// src/models/paymentlinkmethodresponse.ts
|
|
41048
|
+
var PaymentLinkMethodResponse, PaymentLinkMethodResponse$inboundSchema, PaymentLinkMethodResponse$outboundSchema, PaymentLinkMethodResponse$;
|
|
41049
|
+
var init_paymentlinkmethodresponse = __esm(() => {
|
|
41050
|
+
init_esm();
|
|
41051
|
+
PaymentLinkMethodResponse = {
|
|
41052
|
+
Applepay: "applepay",
|
|
41053
|
+
Bacs: "bacs",
|
|
41054
|
+
Bancomatpay: "bancomatpay",
|
|
41055
|
+
Bancontact: "bancontact",
|
|
41056
|
+
Banktransfer: "banktransfer",
|
|
41057
|
+
Belfius: "belfius",
|
|
41058
|
+
Billie: "billie",
|
|
41059
|
+
Blik: "blik",
|
|
41060
|
+
Creditcard: "creditcard",
|
|
41061
|
+
Eps: "eps",
|
|
41062
|
+
Giftcard: "giftcard",
|
|
41063
|
+
Ideal: "ideal",
|
|
41064
|
+
In3: "in3",
|
|
41065
|
+
Kbc: "kbc",
|
|
41066
|
+
Klarna: "klarna",
|
|
41067
|
+
Mbway: "mbway",
|
|
41068
|
+
Multibanco: "multibanco",
|
|
41069
|
+
Mybank: "mybank",
|
|
41070
|
+
Paybybank: "paybybank",
|
|
41071
|
+
Paypal: "paypal",
|
|
41072
|
+
Paysafecard: "paysafecard",
|
|
41073
|
+
Pointofsale: "pointofsale",
|
|
41074
|
+
Przelewy24: "przelewy24",
|
|
41075
|
+
Riverty: "riverty",
|
|
41076
|
+
Satispay: "satispay",
|
|
41077
|
+
Swish: "swish",
|
|
41078
|
+
Trustly: "trustly",
|
|
41079
|
+
Twint: "twint",
|
|
41080
|
+
Voucher: "voucher"
|
|
41081
|
+
};
|
|
41082
|
+
PaymentLinkMethodResponse$inboundSchema = unionType([
|
|
41083
|
+
nativeEnumType(PaymentLinkMethodResponse),
|
|
41084
|
+
stringType().transform(catchUnrecognizedEnum)
|
|
41085
|
+
]);
|
|
41086
|
+
PaymentLinkMethodResponse$outboundSchema = unionType([
|
|
41087
|
+
nativeEnumType(PaymentLinkMethodResponse),
|
|
41088
|
+
stringType().and(custom())
|
|
41089
|
+
]);
|
|
41090
|
+
((PaymentLinkMethodResponse$) => {
|
|
41091
|
+
PaymentLinkMethodResponse$.inboundSchema = PaymentLinkMethodResponse$inboundSchema;
|
|
41092
|
+
PaymentLinkMethodResponse$.outboundSchema = PaymentLinkMethodResponse$outboundSchema;
|
|
41093
|
+
})(PaymentLinkMethodResponse$ ||= {});
|
|
41094
|
+
});
|
|
41095
|
+
|
|
41047
41096
|
// src/models/paymentlinksequencetyperesponse.ts
|
|
41048
41097
|
var PaymentLinkSequenceTypeResponse, PaymentLinkSequenceTypeResponse$inboundSchema, PaymentLinkSequenceTypeResponse$outboundSchema, PaymentLinkSequenceTypeResponse$;
|
|
41049
41098
|
var init_paymentlinksequencetyperesponse = __esm(() => {
|
|
@@ -41076,6 +41125,7 @@ var init_paymentlinkresponse = __esm(() => {
|
|
|
41076
41125
|
init_mode();
|
|
41077
41126
|
init_paymentaddress();
|
|
41078
41127
|
init_paymentlineitemresponse();
|
|
41128
|
+
init_paymentlinkmethodresponse();
|
|
41079
41129
|
init_paymentlinksequencetyperesponse();
|
|
41080
41130
|
init_url2();
|
|
41081
41131
|
PaymentLinkResponseApplicationFee$inboundSchema = objectType({
|
|
@@ -41120,7 +41170,7 @@ var init_paymentlinkresponse = __esm(() => {
|
|
|
41120
41170
|
createdAt: stringType().optional(),
|
|
41121
41171
|
paidAt: nullableType(stringType()).optional(),
|
|
41122
41172
|
expiresAt: nullableType(stringType()).optional(),
|
|
41123
|
-
allowedMethods: nullableType(arrayType(
|
|
41173
|
+
allowedMethods: nullableType(arrayType(PaymentLinkMethodResponse$inboundSchema)).optional(),
|
|
41124
41174
|
applicationFee: lazyType(() => PaymentLinkResponseApplicationFee$inboundSchema).optional(),
|
|
41125
41175
|
sequenceType: PaymentLinkSequenceTypeResponse$inboundSchema.optional(),
|
|
41126
41176
|
customerId: nullableType(stringType()).optional(),
|
|
@@ -41148,7 +41198,7 @@ var init_paymentlinkresponse = __esm(() => {
|
|
|
41148
41198
|
createdAt: stringType().optional(),
|
|
41149
41199
|
paidAt: nullableType(stringType()).optional(),
|
|
41150
41200
|
expiresAt: nullableType(stringType()).optional(),
|
|
41151
|
-
allowedMethods: nullableType(arrayType(
|
|
41201
|
+
allowedMethods: nullableType(arrayType(PaymentLinkMethodResponse$outboundSchema)).optional(),
|
|
41152
41202
|
applicationFee: lazyType(() => PaymentLinkResponseApplicationFee$outboundSchema).optional(),
|
|
41153
41203
|
sequenceType: PaymentLinkSequenceTypeResponse$outboundSchema.optional(),
|
|
41154
41204
|
customerId: nullableType(stringType()).optional(),
|
|
@@ -42045,6 +42095,49 @@ var init_paymentlineitem = __esm(() => {
|
|
|
42045
42095
|
})(PaymentLineItem$ ||= {});
|
|
42046
42096
|
});
|
|
42047
42097
|
|
|
42098
|
+
// src/models/paymentlinkmethod.ts
|
|
42099
|
+
var PaymentLinkMethod, PaymentLinkMethod$inboundSchema, PaymentLinkMethod$outboundSchema, PaymentLinkMethod$;
|
|
42100
|
+
var init_paymentlinkmethod = __esm(() => {
|
|
42101
|
+
init_esm();
|
|
42102
|
+
PaymentLinkMethod = {
|
|
42103
|
+
Applepay: "applepay",
|
|
42104
|
+
Bacs: "bacs",
|
|
42105
|
+
Bancomatpay: "bancomatpay",
|
|
42106
|
+
Bancontact: "bancontact",
|
|
42107
|
+
Banktransfer: "banktransfer",
|
|
42108
|
+
Belfius: "belfius",
|
|
42109
|
+
Billie: "billie",
|
|
42110
|
+
Blik: "blik",
|
|
42111
|
+
Creditcard: "creditcard",
|
|
42112
|
+
Eps: "eps",
|
|
42113
|
+
Giftcard: "giftcard",
|
|
42114
|
+
Ideal: "ideal",
|
|
42115
|
+
In3: "in3",
|
|
42116
|
+
Kbc: "kbc",
|
|
42117
|
+
Klarna: "klarna",
|
|
42118
|
+
Mbway: "mbway",
|
|
42119
|
+
Multibanco: "multibanco",
|
|
42120
|
+
Mybank: "mybank",
|
|
42121
|
+
Paybybank: "paybybank",
|
|
42122
|
+
Paypal: "paypal",
|
|
42123
|
+
Paysafecard: "paysafecard",
|
|
42124
|
+
Pointofsale: "pointofsale",
|
|
42125
|
+
Przelewy24: "przelewy24",
|
|
42126
|
+
Riverty: "riverty",
|
|
42127
|
+
Satispay: "satispay",
|
|
42128
|
+
Swish: "swish",
|
|
42129
|
+
Trustly: "trustly",
|
|
42130
|
+
Twint: "twint",
|
|
42131
|
+
Voucher: "voucher"
|
|
42132
|
+
};
|
|
42133
|
+
PaymentLinkMethod$inboundSchema = nativeEnumType(PaymentLinkMethod);
|
|
42134
|
+
PaymentLinkMethod$outboundSchema = PaymentLinkMethod$inboundSchema;
|
|
42135
|
+
((PaymentLinkMethod$) => {
|
|
42136
|
+
PaymentLinkMethod$.inboundSchema = PaymentLinkMethod$inboundSchema;
|
|
42137
|
+
PaymentLinkMethod$.outboundSchema = PaymentLinkMethod$outboundSchema;
|
|
42138
|
+
})(PaymentLinkMethod$ ||= {});
|
|
42139
|
+
});
|
|
42140
|
+
|
|
42048
42141
|
// src/models/paymentlinksequencetype.ts
|
|
42049
42142
|
var PaymentLinkSequenceType, PaymentLinkSequenceType$inboundSchema, PaymentLinkSequenceType$outboundSchema, PaymentLinkSequenceType$;
|
|
42050
42143
|
var init_paymentlinksequencetype = __esm(() => {
|
|
@@ -43462,6 +43555,8 @@ var init_models = __esm(() => {
|
|
|
43462
43555
|
init_paymentlineitemresponse();
|
|
43463
43556
|
init_paymentlinetype();
|
|
43464
43557
|
init_paymentlinetyperesponse();
|
|
43558
|
+
init_paymentlinkmethod();
|
|
43559
|
+
init_paymentlinkmethodresponse();
|
|
43465
43560
|
init_paymentlinkresponse();
|
|
43466
43561
|
init_paymentlinksequencetype();
|
|
43467
43562
|
init_paymentlinksequencetyperesponse();
|
|
@@ -43966,7 +44061,7 @@ var init_createpaymentlink = __esm(() => {
|
|
|
43966
44061
|
profileId: nullableType(stringType()).optional(),
|
|
43967
44062
|
reusable: nullableType(booleanType()).optional(),
|
|
43968
44063
|
expiresAt: nullableType(stringType()).optional(),
|
|
43969
|
-
allowedMethods: nullableType(arrayType(
|
|
44064
|
+
allowedMethods: nullableType(arrayType(PaymentLinkMethod$inboundSchema)).optional(),
|
|
43970
44065
|
applicationFee: lazyType(() => ApplicationFee$inboundSchema).optional(),
|
|
43971
44066
|
sequenceType: PaymentLinkSequenceType$inboundSchema.optional(),
|
|
43972
44067
|
customerId: nullableType(stringType()).optional(),
|
|
@@ -43985,7 +44080,7 @@ var init_createpaymentlink = __esm(() => {
|
|
|
43985
44080
|
profileId: nullableType(stringType()).optional(),
|
|
43986
44081
|
reusable: nullableType(booleanType()).optional(),
|
|
43987
44082
|
expiresAt: nullableType(stringType()).optional(),
|
|
43988
|
-
allowedMethods: nullableType(arrayType(
|
|
44083
|
+
allowedMethods: nullableType(arrayType(PaymentLinkMethod$outboundSchema)).optional(),
|
|
43989
44084
|
applicationFee: lazyType(() => ApplicationFee$outboundSchema).optional(),
|
|
43990
44085
|
sequenceType: PaymentLinkSequenceType$outboundSchema.optional(),
|
|
43991
44086
|
customerId: nullableType(stringType()).optional(),
|
|
@@ -48268,7 +48363,7 @@ var init_updatepaymentlink = __esm(() => {
|
|
|
48268
48363
|
description: stringType().optional(),
|
|
48269
48364
|
minimumAmount: Amount$inboundSchema.optional(),
|
|
48270
48365
|
archived: booleanType().optional(),
|
|
48271
|
-
allowedMethods: nullableType(arrayType(
|
|
48366
|
+
allowedMethods: nullableType(arrayType(PaymentLinkMethod$inboundSchema)).optional(),
|
|
48272
48367
|
lines: nullableType(arrayType(PaymentLineItem$inboundSchema)).optional(),
|
|
48273
48368
|
billingAddress: PaymentAddress$inboundSchema.optional(),
|
|
48274
48369
|
shippingAddress: PaymentAddress$inboundSchema.optional(),
|
|
@@ -48278,7 +48373,7 @@ var init_updatepaymentlink = __esm(() => {
|
|
|
48278
48373
|
description: stringType().optional(),
|
|
48279
48374
|
minimumAmount: Amount$outboundSchema.optional(),
|
|
48280
48375
|
archived: booleanType().optional(),
|
|
48281
|
-
allowedMethods: nullableType(arrayType(
|
|
48376
|
+
allowedMethods: nullableType(arrayType(PaymentLinkMethod$outboundSchema)).optional(),
|
|
48282
48377
|
lines: nullableType(arrayType(PaymentLineItem$outboundSchema)).optional(),
|
|
48283
48378
|
billingAddress: PaymentAddress$outboundSchema.optional(),
|
|
48284
48379
|
shippingAddress: PaymentAddress$outboundSchema.optional(),
|
|
@@ -60824,7 +60919,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
|
|
|
60824
60919
|
function createMCPServer(deps) {
|
|
60825
60920
|
const server = new McpServer({
|
|
60826
60921
|
name: "Client",
|
|
60827
|
-
version: "0.
|
|
60922
|
+
version: "0.6.0"
|
|
60828
60923
|
});
|
|
60829
60924
|
const client = new ClientCore({
|
|
60830
60925
|
security: deps.security,
|
|
@@ -62219,7 +62314,7 @@ var routes = an({
|
|
|
62219
62314
|
var app = He(routes, {
|
|
62220
62315
|
name: "mcp",
|
|
62221
62316
|
versionInfo: {
|
|
62222
|
-
currentVersion: "0.
|
|
62317
|
+
currentVersion: "0.6.0"
|
|
62223
62318
|
}
|
|
62224
62319
|
});
|
|
62225
62320
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -62227,5 +62322,5 @@ export {
|
|
|
62227
62322
|
app
|
|
62228
62323
|
};
|
|
62229
62324
|
|
|
62230
|
-
//# debugId=
|
|
62325
|
+
//# debugId=997787D6EDB3D6AA64756E2164756E21
|
|
62231
62326
|
//# sourceMappingURL=mcp-server.js.map
|