@voltade/envoy-sdk 1.2.4 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -224,13 +224,13 @@ export declare const NestedMessageConversationSchema: z.ZodObject<{
224
224
  }>;
225
225
  export declare const MessageSenderSchema: z.ZodObject<{
226
226
  id: z.ZodNumber;
227
- name: z.ZodNullable<z.ZodString>;
228
- email: z.ZodNullable<z.ZodString>;
229
- phone_number: z.ZodNullable<z.ZodString>;
230
- identifier: z.ZodNullable<z.ZodString>;
231
- customer_stage_explanation: z.ZodNullable<z.ZodString>;
232
227
  type: z.ZodOptional<z.ZodString>;
233
228
  } & {
229
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
231
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
232
+ identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
233
+ customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
234
234
  thumbnail: z.ZodOptional<z.ZodString>;
235
235
  additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
236
236
  custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -238,30 +238,30 @@ export declare const MessageSenderSchema: z.ZodObject<{
238
238
  customer_stage: z.ZodOptional<z.ZodString>;
239
239
  }, "strip", z.ZodTypeAny, {
240
240
  id: number;
241
- name: string | null;
242
- email: string | null;
243
- phone_number: string | null;
244
- identifier: string | null;
245
- customer_stage_explanation: string | null;
241
+ name?: string | null | undefined;
242
+ email?: string | null | undefined;
243
+ phone_number?: string | null | undefined;
246
244
  type?: string | undefined;
247
245
  thumbnail?: string | undefined;
246
+ identifier?: string | null | undefined;
248
247
  additional_attributes?: Record<string, unknown> | undefined;
249
248
  custom_attributes?: Record<string, unknown> | undefined;
250
249
  blocked?: boolean | undefined;
251
250
  customer_stage?: string | undefined;
251
+ customer_stage_explanation?: string | null | undefined;
252
252
  }, {
253
253
  id: number;
254
- name: string | null;
255
- email: string | null;
256
- phone_number: string | null;
257
- identifier: string | null;
258
- customer_stage_explanation: string | null;
254
+ name?: string | null | undefined;
255
+ email?: string | null | undefined;
256
+ phone_number?: string | null | undefined;
259
257
  type?: string | undefined;
260
258
  thumbnail?: string | undefined;
259
+ identifier?: string | null | undefined;
261
260
  additional_attributes?: Record<string, unknown> | undefined;
262
261
  custom_attributes?: Record<string, unknown> | undefined;
263
262
  blocked?: boolean | undefined;
264
263
  customer_stage?: string | undefined;
264
+ customer_stage_explanation?: string | null | undefined;
265
265
  }>;
266
266
  export declare const WebhookMessageSchema: z.ZodObject<{
267
267
  id: z.ZodNumber;
@@ -321,13 +321,13 @@ export declare const WebhookMessageSchema: z.ZodObject<{
321
321
  }>;
322
322
  sender: z.ZodObject<{
323
323
  id: z.ZodNumber;
324
- name: z.ZodNullable<z.ZodString>;
325
- email: z.ZodNullable<z.ZodString>;
326
- phone_number: z.ZodNullable<z.ZodString>;
327
- identifier: z.ZodNullable<z.ZodString>;
328
- customer_stage_explanation: z.ZodNullable<z.ZodString>;
329
324
  type: z.ZodOptional<z.ZodString>;
330
325
  } & {
326
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
327
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
328
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
329
+ identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
330
+ customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
331
331
  thumbnail: z.ZodOptional<z.ZodString>;
332
332
  additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
333
333
  custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -335,30 +335,30 @@ export declare const WebhookMessageSchema: z.ZodObject<{
335
335
  customer_stage: z.ZodOptional<z.ZodString>;
336
336
  }, "strip", z.ZodTypeAny, {
337
337
  id: number;
338
- name: string | null;
339
- email: string | null;
340
- phone_number: string | null;
341
- identifier: string | null;
342
- customer_stage_explanation: string | null;
338
+ name?: string | null | undefined;
339
+ email?: string | null | undefined;
340
+ phone_number?: string | null | undefined;
343
341
  type?: string | undefined;
344
342
  thumbnail?: string | undefined;
343
+ identifier?: string | null | undefined;
345
344
  additional_attributes?: Record<string, unknown> | undefined;
346
345
  custom_attributes?: Record<string, unknown> | undefined;
347
346
  blocked?: boolean | undefined;
348
347
  customer_stage?: string | undefined;
348
+ customer_stage_explanation?: string | null | undefined;
349
349
  }, {
350
350
  id: number;
351
- name: string | null;
352
- email: string | null;
353
- phone_number: string | null;
354
- identifier: string | null;
355
- customer_stage_explanation: string | null;
351
+ name?: string | null | undefined;
352
+ email?: string | null | undefined;
353
+ phone_number?: string | null | undefined;
356
354
  type?: string | undefined;
357
355
  thumbnail?: string | undefined;
356
+ identifier?: string | null | undefined;
358
357
  additional_attributes?: Record<string, unknown> | undefined;
359
358
  custom_attributes?: Record<string, unknown> | undefined;
360
359
  blocked?: boolean | undefined;
361
360
  customer_stage?: string | undefined;
361
+ customer_stage_explanation?: string | null | undefined;
362
362
  }>;
363
363
  }, "strip", z.ZodTypeAny, {
364
364
  id: number;
@@ -378,17 +378,17 @@ export declare const WebhookMessageSchema: z.ZodObject<{
378
378
  conversation_id: number;
379
379
  sender: {
380
380
  id: number;
381
- name: string | null;
382
- email: string | null;
383
- phone_number: string | null;
384
- identifier: string | null;
385
- customer_stage_explanation: string | null;
381
+ name?: string | null | undefined;
382
+ email?: string | null | undefined;
383
+ phone_number?: string | null | undefined;
386
384
  type?: string | undefined;
387
385
  thumbnail?: string | undefined;
386
+ identifier?: string | null | undefined;
388
387
  additional_attributes?: Record<string, unknown> | undefined;
389
388
  custom_attributes?: Record<string, unknown> | undefined;
390
389
  blocked?: boolean | undefined;
391
390
  customer_stage?: string | undefined;
391
+ customer_stage_explanation?: string | null | undefined;
392
392
  };
393
393
  additional_attributes: Record<string, unknown>;
394
394
  inbox_id: number;
@@ -428,17 +428,17 @@ export declare const WebhookMessageSchema: z.ZodObject<{
428
428
  conversation_id: number;
429
429
  sender: {
430
430
  id: number;
431
- name: string | null;
432
- email: string | null;
433
- phone_number: string | null;
434
- identifier: string | null;
435
- customer_stage_explanation: string | null;
431
+ name?: string | null | undefined;
432
+ email?: string | null | undefined;
433
+ phone_number?: string | null | undefined;
436
434
  type?: string | undefined;
437
435
  thumbnail?: string | undefined;
436
+ identifier?: string | null | undefined;
438
437
  additional_attributes?: Record<string, unknown> | undefined;
439
438
  custom_attributes?: Record<string, unknown> | undefined;
440
439
  blocked?: boolean | undefined;
441
440
  customer_stage?: string | undefined;
441
+ customer_stage_explanation?: string | null | undefined;
442
442
  };
443
443
  additional_attributes: Record<string, unknown>;
444
444
  inbox_id: number;
@@ -741,13 +741,13 @@ export declare const WebhookConversationSchema: z.ZodObject<{
741
741
  }>;
742
742
  sender: z.ZodObject<{
743
743
  id: z.ZodNumber;
744
- name: z.ZodNullable<z.ZodString>;
745
- email: z.ZodNullable<z.ZodString>;
746
- phone_number: z.ZodNullable<z.ZodString>;
747
- identifier: z.ZodNullable<z.ZodString>;
748
- customer_stage_explanation: z.ZodNullable<z.ZodString>;
749
744
  type: z.ZodOptional<z.ZodString>;
750
745
  } & {
746
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
747
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
748
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
749
+ identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
750
+ customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
751
751
  thumbnail: z.ZodOptional<z.ZodString>;
752
752
  additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
753
753
  custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -755,30 +755,30 @@ export declare const WebhookConversationSchema: z.ZodObject<{
755
755
  customer_stage: z.ZodOptional<z.ZodString>;
756
756
  }, "strip", z.ZodTypeAny, {
757
757
  id: number;
758
- name: string | null;
759
- email: string | null;
760
- phone_number: string | null;
761
- identifier: string | null;
762
- customer_stage_explanation: string | null;
758
+ name?: string | null | undefined;
759
+ email?: string | null | undefined;
760
+ phone_number?: string | null | undefined;
763
761
  type?: string | undefined;
764
762
  thumbnail?: string | undefined;
763
+ identifier?: string | null | undefined;
765
764
  additional_attributes?: Record<string, unknown> | undefined;
766
765
  custom_attributes?: Record<string, unknown> | undefined;
767
766
  blocked?: boolean | undefined;
768
767
  customer_stage?: string | undefined;
768
+ customer_stage_explanation?: string | null | undefined;
769
769
  }, {
770
770
  id: number;
771
- name: string | null;
772
- email: string | null;
773
- phone_number: string | null;
774
- identifier: string | null;
775
- customer_stage_explanation: string | null;
771
+ name?: string | null | undefined;
772
+ email?: string | null | undefined;
773
+ phone_number?: string | null | undefined;
776
774
  type?: string | undefined;
777
775
  thumbnail?: string | undefined;
776
+ identifier?: string | null | undefined;
778
777
  additional_attributes?: Record<string, unknown> | undefined;
779
778
  custom_attributes?: Record<string, unknown> | undefined;
780
779
  blocked?: boolean | undefined;
781
780
  customer_stage?: string | undefined;
781
+ customer_stage_explanation?: string | null | undefined;
782
782
  }>;
783
783
  }, "strip", z.ZodTypeAny, {
784
784
  id: number;
@@ -798,17 +798,17 @@ export declare const WebhookConversationSchema: z.ZodObject<{
798
798
  conversation_id: number;
799
799
  sender: {
800
800
  id: number;
801
- name: string | null;
802
- email: string | null;
803
- phone_number: string | null;
804
- identifier: string | null;
805
- customer_stage_explanation: string | null;
801
+ name?: string | null | undefined;
802
+ email?: string | null | undefined;
803
+ phone_number?: string | null | undefined;
806
804
  type?: string | undefined;
807
805
  thumbnail?: string | undefined;
806
+ identifier?: string | null | undefined;
808
807
  additional_attributes?: Record<string, unknown> | undefined;
809
808
  custom_attributes?: Record<string, unknown> | undefined;
810
809
  blocked?: boolean | undefined;
811
810
  customer_stage?: string | undefined;
811
+ customer_stage_explanation?: string | null | undefined;
812
812
  };
813
813
  additional_attributes: Record<string, unknown>;
814
814
  inbox_id: number;
@@ -848,17 +848,17 @@ export declare const WebhookConversationSchema: z.ZodObject<{
848
848
  conversation_id: number;
849
849
  sender: {
850
850
  id: number;
851
- name: string | null;
852
- email: string | null;
853
- phone_number: string | null;
854
- identifier: string | null;
855
- customer_stage_explanation: string | null;
851
+ name?: string | null | undefined;
852
+ email?: string | null | undefined;
853
+ phone_number?: string | null | undefined;
856
854
  type?: string | undefined;
857
855
  thumbnail?: string | undefined;
856
+ identifier?: string | null | undefined;
858
857
  additional_attributes?: Record<string, unknown> | undefined;
859
858
  custom_attributes?: Record<string, unknown> | undefined;
860
859
  blocked?: boolean | undefined;
861
860
  customer_stage?: string | undefined;
861
+ customer_stage_explanation?: string | null | undefined;
862
862
  };
863
863
  additional_attributes: Record<string, unknown>;
864
864
  inbox_id: number;
@@ -1077,17 +1077,17 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1077
1077
  conversation_id: number;
1078
1078
  sender: {
1079
1079
  id: number;
1080
- name: string | null;
1081
- email: string | null;
1082
- phone_number: string | null;
1083
- identifier: string | null;
1084
- customer_stage_explanation: string | null;
1080
+ name?: string | null | undefined;
1081
+ email?: string | null | undefined;
1082
+ phone_number?: string | null | undefined;
1085
1083
  type?: string | undefined;
1086
1084
  thumbnail?: string | undefined;
1085
+ identifier?: string | null | undefined;
1087
1086
  additional_attributes?: Record<string, unknown> | undefined;
1088
1087
  custom_attributes?: Record<string, unknown> | undefined;
1089
1088
  blocked?: boolean | undefined;
1090
1089
  customer_stage?: string | undefined;
1090
+ customer_stage_explanation?: string | null | undefined;
1091
1091
  };
1092
1092
  additional_attributes: Record<string, unknown>;
1093
1093
  inbox_id: number;
@@ -1200,17 +1200,17 @@ export declare const WebhookConversationSchema: z.ZodObject<{
1200
1200
  conversation_id: number;
1201
1201
  sender: {
1202
1202
  id: number;
1203
- name: string | null;
1204
- email: string | null;
1205
- phone_number: string | null;
1206
- identifier: string | null;
1207
- customer_stage_explanation: string | null;
1203
+ name?: string | null | undefined;
1204
+ email?: string | null | undefined;
1205
+ phone_number?: string | null | undefined;
1208
1206
  type?: string | undefined;
1209
1207
  thumbnail?: string | undefined;
1208
+ identifier?: string | null | undefined;
1210
1209
  additional_attributes?: Record<string, unknown> | undefined;
1211
1210
  custom_attributes?: Record<string, unknown> | undefined;
1212
1211
  blocked?: boolean | undefined;
1213
1212
  customer_stage?: string | undefined;
1213
+ customer_stage_explanation?: string | null | undefined;
1214
1214
  };
1215
1215
  additional_attributes: Record<string, unknown>;
1216
1216
  inbox_id: number;
@@ -1447,13 +1447,13 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1447
1447
  }>;
1448
1448
  sender: z.ZodObject<{
1449
1449
  id: z.ZodNumber;
1450
- name: z.ZodNullable<z.ZodString>;
1451
- email: z.ZodNullable<z.ZodString>;
1452
- phone_number: z.ZodNullable<z.ZodString>;
1453
- identifier: z.ZodNullable<z.ZodString>;
1454
- customer_stage_explanation: z.ZodNullable<z.ZodString>;
1455
1450
  type: z.ZodOptional<z.ZodString>;
1456
1451
  } & {
1452
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1453
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1454
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1455
+ identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1456
+ customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1457
1457
  thumbnail: z.ZodOptional<z.ZodString>;
1458
1458
  additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1459
1459
  custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1461,30 +1461,30 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1461
1461
  customer_stage: z.ZodOptional<z.ZodString>;
1462
1462
  }, "strip", z.ZodTypeAny, {
1463
1463
  id: number;
1464
- name: string | null;
1465
- email: string | null;
1466
- phone_number: string | null;
1467
- identifier: string | null;
1468
- customer_stage_explanation: string | null;
1464
+ name?: string | null | undefined;
1465
+ email?: string | null | undefined;
1466
+ phone_number?: string | null | undefined;
1469
1467
  type?: string | undefined;
1470
1468
  thumbnail?: string | undefined;
1469
+ identifier?: string | null | undefined;
1471
1470
  additional_attributes?: Record<string, unknown> | undefined;
1472
1471
  custom_attributes?: Record<string, unknown> | undefined;
1473
1472
  blocked?: boolean | undefined;
1474
1473
  customer_stage?: string | undefined;
1474
+ customer_stage_explanation?: string | null | undefined;
1475
1475
  }, {
1476
1476
  id: number;
1477
- name: string | null;
1478
- email: string | null;
1479
- phone_number: string | null;
1480
- identifier: string | null;
1481
- customer_stage_explanation: string | null;
1477
+ name?: string | null | undefined;
1478
+ email?: string | null | undefined;
1479
+ phone_number?: string | null | undefined;
1482
1480
  type?: string | undefined;
1483
1481
  thumbnail?: string | undefined;
1482
+ identifier?: string | null | undefined;
1484
1483
  additional_attributes?: Record<string, unknown> | undefined;
1485
1484
  custom_attributes?: Record<string, unknown> | undefined;
1486
1485
  blocked?: boolean | undefined;
1487
1486
  customer_stage?: string | undefined;
1487
+ customer_stage_explanation?: string | null | undefined;
1488
1488
  }>;
1489
1489
  }, "strip", z.ZodTypeAny, {
1490
1490
  id: number;
@@ -1504,17 +1504,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1504
1504
  conversation_id: number;
1505
1505
  sender: {
1506
1506
  id: number;
1507
- name: string | null;
1508
- email: string | null;
1509
- phone_number: string | null;
1510
- identifier: string | null;
1511
- customer_stage_explanation: string | null;
1507
+ name?: string | null | undefined;
1508
+ email?: string | null | undefined;
1509
+ phone_number?: string | null | undefined;
1512
1510
  type?: string | undefined;
1513
1511
  thumbnail?: string | undefined;
1512
+ identifier?: string | null | undefined;
1514
1513
  additional_attributes?: Record<string, unknown> | undefined;
1515
1514
  custom_attributes?: Record<string, unknown> | undefined;
1516
1515
  blocked?: boolean | undefined;
1517
1516
  customer_stage?: string | undefined;
1517
+ customer_stage_explanation?: string | null | undefined;
1518
1518
  };
1519
1519
  additional_attributes: Record<string, unknown>;
1520
1520
  inbox_id: number;
@@ -1554,17 +1554,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1554
1554
  conversation_id: number;
1555
1555
  sender: {
1556
1556
  id: number;
1557
- name: string | null;
1558
- email: string | null;
1559
- phone_number: string | null;
1560
- identifier: string | null;
1561
- customer_stage_explanation: string | null;
1557
+ name?: string | null | undefined;
1558
+ email?: string | null | undefined;
1559
+ phone_number?: string | null | undefined;
1562
1560
  type?: string | undefined;
1563
1561
  thumbnail?: string | undefined;
1562
+ identifier?: string | null | undefined;
1564
1563
  additional_attributes?: Record<string, unknown> | undefined;
1565
1564
  custom_attributes?: Record<string, unknown> | undefined;
1566
1565
  blocked?: boolean | undefined;
1567
1566
  customer_stage?: string | undefined;
1567
+ customer_stage_explanation?: string | null | undefined;
1568
1568
  };
1569
1569
  additional_attributes: Record<string, unknown>;
1570
1570
  inbox_id: number;
@@ -1783,17 +1783,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1783
1783
  conversation_id: number;
1784
1784
  sender: {
1785
1785
  id: number;
1786
- name: string | null;
1787
- email: string | null;
1788
- phone_number: string | null;
1789
- identifier: string | null;
1790
- customer_stage_explanation: string | null;
1786
+ name?: string | null | undefined;
1787
+ email?: string | null | undefined;
1788
+ phone_number?: string | null | undefined;
1791
1789
  type?: string | undefined;
1792
1790
  thumbnail?: string | undefined;
1791
+ identifier?: string | null | undefined;
1793
1792
  additional_attributes?: Record<string, unknown> | undefined;
1794
1793
  custom_attributes?: Record<string, unknown> | undefined;
1795
1794
  blocked?: boolean | undefined;
1796
1795
  customer_stage?: string | undefined;
1796
+ customer_stage_explanation?: string | null | undefined;
1797
1797
  };
1798
1798
  additional_attributes: Record<string, unknown>;
1799
1799
  inbox_id: number;
@@ -1906,17 +1906,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
1906
1906
  conversation_id: number;
1907
1907
  sender: {
1908
1908
  id: number;
1909
- name: string | null;
1910
- email: string | null;
1911
- phone_number: string | null;
1912
- identifier: string | null;
1913
- customer_stage_explanation: string | null;
1909
+ name?: string | null | undefined;
1910
+ email?: string | null | undefined;
1911
+ phone_number?: string | null | undefined;
1914
1912
  type?: string | undefined;
1915
1913
  thumbnail?: string | undefined;
1914
+ identifier?: string | null | undefined;
1916
1915
  additional_attributes?: Record<string, unknown> | undefined;
1917
1916
  custom_attributes?: Record<string, unknown> | undefined;
1918
1917
  blocked?: boolean | undefined;
1919
1918
  customer_stage?: string | undefined;
1919
+ customer_stage_explanation?: string | null | undefined;
1920
1920
  };
1921
1921
  additional_attributes: Record<string, unknown>;
1922
1922
  inbox_id: number;
@@ -2145,17 +2145,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2145
2145
  conversation_id: number;
2146
2146
  sender: {
2147
2147
  id: number;
2148
- name: string | null;
2149
- email: string | null;
2150
- phone_number: string | null;
2151
- identifier: string | null;
2152
- customer_stage_explanation: string | null;
2148
+ name?: string | null | undefined;
2149
+ email?: string | null | undefined;
2150
+ phone_number?: string | null | undefined;
2153
2151
  type?: string | undefined;
2154
2152
  thumbnail?: string | undefined;
2153
+ identifier?: string | null | undefined;
2155
2154
  additional_attributes?: Record<string, unknown> | undefined;
2156
2155
  custom_attributes?: Record<string, unknown> | undefined;
2157
2156
  blocked?: boolean | undefined;
2158
2157
  customer_stage?: string | undefined;
2158
+ customer_stage_explanation?: string | null | undefined;
2159
2159
  };
2160
2160
  additional_attributes: Record<string, unknown>;
2161
2161
  inbox_id: number;
@@ -2311,17 +2311,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
2311
2311
  conversation_id: number;
2312
2312
  sender: {
2313
2313
  id: number;
2314
- name: string | null;
2315
- email: string | null;
2316
- phone_number: string | null;
2317
- identifier: string | null;
2318
- customer_stage_explanation: string | null;
2314
+ name?: string | null | undefined;
2315
+ email?: string | null | undefined;
2316
+ phone_number?: string | null | undefined;
2319
2317
  type?: string | undefined;
2320
2318
  thumbnail?: string | undefined;
2319
+ identifier?: string | null | undefined;
2321
2320
  additional_attributes?: Record<string, unknown> | undefined;
2322
2321
  custom_attributes?: Record<string, unknown> | undefined;
2323
2322
  blocked?: boolean | undefined;
2324
2323
  customer_stage?: string | undefined;
2324
+ customer_stage_explanation?: string | null | undefined;
2325
2325
  };
2326
2326
  additional_attributes: Record<string, unknown>;
2327
2327
  inbox_id: number;
@@ -2564,13 +2564,13 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2564
2564
  }>;
2565
2565
  sender: z.ZodObject<{
2566
2566
  id: z.ZodNumber;
2567
- name: z.ZodNullable<z.ZodString>;
2568
- email: z.ZodNullable<z.ZodString>;
2569
- phone_number: z.ZodNullable<z.ZodString>;
2570
- identifier: z.ZodNullable<z.ZodString>;
2571
- customer_stage_explanation: z.ZodNullable<z.ZodString>;
2572
2567
  type: z.ZodOptional<z.ZodString>;
2573
2568
  } & {
2569
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2570
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2571
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2572
+ identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2573
+ customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2574
2574
  thumbnail: z.ZodOptional<z.ZodString>;
2575
2575
  additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2576
2576
  custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2578,30 +2578,30 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2578
2578
  customer_stage: z.ZodOptional<z.ZodString>;
2579
2579
  }, "strip", z.ZodTypeAny, {
2580
2580
  id: number;
2581
- name: string | null;
2582
- email: string | null;
2583
- phone_number: string | null;
2584
- identifier: string | null;
2585
- customer_stage_explanation: string | null;
2581
+ name?: string | null | undefined;
2582
+ email?: string | null | undefined;
2583
+ phone_number?: string | null | undefined;
2586
2584
  type?: string | undefined;
2587
2585
  thumbnail?: string | undefined;
2586
+ identifier?: string | null | undefined;
2588
2587
  additional_attributes?: Record<string, unknown> | undefined;
2589
2588
  custom_attributes?: Record<string, unknown> | undefined;
2590
2589
  blocked?: boolean | undefined;
2591
2590
  customer_stage?: string | undefined;
2591
+ customer_stage_explanation?: string | null | undefined;
2592
2592
  }, {
2593
2593
  id: number;
2594
- name: string | null;
2595
- email: string | null;
2596
- phone_number: string | null;
2597
- identifier: string | null;
2598
- customer_stage_explanation: string | null;
2594
+ name?: string | null | undefined;
2595
+ email?: string | null | undefined;
2596
+ phone_number?: string | null | undefined;
2599
2597
  type?: string | undefined;
2600
2598
  thumbnail?: string | undefined;
2599
+ identifier?: string | null | undefined;
2601
2600
  additional_attributes?: Record<string, unknown> | undefined;
2602
2601
  custom_attributes?: Record<string, unknown> | undefined;
2603
2602
  blocked?: boolean | undefined;
2604
2603
  customer_stage?: string | undefined;
2604
+ customer_stage_explanation?: string | null | undefined;
2605
2605
  }>;
2606
2606
  }, "strip", z.ZodTypeAny, {
2607
2607
  id: number;
@@ -2621,17 +2621,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2621
2621
  conversation_id: number;
2622
2622
  sender: {
2623
2623
  id: number;
2624
- name: string | null;
2625
- email: string | null;
2626
- phone_number: string | null;
2627
- identifier: string | null;
2628
- customer_stage_explanation: string | null;
2624
+ name?: string | null | undefined;
2625
+ email?: string | null | undefined;
2626
+ phone_number?: string | null | undefined;
2629
2627
  type?: string | undefined;
2630
2628
  thumbnail?: string | undefined;
2629
+ identifier?: string | null | undefined;
2631
2630
  additional_attributes?: Record<string, unknown> | undefined;
2632
2631
  custom_attributes?: Record<string, unknown> | undefined;
2633
2632
  blocked?: boolean | undefined;
2634
2633
  customer_stage?: string | undefined;
2634
+ customer_stage_explanation?: string | null | undefined;
2635
2635
  };
2636
2636
  additional_attributes: Record<string, unknown>;
2637
2637
  inbox_id: number;
@@ -2671,17 +2671,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2671
2671
  conversation_id: number;
2672
2672
  sender: {
2673
2673
  id: number;
2674
- name: string | null;
2675
- email: string | null;
2676
- phone_number: string | null;
2677
- identifier: string | null;
2678
- customer_stage_explanation: string | null;
2674
+ name?: string | null | undefined;
2675
+ email?: string | null | undefined;
2676
+ phone_number?: string | null | undefined;
2679
2677
  type?: string | undefined;
2680
2678
  thumbnail?: string | undefined;
2679
+ identifier?: string | null | undefined;
2681
2680
  additional_attributes?: Record<string, unknown> | undefined;
2682
2681
  custom_attributes?: Record<string, unknown> | undefined;
2683
2682
  blocked?: boolean | undefined;
2684
2683
  customer_stage?: string | undefined;
2684
+ customer_stage_explanation?: string | null | undefined;
2685
2685
  };
2686
2686
  additional_attributes: Record<string, unknown>;
2687
2687
  inbox_id: number;
@@ -2900,17 +2900,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
2900
2900
  conversation_id: number;
2901
2901
  sender: {
2902
2902
  id: number;
2903
- name: string | null;
2904
- email: string | null;
2905
- phone_number: string | null;
2906
- identifier: string | null;
2907
- customer_stage_explanation: string | null;
2903
+ name?: string | null | undefined;
2904
+ email?: string | null | undefined;
2905
+ phone_number?: string | null | undefined;
2908
2906
  type?: string | undefined;
2909
2907
  thumbnail?: string | undefined;
2908
+ identifier?: string | null | undefined;
2910
2909
  additional_attributes?: Record<string, unknown> | undefined;
2911
2910
  custom_attributes?: Record<string, unknown> | undefined;
2912
2911
  blocked?: boolean | undefined;
2913
2912
  customer_stage?: string | undefined;
2913
+ customer_stage_explanation?: string | null | undefined;
2914
2914
  };
2915
2915
  additional_attributes: Record<string, unknown>;
2916
2916
  inbox_id: number;
@@ -3023,17 +3023,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3023
3023
  conversation_id: number;
3024
3024
  sender: {
3025
3025
  id: number;
3026
- name: string | null;
3027
- email: string | null;
3028
- phone_number: string | null;
3029
- identifier: string | null;
3030
- customer_stage_explanation: string | null;
3026
+ name?: string | null | undefined;
3027
+ email?: string | null | undefined;
3028
+ phone_number?: string | null | undefined;
3031
3029
  type?: string | undefined;
3032
3030
  thumbnail?: string | undefined;
3031
+ identifier?: string | null | undefined;
3033
3032
  additional_attributes?: Record<string, unknown> | undefined;
3034
3033
  custom_attributes?: Record<string, unknown> | undefined;
3035
3034
  blocked?: boolean | undefined;
3036
3035
  customer_stage?: string | undefined;
3036
+ customer_stage_explanation?: string | null | undefined;
3037
3037
  };
3038
3038
  additional_attributes: Record<string, unknown>;
3039
3039
  inbox_id: number;
@@ -3262,17 +3262,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3262
3262
  conversation_id: number;
3263
3263
  sender: {
3264
3264
  id: number;
3265
- name: string | null;
3266
- email: string | null;
3267
- phone_number: string | null;
3268
- identifier: string | null;
3269
- customer_stage_explanation: string | null;
3265
+ name?: string | null | undefined;
3266
+ email?: string | null | undefined;
3267
+ phone_number?: string | null | undefined;
3270
3268
  type?: string | undefined;
3271
3269
  thumbnail?: string | undefined;
3270
+ identifier?: string | null | undefined;
3272
3271
  additional_attributes?: Record<string, unknown> | undefined;
3273
3272
  custom_attributes?: Record<string, unknown> | undefined;
3274
3273
  blocked?: boolean | undefined;
3275
3274
  customer_stage?: string | undefined;
3275
+ customer_stage_explanation?: string | null | undefined;
3276
3276
  };
3277
3277
  additional_attributes: Record<string, unknown>;
3278
3278
  inbox_id: number;
@@ -3428,17 +3428,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
3428
3428
  conversation_id: number;
3429
3429
  sender: {
3430
3430
  id: number;
3431
- name: string | null;
3432
- email: string | null;
3433
- phone_number: string | null;
3434
- identifier: string | null;
3435
- customer_stage_explanation: string | null;
3431
+ name?: string | null | undefined;
3432
+ email?: string | null | undefined;
3433
+ phone_number?: string | null | undefined;
3436
3434
  type?: string | undefined;
3437
3435
  thumbnail?: string | undefined;
3436
+ identifier?: string | null | undefined;
3438
3437
  additional_attributes?: Record<string, unknown> | undefined;
3439
3438
  custom_attributes?: Record<string, unknown> | undefined;
3440
3439
  blocked?: boolean | undefined;
3441
3440
  customer_stage?: string | undefined;
3441
+ customer_stage_explanation?: string | null | undefined;
3442
3442
  };
3443
3443
  additional_attributes: Record<string, unknown>;
3444
3444
  inbox_id: number;
@@ -3681,13 +3681,13 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3681
3681
  }>;
3682
3682
  sender: z.ZodObject<{
3683
3683
  id: z.ZodNumber;
3684
- name: z.ZodNullable<z.ZodString>;
3685
- email: z.ZodNullable<z.ZodString>;
3686
- phone_number: z.ZodNullable<z.ZodString>;
3687
- identifier: z.ZodNullable<z.ZodString>;
3688
- customer_stage_explanation: z.ZodNullable<z.ZodString>;
3689
3684
  type: z.ZodOptional<z.ZodString>;
3690
3685
  } & {
3686
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3687
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3688
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3689
+ identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3690
+ customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3691
3691
  thumbnail: z.ZodOptional<z.ZodString>;
3692
3692
  additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3693
3693
  custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -3695,30 +3695,30 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3695
3695
  customer_stage: z.ZodOptional<z.ZodString>;
3696
3696
  }, "strip", z.ZodTypeAny, {
3697
3697
  id: number;
3698
- name: string | null;
3699
- email: string | null;
3700
- phone_number: string | null;
3701
- identifier: string | null;
3702
- customer_stage_explanation: string | null;
3698
+ name?: string | null | undefined;
3699
+ email?: string | null | undefined;
3700
+ phone_number?: string | null | undefined;
3703
3701
  type?: string | undefined;
3704
3702
  thumbnail?: string | undefined;
3703
+ identifier?: string | null | undefined;
3705
3704
  additional_attributes?: Record<string, unknown> | undefined;
3706
3705
  custom_attributes?: Record<string, unknown> | undefined;
3707
3706
  blocked?: boolean | undefined;
3708
3707
  customer_stage?: string | undefined;
3708
+ customer_stage_explanation?: string | null | undefined;
3709
3709
  }, {
3710
3710
  id: number;
3711
- name: string | null;
3712
- email: string | null;
3713
- phone_number: string | null;
3714
- identifier: string | null;
3715
- customer_stage_explanation: string | null;
3711
+ name?: string | null | undefined;
3712
+ email?: string | null | undefined;
3713
+ phone_number?: string | null | undefined;
3716
3714
  type?: string | undefined;
3717
3715
  thumbnail?: string | undefined;
3716
+ identifier?: string | null | undefined;
3718
3717
  additional_attributes?: Record<string, unknown> | undefined;
3719
3718
  custom_attributes?: Record<string, unknown> | undefined;
3720
3719
  blocked?: boolean | undefined;
3721
3720
  customer_stage?: string | undefined;
3721
+ customer_stage_explanation?: string | null | undefined;
3722
3722
  }>;
3723
3723
  }, "strip", z.ZodTypeAny, {
3724
3724
  id: number;
@@ -3738,17 +3738,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3738
3738
  conversation_id: number;
3739
3739
  sender: {
3740
3740
  id: number;
3741
- name: string | null;
3742
- email: string | null;
3743
- phone_number: string | null;
3744
- identifier: string | null;
3745
- customer_stage_explanation: string | null;
3741
+ name?: string | null | undefined;
3742
+ email?: string | null | undefined;
3743
+ phone_number?: string | null | undefined;
3746
3744
  type?: string | undefined;
3747
3745
  thumbnail?: string | undefined;
3746
+ identifier?: string | null | undefined;
3748
3747
  additional_attributes?: Record<string, unknown> | undefined;
3749
3748
  custom_attributes?: Record<string, unknown> | undefined;
3750
3749
  blocked?: boolean | undefined;
3751
3750
  customer_stage?: string | undefined;
3751
+ customer_stage_explanation?: string | null | undefined;
3752
3752
  };
3753
3753
  additional_attributes: Record<string, unknown>;
3754
3754
  inbox_id: number;
@@ -3788,17 +3788,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
3788
3788
  conversation_id: number;
3789
3789
  sender: {
3790
3790
  id: number;
3791
- name: string | null;
3792
- email: string | null;
3793
- phone_number: string | null;
3794
- identifier: string | null;
3795
- customer_stage_explanation: string | null;
3791
+ name?: string | null | undefined;
3792
+ email?: string | null | undefined;
3793
+ phone_number?: string | null | undefined;
3796
3794
  type?: string | undefined;
3797
3795
  thumbnail?: string | undefined;
3796
+ identifier?: string | null | undefined;
3798
3797
  additional_attributes?: Record<string, unknown> | undefined;
3799
3798
  custom_attributes?: Record<string, unknown> | undefined;
3800
3799
  blocked?: boolean | undefined;
3801
3800
  customer_stage?: string | undefined;
3801
+ customer_stage_explanation?: string | null | undefined;
3802
3802
  };
3803
3803
  additional_attributes: Record<string, unknown>;
3804
3804
  inbox_id: number;
@@ -4017,17 +4017,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4017
4017
  conversation_id: number;
4018
4018
  sender: {
4019
4019
  id: number;
4020
- name: string | null;
4021
- email: string | null;
4022
- phone_number: string | null;
4023
- identifier: string | null;
4024
- customer_stage_explanation: string | null;
4020
+ name?: string | null | undefined;
4021
+ email?: string | null | undefined;
4022
+ phone_number?: string | null | undefined;
4025
4023
  type?: string | undefined;
4026
4024
  thumbnail?: string | undefined;
4025
+ identifier?: string | null | undefined;
4027
4026
  additional_attributes?: Record<string, unknown> | undefined;
4028
4027
  custom_attributes?: Record<string, unknown> | undefined;
4029
4028
  blocked?: boolean | undefined;
4030
4029
  customer_stage?: string | undefined;
4030
+ customer_stage_explanation?: string | null | undefined;
4031
4031
  };
4032
4032
  additional_attributes: Record<string, unknown>;
4033
4033
  inbox_id: number;
@@ -4140,17 +4140,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4140
4140
  conversation_id: number;
4141
4141
  sender: {
4142
4142
  id: number;
4143
- name: string | null;
4144
- email: string | null;
4145
- phone_number: string | null;
4146
- identifier: string | null;
4147
- customer_stage_explanation: string | null;
4143
+ name?: string | null | undefined;
4144
+ email?: string | null | undefined;
4145
+ phone_number?: string | null | undefined;
4148
4146
  type?: string | undefined;
4149
4147
  thumbnail?: string | undefined;
4148
+ identifier?: string | null | undefined;
4150
4149
  additional_attributes?: Record<string, unknown> | undefined;
4151
4150
  custom_attributes?: Record<string, unknown> | undefined;
4152
4151
  blocked?: boolean | undefined;
4153
4152
  customer_stage?: string | undefined;
4153
+ customer_stage_explanation?: string | null | undefined;
4154
4154
  };
4155
4155
  additional_attributes: Record<string, unknown>;
4156
4156
  inbox_id: number;
@@ -4379,17 +4379,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4379
4379
  conversation_id: number;
4380
4380
  sender: {
4381
4381
  id: number;
4382
- name: string | null;
4383
- email: string | null;
4384
- phone_number: string | null;
4385
- identifier: string | null;
4386
- customer_stage_explanation: string | null;
4382
+ name?: string | null | undefined;
4383
+ email?: string | null | undefined;
4384
+ phone_number?: string | null | undefined;
4387
4385
  type?: string | undefined;
4388
4386
  thumbnail?: string | undefined;
4387
+ identifier?: string | null | undefined;
4389
4388
  additional_attributes?: Record<string, unknown> | undefined;
4390
4389
  custom_attributes?: Record<string, unknown> | undefined;
4391
4390
  blocked?: boolean | undefined;
4392
4391
  customer_stage?: string | undefined;
4392
+ customer_stage_explanation?: string | null | undefined;
4393
4393
  };
4394
4394
  additional_attributes: Record<string, unknown>;
4395
4395
  inbox_id: number;
@@ -4545,17 +4545,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4545
4545
  conversation_id: number;
4546
4546
  sender: {
4547
4547
  id: number;
4548
- name: string | null;
4549
- email: string | null;
4550
- phone_number: string | null;
4551
- identifier: string | null;
4552
- customer_stage_explanation: string | null;
4548
+ name?: string | null | undefined;
4549
+ email?: string | null | undefined;
4550
+ phone_number?: string | null | undefined;
4553
4551
  type?: string | undefined;
4554
4552
  thumbnail?: string | undefined;
4553
+ identifier?: string | null | undefined;
4555
4554
  additional_attributes?: Record<string, unknown> | undefined;
4556
4555
  custom_attributes?: Record<string, unknown> | undefined;
4557
4556
  blocked?: boolean | undefined;
4558
4557
  customer_stage?: string | undefined;
4558
+ customer_stage_explanation?: string | null | undefined;
4559
4559
  };
4560
4560
  additional_attributes: Record<string, unknown>;
4561
4561
  inbox_id: number;
@@ -4797,13 +4797,13 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4797
4797
  }>;
4798
4798
  sender: z.ZodObject<{
4799
4799
  id: z.ZodNumber;
4800
- name: z.ZodNullable<z.ZodString>;
4801
- email: z.ZodNullable<z.ZodString>;
4802
- phone_number: z.ZodNullable<z.ZodString>;
4803
- identifier: z.ZodNullable<z.ZodString>;
4804
- customer_stage_explanation: z.ZodNullable<z.ZodString>;
4805
4800
  type: z.ZodOptional<z.ZodString>;
4806
4801
  } & {
4802
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4803
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4804
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4805
+ identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4806
+ customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4807
4807
  thumbnail: z.ZodOptional<z.ZodString>;
4808
4808
  additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4809
4809
  custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4811,30 +4811,30 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4811
4811
  customer_stage: z.ZodOptional<z.ZodString>;
4812
4812
  }, "strip", z.ZodTypeAny, {
4813
4813
  id: number;
4814
- name: string | null;
4815
- email: string | null;
4816
- phone_number: string | null;
4817
- identifier: string | null;
4818
- customer_stage_explanation: string | null;
4814
+ name?: string | null | undefined;
4815
+ email?: string | null | undefined;
4816
+ phone_number?: string | null | undefined;
4819
4817
  type?: string | undefined;
4820
4818
  thumbnail?: string | undefined;
4819
+ identifier?: string | null | undefined;
4821
4820
  additional_attributes?: Record<string, unknown> | undefined;
4822
4821
  custom_attributes?: Record<string, unknown> | undefined;
4823
4822
  blocked?: boolean | undefined;
4824
4823
  customer_stage?: string | undefined;
4824
+ customer_stage_explanation?: string | null | undefined;
4825
4825
  }, {
4826
4826
  id: number;
4827
- name: string | null;
4828
- email: string | null;
4829
- phone_number: string | null;
4830
- identifier: string | null;
4831
- customer_stage_explanation: string | null;
4827
+ name?: string | null | undefined;
4828
+ email?: string | null | undefined;
4829
+ phone_number?: string | null | undefined;
4832
4830
  type?: string | undefined;
4833
4831
  thumbnail?: string | undefined;
4832
+ identifier?: string | null | undefined;
4834
4833
  additional_attributes?: Record<string, unknown> | undefined;
4835
4834
  custom_attributes?: Record<string, unknown> | undefined;
4836
4835
  blocked?: boolean | undefined;
4837
4836
  customer_stage?: string | undefined;
4837
+ customer_stage_explanation?: string | null | undefined;
4838
4838
  }>;
4839
4839
  }, "strip", z.ZodTypeAny, {
4840
4840
  id: number;
@@ -4854,17 +4854,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4854
4854
  conversation_id: number;
4855
4855
  sender: {
4856
4856
  id: number;
4857
- name: string | null;
4858
- email: string | null;
4859
- phone_number: string | null;
4860
- identifier: string | null;
4861
- customer_stage_explanation: string | null;
4857
+ name?: string | null | undefined;
4858
+ email?: string | null | undefined;
4859
+ phone_number?: string | null | undefined;
4862
4860
  type?: string | undefined;
4863
4861
  thumbnail?: string | undefined;
4862
+ identifier?: string | null | undefined;
4864
4863
  additional_attributes?: Record<string, unknown> | undefined;
4865
4864
  custom_attributes?: Record<string, unknown> | undefined;
4866
4865
  blocked?: boolean | undefined;
4867
4866
  customer_stage?: string | undefined;
4867
+ customer_stage_explanation?: string | null | undefined;
4868
4868
  };
4869
4869
  additional_attributes: Record<string, unknown>;
4870
4870
  inbox_id: number;
@@ -4904,17 +4904,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
4904
4904
  conversation_id: number;
4905
4905
  sender: {
4906
4906
  id: number;
4907
- name: string | null;
4908
- email: string | null;
4909
- phone_number: string | null;
4910
- identifier: string | null;
4911
- customer_stage_explanation: string | null;
4907
+ name?: string | null | undefined;
4908
+ email?: string | null | undefined;
4909
+ phone_number?: string | null | undefined;
4912
4910
  type?: string | undefined;
4913
4911
  thumbnail?: string | undefined;
4912
+ identifier?: string | null | undefined;
4914
4913
  additional_attributes?: Record<string, unknown> | undefined;
4915
4914
  custom_attributes?: Record<string, unknown> | undefined;
4916
4915
  blocked?: boolean | undefined;
4917
4916
  customer_stage?: string | undefined;
4917
+ customer_stage_explanation?: string | null | undefined;
4918
4918
  };
4919
4919
  additional_attributes: Record<string, unknown>;
4920
4920
  inbox_id: number;
@@ -5133,17 +5133,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5133
5133
  conversation_id: number;
5134
5134
  sender: {
5135
5135
  id: number;
5136
- name: string | null;
5137
- email: string | null;
5138
- phone_number: string | null;
5139
- identifier: string | null;
5140
- customer_stage_explanation: string | null;
5136
+ name?: string | null | undefined;
5137
+ email?: string | null | undefined;
5138
+ phone_number?: string | null | undefined;
5141
5139
  type?: string | undefined;
5142
5140
  thumbnail?: string | undefined;
5141
+ identifier?: string | null | undefined;
5143
5142
  additional_attributes?: Record<string, unknown> | undefined;
5144
5143
  custom_attributes?: Record<string, unknown> | undefined;
5145
5144
  blocked?: boolean | undefined;
5146
5145
  customer_stage?: string | undefined;
5146
+ customer_stage_explanation?: string | null | undefined;
5147
5147
  };
5148
5148
  additional_attributes: Record<string, unknown>;
5149
5149
  inbox_id: number;
@@ -5256,17 +5256,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5256
5256
  conversation_id: number;
5257
5257
  sender: {
5258
5258
  id: number;
5259
- name: string | null;
5260
- email: string | null;
5261
- phone_number: string | null;
5262
- identifier: string | null;
5263
- customer_stage_explanation: string | null;
5259
+ name?: string | null | undefined;
5260
+ email?: string | null | undefined;
5261
+ phone_number?: string | null | undefined;
5264
5262
  type?: string | undefined;
5265
5263
  thumbnail?: string | undefined;
5264
+ identifier?: string | null | undefined;
5266
5265
  additional_attributes?: Record<string, unknown> | undefined;
5267
5266
  custom_attributes?: Record<string, unknown> | undefined;
5268
5267
  blocked?: boolean | undefined;
5269
5268
  customer_stage?: string | undefined;
5269
+ customer_stage_explanation?: string | null | undefined;
5270
5270
  };
5271
5271
  additional_attributes: Record<string, unknown>;
5272
5272
  inbox_id: number;
@@ -5495,17 +5495,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5495
5495
  conversation_id: number;
5496
5496
  sender: {
5497
5497
  id: number;
5498
- name: string | null;
5499
- email: string | null;
5500
- phone_number: string | null;
5501
- identifier: string | null;
5502
- customer_stage_explanation: string | null;
5498
+ name?: string | null | undefined;
5499
+ email?: string | null | undefined;
5500
+ phone_number?: string | null | undefined;
5503
5501
  type?: string | undefined;
5504
5502
  thumbnail?: string | undefined;
5503
+ identifier?: string | null | undefined;
5505
5504
  additional_attributes?: Record<string, unknown> | undefined;
5506
5505
  custom_attributes?: Record<string, unknown> | undefined;
5507
5506
  blocked?: boolean | undefined;
5508
5507
  customer_stage?: string | undefined;
5508
+ customer_stage_explanation?: string | null | undefined;
5509
5509
  };
5510
5510
  additional_attributes: Record<string, unknown>;
5511
5511
  inbox_id: number;
@@ -5661,17 +5661,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
5661
5661
  conversation_id: number;
5662
5662
  sender: {
5663
5663
  id: number;
5664
- name: string | null;
5665
- email: string | null;
5666
- phone_number: string | null;
5667
- identifier: string | null;
5668
- customer_stage_explanation: string | null;
5664
+ name?: string | null | undefined;
5665
+ email?: string | null | undefined;
5666
+ phone_number?: string | null | undefined;
5669
5667
  type?: string | undefined;
5670
5668
  thumbnail?: string | undefined;
5669
+ identifier?: string | null | undefined;
5671
5670
  additional_attributes?: Record<string, unknown> | undefined;
5672
5671
  custom_attributes?: Record<string, unknown> | undefined;
5673
5672
  blocked?: boolean | undefined;
5674
5673
  customer_stage?: string | undefined;
5674
+ customer_stage_explanation?: string | null | undefined;
5675
5675
  };
5676
5676
  additional_attributes: Record<string, unknown>;
5677
5677
  inbox_id: number;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../resources/webhooks/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB;;GAEG;AAGH,eAAO,MAAM,gBAAgB;;;;;;;;;EAG3B,CAAC;AAGH,eAAO,MAAM,cAAc;;;;;;;;;EAGzB,CAAC;AAGH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;EAM5B,CAAC;AAGH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAWnC,CAAC;AAGjB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG9B,CAAC;AAGH,eAAO,MAAM,yBAAyB;;;;;;EAEpC,CAAC;AAGH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;EAK1C,CAAC;AAIH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM9B,CAAC;AAGH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AK,CAC3C,OAAO,6BAA6B,CACrC,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -52,7 +52,13 @@ export const NestedMessageConversationSchema = z.object({
52
52
  });
53
53
  // Message sender in webhook (relaxed version of ContactSchema for historical messages)
54
54
  // Historical messages may have incomplete sender data, so we make fields optional
55
+ // Fields that are nullable in ContactSchema must also be optional to accept undefined
55
56
  export const MessageSenderSchema = ContactSchema.extend({
57
+ name: z.string().nullish(),
58
+ email: z.string().nullish(),
59
+ phone_number: z.string().nullish(),
60
+ identifier: z.string().nullish(),
61
+ customer_stage_explanation: z.string().nullish(),
56
62
  thumbnail: z.string().optional(),
57
63
  additional_attributes: z.record(z.unknown()).optional(),
58
64
  custom_attributes: z.record(z.unknown()).optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../resources/webhooks/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,wBAAwB,EACxB,aAAa,EACb,kBAAkB,GACnB,MAAM,2BAA2B,CAAC;AAEnC;;GAEG;AAEH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEH,yBAAyB;AACzB,MAAM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;IACrE,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC;CACpC,CAAC,CAAC;AAEH,4CAA4C;AAC5C,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,kBAAkB,CAAC,OAAO,EAAE;IAC9D,yBAAyB;IACzB,yBAAyB;CAC1B,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voltade/envoy-sdk",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "type": "module",
5
5
  "description": "A comprehensive TypeScript SDK for the Envoy API with built-in error handling and resource-based architecture",
6
6
  "main": "./dist/index.js",