mollie-api-typescript 0.2.4 → 0.2.5

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 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.4",
34299
- genVersion: "2.701.8",
34300
- userAgent: "speakeasy-sdk/typescript 0.2.4 2.701.8 1.0.0 mollie-api-typescript"
34298
+ sdkVersion: "0.2.5",
34299
+ genVersion: "2.707.0",
34300
+ userAgent: "speakeasy-sdk/typescript 0.2.5 2.707.0 1.0.0 mollie-api-typescript"
34301
34301
  };
34302
34302
  });
34303
34303
 
@@ -40333,14 +40333,85 @@ var init_settlementstatus = __esm(() => {
40333
40333
  });
40334
40334
 
40335
40335
  // src/models/entitysettlement.ts
40336
- var EntitySettlementLinks$inboundSchema, EntitySettlementLinks$outboundSchema, EntitySettlementLinks$, EntitySettlement$inboundSchema, EntitySettlement$outboundSchema, EntitySettlement$;
40336
+ var Rate$inboundSchema, Rate$outboundSchema, Rate$, Cost$inboundSchema, Cost$outboundSchema, Cost$, Revenue$inboundSchema, Revenue$outboundSchema, Revenue$, Periods$inboundSchema, Periods$outboundSchema, Periods$, EntitySettlementLinks$inboundSchema, EntitySettlementLinks$outboundSchema, EntitySettlementLinks$, EntitySettlement$inboundSchema, EntitySettlement$outboundSchema, EntitySettlement$;
40337
40337
  var init_entitysettlement = __esm(() => {
40338
40338
  init_esm();
40339
40339
  init_primitives();
40340
40340
  init_amount();
40341
+ init_paymentmethod();
40341
40342
  init_settlementstatus();
40342
40343
  init_url2();
40343
40344
  init_urlnullable();
40345
+ Rate$inboundSchema = objectType({
40346
+ fixed: Amount$inboundSchema.optional(),
40347
+ percentage: Amount$inboundSchema.optional()
40348
+ });
40349
+ Rate$outboundSchema = objectType({
40350
+ fixed: Amount$outboundSchema.optional(),
40351
+ percentage: Amount$outboundSchema.optional()
40352
+ });
40353
+ ((Rate$) => {
40354
+ Rate$.inboundSchema = Rate$inboundSchema;
40355
+ Rate$.outboundSchema = Rate$outboundSchema;
40356
+ })(Rate$ ||= {});
40357
+ Cost$inboundSchema = objectType({
40358
+ description: stringType().optional(),
40359
+ method: nullableType(PaymentMethod$inboundSchema).optional(),
40360
+ count: numberType().int().optional(),
40361
+ rate: lazyType(() => Rate$inboundSchema).optional(),
40362
+ amountNet: Amount$inboundSchema.optional(),
40363
+ amountVat: Amount$inboundSchema.optional(),
40364
+ amountGross: Amount$inboundSchema.optional()
40365
+ });
40366
+ Cost$outboundSchema = objectType({
40367
+ description: stringType().optional(),
40368
+ method: nullableType(PaymentMethod$outboundSchema).optional(),
40369
+ count: numberType().int().optional(),
40370
+ rate: lazyType(() => Rate$outboundSchema).optional(),
40371
+ amountNet: Amount$outboundSchema.optional(),
40372
+ amountVat: Amount$outboundSchema.optional(),
40373
+ amountGross: Amount$outboundSchema.optional()
40374
+ });
40375
+ ((Cost$) => {
40376
+ Cost$.inboundSchema = Cost$inboundSchema;
40377
+ Cost$.outboundSchema = Cost$outboundSchema;
40378
+ })(Cost$ ||= {});
40379
+ Revenue$inboundSchema = objectType({
40380
+ description: stringType().optional(),
40381
+ method: nullableType(PaymentMethod$inboundSchema).optional(),
40382
+ count: numberType().int().optional(),
40383
+ amountNet: Amount$inboundSchema.optional(),
40384
+ amountVat: Amount$inboundSchema.optional(),
40385
+ amountGross: Amount$inboundSchema.optional()
40386
+ });
40387
+ Revenue$outboundSchema = objectType({
40388
+ description: stringType().optional(),
40389
+ method: nullableType(PaymentMethod$outboundSchema).optional(),
40390
+ count: numberType().int().optional(),
40391
+ amountNet: Amount$outboundSchema.optional(),
40392
+ amountVat: Amount$outboundSchema.optional(),
40393
+ amountGross: Amount$outboundSchema.optional()
40394
+ });
40395
+ ((Revenue$) => {
40396
+ Revenue$.inboundSchema = Revenue$inboundSchema;
40397
+ Revenue$.outboundSchema = Revenue$outboundSchema;
40398
+ })(Revenue$ ||= {});
40399
+ Periods$inboundSchema = objectType({
40400
+ costs: arrayType(lazyType(() => Cost$inboundSchema)).optional(),
40401
+ revenue: arrayType(lazyType(() => Revenue$inboundSchema)).optional(),
40402
+ invoiceId: stringType().optional(),
40403
+ invoiceReference: nullableType(stringType()).optional()
40404
+ });
40405
+ Periods$outboundSchema = objectType({
40406
+ costs: arrayType(lazyType(() => Cost$outboundSchema)).optional(),
40407
+ revenue: arrayType(lazyType(() => Revenue$outboundSchema)).optional(),
40408
+ invoiceId: stringType().optional(),
40409
+ invoiceReference: nullableType(stringType()).optional()
40410
+ });
40411
+ ((Periods$) => {
40412
+ Periods$.inboundSchema = Periods$inboundSchema;
40413
+ Periods$.outboundSchema = Periods$outboundSchema;
40414
+ })(Periods$ ||= {});
40344
40415
  EntitySettlementLinks$inboundSchema = objectType({
40345
40416
  self: Url$inboundSchema.optional(),
40346
40417
  payments: Url$inboundSchema.optional(),
@@ -40373,7 +40444,7 @@ var init_entitysettlement = __esm(() => {
40373
40444
  amount: Amount$inboundSchema.optional(),
40374
40445
  balanceId: stringType().optional(),
40375
40446
  invoiceId: stringType().optional(),
40376
- periods: recordType(anyType()).optional(),
40447
+ periods: recordType(recordType(lazyType(() => Periods$inboundSchema))).optional(),
40377
40448
  _links: lazyType(() => EntitySettlementLinks$inboundSchema).optional()
40378
40449
  }).transform((v2) => {
40379
40450
  return remap(v2, {
@@ -40390,7 +40461,7 @@ var init_entitysettlement = __esm(() => {
40390
40461
  amount: Amount$outboundSchema.optional(),
40391
40462
  balanceId: stringType().optional(),
40392
40463
  invoiceId: stringType().optional(),
40393
- periods: recordType(anyType()).optional(),
40464
+ periods: recordType(recordType(lazyType(() => Periods$outboundSchema))).optional(),
40394
40465
  links: lazyType(() => EntitySettlementLinks$outboundSchema).optional()
40395
40466
  }).transform((v2) => {
40396
40467
  return remap(v2, {
@@ -59927,7 +59998,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
59927
59998
  function createMCPServer(deps) {
59928
59999
  const server = new McpServer({
59929
60000
  name: "Client",
59930
- version: "0.2.4"
60001
+ version: "0.2.5"
59931
60002
  });
59932
60003
  const client = new ClientCore({
59933
60004
  security: deps.security,
@@ -61316,7 +61387,7 @@ var routes = an({
61316
61387
  var app = He(routes, {
61317
61388
  name: "mcp",
61318
61389
  versionInfo: {
61319
- currentVersion: "0.2.4"
61390
+ currentVersion: "0.2.5"
61320
61391
  }
61321
61392
  });
61322
61393
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -61324,5 +61395,5 @@ export {
61324
61395
  app
61325
61396
  };
61326
61397
 
61327
- //# debugId=83970E2159DEC60F64756E2164756E21
61398
+ //# debugId=DF8104934B3F441664756E2164756E21
61328
61399
  //# sourceMappingURL=mcp-server.js.map