@kl1/contracts 1.2.99 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/chat/index.d.ts +301 -300
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +81 -78
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +91 -91
- package/dist/api-contracts/src/contract.d.ts +539 -539
- package/dist/api-contracts/src/cx-log/index.d.ts +7 -7
- package/dist/api-contracts/src/cx-log/schema.d.ts +5 -5
- package/dist/api-contracts/src/facebook-feed/index.d.ts +71 -71
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +1 -1
- package/dist/api-contracts/src/index.d.ts +2 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +59 -59
- package/dist/api-contracts/src/line/index.d.ts +70 -70
- package/dist/api-contracts/src/line/validation.d.ts +11 -11
- package/dist/api-contracts/src/messenger/index.d.ts +59 -59
- package/dist/api-contracts/src/sms/index.d.ts +11 -11
- package/dist/api-contracts/src/telegram/index.d.ts +59 -59
- package/dist/api-contracts/src/viber/index.d.ts +59 -59
- package/dist/api-contracts/src/webchat/index.d.ts +59 -59
- package/dist/api-contracts/src/whatsapp/index.d.ts +59 -59
- package/dist/api-contracts/src/workflow-rule/index.d.ts +34 -34
- package/dist/index.js +52 -57
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +51 -57
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -10
@@ -1,11 +1,10 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
import { DefaultQueryParamsSchema } from '../base-contract';
|
3
3
|
import { FeedPostSchema } from '../facebook-feed/schema';
|
4
|
-
import { MessageRelevanceSchema, MessageSchema, MessageTypeSchema, MessageWithFeedPostSchema, OrderQueryParamSchema, RoomSchema } from './schema';
|
4
|
+
import { MessageDirectionTypeSchema, MessageRelevanceSchema, MessageSchema, MessageTypeSchema, MessageWithFeedPostSchema, OrderQueryParamSchema, RoomSchema } from './schema';
|
5
5
|
import { ActionMessageSchema, ChannelSchema, DeleteMessageToPlatformSchema, GetRoomsSchema, InitiateMessageSchema, LineStickerSchema, ReceiveMessageSchema, ReloginChanelSchema, SearchRoomsSchema, SendMessageResponseSchema, SendMessageSchema, SendMessageToPlatformSchema, SendMessageWithActionTypeSchema, SolveRoomSchema, UpdateAssigneeByWorkflowSchema, UpdateAssigneeSchema, UpdateRoomAttributesSchema, UpdateRoomTagsAndNotesSchema, UpdateUnAssignRoomsSchema } from './validation';
|
6
6
|
export type GetRoomRequest = z.infer<typeof GetRoomsSchema>;
|
7
7
|
export type UpdateRoomAttributesRequest = z.infer<typeof UpdateRoomAttributesSchema>;
|
8
|
-
export type MessageType = z.infer<typeof MessageTypeSchema>;
|
9
8
|
export type UpdateRoomTagsAndNotesRequest = z.infer<typeof UpdateRoomTagsAndNotesSchema>;
|
10
9
|
export type SendMessageRequest = z.infer<typeof SendMessageSchema>;
|
11
10
|
export type InitiateMessageRequest = z.infer<typeof InitiateMessageSchema>;
|
@@ -31,6 +30,8 @@ export type LineStickerRequestType = z.infer<typeof LineStickerSchema>;
|
|
31
30
|
export type MessageRelevanceType = z.infer<typeof MessageRelevanceSchema>;
|
32
31
|
export type FeedPostType = z.infer<typeof FeedPostSchema>;
|
33
32
|
export type OrderQueryParamType = z.infer<typeof OrderQueryParamSchema>;
|
33
|
+
export type MessageDirectionType = z.infer<typeof MessageDirectionTypeSchema>;
|
34
|
+
export type MessageType = z.infer<typeof MessageTypeSchema>;
|
34
35
|
export declare const receiveMessageContract: {
|
35
36
|
receiveMessage: {
|
36
37
|
body: z.ZodObject<{
|
@@ -40,8 +41,8 @@ export declare const receiveMessageContract: {
|
|
40
41
|
updatedAt: z.ZodString;
|
41
42
|
deletedAt: z.ZodNullable<z.ZodString>;
|
42
43
|
message: z.ZodOptional<z.ZodString>;
|
43
|
-
direction: z.
|
44
|
-
type: z.
|
44
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
45
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
45
46
|
metadata: z.ZodAny;
|
46
47
|
platformId: z.ZodString;
|
47
48
|
platformMessageId: z.ZodString;
|
@@ -63,7 +64,7 @@ export declare const receiveMessageContract: {
|
|
63
64
|
firstResponseAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
64
65
|
firstResponseTime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
65
66
|
isLatest: z.ZodOptional<z.ZodBoolean>;
|
66
|
-
direction: z.ZodOptional<z.
|
67
|
+
direction: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>>;
|
67
68
|
platformContact: z.ZodOptional<z.ZodObject<{
|
68
69
|
id: z.ZodString;
|
69
70
|
createdAt: z.ZodString;
|
@@ -2259,7 +2260,7 @@ export declare const receiveMessageContract: {
|
|
2259
2260
|
connectedUserName?: string | null | undefined;
|
2260
2261
|
connectedUserId?: string | null | undefined;
|
2261
2262
|
} | undefined;
|
2262
|
-
direction?:
|
2263
|
+
direction?: "incoming" | "outgoing" | "system" | undefined;
|
2263
2264
|
createdAt?: string | undefined;
|
2264
2265
|
updatedAt?: string | undefined;
|
2265
2266
|
deletedAt?: string | null | undefined;
|
@@ -2612,7 +2613,7 @@ export declare const receiveMessageContract: {
|
|
2612
2613
|
connectedUserName?: string | null | undefined;
|
2613
2614
|
connectedUserId?: string | null | undefined;
|
2614
2615
|
} | undefined;
|
2615
|
-
direction?:
|
2616
|
+
direction?: "incoming" | "outgoing" | "system" | undefined;
|
2616
2617
|
createdAt?: string | undefined;
|
2617
2618
|
updatedAt?: string | undefined;
|
2618
2619
|
deletedAt?: string | null | undefined;
|
@@ -3568,7 +3569,7 @@ export declare const receiveMessageContract: {
|
|
3568
3569
|
}, "strip", z.ZodTypeAny, {
|
3569
3570
|
type: string;
|
3570
3571
|
id: string;
|
3571
|
-
direction:
|
3572
|
+
direction: "incoming" | "outgoing" | "system";
|
3572
3573
|
createdAt: string;
|
3573
3574
|
updatedAt: string;
|
3574
3575
|
deletedAt: string | null;
|
@@ -3624,7 +3625,7 @@ export declare const receiveMessageContract: {
|
|
3624
3625
|
connectedUserName?: string | null | undefined;
|
3625
3626
|
connectedUserId?: string | null | undefined;
|
3626
3627
|
} | undefined;
|
3627
|
-
direction?:
|
3628
|
+
direction?: "incoming" | "outgoing" | "system" | undefined;
|
3628
3629
|
createdAt?: string | undefined;
|
3629
3630
|
updatedAt?: string | undefined;
|
3630
3631
|
deletedAt?: string | null | undefined;
|
@@ -4084,7 +4085,7 @@ export declare const receiveMessageContract: {
|
|
4084
4085
|
}, {
|
4085
4086
|
type: string;
|
4086
4087
|
id: string;
|
4087
|
-
direction:
|
4088
|
+
direction: "incoming" | "outgoing" | "system";
|
4088
4089
|
createdAt: string;
|
4089
4090
|
updatedAt: string;
|
4090
4091
|
deletedAt: string | null;
|
@@ -4140,7 +4141,7 @@ export declare const receiveMessageContract: {
|
|
4140
4141
|
connectedUserName?: string | null | undefined;
|
4141
4142
|
connectedUserId?: string | null | undefined;
|
4142
4143
|
} | undefined;
|
4143
|
-
direction?:
|
4144
|
+
direction?: "incoming" | "outgoing" | "system" | undefined;
|
4144
4145
|
createdAt?: string | undefined;
|
4145
4146
|
updatedAt?: string | undefined;
|
4146
4147
|
deletedAt?: string | null | undefined;
|
@@ -4602,7 +4603,7 @@ export declare const receiveMessageContract: {
|
|
4602
4603
|
message: {
|
4603
4604
|
type: string;
|
4604
4605
|
id: string;
|
4605
|
-
direction:
|
4606
|
+
direction: "incoming" | "outgoing" | "system";
|
4606
4607
|
createdAt: string;
|
4607
4608
|
updatedAt: string;
|
4608
4609
|
deletedAt: string | null;
|
@@ -4658,7 +4659,7 @@ export declare const receiveMessageContract: {
|
|
4658
4659
|
connectedUserName?: string | null | undefined;
|
4659
4660
|
connectedUserId?: string | null | undefined;
|
4660
4661
|
} | undefined;
|
4661
|
-
direction?:
|
4662
|
+
direction?: "incoming" | "outgoing" | "system" | undefined;
|
4662
4663
|
createdAt?: string | undefined;
|
4663
4664
|
updatedAt?: string | undefined;
|
4664
4665
|
deletedAt?: string | null | undefined;
|
@@ -5120,7 +5121,7 @@ export declare const receiveMessageContract: {
|
|
5120
5121
|
message: {
|
5121
5122
|
type: string;
|
5122
5123
|
id: string;
|
5123
|
-
direction:
|
5124
|
+
direction: "incoming" | "outgoing" | "system";
|
5124
5125
|
createdAt: string;
|
5125
5126
|
updatedAt: string;
|
5126
5127
|
deletedAt: string | null;
|
@@ -5176,7 +5177,7 @@ export declare const receiveMessageContract: {
|
|
5176
5177
|
connectedUserName?: string | null | undefined;
|
5177
5178
|
connectedUserId?: string | null | undefined;
|
5178
5179
|
} | undefined;
|
5179
|
-
direction?:
|
5180
|
+
direction?: "incoming" | "outgoing" | "system" | undefined;
|
5180
5181
|
createdAt?: string | undefined;
|
5181
5182
|
updatedAt?: string | undefined;
|
5182
5183
|
deletedAt?: string | null | undefined;
|
@@ -5674,7 +5675,7 @@ export declare const mainFeedContract: {
|
|
5674
5675
|
}, {
|
5675
5676
|
id: string;
|
5676
5677
|
}>;
|
5677
|
-
path: "/feed-post/:id";
|
5678
|
+
path: "ms/feed-post/:id";
|
5678
5679
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
5679
5680
|
'x-tenant': z.ZodString;
|
5680
5681
|
'x-service-token': z.ZodString;
|
@@ -5702,7 +5703,7 @@ export declare const mainFeedContract: {
|
|
5702
5703
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5703
5704
|
}, {
|
5704
5705
|
message: z.ZodNullable<z.ZodString>;
|
5705
|
-
type: z.ZodUnion<[z.ZodEnum<[
|
5706
|
+
type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>]>;
|
5706
5707
|
metadata: z.ZodAny;
|
5707
5708
|
platformId: z.ZodString;
|
5708
5709
|
platformMessageId: z.ZodString;
|
@@ -8683,7 +8684,7 @@ export declare const mainFeedContract: {
|
|
8683
8684
|
page?: number | undefined;
|
8684
8685
|
pageSize?: number | undefined;
|
8685
8686
|
}>;
|
8686
|
-
path: "/feed-post/message/:parentId/relevance";
|
8687
|
+
path: "ms/feed-post/message/:parentId/relevance";
|
8687
8688
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
8688
8689
|
'x-tenant': z.ZodString;
|
8689
8690
|
'x-service-token': z.ZodString;
|
@@ -8714,8 +8715,8 @@ export declare const mainFeedContract: {
|
|
8714
8715
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8715
8716
|
}, {
|
8716
8717
|
message: z.ZodString;
|
8717
|
-
direction: z.
|
8718
|
-
type: z.
|
8718
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
8719
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
8719
8720
|
readAt: z.ZodDate;
|
8720
8721
|
metadata: z.ZodAny;
|
8721
8722
|
platformId: z.ZodString;
|
@@ -8742,7 +8743,7 @@ export declare const mainFeedContract: {
|
|
8742
8743
|
firstResponseTime: z.ZodNumber;
|
8743
8744
|
isLatest: z.ZodBoolean;
|
8744
8745
|
isBotRoom: z.ZodBoolean;
|
8745
|
-
direction: z.
|
8746
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
8746
8747
|
platformContact: z.ZodObject<{
|
8747
8748
|
id: z.ZodString;
|
8748
8749
|
createdAt: z.ZodDate;
|
@@ -11427,7 +11428,7 @@ export declare const mainFeedContract: {
|
|
11427
11428
|
integrationId: string;
|
11428
11429
|
} | null;
|
11429
11430
|
};
|
11430
|
-
direction:
|
11431
|
+
direction: "incoming" | "outgoing" | "system";
|
11431
11432
|
status: number;
|
11432
11433
|
createdAt: Date;
|
11433
11434
|
updatedAt: Date;
|
@@ -11856,7 +11857,7 @@ export declare const mainFeedContract: {
|
|
11856
11857
|
integrationId: string;
|
11857
11858
|
} | null;
|
11858
11859
|
};
|
11859
|
-
direction:
|
11860
|
+
direction: "incoming" | "outgoing" | "system";
|
11860
11861
|
status: number;
|
11861
11862
|
createdAt: Date;
|
11862
11863
|
updatedAt: Date;
|
@@ -12230,8 +12231,8 @@ export declare const mainFeedContract: {
|
|
12230
12231
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12231
12232
|
}, {
|
12232
12233
|
message: z.ZodString;
|
12233
|
-
direction: z.
|
12234
|
-
type: z.
|
12234
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
12235
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
12235
12236
|
readAt: z.ZodDate;
|
12236
12237
|
metadata: z.ZodAny;
|
12237
12238
|
platformId: z.ZodString;
|
@@ -12897,7 +12898,7 @@ export declare const mainFeedContract: {
|
|
12897
12898
|
message: string;
|
12898
12899
|
id: string;
|
12899
12900
|
url: string;
|
12900
|
-
direction:
|
12901
|
+
direction: "incoming" | "outgoing" | "system";
|
12901
12902
|
createdAt: Date;
|
12902
12903
|
updatedAt: Date;
|
12903
12904
|
deletedAt: Date | null;
|
@@ -13059,7 +13060,7 @@ export declare const mainFeedContract: {
|
|
13059
13060
|
message: string;
|
13060
13061
|
id: string;
|
13061
13062
|
url: string;
|
13062
|
-
direction:
|
13063
|
+
direction: "incoming" | "outgoing" | "system";
|
13063
13064
|
createdAt: Date;
|
13064
13065
|
updatedAt: Date;
|
13065
13066
|
deletedAt: Date | null;
|
@@ -14922,8 +14923,8 @@ export declare const mainFeedContract: {
|
|
14922
14923
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
14923
14924
|
}, {
|
14924
14925
|
message: z.ZodString;
|
14925
|
-
direction: z.
|
14926
|
-
type: z.
|
14926
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
14927
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
14927
14928
|
readAt: z.ZodDate;
|
14928
14929
|
metadata: z.ZodAny;
|
14929
14930
|
platformId: z.ZodString;
|
@@ -14950,7 +14951,7 @@ export declare const mainFeedContract: {
|
|
14950
14951
|
firstResponseTime: z.ZodNumber;
|
14951
14952
|
isLatest: z.ZodBoolean;
|
14952
14953
|
isBotRoom: z.ZodBoolean;
|
14953
|
-
direction: z.
|
14954
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
14954
14955
|
platformContact: z.ZodObject<{
|
14955
14956
|
id: z.ZodString;
|
14956
14957
|
createdAt: z.ZodDate;
|
@@ -17635,7 +17636,7 @@ export declare const mainFeedContract: {
|
|
17635
17636
|
integrationId: string;
|
17636
17637
|
} | null;
|
17637
17638
|
};
|
17638
|
-
direction:
|
17639
|
+
direction: "incoming" | "outgoing" | "system";
|
17639
17640
|
status: number;
|
17640
17641
|
createdAt: Date;
|
17641
17642
|
updatedAt: Date;
|
@@ -18064,7 +18065,7 @@ export declare const mainFeedContract: {
|
|
18064
18065
|
integrationId: string;
|
18065
18066
|
} | null;
|
18066
18067
|
};
|
18067
|
-
direction:
|
18068
|
+
direction: "incoming" | "outgoing" | "system";
|
18068
18069
|
status: number;
|
18069
18070
|
createdAt: Date;
|
18070
18071
|
updatedAt: Date;
|
@@ -18438,8 +18439,8 @@ export declare const mainFeedContract: {
|
|
18438
18439
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
18439
18440
|
}, {
|
18440
18441
|
message: z.ZodString;
|
18441
|
-
direction: z.
|
18442
|
-
type: z.
|
18442
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
18443
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
18443
18444
|
readAt: z.ZodDate;
|
18444
18445
|
metadata: z.ZodAny;
|
18445
18446
|
platformId: z.ZodString;
|
@@ -19105,7 +19106,7 @@ export declare const mainFeedContract: {
|
|
19105
19106
|
message: string;
|
19106
19107
|
id: string;
|
19107
19108
|
url: string;
|
19108
|
-
direction:
|
19109
|
+
direction: "incoming" | "outgoing" | "system";
|
19109
19110
|
createdAt: Date;
|
19110
19111
|
updatedAt: Date;
|
19111
19112
|
deletedAt: Date | null;
|
@@ -19267,7 +19268,7 @@ export declare const mainFeedContract: {
|
|
19267
19268
|
message: string;
|
19268
19269
|
id: string;
|
19269
19270
|
url: string;
|
19270
|
-
direction:
|
19271
|
+
direction: "incoming" | "outgoing" | "system";
|
19271
19272
|
createdAt: Date;
|
19272
19273
|
updatedAt: Date;
|
19273
19274
|
deletedAt: Date | null;
|
@@ -20070,7 +20071,7 @@ export declare const mainFeedContract: {
|
|
20070
20071
|
message: string;
|
20071
20072
|
id: string;
|
20072
20073
|
url: string;
|
20073
|
-
direction:
|
20074
|
+
direction: "incoming" | "outgoing" | "system";
|
20074
20075
|
createdAt: Date;
|
20075
20076
|
updatedAt: Date;
|
20076
20077
|
deletedAt: Date | null;
|
@@ -20273,7 +20274,7 @@ export declare const mainFeedContract: {
|
|
20273
20274
|
integrationId: string;
|
20274
20275
|
} | null;
|
20275
20276
|
};
|
20276
|
-
direction:
|
20277
|
+
direction: "incoming" | "outgoing" | "system";
|
20277
20278
|
status: number;
|
20278
20279
|
createdAt: Date;
|
20279
20280
|
updatedAt: Date;
|
@@ -20625,7 +20626,7 @@ export declare const mainFeedContract: {
|
|
20625
20626
|
message: string;
|
20626
20627
|
id: string;
|
20627
20628
|
url: string;
|
20628
|
-
direction:
|
20629
|
+
direction: "incoming" | "outgoing" | "system";
|
20629
20630
|
createdAt: Date;
|
20630
20631
|
updatedAt: Date;
|
20631
20632
|
deletedAt: Date | null;
|
@@ -20836,7 +20837,7 @@ export declare const mainFeedContract: {
|
|
20836
20837
|
message: string;
|
20837
20838
|
id: string;
|
20838
20839
|
url: string;
|
20839
|
-
direction:
|
20840
|
+
direction: "incoming" | "outgoing" | "system";
|
20840
20841
|
createdAt: Date;
|
20841
20842
|
updatedAt: Date;
|
20842
20843
|
deletedAt: Date | null;
|
@@ -21039,7 +21040,7 @@ export declare const mainFeedContract: {
|
|
21039
21040
|
integrationId: string;
|
21040
21041
|
} | null;
|
21041
21042
|
};
|
21042
|
-
direction:
|
21043
|
+
direction: "incoming" | "outgoing" | "system";
|
21043
21044
|
status: number;
|
21044
21045
|
createdAt: Date;
|
21045
21046
|
updatedAt: Date;
|
@@ -21391,7 +21392,7 @@ export declare const mainFeedContract: {
|
|
21391
21392
|
message: string;
|
21392
21393
|
id: string;
|
21393
21394
|
url: string;
|
21394
|
-
direction:
|
21395
|
+
direction: "incoming" | "outgoing" | "system";
|
21395
21396
|
createdAt: Date;
|
21396
21397
|
updatedAt: Date;
|
21397
21398
|
deletedAt: Date | null;
|
@@ -21603,13 +21604,13 @@ export declare const mainFeedContract: {
|
|
21603
21604
|
message: string;
|
21604
21605
|
id: string;
|
21605
21606
|
url: string;
|
21606
|
-
direction:
|
21607
|
+
direction: "incoming" | "outgoing" | "system";
|
21607
21608
|
children: {
|
21608
21609
|
type: string;
|
21609
21610
|
message: string;
|
21610
21611
|
id: string;
|
21611
21612
|
url: string;
|
21612
|
-
direction:
|
21613
|
+
direction: "incoming" | "outgoing" | "system";
|
21613
21614
|
createdAt: Date;
|
21614
21615
|
updatedAt: Date;
|
21615
21616
|
deletedAt: Date | null;
|
@@ -21812,7 +21813,7 @@ export declare const mainFeedContract: {
|
|
21812
21813
|
integrationId: string;
|
21813
21814
|
} | null;
|
21814
21815
|
};
|
21815
|
-
direction:
|
21816
|
+
direction: "incoming" | "outgoing" | "system";
|
21816
21817
|
status: number;
|
21817
21818
|
createdAt: Date;
|
21818
21819
|
updatedAt: Date;
|
@@ -22164,7 +22165,7 @@ export declare const mainFeedContract: {
|
|
22164
22165
|
message: string;
|
22165
22166
|
id: string;
|
22166
22167
|
url: string;
|
22167
|
-
direction:
|
22168
|
+
direction: "incoming" | "outgoing" | "system";
|
22168
22169
|
createdAt: Date;
|
22169
22170
|
updatedAt: Date;
|
22170
22171
|
deletedAt: Date | null;
|
@@ -22573,7 +22574,7 @@ export declare const mainFeedContract: {
|
|
22573
22574
|
integrationId: string;
|
22574
22575
|
} | null;
|
22575
22576
|
};
|
22576
|
-
direction:
|
22577
|
+
direction: "incoming" | "outgoing" | "system";
|
22577
22578
|
status: number;
|
22578
22579
|
createdAt: Date;
|
22579
22580
|
updatedAt: Date;
|
@@ -22925,7 +22926,7 @@ export declare const mainFeedContract: {
|
|
22925
22926
|
message: string;
|
22926
22927
|
id: string;
|
22927
22928
|
url: string;
|
22928
|
-
direction:
|
22929
|
+
direction: "incoming" | "outgoing" | "system";
|
22929
22930
|
createdAt: Date;
|
22930
22931
|
updatedAt: Date;
|
22931
22932
|
deletedAt: Date | null;
|
@@ -23263,13 +23264,13 @@ export declare const mainFeedContract: {
|
|
23263
23264
|
message: string;
|
23264
23265
|
id: string;
|
23265
23266
|
url: string;
|
23266
|
-
direction:
|
23267
|
+
direction: "incoming" | "outgoing" | "system";
|
23267
23268
|
children: {
|
23268
23269
|
type: string;
|
23269
23270
|
message: string;
|
23270
23271
|
id: string;
|
23271
23272
|
url: string;
|
23272
|
-
direction:
|
23273
|
+
direction: "incoming" | "outgoing" | "system";
|
23273
23274
|
createdAt: Date;
|
23274
23275
|
updatedAt: Date;
|
23275
23276
|
deletedAt: Date | null;
|
@@ -23472,7 +23473,7 @@ export declare const mainFeedContract: {
|
|
23472
23473
|
integrationId: string;
|
23473
23474
|
} | null;
|
23474
23475
|
};
|
23475
|
-
direction:
|
23476
|
+
direction: "incoming" | "outgoing" | "system";
|
23476
23477
|
status: number;
|
23477
23478
|
createdAt: Date;
|
23478
23479
|
updatedAt: Date;
|
@@ -23824,7 +23825,7 @@ export declare const mainFeedContract: {
|
|
23824
23825
|
message: string;
|
23825
23826
|
id: string;
|
23826
23827
|
url: string;
|
23827
|
-
direction:
|
23828
|
+
direction: "incoming" | "outgoing" | "system";
|
23828
23829
|
createdAt: Date;
|
23829
23830
|
updatedAt: Date;
|
23830
23831
|
deletedAt: Date | null;
|
@@ -24233,7 +24234,7 @@ export declare const mainFeedContract: {
|
|
24233
24234
|
integrationId: string;
|
24234
24235
|
} | null;
|
24235
24236
|
};
|
24236
|
-
direction:
|
24237
|
+
direction: "incoming" | "outgoing" | "system";
|
24237
24238
|
status: number;
|
24238
24239
|
createdAt: Date;
|
24239
24240
|
updatedAt: Date;
|
@@ -24585,7 +24586,7 @@ export declare const mainFeedContract: {
|
|
24585
24586
|
message: string;
|
24586
24587
|
id: string;
|
24587
24588
|
url: string;
|
24588
|
-
direction:
|
24589
|
+
direction: "incoming" | "outgoing" | "system";
|
24589
24590
|
createdAt: Date;
|
24590
24591
|
updatedAt: Date;
|
24591
24592
|
deletedAt: Date | null;
|
@@ -24925,13 +24926,13 @@ export declare const mainFeedContract: {
|
|
24925
24926
|
message: string;
|
24926
24927
|
id: string;
|
24927
24928
|
url: string;
|
24928
|
-
direction:
|
24929
|
+
direction: "incoming" | "outgoing" | "system";
|
24929
24930
|
children: {
|
24930
24931
|
type: string;
|
24931
24932
|
message: string;
|
24932
24933
|
id: string;
|
24933
24934
|
url: string;
|
24934
|
-
direction:
|
24935
|
+
direction: "incoming" | "outgoing" | "system";
|
24935
24936
|
createdAt: Date;
|
24936
24937
|
updatedAt: Date;
|
24937
24938
|
deletedAt: Date | null;
|
@@ -25134,7 +25135,7 @@ export declare const mainFeedContract: {
|
|
25134
25135
|
integrationId: string;
|
25135
25136
|
} | null;
|
25136
25137
|
};
|
25137
|
-
direction:
|
25138
|
+
direction: "incoming" | "outgoing" | "system";
|
25138
25139
|
status: number;
|
25139
25140
|
createdAt: Date;
|
25140
25141
|
updatedAt: Date;
|
@@ -25486,7 +25487,7 @@ export declare const mainFeedContract: {
|
|
25486
25487
|
message: string;
|
25487
25488
|
id: string;
|
25488
25489
|
url: string;
|
25489
|
-
direction:
|
25490
|
+
direction: "incoming" | "outgoing" | "system";
|
25490
25491
|
createdAt: Date;
|
25491
25492
|
updatedAt: Date;
|
25492
25493
|
deletedAt: Date | null;
|
@@ -25895,7 +25896,7 @@ export declare const mainFeedContract: {
|
|
25895
25896
|
integrationId: string;
|
25896
25897
|
} | null;
|
25897
25898
|
};
|
25898
|
-
direction:
|
25899
|
+
direction: "incoming" | "outgoing" | "system";
|
25899
25900
|
status: number;
|
25900
25901
|
createdAt: Date;
|
25901
25902
|
updatedAt: Date;
|
@@ -26247,7 +26248,7 @@ export declare const mainFeedContract: {
|
|
26247
26248
|
message: string;
|
26248
26249
|
id: string;
|
26249
26250
|
url: string;
|
26250
|
-
direction:
|
26251
|
+
direction: "incoming" | "outgoing" | "system";
|
26251
26252
|
createdAt: Date;
|
26252
26253
|
updatedAt: Date;
|
26253
26254
|
deletedAt: Date | null;
|
@@ -26591,13 +26592,13 @@ export declare const mainFeedContract: {
|
|
26591
26592
|
message: string;
|
26592
26593
|
id: string;
|
26593
26594
|
url: string;
|
26594
|
-
direction:
|
26595
|
+
direction: "incoming" | "outgoing" | "system";
|
26595
26596
|
children: {
|
26596
26597
|
type: string;
|
26597
26598
|
message: string;
|
26598
26599
|
id: string;
|
26599
26600
|
url: string;
|
26600
|
-
direction:
|
26601
|
+
direction: "incoming" | "outgoing" | "system";
|
26601
26602
|
createdAt: Date;
|
26602
26603
|
updatedAt: Date;
|
26603
26604
|
deletedAt: Date | null;
|
@@ -26800,7 +26801,7 @@ export declare const mainFeedContract: {
|
|
26800
26801
|
integrationId: string;
|
26801
26802
|
} | null;
|
26802
26803
|
};
|
26803
|
-
direction:
|
26804
|
+
direction: "incoming" | "outgoing" | "system";
|
26804
26805
|
status: number;
|
26805
26806
|
createdAt: Date;
|
26806
26807
|
updatedAt: Date;
|
@@ -27152,7 +27153,7 @@ export declare const mainFeedContract: {
|
|
27152
27153
|
message: string;
|
27153
27154
|
id: string;
|
27154
27155
|
url: string;
|
27155
|
-
direction:
|
27156
|
+
direction: "incoming" | "outgoing" | "system";
|
27156
27157
|
createdAt: Date;
|
27157
27158
|
updatedAt: Date;
|
27158
27159
|
deletedAt: Date | null;
|
@@ -27561,7 +27562,7 @@ export declare const mainFeedContract: {
|
|
27561
27562
|
integrationId: string;
|
27562
27563
|
} | null;
|
27563
27564
|
};
|
27564
|
-
direction:
|
27565
|
+
direction: "incoming" | "outgoing" | "system";
|
27565
27566
|
status: number;
|
27566
27567
|
createdAt: Date;
|
27567
27568
|
updatedAt: Date;
|
@@ -27913,7 +27914,7 @@ export declare const mainFeedContract: {
|
|
27913
27914
|
message: string;
|
27914
27915
|
id: string;
|
27915
27916
|
url: string;
|
27916
|
-
direction:
|
27917
|
+
direction: "incoming" | "outgoing" | "system";
|
27917
27918
|
createdAt: Date;
|
27918
27919
|
updatedAt: Date;
|
27919
27920
|
deletedAt: Date | null;
|
@@ -28434,7 +28435,7 @@ export declare const mainChatRoomContract: {
|
|
28434
28435
|
firstResponseTime: z.ZodNumber;
|
28435
28436
|
isLatest: z.ZodBoolean;
|
28436
28437
|
isBotRoom: z.ZodBoolean;
|
28437
|
-
direction: z.
|
28438
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
28438
28439
|
platformContact: z.ZodObject<{
|
28439
28440
|
id: z.ZodString;
|
28440
28441
|
createdAt: z.ZodDate;
|
@@ -31119,7 +31120,7 @@ export declare const mainChatRoomContract: {
|
|
31119
31120
|
integrationId: string;
|
31120
31121
|
} | null;
|
31121
31122
|
};
|
31122
|
-
direction:
|
31123
|
+
direction: "incoming" | "outgoing" | "system";
|
31123
31124
|
status: number;
|
31124
31125
|
createdAt: Date;
|
31125
31126
|
updatedAt: Date;
|
@@ -31548,7 +31549,7 @@ export declare const mainChatRoomContract: {
|
|
31548
31549
|
integrationId: string;
|
31549
31550
|
} | null;
|
31550
31551
|
};
|
31551
|
-
direction:
|
31552
|
+
direction: "incoming" | "outgoing" | "system";
|
31552
31553
|
status: number;
|
31553
31554
|
createdAt: Date;
|
31554
31555
|
updatedAt: Date;
|
@@ -31989,7 +31990,7 @@ export declare const mainChatRoomContract: {
|
|
31989
31990
|
integrationId: string;
|
31990
31991
|
} | null;
|
31991
31992
|
};
|
31992
|
-
direction:
|
31993
|
+
direction: "incoming" | "outgoing" | "system";
|
31993
31994
|
status: number;
|
31994
31995
|
createdAt: Date;
|
31995
31996
|
updatedAt: Date;
|
@@ -32428,7 +32429,7 @@ export declare const mainChatRoomContract: {
|
|
32428
32429
|
integrationId: string;
|
32429
32430
|
} | null;
|
32430
32431
|
};
|
32431
|
-
direction:
|
32432
|
+
direction: "incoming" | "outgoing" | "system";
|
32432
32433
|
status: number;
|
32433
32434
|
createdAt: Date;
|
32434
32435
|
updatedAt: Date;
|
@@ -32829,7 +32830,7 @@ export declare const mainChatRoomContract: {
|
|
32829
32830
|
firstResponseTime: z.ZodNumber;
|
32830
32831
|
isLatest: z.ZodBoolean;
|
32831
32832
|
isBotRoom: z.ZodBoolean;
|
32832
|
-
direction: z.
|
32833
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
32833
32834
|
platformContact: z.ZodObject<{
|
32834
32835
|
id: z.ZodString;
|
32835
32836
|
createdAt: z.ZodDate;
|
@@ -35514,7 +35515,7 @@ export declare const mainChatRoomContract: {
|
|
35514
35515
|
integrationId: string;
|
35515
35516
|
} | null;
|
35516
35517
|
};
|
35517
|
-
direction:
|
35518
|
+
direction: "incoming" | "outgoing" | "system";
|
35518
35519
|
status: number;
|
35519
35520
|
createdAt: Date;
|
35520
35521
|
updatedAt: Date;
|
@@ -35943,7 +35944,7 @@ export declare const mainChatRoomContract: {
|
|
35943
35944
|
integrationId: string;
|
35944
35945
|
} | null;
|
35945
35946
|
};
|
35946
|
-
direction:
|
35947
|
+
direction: "incoming" | "outgoing" | "system";
|
35947
35948
|
status: number;
|
35948
35949
|
createdAt: Date;
|
35949
35950
|
updatedAt: Date;
|
@@ -36277,8 +36278,8 @@ export declare const mainChatRoomContract: {
|
|
36277
36278
|
}>;
|
36278
36279
|
latestIncomingMessage: z.ZodObject<{
|
36279
36280
|
message: z.ZodString;
|
36280
|
-
direction: z.
|
36281
|
-
type: z.
|
36281
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
36282
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
36282
36283
|
readAt: z.ZodDate;
|
36283
36284
|
metadata: z.ZodAny;
|
36284
36285
|
platformId: z.ZodString;
|
@@ -36293,7 +36294,7 @@ export declare const mainChatRoomContract: {
|
|
36293
36294
|
type: string;
|
36294
36295
|
message: string;
|
36295
36296
|
url: string;
|
36296
|
-
direction:
|
36297
|
+
direction: "incoming" | "outgoing" | "system";
|
36297
36298
|
platformId: string;
|
36298
36299
|
platformMessageId: string;
|
36299
36300
|
readAt: Date;
|
@@ -36307,7 +36308,7 @@ export declare const mainChatRoomContract: {
|
|
36307
36308
|
type: string;
|
36308
36309
|
message: string;
|
36309
36310
|
url: string;
|
36310
|
-
direction:
|
36311
|
+
direction: "incoming" | "outgoing" | "system";
|
36311
36312
|
platformId: string;
|
36312
36313
|
platformMessageId: string;
|
36313
36314
|
readAt: Date;
|
@@ -36320,8 +36321,8 @@ export declare const mainChatRoomContract: {
|
|
36320
36321
|
}>;
|
36321
36322
|
latestMessage: z.ZodObject<{
|
36322
36323
|
message: z.ZodString;
|
36323
|
-
direction: z.
|
36324
|
-
type: z.
|
36324
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
36325
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
36325
36326
|
readAt: z.ZodDate;
|
36326
36327
|
metadata: z.ZodAny;
|
36327
36328
|
platformId: z.ZodString;
|
@@ -36336,7 +36337,7 @@ export declare const mainChatRoomContract: {
|
|
36336
36337
|
type: string;
|
36337
36338
|
message: string;
|
36338
36339
|
url: string;
|
36339
|
-
direction:
|
36340
|
+
direction: "incoming" | "outgoing" | "system";
|
36340
36341
|
platformId: string;
|
36341
36342
|
platformMessageId: string;
|
36342
36343
|
readAt: Date;
|
@@ -36350,7 +36351,7 @@ export declare const mainChatRoomContract: {
|
|
36350
36351
|
type: string;
|
36351
36352
|
message: string;
|
36352
36353
|
url: string;
|
36353
|
-
direction:
|
36354
|
+
direction: "incoming" | "outgoing" | "system";
|
36354
36355
|
platformId: string;
|
36355
36356
|
platformMessageId: string;
|
36356
36357
|
readAt: Date;
|
@@ -36460,7 +36461,7 @@ export declare const mainChatRoomContract: {
|
|
36460
36461
|
integrationId: string;
|
36461
36462
|
} | null;
|
36462
36463
|
};
|
36463
|
-
direction:
|
36464
|
+
direction: "incoming" | "outgoing" | "system";
|
36464
36465
|
status: number;
|
36465
36466
|
createdAt: Date;
|
36466
36467
|
updatedAt: Date;
|
@@ -36796,7 +36797,7 @@ export declare const mainChatRoomContract: {
|
|
36796
36797
|
type: string;
|
36797
36798
|
message: string;
|
36798
36799
|
url: string;
|
36799
|
-
direction:
|
36800
|
+
direction: "incoming" | "outgoing" | "system";
|
36800
36801
|
platformId: string;
|
36801
36802
|
platformMessageId: string;
|
36802
36803
|
readAt: Date;
|
@@ -36811,7 +36812,7 @@ export declare const mainChatRoomContract: {
|
|
36811
36812
|
type: string;
|
36812
36813
|
message: string;
|
36813
36814
|
url: string;
|
36814
|
-
direction:
|
36815
|
+
direction: "incoming" | "outgoing" | "system";
|
36815
36816
|
platformId: string;
|
36816
36817
|
platformMessageId: string;
|
36817
36818
|
readAt: Date;
|
@@ -36921,7 +36922,7 @@ export declare const mainChatRoomContract: {
|
|
36921
36922
|
integrationId: string;
|
36922
36923
|
} | null;
|
36923
36924
|
};
|
36924
|
-
direction:
|
36925
|
+
direction: "incoming" | "outgoing" | "system";
|
36925
36926
|
status: number;
|
36926
36927
|
createdAt: Date;
|
36927
36928
|
updatedAt: Date;
|
@@ -37257,7 +37258,7 @@ export declare const mainChatRoomContract: {
|
|
37257
37258
|
type: string;
|
37258
37259
|
message: string;
|
37259
37260
|
url: string;
|
37260
|
-
direction:
|
37261
|
+
direction: "incoming" | "outgoing" | "system";
|
37261
37262
|
platformId: string;
|
37262
37263
|
platformMessageId: string;
|
37263
37264
|
readAt: Date;
|
@@ -37272,7 +37273,7 @@ export declare const mainChatRoomContract: {
|
|
37272
37273
|
type: string;
|
37273
37274
|
message: string;
|
37274
37275
|
url: string;
|
37275
|
-
direction:
|
37276
|
+
direction: "incoming" | "outgoing" | "system";
|
37276
37277
|
platformId: string;
|
37277
37278
|
platformMessageId: string;
|
37278
37279
|
readAt: Date;
|
@@ -37384,7 +37385,7 @@ export declare const mainChatRoomContract: {
|
|
37384
37385
|
integrationId: string;
|
37385
37386
|
} | null;
|
37386
37387
|
};
|
37387
|
-
direction:
|
37388
|
+
direction: "incoming" | "outgoing" | "system";
|
37388
37389
|
status: number;
|
37389
37390
|
createdAt: Date;
|
37390
37391
|
updatedAt: Date;
|
@@ -37720,7 +37721,7 @@ export declare const mainChatRoomContract: {
|
|
37720
37721
|
type: string;
|
37721
37722
|
message: string;
|
37722
37723
|
url: string;
|
37723
|
-
direction:
|
37724
|
+
direction: "incoming" | "outgoing" | "system";
|
37724
37725
|
platformId: string;
|
37725
37726
|
platformMessageId: string;
|
37726
37727
|
readAt: Date;
|
@@ -37735,7 +37736,7 @@ export declare const mainChatRoomContract: {
|
|
37735
37736
|
type: string;
|
37736
37737
|
message: string;
|
37737
37738
|
url: string;
|
37738
|
-
direction:
|
37739
|
+
direction: "incoming" | "outgoing" | "system";
|
37739
37740
|
platformId: string;
|
37740
37741
|
platformMessageId: string;
|
37741
37742
|
readAt: Date;
|
@@ -37848,7 +37849,7 @@ export declare const mainChatRoomContract: {
|
|
37848
37849
|
integrationId: string;
|
37849
37850
|
} | null;
|
37850
37851
|
};
|
37851
|
-
direction:
|
37852
|
+
direction: "incoming" | "outgoing" | "system";
|
37852
37853
|
status: number;
|
37853
37854
|
createdAt: Date;
|
37854
37855
|
updatedAt: Date;
|
@@ -38184,7 +38185,7 @@ export declare const mainChatRoomContract: {
|
|
38184
38185
|
type: string;
|
38185
38186
|
message: string;
|
38186
38187
|
url: string;
|
38187
|
-
direction:
|
38188
|
+
direction: "incoming" | "outgoing" | "system";
|
38188
38189
|
platformId: string;
|
38189
38190
|
platformMessageId: string;
|
38190
38191
|
readAt: Date;
|
@@ -38199,7 +38200,7 @@ export declare const mainChatRoomContract: {
|
|
38199
38200
|
type: string;
|
38200
38201
|
message: string;
|
38201
38202
|
url: string;
|
38202
|
-
direction:
|
38203
|
+
direction: "incoming" | "outgoing" | "system";
|
38203
38204
|
platformId: string;
|
38204
38205
|
platformMessageId: string;
|
38205
38206
|
readAt: Date;
|
@@ -38275,7 +38276,7 @@ export declare const mainChatRoomContract: {
|
|
38275
38276
|
firstResponseTime: z.ZodNumber;
|
38276
38277
|
isLatest: z.ZodBoolean;
|
38277
38278
|
isBotRoom: z.ZodBoolean;
|
38278
|
-
direction: z.
|
38279
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
38279
38280
|
platformContact: z.ZodObject<{
|
38280
38281
|
id: z.ZodString;
|
38281
38282
|
createdAt: z.ZodDate;
|
@@ -40962,7 +40963,7 @@ export declare const mainChatRoomContract: {
|
|
40962
40963
|
integrationId: string;
|
40963
40964
|
} | null;
|
40964
40965
|
};
|
40965
|
-
direction:
|
40966
|
+
direction: "incoming" | "outgoing" | "system";
|
40966
40967
|
status: number;
|
40967
40968
|
createdAt: Date;
|
40968
40969
|
updatedAt: Date;
|
@@ -41392,7 +41393,7 @@ export declare const mainChatRoomContract: {
|
|
41392
41393
|
integrationId: string;
|
41393
41394
|
} | null;
|
41394
41395
|
};
|
41395
|
-
direction:
|
41396
|
+
direction: "incoming" | "outgoing" | "system";
|
41396
41397
|
status: number;
|
41397
41398
|
createdAt: Date;
|
41398
41399
|
updatedAt: Date;
|
@@ -41824,7 +41825,7 @@ export declare const mainChatRoomContract: {
|
|
41824
41825
|
integrationId: string;
|
41825
41826
|
} | null;
|
41826
41827
|
};
|
41827
|
-
direction:
|
41828
|
+
direction: "incoming" | "outgoing" | "system";
|
41828
41829
|
status: number;
|
41829
41830
|
createdAt: Date;
|
41830
41831
|
updatedAt: Date;
|
@@ -42257,7 +42258,7 @@ export declare const mainChatRoomContract: {
|
|
42257
42258
|
integrationId: string;
|
42258
42259
|
} | null;
|
42259
42260
|
};
|
42260
|
-
direction:
|
42261
|
+
direction: "incoming" | "outgoing" | "system";
|
42261
42262
|
status: number;
|
42262
42263
|
createdAt: Date;
|
42263
42264
|
updatedAt: Date;
|
@@ -42652,7 +42653,7 @@ export declare const mainChatRoomContract: {
|
|
42652
42653
|
firstResponseTime: z.ZodNumber;
|
42653
42654
|
isLatest: z.ZodBoolean;
|
42654
42655
|
isBotRoom: z.ZodBoolean;
|
42655
|
-
direction: z.
|
42656
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
42656
42657
|
platformContact: z.ZodObject<{
|
42657
42658
|
id: z.ZodString;
|
42658
42659
|
createdAt: z.ZodDate;
|
@@ -46119,7 +46120,7 @@ export declare const mainChatRoomContract: {
|
|
46119
46120
|
integrationId: string;
|
46120
46121
|
} | null;
|
46121
46122
|
};
|
46122
|
-
direction:
|
46123
|
+
direction: "incoming" | "outgoing" | "system";
|
46123
46124
|
status: number;
|
46124
46125
|
createdAt: Date;
|
46125
46126
|
updatedAt: Date;
|
@@ -46661,7 +46662,7 @@ export declare const mainChatRoomContract: {
|
|
46661
46662
|
integrationId: string;
|
46662
46663
|
} | null;
|
46663
46664
|
};
|
46664
|
-
direction:
|
46665
|
+
direction: "incoming" | "outgoing" | "system";
|
46665
46666
|
status: number;
|
46666
46667
|
createdAt: Date;
|
46667
46668
|
updatedAt: Date;
|
@@ -47205,7 +47206,7 @@ export declare const mainChatRoomContract: {
|
|
47205
47206
|
integrationId: string;
|
47206
47207
|
} | null;
|
47207
47208
|
};
|
47208
|
-
direction:
|
47209
|
+
direction: "incoming" | "outgoing" | "system";
|
47209
47210
|
status: number;
|
47210
47211
|
createdAt: Date;
|
47211
47212
|
updatedAt: Date;
|
@@ -47750,7 +47751,7 @@ export declare const mainChatRoomContract: {
|
|
47750
47751
|
integrationId: string;
|
47751
47752
|
} | null;
|
47752
47753
|
};
|
47753
|
-
direction:
|
47754
|
+
direction: "incoming" | "outgoing" | "system";
|
47754
47755
|
status: number;
|
47755
47756
|
createdAt: Date;
|
47756
47757
|
updatedAt: Date;
|
@@ -48247,7 +48248,7 @@ export declare const mainChatRoomContract: {
|
|
48247
48248
|
firstResponseTime: z.ZodNumber;
|
48248
48249
|
isLatest: z.ZodBoolean;
|
48249
48250
|
isBotRoom: z.ZodBoolean;
|
48250
|
-
direction: z.
|
48251
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
48251
48252
|
platformContact: z.ZodObject<{
|
48252
48253
|
id: z.ZodString;
|
48253
48254
|
createdAt: z.ZodDate;
|
@@ -50934,7 +50935,7 @@ export declare const mainChatRoomContract: {
|
|
50934
50935
|
integrationId: string;
|
50935
50936
|
} | null;
|
50936
50937
|
};
|
50937
|
-
direction:
|
50938
|
+
direction: "incoming" | "outgoing" | "system";
|
50938
50939
|
description: string | null;
|
50939
50940
|
status: number;
|
50940
50941
|
createdAt: Date;
|
@@ -51364,7 +51365,7 @@ export declare const mainChatRoomContract: {
|
|
51364
51365
|
integrationId: string;
|
51365
51366
|
} | null;
|
51366
51367
|
};
|
51367
|
-
direction:
|
51368
|
+
direction: "incoming" | "outgoing" | "system";
|
51368
51369
|
description: string | null;
|
51369
51370
|
status: number;
|
51370
51371
|
createdAt: Date;
|
@@ -51796,7 +51797,7 @@ export declare const mainChatRoomContract: {
|
|
51796
51797
|
integrationId: string;
|
51797
51798
|
} | null;
|
51798
51799
|
};
|
51799
|
-
direction:
|
51800
|
+
direction: "incoming" | "outgoing" | "system";
|
51800
51801
|
description: string | null;
|
51801
51802
|
status: number;
|
51802
51803
|
createdAt: Date;
|
@@ -52229,7 +52230,7 @@ export declare const mainChatRoomContract: {
|
|
52229
52230
|
integrationId: string;
|
52230
52231
|
} | null;
|
52231
52232
|
};
|
52232
|
-
direction:
|
52233
|
+
direction: "incoming" | "outgoing" | "system";
|
52233
52234
|
description: string | null;
|
52234
52235
|
status: number;
|
52235
52236
|
createdAt: Date;
|
@@ -52629,7 +52630,7 @@ export declare const mainChatRoomContract: {
|
|
52629
52630
|
firstResponseTime: z.ZodNumber;
|
52630
52631
|
isLatest: z.ZodBoolean;
|
52631
52632
|
isBotRoom: z.ZodBoolean;
|
52632
|
-
direction: z.
|
52633
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
52633
52634
|
platformContact: z.ZodObject<{
|
52634
52635
|
id: z.ZodString;
|
52635
52636
|
createdAt: z.ZodDate;
|
@@ -55316,7 +55317,7 @@ export declare const mainChatRoomContract: {
|
|
55316
55317
|
integrationId: string;
|
55317
55318
|
} | null;
|
55318
55319
|
};
|
55319
|
-
direction:
|
55320
|
+
direction: "incoming" | "outgoing" | "system";
|
55320
55321
|
status: number;
|
55321
55322
|
createdAt: Date;
|
55322
55323
|
updatedAt: Date;
|
@@ -55745,7 +55746,7 @@ export declare const mainChatRoomContract: {
|
|
55745
55746
|
integrationId: string;
|
55746
55747
|
} | null;
|
55747
55748
|
};
|
55748
|
-
direction:
|
55749
|
+
direction: "incoming" | "outgoing" | "system";
|
55749
55750
|
status: number;
|
55750
55751
|
createdAt: Date;
|
55751
55752
|
updatedAt: Date;
|
@@ -56176,7 +56177,7 @@ export declare const mainChatRoomContract: {
|
|
56176
56177
|
integrationId: string;
|
56177
56178
|
} | null;
|
56178
56179
|
};
|
56179
|
-
direction:
|
56180
|
+
direction: "incoming" | "outgoing" | "system";
|
56180
56181
|
status: number;
|
56181
56182
|
createdAt: Date;
|
56182
56183
|
updatedAt: Date;
|
@@ -56611,7 +56612,7 @@ export declare const mainChatRoomContract: {
|
|
56611
56612
|
integrationId: string;
|
56612
56613
|
} | null;
|
56613
56614
|
};
|
56614
|
-
direction:
|
56615
|
+
direction: "incoming" | "outgoing" | "system";
|
56615
56616
|
status: number;
|
56616
56617
|
createdAt: Date;
|
56617
56618
|
updatedAt: Date;
|
@@ -56955,7 +56956,7 @@ export declare const mainChatContract: {
|
|
56955
56956
|
sendMessage: {
|
56956
56957
|
body: z.ZodObject<{
|
56957
56958
|
roomId: z.ZodString;
|
56958
|
-
messageType: z.
|
56959
|
+
messageType: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
56959
56960
|
message: z.ZodOptional<z.ZodString>;
|
56960
56961
|
messageAttachments: z.ZodOptional<z.ZodObject<{
|
56961
56962
|
bucketName: z.ZodString;
|
@@ -57399,8 +57400,8 @@ export declare const mainChatContract: {
|
|
57399
57400
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
57400
57401
|
}, {
|
57401
57402
|
message: z.ZodString;
|
57402
|
-
direction: z.
|
57403
|
-
type: z.
|
57403
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
57404
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
57404
57405
|
readAt: z.ZodDate;
|
57405
57406
|
metadata: z.ZodAny;
|
57406
57407
|
platformId: z.ZodString;
|
@@ -57427,7 +57428,7 @@ export declare const mainChatContract: {
|
|
57427
57428
|
firstResponseTime: z.ZodNumber;
|
57428
57429
|
isLatest: z.ZodBoolean;
|
57429
57430
|
isBotRoom: z.ZodBoolean;
|
57430
|
-
direction: z.
|
57431
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
57431
57432
|
platformContact: z.ZodObject<{
|
57432
57433
|
id: z.ZodString;
|
57433
57434
|
createdAt: z.ZodDate;
|
@@ -60112,7 +60113,7 @@ export declare const mainChatContract: {
|
|
60112
60113
|
integrationId: string;
|
60113
60114
|
} | null;
|
60114
60115
|
};
|
60115
|
-
direction:
|
60116
|
+
direction: "incoming" | "outgoing" | "system";
|
60116
60117
|
status: number;
|
60117
60118
|
createdAt: Date;
|
60118
60119
|
updatedAt: Date;
|
@@ -60541,7 +60542,7 @@ export declare const mainChatContract: {
|
|
60541
60542
|
integrationId: string;
|
60542
60543
|
} | null;
|
60543
60544
|
};
|
60544
|
-
direction:
|
60545
|
+
direction: "incoming" | "outgoing" | "system";
|
60545
60546
|
status: number;
|
60546
60547
|
createdAt: Date;
|
60547
60548
|
updatedAt: Date;
|
@@ -60915,8 +60916,8 @@ export declare const mainChatContract: {
|
|
60915
60916
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
60916
60917
|
}, {
|
60917
60918
|
message: z.ZodString;
|
60918
|
-
direction: z.
|
60919
|
-
type: z.
|
60919
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
60920
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
60920
60921
|
readAt: z.ZodDate;
|
60921
60922
|
metadata: z.ZodAny;
|
60922
60923
|
platformId: z.ZodString;
|
@@ -61582,7 +61583,7 @@ export declare const mainChatContract: {
|
|
61582
61583
|
message: string;
|
61583
61584
|
id: string;
|
61584
61585
|
url: string;
|
61585
|
-
direction:
|
61586
|
+
direction: "incoming" | "outgoing" | "system";
|
61586
61587
|
createdAt: Date;
|
61587
61588
|
updatedAt: Date;
|
61588
61589
|
deletedAt: Date | null;
|
@@ -61744,7 +61745,7 @@ export declare const mainChatContract: {
|
|
61744
61745
|
message: string;
|
61745
61746
|
id: string;
|
61746
61747
|
url: string;
|
61747
|
-
direction:
|
61748
|
+
direction: "incoming" | "outgoing" | "system";
|
61748
61749
|
createdAt: Date;
|
61749
61750
|
updatedAt: Date;
|
61750
61751
|
deletedAt: Date | null;
|
@@ -62550,8 +62551,8 @@ export declare const mainChatContract: {
|
|
62550
62551
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
62551
62552
|
}, {
|
62552
62553
|
message: z.ZodString;
|
62553
|
-
direction: z.
|
62554
|
-
type: z.
|
62554
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
62555
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
62555
62556
|
readAt: z.ZodDate;
|
62556
62557
|
metadata: z.ZodAny;
|
62557
62558
|
platformId: z.ZodString;
|
@@ -62578,7 +62579,7 @@ export declare const mainChatContract: {
|
|
62578
62579
|
firstResponseTime: z.ZodNumber;
|
62579
62580
|
isLatest: z.ZodBoolean;
|
62580
62581
|
isBotRoom: z.ZodBoolean;
|
62581
|
-
direction: z.
|
62582
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
62582
62583
|
platformContact: z.ZodObject<{
|
62583
62584
|
id: z.ZodString;
|
62584
62585
|
createdAt: z.ZodDate;
|
@@ -65263,7 +65264,7 @@ export declare const mainChatContract: {
|
|
65263
65264
|
integrationId: string;
|
65264
65265
|
} | null;
|
65265
65266
|
};
|
65266
|
-
direction:
|
65267
|
+
direction: "incoming" | "outgoing" | "system";
|
65267
65268
|
status: number;
|
65268
65269
|
createdAt: Date;
|
65269
65270
|
updatedAt: Date;
|
@@ -65692,7 +65693,7 @@ export declare const mainChatContract: {
|
|
65692
65693
|
integrationId: string;
|
65693
65694
|
} | null;
|
65694
65695
|
};
|
65695
|
-
direction:
|
65696
|
+
direction: "incoming" | "outgoing" | "system";
|
65696
65697
|
status: number;
|
65697
65698
|
createdAt: Date;
|
65698
65699
|
updatedAt: Date;
|
@@ -66066,8 +66067,8 @@ export declare const mainChatContract: {
|
|
66066
66067
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
66067
66068
|
}, {
|
66068
66069
|
message: z.ZodString;
|
66069
|
-
direction: z.
|
66070
|
-
type: z.
|
66070
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
66071
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
66071
66072
|
readAt: z.ZodDate;
|
66072
66073
|
metadata: z.ZodAny;
|
66073
66074
|
platformId: z.ZodString;
|
@@ -66733,7 +66734,7 @@ export declare const mainChatContract: {
|
|
66733
66734
|
message: string;
|
66734
66735
|
id: string;
|
66735
66736
|
url: string;
|
66736
|
-
direction:
|
66737
|
+
direction: "incoming" | "outgoing" | "system";
|
66737
66738
|
createdAt: Date;
|
66738
66739
|
updatedAt: Date;
|
66739
66740
|
deletedAt: Date | null;
|
@@ -66895,7 +66896,7 @@ export declare const mainChatContract: {
|
|
66895
66896
|
message: string;
|
66896
66897
|
id: string;
|
66897
66898
|
url: string;
|
66898
|
-
direction:
|
66899
|
+
direction: "incoming" | "outgoing" | "system";
|
66899
66900
|
createdAt: Date;
|
66900
66901
|
updatedAt: Date;
|
66901
66902
|
deletedAt: Date | null;
|
@@ -67698,7 +67699,7 @@ export declare const mainChatContract: {
|
|
67698
67699
|
message: string;
|
67699
67700
|
id: string;
|
67700
67701
|
url: string;
|
67701
|
-
direction:
|
67702
|
+
direction: "incoming" | "outgoing" | "system";
|
67702
67703
|
createdAt: Date;
|
67703
67704
|
updatedAt: Date;
|
67704
67705
|
deletedAt: Date | null;
|
@@ -67901,7 +67902,7 @@ export declare const mainChatContract: {
|
|
67901
67902
|
integrationId: string;
|
67902
67903
|
} | null;
|
67903
67904
|
};
|
67904
|
-
direction:
|
67905
|
+
direction: "incoming" | "outgoing" | "system";
|
67905
67906
|
status: number;
|
67906
67907
|
createdAt: Date;
|
67907
67908
|
updatedAt: Date;
|
@@ -68253,7 +68254,7 @@ export declare const mainChatContract: {
|
|
68253
68254
|
message: string;
|
68254
68255
|
id: string;
|
68255
68256
|
url: string;
|
68256
|
-
direction:
|
68257
|
+
direction: "incoming" | "outgoing" | "system";
|
68257
68258
|
createdAt: Date;
|
68258
68259
|
updatedAt: Date;
|
68259
68260
|
deletedAt: Date | null;
|
@@ -68464,7 +68465,7 @@ export declare const mainChatContract: {
|
|
68464
68465
|
message: string;
|
68465
68466
|
id: string;
|
68466
68467
|
url: string;
|
68467
|
-
direction:
|
68468
|
+
direction: "incoming" | "outgoing" | "system";
|
68468
68469
|
createdAt: Date;
|
68469
68470
|
updatedAt: Date;
|
68470
68471
|
deletedAt: Date | null;
|
@@ -68667,7 +68668,7 @@ export declare const mainChatContract: {
|
|
68667
68668
|
integrationId: string;
|
68668
68669
|
} | null;
|
68669
68670
|
};
|
68670
|
-
direction:
|
68671
|
+
direction: "incoming" | "outgoing" | "system";
|
68671
68672
|
status: number;
|
68672
68673
|
createdAt: Date;
|
68673
68674
|
updatedAt: Date;
|
@@ -69019,7 +69020,7 @@ export declare const mainChatContract: {
|
|
69019
69020
|
message: string;
|
69020
69021
|
id: string;
|
69021
69022
|
url: string;
|
69022
|
-
direction:
|
69023
|
+
direction: "incoming" | "outgoing" | "system";
|
69023
69024
|
createdAt: Date;
|
69024
69025
|
updatedAt: Date;
|
69025
69026
|
deletedAt: Date | null;
|
@@ -69231,7 +69232,7 @@ export declare const mainChatContract: {
|
|
69231
69232
|
message: string;
|
69232
69233
|
id: string;
|
69233
69234
|
url: string;
|
69234
|
-
direction:
|
69235
|
+
direction: "incoming" | "outgoing" | "system";
|
69235
69236
|
createdAt: Date;
|
69236
69237
|
updatedAt: Date;
|
69237
69238
|
deletedAt: Date | null;
|
@@ -69434,7 +69435,7 @@ export declare const mainChatContract: {
|
|
69434
69435
|
integrationId: string;
|
69435
69436
|
} | null;
|
69436
69437
|
};
|
69437
|
-
direction:
|
69438
|
+
direction: "incoming" | "outgoing" | "system";
|
69438
69439
|
status: number;
|
69439
69440
|
createdAt: Date;
|
69440
69441
|
updatedAt: Date;
|
@@ -69786,7 +69787,7 @@ export declare const mainChatContract: {
|
|
69786
69787
|
message: string;
|
69787
69788
|
id: string;
|
69788
69789
|
url: string;
|
69789
|
-
direction:
|
69790
|
+
direction: "incoming" | "outgoing" | "system";
|
69790
69791
|
createdAt: Date;
|
69791
69792
|
updatedAt: Date;
|
69792
69793
|
deletedAt: Date | null;
|
@@ -69997,7 +69998,7 @@ export declare const mainChatContract: {
|
|
69997
69998
|
message: string;
|
69998
69999
|
id: string;
|
69999
70000
|
url: string;
|
70000
|
-
direction:
|
70001
|
+
direction: "incoming" | "outgoing" | "system";
|
70001
70002
|
createdAt: Date;
|
70002
70003
|
updatedAt: Date;
|
70003
70004
|
deletedAt: Date | null;
|
@@ -70200,7 +70201,7 @@ export declare const mainChatContract: {
|
|
70200
70201
|
integrationId: string;
|
70201
70202
|
} | null;
|
70202
70203
|
};
|
70203
|
-
direction:
|
70204
|
+
direction: "incoming" | "outgoing" | "system";
|
70204
70205
|
status: number;
|
70205
70206
|
createdAt: Date;
|
70206
70207
|
updatedAt: Date;
|
@@ -70552,7 +70553,7 @@ export declare const mainChatContract: {
|
|
70552
70553
|
message: string;
|
70553
70554
|
id: string;
|
70554
70555
|
url: string;
|
70555
|
-
direction:
|
70556
|
+
direction: "incoming" | "outgoing" | "system";
|
70556
70557
|
createdAt: Date;
|
70557
70558
|
updatedAt: Date;
|
70558
70559
|
deletedAt: Date | null;
|
@@ -70764,7 +70765,7 @@ export declare const mainChatContract: {
|
|
70764
70765
|
message: string;
|
70765
70766
|
id: string;
|
70766
70767
|
url: string;
|
70767
|
-
direction:
|
70768
|
+
direction: "incoming" | "outgoing" | "system";
|
70768
70769
|
createdAt: Date;
|
70769
70770
|
updatedAt: Date;
|
70770
70771
|
deletedAt: Date | null;
|
@@ -70967,7 +70968,7 @@ export declare const mainChatContract: {
|
|
70967
70968
|
integrationId: string;
|
70968
70969
|
} | null;
|
70969
70970
|
};
|
70970
|
-
direction:
|
70971
|
+
direction: "incoming" | "outgoing" | "system";
|
70971
70972
|
status: number;
|
70972
70973
|
createdAt: Date;
|
70973
70974
|
updatedAt: Date;
|
@@ -71319,7 +71320,7 @@ export declare const mainChatContract: {
|
|
71319
71320
|
message: string;
|
71320
71321
|
id: string;
|
71321
71322
|
url: string;
|
71322
|
-
direction:
|
71323
|
+
direction: "incoming" | "outgoing" | "system";
|
71323
71324
|
createdAt: Date;
|
71324
71325
|
updatedAt: Date;
|
71325
71326
|
deletedAt: Date | null;
|
@@ -71530,7 +71531,7 @@ export declare const mainChatContract: {
|
|
71530
71531
|
message: string;
|
71531
71532
|
id: string;
|
71532
71533
|
url: string;
|
71533
|
-
direction:
|
71534
|
+
direction: "incoming" | "outgoing" | "system";
|
71534
71535
|
createdAt: Date;
|
71535
71536
|
updatedAt: Date;
|
71536
71537
|
deletedAt: Date | null;
|
@@ -71733,7 +71734,7 @@ export declare const mainChatContract: {
|
|
71733
71734
|
integrationId: string;
|
71734
71735
|
} | null;
|
71735
71736
|
};
|
71736
|
-
direction:
|
71737
|
+
direction: "incoming" | "outgoing" | "system";
|
71737
71738
|
status: number;
|
71738
71739
|
createdAt: Date;
|
71739
71740
|
updatedAt: Date;
|
@@ -72085,7 +72086,7 @@ export declare const mainChatContract: {
|
|
72085
72086
|
message: string;
|
72086
72087
|
id: string;
|
72087
72088
|
url: string;
|
72088
|
-
direction:
|
72089
|
+
direction: "incoming" | "outgoing" | "system";
|
72089
72090
|
createdAt: Date;
|
72090
72091
|
updatedAt: Date;
|
72091
72092
|
deletedAt: Date | null;
|
@@ -72299,7 +72300,7 @@ export declare const mainChatContract: {
|
|
72299
72300
|
message: string;
|
72300
72301
|
id: string;
|
72301
72302
|
url: string;
|
72302
|
-
direction:
|
72303
|
+
direction: "incoming" | "outgoing" | "system";
|
72303
72304
|
createdAt: Date;
|
72304
72305
|
updatedAt: Date;
|
72305
72306
|
deletedAt: Date | null;
|
@@ -72502,7 +72503,7 @@ export declare const mainChatContract: {
|
|
72502
72503
|
integrationId: string;
|
72503
72504
|
} | null;
|
72504
72505
|
};
|
72505
|
-
direction:
|
72506
|
+
direction: "incoming" | "outgoing" | "system";
|
72506
72507
|
status: number;
|
72507
72508
|
createdAt: Date;
|
72508
72509
|
updatedAt: Date;
|
@@ -72854,7 +72855,7 @@ export declare const mainChatContract: {
|
|
72854
72855
|
message: string;
|
72855
72856
|
id: string;
|
72856
72857
|
url: string;
|
72857
|
-
direction:
|
72858
|
+
direction: "incoming" | "outgoing" | "system";
|
72858
72859
|
createdAt: Date;
|
72859
72860
|
updatedAt: Date;
|
72860
72861
|
deletedAt: Date | null;
|
@@ -73065,7 +73066,7 @@ export declare const mainChatContract: {
|
|
73065
73066
|
message: string;
|
73066
73067
|
id: string;
|
73067
73068
|
url: string;
|
73068
|
-
direction:
|
73069
|
+
direction: "incoming" | "outgoing" | "system";
|
73069
73070
|
createdAt: Date;
|
73070
73071
|
updatedAt: Date;
|
73071
73072
|
deletedAt: Date | null;
|
@@ -73268,7 +73269,7 @@ export declare const mainChatContract: {
|
|
73268
73269
|
integrationId: string;
|
73269
73270
|
} | null;
|
73270
73271
|
};
|
73271
|
-
direction:
|
73272
|
+
direction: "incoming" | "outgoing" | "system";
|
73272
73273
|
status: number;
|
73273
73274
|
createdAt: Date;
|
73274
73275
|
updatedAt: Date;
|
@@ -73620,7 +73621,7 @@ export declare const mainChatContract: {
|
|
73620
73621
|
message: string;
|
73621
73622
|
id: string;
|
73622
73623
|
url: string;
|
73623
|
-
direction:
|
73624
|
+
direction: "incoming" | "outgoing" | "system";
|
73624
73625
|
createdAt: Date;
|
73625
73626
|
updatedAt: Date;
|
73626
73627
|
deletedAt: Date | null;
|
@@ -73835,7 +73836,7 @@ export declare const mainChatContract: {
|
|
73835
73836
|
message: string;
|
73836
73837
|
id: string;
|
73837
73838
|
url: string;
|
73838
|
-
direction:
|
73839
|
+
direction: "incoming" | "outgoing" | "system";
|
73839
73840
|
createdAt: Date;
|
73840
73841
|
updatedAt: Date;
|
73841
73842
|
deletedAt: Date | null;
|
@@ -74038,7 +74039,7 @@ export declare const mainChatContract: {
|
|
74038
74039
|
integrationId: string;
|
74039
74040
|
} | null;
|
74040
74041
|
};
|
74041
|
-
direction:
|
74042
|
+
direction: "incoming" | "outgoing" | "system";
|
74042
74043
|
status: number;
|
74043
74044
|
createdAt: Date;
|
74044
74045
|
updatedAt: Date;
|
@@ -74390,7 +74391,7 @@ export declare const mainChatContract: {
|
|
74390
74391
|
message: string;
|
74391
74392
|
id: string;
|
74392
74393
|
url: string;
|
74393
|
-
direction:
|
74394
|
+
direction: "incoming" | "outgoing" | "system";
|
74394
74395
|
createdAt: Date;
|
74395
74396
|
updatedAt: Date;
|
74396
74397
|
deletedAt: Date | null;
|
@@ -74601,7 +74602,7 @@ export declare const mainChatContract: {
|
|
74601
74602
|
message: string;
|
74602
74603
|
id: string;
|
74603
74604
|
url: string;
|
74604
|
-
direction:
|
74605
|
+
direction: "incoming" | "outgoing" | "system";
|
74605
74606
|
createdAt: Date;
|
74606
74607
|
updatedAt: Date;
|
74607
74608
|
deletedAt: Date | null;
|
@@ -74804,7 +74805,7 @@ export declare const mainChatContract: {
|
|
74804
74805
|
integrationId: string;
|
74805
74806
|
} | null;
|
74806
74807
|
};
|
74807
|
-
direction:
|
74808
|
+
direction: "incoming" | "outgoing" | "system";
|
74808
74809
|
status: number;
|
74809
74810
|
createdAt: Date;
|
74810
74811
|
updatedAt: Date;
|
@@ -75156,7 +75157,7 @@ export declare const mainChatContract: {
|
|
75156
75157
|
message: string;
|
75157
75158
|
id: string;
|
75158
75159
|
url: string;
|
75159
|
-
direction:
|
75160
|
+
direction: "incoming" | "outgoing" | "system";
|
75160
75161
|
createdAt: Date;
|
75161
75162
|
updatedAt: Date;
|
75162
75163
|
deletedAt: Date | null;
|
@@ -75554,8 +75555,8 @@ export declare const mainChatContract: {
|
|
75554
75555
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
75555
75556
|
}, {
|
75556
75557
|
message: z.ZodString;
|
75557
|
-
direction: z.
|
75558
|
-
type: z.
|
75558
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
75559
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
75559
75560
|
readAt: z.ZodDate;
|
75560
75561
|
metadata: z.ZodAny;
|
75561
75562
|
platformId: z.ZodString;
|
@@ -75582,7 +75583,7 @@ export declare const mainChatContract: {
|
|
75582
75583
|
firstResponseTime: z.ZodNumber;
|
75583
75584
|
isLatest: z.ZodBoolean;
|
75584
75585
|
isBotRoom: z.ZodBoolean;
|
75585
|
-
direction: z.
|
75586
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
75586
75587
|
platformContact: z.ZodObject<{
|
75587
75588
|
id: z.ZodString;
|
75588
75589
|
createdAt: z.ZodDate;
|
@@ -78267,7 +78268,7 @@ export declare const mainChatContract: {
|
|
78267
78268
|
integrationId: string;
|
78268
78269
|
} | null;
|
78269
78270
|
};
|
78270
|
-
direction:
|
78271
|
+
direction: "incoming" | "outgoing" | "system";
|
78271
78272
|
status: number;
|
78272
78273
|
createdAt: Date;
|
78273
78274
|
updatedAt: Date;
|
@@ -78696,7 +78697,7 @@ export declare const mainChatContract: {
|
|
78696
78697
|
integrationId: string;
|
78697
78698
|
} | null;
|
78698
78699
|
};
|
78699
|
-
direction:
|
78700
|
+
direction: "incoming" | "outgoing" | "system";
|
78700
78701
|
status: number;
|
78701
78702
|
createdAt: Date;
|
78702
78703
|
updatedAt: Date;
|
@@ -79070,8 +79071,8 @@ export declare const mainChatContract: {
|
|
79070
79071
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
79071
79072
|
}, {
|
79072
79073
|
message: z.ZodString;
|
79073
|
-
direction: z.
|
79074
|
-
type: z.
|
79074
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
79075
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
79075
79076
|
readAt: z.ZodDate;
|
79076
79077
|
metadata: z.ZodAny;
|
79077
79078
|
platformId: z.ZodString;
|
@@ -79737,7 +79738,7 @@ export declare const mainChatContract: {
|
|
79737
79738
|
message: string;
|
79738
79739
|
id: string;
|
79739
79740
|
url: string;
|
79740
|
-
direction:
|
79741
|
+
direction: "incoming" | "outgoing" | "system";
|
79741
79742
|
createdAt: Date;
|
79742
79743
|
updatedAt: Date;
|
79743
79744
|
deletedAt: Date | null;
|
@@ -79899,7 +79900,7 @@ export declare const mainChatContract: {
|
|
79899
79900
|
message: string;
|
79900
79901
|
id: string;
|
79901
79902
|
url: string;
|
79902
|
-
direction:
|
79903
|
+
direction: "incoming" | "outgoing" | "system";
|
79903
79904
|
createdAt: Date;
|
79904
79905
|
updatedAt: Date;
|
79905
79906
|
deletedAt: Date | null;
|
@@ -80707,7 +80708,7 @@ export declare const mainChatContract: {
|
|
80707
80708
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
80708
80709
|
}, {
|
80709
80710
|
message: z.ZodNullable<z.ZodString>;
|
80710
|
-
type: z.ZodUnion<[z.ZodEnum<[
|
80711
|
+
type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>]>;
|
80711
80712
|
metadata: z.ZodAny;
|
80712
80713
|
platformId: z.ZodString;
|
80713
80714
|
platformMessageId: z.ZodString;
|
@@ -83101,7 +83102,7 @@ export declare const mainChatContract: {
|
|
83101
83102
|
message: string;
|
83102
83103
|
id: string;
|
83103
83104
|
url: string;
|
83104
|
-
direction:
|
83105
|
+
direction: "incoming" | "outgoing" | "system";
|
83105
83106
|
createdAt: Date;
|
83106
83107
|
updatedAt: Date;
|
83107
83108
|
deletedAt: Date | null;
|
@@ -83304,7 +83305,7 @@ export declare const mainChatContract: {
|
|
83304
83305
|
integrationId: string;
|
83305
83306
|
} | null;
|
83306
83307
|
};
|
83307
|
-
direction:
|
83308
|
+
direction: "incoming" | "outgoing" | "system";
|
83308
83309
|
status: number;
|
83309
83310
|
createdAt: Date;
|
83310
83311
|
updatedAt: Date;
|
@@ -83656,7 +83657,7 @@ export declare const mainChatContract: {
|
|
83656
83657
|
message: string;
|
83657
83658
|
id: string;
|
83658
83659
|
url: string;
|
83659
|
-
direction:
|
83660
|
+
direction: "incoming" | "outgoing" | "system";
|
83660
83661
|
createdAt: Date;
|
83661
83662
|
updatedAt: Date;
|
83662
83663
|
deletedAt: Date | null;
|
@@ -84153,7 +84154,7 @@ export declare const mainChatContract: {
|
|
84153
84154
|
message: string;
|
84154
84155
|
id: string;
|
84155
84156
|
url: string;
|
84156
|
-
direction:
|
84157
|
+
direction: "incoming" | "outgoing" | "system";
|
84157
84158
|
createdAt: Date;
|
84158
84159
|
updatedAt: Date;
|
84159
84160
|
deletedAt: Date | null;
|
@@ -84356,7 +84357,7 @@ export declare const mainChatContract: {
|
|
84356
84357
|
integrationId: string;
|
84357
84358
|
} | null;
|
84358
84359
|
};
|
84359
|
-
direction:
|
84360
|
+
direction: "incoming" | "outgoing" | "system";
|
84360
84361
|
status: number;
|
84361
84362
|
createdAt: Date;
|
84362
84363
|
updatedAt: Date;
|
@@ -84708,7 +84709,7 @@ export declare const mainChatContract: {
|
|
84708
84709
|
message: string;
|
84709
84710
|
id: string;
|
84710
84711
|
url: string;
|
84711
|
-
direction:
|
84712
|
+
direction: "incoming" | "outgoing" | "system";
|
84712
84713
|
createdAt: Date;
|
84713
84714
|
updatedAt: Date;
|
84714
84715
|
deletedAt: Date | null;
|
@@ -85207,7 +85208,7 @@ export declare const mainChatContract: {
|
|
85207
85208
|
message: string;
|
85208
85209
|
id: string;
|
85209
85210
|
url: string;
|
85210
|
-
direction:
|
85211
|
+
direction: "incoming" | "outgoing" | "system";
|
85211
85212
|
createdAt: Date;
|
85212
85213
|
updatedAt: Date;
|
85213
85214
|
deletedAt: Date | null;
|
@@ -85410,7 +85411,7 @@ export declare const mainChatContract: {
|
|
85410
85411
|
integrationId: string;
|
85411
85412
|
} | null;
|
85412
85413
|
};
|
85413
|
-
direction:
|
85414
|
+
direction: "incoming" | "outgoing" | "system";
|
85414
85415
|
status: number;
|
85415
85416
|
createdAt: Date;
|
85416
85417
|
updatedAt: Date;
|
@@ -85762,7 +85763,7 @@ export declare const mainChatContract: {
|
|
85762
85763
|
message: string;
|
85763
85764
|
id: string;
|
85764
85765
|
url: string;
|
85765
|
-
direction:
|
85766
|
+
direction: "incoming" | "outgoing" | "system";
|
85766
85767
|
createdAt: Date;
|
85767
85768
|
updatedAt: Date;
|
85768
85769
|
deletedAt: Date | null;
|
@@ -86265,7 +86266,7 @@ export declare const mainChatContract: {
|
|
86265
86266
|
message: string;
|
86266
86267
|
id: string;
|
86267
86268
|
url: string;
|
86268
|
-
direction:
|
86269
|
+
direction: "incoming" | "outgoing" | "system";
|
86269
86270
|
createdAt: Date;
|
86270
86271
|
updatedAt: Date;
|
86271
86272
|
deletedAt: Date | null;
|
@@ -86468,7 +86469,7 @@ export declare const mainChatContract: {
|
|
86468
86469
|
integrationId: string;
|
86469
86470
|
} | null;
|
86470
86471
|
};
|
86471
|
-
direction:
|
86472
|
+
direction: "incoming" | "outgoing" | "system";
|
86472
86473
|
status: number;
|
86473
86474
|
createdAt: Date;
|
86474
86475
|
updatedAt: Date;
|
@@ -86820,7 +86821,7 @@ export declare const mainChatContract: {
|
|
86820
86821
|
message: string;
|
86821
86822
|
id: string;
|
86822
86823
|
url: string;
|
86823
|
-
direction:
|
86824
|
+
direction: "incoming" | "outgoing" | "system";
|
86824
86825
|
createdAt: Date;
|
86825
86826
|
updatedAt: Date;
|
86826
86827
|
deletedAt: Date | null;
|
@@ -87373,7 +87374,7 @@ export declare const mainChatContract: {
|
|
87373
87374
|
firstResponseTime: z.ZodNumber;
|
87374
87375
|
isLatest: z.ZodBoolean;
|
87375
87376
|
isBotRoom: z.ZodBoolean;
|
87376
|
-
direction: z.
|
87377
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
87377
87378
|
platformContact: z.ZodObject<{
|
87378
87379
|
id: z.ZodString;
|
87379
87380
|
createdAt: z.ZodDate;
|
@@ -90058,7 +90059,7 @@ export declare const mainChatContract: {
|
|
90058
90059
|
integrationId: string;
|
90059
90060
|
} | null;
|
90060
90061
|
};
|
90061
|
-
direction:
|
90062
|
+
direction: "incoming" | "outgoing" | "system";
|
90062
90063
|
status: number;
|
90063
90064
|
createdAt: Date;
|
90064
90065
|
updatedAt: Date;
|
@@ -90487,7 +90488,7 @@ export declare const mainChatContract: {
|
|
90487
90488
|
integrationId: string;
|
90488
90489
|
} | null;
|
90489
90490
|
};
|
90490
|
-
direction:
|
90491
|
+
direction: "incoming" | "outgoing" | "system";
|
90491
90492
|
status: number;
|
90492
90493
|
createdAt: Date;
|
90493
90494
|
updatedAt: Date;
|
@@ -90918,7 +90919,7 @@ export declare const mainChatContract: {
|
|
90918
90919
|
integrationId: string;
|
90919
90920
|
} | null;
|
90920
90921
|
};
|
90921
|
-
direction:
|
90922
|
+
direction: "incoming" | "outgoing" | "system";
|
90922
90923
|
status: number;
|
90923
90924
|
createdAt: Date;
|
90924
90925
|
updatedAt: Date;
|
@@ -91350,7 +91351,7 @@ export declare const mainChatContract: {
|
|
91350
91351
|
integrationId: string;
|
91351
91352
|
} | null;
|
91352
91353
|
};
|
91353
|
-
direction:
|
91354
|
+
direction: "incoming" | "outgoing" | "system";
|
91354
91355
|
status: number;
|
91355
91356
|
createdAt: Date;
|
91356
91357
|
updatedAt: Date;
|
@@ -91749,7 +91750,7 @@ export declare const mainChatContract: {
|
|
91749
91750
|
firstResponseTime: z.ZodNumber;
|
91750
91751
|
isLatest: z.ZodBoolean;
|
91751
91752
|
isBotRoom: z.ZodBoolean;
|
91752
|
-
direction: z.
|
91753
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
91753
91754
|
platformContact: z.ZodObject<{
|
91754
91755
|
id: z.ZodString;
|
91755
91756
|
createdAt: z.ZodDate;
|
@@ -94434,7 +94435,7 @@ export declare const mainChatContract: {
|
|
94434
94435
|
integrationId: string;
|
94435
94436
|
} | null;
|
94436
94437
|
};
|
94437
|
-
direction:
|
94438
|
+
direction: "incoming" | "outgoing" | "system";
|
94438
94439
|
status: number;
|
94439
94440
|
createdAt: Date;
|
94440
94441
|
updatedAt: Date;
|
@@ -94863,7 +94864,7 @@ export declare const mainChatContract: {
|
|
94863
94864
|
integrationId: string;
|
94864
94865
|
} | null;
|
94865
94866
|
};
|
94866
|
-
direction:
|
94867
|
+
direction: "incoming" | "outgoing" | "system";
|
94867
94868
|
status: number;
|
94868
94869
|
createdAt: Date;
|
94869
94870
|
updatedAt: Date;
|
@@ -95294,7 +95295,7 @@ export declare const mainChatContract: {
|
|
95294
95295
|
integrationId: string;
|
95295
95296
|
} | null;
|
95296
95297
|
};
|
95297
|
-
direction:
|
95298
|
+
direction: "incoming" | "outgoing" | "system";
|
95298
95299
|
status: number;
|
95299
95300
|
createdAt: Date;
|
95300
95301
|
updatedAt: Date;
|
@@ -95726,7 +95727,7 @@ export declare const mainChatContract: {
|
|
95726
95727
|
integrationId: string;
|
95727
95728
|
} | null;
|
95728
95729
|
};
|
95729
|
-
direction:
|
95730
|
+
direction: "incoming" | "outgoing" | "system";
|
95730
95731
|
status: number;
|
95731
95732
|
createdAt: Date;
|
95732
95733
|
updatedAt: Date;
|
@@ -97199,7 +97200,7 @@ export declare const mainChatContract: {
|
|
97199
97200
|
firstResponseTime: z.ZodNumber;
|
97200
97201
|
isLatest: z.ZodBoolean;
|
97201
97202
|
isBotRoom: z.ZodBoolean;
|
97202
|
-
direction: z.
|
97203
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
97203
97204
|
platformContact: z.ZodObject<{
|
97204
97205
|
id: z.ZodString;
|
97205
97206
|
createdAt: z.ZodDate;
|
@@ -99884,7 +99885,7 @@ export declare const mainChatContract: {
|
|
99884
99885
|
integrationId: string;
|
99885
99886
|
} | null;
|
99886
99887
|
};
|
99887
|
-
direction:
|
99888
|
+
direction: "incoming" | "outgoing" | "system";
|
99888
99889
|
status: number;
|
99889
99890
|
createdAt: Date;
|
99890
99891
|
updatedAt: Date;
|
@@ -100313,7 +100314,7 @@ export declare const mainChatContract: {
|
|
100313
100314
|
integrationId: string;
|
100314
100315
|
} | null;
|
100315
100316
|
};
|
100316
|
-
direction:
|
100317
|
+
direction: "incoming" | "outgoing" | "system";
|
100317
100318
|
status: number;
|
100318
100319
|
createdAt: Date;
|
100319
100320
|
updatedAt: Date;
|
@@ -100744,7 +100745,7 @@ export declare const mainChatContract: {
|
|
100744
100745
|
integrationId: string;
|
100745
100746
|
} | null;
|
100746
100747
|
};
|
100747
|
-
direction:
|
100748
|
+
direction: "incoming" | "outgoing" | "system";
|
100748
100749
|
status: number;
|
100749
100750
|
createdAt: Date;
|
100750
100751
|
updatedAt: Date;
|
@@ -101176,7 +101177,7 @@ export declare const mainChatContract: {
|
|
101176
101177
|
integrationId: string;
|
101177
101178
|
} | null;
|
101178
101179
|
};
|
101179
|
-
direction:
|
101180
|
+
direction: "incoming" | "outgoing" | "system";
|
101180
101181
|
status: number;
|
101181
101182
|
createdAt: Date;
|
101182
101183
|
updatedAt: Date;
|
@@ -101521,7 +101522,7 @@ export declare const initiateMessageContract: {
|
|
101521
101522
|
contactId: z.ZodOptional<z.ZodString>;
|
101522
101523
|
message: z.ZodObject<{
|
101523
101524
|
message: z.ZodOptional<z.ZodString>;
|
101524
|
-
messageType: z.
|
101525
|
+
messageType: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
101525
101526
|
}, "strip", z.ZodTypeAny, {
|
101526
101527
|
messageType: string;
|
101527
101528
|
message?: string | undefined;
|
@@ -101575,8 +101576,8 @@ export declare const initiateMessageContract: {
|
|
101575
101576
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
101576
101577
|
}, {
|
101577
101578
|
message: z.ZodString;
|
101578
|
-
direction: z.
|
101579
|
-
type: z.
|
101579
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
101580
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
101580
101581
|
readAt: z.ZodDate;
|
101581
101582
|
metadata: z.ZodAny;
|
101582
101583
|
platformId: z.ZodString;
|
@@ -101603,7 +101604,7 @@ export declare const initiateMessageContract: {
|
|
101603
101604
|
firstResponseTime: z.ZodNumber;
|
101604
101605
|
isLatest: z.ZodBoolean;
|
101605
101606
|
isBotRoom: z.ZodBoolean;
|
101606
|
-
direction: z.
|
101607
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
101607
101608
|
platformContact: z.ZodObject<{
|
101608
101609
|
id: z.ZodString;
|
101609
101610
|
createdAt: z.ZodDate;
|
@@ -104288,7 +104289,7 @@ export declare const initiateMessageContract: {
|
|
104288
104289
|
integrationId: string;
|
104289
104290
|
} | null;
|
104290
104291
|
};
|
104291
|
-
direction:
|
104292
|
+
direction: "incoming" | "outgoing" | "system";
|
104292
104293
|
status: number;
|
104293
104294
|
createdAt: Date;
|
104294
104295
|
updatedAt: Date;
|
@@ -104717,7 +104718,7 @@ export declare const initiateMessageContract: {
|
|
104717
104718
|
integrationId: string;
|
104718
104719
|
} | null;
|
104719
104720
|
};
|
104720
|
-
direction:
|
104721
|
+
direction: "incoming" | "outgoing" | "system";
|
104721
104722
|
status: number;
|
104722
104723
|
createdAt: Date;
|
104723
104724
|
updatedAt: Date;
|
@@ -105091,8 +105092,8 @@ export declare const initiateMessageContract: {
|
|
105091
105092
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
105092
105093
|
}, {
|
105093
105094
|
message: z.ZodString;
|
105094
|
-
direction: z.
|
105095
|
-
type: z.
|
105095
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
105096
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
105096
105097
|
readAt: z.ZodDate;
|
105097
105098
|
metadata: z.ZodAny;
|
105098
105099
|
platformId: z.ZodString;
|
@@ -105758,7 +105759,7 @@ export declare const initiateMessageContract: {
|
|
105758
105759
|
message: string;
|
105759
105760
|
id: string;
|
105760
105761
|
url: string;
|
105761
|
-
direction:
|
105762
|
+
direction: "incoming" | "outgoing" | "system";
|
105762
105763
|
createdAt: Date;
|
105763
105764
|
updatedAt: Date;
|
105764
105765
|
deletedAt: Date | null;
|
@@ -105920,7 +105921,7 @@ export declare const initiateMessageContract: {
|
|
105920
105921
|
message: string;
|
105921
105922
|
id: string;
|
105922
105923
|
url: string;
|
105923
|
-
direction:
|
105924
|
+
direction: "incoming" | "outgoing" | "system";
|
105924
105925
|
createdAt: Date;
|
105925
105926
|
updatedAt: Date;
|
105926
105927
|
deletedAt: Date | null;
|
@@ -106723,7 +106724,7 @@ export declare const initiateMessageContract: {
|
|
106723
106724
|
message: string;
|
106724
106725
|
id: string;
|
106725
106726
|
url: string;
|
106726
|
-
direction:
|
106727
|
+
direction: "incoming" | "outgoing" | "system";
|
106727
106728
|
createdAt: Date;
|
106728
106729
|
updatedAt: Date;
|
106729
106730
|
deletedAt: Date | null;
|
@@ -106926,7 +106927,7 @@ export declare const initiateMessageContract: {
|
|
106926
106927
|
integrationId: string;
|
106927
106928
|
} | null;
|
106928
106929
|
};
|
106929
|
-
direction:
|
106930
|
+
direction: "incoming" | "outgoing" | "system";
|
106930
106931
|
status: number;
|
106931
106932
|
createdAt: Date;
|
106932
106933
|
updatedAt: Date;
|
@@ -107278,7 +107279,7 @@ export declare const initiateMessageContract: {
|
|
107278
107279
|
message: string;
|
107279
107280
|
id: string;
|
107280
107281
|
url: string;
|
107281
|
-
direction:
|
107282
|
+
direction: "incoming" | "outgoing" | "system";
|
107282
107283
|
createdAt: Date;
|
107283
107284
|
updatedAt: Date;
|
107284
107285
|
deletedAt: Date | null;
|
@@ -107489,7 +107490,7 @@ export declare const initiateMessageContract: {
|
|
107489
107490
|
message: string;
|
107490
107491
|
id: string;
|
107491
107492
|
url: string;
|
107492
|
-
direction:
|
107493
|
+
direction: "incoming" | "outgoing" | "system";
|
107493
107494
|
createdAt: Date;
|
107494
107495
|
updatedAt: Date;
|
107495
107496
|
deletedAt: Date | null;
|
@@ -107692,7 +107693,7 @@ export declare const initiateMessageContract: {
|
|
107692
107693
|
integrationId: string;
|
107693
107694
|
} | null;
|
107694
107695
|
};
|
107695
|
-
direction:
|
107696
|
+
direction: "incoming" | "outgoing" | "system";
|
107696
107697
|
status: number;
|
107697
107698
|
createdAt: Date;
|
107698
107699
|
updatedAt: Date;
|
@@ -108044,7 +108045,7 @@ export declare const initiateMessageContract: {
|
|
108044
108045
|
message: string;
|
108045
108046
|
id: string;
|
108046
108047
|
url: string;
|
108047
|
-
direction:
|
108048
|
+
direction: "incoming" | "outgoing" | "system";
|
108048
108049
|
createdAt: Date;
|
108049
108050
|
updatedAt: Date;
|
108050
108051
|
deletedAt: Date | null;
|
@@ -108257,7 +108258,7 @@ export declare const initiateMessageContract: {
|
|
108257
108258
|
message: string;
|
108258
108259
|
id: string;
|
108259
108260
|
url: string;
|
108260
|
-
direction:
|
108261
|
+
direction: "incoming" | "outgoing" | "system";
|
108261
108262
|
createdAt: Date;
|
108262
108263
|
updatedAt: Date;
|
108263
108264
|
deletedAt: Date | null;
|
@@ -108460,7 +108461,7 @@ export declare const initiateMessageContract: {
|
|
108460
108461
|
integrationId: string;
|
108461
108462
|
} | null;
|
108462
108463
|
};
|
108463
|
-
direction:
|
108464
|
+
direction: "incoming" | "outgoing" | "system";
|
108464
108465
|
status: number;
|
108465
108466
|
createdAt: Date;
|
108466
108467
|
updatedAt: Date;
|
@@ -108812,7 +108813,7 @@ export declare const initiateMessageContract: {
|
|
108812
108813
|
message: string;
|
108813
108814
|
id: string;
|
108814
108815
|
url: string;
|
108815
|
-
direction:
|
108816
|
+
direction: "incoming" | "outgoing" | "system";
|
108816
108817
|
createdAt: Date;
|
108817
108818
|
updatedAt: Date;
|
108818
108819
|
deletedAt: Date | null;
|
@@ -109026,7 +109027,7 @@ export declare const initiateMessageContract: {
|
|
109026
109027
|
message: string;
|
109027
109028
|
id: string;
|
109028
109029
|
url: string;
|
109029
|
-
direction:
|
109030
|
+
direction: "incoming" | "outgoing" | "system";
|
109030
109031
|
createdAt: Date;
|
109031
109032
|
updatedAt: Date;
|
109032
109033
|
deletedAt: Date | null;
|
@@ -109229,7 +109230,7 @@ export declare const initiateMessageContract: {
|
|
109229
109230
|
integrationId: string;
|
109230
109231
|
} | null;
|
109231
109232
|
};
|
109232
|
-
direction:
|
109233
|
+
direction: "incoming" | "outgoing" | "system";
|
109233
109234
|
status: number;
|
109234
109235
|
createdAt: Date;
|
109235
109236
|
updatedAt: Date;
|
@@ -109581,7 +109582,7 @@ export declare const initiateMessageContract: {
|
|
109581
109582
|
message: string;
|
109582
109583
|
id: string;
|
109583
109584
|
url: string;
|
109584
|
-
direction:
|
109585
|
+
direction: "incoming" | "outgoing" | "system";
|
109585
109586
|
createdAt: Date;
|
109586
109587
|
updatedAt: Date;
|
109587
109588
|
deletedAt: Date | null;
|
@@ -109817,7 +109818,7 @@ export declare const mainChatMessageContract: {
|
|
109817
109818
|
sendMessage: {
|
109818
109819
|
body: z.ZodObject<{
|
109819
109820
|
roomId: z.ZodString;
|
109820
|
-
messageType: z.
|
109821
|
+
messageType: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
109821
109822
|
message: z.ZodOptional<z.ZodString>;
|
109822
109823
|
messageAttachments: z.ZodOptional<z.ZodObject<{
|
109823
109824
|
bucketName: z.ZodString;
|
@@ -110261,8 +110262,8 @@ export declare const mainChatMessageContract: {
|
|
110261
110262
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
110262
110263
|
}, {
|
110263
110264
|
message: z.ZodString;
|
110264
|
-
direction: z.
|
110265
|
-
type: z.
|
110265
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
110266
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
110266
110267
|
readAt: z.ZodDate;
|
110267
110268
|
metadata: z.ZodAny;
|
110268
110269
|
platformId: z.ZodString;
|
@@ -110289,7 +110290,7 @@ export declare const mainChatMessageContract: {
|
|
110289
110290
|
firstResponseTime: z.ZodNumber;
|
110290
110291
|
isLatest: z.ZodBoolean;
|
110291
110292
|
isBotRoom: z.ZodBoolean;
|
110292
|
-
direction: z.
|
110293
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
110293
110294
|
platformContact: z.ZodObject<{
|
110294
110295
|
id: z.ZodString;
|
110295
110296
|
createdAt: z.ZodDate;
|
@@ -112974,7 +112975,7 @@ export declare const mainChatMessageContract: {
|
|
112974
112975
|
integrationId: string;
|
112975
112976
|
} | null;
|
112976
112977
|
};
|
112977
|
-
direction:
|
112978
|
+
direction: "incoming" | "outgoing" | "system";
|
112978
112979
|
status: number;
|
112979
112980
|
createdAt: Date;
|
112980
112981
|
updatedAt: Date;
|
@@ -113403,7 +113404,7 @@ export declare const mainChatMessageContract: {
|
|
113403
113404
|
integrationId: string;
|
113404
113405
|
} | null;
|
113405
113406
|
};
|
113406
|
-
direction:
|
113407
|
+
direction: "incoming" | "outgoing" | "system";
|
113407
113408
|
status: number;
|
113408
113409
|
createdAt: Date;
|
113409
113410
|
updatedAt: Date;
|
@@ -113777,8 +113778,8 @@ export declare const mainChatMessageContract: {
|
|
113777
113778
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
113778
113779
|
}, {
|
113779
113780
|
message: z.ZodString;
|
113780
|
-
direction: z.
|
113781
|
-
type: z.
|
113781
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
113782
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
113782
113783
|
readAt: z.ZodDate;
|
113783
113784
|
metadata: z.ZodAny;
|
113784
113785
|
platformId: z.ZodString;
|
@@ -114444,7 +114445,7 @@ export declare const mainChatMessageContract: {
|
|
114444
114445
|
message: string;
|
114445
114446
|
id: string;
|
114446
114447
|
url: string;
|
114447
|
-
direction:
|
114448
|
+
direction: "incoming" | "outgoing" | "system";
|
114448
114449
|
createdAt: Date;
|
114449
114450
|
updatedAt: Date;
|
114450
114451
|
deletedAt: Date | null;
|
@@ -114606,7 +114607,7 @@ export declare const mainChatMessageContract: {
|
|
114606
114607
|
message: string;
|
114607
114608
|
id: string;
|
114608
114609
|
url: string;
|
114609
|
-
direction:
|
114610
|
+
direction: "incoming" | "outgoing" | "system";
|
114610
114611
|
createdAt: Date;
|
114611
114612
|
updatedAt: Date;
|
114612
114613
|
deletedAt: Date | null;
|
@@ -115412,8 +115413,8 @@ export declare const mainChatMessageContract: {
|
|
115412
115413
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
115413
115414
|
}, {
|
115414
115415
|
message: z.ZodString;
|
115415
|
-
direction: z.
|
115416
|
-
type: z.
|
115416
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
115417
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
115417
115418
|
readAt: z.ZodDate;
|
115418
115419
|
metadata: z.ZodAny;
|
115419
115420
|
platformId: z.ZodString;
|
@@ -115440,7 +115441,7 @@ export declare const mainChatMessageContract: {
|
|
115440
115441
|
firstResponseTime: z.ZodNumber;
|
115441
115442
|
isLatest: z.ZodBoolean;
|
115442
115443
|
isBotRoom: z.ZodBoolean;
|
115443
|
-
direction: z.
|
115444
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
115444
115445
|
platformContact: z.ZodObject<{
|
115445
115446
|
id: z.ZodString;
|
115446
115447
|
createdAt: z.ZodDate;
|
@@ -118125,7 +118126,7 @@ export declare const mainChatMessageContract: {
|
|
118125
118126
|
integrationId: string;
|
118126
118127
|
} | null;
|
118127
118128
|
};
|
118128
|
-
direction:
|
118129
|
+
direction: "incoming" | "outgoing" | "system";
|
118129
118130
|
status: number;
|
118130
118131
|
createdAt: Date;
|
118131
118132
|
updatedAt: Date;
|
@@ -118554,7 +118555,7 @@ export declare const mainChatMessageContract: {
|
|
118554
118555
|
integrationId: string;
|
118555
118556
|
} | null;
|
118556
118557
|
};
|
118557
|
-
direction:
|
118558
|
+
direction: "incoming" | "outgoing" | "system";
|
118558
118559
|
status: number;
|
118559
118560
|
createdAt: Date;
|
118560
118561
|
updatedAt: Date;
|
@@ -118928,8 +118929,8 @@ export declare const mainChatMessageContract: {
|
|
118928
118929
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
118929
118930
|
}, {
|
118930
118931
|
message: z.ZodString;
|
118931
|
-
direction: z.
|
118932
|
-
type: z.
|
118932
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
118933
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
118933
118934
|
readAt: z.ZodDate;
|
118934
118935
|
metadata: z.ZodAny;
|
118935
118936
|
platformId: z.ZodString;
|
@@ -119595,7 +119596,7 @@ export declare const mainChatMessageContract: {
|
|
119595
119596
|
message: string;
|
119596
119597
|
id: string;
|
119597
119598
|
url: string;
|
119598
|
-
direction:
|
119599
|
+
direction: "incoming" | "outgoing" | "system";
|
119599
119600
|
createdAt: Date;
|
119600
119601
|
updatedAt: Date;
|
119601
119602
|
deletedAt: Date | null;
|
@@ -119757,7 +119758,7 @@ export declare const mainChatMessageContract: {
|
|
119757
119758
|
message: string;
|
119758
119759
|
id: string;
|
119759
119760
|
url: string;
|
119760
|
-
direction:
|
119761
|
+
direction: "incoming" | "outgoing" | "system";
|
119761
119762
|
createdAt: Date;
|
119762
119763
|
updatedAt: Date;
|
119763
119764
|
deletedAt: Date | null;
|
@@ -120560,7 +120561,7 @@ export declare const mainChatMessageContract: {
|
|
120560
120561
|
message: string;
|
120561
120562
|
id: string;
|
120562
120563
|
url: string;
|
120563
|
-
direction:
|
120564
|
+
direction: "incoming" | "outgoing" | "system";
|
120564
120565
|
createdAt: Date;
|
120565
120566
|
updatedAt: Date;
|
120566
120567
|
deletedAt: Date | null;
|
@@ -120763,7 +120764,7 @@ export declare const mainChatMessageContract: {
|
|
120763
120764
|
integrationId: string;
|
120764
120765
|
} | null;
|
120765
120766
|
};
|
120766
|
-
direction:
|
120767
|
+
direction: "incoming" | "outgoing" | "system";
|
120767
120768
|
status: number;
|
120768
120769
|
createdAt: Date;
|
120769
120770
|
updatedAt: Date;
|
@@ -121115,7 +121116,7 @@ export declare const mainChatMessageContract: {
|
|
121115
121116
|
message: string;
|
121116
121117
|
id: string;
|
121117
121118
|
url: string;
|
121118
|
-
direction:
|
121119
|
+
direction: "incoming" | "outgoing" | "system";
|
121119
121120
|
createdAt: Date;
|
121120
121121
|
updatedAt: Date;
|
121121
121122
|
deletedAt: Date | null;
|
@@ -121326,7 +121327,7 @@ export declare const mainChatMessageContract: {
|
|
121326
121327
|
message: string;
|
121327
121328
|
id: string;
|
121328
121329
|
url: string;
|
121329
|
-
direction:
|
121330
|
+
direction: "incoming" | "outgoing" | "system";
|
121330
121331
|
createdAt: Date;
|
121331
121332
|
updatedAt: Date;
|
121332
121333
|
deletedAt: Date | null;
|
@@ -121529,7 +121530,7 @@ export declare const mainChatMessageContract: {
|
|
121529
121530
|
integrationId: string;
|
121530
121531
|
} | null;
|
121531
121532
|
};
|
121532
|
-
direction:
|
121533
|
+
direction: "incoming" | "outgoing" | "system";
|
121533
121534
|
status: number;
|
121534
121535
|
createdAt: Date;
|
121535
121536
|
updatedAt: Date;
|
@@ -121881,7 +121882,7 @@ export declare const mainChatMessageContract: {
|
|
121881
121882
|
message: string;
|
121882
121883
|
id: string;
|
121883
121884
|
url: string;
|
121884
|
-
direction:
|
121885
|
+
direction: "incoming" | "outgoing" | "system";
|
121885
121886
|
createdAt: Date;
|
121886
121887
|
updatedAt: Date;
|
121887
121888
|
deletedAt: Date | null;
|
@@ -122093,7 +122094,7 @@ export declare const mainChatMessageContract: {
|
|
122093
122094
|
message: string;
|
122094
122095
|
id: string;
|
122095
122096
|
url: string;
|
122096
|
-
direction:
|
122097
|
+
direction: "incoming" | "outgoing" | "system";
|
122097
122098
|
createdAt: Date;
|
122098
122099
|
updatedAt: Date;
|
122099
122100
|
deletedAt: Date | null;
|
@@ -122296,7 +122297,7 @@ export declare const mainChatMessageContract: {
|
|
122296
122297
|
integrationId: string;
|
122297
122298
|
} | null;
|
122298
122299
|
};
|
122299
|
-
direction:
|
122300
|
+
direction: "incoming" | "outgoing" | "system";
|
122300
122301
|
status: number;
|
122301
122302
|
createdAt: Date;
|
122302
122303
|
updatedAt: Date;
|
@@ -122648,7 +122649,7 @@ export declare const mainChatMessageContract: {
|
|
122648
122649
|
message: string;
|
122649
122650
|
id: string;
|
122650
122651
|
url: string;
|
122651
|
-
direction:
|
122652
|
+
direction: "incoming" | "outgoing" | "system";
|
122652
122653
|
createdAt: Date;
|
122653
122654
|
updatedAt: Date;
|
122654
122655
|
deletedAt: Date | null;
|
@@ -122859,7 +122860,7 @@ export declare const mainChatMessageContract: {
|
|
122859
122860
|
message: string;
|
122860
122861
|
id: string;
|
122861
122862
|
url: string;
|
122862
|
-
direction:
|
122863
|
+
direction: "incoming" | "outgoing" | "system";
|
122863
122864
|
createdAt: Date;
|
122864
122865
|
updatedAt: Date;
|
122865
122866
|
deletedAt: Date | null;
|
@@ -123062,7 +123063,7 @@ export declare const mainChatMessageContract: {
|
|
123062
123063
|
integrationId: string;
|
123063
123064
|
} | null;
|
123064
123065
|
};
|
123065
|
-
direction:
|
123066
|
+
direction: "incoming" | "outgoing" | "system";
|
123066
123067
|
status: number;
|
123067
123068
|
createdAt: Date;
|
123068
123069
|
updatedAt: Date;
|
@@ -123414,7 +123415,7 @@ export declare const mainChatMessageContract: {
|
|
123414
123415
|
message: string;
|
123415
123416
|
id: string;
|
123416
123417
|
url: string;
|
123417
|
-
direction:
|
123418
|
+
direction: "incoming" | "outgoing" | "system";
|
123418
123419
|
createdAt: Date;
|
123419
123420
|
updatedAt: Date;
|
123420
123421
|
deletedAt: Date | null;
|
@@ -123626,7 +123627,7 @@ export declare const mainChatMessageContract: {
|
|
123626
123627
|
message: string;
|
123627
123628
|
id: string;
|
123628
123629
|
url: string;
|
123629
|
-
direction:
|
123630
|
+
direction: "incoming" | "outgoing" | "system";
|
123630
123631
|
createdAt: Date;
|
123631
123632
|
updatedAt: Date;
|
123632
123633
|
deletedAt: Date | null;
|
@@ -123829,7 +123830,7 @@ export declare const mainChatMessageContract: {
|
|
123829
123830
|
integrationId: string;
|
123830
123831
|
} | null;
|
123831
123832
|
};
|
123832
|
-
direction:
|
123833
|
+
direction: "incoming" | "outgoing" | "system";
|
123833
123834
|
status: number;
|
123834
123835
|
createdAt: Date;
|
123835
123836
|
updatedAt: Date;
|
@@ -124181,7 +124182,7 @@ export declare const mainChatMessageContract: {
|
|
124181
124182
|
message: string;
|
124182
124183
|
id: string;
|
124183
124184
|
url: string;
|
124184
|
-
direction:
|
124185
|
+
direction: "incoming" | "outgoing" | "system";
|
124185
124186
|
createdAt: Date;
|
124186
124187
|
updatedAt: Date;
|
124187
124188
|
deletedAt: Date | null;
|
@@ -124392,7 +124393,7 @@ export declare const mainChatMessageContract: {
|
|
124392
124393
|
message: string;
|
124393
124394
|
id: string;
|
124394
124395
|
url: string;
|
124395
|
-
direction:
|
124396
|
+
direction: "incoming" | "outgoing" | "system";
|
124396
124397
|
createdAt: Date;
|
124397
124398
|
updatedAt: Date;
|
124398
124399
|
deletedAt: Date | null;
|
@@ -124595,7 +124596,7 @@ export declare const mainChatMessageContract: {
|
|
124595
124596
|
integrationId: string;
|
124596
124597
|
} | null;
|
124597
124598
|
};
|
124598
|
-
direction:
|
124599
|
+
direction: "incoming" | "outgoing" | "system";
|
124599
124600
|
status: number;
|
124600
124601
|
createdAt: Date;
|
124601
124602
|
updatedAt: Date;
|
@@ -124947,7 +124948,7 @@ export declare const mainChatMessageContract: {
|
|
124947
124948
|
message: string;
|
124948
124949
|
id: string;
|
124949
124950
|
url: string;
|
124950
|
-
direction:
|
124951
|
+
direction: "incoming" | "outgoing" | "system";
|
124951
124952
|
createdAt: Date;
|
124952
124953
|
updatedAt: Date;
|
124953
124954
|
deletedAt: Date | null;
|
@@ -125161,7 +125162,7 @@ export declare const mainChatMessageContract: {
|
|
125161
125162
|
message: string;
|
125162
125163
|
id: string;
|
125163
125164
|
url: string;
|
125164
|
-
direction:
|
125165
|
+
direction: "incoming" | "outgoing" | "system";
|
125165
125166
|
createdAt: Date;
|
125166
125167
|
updatedAt: Date;
|
125167
125168
|
deletedAt: Date | null;
|
@@ -125364,7 +125365,7 @@ export declare const mainChatMessageContract: {
|
|
125364
125365
|
integrationId: string;
|
125365
125366
|
} | null;
|
125366
125367
|
};
|
125367
|
-
direction:
|
125368
|
+
direction: "incoming" | "outgoing" | "system";
|
125368
125369
|
status: number;
|
125369
125370
|
createdAt: Date;
|
125370
125371
|
updatedAt: Date;
|
@@ -125716,7 +125717,7 @@ export declare const mainChatMessageContract: {
|
|
125716
125717
|
message: string;
|
125717
125718
|
id: string;
|
125718
125719
|
url: string;
|
125719
|
-
direction:
|
125720
|
+
direction: "incoming" | "outgoing" | "system";
|
125720
125721
|
createdAt: Date;
|
125721
125722
|
updatedAt: Date;
|
125722
125723
|
deletedAt: Date | null;
|
@@ -125927,7 +125928,7 @@ export declare const mainChatMessageContract: {
|
|
125927
125928
|
message: string;
|
125928
125929
|
id: string;
|
125929
125930
|
url: string;
|
125930
|
-
direction:
|
125931
|
+
direction: "incoming" | "outgoing" | "system";
|
125931
125932
|
createdAt: Date;
|
125932
125933
|
updatedAt: Date;
|
125933
125934
|
deletedAt: Date | null;
|
@@ -126130,7 +126131,7 @@ export declare const mainChatMessageContract: {
|
|
126130
126131
|
integrationId: string;
|
126131
126132
|
} | null;
|
126132
126133
|
};
|
126133
|
-
direction:
|
126134
|
+
direction: "incoming" | "outgoing" | "system";
|
126134
126135
|
status: number;
|
126135
126136
|
createdAt: Date;
|
126136
126137
|
updatedAt: Date;
|
@@ -126482,7 +126483,7 @@ export declare const mainChatMessageContract: {
|
|
126482
126483
|
message: string;
|
126483
126484
|
id: string;
|
126484
126485
|
url: string;
|
126485
|
-
direction:
|
126486
|
+
direction: "incoming" | "outgoing" | "system";
|
126486
126487
|
createdAt: Date;
|
126487
126488
|
updatedAt: Date;
|
126488
126489
|
deletedAt: Date | null;
|
@@ -126697,7 +126698,7 @@ export declare const mainChatMessageContract: {
|
|
126697
126698
|
message: string;
|
126698
126699
|
id: string;
|
126699
126700
|
url: string;
|
126700
|
-
direction:
|
126701
|
+
direction: "incoming" | "outgoing" | "system";
|
126701
126702
|
createdAt: Date;
|
126702
126703
|
updatedAt: Date;
|
126703
126704
|
deletedAt: Date | null;
|
@@ -126900,7 +126901,7 @@ export declare const mainChatMessageContract: {
|
|
126900
126901
|
integrationId: string;
|
126901
126902
|
} | null;
|
126902
126903
|
};
|
126903
|
-
direction:
|
126904
|
+
direction: "incoming" | "outgoing" | "system";
|
126904
126905
|
status: number;
|
126905
126906
|
createdAt: Date;
|
126906
126907
|
updatedAt: Date;
|
@@ -127252,7 +127253,7 @@ export declare const mainChatMessageContract: {
|
|
127252
127253
|
message: string;
|
127253
127254
|
id: string;
|
127254
127255
|
url: string;
|
127255
|
-
direction:
|
127256
|
+
direction: "incoming" | "outgoing" | "system";
|
127256
127257
|
createdAt: Date;
|
127257
127258
|
updatedAt: Date;
|
127258
127259
|
deletedAt: Date | null;
|
@@ -127463,7 +127464,7 @@ export declare const mainChatMessageContract: {
|
|
127463
127464
|
message: string;
|
127464
127465
|
id: string;
|
127465
127466
|
url: string;
|
127466
|
-
direction:
|
127467
|
+
direction: "incoming" | "outgoing" | "system";
|
127467
127468
|
createdAt: Date;
|
127468
127469
|
updatedAt: Date;
|
127469
127470
|
deletedAt: Date | null;
|
@@ -127666,7 +127667,7 @@ export declare const mainChatMessageContract: {
|
|
127666
127667
|
integrationId: string;
|
127667
127668
|
} | null;
|
127668
127669
|
};
|
127669
|
-
direction:
|
127670
|
+
direction: "incoming" | "outgoing" | "system";
|
127670
127671
|
status: number;
|
127671
127672
|
createdAt: Date;
|
127672
127673
|
updatedAt: Date;
|
@@ -128018,7 +128019,7 @@ export declare const mainChatMessageContract: {
|
|
128018
128019
|
message: string;
|
128019
128020
|
id: string;
|
128020
128021
|
url: string;
|
128021
|
-
direction:
|
128022
|
+
direction: "incoming" | "outgoing" | "system";
|
128022
128023
|
createdAt: Date;
|
128023
128024
|
updatedAt: Date;
|
128024
128025
|
deletedAt: Date | null;
|
@@ -128654,8 +128655,8 @@ export declare const mainChatMessageContract: {
|
|
128654
128655
|
message: z.ZodObject<{
|
128655
128656
|
id: z.ZodOptional<z.ZodString>;
|
128656
128657
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
128657
|
-
direction: z.
|
128658
|
-
type: z.
|
128658
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
128659
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
128659
128660
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
128660
128661
|
metadata: z.ZodOptional<z.ZodAny>;
|
128661
128662
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -128708,7 +128709,7 @@ export declare const mainChatMessageContract: {
|
|
128708
128709
|
feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
128709
128710
|
}, "strip", z.ZodTypeAny, {
|
128710
128711
|
type: string;
|
128711
|
-
direction:
|
128712
|
+
direction: "incoming" | "outgoing" | "system";
|
128712
128713
|
message?: string | null | undefined;
|
128713
128714
|
id?: string | undefined;
|
128714
128715
|
url?: string | null | undefined;
|
@@ -128739,7 +128740,7 @@ export declare const mainChatMessageContract: {
|
|
128739
128740
|
feedPostId?: string | null | undefined;
|
128740
128741
|
}, {
|
128741
128742
|
type: string;
|
128742
|
-
direction:
|
128743
|
+
direction: "incoming" | "outgoing" | "system";
|
128743
128744
|
message?: string | null | undefined;
|
128744
128745
|
id?: string | undefined;
|
128745
128746
|
url?: string | null | undefined;
|
@@ -128772,7 +128773,7 @@ export declare const mainChatMessageContract: {
|
|
128772
128773
|
}, "strip", z.ZodTypeAny, {
|
128773
128774
|
message: {
|
128774
128775
|
type: string;
|
128775
|
-
direction:
|
128776
|
+
direction: "incoming" | "outgoing" | "system";
|
128776
128777
|
message?: string | null | undefined;
|
128777
128778
|
id?: string | undefined;
|
128778
128779
|
url?: string | null | undefined;
|
@@ -128857,7 +128858,7 @@ export declare const mainChatMessageContract: {
|
|
128857
128858
|
}, {
|
128858
128859
|
message: {
|
128859
128860
|
type: string;
|
128860
|
-
direction:
|
128861
|
+
direction: "incoming" | "outgoing" | "system";
|
128861
128862
|
message?: string | null | undefined;
|
128862
128863
|
id?: string | undefined;
|
128863
128864
|
url?: string | null | undefined;
|
@@ -128944,7 +128945,7 @@ export declare const mainChatMessageContract: {
|
|
128944
128945
|
data: {
|
128945
128946
|
message: {
|
128946
128947
|
type: string;
|
128947
|
-
direction:
|
128948
|
+
direction: "incoming" | "outgoing" | "system";
|
128948
128949
|
message?: string | null | undefined;
|
128949
128950
|
id?: string | undefined;
|
128950
128951
|
url?: string | null | undefined;
|
@@ -129032,7 +129033,7 @@ export declare const mainChatMessageContract: {
|
|
129032
129033
|
data: {
|
129033
129034
|
message: {
|
129034
129035
|
type: string;
|
129035
|
-
direction:
|
129036
|
+
direction: "incoming" | "outgoing" | "system";
|
129036
129037
|
message?: string | null | undefined;
|
129037
129038
|
id?: string | undefined;
|
129038
129039
|
url?: string | null | undefined;
|
@@ -129166,8 +129167,8 @@ export declare const mainChatMessageContract: {
|
|
129166
129167
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
129167
129168
|
}, {
|
129168
129169
|
message: z.ZodString;
|
129169
|
-
direction: z.
|
129170
|
-
type: z.
|
129170
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
129171
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
129171
129172
|
readAt: z.ZodDate;
|
129172
129173
|
metadata: z.ZodAny;
|
129173
129174
|
platformId: z.ZodString;
|
@@ -129194,7 +129195,7 @@ export declare const mainChatMessageContract: {
|
|
129194
129195
|
firstResponseTime: z.ZodNumber;
|
129195
129196
|
isLatest: z.ZodBoolean;
|
129196
129197
|
isBotRoom: z.ZodBoolean;
|
129197
|
-
direction: z.
|
129198
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
129198
129199
|
platformContact: z.ZodObject<{
|
129199
129200
|
id: z.ZodString;
|
129200
129201
|
createdAt: z.ZodDate;
|
@@ -131879,7 +131880,7 @@ export declare const mainChatMessageContract: {
|
|
131879
131880
|
integrationId: string;
|
131880
131881
|
} | null;
|
131881
131882
|
};
|
131882
|
-
direction:
|
131883
|
+
direction: "incoming" | "outgoing" | "system";
|
131883
131884
|
status: number;
|
131884
131885
|
createdAt: Date;
|
131885
131886
|
updatedAt: Date;
|
@@ -132308,7 +132309,7 @@ export declare const mainChatMessageContract: {
|
|
132308
132309
|
integrationId: string;
|
132309
132310
|
} | null;
|
132310
132311
|
};
|
132311
|
-
direction:
|
132312
|
+
direction: "incoming" | "outgoing" | "system";
|
132312
132313
|
status: number;
|
132313
132314
|
createdAt: Date;
|
132314
132315
|
updatedAt: Date;
|
@@ -132682,8 +132683,8 @@ export declare const mainChatMessageContract: {
|
|
132682
132683
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
132683
132684
|
}, {
|
132684
132685
|
message: z.ZodString;
|
132685
|
-
direction: z.
|
132686
|
-
type: z.
|
132686
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
132687
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
132687
132688
|
readAt: z.ZodDate;
|
132688
132689
|
metadata: z.ZodAny;
|
132689
132690
|
platformId: z.ZodString;
|
@@ -133349,7 +133350,7 @@ export declare const mainChatMessageContract: {
|
|
133349
133350
|
message: string;
|
133350
133351
|
id: string;
|
133351
133352
|
url: string;
|
133352
|
-
direction:
|
133353
|
+
direction: "incoming" | "outgoing" | "system";
|
133353
133354
|
createdAt: Date;
|
133354
133355
|
updatedAt: Date;
|
133355
133356
|
deletedAt: Date | null;
|
@@ -133511,7 +133512,7 @@ export declare const mainChatMessageContract: {
|
|
133511
133512
|
message: string;
|
133512
133513
|
id: string;
|
133513
133514
|
url: string;
|
133514
|
-
direction:
|
133515
|
+
direction: "incoming" | "outgoing" | "system";
|
133515
133516
|
createdAt: Date;
|
133516
133517
|
updatedAt: Date;
|
133517
133518
|
deletedAt: Date | null;
|
@@ -134314,7 +134315,7 @@ export declare const mainChatMessageContract: {
|
|
134314
134315
|
message: string;
|
134315
134316
|
id: string;
|
134316
134317
|
url: string;
|
134317
|
-
direction:
|
134318
|
+
direction: "incoming" | "outgoing" | "system";
|
134318
134319
|
createdAt: Date;
|
134319
134320
|
updatedAt: Date;
|
134320
134321
|
deletedAt: Date | null;
|
@@ -134517,7 +134518,7 @@ export declare const mainChatMessageContract: {
|
|
134517
134518
|
integrationId: string;
|
134518
134519
|
} | null;
|
134519
134520
|
};
|
134520
|
-
direction:
|
134521
|
+
direction: "incoming" | "outgoing" | "system";
|
134521
134522
|
status: number;
|
134522
134523
|
createdAt: Date;
|
134523
134524
|
updatedAt: Date;
|
@@ -134869,7 +134870,7 @@ export declare const mainChatMessageContract: {
|
|
134869
134870
|
message: string;
|
134870
134871
|
id: string;
|
134871
134872
|
url: string;
|
134872
|
-
direction:
|
134873
|
+
direction: "incoming" | "outgoing" | "system";
|
134873
134874
|
createdAt: Date;
|
134874
134875
|
updatedAt: Date;
|
134875
134876
|
deletedAt: Date | null;
|
@@ -135080,7 +135081,7 @@ export declare const mainChatMessageContract: {
|
|
135080
135081
|
message: string;
|
135081
135082
|
id: string;
|
135082
135083
|
url: string;
|
135083
|
-
direction:
|
135084
|
+
direction: "incoming" | "outgoing" | "system";
|
135084
135085
|
createdAt: Date;
|
135085
135086
|
updatedAt: Date;
|
135086
135087
|
deletedAt: Date | null;
|
@@ -135283,7 +135284,7 @@ export declare const mainChatMessageContract: {
|
|
135283
135284
|
integrationId: string;
|
135284
135285
|
} | null;
|
135285
135286
|
};
|
135286
|
-
direction:
|
135287
|
+
direction: "incoming" | "outgoing" | "system";
|
135287
135288
|
status: number;
|
135288
135289
|
createdAt: Date;
|
135289
135290
|
updatedAt: Date;
|
@@ -135635,7 +135636,7 @@ export declare const mainChatMessageContract: {
|
|
135635
135636
|
message: string;
|
135636
135637
|
id: string;
|
135637
135638
|
url: string;
|
135638
|
-
direction:
|
135639
|
+
direction: "incoming" | "outgoing" | "system";
|
135639
135640
|
createdAt: Date;
|
135640
135641
|
updatedAt: Date;
|
135641
135642
|
deletedAt: Date | null;
|
@@ -135848,7 +135849,7 @@ export declare const mainChatMessageContract: {
|
|
135848
135849
|
message: string;
|
135849
135850
|
id: string;
|
135850
135851
|
url: string;
|
135851
|
-
direction:
|
135852
|
+
direction: "incoming" | "outgoing" | "system";
|
135852
135853
|
createdAt: Date;
|
135853
135854
|
updatedAt: Date;
|
135854
135855
|
deletedAt: Date | null;
|
@@ -136051,7 +136052,7 @@ export declare const mainChatMessageContract: {
|
|
136051
136052
|
integrationId: string;
|
136052
136053
|
} | null;
|
136053
136054
|
};
|
136054
|
-
direction:
|
136055
|
+
direction: "incoming" | "outgoing" | "system";
|
136055
136056
|
status: number;
|
136056
136057
|
createdAt: Date;
|
136057
136058
|
updatedAt: Date;
|
@@ -136403,7 +136404,7 @@ export declare const mainChatMessageContract: {
|
|
136403
136404
|
message: string;
|
136404
136405
|
id: string;
|
136405
136406
|
url: string;
|
136406
|
-
direction:
|
136407
|
+
direction: "incoming" | "outgoing" | "system";
|
136407
136408
|
createdAt: Date;
|
136408
136409
|
updatedAt: Date;
|
136409
136410
|
deletedAt: Date | null;
|
@@ -136617,7 +136618,7 @@ export declare const mainChatMessageContract: {
|
|
136617
136618
|
message: string;
|
136618
136619
|
id: string;
|
136619
136620
|
url: string;
|
136620
|
-
direction:
|
136621
|
+
direction: "incoming" | "outgoing" | "system";
|
136621
136622
|
createdAt: Date;
|
136622
136623
|
updatedAt: Date;
|
136623
136624
|
deletedAt: Date | null;
|
@@ -136820,7 +136821,7 @@ export declare const mainChatMessageContract: {
|
|
136820
136821
|
integrationId: string;
|
136821
136822
|
} | null;
|
136822
136823
|
};
|
136823
|
-
direction:
|
136824
|
+
direction: "incoming" | "outgoing" | "system";
|
136824
136825
|
status: number;
|
136825
136826
|
createdAt: Date;
|
136826
136827
|
updatedAt: Date;
|
@@ -137172,7 +137173,7 @@ export declare const mainChatMessageContract: {
|
|
137172
137173
|
message: string;
|
137173
137174
|
id: string;
|
137174
137175
|
url: string;
|
137175
|
-
direction:
|
137176
|
+
direction: "incoming" | "outgoing" | "system";
|
137176
137177
|
createdAt: Date;
|
137177
137178
|
updatedAt: Date;
|
137178
137179
|
deletedAt: Date | null;
|