@kl1/contracts 1.0.99 → 1.1.1-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 +23 -80
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -80
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +165 -54
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +24 -8
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +76 -7
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +647 -655
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +73 -7
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +73 -7
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +73 -7
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/user/index.d.ts +4 -388
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/user/validation.d.ts +0 -7
- package/dist/src/user/validation.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +73 -7
- package/dist/src/viber/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/src/chat/index.d.ts
CHANGED
@@ -4725,7 +4725,9 @@ export declare const mainChatContract: {
|
|
4725
4725
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4726
4726
|
lastMessage: z.ZodString;
|
4727
4727
|
handleTime: z.ZodNumber;
|
4728
|
-
|
4728
|
+
closedAt: 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;
|
@@ -6700,7 +6703,6 @@ export declare const mainChatContract: {
|
|
6700
6703
|
firstResponseTime: number;
|
6701
6704
|
lastMessage: string;
|
6702
6705
|
handleTime: number;
|
6703
|
-
closeAt: Date;
|
6704
6706
|
unreadCount: number;
|
6705
6707
|
firstResponseAt: Date;
|
6706
6708
|
isLatest: boolean;
|
@@ -6860,6 +6862,8 @@ export declare const mainChatContract: {
|
|
6860
6862
|
telephonySignature: string | null;
|
6861
6863
|
};
|
6862
6864
|
};
|
6865
|
+
closedAt: Date;
|
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;
|
@@ -7012,7 +7017,6 @@ export declare const mainChatContract: {
|
|
7012
7017
|
firstResponseTime: number;
|
7013
7018
|
lastMessage: string;
|
7014
7019
|
handleTime: number;
|
7015
|
-
closeAt: Date;
|
7016
7020
|
unreadCount: number;
|
7017
7021
|
firstResponseAt: Date;
|
7018
7022
|
isLatest: boolean;
|
@@ -7172,6 +7176,8 @@ export declare const mainChatContract: {
|
|
7172
7176
|
telephonySignature: string | null;
|
7173
7177
|
};
|
7174
7178
|
};
|
7179
|
+
closedAt: Date;
|
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;
|
@@ -7336,7 +7343,6 @@ export declare const mainChatContract: {
|
|
7336
7343
|
firstResponseTime: number;
|
7337
7344
|
lastMessage: string;
|
7338
7345
|
handleTime: number;
|
7339
|
-
closeAt: Date;
|
7340
7346
|
unreadCount: number;
|
7341
7347
|
firstResponseAt: Date;
|
7342
7348
|
isLatest: boolean;
|
@@ -7496,6 +7502,8 @@ export declare const mainChatContract: {
|
|
7496
7502
|
telephonySignature: string | null;
|
7497
7503
|
};
|
7498
7504
|
};
|
7505
|
+
closedAt: Date;
|
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;
|
@@ -7658,7 +7667,6 @@ export declare const mainChatContract: {
|
|
7658
7667
|
firstResponseTime: number;
|
7659
7668
|
lastMessage: string;
|
7660
7669
|
handleTime: number;
|
7661
|
-
closeAt: Date;
|
7662
7670
|
unreadCount: number;
|
7663
7671
|
firstResponseAt: Date;
|
7664
7672
|
isLatest: boolean;
|
@@ -7818,6 +7826,8 @@ export declare const mainChatContract: {
|
|
7818
7826
|
telephonySignature: string | null;
|
7819
7827
|
};
|
7820
7828
|
};
|
7829
|
+
closedAt: Date;
|
7830
|
+
lastMessageAt: Date | null;
|
7821
7831
|
cxlog: {
|
7822
7832
|
id: string;
|
7823
7833
|
channel: string | null;
|
@@ -8865,7 +8875,9 @@ export declare const mainChatContract: {
|
|
8865
8875
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8866
8876
|
lastMessage: z.ZodString;
|
8867
8877
|
handleTime: z.ZodNumber;
|
8868
|
-
|
8878
|
+
closedAt: 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;
|
@@ -10840,7 +10853,6 @@ export declare const mainChatContract: {
|
|
10840
10853
|
firstResponseTime: number;
|
10841
10854
|
lastMessage: string;
|
10842
10855
|
handleTime: number;
|
10843
|
-
closeAt: Date;
|
10844
10856
|
unreadCount: number;
|
10845
10857
|
firstResponseAt: Date;
|
10846
10858
|
isLatest: boolean;
|
@@ -11000,6 +11012,8 @@ export declare const mainChatContract: {
|
|
11000
11012
|
telephonySignature: string | null;
|
11001
11013
|
};
|
11002
11014
|
};
|
11015
|
+
closedAt: Date;
|
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;
|
@@ -11152,7 +11167,6 @@ export declare const mainChatContract: {
|
|
11152
11167
|
firstResponseTime: number;
|
11153
11168
|
lastMessage: string;
|
11154
11169
|
handleTime: number;
|
11155
|
-
closeAt: Date;
|
11156
11170
|
unreadCount: number;
|
11157
11171
|
firstResponseAt: Date;
|
11158
11172
|
isLatest: boolean;
|
@@ -11312,6 +11326,8 @@ export declare const mainChatContract: {
|
|
11312
11326
|
telephonySignature: string | null;
|
11313
11327
|
};
|
11314
11328
|
};
|
11329
|
+
closedAt: Date;
|
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;
|
@@ -11466,7 +11483,6 @@ export declare const mainChatContract: {
|
|
11466
11483
|
firstResponseTime: number;
|
11467
11484
|
lastMessage: string;
|
11468
11485
|
handleTime: number;
|
11469
|
-
closeAt: Date;
|
11470
11486
|
unreadCount: number;
|
11471
11487
|
firstResponseAt: Date;
|
11472
11488
|
isLatest: boolean;
|
@@ -11626,6 +11642,8 @@ export declare const mainChatContract: {
|
|
11626
11642
|
telephonySignature: string | null;
|
11627
11643
|
};
|
11628
11644
|
};
|
11645
|
+
closedAt: Date;
|
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;
|
@@ -11781,7 +11800,6 @@ export declare const mainChatContract: {
|
|
11781
11800
|
firstResponseTime: number;
|
11782
11801
|
lastMessage: string;
|
11783
11802
|
handleTime: number;
|
11784
|
-
closeAt: Date;
|
11785
11803
|
unreadCount: number;
|
11786
11804
|
firstResponseAt: Date;
|
11787
11805
|
isLatest: boolean;
|
@@ -11941,6 +11959,8 @@ export declare const mainChatContract: {
|
|
11941
11959
|
telephonySignature: string | null;
|
11942
11960
|
};
|
11943
11961
|
};
|
11962
|
+
closedAt: Date;
|
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<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
|
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?: "post_purchase_update" | "account_update" | "confirmed_event_update" | 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?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
12369
12392
|
}>;
|
12370
12393
|
summary: "Send message to room";
|
12371
12394
|
method: "POST";
|
@@ -12397,7 +12420,9 @@ export declare const mainChatContract: {
|
|
12397
12420
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12398
12421
|
lastMessage: z.ZodString;
|
12399
12422
|
handleTime: z.ZodNumber;
|
12400
|
-
|
12423
|
+
closedAt: 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;
|
@@ -14372,7 +14398,6 @@ export declare const mainChatContract: {
|
|
14372
14398
|
firstResponseTime: number;
|
14373
14399
|
lastMessage: string;
|
14374
14400
|
handleTime: number;
|
14375
|
-
closeAt: Date;
|
14376
14401
|
unreadCount: number;
|
14377
14402
|
firstResponseAt: Date;
|
14378
14403
|
isLatest: boolean;
|
@@ -14532,6 +14557,8 @@ export declare const mainChatContract: {
|
|
14532
14557
|
telephonySignature: string | null;
|
14533
14558
|
};
|
14534
14559
|
};
|
14560
|
+
closedAt: Date;
|
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;
|
@@ -14684,7 +14712,6 @@ export declare const mainChatContract: {
|
|
14684
14712
|
firstResponseTime: number;
|
14685
14713
|
lastMessage: string;
|
14686
14714
|
handleTime: number;
|
14687
|
-
closeAt: Date;
|
14688
14715
|
unreadCount: number;
|
14689
14716
|
firstResponseAt: Date;
|
14690
14717
|
isLatest: boolean;
|
@@ -14844,6 +14871,8 @@ export declare const mainChatContract: {
|
|
14844
14871
|
telephonySignature: string | null;
|
14845
14872
|
};
|
14846
14873
|
};
|
14874
|
+
closedAt: Date;
|
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;
|
@@ -16742,7 +16772,6 @@ export declare const mainChatContract: {
|
|
16742
16772
|
firstResponseTime: number;
|
16743
16773
|
lastMessage: string;
|
16744
16774
|
handleTime: number;
|
16745
|
-
closeAt: Date;
|
16746
16775
|
unreadCount: number;
|
16747
16776
|
firstResponseAt: Date;
|
16748
16777
|
isLatest: boolean;
|
@@ -16902,6 +16931,8 @@ export declare const mainChatContract: {
|
|
16902
16931
|
telephonySignature: string | null;
|
16903
16932
|
};
|
16904
16933
|
};
|
16934
|
+
closedAt: Date;
|
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;
|
@@ -17380,7 +17412,6 @@ export declare const mainChatContract: {
|
|
17380
17412
|
firstResponseTime: number;
|
17381
17413
|
lastMessage: string;
|
17382
17414
|
handleTime: number;
|
17383
|
-
closeAt: Date;
|
17384
17415
|
unreadCount: number;
|
17385
17416
|
firstResponseAt: Date;
|
17386
17417
|
isLatest: boolean;
|
@@ -17540,6 +17571,8 @@ export declare const mainChatContract: {
|
|
17540
17571
|
telephonySignature: string | null;
|
17541
17572
|
};
|
17542
17573
|
};
|
17574
|
+
closedAt: Date;
|
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;
|
@@ -18020,7 +18054,6 @@ export declare const mainChatContract: {
|
|
18020
18054
|
firstResponseTime: number;
|
18021
18055
|
lastMessage: string;
|
18022
18056
|
handleTime: number;
|
18023
|
-
closeAt: Date;
|
18024
18057
|
unreadCount: number;
|
18025
18058
|
firstResponseAt: Date;
|
18026
18059
|
isLatest: boolean;
|
@@ -18180,6 +18213,8 @@ export declare const mainChatContract: {
|
|
18180
18213
|
telephonySignature: string | null;
|
18181
18214
|
};
|
18182
18215
|
};
|
18216
|
+
closedAt: Date;
|
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;
|
@@ -18661,7 +18697,6 @@ export declare const mainChatContract: {
|
|
18661
18697
|
firstResponseTime: number;
|
18662
18698
|
lastMessage: string;
|
18663
18699
|
handleTime: number;
|
18664
|
-
closeAt: Date;
|
18665
18700
|
unreadCount: number;
|
18666
18701
|
firstResponseAt: Date;
|
18667
18702
|
isLatest: boolean;
|
@@ -18821,6 +18856,8 @@ export declare const mainChatContract: {
|
|
18821
18856
|
telephonySignature: string | null;
|
18822
18857
|
};
|
18823
18858
|
};
|
18859
|
+
closedAt: Date;
|
18860
|
+
lastMessageAt: Date | null;
|
18824
18861
|
cxlog: {
|
18825
18862
|
id: string;
|
18826
18863
|
channel: string | null;
|
@@ -19216,7 +19253,9 @@ export declare const mainChatContract: {
|
|
19216
19253
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
19217
19254
|
lastMessage: z.ZodString;
|
19218
19255
|
handleTime: z.ZodNumber;
|
19219
|
-
|
19256
|
+
closedAt: 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;
|
@@ -21191,7 +21231,6 @@ export declare const mainChatContract: {
|
|
21191
21231
|
firstResponseTime: number;
|
21192
21232
|
lastMessage: string;
|
21193
21233
|
handleTime: number;
|
21194
|
-
closeAt: Date;
|
21195
21234
|
unreadCount: number;
|
21196
21235
|
firstResponseAt: Date;
|
21197
21236
|
isLatest: boolean;
|
@@ -21351,6 +21390,8 @@ export declare const mainChatContract: {
|
|
21351
21390
|
telephonySignature: string | null;
|
21352
21391
|
};
|
21353
21392
|
};
|
21393
|
+
closedAt: Date;
|
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;
|
@@ -21503,7 +21545,6 @@ export declare const mainChatContract: {
|
|
21503
21545
|
firstResponseTime: number;
|
21504
21546
|
lastMessage: string;
|
21505
21547
|
handleTime: number;
|
21506
|
-
closeAt: Date;
|
21507
21548
|
unreadCount: number;
|
21508
21549
|
firstResponseAt: Date;
|
21509
21550
|
isLatest: boolean;
|
@@ -21663,6 +21704,8 @@ export declare const mainChatContract: {
|
|
21663
21704
|
telephonySignature: string | null;
|
21664
21705
|
};
|
21665
21706
|
};
|
21707
|
+
closedAt: Date;
|
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;
|
@@ -23561,7 +23605,6 @@ export declare const mainChatContract: {
|
|
23561
23605
|
firstResponseTime: number;
|
23562
23606
|
lastMessage: string;
|
23563
23607
|
handleTime: number;
|
23564
|
-
closeAt: Date;
|
23565
23608
|
unreadCount: number;
|
23566
23609
|
firstResponseAt: Date;
|
23567
23610
|
isLatest: boolean;
|
@@ -23721,6 +23764,8 @@ export declare const mainChatContract: {
|
|
23721
23764
|
telephonySignature: string | null;
|
23722
23765
|
};
|
23723
23766
|
};
|
23767
|
+
closedAt: Date;
|
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;
|
@@ -24199,7 +24245,6 @@ export declare const mainChatContract: {
|
|
24199
24245
|
firstResponseTime: number;
|
24200
24246
|
lastMessage: string;
|
24201
24247
|
handleTime: number;
|
24202
|
-
closeAt: Date;
|
24203
24248
|
unreadCount: number;
|
24204
24249
|
firstResponseAt: Date;
|
24205
24250
|
isLatest: boolean;
|
@@ -24359,6 +24404,8 @@ export declare const mainChatContract: {
|
|
24359
24404
|
telephonySignature: string | null;
|
24360
24405
|
};
|
24361
24406
|
};
|
24407
|
+
closedAt: Date;
|
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;
|
@@ -24839,7 +24887,6 @@ export declare const mainChatContract: {
|
|
24839
24887
|
firstResponseTime: number;
|
24840
24888
|
lastMessage: string;
|
24841
24889
|
handleTime: number;
|
24842
|
-
closeAt: Date;
|
24843
24890
|
unreadCount: number;
|
24844
24891
|
firstResponseAt: Date;
|
24845
24892
|
isLatest: boolean;
|
@@ -24999,6 +25046,8 @@ export declare const mainChatContract: {
|
|
24999
25046
|
telephonySignature: string | null;
|
25000
25047
|
};
|
25001
25048
|
};
|
25049
|
+
closedAt: Date;
|
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;
|
@@ -25483,7 +25533,6 @@ export declare const mainChatContract: {
|
|
25483
25533
|
firstResponseTime: number;
|
25484
25534
|
lastMessage: string;
|
25485
25535
|
handleTime: number;
|
25486
|
-
closeAt: Date;
|
25487
25536
|
unreadCount: number;
|
25488
25537
|
firstResponseAt: Date;
|
25489
25538
|
isLatest: boolean;
|
@@ -25643,6 +25692,8 @@ export declare const mainChatContract: {
|
|
25643
25692
|
telephonySignature: string | null;
|
25644
25693
|
};
|
25645
25694
|
};
|
25695
|
+
closedAt: Date;
|
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>;
|
@@ -26512,7 +26564,6 @@ export declare const mainChatContract: {
|
|
26512
26564
|
firstResponseTime: z.ZodNumber;
|
26513
26565
|
lastMessage: z.ZodString;
|
26514
26566
|
handleTime: z.ZodNumber;
|
26515
|
-
closeAt: z.ZodDate;
|
26516
26567
|
unreadCount: z.ZodNumber;
|
26517
26568
|
firstResponseAt: z.ZodDate;
|
26518
26569
|
isLatest: z.ZodBoolean;
|
@@ -27654,6 +27705,8 @@ export declare const mainChatContract: {
|
|
27654
27705
|
telephonySignature: string | null;
|
27655
27706
|
};
|
27656
27707
|
}>;
|
27708
|
+
closedAt: z.ZodDate;
|
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;
|
@@ -27917,7 +27971,6 @@ export declare const mainChatContract: {
|
|
27917
27971
|
firstResponseTime: number;
|
27918
27972
|
lastMessage: string;
|
27919
27973
|
handleTime: number;
|
27920
|
-
closeAt: Date;
|
27921
27974
|
unreadCount: number;
|
27922
27975
|
firstResponseAt: Date;
|
27923
27976
|
isLatest: boolean;
|
@@ -28077,6 +28130,8 @@ export declare const mainChatContract: {
|
|
28077
28130
|
telephonySignature: string | null;
|
28078
28131
|
};
|
28079
28132
|
};
|
28133
|
+
closedAt: Date;
|
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;
|
@@ -28230,7 +28286,6 @@ export declare const mainChatContract: {
|
|
28230
28286
|
firstResponseTime: number;
|
28231
28287
|
lastMessage: string;
|
28232
28288
|
handleTime: number;
|
28233
|
-
closeAt: Date;
|
28234
28289
|
unreadCount: number;
|
28235
28290
|
firstResponseAt: Date;
|
28236
28291
|
isLatest: boolean;
|
@@ -28390,6 +28445,8 @@ export declare const mainChatContract: {
|
|
28390
28445
|
telephonySignature: string | null;
|
28391
28446
|
};
|
28392
28447
|
};
|
28448
|
+
closedAt: Date;
|
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;
|
@@ -28545,7 +28603,6 @@ export declare const mainChatContract: {
|
|
28545
28603
|
firstResponseTime: number;
|
28546
28604
|
lastMessage: string;
|
28547
28605
|
handleTime: number;
|
28548
|
-
closeAt: Date;
|
28549
28606
|
unreadCount: number;
|
28550
28607
|
firstResponseAt: Date;
|
28551
28608
|
isLatest: boolean;
|
@@ -28705,6 +28762,8 @@ export declare const mainChatContract: {
|
|
28705
28762
|
telephonySignature: string | null;
|
28706
28763
|
};
|
28707
28764
|
};
|
28765
|
+
closedAt: Date;
|
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;
|
@@ -28861,7 +28921,6 @@ export declare const mainChatContract: {
|
|
28861
28921
|
firstResponseTime: number;
|
28862
28922
|
lastMessage: string;
|
28863
28923
|
handleTime: number;
|
28864
|
-
closeAt: Date;
|
28865
28924
|
unreadCount: number;
|
28866
28925
|
firstResponseAt: Date;
|
28867
28926
|
isLatest: boolean;
|
@@ -29021,6 +29080,8 @@ export declare const mainChatContract: {
|
|
29021
29080
|
telephonySignature: string | null;
|
29022
29081
|
};
|
29023
29082
|
};
|
29083
|
+
closedAt: Date;
|
29084
|
+
lastMessageAt: Date | null;
|
29024
29085
|
cxlog: {
|
29025
29086
|
id: string;
|
29026
29087
|
channel: string | null;
|
@@ -29111,7 +29172,9 @@ export declare const mainChatContract: {
|
|
29111
29172
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
29112
29173
|
lastMessage: z.ZodString;
|
29113
29174
|
handleTime: z.ZodNumber;
|
29114
|
-
|
29175
|
+
closedAt: 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;
|
@@ -31086,7 +31150,6 @@ export declare const mainChatContract: {
|
|
31086
31150
|
firstResponseTime: number;
|
31087
31151
|
lastMessage: string;
|
31088
31152
|
handleTime: number;
|
31089
|
-
closeAt: Date;
|
31090
31153
|
unreadCount: number;
|
31091
31154
|
firstResponseAt: Date;
|
31092
31155
|
isLatest: boolean;
|
@@ -31246,6 +31309,8 @@ export declare const mainChatContract: {
|
|
31246
31309
|
telephonySignature: string | null;
|
31247
31310
|
};
|
31248
31311
|
};
|
31312
|
+
closedAt: Date;
|
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;
|
@@ -31398,7 +31464,6 @@ export declare const mainChatContract: {
|
|
31398
31464
|
firstResponseTime: number;
|
31399
31465
|
lastMessage: string;
|
31400
31466
|
handleTime: number;
|
31401
|
-
closeAt: Date;
|
31402
31467
|
unreadCount: number;
|
31403
31468
|
firstResponseAt: Date;
|
31404
31469
|
isLatest: boolean;
|
@@ -31558,6 +31623,8 @@ export declare const mainChatContract: {
|
|
31558
31623
|
telephonySignature: string | null;
|
31559
31624
|
};
|
31560
31625
|
};
|
31626
|
+
closedAt: Date;
|
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;
|
@@ -31712,7 +31780,6 @@ export declare const mainChatContract: {
|
|
31712
31780
|
firstResponseTime: number;
|
31713
31781
|
lastMessage: string;
|
31714
31782
|
handleTime: number;
|
31715
|
-
closeAt: Date;
|
31716
31783
|
unreadCount: number;
|
31717
31784
|
firstResponseAt: Date;
|
31718
31785
|
isLatest: boolean;
|
@@ -31872,6 +31939,8 @@ export declare const mainChatContract: {
|
|
31872
31939
|
telephonySignature: string | null;
|
31873
31940
|
};
|
31874
31941
|
};
|
31942
|
+
closedAt: Date;
|
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;
|
@@ -32027,7 +32097,6 @@ export declare const mainChatContract: {
|
|
32027
32097
|
firstResponseTime: number;
|
32028
32098
|
lastMessage: string;
|
32029
32099
|
handleTime: number;
|
32030
|
-
closeAt: Date;
|
32031
32100
|
unreadCount: number;
|
32032
32101
|
firstResponseAt: Date;
|
32033
32102
|
isLatest: boolean;
|
@@ -32187,6 +32256,8 @@ export declare const mainChatContract: {
|
|
32187
32256
|
telephonySignature: string | null;
|
32188
32257
|
};
|
32189
32258
|
};
|
32259
|
+
closedAt: Date;
|
32260
|
+
lastMessageAt: Date | null;
|
32190
32261
|
cxlog: {
|
32191
32262
|
id: string;
|
32192
32263
|
channel: string | null;
|
@@ -32263,7 +32334,9 @@ export declare const mainChatContract: {
|
|
32263
32334
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
32264
32335
|
lastMessage: z.ZodString;
|
32265
32336
|
handleTime: z.ZodNumber;
|
32266
|
-
|
32337
|
+
closedAt: 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;
|
@@ -34238,7 +34312,6 @@ export declare const mainChatContract: {
|
|
34238
34312
|
firstResponseTime: number;
|
34239
34313
|
lastMessage: string;
|
34240
34314
|
handleTime: number;
|
34241
|
-
closeAt: Date;
|
34242
34315
|
unreadCount: number;
|
34243
34316
|
firstResponseAt: Date;
|
34244
34317
|
isLatest: boolean;
|
@@ -34398,6 +34471,8 @@ export declare const mainChatContract: {
|
|
34398
34471
|
telephonySignature: string | null;
|
34399
34472
|
};
|
34400
34473
|
};
|
34474
|
+
closedAt: Date;
|
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;
|
@@ -34550,7 +34626,6 @@ export declare const mainChatContract: {
|
|
34550
34626
|
firstResponseTime: number;
|
34551
34627
|
lastMessage: string;
|
34552
34628
|
handleTime: number;
|
34553
|
-
closeAt: Date;
|
34554
34629
|
unreadCount: number;
|
34555
34630
|
firstResponseAt: Date;
|
34556
34631
|
isLatest: boolean;
|
@@ -34710,6 +34785,8 @@ export declare const mainChatContract: {
|
|
34710
34785
|
telephonySignature: string | null;
|
34711
34786
|
};
|
34712
34787
|
};
|
34788
|
+
closedAt: Date;
|
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;
|
@@ -34864,7 +34942,6 @@ export declare const mainChatContract: {
|
|
34864
34942
|
firstResponseTime: number;
|
34865
34943
|
lastMessage: string;
|
34866
34944
|
handleTime: number;
|
34867
|
-
closeAt: Date;
|
34868
34945
|
unreadCount: number;
|
34869
34946
|
firstResponseAt: Date;
|
34870
34947
|
isLatest: boolean;
|
@@ -35024,6 +35101,8 @@ export declare const mainChatContract: {
|
|
35024
35101
|
telephonySignature: string | null;
|
35025
35102
|
};
|
35026
35103
|
};
|
35104
|
+
closedAt: Date;
|
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;
|
@@ -35179,7 +35259,6 @@ export declare const mainChatContract: {
|
|
35179
35259
|
firstResponseTime: number;
|
35180
35260
|
lastMessage: string;
|
35181
35261
|
handleTime: number;
|
35182
|
-
closeAt: Date;
|
35183
35262
|
unreadCount: number;
|
35184
35263
|
firstResponseAt: Date;
|
35185
35264
|
isLatest: boolean;
|
@@ -35339,6 +35418,8 @@ export declare const mainChatContract: {
|
|
35339
35418
|
telephonySignature: string | null;
|
35340
35419
|
};
|
35341
35420
|
};
|
35421
|
+
closedAt: Date;
|
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>;
|
@@ -35997,7 +36079,6 @@ export declare const mainChatContract: {
|
|
35997
36079
|
firstResponseTime: z.ZodNumber;
|
35998
36080
|
lastMessage: z.ZodString;
|
35999
36081
|
handleTime: z.ZodNumber;
|
36000
|
-
closeAt: z.ZodDate;
|
36001
36082
|
unreadCount: z.ZodNumber;
|
36002
36083
|
firstResponseAt: z.ZodDate;
|
36003
36084
|
isLatest: z.ZodBoolean;
|
@@ -37139,6 +37220,8 @@ export declare const mainChatContract: {
|
|
37139
37220
|
telephonySignature: string | null;
|
37140
37221
|
};
|
37141
37222
|
}>;
|
37223
|
+
closedAt: z.ZodDate;
|
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;
|
@@ -38186,7 +38270,6 @@ export declare const mainChatContract: {
|
|
38186
38270
|
firstResponseTime: number;
|
38187
38271
|
lastMessage: string;
|
38188
38272
|
handleTime: number;
|
38189
|
-
closeAt: Date;
|
38190
38273
|
unreadCount: number;
|
38191
38274
|
firstResponseAt: Date;
|
38192
38275
|
isLatest: boolean;
|
@@ -38346,6 +38429,8 @@ export declare const mainChatContract: {
|
|
38346
38429
|
telephonySignature: string | null;
|
38347
38430
|
};
|
38348
38431
|
};
|
38432
|
+
closedAt: Date;
|
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;
|
@@ -38596,7 +38682,6 @@ export declare const mainChatContract: {
|
|
38596
38682
|
firstResponseTime: number;
|
38597
38683
|
lastMessage: string;
|
38598
38684
|
handleTime: number;
|
38599
|
-
closeAt: Date;
|
38600
38685
|
unreadCount: number;
|
38601
38686
|
firstResponseAt: Date;
|
38602
38687
|
isLatest: boolean;
|
@@ -38756,6 +38841,8 @@ export declare const mainChatContract: {
|
|
38756
38841
|
telephonySignature: string | null;
|
38757
38842
|
};
|
38758
38843
|
};
|
38844
|
+
closedAt: Date;
|
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;
|
@@ -39008,7 +39096,6 @@ export declare const mainChatContract: {
|
|
39008
39096
|
firstResponseTime: number;
|
39009
39097
|
lastMessage: string;
|
39010
39098
|
handleTime: number;
|
39011
|
-
closeAt: Date;
|
39012
39099
|
unreadCount: number;
|
39013
39100
|
firstResponseAt: Date;
|
39014
39101
|
isLatest: boolean;
|
@@ -39168,6 +39255,8 @@ export declare const mainChatContract: {
|
|
39168
39255
|
telephonySignature: string | null;
|
39169
39256
|
};
|
39170
39257
|
};
|
39258
|
+
closedAt: Date;
|
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;
|
@@ -39421,7 +39511,6 @@ export declare const mainChatContract: {
|
|
39421
39511
|
firstResponseTime: number;
|
39422
39512
|
lastMessage: string;
|
39423
39513
|
handleTime: number;
|
39424
|
-
closeAt: Date;
|
39425
39514
|
unreadCount: number;
|
39426
39515
|
firstResponseAt: Date;
|
39427
39516
|
isLatest: boolean;
|
@@ -39581,6 +39670,8 @@ export declare const mainChatContract: {
|
|
39581
39670
|
telephonySignature: string | null;
|
39582
39671
|
};
|
39583
39672
|
};
|
39673
|
+
closedAt: Date;
|
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>;
|
@@ -40230,7 +40322,6 @@ export declare const mainChatContract: {
|
|
40230
40322
|
firstResponseTime: z.ZodNumber;
|
40231
40323
|
lastMessage: z.ZodString;
|
40232
40324
|
handleTime: z.ZodNumber;
|
40233
|
-
closeAt: z.ZodDate;
|
40234
40325
|
unreadCount: z.ZodNumber;
|
40235
40326
|
firstResponseAt: z.ZodDate;
|
40236
40327
|
isLatest: z.ZodBoolean;
|
@@ -41372,6 +41463,8 @@ export declare const mainChatContract: {
|
|
41372
41463
|
telephonySignature: string | null;
|
41373
41464
|
};
|
41374
41465
|
}>;
|
41466
|
+
closedAt: z.ZodDate;
|
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;
|
@@ -41636,7 +41730,6 @@ export declare const mainChatContract: {
|
|
41636
41730
|
firstResponseTime: number;
|
41637
41731
|
lastMessage: string;
|
41638
41732
|
handleTime: number;
|
41639
|
-
closeAt: Date;
|
41640
41733
|
unreadCount: number;
|
41641
41734
|
firstResponseAt: Date;
|
41642
41735
|
isLatest: boolean;
|
@@ -41796,6 +41889,8 @@ export declare const mainChatContract: {
|
|
41796
41889
|
telephonySignature: string | null;
|
41797
41890
|
};
|
41798
41891
|
};
|
41892
|
+
closedAt: Date;
|
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;
|
@@ -41949,7 +42045,6 @@ export declare const mainChatContract: {
|
|
41949
42045
|
firstResponseTime: number;
|
41950
42046
|
lastMessage: string;
|
41951
42047
|
handleTime: number;
|
41952
|
-
closeAt: Date;
|
41953
42048
|
unreadCount: number;
|
41954
42049
|
firstResponseAt: Date;
|
41955
42050
|
isLatest: boolean;
|
@@ -42109,6 +42204,8 @@ export declare const mainChatContract: {
|
|
42109
42204
|
telephonySignature: string | null;
|
42110
42205
|
};
|
42111
42206
|
};
|
42207
|
+
closedAt: Date;
|
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;
|
@@ -42264,7 +42362,6 @@ export declare const mainChatContract: {
|
|
42264
42362
|
firstResponseTime: number;
|
42265
42363
|
lastMessage: string;
|
42266
42364
|
handleTime: number;
|
42267
|
-
closeAt: Date;
|
42268
42365
|
unreadCount: number;
|
42269
42366
|
firstResponseAt: Date;
|
42270
42367
|
isLatest: boolean;
|
@@ -42424,6 +42521,8 @@ export declare const mainChatContract: {
|
|
42424
42521
|
telephonySignature: string | null;
|
42425
42522
|
};
|
42426
42523
|
};
|
42524
|
+
closedAt: Date;
|
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;
|
@@ -42580,7 +42680,6 @@ export declare const mainChatContract: {
|
|
42580
42680
|
firstResponseTime: number;
|
42581
42681
|
lastMessage: string;
|
42582
42682
|
handleTime: number;
|
42583
|
-
closeAt: Date;
|
42584
42683
|
unreadCount: number;
|
42585
42684
|
firstResponseAt: Date;
|
42586
42685
|
isLatest: boolean;
|
@@ -42740,6 +42839,8 @@ export declare const mainChatContract: {
|
|
42740
42839
|
telephonySignature: string | null;
|
42741
42840
|
};
|
42742
42841
|
};
|
42842
|
+
closedAt: Date;
|
42843
|
+
lastMessageAt: Date | null;
|
42743
42844
|
cxlog: {
|
42744
42845
|
id: string;
|
42745
42846
|
channel: string | null;
|
@@ -42828,7 +42929,9 @@ export declare const mainChatContract: {
|
|
42828
42929
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
42829
42930
|
lastMessage: z.ZodString;
|
42830
42931
|
handleTime: z.ZodNumber;
|
42831
|
-
|
42932
|
+
closedAt: 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;
|
@@ -44803,7 +44907,6 @@ export declare const mainChatContract: {
|
|
44803
44907
|
firstResponseTime: number;
|
44804
44908
|
lastMessage: string;
|
44805
44909
|
handleTime: number;
|
44806
|
-
closeAt: Date;
|
44807
44910
|
unreadCount: number;
|
44808
44911
|
firstResponseAt: Date;
|
44809
44912
|
isLatest: boolean;
|
@@ -44963,6 +45066,8 @@ export declare const mainChatContract: {
|
|
44963
45066
|
telephonySignature: string | null;
|
44964
45067
|
};
|
44965
45068
|
};
|
45069
|
+
closedAt: Date;
|
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;
|
@@ -45115,7 +45221,6 @@ export declare const mainChatContract: {
|
|
45115
45221
|
firstResponseTime: number;
|
45116
45222
|
lastMessage: string;
|
45117
45223
|
handleTime: number;
|
45118
|
-
closeAt: Date;
|
45119
45224
|
unreadCount: number;
|
45120
45225
|
firstResponseAt: Date;
|
45121
45226
|
isLatest: boolean;
|
@@ -45275,6 +45380,8 @@ export declare const mainChatContract: {
|
|
45275
45380
|
telephonySignature: string | null;
|
45276
45381
|
};
|
45277
45382
|
};
|
45383
|
+
closedAt: Date;
|
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;
|
@@ -45429,7 +45537,6 @@ export declare const mainChatContract: {
|
|
45429
45537
|
firstResponseTime: number;
|
45430
45538
|
lastMessage: string;
|
45431
45539
|
handleTime: number;
|
45432
|
-
closeAt: Date;
|
45433
45540
|
unreadCount: number;
|
45434
45541
|
firstResponseAt: Date;
|
45435
45542
|
isLatest: boolean;
|
@@ -45589,6 +45696,8 @@ export declare const mainChatContract: {
|
|
45589
45696
|
telephonySignature: string | null;
|
45590
45697
|
};
|
45591
45698
|
};
|
45699
|
+
closedAt: Date;
|
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;
|
@@ -45747,7 +45857,6 @@ export declare const mainChatContract: {
|
|
45747
45857
|
firstResponseTime: number;
|
45748
45858
|
lastMessage: string;
|
45749
45859
|
handleTime: number;
|
45750
|
-
closeAt: Date;
|
45751
45860
|
unreadCount: number;
|
45752
45861
|
firstResponseAt: Date;
|
45753
45862
|
isLatest: boolean;
|
@@ -45907,6 +46016,8 @@ export declare const mainChatContract: {
|
|
45907
46016
|
telephonySignature: string | null;
|
45908
46017
|
};
|
45909
46018
|
};
|
46019
|
+
closedAt: Date;
|
46020
|
+
lastMessageAt: Date | null;
|
45910
46021
|
cxlog: {
|
45911
46022
|
id: string;
|
45912
46023
|
channel: string | null;
|