@voltade/envoy-sdk 1.5.0 → 1.5.1

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.
@@ -156,11 +156,11 @@ export declare const WebhookSenderSchema: z.ZodObject<{
156
156
  }, "strip", z.ZodTypeAny, {
157
157
  id: number;
158
158
  name?: string | null | undefined;
159
+ additional_attributes?: Record<string, unknown> | undefined;
159
160
  email?: string | null | undefined;
160
161
  thumbnail?: string | undefined;
161
162
  phone_number?: string | null | undefined;
162
163
  identifier?: string | null | undefined;
163
- additional_attributes?: Record<string, unknown> | undefined;
164
164
  custom_attributes?: Record<string, unknown> | undefined;
165
165
  blocked?: boolean | undefined;
166
166
  customer_stage?: string | null | undefined;
@@ -173,11 +173,11 @@ export declare const WebhookSenderSchema: z.ZodObject<{
173
173
  }, {
174
174
  id: number;
175
175
  name?: string | null | undefined;
176
+ additional_attributes?: Record<string, unknown> | undefined;
176
177
  email?: string | null | undefined;
177
178
  thumbnail?: string | undefined;
178
179
  phone_number?: string | null | undefined;
179
180
  identifier?: string | null | undefined;
180
- additional_attributes?: Record<string, unknown> | undefined;
181
181
  custom_attributes?: Record<string, unknown> | undefined;
182
182
  blocked?: boolean | undefined;
183
183
  customer_stage?: string | null | undefined;
@@ -239,11 +239,11 @@ export declare const MessageSenderSchema: z.ZodObject<{
239
239
  id: number;
240
240
  type?: string | undefined;
241
241
  name?: string | null | undefined;
242
+ additional_attributes?: Record<string, unknown> | undefined;
242
243
  email?: string | null | undefined;
243
244
  thumbnail?: string | undefined;
244
245
  phone_number?: string | null | undefined;
245
246
  identifier?: string | null | undefined;
246
- additional_attributes?: Record<string, unknown> | undefined;
247
247
  custom_attributes?: Record<string, unknown> | undefined;
248
248
  blocked?: boolean | undefined;
249
249
  customer_stage?: string | null | undefined;
@@ -252,11 +252,11 @@ export declare const MessageSenderSchema: z.ZodObject<{
252
252
  id: number;
253
253
  type?: string | undefined;
254
254
  name?: string | null | undefined;
255
+ additional_attributes?: Record<string, unknown> | undefined;
255
256
  email?: string | null | undefined;
256
257
  thumbnail?: string | undefined;
257
258
  phone_number?: string | null | undefined;
258
259
  identifier?: string | null | undefined;
259
- additional_attributes?: Record<string, unknown> | undefined;
260
260
  custom_attributes?: Record<string, unknown> | undefined;
261
261
  blocked?: boolean | undefined;
262
262
  customer_stage?: string | null | undefined;
@@ -336,11 +336,11 @@ export declare const WebhookMessageSchema: z.ZodObject<{
336
336
  id: number;
337
337
  type?: string | undefined;
338
338
  name?: string | null | undefined;
339
+ additional_attributes?: Record<string, unknown> | undefined;
339
340
  email?: string | null | undefined;
340
341
  thumbnail?: string | undefined;
341
342
  phone_number?: string | null | undefined;
342
343
  identifier?: string | null | undefined;
343
- additional_attributes?: Record<string, unknown> | undefined;
344
344
  custom_attributes?: Record<string, unknown> | undefined;
345
345
  blocked?: boolean | undefined;
346
346
  customer_stage?: string | null | undefined;
@@ -349,11 +349,11 @@ export declare const WebhookMessageSchema: z.ZodObject<{
349
349
  id: number;
350
350
  type?: string | undefined;
351
351
  name?: string | null | undefined;
352
+ additional_attributes?: Record<string, unknown> | undefined;
352
353
  email?: string | null | undefined;
353
354
  thumbnail?: string | undefined;
354
355
  phone_number?: string | null | undefined;
355
356
  identifier?: string | null | undefined;
356
- additional_attributes?: Record<string, unknown> | undefined;
357
357
  custom_attributes?: Record<string, unknown> | undefined;
358
358
  blocked?: boolean | undefined;
359
359
  customer_stage?: string | null | undefined;
@@ -369,11 +369,11 @@ export declare const WebhookMessageSchema: z.ZodObject<{
369
369
  id: number;
370
370
  type?: string | undefined;
371
371
  name?: string | null | undefined;
372
+ additional_attributes?: Record<string, unknown> | undefined;
372
373
  email?: string | null | undefined;
373
374
  thumbnail?: string | undefined;
374
375
  phone_number?: string | null | undefined;
375
376
  identifier?: string | null | undefined;
376
- additional_attributes?: Record<string, unknown> | undefined;
377
377
  custom_attributes?: Record<string, unknown> | undefined;
378
378
  blocked?: boolean | undefined;
379
379
  customer_stage?: string | null | undefined;
@@ -390,8 +390,8 @@ export declare const WebhookMessageSchema: z.ZodObject<{
390
390
  } & {
391
391
  [k: string]: unknown;
392
392
  };
393
- conversation_id: number;
394
393
  additional_attributes: Record<string, unknown>;
394
+ conversation_id: number;
395
395
  source_id: string | null;
396
396
  sender_type: "Contact" | "User" | "AgentBot";
397
397
  external_source_ids: Record<string, unknown>;
@@ -419,11 +419,11 @@ export declare const WebhookMessageSchema: z.ZodObject<{
419
419
  id: number;
420
420
  type?: string | undefined;
421
421
  name?: string | null | undefined;
422
+ additional_attributes?: Record<string, unknown> | undefined;
422
423
  email?: string | null | undefined;
423
424
  thumbnail?: string | undefined;
424
425
  phone_number?: string | null | undefined;
425
426
  identifier?: string | null | undefined;
426
- additional_attributes?: Record<string, unknown> | undefined;
427
427
  custom_attributes?: Record<string, unknown> | undefined;
428
428
  blocked?: boolean | undefined;
429
429
  customer_stage?: string | null | undefined;
@@ -440,8 +440,8 @@ export declare const WebhookMessageSchema: z.ZodObject<{
440
440
  } & {
441
441
  [k: string]: unknown;
442
442
  };
443
- conversation_id: number;
444
443
  additional_attributes: Record<string, unknown>;
444
+ conversation_id: number;
445
445
  source_id: string | null;
446
446
  sender_type: "Contact" | "User" | "AgentBot";
447
447
  external_source_ids: Record<string, unknown>;
@@ -477,11 +477,11 @@ export declare const WebhookConversationMetaSchema: z.ZodObject<{
477
477
  }, "strip", z.ZodTypeAny, {
478
478
  name: string | null;
479
479
  id: number;
480
+ additional_attributes: Record<string, unknown>;
480
481
  email: string | null;
481
482
  thumbnail: string;
482
483
  phone_number: string | null;
483
484
  identifier: string | null;
484
- additional_attributes: Record<string, unknown>;
485
485
  custom_attributes: Record<string, unknown>;
486
486
  blocked: boolean;
487
487
  customer_stage: string;
@@ -490,11 +490,11 @@ export declare const WebhookConversationMetaSchema: z.ZodObject<{
490
490
  }, {
491
491
  name: string | null;
492
492
  id: number;
493
+ additional_attributes: Record<string, unknown>;
493
494
  email: string | null;
494
495
  thumbnail: string;
495
496
  phone_number: string | null;
496
497
  identifier: string | null;
497
- additional_attributes: Record<string, unknown>;
498
498
  custom_attributes: Record<string, unknown>;
499
499
  blocked: boolean;
500
500
  customer_stage: string;
@@ -520,11 +520,11 @@ export declare const WebhookConversationMetaSchema: z.ZodObject<{
520
520
  sender: {
521
521
  name: string | null;
522
522
  id: number;
523
+ additional_attributes: Record<string, unknown>;
523
524
  email: string | null;
524
525
  thumbnail: string;
525
526
  phone_number: string | null;
526
527
  identifier: string | null;
527
- additional_attributes: Record<string, unknown>;
528
528
  custom_attributes: Record<string, unknown>;
529
529
  blocked: boolean;
530
530
  customer_stage: string;
@@ -542,11 +542,11 @@ export declare const WebhookConversationMetaSchema: z.ZodObject<{
542
542
  sender: {
543
543
  name: string | null;
544
544
  id: number;
545
+ additional_attributes: Record<string, unknown>;
545
546
  email: string | null;
546
547
  thumbnail: string;
547
548
  phone_number: string | null;
548
549
  identifier: string | null;
549
- additional_attributes: Record<string, unknown>;
550
550
  custom_attributes: Record<string, unknown>;
551
551
  blocked: boolean;
552
552
  customer_stage: string;
@@ -756,11 +756,11 @@ export declare const WebhookConversationSchema: z.ZodObject<{
756
756
  id: number;
757
757
  type?: string | undefined;
758
758
  name?: string | null | undefined;
759
+ additional_attributes?: Record<string, unknown> | undefined;
759
760
  email?: string | null | undefined;
760
761
  thumbnail?: string | undefined;
761
762
  phone_number?: string | null | undefined;
762
763
  identifier?: string | null | undefined;
763
- additional_attributes?: Record<string, unknown> | undefined;
764
764
  custom_attributes?: Record<string, unknown> | undefined;
765
765
  blocked?: boolean | undefined;
766
766
  customer_stage?: string | null | undefined;
@@ -769,11 +769,11 @@ export declare const WebhookConversationSchema: z.ZodObject<{
769
769
  id: number;
770
770
  type?: string | undefined;
771
771
  name?: string | null | undefined;
772
+ additional_attributes?: Record<string, unknown> | undefined;
772
773
  email?: string | null | undefined;
773
774
  thumbnail?: string | undefined;
774
775
  phone_number?: string | null | undefined;
775
776
  identifier?: string | null | undefined;
776
- additional_attributes?: Record<string, unknown> | undefined;
777
777
  custom_attributes?: Record<string, unknown> | undefined;
778
778
  blocked?: boolean | undefined;
779
779
  customer_stage?: string | null | undefined;
@@ -789,11 +789,11 @@ export declare const WebhookConversationSchema: z.ZodObject<{
789
789
  id: number;
790
790
  type?: string | undefined;
791
791
  name?: string | null | undefined;
792
+ additional_attributes?: Record<string, unknown> | undefined;
792
793
  email?: string | null | undefined;
793
794
  thumbnail?: string | undefined;
794
795
  phone_number?: string | null | undefined;
795
796
  identifier?: string | null | undefined;
796
- additional_attributes?: Record<string, unknown> | undefined;
797
797
  custom_attributes?: Record<string, unknown> | undefined;
798
798
  blocked?: boolean | undefined;
799
799
  customer_stage?: string | null | undefined;
@@ -810,8 +810,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
810
810
  } & {
811
811
  [k: string]: unknown;
812
812
  };
813
- conversation_id: number;
814
813
  additional_attributes: Record<string, unknown>;
814
+ conversation_id: number;
815
815
  source_id: string | null;
816
816
  sender_type: "Contact" | "User" | "AgentBot";
817
817
  external_source_ids: Record<string, unknown>;
@@ -839,11 +839,11 @@ export declare const WebhookConversationSchema: z.ZodObject<{
839
839
  id: number;
840
840
  type?: string | undefined;
841
841
  name?: string | null | undefined;
842
+ additional_attributes?: Record<string, unknown> | undefined;
842
843
  email?: string | null | undefined;
843
844
  thumbnail?: string | undefined;
844
845
  phone_number?: string | null | undefined;
845
846
  identifier?: string | null | undefined;
846
- additional_attributes?: Record<string, unknown> | undefined;
847
847
  custom_attributes?: Record<string, unknown> | undefined;
848
848
  blocked?: boolean | undefined;
849
849
  customer_stage?: string | null | undefined;
@@ -860,8 +860,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
860
860
  } & {
861
861
  [k: string]: unknown;
862
862
  };
863
- conversation_id: number;
864
863
  additional_attributes: Record<string, unknown>;
864
+ conversation_id: number;
865
865
  source_id: string | null;
866
866
  sender_type: "Contact" | "User" | "AgentBot";
867
867
  external_source_ids: Record<string, unknown>;
@@ -898,11 +898,11 @@ export declare const WebhookConversationSchema: z.ZodObject<{
898
898
  }, "strip", z.ZodTypeAny, {
899
899
  name: string | null;
900
900
  id: number;
901
+ additional_attributes: Record<string, unknown>;
901
902
  email: string | null;
902
903
  thumbnail: string;
903
904
  phone_number: string | null;
904
905
  identifier: string | null;
905
- additional_attributes: Record<string, unknown>;
906
906
  custom_attributes: Record<string, unknown>;
907
907
  blocked: boolean;
908
908
  customer_stage: string;
@@ -911,11 +911,11 @@ export declare const WebhookConversationSchema: z.ZodObject<{
911
911
  }, {
912
912
  name: string | null;
913
913
  id: number;
914
+ additional_attributes: Record<string, unknown>;
914
915
  email: string | null;
915
916
  thumbnail: string;
916
917
  phone_number: string | null;
917
918
  identifier: string | null;
918
- additional_attributes: Record<string, unknown>;
919
919
  custom_attributes: Record<string, unknown>;
920
920
  blocked: boolean;
921
921
  customer_stage: string;
@@ -941,11 +941,11 @@ export declare const WebhookConversationSchema: z.ZodObject<{
941
941
  sender: {
942
942
  name: string | null;
943
943
  id: number;
944
+ additional_attributes: Record<string, unknown>;
944
945
  email: string | null;
945
946
  thumbnail: string;
946
947
  phone_number: string | null;
947
948
  identifier: string | null;
948
- additional_attributes: Record<string, unknown>;
949
949
  custom_attributes: Record<string, unknown>;
950
950
  blocked: boolean;
951
951
  customer_stage: string;
@@ -963,11 +963,11 @@ export declare const WebhookConversationSchema: z.ZodObject<{
963
963
  sender: {
964
964
  name: string | null;
965
965
  id: number;
966
+ additional_attributes: Record<string, unknown>;
966
967
  email: string | null;
967
968
  thumbnail: string;
968
969
  phone_number: string | null;
969
970
  identifier: string | null;
970
- additional_attributes: Record<string, unknown>;
971
971
  custom_attributes: Record<string, unknown>;
972
972
  blocked: boolean;
973
973
  customer_stage: string;
@@ -1005,7 +1005,6 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1005
1005
  inbox_id: number;
1006
1006
  created_at: number;
1007
1007
  updated_at: number;
1008
- priority: string | null;
1009
1008
  additional_attributes: {
1010
1009
  browser?: {
1011
1010
  device_name: string;
@@ -1022,6 +1021,7 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1022
1021
  } & {
1023
1022
  [k: string]: unknown;
1024
1023
  };
1024
+ priority: string | null;
1025
1025
  custom_attributes: Record<string, unknown>;
1026
1026
  channel: string;
1027
1027
  can_reply: boolean;
@@ -1045,11 +1045,11 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1045
1045
  id: number;
1046
1046
  type?: string | undefined;
1047
1047
  name?: string | null | undefined;
1048
+ additional_attributes?: Record<string, unknown> | undefined;
1048
1049
  email?: string | null | undefined;
1049
1050
  thumbnail?: string | undefined;
1050
1051
  phone_number?: string | null | undefined;
1051
1052
  identifier?: string | null | undefined;
1052
- additional_attributes?: Record<string, unknown> | undefined;
1053
1053
  custom_attributes?: Record<string, unknown> | undefined;
1054
1054
  blocked?: boolean | undefined;
1055
1055
  customer_stage?: string | null | undefined;
@@ -1066,8 +1066,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1066
1066
  } & {
1067
1067
  [k: string]: unknown;
1068
1068
  };
1069
- conversation_id: number;
1070
1069
  additional_attributes: Record<string, unknown>;
1070
+ conversation_id: number;
1071
1071
  source_id: string | null;
1072
1072
  sender_type: "Contact" | "User" | "AgentBot";
1073
1073
  external_source_ids: Record<string, unknown>;
@@ -1090,11 +1090,11 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1090
1090
  sender: {
1091
1091
  name: string | null;
1092
1092
  id: number;
1093
+ additional_attributes: Record<string, unknown>;
1093
1094
  email: string | null;
1094
1095
  thumbnail: string;
1095
1096
  phone_number: string | null;
1096
1097
  identifier: string | null;
1097
- additional_attributes: Record<string, unknown>;
1098
1098
  custom_attributes: Record<string, unknown>;
1099
1099
  blocked: boolean;
1100
1100
  customer_stage: string;
@@ -1128,7 +1128,6 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1128
1128
  inbox_id: number;
1129
1129
  created_at: number;
1130
1130
  updated_at: number;
1131
- priority: string | null;
1132
1131
  additional_attributes: {
1133
1132
  browser?: {
1134
1133
  device_name: string;
@@ -1145,6 +1144,7 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1145
1144
  } & {
1146
1145
  [k: string]: unknown;
1147
1146
  };
1147
+ priority: string | null;
1148
1148
  custom_attributes: Record<string, unknown>;
1149
1149
  channel: string;
1150
1150
  can_reply: boolean;
@@ -1168,11 +1168,11 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1168
1168
  id: number;
1169
1169
  type?: string | undefined;
1170
1170
  name?: string | null | undefined;
1171
+ additional_attributes?: Record<string, unknown> | undefined;
1171
1172
  email?: string | null | undefined;
1172
1173
  thumbnail?: string | undefined;
1173
1174
  phone_number?: string | null | undefined;
1174
1175
  identifier?: string | null | undefined;
1175
- additional_attributes?: Record<string, unknown> | undefined;
1176
1176
  custom_attributes?: Record<string, unknown> | undefined;
1177
1177
  blocked?: boolean | undefined;
1178
1178
  customer_stage?: string | null | undefined;
@@ -1189,8 +1189,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1189
1189
  } & {
1190
1190
  [k: string]: unknown;
1191
1191
  };
1192
- conversation_id: number;
1193
1192
  additional_attributes: Record<string, unknown>;
1193
+ conversation_id: number;
1194
1194
  source_id: string | null;
1195
1195
  sender_type: "Contact" | "User" | "AgentBot";
1196
1196
  external_source_ids: Record<string, unknown>;
@@ -1213,11 +1213,11 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1213
1213
  sender: {
1214
1214
  name: string | null;
1215
1215
  id: number;
1216
+ additional_attributes: Record<string, unknown>;
1216
1217
  email: string | null;
1217
1218
  thumbnail: string;
1218
1219
  phone_number: string | null;
1219
1220
  identifier: string | null;
1220
- additional_attributes: Record<string, unknown>;
1221
1221
  custom_attributes: Record<string, unknown>;
1222
1222
  blocked: boolean;
1223
1223
  customer_stage: string;
@@ -1462,11 +1462,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1462
1462
  id: number;
1463
1463
  type?: string | undefined;
1464
1464
  name?: string | null | undefined;
1465
+ additional_attributes?: Record<string, unknown> | undefined;
1465
1466
  email?: string | null | undefined;
1466
1467
  thumbnail?: string | undefined;
1467
1468
  phone_number?: string | null | undefined;
1468
1469
  identifier?: string | null | undefined;
1469
- additional_attributes?: Record<string, unknown> | undefined;
1470
1470
  custom_attributes?: Record<string, unknown> | undefined;
1471
1471
  blocked?: boolean | undefined;
1472
1472
  customer_stage?: string | null | undefined;
@@ -1475,11 +1475,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1475
1475
  id: number;
1476
1476
  type?: string | undefined;
1477
1477
  name?: string | null | undefined;
1478
+ additional_attributes?: Record<string, unknown> | undefined;
1478
1479
  email?: string | null | undefined;
1479
1480
  thumbnail?: string | undefined;
1480
1481
  phone_number?: string | null | undefined;
1481
1482
  identifier?: string | null | undefined;
1482
- additional_attributes?: Record<string, unknown> | undefined;
1483
1483
  custom_attributes?: Record<string, unknown> | undefined;
1484
1484
  blocked?: boolean | undefined;
1485
1485
  customer_stage?: string | null | undefined;
@@ -1495,11 +1495,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1495
1495
  id: number;
1496
1496
  type?: string | undefined;
1497
1497
  name?: string | null | undefined;
1498
+ additional_attributes?: Record<string, unknown> | undefined;
1498
1499
  email?: string | null | undefined;
1499
1500
  thumbnail?: string | undefined;
1500
1501
  phone_number?: string | null | undefined;
1501
1502
  identifier?: string | null | undefined;
1502
- additional_attributes?: Record<string, unknown> | undefined;
1503
1503
  custom_attributes?: Record<string, unknown> | undefined;
1504
1504
  blocked?: boolean | undefined;
1505
1505
  customer_stage?: string | null | undefined;
@@ -1516,8 +1516,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1516
1516
  } & {
1517
1517
  [k: string]: unknown;
1518
1518
  };
1519
- conversation_id: number;
1520
1519
  additional_attributes: Record<string, unknown>;
1520
+ conversation_id: number;
1521
1521
  source_id: string | null;
1522
1522
  sender_type: "Contact" | "User" | "AgentBot";
1523
1523
  external_source_ids: Record<string, unknown>;
@@ -1545,11 +1545,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1545
1545
  id: number;
1546
1546
  type?: string | undefined;
1547
1547
  name?: string | null | undefined;
1548
+ additional_attributes?: Record<string, unknown> | undefined;
1548
1549
  email?: string | null | undefined;
1549
1550
  thumbnail?: string | undefined;
1550
1551
  phone_number?: string | null | undefined;
1551
1552
  identifier?: string | null | undefined;
1552
- additional_attributes?: Record<string, unknown> | undefined;
1553
1553
  custom_attributes?: Record<string, unknown> | undefined;
1554
1554
  blocked?: boolean | undefined;
1555
1555
  customer_stage?: string | null | undefined;
@@ -1566,8 +1566,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1566
1566
  } & {
1567
1567
  [k: string]: unknown;
1568
1568
  };
1569
- conversation_id: number;
1570
1569
  additional_attributes: Record<string, unknown>;
1570
+ conversation_id: number;
1571
1571
  source_id: string | null;
1572
1572
  sender_type: "Contact" | "User" | "AgentBot";
1573
1573
  external_source_ids: Record<string, unknown>;
@@ -1604,11 +1604,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1604
1604
  }, "strip", z.ZodTypeAny, {
1605
1605
  name: string | null;
1606
1606
  id: number;
1607
+ additional_attributes: Record<string, unknown>;
1607
1608
  email: string | null;
1608
1609
  thumbnail: string;
1609
1610
  phone_number: string | null;
1610
1611
  identifier: string | null;
1611
- additional_attributes: Record<string, unknown>;
1612
1612
  custom_attributes: Record<string, unknown>;
1613
1613
  blocked: boolean;
1614
1614
  customer_stage: string;
@@ -1617,11 +1617,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1617
1617
  }, {
1618
1618
  name: string | null;
1619
1619
  id: number;
1620
+ additional_attributes: Record<string, unknown>;
1620
1621
  email: string | null;
1621
1622
  thumbnail: string;
1622
1623
  phone_number: string | null;
1623
1624
  identifier: string | null;
1624
- additional_attributes: Record<string, unknown>;
1625
1625
  custom_attributes: Record<string, unknown>;
1626
1626
  blocked: boolean;
1627
1627
  customer_stage: string;
@@ -1647,11 +1647,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1647
1647
  sender: {
1648
1648
  name: string | null;
1649
1649
  id: number;
1650
+ additional_attributes: Record<string, unknown>;
1650
1651
  email: string | null;
1651
1652
  thumbnail: string;
1652
1653
  phone_number: string | null;
1653
1654
  identifier: string | null;
1654
- additional_attributes: Record<string, unknown>;
1655
1655
  custom_attributes: Record<string, unknown>;
1656
1656
  blocked: boolean;
1657
1657
  customer_stage: string;
@@ -1669,11 +1669,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1669
1669
  sender: {
1670
1670
  name: string | null;
1671
1671
  id: number;
1672
+ additional_attributes: Record<string, unknown>;
1672
1673
  email: string | null;
1673
1674
  thumbnail: string;
1674
1675
  phone_number: string | null;
1675
1676
  identifier: string | null;
1676
- additional_attributes: Record<string, unknown>;
1677
1677
  custom_attributes: Record<string, unknown>;
1678
1678
  blocked: boolean;
1679
1679
  customer_stage: string;
@@ -1711,7 +1711,6 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1711
1711
  inbox_id: number;
1712
1712
  created_at: number;
1713
1713
  updated_at: number;
1714
- priority: string | null;
1715
1714
  additional_attributes: {
1716
1715
  browser?: {
1717
1716
  device_name: string;
@@ -1728,6 +1727,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1728
1727
  } & {
1729
1728
  [k: string]: unknown;
1730
1729
  };
1730
+ priority: string | null;
1731
1731
  custom_attributes: Record<string, unknown>;
1732
1732
  channel: string;
1733
1733
  can_reply: boolean;
@@ -1751,11 +1751,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1751
1751
  id: number;
1752
1752
  type?: string | undefined;
1753
1753
  name?: string | null | undefined;
1754
+ additional_attributes?: Record<string, unknown> | undefined;
1754
1755
  email?: string | null | undefined;
1755
1756
  thumbnail?: string | undefined;
1756
1757
  phone_number?: string | null | undefined;
1757
1758
  identifier?: string | null | undefined;
1758
- additional_attributes?: Record<string, unknown> | undefined;
1759
1759
  custom_attributes?: Record<string, unknown> | undefined;
1760
1760
  blocked?: boolean | undefined;
1761
1761
  customer_stage?: string | null | undefined;
@@ -1772,8 +1772,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1772
1772
  } & {
1773
1773
  [k: string]: unknown;
1774
1774
  };
1775
- conversation_id: number;
1776
1775
  additional_attributes: Record<string, unknown>;
1776
+ conversation_id: number;
1777
1777
  source_id: string | null;
1778
1778
  sender_type: "Contact" | "User" | "AgentBot";
1779
1779
  external_source_ids: Record<string, unknown>;
@@ -1796,11 +1796,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1796
1796
  sender: {
1797
1797
  name: string | null;
1798
1798
  id: number;
1799
+ additional_attributes: Record<string, unknown>;
1799
1800
  email: string | null;
1800
1801
  thumbnail: string;
1801
1802
  phone_number: string | null;
1802
1803
  identifier: string | null;
1803
- additional_attributes: Record<string, unknown>;
1804
1804
  custom_attributes: Record<string, unknown>;
1805
1805
  blocked: boolean;
1806
1806
  customer_stage: string;
@@ -1834,7 +1834,6 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1834
1834
  inbox_id: number;
1835
1835
  created_at: number;
1836
1836
  updated_at: number;
1837
- priority: string | null;
1838
1837
  additional_attributes: {
1839
1838
  browser?: {
1840
1839
  device_name: string;
@@ -1851,6 +1850,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1851
1850
  } & {
1852
1851
  [k: string]: unknown;
1853
1852
  };
1853
+ priority: string | null;
1854
1854
  custom_attributes: Record<string, unknown>;
1855
1855
  channel: string;
1856
1856
  can_reply: boolean;
@@ -1874,11 +1874,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1874
1874
  id: number;
1875
1875
  type?: string | undefined;
1876
1876
  name?: string | null | undefined;
1877
+ additional_attributes?: Record<string, unknown> | undefined;
1877
1878
  email?: string | null | undefined;
1878
1879
  thumbnail?: string | undefined;
1879
1880
  phone_number?: string | null | undefined;
1880
1881
  identifier?: string | null | undefined;
1881
- additional_attributes?: Record<string, unknown> | undefined;
1882
1882
  custom_attributes?: Record<string, unknown> | undefined;
1883
1883
  blocked?: boolean | undefined;
1884
1884
  customer_stage?: string | null | undefined;
@@ -1895,8 +1895,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1895
1895
  } & {
1896
1896
  [k: string]: unknown;
1897
1897
  };
1898
- conversation_id: number;
1899
1898
  additional_attributes: Record<string, unknown>;
1899
+ conversation_id: number;
1900
1900
  source_id: string | null;
1901
1901
  sender_type: "Contact" | "User" | "AgentBot";
1902
1902
  external_source_ids: Record<string, unknown>;
@@ -1919,11 +1919,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1919
1919
  sender: {
1920
1920
  name: string | null;
1921
1921
  id: number;
1922
+ additional_attributes: Record<string, unknown>;
1922
1923
  email: string | null;
1923
1924
  thumbnail: string;
1924
1925
  phone_number: string | null;
1925
1926
  identifier: string | null;
1926
- additional_attributes: Record<string, unknown>;
1927
1927
  custom_attributes: Record<string, unknown>;
1928
1928
  blocked: boolean;
1929
1929
  customer_stage: string;
@@ -1994,11 +1994,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1994
1994
  }, "strip", z.ZodTypeAny, {
1995
1995
  id: number;
1996
1996
  name?: string | null | undefined;
1997
+ additional_attributes?: Record<string, unknown> | undefined;
1997
1998
  email?: string | null | undefined;
1998
1999
  thumbnail?: string | undefined;
1999
2000
  phone_number?: string | null | undefined;
2000
2001
  identifier?: string | null | undefined;
2001
- additional_attributes?: Record<string, unknown> | undefined;
2002
2002
  custom_attributes?: Record<string, unknown> | undefined;
2003
2003
  blocked?: boolean | undefined;
2004
2004
  customer_stage?: string | null | undefined;
@@ -2011,11 +2011,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2011
2011
  }, {
2012
2012
  id: number;
2013
2013
  name?: string | null | undefined;
2014
+ additional_attributes?: Record<string, unknown> | undefined;
2014
2015
  email?: string | null | undefined;
2015
2016
  thumbnail?: string | undefined;
2016
2017
  phone_number?: string | null | undefined;
2017
2018
  identifier?: string | null | undefined;
2018
- additional_attributes?: Record<string, unknown> | undefined;
2019
2019
  custom_attributes?: Record<string, unknown> | undefined;
2020
2020
  blocked?: boolean | undefined;
2021
2021
  customer_stage?: string | null | undefined;
@@ -2040,11 +2040,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2040
2040
  sender: {
2041
2041
  id: number;
2042
2042
  name?: string | null | undefined;
2043
+ additional_attributes?: Record<string, unknown> | undefined;
2043
2044
  email?: string | null | undefined;
2044
2045
  thumbnail?: string | undefined;
2045
2046
  phone_number?: string | null | undefined;
2046
2047
  identifier?: string | null | undefined;
2047
- additional_attributes?: Record<string, unknown> | undefined;
2048
2048
  custom_attributes?: Record<string, unknown> | undefined;
2049
2049
  blocked?: boolean | undefined;
2050
2050
  customer_stage?: string | null | undefined;
@@ -2077,7 +2077,6 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2077
2077
  inbox_id: number;
2078
2078
  created_at: number;
2079
2079
  updated_at: number;
2080
- priority: string | null;
2081
2080
  additional_attributes: {
2082
2081
  browser?: {
2083
2082
  device_name: string;
@@ -2094,6 +2093,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2094
2093
  } & {
2095
2094
  [k: string]: unknown;
2096
2095
  };
2096
+ priority: string | null;
2097
2097
  custom_attributes: Record<string, unknown>;
2098
2098
  channel: string;
2099
2099
  can_reply: boolean;
@@ -2117,11 +2117,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2117
2117
  id: number;
2118
2118
  type?: string | undefined;
2119
2119
  name?: string | null | undefined;
2120
+ additional_attributes?: Record<string, unknown> | undefined;
2120
2121
  email?: string | null | undefined;
2121
2122
  thumbnail?: string | undefined;
2122
2123
  phone_number?: string | null | undefined;
2123
2124
  identifier?: string | null | undefined;
2124
- additional_attributes?: Record<string, unknown> | undefined;
2125
2125
  custom_attributes?: Record<string, unknown> | undefined;
2126
2126
  blocked?: boolean | undefined;
2127
2127
  customer_stage?: string | null | undefined;
@@ -2138,8 +2138,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2138
2138
  } & {
2139
2139
  [k: string]: unknown;
2140
2140
  };
2141
- conversation_id: number;
2142
2141
  additional_attributes: Record<string, unknown>;
2142
+ conversation_id: number;
2143
2143
  source_id: string | null;
2144
2144
  sender_type: "Contact" | "User" | "AgentBot";
2145
2145
  external_source_ids: Record<string, unknown>;
@@ -2162,11 +2162,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2162
2162
  sender: {
2163
2163
  name: string | null;
2164
2164
  id: number;
2165
+ additional_attributes: Record<string, unknown>;
2165
2166
  email: string | null;
2166
2167
  thumbnail: string;
2167
2168
  phone_number: string | null;
2168
2169
  identifier: string | null;
2169
- additional_attributes: Record<string, unknown>;
2170
2170
  custom_attributes: Record<string, unknown>;
2171
2171
  blocked: boolean;
2172
2172
  customer_stage: string;
@@ -2206,11 +2206,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2206
2206
  sender: {
2207
2207
  id: number;
2208
2208
  name?: string | null | undefined;
2209
+ additional_attributes?: Record<string, unknown> | undefined;
2209
2210
  email?: string | null | undefined;
2210
2211
  thumbnail?: string | undefined;
2211
2212
  phone_number?: string | null | undefined;
2212
2213
  identifier?: string | null | undefined;
2213
- additional_attributes?: Record<string, unknown> | undefined;
2214
2214
  custom_attributes?: Record<string, unknown> | undefined;
2215
2215
  blocked?: boolean | undefined;
2216
2216
  customer_stage?: string | null | undefined;
@@ -2243,7 +2243,6 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2243
2243
  inbox_id: number;
2244
2244
  created_at: number;
2245
2245
  updated_at: number;
2246
- priority: string | null;
2247
2246
  additional_attributes: {
2248
2247
  browser?: {
2249
2248
  device_name: string;
@@ -2260,6 +2259,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2260
2259
  } & {
2261
2260
  [k: string]: unknown;
2262
2261
  };
2262
+ priority: string | null;
2263
2263
  custom_attributes: Record<string, unknown>;
2264
2264
  channel: string;
2265
2265
  can_reply: boolean;
@@ -2283,11 +2283,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2283
2283
  id: number;
2284
2284
  type?: string | undefined;
2285
2285
  name?: string | null | undefined;
2286
+ additional_attributes?: Record<string, unknown> | undefined;
2286
2287
  email?: string | null | undefined;
2287
2288
  thumbnail?: string | undefined;
2288
2289
  phone_number?: string | null | undefined;
2289
2290
  identifier?: string | null | undefined;
2290
- additional_attributes?: Record<string, unknown> | undefined;
2291
2291
  custom_attributes?: Record<string, unknown> | undefined;
2292
2292
  blocked?: boolean | undefined;
2293
2293
  customer_stage?: string | null | undefined;
@@ -2304,8 +2304,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2304
2304
  } & {
2305
2305
  [k: string]: unknown;
2306
2306
  };
2307
- conversation_id: number;
2308
2307
  additional_attributes: Record<string, unknown>;
2308
+ conversation_id: number;
2309
2309
  source_id: string | null;
2310
2310
  sender_type: "Contact" | "User" | "AgentBot";
2311
2311
  external_source_ids: Record<string, unknown>;
@@ -2328,11 +2328,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2328
2328
  sender: {
2329
2329
  name: string | null;
2330
2330
  id: number;
2331
+ additional_attributes: Record<string, unknown>;
2331
2332
  email: string | null;
2332
2333
  thumbnail: string;
2333
2334
  phone_number: string | null;
2334
2335
  identifier: string | null;
2335
- additional_attributes: Record<string, unknown>;
2336
2336
  custom_attributes: Record<string, unknown>;
2337
2337
  blocked: boolean;
2338
2338
  customer_stage: string;
@@ -2578,11 +2578,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2578
2578
  id: number;
2579
2579
  type?: string | undefined;
2580
2580
  name?: string | null | undefined;
2581
+ additional_attributes?: Record<string, unknown> | undefined;
2581
2582
  email?: string | null | undefined;
2582
2583
  thumbnail?: string | undefined;
2583
2584
  phone_number?: string | null | undefined;
2584
2585
  identifier?: string | null | undefined;
2585
- additional_attributes?: Record<string, unknown> | undefined;
2586
2586
  custom_attributes?: Record<string, unknown> | undefined;
2587
2587
  blocked?: boolean | undefined;
2588
2588
  customer_stage?: string | null | undefined;
@@ -2591,11 +2591,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2591
2591
  id: number;
2592
2592
  type?: string | undefined;
2593
2593
  name?: string | null | undefined;
2594
+ additional_attributes?: Record<string, unknown> | undefined;
2594
2595
  email?: string | null | undefined;
2595
2596
  thumbnail?: string | undefined;
2596
2597
  phone_number?: string | null | undefined;
2597
2598
  identifier?: string | null | undefined;
2598
- additional_attributes?: Record<string, unknown> | undefined;
2599
2599
  custom_attributes?: Record<string, unknown> | undefined;
2600
2600
  blocked?: boolean | undefined;
2601
2601
  customer_stage?: string | null | undefined;
@@ -2611,11 +2611,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2611
2611
  id: number;
2612
2612
  type?: string | undefined;
2613
2613
  name?: string | null | undefined;
2614
+ additional_attributes?: Record<string, unknown> | undefined;
2614
2615
  email?: string | null | undefined;
2615
2616
  thumbnail?: string | undefined;
2616
2617
  phone_number?: string | null | undefined;
2617
2618
  identifier?: string | null | undefined;
2618
- additional_attributes?: Record<string, unknown> | undefined;
2619
2619
  custom_attributes?: Record<string, unknown> | undefined;
2620
2620
  blocked?: boolean | undefined;
2621
2621
  customer_stage?: string | null | undefined;
@@ -2632,8 +2632,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2632
2632
  } & {
2633
2633
  [k: string]: unknown;
2634
2634
  };
2635
- conversation_id: number;
2636
2635
  additional_attributes: Record<string, unknown>;
2636
+ conversation_id: number;
2637
2637
  source_id: string | null;
2638
2638
  sender_type: "Contact" | "User" | "AgentBot";
2639
2639
  external_source_ids: Record<string, unknown>;
@@ -2661,11 +2661,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2661
2661
  id: number;
2662
2662
  type?: string | undefined;
2663
2663
  name?: string | null | undefined;
2664
+ additional_attributes?: Record<string, unknown> | undefined;
2664
2665
  email?: string | null | undefined;
2665
2666
  thumbnail?: string | undefined;
2666
2667
  phone_number?: string | null | undefined;
2667
2668
  identifier?: string | null | undefined;
2668
- additional_attributes?: Record<string, unknown> | undefined;
2669
2669
  custom_attributes?: Record<string, unknown> | undefined;
2670
2670
  blocked?: boolean | undefined;
2671
2671
  customer_stage?: string | null | undefined;
@@ -2682,8 +2682,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2682
2682
  } & {
2683
2683
  [k: string]: unknown;
2684
2684
  };
2685
- conversation_id: number;
2686
2685
  additional_attributes: Record<string, unknown>;
2686
+ conversation_id: number;
2687
2687
  source_id: string | null;
2688
2688
  sender_type: "Contact" | "User" | "AgentBot";
2689
2689
  external_source_ids: Record<string, unknown>;
@@ -2720,11 +2720,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2720
2720
  }, "strip", z.ZodTypeAny, {
2721
2721
  name: string | null;
2722
2722
  id: number;
2723
+ additional_attributes: Record<string, unknown>;
2723
2724
  email: string | null;
2724
2725
  thumbnail: string;
2725
2726
  phone_number: string | null;
2726
2727
  identifier: string | null;
2727
- additional_attributes: Record<string, unknown>;
2728
2728
  custom_attributes: Record<string, unknown>;
2729
2729
  blocked: boolean;
2730
2730
  customer_stage: string;
@@ -2733,11 +2733,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2733
2733
  }, {
2734
2734
  name: string | null;
2735
2735
  id: number;
2736
+ additional_attributes: Record<string, unknown>;
2736
2737
  email: string | null;
2737
2738
  thumbnail: string;
2738
2739
  phone_number: string | null;
2739
2740
  identifier: string | null;
2740
- additional_attributes: Record<string, unknown>;
2741
2741
  custom_attributes: Record<string, unknown>;
2742
2742
  blocked: boolean;
2743
2743
  customer_stage: string;
@@ -2763,11 +2763,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2763
2763
  sender: {
2764
2764
  name: string | null;
2765
2765
  id: number;
2766
+ additional_attributes: Record<string, unknown>;
2766
2767
  email: string | null;
2767
2768
  thumbnail: string;
2768
2769
  phone_number: string | null;
2769
2770
  identifier: string | null;
2770
- additional_attributes: Record<string, unknown>;
2771
2771
  custom_attributes: Record<string, unknown>;
2772
2772
  blocked: boolean;
2773
2773
  customer_stage: string;
@@ -2785,11 +2785,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2785
2785
  sender: {
2786
2786
  name: string | null;
2787
2787
  id: number;
2788
+ additional_attributes: Record<string, unknown>;
2788
2789
  email: string | null;
2789
2790
  thumbnail: string;
2790
2791
  phone_number: string | null;
2791
2792
  identifier: string | null;
2792
- additional_attributes: Record<string, unknown>;
2793
2793
  custom_attributes: Record<string, unknown>;
2794
2794
  blocked: boolean;
2795
2795
  customer_stage: string;
@@ -2827,7 +2827,6 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2827
2827
  inbox_id: number;
2828
2828
  created_at: number;
2829
2829
  updated_at: number;
2830
- priority: string | null;
2831
2830
  additional_attributes: {
2832
2831
  browser?: {
2833
2832
  device_name: string;
@@ -2844,6 +2843,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2844
2843
  } & {
2845
2844
  [k: string]: unknown;
2846
2845
  };
2846
+ priority: string | null;
2847
2847
  custom_attributes: Record<string, unknown>;
2848
2848
  channel: string;
2849
2849
  can_reply: boolean;
@@ -2867,11 +2867,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2867
2867
  id: number;
2868
2868
  type?: string | undefined;
2869
2869
  name?: string | null | undefined;
2870
+ additional_attributes?: Record<string, unknown> | undefined;
2870
2871
  email?: string | null | undefined;
2871
2872
  thumbnail?: string | undefined;
2872
2873
  phone_number?: string | null | undefined;
2873
2874
  identifier?: string | null | undefined;
2874
- additional_attributes?: Record<string, unknown> | undefined;
2875
2875
  custom_attributes?: Record<string, unknown> | undefined;
2876
2876
  blocked?: boolean | undefined;
2877
2877
  customer_stage?: string | null | undefined;
@@ -2888,8 +2888,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2888
2888
  } & {
2889
2889
  [k: string]: unknown;
2890
2890
  };
2891
- conversation_id: number;
2892
2891
  additional_attributes: Record<string, unknown>;
2892
+ conversation_id: number;
2893
2893
  source_id: string | null;
2894
2894
  sender_type: "Contact" | "User" | "AgentBot";
2895
2895
  external_source_ids: Record<string, unknown>;
@@ -2912,11 +2912,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2912
2912
  sender: {
2913
2913
  name: string | null;
2914
2914
  id: number;
2915
+ additional_attributes: Record<string, unknown>;
2915
2916
  email: string | null;
2916
2917
  thumbnail: string;
2917
2918
  phone_number: string | null;
2918
2919
  identifier: string | null;
2919
- additional_attributes: Record<string, unknown>;
2920
2920
  custom_attributes: Record<string, unknown>;
2921
2921
  blocked: boolean;
2922
2922
  customer_stage: string;
@@ -2950,7 +2950,6 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2950
2950
  inbox_id: number;
2951
2951
  created_at: number;
2952
2952
  updated_at: number;
2953
- priority: string | null;
2954
2953
  additional_attributes: {
2955
2954
  browser?: {
2956
2955
  device_name: string;
@@ -2967,6 +2966,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2967
2966
  } & {
2968
2967
  [k: string]: unknown;
2969
2968
  };
2969
+ priority: string | null;
2970
2970
  custom_attributes: Record<string, unknown>;
2971
2971
  channel: string;
2972
2972
  can_reply: boolean;
@@ -2990,11 +2990,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2990
2990
  id: number;
2991
2991
  type?: string | undefined;
2992
2992
  name?: string | null | undefined;
2993
+ additional_attributes?: Record<string, unknown> | undefined;
2993
2994
  email?: string | null | undefined;
2994
2995
  thumbnail?: string | undefined;
2995
2996
  phone_number?: string | null | undefined;
2996
2997
  identifier?: string | null | undefined;
2997
- additional_attributes?: Record<string, unknown> | undefined;
2998
2998
  custom_attributes?: Record<string, unknown> | undefined;
2999
2999
  blocked?: boolean | undefined;
3000
3000
  customer_stage?: string | null | undefined;
@@ -3011,8 +3011,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3011
3011
  } & {
3012
3012
  [k: string]: unknown;
3013
3013
  };
3014
- conversation_id: number;
3015
3014
  additional_attributes: Record<string, unknown>;
3015
+ conversation_id: number;
3016
3016
  source_id: string | null;
3017
3017
  sender_type: "Contact" | "User" | "AgentBot";
3018
3018
  external_source_ids: Record<string, unknown>;
@@ -3035,11 +3035,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3035
3035
  sender: {
3036
3036
  name: string | null;
3037
3037
  id: number;
3038
+ additional_attributes: Record<string, unknown>;
3038
3039
  email: string | null;
3039
3040
  thumbnail: string;
3040
3041
  phone_number: string | null;
3041
3042
  identifier: string | null;
3042
- additional_attributes: Record<string, unknown>;
3043
3043
  custom_attributes: Record<string, unknown>;
3044
3044
  blocked: boolean;
3045
3045
  customer_stage: string;
@@ -3110,11 +3110,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3110
3110
  }, "strip", z.ZodTypeAny, {
3111
3111
  id: number;
3112
3112
  name?: string | null | undefined;
3113
+ additional_attributes?: Record<string, unknown> | undefined;
3113
3114
  email?: string | null | undefined;
3114
3115
  thumbnail?: string | undefined;
3115
3116
  phone_number?: string | null | undefined;
3116
3117
  identifier?: string | null | undefined;
3117
- additional_attributes?: Record<string, unknown> | undefined;
3118
3118
  custom_attributes?: Record<string, unknown> | undefined;
3119
3119
  blocked?: boolean | undefined;
3120
3120
  customer_stage?: string | null | undefined;
@@ -3127,11 +3127,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3127
3127
  }, {
3128
3128
  id: number;
3129
3129
  name?: string | null | undefined;
3130
+ additional_attributes?: Record<string, unknown> | undefined;
3130
3131
  email?: string | null | undefined;
3131
3132
  thumbnail?: string | undefined;
3132
3133
  phone_number?: string | null | undefined;
3133
3134
  identifier?: string | null | undefined;
3134
- additional_attributes?: Record<string, unknown> | undefined;
3135
3135
  custom_attributes?: Record<string, unknown> | undefined;
3136
3136
  blocked?: boolean | undefined;
3137
3137
  customer_stage?: string | null | undefined;
@@ -3156,11 +3156,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3156
3156
  sender: {
3157
3157
  id: number;
3158
3158
  name?: string | null | undefined;
3159
+ additional_attributes?: Record<string, unknown> | undefined;
3159
3160
  email?: string | null | undefined;
3160
3161
  thumbnail?: string | undefined;
3161
3162
  phone_number?: string | null | undefined;
3162
3163
  identifier?: string | null | undefined;
3163
- additional_attributes?: Record<string, unknown> | undefined;
3164
3164
  custom_attributes?: Record<string, unknown> | undefined;
3165
3165
  blocked?: boolean | undefined;
3166
3166
  customer_stage?: string | null | undefined;
@@ -3193,7 +3193,6 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3193
3193
  inbox_id: number;
3194
3194
  created_at: number;
3195
3195
  updated_at: number;
3196
- priority: string | null;
3197
3196
  additional_attributes: {
3198
3197
  browser?: {
3199
3198
  device_name: string;
@@ -3210,6 +3209,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3210
3209
  } & {
3211
3210
  [k: string]: unknown;
3212
3211
  };
3212
+ priority: string | null;
3213
3213
  custom_attributes: Record<string, unknown>;
3214
3214
  channel: string;
3215
3215
  can_reply: boolean;
@@ -3233,11 +3233,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3233
3233
  id: number;
3234
3234
  type?: string | undefined;
3235
3235
  name?: string | null | undefined;
3236
+ additional_attributes?: Record<string, unknown> | undefined;
3236
3237
  email?: string | null | undefined;
3237
3238
  thumbnail?: string | undefined;
3238
3239
  phone_number?: string | null | undefined;
3239
3240
  identifier?: string | null | undefined;
3240
- additional_attributes?: Record<string, unknown> | undefined;
3241
3241
  custom_attributes?: Record<string, unknown> | undefined;
3242
3242
  blocked?: boolean | undefined;
3243
3243
  customer_stage?: string | null | undefined;
@@ -3254,8 +3254,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3254
3254
  } & {
3255
3255
  [k: string]: unknown;
3256
3256
  };
3257
- conversation_id: number;
3258
3257
  additional_attributes: Record<string, unknown>;
3258
+ conversation_id: number;
3259
3259
  source_id: string | null;
3260
3260
  sender_type: "Contact" | "User" | "AgentBot";
3261
3261
  external_source_ids: Record<string, unknown>;
@@ -3278,11 +3278,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3278
3278
  sender: {
3279
3279
  name: string | null;
3280
3280
  id: number;
3281
+ additional_attributes: Record<string, unknown>;
3281
3282
  email: string | null;
3282
3283
  thumbnail: string;
3283
3284
  phone_number: string | null;
3284
3285
  identifier: string | null;
3285
- additional_attributes: Record<string, unknown>;
3286
3286
  custom_attributes: Record<string, unknown>;
3287
3287
  blocked: boolean;
3288
3288
  customer_stage: string;
@@ -3322,11 +3322,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3322
3322
  sender: {
3323
3323
  id: number;
3324
3324
  name?: string | null | undefined;
3325
+ additional_attributes?: Record<string, unknown> | undefined;
3325
3326
  email?: string | null | undefined;
3326
3327
  thumbnail?: string | undefined;
3327
3328
  phone_number?: string | null | undefined;
3328
3329
  identifier?: string | null | undefined;
3329
- additional_attributes?: Record<string, unknown> | undefined;
3330
3330
  custom_attributes?: Record<string, unknown> | undefined;
3331
3331
  blocked?: boolean | undefined;
3332
3332
  customer_stage?: string | null | undefined;
@@ -3359,7 +3359,6 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3359
3359
  inbox_id: number;
3360
3360
  created_at: number;
3361
3361
  updated_at: number;
3362
- priority: string | null;
3363
3362
  additional_attributes: {
3364
3363
  browser?: {
3365
3364
  device_name: string;
@@ -3376,6 +3375,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3376
3375
  } & {
3377
3376
  [k: string]: unknown;
3378
3377
  };
3378
+ priority: string | null;
3379
3379
  custom_attributes: Record<string, unknown>;
3380
3380
  channel: string;
3381
3381
  can_reply: boolean;
@@ -3399,11 +3399,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3399
3399
  id: number;
3400
3400
  type?: string | undefined;
3401
3401
  name?: string | null | undefined;
3402
+ additional_attributes?: Record<string, unknown> | undefined;
3402
3403
  email?: string | null | undefined;
3403
3404
  thumbnail?: string | undefined;
3404
3405
  phone_number?: string | null | undefined;
3405
3406
  identifier?: string | null | undefined;
3406
- additional_attributes?: Record<string, unknown> | undefined;
3407
3407
  custom_attributes?: Record<string, unknown> | undefined;
3408
3408
  blocked?: boolean | undefined;
3409
3409
  customer_stage?: string | null | undefined;
@@ -3420,8 +3420,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3420
3420
  } & {
3421
3421
  [k: string]: unknown;
3422
3422
  };
3423
- conversation_id: number;
3424
3423
  additional_attributes: Record<string, unknown>;
3424
+ conversation_id: number;
3425
3425
  source_id: string | null;
3426
3426
  sender_type: "Contact" | "User" | "AgentBot";
3427
3427
  external_source_ids: Record<string, unknown>;
@@ -3444,11 +3444,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3444
3444
  sender: {
3445
3445
  name: string | null;
3446
3446
  id: number;
3447
+ additional_attributes: Record<string, unknown>;
3447
3448
  email: string | null;
3448
3449
  thumbnail: string;
3449
3450
  phone_number: string | null;
3450
3451
  identifier: string | null;
3451
- additional_attributes: Record<string, unknown>;
3452
3452
  custom_attributes: Record<string, unknown>;
3453
3453
  blocked: boolean;
3454
3454
  customer_stage: string;
@@ -3694,11 +3694,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3694
3694
  id: number;
3695
3695
  type?: string | undefined;
3696
3696
  name?: string | null | undefined;
3697
+ additional_attributes?: Record<string, unknown> | undefined;
3697
3698
  email?: string | null | undefined;
3698
3699
  thumbnail?: string | undefined;
3699
3700
  phone_number?: string | null | undefined;
3700
3701
  identifier?: string | null | undefined;
3701
- additional_attributes?: Record<string, unknown> | undefined;
3702
3702
  custom_attributes?: Record<string, unknown> | undefined;
3703
3703
  blocked?: boolean | undefined;
3704
3704
  customer_stage?: string | null | undefined;
@@ -3707,11 +3707,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3707
3707
  id: number;
3708
3708
  type?: string | undefined;
3709
3709
  name?: string | null | undefined;
3710
+ additional_attributes?: Record<string, unknown> | undefined;
3710
3711
  email?: string | null | undefined;
3711
3712
  thumbnail?: string | undefined;
3712
3713
  phone_number?: string | null | undefined;
3713
3714
  identifier?: string | null | undefined;
3714
- additional_attributes?: Record<string, unknown> | undefined;
3715
3715
  custom_attributes?: Record<string, unknown> | undefined;
3716
3716
  blocked?: boolean | undefined;
3717
3717
  customer_stage?: string | null | undefined;
@@ -3727,11 +3727,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3727
3727
  id: number;
3728
3728
  type?: string | undefined;
3729
3729
  name?: string | null | undefined;
3730
+ additional_attributes?: Record<string, unknown> | undefined;
3730
3731
  email?: string | null | undefined;
3731
3732
  thumbnail?: string | undefined;
3732
3733
  phone_number?: string | null | undefined;
3733
3734
  identifier?: string | null | undefined;
3734
- additional_attributes?: Record<string, unknown> | undefined;
3735
3735
  custom_attributes?: Record<string, unknown> | undefined;
3736
3736
  blocked?: boolean | undefined;
3737
3737
  customer_stage?: string | null | undefined;
@@ -3748,8 +3748,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3748
3748
  } & {
3749
3749
  [k: string]: unknown;
3750
3750
  };
3751
- conversation_id: number;
3752
3751
  additional_attributes: Record<string, unknown>;
3752
+ conversation_id: number;
3753
3753
  source_id: string | null;
3754
3754
  sender_type: "Contact" | "User" | "AgentBot";
3755
3755
  external_source_ids: Record<string, unknown>;
@@ -3777,11 +3777,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3777
3777
  id: number;
3778
3778
  type?: string | undefined;
3779
3779
  name?: string | null | undefined;
3780
+ additional_attributes?: Record<string, unknown> | undefined;
3780
3781
  email?: string | null | undefined;
3781
3782
  thumbnail?: string | undefined;
3782
3783
  phone_number?: string | null | undefined;
3783
3784
  identifier?: string | null | undefined;
3784
- additional_attributes?: Record<string, unknown> | undefined;
3785
3785
  custom_attributes?: Record<string, unknown> | undefined;
3786
3786
  blocked?: boolean | undefined;
3787
3787
  customer_stage?: string | null | undefined;
@@ -3798,8 +3798,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3798
3798
  } & {
3799
3799
  [k: string]: unknown;
3800
3800
  };
3801
- conversation_id: number;
3802
3801
  additional_attributes: Record<string, unknown>;
3802
+ conversation_id: number;
3803
3803
  source_id: string | null;
3804
3804
  sender_type: "Contact" | "User" | "AgentBot";
3805
3805
  external_source_ids: Record<string, unknown>;
@@ -3836,11 +3836,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3836
3836
  }, "strip", z.ZodTypeAny, {
3837
3837
  name: string | null;
3838
3838
  id: number;
3839
+ additional_attributes: Record<string, unknown>;
3839
3840
  email: string | null;
3840
3841
  thumbnail: string;
3841
3842
  phone_number: string | null;
3842
3843
  identifier: string | null;
3843
- additional_attributes: Record<string, unknown>;
3844
3844
  custom_attributes: Record<string, unknown>;
3845
3845
  blocked: boolean;
3846
3846
  customer_stage: string;
@@ -3849,11 +3849,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3849
3849
  }, {
3850
3850
  name: string | null;
3851
3851
  id: number;
3852
+ additional_attributes: Record<string, unknown>;
3852
3853
  email: string | null;
3853
3854
  thumbnail: string;
3854
3855
  phone_number: string | null;
3855
3856
  identifier: string | null;
3856
- additional_attributes: Record<string, unknown>;
3857
3857
  custom_attributes: Record<string, unknown>;
3858
3858
  blocked: boolean;
3859
3859
  customer_stage: string;
@@ -3879,11 +3879,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3879
3879
  sender: {
3880
3880
  name: string | null;
3881
3881
  id: number;
3882
+ additional_attributes: Record<string, unknown>;
3882
3883
  email: string | null;
3883
3884
  thumbnail: string;
3884
3885
  phone_number: string | null;
3885
3886
  identifier: string | null;
3886
- additional_attributes: Record<string, unknown>;
3887
3887
  custom_attributes: Record<string, unknown>;
3888
3888
  blocked: boolean;
3889
3889
  customer_stage: string;
@@ -3901,11 +3901,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3901
3901
  sender: {
3902
3902
  name: string | null;
3903
3903
  id: number;
3904
+ additional_attributes: Record<string, unknown>;
3904
3905
  email: string | null;
3905
3906
  thumbnail: string;
3906
3907
  phone_number: string | null;
3907
3908
  identifier: string | null;
3908
- additional_attributes: Record<string, unknown>;
3909
3909
  custom_attributes: Record<string, unknown>;
3910
3910
  blocked: boolean;
3911
3911
  customer_stage: string;
@@ -3943,7 +3943,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3943
3943
  inbox_id: number;
3944
3944
  created_at: number;
3945
3945
  updated_at: number;
3946
- priority: string | null;
3947
3946
  additional_attributes: {
3948
3947
  browser?: {
3949
3948
  device_name: string;
@@ -3960,6 +3959,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3960
3959
  } & {
3961
3960
  [k: string]: unknown;
3962
3961
  };
3962
+ priority: string | null;
3963
3963
  custom_attributes: Record<string, unknown>;
3964
3964
  channel: string;
3965
3965
  can_reply: boolean;
@@ -3983,11 +3983,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3983
3983
  id: number;
3984
3984
  type?: string | undefined;
3985
3985
  name?: string | null | undefined;
3986
+ additional_attributes?: Record<string, unknown> | undefined;
3986
3987
  email?: string | null | undefined;
3987
3988
  thumbnail?: string | undefined;
3988
3989
  phone_number?: string | null | undefined;
3989
3990
  identifier?: string | null | undefined;
3990
- additional_attributes?: Record<string, unknown> | undefined;
3991
3991
  custom_attributes?: Record<string, unknown> | undefined;
3992
3992
  blocked?: boolean | undefined;
3993
3993
  customer_stage?: string | null | undefined;
@@ -4004,8 +4004,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4004
4004
  } & {
4005
4005
  [k: string]: unknown;
4006
4006
  };
4007
- conversation_id: number;
4008
4007
  additional_attributes: Record<string, unknown>;
4008
+ conversation_id: number;
4009
4009
  source_id: string | null;
4010
4010
  sender_type: "Contact" | "User" | "AgentBot";
4011
4011
  external_source_ids: Record<string, unknown>;
@@ -4028,11 +4028,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4028
4028
  sender: {
4029
4029
  name: string | null;
4030
4030
  id: number;
4031
+ additional_attributes: Record<string, unknown>;
4031
4032
  email: string | null;
4032
4033
  thumbnail: string;
4033
4034
  phone_number: string | null;
4034
4035
  identifier: string | null;
4035
- additional_attributes: Record<string, unknown>;
4036
4036
  custom_attributes: Record<string, unknown>;
4037
4037
  blocked: boolean;
4038
4038
  customer_stage: string;
@@ -4066,7 +4066,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4066
4066
  inbox_id: number;
4067
4067
  created_at: number;
4068
4068
  updated_at: number;
4069
- priority: string | null;
4070
4069
  additional_attributes: {
4071
4070
  browser?: {
4072
4071
  device_name: string;
@@ -4083,6 +4082,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4083
4082
  } & {
4084
4083
  [k: string]: unknown;
4085
4084
  };
4085
+ priority: string | null;
4086
4086
  custom_attributes: Record<string, unknown>;
4087
4087
  channel: string;
4088
4088
  can_reply: boolean;
@@ -4106,11 +4106,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4106
4106
  id: number;
4107
4107
  type?: string | undefined;
4108
4108
  name?: string | null | undefined;
4109
+ additional_attributes?: Record<string, unknown> | undefined;
4109
4110
  email?: string | null | undefined;
4110
4111
  thumbnail?: string | undefined;
4111
4112
  phone_number?: string | null | undefined;
4112
4113
  identifier?: string | null | undefined;
4113
- additional_attributes?: Record<string, unknown> | undefined;
4114
4114
  custom_attributes?: Record<string, unknown> | undefined;
4115
4115
  blocked?: boolean | undefined;
4116
4116
  customer_stage?: string | null | undefined;
@@ -4127,8 +4127,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4127
4127
  } & {
4128
4128
  [k: string]: unknown;
4129
4129
  };
4130
- conversation_id: number;
4131
4130
  additional_attributes: Record<string, unknown>;
4131
+ conversation_id: number;
4132
4132
  source_id: string | null;
4133
4133
  sender_type: "Contact" | "User" | "AgentBot";
4134
4134
  external_source_ids: Record<string, unknown>;
@@ -4151,11 +4151,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4151
4151
  sender: {
4152
4152
  name: string | null;
4153
4153
  id: number;
4154
+ additional_attributes: Record<string, unknown>;
4154
4155
  email: string | null;
4155
4156
  thumbnail: string;
4156
4157
  phone_number: string | null;
4157
4158
  identifier: string | null;
4158
- additional_attributes: Record<string, unknown>;
4159
4159
  custom_attributes: Record<string, unknown>;
4160
4160
  blocked: boolean;
4161
4161
  customer_stage: string;
@@ -4226,11 +4226,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4226
4226
  }, "strip", z.ZodTypeAny, {
4227
4227
  id: number;
4228
4228
  name?: string | null | undefined;
4229
+ additional_attributes?: Record<string, unknown> | undefined;
4229
4230
  email?: string | null | undefined;
4230
4231
  thumbnail?: string | undefined;
4231
4232
  phone_number?: string | null | undefined;
4232
4233
  identifier?: string | null | undefined;
4233
- additional_attributes?: Record<string, unknown> | undefined;
4234
4234
  custom_attributes?: Record<string, unknown> | undefined;
4235
4235
  blocked?: boolean | undefined;
4236
4236
  customer_stage?: string | null | undefined;
@@ -4243,11 +4243,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4243
4243
  }, {
4244
4244
  id: number;
4245
4245
  name?: string | null | undefined;
4246
+ additional_attributes?: Record<string, unknown> | undefined;
4246
4247
  email?: string | null | undefined;
4247
4248
  thumbnail?: string | undefined;
4248
4249
  phone_number?: string | null | undefined;
4249
4250
  identifier?: string | null | undefined;
4250
- additional_attributes?: Record<string, unknown> | undefined;
4251
4251
  custom_attributes?: Record<string, unknown> | undefined;
4252
4252
  blocked?: boolean | undefined;
4253
4253
  customer_stage?: string | null | undefined;
@@ -4272,11 +4272,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4272
4272
  sender: {
4273
4273
  id: number;
4274
4274
  name?: string | null | undefined;
4275
+ additional_attributes?: Record<string, unknown> | undefined;
4275
4276
  email?: string | null | undefined;
4276
4277
  thumbnail?: string | undefined;
4277
4278
  phone_number?: string | null | undefined;
4278
4279
  identifier?: string | null | undefined;
4279
- additional_attributes?: Record<string, unknown> | undefined;
4280
4280
  custom_attributes?: Record<string, unknown> | undefined;
4281
4281
  blocked?: boolean | undefined;
4282
4282
  customer_stage?: string | null | undefined;
@@ -4309,7 +4309,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4309
4309
  inbox_id: number;
4310
4310
  created_at: number;
4311
4311
  updated_at: number;
4312
- priority: string | null;
4313
4312
  additional_attributes: {
4314
4313
  browser?: {
4315
4314
  device_name: string;
@@ -4326,6 +4325,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4326
4325
  } & {
4327
4326
  [k: string]: unknown;
4328
4327
  };
4328
+ priority: string | null;
4329
4329
  custom_attributes: Record<string, unknown>;
4330
4330
  channel: string;
4331
4331
  can_reply: boolean;
@@ -4349,11 +4349,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4349
4349
  id: number;
4350
4350
  type?: string | undefined;
4351
4351
  name?: string | null | undefined;
4352
+ additional_attributes?: Record<string, unknown> | undefined;
4352
4353
  email?: string | null | undefined;
4353
4354
  thumbnail?: string | undefined;
4354
4355
  phone_number?: string | null | undefined;
4355
4356
  identifier?: string | null | undefined;
4356
- additional_attributes?: Record<string, unknown> | undefined;
4357
4357
  custom_attributes?: Record<string, unknown> | undefined;
4358
4358
  blocked?: boolean | undefined;
4359
4359
  customer_stage?: string | null | undefined;
@@ -4370,8 +4370,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4370
4370
  } & {
4371
4371
  [k: string]: unknown;
4372
4372
  };
4373
- conversation_id: number;
4374
4373
  additional_attributes: Record<string, unknown>;
4374
+ conversation_id: number;
4375
4375
  source_id: string | null;
4376
4376
  sender_type: "Contact" | "User" | "AgentBot";
4377
4377
  external_source_ids: Record<string, unknown>;
@@ -4394,11 +4394,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4394
4394
  sender: {
4395
4395
  name: string | null;
4396
4396
  id: number;
4397
+ additional_attributes: Record<string, unknown>;
4397
4398
  email: string | null;
4398
4399
  thumbnail: string;
4399
4400
  phone_number: string | null;
4400
4401
  identifier: string | null;
4401
- additional_attributes: Record<string, unknown>;
4402
4402
  custom_attributes: Record<string, unknown>;
4403
4403
  blocked: boolean;
4404
4404
  customer_stage: string;
@@ -4438,11 +4438,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4438
4438
  sender: {
4439
4439
  id: number;
4440
4440
  name?: string | null | undefined;
4441
+ additional_attributes?: Record<string, unknown> | undefined;
4441
4442
  email?: string | null | undefined;
4442
4443
  thumbnail?: string | undefined;
4443
4444
  phone_number?: string | null | undefined;
4444
4445
  identifier?: string | null | undefined;
4445
- additional_attributes?: Record<string, unknown> | undefined;
4446
4446
  custom_attributes?: Record<string, unknown> | undefined;
4447
4447
  blocked?: boolean | undefined;
4448
4448
  customer_stage?: string | null | undefined;
@@ -4475,7 +4475,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4475
4475
  inbox_id: number;
4476
4476
  created_at: number;
4477
4477
  updated_at: number;
4478
- priority: string | null;
4479
4478
  additional_attributes: {
4480
4479
  browser?: {
4481
4480
  device_name: string;
@@ -4492,6 +4491,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4492
4491
  } & {
4493
4492
  [k: string]: unknown;
4494
4493
  };
4494
+ priority: string | null;
4495
4495
  custom_attributes: Record<string, unknown>;
4496
4496
  channel: string;
4497
4497
  can_reply: boolean;
@@ -4515,11 +4515,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4515
4515
  id: number;
4516
4516
  type?: string | undefined;
4517
4517
  name?: string | null | undefined;
4518
+ additional_attributes?: Record<string, unknown> | undefined;
4518
4519
  email?: string | null | undefined;
4519
4520
  thumbnail?: string | undefined;
4520
4521
  phone_number?: string | null | undefined;
4521
4522
  identifier?: string | null | undefined;
4522
- additional_attributes?: Record<string, unknown> | undefined;
4523
4523
  custom_attributes?: Record<string, unknown> | undefined;
4524
4524
  blocked?: boolean | undefined;
4525
4525
  customer_stage?: string | null | undefined;
@@ -4536,8 +4536,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4536
4536
  } & {
4537
4537
  [k: string]: unknown;
4538
4538
  };
4539
- conversation_id: number;
4540
4539
  additional_attributes: Record<string, unknown>;
4540
+ conversation_id: number;
4541
4541
  source_id: string | null;
4542
4542
  sender_type: "Contact" | "User" | "AgentBot";
4543
4543
  external_source_ids: Record<string, unknown>;
@@ -4560,11 +4560,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4560
4560
  sender: {
4561
4561
  name: string | null;
4562
4562
  id: number;
4563
+ additional_attributes: Record<string, unknown>;
4563
4564
  email: string | null;
4564
4565
  thumbnail: string;
4565
4566
  phone_number: string | null;
4566
4567
  identifier: string | null;
4567
- additional_attributes: Record<string, unknown>;
4568
4568
  custom_attributes: Record<string, unknown>;
4569
4569
  blocked: boolean;
4570
4570
  customer_stage: string;
@@ -4809,11 +4809,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4809
4809
  id: number;
4810
4810
  type?: string | undefined;
4811
4811
  name?: string | null | undefined;
4812
+ additional_attributes?: Record<string, unknown> | undefined;
4812
4813
  email?: string | null | undefined;
4813
4814
  thumbnail?: string | undefined;
4814
4815
  phone_number?: string | null | undefined;
4815
4816
  identifier?: string | null | undefined;
4816
- additional_attributes?: Record<string, unknown> | undefined;
4817
4817
  custom_attributes?: Record<string, unknown> | undefined;
4818
4818
  blocked?: boolean | undefined;
4819
4819
  customer_stage?: string | null | undefined;
@@ -4822,11 +4822,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4822
4822
  id: number;
4823
4823
  type?: string | undefined;
4824
4824
  name?: string | null | undefined;
4825
+ additional_attributes?: Record<string, unknown> | undefined;
4825
4826
  email?: string | null | undefined;
4826
4827
  thumbnail?: string | undefined;
4827
4828
  phone_number?: string | null | undefined;
4828
4829
  identifier?: string | null | undefined;
4829
- additional_attributes?: Record<string, unknown> | undefined;
4830
4830
  custom_attributes?: Record<string, unknown> | undefined;
4831
4831
  blocked?: boolean | undefined;
4832
4832
  customer_stage?: string | null | undefined;
@@ -4842,11 +4842,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4842
4842
  id: number;
4843
4843
  type?: string | undefined;
4844
4844
  name?: string | null | undefined;
4845
+ additional_attributes?: Record<string, unknown> | undefined;
4845
4846
  email?: string | null | undefined;
4846
4847
  thumbnail?: string | undefined;
4847
4848
  phone_number?: string | null | undefined;
4848
4849
  identifier?: string | null | undefined;
4849
- additional_attributes?: Record<string, unknown> | undefined;
4850
4850
  custom_attributes?: Record<string, unknown> | undefined;
4851
4851
  blocked?: boolean | undefined;
4852
4852
  customer_stage?: string | null | undefined;
@@ -4863,8 +4863,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4863
4863
  } & {
4864
4864
  [k: string]: unknown;
4865
4865
  };
4866
- conversation_id: number;
4867
4866
  additional_attributes: Record<string, unknown>;
4867
+ conversation_id: number;
4868
4868
  source_id: string | null;
4869
4869
  sender_type: "Contact" | "User" | "AgentBot";
4870
4870
  external_source_ids: Record<string, unknown>;
@@ -4892,11 +4892,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4892
4892
  id: number;
4893
4893
  type?: string | undefined;
4894
4894
  name?: string | null | undefined;
4895
+ additional_attributes?: Record<string, unknown> | undefined;
4895
4896
  email?: string | null | undefined;
4896
4897
  thumbnail?: string | undefined;
4897
4898
  phone_number?: string | null | undefined;
4898
4899
  identifier?: string | null | undefined;
4899
- additional_attributes?: Record<string, unknown> | undefined;
4900
4900
  custom_attributes?: Record<string, unknown> | undefined;
4901
4901
  blocked?: boolean | undefined;
4902
4902
  customer_stage?: string | null | undefined;
@@ -4913,8 +4913,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4913
4913
  } & {
4914
4914
  [k: string]: unknown;
4915
4915
  };
4916
- conversation_id: number;
4917
4916
  additional_attributes: Record<string, unknown>;
4917
+ conversation_id: number;
4918
4918
  source_id: string | null;
4919
4919
  sender_type: "Contact" | "User" | "AgentBot";
4920
4920
  external_source_ids: Record<string, unknown>;
@@ -4951,11 +4951,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4951
4951
  }, "strip", z.ZodTypeAny, {
4952
4952
  name: string | null;
4953
4953
  id: number;
4954
+ additional_attributes: Record<string, unknown>;
4954
4955
  email: string | null;
4955
4956
  thumbnail: string;
4956
4957
  phone_number: string | null;
4957
4958
  identifier: string | null;
4958
- additional_attributes: Record<string, unknown>;
4959
4959
  custom_attributes: Record<string, unknown>;
4960
4960
  blocked: boolean;
4961
4961
  customer_stage: string;
@@ -4964,11 +4964,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4964
4964
  }, {
4965
4965
  name: string | null;
4966
4966
  id: number;
4967
+ additional_attributes: Record<string, unknown>;
4967
4968
  email: string | null;
4968
4969
  thumbnail: string;
4969
4970
  phone_number: string | null;
4970
4971
  identifier: string | null;
4971
- additional_attributes: Record<string, unknown>;
4972
4972
  custom_attributes: Record<string, unknown>;
4973
4973
  blocked: boolean;
4974
4974
  customer_stage: string;
@@ -4994,11 +4994,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4994
4994
  sender: {
4995
4995
  name: string | null;
4996
4996
  id: number;
4997
+ additional_attributes: Record<string, unknown>;
4997
4998
  email: string | null;
4998
4999
  thumbnail: string;
4999
5000
  phone_number: string | null;
5000
5001
  identifier: string | null;
5001
- additional_attributes: Record<string, unknown>;
5002
5002
  custom_attributes: Record<string, unknown>;
5003
5003
  blocked: boolean;
5004
5004
  customer_stage: string;
@@ -5016,11 +5016,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5016
5016
  sender: {
5017
5017
  name: string | null;
5018
5018
  id: number;
5019
+ additional_attributes: Record<string, unknown>;
5019
5020
  email: string | null;
5020
5021
  thumbnail: string;
5021
5022
  phone_number: string | null;
5022
5023
  identifier: string | null;
5023
- additional_attributes: Record<string, unknown>;
5024
5024
  custom_attributes: Record<string, unknown>;
5025
5025
  blocked: boolean;
5026
5026
  customer_stage: string;
@@ -5058,7 +5058,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5058
5058
  inbox_id: number;
5059
5059
  created_at: number;
5060
5060
  updated_at: number;
5061
- priority: string | null;
5062
5061
  additional_attributes: {
5063
5062
  browser?: {
5064
5063
  device_name: string;
@@ -5075,6 +5074,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5075
5074
  } & {
5076
5075
  [k: string]: unknown;
5077
5076
  };
5077
+ priority: string | null;
5078
5078
  custom_attributes: Record<string, unknown>;
5079
5079
  channel: string;
5080
5080
  can_reply: boolean;
@@ -5098,11 +5098,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5098
5098
  id: number;
5099
5099
  type?: string | undefined;
5100
5100
  name?: string | null | undefined;
5101
+ additional_attributes?: Record<string, unknown> | undefined;
5101
5102
  email?: string | null | undefined;
5102
5103
  thumbnail?: string | undefined;
5103
5104
  phone_number?: string | null | undefined;
5104
5105
  identifier?: string | null | undefined;
5105
- additional_attributes?: Record<string, unknown> | undefined;
5106
5106
  custom_attributes?: Record<string, unknown> | undefined;
5107
5107
  blocked?: boolean | undefined;
5108
5108
  customer_stage?: string | null | undefined;
@@ -5119,8 +5119,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5119
5119
  } & {
5120
5120
  [k: string]: unknown;
5121
5121
  };
5122
- conversation_id: number;
5123
5122
  additional_attributes: Record<string, unknown>;
5123
+ conversation_id: number;
5124
5124
  source_id: string | null;
5125
5125
  sender_type: "Contact" | "User" | "AgentBot";
5126
5126
  external_source_ids: Record<string, unknown>;
@@ -5143,11 +5143,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5143
5143
  sender: {
5144
5144
  name: string | null;
5145
5145
  id: number;
5146
+ additional_attributes: Record<string, unknown>;
5146
5147
  email: string | null;
5147
5148
  thumbnail: string;
5148
5149
  phone_number: string | null;
5149
5150
  identifier: string | null;
5150
- additional_attributes: Record<string, unknown>;
5151
5151
  custom_attributes: Record<string, unknown>;
5152
5152
  blocked: boolean;
5153
5153
  customer_stage: string;
@@ -5181,7 +5181,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5181
5181
  inbox_id: number;
5182
5182
  created_at: number;
5183
5183
  updated_at: number;
5184
- priority: string | null;
5185
5184
  additional_attributes: {
5186
5185
  browser?: {
5187
5186
  device_name: string;
@@ -5198,6 +5197,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5198
5197
  } & {
5199
5198
  [k: string]: unknown;
5200
5199
  };
5200
+ priority: string | null;
5201
5201
  custom_attributes: Record<string, unknown>;
5202
5202
  channel: string;
5203
5203
  can_reply: boolean;
@@ -5221,11 +5221,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5221
5221
  id: number;
5222
5222
  type?: string | undefined;
5223
5223
  name?: string | null | undefined;
5224
+ additional_attributes?: Record<string, unknown> | undefined;
5224
5225
  email?: string | null | undefined;
5225
5226
  thumbnail?: string | undefined;
5226
5227
  phone_number?: string | null | undefined;
5227
5228
  identifier?: string | null | undefined;
5228
- additional_attributes?: Record<string, unknown> | undefined;
5229
5229
  custom_attributes?: Record<string, unknown> | undefined;
5230
5230
  blocked?: boolean | undefined;
5231
5231
  customer_stage?: string | null | undefined;
@@ -5242,8 +5242,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5242
5242
  } & {
5243
5243
  [k: string]: unknown;
5244
5244
  };
5245
- conversation_id: number;
5246
5245
  additional_attributes: Record<string, unknown>;
5246
+ conversation_id: number;
5247
5247
  source_id: string | null;
5248
5248
  sender_type: "Contact" | "User" | "AgentBot";
5249
5249
  external_source_ids: Record<string, unknown>;
@@ -5266,11 +5266,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5266
5266
  sender: {
5267
5267
  name: string | null;
5268
5268
  id: number;
5269
+ additional_attributes: Record<string, unknown>;
5269
5270
  email: string | null;
5270
5271
  thumbnail: string;
5271
5272
  phone_number: string | null;
5272
5273
  identifier: string | null;
5273
- additional_attributes: Record<string, unknown>;
5274
5274
  custom_attributes: Record<string, unknown>;
5275
5275
  blocked: boolean;
5276
5276
  customer_stage: string;
@@ -5341,11 +5341,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5341
5341
  }, "strip", z.ZodTypeAny, {
5342
5342
  id: number;
5343
5343
  name?: string | null | undefined;
5344
+ additional_attributes?: Record<string, unknown> | undefined;
5344
5345
  email?: string | null | undefined;
5345
5346
  thumbnail?: string | undefined;
5346
5347
  phone_number?: string | null | undefined;
5347
5348
  identifier?: string | null | undefined;
5348
- additional_attributes?: Record<string, unknown> | undefined;
5349
5349
  custom_attributes?: Record<string, unknown> | undefined;
5350
5350
  blocked?: boolean | undefined;
5351
5351
  customer_stage?: string | null | undefined;
@@ -5358,11 +5358,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5358
5358
  }, {
5359
5359
  id: number;
5360
5360
  name?: string | null | undefined;
5361
+ additional_attributes?: Record<string, unknown> | undefined;
5361
5362
  email?: string | null | undefined;
5362
5363
  thumbnail?: string | undefined;
5363
5364
  phone_number?: string | null | undefined;
5364
5365
  identifier?: string | null | undefined;
5365
- additional_attributes?: Record<string, unknown> | undefined;
5366
5366
  custom_attributes?: Record<string, unknown> | undefined;
5367
5367
  blocked?: boolean | undefined;
5368
5368
  customer_stage?: string | null | undefined;
@@ -5387,11 +5387,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5387
5387
  sender: {
5388
5388
  id: number;
5389
5389
  name?: string | null | undefined;
5390
+ additional_attributes?: Record<string, unknown> | undefined;
5390
5391
  email?: string | null | undefined;
5391
5392
  thumbnail?: string | undefined;
5392
5393
  phone_number?: string | null | undefined;
5393
5394
  identifier?: string | null | undefined;
5394
- additional_attributes?: Record<string, unknown> | undefined;
5395
5395
  custom_attributes?: Record<string, unknown> | undefined;
5396
5396
  blocked?: boolean | undefined;
5397
5397
  customer_stage?: string | null | undefined;
@@ -5424,7 +5424,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5424
5424
  inbox_id: number;
5425
5425
  created_at: number;
5426
5426
  updated_at: number;
5427
- priority: string | null;
5428
5427
  additional_attributes: {
5429
5428
  browser?: {
5430
5429
  device_name: string;
@@ -5441,6 +5440,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5441
5440
  } & {
5442
5441
  [k: string]: unknown;
5443
5442
  };
5443
+ priority: string | null;
5444
5444
  custom_attributes: Record<string, unknown>;
5445
5445
  channel: string;
5446
5446
  can_reply: boolean;
@@ -5464,11 +5464,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5464
5464
  id: number;
5465
5465
  type?: string | undefined;
5466
5466
  name?: string | null | undefined;
5467
+ additional_attributes?: Record<string, unknown> | undefined;
5467
5468
  email?: string | null | undefined;
5468
5469
  thumbnail?: string | undefined;
5469
5470
  phone_number?: string | null | undefined;
5470
5471
  identifier?: string | null | undefined;
5471
- additional_attributes?: Record<string, unknown> | undefined;
5472
5472
  custom_attributes?: Record<string, unknown> | undefined;
5473
5473
  blocked?: boolean | undefined;
5474
5474
  customer_stage?: string | null | undefined;
@@ -5485,8 +5485,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5485
5485
  } & {
5486
5486
  [k: string]: unknown;
5487
5487
  };
5488
- conversation_id: number;
5489
5488
  additional_attributes: Record<string, unknown>;
5489
+ conversation_id: number;
5490
5490
  source_id: string | null;
5491
5491
  sender_type: "Contact" | "User" | "AgentBot";
5492
5492
  external_source_ids: Record<string, unknown>;
@@ -5509,11 +5509,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5509
5509
  sender: {
5510
5510
  name: string | null;
5511
5511
  id: number;
5512
+ additional_attributes: Record<string, unknown>;
5512
5513
  email: string | null;
5513
5514
  thumbnail: string;
5514
5515
  phone_number: string | null;
5515
5516
  identifier: string | null;
5516
- additional_attributes: Record<string, unknown>;
5517
5517
  custom_attributes: Record<string, unknown>;
5518
5518
  blocked: boolean;
5519
5519
  customer_stage: string;
@@ -5553,11 +5553,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5553
5553
  sender: {
5554
5554
  id: number;
5555
5555
  name?: string | null | undefined;
5556
+ additional_attributes?: Record<string, unknown> | undefined;
5556
5557
  email?: string | null | undefined;
5557
5558
  thumbnail?: string | undefined;
5558
5559
  phone_number?: string | null | undefined;
5559
5560
  identifier?: string | null | undefined;
5560
- additional_attributes?: Record<string, unknown> | undefined;
5561
5561
  custom_attributes?: Record<string, unknown> | undefined;
5562
5562
  blocked?: boolean | undefined;
5563
5563
  customer_stage?: string | null | undefined;
@@ -5590,7 +5590,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5590
5590
  inbox_id: number;
5591
5591
  created_at: number;
5592
5592
  updated_at: number;
5593
- priority: string | null;
5594
5593
  additional_attributes: {
5595
5594
  browser?: {
5596
5595
  device_name: string;
@@ -5607,6 +5606,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5607
5606
  } & {
5608
5607
  [k: string]: unknown;
5609
5608
  };
5609
+ priority: string | null;
5610
5610
  custom_attributes: Record<string, unknown>;
5611
5611
  channel: string;
5612
5612
  can_reply: boolean;
@@ -5630,11 +5630,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5630
5630
  id: number;
5631
5631
  type?: string | undefined;
5632
5632
  name?: string | null | undefined;
5633
+ additional_attributes?: Record<string, unknown> | undefined;
5633
5634
  email?: string | null | undefined;
5634
5635
  thumbnail?: string | undefined;
5635
5636
  phone_number?: string | null | undefined;
5636
5637
  identifier?: string | null | undefined;
5637
- additional_attributes?: Record<string, unknown> | undefined;
5638
5638
  custom_attributes?: Record<string, unknown> | undefined;
5639
5639
  blocked?: boolean | undefined;
5640
5640
  customer_stage?: string | null | undefined;
@@ -5651,8 +5651,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5651
5651
  } & {
5652
5652
  [k: string]: unknown;
5653
5653
  };
5654
- conversation_id: number;
5655
5654
  additional_attributes: Record<string, unknown>;
5655
+ conversation_id: number;
5656
5656
  source_id: string | null;
5657
5657
  sender_type: "Contact" | "User" | "AgentBot";
5658
5658
  external_source_ids: Record<string, unknown>;
@@ -5675,11 +5675,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5675
5675
  sender: {
5676
5676
  name: string | null;
5677
5677
  id: number;
5678
+ additional_attributes: Record<string, unknown>;
5678
5679
  email: string | null;
5679
5680
  thumbnail: string;
5680
5681
  phone_number: string | null;
5681
5682
  identifier: string | null;
5682
- additional_attributes: Record<string, unknown>;
5683
5683
  custom_attributes: Record<string, unknown>;
5684
5684
  blocked: boolean;
5685
5685
  customer_stage: string;