mollie-api-typescript 1.3.2 → 1.3.3

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/FUNCTIONS.md CHANGED
@@ -27,7 +27,7 @@ import { balancesList } from "mollie-api-typescript/funcs/balancesList.js";
27
27
  const client = new ClientCore({
28
28
  testmode: false,
29
29
  security: {
30
- oAuth: process.env["CLIENT_O_AUTH"] ?? "",
30
+ organizationAccessToken: process.env["CLIENT_ORGANIZATION_ACCESS_TOKEN"] ?? "",
31
31
  },
32
32
  });
33
33
 
package/README.md CHANGED
@@ -184,7 +184,8 @@ import { Client } from "mollie-api-typescript";
184
184
  const client = new Client({
185
185
  testmode: false,
186
186
  security: {
187
- oAuth: process.env["CLIENT_O_AUTH"] ?? "",
187
+ organizationAccessToken: process.env["CLIENT_ORGANIZATION_ACCESS_TOKEN"]
188
+ ?? "",
188
189
  },
189
190
  });
190
191
 
@@ -666,7 +667,8 @@ const client = new Client({
666
667
  profileId: "<id>",
667
668
  customUserAgent: "<value>",
668
669
  security: {
669
- oAuth: process.env["CLIENT_O_AUTH"] ?? "",
670
+ organizationAccessToken: process.env["CLIENT_ORGANIZATION_ACCESS_TOKEN"]
671
+ ?? "",
670
672
  },
671
673
  });
672
674
 
@@ -706,7 +708,8 @@ import { Client } from "mollie-api-typescript";
706
708
  const client = new Client({
707
709
  testmode: false,
708
710
  security: {
709
- oAuth: process.env["CLIENT_O_AUTH"] ?? "",
711
+ organizationAccessToken: process.env["CLIENT_ORGANIZATION_ACCESS_TOKEN"]
712
+ ?? "",
710
713
  },
711
714
  });
712
715
 
@@ -740,7 +743,8 @@ import { Client } from "mollie-api-typescript";
740
743
  const client = new Client({
741
744
  testmode: false,
742
745
  security: {
743
- oAuth: process.env["CLIENT_O_AUTH"] ?? "",
746
+ organizationAccessToken: process.env["CLIENT_ORGANIZATION_ACCESS_TOKEN"]
747
+ ?? "",
744
748
  },
745
749
  });
746
750
 
@@ -789,7 +793,8 @@ const client = new Client({
789
793
  },
790
794
  testmode: false,
791
795
  security: {
792
- oAuth: process.env["CLIENT_O_AUTH"] ?? "",
796
+ organizationAccessToken: process.env["CLIENT_ORGANIZATION_ACCESS_TOKEN"]
797
+ ?? "",
793
798
  },
794
799
  });
795
800
 
@@ -833,7 +838,8 @@ import * as errors from "mollie-api-typescript/models/errors";
833
838
  const client = new Client({
834
839
  testmode: false,
835
840
  security: {
836
- oAuth: process.env["CLIENT_O_AUTH"] ?? "",
841
+ organizationAccessToken: process.env["CLIENT_ORGANIZATION_ACCESS_TOKEN"]
842
+ ?? "",
837
843
  },
838
844
  });
839
845
 
@@ -911,7 +917,8 @@ const client = new Client({
911
917
  serverURL: "https://api.mollie.com/v2",
912
918
  testmode: false,
913
919
  security: {
914
- oAuth: process.env["CLIENT_O_AUTH"] ?? "",
920
+ organizationAccessToken: process.env["CLIENT_ORGANIZATION_ACCESS_TOKEN"]
921
+ ?? "",
915
922
  },
916
923
  });
917
924
 
package/bin/mcp-server.js CHANGED
@@ -52869,9 +52869,9 @@ var init_config = __esm(() => {
52869
52869
  SDK_METADATA = {
52870
52870
  language: "typescript",
52871
52871
  openapiDocVersion: "1.0.0",
52872
- sdkVersion: "1.3.2",
52872
+ sdkVersion: "1.3.3",
52873
52873
  genVersion: "2.869.25",
52874
- userAgent: "speakeasy-sdk/typescript 1.3.2 2.869.25 1.0.0 mollie-api-typescript"
52874
+ userAgent: "speakeasy-sdk/typescript 1.3.3 2.869.25 1.0.0 mollie-api-typescript"
52875
52875
  };
52876
52876
  });
52877
52877
 
@@ -75859,7 +75859,7 @@ async function $do57(client, request, options) {
75859
75859
  const req = requestRes.value;
75860
75860
  const doResult = await client._do(req, {
75861
75861
  context,
75862
- errorCodes: ["422", "4XX", "5XX"],
75862
+ errorCodes: ["403", "422", "4XX", "5XX"],
75863
75863
  retryConfig: context.retryConfig,
75864
75864
  retryCodes: context.retryCodes
75865
75865
  });
@@ -75872,7 +75872,7 @@ async function $do57(client, request, options) {
75872
75872
  };
75873
75873
  const [result] = await match(json(201, ProfileResponse$inboundSchema, {
75874
75874
  ctype: "application/hal+json"
75875
- }), jsonErr(422, ErrorResponse$inboundSchema, {
75875
+ }), jsonErr([403, 422], ErrorResponse$inboundSchema, {
75876
75876
  ctype: "application/hal+json"
75877
75877
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
75878
75878
  if (!result.ok) {
@@ -76495,7 +76495,7 @@ async function $do62(client, request, options) {
76495
76495
  const req = requestRes.value;
76496
76496
  const doResult = await client._do(req, {
76497
76497
  context,
76498
- errorCodes: ["404", "410", "422", "4XX", "5XX"],
76498
+ errorCodes: ["403", "404", "410", "422", "4XX", "5XX"],
76499
76499
  retryConfig: context.retryConfig,
76500
76500
  retryCodes: context.retryCodes
76501
76501
  });
@@ -76508,7 +76508,7 @@ async function $do62(client, request, options) {
76508
76508
  };
76509
76509
  const [result] = await match(json(200, ProfileResponse$inboundSchema, {
76510
76510
  ctype: "application/hal+json"
76511
- }), jsonErr([404, 410, 422], ErrorResponse$inboundSchema, {
76511
+ }), jsonErr([403, 404, 410, 422], ErrorResponse$inboundSchema, {
76512
76512
  ctype: "application/hal+json"
76513
76513
  }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
76514
76514
  if (!result.ok) {
@@ -81637,7 +81637,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
81637
81637
  function createMCPServer(deps) {
81638
81638
  const server = new McpServer({
81639
81639
  name: "Client",
81640
- version: "1.3.2"
81640
+ version: "1.3.3"
81641
81641
  });
81642
81642
  const client = new ClientCore({
81643
81643
  security: deps.security,
@@ -83087,7 +83087,7 @@ var routes = an({
83087
83087
  var app = He(routes, {
83088
83088
  name: "mcp",
83089
83089
  versionInfo: {
83090
- currentVersion: "1.3.2"
83090
+ currentVersion: "1.3.3"
83091
83091
  }
83092
83092
  });
83093
83093
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -83095,5 +83095,5 @@ export {
83095
83095
  app
83096
83096
  };
83097
83097
 
83098
- //# debugId=D34EE055564CE0E964756E2164756E21
83098
+ //# debugId=5562B29ABEC2393B64756E2164756E21
83099
83099
  //# sourceMappingURL=mcp-server.js.map