@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.
- package/dist/api-contracts/src/chat/index.d.ts +300 -301
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +78 -81
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +91 -91
- package/dist/api-contracts/src/contract.d.ts +539 -539
- package/dist/api-contracts/src/cx-log/index.d.ts +7 -7
- package/dist/api-contracts/src/cx-log/schema.d.ts +5 -5
- package/dist/api-contracts/src/facebook-feed/index.d.ts +71 -71
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +1 -1
- package/dist/api-contracts/src/index.d.ts +0 -1
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +59 -59
- package/dist/api-contracts/src/line/index.d.ts +70 -70
- package/dist/api-contracts/src/line/validation.d.ts +11 -11
- package/dist/api-contracts/src/messenger/index.d.ts +59 -59
- package/dist/api-contracts/src/sms/index.d.ts +11 -11
- package/dist/api-contracts/src/telegram/index.d.ts +59 -59
- package/dist/api-contracts/src/viber/index.d.ts +59 -59
- package/dist/api-contracts/src/webchat/index.d.ts +59 -59
- package/dist/api-contracts/src/whatsapp/index.d.ts +59 -59
- package/dist/api-contracts/src/workflow-rule/index.d.ts +34 -34
- package/dist/index.js +58 -53
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +58 -52
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -10
@@ -1,11 +1,8 @@
|
|
1
1
|
import z from 'zod';
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
export declare const
|
6
|
-
export declare const WorkflowAutoReplyMessageTypeSchema: z.ZodDefault<z.ZodEnum<["text", "image"]>>;
|
7
|
-
export declare const MessageTypeSchema: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
8
|
-
export declare const FeedPostTypeSchema: z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>;
|
2
|
+
export declare const MessageDirectionTypeSchema: z.ZodEnum<[string, ...string[]]>;
|
3
|
+
export declare const WorkflowAutoReplyMessageTypeSchema: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
|
4
|
+
export declare const MessageTypeSchema: z.ZodEnum<[string, ...string[]]>;
|
5
|
+
export declare const FeedPostTypeSchema: z.ZodEnum<[string, ...string[]]>;
|
9
6
|
/**
|
10
7
|
* Message Type Enum
|
11
8
|
*/
|
@@ -1108,7 +1105,7 @@ export declare const RoomSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
1108
1105
|
firstResponseTime: z.ZodNumber;
|
1109
1106
|
isLatest: z.ZodBoolean;
|
1110
1107
|
isBotRoom: z.ZodBoolean;
|
1111
|
-
direction: z.
|
1108
|
+
direction: z.ZodEnum<[string, ...string[]]>;
|
1112
1109
|
platformContact: z.ZodObject<{
|
1113
1110
|
id: z.ZodString;
|
1114
1111
|
createdAt: z.ZodDate;
|
@@ -3793,7 +3790,7 @@ export declare const RoomSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
3793
3790
|
integrationId: string;
|
3794
3791
|
} | null;
|
3795
3792
|
};
|
3796
|
-
direction:
|
3793
|
+
direction: string;
|
3797
3794
|
status: number;
|
3798
3795
|
createdAt: Date;
|
3799
3796
|
updatedAt: Date;
|
@@ -4222,7 +4219,7 @@ export declare const RoomSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
4222
4219
|
integrationId: string;
|
4223
4220
|
} | null;
|
4224
4221
|
};
|
4225
|
-
direction:
|
4222
|
+
direction: string;
|
4226
4223
|
status: number;
|
4227
4224
|
createdAt: Date;
|
4228
4225
|
updatedAt: Date;
|
@@ -4564,8 +4561,8 @@ export declare const MessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
4564
4561
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4565
4562
|
}, {
|
4566
4563
|
message: z.ZodString;
|
4567
|
-
direction: z.
|
4568
|
-
type: z.
|
4564
|
+
direction: z.ZodEnum<[string, ...string[]]>;
|
4565
|
+
type: z.ZodEnum<[string, ...string[]]>;
|
4569
4566
|
readAt: z.ZodDate;
|
4570
4567
|
metadata: z.ZodAny;
|
4571
4568
|
platformId: z.ZodString;
|
@@ -4592,7 +4589,7 @@ export declare const MessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
4592
4589
|
firstResponseTime: z.ZodNumber;
|
4593
4590
|
isLatest: z.ZodBoolean;
|
4594
4591
|
isBotRoom: z.ZodBoolean;
|
4595
|
-
direction: z.
|
4592
|
+
direction: z.ZodEnum<[string, ...string[]]>;
|
4596
4593
|
platformContact: z.ZodObject<{
|
4597
4594
|
id: z.ZodString;
|
4598
4595
|
createdAt: z.ZodDate;
|
@@ -7277,7 +7274,7 @@ export declare const MessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
7277
7274
|
integrationId: string;
|
7278
7275
|
} | null;
|
7279
7276
|
};
|
7280
|
-
direction:
|
7277
|
+
direction: string;
|
7281
7278
|
status: number;
|
7282
7279
|
createdAt: Date;
|
7283
7280
|
updatedAt: Date;
|
@@ -7706,7 +7703,7 @@ export declare const MessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
7706
7703
|
integrationId: string;
|
7707
7704
|
} | null;
|
7708
7705
|
};
|
7709
|
-
direction:
|
7706
|
+
direction: string;
|
7710
7707
|
status: number;
|
7711
7708
|
createdAt: Date;
|
7712
7709
|
updatedAt: Date;
|
@@ -8080,8 +8077,8 @@ export declare const MessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
8080
8077
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8081
8078
|
}, {
|
8082
8079
|
message: z.ZodString;
|
8083
|
-
direction: z.
|
8084
|
-
type: z.
|
8080
|
+
direction: z.ZodEnum<[string, ...string[]]>;
|
8081
|
+
type: z.ZodEnum<[string, ...string[]]>;
|
8085
8082
|
readAt: z.ZodDate;
|
8086
8083
|
metadata: z.ZodAny;
|
8087
8084
|
platformId: z.ZodString;
|
@@ -8747,7 +8744,7 @@ export declare const MessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
8747
8744
|
message: string;
|
8748
8745
|
id: string;
|
8749
8746
|
url: string;
|
8750
|
-
direction:
|
8747
|
+
direction: string;
|
8751
8748
|
createdAt: Date;
|
8752
8749
|
updatedAt: Date;
|
8753
8750
|
deletedAt: Date | null;
|
@@ -8909,7 +8906,7 @@ export declare const MessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
8909
8906
|
message: string;
|
8910
8907
|
id: string;
|
8911
8908
|
url: string;
|
8912
|
-
direction:
|
8909
|
+
direction: string;
|
8913
8910
|
createdAt: Date;
|
8914
8911
|
updatedAt: Date;
|
8915
8912
|
deletedAt: Date | null;
|
@@ -9712,7 +9709,7 @@ export declare const MessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
9712
9709
|
message: string;
|
9713
9710
|
id: string;
|
9714
9711
|
url: string;
|
9715
|
-
direction:
|
9712
|
+
direction: string;
|
9716
9713
|
createdAt: Date;
|
9717
9714
|
updatedAt: Date;
|
9718
9715
|
deletedAt: Date | null;
|
@@ -9915,7 +9912,7 @@ export declare const MessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
9915
9912
|
integrationId: string;
|
9916
9913
|
} | null;
|
9917
9914
|
};
|
9918
|
-
direction:
|
9915
|
+
direction: string;
|
9919
9916
|
status: number;
|
9920
9917
|
createdAt: Date;
|
9921
9918
|
updatedAt: Date;
|
@@ -10267,7 +10264,7 @@ export declare const MessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
10267
10264
|
message: string;
|
10268
10265
|
id: string;
|
10269
10266
|
url: string;
|
10270
|
-
direction:
|
10267
|
+
direction: string;
|
10271
10268
|
createdAt: Date;
|
10272
10269
|
updatedAt: Date;
|
10273
10270
|
deletedAt: Date | null;
|
@@ -10478,7 +10475,7 @@ export declare const MessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
10478
10475
|
message: string;
|
10479
10476
|
id: string;
|
10480
10477
|
url: string;
|
10481
|
-
direction:
|
10478
|
+
direction: string;
|
10482
10479
|
createdAt: Date;
|
10483
10480
|
updatedAt: Date;
|
10484
10481
|
deletedAt: Date | null;
|
@@ -10681,7 +10678,7 @@ export declare const MessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
10681
10678
|
integrationId: string;
|
10682
10679
|
} | null;
|
10683
10680
|
};
|
10684
|
-
direction:
|
10681
|
+
direction: string;
|
10685
10682
|
status: number;
|
10686
10683
|
createdAt: Date;
|
10687
10684
|
updatedAt: Date;
|
@@ -11033,7 +11030,7 @@ export declare const MessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
11033
11030
|
message: string;
|
11034
11031
|
id: string;
|
11035
11032
|
url: string;
|
11036
|
-
direction:
|
11033
|
+
direction: string;
|
11037
11034
|
createdAt: Date;
|
11038
11035
|
updatedAt: Date;
|
11039
11036
|
deletedAt: Date | null;
|
@@ -11247,8 +11244,8 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<z.objectUtil.extendS
|
|
11247
11244
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11248
11245
|
}, {
|
11249
11246
|
message: z.ZodString;
|
11250
|
-
direction: z.
|
11251
|
-
type: z.
|
11247
|
+
direction: z.ZodEnum<[string, ...string[]]>;
|
11248
|
+
type: z.ZodEnum<[string, ...string[]]>;
|
11252
11249
|
readAt: z.ZodDate;
|
11253
11250
|
metadata: z.ZodAny;
|
11254
11251
|
platformId: z.ZodString;
|
@@ -11275,7 +11272,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<z.objectUtil.extendS
|
|
11275
11272
|
firstResponseTime: z.ZodNumber;
|
11276
11273
|
isLatest: z.ZodBoolean;
|
11277
11274
|
isBotRoom: z.ZodBoolean;
|
11278
|
-
direction: z.
|
11275
|
+
direction: z.ZodEnum<[string, ...string[]]>;
|
11279
11276
|
platformContact: z.ZodObject<{
|
11280
11277
|
id: z.ZodString;
|
11281
11278
|
createdAt: z.ZodDate;
|
@@ -13960,7 +13957,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<z.objectUtil.extendS
|
|
13960
13957
|
integrationId: string;
|
13961
13958
|
} | null;
|
13962
13959
|
};
|
13963
|
-
direction:
|
13960
|
+
direction: string;
|
13964
13961
|
status: number;
|
13965
13962
|
createdAt: Date;
|
13966
13963
|
updatedAt: Date;
|
@@ -14389,7 +14386,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<z.objectUtil.extendS
|
|
14389
14386
|
integrationId: string;
|
14390
14387
|
} | null;
|
14391
14388
|
};
|
14392
|
-
direction:
|
14389
|
+
direction: string;
|
14393
14390
|
status: number;
|
14394
14391
|
createdAt: Date;
|
14395
14392
|
updatedAt: Date;
|
@@ -14763,8 +14760,8 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<z.objectUtil.extendS
|
|
14763
14760
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
14764
14761
|
}, {
|
14765
14762
|
message: z.ZodString;
|
14766
|
-
direction: z.
|
14767
|
-
type: z.
|
14763
|
+
direction: z.ZodEnum<[string, ...string[]]>;
|
14764
|
+
type: z.ZodEnum<[string, ...string[]]>;
|
14768
14765
|
readAt: z.ZodDate;
|
14769
14766
|
metadata: z.ZodAny;
|
14770
14767
|
platformId: z.ZodString;
|
@@ -15430,7 +15427,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<z.objectUtil.extendS
|
|
15430
15427
|
message: string;
|
15431
15428
|
id: string;
|
15432
15429
|
url: string;
|
15433
|
-
direction:
|
15430
|
+
direction: string;
|
15434
15431
|
createdAt: Date;
|
15435
15432
|
updatedAt: Date;
|
15436
15433
|
deletedAt: Date | null;
|
@@ -15592,7 +15589,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<z.objectUtil.extendS
|
|
15592
15589
|
message: string;
|
15593
15590
|
id: string;
|
15594
15591
|
url: string;
|
15595
|
-
direction:
|
15592
|
+
direction: string;
|
15596
15593
|
createdAt: Date;
|
15597
15594
|
updatedAt: Date;
|
15598
15595
|
deletedAt: Date | null;
|
@@ -16400,7 +16397,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<z.objectUtil.extendS
|
|
16400
16397
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
16401
16398
|
}, {
|
16402
16399
|
message: z.ZodNullable<z.ZodString>;
|
16403
|
-
type: z.ZodUnion<[z.ZodEnum<[
|
16400
|
+
type: z.ZodUnion<[z.ZodEnum<[string, ...string[]]>, z.ZodEnum<[string, ...string[]]>]>;
|
16404
16401
|
metadata: z.ZodAny;
|
16405
16402
|
platformId: z.ZodString;
|
16406
16403
|
platformMessageId: z.ZodString;
|
@@ -18794,7 +18791,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<z.objectUtil.extendS
|
|
18794
18791
|
message: string;
|
18795
18792
|
id: string;
|
18796
18793
|
url: string;
|
18797
|
-
direction:
|
18794
|
+
direction: string;
|
18798
18795
|
createdAt: Date;
|
18799
18796
|
updatedAt: Date;
|
18800
18797
|
deletedAt: Date | null;
|
@@ -18997,7 +18994,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<z.objectUtil.extendS
|
|
18997
18994
|
integrationId: string;
|
18998
18995
|
} | null;
|
18999
18996
|
};
|
19000
|
-
direction:
|
18997
|
+
direction: string;
|
19001
18998
|
status: number;
|
19002
18999
|
createdAt: Date;
|
19003
19000
|
updatedAt: Date;
|
@@ -19349,7 +19346,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<z.objectUtil.extendS
|
|
19349
19346
|
message: string;
|
19350
19347
|
id: string;
|
19351
19348
|
url: string;
|
19352
|
-
direction:
|
19349
|
+
direction: string;
|
19353
19350
|
createdAt: Date;
|
19354
19351
|
updatedAt: Date;
|
19355
19352
|
deletedAt: Date | null;
|
@@ -19846,7 +19843,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<z.objectUtil.extendS
|
|
19846
19843
|
message: string;
|
19847
19844
|
id: string;
|
19848
19845
|
url: string;
|
19849
|
-
direction:
|
19846
|
+
direction: string;
|
19850
19847
|
createdAt: Date;
|
19851
19848
|
updatedAt: Date;
|
19852
19849
|
deletedAt: Date | null;
|
@@ -20049,7 +20046,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<z.objectUtil.extendS
|
|
20049
20046
|
integrationId: string;
|
20050
20047
|
} | null;
|
20051
20048
|
};
|
20052
|
-
direction:
|
20049
|
+
direction: string;
|
20053
20050
|
status: number;
|
20054
20051
|
createdAt: Date;
|
20055
20052
|
updatedAt: Date;
|
@@ -20401,7 +20398,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<z.objectUtil.extendS
|
|
20401
20398
|
message: string;
|
20402
20399
|
id: string;
|
20403
20400
|
url: string;
|
20404
|
-
direction:
|
20401
|
+
direction: string;
|
20405
20402
|
createdAt: Date;
|
20406
20403
|
updatedAt: Date;
|
20407
20404
|
deletedAt: Date | null;
|
@@ -20901,8 +20898,8 @@ export declare const RepliedMessageSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
20901
20898
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
20902
20899
|
}, {
|
20903
20900
|
message: z.ZodString;
|
20904
|
-
direction: z.
|
20905
|
-
type: z.
|
20901
|
+
direction: z.ZodEnum<[string, ...string[]]>;
|
20902
|
+
type: z.ZodEnum<[string, ...string[]]>;
|
20906
20903
|
readAt: z.ZodDate;
|
20907
20904
|
metadata: z.ZodAny;
|
20908
20905
|
platformId: z.ZodString;
|
@@ -21568,7 +21565,7 @@ export declare const RepliedMessageSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
21568
21565
|
message: string;
|
21569
21566
|
id: string;
|
21570
21567
|
url: string;
|
21571
|
-
direction:
|
21568
|
+
direction: string;
|
21572
21569
|
createdAt: Date;
|
21573
21570
|
updatedAt: Date;
|
21574
21571
|
deletedAt: Date | null;
|
@@ -21730,7 +21727,7 @@ export declare const RepliedMessageSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
21730
21727
|
message: string;
|
21731
21728
|
id: string;
|
21732
21729
|
url: string;
|
21733
|
-
direction:
|
21730
|
+
direction: string;
|
21734
21731
|
createdAt: Date;
|
21735
21732
|
updatedAt: Date;
|
21736
21733
|
deletedAt: Date | null;
|
@@ -21908,8 +21905,8 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
21908
21905
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
21909
21906
|
}, {
|
21910
21907
|
message: z.ZodString;
|
21911
|
-
direction: z.
|
21912
|
-
type: z.
|
21908
|
+
direction: z.ZodEnum<[string, ...string[]]>;
|
21909
|
+
type: z.ZodEnum<[string, ...string[]]>;
|
21913
21910
|
readAt: z.ZodDate;
|
21914
21911
|
metadata: z.ZodAny;
|
21915
21912
|
platformId: z.ZodString;
|
@@ -21936,7 +21933,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
21936
21933
|
firstResponseTime: z.ZodNumber;
|
21937
21934
|
isLatest: z.ZodBoolean;
|
21938
21935
|
isBotRoom: z.ZodBoolean;
|
21939
|
-
direction: z.
|
21936
|
+
direction: z.ZodEnum<[string, ...string[]]>;
|
21940
21937
|
platformContact: z.ZodObject<{
|
21941
21938
|
id: z.ZodString;
|
21942
21939
|
createdAt: z.ZodDate;
|
@@ -24621,7 +24618,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
24621
24618
|
integrationId: string;
|
24622
24619
|
} | null;
|
24623
24620
|
};
|
24624
|
-
direction:
|
24621
|
+
direction: string;
|
24625
24622
|
status: number;
|
24626
24623
|
createdAt: Date;
|
24627
24624
|
updatedAt: Date;
|
@@ -25050,7 +25047,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
25050
25047
|
integrationId: string;
|
25051
25048
|
} | null;
|
25052
25049
|
};
|
25053
|
-
direction:
|
25050
|
+
direction: string;
|
25054
25051
|
status: number;
|
25055
25052
|
createdAt: Date;
|
25056
25053
|
updatedAt: Date;
|
@@ -25424,8 +25421,8 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
25424
25421
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
25425
25422
|
}, {
|
25426
25423
|
message: z.ZodString;
|
25427
|
-
direction: z.
|
25428
|
-
type: z.
|
25424
|
+
direction: z.ZodEnum<[string, ...string[]]>;
|
25425
|
+
type: z.ZodEnum<[string, ...string[]]>;
|
25429
25426
|
readAt: z.ZodDate;
|
25430
25427
|
metadata: z.ZodAny;
|
25431
25428
|
platformId: z.ZodString;
|
@@ -26091,7 +26088,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
26091
26088
|
message: string;
|
26092
26089
|
id: string;
|
26093
26090
|
url: string;
|
26094
|
-
direction:
|
26091
|
+
direction: string;
|
26095
26092
|
createdAt: Date;
|
26096
26093
|
updatedAt: Date;
|
26097
26094
|
deletedAt: Date | null;
|
@@ -26253,7 +26250,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
26253
26250
|
message: string;
|
26254
26251
|
id: string;
|
26255
26252
|
url: string;
|
26256
|
-
direction:
|
26253
|
+
direction: string;
|
26257
26254
|
createdAt: Date;
|
26258
26255
|
updatedAt: Date;
|
26259
26256
|
deletedAt: Date | null;
|
@@ -28116,8 +28113,8 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
28116
28113
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
28117
28114
|
}, {
|
28118
28115
|
message: z.ZodString;
|
28119
|
-
direction: z.
|
28120
|
-
type: z.
|
28116
|
+
direction: z.ZodEnum<[string, ...string[]]>;
|
28117
|
+
type: z.ZodEnum<[string, ...string[]]>;
|
28121
28118
|
readAt: z.ZodDate;
|
28122
28119
|
metadata: z.ZodAny;
|
28123
28120
|
platformId: z.ZodString;
|
@@ -28144,7 +28141,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
28144
28141
|
firstResponseTime: z.ZodNumber;
|
28145
28142
|
isLatest: z.ZodBoolean;
|
28146
28143
|
isBotRoom: z.ZodBoolean;
|
28147
|
-
direction: z.
|
28144
|
+
direction: z.ZodEnum<[string, ...string[]]>;
|
28148
28145
|
platformContact: z.ZodObject<{
|
28149
28146
|
id: z.ZodString;
|
28150
28147
|
createdAt: z.ZodDate;
|
@@ -30829,7 +30826,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
30829
30826
|
integrationId: string;
|
30830
30827
|
} | null;
|
30831
30828
|
};
|
30832
|
-
direction:
|
30829
|
+
direction: string;
|
30833
30830
|
status: number;
|
30834
30831
|
createdAt: Date;
|
30835
30832
|
updatedAt: Date;
|
@@ -31258,7 +31255,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
31258
31255
|
integrationId: string;
|
31259
31256
|
} | null;
|
31260
31257
|
};
|
31261
|
-
direction:
|
31258
|
+
direction: string;
|
31262
31259
|
status: number;
|
31263
31260
|
createdAt: Date;
|
31264
31261
|
updatedAt: Date;
|
@@ -31632,8 +31629,8 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
31632
31629
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
31633
31630
|
}, {
|
31634
31631
|
message: z.ZodString;
|
31635
|
-
direction: z.
|
31636
|
-
type: z.
|
31632
|
+
direction: z.ZodEnum<[string, ...string[]]>;
|
31633
|
+
type: z.ZodEnum<[string, ...string[]]>;
|
31637
31634
|
readAt: z.ZodDate;
|
31638
31635
|
metadata: z.ZodAny;
|
31639
31636
|
platformId: z.ZodString;
|
@@ -32299,7 +32296,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
32299
32296
|
message: string;
|
32300
32297
|
id: string;
|
32301
32298
|
url: string;
|
32302
|
-
direction:
|
32299
|
+
direction: string;
|
32303
32300
|
createdAt: Date;
|
32304
32301
|
updatedAt: Date;
|
32305
32302
|
deletedAt: Date | null;
|
@@ -32461,7 +32458,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
32461
32458
|
message: string;
|
32462
32459
|
id: string;
|
32463
32460
|
url: string;
|
32464
|
-
direction:
|
32461
|
+
direction: string;
|
32465
32462
|
createdAt: Date;
|
32466
32463
|
updatedAt: Date;
|
32467
32464
|
deletedAt: Date | null;
|
@@ -33264,7 +33261,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
33264
33261
|
message: string;
|
33265
33262
|
id: string;
|
33266
33263
|
url: string;
|
33267
|
-
direction:
|
33264
|
+
direction: string;
|
33268
33265
|
createdAt: Date;
|
33269
33266
|
updatedAt: Date;
|
33270
33267
|
deletedAt: Date | null;
|
@@ -33467,7 +33464,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
33467
33464
|
integrationId: string;
|
33468
33465
|
} | null;
|
33469
33466
|
};
|
33470
|
-
direction:
|
33467
|
+
direction: string;
|
33471
33468
|
status: number;
|
33472
33469
|
createdAt: Date;
|
33473
33470
|
updatedAt: Date;
|
@@ -33819,7 +33816,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
33819
33816
|
message: string;
|
33820
33817
|
id: string;
|
33821
33818
|
url: string;
|
33822
|
-
direction:
|
33819
|
+
direction: string;
|
33823
33820
|
createdAt: Date;
|
33824
33821
|
updatedAt: Date;
|
33825
33822
|
deletedAt: Date | null;
|
@@ -34030,7 +34027,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
34030
34027
|
message: string;
|
34031
34028
|
id: string;
|
34032
34029
|
url: string;
|
34033
|
-
direction:
|
34030
|
+
direction: string;
|
34034
34031
|
createdAt: Date;
|
34035
34032
|
updatedAt: Date;
|
34036
34033
|
deletedAt: Date | null;
|
@@ -34233,7 +34230,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
34233
34230
|
integrationId: string;
|
34234
34231
|
} | null;
|
34235
34232
|
};
|
34236
|
-
direction:
|
34233
|
+
direction: string;
|
34237
34234
|
status: number;
|
34238
34235
|
createdAt: Date;
|
34239
34236
|
updatedAt: Date;
|
@@ -34585,7 +34582,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
34585
34582
|
message: string;
|
34586
34583
|
id: string;
|
34587
34584
|
url: string;
|
34588
|
-
direction:
|
34585
|
+
direction: string;
|
34589
34586
|
createdAt: Date;
|
34590
34587
|
updatedAt: Date;
|
34591
34588
|
deletedAt: Date | null;
|
@@ -34797,13 +34794,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
34797
34794
|
message: string;
|
34798
34795
|
id: string;
|
34799
34796
|
url: string;
|
34800
|
-
direction:
|
34797
|
+
direction: string;
|
34801
34798
|
children: {
|
34802
34799
|
type: string;
|
34803
34800
|
message: string;
|
34804
34801
|
id: string;
|
34805
34802
|
url: string;
|
34806
|
-
direction:
|
34803
|
+
direction: string;
|
34807
34804
|
createdAt: Date;
|
34808
34805
|
updatedAt: Date;
|
34809
34806
|
deletedAt: Date | null;
|
@@ -35006,7 +35003,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
35006
35003
|
integrationId: string;
|
35007
35004
|
} | null;
|
35008
35005
|
};
|
35009
|
-
direction:
|
35006
|
+
direction: string;
|
35010
35007
|
status: number;
|
35011
35008
|
createdAt: Date;
|
35012
35009
|
updatedAt: Date;
|
@@ -35358,7 +35355,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
35358
35355
|
message: string;
|
35359
35356
|
id: string;
|
35360
35357
|
url: string;
|
35361
|
-
direction:
|
35358
|
+
direction: string;
|
35362
35359
|
createdAt: Date;
|
35363
35360
|
updatedAt: Date;
|
35364
35361
|
deletedAt: Date | null;
|
@@ -35767,7 +35764,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
35767
35764
|
integrationId: string;
|
35768
35765
|
} | null;
|
35769
35766
|
};
|
35770
|
-
direction:
|
35767
|
+
direction: string;
|
35771
35768
|
status: number;
|
35772
35769
|
createdAt: Date;
|
35773
35770
|
updatedAt: Date;
|
@@ -36119,7 +36116,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
36119
36116
|
message: string;
|
36120
36117
|
id: string;
|
36121
36118
|
url: string;
|
36122
|
-
direction:
|
36119
|
+
direction: string;
|
36123
36120
|
createdAt: Date;
|
36124
36121
|
updatedAt: Date;
|
36125
36122
|
deletedAt: Date | null;
|
@@ -36457,13 +36454,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
36457
36454
|
message: string;
|
36458
36455
|
id: string;
|
36459
36456
|
url: string;
|
36460
|
-
direction:
|
36457
|
+
direction: string;
|
36461
36458
|
children: {
|
36462
36459
|
type: string;
|
36463
36460
|
message: string;
|
36464
36461
|
id: string;
|
36465
36462
|
url: string;
|
36466
|
-
direction:
|
36463
|
+
direction: string;
|
36467
36464
|
createdAt: Date;
|
36468
36465
|
updatedAt: Date;
|
36469
36466
|
deletedAt: Date | null;
|
@@ -36666,7 +36663,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
36666
36663
|
integrationId: string;
|
36667
36664
|
} | null;
|
36668
36665
|
};
|
36669
|
-
direction:
|
36666
|
+
direction: string;
|
36670
36667
|
status: number;
|
36671
36668
|
createdAt: Date;
|
36672
36669
|
updatedAt: Date;
|
@@ -37018,7 +37015,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
37018
37015
|
message: string;
|
37019
37016
|
id: string;
|
37020
37017
|
url: string;
|
37021
|
-
direction:
|
37018
|
+
direction: string;
|
37022
37019
|
createdAt: Date;
|
37023
37020
|
updatedAt: Date;
|
37024
37021
|
deletedAt: Date | null;
|
@@ -37427,7 +37424,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
37427
37424
|
integrationId: string;
|
37428
37425
|
} | null;
|
37429
37426
|
};
|
37430
|
-
direction:
|
37427
|
+
direction: string;
|
37431
37428
|
status: number;
|
37432
37429
|
createdAt: Date;
|
37433
37430
|
updatedAt: Date;
|
@@ -37779,7 +37776,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<z.objectUtil.extendShap
|
|
37779
37776
|
message: string;
|
37780
37777
|
id: string;
|
37781
37778
|
url: string;
|
37782
|
-
direction:
|
37779
|
+
direction: string;
|
37783
37780
|
createdAt: Date;
|
37784
37781
|
updatedAt: Date;
|
37785
37782
|
deletedAt: Date | null;
|