@kl1/contracts 1.2.26-uat → 1.2.28-uat
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.
- package/dist/api-contracts/src/channel/index.d.ts +179 -0
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +12 -0
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +14 -0
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +3987 -298
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +1020 -129
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +608 -76
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +5414 -586
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +13 -0
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +11 -0
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +4 -4
- package/dist/api-contracts/src/dashboard/schema.d.ts +2 -2
- package/dist/api-contracts/src/facebook-feed/index.d.ts +624 -58
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +12 -3
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +7 -0
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +133 -2
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +25 -0
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/validation.d.ts +10 -0
- package/dist/api-contracts/src/hold-label/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/index.d.ts +1 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +585 -48
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +578 -53
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +16 -5
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +585 -48
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +7 -0
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +85 -11
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/schema.d.ts +22 -0
- package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +555 -48
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +555 -48
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +1582 -56
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +569 -48
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +362 -10
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +3 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +4383 -4287
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4382 -4287
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -74,6 +74,7 @@ export declare const telegramContract: {
|
|
|
74
74
|
channelId: z.ZodOptional<z.ZodString>;
|
|
75
75
|
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
|
76
76
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
77
|
+
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
|
77
78
|
}, "strip", z.ZodTypeAny, {
|
|
78
79
|
email: string;
|
|
79
80
|
wabaExternalId: string;
|
|
@@ -83,6 +84,7 @@ export declare const telegramContract: {
|
|
|
83
84
|
channelId?: string | undefined;
|
|
84
85
|
status?: "active" | "pending" | undefined;
|
|
85
86
|
apiKey?: string | undefined;
|
|
87
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
86
88
|
}, {
|
|
87
89
|
email: string;
|
|
88
90
|
wabaExternalId: string;
|
|
@@ -92,6 +94,7 @@ export declare const telegramContract: {
|
|
|
92
94
|
channelId?: string | undefined;
|
|
93
95
|
status?: "active" | "pending" | undefined;
|
|
94
96
|
apiKey?: string | undefined;
|
|
97
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
95
98
|
}>>;
|
|
96
99
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
97
100
|
mobileNumber: z.ZodString;
|
|
@@ -124,6 +127,7 @@ export declare const telegramContract: {
|
|
|
124
127
|
channelId?: string | undefined;
|
|
125
128
|
status?: "active" | "pending" | undefined;
|
|
126
129
|
apiKey?: string | undefined;
|
|
130
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
127
131
|
} | undefined;
|
|
128
132
|
vonageCredentials?: {
|
|
129
133
|
apiKey: string;
|
|
@@ -148,6 +152,7 @@ export declare const telegramContract: {
|
|
|
148
152
|
channelId?: string | undefined;
|
|
149
153
|
status?: "active" | "pending" | undefined;
|
|
150
154
|
apiKey?: string | undefined;
|
|
155
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
151
156
|
} | undefined;
|
|
152
157
|
vonageCredentials?: {
|
|
153
158
|
apiKey: string;
|
|
@@ -406,6 +411,7 @@ export declare const telegramContract: {
|
|
|
406
411
|
channelId?: string | undefined;
|
|
407
412
|
status?: "active" | "pending" | undefined;
|
|
408
413
|
apiKey?: string | undefined;
|
|
414
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
409
415
|
} | undefined;
|
|
410
416
|
vonageCredentials?: {
|
|
411
417
|
apiKey: string;
|
|
@@ -495,6 +501,7 @@ export declare const telegramContract: {
|
|
|
495
501
|
channelId?: string | undefined;
|
|
496
502
|
status?: "active" | "pending" | undefined;
|
|
497
503
|
apiKey?: string | undefined;
|
|
504
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
498
505
|
} | undefined;
|
|
499
506
|
vonageCredentials?: {
|
|
500
507
|
apiKey: string;
|
|
@@ -586,6 +593,7 @@ export declare const telegramContract: {
|
|
|
586
593
|
channelId?: string | undefined;
|
|
587
594
|
status?: "active" | "pending" | undefined;
|
|
588
595
|
apiKey?: string | undefined;
|
|
596
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
589
597
|
} | undefined;
|
|
590
598
|
vonageCredentials?: {
|
|
591
599
|
apiKey: string;
|
|
@@ -678,6 +686,7 @@ export declare const telegramContract: {
|
|
|
678
686
|
channelId?: string | undefined;
|
|
679
687
|
status?: "active" | "pending" | undefined;
|
|
680
688
|
apiKey?: string | undefined;
|
|
689
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
681
690
|
} | undefined;
|
|
682
691
|
vonageCredentials?: {
|
|
683
692
|
apiKey: string;
|
|
@@ -806,6 +815,7 @@ export declare const telegramContract: {
|
|
|
806
815
|
channelId: z.ZodOptional<z.ZodString>;
|
|
807
816
|
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
|
808
817
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
818
|
+
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
|
809
819
|
}, "strip", z.ZodTypeAny, {
|
|
810
820
|
email: string;
|
|
811
821
|
wabaExternalId: string;
|
|
@@ -815,6 +825,7 @@ export declare const telegramContract: {
|
|
|
815
825
|
channelId?: string | undefined;
|
|
816
826
|
status?: "active" | "pending" | undefined;
|
|
817
827
|
apiKey?: string | undefined;
|
|
828
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
818
829
|
}, {
|
|
819
830
|
email: string;
|
|
820
831
|
wabaExternalId: string;
|
|
@@ -824,6 +835,7 @@ export declare const telegramContract: {
|
|
|
824
835
|
channelId?: string | undefined;
|
|
825
836
|
status?: "active" | "pending" | undefined;
|
|
826
837
|
apiKey?: string | undefined;
|
|
838
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
827
839
|
}>>;
|
|
828
840
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
829
841
|
mobileNumber: z.ZodString;
|
|
@@ -856,6 +868,7 @@ export declare const telegramContract: {
|
|
|
856
868
|
channelId?: string | undefined;
|
|
857
869
|
status?: "active" | "pending" | undefined;
|
|
858
870
|
apiKey?: string | undefined;
|
|
871
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
859
872
|
} | undefined;
|
|
860
873
|
vonageCredentials?: {
|
|
861
874
|
apiKey: string;
|
|
@@ -880,6 +893,7 @@ export declare const telegramContract: {
|
|
|
880
893
|
channelId?: string | undefined;
|
|
881
894
|
status?: "active" | "pending" | undefined;
|
|
882
895
|
apiKey?: string | undefined;
|
|
896
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
883
897
|
} | undefined;
|
|
884
898
|
vonageCredentials?: {
|
|
885
899
|
apiKey: string;
|
|
@@ -934,6 +948,7 @@ export declare const telegramContract: {
|
|
|
934
948
|
channelId?: string | undefined;
|
|
935
949
|
status?: "active" | "pending" | undefined;
|
|
936
950
|
apiKey?: string | undefined;
|
|
951
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
937
952
|
} | undefined;
|
|
938
953
|
vonageCredentials?: {
|
|
939
954
|
apiKey: string;
|
|
@@ -976,6 +991,7 @@ export declare const telegramContract: {
|
|
|
976
991
|
channelId?: string | undefined;
|
|
977
992
|
status?: "active" | "pending" | undefined;
|
|
978
993
|
apiKey?: string | undefined;
|
|
994
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
979
995
|
} | undefined;
|
|
980
996
|
vonageCredentials?: {
|
|
981
997
|
apiKey: string;
|
|
@@ -1020,6 +1036,7 @@ export declare const telegramContract: {
|
|
|
1020
1036
|
channelId?: string | undefined;
|
|
1021
1037
|
status?: "active" | "pending" | undefined;
|
|
1022
1038
|
apiKey?: string | undefined;
|
|
1039
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
1023
1040
|
} | undefined;
|
|
1024
1041
|
vonageCredentials?: {
|
|
1025
1042
|
apiKey: string;
|
|
@@ -1065,6 +1082,7 @@ export declare const telegramContract: {
|
|
|
1065
1082
|
channelId?: string | undefined;
|
|
1066
1083
|
status?: "active" | "pending" | undefined;
|
|
1067
1084
|
apiKey?: string | undefined;
|
|
1085
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
1068
1086
|
} | undefined;
|
|
1069
1087
|
vonageCredentials?: {
|
|
1070
1088
|
apiKey: string;
|
|
@@ -1259,6 +1277,7 @@ export declare const telegramContract: {
|
|
|
1259
1277
|
channelId: z.ZodOptional<z.ZodString>;
|
|
1260
1278
|
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
|
1261
1279
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
1280
|
+
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
|
1262
1281
|
}, "strip", z.ZodTypeAny, {
|
|
1263
1282
|
email: string;
|
|
1264
1283
|
wabaExternalId: string;
|
|
@@ -1268,6 +1287,7 @@ export declare const telegramContract: {
|
|
|
1268
1287
|
channelId?: string | undefined;
|
|
1269
1288
|
status?: "active" | "pending" | undefined;
|
|
1270
1289
|
apiKey?: string | undefined;
|
|
1290
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
1271
1291
|
}, {
|
|
1272
1292
|
email: string;
|
|
1273
1293
|
wabaExternalId: string;
|
|
@@ -1277,6 +1297,7 @@ export declare const telegramContract: {
|
|
|
1277
1297
|
channelId?: string | undefined;
|
|
1278
1298
|
status?: "active" | "pending" | undefined;
|
|
1279
1299
|
apiKey?: string | undefined;
|
|
1300
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
1280
1301
|
}>>;
|
|
1281
1302
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
1282
1303
|
mobileNumber: z.ZodString;
|
|
@@ -1309,6 +1330,7 @@ export declare const telegramContract: {
|
|
|
1309
1330
|
channelId?: string | undefined;
|
|
1310
1331
|
status?: "active" | "pending" | undefined;
|
|
1311
1332
|
apiKey?: string | undefined;
|
|
1333
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
1312
1334
|
} | undefined;
|
|
1313
1335
|
vonageCredentials?: {
|
|
1314
1336
|
apiKey: string;
|
|
@@ -1333,6 +1355,7 @@ export declare const telegramContract: {
|
|
|
1333
1355
|
channelId?: string | undefined;
|
|
1334
1356
|
status?: "active" | "pending" | undefined;
|
|
1335
1357
|
apiKey?: string | undefined;
|
|
1358
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
1336
1359
|
} | undefined;
|
|
1337
1360
|
vonageCredentials?: {
|
|
1338
1361
|
apiKey: string;
|
|
@@ -1387,6 +1410,7 @@ export declare const telegramContract: {
|
|
|
1387
1410
|
channelId?: string | undefined;
|
|
1388
1411
|
status?: "active" | "pending" | undefined;
|
|
1389
1412
|
apiKey?: string | undefined;
|
|
1413
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
1390
1414
|
} | undefined;
|
|
1391
1415
|
vonageCredentials?: {
|
|
1392
1416
|
apiKey: string;
|
|
@@ -1429,6 +1453,7 @@ export declare const telegramContract: {
|
|
|
1429
1453
|
channelId?: string | undefined;
|
|
1430
1454
|
status?: "active" | "pending" | undefined;
|
|
1431
1455
|
apiKey?: string | undefined;
|
|
1456
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
1432
1457
|
} | undefined;
|
|
1433
1458
|
vonageCredentials?: {
|
|
1434
1459
|
apiKey: string;
|
|
@@ -1453,7 +1478,7 @@ export declare const telegramContract: {
|
|
|
1453
1478
|
} | undefined;
|
|
1454
1479
|
}>;
|
|
1455
1480
|
messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
|
|
1456
|
-
telegramBusinessConnectionId: z.ZodNullable<z.ZodString
|
|
1481
|
+
telegramBusinessConnectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1457
1482
|
}, "strip", z.ZodTypeAny, {
|
|
1458
1483
|
id: string;
|
|
1459
1484
|
channel: {
|
|
@@ -1476,6 +1501,7 @@ export declare const telegramContract: {
|
|
|
1476
1501
|
channelId?: string | undefined;
|
|
1477
1502
|
status?: "active" | "pending" | undefined;
|
|
1478
1503
|
apiKey?: string | undefined;
|
|
1504
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
1479
1505
|
} | undefined;
|
|
1480
1506
|
vonageCredentials?: {
|
|
1481
1507
|
apiKey: string;
|
|
@@ -1535,11 +1561,11 @@ export declare const telegramContract: {
|
|
|
1535
1561
|
id: string;
|
|
1536
1562
|
email: string;
|
|
1537
1563
|
} | null;
|
|
1538
|
-
telegramBusinessConnectionId: string | null;
|
|
1539
1564
|
lastMessage?: string | undefined;
|
|
1540
1565
|
handleTime?: number | undefined;
|
|
1541
1566
|
metadata?: any;
|
|
1542
1567
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
|
1568
|
+
telegramBusinessConnectionId?: string | null | undefined;
|
|
1543
1569
|
}, {
|
|
1544
1570
|
id: string;
|
|
1545
1571
|
channel: {
|
|
@@ -1562,6 +1588,7 @@ export declare const telegramContract: {
|
|
|
1562
1588
|
channelId?: string | undefined;
|
|
1563
1589
|
status?: "active" | "pending" | undefined;
|
|
1564
1590
|
apiKey?: string | undefined;
|
|
1591
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
1565
1592
|
} | undefined;
|
|
1566
1593
|
vonageCredentials?: {
|
|
1567
1594
|
apiKey: string;
|
|
@@ -1621,17 +1648,17 @@ export declare const telegramContract: {
|
|
|
1621
1648
|
id: string;
|
|
1622
1649
|
email: string;
|
|
1623
1650
|
} | null;
|
|
1624
|
-
telegramBusinessConnectionId: string | null;
|
|
1625
1651
|
lastMessage?: string | undefined;
|
|
1626
1652
|
handleTime?: number | undefined;
|
|
1627
1653
|
metadata?: any;
|
|
1628
1654
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
|
1655
|
+
telegramBusinessConnectionId?: string | null | undefined;
|
|
1629
1656
|
}>;
|
|
1630
1657
|
message: z.ZodObject<{
|
|
1631
1658
|
id: z.ZodOptional<z.ZodString>;
|
|
1632
1659
|
message: z.ZodOptional<z.ZodString>;
|
|
1633
1660
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
1634
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
|
|
1661
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
1635
1662
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
1636
1663
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
1637
1664
|
platformId: z.ZodOptional<z.ZodString>;
|
|
@@ -1687,7 +1714,7 @@ export declare const telegramContract: {
|
|
|
1687
1714
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
1688
1715
|
label: z.ZodOptional<z.ZodString>;
|
|
1689
1716
|
}, "strip", z.ZodTypeAny, {
|
|
1690
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
1717
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1691
1718
|
direction: "incoming" | "outgoing" | "system";
|
|
1692
1719
|
id?: string | undefined;
|
|
1693
1720
|
message?: string | undefined;
|
|
@@ -1722,7 +1749,7 @@ export declare const telegramContract: {
|
|
|
1722
1749
|
editedAt?: string | Date | null | undefined;
|
|
1723
1750
|
label?: string | undefined;
|
|
1724
1751
|
}, {
|
|
1725
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
1752
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1726
1753
|
direction: "incoming" | "outgoing" | "system";
|
|
1727
1754
|
id?: string | undefined;
|
|
1728
1755
|
message?: string | undefined;
|
|
@@ -1759,7 +1786,7 @@ export declare const telegramContract: {
|
|
|
1759
1786
|
}>;
|
|
1760
1787
|
}, "strip", z.ZodTypeAny, {
|
|
1761
1788
|
message: {
|
|
1762
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
1789
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1763
1790
|
direction: "incoming" | "outgoing" | "system";
|
|
1764
1791
|
id?: string | undefined;
|
|
1765
1792
|
message?: string | undefined;
|
|
@@ -1816,6 +1843,7 @@ export declare const telegramContract: {
|
|
|
1816
1843
|
channelId?: string | undefined;
|
|
1817
1844
|
status?: "active" | "pending" | undefined;
|
|
1818
1845
|
apiKey?: string | undefined;
|
|
1846
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
1819
1847
|
} | undefined;
|
|
1820
1848
|
vonageCredentials?: {
|
|
1821
1849
|
apiKey: string;
|
|
@@ -1875,16 +1903,16 @@ export declare const telegramContract: {
|
|
|
1875
1903
|
id: string;
|
|
1876
1904
|
email: string;
|
|
1877
1905
|
} | null;
|
|
1878
|
-
telegramBusinessConnectionId: string | null;
|
|
1879
1906
|
lastMessage?: string | undefined;
|
|
1880
1907
|
handleTime?: number | undefined;
|
|
1881
1908
|
metadata?: any;
|
|
1882
1909
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
|
1910
|
+
telegramBusinessConnectionId?: string | null | undefined;
|
|
1883
1911
|
};
|
|
1884
1912
|
isBot: boolean | null;
|
|
1885
1913
|
}, {
|
|
1886
1914
|
message: {
|
|
1887
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
1915
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1888
1916
|
direction: "incoming" | "outgoing" | "system";
|
|
1889
1917
|
id?: string | undefined;
|
|
1890
1918
|
message?: string | undefined;
|
|
@@ -1941,6 +1969,7 @@ export declare const telegramContract: {
|
|
|
1941
1969
|
channelId?: string | undefined;
|
|
1942
1970
|
status?: "active" | "pending" | undefined;
|
|
1943
1971
|
apiKey?: string | undefined;
|
|
1972
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
1944
1973
|
} | undefined;
|
|
1945
1974
|
vonageCredentials?: {
|
|
1946
1975
|
apiKey: string;
|
|
@@ -2000,11 +2029,11 @@ export declare const telegramContract: {
|
|
|
2000
2029
|
id: string;
|
|
2001
2030
|
email: string;
|
|
2002
2031
|
} | null;
|
|
2003
|
-
telegramBusinessConnectionId: string | null;
|
|
2004
2032
|
lastMessage?: string | undefined;
|
|
2005
2033
|
handleTime?: number | undefined;
|
|
2006
2034
|
metadata?: any;
|
|
2007
2035
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
|
2036
|
+
telegramBusinessConnectionId?: string | null | undefined;
|
|
2008
2037
|
};
|
|
2009
2038
|
isBot?: boolean | null | undefined;
|
|
2010
2039
|
}>;
|
|
@@ -2013,7 +2042,7 @@ export declare const telegramContract: {
|
|
|
2013
2042
|
200: z.ZodObject<{
|
|
2014
2043
|
requestId: z.ZodString;
|
|
2015
2044
|
data: z.ZodObject<{
|
|
2016
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
|
|
2045
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
2017
2046
|
message: z.ZodString;
|
|
2018
2047
|
id: z.ZodString;
|
|
2019
2048
|
url: z.ZodString;
|
|
@@ -3961,6 +3990,7 @@ export declare const telegramContract: {
|
|
|
3961
3990
|
channelId: z.ZodOptional<z.ZodString>;
|
|
3962
3991
|
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
|
3963
3992
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
3993
|
+
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
|
3964
3994
|
}, "strip", z.ZodTypeAny, {
|
|
3965
3995
|
email: string;
|
|
3966
3996
|
wabaExternalId: string;
|
|
@@ -3970,6 +4000,7 @@ export declare const telegramContract: {
|
|
|
3970
4000
|
channelId?: string | undefined;
|
|
3971
4001
|
status?: "active" | "pending" | undefined;
|
|
3972
4002
|
apiKey?: string | undefined;
|
|
4003
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
3973
4004
|
}, {
|
|
3974
4005
|
email: string;
|
|
3975
4006
|
wabaExternalId: string;
|
|
@@ -3979,6 +4010,7 @@ export declare const telegramContract: {
|
|
|
3979
4010
|
channelId?: string | undefined;
|
|
3980
4011
|
status?: "active" | "pending" | undefined;
|
|
3981
4012
|
apiKey?: string | undefined;
|
|
4013
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
3982
4014
|
}>>;
|
|
3983
4015
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
3984
4016
|
mobileNumber: z.ZodString;
|
|
@@ -4011,6 +4043,7 @@ export declare const telegramContract: {
|
|
|
4011
4043
|
channelId?: string | undefined;
|
|
4012
4044
|
status?: "active" | "pending" | undefined;
|
|
4013
4045
|
apiKey?: string | undefined;
|
|
4046
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
4014
4047
|
} | undefined;
|
|
4015
4048
|
vonageCredentials?: {
|
|
4016
4049
|
apiKey: string;
|
|
@@ -4035,6 +4068,7 @@ export declare const telegramContract: {
|
|
|
4035
4068
|
channelId?: string | undefined;
|
|
4036
4069
|
status?: "active" | "pending" | undefined;
|
|
4037
4070
|
apiKey?: string | undefined;
|
|
4071
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
4038
4072
|
} | undefined;
|
|
4039
4073
|
vonageCredentials?: {
|
|
4040
4074
|
apiKey: string;
|
|
@@ -4293,6 +4327,7 @@ export declare const telegramContract: {
|
|
|
4293
4327
|
channelId?: string | undefined;
|
|
4294
4328
|
status?: "active" | "pending" | undefined;
|
|
4295
4329
|
apiKey?: string | undefined;
|
|
4330
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
4296
4331
|
} | undefined;
|
|
4297
4332
|
vonageCredentials?: {
|
|
4298
4333
|
apiKey: string;
|
|
@@ -4382,6 +4417,7 @@ export declare const telegramContract: {
|
|
|
4382
4417
|
channelId?: string | undefined;
|
|
4383
4418
|
status?: "active" | "pending" | undefined;
|
|
4384
4419
|
apiKey?: string | undefined;
|
|
4420
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
4385
4421
|
} | undefined;
|
|
4386
4422
|
vonageCredentials?: {
|
|
4387
4423
|
apiKey: string;
|
|
@@ -4454,17 +4490,17 @@ export declare const telegramContract: {
|
|
|
4454
4490
|
}>;
|
|
4455
4491
|
cxlog: z.ZodObject<{
|
|
4456
4492
|
id: z.ZodString;
|
|
4493
|
+
channel: z.ZodNullable<z.ZodString>;
|
|
4494
|
+
direction: z.ZodNullable<z.ZodString>;
|
|
4457
4495
|
createdAt: z.ZodDate;
|
|
4458
4496
|
updatedAt: z.ZodDate;
|
|
4459
4497
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4460
|
-
caseId: z.ZodNumber;
|
|
4461
4498
|
entityId: z.ZodString;
|
|
4462
|
-
entityName: z.ZodString;
|
|
4463
|
-
contactId: z.ZodNullable<z.ZodString>;
|
|
4464
|
-
channel: z.ZodNullable<z.ZodString>;
|
|
4465
4499
|
queueId: z.ZodNullable<z.ZodString>;
|
|
4500
|
+
contactId: z.ZodNullable<z.ZodString>;
|
|
4501
|
+
caseId: z.ZodNumber;
|
|
4502
|
+
entityName: z.ZodString;
|
|
4466
4503
|
agentId: z.ZodNullable<z.ZodString>;
|
|
4467
|
-
direction: z.ZodNullable<z.ZodString>;
|
|
4468
4504
|
startedDate: z.ZodNullable<z.ZodDate>;
|
|
4469
4505
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
|
4470
4506
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4734,6 +4770,69 @@ export declare const telegramContract: {
|
|
|
4734
4770
|
dateValue: Date | null;
|
|
4735
4771
|
}[] | null | undefined;
|
|
4736
4772
|
}>>;
|
|
4773
|
+
holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4774
|
+
id: z.ZodString;
|
|
4775
|
+
createdAt: z.ZodDate;
|
|
4776
|
+
updatedAt: z.ZodDate;
|
|
4777
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4778
|
+
startedAt: z.ZodString;
|
|
4779
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
4780
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
|
4781
|
+
holdLabel: z.ZodObject<{
|
|
4782
|
+
id: z.ZodString;
|
|
4783
|
+
createdAt: z.ZodDate;
|
|
4784
|
+
updatedAt: z.ZodDate;
|
|
4785
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4786
|
+
name: z.ZodString;
|
|
4787
|
+
position: z.ZodNumber;
|
|
4788
|
+
}, "strip", z.ZodTypeAny, {
|
|
4789
|
+
name: string;
|
|
4790
|
+
id: string;
|
|
4791
|
+
position: number;
|
|
4792
|
+
createdAt: Date;
|
|
4793
|
+
updatedAt: Date;
|
|
4794
|
+
deletedAt: Date | null;
|
|
4795
|
+
}, {
|
|
4796
|
+
name: string;
|
|
4797
|
+
id: string;
|
|
4798
|
+
position: number;
|
|
4799
|
+
createdAt: Date;
|
|
4800
|
+
updatedAt: Date;
|
|
4801
|
+
deletedAt: Date | null;
|
|
4802
|
+
}>;
|
|
4803
|
+
}, "strip", z.ZodTypeAny, {
|
|
4804
|
+
id: string;
|
|
4805
|
+
createdAt: Date;
|
|
4806
|
+
updatedAt: Date;
|
|
4807
|
+
deletedAt: Date | null;
|
|
4808
|
+
startedAt: string;
|
|
4809
|
+
endedAt: string | null;
|
|
4810
|
+
duration: number | null;
|
|
4811
|
+
holdLabel: {
|
|
4812
|
+
name: string;
|
|
4813
|
+
id: string;
|
|
4814
|
+
position: number;
|
|
4815
|
+
createdAt: Date;
|
|
4816
|
+
updatedAt: Date;
|
|
4817
|
+
deletedAt: Date | null;
|
|
4818
|
+
};
|
|
4819
|
+
}, {
|
|
4820
|
+
id: string;
|
|
4821
|
+
createdAt: Date;
|
|
4822
|
+
updatedAt: Date;
|
|
4823
|
+
deletedAt: Date | null;
|
|
4824
|
+
startedAt: string;
|
|
4825
|
+
endedAt: string | null;
|
|
4826
|
+
duration: number | null;
|
|
4827
|
+
holdLabel: {
|
|
4828
|
+
name: string;
|
|
4829
|
+
id: string;
|
|
4830
|
+
position: number;
|
|
4831
|
+
createdAt: Date;
|
|
4832
|
+
updatedAt: Date;
|
|
4833
|
+
deletedAt: Date | null;
|
|
4834
|
+
};
|
|
4835
|
+
}>, "many">>>;
|
|
4737
4836
|
}, "strip", z.ZodTypeAny, {
|
|
4738
4837
|
id: string;
|
|
4739
4838
|
channel: string | null;
|
|
@@ -4802,6 +4901,23 @@ export declare const telegramContract: {
|
|
|
4802
4901
|
dateValue: Date | null;
|
|
4803
4902
|
}[] | null | undefined;
|
|
4804
4903
|
} | null;
|
|
4904
|
+
holdLogs?: {
|
|
4905
|
+
id: string;
|
|
4906
|
+
createdAt: Date;
|
|
4907
|
+
updatedAt: Date;
|
|
4908
|
+
deletedAt: Date | null;
|
|
4909
|
+
startedAt: string;
|
|
4910
|
+
endedAt: string | null;
|
|
4911
|
+
duration: number | null;
|
|
4912
|
+
holdLabel: {
|
|
4913
|
+
name: string;
|
|
4914
|
+
id: string;
|
|
4915
|
+
position: number;
|
|
4916
|
+
createdAt: Date;
|
|
4917
|
+
updatedAt: Date;
|
|
4918
|
+
deletedAt: Date | null;
|
|
4919
|
+
};
|
|
4920
|
+
}[] | null | undefined;
|
|
4805
4921
|
}, {
|
|
4806
4922
|
id: string;
|
|
4807
4923
|
channel: string | null;
|
|
@@ -4870,6 +4986,23 @@ export declare const telegramContract: {
|
|
|
4870
4986
|
dateValue: Date | null;
|
|
4871
4987
|
}[] | null | undefined;
|
|
4872
4988
|
} | null;
|
|
4989
|
+
holdLogs?: {
|
|
4990
|
+
id: string;
|
|
4991
|
+
createdAt: Date;
|
|
4992
|
+
updatedAt: Date;
|
|
4993
|
+
deletedAt: Date | null;
|
|
4994
|
+
startedAt: string;
|
|
4995
|
+
endedAt: string | null;
|
|
4996
|
+
duration: number | null;
|
|
4997
|
+
holdLabel: {
|
|
4998
|
+
name: string;
|
|
4999
|
+
id: string;
|
|
5000
|
+
position: number;
|
|
5001
|
+
createdAt: Date;
|
|
5002
|
+
updatedAt: Date;
|
|
5003
|
+
deletedAt: Date | null;
|
|
5004
|
+
};
|
|
5005
|
+
}[] | null | undefined;
|
|
4873
5006
|
}>;
|
|
4874
5007
|
workflowRule: z.ZodObject<{
|
|
4875
5008
|
id: z.ZodString;
|
|
@@ -4919,6 +5052,7 @@ export declare const telegramContract: {
|
|
|
4919
5052
|
channelId?: string | undefined;
|
|
4920
5053
|
status?: "active" | "pending" | undefined;
|
|
4921
5054
|
apiKey?: string | undefined;
|
|
5055
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
4922
5056
|
} | undefined;
|
|
4923
5057
|
vonageCredentials?: {
|
|
4924
5058
|
apiKey: string;
|
|
@@ -5286,6 +5420,23 @@ export declare const telegramContract: {
|
|
|
5286
5420
|
dateValue: Date | null;
|
|
5287
5421
|
}[] | null | undefined;
|
|
5288
5422
|
} | null;
|
|
5423
|
+
holdLogs?: {
|
|
5424
|
+
id: string;
|
|
5425
|
+
createdAt: Date;
|
|
5426
|
+
updatedAt: Date;
|
|
5427
|
+
deletedAt: Date | null;
|
|
5428
|
+
startedAt: string;
|
|
5429
|
+
endedAt: string | null;
|
|
5430
|
+
duration: number | null;
|
|
5431
|
+
holdLabel: {
|
|
5432
|
+
name: string;
|
|
5433
|
+
id: string;
|
|
5434
|
+
position: number;
|
|
5435
|
+
createdAt: Date;
|
|
5436
|
+
updatedAt: Date;
|
|
5437
|
+
deletedAt: Date | null;
|
|
5438
|
+
};
|
|
5439
|
+
}[] | null | undefined;
|
|
5289
5440
|
};
|
|
5290
5441
|
workflowRule: {
|
|
5291
5442
|
name: string;
|
|
@@ -5319,6 +5470,7 @@ export declare const telegramContract: {
|
|
|
5319
5470
|
channelId?: string | undefined;
|
|
5320
5471
|
status?: "active" | "pending" | undefined;
|
|
5321
5472
|
apiKey?: string | undefined;
|
|
5473
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
5322
5474
|
} | undefined;
|
|
5323
5475
|
vonageCredentials?: {
|
|
5324
5476
|
apiKey: string;
|
|
@@ -5686,6 +5838,23 @@ export declare const telegramContract: {
|
|
|
5686
5838
|
dateValue: Date | null;
|
|
5687
5839
|
}[] | null | undefined;
|
|
5688
5840
|
} | null;
|
|
5841
|
+
holdLogs?: {
|
|
5842
|
+
id: string;
|
|
5843
|
+
createdAt: Date;
|
|
5844
|
+
updatedAt: Date;
|
|
5845
|
+
deletedAt: Date | null;
|
|
5846
|
+
startedAt: string;
|
|
5847
|
+
endedAt: string | null;
|
|
5848
|
+
duration: number | null;
|
|
5849
|
+
holdLabel: {
|
|
5850
|
+
name: string;
|
|
5851
|
+
id: string;
|
|
5852
|
+
position: number;
|
|
5853
|
+
createdAt: Date;
|
|
5854
|
+
updatedAt: Date;
|
|
5855
|
+
deletedAt: Date | null;
|
|
5856
|
+
};
|
|
5857
|
+
}[] | null | undefined;
|
|
5689
5858
|
};
|
|
5690
5859
|
workflowRule: {
|
|
5691
5860
|
name: string;
|
|
@@ -5736,7 +5905,7 @@ export declare const telegramContract: {
|
|
|
5736
5905
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5737
5906
|
message: z.ZodString;
|
|
5738
5907
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
5739
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
|
|
5908
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
5740
5909
|
readAt: z.ZodDate;
|
|
5741
5910
|
metadata: z.ZodAny;
|
|
5742
5911
|
platformId: z.ZodString;
|
|
@@ -6394,7 +6563,7 @@ export declare const telegramContract: {
|
|
|
6394
6563
|
};
|
|
6395
6564
|
}>;
|
|
6396
6565
|
}, "strip", z.ZodTypeAny, {
|
|
6397
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
6566
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
6398
6567
|
message: string;
|
|
6399
6568
|
id: string;
|
|
6400
6569
|
url: string;
|
|
@@ -6556,7 +6725,7 @@ export declare const telegramContract: {
|
|
|
6556
6725
|
metadata?: any;
|
|
6557
6726
|
template?: any;
|
|
6558
6727
|
}, {
|
|
6559
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
6728
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
6560
6729
|
message: string;
|
|
6561
6730
|
id: string;
|
|
6562
6731
|
url: string;
|
|
@@ -6930,7 +7099,7 @@ export declare const telegramContract: {
|
|
|
6930
7099
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6931
7100
|
message: z.ZodString;
|
|
6932
7101
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
6933
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
|
|
7102
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
6934
7103
|
readAt: z.ZodDate;
|
|
6935
7104
|
metadata: z.ZodAny;
|
|
6936
7105
|
platformId: z.ZodString;
|
|
@@ -8435,6 +8604,7 @@ export declare const telegramContract: {
|
|
|
8435
8604
|
channelId: z.ZodOptional<z.ZodString>;
|
|
8436
8605
|
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
|
8437
8606
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
8607
|
+
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
|
8438
8608
|
}, "strip", z.ZodTypeAny, {
|
|
8439
8609
|
email: string;
|
|
8440
8610
|
wabaExternalId: string;
|
|
@@ -8444,6 +8614,7 @@ export declare const telegramContract: {
|
|
|
8444
8614
|
channelId?: string | undefined;
|
|
8445
8615
|
status?: "active" | "pending" | undefined;
|
|
8446
8616
|
apiKey?: string | undefined;
|
|
8617
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
8447
8618
|
}, {
|
|
8448
8619
|
email: string;
|
|
8449
8620
|
wabaExternalId: string;
|
|
@@ -8453,6 +8624,7 @@ export declare const telegramContract: {
|
|
|
8453
8624
|
channelId?: string | undefined;
|
|
8454
8625
|
status?: "active" | "pending" | undefined;
|
|
8455
8626
|
apiKey?: string | undefined;
|
|
8627
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
8456
8628
|
}>>;
|
|
8457
8629
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
8458
8630
|
mobileNumber: z.ZodString;
|
|
@@ -8485,6 +8657,7 @@ export declare const telegramContract: {
|
|
|
8485
8657
|
channelId?: string | undefined;
|
|
8486
8658
|
status?: "active" | "pending" | undefined;
|
|
8487
8659
|
apiKey?: string | undefined;
|
|
8660
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
8488
8661
|
} | undefined;
|
|
8489
8662
|
vonageCredentials?: {
|
|
8490
8663
|
apiKey: string;
|
|
@@ -8509,6 +8682,7 @@ export declare const telegramContract: {
|
|
|
8509
8682
|
channelId?: string | undefined;
|
|
8510
8683
|
status?: "active" | "pending" | undefined;
|
|
8511
8684
|
apiKey?: string | undefined;
|
|
8685
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
8512
8686
|
} | undefined;
|
|
8513
8687
|
vonageCredentials?: {
|
|
8514
8688
|
apiKey: string;
|
|
@@ -8767,6 +8941,7 @@ export declare const telegramContract: {
|
|
|
8767
8941
|
channelId?: string | undefined;
|
|
8768
8942
|
status?: "active" | "pending" | undefined;
|
|
8769
8943
|
apiKey?: string | undefined;
|
|
8944
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
8770
8945
|
} | undefined;
|
|
8771
8946
|
vonageCredentials?: {
|
|
8772
8947
|
apiKey: string;
|
|
@@ -8856,6 +9031,7 @@ export declare const telegramContract: {
|
|
|
8856
9031
|
channelId?: string | undefined;
|
|
8857
9032
|
status?: "active" | "pending" | undefined;
|
|
8858
9033
|
apiKey?: string | undefined;
|
|
9034
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
8859
9035
|
} | undefined;
|
|
8860
9036
|
vonageCredentials?: {
|
|
8861
9037
|
apiKey: string;
|
|
@@ -8928,17 +9104,17 @@ export declare const telegramContract: {
|
|
|
8928
9104
|
}>;
|
|
8929
9105
|
cxlog: z.ZodObject<{
|
|
8930
9106
|
id: z.ZodString;
|
|
9107
|
+
channel: z.ZodNullable<z.ZodString>;
|
|
9108
|
+
direction: z.ZodNullable<z.ZodString>;
|
|
8931
9109
|
createdAt: z.ZodDate;
|
|
8932
9110
|
updatedAt: z.ZodDate;
|
|
8933
9111
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
8934
|
-
caseId: z.ZodNumber;
|
|
8935
9112
|
entityId: z.ZodString;
|
|
8936
|
-
entityName: z.ZodString;
|
|
8937
|
-
contactId: z.ZodNullable<z.ZodString>;
|
|
8938
|
-
channel: z.ZodNullable<z.ZodString>;
|
|
8939
9113
|
queueId: z.ZodNullable<z.ZodString>;
|
|
9114
|
+
contactId: z.ZodNullable<z.ZodString>;
|
|
9115
|
+
caseId: z.ZodNumber;
|
|
9116
|
+
entityName: z.ZodString;
|
|
8940
9117
|
agentId: z.ZodNullable<z.ZodString>;
|
|
8941
|
-
direction: z.ZodNullable<z.ZodString>;
|
|
8942
9118
|
startedDate: z.ZodNullable<z.ZodDate>;
|
|
8943
9119
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
|
8944
9120
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
|
@@ -9208,6 +9384,69 @@ export declare const telegramContract: {
|
|
|
9208
9384
|
dateValue: Date | null;
|
|
9209
9385
|
}[] | null | undefined;
|
|
9210
9386
|
}>>;
|
|
9387
|
+
holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9388
|
+
id: z.ZodString;
|
|
9389
|
+
createdAt: z.ZodDate;
|
|
9390
|
+
updatedAt: z.ZodDate;
|
|
9391
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
9392
|
+
startedAt: z.ZodString;
|
|
9393
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
9394
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
|
9395
|
+
holdLabel: z.ZodObject<{
|
|
9396
|
+
id: z.ZodString;
|
|
9397
|
+
createdAt: z.ZodDate;
|
|
9398
|
+
updatedAt: z.ZodDate;
|
|
9399
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
9400
|
+
name: z.ZodString;
|
|
9401
|
+
position: z.ZodNumber;
|
|
9402
|
+
}, "strip", z.ZodTypeAny, {
|
|
9403
|
+
name: string;
|
|
9404
|
+
id: string;
|
|
9405
|
+
position: number;
|
|
9406
|
+
createdAt: Date;
|
|
9407
|
+
updatedAt: Date;
|
|
9408
|
+
deletedAt: Date | null;
|
|
9409
|
+
}, {
|
|
9410
|
+
name: string;
|
|
9411
|
+
id: string;
|
|
9412
|
+
position: number;
|
|
9413
|
+
createdAt: Date;
|
|
9414
|
+
updatedAt: Date;
|
|
9415
|
+
deletedAt: Date | null;
|
|
9416
|
+
}>;
|
|
9417
|
+
}, "strip", z.ZodTypeAny, {
|
|
9418
|
+
id: string;
|
|
9419
|
+
createdAt: Date;
|
|
9420
|
+
updatedAt: Date;
|
|
9421
|
+
deletedAt: Date | null;
|
|
9422
|
+
startedAt: string;
|
|
9423
|
+
endedAt: string | null;
|
|
9424
|
+
duration: number | null;
|
|
9425
|
+
holdLabel: {
|
|
9426
|
+
name: string;
|
|
9427
|
+
id: string;
|
|
9428
|
+
position: number;
|
|
9429
|
+
createdAt: Date;
|
|
9430
|
+
updatedAt: Date;
|
|
9431
|
+
deletedAt: Date | null;
|
|
9432
|
+
};
|
|
9433
|
+
}, {
|
|
9434
|
+
id: string;
|
|
9435
|
+
createdAt: Date;
|
|
9436
|
+
updatedAt: Date;
|
|
9437
|
+
deletedAt: Date | null;
|
|
9438
|
+
startedAt: string;
|
|
9439
|
+
endedAt: string | null;
|
|
9440
|
+
duration: number | null;
|
|
9441
|
+
holdLabel: {
|
|
9442
|
+
name: string;
|
|
9443
|
+
id: string;
|
|
9444
|
+
position: number;
|
|
9445
|
+
createdAt: Date;
|
|
9446
|
+
updatedAt: Date;
|
|
9447
|
+
deletedAt: Date | null;
|
|
9448
|
+
};
|
|
9449
|
+
}>, "many">>>;
|
|
9211
9450
|
}, "strip", z.ZodTypeAny, {
|
|
9212
9451
|
id: string;
|
|
9213
9452
|
channel: string | null;
|
|
@@ -9276,6 +9515,23 @@ export declare const telegramContract: {
|
|
|
9276
9515
|
dateValue: Date | null;
|
|
9277
9516
|
}[] | null | undefined;
|
|
9278
9517
|
} | null;
|
|
9518
|
+
holdLogs?: {
|
|
9519
|
+
id: string;
|
|
9520
|
+
createdAt: Date;
|
|
9521
|
+
updatedAt: Date;
|
|
9522
|
+
deletedAt: Date | null;
|
|
9523
|
+
startedAt: string;
|
|
9524
|
+
endedAt: string | null;
|
|
9525
|
+
duration: number | null;
|
|
9526
|
+
holdLabel: {
|
|
9527
|
+
name: string;
|
|
9528
|
+
id: string;
|
|
9529
|
+
position: number;
|
|
9530
|
+
createdAt: Date;
|
|
9531
|
+
updatedAt: Date;
|
|
9532
|
+
deletedAt: Date | null;
|
|
9533
|
+
};
|
|
9534
|
+
}[] | null | undefined;
|
|
9279
9535
|
}, {
|
|
9280
9536
|
id: string;
|
|
9281
9537
|
channel: string | null;
|
|
@@ -9344,6 +9600,23 @@ export declare const telegramContract: {
|
|
|
9344
9600
|
dateValue: Date | null;
|
|
9345
9601
|
}[] | null | undefined;
|
|
9346
9602
|
} | null;
|
|
9603
|
+
holdLogs?: {
|
|
9604
|
+
id: string;
|
|
9605
|
+
createdAt: Date;
|
|
9606
|
+
updatedAt: Date;
|
|
9607
|
+
deletedAt: Date | null;
|
|
9608
|
+
startedAt: string;
|
|
9609
|
+
endedAt: string | null;
|
|
9610
|
+
duration: number | null;
|
|
9611
|
+
holdLabel: {
|
|
9612
|
+
name: string;
|
|
9613
|
+
id: string;
|
|
9614
|
+
position: number;
|
|
9615
|
+
createdAt: Date;
|
|
9616
|
+
updatedAt: Date;
|
|
9617
|
+
deletedAt: Date | null;
|
|
9618
|
+
};
|
|
9619
|
+
}[] | null | undefined;
|
|
9347
9620
|
}>;
|
|
9348
9621
|
workflowRule: z.ZodObject<{
|
|
9349
9622
|
id: z.ZodString;
|
|
@@ -9393,6 +9666,7 @@ export declare const telegramContract: {
|
|
|
9393
9666
|
channelId?: string | undefined;
|
|
9394
9667
|
status?: "active" | "pending" | undefined;
|
|
9395
9668
|
apiKey?: string | undefined;
|
|
9669
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
9396
9670
|
} | undefined;
|
|
9397
9671
|
vonageCredentials?: {
|
|
9398
9672
|
apiKey: string;
|
|
@@ -9760,6 +10034,23 @@ export declare const telegramContract: {
|
|
|
9760
10034
|
dateValue: Date | null;
|
|
9761
10035
|
}[] | null | undefined;
|
|
9762
10036
|
} | null;
|
|
10037
|
+
holdLogs?: {
|
|
10038
|
+
id: string;
|
|
10039
|
+
createdAt: Date;
|
|
10040
|
+
updatedAt: Date;
|
|
10041
|
+
deletedAt: Date | null;
|
|
10042
|
+
startedAt: string;
|
|
10043
|
+
endedAt: string | null;
|
|
10044
|
+
duration: number | null;
|
|
10045
|
+
holdLabel: {
|
|
10046
|
+
name: string;
|
|
10047
|
+
id: string;
|
|
10048
|
+
position: number;
|
|
10049
|
+
createdAt: Date;
|
|
10050
|
+
updatedAt: Date;
|
|
10051
|
+
deletedAt: Date | null;
|
|
10052
|
+
};
|
|
10053
|
+
}[] | null | undefined;
|
|
9763
10054
|
};
|
|
9764
10055
|
workflowRule: {
|
|
9765
10056
|
name: string;
|
|
@@ -9793,6 +10084,7 @@ export declare const telegramContract: {
|
|
|
9793
10084
|
channelId?: string | undefined;
|
|
9794
10085
|
status?: "active" | "pending" | undefined;
|
|
9795
10086
|
apiKey?: string | undefined;
|
|
10087
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
9796
10088
|
} | undefined;
|
|
9797
10089
|
vonageCredentials?: {
|
|
9798
10090
|
apiKey: string;
|
|
@@ -10160,6 +10452,23 @@ export declare const telegramContract: {
|
|
|
10160
10452
|
dateValue: Date | null;
|
|
10161
10453
|
}[] | null | undefined;
|
|
10162
10454
|
} | null;
|
|
10455
|
+
holdLogs?: {
|
|
10456
|
+
id: string;
|
|
10457
|
+
createdAt: Date;
|
|
10458
|
+
updatedAt: Date;
|
|
10459
|
+
deletedAt: Date | null;
|
|
10460
|
+
startedAt: string;
|
|
10461
|
+
endedAt: string | null;
|
|
10462
|
+
duration: number | null;
|
|
10463
|
+
holdLabel: {
|
|
10464
|
+
name: string;
|
|
10465
|
+
id: string;
|
|
10466
|
+
position: number;
|
|
10467
|
+
createdAt: Date;
|
|
10468
|
+
updatedAt: Date;
|
|
10469
|
+
deletedAt: Date | null;
|
|
10470
|
+
};
|
|
10471
|
+
}[] | null | undefined;
|
|
10163
10472
|
};
|
|
10164
10473
|
workflowRule: {
|
|
10165
10474
|
name: string;
|
|
@@ -10213,7 +10522,7 @@ export declare const telegramContract: {
|
|
|
10213
10522
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
10214
10523
|
message: z.ZodString;
|
|
10215
10524
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
10216
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
|
|
10525
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
10217
10526
|
readAt: z.ZodDate;
|
|
10218
10527
|
metadata: z.ZodAny;
|
|
10219
10528
|
platformId: z.ZodString;
|
|
@@ -10871,7 +11180,7 @@ export declare const telegramContract: {
|
|
|
10871
11180
|
};
|
|
10872
11181
|
}>;
|
|
10873
11182
|
}, "strip", z.ZodTypeAny, {
|
|
10874
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
11183
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
10875
11184
|
message: string;
|
|
10876
11185
|
id: string;
|
|
10877
11186
|
url: string;
|
|
@@ -11033,7 +11342,7 @@ export declare const telegramContract: {
|
|
|
11033
11342
|
metadata?: any;
|
|
11034
11343
|
template?: any;
|
|
11035
11344
|
}, {
|
|
11036
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
11345
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
11037
11346
|
message: string;
|
|
11038
11347
|
id: string;
|
|
11039
11348
|
url: string;
|
|
@@ -11835,7 +12144,7 @@ export declare const telegramContract: {
|
|
|
11835
12144
|
editedMessageid: z.ZodString;
|
|
11836
12145
|
label: z.ZodOptional<z.ZodString>;
|
|
11837
12146
|
}, "strip", z.ZodTypeAny, {
|
|
11838
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
12147
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
11839
12148
|
message: string;
|
|
11840
12149
|
id: string;
|
|
11841
12150
|
url: string;
|
|
@@ -11966,6 +12275,7 @@ export declare const telegramContract: {
|
|
|
11966
12275
|
channelId?: string | undefined;
|
|
11967
12276
|
status?: "active" | "pending" | undefined;
|
|
11968
12277
|
apiKey?: string | undefined;
|
|
12278
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
11969
12279
|
} | undefined;
|
|
11970
12280
|
vonageCredentials?: {
|
|
11971
12281
|
apiKey: string;
|
|
@@ -12333,6 +12643,23 @@ export declare const telegramContract: {
|
|
|
12333
12643
|
dateValue: Date | null;
|
|
12334
12644
|
}[] | null | undefined;
|
|
12335
12645
|
} | null;
|
|
12646
|
+
holdLogs?: {
|
|
12647
|
+
id: string;
|
|
12648
|
+
createdAt: Date;
|
|
12649
|
+
updatedAt: Date;
|
|
12650
|
+
deletedAt: Date | null;
|
|
12651
|
+
startedAt: string;
|
|
12652
|
+
endedAt: string | null;
|
|
12653
|
+
duration: number | null;
|
|
12654
|
+
holdLabel: {
|
|
12655
|
+
name: string;
|
|
12656
|
+
id: string;
|
|
12657
|
+
position: number;
|
|
12658
|
+
createdAt: Date;
|
|
12659
|
+
updatedAt: Date;
|
|
12660
|
+
deletedAt: Date | null;
|
|
12661
|
+
};
|
|
12662
|
+
}[] | null | undefined;
|
|
12336
12663
|
};
|
|
12337
12664
|
workflowRule: {
|
|
12338
12665
|
name: string;
|
|
@@ -12361,7 +12688,7 @@ export declare const telegramContract: {
|
|
|
12361
12688
|
previewUrl: string;
|
|
12362
12689
|
imageSetId: string;
|
|
12363
12690
|
repliedMessage: {
|
|
12364
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
12691
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
12365
12692
|
message: string;
|
|
12366
12693
|
id: string;
|
|
12367
12694
|
url: string;
|
|
@@ -12572,7 +12899,7 @@ export declare const telegramContract: {
|
|
|
12572
12899
|
template?: any;
|
|
12573
12900
|
label?: string | undefined;
|
|
12574
12901
|
}, {
|
|
12575
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
12902
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
12576
12903
|
message: string;
|
|
12577
12904
|
id: string;
|
|
12578
12905
|
url: string;
|
|
@@ -12703,6 +13030,7 @@ export declare const telegramContract: {
|
|
|
12703
13030
|
channelId?: string | undefined;
|
|
12704
13031
|
status?: "active" | "pending" | undefined;
|
|
12705
13032
|
apiKey?: string | undefined;
|
|
13033
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
12706
13034
|
} | undefined;
|
|
12707
13035
|
vonageCredentials?: {
|
|
12708
13036
|
apiKey: string;
|
|
@@ -13070,6 +13398,23 @@ export declare const telegramContract: {
|
|
|
13070
13398
|
dateValue: Date | null;
|
|
13071
13399
|
}[] | null | undefined;
|
|
13072
13400
|
} | null;
|
|
13401
|
+
holdLogs?: {
|
|
13402
|
+
id: string;
|
|
13403
|
+
createdAt: Date;
|
|
13404
|
+
updatedAt: Date;
|
|
13405
|
+
deletedAt: Date | null;
|
|
13406
|
+
startedAt: string;
|
|
13407
|
+
endedAt: string | null;
|
|
13408
|
+
duration: number | null;
|
|
13409
|
+
holdLabel: {
|
|
13410
|
+
name: string;
|
|
13411
|
+
id: string;
|
|
13412
|
+
position: number;
|
|
13413
|
+
createdAt: Date;
|
|
13414
|
+
updatedAt: Date;
|
|
13415
|
+
deletedAt: Date | null;
|
|
13416
|
+
};
|
|
13417
|
+
}[] | null | undefined;
|
|
13073
13418
|
};
|
|
13074
13419
|
workflowRule: {
|
|
13075
13420
|
name: string;
|
|
@@ -13098,7 +13443,7 @@ export declare const telegramContract: {
|
|
|
13098
13443
|
previewUrl: string;
|
|
13099
13444
|
imageSetId: string;
|
|
13100
13445
|
repliedMessage: {
|
|
13101
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
13446
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
13102
13447
|
message: string;
|
|
13103
13448
|
id: string;
|
|
13104
13449
|
url: string;
|
|
@@ -13310,7 +13655,7 @@ export declare const telegramContract: {
|
|
|
13310
13655
|
label?: string | undefined;
|
|
13311
13656
|
}>>>;
|
|
13312
13657
|
}, "strip", z.ZodTypeAny, {
|
|
13313
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
13658
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
13314
13659
|
message: string;
|
|
13315
13660
|
id: string;
|
|
13316
13661
|
url: string;
|
|
@@ -13441,6 +13786,7 @@ export declare const telegramContract: {
|
|
|
13441
13786
|
channelId?: string | undefined;
|
|
13442
13787
|
status?: "active" | "pending" | undefined;
|
|
13443
13788
|
apiKey?: string | undefined;
|
|
13789
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
13444
13790
|
} | undefined;
|
|
13445
13791
|
vonageCredentials?: {
|
|
13446
13792
|
apiKey: string;
|
|
@@ -13808,6 +14154,23 @@ export declare const telegramContract: {
|
|
|
13808
14154
|
dateValue: Date | null;
|
|
13809
14155
|
}[] | null | undefined;
|
|
13810
14156
|
} | null;
|
|
14157
|
+
holdLogs?: {
|
|
14158
|
+
id: string;
|
|
14159
|
+
createdAt: Date;
|
|
14160
|
+
updatedAt: Date;
|
|
14161
|
+
deletedAt: Date | null;
|
|
14162
|
+
startedAt: string;
|
|
14163
|
+
endedAt: string | null;
|
|
14164
|
+
duration: number | null;
|
|
14165
|
+
holdLabel: {
|
|
14166
|
+
name: string;
|
|
14167
|
+
id: string;
|
|
14168
|
+
position: number;
|
|
14169
|
+
createdAt: Date;
|
|
14170
|
+
updatedAt: Date;
|
|
14171
|
+
deletedAt: Date | null;
|
|
14172
|
+
};
|
|
14173
|
+
}[] | null | undefined;
|
|
13811
14174
|
};
|
|
13812
14175
|
workflowRule: {
|
|
13813
14176
|
name: string;
|
|
@@ -13836,7 +14199,7 @@ export declare const telegramContract: {
|
|
|
13836
14199
|
previewUrl: string;
|
|
13837
14200
|
imageSetId: string;
|
|
13838
14201
|
repliedMessage: {
|
|
13839
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
14202
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
13840
14203
|
message: string;
|
|
13841
14204
|
id: string;
|
|
13842
14205
|
url: string;
|
|
@@ -14047,7 +14410,7 @@ export declare const telegramContract: {
|
|
|
14047
14410
|
template?: any;
|
|
14048
14411
|
metadata?: any;
|
|
14049
14412
|
fromMessage?: {
|
|
14050
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
14413
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
14051
14414
|
message: string;
|
|
14052
14415
|
id: string;
|
|
14053
14416
|
url: string;
|
|
@@ -14178,6 +14541,7 @@ export declare const telegramContract: {
|
|
|
14178
14541
|
channelId?: string | undefined;
|
|
14179
14542
|
status?: "active" | "pending" | undefined;
|
|
14180
14543
|
apiKey?: string | undefined;
|
|
14544
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
14181
14545
|
} | undefined;
|
|
14182
14546
|
vonageCredentials?: {
|
|
14183
14547
|
apiKey: string;
|
|
@@ -14545,6 +14909,23 @@ export declare const telegramContract: {
|
|
|
14545
14909
|
dateValue: Date | null;
|
|
14546
14910
|
}[] | null | undefined;
|
|
14547
14911
|
} | null;
|
|
14912
|
+
holdLogs?: {
|
|
14913
|
+
id: string;
|
|
14914
|
+
createdAt: Date;
|
|
14915
|
+
updatedAt: Date;
|
|
14916
|
+
deletedAt: Date | null;
|
|
14917
|
+
startedAt: string;
|
|
14918
|
+
endedAt: string | null;
|
|
14919
|
+
duration: number | null;
|
|
14920
|
+
holdLabel: {
|
|
14921
|
+
name: string;
|
|
14922
|
+
id: string;
|
|
14923
|
+
position: number;
|
|
14924
|
+
createdAt: Date;
|
|
14925
|
+
updatedAt: Date;
|
|
14926
|
+
deletedAt: Date | null;
|
|
14927
|
+
};
|
|
14928
|
+
}[] | null | undefined;
|
|
14548
14929
|
};
|
|
14549
14930
|
workflowRule: {
|
|
14550
14931
|
name: string;
|
|
@@ -14573,7 +14954,7 @@ export declare const telegramContract: {
|
|
|
14573
14954
|
previewUrl: string;
|
|
14574
14955
|
imageSetId: string;
|
|
14575
14956
|
repliedMessage: {
|
|
14576
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
14957
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
14577
14958
|
message: string;
|
|
14578
14959
|
id: string;
|
|
14579
14960
|
url: string;
|
|
@@ -14785,7 +15166,7 @@ export declare const telegramContract: {
|
|
|
14785
15166
|
label?: string | undefined;
|
|
14786
15167
|
} | null | undefined;
|
|
14787
15168
|
}, {
|
|
14788
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
15169
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
14789
15170
|
message: string;
|
|
14790
15171
|
id: string;
|
|
14791
15172
|
url: string;
|
|
@@ -14916,6 +15297,7 @@ export declare const telegramContract: {
|
|
|
14916
15297
|
channelId?: string | undefined;
|
|
14917
15298
|
status?: "active" | "pending" | undefined;
|
|
14918
15299
|
apiKey?: string | undefined;
|
|
15300
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
14919
15301
|
} | undefined;
|
|
14920
15302
|
vonageCredentials?: {
|
|
14921
15303
|
apiKey: string;
|
|
@@ -15283,6 +15665,23 @@ export declare const telegramContract: {
|
|
|
15283
15665
|
dateValue: Date | null;
|
|
15284
15666
|
}[] | null | undefined;
|
|
15285
15667
|
} | null;
|
|
15668
|
+
holdLogs?: {
|
|
15669
|
+
id: string;
|
|
15670
|
+
createdAt: Date;
|
|
15671
|
+
updatedAt: Date;
|
|
15672
|
+
deletedAt: Date | null;
|
|
15673
|
+
startedAt: string;
|
|
15674
|
+
endedAt: string | null;
|
|
15675
|
+
duration: number | null;
|
|
15676
|
+
holdLabel: {
|
|
15677
|
+
name: string;
|
|
15678
|
+
id: string;
|
|
15679
|
+
position: number;
|
|
15680
|
+
createdAt: Date;
|
|
15681
|
+
updatedAt: Date;
|
|
15682
|
+
deletedAt: Date | null;
|
|
15683
|
+
};
|
|
15684
|
+
}[] | null | undefined;
|
|
15286
15685
|
};
|
|
15287
15686
|
workflowRule: {
|
|
15288
15687
|
name: string;
|
|
@@ -15311,7 +15710,7 @@ export declare const telegramContract: {
|
|
|
15311
15710
|
previewUrl: string;
|
|
15312
15711
|
imageSetId: string;
|
|
15313
15712
|
repliedMessage: {
|
|
15314
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
15713
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
15315
15714
|
message: string;
|
|
15316
15715
|
id: string;
|
|
15317
15716
|
url: string;
|
|
@@ -15522,7 +15921,7 @@ export declare const telegramContract: {
|
|
|
15522
15921
|
template?: any;
|
|
15523
15922
|
metadata?: any;
|
|
15524
15923
|
fromMessage?: {
|
|
15525
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
15924
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
15526
15925
|
message: string;
|
|
15527
15926
|
id: string;
|
|
15528
15927
|
url: string;
|
|
@@ -15653,6 +16052,7 @@ export declare const telegramContract: {
|
|
|
15653
16052
|
channelId?: string | undefined;
|
|
15654
16053
|
status?: "active" | "pending" | undefined;
|
|
15655
16054
|
apiKey?: string | undefined;
|
|
16055
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
15656
16056
|
} | undefined;
|
|
15657
16057
|
vonageCredentials?: {
|
|
15658
16058
|
apiKey: string;
|
|
@@ -16020,6 +16420,23 @@ export declare const telegramContract: {
|
|
|
16020
16420
|
dateValue: Date | null;
|
|
16021
16421
|
}[] | null | undefined;
|
|
16022
16422
|
} | null;
|
|
16423
|
+
holdLogs?: {
|
|
16424
|
+
id: string;
|
|
16425
|
+
createdAt: Date;
|
|
16426
|
+
updatedAt: Date;
|
|
16427
|
+
deletedAt: Date | null;
|
|
16428
|
+
startedAt: string;
|
|
16429
|
+
endedAt: string | null;
|
|
16430
|
+
duration: number | null;
|
|
16431
|
+
holdLabel: {
|
|
16432
|
+
name: string;
|
|
16433
|
+
id: string;
|
|
16434
|
+
position: number;
|
|
16435
|
+
createdAt: Date;
|
|
16436
|
+
updatedAt: Date;
|
|
16437
|
+
deletedAt: Date | null;
|
|
16438
|
+
};
|
|
16439
|
+
}[] | null | undefined;
|
|
16023
16440
|
};
|
|
16024
16441
|
workflowRule: {
|
|
16025
16442
|
name: string;
|
|
@@ -16048,7 +16465,7 @@ export declare const telegramContract: {
|
|
|
16048
16465
|
previewUrl: string;
|
|
16049
16466
|
imageSetId: string;
|
|
16050
16467
|
repliedMessage: {
|
|
16051
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
16468
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
16052
16469
|
message: string;
|
|
16053
16470
|
id: string;
|
|
16054
16471
|
url: string;
|
|
@@ -16262,7 +16679,7 @@ export declare const telegramContract: {
|
|
|
16262
16679
|
}>;
|
|
16263
16680
|
}, "strip", z.ZodTypeAny, {
|
|
16264
16681
|
data: {
|
|
16265
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
16682
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
16266
16683
|
message: string;
|
|
16267
16684
|
id: string;
|
|
16268
16685
|
url: string;
|
|
@@ -16393,6 +16810,7 @@ export declare const telegramContract: {
|
|
|
16393
16810
|
channelId?: string | undefined;
|
|
16394
16811
|
status?: "active" | "pending" | undefined;
|
|
16395
16812
|
apiKey?: string | undefined;
|
|
16813
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
16396
16814
|
} | undefined;
|
|
16397
16815
|
vonageCredentials?: {
|
|
16398
16816
|
apiKey: string;
|
|
@@ -16760,6 +17178,23 @@ export declare const telegramContract: {
|
|
|
16760
17178
|
dateValue: Date | null;
|
|
16761
17179
|
}[] | null | undefined;
|
|
16762
17180
|
} | null;
|
|
17181
|
+
holdLogs?: {
|
|
17182
|
+
id: string;
|
|
17183
|
+
createdAt: Date;
|
|
17184
|
+
updatedAt: Date;
|
|
17185
|
+
deletedAt: Date | null;
|
|
17186
|
+
startedAt: string;
|
|
17187
|
+
endedAt: string | null;
|
|
17188
|
+
duration: number | null;
|
|
17189
|
+
holdLabel: {
|
|
17190
|
+
name: string;
|
|
17191
|
+
id: string;
|
|
17192
|
+
position: number;
|
|
17193
|
+
createdAt: Date;
|
|
17194
|
+
updatedAt: Date;
|
|
17195
|
+
deletedAt: Date | null;
|
|
17196
|
+
};
|
|
17197
|
+
}[] | null | undefined;
|
|
16763
17198
|
};
|
|
16764
17199
|
workflowRule: {
|
|
16765
17200
|
name: string;
|
|
@@ -16788,7 +17223,7 @@ export declare const telegramContract: {
|
|
|
16788
17223
|
previewUrl: string;
|
|
16789
17224
|
imageSetId: string;
|
|
16790
17225
|
repliedMessage: {
|
|
16791
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
17226
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
16792
17227
|
message: string;
|
|
16793
17228
|
id: string;
|
|
16794
17229
|
url: string;
|
|
@@ -16999,7 +17434,7 @@ export declare const telegramContract: {
|
|
|
16999
17434
|
template?: any;
|
|
17000
17435
|
metadata?: any;
|
|
17001
17436
|
fromMessage?: {
|
|
17002
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
17437
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
17003
17438
|
message: string;
|
|
17004
17439
|
id: string;
|
|
17005
17440
|
url: string;
|
|
@@ -17130,6 +17565,7 @@ export declare const telegramContract: {
|
|
|
17130
17565
|
channelId?: string | undefined;
|
|
17131
17566
|
status?: "active" | "pending" | undefined;
|
|
17132
17567
|
apiKey?: string | undefined;
|
|
17568
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
17133
17569
|
} | undefined;
|
|
17134
17570
|
vonageCredentials?: {
|
|
17135
17571
|
apiKey: string;
|
|
@@ -17497,6 +17933,23 @@ export declare const telegramContract: {
|
|
|
17497
17933
|
dateValue: Date | null;
|
|
17498
17934
|
}[] | null | undefined;
|
|
17499
17935
|
} | null;
|
|
17936
|
+
holdLogs?: {
|
|
17937
|
+
id: string;
|
|
17938
|
+
createdAt: Date;
|
|
17939
|
+
updatedAt: Date;
|
|
17940
|
+
deletedAt: Date | null;
|
|
17941
|
+
startedAt: string;
|
|
17942
|
+
endedAt: string | null;
|
|
17943
|
+
duration: number | null;
|
|
17944
|
+
holdLabel: {
|
|
17945
|
+
name: string;
|
|
17946
|
+
id: string;
|
|
17947
|
+
position: number;
|
|
17948
|
+
createdAt: Date;
|
|
17949
|
+
updatedAt: Date;
|
|
17950
|
+
deletedAt: Date | null;
|
|
17951
|
+
};
|
|
17952
|
+
}[] | null | undefined;
|
|
17500
17953
|
};
|
|
17501
17954
|
workflowRule: {
|
|
17502
17955
|
name: string;
|
|
@@ -17525,7 +17978,7 @@ export declare const telegramContract: {
|
|
|
17525
17978
|
previewUrl: string;
|
|
17526
17979
|
imageSetId: string;
|
|
17527
17980
|
repliedMessage: {
|
|
17528
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
17981
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
17529
17982
|
message: string;
|
|
17530
17983
|
id: string;
|
|
17531
17984
|
url: string;
|
|
@@ -17740,7 +18193,7 @@ export declare const telegramContract: {
|
|
|
17740
18193
|
requestId: string;
|
|
17741
18194
|
}, {
|
|
17742
18195
|
data: {
|
|
17743
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
18196
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
17744
18197
|
message: string;
|
|
17745
18198
|
id: string;
|
|
17746
18199
|
url: string;
|
|
@@ -17871,6 +18324,7 @@ export declare const telegramContract: {
|
|
|
17871
18324
|
channelId?: string | undefined;
|
|
17872
18325
|
status?: "active" | "pending" | undefined;
|
|
17873
18326
|
apiKey?: string | undefined;
|
|
18327
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
17874
18328
|
} | undefined;
|
|
17875
18329
|
vonageCredentials?: {
|
|
17876
18330
|
apiKey: string;
|
|
@@ -18238,6 +18692,23 @@ export declare const telegramContract: {
|
|
|
18238
18692
|
dateValue: Date | null;
|
|
18239
18693
|
}[] | null | undefined;
|
|
18240
18694
|
} | null;
|
|
18695
|
+
holdLogs?: {
|
|
18696
|
+
id: string;
|
|
18697
|
+
createdAt: Date;
|
|
18698
|
+
updatedAt: Date;
|
|
18699
|
+
deletedAt: Date | null;
|
|
18700
|
+
startedAt: string;
|
|
18701
|
+
endedAt: string | null;
|
|
18702
|
+
duration: number | null;
|
|
18703
|
+
holdLabel: {
|
|
18704
|
+
name: string;
|
|
18705
|
+
id: string;
|
|
18706
|
+
position: number;
|
|
18707
|
+
createdAt: Date;
|
|
18708
|
+
updatedAt: Date;
|
|
18709
|
+
deletedAt: Date | null;
|
|
18710
|
+
};
|
|
18711
|
+
}[] | null | undefined;
|
|
18241
18712
|
};
|
|
18242
18713
|
workflowRule: {
|
|
18243
18714
|
name: string;
|
|
@@ -18266,7 +18737,7 @@ export declare const telegramContract: {
|
|
|
18266
18737
|
previewUrl: string;
|
|
18267
18738
|
imageSetId: string;
|
|
18268
18739
|
repliedMessage: {
|
|
18269
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
18740
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18270
18741
|
message: string;
|
|
18271
18742
|
id: string;
|
|
18272
18743
|
url: string;
|
|
@@ -18477,7 +18948,7 @@ export declare const telegramContract: {
|
|
|
18477
18948
|
template?: any;
|
|
18478
18949
|
metadata?: any;
|
|
18479
18950
|
fromMessage?: {
|
|
18480
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
18951
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18481
18952
|
message: string;
|
|
18482
18953
|
id: string;
|
|
18483
18954
|
url: string;
|
|
@@ -18608,6 +19079,7 @@ export declare const telegramContract: {
|
|
|
18608
19079
|
channelId?: string | undefined;
|
|
18609
19080
|
status?: "active" | "pending" | undefined;
|
|
18610
19081
|
apiKey?: string | undefined;
|
|
19082
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
18611
19083
|
} | undefined;
|
|
18612
19084
|
vonageCredentials?: {
|
|
18613
19085
|
apiKey: string;
|
|
@@ -18975,6 +19447,23 @@ export declare const telegramContract: {
|
|
|
18975
19447
|
dateValue: Date | null;
|
|
18976
19448
|
}[] | null | undefined;
|
|
18977
19449
|
} | null;
|
|
19450
|
+
holdLogs?: {
|
|
19451
|
+
id: string;
|
|
19452
|
+
createdAt: Date;
|
|
19453
|
+
updatedAt: Date;
|
|
19454
|
+
deletedAt: Date | null;
|
|
19455
|
+
startedAt: string;
|
|
19456
|
+
endedAt: string | null;
|
|
19457
|
+
duration: number | null;
|
|
19458
|
+
holdLabel: {
|
|
19459
|
+
name: string;
|
|
19460
|
+
id: string;
|
|
19461
|
+
position: number;
|
|
19462
|
+
createdAt: Date;
|
|
19463
|
+
updatedAt: Date;
|
|
19464
|
+
deletedAt: Date | null;
|
|
19465
|
+
};
|
|
19466
|
+
}[] | null | undefined;
|
|
18978
19467
|
};
|
|
18979
19468
|
workflowRule: {
|
|
18980
19469
|
name: string;
|
|
@@ -19003,7 +19492,7 @@ export declare const telegramContract: {
|
|
|
19003
19492
|
previewUrl: string;
|
|
19004
19493
|
imageSetId: string;
|
|
19005
19494
|
repliedMessage: {
|
|
19006
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
19495
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
19007
19496
|
message: string;
|
|
19008
19497
|
id: string;
|
|
19009
19498
|
url: string;
|
|
@@ -19264,6 +19753,7 @@ export declare const telegramContract: {
|
|
|
19264
19753
|
channelId: z.ZodOptional<z.ZodString>;
|
|
19265
19754
|
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
|
19266
19755
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
19756
|
+
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
|
19267
19757
|
}, "strip", z.ZodTypeAny, {
|
|
19268
19758
|
email: string;
|
|
19269
19759
|
wabaExternalId: string;
|
|
@@ -19273,6 +19763,7 @@ export declare const telegramContract: {
|
|
|
19273
19763
|
channelId?: string | undefined;
|
|
19274
19764
|
status?: "active" | "pending" | undefined;
|
|
19275
19765
|
apiKey?: string | undefined;
|
|
19766
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
19276
19767
|
}, {
|
|
19277
19768
|
email: string;
|
|
19278
19769
|
wabaExternalId: string;
|
|
@@ -19282,6 +19773,7 @@ export declare const telegramContract: {
|
|
|
19282
19773
|
channelId?: string | undefined;
|
|
19283
19774
|
status?: "active" | "pending" | undefined;
|
|
19284
19775
|
apiKey?: string | undefined;
|
|
19776
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
19285
19777
|
}>>;
|
|
19286
19778
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
19287
19779
|
mobileNumber: z.ZodString;
|
|
@@ -19314,6 +19806,7 @@ export declare const telegramContract: {
|
|
|
19314
19806
|
channelId?: string | undefined;
|
|
19315
19807
|
status?: "active" | "pending" | undefined;
|
|
19316
19808
|
apiKey?: string | undefined;
|
|
19809
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
19317
19810
|
} | undefined;
|
|
19318
19811
|
vonageCredentials?: {
|
|
19319
19812
|
apiKey: string;
|
|
@@ -19338,6 +19831,7 @@ export declare const telegramContract: {
|
|
|
19338
19831
|
channelId?: string | undefined;
|
|
19339
19832
|
status?: "active" | "pending" | undefined;
|
|
19340
19833
|
apiKey?: string | undefined;
|
|
19834
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
19341
19835
|
} | undefined;
|
|
19342
19836
|
vonageCredentials?: {
|
|
19343
19837
|
apiKey: string;
|
|
@@ -19392,6 +19886,7 @@ export declare const telegramContract: {
|
|
|
19392
19886
|
channelId?: string | undefined;
|
|
19393
19887
|
status?: "active" | "pending" | undefined;
|
|
19394
19888
|
apiKey?: string | undefined;
|
|
19889
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
19395
19890
|
} | undefined;
|
|
19396
19891
|
vonageCredentials?: {
|
|
19397
19892
|
apiKey: string;
|
|
@@ -19434,6 +19929,7 @@ export declare const telegramContract: {
|
|
|
19434
19929
|
channelId?: string | undefined;
|
|
19435
19930
|
status?: "active" | "pending" | undefined;
|
|
19436
19931
|
apiKey?: string | undefined;
|
|
19932
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
19437
19933
|
} | undefined;
|
|
19438
19934
|
vonageCredentials?: {
|
|
19439
19935
|
apiKey: string;
|
|
@@ -19478,6 +19974,7 @@ export declare const telegramContract: {
|
|
|
19478
19974
|
channelId?: string | undefined;
|
|
19479
19975
|
status?: "active" | "pending" | undefined;
|
|
19480
19976
|
apiKey?: string | undefined;
|
|
19977
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
19481
19978
|
} | undefined;
|
|
19482
19979
|
vonageCredentials?: {
|
|
19483
19980
|
apiKey: string;
|
|
@@ -19523,6 +20020,7 @@ export declare const telegramContract: {
|
|
|
19523
20020
|
channelId?: string | undefined;
|
|
19524
20021
|
status?: "active" | "pending" | undefined;
|
|
19525
20022
|
apiKey?: string | undefined;
|
|
20023
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
19526
20024
|
} | undefined;
|
|
19527
20025
|
vonageCredentials?: {
|
|
19528
20026
|
apiKey: string;
|
|
@@ -19605,6 +20103,7 @@ export declare const telegramContract: {
|
|
|
19605
20103
|
channelId: z.ZodOptional<z.ZodString>;
|
|
19606
20104
|
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
|
19607
20105
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
20106
|
+
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
|
19608
20107
|
}, "strip", z.ZodTypeAny, {
|
|
19609
20108
|
email: string;
|
|
19610
20109
|
wabaExternalId: string;
|
|
@@ -19614,6 +20113,7 @@ export declare const telegramContract: {
|
|
|
19614
20113
|
channelId?: string | undefined;
|
|
19615
20114
|
status?: "active" | "pending" | undefined;
|
|
19616
20115
|
apiKey?: string | undefined;
|
|
20116
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
19617
20117
|
}, {
|
|
19618
20118
|
email: string;
|
|
19619
20119
|
wabaExternalId: string;
|
|
@@ -19623,6 +20123,7 @@ export declare const telegramContract: {
|
|
|
19623
20123
|
channelId?: string | undefined;
|
|
19624
20124
|
status?: "active" | "pending" | undefined;
|
|
19625
20125
|
apiKey?: string | undefined;
|
|
20126
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
19626
20127
|
}>>;
|
|
19627
20128
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
19628
20129
|
mobileNumber: z.ZodString;
|
|
@@ -19655,6 +20156,7 @@ export declare const telegramContract: {
|
|
|
19655
20156
|
channelId?: string | undefined;
|
|
19656
20157
|
status?: "active" | "pending" | undefined;
|
|
19657
20158
|
apiKey?: string | undefined;
|
|
20159
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
19658
20160
|
} | undefined;
|
|
19659
20161
|
vonageCredentials?: {
|
|
19660
20162
|
apiKey: string;
|
|
@@ -19679,6 +20181,7 @@ export declare const telegramContract: {
|
|
|
19679
20181
|
channelId?: string | undefined;
|
|
19680
20182
|
status?: "active" | "pending" | undefined;
|
|
19681
20183
|
apiKey?: string | undefined;
|
|
20184
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
19682
20185
|
} | undefined;
|
|
19683
20186
|
vonageCredentials?: {
|
|
19684
20187
|
apiKey: string;
|
|
@@ -19733,6 +20236,7 @@ export declare const telegramContract: {
|
|
|
19733
20236
|
channelId?: string | undefined;
|
|
19734
20237
|
status?: "active" | "pending" | undefined;
|
|
19735
20238
|
apiKey?: string | undefined;
|
|
20239
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
19736
20240
|
} | undefined;
|
|
19737
20241
|
vonageCredentials?: {
|
|
19738
20242
|
apiKey: string;
|
|
@@ -19775,6 +20279,7 @@ export declare const telegramContract: {
|
|
|
19775
20279
|
channelId?: string | undefined;
|
|
19776
20280
|
status?: "active" | "pending" | undefined;
|
|
19777
20281
|
apiKey?: string | undefined;
|
|
20282
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
19778
20283
|
} | undefined;
|
|
19779
20284
|
vonageCredentials?: {
|
|
19780
20285
|
apiKey: string;
|
|
@@ -19819,6 +20324,7 @@ export declare const telegramContract: {
|
|
|
19819
20324
|
channelId?: string | undefined;
|
|
19820
20325
|
status?: "active" | "pending" | undefined;
|
|
19821
20326
|
apiKey?: string | undefined;
|
|
20327
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
19822
20328
|
} | undefined;
|
|
19823
20329
|
vonageCredentials?: {
|
|
19824
20330
|
apiKey: string;
|
|
@@ -19864,6 +20370,7 @@ export declare const telegramContract: {
|
|
|
19864
20370
|
channelId?: string | undefined;
|
|
19865
20371
|
status?: "active" | "pending" | undefined;
|
|
19866
20372
|
apiKey?: string | undefined;
|
|
20373
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
|
19867
20374
|
} | undefined;
|
|
19868
20375
|
vonageCredentials?: {
|
|
19869
20376
|
apiKey: string;
|