@voltade/envoy-sdk 1.2.3 → 1.2.5
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.
|
@@ -224,43 +224,44 @@ export declare const NestedMessageConversationSchema: z.ZodObject<{
|
|
|
224
224
|
}>;
|
|
225
225
|
export declare const MessageSenderSchema: z.ZodObject<{
|
|
226
226
|
id: z.ZodNumber;
|
|
227
|
-
name: z.ZodNullable<z.ZodString>;
|
|
228
|
-
email: z.ZodNullable<z.ZodString>;
|
|
229
|
-
phone_number: z.ZodNullable<z.ZodString>;
|
|
230
|
-
thumbnail: z.ZodString;
|
|
231
|
-
identifier: z.ZodNullable<z.ZodString>;
|
|
232
|
-
additional_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
233
|
-
custom_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
234
|
-
blocked: z.ZodBoolean;
|
|
235
|
-
customer_stage: z.ZodString;
|
|
236
|
-
customer_stage_explanation: z.ZodNullable<z.ZodString>;
|
|
237
227
|
type: z.ZodOptional<z.ZodString>;
|
|
228
|
+
} & {
|
|
229
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
230
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
231
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
232
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
233
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
234
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
235
|
+
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
236
|
+
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
237
|
+
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
238
|
+
customer_stage: z.ZodOptional<z.ZodString>;
|
|
238
239
|
}, "strip", z.ZodTypeAny, {
|
|
239
240
|
id: number;
|
|
240
|
-
name
|
|
241
|
-
email
|
|
242
|
-
phone_number
|
|
243
|
-
thumbnail: string;
|
|
244
|
-
identifier: string | null;
|
|
245
|
-
additional_attributes: Record<string, unknown>;
|
|
246
|
-
custom_attributes: Record<string, unknown>;
|
|
247
|
-
blocked: boolean;
|
|
248
|
-
customer_stage: string;
|
|
249
|
-
customer_stage_explanation: string | null;
|
|
241
|
+
name?: string | null | undefined;
|
|
242
|
+
email?: string | null | undefined;
|
|
243
|
+
phone_number?: string | null | undefined;
|
|
250
244
|
type?: string | undefined;
|
|
245
|
+
thumbnail?: string | undefined;
|
|
246
|
+
identifier?: string | null | undefined;
|
|
247
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
248
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
249
|
+
blocked?: boolean | undefined;
|
|
250
|
+
customer_stage?: string | undefined;
|
|
251
|
+
customer_stage_explanation?: string | null | undefined;
|
|
251
252
|
}, {
|
|
252
253
|
id: number;
|
|
253
|
-
name
|
|
254
|
-
email
|
|
255
|
-
phone_number
|
|
256
|
-
thumbnail: string;
|
|
257
|
-
identifier: string | null;
|
|
258
|
-
additional_attributes: Record<string, unknown>;
|
|
259
|
-
custom_attributes: Record<string, unknown>;
|
|
260
|
-
blocked: boolean;
|
|
261
|
-
customer_stage: string;
|
|
262
|
-
customer_stage_explanation: string | null;
|
|
254
|
+
name?: string | null | undefined;
|
|
255
|
+
email?: string | null | undefined;
|
|
256
|
+
phone_number?: string | null | undefined;
|
|
263
257
|
type?: string | undefined;
|
|
258
|
+
thumbnail?: string | undefined;
|
|
259
|
+
identifier?: string | null | undefined;
|
|
260
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
261
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
262
|
+
blocked?: boolean | undefined;
|
|
263
|
+
customer_stage?: string | undefined;
|
|
264
|
+
customer_stage_explanation?: string | null | undefined;
|
|
264
265
|
}>;
|
|
265
266
|
export declare const WebhookMessageSchema: z.ZodObject<{
|
|
266
267
|
id: z.ZodNumber;
|
|
@@ -320,43 +321,44 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
320
321
|
}>;
|
|
321
322
|
sender: z.ZodObject<{
|
|
322
323
|
id: z.ZodNumber;
|
|
323
|
-
name: z.ZodNullable<z.ZodString>;
|
|
324
|
-
email: z.ZodNullable<z.ZodString>;
|
|
325
|
-
phone_number: z.ZodNullable<z.ZodString>;
|
|
326
|
-
thumbnail: z.ZodString;
|
|
327
|
-
identifier: z.ZodNullable<z.ZodString>;
|
|
328
|
-
additional_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
329
|
-
custom_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
330
|
-
blocked: z.ZodBoolean;
|
|
331
|
-
customer_stage: z.ZodString;
|
|
332
|
-
customer_stage_explanation: z.ZodNullable<z.ZodString>;
|
|
333
324
|
type: z.ZodOptional<z.ZodString>;
|
|
325
|
+
} & {
|
|
326
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
327
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
328
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
329
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
330
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
331
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
332
|
+
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
333
|
+
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
334
|
+
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
335
|
+
customer_stage: z.ZodOptional<z.ZodString>;
|
|
334
336
|
}, "strip", z.ZodTypeAny, {
|
|
335
337
|
id: number;
|
|
336
|
-
name
|
|
337
|
-
email
|
|
338
|
-
phone_number
|
|
339
|
-
thumbnail: string;
|
|
340
|
-
identifier: string | null;
|
|
341
|
-
additional_attributes: Record<string, unknown>;
|
|
342
|
-
custom_attributes: Record<string, unknown>;
|
|
343
|
-
blocked: boolean;
|
|
344
|
-
customer_stage: string;
|
|
345
|
-
customer_stage_explanation: string | null;
|
|
338
|
+
name?: string | null | undefined;
|
|
339
|
+
email?: string | null | undefined;
|
|
340
|
+
phone_number?: string | null | undefined;
|
|
346
341
|
type?: string | undefined;
|
|
342
|
+
thumbnail?: string | undefined;
|
|
343
|
+
identifier?: string | null | undefined;
|
|
344
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
345
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
346
|
+
blocked?: boolean | undefined;
|
|
347
|
+
customer_stage?: string | undefined;
|
|
348
|
+
customer_stage_explanation?: string | null | undefined;
|
|
347
349
|
}, {
|
|
348
350
|
id: number;
|
|
349
|
-
name
|
|
350
|
-
email
|
|
351
|
-
phone_number
|
|
352
|
-
thumbnail: string;
|
|
353
|
-
identifier: string | null;
|
|
354
|
-
additional_attributes: Record<string, unknown>;
|
|
355
|
-
custom_attributes: Record<string, unknown>;
|
|
356
|
-
blocked: boolean;
|
|
357
|
-
customer_stage: string;
|
|
358
|
-
customer_stage_explanation: string | null;
|
|
351
|
+
name?: string | null | undefined;
|
|
352
|
+
email?: string | null | undefined;
|
|
353
|
+
phone_number?: string | null | undefined;
|
|
359
354
|
type?: string | undefined;
|
|
355
|
+
thumbnail?: string | undefined;
|
|
356
|
+
identifier?: string | null | undefined;
|
|
357
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
358
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
359
|
+
blocked?: boolean | undefined;
|
|
360
|
+
customer_stage?: string | undefined;
|
|
361
|
+
customer_stage_explanation?: string | null | undefined;
|
|
360
362
|
}>;
|
|
361
363
|
}, "strip", z.ZodTypeAny, {
|
|
362
364
|
id: number;
|
|
@@ -376,17 +378,17 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
376
378
|
conversation_id: number;
|
|
377
379
|
sender: {
|
|
378
380
|
id: number;
|
|
379
|
-
name
|
|
380
|
-
email
|
|
381
|
-
phone_number
|
|
382
|
-
thumbnail: string;
|
|
383
|
-
identifier: string | null;
|
|
384
|
-
additional_attributes: Record<string, unknown>;
|
|
385
|
-
custom_attributes: Record<string, unknown>;
|
|
386
|
-
blocked: boolean;
|
|
387
|
-
customer_stage: string;
|
|
388
|
-
customer_stage_explanation: string | null;
|
|
381
|
+
name?: string | null | undefined;
|
|
382
|
+
email?: string | null | undefined;
|
|
383
|
+
phone_number?: string | null | undefined;
|
|
389
384
|
type?: string | undefined;
|
|
385
|
+
thumbnail?: string | undefined;
|
|
386
|
+
identifier?: string | null | undefined;
|
|
387
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
388
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
389
|
+
blocked?: boolean | undefined;
|
|
390
|
+
customer_stage?: string | undefined;
|
|
391
|
+
customer_stage_explanation?: string | null | undefined;
|
|
390
392
|
};
|
|
391
393
|
additional_attributes: Record<string, unknown>;
|
|
392
394
|
inbox_id: number;
|
|
@@ -426,17 +428,17 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
426
428
|
conversation_id: number;
|
|
427
429
|
sender: {
|
|
428
430
|
id: number;
|
|
429
|
-
name
|
|
430
|
-
email
|
|
431
|
-
phone_number
|
|
432
|
-
thumbnail: string;
|
|
433
|
-
identifier: string | null;
|
|
434
|
-
additional_attributes: Record<string, unknown>;
|
|
435
|
-
custom_attributes: Record<string, unknown>;
|
|
436
|
-
blocked: boolean;
|
|
437
|
-
customer_stage: string;
|
|
438
|
-
customer_stage_explanation: string | null;
|
|
431
|
+
name?: string | null | undefined;
|
|
432
|
+
email?: string | null | undefined;
|
|
433
|
+
phone_number?: string | null | undefined;
|
|
439
434
|
type?: string | undefined;
|
|
435
|
+
thumbnail?: string | undefined;
|
|
436
|
+
identifier?: string | null | undefined;
|
|
437
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
438
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
439
|
+
blocked?: boolean | undefined;
|
|
440
|
+
customer_stage?: string | undefined;
|
|
441
|
+
customer_stage_explanation?: string | null | undefined;
|
|
440
442
|
};
|
|
441
443
|
additional_attributes: Record<string, unknown>;
|
|
442
444
|
inbox_id: number;
|
|
@@ -739,43 +741,44 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
739
741
|
}>;
|
|
740
742
|
sender: z.ZodObject<{
|
|
741
743
|
id: z.ZodNumber;
|
|
742
|
-
name: z.ZodNullable<z.ZodString>;
|
|
743
|
-
email: z.ZodNullable<z.ZodString>;
|
|
744
|
-
phone_number: z.ZodNullable<z.ZodString>;
|
|
745
|
-
thumbnail: z.ZodString;
|
|
746
|
-
identifier: z.ZodNullable<z.ZodString>;
|
|
747
|
-
additional_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
748
|
-
custom_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
749
|
-
blocked: z.ZodBoolean;
|
|
750
|
-
customer_stage: z.ZodString;
|
|
751
|
-
customer_stage_explanation: z.ZodNullable<z.ZodString>;
|
|
752
744
|
type: z.ZodOptional<z.ZodString>;
|
|
745
|
+
} & {
|
|
746
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
747
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
748
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
749
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
750
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
751
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
752
|
+
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
753
|
+
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
754
|
+
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
755
|
+
customer_stage: z.ZodOptional<z.ZodString>;
|
|
753
756
|
}, "strip", z.ZodTypeAny, {
|
|
754
757
|
id: number;
|
|
755
|
-
name
|
|
756
|
-
email
|
|
757
|
-
phone_number
|
|
758
|
-
thumbnail: string;
|
|
759
|
-
identifier: string | null;
|
|
760
|
-
additional_attributes: Record<string, unknown>;
|
|
761
|
-
custom_attributes: Record<string, unknown>;
|
|
762
|
-
blocked: boolean;
|
|
763
|
-
customer_stage: string;
|
|
764
|
-
customer_stage_explanation: string | null;
|
|
758
|
+
name?: string | null | undefined;
|
|
759
|
+
email?: string | null | undefined;
|
|
760
|
+
phone_number?: string | null | undefined;
|
|
765
761
|
type?: string | undefined;
|
|
762
|
+
thumbnail?: string | undefined;
|
|
763
|
+
identifier?: string | null | undefined;
|
|
764
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
765
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
766
|
+
blocked?: boolean | undefined;
|
|
767
|
+
customer_stage?: string | undefined;
|
|
768
|
+
customer_stage_explanation?: string | null | undefined;
|
|
766
769
|
}, {
|
|
767
770
|
id: number;
|
|
768
|
-
name
|
|
769
|
-
email
|
|
770
|
-
phone_number
|
|
771
|
-
thumbnail: string;
|
|
772
|
-
identifier: string | null;
|
|
773
|
-
additional_attributes: Record<string, unknown>;
|
|
774
|
-
custom_attributes: Record<string, unknown>;
|
|
775
|
-
blocked: boolean;
|
|
776
|
-
customer_stage: string;
|
|
777
|
-
customer_stage_explanation: string | null;
|
|
771
|
+
name?: string | null | undefined;
|
|
772
|
+
email?: string | null | undefined;
|
|
773
|
+
phone_number?: string | null | undefined;
|
|
778
774
|
type?: string | undefined;
|
|
775
|
+
thumbnail?: string | undefined;
|
|
776
|
+
identifier?: string | null | undefined;
|
|
777
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
778
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
779
|
+
blocked?: boolean | undefined;
|
|
780
|
+
customer_stage?: string | undefined;
|
|
781
|
+
customer_stage_explanation?: string | null | undefined;
|
|
779
782
|
}>;
|
|
780
783
|
}, "strip", z.ZodTypeAny, {
|
|
781
784
|
id: number;
|
|
@@ -795,17 +798,17 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
795
798
|
conversation_id: number;
|
|
796
799
|
sender: {
|
|
797
800
|
id: number;
|
|
798
|
-
name
|
|
799
|
-
email
|
|
800
|
-
phone_number
|
|
801
|
-
thumbnail: string;
|
|
802
|
-
identifier: string | null;
|
|
803
|
-
additional_attributes: Record<string, unknown>;
|
|
804
|
-
custom_attributes: Record<string, unknown>;
|
|
805
|
-
blocked: boolean;
|
|
806
|
-
customer_stage: string;
|
|
807
|
-
customer_stage_explanation: string | null;
|
|
801
|
+
name?: string | null | undefined;
|
|
802
|
+
email?: string | null | undefined;
|
|
803
|
+
phone_number?: string | null | undefined;
|
|
808
804
|
type?: string | undefined;
|
|
805
|
+
thumbnail?: string | undefined;
|
|
806
|
+
identifier?: string | null | undefined;
|
|
807
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
808
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
809
|
+
blocked?: boolean | undefined;
|
|
810
|
+
customer_stage?: string | undefined;
|
|
811
|
+
customer_stage_explanation?: string | null | undefined;
|
|
809
812
|
};
|
|
810
813
|
additional_attributes: Record<string, unknown>;
|
|
811
814
|
inbox_id: number;
|
|
@@ -845,17 +848,17 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
845
848
|
conversation_id: number;
|
|
846
849
|
sender: {
|
|
847
850
|
id: number;
|
|
848
|
-
name
|
|
849
|
-
email
|
|
850
|
-
phone_number
|
|
851
|
-
thumbnail: string;
|
|
852
|
-
identifier: string | null;
|
|
853
|
-
additional_attributes: Record<string, unknown>;
|
|
854
|
-
custom_attributes: Record<string, unknown>;
|
|
855
|
-
blocked: boolean;
|
|
856
|
-
customer_stage: string;
|
|
857
|
-
customer_stage_explanation: string | null;
|
|
851
|
+
name?: string | null | undefined;
|
|
852
|
+
email?: string | null | undefined;
|
|
853
|
+
phone_number?: string | null | undefined;
|
|
858
854
|
type?: string | undefined;
|
|
855
|
+
thumbnail?: string | undefined;
|
|
856
|
+
identifier?: string | null | undefined;
|
|
857
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
858
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
859
|
+
blocked?: boolean | undefined;
|
|
860
|
+
customer_stage?: string | undefined;
|
|
861
|
+
customer_stage_explanation?: string | null | undefined;
|
|
859
862
|
};
|
|
860
863
|
additional_attributes: Record<string, unknown>;
|
|
861
864
|
inbox_id: number;
|
|
@@ -1074,17 +1077,17 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
1074
1077
|
conversation_id: number;
|
|
1075
1078
|
sender: {
|
|
1076
1079
|
id: number;
|
|
1077
|
-
name
|
|
1078
|
-
email
|
|
1079
|
-
phone_number
|
|
1080
|
-
thumbnail: string;
|
|
1081
|
-
identifier: string | null;
|
|
1082
|
-
additional_attributes: Record<string, unknown>;
|
|
1083
|
-
custom_attributes: Record<string, unknown>;
|
|
1084
|
-
blocked: boolean;
|
|
1085
|
-
customer_stage: string;
|
|
1086
|
-
customer_stage_explanation: string | null;
|
|
1080
|
+
name?: string | null | undefined;
|
|
1081
|
+
email?: string | null | undefined;
|
|
1082
|
+
phone_number?: string | null | undefined;
|
|
1087
1083
|
type?: string | undefined;
|
|
1084
|
+
thumbnail?: string | undefined;
|
|
1085
|
+
identifier?: string | null | undefined;
|
|
1086
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
1087
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
1088
|
+
blocked?: boolean | undefined;
|
|
1089
|
+
customer_stage?: string | undefined;
|
|
1090
|
+
customer_stage_explanation?: string | null | undefined;
|
|
1088
1091
|
};
|
|
1089
1092
|
additional_attributes: Record<string, unknown>;
|
|
1090
1093
|
inbox_id: number;
|
|
@@ -1197,17 +1200,17 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
1197
1200
|
conversation_id: number;
|
|
1198
1201
|
sender: {
|
|
1199
1202
|
id: number;
|
|
1200
|
-
name
|
|
1201
|
-
email
|
|
1202
|
-
phone_number
|
|
1203
|
-
thumbnail: string;
|
|
1204
|
-
identifier: string | null;
|
|
1205
|
-
additional_attributes: Record<string, unknown>;
|
|
1206
|
-
custom_attributes: Record<string, unknown>;
|
|
1207
|
-
blocked: boolean;
|
|
1208
|
-
customer_stage: string;
|
|
1209
|
-
customer_stage_explanation: string | null;
|
|
1203
|
+
name?: string | null | undefined;
|
|
1204
|
+
email?: string | null | undefined;
|
|
1205
|
+
phone_number?: string | null | undefined;
|
|
1210
1206
|
type?: string | undefined;
|
|
1207
|
+
thumbnail?: string | undefined;
|
|
1208
|
+
identifier?: string | null | undefined;
|
|
1209
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
1210
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
1211
|
+
blocked?: boolean | undefined;
|
|
1212
|
+
customer_stage?: string | undefined;
|
|
1213
|
+
customer_stage_explanation?: string | null | undefined;
|
|
1211
1214
|
};
|
|
1212
1215
|
additional_attributes: Record<string, unknown>;
|
|
1213
1216
|
inbox_id: number;
|
|
@@ -1444,43 +1447,44 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1444
1447
|
}>;
|
|
1445
1448
|
sender: z.ZodObject<{
|
|
1446
1449
|
id: z.ZodNumber;
|
|
1447
|
-
name: z.ZodNullable<z.ZodString>;
|
|
1448
|
-
email: z.ZodNullable<z.ZodString>;
|
|
1449
|
-
phone_number: z.ZodNullable<z.ZodString>;
|
|
1450
|
-
thumbnail: z.ZodString;
|
|
1451
|
-
identifier: z.ZodNullable<z.ZodString>;
|
|
1452
|
-
additional_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1453
|
-
custom_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1454
|
-
blocked: z.ZodBoolean;
|
|
1455
|
-
customer_stage: z.ZodString;
|
|
1456
|
-
customer_stage_explanation: z.ZodNullable<z.ZodString>;
|
|
1457
1450
|
type: z.ZodOptional<z.ZodString>;
|
|
1451
|
+
} & {
|
|
1452
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1453
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1454
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1455
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1456
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1457
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
1458
|
+
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1459
|
+
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1460
|
+
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
1461
|
+
customer_stage: z.ZodOptional<z.ZodString>;
|
|
1458
1462
|
}, "strip", z.ZodTypeAny, {
|
|
1459
1463
|
id: number;
|
|
1460
|
-
name
|
|
1461
|
-
email
|
|
1462
|
-
phone_number
|
|
1463
|
-
thumbnail: string;
|
|
1464
|
-
identifier: string | null;
|
|
1465
|
-
additional_attributes: Record<string, unknown>;
|
|
1466
|
-
custom_attributes: Record<string, unknown>;
|
|
1467
|
-
blocked: boolean;
|
|
1468
|
-
customer_stage: string;
|
|
1469
|
-
customer_stage_explanation: string | null;
|
|
1464
|
+
name?: string | null | undefined;
|
|
1465
|
+
email?: string | null | undefined;
|
|
1466
|
+
phone_number?: string | null | undefined;
|
|
1470
1467
|
type?: string | undefined;
|
|
1468
|
+
thumbnail?: string | undefined;
|
|
1469
|
+
identifier?: string | null | undefined;
|
|
1470
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
1471
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
1472
|
+
blocked?: boolean | undefined;
|
|
1473
|
+
customer_stage?: string | undefined;
|
|
1474
|
+
customer_stage_explanation?: string | null | undefined;
|
|
1471
1475
|
}, {
|
|
1472
1476
|
id: number;
|
|
1473
|
-
name
|
|
1474
|
-
email
|
|
1475
|
-
phone_number
|
|
1476
|
-
thumbnail: string;
|
|
1477
|
-
identifier: string | null;
|
|
1478
|
-
additional_attributes: Record<string, unknown>;
|
|
1479
|
-
custom_attributes: Record<string, unknown>;
|
|
1480
|
-
blocked: boolean;
|
|
1481
|
-
customer_stage: string;
|
|
1482
|
-
customer_stage_explanation: string | null;
|
|
1477
|
+
name?: string | null | undefined;
|
|
1478
|
+
email?: string | null | undefined;
|
|
1479
|
+
phone_number?: string | null | undefined;
|
|
1483
1480
|
type?: string | undefined;
|
|
1481
|
+
thumbnail?: string | undefined;
|
|
1482
|
+
identifier?: string | null | undefined;
|
|
1483
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
1484
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
1485
|
+
blocked?: boolean | undefined;
|
|
1486
|
+
customer_stage?: string | undefined;
|
|
1487
|
+
customer_stage_explanation?: string | null | undefined;
|
|
1484
1488
|
}>;
|
|
1485
1489
|
}, "strip", z.ZodTypeAny, {
|
|
1486
1490
|
id: number;
|
|
@@ -1500,17 +1504,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1500
1504
|
conversation_id: number;
|
|
1501
1505
|
sender: {
|
|
1502
1506
|
id: number;
|
|
1503
|
-
name
|
|
1504
|
-
email
|
|
1505
|
-
phone_number
|
|
1506
|
-
thumbnail: string;
|
|
1507
|
-
identifier: string | null;
|
|
1508
|
-
additional_attributes: Record<string, unknown>;
|
|
1509
|
-
custom_attributes: Record<string, unknown>;
|
|
1510
|
-
blocked: boolean;
|
|
1511
|
-
customer_stage: string;
|
|
1512
|
-
customer_stage_explanation: string | null;
|
|
1507
|
+
name?: string | null | undefined;
|
|
1508
|
+
email?: string | null | undefined;
|
|
1509
|
+
phone_number?: string | null | undefined;
|
|
1513
1510
|
type?: string | undefined;
|
|
1511
|
+
thumbnail?: string | undefined;
|
|
1512
|
+
identifier?: string | null | undefined;
|
|
1513
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
1514
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
1515
|
+
blocked?: boolean | undefined;
|
|
1516
|
+
customer_stage?: string | undefined;
|
|
1517
|
+
customer_stage_explanation?: string | null | undefined;
|
|
1514
1518
|
};
|
|
1515
1519
|
additional_attributes: Record<string, unknown>;
|
|
1516
1520
|
inbox_id: number;
|
|
@@ -1550,17 +1554,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1550
1554
|
conversation_id: number;
|
|
1551
1555
|
sender: {
|
|
1552
1556
|
id: number;
|
|
1553
|
-
name
|
|
1554
|
-
email
|
|
1555
|
-
phone_number
|
|
1556
|
-
thumbnail: string;
|
|
1557
|
-
identifier: string | null;
|
|
1558
|
-
additional_attributes: Record<string, unknown>;
|
|
1559
|
-
custom_attributes: Record<string, unknown>;
|
|
1560
|
-
blocked: boolean;
|
|
1561
|
-
customer_stage: string;
|
|
1562
|
-
customer_stage_explanation: string | null;
|
|
1557
|
+
name?: string | null | undefined;
|
|
1558
|
+
email?: string | null | undefined;
|
|
1559
|
+
phone_number?: string | null | undefined;
|
|
1563
1560
|
type?: string | undefined;
|
|
1561
|
+
thumbnail?: string | undefined;
|
|
1562
|
+
identifier?: string | null | undefined;
|
|
1563
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
1564
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
1565
|
+
blocked?: boolean | undefined;
|
|
1566
|
+
customer_stage?: string | undefined;
|
|
1567
|
+
customer_stage_explanation?: string | null | undefined;
|
|
1564
1568
|
};
|
|
1565
1569
|
additional_attributes: Record<string, unknown>;
|
|
1566
1570
|
inbox_id: number;
|
|
@@ -1779,17 +1783,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1779
1783
|
conversation_id: number;
|
|
1780
1784
|
sender: {
|
|
1781
1785
|
id: number;
|
|
1782
|
-
name
|
|
1783
|
-
email
|
|
1784
|
-
phone_number
|
|
1785
|
-
thumbnail: string;
|
|
1786
|
-
identifier: string | null;
|
|
1787
|
-
additional_attributes: Record<string, unknown>;
|
|
1788
|
-
custom_attributes: Record<string, unknown>;
|
|
1789
|
-
blocked: boolean;
|
|
1790
|
-
customer_stage: string;
|
|
1791
|
-
customer_stage_explanation: string | null;
|
|
1786
|
+
name?: string | null | undefined;
|
|
1787
|
+
email?: string | null | undefined;
|
|
1788
|
+
phone_number?: string | null | undefined;
|
|
1792
1789
|
type?: string | undefined;
|
|
1790
|
+
thumbnail?: string | undefined;
|
|
1791
|
+
identifier?: string | null | undefined;
|
|
1792
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
1793
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
1794
|
+
blocked?: boolean | undefined;
|
|
1795
|
+
customer_stage?: string | undefined;
|
|
1796
|
+
customer_stage_explanation?: string | null | undefined;
|
|
1793
1797
|
};
|
|
1794
1798
|
additional_attributes: Record<string, unknown>;
|
|
1795
1799
|
inbox_id: number;
|
|
@@ -1902,17 +1906,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1902
1906
|
conversation_id: number;
|
|
1903
1907
|
sender: {
|
|
1904
1908
|
id: number;
|
|
1905
|
-
name
|
|
1906
|
-
email
|
|
1907
|
-
phone_number
|
|
1908
|
-
thumbnail: string;
|
|
1909
|
-
identifier: string | null;
|
|
1910
|
-
additional_attributes: Record<string, unknown>;
|
|
1911
|
-
custom_attributes: Record<string, unknown>;
|
|
1912
|
-
blocked: boolean;
|
|
1913
|
-
customer_stage: string;
|
|
1914
|
-
customer_stage_explanation: string | null;
|
|
1909
|
+
name?: string | null | undefined;
|
|
1910
|
+
email?: string | null | undefined;
|
|
1911
|
+
phone_number?: string | null | undefined;
|
|
1915
1912
|
type?: string | undefined;
|
|
1913
|
+
thumbnail?: string | undefined;
|
|
1914
|
+
identifier?: string | null | undefined;
|
|
1915
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
1916
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
1917
|
+
blocked?: boolean | undefined;
|
|
1918
|
+
customer_stage?: string | undefined;
|
|
1919
|
+
customer_stage_explanation?: string | null | undefined;
|
|
1916
1920
|
};
|
|
1917
1921
|
additional_attributes: Record<string, unknown>;
|
|
1918
1922
|
inbox_id: number;
|
|
@@ -2141,17 +2145,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2141
2145
|
conversation_id: number;
|
|
2142
2146
|
sender: {
|
|
2143
2147
|
id: number;
|
|
2144
|
-
name
|
|
2145
|
-
email
|
|
2146
|
-
phone_number
|
|
2147
|
-
thumbnail: string;
|
|
2148
|
-
identifier: string | null;
|
|
2149
|
-
additional_attributes: Record<string, unknown>;
|
|
2150
|
-
custom_attributes: Record<string, unknown>;
|
|
2151
|
-
blocked: boolean;
|
|
2152
|
-
customer_stage: string;
|
|
2153
|
-
customer_stage_explanation: string | null;
|
|
2148
|
+
name?: string | null | undefined;
|
|
2149
|
+
email?: string | null | undefined;
|
|
2150
|
+
phone_number?: string | null | undefined;
|
|
2154
2151
|
type?: string | undefined;
|
|
2152
|
+
thumbnail?: string | undefined;
|
|
2153
|
+
identifier?: string | null | undefined;
|
|
2154
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
2155
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
2156
|
+
blocked?: boolean | undefined;
|
|
2157
|
+
customer_stage?: string | undefined;
|
|
2158
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2155
2159
|
};
|
|
2156
2160
|
additional_attributes: Record<string, unknown>;
|
|
2157
2161
|
inbox_id: number;
|
|
@@ -2307,17 +2311,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2307
2311
|
conversation_id: number;
|
|
2308
2312
|
sender: {
|
|
2309
2313
|
id: number;
|
|
2310
|
-
name
|
|
2311
|
-
email
|
|
2312
|
-
phone_number
|
|
2313
|
-
thumbnail: string;
|
|
2314
|
-
identifier: string | null;
|
|
2315
|
-
additional_attributes: Record<string, unknown>;
|
|
2316
|
-
custom_attributes: Record<string, unknown>;
|
|
2317
|
-
blocked: boolean;
|
|
2318
|
-
customer_stage: string;
|
|
2319
|
-
customer_stage_explanation: string | null;
|
|
2314
|
+
name?: string | null | undefined;
|
|
2315
|
+
email?: string | null | undefined;
|
|
2316
|
+
phone_number?: string | null | undefined;
|
|
2320
2317
|
type?: string | undefined;
|
|
2318
|
+
thumbnail?: string | undefined;
|
|
2319
|
+
identifier?: string | null | undefined;
|
|
2320
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
2321
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
2322
|
+
blocked?: boolean | undefined;
|
|
2323
|
+
customer_stage?: string | undefined;
|
|
2324
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2321
2325
|
};
|
|
2322
2326
|
additional_attributes: Record<string, unknown>;
|
|
2323
2327
|
inbox_id: number;
|
|
@@ -2560,43 +2564,44 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2560
2564
|
}>;
|
|
2561
2565
|
sender: z.ZodObject<{
|
|
2562
2566
|
id: z.ZodNumber;
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
identifier: string | null;
|
|
2581
|
-
additional_attributes: Record<string, unknown>;
|
|
2582
|
-
custom_attributes: Record<string, unknown>;
|
|
2583
|
-
blocked: boolean;
|
|
2584
|
-
customer_stage: string;
|
|
2585
|
-
customer_stage_explanation: string | null;
|
|
2567
|
+
type: z.ZodOptional<z.ZodString>;
|
|
2568
|
+
} & {
|
|
2569
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2570
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2571
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2572
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2573
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2574
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
2575
|
+
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2576
|
+
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2577
|
+
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
2578
|
+
customer_stage: z.ZodOptional<z.ZodString>;
|
|
2579
|
+
}, "strip", z.ZodTypeAny, {
|
|
2580
|
+
id: number;
|
|
2581
|
+
name?: string | null | undefined;
|
|
2582
|
+
email?: string | null | undefined;
|
|
2583
|
+
phone_number?: string | null | undefined;
|
|
2586
2584
|
type?: string | undefined;
|
|
2585
|
+
thumbnail?: string | undefined;
|
|
2586
|
+
identifier?: string | null | undefined;
|
|
2587
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
2588
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
2589
|
+
blocked?: boolean | undefined;
|
|
2590
|
+
customer_stage?: string | undefined;
|
|
2591
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2587
2592
|
}, {
|
|
2588
2593
|
id: number;
|
|
2589
|
-
name
|
|
2590
|
-
email
|
|
2591
|
-
phone_number
|
|
2592
|
-
thumbnail: string;
|
|
2593
|
-
identifier: string | null;
|
|
2594
|
-
additional_attributes: Record<string, unknown>;
|
|
2595
|
-
custom_attributes: Record<string, unknown>;
|
|
2596
|
-
blocked: boolean;
|
|
2597
|
-
customer_stage: string;
|
|
2598
|
-
customer_stage_explanation: string | null;
|
|
2594
|
+
name?: string | null | undefined;
|
|
2595
|
+
email?: string | null | undefined;
|
|
2596
|
+
phone_number?: string | null | undefined;
|
|
2599
2597
|
type?: string | undefined;
|
|
2598
|
+
thumbnail?: string | undefined;
|
|
2599
|
+
identifier?: string | null | undefined;
|
|
2600
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
2601
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
2602
|
+
blocked?: boolean | undefined;
|
|
2603
|
+
customer_stage?: string | undefined;
|
|
2604
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2600
2605
|
}>;
|
|
2601
2606
|
}, "strip", z.ZodTypeAny, {
|
|
2602
2607
|
id: number;
|
|
@@ -2616,17 +2621,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2616
2621
|
conversation_id: number;
|
|
2617
2622
|
sender: {
|
|
2618
2623
|
id: number;
|
|
2619
|
-
name
|
|
2620
|
-
email
|
|
2621
|
-
phone_number
|
|
2622
|
-
thumbnail: string;
|
|
2623
|
-
identifier: string | null;
|
|
2624
|
-
additional_attributes: Record<string, unknown>;
|
|
2625
|
-
custom_attributes: Record<string, unknown>;
|
|
2626
|
-
blocked: boolean;
|
|
2627
|
-
customer_stage: string;
|
|
2628
|
-
customer_stage_explanation: string | null;
|
|
2624
|
+
name?: string | null | undefined;
|
|
2625
|
+
email?: string | null | undefined;
|
|
2626
|
+
phone_number?: string | null | undefined;
|
|
2629
2627
|
type?: string | undefined;
|
|
2628
|
+
thumbnail?: string | undefined;
|
|
2629
|
+
identifier?: string | null | undefined;
|
|
2630
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
2631
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
2632
|
+
blocked?: boolean | undefined;
|
|
2633
|
+
customer_stage?: string | undefined;
|
|
2634
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2630
2635
|
};
|
|
2631
2636
|
additional_attributes: Record<string, unknown>;
|
|
2632
2637
|
inbox_id: number;
|
|
@@ -2666,17 +2671,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2666
2671
|
conversation_id: number;
|
|
2667
2672
|
sender: {
|
|
2668
2673
|
id: number;
|
|
2669
|
-
name
|
|
2670
|
-
email
|
|
2671
|
-
phone_number
|
|
2672
|
-
thumbnail: string;
|
|
2673
|
-
identifier: string | null;
|
|
2674
|
-
additional_attributes: Record<string, unknown>;
|
|
2675
|
-
custom_attributes: Record<string, unknown>;
|
|
2676
|
-
blocked: boolean;
|
|
2677
|
-
customer_stage: string;
|
|
2678
|
-
customer_stage_explanation: string | null;
|
|
2674
|
+
name?: string | null | undefined;
|
|
2675
|
+
email?: string | null | undefined;
|
|
2676
|
+
phone_number?: string | null | undefined;
|
|
2679
2677
|
type?: string | undefined;
|
|
2678
|
+
thumbnail?: string | undefined;
|
|
2679
|
+
identifier?: string | null | undefined;
|
|
2680
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
2681
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
2682
|
+
blocked?: boolean | undefined;
|
|
2683
|
+
customer_stage?: string | undefined;
|
|
2684
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2680
2685
|
};
|
|
2681
2686
|
additional_attributes: Record<string, unknown>;
|
|
2682
2687
|
inbox_id: number;
|
|
@@ -2895,17 +2900,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2895
2900
|
conversation_id: number;
|
|
2896
2901
|
sender: {
|
|
2897
2902
|
id: number;
|
|
2898
|
-
name
|
|
2899
|
-
email
|
|
2900
|
-
phone_number
|
|
2901
|
-
thumbnail: string;
|
|
2902
|
-
identifier: string | null;
|
|
2903
|
-
additional_attributes: Record<string, unknown>;
|
|
2904
|
-
custom_attributes: Record<string, unknown>;
|
|
2905
|
-
blocked: boolean;
|
|
2906
|
-
customer_stage: string;
|
|
2907
|
-
customer_stage_explanation: string | null;
|
|
2903
|
+
name?: string | null | undefined;
|
|
2904
|
+
email?: string | null | undefined;
|
|
2905
|
+
phone_number?: string | null | undefined;
|
|
2908
2906
|
type?: string | undefined;
|
|
2907
|
+
thumbnail?: string | undefined;
|
|
2908
|
+
identifier?: string | null | undefined;
|
|
2909
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
2910
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
2911
|
+
blocked?: boolean | undefined;
|
|
2912
|
+
customer_stage?: string | undefined;
|
|
2913
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2909
2914
|
};
|
|
2910
2915
|
additional_attributes: Record<string, unknown>;
|
|
2911
2916
|
inbox_id: number;
|
|
@@ -3018,17 +3023,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3018
3023
|
conversation_id: number;
|
|
3019
3024
|
sender: {
|
|
3020
3025
|
id: number;
|
|
3021
|
-
name
|
|
3022
|
-
email
|
|
3023
|
-
phone_number
|
|
3024
|
-
thumbnail: string;
|
|
3025
|
-
identifier: string | null;
|
|
3026
|
-
additional_attributes: Record<string, unknown>;
|
|
3027
|
-
custom_attributes: Record<string, unknown>;
|
|
3028
|
-
blocked: boolean;
|
|
3029
|
-
customer_stage: string;
|
|
3030
|
-
customer_stage_explanation: string | null;
|
|
3026
|
+
name?: string | null | undefined;
|
|
3027
|
+
email?: string | null | undefined;
|
|
3028
|
+
phone_number?: string | null | undefined;
|
|
3031
3029
|
type?: string | undefined;
|
|
3030
|
+
thumbnail?: string | undefined;
|
|
3031
|
+
identifier?: string | null | undefined;
|
|
3032
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
3033
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
3034
|
+
blocked?: boolean | undefined;
|
|
3035
|
+
customer_stage?: string | undefined;
|
|
3036
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3032
3037
|
};
|
|
3033
3038
|
additional_attributes: Record<string, unknown>;
|
|
3034
3039
|
inbox_id: number;
|
|
@@ -3257,17 +3262,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3257
3262
|
conversation_id: number;
|
|
3258
3263
|
sender: {
|
|
3259
3264
|
id: number;
|
|
3260
|
-
name
|
|
3261
|
-
email
|
|
3262
|
-
phone_number
|
|
3263
|
-
thumbnail: string;
|
|
3264
|
-
identifier: string | null;
|
|
3265
|
-
additional_attributes: Record<string, unknown>;
|
|
3266
|
-
custom_attributes: Record<string, unknown>;
|
|
3267
|
-
blocked: boolean;
|
|
3268
|
-
customer_stage: string;
|
|
3269
|
-
customer_stage_explanation: string | null;
|
|
3265
|
+
name?: string | null | undefined;
|
|
3266
|
+
email?: string | null | undefined;
|
|
3267
|
+
phone_number?: string | null | undefined;
|
|
3270
3268
|
type?: string | undefined;
|
|
3269
|
+
thumbnail?: string | undefined;
|
|
3270
|
+
identifier?: string | null | undefined;
|
|
3271
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
3272
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
3273
|
+
blocked?: boolean | undefined;
|
|
3274
|
+
customer_stage?: string | undefined;
|
|
3275
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3271
3276
|
};
|
|
3272
3277
|
additional_attributes: Record<string, unknown>;
|
|
3273
3278
|
inbox_id: number;
|
|
@@ -3423,17 +3428,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3423
3428
|
conversation_id: number;
|
|
3424
3429
|
sender: {
|
|
3425
3430
|
id: number;
|
|
3426
|
-
name
|
|
3427
|
-
email
|
|
3428
|
-
phone_number
|
|
3429
|
-
thumbnail: string;
|
|
3430
|
-
identifier: string | null;
|
|
3431
|
-
additional_attributes: Record<string, unknown>;
|
|
3432
|
-
custom_attributes: Record<string, unknown>;
|
|
3433
|
-
blocked: boolean;
|
|
3434
|
-
customer_stage: string;
|
|
3435
|
-
customer_stage_explanation: string | null;
|
|
3431
|
+
name?: string | null | undefined;
|
|
3432
|
+
email?: string | null | undefined;
|
|
3433
|
+
phone_number?: string | null | undefined;
|
|
3436
3434
|
type?: string | undefined;
|
|
3435
|
+
thumbnail?: string | undefined;
|
|
3436
|
+
identifier?: string | null | undefined;
|
|
3437
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
3438
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
3439
|
+
blocked?: boolean | undefined;
|
|
3440
|
+
customer_stage?: string | undefined;
|
|
3441
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3437
3442
|
};
|
|
3438
3443
|
additional_attributes: Record<string, unknown>;
|
|
3439
3444
|
inbox_id: number;
|
|
@@ -3676,43 +3681,44 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3676
3681
|
}>;
|
|
3677
3682
|
sender: z.ZodObject<{
|
|
3678
3683
|
id: z.ZodNumber;
|
|
3679
|
-
name: z.ZodNullable<z.ZodString>;
|
|
3680
|
-
email: z.ZodNullable<z.ZodString>;
|
|
3681
|
-
phone_number: z.ZodNullable<z.ZodString>;
|
|
3682
|
-
thumbnail: z.ZodString;
|
|
3683
|
-
identifier: z.ZodNullable<z.ZodString>;
|
|
3684
|
-
additional_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3685
|
-
custom_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3686
|
-
blocked: z.ZodBoolean;
|
|
3687
|
-
customer_stage: z.ZodString;
|
|
3688
|
-
customer_stage_explanation: z.ZodNullable<z.ZodString>;
|
|
3689
3684
|
type: z.ZodOptional<z.ZodString>;
|
|
3685
|
+
} & {
|
|
3686
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3687
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3688
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3689
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3690
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3691
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
3692
|
+
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3693
|
+
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3694
|
+
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
3695
|
+
customer_stage: z.ZodOptional<z.ZodString>;
|
|
3690
3696
|
}, "strip", z.ZodTypeAny, {
|
|
3691
3697
|
id: number;
|
|
3692
|
-
name
|
|
3693
|
-
email
|
|
3694
|
-
phone_number
|
|
3695
|
-
thumbnail: string;
|
|
3696
|
-
identifier: string | null;
|
|
3697
|
-
additional_attributes: Record<string, unknown>;
|
|
3698
|
-
custom_attributes: Record<string, unknown>;
|
|
3699
|
-
blocked: boolean;
|
|
3700
|
-
customer_stage: string;
|
|
3701
|
-
customer_stage_explanation: string | null;
|
|
3698
|
+
name?: string | null | undefined;
|
|
3699
|
+
email?: string | null | undefined;
|
|
3700
|
+
phone_number?: string | null | undefined;
|
|
3702
3701
|
type?: string | undefined;
|
|
3702
|
+
thumbnail?: string | undefined;
|
|
3703
|
+
identifier?: string | null | undefined;
|
|
3704
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
3705
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
3706
|
+
blocked?: boolean | undefined;
|
|
3707
|
+
customer_stage?: string | undefined;
|
|
3708
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3703
3709
|
}, {
|
|
3704
3710
|
id: number;
|
|
3705
|
-
name
|
|
3706
|
-
email
|
|
3707
|
-
phone_number
|
|
3708
|
-
thumbnail: string;
|
|
3709
|
-
identifier: string | null;
|
|
3710
|
-
additional_attributes: Record<string, unknown>;
|
|
3711
|
-
custom_attributes: Record<string, unknown>;
|
|
3712
|
-
blocked: boolean;
|
|
3713
|
-
customer_stage: string;
|
|
3714
|
-
customer_stage_explanation: string | null;
|
|
3711
|
+
name?: string | null | undefined;
|
|
3712
|
+
email?: string | null | undefined;
|
|
3713
|
+
phone_number?: string | null | undefined;
|
|
3715
3714
|
type?: string | undefined;
|
|
3715
|
+
thumbnail?: string | undefined;
|
|
3716
|
+
identifier?: string | null | undefined;
|
|
3717
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
3718
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
3719
|
+
blocked?: boolean | undefined;
|
|
3720
|
+
customer_stage?: string | undefined;
|
|
3721
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3716
3722
|
}>;
|
|
3717
3723
|
}, "strip", z.ZodTypeAny, {
|
|
3718
3724
|
id: number;
|
|
@@ -3732,17 +3738,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3732
3738
|
conversation_id: number;
|
|
3733
3739
|
sender: {
|
|
3734
3740
|
id: number;
|
|
3735
|
-
name
|
|
3736
|
-
email
|
|
3737
|
-
phone_number
|
|
3738
|
-
thumbnail: string;
|
|
3739
|
-
identifier: string | null;
|
|
3740
|
-
additional_attributes: Record<string, unknown>;
|
|
3741
|
-
custom_attributes: Record<string, unknown>;
|
|
3742
|
-
blocked: boolean;
|
|
3743
|
-
customer_stage: string;
|
|
3744
|
-
customer_stage_explanation: string | null;
|
|
3741
|
+
name?: string | null | undefined;
|
|
3742
|
+
email?: string | null | undefined;
|
|
3743
|
+
phone_number?: string | null | undefined;
|
|
3745
3744
|
type?: string | undefined;
|
|
3745
|
+
thumbnail?: string | undefined;
|
|
3746
|
+
identifier?: string | null | undefined;
|
|
3747
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
3748
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
3749
|
+
blocked?: boolean | undefined;
|
|
3750
|
+
customer_stage?: string | undefined;
|
|
3751
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3746
3752
|
};
|
|
3747
3753
|
additional_attributes: Record<string, unknown>;
|
|
3748
3754
|
inbox_id: number;
|
|
@@ -3782,17 +3788,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3782
3788
|
conversation_id: number;
|
|
3783
3789
|
sender: {
|
|
3784
3790
|
id: number;
|
|
3785
|
-
name
|
|
3786
|
-
email
|
|
3787
|
-
phone_number
|
|
3788
|
-
thumbnail: string;
|
|
3789
|
-
identifier: string | null;
|
|
3790
|
-
additional_attributes: Record<string, unknown>;
|
|
3791
|
-
custom_attributes: Record<string, unknown>;
|
|
3792
|
-
blocked: boolean;
|
|
3793
|
-
customer_stage: string;
|
|
3794
|
-
customer_stage_explanation: string | null;
|
|
3791
|
+
name?: string | null | undefined;
|
|
3792
|
+
email?: string | null | undefined;
|
|
3793
|
+
phone_number?: string | null | undefined;
|
|
3795
3794
|
type?: string | undefined;
|
|
3795
|
+
thumbnail?: string | undefined;
|
|
3796
|
+
identifier?: string | null | undefined;
|
|
3797
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
3798
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
3799
|
+
blocked?: boolean | undefined;
|
|
3800
|
+
customer_stage?: string | undefined;
|
|
3801
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3796
3802
|
};
|
|
3797
3803
|
additional_attributes: Record<string, unknown>;
|
|
3798
3804
|
inbox_id: number;
|
|
@@ -4011,17 +4017,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4011
4017
|
conversation_id: number;
|
|
4012
4018
|
sender: {
|
|
4013
4019
|
id: number;
|
|
4014
|
-
name
|
|
4015
|
-
email
|
|
4016
|
-
phone_number
|
|
4017
|
-
thumbnail: string;
|
|
4018
|
-
identifier: string | null;
|
|
4019
|
-
additional_attributes: Record<string, unknown>;
|
|
4020
|
-
custom_attributes: Record<string, unknown>;
|
|
4021
|
-
blocked: boolean;
|
|
4022
|
-
customer_stage: string;
|
|
4023
|
-
customer_stage_explanation: string | null;
|
|
4020
|
+
name?: string | null | undefined;
|
|
4021
|
+
email?: string | null | undefined;
|
|
4022
|
+
phone_number?: string | null | undefined;
|
|
4024
4023
|
type?: string | undefined;
|
|
4024
|
+
thumbnail?: string | undefined;
|
|
4025
|
+
identifier?: string | null | undefined;
|
|
4026
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
4027
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
4028
|
+
blocked?: boolean | undefined;
|
|
4029
|
+
customer_stage?: string | undefined;
|
|
4030
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4025
4031
|
};
|
|
4026
4032
|
additional_attributes: Record<string, unknown>;
|
|
4027
4033
|
inbox_id: number;
|
|
@@ -4134,17 +4140,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4134
4140
|
conversation_id: number;
|
|
4135
4141
|
sender: {
|
|
4136
4142
|
id: number;
|
|
4137
|
-
name
|
|
4138
|
-
email
|
|
4139
|
-
phone_number
|
|
4140
|
-
thumbnail: string;
|
|
4141
|
-
identifier: string | null;
|
|
4142
|
-
additional_attributes: Record<string, unknown>;
|
|
4143
|
-
custom_attributes: Record<string, unknown>;
|
|
4144
|
-
blocked: boolean;
|
|
4145
|
-
customer_stage: string;
|
|
4146
|
-
customer_stage_explanation: string | null;
|
|
4143
|
+
name?: string | null | undefined;
|
|
4144
|
+
email?: string | null | undefined;
|
|
4145
|
+
phone_number?: string | null | undefined;
|
|
4147
4146
|
type?: string | undefined;
|
|
4147
|
+
thumbnail?: string | undefined;
|
|
4148
|
+
identifier?: string | null | undefined;
|
|
4149
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
4150
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
4151
|
+
blocked?: boolean | undefined;
|
|
4152
|
+
customer_stage?: string | undefined;
|
|
4153
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4148
4154
|
};
|
|
4149
4155
|
additional_attributes: Record<string, unknown>;
|
|
4150
4156
|
inbox_id: number;
|
|
@@ -4373,17 +4379,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4373
4379
|
conversation_id: number;
|
|
4374
4380
|
sender: {
|
|
4375
4381
|
id: number;
|
|
4376
|
-
name
|
|
4377
|
-
email
|
|
4378
|
-
phone_number
|
|
4379
|
-
thumbnail: string;
|
|
4380
|
-
identifier: string | null;
|
|
4381
|
-
additional_attributes: Record<string, unknown>;
|
|
4382
|
-
custom_attributes: Record<string, unknown>;
|
|
4383
|
-
blocked: boolean;
|
|
4384
|
-
customer_stage: string;
|
|
4385
|
-
customer_stage_explanation: string | null;
|
|
4382
|
+
name?: string | null | undefined;
|
|
4383
|
+
email?: string | null | undefined;
|
|
4384
|
+
phone_number?: string | null | undefined;
|
|
4386
4385
|
type?: string | undefined;
|
|
4386
|
+
thumbnail?: string | undefined;
|
|
4387
|
+
identifier?: string | null | undefined;
|
|
4388
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
4389
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
4390
|
+
blocked?: boolean | undefined;
|
|
4391
|
+
customer_stage?: string | undefined;
|
|
4392
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4387
4393
|
};
|
|
4388
4394
|
additional_attributes: Record<string, unknown>;
|
|
4389
4395
|
inbox_id: number;
|
|
@@ -4539,17 +4545,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4539
4545
|
conversation_id: number;
|
|
4540
4546
|
sender: {
|
|
4541
4547
|
id: number;
|
|
4542
|
-
name
|
|
4543
|
-
email
|
|
4544
|
-
phone_number
|
|
4545
|
-
thumbnail: string;
|
|
4546
|
-
identifier: string | null;
|
|
4547
|
-
additional_attributes: Record<string, unknown>;
|
|
4548
|
-
custom_attributes: Record<string, unknown>;
|
|
4549
|
-
blocked: boolean;
|
|
4550
|
-
customer_stage: string;
|
|
4551
|
-
customer_stage_explanation: string | null;
|
|
4548
|
+
name?: string | null | undefined;
|
|
4549
|
+
email?: string | null | undefined;
|
|
4550
|
+
phone_number?: string | null | undefined;
|
|
4552
4551
|
type?: string | undefined;
|
|
4552
|
+
thumbnail?: string | undefined;
|
|
4553
|
+
identifier?: string | null | undefined;
|
|
4554
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
4555
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
4556
|
+
blocked?: boolean | undefined;
|
|
4557
|
+
customer_stage?: string | undefined;
|
|
4558
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4553
4559
|
};
|
|
4554
4560
|
additional_attributes: Record<string, unknown>;
|
|
4555
4561
|
inbox_id: number;
|
|
@@ -4791,43 +4797,44 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4791
4797
|
}>;
|
|
4792
4798
|
sender: z.ZodObject<{
|
|
4793
4799
|
id: z.ZodNumber;
|
|
4794
|
-
name: z.ZodNullable<z.ZodString>;
|
|
4795
|
-
email: z.ZodNullable<z.ZodString>;
|
|
4796
|
-
phone_number: z.ZodNullable<z.ZodString>;
|
|
4797
|
-
thumbnail: z.ZodString;
|
|
4798
|
-
identifier: z.ZodNullable<z.ZodString>;
|
|
4799
|
-
additional_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4800
|
-
custom_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4801
|
-
blocked: z.ZodBoolean;
|
|
4802
|
-
customer_stage: z.ZodString;
|
|
4803
|
-
customer_stage_explanation: z.ZodNullable<z.ZodString>;
|
|
4804
4800
|
type: z.ZodOptional<z.ZodString>;
|
|
4801
|
+
} & {
|
|
4802
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4803
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4804
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4805
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4806
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4807
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
4808
|
+
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4809
|
+
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4810
|
+
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
4811
|
+
customer_stage: z.ZodOptional<z.ZodString>;
|
|
4805
4812
|
}, "strip", z.ZodTypeAny, {
|
|
4806
4813
|
id: number;
|
|
4807
|
-
name
|
|
4808
|
-
email
|
|
4809
|
-
phone_number
|
|
4810
|
-
thumbnail: string;
|
|
4811
|
-
identifier: string | null;
|
|
4812
|
-
additional_attributes: Record<string, unknown>;
|
|
4813
|
-
custom_attributes: Record<string, unknown>;
|
|
4814
|
-
blocked: boolean;
|
|
4815
|
-
customer_stage: string;
|
|
4816
|
-
customer_stage_explanation: string | null;
|
|
4814
|
+
name?: string | null | undefined;
|
|
4815
|
+
email?: string | null | undefined;
|
|
4816
|
+
phone_number?: string | null | undefined;
|
|
4817
4817
|
type?: string | undefined;
|
|
4818
|
+
thumbnail?: string | undefined;
|
|
4819
|
+
identifier?: string | null | undefined;
|
|
4820
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
4821
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
4822
|
+
blocked?: boolean | undefined;
|
|
4823
|
+
customer_stage?: string | undefined;
|
|
4824
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4818
4825
|
}, {
|
|
4819
4826
|
id: number;
|
|
4820
|
-
name
|
|
4821
|
-
email
|
|
4822
|
-
phone_number
|
|
4823
|
-
thumbnail: string;
|
|
4824
|
-
identifier: string | null;
|
|
4825
|
-
additional_attributes: Record<string, unknown>;
|
|
4826
|
-
custom_attributes: Record<string, unknown>;
|
|
4827
|
-
blocked: boolean;
|
|
4828
|
-
customer_stage: string;
|
|
4829
|
-
customer_stage_explanation: string | null;
|
|
4827
|
+
name?: string | null | undefined;
|
|
4828
|
+
email?: string | null | undefined;
|
|
4829
|
+
phone_number?: string | null | undefined;
|
|
4830
4830
|
type?: string | undefined;
|
|
4831
|
+
thumbnail?: string | undefined;
|
|
4832
|
+
identifier?: string | null | undefined;
|
|
4833
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
4834
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
4835
|
+
blocked?: boolean | undefined;
|
|
4836
|
+
customer_stage?: string | undefined;
|
|
4837
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4831
4838
|
}>;
|
|
4832
4839
|
}, "strip", z.ZodTypeAny, {
|
|
4833
4840
|
id: number;
|
|
@@ -4847,17 +4854,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4847
4854
|
conversation_id: number;
|
|
4848
4855
|
sender: {
|
|
4849
4856
|
id: number;
|
|
4850
|
-
name
|
|
4851
|
-
email
|
|
4852
|
-
phone_number
|
|
4853
|
-
thumbnail: string;
|
|
4854
|
-
identifier: string | null;
|
|
4855
|
-
additional_attributes: Record<string, unknown>;
|
|
4856
|
-
custom_attributes: Record<string, unknown>;
|
|
4857
|
-
blocked: boolean;
|
|
4858
|
-
customer_stage: string;
|
|
4859
|
-
customer_stage_explanation: string | null;
|
|
4857
|
+
name?: string | null | undefined;
|
|
4858
|
+
email?: string | null | undefined;
|
|
4859
|
+
phone_number?: string | null | undefined;
|
|
4860
4860
|
type?: string | undefined;
|
|
4861
|
+
thumbnail?: string | undefined;
|
|
4862
|
+
identifier?: string | null | undefined;
|
|
4863
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
4864
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
4865
|
+
blocked?: boolean | undefined;
|
|
4866
|
+
customer_stage?: string | undefined;
|
|
4867
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4861
4868
|
};
|
|
4862
4869
|
additional_attributes: Record<string, unknown>;
|
|
4863
4870
|
inbox_id: number;
|
|
@@ -4897,17 +4904,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4897
4904
|
conversation_id: number;
|
|
4898
4905
|
sender: {
|
|
4899
4906
|
id: number;
|
|
4900
|
-
name
|
|
4901
|
-
email
|
|
4902
|
-
phone_number
|
|
4903
|
-
thumbnail: string;
|
|
4904
|
-
identifier: string | null;
|
|
4905
|
-
additional_attributes: Record<string, unknown>;
|
|
4906
|
-
custom_attributes: Record<string, unknown>;
|
|
4907
|
-
blocked: boolean;
|
|
4908
|
-
customer_stage: string;
|
|
4909
|
-
customer_stage_explanation: string | null;
|
|
4907
|
+
name?: string | null | undefined;
|
|
4908
|
+
email?: string | null | undefined;
|
|
4909
|
+
phone_number?: string | null | undefined;
|
|
4910
4910
|
type?: string | undefined;
|
|
4911
|
+
thumbnail?: string | undefined;
|
|
4912
|
+
identifier?: string | null | undefined;
|
|
4913
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
4914
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
4915
|
+
blocked?: boolean | undefined;
|
|
4916
|
+
customer_stage?: string | undefined;
|
|
4917
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4911
4918
|
};
|
|
4912
4919
|
additional_attributes: Record<string, unknown>;
|
|
4913
4920
|
inbox_id: number;
|
|
@@ -5126,17 +5133,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5126
5133
|
conversation_id: number;
|
|
5127
5134
|
sender: {
|
|
5128
5135
|
id: number;
|
|
5129
|
-
name
|
|
5130
|
-
email
|
|
5131
|
-
phone_number
|
|
5132
|
-
thumbnail: string;
|
|
5133
|
-
identifier: string | null;
|
|
5134
|
-
additional_attributes: Record<string, unknown>;
|
|
5135
|
-
custom_attributes: Record<string, unknown>;
|
|
5136
|
-
blocked: boolean;
|
|
5137
|
-
customer_stage: string;
|
|
5138
|
-
customer_stage_explanation: string | null;
|
|
5136
|
+
name?: string | null | undefined;
|
|
5137
|
+
email?: string | null | undefined;
|
|
5138
|
+
phone_number?: string | null | undefined;
|
|
5139
5139
|
type?: string | undefined;
|
|
5140
|
+
thumbnail?: string | undefined;
|
|
5141
|
+
identifier?: string | null | undefined;
|
|
5142
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
5143
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
5144
|
+
blocked?: boolean | undefined;
|
|
5145
|
+
customer_stage?: string | undefined;
|
|
5146
|
+
customer_stage_explanation?: string | null | undefined;
|
|
5140
5147
|
};
|
|
5141
5148
|
additional_attributes: Record<string, unknown>;
|
|
5142
5149
|
inbox_id: number;
|
|
@@ -5249,17 +5256,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5249
5256
|
conversation_id: number;
|
|
5250
5257
|
sender: {
|
|
5251
5258
|
id: number;
|
|
5252
|
-
name
|
|
5253
|
-
email
|
|
5254
|
-
phone_number
|
|
5255
|
-
thumbnail: string;
|
|
5256
|
-
identifier: string | null;
|
|
5257
|
-
additional_attributes: Record<string, unknown>;
|
|
5258
|
-
custom_attributes: Record<string, unknown>;
|
|
5259
|
-
blocked: boolean;
|
|
5260
|
-
customer_stage: string;
|
|
5261
|
-
customer_stage_explanation: string | null;
|
|
5259
|
+
name?: string | null | undefined;
|
|
5260
|
+
email?: string | null | undefined;
|
|
5261
|
+
phone_number?: string | null | undefined;
|
|
5262
5262
|
type?: string | undefined;
|
|
5263
|
+
thumbnail?: string | undefined;
|
|
5264
|
+
identifier?: string | null | undefined;
|
|
5265
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
5266
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
5267
|
+
blocked?: boolean | undefined;
|
|
5268
|
+
customer_stage?: string | undefined;
|
|
5269
|
+
customer_stage_explanation?: string | null | undefined;
|
|
5263
5270
|
};
|
|
5264
5271
|
additional_attributes: Record<string, unknown>;
|
|
5265
5272
|
inbox_id: number;
|
|
@@ -5488,17 +5495,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5488
5495
|
conversation_id: number;
|
|
5489
5496
|
sender: {
|
|
5490
5497
|
id: number;
|
|
5491
|
-
name
|
|
5492
|
-
email
|
|
5493
|
-
phone_number
|
|
5494
|
-
thumbnail: string;
|
|
5495
|
-
identifier: string | null;
|
|
5496
|
-
additional_attributes: Record<string, unknown>;
|
|
5497
|
-
custom_attributes: Record<string, unknown>;
|
|
5498
|
-
blocked: boolean;
|
|
5499
|
-
customer_stage: string;
|
|
5500
|
-
customer_stage_explanation: string | null;
|
|
5498
|
+
name?: string | null | undefined;
|
|
5499
|
+
email?: string | null | undefined;
|
|
5500
|
+
phone_number?: string | null | undefined;
|
|
5501
5501
|
type?: string | undefined;
|
|
5502
|
+
thumbnail?: string | undefined;
|
|
5503
|
+
identifier?: string | null | undefined;
|
|
5504
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
5505
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
5506
|
+
blocked?: boolean | undefined;
|
|
5507
|
+
customer_stage?: string | undefined;
|
|
5508
|
+
customer_stage_explanation?: string | null | undefined;
|
|
5502
5509
|
};
|
|
5503
5510
|
additional_attributes: Record<string, unknown>;
|
|
5504
5511
|
inbox_id: number;
|
|
@@ -5654,17 +5661,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5654
5661
|
conversation_id: number;
|
|
5655
5662
|
sender: {
|
|
5656
5663
|
id: number;
|
|
5657
|
-
name
|
|
5658
|
-
email
|
|
5659
|
-
phone_number
|
|
5660
|
-
thumbnail: string;
|
|
5661
|
-
identifier: string | null;
|
|
5662
|
-
additional_attributes: Record<string, unknown>;
|
|
5663
|
-
custom_attributes: Record<string, unknown>;
|
|
5664
|
-
blocked: boolean;
|
|
5665
|
-
customer_stage: string;
|
|
5666
|
-
customer_stage_explanation: string | null;
|
|
5664
|
+
name?: string | null | undefined;
|
|
5665
|
+
email?: string | null | undefined;
|
|
5666
|
+
phone_number?: string | null | undefined;
|
|
5667
5667
|
type?: string | undefined;
|
|
5668
|
+
thumbnail?: string | undefined;
|
|
5669
|
+
identifier?: string | null | undefined;
|
|
5670
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
5671
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
5672
|
+
blocked?: boolean | undefined;
|
|
5673
|
+
customer_stage?: string | undefined;
|
|
5674
|
+
customer_stage_explanation?: string | null | undefined;
|
|
5668
5675
|
};
|
|
5669
5676
|
additional_attributes: Record<string, unknown>;
|
|
5670
5677
|
inbox_id: number;
|