mollie-api-typescript 1.0.0 → 1.0.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.
Files changed (70) hide show
  1. package/bin/mcp-server.js +62 -23
  2. package/bin/mcp-server.js.map +12 -12
  3. package/dist/commonjs/lib/config.d.ts +3 -3
  4. package/dist/commonjs/lib/config.js +3 -3
  5. package/dist/commonjs/lib/sdks.js +2 -2
  6. package/dist/commonjs/lib/sdks.js.map +1 -1
  7. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  8. package/dist/commonjs/mcp-server/server.js +1 -1
  9. package/dist/commonjs/models/entitybalancetransaction.d.ts +2 -2
  10. package/dist/commonjs/models/entitybalancetransaction.d.ts.map +1 -1
  11. package/dist/commonjs/models/entitybalancetransaction.js +2 -2
  12. package/dist/commonjs/models/entitybalancetransaction.js.map +1 -1
  13. package/dist/commonjs/models/index.d.ts +1 -1
  14. package/dist/commonjs/models/index.d.ts.map +1 -1
  15. package/dist/commonjs/models/index.js +1 -1
  16. package/dist/commonjs/models/index.js.map +1 -1
  17. package/dist/commonjs/models/{method.d.ts → methodenum.d.ts} +5 -5
  18. package/dist/commonjs/models/methodenum.d.ts.map +1 -0
  19. package/dist/commonjs/models/{method.js → methodenum.js} +6 -6
  20. package/dist/commonjs/models/methodenum.js.map +1 -0
  21. package/dist/commonjs/models/operations/updatepayment.d.ts +1 -1
  22. package/dist/commonjs/models/operations/updatepayment.d.ts.map +1 -1
  23. package/dist/commonjs/models/operations/updatepayment.js +2 -2
  24. package/dist/commonjs/models/operations/updatepayment.js.map +1 -1
  25. package/dist/commonjs/models/paymentrequest.d.ts +53 -14
  26. package/dist/commonjs/models/paymentrequest.d.ts.map +1 -1
  27. package/dist/commonjs/models/paymentrequest.js +56 -4
  28. package/dist/commonjs/models/paymentrequest.js.map +1 -1
  29. package/dist/esm/lib/config.d.ts +3 -3
  30. package/dist/esm/lib/config.js +3 -3
  31. package/dist/esm/lib/sdks.js +2 -2
  32. package/dist/esm/lib/sdks.js.map +1 -1
  33. package/dist/esm/mcp-server/mcp-server.js +1 -1
  34. package/dist/esm/mcp-server/server.js +1 -1
  35. package/dist/esm/models/entitybalancetransaction.d.ts +2 -2
  36. package/dist/esm/models/entitybalancetransaction.d.ts.map +1 -1
  37. package/dist/esm/models/entitybalancetransaction.js +2 -2
  38. package/dist/esm/models/entitybalancetransaction.js.map +1 -1
  39. package/dist/esm/models/index.d.ts +1 -1
  40. package/dist/esm/models/index.d.ts.map +1 -1
  41. package/dist/esm/models/index.js +1 -1
  42. package/dist/esm/models/index.js.map +1 -1
  43. package/dist/esm/models/{method.d.ts → methodenum.d.ts} +5 -5
  44. package/dist/esm/models/methodenum.d.ts.map +1 -0
  45. package/dist/esm/models/{method.js → methodenum.js} +5 -5
  46. package/dist/esm/models/methodenum.js.map +1 -0
  47. package/dist/esm/models/operations/updatepayment.d.ts +1 -1
  48. package/dist/esm/models/operations/updatepayment.d.ts.map +1 -1
  49. package/dist/esm/models/operations/updatepayment.js +2 -2
  50. package/dist/esm/models/operations/updatepayment.js.map +1 -1
  51. package/dist/esm/models/paymentrequest.d.ts +53 -14
  52. package/dist/esm/models/paymentrequest.d.ts.map +1 -1
  53. package/dist/esm/models/paymentrequest.js +53 -3
  54. package/dist/esm/models/paymentrequest.js.map +1 -1
  55. package/examples/package-lock.json +1 -1
  56. package/jsr.json +1 -1
  57. package/package.json +1 -1
  58. package/src/lib/config.ts +3 -3
  59. package/src/lib/sdks.ts +2 -2
  60. package/src/mcp-server/mcp-server.ts +1 -1
  61. package/src/mcp-server/server.ts +1 -1
  62. package/src/models/entitybalancetransaction.ts +4 -4
  63. package/src/models/index.ts +1 -1
  64. package/src/models/{method.ts → methodenum.ts} +6 -6
  65. package/src/models/operations/updatepayment.ts +3 -3
  66. package/src/models/paymentrequest.ts +86 -20
  67. package/dist/commonjs/models/method.d.ts.map +0 -1
  68. package/dist/commonjs/models/method.js.map +0 -1
  69. package/dist/esm/models/method.d.ts.map +0 -1
  70. package/dist/esm/models/method.js.map +0 -1
package/bin/mcp-server.js CHANGED
@@ -52403,9 +52403,9 @@ var init_config = __esm(() => {
52403
52403
  SDK_METADATA = {
52404
52404
  language: "typescript",
52405
52405
  openapiDocVersion: "1.0.0",
52406
- sdkVersion: "1.0.0",
52407
- genVersion: "2.791.1",
52408
- userAgent: "speakeasy-sdk/typescript 1.0.0 2.791.1 1.0.0 mollie-api-typescript"
52406
+ sdkVersion: "1.0.1",
52407
+ genVersion: "2.792.2",
52408
+ userAgent: "speakeasy-sdk/typescript 1.0.1 2.792.2 1.0.0 mollie-api-typescript"
52409
52409
  };
52410
52410
  });
52411
52411
 
@@ -53494,8 +53494,8 @@ var init_sdks = __esm(() => {
53494
53494
  gt = typeof globalThis === "undefined" ? null : globalThis;
53495
53495
  webWorkerLike = typeof gt === "object" && gt != null && "importScripts" in gt && typeof gt["importScripts"] === "function";
53496
53496
  isBrowserLike = webWorkerLike || typeof navigator !== "undefined" && "serviceWorker" in navigator || typeof window === "object" && typeof window.document !== "undefined";
53497
- jsonLikeContentTypeRE = /(application|text)\/.*?\+*json.*/;
53498
- jsonlLikeContentTypeRE = /(application|text)\/(.*?\+*\bjsonl\b.*|.*?\+*\bx-ndjson\b.*)/;
53497
+ jsonLikeContentTypeRE = /(application|text)\/([^+]+\+)*json.*/;
53498
+ jsonlLikeContentTypeRE = /(application|text)\/(([^+]+\+)*jsonl\b.*|([^+]+\+)*x-ndjson\b.*)/;
53499
53499
  });
53500
53500
 
53501
53501
  // src/core.ts
@@ -55947,7 +55947,7 @@ var init_entitybalancetransaction = __esm(() => {
55947
55947
  resultAmount: Amount$inboundSchema,
55948
55948
  initialAmount: Amount$inboundSchema,
55949
55949
  deductions: nullableType(AmountNullable$inboundSchema).optional(),
55950
- context: lazyType(() => Context$inboundSchema).optional(),
55950
+ context: nullableType(lazyType(() => Context$inboundSchema)).optional(),
55951
55951
  createdAt: stringType()
55952
55952
  });
55953
55953
  EntityBalanceTransaction$outboundSchema = objectType({
@@ -55957,7 +55957,7 @@ var init_entitybalancetransaction = __esm(() => {
55957
55957
  resultAmount: Amount$outboundSchema,
55958
55958
  initialAmount: Amount$outboundSchema,
55959
55959
  deductions: nullableType(AmountNullable$outboundSchema).optional(),
55960
- context: lazyType(() => Context$outboundSchema).optional(),
55960
+ context: nullableType(lazyType(() => Context$outboundSchema)).optional(),
55961
55961
  createdAt: stringType()
55962
55962
  });
55963
55963
  });
@@ -60554,11 +60554,11 @@ var init_mandateresponse = __esm(() => {
60554
60554
  });
60555
60555
  });
60556
60556
 
60557
- // src/models/method.ts
60558
- var Method, Method$inboundSchema, Method$outboundSchema;
60559
- var init_method = __esm(() => {
60557
+ // src/models/methodenum.ts
60558
+ var MethodEnum, MethodEnum$inboundSchema, MethodEnum$outboundSchema;
60559
+ var init_methodenum = __esm(() => {
60560
60560
  init_esm();
60561
- Method = {
60561
+ MethodEnum = {
60562
60562
  Alma: "alma",
60563
60563
  Applepay: "applepay",
60564
60564
  Bacs: "bacs",
@@ -60594,8 +60594,8 @@ var init_method = __esm(() => {
60594
60594
  Vipps: "vipps",
60595
60595
  Voucher: "voucher"
60596
60596
  };
60597
- Method$inboundSchema = nativeEnumType(Method);
60598
- Method$outboundSchema = Method$inboundSchema;
60597
+ MethodEnum$inboundSchema = nativeEnumType(MethodEnum);
60598
+ MethodEnum$outboundSchema = MethodEnum$inboundSchema;
60599
60599
  });
60600
60600
 
60601
60601
  // src/models/methodincludewalletsparameter.ts
@@ -60756,7 +60756,7 @@ var init_sequencetype = __esm(() => {
60756
60756
  });
60757
60757
 
60758
60758
  // src/models/paymentrequest.ts
60759
- var PaymentRequestLine$inboundSchema, PaymentRequestLine$outboundSchema, PaymentRequestBillingAddress$inboundSchema, PaymentRequestBillingAddress$outboundSchema, PaymentRequestApplicationFee$inboundSchema, PaymentRequestApplicationFee$outboundSchema, Company$inboundSchema, Company$outboundSchema, PaymentRequest$inboundSchema, PaymentRequest$outboundSchema;
60759
+ var PaymentRequestMethodEnum, PaymentRequestLine$inboundSchema, PaymentRequestLine$outboundSchema, PaymentRequestBillingAddress$inboundSchema, PaymentRequestBillingAddress$outboundSchema, PaymentRequestMethodEnum$inboundSchema, PaymentRequestMethodEnum$outboundSchema, Method$inboundSchema, Method$outboundSchema, PaymentRequestApplicationFee$inboundSchema, PaymentRequestApplicationFee$outboundSchema, Company$inboundSchema, Company$outboundSchema, PaymentRequest$inboundSchema, PaymentRequest$outboundSchema;
60760
60760
  var init_paymentrequest = __esm(() => {
60761
60761
  init_esm();
60762
60762
  init_rfcdate();
@@ -60766,11 +60766,46 @@ var init_paymentrequest = __esm(() => {
60766
60766
  init_linecategories();
60767
60767
  init_locale();
60768
60768
  init_metadata();
60769
- init_method();
60770
60769
  init_paymentaddress();
60771
60770
  init_paymentlinetype();
60772
60771
  init_recurringlineitem();
60773
60772
  init_sequencetype();
60773
+ PaymentRequestMethodEnum = {
60774
+ Alma: "alma",
60775
+ Applepay: "applepay",
60776
+ Bacs: "bacs",
60777
+ Bancomatpay: "bancomatpay",
60778
+ Bancontact: "bancontact",
60779
+ Banktransfer: "banktransfer",
60780
+ Belfius: "belfius",
60781
+ Billie: "billie",
60782
+ Bizum: "bizum",
60783
+ Blik: "blik",
60784
+ Creditcard: "creditcard",
60785
+ Directdebit: "directdebit",
60786
+ Eps: "eps",
60787
+ Giftcard: "giftcard",
60788
+ Ideal: "ideal",
60789
+ In3: "in3",
60790
+ Kbc: "kbc",
60791
+ Klarna: "klarna",
60792
+ Mbway: "mbway",
60793
+ Mobilepay: "mobilepay",
60794
+ Multibanco: "multibanco",
60795
+ Mybank: "mybank",
60796
+ Paybybank: "paybybank",
60797
+ Paypal: "paypal",
60798
+ Paysafecard: "paysafecard",
60799
+ Pointofsale: "pointofsale",
60800
+ Przelewy24: "przelewy24",
60801
+ Riverty: "riverty",
60802
+ Satispay: "satispay",
60803
+ Swish: "swish",
60804
+ Trustly: "trustly",
60805
+ Twint: "twint",
60806
+ Vipps: "vipps",
60807
+ Voucher: "voucher"
60808
+ };
60774
60809
  PaymentRequestLine$inboundSchema = objectType({
60775
60810
  type: PaymentLineType$inboundSchema.optional(),
60776
60811
  description: stringType(),
@@ -60831,6 +60866,10 @@ var init_paymentrequest = __esm(() => {
60831
60866
  region: stringType().optional(),
60832
60867
  country: stringType().optional()
60833
60868
  });
60869
+ PaymentRequestMethodEnum$inboundSchema = nativeEnumType(PaymentRequestMethodEnum);
60870
+ PaymentRequestMethodEnum$outboundSchema = PaymentRequestMethodEnum$inboundSchema;
60871
+ Method$inboundSchema = unionType([PaymentRequestMethodEnum$inboundSchema, arrayType(anyType())]);
60872
+ Method$outboundSchema = unionType([PaymentRequestMethodEnum$outboundSchema, arrayType(anyType())]);
60834
60873
  PaymentRequestApplicationFee$inboundSchema = objectType({
60835
60874
  amount: Amount$inboundSchema.optional(),
60836
60875
  description: stringType().optional()
@@ -60859,7 +60898,7 @@ var init_paymentrequest = __esm(() => {
60859
60898
  billingAddress: lazyType(() => PaymentRequestBillingAddress$inboundSchema).optional(),
60860
60899
  shippingAddress: PaymentAddress$inboundSchema.optional(),
60861
60900
  locale: nullableType(Locale$inboundSchema).optional(),
60862
- method: nullableType(Method$inboundSchema).optional(),
60901
+ method: nullableType(unionType([PaymentRequestMethodEnum$inboundSchema, arrayType(anyType())])).optional(),
60863
60902
  issuer: nullableType(stringType()).optional(),
60864
60903
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
60865
60904
  metadata: nullableType(Metadata$inboundSchema).optional(),
@@ -60895,7 +60934,7 @@ var init_paymentrequest = __esm(() => {
60895
60934
  billingAddress: lazyType(() => PaymentRequestBillingAddress$outboundSchema).optional(),
60896
60935
  shippingAddress: PaymentAddress$outboundSchema.optional(),
60897
60936
  locale: nullableType(Locale$outboundSchema).optional(),
60898
- method: nullableType(Method$outboundSchema).optional(),
60937
+ method: nullableType(unionType([PaymentRequestMethodEnum$outboundSchema, arrayType(anyType())])).optional(),
60899
60938
  issuer: nullableType(stringType()).optional(),
60900
60939
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
60901
60940
  metadata: nullableType(Metadata$outboundSchema).optional(),
@@ -62201,7 +62240,7 @@ var init_models = __esm(() => {
62201
62240
  init_mandaterequest();
62202
62241
  init_mandateresponse();
62203
62242
  init_metadata();
62204
- init_method();
62243
+ init_methodenum();
62205
62244
  init_methodincludewalletsparameter();
62206
62245
  init_methodresourceparameter();
62207
62246
  init_methodresponse();
@@ -66496,7 +66535,7 @@ var init_updatepayment = __esm(() => {
66496
66535
  cancelUrl: nullableType(stringType()).optional(),
66497
66536
  webhookUrl: nullableType(stringType()).optional(),
66498
66537
  metadata: nullableType(Metadata$inboundSchema).optional(),
66499
- method: nullableType(Method$inboundSchema).optional(),
66538
+ method: nullableType(MethodEnum$inboundSchema).optional(),
66500
66539
  locale: nullableType(Locale$inboundSchema).optional(),
66501
66540
  dueDate: stringType().optional(),
66502
66541
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
@@ -66512,7 +66551,7 @@ var init_updatepayment = __esm(() => {
66512
66551
  cancelUrl: nullableType(stringType()).optional(),
66513
66552
  webhookUrl: nullableType(stringType()).optional(),
66514
66553
  metadata: nullableType(Metadata$outboundSchema).optional(),
66515
- method: nullableType(Method$outboundSchema).optional(),
66554
+ method: nullableType(MethodEnum$outboundSchema).optional(),
66516
66555
  locale: nullableType(Locale$outboundSchema).optional(),
66517
66556
  dueDate: stringType().optional(),
66518
66557
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
@@ -79080,7 +79119,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
79080
79119
  function createMCPServer(deps) {
79081
79120
  const server = new McpServer({
79082
79121
  name: "Client",
79083
- version: "1.0.0"
79122
+ version: "1.0.1"
79084
79123
  });
79085
79124
  const client = new ClientCore({
79086
79125
  security: deps.security,
@@ -80508,7 +80547,7 @@ var routes = an({
80508
80547
  var app = He(routes, {
80509
80548
  name: "mcp",
80510
80549
  versionInfo: {
80511
- currentVersion: "1.0.0"
80550
+ currentVersion: "1.0.1"
80512
80551
  }
80513
80552
  });
80514
80553
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -80516,5 +80555,5 @@ export {
80516
80555
  app
80517
80556
  };
80518
80557
 
80519
- //# debugId=1C47114F3540AA2764756E2164756E21
80558
+ //# debugId=0FF39F25170ABB5764756E2164756E21
80520
80559
  //# sourceMappingURL=mcp-server.js.map