@kl1/contracts 1.3.27 → 1.3.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) 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 +43 -1585
  12. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/channel/schema.d.ts +0 -44
  14. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  15. package/dist/api-contracts/src/channel/validation.d.ts +0 -65
  16. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  17. package/dist/api-contracts/src/chat/index.d.ts +2172 -3246
  18. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/chat/schema.d.ts +463 -712
  20. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  21. package/dist/api-contracts/src/chat/validation.d.ts +392 -778
  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 +38192 -45818
  26. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  27. package/dist/api-contracts/src/cx-log/index.d.ts +65 -115
  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 -123
  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 -962
  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/export/index.d.ts +0 -2
  39. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/extension/index.d.ts +7 -7
  41. package/dist/api-contracts/src/facebook-feed/index.d.ts +273 -781
  42. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  43. package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -37
  44. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  45. package/dist/api-contracts/src/facebook-feed/validation.d.ts +0 -26
  46. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  47. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  48. package/dist/api-contracts/src/hold-label/index.d.ts +10 -10
  49. package/dist/api-contracts/src/index.d.ts +0 -2
  50. package/dist/api-contracts/src/index.d.ts.map +1 -1
  51. package/dist/api-contracts/src/instagram/index.d.ts +261 -659
  52. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/line/index.d.ts +268 -622
  54. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  55. package/dist/api-contracts/src/line/validation.d.ts +7 -49
  56. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  57. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +1 -1
  58. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  59. package/dist/api-contracts/src/mail/mail-contract.d.ts +240 -240
  60. package/dist/api-contracts/src/mail/room-contract.d.ts +240 -240
  61. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +80 -80
  62. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +60 -60
  63. package/dist/api-contracts/src/messenger/index.d.ts +261 -659
  64. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  65. package/dist/api-contracts/src/messenger/validation.d.ts +0 -26
  66. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  67. package/dist/api-contracts/src/notification/index.d.ts +4 -4
  68. package/dist/api-contracts/src/permission/index.d.ts +1 -1
  69. package/dist/api-contracts/src/presence-status/index.d.ts +55 -127
  70. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  71. package/dist/api-contracts/src/presence-status/schema.d.ts +10 -16
  72. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  73. package/dist/api-contracts/src/presence-status/validation.d.ts +12 -30
  74. package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
  75. package/dist/api-contracts/src/role/index.d.ts +5 -5
  76. package/dist/api-contracts/src/sms/index.d.ts +7 -185
  77. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  78. package/dist/api-contracts/src/snippet/index.d.ts +8 -8
  79. package/dist/api-contracts/src/subscription/index.d.ts +5 -5
  80. package/dist/api-contracts/src/tag/index.d.ts +4 -4
  81. package/dist/api-contracts/src/telegram/index.d.ts +263 -549
  82. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  83. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +441 -62
  84. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  85. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +13 -25
  86. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  87. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  88. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  89. package/dist/api-contracts/src/telephony-cdr/index.d.ts +14 -14
  90. package/dist/api-contracts/src/telephony-extension/index.d.ts +1 -1
  91. package/dist/api-contracts/src/ticket/index.d.ts +660 -660
  92. package/dist/api-contracts/src/ticket/schema.d.ts +44 -44
  93. package/dist/api-contracts/src/ticket/validation.d.ts +20 -20
  94. package/dist/api-contracts/src/upload/index.d.ts +2 -2
  95. package/dist/api-contracts/src/user/index.d.ts +7 -7
  96. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +18 -42
  97. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  98. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +20 -50
  99. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  100. package/dist/api-contracts/src/viber/index.d.ts +263 -549
  101. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  102. package/dist/api-contracts/src/webchat/index.d.ts +261 -547
  103. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  104. package/dist/api-contracts/src/whatsapp/index.d.ts +261 -599
  105. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  106. package/dist/api-contracts/src/widget/index.d.ts +51 -636
  107. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  108. package/dist/api-contracts/src/widget/schema.d.ts +4 -46
  109. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  110. package/dist/api-contracts/src/widget/validation.d.ts +12 -66
  111. package/dist/api-contracts/src/widget/validation.d.ts.map +1 -1
  112. package/dist/api-contracts/src/workflow-rule/index.d.ts +277 -411
  113. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  114. package/dist/api-contracts/src/wrap-up-form/index.d.ts +187 -187
  115. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +20 -20
  116. package/dist/index.js +466 -882
  117. package/dist/index.js.map +1 -1
  118. package/dist/index.mjs +466 -880
  119. package/dist/index.mjs.map +1 -1
  120. package/package.json +1 -1
  121. package/dist/api-contracts/src/export/validation.d.ts +0 -3
  122. package/dist/api-contracts/src/export/validation.d.ts.map +0 -1
@@ -118,16 +118,6 @@ export declare const telegramContract: {
118
118
  mobileNumber: string;
119
119
  apiSecret: string;
120
120
  }>>;
121
- line: z.ZodOptional<z.ZodObject<{
122
- channelId: z.ZodString;
123
- channelSecret: z.ZodString;
124
- }, "strip", z.ZodTypeAny, {
125
- channelId: string;
126
- channelSecret: string;
127
- }, {
128
- channelId: string;
129
- channelSecret: string;
130
- }>>;
131
121
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
132
122
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
133
123
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -158,10 +148,6 @@ export declare const telegramContract: {
158
148
  mobileNumber: string;
159
149
  apiSecret: string;
160
150
  } | undefined;
161
- line?: {
162
- channelId: string;
163
- channelSecret: string;
164
- } | undefined;
165
151
  lineRichMenuId?: string | null | undefined;
166
152
  messengerIntegrationType?: "own" | "business" | undefined;
167
153
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -192,10 +178,6 @@ export declare const telegramContract: {
192
178
  mobileNumber: string;
193
179
  apiSecret: string;
194
180
  } | undefined;
195
- line?: {
196
- channelId: string;
197
- channelSecret: string;
198
- } | undefined;
199
181
  lineRichMenuId?: string | null | undefined;
200
182
  messengerIntegrationType?: "own" | "business" | undefined;
201
183
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -460,10 +442,6 @@ export declare const telegramContract: {
460
442
  mobileNumber: string;
461
443
  apiSecret: string;
462
444
  } | undefined;
463
- line?: {
464
- channelId: string;
465
- channelSecret: string;
466
- } | undefined;
467
445
  lineRichMenuId?: string | null | undefined;
468
446
  messengerIntegrationType?: "own" | "business" | undefined;
469
447
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -559,10 +537,6 @@ export declare const telegramContract: {
559
537
  mobileNumber: string;
560
538
  apiSecret: string;
561
539
  } | undefined;
562
- line?: {
563
- channelId: string;
564
- channelSecret: string;
565
- } | undefined;
566
540
  lineRichMenuId?: string | null | undefined;
567
541
  messengerIntegrationType?: "own" | "business" | undefined;
568
542
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -660,10 +634,6 @@ export declare const telegramContract: {
660
634
  mobileNumber: string;
661
635
  apiSecret: string;
662
636
  } | undefined;
663
- line?: {
664
- channelId: string;
665
- channelSecret: string;
666
- } | undefined;
667
637
  lineRichMenuId?: string | null | undefined;
668
638
  messengerIntegrationType?: "own" | "business" | undefined;
669
639
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -762,10 +732,6 @@ export declare const telegramContract: {
762
732
  mobileNumber: string;
763
733
  apiSecret: string;
764
734
  } | undefined;
765
- line?: {
766
- channelId: string;
767
- channelSecret: string;
768
- } | undefined;
769
735
  lineRichMenuId?: string | null | undefined;
770
736
  messengerIntegrationType?: "own" | "business" | undefined;
771
737
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -934,16 +900,6 @@ export declare const telegramContract: {
934
900
  mobileNumber: string;
935
901
  apiSecret: string;
936
902
  }>>;
937
- line: z.ZodOptional<z.ZodObject<{
938
- channelId: z.ZodString;
939
- channelSecret: z.ZodString;
940
- }, "strip", z.ZodTypeAny, {
941
- channelId: string;
942
- channelSecret: string;
943
- }, {
944
- channelId: string;
945
- channelSecret: string;
946
- }>>;
947
903
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
948
904
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
949
905
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -974,10 +930,6 @@ export declare const telegramContract: {
974
930
  mobileNumber: string;
975
931
  apiSecret: string;
976
932
  } | undefined;
977
- line?: {
978
- channelId: string;
979
- channelSecret: string;
980
- } | undefined;
981
933
  lineRichMenuId?: string | null | undefined;
982
934
  messengerIntegrationType?: "own" | "business" | undefined;
983
935
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1008,10 +960,6 @@ export declare const telegramContract: {
1008
960
  mobileNumber: string;
1009
961
  apiSecret: string;
1010
962
  } | undefined;
1011
- line?: {
1012
- channelId: string;
1013
- channelSecret: string;
1014
- } | undefined;
1015
963
  lineRichMenuId?: string | null | undefined;
1016
964
  messengerIntegrationType?: "own" | "business" | undefined;
1017
965
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1072,10 +1020,6 @@ export declare const telegramContract: {
1072
1020
  mobileNumber: string;
1073
1021
  apiSecret: string;
1074
1022
  } | undefined;
1075
- line?: {
1076
- channelId: string;
1077
- channelSecret: string;
1078
- } | undefined;
1079
1023
  lineRichMenuId?: string | null | undefined;
1080
1024
  messengerIntegrationType?: "own" | "business" | undefined;
1081
1025
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1124,10 +1068,6 @@ export declare const telegramContract: {
1124
1068
  mobileNumber: string;
1125
1069
  apiSecret: string;
1126
1070
  } | undefined;
1127
- line?: {
1128
- channelId: string;
1129
- channelSecret: string;
1130
- } | undefined;
1131
1071
  lineRichMenuId?: string | null | undefined;
1132
1072
  messengerIntegrationType?: "own" | "business" | undefined;
1133
1073
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1178,10 +1118,6 @@ export declare const telegramContract: {
1178
1118
  mobileNumber: string;
1179
1119
  apiSecret: string;
1180
1120
  } | undefined;
1181
- line?: {
1182
- channelId: string;
1183
- channelSecret: string;
1184
- } | undefined;
1185
1121
  lineRichMenuId?: string | null | undefined;
1186
1122
  messengerIntegrationType?: "own" | "business" | undefined;
1187
1123
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1233,10 +1169,6 @@ export declare const telegramContract: {
1233
1169
  mobileNumber: string;
1234
1170
  apiSecret: string;
1235
1171
  } | undefined;
1236
- line?: {
1237
- channelId: string;
1238
- channelSecret: string;
1239
- } | undefined;
1240
1172
  lineRichMenuId?: string | null | undefined;
1241
1173
  messengerIntegrationType?: "own" | "business" | undefined;
1242
1174
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1289,7 +1221,7 @@ export declare const telegramContract: {
1289
1221
  lastMessage: z.ZodOptional<z.ZodString>;
1290
1222
  handleTime: z.ZodOptional<z.ZodNumber>;
1291
1223
  isLatest: z.ZodBoolean;
1292
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1224
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1293
1225
  metadata: z.ZodOptional<z.ZodAny>;
1294
1226
  createdAt: z.ZodString;
1295
1227
  updatedAt: z.ZodString;
@@ -1471,16 +1403,6 @@ export declare const telegramContract: {
1471
1403
  mobileNumber: string;
1472
1404
  apiSecret: string;
1473
1405
  }>>;
1474
- line: z.ZodOptional<z.ZodObject<{
1475
- channelId: z.ZodString;
1476
- channelSecret: z.ZodString;
1477
- }, "strip", z.ZodTypeAny, {
1478
- channelId: string;
1479
- channelSecret: string;
1480
- }, {
1481
- channelId: string;
1482
- channelSecret: string;
1483
- }>>;
1484
1406
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1485
1407
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1486
1408
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -1511,10 +1433,6 @@ export declare const telegramContract: {
1511
1433
  mobileNumber: string;
1512
1434
  apiSecret: string;
1513
1435
  } | undefined;
1514
- line?: {
1515
- channelId: string;
1516
- channelSecret: string;
1517
- } | undefined;
1518
1436
  lineRichMenuId?: string | null | undefined;
1519
1437
  messengerIntegrationType?: "own" | "business" | undefined;
1520
1438
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1545,10 +1463,6 @@ export declare const telegramContract: {
1545
1463
  mobileNumber: string;
1546
1464
  apiSecret: string;
1547
1465
  } | undefined;
1548
- line?: {
1549
- channelId: string;
1550
- channelSecret: string;
1551
- } | undefined;
1552
1466
  lineRichMenuId?: string | null | undefined;
1553
1467
  messengerIntegrationType?: "own" | "business" | undefined;
1554
1468
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1609,10 +1523,6 @@ export declare const telegramContract: {
1609
1523
  mobileNumber: string;
1610
1524
  apiSecret: string;
1611
1525
  } | undefined;
1612
- line?: {
1613
- channelId: string;
1614
- channelSecret: string;
1615
- } | undefined;
1616
1526
  lineRichMenuId?: string | null | undefined;
1617
1527
  messengerIntegrationType?: "own" | "business" | undefined;
1618
1528
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1661,10 +1571,6 @@ export declare const telegramContract: {
1661
1571
  mobileNumber: string;
1662
1572
  apiSecret: string;
1663
1573
  } | undefined;
1664
- line?: {
1665
- channelId: string;
1666
- channelSecret: string;
1667
- } | undefined;
1668
1574
  lineRichMenuId?: string | null | undefined;
1669
1575
  messengerIntegrationType?: "own" | "business" | undefined;
1670
1576
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1718,10 +1624,6 @@ export declare const telegramContract: {
1718
1624
  mobileNumber: string;
1719
1625
  apiSecret: string;
1720
1626
  } | undefined;
1721
- line?: {
1722
- channelId: string;
1723
- channelSecret: string;
1724
- } | undefined;
1725
1627
  lineRichMenuId?: string | null | undefined;
1726
1628
  messengerIntegrationType?: "own" | "business" | undefined;
1727
1629
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1814,10 +1716,6 @@ export declare const telegramContract: {
1814
1716
  mobileNumber: string;
1815
1717
  apiSecret: string;
1816
1718
  } | undefined;
1817
- line?: {
1818
- channelId: string;
1819
- channelSecret: string;
1820
- } | undefined;
1821
1719
  lineRichMenuId?: string | null | undefined;
1822
1720
  messengerIntegrationType?: "own" | "business" | undefined;
1823
1721
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1882,8 +1780,8 @@ export declare const telegramContract: {
1882
1780
  message: z.ZodObject<{
1883
1781
  id: z.ZodOptional<z.ZodString>;
1884
1782
  message: z.ZodOptional<z.ZodString>;
1885
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1886
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
1783
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1784
+ 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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
1887
1785
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1888
1786
  metadata: z.ZodOptional<z.ZodAny>;
1889
1787
  platformId: z.ZodOptional<z.ZodString>;
@@ -1939,7 +1837,7 @@ export declare const telegramContract: {
1939
1837
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1940
1838
  label: z.ZodOptional<z.ZodString>;
1941
1839
  }, "strip", z.ZodTypeAny, {
1942
- type: string;
1840
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1943
1841
  direction: "incoming" | "outgoing" | "system";
1944
1842
  id?: string | undefined;
1945
1843
  message?: string | undefined;
@@ -1974,7 +1872,7 @@ export declare const telegramContract: {
1974
1872
  editedAt?: string | Date | null | undefined;
1975
1873
  label?: string | undefined;
1976
1874
  }, {
1977
- type: string;
1875
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1978
1876
  direction: "incoming" | "outgoing" | "system";
1979
1877
  id?: string | undefined;
1980
1878
  message?: string | undefined;
@@ -2011,7 +1909,7 @@ export declare const telegramContract: {
2011
1909
  }>;
2012
1910
  }, "strip", z.ZodTypeAny, {
2013
1911
  message: {
2014
- type: string;
1912
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2015
1913
  direction: "incoming" | "outgoing" | "system";
2016
1914
  id?: string | undefined;
2017
1915
  message?: string | undefined;
@@ -2078,10 +1976,6 @@ export declare const telegramContract: {
2078
1976
  mobileNumber: string;
2079
1977
  apiSecret: string;
2080
1978
  } | undefined;
2081
- line?: {
2082
- channelId: string;
2083
- channelSecret: string;
2084
- } | undefined;
2085
1979
  lineRichMenuId?: string | null | undefined;
2086
1980
  messengerIntegrationType?: "own" | "business" | undefined;
2087
1981
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2146,7 +2040,7 @@ export declare const telegramContract: {
2146
2040
  isBot: boolean | null;
2147
2041
  }, {
2148
2042
  message: {
2149
- type: string;
2043
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2150
2044
  direction: "incoming" | "outgoing" | "system";
2151
2045
  id?: string | undefined;
2152
2046
  message?: string | undefined;
@@ -2213,10 +2107,6 @@ export declare const telegramContract: {
2213
2107
  mobileNumber: string;
2214
2108
  apiSecret: string;
2215
2109
  } | undefined;
2216
- line?: {
2217
- channelId: string;
2218
- channelSecret: string;
2219
- } | undefined;
2220
2110
  lineRichMenuId?: string | null | undefined;
2221
2111
  messengerIntegrationType?: "own" | "business" | undefined;
2222
2112
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2285,11 +2175,11 @@ export declare const telegramContract: {
2285
2175
  200: z.ZodObject<{
2286
2176
  requestId: z.ZodString;
2287
2177
  data: z.ZodObject<{
2288
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
2178
+ 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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
2289
2179
  message: z.ZodString;
2290
2180
  id: z.ZodString;
2291
2181
  url: z.ZodString;
2292
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2182
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2293
2183
  label: z.ZodOptional<z.ZodString>;
2294
2184
  template: z.ZodAny;
2295
2185
  metadata: z.ZodAny;
@@ -2754,7 +2644,7 @@ export declare const telegramContract: {
2754
2644
  firstResponseTime: z.ZodNumber;
2755
2645
  isLatest: z.ZodBoolean;
2756
2646
  isBotRoom: z.ZodBoolean;
2757
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2647
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2758
2648
  platformContact: z.ZodObject<{
2759
2649
  id: z.ZodString;
2760
2650
  createdAt: z.ZodDate;
@@ -4278,16 +4168,6 @@ export declare const telegramContract: {
4278
4168
  mobileNumber: string;
4279
4169
  apiSecret: string;
4280
4170
  }>>;
4281
- line: z.ZodOptional<z.ZodObject<{
4282
- channelId: z.ZodString;
4283
- channelSecret: z.ZodString;
4284
- }, "strip", z.ZodTypeAny, {
4285
- channelId: string;
4286
- channelSecret: string;
4287
- }, {
4288
- channelId: string;
4289
- channelSecret: string;
4290
- }>>;
4291
4171
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4292
4172
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
4293
4173
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -4318,10 +4198,6 @@ export declare const telegramContract: {
4318
4198
  mobileNumber: string;
4319
4199
  apiSecret: string;
4320
4200
  } | undefined;
4321
- line?: {
4322
- channelId: string;
4323
- channelSecret: string;
4324
- } | undefined;
4325
4201
  lineRichMenuId?: string | null | undefined;
4326
4202
  messengerIntegrationType?: "own" | "business" | undefined;
4327
4203
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -4352,10 +4228,6 @@ export declare const telegramContract: {
4352
4228
  mobileNumber: string;
4353
4229
  apiSecret: string;
4354
4230
  } | undefined;
4355
- line?: {
4356
- channelId: string;
4357
- channelSecret: string;
4358
- } | undefined;
4359
4231
  lineRichMenuId?: string | null | undefined;
4360
4232
  messengerIntegrationType?: "own" | "business" | undefined;
4361
4233
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -4620,10 +4492,6 @@ export declare const telegramContract: {
4620
4492
  mobileNumber: string;
4621
4493
  apiSecret: string;
4622
4494
  } | undefined;
4623
- line?: {
4624
- channelId: string;
4625
- channelSecret: string;
4626
- } | undefined;
4627
4495
  lineRichMenuId?: string | null | undefined;
4628
4496
  messengerIntegrationType?: "own" | "business" | undefined;
4629
4497
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -4719,10 +4587,6 @@ export declare const telegramContract: {
4719
4587
  mobileNumber: string;
4720
4588
  apiSecret: string;
4721
4589
  } | undefined;
4722
- line?: {
4723
- channelId: string;
4724
- channelSecret: string;
4725
- } | undefined;
4726
4590
  lineRichMenuId?: string | null | undefined;
4727
4591
  messengerIntegrationType?: "own" | "business" | undefined;
4728
4592
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -4979,16 +4843,6 @@ export declare const telegramContract: {
4979
4843
  createdAt: Date;
4980
4844
  updatedAt: Date;
4981
4845
  deletedAt: Date | null;
4982
- tags: {
4983
- name: string;
4984
- id: string;
4985
- createdAt: Date;
4986
- updatedAt: Date;
4987
- deletedAt: Date | null;
4988
- }[];
4989
- callFrom: string | null;
4990
- callTo: string | null;
4991
- note: string | null;
4992
4846
  categories: {
4993
4847
  id: string;
4994
4848
  value: string;
@@ -5011,6 +4865,16 @@ export declare const telegramContract: {
5011
4865
  }[];
5012
4866
  }[];
5013
4867
  }[];
4868
+ tags: {
4869
+ name: string;
4870
+ id: string;
4871
+ createdAt: Date;
4872
+ updatedAt: Date;
4873
+ deletedAt: Date | null;
4874
+ }[];
4875
+ callFrom: string | null;
4876
+ callTo: string | null;
4877
+ note: string | null;
5014
4878
  customFields?: {
5015
4879
  id: string;
5016
4880
  createdAt: Date;
@@ -5030,16 +4894,6 @@ export declare const telegramContract: {
5030
4894
  createdAt: Date;
5031
4895
  updatedAt: Date;
5032
4896
  deletedAt: Date | null;
5033
- tags: {
5034
- name: string;
5035
- id: string;
5036
- createdAt: Date;
5037
- updatedAt: Date;
5038
- deletedAt: Date | null;
5039
- }[];
5040
- callFrom: string | null;
5041
- callTo: string | null;
5042
- note: string | null;
5043
4897
  categories: {
5044
4898
  id: string;
5045
4899
  value: string;
@@ -5062,6 +4916,16 @@ export declare const telegramContract: {
5062
4916
  }[];
5063
4917
  }[];
5064
4918
  }[];
4919
+ tags: {
4920
+ name: string;
4921
+ id: string;
4922
+ createdAt: Date;
4923
+ updatedAt: Date;
4924
+ deletedAt: Date | null;
4925
+ }[];
4926
+ callFrom: string | null;
4927
+ callTo: string | null;
4928
+ note: string | null;
5065
4929
  customFields?: {
5066
4930
  id: string;
5067
4931
  createdAt: Date;
@@ -5170,16 +5034,6 @@ export declare const telegramContract: {
5170
5034
  createdAt: Date;
5171
5035
  updatedAt: Date;
5172
5036
  deletedAt: Date | null;
5173
- tags: {
5174
- name: string;
5175
- id: string;
5176
- createdAt: Date;
5177
- updatedAt: Date;
5178
- deletedAt: Date | null;
5179
- }[];
5180
- callFrom: string | null;
5181
- callTo: string | null;
5182
- note: string | null;
5183
5037
  categories: {
5184
5038
  id: string;
5185
5039
  value: string;
@@ -5202,6 +5056,16 @@ export declare const telegramContract: {
5202
5056
  }[];
5203
5057
  }[];
5204
5058
  }[];
5059
+ tags: {
5060
+ name: string;
5061
+ id: string;
5062
+ createdAt: Date;
5063
+ updatedAt: Date;
5064
+ deletedAt: Date | null;
5065
+ }[];
5066
+ callFrom: string | null;
5067
+ callTo: string | null;
5068
+ note: string | null;
5205
5069
  customFields?: {
5206
5070
  id: string;
5207
5071
  createdAt: Date;
@@ -5260,16 +5124,6 @@ export declare const telegramContract: {
5260
5124
  createdAt: Date;
5261
5125
  updatedAt: Date;
5262
5126
  deletedAt: Date | null;
5263
- tags: {
5264
- name: string;
5265
- id: string;
5266
- createdAt: Date;
5267
- updatedAt: Date;
5268
- deletedAt: Date | null;
5269
- }[];
5270
- callFrom: string | null;
5271
- callTo: string | null;
5272
- note: string | null;
5273
5127
  categories: {
5274
5128
  id: string;
5275
5129
  value: string;
@@ -5292,6 +5146,16 @@ export declare const telegramContract: {
5292
5146
  }[];
5293
5147
  }[];
5294
5148
  }[];
5149
+ tags: {
5150
+ name: string;
5151
+ id: string;
5152
+ createdAt: Date;
5153
+ updatedAt: Date;
5154
+ deletedAt: Date | null;
5155
+ }[];
5156
+ callFrom: string | null;
5157
+ callTo: string | null;
5158
+ note: string | null;
5295
5159
  customFields?: {
5296
5160
  id: string;
5297
5161
  createdAt: Date;
@@ -5382,10 +5246,6 @@ export declare const telegramContract: {
5382
5246
  mobileNumber: string;
5383
5247
  apiSecret: string;
5384
5248
  } | undefined;
5385
- line?: {
5386
- channelId: string;
5387
- channelSecret: string;
5388
- } | undefined;
5389
5249
  lineRichMenuId?: string | null | undefined;
5390
5250
  messengerIntegrationType?: "own" | "business" | undefined;
5391
5251
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -5709,16 +5569,6 @@ export declare const telegramContract: {
5709
5569
  createdAt: Date;
5710
5570
  updatedAt: Date;
5711
5571
  deletedAt: Date | null;
5712
- tags: {
5713
- name: string;
5714
- id: string;
5715
- createdAt: Date;
5716
- updatedAt: Date;
5717
- deletedAt: Date | null;
5718
- }[];
5719
- callFrom: string | null;
5720
- callTo: string | null;
5721
- note: string | null;
5722
5572
  categories: {
5723
5573
  id: string;
5724
5574
  value: string;
@@ -5741,6 +5591,16 @@ export declare const telegramContract: {
5741
5591
  }[];
5742
5592
  }[];
5743
5593
  }[];
5594
+ tags: {
5595
+ name: string;
5596
+ id: string;
5597
+ createdAt: Date;
5598
+ updatedAt: Date;
5599
+ deletedAt: Date | null;
5600
+ }[];
5601
+ callFrom: string | null;
5602
+ callTo: string | null;
5603
+ note: string | null;
5744
5604
  customFields?: {
5745
5605
  id: string;
5746
5606
  createdAt: Date;
@@ -5815,10 +5675,6 @@ export declare const telegramContract: {
5815
5675
  mobileNumber: string;
5816
5676
  apiSecret: string;
5817
5677
  } | undefined;
5818
- line?: {
5819
- channelId: string;
5820
- channelSecret: string;
5821
- } | undefined;
5822
5678
  lineRichMenuId?: string | null | undefined;
5823
5679
  messengerIntegrationType?: "own" | "business" | undefined;
5824
5680
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6142,16 +5998,6 @@ export declare const telegramContract: {
6142
5998
  createdAt: Date;
6143
5999
  updatedAt: Date;
6144
6000
  deletedAt: Date | null;
6145
- tags: {
6146
- name: string;
6147
- id: string;
6148
- createdAt: Date;
6149
- updatedAt: Date;
6150
- deletedAt: Date | null;
6151
- }[];
6152
- callFrom: string | null;
6153
- callTo: string | null;
6154
- note: string | null;
6155
6001
  categories: {
6156
6002
  id: string;
6157
6003
  value: string;
@@ -6174,6 +6020,16 @@ export declare const telegramContract: {
6174
6020
  }[];
6175
6021
  }[];
6176
6022
  }[];
6023
+ tags: {
6024
+ name: string;
6025
+ id: string;
6026
+ createdAt: Date;
6027
+ updatedAt: Date;
6028
+ deletedAt: Date | null;
6029
+ }[];
6030
+ callFrom: string | null;
6031
+ callTo: string | null;
6032
+ note: string | null;
6177
6033
  customFields?: {
6178
6034
  id: string;
6179
6035
  createdAt: Date;
@@ -6254,8 +6110,8 @@ export declare const telegramContract: {
6254
6110
  updatedAt: z.ZodDate;
6255
6111
  deletedAt: z.ZodNullable<z.ZodDate>;
6256
6112
  message: z.ZodString;
6257
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
6258
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
6113
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6114
+ 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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
6259
6115
  readAt: z.ZodDate;
6260
6116
  metadata: z.ZodAny;
6261
6117
  platformId: z.ZodString;
@@ -6913,7 +6769,7 @@ export declare const telegramContract: {
6913
6769
  };
6914
6770
  }>;
6915
6771
  }, "strip", z.ZodTypeAny, {
6916
- type: string;
6772
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
6917
6773
  message: string;
6918
6774
  id: string;
6919
6775
  url: string;
@@ -7075,7 +6931,7 @@ export declare const telegramContract: {
7075
6931
  metadata?: any;
7076
6932
  template?: any;
7077
6933
  }, {
7078
- type: string;
6934
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
7079
6935
  message: string;
7080
6936
  id: string;
7081
6937
  url: string;
@@ -7448,8 +7304,8 @@ export declare const telegramContract: {
7448
7304
  updatedAt: z.ZodDate;
7449
7305
  deletedAt: z.ZodNullable<z.ZodDate>;
7450
7306
  message: z.ZodString;
7451
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
7452
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
7307
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7308
+ 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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
7453
7309
  readAt: z.ZodDate;
7454
7310
  metadata: z.ZodAny;
7455
7311
  platformId: z.ZodString;
@@ -7475,7 +7331,7 @@ export declare const telegramContract: {
7475
7331
  firstResponseTime: z.ZodNumber;
7476
7332
  isLatest: z.ZodBoolean;
7477
7333
  isBotRoom: z.ZodBoolean;
7478
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
7334
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7479
7335
  platformContact: z.ZodObject<{
7480
7336
  id: z.ZodString;
7481
7337
  createdAt: z.ZodDate;
@@ -8999,16 +8855,6 @@ export declare const telegramContract: {
8999
8855
  mobileNumber: string;
9000
8856
  apiSecret: string;
9001
8857
  }>>;
9002
- line: z.ZodOptional<z.ZodObject<{
9003
- channelId: z.ZodString;
9004
- channelSecret: z.ZodString;
9005
- }, "strip", z.ZodTypeAny, {
9006
- channelId: string;
9007
- channelSecret: string;
9008
- }, {
9009
- channelId: string;
9010
- channelSecret: string;
9011
- }>>;
9012
8858
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9013
8859
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
9014
8860
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -9039,10 +8885,6 @@ export declare const telegramContract: {
9039
8885
  mobileNumber: string;
9040
8886
  apiSecret: string;
9041
8887
  } | undefined;
9042
- line?: {
9043
- channelId: string;
9044
- channelSecret: string;
9045
- } | undefined;
9046
8888
  lineRichMenuId?: string | null | undefined;
9047
8889
  messengerIntegrationType?: "own" | "business" | undefined;
9048
8890
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -9073,10 +8915,6 @@ export declare const telegramContract: {
9073
8915
  mobileNumber: string;
9074
8916
  apiSecret: string;
9075
8917
  } | undefined;
9076
- line?: {
9077
- channelId: string;
9078
- channelSecret: string;
9079
- } | undefined;
9080
8918
  lineRichMenuId?: string | null | undefined;
9081
8919
  messengerIntegrationType?: "own" | "business" | undefined;
9082
8920
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -9341,10 +9179,6 @@ export declare const telegramContract: {
9341
9179
  mobileNumber: string;
9342
9180
  apiSecret: string;
9343
9181
  } | undefined;
9344
- line?: {
9345
- channelId: string;
9346
- channelSecret: string;
9347
- } | undefined;
9348
9182
  lineRichMenuId?: string | null | undefined;
9349
9183
  messengerIntegrationType?: "own" | "business" | undefined;
9350
9184
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -9440,10 +9274,6 @@ export declare const telegramContract: {
9440
9274
  mobileNumber: string;
9441
9275
  apiSecret: string;
9442
9276
  } | undefined;
9443
- line?: {
9444
- channelId: string;
9445
- channelSecret: string;
9446
- } | undefined;
9447
9277
  lineRichMenuId?: string | null | undefined;
9448
9278
  messengerIntegrationType?: "own" | "business" | undefined;
9449
9279
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -9700,16 +9530,6 @@ export declare const telegramContract: {
9700
9530
  createdAt: Date;
9701
9531
  updatedAt: Date;
9702
9532
  deletedAt: Date | null;
9703
- tags: {
9704
- name: string;
9705
- id: string;
9706
- createdAt: Date;
9707
- updatedAt: Date;
9708
- deletedAt: Date | null;
9709
- }[];
9710
- callFrom: string | null;
9711
- callTo: string | null;
9712
- note: string | null;
9713
9533
  categories: {
9714
9534
  id: string;
9715
9535
  value: string;
@@ -9732,6 +9552,16 @@ export declare const telegramContract: {
9732
9552
  }[];
9733
9553
  }[];
9734
9554
  }[];
9555
+ tags: {
9556
+ name: string;
9557
+ id: string;
9558
+ createdAt: Date;
9559
+ updatedAt: Date;
9560
+ deletedAt: Date | null;
9561
+ }[];
9562
+ callFrom: string | null;
9563
+ callTo: string | null;
9564
+ note: string | null;
9735
9565
  customFields?: {
9736
9566
  id: string;
9737
9567
  createdAt: Date;
@@ -9751,16 +9581,6 @@ export declare const telegramContract: {
9751
9581
  createdAt: Date;
9752
9582
  updatedAt: Date;
9753
9583
  deletedAt: Date | null;
9754
- tags: {
9755
- name: string;
9756
- id: string;
9757
- createdAt: Date;
9758
- updatedAt: Date;
9759
- deletedAt: Date | null;
9760
- }[];
9761
- callFrom: string | null;
9762
- callTo: string | null;
9763
- note: string | null;
9764
9584
  categories: {
9765
9585
  id: string;
9766
9586
  value: string;
@@ -9783,6 +9603,16 @@ export declare const telegramContract: {
9783
9603
  }[];
9784
9604
  }[];
9785
9605
  }[];
9606
+ tags: {
9607
+ name: string;
9608
+ id: string;
9609
+ createdAt: Date;
9610
+ updatedAt: Date;
9611
+ deletedAt: Date | null;
9612
+ }[];
9613
+ callFrom: string | null;
9614
+ callTo: string | null;
9615
+ note: string | null;
9786
9616
  customFields?: {
9787
9617
  id: string;
9788
9618
  createdAt: Date;
@@ -9891,19 +9721,9 @@ export declare const telegramContract: {
9891
9721
  createdAt: Date;
9892
9722
  updatedAt: Date;
9893
9723
  deletedAt: Date | null;
9894
- tags: {
9895
- name: string;
9724
+ categories: {
9896
9725
  id: string;
9897
- createdAt: Date;
9898
- updatedAt: Date;
9899
- deletedAt: Date | null;
9900
- }[];
9901
- callFrom: string | null;
9902
- callTo: string | null;
9903
- note: string | null;
9904
- categories: {
9905
- id: string;
9906
- value: string;
9726
+ value: string;
9907
9727
  createdAt: Date;
9908
9728
  updatedAt: Date;
9909
9729
  deletedAt: Date | null;
@@ -9923,6 +9743,16 @@ export declare const telegramContract: {
9923
9743
  }[];
9924
9744
  }[];
9925
9745
  }[];
9746
+ tags: {
9747
+ name: string;
9748
+ id: string;
9749
+ createdAt: Date;
9750
+ updatedAt: Date;
9751
+ deletedAt: Date | null;
9752
+ }[];
9753
+ callFrom: string | null;
9754
+ callTo: string | null;
9755
+ note: string | null;
9926
9756
  customFields?: {
9927
9757
  id: string;
9928
9758
  createdAt: Date;
@@ -9981,16 +9811,6 @@ export declare const telegramContract: {
9981
9811
  createdAt: Date;
9982
9812
  updatedAt: Date;
9983
9813
  deletedAt: Date | null;
9984
- tags: {
9985
- name: string;
9986
- id: string;
9987
- createdAt: Date;
9988
- updatedAt: Date;
9989
- deletedAt: Date | null;
9990
- }[];
9991
- callFrom: string | null;
9992
- callTo: string | null;
9993
- note: string | null;
9994
9814
  categories: {
9995
9815
  id: string;
9996
9816
  value: string;
@@ -10013,6 +9833,16 @@ export declare const telegramContract: {
10013
9833
  }[];
10014
9834
  }[];
10015
9835
  }[];
9836
+ tags: {
9837
+ name: string;
9838
+ id: string;
9839
+ createdAt: Date;
9840
+ updatedAt: Date;
9841
+ deletedAt: Date | null;
9842
+ }[];
9843
+ callFrom: string | null;
9844
+ callTo: string | null;
9845
+ note: string | null;
10016
9846
  customFields?: {
10017
9847
  id: string;
10018
9848
  createdAt: Date;
@@ -10103,10 +9933,6 @@ export declare const telegramContract: {
10103
9933
  mobileNumber: string;
10104
9934
  apiSecret: string;
10105
9935
  } | undefined;
10106
- line?: {
10107
- channelId: string;
10108
- channelSecret: string;
10109
- } | undefined;
10110
9936
  lineRichMenuId?: string | null | undefined;
10111
9937
  messengerIntegrationType?: "own" | "business" | undefined;
10112
9938
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -10430,16 +10256,6 @@ export declare const telegramContract: {
10430
10256
  createdAt: Date;
10431
10257
  updatedAt: Date;
10432
10258
  deletedAt: Date | null;
10433
- tags: {
10434
- name: string;
10435
- id: string;
10436
- createdAt: Date;
10437
- updatedAt: Date;
10438
- deletedAt: Date | null;
10439
- }[];
10440
- callFrom: string | null;
10441
- callTo: string | null;
10442
- note: string | null;
10443
10259
  categories: {
10444
10260
  id: string;
10445
10261
  value: string;
@@ -10462,6 +10278,16 @@ export declare const telegramContract: {
10462
10278
  }[];
10463
10279
  }[];
10464
10280
  }[];
10281
+ tags: {
10282
+ name: string;
10283
+ id: string;
10284
+ createdAt: Date;
10285
+ updatedAt: Date;
10286
+ deletedAt: Date | null;
10287
+ }[];
10288
+ callFrom: string | null;
10289
+ callTo: string | null;
10290
+ note: string | null;
10465
10291
  customFields?: {
10466
10292
  id: string;
10467
10293
  createdAt: Date;
@@ -10536,10 +10362,6 @@ export declare const telegramContract: {
10536
10362
  mobileNumber: string;
10537
10363
  apiSecret: string;
10538
10364
  } | undefined;
10539
- line?: {
10540
- channelId: string;
10541
- channelSecret: string;
10542
- } | undefined;
10543
10365
  lineRichMenuId?: string | null | undefined;
10544
10366
  messengerIntegrationType?: "own" | "business" | undefined;
10545
10367
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -10863,16 +10685,6 @@ export declare const telegramContract: {
10863
10685
  createdAt: Date;
10864
10686
  updatedAt: Date;
10865
10687
  deletedAt: Date | null;
10866
- tags: {
10867
- name: string;
10868
- id: string;
10869
- createdAt: Date;
10870
- updatedAt: Date;
10871
- deletedAt: Date | null;
10872
- }[];
10873
- callFrom: string | null;
10874
- callTo: string | null;
10875
- note: string | null;
10876
10688
  categories: {
10877
10689
  id: string;
10878
10690
  value: string;
@@ -10895,6 +10707,16 @@ export declare const telegramContract: {
10895
10707
  }[];
10896
10708
  }[];
10897
10709
  }[];
10710
+ tags: {
10711
+ name: string;
10712
+ id: string;
10713
+ createdAt: Date;
10714
+ updatedAt: Date;
10715
+ deletedAt: Date | null;
10716
+ }[];
10717
+ callFrom: string | null;
10718
+ callTo: string | null;
10719
+ note: string | null;
10898
10720
  customFields?: {
10899
10721
  id: string;
10900
10722
  createdAt: Date;
@@ -10978,8 +10800,8 @@ export declare const telegramContract: {
10978
10800
  updatedAt: z.ZodDate;
10979
10801
  deletedAt: z.ZodNullable<z.ZodDate>;
10980
10802
  message: z.ZodString;
10981
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
10982
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
10803
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
10804
+ 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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
10983
10805
  readAt: z.ZodDate;
10984
10806
  metadata: z.ZodAny;
10985
10807
  platformId: z.ZodString;
@@ -11637,7 +11459,7 @@ export declare const telegramContract: {
11637
11459
  };
11638
11460
  }>;
11639
11461
  }, "strip", z.ZodTypeAny, {
11640
- type: string;
11462
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11641
11463
  message: string;
11642
11464
  id: string;
11643
11465
  url: string;
@@ -11799,7 +11621,7 @@ export declare const telegramContract: {
11799
11621
  metadata?: any;
11800
11622
  template?: any;
11801
11623
  }, {
11802
- type: string;
11624
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11803
11625
  message: string;
11804
11626
  id: string;
11805
11627
  url: string;
@@ -12601,7 +12423,7 @@ export declare const telegramContract: {
12601
12423
  editedMessageid: z.ZodString;
12602
12424
  label: z.ZodOptional<z.ZodString>;
12603
12425
  }, "strip", z.ZodTypeAny, {
12604
- type: string;
12426
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12605
12427
  message: string;
12606
12428
  id: string;
12607
12429
  url: string;
@@ -12742,10 +12564,6 @@ export declare const telegramContract: {
12742
12564
  mobileNumber: string;
12743
12565
  apiSecret: string;
12744
12566
  } | undefined;
12745
- line?: {
12746
- channelId: string;
12747
- channelSecret: string;
12748
- } | undefined;
12749
12567
  lineRichMenuId?: string | null | undefined;
12750
12568
  messengerIntegrationType?: "own" | "business" | undefined;
12751
12569
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -13069,16 +12887,6 @@ export declare const telegramContract: {
13069
12887
  createdAt: Date;
13070
12888
  updatedAt: Date;
13071
12889
  deletedAt: Date | null;
13072
- tags: {
13073
- name: string;
13074
- id: string;
13075
- createdAt: Date;
13076
- updatedAt: Date;
13077
- deletedAt: Date | null;
13078
- }[];
13079
- callFrom: string | null;
13080
- callTo: string | null;
13081
- note: string | null;
13082
12890
  categories: {
13083
12891
  id: string;
13084
12892
  value: string;
@@ -13101,6 +12909,16 @@ export declare const telegramContract: {
13101
12909
  }[];
13102
12910
  }[];
13103
12911
  }[];
12912
+ tags: {
12913
+ name: string;
12914
+ id: string;
12915
+ createdAt: Date;
12916
+ updatedAt: Date;
12917
+ deletedAt: Date | null;
12918
+ }[];
12919
+ callFrom: string | null;
12920
+ callTo: string | null;
12921
+ note: string | null;
13104
12922
  customFields?: {
13105
12923
  id: string;
13106
12924
  createdAt: Date;
@@ -13160,7 +12978,7 @@ export declare const telegramContract: {
13160
12978
  previewUrl: string;
13161
12979
  imageSetId: string;
13162
12980
  repliedMessage: {
13163
- type: string;
12981
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13164
12982
  message: string;
13165
12983
  id: string;
13166
12984
  url: string;
@@ -13371,7 +13189,7 @@ export declare const telegramContract: {
13371
13189
  template?: any;
13372
13190
  label?: string | undefined;
13373
13191
  }, {
13374
- type: string;
13192
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13375
13193
  message: string;
13376
13194
  id: string;
13377
13195
  url: string;
@@ -13512,10 +13330,6 @@ export declare const telegramContract: {
13512
13330
  mobileNumber: string;
13513
13331
  apiSecret: string;
13514
13332
  } | undefined;
13515
- line?: {
13516
- channelId: string;
13517
- channelSecret: string;
13518
- } | undefined;
13519
13333
  lineRichMenuId?: string | null | undefined;
13520
13334
  messengerIntegrationType?: "own" | "business" | undefined;
13521
13335
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -13839,16 +13653,6 @@ export declare const telegramContract: {
13839
13653
  createdAt: Date;
13840
13654
  updatedAt: Date;
13841
13655
  deletedAt: Date | null;
13842
- tags: {
13843
- name: string;
13844
- id: string;
13845
- createdAt: Date;
13846
- updatedAt: Date;
13847
- deletedAt: Date | null;
13848
- }[];
13849
- callFrom: string | null;
13850
- callTo: string | null;
13851
- note: string | null;
13852
13656
  categories: {
13853
13657
  id: string;
13854
13658
  value: string;
@@ -13871,6 +13675,16 @@ export declare const telegramContract: {
13871
13675
  }[];
13872
13676
  }[];
13873
13677
  }[];
13678
+ tags: {
13679
+ name: string;
13680
+ id: string;
13681
+ createdAt: Date;
13682
+ updatedAt: Date;
13683
+ deletedAt: Date | null;
13684
+ }[];
13685
+ callFrom: string | null;
13686
+ callTo: string | null;
13687
+ note: string | null;
13874
13688
  customFields?: {
13875
13689
  id: string;
13876
13690
  createdAt: Date;
@@ -13930,7 +13744,7 @@ export declare const telegramContract: {
13930
13744
  previewUrl: string;
13931
13745
  imageSetId: string;
13932
13746
  repliedMessage: {
13933
- type: string;
13747
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13934
13748
  message: string;
13935
13749
  id: string;
13936
13750
  url: string;
@@ -14142,7 +13956,7 @@ export declare const telegramContract: {
14142
13956
  label?: string | undefined;
14143
13957
  }>>>;
14144
13958
  }, "strip", z.ZodTypeAny, {
14145
- type: string;
13959
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14146
13960
  message: string;
14147
13961
  id: string;
14148
13962
  url: string;
@@ -14283,10 +14097,6 @@ export declare const telegramContract: {
14283
14097
  mobileNumber: string;
14284
14098
  apiSecret: string;
14285
14099
  } | undefined;
14286
- line?: {
14287
- channelId: string;
14288
- channelSecret: string;
14289
- } | undefined;
14290
14100
  lineRichMenuId?: string | null | undefined;
14291
14101
  messengerIntegrationType?: "own" | "business" | undefined;
14292
14102
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -14610,16 +14420,6 @@ export declare const telegramContract: {
14610
14420
  createdAt: Date;
14611
14421
  updatedAt: Date;
14612
14422
  deletedAt: Date | null;
14613
- tags: {
14614
- name: string;
14615
- id: string;
14616
- createdAt: Date;
14617
- updatedAt: Date;
14618
- deletedAt: Date | null;
14619
- }[];
14620
- callFrom: string | null;
14621
- callTo: string | null;
14622
- note: string | null;
14623
14423
  categories: {
14624
14424
  id: string;
14625
14425
  value: string;
@@ -14642,6 +14442,16 @@ export declare const telegramContract: {
14642
14442
  }[];
14643
14443
  }[];
14644
14444
  }[];
14445
+ tags: {
14446
+ name: string;
14447
+ id: string;
14448
+ createdAt: Date;
14449
+ updatedAt: Date;
14450
+ deletedAt: Date | null;
14451
+ }[];
14452
+ callFrom: string | null;
14453
+ callTo: string | null;
14454
+ note: string | null;
14645
14455
  customFields?: {
14646
14456
  id: string;
14647
14457
  createdAt: Date;
@@ -14701,7 +14511,7 @@ export declare const telegramContract: {
14701
14511
  previewUrl: string;
14702
14512
  imageSetId: string;
14703
14513
  repliedMessage: {
14704
- type: string;
14514
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14705
14515
  message: string;
14706
14516
  id: string;
14707
14517
  url: string;
@@ -14912,7 +14722,7 @@ export declare const telegramContract: {
14912
14722
  template?: any;
14913
14723
  metadata?: any;
14914
14724
  fromMessage?: {
14915
- type: string;
14725
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14916
14726
  message: string;
14917
14727
  id: string;
14918
14728
  url: string;
@@ -15053,10 +14863,6 @@ export declare const telegramContract: {
15053
14863
  mobileNumber: string;
15054
14864
  apiSecret: string;
15055
14865
  } | undefined;
15056
- line?: {
15057
- channelId: string;
15058
- channelSecret: string;
15059
- } | undefined;
15060
14866
  lineRichMenuId?: string | null | undefined;
15061
14867
  messengerIntegrationType?: "own" | "business" | undefined;
15062
14868
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -15380,16 +15186,6 @@ export declare const telegramContract: {
15380
15186
  createdAt: Date;
15381
15187
  updatedAt: Date;
15382
15188
  deletedAt: Date | null;
15383
- tags: {
15384
- name: string;
15385
- id: string;
15386
- createdAt: Date;
15387
- updatedAt: Date;
15388
- deletedAt: Date | null;
15389
- }[];
15390
- callFrom: string | null;
15391
- callTo: string | null;
15392
- note: string | null;
15393
15189
  categories: {
15394
15190
  id: string;
15395
15191
  value: string;
@@ -15412,6 +15208,16 @@ export declare const telegramContract: {
15412
15208
  }[];
15413
15209
  }[];
15414
15210
  }[];
15211
+ tags: {
15212
+ name: string;
15213
+ id: string;
15214
+ createdAt: Date;
15215
+ updatedAt: Date;
15216
+ deletedAt: Date | null;
15217
+ }[];
15218
+ callFrom: string | null;
15219
+ callTo: string | null;
15220
+ note: string | null;
15415
15221
  customFields?: {
15416
15222
  id: string;
15417
15223
  createdAt: Date;
@@ -15471,7 +15277,7 @@ export declare const telegramContract: {
15471
15277
  previewUrl: string;
15472
15278
  imageSetId: string;
15473
15279
  repliedMessage: {
15474
- type: string;
15280
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15475
15281
  message: string;
15476
15282
  id: string;
15477
15283
  url: string;
@@ -15683,7 +15489,7 @@ export declare const telegramContract: {
15683
15489
  label?: string | undefined;
15684
15490
  } | null | undefined;
15685
15491
  }, {
15686
- type: string;
15492
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15687
15493
  message: string;
15688
15494
  id: string;
15689
15495
  url: string;
@@ -15824,10 +15630,6 @@ export declare const telegramContract: {
15824
15630
  mobileNumber: string;
15825
15631
  apiSecret: string;
15826
15632
  } | undefined;
15827
- line?: {
15828
- channelId: string;
15829
- channelSecret: string;
15830
- } | undefined;
15831
15633
  lineRichMenuId?: string | null | undefined;
15832
15634
  messengerIntegrationType?: "own" | "business" | undefined;
15833
15635
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16151,16 +15953,6 @@ export declare const telegramContract: {
16151
15953
  createdAt: Date;
16152
15954
  updatedAt: Date;
16153
15955
  deletedAt: Date | null;
16154
- tags: {
16155
- name: string;
16156
- id: string;
16157
- createdAt: Date;
16158
- updatedAt: Date;
16159
- deletedAt: Date | null;
16160
- }[];
16161
- callFrom: string | null;
16162
- callTo: string | null;
16163
- note: string | null;
16164
15956
  categories: {
16165
15957
  id: string;
16166
15958
  value: string;
@@ -16183,6 +15975,16 @@ export declare const telegramContract: {
16183
15975
  }[];
16184
15976
  }[];
16185
15977
  }[];
15978
+ tags: {
15979
+ name: string;
15980
+ id: string;
15981
+ createdAt: Date;
15982
+ updatedAt: Date;
15983
+ deletedAt: Date | null;
15984
+ }[];
15985
+ callFrom: string | null;
15986
+ callTo: string | null;
15987
+ note: string | null;
16186
15988
  customFields?: {
16187
15989
  id: string;
16188
15990
  createdAt: Date;
@@ -16242,7 +16044,7 @@ export declare const telegramContract: {
16242
16044
  previewUrl: string;
16243
16045
  imageSetId: string;
16244
16046
  repliedMessage: {
16245
- type: string;
16047
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16246
16048
  message: string;
16247
16049
  id: string;
16248
16050
  url: string;
@@ -16453,7 +16255,7 @@ export declare const telegramContract: {
16453
16255
  template?: any;
16454
16256
  metadata?: any;
16455
16257
  fromMessage?: {
16456
- type: string;
16258
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16457
16259
  message: string;
16458
16260
  id: string;
16459
16261
  url: string;
@@ -16594,10 +16396,6 @@ export declare const telegramContract: {
16594
16396
  mobileNumber: string;
16595
16397
  apiSecret: string;
16596
16398
  } | undefined;
16597
- line?: {
16598
- channelId: string;
16599
- channelSecret: string;
16600
- } | undefined;
16601
16399
  lineRichMenuId?: string | null | undefined;
16602
16400
  messengerIntegrationType?: "own" | "business" | undefined;
16603
16401
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16921,16 +16719,6 @@ export declare const telegramContract: {
16921
16719
  createdAt: Date;
16922
16720
  updatedAt: Date;
16923
16721
  deletedAt: Date | null;
16924
- tags: {
16925
- name: string;
16926
- id: string;
16927
- createdAt: Date;
16928
- updatedAt: Date;
16929
- deletedAt: Date | null;
16930
- }[];
16931
- callFrom: string | null;
16932
- callTo: string | null;
16933
- note: string | null;
16934
16722
  categories: {
16935
16723
  id: string;
16936
16724
  value: string;
@@ -16953,6 +16741,16 @@ export declare const telegramContract: {
16953
16741
  }[];
16954
16742
  }[];
16955
16743
  }[];
16744
+ tags: {
16745
+ name: string;
16746
+ id: string;
16747
+ createdAt: Date;
16748
+ updatedAt: Date;
16749
+ deletedAt: Date | null;
16750
+ }[];
16751
+ callFrom: string | null;
16752
+ callTo: string | null;
16753
+ note: string | null;
16956
16754
  customFields?: {
16957
16755
  id: string;
16958
16756
  createdAt: Date;
@@ -17012,7 +16810,7 @@ export declare const telegramContract: {
17012
16810
  previewUrl: string;
17013
16811
  imageSetId: string;
17014
16812
  repliedMessage: {
17015
- type: string;
16813
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17016
16814
  message: string;
17017
16815
  id: string;
17018
16816
  url: string;
@@ -17226,7 +17024,7 @@ export declare const telegramContract: {
17226
17024
  }>;
17227
17025
  }, "strip", z.ZodTypeAny, {
17228
17026
  data: {
17229
- type: string;
17027
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17230
17028
  message: string;
17231
17029
  id: string;
17232
17030
  url: string;
@@ -17367,10 +17165,6 @@ export declare const telegramContract: {
17367
17165
  mobileNumber: string;
17368
17166
  apiSecret: string;
17369
17167
  } | undefined;
17370
- line?: {
17371
- channelId: string;
17372
- channelSecret: string;
17373
- } | undefined;
17374
17168
  lineRichMenuId?: string | null | undefined;
17375
17169
  messengerIntegrationType?: "own" | "business" | undefined;
17376
17170
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -17694,16 +17488,6 @@ export declare const telegramContract: {
17694
17488
  createdAt: Date;
17695
17489
  updatedAt: Date;
17696
17490
  deletedAt: Date | null;
17697
- tags: {
17698
- name: string;
17699
- id: string;
17700
- createdAt: Date;
17701
- updatedAt: Date;
17702
- deletedAt: Date | null;
17703
- }[];
17704
- callFrom: string | null;
17705
- callTo: string | null;
17706
- note: string | null;
17707
17491
  categories: {
17708
17492
  id: string;
17709
17493
  value: string;
@@ -17726,6 +17510,16 @@ export declare const telegramContract: {
17726
17510
  }[];
17727
17511
  }[];
17728
17512
  }[];
17513
+ tags: {
17514
+ name: string;
17515
+ id: string;
17516
+ createdAt: Date;
17517
+ updatedAt: Date;
17518
+ deletedAt: Date | null;
17519
+ }[];
17520
+ callFrom: string | null;
17521
+ callTo: string | null;
17522
+ note: string | null;
17729
17523
  customFields?: {
17730
17524
  id: string;
17731
17525
  createdAt: Date;
@@ -17785,7 +17579,7 @@ export declare const telegramContract: {
17785
17579
  previewUrl: string;
17786
17580
  imageSetId: string;
17787
17581
  repliedMessage: {
17788
- type: string;
17582
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17789
17583
  message: string;
17790
17584
  id: string;
17791
17585
  url: string;
@@ -17996,7 +17790,7 @@ export declare const telegramContract: {
17996
17790
  template?: any;
17997
17791
  metadata?: any;
17998
17792
  fromMessage?: {
17999
- type: string;
17793
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18000
17794
  message: string;
18001
17795
  id: string;
18002
17796
  url: string;
@@ -18137,10 +17931,6 @@ export declare const telegramContract: {
18137
17931
  mobileNumber: string;
18138
17932
  apiSecret: string;
18139
17933
  } | undefined;
18140
- line?: {
18141
- channelId: string;
18142
- channelSecret: string;
18143
- } | undefined;
18144
17934
  lineRichMenuId?: string | null | undefined;
18145
17935
  messengerIntegrationType?: "own" | "business" | undefined;
18146
17936
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -18464,16 +18254,6 @@ export declare const telegramContract: {
18464
18254
  createdAt: Date;
18465
18255
  updatedAt: Date;
18466
18256
  deletedAt: Date | null;
18467
- tags: {
18468
- name: string;
18469
- id: string;
18470
- createdAt: Date;
18471
- updatedAt: Date;
18472
- deletedAt: Date | null;
18473
- }[];
18474
- callFrom: string | null;
18475
- callTo: string | null;
18476
- note: string | null;
18477
18257
  categories: {
18478
18258
  id: string;
18479
18259
  value: string;
@@ -18496,6 +18276,16 @@ export declare const telegramContract: {
18496
18276
  }[];
18497
18277
  }[];
18498
18278
  }[];
18279
+ tags: {
18280
+ name: string;
18281
+ id: string;
18282
+ createdAt: Date;
18283
+ updatedAt: Date;
18284
+ deletedAt: Date | null;
18285
+ }[];
18286
+ callFrom: string | null;
18287
+ callTo: string | null;
18288
+ note: string | null;
18499
18289
  customFields?: {
18500
18290
  id: string;
18501
18291
  createdAt: Date;
@@ -18555,7 +18345,7 @@ export declare const telegramContract: {
18555
18345
  previewUrl: string;
18556
18346
  imageSetId: string;
18557
18347
  repliedMessage: {
18558
- type: string;
18348
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18559
18349
  message: string;
18560
18350
  id: string;
18561
18351
  url: string;
@@ -18770,7 +18560,7 @@ export declare const telegramContract: {
18770
18560
  requestId: string;
18771
18561
  }, {
18772
18562
  data: {
18773
- type: string;
18563
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18774
18564
  message: string;
18775
18565
  id: string;
18776
18566
  url: string;
@@ -18911,10 +18701,6 @@ export declare const telegramContract: {
18911
18701
  mobileNumber: string;
18912
18702
  apiSecret: string;
18913
18703
  } | undefined;
18914
- line?: {
18915
- channelId: string;
18916
- channelSecret: string;
18917
- } | undefined;
18918
18704
  lineRichMenuId?: string | null | undefined;
18919
18705
  messengerIntegrationType?: "own" | "business" | undefined;
18920
18706
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -19238,16 +19024,6 @@ export declare const telegramContract: {
19238
19024
  createdAt: Date;
19239
19025
  updatedAt: Date;
19240
19026
  deletedAt: Date | null;
19241
- tags: {
19242
- name: string;
19243
- id: string;
19244
- createdAt: Date;
19245
- updatedAt: Date;
19246
- deletedAt: Date | null;
19247
- }[];
19248
- callFrom: string | null;
19249
- callTo: string | null;
19250
- note: string | null;
19251
19027
  categories: {
19252
19028
  id: string;
19253
19029
  value: string;
@@ -19270,6 +19046,16 @@ export declare const telegramContract: {
19270
19046
  }[];
19271
19047
  }[];
19272
19048
  }[];
19049
+ tags: {
19050
+ name: string;
19051
+ id: string;
19052
+ createdAt: Date;
19053
+ updatedAt: Date;
19054
+ deletedAt: Date | null;
19055
+ }[];
19056
+ callFrom: string | null;
19057
+ callTo: string | null;
19058
+ note: string | null;
19273
19059
  customFields?: {
19274
19060
  id: string;
19275
19061
  createdAt: Date;
@@ -19329,7 +19115,7 @@ export declare const telegramContract: {
19329
19115
  previewUrl: string;
19330
19116
  imageSetId: string;
19331
19117
  repliedMessage: {
19332
- type: string;
19118
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19333
19119
  message: string;
19334
19120
  id: string;
19335
19121
  url: string;
@@ -19540,7 +19326,7 @@ export declare const telegramContract: {
19540
19326
  template?: any;
19541
19327
  metadata?: any;
19542
19328
  fromMessage?: {
19543
- type: string;
19329
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19544
19330
  message: string;
19545
19331
  id: string;
19546
19332
  url: string;
@@ -19681,10 +19467,6 @@ export declare const telegramContract: {
19681
19467
  mobileNumber: string;
19682
19468
  apiSecret: string;
19683
19469
  } | undefined;
19684
- line?: {
19685
- channelId: string;
19686
- channelSecret: string;
19687
- } | undefined;
19688
19470
  lineRichMenuId?: string | null | undefined;
19689
19471
  messengerIntegrationType?: "own" | "business" | undefined;
19690
19472
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20008,16 +19790,6 @@ export declare const telegramContract: {
20008
19790
  createdAt: Date;
20009
19791
  updatedAt: Date;
20010
19792
  deletedAt: Date | null;
20011
- tags: {
20012
- name: string;
20013
- id: string;
20014
- createdAt: Date;
20015
- updatedAt: Date;
20016
- deletedAt: Date | null;
20017
- }[];
20018
- callFrom: string | null;
20019
- callTo: string | null;
20020
- note: string | null;
20021
19793
  categories: {
20022
19794
  id: string;
20023
19795
  value: string;
@@ -20040,6 +19812,16 @@ export declare const telegramContract: {
20040
19812
  }[];
20041
19813
  }[];
20042
19814
  }[];
19815
+ tags: {
19816
+ name: string;
19817
+ id: string;
19818
+ createdAt: Date;
19819
+ updatedAt: Date;
19820
+ deletedAt: Date | null;
19821
+ }[];
19822
+ callFrom: string | null;
19823
+ callTo: string | null;
19824
+ note: string | null;
20043
19825
  customFields?: {
20044
19826
  id: string;
20045
19827
  createdAt: Date;
@@ -20099,7 +19881,7 @@ export declare const telegramContract: {
20099
19881
  previewUrl: string;
20100
19882
  imageSetId: string;
20101
19883
  repliedMessage: {
20102
- type: string;
19884
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
20103
19885
  message: string;
20104
19886
  id: string;
20105
19887
  url: string;
@@ -20404,16 +20186,6 @@ export declare const telegramContract: {
20404
20186
  mobileNumber: string;
20405
20187
  apiSecret: string;
20406
20188
  }>>;
20407
- line: z.ZodOptional<z.ZodObject<{
20408
- channelId: z.ZodString;
20409
- channelSecret: z.ZodString;
20410
- }, "strip", z.ZodTypeAny, {
20411
- channelId: string;
20412
- channelSecret: string;
20413
- }, {
20414
- channelId: string;
20415
- channelSecret: string;
20416
- }>>;
20417
20189
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20418
20190
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
20419
20191
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -20444,10 +20216,6 @@ export declare const telegramContract: {
20444
20216
  mobileNumber: string;
20445
20217
  apiSecret: string;
20446
20218
  } | undefined;
20447
- line?: {
20448
- channelId: string;
20449
- channelSecret: string;
20450
- } | undefined;
20451
20219
  lineRichMenuId?: string | null | undefined;
20452
20220
  messengerIntegrationType?: "own" | "business" | undefined;
20453
20221
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20478,10 +20246,6 @@ export declare const telegramContract: {
20478
20246
  mobileNumber: string;
20479
20247
  apiSecret: string;
20480
20248
  } | undefined;
20481
- line?: {
20482
- channelId: string;
20483
- channelSecret: string;
20484
- } | undefined;
20485
20249
  lineRichMenuId?: string | null | undefined;
20486
20250
  messengerIntegrationType?: "own" | "business" | undefined;
20487
20251
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20542,10 +20306,6 @@ export declare const telegramContract: {
20542
20306
  mobileNumber: string;
20543
20307
  apiSecret: string;
20544
20308
  } | undefined;
20545
- line?: {
20546
- channelId: string;
20547
- channelSecret: string;
20548
- } | undefined;
20549
20309
  lineRichMenuId?: string | null | undefined;
20550
20310
  messengerIntegrationType?: "own" | "business" | undefined;
20551
20311
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20594,10 +20354,6 @@ export declare const telegramContract: {
20594
20354
  mobileNumber: string;
20595
20355
  apiSecret: string;
20596
20356
  } | undefined;
20597
- line?: {
20598
- channelId: string;
20599
- channelSecret: string;
20600
- } | undefined;
20601
20357
  lineRichMenuId?: string | null | undefined;
20602
20358
  messengerIntegrationType?: "own" | "business" | undefined;
20603
20359
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20648,10 +20404,6 @@ export declare const telegramContract: {
20648
20404
  mobileNumber: string;
20649
20405
  apiSecret: string;
20650
20406
  } | undefined;
20651
- line?: {
20652
- channelId: string;
20653
- channelSecret: string;
20654
- } | undefined;
20655
20407
  lineRichMenuId?: string | null | undefined;
20656
20408
  messengerIntegrationType?: "own" | "business" | undefined;
20657
20409
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20703,10 +20455,6 @@ export declare const telegramContract: {
20703
20455
  mobileNumber: string;
20704
20456
  apiSecret: string;
20705
20457
  } | undefined;
20706
- line?: {
20707
- channelId: string;
20708
- channelSecret: string;
20709
- } | undefined;
20710
20458
  lineRichMenuId?: string | null | undefined;
20711
20459
  messengerIntegrationType?: "own" | "business" | undefined;
20712
20460
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20829,16 +20577,6 @@ export declare const telegramContract: {
20829
20577
  mobileNumber: string;
20830
20578
  apiSecret: string;
20831
20579
  }>>;
20832
- line: z.ZodOptional<z.ZodObject<{
20833
- channelId: z.ZodString;
20834
- channelSecret: z.ZodString;
20835
- }, "strip", z.ZodTypeAny, {
20836
- channelId: string;
20837
- channelSecret: string;
20838
- }, {
20839
- channelId: string;
20840
- channelSecret: string;
20841
- }>>;
20842
20580
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20843
20581
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
20844
20582
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -20869,10 +20607,6 @@ export declare const telegramContract: {
20869
20607
  mobileNumber: string;
20870
20608
  apiSecret: string;
20871
20609
  } | undefined;
20872
- line?: {
20873
- channelId: string;
20874
- channelSecret: string;
20875
- } | undefined;
20876
20610
  lineRichMenuId?: string | null | undefined;
20877
20611
  messengerIntegrationType?: "own" | "business" | undefined;
20878
20612
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20903,10 +20637,6 @@ export declare const telegramContract: {
20903
20637
  mobileNumber: string;
20904
20638
  apiSecret: string;
20905
20639
  } | undefined;
20906
- line?: {
20907
- channelId: string;
20908
- channelSecret: string;
20909
- } | undefined;
20910
20640
  lineRichMenuId?: string | null | undefined;
20911
20641
  messengerIntegrationType?: "own" | "business" | undefined;
20912
20642
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20967,10 +20697,6 @@ export declare const telegramContract: {
20967
20697
  mobileNumber: string;
20968
20698
  apiSecret: string;
20969
20699
  } | undefined;
20970
- line?: {
20971
- channelId: string;
20972
- channelSecret: string;
20973
- } | undefined;
20974
20700
  lineRichMenuId?: string | null | undefined;
20975
20701
  messengerIntegrationType?: "own" | "business" | undefined;
20976
20702
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -21019,10 +20745,6 @@ export declare const telegramContract: {
21019
20745
  mobileNumber: string;
21020
20746
  apiSecret: string;
21021
20747
  } | undefined;
21022
- line?: {
21023
- channelId: string;
21024
- channelSecret: string;
21025
- } | undefined;
21026
20748
  lineRichMenuId?: string | null | undefined;
21027
20749
  messengerIntegrationType?: "own" | "business" | undefined;
21028
20750
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -21073,10 +20795,6 @@ export declare const telegramContract: {
21073
20795
  mobileNumber: string;
21074
20796
  apiSecret: string;
21075
20797
  } | undefined;
21076
- line?: {
21077
- channelId: string;
21078
- channelSecret: string;
21079
- } | undefined;
21080
20798
  lineRichMenuId?: string | null | undefined;
21081
20799
  messengerIntegrationType?: "own" | "business" | undefined;
21082
20800
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -21128,10 +20846,6 @@ export declare const telegramContract: {
21128
20846
  mobileNumber: string;
21129
20847
  apiSecret: string;
21130
20848
  } | undefined;
21131
- line?: {
21132
- channelId: string;
21133
- channelSecret: string;
21134
- } | undefined;
21135
20849
  lineRichMenuId?: string | null | undefined;
21136
20850
  messengerIntegrationType?: "own" | "business" | undefined;
21137
20851
  facebookFeedIntegrationType?: "own" | "business" | undefined;