@kl1/contracts 1.2.46-uat → 1.2.47-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +1985 -1268
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +123 -93
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +140 -98
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +3403 -2580
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +861 -662
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +1109 -818
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/comment/index.d.ts +68 -68
  14. package/dist/api-contracts/src/comment/schema.d.ts +20 -20
  15. package/dist/api-contracts/src/contact/index.d.ts +97 -97
  16. package/dist/api-contracts/src/contact/schema.d.ts +12 -12
  17. package/dist/api-contracts/src/contact/validation.d.ts +56 -56
  18. package/dist/api-contracts/src/contract.d.ts +75766 -60354
  19. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  20. package/dist/api-contracts/src/cx-log/index.d.ts +291 -139
  21. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  22. package/dist/api-contracts/src/cx-log/schema.d.ts +198 -117
  23. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  24. package/dist/api-contracts/src/dashboard/index.d.ts +73 -95
  25. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/dashboard/schema.d.ts +10 -53
  27. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/dashboard/validation.d.ts +26 -0
  29. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  30. package/dist/api-contracts/src/extension/index.d.ts +81 -0
  31. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  32. package/dist/api-contracts/src/facebook-feed/index.d.ts +1462 -1060
  33. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/facebook-feed/schema.d.ts +104 -77
  35. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  36. package/dist/api-contracts/src/facebook-feed/validation.d.ts +81 -60
  37. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/index.d.ts +5 -0
  39. package/dist/api-contracts/src/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/instagram/index.d.ts +1151 -836
  41. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/line/index.d.ts +1036 -757
  43. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/line/validation.d.ts +115 -82
  45. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  46. package/dist/api-contracts/src/mail/mail-contract.d.ts +13 -13
  47. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +6 -6
  48. package/dist/api-contracts/src/mail/room-contract.d.ts +7 -7
  49. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +2 -2
  50. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +5 -5
  51. package/dist/api-contracts/src/messenger/index.d.ts +1151 -836
  52. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/messenger/validation.d.ts +81 -60
  54. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  55. package/dist/api-contracts/src/public-api/index.d.ts +59 -59
  56. package/dist/api-contracts/src/public-api/schema.d.ts +12 -12
  57. package/dist/api-contracts/src/public-api/validation.d.ts +19 -19
  58. package/dist/api-contracts/src/sms/index.d.ts +3133 -146
  59. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  60. package/dist/api-contracts/src/sms/schema.d.ts +22 -0
  61. package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
  62. package/dist/api-contracts/src/snippet/index.d.ts +105 -105
  63. package/dist/api-contracts/src/snippet/schema.d.ts +40 -40
  64. package/dist/api-contracts/src/subscription/index.d.ts +10 -1
  65. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  66. package/dist/api-contracts/src/subscription/validation.d.ts +10 -0
  67. package/dist/api-contracts/src/subscription/validation.d.ts.map +1 -1
  68. package/dist/api-contracts/src/telegram/index.d.ts +851 -626
  69. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  70. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +34 -89
  71. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  72. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +10 -27
  73. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  74. package/dist/api-contracts/src/telephony-cdr/index.d.ts +54 -54
  75. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  76. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +14 -14
  77. package/dist/api-contracts/src/ticket/index.d.ts +111 -111
  78. package/dist/api-contracts/src/ticket/schema.d.ts +21 -21
  79. package/dist/api-contracts/src/upload/schema.d.ts +3 -3
  80. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +16 -8
  81. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  82. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +20 -10
  83. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  84. package/dist/api-contracts/src/viber/index.d.ts +851 -626
  85. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  86. package/dist/api-contracts/src/webchat/index.d.ts +851 -626
  87. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  88. package/dist/api-contracts/src/whatsapp/index.d.ts +1155 -725
  89. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/whatsapp/validation.d.ts +79 -0
  91. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  92. package/dist/api-contracts/src/workflow-rule/index.d.ts +8659 -373
  93. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  94. package/dist/entities/src/enums/chat.d.ts +1 -0
  95. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  96. package/dist/index.js +4852 -4291
  97. package/dist/index.js.map +1 -1
  98. package/dist/index.mjs +4841 -4285
  99. package/dist/index.mjs.map +1 -1
  100. package/package.json +7 -3
@@ -3,10 +3,11 @@ import z from 'zod';
3
3
  * Directions Enum
4
4
  */
5
5
  export declare const MessageDirectionTypeSchema: z.ZodEnum<["incoming", "outgoing", "system"]>;
6
+ export declare const WorkflowAutoReplyMessageTypeSchema: z.ZodDefault<z.ZodEnum<["text", "image"]>>;
6
7
  /**
7
8
  * Message Type Enum
8
9
  */
9
- export declare const MessageTypeSchema: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
10
+ export declare const MessageTypeSchema: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
10
11
  export declare const FeedPostTypeSchema: z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>;
11
12
  /**
12
13
  * Message Type Enum
@@ -406,9 +407,10 @@ export declare const PlatformContactSchema: z.ZodObject<{
406
407
  fileSize: z.ZodNumber;
407
408
  fileKey: z.ZodString;
408
409
  fileUrl: z.ZodNullable<z.ZodString>;
409
- status: z.ZodOptional<z.ZodString>;
410
+ status: z.ZodNullable<z.ZodString>;
410
411
  }, "strip", z.ZodTypeAny, {
411
412
  id: string;
413
+ status: string | null;
412
414
  createdAt: Date;
413
415
  updatedAt: Date;
414
416
  deletedAt: Date | null;
@@ -417,9 +419,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
417
419
  bucketName: string;
418
420
  fileSize: number;
419
421
  fileUrl: string | null;
420
- status?: string | undefined;
421
422
  }, {
422
423
  id: string;
424
+ status: string | null;
423
425
  createdAt: Date;
424
426
  updatedAt: Date;
425
427
  deletedAt: Date | null;
@@ -428,7 +430,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
428
430
  bucketName: string;
429
431
  fileSize: number;
430
432
  fileUrl: string | null;
431
- status?: string | undefined;
432
433
  }>, "many">;
433
434
  }, "strip", z.ZodTypeAny, {
434
435
  id: string;
@@ -455,6 +456,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
455
456
  dateValue: Date | null;
456
457
  uploads: {
457
458
  id: string;
459
+ status: string | null;
458
460
  createdAt: Date;
459
461
  updatedAt: Date;
460
462
  deletedAt: Date | null;
@@ -463,7 +465,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
463
465
  bucketName: string;
464
466
  fileSize: number;
465
467
  fileUrl: string | null;
466
- status?: string | undefined;
467
468
  }[];
468
469
  }, {
469
470
  id: string;
@@ -490,6 +491,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
490
491
  dateValue: Date | null;
491
492
  uploads: {
492
493
  id: string;
494
+ status: string | null;
493
495
  createdAt: Date;
494
496
  updatedAt: Date;
495
497
  deletedAt: Date | null;
@@ -498,7 +500,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
498
500
  bucketName: string;
499
501
  fileSize: number;
500
502
  fileUrl: string | null;
501
- status?: string | undefined;
502
503
  }[];
503
504
  }>, "many">;
504
505
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -638,6 +639,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
638
639
  dateValue: Date | null;
639
640
  uploads: {
640
641
  id: string;
642
+ status: string | null;
641
643
  createdAt: Date;
642
644
  updatedAt: Date;
643
645
  deletedAt: Date | null;
@@ -646,7 +648,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
646
648
  bucketName: string;
647
649
  fileSize: number;
648
650
  fileUrl: string | null;
649
- status?: string | undefined;
650
651
  }[];
651
652
  }[];
652
653
  company: {
@@ -749,6 +750,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
749
750
  dateValue: Date | null;
750
751
  uploads: {
751
752
  id: string;
753
+ status: string | null;
752
754
  createdAt: Date;
753
755
  updatedAt: Date;
754
756
  deletedAt: Date | null;
@@ -757,7 +759,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
757
759
  bucketName: string;
758
760
  fileSize: number;
759
761
  fileUrl: string | null;
760
- status?: string | undefined;
761
762
  }[];
762
763
  }[];
763
764
  company: {
@@ -873,6 +874,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
873
874
  dateValue: Date | null;
874
875
  uploads: {
875
876
  id: string;
877
+ status: string | null;
876
878
  createdAt: Date;
877
879
  updatedAt: Date;
878
880
  deletedAt: Date | null;
@@ -881,7 +883,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
881
883
  bucketName: string;
882
884
  fileSize: number;
883
885
  fileUrl: string | null;
884
- status?: string | undefined;
885
886
  }[];
886
887
  }[];
887
888
  company: {
@@ -999,6 +1000,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
999
1000
  dateValue: Date | null;
1000
1001
  uploads: {
1001
1002
  id: string;
1003
+ status: string | null;
1002
1004
  createdAt: Date;
1003
1005
  updatedAt: Date;
1004
1006
  deletedAt: Date | null;
@@ -1007,7 +1009,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
1007
1009
  bucketName: string;
1008
1010
  fileSize: number;
1009
1011
  fileUrl: string | null;
1010
- status?: string | undefined;
1011
1012
  }[];
1012
1013
  }[];
1013
1014
  company: {
@@ -1472,9 +1473,10 @@ export declare const RoomSchema: z.ZodObject<{
1472
1473
  fileSize: z.ZodNumber;
1473
1474
  fileKey: z.ZodString;
1474
1475
  fileUrl: z.ZodNullable<z.ZodString>;
1475
- status: z.ZodOptional<z.ZodString>;
1476
+ status: z.ZodNullable<z.ZodString>;
1476
1477
  }, "strip", z.ZodTypeAny, {
1477
1478
  id: string;
1479
+ status: string | null;
1478
1480
  createdAt: Date;
1479
1481
  updatedAt: Date;
1480
1482
  deletedAt: Date | null;
@@ -1483,9 +1485,9 @@ export declare const RoomSchema: z.ZodObject<{
1483
1485
  bucketName: string;
1484
1486
  fileSize: number;
1485
1487
  fileUrl: string | null;
1486
- status?: string | undefined;
1487
1488
  }, {
1488
1489
  id: string;
1490
+ status: string | null;
1489
1491
  createdAt: Date;
1490
1492
  updatedAt: Date;
1491
1493
  deletedAt: Date | null;
@@ -1494,7 +1496,6 @@ export declare const RoomSchema: z.ZodObject<{
1494
1496
  bucketName: string;
1495
1497
  fileSize: number;
1496
1498
  fileUrl: string | null;
1497
- status?: string | undefined;
1498
1499
  }>, "many">;
1499
1500
  }, "strip", z.ZodTypeAny, {
1500
1501
  id: string;
@@ -1521,6 +1522,7 @@ export declare const RoomSchema: z.ZodObject<{
1521
1522
  dateValue: Date | null;
1522
1523
  uploads: {
1523
1524
  id: string;
1525
+ status: string | null;
1524
1526
  createdAt: Date;
1525
1527
  updatedAt: Date;
1526
1528
  deletedAt: Date | null;
@@ -1529,7 +1531,6 @@ export declare const RoomSchema: z.ZodObject<{
1529
1531
  bucketName: string;
1530
1532
  fileSize: number;
1531
1533
  fileUrl: string | null;
1532
- status?: string | undefined;
1533
1534
  }[];
1534
1535
  }, {
1535
1536
  id: string;
@@ -1556,6 +1557,7 @@ export declare const RoomSchema: z.ZodObject<{
1556
1557
  dateValue: Date | null;
1557
1558
  uploads: {
1558
1559
  id: string;
1560
+ status: string | null;
1559
1561
  createdAt: Date;
1560
1562
  updatedAt: Date;
1561
1563
  deletedAt: Date | null;
@@ -1564,7 +1566,6 @@ export declare const RoomSchema: z.ZodObject<{
1564
1566
  bucketName: string;
1565
1567
  fileSize: number;
1566
1568
  fileUrl: string | null;
1567
- status?: string | undefined;
1568
1569
  }[];
1569
1570
  }>, "many">;
1570
1571
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -1704,6 +1705,7 @@ export declare const RoomSchema: z.ZodObject<{
1704
1705
  dateValue: Date | null;
1705
1706
  uploads: {
1706
1707
  id: string;
1708
+ status: string | null;
1707
1709
  createdAt: Date;
1708
1710
  updatedAt: Date;
1709
1711
  deletedAt: Date | null;
@@ -1712,7 +1714,6 @@ export declare const RoomSchema: z.ZodObject<{
1712
1714
  bucketName: string;
1713
1715
  fileSize: number;
1714
1716
  fileUrl: string | null;
1715
- status?: string | undefined;
1716
1717
  }[];
1717
1718
  }[];
1718
1719
  company: {
@@ -1815,6 +1816,7 @@ export declare const RoomSchema: z.ZodObject<{
1815
1816
  dateValue: Date | null;
1816
1817
  uploads: {
1817
1818
  id: string;
1819
+ status: string | null;
1818
1820
  createdAt: Date;
1819
1821
  updatedAt: Date;
1820
1822
  deletedAt: Date | null;
@@ -1823,7 +1825,6 @@ export declare const RoomSchema: z.ZodObject<{
1823
1825
  bucketName: string;
1824
1826
  fileSize: number;
1825
1827
  fileUrl: string | null;
1826
- status?: string | undefined;
1827
1828
  }[];
1828
1829
  }[];
1829
1830
  company: {
@@ -1939,6 +1940,7 @@ export declare const RoomSchema: z.ZodObject<{
1939
1940
  dateValue: Date | null;
1940
1941
  uploads: {
1941
1942
  id: string;
1943
+ status: string | null;
1942
1944
  createdAt: Date;
1943
1945
  updatedAt: Date;
1944
1946
  deletedAt: Date | null;
@@ -1947,7 +1949,6 @@ export declare const RoomSchema: z.ZodObject<{
1947
1949
  bucketName: string;
1948
1950
  fileSize: number;
1949
1951
  fileUrl: string | null;
1950
- status?: string | undefined;
1951
1952
  }[];
1952
1953
  }[];
1953
1954
  company: {
@@ -2065,6 +2066,7 @@ export declare const RoomSchema: z.ZodObject<{
2065
2066
  dateValue: Date | null;
2066
2067
  uploads: {
2067
2068
  id: string;
2069
+ status: string | null;
2068
2070
  createdAt: Date;
2069
2071
  updatedAt: Date;
2070
2072
  deletedAt: Date | null;
@@ -2073,7 +2075,6 @@ export declare const RoomSchema: z.ZodObject<{
2073
2075
  bucketName: string;
2074
2076
  fileSize: number;
2075
2077
  fileUrl: string | null;
2076
- status?: string | undefined;
2077
2078
  }[];
2078
2079
  }[];
2079
2080
  company: {
@@ -2570,35 +2571,44 @@ export declare const RoomSchema: z.ZodObject<{
2570
2571
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2571
2572
  senderId: z.ZodOptional<z.ZodString>;
2572
2573
  whatsapp: z.ZodOptional<z.ZodObject<{
2573
- wabaBusinessId: z.ZodOptional<z.ZodString>;
2574
- wabaExternalId: z.ZodString;
2575
- phoneNumberId: z.ZodString;
2576
- email: z.ZodString;
2577
- clientId: z.ZodOptional<z.ZodString>;
2578
- channelId: z.ZodOptional<z.ZodString>;
2579
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2574
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2575
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2576
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2577
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2578
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2579
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2580
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2581
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2582
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
2580
2583
  apiKey: z.ZodOptional<z.ZodString>;
2581
2584
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2585
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
2582
2586
  }, "strip", z.ZodTypeAny, {
2583
- email: string;
2584
- wabaExternalId: string;
2585
- phoneNumberId: string;
2586
- wabaBusinessId?: string | undefined;
2587
- clientId?: string | undefined;
2588
- channelId?: string | undefined;
2589
- status?: "active" | "pending" | undefined;
2587
+ wabaBusinessId?: string | null | undefined;
2588
+ wabaExternalId?: string | null | undefined;
2589
+ phoneNumberId?: string | null | undefined;
2590
+ email?: string | null | undefined;
2591
+ clientId?: string | null | undefined;
2592
+ channelId?: string | null | undefined;
2593
+ waapiInstanceId?: string | null | undefined;
2594
+ qr?: string | null | undefined;
2595
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2590
2596
  apiKey?: string | undefined;
2591
2597
  tier?: "basic" | "regular" | "premium" | undefined;
2598
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2592
2599
  }, {
2593
- email: string;
2594
- wabaExternalId: string;
2595
- phoneNumberId: string;
2596
- wabaBusinessId?: string | undefined;
2597
- clientId?: string | undefined;
2598
- channelId?: string | undefined;
2599
- status?: "active" | "pending" | undefined;
2600
+ wabaBusinessId?: string | null | undefined;
2601
+ wabaExternalId?: string | null | undefined;
2602
+ phoneNumberId?: string | null | undefined;
2603
+ email?: string | null | undefined;
2604
+ clientId?: string | null | undefined;
2605
+ channelId?: string | null | undefined;
2606
+ waapiInstanceId?: string | null | undefined;
2607
+ qr?: string | null | undefined;
2608
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2600
2609
  apiKey?: string | undefined;
2601
2610
  tier?: "basic" | "regular" | "premium" | undefined;
2611
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2602
2612
  }>>;
2603
2613
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2604
2614
  mobileNumber: z.ZodString;
@@ -2624,15 +2634,18 @@ export declare const RoomSchema: z.ZodObject<{
2624
2634
  additionalCredentials?: any;
2625
2635
  senderId?: string | undefined;
2626
2636
  whatsapp?: {
2627
- email: string;
2628
- wabaExternalId: string;
2629
- phoneNumberId: string;
2630
- wabaBusinessId?: string | undefined;
2631
- clientId?: string | undefined;
2632
- channelId?: string | undefined;
2633
- status?: "active" | "pending" | undefined;
2637
+ wabaBusinessId?: string | null | undefined;
2638
+ wabaExternalId?: string | null | undefined;
2639
+ phoneNumberId?: string | null | undefined;
2640
+ email?: string | null | undefined;
2641
+ clientId?: string | null | undefined;
2642
+ channelId?: string | null | undefined;
2643
+ waapiInstanceId?: string | null | undefined;
2644
+ qr?: string | null | undefined;
2645
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2634
2646
  apiKey?: string | undefined;
2635
2647
  tier?: "basic" | "regular" | "premium" | undefined;
2648
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2636
2649
  } | undefined;
2637
2650
  vonageCredentials?: {
2638
2651
  apiKey: string;
@@ -2650,15 +2663,18 @@ export declare const RoomSchema: z.ZodObject<{
2650
2663
  additionalCredentials?: any;
2651
2664
  senderId?: string | undefined;
2652
2665
  whatsapp?: {
2653
- email: string;
2654
- wabaExternalId: string;
2655
- phoneNumberId: string;
2656
- wabaBusinessId?: string | undefined;
2657
- clientId?: string | undefined;
2658
- channelId?: string | undefined;
2659
- status?: "active" | "pending" | undefined;
2666
+ wabaBusinessId?: string | null | undefined;
2667
+ wabaExternalId?: string | null | undefined;
2668
+ phoneNumberId?: string | null | undefined;
2669
+ email?: string | null | undefined;
2670
+ clientId?: string | null | undefined;
2671
+ channelId?: string | null | undefined;
2672
+ waapiInstanceId?: string | null | undefined;
2673
+ qr?: string | null | undefined;
2674
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2660
2675
  apiKey?: string | undefined;
2661
2676
  tier?: "basic" | "regular" | "premium" | undefined;
2677
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2662
2678
  } | undefined;
2663
2679
  vonageCredentials?: {
2664
2680
  apiKey: string;
@@ -2910,15 +2926,18 @@ export declare const RoomSchema: z.ZodObject<{
2910
2926
  additionalCredentials?: any;
2911
2927
  senderId?: string | undefined;
2912
2928
  whatsapp?: {
2913
- email: string;
2914
- wabaExternalId: string;
2915
- phoneNumberId: string;
2916
- wabaBusinessId?: string | undefined;
2917
- clientId?: string | undefined;
2918
- channelId?: string | undefined;
2919
- status?: "active" | "pending" | undefined;
2929
+ wabaBusinessId?: string | null | undefined;
2930
+ wabaExternalId?: string | null | undefined;
2931
+ phoneNumberId?: string | null | undefined;
2932
+ email?: string | null | undefined;
2933
+ clientId?: string | null | undefined;
2934
+ channelId?: string | null | undefined;
2935
+ waapiInstanceId?: string | null | undefined;
2936
+ qr?: string | null | undefined;
2937
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2920
2938
  apiKey?: string | undefined;
2921
2939
  tier?: "basic" | "regular" | "premium" | undefined;
2940
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2922
2941
  } | undefined;
2923
2942
  vonageCredentials?: {
2924
2943
  apiKey: string;
@@ -3001,15 +3020,18 @@ export declare const RoomSchema: z.ZodObject<{
3001
3020
  additionalCredentials?: any;
3002
3021
  senderId?: string | undefined;
3003
3022
  whatsapp?: {
3004
- email: string;
3005
- wabaExternalId: string;
3006
- phoneNumberId: string;
3007
- wabaBusinessId?: string | undefined;
3008
- clientId?: string | undefined;
3009
- channelId?: string | undefined;
3010
- status?: "active" | "pending" | undefined;
3023
+ wabaBusinessId?: string | null | undefined;
3024
+ wabaExternalId?: string | null | undefined;
3025
+ phoneNumberId?: string | null | undefined;
3026
+ email?: string | null | undefined;
3027
+ clientId?: string | null | undefined;
3028
+ channelId?: string | null | undefined;
3029
+ waapiInstanceId?: string | null | undefined;
3030
+ qr?: string | null | undefined;
3031
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3011
3032
  apiKey?: string | undefined;
3012
3033
  tier?: "basic" | "regular" | "premium" | undefined;
3034
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3013
3035
  } | undefined;
3014
3036
  vonageCredentials?: {
3015
3037
  apiKey: string;
@@ -3656,15 +3678,18 @@ export declare const RoomSchema: z.ZodObject<{
3656
3678
  additionalCredentials?: any;
3657
3679
  senderId?: string | undefined;
3658
3680
  whatsapp?: {
3659
- email: string;
3660
- wabaExternalId: string;
3661
- phoneNumberId: string;
3662
- wabaBusinessId?: string | undefined;
3663
- clientId?: string | undefined;
3664
- channelId?: string | undefined;
3665
- status?: "active" | "pending" | undefined;
3681
+ wabaBusinessId?: string | null | undefined;
3682
+ wabaExternalId?: string | null | undefined;
3683
+ phoneNumberId?: string | null | undefined;
3684
+ email?: string | null | undefined;
3685
+ clientId?: string | null | undefined;
3686
+ channelId?: string | null | undefined;
3687
+ waapiInstanceId?: string | null | undefined;
3688
+ qr?: string | null | undefined;
3689
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3666
3690
  apiKey?: string | undefined;
3667
3691
  tier?: "basic" | "regular" | "premium" | undefined;
3692
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3668
3693
  } | undefined;
3669
3694
  vonageCredentials?: {
3670
3695
  apiKey: string;
@@ -3836,6 +3861,7 @@ export declare const RoomSchema: z.ZodObject<{
3836
3861
  dateValue: Date | null;
3837
3862
  uploads: {
3838
3863
  id: string;
3864
+ status: string | null;
3839
3865
  createdAt: Date;
3840
3866
  updatedAt: Date;
3841
3867
  deletedAt: Date | null;
@@ -3844,7 +3870,6 @@ export declare const RoomSchema: z.ZodObject<{
3844
3870
  bucketName: string;
3845
3871
  fileSize: number;
3846
3872
  fileUrl: string | null;
3847
- status?: string | undefined;
3848
3873
  }[];
3849
3874
  }[];
3850
3875
  company: {
@@ -4080,15 +4105,18 @@ export declare const RoomSchema: z.ZodObject<{
4080
4105
  additionalCredentials?: any;
4081
4106
  senderId?: string | undefined;
4082
4107
  whatsapp?: {
4083
- email: string;
4084
- wabaExternalId: string;
4085
- phoneNumberId: string;
4086
- wabaBusinessId?: string | undefined;
4087
- clientId?: string | undefined;
4088
- channelId?: string | undefined;
4089
- status?: "active" | "pending" | undefined;
4108
+ wabaBusinessId?: string | null | undefined;
4109
+ wabaExternalId?: string | null | undefined;
4110
+ phoneNumberId?: string | null | undefined;
4111
+ email?: string | null | undefined;
4112
+ clientId?: string | null | undefined;
4113
+ channelId?: string | null | undefined;
4114
+ waapiInstanceId?: string | null | undefined;
4115
+ qr?: string | null | undefined;
4116
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4090
4117
  apiKey?: string | undefined;
4091
4118
  tier?: "basic" | "regular" | "premium" | undefined;
4119
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4092
4120
  } | undefined;
4093
4121
  vonageCredentials?: {
4094
4122
  apiKey: string;
@@ -4260,6 +4288,7 @@ export declare const RoomSchema: z.ZodObject<{
4260
4288
  dateValue: Date | null;
4261
4289
  uploads: {
4262
4290
  id: string;
4291
+ status: string | null;
4263
4292
  createdAt: Date;
4264
4293
  updatedAt: Date;
4265
4294
  deletedAt: Date | null;
@@ -4268,7 +4297,6 @@ export declare const RoomSchema: z.ZodObject<{
4268
4297
  bucketName: string;
4269
4298
  fileSize: number;
4270
4299
  fileUrl: string | null;
4271
- status?: string | undefined;
4272
4300
  }[];
4273
4301
  }[];
4274
4302
  company: {
@@ -4501,7 +4529,7 @@ export declare const MessageSchema: z.ZodObject<{
4501
4529
  deletedAt: z.ZodNullable<z.ZodDate>;
4502
4530
  message: z.ZodString;
4503
4531
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4504
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
4532
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
4505
4533
  readAt: z.ZodDate;
4506
4534
  metadata: z.ZodAny;
4507
4535
  platformId: z.ZodString;
@@ -4900,9 +4928,10 @@ export declare const MessageSchema: z.ZodObject<{
4900
4928
  fileSize: z.ZodNumber;
4901
4929
  fileKey: z.ZodString;
4902
4930
  fileUrl: z.ZodNullable<z.ZodString>;
4903
- status: z.ZodOptional<z.ZodString>;
4931
+ status: z.ZodNullable<z.ZodString>;
4904
4932
  }, "strip", z.ZodTypeAny, {
4905
4933
  id: string;
4934
+ status: string | null;
4906
4935
  createdAt: Date;
4907
4936
  updatedAt: Date;
4908
4937
  deletedAt: Date | null;
@@ -4911,9 +4940,9 @@ export declare const MessageSchema: z.ZodObject<{
4911
4940
  bucketName: string;
4912
4941
  fileSize: number;
4913
4942
  fileUrl: string | null;
4914
- status?: string | undefined;
4915
4943
  }, {
4916
4944
  id: string;
4945
+ status: string | null;
4917
4946
  createdAt: Date;
4918
4947
  updatedAt: Date;
4919
4948
  deletedAt: Date | null;
@@ -4922,7 +4951,6 @@ export declare const MessageSchema: z.ZodObject<{
4922
4951
  bucketName: string;
4923
4952
  fileSize: number;
4924
4953
  fileUrl: string | null;
4925
- status?: string | undefined;
4926
4954
  }>, "many">;
4927
4955
  }, "strip", z.ZodTypeAny, {
4928
4956
  id: string;
@@ -4949,6 +4977,7 @@ export declare const MessageSchema: z.ZodObject<{
4949
4977
  dateValue: Date | null;
4950
4978
  uploads: {
4951
4979
  id: string;
4980
+ status: string | null;
4952
4981
  createdAt: Date;
4953
4982
  updatedAt: Date;
4954
4983
  deletedAt: Date | null;
@@ -4957,7 +4986,6 @@ export declare const MessageSchema: z.ZodObject<{
4957
4986
  bucketName: string;
4958
4987
  fileSize: number;
4959
4988
  fileUrl: string | null;
4960
- status?: string | undefined;
4961
4989
  }[];
4962
4990
  }, {
4963
4991
  id: string;
@@ -4984,6 +5012,7 @@ export declare const MessageSchema: z.ZodObject<{
4984
5012
  dateValue: Date | null;
4985
5013
  uploads: {
4986
5014
  id: string;
5015
+ status: string | null;
4987
5016
  createdAt: Date;
4988
5017
  updatedAt: Date;
4989
5018
  deletedAt: Date | null;
@@ -4992,7 +5021,6 @@ export declare const MessageSchema: z.ZodObject<{
4992
5021
  bucketName: string;
4993
5022
  fileSize: number;
4994
5023
  fileUrl: string | null;
4995
- status?: string | undefined;
4996
5024
  }[];
4997
5025
  }>, "many">;
4998
5026
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -5132,6 +5160,7 @@ export declare const MessageSchema: z.ZodObject<{
5132
5160
  dateValue: Date | null;
5133
5161
  uploads: {
5134
5162
  id: string;
5163
+ status: string | null;
5135
5164
  createdAt: Date;
5136
5165
  updatedAt: Date;
5137
5166
  deletedAt: Date | null;
@@ -5140,7 +5169,6 @@ export declare const MessageSchema: z.ZodObject<{
5140
5169
  bucketName: string;
5141
5170
  fileSize: number;
5142
5171
  fileUrl: string | null;
5143
- status?: string | undefined;
5144
5172
  }[];
5145
5173
  }[];
5146
5174
  company: {
@@ -5243,6 +5271,7 @@ export declare const MessageSchema: z.ZodObject<{
5243
5271
  dateValue: Date | null;
5244
5272
  uploads: {
5245
5273
  id: string;
5274
+ status: string | null;
5246
5275
  createdAt: Date;
5247
5276
  updatedAt: Date;
5248
5277
  deletedAt: Date | null;
@@ -5251,7 +5280,6 @@ export declare const MessageSchema: z.ZodObject<{
5251
5280
  bucketName: string;
5252
5281
  fileSize: number;
5253
5282
  fileUrl: string | null;
5254
- status?: string | undefined;
5255
5283
  }[];
5256
5284
  }[];
5257
5285
  company: {
@@ -5367,6 +5395,7 @@ export declare const MessageSchema: z.ZodObject<{
5367
5395
  dateValue: Date | null;
5368
5396
  uploads: {
5369
5397
  id: string;
5398
+ status: string | null;
5370
5399
  createdAt: Date;
5371
5400
  updatedAt: Date;
5372
5401
  deletedAt: Date | null;
@@ -5375,7 +5404,6 @@ export declare const MessageSchema: z.ZodObject<{
5375
5404
  bucketName: string;
5376
5405
  fileSize: number;
5377
5406
  fileUrl: string | null;
5378
- status?: string | undefined;
5379
5407
  }[];
5380
5408
  }[];
5381
5409
  company: {
@@ -5493,6 +5521,7 @@ export declare const MessageSchema: z.ZodObject<{
5493
5521
  dateValue: Date | null;
5494
5522
  uploads: {
5495
5523
  id: string;
5524
+ status: string | null;
5496
5525
  createdAt: Date;
5497
5526
  updatedAt: Date;
5498
5527
  deletedAt: Date | null;
@@ -5501,7 +5530,6 @@ export declare const MessageSchema: z.ZodObject<{
5501
5530
  bucketName: string;
5502
5531
  fileSize: number;
5503
5532
  fileUrl: string | null;
5504
- status?: string | undefined;
5505
5533
  }[];
5506
5534
  }[];
5507
5535
  company: {
@@ -5998,35 +6026,44 @@ export declare const MessageSchema: z.ZodObject<{
5998
6026
  additionalCredentials: z.ZodOptional<z.ZodAny>;
5999
6027
  senderId: z.ZodOptional<z.ZodString>;
6000
6028
  whatsapp: z.ZodOptional<z.ZodObject<{
6001
- wabaBusinessId: z.ZodOptional<z.ZodString>;
6002
- wabaExternalId: z.ZodString;
6003
- phoneNumberId: z.ZodString;
6004
- email: z.ZodString;
6005
- clientId: z.ZodOptional<z.ZodString>;
6006
- channelId: z.ZodOptional<z.ZodString>;
6007
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
6029
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6030
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6031
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6032
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6033
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6034
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6035
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6036
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6037
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
6008
6038
  apiKey: z.ZodOptional<z.ZodString>;
6009
6039
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
6040
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
6010
6041
  }, "strip", z.ZodTypeAny, {
6011
- email: string;
6012
- wabaExternalId: string;
6013
- phoneNumberId: string;
6014
- wabaBusinessId?: string | undefined;
6015
- clientId?: string | undefined;
6016
- channelId?: string | undefined;
6017
- status?: "active" | "pending" | undefined;
6042
+ wabaBusinessId?: string | null | undefined;
6043
+ wabaExternalId?: string | null | undefined;
6044
+ phoneNumberId?: string | null | undefined;
6045
+ email?: string | null | undefined;
6046
+ clientId?: string | null | undefined;
6047
+ channelId?: string | null | undefined;
6048
+ waapiInstanceId?: string | null | undefined;
6049
+ qr?: string | null | undefined;
6050
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6018
6051
  apiKey?: string | undefined;
6019
6052
  tier?: "basic" | "regular" | "premium" | undefined;
6053
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6020
6054
  }, {
6021
- email: string;
6022
- wabaExternalId: string;
6023
- phoneNumberId: string;
6024
- wabaBusinessId?: string | undefined;
6025
- clientId?: string | undefined;
6026
- channelId?: string | undefined;
6027
- status?: "active" | "pending" | undefined;
6055
+ wabaBusinessId?: string | null | undefined;
6056
+ wabaExternalId?: string | null | undefined;
6057
+ phoneNumberId?: string | null | undefined;
6058
+ email?: string | null | undefined;
6059
+ clientId?: string | null | undefined;
6060
+ channelId?: string | null | undefined;
6061
+ waapiInstanceId?: string | null | undefined;
6062
+ qr?: string | null | undefined;
6063
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6028
6064
  apiKey?: string | undefined;
6029
6065
  tier?: "basic" | "regular" | "premium" | undefined;
6066
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6030
6067
  }>>;
6031
6068
  vonageCredentials: z.ZodOptional<z.ZodObject<{
6032
6069
  mobileNumber: z.ZodString;
@@ -6052,15 +6089,18 @@ export declare const MessageSchema: z.ZodObject<{
6052
6089
  additionalCredentials?: any;
6053
6090
  senderId?: string | undefined;
6054
6091
  whatsapp?: {
6055
- email: string;
6056
- wabaExternalId: string;
6057
- phoneNumberId: string;
6058
- wabaBusinessId?: string | undefined;
6059
- clientId?: string | undefined;
6060
- channelId?: string | undefined;
6061
- status?: "active" | "pending" | undefined;
6092
+ wabaBusinessId?: string | null | undefined;
6093
+ wabaExternalId?: string | null | undefined;
6094
+ phoneNumberId?: string | null | undefined;
6095
+ email?: string | null | undefined;
6096
+ clientId?: string | null | undefined;
6097
+ channelId?: string | null | undefined;
6098
+ waapiInstanceId?: string | null | undefined;
6099
+ qr?: string | null | undefined;
6100
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6062
6101
  apiKey?: string | undefined;
6063
6102
  tier?: "basic" | "regular" | "premium" | undefined;
6103
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6064
6104
  } | undefined;
6065
6105
  vonageCredentials?: {
6066
6106
  apiKey: string;
@@ -6078,15 +6118,18 @@ export declare const MessageSchema: z.ZodObject<{
6078
6118
  additionalCredentials?: any;
6079
6119
  senderId?: string | undefined;
6080
6120
  whatsapp?: {
6081
- email: string;
6082
- wabaExternalId: string;
6083
- phoneNumberId: string;
6084
- wabaBusinessId?: string | undefined;
6085
- clientId?: string | undefined;
6086
- channelId?: string | undefined;
6087
- status?: "active" | "pending" | undefined;
6121
+ wabaBusinessId?: string | null | undefined;
6122
+ wabaExternalId?: string | null | undefined;
6123
+ phoneNumberId?: string | null | undefined;
6124
+ email?: string | null | undefined;
6125
+ clientId?: string | null | undefined;
6126
+ channelId?: string | null | undefined;
6127
+ waapiInstanceId?: string | null | undefined;
6128
+ qr?: string | null | undefined;
6129
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6088
6130
  apiKey?: string | undefined;
6089
6131
  tier?: "basic" | "regular" | "premium" | undefined;
6132
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6090
6133
  } | undefined;
6091
6134
  vonageCredentials?: {
6092
6135
  apiKey: string;
@@ -6338,15 +6381,18 @@ export declare const MessageSchema: z.ZodObject<{
6338
6381
  additionalCredentials?: any;
6339
6382
  senderId?: string | undefined;
6340
6383
  whatsapp?: {
6341
- email: string;
6342
- wabaExternalId: string;
6343
- phoneNumberId: string;
6344
- wabaBusinessId?: string | undefined;
6345
- clientId?: string | undefined;
6346
- channelId?: string | undefined;
6347
- status?: "active" | "pending" | undefined;
6384
+ wabaBusinessId?: string | null | undefined;
6385
+ wabaExternalId?: string | null | undefined;
6386
+ phoneNumberId?: string | null | undefined;
6387
+ email?: string | null | undefined;
6388
+ clientId?: string | null | undefined;
6389
+ channelId?: string | null | undefined;
6390
+ waapiInstanceId?: string | null | undefined;
6391
+ qr?: string | null | undefined;
6392
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6348
6393
  apiKey?: string | undefined;
6349
6394
  tier?: "basic" | "regular" | "premium" | undefined;
6395
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6350
6396
  } | undefined;
6351
6397
  vonageCredentials?: {
6352
6398
  apiKey: string;
@@ -6429,15 +6475,18 @@ export declare const MessageSchema: z.ZodObject<{
6429
6475
  additionalCredentials?: any;
6430
6476
  senderId?: string | undefined;
6431
6477
  whatsapp?: {
6432
- email: string;
6433
- wabaExternalId: string;
6434
- phoneNumberId: string;
6435
- wabaBusinessId?: string | undefined;
6436
- clientId?: string | undefined;
6437
- channelId?: string | undefined;
6438
- status?: "active" | "pending" | undefined;
6478
+ wabaBusinessId?: string | null | undefined;
6479
+ wabaExternalId?: string | null | undefined;
6480
+ phoneNumberId?: string | null | undefined;
6481
+ email?: string | null | undefined;
6482
+ clientId?: string | null | undefined;
6483
+ channelId?: string | null | undefined;
6484
+ waapiInstanceId?: string | null | undefined;
6485
+ qr?: string | null | undefined;
6486
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6439
6487
  apiKey?: string | undefined;
6440
6488
  tier?: "basic" | "regular" | "premium" | undefined;
6489
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6441
6490
  } | undefined;
6442
6491
  vonageCredentials?: {
6443
6492
  apiKey: string;
@@ -7084,15 +7133,18 @@ export declare const MessageSchema: z.ZodObject<{
7084
7133
  additionalCredentials?: any;
7085
7134
  senderId?: string | undefined;
7086
7135
  whatsapp?: {
7087
- email: string;
7088
- wabaExternalId: string;
7089
- phoneNumberId: string;
7090
- wabaBusinessId?: string | undefined;
7091
- clientId?: string | undefined;
7092
- channelId?: string | undefined;
7093
- status?: "active" | "pending" | undefined;
7136
+ wabaBusinessId?: string | null | undefined;
7137
+ wabaExternalId?: string | null | undefined;
7138
+ phoneNumberId?: string | null | undefined;
7139
+ email?: string | null | undefined;
7140
+ clientId?: string | null | undefined;
7141
+ channelId?: string | null | undefined;
7142
+ waapiInstanceId?: string | null | undefined;
7143
+ qr?: string | null | undefined;
7144
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7094
7145
  apiKey?: string | undefined;
7095
7146
  tier?: "basic" | "regular" | "premium" | undefined;
7147
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7096
7148
  } | undefined;
7097
7149
  vonageCredentials?: {
7098
7150
  apiKey: string;
@@ -7264,6 +7316,7 @@ export declare const MessageSchema: z.ZodObject<{
7264
7316
  dateValue: Date | null;
7265
7317
  uploads: {
7266
7318
  id: string;
7319
+ status: string | null;
7267
7320
  createdAt: Date;
7268
7321
  updatedAt: Date;
7269
7322
  deletedAt: Date | null;
@@ -7272,7 +7325,6 @@ export declare const MessageSchema: z.ZodObject<{
7272
7325
  bucketName: string;
7273
7326
  fileSize: number;
7274
7327
  fileUrl: string | null;
7275
- status?: string | undefined;
7276
7328
  }[];
7277
7329
  }[];
7278
7330
  company: {
@@ -7508,15 +7560,18 @@ export declare const MessageSchema: z.ZodObject<{
7508
7560
  additionalCredentials?: any;
7509
7561
  senderId?: string | undefined;
7510
7562
  whatsapp?: {
7511
- email: string;
7512
- wabaExternalId: string;
7513
- phoneNumberId: string;
7514
- wabaBusinessId?: string | undefined;
7515
- clientId?: string | undefined;
7516
- channelId?: string | undefined;
7517
- status?: "active" | "pending" | undefined;
7563
+ wabaBusinessId?: string | null | undefined;
7564
+ wabaExternalId?: string | null | undefined;
7565
+ phoneNumberId?: string | null | undefined;
7566
+ email?: string | null | undefined;
7567
+ clientId?: string | null | undefined;
7568
+ channelId?: string | null | undefined;
7569
+ waapiInstanceId?: string | null | undefined;
7570
+ qr?: string | null | undefined;
7571
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7518
7572
  apiKey?: string | undefined;
7519
7573
  tier?: "basic" | "regular" | "premium" | undefined;
7574
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7520
7575
  } | undefined;
7521
7576
  vonageCredentials?: {
7522
7577
  apiKey: string;
@@ -7688,6 +7743,7 @@ export declare const MessageSchema: z.ZodObject<{
7688
7743
  dateValue: Date | null;
7689
7744
  uploads: {
7690
7745
  id: string;
7746
+ status: string | null;
7691
7747
  createdAt: Date;
7692
7748
  updatedAt: Date;
7693
7749
  deletedAt: Date | null;
@@ -7696,7 +7752,6 @@ export declare const MessageSchema: z.ZodObject<{
7696
7752
  bucketName: string;
7697
7753
  fileSize: number;
7698
7754
  fileUrl: string | null;
7699
- status?: string | undefined;
7700
7755
  }[];
7701
7756
  }[];
7702
7757
  company: {
@@ -7929,9 +7984,10 @@ export declare const MessageSchema: z.ZodObject<{
7929
7984
  fileSize: z.ZodNumber;
7930
7985
  fileKey: z.ZodString;
7931
7986
  fileUrl: z.ZodNullable<z.ZodString>;
7932
- status: z.ZodOptional<z.ZodString>;
7987
+ status: z.ZodNullable<z.ZodString>;
7933
7988
  }, "strip", z.ZodTypeAny, {
7934
7989
  id: string;
7990
+ status: string | null;
7935
7991
  createdAt: Date;
7936
7992
  updatedAt: Date;
7937
7993
  deletedAt: Date | null;
@@ -7940,9 +7996,9 @@ export declare const MessageSchema: z.ZodObject<{
7940
7996
  bucketName: string;
7941
7997
  fileSize: number;
7942
7998
  fileUrl: string | null;
7943
- status?: string | undefined;
7944
7999
  }, {
7945
8000
  id: string;
8001
+ status: string | null;
7946
8002
  createdAt: Date;
7947
8003
  updatedAt: Date;
7948
8004
  deletedAt: Date | null;
@@ -7951,7 +8007,6 @@ export declare const MessageSchema: z.ZodObject<{
7951
8007
  bucketName: string;
7952
8008
  fileSize: number;
7953
8009
  fileUrl: string | null;
7954
- status?: string | undefined;
7955
8010
  }>;
7956
8011
  repliedMessage: z.ZodLazy<z.ZodObject<{
7957
8012
  id: z.ZodString;
@@ -7960,7 +8015,7 @@ export declare const MessageSchema: z.ZodObject<{
7960
8015
  deletedAt: z.ZodNullable<z.ZodDate>;
7961
8016
  message: z.ZodString;
7962
8017
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7963
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
8018
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
7964
8019
  readAt: z.ZodDate;
7965
8020
  metadata: z.ZodAny;
7966
8021
  platformId: z.ZodString;
@@ -7981,9 +8036,10 @@ export declare const MessageSchema: z.ZodObject<{
7981
8036
  fileSize: z.ZodNumber;
7982
8037
  fileKey: z.ZodString;
7983
8038
  fileUrl: z.ZodNullable<z.ZodString>;
7984
- status: z.ZodOptional<z.ZodString>;
8039
+ status: z.ZodNullable<z.ZodString>;
7985
8040
  }, "strip", z.ZodTypeAny, {
7986
8041
  id: string;
8042
+ status: string | null;
7987
8043
  createdAt: Date;
7988
8044
  updatedAt: Date;
7989
8045
  deletedAt: Date | null;
@@ -7992,9 +8048,9 @@ export declare const MessageSchema: z.ZodObject<{
7992
8048
  bucketName: string;
7993
8049
  fileSize: number;
7994
8050
  fileUrl: string | null;
7995
- status?: string | undefined;
7996
8051
  }, {
7997
8052
  id: string;
8053
+ status: string | null;
7998
8054
  createdAt: Date;
7999
8055
  updatedAt: Date;
8000
8056
  deletedAt: Date | null;
@@ -8003,7 +8059,6 @@ export declare const MessageSchema: z.ZodObject<{
8003
8059
  bucketName: string;
8004
8060
  fileSize: number;
8005
8061
  fileUrl: string | null;
8006
- status?: string | undefined;
8007
8062
  }>;
8008
8063
  actor: z.ZodObject<{
8009
8064
  id: z.ZodString;
@@ -8618,7 +8673,7 @@ export declare const MessageSchema: z.ZodObject<{
8618
8673
  };
8619
8674
  }>;
8620
8675
  }, "strip", z.ZodTypeAny, {
8621
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
8676
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
8622
8677
  message: string;
8623
8678
  id: string;
8624
8679
  url: string;
@@ -8672,6 +8727,7 @@ export declare const MessageSchema: z.ZodObject<{
8672
8727
  };
8673
8728
  upload: {
8674
8729
  id: string;
8730
+ status: string | null;
8675
8731
  createdAt: Date;
8676
8732
  updatedAt: Date;
8677
8733
  deletedAt: Date | null;
@@ -8680,7 +8736,6 @@ export declare const MessageSchema: z.ZodObject<{
8680
8736
  bucketName: string;
8681
8737
  fileSize: number;
8682
8738
  fileUrl: string | null;
8683
- status?: string | undefined;
8684
8739
  };
8685
8740
  assignee: {
8686
8741
  id: string;
@@ -8780,7 +8835,7 @@ export declare const MessageSchema: z.ZodObject<{
8780
8835
  metadata?: any;
8781
8836
  template?: any;
8782
8837
  }, {
8783
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
8838
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
8784
8839
  message: string;
8785
8840
  id: string;
8786
8841
  url: string;
@@ -8834,6 +8889,7 @@ export declare const MessageSchema: z.ZodObject<{
8834
8889
  };
8835
8890
  upload: {
8836
8891
  id: string;
8892
+ status: string | null;
8837
8893
  createdAt: Date;
8838
8894
  updatedAt: Date;
8839
8895
  deletedAt: Date | null;
@@ -8842,7 +8898,6 @@ export declare const MessageSchema: z.ZodObject<{
8842
8898
  bucketName: string;
8843
8899
  fileSize: number;
8844
8900
  fileUrl: string | null;
8845
- status?: string | undefined;
8846
8901
  };
8847
8902
  assignee: {
8848
8903
  id: string;
@@ -9582,7 +9637,7 @@ export declare const MessageSchema: z.ZodObject<{
9582
9637
  editedMessageid: z.ZodString;
9583
9638
  label: z.ZodOptional<z.ZodString>;
9584
9639
  }, "strip", z.ZodTypeAny, {
9585
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
9640
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
9586
9641
  message: string;
9587
9642
  id: string;
9588
9643
  url: string;
@@ -9636,6 +9691,7 @@ export declare const MessageSchema: z.ZodObject<{
9636
9691
  };
9637
9692
  upload: {
9638
9693
  id: string;
9694
+ status: string | null;
9639
9695
  createdAt: Date;
9640
9696
  updatedAt: Date;
9641
9697
  deletedAt: Date | null;
@@ -9644,7 +9700,6 @@ export declare const MessageSchema: z.ZodObject<{
9644
9700
  bucketName: string;
9645
9701
  fileSize: number;
9646
9702
  fileUrl: string | null;
9647
- status?: string | undefined;
9648
9703
  };
9649
9704
  assignee: {
9650
9705
  id: string;
@@ -9705,15 +9760,18 @@ export declare const MessageSchema: z.ZodObject<{
9705
9760
  additionalCredentials?: any;
9706
9761
  senderId?: string | undefined;
9707
9762
  whatsapp?: {
9708
- email: string;
9709
- wabaExternalId: string;
9710
- phoneNumberId: string;
9711
- wabaBusinessId?: string | undefined;
9712
- clientId?: string | undefined;
9713
- channelId?: string | undefined;
9714
- status?: "active" | "pending" | undefined;
9763
+ wabaBusinessId?: string | null | undefined;
9764
+ wabaExternalId?: string | null | undefined;
9765
+ phoneNumberId?: string | null | undefined;
9766
+ email?: string | null | undefined;
9767
+ clientId?: string | null | undefined;
9768
+ channelId?: string | null | undefined;
9769
+ waapiInstanceId?: string | null | undefined;
9770
+ qr?: string | null | undefined;
9771
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9715
9772
  apiKey?: string | undefined;
9716
9773
  tier?: "basic" | "regular" | "premium" | undefined;
9774
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9717
9775
  } | undefined;
9718
9776
  vonageCredentials?: {
9719
9777
  apiKey: string;
@@ -9885,6 +9943,7 @@ export declare const MessageSchema: z.ZodObject<{
9885
9943
  dateValue: Date | null;
9886
9944
  uploads: {
9887
9945
  id: string;
9946
+ status: string | null;
9888
9947
  createdAt: Date;
9889
9948
  updatedAt: Date;
9890
9949
  deletedAt: Date | null;
@@ -9893,7 +9952,6 @@ export declare const MessageSchema: z.ZodObject<{
9893
9952
  bucketName: string;
9894
9953
  fileSize: number;
9895
9954
  fileUrl: string | null;
9896
- status?: string | undefined;
9897
9955
  }[];
9898
9956
  }[];
9899
9957
  company: {
@@ -10132,7 +10190,7 @@ export declare const MessageSchema: z.ZodObject<{
10132
10190
  previewUrl: string;
10133
10191
  imageSetId: string;
10134
10192
  repliedMessage: {
10135
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10193
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10136
10194
  message: string;
10137
10195
  id: string;
10138
10196
  url: string;
@@ -10186,6 +10244,7 @@ export declare const MessageSchema: z.ZodObject<{
10186
10244
  };
10187
10245
  upload: {
10188
10246
  id: string;
10247
+ status: string | null;
10189
10248
  createdAt: Date;
10190
10249
  updatedAt: Date;
10191
10250
  deletedAt: Date | null;
@@ -10194,7 +10253,6 @@ export declare const MessageSchema: z.ZodObject<{
10194
10253
  bucketName: string;
10195
10254
  fileSize: number;
10196
10255
  fileUrl: string | null;
10197
- status?: string | undefined;
10198
10256
  };
10199
10257
  assignee: {
10200
10258
  id: string;
@@ -10343,7 +10401,7 @@ export declare const MessageSchema: z.ZodObject<{
10343
10401
  template?: any;
10344
10402
  label?: string | undefined;
10345
10403
  }, {
10346
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10404
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10347
10405
  message: string;
10348
10406
  id: string;
10349
10407
  url: string;
@@ -10397,6 +10455,7 @@ export declare const MessageSchema: z.ZodObject<{
10397
10455
  };
10398
10456
  upload: {
10399
10457
  id: string;
10458
+ status: string | null;
10400
10459
  createdAt: Date;
10401
10460
  updatedAt: Date;
10402
10461
  deletedAt: Date | null;
@@ -10405,7 +10464,6 @@ export declare const MessageSchema: z.ZodObject<{
10405
10464
  bucketName: string;
10406
10465
  fileSize: number;
10407
10466
  fileUrl: string | null;
10408
- status?: string | undefined;
10409
10467
  };
10410
10468
  assignee: {
10411
10469
  id: string;
@@ -10466,15 +10524,18 @@ export declare const MessageSchema: z.ZodObject<{
10466
10524
  additionalCredentials?: any;
10467
10525
  senderId?: string | undefined;
10468
10526
  whatsapp?: {
10469
- email: string;
10470
- wabaExternalId: string;
10471
- phoneNumberId: string;
10472
- wabaBusinessId?: string | undefined;
10473
- clientId?: string | undefined;
10474
- channelId?: string | undefined;
10475
- status?: "active" | "pending" | undefined;
10527
+ wabaBusinessId?: string | null | undefined;
10528
+ wabaExternalId?: string | null | undefined;
10529
+ phoneNumberId?: string | null | undefined;
10530
+ email?: string | null | undefined;
10531
+ clientId?: string | null | undefined;
10532
+ channelId?: string | null | undefined;
10533
+ waapiInstanceId?: string | null | undefined;
10534
+ qr?: string | null | undefined;
10535
+ status?: "active" | "pending" | "waapi-qr" | undefined;
10476
10536
  apiKey?: string | undefined;
10477
10537
  tier?: "basic" | "regular" | "premium" | undefined;
10538
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
10478
10539
  } | undefined;
10479
10540
  vonageCredentials?: {
10480
10541
  apiKey: string;
@@ -10646,6 +10707,7 @@ export declare const MessageSchema: z.ZodObject<{
10646
10707
  dateValue: Date | null;
10647
10708
  uploads: {
10648
10709
  id: string;
10710
+ status: string | null;
10649
10711
  createdAt: Date;
10650
10712
  updatedAt: Date;
10651
10713
  deletedAt: Date | null;
@@ -10654,7 +10716,6 @@ export declare const MessageSchema: z.ZodObject<{
10654
10716
  bucketName: string;
10655
10717
  fileSize: number;
10656
10718
  fileUrl: string | null;
10657
- status?: string | undefined;
10658
10719
  }[];
10659
10720
  }[];
10660
10721
  company: {
@@ -10893,7 +10954,7 @@ export declare const MessageSchema: z.ZodObject<{
10893
10954
  previewUrl: string;
10894
10955
  imageSetId: string;
10895
10956
  repliedMessage: {
10896
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10957
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10897
10958
  message: string;
10898
10959
  id: string;
10899
10960
  url: string;
@@ -10947,6 +11008,7 @@ export declare const MessageSchema: z.ZodObject<{
10947
11008
  };
10948
11009
  upload: {
10949
11010
  id: string;
11011
+ status: string | null;
10950
11012
  createdAt: Date;
10951
11013
  updatedAt: Date;
10952
11014
  deletedAt: Date | null;
@@ -10955,7 +11017,6 @@ export declare const MessageSchema: z.ZodObject<{
10955
11017
  bucketName: string;
10956
11018
  fileSize: number;
10957
11019
  fileUrl: string | null;
10958
- status?: string | undefined;
10959
11020
  };
10960
11021
  assignee: {
10961
11022
  id: string;
@@ -11105,7 +11166,7 @@ export declare const MessageSchema: z.ZodObject<{
11105
11166
  label?: string | undefined;
11106
11167
  }>;
11107
11168
  export declare const MessageWithFeedPostSchema: z.ZodObject<{
11108
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
11169
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
11109
11170
  message: z.ZodString;
11110
11171
  id: z.ZodString;
11111
11172
  url: z.ZodString;
@@ -11330,9 +11391,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
11330
11391
  fileSize: z.ZodNumber;
11331
11392
  fileKey: z.ZodString;
11332
11393
  fileUrl: z.ZodNullable<z.ZodString>;
11333
- status: z.ZodOptional<z.ZodString>;
11394
+ status: z.ZodNullable<z.ZodString>;
11334
11395
  }, "strip", z.ZodTypeAny, {
11335
11396
  id: string;
11397
+ status: string | null;
11336
11398
  createdAt: Date;
11337
11399
  updatedAt: Date;
11338
11400
  deletedAt: Date | null;
@@ -11341,9 +11403,9 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
11341
11403
  bucketName: string;
11342
11404
  fileSize: number;
11343
11405
  fileUrl: string | null;
11344
- status?: string | undefined;
11345
11406
  }, {
11346
11407
  id: string;
11408
+ status: string | null;
11347
11409
  createdAt: Date;
11348
11410
  updatedAt: Date;
11349
11411
  deletedAt: Date | null;
@@ -11352,7 +11414,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
11352
11414
  bucketName: string;
11353
11415
  fileSize: number;
11354
11416
  fileUrl: string | null;
11355
- status?: string | undefined;
11356
11417
  }>;
11357
11418
  assignee: z.ZodObject<{
11358
11419
  id: z.ZodString;
@@ -11947,9 +12008,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
11947
12008
  fileSize: z.ZodNumber;
11948
12009
  fileKey: z.ZodString;
11949
12010
  fileUrl: z.ZodNullable<z.ZodString>;
11950
- status: z.ZodOptional<z.ZodString>;
12011
+ status: z.ZodNullable<z.ZodString>;
11951
12012
  }, "strip", z.ZodTypeAny, {
11952
12013
  id: string;
12014
+ status: string | null;
11953
12015
  createdAt: Date;
11954
12016
  updatedAt: Date;
11955
12017
  deletedAt: Date | null;
@@ -11958,9 +12020,9 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
11958
12020
  bucketName: string;
11959
12021
  fileSize: number;
11960
12022
  fileUrl: string | null;
11961
- status?: string | undefined;
11962
12023
  }, {
11963
12024
  id: string;
12025
+ status: string | null;
11964
12026
  createdAt: Date;
11965
12027
  updatedAt: Date;
11966
12028
  deletedAt: Date | null;
@@ -11969,7 +12031,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
11969
12031
  bucketName: string;
11970
12032
  fileSize: number;
11971
12033
  fileUrl: string | null;
11972
- status?: string | undefined;
11973
12034
  }>, "many">;
11974
12035
  }, "strip", z.ZodTypeAny, {
11975
12036
  id: string;
@@ -11996,6 +12057,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
11996
12057
  dateValue: Date | null;
11997
12058
  uploads: {
11998
12059
  id: string;
12060
+ status: string | null;
11999
12061
  createdAt: Date;
12000
12062
  updatedAt: Date;
12001
12063
  deletedAt: Date | null;
@@ -12004,7 +12066,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12004
12066
  bucketName: string;
12005
12067
  fileSize: number;
12006
12068
  fileUrl: string | null;
12007
- status?: string | undefined;
12008
12069
  }[];
12009
12070
  }, {
12010
12071
  id: string;
@@ -12031,6 +12092,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12031
12092
  dateValue: Date | null;
12032
12093
  uploads: {
12033
12094
  id: string;
12095
+ status: string | null;
12034
12096
  createdAt: Date;
12035
12097
  updatedAt: Date;
12036
12098
  deletedAt: Date | null;
@@ -12039,7 +12101,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12039
12101
  bucketName: string;
12040
12102
  fileSize: number;
12041
12103
  fileUrl: string | null;
12042
- status?: string | undefined;
12043
12104
  }[];
12044
12105
  }>, "many">;
12045
12106
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -12179,6 +12240,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12179
12240
  dateValue: Date | null;
12180
12241
  uploads: {
12181
12242
  id: string;
12243
+ status: string | null;
12182
12244
  createdAt: Date;
12183
12245
  updatedAt: Date;
12184
12246
  deletedAt: Date | null;
@@ -12187,7 +12249,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12187
12249
  bucketName: string;
12188
12250
  fileSize: number;
12189
12251
  fileUrl: string | null;
12190
- status?: string | undefined;
12191
12252
  }[];
12192
12253
  }[];
12193
12254
  company: {
@@ -12290,6 +12351,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12290
12351
  dateValue: Date | null;
12291
12352
  uploads: {
12292
12353
  id: string;
12354
+ status: string | null;
12293
12355
  createdAt: Date;
12294
12356
  updatedAt: Date;
12295
12357
  deletedAt: Date | null;
@@ -12298,7 +12360,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12298
12360
  bucketName: string;
12299
12361
  fileSize: number;
12300
12362
  fileUrl: string | null;
12301
- status?: string | undefined;
12302
12363
  }[];
12303
12364
  }[];
12304
12365
  company: {
@@ -12414,6 +12475,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12414
12475
  dateValue: Date | null;
12415
12476
  uploads: {
12416
12477
  id: string;
12478
+ status: string | null;
12417
12479
  createdAt: Date;
12418
12480
  updatedAt: Date;
12419
12481
  deletedAt: Date | null;
@@ -12422,7 +12484,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12422
12484
  bucketName: string;
12423
12485
  fileSize: number;
12424
12486
  fileUrl: string | null;
12425
- status?: string | undefined;
12426
12487
  }[];
12427
12488
  }[];
12428
12489
  company: {
@@ -12540,6 +12601,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12540
12601
  dateValue: Date | null;
12541
12602
  uploads: {
12542
12603
  id: string;
12604
+ status: string | null;
12543
12605
  createdAt: Date;
12544
12606
  updatedAt: Date;
12545
12607
  deletedAt: Date | null;
@@ -12548,7 +12610,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12548
12610
  bucketName: string;
12549
12611
  fileSize: number;
12550
12612
  fileUrl: string | null;
12551
- status?: string | undefined;
12552
12613
  }[];
12553
12614
  }[];
12554
12615
  company: {
@@ -13045,35 +13106,44 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13045
13106
  additionalCredentials: z.ZodOptional<z.ZodAny>;
13046
13107
  senderId: z.ZodOptional<z.ZodString>;
13047
13108
  whatsapp: z.ZodOptional<z.ZodObject<{
13048
- wabaBusinessId: z.ZodOptional<z.ZodString>;
13049
- wabaExternalId: z.ZodString;
13050
- phoneNumberId: z.ZodString;
13051
- email: z.ZodString;
13052
- clientId: z.ZodOptional<z.ZodString>;
13053
- channelId: z.ZodOptional<z.ZodString>;
13054
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
13109
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13110
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13111
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13112
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13113
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13114
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13115
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13116
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13117
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
13055
13118
  apiKey: z.ZodOptional<z.ZodString>;
13056
13119
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
13120
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
13057
13121
  }, "strip", z.ZodTypeAny, {
13058
- email: string;
13059
- wabaExternalId: string;
13060
- phoneNumberId: string;
13061
- wabaBusinessId?: string | undefined;
13062
- clientId?: string | undefined;
13063
- channelId?: string | undefined;
13064
- status?: "active" | "pending" | undefined;
13122
+ wabaBusinessId?: string | null | undefined;
13123
+ wabaExternalId?: string | null | undefined;
13124
+ phoneNumberId?: string | null | undefined;
13125
+ email?: string | null | undefined;
13126
+ clientId?: string | null | undefined;
13127
+ channelId?: string | null | undefined;
13128
+ waapiInstanceId?: string | null | undefined;
13129
+ qr?: string | null | undefined;
13130
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13065
13131
  apiKey?: string | undefined;
13066
13132
  tier?: "basic" | "regular" | "premium" | undefined;
13133
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13067
13134
  }, {
13068
- email: string;
13069
- wabaExternalId: string;
13070
- phoneNumberId: string;
13071
- wabaBusinessId?: string | undefined;
13072
- clientId?: string | undefined;
13073
- channelId?: string | undefined;
13074
- status?: "active" | "pending" | undefined;
13135
+ wabaBusinessId?: string | null | undefined;
13136
+ wabaExternalId?: string | null | undefined;
13137
+ phoneNumberId?: string | null | undefined;
13138
+ email?: string | null | undefined;
13139
+ clientId?: string | null | undefined;
13140
+ channelId?: string | null | undefined;
13141
+ waapiInstanceId?: string | null | undefined;
13142
+ qr?: string | null | undefined;
13143
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13075
13144
  apiKey?: string | undefined;
13076
13145
  tier?: "basic" | "regular" | "premium" | undefined;
13146
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13077
13147
  }>>;
13078
13148
  vonageCredentials: z.ZodOptional<z.ZodObject<{
13079
13149
  mobileNumber: z.ZodString;
@@ -13099,15 +13169,18 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13099
13169
  additionalCredentials?: any;
13100
13170
  senderId?: string | undefined;
13101
13171
  whatsapp?: {
13102
- email: string;
13103
- wabaExternalId: string;
13104
- phoneNumberId: string;
13105
- wabaBusinessId?: string | undefined;
13106
- clientId?: string | undefined;
13107
- channelId?: string | undefined;
13108
- status?: "active" | "pending" | undefined;
13172
+ wabaBusinessId?: string | null | undefined;
13173
+ wabaExternalId?: string | null | undefined;
13174
+ phoneNumberId?: string | null | undefined;
13175
+ email?: string | null | undefined;
13176
+ clientId?: string | null | undefined;
13177
+ channelId?: string | null | undefined;
13178
+ waapiInstanceId?: string | null | undefined;
13179
+ qr?: string | null | undefined;
13180
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13109
13181
  apiKey?: string | undefined;
13110
13182
  tier?: "basic" | "regular" | "premium" | undefined;
13183
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13111
13184
  } | undefined;
13112
13185
  vonageCredentials?: {
13113
13186
  apiKey: string;
@@ -13125,15 +13198,18 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13125
13198
  additionalCredentials?: any;
13126
13199
  senderId?: string | undefined;
13127
13200
  whatsapp?: {
13128
- email: string;
13129
- wabaExternalId: string;
13130
- phoneNumberId: string;
13131
- wabaBusinessId?: string | undefined;
13132
- clientId?: string | undefined;
13133
- channelId?: string | undefined;
13134
- status?: "active" | "pending" | undefined;
13201
+ wabaBusinessId?: string | null | undefined;
13202
+ wabaExternalId?: string | null | undefined;
13203
+ phoneNumberId?: string | null | undefined;
13204
+ email?: string | null | undefined;
13205
+ clientId?: string | null | undefined;
13206
+ channelId?: string | null | undefined;
13207
+ waapiInstanceId?: string | null | undefined;
13208
+ qr?: string | null | undefined;
13209
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13135
13210
  apiKey?: string | undefined;
13136
13211
  tier?: "basic" | "regular" | "premium" | undefined;
13212
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13137
13213
  } | undefined;
13138
13214
  vonageCredentials?: {
13139
13215
  apiKey: string;
@@ -13385,15 +13461,18 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13385
13461
  additionalCredentials?: any;
13386
13462
  senderId?: string | undefined;
13387
13463
  whatsapp?: {
13388
- email: string;
13389
- wabaExternalId: string;
13390
- phoneNumberId: string;
13391
- wabaBusinessId?: string | undefined;
13392
- clientId?: string | undefined;
13393
- channelId?: string | undefined;
13394
- status?: "active" | "pending" | undefined;
13464
+ wabaBusinessId?: string | null | undefined;
13465
+ wabaExternalId?: string | null | undefined;
13466
+ phoneNumberId?: string | null | undefined;
13467
+ email?: string | null | undefined;
13468
+ clientId?: string | null | undefined;
13469
+ channelId?: string | null | undefined;
13470
+ waapiInstanceId?: string | null | undefined;
13471
+ qr?: string | null | undefined;
13472
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13395
13473
  apiKey?: string | undefined;
13396
13474
  tier?: "basic" | "regular" | "premium" | undefined;
13475
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13397
13476
  } | undefined;
13398
13477
  vonageCredentials?: {
13399
13478
  apiKey: string;
@@ -13476,15 +13555,18 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13476
13555
  additionalCredentials?: any;
13477
13556
  senderId?: string | undefined;
13478
13557
  whatsapp?: {
13479
- email: string;
13480
- wabaExternalId: string;
13481
- phoneNumberId: string;
13482
- wabaBusinessId?: string | undefined;
13483
- clientId?: string | undefined;
13484
- channelId?: string | undefined;
13485
- status?: "active" | "pending" | undefined;
13558
+ wabaBusinessId?: string | null | undefined;
13559
+ wabaExternalId?: string | null | undefined;
13560
+ phoneNumberId?: string | null | undefined;
13561
+ email?: string | null | undefined;
13562
+ clientId?: string | null | undefined;
13563
+ channelId?: string | null | undefined;
13564
+ waapiInstanceId?: string | null | undefined;
13565
+ qr?: string | null | undefined;
13566
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13486
13567
  apiKey?: string | undefined;
13487
13568
  tier?: "basic" | "regular" | "premium" | undefined;
13569
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13488
13570
  } | undefined;
13489
13571
  vonageCredentials?: {
13490
13572
  apiKey: string;
@@ -14131,15 +14213,18 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14131
14213
  additionalCredentials?: any;
14132
14214
  senderId?: string | undefined;
14133
14215
  whatsapp?: {
14134
- email: string;
14135
- wabaExternalId: string;
14136
- phoneNumberId: string;
14137
- wabaBusinessId?: string | undefined;
14138
- clientId?: string | undefined;
14139
- channelId?: string | undefined;
14140
- status?: "active" | "pending" | undefined;
14216
+ wabaBusinessId?: string | null | undefined;
14217
+ wabaExternalId?: string | null | undefined;
14218
+ phoneNumberId?: string | null | undefined;
14219
+ email?: string | null | undefined;
14220
+ clientId?: string | null | undefined;
14221
+ channelId?: string | null | undefined;
14222
+ waapiInstanceId?: string | null | undefined;
14223
+ qr?: string | null | undefined;
14224
+ status?: "active" | "pending" | "waapi-qr" | undefined;
14141
14225
  apiKey?: string | undefined;
14142
14226
  tier?: "basic" | "regular" | "premium" | undefined;
14227
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
14143
14228
  } | undefined;
14144
14229
  vonageCredentials?: {
14145
14230
  apiKey: string;
@@ -14311,6 +14396,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14311
14396
  dateValue: Date | null;
14312
14397
  uploads: {
14313
14398
  id: string;
14399
+ status: string | null;
14314
14400
  createdAt: Date;
14315
14401
  updatedAt: Date;
14316
14402
  deletedAt: Date | null;
@@ -14319,7 +14405,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14319
14405
  bucketName: string;
14320
14406
  fileSize: number;
14321
14407
  fileUrl: string | null;
14322
- status?: string | undefined;
14323
14408
  }[];
14324
14409
  }[];
14325
14410
  company: {
@@ -14555,15 +14640,18 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14555
14640
  additionalCredentials?: any;
14556
14641
  senderId?: string | undefined;
14557
14642
  whatsapp?: {
14558
- email: string;
14559
- wabaExternalId: string;
14560
- phoneNumberId: string;
14561
- wabaBusinessId?: string | undefined;
14562
- clientId?: string | undefined;
14563
- channelId?: string | undefined;
14564
- status?: "active" | "pending" | undefined;
14643
+ wabaBusinessId?: string | null | undefined;
14644
+ wabaExternalId?: string | null | undefined;
14645
+ phoneNumberId?: string | null | undefined;
14646
+ email?: string | null | undefined;
14647
+ clientId?: string | null | undefined;
14648
+ channelId?: string | null | undefined;
14649
+ waapiInstanceId?: string | null | undefined;
14650
+ qr?: string | null | undefined;
14651
+ status?: "active" | "pending" | "waapi-qr" | undefined;
14565
14652
  apiKey?: string | undefined;
14566
14653
  tier?: "basic" | "regular" | "premium" | undefined;
14654
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
14567
14655
  } | undefined;
14568
14656
  vonageCredentials?: {
14569
14657
  apiKey: string;
@@ -14735,6 +14823,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14735
14823
  dateValue: Date | null;
14736
14824
  uploads: {
14737
14825
  id: string;
14826
+ status: string | null;
14738
14827
  createdAt: Date;
14739
14828
  updatedAt: Date;
14740
14829
  deletedAt: Date | null;
@@ -14743,7 +14832,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14743
14832
  bucketName: string;
14744
14833
  fileSize: number;
14745
14834
  fileUrl: string | null;
14746
- status?: string | undefined;
14747
14835
  }[];
14748
14836
  }[];
14749
14837
  company: {
@@ -15004,7 +15092,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15004
15092
  deletedAt: z.ZodNullable<z.ZodDate>;
15005
15093
  message: z.ZodString;
15006
15094
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
15007
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
15095
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
15008
15096
  readAt: z.ZodDate;
15009
15097
  metadata: z.ZodAny;
15010
15098
  platformId: z.ZodString;
@@ -15025,9 +15113,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15025
15113
  fileSize: z.ZodNumber;
15026
15114
  fileKey: z.ZodString;
15027
15115
  fileUrl: z.ZodNullable<z.ZodString>;
15028
- status: z.ZodOptional<z.ZodString>;
15116
+ status: z.ZodNullable<z.ZodString>;
15029
15117
  }, "strip", z.ZodTypeAny, {
15030
15118
  id: string;
15119
+ status: string | null;
15031
15120
  createdAt: Date;
15032
15121
  updatedAt: Date;
15033
15122
  deletedAt: Date | null;
@@ -15036,9 +15125,9 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15036
15125
  bucketName: string;
15037
15126
  fileSize: number;
15038
15127
  fileUrl: string | null;
15039
- status?: string | undefined;
15040
15128
  }, {
15041
15129
  id: string;
15130
+ status: string | null;
15042
15131
  createdAt: Date;
15043
15132
  updatedAt: Date;
15044
15133
  deletedAt: Date | null;
@@ -15047,7 +15136,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15047
15136
  bucketName: string;
15048
15137
  fileSize: number;
15049
15138
  fileUrl: string | null;
15050
- status?: string | undefined;
15051
15139
  }>;
15052
15140
  actor: z.ZodObject<{
15053
15141
  id: z.ZodString;
@@ -15662,7 +15750,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15662
15750
  };
15663
15751
  }>;
15664
15752
  }, "strip", z.ZodTypeAny, {
15665
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15753
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15666
15754
  message: string;
15667
15755
  id: string;
15668
15756
  url: string;
@@ -15716,6 +15804,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15716
15804
  };
15717
15805
  upload: {
15718
15806
  id: string;
15807
+ status: string | null;
15719
15808
  createdAt: Date;
15720
15809
  updatedAt: Date;
15721
15810
  deletedAt: Date | null;
@@ -15724,7 +15813,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15724
15813
  bucketName: string;
15725
15814
  fileSize: number;
15726
15815
  fileUrl: string | null;
15727
- status?: string | undefined;
15728
15816
  };
15729
15817
  assignee: {
15730
15818
  id: string;
@@ -15824,7 +15912,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15824
15912
  metadata?: any;
15825
15913
  template?: any;
15826
15914
  }, {
15827
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15915
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15828
15916
  message: string;
15829
15917
  id: string;
15830
15918
  url: string;
@@ -15878,6 +15966,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15878
15966
  };
15879
15967
  upload: {
15880
15968
  id: string;
15969
+ status: string | null;
15881
15970
  createdAt: Date;
15882
15971
  updatedAt: Date;
15883
15972
  deletedAt: Date | null;
@@ -15886,7 +15975,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15886
15975
  bucketName: string;
15887
15976
  fileSize: number;
15888
15977
  fileUrl: string | null;
15889
- status?: string | undefined;
15890
15978
  };
15891
15979
  assignee: {
15892
15980
  id: string;
@@ -16199,7 +16287,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16199
16287
  updatedAt: z.ZodDate;
16200
16288
  deletedAt: z.ZodNullable<z.ZodDate>;
16201
16289
  message: z.ZodNullable<z.ZodString>;
16202
- type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>]>;
16290
+ type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>]>;
16203
16291
  metadata: z.ZodAny;
16204
16292
  platformId: z.ZodString;
16205
16293
  platformMessageId: z.ZodString;
@@ -16222,35 +16310,44 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16222
16310
  additionalCredentials: z.ZodOptional<z.ZodAny>;
16223
16311
  senderId: z.ZodOptional<z.ZodString>;
16224
16312
  whatsapp: z.ZodOptional<z.ZodObject<{
16225
- wabaBusinessId: z.ZodOptional<z.ZodString>;
16226
- wabaExternalId: z.ZodString;
16227
- phoneNumberId: z.ZodString;
16228
- email: z.ZodString;
16229
- clientId: z.ZodOptional<z.ZodString>;
16230
- channelId: z.ZodOptional<z.ZodString>;
16231
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
16313
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16314
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16315
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16316
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16317
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16318
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16319
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16320
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16321
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
16232
16322
  apiKey: z.ZodOptional<z.ZodString>;
16233
16323
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
16324
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
16234
16325
  }, "strip", z.ZodTypeAny, {
16235
- email: string;
16236
- wabaExternalId: string;
16237
- phoneNumberId: string;
16238
- wabaBusinessId?: string | undefined;
16239
- clientId?: string | undefined;
16240
- channelId?: string | undefined;
16241
- status?: "active" | "pending" | undefined;
16326
+ wabaBusinessId?: string | null | undefined;
16327
+ wabaExternalId?: string | null | undefined;
16328
+ phoneNumberId?: string | null | undefined;
16329
+ email?: string | null | undefined;
16330
+ clientId?: string | null | undefined;
16331
+ channelId?: string | null | undefined;
16332
+ waapiInstanceId?: string | null | undefined;
16333
+ qr?: string | null | undefined;
16334
+ status?: "active" | "pending" | "waapi-qr" | undefined;
16242
16335
  apiKey?: string | undefined;
16243
16336
  tier?: "basic" | "regular" | "premium" | undefined;
16337
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
16244
16338
  }, {
16245
- email: string;
16246
- wabaExternalId: string;
16247
- phoneNumberId: string;
16248
- wabaBusinessId?: string | undefined;
16249
- clientId?: string | undefined;
16250
- channelId?: string | undefined;
16251
- status?: "active" | "pending" | undefined;
16339
+ wabaBusinessId?: string | null | undefined;
16340
+ wabaExternalId?: string | null | undefined;
16341
+ phoneNumberId?: string | null | undefined;
16342
+ email?: string | null | undefined;
16343
+ clientId?: string | null | undefined;
16344
+ channelId?: string | null | undefined;
16345
+ waapiInstanceId?: string | null | undefined;
16346
+ qr?: string | null | undefined;
16347
+ status?: "active" | "pending" | "waapi-qr" | undefined;
16252
16348
  apiKey?: string | undefined;
16253
16349
  tier?: "basic" | "regular" | "premium" | undefined;
16350
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
16254
16351
  }>>;
16255
16352
  vonageCredentials: z.ZodOptional<z.ZodObject<{
16256
16353
  mobileNumber: z.ZodString;
@@ -16276,15 +16373,18 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16276
16373
  additionalCredentials?: any;
16277
16374
  senderId?: string | undefined;
16278
16375
  whatsapp?: {
16279
- email: string;
16280
- wabaExternalId: string;
16281
- phoneNumberId: string;
16282
- wabaBusinessId?: string | undefined;
16283
- clientId?: string | undefined;
16284
- channelId?: string | undefined;
16285
- status?: "active" | "pending" | undefined;
16376
+ wabaBusinessId?: string | null | undefined;
16377
+ wabaExternalId?: string | null | undefined;
16378
+ phoneNumberId?: string | null | undefined;
16379
+ email?: string | null | undefined;
16380
+ clientId?: string | null | undefined;
16381
+ channelId?: string | null | undefined;
16382
+ waapiInstanceId?: string | null | undefined;
16383
+ qr?: string | null | undefined;
16384
+ status?: "active" | "pending" | "waapi-qr" | undefined;
16286
16385
  apiKey?: string | undefined;
16287
16386
  tier?: "basic" | "regular" | "premium" | undefined;
16387
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
16288
16388
  } | undefined;
16289
16389
  vonageCredentials?: {
16290
16390
  apiKey: string;
@@ -16302,15 +16402,18 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16302
16402
  additionalCredentials?: any;
16303
16403
  senderId?: string | undefined;
16304
16404
  whatsapp?: {
16305
- email: string;
16306
- wabaExternalId: string;
16307
- phoneNumberId: string;
16308
- wabaBusinessId?: string | undefined;
16309
- clientId?: string | undefined;
16310
- channelId?: string | undefined;
16311
- status?: "active" | "pending" | undefined;
16405
+ wabaBusinessId?: string | null | undefined;
16406
+ wabaExternalId?: string | null | undefined;
16407
+ phoneNumberId?: string | null | undefined;
16408
+ email?: string | null | undefined;
16409
+ clientId?: string | null | undefined;
16410
+ channelId?: string | null | undefined;
16411
+ waapiInstanceId?: string | null | undefined;
16412
+ qr?: string | null | undefined;
16413
+ status?: "active" | "pending" | "waapi-qr" | undefined;
16312
16414
  apiKey?: string | undefined;
16313
16415
  tier?: "basic" | "regular" | "premium" | undefined;
16416
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
16314
16417
  } | undefined;
16315
16418
  vonageCredentials?: {
16316
16419
  apiKey: string;
@@ -16562,15 +16665,18 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16562
16665
  additionalCredentials?: any;
16563
16666
  senderId?: string | undefined;
16564
16667
  whatsapp?: {
16565
- email: string;
16566
- wabaExternalId: string;
16567
- phoneNumberId: string;
16568
- wabaBusinessId?: string | undefined;
16569
- clientId?: string | undefined;
16570
- channelId?: string | undefined;
16571
- status?: "active" | "pending" | undefined;
16668
+ wabaBusinessId?: string | null | undefined;
16669
+ wabaExternalId?: string | null | undefined;
16670
+ phoneNumberId?: string | null | undefined;
16671
+ email?: string | null | undefined;
16672
+ clientId?: string | null | undefined;
16673
+ channelId?: string | null | undefined;
16674
+ waapiInstanceId?: string | null | undefined;
16675
+ qr?: string | null | undefined;
16676
+ status?: "active" | "pending" | "waapi-qr" | undefined;
16572
16677
  apiKey?: string | undefined;
16573
16678
  tier?: "basic" | "regular" | "premium" | undefined;
16679
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
16574
16680
  } | undefined;
16575
16681
  vonageCredentials?: {
16576
16682
  apiKey: string;
@@ -16653,15 +16759,18 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16653
16759
  additionalCredentials?: any;
16654
16760
  senderId?: string | undefined;
16655
16761
  whatsapp?: {
16656
- email: string;
16657
- wabaExternalId: string;
16658
- phoneNumberId: string;
16659
- wabaBusinessId?: string | undefined;
16660
- clientId?: string | undefined;
16661
- channelId?: string | undefined;
16662
- status?: "active" | "pending" | undefined;
16762
+ wabaBusinessId?: string | null | undefined;
16763
+ wabaExternalId?: string | null | undefined;
16764
+ phoneNumberId?: string | null | undefined;
16765
+ email?: string | null | undefined;
16766
+ clientId?: string | null | undefined;
16767
+ channelId?: string | null | undefined;
16768
+ waapiInstanceId?: string | null | undefined;
16769
+ qr?: string | null | undefined;
16770
+ status?: "active" | "pending" | "waapi-qr" | undefined;
16663
16771
  apiKey?: string | undefined;
16664
16772
  tier?: "basic" | "regular" | "premium" | undefined;
16773
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
16665
16774
  } | undefined;
16666
16775
  vonageCredentials?: {
16667
16776
  apiKey: string;
@@ -17105,9 +17214,10 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17105
17214
  fileSize: z.ZodNumber;
17106
17215
  fileKey: z.ZodString;
17107
17216
  fileUrl: z.ZodNullable<z.ZodString>;
17108
- status: z.ZodOptional<z.ZodString>;
17217
+ status: z.ZodNullable<z.ZodString>;
17109
17218
  }, "strip", z.ZodTypeAny, {
17110
17219
  id: string;
17220
+ status: string | null;
17111
17221
  createdAt: Date;
17112
17222
  updatedAt: Date;
17113
17223
  deletedAt: Date | null;
@@ -17116,9 +17226,9 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17116
17226
  bucketName: string;
17117
17227
  fileSize: number;
17118
17228
  fileUrl: string | null;
17119
- status?: string | undefined;
17120
17229
  }, {
17121
17230
  id: string;
17231
+ status: string | null;
17122
17232
  createdAt: Date;
17123
17233
  updatedAt: Date;
17124
17234
  deletedAt: Date | null;
@@ -17127,7 +17237,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17127
17237
  bucketName: string;
17128
17238
  fileSize: number;
17129
17239
  fileUrl: string | null;
17130
- status?: string | undefined;
17131
17240
  }>, "many">;
17132
17241
  }, "strip", z.ZodTypeAny, {
17133
17242
  id: string;
@@ -17154,6 +17263,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17154
17263
  dateValue: Date | null;
17155
17264
  uploads: {
17156
17265
  id: string;
17266
+ status: string | null;
17157
17267
  createdAt: Date;
17158
17268
  updatedAt: Date;
17159
17269
  deletedAt: Date | null;
@@ -17162,7 +17272,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17162
17272
  bucketName: string;
17163
17273
  fileSize: number;
17164
17274
  fileUrl: string | null;
17165
- status?: string | undefined;
17166
17275
  }[];
17167
17276
  }, {
17168
17277
  id: string;
@@ -17189,6 +17298,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17189
17298
  dateValue: Date | null;
17190
17299
  uploads: {
17191
17300
  id: string;
17301
+ status: string | null;
17192
17302
  createdAt: Date;
17193
17303
  updatedAt: Date;
17194
17304
  deletedAt: Date | null;
@@ -17197,7 +17307,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17197
17307
  bucketName: string;
17198
17308
  fileSize: number;
17199
17309
  fileUrl: string | null;
17200
- status?: string | undefined;
17201
17310
  }[];
17202
17311
  }>, "many">;
17203
17312
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -17337,6 +17446,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17337
17446
  dateValue: Date | null;
17338
17447
  uploads: {
17339
17448
  id: string;
17449
+ status: string | null;
17340
17450
  createdAt: Date;
17341
17451
  updatedAt: Date;
17342
17452
  deletedAt: Date | null;
@@ -17345,7 +17455,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17345
17455
  bucketName: string;
17346
17456
  fileSize: number;
17347
17457
  fileUrl: string | null;
17348
- status?: string | undefined;
17349
17458
  }[];
17350
17459
  }[];
17351
17460
  company: {
@@ -17448,6 +17557,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17448
17557
  dateValue: Date | null;
17449
17558
  uploads: {
17450
17559
  id: string;
17560
+ status: string | null;
17451
17561
  createdAt: Date;
17452
17562
  updatedAt: Date;
17453
17563
  deletedAt: Date | null;
@@ -17456,7 +17566,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17456
17566
  bucketName: string;
17457
17567
  fileSize: number;
17458
17568
  fileUrl: string | null;
17459
- status?: string | undefined;
17460
17569
  }[];
17461
17570
  }[];
17462
17571
  company: {
@@ -17572,6 +17681,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17572
17681
  dateValue: Date | null;
17573
17682
  uploads: {
17574
17683
  id: string;
17684
+ status: string | null;
17575
17685
  createdAt: Date;
17576
17686
  updatedAt: Date;
17577
17687
  deletedAt: Date | null;
@@ -17580,7 +17690,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17580
17690
  bucketName: string;
17581
17691
  fileSize: number;
17582
17692
  fileUrl: string | null;
17583
- status?: string | undefined;
17584
17693
  }[];
17585
17694
  }[];
17586
17695
  company: {
@@ -17698,6 +17807,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17698
17807
  dateValue: Date | null;
17699
17808
  uploads: {
17700
17809
  id: string;
17810
+ status: string | null;
17701
17811
  createdAt: Date;
17702
17812
  updatedAt: Date;
17703
17813
  deletedAt: Date | null;
@@ -17706,7 +17816,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17706
17816
  bucketName: string;
17707
17817
  fileSize: number;
17708
17818
  fileUrl: string | null;
17709
- status?: string | undefined;
17710
17819
  }[];
17711
17820
  }[];
17712
17821
  company: {
@@ -17986,7 +18095,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17986
18095
  }>;
17987
18096
  permalinkURL: z.ZodString;
17988
18097
  }, "strip", z.ZodTypeAny, {
17989
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18098
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17990
18099
  message: string | null;
17991
18100
  id: string;
17992
18101
  channel: {
@@ -18001,15 +18110,18 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18001
18110
  additionalCredentials?: any;
18002
18111
  senderId?: string | undefined;
18003
18112
  whatsapp?: {
18004
- email: string;
18005
- wabaExternalId: string;
18006
- phoneNumberId: string;
18007
- wabaBusinessId?: string | undefined;
18008
- clientId?: string | undefined;
18009
- channelId?: string | undefined;
18010
- status?: "active" | "pending" | undefined;
18113
+ wabaBusinessId?: string | null | undefined;
18114
+ wabaExternalId?: string | null | undefined;
18115
+ phoneNumberId?: string | null | undefined;
18116
+ email?: string | null | undefined;
18117
+ clientId?: string | null | undefined;
18118
+ channelId?: string | null | undefined;
18119
+ waapiInstanceId?: string | null | undefined;
18120
+ qr?: string | null | undefined;
18121
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18011
18122
  apiKey?: string | undefined;
18012
18123
  tier?: "basic" | "regular" | "premium" | undefined;
18124
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18013
18125
  } | undefined;
18014
18126
  vonageCredentials?: {
18015
18127
  apiKey: string;
@@ -18174,6 +18286,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18174
18286
  dateValue: Date | null;
18175
18287
  uploads: {
18176
18288
  id: string;
18289
+ status: string | null;
18177
18290
  createdAt: Date;
18178
18291
  updatedAt: Date;
18179
18292
  deletedAt: Date | null;
@@ -18182,7 +18295,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18182
18295
  bucketName: string;
18183
18296
  fileSize: number;
18184
18297
  fileUrl: string | null;
18185
- status?: string | undefined;
18186
18298
  }[];
18187
18299
  }[];
18188
18300
  company: {
@@ -18264,7 +18376,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18264
18376
  metadata?: any;
18265
18377
  template?: any;
18266
18378
  }, {
18267
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18379
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18268
18380
  message: string | null;
18269
18381
  id: string;
18270
18382
  channel: {
@@ -18279,15 +18391,18 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18279
18391
  additionalCredentials?: any;
18280
18392
  senderId?: string | undefined;
18281
18393
  whatsapp?: {
18282
- email: string;
18283
- wabaExternalId: string;
18284
- phoneNumberId: string;
18285
- wabaBusinessId?: string | undefined;
18286
- clientId?: string | undefined;
18287
- channelId?: string | undefined;
18288
- status?: "active" | "pending" | undefined;
18394
+ wabaBusinessId?: string | null | undefined;
18395
+ wabaExternalId?: string | null | undefined;
18396
+ phoneNumberId?: string | null | undefined;
18397
+ email?: string | null | undefined;
18398
+ clientId?: string | null | undefined;
18399
+ channelId?: string | null | undefined;
18400
+ waapiInstanceId?: string | null | undefined;
18401
+ qr?: string | null | undefined;
18402
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18289
18403
  apiKey?: string | undefined;
18290
18404
  tier?: "basic" | "regular" | "premium" | undefined;
18405
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18291
18406
  } | undefined;
18292
18407
  vonageCredentials?: {
18293
18408
  apiKey: string;
@@ -18452,6 +18567,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18452
18567
  dateValue: Date | null;
18453
18568
  uploads: {
18454
18569
  id: string;
18570
+ status: string | null;
18455
18571
  createdAt: Date;
18456
18572
  updatedAt: Date;
18457
18573
  deletedAt: Date | null;
@@ -18460,7 +18576,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18460
18576
  bucketName: string;
18461
18577
  fileSize: number;
18462
18578
  fileUrl: string | null;
18463
- status?: string | undefined;
18464
18579
  }[];
18465
18580
  }[];
18466
18581
  company: {
@@ -18544,7 +18659,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18544
18659
  }>>;
18545
18660
  replyReaction: z.ZodNullable<z.ZodString>;
18546
18661
  }, "strip", z.ZodTypeAny, {
18547
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18662
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18548
18663
  message: string;
18549
18664
  id: string;
18550
18665
  url: string;
@@ -18598,6 +18713,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18598
18713
  };
18599
18714
  upload: {
18600
18715
  id: string;
18716
+ status: string | null;
18601
18717
  createdAt: Date;
18602
18718
  updatedAt: Date;
18603
18719
  deletedAt: Date | null;
@@ -18606,7 +18722,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18606
18722
  bucketName: string;
18607
18723
  fileSize: number;
18608
18724
  fileUrl: string | null;
18609
- status?: string | undefined;
18610
18725
  };
18611
18726
  assignee: {
18612
18727
  id: string;
@@ -18667,15 +18782,18 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18667
18782
  additionalCredentials?: any;
18668
18783
  senderId?: string | undefined;
18669
18784
  whatsapp?: {
18670
- email: string;
18671
- wabaExternalId: string;
18672
- phoneNumberId: string;
18673
- wabaBusinessId?: string | undefined;
18674
- clientId?: string | undefined;
18675
- channelId?: string | undefined;
18676
- status?: "active" | "pending" | undefined;
18785
+ wabaBusinessId?: string | null | undefined;
18786
+ wabaExternalId?: string | null | undefined;
18787
+ phoneNumberId?: string | null | undefined;
18788
+ email?: string | null | undefined;
18789
+ clientId?: string | null | undefined;
18790
+ channelId?: string | null | undefined;
18791
+ waapiInstanceId?: string | null | undefined;
18792
+ qr?: string | null | undefined;
18793
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18677
18794
  apiKey?: string | undefined;
18678
18795
  tier?: "basic" | "regular" | "premium" | undefined;
18796
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18679
18797
  } | undefined;
18680
18798
  vonageCredentials?: {
18681
18799
  apiKey: string;
@@ -18847,6 +18965,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18847
18965
  dateValue: Date | null;
18848
18966
  uploads: {
18849
18967
  id: string;
18968
+ status: string | null;
18850
18969
  createdAt: Date;
18851
18970
  updatedAt: Date;
18852
18971
  deletedAt: Date | null;
@@ -18855,7 +18974,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18855
18974
  bucketName: string;
18856
18975
  fileSize: number;
18857
18976
  fileUrl: string | null;
18858
- status?: string | undefined;
18859
18977
  }[];
18860
18978
  }[];
18861
18979
  company: {
@@ -19094,7 +19212,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19094
19212
  previewUrl: string;
19095
19213
  imageSetId: string;
19096
19214
  repliedMessage: {
19097
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19215
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19098
19216
  message: string;
19099
19217
  id: string;
19100
19218
  url: string;
@@ -19148,6 +19266,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19148
19266
  };
19149
19267
  upload: {
19150
19268
  id: string;
19269
+ status: string | null;
19151
19270
  createdAt: Date;
19152
19271
  updatedAt: Date;
19153
19272
  deletedAt: Date | null;
@@ -19156,7 +19275,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19156
19275
  bucketName: string;
19157
19276
  fileSize: number;
19158
19277
  fileUrl: string | null;
19159
- status?: string | undefined;
19160
19278
  };
19161
19279
  assignee: {
19162
19280
  id: string;
@@ -19304,7 +19422,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19304
19422
  parentMessageId: string | null;
19305
19423
  feedPostId: string | null;
19306
19424
  feedPost: {
19307
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19425
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19308
19426
  message: string | null;
19309
19427
  id: string;
19310
19428
  channel: {
@@ -19319,15 +19437,18 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19319
19437
  additionalCredentials?: any;
19320
19438
  senderId?: string | undefined;
19321
19439
  whatsapp?: {
19322
- email: string;
19323
- wabaExternalId: string;
19324
- phoneNumberId: string;
19325
- wabaBusinessId?: string | undefined;
19326
- clientId?: string | undefined;
19327
- channelId?: string | undefined;
19328
- status?: "active" | "pending" | undefined;
19440
+ wabaBusinessId?: string | null | undefined;
19441
+ wabaExternalId?: string | null | undefined;
19442
+ phoneNumberId?: string | null | undefined;
19443
+ email?: string | null | undefined;
19444
+ clientId?: string | null | undefined;
19445
+ channelId?: string | null | undefined;
19446
+ waapiInstanceId?: string | null | undefined;
19447
+ qr?: string | null | undefined;
19448
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19329
19449
  apiKey?: string | undefined;
19330
19450
  tier?: "basic" | "regular" | "premium" | undefined;
19451
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19331
19452
  } | undefined;
19332
19453
  vonageCredentials?: {
19333
19454
  apiKey: string;
@@ -19492,6 +19613,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19492
19613
  dateValue: Date | null;
19493
19614
  uploads: {
19494
19615
  id: string;
19616
+ status: string | null;
19495
19617
  createdAt: Date;
19496
19618
  updatedAt: Date;
19497
19619
  deletedAt: Date | null;
@@ -19500,7 +19622,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19500
19622
  bucketName: string;
19501
19623
  fileSize: number;
19502
19624
  fileUrl: string | null;
19503
- status?: string | undefined;
19504
19625
  }[];
19505
19626
  }[];
19506
19627
  company: {
@@ -19587,7 +19708,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19587
19708
  template?: any;
19588
19709
  metadata?: any;
19589
19710
  }, {
19590
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19711
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19591
19712
  message: string;
19592
19713
  id: string;
19593
19714
  url: string;
@@ -19641,6 +19762,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19641
19762
  };
19642
19763
  upload: {
19643
19764
  id: string;
19765
+ status: string | null;
19644
19766
  createdAt: Date;
19645
19767
  updatedAt: Date;
19646
19768
  deletedAt: Date | null;
@@ -19649,7 +19771,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19649
19771
  bucketName: string;
19650
19772
  fileSize: number;
19651
19773
  fileUrl: string | null;
19652
- status?: string | undefined;
19653
19774
  };
19654
19775
  assignee: {
19655
19776
  id: string;
@@ -19710,15 +19831,18 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19710
19831
  additionalCredentials?: any;
19711
19832
  senderId?: string | undefined;
19712
19833
  whatsapp?: {
19713
- email: string;
19714
- wabaExternalId: string;
19715
- phoneNumberId: string;
19716
- wabaBusinessId?: string | undefined;
19717
- clientId?: string | undefined;
19718
- channelId?: string | undefined;
19719
- status?: "active" | "pending" | undefined;
19834
+ wabaBusinessId?: string | null | undefined;
19835
+ wabaExternalId?: string | null | undefined;
19836
+ phoneNumberId?: string | null | undefined;
19837
+ email?: string | null | undefined;
19838
+ clientId?: string | null | undefined;
19839
+ channelId?: string | null | undefined;
19840
+ waapiInstanceId?: string | null | undefined;
19841
+ qr?: string | null | undefined;
19842
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19720
19843
  apiKey?: string | undefined;
19721
19844
  tier?: "basic" | "regular" | "premium" | undefined;
19845
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19722
19846
  } | undefined;
19723
19847
  vonageCredentials?: {
19724
19848
  apiKey: string;
@@ -19890,6 +20014,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19890
20014
  dateValue: Date | null;
19891
20015
  uploads: {
19892
20016
  id: string;
20017
+ status: string | null;
19893
20018
  createdAt: Date;
19894
20019
  updatedAt: Date;
19895
20020
  deletedAt: Date | null;
@@ -19898,7 +20023,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19898
20023
  bucketName: string;
19899
20024
  fileSize: number;
19900
20025
  fileUrl: string | null;
19901
- status?: string | undefined;
19902
20026
  }[];
19903
20027
  }[];
19904
20028
  company: {
@@ -20137,7 +20261,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20137
20261
  previewUrl: string;
20138
20262
  imageSetId: string;
20139
20263
  repliedMessage: {
20140
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
20264
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
20141
20265
  message: string;
20142
20266
  id: string;
20143
20267
  url: string;
@@ -20191,6 +20315,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20191
20315
  };
20192
20316
  upload: {
20193
20317
  id: string;
20318
+ status: string | null;
20194
20319
  createdAt: Date;
20195
20320
  updatedAt: Date;
20196
20321
  deletedAt: Date | null;
@@ -20199,7 +20324,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20199
20324
  bucketName: string;
20200
20325
  fileSize: number;
20201
20326
  fileUrl: string | null;
20202
- status?: string | undefined;
20203
20327
  };
20204
20328
  assignee: {
20205
20329
  id: string;
@@ -20347,7 +20471,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20347
20471
  parentMessageId: string | null;
20348
20472
  feedPostId: string | null;
20349
20473
  feedPost: {
20350
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
20474
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
20351
20475
  message: string | null;
20352
20476
  id: string;
20353
20477
  channel: {
@@ -20362,15 +20486,18 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20362
20486
  additionalCredentials?: any;
20363
20487
  senderId?: string | undefined;
20364
20488
  whatsapp?: {
20365
- email: string;
20366
- wabaExternalId: string;
20367
- phoneNumberId: string;
20368
- wabaBusinessId?: string | undefined;
20369
- clientId?: string | undefined;
20370
- channelId?: string | undefined;
20371
- status?: "active" | "pending" | undefined;
20489
+ wabaBusinessId?: string | null | undefined;
20490
+ wabaExternalId?: string | null | undefined;
20491
+ phoneNumberId?: string | null | undefined;
20492
+ email?: string | null | undefined;
20493
+ clientId?: string | null | undefined;
20494
+ channelId?: string | null | undefined;
20495
+ waapiInstanceId?: string | null | undefined;
20496
+ qr?: string | null | undefined;
20497
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20372
20498
  apiKey?: string | undefined;
20373
20499
  tier?: "basic" | "regular" | "premium" | undefined;
20500
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20374
20501
  } | undefined;
20375
20502
  vonageCredentials?: {
20376
20503
  apiKey: string;
@@ -20535,6 +20662,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20535
20662
  dateValue: Date | null;
20536
20663
  uploads: {
20537
20664
  id: string;
20665
+ status: string | null;
20538
20666
  createdAt: Date;
20539
20667
  updatedAt: Date;
20540
20668
  deletedAt: Date | null;
@@ -20543,7 +20671,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
20543
20671
  bucketName: string;
20544
20672
  fileSize: number;
20545
20673
  fileUrl: string | null;
20546
- status?: string | undefined;
20547
20674
  }[];
20548
20675
  }[];
20549
20676
  company: {
@@ -20637,7 +20764,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
20637
20764
  deletedAt: z.ZodNullable<z.ZodDate>;
20638
20765
  message: z.ZodString;
20639
20766
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
20640
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
20767
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
20641
20768
  readAt: z.ZodDate;
20642
20769
  metadata: z.ZodAny;
20643
20770
  platformId: z.ZodString;
@@ -20658,9 +20785,10 @@ export declare const RepliedMessageSchema: z.ZodObject<{
20658
20785
  fileSize: z.ZodNumber;
20659
20786
  fileKey: z.ZodString;
20660
20787
  fileUrl: z.ZodNullable<z.ZodString>;
20661
- status: z.ZodOptional<z.ZodString>;
20788
+ status: z.ZodNullable<z.ZodString>;
20662
20789
  }, "strip", z.ZodTypeAny, {
20663
20790
  id: string;
20791
+ status: string | null;
20664
20792
  createdAt: Date;
20665
20793
  updatedAt: Date;
20666
20794
  deletedAt: Date | null;
@@ -20669,9 +20797,9 @@ export declare const RepliedMessageSchema: z.ZodObject<{
20669
20797
  bucketName: string;
20670
20798
  fileSize: number;
20671
20799
  fileUrl: string | null;
20672
- status?: string | undefined;
20673
20800
  }, {
20674
20801
  id: string;
20802
+ status: string | null;
20675
20803
  createdAt: Date;
20676
20804
  updatedAt: Date;
20677
20805
  deletedAt: Date | null;
@@ -20680,7 +20808,6 @@ export declare const RepliedMessageSchema: z.ZodObject<{
20680
20808
  bucketName: string;
20681
20809
  fileSize: number;
20682
20810
  fileUrl: string | null;
20683
- status?: string | undefined;
20684
20811
  }>;
20685
20812
  actor: z.ZodObject<{
20686
20813
  id: z.ZodString;
@@ -21295,7 +21422,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
21295
21422
  };
21296
21423
  }>;
21297
21424
  }, "strip", z.ZodTypeAny, {
21298
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
21425
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
21299
21426
  message: string;
21300
21427
  id: string;
21301
21428
  url: string;
@@ -21349,6 +21476,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
21349
21476
  };
21350
21477
  upload: {
21351
21478
  id: string;
21479
+ status: string | null;
21352
21480
  createdAt: Date;
21353
21481
  updatedAt: Date;
21354
21482
  deletedAt: Date | null;
@@ -21357,7 +21485,6 @@ export declare const RepliedMessageSchema: z.ZodObject<{
21357
21485
  bucketName: string;
21358
21486
  fileSize: number;
21359
21487
  fileUrl: string | null;
21360
- status?: string | undefined;
21361
21488
  };
21362
21489
  assignee: {
21363
21490
  id: string;
@@ -21457,7 +21584,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
21457
21584
  metadata?: any;
21458
21585
  template?: any;
21459
21586
  }, {
21460
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
21587
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
21461
21588
  message: string;
21462
21589
  id: string;
21463
21590
  url: string;
@@ -21511,6 +21638,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
21511
21638
  };
21512
21639
  upload: {
21513
21640
  id: string;
21641
+ status: string | null;
21514
21642
  createdAt: Date;
21515
21643
  updatedAt: Date;
21516
21644
  deletedAt: Date | null;
@@ -21519,7 +21647,6 @@ export declare const RepliedMessageSchema: z.ZodObject<{
21519
21647
  bucketName: string;
21520
21648
  fileSize: number;
21521
21649
  fileUrl: string | null;
21522
- status?: string | undefined;
21523
21650
  };
21524
21651
  assignee: {
21525
21652
  id: string;
@@ -21633,7 +21760,7 @@ export declare const UnreadCountsByAssigneeSchema: z.ZodObject<{
21633
21760
  totalUnreadCount: number;
21634
21761
  }>;
21635
21762
  export declare const MessageRelevanceSchema: z.ZodObject<{
21636
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
21763
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
21637
21764
  message: z.ZodString;
21638
21765
  id: z.ZodString;
21639
21766
  url: z.ZodString;
@@ -21858,9 +21985,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
21858
21985
  fileSize: z.ZodNumber;
21859
21986
  fileKey: z.ZodString;
21860
21987
  fileUrl: z.ZodNullable<z.ZodString>;
21861
- status: z.ZodOptional<z.ZodString>;
21988
+ status: z.ZodNullable<z.ZodString>;
21862
21989
  }, "strip", z.ZodTypeAny, {
21863
21990
  id: string;
21991
+ status: string | null;
21864
21992
  createdAt: Date;
21865
21993
  updatedAt: Date;
21866
21994
  deletedAt: Date | null;
@@ -21869,9 +21997,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
21869
21997
  bucketName: string;
21870
21998
  fileSize: number;
21871
21999
  fileUrl: string | null;
21872
- status?: string | undefined;
21873
22000
  }, {
21874
22001
  id: string;
22002
+ status: string | null;
21875
22003
  createdAt: Date;
21876
22004
  updatedAt: Date;
21877
22005
  deletedAt: Date | null;
@@ -21880,7 +22008,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
21880
22008
  bucketName: string;
21881
22009
  fileSize: number;
21882
22010
  fileUrl: string | null;
21883
- status?: string | undefined;
21884
22011
  }>;
21885
22012
  assignee: z.ZodObject<{
21886
22013
  id: z.ZodString;
@@ -22475,9 +22602,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22475
22602
  fileSize: z.ZodNumber;
22476
22603
  fileKey: z.ZodString;
22477
22604
  fileUrl: z.ZodNullable<z.ZodString>;
22478
- status: z.ZodOptional<z.ZodString>;
22605
+ status: z.ZodNullable<z.ZodString>;
22479
22606
  }, "strip", z.ZodTypeAny, {
22480
22607
  id: string;
22608
+ status: string | null;
22481
22609
  createdAt: Date;
22482
22610
  updatedAt: Date;
22483
22611
  deletedAt: Date | null;
@@ -22486,9 +22614,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22486
22614
  bucketName: string;
22487
22615
  fileSize: number;
22488
22616
  fileUrl: string | null;
22489
- status?: string | undefined;
22490
22617
  }, {
22491
22618
  id: string;
22619
+ status: string | null;
22492
22620
  createdAt: Date;
22493
22621
  updatedAt: Date;
22494
22622
  deletedAt: Date | null;
@@ -22497,7 +22625,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22497
22625
  bucketName: string;
22498
22626
  fileSize: number;
22499
22627
  fileUrl: string | null;
22500
- status?: string | undefined;
22501
22628
  }>, "many">;
22502
22629
  }, "strip", z.ZodTypeAny, {
22503
22630
  id: string;
@@ -22524,6 +22651,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22524
22651
  dateValue: Date | null;
22525
22652
  uploads: {
22526
22653
  id: string;
22654
+ status: string | null;
22527
22655
  createdAt: Date;
22528
22656
  updatedAt: Date;
22529
22657
  deletedAt: Date | null;
@@ -22532,7 +22660,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22532
22660
  bucketName: string;
22533
22661
  fileSize: number;
22534
22662
  fileUrl: string | null;
22535
- status?: string | undefined;
22536
22663
  }[];
22537
22664
  }, {
22538
22665
  id: string;
@@ -22559,6 +22686,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22559
22686
  dateValue: Date | null;
22560
22687
  uploads: {
22561
22688
  id: string;
22689
+ status: string | null;
22562
22690
  createdAt: Date;
22563
22691
  updatedAt: Date;
22564
22692
  deletedAt: Date | null;
@@ -22567,7 +22695,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22567
22695
  bucketName: string;
22568
22696
  fileSize: number;
22569
22697
  fileUrl: string | null;
22570
- status?: string | undefined;
22571
22698
  }[];
22572
22699
  }>, "many">;
22573
22700
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -22707,6 +22834,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22707
22834
  dateValue: Date | null;
22708
22835
  uploads: {
22709
22836
  id: string;
22837
+ status: string | null;
22710
22838
  createdAt: Date;
22711
22839
  updatedAt: Date;
22712
22840
  deletedAt: Date | null;
@@ -22715,7 +22843,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22715
22843
  bucketName: string;
22716
22844
  fileSize: number;
22717
22845
  fileUrl: string | null;
22718
- status?: string | undefined;
22719
22846
  }[];
22720
22847
  }[];
22721
22848
  company: {
@@ -22818,6 +22945,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22818
22945
  dateValue: Date | null;
22819
22946
  uploads: {
22820
22947
  id: string;
22948
+ status: string | null;
22821
22949
  createdAt: Date;
22822
22950
  updatedAt: Date;
22823
22951
  deletedAt: Date | null;
@@ -22826,7 +22954,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22826
22954
  bucketName: string;
22827
22955
  fileSize: number;
22828
22956
  fileUrl: string | null;
22829
- status?: string | undefined;
22830
22957
  }[];
22831
22958
  }[];
22832
22959
  company: {
@@ -22942,6 +23069,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22942
23069
  dateValue: Date | null;
22943
23070
  uploads: {
22944
23071
  id: string;
23072
+ status: string | null;
22945
23073
  createdAt: Date;
22946
23074
  updatedAt: Date;
22947
23075
  deletedAt: Date | null;
@@ -22950,7 +23078,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22950
23078
  bucketName: string;
22951
23079
  fileSize: number;
22952
23080
  fileUrl: string | null;
22953
- status?: string | undefined;
22954
23081
  }[];
22955
23082
  }[];
22956
23083
  company: {
@@ -23068,6 +23195,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23068
23195
  dateValue: Date | null;
23069
23196
  uploads: {
23070
23197
  id: string;
23198
+ status: string | null;
23071
23199
  createdAt: Date;
23072
23200
  updatedAt: Date;
23073
23201
  deletedAt: Date | null;
@@ -23076,7 +23204,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23076
23204
  bucketName: string;
23077
23205
  fileSize: number;
23078
23206
  fileUrl: string | null;
23079
- status?: string | undefined;
23080
23207
  }[];
23081
23208
  }[];
23082
23209
  company: {
@@ -23573,35 +23700,44 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23573
23700
  additionalCredentials: z.ZodOptional<z.ZodAny>;
23574
23701
  senderId: z.ZodOptional<z.ZodString>;
23575
23702
  whatsapp: z.ZodOptional<z.ZodObject<{
23576
- wabaBusinessId: z.ZodOptional<z.ZodString>;
23577
- wabaExternalId: z.ZodString;
23578
- phoneNumberId: z.ZodString;
23579
- email: z.ZodString;
23580
- clientId: z.ZodOptional<z.ZodString>;
23581
- channelId: z.ZodOptional<z.ZodString>;
23582
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
23703
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23704
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23705
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23706
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23707
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23708
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23709
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23710
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23711
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
23583
23712
  apiKey: z.ZodOptional<z.ZodString>;
23584
23713
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
23714
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
23585
23715
  }, "strip", z.ZodTypeAny, {
23586
- email: string;
23587
- wabaExternalId: string;
23588
- phoneNumberId: string;
23589
- wabaBusinessId?: string | undefined;
23590
- clientId?: string | undefined;
23591
- channelId?: string | undefined;
23592
- status?: "active" | "pending" | undefined;
23716
+ wabaBusinessId?: string | null | undefined;
23717
+ wabaExternalId?: string | null | undefined;
23718
+ phoneNumberId?: string | null | undefined;
23719
+ email?: string | null | undefined;
23720
+ clientId?: string | null | undefined;
23721
+ channelId?: string | null | undefined;
23722
+ waapiInstanceId?: string | null | undefined;
23723
+ qr?: string | null | undefined;
23724
+ status?: "active" | "pending" | "waapi-qr" | undefined;
23593
23725
  apiKey?: string | undefined;
23594
23726
  tier?: "basic" | "regular" | "premium" | undefined;
23727
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
23595
23728
  }, {
23596
- email: string;
23597
- wabaExternalId: string;
23598
- phoneNumberId: string;
23599
- wabaBusinessId?: string | undefined;
23600
- clientId?: string | undefined;
23601
- channelId?: string | undefined;
23602
- status?: "active" | "pending" | undefined;
23729
+ wabaBusinessId?: string | null | undefined;
23730
+ wabaExternalId?: string | null | undefined;
23731
+ phoneNumberId?: string | null | undefined;
23732
+ email?: string | null | undefined;
23733
+ clientId?: string | null | undefined;
23734
+ channelId?: string | null | undefined;
23735
+ waapiInstanceId?: string | null | undefined;
23736
+ qr?: string | null | undefined;
23737
+ status?: "active" | "pending" | "waapi-qr" | undefined;
23603
23738
  apiKey?: string | undefined;
23604
23739
  tier?: "basic" | "regular" | "premium" | undefined;
23740
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
23605
23741
  }>>;
23606
23742
  vonageCredentials: z.ZodOptional<z.ZodObject<{
23607
23743
  mobileNumber: z.ZodString;
@@ -23627,15 +23763,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23627
23763
  additionalCredentials?: any;
23628
23764
  senderId?: string | undefined;
23629
23765
  whatsapp?: {
23630
- email: string;
23631
- wabaExternalId: string;
23632
- phoneNumberId: string;
23633
- wabaBusinessId?: string | undefined;
23634
- clientId?: string | undefined;
23635
- channelId?: string | undefined;
23636
- status?: "active" | "pending" | undefined;
23766
+ wabaBusinessId?: string | null | undefined;
23767
+ wabaExternalId?: string | null | undefined;
23768
+ phoneNumberId?: string | null | undefined;
23769
+ email?: string | null | undefined;
23770
+ clientId?: string | null | undefined;
23771
+ channelId?: string | null | undefined;
23772
+ waapiInstanceId?: string | null | undefined;
23773
+ qr?: string | null | undefined;
23774
+ status?: "active" | "pending" | "waapi-qr" | undefined;
23637
23775
  apiKey?: string | undefined;
23638
23776
  tier?: "basic" | "regular" | "premium" | undefined;
23777
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
23639
23778
  } | undefined;
23640
23779
  vonageCredentials?: {
23641
23780
  apiKey: string;
@@ -23653,15 +23792,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23653
23792
  additionalCredentials?: any;
23654
23793
  senderId?: string | undefined;
23655
23794
  whatsapp?: {
23656
- email: string;
23657
- wabaExternalId: string;
23658
- phoneNumberId: string;
23659
- wabaBusinessId?: string | undefined;
23660
- clientId?: string | undefined;
23661
- channelId?: string | undefined;
23662
- status?: "active" | "pending" | undefined;
23795
+ wabaBusinessId?: string | null | undefined;
23796
+ wabaExternalId?: string | null | undefined;
23797
+ phoneNumberId?: string | null | undefined;
23798
+ email?: string | null | undefined;
23799
+ clientId?: string | null | undefined;
23800
+ channelId?: string | null | undefined;
23801
+ waapiInstanceId?: string | null | undefined;
23802
+ qr?: string | null | undefined;
23803
+ status?: "active" | "pending" | "waapi-qr" | undefined;
23663
23804
  apiKey?: string | undefined;
23664
23805
  tier?: "basic" | "regular" | "premium" | undefined;
23806
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
23665
23807
  } | undefined;
23666
23808
  vonageCredentials?: {
23667
23809
  apiKey: string;
@@ -23913,15 +24055,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23913
24055
  additionalCredentials?: any;
23914
24056
  senderId?: string | undefined;
23915
24057
  whatsapp?: {
23916
- email: string;
23917
- wabaExternalId: string;
23918
- phoneNumberId: string;
23919
- wabaBusinessId?: string | undefined;
23920
- clientId?: string | undefined;
23921
- channelId?: string | undefined;
23922
- status?: "active" | "pending" | undefined;
24058
+ wabaBusinessId?: string | null | undefined;
24059
+ wabaExternalId?: string | null | undefined;
24060
+ phoneNumberId?: string | null | undefined;
24061
+ email?: string | null | undefined;
24062
+ clientId?: string | null | undefined;
24063
+ channelId?: string | null | undefined;
24064
+ waapiInstanceId?: string | null | undefined;
24065
+ qr?: string | null | undefined;
24066
+ status?: "active" | "pending" | "waapi-qr" | undefined;
23923
24067
  apiKey?: string | undefined;
23924
24068
  tier?: "basic" | "regular" | "premium" | undefined;
24069
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
23925
24070
  } | undefined;
23926
24071
  vonageCredentials?: {
23927
24072
  apiKey: string;
@@ -24004,15 +24149,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24004
24149
  additionalCredentials?: any;
24005
24150
  senderId?: string | undefined;
24006
24151
  whatsapp?: {
24007
- email: string;
24008
- wabaExternalId: string;
24009
- phoneNumberId: string;
24010
- wabaBusinessId?: string | undefined;
24011
- clientId?: string | undefined;
24012
- channelId?: string | undefined;
24013
- status?: "active" | "pending" | undefined;
24152
+ wabaBusinessId?: string | null | undefined;
24153
+ wabaExternalId?: string | null | undefined;
24154
+ phoneNumberId?: string | null | undefined;
24155
+ email?: string | null | undefined;
24156
+ clientId?: string | null | undefined;
24157
+ channelId?: string | null | undefined;
24158
+ waapiInstanceId?: string | null | undefined;
24159
+ qr?: string | null | undefined;
24160
+ status?: "active" | "pending" | "waapi-qr" | undefined;
24014
24161
  apiKey?: string | undefined;
24015
24162
  tier?: "basic" | "regular" | "premium" | undefined;
24163
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
24016
24164
  } | undefined;
24017
24165
  vonageCredentials?: {
24018
24166
  apiKey: string;
@@ -24659,15 +24807,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24659
24807
  additionalCredentials?: any;
24660
24808
  senderId?: string | undefined;
24661
24809
  whatsapp?: {
24662
- email: string;
24663
- wabaExternalId: string;
24664
- phoneNumberId: string;
24665
- wabaBusinessId?: string | undefined;
24666
- clientId?: string | undefined;
24667
- channelId?: string | undefined;
24668
- status?: "active" | "pending" | undefined;
24810
+ wabaBusinessId?: string | null | undefined;
24811
+ wabaExternalId?: string | null | undefined;
24812
+ phoneNumberId?: string | null | undefined;
24813
+ email?: string | null | undefined;
24814
+ clientId?: string | null | undefined;
24815
+ channelId?: string | null | undefined;
24816
+ waapiInstanceId?: string | null | undefined;
24817
+ qr?: string | null | undefined;
24818
+ status?: "active" | "pending" | "waapi-qr" | undefined;
24669
24819
  apiKey?: string | undefined;
24670
24820
  tier?: "basic" | "regular" | "premium" | undefined;
24821
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
24671
24822
  } | undefined;
24672
24823
  vonageCredentials?: {
24673
24824
  apiKey: string;
@@ -24839,6 +24990,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24839
24990
  dateValue: Date | null;
24840
24991
  uploads: {
24841
24992
  id: string;
24993
+ status: string | null;
24842
24994
  createdAt: Date;
24843
24995
  updatedAt: Date;
24844
24996
  deletedAt: Date | null;
@@ -24847,7 +24999,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24847
24999
  bucketName: string;
24848
25000
  fileSize: number;
24849
25001
  fileUrl: string | null;
24850
- status?: string | undefined;
24851
25002
  }[];
24852
25003
  }[];
24853
25004
  company: {
@@ -25083,15 +25234,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25083
25234
  additionalCredentials?: any;
25084
25235
  senderId?: string | undefined;
25085
25236
  whatsapp?: {
25086
- email: string;
25087
- wabaExternalId: string;
25088
- phoneNumberId: string;
25089
- wabaBusinessId?: string | undefined;
25090
- clientId?: string | undefined;
25091
- channelId?: string | undefined;
25092
- status?: "active" | "pending" | undefined;
25237
+ wabaBusinessId?: string | null | undefined;
25238
+ wabaExternalId?: string | null | undefined;
25239
+ phoneNumberId?: string | null | undefined;
25240
+ email?: string | null | undefined;
25241
+ clientId?: string | null | undefined;
25242
+ channelId?: string | null | undefined;
25243
+ waapiInstanceId?: string | null | undefined;
25244
+ qr?: string | null | undefined;
25245
+ status?: "active" | "pending" | "waapi-qr" | undefined;
25093
25246
  apiKey?: string | undefined;
25094
25247
  tier?: "basic" | "regular" | "premium" | undefined;
25248
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
25095
25249
  } | undefined;
25096
25250
  vonageCredentials?: {
25097
25251
  apiKey: string;
@@ -25263,6 +25417,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25263
25417
  dateValue: Date | null;
25264
25418
  uploads: {
25265
25419
  id: string;
25420
+ status: string | null;
25266
25421
  createdAt: Date;
25267
25422
  updatedAt: Date;
25268
25423
  deletedAt: Date | null;
@@ -25271,7 +25426,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25271
25426
  bucketName: string;
25272
25427
  fileSize: number;
25273
25428
  fileUrl: string | null;
25274
- status?: string | undefined;
25275
25429
  }[];
25276
25430
  }[];
25277
25431
  company: {
@@ -25532,7 +25686,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25532
25686
  deletedAt: z.ZodNullable<z.ZodDate>;
25533
25687
  message: z.ZodString;
25534
25688
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
25535
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
25689
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
25536
25690
  readAt: z.ZodDate;
25537
25691
  metadata: z.ZodAny;
25538
25692
  platformId: z.ZodString;
@@ -25553,9 +25707,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25553
25707
  fileSize: z.ZodNumber;
25554
25708
  fileKey: z.ZodString;
25555
25709
  fileUrl: z.ZodNullable<z.ZodString>;
25556
- status: z.ZodOptional<z.ZodString>;
25710
+ status: z.ZodNullable<z.ZodString>;
25557
25711
  }, "strip", z.ZodTypeAny, {
25558
25712
  id: string;
25713
+ status: string | null;
25559
25714
  createdAt: Date;
25560
25715
  updatedAt: Date;
25561
25716
  deletedAt: Date | null;
@@ -25564,9 +25719,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25564
25719
  bucketName: string;
25565
25720
  fileSize: number;
25566
25721
  fileUrl: string | null;
25567
- status?: string | undefined;
25568
25722
  }, {
25569
25723
  id: string;
25724
+ status: string | null;
25570
25725
  createdAt: Date;
25571
25726
  updatedAt: Date;
25572
25727
  deletedAt: Date | null;
@@ -25575,7 +25730,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25575
25730
  bucketName: string;
25576
25731
  fileSize: number;
25577
25732
  fileUrl: string | null;
25578
- status?: string | undefined;
25579
25733
  }>;
25580
25734
  actor: z.ZodObject<{
25581
25735
  id: z.ZodString;
@@ -26190,7 +26344,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
26190
26344
  };
26191
26345
  }>;
26192
26346
  }, "strip", z.ZodTypeAny, {
26193
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
26347
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
26194
26348
  message: string;
26195
26349
  id: string;
26196
26350
  url: string;
@@ -26244,6 +26398,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
26244
26398
  };
26245
26399
  upload: {
26246
26400
  id: string;
26401
+ status: string | null;
26247
26402
  createdAt: Date;
26248
26403
  updatedAt: Date;
26249
26404
  deletedAt: Date | null;
@@ -26252,7 +26407,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
26252
26407
  bucketName: string;
26253
26408
  fileSize: number;
26254
26409
  fileUrl: string | null;
26255
- status?: string | undefined;
26256
26410
  };
26257
26411
  assignee: {
26258
26412
  id: string;
@@ -26352,7 +26506,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
26352
26506
  metadata?: any;
26353
26507
  template?: any;
26354
26508
  }, {
26355
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
26509
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
26356
26510
  message: string;
26357
26511
  id: string;
26358
26512
  url: string;
@@ -26406,6 +26560,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
26406
26560
  };
26407
26561
  upload: {
26408
26562
  id: string;
26563
+ status: string | null;
26409
26564
  createdAt: Date;
26410
26565
  updatedAt: Date;
26411
26566
  deletedAt: Date | null;
@@ -26414,7 +26569,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
26414
26569
  bucketName: string;
26415
26570
  fileSize: number;
26416
26571
  fileUrl: string | null;
26417
- status?: string | undefined;
26418
26572
  };
26419
26573
  assignee: {
26420
26574
  id: string;
@@ -27091,9 +27245,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27091
27245
  fileSize: z.ZodNumber;
27092
27246
  fileKey: z.ZodString;
27093
27247
  fileUrl: z.ZodNullable<z.ZodString>;
27094
- status: z.ZodOptional<z.ZodString>;
27248
+ status: z.ZodNullable<z.ZodString>;
27095
27249
  }, "strip", z.ZodTypeAny, {
27096
27250
  id: string;
27251
+ status: string | null;
27097
27252
  createdAt: Date;
27098
27253
  updatedAt: Date;
27099
27254
  deletedAt: Date | null;
@@ -27102,9 +27257,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27102
27257
  bucketName: string;
27103
27258
  fileSize: number;
27104
27259
  fileUrl: string | null;
27105
- status?: string | undefined;
27106
27260
  }, {
27107
27261
  id: string;
27262
+ status: string | null;
27108
27263
  createdAt: Date;
27109
27264
  updatedAt: Date;
27110
27265
  deletedAt: Date | null;
@@ -27113,7 +27268,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27113
27268
  bucketName: string;
27114
27269
  fileSize: number;
27115
27270
  fileUrl: string | null;
27116
- status?: string | undefined;
27117
27271
  }>, "many">;
27118
27272
  }, "strip", z.ZodTypeAny, {
27119
27273
  id: string;
@@ -27140,6 +27294,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27140
27294
  dateValue: Date | null;
27141
27295
  uploads: {
27142
27296
  id: string;
27297
+ status: string | null;
27143
27298
  createdAt: Date;
27144
27299
  updatedAt: Date;
27145
27300
  deletedAt: Date | null;
@@ -27148,7 +27303,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27148
27303
  bucketName: string;
27149
27304
  fileSize: number;
27150
27305
  fileUrl: string | null;
27151
- status?: string | undefined;
27152
27306
  }[];
27153
27307
  }, {
27154
27308
  id: string;
@@ -27175,6 +27329,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27175
27329
  dateValue: Date | null;
27176
27330
  uploads: {
27177
27331
  id: string;
27332
+ status: string | null;
27178
27333
  createdAt: Date;
27179
27334
  updatedAt: Date;
27180
27335
  deletedAt: Date | null;
@@ -27183,7 +27338,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27183
27338
  bucketName: string;
27184
27339
  fileSize: number;
27185
27340
  fileUrl: string | null;
27186
- status?: string | undefined;
27187
27341
  }[];
27188
27342
  }>, "many">;
27189
27343
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -27323,6 +27477,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27323
27477
  dateValue: Date | null;
27324
27478
  uploads: {
27325
27479
  id: string;
27480
+ status: string | null;
27326
27481
  createdAt: Date;
27327
27482
  updatedAt: Date;
27328
27483
  deletedAt: Date | null;
@@ -27331,7 +27486,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27331
27486
  bucketName: string;
27332
27487
  fileSize: number;
27333
27488
  fileUrl: string | null;
27334
- status?: string | undefined;
27335
27489
  }[];
27336
27490
  }[];
27337
27491
  company: {
@@ -27434,6 +27588,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27434
27588
  dateValue: Date | null;
27435
27589
  uploads: {
27436
27590
  id: string;
27591
+ status: string | null;
27437
27592
  createdAt: Date;
27438
27593
  updatedAt: Date;
27439
27594
  deletedAt: Date | null;
@@ -27442,7 +27597,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27442
27597
  bucketName: string;
27443
27598
  fileSize: number;
27444
27599
  fileUrl: string | null;
27445
- status?: string | undefined;
27446
27600
  }[];
27447
27601
  }[];
27448
27602
  company: {
@@ -27558,6 +27712,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27558
27712
  dateValue: Date | null;
27559
27713
  uploads: {
27560
27714
  id: string;
27715
+ status: string | null;
27561
27716
  createdAt: Date;
27562
27717
  updatedAt: Date;
27563
27718
  deletedAt: Date | null;
@@ -27566,7 +27721,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27566
27721
  bucketName: string;
27567
27722
  fileSize: number;
27568
27723
  fileUrl: string | null;
27569
- status?: string | undefined;
27570
27724
  }[];
27571
27725
  }[];
27572
27726
  company: {
@@ -27684,6 +27838,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27684
27838
  dateValue: Date | null;
27685
27839
  uploads: {
27686
27840
  id: string;
27841
+ status: string | null;
27687
27842
  createdAt: Date;
27688
27843
  updatedAt: Date;
27689
27844
  deletedAt: Date | null;
@@ -27692,7 +27847,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27692
27847
  bucketName: string;
27693
27848
  fileSize: number;
27694
27849
  fileUrl: string | null;
27695
- status?: string | undefined;
27696
27850
  }[];
27697
27851
  }[];
27698
27852
  company: {
@@ -27773,7 +27927,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27773
27927
  deletedAt: z.ZodNullable<z.ZodDate>;
27774
27928
  message: z.ZodString;
27775
27929
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
27776
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
27930
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
27777
27931
  readAt: z.ZodDate;
27778
27932
  metadata: z.ZodAny;
27779
27933
  platformId: z.ZodString;
@@ -28172,9 +28326,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28172
28326
  fileSize: z.ZodNumber;
28173
28327
  fileKey: z.ZodString;
28174
28328
  fileUrl: z.ZodNullable<z.ZodString>;
28175
- status: z.ZodOptional<z.ZodString>;
28329
+ status: z.ZodNullable<z.ZodString>;
28176
28330
  }, "strip", z.ZodTypeAny, {
28177
28331
  id: string;
28332
+ status: string | null;
28178
28333
  createdAt: Date;
28179
28334
  updatedAt: Date;
28180
28335
  deletedAt: Date | null;
@@ -28183,9 +28338,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28183
28338
  bucketName: string;
28184
28339
  fileSize: number;
28185
28340
  fileUrl: string | null;
28186
- status?: string | undefined;
28187
28341
  }, {
28188
28342
  id: string;
28343
+ status: string | null;
28189
28344
  createdAt: Date;
28190
28345
  updatedAt: Date;
28191
28346
  deletedAt: Date | null;
@@ -28194,7 +28349,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28194
28349
  bucketName: string;
28195
28350
  fileSize: number;
28196
28351
  fileUrl: string | null;
28197
- status?: string | undefined;
28198
28352
  }>, "many">;
28199
28353
  }, "strip", z.ZodTypeAny, {
28200
28354
  id: string;
@@ -28221,6 +28375,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28221
28375
  dateValue: Date | null;
28222
28376
  uploads: {
28223
28377
  id: string;
28378
+ status: string | null;
28224
28379
  createdAt: Date;
28225
28380
  updatedAt: Date;
28226
28381
  deletedAt: Date | null;
@@ -28229,7 +28384,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28229
28384
  bucketName: string;
28230
28385
  fileSize: number;
28231
28386
  fileUrl: string | null;
28232
- status?: string | undefined;
28233
28387
  }[];
28234
28388
  }, {
28235
28389
  id: string;
@@ -28256,6 +28410,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28256
28410
  dateValue: Date | null;
28257
28411
  uploads: {
28258
28412
  id: string;
28413
+ status: string | null;
28259
28414
  createdAt: Date;
28260
28415
  updatedAt: Date;
28261
28416
  deletedAt: Date | null;
@@ -28264,7 +28419,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28264
28419
  bucketName: string;
28265
28420
  fileSize: number;
28266
28421
  fileUrl: string | null;
28267
- status?: string | undefined;
28268
28422
  }[];
28269
28423
  }>, "many">;
28270
28424
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -28404,6 +28558,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28404
28558
  dateValue: Date | null;
28405
28559
  uploads: {
28406
28560
  id: string;
28561
+ status: string | null;
28407
28562
  createdAt: Date;
28408
28563
  updatedAt: Date;
28409
28564
  deletedAt: Date | null;
@@ -28412,7 +28567,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28412
28567
  bucketName: string;
28413
28568
  fileSize: number;
28414
28569
  fileUrl: string | null;
28415
- status?: string | undefined;
28416
28570
  }[];
28417
28571
  }[];
28418
28572
  company: {
@@ -28515,6 +28669,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28515
28669
  dateValue: Date | null;
28516
28670
  uploads: {
28517
28671
  id: string;
28672
+ status: string | null;
28518
28673
  createdAt: Date;
28519
28674
  updatedAt: Date;
28520
28675
  deletedAt: Date | null;
@@ -28523,7 +28678,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28523
28678
  bucketName: string;
28524
28679
  fileSize: number;
28525
28680
  fileUrl: string | null;
28526
- status?: string | undefined;
28527
28681
  }[];
28528
28682
  }[];
28529
28683
  company: {
@@ -28639,6 +28793,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28639
28793
  dateValue: Date | null;
28640
28794
  uploads: {
28641
28795
  id: string;
28796
+ status: string | null;
28642
28797
  createdAt: Date;
28643
28798
  updatedAt: Date;
28644
28799
  deletedAt: Date | null;
@@ -28647,7 +28802,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28647
28802
  bucketName: string;
28648
28803
  fileSize: number;
28649
28804
  fileUrl: string | null;
28650
- status?: string | undefined;
28651
28805
  }[];
28652
28806
  }[];
28653
28807
  company: {
@@ -28765,6 +28919,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28765
28919
  dateValue: Date | null;
28766
28920
  uploads: {
28767
28921
  id: string;
28922
+ status: string | null;
28768
28923
  createdAt: Date;
28769
28924
  updatedAt: Date;
28770
28925
  deletedAt: Date | null;
@@ -28773,7 +28928,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28773
28928
  bucketName: string;
28774
28929
  fileSize: number;
28775
28930
  fileUrl: string | null;
28776
- status?: string | undefined;
28777
28931
  }[];
28778
28932
  }[];
28779
28933
  company: {
@@ -29270,35 +29424,44 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29270
29424
  additionalCredentials: z.ZodOptional<z.ZodAny>;
29271
29425
  senderId: z.ZodOptional<z.ZodString>;
29272
29426
  whatsapp: z.ZodOptional<z.ZodObject<{
29273
- wabaBusinessId: z.ZodOptional<z.ZodString>;
29274
- wabaExternalId: z.ZodString;
29275
- phoneNumberId: z.ZodString;
29276
- email: z.ZodString;
29277
- clientId: z.ZodOptional<z.ZodString>;
29278
- channelId: z.ZodOptional<z.ZodString>;
29279
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
29427
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29428
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29429
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29430
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29431
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29432
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29433
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29434
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29435
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
29280
29436
  apiKey: z.ZodOptional<z.ZodString>;
29281
29437
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
29438
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
29282
29439
  }, "strip", z.ZodTypeAny, {
29283
- email: string;
29284
- wabaExternalId: string;
29285
- phoneNumberId: string;
29286
- wabaBusinessId?: string | undefined;
29287
- clientId?: string | undefined;
29288
- channelId?: string | undefined;
29289
- status?: "active" | "pending" | undefined;
29440
+ wabaBusinessId?: string | null | undefined;
29441
+ wabaExternalId?: string | null | undefined;
29442
+ phoneNumberId?: string | null | undefined;
29443
+ email?: string | null | undefined;
29444
+ clientId?: string | null | undefined;
29445
+ channelId?: string | null | undefined;
29446
+ waapiInstanceId?: string | null | undefined;
29447
+ qr?: string | null | undefined;
29448
+ status?: "active" | "pending" | "waapi-qr" | undefined;
29290
29449
  apiKey?: string | undefined;
29291
29450
  tier?: "basic" | "regular" | "premium" | undefined;
29451
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
29292
29452
  }, {
29293
- email: string;
29294
- wabaExternalId: string;
29295
- phoneNumberId: string;
29296
- wabaBusinessId?: string | undefined;
29297
- clientId?: string | undefined;
29298
- channelId?: string | undefined;
29299
- status?: "active" | "pending" | undefined;
29453
+ wabaBusinessId?: string | null | undefined;
29454
+ wabaExternalId?: string | null | undefined;
29455
+ phoneNumberId?: string | null | undefined;
29456
+ email?: string | null | undefined;
29457
+ clientId?: string | null | undefined;
29458
+ channelId?: string | null | undefined;
29459
+ waapiInstanceId?: string | null | undefined;
29460
+ qr?: string | null | undefined;
29461
+ status?: "active" | "pending" | "waapi-qr" | undefined;
29300
29462
  apiKey?: string | undefined;
29301
29463
  tier?: "basic" | "regular" | "premium" | undefined;
29464
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
29302
29465
  }>>;
29303
29466
  vonageCredentials: z.ZodOptional<z.ZodObject<{
29304
29467
  mobileNumber: z.ZodString;
@@ -29324,15 +29487,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29324
29487
  additionalCredentials?: any;
29325
29488
  senderId?: string | undefined;
29326
29489
  whatsapp?: {
29327
- email: string;
29328
- wabaExternalId: string;
29329
- phoneNumberId: string;
29330
- wabaBusinessId?: string | undefined;
29331
- clientId?: string | undefined;
29332
- channelId?: string | undefined;
29333
- status?: "active" | "pending" | undefined;
29490
+ wabaBusinessId?: string | null | undefined;
29491
+ wabaExternalId?: string | null | undefined;
29492
+ phoneNumberId?: string | null | undefined;
29493
+ email?: string | null | undefined;
29494
+ clientId?: string | null | undefined;
29495
+ channelId?: string | null | undefined;
29496
+ waapiInstanceId?: string | null | undefined;
29497
+ qr?: string | null | undefined;
29498
+ status?: "active" | "pending" | "waapi-qr" | undefined;
29334
29499
  apiKey?: string | undefined;
29335
29500
  tier?: "basic" | "regular" | "premium" | undefined;
29501
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
29336
29502
  } | undefined;
29337
29503
  vonageCredentials?: {
29338
29504
  apiKey: string;
@@ -29350,15 +29516,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29350
29516
  additionalCredentials?: any;
29351
29517
  senderId?: string | undefined;
29352
29518
  whatsapp?: {
29353
- email: string;
29354
- wabaExternalId: string;
29355
- phoneNumberId: string;
29356
- wabaBusinessId?: string | undefined;
29357
- clientId?: string | undefined;
29358
- channelId?: string | undefined;
29359
- status?: "active" | "pending" | undefined;
29519
+ wabaBusinessId?: string | null | undefined;
29520
+ wabaExternalId?: string | null | undefined;
29521
+ phoneNumberId?: string | null | undefined;
29522
+ email?: string | null | undefined;
29523
+ clientId?: string | null | undefined;
29524
+ channelId?: string | null | undefined;
29525
+ waapiInstanceId?: string | null | undefined;
29526
+ qr?: string | null | undefined;
29527
+ status?: "active" | "pending" | "waapi-qr" | undefined;
29360
29528
  apiKey?: string | undefined;
29361
29529
  tier?: "basic" | "regular" | "premium" | undefined;
29530
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
29362
29531
  } | undefined;
29363
29532
  vonageCredentials?: {
29364
29533
  apiKey: string;
@@ -29610,15 +29779,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29610
29779
  additionalCredentials?: any;
29611
29780
  senderId?: string | undefined;
29612
29781
  whatsapp?: {
29613
- email: string;
29614
- wabaExternalId: string;
29615
- phoneNumberId: string;
29616
- wabaBusinessId?: string | undefined;
29617
- clientId?: string | undefined;
29618
- channelId?: string | undefined;
29619
- status?: "active" | "pending" | undefined;
29782
+ wabaBusinessId?: string | null | undefined;
29783
+ wabaExternalId?: string | null | undefined;
29784
+ phoneNumberId?: string | null | undefined;
29785
+ email?: string | null | undefined;
29786
+ clientId?: string | null | undefined;
29787
+ channelId?: string | null | undefined;
29788
+ waapiInstanceId?: string | null | undefined;
29789
+ qr?: string | null | undefined;
29790
+ status?: "active" | "pending" | "waapi-qr" | undefined;
29620
29791
  apiKey?: string | undefined;
29621
29792
  tier?: "basic" | "regular" | "premium" | undefined;
29793
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
29622
29794
  } | undefined;
29623
29795
  vonageCredentials?: {
29624
29796
  apiKey: string;
@@ -29701,15 +29873,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29701
29873
  additionalCredentials?: any;
29702
29874
  senderId?: string | undefined;
29703
29875
  whatsapp?: {
29704
- email: string;
29705
- wabaExternalId: string;
29706
- phoneNumberId: string;
29707
- wabaBusinessId?: string | undefined;
29708
- clientId?: string | undefined;
29709
- channelId?: string | undefined;
29710
- status?: "active" | "pending" | undefined;
29876
+ wabaBusinessId?: string | null | undefined;
29877
+ wabaExternalId?: string | null | undefined;
29878
+ phoneNumberId?: string | null | undefined;
29879
+ email?: string | null | undefined;
29880
+ clientId?: string | null | undefined;
29881
+ channelId?: string | null | undefined;
29882
+ waapiInstanceId?: string | null | undefined;
29883
+ qr?: string | null | undefined;
29884
+ status?: "active" | "pending" | "waapi-qr" | undefined;
29711
29885
  apiKey?: string | undefined;
29712
29886
  tier?: "basic" | "regular" | "premium" | undefined;
29887
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
29713
29888
  } | undefined;
29714
29889
  vonageCredentials?: {
29715
29890
  apiKey: string;
@@ -30356,15 +30531,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30356
30531
  additionalCredentials?: any;
30357
30532
  senderId?: string | undefined;
30358
30533
  whatsapp?: {
30359
- email: string;
30360
- wabaExternalId: string;
30361
- phoneNumberId: string;
30362
- wabaBusinessId?: string | undefined;
30363
- clientId?: string | undefined;
30364
- channelId?: string | undefined;
30365
- status?: "active" | "pending" | undefined;
30534
+ wabaBusinessId?: string | null | undefined;
30535
+ wabaExternalId?: string | null | undefined;
30536
+ phoneNumberId?: string | null | undefined;
30537
+ email?: string | null | undefined;
30538
+ clientId?: string | null | undefined;
30539
+ channelId?: string | null | undefined;
30540
+ waapiInstanceId?: string | null | undefined;
30541
+ qr?: string | null | undefined;
30542
+ status?: "active" | "pending" | "waapi-qr" | undefined;
30366
30543
  apiKey?: string | undefined;
30367
30544
  tier?: "basic" | "regular" | "premium" | undefined;
30545
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
30368
30546
  } | undefined;
30369
30547
  vonageCredentials?: {
30370
30548
  apiKey: string;
@@ -30536,6 +30714,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30536
30714
  dateValue: Date | null;
30537
30715
  uploads: {
30538
30716
  id: string;
30717
+ status: string | null;
30539
30718
  createdAt: Date;
30540
30719
  updatedAt: Date;
30541
30720
  deletedAt: Date | null;
@@ -30544,7 +30723,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30544
30723
  bucketName: string;
30545
30724
  fileSize: number;
30546
30725
  fileUrl: string | null;
30547
- status?: string | undefined;
30548
30726
  }[];
30549
30727
  }[];
30550
30728
  company: {
@@ -30780,15 +30958,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30780
30958
  additionalCredentials?: any;
30781
30959
  senderId?: string | undefined;
30782
30960
  whatsapp?: {
30783
- email: string;
30784
- wabaExternalId: string;
30785
- phoneNumberId: string;
30786
- wabaBusinessId?: string | undefined;
30787
- clientId?: string | undefined;
30788
- channelId?: string | undefined;
30789
- status?: "active" | "pending" | undefined;
30961
+ wabaBusinessId?: string | null | undefined;
30962
+ wabaExternalId?: string | null | undefined;
30963
+ phoneNumberId?: string | null | undefined;
30964
+ email?: string | null | undefined;
30965
+ clientId?: string | null | undefined;
30966
+ channelId?: string | null | undefined;
30967
+ waapiInstanceId?: string | null | undefined;
30968
+ qr?: string | null | undefined;
30969
+ status?: "active" | "pending" | "waapi-qr" | undefined;
30790
30970
  apiKey?: string | undefined;
30791
30971
  tier?: "basic" | "regular" | "premium" | undefined;
30972
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
30792
30973
  } | undefined;
30793
30974
  vonageCredentials?: {
30794
30975
  apiKey: string;
@@ -30960,6 +31141,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30960
31141
  dateValue: Date | null;
30961
31142
  uploads: {
30962
31143
  id: string;
31144
+ status: string | null;
30963
31145
  createdAt: Date;
30964
31146
  updatedAt: Date;
30965
31147
  deletedAt: Date | null;
@@ -30968,7 +31150,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30968
31150
  bucketName: string;
30969
31151
  fileSize: number;
30970
31152
  fileUrl: string | null;
30971
- status?: string | undefined;
30972
31153
  }[];
30973
31154
  }[];
30974
31155
  company: {
@@ -31201,9 +31382,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31201
31382
  fileSize: z.ZodNumber;
31202
31383
  fileKey: z.ZodString;
31203
31384
  fileUrl: z.ZodNullable<z.ZodString>;
31204
- status: z.ZodOptional<z.ZodString>;
31385
+ status: z.ZodNullable<z.ZodString>;
31205
31386
  }, "strip", z.ZodTypeAny, {
31206
31387
  id: string;
31388
+ status: string | null;
31207
31389
  createdAt: Date;
31208
31390
  updatedAt: Date;
31209
31391
  deletedAt: Date | null;
@@ -31212,9 +31394,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31212
31394
  bucketName: string;
31213
31395
  fileSize: number;
31214
31396
  fileUrl: string | null;
31215
- status?: string | undefined;
31216
31397
  }, {
31217
31398
  id: string;
31399
+ status: string | null;
31218
31400
  createdAt: Date;
31219
31401
  updatedAt: Date;
31220
31402
  deletedAt: Date | null;
@@ -31223,7 +31405,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31223
31405
  bucketName: string;
31224
31406
  fileSize: number;
31225
31407
  fileUrl: string | null;
31226
- status?: string | undefined;
31227
31408
  }>;
31228
31409
  repliedMessage: z.ZodLazy<z.ZodObject<{
31229
31410
  id: z.ZodString;
@@ -31232,7 +31413,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31232
31413
  deletedAt: z.ZodNullable<z.ZodDate>;
31233
31414
  message: z.ZodString;
31234
31415
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
31235
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
31416
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
31236
31417
  readAt: z.ZodDate;
31237
31418
  metadata: z.ZodAny;
31238
31419
  platformId: z.ZodString;
@@ -31253,9 +31434,10 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31253
31434
  fileSize: z.ZodNumber;
31254
31435
  fileKey: z.ZodString;
31255
31436
  fileUrl: z.ZodNullable<z.ZodString>;
31256
- status: z.ZodOptional<z.ZodString>;
31437
+ status: z.ZodNullable<z.ZodString>;
31257
31438
  }, "strip", z.ZodTypeAny, {
31258
31439
  id: string;
31440
+ status: string | null;
31259
31441
  createdAt: Date;
31260
31442
  updatedAt: Date;
31261
31443
  deletedAt: Date | null;
@@ -31264,9 +31446,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31264
31446
  bucketName: string;
31265
31447
  fileSize: number;
31266
31448
  fileUrl: string | null;
31267
- status?: string | undefined;
31268
31449
  }, {
31269
31450
  id: string;
31451
+ status: string | null;
31270
31452
  createdAt: Date;
31271
31453
  updatedAt: Date;
31272
31454
  deletedAt: Date | null;
@@ -31275,7 +31457,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31275
31457
  bucketName: string;
31276
31458
  fileSize: number;
31277
31459
  fileUrl: string | null;
31278
- status?: string | undefined;
31279
31460
  }>;
31280
31461
  actor: z.ZodObject<{
31281
31462
  id: z.ZodString;
@@ -31890,7 +32071,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31890
32071
  };
31891
32072
  }>;
31892
32073
  }, "strip", z.ZodTypeAny, {
31893
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
32074
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
31894
32075
  message: string;
31895
32076
  id: string;
31896
32077
  url: string;
@@ -31944,6 +32125,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31944
32125
  };
31945
32126
  upload: {
31946
32127
  id: string;
32128
+ status: string | null;
31947
32129
  createdAt: Date;
31948
32130
  updatedAt: Date;
31949
32131
  deletedAt: Date | null;
@@ -31952,7 +32134,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31952
32134
  bucketName: string;
31953
32135
  fileSize: number;
31954
32136
  fileUrl: string | null;
31955
- status?: string | undefined;
31956
32137
  };
31957
32138
  assignee: {
31958
32139
  id: string;
@@ -32052,7 +32233,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32052
32233
  metadata?: any;
32053
32234
  template?: any;
32054
32235
  }, {
32055
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
32236
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
32056
32237
  message: string;
32057
32238
  id: string;
32058
32239
  url: string;
@@ -32106,6 +32287,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32106
32287
  };
32107
32288
  upload: {
32108
32289
  id: string;
32290
+ status: string | null;
32109
32291
  createdAt: Date;
32110
32292
  updatedAt: Date;
32111
32293
  deletedAt: Date | null;
@@ -32114,7 +32296,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32114
32296
  bucketName: string;
32115
32297
  fileSize: number;
32116
32298
  fileUrl: string | null;
32117
- status?: string | undefined;
32118
32299
  };
32119
32300
  assignee: {
32120
32301
  id: string;
@@ -32854,7 +33035,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32854
33035
  editedMessageid: z.ZodString;
32855
33036
  label: z.ZodOptional<z.ZodString>;
32856
33037
  }, "strip", z.ZodTypeAny, {
32857
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
33038
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
32858
33039
  message: string;
32859
33040
  id: string;
32860
33041
  url: string;
@@ -32908,6 +33089,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32908
33089
  };
32909
33090
  upload: {
32910
33091
  id: string;
33092
+ status: string | null;
32911
33093
  createdAt: Date;
32912
33094
  updatedAt: Date;
32913
33095
  deletedAt: Date | null;
@@ -32916,7 +33098,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32916
33098
  bucketName: string;
32917
33099
  fileSize: number;
32918
33100
  fileUrl: string | null;
32919
- status?: string | undefined;
32920
33101
  };
32921
33102
  assignee: {
32922
33103
  id: string;
@@ -32977,15 +33158,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32977
33158
  additionalCredentials?: any;
32978
33159
  senderId?: string | undefined;
32979
33160
  whatsapp?: {
32980
- email: string;
32981
- wabaExternalId: string;
32982
- phoneNumberId: string;
32983
- wabaBusinessId?: string | undefined;
32984
- clientId?: string | undefined;
32985
- channelId?: string | undefined;
32986
- status?: "active" | "pending" | undefined;
33161
+ wabaBusinessId?: string | null | undefined;
33162
+ wabaExternalId?: string | null | undefined;
33163
+ phoneNumberId?: string | null | undefined;
33164
+ email?: string | null | undefined;
33165
+ clientId?: string | null | undefined;
33166
+ channelId?: string | null | undefined;
33167
+ waapiInstanceId?: string | null | undefined;
33168
+ qr?: string | null | undefined;
33169
+ status?: "active" | "pending" | "waapi-qr" | undefined;
32987
33170
  apiKey?: string | undefined;
32988
33171
  tier?: "basic" | "regular" | "premium" | undefined;
33172
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
32989
33173
  } | undefined;
32990
33174
  vonageCredentials?: {
32991
33175
  apiKey: string;
@@ -33157,6 +33341,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33157
33341
  dateValue: Date | null;
33158
33342
  uploads: {
33159
33343
  id: string;
33344
+ status: string | null;
33160
33345
  createdAt: Date;
33161
33346
  updatedAt: Date;
33162
33347
  deletedAt: Date | null;
@@ -33165,7 +33350,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33165
33350
  bucketName: string;
33166
33351
  fileSize: number;
33167
33352
  fileUrl: string | null;
33168
- status?: string | undefined;
33169
33353
  }[];
33170
33354
  }[];
33171
33355
  company: {
@@ -33404,7 +33588,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33404
33588
  previewUrl: string;
33405
33589
  imageSetId: string;
33406
33590
  repliedMessage: {
33407
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
33591
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
33408
33592
  message: string;
33409
33593
  id: string;
33410
33594
  url: string;
@@ -33458,6 +33642,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33458
33642
  };
33459
33643
  upload: {
33460
33644
  id: string;
33645
+ status: string | null;
33461
33646
  createdAt: Date;
33462
33647
  updatedAt: Date;
33463
33648
  deletedAt: Date | null;
@@ -33466,7 +33651,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33466
33651
  bucketName: string;
33467
33652
  fileSize: number;
33468
33653
  fileUrl: string | null;
33469
- status?: string | undefined;
33470
33654
  };
33471
33655
  assignee: {
33472
33656
  id: string;
@@ -33615,7 +33799,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33615
33799
  template?: any;
33616
33800
  label?: string | undefined;
33617
33801
  }, {
33618
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
33802
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
33619
33803
  message: string;
33620
33804
  id: string;
33621
33805
  url: string;
@@ -33669,6 +33853,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33669
33853
  };
33670
33854
  upload: {
33671
33855
  id: string;
33856
+ status: string | null;
33672
33857
  createdAt: Date;
33673
33858
  updatedAt: Date;
33674
33859
  deletedAt: Date | null;
@@ -33677,7 +33862,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33677
33862
  bucketName: string;
33678
33863
  fileSize: number;
33679
33864
  fileUrl: string | null;
33680
- status?: string | undefined;
33681
33865
  };
33682
33866
  assignee: {
33683
33867
  id: string;
@@ -33738,15 +33922,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33738
33922
  additionalCredentials?: any;
33739
33923
  senderId?: string | undefined;
33740
33924
  whatsapp?: {
33741
- email: string;
33742
- wabaExternalId: string;
33743
- phoneNumberId: string;
33744
- wabaBusinessId?: string | undefined;
33745
- clientId?: string | undefined;
33746
- channelId?: string | undefined;
33747
- status?: "active" | "pending" | undefined;
33925
+ wabaBusinessId?: string | null | undefined;
33926
+ wabaExternalId?: string | null | undefined;
33927
+ phoneNumberId?: string | null | undefined;
33928
+ email?: string | null | undefined;
33929
+ clientId?: string | null | undefined;
33930
+ channelId?: string | null | undefined;
33931
+ waapiInstanceId?: string | null | undefined;
33932
+ qr?: string | null | undefined;
33933
+ status?: "active" | "pending" | "waapi-qr" | undefined;
33748
33934
  apiKey?: string | undefined;
33749
33935
  tier?: "basic" | "regular" | "premium" | undefined;
33936
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
33750
33937
  } | undefined;
33751
33938
  vonageCredentials?: {
33752
33939
  apiKey: string;
@@ -33918,6 +34105,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33918
34105
  dateValue: Date | null;
33919
34106
  uploads: {
33920
34107
  id: string;
34108
+ status: string | null;
33921
34109
  createdAt: Date;
33922
34110
  updatedAt: Date;
33923
34111
  deletedAt: Date | null;
@@ -33926,7 +34114,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33926
34114
  bucketName: string;
33927
34115
  fileSize: number;
33928
34116
  fileUrl: string | null;
33929
- status?: string | undefined;
33930
34117
  }[];
33931
34118
  }[];
33932
34119
  company: {
@@ -34165,7 +34352,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34165
34352
  previewUrl: string;
34166
34353
  imageSetId: string;
34167
34354
  repliedMessage: {
34168
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
34355
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
34169
34356
  message: string;
34170
34357
  id: string;
34171
34358
  url: string;
@@ -34219,6 +34406,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34219
34406
  };
34220
34407
  upload: {
34221
34408
  id: string;
34409
+ status: string | null;
34222
34410
  createdAt: Date;
34223
34411
  updatedAt: Date;
34224
34412
  deletedAt: Date | null;
@@ -34227,7 +34415,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34227
34415
  bucketName: string;
34228
34416
  fileSize: number;
34229
34417
  fileUrl: string | null;
34230
- status?: string | undefined;
34231
34418
  };
34232
34419
  assignee: {
34233
34420
  id: string;
@@ -34377,13 +34564,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34377
34564
  label?: string | undefined;
34378
34565
  }>, "many">;
34379
34566
  }, "strip", z.ZodTypeAny, {
34380
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
34567
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
34381
34568
  message: string;
34382
34569
  id: string;
34383
34570
  url: string;
34384
34571
  direction: "incoming" | "outgoing" | "system";
34385
34572
  children: {
34386
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
34573
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
34387
34574
  message: string;
34388
34575
  id: string;
34389
34576
  url: string;
@@ -34437,6 +34624,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34437
34624
  };
34438
34625
  upload: {
34439
34626
  id: string;
34627
+ status: string | null;
34440
34628
  createdAt: Date;
34441
34629
  updatedAt: Date;
34442
34630
  deletedAt: Date | null;
@@ -34445,7 +34633,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34445
34633
  bucketName: string;
34446
34634
  fileSize: number;
34447
34635
  fileUrl: string | null;
34448
- status?: string | undefined;
34449
34636
  };
34450
34637
  assignee: {
34451
34638
  id: string;
@@ -34506,15 +34693,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34506
34693
  additionalCredentials?: any;
34507
34694
  senderId?: string | undefined;
34508
34695
  whatsapp?: {
34509
- email: string;
34510
- wabaExternalId: string;
34511
- phoneNumberId: string;
34512
- wabaBusinessId?: string | undefined;
34513
- clientId?: string | undefined;
34514
- channelId?: string | undefined;
34515
- status?: "active" | "pending" | undefined;
34696
+ wabaBusinessId?: string | null | undefined;
34697
+ wabaExternalId?: string | null | undefined;
34698
+ phoneNumberId?: string | null | undefined;
34699
+ email?: string | null | undefined;
34700
+ clientId?: string | null | undefined;
34701
+ channelId?: string | null | undefined;
34702
+ waapiInstanceId?: string | null | undefined;
34703
+ qr?: string | null | undefined;
34704
+ status?: "active" | "pending" | "waapi-qr" | undefined;
34516
34705
  apiKey?: string | undefined;
34517
34706
  tier?: "basic" | "regular" | "premium" | undefined;
34707
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
34518
34708
  } | undefined;
34519
34709
  vonageCredentials?: {
34520
34710
  apiKey: string;
@@ -34686,6 +34876,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34686
34876
  dateValue: Date | null;
34687
34877
  uploads: {
34688
34878
  id: string;
34879
+ status: string | null;
34689
34880
  createdAt: Date;
34690
34881
  updatedAt: Date;
34691
34882
  deletedAt: Date | null;
@@ -34694,7 +34885,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34694
34885
  bucketName: string;
34695
34886
  fileSize: number;
34696
34887
  fileUrl: string | null;
34697
- status?: string | undefined;
34698
34888
  }[];
34699
34889
  }[];
34700
34890
  company: {
@@ -34933,7 +35123,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34933
35123
  previewUrl: string;
34934
35124
  imageSetId: string;
34935
35125
  repliedMessage: {
34936
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
35126
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
34937
35127
  message: string;
34938
35128
  id: string;
34939
35129
  url: string;
@@ -34987,6 +35177,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34987
35177
  };
34988
35178
  upload: {
34989
35179
  id: string;
35180
+ status: string | null;
34990
35181
  createdAt: Date;
34991
35182
  updatedAt: Date;
34992
35183
  deletedAt: Date | null;
@@ -34995,7 +35186,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34995
35186
  bucketName: string;
34996
35187
  fileSize: number;
34997
35188
  fileUrl: string | null;
34998
- status?: string | undefined;
34999
35189
  };
35000
35190
  assignee: {
35001
35191
  id: string;
@@ -35193,6 +35383,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35193
35383
  };
35194
35384
  upload: {
35195
35385
  id: string;
35386
+ status: string | null;
35196
35387
  createdAt: Date;
35197
35388
  updatedAt: Date;
35198
35389
  deletedAt: Date | null;
@@ -35201,7 +35392,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35201
35392
  bucketName: string;
35202
35393
  fileSize: number;
35203
35394
  fileUrl: string | null;
35204
- status?: string | undefined;
35205
35395
  };
35206
35396
  assignee: {
35207
35397
  id: string;
@@ -35262,15 +35452,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35262
35452
  additionalCredentials?: any;
35263
35453
  senderId?: string | undefined;
35264
35454
  whatsapp?: {
35265
- email: string;
35266
- wabaExternalId: string;
35267
- phoneNumberId: string;
35268
- wabaBusinessId?: string | undefined;
35269
- clientId?: string | undefined;
35270
- channelId?: string | undefined;
35271
- status?: "active" | "pending" | undefined;
35455
+ wabaBusinessId?: string | null | undefined;
35456
+ wabaExternalId?: string | null | undefined;
35457
+ phoneNumberId?: string | null | undefined;
35458
+ email?: string | null | undefined;
35459
+ clientId?: string | null | undefined;
35460
+ channelId?: string | null | undefined;
35461
+ waapiInstanceId?: string | null | undefined;
35462
+ qr?: string | null | undefined;
35463
+ status?: "active" | "pending" | "waapi-qr" | undefined;
35272
35464
  apiKey?: string | undefined;
35273
35465
  tier?: "basic" | "regular" | "premium" | undefined;
35466
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
35274
35467
  } | undefined;
35275
35468
  vonageCredentials?: {
35276
35469
  apiKey: string;
@@ -35442,6 +35635,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35442
35635
  dateValue: Date | null;
35443
35636
  uploads: {
35444
35637
  id: string;
35638
+ status: string | null;
35445
35639
  createdAt: Date;
35446
35640
  updatedAt: Date;
35447
35641
  deletedAt: Date | null;
@@ -35450,7 +35644,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35450
35644
  bucketName: string;
35451
35645
  fileSize: number;
35452
35646
  fileUrl: string | null;
35453
- status?: string | undefined;
35454
35647
  }[];
35455
35648
  }[];
35456
35649
  company: {
@@ -35689,7 +35882,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35689
35882
  previewUrl: string;
35690
35883
  imageSetId: string;
35691
35884
  repliedMessage: {
35692
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
35885
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
35693
35886
  message: string;
35694
35887
  id: string;
35695
35888
  url: string;
@@ -35743,6 +35936,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35743
35936
  };
35744
35937
  upload: {
35745
35938
  id: string;
35939
+ status: string | null;
35746
35940
  createdAt: Date;
35747
35941
  updatedAt: Date;
35748
35942
  deletedAt: Date | null;
@@ -35751,7 +35945,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35751
35945
  bucketName: string;
35752
35946
  fileSize: number;
35753
35947
  fileUrl: string | null;
35754
- status?: string | undefined;
35755
35948
  };
35756
35949
  assignee: {
35757
35950
  id: string;
@@ -35941,6 +36134,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35941
36134
  dateValue: Date | null;
35942
36135
  uploads: {
35943
36136
  id: string;
36137
+ status: string | null;
35944
36138
  createdAt: Date;
35945
36139
  updatedAt: Date;
35946
36140
  deletedAt: Date | null;
@@ -35949,7 +36143,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35949
36143
  bucketName: string;
35950
36144
  fileSize: number;
35951
36145
  fileUrl: string | null;
35952
- status?: string | undefined;
35953
36146
  }[];
35954
36147
  }[];
35955
36148
  company: {
@@ -36027,13 +36220,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36027
36220
  template?: any;
36028
36221
  metadata?: any;
36029
36222
  }, {
36030
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
36223
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
36031
36224
  message: string;
36032
36225
  id: string;
36033
36226
  url: string;
36034
36227
  direction: "incoming" | "outgoing" | "system";
36035
36228
  children: {
36036
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
36229
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
36037
36230
  message: string;
36038
36231
  id: string;
36039
36232
  url: string;
@@ -36087,6 +36280,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36087
36280
  };
36088
36281
  upload: {
36089
36282
  id: string;
36283
+ status: string | null;
36090
36284
  createdAt: Date;
36091
36285
  updatedAt: Date;
36092
36286
  deletedAt: Date | null;
@@ -36095,7 +36289,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36095
36289
  bucketName: string;
36096
36290
  fileSize: number;
36097
36291
  fileUrl: string | null;
36098
- status?: string | undefined;
36099
36292
  };
36100
36293
  assignee: {
36101
36294
  id: string;
@@ -36156,15 +36349,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36156
36349
  additionalCredentials?: any;
36157
36350
  senderId?: string | undefined;
36158
36351
  whatsapp?: {
36159
- email: string;
36160
- wabaExternalId: string;
36161
- phoneNumberId: string;
36162
- wabaBusinessId?: string | undefined;
36163
- clientId?: string | undefined;
36164
- channelId?: string | undefined;
36165
- status?: "active" | "pending" | undefined;
36352
+ wabaBusinessId?: string | null | undefined;
36353
+ wabaExternalId?: string | null | undefined;
36354
+ phoneNumberId?: string | null | undefined;
36355
+ email?: string | null | undefined;
36356
+ clientId?: string | null | undefined;
36357
+ channelId?: string | null | undefined;
36358
+ waapiInstanceId?: string | null | undefined;
36359
+ qr?: string | null | undefined;
36360
+ status?: "active" | "pending" | "waapi-qr" | undefined;
36166
36361
  apiKey?: string | undefined;
36167
36362
  tier?: "basic" | "regular" | "premium" | undefined;
36363
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
36168
36364
  } | undefined;
36169
36365
  vonageCredentials?: {
36170
36366
  apiKey: string;
@@ -36336,6 +36532,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36336
36532
  dateValue: Date | null;
36337
36533
  uploads: {
36338
36534
  id: string;
36535
+ status: string | null;
36339
36536
  createdAt: Date;
36340
36537
  updatedAt: Date;
36341
36538
  deletedAt: Date | null;
@@ -36344,7 +36541,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36344
36541
  bucketName: string;
36345
36542
  fileSize: number;
36346
36543
  fileUrl: string | null;
36347
- status?: string | undefined;
36348
36544
  }[];
36349
36545
  }[];
36350
36546
  company: {
@@ -36583,7 +36779,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36583
36779
  previewUrl: string;
36584
36780
  imageSetId: string;
36585
36781
  repliedMessage: {
36586
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
36782
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
36587
36783
  message: string;
36588
36784
  id: string;
36589
36785
  url: string;
@@ -36637,6 +36833,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36637
36833
  };
36638
36834
  upload: {
36639
36835
  id: string;
36836
+ status: string | null;
36640
36837
  createdAt: Date;
36641
36838
  updatedAt: Date;
36642
36839
  deletedAt: Date | null;
@@ -36645,7 +36842,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36645
36842
  bucketName: string;
36646
36843
  fileSize: number;
36647
36844
  fileUrl: string | null;
36648
- status?: string | undefined;
36649
36845
  };
36650
36846
  assignee: {
36651
36847
  id: string;
@@ -36843,6 +37039,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36843
37039
  };
36844
37040
  upload: {
36845
37041
  id: string;
37042
+ status: string | null;
36846
37043
  createdAt: Date;
36847
37044
  updatedAt: Date;
36848
37045
  deletedAt: Date | null;
@@ -36851,7 +37048,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36851
37048
  bucketName: string;
36852
37049
  fileSize: number;
36853
37050
  fileUrl: string | null;
36854
- status?: string | undefined;
36855
37051
  };
36856
37052
  assignee: {
36857
37053
  id: string;
@@ -36912,15 +37108,18 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36912
37108
  additionalCredentials?: any;
36913
37109
  senderId?: string | undefined;
36914
37110
  whatsapp?: {
36915
- email: string;
36916
- wabaExternalId: string;
36917
- phoneNumberId: string;
36918
- wabaBusinessId?: string | undefined;
36919
- clientId?: string | undefined;
36920
- channelId?: string | undefined;
36921
- status?: "active" | "pending" | undefined;
37111
+ wabaBusinessId?: string | null | undefined;
37112
+ wabaExternalId?: string | null | undefined;
37113
+ phoneNumberId?: string | null | undefined;
37114
+ email?: string | null | undefined;
37115
+ clientId?: string | null | undefined;
37116
+ channelId?: string | null | undefined;
37117
+ waapiInstanceId?: string | null | undefined;
37118
+ qr?: string | null | undefined;
37119
+ status?: "active" | "pending" | "waapi-qr" | undefined;
36922
37120
  apiKey?: string | undefined;
36923
37121
  tier?: "basic" | "regular" | "premium" | undefined;
37122
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
36924
37123
  } | undefined;
36925
37124
  vonageCredentials?: {
36926
37125
  apiKey: string;
@@ -37092,6 +37291,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37092
37291
  dateValue: Date | null;
37093
37292
  uploads: {
37094
37293
  id: string;
37294
+ status: string | null;
37095
37295
  createdAt: Date;
37096
37296
  updatedAt: Date;
37097
37297
  deletedAt: Date | null;
@@ -37100,7 +37300,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37100
37300
  bucketName: string;
37101
37301
  fileSize: number;
37102
37302
  fileUrl: string | null;
37103
- status?: string | undefined;
37104
37303
  }[];
37105
37304
  }[];
37106
37305
  company: {
@@ -37339,7 +37538,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37339
37538
  previewUrl: string;
37340
37539
  imageSetId: string;
37341
37540
  repliedMessage: {
37342
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
37541
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
37343
37542
  message: string;
37344
37543
  id: string;
37345
37544
  url: string;
@@ -37393,6 +37592,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37393
37592
  };
37394
37593
  upload: {
37395
37594
  id: string;
37595
+ status: string | null;
37396
37596
  createdAt: Date;
37397
37597
  updatedAt: Date;
37398
37598
  deletedAt: Date | null;
@@ -37401,7 +37601,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37401
37601
  bucketName: string;
37402
37602
  fileSize: number;
37403
37603
  fileUrl: string | null;
37404
- status?: string | undefined;
37405
37604
  };
37406
37605
  assignee: {
37407
37606
  id: string;
@@ -37591,6 +37790,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37591
37790
  dateValue: Date | null;
37592
37791
  uploads: {
37593
37792
  id: string;
37793
+ status: string | null;
37594
37794
  createdAt: Date;
37595
37795
  updatedAt: Date;
37596
37796
  deletedAt: Date | null;
@@ -37599,7 +37799,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37599
37799
  bucketName: string;
37600
37800
  fileSize: number;
37601
37801
  fileUrl: string | null;
37602
- status?: string | undefined;
37603
37802
  }[];
37604
37803
  }[];
37605
37804
  company: {