@kl1/contracts 1.0.20 → 1.0.22

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 (45) hide show
  1. package/dist/index.js +1393 -1300
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1389 -1300
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/call-log/schema.d.ts +4 -4
  6. package/dist/src/call-log/validation.d.ts +2 -2
  7. package/dist/src/chat/index.d.ts +240 -239
  8. package/dist/src/chat/index.d.ts.map +1 -1
  9. package/dist/src/chat/schema.d.ts +36 -36
  10. package/dist/src/chat/validation.d.ts +235 -84
  11. package/dist/src/chat/validation.d.ts.map +1 -1
  12. package/dist/src/contract.d.ts +7813 -2082
  13. package/dist/src/contract.d.ts.map +1 -1
  14. package/dist/src/cx-log/index.d.ts +5651 -87
  15. package/dist/src/cx-log/index.d.ts.map +1 -1
  16. package/dist/src/cx-log/schema.d.ts +4724 -5
  17. package/dist/src/cx-log/schema.d.ts.map +1 -1
  18. package/dist/src/dashboard/index.d.ts +6 -6
  19. package/dist/src/dashboard/schema.d.ts +4 -4
  20. package/dist/src/evaluate-form/schema.d.ts +2 -2
  21. package/dist/src/index.d.ts +4 -0
  22. package/dist/src/index.d.ts.map +1 -1
  23. package/dist/src/mail/mail-contract.d.ts +106 -106
  24. package/dist/src/mail/message-contract.d.ts +6 -6
  25. package/dist/src/mail/room-contract.d.ts +100 -100
  26. package/dist/src/mail/schemas/message.schema.d.ts +4 -4
  27. package/dist/src/mail/schemas/room-validation.schema.d.ts +32 -32
  28. package/dist/src/mail/schemas/room.schema.d.ts +26 -26
  29. package/dist/src/messenger/index.d.ts +209 -42
  30. package/dist/src/messenger/index.d.ts.map +1 -1
  31. package/dist/src/telephony-cdr/schema.d.ts +8 -8
  32. package/dist/src/telephony-cdr/validation.d.ts +4 -4
  33. package/dist/src/telephony-live-queue-call/schema.d.ts +2 -2
  34. package/dist/src/telephony-queue-call-count/schema.d.ts +2 -2
  35. package/dist/src/ticket/index.d.ts +4 -4
  36. package/dist/src/ticket/validation.d.ts +4 -4
  37. package/dist/src/ticket/validation.d.ts.map +1 -1
  38. package/dist/src/user/index.d.ts +2 -0
  39. package/dist/src/user/index.d.ts.map +1 -1
  40. package/dist/src/user-presence-status-log/index.d.ts +2 -0
  41. package/dist/src/user-presence-status-log/index.d.ts.map +1 -1
  42. package/dist/src/wrap-up-form/index.d.ts +15 -15
  43. package/dist/src/wrap-up-form/schema.d.ts +2 -2
  44. package/dist/src/wrap-up-form/validation.d.ts +3 -3
  45. package/package.json +10 -4
@@ -1,6 +1,6 @@
1
1
  import z from 'zod';
2
2
  import { DefaultQueryParamsSchema } from '../base-contract';
3
- import { GetRoomsSchema, ReceiveMessageSchema, SearchRoomsSchema, SendMessageResponseSchema, SendMessageSchema, SendMessageToPlatformSchema, SolveRoomSchema, UpdateAssigneeSchema, UpdateRoomAttributesSchema, UpdateRoomTagsAndNotesSchema } from './validation';
3
+ import { ChannelSchema, GetRoomsSchema, ReceiveMessageSchema, SearchRoomsSchema, SendMessageResponseSchema, SendMessageSchema, SendMessageToPlatformSchema, SolveRoomSchema, UpdateAssigneeSchema, UpdateRoomAttributesSchema, UpdateRoomTagsAndNotesSchema } from './validation';
4
4
  export type GetRoomRequest = z.infer<typeof GetRoomsSchema>;
5
5
  export type UpdateRoomAttributesRequest = z.infer<typeof UpdateRoomAttributesSchema>;
6
6
  export type UpdateRoomTagsAndNotesRequest = z.infer<typeof UpdateRoomTagsAndNotesSchema>;
@@ -9,6 +9,7 @@ export type SolveRoomRequest = z.infer<typeof SolveRoomSchema>;
9
9
  export type UpdateAssigneeRequest = z.infer<typeof UpdateAssigneeSchema>;
10
10
  export type SearchRoomsRequest = z.infer<typeof SearchRoomsSchema>;
11
11
  export type SendMessageToPlatformRequest = z.infer<typeof SendMessageToPlatformSchema>;
12
+ export type ConnectChannelToServiceRequest = z.infer<typeof ChannelSchema>;
12
13
  export type SendMessageResponseRequest = z.infer<typeof SendMessageResponseSchema>;
13
14
  export type ReceiveMessageRequest = z.infer<typeof ReceiveMessageSchema>;
14
15
  export type GetMessagesResponse = z.infer<typeof DefaultQueryParamsSchema>;
@@ -1957,9 +1958,9 @@ export declare const mainChatContract: {
1957
1958
  updatedAt: Date;
1958
1959
  deletedAt: Date | null;
1959
1960
  }[];
1960
- note: string | null;
1961
1961
  callFrom: string | null;
1962
1962
  callTo: string | null;
1963
+ note: string | null;
1963
1964
  }, {
1964
1965
  id: string;
1965
1966
  disposition: string | null;
@@ -1973,9 +1974,9 @@ export declare const mainChatContract: {
1973
1974
  updatedAt: Date;
1974
1975
  deletedAt: Date | null;
1975
1976
  }[];
1976
- note: string | null;
1977
1977
  callFrom: string | null;
1978
1978
  callTo: string | null;
1979
+ note: string | null;
1979
1980
  }>>;
1980
1981
  }, "strip", z.ZodTypeAny, {
1981
1982
  id: string;
@@ -1986,9 +1987,9 @@ export declare const mainChatContract: {
1986
1987
  updatedAt: Date;
1987
1988
  deletedAt: Date | null;
1988
1989
  entityId: string;
1990
+ contactId: string | null;
1989
1991
  caseId: number;
1990
1992
  entityName: string;
1991
- contactId: string | null;
1992
1993
  queueId: string | null;
1993
1994
  agentId: string | null;
1994
1995
  startedDate: Date | null;
@@ -2007,9 +2008,9 @@ export declare const mainChatContract: {
2007
2008
  updatedAt: Date;
2008
2009
  deletedAt: Date | null;
2009
2010
  }[];
2010
- note: string | null;
2011
2011
  callFrom: string | null;
2012
2012
  callTo: string | null;
2013
+ note: string | null;
2013
2014
  } | null;
2014
2015
  }, {
2015
2016
  id: string;
@@ -2020,9 +2021,9 @@ export declare const mainChatContract: {
2020
2021
  updatedAt: Date;
2021
2022
  deletedAt: Date | null;
2022
2023
  entityId: string;
2024
+ contactId: string | null;
2023
2025
  caseId: number;
2024
2026
  entityName: string;
2025
- contactId: string | null;
2026
2027
  queueId: string | null;
2027
2028
  agentId: string | null;
2028
2029
  startedDate: Date | null;
@@ -2041,9 +2042,9 @@ export declare const mainChatContract: {
2041
2042
  updatedAt: Date;
2042
2043
  deletedAt: Date | null;
2043
2044
  }[];
2044
- note: string | null;
2045
2045
  callFrom: string | null;
2046
2046
  callTo: string | null;
2047
+ note: string | null;
2047
2048
  } | null;
2048
2049
  }>;
2049
2050
  }, "strip", z.ZodTypeAny, {
@@ -2271,9 +2272,9 @@ export declare const mainChatContract: {
2271
2272
  updatedAt: Date;
2272
2273
  deletedAt: Date | null;
2273
2274
  entityId: string;
2275
+ contactId: string | null;
2274
2276
  caseId: number;
2275
2277
  entityName: string;
2276
- contactId: string | null;
2277
2278
  queueId: string | null;
2278
2279
  agentId: string | null;
2279
2280
  startedDate: Date | null;
@@ -2292,9 +2293,9 @@ export declare const mainChatContract: {
2292
2293
  updatedAt: Date;
2293
2294
  deletedAt: Date | null;
2294
2295
  }[];
2295
- note: string | null;
2296
2296
  callFrom: string | null;
2297
2297
  callTo: string | null;
2298
+ note: string | null;
2298
2299
  } | null;
2299
2300
  };
2300
2301
  channel?: {
@@ -2585,9 +2586,9 @@ export declare const mainChatContract: {
2585
2586
  updatedAt: Date;
2586
2587
  deletedAt: Date | null;
2587
2588
  entityId: string;
2589
+ contactId: string | null;
2588
2590
  caseId: number;
2589
2591
  entityName: string;
2590
- contactId: string | null;
2591
2592
  queueId: string | null;
2592
2593
  agentId: string | null;
2593
2594
  startedDate: Date | null;
@@ -2606,9 +2607,9 @@ export declare const mainChatContract: {
2606
2607
  updatedAt: Date;
2607
2608
  deletedAt: Date | null;
2608
2609
  }[];
2609
- note: string | null;
2610
2610
  callFrom: string | null;
2611
2611
  callTo: string | null;
2612
+ note: string | null;
2612
2613
  } | null;
2613
2614
  };
2614
2615
  channel?: {
@@ -2911,9 +2912,9 @@ export declare const mainChatContract: {
2911
2912
  updatedAt: Date;
2912
2913
  deletedAt: Date | null;
2913
2914
  entityId: string;
2915
+ contactId: string | null;
2914
2916
  caseId: number;
2915
2917
  entityName: string;
2916
- contactId: string | null;
2917
2918
  queueId: string | null;
2918
2919
  agentId: string | null;
2919
2920
  startedDate: Date | null;
@@ -2932,9 +2933,9 @@ export declare const mainChatContract: {
2932
2933
  updatedAt: Date;
2933
2934
  deletedAt: Date | null;
2934
2935
  }[];
2935
- note: string | null;
2936
2936
  callFrom: string | null;
2937
2937
  callTo: string | null;
2938
+ note: string | null;
2938
2939
  } | null;
2939
2940
  };
2940
2941
  channel?: {
@@ -3235,9 +3236,9 @@ export declare const mainChatContract: {
3235
3236
  updatedAt: Date;
3236
3237
  deletedAt: Date | null;
3237
3238
  entityId: string;
3239
+ contactId: string | null;
3238
3240
  caseId: number;
3239
3241
  entityName: string;
3240
- contactId: string | null;
3241
3242
  queueId: string | null;
3242
3243
  agentId: string | null;
3243
3244
  startedDate: Date | null;
@@ -3256,9 +3257,9 @@ export declare const mainChatContract: {
3256
3257
  updatedAt: Date;
3257
3258
  deletedAt: Date | null;
3258
3259
  }[];
3259
- note: string | null;
3260
3260
  callFrom: string | null;
3261
3261
  callTo: string | null;
3262
+ note: string | null;
3262
3263
  } | null;
3263
3264
  };
3264
3265
  channel?: {
@@ -6200,9 +6201,9 @@ export declare const mainChatContract: {
6200
6201
  updatedAt: Date;
6201
6202
  deletedAt: Date | null;
6202
6203
  }[];
6203
- note: string | null;
6204
6204
  callFrom: string | null;
6205
6205
  callTo: string | null;
6206
+ note: string | null;
6206
6207
  }, {
6207
6208
  id: string;
6208
6209
  disposition: string | null;
@@ -6216,9 +6217,9 @@ export declare const mainChatContract: {
6216
6217
  updatedAt: Date;
6217
6218
  deletedAt: Date | null;
6218
6219
  }[];
6219
- note: string | null;
6220
6220
  callFrom: string | null;
6221
6221
  callTo: string | null;
6222
+ note: string | null;
6222
6223
  }>>;
6223
6224
  }, "strip", z.ZodTypeAny, {
6224
6225
  id: string;
@@ -6229,9 +6230,9 @@ export declare const mainChatContract: {
6229
6230
  updatedAt: Date;
6230
6231
  deletedAt: Date | null;
6231
6232
  entityId: string;
6233
+ contactId: string | null;
6232
6234
  caseId: number;
6233
6235
  entityName: string;
6234
- contactId: string | null;
6235
6236
  queueId: string | null;
6236
6237
  agentId: string | null;
6237
6238
  startedDate: Date | null;
@@ -6250,9 +6251,9 @@ export declare const mainChatContract: {
6250
6251
  updatedAt: Date;
6251
6252
  deletedAt: Date | null;
6252
6253
  }[];
6253
- note: string | null;
6254
6254
  callFrom: string | null;
6255
6255
  callTo: string | null;
6256
+ note: string | null;
6256
6257
  } | null;
6257
6258
  }, {
6258
6259
  id: string;
@@ -6263,9 +6264,9 @@ export declare const mainChatContract: {
6263
6264
  updatedAt: Date;
6264
6265
  deletedAt: Date | null;
6265
6266
  entityId: string;
6267
+ contactId: string | null;
6266
6268
  caseId: number;
6267
6269
  entityName: string;
6268
- contactId: string | null;
6269
6270
  queueId: string | null;
6270
6271
  agentId: string | null;
6271
6272
  startedDate: Date | null;
@@ -6284,9 +6285,9 @@ export declare const mainChatContract: {
6284
6285
  updatedAt: Date;
6285
6286
  deletedAt: Date | null;
6286
6287
  }[];
6287
- note: string | null;
6288
6288
  callFrom: string | null;
6289
6289
  callTo: string | null;
6290
+ note: string | null;
6290
6291
  } | null;
6291
6292
  }>;
6292
6293
  }, "strip", z.ZodTypeAny, {
@@ -6514,9 +6515,9 @@ export declare const mainChatContract: {
6514
6515
  updatedAt: Date;
6515
6516
  deletedAt: Date | null;
6516
6517
  entityId: string;
6518
+ contactId: string | null;
6517
6519
  caseId: number;
6518
6520
  entityName: string;
6519
- contactId: string | null;
6520
6521
  queueId: string | null;
6521
6522
  agentId: string | null;
6522
6523
  startedDate: Date | null;
@@ -6535,9 +6536,9 @@ export declare const mainChatContract: {
6535
6536
  updatedAt: Date;
6536
6537
  deletedAt: Date | null;
6537
6538
  }[];
6538
- note: string | null;
6539
6539
  callFrom: string | null;
6540
6540
  callTo: string | null;
6541
+ note: string | null;
6541
6542
  } | null;
6542
6543
  };
6543
6544
  channel?: {
@@ -6828,9 +6829,9 @@ export declare const mainChatContract: {
6828
6829
  updatedAt: Date;
6829
6830
  deletedAt: Date | null;
6830
6831
  entityId: string;
6832
+ contactId: string | null;
6831
6833
  caseId: number;
6832
6834
  entityName: string;
6833
- contactId: string | null;
6834
6835
  queueId: string | null;
6835
6836
  agentId: string | null;
6836
6837
  startedDate: Date | null;
@@ -6849,9 +6850,9 @@ export declare const mainChatContract: {
6849
6850
  updatedAt: Date;
6850
6851
  deletedAt: Date | null;
6851
6852
  }[];
6852
- note: string | null;
6853
6853
  callFrom: string | null;
6854
6854
  callTo: string | null;
6855
+ note: string | null;
6855
6856
  } | null;
6856
6857
  };
6857
6858
  channel?: {
@@ -7144,9 +7145,9 @@ export declare const mainChatContract: {
7144
7145
  updatedAt: Date;
7145
7146
  deletedAt: Date | null;
7146
7147
  entityId: string;
7148
+ contactId: string | null;
7147
7149
  caseId: number;
7148
7150
  entityName: string;
7149
- contactId: string | null;
7150
7151
  queueId: string | null;
7151
7152
  agentId: string | null;
7152
7153
  startedDate: Date | null;
@@ -7165,9 +7166,9 @@ export declare const mainChatContract: {
7165
7166
  updatedAt: Date;
7166
7167
  deletedAt: Date | null;
7167
7168
  }[];
7168
- note: string | null;
7169
7169
  callFrom: string | null;
7170
7170
  callTo: string | null;
7171
+ note: string | null;
7171
7172
  } | null;
7172
7173
  };
7173
7174
  channel?: {
@@ -7461,9 +7462,9 @@ export declare const mainChatContract: {
7461
7462
  updatedAt: Date;
7462
7463
  deletedAt: Date | null;
7463
7464
  entityId: string;
7465
+ contactId: string | null;
7464
7466
  caseId: number;
7465
7467
  entityName: string;
7466
- contactId: string | null;
7467
7468
  queueId: string | null;
7468
7469
  agentId: string | null;
7469
7470
  startedDate: Date | null;
@@ -7482,9 +7483,9 @@ export declare const mainChatContract: {
7482
7483
  updatedAt: Date;
7483
7484
  deletedAt: Date | null;
7484
7485
  }[];
7485
- note: string | null;
7486
7486
  callFrom: string | null;
7487
7487
  callTo: string | null;
7488
+ note: string | null;
7488
7489
  } | null;
7489
7490
  };
7490
7491
  channel?: {
@@ -9756,9 +9757,9 @@ export declare const mainChatContract: {
9756
9757
  updatedAt: Date;
9757
9758
  deletedAt: Date | null;
9758
9759
  }[];
9759
- note: string | null;
9760
9760
  callFrom: string | null;
9761
9761
  callTo: string | null;
9762
+ note: string | null;
9762
9763
  }, {
9763
9764
  id: string;
9764
9765
  disposition: string | null;
@@ -9772,9 +9773,9 @@ export declare const mainChatContract: {
9772
9773
  updatedAt: Date;
9773
9774
  deletedAt: Date | null;
9774
9775
  }[];
9775
- note: string | null;
9776
9776
  callFrom: string | null;
9777
9777
  callTo: string | null;
9778
+ note: string | null;
9778
9779
  }>>;
9779
9780
  }, "strip", z.ZodTypeAny, {
9780
9781
  id: string;
@@ -9785,9 +9786,9 @@ export declare const mainChatContract: {
9785
9786
  updatedAt: Date;
9786
9787
  deletedAt: Date | null;
9787
9788
  entityId: string;
9789
+ contactId: string | null;
9788
9790
  caseId: number;
9789
9791
  entityName: string;
9790
- contactId: string | null;
9791
9792
  queueId: string | null;
9792
9793
  agentId: string | null;
9793
9794
  startedDate: Date | null;
@@ -9806,9 +9807,9 @@ export declare const mainChatContract: {
9806
9807
  updatedAt: Date;
9807
9808
  deletedAt: Date | null;
9808
9809
  }[];
9809
- note: string | null;
9810
9810
  callFrom: string | null;
9811
9811
  callTo: string | null;
9812
+ note: string | null;
9812
9813
  } | null;
9813
9814
  }, {
9814
9815
  id: string;
@@ -9819,9 +9820,9 @@ export declare const mainChatContract: {
9819
9820
  updatedAt: Date;
9820
9821
  deletedAt: Date | null;
9821
9822
  entityId: string;
9823
+ contactId: string | null;
9822
9824
  caseId: number;
9823
9825
  entityName: string;
9824
- contactId: string | null;
9825
9826
  queueId: string | null;
9826
9827
  agentId: string | null;
9827
9828
  startedDate: Date | null;
@@ -9840,9 +9841,9 @@ export declare const mainChatContract: {
9840
9841
  updatedAt: Date;
9841
9842
  deletedAt: Date | null;
9842
9843
  }[];
9843
- note: string | null;
9844
9844
  callFrom: string | null;
9845
9845
  callTo: string | null;
9846
+ note: string | null;
9846
9847
  } | null;
9847
9848
  }>;
9848
9849
  }, "strip", z.ZodTypeAny, {
@@ -10070,9 +10071,9 @@ export declare const mainChatContract: {
10070
10071
  updatedAt: Date;
10071
10072
  deletedAt: Date | null;
10072
10073
  entityId: string;
10074
+ contactId: string | null;
10073
10075
  caseId: number;
10074
10076
  entityName: string;
10075
- contactId: string | null;
10076
10077
  queueId: string | null;
10077
10078
  agentId: string | null;
10078
10079
  startedDate: Date | null;
@@ -10091,9 +10092,9 @@ export declare const mainChatContract: {
10091
10092
  updatedAt: Date;
10092
10093
  deletedAt: Date | null;
10093
10094
  }[];
10094
- note: string | null;
10095
10095
  callFrom: string | null;
10096
10096
  callTo: string | null;
10097
+ note: string | null;
10097
10098
  } | null;
10098
10099
  };
10099
10100
  channel?: {
@@ -10384,9 +10385,9 @@ export declare const mainChatContract: {
10384
10385
  updatedAt: Date;
10385
10386
  deletedAt: Date | null;
10386
10387
  entityId: string;
10388
+ contactId: string | null;
10387
10389
  caseId: number;
10388
10390
  entityName: string;
10389
- contactId: string | null;
10390
10391
  queueId: string | null;
10391
10392
  agentId: string | null;
10392
10393
  startedDate: Date | null;
@@ -10405,9 +10406,9 @@ export declare const mainChatContract: {
10405
10406
  updatedAt: Date;
10406
10407
  deletedAt: Date | null;
10407
10408
  }[];
10408
- note: string | null;
10409
10409
  callFrom: string | null;
10410
10410
  callTo: string | null;
10411
+ note: string | null;
10411
10412
  } | null;
10412
10413
  };
10413
10414
  channel?: {
@@ -11205,12 +11206,6 @@ export declare const mainChatContract: {
11205
11206
  telephonySignature: string | null;
11206
11207
  } | undefined;
11207
11208
  };
11208
- readAt: Date;
11209
- platformMessageId: string;
11210
- replyPlatformMessageId: string;
11211
- locale: "" | "th" | "mm" | "en";
11212
- previewUrl: string;
11213
- imageSetId: string;
11214
11209
  room: {
11215
11210
  id: string;
11216
11211
  direction: "incoming" | "outgoing" | "system";
@@ -11436,9 +11431,9 @@ export declare const mainChatContract: {
11436
11431
  updatedAt: Date;
11437
11432
  deletedAt: Date | null;
11438
11433
  entityId: string;
11434
+ contactId: string | null;
11439
11435
  caseId: number;
11440
11436
  entityName: string;
11441
- contactId: string | null;
11442
11437
  queueId: string | null;
11443
11438
  agentId: string | null;
11444
11439
  startedDate: Date | null;
@@ -11457,9 +11452,9 @@ export declare const mainChatContract: {
11457
11452
  updatedAt: Date;
11458
11453
  deletedAt: Date | null;
11459
11454
  }[];
11460
- note: string | null;
11461
11455
  callFrom: string | null;
11462
11456
  callTo: string | null;
11457
+ note: string | null;
11463
11458
  } | null;
11464
11459
  };
11465
11460
  channel?: {
@@ -11526,6 +11521,12 @@ export declare const mainChatContract: {
11526
11521
  } | undefined;
11527
11522
  } | undefined;
11528
11523
  };
11524
+ readAt: Date;
11525
+ platformMessageId: string;
11526
+ replyPlatformMessageId: string;
11527
+ locale: "" | "th" | "mm" | "en";
11528
+ previewUrl: string;
11529
+ imageSetId: string;
11529
11530
  sender: {
11530
11531
  id: string;
11531
11532
  address: string | null;
@@ -11677,12 +11678,6 @@ export declare const mainChatContract: {
11677
11678
  telephonySignature: string | null;
11678
11679
  } | undefined;
11679
11680
  };
11680
- readAt: Date;
11681
- platformMessageId: string;
11682
- replyPlatformMessageId: string;
11683
- locale: "" | "th" | "mm" | "en";
11684
- previewUrl: string;
11685
- imageSetId: string;
11686
11681
  room: {
11687
11682
  id: string;
11688
11683
  direction: "incoming" | "outgoing" | "system";
@@ -11908,9 +11903,9 @@ export declare const mainChatContract: {
11908
11903
  updatedAt: Date;
11909
11904
  deletedAt: Date | null;
11910
11905
  entityId: string;
11906
+ contactId: string | null;
11911
11907
  caseId: number;
11912
11908
  entityName: string;
11913
- contactId: string | null;
11914
11909
  queueId: string | null;
11915
11910
  agentId: string | null;
11916
11911
  startedDate: Date | null;
@@ -11929,9 +11924,9 @@ export declare const mainChatContract: {
11929
11924
  updatedAt: Date;
11930
11925
  deletedAt: Date | null;
11931
11926
  }[];
11932
- note: string | null;
11933
11927
  callFrom: string | null;
11934
11928
  callTo: string | null;
11929
+ note: string | null;
11935
11930
  } | null;
11936
11931
  };
11937
11932
  channel?: {
@@ -11998,6 +11993,12 @@ export declare const mainChatContract: {
11998
11993
  } | undefined;
11999
11994
  } | undefined;
12000
11995
  };
11996
+ readAt: Date;
11997
+ platformMessageId: string;
11998
+ replyPlatformMessageId: string;
11999
+ locale: "" | "th" | "mm" | "en";
12000
+ previewUrl: string;
12001
+ imageSetId: string;
12001
12002
  sender: {
12002
12003
  id: string;
12003
12004
  address: string | null;
@@ -12151,12 +12152,6 @@ export declare const mainChatContract: {
12151
12152
  telephonySignature: string | null;
12152
12153
  } | undefined;
12153
12154
  };
12154
- readAt: Date;
12155
- platformMessageId: string;
12156
- replyPlatformMessageId: string;
12157
- locale: "" | "th" | "mm" | "en";
12158
- previewUrl: string;
12159
- imageSetId: string;
12160
12155
  room: {
12161
12156
  id: string;
12162
12157
  direction: "incoming" | "outgoing" | "system";
@@ -12382,9 +12377,9 @@ export declare const mainChatContract: {
12382
12377
  updatedAt: Date;
12383
12378
  deletedAt: Date | null;
12384
12379
  entityId: string;
12380
+ contactId: string | null;
12385
12381
  caseId: number;
12386
12382
  entityName: string;
12387
- contactId: string | null;
12388
12383
  queueId: string | null;
12389
12384
  agentId: string | null;
12390
12385
  startedDate: Date | null;
@@ -12403,9 +12398,9 @@ export declare const mainChatContract: {
12403
12398
  updatedAt: Date;
12404
12399
  deletedAt: Date | null;
12405
12400
  }[];
12406
- note: string | null;
12407
12401
  callFrom: string | null;
12408
12402
  callTo: string | null;
12403
+ note: string | null;
12409
12404
  } | null;
12410
12405
  };
12411
12406
  channel?: {
@@ -12472,6 +12467,12 @@ export declare const mainChatContract: {
12472
12467
  } | undefined;
12473
12468
  } | undefined;
12474
12469
  };
12470
+ readAt: Date;
12471
+ platformMessageId: string;
12472
+ replyPlatformMessageId: string;
12473
+ locale: "" | "th" | "mm" | "en";
12474
+ previewUrl: string;
12475
+ imageSetId: string;
12475
12476
  sender: {
12476
12477
  id: string;
12477
12478
  address: string | null;
@@ -12626,12 +12627,6 @@ export declare const mainChatContract: {
12626
12627
  telephonySignature: string | null;
12627
12628
  } | undefined;
12628
12629
  };
12629
- readAt: Date;
12630
- platformMessageId: string;
12631
- replyPlatformMessageId: string;
12632
- locale: "" | "th" | "mm" | "en";
12633
- previewUrl: string;
12634
- imageSetId: string;
12635
12630
  room: {
12636
12631
  id: string;
12637
12632
  direction: "incoming" | "outgoing" | "system";
@@ -12857,9 +12852,9 @@ export declare const mainChatContract: {
12857
12852
  updatedAt: Date;
12858
12853
  deletedAt: Date | null;
12859
12854
  entityId: string;
12855
+ contactId: string | null;
12860
12856
  caseId: number;
12861
12857
  entityName: string;
12862
- contactId: string | null;
12863
12858
  queueId: string | null;
12864
12859
  agentId: string | null;
12865
12860
  startedDate: Date | null;
@@ -12878,9 +12873,9 @@ export declare const mainChatContract: {
12878
12873
  updatedAt: Date;
12879
12874
  deletedAt: Date | null;
12880
12875
  }[];
12881
- note: string | null;
12882
12876
  callFrom: string | null;
12883
12877
  callTo: string | null;
12878
+ note: string | null;
12884
12879
  } | null;
12885
12880
  };
12886
12881
  channel?: {
@@ -12947,6 +12942,12 @@ export declare const mainChatContract: {
12947
12942
  } | undefined;
12948
12943
  } | undefined;
12949
12944
  };
12945
+ readAt: Date;
12946
+ platformMessageId: string;
12947
+ replyPlatformMessageId: string;
12948
+ locale: "" | "th" | "mm" | "en";
12949
+ previewUrl: string;
12950
+ imageSetId: string;
12950
12951
  sender: {
12951
12952
  id: string;
12952
12953
  address: string | null;
@@ -14857,9 +14858,9 @@ export declare const mainChatContract: {
14857
14858
  updatedAt: Date;
14858
14859
  deletedAt: Date | null;
14859
14860
  }[];
14860
- note: string | null;
14861
14861
  callFrom: string | null;
14862
14862
  callTo: string | null;
14863
+ note: string | null;
14863
14864
  }, {
14864
14865
  id: string;
14865
14866
  disposition: string | null;
@@ -14873,9 +14874,9 @@ export declare const mainChatContract: {
14873
14874
  updatedAt: Date;
14874
14875
  deletedAt: Date | null;
14875
14876
  }[];
14876
- note: string | null;
14877
14877
  callFrom: string | null;
14878
14878
  callTo: string | null;
14879
+ note: string | null;
14879
14880
  }>>;
14880
14881
  }, "strip", z.ZodTypeAny, {
14881
14882
  id: string;
@@ -14886,9 +14887,9 @@ export declare const mainChatContract: {
14886
14887
  updatedAt: Date;
14887
14888
  deletedAt: Date | null;
14888
14889
  entityId: string;
14890
+ contactId: string | null;
14889
14891
  caseId: number;
14890
14892
  entityName: string;
14891
- contactId: string | null;
14892
14893
  queueId: string | null;
14893
14894
  agentId: string | null;
14894
14895
  startedDate: Date | null;
@@ -14907,9 +14908,9 @@ export declare const mainChatContract: {
14907
14908
  updatedAt: Date;
14908
14909
  deletedAt: Date | null;
14909
14910
  }[];
14910
- note: string | null;
14911
14911
  callFrom: string | null;
14912
14912
  callTo: string | null;
14913
+ note: string | null;
14913
14914
  } | null;
14914
14915
  }, {
14915
14916
  id: string;
@@ -14920,9 +14921,9 @@ export declare const mainChatContract: {
14920
14921
  updatedAt: Date;
14921
14922
  deletedAt: Date | null;
14922
14923
  entityId: string;
14924
+ contactId: string | null;
14923
14925
  caseId: number;
14924
14926
  entityName: string;
14925
- contactId: string | null;
14926
14927
  queueId: string | null;
14927
14928
  agentId: string | null;
14928
14929
  startedDate: Date | null;
@@ -14941,9 +14942,9 @@ export declare const mainChatContract: {
14941
14942
  updatedAt: Date;
14942
14943
  deletedAt: Date | null;
14943
14944
  }[];
14944
- note: string | null;
14945
14945
  callFrom: string | null;
14946
14946
  callTo: string | null;
14947
+ note: string | null;
14947
14948
  } | null;
14948
14949
  }>;
14949
14950
  }, "strip", z.ZodTypeAny, {
@@ -15171,9 +15172,9 @@ export declare const mainChatContract: {
15171
15172
  updatedAt: Date;
15172
15173
  deletedAt: Date | null;
15173
15174
  entityId: string;
15175
+ contactId: string | null;
15174
15176
  caseId: number;
15175
15177
  entityName: string;
15176
- contactId: string | null;
15177
15178
  queueId: string | null;
15178
15179
  agentId: string | null;
15179
15180
  startedDate: Date | null;
@@ -15192,9 +15193,9 @@ export declare const mainChatContract: {
15192
15193
  updatedAt: Date;
15193
15194
  deletedAt: Date | null;
15194
15195
  }[];
15195
- note: string | null;
15196
15196
  callFrom: string | null;
15197
15197
  callTo: string | null;
15198
+ note: string | null;
15198
15199
  } | null;
15199
15200
  };
15200
15201
  channel?: {
@@ -15485,9 +15486,9 @@ export declare const mainChatContract: {
15485
15486
  updatedAt: Date;
15486
15487
  deletedAt: Date | null;
15487
15488
  entityId: string;
15489
+ contactId: string | null;
15488
15490
  caseId: number;
15489
15491
  entityName: string;
15490
- contactId: string | null;
15491
15492
  queueId: string | null;
15492
15493
  agentId: string | null;
15493
15494
  startedDate: Date | null;
@@ -15506,9 +15507,9 @@ export declare const mainChatContract: {
15506
15507
  updatedAt: Date;
15507
15508
  deletedAt: Date | null;
15508
15509
  }[];
15509
- note: string | null;
15510
15510
  callFrom: string | null;
15511
15511
  callTo: string | null;
15512
+ note: string | null;
15512
15513
  } | null;
15513
15514
  };
15514
15515
  channel?: {
@@ -16306,12 +16307,6 @@ export declare const mainChatContract: {
16306
16307
  telephonySignature: string | null;
16307
16308
  } | undefined;
16308
16309
  };
16309
- readAt: Date;
16310
- platformMessageId: string;
16311
- replyPlatformMessageId: string;
16312
- locale: "" | "th" | "mm" | "en";
16313
- previewUrl: string;
16314
- imageSetId: string;
16315
16310
  room: {
16316
16311
  id: string;
16317
16312
  direction: "incoming" | "outgoing" | "system";
@@ -16537,9 +16532,9 @@ export declare const mainChatContract: {
16537
16532
  updatedAt: Date;
16538
16533
  deletedAt: Date | null;
16539
16534
  entityId: string;
16535
+ contactId: string | null;
16540
16536
  caseId: number;
16541
16537
  entityName: string;
16542
- contactId: string | null;
16543
16538
  queueId: string | null;
16544
16539
  agentId: string | null;
16545
16540
  startedDate: Date | null;
@@ -16558,9 +16553,9 @@ export declare const mainChatContract: {
16558
16553
  updatedAt: Date;
16559
16554
  deletedAt: Date | null;
16560
16555
  }[];
16561
- note: string | null;
16562
16556
  callFrom: string | null;
16563
16557
  callTo: string | null;
16558
+ note: string | null;
16564
16559
  } | null;
16565
16560
  };
16566
16561
  channel?: {
@@ -16627,6 +16622,12 @@ export declare const mainChatContract: {
16627
16622
  } | undefined;
16628
16623
  } | undefined;
16629
16624
  };
16625
+ readAt: Date;
16626
+ platformMessageId: string;
16627
+ replyPlatformMessageId: string;
16628
+ locale: "" | "th" | "mm" | "en";
16629
+ previewUrl: string;
16630
+ imageSetId: string;
16630
16631
  sender: {
16631
16632
  id: string;
16632
16633
  address: string | null;
@@ -16778,12 +16779,6 @@ export declare const mainChatContract: {
16778
16779
  telephonySignature: string | null;
16779
16780
  } | undefined;
16780
16781
  };
16781
- readAt: Date;
16782
- platformMessageId: string;
16783
- replyPlatformMessageId: string;
16784
- locale: "" | "th" | "mm" | "en";
16785
- previewUrl: string;
16786
- imageSetId: string;
16787
16782
  room: {
16788
16783
  id: string;
16789
16784
  direction: "incoming" | "outgoing" | "system";
@@ -17009,9 +17004,9 @@ export declare const mainChatContract: {
17009
17004
  updatedAt: Date;
17010
17005
  deletedAt: Date | null;
17011
17006
  entityId: string;
17007
+ contactId: string | null;
17012
17008
  caseId: number;
17013
17009
  entityName: string;
17014
- contactId: string | null;
17015
17010
  queueId: string | null;
17016
17011
  agentId: string | null;
17017
17012
  startedDate: Date | null;
@@ -17030,9 +17025,9 @@ export declare const mainChatContract: {
17030
17025
  updatedAt: Date;
17031
17026
  deletedAt: Date | null;
17032
17027
  }[];
17033
- note: string | null;
17034
17028
  callFrom: string | null;
17035
17029
  callTo: string | null;
17030
+ note: string | null;
17036
17031
  } | null;
17037
17032
  };
17038
17033
  channel?: {
@@ -17099,6 +17094,12 @@ export declare const mainChatContract: {
17099
17094
  } | undefined;
17100
17095
  } | undefined;
17101
17096
  };
17097
+ readAt: Date;
17098
+ platformMessageId: string;
17099
+ replyPlatformMessageId: string;
17100
+ locale: "" | "th" | "mm" | "en";
17101
+ previewUrl: string;
17102
+ imageSetId: string;
17102
17103
  sender: {
17103
17104
  id: string;
17104
17105
  address: string | null;
@@ -17252,12 +17253,6 @@ export declare const mainChatContract: {
17252
17253
  telephonySignature: string | null;
17253
17254
  } | undefined;
17254
17255
  };
17255
- readAt: Date;
17256
- platformMessageId: string;
17257
- replyPlatformMessageId: string;
17258
- locale: "" | "th" | "mm" | "en";
17259
- previewUrl: string;
17260
- imageSetId: string;
17261
17256
  room: {
17262
17257
  id: string;
17263
17258
  direction: "incoming" | "outgoing" | "system";
@@ -17483,9 +17478,9 @@ export declare const mainChatContract: {
17483
17478
  updatedAt: Date;
17484
17479
  deletedAt: Date | null;
17485
17480
  entityId: string;
17481
+ contactId: string | null;
17486
17482
  caseId: number;
17487
17483
  entityName: string;
17488
- contactId: string | null;
17489
17484
  queueId: string | null;
17490
17485
  agentId: string | null;
17491
17486
  startedDate: Date | null;
@@ -17504,9 +17499,9 @@ export declare const mainChatContract: {
17504
17499
  updatedAt: Date;
17505
17500
  deletedAt: Date | null;
17506
17501
  }[];
17507
- note: string | null;
17508
17502
  callFrom: string | null;
17509
17503
  callTo: string | null;
17504
+ note: string | null;
17510
17505
  } | null;
17511
17506
  };
17512
17507
  channel?: {
@@ -17573,6 +17568,12 @@ export declare const mainChatContract: {
17573
17568
  } | undefined;
17574
17569
  } | undefined;
17575
17570
  };
17571
+ readAt: Date;
17572
+ platformMessageId: string;
17573
+ replyPlatformMessageId: string;
17574
+ locale: "" | "th" | "mm" | "en";
17575
+ previewUrl: string;
17576
+ imageSetId: string;
17576
17577
  sender: {
17577
17578
  id: string;
17578
17579
  address: string | null;
@@ -17726,12 +17727,6 @@ export declare const mainChatContract: {
17726
17727
  telephonySignature: string | null;
17727
17728
  } | undefined;
17728
17729
  };
17729
- readAt: Date;
17730
- platformMessageId: string;
17731
- replyPlatformMessageId: string;
17732
- locale: "" | "th" | "mm" | "en";
17733
- previewUrl: string;
17734
- imageSetId: string;
17735
17730
  room: {
17736
17731
  id: string;
17737
17732
  direction: "incoming" | "outgoing" | "system";
@@ -17957,9 +17952,9 @@ export declare const mainChatContract: {
17957
17952
  updatedAt: Date;
17958
17953
  deletedAt: Date | null;
17959
17954
  entityId: string;
17955
+ contactId: string | null;
17960
17956
  caseId: number;
17961
17957
  entityName: string;
17962
- contactId: string | null;
17963
17958
  queueId: string | null;
17964
17959
  agentId: string | null;
17965
17960
  startedDate: Date | null;
@@ -17978,9 +17973,9 @@ export declare const mainChatContract: {
17978
17973
  updatedAt: Date;
17979
17974
  deletedAt: Date | null;
17980
17975
  }[];
17981
- note: string | null;
17982
17976
  callFrom: string | null;
17983
17977
  callTo: string | null;
17978
+ note: string | null;
17984
17979
  } | null;
17985
17980
  };
17986
17981
  channel?: {
@@ -18047,6 +18042,12 @@ export declare const mainChatContract: {
18047
18042
  } | undefined;
18048
18043
  } | undefined;
18049
18044
  };
18045
+ readAt: Date;
18046
+ platformMessageId: string;
18047
+ replyPlatformMessageId: string;
18048
+ locale: "" | "th" | "mm" | "en";
18049
+ previewUrl: string;
18050
+ imageSetId: string;
18050
18051
  sender: {
18051
18052
  id: string;
18052
18053
  address: string | null;
@@ -20010,9 +20011,9 @@ export declare const mainChatContract: {
20010
20011
  updatedAt: Date;
20011
20012
  deletedAt: Date | null;
20012
20013
  }[];
20013
- note: string | null;
20014
20014
  callFrom: string | null;
20015
20015
  callTo: string | null;
20016
+ note: string | null;
20016
20017
  }, {
20017
20018
  id: string;
20018
20019
  disposition: string | null;
@@ -20026,9 +20027,9 @@ export declare const mainChatContract: {
20026
20027
  updatedAt: Date;
20027
20028
  deletedAt: Date | null;
20028
20029
  }[];
20029
- note: string | null;
20030
20030
  callFrom: string | null;
20031
20031
  callTo: string | null;
20032
+ note: string | null;
20032
20033
  }>>;
20033
20034
  }, "strip", z.ZodTypeAny, {
20034
20035
  id: string;
@@ -20039,9 +20040,9 @@ export declare const mainChatContract: {
20039
20040
  updatedAt: Date;
20040
20041
  deletedAt: Date | null;
20041
20042
  entityId: string;
20043
+ contactId: string | null;
20042
20044
  caseId: number;
20043
20045
  entityName: string;
20044
- contactId: string | null;
20045
20046
  queueId: string | null;
20046
20047
  agentId: string | null;
20047
20048
  startedDate: Date | null;
@@ -20060,9 +20061,9 @@ export declare const mainChatContract: {
20060
20061
  updatedAt: Date;
20061
20062
  deletedAt: Date | null;
20062
20063
  }[];
20063
- note: string | null;
20064
20064
  callFrom: string | null;
20065
20065
  callTo: string | null;
20066
+ note: string | null;
20066
20067
  } | null;
20067
20068
  }, {
20068
20069
  id: string;
@@ -20073,9 +20074,9 @@ export declare const mainChatContract: {
20073
20074
  updatedAt: Date;
20074
20075
  deletedAt: Date | null;
20075
20076
  entityId: string;
20077
+ contactId: string | null;
20076
20078
  caseId: number;
20077
20079
  entityName: string;
20078
- contactId: string | null;
20079
20080
  queueId: string | null;
20080
20081
  agentId: string | null;
20081
20082
  startedDate: Date | null;
@@ -20094,9 +20095,9 @@ export declare const mainChatContract: {
20094
20095
  updatedAt: Date;
20095
20096
  deletedAt: Date | null;
20096
20097
  }[];
20097
- note: string | null;
20098
20098
  callFrom: string | null;
20099
20099
  callTo: string | null;
20100
+ note: string | null;
20100
20101
  } | null;
20101
20102
  }>;
20102
20103
  }, "strip", z.ZodTypeAny, {
@@ -20324,9 +20325,9 @@ export declare const mainChatContract: {
20324
20325
  updatedAt: Date;
20325
20326
  deletedAt: Date | null;
20326
20327
  entityId: string;
20328
+ contactId: string | null;
20327
20329
  caseId: number;
20328
20330
  entityName: string;
20329
- contactId: string | null;
20330
20331
  queueId: string | null;
20331
20332
  agentId: string | null;
20332
20333
  startedDate: Date | null;
@@ -20345,9 +20346,9 @@ export declare const mainChatContract: {
20345
20346
  updatedAt: Date;
20346
20347
  deletedAt: Date | null;
20347
20348
  }[];
20348
- note: string | null;
20349
20349
  callFrom: string | null;
20350
20350
  callTo: string | null;
20351
+ note: string | null;
20351
20352
  } | null;
20352
20353
  };
20353
20354
  channel?: {
@@ -20638,9 +20639,9 @@ export declare const mainChatContract: {
20638
20639
  updatedAt: Date;
20639
20640
  deletedAt: Date | null;
20640
20641
  entityId: string;
20642
+ contactId: string | null;
20641
20643
  caseId: number;
20642
20644
  entityName: string;
20643
- contactId: string | null;
20644
20645
  queueId: string | null;
20645
20646
  agentId: string | null;
20646
20647
  startedDate: Date | null;
@@ -20659,9 +20660,9 @@ export declare const mainChatContract: {
20659
20660
  updatedAt: Date;
20660
20661
  deletedAt: Date | null;
20661
20662
  }[];
20662
- note: string | null;
20663
20663
  callFrom: string | null;
20664
20664
  callTo: string | null;
20665
+ note: string | null;
20665
20666
  } | null;
20666
20667
  };
20667
20668
  channel?: {
@@ -21459,12 +21460,6 @@ export declare const mainChatContract: {
21459
21460
  telephonySignature: string | null;
21460
21461
  } | undefined;
21461
21462
  };
21462
- readAt: Date;
21463
- platformMessageId: string;
21464
- replyPlatformMessageId: string;
21465
- locale: "" | "th" | "mm" | "en";
21466
- previewUrl: string;
21467
- imageSetId: string;
21468
21463
  room: {
21469
21464
  id: string;
21470
21465
  direction: "incoming" | "outgoing" | "system";
@@ -21690,9 +21685,9 @@ export declare const mainChatContract: {
21690
21685
  updatedAt: Date;
21691
21686
  deletedAt: Date | null;
21692
21687
  entityId: string;
21688
+ contactId: string | null;
21693
21689
  caseId: number;
21694
21690
  entityName: string;
21695
- contactId: string | null;
21696
21691
  queueId: string | null;
21697
21692
  agentId: string | null;
21698
21693
  startedDate: Date | null;
@@ -21711,9 +21706,9 @@ export declare const mainChatContract: {
21711
21706
  updatedAt: Date;
21712
21707
  deletedAt: Date | null;
21713
21708
  }[];
21714
- note: string | null;
21715
21709
  callFrom: string | null;
21716
21710
  callTo: string | null;
21711
+ note: string | null;
21717
21712
  } | null;
21718
21713
  };
21719
21714
  channel?: {
@@ -21780,6 +21775,12 @@ export declare const mainChatContract: {
21780
21775
  } | undefined;
21781
21776
  } | undefined;
21782
21777
  };
21778
+ readAt: Date;
21779
+ platformMessageId: string;
21780
+ replyPlatformMessageId: string;
21781
+ locale: "" | "th" | "mm" | "en";
21782
+ previewUrl: string;
21783
+ imageSetId: string;
21783
21784
  sender: {
21784
21785
  id: string;
21785
21786
  address: string | null;
@@ -21931,12 +21932,6 @@ export declare const mainChatContract: {
21931
21932
  telephonySignature: string | null;
21932
21933
  } | undefined;
21933
21934
  };
21934
- readAt: Date;
21935
- platformMessageId: string;
21936
- replyPlatformMessageId: string;
21937
- locale: "" | "th" | "mm" | "en";
21938
- previewUrl: string;
21939
- imageSetId: string;
21940
21935
  room: {
21941
21936
  id: string;
21942
21937
  direction: "incoming" | "outgoing" | "system";
@@ -22162,9 +22157,9 @@ export declare const mainChatContract: {
22162
22157
  updatedAt: Date;
22163
22158
  deletedAt: Date | null;
22164
22159
  entityId: string;
22160
+ contactId: string | null;
22165
22161
  caseId: number;
22166
22162
  entityName: string;
22167
- contactId: string | null;
22168
22163
  queueId: string | null;
22169
22164
  agentId: string | null;
22170
22165
  startedDate: Date | null;
@@ -22183,9 +22178,9 @@ export declare const mainChatContract: {
22183
22178
  updatedAt: Date;
22184
22179
  deletedAt: Date | null;
22185
22180
  }[];
22186
- note: string | null;
22187
22181
  callFrom: string | null;
22188
22182
  callTo: string | null;
22183
+ note: string | null;
22189
22184
  } | null;
22190
22185
  };
22191
22186
  channel?: {
@@ -22252,6 +22247,12 @@ export declare const mainChatContract: {
22252
22247
  } | undefined;
22253
22248
  } | undefined;
22254
22249
  };
22250
+ readAt: Date;
22251
+ platformMessageId: string;
22252
+ replyPlatformMessageId: string;
22253
+ locale: "" | "th" | "mm" | "en";
22254
+ previewUrl: string;
22255
+ imageSetId: string;
22255
22256
  sender: {
22256
22257
  id: string;
22257
22258
  address: string | null;
@@ -22405,12 +22406,6 @@ export declare const mainChatContract: {
22405
22406
  telephonySignature: string | null;
22406
22407
  } | undefined;
22407
22408
  };
22408
- readAt: Date;
22409
- platformMessageId: string;
22410
- replyPlatformMessageId: string;
22411
- locale: "" | "th" | "mm" | "en";
22412
- previewUrl: string;
22413
- imageSetId: string;
22414
22409
  room: {
22415
22410
  id: string;
22416
22411
  direction: "incoming" | "outgoing" | "system";
@@ -22636,9 +22631,9 @@ export declare const mainChatContract: {
22636
22631
  updatedAt: Date;
22637
22632
  deletedAt: Date | null;
22638
22633
  entityId: string;
22634
+ contactId: string | null;
22639
22635
  caseId: number;
22640
22636
  entityName: string;
22641
- contactId: string | null;
22642
22637
  queueId: string | null;
22643
22638
  agentId: string | null;
22644
22639
  startedDate: Date | null;
@@ -22657,9 +22652,9 @@ export declare const mainChatContract: {
22657
22652
  updatedAt: Date;
22658
22653
  deletedAt: Date | null;
22659
22654
  }[];
22660
- note: string | null;
22661
22655
  callFrom: string | null;
22662
22656
  callTo: string | null;
22657
+ note: string | null;
22663
22658
  } | null;
22664
22659
  };
22665
22660
  channel?: {
@@ -22726,6 +22721,12 @@ export declare const mainChatContract: {
22726
22721
  } | undefined;
22727
22722
  } | undefined;
22728
22723
  };
22724
+ readAt: Date;
22725
+ platformMessageId: string;
22726
+ replyPlatformMessageId: string;
22727
+ locale: "" | "th" | "mm" | "en";
22728
+ previewUrl: string;
22729
+ imageSetId: string;
22729
22730
  sender: {
22730
22731
  id: string;
22731
22732
  address: string | null;
@@ -22883,12 +22884,6 @@ export declare const mainChatContract: {
22883
22884
  telephonySignature: string | null;
22884
22885
  } | undefined;
22885
22886
  };
22886
- readAt: Date;
22887
- platformMessageId: string;
22888
- replyPlatformMessageId: string;
22889
- locale: "" | "th" | "mm" | "en";
22890
- previewUrl: string;
22891
- imageSetId: string;
22892
22887
  room: {
22893
22888
  id: string;
22894
22889
  direction: "incoming" | "outgoing" | "system";
@@ -23114,9 +23109,9 @@ export declare const mainChatContract: {
23114
23109
  updatedAt: Date;
23115
23110
  deletedAt: Date | null;
23116
23111
  entityId: string;
23112
+ contactId: string | null;
23117
23113
  caseId: number;
23118
23114
  entityName: string;
23119
- contactId: string | null;
23120
23115
  queueId: string | null;
23121
23116
  agentId: string | null;
23122
23117
  startedDate: Date | null;
@@ -23135,9 +23130,9 @@ export declare const mainChatContract: {
23135
23130
  updatedAt: Date;
23136
23131
  deletedAt: Date | null;
23137
23132
  }[];
23138
- note: string | null;
23139
23133
  callFrom: string | null;
23140
23134
  callTo: string | null;
23135
+ note: string | null;
23141
23136
  } | null;
23142
23137
  };
23143
23138
  channel?: {
@@ -23204,6 +23199,12 @@ export declare const mainChatContract: {
23204
23199
  } | undefined;
23205
23200
  } | undefined;
23206
23201
  };
23202
+ readAt: Date;
23203
+ platformMessageId: string;
23204
+ replyPlatformMessageId: string;
23205
+ locale: "" | "th" | "mm" | "en";
23206
+ previewUrl: string;
23207
+ imageSetId: string;
23207
23208
  sender: {
23208
23209
  id: string;
23209
23210
  address: string | null;
@@ -25100,9 +25101,9 @@ export declare const mainChatContract: {
25100
25101
  updatedAt: Date;
25101
25102
  deletedAt: Date | null;
25102
25103
  }[];
25103
- note: string | null;
25104
25104
  callFrom: string | null;
25105
25105
  callTo: string | null;
25106
+ note: string | null;
25106
25107
  }, {
25107
25108
  id: string;
25108
25109
  disposition: string | null;
@@ -25116,9 +25117,9 @@ export declare const mainChatContract: {
25116
25117
  updatedAt: Date;
25117
25118
  deletedAt: Date | null;
25118
25119
  }[];
25119
- note: string | null;
25120
25120
  callFrom: string | null;
25121
25121
  callTo: string | null;
25122
+ note: string | null;
25122
25123
  }>>;
25123
25124
  }, "strip", z.ZodTypeAny, {
25124
25125
  id: string;
@@ -25129,9 +25130,9 @@ export declare const mainChatContract: {
25129
25130
  updatedAt: Date;
25130
25131
  deletedAt: Date | null;
25131
25132
  entityId: string;
25133
+ contactId: string | null;
25132
25134
  caseId: number;
25133
25135
  entityName: string;
25134
- contactId: string | null;
25135
25136
  queueId: string | null;
25136
25137
  agentId: string | null;
25137
25138
  startedDate: Date | null;
@@ -25150,9 +25151,9 @@ export declare const mainChatContract: {
25150
25151
  updatedAt: Date;
25151
25152
  deletedAt: Date | null;
25152
25153
  }[];
25153
- note: string | null;
25154
25154
  callFrom: string | null;
25155
25155
  callTo: string | null;
25156
+ note: string | null;
25156
25157
  } | null;
25157
25158
  }, {
25158
25159
  id: string;
@@ -25163,9 +25164,9 @@ export declare const mainChatContract: {
25163
25164
  updatedAt: Date;
25164
25165
  deletedAt: Date | null;
25165
25166
  entityId: string;
25167
+ contactId: string | null;
25166
25168
  caseId: number;
25167
25169
  entityName: string;
25168
- contactId: string | null;
25169
25170
  queueId: string | null;
25170
25171
  agentId: string | null;
25171
25172
  startedDate: Date | null;
@@ -25184,9 +25185,9 @@ export declare const mainChatContract: {
25184
25185
  updatedAt: Date;
25185
25186
  deletedAt: Date | null;
25186
25187
  }[];
25187
- note: string | null;
25188
25188
  callFrom: string | null;
25189
25189
  callTo: string | null;
25190
+ note: string | null;
25190
25191
  } | null;
25191
25192
  }>;
25192
25193
  solveMessage: z.ZodString;
@@ -25415,9 +25416,9 @@ export declare const mainChatContract: {
25415
25416
  updatedAt: Date;
25416
25417
  deletedAt: Date | null;
25417
25418
  entityId: string;
25419
+ contactId: string | null;
25418
25420
  caseId: number;
25419
25421
  entityName: string;
25420
- contactId: string | null;
25421
25422
  queueId: string | null;
25422
25423
  agentId: string | null;
25423
25424
  startedDate: Date | null;
@@ -25436,9 +25437,9 @@ export declare const mainChatContract: {
25436
25437
  updatedAt: Date;
25437
25438
  deletedAt: Date | null;
25438
25439
  }[];
25439
- note: string | null;
25440
25440
  callFrom: string | null;
25441
25441
  callTo: string | null;
25442
+ note: string | null;
25442
25443
  } | null;
25443
25444
  };
25444
25445
  solveMessage: string;
@@ -25730,9 +25731,9 @@ export declare const mainChatContract: {
25730
25731
  updatedAt: Date;
25731
25732
  deletedAt: Date | null;
25732
25733
  entityId: string;
25734
+ contactId: string | null;
25733
25735
  caseId: number;
25734
25736
  entityName: string;
25735
- contactId: string | null;
25736
25737
  queueId: string | null;
25737
25738
  agentId: string | null;
25738
25739
  startedDate: Date | null;
@@ -25751,9 +25752,9 @@ export declare const mainChatContract: {
25751
25752
  updatedAt: Date;
25752
25753
  deletedAt: Date | null;
25753
25754
  }[];
25754
- note: string | null;
25755
25755
  callFrom: string | null;
25756
25756
  callTo: string | null;
25757
+ note: string | null;
25757
25758
  } | null;
25758
25759
  };
25759
25760
  solveMessage: string;
@@ -26047,9 +26048,9 @@ export declare const mainChatContract: {
26047
26048
  updatedAt: Date;
26048
26049
  deletedAt: Date | null;
26049
26050
  entityId: string;
26051
+ contactId: string | null;
26050
26052
  caseId: number;
26051
26053
  entityName: string;
26052
- contactId: string | null;
26053
26054
  queueId: string | null;
26054
26055
  agentId: string | null;
26055
26056
  startedDate: Date | null;
@@ -26068,9 +26069,9 @@ export declare const mainChatContract: {
26068
26069
  updatedAt: Date;
26069
26070
  deletedAt: Date | null;
26070
26071
  }[];
26071
- note: string | null;
26072
26072
  callFrom: string | null;
26073
26073
  callTo: string | null;
26074
+ note: string | null;
26074
26075
  } | null;
26075
26076
  };
26076
26077
  solveMessage: string;
@@ -26365,9 +26366,9 @@ export declare const mainChatContract: {
26365
26366
  updatedAt: Date;
26366
26367
  deletedAt: Date | null;
26367
26368
  entityId: string;
26369
+ contactId: string | null;
26368
26370
  caseId: number;
26369
26371
  entityName: string;
26370
- contactId: string | null;
26371
26372
  queueId: string | null;
26372
26373
  agentId: string | null;
26373
26374
  startedDate: Date | null;
@@ -26386,9 +26387,9 @@ export declare const mainChatContract: {
26386
26387
  updatedAt: Date;
26387
26388
  deletedAt: Date | null;
26388
26389
  }[];
26389
- note: string | null;
26390
26390
  callFrom: string | null;
26391
26391
  callTo: string | null;
26392
+ note: string | null;
26392
26393
  } | null;
26393
26394
  };
26394
26395
  solveMessage: string;
@@ -28316,9 +28317,9 @@ export declare const mainChatContract: {
28316
28317
  updatedAt: Date;
28317
28318
  deletedAt: Date | null;
28318
28319
  }[];
28319
- note: string | null;
28320
28320
  callFrom: string | null;
28321
28321
  callTo: string | null;
28322
+ note: string | null;
28322
28323
  }, {
28323
28324
  id: string;
28324
28325
  disposition: string | null;
@@ -28332,9 +28333,9 @@ export declare const mainChatContract: {
28332
28333
  updatedAt: Date;
28333
28334
  deletedAt: Date | null;
28334
28335
  }[];
28335
- note: string | null;
28336
28336
  callFrom: string | null;
28337
28337
  callTo: string | null;
28338
+ note: string | null;
28338
28339
  }>>;
28339
28340
  }, "strip", z.ZodTypeAny, {
28340
28341
  id: string;
@@ -28345,9 +28346,9 @@ export declare const mainChatContract: {
28345
28346
  updatedAt: Date;
28346
28347
  deletedAt: Date | null;
28347
28348
  entityId: string;
28349
+ contactId: string | null;
28348
28350
  caseId: number;
28349
28351
  entityName: string;
28350
- contactId: string | null;
28351
28352
  queueId: string | null;
28352
28353
  agentId: string | null;
28353
28354
  startedDate: Date | null;
@@ -28366,9 +28367,9 @@ export declare const mainChatContract: {
28366
28367
  updatedAt: Date;
28367
28368
  deletedAt: Date | null;
28368
28369
  }[];
28369
- note: string | null;
28370
28370
  callFrom: string | null;
28371
28371
  callTo: string | null;
28372
+ note: string | null;
28372
28373
  } | null;
28373
28374
  }, {
28374
28375
  id: string;
@@ -28379,9 +28380,9 @@ export declare const mainChatContract: {
28379
28380
  updatedAt: Date;
28380
28381
  deletedAt: Date | null;
28381
28382
  entityId: string;
28383
+ contactId: string | null;
28382
28384
  caseId: number;
28383
28385
  entityName: string;
28384
- contactId: string | null;
28385
28386
  queueId: string | null;
28386
28387
  agentId: string | null;
28387
28388
  startedDate: Date | null;
@@ -28400,9 +28401,9 @@ export declare const mainChatContract: {
28400
28401
  updatedAt: Date;
28401
28402
  deletedAt: Date | null;
28402
28403
  }[];
28403
- note: string | null;
28404
28404
  callFrom: string | null;
28405
28405
  callTo: string | null;
28406
+ note: string | null;
28406
28407
  } | null;
28407
28408
  }>;
28408
28409
  }, "strip", z.ZodTypeAny, {
@@ -28630,9 +28631,9 @@ export declare const mainChatContract: {
28630
28631
  updatedAt: Date;
28631
28632
  deletedAt: Date | null;
28632
28633
  entityId: string;
28634
+ contactId: string | null;
28633
28635
  caseId: number;
28634
28636
  entityName: string;
28635
- contactId: string | null;
28636
28637
  queueId: string | null;
28637
28638
  agentId: string | null;
28638
28639
  startedDate: Date | null;
@@ -28651,9 +28652,9 @@ export declare const mainChatContract: {
28651
28652
  updatedAt: Date;
28652
28653
  deletedAt: Date | null;
28653
28654
  }[];
28654
- note: string | null;
28655
28655
  callFrom: string | null;
28656
28656
  callTo: string | null;
28657
+ note: string | null;
28657
28658
  } | null;
28658
28659
  };
28659
28660
  channel?: {
@@ -28944,9 +28945,9 @@ export declare const mainChatContract: {
28944
28945
  updatedAt: Date;
28945
28946
  deletedAt: Date | null;
28946
28947
  entityId: string;
28948
+ contactId: string | null;
28947
28949
  caseId: number;
28948
28950
  entityName: string;
28949
- contactId: string | null;
28950
28951
  queueId: string | null;
28951
28952
  agentId: string | null;
28952
28953
  startedDate: Date | null;
@@ -28965,9 +28966,9 @@ export declare const mainChatContract: {
28965
28966
  updatedAt: Date;
28966
28967
  deletedAt: Date | null;
28967
28968
  }[];
28968
- note: string | null;
28969
28969
  callFrom: string | null;
28970
28970
  callTo: string | null;
28971
+ note: string | null;
28971
28972
  } | null;
28972
28973
  };
28973
28974
  channel?: {
@@ -29260,9 +29261,9 @@ export declare const mainChatContract: {
29260
29261
  updatedAt: Date;
29261
29262
  deletedAt: Date | null;
29262
29263
  entityId: string;
29264
+ contactId: string | null;
29263
29265
  caseId: number;
29264
29266
  entityName: string;
29265
- contactId: string | null;
29266
29267
  queueId: string | null;
29267
29268
  agentId: string | null;
29268
29269
  startedDate: Date | null;
@@ -29281,9 +29282,9 @@ export declare const mainChatContract: {
29281
29282
  updatedAt: Date;
29282
29283
  deletedAt: Date | null;
29283
29284
  }[];
29284
- note: string | null;
29285
29285
  callFrom: string | null;
29286
29286
  callTo: string | null;
29287
+ note: string | null;
29287
29288
  } | null;
29288
29289
  };
29289
29290
  channel?: {
@@ -29577,9 +29578,9 @@ export declare const mainChatContract: {
29577
29578
  updatedAt: Date;
29578
29579
  deletedAt: Date | null;
29579
29580
  entityId: string;
29581
+ contactId: string | null;
29580
29582
  caseId: number;
29581
29583
  entityName: string;
29582
- contactId: string | null;
29583
29584
  queueId: string | null;
29584
29585
  agentId: string | null;
29585
29586
  startedDate: Date | null;
@@ -29598,9 +29599,9 @@ export declare const mainChatContract: {
29598
29599
  updatedAt: Date;
29599
29600
  deletedAt: Date | null;
29600
29601
  }[];
29601
- note: string | null;
29602
29602
  callFrom: string | null;
29603
29603
  callTo: string | null;
29604
+ note: string | null;
29604
29605
  } | null;
29605
29606
  };
29606
29607
  channel?: {
@@ -31514,9 +31515,9 @@ export declare const mainChatContract: {
31514
31515
  updatedAt: Date;
31515
31516
  deletedAt: Date | null;
31516
31517
  }[];
31517
- note: string | null;
31518
31518
  callFrom: string | null;
31519
31519
  callTo: string | null;
31520
+ note: string | null;
31520
31521
  }, {
31521
31522
  id: string;
31522
31523
  disposition: string | null;
@@ -31530,9 +31531,9 @@ export declare const mainChatContract: {
31530
31531
  updatedAt: Date;
31531
31532
  deletedAt: Date | null;
31532
31533
  }[];
31533
- note: string | null;
31534
31534
  callFrom: string | null;
31535
31535
  callTo: string | null;
31536
+ note: string | null;
31536
31537
  }>>;
31537
31538
  }, "strip", z.ZodTypeAny, {
31538
31539
  id: string;
@@ -31543,9 +31544,9 @@ export declare const mainChatContract: {
31543
31544
  updatedAt: Date;
31544
31545
  deletedAt: Date | null;
31545
31546
  entityId: string;
31547
+ contactId: string | null;
31546
31548
  caseId: number;
31547
31549
  entityName: string;
31548
- contactId: string | null;
31549
31550
  queueId: string | null;
31550
31551
  agentId: string | null;
31551
31552
  startedDate: Date | null;
@@ -31564,9 +31565,9 @@ export declare const mainChatContract: {
31564
31565
  updatedAt: Date;
31565
31566
  deletedAt: Date | null;
31566
31567
  }[];
31567
- note: string | null;
31568
31568
  callFrom: string | null;
31569
31569
  callTo: string | null;
31570
+ note: string | null;
31570
31571
  } | null;
31571
31572
  }, {
31572
31573
  id: string;
@@ -31577,9 +31578,9 @@ export declare const mainChatContract: {
31577
31578
  updatedAt: Date;
31578
31579
  deletedAt: Date | null;
31579
31580
  entityId: string;
31581
+ contactId: string | null;
31580
31582
  caseId: number;
31581
31583
  entityName: string;
31582
- contactId: string | null;
31583
31584
  queueId: string | null;
31584
31585
  agentId: string | null;
31585
31586
  startedDate: Date | null;
@@ -31598,9 +31599,9 @@ export declare const mainChatContract: {
31598
31599
  updatedAt: Date;
31599
31600
  deletedAt: Date | null;
31600
31601
  }[];
31601
- note: string | null;
31602
31602
  callFrom: string | null;
31603
31603
  callTo: string | null;
31604
+ note: string | null;
31604
31605
  } | null;
31605
31606
  }>;
31606
31607
  }, "strip", z.ZodTypeAny, {
@@ -31828,9 +31829,9 @@ export declare const mainChatContract: {
31828
31829
  updatedAt: Date;
31829
31830
  deletedAt: Date | null;
31830
31831
  entityId: string;
31832
+ contactId: string | null;
31831
31833
  caseId: number;
31832
31834
  entityName: string;
31833
- contactId: string | null;
31834
31835
  queueId: string | null;
31835
31836
  agentId: string | null;
31836
31837
  startedDate: Date | null;
@@ -31849,9 +31850,9 @@ export declare const mainChatContract: {
31849
31850
  updatedAt: Date;
31850
31851
  deletedAt: Date | null;
31851
31852
  }[];
31852
- note: string | null;
31853
31853
  callFrom: string | null;
31854
31854
  callTo: string | null;
31855
+ note: string | null;
31855
31856
  } | null;
31856
31857
  };
31857
31858
  channel?: {
@@ -32142,9 +32143,9 @@ export declare const mainChatContract: {
32142
32143
  updatedAt: Date;
32143
32144
  deletedAt: Date | null;
32144
32145
  entityId: string;
32146
+ contactId: string | null;
32145
32147
  caseId: number;
32146
32148
  entityName: string;
32147
- contactId: string | null;
32148
32149
  queueId: string | null;
32149
32150
  agentId: string | null;
32150
32151
  startedDate: Date | null;
@@ -32163,9 +32164,9 @@ export declare const mainChatContract: {
32163
32164
  updatedAt: Date;
32164
32165
  deletedAt: Date | null;
32165
32166
  }[];
32166
- note: string | null;
32167
32167
  callFrom: string | null;
32168
32168
  callTo: string | null;
32169
+ note: string | null;
32169
32170
  } | null;
32170
32171
  };
32171
32172
  channel?: {
@@ -32458,9 +32459,9 @@ export declare const mainChatContract: {
32458
32459
  updatedAt: Date;
32459
32460
  deletedAt: Date | null;
32460
32461
  entityId: string;
32462
+ contactId: string | null;
32461
32463
  caseId: number;
32462
32464
  entityName: string;
32463
- contactId: string | null;
32464
32465
  queueId: string | null;
32465
32466
  agentId: string | null;
32466
32467
  startedDate: Date | null;
@@ -32479,9 +32480,9 @@ export declare const mainChatContract: {
32479
32480
  updatedAt: Date;
32480
32481
  deletedAt: Date | null;
32481
32482
  }[];
32482
- note: string | null;
32483
32483
  callFrom: string | null;
32484
32484
  callTo: string | null;
32485
+ note: string | null;
32485
32486
  } | null;
32486
32487
  };
32487
32488
  channel?: {
@@ -32775,9 +32776,9 @@ export declare const mainChatContract: {
32775
32776
  updatedAt: Date;
32776
32777
  deletedAt: Date | null;
32777
32778
  entityId: string;
32779
+ contactId: string | null;
32778
32780
  caseId: number;
32779
32781
  entityName: string;
32780
- contactId: string | null;
32781
32782
  queueId: string | null;
32782
32783
  agentId: string | null;
32783
32784
  startedDate: Date | null;
@@ -32796,9 +32797,9 @@ export declare const mainChatContract: {
32796
32797
  updatedAt: Date;
32797
32798
  deletedAt: Date | null;
32798
32799
  }[];
32799
- note: string | null;
32800
32800
  callFrom: string | null;
32801
32801
  callTo: string | null;
32802
+ note: string | null;
32802
32803
  } | null;
32803
32804
  };
32804
32805
  channel?: {
@@ -34723,9 +34724,9 @@ export declare const mainChatContract: {
34723
34724
  updatedAt: Date;
34724
34725
  deletedAt: Date | null;
34725
34726
  }[];
34726
- note: string | null;
34727
34727
  callFrom: string | null;
34728
34728
  callTo: string | null;
34729
+ note: string | null;
34729
34730
  }, {
34730
34731
  id: string;
34731
34732
  disposition: string | null;
@@ -34739,9 +34740,9 @@ export declare const mainChatContract: {
34739
34740
  updatedAt: Date;
34740
34741
  deletedAt: Date | null;
34741
34742
  }[];
34742
- note: string | null;
34743
34743
  callFrom: string | null;
34744
34744
  callTo: string | null;
34745
+ note: string | null;
34745
34746
  }>>;
34746
34747
  }, "strip", z.ZodTypeAny, {
34747
34748
  id: string;
@@ -34752,9 +34753,9 @@ export declare const mainChatContract: {
34752
34753
  updatedAt: Date;
34753
34754
  deletedAt: Date | null;
34754
34755
  entityId: string;
34756
+ contactId: string | null;
34755
34757
  caseId: number;
34756
34758
  entityName: string;
34757
- contactId: string | null;
34758
34759
  queueId: string | null;
34759
34760
  agentId: string | null;
34760
34761
  startedDate: Date | null;
@@ -34773,9 +34774,9 @@ export declare const mainChatContract: {
34773
34774
  updatedAt: Date;
34774
34775
  deletedAt: Date | null;
34775
34776
  }[];
34776
- note: string | null;
34777
34777
  callFrom: string | null;
34778
34778
  callTo: string | null;
34779
+ note: string | null;
34779
34780
  } | null;
34780
34781
  }, {
34781
34782
  id: string;
@@ -34786,9 +34787,9 @@ export declare const mainChatContract: {
34786
34787
  updatedAt: Date;
34787
34788
  deletedAt: Date | null;
34788
34789
  entityId: string;
34790
+ contactId: string | null;
34789
34791
  caseId: number;
34790
34792
  entityName: string;
34791
- contactId: string | null;
34792
34793
  queueId: string | null;
34793
34794
  agentId: string | null;
34794
34795
  startedDate: Date | null;
@@ -34807,9 +34808,9 @@ export declare const mainChatContract: {
34807
34808
  updatedAt: Date;
34808
34809
  deletedAt: Date | null;
34809
34810
  }[];
34810
- note: string | null;
34811
34811
  callFrom: string | null;
34812
34812
  callTo: string | null;
34813
+ note: string | null;
34813
34814
  } | null;
34814
34815
  }>;
34815
34816
  contact: z.ZodObject<{
@@ -35880,9 +35881,9 @@ export declare const mainChatContract: {
35880
35881
  updatedAt: Date;
35881
35882
  deletedAt: Date | null;
35882
35883
  entityId: string;
35884
+ contactId: string | null;
35883
35885
  caseId: number;
35884
35886
  entityName: string;
35885
- contactId: string | null;
35886
35887
  queueId: string | null;
35887
35888
  agentId: string | null;
35888
35889
  startedDate: Date | null;
@@ -35901,9 +35902,9 @@ export declare const mainChatContract: {
35901
35902
  updatedAt: Date;
35902
35903
  deletedAt: Date | null;
35903
35904
  }[];
35904
- note: string | null;
35905
35905
  callFrom: string | null;
35906
35906
  callTo: string | null;
35907
+ note: string | null;
35907
35908
  } | null;
35908
35909
  };
35909
35910
  openMessage: string;
@@ -36297,9 +36298,9 @@ export declare const mainChatContract: {
36297
36298
  updatedAt: Date;
36298
36299
  deletedAt: Date | null;
36299
36300
  entityId: string;
36301
+ contactId: string | null;
36300
36302
  caseId: number;
36301
36303
  entityName: string;
36302
- contactId: string | null;
36303
36304
  queueId: string | null;
36304
36305
  agentId: string | null;
36305
36306
  startedDate: Date | null;
@@ -36318,9 +36319,9 @@ export declare const mainChatContract: {
36318
36319
  updatedAt: Date;
36319
36320
  deletedAt: Date | null;
36320
36321
  }[];
36321
- note: string | null;
36322
36322
  callFrom: string | null;
36323
36323
  callTo: string | null;
36324
+ note: string | null;
36324
36325
  } | null;
36325
36326
  };
36326
36327
  openMessage: string;
@@ -36716,9 +36717,9 @@ export declare const mainChatContract: {
36716
36717
  updatedAt: Date;
36717
36718
  deletedAt: Date | null;
36718
36719
  entityId: string;
36720
+ contactId: string | null;
36719
36721
  caseId: number;
36720
36722
  entityName: string;
36721
- contactId: string | null;
36722
36723
  queueId: string | null;
36723
36724
  agentId: string | null;
36724
36725
  startedDate: Date | null;
@@ -36737,9 +36738,9 @@ export declare const mainChatContract: {
36737
36738
  updatedAt: Date;
36738
36739
  deletedAt: Date | null;
36739
36740
  }[];
36740
- note: string | null;
36741
36741
  callFrom: string | null;
36742
36742
  callTo: string | null;
36743
+ note: string | null;
36743
36744
  } | null;
36744
36745
  };
36745
36746
  openMessage: string;
@@ -37136,9 +37137,9 @@ export declare const mainChatContract: {
37136
37137
  updatedAt: Date;
37137
37138
  deletedAt: Date | null;
37138
37139
  entityId: string;
37140
+ contactId: string | null;
37139
37141
  caseId: number;
37140
37142
  entityName: string;
37141
- contactId: string | null;
37142
37143
  queueId: string | null;
37143
37144
  agentId: string | null;
37144
37145
  startedDate: Date | null;
@@ -37157,9 +37158,9 @@ export declare const mainChatContract: {
37157
37158
  updatedAt: Date;
37158
37159
  deletedAt: Date | null;
37159
37160
  }[];
37160
- note: string | null;
37161
37161
  callFrom: string | null;
37162
37162
  callTo: string | null;
37163
+ note: string | null;
37163
37164
  } | null;
37164
37165
  };
37165
37166
  openMessage: string;
@@ -39075,9 +39076,9 @@ export declare const mainChatContract: {
39075
39076
  updatedAt: Date;
39076
39077
  deletedAt: Date | null;
39077
39078
  }[];
39078
- note: string | null;
39079
39079
  callFrom: string | null;
39080
39080
  callTo: string | null;
39081
+ note: string | null;
39081
39082
  }, {
39082
39083
  id: string;
39083
39084
  disposition: string | null;
@@ -39091,9 +39092,9 @@ export declare const mainChatContract: {
39091
39092
  updatedAt: Date;
39092
39093
  deletedAt: Date | null;
39093
39094
  }[];
39094
- note: string | null;
39095
39095
  callFrom: string | null;
39096
39096
  callTo: string | null;
39097
+ note: string | null;
39097
39098
  }>>;
39098
39099
  }, "strip", z.ZodTypeAny, {
39099
39100
  id: string;
@@ -39104,9 +39105,9 @@ export declare const mainChatContract: {
39104
39105
  updatedAt: Date;
39105
39106
  deletedAt: Date | null;
39106
39107
  entityId: string;
39108
+ contactId: string | null;
39107
39109
  caseId: number;
39108
39110
  entityName: string;
39109
- contactId: string | null;
39110
39111
  queueId: string | null;
39111
39112
  agentId: string | null;
39112
39113
  startedDate: Date | null;
@@ -39125,9 +39126,9 @@ export declare const mainChatContract: {
39125
39126
  updatedAt: Date;
39126
39127
  deletedAt: Date | null;
39127
39128
  }[];
39128
- note: string | null;
39129
39129
  callFrom: string | null;
39130
39130
  callTo: string | null;
39131
+ note: string | null;
39131
39132
  } | null;
39132
39133
  }, {
39133
39134
  id: string;
@@ -39138,9 +39139,9 @@ export declare const mainChatContract: {
39138
39139
  updatedAt: Date;
39139
39140
  deletedAt: Date | null;
39140
39141
  entityId: string;
39142
+ contactId: string | null;
39141
39143
  caseId: number;
39142
39144
  entityName: string;
39143
- contactId: string | null;
39144
39145
  queueId: string | null;
39145
39146
  agentId: string | null;
39146
39147
  startedDate: Date | null;
@@ -39159,9 +39160,9 @@ export declare const mainChatContract: {
39159
39160
  updatedAt: Date;
39160
39161
  deletedAt: Date | null;
39161
39162
  }[];
39162
- note: string | null;
39163
39163
  callFrom: string | null;
39164
39164
  callTo: string | null;
39165
+ note: string | null;
39165
39166
  } | null;
39166
39167
  }>;
39167
39168
  description: z.ZodNullable<z.ZodString>;
@@ -39391,9 +39392,9 @@ export declare const mainChatContract: {
39391
39392
  updatedAt: Date;
39392
39393
  deletedAt: Date | null;
39393
39394
  entityId: string;
39395
+ contactId: string | null;
39394
39396
  caseId: number;
39395
39397
  entityName: string;
39396
- contactId: string | null;
39397
39398
  queueId: string | null;
39398
39399
  agentId: string | null;
39399
39400
  startedDate: Date | null;
@@ -39412,9 +39413,9 @@ export declare const mainChatContract: {
39412
39413
  updatedAt: Date;
39413
39414
  deletedAt: Date | null;
39414
39415
  }[];
39415
- note: string | null;
39416
39416
  callFrom: string | null;
39417
39417
  callTo: string | null;
39418
+ note: string | null;
39418
39419
  } | null;
39419
39420
  };
39420
39421
  channel?: {
@@ -39706,9 +39707,9 @@ export declare const mainChatContract: {
39706
39707
  updatedAt: Date;
39707
39708
  deletedAt: Date | null;
39708
39709
  entityId: string;
39710
+ contactId: string | null;
39709
39711
  caseId: number;
39710
39712
  entityName: string;
39711
- contactId: string | null;
39712
39713
  queueId: string | null;
39713
39714
  agentId: string | null;
39714
39715
  startedDate: Date | null;
@@ -39727,9 +39728,9 @@ export declare const mainChatContract: {
39727
39728
  updatedAt: Date;
39728
39729
  deletedAt: Date | null;
39729
39730
  }[];
39730
- note: string | null;
39731
39731
  callFrom: string | null;
39732
39732
  callTo: string | null;
39733
+ note: string | null;
39733
39734
  } | null;
39734
39735
  };
39735
39736
  channel?: {
@@ -40023,9 +40024,9 @@ export declare const mainChatContract: {
40023
40024
  updatedAt: Date;
40024
40025
  deletedAt: Date | null;
40025
40026
  entityId: string;
40027
+ contactId: string | null;
40026
40028
  caseId: number;
40027
40029
  entityName: string;
40028
- contactId: string | null;
40029
40030
  queueId: string | null;
40030
40031
  agentId: string | null;
40031
40032
  startedDate: Date | null;
@@ -40044,9 +40045,9 @@ export declare const mainChatContract: {
40044
40045
  updatedAt: Date;
40045
40046
  deletedAt: Date | null;
40046
40047
  }[];
40047
- note: string | null;
40048
40048
  callFrom: string | null;
40049
40049
  callTo: string | null;
40050
+ note: string | null;
40050
40051
  } | null;
40051
40052
  };
40052
40053
  channel?: {
@@ -40341,9 +40342,9 @@ export declare const mainChatContract: {
40341
40342
  updatedAt: Date;
40342
40343
  deletedAt: Date | null;
40343
40344
  entityId: string;
40345
+ contactId: string | null;
40344
40346
  caseId: number;
40345
40347
  entityName: string;
40346
- contactId: string | null;
40347
40348
  queueId: string | null;
40348
40349
  agentId: string | null;
40349
40350
  startedDate: Date | null;
@@ -40362,9 +40363,9 @@ export declare const mainChatContract: {
40362
40363
  updatedAt: Date;
40363
40364
  deletedAt: Date | null;
40364
40365
  }[];
40365
- note: string | null;
40366
40366
  callFrom: string | null;
40367
40367
  callTo: string | null;
40368
+ note: string | null;
40368
40369
  } | null;
40369
40370
  };
40370
40371
  channel?: {
@@ -42287,9 +42288,9 @@ export declare const mainChatContract: {
42287
42288
  updatedAt: Date;
42288
42289
  deletedAt: Date | null;
42289
42290
  }[];
42290
- note: string | null;
42291
42291
  callFrom: string | null;
42292
42292
  callTo: string | null;
42293
+ note: string | null;
42293
42294
  }, {
42294
42295
  id: string;
42295
42296
  disposition: string | null;
@@ -42303,9 +42304,9 @@ export declare const mainChatContract: {
42303
42304
  updatedAt: Date;
42304
42305
  deletedAt: Date | null;
42305
42306
  }[];
42306
- note: string | null;
42307
42307
  callFrom: string | null;
42308
42308
  callTo: string | null;
42309
+ note: string | null;
42309
42310
  }>>;
42310
42311
  }, "strip", z.ZodTypeAny, {
42311
42312
  id: string;
@@ -42316,9 +42317,9 @@ export declare const mainChatContract: {
42316
42317
  updatedAt: Date;
42317
42318
  deletedAt: Date | null;
42318
42319
  entityId: string;
42320
+ contactId: string | null;
42319
42321
  caseId: number;
42320
42322
  entityName: string;
42321
- contactId: string | null;
42322
42323
  queueId: string | null;
42323
42324
  agentId: string | null;
42324
42325
  startedDate: Date | null;
@@ -42337,9 +42338,9 @@ export declare const mainChatContract: {
42337
42338
  updatedAt: Date;
42338
42339
  deletedAt: Date | null;
42339
42340
  }[];
42340
- note: string | null;
42341
42341
  callFrom: string | null;
42342
42342
  callTo: string | null;
42343
+ note: string | null;
42343
42344
  } | null;
42344
42345
  }, {
42345
42346
  id: string;
@@ -42350,9 +42351,9 @@ export declare const mainChatContract: {
42350
42351
  updatedAt: Date;
42351
42352
  deletedAt: Date | null;
42352
42353
  entityId: string;
42354
+ contactId: string | null;
42353
42355
  caseId: number;
42354
42356
  entityName: string;
42355
- contactId: string | null;
42356
42357
  queueId: string | null;
42357
42358
  agentId: string | null;
42358
42359
  startedDate: Date | null;
@@ -42371,9 +42372,9 @@ export declare const mainChatContract: {
42371
42372
  updatedAt: Date;
42372
42373
  deletedAt: Date | null;
42373
42374
  }[];
42374
- note: string | null;
42375
42375
  callFrom: string | null;
42376
42376
  callTo: string | null;
42377
+ note: string | null;
42377
42378
  } | null;
42378
42379
  }>;
42379
42380
  }, "strip", z.ZodTypeAny, {
@@ -42601,9 +42602,9 @@ export declare const mainChatContract: {
42601
42602
  updatedAt: Date;
42602
42603
  deletedAt: Date | null;
42603
42604
  entityId: string;
42605
+ contactId: string | null;
42604
42606
  caseId: number;
42605
42607
  entityName: string;
42606
- contactId: string | null;
42607
42608
  queueId: string | null;
42608
42609
  agentId: string | null;
42609
42610
  startedDate: Date | null;
@@ -42622,9 +42623,9 @@ export declare const mainChatContract: {
42622
42623
  updatedAt: Date;
42623
42624
  deletedAt: Date | null;
42624
42625
  }[];
42625
- note: string | null;
42626
42626
  callFrom: string | null;
42627
42627
  callTo: string | null;
42628
+ note: string | null;
42628
42629
  } | null;
42629
42630
  };
42630
42631
  channel?: {
@@ -42915,9 +42916,9 @@ export declare const mainChatContract: {
42915
42916
  updatedAt: Date;
42916
42917
  deletedAt: Date | null;
42917
42918
  entityId: string;
42919
+ contactId: string | null;
42918
42920
  caseId: number;
42919
42921
  entityName: string;
42920
- contactId: string | null;
42921
42922
  queueId: string | null;
42922
42923
  agentId: string | null;
42923
42924
  startedDate: Date | null;
@@ -42936,9 +42937,9 @@ export declare const mainChatContract: {
42936
42937
  updatedAt: Date;
42937
42938
  deletedAt: Date | null;
42938
42939
  }[];
42939
- note: string | null;
42940
42940
  callFrom: string | null;
42941
42941
  callTo: string | null;
42942
+ note: string | null;
42942
42943
  } | null;
42943
42944
  };
42944
42945
  channel?: {
@@ -43231,9 +43232,9 @@ export declare const mainChatContract: {
43231
43232
  updatedAt: Date;
43232
43233
  deletedAt: Date | null;
43233
43234
  entityId: string;
43235
+ contactId: string | null;
43234
43236
  caseId: number;
43235
43237
  entityName: string;
43236
- contactId: string | null;
43237
43238
  queueId: string | null;
43238
43239
  agentId: string | null;
43239
43240
  startedDate: Date | null;
@@ -43252,9 +43253,9 @@ export declare const mainChatContract: {
43252
43253
  updatedAt: Date;
43253
43254
  deletedAt: Date | null;
43254
43255
  }[];
43255
- note: string | null;
43256
43256
  callFrom: string | null;
43257
43257
  callTo: string | null;
43258
+ note: string | null;
43258
43259
  } | null;
43259
43260
  };
43260
43261
  channel?: {
@@ -43551,9 +43552,9 @@ export declare const mainChatContract: {
43551
43552
  updatedAt: Date;
43552
43553
  deletedAt: Date | null;
43553
43554
  entityId: string;
43555
+ contactId: string | null;
43554
43556
  caseId: number;
43555
43557
  entityName: string;
43556
- contactId: string | null;
43557
43558
  queueId: string | null;
43558
43559
  agentId: string | null;
43559
43560
  startedDate: Date | null;
@@ -43572,9 +43573,9 @@ export declare const mainChatContract: {
43572
43573
  updatedAt: Date;
43573
43574
  deletedAt: Date | null;
43574
43575
  }[];
43575
- note: string | null;
43576
43576
  callFrom: string | null;
43577
43577
  callTo: string | null;
43578
+ note: string | null;
43578
43579
  } | null;
43579
43580
  };
43580
43581
  channel?: {