@deliverart/sdk-js-webhook 2.2.2 → 2.2.4
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/dist/index.cjs +19 -2
- package/dist/index.d.cts +348 -158
- package/dist/index.d.ts +348 -158
- package/dist/index.js +17 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6,11 +6,22 @@ import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
|
6
6
|
declare const webhookConfigurationSchema: z.ZodObject<{
|
|
7
7
|
id: z.ZodString;
|
|
8
8
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
9
|
-
entityClass: z.
|
|
9
|
+
entityClass: z.ZodEnum<{
|
|
10
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
11
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
12
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
13
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
14
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
15
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
16
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
17
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
18
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
19
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
20
|
+
}>;
|
|
10
21
|
events: z.ZodArray<z.ZodEnum<{
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
22
|
+
create: "create";
|
|
23
|
+
update: "update";
|
|
24
|
+
delete: "delete";
|
|
14
25
|
}>>;
|
|
15
26
|
callbackUrl: z.ZodURL;
|
|
16
27
|
secretKey: z.ZodString;
|
|
@@ -21,14 +32,25 @@ declare const webhookConfigurationSchema: z.ZodObject<{
|
|
|
21
32
|
}, z.core.$strip>;
|
|
22
33
|
type WebhookConfiguration = z.infer<typeof webhookConfigurationSchema>;
|
|
23
34
|
declare const webhookConfigurationListItemSchema: z.ZodObject<{
|
|
35
|
+
entityClass: z.ZodEnum<{
|
|
36
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
37
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
38
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
39
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
40
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
41
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
42
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
43
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
44
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
45
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
46
|
+
}>;
|
|
24
47
|
createdAt: z.ZodString;
|
|
25
48
|
updatedAt: z.ZodString;
|
|
26
49
|
id: z.ZodString;
|
|
27
|
-
entityClass: z.ZodString;
|
|
28
50
|
events: z.ZodArray<z.ZodEnum<{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
51
|
+
create: "create";
|
|
52
|
+
update: "update";
|
|
53
|
+
delete: "delete";
|
|
32
54
|
}>>;
|
|
33
55
|
callbackUrl: z.ZodURL;
|
|
34
56
|
secretKey: z.ZodString;
|
|
@@ -39,13 +61,13 @@ type WebhookConfigurationListItem = z.infer<typeof webhookConfigurationListItemS
|
|
|
39
61
|
declare const webhookConfigurationsQuerySchema: z.ZodObject<{
|
|
40
62
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
41
63
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
64
|
+
create: "create";
|
|
65
|
+
update: "update";
|
|
66
|
+
delete: "delete";
|
|
45
67
|
}>, z.ZodArray<z.ZodEnum<{
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
68
|
+
create: "create";
|
|
69
|
+
update: "update";
|
|
70
|
+
delete: "delete";
|
|
49
71
|
}>>]>>;
|
|
50
72
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
51
73
|
asc: "asc";
|
|
@@ -72,9 +94,9 @@ declare const webhookLogSchema: z.ZodObject<{
|
|
|
72
94
|
entityClass: z.ZodString;
|
|
73
95
|
externalEntityId: z.ZodUUID;
|
|
74
96
|
event: z.ZodEnum<{
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
97
|
+
create: "create";
|
|
98
|
+
update: "update";
|
|
99
|
+
delete: "delete";
|
|
78
100
|
}>;
|
|
79
101
|
status: z.ZodEnum<{
|
|
80
102
|
pending: "pending";
|
|
@@ -94,13 +116,13 @@ declare const webhookLogSchema: z.ZodObject<{
|
|
|
94
116
|
}, z.core.$strip>;
|
|
95
117
|
type WebhookLog = z.infer<typeof webhookLogSchema>;
|
|
96
118
|
declare const webhookLogListItemSchema: z.ZodObject<{
|
|
119
|
+
entityClass: z.ZodString;
|
|
97
120
|
createdAt: z.ZodString;
|
|
98
121
|
id: z.ZodString;
|
|
99
|
-
entityClass: z.ZodString;
|
|
100
122
|
event: z.ZodEnum<{
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
123
|
+
create: "create";
|
|
124
|
+
update: "update";
|
|
125
|
+
delete: "delete";
|
|
104
126
|
}>;
|
|
105
127
|
status: z.ZodEnum<{
|
|
106
128
|
pending: "pending";
|
|
@@ -122,13 +144,13 @@ type WebhookLogListItem = z.infer<typeof webhookLogListItemSchema>;
|
|
|
122
144
|
declare const webhookLogsQuerySchema: z.ZodObject<{
|
|
123
145
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
124
146
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
147
|
+
create: "create";
|
|
148
|
+
update: "update";
|
|
149
|
+
delete: "delete";
|
|
128
150
|
}>, z.ZodArray<z.ZodEnum<{
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
151
|
+
create: "create";
|
|
152
|
+
update: "update";
|
|
153
|
+
delete: "delete";
|
|
132
154
|
}>>]>>;
|
|
133
155
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
134
156
|
asc: "asc";
|
|
@@ -152,11 +174,22 @@ type WebhookLogsQueryParams = z.infer<typeof webhookLogsQuerySchema>;
|
|
|
152
174
|
|
|
153
175
|
declare const createWebhookConfigurationInputSchema: z.ZodObject<{
|
|
154
176
|
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
155
|
-
entityClass: z.ZodNonOptional<z.
|
|
177
|
+
entityClass: z.ZodNonOptional<z.ZodEnum<{
|
|
178
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
179
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
180
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
181
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
182
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
183
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
184
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
185
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
186
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
187
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
188
|
+
}>>;
|
|
156
189
|
events: z.ZodNonOptional<z.ZodArray<z.ZodEnum<{
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
190
|
+
create: "create";
|
|
191
|
+
update: "update";
|
|
192
|
+
delete: "delete";
|
|
160
193
|
}>>>;
|
|
161
194
|
callbackUrl: z.ZodNonOptional<z.ZodURL>;
|
|
162
195
|
secretKey: z.ZodNonOptional<z.ZodString>;
|
|
@@ -167,11 +200,22 @@ type CreateWebhookConfigurationInput = z.input<typeof createWebhookConfiguration
|
|
|
167
200
|
declare const createWebhookConfigurationResponseSchema: z.ZodObject<{
|
|
168
201
|
id: z.ZodString;
|
|
169
202
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
170
|
-
entityClass: z.
|
|
203
|
+
entityClass: z.ZodEnum<{
|
|
204
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
205
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
206
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
207
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
208
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
209
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
210
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
211
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
212
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
213
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
214
|
+
}>;
|
|
171
215
|
events: z.ZodArray<z.ZodEnum<{
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
216
|
+
create: "create";
|
|
217
|
+
update: "update";
|
|
218
|
+
delete: "delete";
|
|
175
219
|
}>>;
|
|
176
220
|
callbackUrl: z.ZodURL;
|
|
177
221
|
secretKey: z.ZodString;
|
|
@@ -187,11 +231,22 @@ declare class CreateWebhookConfiguration extends AbstractApiRequest<typeof creat
|
|
|
187
231
|
readonly accept = "application/json";
|
|
188
232
|
readonly inputSchema: z.ZodObject<{
|
|
189
233
|
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
190
|
-
entityClass: z.ZodNonOptional<z.
|
|
234
|
+
entityClass: z.ZodNonOptional<z.ZodEnum<{
|
|
235
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
236
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
237
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
238
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
239
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
240
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
241
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
242
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
243
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
244
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
245
|
+
}>>;
|
|
191
246
|
events: z.ZodNonOptional<z.ZodArray<z.ZodEnum<{
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
247
|
+
create: "create";
|
|
248
|
+
update: "update";
|
|
249
|
+
delete: "delete";
|
|
195
250
|
}>>>;
|
|
196
251
|
callbackUrl: z.ZodNonOptional<z.ZodURL>;
|
|
197
252
|
secretKey: z.ZodNonOptional<z.ZodString>;
|
|
@@ -201,11 +256,22 @@ declare class CreateWebhookConfiguration extends AbstractApiRequest<typeof creat
|
|
|
201
256
|
readonly outputSchema: z.ZodObject<{
|
|
202
257
|
id: z.ZodString;
|
|
203
258
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
204
|
-
entityClass: z.
|
|
259
|
+
entityClass: z.ZodEnum<{
|
|
260
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
261
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
262
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
263
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
264
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
265
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
266
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
267
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
268
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
269
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
270
|
+
}>;
|
|
205
271
|
events: z.ZodArray<z.ZodEnum<{
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
272
|
+
create: "create";
|
|
273
|
+
update: "update";
|
|
274
|
+
delete: "delete";
|
|
209
275
|
}>>;
|
|
210
276
|
callbackUrl: z.ZodURL;
|
|
211
277
|
secretKey: z.ZodString;
|
|
@@ -240,11 +306,22 @@ type GetWebhookConfigurationDetailsInput = z.input<typeof getWebhookConfiguratio
|
|
|
240
306
|
declare const getWebhookConfigurationDetailsResponseSchema: z.ZodObject<{
|
|
241
307
|
id: z.ZodString;
|
|
242
308
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
243
|
-
entityClass: z.
|
|
309
|
+
entityClass: z.ZodEnum<{
|
|
310
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
311
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
312
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
313
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
314
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
315
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
316
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
317
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
318
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
319
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
320
|
+
}>;
|
|
244
321
|
events: z.ZodArray<z.ZodEnum<{
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
322
|
+
create: "create";
|
|
323
|
+
update: "update";
|
|
324
|
+
delete: "delete";
|
|
248
325
|
}>>;
|
|
249
326
|
callbackUrl: z.ZodURL;
|
|
250
327
|
secretKey: z.ZodString;
|
|
@@ -262,11 +339,22 @@ declare class GetWebhookConfigurationDetails extends AbstractApiRequest<typeof g
|
|
|
262
339
|
readonly outputSchema: z.ZodObject<{
|
|
263
340
|
id: z.ZodString;
|
|
264
341
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
265
|
-
entityClass: z.
|
|
342
|
+
entityClass: z.ZodEnum<{
|
|
343
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
344
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
345
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
346
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
347
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
348
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
349
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
350
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
351
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
352
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
353
|
+
}>;
|
|
266
354
|
events: z.ZodArray<z.ZodEnum<{
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
355
|
+
create: "create";
|
|
356
|
+
update: "update";
|
|
357
|
+
delete: "delete";
|
|
270
358
|
}>>;
|
|
271
359
|
callbackUrl: z.ZodURL;
|
|
272
360
|
secretKey: z.ZodString;
|
|
@@ -285,13 +373,13 @@ declare class GetWebhookConfigurationDetails extends AbstractApiRequest<typeof g
|
|
|
285
373
|
declare const getWebhookConfigurationsQuerySchema: z.ZodObject<{
|
|
286
374
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
287
375
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
376
|
+
create: "create";
|
|
377
|
+
update: "update";
|
|
378
|
+
delete: "delete";
|
|
291
379
|
}>, z.ZodArray<z.ZodEnum<{
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
380
|
+
create: "create";
|
|
381
|
+
update: "update";
|
|
382
|
+
delete: "delete";
|
|
295
383
|
}>>]>>;
|
|
296
384
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
297
385
|
asc: "asc";
|
|
@@ -316,14 +404,25 @@ declare const getWebhookConfigurationsInputSchema: z.ZodUndefined;
|
|
|
316
404
|
type GetWebhookConfigurationsInput = z.infer<typeof getWebhookConfigurationsInputSchema>;
|
|
317
405
|
declare const getWebhookConfigurationsResponseSchema: z.ZodObject<{
|
|
318
406
|
data: z.ZodArray<z.ZodObject<{
|
|
407
|
+
entityClass: z.ZodEnum<{
|
|
408
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
409
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
410
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
411
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
412
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
413
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
414
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
415
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
416
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
417
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
418
|
+
}>;
|
|
319
419
|
createdAt: z.ZodString;
|
|
320
420
|
updatedAt: z.ZodString;
|
|
321
421
|
id: z.ZodString;
|
|
322
|
-
entityClass: z.ZodString;
|
|
323
422
|
events: z.ZodArray<z.ZodEnum<{
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
423
|
+
create: "create";
|
|
424
|
+
update: "update";
|
|
425
|
+
delete: "delete";
|
|
327
426
|
}>>;
|
|
328
427
|
callbackUrl: z.ZodURL;
|
|
329
428
|
secretKey: z.ZodString;
|
|
@@ -347,14 +446,25 @@ declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebh
|
|
|
347
446
|
readonly inputSchema: z.ZodUndefined;
|
|
348
447
|
readonly outputSchema: z.ZodObject<{
|
|
349
448
|
data: z.ZodArray<z.ZodObject<{
|
|
449
|
+
entityClass: z.ZodEnum<{
|
|
450
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
451
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
452
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
453
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
454
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
455
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
456
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
457
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
458
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
459
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
460
|
+
}>;
|
|
350
461
|
createdAt: z.ZodString;
|
|
351
462
|
updatedAt: z.ZodString;
|
|
352
463
|
id: z.ZodString;
|
|
353
|
-
entityClass: z.ZodString;
|
|
354
464
|
events: z.ZodArray<z.ZodEnum<{
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
465
|
+
create: "create";
|
|
466
|
+
update: "update";
|
|
467
|
+
delete: "delete";
|
|
358
468
|
}>>;
|
|
359
469
|
callbackUrl: z.ZodURL;
|
|
360
470
|
secretKey: z.ZodString;
|
|
@@ -373,13 +483,13 @@ declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebh
|
|
|
373
483
|
readonly querySchema: z.ZodObject<{
|
|
374
484
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
375
485
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
486
|
+
create: "create";
|
|
487
|
+
update: "update";
|
|
488
|
+
delete: "delete";
|
|
379
489
|
}>, z.ZodArray<z.ZodEnum<{
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
490
|
+
create: "create";
|
|
491
|
+
update: "update";
|
|
492
|
+
delete: "delete";
|
|
383
493
|
}>>]>>;
|
|
384
494
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
385
495
|
asc: "asc";
|
|
@@ -410,13 +520,13 @@ declare class GetWebhookConfigurations extends AbstractApiRequest<typeof getWebh
|
|
|
410
520
|
declare const getWebhookConfigurationsFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
411
521
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
412
522
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
523
|
+
create: "create";
|
|
524
|
+
update: "update";
|
|
525
|
+
delete: "delete";
|
|
416
526
|
}>, z.ZodArray<z.ZodEnum<{
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
527
|
+
create: "create";
|
|
528
|
+
update: "update";
|
|
529
|
+
delete: "delete";
|
|
420
530
|
}>>]>>;
|
|
421
531
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
422
532
|
asc: "asc";
|
|
@@ -440,14 +550,25 @@ type GetWebhookConfigurationsFromPointOfSaleQueryParams = z.infer<typeof getWebh
|
|
|
440
550
|
declare const getWebhookConfigurationsFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
441
551
|
type GetWebhookConfigurationsFromPointOfSaleInput = z.input<typeof getWebhookConfigurationsFromPointOfSaleInputSchema>;
|
|
442
552
|
declare const getWebhookConfigurationsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodObject<{
|
|
553
|
+
entityClass: z.ZodEnum<{
|
|
554
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
555
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
556
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
557
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
558
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
559
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
560
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
561
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
562
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
563
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
564
|
+
}>;
|
|
443
565
|
createdAt: z.ZodString;
|
|
444
566
|
updatedAt: z.ZodString;
|
|
445
567
|
id: z.ZodString;
|
|
446
|
-
entityClass: z.ZodString;
|
|
447
568
|
events: z.ZodArray<z.ZodEnum<{
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
569
|
+
create: "create";
|
|
570
|
+
update: "update";
|
|
571
|
+
delete: "delete";
|
|
451
572
|
}>>;
|
|
452
573
|
callbackUrl: z.ZodURL;
|
|
453
574
|
secretKey: z.ZodString;
|
|
@@ -461,14 +582,25 @@ declare class GetWebhookConfigurationsFromPointOfSale extends AbstractApiRequest
|
|
|
461
582
|
readonly accept = "application/json";
|
|
462
583
|
readonly inputSchema: z.ZodUndefined;
|
|
463
584
|
readonly outputSchema: z.ZodArray<z.ZodObject<{
|
|
585
|
+
entityClass: z.ZodEnum<{
|
|
586
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
587
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
588
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
589
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
590
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
591
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
592
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
593
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
594
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
595
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
596
|
+
}>;
|
|
464
597
|
createdAt: z.ZodString;
|
|
465
598
|
updatedAt: z.ZodString;
|
|
466
599
|
id: z.ZodString;
|
|
467
|
-
entityClass: z.ZodString;
|
|
468
600
|
events: z.ZodArray<z.ZodEnum<{
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
601
|
+
create: "create";
|
|
602
|
+
update: "update";
|
|
603
|
+
delete: "delete";
|
|
472
604
|
}>>;
|
|
473
605
|
callbackUrl: z.ZodURL;
|
|
474
606
|
secretKey: z.ZodString;
|
|
@@ -478,13 +610,13 @@ declare class GetWebhookConfigurationsFromPointOfSale extends AbstractApiRequest
|
|
|
478
610
|
readonly querySchema: z.ZodObject<{
|
|
479
611
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
480
612
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
613
|
+
create: "create";
|
|
614
|
+
update: "update";
|
|
615
|
+
delete: "delete";
|
|
484
616
|
}>, z.ZodArray<z.ZodEnum<{
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
617
|
+
create: "create";
|
|
618
|
+
update: "update";
|
|
619
|
+
delete: "delete";
|
|
488
620
|
}>>]>>;
|
|
489
621
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
490
622
|
asc: "asc";
|
|
@@ -514,11 +646,22 @@ declare class GetWebhookConfigurationsFromPointOfSale extends AbstractApiRequest
|
|
|
514
646
|
}
|
|
515
647
|
|
|
516
648
|
declare const updateWebhookConfigurationInputSchema: z.ZodObject<{
|
|
517
|
-
entityClass: z.ZodOptional<z.
|
|
649
|
+
entityClass: z.ZodOptional<z.ZodEnum<{
|
|
650
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
651
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
652
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
653
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
654
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
655
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
656
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
657
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
658
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
659
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
660
|
+
}>>;
|
|
518
661
|
events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
662
|
+
create: "create";
|
|
663
|
+
update: "update";
|
|
664
|
+
delete: "delete";
|
|
522
665
|
}>>>;
|
|
523
666
|
callbackUrl: z.ZodOptional<z.ZodURL>;
|
|
524
667
|
secretKey: z.ZodOptional<z.ZodString>;
|
|
@@ -529,11 +672,22 @@ type UpdateWebhookConfigurationInput = z.input<typeof updateWebhookConfiguration
|
|
|
529
672
|
declare const updateWebhookConfigurationResponseSchema: z.ZodObject<{
|
|
530
673
|
id: z.ZodString;
|
|
531
674
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
532
|
-
entityClass: z.
|
|
675
|
+
entityClass: z.ZodEnum<{
|
|
676
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
677
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
678
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
679
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
680
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
681
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
682
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
683
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
684
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
685
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
686
|
+
}>;
|
|
533
687
|
events: z.ZodArray<z.ZodEnum<{
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
688
|
+
create: "create";
|
|
689
|
+
update: "update";
|
|
690
|
+
delete: "delete";
|
|
537
691
|
}>>;
|
|
538
692
|
callbackUrl: z.ZodURL;
|
|
539
693
|
secretKey: z.ZodString;
|
|
@@ -548,11 +702,22 @@ declare class UpdateWebhookConfiguration extends AbstractApiRequest<typeof updat
|
|
|
548
702
|
readonly contentType = "application/merge-patch+json";
|
|
549
703
|
readonly accept = "application/json";
|
|
550
704
|
readonly inputSchema: z.ZodObject<{
|
|
551
|
-
entityClass: z.ZodOptional<z.
|
|
705
|
+
entityClass: z.ZodOptional<z.ZodEnum<{
|
|
706
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
707
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
708
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
709
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
710
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
711
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
712
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
713
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
714
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
715
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
716
|
+
}>>;
|
|
552
717
|
events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
718
|
+
create: "create";
|
|
719
|
+
update: "update";
|
|
720
|
+
delete: "delete";
|
|
556
721
|
}>>>;
|
|
557
722
|
callbackUrl: z.ZodOptional<z.ZodURL>;
|
|
558
723
|
secretKey: z.ZodOptional<z.ZodString>;
|
|
@@ -562,11 +727,22 @@ declare class UpdateWebhookConfiguration extends AbstractApiRequest<typeof updat
|
|
|
562
727
|
readonly outputSchema: z.ZodObject<{
|
|
563
728
|
id: z.ZodString;
|
|
564
729
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
565
|
-
entityClass: z.
|
|
730
|
+
entityClass: z.ZodEnum<{
|
|
731
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
732
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
733
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
734
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
735
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
736
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
737
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
738
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
739
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
740
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
741
|
+
}>;
|
|
566
742
|
events: z.ZodArray<z.ZodEnum<{
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
743
|
+
create: "create";
|
|
744
|
+
update: "update";
|
|
745
|
+
delete: "delete";
|
|
570
746
|
}>>;
|
|
571
747
|
callbackUrl: z.ZodURL;
|
|
572
748
|
secretKey: z.ZodString;
|
|
@@ -590,9 +766,9 @@ declare const getWebhookLogDetailsResponseSchema: z.ZodObject<{
|
|
|
590
766
|
entityClass: z.ZodString;
|
|
591
767
|
externalEntityId: z.ZodUUID;
|
|
592
768
|
event: z.ZodEnum<{
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
769
|
+
create: "create";
|
|
770
|
+
update: "update";
|
|
771
|
+
delete: "delete";
|
|
596
772
|
}>;
|
|
597
773
|
status: z.ZodEnum<{
|
|
598
774
|
pending: "pending";
|
|
@@ -622,9 +798,9 @@ declare class GetWebhookLogDetails extends AbstractApiRequest<typeof getWebhookL
|
|
|
622
798
|
entityClass: z.ZodString;
|
|
623
799
|
externalEntityId: z.ZodUUID;
|
|
624
800
|
event: z.ZodEnum<{
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
801
|
+
create: "create";
|
|
802
|
+
update: "update";
|
|
803
|
+
delete: "delete";
|
|
628
804
|
}>;
|
|
629
805
|
status: z.ZodEnum<{
|
|
630
806
|
pending: "pending";
|
|
@@ -652,13 +828,13 @@ declare class GetWebhookLogDetails extends AbstractApiRequest<typeof getWebhookL
|
|
|
652
828
|
declare const getWebhookLogsQuerySchema: z.ZodObject<{
|
|
653
829
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
654
830
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
831
|
+
create: "create";
|
|
832
|
+
update: "update";
|
|
833
|
+
delete: "delete";
|
|
658
834
|
}>, z.ZodArray<z.ZodEnum<{
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
835
|
+
create: "create";
|
|
836
|
+
update: "update";
|
|
837
|
+
delete: "delete";
|
|
662
838
|
}>>]>>;
|
|
663
839
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
664
840
|
asc: "asc";
|
|
@@ -683,13 +859,13 @@ declare const getWebhookLogsInputSchema: z.ZodUndefined;
|
|
|
683
859
|
type GetWebhookLogsInput = z.infer<typeof getWebhookLogsInputSchema>;
|
|
684
860
|
declare const getWebhookLogsResponseSchema: z.ZodObject<{
|
|
685
861
|
data: z.ZodArray<z.ZodObject<{
|
|
862
|
+
entityClass: z.ZodString;
|
|
686
863
|
createdAt: z.ZodString;
|
|
687
864
|
id: z.ZodString;
|
|
688
|
-
entityClass: z.ZodString;
|
|
689
865
|
event: z.ZodEnum<{
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
866
|
+
create: "create";
|
|
867
|
+
update: "update";
|
|
868
|
+
delete: "delete";
|
|
693
869
|
}>;
|
|
694
870
|
status: z.ZodEnum<{
|
|
695
871
|
pending: "pending";
|
|
@@ -724,13 +900,13 @@ declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInp
|
|
|
724
900
|
readonly inputSchema: z.ZodUndefined;
|
|
725
901
|
readonly outputSchema: z.ZodObject<{
|
|
726
902
|
data: z.ZodArray<z.ZodObject<{
|
|
903
|
+
entityClass: z.ZodString;
|
|
727
904
|
createdAt: z.ZodString;
|
|
728
905
|
id: z.ZodString;
|
|
729
|
-
entityClass: z.ZodString;
|
|
730
906
|
event: z.ZodEnum<{
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
907
|
+
create: "create";
|
|
908
|
+
update: "update";
|
|
909
|
+
delete: "delete";
|
|
734
910
|
}>;
|
|
735
911
|
status: z.ZodEnum<{
|
|
736
912
|
pending: "pending";
|
|
@@ -760,13 +936,13 @@ declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInp
|
|
|
760
936
|
readonly querySchema: z.ZodObject<{
|
|
761
937
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
762
938
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
939
|
+
create: "create";
|
|
940
|
+
update: "update";
|
|
941
|
+
delete: "delete";
|
|
766
942
|
}>, z.ZodArray<z.ZodEnum<{
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
943
|
+
create: "create";
|
|
944
|
+
update: "update";
|
|
945
|
+
delete: "delete";
|
|
770
946
|
}>>]>>;
|
|
771
947
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
772
948
|
asc: "asc";
|
|
@@ -797,13 +973,13 @@ declare class GetWebhookLogs extends AbstractApiRequest<typeof getWebhookLogsInp
|
|
|
797
973
|
declare const getWebhookLogsFromWebhookConfigurationQuerySchema: z.ZodObject<{
|
|
798
974
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
799
975
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
976
|
+
create: "create";
|
|
977
|
+
update: "update";
|
|
978
|
+
delete: "delete";
|
|
803
979
|
}>, z.ZodArray<z.ZodEnum<{
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
980
|
+
create: "create";
|
|
981
|
+
update: "update";
|
|
982
|
+
delete: "delete";
|
|
807
983
|
}>>]>>;
|
|
808
984
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
809
985
|
asc: "asc";
|
|
@@ -828,13 +1004,13 @@ declare const getWebhookLogsFromWebhookConfigurationInputSchema: z.ZodUndefined;
|
|
|
828
1004
|
type GetWebhookLogsFromWebhookConfigurationInput = z.input<typeof getWebhookLogsFromWebhookConfigurationInputSchema>;
|
|
829
1005
|
declare const getWebhookLogsFromWebhookConfigurationResponseSchema: z.ZodObject<{
|
|
830
1006
|
data: z.ZodArray<z.ZodObject<{
|
|
1007
|
+
entityClass: z.ZodString;
|
|
831
1008
|
createdAt: z.ZodString;
|
|
832
1009
|
id: z.ZodString;
|
|
833
|
-
entityClass: z.ZodString;
|
|
834
1010
|
event: z.ZodEnum<{
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
1011
|
+
create: "create";
|
|
1012
|
+
update: "update";
|
|
1013
|
+
delete: "delete";
|
|
838
1014
|
}>;
|
|
839
1015
|
status: z.ZodEnum<{
|
|
840
1016
|
pending: "pending";
|
|
@@ -869,13 +1045,13 @@ declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<
|
|
|
869
1045
|
readonly inputSchema: z.ZodUndefined;
|
|
870
1046
|
readonly outputSchema: z.ZodObject<{
|
|
871
1047
|
data: z.ZodArray<z.ZodObject<{
|
|
1048
|
+
entityClass: z.ZodString;
|
|
872
1049
|
createdAt: z.ZodString;
|
|
873
1050
|
id: z.ZodString;
|
|
874
|
-
entityClass: z.ZodString;
|
|
875
1051
|
event: z.ZodEnum<{
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
1052
|
+
create: "create";
|
|
1053
|
+
update: "update";
|
|
1054
|
+
delete: "delete";
|
|
879
1055
|
}>;
|
|
880
1056
|
status: z.ZodEnum<{
|
|
881
1057
|
pending: "pending";
|
|
@@ -905,13 +1081,13 @@ declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<
|
|
|
905
1081
|
readonly querySchema: z.ZodObject<{
|
|
906
1082
|
entityClass: z.ZodOptional<z.ZodString>;
|
|
907
1083
|
events: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
1084
|
+
create: "create";
|
|
1085
|
+
update: "update";
|
|
1086
|
+
delete: "delete";
|
|
911
1087
|
}>, z.ZodArray<z.ZodEnum<{
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
1088
|
+
create: "create";
|
|
1089
|
+
update: "update";
|
|
1090
|
+
delete: "delete";
|
|
915
1091
|
}>>]>>;
|
|
916
1092
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
917
1093
|
asc: "asc";
|
|
@@ -940,11 +1116,11 @@ declare class GetWebhookLogsFromWebhookConfiguration extends AbstractApiRequest<
|
|
|
940
1116
|
parseResponse(data: unknown, rawResponse: Response): Paginated<WebhookLogListItem>;
|
|
941
1117
|
}
|
|
942
1118
|
|
|
943
|
-
declare const webhookEvents: readonly ["
|
|
1119
|
+
declare const webhookEvents: readonly ["create", "update", "delete"];
|
|
944
1120
|
declare const webhookEventSchema: z.ZodEnum<{
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
1121
|
+
create: "create";
|
|
1122
|
+
update: "update";
|
|
1123
|
+
delete: "delete";
|
|
948
1124
|
}>;
|
|
949
1125
|
type WebhookEvent = z.infer<typeof webhookEventSchema>;
|
|
950
1126
|
declare const webhookLogStatuses: readonly ["pending", "success", "failed", "timeout"];
|
|
@@ -955,6 +1131,20 @@ declare const webhookLogStatusSchema: z.ZodEnum<{
|
|
|
955
1131
|
timeout: "timeout";
|
|
956
1132
|
}>;
|
|
957
1133
|
type WebhookLogStatus = z.infer<typeof webhookLogStatusSchema>;
|
|
1134
|
+
declare const webhookEntities: readonly ["App\\Entity\\Bundle", "App\\Entity\\Customer", "App\\Entity\\CustomerAddress", "App\\Entity\\CustomerBusinessProfile", "App\\Entity\\Delivery", "App\\Entity\\DeliveryPosition", "App\\Entity\\Integration", "App\\Entity\\IntegrationActivationRequest", "App\\Entity\\Order", "App\\Entity\\PointOfSale"];
|
|
1135
|
+
declare const webhookEntitySchema: z.ZodEnum<{
|
|
1136
|
+
"App\\Entity\\Bundle": "App\\Entity\\Bundle";
|
|
1137
|
+
"App\\Entity\\Customer": "App\\Entity\\Customer";
|
|
1138
|
+
"App\\Entity\\CustomerAddress": "App\\Entity\\CustomerAddress";
|
|
1139
|
+
"App\\Entity\\CustomerBusinessProfile": "App\\Entity\\CustomerBusinessProfile";
|
|
1140
|
+
"App\\Entity\\Delivery": "App\\Entity\\Delivery";
|
|
1141
|
+
"App\\Entity\\DeliveryPosition": "App\\Entity\\DeliveryPosition";
|
|
1142
|
+
"App\\Entity\\Integration": "App\\Entity\\Integration";
|
|
1143
|
+
"App\\Entity\\IntegrationActivationRequest": "App\\Entity\\IntegrationActivationRequest";
|
|
1144
|
+
"App\\Entity\\Order": "App\\Entity\\Order";
|
|
1145
|
+
"App\\Entity\\PointOfSale": "App\\Entity\\PointOfSale";
|
|
1146
|
+
}>;
|
|
1147
|
+
type WebhookEntity = z.infer<typeof webhookEntitySchema>;
|
|
958
1148
|
declare const webhookConfigurationIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/webhooks/configurations/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/webhooks/configurations/:id">, unknown>>;
|
|
959
1149
|
type WebhookConfigurationIri = z.infer<typeof webhookConfigurationIriSchema>;
|
|
960
1150
|
declare const webhookConfigurationNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/webhooks/configurations/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/webhooks/configurations/:id"> | null, unknown>>;
|
|
@@ -964,4 +1154,4 @@ type WebhookLogIri = z.infer<typeof webhookLogIriSchema>;
|
|
|
964
1154
|
declare const webhookLogNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/webhooks/logs/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/webhooks/logs/:id"> | null, unknown>>;
|
|
965
1155
|
type WebhookLogNullableIri = z.infer<typeof webhookLogNullableIriSchema>;
|
|
966
1156
|
|
|
967
|
-
export { CreateWebhookConfiguration, type CreateWebhookConfigurationInput, type CreateWebhookConfigurationResponse, DeleteWebhookConfiguration, GetWebhookConfigurationDetails, type GetWebhookConfigurationDetailsInput, type GetWebhookConfigurationDetailsResponse, GetWebhookConfigurations, GetWebhookConfigurationsFromPointOfSale, type GetWebhookConfigurationsFromPointOfSaleInput, type GetWebhookConfigurationsFromPointOfSaleQueryParams, type GetWebhookConfigurationsFromPointOfSaleResponse, type GetWebhookConfigurationsInput, type GetWebhookConfigurationsQueryParams, type GetWebhookConfigurationsResponse, GetWebhookLogDetails, type GetWebhookLogDetailsInput, type GetWebhookLogDetailsResponse, GetWebhookLogs, GetWebhookLogsFromWebhookConfiguration, type GetWebhookLogsFromWebhookConfigurationInput, type GetWebhookLogsFromWebhookConfigurationQueryParams, type GetWebhookLogsFromWebhookConfigurationResponse, type GetWebhookLogsInput, type GetWebhookLogsQueryParams, type GetWebhookLogsResponse, UpdateWebhookConfiguration, type UpdateWebhookConfigurationInput, type UpdateWebhookConfigurationResponse, type WebhookConfiguration, type WebhookConfigurationIri, type WebhookConfigurationListItem, type WebhookConfigurationNullableIri, type WebhookConfigurationsQueryParams, type WebhookEvent, type WebhookLog, type WebhookLogIri, type WebhookLogListItem, type WebhookLogNullableIri, type WebhookLogStatus, type WebhookLogsQueryParams, createWebhookConfigurationInputSchema, createWebhookConfigurationResponseSchema, deleteWebhookConfigurationInputSchema, deleteWebhookConfigurationResponseSchema, getWebhookConfigurationDetailsInputSchema, getWebhookConfigurationDetailsResponseSchema, getWebhookConfigurationsFromPointOfSaleInputSchema, getWebhookConfigurationsFromPointOfSaleQuerySchema, getWebhookConfigurationsFromPointOfSaleResponseSchema, getWebhookConfigurationsInputSchema, getWebhookConfigurationsQuerySchema, getWebhookConfigurationsResponseSchema, getWebhookLogDetailsInputSchema, getWebhookLogDetailsResponseSchema, getWebhookLogsFromWebhookConfigurationInputSchema, getWebhookLogsFromWebhookConfigurationQuerySchema, getWebhookLogsFromWebhookConfigurationResponseSchema, getWebhookLogsInputSchema, getWebhookLogsQuerySchema, getWebhookLogsResponseSchema, updateWebhookConfigurationInputSchema, updateWebhookConfigurationResponseSchema, webhookConfigurationIriSchema, webhookConfigurationListItemSchema, webhookConfigurationNullableIriSchema, webhookConfigurationSchema, webhookConfigurationsQuerySchema, webhookEventSchema, webhookEvents, webhookLogIriSchema, webhookLogListItemSchema, webhookLogNullableIriSchema, webhookLogSchema, webhookLogStatusSchema, webhookLogStatuses, webhookLogsQuerySchema };
|
|
1157
|
+
export { CreateWebhookConfiguration, type CreateWebhookConfigurationInput, type CreateWebhookConfigurationResponse, DeleteWebhookConfiguration, GetWebhookConfigurationDetails, type GetWebhookConfigurationDetailsInput, type GetWebhookConfigurationDetailsResponse, GetWebhookConfigurations, GetWebhookConfigurationsFromPointOfSale, type GetWebhookConfigurationsFromPointOfSaleInput, type GetWebhookConfigurationsFromPointOfSaleQueryParams, type GetWebhookConfigurationsFromPointOfSaleResponse, type GetWebhookConfigurationsInput, type GetWebhookConfigurationsQueryParams, type GetWebhookConfigurationsResponse, GetWebhookLogDetails, type GetWebhookLogDetailsInput, type GetWebhookLogDetailsResponse, GetWebhookLogs, GetWebhookLogsFromWebhookConfiguration, type GetWebhookLogsFromWebhookConfigurationInput, type GetWebhookLogsFromWebhookConfigurationQueryParams, type GetWebhookLogsFromWebhookConfigurationResponse, type GetWebhookLogsInput, type GetWebhookLogsQueryParams, type GetWebhookLogsResponse, UpdateWebhookConfiguration, type UpdateWebhookConfigurationInput, type UpdateWebhookConfigurationResponse, type WebhookConfiguration, type WebhookConfigurationIri, type WebhookConfigurationListItem, type WebhookConfigurationNullableIri, type WebhookConfigurationsQueryParams, type WebhookEntity, type WebhookEvent, type WebhookLog, type WebhookLogIri, type WebhookLogListItem, type WebhookLogNullableIri, type WebhookLogStatus, type WebhookLogsQueryParams, createWebhookConfigurationInputSchema, createWebhookConfigurationResponseSchema, deleteWebhookConfigurationInputSchema, deleteWebhookConfigurationResponseSchema, getWebhookConfigurationDetailsInputSchema, getWebhookConfigurationDetailsResponseSchema, getWebhookConfigurationsFromPointOfSaleInputSchema, getWebhookConfigurationsFromPointOfSaleQuerySchema, getWebhookConfigurationsFromPointOfSaleResponseSchema, getWebhookConfigurationsInputSchema, getWebhookConfigurationsQuerySchema, getWebhookConfigurationsResponseSchema, getWebhookLogDetailsInputSchema, getWebhookLogDetailsResponseSchema, getWebhookLogsFromWebhookConfigurationInputSchema, getWebhookLogsFromWebhookConfigurationQuerySchema, getWebhookLogsFromWebhookConfigurationResponseSchema, getWebhookLogsInputSchema, getWebhookLogsQuerySchema, getWebhookLogsResponseSchema, updateWebhookConfigurationInputSchema, updateWebhookConfigurationResponseSchema, webhookConfigurationIriSchema, webhookConfigurationListItemSchema, webhookConfigurationNullableIriSchema, webhookConfigurationSchema, webhookConfigurationsQuerySchema, webhookEntities, webhookEntitySchema, webhookEventSchema, webhookEvents, webhookLogIriSchema, webhookLogListItemSchema, webhookLogNullableIriSchema, webhookLogSchema, webhookLogStatusSchema, webhookLogStatuses, webhookLogsQuerySchema };
|