@kl1/contracts 1.3.34 → 1.3.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/api-contracts/src/automation-queue/index.d.ts +3 -0
  2. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/botpress/index.d.ts +2 -2
  4. package/dist/api-contracts/src/channel/index.d.ts +1570 -28
  5. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  6. package/dist/api-contracts/src/channel/schema.d.ts +44 -0
  7. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  8. package/dist/api-contracts/src/channel/validation.d.ts +65 -0
  9. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  10. package/dist/api-contracts/src/chat/index.d.ts +1285 -211
  11. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  12. package/dist/api-contracts/src/chat/schema.d.ts +312 -63
  13. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  14. package/dist/api-contracts/src/chat/validation.d.ts +455 -69
  15. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  16. package/dist/api-contracts/src/contract.d.ts +8797 -2879
  17. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  18. package/dist/api-contracts/src/cx-log/index.d.ts +62 -1
  19. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  20. package/dist/api-contracts/src/cx-log/schema.d.ts +46 -1
  21. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  22. package/dist/api-contracts/src/cx-log/validation.d.ts +3 -0
  23. package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
  24. package/dist/api-contracts/src/dashboard/index.d.ts +952 -30
  25. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/dashboard/schema.d.ts +164 -9
  27. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/dashboard/validation.d.ts +30 -1
  29. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  30. package/dist/api-contracts/src/export/index.d.ts +2 -0
  31. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  32. package/dist/api-contracts/src/export/validation.d.ts +3 -0
  33. package/dist/api-contracts/src/export/validation.d.ts.map +1 -0
  34. package/dist/api-contracts/src/facebook-feed/index.d.ts +561 -53
  35. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/facebook-feed/schema.d.ts +37 -3
  37. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/facebook-feed/validation.d.ts +26 -0
  39. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  40. package/dist/api-contracts/src/index.d.ts +2 -0
  41. package/dist/api-contracts/src/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/instagram/index.d.ts +439 -41
  43. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/line/index.d.ts +402 -48
  45. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/line/validation.d.ts +49 -7
  47. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  48. package/dist/api-contracts/src/messenger/index.d.ts +439 -41
  49. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  50. package/dist/api-contracts/src/messenger/validation.d.ts +26 -0
  51. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  52. package/dist/api-contracts/src/presence-status/index.d.ts +1 -421
  53. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  54. package/dist/api-contracts/src/presence-status/schema.d.ts +0 -369
  55. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  56. package/dist/api-contracts/src/sms/index.d.ts +185 -7
  57. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  58. package/dist/api-contracts/src/telegram/index.d.ts +327 -41
  59. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  60. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +0 -430
  61. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  62. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +0 -3
  63. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  64. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  65. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  66. package/dist/api-contracts/src/viber/index.d.ts +327 -41
  67. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  68. package/dist/api-contracts/src/webchat/index.d.ts +327 -41
  69. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  70. package/dist/api-contracts/src/whatsapp/index.d.ts +379 -41
  71. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  72. package/dist/api-contracts/src/workflow-rule/index.d.ts +151 -17
  73. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  74. package/dist/index.js +639 -321
  75. package/dist/index.js.map +1 -1
  76. package/dist/index.mjs +637 -321
  77. package/dist/index.mjs.map +1 -1
  78. package/package.json +1 -1
@@ -118,6 +118,16 @@ 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
+ }>>;
121
131
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
122
132
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
123
133
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -148,6 +158,10 @@ export declare const telegramContract: {
148
158
  mobileNumber: string;
149
159
  apiSecret: string;
150
160
  } | undefined;
161
+ line?: {
162
+ channelId: string;
163
+ channelSecret: string;
164
+ } | undefined;
151
165
  lineRichMenuId?: string | null | undefined;
152
166
  messengerIntegrationType?: "own" | "business" | undefined;
153
167
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -178,6 +192,10 @@ export declare const telegramContract: {
178
192
  mobileNumber: string;
179
193
  apiSecret: string;
180
194
  } | undefined;
195
+ line?: {
196
+ channelId: string;
197
+ channelSecret: string;
198
+ } | undefined;
181
199
  lineRichMenuId?: string | null | undefined;
182
200
  messengerIntegrationType?: "own" | "business" | undefined;
183
201
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -442,6 +460,10 @@ export declare const telegramContract: {
442
460
  mobileNumber: string;
443
461
  apiSecret: string;
444
462
  } | undefined;
463
+ line?: {
464
+ channelId: string;
465
+ channelSecret: string;
466
+ } | undefined;
445
467
  lineRichMenuId?: string | null | undefined;
446
468
  messengerIntegrationType?: "own" | "business" | undefined;
447
469
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -537,6 +559,10 @@ export declare const telegramContract: {
537
559
  mobileNumber: string;
538
560
  apiSecret: string;
539
561
  } | undefined;
562
+ line?: {
563
+ channelId: string;
564
+ channelSecret: string;
565
+ } | undefined;
540
566
  lineRichMenuId?: string | null | undefined;
541
567
  messengerIntegrationType?: "own" | "business" | undefined;
542
568
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -634,6 +660,10 @@ export declare const telegramContract: {
634
660
  mobileNumber: string;
635
661
  apiSecret: string;
636
662
  } | undefined;
663
+ line?: {
664
+ channelId: string;
665
+ channelSecret: string;
666
+ } | undefined;
637
667
  lineRichMenuId?: string | null | undefined;
638
668
  messengerIntegrationType?: "own" | "business" | undefined;
639
669
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -732,6 +762,10 @@ export declare const telegramContract: {
732
762
  mobileNumber: string;
733
763
  apiSecret: string;
734
764
  } | undefined;
765
+ line?: {
766
+ channelId: string;
767
+ channelSecret: string;
768
+ } | undefined;
735
769
  lineRichMenuId?: string | null | undefined;
736
770
  messengerIntegrationType?: "own" | "business" | undefined;
737
771
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -900,6 +934,16 @@ export declare const telegramContract: {
900
934
  mobileNumber: string;
901
935
  apiSecret: string;
902
936
  }>>;
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
+ }>>;
903
947
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
904
948
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
905
949
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -930,6 +974,10 @@ export declare const telegramContract: {
930
974
  mobileNumber: string;
931
975
  apiSecret: string;
932
976
  } | undefined;
977
+ line?: {
978
+ channelId: string;
979
+ channelSecret: string;
980
+ } | undefined;
933
981
  lineRichMenuId?: string | null | undefined;
934
982
  messengerIntegrationType?: "own" | "business" | undefined;
935
983
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -960,6 +1008,10 @@ export declare const telegramContract: {
960
1008
  mobileNumber: string;
961
1009
  apiSecret: string;
962
1010
  } | undefined;
1011
+ line?: {
1012
+ channelId: string;
1013
+ channelSecret: string;
1014
+ } | undefined;
963
1015
  lineRichMenuId?: string | null | undefined;
964
1016
  messengerIntegrationType?: "own" | "business" | undefined;
965
1017
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1020,6 +1072,10 @@ export declare const telegramContract: {
1020
1072
  mobileNumber: string;
1021
1073
  apiSecret: string;
1022
1074
  } | undefined;
1075
+ line?: {
1076
+ channelId: string;
1077
+ channelSecret: string;
1078
+ } | undefined;
1023
1079
  lineRichMenuId?: string | null | undefined;
1024
1080
  messengerIntegrationType?: "own" | "business" | undefined;
1025
1081
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1068,6 +1124,10 @@ export declare const telegramContract: {
1068
1124
  mobileNumber: string;
1069
1125
  apiSecret: string;
1070
1126
  } | undefined;
1127
+ line?: {
1128
+ channelId: string;
1129
+ channelSecret: string;
1130
+ } | undefined;
1071
1131
  lineRichMenuId?: string | null | undefined;
1072
1132
  messengerIntegrationType?: "own" | "business" | undefined;
1073
1133
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1118,6 +1178,10 @@ export declare const telegramContract: {
1118
1178
  mobileNumber: string;
1119
1179
  apiSecret: string;
1120
1180
  } | undefined;
1181
+ line?: {
1182
+ channelId: string;
1183
+ channelSecret: string;
1184
+ } | undefined;
1121
1185
  lineRichMenuId?: string | null | undefined;
1122
1186
  messengerIntegrationType?: "own" | "business" | undefined;
1123
1187
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1169,6 +1233,10 @@ export declare const telegramContract: {
1169
1233
  mobileNumber: string;
1170
1234
  apiSecret: string;
1171
1235
  } | undefined;
1236
+ line?: {
1237
+ channelId: string;
1238
+ channelSecret: string;
1239
+ } | undefined;
1172
1240
  lineRichMenuId?: string | null | undefined;
1173
1241
  messengerIntegrationType?: "own" | "business" | undefined;
1174
1242
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1221,7 +1289,7 @@ export declare const telegramContract: {
1221
1289
  lastMessage: z.ZodOptional<z.ZodString>;
1222
1290
  handleTime: z.ZodOptional<z.ZodNumber>;
1223
1291
  isLatest: z.ZodBoolean;
1224
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1292
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1225
1293
  metadata: z.ZodOptional<z.ZodAny>;
1226
1294
  createdAt: z.ZodString;
1227
1295
  updatedAt: z.ZodString;
@@ -1403,6 +1471,16 @@ export declare const telegramContract: {
1403
1471
  mobileNumber: string;
1404
1472
  apiSecret: string;
1405
1473
  }>>;
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
+ }>>;
1406
1484
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1407
1485
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1408
1486
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -1433,6 +1511,10 @@ export declare const telegramContract: {
1433
1511
  mobileNumber: string;
1434
1512
  apiSecret: string;
1435
1513
  } | undefined;
1514
+ line?: {
1515
+ channelId: string;
1516
+ channelSecret: string;
1517
+ } | undefined;
1436
1518
  lineRichMenuId?: string | null | undefined;
1437
1519
  messengerIntegrationType?: "own" | "business" | undefined;
1438
1520
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1463,6 +1545,10 @@ export declare const telegramContract: {
1463
1545
  mobileNumber: string;
1464
1546
  apiSecret: string;
1465
1547
  } | undefined;
1548
+ line?: {
1549
+ channelId: string;
1550
+ channelSecret: string;
1551
+ } | undefined;
1466
1552
  lineRichMenuId?: string | null | undefined;
1467
1553
  messengerIntegrationType?: "own" | "business" | undefined;
1468
1554
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1523,6 +1609,10 @@ export declare const telegramContract: {
1523
1609
  mobileNumber: string;
1524
1610
  apiSecret: string;
1525
1611
  } | undefined;
1612
+ line?: {
1613
+ channelId: string;
1614
+ channelSecret: string;
1615
+ } | undefined;
1526
1616
  lineRichMenuId?: string | null | undefined;
1527
1617
  messengerIntegrationType?: "own" | "business" | undefined;
1528
1618
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1571,6 +1661,10 @@ export declare const telegramContract: {
1571
1661
  mobileNumber: string;
1572
1662
  apiSecret: string;
1573
1663
  } | undefined;
1664
+ line?: {
1665
+ channelId: string;
1666
+ channelSecret: string;
1667
+ } | undefined;
1574
1668
  lineRichMenuId?: string | null | undefined;
1575
1669
  messengerIntegrationType?: "own" | "business" | undefined;
1576
1670
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1624,6 +1718,10 @@ export declare const telegramContract: {
1624
1718
  mobileNumber: string;
1625
1719
  apiSecret: string;
1626
1720
  } | undefined;
1721
+ line?: {
1722
+ channelId: string;
1723
+ channelSecret: string;
1724
+ } | undefined;
1627
1725
  lineRichMenuId?: string | null | undefined;
1628
1726
  messengerIntegrationType?: "own" | "business" | undefined;
1629
1727
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1716,6 +1814,10 @@ export declare const telegramContract: {
1716
1814
  mobileNumber: string;
1717
1815
  apiSecret: string;
1718
1816
  } | undefined;
1817
+ line?: {
1818
+ channelId: string;
1819
+ channelSecret: string;
1820
+ } | undefined;
1719
1821
  lineRichMenuId?: string | null | undefined;
1720
1822
  messengerIntegrationType?: "own" | "business" | undefined;
1721
1823
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1780,8 +1882,8 @@ export declare const telegramContract: {
1780
1882
  message: z.ZodObject<{
1781
1883
  id: z.ZodOptional<z.ZodString>;
1782
1884
  message: z.ZodOptional<z.ZodString>;
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"]>;
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>[]]>;
1785
1887
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1786
1888
  metadata: z.ZodOptional<z.ZodAny>;
1787
1889
  platformId: z.ZodOptional<z.ZodString>;
@@ -1837,7 +1939,7 @@ export declare const telegramContract: {
1837
1939
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1838
1940
  label: z.ZodOptional<z.ZodString>;
1839
1941
  }, "strip", z.ZodTypeAny, {
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";
1942
+ type: string;
1841
1943
  direction: "incoming" | "outgoing" | "system";
1842
1944
  id?: string | undefined;
1843
1945
  message?: string | undefined;
@@ -1872,7 +1974,7 @@ export declare const telegramContract: {
1872
1974
  editedAt?: string | Date | null | undefined;
1873
1975
  label?: string | undefined;
1874
1976
  }, {
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";
1977
+ type: string;
1876
1978
  direction: "incoming" | "outgoing" | "system";
1877
1979
  id?: string | undefined;
1878
1980
  message?: string | undefined;
@@ -1909,7 +2011,7 @@ export declare const telegramContract: {
1909
2011
  }>;
1910
2012
  }, "strip", z.ZodTypeAny, {
1911
2013
  message: {
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";
2014
+ type: string;
1913
2015
  direction: "incoming" | "outgoing" | "system";
1914
2016
  id?: string | undefined;
1915
2017
  message?: string | undefined;
@@ -1976,6 +2078,10 @@ export declare const telegramContract: {
1976
2078
  mobileNumber: string;
1977
2079
  apiSecret: string;
1978
2080
  } | undefined;
2081
+ line?: {
2082
+ channelId: string;
2083
+ channelSecret: string;
2084
+ } | undefined;
1979
2085
  lineRichMenuId?: string | null | undefined;
1980
2086
  messengerIntegrationType?: "own" | "business" | undefined;
1981
2087
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2040,7 +2146,7 @@ export declare const telegramContract: {
2040
2146
  isBot: boolean | null;
2041
2147
  }, {
2042
2148
  message: {
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";
2149
+ type: string;
2044
2150
  direction: "incoming" | "outgoing" | "system";
2045
2151
  id?: string | undefined;
2046
2152
  message?: string | undefined;
@@ -2107,6 +2213,10 @@ export declare const telegramContract: {
2107
2213
  mobileNumber: string;
2108
2214
  apiSecret: string;
2109
2215
  } | undefined;
2216
+ line?: {
2217
+ channelId: string;
2218
+ channelSecret: string;
2219
+ } | undefined;
2110
2220
  lineRichMenuId?: string | null | undefined;
2111
2221
  messengerIntegrationType?: "own" | "business" | undefined;
2112
2222
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2175,11 +2285,11 @@ export declare const telegramContract: {
2175
2285
  200: z.ZodObject<{
2176
2286
  requestId: z.ZodString;
2177
2287
  data: z.ZodObject<{
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"]>;
2288
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
2179
2289
  message: z.ZodString;
2180
2290
  id: z.ZodString;
2181
2291
  url: z.ZodString;
2182
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2292
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2183
2293
  label: z.ZodOptional<z.ZodString>;
2184
2294
  template: z.ZodAny;
2185
2295
  metadata: z.ZodAny;
@@ -2644,7 +2754,7 @@ export declare const telegramContract: {
2644
2754
  firstResponseTime: z.ZodNumber;
2645
2755
  isLatest: z.ZodBoolean;
2646
2756
  isBotRoom: z.ZodBoolean;
2647
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2757
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2648
2758
  platformContact: z.ZodObject<{
2649
2759
  id: z.ZodString;
2650
2760
  createdAt: z.ZodDate;
@@ -4168,6 +4278,16 @@ export declare const telegramContract: {
4168
4278
  mobileNumber: string;
4169
4279
  apiSecret: string;
4170
4280
  }>>;
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
+ }>>;
4171
4291
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4172
4292
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
4173
4293
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -4198,6 +4318,10 @@ export declare const telegramContract: {
4198
4318
  mobileNumber: string;
4199
4319
  apiSecret: string;
4200
4320
  } | undefined;
4321
+ line?: {
4322
+ channelId: string;
4323
+ channelSecret: string;
4324
+ } | undefined;
4201
4325
  lineRichMenuId?: string | null | undefined;
4202
4326
  messengerIntegrationType?: "own" | "business" | undefined;
4203
4327
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -4228,6 +4352,10 @@ export declare const telegramContract: {
4228
4352
  mobileNumber: string;
4229
4353
  apiSecret: string;
4230
4354
  } | undefined;
4355
+ line?: {
4356
+ channelId: string;
4357
+ channelSecret: string;
4358
+ } | undefined;
4231
4359
  lineRichMenuId?: string | null | undefined;
4232
4360
  messengerIntegrationType?: "own" | "business" | undefined;
4233
4361
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -4492,6 +4620,10 @@ export declare const telegramContract: {
4492
4620
  mobileNumber: string;
4493
4621
  apiSecret: string;
4494
4622
  } | undefined;
4623
+ line?: {
4624
+ channelId: string;
4625
+ channelSecret: string;
4626
+ } | undefined;
4495
4627
  lineRichMenuId?: string | null | undefined;
4496
4628
  messengerIntegrationType?: "own" | "business" | undefined;
4497
4629
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -4587,6 +4719,10 @@ export declare const telegramContract: {
4587
4719
  mobileNumber: string;
4588
4720
  apiSecret: string;
4589
4721
  } | undefined;
4722
+ line?: {
4723
+ channelId: string;
4724
+ channelSecret: string;
4725
+ } | undefined;
4590
4726
  lineRichMenuId?: string | null | undefined;
4591
4727
  messengerIntegrationType?: "own" | "business" | undefined;
4592
4728
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -5246,6 +5382,10 @@ export declare const telegramContract: {
5246
5382
  mobileNumber: string;
5247
5383
  apiSecret: string;
5248
5384
  } | undefined;
5385
+ line?: {
5386
+ channelId: string;
5387
+ channelSecret: string;
5388
+ } | undefined;
5249
5389
  lineRichMenuId?: string | null | undefined;
5250
5390
  messengerIntegrationType?: "own" | "business" | undefined;
5251
5391
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -5675,6 +5815,10 @@ export declare const telegramContract: {
5675
5815
  mobileNumber: string;
5676
5816
  apiSecret: string;
5677
5817
  } | undefined;
5818
+ line?: {
5819
+ channelId: string;
5820
+ channelSecret: string;
5821
+ } | undefined;
5678
5822
  lineRichMenuId?: string | null | undefined;
5679
5823
  messengerIntegrationType?: "own" | "business" | undefined;
5680
5824
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -6110,8 +6254,8 @@ export declare const telegramContract: {
6110
6254
  updatedAt: z.ZodDate;
6111
6255
  deletedAt: z.ZodNullable<z.ZodDate>;
6112
6256
  message: z.ZodString;
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"]>;
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>[]]>;
6115
6259
  readAt: z.ZodDate;
6116
6260
  metadata: z.ZodAny;
6117
6261
  platformId: z.ZodString;
@@ -6769,7 +6913,7 @@ export declare const telegramContract: {
6769
6913
  };
6770
6914
  }>;
6771
6915
  }, "strip", z.ZodTypeAny, {
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";
6916
+ type: string;
6773
6917
  message: string;
6774
6918
  id: string;
6775
6919
  url: string;
@@ -6931,7 +7075,7 @@ export declare const telegramContract: {
6931
7075
  metadata?: any;
6932
7076
  template?: any;
6933
7077
  }, {
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";
7078
+ type: string;
6935
7079
  message: string;
6936
7080
  id: string;
6937
7081
  url: string;
@@ -7304,8 +7448,8 @@ export declare const telegramContract: {
7304
7448
  updatedAt: z.ZodDate;
7305
7449
  deletedAt: z.ZodNullable<z.ZodDate>;
7306
7450
  message: z.ZodString;
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"]>;
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>[]]>;
7309
7453
  readAt: z.ZodDate;
7310
7454
  metadata: z.ZodAny;
7311
7455
  platformId: z.ZodString;
@@ -7331,7 +7475,7 @@ export declare const telegramContract: {
7331
7475
  firstResponseTime: z.ZodNumber;
7332
7476
  isLatest: z.ZodBoolean;
7333
7477
  isBotRoom: z.ZodBoolean;
7334
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7478
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
7335
7479
  platformContact: z.ZodObject<{
7336
7480
  id: z.ZodString;
7337
7481
  createdAt: z.ZodDate;
@@ -8855,6 +8999,16 @@ export declare const telegramContract: {
8855
8999
  mobileNumber: string;
8856
9000
  apiSecret: string;
8857
9001
  }>>;
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
+ }>>;
8858
9012
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8859
9013
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
8860
9014
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -8885,6 +9039,10 @@ export declare const telegramContract: {
8885
9039
  mobileNumber: string;
8886
9040
  apiSecret: string;
8887
9041
  } | undefined;
9042
+ line?: {
9043
+ channelId: string;
9044
+ channelSecret: string;
9045
+ } | undefined;
8888
9046
  lineRichMenuId?: string | null | undefined;
8889
9047
  messengerIntegrationType?: "own" | "business" | undefined;
8890
9048
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -8915,6 +9073,10 @@ export declare const telegramContract: {
8915
9073
  mobileNumber: string;
8916
9074
  apiSecret: string;
8917
9075
  } | undefined;
9076
+ line?: {
9077
+ channelId: string;
9078
+ channelSecret: string;
9079
+ } | undefined;
8918
9080
  lineRichMenuId?: string | null | undefined;
8919
9081
  messengerIntegrationType?: "own" | "business" | undefined;
8920
9082
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -9179,6 +9341,10 @@ export declare const telegramContract: {
9179
9341
  mobileNumber: string;
9180
9342
  apiSecret: string;
9181
9343
  } | undefined;
9344
+ line?: {
9345
+ channelId: string;
9346
+ channelSecret: string;
9347
+ } | undefined;
9182
9348
  lineRichMenuId?: string | null | undefined;
9183
9349
  messengerIntegrationType?: "own" | "business" | undefined;
9184
9350
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -9274,6 +9440,10 @@ export declare const telegramContract: {
9274
9440
  mobileNumber: string;
9275
9441
  apiSecret: string;
9276
9442
  } | undefined;
9443
+ line?: {
9444
+ channelId: string;
9445
+ channelSecret: string;
9446
+ } | undefined;
9277
9447
  lineRichMenuId?: string | null | undefined;
9278
9448
  messengerIntegrationType?: "own" | "business" | undefined;
9279
9449
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -9933,6 +10103,10 @@ export declare const telegramContract: {
9933
10103
  mobileNumber: string;
9934
10104
  apiSecret: string;
9935
10105
  } | undefined;
10106
+ line?: {
10107
+ channelId: string;
10108
+ channelSecret: string;
10109
+ } | undefined;
9936
10110
  lineRichMenuId?: string | null | undefined;
9937
10111
  messengerIntegrationType?: "own" | "business" | undefined;
9938
10112
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -10362,6 +10536,10 @@ export declare const telegramContract: {
10362
10536
  mobileNumber: string;
10363
10537
  apiSecret: string;
10364
10538
  } | undefined;
10539
+ line?: {
10540
+ channelId: string;
10541
+ channelSecret: string;
10542
+ } | undefined;
10365
10543
  lineRichMenuId?: string | null | undefined;
10366
10544
  messengerIntegrationType?: "own" | "business" | undefined;
10367
10545
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -10800,8 +10978,8 @@ export declare const telegramContract: {
10800
10978
  updatedAt: z.ZodDate;
10801
10979
  deletedAt: z.ZodNullable<z.ZodDate>;
10802
10980
  message: z.ZodString;
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"]>;
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>[]]>;
10805
10983
  readAt: z.ZodDate;
10806
10984
  metadata: z.ZodAny;
10807
10985
  platformId: z.ZodString;
@@ -11459,7 +11637,7 @@ export declare const telegramContract: {
11459
11637
  };
11460
11638
  }>;
11461
11639
  }, "strip", z.ZodTypeAny, {
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";
11640
+ type: string;
11463
11641
  message: string;
11464
11642
  id: string;
11465
11643
  url: string;
@@ -11621,7 +11799,7 @@ export declare const telegramContract: {
11621
11799
  metadata?: any;
11622
11800
  template?: any;
11623
11801
  }, {
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";
11802
+ type: string;
11625
11803
  message: string;
11626
11804
  id: string;
11627
11805
  url: string;
@@ -12423,7 +12601,7 @@ export declare const telegramContract: {
12423
12601
  editedMessageid: z.ZodString;
12424
12602
  label: z.ZodOptional<z.ZodString>;
12425
12603
  }, "strip", z.ZodTypeAny, {
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";
12604
+ type: string;
12427
12605
  message: string;
12428
12606
  id: string;
12429
12607
  url: string;
@@ -12564,6 +12742,10 @@ export declare const telegramContract: {
12564
12742
  mobileNumber: string;
12565
12743
  apiSecret: string;
12566
12744
  } | undefined;
12745
+ line?: {
12746
+ channelId: string;
12747
+ channelSecret: string;
12748
+ } | undefined;
12567
12749
  lineRichMenuId?: string | null | undefined;
12568
12750
  messengerIntegrationType?: "own" | "business" | undefined;
12569
12751
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -12978,7 +13160,7 @@ export declare const telegramContract: {
12978
13160
  previewUrl: string;
12979
13161
  imageSetId: string;
12980
13162
  repliedMessage: {
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";
13163
+ type: string;
12982
13164
  message: string;
12983
13165
  id: string;
12984
13166
  url: string;
@@ -13189,7 +13371,7 @@ export declare const telegramContract: {
13189
13371
  template?: any;
13190
13372
  label?: string | undefined;
13191
13373
  }, {
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";
13374
+ type: string;
13193
13375
  message: string;
13194
13376
  id: string;
13195
13377
  url: string;
@@ -13330,6 +13512,10 @@ export declare const telegramContract: {
13330
13512
  mobileNumber: string;
13331
13513
  apiSecret: string;
13332
13514
  } | undefined;
13515
+ line?: {
13516
+ channelId: string;
13517
+ channelSecret: string;
13518
+ } | undefined;
13333
13519
  lineRichMenuId?: string | null | undefined;
13334
13520
  messengerIntegrationType?: "own" | "business" | undefined;
13335
13521
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -13744,7 +13930,7 @@ export declare const telegramContract: {
13744
13930
  previewUrl: string;
13745
13931
  imageSetId: string;
13746
13932
  repliedMessage: {
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";
13933
+ type: string;
13748
13934
  message: string;
13749
13935
  id: string;
13750
13936
  url: string;
@@ -13956,7 +14142,7 @@ export declare const telegramContract: {
13956
14142
  label?: string | undefined;
13957
14143
  }>>>;
13958
14144
  }, "strip", z.ZodTypeAny, {
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";
14145
+ type: string;
13960
14146
  message: string;
13961
14147
  id: string;
13962
14148
  url: string;
@@ -14097,6 +14283,10 @@ export declare const telegramContract: {
14097
14283
  mobileNumber: string;
14098
14284
  apiSecret: string;
14099
14285
  } | undefined;
14286
+ line?: {
14287
+ channelId: string;
14288
+ channelSecret: string;
14289
+ } | undefined;
14100
14290
  lineRichMenuId?: string | null | undefined;
14101
14291
  messengerIntegrationType?: "own" | "business" | undefined;
14102
14292
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -14511,7 +14701,7 @@ export declare const telegramContract: {
14511
14701
  previewUrl: string;
14512
14702
  imageSetId: string;
14513
14703
  repliedMessage: {
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";
14704
+ type: string;
14515
14705
  message: string;
14516
14706
  id: string;
14517
14707
  url: string;
@@ -14722,7 +14912,7 @@ export declare const telegramContract: {
14722
14912
  template?: any;
14723
14913
  metadata?: any;
14724
14914
  fromMessage?: {
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";
14915
+ type: string;
14726
14916
  message: string;
14727
14917
  id: string;
14728
14918
  url: string;
@@ -14863,6 +15053,10 @@ export declare const telegramContract: {
14863
15053
  mobileNumber: string;
14864
15054
  apiSecret: string;
14865
15055
  } | undefined;
15056
+ line?: {
15057
+ channelId: string;
15058
+ channelSecret: string;
15059
+ } | undefined;
14866
15060
  lineRichMenuId?: string | null | undefined;
14867
15061
  messengerIntegrationType?: "own" | "business" | undefined;
14868
15062
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -15277,7 +15471,7 @@ export declare const telegramContract: {
15277
15471
  previewUrl: string;
15278
15472
  imageSetId: string;
15279
15473
  repliedMessage: {
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";
15474
+ type: string;
15281
15475
  message: string;
15282
15476
  id: string;
15283
15477
  url: string;
@@ -15489,7 +15683,7 @@ export declare const telegramContract: {
15489
15683
  label?: string | undefined;
15490
15684
  } | null | undefined;
15491
15685
  }, {
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";
15686
+ type: string;
15493
15687
  message: string;
15494
15688
  id: string;
15495
15689
  url: string;
@@ -15630,6 +15824,10 @@ export declare const telegramContract: {
15630
15824
  mobileNumber: string;
15631
15825
  apiSecret: string;
15632
15826
  } | undefined;
15827
+ line?: {
15828
+ channelId: string;
15829
+ channelSecret: string;
15830
+ } | undefined;
15633
15831
  lineRichMenuId?: string | null | undefined;
15634
15832
  messengerIntegrationType?: "own" | "business" | undefined;
15635
15833
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16044,7 +16242,7 @@ export declare const telegramContract: {
16044
16242
  previewUrl: string;
16045
16243
  imageSetId: string;
16046
16244
  repliedMessage: {
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";
16245
+ type: string;
16048
16246
  message: string;
16049
16247
  id: string;
16050
16248
  url: string;
@@ -16255,7 +16453,7 @@ export declare const telegramContract: {
16255
16453
  template?: any;
16256
16454
  metadata?: any;
16257
16455
  fromMessage?: {
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";
16456
+ type: string;
16259
16457
  message: string;
16260
16458
  id: string;
16261
16459
  url: string;
@@ -16396,6 +16594,10 @@ export declare const telegramContract: {
16396
16594
  mobileNumber: string;
16397
16595
  apiSecret: string;
16398
16596
  } | undefined;
16597
+ line?: {
16598
+ channelId: string;
16599
+ channelSecret: string;
16600
+ } | undefined;
16399
16601
  lineRichMenuId?: string | null | undefined;
16400
16602
  messengerIntegrationType?: "own" | "business" | undefined;
16401
16603
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -16810,7 +17012,7 @@ export declare const telegramContract: {
16810
17012
  previewUrl: string;
16811
17013
  imageSetId: string;
16812
17014
  repliedMessage: {
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";
17015
+ type: string;
16814
17016
  message: string;
16815
17017
  id: string;
16816
17018
  url: string;
@@ -17024,7 +17226,7 @@ export declare const telegramContract: {
17024
17226
  }>;
17025
17227
  }, "strip", z.ZodTypeAny, {
17026
17228
  data: {
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";
17229
+ type: string;
17028
17230
  message: string;
17029
17231
  id: string;
17030
17232
  url: string;
@@ -17165,6 +17367,10 @@ export declare const telegramContract: {
17165
17367
  mobileNumber: string;
17166
17368
  apiSecret: string;
17167
17369
  } | undefined;
17370
+ line?: {
17371
+ channelId: string;
17372
+ channelSecret: string;
17373
+ } | undefined;
17168
17374
  lineRichMenuId?: string | null | undefined;
17169
17375
  messengerIntegrationType?: "own" | "business" | undefined;
17170
17376
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -17579,7 +17785,7 @@ export declare const telegramContract: {
17579
17785
  previewUrl: string;
17580
17786
  imageSetId: string;
17581
17787
  repliedMessage: {
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";
17788
+ type: string;
17583
17789
  message: string;
17584
17790
  id: string;
17585
17791
  url: string;
@@ -17790,7 +17996,7 @@ export declare const telegramContract: {
17790
17996
  template?: any;
17791
17997
  metadata?: any;
17792
17998
  fromMessage?: {
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";
17999
+ type: string;
17794
18000
  message: string;
17795
18001
  id: string;
17796
18002
  url: string;
@@ -17931,6 +18137,10 @@ export declare const telegramContract: {
17931
18137
  mobileNumber: string;
17932
18138
  apiSecret: string;
17933
18139
  } | undefined;
18140
+ line?: {
18141
+ channelId: string;
18142
+ channelSecret: string;
18143
+ } | undefined;
17934
18144
  lineRichMenuId?: string | null | undefined;
17935
18145
  messengerIntegrationType?: "own" | "business" | undefined;
17936
18146
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -18345,7 +18555,7 @@ export declare const telegramContract: {
18345
18555
  previewUrl: string;
18346
18556
  imageSetId: string;
18347
18557
  repliedMessage: {
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";
18558
+ type: string;
18349
18559
  message: string;
18350
18560
  id: string;
18351
18561
  url: string;
@@ -18560,7 +18770,7 @@ export declare const telegramContract: {
18560
18770
  requestId: string;
18561
18771
  }, {
18562
18772
  data: {
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";
18773
+ type: string;
18564
18774
  message: string;
18565
18775
  id: string;
18566
18776
  url: string;
@@ -18701,6 +18911,10 @@ export declare const telegramContract: {
18701
18911
  mobileNumber: string;
18702
18912
  apiSecret: string;
18703
18913
  } | undefined;
18914
+ line?: {
18915
+ channelId: string;
18916
+ channelSecret: string;
18917
+ } | undefined;
18704
18918
  lineRichMenuId?: string | null | undefined;
18705
18919
  messengerIntegrationType?: "own" | "business" | undefined;
18706
18920
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -19115,7 +19329,7 @@ export declare const telegramContract: {
19115
19329
  previewUrl: string;
19116
19330
  imageSetId: string;
19117
19331
  repliedMessage: {
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";
19332
+ type: string;
19119
19333
  message: string;
19120
19334
  id: string;
19121
19335
  url: string;
@@ -19326,7 +19540,7 @@ export declare const telegramContract: {
19326
19540
  template?: any;
19327
19541
  metadata?: any;
19328
19542
  fromMessage?: {
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";
19543
+ type: string;
19330
19544
  message: string;
19331
19545
  id: string;
19332
19546
  url: string;
@@ -19467,6 +19681,10 @@ export declare const telegramContract: {
19467
19681
  mobileNumber: string;
19468
19682
  apiSecret: string;
19469
19683
  } | undefined;
19684
+ line?: {
19685
+ channelId: string;
19686
+ channelSecret: string;
19687
+ } | undefined;
19470
19688
  lineRichMenuId?: string | null | undefined;
19471
19689
  messengerIntegrationType?: "own" | "business" | undefined;
19472
19690
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -19881,7 +20099,7 @@ export declare const telegramContract: {
19881
20099
  previewUrl: string;
19882
20100
  imageSetId: string;
19883
20101
  repliedMessage: {
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";
20102
+ type: string;
19885
20103
  message: string;
19886
20104
  id: string;
19887
20105
  url: string;
@@ -20186,6 +20404,16 @@ export declare const telegramContract: {
20186
20404
  mobileNumber: string;
20187
20405
  apiSecret: string;
20188
20406
  }>>;
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
+ }>>;
20189
20417
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20190
20418
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
20191
20419
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -20216,6 +20444,10 @@ export declare const telegramContract: {
20216
20444
  mobileNumber: string;
20217
20445
  apiSecret: string;
20218
20446
  } | undefined;
20447
+ line?: {
20448
+ channelId: string;
20449
+ channelSecret: string;
20450
+ } | undefined;
20219
20451
  lineRichMenuId?: string | null | undefined;
20220
20452
  messengerIntegrationType?: "own" | "business" | undefined;
20221
20453
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20246,6 +20478,10 @@ export declare const telegramContract: {
20246
20478
  mobileNumber: string;
20247
20479
  apiSecret: string;
20248
20480
  } | undefined;
20481
+ line?: {
20482
+ channelId: string;
20483
+ channelSecret: string;
20484
+ } | undefined;
20249
20485
  lineRichMenuId?: string | null | undefined;
20250
20486
  messengerIntegrationType?: "own" | "business" | undefined;
20251
20487
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20306,6 +20542,10 @@ export declare const telegramContract: {
20306
20542
  mobileNumber: string;
20307
20543
  apiSecret: string;
20308
20544
  } | undefined;
20545
+ line?: {
20546
+ channelId: string;
20547
+ channelSecret: string;
20548
+ } | undefined;
20309
20549
  lineRichMenuId?: string | null | undefined;
20310
20550
  messengerIntegrationType?: "own" | "business" | undefined;
20311
20551
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20354,6 +20594,10 @@ export declare const telegramContract: {
20354
20594
  mobileNumber: string;
20355
20595
  apiSecret: string;
20356
20596
  } | undefined;
20597
+ line?: {
20598
+ channelId: string;
20599
+ channelSecret: string;
20600
+ } | undefined;
20357
20601
  lineRichMenuId?: string | null | undefined;
20358
20602
  messengerIntegrationType?: "own" | "business" | undefined;
20359
20603
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20404,6 +20648,10 @@ export declare const telegramContract: {
20404
20648
  mobileNumber: string;
20405
20649
  apiSecret: string;
20406
20650
  } | undefined;
20651
+ line?: {
20652
+ channelId: string;
20653
+ channelSecret: string;
20654
+ } | undefined;
20407
20655
  lineRichMenuId?: string | null | undefined;
20408
20656
  messengerIntegrationType?: "own" | "business" | undefined;
20409
20657
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20455,6 +20703,10 @@ export declare const telegramContract: {
20455
20703
  mobileNumber: string;
20456
20704
  apiSecret: string;
20457
20705
  } | undefined;
20706
+ line?: {
20707
+ channelId: string;
20708
+ channelSecret: string;
20709
+ } | undefined;
20458
20710
  lineRichMenuId?: string | null | undefined;
20459
20711
  messengerIntegrationType?: "own" | "business" | undefined;
20460
20712
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20577,6 +20829,16 @@ export declare const telegramContract: {
20577
20829
  mobileNumber: string;
20578
20830
  apiSecret: string;
20579
20831
  }>>;
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
+ }>>;
20580
20842
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20581
20843
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
20582
20844
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -20607,6 +20869,10 @@ export declare const telegramContract: {
20607
20869
  mobileNumber: string;
20608
20870
  apiSecret: string;
20609
20871
  } | undefined;
20872
+ line?: {
20873
+ channelId: string;
20874
+ channelSecret: string;
20875
+ } | undefined;
20610
20876
  lineRichMenuId?: string | null | undefined;
20611
20877
  messengerIntegrationType?: "own" | "business" | undefined;
20612
20878
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20637,6 +20903,10 @@ export declare const telegramContract: {
20637
20903
  mobileNumber: string;
20638
20904
  apiSecret: string;
20639
20905
  } | undefined;
20906
+ line?: {
20907
+ channelId: string;
20908
+ channelSecret: string;
20909
+ } | undefined;
20640
20910
  lineRichMenuId?: string | null | undefined;
20641
20911
  messengerIntegrationType?: "own" | "business" | undefined;
20642
20912
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20697,6 +20967,10 @@ export declare const telegramContract: {
20697
20967
  mobileNumber: string;
20698
20968
  apiSecret: string;
20699
20969
  } | undefined;
20970
+ line?: {
20971
+ channelId: string;
20972
+ channelSecret: string;
20973
+ } | undefined;
20700
20974
  lineRichMenuId?: string | null | undefined;
20701
20975
  messengerIntegrationType?: "own" | "business" | undefined;
20702
20976
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20745,6 +21019,10 @@ export declare const telegramContract: {
20745
21019
  mobileNumber: string;
20746
21020
  apiSecret: string;
20747
21021
  } | undefined;
21022
+ line?: {
21023
+ channelId: string;
21024
+ channelSecret: string;
21025
+ } | undefined;
20748
21026
  lineRichMenuId?: string | null | undefined;
20749
21027
  messengerIntegrationType?: "own" | "business" | undefined;
20750
21028
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20795,6 +21073,10 @@ export declare const telegramContract: {
20795
21073
  mobileNumber: string;
20796
21074
  apiSecret: string;
20797
21075
  } | undefined;
21076
+ line?: {
21077
+ channelId: string;
21078
+ channelSecret: string;
21079
+ } | undefined;
20798
21080
  lineRichMenuId?: string | null | undefined;
20799
21081
  messengerIntegrationType?: "own" | "business" | undefined;
20800
21082
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -20846,6 +21128,10 @@ export declare const telegramContract: {
20846
21128
  mobileNumber: string;
20847
21129
  apiSecret: string;
20848
21130
  } | undefined;
21131
+ line?: {
21132
+ channelId: string;
21133
+ channelSecret: string;
21134
+ } | undefined;
20849
21135
  lineRichMenuId?: string | null | undefined;
20850
21136
  messengerIntegrationType?: "own" | "business" | undefined;
20851
21137
  facebookFeedIntegrationType?: "own" | "business" | undefined;