evo360-types 1.3.311 → 1.3.314

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.
@@ -0,0 +1,1204 @@
1
+ import { z } from 'zod';
2
+ export declare const zQuickReplyMediaSchema: z.ZodObject<{
3
+ gcs_uri: z.ZodString;
4
+ mime_type: z.ZodString;
5
+ filename: z.ZodOptional<z.ZodString>;
6
+ caption: z.ZodOptional<z.ZodString>;
7
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8
+ gcs_uri: z.ZodString;
9
+ mime_type: z.ZodString;
10
+ filename: z.ZodOptional<z.ZodString>;
11
+ caption: z.ZodOptional<z.ZodString>;
12
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
13
+ gcs_uri: z.ZodString;
14
+ mime_type: z.ZodString;
15
+ filename: z.ZodOptional<z.ZodString>;
16
+ caption: z.ZodOptional<z.ZodString>;
17
+ }, z.ZodTypeAny, "passthrough">>;
18
+ export declare const zQuickReplyLocationSchema: z.ZodObject<{
19
+ latitude: z.ZodNumber;
20
+ longitude: z.ZodNumber;
21
+ name: z.ZodOptional<z.ZodString>;
22
+ address: z.ZodOptional<z.ZodString>;
23
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
24
+ latitude: z.ZodNumber;
25
+ longitude: z.ZodNumber;
26
+ name: z.ZodOptional<z.ZodString>;
27
+ address: z.ZodOptional<z.ZodString>;
28
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
29
+ latitude: z.ZodNumber;
30
+ longitude: z.ZodNumber;
31
+ name: z.ZodOptional<z.ZodString>;
32
+ address: z.ZodOptional<z.ZodString>;
33
+ }, z.ZodTypeAny, "passthrough">>;
34
+ export declare const zQuickReplyContactSchema: z.ZodObject<{
35
+ name: z.ZodObject<{
36
+ formatted_name: z.ZodString;
37
+ first_name: z.ZodOptional<z.ZodString>;
38
+ last_name: z.ZodOptional<z.ZodString>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ formatted_name: string;
41
+ last_name?: string | undefined;
42
+ first_name?: string | undefined;
43
+ }, {
44
+ formatted_name: string;
45
+ last_name?: string | undefined;
46
+ first_name?: string | undefined;
47
+ }>;
48
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
49
+ phone: z.ZodString;
50
+ type: z.ZodOptional<z.ZodString>;
51
+ }, "strip", z.ZodTypeAny, {
52
+ phone: string;
53
+ type?: string | undefined;
54
+ }, {
55
+ phone: string;
56
+ type?: string | undefined;
57
+ }>, "many">>;
58
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
59
+ name: z.ZodObject<{
60
+ formatted_name: z.ZodString;
61
+ first_name: z.ZodOptional<z.ZodString>;
62
+ last_name: z.ZodOptional<z.ZodString>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ formatted_name: string;
65
+ last_name?: string | undefined;
66
+ first_name?: string | undefined;
67
+ }, {
68
+ formatted_name: string;
69
+ last_name?: string | undefined;
70
+ first_name?: string | undefined;
71
+ }>;
72
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
73
+ phone: z.ZodString;
74
+ type: z.ZodOptional<z.ZodString>;
75
+ }, "strip", z.ZodTypeAny, {
76
+ phone: string;
77
+ type?: string | undefined;
78
+ }, {
79
+ phone: string;
80
+ type?: string | undefined;
81
+ }>, "many">>;
82
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
83
+ name: z.ZodObject<{
84
+ formatted_name: z.ZodString;
85
+ first_name: z.ZodOptional<z.ZodString>;
86
+ last_name: z.ZodOptional<z.ZodString>;
87
+ }, "strip", z.ZodTypeAny, {
88
+ formatted_name: string;
89
+ last_name?: string | undefined;
90
+ first_name?: string | undefined;
91
+ }, {
92
+ formatted_name: string;
93
+ last_name?: string | undefined;
94
+ first_name?: string | undefined;
95
+ }>;
96
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
97
+ phone: z.ZodString;
98
+ type: z.ZodOptional<z.ZodString>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ phone: string;
101
+ type?: string | undefined;
102
+ }, {
103
+ phone: string;
104
+ type?: string | undefined;
105
+ }>, "many">>;
106
+ }, z.ZodTypeAny, "passthrough">>;
107
+ export declare const zQuickReplySchema: z.ZodObject<{
108
+ id: z.ZodString;
109
+ ref: z.ZodAny;
110
+ tenant: z.ZodString;
111
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
112
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
113
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
114
+ } & {
115
+ model_ver: z.ZodDefault<z.ZodNumber>;
116
+ title: z.ZodString;
117
+ shortcut: z.ZodOptional<z.ZodString>;
118
+ type: z.ZodEnum<["text", "image", "audio", "video", "document", "location", "contacts"]>;
119
+ body: z.ZodOptional<z.ZodObject<{
120
+ text: z.ZodString;
121
+ }, "strip", z.ZodTypeAny, {
122
+ text: string;
123
+ }, {
124
+ text: string;
125
+ }>>;
126
+ media: z.ZodOptional<z.ZodObject<{
127
+ gcs_uri: z.ZodString;
128
+ mime_type: z.ZodString;
129
+ filename: z.ZodOptional<z.ZodString>;
130
+ caption: z.ZodOptional<z.ZodString>;
131
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
132
+ gcs_uri: z.ZodString;
133
+ mime_type: z.ZodString;
134
+ filename: z.ZodOptional<z.ZodString>;
135
+ caption: z.ZodOptional<z.ZodString>;
136
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
137
+ gcs_uri: z.ZodString;
138
+ mime_type: z.ZodString;
139
+ filename: z.ZodOptional<z.ZodString>;
140
+ caption: z.ZodOptional<z.ZodString>;
141
+ }, z.ZodTypeAny, "passthrough">>>;
142
+ location: z.ZodOptional<z.ZodObject<{
143
+ latitude: z.ZodNumber;
144
+ longitude: z.ZodNumber;
145
+ name: z.ZodOptional<z.ZodString>;
146
+ address: z.ZodOptional<z.ZodString>;
147
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
148
+ latitude: z.ZodNumber;
149
+ longitude: z.ZodNumber;
150
+ name: z.ZodOptional<z.ZodString>;
151
+ address: z.ZodOptional<z.ZodString>;
152
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
153
+ latitude: z.ZodNumber;
154
+ longitude: z.ZodNumber;
155
+ name: z.ZodOptional<z.ZodString>;
156
+ address: z.ZodOptional<z.ZodString>;
157
+ }, z.ZodTypeAny, "passthrough">>>;
158
+ contacts_payload: z.ZodOptional<z.ZodArray<z.ZodObject<{
159
+ name: z.ZodObject<{
160
+ formatted_name: z.ZodString;
161
+ first_name: z.ZodOptional<z.ZodString>;
162
+ last_name: z.ZodOptional<z.ZodString>;
163
+ }, "strip", z.ZodTypeAny, {
164
+ formatted_name: string;
165
+ last_name?: string | undefined;
166
+ first_name?: string | undefined;
167
+ }, {
168
+ formatted_name: string;
169
+ last_name?: string | undefined;
170
+ first_name?: string | undefined;
171
+ }>;
172
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
173
+ phone: z.ZodString;
174
+ type: z.ZodOptional<z.ZodString>;
175
+ }, "strip", z.ZodTypeAny, {
176
+ phone: string;
177
+ type?: string | undefined;
178
+ }, {
179
+ phone: string;
180
+ type?: string | undefined;
181
+ }>, "many">>;
182
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
183
+ name: z.ZodObject<{
184
+ formatted_name: z.ZodString;
185
+ first_name: z.ZodOptional<z.ZodString>;
186
+ last_name: z.ZodOptional<z.ZodString>;
187
+ }, "strip", z.ZodTypeAny, {
188
+ formatted_name: string;
189
+ last_name?: string | undefined;
190
+ first_name?: string | undefined;
191
+ }, {
192
+ formatted_name: string;
193
+ last_name?: string | undefined;
194
+ first_name?: string | undefined;
195
+ }>;
196
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
197
+ phone: z.ZodString;
198
+ type: z.ZodOptional<z.ZodString>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ phone: string;
201
+ type?: string | undefined;
202
+ }, {
203
+ phone: string;
204
+ type?: string | undefined;
205
+ }>, "many">>;
206
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
207
+ name: z.ZodObject<{
208
+ formatted_name: z.ZodString;
209
+ first_name: z.ZodOptional<z.ZodString>;
210
+ last_name: z.ZodOptional<z.ZodString>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ formatted_name: string;
213
+ last_name?: string | undefined;
214
+ first_name?: string | undefined;
215
+ }, {
216
+ formatted_name: string;
217
+ last_name?: string | undefined;
218
+ first_name?: string | undefined;
219
+ }>;
220
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
221
+ phone: z.ZodString;
222
+ type: z.ZodOptional<z.ZodString>;
223
+ }, "strip", z.ZodTypeAny, {
224
+ phone: string;
225
+ type?: string | undefined;
226
+ }, {
227
+ phone: string;
228
+ type?: string | undefined;
229
+ }>, "many">>;
230
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
231
+ department_ids: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodLiteral<"all">]>;
232
+ status: z.ZodEnum<["active", "paused"]>;
233
+ usage_count: z.ZodOptional<z.ZodNumber>;
234
+ last_used_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
235
+ created_by: z.ZodOptional<z.ZodString>;
236
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
237
+ id: z.ZodString;
238
+ ref: z.ZodAny;
239
+ tenant: z.ZodString;
240
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
241
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
242
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
243
+ } & {
244
+ model_ver: z.ZodDefault<z.ZodNumber>;
245
+ title: z.ZodString;
246
+ shortcut: z.ZodOptional<z.ZodString>;
247
+ type: z.ZodEnum<["text", "image", "audio", "video", "document", "location", "contacts"]>;
248
+ body: z.ZodOptional<z.ZodObject<{
249
+ text: z.ZodString;
250
+ }, "strip", z.ZodTypeAny, {
251
+ text: string;
252
+ }, {
253
+ text: string;
254
+ }>>;
255
+ media: z.ZodOptional<z.ZodObject<{
256
+ gcs_uri: z.ZodString;
257
+ mime_type: z.ZodString;
258
+ filename: z.ZodOptional<z.ZodString>;
259
+ caption: z.ZodOptional<z.ZodString>;
260
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
261
+ gcs_uri: z.ZodString;
262
+ mime_type: z.ZodString;
263
+ filename: z.ZodOptional<z.ZodString>;
264
+ caption: z.ZodOptional<z.ZodString>;
265
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
266
+ gcs_uri: z.ZodString;
267
+ mime_type: z.ZodString;
268
+ filename: z.ZodOptional<z.ZodString>;
269
+ caption: z.ZodOptional<z.ZodString>;
270
+ }, z.ZodTypeAny, "passthrough">>>;
271
+ location: z.ZodOptional<z.ZodObject<{
272
+ latitude: z.ZodNumber;
273
+ longitude: z.ZodNumber;
274
+ name: z.ZodOptional<z.ZodString>;
275
+ address: z.ZodOptional<z.ZodString>;
276
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
277
+ latitude: z.ZodNumber;
278
+ longitude: z.ZodNumber;
279
+ name: z.ZodOptional<z.ZodString>;
280
+ address: z.ZodOptional<z.ZodString>;
281
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
282
+ latitude: z.ZodNumber;
283
+ longitude: z.ZodNumber;
284
+ name: z.ZodOptional<z.ZodString>;
285
+ address: z.ZodOptional<z.ZodString>;
286
+ }, z.ZodTypeAny, "passthrough">>>;
287
+ contacts_payload: z.ZodOptional<z.ZodArray<z.ZodObject<{
288
+ name: z.ZodObject<{
289
+ formatted_name: z.ZodString;
290
+ first_name: z.ZodOptional<z.ZodString>;
291
+ last_name: z.ZodOptional<z.ZodString>;
292
+ }, "strip", z.ZodTypeAny, {
293
+ formatted_name: string;
294
+ last_name?: string | undefined;
295
+ first_name?: string | undefined;
296
+ }, {
297
+ formatted_name: string;
298
+ last_name?: string | undefined;
299
+ first_name?: string | undefined;
300
+ }>;
301
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
302
+ phone: z.ZodString;
303
+ type: z.ZodOptional<z.ZodString>;
304
+ }, "strip", z.ZodTypeAny, {
305
+ phone: string;
306
+ type?: string | undefined;
307
+ }, {
308
+ phone: string;
309
+ type?: string | undefined;
310
+ }>, "many">>;
311
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
312
+ name: z.ZodObject<{
313
+ formatted_name: z.ZodString;
314
+ first_name: z.ZodOptional<z.ZodString>;
315
+ last_name: z.ZodOptional<z.ZodString>;
316
+ }, "strip", z.ZodTypeAny, {
317
+ formatted_name: string;
318
+ last_name?: string | undefined;
319
+ first_name?: string | undefined;
320
+ }, {
321
+ formatted_name: string;
322
+ last_name?: string | undefined;
323
+ first_name?: string | undefined;
324
+ }>;
325
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
326
+ phone: z.ZodString;
327
+ type: z.ZodOptional<z.ZodString>;
328
+ }, "strip", z.ZodTypeAny, {
329
+ phone: string;
330
+ type?: string | undefined;
331
+ }, {
332
+ phone: string;
333
+ type?: string | undefined;
334
+ }>, "many">>;
335
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
336
+ name: z.ZodObject<{
337
+ formatted_name: z.ZodString;
338
+ first_name: z.ZodOptional<z.ZodString>;
339
+ last_name: z.ZodOptional<z.ZodString>;
340
+ }, "strip", z.ZodTypeAny, {
341
+ formatted_name: string;
342
+ last_name?: string | undefined;
343
+ first_name?: string | undefined;
344
+ }, {
345
+ formatted_name: string;
346
+ last_name?: string | undefined;
347
+ first_name?: string | undefined;
348
+ }>;
349
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
350
+ phone: z.ZodString;
351
+ type: z.ZodOptional<z.ZodString>;
352
+ }, "strip", z.ZodTypeAny, {
353
+ phone: string;
354
+ type?: string | undefined;
355
+ }, {
356
+ phone: string;
357
+ type?: string | undefined;
358
+ }>, "many">>;
359
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
360
+ department_ids: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodLiteral<"all">]>;
361
+ status: z.ZodEnum<["active", "paused"]>;
362
+ usage_count: z.ZodOptional<z.ZodNumber>;
363
+ last_used_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
364
+ created_by: z.ZodOptional<z.ZodString>;
365
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
366
+ id: z.ZodString;
367
+ ref: z.ZodAny;
368
+ tenant: z.ZodString;
369
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
370
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
371
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
372
+ } & {
373
+ model_ver: z.ZodDefault<z.ZodNumber>;
374
+ title: z.ZodString;
375
+ shortcut: z.ZodOptional<z.ZodString>;
376
+ type: z.ZodEnum<["text", "image", "audio", "video", "document", "location", "contacts"]>;
377
+ body: z.ZodOptional<z.ZodObject<{
378
+ text: z.ZodString;
379
+ }, "strip", z.ZodTypeAny, {
380
+ text: string;
381
+ }, {
382
+ text: string;
383
+ }>>;
384
+ media: z.ZodOptional<z.ZodObject<{
385
+ gcs_uri: z.ZodString;
386
+ mime_type: z.ZodString;
387
+ filename: z.ZodOptional<z.ZodString>;
388
+ caption: z.ZodOptional<z.ZodString>;
389
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
390
+ gcs_uri: z.ZodString;
391
+ mime_type: z.ZodString;
392
+ filename: z.ZodOptional<z.ZodString>;
393
+ caption: z.ZodOptional<z.ZodString>;
394
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
395
+ gcs_uri: z.ZodString;
396
+ mime_type: z.ZodString;
397
+ filename: z.ZodOptional<z.ZodString>;
398
+ caption: z.ZodOptional<z.ZodString>;
399
+ }, z.ZodTypeAny, "passthrough">>>;
400
+ location: z.ZodOptional<z.ZodObject<{
401
+ latitude: z.ZodNumber;
402
+ longitude: z.ZodNumber;
403
+ name: z.ZodOptional<z.ZodString>;
404
+ address: z.ZodOptional<z.ZodString>;
405
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
406
+ latitude: z.ZodNumber;
407
+ longitude: z.ZodNumber;
408
+ name: z.ZodOptional<z.ZodString>;
409
+ address: z.ZodOptional<z.ZodString>;
410
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
411
+ latitude: z.ZodNumber;
412
+ longitude: z.ZodNumber;
413
+ name: z.ZodOptional<z.ZodString>;
414
+ address: z.ZodOptional<z.ZodString>;
415
+ }, z.ZodTypeAny, "passthrough">>>;
416
+ contacts_payload: z.ZodOptional<z.ZodArray<z.ZodObject<{
417
+ name: z.ZodObject<{
418
+ formatted_name: z.ZodString;
419
+ first_name: z.ZodOptional<z.ZodString>;
420
+ last_name: z.ZodOptional<z.ZodString>;
421
+ }, "strip", z.ZodTypeAny, {
422
+ formatted_name: string;
423
+ last_name?: string | undefined;
424
+ first_name?: string | undefined;
425
+ }, {
426
+ formatted_name: string;
427
+ last_name?: string | undefined;
428
+ first_name?: string | undefined;
429
+ }>;
430
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
431
+ phone: z.ZodString;
432
+ type: z.ZodOptional<z.ZodString>;
433
+ }, "strip", z.ZodTypeAny, {
434
+ phone: string;
435
+ type?: string | undefined;
436
+ }, {
437
+ phone: string;
438
+ type?: string | undefined;
439
+ }>, "many">>;
440
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
441
+ name: z.ZodObject<{
442
+ formatted_name: z.ZodString;
443
+ first_name: z.ZodOptional<z.ZodString>;
444
+ last_name: z.ZodOptional<z.ZodString>;
445
+ }, "strip", z.ZodTypeAny, {
446
+ formatted_name: string;
447
+ last_name?: string | undefined;
448
+ first_name?: string | undefined;
449
+ }, {
450
+ formatted_name: string;
451
+ last_name?: string | undefined;
452
+ first_name?: string | undefined;
453
+ }>;
454
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
455
+ phone: z.ZodString;
456
+ type: z.ZodOptional<z.ZodString>;
457
+ }, "strip", z.ZodTypeAny, {
458
+ phone: string;
459
+ type?: string | undefined;
460
+ }, {
461
+ phone: string;
462
+ type?: string | undefined;
463
+ }>, "many">>;
464
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
465
+ name: z.ZodObject<{
466
+ formatted_name: z.ZodString;
467
+ first_name: z.ZodOptional<z.ZodString>;
468
+ last_name: z.ZodOptional<z.ZodString>;
469
+ }, "strip", z.ZodTypeAny, {
470
+ formatted_name: string;
471
+ last_name?: string | undefined;
472
+ first_name?: string | undefined;
473
+ }, {
474
+ formatted_name: string;
475
+ last_name?: string | undefined;
476
+ first_name?: string | undefined;
477
+ }>;
478
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
479
+ phone: z.ZodString;
480
+ type: z.ZodOptional<z.ZodString>;
481
+ }, "strip", z.ZodTypeAny, {
482
+ phone: string;
483
+ type?: string | undefined;
484
+ }, {
485
+ phone: string;
486
+ type?: string | undefined;
487
+ }>, "many">>;
488
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
489
+ department_ids: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodLiteral<"all">]>;
490
+ status: z.ZodEnum<["active", "paused"]>;
491
+ usage_count: z.ZodOptional<z.ZodNumber>;
492
+ last_used_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
493
+ created_by: z.ZodOptional<z.ZodString>;
494
+ }, z.ZodTypeAny, "passthrough">>;
495
+ export declare const zQuickReplyCreateRequestSchema: z.ZodObject<{
496
+ title: z.ZodString;
497
+ shortcut: z.ZodOptional<z.ZodString>;
498
+ type: z.ZodEnum<["text", "image", "audio", "video", "document", "location", "contacts"]>;
499
+ body: z.ZodOptional<z.ZodObject<{
500
+ text: z.ZodString;
501
+ }, "strip", z.ZodTypeAny, {
502
+ text: string;
503
+ }, {
504
+ text: string;
505
+ }>>;
506
+ media: z.ZodOptional<z.ZodObject<{
507
+ gcs_uri: z.ZodString;
508
+ mime_type: z.ZodString;
509
+ filename: z.ZodOptional<z.ZodString>;
510
+ caption: z.ZodOptional<z.ZodString>;
511
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
512
+ gcs_uri: z.ZodString;
513
+ mime_type: z.ZodString;
514
+ filename: z.ZodOptional<z.ZodString>;
515
+ caption: z.ZodOptional<z.ZodString>;
516
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
517
+ gcs_uri: z.ZodString;
518
+ mime_type: z.ZodString;
519
+ filename: z.ZodOptional<z.ZodString>;
520
+ caption: z.ZodOptional<z.ZodString>;
521
+ }, z.ZodTypeAny, "passthrough">>>;
522
+ location: z.ZodOptional<z.ZodObject<{
523
+ latitude: z.ZodNumber;
524
+ longitude: z.ZodNumber;
525
+ name: z.ZodOptional<z.ZodString>;
526
+ address: z.ZodOptional<z.ZodString>;
527
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
528
+ latitude: z.ZodNumber;
529
+ longitude: z.ZodNumber;
530
+ name: z.ZodOptional<z.ZodString>;
531
+ address: z.ZodOptional<z.ZodString>;
532
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
533
+ latitude: z.ZodNumber;
534
+ longitude: z.ZodNumber;
535
+ name: z.ZodOptional<z.ZodString>;
536
+ address: z.ZodOptional<z.ZodString>;
537
+ }, z.ZodTypeAny, "passthrough">>>;
538
+ contacts_payload: z.ZodOptional<z.ZodArray<z.ZodObject<{
539
+ name: z.ZodObject<{
540
+ formatted_name: z.ZodString;
541
+ first_name: z.ZodOptional<z.ZodString>;
542
+ last_name: z.ZodOptional<z.ZodString>;
543
+ }, "strip", z.ZodTypeAny, {
544
+ formatted_name: string;
545
+ last_name?: string | undefined;
546
+ first_name?: string | undefined;
547
+ }, {
548
+ formatted_name: string;
549
+ last_name?: string | undefined;
550
+ first_name?: string | undefined;
551
+ }>;
552
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
553
+ phone: z.ZodString;
554
+ type: z.ZodOptional<z.ZodString>;
555
+ }, "strip", z.ZodTypeAny, {
556
+ phone: string;
557
+ type?: string | undefined;
558
+ }, {
559
+ phone: string;
560
+ type?: string | undefined;
561
+ }>, "many">>;
562
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
563
+ name: z.ZodObject<{
564
+ formatted_name: z.ZodString;
565
+ first_name: z.ZodOptional<z.ZodString>;
566
+ last_name: z.ZodOptional<z.ZodString>;
567
+ }, "strip", z.ZodTypeAny, {
568
+ formatted_name: string;
569
+ last_name?: string | undefined;
570
+ first_name?: string | undefined;
571
+ }, {
572
+ formatted_name: string;
573
+ last_name?: string | undefined;
574
+ first_name?: string | undefined;
575
+ }>;
576
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
577
+ phone: z.ZodString;
578
+ type: z.ZodOptional<z.ZodString>;
579
+ }, "strip", z.ZodTypeAny, {
580
+ phone: string;
581
+ type?: string | undefined;
582
+ }, {
583
+ phone: string;
584
+ type?: string | undefined;
585
+ }>, "many">>;
586
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
587
+ name: z.ZodObject<{
588
+ formatted_name: z.ZodString;
589
+ first_name: z.ZodOptional<z.ZodString>;
590
+ last_name: z.ZodOptional<z.ZodString>;
591
+ }, "strip", z.ZodTypeAny, {
592
+ formatted_name: string;
593
+ last_name?: string | undefined;
594
+ first_name?: string | undefined;
595
+ }, {
596
+ formatted_name: string;
597
+ last_name?: string | undefined;
598
+ first_name?: string | undefined;
599
+ }>;
600
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
601
+ phone: z.ZodString;
602
+ type: z.ZodOptional<z.ZodString>;
603
+ }, "strip", z.ZodTypeAny, {
604
+ phone: string;
605
+ type?: string | undefined;
606
+ }, {
607
+ phone: string;
608
+ type?: string | undefined;
609
+ }>, "many">>;
610
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
611
+ department_ids: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodLiteral<"all">]>;
612
+ status: z.ZodEnum<["active", "paused"]>;
613
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
614
+ title: z.ZodString;
615
+ shortcut: z.ZodOptional<z.ZodString>;
616
+ type: z.ZodEnum<["text", "image", "audio", "video", "document", "location", "contacts"]>;
617
+ body: z.ZodOptional<z.ZodObject<{
618
+ text: z.ZodString;
619
+ }, "strip", z.ZodTypeAny, {
620
+ text: string;
621
+ }, {
622
+ text: string;
623
+ }>>;
624
+ media: z.ZodOptional<z.ZodObject<{
625
+ gcs_uri: z.ZodString;
626
+ mime_type: z.ZodString;
627
+ filename: z.ZodOptional<z.ZodString>;
628
+ caption: z.ZodOptional<z.ZodString>;
629
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
630
+ gcs_uri: z.ZodString;
631
+ mime_type: z.ZodString;
632
+ filename: z.ZodOptional<z.ZodString>;
633
+ caption: z.ZodOptional<z.ZodString>;
634
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
635
+ gcs_uri: z.ZodString;
636
+ mime_type: z.ZodString;
637
+ filename: z.ZodOptional<z.ZodString>;
638
+ caption: z.ZodOptional<z.ZodString>;
639
+ }, z.ZodTypeAny, "passthrough">>>;
640
+ location: z.ZodOptional<z.ZodObject<{
641
+ latitude: z.ZodNumber;
642
+ longitude: z.ZodNumber;
643
+ name: z.ZodOptional<z.ZodString>;
644
+ address: z.ZodOptional<z.ZodString>;
645
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
646
+ latitude: z.ZodNumber;
647
+ longitude: z.ZodNumber;
648
+ name: z.ZodOptional<z.ZodString>;
649
+ address: z.ZodOptional<z.ZodString>;
650
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
651
+ latitude: z.ZodNumber;
652
+ longitude: z.ZodNumber;
653
+ name: z.ZodOptional<z.ZodString>;
654
+ address: z.ZodOptional<z.ZodString>;
655
+ }, z.ZodTypeAny, "passthrough">>>;
656
+ contacts_payload: z.ZodOptional<z.ZodArray<z.ZodObject<{
657
+ name: z.ZodObject<{
658
+ formatted_name: z.ZodString;
659
+ first_name: z.ZodOptional<z.ZodString>;
660
+ last_name: z.ZodOptional<z.ZodString>;
661
+ }, "strip", z.ZodTypeAny, {
662
+ formatted_name: string;
663
+ last_name?: string | undefined;
664
+ first_name?: string | undefined;
665
+ }, {
666
+ formatted_name: string;
667
+ last_name?: string | undefined;
668
+ first_name?: string | undefined;
669
+ }>;
670
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
671
+ phone: z.ZodString;
672
+ type: z.ZodOptional<z.ZodString>;
673
+ }, "strip", z.ZodTypeAny, {
674
+ phone: string;
675
+ type?: string | undefined;
676
+ }, {
677
+ phone: string;
678
+ type?: string | undefined;
679
+ }>, "many">>;
680
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
681
+ name: z.ZodObject<{
682
+ formatted_name: z.ZodString;
683
+ first_name: z.ZodOptional<z.ZodString>;
684
+ last_name: z.ZodOptional<z.ZodString>;
685
+ }, "strip", z.ZodTypeAny, {
686
+ formatted_name: string;
687
+ last_name?: string | undefined;
688
+ first_name?: string | undefined;
689
+ }, {
690
+ formatted_name: string;
691
+ last_name?: string | undefined;
692
+ first_name?: string | undefined;
693
+ }>;
694
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
695
+ phone: z.ZodString;
696
+ type: z.ZodOptional<z.ZodString>;
697
+ }, "strip", z.ZodTypeAny, {
698
+ phone: string;
699
+ type?: string | undefined;
700
+ }, {
701
+ phone: string;
702
+ type?: string | undefined;
703
+ }>, "many">>;
704
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
705
+ name: z.ZodObject<{
706
+ formatted_name: z.ZodString;
707
+ first_name: z.ZodOptional<z.ZodString>;
708
+ last_name: z.ZodOptional<z.ZodString>;
709
+ }, "strip", z.ZodTypeAny, {
710
+ formatted_name: string;
711
+ last_name?: string | undefined;
712
+ first_name?: string | undefined;
713
+ }, {
714
+ formatted_name: string;
715
+ last_name?: string | undefined;
716
+ first_name?: string | undefined;
717
+ }>;
718
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
719
+ phone: z.ZodString;
720
+ type: z.ZodOptional<z.ZodString>;
721
+ }, "strip", z.ZodTypeAny, {
722
+ phone: string;
723
+ type?: string | undefined;
724
+ }, {
725
+ phone: string;
726
+ type?: string | undefined;
727
+ }>, "many">>;
728
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
729
+ department_ids: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodLiteral<"all">]>;
730
+ status: z.ZodEnum<["active", "paused"]>;
731
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
732
+ title: z.ZodString;
733
+ shortcut: z.ZodOptional<z.ZodString>;
734
+ type: z.ZodEnum<["text", "image", "audio", "video", "document", "location", "contacts"]>;
735
+ body: z.ZodOptional<z.ZodObject<{
736
+ text: z.ZodString;
737
+ }, "strip", z.ZodTypeAny, {
738
+ text: string;
739
+ }, {
740
+ text: string;
741
+ }>>;
742
+ media: z.ZodOptional<z.ZodObject<{
743
+ gcs_uri: z.ZodString;
744
+ mime_type: z.ZodString;
745
+ filename: z.ZodOptional<z.ZodString>;
746
+ caption: z.ZodOptional<z.ZodString>;
747
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
748
+ gcs_uri: z.ZodString;
749
+ mime_type: z.ZodString;
750
+ filename: z.ZodOptional<z.ZodString>;
751
+ caption: z.ZodOptional<z.ZodString>;
752
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
753
+ gcs_uri: z.ZodString;
754
+ mime_type: z.ZodString;
755
+ filename: z.ZodOptional<z.ZodString>;
756
+ caption: z.ZodOptional<z.ZodString>;
757
+ }, z.ZodTypeAny, "passthrough">>>;
758
+ location: z.ZodOptional<z.ZodObject<{
759
+ latitude: z.ZodNumber;
760
+ longitude: z.ZodNumber;
761
+ name: z.ZodOptional<z.ZodString>;
762
+ address: z.ZodOptional<z.ZodString>;
763
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
764
+ latitude: z.ZodNumber;
765
+ longitude: z.ZodNumber;
766
+ name: z.ZodOptional<z.ZodString>;
767
+ address: z.ZodOptional<z.ZodString>;
768
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
769
+ latitude: z.ZodNumber;
770
+ longitude: z.ZodNumber;
771
+ name: z.ZodOptional<z.ZodString>;
772
+ address: z.ZodOptional<z.ZodString>;
773
+ }, z.ZodTypeAny, "passthrough">>>;
774
+ contacts_payload: z.ZodOptional<z.ZodArray<z.ZodObject<{
775
+ name: z.ZodObject<{
776
+ formatted_name: z.ZodString;
777
+ first_name: z.ZodOptional<z.ZodString>;
778
+ last_name: z.ZodOptional<z.ZodString>;
779
+ }, "strip", z.ZodTypeAny, {
780
+ formatted_name: string;
781
+ last_name?: string | undefined;
782
+ first_name?: string | undefined;
783
+ }, {
784
+ formatted_name: string;
785
+ last_name?: string | undefined;
786
+ first_name?: string | undefined;
787
+ }>;
788
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
789
+ phone: z.ZodString;
790
+ type: z.ZodOptional<z.ZodString>;
791
+ }, "strip", z.ZodTypeAny, {
792
+ phone: string;
793
+ type?: string | undefined;
794
+ }, {
795
+ phone: string;
796
+ type?: string | undefined;
797
+ }>, "many">>;
798
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
799
+ name: z.ZodObject<{
800
+ formatted_name: z.ZodString;
801
+ first_name: z.ZodOptional<z.ZodString>;
802
+ last_name: z.ZodOptional<z.ZodString>;
803
+ }, "strip", z.ZodTypeAny, {
804
+ formatted_name: string;
805
+ last_name?: string | undefined;
806
+ first_name?: string | undefined;
807
+ }, {
808
+ formatted_name: string;
809
+ last_name?: string | undefined;
810
+ first_name?: string | undefined;
811
+ }>;
812
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
813
+ phone: z.ZodString;
814
+ type: z.ZodOptional<z.ZodString>;
815
+ }, "strip", z.ZodTypeAny, {
816
+ phone: string;
817
+ type?: string | undefined;
818
+ }, {
819
+ phone: string;
820
+ type?: string | undefined;
821
+ }>, "many">>;
822
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
823
+ name: z.ZodObject<{
824
+ formatted_name: z.ZodString;
825
+ first_name: z.ZodOptional<z.ZodString>;
826
+ last_name: z.ZodOptional<z.ZodString>;
827
+ }, "strip", z.ZodTypeAny, {
828
+ formatted_name: string;
829
+ last_name?: string | undefined;
830
+ first_name?: string | undefined;
831
+ }, {
832
+ formatted_name: string;
833
+ last_name?: string | undefined;
834
+ first_name?: string | undefined;
835
+ }>;
836
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
837
+ phone: z.ZodString;
838
+ type: z.ZodOptional<z.ZodString>;
839
+ }, "strip", z.ZodTypeAny, {
840
+ phone: string;
841
+ type?: string | undefined;
842
+ }, {
843
+ phone: string;
844
+ type?: string | undefined;
845
+ }>, "many">>;
846
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
847
+ department_ids: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodLiteral<"all">]>;
848
+ status: z.ZodEnum<["active", "paused"]>;
849
+ }, z.ZodTypeAny, "passthrough">>;
850
+ export declare const zQuickReplyUpdateRequestSchema: z.ZodObject<{
851
+ title: z.ZodOptional<z.ZodString>;
852
+ shortcut: z.ZodNullable<z.ZodOptional<z.ZodString>>;
853
+ type: z.ZodOptional<z.ZodEnum<["text", "image", "audio", "video", "document", "location", "contacts"]>>;
854
+ body: z.ZodNullable<z.ZodOptional<z.ZodObject<{
855
+ text: z.ZodString;
856
+ }, "strip", z.ZodTypeAny, {
857
+ text: string;
858
+ }, {
859
+ text: string;
860
+ }>>>;
861
+ media: z.ZodNullable<z.ZodOptional<z.ZodObject<{
862
+ gcs_uri: z.ZodString;
863
+ mime_type: z.ZodString;
864
+ filename: z.ZodOptional<z.ZodString>;
865
+ caption: z.ZodOptional<z.ZodString>;
866
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
867
+ gcs_uri: z.ZodString;
868
+ mime_type: z.ZodString;
869
+ filename: z.ZodOptional<z.ZodString>;
870
+ caption: z.ZodOptional<z.ZodString>;
871
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
872
+ gcs_uri: z.ZodString;
873
+ mime_type: z.ZodString;
874
+ filename: z.ZodOptional<z.ZodString>;
875
+ caption: z.ZodOptional<z.ZodString>;
876
+ }, z.ZodTypeAny, "passthrough">>>>;
877
+ location: z.ZodNullable<z.ZodOptional<z.ZodObject<{
878
+ latitude: z.ZodNumber;
879
+ longitude: z.ZodNumber;
880
+ name: z.ZodOptional<z.ZodString>;
881
+ address: z.ZodOptional<z.ZodString>;
882
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
883
+ latitude: z.ZodNumber;
884
+ longitude: z.ZodNumber;
885
+ name: z.ZodOptional<z.ZodString>;
886
+ address: z.ZodOptional<z.ZodString>;
887
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
888
+ latitude: z.ZodNumber;
889
+ longitude: z.ZodNumber;
890
+ name: z.ZodOptional<z.ZodString>;
891
+ address: z.ZodOptional<z.ZodString>;
892
+ }, z.ZodTypeAny, "passthrough">>>>;
893
+ contacts_payload: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
894
+ name: z.ZodObject<{
895
+ formatted_name: z.ZodString;
896
+ first_name: z.ZodOptional<z.ZodString>;
897
+ last_name: z.ZodOptional<z.ZodString>;
898
+ }, "strip", z.ZodTypeAny, {
899
+ formatted_name: string;
900
+ last_name?: string | undefined;
901
+ first_name?: string | undefined;
902
+ }, {
903
+ formatted_name: string;
904
+ last_name?: string | undefined;
905
+ first_name?: string | undefined;
906
+ }>;
907
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
908
+ phone: z.ZodString;
909
+ type: z.ZodOptional<z.ZodString>;
910
+ }, "strip", z.ZodTypeAny, {
911
+ phone: string;
912
+ type?: string | undefined;
913
+ }, {
914
+ phone: string;
915
+ type?: string | undefined;
916
+ }>, "many">>;
917
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
918
+ name: z.ZodObject<{
919
+ formatted_name: z.ZodString;
920
+ first_name: z.ZodOptional<z.ZodString>;
921
+ last_name: z.ZodOptional<z.ZodString>;
922
+ }, "strip", z.ZodTypeAny, {
923
+ formatted_name: string;
924
+ last_name?: string | undefined;
925
+ first_name?: string | undefined;
926
+ }, {
927
+ formatted_name: string;
928
+ last_name?: string | undefined;
929
+ first_name?: string | undefined;
930
+ }>;
931
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
932
+ phone: z.ZodString;
933
+ type: z.ZodOptional<z.ZodString>;
934
+ }, "strip", z.ZodTypeAny, {
935
+ phone: string;
936
+ type?: string | undefined;
937
+ }, {
938
+ phone: string;
939
+ type?: string | undefined;
940
+ }>, "many">>;
941
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
942
+ name: z.ZodObject<{
943
+ formatted_name: z.ZodString;
944
+ first_name: z.ZodOptional<z.ZodString>;
945
+ last_name: z.ZodOptional<z.ZodString>;
946
+ }, "strip", z.ZodTypeAny, {
947
+ formatted_name: string;
948
+ last_name?: string | undefined;
949
+ first_name?: string | undefined;
950
+ }, {
951
+ formatted_name: string;
952
+ last_name?: string | undefined;
953
+ first_name?: string | undefined;
954
+ }>;
955
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
956
+ phone: z.ZodString;
957
+ type: z.ZodOptional<z.ZodString>;
958
+ }, "strip", z.ZodTypeAny, {
959
+ phone: string;
960
+ type?: string | undefined;
961
+ }, {
962
+ phone: string;
963
+ type?: string | undefined;
964
+ }>, "many">>;
965
+ }, z.ZodTypeAny, "passthrough">>, "many">>>;
966
+ department_ids: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodLiteral<"all">]>>;
967
+ status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
968
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
969
+ title: z.ZodOptional<z.ZodString>;
970
+ shortcut: z.ZodNullable<z.ZodOptional<z.ZodString>>;
971
+ type: z.ZodOptional<z.ZodEnum<["text", "image", "audio", "video", "document", "location", "contacts"]>>;
972
+ body: z.ZodNullable<z.ZodOptional<z.ZodObject<{
973
+ text: z.ZodString;
974
+ }, "strip", z.ZodTypeAny, {
975
+ text: string;
976
+ }, {
977
+ text: string;
978
+ }>>>;
979
+ media: z.ZodNullable<z.ZodOptional<z.ZodObject<{
980
+ gcs_uri: z.ZodString;
981
+ mime_type: z.ZodString;
982
+ filename: z.ZodOptional<z.ZodString>;
983
+ caption: z.ZodOptional<z.ZodString>;
984
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
985
+ gcs_uri: z.ZodString;
986
+ mime_type: z.ZodString;
987
+ filename: z.ZodOptional<z.ZodString>;
988
+ caption: z.ZodOptional<z.ZodString>;
989
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
990
+ gcs_uri: z.ZodString;
991
+ mime_type: z.ZodString;
992
+ filename: z.ZodOptional<z.ZodString>;
993
+ caption: z.ZodOptional<z.ZodString>;
994
+ }, z.ZodTypeAny, "passthrough">>>>;
995
+ location: z.ZodNullable<z.ZodOptional<z.ZodObject<{
996
+ latitude: z.ZodNumber;
997
+ longitude: z.ZodNumber;
998
+ name: z.ZodOptional<z.ZodString>;
999
+ address: z.ZodOptional<z.ZodString>;
1000
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1001
+ latitude: z.ZodNumber;
1002
+ longitude: z.ZodNumber;
1003
+ name: z.ZodOptional<z.ZodString>;
1004
+ address: z.ZodOptional<z.ZodString>;
1005
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1006
+ latitude: z.ZodNumber;
1007
+ longitude: z.ZodNumber;
1008
+ name: z.ZodOptional<z.ZodString>;
1009
+ address: z.ZodOptional<z.ZodString>;
1010
+ }, z.ZodTypeAny, "passthrough">>>>;
1011
+ contacts_payload: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1012
+ name: z.ZodObject<{
1013
+ formatted_name: z.ZodString;
1014
+ first_name: z.ZodOptional<z.ZodString>;
1015
+ last_name: z.ZodOptional<z.ZodString>;
1016
+ }, "strip", z.ZodTypeAny, {
1017
+ formatted_name: string;
1018
+ last_name?: string | undefined;
1019
+ first_name?: string | undefined;
1020
+ }, {
1021
+ formatted_name: string;
1022
+ last_name?: string | undefined;
1023
+ first_name?: string | undefined;
1024
+ }>;
1025
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
1026
+ phone: z.ZodString;
1027
+ type: z.ZodOptional<z.ZodString>;
1028
+ }, "strip", z.ZodTypeAny, {
1029
+ phone: string;
1030
+ type?: string | undefined;
1031
+ }, {
1032
+ phone: string;
1033
+ type?: string | undefined;
1034
+ }>, "many">>;
1035
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1036
+ name: z.ZodObject<{
1037
+ formatted_name: z.ZodString;
1038
+ first_name: z.ZodOptional<z.ZodString>;
1039
+ last_name: z.ZodOptional<z.ZodString>;
1040
+ }, "strip", z.ZodTypeAny, {
1041
+ formatted_name: string;
1042
+ last_name?: string | undefined;
1043
+ first_name?: string | undefined;
1044
+ }, {
1045
+ formatted_name: string;
1046
+ last_name?: string | undefined;
1047
+ first_name?: string | undefined;
1048
+ }>;
1049
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
1050
+ phone: z.ZodString;
1051
+ type: z.ZodOptional<z.ZodString>;
1052
+ }, "strip", z.ZodTypeAny, {
1053
+ phone: string;
1054
+ type?: string | undefined;
1055
+ }, {
1056
+ phone: string;
1057
+ type?: string | undefined;
1058
+ }>, "many">>;
1059
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1060
+ name: z.ZodObject<{
1061
+ formatted_name: z.ZodString;
1062
+ first_name: z.ZodOptional<z.ZodString>;
1063
+ last_name: z.ZodOptional<z.ZodString>;
1064
+ }, "strip", z.ZodTypeAny, {
1065
+ formatted_name: string;
1066
+ last_name?: string | undefined;
1067
+ first_name?: string | undefined;
1068
+ }, {
1069
+ formatted_name: string;
1070
+ last_name?: string | undefined;
1071
+ first_name?: string | undefined;
1072
+ }>;
1073
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
1074
+ phone: z.ZodString;
1075
+ type: z.ZodOptional<z.ZodString>;
1076
+ }, "strip", z.ZodTypeAny, {
1077
+ phone: string;
1078
+ type?: string | undefined;
1079
+ }, {
1080
+ phone: string;
1081
+ type?: string | undefined;
1082
+ }>, "many">>;
1083
+ }, z.ZodTypeAny, "passthrough">>, "many">>>;
1084
+ department_ids: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodLiteral<"all">]>>;
1085
+ status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
1086
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1087
+ title: z.ZodOptional<z.ZodString>;
1088
+ shortcut: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1089
+ type: z.ZodOptional<z.ZodEnum<["text", "image", "audio", "video", "document", "location", "contacts"]>>;
1090
+ body: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1091
+ text: z.ZodString;
1092
+ }, "strip", z.ZodTypeAny, {
1093
+ text: string;
1094
+ }, {
1095
+ text: string;
1096
+ }>>>;
1097
+ media: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1098
+ gcs_uri: z.ZodString;
1099
+ mime_type: z.ZodString;
1100
+ filename: z.ZodOptional<z.ZodString>;
1101
+ caption: z.ZodOptional<z.ZodString>;
1102
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1103
+ gcs_uri: z.ZodString;
1104
+ mime_type: z.ZodString;
1105
+ filename: z.ZodOptional<z.ZodString>;
1106
+ caption: z.ZodOptional<z.ZodString>;
1107
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1108
+ gcs_uri: z.ZodString;
1109
+ mime_type: z.ZodString;
1110
+ filename: z.ZodOptional<z.ZodString>;
1111
+ caption: z.ZodOptional<z.ZodString>;
1112
+ }, z.ZodTypeAny, "passthrough">>>>;
1113
+ location: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1114
+ latitude: z.ZodNumber;
1115
+ longitude: z.ZodNumber;
1116
+ name: z.ZodOptional<z.ZodString>;
1117
+ address: z.ZodOptional<z.ZodString>;
1118
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1119
+ latitude: z.ZodNumber;
1120
+ longitude: z.ZodNumber;
1121
+ name: z.ZodOptional<z.ZodString>;
1122
+ address: z.ZodOptional<z.ZodString>;
1123
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1124
+ latitude: z.ZodNumber;
1125
+ longitude: z.ZodNumber;
1126
+ name: z.ZodOptional<z.ZodString>;
1127
+ address: z.ZodOptional<z.ZodString>;
1128
+ }, z.ZodTypeAny, "passthrough">>>>;
1129
+ contacts_payload: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1130
+ name: z.ZodObject<{
1131
+ formatted_name: z.ZodString;
1132
+ first_name: z.ZodOptional<z.ZodString>;
1133
+ last_name: z.ZodOptional<z.ZodString>;
1134
+ }, "strip", z.ZodTypeAny, {
1135
+ formatted_name: string;
1136
+ last_name?: string | undefined;
1137
+ first_name?: string | undefined;
1138
+ }, {
1139
+ formatted_name: string;
1140
+ last_name?: string | undefined;
1141
+ first_name?: string | undefined;
1142
+ }>;
1143
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
1144
+ phone: z.ZodString;
1145
+ type: z.ZodOptional<z.ZodString>;
1146
+ }, "strip", z.ZodTypeAny, {
1147
+ phone: string;
1148
+ type?: string | undefined;
1149
+ }, {
1150
+ phone: string;
1151
+ type?: string | undefined;
1152
+ }>, "many">>;
1153
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1154
+ name: z.ZodObject<{
1155
+ formatted_name: z.ZodString;
1156
+ first_name: z.ZodOptional<z.ZodString>;
1157
+ last_name: z.ZodOptional<z.ZodString>;
1158
+ }, "strip", z.ZodTypeAny, {
1159
+ formatted_name: string;
1160
+ last_name?: string | undefined;
1161
+ first_name?: string | undefined;
1162
+ }, {
1163
+ formatted_name: string;
1164
+ last_name?: string | undefined;
1165
+ first_name?: string | undefined;
1166
+ }>;
1167
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
1168
+ phone: z.ZodString;
1169
+ type: z.ZodOptional<z.ZodString>;
1170
+ }, "strip", z.ZodTypeAny, {
1171
+ phone: string;
1172
+ type?: string | undefined;
1173
+ }, {
1174
+ phone: string;
1175
+ type?: string | undefined;
1176
+ }>, "many">>;
1177
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1178
+ name: z.ZodObject<{
1179
+ formatted_name: z.ZodString;
1180
+ first_name: z.ZodOptional<z.ZodString>;
1181
+ last_name: z.ZodOptional<z.ZodString>;
1182
+ }, "strip", z.ZodTypeAny, {
1183
+ formatted_name: string;
1184
+ last_name?: string | undefined;
1185
+ first_name?: string | undefined;
1186
+ }, {
1187
+ formatted_name: string;
1188
+ last_name?: string | undefined;
1189
+ first_name?: string | undefined;
1190
+ }>;
1191
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
1192
+ phone: z.ZodString;
1193
+ type: z.ZodOptional<z.ZodString>;
1194
+ }, "strip", z.ZodTypeAny, {
1195
+ phone: string;
1196
+ type?: string | undefined;
1197
+ }, {
1198
+ phone: string;
1199
+ type?: string | undefined;
1200
+ }>, "many">>;
1201
+ }, z.ZodTypeAny, "passthrough">>, "many">>>;
1202
+ department_ids: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodLiteral<"all">]>>;
1203
+ status: z.ZodOptional<z.ZodEnum<["active", "paused"]>>;
1204
+ }, z.ZodTypeAny, "passthrough">>;