mollie-api-typescript 0.1.6 → 0.1.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/FUNCTIONS.md +7 -139
- package/README.md +77 -877
- package/bin/mcp-server.js +385 -192
- package/bin/mcp-server.js.map +20 -20
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +40 -40
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/models/operations/cancelpayment.d.ts +3 -3
- package/dist/commonjs/models/operations/cancelpayment.js +1 -1
- package/dist/commonjs/models/operations/createcustomerpayment.d.ts +3 -3
- package/dist/commonjs/models/operations/createcustomerpayment.js +1 -1
- package/dist/commonjs/models/operations/createpayment.d.ts +3 -3
- package/dist/commonjs/models/operations/createpayment.js +1 -1
- package/dist/commonjs/models/operations/createwebhook.d.ts +96 -38
- package/dist/commonjs/models/operations/createwebhook.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createwebhook.js +79 -41
- package/dist/commonjs/models/operations/createwebhook.js.map +1 -1
- package/dist/commonjs/models/operations/getpayment.d.ts +3 -3
- package/dist/commonjs/models/operations/getpayment.js +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +3 -3
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js +1 -1
- package/dist/commonjs/models/operations/getwebhook.d.ts +139 -21
- package/dist/commonjs/models/operations/getwebhook.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getwebhook.js +114 -20
- package/dist/commonjs/models/operations/getwebhook.js.map +1 -1
- package/dist/commonjs/models/operations/getwebhookevent.d.ts +63 -17
- package/dist/commonjs/models/operations/getwebhookevent.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getwebhookevent.js +48 -21
- package/dist/commonjs/models/operations/getwebhookevent.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts +3 -3
- package/dist/commonjs/models/operations/listcustomerpayments.js +1 -1
- package/dist/commonjs/models/operations/listpayments.d.ts +3 -3
- package/dist/commonjs/models/operations/listpayments.js +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts +3 -3
- package/dist/commonjs/models/operations/listsettlementpayments.js +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +3 -3
- package/dist/commonjs/models/operations/listsubscriptionpayments.js +1 -1
- package/dist/commonjs/models/operations/listwebhooks.d.ts +160 -39
- package/dist/commonjs/models/operations/listwebhooks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listwebhooks.js +136 -41
- package/dist/commonjs/models/operations/listwebhooks.js.map +1 -1
- package/dist/commonjs/models/operations/updatepayment.d.ts +3 -3
- package/dist/commonjs/models/operations/updatepayment.js +1 -1
- package/dist/commonjs/models/operations/updatewebhook.d.ts +162 -32
- package/dist/commonjs/models/operations/updatewebhook.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatewebhook.js +140 -33
- package/dist/commonjs/models/operations/updatewebhook.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +24 -24
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +36 -36
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +40 -40
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/models/operations/cancelpayment.d.ts +3 -3
- package/dist/esm/models/operations/cancelpayment.js +1 -1
- package/dist/esm/models/operations/createcustomerpayment.d.ts +3 -3
- package/dist/esm/models/operations/createcustomerpayment.js +1 -1
- package/dist/esm/models/operations/createpayment.d.ts +3 -3
- package/dist/esm/models/operations/createpayment.js +1 -1
- package/dist/esm/models/operations/createwebhook.d.ts +96 -38
- package/dist/esm/models/operations/createwebhook.d.ts.map +1 -1
- package/dist/esm/models/operations/createwebhook.js +78 -40
- package/dist/esm/models/operations/createwebhook.js.map +1 -1
- package/dist/esm/models/operations/getpayment.d.ts +3 -3
- package/dist/esm/models/operations/getpayment.js +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +3 -3
- package/dist/esm/models/operations/getpaymentlinkpayments.js +1 -1
- package/dist/esm/models/operations/getwebhook.d.ts +139 -21
- package/dist/esm/models/operations/getwebhook.d.ts.map +1 -1
- package/dist/esm/models/operations/getwebhook.js +109 -19
- package/dist/esm/models/operations/getwebhook.js.map +1 -1
- package/dist/esm/models/operations/getwebhookevent.d.ts +63 -17
- package/dist/esm/models/operations/getwebhookevent.d.ts.map +1 -1
- package/dist/esm/models/operations/getwebhookevent.js +45 -18
- package/dist/esm/models/operations/getwebhookevent.js.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.d.ts +3 -3
- package/dist/esm/models/operations/listcustomerpayments.js +1 -1
- package/dist/esm/models/operations/listpayments.d.ts +3 -3
- package/dist/esm/models/operations/listpayments.js +1 -1
- package/dist/esm/models/operations/listsettlementpayments.d.ts +3 -3
- package/dist/esm/models/operations/listsettlementpayments.js +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts +3 -3
- package/dist/esm/models/operations/listsubscriptionpayments.js +1 -1
- package/dist/esm/models/operations/listwebhooks.d.ts +160 -39
- package/dist/esm/models/operations/listwebhooks.d.ts.map +1 -1
- package/dist/esm/models/operations/listwebhooks.js +130 -40
- package/dist/esm/models/operations/listwebhooks.js.map +1 -1
- package/dist/esm/models/operations/updatepayment.d.ts +3 -3
- package/dist/esm/models/operations/updatepayment.js +1 -1
- package/dist/esm/models/operations/updatewebhook.d.ts +162 -32
- package/dist/esm/models/operations/updatewebhook.d.ts.map +1 -1
- package/dist/esm/models/operations/updatewebhook.js +135 -32
- package/dist/esm/models/operations/updatewebhook.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +24 -24
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +36 -36
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/docs/sdks/webhooks/README.md +4 -4
- package/examples/balancesList.example.ts +33 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +40 -40
- package/src/models/operations/cancelpayment.ts +1 -1
- package/src/models/operations/createcustomerpayment.ts +1 -1
- package/src/models/operations/createpayment.ts +1 -1
- package/src/models/operations/createwebhook.ts +134 -73
- package/src/models/operations/getpayment.ts +1 -1
- package/src/models/operations/getpaymentlinkpayments.ts +1 -1
- package/src/models/operations/getwebhook.ts +228 -39
- package/src/models/operations/getwebhookevent.ts +75 -35
- package/src/models/operations/listcustomerpayments.ts +1 -1
- package/src/models/operations/listpayments.ts +1 -1
- package/src/models/operations/listsettlementpayments.ts +1 -1
- package/src/models/operations/listsubscriptionpayments.ts +1 -1
- package/src/models/operations/listwebhooks.ts +262 -73
- package/src/models/operations/updatepayment.ts +1 -1
- package/src/models/operations/updatewebhook.ts +273 -59
- package/src/sdk/sdk.ts +60 -60
- package/examples/paymentsCreate.example.ts +0 -166
|
@@ -3,20 +3,27 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
5
|
/**
|
|
6
|
-
* The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
|
|
6
|
+
* The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
|
|
7
|
+
*
|
|
8
|
+
* @remarks
|
|
9
|
+
* that require explicit selection. Separate multiple event types with a comma.
|
|
7
10
|
*/
|
|
8
|
-
export declare const
|
|
11
|
+
export declare const CreateWebhookWebhookEventTypesRequest: {
|
|
9
12
|
readonly PaymentLinkPaid: "payment-link.paid";
|
|
10
13
|
readonly BalanceTransactionCreated: "balance-transaction.created";
|
|
11
14
|
readonly SalesInvoiceCreated: "sales-invoice.created";
|
|
12
15
|
readonly SalesInvoiceIssued: "sales-invoice.issued";
|
|
13
16
|
readonly SalesInvoiceCanceled: "sales-invoice.canceled";
|
|
14
17
|
readonly SalesInvoicePaid: "sales-invoice.paid";
|
|
18
|
+
readonly Wildcard: "*";
|
|
15
19
|
};
|
|
16
20
|
/**
|
|
17
|
-
* The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
|
|
21
|
+
* The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
|
|
22
|
+
*
|
|
23
|
+
* @remarks
|
|
24
|
+
* that require explicit selection. Separate multiple event types with a comma.
|
|
18
25
|
*/
|
|
19
|
-
export type
|
|
26
|
+
export type CreateWebhookWebhookEventTypesRequest = ClosedEnum<typeof CreateWebhookWebhookEventTypesRequest>;
|
|
20
27
|
export type CreateWebhookRequest = {
|
|
21
28
|
/**
|
|
22
29
|
* A name that identifies the webhook.
|
|
@@ -27,9 +34,12 @@ export type CreateWebhookRequest = {
|
|
|
27
34
|
*/
|
|
28
35
|
url: string;
|
|
29
36
|
/**
|
|
30
|
-
* The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
|
|
37
|
+
* The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
|
|
38
|
+
*
|
|
39
|
+
* @remarks
|
|
40
|
+
* that require explicit selection. Separate multiple event types with a comma.
|
|
31
41
|
*/
|
|
32
|
-
|
|
42
|
+
webhookEventTypes: CreateWebhookWebhookEventTypesRequest;
|
|
33
43
|
/**
|
|
34
44
|
* Whether to create the entity in test mode or live mode.
|
|
35
45
|
*
|
|
@@ -54,6 +64,22 @@ export type CreateWebhookUnprocessableEntityLinks = {
|
|
|
54
64
|
*/
|
|
55
65
|
documentation: CreateWebhookUnprocessableEntityDocumentation;
|
|
56
66
|
};
|
|
67
|
+
/**
|
|
68
|
+
* The event's type
|
|
69
|
+
*/
|
|
70
|
+
export declare const CreateWebhookEventTypeWebhookEventTypes: {
|
|
71
|
+
readonly PaymentLinkPaid: "payment-link.paid";
|
|
72
|
+
readonly BalanceTransactionCreated: "balance-transaction.created";
|
|
73
|
+
readonly SalesInvoiceCreated: "sales-invoice.created";
|
|
74
|
+
readonly SalesInvoiceIssued: "sales-invoice.issued";
|
|
75
|
+
readonly SalesInvoiceCanceled: "sales-invoice.canceled";
|
|
76
|
+
readonly SalesInvoicePaid: "sales-invoice.paid";
|
|
77
|
+
readonly Wildcard: "*";
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* The event's type
|
|
81
|
+
*/
|
|
82
|
+
export type CreateWebhookEventTypeWebhookEventTypes = ClosedEnum<typeof CreateWebhookEventTypeWebhookEventTypes>;
|
|
57
83
|
/**
|
|
58
84
|
* The subscription's current status.
|
|
59
85
|
*/
|
|
@@ -67,14 +93,14 @@ export declare const CreateWebhookStatus: {
|
|
|
67
93
|
*/
|
|
68
94
|
export type CreateWebhookStatus = ClosedEnum<typeof CreateWebhookStatus>;
|
|
69
95
|
/**
|
|
70
|
-
*
|
|
96
|
+
* Whether this entity was created in live mode or in test mode.
|
|
71
97
|
*/
|
|
72
98
|
export declare const CreateWebhookMode: {
|
|
73
99
|
readonly Live: "live";
|
|
74
100
|
readonly Test: "test";
|
|
75
101
|
};
|
|
76
102
|
/**
|
|
77
|
-
*
|
|
103
|
+
* Whether this entity was created in live mode or in test mode.
|
|
78
104
|
*/
|
|
79
105
|
export type CreateWebhookMode = ClosedEnum<typeof CreateWebhookMode>;
|
|
80
106
|
/**
|
|
@@ -97,7 +123,7 @@ export type CreateWebhookLinks = {
|
|
|
97
123
|
/**
|
|
98
124
|
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
99
125
|
*/
|
|
100
|
-
documentation
|
|
126
|
+
documentation: CreateWebhookDocumentation;
|
|
101
127
|
};
|
|
102
128
|
/**
|
|
103
129
|
* The webhook object.
|
|
@@ -106,58 +132,58 @@ export type CreateWebhookResponse = {
|
|
|
106
132
|
/**
|
|
107
133
|
* Indicates the response contains a webhook subscription object. Will always contain the string `webhook` for this endpoint.
|
|
108
134
|
*/
|
|
109
|
-
resource
|
|
135
|
+
resource: string;
|
|
110
136
|
/**
|
|
111
137
|
* The identifier uniquely referring to this subscription.
|
|
112
138
|
*/
|
|
113
|
-
id
|
|
139
|
+
id: string;
|
|
114
140
|
/**
|
|
115
141
|
* The subscription's events destination.
|
|
116
142
|
*/
|
|
117
|
-
url
|
|
143
|
+
url: string;
|
|
118
144
|
/**
|
|
119
145
|
* The identifier uniquely referring to the profile that created the subscription.
|
|
120
146
|
*/
|
|
121
|
-
profileId
|
|
147
|
+
profileId: string;
|
|
122
148
|
/**
|
|
123
149
|
* The subscription's date time of creation.
|
|
124
150
|
*/
|
|
125
|
-
createdAt
|
|
151
|
+
createdAt: string;
|
|
126
152
|
/**
|
|
127
153
|
* The subscription's name.
|
|
128
154
|
*/
|
|
129
|
-
name
|
|
155
|
+
name: string;
|
|
130
156
|
/**
|
|
131
157
|
* The events types that are subscribed.
|
|
132
158
|
*/
|
|
133
|
-
eventTypes
|
|
159
|
+
eventTypes: Array<CreateWebhookEventTypeWebhookEventTypes>;
|
|
134
160
|
/**
|
|
135
161
|
* The subscription's current status.
|
|
136
162
|
*/
|
|
137
|
-
status
|
|
163
|
+
status: CreateWebhookStatus;
|
|
138
164
|
/**
|
|
139
|
-
*
|
|
165
|
+
* Whether this entity was created in live mode or in test mode.
|
|
140
166
|
*/
|
|
141
|
-
mode
|
|
167
|
+
mode: CreateWebhookMode;
|
|
142
168
|
/**
|
|
143
169
|
* The subscription's secret.
|
|
144
170
|
*/
|
|
145
|
-
webhookSecret
|
|
171
|
+
webhookSecret: string;
|
|
146
172
|
/**
|
|
147
173
|
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
148
174
|
*/
|
|
149
|
-
links
|
|
175
|
+
links: CreateWebhookLinks;
|
|
150
176
|
};
|
|
151
177
|
/** @internal */
|
|
152
|
-
export declare const
|
|
178
|
+
export declare const CreateWebhookWebhookEventTypesRequest$inboundSchema: z.ZodNativeEnum<typeof CreateWebhookWebhookEventTypesRequest>;
|
|
153
179
|
/** @internal */
|
|
154
|
-
export declare const
|
|
180
|
+
export declare const CreateWebhookWebhookEventTypesRequest$outboundSchema: z.ZodNativeEnum<typeof CreateWebhookWebhookEventTypesRequest>;
|
|
155
181
|
/**
|
|
156
182
|
* @internal
|
|
157
183
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
158
184
|
*/
|
|
159
|
-
export declare namespace
|
|
160
|
-
/** @deprecated use `
|
|
185
|
+
export declare namespace CreateWebhookWebhookEventTypesRequest$ {
|
|
186
|
+
/** @deprecated use `CreateWebhookWebhookEventTypesRequest$inboundSchema` instead. */
|
|
161
187
|
const inboundSchema: z.ZodNativeEnum<{
|
|
162
188
|
readonly PaymentLinkPaid: "payment-link.paid";
|
|
163
189
|
readonly BalanceTransactionCreated: "balance-transaction.created";
|
|
@@ -165,8 +191,9 @@ export declare namespace CreateWebhookEventTypes$ {
|
|
|
165
191
|
readonly SalesInvoiceIssued: "sales-invoice.issued";
|
|
166
192
|
readonly SalesInvoiceCanceled: "sales-invoice.canceled";
|
|
167
193
|
readonly SalesInvoicePaid: "sales-invoice.paid";
|
|
194
|
+
readonly Wildcard: "*";
|
|
168
195
|
}>;
|
|
169
|
-
/** @deprecated use `
|
|
196
|
+
/** @deprecated use `CreateWebhookWebhookEventTypesRequest$outboundSchema` instead. */
|
|
170
197
|
const outboundSchema: z.ZodNativeEnum<{
|
|
171
198
|
readonly PaymentLinkPaid: "payment-link.paid";
|
|
172
199
|
readonly BalanceTransactionCreated: "balance-transaction.created";
|
|
@@ -174,6 +201,7 @@ export declare namespace CreateWebhookEventTypes$ {
|
|
|
174
201
|
readonly SalesInvoiceIssued: "sales-invoice.issued";
|
|
175
202
|
readonly SalesInvoiceCanceled: "sales-invoice.canceled";
|
|
176
203
|
readonly SalesInvoicePaid: "sales-invoice.paid";
|
|
204
|
+
readonly Wildcard: "*";
|
|
177
205
|
}>;
|
|
178
206
|
}
|
|
179
207
|
/** @internal */
|
|
@@ -247,6 +275,36 @@ export declare namespace CreateWebhookUnprocessableEntityLinks$ {
|
|
|
247
275
|
export declare function createWebhookUnprocessableEntityLinksToJSON(createWebhookUnprocessableEntityLinks: CreateWebhookUnprocessableEntityLinks): string;
|
|
248
276
|
export declare function createWebhookUnprocessableEntityLinksFromJSON(jsonString: string): SafeParseResult<CreateWebhookUnprocessableEntityLinks, SDKValidationError>;
|
|
249
277
|
/** @internal */
|
|
278
|
+
export declare const CreateWebhookEventTypeWebhookEventTypes$inboundSchema: z.ZodNativeEnum<typeof CreateWebhookEventTypeWebhookEventTypes>;
|
|
279
|
+
/** @internal */
|
|
280
|
+
export declare const CreateWebhookEventTypeWebhookEventTypes$outboundSchema: z.ZodNativeEnum<typeof CreateWebhookEventTypeWebhookEventTypes>;
|
|
281
|
+
/**
|
|
282
|
+
* @internal
|
|
283
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
284
|
+
*/
|
|
285
|
+
export declare namespace CreateWebhookEventTypeWebhookEventTypes$ {
|
|
286
|
+
/** @deprecated use `CreateWebhookEventTypeWebhookEventTypes$inboundSchema` instead. */
|
|
287
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
288
|
+
readonly PaymentLinkPaid: "payment-link.paid";
|
|
289
|
+
readonly BalanceTransactionCreated: "balance-transaction.created";
|
|
290
|
+
readonly SalesInvoiceCreated: "sales-invoice.created";
|
|
291
|
+
readonly SalesInvoiceIssued: "sales-invoice.issued";
|
|
292
|
+
readonly SalesInvoiceCanceled: "sales-invoice.canceled";
|
|
293
|
+
readonly SalesInvoicePaid: "sales-invoice.paid";
|
|
294
|
+
readonly Wildcard: "*";
|
|
295
|
+
}>;
|
|
296
|
+
/** @deprecated use `CreateWebhookEventTypeWebhookEventTypes$outboundSchema` instead. */
|
|
297
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
298
|
+
readonly PaymentLinkPaid: "payment-link.paid";
|
|
299
|
+
readonly BalanceTransactionCreated: "balance-transaction.created";
|
|
300
|
+
readonly SalesInvoiceCreated: "sales-invoice.created";
|
|
301
|
+
readonly SalesInvoiceIssued: "sales-invoice.issued";
|
|
302
|
+
readonly SalesInvoiceCanceled: "sales-invoice.canceled";
|
|
303
|
+
readonly SalesInvoicePaid: "sales-invoice.paid";
|
|
304
|
+
readonly Wildcard: "*";
|
|
305
|
+
}>;
|
|
306
|
+
}
|
|
307
|
+
/** @internal */
|
|
250
308
|
export declare const CreateWebhookStatus$inboundSchema: z.ZodNativeEnum<typeof CreateWebhookStatus>;
|
|
251
309
|
/** @internal */
|
|
252
310
|
export declare const CreateWebhookStatus$outboundSchema: z.ZodNativeEnum<typeof CreateWebhookStatus>;
|
|
@@ -315,7 +373,7 @@ export declare function createWebhookDocumentationFromJSON(jsonString: string):
|
|
|
315
373
|
export declare const CreateWebhookLinks$inboundSchema: z.ZodType<CreateWebhookLinks, z.ZodTypeDef, unknown>;
|
|
316
374
|
/** @internal */
|
|
317
375
|
export type CreateWebhookLinks$Outbound = {
|
|
318
|
-
documentation
|
|
376
|
+
documentation: CreateWebhookDocumentation$Outbound;
|
|
319
377
|
};
|
|
320
378
|
/** @internal */
|
|
321
379
|
export declare const CreateWebhookLinks$outboundSchema: z.ZodType<CreateWebhookLinks$Outbound, z.ZodTypeDef, CreateWebhookLinks>;
|
|
@@ -337,17 +395,17 @@ export declare function createWebhookLinksFromJSON(jsonString: string): SafePars
|
|
|
337
395
|
export declare const CreateWebhookResponse$inboundSchema: z.ZodType<CreateWebhookResponse, z.ZodTypeDef, unknown>;
|
|
338
396
|
/** @internal */
|
|
339
397
|
export type CreateWebhookResponse$Outbound = {
|
|
340
|
-
resource
|
|
341
|
-
id
|
|
342
|
-
url
|
|
343
|
-
profileId
|
|
344
|
-
createdAt
|
|
345
|
-
name
|
|
346
|
-
eventTypes
|
|
347
|
-
status
|
|
348
|
-
mode
|
|
349
|
-
webhookSecret
|
|
350
|
-
_links
|
|
398
|
+
resource: string;
|
|
399
|
+
id: string;
|
|
400
|
+
url: string;
|
|
401
|
+
profileId: string;
|
|
402
|
+
createdAt: string;
|
|
403
|
+
name: string;
|
|
404
|
+
eventTypes: Array<string>;
|
|
405
|
+
status: string;
|
|
406
|
+
mode: string;
|
|
407
|
+
webhookSecret: string;
|
|
408
|
+
_links: CreateWebhookLinks$Outbound;
|
|
351
409
|
};
|
|
352
410
|
/** @internal */
|
|
353
411
|
export declare const CreateWebhookResponse$outboundSchema: z.ZodType<CreateWebhookResponse$Outbound, z.ZodTypeDef, CreateWebhookResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createwebhook.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/createwebhook.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE
|
|
1
|
+
{"version":3,"file":"createwebhook.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/createwebhook.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;;;;GAKG;AACH,eAAO,MAAM,qCAAqC;;;;;;;;CAQxC,CAAC;AACX;;;;;GAKG;AACH,MAAM,MAAM,qCAAqC,GAAG,UAAU,CAC5D,OAAO,qCAAqC,CAC7C,CAAC;AAEF,MAAM,M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AAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAiBrB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,qEAAqE;IAC9D,MAAM,aAAa,yDAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACvD;AAED,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
|
|
@@ -5,15 +5,31 @@ import * as z from "zod";
|
|
|
5
5
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
7
|
/**
|
|
8
|
-
* The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
|
|
8
|
+
* The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* that require explicit selection. Separate multiple event types with a comma.
|
|
9
12
|
*/
|
|
10
|
-
export const
|
|
13
|
+
export const CreateWebhookWebhookEventTypesRequest = {
|
|
11
14
|
PaymentLinkPaid: "payment-link.paid",
|
|
12
15
|
BalanceTransactionCreated: "balance-transaction.created",
|
|
13
16
|
SalesInvoiceCreated: "sales-invoice.created",
|
|
14
17
|
SalesInvoiceIssued: "sales-invoice.issued",
|
|
15
18
|
SalesInvoiceCanceled: "sales-invoice.canceled",
|
|
16
19
|
SalesInvoicePaid: "sales-invoice.paid",
|
|
20
|
+
Wildcard: "*",
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* The event's type
|
|
24
|
+
*/
|
|
25
|
+
export const CreateWebhookEventTypeWebhookEventTypes = {
|
|
26
|
+
PaymentLinkPaid: "payment-link.paid",
|
|
27
|
+
BalanceTransactionCreated: "balance-transaction.created",
|
|
28
|
+
SalesInvoiceCreated: "sales-invoice.created",
|
|
29
|
+
SalesInvoiceIssued: "sales-invoice.issued",
|
|
30
|
+
SalesInvoiceCanceled: "sales-invoice.canceled",
|
|
31
|
+
SalesInvoicePaid: "sales-invoice.paid",
|
|
32
|
+
Wildcard: "*",
|
|
17
33
|
};
|
|
18
34
|
/**
|
|
19
35
|
* The subscription's current status.
|
|
@@ -24,40 +40,48 @@ export const CreateWebhookStatus = {
|
|
|
24
40
|
Disabled: "disabled",
|
|
25
41
|
};
|
|
26
42
|
/**
|
|
27
|
-
*
|
|
43
|
+
* Whether this entity was created in live mode or in test mode.
|
|
28
44
|
*/
|
|
29
45
|
export const CreateWebhookMode = {
|
|
30
46
|
Live: "live",
|
|
31
47
|
Test: "test",
|
|
32
48
|
};
|
|
33
49
|
/** @internal */
|
|
34
|
-
export const
|
|
50
|
+
export const CreateWebhookWebhookEventTypesRequest$inboundSchema = z.nativeEnum(CreateWebhookWebhookEventTypesRequest);
|
|
35
51
|
/** @internal */
|
|
36
|
-
export const
|
|
52
|
+
export const CreateWebhookWebhookEventTypesRequest$outboundSchema = CreateWebhookWebhookEventTypesRequest$inboundSchema;
|
|
37
53
|
/**
|
|
38
54
|
* @internal
|
|
39
55
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
40
56
|
*/
|
|
41
|
-
export var
|
|
42
|
-
(function (
|
|
43
|
-
/** @deprecated use `
|
|
44
|
-
|
|
45
|
-
/** @deprecated use `
|
|
46
|
-
|
|
47
|
-
})(
|
|
57
|
+
export var CreateWebhookWebhookEventTypesRequest$;
|
|
58
|
+
(function (CreateWebhookWebhookEventTypesRequest$) {
|
|
59
|
+
/** @deprecated use `CreateWebhookWebhookEventTypesRequest$inboundSchema` instead. */
|
|
60
|
+
CreateWebhookWebhookEventTypesRequest$.inboundSchema = CreateWebhookWebhookEventTypesRequest$inboundSchema;
|
|
61
|
+
/** @deprecated use `CreateWebhookWebhookEventTypesRequest$outboundSchema` instead. */
|
|
62
|
+
CreateWebhookWebhookEventTypesRequest$.outboundSchema = CreateWebhookWebhookEventTypesRequest$outboundSchema;
|
|
63
|
+
})(CreateWebhookWebhookEventTypesRequest$ || (CreateWebhookWebhookEventTypesRequest$ = {}));
|
|
48
64
|
/** @internal */
|
|
49
65
|
export const CreateWebhookRequest$inboundSchema = z.object({
|
|
50
66
|
name: z.string(),
|
|
51
67
|
url: z.string(),
|
|
52
|
-
eventTypes:
|
|
68
|
+
eventTypes: CreateWebhookWebhookEventTypesRequest$inboundSchema,
|
|
53
69
|
testmode: z.nullable(z.boolean()).optional(),
|
|
70
|
+
}).transform((v) => {
|
|
71
|
+
return remap$(v, {
|
|
72
|
+
"eventTypes": "webhookEventTypes",
|
|
73
|
+
});
|
|
54
74
|
});
|
|
55
75
|
/** @internal */
|
|
56
76
|
export const CreateWebhookRequest$outboundSchema = z.object({
|
|
57
77
|
name: z.string(),
|
|
58
78
|
url: z.string(),
|
|
59
|
-
|
|
79
|
+
webhookEventTypes: CreateWebhookWebhookEventTypesRequest$outboundSchema,
|
|
60
80
|
testmode: z.nullable(z.boolean()).optional(),
|
|
81
|
+
}).transform((v) => {
|
|
82
|
+
return remap$(v, {
|
|
83
|
+
webhookEventTypes: "eventTypes",
|
|
84
|
+
});
|
|
61
85
|
});
|
|
62
86
|
/**
|
|
63
87
|
* @internal
|
|
@@ -129,6 +153,22 @@ export function createWebhookUnprocessableEntityLinksFromJSON(jsonString) {
|
|
|
129
153
|
return safeParse(jsonString, (x) => CreateWebhookUnprocessableEntityLinks$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateWebhookUnprocessableEntityLinks' from JSON`);
|
|
130
154
|
}
|
|
131
155
|
/** @internal */
|
|
156
|
+
export const CreateWebhookEventTypeWebhookEventTypes$inboundSchema = z
|
|
157
|
+
.nativeEnum(CreateWebhookEventTypeWebhookEventTypes);
|
|
158
|
+
/** @internal */
|
|
159
|
+
export const CreateWebhookEventTypeWebhookEventTypes$outboundSchema = CreateWebhookEventTypeWebhookEventTypes$inboundSchema;
|
|
160
|
+
/**
|
|
161
|
+
* @internal
|
|
162
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
163
|
+
*/
|
|
164
|
+
export var CreateWebhookEventTypeWebhookEventTypes$;
|
|
165
|
+
(function (CreateWebhookEventTypeWebhookEventTypes$) {
|
|
166
|
+
/** @deprecated use `CreateWebhookEventTypeWebhookEventTypes$inboundSchema` instead. */
|
|
167
|
+
CreateWebhookEventTypeWebhookEventTypes$.inboundSchema = CreateWebhookEventTypeWebhookEventTypes$inboundSchema;
|
|
168
|
+
/** @deprecated use `CreateWebhookEventTypeWebhookEventTypes$outboundSchema` instead. */
|
|
169
|
+
CreateWebhookEventTypeWebhookEventTypes$.outboundSchema = CreateWebhookEventTypeWebhookEventTypes$outboundSchema;
|
|
170
|
+
})(CreateWebhookEventTypeWebhookEventTypes$ || (CreateWebhookEventTypeWebhookEventTypes$ = {}));
|
|
171
|
+
/** @internal */
|
|
132
172
|
export const CreateWebhookStatus$inboundSchema = z.nativeEnum(CreateWebhookStatus);
|
|
133
173
|
/** @internal */
|
|
134
174
|
export const CreateWebhookStatus$outboundSchema = CreateWebhookStatus$inboundSchema;
|
|
@@ -187,13 +227,11 @@ export function createWebhookDocumentationFromJSON(jsonString) {
|
|
|
187
227
|
}
|
|
188
228
|
/** @internal */
|
|
189
229
|
export const CreateWebhookLinks$inboundSchema = z.object({
|
|
190
|
-
documentation: z.lazy(() => CreateWebhookDocumentation$inboundSchema)
|
|
191
|
-
.optional(),
|
|
230
|
+
documentation: z.lazy(() => CreateWebhookDocumentation$inboundSchema),
|
|
192
231
|
});
|
|
193
232
|
/** @internal */
|
|
194
233
|
export const CreateWebhookLinks$outboundSchema = z.object({
|
|
195
|
-
documentation: z.lazy(() => CreateWebhookDocumentation$outboundSchema)
|
|
196
|
-
.optional(),
|
|
234
|
+
documentation: z.lazy(() => CreateWebhookDocumentation$outboundSchema),
|
|
197
235
|
});
|
|
198
236
|
/**
|
|
199
237
|
* @internal
|
|
@@ -214,17 +252,17 @@ export function createWebhookLinksFromJSON(jsonString) {
|
|
|
214
252
|
}
|
|
215
253
|
/** @internal */
|
|
216
254
|
export const CreateWebhookResponse$inboundSchema = z.object({
|
|
217
|
-
resource: z.string()
|
|
218
|
-
id: z.string()
|
|
219
|
-
url: z.string()
|
|
220
|
-
profileId: z.string()
|
|
221
|
-
createdAt: z.string()
|
|
222
|
-
name: z.string()
|
|
223
|
-
eventTypes: z.array(
|
|
224
|
-
status: CreateWebhookStatus$inboundSchema
|
|
225
|
-
mode: CreateWebhookMode$inboundSchema
|
|
226
|
-
webhookSecret: z.string()
|
|
227
|
-
_links: z.lazy(() => CreateWebhookLinks$inboundSchema)
|
|
255
|
+
resource: z.string(),
|
|
256
|
+
id: z.string(),
|
|
257
|
+
url: z.string(),
|
|
258
|
+
profileId: z.string(),
|
|
259
|
+
createdAt: z.string(),
|
|
260
|
+
name: z.string(),
|
|
261
|
+
eventTypes: z.array(CreateWebhookEventTypeWebhookEventTypes$inboundSchema),
|
|
262
|
+
status: CreateWebhookStatus$inboundSchema,
|
|
263
|
+
mode: CreateWebhookMode$inboundSchema,
|
|
264
|
+
webhookSecret: z.string(),
|
|
265
|
+
_links: z.lazy(() => CreateWebhookLinks$inboundSchema),
|
|
228
266
|
}).transform((v) => {
|
|
229
267
|
return remap$(v, {
|
|
230
268
|
"_links": "links",
|
|
@@ -232,17 +270,17 @@ export const CreateWebhookResponse$inboundSchema = z.object({
|
|
|
232
270
|
});
|
|
233
271
|
/** @internal */
|
|
234
272
|
export const CreateWebhookResponse$outboundSchema = z.object({
|
|
235
|
-
resource: z.string()
|
|
236
|
-
id: z.string()
|
|
237
|
-
url: z.string()
|
|
238
|
-
profileId: z.string()
|
|
239
|
-
createdAt: z.string()
|
|
240
|
-
name: z.string()
|
|
241
|
-
eventTypes: z.array(
|
|
242
|
-
status: CreateWebhookStatus$outboundSchema
|
|
243
|
-
mode: CreateWebhookMode$outboundSchema
|
|
244
|
-
webhookSecret: z.string()
|
|
245
|
-
links: z.lazy(() => CreateWebhookLinks$outboundSchema)
|
|
273
|
+
resource: z.string(),
|
|
274
|
+
id: z.string(),
|
|
275
|
+
url: z.string(),
|
|
276
|
+
profileId: z.string(),
|
|
277
|
+
createdAt: z.string(),
|
|
278
|
+
name: z.string(),
|
|
279
|
+
eventTypes: z.array(CreateWebhookEventTypeWebhookEventTypes$outboundSchema),
|
|
280
|
+
status: CreateWebhookStatus$outboundSchema,
|
|
281
|
+
mode: CreateWebhookMode$outboundSchema,
|
|
282
|
+
webhookSecret: z.string(),
|
|
283
|
+
links: z.lazy(() => CreateWebhookLinks$outboundSchema),
|
|
246
284
|
}).transform((v) => {
|
|
247
285
|
return remap$(v, {
|
|
248
286
|
links: "_links",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createwebhook.js","sourceRoot":"","sources":["../../../../src/models/operations/createwebhook.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD;;GAEG;AACH,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"createwebhook.js","sourceRoot":"","sources":["../../../../src/models/operations/createwebhook.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG;IACnD,eAAe,EAAE,mB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AAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,KAAK,EAAE,QAAQ;KAChB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,mCAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,oCAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,KAAtB,sBAAsB,QAOtC;AAED,MAAM,UAAU,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
|
|
@@ -1208,7 +1208,7 @@ export declare const GetPaymentFeeRegion: {
|
|
|
1208
1208
|
readonly Maestro: "maestro";
|
|
1209
1209
|
readonly Other: "other";
|
|
1210
1210
|
readonly Inter: "inter";
|
|
1211
|
-
readonly IntraEea: "
|
|
1211
|
+
readonly IntraEea: "intra_eea";
|
|
1212
1212
|
};
|
|
1213
1213
|
/**
|
|
1214
1214
|
* The applicable card fee region.
|
|
@@ -3839,7 +3839,7 @@ export declare namespace GetPaymentFeeRegion$ {
|
|
|
3839
3839
|
readonly Maestro: "maestro";
|
|
3840
3840
|
readonly Other: "other";
|
|
3841
3841
|
readonly Inter: "inter";
|
|
3842
|
-
readonly IntraEea: "
|
|
3842
|
+
readonly IntraEea: "intra_eea";
|
|
3843
3843
|
}>;
|
|
3844
3844
|
/** @deprecated use `GetPaymentFeeRegion$outboundSchema` instead. */
|
|
3845
3845
|
const outboundSchema: z.ZodNativeEnum<{
|
|
@@ -3852,7 +3852,7 @@ export declare namespace GetPaymentFeeRegion$ {
|
|
|
3852
3852
|
readonly Maestro: "maestro";
|
|
3853
3853
|
readonly Other: "other";
|
|
3854
3854
|
readonly Inter: "inter";
|
|
3855
|
-
readonly IntraEea: "
|
|
3855
|
+
readonly IntraEea: "intra_eea";
|
|
3856
3856
|
}>;
|
|
3857
3857
|
}
|
|
3858
3858
|
/** @internal */
|
|
@@ -1203,7 +1203,7 @@ export declare const GetPaymentLinkPaymentsFeeRegion: {
|
|
|
1203
1203
|
readonly Maestro: "maestro";
|
|
1204
1204
|
readonly Other: "other";
|
|
1205
1205
|
readonly Inter: "inter";
|
|
1206
|
-
readonly IntraEea: "
|
|
1206
|
+
readonly IntraEea: "intra_eea";
|
|
1207
1207
|
};
|
|
1208
1208
|
/**
|
|
1209
1209
|
* The applicable card fee region.
|
|
@@ -3909,7 +3909,7 @@ export declare namespace GetPaymentLinkPaymentsFeeRegion$ {
|
|
|
3909
3909
|
readonly Maestro: "maestro";
|
|
3910
3910
|
readonly Other: "other";
|
|
3911
3911
|
readonly Inter: "inter";
|
|
3912
|
-
readonly IntraEea: "
|
|
3912
|
+
readonly IntraEea: "intra_eea";
|
|
3913
3913
|
}>;
|
|
3914
3914
|
/** @deprecated use `GetPaymentLinkPaymentsFeeRegion$outboundSchema` instead. */
|
|
3915
3915
|
const outboundSchema: z.ZodNativeEnum<{
|
|
@@ -3922,7 +3922,7 @@ export declare namespace GetPaymentLinkPaymentsFeeRegion$ {
|
|
|
3922
3922
|
readonly Maestro: "maestro";
|
|
3923
3923
|
readonly Other: "other";
|
|
3924
3924
|
readonly Inter: "inter";
|
|
3925
|
-
readonly IntraEea: "
|
|
3925
|
+
readonly IntraEea: "intra_eea";
|
|
3926
3926
|
}>;
|
|
3927
3927
|
}
|
|
3928
3928
|
/** @internal */
|