mollie-api-typescript 0.9.7 → 0.9.8

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 (43) hide show
  1. package/bin/mcp-server.js +11 -11
  2. package/bin/mcp-server.js.map +8 -8
  3. package/dist/commonjs/lib/config.d.ts +2 -2
  4. package/dist/commonjs/lib/config.js +2 -2
  5. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  6. package/dist/commonjs/mcp-server/server.js +1 -1
  7. package/dist/commonjs/models/listsubscriptionresponse.d.ts +2 -2
  8. package/dist/commonjs/models/listsubscriptionresponse.d.ts.map +1 -1
  9. package/dist/commonjs/models/listsubscriptionresponse.js +2 -2
  10. package/dist/commonjs/models/listsubscriptionresponse.js.map +1 -1
  11. package/dist/commonjs/models/subscriptionrequest.d.ts +2 -2
  12. package/dist/commonjs/models/subscriptionrequest.d.ts.map +1 -1
  13. package/dist/commonjs/models/subscriptionrequest.js +2 -2
  14. package/dist/commonjs/models/subscriptionrequest.js.map +1 -1
  15. package/dist/commonjs/models/subscriptionresponse.d.ts +2 -2
  16. package/dist/commonjs/models/subscriptionresponse.d.ts.map +1 -1
  17. package/dist/commonjs/models/subscriptionresponse.js +2 -2
  18. package/dist/commonjs/models/subscriptionresponse.js.map +1 -1
  19. package/dist/esm/lib/config.d.ts +2 -2
  20. package/dist/esm/lib/config.js +2 -2
  21. package/dist/esm/mcp-server/mcp-server.js +1 -1
  22. package/dist/esm/mcp-server/server.js +1 -1
  23. package/dist/esm/models/listsubscriptionresponse.d.ts +2 -2
  24. package/dist/esm/models/listsubscriptionresponse.d.ts.map +1 -1
  25. package/dist/esm/models/listsubscriptionresponse.js +2 -2
  26. package/dist/esm/models/listsubscriptionresponse.js.map +1 -1
  27. package/dist/esm/models/subscriptionrequest.d.ts +2 -2
  28. package/dist/esm/models/subscriptionrequest.d.ts.map +1 -1
  29. package/dist/esm/models/subscriptionrequest.js +2 -2
  30. package/dist/esm/models/subscriptionrequest.js.map +1 -1
  31. package/dist/esm/models/subscriptionresponse.d.ts +2 -2
  32. package/dist/esm/models/subscriptionresponse.d.ts.map +1 -1
  33. package/dist/esm/models/subscriptionresponse.js +2 -2
  34. package/dist/esm/models/subscriptionresponse.js.map +1 -1
  35. package/examples/package-lock.json +1 -1
  36. package/jsr.json +1 -1
  37. package/package.json +1 -1
  38. package/src/lib/config.ts +2 -2
  39. package/src/mcp-server/mcp-server.ts +1 -1
  40. package/src/mcp-server/server.ts +1 -1
  41. package/src/models/listsubscriptionresponse.ts +4 -4
  42. package/src/models/subscriptionrequest.ts +4 -4
  43. package/src/models/subscriptionresponse.ts +4 -4
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "mollie-api-typescript",
5
- "version": "0.9.7",
5
+ "version": "0.9.8",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mollie-api-typescript",
3
- "version": "0.9.7",
3
+ "version": "0.9.8",
4
4
  "author": "Speakeasy",
5
5
  "type": "module",
6
6
  "bin": {
package/src/lib/config.ts CHANGED
@@ -77,8 +77,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
77
77
  export const SDK_METADATA = {
78
78
  language: "typescript",
79
79
  openapiDocVersion: "1.0.0",
80
- sdkVersion: "0.9.7",
80
+ sdkVersion: "0.9.8",
81
81
  genVersion: "2.788.7",
82
82
  userAgent:
83
- "speakeasy-sdk/typescript 0.9.7 2.788.7 1.0.0 mollie-api-typescript",
83
+ "speakeasy-sdk/typescript 0.9.8 2.788.7 1.0.0 mollie-api-typescript",
84
84
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.9.7",
22
+ currentVersion: "0.9.8",
23
23
  },
24
24
  });
25
25
 
@@ -123,7 +123,7 @@ export function createMCPServer(deps: {
123
123
  }) {
124
124
  const server = new McpServer({
125
125
  name: "Client",
126
- version: "0.9.7",
126
+ version: "0.9.8",
127
127
  });
128
128
 
129
129
  const client = new ClientCore({
@@ -203,7 +203,7 @@ export type ListSubscriptionResponse = {
203
203
  * This webhook will receive **all** events for the subscription's payments. This may include payment failures as
204
204
  * well. Be sure to verify the payment's subscription ID and its status.
205
205
  */
206
- webhookUrl: string;
206
+ webhookUrl: string | null;
207
207
  /**
208
208
  * The customer this subscription belongs to.
209
209
  */
@@ -360,7 +360,7 @@ export const ListSubscriptionResponse$inboundSchema: z.ZodType<
360
360
  ListSubscriptionResponseApplicationFee$inboundSchema
361
361
  ).optional(),
362
362
  metadata: z.nullable(Metadata$inboundSchema),
363
- webhookUrl: z.string(),
363
+ webhookUrl: z.nullable(z.string()),
364
364
  customerId: z.string(),
365
365
  mandateId: z.string().optional(),
366
366
  createdAt: z.string(),
@@ -387,7 +387,7 @@ export type ListSubscriptionResponse$Outbound = {
387
387
  method: string | null;
388
388
  applicationFee?: ListSubscriptionResponseApplicationFee$Outbound | undefined;
389
389
  metadata: Metadata$Outbound | null;
390
- webhookUrl: string;
390
+ webhookUrl: string | null;
391
391
  customerId: string;
392
392
  mandateId?: string | undefined;
393
393
  createdAt: string;
@@ -417,7 +417,7 @@ export const ListSubscriptionResponse$outboundSchema: z.ZodType<
417
417
  ListSubscriptionResponseApplicationFee$outboundSchema
418
418
  ).optional(),
419
419
  metadata: z.nullable(Metadata$outboundSchema),
420
- webhookUrl: z.string(),
420
+ webhookUrl: z.nullable(z.string()),
421
421
  customerId: z.string(),
422
422
  mandateId: z.string().optional(),
423
423
  createdAt: z.string(),
@@ -111,7 +111,7 @@ export type SubscriptionRequest = {
111
111
  * This webhook will receive **all** events for the subscription's payments. This may include payment failures as
112
112
  * well. Be sure to verify the payment's subscription ID and its status.
113
113
  */
114
- webhookUrl?: string | undefined;
114
+ webhookUrl?: string | null | undefined;
115
115
  mandateId?: string | undefined;
116
116
  profileId?: string | undefined;
117
117
  /**
@@ -185,7 +185,7 @@ export const SubscriptionRequest$inboundSchema: z.ZodType<
185
185
  applicationFee: z.lazy(() => SubscriptionRequestApplicationFee$inboundSchema)
186
186
  .optional(),
187
187
  metadata: z.nullable(Metadata$inboundSchema).optional(),
188
- webhookUrl: z.string().optional(),
188
+ webhookUrl: z.nullable(z.string()).optional(),
189
189
  mandateId: z.string().optional(),
190
190
  profileId: z.string().optional(),
191
191
  testmode: z.nullable(z.boolean()).optional(),
@@ -200,7 +200,7 @@ export type SubscriptionRequest$Outbound = {
200
200
  method?: string | null | undefined;
201
201
  applicationFee?: SubscriptionRequestApplicationFee$Outbound | undefined;
202
202
  metadata?: Metadata$Outbound | null | undefined;
203
- webhookUrl?: string | undefined;
203
+ webhookUrl?: string | null | undefined;
204
204
  mandateId?: string | undefined;
205
205
  profileId?: string | undefined;
206
206
  testmode?: boolean | null | undefined;
@@ -221,7 +221,7 @@ export const SubscriptionRequest$outboundSchema: z.ZodType<
221
221
  applicationFee: z.lazy(() => SubscriptionRequestApplicationFee$outboundSchema)
222
222
  .optional(),
223
223
  metadata: z.nullable(Metadata$outboundSchema).optional(),
224
- webhookUrl: z.string().optional(),
224
+ webhookUrl: z.nullable(z.string()).optional(),
225
225
  mandateId: z.string().optional(),
226
226
  profileId: z.string().optional(),
227
227
  testmode: z.nullable(z.boolean()).optional(),
@@ -207,7 +207,7 @@ export type SubscriptionResponse = {
207
207
  * This webhook will receive **all** events for the subscription's payments. This may include payment failures as
208
208
  * well. Be sure to verify the payment's subscription ID and its status.
209
209
  */
210
- webhookUrl: string;
210
+ webhookUrl: string | null;
211
211
  /**
212
212
  * The customer this subscription belongs to.
213
213
  */
@@ -363,7 +363,7 @@ export const SubscriptionResponse$inboundSchema: z.ZodType<
363
363
  applicationFee: z.lazy(() => SubscriptionResponseApplicationFee$inboundSchema)
364
364
  .optional(),
365
365
  metadata: z.nullable(Metadata$inboundSchema),
366
- webhookUrl: z.string(),
366
+ webhookUrl: z.nullable(z.string()),
367
367
  customerId: z.string(),
368
368
  mandateId: z.string().optional(),
369
369
  createdAt: z.string(),
@@ -390,7 +390,7 @@ export type SubscriptionResponse$Outbound = {
390
390
  method: string | null;
391
391
  applicationFee?: SubscriptionResponseApplicationFee$Outbound | undefined;
392
392
  metadata: Metadata$Outbound | null;
393
- webhookUrl: string;
393
+ webhookUrl: string | null;
394
394
  customerId: string;
395
395
  mandateId?: string | undefined;
396
396
  createdAt: string;
@@ -420,7 +420,7 @@ export const SubscriptionResponse$outboundSchema: z.ZodType<
420
420
  SubscriptionResponseApplicationFee$outboundSchema
421
421
  ).optional(),
422
422
  metadata: z.nullable(Metadata$outboundSchema),
423
- webhookUrl: z.string(),
423
+ webhookUrl: z.nullable(z.string()),
424
424
  customerId: z.string(),
425
425
  mandateId: z.string().optional(),
426
426
  createdAt: z.string(),