evo360-types 1.3.715 → 1.3.717

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,576 @@
1
+ import { z } from "zod";
2
+ export declare const zForwardBatchStatusSchema: z.ZodEnum<["running", "done", "done_with_failures"]>;
3
+ export declare const zForwardItemStatusSchema: z.ZodEnum<["pending", "sending", "sent", "failed", "skipped"]>;
4
+ export declare const zForwardSkipReasonSchema: z.ZodEnum<["window_closed", "type_not_supported", "media_too_large", "media_unavailable", "channel_not_supported"]>;
5
+ export declare const zForwardFailReasonSchema: z.ZodEnum<["provider_error", "window_closed", "send_budget_exceeded", "interrupted"]>;
6
+ export declare const zForwardItemReasonSchema: z.ZodUnion<[z.ZodEnum<["window_closed", "type_not_supported", "media_too_large", "media_unavailable", "channel_not_supported"]>, z.ZodEnum<["provider_error", "window_closed", "send_budget_exceeded", "interrupted"]>]>;
7
+ export declare const zForwardContentKindSchema: z.ZodEnum<["text", "image", "video", "audio", "document"]>;
8
+ export declare const zForwardRecipientProviderSchema: z.ZodEnum<["hub-waba", "hub-instagram"]>;
9
+ export declare const zForwardSpecialKindSchema: z.ZodEnum<["doctor", "secretary", "employee"]>;
10
+ export declare const zForwardActorSchema: z.ZodObject<{
11
+ user_id: z.ZodString;
12
+ display_name: z.ZodString;
13
+ }, "strip", z.ZodTypeAny, {
14
+ display_name: string;
15
+ user_id: string;
16
+ }, {
17
+ display_name: string;
18
+ user_id: string;
19
+ }>;
20
+ export declare const zForwardSourceSchema: z.ZodObject<{
21
+ thread_id: z.ZodString;
22
+ ticket_id: z.ZodString;
23
+ department_id: z.ZodNullable<z.ZodString>;
24
+ contact_id: z.ZodString;
25
+ contact_name: z.ZodString;
26
+ channel_id: z.ZodNullable<z.ZodString>;
27
+ channel_type: z.ZodNullable<z.ZodString>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ channel_id: string | null;
30
+ department_id: string | null;
31
+ contact_id: string;
32
+ thread_id: string;
33
+ ticket_id: string;
34
+ channel_type: string | null;
35
+ contact_name: string;
36
+ }, {
37
+ channel_id: string | null;
38
+ department_id: string | null;
39
+ contact_id: string;
40
+ thread_id: string;
41
+ ticket_id: string;
42
+ channel_type: string | null;
43
+ contact_name: string;
44
+ }>;
45
+ export declare const zForwardRecipientSchema: z.ZodObject<{
46
+ thread_id: z.ZodString;
47
+ contact_id: z.ZodString;
48
+ contact_name: z.ZodString;
49
+ channel_id: z.ZodString;
50
+ channel_type: z.ZodString;
51
+ provider: z.ZodEnum<["hub-waba", "hub-instagram"]>;
52
+ special_kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<["doctor", "secretary", "employee"]>>>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ provider: "hub-waba" | "hub-instagram";
55
+ channel_id: string;
56
+ contact_id: string;
57
+ thread_id: string;
58
+ channel_type: string;
59
+ contact_name: string;
60
+ special_kind?: "employee" | "doctor" | "secretary" | null | undefined;
61
+ }, {
62
+ provider: "hub-waba" | "hub-instagram";
63
+ channel_id: string;
64
+ contact_id: string;
65
+ thread_id: string;
66
+ channel_type: string;
67
+ contact_name: string;
68
+ special_kind?: "employee" | "doctor" | "secretary" | null | undefined;
69
+ }>;
70
+ export declare const zForwardCountsSchema: z.ZodObject<{
71
+ total: z.ZodNumber;
72
+ sent: z.ZodNumber;
73
+ failed: z.ZodNumber;
74
+ skipped: z.ZodNumber;
75
+ }, "strip", z.ZodTypeAny, {
76
+ skipped: number;
77
+ failed: number;
78
+ sent: number;
79
+ total: number;
80
+ }, {
81
+ skipped: number;
82
+ failed: number;
83
+ sent: number;
84
+ total: number;
85
+ }>;
86
+ export declare const zForwardBatchSchema: z.ZodObject<{
87
+ id: z.ZodString;
88
+ ref: z.ZodAny;
89
+ model_ver: z.ZodDefault<z.ZodNumber>;
90
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
91
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
92
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
93
+ } & {
94
+ forward_id: z.ZodString;
95
+ tenant: z.ZodString;
96
+ created_by: z.ZodObject<{
97
+ user_id: z.ZodString;
98
+ display_name: z.ZodString;
99
+ }, "strip", z.ZodTypeAny, {
100
+ display_name: string;
101
+ user_id: string;
102
+ }, {
103
+ display_name: string;
104
+ user_id: string;
105
+ }>;
106
+ source: z.ZodObject<{
107
+ thread_id: z.ZodString;
108
+ ticket_id: z.ZodString;
109
+ department_id: z.ZodNullable<z.ZodString>;
110
+ contact_id: z.ZodString;
111
+ contact_name: z.ZodString;
112
+ channel_id: z.ZodNullable<z.ZodString>;
113
+ channel_type: z.ZodNullable<z.ZodString>;
114
+ }, "strip", z.ZodTypeAny, {
115
+ channel_id: string | null;
116
+ department_id: string | null;
117
+ contact_id: string;
118
+ thread_id: string;
119
+ ticket_id: string;
120
+ channel_type: string | null;
121
+ contact_name: string;
122
+ }, {
123
+ channel_id: string | null;
124
+ department_id: string | null;
125
+ contact_id: string;
126
+ thread_id: string;
127
+ ticket_id: string;
128
+ channel_type: string | null;
129
+ contact_name: string;
130
+ }>;
131
+ message_ids: z.ZodArray<z.ZodString, "many">;
132
+ intro_text: z.ZodNullable<z.ZodString>;
133
+ recipients: z.ZodArray<z.ZodObject<{
134
+ thread_id: z.ZodString;
135
+ contact_id: z.ZodString;
136
+ contact_name: z.ZodString;
137
+ channel_id: z.ZodString;
138
+ channel_type: z.ZodString;
139
+ provider: z.ZodEnum<["hub-waba", "hub-instagram"]>;
140
+ special_kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<["doctor", "secretary", "employee"]>>>;
141
+ }, "strip", z.ZodTypeAny, {
142
+ provider: "hub-waba" | "hub-instagram";
143
+ channel_id: string;
144
+ contact_id: string;
145
+ thread_id: string;
146
+ channel_type: string;
147
+ contact_name: string;
148
+ special_kind?: "employee" | "doctor" | "secretary" | null | undefined;
149
+ }, {
150
+ provider: "hub-waba" | "hub-instagram";
151
+ channel_id: string;
152
+ contact_id: string;
153
+ thread_id: string;
154
+ channel_type: string;
155
+ contact_name: string;
156
+ special_kind?: "employee" | "doctor" | "secretary" | null | undefined;
157
+ }>, "many">;
158
+ status: z.ZodEnum<["running", "done", "done_with_failures"]>;
159
+ counts: z.ZodObject<{
160
+ total: z.ZodNumber;
161
+ sent: z.ZodNumber;
162
+ failed: z.ZodNumber;
163
+ skipped: z.ZodNumber;
164
+ }, "strip", z.ZodTypeAny, {
165
+ skipped: number;
166
+ failed: number;
167
+ sent: number;
168
+ total: number;
169
+ }, {
170
+ skipped: number;
171
+ failed: number;
172
+ sent: number;
173
+ total: number;
174
+ }>;
175
+ recipients_to_dispatch: z.ZodNumber;
176
+ recipients_done: z.ZodNumber;
177
+ dispatch: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
178
+ claimed_at: z.ZodDate;
179
+ finished_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
180
+ }, "strip", z.ZodTypeAny, {
181
+ claimed_at: Date;
182
+ finished_at?: Date | null | undefined;
183
+ }, {
184
+ claimed_at: Date;
185
+ finished_at?: Date | null | undefined;
186
+ }>>>;
187
+ finished_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
188
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
189
+ id: z.ZodString;
190
+ ref: z.ZodAny;
191
+ model_ver: z.ZodDefault<z.ZodNumber>;
192
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
193
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
194
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
195
+ } & {
196
+ forward_id: z.ZodString;
197
+ tenant: z.ZodString;
198
+ created_by: z.ZodObject<{
199
+ user_id: z.ZodString;
200
+ display_name: z.ZodString;
201
+ }, "strip", z.ZodTypeAny, {
202
+ display_name: string;
203
+ user_id: string;
204
+ }, {
205
+ display_name: string;
206
+ user_id: string;
207
+ }>;
208
+ source: z.ZodObject<{
209
+ thread_id: z.ZodString;
210
+ ticket_id: z.ZodString;
211
+ department_id: z.ZodNullable<z.ZodString>;
212
+ contact_id: z.ZodString;
213
+ contact_name: z.ZodString;
214
+ channel_id: z.ZodNullable<z.ZodString>;
215
+ channel_type: z.ZodNullable<z.ZodString>;
216
+ }, "strip", z.ZodTypeAny, {
217
+ channel_id: string | null;
218
+ department_id: string | null;
219
+ contact_id: string;
220
+ thread_id: string;
221
+ ticket_id: string;
222
+ channel_type: string | null;
223
+ contact_name: string;
224
+ }, {
225
+ channel_id: string | null;
226
+ department_id: string | null;
227
+ contact_id: string;
228
+ thread_id: string;
229
+ ticket_id: string;
230
+ channel_type: string | null;
231
+ contact_name: string;
232
+ }>;
233
+ message_ids: z.ZodArray<z.ZodString, "many">;
234
+ intro_text: z.ZodNullable<z.ZodString>;
235
+ recipients: z.ZodArray<z.ZodObject<{
236
+ thread_id: z.ZodString;
237
+ contact_id: z.ZodString;
238
+ contact_name: z.ZodString;
239
+ channel_id: z.ZodString;
240
+ channel_type: z.ZodString;
241
+ provider: z.ZodEnum<["hub-waba", "hub-instagram"]>;
242
+ special_kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<["doctor", "secretary", "employee"]>>>;
243
+ }, "strip", z.ZodTypeAny, {
244
+ provider: "hub-waba" | "hub-instagram";
245
+ channel_id: string;
246
+ contact_id: string;
247
+ thread_id: string;
248
+ channel_type: string;
249
+ contact_name: string;
250
+ special_kind?: "employee" | "doctor" | "secretary" | null | undefined;
251
+ }, {
252
+ provider: "hub-waba" | "hub-instagram";
253
+ channel_id: string;
254
+ contact_id: string;
255
+ thread_id: string;
256
+ channel_type: string;
257
+ contact_name: string;
258
+ special_kind?: "employee" | "doctor" | "secretary" | null | undefined;
259
+ }>, "many">;
260
+ status: z.ZodEnum<["running", "done", "done_with_failures"]>;
261
+ counts: z.ZodObject<{
262
+ total: z.ZodNumber;
263
+ sent: z.ZodNumber;
264
+ failed: z.ZodNumber;
265
+ skipped: z.ZodNumber;
266
+ }, "strip", z.ZodTypeAny, {
267
+ skipped: number;
268
+ failed: number;
269
+ sent: number;
270
+ total: number;
271
+ }, {
272
+ skipped: number;
273
+ failed: number;
274
+ sent: number;
275
+ total: number;
276
+ }>;
277
+ recipients_to_dispatch: z.ZodNumber;
278
+ recipients_done: z.ZodNumber;
279
+ dispatch: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
280
+ claimed_at: z.ZodDate;
281
+ finished_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
282
+ }, "strip", z.ZodTypeAny, {
283
+ claimed_at: Date;
284
+ finished_at?: Date | null | undefined;
285
+ }, {
286
+ claimed_at: Date;
287
+ finished_at?: Date | null | undefined;
288
+ }>>>;
289
+ finished_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
290
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
291
+ id: z.ZodString;
292
+ ref: z.ZodAny;
293
+ model_ver: z.ZodDefault<z.ZodNumber>;
294
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
295
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
296
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
297
+ } & {
298
+ forward_id: z.ZodString;
299
+ tenant: z.ZodString;
300
+ created_by: z.ZodObject<{
301
+ user_id: z.ZodString;
302
+ display_name: z.ZodString;
303
+ }, "strip", z.ZodTypeAny, {
304
+ display_name: string;
305
+ user_id: string;
306
+ }, {
307
+ display_name: string;
308
+ user_id: string;
309
+ }>;
310
+ source: z.ZodObject<{
311
+ thread_id: z.ZodString;
312
+ ticket_id: z.ZodString;
313
+ department_id: z.ZodNullable<z.ZodString>;
314
+ contact_id: z.ZodString;
315
+ contact_name: z.ZodString;
316
+ channel_id: z.ZodNullable<z.ZodString>;
317
+ channel_type: z.ZodNullable<z.ZodString>;
318
+ }, "strip", z.ZodTypeAny, {
319
+ channel_id: string | null;
320
+ department_id: string | null;
321
+ contact_id: string;
322
+ thread_id: string;
323
+ ticket_id: string;
324
+ channel_type: string | null;
325
+ contact_name: string;
326
+ }, {
327
+ channel_id: string | null;
328
+ department_id: string | null;
329
+ contact_id: string;
330
+ thread_id: string;
331
+ ticket_id: string;
332
+ channel_type: string | null;
333
+ contact_name: string;
334
+ }>;
335
+ message_ids: z.ZodArray<z.ZodString, "many">;
336
+ intro_text: z.ZodNullable<z.ZodString>;
337
+ recipients: z.ZodArray<z.ZodObject<{
338
+ thread_id: z.ZodString;
339
+ contact_id: z.ZodString;
340
+ contact_name: z.ZodString;
341
+ channel_id: z.ZodString;
342
+ channel_type: z.ZodString;
343
+ provider: z.ZodEnum<["hub-waba", "hub-instagram"]>;
344
+ special_kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<["doctor", "secretary", "employee"]>>>;
345
+ }, "strip", z.ZodTypeAny, {
346
+ provider: "hub-waba" | "hub-instagram";
347
+ channel_id: string;
348
+ contact_id: string;
349
+ thread_id: string;
350
+ channel_type: string;
351
+ contact_name: string;
352
+ special_kind?: "employee" | "doctor" | "secretary" | null | undefined;
353
+ }, {
354
+ provider: "hub-waba" | "hub-instagram";
355
+ channel_id: string;
356
+ contact_id: string;
357
+ thread_id: string;
358
+ channel_type: string;
359
+ contact_name: string;
360
+ special_kind?: "employee" | "doctor" | "secretary" | null | undefined;
361
+ }>, "many">;
362
+ status: z.ZodEnum<["running", "done", "done_with_failures"]>;
363
+ counts: z.ZodObject<{
364
+ total: z.ZodNumber;
365
+ sent: z.ZodNumber;
366
+ failed: z.ZodNumber;
367
+ skipped: z.ZodNumber;
368
+ }, "strip", z.ZodTypeAny, {
369
+ skipped: number;
370
+ failed: number;
371
+ sent: number;
372
+ total: number;
373
+ }, {
374
+ skipped: number;
375
+ failed: number;
376
+ sent: number;
377
+ total: number;
378
+ }>;
379
+ recipients_to_dispatch: z.ZodNumber;
380
+ recipients_done: z.ZodNumber;
381
+ dispatch: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
382
+ claimed_at: z.ZodDate;
383
+ finished_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ claimed_at: Date;
386
+ finished_at?: Date | null | undefined;
387
+ }, {
388
+ claimed_at: Date;
389
+ finished_at?: Date | null | undefined;
390
+ }>>>;
391
+ finished_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
392
+ }, z.ZodTypeAny, "passthrough">>;
393
+ export declare const zForwardItemSchema: z.ZodObject<{
394
+ item_id: z.ZodString;
395
+ forward_id: z.ZodString;
396
+ recipient_thread_id: z.ZodString;
397
+ recipient_index: z.ZodNumber;
398
+ seq: z.ZodNumber;
399
+ kind: z.ZodEnum<["intro", "message"]>;
400
+ message_id: z.ZodNullable<z.ZodString>;
401
+ content_kind: z.ZodEnum<["text", "image", "video", "audio", "document"]>;
402
+ status: z.ZodEnum<["pending", "sending", "sent", "failed", "skipped"]>;
403
+ reason: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<["window_closed", "type_not_supported", "media_too_large", "media_unavailable", "channel_not_supported"]>, z.ZodEnum<["provider_error", "window_closed", "send_budget_exceeded", "interrupted"]>]>>>;
404
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
405
+ error_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
406
+ dest_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
407
+ sent_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
408
+ updated_at: z.ZodOptional<z.ZodDate>;
409
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
410
+ item_id: z.ZodString;
411
+ forward_id: z.ZodString;
412
+ recipient_thread_id: z.ZodString;
413
+ recipient_index: z.ZodNumber;
414
+ seq: z.ZodNumber;
415
+ kind: z.ZodEnum<["intro", "message"]>;
416
+ message_id: z.ZodNullable<z.ZodString>;
417
+ content_kind: z.ZodEnum<["text", "image", "video", "audio", "document"]>;
418
+ status: z.ZodEnum<["pending", "sending", "sent", "failed", "skipped"]>;
419
+ reason: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<["window_closed", "type_not_supported", "media_too_large", "media_unavailable", "channel_not_supported"]>, z.ZodEnum<["provider_error", "window_closed", "send_budget_exceeded", "interrupted"]>]>>>;
420
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
421
+ error_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
422
+ dest_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
423
+ sent_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
424
+ updated_at: z.ZodOptional<z.ZodDate>;
425
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
426
+ item_id: z.ZodString;
427
+ forward_id: z.ZodString;
428
+ recipient_thread_id: z.ZodString;
429
+ recipient_index: z.ZodNumber;
430
+ seq: z.ZodNumber;
431
+ kind: z.ZodEnum<["intro", "message"]>;
432
+ message_id: z.ZodNullable<z.ZodString>;
433
+ content_kind: z.ZodEnum<["text", "image", "video", "audio", "document"]>;
434
+ status: z.ZodEnum<["pending", "sending", "sent", "failed", "skipped"]>;
435
+ reason: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<["window_closed", "type_not_supported", "media_too_large", "media_unavailable", "channel_not_supported"]>, z.ZodEnum<["provider_error", "window_closed", "send_budget_exceeded", "interrupted"]>]>>>;
436
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
437
+ error_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
438
+ dest_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
439
+ sent_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
440
+ updated_at: z.ZodOptional<z.ZodDate>;
441
+ }, z.ZodTypeAny, "passthrough">>;
442
+ /** Bloco `forward` gravado na mensagem de destino. */
443
+ export declare const zMessageForwardSchema: z.ZodObject<{
444
+ forward_id: z.ZodString;
445
+ item_id: z.ZodString;
446
+ source_message_id: z.ZodString;
447
+ source_thread_id: z.ZodString;
448
+ source_ticket_id: z.ZodString;
449
+ source_contact_id: z.ZodString;
450
+ source_contact_name: z.ZodString;
451
+ source_channel_type: z.ZodNullable<z.ZodString>;
452
+ source_direction: z.ZodEnum<["in", "out"]>;
453
+ source_created_at: z.ZodDate;
454
+ forwarded_by: z.ZodObject<{
455
+ user_id: z.ZodString;
456
+ display_name: z.ZodString;
457
+ }, "strip", z.ZodTypeAny, {
458
+ display_name: string;
459
+ user_id: string;
460
+ }, {
461
+ display_name: string;
462
+ user_id: string;
463
+ }>;
464
+ forwarded_at: z.ZodDate;
465
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
466
+ forward_id: z.ZodString;
467
+ item_id: z.ZodString;
468
+ source_message_id: z.ZodString;
469
+ source_thread_id: z.ZodString;
470
+ source_ticket_id: z.ZodString;
471
+ source_contact_id: z.ZodString;
472
+ source_contact_name: z.ZodString;
473
+ source_channel_type: z.ZodNullable<z.ZodString>;
474
+ source_direction: z.ZodEnum<["in", "out"]>;
475
+ source_created_at: z.ZodDate;
476
+ forwarded_by: z.ZodObject<{
477
+ user_id: z.ZodString;
478
+ display_name: z.ZodString;
479
+ }, "strip", z.ZodTypeAny, {
480
+ display_name: string;
481
+ user_id: string;
482
+ }, {
483
+ display_name: string;
484
+ user_id: string;
485
+ }>;
486
+ forwarded_at: z.ZodDate;
487
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
488
+ forward_id: z.ZodString;
489
+ item_id: z.ZodString;
490
+ source_message_id: z.ZodString;
491
+ source_thread_id: z.ZodString;
492
+ source_ticket_id: z.ZodString;
493
+ source_contact_id: z.ZodString;
494
+ source_contact_name: z.ZodString;
495
+ source_channel_type: z.ZodNullable<z.ZodString>;
496
+ source_direction: z.ZodEnum<["in", "out"]>;
497
+ source_created_at: z.ZodDate;
498
+ forwarded_by: z.ZodObject<{
499
+ user_id: z.ZodString;
500
+ display_name: z.ZodString;
501
+ }, "strip", z.ZodTypeAny, {
502
+ display_name: string;
503
+ user_id: string;
504
+ }, {
505
+ display_name: string;
506
+ user_id: string;
507
+ }>;
508
+ forwarded_at: z.ZodDate;
509
+ }, z.ZodTypeAny, "passthrough">>;
510
+ /**
511
+ * `.strict()` de propósito: o payload nunca carrega `gcs_uri` nem conteúdo. A
512
+ * mídia é sempre lida da mensagem gravada sob o tenant autenticado.
513
+ */
514
+ export declare const zForwardCreateRequestSchema: z.ZodEffects<z.ZodObject<{
515
+ client_request_id: z.ZodString;
516
+ source_thread_id: z.ZodString;
517
+ source_ticket_id: z.ZodString;
518
+ message_ids: z.ZodArray<z.ZodString, "many">;
519
+ intro_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
520
+ recipients: z.ZodArray<z.ZodObject<{
521
+ thread_id: z.ZodString;
522
+ channel_id: z.ZodString;
523
+ }, "strict", z.ZodTypeAny, {
524
+ channel_id: string;
525
+ thread_id: string;
526
+ }, {
527
+ channel_id: string;
528
+ thread_id: string;
529
+ }>, "many">;
530
+ dry_run: z.ZodOptional<z.ZodBoolean>;
531
+ }, "strict", z.ZodTypeAny, {
532
+ recipients: {
533
+ channel_id: string;
534
+ thread_id: string;
535
+ }[];
536
+ message_ids: string[];
537
+ source_thread_id: string;
538
+ source_ticket_id: string;
539
+ client_request_id: string;
540
+ dry_run?: boolean | undefined;
541
+ intro_text?: string | null | undefined;
542
+ }, {
543
+ recipients: {
544
+ channel_id: string;
545
+ thread_id: string;
546
+ }[];
547
+ message_ids: string[];
548
+ source_thread_id: string;
549
+ source_ticket_id: string;
550
+ client_request_id: string;
551
+ dry_run?: boolean | undefined;
552
+ intro_text?: string | null | undefined;
553
+ }>, {
554
+ recipients: {
555
+ channel_id: string;
556
+ thread_id: string;
557
+ }[];
558
+ message_ids: string[];
559
+ source_thread_id: string;
560
+ source_ticket_id: string;
561
+ client_request_id: string;
562
+ dry_run?: boolean | undefined;
563
+ intro_text?: string | null | undefined;
564
+ }, {
565
+ recipients: {
566
+ channel_id: string;
567
+ thread_id: string;
568
+ }[];
569
+ message_ids: string[];
570
+ source_thread_id: string;
571
+ source_ticket_id: string;
572
+ client_request_id: string;
573
+ dry_run?: boolean | undefined;
574
+ intro_text?: string | null | undefined;
575
+ }>;
576
+ export type ForwardCreateRequest = z.infer<typeof zForwardCreateRequestSchema>;