@kl1/contracts 1.3.19 → 1.3.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +1 -1
  2. package/dist/api-contracts/src/attribute/index.d.ts +7 -7
  3. package/dist/api-contracts/src/auth/index.d.ts +1 -1
  4. package/dist/api-contracts/src/automation-queue/index.d.ts +7 -10
  5. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  6. package/dist/api-contracts/src/aws/index.d.ts +2 -2
  7. package/dist/api-contracts/src/botpress/index.d.ts +2 -2
  8. package/dist/api-contracts/src/business-calendar/index.d.ts +4 -4
  9. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  10. package/dist/api-contracts/src/category/index.d.ts +7 -7
  11. package/dist/api-contracts/src/channel/index.d.ts +257 -1992
  12. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/channel/schema.d.ts +0 -36
  14. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  15. package/dist/api-contracts/src/channel/validation.d.ts +0 -23
  16. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  17. package/dist/api-contracts/src/chat/index.d.ts +2212 -2580
  18. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/chat/schema.d.ts +603 -679
  20. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  21. package/dist/api-contracts/src/chat/validation.d.ts +390 -501
  22. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  23. package/dist/api-contracts/src/comment/index.d.ts +359 -359
  24. package/dist/api-contracts/src/comment/schema.d.ts +88 -88
  25. package/dist/api-contracts/src/contract.d.ts +35405 -40773
  26. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  27. package/dist/api-contracts/src/cx-log/index.d.ts +65 -76
  28. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/cx-log/schema.d.ts +81 -90
  30. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  31. package/dist/api-contracts/src/dashboard/index.d.ts +49 -911
  32. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  33. package/dist/api-contracts/src/dashboard/schema.d.ts +9 -164
  34. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  35. package/dist/api-contracts/src/dashboard/validation.d.ts +1 -30
  36. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  37. package/dist/api-contracts/src/evaluate-form/index.d.ts +1 -1
  38. package/dist/api-contracts/src/extension/index.d.ts +7 -7
  39. package/dist/api-contracts/src/facebook-feed/index.d.ts +273 -395
  40. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  41. package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -10
  42. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  43. package/dist/api-contracts/src/facebook-feed/validation.d.ts +0 -5
  44. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  45. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  46. package/dist/api-contracts/src/hold-label/index.d.ts +10 -10
  47. package/dist/api-contracts/src/index.d.ts +0 -1
  48. package/dist/api-contracts/src/index.d.ts.map +1 -1
  49. package/dist/api-contracts/src/instagram/index.d.ts +261 -360
  50. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  51. package/dist/api-contracts/src/line/index.d.ts +268 -359
  52. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/line/validation.d.ts +7 -16
  54. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  55. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +1 -1
  56. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  57. package/dist/api-contracts/src/mail/mail-contract.d.ts +240 -240
  58. package/dist/api-contracts/src/mail/room-contract.d.ts +240 -240
  59. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +80 -80
  60. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +60 -60
  61. package/dist/api-contracts/src/messenger/index.d.ts +261 -360
  62. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  63. package/dist/api-contracts/src/messenger/validation.d.ts +0 -5
  64. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  65. package/dist/api-contracts/src/notification/index.d.ts +4 -4
  66. package/dist/api-contracts/src/permission/index.d.ts +1 -1
  67. package/dist/api-contracts/src/presence-status/index.d.ts +55 -127
  68. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  69. package/dist/api-contracts/src/presence-status/schema.d.ts +10 -16
  70. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  71. package/dist/api-contracts/src/presence-status/validation.d.ts +12 -30
  72. package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
  73. package/dist/api-contracts/src/role/index.d.ts +5 -5
  74. package/dist/api-contracts/src/sms/index.d.ts +7 -44
  75. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  76. package/dist/api-contracts/src/snippet/index.d.ts +8 -8
  77. package/dist/api-contracts/src/subscription/index.d.ts +5 -5
  78. package/dist/api-contracts/src/tag/index.d.ts +4 -4
  79. package/dist/api-contracts/src/telegram/index.d.ts +261 -338
  80. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  81. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +441 -62
  82. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  83. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +13 -25
  84. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  85. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  86. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  87. package/dist/api-contracts/src/telephony-cdr/index.d.ts +14 -14
  88. package/dist/api-contracts/src/telephony-extension/index.d.ts +1 -1
  89. package/dist/api-contracts/src/ticket/index.d.ts +660 -660
  90. package/dist/api-contracts/src/ticket/schema.d.ts +44 -44
  91. package/dist/api-contracts/src/ticket/validation.d.ts +20 -20
  92. package/dist/api-contracts/src/upload/index.d.ts +2 -2
  93. package/dist/api-contracts/src/user/index.d.ts +7 -7
  94. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +18 -42
  95. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  96. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +20 -50
  97. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  98. package/dist/api-contracts/src/viber/index.d.ts +261 -338
  99. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  100. package/dist/api-contracts/src/webchat/index.d.ts +261 -338
  101. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  102. package/dist/api-contracts/src/whatsapp/index.d.ts +261 -348
  103. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  104. package/dist/api-contracts/src/widget/index.d.ts +48 -350
  105. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  106. package/dist/api-contracts/src/widget/schema.d.ts +4 -46
  107. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  108. package/dist/api-contracts/src/widget/validation.d.ts +12 -66
  109. package/dist/api-contracts/src/widget/validation.d.ts.map +1 -1
  110. package/dist/api-contracts/src/workflow-rule/index.d.ts +277 -323
  111. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  112. package/dist/api-contracts/src/wrap-up-form/index.d.ts +187 -187
  113. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +20 -20
  114. package/dist/entities/src/enums/chat.d.ts +0 -12
  115. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  116. package/dist/index.js +1748 -2102
  117. package/dist/index.js.map +1 -1
  118. package/dist/index.mjs +1748 -2101
  119. package/dist/index.mjs.map +1 -1
  120. package/package.json +1 -1
@@ -121,7 +121,6 @@ export declare const telegramContract: {
121
121
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
122
122
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
123
123
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
124
- isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
125
124
  }, "strip", z.ZodTypeAny, {
126
125
  name: string;
127
126
  id: string;
@@ -151,7 +150,6 @@ export declare const telegramContract: {
151
150
  lineRichMenuId?: string | null | undefined;
152
151
  messengerIntegrationType?: "own" | "business" | undefined;
153
152
  facebookFeedIntegrationType?: "own" | "business" | undefined;
154
- isCSATEnabled?: boolean | undefined;
155
153
  }, {
156
154
  name: string;
157
155
  id: string;
@@ -181,7 +179,6 @@ export declare const telegramContract: {
181
179
  lineRichMenuId?: string | null | undefined;
182
180
  messengerIntegrationType?: "own" | "business" | undefined;
183
181
  facebookFeedIntegrationType?: "own" | "business" | undefined;
184
- isCSATEnabled?: boolean | undefined;
185
182
  }>;
186
183
  brandName: z.ZodString;
187
184
  platformId: z.ZodString;
@@ -445,7 +442,6 @@ export declare const telegramContract: {
445
442
  lineRichMenuId?: string | null | undefined;
446
443
  messengerIntegrationType?: "own" | "business" | undefined;
447
444
  facebookFeedIntegrationType?: "own" | "business" | undefined;
448
- isCSATEnabled?: boolean | undefined;
449
445
  };
450
446
  status: boolean;
451
447
  createdAt: Date;
@@ -540,7 +536,6 @@ export declare const telegramContract: {
540
536
  lineRichMenuId?: string | null | undefined;
541
537
  messengerIntegrationType?: "own" | "business" | undefined;
542
538
  facebookFeedIntegrationType?: "own" | "business" | undefined;
543
- isCSATEnabled?: boolean | undefined;
544
539
  };
545
540
  status: boolean;
546
541
  createdAt: Date;
@@ -637,7 +632,6 @@ export declare const telegramContract: {
637
632
  lineRichMenuId?: string | null | undefined;
638
633
  messengerIntegrationType?: "own" | "business" | undefined;
639
634
  facebookFeedIntegrationType?: "own" | "business" | undefined;
640
- isCSATEnabled?: boolean | undefined;
641
635
  };
642
636
  status: boolean;
643
637
  createdAt: Date;
@@ -735,7 +729,6 @@ export declare const telegramContract: {
735
729
  lineRichMenuId?: string | null | undefined;
736
730
  messengerIntegrationType?: "own" | "business" | undefined;
737
731
  facebookFeedIntegrationType?: "own" | "business" | undefined;
738
- isCSATEnabled?: boolean | undefined;
739
732
  };
740
733
  status: boolean;
741
734
  createdAt: Date;
@@ -903,7 +896,6 @@ export declare const telegramContract: {
903
896
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
904
897
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
905
898
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
906
- isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
907
899
  }, "strip", z.ZodTypeAny, {
908
900
  name: string;
909
901
  id: string;
@@ -933,7 +925,6 @@ export declare const telegramContract: {
933
925
  lineRichMenuId?: string | null | undefined;
934
926
  messengerIntegrationType?: "own" | "business" | undefined;
935
927
  facebookFeedIntegrationType?: "own" | "business" | undefined;
936
- isCSATEnabled?: boolean | undefined;
937
928
  }, {
938
929
  name: string;
939
930
  id: string;
@@ -963,7 +954,6 @@ export declare const telegramContract: {
963
954
  lineRichMenuId?: string | null | undefined;
964
955
  messengerIntegrationType?: "own" | "business" | undefined;
965
956
  facebookFeedIntegrationType?: "own" | "business" | undefined;
966
- isCSATEnabled?: boolean | undefined;
967
957
  }>;
968
958
  platformId: z.ZodString;
969
959
  brandName: z.ZodString;
@@ -1023,7 +1013,6 @@ export declare const telegramContract: {
1023
1013
  lineRichMenuId?: string | null | undefined;
1024
1014
  messengerIntegrationType?: "own" | "business" | undefined;
1025
1015
  facebookFeedIntegrationType?: "own" | "business" | undefined;
1026
- isCSATEnabled?: boolean | undefined;
1027
1016
  };
1028
1017
  status: boolean;
1029
1018
  brandName: string;
@@ -1071,7 +1060,6 @@ export declare const telegramContract: {
1071
1060
  lineRichMenuId?: string | null | undefined;
1072
1061
  messengerIntegrationType?: "own" | "business" | undefined;
1073
1062
  facebookFeedIntegrationType?: "own" | "business" | undefined;
1074
- isCSATEnabled?: boolean | undefined;
1075
1063
  };
1076
1064
  status: boolean;
1077
1065
  brandName: string;
@@ -1121,7 +1109,6 @@ export declare const telegramContract: {
1121
1109
  lineRichMenuId?: string | null | undefined;
1122
1110
  messengerIntegrationType?: "own" | "business" | undefined;
1123
1111
  facebookFeedIntegrationType?: "own" | "business" | undefined;
1124
- isCSATEnabled?: boolean | undefined;
1125
1112
  };
1126
1113
  status: boolean;
1127
1114
  brandName: string;
@@ -1172,7 +1159,6 @@ export declare const telegramContract: {
1172
1159
  lineRichMenuId?: string | null | undefined;
1173
1160
  messengerIntegrationType?: "own" | "business" | undefined;
1174
1161
  facebookFeedIntegrationType?: "own" | "business" | undefined;
1175
- isCSATEnabled?: boolean | undefined;
1176
1162
  };
1177
1163
  status: boolean;
1178
1164
  brandName: string;
@@ -1221,7 +1207,7 @@ export declare const telegramContract: {
1221
1207
  lastMessage: z.ZodOptional<z.ZodString>;
1222
1208
  handleTime: z.ZodOptional<z.ZodNumber>;
1223
1209
  isLatest: z.ZodBoolean;
1224
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1210
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1225
1211
  metadata: z.ZodOptional<z.ZodAny>;
1226
1212
  createdAt: z.ZodString;
1227
1213
  updatedAt: z.ZodString;
@@ -1406,7 +1392,6 @@ export declare const telegramContract: {
1406
1392
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1407
1393
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1408
1394
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1409
- isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
1410
1395
  }, "strip", z.ZodTypeAny, {
1411
1396
  name: string;
1412
1397
  id: string;
@@ -1436,7 +1421,6 @@ export declare const telegramContract: {
1436
1421
  lineRichMenuId?: string | null | undefined;
1437
1422
  messengerIntegrationType?: "own" | "business" | undefined;
1438
1423
  facebookFeedIntegrationType?: "own" | "business" | undefined;
1439
- isCSATEnabled?: boolean | undefined;
1440
1424
  }, {
1441
1425
  name: string;
1442
1426
  id: string;
@@ -1466,7 +1450,6 @@ export declare const telegramContract: {
1466
1450
  lineRichMenuId?: string | null | undefined;
1467
1451
  messengerIntegrationType?: "own" | "business" | undefined;
1468
1452
  facebookFeedIntegrationType?: "own" | "business" | undefined;
1469
- isCSATEnabled?: boolean | undefined;
1470
1453
  }>;
1471
1454
  platformId: z.ZodString;
1472
1455
  brandName: z.ZodString;
@@ -1526,7 +1509,6 @@ export declare const telegramContract: {
1526
1509
  lineRichMenuId?: string | null | undefined;
1527
1510
  messengerIntegrationType?: "own" | "business" | undefined;
1528
1511
  facebookFeedIntegrationType?: "own" | "business" | undefined;
1529
- isCSATEnabled?: boolean | undefined;
1530
1512
  };
1531
1513
  status: boolean;
1532
1514
  brandName: string;
@@ -1574,7 +1556,6 @@ export declare const telegramContract: {
1574
1556
  lineRichMenuId?: string | null | undefined;
1575
1557
  messengerIntegrationType?: "own" | "business" | undefined;
1576
1558
  facebookFeedIntegrationType?: "own" | "business" | undefined;
1577
- isCSATEnabled?: boolean | undefined;
1578
1559
  };
1579
1560
  status: boolean;
1580
1561
  brandName: string;
@@ -1627,7 +1608,6 @@ export declare const telegramContract: {
1627
1608
  lineRichMenuId?: string | null | undefined;
1628
1609
  messengerIntegrationType?: "own" | "business" | undefined;
1629
1610
  facebookFeedIntegrationType?: "own" | "business" | undefined;
1630
- isCSATEnabled?: boolean | undefined;
1631
1611
  };
1632
1612
  status: boolean;
1633
1613
  brandName: string;
@@ -1719,7 +1699,6 @@ export declare const telegramContract: {
1719
1699
  lineRichMenuId?: string | null | undefined;
1720
1700
  messengerIntegrationType?: "own" | "business" | undefined;
1721
1701
  facebookFeedIntegrationType?: "own" | "business" | undefined;
1722
- isCSATEnabled?: boolean | undefined;
1723
1702
  };
1724
1703
  status: boolean;
1725
1704
  brandName: string;
@@ -1780,8 +1759,8 @@ export declare const telegramContract: {
1780
1759
  message: z.ZodObject<{
1781
1760
  id: z.ZodOptional<z.ZodString>;
1782
1761
  message: z.ZodOptional<z.ZodString>;
1783
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1784
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
1762
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1763
+ 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", "referral", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
1785
1764
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1786
1765
  metadata: z.ZodOptional<z.ZodAny>;
1787
1766
  platformId: z.ZodOptional<z.ZodString>;
@@ -1837,7 +1816,7 @@ export declare const telegramContract: {
1837
1816
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1838
1817
  label: z.ZodOptional<z.ZodString>;
1839
1818
  }, "strip", z.ZodTypeAny, {
1840
- type: string;
1819
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1841
1820
  direction: "incoming" | "outgoing" | "system";
1842
1821
  id?: string | undefined;
1843
1822
  message?: string | undefined;
@@ -1872,7 +1851,7 @@ export declare const telegramContract: {
1872
1851
  editedAt?: string | Date | null | undefined;
1873
1852
  label?: string | undefined;
1874
1853
  }, {
1875
- type: string;
1854
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1876
1855
  direction: "incoming" | "outgoing" | "system";
1877
1856
  id?: string | undefined;
1878
1857
  message?: string | undefined;
@@ -1909,7 +1888,7 @@ export declare const telegramContract: {
1909
1888
  }>;
1910
1889
  }, "strip", z.ZodTypeAny, {
1911
1890
  message: {
1912
- type: string;
1891
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1913
1892
  direction: "incoming" | "outgoing" | "system";
1914
1893
  id?: string | undefined;
1915
1894
  message?: string | undefined;
@@ -1979,7 +1958,6 @@ export declare const telegramContract: {
1979
1958
  lineRichMenuId?: string | null | undefined;
1980
1959
  messengerIntegrationType?: "own" | "business" | undefined;
1981
1960
  facebookFeedIntegrationType?: "own" | "business" | undefined;
1982
- isCSATEnabled?: boolean | undefined;
1983
1961
  };
1984
1962
  status: boolean;
1985
1963
  brandName: string;
@@ -2040,7 +2018,7 @@ export declare const telegramContract: {
2040
2018
  isBot: boolean | null;
2041
2019
  }, {
2042
2020
  message: {
2043
- type: string;
2021
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2044
2022
  direction: "incoming" | "outgoing" | "system";
2045
2023
  id?: string | undefined;
2046
2024
  message?: string | undefined;
@@ -2110,7 +2088,6 @@ export declare const telegramContract: {
2110
2088
  lineRichMenuId?: string | null | undefined;
2111
2089
  messengerIntegrationType?: "own" | "business" | undefined;
2112
2090
  facebookFeedIntegrationType?: "own" | "business" | undefined;
2113
- isCSATEnabled?: boolean | undefined;
2114
2091
  };
2115
2092
  status: boolean;
2116
2093
  brandName: string;
@@ -2175,11 +2152,11 @@ export declare const telegramContract: {
2175
2152
  200: z.ZodObject<{
2176
2153
  requestId: z.ZodString;
2177
2154
  data: z.ZodObject<{
2178
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
2155
+ 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", "referral", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
2179
2156
  message: z.ZodString;
2180
2157
  id: z.ZodString;
2181
2158
  url: z.ZodString;
2182
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2159
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2183
2160
  label: z.ZodOptional<z.ZodString>;
2184
2161
  template: z.ZodAny;
2185
2162
  metadata: z.ZodAny;
@@ -2644,7 +2621,7 @@ export declare const telegramContract: {
2644
2621
  firstResponseTime: z.ZodNumber;
2645
2622
  isLatest: z.ZodBoolean;
2646
2623
  isBotRoom: z.ZodBoolean;
2647
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2624
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2648
2625
  platformContact: z.ZodObject<{
2649
2626
  id: z.ZodString;
2650
2627
  createdAt: z.ZodDate;
@@ -3692,7 +3669,6 @@ export declare const telegramContract: {
3692
3669
  channelId: string;
3693
3670
  socialPlatformId: string;
3694
3671
  }>;
3695
- csatStatus: z.ZodNullable<z.ZodString>;
3696
3672
  actor: z.ZodObject<{
3697
3673
  id: z.ZodString;
3698
3674
  createdAt: z.ZodDate;
@@ -4171,7 +4147,6 @@ export declare const telegramContract: {
4171
4147
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4172
4148
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
4173
4149
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
4174
- isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
4175
4150
  }, "strip", z.ZodTypeAny, {
4176
4151
  name: string;
4177
4152
  id: string;
@@ -4201,7 +4176,6 @@ export declare const telegramContract: {
4201
4176
  lineRichMenuId?: string | null | undefined;
4202
4177
  messengerIntegrationType?: "own" | "business" | undefined;
4203
4178
  facebookFeedIntegrationType?: "own" | "business" | undefined;
4204
- isCSATEnabled?: boolean | undefined;
4205
4179
  }, {
4206
4180
  name: string;
4207
4181
  id: string;
@@ -4231,7 +4205,6 @@ export declare const telegramContract: {
4231
4205
  lineRichMenuId?: string | null | undefined;
4232
4206
  messengerIntegrationType?: "own" | "business" | undefined;
4233
4207
  facebookFeedIntegrationType?: "own" | "business" | undefined;
4234
- isCSATEnabled?: boolean | undefined;
4235
4208
  }>;
4236
4209
  brandName: z.ZodString;
4237
4210
  platformId: z.ZodString;
@@ -4495,7 +4468,6 @@ export declare const telegramContract: {
4495
4468
  lineRichMenuId?: string | null | undefined;
4496
4469
  messengerIntegrationType?: "own" | "business" | undefined;
4497
4470
  facebookFeedIntegrationType?: "own" | "business" | undefined;
4498
- isCSATEnabled?: boolean | undefined;
4499
4471
  };
4500
4472
  status: boolean;
4501
4473
  createdAt: Date;
@@ -4590,7 +4562,6 @@ export declare const telegramContract: {
4590
4562
  lineRichMenuId?: string | null | undefined;
4591
4563
  messengerIntegrationType?: "own" | "business" | undefined;
4592
4564
  facebookFeedIntegrationType?: "own" | "business" | undefined;
4593
- isCSATEnabled?: boolean | undefined;
4594
4565
  };
4595
4566
  status: boolean;
4596
4567
  createdAt: Date;
@@ -4843,16 +4814,6 @@ export declare const telegramContract: {
4843
4814
  createdAt: Date;
4844
4815
  updatedAt: Date;
4845
4816
  deletedAt: Date | null;
4846
- tags: {
4847
- name: string;
4848
- id: string;
4849
- createdAt: Date;
4850
- updatedAt: Date;
4851
- deletedAt: Date | null;
4852
- }[];
4853
- callFrom: string | null;
4854
- callTo: string | null;
4855
- note: string | null;
4856
4817
  categories: {
4857
4818
  id: string;
4858
4819
  value: string;
@@ -4875,6 +4836,16 @@ export declare const telegramContract: {
4875
4836
  }[];
4876
4837
  }[];
4877
4838
  }[];
4839
+ tags: {
4840
+ name: string;
4841
+ id: string;
4842
+ createdAt: Date;
4843
+ updatedAt: Date;
4844
+ deletedAt: Date | null;
4845
+ }[];
4846
+ callFrom: string | null;
4847
+ callTo: string | null;
4848
+ note: string | null;
4878
4849
  customFields?: {
4879
4850
  id: string;
4880
4851
  createdAt: Date;
@@ -4894,16 +4865,6 @@ export declare const telegramContract: {
4894
4865
  createdAt: Date;
4895
4866
  updatedAt: Date;
4896
4867
  deletedAt: Date | null;
4897
- tags: {
4898
- name: string;
4899
- id: string;
4900
- createdAt: Date;
4901
- updatedAt: Date;
4902
- deletedAt: Date | null;
4903
- }[];
4904
- callFrom: string | null;
4905
- callTo: string | null;
4906
- note: string | null;
4907
4868
  categories: {
4908
4869
  id: string;
4909
4870
  value: string;
@@ -4926,6 +4887,16 @@ export declare const telegramContract: {
4926
4887
  }[];
4927
4888
  }[];
4928
4889
  }[];
4890
+ tags: {
4891
+ name: string;
4892
+ id: string;
4893
+ createdAt: Date;
4894
+ updatedAt: Date;
4895
+ deletedAt: Date | null;
4896
+ }[];
4897
+ callFrom: string | null;
4898
+ callTo: string | null;
4899
+ note: string | null;
4929
4900
  customFields?: {
4930
4901
  id: string;
4931
4902
  createdAt: Date;
@@ -5034,16 +5005,6 @@ export declare const telegramContract: {
5034
5005
  createdAt: Date;
5035
5006
  updatedAt: Date;
5036
5007
  deletedAt: Date | null;
5037
- tags: {
5038
- name: string;
5039
- id: string;
5040
- createdAt: Date;
5041
- updatedAt: Date;
5042
- deletedAt: Date | null;
5043
- }[];
5044
- callFrom: string | null;
5045
- callTo: string | null;
5046
- note: string | null;
5047
5008
  categories: {
5048
5009
  id: string;
5049
5010
  value: string;
@@ -5066,6 +5027,16 @@ export declare const telegramContract: {
5066
5027
  }[];
5067
5028
  }[];
5068
5029
  }[];
5030
+ tags: {
5031
+ name: string;
5032
+ id: string;
5033
+ createdAt: Date;
5034
+ updatedAt: Date;
5035
+ deletedAt: Date | null;
5036
+ }[];
5037
+ callFrom: string | null;
5038
+ callTo: string | null;
5039
+ note: string | null;
5069
5040
  customFields?: {
5070
5041
  id: string;
5071
5042
  createdAt: Date;
@@ -5124,16 +5095,6 @@ export declare const telegramContract: {
5124
5095
  createdAt: Date;
5125
5096
  updatedAt: Date;
5126
5097
  deletedAt: Date | null;
5127
- tags: {
5128
- name: string;
5129
- id: string;
5130
- createdAt: Date;
5131
- updatedAt: Date;
5132
- deletedAt: Date | null;
5133
- }[];
5134
- callFrom: string | null;
5135
- callTo: string | null;
5136
- note: string | null;
5137
5098
  categories: {
5138
5099
  id: string;
5139
5100
  value: string;
@@ -5156,6 +5117,16 @@ export declare const telegramContract: {
5156
5117
  }[];
5157
5118
  }[];
5158
5119
  }[];
5120
+ tags: {
5121
+ name: string;
5122
+ id: string;
5123
+ createdAt: Date;
5124
+ updatedAt: Date;
5125
+ deletedAt: Date | null;
5126
+ }[];
5127
+ callFrom: string | null;
5128
+ callTo: string | null;
5129
+ note: string | null;
5159
5130
  customFields?: {
5160
5131
  id: string;
5161
5132
  createdAt: Date;
@@ -5249,7 +5220,6 @@ export declare const telegramContract: {
5249
5220
  lineRichMenuId?: string | null | undefined;
5250
5221
  messengerIntegrationType?: "own" | "business" | undefined;
5251
5222
  facebookFeedIntegrationType?: "own" | "business" | undefined;
5252
- isCSATEnabled?: boolean | undefined;
5253
5223
  };
5254
5224
  status: boolean;
5255
5225
  createdAt: Date;
@@ -5541,7 +5511,6 @@ export declare const telegramContract: {
5541
5511
  closedAt: Date;
5542
5512
  lastMessageAt: Date | null;
5543
5513
  isBotRoom: boolean;
5544
- csatStatus: string | null;
5545
5514
  cxlog: {
5546
5515
  id: string;
5547
5516
  channel: string | null;
@@ -5569,16 +5538,6 @@ export declare const telegramContract: {
5569
5538
  createdAt: Date;
5570
5539
  updatedAt: Date;
5571
5540
  deletedAt: Date | null;
5572
- tags: {
5573
- name: string;
5574
- id: string;
5575
- createdAt: Date;
5576
- updatedAt: Date;
5577
- deletedAt: Date | null;
5578
- }[];
5579
- callFrom: string | null;
5580
- callTo: string | null;
5581
- note: string | null;
5582
5541
  categories: {
5583
5542
  id: string;
5584
5543
  value: string;
@@ -5601,6 +5560,16 @@ export declare const telegramContract: {
5601
5560
  }[];
5602
5561
  }[];
5603
5562
  }[];
5563
+ tags: {
5564
+ name: string;
5565
+ id: string;
5566
+ createdAt: Date;
5567
+ updatedAt: Date;
5568
+ deletedAt: Date | null;
5569
+ }[];
5570
+ callFrom: string | null;
5571
+ callTo: string | null;
5572
+ note: string | null;
5604
5573
  customFields?: {
5605
5574
  id: string;
5606
5575
  createdAt: Date;
@@ -5678,7 +5647,6 @@ export declare const telegramContract: {
5678
5647
  lineRichMenuId?: string | null | undefined;
5679
5648
  messengerIntegrationType?: "own" | "business" | undefined;
5680
5649
  facebookFeedIntegrationType?: "own" | "business" | undefined;
5681
- isCSATEnabled?: boolean | undefined;
5682
5650
  };
5683
5651
  status: boolean;
5684
5652
  createdAt: Date;
@@ -5970,7 +5938,6 @@ export declare const telegramContract: {
5970
5938
  closedAt: Date;
5971
5939
  lastMessageAt: Date | null;
5972
5940
  isBotRoom: boolean;
5973
- csatStatus: string | null;
5974
5941
  cxlog: {
5975
5942
  id: string;
5976
5943
  channel: string | null;
@@ -5998,16 +5965,6 @@ export declare const telegramContract: {
5998
5965
  createdAt: Date;
5999
5966
  updatedAt: Date;
6000
5967
  deletedAt: Date | null;
6001
- tags: {
6002
- name: string;
6003
- id: string;
6004
- createdAt: Date;
6005
- updatedAt: Date;
6006
- deletedAt: Date | null;
6007
- }[];
6008
- callFrom: string | null;
6009
- callTo: string | null;
6010
- note: string | null;
6011
5968
  categories: {
6012
5969
  id: string;
6013
5970
  value: string;
@@ -6030,6 +5987,16 @@ export declare const telegramContract: {
6030
5987
  }[];
6031
5988
  }[];
6032
5989
  }[];
5990
+ tags: {
5991
+ name: string;
5992
+ id: string;
5993
+ createdAt: Date;
5994
+ updatedAt: Date;
5995
+ deletedAt: Date | null;
5996
+ }[];
5997
+ callFrom: string | null;
5998
+ callTo: string | null;
5999
+ note: string | null;
6033
6000
  customFields?: {
6034
6001
  id: string;
6035
6002
  createdAt: Date;
@@ -6110,8 +6077,8 @@ export declare const telegramContract: {
6110
6077
  updatedAt: z.ZodDate;
6111
6078
  deletedAt: z.ZodNullable<z.ZodDate>;
6112
6079
  message: z.ZodString;
6113
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
6114
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
6080
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6081
+ 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", "referral", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
6115
6082
  readAt: z.ZodDate;
6116
6083
  metadata: z.ZodAny;
6117
6084
  platformId: z.ZodString;
@@ -6769,7 +6736,7 @@ export declare const telegramContract: {
6769
6736
  };
6770
6737
  }>;
6771
6738
  }, "strip", z.ZodTypeAny, {
6772
- type: string;
6739
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
6773
6740
  message: string;
6774
6741
  id: string;
6775
6742
  url: string;
@@ -6931,7 +6898,7 @@ export declare const telegramContract: {
6931
6898
  metadata?: any;
6932
6899
  template?: any;
6933
6900
  }, {
6934
- type: string;
6901
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
6935
6902
  message: string;
6936
6903
  id: string;
6937
6904
  url: string;
@@ -7304,8 +7271,8 @@ export declare const telegramContract: {
7304
7271
  updatedAt: z.ZodDate;
7305
7272
  deletedAt: z.ZodNullable<z.ZodDate>;
7306
7273
  message: z.ZodString;
7307
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
7308
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
7274
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7275
+ 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", "referral", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
7309
7276
  readAt: z.ZodDate;
7310
7277
  metadata: z.ZodAny;
7311
7278
  platformId: z.ZodString;
@@ -7331,7 +7298,7 @@ export declare const telegramContract: {
7331
7298
  firstResponseTime: z.ZodNumber;
7332
7299
  isLatest: z.ZodBoolean;
7333
7300
  isBotRoom: z.ZodBoolean;
7334
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
7301
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7335
7302
  platformContact: z.ZodObject<{
7336
7303
  id: z.ZodString;
7337
7304
  createdAt: z.ZodDate;
@@ -8379,7 +8346,6 @@ export declare const telegramContract: {
8379
8346
  channelId: string;
8380
8347
  socialPlatformId: string;
8381
8348
  }>;
8382
- csatStatus: z.ZodNullable<z.ZodString>;
8383
8349
  actor: z.ZodObject<{
8384
8350
  id: z.ZodString;
8385
8351
  createdAt: z.ZodDate;
@@ -8858,7 +8824,6 @@ export declare const telegramContract: {
8858
8824
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8859
8825
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
8860
8826
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
8861
- isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
8862
8827
  }, "strip", z.ZodTypeAny, {
8863
8828
  name: string;
8864
8829
  id: string;
@@ -8888,7 +8853,6 @@ export declare const telegramContract: {
8888
8853
  lineRichMenuId?: string | null | undefined;
8889
8854
  messengerIntegrationType?: "own" | "business" | undefined;
8890
8855
  facebookFeedIntegrationType?: "own" | "business" | undefined;
8891
- isCSATEnabled?: boolean | undefined;
8892
8856
  }, {
8893
8857
  name: string;
8894
8858
  id: string;
@@ -8918,7 +8882,6 @@ export declare const telegramContract: {
8918
8882
  lineRichMenuId?: string | null | undefined;
8919
8883
  messengerIntegrationType?: "own" | "business" | undefined;
8920
8884
  facebookFeedIntegrationType?: "own" | "business" | undefined;
8921
- isCSATEnabled?: boolean | undefined;
8922
8885
  }>;
8923
8886
  brandName: z.ZodString;
8924
8887
  platformId: z.ZodString;
@@ -9182,7 +9145,6 @@ export declare const telegramContract: {
9182
9145
  lineRichMenuId?: string | null | undefined;
9183
9146
  messengerIntegrationType?: "own" | "business" | undefined;
9184
9147
  facebookFeedIntegrationType?: "own" | "business" | undefined;
9185
- isCSATEnabled?: boolean | undefined;
9186
9148
  };
9187
9149
  status: boolean;
9188
9150
  createdAt: Date;
@@ -9277,7 +9239,6 @@ export declare const telegramContract: {
9277
9239
  lineRichMenuId?: string | null | undefined;
9278
9240
  messengerIntegrationType?: "own" | "business" | undefined;
9279
9241
  facebookFeedIntegrationType?: "own" | "business" | undefined;
9280
- isCSATEnabled?: boolean | undefined;
9281
9242
  };
9282
9243
  status: boolean;
9283
9244
  createdAt: Date;
@@ -9530,16 +9491,6 @@ export declare const telegramContract: {
9530
9491
  createdAt: Date;
9531
9492
  updatedAt: Date;
9532
9493
  deletedAt: Date | null;
9533
- tags: {
9534
- name: string;
9535
- id: string;
9536
- createdAt: Date;
9537
- updatedAt: Date;
9538
- deletedAt: Date | null;
9539
- }[];
9540
- callFrom: string | null;
9541
- callTo: string | null;
9542
- note: string | null;
9543
9494
  categories: {
9544
9495
  id: string;
9545
9496
  value: string;
@@ -9562,6 +9513,16 @@ export declare const telegramContract: {
9562
9513
  }[];
9563
9514
  }[];
9564
9515
  }[];
9516
+ tags: {
9517
+ name: string;
9518
+ id: string;
9519
+ createdAt: Date;
9520
+ updatedAt: Date;
9521
+ deletedAt: Date | null;
9522
+ }[];
9523
+ callFrom: string | null;
9524
+ callTo: string | null;
9525
+ note: string | null;
9565
9526
  customFields?: {
9566
9527
  id: string;
9567
9528
  createdAt: Date;
@@ -9581,16 +9542,6 @@ export declare const telegramContract: {
9581
9542
  createdAt: Date;
9582
9543
  updatedAt: Date;
9583
9544
  deletedAt: Date | null;
9584
- tags: {
9585
- name: string;
9586
- id: string;
9587
- createdAt: Date;
9588
- updatedAt: Date;
9589
- deletedAt: Date | null;
9590
- }[];
9591
- callFrom: string | null;
9592
- callTo: string | null;
9593
- note: string | null;
9594
9545
  categories: {
9595
9546
  id: string;
9596
9547
  value: string;
@@ -9613,6 +9564,16 @@ export declare const telegramContract: {
9613
9564
  }[];
9614
9565
  }[];
9615
9566
  }[];
9567
+ tags: {
9568
+ name: string;
9569
+ id: string;
9570
+ createdAt: Date;
9571
+ updatedAt: Date;
9572
+ deletedAt: Date | null;
9573
+ }[];
9574
+ callFrom: string | null;
9575
+ callTo: string | null;
9576
+ note: string | null;
9616
9577
  customFields?: {
9617
9578
  id: string;
9618
9579
  createdAt: Date;
@@ -9721,16 +9682,6 @@ export declare const telegramContract: {
9721
9682
  createdAt: Date;
9722
9683
  updatedAt: Date;
9723
9684
  deletedAt: Date | null;
9724
- tags: {
9725
- name: string;
9726
- id: string;
9727
- createdAt: Date;
9728
- updatedAt: Date;
9729
- deletedAt: Date | null;
9730
- }[];
9731
- callFrom: string | null;
9732
- callTo: string | null;
9733
- note: string | null;
9734
9685
  categories: {
9735
9686
  id: string;
9736
9687
  value: string;
@@ -9753,6 +9704,16 @@ export declare const telegramContract: {
9753
9704
  }[];
9754
9705
  }[];
9755
9706
  }[];
9707
+ tags: {
9708
+ name: string;
9709
+ id: string;
9710
+ createdAt: Date;
9711
+ updatedAt: Date;
9712
+ deletedAt: Date | null;
9713
+ }[];
9714
+ callFrom: string | null;
9715
+ callTo: string | null;
9716
+ note: string | null;
9756
9717
  customFields?: {
9757
9718
  id: string;
9758
9719
  createdAt: Date;
@@ -9811,16 +9772,6 @@ export declare const telegramContract: {
9811
9772
  createdAt: Date;
9812
9773
  updatedAt: Date;
9813
9774
  deletedAt: Date | null;
9814
- tags: {
9815
- name: string;
9816
- id: string;
9817
- createdAt: Date;
9818
- updatedAt: Date;
9819
- deletedAt: Date | null;
9820
- }[];
9821
- callFrom: string | null;
9822
- callTo: string | null;
9823
- note: string | null;
9824
9775
  categories: {
9825
9776
  id: string;
9826
9777
  value: string;
@@ -9843,6 +9794,16 @@ export declare const telegramContract: {
9843
9794
  }[];
9844
9795
  }[];
9845
9796
  }[];
9797
+ tags: {
9798
+ name: string;
9799
+ id: string;
9800
+ createdAt: Date;
9801
+ updatedAt: Date;
9802
+ deletedAt: Date | null;
9803
+ }[];
9804
+ callFrom: string | null;
9805
+ callTo: string | null;
9806
+ note: string | null;
9846
9807
  customFields?: {
9847
9808
  id: string;
9848
9809
  createdAt: Date;
@@ -9936,7 +9897,6 @@ export declare const telegramContract: {
9936
9897
  lineRichMenuId?: string | null | undefined;
9937
9898
  messengerIntegrationType?: "own" | "business" | undefined;
9938
9899
  facebookFeedIntegrationType?: "own" | "business" | undefined;
9939
- isCSATEnabled?: boolean | undefined;
9940
9900
  };
9941
9901
  status: boolean;
9942
9902
  createdAt: Date;
@@ -10228,7 +10188,6 @@ export declare const telegramContract: {
10228
10188
  closedAt: Date;
10229
10189
  lastMessageAt: Date | null;
10230
10190
  isBotRoom: boolean;
10231
- csatStatus: string | null;
10232
10191
  cxlog: {
10233
10192
  id: string;
10234
10193
  channel: string | null;
@@ -10256,16 +10215,6 @@ export declare const telegramContract: {
10256
10215
  createdAt: Date;
10257
10216
  updatedAt: Date;
10258
10217
  deletedAt: Date | null;
10259
- tags: {
10260
- name: string;
10261
- id: string;
10262
- createdAt: Date;
10263
- updatedAt: Date;
10264
- deletedAt: Date | null;
10265
- }[];
10266
- callFrom: string | null;
10267
- callTo: string | null;
10268
- note: string | null;
10269
10218
  categories: {
10270
10219
  id: string;
10271
10220
  value: string;
@@ -10288,6 +10237,16 @@ export declare const telegramContract: {
10288
10237
  }[];
10289
10238
  }[];
10290
10239
  }[];
10240
+ tags: {
10241
+ name: string;
10242
+ id: string;
10243
+ createdAt: Date;
10244
+ updatedAt: Date;
10245
+ deletedAt: Date | null;
10246
+ }[];
10247
+ callFrom: string | null;
10248
+ callTo: string | null;
10249
+ note: string | null;
10291
10250
  customFields?: {
10292
10251
  id: string;
10293
10252
  createdAt: Date;
@@ -10365,7 +10324,6 @@ export declare const telegramContract: {
10365
10324
  lineRichMenuId?: string | null | undefined;
10366
10325
  messengerIntegrationType?: "own" | "business" | undefined;
10367
10326
  facebookFeedIntegrationType?: "own" | "business" | undefined;
10368
- isCSATEnabled?: boolean | undefined;
10369
10327
  };
10370
10328
  status: boolean;
10371
10329
  createdAt: Date;
@@ -10657,7 +10615,6 @@ export declare const telegramContract: {
10657
10615
  closedAt: Date;
10658
10616
  lastMessageAt: Date | null;
10659
10617
  isBotRoom: boolean;
10660
- csatStatus: string | null;
10661
10618
  cxlog: {
10662
10619
  id: string;
10663
10620
  channel: string | null;
@@ -10685,16 +10642,6 @@ export declare const telegramContract: {
10685
10642
  createdAt: Date;
10686
10643
  updatedAt: Date;
10687
10644
  deletedAt: Date | null;
10688
- tags: {
10689
- name: string;
10690
- id: string;
10691
- createdAt: Date;
10692
- updatedAt: Date;
10693
- deletedAt: Date | null;
10694
- }[];
10695
- callFrom: string | null;
10696
- callTo: string | null;
10697
- note: string | null;
10698
10645
  categories: {
10699
10646
  id: string;
10700
10647
  value: string;
@@ -10717,6 +10664,16 @@ export declare const telegramContract: {
10717
10664
  }[];
10718
10665
  }[];
10719
10666
  }[];
10667
+ tags: {
10668
+ name: string;
10669
+ id: string;
10670
+ createdAt: Date;
10671
+ updatedAt: Date;
10672
+ deletedAt: Date | null;
10673
+ }[];
10674
+ callFrom: string | null;
10675
+ callTo: string | null;
10676
+ note: string | null;
10720
10677
  customFields?: {
10721
10678
  id: string;
10722
10679
  createdAt: Date;
@@ -10800,8 +10757,8 @@ export declare const telegramContract: {
10800
10757
  updatedAt: z.ZodDate;
10801
10758
  deletedAt: z.ZodNullable<z.ZodDate>;
10802
10759
  message: z.ZodString;
10803
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
10804
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
10760
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
10761
+ 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", "referral", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
10805
10762
  readAt: z.ZodDate;
10806
10763
  metadata: z.ZodAny;
10807
10764
  platformId: z.ZodString;
@@ -11459,7 +11416,7 @@ export declare const telegramContract: {
11459
11416
  };
11460
11417
  }>;
11461
11418
  }, "strip", z.ZodTypeAny, {
11462
- type: string;
11419
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11463
11420
  message: string;
11464
11421
  id: string;
11465
11422
  url: string;
@@ -11621,7 +11578,7 @@ export declare const telegramContract: {
11621
11578
  metadata?: any;
11622
11579
  template?: any;
11623
11580
  }, {
11624
- type: string;
11581
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11625
11582
  message: string;
11626
11583
  id: string;
11627
11584
  url: string;
@@ -12423,7 +12380,7 @@ export declare const telegramContract: {
12423
12380
  editedMessageid: z.ZodString;
12424
12381
  label: z.ZodOptional<z.ZodString>;
12425
12382
  }, "strip", z.ZodTypeAny, {
12426
- type: string;
12383
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12427
12384
  message: string;
12428
12385
  id: string;
12429
12386
  url: string;
@@ -12567,7 +12524,6 @@ export declare const telegramContract: {
12567
12524
  lineRichMenuId?: string | null | undefined;
12568
12525
  messengerIntegrationType?: "own" | "business" | undefined;
12569
12526
  facebookFeedIntegrationType?: "own" | "business" | undefined;
12570
- isCSATEnabled?: boolean | undefined;
12571
12527
  };
12572
12528
  status: boolean;
12573
12529
  createdAt: Date;
@@ -12859,7 +12815,6 @@ export declare const telegramContract: {
12859
12815
  closedAt: Date;
12860
12816
  lastMessageAt: Date | null;
12861
12817
  isBotRoom: boolean;
12862
- csatStatus: string | null;
12863
12818
  cxlog: {
12864
12819
  id: string;
12865
12820
  channel: string | null;
@@ -12887,16 +12842,6 @@ export declare const telegramContract: {
12887
12842
  createdAt: Date;
12888
12843
  updatedAt: Date;
12889
12844
  deletedAt: Date | null;
12890
- tags: {
12891
- name: string;
12892
- id: string;
12893
- createdAt: Date;
12894
- updatedAt: Date;
12895
- deletedAt: Date | null;
12896
- }[];
12897
- callFrom: string | null;
12898
- callTo: string | null;
12899
- note: string | null;
12900
12845
  categories: {
12901
12846
  id: string;
12902
12847
  value: string;
@@ -12919,6 +12864,16 @@ export declare const telegramContract: {
12919
12864
  }[];
12920
12865
  }[];
12921
12866
  }[];
12867
+ tags: {
12868
+ name: string;
12869
+ id: string;
12870
+ createdAt: Date;
12871
+ updatedAt: Date;
12872
+ deletedAt: Date | null;
12873
+ }[];
12874
+ callFrom: string | null;
12875
+ callTo: string | null;
12876
+ note: string | null;
12922
12877
  customFields?: {
12923
12878
  id: string;
12924
12879
  createdAt: Date;
@@ -12978,7 +12933,7 @@ export declare const telegramContract: {
12978
12933
  previewUrl: string;
12979
12934
  imageSetId: string;
12980
12935
  repliedMessage: {
12981
- type: string;
12936
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12982
12937
  message: string;
12983
12938
  id: string;
12984
12939
  url: string;
@@ -13189,7 +13144,7 @@ export declare const telegramContract: {
13189
13144
  template?: any;
13190
13145
  label?: string | undefined;
13191
13146
  }, {
13192
- type: string;
13147
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13193
13148
  message: string;
13194
13149
  id: string;
13195
13150
  url: string;
@@ -13333,7 +13288,6 @@ export declare const telegramContract: {
13333
13288
  lineRichMenuId?: string | null | undefined;
13334
13289
  messengerIntegrationType?: "own" | "business" | undefined;
13335
13290
  facebookFeedIntegrationType?: "own" | "business" | undefined;
13336
- isCSATEnabled?: boolean | undefined;
13337
13291
  };
13338
13292
  status: boolean;
13339
13293
  createdAt: Date;
@@ -13625,7 +13579,6 @@ export declare const telegramContract: {
13625
13579
  closedAt: Date;
13626
13580
  lastMessageAt: Date | null;
13627
13581
  isBotRoom: boolean;
13628
- csatStatus: string | null;
13629
13582
  cxlog: {
13630
13583
  id: string;
13631
13584
  channel: string | null;
@@ -13653,16 +13606,6 @@ export declare const telegramContract: {
13653
13606
  createdAt: Date;
13654
13607
  updatedAt: Date;
13655
13608
  deletedAt: Date | null;
13656
- tags: {
13657
- name: string;
13658
- id: string;
13659
- createdAt: Date;
13660
- updatedAt: Date;
13661
- deletedAt: Date | null;
13662
- }[];
13663
- callFrom: string | null;
13664
- callTo: string | null;
13665
- note: string | null;
13666
13609
  categories: {
13667
13610
  id: string;
13668
13611
  value: string;
@@ -13685,6 +13628,16 @@ export declare const telegramContract: {
13685
13628
  }[];
13686
13629
  }[];
13687
13630
  }[];
13631
+ tags: {
13632
+ name: string;
13633
+ id: string;
13634
+ createdAt: Date;
13635
+ updatedAt: Date;
13636
+ deletedAt: Date | null;
13637
+ }[];
13638
+ callFrom: string | null;
13639
+ callTo: string | null;
13640
+ note: string | null;
13688
13641
  customFields?: {
13689
13642
  id: string;
13690
13643
  createdAt: Date;
@@ -13744,7 +13697,7 @@ export declare const telegramContract: {
13744
13697
  previewUrl: string;
13745
13698
  imageSetId: string;
13746
13699
  repliedMessage: {
13747
- type: string;
13700
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13748
13701
  message: string;
13749
13702
  id: string;
13750
13703
  url: string;
@@ -13956,7 +13909,7 @@ export declare const telegramContract: {
13956
13909
  label?: string | undefined;
13957
13910
  }>>>;
13958
13911
  }, "strip", z.ZodTypeAny, {
13959
- type: string;
13912
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13960
13913
  message: string;
13961
13914
  id: string;
13962
13915
  url: string;
@@ -14100,7 +14053,6 @@ export declare const telegramContract: {
14100
14053
  lineRichMenuId?: string | null | undefined;
14101
14054
  messengerIntegrationType?: "own" | "business" | undefined;
14102
14055
  facebookFeedIntegrationType?: "own" | "business" | undefined;
14103
- isCSATEnabled?: boolean | undefined;
14104
14056
  };
14105
14057
  status: boolean;
14106
14058
  createdAt: Date;
@@ -14392,7 +14344,6 @@ export declare const telegramContract: {
14392
14344
  closedAt: Date;
14393
14345
  lastMessageAt: Date | null;
14394
14346
  isBotRoom: boolean;
14395
- csatStatus: string | null;
14396
14347
  cxlog: {
14397
14348
  id: string;
14398
14349
  channel: string | null;
@@ -14420,16 +14371,6 @@ export declare const telegramContract: {
14420
14371
  createdAt: Date;
14421
14372
  updatedAt: Date;
14422
14373
  deletedAt: Date | null;
14423
- tags: {
14424
- name: string;
14425
- id: string;
14426
- createdAt: Date;
14427
- updatedAt: Date;
14428
- deletedAt: Date | null;
14429
- }[];
14430
- callFrom: string | null;
14431
- callTo: string | null;
14432
- note: string | null;
14433
14374
  categories: {
14434
14375
  id: string;
14435
14376
  value: string;
@@ -14452,6 +14393,16 @@ export declare const telegramContract: {
14452
14393
  }[];
14453
14394
  }[];
14454
14395
  }[];
14396
+ tags: {
14397
+ name: string;
14398
+ id: string;
14399
+ createdAt: Date;
14400
+ updatedAt: Date;
14401
+ deletedAt: Date | null;
14402
+ }[];
14403
+ callFrom: string | null;
14404
+ callTo: string | null;
14405
+ note: string | null;
14455
14406
  customFields?: {
14456
14407
  id: string;
14457
14408
  createdAt: Date;
@@ -14511,7 +14462,7 @@ export declare const telegramContract: {
14511
14462
  previewUrl: string;
14512
14463
  imageSetId: string;
14513
14464
  repliedMessage: {
14514
- type: string;
14465
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14515
14466
  message: string;
14516
14467
  id: string;
14517
14468
  url: string;
@@ -14722,7 +14673,7 @@ export declare const telegramContract: {
14722
14673
  template?: any;
14723
14674
  metadata?: any;
14724
14675
  fromMessage?: {
14725
- type: string;
14676
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14726
14677
  message: string;
14727
14678
  id: string;
14728
14679
  url: string;
@@ -14866,7 +14817,6 @@ export declare const telegramContract: {
14866
14817
  lineRichMenuId?: string | null | undefined;
14867
14818
  messengerIntegrationType?: "own" | "business" | undefined;
14868
14819
  facebookFeedIntegrationType?: "own" | "business" | undefined;
14869
- isCSATEnabled?: boolean | undefined;
14870
14820
  };
14871
14821
  status: boolean;
14872
14822
  createdAt: Date;
@@ -15158,7 +15108,6 @@ export declare const telegramContract: {
15158
15108
  closedAt: Date;
15159
15109
  lastMessageAt: Date | null;
15160
15110
  isBotRoom: boolean;
15161
- csatStatus: string | null;
15162
15111
  cxlog: {
15163
15112
  id: string;
15164
15113
  channel: string | null;
@@ -15186,16 +15135,6 @@ export declare const telegramContract: {
15186
15135
  createdAt: Date;
15187
15136
  updatedAt: Date;
15188
15137
  deletedAt: Date | null;
15189
- tags: {
15190
- name: string;
15191
- id: string;
15192
- createdAt: Date;
15193
- updatedAt: Date;
15194
- deletedAt: Date | null;
15195
- }[];
15196
- callFrom: string | null;
15197
- callTo: string | null;
15198
- note: string | null;
15199
15138
  categories: {
15200
15139
  id: string;
15201
15140
  value: string;
@@ -15218,6 +15157,16 @@ export declare const telegramContract: {
15218
15157
  }[];
15219
15158
  }[];
15220
15159
  }[];
15160
+ tags: {
15161
+ name: string;
15162
+ id: string;
15163
+ createdAt: Date;
15164
+ updatedAt: Date;
15165
+ deletedAt: Date | null;
15166
+ }[];
15167
+ callFrom: string | null;
15168
+ callTo: string | null;
15169
+ note: string | null;
15221
15170
  customFields?: {
15222
15171
  id: string;
15223
15172
  createdAt: Date;
@@ -15277,7 +15226,7 @@ export declare const telegramContract: {
15277
15226
  previewUrl: string;
15278
15227
  imageSetId: string;
15279
15228
  repliedMessage: {
15280
- type: string;
15229
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15281
15230
  message: string;
15282
15231
  id: string;
15283
15232
  url: string;
@@ -15489,7 +15438,7 @@ export declare const telegramContract: {
15489
15438
  label?: string | undefined;
15490
15439
  } | null | undefined;
15491
15440
  }, {
15492
- type: string;
15441
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15493
15442
  message: string;
15494
15443
  id: string;
15495
15444
  url: string;
@@ -15633,7 +15582,6 @@ export declare const telegramContract: {
15633
15582
  lineRichMenuId?: string | null | undefined;
15634
15583
  messengerIntegrationType?: "own" | "business" | undefined;
15635
15584
  facebookFeedIntegrationType?: "own" | "business" | undefined;
15636
- isCSATEnabled?: boolean | undefined;
15637
15585
  };
15638
15586
  status: boolean;
15639
15587
  createdAt: Date;
@@ -15925,7 +15873,6 @@ export declare const telegramContract: {
15925
15873
  closedAt: Date;
15926
15874
  lastMessageAt: Date | null;
15927
15875
  isBotRoom: boolean;
15928
- csatStatus: string | null;
15929
15876
  cxlog: {
15930
15877
  id: string;
15931
15878
  channel: string | null;
@@ -15953,16 +15900,6 @@ export declare const telegramContract: {
15953
15900
  createdAt: Date;
15954
15901
  updatedAt: Date;
15955
15902
  deletedAt: Date | null;
15956
- tags: {
15957
- name: string;
15958
- id: string;
15959
- createdAt: Date;
15960
- updatedAt: Date;
15961
- deletedAt: Date | null;
15962
- }[];
15963
- callFrom: string | null;
15964
- callTo: string | null;
15965
- note: string | null;
15966
15903
  categories: {
15967
15904
  id: string;
15968
15905
  value: string;
@@ -15985,6 +15922,16 @@ export declare const telegramContract: {
15985
15922
  }[];
15986
15923
  }[];
15987
15924
  }[];
15925
+ tags: {
15926
+ name: string;
15927
+ id: string;
15928
+ createdAt: Date;
15929
+ updatedAt: Date;
15930
+ deletedAt: Date | null;
15931
+ }[];
15932
+ callFrom: string | null;
15933
+ callTo: string | null;
15934
+ note: string | null;
15988
15935
  customFields?: {
15989
15936
  id: string;
15990
15937
  createdAt: Date;
@@ -16044,7 +15991,7 @@ export declare const telegramContract: {
16044
15991
  previewUrl: string;
16045
15992
  imageSetId: string;
16046
15993
  repliedMessage: {
16047
- type: string;
15994
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16048
15995
  message: string;
16049
15996
  id: string;
16050
15997
  url: string;
@@ -16255,7 +16202,7 @@ export declare const telegramContract: {
16255
16202
  template?: any;
16256
16203
  metadata?: any;
16257
16204
  fromMessage?: {
16258
- type: string;
16205
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16259
16206
  message: string;
16260
16207
  id: string;
16261
16208
  url: string;
@@ -16399,7 +16346,6 @@ export declare const telegramContract: {
16399
16346
  lineRichMenuId?: string | null | undefined;
16400
16347
  messengerIntegrationType?: "own" | "business" | undefined;
16401
16348
  facebookFeedIntegrationType?: "own" | "business" | undefined;
16402
- isCSATEnabled?: boolean | undefined;
16403
16349
  };
16404
16350
  status: boolean;
16405
16351
  createdAt: Date;
@@ -16691,7 +16637,6 @@ export declare const telegramContract: {
16691
16637
  closedAt: Date;
16692
16638
  lastMessageAt: Date | null;
16693
16639
  isBotRoom: boolean;
16694
- csatStatus: string | null;
16695
16640
  cxlog: {
16696
16641
  id: string;
16697
16642
  channel: string | null;
@@ -16719,16 +16664,6 @@ export declare const telegramContract: {
16719
16664
  createdAt: Date;
16720
16665
  updatedAt: Date;
16721
16666
  deletedAt: Date | null;
16722
- tags: {
16723
- name: string;
16724
- id: string;
16725
- createdAt: Date;
16726
- updatedAt: Date;
16727
- deletedAt: Date | null;
16728
- }[];
16729
- callFrom: string | null;
16730
- callTo: string | null;
16731
- note: string | null;
16732
16667
  categories: {
16733
16668
  id: string;
16734
16669
  value: string;
@@ -16751,6 +16686,16 @@ export declare const telegramContract: {
16751
16686
  }[];
16752
16687
  }[];
16753
16688
  }[];
16689
+ tags: {
16690
+ name: string;
16691
+ id: string;
16692
+ createdAt: Date;
16693
+ updatedAt: Date;
16694
+ deletedAt: Date | null;
16695
+ }[];
16696
+ callFrom: string | null;
16697
+ callTo: string | null;
16698
+ note: string | null;
16754
16699
  customFields?: {
16755
16700
  id: string;
16756
16701
  createdAt: Date;
@@ -16810,7 +16755,7 @@ export declare const telegramContract: {
16810
16755
  previewUrl: string;
16811
16756
  imageSetId: string;
16812
16757
  repliedMessage: {
16813
- type: string;
16758
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16814
16759
  message: string;
16815
16760
  id: string;
16816
16761
  url: string;
@@ -17024,7 +16969,7 @@ export declare const telegramContract: {
17024
16969
  }>;
17025
16970
  }, "strip", z.ZodTypeAny, {
17026
16971
  data: {
17027
- type: string;
16972
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17028
16973
  message: string;
17029
16974
  id: string;
17030
16975
  url: string;
@@ -17168,7 +17113,6 @@ export declare const telegramContract: {
17168
17113
  lineRichMenuId?: string | null | undefined;
17169
17114
  messengerIntegrationType?: "own" | "business" | undefined;
17170
17115
  facebookFeedIntegrationType?: "own" | "business" | undefined;
17171
- isCSATEnabled?: boolean | undefined;
17172
17116
  };
17173
17117
  status: boolean;
17174
17118
  createdAt: Date;
@@ -17460,7 +17404,6 @@ export declare const telegramContract: {
17460
17404
  closedAt: Date;
17461
17405
  lastMessageAt: Date | null;
17462
17406
  isBotRoom: boolean;
17463
- csatStatus: string | null;
17464
17407
  cxlog: {
17465
17408
  id: string;
17466
17409
  channel: string | null;
@@ -17488,16 +17431,6 @@ export declare const telegramContract: {
17488
17431
  createdAt: Date;
17489
17432
  updatedAt: Date;
17490
17433
  deletedAt: Date | null;
17491
- tags: {
17492
- name: string;
17493
- id: string;
17494
- createdAt: Date;
17495
- updatedAt: Date;
17496
- deletedAt: Date | null;
17497
- }[];
17498
- callFrom: string | null;
17499
- callTo: string | null;
17500
- note: string | null;
17501
17434
  categories: {
17502
17435
  id: string;
17503
17436
  value: string;
@@ -17520,6 +17453,16 @@ export declare const telegramContract: {
17520
17453
  }[];
17521
17454
  }[];
17522
17455
  }[];
17456
+ tags: {
17457
+ name: string;
17458
+ id: string;
17459
+ createdAt: Date;
17460
+ updatedAt: Date;
17461
+ deletedAt: Date | null;
17462
+ }[];
17463
+ callFrom: string | null;
17464
+ callTo: string | null;
17465
+ note: string | null;
17523
17466
  customFields?: {
17524
17467
  id: string;
17525
17468
  createdAt: Date;
@@ -17579,7 +17522,7 @@ export declare const telegramContract: {
17579
17522
  previewUrl: string;
17580
17523
  imageSetId: string;
17581
17524
  repliedMessage: {
17582
- type: string;
17525
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17583
17526
  message: string;
17584
17527
  id: string;
17585
17528
  url: string;
@@ -17790,7 +17733,7 @@ export declare const telegramContract: {
17790
17733
  template?: any;
17791
17734
  metadata?: any;
17792
17735
  fromMessage?: {
17793
- type: string;
17736
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17794
17737
  message: string;
17795
17738
  id: string;
17796
17739
  url: string;
@@ -17934,7 +17877,6 @@ export declare const telegramContract: {
17934
17877
  lineRichMenuId?: string | null | undefined;
17935
17878
  messengerIntegrationType?: "own" | "business" | undefined;
17936
17879
  facebookFeedIntegrationType?: "own" | "business" | undefined;
17937
- isCSATEnabled?: boolean | undefined;
17938
17880
  };
17939
17881
  status: boolean;
17940
17882
  createdAt: Date;
@@ -18226,7 +18168,6 @@ export declare const telegramContract: {
18226
18168
  closedAt: Date;
18227
18169
  lastMessageAt: Date | null;
18228
18170
  isBotRoom: boolean;
18229
- csatStatus: string | null;
18230
18171
  cxlog: {
18231
18172
  id: string;
18232
18173
  channel: string | null;
@@ -18254,16 +18195,6 @@ export declare const telegramContract: {
18254
18195
  createdAt: Date;
18255
18196
  updatedAt: Date;
18256
18197
  deletedAt: Date | null;
18257
- tags: {
18258
- name: string;
18259
- id: string;
18260
- createdAt: Date;
18261
- updatedAt: Date;
18262
- deletedAt: Date | null;
18263
- }[];
18264
- callFrom: string | null;
18265
- callTo: string | null;
18266
- note: string | null;
18267
18198
  categories: {
18268
18199
  id: string;
18269
18200
  value: string;
@@ -18286,6 +18217,16 @@ export declare const telegramContract: {
18286
18217
  }[];
18287
18218
  }[];
18288
18219
  }[];
18220
+ tags: {
18221
+ name: string;
18222
+ id: string;
18223
+ createdAt: Date;
18224
+ updatedAt: Date;
18225
+ deletedAt: Date | null;
18226
+ }[];
18227
+ callFrom: string | null;
18228
+ callTo: string | null;
18229
+ note: string | null;
18289
18230
  customFields?: {
18290
18231
  id: string;
18291
18232
  createdAt: Date;
@@ -18345,7 +18286,7 @@ export declare const telegramContract: {
18345
18286
  previewUrl: string;
18346
18287
  imageSetId: string;
18347
18288
  repliedMessage: {
18348
- type: string;
18289
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18349
18290
  message: string;
18350
18291
  id: string;
18351
18292
  url: string;
@@ -18560,7 +18501,7 @@ export declare const telegramContract: {
18560
18501
  requestId: string;
18561
18502
  }, {
18562
18503
  data: {
18563
- type: string;
18504
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18564
18505
  message: string;
18565
18506
  id: string;
18566
18507
  url: string;
@@ -18704,7 +18645,6 @@ export declare const telegramContract: {
18704
18645
  lineRichMenuId?: string | null | undefined;
18705
18646
  messengerIntegrationType?: "own" | "business" | undefined;
18706
18647
  facebookFeedIntegrationType?: "own" | "business" | undefined;
18707
- isCSATEnabled?: boolean | undefined;
18708
18648
  };
18709
18649
  status: boolean;
18710
18650
  createdAt: Date;
@@ -18996,7 +18936,6 @@ export declare const telegramContract: {
18996
18936
  closedAt: Date;
18997
18937
  lastMessageAt: Date | null;
18998
18938
  isBotRoom: boolean;
18999
- csatStatus: string | null;
19000
18939
  cxlog: {
19001
18940
  id: string;
19002
18941
  channel: string | null;
@@ -19024,16 +18963,6 @@ export declare const telegramContract: {
19024
18963
  createdAt: Date;
19025
18964
  updatedAt: Date;
19026
18965
  deletedAt: Date | null;
19027
- tags: {
19028
- name: string;
19029
- id: string;
19030
- createdAt: Date;
19031
- updatedAt: Date;
19032
- deletedAt: Date | null;
19033
- }[];
19034
- callFrom: string | null;
19035
- callTo: string | null;
19036
- note: string | null;
19037
18966
  categories: {
19038
18967
  id: string;
19039
18968
  value: string;
@@ -19056,6 +18985,16 @@ export declare const telegramContract: {
19056
18985
  }[];
19057
18986
  }[];
19058
18987
  }[];
18988
+ tags: {
18989
+ name: string;
18990
+ id: string;
18991
+ createdAt: Date;
18992
+ updatedAt: Date;
18993
+ deletedAt: Date | null;
18994
+ }[];
18995
+ callFrom: string | null;
18996
+ callTo: string | null;
18997
+ note: string | null;
19059
18998
  customFields?: {
19060
18999
  id: string;
19061
19000
  createdAt: Date;
@@ -19115,7 +19054,7 @@ export declare const telegramContract: {
19115
19054
  previewUrl: string;
19116
19055
  imageSetId: string;
19117
19056
  repliedMessage: {
19118
- type: string;
19057
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19119
19058
  message: string;
19120
19059
  id: string;
19121
19060
  url: string;
@@ -19326,7 +19265,7 @@ export declare const telegramContract: {
19326
19265
  template?: any;
19327
19266
  metadata?: any;
19328
19267
  fromMessage?: {
19329
- type: string;
19268
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19330
19269
  message: string;
19331
19270
  id: string;
19332
19271
  url: string;
@@ -19470,7 +19409,6 @@ export declare const telegramContract: {
19470
19409
  lineRichMenuId?: string | null | undefined;
19471
19410
  messengerIntegrationType?: "own" | "business" | undefined;
19472
19411
  facebookFeedIntegrationType?: "own" | "business" | undefined;
19473
- isCSATEnabled?: boolean | undefined;
19474
19412
  };
19475
19413
  status: boolean;
19476
19414
  createdAt: Date;
@@ -19762,7 +19700,6 @@ export declare const telegramContract: {
19762
19700
  closedAt: Date;
19763
19701
  lastMessageAt: Date | null;
19764
19702
  isBotRoom: boolean;
19765
- csatStatus: string | null;
19766
19703
  cxlog: {
19767
19704
  id: string;
19768
19705
  channel: string | null;
@@ -19790,16 +19727,6 @@ export declare const telegramContract: {
19790
19727
  createdAt: Date;
19791
19728
  updatedAt: Date;
19792
19729
  deletedAt: Date | null;
19793
- tags: {
19794
- name: string;
19795
- id: string;
19796
- createdAt: Date;
19797
- updatedAt: Date;
19798
- deletedAt: Date | null;
19799
- }[];
19800
- callFrom: string | null;
19801
- callTo: string | null;
19802
- note: string | null;
19803
19730
  categories: {
19804
19731
  id: string;
19805
19732
  value: string;
@@ -19822,6 +19749,16 @@ export declare const telegramContract: {
19822
19749
  }[];
19823
19750
  }[];
19824
19751
  }[];
19752
+ tags: {
19753
+ name: string;
19754
+ id: string;
19755
+ createdAt: Date;
19756
+ updatedAt: Date;
19757
+ deletedAt: Date | null;
19758
+ }[];
19759
+ callFrom: string | null;
19760
+ callTo: string | null;
19761
+ note: string | null;
19825
19762
  customFields?: {
19826
19763
  id: string;
19827
19764
  createdAt: Date;
@@ -19881,7 +19818,7 @@ export declare const telegramContract: {
19881
19818
  previewUrl: string;
19882
19819
  imageSetId: string;
19883
19820
  repliedMessage: {
19884
- type: string;
19821
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19885
19822
  message: string;
19886
19823
  id: string;
19887
19824
  url: string;
@@ -20189,7 +20126,6 @@ export declare const telegramContract: {
20189
20126
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20190
20127
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
20191
20128
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
20192
- isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
20193
20129
  }, "strip", z.ZodTypeAny, {
20194
20130
  name: string;
20195
20131
  id: string;
@@ -20219,7 +20155,6 @@ export declare const telegramContract: {
20219
20155
  lineRichMenuId?: string | null | undefined;
20220
20156
  messengerIntegrationType?: "own" | "business" | undefined;
20221
20157
  facebookFeedIntegrationType?: "own" | "business" | undefined;
20222
- isCSATEnabled?: boolean | undefined;
20223
20158
  }, {
20224
20159
  name: string;
20225
20160
  id: string;
@@ -20249,7 +20184,6 @@ export declare const telegramContract: {
20249
20184
  lineRichMenuId?: string | null | undefined;
20250
20185
  messengerIntegrationType?: "own" | "business" | undefined;
20251
20186
  facebookFeedIntegrationType?: "own" | "business" | undefined;
20252
- isCSATEnabled?: boolean | undefined;
20253
20187
  }>;
20254
20188
  platformId: z.ZodString;
20255
20189
  brandName: z.ZodString;
@@ -20309,7 +20243,6 @@ export declare const telegramContract: {
20309
20243
  lineRichMenuId?: string | null | undefined;
20310
20244
  messengerIntegrationType?: "own" | "business" | undefined;
20311
20245
  facebookFeedIntegrationType?: "own" | "business" | undefined;
20312
- isCSATEnabled?: boolean | undefined;
20313
20246
  };
20314
20247
  status: boolean;
20315
20248
  brandName: string;
@@ -20357,7 +20290,6 @@ export declare const telegramContract: {
20357
20290
  lineRichMenuId?: string | null | undefined;
20358
20291
  messengerIntegrationType?: "own" | "business" | undefined;
20359
20292
  facebookFeedIntegrationType?: "own" | "business" | undefined;
20360
- isCSATEnabled?: boolean | undefined;
20361
20293
  };
20362
20294
  status: boolean;
20363
20295
  brandName: string;
@@ -20407,7 +20339,6 @@ export declare const telegramContract: {
20407
20339
  lineRichMenuId?: string | null | undefined;
20408
20340
  messengerIntegrationType?: "own" | "business" | undefined;
20409
20341
  facebookFeedIntegrationType?: "own" | "business" | undefined;
20410
- isCSATEnabled?: boolean | undefined;
20411
20342
  };
20412
20343
  status: boolean;
20413
20344
  brandName: string;
@@ -20458,7 +20389,6 @@ export declare const telegramContract: {
20458
20389
  lineRichMenuId?: string | null | undefined;
20459
20390
  messengerIntegrationType?: "own" | "business" | undefined;
20460
20391
  facebookFeedIntegrationType?: "own" | "business" | undefined;
20461
- isCSATEnabled?: boolean | undefined;
20462
20392
  };
20463
20393
  status: boolean;
20464
20394
  brandName: string;
@@ -20580,7 +20510,6 @@ export declare const telegramContract: {
20580
20510
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20581
20511
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
20582
20512
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
20583
- isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
20584
20513
  }, "strip", z.ZodTypeAny, {
20585
20514
  name: string;
20586
20515
  id: string;
@@ -20610,7 +20539,6 @@ export declare const telegramContract: {
20610
20539
  lineRichMenuId?: string | null | undefined;
20611
20540
  messengerIntegrationType?: "own" | "business" | undefined;
20612
20541
  facebookFeedIntegrationType?: "own" | "business" | undefined;
20613
- isCSATEnabled?: boolean | undefined;
20614
20542
  }, {
20615
20543
  name: string;
20616
20544
  id: string;
@@ -20640,7 +20568,6 @@ export declare const telegramContract: {
20640
20568
  lineRichMenuId?: string | null | undefined;
20641
20569
  messengerIntegrationType?: "own" | "business" | undefined;
20642
20570
  facebookFeedIntegrationType?: "own" | "business" | undefined;
20643
- isCSATEnabled?: boolean | undefined;
20644
20571
  }>;
20645
20572
  platformId: z.ZodString;
20646
20573
  brandName: z.ZodString;
@@ -20700,7 +20627,6 @@ export declare const telegramContract: {
20700
20627
  lineRichMenuId?: string | null | undefined;
20701
20628
  messengerIntegrationType?: "own" | "business" | undefined;
20702
20629
  facebookFeedIntegrationType?: "own" | "business" | undefined;
20703
- isCSATEnabled?: boolean | undefined;
20704
20630
  };
20705
20631
  status: boolean;
20706
20632
  brandName: string;
@@ -20748,7 +20674,6 @@ export declare const telegramContract: {
20748
20674
  lineRichMenuId?: string | null | undefined;
20749
20675
  messengerIntegrationType?: "own" | "business" | undefined;
20750
20676
  facebookFeedIntegrationType?: "own" | "business" | undefined;
20751
- isCSATEnabled?: boolean | undefined;
20752
20677
  };
20753
20678
  status: boolean;
20754
20679
  brandName: string;
@@ -20798,7 +20723,6 @@ export declare const telegramContract: {
20798
20723
  lineRichMenuId?: string | null | undefined;
20799
20724
  messengerIntegrationType?: "own" | "business" | undefined;
20800
20725
  facebookFeedIntegrationType?: "own" | "business" | undefined;
20801
- isCSATEnabled?: boolean | undefined;
20802
20726
  };
20803
20727
  status: boolean;
20804
20728
  brandName: string;
@@ -20849,7 +20773,6 @@ export declare const telegramContract: {
20849
20773
  lineRichMenuId?: string | null | undefined;
20850
20774
  messengerIntegrationType?: "own" | "business" | undefined;
20851
20775
  facebookFeedIntegrationType?: "own" | "business" | undefined;
20852
- isCSATEnabled?: boolean | undefined;
20853
20776
  };
20854
20777
  status: boolean;
20855
20778
  brandName: string;