@voltade/envoy-sdk 1.2.12 → 1.2.13

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.
@@ -6,21 +6,21 @@ export declare const AccountRefSchema: z.ZodObject<{
6
6
  id: z.ZodNumber;
7
7
  name: z.ZodString;
8
8
  }, "strip", z.ZodTypeAny, {
9
- id: number;
10
9
  name: string;
11
- }, {
12
10
  id: number;
11
+ }, {
13
12
  name: string;
13
+ id: number;
14
14
  }>;
15
15
  export declare const InboxRefSchema: z.ZodObject<{
16
16
  id: z.ZodNumber;
17
17
  name: z.ZodString;
18
18
  }, "strip", z.ZodTypeAny, {
19
- id: number;
20
19
  name: string;
21
- }, {
22
20
  id: number;
21
+ }, {
23
22
  name: string;
23
+ id: number;
24
24
  }>;
25
25
  export declare const BrowserInfoSchema: z.ZodObject<{
26
26
  device_name: z.ZodString;
@@ -146,11 +146,11 @@ export declare const WebhookSenderSchema: z.ZodObject<{
146
146
  id: z.ZodNumber;
147
147
  name: z.ZodString;
148
148
  }, "strip", z.ZodTypeAny, {
149
- id: number;
150
149
  name: string;
151
- }, {
152
150
  id: number;
151
+ }, {
153
152
  name: string;
153
+ id: number;
154
154
  }>>;
155
155
  avatar: z.ZodOptional<z.ZodString>;
156
156
  }, "strip", z.ZodTypeAny, {
@@ -166,8 +166,8 @@ export declare const WebhookSenderSchema: z.ZodObject<{
166
166
  customer_stage?: string | null | undefined;
167
167
  customer_stage_explanation?: string | null | undefined;
168
168
  account?: {
169
- id: number;
170
169
  name: string;
170
+ id: number;
171
171
  } | undefined;
172
172
  avatar?: string | undefined;
173
173
  }, {
@@ -183,8 +183,8 @@ export declare const WebhookSenderSchema: z.ZodObject<{
183
183
  customer_stage?: string | null | undefined;
184
184
  customer_stage_explanation?: string | null | undefined;
185
185
  account?: {
186
- id: number;
187
186
  name: string;
187
+ id: number;
188
188
  } | undefined;
189
189
  avatar?: string | undefined;
190
190
  }>;
@@ -237,8 +237,8 @@ export declare const MessageSenderSchema: z.ZodObject<{
237
237
  customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
238
238
  }, "strip", z.ZodTypeAny, {
239
239
  id: number;
240
- type?: string | undefined;
241
240
  name?: string | null | undefined;
241
+ type?: string | undefined;
242
242
  email?: string | null | undefined;
243
243
  thumbnail?: string | undefined;
244
244
  phone_number?: string | null | undefined;
@@ -250,8 +250,8 @@ export declare const MessageSenderSchema: z.ZodObject<{
250
250
  customer_stage_explanation?: string | null | undefined;
251
251
  }, {
252
252
  id: number;
253
- type?: string | undefined;
254
253
  name?: string | null | undefined;
254
+ type?: string | undefined;
255
255
  email?: string | null | undefined;
256
256
  thumbnail?: string | undefined;
257
257
  phone_number?: string | null | undefined;
@@ -334,8 +334,8 @@ export declare const WebhookMessageSchema: z.ZodObject<{
334
334
  customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
335
335
  }, "strip", z.ZodTypeAny, {
336
336
  id: number;
337
- type?: string | undefined;
338
337
  name?: string | null | undefined;
338
+ type?: string | undefined;
339
339
  email?: string | null | undefined;
340
340
  thumbnail?: string | undefined;
341
341
  phone_number?: string | null | undefined;
@@ -347,8 +347,8 @@ export declare const WebhookMessageSchema: z.ZodObject<{
347
347
  customer_stage_explanation?: string | null | undefined;
348
348
  }, {
349
349
  id: number;
350
- type?: string | undefined;
351
350
  name?: string | null | undefined;
351
+ type?: string | undefined;
352
352
  email?: string | null | undefined;
353
353
  thumbnail?: string | undefined;
354
354
  phone_number?: string | null | undefined;
@@ -375,8 +375,8 @@ export declare const WebhookMessageSchema: z.ZodObject<{
375
375
  conversation_id: number;
376
376
  sender: {
377
377
  id: number;
378
- type?: string | undefined;
379
378
  name?: string | null | undefined;
379
+ type?: string | undefined;
380
380
  email?: string | null | undefined;
381
381
  thumbnail?: string | undefined;
382
382
  phone_number?: string | null | undefined;
@@ -425,8 +425,8 @@ export declare const WebhookMessageSchema: z.ZodObject<{
425
425
  conversation_id: number;
426
426
  sender: {
427
427
  id: number;
428
- type?: string | undefined;
429
428
  name?: string | null | undefined;
429
+ type?: string | undefined;
430
430
  email?: string | null | undefined;
431
431
  thumbnail?: string | undefined;
432
432
  phone_number?: string | null | undefined;
@@ -475,8 +475,8 @@ export declare const WebhookConversationMetaSchema: z.ZodObject<{
475
475
  customer_stage_explanation: z.ZodNullable<z.ZodString>;
476
476
  type: z.ZodOptional<z.ZodString>;
477
477
  }, "strip", z.ZodTypeAny, {
478
- id: number;
479
478
  name: string | null;
479
+ id: number;
480
480
  email: string | null;
481
481
  thumbnail: string;
482
482
  phone_number: string | null;
@@ -488,8 +488,8 @@ export declare const WebhookConversationMetaSchema: z.ZodObject<{
488
488
  customer_stage_explanation: string | null;
489
489
  type?: string | undefined;
490
490
  }, {
491
- id: number;
492
491
  name: string | null;
492
+ id: number;
493
493
  email: string | null;
494
494
  thumbnail: string;
495
495
  phone_number: string | null;
@@ -506,20 +506,20 @@ export declare const WebhookConversationMetaSchema: z.ZodObject<{
506
506
  name: z.ZodString;
507
507
  email: z.ZodString;
508
508
  }, "strip", z.ZodTypeAny, {
509
- id: number;
510
509
  name: string;
510
+ id: number;
511
511
  email: string;
512
512
  }, {
513
- id: number;
514
513
  name: string;
514
+ id: number;
515
515
  email: string;
516
516
  }>>;
517
517
  team: z.ZodNullable<z.ZodUnknown>;
518
518
  hmac_verified: z.ZodBoolean;
519
519
  }, "strip", z.ZodTypeAny, {
520
520
  sender: {
521
- id: number;
522
521
  name: string | null;
522
+ id: number;
523
523
  email: string | null;
524
524
  thumbnail: string;
525
525
  phone_number: string | null;
@@ -533,15 +533,15 @@ export declare const WebhookConversationMetaSchema: z.ZodObject<{
533
533
  };
534
534
  hmac_verified: boolean;
535
535
  assignee: {
536
- id: number;
537
536
  name: string;
537
+ id: number;
538
538
  email: string;
539
539
  } | null;
540
540
  team?: unknown;
541
541
  }, {
542
542
  sender: {
543
- id: number;
544
543
  name: string | null;
544
+ id: number;
545
545
  email: string | null;
546
546
  thumbnail: string;
547
547
  phone_number: string | null;
@@ -555,8 +555,8 @@ export declare const WebhookConversationMetaSchema: z.ZodObject<{
555
555
  };
556
556
  hmac_verified: boolean;
557
557
  assignee: {
558
- id: number;
559
558
  name: string;
559
+ id: number;
560
560
  email: string;
561
561
  } | null;
562
562
  team?: unknown;
@@ -754,8 +754,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
754
754
  customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
755
755
  }, "strip", z.ZodTypeAny, {
756
756
  id: number;
757
- type?: string | undefined;
758
757
  name?: string | null | undefined;
758
+ type?: string | undefined;
759
759
  email?: string | null | undefined;
760
760
  thumbnail?: string | undefined;
761
761
  phone_number?: string | null | undefined;
@@ -767,8 +767,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
767
767
  customer_stage_explanation?: string | null | undefined;
768
768
  }, {
769
769
  id: number;
770
- type?: string | undefined;
771
770
  name?: string | null | undefined;
771
+ type?: string | undefined;
772
772
  email?: string | null | undefined;
773
773
  thumbnail?: string | undefined;
774
774
  phone_number?: string | null | undefined;
@@ -795,8 +795,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
795
795
  conversation_id: number;
796
796
  sender: {
797
797
  id: number;
798
- type?: string | undefined;
799
798
  name?: string | null | undefined;
799
+ type?: string | undefined;
800
800
  email?: string | null | undefined;
801
801
  thumbnail?: string | undefined;
802
802
  phone_number?: string | null | undefined;
@@ -845,8 +845,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
845
845
  conversation_id: number;
846
846
  sender: {
847
847
  id: number;
848
- type?: string | undefined;
849
848
  name?: string | null | undefined;
849
+ type?: string | undefined;
850
850
  email?: string | null | undefined;
851
851
  thumbnail?: string | undefined;
852
852
  phone_number?: string | null | undefined;
@@ -896,8 +896,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
896
896
  customer_stage_explanation: z.ZodNullable<z.ZodString>;
897
897
  type: z.ZodOptional<z.ZodString>;
898
898
  }, "strip", z.ZodTypeAny, {
899
- id: number;
900
899
  name: string | null;
900
+ id: number;
901
901
  email: string | null;
902
902
  thumbnail: string;
903
903
  phone_number: string | null;
@@ -909,8 +909,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
909
909
  customer_stage_explanation: string | null;
910
910
  type?: string | undefined;
911
911
  }, {
912
- id: number;
913
912
  name: string | null;
913
+ id: number;
914
914
  email: string | null;
915
915
  thumbnail: string;
916
916
  phone_number: string | null;
@@ -927,20 +927,20 @@ export declare const WebhookConversationSchema: z.ZodObject<{
927
927
  name: z.ZodString;
928
928
  email: z.ZodString;
929
929
  }, "strip", z.ZodTypeAny, {
930
- id: number;
931
930
  name: string;
931
+ id: number;
932
932
  email: string;
933
933
  }, {
934
- id: number;
935
934
  name: string;
935
+ id: number;
936
936
  email: string;
937
937
  }>>;
938
938
  team: z.ZodNullable<z.ZodUnknown>;
939
939
  hmac_verified: z.ZodBoolean;
940
940
  }, "strip", z.ZodTypeAny, {
941
941
  sender: {
942
- id: number;
943
942
  name: string | null;
943
+ id: number;
944
944
  email: string | null;
945
945
  thumbnail: string;
946
946
  phone_number: string | null;
@@ -954,15 +954,15 @@ export declare const WebhookConversationSchema: z.ZodObject<{
954
954
  };
955
955
  hmac_verified: boolean;
956
956
  assignee: {
957
- id: number;
958
957
  name: string;
958
+ id: number;
959
959
  email: string;
960
960
  } | null;
961
961
  team?: unknown;
962
962
  }, {
963
963
  sender: {
964
- id: number;
965
964
  name: string | null;
965
+ id: number;
966
966
  email: string | null;
967
967
  thumbnail: string;
968
968
  phone_number: string | null;
@@ -976,8 +976,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
976
976
  };
977
977
  hmac_verified: boolean;
978
978
  assignee: {
979
- id: number;
980
979
  name: string;
980
+ id: number;
981
981
  email: string;
982
982
  } | null;
983
983
  team?: unknown;
@@ -1051,8 +1051,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1051
1051
  conversation_id: number;
1052
1052
  sender: {
1053
1053
  id: number;
1054
- type?: string | undefined;
1055
1054
  name?: string | null | undefined;
1055
+ type?: string | undefined;
1056
1056
  email?: string | null | undefined;
1057
1057
  thumbnail?: string | undefined;
1058
1058
  phone_number?: string | null | undefined;
@@ -1088,8 +1088,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1088
1088
  }[];
1089
1089
  meta: {
1090
1090
  sender: {
1091
- id: number;
1092
1091
  name: string | null;
1092
+ id: number;
1093
1093
  email: string | null;
1094
1094
  thumbnail: string;
1095
1095
  phone_number: string | null;
@@ -1103,8 +1103,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1103
1103
  };
1104
1104
  hmac_verified: boolean;
1105
1105
  assignee: {
1106
- id: number;
1107
1106
  name: string;
1107
+ id: number;
1108
1108
  email: string;
1109
1109
  } | null;
1110
1110
  team?: unknown;
@@ -1174,8 +1174,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1174
1174
  conversation_id: number;
1175
1175
  sender: {
1176
1176
  id: number;
1177
- type?: string | undefined;
1178
1177
  name?: string | null | undefined;
1178
+ type?: string | undefined;
1179
1179
  email?: string | null | undefined;
1180
1180
  thumbnail?: string | undefined;
1181
1181
  phone_number?: string | null | undefined;
@@ -1211,8 +1211,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1211
1211
  }[];
1212
1212
  meta: {
1213
1213
  sender: {
1214
- id: number;
1215
1214
  name: string | null;
1215
+ id: number;
1216
1216
  email: string | null;
1217
1217
  thumbnail: string;
1218
1218
  phone_number: string | null;
@@ -1226,8 +1226,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1226
1226
  };
1227
1227
  hmac_verified: boolean;
1228
1228
  assignee: {
1229
- id: number;
1230
1229
  name: string;
1230
+ id: number;
1231
1231
  email: string;
1232
1232
  } | null;
1233
1233
  team?: unknown;
@@ -1251,11 +1251,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1251
1251
  id: z.ZodNumber;
1252
1252
  name: z.ZodString;
1253
1253
  }, "strip", z.ZodTypeAny, {
1254
- id: number;
1255
1254
  name: string;
1256
- }, {
1257
1255
  id: number;
1256
+ }, {
1258
1257
  name: string;
1258
+ id: number;
1259
1259
  }>;
1260
1260
  additional_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1261
1261
  content_attributes: z.ZodObject<{
@@ -1460,8 +1460,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1460
1460
  customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1461
1461
  }, "strip", z.ZodTypeAny, {
1462
1462
  id: number;
1463
- type?: string | undefined;
1464
1463
  name?: string | null | undefined;
1464
+ type?: string | undefined;
1465
1465
  email?: string | null | undefined;
1466
1466
  thumbnail?: string | undefined;
1467
1467
  phone_number?: string | null | undefined;
@@ -1473,8 +1473,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1473
1473
  customer_stage_explanation?: string | null | undefined;
1474
1474
  }, {
1475
1475
  id: number;
1476
- type?: string | undefined;
1477
1476
  name?: string | null | undefined;
1477
+ type?: string | undefined;
1478
1478
  email?: string | null | undefined;
1479
1479
  thumbnail?: string | undefined;
1480
1480
  phone_number?: string | null | undefined;
@@ -1501,8 +1501,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1501
1501
  conversation_id: number;
1502
1502
  sender: {
1503
1503
  id: number;
1504
- type?: string | undefined;
1505
1504
  name?: string | null | undefined;
1505
+ type?: string | undefined;
1506
1506
  email?: string | null | undefined;
1507
1507
  thumbnail?: string | undefined;
1508
1508
  phone_number?: string | null | undefined;
@@ -1551,8 +1551,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1551
1551
  conversation_id: number;
1552
1552
  sender: {
1553
1553
  id: number;
1554
- type?: string | undefined;
1555
1554
  name?: string | null | undefined;
1555
+ type?: string | undefined;
1556
1556
  email?: string | null | undefined;
1557
1557
  thumbnail?: string | undefined;
1558
1558
  phone_number?: string | null | undefined;
@@ -1602,8 +1602,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1602
1602
  customer_stage_explanation: z.ZodNullable<z.ZodString>;
1603
1603
  type: z.ZodOptional<z.ZodString>;
1604
1604
  }, "strip", z.ZodTypeAny, {
1605
- id: number;
1606
1605
  name: string | null;
1606
+ id: number;
1607
1607
  email: string | null;
1608
1608
  thumbnail: string;
1609
1609
  phone_number: string | null;
@@ -1615,8 +1615,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1615
1615
  customer_stage_explanation: string | null;
1616
1616
  type?: string | undefined;
1617
1617
  }, {
1618
- id: number;
1619
1618
  name: string | null;
1619
+ id: number;
1620
1620
  email: string | null;
1621
1621
  thumbnail: string;
1622
1622
  phone_number: string | null;
@@ -1633,20 +1633,20 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1633
1633
  name: z.ZodString;
1634
1634
  email: z.ZodString;
1635
1635
  }, "strip", z.ZodTypeAny, {
1636
- id: number;
1637
1636
  name: string;
1637
+ id: number;
1638
1638
  email: string;
1639
1639
  }, {
1640
- id: number;
1641
1640
  name: string;
1641
+ id: number;
1642
1642
  email: string;
1643
1643
  }>>;
1644
1644
  team: z.ZodNullable<z.ZodUnknown>;
1645
1645
  hmac_verified: z.ZodBoolean;
1646
1646
  }, "strip", z.ZodTypeAny, {
1647
1647
  sender: {
1648
- id: number;
1649
1648
  name: string | null;
1649
+ id: number;
1650
1650
  email: string | null;
1651
1651
  thumbnail: string;
1652
1652
  phone_number: string | null;
@@ -1660,15 +1660,15 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1660
1660
  };
1661
1661
  hmac_verified: boolean;
1662
1662
  assignee: {
1663
- id: number;
1664
1663
  name: string;
1664
+ id: number;
1665
1665
  email: string;
1666
1666
  } | null;
1667
1667
  team?: unknown;
1668
1668
  }, {
1669
1669
  sender: {
1670
- id: number;
1671
1670
  name: string | null;
1671
+ id: number;
1672
1672
  email: string | null;
1673
1673
  thumbnail: string;
1674
1674
  phone_number: string | null;
@@ -1682,8 +1682,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1682
1682
  };
1683
1683
  hmac_verified: boolean;
1684
1684
  assignee: {
1685
- id: number;
1686
1685
  name: string;
1686
+ id: number;
1687
1687
  email: string;
1688
1688
  } | null;
1689
1689
  team?: unknown;
@@ -1757,8 +1757,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1757
1757
  conversation_id: number;
1758
1758
  sender: {
1759
1759
  id: number;
1760
- type?: string | undefined;
1761
1760
  name?: string | null | undefined;
1761
+ type?: string | undefined;
1762
1762
  email?: string | null | undefined;
1763
1763
  thumbnail?: string | undefined;
1764
1764
  phone_number?: string | null | undefined;
@@ -1794,8 +1794,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1794
1794
  }[];
1795
1795
  meta: {
1796
1796
  sender: {
1797
- id: number;
1798
1797
  name: string | null;
1798
+ id: number;
1799
1799
  email: string | null;
1800
1800
  thumbnail: string;
1801
1801
  phone_number: string | null;
@@ -1809,8 +1809,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1809
1809
  };
1810
1810
  hmac_verified: boolean;
1811
1811
  assignee: {
1812
- id: number;
1813
1812
  name: string;
1813
+ id: number;
1814
1814
  email: string;
1815
1815
  } | null;
1816
1816
  team?: unknown;
@@ -1880,8 +1880,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1880
1880
  conversation_id: number;
1881
1881
  sender: {
1882
1882
  id: number;
1883
- type?: string | undefined;
1884
1883
  name?: string | null | undefined;
1884
+ type?: string | undefined;
1885
1885
  email?: string | null | undefined;
1886
1886
  thumbnail?: string | undefined;
1887
1887
  phone_number?: string | null | undefined;
@@ -1917,8 +1917,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1917
1917
  }[];
1918
1918
  meta: {
1919
1919
  sender: {
1920
- id: number;
1921
1920
  name: string | null;
1921
+ id: number;
1922
1922
  email: string | null;
1923
1923
  thumbnail: string;
1924
1924
  phone_number: string | null;
@@ -1932,8 +1932,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1932
1932
  };
1933
1933
  hmac_verified: boolean;
1934
1934
  assignee: {
1935
- id: number;
1936
1935
  name: string;
1936
+ id: number;
1937
1937
  email: string;
1938
1938
  } | null;
1939
1939
  team?: unknown;
@@ -1958,11 +1958,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1958
1958
  id: z.ZodNumber;
1959
1959
  name: z.ZodString;
1960
1960
  }, "strip", z.ZodTypeAny, {
1961
- id: number;
1962
1961
  name: string;
1963
- }, {
1964
1962
  id: number;
1963
+ }, {
1965
1964
  name: string;
1965
+ id: number;
1966
1966
  }>;
1967
1967
  message_type: z.ZodEnum<["incoming", "outgoing"]>;
1968
1968
  private: z.ZodBoolean;
@@ -1984,11 +1984,11 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1984
1984
  id: z.ZodNumber;
1985
1985
  name: z.ZodString;
1986
1986
  }, "strip", z.ZodTypeAny, {
1987
- id: number;
1988
1987
  name: string;
1989
- }, {
1990
1988
  id: number;
1989
+ }, {
1991
1990
  name: string;
1991
+ id: number;
1992
1992
  }>>;
1993
1993
  avatar: z.ZodOptional<z.ZodString>;
1994
1994
  }, "strip", z.ZodTypeAny, {
@@ -2004,8 +2004,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2004
2004
  customer_stage?: string | null | undefined;
2005
2005
  customer_stage_explanation?: string | null | undefined;
2006
2006
  account?: {
2007
- id: number;
2008
2007
  name: string;
2008
+ id: number;
2009
2009
  } | undefined;
2010
2010
  avatar?: string | undefined;
2011
2011
  }, {
@@ -2021,8 +2021,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2021
2021
  customer_stage?: string | null | undefined;
2022
2022
  customer_stage_explanation?: string | null | undefined;
2023
2023
  account?: {
2024
- id: number;
2025
2024
  name: string;
2025
+ id: number;
2026
2026
  } | undefined;
2027
2027
  avatar?: string | undefined;
2028
2028
  }>;
@@ -2055,16 +2055,16 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2055
2055
  customer_stage?: string | null | undefined;
2056
2056
  customer_stage_explanation?: string | null | undefined;
2057
2057
  account?: {
2058
- id: number;
2059
2058
  name: string;
2059
+ id: number;
2060
2060
  } | undefined;
2061
2061
  avatar?: string | undefined;
2062
2062
  };
2063
2063
  additional_attributes: Record<string, unknown>;
2064
2064
  source_id: string | null;
2065
2065
  account: {
2066
- id: number;
2067
2066
  name: string;
2067
+ id: number;
2068
2068
  };
2069
2069
  conversation: {
2070
2070
  status: "open" | "resolved" | "pending" | "snoozed";
@@ -2118,8 +2118,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2118
2118
  conversation_id: number;
2119
2119
  sender: {
2120
2120
  id: number;
2121
- type?: string | undefined;
2122
2121
  name?: string | null | undefined;
2122
+ type?: string | undefined;
2123
2123
  email?: string | null | undefined;
2124
2124
  thumbnail?: string | undefined;
2125
2125
  phone_number?: string | null | undefined;
@@ -2155,8 +2155,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2155
2155
  }[];
2156
2156
  meta: {
2157
2157
  sender: {
2158
- id: number;
2159
2158
  name: string | null;
2159
+ id: number;
2160
2160
  email: string | null;
2161
2161
  thumbnail: string;
2162
2162
  phone_number: string | null;
@@ -2170,8 +2170,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2170
2170
  };
2171
2171
  hmac_verified: boolean;
2172
2172
  assignee: {
2173
- id: number;
2174
2173
  name: string;
2174
+ id: number;
2175
2175
  email: string;
2176
2176
  } | null;
2177
2177
  team?: unknown;
@@ -2191,8 +2191,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2191
2191
  timestamp: number;
2192
2192
  };
2193
2193
  inbox: {
2194
- id: number;
2195
2194
  name: string;
2195
+ id: number;
2196
2196
  };
2197
2197
  event: "message_created";
2198
2198
  }, {
@@ -2221,16 +2221,16 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2221
2221
  customer_stage?: string | null | undefined;
2222
2222
  customer_stage_explanation?: string | null | undefined;
2223
2223
  account?: {
2224
- id: number;
2225
2224
  name: string;
2225
+ id: number;
2226
2226
  } | undefined;
2227
2227
  avatar?: string | undefined;
2228
2228
  };
2229
2229
  additional_attributes: Record<string, unknown>;
2230
2230
  source_id: string | null;
2231
2231
  account: {
2232
- id: number;
2233
2232
  name: string;
2233
+ id: number;
2234
2234
  };
2235
2235
  conversation: {
2236
2236
  status: "open" | "resolved" | "pending" | "snoozed";
@@ -2284,8 +2284,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2284
2284
  conversation_id: number;
2285
2285
  sender: {
2286
2286
  id: number;
2287
- type?: string | undefined;
2288
2287
  name?: string | null | undefined;
2288
+ type?: string | undefined;
2289
2289
  email?: string | null | undefined;
2290
2290
  thumbnail?: string | undefined;
2291
2291
  phone_number?: string | null | undefined;
@@ -2321,8 +2321,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2321
2321
  }[];
2322
2322
  meta: {
2323
2323
  sender: {
2324
- id: number;
2325
2324
  name: string | null;
2325
+ id: number;
2326
2326
  email: string | null;
2327
2327
  thumbnail: string;
2328
2328
  phone_number: string | null;
@@ -2336,8 +2336,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2336
2336
  };
2337
2337
  hmac_verified: boolean;
2338
2338
  assignee: {
2339
- id: number;
2340
2339
  name: string;
2340
+ id: number;
2341
2341
  email: string;
2342
2342
  } | null;
2343
2343
  team?: unknown;
@@ -2357,8 +2357,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2357
2357
  timestamp: number;
2358
2358
  };
2359
2359
  inbox: {
2360
- id: number;
2361
2360
  name: string;
2361
+ id: number;
2362
2362
  };
2363
2363
  event: "message_created";
2364
2364
  }>;
@@ -2367,11 +2367,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2367
2367
  id: z.ZodNumber;
2368
2368
  name: z.ZodString;
2369
2369
  }, "strip", z.ZodTypeAny, {
2370
- id: number;
2371
2370
  name: string;
2372
- }, {
2373
2371
  id: number;
2372
+ }, {
2374
2373
  name: string;
2374
+ id: number;
2375
2375
  }>;
2376
2376
  additional_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2377
2377
  content_attributes: z.ZodObject<{
@@ -2576,8 +2576,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2576
2576
  customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2577
2577
  }, "strip", z.ZodTypeAny, {
2578
2578
  id: number;
2579
- type?: string | undefined;
2580
2579
  name?: string | null | undefined;
2580
+ type?: string | undefined;
2581
2581
  email?: string | null | undefined;
2582
2582
  thumbnail?: string | undefined;
2583
2583
  phone_number?: string | null | undefined;
@@ -2589,8 +2589,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2589
2589
  customer_stage_explanation?: string | null | undefined;
2590
2590
  }, {
2591
2591
  id: number;
2592
- type?: string | undefined;
2593
2592
  name?: string | null | undefined;
2593
+ type?: string | undefined;
2594
2594
  email?: string | null | undefined;
2595
2595
  thumbnail?: string | undefined;
2596
2596
  phone_number?: string | null | undefined;
@@ -2617,8 +2617,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2617
2617
  conversation_id: number;
2618
2618
  sender: {
2619
2619
  id: number;
2620
- type?: string | undefined;
2621
2620
  name?: string | null | undefined;
2621
+ type?: string | undefined;
2622
2622
  email?: string | null | undefined;
2623
2623
  thumbnail?: string | undefined;
2624
2624
  phone_number?: string | null | undefined;
@@ -2667,8 +2667,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2667
2667
  conversation_id: number;
2668
2668
  sender: {
2669
2669
  id: number;
2670
- type?: string | undefined;
2671
2670
  name?: string | null | undefined;
2671
+ type?: string | undefined;
2672
2672
  email?: string | null | undefined;
2673
2673
  thumbnail?: string | undefined;
2674
2674
  phone_number?: string | null | undefined;
@@ -2718,8 +2718,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2718
2718
  customer_stage_explanation: z.ZodNullable<z.ZodString>;
2719
2719
  type: z.ZodOptional<z.ZodString>;
2720
2720
  }, "strip", z.ZodTypeAny, {
2721
- id: number;
2722
2721
  name: string | null;
2722
+ id: number;
2723
2723
  email: string | null;
2724
2724
  thumbnail: string;
2725
2725
  phone_number: string | null;
@@ -2731,8 +2731,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2731
2731
  customer_stage_explanation: string | null;
2732
2732
  type?: string | undefined;
2733
2733
  }, {
2734
- id: number;
2735
2734
  name: string | null;
2735
+ id: number;
2736
2736
  email: string | null;
2737
2737
  thumbnail: string;
2738
2738
  phone_number: string | null;
@@ -2749,20 +2749,20 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2749
2749
  name: z.ZodString;
2750
2750
  email: z.ZodString;
2751
2751
  }, "strip", z.ZodTypeAny, {
2752
- id: number;
2753
2752
  name: string;
2753
+ id: number;
2754
2754
  email: string;
2755
2755
  }, {
2756
- id: number;
2757
2756
  name: string;
2757
+ id: number;
2758
2758
  email: string;
2759
2759
  }>>;
2760
2760
  team: z.ZodNullable<z.ZodUnknown>;
2761
2761
  hmac_verified: z.ZodBoolean;
2762
2762
  }, "strip", z.ZodTypeAny, {
2763
2763
  sender: {
2764
- id: number;
2765
2764
  name: string | null;
2765
+ id: number;
2766
2766
  email: string | null;
2767
2767
  thumbnail: string;
2768
2768
  phone_number: string | null;
@@ -2776,15 +2776,15 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2776
2776
  };
2777
2777
  hmac_verified: boolean;
2778
2778
  assignee: {
2779
- id: number;
2780
2779
  name: string;
2780
+ id: number;
2781
2781
  email: string;
2782
2782
  } | null;
2783
2783
  team?: unknown;
2784
2784
  }, {
2785
2785
  sender: {
2786
- id: number;
2787
2786
  name: string | null;
2787
+ id: number;
2788
2788
  email: string | null;
2789
2789
  thumbnail: string;
2790
2790
  phone_number: string | null;
@@ -2798,8 +2798,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2798
2798
  };
2799
2799
  hmac_verified: boolean;
2800
2800
  assignee: {
2801
- id: number;
2802
2801
  name: string;
2802
+ id: number;
2803
2803
  email: string;
2804
2804
  } | null;
2805
2805
  team?: unknown;
@@ -2873,8 +2873,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2873
2873
  conversation_id: number;
2874
2874
  sender: {
2875
2875
  id: number;
2876
- type?: string | undefined;
2877
2876
  name?: string | null | undefined;
2877
+ type?: string | undefined;
2878
2878
  email?: string | null | undefined;
2879
2879
  thumbnail?: string | undefined;
2880
2880
  phone_number?: string | null | undefined;
@@ -2910,8 +2910,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2910
2910
  }[];
2911
2911
  meta: {
2912
2912
  sender: {
2913
- id: number;
2914
2913
  name: string | null;
2914
+ id: number;
2915
2915
  email: string | null;
2916
2916
  thumbnail: string;
2917
2917
  phone_number: string | null;
@@ -2925,8 +2925,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2925
2925
  };
2926
2926
  hmac_verified: boolean;
2927
2927
  assignee: {
2928
- id: number;
2929
2928
  name: string;
2929
+ id: number;
2930
2930
  email: string;
2931
2931
  } | null;
2932
2932
  team?: unknown;
@@ -2996,8 +2996,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2996
2996
  conversation_id: number;
2997
2997
  sender: {
2998
2998
  id: number;
2999
- type?: string | undefined;
3000
2999
  name?: string | null | undefined;
3000
+ type?: string | undefined;
3001
3001
  email?: string | null | undefined;
3002
3002
  thumbnail?: string | undefined;
3003
3003
  phone_number?: string | null | undefined;
@@ -3033,8 +3033,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3033
3033
  }[];
3034
3034
  meta: {
3035
3035
  sender: {
3036
- id: number;
3037
3036
  name: string | null;
3037
+ id: number;
3038
3038
  email: string | null;
3039
3039
  thumbnail: string;
3040
3040
  phone_number: string | null;
@@ -3048,8 +3048,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3048
3048
  };
3049
3049
  hmac_verified: boolean;
3050
3050
  assignee: {
3051
- id: number;
3052
3051
  name: string;
3052
+ id: number;
3053
3053
  email: string;
3054
3054
  } | null;
3055
3055
  team?: unknown;
@@ -3074,11 +3074,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3074
3074
  id: z.ZodNumber;
3075
3075
  name: z.ZodString;
3076
3076
  }, "strip", z.ZodTypeAny, {
3077
- id: number;
3078
3077
  name: string;
3079
- }, {
3080
3078
  id: number;
3079
+ }, {
3081
3080
  name: string;
3081
+ id: number;
3082
3082
  }>;
3083
3083
  message_type: z.ZodEnum<["incoming", "outgoing"]>;
3084
3084
  private: z.ZodBoolean;
@@ -3100,11 +3100,11 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3100
3100
  id: z.ZodNumber;
3101
3101
  name: z.ZodString;
3102
3102
  }, "strip", z.ZodTypeAny, {
3103
- id: number;
3104
3103
  name: string;
3105
- }, {
3106
3104
  id: number;
3105
+ }, {
3107
3106
  name: string;
3107
+ id: number;
3108
3108
  }>>;
3109
3109
  avatar: z.ZodOptional<z.ZodString>;
3110
3110
  }, "strip", z.ZodTypeAny, {
@@ -3120,8 +3120,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3120
3120
  customer_stage?: string | null | undefined;
3121
3121
  customer_stage_explanation?: string | null | undefined;
3122
3122
  account?: {
3123
- id: number;
3124
3123
  name: string;
3124
+ id: number;
3125
3125
  } | undefined;
3126
3126
  avatar?: string | undefined;
3127
3127
  }, {
@@ -3137,8 +3137,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3137
3137
  customer_stage?: string | null | undefined;
3138
3138
  customer_stage_explanation?: string | null | undefined;
3139
3139
  account?: {
3140
- id: number;
3141
3140
  name: string;
3141
+ id: number;
3142
3142
  } | undefined;
3143
3143
  avatar?: string | undefined;
3144
3144
  }>;
@@ -3171,16 +3171,16 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3171
3171
  customer_stage?: string | null | undefined;
3172
3172
  customer_stage_explanation?: string | null | undefined;
3173
3173
  account?: {
3174
- id: number;
3175
3174
  name: string;
3175
+ id: number;
3176
3176
  } | undefined;
3177
3177
  avatar?: string | undefined;
3178
3178
  };
3179
3179
  additional_attributes: Record<string, unknown>;
3180
3180
  source_id: string | null;
3181
3181
  account: {
3182
- id: number;
3183
3182
  name: string;
3183
+ id: number;
3184
3184
  };
3185
3185
  conversation: {
3186
3186
  status: "open" | "resolved" | "pending" | "snoozed";
@@ -3234,8 +3234,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3234
3234
  conversation_id: number;
3235
3235
  sender: {
3236
3236
  id: number;
3237
- type?: string | undefined;
3238
3237
  name?: string | null | undefined;
3238
+ type?: string | undefined;
3239
3239
  email?: string | null | undefined;
3240
3240
  thumbnail?: string | undefined;
3241
3241
  phone_number?: string | null | undefined;
@@ -3271,8 +3271,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3271
3271
  }[];
3272
3272
  meta: {
3273
3273
  sender: {
3274
- id: number;
3275
3274
  name: string | null;
3275
+ id: number;
3276
3276
  email: string | null;
3277
3277
  thumbnail: string;
3278
3278
  phone_number: string | null;
@@ -3286,8 +3286,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3286
3286
  };
3287
3287
  hmac_verified: boolean;
3288
3288
  assignee: {
3289
- id: number;
3290
3289
  name: string;
3290
+ id: number;
3291
3291
  email: string;
3292
3292
  } | null;
3293
3293
  team?: unknown;
@@ -3307,8 +3307,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3307
3307
  timestamp: number;
3308
3308
  };
3309
3309
  inbox: {
3310
- id: number;
3311
3310
  name: string;
3311
+ id: number;
3312
3312
  };
3313
3313
  event: "message_updated";
3314
3314
  }, {
@@ -3337,16 +3337,16 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3337
3337
  customer_stage?: string | null | undefined;
3338
3338
  customer_stage_explanation?: string | null | undefined;
3339
3339
  account?: {
3340
- id: number;
3341
3340
  name: string;
3341
+ id: number;
3342
3342
  } | undefined;
3343
3343
  avatar?: string | undefined;
3344
3344
  };
3345
3345
  additional_attributes: Record<string, unknown>;
3346
3346
  source_id: string | null;
3347
3347
  account: {
3348
- id: number;
3349
3348
  name: string;
3349
+ id: number;
3350
3350
  };
3351
3351
  conversation: {
3352
3352
  status: "open" | "resolved" | "pending" | "snoozed";
@@ -3400,8 +3400,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3400
3400
  conversation_id: number;
3401
3401
  sender: {
3402
3402
  id: number;
3403
- type?: string | undefined;
3404
3403
  name?: string | null | undefined;
3404
+ type?: string | undefined;
3405
3405
  email?: string | null | undefined;
3406
3406
  thumbnail?: string | undefined;
3407
3407
  phone_number?: string | null | undefined;
@@ -3437,8 +3437,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3437
3437
  }[];
3438
3438
  meta: {
3439
3439
  sender: {
3440
- id: number;
3441
3440
  name: string | null;
3441
+ id: number;
3442
3442
  email: string | null;
3443
3443
  thumbnail: string;
3444
3444
  phone_number: string | null;
@@ -3452,8 +3452,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3452
3452
  };
3453
3453
  hmac_verified: boolean;
3454
3454
  assignee: {
3455
- id: number;
3456
3455
  name: string;
3456
+ id: number;
3457
3457
  email: string;
3458
3458
  } | null;
3459
3459
  team?: unknown;
@@ -3473,8 +3473,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3473
3473
  timestamp: number;
3474
3474
  };
3475
3475
  inbox: {
3476
- id: number;
3477
3476
  name: string;
3477
+ id: number;
3478
3478
  };
3479
3479
  event: "message_updated";
3480
3480
  }>;
@@ -3483,11 +3483,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3483
3483
  id: z.ZodNumber;
3484
3484
  name: z.ZodString;
3485
3485
  }, "strip", z.ZodTypeAny, {
3486
- id: number;
3487
3486
  name: string;
3488
- }, {
3489
3487
  id: number;
3488
+ }, {
3490
3489
  name: string;
3490
+ id: number;
3491
3491
  }>;
3492
3492
  additional_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3493
3493
  content_attributes: z.ZodObject<{
@@ -3692,8 +3692,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3692
3692
  customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3693
3693
  }, "strip", z.ZodTypeAny, {
3694
3694
  id: number;
3695
- type?: string | undefined;
3696
3695
  name?: string | null | undefined;
3696
+ type?: string | undefined;
3697
3697
  email?: string | null | undefined;
3698
3698
  thumbnail?: string | undefined;
3699
3699
  phone_number?: string | null | undefined;
@@ -3705,8 +3705,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3705
3705
  customer_stage_explanation?: string | null | undefined;
3706
3706
  }, {
3707
3707
  id: number;
3708
- type?: string | undefined;
3709
3708
  name?: string | null | undefined;
3709
+ type?: string | undefined;
3710
3710
  email?: string | null | undefined;
3711
3711
  thumbnail?: string | undefined;
3712
3712
  phone_number?: string | null | undefined;
@@ -3733,8 +3733,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3733
3733
  conversation_id: number;
3734
3734
  sender: {
3735
3735
  id: number;
3736
- type?: string | undefined;
3737
3736
  name?: string | null | undefined;
3737
+ type?: string | undefined;
3738
3738
  email?: string | null | undefined;
3739
3739
  thumbnail?: string | undefined;
3740
3740
  phone_number?: string | null | undefined;
@@ -3783,8 +3783,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3783
3783
  conversation_id: number;
3784
3784
  sender: {
3785
3785
  id: number;
3786
- type?: string | undefined;
3787
3786
  name?: string | null | undefined;
3787
+ type?: string | undefined;
3788
3788
  email?: string | null | undefined;
3789
3789
  thumbnail?: string | undefined;
3790
3790
  phone_number?: string | null | undefined;
@@ -3834,8 +3834,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3834
3834
  customer_stage_explanation: z.ZodNullable<z.ZodString>;
3835
3835
  type: z.ZodOptional<z.ZodString>;
3836
3836
  }, "strip", z.ZodTypeAny, {
3837
- id: number;
3838
3837
  name: string | null;
3838
+ id: number;
3839
3839
  email: string | null;
3840
3840
  thumbnail: string;
3841
3841
  phone_number: string | null;
@@ -3847,8 +3847,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3847
3847
  customer_stage_explanation: string | null;
3848
3848
  type?: string | undefined;
3849
3849
  }, {
3850
- id: number;
3851
3850
  name: string | null;
3851
+ id: number;
3852
3852
  email: string | null;
3853
3853
  thumbnail: string;
3854
3854
  phone_number: string | null;
@@ -3865,20 +3865,20 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3865
3865
  name: z.ZodString;
3866
3866
  email: z.ZodString;
3867
3867
  }, "strip", z.ZodTypeAny, {
3868
- id: number;
3869
3868
  name: string;
3869
+ id: number;
3870
3870
  email: string;
3871
3871
  }, {
3872
- id: number;
3873
3872
  name: string;
3873
+ id: number;
3874
3874
  email: string;
3875
3875
  }>>;
3876
3876
  team: z.ZodNullable<z.ZodUnknown>;
3877
3877
  hmac_verified: z.ZodBoolean;
3878
3878
  }, "strip", z.ZodTypeAny, {
3879
3879
  sender: {
3880
- id: number;
3881
3880
  name: string | null;
3881
+ id: number;
3882
3882
  email: string | null;
3883
3883
  thumbnail: string;
3884
3884
  phone_number: string | null;
@@ -3892,15 +3892,15 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3892
3892
  };
3893
3893
  hmac_verified: boolean;
3894
3894
  assignee: {
3895
- id: number;
3896
3895
  name: string;
3896
+ id: number;
3897
3897
  email: string;
3898
3898
  } | null;
3899
3899
  team?: unknown;
3900
3900
  }, {
3901
3901
  sender: {
3902
- id: number;
3903
3902
  name: string | null;
3903
+ id: number;
3904
3904
  email: string | null;
3905
3905
  thumbnail: string;
3906
3906
  phone_number: string | null;
@@ -3914,8 +3914,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3914
3914
  };
3915
3915
  hmac_verified: boolean;
3916
3916
  assignee: {
3917
- id: number;
3918
3917
  name: string;
3918
+ id: number;
3919
3919
  email: string;
3920
3920
  } | null;
3921
3921
  team?: unknown;
@@ -3989,8 +3989,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3989
3989
  conversation_id: number;
3990
3990
  sender: {
3991
3991
  id: number;
3992
- type?: string | undefined;
3993
3992
  name?: string | null | undefined;
3993
+ type?: string | undefined;
3994
3994
  email?: string | null | undefined;
3995
3995
  thumbnail?: string | undefined;
3996
3996
  phone_number?: string | null | undefined;
@@ -4026,8 +4026,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4026
4026
  }[];
4027
4027
  meta: {
4028
4028
  sender: {
4029
- id: number;
4030
4029
  name: string | null;
4030
+ id: number;
4031
4031
  email: string | null;
4032
4032
  thumbnail: string;
4033
4033
  phone_number: string | null;
@@ -4041,8 +4041,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4041
4041
  };
4042
4042
  hmac_verified: boolean;
4043
4043
  assignee: {
4044
- id: number;
4045
4044
  name: string;
4045
+ id: number;
4046
4046
  email: string;
4047
4047
  } | null;
4048
4048
  team?: unknown;
@@ -4112,8 +4112,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4112
4112
  conversation_id: number;
4113
4113
  sender: {
4114
4114
  id: number;
4115
- type?: string | undefined;
4116
4115
  name?: string | null | undefined;
4116
+ type?: string | undefined;
4117
4117
  email?: string | null | undefined;
4118
4118
  thumbnail?: string | undefined;
4119
4119
  phone_number?: string | null | undefined;
@@ -4149,8 +4149,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4149
4149
  }[];
4150
4150
  meta: {
4151
4151
  sender: {
4152
- id: number;
4153
4152
  name: string | null;
4153
+ id: number;
4154
4154
  email: string | null;
4155
4155
  thumbnail: string;
4156
4156
  phone_number: string | null;
@@ -4164,8 +4164,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4164
4164
  };
4165
4165
  hmac_verified: boolean;
4166
4166
  assignee: {
4167
- id: number;
4168
4167
  name: string;
4168
+ id: number;
4169
4169
  email: string;
4170
4170
  } | null;
4171
4171
  team?: unknown;
@@ -4190,11 +4190,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4190
4190
  id: z.ZodNumber;
4191
4191
  name: z.ZodString;
4192
4192
  }, "strip", z.ZodTypeAny, {
4193
- id: number;
4194
4193
  name: string;
4195
- }, {
4196
4194
  id: number;
4195
+ }, {
4197
4196
  name: string;
4197
+ id: number;
4198
4198
  }>;
4199
4199
  message_type: z.ZodEnum<["incoming", "outgoing"]>;
4200
4200
  private: z.ZodBoolean;
@@ -4216,11 +4216,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4216
4216
  id: z.ZodNumber;
4217
4217
  name: z.ZodString;
4218
4218
  }, "strip", z.ZodTypeAny, {
4219
- id: number;
4220
4219
  name: string;
4221
- }, {
4222
4220
  id: number;
4221
+ }, {
4223
4222
  name: string;
4223
+ id: number;
4224
4224
  }>>;
4225
4225
  avatar: z.ZodOptional<z.ZodString>;
4226
4226
  }, "strip", z.ZodTypeAny, {
@@ -4236,8 +4236,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4236
4236
  customer_stage?: string | null | undefined;
4237
4237
  customer_stage_explanation?: string | null | undefined;
4238
4238
  account?: {
4239
- id: number;
4240
4239
  name: string;
4240
+ id: number;
4241
4241
  } | undefined;
4242
4242
  avatar?: string | undefined;
4243
4243
  }, {
@@ -4253,8 +4253,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4253
4253
  customer_stage?: string | null | undefined;
4254
4254
  customer_stage_explanation?: string | null | undefined;
4255
4255
  account?: {
4256
- id: number;
4257
4256
  name: string;
4257
+ id: number;
4258
4258
  } | undefined;
4259
4259
  avatar?: string | undefined;
4260
4260
  }>;
@@ -4287,16 +4287,16 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4287
4287
  customer_stage?: string | null | undefined;
4288
4288
  customer_stage_explanation?: string | null | undefined;
4289
4289
  account?: {
4290
- id: number;
4291
4290
  name: string;
4291
+ id: number;
4292
4292
  } | undefined;
4293
4293
  avatar?: string | undefined;
4294
4294
  };
4295
4295
  additional_attributes: Record<string, unknown>;
4296
4296
  source_id: string | null;
4297
4297
  account: {
4298
- id: number;
4299
4298
  name: string;
4299
+ id: number;
4300
4300
  };
4301
4301
  conversation: {
4302
4302
  status: "open" | "resolved" | "pending" | "snoozed";
@@ -4350,8 +4350,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4350
4350
  conversation_id: number;
4351
4351
  sender: {
4352
4352
  id: number;
4353
- type?: string | undefined;
4354
4353
  name?: string | null | undefined;
4354
+ type?: string | undefined;
4355
4355
  email?: string | null | undefined;
4356
4356
  thumbnail?: string | undefined;
4357
4357
  phone_number?: string | null | undefined;
@@ -4387,8 +4387,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4387
4387
  }[];
4388
4388
  meta: {
4389
4389
  sender: {
4390
- id: number;
4391
4390
  name: string | null;
4391
+ id: number;
4392
4392
  email: string | null;
4393
4393
  thumbnail: string;
4394
4394
  phone_number: string | null;
@@ -4402,8 +4402,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4402
4402
  };
4403
4403
  hmac_verified: boolean;
4404
4404
  assignee: {
4405
- id: number;
4406
4405
  name: string;
4406
+ id: number;
4407
4407
  email: string;
4408
4408
  } | null;
4409
4409
  team?: unknown;
@@ -4423,8 +4423,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4423
4423
  timestamp: number;
4424
4424
  };
4425
4425
  inbox: {
4426
- id: number;
4427
4426
  name: string;
4427
+ id: number;
4428
4428
  };
4429
4429
  event: "message_created";
4430
4430
  }, {
@@ -4453,16 +4453,16 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4453
4453
  customer_stage?: string | null | undefined;
4454
4454
  customer_stage_explanation?: string | null | undefined;
4455
4455
  account?: {
4456
- id: number;
4457
4456
  name: string;
4457
+ id: number;
4458
4458
  } | undefined;
4459
4459
  avatar?: string | undefined;
4460
4460
  };
4461
4461
  additional_attributes: Record<string, unknown>;
4462
4462
  source_id: string | null;
4463
4463
  account: {
4464
- id: number;
4465
4464
  name: string;
4465
+ id: number;
4466
4466
  };
4467
4467
  conversation: {
4468
4468
  status: "open" | "resolved" | "pending" | "snoozed";
@@ -4516,8 +4516,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4516
4516
  conversation_id: number;
4517
4517
  sender: {
4518
4518
  id: number;
4519
- type?: string | undefined;
4520
4519
  name?: string | null | undefined;
4520
+ type?: string | undefined;
4521
4521
  email?: string | null | undefined;
4522
4522
  thumbnail?: string | undefined;
4523
4523
  phone_number?: string | null | undefined;
@@ -4553,8 +4553,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4553
4553
  }[];
4554
4554
  meta: {
4555
4555
  sender: {
4556
- id: number;
4557
4556
  name: string | null;
4557
+ id: number;
4558
4558
  email: string | null;
4559
4559
  thumbnail: string;
4560
4560
  phone_number: string | null;
@@ -4568,8 +4568,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4568
4568
  };
4569
4569
  hmac_verified: boolean;
4570
4570
  assignee: {
4571
- id: number;
4572
4571
  name: string;
4572
+ id: number;
4573
4573
  email: string;
4574
4574
  } | null;
4575
4575
  team?: unknown;
@@ -4589,8 +4589,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4589
4589
  timestamp: number;
4590
4590
  };
4591
4591
  inbox: {
4592
- id: number;
4593
4592
  name: string;
4593
+ id: number;
4594
4594
  };
4595
4595
  event: "message_created";
4596
4596
  }>, z.ZodObject<{
@@ -4598,11 +4598,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4598
4598
  id: z.ZodNumber;
4599
4599
  name: z.ZodString;
4600
4600
  }, "strip", z.ZodTypeAny, {
4601
- id: number;
4602
4601
  name: string;
4603
- }, {
4604
4602
  id: number;
4603
+ }, {
4605
4604
  name: string;
4605
+ id: number;
4606
4606
  }>;
4607
4607
  additional_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4608
4608
  content_attributes: z.ZodObject<{
@@ -4807,8 +4807,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4807
4807
  customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4808
4808
  }, "strip", z.ZodTypeAny, {
4809
4809
  id: number;
4810
- type?: string | undefined;
4811
4810
  name?: string | null | undefined;
4811
+ type?: string | undefined;
4812
4812
  email?: string | null | undefined;
4813
4813
  thumbnail?: string | undefined;
4814
4814
  phone_number?: string | null | undefined;
@@ -4820,8 +4820,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4820
4820
  customer_stage_explanation?: string | null | undefined;
4821
4821
  }, {
4822
4822
  id: number;
4823
- type?: string | undefined;
4824
4823
  name?: string | null | undefined;
4824
+ type?: string | undefined;
4825
4825
  email?: string | null | undefined;
4826
4826
  thumbnail?: string | undefined;
4827
4827
  phone_number?: string | null | undefined;
@@ -4848,8 +4848,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4848
4848
  conversation_id: number;
4849
4849
  sender: {
4850
4850
  id: number;
4851
- type?: string | undefined;
4852
4851
  name?: string | null | undefined;
4852
+ type?: string | undefined;
4853
4853
  email?: string | null | undefined;
4854
4854
  thumbnail?: string | undefined;
4855
4855
  phone_number?: string | null | undefined;
@@ -4898,8 +4898,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4898
4898
  conversation_id: number;
4899
4899
  sender: {
4900
4900
  id: number;
4901
- type?: string | undefined;
4902
4901
  name?: string | null | undefined;
4902
+ type?: string | undefined;
4903
4903
  email?: string | null | undefined;
4904
4904
  thumbnail?: string | undefined;
4905
4905
  phone_number?: string | null | undefined;
@@ -4949,8 +4949,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4949
4949
  customer_stage_explanation: z.ZodNullable<z.ZodString>;
4950
4950
  type: z.ZodOptional<z.ZodString>;
4951
4951
  }, "strip", z.ZodTypeAny, {
4952
- id: number;
4953
4952
  name: string | null;
4953
+ id: number;
4954
4954
  email: string | null;
4955
4955
  thumbnail: string;
4956
4956
  phone_number: string | null;
@@ -4962,8 +4962,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4962
4962
  customer_stage_explanation: string | null;
4963
4963
  type?: string | undefined;
4964
4964
  }, {
4965
- id: number;
4966
4965
  name: string | null;
4966
+ id: number;
4967
4967
  email: string | null;
4968
4968
  thumbnail: string;
4969
4969
  phone_number: string | null;
@@ -4980,20 +4980,20 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4980
4980
  name: z.ZodString;
4981
4981
  email: z.ZodString;
4982
4982
  }, "strip", z.ZodTypeAny, {
4983
- id: number;
4984
4983
  name: string;
4984
+ id: number;
4985
4985
  email: string;
4986
4986
  }, {
4987
- id: number;
4988
4987
  name: string;
4988
+ id: number;
4989
4989
  email: string;
4990
4990
  }>>;
4991
4991
  team: z.ZodNullable<z.ZodUnknown>;
4992
4992
  hmac_verified: z.ZodBoolean;
4993
4993
  }, "strip", z.ZodTypeAny, {
4994
4994
  sender: {
4995
- id: number;
4996
4995
  name: string | null;
4996
+ id: number;
4997
4997
  email: string | null;
4998
4998
  thumbnail: string;
4999
4999
  phone_number: string | null;
@@ -5007,15 +5007,15 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5007
5007
  };
5008
5008
  hmac_verified: boolean;
5009
5009
  assignee: {
5010
- id: number;
5011
5010
  name: string;
5011
+ id: number;
5012
5012
  email: string;
5013
5013
  } | null;
5014
5014
  team?: unknown;
5015
5015
  }, {
5016
5016
  sender: {
5017
- id: number;
5018
5017
  name: string | null;
5018
+ id: number;
5019
5019
  email: string | null;
5020
5020
  thumbnail: string;
5021
5021
  phone_number: string | null;
@@ -5029,8 +5029,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5029
5029
  };
5030
5030
  hmac_verified: boolean;
5031
5031
  assignee: {
5032
- id: number;
5033
5032
  name: string;
5033
+ id: number;
5034
5034
  email: string;
5035
5035
  } | null;
5036
5036
  team?: unknown;
@@ -5104,8 +5104,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5104
5104
  conversation_id: number;
5105
5105
  sender: {
5106
5106
  id: number;
5107
- type?: string | undefined;
5108
5107
  name?: string | null | undefined;
5108
+ type?: string | undefined;
5109
5109
  email?: string | null | undefined;
5110
5110
  thumbnail?: string | undefined;
5111
5111
  phone_number?: string | null | undefined;
@@ -5141,8 +5141,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5141
5141
  }[];
5142
5142
  meta: {
5143
5143
  sender: {
5144
- id: number;
5145
5144
  name: string | null;
5145
+ id: number;
5146
5146
  email: string | null;
5147
5147
  thumbnail: string;
5148
5148
  phone_number: string | null;
@@ -5156,8 +5156,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5156
5156
  };
5157
5157
  hmac_verified: boolean;
5158
5158
  assignee: {
5159
- id: number;
5160
5159
  name: string;
5160
+ id: number;
5161
5161
  email: string;
5162
5162
  } | null;
5163
5163
  team?: unknown;
@@ -5227,8 +5227,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5227
5227
  conversation_id: number;
5228
5228
  sender: {
5229
5229
  id: number;
5230
- type?: string | undefined;
5231
5230
  name?: string | null | undefined;
5231
+ type?: string | undefined;
5232
5232
  email?: string | null | undefined;
5233
5233
  thumbnail?: string | undefined;
5234
5234
  phone_number?: string | null | undefined;
@@ -5264,8 +5264,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5264
5264
  }[];
5265
5265
  meta: {
5266
5266
  sender: {
5267
- id: number;
5268
5267
  name: string | null;
5268
+ id: number;
5269
5269
  email: string | null;
5270
5270
  thumbnail: string;
5271
5271
  phone_number: string | null;
@@ -5279,8 +5279,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5279
5279
  };
5280
5280
  hmac_verified: boolean;
5281
5281
  assignee: {
5282
- id: number;
5283
5282
  name: string;
5283
+ id: number;
5284
5284
  email: string;
5285
5285
  } | null;
5286
5286
  team?: unknown;
@@ -5305,11 +5305,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5305
5305
  id: z.ZodNumber;
5306
5306
  name: z.ZodString;
5307
5307
  }, "strip", z.ZodTypeAny, {
5308
- id: number;
5309
5308
  name: string;
5310
- }, {
5311
5309
  id: number;
5310
+ }, {
5312
5311
  name: string;
5312
+ id: number;
5313
5313
  }>;
5314
5314
  message_type: z.ZodEnum<["incoming", "outgoing"]>;
5315
5315
  private: z.ZodBoolean;
@@ -5331,11 +5331,11 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5331
5331
  id: z.ZodNumber;
5332
5332
  name: z.ZodString;
5333
5333
  }, "strip", z.ZodTypeAny, {
5334
- id: number;
5335
5334
  name: string;
5336
- }, {
5337
5335
  id: number;
5336
+ }, {
5338
5337
  name: string;
5338
+ id: number;
5339
5339
  }>>;
5340
5340
  avatar: z.ZodOptional<z.ZodString>;
5341
5341
  }, "strip", z.ZodTypeAny, {
@@ -5351,8 +5351,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5351
5351
  customer_stage?: string | null | undefined;
5352
5352
  customer_stage_explanation?: string | null | undefined;
5353
5353
  account?: {
5354
- id: number;
5355
5354
  name: string;
5355
+ id: number;
5356
5356
  } | undefined;
5357
5357
  avatar?: string | undefined;
5358
5358
  }, {
@@ -5368,8 +5368,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5368
5368
  customer_stage?: string | null | undefined;
5369
5369
  customer_stage_explanation?: string | null | undefined;
5370
5370
  account?: {
5371
- id: number;
5372
5371
  name: string;
5372
+ id: number;
5373
5373
  } | undefined;
5374
5374
  avatar?: string | undefined;
5375
5375
  }>;
@@ -5402,16 +5402,16 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5402
5402
  customer_stage?: string | null | undefined;
5403
5403
  customer_stage_explanation?: string | null | undefined;
5404
5404
  account?: {
5405
- id: number;
5406
5405
  name: string;
5406
+ id: number;
5407
5407
  } | undefined;
5408
5408
  avatar?: string | undefined;
5409
5409
  };
5410
5410
  additional_attributes: Record<string, unknown>;
5411
5411
  source_id: string | null;
5412
5412
  account: {
5413
- id: number;
5414
5413
  name: string;
5414
+ id: number;
5415
5415
  };
5416
5416
  conversation: {
5417
5417
  status: "open" | "resolved" | "pending" | "snoozed";
@@ -5465,8 +5465,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5465
5465
  conversation_id: number;
5466
5466
  sender: {
5467
5467
  id: number;
5468
- type?: string | undefined;
5469
5468
  name?: string | null | undefined;
5469
+ type?: string | undefined;
5470
5470
  email?: string | null | undefined;
5471
5471
  thumbnail?: string | undefined;
5472
5472
  phone_number?: string | null | undefined;
@@ -5502,8 +5502,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5502
5502
  }[];
5503
5503
  meta: {
5504
5504
  sender: {
5505
- id: number;
5506
5505
  name: string | null;
5506
+ id: number;
5507
5507
  email: string | null;
5508
5508
  thumbnail: string;
5509
5509
  phone_number: string | null;
@@ -5517,8 +5517,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5517
5517
  };
5518
5518
  hmac_verified: boolean;
5519
5519
  assignee: {
5520
- id: number;
5521
5520
  name: string;
5521
+ id: number;
5522
5522
  email: string;
5523
5523
  } | null;
5524
5524
  team?: unknown;
@@ -5538,8 +5538,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5538
5538
  timestamp: number;
5539
5539
  };
5540
5540
  inbox: {
5541
- id: number;
5542
5541
  name: string;
5542
+ id: number;
5543
5543
  };
5544
5544
  event: "message_updated";
5545
5545
  }, {
@@ -5568,16 +5568,16 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5568
5568
  customer_stage?: string | null | undefined;
5569
5569
  customer_stage_explanation?: string | null | undefined;
5570
5570
  account?: {
5571
- id: number;
5572
5571
  name: string;
5572
+ id: number;
5573
5573
  } | undefined;
5574
5574
  avatar?: string | undefined;
5575
5575
  };
5576
5576
  additional_attributes: Record<string, unknown>;
5577
5577
  source_id: string | null;
5578
5578
  account: {
5579
- id: number;
5580
5579
  name: string;
5580
+ id: number;
5581
5581
  };
5582
5582
  conversation: {
5583
5583
  status: "open" | "resolved" | "pending" | "snoozed";
@@ -5631,8 +5631,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5631
5631
  conversation_id: number;
5632
5632
  sender: {
5633
5633
  id: number;
5634
- type?: string | undefined;
5635
5634
  name?: string | null | undefined;
5635
+ type?: string | undefined;
5636
5636
  email?: string | null | undefined;
5637
5637
  thumbnail?: string | undefined;
5638
5638
  phone_number?: string | null | undefined;
@@ -5668,8 +5668,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5668
5668
  }[];
5669
5669
  meta: {
5670
5670
  sender: {
5671
- id: number;
5672
5671
  name: string | null;
5672
+ id: number;
5673
5673
  email: string | null;
5674
5674
  thumbnail: string;
5675
5675
  phone_number: string | null;
@@ -5683,8 +5683,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5683
5683
  };
5684
5684
  hmac_verified: boolean;
5685
5685
  assignee: {
5686
- id: number;
5687
5686
  name: string;
5687
+ id: number;
5688
5688
  email: string;
5689
5689
  } | null;
5690
5690
  team?: unknown;
@@ -5704,8 +5704,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5704
5704
  timestamp: number;
5705
5705
  };
5706
5706
  inbox: {
5707
- id: number;
5708
5707
  name: string;
5708
+ id: number;
5709
5709
  };
5710
5710
  event: "message_updated";
5711
5711
  }>]>;