mollie-api-typescript 0.2.5 → 0.2.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/README.md +1 -1
- package/bin/mcp-server.js +58 -56
- package/bin/mcp-server.js.map +8 -8
- 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/entitysettlement.d.ts +43 -45
- package/dist/commonjs/models/entitysettlement.d.ts.map +1 -1
- package/dist/commonjs/models/entitysettlement.js +43 -42
- package/dist/commonjs/models/entitysettlement.js.map +1 -1
- package/dist/commonjs/models/errors/index.d.ts +1 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +1 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlements.d.ts +8 -8
- package/dist/commonjs/models/operations/listsettlements.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlements.js +8 -8
- package/dist/commonjs/models/operations/listsettlements.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/entitysettlement.d.ts +43 -45
- package/dist/esm/models/entitysettlement.d.ts.map +1 -1
- package/dist/esm/models/entitysettlement.js +43 -42
- package/dist/esm/models/entitysettlement.js.map +1 -1
- package/dist/esm/models/errors/index.d.ts +1 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +1 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/operations/listsettlements.d.ts +8 -8
- package/dist/esm/models/operations/listsettlements.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlements.js +8 -8
- package/dist/esm/models/operations/listsettlements.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/entitysettlement.ts +90 -87
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/listsettlements.ts +16 -16
package/README.md
CHANGED
|
@@ -812,7 +812,7 @@ httpClient.addHook("requestError", (error, request) => {
|
|
|
812
812
|
console.groupEnd();
|
|
813
813
|
});
|
|
814
814
|
|
|
815
|
-
const sdk = new Client({ httpClient });
|
|
815
|
+
const sdk = new Client({ httpClient: httpClient });
|
|
816
816
|
```
|
|
817
817
|
<!-- End Custom HTTP Client [http-client] -->
|
|
818
818
|
|
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.2.
|
|
34299
|
-
genVersion: "2.
|
|
34300
|
-
userAgent: "speakeasy-sdk/typescript 0.2.
|
|
34298
|
+
sdkVersion: "0.2.7",
|
|
34299
|
+
genVersion: "2.709.0",
|
|
34300
|
+
userAgent: "speakeasy-sdk/typescript 0.2.7 2.709.0 1.0.0 mollie-api-typescript"
|
|
34301
34301
|
};
|
|
34302
34302
|
});
|
|
34303
34303
|
|
|
@@ -40338,59 +40338,60 @@ var init_entitysettlement = __esm(() => {
|
|
|
40338
40338
|
init_esm();
|
|
40339
40339
|
init_primitives();
|
|
40340
40340
|
init_amount();
|
|
40341
|
+
init_amountnullable();
|
|
40341
40342
|
init_paymentmethod();
|
|
40342
40343
|
init_settlementstatus();
|
|
40343
40344
|
init_url2();
|
|
40344
40345
|
init_urlnullable();
|
|
40345
40346
|
Rate$inboundSchema = objectType({
|
|
40346
40347
|
fixed: Amount$inboundSchema.optional(),
|
|
40347
|
-
percentage:
|
|
40348
|
+
percentage: stringType().optional()
|
|
40348
40349
|
});
|
|
40349
40350
|
Rate$outboundSchema = objectType({
|
|
40350
40351
|
fixed: Amount$outboundSchema.optional(),
|
|
40351
|
-
percentage:
|
|
40352
|
+
percentage: stringType().optional()
|
|
40352
40353
|
});
|
|
40353
40354
|
((Rate$) => {
|
|
40354
40355
|
Rate$.inboundSchema = Rate$inboundSchema;
|
|
40355
40356
|
Rate$.outboundSchema = Rate$outboundSchema;
|
|
40356
40357
|
})(Rate$ ||= {});
|
|
40357
40358
|
Cost$inboundSchema = objectType({
|
|
40358
|
-
description: stringType()
|
|
40359
|
-
method: nullableType(PaymentMethod$inboundSchema)
|
|
40360
|
-
count: numberType().int()
|
|
40361
|
-
rate: lazyType(() => Rate$inboundSchema)
|
|
40362
|
-
amountNet: Amount$inboundSchema
|
|
40363
|
-
amountVat:
|
|
40364
|
-
amountGross: Amount$inboundSchema
|
|
40359
|
+
description: stringType(),
|
|
40360
|
+
method: nullableType(PaymentMethod$inboundSchema),
|
|
40361
|
+
count: numberType().int(),
|
|
40362
|
+
rate: lazyType(() => Rate$inboundSchema),
|
|
40363
|
+
amountNet: Amount$inboundSchema,
|
|
40364
|
+
amountVat: nullableType(AmountNullable$inboundSchema),
|
|
40365
|
+
amountGross: Amount$inboundSchema
|
|
40365
40366
|
});
|
|
40366
40367
|
Cost$outboundSchema = objectType({
|
|
40367
|
-
description: stringType()
|
|
40368
|
-
method: nullableType(PaymentMethod$outboundSchema)
|
|
40369
|
-
count: numberType().int()
|
|
40370
|
-
rate: lazyType(() => Rate$outboundSchema)
|
|
40371
|
-
amountNet: Amount$outboundSchema
|
|
40372
|
-
amountVat:
|
|
40373
|
-
amountGross: Amount$outboundSchema
|
|
40368
|
+
description: stringType(),
|
|
40369
|
+
method: nullableType(PaymentMethod$outboundSchema),
|
|
40370
|
+
count: numberType().int(),
|
|
40371
|
+
rate: lazyType(() => Rate$outboundSchema),
|
|
40372
|
+
amountNet: Amount$outboundSchema,
|
|
40373
|
+
amountVat: nullableType(AmountNullable$outboundSchema),
|
|
40374
|
+
amountGross: Amount$outboundSchema
|
|
40374
40375
|
});
|
|
40375
40376
|
((Cost$) => {
|
|
40376
40377
|
Cost$.inboundSchema = Cost$inboundSchema;
|
|
40377
40378
|
Cost$.outboundSchema = Cost$outboundSchema;
|
|
40378
40379
|
})(Cost$ ||= {});
|
|
40379
40380
|
Revenue$inboundSchema = objectType({
|
|
40380
|
-
description: stringType()
|
|
40381
|
-
method: nullableType(PaymentMethod$inboundSchema)
|
|
40382
|
-
count: numberType().int()
|
|
40383
|
-
amountNet: Amount$inboundSchema
|
|
40384
|
-
amountVat:
|
|
40385
|
-
amountGross: Amount$inboundSchema
|
|
40381
|
+
description: stringType(),
|
|
40382
|
+
method: nullableType(PaymentMethod$inboundSchema),
|
|
40383
|
+
count: numberType().int(),
|
|
40384
|
+
amountNet: Amount$inboundSchema,
|
|
40385
|
+
amountVat: nullableType(AmountNullable$inboundSchema),
|
|
40386
|
+
amountGross: Amount$inboundSchema
|
|
40386
40387
|
});
|
|
40387
40388
|
Revenue$outboundSchema = objectType({
|
|
40388
|
-
description: stringType()
|
|
40389
|
-
method: nullableType(PaymentMethod$outboundSchema)
|
|
40390
|
-
count: numberType().int()
|
|
40391
|
-
amountNet: Amount$outboundSchema
|
|
40392
|
-
amountVat:
|
|
40393
|
-
amountGross: Amount$outboundSchema
|
|
40389
|
+
description: stringType(),
|
|
40390
|
+
method: nullableType(PaymentMethod$outboundSchema),
|
|
40391
|
+
count: numberType().int(),
|
|
40392
|
+
amountNet: Amount$outboundSchema,
|
|
40393
|
+
amountVat: nullableType(AmountNullable$outboundSchema),
|
|
40394
|
+
amountGross: Amount$outboundSchema
|
|
40394
40395
|
});
|
|
40395
40396
|
((Revenue$) => {
|
|
40396
40397
|
Revenue$.inboundSchema = Revenue$inboundSchema;
|
|
@@ -40413,7 +40414,7 @@ var init_entitysettlement = __esm(() => {
|
|
|
40413
40414
|
Periods$.outboundSchema = Periods$outboundSchema;
|
|
40414
40415
|
})(Periods$ ||= {});
|
|
40415
40416
|
EntitySettlementLinks$inboundSchema = objectType({
|
|
40416
|
-
self: Url$inboundSchema
|
|
40417
|
+
self: Url$inboundSchema,
|
|
40417
40418
|
payments: Url$inboundSchema.optional(),
|
|
40418
40419
|
captures: Url$inboundSchema.optional(),
|
|
40419
40420
|
refunds: Url$inboundSchema.optional(),
|
|
@@ -40422,7 +40423,7 @@ var init_entitysettlement = __esm(() => {
|
|
|
40422
40423
|
documentation: Url$inboundSchema.optional()
|
|
40423
40424
|
});
|
|
40424
40425
|
EntitySettlementLinks$outboundSchema = objectType({
|
|
40425
|
-
self: Url$outboundSchema
|
|
40426
|
+
self: Url$outboundSchema,
|
|
40426
40427
|
payments: Url$outboundSchema.optional(),
|
|
40427
40428
|
captures: Url$outboundSchema.optional(),
|
|
40428
40429
|
refunds: Url$outboundSchema.optional(),
|
|
@@ -40435,34 +40436,34 @@ var init_entitysettlement = __esm(() => {
|
|
|
40435
40436
|
EntitySettlementLinks$.outboundSchema = EntitySettlementLinks$outboundSchema;
|
|
40436
40437
|
})(EntitySettlementLinks$ ||= {});
|
|
40437
40438
|
EntitySettlement$inboundSchema = objectType({
|
|
40438
|
-
resource: stringType()
|
|
40439
|
-
id: stringType()
|
|
40439
|
+
resource: stringType(),
|
|
40440
|
+
id: stringType(),
|
|
40440
40441
|
createdAt: stringType().optional(),
|
|
40441
40442
|
reference: nullableType(stringType()).optional(),
|
|
40442
40443
|
settledAt: nullableType(stringType()).optional(),
|
|
40443
|
-
status: SettlementStatus$inboundSchema
|
|
40444
|
-
amount: Amount$inboundSchema
|
|
40445
|
-
balanceId: stringType()
|
|
40444
|
+
status: SettlementStatus$inboundSchema,
|
|
40445
|
+
amount: Amount$inboundSchema,
|
|
40446
|
+
balanceId: stringType(),
|
|
40446
40447
|
invoiceId: stringType().optional(),
|
|
40447
40448
|
periods: recordType(recordType(lazyType(() => Periods$inboundSchema))).optional(),
|
|
40448
|
-
_links: lazyType(() => EntitySettlementLinks$inboundSchema)
|
|
40449
|
+
_links: lazyType(() => EntitySettlementLinks$inboundSchema)
|
|
40449
40450
|
}).transform((v2) => {
|
|
40450
40451
|
return remap(v2, {
|
|
40451
40452
|
_links: "links"
|
|
40452
40453
|
});
|
|
40453
40454
|
});
|
|
40454
40455
|
EntitySettlement$outboundSchema = objectType({
|
|
40455
|
-
resource: stringType()
|
|
40456
|
-
id: stringType()
|
|
40456
|
+
resource: stringType(),
|
|
40457
|
+
id: stringType(),
|
|
40457
40458
|
createdAt: stringType().optional(),
|
|
40458
40459
|
reference: nullableType(stringType()).optional(),
|
|
40459
40460
|
settledAt: nullableType(stringType()).optional(),
|
|
40460
|
-
status: SettlementStatus$outboundSchema
|
|
40461
|
-
amount: Amount$outboundSchema
|
|
40462
|
-
balanceId: stringType()
|
|
40461
|
+
status: SettlementStatus$outboundSchema,
|
|
40462
|
+
amount: Amount$outboundSchema,
|
|
40463
|
+
balanceId: stringType(),
|
|
40463
40464
|
invoiceId: stringType().optional(),
|
|
40464
40465
|
periods: recordType(recordType(lazyType(() => Periods$outboundSchema))).optional(),
|
|
40465
|
-
links: lazyType(() => EntitySettlementLinks$outboundSchema)
|
|
40466
|
+
links: lazyType(() => EntitySettlementLinks$outboundSchema)
|
|
40466
40467
|
}).transform((v2) => {
|
|
40467
40468
|
return remap(v2, {
|
|
40468
40469
|
links: "_links"
|
|
@@ -43213,6 +43214,7 @@ var init_errorresponse2 = __esm(() => {
|
|
|
43213
43214
|
// src/models/errors/index.ts
|
|
43214
43215
|
var init_errors2 = __esm(() => {
|
|
43215
43216
|
init_clientdefaulterror();
|
|
43217
|
+
init_clienterror();
|
|
43216
43218
|
init_errorresponse2();
|
|
43217
43219
|
init_httpclienterrors();
|
|
43218
43220
|
init_responsevalidationerror();
|
|
@@ -47005,19 +47007,19 @@ var init_listsettlements = __esm(() => {
|
|
|
47005
47007
|
ListSettlementsRequest$.outboundSchema = ListSettlementsRequest$outboundSchema;
|
|
47006
47008
|
})(ListSettlementsRequest$ ||= {});
|
|
47007
47009
|
ListSettlementsEmbedded$inboundSchema = objectType({
|
|
47008
|
-
settlements: arrayType(EntitySettlement$inboundSchema)
|
|
47010
|
+
settlements: arrayType(EntitySettlement$inboundSchema)
|
|
47009
47011
|
});
|
|
47010
47012
|
ListSettlementsEmbedded$outboundSchema = objectType({
|
|
47011
|
-
settlements: arrayType(EntitySettlement$outboundSchema)
|
|
47013
|
+
settlements: arrayType(EntitySettlement$outboundSchema)
|
|
47012
47014
|
});
|
|
47013
47015
|
((ListSettlementsEmbedded$) => {
|
|
47014
47016
|
ListSettlementsEmbedded$.inboundSchema = ListSettlementsEmbedded$inboundSchema;
|
|
47015
47017
|
ListSettlementsEmbedded$.outboundSchema = ListSettlementsEmbedded$outboundSchema;
|
|
47016
47018
|
})(ListSettlementsEmbedded$ ||= {});
|
|
47017
47019
|
ListSettlementsResponse$inboundSchema = objectType({
|
|
47018
|
-
count: numberType().int()
|
|
47019
|
-
_embedded: lazyType(() => ListSettlementsEmbedded$inboundSchema)
|
|
47020
|
-
_links: ListLinks$inboundSchema
|
|
47020
|
+
count: numberType().int(),
|
|
47021
|
+
_embedded: lazyType(() => ListSettlementsEmbedded$inboundSchema),
|
|
47022
|
+
_links: ListLinks$inboundSchema
|
|
47021
47023
|
}).transform((v2) => {
|
|
47022
47024
|
return remap(v2, {
|
|
47023
47025
|
_embedded: "embedded",
|
|
@@ -47025,9 +47027,9 @@ var init_listsettlements = __esm(() => {
|
|
|
47025
47027
|
});
|
|
47026
47028
|
});
|
|
47027
47029
|
ListSettlementsResponse$outboundSchema = objectType({
|
|
47028
|
-
count: numberType().int()
|
|
47029
|
-
embedded: lazyType(() => ListSettlementsEmbedded$outboundSchema)
|
|
47030
|
-
links: ListLinks$outboundSchema
|
|
47030
|
+
count: numberType().int(),
|
|
47031
|
+
embedded: lazyType(() => ListSettlementsEmbedded$outboundSchema),
|
|
47032
|
+
links: ListLinks$outboundSchema
|
|
47031
47033
|
}).transform((v2) => {
|
|
47032
47034
|
return remap(v2, {
|
|
47033
47035
|
embedded: "_embedded",
|
|
@@ -59998,7 +60000,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
|
|
|
59998
60000
|
function createMCPServer(deps) {
|
|
59999
60001
|
const server = new McpServer({
|
|
60000
60002
|
name: "Client",
|
|
60001
|
-
version: "0.2.
|
|
60003
|
+
version: "0.2.7"
|
|
60002
60004
|
});
|
|
60003
60005
|
const client = new ClientCore({
|
|
60004
60006
|
security: deps.security,
|
|
@@ -61387,7 +61389,7 @@ var routes = an({
|
|
|
61387
61389
|
var app = He(routes, {
|
|
61388
61390
|
name: "mcp",
|
|
61389
61391
|
versionInfo: {
|
|
61390
|
-
currentVersion: "0.2.
|
|
61392
|
+
currentVersion: "0.2.7"
|
|
61391
61393
|
}
|
|
61392
61394
|
});
|
|
61393
61395
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -61395,5 +61397,5 @@ export {
|
|
|
61395
61397
|
app
|
|
61396
61398
|
};
|
|
61397
61399
|
|
|
61398
|
-
//# debugId=
|
|
61400
|
+
//# debugId=E3EBEECC43C33C1764756E2164756E21
|
|
61399
61401
|
//# sourceMappingURL=mcp-server.js.map
|