@kl1/contracts 1.0.98 → 1.0.99-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.
Files changed (37) hide show
  1. package/dist/index.js +768 -856
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +768 -855
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +165 -57
  6. package/dist/src/chat/index.d.ts.map +1 -1
  7. package/dist/src/chat/schema.d.ts +24 -8
  8. package/dist/src/chat/schema.d.ts.map +1 -1
  9. package/dist/src/chat/validation.d.ts +76 -15
  10. package/dist/src/chat/validation.d.ts.map +1 -1
  11. package/dist/src/contract.d.ts +1453 -1941
  12. package/dist/src/contract.d.ts.map +1 -1
  13. package/dist/src/index.d.ts +0 -1
  14. package/dist/src/index.d.ts.map +1 -1
  15. package/dist/src/instagram/index.d.ts +73 -12
  16. package/dist/src/instagram/index.d.ts.map +1 -1
  17. package/dist/src/line/index.d.ts +73 -12
  18. package/dist/src/line/index.d.ts.map +1 -1
  19. package/dist/src/mail/account-contract.d.ts +132 -132
  20. package/dist/src/mail/mail-contract.d.ts +258 -715
  21. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  22. package/dist/src/mail/mail-server-contract.d.ts +18 -477
  23. package/dist/src/mail/mail-server-contract.d.ts.map +1 -1
  24. package/dist/src/mail/room-contract.d.ts +108 -108
  25. package/dist/src/mail/schemas/account-validation.schema.d.ts +140 -140
  26. package/dist/src/mail/schemas/account.schema.d.ts +32 -32
  27. package/dist/src/mail/schemas/room-validation.schema.d.ts +36 -36
  28. package/dist/src/mail/schemas/room.schema.d.ts +28 -28
  29. package/dist/src/messenger/index.d.ts +73 -12
  30. package/dist/src/messenger/index.d.ts.map +1 -1
  31. package/dist/src/user/index.d.ts +4 -388
  32. package/dist/src/user/index.d.ts.map +1 -1
  33. package/dist/src/user/validation.d.ts +0 -7
  34. package/dist/src/user/validation.d.ts.map +1 -1
  35. package/dist/src/viber/index.d.ts +73 -12
  36. package/dist/src/viber/index.d.ts.map +1 -1
  37. package/package.json +1 -1
@@ -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
- closeAt: z.ZodDate;
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
- closeAt: z.ZodDate;
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,11 +12262,10 @@ export declare const mainChatContract: {
12242
12262
  stickerId: number;
12243
12263
  }>>;
12244
12264
  file: z.ZodOptional<z.ZodType<File, z.ZodTypeDef, File>>;
12245
- messengerTags: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
12265
+ messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
12246
12266
  }, "strip", z.ZodTypeAny, {
12247
12267
  messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
12248
12268
  roomId: string;
12249
- messengerTags: 2 | 1 | 3;
12250
12269
  message?: string | undefined;
12251
12270
  messageAttachments?: {
12252
12271
  url: string | null;
@@ -12306,10 +12325,10 @@ export declare const mainChatContract: {
12306
12325
  stickerId: number;
12307
12326
  } | undefined;
12308
12327
  file?: File | undefined;
12328
+ messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
12309
12329
  }, {
12310
12330
  messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
12311
12331
  roomId: string;
12312
- messengerTags: 2 | 1 | 3;
12313
12332
  message?: string | undefined;
12314
12333
  messageAttachments?: {
12315
12334
  url: string | null;
@@ -12369,6 +12388,7 @@ export declare const mainChatContract: {
12369
12388
  stickerId: number;
12370
12389
  } | undefined;
12371
12390
  file?: File | undefined;
12391
+ messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
12372
12392
  }>;
12373
12393
  summary: "Send message to room";
12374
12394
  method: "POST";
@@ -12400,7 +12420,9 @@ export declare const mainChatContract: {
12400
12420
  deletedAt: z.ZodNullable<z.ZodDate>;
12401
12421
  lastMessage: z.ZodString;
12402
12422
  handleTime: z.ZodNumber;
12403
- closeAt: z.ZodDate;
12423
+ closedAt: z.ZodDate;
12424
+ lastMessageAt: z.ZodNullable<z.ZodDate>;
12425
+ status: z.ZodNumber;
12404
12426
  unreadCount: z.ZodNumber;
12405
12427
  firstResponseAt: z.ZodDate;
12406
12428
  firstResponseTime: z.ZodNumber;
@@ -14325,6 +14347,7 @@ export declare const mainChatContract: {
14325
14347
  connectedUserId: string;
14326
14348
  };
14327
14349
  direction: "incoming" | "outgoing" | "system";
14350
+ status: number;
14328
14351
  createdAt: Date;
14329
14352
  updatedAt: Date;
14330
14353
  deletedAt: Date | null;
@@ -14375,7 +14398,6 @@ export declare const mainChatContract: {
14375
14398
  firstResponseTime: number;
14376
14399
  lastMessage: string;
14377
14400
  handleTime: number;
14378
- closeAt: Date;
14379
14401
  unreadCount: number;
14380
14402
  firstResponseAt: Date;
14381
14403
  isLatest: boolean;
@@ -14535,6 +14557,8 @@ export declare const mainChatContract: {
14535
14557
  telephonySignature: string | null;
14536
14558
  };
14537
14559
  };
14560
+ closedAt: Date;
14561
+ lastMessageAt: Date | null;
14538
14562
  cxlog: {
14539
14563
  id: string;
14540
14564
  channel: string | null;
@@ -14637,6 +14661,7 @@ export declare const mainChatContract: {
14637
14661
  connectedUserId: string;
14638
14662
  };
14639
14663
  direction: "incoming" | "outgoing" | "system";
14664
+ status: number;
14640
14665
  createdAt: Date;
14641
14666
  updatedAt: Date;
14642
14667
  deletedAt: Date | null;
@@ -14687,7 +14712,6 @@ export declare const mainChatContract: {
14687
14712
  firstResponseTime: number;
14688
14713
  lastMessage: string;
14689
14714
  handleTime: number;
14690
- closeAt: Date;
14691
14715
  unreadCount: number;
14692
14716
  firstResponseAt: Date;
14693
14717
  isLatest: boolean;
@@ -14847,6 +14871,8 @@ export declare const mainChatContract: {
14847
14871
  telephonySignature: string | null;
14848
14872
  };
14849
14873
  };
14874
+ closedAt: Date;
14875
+ lastMessageAt: Date | null;
14850
14876
  cxlog: {
14851
14877
  id: string;
14852
14878
  channel: string | null;
@@ -16695,6 +16721,7 @@ export declare const mainChatContract: {
16695
16721
  connectedUserId: string;
16696
16722
  };
16697
16723
  direction: "incoming" | "outgoing" | "system";
16724
+ status: number;
16698
16725
  createdAt: Date;
16699
16726
  updatedAt: Date;
16700
16727
  deletedAt: Date | null;
@@ -16745,7 +16772,6 @@ export declare const mainChatContract: {
16745
16772
  firstResponseTime: number;
16746
16773
  lastMessage: string;
16747
16774
  handleTime: number;
16748
- closeAt: Date;
16749
16775
  unreadCount: number;
16750
16776
  firstResponseAt: Date;
16751
16777
  isLatest: boolean;
@@ -16905,6 +16931,8 @@ export declare const mainChatContract: {
16905
16931
  telephonySignature: string | null;
16906
16932
  };
16907
16933
  };
16934
+ closedAt: Date;
16935
+ lastMessageAt: Date | null;
16908
16936
  cxlog: {
16909
16937
  id: string;
16910
16938
  channel: string | null;
@@ -17333,6 +17361,7 @@ export declare const mainChatContract: {
17333
17361
  connectedUserId: string;
17334
17362
  };
17335
17363
  direction: "incoming" | "outgoing" | "system";
17364
+ status: number;
17336
17365
  createdAt: Date;
17337
17366
  updatedAt: Date;
17338
17367
  deletedAt: Date | null;
@@ -17383,7 +17412,6 @@ export declare const mainChatContract: {
17383
17412
  firstResponseTime: number;
17384
17413
  lastMessage: string;
17385
17414
  handleTime: number;
17386
- closeAt: Date;
17387
17415
  unreadCount: number;
17388
17416
  firstResponseAt: Date;
17389
17417
  isLatest: boolean;
@@ -17543,6 +17571,8 @@ export declare const mainChatContract: {
17543
17571
  telephonySignature: string | null;
17544
17572
  };
17545
17573
  };
17574
+ closedAt: Date;
17575
+ lastMessageAt: Date | null;
17546
17576
  cxlog: {
17547
17577
  id: string;
17548
17578
  channel: string | null;
@@ -17973,6 +18003,7 @@ export declare const mainChatContract: {
17973
18003
  connectedUserId: string;
17974
18004
  };
17975
18005
  direction: "incoming" | "outgoing" | "system";
18006
+ status: number;
17976
18007
  createdAt: Date;
17977
18008
  updatedAt: Date;
17978
18009
  deletedAt: Date | null;
@@ -18023,7 +18054,6 @@ export declare const mainChatContract: {
18023
18054
  firstResponseTime: number;
18024
18055
  lastMessage: string;
18025
18056
  handleTime: number;
18026
- closeAt: Date;
18027
18057
  unreadCount: number;
18028
18058
  firstResponseAt: Date;
18029
18059
  isLatest: boolean;
@@ -18183,6 +18213,8 @@ export declare const mainChatContract: {
18183
18213
  telephonySignature: string | null;
18184
18214
  };
18185
18215
  };
18216
+ closedAt: Date;
18217
+ lastMessageAt: Date | null;
18186
18218
  cxlog: {
18187
18219
  id: string;
18188
18220
  channel: string | null;
@@ -18614,6 +18646,7 @@ export declare const mainChatContract: {
18614
18646
  connectedUserId: string;
18615
18647
  };
18616
18648
  direction: "incoming" | "outgoing" | "system";
18649
+ status: number;
18617
18650
  createdAt: Date;
18618
18651
  updatedAt: Date;
18619
18652
  deletedAt: Date | null;
@@ -18664,7 +18697,6 @@ export declare const mainChatContract: {
18664
18697
  firstResponseTime: number;
18665
18698
  lastMessage: string;
18666
18699
  handleTime: number;
18667
- closeAt: Date;
18668
18700
  unreadCount: number;
18669
18701
  firstResponseAt: Date;
18670
18702
  isLatest: boolean;
@@ -18824,6 +18856,8 @@ export declare const mainChatContract: {
18824
18856
  telephonySignature: string | null;
18825
18857
  };
18826
18858
  };
18859
+ closedAt: Date;
18860
+ lastMessageAt: Date | null;
18827
18861
  cxlog: {
18828
18862
  id: string;
18829
18863
  channel: string | null;
@@ -19219,7 +19253,9 @@ export declare const mainChatContract: {
19219
19253
  deletedAt: z.ZodNullable<z.ZodDate>;
19220
19254
  lastMessage: z.ZodString;
19221
19255
  handleTime: z.ZodNumber;
19222
- closeAt: z.ZodDate;
19256
+ closedAt: z.ZodDate;
19257
+ lastMessageAt: z.ZodNullable<z.ZodDate>;
19258
+ status: z.ZodNumber;
19223
19259
  unreadCount: z.ZodNumber;
19224
19260
  firstResponseAt: z.ZodDate;
19225
19261
  firstResponseTime: z.ZodNumber;
@@ -21144,6 +21180,7 @@ export declare const mainChatContract: {
21144
21180
  connectedUserId: string;
21145
21181
  };
21146
21182
  direction: "incoming" | "outgoing" | "system";
21183
+ status: number;
21147
21184
  createdAt: Date;
21148
21185
  updatedAt: Date;
21149
21186
  deletedAt: Date | null;
@@ -21194,7 +21231,6 @@ export declare const mainChatContract: {
21194
21231
  firstResponseTime: number;
21195
21232
  lastMessage: string;
21196
21233
  handleTime: number;
21197
- closeAt: Date;
21198
21234
  unreadCount: number;
21199
21235
  firstResponseAt: Date;
21200
21236
  isLatest: boolean;
@@ -21354,6 +21390,8 @@ export declare const mainChatContract: {
21354
21390
  telephonySignature: string | null;
21355
21391
  };
21356
21392
  };
21393
+ closedAt: Date;
21394
+ lastMessageAt: Date | null;
21357
21395
  cxlog: {
21358
21396
  id: string;
21359
21397
  channel: string | null;
@@ -21456,6 +21494,7 @@ export declare const mainChatContract: {
21456
21494
  connectedUserId: string;
21457
21495
  };
21458
21496
  direction: "incoming" | "outgoing" | "system";
21497
+ status: number;
21459
21498
  createdAt: Date;
21460
21499
  updatedAt: Date;
21461
21500
  deletedAt: Date | null;
@@ -21506,7 +21545,6 @@ export declare const mainChatContract: {
21506
21545
  firstResponseTime: number;
21507
21546
  lastMessage: string;
21508
21547
  handleTime: number;
21509
- closeAt: Date;
21510
21548
  unreadCount: number;
21511
21549
  firstResponseAt: Date;
21512
21550
  isLatest: boolean;
@@ -21666,6 +21704,8 @@ export declare const mainChatContract: {
21666
21704
  telephonySignature: string | null;
21667
21705
  };
21668
21706
  };
21707
+ closedAt: Date;
21708
+ lastMessageAt: Date | null;
21669
21709
  cxlog: {
21670
21710
  id: string;
21671
21711
  channel: string | null;
@@ -23514,6 +23554,7 @@ export declare const mainChatContract: {
23514
23554
  connectedUserId: string;
23515
23555
  };
23516
23556
  direction: "incoming" | "outgoing" | "system";
23557
+ status: number;
23517
23558
  createdAt: Date;
23518
23559
  updatedAt: Date;
23519
23560
  deletedAt: Date | null;
@@ -23564,7 +23605,6 @@ export declare const mainChatContract: {
23564
23605
  firstResponseTime: number;
23565
23606
  lastMessage: string;
23566
23607
  handleTime: number;
23567
- closeAt: Date;
23568
23608
  unreadCount: number;
23569
23609
  firstResponseAt: Date;
23570
23610
  isLatest: boolean;
@@ -23724,6 +23764,8 @@ export declare const mainChatContract: {
23724
23764
  telephonySignature: string | null;
23725
23765
  };
23726
23766
  };
23767
+ closedAt: Date;
23768
+ lastMessageAt: Date | null;
23727
23769
  cxlog: {
23728
23770
  id: string;
23729
23771
  channel: string | null;
@@ -24152,6 +24194,7 @@ export declare const mainChatContract: {
24152
24194
  connectedUserId: string;
24153
24195
  };
24154
24196
  direction: "incoming" | "outgoing" | "system";
24197
+ status: number;
24155
24198
  createdAt: Date;
24156
24199
  updatedAt: Date;
24157
24200
  deletedAt: Date | null;
@@ -24202,7 +24245,6 @@ export declare const mainChatContract: {
24202
24245
  firstResponseTime: number;
24203
24246
  lastMessage: string;
24204
24247
  handleTime: number;
24205
- closeAt: Date;
24206
24248
  unreadCount: number;
24207
24249
  firstResponseAt: Date;
24208
24250
  isLatest: boolean;
@@ -24362,6 +24404,8 @@ export declare const mainChatContract: {
24362
24404
  telephonySignature: string | null;
24363
24405
  };
24364
24406
  };
24407
+ closedAt: Date;
24408
+ lastMessageAt: Date | null;
24365
24409
  cxlog: {
24366
24410
  id: string;
24367
24411
  channel: string | null;
@@ -24792,6 +24836,7 @@ export declare const mainChatContract: {
24792
24836
  connectedUserId: string;
24793
24837
  };
24794
24838
  direction: "incoming" | "outgoing" | "system";
24839
+ status: number;
24795
24840
  createdAt: Date;
24796
24841
  updatedAt: Date;
24797
24842
  deletedAt: Date | null;
@@ -24842,7 +24887,6 @@ export declare const mainChatContract: {
24842
24887
  firstResponseTime: number;
24843
24888
  lastMessage: string;
24844
24889
  handleTime: number;
24845
- closeAt: Date;
24846
24890
  unreadCount: number;
24847
24891
  firstResponseAt: Date;
24848
24892
  isLatest: boolean;
@@ -25002,6 +25046,8 @@ export declare const mainChatContract: {
25002
25046
  telephonySignature: string | null;
25003
25047
  };
25004
25048
  };
25049
+ closedAt: Date;
25050
+ lastMessageAt: Date | null;
25005
25051
  cxlog: {
25006
25052
  id: string;
25007
25053
  channel: string | null;
@@ -25436,6 +25482,7 @@ export declare const mainChatContract: {
25436
25482
  connectedUserId: string;
25437
25483
  };
25438
25484
  direction: "incoming" | "outgoing" | "system";
25485
+ status: number;
25439
25486
  createdAt: Date;
25440
25487
  updatedAt: Date;
25441
25488
  deletedAt: Date | null;
@@ -25486,7 +25533,6 @@ export declare const mainChatContract: {
25486
25533
  firstResponseTime: number;
25487
25534
  lastMessage: string;
25488
25535
  handleTime: number;
25489
- closeAt: Date;
25490
25536
  unreadCount: number;
25491
25537
  firstResponseAt: Date;
25492
25538
  isLatest: boolean;
@@ -25646,6 +25692,8 @@ export declare const mainChatContract: {
25646
25692
  telephonySignature: string | null;
25647
25693
  };
25648
25694
  };
25695
+ closedAt: Date;
25696
+ lastMessageAt: Date | null;
25649
25697
  cxlog: {
25650
25698
  id: string;
25651
25699
  channel: string | null;
@@ -26305,6 +26353,7 @@ export declare const mainChatContract: {
26305
26353
  connectedUserId: string;
26306
26354
  }>;
26307
26355
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
26356
+ status: z.ZodNumber;
26308
26357
  createdAt: z.ZodDate;
26309
26358
  updatedAt: z.ZodDate;
26310
26359
  deletedAt: z.ZodNullable<z.ZodDate>;
@@ -26515,7 +26564,6 @@ export declare const mainChatContract: {
26515
26564
  firstResponseTime: z.ZodNumber;
26516
26565
  lastMessage: z.ZodString;
26517
26566
  handleTime: z.ZodNumber;
26518
- closeAt: z.ZodDate;
26519
26567
  unreadCount: z.ZodNumber;
26520
26568
  firstResponseAt: z.ZodDate;
26521
26569
  isLatest: z.ZodBoolean;
@@ -27657,6 +27705,8 @@ export declare const mainChatContract: {
27657
27705
  telephonySignature: string | null;
27658
27706
  };
27659
27707
  }>;
27708
+ closedAt: z.ZodDate;
27709
+ lastMessageAt: z.ZodNullable<z.ZodDate>;
27660
27710
  cxlog: z.ZodObject<{
27661
27711
  id: z.ZodString;
27662
27712
  createdAt: z.ZodDate;
@@ -27870,6 +27920,7 @@ export declare const mainChatContract: {
27870
27920
  connectedUserId: string;
27871
27921
  };
27872
27922
  direction: "incoming" | "outgoing" | "system";
27923
+ status: number;
27873
27924
  createdAt: Date;
27874
27925
  updatedAt: Date;
27875
27926
  deletedAt: Date | null;
@@ -27920,7 +27971,6 @@ export declare const mainChatContract: {
27920
27971
  firstResponseTime: number;
27921
27972
  lastMessage: string;
27922
27973
  handleTime: number;
27923
- closeAt: Date;
27924
27974
  unreadCount: number;
27925
27975
  firstResponseAt: Date;
27926
27976
  isLatest: boolean;
@@ -28080,6 +28130,8 @@ export declare const mainChatContract: {
28080
28130
  telephonySignature: string | null;
28081
28131
  };
28082
28132
  };
28133
+ closedAt: Date;
28134
+ lastMessageAt: Date | null;
28083
28135
  cxlog: {
28084
28136
  id: string;
28085
28137
  channel: string | null;
@@ -28183,6 +28235,7 @@ export declare const mainChatContract: {
28183
28235
  connectedUserId: string;
28184
28236
  };
28185
28237
  direction: "incoming" | "outgoing" | "system";
28238
+ status: number;
28186
28239
  createdAt: Date;
28187
28240
  updatedAt: Date;
28188
28241
  deletedAt: Date | null;
@@ -28233,7 +28286,6 @@ export declare const mainChatContract: {
28233
28286
  firstResponseTime: number;
28234
28287
  lastMessage: string;
28235
28288
  handleTime: number;
28236
- closeAt: Date;
28237
28289
  unreadCount: number;
28238
28290
  firstResponseAt: Date;
28239
28291
  isLatest: boolean;
@@ -28393,6 +28445,8 @@ export declare const mainChatContract: {
28393
28445
  telephonySignature: string | null;
28394
28446
  };
28395
28447
  };
28448
+ closedAt: Date;
28449
+ lastMessageAt: Date | null;
28396
28450
  cxlog: {
28397
28451
  id: string;
28398
28452
  channel: string | null;
@@ -28498,6 +28552,7 @@ export declare const mainChatContract: {
28498
28552
  connectedUserId: string;
28499
28553
  };
28500
28554
  direction: "incoming" | "outgoing" | "system";
28555
+ status: number;
28501
28556
  createdAt: Date;
28502
28557
  updatedAt: Date;
28503
28558
  deletedAt: Date | null;
@@ -28548,7 +28603,6 @@ export declare const mainChatContract: {
28548
28603
  firstResponseTime: number;
28549
28604
  lastMessage: string;
28550
28605
  handleTime: number;
28551
- closeAt: Date;
28552
28606
  unreadCount: number;
28553
28607
  firstResponseAt: Date;
28554
28608
  isLatest: boolean;
@@ -28708,6 +28762,8 @@ export declare const mainChatContract: {
28708
28762
  telephonySignature: string | null;
28709
28763
  };
28710
28764
  };
28765
+ closedAt: Date;
28766
+ lastMessageAt: Date | null;
28711
28767
  cxlog: {
28712
28768
  id: string;
28713
28769
  channel: string | null;
@@ -28814,6 +28870,7 @@ export declare const mainChatContract: {
28814
28870
  connectedUserId: string;
28815
28871
  };
28816
28872
  direction: "incoming" | "outgoing" | "system";
28873
+ status: number;
28817
28874
  createdAt: Date;
28818
28875
  updatedAt: Date;
28819
28876
  deletedAt: Date | null;
@@ -28864,7 +28921,6 @@ export declare const mainChatContract: {
28864
28921
  firstResponseTime: number;
28865
28922
  lastMessage: string;
28866
28923
  handleTime: number;
28867
- closeAt: Date;
28868
28924
  unreadCount: number;
28869
28925
  firstResponseAt: Date;
28870
28926
  isLatest: boolean;
@@ -29024,6 +29080,8 @@ export declare const mainChatContract: {
29024
29080
  telephonySignature: string | null;
29025
29081
  };
29026
29082
  };
29083
+ closedAt: Date;
29084
+ lastMessageAt: Date | null;
29027
29085
  cxlog: {
29028
29086
  id: string;
29029
29087
  channel: string | null;
@@ -29114,7 +29172,9 @@ export declare const mainChatContract: {
29114
29172
  deletedAt: z.ZodNullable<z.ZodDate>;
29115
29173
  lastMessage: z.ZodString;
29116
29174
  handleTime: z.ZodNumber;
29117
- closeAt: z.ZodDate;
29175
+ closedAt: z.ZodDate;
29176
+ lastMessageAt: z.ZodNullable<z.ZodDate>;
29177
+ status: z.ZodNumber;
29118
29178
  unreadCount: z.ZodNumber;
29119
29179
  firstResponseAt: z.ZodDate;
29120
29180
  firstResponseTime: z.ZodNumber;
@@ -31039,6 +31099,7 @@ export declare const mainChatContract: {
31039
31099
  connectedUserId: string;
31040
31100
  };
31041
31101
  direction: "incoming" | "outgoing" | "system";
31102
+ status: number;
31042
31103
  createdAt: Date;
31043
31104
  updatedAt: Date;
31044
31105
  deletedAt: Date | null;
@@ -31089,7 +31150,6 @@ export declare const mainChatContract: {
31089
31150
  firstResponseTime: number;
31090
31151
  lastMessage: string;
31091
31152
  handleTime: number;
31092
- closeAt: Date;
31093
31153
  unreadCount: number;
31094
31154
  firstResponseAt: Date;
31095
31155
  isLatest: boolean;
@@ -31249,6 +31309,8 @@ export declare const mainChatContract: {
31249
31309
  telephonySignature: string | null;
31250
31310
  };
31251
31311
  };
31312
+ closedAt: Date;
31313
+ lastMessageAt: Date | null;
31252
31314
  cxlog: {
31253
31315
  id: string;
31254
31316
  channel: string | null;
@@ -31351,6 +31413,7 @@ export declare const mainChatContract: {
31351
31413
  connectedUserId: string;
31352
31414
  };
31353
31415
  direction: "incoming" | "outgoing" | "system";
31416
+ status: number;
31354
31417
  createdAt: Date;
31355
31418
  updatedAt: Date;
31356
31419
  deletedAt: Date | null;
@@ -31401,7 +31464,6 @@ export declare const mainChatContract: {
31401
31464
  firstResponseTime: number;
31402
31465
  lastMessage: string;
31403
31466
  handleTime: number;
31404
- closeAt: Date;
31405
31467
  unreadCount: number;
31406
31468
  firstResponseAt: Date;
31407
31469
  isLatest: boolean;
@@ -31561,6 +31623,8 @@ export declare const mainChatContract: {
31561
31623
  telephonySignature: string | null;
31562
31624
  };
31563
31625
  };
31626
+ closedAt: Date;
31627
+ lastMessageAt: Date | null;
31564
31628
  cxlog: {
31565
31629
  id: string;
31566
31630
  channel: string | null;
@@ -31665,6 +31729,7 @@ export declare const mainChatContract: {
31665
31729
  connectedUserId: string;
31666
31730
  };
31667
31731
  direction: "incoming" | "outgoing" | "system";
31732
+ status: number;
31668
31733
  createdAt: Date;
31669
31734
  updatedAt: Date;
31670
31735
  deletedAt: Date | null;
@@ -31715,7 +31780,6 @@ export declare const mainChatContract: {
31715
31780
  firstResponseTime: number;
31716
31781
  lastMessage: string;
31717
31782
  handleTime: number;
31718
- closeAt: Date;
31719
31783
  unreadCount: number;
31720
31784
  firstResponseAt: Date;
31721
31785
  isLatest: boolean;
@@ -31875,6 +31939,8 @@ export declare const mainChatContract: {
31875
31939
  telephonySignature: string | null;
31876
31940
  };
31877
31941
  };
31942
+ closedAt: Date;
31943
+ lastMessageAt: Date | null;
31878
31944
  cxlog: {
31879
31945
  id: string;
31880
31946
  channel: string | null;
@@ -31980,6 +32046,7 @@ export declare const mainChatContract: {
31980
32046
  connectedUserId: string;
31981
32047
  };
31982
32048
  direction: "incoming" | "outgoing" | "system";
32049
+ status: number;
31983
32050
  createdAt: Date;
31984
32051
  updatedAt: Date;
31985
32052
  deletedAt: Date | null;
@@ -32030,7 +32097,6 @@ export declare const mainChatContract: {
32030
32097
  firstResponseTime: number;
32031
32098
  lastMessage: string;
32032
32099
  handleTime: number;
32033
- closeAt: Date;
32034
32100
  unreadCount: number;
32035
32101
  firstResponseAt: Date;
32036
32102
  isLatest: boolean;
@@ -32190,6 +32256,8 @@ export declare const mainChatContract: {
32190
32256
  telephonySignature: string | null;
32191
32257
  };
32192
32258
  };
32259
+ closedAt: Date;
32260
+ lastMessageAt: Date | null;
32193
32261
  cxlog: {
32194
32262
  id: string;
32195
32263
  channel: string | null;
@@ -32266,7 +32334,9 @@ export declare const mainChatContract: {
32266
32334
  deletedAt: z.ZodNullable<z.ZodDate>;
32267
32335
  lastMessage: z.ZodString;
32268
32336
  handleTime: z.ZodNumber;
32269
- closeAt: z.ZodDate;
32337
+ closedAt: z.ZodDate;
32338
+ lastMessageAt: z.ZodNullable<z.ZodDate>;
32339
+ status: z.ZodNumber;
32270
32340
  unreadCount: z.ZodNumber;
32271
32341
  firstResponseAt: z.ZodDate;
32272
32342
  firstResponseTime: z.ZodNumber;
@@ -34191,6 +34261,7 @@ export declare const mainChatContract: {
34191
34261
  connectedUserId: string;
34192
34262
  };
34193
34263
  direction: "incoming" | "outgoing" | "system";
34264
+ status: number;
34194
34265
  createdAt: Date;
34195
34266
  updatedAt: Date;
34196
34267
  deletedAt: Date | null;
@@ -34241,7 +34312,6 @@ export declare const mainChatContract: {
34241
34312
  firstResponseTime: number;
34242
34313
  lastMessage: string;
34243
34314
  handleTime: number;
34244
- closeAt: Date;
34245
34315
  unreadCount: number;
34246
34316
  firstResponseAt: Date;
34247
34317
  isLatest: boolean;
@@ -34401,6 +34471,8 @@ export declare const mainChatContract: {
34401
34471
  telephonySignature: string | null;
34402
34472
  };
34403
34473
  };
34474
+ closedAt: Date;
34475
+ lastMessageAt: Date | null;
34404
34476
  cxlog: {
34405
34477
  id: string;
34406
34478
  channel: string | null;
@@ -34503,6 +34575,7 @@ export declare const mainChatContract: {
34503
34575
  connectedUserId: string;
34504
34576
  };
34505
34577
  direction: "incoming" | "outgoing" | "system";
34578
+ status: number;
34506
34579
  createdAt: Date;
34507
34580
  updatedAt: Date;
34508
34581
  deletedAt: Date | null;
@@ -34553,7 +34626,6 @@ export declare const mainChatContract: {
34553
34626
  firstResponseTime: number;
34554
34627
  lastMessage: string;
34555
34628
  handleTime: number;
34556
- closeAt: Date;
34557
34629
  unreadCount: number;
34558
34630
  firstResponseAt: Date;
34559
34631
  isLatest: boolean;
@@ -34713,6 +34785,8 @@ export declare const mainChatContract: {
34713
34785
  telephonySignature: string | null;
34714
34786
  };
34715
34787
  };
34788
+ closedAt: Date;
34789
+ lastMessageAt: Date | null;
34716
34790
  cxlog: {
34717
34791
  id: string;
34718
34792
  channel: string | null;
@@ -34817,6 +34891,7 @@ export declare const mainChatContract: {
34817
34891
  connectedUserId: string;
34818
34892
  };
34819
34893
  direction: "incoming" | "outgoing" | "system";
34894
+ status: number;
34820
34895
  createdAt: Date;
34821
34896
  updatedAt: Date;
34822
34897
  deletedAt: Date | null;
@@ -34867,7 +34942,6 @@ export declare const mainChatContract: {
34867
34942
  firstResponseTime: number;
34868
34943
  lastMessage: string;
34869
34944
  handleTime: number;
34870
- closeAt: Date;
34871
34945
  unreadCount: number;
34872
34946
  firstResponseAt: Date;
34873
34947
  isLatest: boolean;
@@ -35027,6 +35101,8 @@ export declare const mainChatContract: {
35027
35101
  telephonySignature: string | null;
35028
35102
  };
35029
35103
  };
35104
+ closedAt: Date;
35105
+ lastMessageAt: Date | null;
35030
35106
  cxlog: {
35031
35107
  id: string;
35032
35108
  channel: string | null;
@@ -35132,6 +35208,7 @@ export declare const mainChatContract: {
35132
35208
  connectedUserId: string;
35133
35209
  };
35134
35210
  direction: "incoming" | "outgoing" | "system";
35211
+ status: number;
35135
35212
  createdAt: Date;
35136
35213
  updatedAt: Date;
35137
35214
  deletedAt: Date | null;
@@ -35182,7 +35259,6 @@ export declare const mainChatContract: {
35182
35259
  firstResponseTime: number;
35183
35260
  lastMessage: string;
35184
35261
  handleTime: number;
35185
- closeAt: Date;
35186
35262
  unreadCount: number;
35187
35263
  firstResponseAt: Date;
35188
35264
  isLatest: boolean;
@@ -35342,6 +35418,8 @@ export declare const mainChatContract: {
35342
35418
  telephonySignature: string | null;
35343
35419
  };
35344
35420
  };
35421
+ closedAt: Date;
35422
+ lastMessageAt: Date | null;
35345
35423
  cxlog: {
35346
35424
  id: string;
35347
35425
  channel: string | null;
@@ -35790,6 +35868,7 @@ export declare const mainChatContract: {
35790
35868
  connectedUserId: string;
35791
35869
  }>;
35792
35870
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
35871
+ status: z.ZodNumber;
35793
35872
  createdAt: z.ZodDate;
35794
35873
  updatedAt: z.ZodDate;
35795
35874
  deletedAt: z.ZodNullable<z.ZodDate>;
@@ -36000,7 +36079,6 @@ export declare const mainChatContract: {
36000
36079
  firstResponseTime: z.ZodNumber;
36001
36080
  lastMessage: z.ZodString;
36002
36081
  handleTime: z.ZodNumber;
36003
- closeAt: z.ZodDate;
36004
36082
  unreadCount: z.ZodNumber;
36005
36083
  firstResponseAt: z.ZodDate;
36006
36084
  isLatest: z.ZodBoolean;
@@ -37142,6 +37220,8 @@ export declare const mainChatContract: {
37142
37220
  telephonySignature: string | null;
37143
37221
  };
37144
37222
  }>;
37223
+ closedAt: z.ZodDate;
37224
+ lastMessageAt: z.ZodNullable<z.ZodDate>;
37145
37225
  cxlog: z.ZodObject<{
37146
37226
  id: z.ZodString;
37147
37227
  createdAt: z.ZodDate;
@@ -38042,6 +38122,7 @@ export declare const mainChatContract: {
38042
38122
  connectedUserId: string;
38043
38123
  };
38044
38124
  direction: "incoming" | "outgoing" | "system";
38125
+ status: number;
38045
38126
  createdAt: Date;
38046
38127
  updatedAt: Date;
38047
38128
  deletedAt: Date | null;
@@ -38189,7 +38270,6 @@ export declare const mainChatContract: {
38189
38270
  firstResponseTime: number;
38190
38271
  lastMessage: string;
38191
38272
  handleTime: number;
38192
- closeAt: Date;
38193
38273
  unreadCount: number;
38194
38274
  firstResponseAt: Date;
38195
38275
  isLatest: boolean;
@@ -38349,6 +38429,8 @@ export declare const mainChatContract: {
38349
38429
  telephonySignature: string | null;
38350
38430
  };
38351
38431
  };
38432
+ closedAt: Date;
38433
+ lastMessageAt: Date | null;
38352
38434
  cxlog: {
38353
38435
  id: string;
38354
38436
  channel: string | null;
@@ -38452,6 +38534,7 @@ export declare const mainChatContract: {
38452
38534
  connectedUserId: string;
38453
38535
  };
38454
38536
  direction: "incoming" | "outgoing" | "system";
38537
+ status: number;
38455
38538
  createdAt: Date;
38456
38539
  updatedAt: Date;
38457
38540
  deletedAt: Date | null;
@@ -38599,7 +38682,6 @@ export declare const mainChatContract: {
38599
38682
  firstResponseTime: number;
38600
38683
  lastMessage: string;
38601
38684
  handleTime: number;
38602
- closeAt: Date;
38603
38685
  unreadCount: number;
38604
38686
  firstResponseAt: Date;
38605
38687
  isLatest: boolean;
@@ -38759,6 +38841,8 @@ export declare const mainChatContract: {
38759
38841
  telephonySignature: string | null;
38760
38842
  };
38761
38843
  };
38844
+ closedAt: Date;
38845
+ lastMessageAt: Date | null;
38762
38846
  cxlog: {
38763
38847
  id: string;
38764
38848
  channel: string | null;
@@ -38864,6 +38948,7 @@ export declare const mainChatContract: {
38864
38948
  connectedUserId: string;
38865
38949
  };
38866
38950
  direction: "incoming" | "outgoing" | "system";
38951
+ status: number;
38867
38952
  createdAt: Date;
38868
38953
  updatedAt: Date;
38869
38954
  deletedAt: Date | null;
@@ -39011,7 +39096,6 @@ export declare const mainChatContract: {
39011
39096
  firstResponseTime: number;
39012
39097
  lastMessage: string;
39013
39098
  handleTime: number;
39014
- closeAt: Date;
39015
39099
  unreadCount: number;
39016
39100
  firstResponseAt: Date;
39017
39101
  isLatest: boolean;
@@ -39171,6 +39255,8 @@ export declare const mainChatContract: {
39171
39255
  telephonySignature: string | null;
39172
39256
  };
39173
39257
  };
39258
+ closedAt: Date;
39259
+ lastMessageAt: Date | null;
39174
39260
  cxlog: {
39175
39261
  id: string;
39176
39262
  channel: string | null;
@@ -39277,6 +39363,7 @@ export declare const mainChatContract: {
39277
39363
  connectedUserId: string;
39278
39364
  };
39279
39365
  direction: "incoming" | "outgoing" | "system";
39366
+ status: number;
39280
39367
  createdAt: Date;
39281
39368
  updatedAt: Date;
39282
39369
  deletedAt: Date | null;
@@ -39424,7 +39511,6 @@ export declare const mainChatContract: {
39424
39511
  firstResponseTime: number;
39425
39512
  lastMessage: string;
39426
39513
  handleTime: number;
39427
- closeAt: Date;
39428
39514
  unreadCount: number;
39429
39515
  firstResponseAt: Date;
39430
39516
  isLatest: boolean;
@@ -39584,6 +39670,8 @@ export declare const mainChatContract: {
39584
39670
  telephonySignature: string | null;
39585
39671
  };
39586
39672
  };
39673
+ closedAt: Date;
39674
+ lastMessageAt: Date | null;
39587
39675
  cxlog: {
39588
39676
  id: string;
39589
39677
  channel: string | null;
@@ -40023,6 +40111,7 @@ export declare const mainChatContract: {
40023
40111
  connectedUserId: string;
40024
40112
  }>;
40025
40113
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
40114
+ status: z.ZodNumber;
40026
40115
  createdAt: z.ZodDate;
40027
40116
  updatedAt: z.ZodDate;
40028
40117
  deletedAt: z.ZodNullable<z.ZodDate>;
@@ -40233,7 +40322,6 @@ export declare const mainChatContract: {
40233
40322
  firstResponseTime: z.ZodNumber;
40234
40323
  lastMessage: z.ZodString;
40235
40324
  handleTime: z.ZodNumber;
40236
- closeAt: z.ZodDate;
40237
40325
  unreadCount: z.ZodNumber;
40238
40326
  firstResponseAt: z.ZodDate;
40239
40327
  isLatest: z.ZodBoolean;
@@ -41375,6 +41463,8 @@ export declare const mainChatContract: {
41375
41463
  telephonySignature: string | null;
41376
41464
  };
41377
41465
  }>;
41466
+ closedAt: z.ZodDate;
41467
+ lastMessageAt: z.ZodNullable<z.ZodDate>;
41378
41468
  cxlog: z.ZodObject<{
41379
41469
  id: z.ZodString;
41380
41470
  createdAt: z.ZodDate;
@@ -41589,6 +41679,7 @@ export declare const mainChatContract: {
41589
41679
  };
41590
41680
  direction: "incoming" | "outgoing" | "system";
41591
41681
  description: string | null;
41682
+ status: number;
41592
41683
  createdAt: Date;
41593
41684
  updatedAt: Date;
41594
41685
  deletedAt: Date | null;
@@ -41639,7 +41730,6 @@ export declare const mainChatContract: {
41639
41730
  firstResponseTime: number;
41640
41731
  lastMessage: string;
41641
41732
  handleTime: number;
41642
- closeAt: Date;
41643
41733
  unreadCount: number;
41644
41734
  firstResponseAt: Date;
41645
41735
  isLatest: boolean;
@@ -41799,6 +41889,8 @@ export declare const mainChatContract: {
41799
41889
  telephonySignature: string | null;
41800
41890
  };
41801
41891
  };
41892
+ closedAt: Date;
41893
+ lastMessageAt: Date | null;
41802
41894
  cxlog: {
41803
41895
  id: string;
41804
41896
  channel: string | null;
@@ -41902,6 +41994,7 @@ export declare const mainChatContract: {
41902
41994
  };
41903
41995
  direction: "incoming" | "outgoing" | "system";
41904
41996
  description: string | null;
41997
+ status: number;
41905
41998
  createdAt: Date;
41906
41999
  updatedAt: Date;
41907
42000
  deletedAt: Date | null;
@@ -41952,7 +42045,6 @@ export declare const mainChatContract: {
41952
42045
  firstResponseTime: number;
41953
42046
  lastMessage: string;
41954
42047
  handleTime: number;
41955
- closeAt: Date;
41956
42048
  unreadCount: number;
41957
42049
  firstResponseAt: Date;
41958
42050
  isLatest: boolean;
@@ -42112,6 +42204,8 @@ export declare const mainChatContract: {
42112
42204
  telephonySignature: string | null;
42113
42205
  };
42114
42206
  };
42207
+ closedAt: Date;
42208
+ lastMessageAt: Date | null;
42115
42209
  cxlog: {
42116
42210
  id: string;
42117
42211
  channel: string | null;
@@ -42217,6 +42311,7 @@ export declare const mainChatContract: {
42217
42311
  };
42218
42312
  direction: "incoming" | "outgoing" | "system";
42219
42313
  description: string | null;
42314
+ status: number;
42220
42315
  createdAt: Date;
42221
42316
  updatedAt: Date;
42222
42317
  deletedAt: Date | null;
@@ -42267,7 +42362,6 @@ export declare const mainChatContract: {
42267
42362
  firstResponseTime: number;
42268
42363
  lastMessage: string;
42269
42364
  handleTime: number;
42270
- closeAt: Date;
42271
42365
  unreadCount: number;
42272
42366
  firstResponseAt: Date;
42273
42367
  isLatest: boolean;
@@ -42427,6 +42521,8 @@ export declare const mainChatContract: {
42427
42521
  telephonySignature: string | null;
42428
42522
  };
42429
42523
  };
42524
+ closedAt: Date;
42525
+ lastMessageAt: Date | null;
42430
42526
  cxlog: {
42431
42527
  id: string;
42432
42528
  channel: string | null;
@@ -42533,6 +42629,7 @@ export declare const mainChatContract: {
42533
42629
  };
42534
42630
  direction: "incoming" | "outgoing" | "system";
42535
42631
  description: string | null;
42632
+ status: number;
42536
42633
  createdAt: Date;
42537
42634
  updatedAt: Date;
42538
42635
  deletedAt: Date | null;
@@ -42583,7 +42680,6 @@ export declare const mainChatContract: {
42583
42680
  firstResponseTime: number;
42584
42681
  lastMessage: string;
42585
42682
  handleTime: number;
42586
- closeAt: Date;
42587
42683
  unreadCount: number;
42588
42684
  firstResponseAt: Date;
42589
42685
  isLatest: boolean;
@@ -42743,6 +42839,8 @@ export declare const mainChatContract: {
42743
42839
  telephonySignature: string | null;
42744
42840
  };
42745
42841
  };
42842
+ closedAt: Date;
42843
+ lastMessageAt: Date | null;
42746
42844
  cxlog: {
42747
42845
  id: string;
42748
42846
  channel: string | null;
@@ -42831,7 +42929,9 @@ export declare const mainChatContract: {
42831
42929
  deletedAt: z.ZodNullable<z.ZodDate>;
42832
42930
  lastMessage: z.ZodString;
42833
42931
  handleTime: z.ZodNumber;
42834
- closeAt: z.ZodDate;
42932
+ closedAt: z.ZodDate;
42933
+ lastMessageAt: z.ZodNullable<z.ZodDate>;
42934
+ status: z.ZodNumber;
42835
42935
  unreadCount: z.ZodNumber;
42836
42936
  firstResponseAt: z.ZodDate;
42837
42937
  firstResponseTime: z.ZodNumber;
@@ -44756,6 +44856,7 @@ export declare const mainChatContract: {
44756
44856
  connectedUserId: string;
44757
44857
  };
44758
44858
  direction: "incoming" | "outgoing" | "system";
44859
+ status: number;
44759
44860
  createdAt: Date;
44760
44861
  updatedAt: Date;
44761
44862
  deletedAt: Date | null;
@@ -44806,7 +44907,6 @@ export declare const mainChatContract: {
44806
44907
  firstResponseTime: number;
44807
44908
  lastMessage: string;
44808
44909
  handleTime: number;
44809
- closeAt: Date;
44810
44910
  unreadCount: number;
44811
44911
  firstResponseAt: Date;
44812
44912
  isLatest: boolean;
@@ -44966,6 +45066,8 @@ export declare const mainChatContract: {
44966
45066
  telephonySignature: string | null;
44967
45067
  };
44968
45068
  };
45069
+ closedAt: Date;
45070
+ lastMessageAt: Date | null;
44969
45071
  cxlog: {
44970
45072
  id: string;
44971
45073
  channel: string | null;
@@ -45068,6 +45170,7 @@ export declare const mainChatContract: {
45068
45170
  connectedUserId: string;
45069
45171
  };
45070
45172
  direction: "incoming" | "outgoing" | "system";
45173
+ status: number;
45071
45174
  createdAt: Date;
45072
45175
  updatedAt: Date;
45073
45176
  deletedAt: Date | null;
@@ -45118,7 +45221,6 @@ export declare const mainChatContract: {
45118
45221
  firstResponseTime: number;
45119
45222
  lastMessage: string;
45120
45223
  handleTime: number;
45121
- closeAt: Date;
45122
45224
  unreadCount: number;
45123
45225
  firstResponseAt: Date;
45124
45226
  isLatest: boolean;
@@ -45278,6 +45380,8 @@ export declare const mainChatContract: {
45278
45380
  telephonySignature: string | null;
45279
45381
  };
45280
45382
  };
45383
+ closedAt: Date;
45384
+ lastMessageAt: Date | null;
45281
45385
  cxlog: {
45282
45386
  id: string;
45283
45387
  channel: string | null;
@@ -45382,6 +45486,7 @@ export declare const mainChatContract: {
45382
45486
  connectedUserId: string;
45383
45487
  };
45384
45488
  direction: "incoming" | "outgoing" | "system";
45489
+ status: number;
45385
45490
  createdAt: Date;
45386
45491
  updatedAt: Date;
45387
45492
  deletedAt: Date | null;
@@ -45432,7 +45537,6 @@ export declare const mainChatContract: {
45432
45537
  firstResponseTime: number;
45433
45538
  lastMessage: string;
45434
45539
  handleTime: number;
45435
- closeAt: Date;
45436
45540
  unreadCount: number;
45437
45541
  firstResponseAt: Date;
45438
45542
  isLatest: boolean;
@@ -45592,6 +45696,8 @@ export declare const mainChatContract: {
45592
45696
  telephonySignature: string | null;
45593
45697
  };
45594
45698
  };
45699
+ closedAt: Date;
45700
+ lastMessageAt: Date | null;
45595
45701
  cxlog: {
45596
45702
  id: string;
45597
45703
  channel: string | null;
@@ -45700,6 +45806,7 @@ export declare const mainChatContract: {
45700
45806
  connectedUserId: string;
45701
45807
  };
45702
45808
  direction: "incoming" | "outgoing" | "system";
45809
+ status: number;
45703
45810
  createdAt: Date;
45704
45811
  updatedAt: Date;
45705
45812
  deletedAt: Date | null;
@@ -45750,7 +45857,6 @@ export declare const mainChatContract: {
45750
45857
  firstResponseTime: number;
45751
45858
  lastMessage: string;
45752
45859
  handleTime: number;
45753
- closeAt: Date;
45754
45860
  unreadCount: number;
45755
45861
  firstResponseAt: Date;
45756
45862
  isLatest: boolean;
@@ -45910,6 +46016,8 @@ export declare const mainChatContract: {
45910
46016
  telephonySignature: string | null;
45911
46017
  };
45912
46018
  };
46019
+ closedAt: Date;
46020
+ lastMessageAt: Date | null;
45913
46021
  cxlog: {
45914
46022
  id: string;
45915
46023
  channel: string | null;