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.
- package/bin/mcp-server.js +11 -11
- package/bin/mcp-server.js.map +8 -8
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/listsubscriptionresponse.d.ts +2 -2
- package/dist/commonjs/models/listsubscriptionresponse.d.ts.map +1 -1
- package/dist/commonjs/models/listsubscriptionresponse.js +2 -2
- package/dist/commonjs/models/listsubscriptionresponse.js.map +1 -1
- package/dist/commonjs/models/subscriptionrequest.d.ts +2 -2
- package/dist/commonjs/models/subscriptionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/subscriptionrequest.js +2 -2
- package/dist/commonjs/models/subscriptionrequest.js.map +1 -1
- package/dist/commonjs/models/subscriptionresponse.d.ts +2 -2
- package/dist/commonjs/models/subscriptionresponse.d.ts.map +1 -1
- package/dist/commonjs/models/subscriptionresponse.js +2 -2
- package/dist/commonjs/models/subscriptionresponse.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/listsubscriptionresponse.d.ts +2 -2
- package/dist/esm/models/listsubscriptionresponse.d.ts.map +1 -1
- package/dist/esm/models/listsubscriptionresponse.js +2 -2
- package/dist/esm/models/listsubscriptionresponse.js.map +1 -1
- package/dist/esm/models/subscriptionrequest.d.ts +2 -2
- package/dist/esm/models/subscriptionrequest.d.ts.map +1 -1
- package/dist/esm/models/subscriptionrequest.js +2 -2
- package/dist/esm/models/subscriptionrequest.js.map +1 -1
- package/dist/esm/models/subscriptionresponse.d.ts +2 -2
- package/dist/esm/models/subscriptionresponse.d.ts.map +1 -1
- package/dist/esm/models/subscriptionresponse.js +2 -2
- package/dist/esm/models/subscriptionresponse.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 +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/listsubscriptionresponse.ts +4 -4
- package/src/models/subscriptionrequest.ts +4 -4
- package/src/models/subscriptionresponse.ts +4 -4
package/jsr.json
CHANGED
package/package.json
CHANGED
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.
|
|
80
|
+
sdkVersion: "0.9.8",
|
|
81
81
|
genVersion: "2.788.7",
|
|
82
82
|
userAgent:
|
|
83
|
-
"speakeasy-sdk/typescript 0.9.
|
|
83
|
+
"speakeasy-sdk/typescript 0.9.8 2.788.7 1.0.0 mollie-api-typescript",
|
|
84
84
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -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(),
|