@kl1/contracts 1.3.4 → 1.3.6

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