@deliverart/sdk-js-email-notification-configuration 2.13.1 → 2.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -4
- package/dist/index.cjs +118 -25
- package/dist/index.d.cts +444 -2
- package/dist/index.d.ts +444 -2
- package/dist/index.js +116 -25
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -2,14 +2,24 @@ import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-type
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
4
4
|
|
|
5
|
-
declare const
|
|
5
|
+
declare const orderEmailNotificationConfigurationConfigSchema: z.ZodObject<{
|
|
6
6
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
7
7
|
application: "application";
|
|
8
8
|
ecommerce: "ecommerce";
|
|
9
9
|
partner: "partner";
|
|
10
10
|
}>>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
|
+
declare const emptyEmailNotificationConfigurationConfigSchema: z.ZodObject<{}, z.core.$strip>;
|
|
13
|
+
declare const emailNotificationConfigurationConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
14
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
15
|
+
application: "application";
|
|
16
|
+
ecommerce: "ecommerce";
|
|
17
|
+
partner: "partner";
|
|
18
|
+
}>>;
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>]>;
|
|
12
20
|
type EmailNotificationConfigurationConfig = z.infer<typeof emailNotificationConfigurationConfigSchema>;
|
|
21
|
+
type OrderEmailNotificationConfigurationConfig = z.infer<typeof orderEmailNotificationConfigurationConfigSchema>;
|
|
22
|
+
type EmptyEmailNotificationConfigurationConfig = z.infer<typeof emptyEmailNotificationConfigurationConfigSchema>;
|
|
13
23
|
declare const emailNotificationConfigurationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14
24
|
id: z.ZodString;
|
|
15
25
|
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>>;
|
|
@@ -94,6 +104,30 @@ declare const emailNotificationConfigurationSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
94
104
|
isActive: z.ZodBoolean;
|
|
95
105
|
createdAt: z.ZodString;
|
|
96
106
|
updatedAt: z.ZodString;
|
|
107
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
108
|
+
id: z.ZodString;
|
|
109
|
+
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>>;
|
|
110
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
111
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
112
|
+
isActive: z.ZodBoolean;
|
|
113
|
+
createdAt: z.ZodString;
|
|
114
|
+
updatedAt: z.ZodString;
|
|
115
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
116
|
+
id: z.ZodString;
|
|
117
|
+
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>>;
|
|
118
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
119
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
120
|
+
isActive: z.ZodBoolean;
|
|
121
|
+
createdAt: z.ZodString;
|
|
122
|
+
updatedAt: z.ZodString;
|
|
123
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
124
|
+
id: z.ZodString;
|
|
125
|
+
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>>;
|
|
126
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
127
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
128
|
+
isActive: z.ZodBoolean;
|
|
129
|
+
createdAt: z.ZodString;
|
|
130
|
+
updatedAt: z.ZodString;
|
|
97
131
|
}, z.core.$strip>], "templateKey">;
|
|
98
132
|
type EmailNotificationConfiguration = z.infer<typeof emailNotificationConfigurationSchema>;
|
|
99
133
|
declare const emailNotificationConfigurationSchemaListItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -174,6 +208,27 @@ declare const emailNotificationConfigurationSchemaListItem: z.ZodDiscriminatedUn
|
|
|
174
208
|
isActive: z.ZodBoolean;
|
|
175
209
|
createdAt: z.ZodString;
|
|
176
210
|
updatedAt: z.ZodString;
|
|
211
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
212
|
+
id: z.ZodString;
|
|
213
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
214
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
215
|
+
isActive: z.ZodBoolean;
|
|
216
|
+
createdAt: z.ZodString;
|
|
217
|
+
updatedAt: z.ZodString;
|
|
218
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
219
|
+
id: z.ZodString;
|
|
220
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
221
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
222
|
+
isActive: z.ZodBoolean;
|
|
223
|
+
createdAt: z.ZodString;
|
|
224
|
+
updatedAt: z.ZodString;
|
|
225
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
226
|
+
id: z.ZodString;
|
|
227
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
228
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
229
|
+
isActive: z.ZodBoolean;
|
|
230
|
+
createdAt: z.ZodString;
|
|
231
|
+
updatedAt: z.ZodString;
|
|
177
232
|
}, z.core.$strip>], "templateKey">;
|
|
178
233
|
type EmailNotificationConfigurationListItem = z.infer<typeof emailNotificationConfigurationSchemaListItem>;
|
|
179
234
|
declare const writableUpdateEmailNotificationConfigurationSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -236,6 +291,18 @@ declare const writableUpdateEmailNotificationConfigurationSchema: z.ZodUnion<rea
|
|
|
236
291
|
}>>;
|
|
237
292
|
}, z.core.$strip>>;
|
|
238
293
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
294
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
295
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
296
|
+
config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
297
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
298
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
299
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
300
|
+
config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
301
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
302
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
303
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
304
|
+
config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
305
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
239
306
|
}, z.core.$strip>]>;
|
|
240
307
|
type WritableUpdateEmailNotificationConfiguration = z.infer<typeof writableUpdateEmailNotificationConfigurationSchema>;
|
|
241
308
|
declare const writableCreateEmailNotificationConfigurationSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -304,6 +371,21 @@ declare const writableCreateEmailNotificationConfigurationSchema: z.ZodUnion<rea
|
|
|
304
371
|
}>>;
|
|
305
372
|
}, z.core.$strip>;
|
|
306
373
|
isActive: z.ZodBoolean;
|
|
374
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
375
|
+
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>>;
|
|
376
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
377
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
378
|
+
isActive: z.ZodBoolean;
|
|
379
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
380
|
+
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>>;
|
|
381
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
382
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
383
|
+
isActive: z.ZodBoolean;
|
|
384
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
385
|
+
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>>;
|
|
386
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
387
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
388
|
+
isActive: z.ZodBoolean;
|
|
307
389
|
}, z.core.$strip>]>;
|
|
308
390
|
type WritableCreateEmailNotificationConfiguration = z.infer<typeof writableCreateEmailNotificationConfigurationSchema>;
|
|
309
391
|
declare const emailNotificationConfigurationsQuerySchema: z.ZodObject<{
|
|
@@ -315,6 +397,9 @@ declare const emailNotificationConfigurationsQuerySchema: z.ZodObject<{
|
|
|
315
397
|
order_delivered: "order_delivered";
|
|
316
398
|
order_in_preparation: "order_in_preparation";
|
|
317
399
|
order_preparation_done: "order_preparation_done";
|
|
400
|
+
subscription_expiring: "subscription_expiring";
|
|
401
|
+
subscription_low_credits: "subscription_low_credits";
|
|
402
|
+
subscription_pending_renewal: "subscription_pending_renewal";
|
|
318
403
|
}>, z.ZodArray<z.ZodEnum<{
|
|
319
404
|
delivery_started: "delivery_started";
|
|
320
405
|
delivery_taken_over: "delivery_taken_over";
|
|
@@ -322,6 +407,9 @@ declare const emailNotificationConfigurationsQuerySchema: z.ZodObject<{
|
|
|
322
407
|
order_delivered: "order_delivered";
|
|
323
408
|
order_in_preparation: "order_in_preparation";
|
|
324
409
|
order_preparation_done: "order_preparation_done";
|
|
410
|
+
subscription_expiring: "subscription_expiring";
|
|
411
|
+
subscription_low_credits: "subscription_low_credits";
|
|
412
|
+
subscription_pending_renewal: "subscription_pending_renewal";
|
|
325
413
|
}>>]>>;
|
|
326
414
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
327
415
|
asc: "asc";
|
|
@@ -409,6 +497,21 @@ declare const createEmailNotificationConfigurationInputSchema: z.ZodUnion<readon
|
|
|
409
497
|
}>>;
|
|
410
498
|
}, z.core.$strip>;
|
|
411
499
|
isActive: z.ZodBoolean;
|
|
500
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
501
|
+
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>>;
|
|
502
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
503
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
504
|
+
isActive: z.ZodBoolean;
|
|
505
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
506
|
+
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>>;
|
|
507
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
508
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
509
|
+
isActive: z.ZodBoolean;
|
|
510
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
511
|
+
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>>;
|
|
512
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
513
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
514
|
+
isActive: z.ZodBoolean;
|
|
412
515
|
}, z.core.$strip>]>;
|
|
413
516
|
type CreateEmailNotificationConfigurationInput = z.input<typeof createEmailNotificationConfigurationInputSchema>;
|
|
414
517
|
declare const createEmailNotificationConfigurationResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -495,6 +598,30 @@ declare const createEmailNotificationConfigurationResponseSchema: z.ZodDiscrimin
|
|
|
495
598
|
isActive: z.ZodBoolean;
|
|
496
599
|
createdAt: z.ZodString;
|
|
497
600
|
updatedAt: z.ZodString;
|
|
601
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
602
|
+
id: z.ZodString;
|
|
603
|
+
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>>;
|
|
604
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
605
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
606
|
+
isActive: z.ZodBoolean;
|
|
607
|
+
createdAt: z.ZodString;
|
|
608
|
+
updatedAt: z.ZodString;
|
|
609
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
610
|
+
id: z.ZodString;
|
|
611
|
+
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>>;
|
|
612
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
613
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
614
|
+
isActive: z.ZodBoolean;
|
|
615
|
+
createdAt: z.ZodString;
|
|
616
|
+
updatedAt: z.ZodString;
|
|
617
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
618
|
+
id: z.ZodString;
|
|
619
|
+
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>>;
|
|
620
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
621
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
622
|
+
isActive: z.ZodBoolean;
|
|
623
|
+
createdAt: z.ZodString;
|
|
624
|
+
updatedAt: z.ZodString;
|
|
498
625
|
}, z.core.$strip>], "templateKey">;
|
|
499
626
|
type CreateEmailNotificationConfigurationResponse = z.infer<typeof createEmailNotificationConfigurationResponseSchema>;
|
|
500
627
|
declare class CreateEmailNotificationConfiguration extends AbstractApiRequest<typeof createEmailNotificationConfigurationInputSchema, typeof createEmailNotificationConfigurationResponseSchema> {
|
|
@@ -567,6 +694,21 @@ declare class CreateEmailNotificationConfiguration extends AbstractApiRequest<ty
|
|
|
567
694
|
}>>;
|
|
568
695
|
}, z.core.$strip>;
|
|
569
696
|
isActive: z.ZodBoolean;
|
|
697
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
698
|
+
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>>;
|
|
699
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
700
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
701
|
+
isActive: z.ZodBoolean;
|
|
702
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
703
|
+
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>>;
|
|
704
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
705
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
706
|
+
isActive: z.ZodBoolean;
|
|
707
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
708
|
+
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>>;
|
|
709
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
710
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
711
|
+
isActive: z.ZodBoolean;
|
|
570
712
|
}, z.core.$strip>]>;
|
|
571
713
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
572
714
|
id: z.ZodString;
|
|
@@ -652,6 +794,30 @@ declare class CreateEmailNotificationConfiguration extends AbstractApiRequest<ty
|
|
|
652
794
|
isActive: z.ZodBoolean;
|
|
653
795
|
createdAt: z.ZodString;
|
|
654
796
|
updatedAt: z.ZodString;
|
|
797
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
798
|
+
id: z.ZodString;
|
|
799
|
+
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>>;
|
|
800
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
801
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
802
|
+
isActive: z.ZodBoolean;
|
|
803
|
+
createdAt: z.ZodString;
|
|
804
|
+
updatedAt: z.ZodString;
|
|
805
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
806
|
+
id: z.ZodString;
|
|
807
|
+
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>>;
|
|
808
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
809
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
810
|
+
isActive: z.ZodBoolean;
|
|
811
|
+
createdAt: z.ZodString;
|
|
812
|
+
updatedAt: z.ZodString;
|
|
813
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
814
|
+
id: z.ZodString;
|
|
815
|
+
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>>;
|
|
816
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
817
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
818
|
+
isActive: z.ZodBoolean;
|
|
819
|
+
createdAt: z.ZodString;
|
|
820
|
+
updatedAt: z.ZodString;
|
|
655
821
|
}, z.core.$strip>], "templateKey">;
|
|
656
822
|
readonly querySchema: undefined;
|
|
657
823
|
readonly headersSchema: undefined;
|
|
@@ -760,6 +926,30 @@ declare const getEmailNotificationConfigurationDetailsResponseSchema: z.ZodDiscr
|
|
|
760
926
|
isActive: z.ZodBoolean;
|
|
761
927
|
createdAt: z.ZodString;
|
|
762
928
|
updatedAt: z.ZodString;
|
|
929
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
930
|
+
id: z.ZodString;
|
|
931
|
+
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>>;
|
|
932
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
933
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
934
|
+
isActive: z.ZodBoolean;
|
|
935
|
+
createdAt: z.ZodString;
|
|
936
|
+
updatedAt: z.ZodString;
|
|
937
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
938
|
+
id: z.ZodString;
|
|
939
|
+
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>>;
|
|
940
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
941
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
942
|
+
isActive: z.ZodBoolean;
|
|
943
|
+
createdAt: z.ZodString;
|
|
944
|
+
updatedAt: z.ZodString;
|
|
945
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
946
|
+
id: z.ZodString;
|
|
947
|
+
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>>;
|
|
948
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
949
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
950
|
+
isActive: z.ZodBoolean;
|
|
951
|
+
createdAt: z.ZodString;
|
|
952
|
+
updatedAt: z.ZodString;
|
|
763
953
|
}, z.core.$strip>], "templateKey">;
|
|
764
954
|
type GetEmailNotificationConfigurationDetailsResponse = z.infer<typeof getEmailNotificationConfigurationDetailsResponseSchema>;
|
|
765
955
|
declare class GetEmailNotificationConfigurationDetails extends AbstractApiRequest<typeof getEmailNotificationConfigurationDetailsInputSchema, typeof getEmailNotificationConfigurationDetailsResponseSchema> {
|
|
@@ -851,6 +1041,30 @@ declare class GetEmailNotificationConfigurationDetails extends AbstractApiReques
|
|
|
851
1041
|
isActive: z.ZodBoolean;
|
|
852
1042
|
createdAt: z.ZodString;
|
|
853
1043
|
updatedAt: z.ZodString;
|
|
1044
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1045
|
+
id: z.ZodString;
|
|
1046
|
+
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>>;
|
|
1047
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
1048
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1049
|
+
isActive: z.ZodBoolean;
|
|
1050
|
+
createdAt: z.ZodString;
|
|
1051
|
+
updatedAt: z.ZodString;
|
|
1052
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1053
|
+
id: z.ZodString;
|
|
1054
|
+
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>>;
|
|
1055
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
1056
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1057
|
+
isActive: z.ZodBoolean;
|
|
1058
|
+
createdAt: z.ZodString;
|
|
1059
|
+
updatedAt: z.ZodString;
|
|
1060
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1061
|
+
id: z.ZodString;
|
|
1062
|
+
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>>;
|
|
1063
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
1064
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1065
|
+
isActive: z.ZodBoolean;
|
|
1066
|
+
createdAt: z.ZodString;
|
|
1067
|
+
updatedAt: z.ZodString;
|
|
854
1068
|
}, z.core.$strip>], "templateKey">;
|
|
855
1069
|
readonly querySchema: undefined;
|
|
856
1070
|
readonly headersSchema: undefined;
|
|
@@ -868,6 +1082,9 @@ declare const getEmailNotificationConfigurationsQuerySchema: z.ZodObject<{
|
|
|
868
1082
|
order_delivered: "order_delivered";
|
|
869
1083
|
order_in_preparation: "order_in_preparation";
|
|
870
1084
|
order_preparation_done: "order_preparation_done";
|
|
1085
|
+
subscription_expiring: "subscription_expiring";
|
|
1086
|
+
subscription_low_credits: "subscription_low_credits";
|
|
1087
|
+
subscription_pending_renewal: "subscription_pending_renewal";
|
|
871
1088
|
}>, z.ZodArray<z.ZodEnum<{
|
|
872
1089
|
delivery_started: "delivery_started";
|
|
873
1090
|
delivery_taken_over: "delivery_taken_over";
|
|
@@ -875,6 +1092,9 @@ declare const getEmailNotificationConfigurationsQuerySchema: z.ZodObject<{
|
|
|
875
1092
|
order_delivered: "order_delivered";
|
|
876
1093
|
order_in_preparation: "order_in_preparation";
|
|
877
1094
|
order_preparation_done: "order_preparation_done";
|
|
1095
|
+
subscription_expiring: "subscription_expiring";
|
|
1096
|
+
subscription_low_credits: "subscription_low_credits";
|
|
1097
|
+
subscription_pending_renewal: "subscription_pending_renewal";
|
|
878
1098
|
}>>]>>;
|
|
879
1099
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
880
1100
|
asc: "asc";
|
|
@@ -976,6 +1196,27 @@ declare const getEmailNotificationConfigurationsResponseSchema: z.ZodObject<{
|
|
|
976
1196
|
isActive: z.ZodBoolean;
|
|
977
1197
|
createdAt: z.ZodString;
|
|
978
1198
|
updatedAt: z.ZodString;
|
|
1199
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1200
|
+
id: z.ZodString;
|
|
1201
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
1202
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1203
|
+
isActive: z.ZodBoolean;
|
|
1204
|
+
createdAt: z.ZodString;
|
|
1205
|
+
updatedAt: z.ZodString;
|
|
1206
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1207
|
+
id: z.ZodString;
|
|
1208
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
1209
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1210
|
+
isActive: z.ZodBoolean;
|
|
1211
|
+
createdAt: z.ZodString;
|
|
1212
|
+
updatedAt: z.ZodString;
|
|
1213
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1214
|
+
id: z.ZodString;
|
|
1215
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
1216
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1217
|
+
isActive: z.ZodBoolean;
|
|
1218
|
+
createdAt: z.ZodString;
|
|
1219
|
+
updatedAt: z.ZodString;
|
|
979
1220
|
}, z.core.$strip>], "templateKey">>;
|
|
980
1221
|
pagination: z.ZodObject<{
|
|
981
1222
|
from: z.ZodCoercedNumber<unknown>;
|
|
@@ -1071,6 +1312,27 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
|
|
|
1071
1312
|
isActive: z.ZodBoolean;
|
|
1072
1313
|
createdAt: z.ZodString;
|
|
1073
1314
|
updatedAt: z.ZodString;
|
|
1315
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1316
|
+
id: z.ZodString;
|
|
1317
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
1318
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1319
|
+
isActive: z.ZodBoolean;
|
|
1320
|
+
createdAt: z.ZodString;
|
|
1321
|
+
updatedAt: z.ZodString;
|
|
1322
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1323
|
+
id: z.ZodString;
|
|
1324
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
1325
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1326
|
+
isActive: z.ZodBoolean;
|
|
1327
|
+
createdAt: z.ZodString;
|
|
1328
|
+
updatedAt: z.ZodString;
|
|
1329
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1330
|
+
id: z.ZodString;
|
|
1331
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
1332
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1333
|
+
isActive: z.ZodBoolean;
|
|
1334
|
+
createdAt: z.ZodString;
|
|
1335
|
+
updatedAt: z.ZodString;
|
|
1074
1336
|
}, z.core.$strip>], "templateKey">>;
|
|
1075
1337
|
pagination: z.ZodObject<{
|
|
1076
1338
|
from: z.ZodCoercedNumber<unknown>;
|
|
@@ -1090,6 +1352,9 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
|
|
|
1090
1352
|
order_delivered: "order_delivered";
|
|
1091
1353
|
order_in_preparation: "order_in_preparation";
|
|
1092
1354
|
order_preparation_done: "order_preparation_done";
|
|
1355
|
+
subscription_expiring: "subscription_expiring";
|
|
1356
|
+
subscription_low_credits: "subscription_low_credits";
|
|
1357
|
+
subscription_pending_renewal: "subscription_pending_renewal";
|
|
1093
1358
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1094
1359
|
delivery_started: "delivery_started";
|
|
1095
1360
|
delivery_taken_over: "delivery_taken_over";
|
|
@@ -1097,6 +1362,9 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
|
|
|
1097
1362
|
order_delivered: "order_delivered";
|
|
1098
1363
|
order_in_preparation: "order_in_preparation";
|
|
1099
1364
|
order_preparation_done: "order_preparation_done";
|
|
1365
|
+
subscription_expiring: "subscription_expiring";
|
|
1366
|
+
subscription_low_credits: "subscription_low_credits";
|
|
1367
|
+
subscription_pending_renewal: "subscription_pending_renewal";
|
|
1100
1368
|
}>>]>>;
|
|
1101
1369
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
1102
1370
|
asc: "asc";
|
|
@@ -1201,6 +1469,30 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
|
|
|
1201
1469
|
isActive: z.ZodBoolean;
|
|
1202
1470
|
createdAt: z.ZodString;
|
|
1203
1471
|
updatedAt: z.ZodString;
|
|
1472
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1473
|
+
id: z.ZodString;
|
|
1474
|
+
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>>;
|
|
1475
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
1476
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1477
|
+
isActive: z.ZodBoolean;
|
|
1478
|
+
createdAt: z.ZodString;
|
|
1479
|
+
updatedAt: z.ZodString;
|
|
1480
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1481
|
+
id: z.ZodString;
|
|
1482
|
+
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>>;
|
|
1483
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
1484
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1485
|
+
isActive: z.ZodBoolean;
|
|
1486
|
+
createdAt: z.ZodString;
|
|
1487
|
+
updatedAt: z.ZodString;
|
|
1488
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1489
|
+
id: z.ZodString;
|
|
1490
|
+
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>>;
|
|
1491
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
1492
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1493
|
+
isActive: z.ZodBoolean;
|
|
1494
|
+
createdAt: z.ZodString;
|
|
1495
|
+
updatedAt: z.ZodString;
|
|
1204
1496
|
}, z.core.$strip>], "templateKey">;
|
|
1205
1497
|
readonly paginationDefaultEnabled = true;
|
|
1206
1498
|
constructor(options?: {
|
|
@@ -1218,6 +1510,9 @@ declare const getEmailNotificationConfigurationsFromPointOfSaleQuerySchema: z.Zo
|
|
|
1218
1510
|
order_delivered: "order_delivered";
|
|
1219
1511
|
order_in_preparation: "order_in_preparation";
|
|
1220
1512
|
order_preparation_done: "order_preparation_done";
|
|
1513
|
+
subscription_expiring: "subscription_expiring";
|
|
1514
|
+
subscription_low_credits: "subscription_low_credits";
|
|
1515
|
+
subscription_pending_renewal: "subscription_pending_renewal";
|
|
1221
1516
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1222
1517
|
delivery_started: "delivery_started";
|
|
1223
1518
|
delivery_taken_over: "delivery_taken_over";
|
|
@@ -1225,6 +1520,9 @@ declare const getEmailNotificationConfigurationsFromPointOfSaleQuerySchema: z.Zo
|
|
|
1225
1520
|
order_delivered: "order_delivered";
|
|
1226
1521
|
order_in_preparation: "order_in_preparation";
|
|
1227
1522
|
order_preparation_done: "order_preparation_done";
|
|
1523
|
+
subscription_expiring: "subscription_expiring";
|
|
1524
|
+
subscription_low_credits: "subscription_low_credits";
|
|
1525
|
+
subscription_pending_renewal: "subscription_pending_renewal";
|
|
1228
1526
|
}>>]>>;
|
|
1229
1527
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
1230
1528
|
asc: "asc";
|
|
@@ -1325,6 +1623,27 @@ declare const getEmailNotificationConfigurationsFromPointOfSaleResponseSchema: z
|
|
|
1325
1623
|
isActive: z.ZodBoolean;
|
|
1326
1624
|
createdAt: z.ZodString;
|
|
1327
1625
|
updatedAt: z.ZodString;
|
|
1626
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1627
|
+
id: z.ZodString;
|
|
1628
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
1629
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1630
|
+
isActive: z.ZodBoolean;
|
|
1631
|
+
createdAt: z.ZodString;
|
|
1632
|
+
updatedAt: z.ZodString;
|
|
1633
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1634
|
+
id: z.ZodString;
|
|
1635
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
1636
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1637
|
+
isActive: z.ZodBoolean;
|
|
1638
|
+
createdAt: z.ZodString;
|
|
1639
|
+
updatedAt: z.ZodString;
|
|
1640
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1641
|
+
id: z.ZodString;
|
|
1642
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
1643
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1644
|
+
isActive: z.ZodBoolean;
|
|
1645
|
+
createdAt: z.ZodString;
|
|
1646
|
+
updatedAt: z.ZodString;
|
|
1328
1647
|
}, z.core.$strip>], "templateKey">>;
|
|
1329
1648
|
type GetEmailNotificationConfigurationsFromPointOfSaleResponse = z.infer<typeof getEmailNotificationConfigurationsFromPointOfSaleResponseSchema>;
|
|
1330
1649
|
declare class GetEmailNotificationConfigurationsFromPointOfSale extends AbstractApiRequest<typeof getEmailNotificationConfigurationsFromPointOfSaleInputSchema, typeof getEmailNotificationConfigurationsFromPointOfSaleResponseSchema, GetEmailNotificationConfigurationsFromPointOfSaleQueryParams> {
|
|
@@ -1410,6 +1729,27 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
|
|
|
1410
1729
|
isActive: z.ZodBoolean;
|
|
1411
1730
|
createdAt: z.ZodString;
|
|
1412
1731
|
updatedAt: z.ZodString;
|
|
1732
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1733
|
+
id: z.ZodString;
|
|
1734
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
1735
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1736
|
+
isActive: z.ZodBoolean;
|
|
1737
|
+
createdAt: z.ZodString;
|
|
1738
|
+
updatedAt: z.ZodString;
|
|
1739
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1740
|
+
id: z.ZodString;
|
|
1741
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
1742
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1743
|
+
isActive: z.ZodBoolean;
|
|
1744
|
+
createdAt: z.ZodString;
|
|
1745
|
+
updatedAt: z.ZodString;
|
|
1746
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1747
|
+
id: z.ZodString;
|
|
1748
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
1749
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1750
|
+
isActive: z.ZodBoolean;
|
|
1751
|
+
createdAt: z.ZodString;
|
|
1752
|
+
updatedAt: z.ZodString;
|
|
1413
1753
|
}, z.core.$strip>], "templateKey">>;
|
|
1414
1754
|
readonly querySchema: z.ZodObject<{
|
|
1415
1755
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
@@ -1420,6 +1760,9 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
|
|
|
1420
1760
|
order_delivered: "order_delivered";
|
|
1421
1761
|
order_in_preparation: "order_in_preparation";
|
|
1422
1762
|
order_preparation_done: "order_preparation_done";
|
|
1763
|
+
subscription_expiring: "subscription_expiring";
|
|
1764
|
+
subscription_low_credits: "subscription_low_credits";
|
|
1765
|
+
subscription_pending_renewal: "subscription_pending_renewal";
|
|
1423
1766
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1424
1767
|
delivery_started: "delivery_started";
|
|
1425
1768
|
delivery_taken_over: "delivery_taken_over";
|
|
@@ -1427,6 +1770,9 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
|
|
|
1427
1770
|
order_delivered: "order_delivered";
|
|
1428
1771
|
order_in_preparation: "order_in_preparation";
|
|
1429
1772
|
order_preparation_done: "order_preparation_done";
|
|
1773
|
+
subscription_expiring: "subscription_expiring";
|
|
1774
|
+
subscription_low_credits: "subscription_low_credits";
|
|
1775
|
+
subscription_pending_renewal: "subscription_pending_renewal";
|
|
1430
1776
|
}>>]>>;
|
|
1431
1777
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
1432
1778
|
asc: "asc";
|
|
@@ -1531,6 +1877,30 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
|
|
|
1531
1877
|
isActive: z.ZodBoolean;
|
|
1532
1878
|
createdAt: z.ZodString;
|
|
1533
1879
|
updatedAt: z.ZodString;
|
|
1880
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1881
|
+
id: z.ZodString;
|
|
1882
|
+
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>>;
|
|
1883
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
1884
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1885
|
+
isActive: z.ZodBoolean;
|
|
1886
|
+
createdAt: z.ZodString;
|
|
1887
|
+
updatedAt: z.ZodString;
|
|
1888
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1889
|
+
id: z.ZodString;
|
|
1890
|
+
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>>;
|
|
1891
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
1892
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1893
|
+
isActive: z.ZodBoolean;
|
|
1894
|
+
createdAt: z.ZodString;
|
|
1895
|
+
updatedAt: z.ZodString;
|
|
1896
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1897
|
+
id: z.ZodString;
|
|
1898
|
+
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>>;
|
|
1899
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
1900
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
1901
|
+
isActive: z.ZodBoolean;
|
|
1902
|
+
createdAt: z.ZodString;
|
|
1903
|
+
updatedAt: z.ZodString;
|
|
1534
1904
|
}, z.core.$strip>], "templateKey">;
|
|
1535
1905
|
readonly paginationDefaultEnabled = false;
|
|
1536
1906
|
private readonly pointOfSaleId;
|
|
@@ -1600,6 +1970,18 @@ declare const updateEmailNotificationConfigurationInputSchema: z.ZodUnion<readon
|
|
|
1600
1970
|
}>>;
|
|
1601
1971
|
}, z.core.$strip>>;
|
|
1602
1972
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1973
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1974
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
1975
|
+
config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
1976
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1977
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1978
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
1979
|
+
config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
1980
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1981
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1982
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
1983
|
+
config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
1984
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1603
1985
|
}, z.core.$strip>]>;
|
|
1604
1986
|
type UpdateEmailNotificationConfigurationInput = z.input<typeof updateEmailNotificationConfigurationInputSchema>;
|
|
1605
1987
|
declare const updateEmailNotificationConfigurationResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1686,6 +2068,30 @@ declare const updateEmailNotificationConfigurationResponseSchema: z.ZodDiscrimin
|
|
|
1686
2068
|
isActive: z.ZodBoolean;
|
|
1687
2069
|
createdAt: z.ZodString;
|
|
1688
2070
|
updatedAt: z.ZodString;
|
|
2071
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2072
|
+
id: z.ZodString;
|
|
2073
|
+
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>>;
|
|
2074
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
2075
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
2076
|
+
isActive: z.ZodBoolean;
|
|
2077
|
+
createdAt: z.ZodString;
|
|
2078
|
+
updatedAt: z.ZodString;
|
|
2079
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2080
|
+
id: z.ZodString;
|
|
2081
|
+
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>>;
|
|
2082
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
2083
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
2084
|
+
isActive: z.ZodBoolean;
|
|
2085
|
+
createdAt: z.ZodString;
|
|
2086
|
+
updatedAt: z.ZodString;
|
|
2087
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2088
|
+
id: z.ZodString;
|
|
2089
|
+
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>>;
|
|
2090
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
2091
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
2092
|
+
isActive: z.ZodBoolean;
|
|
2093
|
+
createdAt: z.ZodString;
|
|
2094
|
+
updatedAt: z.ZodString;
|
|
1689
2095
|
}, z.core.$strip>], "templateKey">;
|
|
1690
2096
|
type UpdateEmailNotificationConfigurationResponse = z.infer<typeof updateEmailNotificationConfigurationResponseSchema>;
|
|
1691
2097
|
declare class UpdateEmailNotificationConfiguration extends AbstractApiRequest<typeof updateEmailNotificationConfigurationInputSchema, typeof updateEmailNotificationConfigurationResponseSchema> {
|
|
@@ -1752,6 +2158,18 @@ declare class UpdateEmailNotificationConfiguration extends AbstractApiRequest<ty
|
|
|
1752
2158
|
}>>;
|
|
1753
2159
|
}, z.core.$strip>>;
|
|
1754
2160
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
2161
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2162
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
2163
|
+
config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
2164
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
2165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2166
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
2167
|
+
config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
2168
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
2169
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2170
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
2171
|
+
config: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
2172
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1755
2173
|
}, z.core.$strip>]>;
|
|
1756
2174
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1757
2175
|
id: z.ZodString;
|
|
@@ -1837,6 +2255,30 @@ declare class UpdateEmailNotificationConfiguration extends AbstractApiRequest<ty
|
|
|
1837
2255
|
isActive: z.ZodBoolean;
|
|
1838
2256
|
createdAt: z.ZodString;
|
|
1839
2257
|
updatedAt: z.ZodString;
|
|
2258
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2259
|
+
id: z.ZodString;
|
|
2260
|
+
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>>;
|
|
2261
|
+
templateKey: z.ZodLiteral<"subscription_expiring">;
|
|
2262
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
2263
|
+
isActive: z.ZodBoolean;
|
|
2264
|
+
createdAt: z.ZodString;
|
|
2265
|
+
updatedAt: z.ZodString;
|
|
2266
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2267
|
+
id: z.ZodString;
|
|
2268
|
+
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>>;
|
|
2269
|
+
templateKey: z.ZodLiteral<"subscription_low_credits">;
|
|
2270
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
2271
|
+
isActive: z.ZodBoolean;
|
|
2272
|
+
createdAt: z.ZodString;
|
|
2273
|
+
updatedAt: z.ZodString;
|
|
2274
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2275
|
+
id: z.ZodString;
|
|
2276
|
+
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>>;
|
|
2277
|
+
templateKey: z.ZodLiteral<"subscription_pending_renewal">;
|
|
2278
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
2279
|
+
isActive: z.ZodBoolean;
|
|
2280
|
+
createdAt: z.ZodString;
|
|
2281
|
+
updatedAt: z.ZodString;
|
|
1840
2282
|
}, z.core.$strip>], "templateKey">;
|
|
1841
2283
|
readonly querySchema: undefined;
|
|
1842
2284
|
readonly headersSchema: undefined;
|
|
@@ -1850,4 +2292,4 @@ type EmailNotificationConfigurationIri = z.infer<typeof emailNotificationConfigu
|
|
|
1850
2292
|
declare const emailNotificationConfigurationNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/email_notifications/configurations/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/email_notifications/configurations/:id"> | null, unknown>>;
|
|
1851
2293
|
type EmailNotificationConfigurationNullableIri = z.infer<typeof emailNotificationConfigurationNullableIriSchema>;
|
|
1852
2294
|
|
|
1853
|
-
export { CreateEmailNotificationConfiguration, type CreateEmailNotificationConfigurationInput, type CreateEmailNotificationConfigurationResponse, DeleteEmailNotificationConfiguration, type EmailNotificationConfiguration, type EmailNotificationConfigurationConfig, type EmailNotificationConfigurationIri, type EmailNotificationConfigurationListItem, type EmailNotificationConfigurationNullableIri, type EmailNotificationConfigurationsQueryParams, GetEmailNotificationConfigurationDetails, type GetEmailNotificationConfigurationDetailsInput, type GetEmailNotificationConfigurationDetailsResponse, GetEmailNotificationConfigurations, GetEmailNotificationConfigurationsFromPointOfSale, type GetEmailNotificationConfigurationsFromPointOfSaleInput, type GetEmailNotificationConfigurationsFromPointOfSaleQueryParams, type GetEmailNotificationConfigurationsFromPointOfSaleResponse, type GetEmailNotificationConfigurationsInput, type GetEmailNotificationConfigurationsQueryParams, type GetEmailNotificationConfigurationsResponse, UpdateEmailNotificationConfiguration, type UpdateEmailNotificationConfigurationInput, type UpdateEmailNotificationConfigurationResponse, type WritableCreateEmailNotificationConfiguration, type WritableUpdateEmailNotificationConfiguration, createEmailNotificationConfigurationInputSchema, createEmailNotificationConfigurationResponseSchema, deleteEmailNotificationConfigurationInputSchema, deleteEmailNotificationConfigurationResponseSchema, emailNotificationConfigurationConfigSchema, emailNotificationConfigurationIriSchema, emailNotificationConfigurationNullableIriSchema, emailNotificationConfigurationSchema, emailNotificationConfigurationSchemaListItem, emailNotificationConfigurationsQuerySchema, getEmailNotificationConfigurationDetailsInputSchema, getEmailNotificationConfigurationDetailsResponseSchema, getEmailNotificationConfigurationsFromPointOfSaleInputSchema, getEmailNotificationConfigurationsFromPointOfSaleQuerySchema, getEmailNotificationConfigurationsFromPointOfSaleResponseSchema, getEmailNotificationConfigurationsInputSchema, getEmailNotificationConfigurationsQuerySchema, getEmailNotificationConfigurationsResponseSchema, updateEmailNotificationConfigurationInputSchema, updateEmailNotificationConfigurationResponseSchema, writableCreateEmailNotificationConfigurationSchema, writableUpdateEmailNotificationConfigurationSchema };
|
|
2295
|
+
export { CreateEmailNotificationConfiguration, type CreateEmailNotificationConfigurationInput, type CreateEmailNotificationConfigurationResponse, DeleteEmailNotificationConfiguration, type EmailNotificationConfiguration, type EmailNotificationConfigurationConfig, type EmailNotificationConfigurationIri, type EmailNotificationConfigurationListItem, type EmailNotificationConfigurationNullableIri, type EmailNotificationConfigurationsQueryParams, type EmptyEmailNotificationConfigurationConfig, GetEmailNotificationConfigurationDetails, type GetEmailNotificationConfigurationDetailsInput, type GetEmailNotificationConfigurationDetailsResponse, GetEmailNotificationConfigurations, GetEmailNotificationConfigurationsFromPointOfSale, type GetEmailNotificationConfigurationsFromPointOfSaleInput, type GetEmailNotificationConfigurationsFromPointOfSaleQueryParams, type GetEmailNotificationConfigurationsFromPointOfSaleResponse, type GetEmailNotificationConfigurationsInput, type GetEmailNotificationConfigurationsQueryParams, type GetEmailNotificationConfigurationsResponse, type OrderEmailNotificationConfigurationConfig, UpdateEmailNotificationConfiguration, type UpdateEmailNotificationConfigurationInput, type UpdateEmailNotificationConfigurationResponse, type WritableCreateEmailNotificationConfiguration, type WritableUpdateEmailNotificationConfiguration, createEmailNotificationConfigurationInputSchema, createEmailNotificationConfigurationResponseSchema, deleteEmailNotificationConfigurationInputSchema, deleteEmailNotificationConfigurationResponseSchema, emailNotificationConfigurationConfigSchema, emailNotificationConfigurationIriSchema, emailNotificationConfigurationNullableIriSchema, emailNotificationConfigurationSchema, emailNotificationConfigurationSchemaListItem, emailNotificationConfigurationsQuerySchema, emptyEmailNotificationConfigurationConfigSchema, getEmailNotificationConfigurationDetailsInputSchema, getEmailNotificationConfigurationDetailsResponseSchema, getEmailNotificationConfigurationsFromPointOfSaleInputSchema, getEmailNotificationConfigurationsFromPointOfSaleQuerySchema, getEmailNotificationConfigurationsFromPointOfSaleResponseSchema, getEmailNotificationConfigurationsInputSchema, getEmailNotificationConfigurationsQuerySchema, getEmailNotificationConfigurationsResponseSchema, orderEmailNotificationConfigurationConfigSchema, updateEmailNotificationConfigurationInputSchema, updateEmailNotificationConfigurationResponseSchema, writableCreateEmailNotificationConfigurationSchema, writableUpdateEmailNotificationConfigurationSchema };
|