@kl1/contracts 1.0.99 → 1.1.0-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +895 -827
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +894 -827
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +111 -0
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +16 -0
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +69 -0
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +1987 -1152
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +66 -0
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +66 -0
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/mail/account-contract.d.ts +132 -132
- package/dist/src/mail/index.d.ts +10 -0
- package/dist/src/mail/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +1612 -1152
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-server-contract.d.ts +477 -18
- package/dist/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +54 -54
- package/dist/src/mail/room-contract.d.ts +951 -948
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/account-validation.schema.d.ts +140 -140
- package/dist/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/account.schema.d.ts +32 -32
- package/dist/src/mail/schemas/message.schema.d.ts +42 -42
- package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +319 -316
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +683 -259
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +66 -0
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +66 -0
- package/dist/src/viber/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/src/chat/index.d.ts
CHANGED
@@ -4726,6 +4726,8 @@ export declare const mainChatContract: {
|
|
4726
4726
|
lastMessage: z.ZodString;
|
4727
4727
|
handleTime: z.ZodNumber;
|
4728
4728
|
closeAt: z.ZodDate;
|
4729
|
+
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
4730
|
+
status: z.ZodNumber;
|
4729
4731
|
unreadCount: z.ZodNumber;
|
4730
4732
|
firstResponseAt: z.ZodDate;
|
4731
4733
|
firstResponseTime: z.ZodNumber;
|
@@ -6650,6 +6652,7 @@ export declare const mainChatContract: {
|
|
6650
6652
|
connectedUserId: string;
|
6651
6653
|
};
|
6652
6654
|
direction: "incoming" | "outgoing" | "system";
|
6655
|
+
status: number;
|
6653
6656
|
createdAt: Date;
|
6654
6657
|
updatedAt: Date;
|
6655
6658
|
deletedAt: Date | null;
|
@@ -6860,6 +6863,7 @@ export declare const mainChatContract: {
|
|
6860
6863
|
telephonySignature: string | null;
|
6861
6864
|
};
|
6862
6865
|
};
|
6866
|
+
lastMessageAt: Date | null;
|
6863
6867
|
cxlog: {
|
6864
6868
|
id: string;
|
6865
6869
|
channel: string | null;
|
@@ -6962,6 +6966,7 @@ export declare const mainChatContract: {
|
|
6962
6966
|
connectedUserId: string;
|
6963
6967
|
};
|
6964
6968
|
direction: "incoming" | "outgoing" | "system";
|
6969
|
+
status: number;
|
6965
6970
|
createdAt: Date;
|
6966
6971
|
updatedAt: Date;
|
6967
6972
|
deletedAt: Date | null;
|
@@ -7172,6 +7177,7 @@ export declare const mainChatContract: {
|
|
7172
7177
|
telephonySignature: string | null;
|
7173
7178
|
};
|
7174
7179
|
};
|
7180
|
+
lastMessageAt: Date | null;
|
7175
7181
|
cxlog: {
|
7176
7182
|
id: string;
|
7177
7183
|
channel: string | null;
|
@@ -7286,6 +7292,7 @@ export declare const mainChatContract: {
|
|
7286
7292
|
connectedUserId: string;
|
7287
7293
|
};
|
7288
7294
|
direction: "incoming" | "outgoing" | "system";
|
7295
|
+
status: number;
|
7289
7296
|
createdAt: Date;
|
7290
7297
|
updatedAt: Date;
|
7291
7298
|
deletedAt: Date | null;
|
@@ -7496,6 +7503,7 @@ export declare const mainChatContract: {
|
|
7496
7503
|
telephonySignature: string | null;
|
7497
7504
|
};
|
7498
7505
|
};
|
7506
|
+
lastMessageAt: Date | null;
|
7499
7507
|
cxlog: {
|
7500
7508
|
id: string;
|
7501
7509
|
channel: string | null;
|
@@ -7608,6 +7616,7 @@ export declare const mainChatContract: {
|
|
7608
7616
|
connectedUserId: string;
|
7609
7617
|
};
|
7610
7618
|
direction: "incoming" | "outgoing" | "system";
|
7619
|
+
status: number;
|
7611
7620
|
createdAt: Date;
|
7612
7621
|
updatedAt: Date;
|
7613
7622
|
deletedAt: Date | null;
|
@@ -7818,6 +7827,7 @@ export declare const mainChatContract: {
|
|
7818
7827
|
telephonySignature: string | null;
|
7819
7828
|
};
|
7820
7829
|
};
|
7830
|
+
lastMessageAt: Date | null;
|
7821
7831
|
cxlog: {
|
7822
7832
|
id: string;
|
7823
7833
|
channel: string | null;
|
@@ -8866,6 +8876,8 @@ export declare const mainChatContract: {
|
|
8866
8876
|
lastMessage: z.ZodString;
|
8867
8877
|
handleTime: z.ZodNumber;
|
8868
8878
|
closeAt: z.ZodDate;
|
8879
|
+
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
8880
|
+
status: z.ZodNumber;
|
8869
8881
|
unreadCount: z.ZodNumber;
|
8870
8882
|
firstResponseAt: z.ZodDate;
|
8871
8883
|
firstResponseTime: z.ZodNumber;
|
@@ -10790,6 +10802,7 @@ export declare const mainChatContract: {
|
|
10790
10802
|
connectedUserId: string;
|
10791
10803
|
};
|
10792
10804
|
direction: "incoming" | "outgoing" | "system";
|
10805
|
+
status: number;
|
10793
10806
|
createdAt: Date;
|
10794
10807
|
updatedAt: Date;
|
10795
10808
|
deletedAt: Date | null;
|
@@ -11000,6 +11013,7 @@ export declare const mainChatContract: {
|
|
11000
11013
|
telephonySignature: string | null;
|
11001
11014
|
};
|
11002
11015
|
};
|
11016
|
+
lastMessageAt: Date | null;
|
11003
11017
|
cxlog: {
|
11004
11018
|
id: string;
|
11005
11019
|
channel: string | null;
|
@@ -11102,6 +11116,7 @@ export declare const mainChatContract: {
|
|
11102
11116
|
connectedUserId: string;
|
11103
11117
|
};
|
11104
11118
|
direction: "incoming" | "outgoing" | "system";
|
11119
|
+
status: number;
|
11105
11120
|
createdAt: Date;
|
11106
11121
|
updatedAt: Date;
|
11107
11122
|
deletedAt: Date | null;
|
@@ -11312,6 +11327,7 @@ export declare const mainChatContract: {
|
|
11312
11327
|
telephonySignature: string | null;
|
11313
11328
|
};
|
11314
11329
|
};
|
11330
|
+
lastMessageAt: Date | null;
|
11315
11331
|
cxlog: {
|
11316
11332
|
id: string;
|
11317
11333
|
channel: string | null;
|
@@ -11416,6 +11432,7 @@ export declare const mainChatContract: {
|
|
11416
11432
|
connectedUserId: string;
|
11417
11433
|
};
|
11418
11434
|
direction: "incoming" | "outgoing" | "system";
|
11435
|
+
status: number;
|
11419
11436
|
createdAt: Date;
|
11420
11437
|
updatedAt: Date;
|
11421
11438
|
deletedAt: Date | null;
|
@@ -11626,6 +11643,7 @@ export declare const mainChatContract: {
|
|
11626
11643
|
telephonySignature: string | null;
|
11627
11644
|
};
|
11628
11645
|
};
|
11646
|
+
lastMessageAt: Date | null;
|
11629
11647
|
cxlog: {
|
11630
11648
|
id: string;
|
11631
11649
|
channel: string | null;
|
@@ -11731,6 +11749,7 @@ export declare const mainChatContract: {
|
|
11731
11749
|
connectedUserId: string;
|
11732
11750
|
};
|
11733
11751
|
direction: "incoming" | "outgoing" | "system";
|
11752
|
+
status: number;
|
11734
11753
|
createdAt: Date;
|
11735
11754
|
updatedAt: Date;
|
11736
11755
|
deletedAt: Date | null;
|
@@ -11941,6 +11960,7 @@ export declare const mainChatContract: {
|
|
11941
11960
|
telephonySignature: string | null;
|
11942
11961
|
};
|
11943
11962
|
};
|
11963
|
+
lastMessageAt: Date | null;
|
11944
11964
|
cxlog: {
|
11945
11965
|
id: string;
|
11946
11966
|
channel: string | null;
|
@@ -12242,6 +12262,7 @@ export declare const mainChatContract: {
|
|
12242
12262
|
stickerId: number;
|
12243
12263
|
}>>;
|
12244
12264
|
file: z.ZodOptional<z.ZodType<File, z.ZodTypeDef, File>>;
|
12265
|
+
messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
12245
12266
|
}, "strip", z.ZodTypeAny, {
|
12246
12267
|
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
12247
12268
|
roomId: string;
|
@@ -12304,6 +12325,7 @@ export declare const mainChatContract: {
|
|
12304
12325
|
stickerId: number;
|
12305
12326
|
} | undefined;
|
12306
12327
|
file?: File | undefined;
|
12328
|
+
messengerTags?: 2 | 1 | 3 | undefined;
|
12307
12329
|
}, {
|
12308
12330
|
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
12309
12331
|
roomId: string;
|
@@ -12366,6 +12388,7 @@ export declare const mainChatContract: {
|
|
12366
12388
|
stickerId: number;
|
12367
12389
|
} | undefined;
|
12368
12390
|
file?: File | undefined;
|
12391
|
+
messengerTags?: 2 | 1 | 3 | undefined;
|
12369
12392
|
}>;
|
12370
12393
|
summary: "Send message to room";
|
12371
12394
|
method: "POST";
|
@@ -12398,6 +12421,8 @@ export declare const mainChatContract: {
|
|
12398
12421
|
lastMessage: z.ZodString;
|
12399
12422
|
handleTime: z.ZodNumber;
|
12400
12423
|
closeAt: z.ZodDate;
|
12424
|
+
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
12425
|
+
status: z.ZodNumber;
|
12401
12426
|
unreadCount: z.ZodNumber;
|
12402
12427
|
firstResponseAt: z.ZodDate;
|
12403
12428
|
firstResponseTime: z.ZodNumber;
|
@@ -14322,6 +14347,7 @@ export declare const mainChatContract: {
|
|
14322
14347
|
connectedUserId: string;
|
14323
14348
|
};
|
14324
14349
|
direction: "incoming" | "outgoing" | "system";
|
14350
|
+
status: number;
|
14325
14351
|
createdAt: Date;
|
14326
14352
|
updatedAt: Date;
|
14327
14353
|
deletedAt: Date | null;
|
@@ -14532,6 +14558,7 @@ export declare const mainChatContract: {
|
|
14532
14558
|
telephonySignature: string | null;
|
14533
14559
|
};
|
14534
14560
|
};
|
14561
|
+
lastMessageAt: Date | null;
|
14535
14562
|
cxlog: {
|
14536
14563
|
id: string;
|
14537
14564
|
channel: string | null;
|
@@ -14634,6 +14661,7 @@ export declare const mainChatContract: {
|
|
14634
14661
|
connectedUserId: string;
|
14635
14662
|
};
|
14636
14663
|
direction: "incoming" | "outgoing" | "system";
|
14664
|
+
status: number;
|
14637
14665
|
createdAt: Date;
|
14638
14666
|
updatedAt: Date;
|
14639
14667
|
deletedAt: Date | null;
|
@@ -14844,6 +14872,7 @@ export declare const mainChatContract: {
|
|
14844
14872
|
telephonySignature: string | null;
|
14845
14873
|
};
|
14846
14874
|
};
|
14875
|
+
lastMessageAt: Date | null;
|
14847
14876
|
cxlog: {
|
14848
14877
|
id: string;
|
14849
14878
|
channel: string | null;
|
@@ -16692,6 +16721,7 @@ export declare const mainChatContract: {
|
|
16692
16721
|
connectedUserId: string;
|
16693
16722
|
};
|
16694
16723
|
direction: "incoming" | "outgoing" | "system";
|
16724
|
+
status: number;
|
16695
16725
|
createdAt: Date;
|
16696
16726
|
updatedAt: Date;
|
16697
16727
|
deletedAt: Date | null;
|
@@ -16902,6 +16932,7 @@ export declare const mainChatContract: {
|
|
16902
16932
|
telephonySignature: string | null;
|
16903
16933
|
};
|
16904
16934
|
};
|
16935
|
+
lastMessageAt: Date | null;
|
16905
16936
|
cxlog: {
|
16906
16937
|
id: string;
|
16907
16938
|
channel: string | null;
|
@@ -17330,6 +17361,7 @@ export declare const mainChatContract: {
|
|
17330
17361
|
connectedUserId: string;
|
17331
17362
|
};
|
17332
17363
|
direction: "incoming" | "outgoing" | "system";
|
17364
|
+
status: number;
|
17333
17365
|
createdAt: Date;
|
17334
17366
|
updatedAt: Date;
|
17335
17367
|
deletedAt: Date | null;
|
@@ -17540,6 +17572,7 @@ export declare const mainChatContract: {
|
|
17540
17572
|
telephonySignature: string | null;
|
17541
17573
|
};
|
17542
17574
|
};
|
17575
|
+
lastMessageAt: Date | null;
|
17543
17576
|
cxlog: {
|
17544
17577
|
id: string;
|
17545
17578
|
channel: string | null;
|
@@ -17970,6 +18003,7 @@ export declare const mainChatContract: {
|
|
17970
18003
|
connectedUserId: string;
|
17971
18004
|
};
|
17972
18005
|
direction: "incoming" | "outgoing" | "system";
|
18006
|
+
status: number;
|
17973
18007
|
createdAt: Date;
|
17974
18008
|
updatedAt: Date;
|
17975
18009
|
deletedAt: Date | null;
|
@@ -18180,6 +18214,7 @@ export declare const mainChatContract: {
|
|
18180
18214
|
telephonySignature: string | null;
|
18181
18215
|
};
|
18182
18216
|
};
|
18217
|
+
lastMessageAt: Date | null;
|
18183
18218
|
cxlog: {
|
18184
18219
|
id: string;
|
18185
18220
|
channel: string | null;
|
@@ -18611,6 +18646,7 @@ export declare const mainChatContract: {
|
|
18611
18646
|
connectedUserId: string;
|
18612
18647
|
};
|
18613
18648
|
direction: "incoming" | "outgoing" | "system";
|
18649
|
+
status: number;
|
18614
18650
|
createdAt: Date;
|
18615
18651
|
updatedAt: Date;
|
18616
18652
|
deletedAt: Date | null;
|
@@ -18821,6 +18857,7 @@ export declare const mainChatContract: {
|
|
18821
18857
|
telephonySignature: string | null;
|
18822
18858
|
};
|
18823
18859
|
};
|
18860
|
+
lastMessageAt: Date | null;
|
18824
18861
|
cxlog: {
|
18825
18862
|
id: string;
|
18826
18863
|
channel: string | null;
|
@@ -19217,6 +19254,8 @@ export declare const mainChatContract: {
|
|
19217
19254
|
lastMessage: z.ZodString;
|
19218
19255
|
handleTime: z.ZodNumber;
|
19219
19256
|
closeAt: z.ZodDate;
|
19257
|
+
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
19258
|
+
status: z.ZodNumber;
|
19220
19259
|
unreadCount: z.ZodNumber;
|
19221
19260
|
firstResponseAt: z.ZodDate;
|
19222
19261
|
firstResponseTime: z.ZodNumber;
|
@@ -21141,6 +21180,7 @@ export declare const mainChatContract: {
|
|
21141
21180
|
connectedUserId: string;
|
21142
21181
|
};
|
21143
21182
|
direction: "incoming" | "outgoing" | "system";
|
21183
|
+
status: number;
|
21144
21184
|
createdAt: Date;
|
21145
21185
|
updatedAt: Date;
|
21146
21186
|
deletedAt: Date | null;
|
@@ -21351,6 +21391,7 @@ export declare const mainChatContract: {
|
|
21351
21391
|
telephonySignature: string | null;
|
21352
21392
|
};
|
21353
21393
|
};
|
21394
|
+
lastMessageAt: Date | null;
|
21354
21395
|
cxlog: {
|
21355
21396
|
id: string;
|
21356
21397
|
channel: string | null;
|
@@ -21453,6 +21494,7 @@ export declare const mainChatContract: {
|
|
21453
21494
|
connectedUserId: string;
|
21454
21495
|
};
|
21455
21496
|
direction: "incoming" | "outgoing" | "system";
|
21497
|
+
status: number;
|
21456
21498
|
createdAt: Date;
|
21457
21499
|
updatedAt: Date;
|
21458
21500
|
deletedAt: Date | null;
|
@@ -21663,6 +21705,7 @@ export declare const mainChatContract: {
|
|
21663
21705
|
telephonySignature: string | null;
|
21664
21706
|
};
|
21665
21707
|
};
|
21708
|
+
lastMessageAt: Date | null;
|
21666
21709
|
cxlog: {
|
21667
21710
|
id: string;
|
21668
21711
|
channel: string | null;
|
@@ -23511,6 +23554,7 @@ export declare const mainChatContract: {
|
|
23511
23554
|
connectedUserId: string;
|
23512
23555
|
};
|
23513
23556
|
direction: "incoming" | "outgoing" | "system";
|
23557
|
+
status: number;
|
23514
23558
|
createdAt: Date;
|
23515
23559
|
updatedAt: Date;
|
23516
23560
|
deletedAt: Date | null;
|
@@ -23721,6 +23765,7 @@ export declare const mainChatContract: {
|
|
23721
23765
|
telephonySignature: string | null;
|
23722
23766
|
};
|
23723
23767
|
};
|
23768
|
+
lastMessageAt: Date | null;
|
23724
23769
|
cxlog: {
|
23725
23770
|
id: string;
|
23726
23771
|
channel: string | null;
|
@@ -24149,6 +24194,7 @@ export declare const mainChatContract: {
|
|
24149
24194
|
connectedUserId: string;
|
24150
24195
|
};
|
24151
24196
|
direction: "incoming" | "outgoing" | "system";
|
24197
|
+
status: number;
|
24152
24198
|
createdAt: Date;
|
24153
24199
|
updatedAt: Date;
|
24154
24200
|
deletedAt: Date | null;
|
@@ -24359,6 +24405,7 @@ export declare const mainChatContract: {
|
|
24359
24405
|
telephonySignature: string | null;
|
24360
24406
|
};
|
24361
24407
|
};
|
24408
|
+
lastMessageAt: Date | null;
|
24362
24409
|
cxlog: {
|
24363
24410
|
id: string;
|
24364
24411
|
channel: string | null;
|
@@ -24789,6 +24836,7 @@ export declare const mainChatContract: {
|
|
24789
24836
|
connectedUserId: string;
|
24790
24837
|
};
|
24791
24838
|
direction: "incoming" | "outgoing" | "system";
|
24839
|
+
status: number;
|
24792
24840
|
createdAt: Date;
|
24793
24841
|
updatedAt: Date;
|
24794
24842
|
deletedAt: Date | null;
|
@@ -24999,6 +25047,7 @@ export declare const mainChatContract: {
|
|
24999
25047
|
telephonySignature: string | null;
|
25000
25048
|
};
|
25001
25049
|
};
|
25050
|
+
lastMessageAt: Date | null;
|
25002
25051
|
cxlog: {
|
25003
25052
|
id: string;
|
25004
25053
|
channel: string | null;
|
@@ -25433,6 +25482,7 @@ export declare const mainChatContract: {
|
|
25433
25482
|
connectedUserId: string;
|
25434
25483
|
};
|
25435
25484
|
direction: "incoming" | "outgoing" | "system";
|
25485
|
+
status: number;
|
25436
25486
|
createdAt: Date;
|
25437
25487
|
updatedAt: Date;
|
25438
25488
|
deletedAt: Date | null;
|
@@ -25643,6 +25693,7 @@ export declare const mainChatContract: {
|
|
25643
25693
|
telephonySignature: string | null;
|
25644
25694
|
};
|
25645
25695
|
};
|
25696
|
+
lastMessageAt: Date | null;
|
25646
25697
|
cxlog: {
|
25647
25698
|
id: string;
|
25648
25699
|
channel: string | null;
|
@@ -26302,6 +26353,7 @@ export declare const mainChatContract: {
|
|
26302
26353
|
connectedUserId: string;
|
26303
26354
|
}>;
|
26304
26355
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
26356
|
+
status: z.ZodNumber;
|
26305
26357
|
createdAt: z.ZodDate;
|
26306
26358
|
updatedAt: z.ZodDate;
|
26307
26359
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
@@ -27654,6 +27706,7 @@ export declare const mainChatContract: {
|
|
27654
27706
|
telephonySignature: string | null;
|
27655
27707
|
};
|
27656
27708
|
}>;
|
27709
|
+
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
27657
27710
|
cxlog: z.ZodObject<{
|
27658
27711
|
id: z.ZodString;
|
27659
27712
|
createdAt: z.ZodDate;
|
@@ -27867,6 +27920,7 @@ export declare const mainChatContract: {
|
|
27867
27920
|
connectedUserId: string;
|
27868
27921
|
};
|
27869
27922
|
direction: "incoming" | "outgoing" | "system";
|
27923
|
+
status: number;
|
27870
27924
|
createdAt: Date;
|
27871
27925
|
updatedAt: Date;
|
27872
27926
|
deletedAt: Date | null;
|
@@ -28077,6 +28131,7 @@ export declare const mainChatContract: {
|
|
28077
28131
|
telephonySignature: string | null;
|
28078
28132
|
};
|
28079
28133
|
};
|
28134
|
+
lastMessageAt: Date | null;
|
28080
28135
|
cxlog: {
|
28081
28136
|
id: string;
|
28082
28137
|
channel: string | null;
|
@@ -28180,6 +28235,7 @@ export declare const mainChatContract: {
|
|
28180
28235
|
connectedUserId: string;
|
28181
28236
|
};
|
28182
28237
|
direction: "incoming" | "outgoing" | "system";
|
28238
|
+
status: number;
|
28183
28239
|
createdAt: Date;
|
28184
28240
|
updatedAt: Date;
|
28185
28241
|
deletedAt: Date | null;
|
@@ -28390,6 +28446,7 @@ export declare const mainChatContract: {
|
|
28390
28446
|
telephonySignature: string | null;
|
28391
28447
|
};
|
28392
28448
|
};
|
28449
|
+
lastMessageAt: Date | null;
|
28393
28450
|
cxlog: {
|
28394
28451
|
id: string;
|
28395
28452
|
channel: string | null;
|
@@ -28495,6 +28552,7 @@ export declare const mainChatContract: {
|
|
28495
28552
|
connectedUserId: string;
|
28496
28553
|
};
|
28497
28554
|
direction: "incoming" | "outgoing" | "system";
|
28555
|
+
status: number;
|
28498
28556
|
createdAt: Date;
|
28499
28557
|
updatedAt: Date;
|
28500
28558
|
deletedAt: Date | null;
|
@@ -28705,6 +28763,7 @@ export declare const mainChatContract: {
|
|
28705
28763
|
telephonySignature: string | null;
|
28706
28764
|
};
|
28707
28765
|
};
|
28766
|
+
lastMessageAt: Date | null;
|
28708
28767
|
cxlog: {
|
28709
28768
|
id: string;
|
28710
28769
|
channel: string | null;
|
@@ -28811,6 +28870,7 @@ export declare const mainChatContract: {
|
|
28811
28870
|
connectedUserId: string;
|
28812
28871
|
};
|
28813
28872
|
direction: "incoming" | "outgoing" | "system";
|
28873
|
+
status: number;
|
28814
28874
|
createdAt: Date;
|
28815
28875
|
updatedAt: Date;
|
28816
28876
|
deletedAt: Date | null;
|
@@ -29021,6 +29081,7 @@ export declare const mainChatContract: {
|
|
29021
29081
|
telephonySignature: string | null;
|
29022
29082
|
};
|
29023
29083
|
};
|
29084
|
+
lastMessageAt: Date | null;
|
29024
29085
|
cxlog: {
|
29025
29086
|
id: string;
|
29026
29087
|
channel: string | null;
|
@@ -29112,6 +29173,8 @@ export declare const mainChatContract: {
|
|
29112
29173
|
lastMessage: z.ZodString;
|
29113
29174
|
handleTime: z.ZodNumber;
|
29114
29175
|
closeAt: z.ZodDate;
|
29176
|
+
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
29177
|
+
status: z.ZodNumber;
|
29115
29178
|
unreadCount: z.ZodNumber;
|
29116
29179
|
firstResponseAt: z.ZodDate;
|
29117
29180
|
firstResponseTime: z.ZodNumber;
|
@@ -31036,6 +31099,7 @@ export declare const mainChatContract: {
|
|
31036
31099
|
connectedUserId: string;
|
31037
31100
|
};
|
31038
31101
|
direction: "incoming" | "outgoing" | "system";
|
31102
|
+
status: number;
|
31039
31103
|
createdAt: Date;
|
31040
31104
|
updatedAt: Date;
|
31041
31105
|
deletedAt: Date | null;
|
@@ -31246,6 +31310,7 @@ export declare const mainChatContract: {
|
|
31246
31310
|
telephonySignature: string | null;
|
31247
31311
|
};
|
31248
31312
|
};
|
31313
|
+
lastMessageAt: Date | null;
|
31249
31314
|
cxlog: {
|
31250
31315
|
id: string;
|
31251
31316
|
channel: string | null;
|
@@ -31348,6 +31413,7 @@ export declare const mainChatContract: {
|
|
31348
31413
|
connectedUserId: string;
|
31349
31414
|
};
|
31350
31415
|
direction: "incoming" | "outgoing" | "system";
|
31416
|
+
status: number;
|
31351
31417
|
createdAt: Date;
|
31352
31418
|
updatedAt: Date;
|
31353
31419
|
deletedAt: Date | null;
|
@@ -31558,6 +31624,7 @@ export declare const mainChatContract: {
|
|
31558
31624
|
telephonySignature: string | null;
|
31559
31625
|
};
|
31560
31626
|
};
|
31627
|
+
lastMessageAt: Date | null;
|
31561
31628
|
cxlog: {
|
31562
31629
|
id: string;
|
31563
31630
|
channel: string | null;
|
@@ -31662,6 +31729,7 @@ export declare const mainChatContract: {
|
|
31662
31729
|
connectedUserId: string;
|
31663
31730
|
};
|
31664
31731
|
direction: "incoming" | "outgoing" | "system";
|
31732
|
+
status: number;
|
31665
31733
|
createdAt: Date;
|
31666
31734
|
updatedAt: Date;
|
31667
31735
|
deletedAt: Date | null;
|
@@ -31872,6 +31940,7 @@ export declare const mainChatContract: {
|
|
31872
31940
|
telephonySignature: string | null;
|
31873
31941
|
};
|
31874
31942
|
};
|
31943
|
+
lastMessageAt: Date | null;
|
31875
31944
|
cxlog: {
|
31876
31945
|
id: string;
|
31877
31946
|
channel: string | null;
|
@@ -31977,6 +32046,7 @@ export declare const mainChatContract: {
|
|
31977
32046
|
connectedUserId: string;
|
31978
32047
|
};
|
31979
32048
|
direction: "incoming" | "outgoing" | "system";
|
32049
|
+
status: number;
|
31980
32050
|
createdAt: Date;
|
31981
32051
|
updatedAt: Date;
|
31982
32052
|
deletedAt: Date | null;
|
@@ -32187,6 +32257,7 @@ export declare const mainChatContract: {
|
|
32187
32257
|
telephonySignature: string | null;
|
32188
32258
|
};
|
32189
32259
|
};
|
32260
|
+
lastMessageAt: Date | null;
|
32190
32261
|
cxlog: {
|
32191
32262
|
id: string;
|
32192
32263
|
channel: string | null;
|
@@ -32264,6 +32335,8 @@ export declare const mainChatContract: {
|
|
32264
32335
|
lastMessage: z.ZodString;
|
32265
32336
|
handleTime: z.ZodNumber;
|
32266
32337
|
closeAt: z.ZodDate;
|
32338
|
+
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
32339
|
+
status: z.ZodNumber;
|
32267
32340
|
unreadCount: z.ZodNumber;
|
32268
32341
|
firstResponseAt: z.ZodDate;
|
32269
32342
|
firstResponseTime: z.ZodNumber;
|
@@ -34188,6 +34261,7 @@ export declare const mainChatContract: {
|
|
34188
34261
|
connectedUserId: string;
|
34189
34262
|
};
|
34190
34263
|
direction: "incoming" | "outgoing" | "system";
|
34264
|
+
status: number;
|
34191
34265
|
createdAt: Date;
|
34192
34266
|
updatedAt: Date;
|
34193
34267
|
deletedAt: Date | null;
|
@@ -34398,6 +34472,7 @@ export declare const mainChatContract: {
|
|
34398
34472
|
telephonySignature: string | null;
|
34399
34473
|
};
|
34400
34474
|
};
|
34475
|
+
lastMessageAt: Date | null;
|
34401
34476
|
cxlog: {
|
34402
34477
|
id: string;
|
34403
34478
|
channel: string | null;
|
@@ -34500,6 +34575,7 @@ export declare const mainChatContract: {
|
|
34500
34575
|
connectedUserId: string;
|
34501
34576
|
};
|
34502
34577
|
direction: "incoming" | "outgoing" | "system";
|
34578
|
+
status: number;
|
34503
34579
|
createdAt: Date;
|
34504
34580
|
updatedAt: Date;
|
34505
34581
|
deletedAt: Date | null;
|
@@ -34710,6 +34786,7 @@ export declare const mainChatContract: {
|
|
34710
34786
|
telephonySignature: string | null;
|
34711
34787
|
};
|
34712
34788
|
};
|
34789
|
+
lastMessageAt: Date | null;
|
34713
34790
|
cxlog: {
|
34714
34791
|
id: string;
|
34715
34792
|
channel: string | null;
|
@@ -34814,6 +34891,7 @@ export declare const mainChatContract: {
|
|
34814
34891
|
connectedUserId: string;
|
34815
34892
|
};
|
34816
34893
|
direction: "incoming" | "outgoing" | "system";
|
34894
|
+
status: number;
|
34817
34895
|
createdAt: Date;
|
34818
34896
|
updatedAt: Date;
|
34819
34897
|
deletedAt: Date | null;
|
@@ -35024,6 +35102,7 @@ export declare const mainChatContract: {
|
|
35024
35102
|
telephonySignature: string | null;
|
35025
35103
|
};
|
35026
35104
|
};
|
35105
|
+
lastMessageAt: Date | null;
|
35027
35106
|
cxlog: {
|
35028
35107
|
id: string;
|
35029
35108
|
channel: string | null;
|
@@ -35129,6 +35208,7 @@ export declare const mainChatContract: {
|
|
35129
35208
|
connectedUserId: string;
|
35130
35209
|
};
|
35131
35210
|
direction: "incoming" | "outgoing" | "system";
|
35211
|
+
status: number;
|
35132
35212
|
createdAt: Date;
|
35133
35213
|
updatedAt: Date;
|
35134
35214
|
deletedAt: Date | null;
|
@@ -35339,6 +35419,7 @@ export declare const mainChatContract: {
|
|
35339
35419
|
telephonySignature: string | null;
|
35340
35420
|
};
|
35341
35421
|
};
|
35422
|
+
lastMessageAt: Date | null;
|
35342
35423
|
cxlog: {
|
35343
35424
|
id: string;
|
35344
35425
|
channel: string | null;
|
@@ -35787,6 +35868,7 @@ export declare const mainChatContract: {
|
|
35787
35868
|
connectedUserId: string;
|
35788
35869
|
}>;
|
35789
35870
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
35871
|
+
status: z.ZodNumber;
|
35790
35872
|
createdAt: z.ZodDate;
|
35791
35873
|
updatedAt: z.ZodDate;
|
35792
35874
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
@@ -37139,6 +37221,7 @@ export declare const mainChatContract: {
|
|
37139
37221
|
telephonySignature: string | null;
|
37140
37222
|
};
|
37141
37223
|
}>;
|
37224
|
+
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
37142
37225
|
cxlog: z.ZodObject<{
|
37143
37226
|
id: z.ZodString;
|
37144
37227
|
createdAt: z.ZodDate;
|
@@ -38039,6 +38122,7 @@ export declare const mainChatContract: {
|
|
38039
38122
|
connectedUserId: string;
|
38040
38123
|
};
|
38041
38124
|
direction: "incoming" | "outgoing" | "system";
|
38125
|
+
status: number;
|
38042
38126
|
createdAt: Date;
|
38043
38127
|
updatedAt: Date;
|
38044
38128
|
deletedAt: Date | null;
|
@@ -38346,6 +38430,7 @@ export declare const mainChatContract: {
|
|
38346
38430
|
telephonySignature: string | null;
|
38347
38431
|
};
|
38348
38432
|
};
|
38433
|
+
lastMessageAt: Date | null;
|
38349
38434
|
cxlog: {
|
38350
38435
|
id: string;
|
38351
38436
|
channel: string | null;
|
@@ -38449,6 +38534,7 @@ export declare const mainChatContract: {
|
|
38449
38534
|
connectedUserId: string;
|
38450
38535
|
};
|
38451
38536
|
direction: "incoming" | "outgoing" | "system";
|
38537
|
+
status: number;
|
38452
38538
|
createdAt: Date;
|
38453
38539
|
updatedAt: Date;
|
38454
38540
|
deletedAt: Date | null;
|
@@ -38756,6 +38842,7 @@ export declare const mainChatContract: {
|
|
38756
38842
|
telephonySignature: string | null;
|
38757
38843
|
};
|
38758
38844
|
};
|
38845
|
+
lastMessageAt: Date | null;
|
38759
38846
|
cxlog: {
|
38760
38847
|
id: string;
|
38761
38848
|
channel: string | null;
|
@@ -38861,6 +38948,7 @@ export declare const mainChatContract: {
|
|
38861
38948
|
connectedUserId: string;
|
38862
38949
|
};
|
38863
38950
|
direction: "incoming" | "outgoing" | "system";
|
38951
|
+
status: number;
|
38864
38952
|
createdAt: Date;
|
38865
38953
|
updatedAt: Date;
|
38866
38954
|
deletedAt: Date | null;
|
@@ -39168,6 +39256,7 @@ export declare const mainChatContract: {
|
|
39168
39256
|
telephonySignature: string | null;
|
39169
39257
|
};
|
39170
39258
|
};
|
39259
|
+
lastMessageAt: Date | null;
|
39171
39260
|
cxlog: {
|
39172
39261
|
id: string;
|
39173
39262
|
channel: string | null;
|
@@ -39274,6 +39363,7 @@ export declare const mainChatContract: {
|
|
39274
39363
|
connectedUserId: string;
|
39275
39364
|
};
|
39276
39365
|
direction: "incoming" | "outgoing" | "system";
|
39366
|
+
status: number;
|
39277
39367
|
createdAt: Date;
|
39278
39368
|
updatedAt: Date;
|
39279
39369
|
deletedAt: Date | null;
|
@@ -39581,6 +39671,7 @@ export declare const mainChatContract: {
|
|
39581
39671
|
telephonySignature: string | null;
|
39582
39672
|
};
|
39583
39673
|
};
|
39674
|
+
lastMessageAt: Date | null;
|
39584
39675
|
cxlog: {
|
39585
39676
|
id: string;
|
39586
39677
|
channel: string | null;
|
@@ -40020,6 +40111,7 @@ export declare const mainChatContract: {
|
|
40020
40111
|
connectedUserId: string;
|
40021
40112
|
}>;
|
40022
40113
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
40114
|
+
status: z.ZodNumber;
|
40023
40115
|
createdAt: z.ZodDate;
|
40024
40116
|
updatedAt: z.ZodDate;
|
40025
40117
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
@@ -41372,6 +41464,7 @@ export declare const mainChatContract: {
|
|
41372
41464
|
telephonySignature: string | null;
|
41373
41465
|
};
|
41374
41466
|
}>;
|
41467
|
+
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
41375
41468
|
cxlog: z.ZodObject<{
|
41376
41469
|
id: z.ZodString;
|
41377
41470
|
createdAt: z.ZodDate;
|
@@ -41586,6 +41679,7 @@ export declare const mainChatContract: {
|
|
41586
41679
|
};
|
41587
41680
|
direction: "incoming" | "outgoing" | "system";
|
41588
41681
|
description: string | null;
|
41682
|
+
status: number;
|
41589
41683
|
createdAt: Date;
|
41590
41684
|
updatedAt: Date;
|
41591
41685
|
deletedAt: Date | null;
|
@@ -41796,6 +41890,7 @@ export declare const mainChatContract: {
|
|
41796
41890
|
telephonySignature: string | null;
|
41797
41891
|
};
|
41798
41892
|
};
|
41893
|
+
lastMessageAt: Date | null;
|
41799
41894
|
cxlog: {
|
41800
41895
|
id: string;
|
41801
41896
|
channel: string | null;
|
@@ -41899,6 +41994,7 @@ export declare const mainChatContract: {
|
|
41899
41994
|
};
|
41900
41995
|
direction: "incoming" | "outgoing" | "system";
|
41901
41996
|
description: string | null;
|
41997
|
+
status: number;
|
41902
41998
|
createdAt: Date;
|
41903
41999
|
updatedAt: Date;
|
41904
42000
|
deletedAt: Date | null;
|
@@ -42109,6 +42205,7 @@ export declare const mainChatContract: {
|
|
42109
42205
|
telephonySignature: string | null;
|
42110
42206
|
};
|
42111
42207
|
};
|
42208
|
+
lastMessageAt: Date | null;
|
42112
42209
|
cxlog: {
|
42113
42210
|
id: string;
|
42114
42211
|
channel: string | null;
|
@@ -42214,6 +42311,7 @@ export declare const mainChatContract: {
|
|
42214
42311
|
};
|
42215
42312
|
direction: "incoming" | "outgoing" | "system";
|
42216
42313
|
description: string | null;
|
42314
|
+
status: number;
|
42217
42315
|
createdAt: Date;
|
42218
42316
|
updatedAt: Date;
|
42219
42317
|
deletedAt: Date | null;
|
@@ -42424,6 +42522,7 @@ export declare const mainChatContract: {
|
|
42424
42522
|
telephonySignature: string | null;
|
42425
42523
|
};
|
42426
42524
|
};
|
42525
|
+
lastMessageAt: Date | null;
|
42427
42526
|
cxlog: {
|
42428
42527
|
id: string;
|
42429
42528
|
channel: string | null;
|
@@ -42530,6 +42629,7 @@ export declare const mainChatContract: {
|
|
42530
42629
|
};
|
42531
42630
|
direction: "incoming" | "outgoing" | "system";
|
42532
42631
|
description: string | null;
|
42632
|
+
status: number;
|
42533
42633
|
createdAt: Date;
|
42534
42634
|
updatedAt: Date;
|
42535
42635
|
deletedAt: Date | null;
|
@@ -42740,6 +42840,7 @@ export declare const mainChatContract: {
|
|
42740
42840
|
telephonySignature: string | null;
|
42741
42841
|
};
|
42742
42842
|
};
|
42843
|
+
lastMessageAt: Date | null;
|
42743
42844
|
cxlog: {
|
42744
42845
|
id: string;
|
42745
42846
|
channel: string | null;
|
@@ -42829,6 +42930,8 @@ export declare const mainChatContract: {
|
|
42829
42930
|
lastMessage: z.ZodString;
|
42830
42931
|
handleTime: z.ZodNumber;
|
42831
42932
|
closeAt: z.ZodDate;
|
42933
|
+
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
42934
|
+
status: z.ZodNumber;
|
42832
42935
|
unreadCount: z.ZodNumber;
|
42833
42936
|
firstResponseAt: z.ZodDate;
|
42834
42937
|
firstResponseTime: z.ZodNumber;
|
@@ -44753,6 +44856,7 @@ export declare const mainChatContract: {
|
|
44753
44856
|
connectedUserId: string;
|
44754
44857
|
};
|
44755
44858
|
direction: "incoming" | "outgoing" | "system";
|
44859
|
+
status: number;
|
44756
44860
|
createdAt: Date;
|
44757
44861
|
updatedAt: Date;
|
44758
44862
|
deletedAt: Date | null;
|
@@ -44963,6 +45067,7 @@ export declare const mainChatContract: {
|
|
44963
45067
|
telephonySignature: string | null;
|
44964
45068
|
};
|
44965
45069
|
};
|
45070
|
+
lastMessageAt: Date | null;
|
44966
45071
|
cxlog: {
|
44967
45072
|
id: string;
|
44968
45073
|
channel: string | null;
|
@@ -45065,6 +45170,7 @@ export declare const mainChatContract: {
|
|
45065
45170
|
connectedUserId: string;
|
45066
45171
|
};
|
45067
45172
|
direction: "incoming" | "outgoing" | "system";
|
45173
|
+
status: number;
|
45068
45174
|
createdAt: Date;
|
45069
45175
|
updatedAt: Date;
|
45070
45176
|
deletedAt: Date | null;
|
@@ -45275,6 +45381,7 @@ export declare const mainChatContract: {
|
|
45275
45381
|
telephonySignature: string | null;
|
45276
45382
|
};
|
45277
45383
|
};
|
45384
|
+
lastMessageAt: Date | null;
|
45278
45385
|
cxlog: {
|
45279
45386
|
id: string;
|
45280
45387
|
channel: string | null;
|
@@ -45379,6 +45486,7 @@ export declare const mainChatContract: {
|
|
45379
45486
|
connectedUserId: string;
|
45380
45487
|
};
|
45381
45488
|
direction: "incoming" | "outgoing" | "system";
|
45489
|
+
status: number;
|
45382
45490
|
createdAt: Date;
|
45383
45491
|
updatedAt: Date;
|
45384
45492
|
deletedAt: Date | null;
|
@@ -45589,6 +45697,7 @@ export declare const mainChatContract: {
|
|
45589
45697
|
telephonySignature: string | null;
|
45590
45698
|
};
|
45591
45699
|
};
|
45700
|
+
lastMessageAt: Date | null;
|
45592
45701
|
cxlog: {
|
45593
45702
|
id: string;
|
45594
45703
|
channel: string | null;
|
@@ -45697,6 +45806,7 @@ export declare const mainChatContract: {
|
|
45697
45806
|
connectedUserId: string;
|
45698
45807
|
};
|
45699
45808
|
direction: "incoming" | "outgoing" | "system";
|
45809
|
+
status: number;
|
45700
45810
|
createdAt: Date;
|
45701
45811
|
updatedAt: Date;
|
45702
45812
|
deletedAt: Date | null;
|
@@ -45907,6 +46017,7 @@ export declare const mainChatContract: {
|
|
45907
46017
|
telephonySignature: string | null;
|
45908
46018
|
};
|
45909
46019
|
};
|
46020
|
+
lastMessageAt: Date | null;
|
45910
46021
|
cxlog: {
|
45911
46022
|
id: string;
|
45912
46023
|
channel: string | null;
|