@deliverart/sdk-js-email-notification-configuration 2.8.9 → 2.8.11
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 +40 -14
- package/dist/index.cjs +162 -40
- package/dist/index.d.cts +1015 -401
- package/dist/index.d.ts +1015 -401
- package/dist/index.js +161 -39
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -2,168 +2,256 @@ 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 emailNotificationConfigurationConfigSchema: z.
|
|
5
|
+
declare const emailNotificationConfigurationConfigSchema: z.ZodObject<{
|
|
6
6
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
7
7
|
application: "application";
|
|
8
8
|
ecommerce: "ecommerce";
|
|
9
9
|
partner: "partner";
|
|
10
10
|
}>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
type EmailNotificationConfigurationConfig = z.infer<typeof emailNotificationConfigurationConfigSchema>;
|
|
13
|
+
declare const emailNotificationConfigurationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14
|
+
id: z.ZodString;
|
|
15
|
+
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>>;
|
|
11
16
|
templateKey: z.ZodLiteral<"delivery_started">;
|
|
17
|
+
config: z.ZodObject<{
|
|
18
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
19
|
+
application: "application";
|
|
20
|
+
ecommerce: "ecommerce";
|
|
21
|
+
partner: "partner";
|
|
22
|
+
}>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
isActive: z.ZodBoolean;
|
|
25
|
+
createdAt: z.ZodString;
|
|
26
|
+
updatedAt: z.ZodString;
|
|
12
27
|
}, z.core.$strip>, z.ZodObject<{
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
ecommerce: "ecommerce";
|
|
16
|
-
partner: "partner";
|
|
17
|
-
}>>;
|
|
28
|
+
id: z.ZodString;
|
|
29
|
+
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>>;
|
|
18
30
|
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
31
|
+
config: z.ZodObject<{
|
|
32
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
33
|
+
application: "application";
|
|
34
|
+
ecommerce: "ecommerce";
|
|
35
|
+
partner: "partner";
|
|
36
|
+
}>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
isActive: z.ZodBoolean;
|
|
39
|
+
createdAt: z.ZodString;
|
|
40
|
+
updatedAt: z.ZodString;
|
|
19
41
|
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
ecommerce: "ecommerce";
|
|
23
|
-
partner: "partner";
|
|
24
|
-
}>>;
|
|
42
|
+
id: z.ZodString;
|
|
43
|
+
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>>;
|
|
25
44
|
templateKey: z.ZodLiteral<"order_created">;
|
|
45
|
+
config: z.ZodObject<{
|
|
46
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
47
|
+
application: "application";
|
|
48
|
+
ecommerce: "ecommerce";
|
|
49
|
+
partner: "partner";
|
|
50
|
+
}>>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
isActive: z.ZodBoolean;
|
|
53
|
+
createdAt: z.ZodString;
|
|
54
|
+
updatedAt: z.ZodString;
|
|
26
55
|
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
ecommerce: "ecommerce";
|
|
30
|
-
partner: "partner";
|
|
31
|
-
}>>;
|
|
56
|
+
id: z.ZodString;
|
|
57
|
+
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>>;
|
|
32
58
|
templateKey: z.ZodLiteral<"order_delivered">;
|
|
59
|
+
config: z.ZodObject<{
|
|
60
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
61
|
+
application: "application";
|
|
62
|
+
ecommerce: "ecommerce";
|
|
63
|
+
partner: "partner";
|
|
64
|
+
}>>;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
isActive: z.ZodBoolean;
|
|
67
|
+
createdAt: z.ZodString;
|
|
68
|
+
updatedAt: z.ZodString;
|
|
33
69
|
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
ecommerce: "ecommerce";
|
|
37
|
-
partner: "partner";
|
|
38
|
-
}>>;
|
|
70
|
+
id: z.ZodString;
|
|
71
|
+
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>>;
|
|
39
72
|
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
73
|
+
config: z.ZodObject<{
|
|
74
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
75
|
+
application: "application";
|
|
76
|
+
ecommerce: "ecommerce";
|
|
77
|
+
partner: "partner";
|
|
78
|
+
}>>;
|
|
79
|
+
}, z.core.$strip>;
|
|
80
|
+
isActive: z.ZodBoolean;
|
|
81
|
+
createdAt: z.ZodString;
|
|
82
|
+
updatedAt: z.ZodString;
|
|
40
83
|
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
42
|
-
application: "application";
|
|
43
|
-
ecommerce: "ecommerce";
|
|
44
|
-
partner: "partner";
|
|
45
|
-
}>>;
|
|
46
|
-
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
47
|
-
}, z.core.$strip>]>;
|
|
48
|
-
type EmailNotificationConfigurationConfig = z.infer<typeof emailNotificationConfigurationConfigSchema>;
|
|
49
|
-
declare const emailNotificationConfigurationSchema: z.ZodObject<{
|
|
50
84
|
id: z.ZodString;
|
|
51
85
|
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>>;
|
|
52
|
-
templateKey: z.
|
|
53
|
-
|
|
54
|
-
delivery_taken_over: "delivery_taken_over";
|
|
55
|
-
order_created: "order_created";
|
|
56
|
-
order_delivered: "order_delivered";
|
|
57
|
-
order_in_preparation: "order_in_preparation";
|
|
58
|
-
order_preparation_done: "order_preparation_done";
|
|
59
|
-
}>;
|
|
60
|
-
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
86
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
87
|
+
config: z.ZodObject<{
|
|
61
88
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
62
89
|
application: "application";
|
|
63
90
|
ecommerce: "ecommerce";
|
|
64
91
|
partner: "partner";
|
|
65
92
|
}>>;
|
|
66
|
-
|
|
67
|
-
|
|
93
|
+
}, z.core.$strip>;
|
|
94
|
+
isActive: z.ZodBoolean;
|
|
95
|
+
createdAt: z.ZodString;
|
|
96
|
+
updatedAt: z.ZodString;
|
|
97
|
+
}, z.core.$strip>]>;
|
|
98
|
+
type EmailNotificationConfiguration = z.infer<typeof emailNotificationConfigurationSchema>;
|
|
99
|
+
declare const emailNotificationConfigurationSchemaListItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
100
|
+
id: z.ZodString;
|
|
101
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
102
|
+
config: z.ZodObject<{
|
|
68
103
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
69
104
|
application: "application";
|
|
70
105
|
ecommerce: "ecommerce";
|
|
71
106
|
partner: "partner";
|
|
72
107
|
}>>;
|
|
73
|
-
|
|
74
|
-
|
|
108
|
+
}, z.core.$strip>;
|
|
109
|
+
isActive: z.ZodBoolean;
|
|
110
|
+
createdAt: z.ZodString;
|
|
111
|
+
updatedAt: z.ZodString;
|
|
112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
113
|
+
id: z.ZodString;
|
|
114
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
115
|
+
config: z.ZodObject<{
|
|
75
116
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
76
117
|
application: "application";
|
|
77
118
|
ecommerce: "ecommerce";
|
|
78
119
|
partner: "partner";
|
|
79
120
|
}>>;
|
|
80
|
-
|
|
81
|
-
|
|
121
|
+
}, z.core.$strip>;
|
|
122
|
+
isActive: z.ZodBoolean;
|
|
123
|
+
createdAt: z.ZodString;
|
|
124
|
+
updatedAt: z.ZodString;
|
|
125
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
126
|
+
id: z.ZodString;
|
|
127
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
128
|
+
config: z.ZodObject<{
|
|
82
129
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
83
130
|
application: "application";
|
|
84
131
|
ecommerce: "ecommerce";
|
|
85
132
|
partner: "partner";
|
|
86
133
|
}>>;
|
|
87
|
-
|
|
88
|
-
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
isActive: z.ZodBoolean;
|
|
136
|
+
createdAt: z.ZodString;
|
|
137
|
+
updatedAt: z.ZodString;
|
|
138
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
139
|
+
id: z.ZodString;
|
|
140
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
141
|
+
config: z.ZodObject<{
|
|
89
142
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
90
143
|
application: "application";
|
|
91
144
|
ecommerce: "ecommerce";
|
|
92
145
|
partner: "partner";
|
|
93
146
|
}>>;
|
|
94
|
-
|
|
95
|
-
|
|
147
|
+
}, z.core.$strip>;
|
|
148
|
+
isActive: z.ZodBoolean;
|
|
149
|
+
createdAt: z.ZodString;
|
|
150
|
+
updatedAt: z.ZodString;
|
|
151
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
152
|
+
id: z.ZodString;
|
|
153
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
154
|
+
config: z.ZodObject<{
|
|
96
155
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
97
156
|
application: "application";
|
|
98
157
|
ecommerce: "ecommerce";
|
|
99
158
|
partner: "partner";
|
|
100
159
|
}>>;
|
|
101
|
-
|
|
102
|
-
}, z.core.$strip>]>;
|
|
160
|
+
}, z.core.$strip>;
|
|
103
161
|
isActive: z.ZodBoolean;
|
|
104
162
|
createdAt: z.ZodString;
|
|
105
163
|
updatedAt: z.ZodString;
|
|
106
|
-
}, z.core.$strip
|
|
107
|
-
type EmailNotificationConfiguration = z.infer<typeof emailNotificationConfigurationSchema>;
|
|
108
|
-
declare const emailNotificationConfigurationSchemaListItem: z.ZodObject<{
|
|
164
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
109
165
|
id: z.ZodString;
|
|
110
|
-
templateKey: z.
|
|
111
|
-
|
|
112
|
-
delivery_taken_over: "delivery_taken_over";
|
|
113
|
-
order_created: "order_created";
|
|
114
|
-
order_delivered: "order_delivered";
|
|
115
|
-
order_in_preparation: "order_in_preparation";
|
|
116
|
-
order_preparation_done: "order_preparation_done";
|
|
117
|
-
}>;
|
|
118
|
-
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
166
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
167
|
+
config: z.ZodObject<{
|
|
119
168
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
120
169
|
application: "application";
|
|
121
170
|
ecommerce: "ecommerce";
|
|
122
171
|
partner: "partner";
|
|
123
172
|
}>>;
|
|
124
|
-
|
|
125
|
-
|
|
173
|
+
}, z.core.$strip>;
|
|
174
|
+
isActive: z.ZodBoolean;
|
|
175
|
+
createdAt: z.ZodString;
|
|
176
|
+
updatedAt: z.ZodString;
|
|
177
|
+
}, z.core.$strip>]>;
|
|
178
|
+
type EmailNotificationConfigurationListItem = z.infer<typeof emailNotificationConfigurationSchemaListItem>;
|
|
179
|
+
declare const writableUpdateEmailNotificationConfigurationSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
180
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
181
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
126
182
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
127
183
|
application: "application";
|
|
128
184
|
ecommerce: "ecommerce";
|
|
129
185
|
partner: "partner";
|
|
130
186
|
}>>;
|
|
131
|
-
|
|
132
|
-
|
|
187
|
+
}, z.core.$strip>>;
|
|
188
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
189
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
190
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
191
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
133
192
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
134
193
|
application: "application";
|
|
135
194
|
ecommerce: "ecommerce";
|
|
136
195
|
partner: "partner";
|
|
137
196
|
}>>;
|
|
138
|
-
|
|
139
|
-
|
|
197
|
+
}, z.core.$strip>>;
|
|
198
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
200
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
201
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
140
202
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
141
203
|
application: "application";
|
|
142
204
|
ecommerce: "ecommerce";
|
|
143
205
|
partner: "partner";
|
|
144
206
|
}>>;
|
|
145
|
-
|
|
146
|
-
|
|
207
|
+
}, z.core.$strip>>;
|
|
208
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
209
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
210
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
211
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
147
212
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
148
213
|
application: "application";
|
|
149
214
|
ecommerce: "ecommerce";
|
|
150
215
|
partner: "partner";
|
|
151
216
|
}>>;
|
|
152
|
-
|
|
153
|
-
|
|
217
|
+
}, z.core.$strip>>;
|
|
218
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
219
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
220
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
221
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
154
222
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
155
223
|
application: "application";
|
|
156
224
|
ecommerce: "ecommerce";
|
|
157
225
|
partner: "partner";
|
|
158
226
|
}>>;
|
|
159
|
-
|
|
160
|
-
|
|
227
|
+
}, z.core.$strip>>;
|
|
228
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
229
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
230
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
231
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
232
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
233
|
+
application: "application";
|
|
234
|
+
ecommerce: "ecommerce";
|
|
235
|
+
partner: "partner";
|
|
236
|
+
}>>;
|
|
237
|
+
}, z.core.$strip>>;
|
|
238
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
239
|
+
}, z.core.$strip>]>;
|
|
240
|
+
type WritableUpdateEmailNotificationConfiguration = z.infer<typeof writableUpdateEmailNotificationConfigurationSchema>;
|
|
241
|
+
declare const writableCreateEmailNotificationConfigurationSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
242
|
+
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
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
244
|
+
config: z.ZodObject<{
|
|
245
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
246
|
+
application: "application";
|
|
247
|
+
ecommerce: "ecommerce";
|
|
248
|
+
partner: "partner";
|
|
249
|
+
}>>;
|
|
250
|
+
}, z.core.$strip>;
|
|
161
251
|
isActive: z.ZodBoolean;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
type EmailNotificationConfigurationListItem = z.infer<typeof emailNotificationConfigurationSchemaListItem>;
|
|
166
|
-
declare const writableEmailNotificationConfigurationSchema: z.ZodObject<{
|
|
252
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
253
|
+
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>>;
|
|
254
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
167
255
|
config: z.ZodObject<{
|
|
168
256
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
169
257
|
application: "application";
|
|
@@ -172,18 +260,9 @@ declare const writableEmailNotificationConfigurationSchema: z.ZodObject<{
|
|
|
172
260
|
}>>;
|
|
173
261
|
}, z.core.$strip>;
|
|
174
262
|
isActive: z.ZodBoolean;
|
|
175
|
-
}, z.core.$strip
|
|
176
|
-
type WritableEmailNotificationConfiguration = z.infer<typeof writableEmailNotificationConfigurationSchema>;
|
|
177
|
-
declare const writableCreateEmailNotificationConfigurationSchema: z.ZodObject<{
|
|
263
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
178
264
|
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>>;
|
|
179
|
-
templateKey: z.
|
|
180
|
-
delivery_started: "delivery_started";
|
|
181
|
-
delivery_taken_over: "delivery_taken_over";
|
|
182
|
-
order_created: "order_created";
|
|
183
|
-
order_delivered: "order_delivered";
|
|
184
|
-
order_in_preparation: "order_in_preparation";
|
|
185
|
-
order_preparation_done: "order_preparation_done";
|
|
186
|
-
}>;
|
|
265
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
187
266
|
config: z.ZodObject<{
|
|
188
267
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
189
268
|
application: "application";
|
|
@@ -192,7 +271,40 @@ declare const writableCreateEmailNotificationConfigurationSchema: z.ZodObject<{
|
|
|
192
271
|
}>>;
|
|
193
272
|
}, z.core.$strip>;
|
|
194
273
|
isActive: z.ZodBoolean;
|
|
195
|
-
}, z.core.$strip
|
|
274
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
275
|
+
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>>;
|
|
276
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
277
|
+
config: z.ZodObject<{
|
|
278
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
279
|
+
application: "application";
|
|
280
|
+
ecommerce: "ecommerce";
|
|
281
|
+
partner: "partner";
|
|
282
|
+
}>>;
|
|
283
|
+
}, z.core.$strip>;
|
|
284
|
+
isActive: z.ZodBoolean;
|
|
285
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
286
|
+
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>>;
|
|
287
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
288
|
+
config: z.ZodObject<{
|
|
289
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
290
|
+
application: "application";
|
|
291
|
+
ecommerce: "ecommerce";
|
|
292
|
+
partner: "partner";
|
|
293
|
+
}>>;
|
|
294
|
+
}, z.core.$strip>;
|
|
295
|
+
isActive: z.ZodBoolean;
|
|
296
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
297
|
+
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>>;
|
|
298
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
299
|
+
config: z.ZodObject<{
|
|
300
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
301
|
+
application: "application";
|
|
302
|
+
ecommerce: "ecommerce";
|
|
303
|
+
partner: "partner";
|
|
304
|
+
}>>;
|
|
305
|
+
}, z.core.$strip>;
|
|
306
|
+
isActive: z.ZodBoolean;
|
|
307
|
+
}, z.core.$strip>]>;
|
|
196
308
|
type WritableCreateEmailNotificationConfiguration = z.infer<typeof writableCreateEmailNotificationConfigurationSchema>;
|
|
197
309
|
declare const emailNotificationConfigurationsQuerySchema: z.ZodObject<{
|
|
198
310
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
@@ -231,166 +343,316 @@ declare const emailNotificationConfigurationsQuerySchema: z.ZodObject<{
|
|
|
231
343
|
}, z.core.$strip>;
|
|
232
344
|
type EmailNotificationConfigurationsQueryParams = z.infer<typeof emailNotificationConfigurationsQuerySchema>;
|
|
233
345
|
|
|
234
|
-
declare const createEmailNotificationConfigurationInputSchema: z.ZodObject<{
|
|
235
|
-
pointOfSale: z.
|
|
236
|
-
templateKey: z.
|
|
237
|
-
|
|
238
|
-
delivery_taken_over: "delivery_taken_over";
|
|
239
|
-
order_created: "order_created";
|
|
240
|
-
order_delivered: "order_delivered";
|
|
241
|
-
order_in_preparation: "order_in_preparation";
|
|
242
|
-
order_preparation_done: "order_preparation_done";
|
|
243
|
-
}>>;
|
|
244
|
-
config: z.ZodNonOptional<z.ZodObject<{
|
|
346
|
+
declare const createEmailNotificationConfigurationInputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
347
|
+
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>>;
|
|
348
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
349
|
+
config: z.ZodObject<{
|
|
245
350
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
246
351
|
application: "application";
|
|
247
352
|
ecommerce: "ecommerce";
|
|
248
353
|
partner: "partner";
|
|
249
354
|
}>>;
|
|
250
|
-
}, z.core.$strip
|
|
251
|
-
isActive: z.
|
|
252
|
-
}, z.core.$strip
|
|
355
|
+
}, z.core.$strip>;
|
|
356
|
+
isActive: z.ZodBoolean;
|
|
357
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
358
|
+
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>>;
|
|
359
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
360
|
+
config: z.ZodObject<{
|
|
361
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
362
|
+
application: "application";
|
|
363
|
+
ecommerce: "ecommerce";
|
|
364
|
+
partner: "partner";
|
|
365
|
+
}>>;
|
|
366
|
+
}, z.core.$strip>;
|
|
367
|
+
isActive: z.ZodBoolean;
|
|
368
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
369
|
+
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>>;
|
|
370
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
371
|
+
config: z.ZodObject<{
|
|
372
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
373
|
+
application: "application";
|
|
374
|
+
ecommerce: "ecommerce";
|
|
375
|
+
partner: "partner";
|
|
376
|
+
}>>;
|
|
377
|
+
}, 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<"order_delivered">;
|
|
382
|
+
config: z.ZodObject<{
|
|
383
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
384
|
+
application: "application";
|
|
385
|
+
ecommerce: "ecommerce";
|
|
386
|
+
partner: "partner";
|
|
387
|
+
}>>;
|
|
388
|
+
}, z.core.$strip>;
|
|
389
|
+
isActive: z.ZodBoolean;
|
|
390
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
391
|
+
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>>;
|
|
392
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
393
|
+
config: z.ZodObject<{
|
|
394
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
395
|
+
application: "application";
|
|
396
|
+
ecommerce: "ecommerce";
|
|
397
|
+
partner: "partner";
|
|
398
|
+
}>>;
|
|
399
|
+
}, z.core.$strip>;
|
|
400
|
+
isActive: z.ZodBoolean;
|
|
401
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
402
|
+
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>>;
|
|
403
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
404
|
+
config: z.ZodObject<{
|
|
405
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
406
|
+
application: "application";
|
|
407
|
+
ecommerce: "ecommerce";
|
|
408
|
+
partner: "partner";
|
|
409
|
+
}>>;
|
|
410
|
+
}, z.core.$strip>;
|
|
411
|
+
isActive: z.ZodBoolean;
|
|
412
|
+
}, z.core.$strip>]>;
|
|
253
413
|
type CreateEmailNotificationConfigurationInput = z.input<typeof createEmailNotificationConfigurationInputSchema>;
|
|
254
|
-
declare const createEmailNotificationConfigurationResponseSchema: z.ZodObject<{
|
|
414
|
+
declare const createEmailNotificationConfigurationResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
255
415
|
id: z.ZodString;
|
|
256
416
|
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>>;
|
|
257
|
-
templateKey: z.
|
|
258
|
-
|
|
259
|
-
delivery_taken_over: "delivery_taken_over";
|
|
260
|
-
order_created: "order_created";
|
|
261
|
-
order_delivered: "order_delivered";
|
|
262
|
-
order_in_preparation: "order_in_preparation";
|
|
263
|
-
order_preparation_done: "order_preparation_done";
|
|
264
|
-
}>;
|
|
265
|
-
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
417
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
418
|
+
config: z.ZodObject<{
|
|
266
419
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
267
420
|
application: "application";
|
|
268
421
|
ecommerce: "ecommerce";
|
|
269
422
|
partner: "partner";
|
|
270
423
|
}>>;
|
|
271
|
-
|
|
272
|
-
|
|
424
|
+
}, z.core.$strip>;
|
|
425
|
+
isActive: z.ZodBoolean;
|
|
426
|
+
createdAt: z.ZodString;
|
|
427
|
+
updatedAt: z.ZodString;
|
|
428
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
429
|
+
id: z.ZodString;
|
|
430
|
+
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>>;
|
|
431
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
432
|
+
config: z.ZodObject<{
|
|
273
433
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
274
434
|
application: "application";
|
|
275
435
|
ecommerce: "ecommerce";
|
|
276
436
|
partner: "partner";
|
|
277
437
|
}>>;
|
|
278
|
-
|
|
279
|
-
|
|
438
|
+
}, z.core.$strip>;
|
|
439
|
+
isActive: z.ZodBoolean;
|
|
440
|
+
createdAt: z.ZodString;
|
|
441
|
+
updatedAt: z.ZodString;
|
|
442
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
443
|
+
id: z.ZodString;
|
|
444
|
+
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>>;
|
|
445
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
446
|
+
config: z.ZodObject<{
|
|
280
447
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
281
448
|
application: "application";
|
|
282
449
|
ecommerce: "ecommerce";
|
|
283
450
|
partner: "partner";
|
|
284
451
|
}>>;
|
|
285
|
-
|
|
286
|
-
|
|
452
|
+
}, z.core.$strip>;
|
|
453
|
+
isActive: z.ZodBoolean;
|
|
454
|
+
createdAt: z.ZodString;
|
|
455
|
+
updatedAt: z.ZodString;
|
|
456
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
457
|
+
id: z.ZodString;
|
|
458
|
+
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>>;
|
|
459
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
460
|
+
config: z.ZodObject<{
|
|
287
461
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
288
462
|
application: "application";
|
|
289
463
|
ecommerce: "ecommerce";
|
|
290
464
|
partner: "partner";
|
|
291
465
|
}>>;
|
|
292
|
-
|
|
293
|
-
|
|
466
|
+
}, z.core.$strip>;
|
|
467
|
+
isActive: z.ZodBoolean;
|
|
468
|
+
createdAt: z.ZodString;
|
|
469
|
+
updatedAt: z.ZodString;
|
|
470
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
471
|
+
id: z.ZodString;
|
|
472
|
+
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>>;
|
|
473
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
474
|
+
config: z.ZodObject<{
|
|
294
475
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
295
476
|
application: "application";
|
|
296
477
|
ecommerce: "ecommerce";
|
|
297
478
|
partner: "partner";
|
|
298
479
|
}>>;
|
|
299
|
-
|
|
300
|
-
|
|
480
|
+
}, z.core.$strip>;
|
|
481
|
+
isActive: z.ZodBoolean;
|
|
482
|
+
createdAt: z.ZodString;
|
|
483
|
+
updatedAt: z.ZodString;
|
|
484
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
485
|
+
id: z.ZodString;
|
|
486
|
+
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>>;
|
|
487
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
488
|
+
config: z.ZodObject<{
|
|
301
489
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
302
490
|
application: "application";
|
|
303
491
|
ecommerce: "ecommerce";
|
|
304
492
|
partner: "partner";
|
|
305
493
|
}>>;
|
|
306
|
-
|
|
307
|
-
}, z.core.$strip>]>;
|
|
494
|
+
}, z.core.$strip>;
|
|
308
495
|
isActive: z.ZodBoolean;
|
|
309
496
|
createdAt: z.ZodString;
|
|
310
497
|
updatedAt: z.ZodString;
|
|
311
|
-
}, z.core.$strip>;
|
|
498
|
+
}, z.core.$strip>]>;
|
|
312
499
|
type CreateEmailNotificationConfigurationResponse = z.infer<typeof createEmailNotificationConfigurationResponseSchema>;
|
|
313
500
|
declare class CreateEmailNotificationConfiguration extends AbstractApiRequest<typeof createEmailNotificationConfigurationInputSchema, typeof createEmailNotificationConfigurationResponseSchema> {
|
|
314
501
|
readonly method = "POST";
|
|
315
502
|
readonly contentType = "application/json";
|
|
316
503
|
readonly accept = "application/json";
|
|
317
|
-
readonly inputSchema: z.ZodObject<{
|
|
318
|
-
pointOfSale: z.
|
|
319
|
-
templateKey: z.
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
}
|
|
327
|
-
|
|
504
|
+
readonly inputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
505
|
+
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>>;
|
|
506
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
507
|
+
config: z.ZodObject<{
|
|
508
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
509
|
+
application: "application";
|
|
510
|
+
ecommerce: "ecommerce";
|
|
511
|
+
partner: "partner";
|
|
512
|
+
}>>;
|
|
513
|
+
}, z.core.$strip>;
|
|
514
|
+
isActive: z.ZodBoolean;
|
|
515
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
516
|
+
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>>;
|
|
517
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
518
|
+
config: z.ZodObject<{
|
|
519
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
520
|
+
application: "application";
|
|
521
|
+
ecommerce: "ecommerce";
|
|
522
|
+
partner: "partner";
|
|
523
|
+
}>>;
|
|
524
|
+
}, z.core.$strip>;
|
|
525
|
+
isActive: z.ZodBoolean;
|
|
526
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
527
|
+
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>>;
|
|
528
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
529
|
+
config: z.ZodObject<{
|
|
530
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
531
|
+
application: "application";
|
|
532
|
+
ecommerce: "ecommerce";
|
|
533
|
+
partner: "partner";
|
|
534
|
+
}>>;
|
|
535
|
+
}, z.core.$strip>;
|
|
536
|
+
isActive: z.ZodBoolean;
|
|
537
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
538
|
+
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>>;
|
|
539
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
540
|
+
config: z.ZodObject<{
|
|
541
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
542
|
+
application: "application";
|
|
543
|
+
ecommerce: "ecommerce";
|
|
544
|
+
partner: "partner";
|
|
545
|
+
}>>;
|
|
546
|
+
}, z.core.$strip>;
|
|
547
|
+
isActive: z.ZodBoolean;
|
|
548
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
549
|
+
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>>;
|
|
550
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
551
|
+
config: z.ZodObject<{
|
|
328
552
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
329
553
|
application: "application";
|
|
330
554
|
ecommerce: "ecommerce";
|
|
331
555
|
partner: "partner";
|
|
332
556
|
}>>;
|
|
333
|
-
}, z.core.$strip
|
|
334
|
-
isActive: z.
|
|
335
|
-
}, z.core.$strip
|
|
336
|
-
|
|
557
|
+
}, z.core.$strip>;
|
|
558
|
+
isActive: z.ZodBoolean;
|
|
559
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
560
|
+
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>>;
|
|
561
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
562
|
+
config: z.ZodObject<{
|
|
563
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
564
|
+
application: "application";
|
|
565
|
+
ecommerce: "ecommerce";
|
|
566
|
+
partner: "partner";
|
|
567
|
+
}>>;
|
|
568
|
+
}, z.core.$strip>;
|
|
569
|
+
isActive: z.ZodBoolean;
|
|
570
|
+
}, z.core.$strip>]>;
|
|
571
|
+
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
337
572
|
id: z.ZodString;
|
|
338
573
|
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>>;
|
|
339
|
-
templateKey: z.
|
|
340
|
-
|
|
341
|
-
delivery_taken_over: "delivery_taken_over";
|
|
342
|
-
order_created: "order_created";
|
|
343
|
-
order_delivered: "order_delivered";
|
|
344
|
-
order_in_preparation: "order_in_preparation";
|
|
345
|
-
order_preparation_done: "order_preparation_done";
|
|
346
|
-
}>;
|
|
347
|
-
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
574
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
575
|
+
config: z.ZodObject<{
|
|
348
576
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
349
577
|
application: "application";
|
|
350
578
|
ecommerce: "ecommerce";
|
|
351
579
|
partner: "partner";
|
|
352
580
|
}>>;
|
|
353
|
-
|
|
354
|
-
|
|
581
|
+
}, z.core.$strip>;
|
|
582
|
+
isActive: z.ZodBoolean;
|
|
583
|
+
createdAt: z.ZodString;
|
|
584
|
+
updatedAt: z.ZodString;
|
|
585
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
586
|
+
id: z.ZodString;
|
|
587
|
+
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>>;
|
|
588
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
589
|
+
config: z.ZodObject<{
|
|
355
590
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
356
591
|
application: "application";
|
|
357
592
|
ecommerce: "ecommerce";
|
|
358
593
|
partner: "partner";
|
|
359
594
|
}>>;
|
|
360
|
-
|
|
361
|
-
|
|
595
|
+
}, z.core.$strip>;
|
|
596
|
+
isActive: z.ZodBoolean;
|
|
597
|
+
createdAt: z.ZodString;
|
|
598
|
+
updatedAt: z.ZodString;
|
|
599
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
600
|
+
id: z.ZodString;
|
|
601
|
+
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>>;
|
|
602
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
603
|
+
config: z.ZodObject<{
|
|
362
604
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
363
605
|
application: "application";
|
|
364
606
|
ecommerce: "ecommerce";
|
|
365
607
|
partner: "partner";
|
|
366
608
|
}>>;
|
|
367
|
-
|
|
368
|
-
|
|
609
|
+
}, z.core.$strip>;
|
|
610
|
+
isActive: z.ZodBoolean;
|
|
611
|
+
createdAt: z.ZodString;
|
|
612
|
+
updatedAt: z.ZodString;
|
|
613
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
614
|
+
id: z.ZodString;
|
|
615
|
+
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>>;
|
|
616
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
617
|
+
config: z.ZodObject<{
|
|
369
618
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
370
619
|
application: "application";
|
|
371
620
|
ecommerce: "ecommerce";
|
|
372
621
|
partner: "partner";
|
|
373
622
|
}>>;
|
|
374
|
-
|
|
375
|
-
|
|
623
|
+
}, z.core.$strip>;
|
|
624
|
+
isActive: z.ZodBoolean;
|
|
625
|
+
createdAt: z.ZodString;
|
|
626
|
+
updatedAt: z.ZodString;
|
|
627
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
628
|
+
id: z.ZodString;
|
|
629
|
+
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>>;
|
|
630
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
631
|
+
config: z.ZodObject<{
|
|
376
632
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
377
633
|
application: "application";
|
|
378
634
|
ecommerce: "ecommerce";
|
|
379
635
|
partner: "partner";
|
|
380
636
|
}>>;
|
|
381
|
-
|
|
382
|
-
|
|
637
|
+
}, z.core.$strip>;
|
|
638
|
+
isActive: z.ZodBoolean;
|
|
639
|
+
createdAt: z.ZodString;
|
|
640
|
+
updatedAt: z.ZodString;
|
|
641
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
642
|
+
id: z.ZodString;
|
|
643
|
+
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>>;
|
|
644
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
645
|
+
config: z.ZodObject<{
|
|
383
646
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
384
647
|
application: "application";
|
|
385
648
|
ecommerce: "ecommerce";
|
|
386
649
|
partner: "partner";
|
|
387
650
|
}>>;
|
|
388
|
-
|
|
389
|
-
}, z.core.$strip>]>;
|
|
651
|
+
}, z.core.$strip>;
|
|
390
652
|
isActive: z.ZodBoolean;
|
|
391
653
|
createdAt: z.ZodString;
|
|
392
654
|
updatedAt: z.ZodString;
|
|
393
|
-
}, z.core.$strip>;
|
|
655
|
+
}, z.core.$strip>]>;
|
|
394
656
|
readonly querySchema: undefined;
|
|
395
657
|
readonly headersSchema: undefined;
|
|
396
658
|
constructor(input: CreateEmailNotificationConfigurationInput);
|
|
@@ -414,128 +676,182 @@ declare class DeleteEmailNotificationConfiguration extends AbstractApiRequest<ty
|
|
|
414
676
|
|
|
415
677
|
declare const getEmailNotificationConfigurationDetailsInputSchema: z.ZodUndefined;
|
|
416
678
|
type GetEmailNotificationConfigurationDetailsInput = z.input<typeof getEmailNotificationConfigurationDetailsInputSchema>;
|
|
417
|
-
declare const getEmailNotificationConfigurationDetailsResponseSchema: z.ZodObject<{
|
|
679
|
+
declare const getEmailNotificationConfigurationDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
418
680
|
id: z.ZodString;
|
|
419
681
|
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>>;
|
|
420
|
-
templateKey: z.
|
|
421
|
-
|
|
422
|
-
delivery_taken_over: "delivery_taken_over";
|
|
423
|
-
order_created: "order_created";
|
|
424
|
-
order_delivered: "order_delivered";
|
|
425
|
-
order_in_preparation: "order_in_preparation";
|
|
426
|
-
order_preparation_done: "order_preparation_done";
|
|
427
|
-
}>;
|
|
428
|
-
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
682
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
683
|
+
config: z.ZodObject<{
|
|
429
684
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
430
685
|
application: "application";
|
|
431
686
|
ecommerce: "ecommerce";
|
|
432
687
|
partner: "partner";
|
|
433
688
|
}>>;
|
|
434
|
-
|
|
435
|
-
|
|
689
|
+
}, z.core.$strip>;
|
|
690
|
+
isActive: z.ZodBoolean;
|
|
691
|
+
createdAt: z.ZodString;
|
|
692
|
+
updatedAt: z.ZodString;
|
|
693
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
694
|
+
id: z.ZodString;
|
|
695
|
+
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>>;
|
|
696
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
697
|
+
config: z.ZodObject<{
|
|
436
698
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
437
699
|
application: "application";
|
|
438
700
|
ecommerce: "ecommerce";
|
|
439
701
|
partner: "partner";
|
|
440
702
|
}>>;
|
|
441
|
-
|
|
442
|
-
|
|
703
|
+
}, z.core.$strip>;
|
|
704
|
+
isActive: z.ZodBoolean;
|
|
705
|
+
createdAt: z.ZodString;
|
|
706
|
+
updatedAt: z.ZodString;
|
|
707
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
708
|
+
id: z.ZodString;
|
|
709
|
+
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>>;
|
|
710
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
711
|
+
config: z.ZodObject<{
|
|
443
712
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
444
713
|
application: "application";
|
|
445
714
|
ecommerce: "ecommerce";
|
|
446
715
|
partner: "partner";
|
|
447
716
|
}>>;
|
|
448
|
-
|
|
449
|
-
|
|
717
|
+
}, z.core.$strip>;
|
|
718
|
+
isActive: z.ZodBoolean;
|
|
719
|
+
createdAt: z.ZodString;
|
|
720
|
+
updatedAt: z.ZodString;
|
|
721
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
722
|
+
id: z.ZodString;
|
|
723
|
+
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>>;
|
|
724
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
725
|
+
config: z.ZodObject<{
|
|
450
726
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
451
727
|
application: "application";
|
|
452
728
|
ecommerce: "ecommerce";
|
|
453
729
|
partner: "partner";
|
|
454
730
|
}>>;
|
|
455
|
-
|
|
456
|
-
|
|
731
|
+
}, z.core.$strip>;
|
|
732
|
+
isActive: z.ZodBoolean;
|
|
733
|
+
createdAt: z.ZodString;
|
|
734
|
+
updatedAt: z.ZodString;
|
|
735
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
736
|
+
id: z.ZodString;
|
|
737
|
+
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>>;
|
|
738
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
739
|
+
config: z.ZodObject<{
|
|
457
740
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
458
741
|
application: "application";
|
|
459
742
|
ecommerce: "ecommerce";
|
|
460
743
|
partner: "partner";
|
|
461
744
|
}>>;
|
|
462
|
-
|
|
463
|
-
|
|
745
|
+
}, z.core.$strip>;
|
|
746
|
+
isActive: z.ZodBoolean;
|
|
747
|
+
createdAt: z.ZodString;
|
|
748
|
+
updatedAt: z.ZodString;
|
|
749
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
750
|
+
id: z.ZodString;
|
|
751
|
+
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>>;
|
|
752
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
753
|
+
config: z.ZodObject<{
|
|
464
754
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
465
755
|
application: "application";
|
|
466
756
|
ecommerce: "ecommerce";
|
|
467
757
|
partner: "partner";
|
|
468
758
|
}>>;
|
|
469
|
-
|
|
470
|
-
}, z.core.$strip>]>;
|
|
759
|
+
}, z.core.$strip>;
|
|
471
760
|
isActive: z.ZodBoolean;
|
|
472
761
|
createdAt: z.ZodString;
|
|
473
762
|
updatedAt: z.ZodString;
|
|
474
|
-
}, z.core.$strip>;
|
|
763
|
+
}, z.core.$strip>]>;
|
|
475
764
|
type GetEmailNotificationConfigurationDetailsResponse = z.infer<typeof getEmailNotificationConfigurationDetailsResponseSchema>;
|
|
476
765
|
declare class GetEmailNotificationConfigurationDetails extends AbstractApiRequest<typeof getEmailNotificationConfigurationDetailsInputSchema, typeof getEmailNotificationConfigurationDetailsResponseSchema> {
|
|
477
766
|
readonly method = "GET";
|
|
478
767
|
readonly contentType = "application/json";
|
|
479
768
|
readonly accept = "application/json";
|
|
480
769
|
readonly inputSchema: z.ZodUndefined;
|
|
481
|
-
readonly outputSchema: z.ZodObject<{
|
|
770
|
+
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
482
771
|
id: z.ZodString;
|
|
483
772
|
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>>;
|
|
484
|
-
templateKey: z.
|
|
485
|
-
|
|
486
|
-
delivery_taken_over: "delivery_taken_over";
|
|
487
|
-
order_created: "order_created";
|
|
488
|
-
order_delivered: "order_delivered";
|
|
489
|
-
order_in_preparation: "order_in_preparation";
|
|
490
|
-
order_preparation_done: "order_preparation_done";
|
|
491
|
-
}>;
|
|
492
|
-
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
773
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
774
|
+
config: z.ZodObject<{
|
|
493
775
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
494
776
|
application: "application";
|
|
495
777
|
ecommerce: "ecommerce";
|
|
496
778
|
partner: "partner";
|
|
497
779
|
}>>;
|
|
498
|
-
|
|
499
|
-
|
|
780
|
+
}, z.core.$strip>;
|
|
781
|
+
isActive: z.ZodBoolean;
|
|
782
|
+
createdAt: z.ZodString;
|
|
783
|
+
updatedAt: z.ZodString;
|
|
784
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
785
|
+
id: z.ZodString;
|
|
786
|
+
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>>;
|
|
787
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
788
|
+
config: z.ZodObject<{
|
|
500
789
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
501
790
|
application: "application";
|
|
502
791
|
ecommerce: "ecommerce";
|
|
503
792
|
partner: "partner";
|
|
504
793
|
}>>;
|
|
505
|
-
|
|
506
|
-
|
|
794
|
+
}, z.core.$strip>;
|
|
795
|
+
isActive: z.ZodBoolean;
|
|
796
|
+
createdAt: z.ZodString;
|
|
797
|
+
updatedAt: z.ZodString;
|
|
798
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
799
|
+
id: z.ZodString;
|
|
800
|
+
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>>;
|
|
801
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
802
|
+
config: z.ZodObject<{
|
|
507
803
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
508
804
|
application: "application";
|
|
509
805
|
ecommerce: "ecommerce";
|
|
510
806
|
partner: "partner";
|
|
511
807
|
}>>;
|
|
512
|
-
|
|
513
|
-
|
|
808
|
+
}, z.core.$strip>;
|
|
809
|
+
isActive: z.ZodBoolean;
|
|
810
|
+
createdAt: z.ZodString;
|
|
811
|
+
updatedAt: z.ZodString;
|
|
812
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
813
|
+
id: z.ZodString;
|
|
814
|
+
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>>;
|
|
815
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
816
|
+
config: z.ZodObject<{
|
|
514
817
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
515
818
|
application: "application";
|
|
516
819
|
ecommerce: "ecommerce";
|
|
517
820
|
partner: "partner";
|
|
518
821
|
}>>;
|
|
519
|
-
|
|
520
|
-
|
|
822
|
+
}, z.core.$strip>;
|
|
823
|
+
isActive: z.ZodBoolean;
|
|
824
|
+
createdAt: z.ZodString;
|
|
825
|
+
updatedAt: z.ZodString;
|
|
826
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
827
|
+
id: z.ZodString;
|
|
828
|
+
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>>;
|
|
829
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
830
|
+
config: z.ZodObject<{
|
|
521
831
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
522
832
|
application: "application";
|
|
523
833
|
ecommerce: "ecommerce";
|
|
524
834
|
partner: "partner";
|
|
525
835
|
}>>;
|
|
526
|
-
|
|
527
|
-
|
|
836
|
+
}, z.core.$strip>;
|
|
837
|
+
isActive: z.ZodBoolean;
|
|
838
|
+
createdAt: z.ZodString;
|
|
839
|
+
updatedAt: z.ZodString;
|
|
840
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
841
|
+
id: z.ZodString;
|
|
842
|
+
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>>;
|
|
843
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
844
|
+
config: z.ZodObject<{
|
|
528
845
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
529
846
|
application: "application";
|
|
530
847
|
ecommerce: "ecommerce";
|
|
531
848
|
partner: "partner";
|
|
532
849
|
}>>;
|
|
533
|
-
|
|
534
|
-
}, z.core.$strip>]>;
|
|
850
|
+
}, z.core.$strip>;
|
|
535
851
|
isActive: z.ZodBoolean;
|
|
536
852
|
createdAt: z.ZodString;
|
|
537
853
|
updatedAt: z.ZodString;
|
|
538
|
-
}, z.core.$strip>;
|
|
854
|
+
}, z.core.$strip>]>;
|
|
539
855
|
readonly querySchema: undefined;
|
|
540
856
|
readonly headersSchema: undefined;
|
|
541
857
|
private readonly emailNotificationConfigurationId;
|
|
@@ -582,63 +898,85 @@ type GetEmailNotificationConfigurationsQueryParams = z.infer<typeof getEmailNoti
|
|
|
582
898
|
declare const getEmailNotificationConfigurationsInputSchema: z.ZodUndefined;
|
|
583
899
|
type GetEmailNotificationConfigurationsInput = z.infer<typeof getEmailNotificationConfigurationsInputSchema>;
|
|
584
900
|
declare const getEmailNotificationConfigurationsResponseSchema: z.ZodObject<{
|
|
585
|
-
data: z.ZodArray<z.ZodObject<{
|
|
901
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
586
902
|
id: z.ZodString;
|
|
587
|
-
templateKey: z.
|
|
588
|
-
|
|
589
|
-
delivery_taken_over: "delivery_taken_over";
|
|
590
|
-
order_created: "order_created";
|
|
591
|
-
order_delivered: "order_delivered";
|
|
592
|
-
order_in_preparation: "order_in_preparation";
|
|
593
|
-
order_preparation_done: "order_preparation_done";
|
|
594
|
-
}>;
|
|
595
|
-
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
903
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
904
|
+
config: z.ZodObject<{
|
|
596
905
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
597
906
|
application: "application";
|
|
598
907
|
ecommerce: "ecommerce";
|
|
599
908
|
partner: "partner";
|
|
600
909
|
}>>;
|
|
601
|
-
|
|
602
|
-
|
|
910
|
+
}, z.core.$strip>;
|
|
911
|
+
isActive: z.ZodBoolean;
|
|
912
|
+
createdAt: z.ZodString;
|
|
913
|
+
updatedAt: z.ZodString;
|
|
914
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
915
|
+
id: z.ZodString;
|
|
916
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
917
|
+
config: z.ZodObject<{
|
|
603
918
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
604
919
|
application: "application";
|
|
605
920
|
ecommerce: "ecommerce";
|
|
606
921
|
partner: "partner";
|
|
607
922
|
}>>;
|
|
608
|
-
|
|
609
|
-
|
|
923
|
+
}, z.core.$strip>;
|
|
924
|
+
isActive: z.ZodBoolean;
|
|
925
|
+
createdAt: z.ZodString;
|
|
926
|
+
updatedAt: z.ZodString;
|
|
927
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
928
|
+
id: z.ZodString;
|
|
929
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
930
|
+
config: z.ZodObject<{
|
|
610
931
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
611
932
|
application: "application";
|
|
612
933
|
ecommerce: "ecommerce";
|
|
613
934
|
partner: "partner";
|
|
614
935
|
}>>;
|
|
615
|
-
|
|
616
|
-
|
|
936
|
+
}, z.core.$strip>;
|
|
937
|
+
isActive: z.ZodBoolean;
|
|
938
|
+
createdAt: z.ZodString;
|
|
939
|
+
updatedAt: z.ZodString;
|
|
940
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
941
|
+
id: z.ZodString;
|
|
942
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
943
|
+
config: z.ZodObject<{
|
|
617
944
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
618
945
|
application: "application";
|
|
619
946
|
ecommerce: "ecommerce";
|
|
620
947
|
partner: "partner";
|
|
621
948
|
}>>;
|
|
622
|
-
|
|
623
|
-
|
|
949
|
+
}, z.core.$strip>;
|
|
950
|
+
isActive: z.ZodBoolean;
|
|
951
|
+
createdAt: z.ZodString;
|
|
952
|
+
updatedAt: z.ZodString;
|
|
953
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
954
|
+
id: z.ZodString;
|
|
955
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
956
|
+
config: z.ZodObject<{
|
|
624
957
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
625
958
|
application: "application";
|
|
626
959
|
ecommerce: "ecommerce";
|
|
627
960
|
partner: "partner";
|
|
628
961
|
}>>;
|
|
629
|
-
|
|
630
|
-
|
|
962
|
+
}, z.core.$strip>;
|
|
963
|
+
isActive: z.ZodBoolean;
|
|
964
|
+
createdAt: z.ZodString;
|
|
965
|
+
updatedAt: z.ZodString;
|
|
966
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
967
|
+
id: z.ZodString;
|
|
968
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
969
|
+
config: z.ZodObject<{
|
|
631
970
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
632
971
|
application: "application";
|
|
633
972
|
ecommerce: "ecommerce";
|
|
634
973
|
partner: "partner";
|
|
635
974
|
}>>;
|
|
636
|
-
|
|
637
|
-
}, z.core.$strip>]>;
|
|
975
|
+
}, z.core.$strip>;
|
|
638
976
|
isActive: z.ZodBoolean;
|
|
639
977
|
createdAt: z.ZodString;
|
|
640
978
|
updatedAt: z.ZodString;
|
|
641
|
-
}, z.core.$strip>>;
|
|
979
|
+
}, z.core.$strip>]>>;
|
|
642
980
|
pagination: z.ZodObject<{
|
|
643
981
|
from: z.ZodCoercedNumber<unknown>;
|
|
644
982
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -655,63 +993,85 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
|
|
|
655
993
|
readonly accept: "application/json";
|
|
656
994
|
readonly inputSchema: z.ZodUndefined;
|
|
657
995
|
readonly outputSchema: z.ZodObject<{
|
|
658
|
-
data: z.ZodArray<z.ZodObject<{
|
|
996
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
659
997
|
id: z.ZodString;
|
|
660
|
-
templateKey: z.
|
|
661
|
-
|
|
662
|
-
delivery_taken_over: "delivery_taken_over";
|
|
663
|
-
order_created: "order_created";
|
|
664
|
-
order_delivered: "order_delivered";
|
|
665
|
-
order_in_preparation: "order_in_preparation";
|
|
666
|
-
order_preparation_done: "order_preparation_done";
|
|
667
|
-
}>;
|
|
668
|
-
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
998
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
999
|
+
config: z.ZodObject<{
|
|
669
1000
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
670
1001
|
application: "application";
|
|
671
1002
|
ecommerce: "ecommerce";
|
|
672
1003
|
partner: "partner";
|
|
673
1004
|
}>>;
|
|
674
|
-
|
|
675
|
-
|
|
1005
|
+
}, z.core.$strip>;
|
|
1006
|
+
isActive: z.ZodBoolean;
|
|
1007
|
+
createdAt: z.ZodString;
|
|
1008
|
+
updatedAt: z.ZodString;
|
|
1009
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1010
|
+
id: z.ZodString;
|
|
1011
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
1012
|
+
config: z.ZodObject<{
|
|
676
1013
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
677
1014
|
application: "application";
|
|
678
1015
|
ecommerce: "ecommerce";
|
|
679
1016
|
partner: "partner";
|
|
680
1017
|
}>>;
|
|
681
|
-
|
|
682
|
-
|
|
1018
|
+
}, z.core.$strip>;
|
|
1019
|
+
isActive: z.ZodBoolean;
|
|
1020
|
+
createdAt: z.ZodString;
|
|
1021
|
+
updatedAt: z.ZodString;
|
|
1022
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1023
|
+
id: z.ZodString;
|
|
1024
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
1025
|
+
config: z.ZodObject<{
|
|
683
1026
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
684
1027
|
application: "application";
|
|
685
1028
|
ecommerce: "ecommerce";
|
|
686
1029
|
partner: "partner";
|
|
687
1030
|
}>>;
|
|
688
|
-
|
|
689
|
-
|
|
1031
|
+
}, z.core.$strip>;
|
|
1032
|
+
isActive: z.ZodBoolean;
|
|
1033
|
+
createdAt: z.ZodString;
|
|
1034
|
+
updatedAt: z.ZodString;
|
|
1035
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1036
|
+
id: z.ZodString;
|
|
1037
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
1038
|
+
config: z.ZodObject<{
|
|
690
1039
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
691
1040
|
application: "application";
|
|
692
1041
|
ecommerce: "ecommerce";
|
|
693
1042
|
partner: "partner";
|
|
694
1043
|
}>>;
|
|
695
|
-
|
|
696
|
-
|
|
1044
|
+
}, z.core.$strip>;
|
|
1045
|
+
isActive: z.ZodBoolean;
|
|
1046
|
+
createdAt: z.ZodString;
|
|
1047
|
+
updatedAt: z.ZodString;
|
|
1048
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1049
|
+
id: z.ZodString;
|
|
1050
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
1051
|
+
config: z.ZodObject<{
|
|
697
1052
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
698
1053
|
application: "application";
|
|
699
1054
|
ecommerce: "ecommerce";
|
|
700
1055
|
partner: "partner";
|
|
701
1056
|
}>>;
|
|
702
|
-
|
|
703
|
-
|
|
1057
|
+
}, z.core.$strip>;
|
|
1058
|
+
isActive: z.ZodBoolean;
|
|
1059
|
+
createdAt: z.ZodString;
|
|
1060
|
+
updatedAt: z.ZodString;
|
|
1061
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1062
|
+
id: z.ZodString;
|
|
1063
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
1064
|
+
config: z.ZodObject<{
|
|
704
1065
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
705
1066
|
application: "application";
|
|
706
1067
|
ecommerce: "ecommerce";
|
|
707
1068
|
partner: "partner";
|
|
708
1069
|
}>>;
|
|
709
|
-
|
|
710
|
-
}, z.core.$strip>]>;
|
|
1070
|
+
}, z.core.$strip>;
|
|
711
1071
|
isActive: z.ZodBoolean;
|
|
712
1072
|
createdAt: z.ZodString;
|
|
713
1073
|
updatedAt: z.ZodString;
|
|
714
|
-
}, z.core.$strip>>;
|
|
1074
|
+
}, z.core.$strip>]>>;
|
|
715
1075
|
pagination: z.ZodObject<{
|
|
716
1076
|
from: z.ZodCoercedNumber<unknown>;
|
|
717
1077
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -757,64 +1117,91 @@ declare class GetEmailNotificationConfigurations extends AbstractApiRequest<type
|
|
|
757
1117
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
758
1118
|
}, z.core.$strip>;
|
|
759
1119
|
readonly headersSchema: undefined;
|
|
760
|
-
readonly listItemSchema: z.ZodObject<{
|
|
1120
|
+
readonly listItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
761
1121
|
id: z.ZodString;
|
|
762
1122
|
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>>;
|
|
763
|
-
templateKey: z.
|
|
764
|
-
|
|
765
|
-
delivery_taken_over: "delivery_taken_over";
|
|
766
|
-
order_created: "order_created";
|
|
767
|
-
order_delivered: "order_delivered";
|
|
768
|
-
order_in_preparation: "order_in_preparation";
|
|
769
|
-
order_preparation_done: "order_preparation_done";
|
|
770
|
-
}>;
|
|
771
|
-
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1123
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
1124
|
+
config: z.ZodObject<{
|
|
772
1125
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
773
1126
|
application: "application";
|
|
774
1127
|
ecommerce: "ecommerce";
|
|
775
1128
|
partner: "partner";
|
|
776
1129
|
}>>;
|
|
777
|
-
|
|
778
|
-
|
|
1130
|
+
}, z.core.$strip>;
|
|
1131
|
+
isActive: z.ZodBoolean;
|
|
1132
|
+
createdAt: z.ZodString;
|
|
1133
|
+
updatedAt: z.ZodString;
|
|
1134
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1135
|
+
id: z.ZodString;
|
|
1136
|
+
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>>;
|
|
1137
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
1138
|
+
config: z.ZodObject<{
|
|
779
1139
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
780
1140
|
application: "application";
|
|
781
1141
|
ecommerce: "ecommerce";
|
|
782
1142
|
partner: "partner";
|
|
783
1143
|
}>>;
|
|
784
|
-
|
|
785
|
-
|
|
1144
|
+
}, z.core.$strip>;
|
|
1145
|
+
isActive: z.ZodBoolean;
|
|
1146
|
+
createdAt: z.ZodString;
|
|
1147
|
+
updatedAt: z.ZodString;
|
|
1148
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1149
|
+
id: z.ZodString;
|
|
1150
|
+
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>>;
|
|
1151
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
1152
|
+
config: z.ZodObject<{
|
|
786
1153
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
787
1154
|
application: "application";
|
|
788
1155
|
ecommerce: "ecommerce";
|
|
789
1156
|
partner: "partner";
|
|
790
1157
|
}>>;
|
|
791
|
-
|
|
792
|
-
|
|
1158
|
+
}, z.core.$strip>;
|
|
1159
|
+
isActive: z.ZodBoolean;
|
|
1160
|
+
createdAt: z.ZodString;
|
|
1161
|
+
updatedAt: z.ZodString;
|
|
1162
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1163
|
+
id: z.ZodString;
|
|
1164
|
+
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>>;
|
|
1165
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
1166
|
+
config: z.ZodObject<{
|
|
793
1167
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
794
1168
|
application: "application";
|
|
795
1169
|
ecommerce: "ecommerce";
|
|
796
1170
|
partner: "partner";
|
|
797
1171
|
}>>;
|
|
798
|
-
|
|
799
|
-
|
|
1172
|
+
}, z.core.$strip>;
|
|
1173
|
+
isActive: z.ZodBoolean;
|
|
1174
|
+
createdAt: z.ZodString;
|
|
1175
|
+
updatedAt: z.ZodString;
|
|
1176
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1177
|
+
id: z.ZodString;
|
|
1178
|
+
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>>;
|
|
1179
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
1180
|
+
config: z.ZodObject<{
|
|
800
1181
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
801
1182
|
application: "application";
|
|
802
1183
|
ecommerce: "ecommerce";
|
|
803
1184
|
partner: "partner";
|
|
804
1185
|
}>>;
|
|
805
|
-
|
|
806
|
-
|
|
1186
|
+
}, z.core.$strip>;
|
|
1187
|
+
isActive: z.ZodBoolean;
|
|
1188
|
+
createdAt: z.ZodString;
|
|
1189
|
+
updatedAt: z.ZodString;
|
|
1190
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1191
|
+
id: z.ZodString;
|
|
1192
|
+
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>>;
|
|
1193
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
1194
|
+
config: z.ZodObject<{
|
|
807
1195
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
808
1196
|
application: "application";
|
|
809
1197
|
ecommerce: "ecommerce";
|
|
810
1198
|
partner: "partner";
|
|
811
1199
|
}>>;
|
|
812
|
-
|
|
813
|
-
}, z.core.$strip>]>;
|
|
1200
|
+
}, z.core.$strip>;
|
|
814
1201
|
isActive: z.ZodBoolean;
|
|
815
1202
|
createdAt: z.ZodString;
|
|
816
1203
|
updatedAt: z.ZodString;
|
|
817
|
-
}, z.core.$strip>;
|
|
1204
|
+
}, z.core.$strip>]>;
|
|
818
1205
|
readonly paginationDefaultEnabled = true;
|
|
819
1206
|
constructor(options?: {
|
|
820
1207
|
query?: GetEmailNotificationConfigurationsQueryParams;
|
|
@@ -860,126 +1247,170 @@ declare const getEmailNotificationConfigurationsFromPointOfSaleQuerySchema: z.Zo
|
|
|
860
1247
|
type GetEmailNotificationConfigurationsFromPointOfSaleQueryParams = z.infer<typeof getEmailNotificationConfigurationsFromPointOfSaleQuerySchema>;
|
|
861
1248
|
declare const getEmailNotificationConfigurationsFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
862
1249
|
type GetEmailNotificationConfigurationsFromPointOfSaleInput = z.input<typeof getEmailNotificationConfigurationsFromPointOfSaleInputSchema>;
|
|
863
|
-
declare const getEmailNotificationConfigurationsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodObject<{
|
|
1250
|
+
declare const getEmailNotificationConfigurationsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
864
1251
|
id: z.ZodString;
|
|
865
|
-
templateKey: z.
|
|
866
|
-
|
|
867
|
-
delivery_taken_over: "delivery_taken_over";
|
|
868
|
-
order_created: "order_created";
|
|
869
|
-
order_delivered: "order_delivered";
|
|
870
|
-
order_in_preparation: "order_in_preparation";
|
|
871
|
-
order_preparation_done: "order_preparation_done";
|
|
872
|
-
}>;
|
|
873
|
-
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1252
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
1253
|
+
config: z.ZodObject<{
|
|
874
1254
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
875
1255
|
application: "application";
|
|
876
1256
|
ecommerce: "ecommerce";
|
|
877
1257
|
partner: "partner";
|
|
878
1258
|
}>>;
|
|
879
|
-
|
|
880
|
-
|
|
1259
|
+
}, z.core.$strip>;
|
|
1260
|
+
isActive: z.ZodBoolean;
|
|
1261
|
+
createdAt: z.ZodString;
|
|
1262
|
+
updatedAt: z.ZodString;
|
|
1263
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1264
|
+
id: z.ZodString;
|
|
1265
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
1266
|
+
config: z.ZodObject<{
|
|
881
1267
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
882
1268
|
application: "application";
|
|
883
1269
|
ecommerce: "ecommerce";
|
|
884
1270
|
partner: "partner";
|
|
885
1271
|
}>>;
|
|
886
|
-
|
|
887
|
-
|
|
1272
|
+
}, z.core.$strip>;
|
|
1273
|
+
isActive: z.ZodBoolean;
|
|
1274
|
+
createdAt: z.ZodString;
|
|
1275
|
+
updatedAt: z.ZodString;
|
|
1276
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1277
|
+
id: z.ZodString;
|
|
1278
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
1279
|
+
config: z.ZodObject<{
|
|
888
1280
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
889
1281
|
application: "application";
|
|
890
1282
|
ecommerce: "ecommerce";
|
|
891
1283
|
partner: "partner";
|
|
892
1284
|
}>>;
|
|
893
|
-
|
|
894
|
-
|
|
1285
|
+
}, z.core.$strip>;
|
|
1286
|
+
isActive: z.ZodBoolean;
|
|
1287
|
+
createdAt: z.ZodString;
|
|
1288
|
+
updatedAt: z.ZodString;
|
|
1289
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1290
|
+
id: z.ZodString;
|
|
1291
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
1292
|
+
config: z.ZodObject<{
|
|
895
1293
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
896
1294
|
application: "application";
|
|
897
1295
|
ecommerce: "ecommerce";
|
|
898
1296
|
partner: "partner";
|
|
899
1297
|
}>>;
|
|
900
|
-
|
|
901
|
-
|
|
1298
|
+
}, z.core.$strip>;
|
|
1299
|
+
isActive: z.ZodBoolean;
|
|
1300
|
+
createdAt: z.ZodString;
|
|
1301
|
+
updatedAt: z.ZodString;
|
|
1302
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1303
|
+
id: z.ZodString;
|
|
1304
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
1305
|
+
config: z.ZodObject<{
|
|
902
1306
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
903
1307
|
application: "application";
|
|
904
1308
|
ecommerce: "ecommerce";
|
|
905
1309
|
partner: "partner";
|
|
906
1310
|
}>>;
|
|
907
|
-
|
|
908
|
-
|
|
1311
|
+
}, z.core.$strip>;
|
|
1312
|
+
isActive: z.ZodBoolean;
|
|
1313
|
+
createdAt: z.ZodString;
|
|
1314
|
+
updatedAt: z.ZodString;
|
|
1315
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1316
|
+
id: z.ZodString;
|
|
1317
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
1318
|
+
config: z.ZodObject<{
|
|
909
1319
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
910
1320
|
application: "application";
|
|
911
1321
|
ecommerce: "ecommerce";
|
|
912
1322
|
partner: "partner";
|
|
913
1323
|
}>>;
|
|
914
|
-
|
|
915
|
-
}, z.core.$strip>]>;
|
|
1324
|
+
}, z.core.$strip>;
|
|
916
1325
|
isActive: z.ZodBoolean;
|
|
917
1326
|
createdAt: z.ZodString;
|
|
918
1327
|
updatedAt: z.ZodString;
|
|
919
|
-
}, z.core.$strip>>;
|
|
1328
|
+
}, z.core.$strip>]>>;
|
|
920
1329
|
type GetEmailNotificationConfigurationsFromPointOfSaleResponse = z.infer<typeof getEmailNotificationConfigurationsFromPointOfSaleResponseSchema>;
|
|
921
1330
|
declare class GetEmailNotificationConfigurationsFromPointOfSale extends AbstractApiRequest<typeof getEmailNotificationConfigurationsFromPointOfSaleInputSchema, typeof getEmailNotificationConfigurationsFromPointOfSaleResponseSchema, GetEmailNotificationConfigurationsFromPointOfSaleQueryParams> {
|
|
922
1331
|
readonly method: "GET";
|
|
923
1332
|
readonly contentType: "application/json";
|
|
924
1333
|
readonly accept: "application/json";
|
|
925
1334
|
readonly inputSchema: z.ZodUndefined;
|
|
926
|
-
readonly outputSchema: z.ZodArray<z.ZodObject<{
|
|
1335
|
+
readonly outputSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
927
1336
|
id: z.ZodString;
|
|
928
|
-
templateKey: z.
|
|
929
|
-
|
|
930
|
-
delivery_taken_over: "delivery_taken_over";
|
|
931
|
-
order_created: "order_created";
|
|
932
|
-
order_delivered: "order_delivered";
|
|
933
|
-
order_in_preparation: "order_in_preparation";
|
|
934
|
-
order_preparation_done: "order_preparation_done";
|
|
935
|
-
}>;
|
|
936
|
-
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1337
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
1338
|
+
config: z.ZodObject<{
|
|
937
1339
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
938
1340
|
application: "application";
|
|
939
1341
|
ecommerce: "ecommerce";
|
|
940
1342
|
partner: "partner";
|
|
941
1343
|
}>>;
|
|
942
|
-
|
|
943
|
-
|
|
1344
|
+
}, z.core.$strip>;
|
|
1345
|
+
isActive: z.ZodBoolean;
|
|
1346
|
+
createdAt: z.ZodString;
|
|
1347
|
+
updatedAt: z.ZodString;
|
|
1348
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1349
|
+
id: z.ZodString;
|
|
1350
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
1351
|
+
config: z.ZodObject<{
|
|
944
1352
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
945
1353
|
application: "application";
|
|
946
1354
|
ecommerce: "ecommerce";
|
|
947
1355
|
partner: "partner";
|
|
948
1356
|
}>>;
|
|
949
|
-
|
|
950
|
-
|
|
1357
|
+
}, z.core.$strip>;
|
|
1358
|
+
isActive: z.ZodBoolean;
|
|
1359
|
+
createdAt: z.ZodString;
|
|
1360
|
+
updatedAt: z.ZodString;
|
|
1361
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1362
|
+
id: z.ZodString;
|
|
1363
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
1364
|
+
config: z.ZodObject<{
|
|
951
1365
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
952
1366
|
application: "application";
|
|
953
1367
|
ecommerce: "ecommerce";
|
|
954
1368
|
partner: "partner";
|
|
955
1369
|
}>>;
|
|
956
|
-
|
|
957
|
-
|
|
1370
|
+
}, z.core.$strip>;
|
|
1371
|
+
isActive: z.ZodBoolean;
|
|
1372
|
+
createdAt: z.ZodString;
|
|
1373
|
+
updatedAt: z.ZodString;
|
|
1374
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1375
|
+
id: z.ZodString;
|
|
1376
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
1377
|
+
config: z.ZodObject<{
|
|
958
1378
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
959
1379
|
application: "application";
|
|
960
1380
|
ecommerce: "ecommerce";
|
|
961
1381
|
partner: "partner";
|
|
962
1382
|
}>>;
|
|
963
|
-
|
|
964
|
-
|
|
1383
|
+
}, z.core.$strip>;
|
|
1384
|
+
isActive: z.ZodBoolean;
|
|
1385
|
+
createdAt: z.ZodString;
|
|
1386
|
+
updatedAt: z.ZodString;
|
|
1387
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1388
|
+
id: z.ZodString;
|
|
1389
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
1390
|
+
config: z.ZodObject<{
|
|
965
1391
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
966
1392
|
application: "application";
|
|
967
1393
|
ecommerce: "ecommerce";
|
|
968
1394
|
partner: "partner";
|
|
969
1395
|
}>>;
|
|
970
|
-
|
|
971
|
-
|
|
1396
|
+
}, z.core.$strip>;
|
|
1397
|
+
isActive: z.ZodBoolean;
|
|
1398
|
+
createdAt: z.ZodString;
|
|
1399
|
+
updatedAt: z.ZodString;
|
|
1400
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1401
|
+
id: z.ZodString;
|
|
1402
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
1403
|
+
config: z.ZodObject<{
|
|
972
1404
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
973
1405
|
application: "application";
|
|
974
1406
|
ecommerce: "ecommerce";
|
|
975
1407
|
partner: "partner";
|
|
976
1408
|
}>>;
|
|
977
|
-
|
|
978
|
-
}, z.core.$strip>]>;
|
|
1409
|
+
}, z.core.$strip>;
|
|
979
1410
|
isActive: z.ZodBoolean;
|
|
980
1411
|
createdAt: z.ZodString;
|
|
981
1412
|
updatedAt: z.ZodString;
|
|
982
|
-
}, z.core.$strip>>;
|
|
1413
|
+
}, z.core.$strip>]>>;
|
|
983
1414
|
readonly querySchema: z.ZodObject<{
|
|
984
1415
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
985
1416
|
templateKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -1016,64 +1447,91 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
|
|
|
1016
1447
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1017
1448
|
}, z.core.$strip>;
|
|
1018
1449
|
readonly headersSchema: undefined;
|
|
1019
|
-
readonly listItemSchema: z.ZodObject<{
|
|
1450
|
+
readonly listItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1020
1451
|
id: z.ZodString;
|
|
1021
1452
|
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>>;
|
|
1022
|
-
templateKey: z.
|
|
1023
|
-
|
|
1024
|
-
delivery_taken_over: "delivery_taken_over";
|
|
1025
|
-
order_created: "order_created";
|
|
1026
|
-
order_delivered: "order_delivered";
|
|
1027
|
-
order_in_preparation: "order_in_preparation";
|
|
1028
|
-
order_preparation_done: "order_preparation_done";
|
|
1029
|
-
}>;
|
|
1030
|
-
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1453
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
1454
|
+
config: z.ZodObject<{
|
|
1031
1455
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1032
1456
|
application: "application";
|
|
1033
1457
|
ecommerce: "ecommerce";
|
|
1034
1458
|
partner: "partner";
|
|
1035
1459
|
}>>;
|
|
1036
|
-
|
|
1037
|
-
|
|
1460
|
+
}, z.core.$strip>;
|
|
1461
|
+
isActive: z.ZodBoolean;
|
|
1462
|
+
createdAt: z.ZodString;
|
|
1463
|
+
updatedAt: z.ZodString;
|
|
1464
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1465
|
+
id: z.ZodString;
|
|
1466
|
+
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>>;
|
|
1467
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
1468
|
+
config: z.ZodObject<{
|
|
1038
1469
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1039
1470
|
application: "application";
|
|
1040
1471
|
ecommerce: "ecommerce";
|
|
1041
1472
|
partner: "partner";
|
|
1042
1473
|
}>>;
|
|
1043
|
-
|
|
1044
|
-
|
|
1474
|
+
}, z.core.$strip>;
|
|
1475
|
+
isActive: z.ZodBoolean;
|
|
1476
|
+
createdAt: z.ZodString;
|
|
1477
|
+
updatedAt: z.ZodString;
|
|
1478
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1479
|
+
id: z.ZodString;
|
|
1480
|
+
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>>;
|
|
1481
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
1482
|
+
config: z.ZodObject<{
|
|
1045
1483
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1046
1484
|
application: "application";
|
|
1047
1485
|
ecommerce: "ecommerce";
|
|
1048
1486
|
partner: "partner";
|
|
1049
1487
|
}>>;
|
|
1050
|
-
|
|
1051
|
-
|
|
1488
|
+
}, z.core.$strip>;
|
|
1489
|
+
isActive: z.ZodBoolean;
|
|
1490
|
+
createdAt: z.ZodString;
|
|
1491
|
+
updatedAt: z.ZodString;
|
|
1492
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1493
|
+
id: z.ZodString;
|
|
1494
|
+
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>>;
|
|
1495
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
1496
|
+
config: z.ZodObject<{
|
|
1052
1497
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1053
1498
|
application: "application";
|
|
1054
1499
|
ecommerce: "ecommerce";
|
|
1055
1500
|
partner: "partner";
|
|
1056
1501
|
}>>;
|
|
1057
|
-
|
|
1058
|
-
|
|
1502
|
+
}, z.core.$strip>;
|
|
1503
|
+
isActive: z.ZodBoolean;
|
|
1504
|
+
createdAt: z.ZodString;
|
|
1505
|
+
updatedAt: z.ZodString;
|
|
1506
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1507
|
+
id: z.ZodString;
|
|
1508
|
+
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>>;
|
|
1509
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
1510
|
+
config: z.ZodObject<{
|
|
1059
1511
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1060
1512
|
application: "application";
|
|
1061
1513
|
ecommerce: "ecommerce";
|
|
1062
1514
|
partner: "partner";
|
|
1063
1515
|
}>>;
|
|
1064
|
-
|
|
1065
|
-
|
|
1516
|
+
}, z.core.$strip>;
|
|
1517
|
+
isActive: z.ZodBoolean;
|
|
1518
|
+
createdAt: z.ZodString;
|
|
1519
|
+
updatedAt: z.ZodString;
|
|
1520
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1521
|
+
id: z.ZodString;
|
|
1522
|
+
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>>;
|
|
1523
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
1524
|
+
config: z.ZodObject<{
|
|
1066
1525
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1067
1526
|
application: "application";
|
|
1068
1527
|
ecommerce: "ecommerce";
|
|
1069
1528
|
partner: "partner";
|
|
1070
1529
|
}>>;
|
|
1071
|
-
|
|
1072
|
-
}, z.core.$strip>]>;
|
|
1530
|
+
}, z.core.$strip>;
|
|
1073
1531
|
isActive: z.ZodBoolean;
|
|
1074
1532
|
createdAt: z.ZodString;
|
|
1075
1533
|
updatedAt: z.ZodString;
|
|
1076
|
-
}, z.core.$strip>;
|
|
1534
|
+
}, z.core.$strip>]>;
|
|
1077
1535
|
readonly paginationDefaultEnabled = false;
|
|
1078
1536
|
private readonly pointOfSaleId;
|
|
1079
1537
|
constructor(pointOfSaleId: string, options?: {
|
|
@@ -1082,7 +1540,8 @@ declare class GetEmailNotificationConfigurationsFromPointOfSale extends Abstract
|
|
|
1082
1540
|
getPath(): string;
|
|
1083
1541
|
}
|
|
1084
1542
|
|
|
1085
|
-
declare const updateEmailNotificationConfigurationInputSchema: z.ZodObject<{
|
|
1543
|
+
declare const updateEmailNotificationConfigurationInputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1544
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
1086
1545
|
config: z.ZodOptional<z.ZodObject<{
|
|
1087
1546
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1088
1547
|
application: "application";
|
|
@@ -1091,72 +1550,150 @@ declare const updateEmailNotificationConfigurationInputSchema: z.ZodObject<{
|
|
|
1091
1550
|
}>>;
|
|
1092
1551
|
}, z.core.$strip>>;
|
|
1093
1552
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1094
|
-
}, z.core.$strip
|
|
1553
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1554
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
1555
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
1556
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1557
|
+
application: "application";
|
|
1558
|
+
ecommerce: "ecommerce";
|
|
1559
|
+
partner: "partner";
|
|
1560
|
+
}>>;
|
|
1561
|
+
}, z.core.$strip>>;
|
|
1562
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1563
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1564
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
1565
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
1566
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1567
|
+
application: "application";
|
|
1568
|
+
ecommerce: "ecommerce";
|
|
1569
|
+
partner: "partner";
|
|
1570
|
+
}>>;
|
|
1571
|
+
}, z.core.$strip>>;
|
|
1572
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1573
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1574
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
1575
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
1576
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1577
|
+
application: "application";
|
|
1578
|
+
ecommerce: "ecommerce";
|
|
1579
|
+
partner: "partner";
|
|
1580
|
+
}>>;
|
|
1581
|
+
}, z.core.$strip>>;
|
|
1582
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1583
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1584
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
1585
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
1586
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1587
|
+
application: "application";
|
|
1588
|
+
ecommerce: "ecommerce";
|
|
1589
|
+
partner: "partner";
|
|
1590
|
+
}>>;
|
|
1591
|
+
}, z.core.$strip>>;
|
|
1592
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1593
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1594
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
1595
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
1596
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1597
|
+
application: "application";
|
|
1598
|
+
ecommerce: "ecommerce";
|
|
1599
|
+
partner: "partner";
|
|
1600
|
+
}>>;
|
|
1601
|
+
}, z.core.$strip>>;
|
|
1602
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1603
|
+
}, z.core.$strip>]>;
|
|
1095
1604
|
type UpdateEmailNotificationConfigurationInput = z.input<typeof updateEmailNotificationConfigurationInputSchema>;
|
|
1096
|
-
declare const updateEmailNotificationConfigurationResponseSchema: z.ZodObject<{
|
|
1605
|
+
declare const updateEmailNotificationConfigurationResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1097
1606
|
id: z.ZodString;
|
|
1098
1607
|
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>>;
|
|
1099
|
-
templateKey: z.
|
|
1100
|
-
|
|
1101
|
-
delivery_taken_over: "delivery_taken_over";
|
|
1102
|
-
order_created: "order_created";
|
|
1103
|
-
order_delivered: "order_delivered";
|
|
1104
|
-
order_in_preparation: "order_in_preparation";
|
|
1105
|
-
order_preparation_done: "order_preparation_done";
|
|
1106
|
-
}>;
|
|
1107
|
-
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1608
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
1609
|
+
config: z.ZodObject<{
|
|
1108
1610
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1109
1611
|
application: "application";
|
|
1110
1612
|
ecommerce: "ecommerce";
|
|
1111
1613
|
partner: "partner";
|
|
1112
1614
|
}>>;
|
|
1113
|
-
|
|
1114
|
-
|
|
1615
|
+
}, z.core.$strip>;
|
|
1616
|
+
isActive: z.ZodBoolean;
|
|
1617
|
+
createdAt: z.ZodString;
|
|
1618
|
+
updatedAt: z.ZodString;
|
|
1619
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1620
|
+
id: z.ZodString;
|
|
1621
|
+
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>>;
|
|
1622
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
1623
|
+
config: z.ZodObject<{
|
|
1115
1624
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1116
1625
|
application: "application";
|
|
1117
1626
|
ecommerce: "ecommerce";
|
|
1118
1627
|
partner: "partner";
|
|
1119
1628
|
}>>;
|
|
1120
|
-
|
|
1121
|
-
|
|
1629
|
+
}, 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
|
+
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>>;
|
|
1636
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
1637
|
+
config: z.ZodObject<{
|
|
1122
1638
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1123
1639
|
application: "application";
|
|
1124
1640
|
ecommerce: "ecommerce";
|
|
1125
1641
|
partner: "partner";
|
|
1126
1642
|
}>>;
|
|
1127
|
-
|
|
1128
|
-
|
|
1643
|
+
}, z.core.$strip>;
|
|
1644
|
+
isActive: z.ZodBoolean;
|
|
1645
|
+
createdAt: z.ZodString;
|
|
1646
|
+
updatedAt: z.ZodString;
|
|
1647
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1648
|
+
id: z.ZodString;
|
|
1649
|
+
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>>;
|
|
1650
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
1651
|
+
config: z.ZodObject<{
|
|
1129
1652
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1130
1653
|
application: "application";
|
|
1131
1654
|
ecommerce: "ecommerce";
|
|
1132
1655
|
partner: "partner";
|
|
1133
1656
|
}>>;
|
|
1134
|
-
|
|
1135
|
-
|
|
1657
|
+
}, z.core.$strip>;
|
|
1658
|
+
isActive: z.ZodBoolean;
|
|
1659
|
+
createdAt: z.ZodString;
|
|
1660
|
+
updatedAt: z.ZodString;
|
|
1661
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1662
|
+
id: z.ZodString;
|
|
1663
|
+
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>>;
|
|
1664
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
1665
|
+
config: z.ZodObject<{
|
|
1136
1666
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1137
1667
|
application: "application";
|
|
1138
1668
|
ecommerce: "ecommerce";
|
|
1139
1669
|
partner: "partner";
|
|
1140
1670
|
}>>;
|
|
1141
|
-
|
|
1142
|
-
|
|
1671
|
+
}, z.core.$strip>;
|
|
1672
|
+
isActive: z.ZodBoolean;
|
|
1673
|
+
createdAt: z.ZodString;
|
|
1674
|
+
updatedAt: z.ZodString;
|
|
1675
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1676
|
+
id: z.ZodString;
|
|
1677
|
+
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>>;
|
|
1678
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
1679
|
+
config: z.ZodObject<{
|
|
1143
1680
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1144
1681
|
application: "application";
|
|
1145
1682
|
ecommerce: "ecommerce";
|
|
1146
1683
|
partner: "partner";
|
|
1147
1684
|
}>>;
|
|
1148
|
-
|
|
1149
|
-
}, z.core.$strip>]>;
|
|
1685
|
+
}, z.core.$strip>;
|
|
1150
1686
|
isActive: z.ZodBoolean;
|
|
1151
1687
|
createdAt: z.ZodString;
|
|
1152
1688
|
updatedAt: z.ZodString;
|
|
1153
|
-
}, z.core.$strip>;
|
|
1689
|
+
}, z.core.$strip>]>;
|
|
1154
1690
|
type UpdateEmailNotificationConfigurationResponse = z.infer<typeof updateEmailNotificationConfigurationResponseSchema>;
|
|
1155
1691
|
declare class UpdateEmailNotificationConfiguration extends AbstractApiRequest<typeof updateEmailNotificationConfigurationInputSchema, typeof updateEmailNotificationConfigurationResponseSchema> {
|
|
1156
1692
|
readonly method = "PATCH";
|
|
1157
1693
|
readonly contentType = "application/merge-patch+json";
|
|
1158
1694
|
readonly accept = "application/json";
|
|
1159
|
-
readonly inputSchema: z.ZodObject<{
|
|
1695
|
+
readonly inputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1696
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
1160
1697
|
config: z.ZodOptional<z.ZodObject<{
|
|
1161
1698
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1162
1699
|
application: "application";
|
|
@@ -1165,65 +1702,142 @@ declare class UpdateEmailNotificationConfiguration extends AbstractApiRequest<ty
|
|
|
1165
1702
|
}>>;
|
|
1166
1703
|
}, z.core.$strip>>;
|
|
1167
1704
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1168
|
-
}, z.core.$strip
|
|
1169
|
-
|
|
1705
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1706
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
1707
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
1708
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1709
|
+
application: "application";
|
|
1710
|
+
ecommerce: "ecommerce";
|
|
1711
|
+
partner: "partner";
|
|
1712
|
+
}>>;
|
|
1713
|
+
}, z.core.$strip>>;
|
|
1714
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1715
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1716
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
1717
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
1718
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1719
|
+
application: "application";
|
|
1720
|
+
ecommerce: "ecommerce";
|
|
1721
|
+
partner: "partner";
|
|
1722
|
+
}>>;
|
|
1723
|
+
}, z.core.$strip>>;
|
|
1724
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1725
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1726
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
1727
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
1728
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1729
|
+
application: "application";
|
|
1730
|
+
ecommerce: "ecommerce";
|
|
1731
|
+
partner: "partner";
|
|
1732
|
+
}>>;
|
|
1733
|
+
}, z.core.$strip>>;
|
|
1734
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1735
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1736
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
1737
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
1738
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1739
|
+
application: "application";
|
|
1740
|
+
ecommerce: "ecommerce";
|
|
1741
|
+
partner: "partner";
|
|
1742
|
+
}>>;
|
|
1743
|
+
}, z.core.$strip>>;
|
|
1744
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1745
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1746
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
1747
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
1748
|
+
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1749
|
+
application: "application";
|
|
1750
|
+
ecommerce: "ecommerce";
|
|
1751
|
+
partner: "partner";
|
|
1752
|
+
}>>;
|
|
1753
|
+
}, z.core.$strip>>;
|
|
1754
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1755
|
+
}, z.core.$strip>]>;
|
|
1756
|
+
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1170
1757
|
id: z.ZodString;
|
|
1171
1758
|
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>>;
|
|
1172
|
-
templateKey: z.
|
|
1173
|
-
|
|
1174
|
-
delivery_taken_over: "delivery_taken_over";
|
|
1175
|
-
order_created: "order_created";
|
|
1176
|
-
order_delivered: "order_delivered";
|
|
1177
|
-
order_in_preparation: "order_in_preparation";
|
|
1178
|
-
order_preparation_done: "order_preparation_done";
|
|
1179
|
-
}>;
|
|
1180
|
-
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1759
|
+
templateKey: z.ZodLiteral<"delivery_started">;
|
|
1760
|
+
config: z.ZodObject<{
|
|
1181
1761
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1182
1762
|
application: "application";
|
|
1183
1763
|
ecommerce: "ecommerce";
|
|
1184
1764
|
partner: "partner";
|
|
1185
1765
|
}>>;
|
|
1186
|
-
|
|
1187
|
-
|
|
1766
|
+
}, z.core.$strip>;
|
|
1767
|
+
isActive: z.ZodBoolean;
|
|
1768
|
+
createdAt: z.ZodString;
|
|
1769
|
+
updatedAt: z.ZodString;
|
|
1770
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1771
|
+
id: z.ZodString;
|
|
1772
|
+
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>>;
|
|
1773
|
+
templateKey: z.ZodLiteral<"delivery_taken_over">;
|
|
1774
|
+
config: z.ZodObject<{
|
|
1188
1775
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1189
1776
|
application: "application";
|
|
1190
1777
|
ecommerce: "ecommerce";
|
|
1191
1778
|
partner: "partner";
|
|
1192
1779
|
}>>;
|
|
1193
|
-
|
|
1194
|
-
|
|
1780
|
+
}, z.core.$strip>;
|
|
1781
|
+
isActive: z.ZodBoolean;
|
|
1782
|
+
createdAt: z.ZodString;
|
|
1783
|
+
updatedAt: z.ZodString;
|
|
1784
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1785
|
+
id: z.ZodString;
|
|
1786
|
+
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>>;
|
|
1787
|
+
templateKey: z.ZodLiteral<"order_created">;
|
|
1788
|
+
config: z.ZodObject<{
|
|
1195
1789
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1196
1790
|
application: "application";
|
|
1197
1791
|
ecommerce: "ecommerce";
|
|
1198
1792
|
partner: "partner";
|
|
1199
1793
|
}>>;
|
|
1200
|
-
|
|
1201
|
-
|
|
1794
|
+
}, z.core.$strip>;
|
|
1795
|
+
isActive: z.ZodBoolean;
|
|
1796
|
+
createdAt: z.ZodString;
|
|
1797
|
+
updatedAt: z.ZodString;
|
|
1798
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1799
|
+
id: z.ZodString;
|
|
1800
|
+
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>>;
|
|
1801
|
+
templateKey: z.ZodLiteral<"order_delivered">;
|
|
1802
|
+
config: z.ZodObject<{
|
|
1202
1803
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1203
1804
|
application: "application";
|
|
1204
1805
|
ecommerce: "ecommerce";
|
|
1205
1806
|
partner: "partner";
|
|
1206
1807
|
}>>;
|
|
1207
|
-
|
|
1208
|
-
|
|
1808
|
+
}, z.core.$strip>;
|
|
1809
|
+
isActive: z.ZodBoolean;
|
|
1810
|
+
createdAt: z.ZodString;
|
|
1811
|
+
updatedAt: z.ZodString;
|
|
1812
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1813
|
+
id: z.ZodString;
|
|
1814
|
+
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>>;
|
|
1815
|
+
templateKey: z.ZodLiteral<"order_in_preparation">;
|
|
1816
|
+
config: z.ZodObject<{
|
|
1209
1817
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1210
1818
|
application: "application";
|
|
1211
1819
|
ecommerce: "ecommerce";
|
|
1212
1820
|
partner: "partner";
|
|
1213
1821
|
}>>;
|
|
1214
|
-
|
|
1215
|
-
|
|
1822
|
+
}, z.core.$strip>;
|
|
1823
|
+
isActive: z.ZodBoolean;
|
|
1824
|
+
createdAt: z.ZodString;
|
|
1825
|
+
updatedAt: z.ZodString;
|
|
1826
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1827
|
+
id: z.ZodString;
|
|
1828
|
+
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>>;
|
|
1829
|
+
templateKey: z.ZodLiteral<"order_preparation_done">;
|
|
1830
|
+
config: z.ZodObject<{
|
|
1216
1831
|
sourcesEnabled: z.ZodArray<z.ZodEnum<{
|
|
1217
1832
|
application: "application";
|
|
1218
1833
|
ecommerce: "ecommerce";
|
|
1219
1834
|
partner: "partner";
|
|
1220
1835
|
}>>;
|
|
1221
|
-
|
|
1222
|
-
}, z.core.$strip>]>;
|
|
1836
|
+
}, z.core.$strip>;
|
|
1223
1837
|
isActive: z.ZodBoolean;
|
|
1224
1838
|
createdAt: z.ZodString;
|
|
1225
1839
|
updatedAt: z.ZodString;
|
|
1226
|
-
}, z.core.$strip>;
|
|
1840
|
+
}, z.core.$strip>]>;
|
|
1227
1841
|
readonly querySchema: undefined;
|
|
1228
1842
|
readonly headersSchema: undefined;
|
|
1229
1843
|
private readonly emailNotificationConfigurationId;
|
|
@@ -1236,4 +1850,4 @@ type EmailNotificationConfigurationIri = z.infer<typeof emailNotificationConfigu
|
|
|
1236
1850
|
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>>;
|
|
1237
1851
|
type EmailNotificationConfigurationNullableIri = z.infer<typeof emailNotificationConfigurationNullableIriSchema>;
|
|
1238
1852
|
|
|
1239
|
-
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
|
|
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 };
|