@kl1/contracts 1.3.20 → 1.3.23

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