@kl1/contracts 1.0.20 → 1.0.21

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 (42) hide show
  1. package/dist/index.js +1358 -1301
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1355 -1301
  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 +323 -2300
  8. package/dist/src/chat/index.d.ts.map +1 -1
  9. package/dist/src/chat/schema.d.ts +48 -352
  10. package/dist/src/chat/schema.d.ts.map +1 -1
  11. package/dist/src/chat/validation.d.ts +253 -514
  12. package/dist/src/chat/validation.d.ts.map +1 -1
  13. package/dist/src/contract.d.ts +6984 -3662
  14. package/dist/src/contract.d.ts.map +1 -1
  15. package/dist/src/cx-log/index.d.ts +5424 -85
  16. package/dist/src/cx-log/index.d.ts.map +1 -1
  17. package/dist/src/cx-log/schema.d.ts +4472 -34
  18. package/dist/src/cx-log/schema.d.ts.map +1 -1
  19. package/dist/src/evaluate-form/schema.d.ts +2 -2
  20. package/dist/src/index.d.ts +3 -0
  21. package/dist/src/index.d.ts.map +1 -1
  22. package/dist/src/mail/mail-contract.d.ts +106 -106
  23. package/dist/src/mail/message-contract.d.ts +6 -6
  24. package/dist/src/mail/room-contract.d.ts +100 -100
  25. package/dist/src/mail/schemas/message.schema.d.ts +4 -4
  26. package/dist/src/mail/schemas/room-validation.schema.d.ts +32 -32
  27. package/dist/src/mail/schemas/room.schema.d.ts +26 -26
  28. package/dist/src/messenger/index.d.ts +218 -257
  29. package/dist/src/messenger/index.d.ts.map +1 -1
  30. package/dist/src/telephony-cdr/schema.d.ts +8 -8
  31. package/dist/src/telephony-cdr/validation.d.ts +4 -4
  32. package/dist/src/telephony-live-queue-call/schema.d.ts +2 -2
  33. package/dist/src/telephony-queue-call-count/schema.d.ts +2 -2
  34. package/dist/src/ticket/index.d.ts +4 -4
  35. package/dist/src/ticket/validation.d.ts +4 -4
  36. package/dist/src/ticket/validation.d.ts.map +1 -1
  37. package/dist/src/user/index.d.ts +2 -0
  38. package/dist/src/user/index.d.ts.map +1 -1
  39. package/dist/src/wrap-up-form/index.d.ts +15 -15
  40. package/dist/src/wrap-up-form/schema.d.ts +2 -2
  41. package/dist/src/wrap-up-form/validation.d.ts +3 -3
  42. 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>;
@@ -1907,76 +1908,14 @@ export declare const mainChatContract: {
1907
1908
  caseId: z.ZodNumber;
1908
1909
  entityId: z.ZodString;
1909
1910
  entityName: z.ZodString;
1910
- contactId: z.ZodNullable<z.ZodString>;
1911
+ channelType: z.ZodNullable<z.ZodString>;
1911
1912
  channel: z.ZodNullable<z.ZodString>;
1912
- queueId: z.ZodNullable<z.ZodString>;
1913
- agentId: z.ZodNullable<z.ZodString>;
1914
1913
  direction: z.ZodNullable<z.ZodString>;
1915
1914
  startedDate: z.ZodNullable<z.ZodDate>;
1916
1915
  handledTime: z.ZodNullable<z.ZodNumber>;
1917
- firstResponseTime: z.ZodNullable<z.ZodNumber>;
1916
+ firstResponseTime: z.ZodNullable<z.ZodString>;
1918
1917
  disposition: z.ZodNullable<z.ZodString>;
1919
- wrapUpForm: z.ZodNullable<z.ZodObject<{
1920
- id: z.ZodString;
1921
- createdAt: z.ZodDate;
1922
- updatedAt: z.ZodDate;
1923
- deletedAt: z.ZodNullable<z.ZodDate>;
1924
- note: z.ZodNullable<z.ZodString>;
1925
- disposition: z.ZodNullable<z.ZodString>;
1926
- callFrom: z.ZodNullable<z.ZodString>;
1927
- callTo: z.ZodNullable<z.ZodString>;
1928
- tags: z.ZodArray<z.ZodObject<{
1929
- id: z.ZodString;
1930
- createdAt: z.ZodDate;
1931
- updatedAt: z.ZodDate;
1932
- deletedAt: z.ZodNullable<z.ZodDate>;
1933
- name: z.ZodString;
1934
- }, "strip", z.ZodTypeAny, {
1935
- id: string;
1936
- name: string;
1937
- createdAt: Date;
1938
- updatedAt: Date;
1939
- deletedAt: Date | null;
1940
- }, {
1941
- id: string;
1942
- name: string;
1943
- createdAt: Date;
1944
- updatedAt: Date;
1945
- deletedAt: Date | null;
1946
- }>, "many">;
1947
- }, "strip", z.ZodTypeAny, {
1948
- id: string;
1949
- disposition: string | null;
1950
- createdAt: Date;
1951
- updatedAt: Date;
1952
- deletedAt: Date | null;
1953
- tags: {
1954
- id: string;
1955
- name: string;
1956
- createdAt: Date;
1957
- updatedAt: Date;
1958
- deletedAt: Date | null;
1959
- }[];
1960
- note: string | null;
1961
- callFrom: string | null;
1962
- callTo: string | null;
1963
- }, {
1964
- id: string;
1965
- disposition: string | null;
1966
- createdAt: Date;
1967
- updatedAt: Date;
1968
- deletedAt: Date | null;
1969
- tags: {
1970
- id: string;
1971
- name: string;
1972
- createdAt: Date;
1973
- updatedAt: Date;
1974
- deletedAt: Date | null;
1975
- }[];
1976
- note: string | null;
1977
- callFrom: string | null;
1978
- callTo: string | null;
1979
- }>>;
1918
+ slaMeet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1980
1919
  }, "strip", z.ZodTypeAny, {
1981
1920
  id: string;
1982
1921
  channel: string | null;
@@ -1988,29 +1927,11 @@ export declare const mainChatContract: {
1988
1927
  entityId: string;
1989
1928
  caseId: number;
1990
1929
  entityName: string;
1991
- contactId: string | null;
1992
- queueId: string | null;
1993
- agentId: string | null;
1930
+ channelType: string | null;
1994
1931
  startedDate: Date | null;
1995
1932
  handledTime: number | null;
1996
- firstResponseTime: number | null;
1997
- wrapUpForm: {
1998
- id: string;
1999
- disposition: string | null;
2000
- createdAt: Date;
2001
- updatedAt: Date;
2002
- deletedAt: Date | null;
2003
- tags: {
2004
- id: string;
2005
- name: string;
2006
- createdAt: Date;
2007
- updatedAt: Date;
2008
- deletedAt: Date | null;
2009
- }[];
2010
- note: string | null;
2011
- callFrom: string | null;
2012
- callTo: string | null;
2013
- } | null;
1933
+ firstResponseTime: string | null;
1934
+ slaMeet?: string | null | undefined;
2014
1935
  }, {
2015
1936
  id: string;
2016
1937
  channel: string | null;
@@ -2022,29 +1943,11 @@ export declare const mainChatContract: {
2022
1943
  entityId: string;
2023
1944
  caseId: number;
2024
1945
  entityName: string;
2025
- contactId: string | null;
2026
- queueId: string | null;
2027
- agentId: string | null;
1946
+ channelType: string | null;
2028
1947
  startedDate: Date | null;
2029
1948
  handledTime: number | null;
2030
- firstResponseTime: number | null;
2031
- wrapUpForm: {
2032
- id: string;
2033
- disposition: string | null;
2034
- createdAt: Date;
2035
- updatedAt: Date;
2036
- deletedAt: Date | null;
2037
- tags: {
2038
- id: string;
2039
- name: string;
2040
- createdAt: Date;
2041
- updatedAt: Date;
2042
- deletedAt: Date | null;
2043
- }[];
2044
- note: string | null;
2045
- callFrom: string | null;
2046
- callTo: string | null;
2047
- } | null;
1949
+ firstResponseTime: string | null;
1950
+ slaMeet?: string | null | undefined;
2048
1951
  }>;
2049
1952
  }, "strip", z.ZodTypeAny, {
2050
1953
  id: string;
@@ -2273,29 +2176,11 @@ export declare const mainChatContract: {
2273
2176
  entityId: string;
2274
2177
  caseId: number;
2275
2178
  entityName: string;
2276
- contactId: string | null;
2277
- queueId: string | null;
2278
- agentId: string | null;
2179
+ channelType: string | null;
2279
2180
  startedDate: Date | null;
2280
2181
  handledTime: number | null;
2281
- firstResponseTime: number | null;
2282
- wrapUpForm: {
2283
- id: string;
2284
- disposition: string | null;
2285
- createdAt: Date;
2286
- updatedAt: Date;
2287
- deletedAt: Date | null;
2288
- tags: {
2289
- id: string;
2290
- name: string;
2291
- createdAt: Date;
2292
- updatedAt: Date;
2293
- deletedAt: Date | null;
2294
- }[];
2295
- note: string | null;
2296
- callFrom: string | null;
2297
- callTo: string | null;
2298
- } | null;
2182
+ firstResponseTime: string | null;
2183
+ slaMeet?: string | null | undefined;
2299
2184
  };
2300
2185
  channel?: {
2301
2186
  id?: string | undefined;
@@ -2587,29 +2472,11 @@ export declare const mainChatContract: {
2587
2472
  entityId: string;
2588
2473
  caseId: number;
2589
2474
  entityName: string;
2590
- contactId: string | null;
2591
- queueId: string | null;
2592
- agentId: string | null;
2475
+ channelType: string | null;
2593
2476
  startedDate: Date | null;
2594
2477
  handledTime: number | null;
2595
- firstResponseTime: number | null;
2596
- wrapUpForm: {
2597
- id: string;
2598
- disposition: string | null;
2599
- createdAt: Date;
2600
- updatedAt: Date;
2601
- deletedAt: Date | null;
2602
- tags: {
2603
- id: string;
2604
- name: string;
2605
- createdAt: Date;
2606
- updatedAt: Date;
2607
- deletedAt: Date | null;
2608
- }[];
2609
- note: string | null;
2610
- callFrom: string | null;
2611
- callTo: string | null;
2612
- } | null;
2478
+ firstResponseTime: string | null;
2479
+ slaMeet?: string | null | undefined;
2613
2480
  };
2614
2481
  channel?: {
2615
2482
  id?: string | undefined;
@@ -2913,29 +2780,11 @@ export declare const mainChatContract: {
2913
2780
  entityId: string;
2914
2781
  caseId: number;
2915
2782
  entityName: string;
2916
- contactId: string | null;
2917
- queueId: string | null;
2918
- agentId: string | null;
2783
+ channelType: string | null;
2919
2784
  startedDate: Date | null;
2920
2785
  handledTime: number | null;
2921
- firstResponseTime: number | null;
2922
- wrapUpForm: {
2923
- id: string;
2924
- disposition: string | null;
2925
- createdAt: Date;
2926
- updatedAt: Date;
2927
- deletedAt: Date | null;
2928
- tags: {
2929
- id: string;
2930
- name: string;
2931
- createdAt: Date;
2932
- updatedAt: Date;
2933
- deletedAt: Date | null;
2934
- }[];
2935
- note: string | null;
2936
- callFrom: string | null;
2937
- callTo: string | null;
2938
- } | null;
2786
+ firstResponseTime: string | null;
2787
+ slaMeet?: string | null | undefined;
2939
2788
  };
2940
2789
  channel?: {
2941
2790
  id?: string | undefined;
@@ -3237,29 +3086,11 @@ export declare const mainChatContract: {
3237
3086
  entityId: string;
3238
3087
  caseId: number;
3239
3088
  entityName: string;
3240
- contactId: string | null;
3241
- queueId: string | null;
3242
- agentId: string | null;
3089
+ channelType: string | null;
3243
3090
  startedDate: Date | null;
3244
3091
  handledTime: number | null;
3245
- firstResponseTime: number | null;
3246
- wrapUpForm: {
3247
- id: string;
3248
- disposition: string | null;
3249
- createdAt: Date;
3250
- updatedAt: Date;
3251
- deletedAt: Date | null;
3252
- tags: {
3253
- id: string;
3254
- name: string;
3255
- createdAt: Date;
3256
- updatedAt: Date;
3257
- deletedAt: Date | null;
3258
- }[];
3259
- note: string | null;
3260
- callFrom: string | null;
3261
- callTo: string | null;
3262
- } | null;
3092
+ firstResponseTime: string | null;
3093
+ slaMeet?: string | null | undefined;
3263
3094
  };
3264
3095
  channel?: {
3265
3096
  id?: string | undefined;
@@ -6150,76 +5981,14 @@ export declare const mainChatContract: {
6150
5981
  caseId: z.ZodNumber;
6151
5982
  entityId: z.ZodString;
6152
5983
  entityName: z.ZodString;
6153
- contactId: z.ZodNullable<z.ZodString>;
5984
+ channelType: z.ZodNullable<z.ZodString>;
6154
5985
  channel: z.ZodNullable<z.ZodString>;
6155
- queueId: z.ZodNullable<z.ZodString>;
6156
- agentId: z.ZodNullable<z.ZodString>;
6157
5986
  direction: z.ZodNullable<z.ZodString>;
6158
5987
  startedDate: z.ZodNullable<z.ZodDate>;
6159
5988
  handledTime: z.ZodNullable<z.ZodNumber>;
6160
- firstResponseTime: z.ZodNullable<z.ZodNumber>;
5989
+ firstResponseTime: z.ZodNullable<z.ZodString>;
6161
5990
  disposition: z.ZodNullable<z.ZodString>;
6162
- wrapUpForm: z.ZodNullable<z.ZodObject<{
6163
- id: z.ZodString;
6164
- createdAt: z.ZodDate;
6165
- updatedAt: z.ZodDate;
6166
- deletedAt: z.ZodNullable<z.ZodDate>;
6167
- note: z.ZodNullable<z.ZodString>;
6168
- disposition: z.ZodNullable<z.ZodString>;
6169
- callFrom: z.ZodNullable<z.ZodString>;
6170
- callTo: z.ZodNullable<z.ZodString>;
6171
- tags: z.ZodArray<z.ZodObject<{
6172
- id: z.ZodString;
6173
- createdAt: z.ZodDate;
6174
- updatedAt: z.ZodDate;
6175
- deletedAt: z.ZodNullable<z.ZodDate>;
6176
- name: z.ZodString;
6177
- }, "strip", z.ZodTypeAny, {
6178
- id: string;
6179
- name: string;
6180
- createdAt: Date;
6181
- updatedAt: Date;
6182
- deletedAt: Date | null;
6183
- }, {
6184
- id: string;
6185
- name: string;
6186
- createdAt: Date;
6187
- updatedAt: Date;
6188
- deletedAt: Date | null;
6189
- }>, "many">;
6190
- }, "strip", z.ZodTypeAny, {
6191
- id: string;
6192
- disposition: string | null;
6193
- createdAt: Date;
6194
- updatedAt: Date;
6195
- deletedAt: Date | null;
6196
- tags: {
6197
- id: string;
6198
- name: string;
6199
- createdAt: Date;
6200
- updatedAt: Date;
6201
- deletedAt: Date | null;
6202
- }[];
6203
- note: string | null;
6204
- callFrom: string | null;
6205
- callTo: string | null;
6206
- }, {
6207
- id: string;
6208
- disposition: string | null;
6209
- createdAt: Date;
6210
- updatedAt: Date;
6211
- deletedAt: Date | null;
6212
- tags: {
6213
- id: string;
6214
- name: string;
6215
- createdAt: Date;
6216
- updatedAt: Date;
6217
- deletedAt: Date | null;
6218
- }[];
6219
- note: string | null;
6220
- callFrom: string | null;
6221
- callTo: string | null;
6222
- }>>;
5991
+ slaMeet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6223
5992
  }, "strip", z.ZodTypeAny, {
6224
5993
  id: string;
6225
5994
  channel: string | null;
@@ -6231,29 +6000,11 @@ export declare const mainChatContract: {
6231
6000
  entityId: string;
6232
6001
  caseId: number;
6233
6002
  entityName: string;
6234
- contactId: string | null;
6235
- queueId: string | null;
6236
- agentId: string | null;
6003
+ channelType: string | null;
6237
6004
  startedDate: Date | null;
6238
6005
  handledTime: number | null;
6239
- firstResponseTime: number | null;
6240
- wrapUpForm: {
6241
- id: string;
6242
- disposition: string | null;
6243
- createdAt: Date;
6244
- updatedAt: Date;
6245
- deletedAt: Date | null;
6246
- tags: {
6247
- id: string;
6248
- name: string;
6249
- createdAt: Date;
6250
- updatedAt: Date;
6251
- deletedAt: Date | null;
6252
- }[];
6253
- note: string | null;
6254
- callFrom: string | null;
6255
- callTo: string | null;
6256
- } | null;
6006
+ firstResponseTime: string | null;
6007
+ slaMeet?: string | null | undefined;
6257
6008
  }, {
6258
6009
  id: string;
6259
6010
  channel: string | null;
@@ -6265,29 +6016,11 @@ export declare const mainChatContract: {
6265
6016
  entityId: string;
6266
6017
  caseId: number;
6267
6018
  entityName: string;
6268
- contactId: string | null;
6269
- queueId: string | null;
6270
- agentId: string | null;
6019
+ channelType: string | null;
6271
6020
  startedDate: Date | null;
6272
6021
  handledTime: number | null;
6273
- firstResponseTime: number | null;
6274
- wrapUpForm: {
6275
- id: string;
6276
- disposition: string | null;
6277
- createdAt: Date;
6278
- updatedAt: Date;
6279
- deletedAt: Date | null;
6280
- tags: {
6281
- id: string;
6282
- name: string;
6283
- createdAt: Date;
6284
- updatedAt: Date;
6285
- deletedAt: Date | null;
6286
- }[];
6287
- note: string | null;
6288
- callFrom: string | null;
6289
- callTo: string | null;
6290
- } | null;
6022
+ firstResponseTime: string | null;
6023
+ slaMeet?: string | null | undefined;
6291
6024
  }>;
6292
6025
  }, "strip", z.ZodTypeAny, {
6293
6026
  id: string;
@@ -6516,29 +6249,11 @@ export declare const mainChatContract: {
6516
6249
  entityId: string;
6517
6250
  caseId: number;
6518
6251
  entityName: string;
6519
- contactId: string | null;
6520
- queueId: string | null;
6521
- agentId: string | null;
6252
+ channelType: string | null;
6522
6253
  startedDate: Date | null;
6523
6254
  handledTime: number | null;
6524
- firstResponseTime: number | null;
6525
- wrapUpForm: {
6526
- id: string;
6527
- disposition: string | null;
6528
- createdAt: Date;
6529
- updatedAt: Date;
6530
- deletedAt: Date | null;
6531
- tags: {
6532
- id: string;
6533
- name: string;
6534
- createdAt: Date;
6535
- updatedAt: Date;
6536
- deletedAt: Date | null;
6537
- }[];
6538
- note: string | null;
6539
- callFrom: string | null;
6540
- callTo: string | null;
6541
- } | null;
6255
+ firstResponseTime: string | null;
6256
+ slaMeet?: string | null | undefined;
6542
6257
  };
6543
6258
  channel?: {
6544
6259
  id?: string | undefined;
@@ -6830,29 +6545,11 @@ export declare const mainChatContract: {
6830
6545
  entityId: string;
6831
6546
  caseId: number;
6832
6547
  entityName: string;
6833
- contactId: string | null;
6834
- queueId: string | null;
6835
- agentId: string | null;
6548
+ channelType: string | null;
6836
6549
  startedDate: Date | null;
6837
6550
  handledTime: number | null;
6838
- firstResponseTime: number | null;
6839
- wrapUpForm: {
6840
- id: string;
6841
- disposition: string | null;
6842
- createdAt: Date;
6843
- updatedAt: Date;
6844
- deletedAt: Date | null;
6845
- tags: {
6846
- id: string;
6847
- name: string;
6848
- createdAt: Date;
6849
- updatedAt: Date;
6850
- deletedAt: Date | null;
6851
- }[];
6852
- note: string | null;
6853
- callFrom: string | null;
6854
- callTo: string | null;
6855
- } | null;
6551
+ firstResponseTime: string | null;
6552
+ slaMeet?: string | null | undefined;
6856
6553
  };
6857
6554
  channel?: {
6858
6555
  id?: string | undefined;
@@ -7146,29 +6843,11 @@ export declare const mainChatContract: {
7146
6843
  entityId: string;
7147
6844
  caseId: number;
7148
6845
  entityName: string;
7149
- contactId: string | null;
7150
- queueId: string | null;
7151
- agentId: string | null;
6846
+ channelType: string | null;
7152
6847
  startedDate: Date | null;
7153
6848
  handledTime: number | null;
7154
- firstResponseTime: number | null;
7155
- wrapUpForm: {
7156
- id: string;
7157
- disposition: string | null;
7158
- createdAt: Date;
7159
- updatedAt: Date;
7160
- deletedAt: Date | null;
7161
- tags: {
7162
- id: string;
7163
- name: string;
7164
- createdAt: Date;
7165
- updatedAt: Date;
7166
- deletedAt: Date | null;
7167
- }[];
7168
- note: string | null;
7169
- callFrom: string | null;
7170
- callTo: string | null;
7171
- } | null;
6849
+ firstResponseTime: string | null;
6850
+ slaMeet?: string | null | undefined;
7172
6851
  };
7173
6852
  channel?: {
7174
6853
  id?: string | undefined;
@@ -7463,29 +7142,11 @@ export declare const mainChatContract: {
7463
7142
  entityId: string;
7464
7143
  caseId: number;
7465
7144
  entityName: string;
7466
- contactId: string | null;
7467
- queueId: string | null;
7468
- agentId: string | null;
7145
+ channelType: string | null;
7469
7146
  startedDate: Date | null;
7470
7147
  handledTime: number | null;
7471
- firstResponseTime: number | null;
7472
- wrapUpForm: {
7473
- id: string;
7474
- disposition: string | null;
7475
- createdAt: Date;
7476
- updatedAt: Date;
7477
- deletedAt: Date | null;
7478
- tags: {
7479
- id: string;
7480
- name: string;
7481
- createdAt: Date;
7482
- updatedAt: Date;
7483
- deletedAt: Date | null;
7484
- }[];
7485
- note: string | null;
7486
- callFrom: string | null;
7487
- callTo: string | null;
7488
- } | null;
7148
+ firstResponseTime: string | null;
7149
+ slaMeet?: string | null | undefined;
7489
7150
  };
7490
7151
  channel?: {
7491
7152
  id?: string | undefined;
@@ -9706,76 +9367,14 @@ export declare const mainChatContract: {
9706
9367
  caseId: z.ZodNumber;
9707
9368
  entityId: z.ZodString;
9708
9369
  entityName: z.ZodString;
9709
- contactId: z.ZodNullable<z.ZodString>;
9370
+ channelType: z.ZodNullable<z.ZodString>;
9710
9371
  channel: z.ZodNullable<z.ZodString>;
9711
- queueId: z.ZodNullable<z.ZodString>;
9712
- agentId: z.ZodNullable<z.ZodString>;
9713
9372
  direction: z.ZodNullable<z.ZodString>;
9714
9373
  startedDate: z.ZodNullable<z.ZodDate>;
9715
9374
  handledTime: z.ZodNullable<z.ZodNumber>;
9716
- firstResponseTime: z.ZodNullable<z.ZodNumber>;
9375
+ firstResponseTime: z.ZodNullable<z.ZodString>;
9717
9376
  disposition: z.ZodNullable<z.ZodString>;
9718
- wrapUpForm: z.ZodNullable<z.ZodObject<{
9719
- id: z.ZodString;
9720
- createdAt: z.ZodDate;
9721
- updatedAt: z.ZodDate;
9722
- deletedAt: z.ZodNullable<z.ZodDate>;
9723
- note: z.ZodNullable<z.ZodString>;
9724
- disposition: z.ZodNullable<z.ZodString>;
9725
- callFrom: z.ZodNullable<z.ZodString>;
9726
- callTo: z.ZodNullable<z.ZodString>;
9727
- tags: z.ZodArray<z.ZodObject<{
9728
- id: z.ZodString;
9729
- createdAt: z.ZodDate;
9730
- updatedAt: z.ZodDate;
9731
- deletedAt: z.ZodNullable<z.ZodDate>;
9732
- name: z.ZodString;
9733
- }, "strip", z.ZodTypeAny, {
9734
- id: string;
9735
- name: string;
9736
- createdAt: Date;
9737
- updatedAt: Date;
9738
- deletedAt: Date | null;
9739
- }, {
9740
- id: string;
9741
- name: string;
9742
- createdAt: Date;
9743
- updatedAt: Date;
9744
- deletedAt: Date | null;
9745
- }>, "many">;
9746
- }, "strip", z.ZodTypeAny, {
9747
- id: string;
9748
- disposition: string | null;
9749
- createdAt: Date;
9750
- updatedAt: Date;
9751
- deletedAt: Date | null;
9752
- tags: {
9753
- id: string;
9754
- name: string;
9755
- createdAt: Date;
9756
- updatedAt: Date;
9757
- deletedAt: Date | null;
9758
- }[];
9759
- note: string | null;
9760
- callFrom: string | null;
9761
- callTo: string | null;
9762
- }, {
9763
- id: string;
9764
- disposition: string | null;
9765
- createdAt: Date;
9766
- updatedAt: Date;
9767
- deletedAt: Date | null;
9768
- tags: {
9769
- id: string;
9770
- name: string;
9771
- createdAt: Date;
9772
- updatedAt: Date;
9773
- deletedAt: Date | null;
9774
- }[];
9775
- note: string | null;
9776
- callFrom: string | null;
9777
- callTo: string | null;
9778
- }>>;
9377
+ slaMeet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9779
9378
  }, "strip", z.ZodTypeAny, {
9780
9379
  id: string;
9781
9380
  channel: string | null;
@@ -9787,29 +9386,11 @@ export declare const mainChatContract: {
9787
9386
  entityId: string;
9788
9387
  caseId: number;
9789
9388
  entityName: string;
9790
- contactId: string | null;
9791
- queueId: string | null;
9792
- agentId: string | null;
9389
+ channelType: string | null;
9793
9390
  startedDate: Date | null;
9794
9391
  handledTime: number | null;
9795
- firstResponseTime: number | null;
9796
- wrapUpForm: {
9797
- id: string;
9798
- disposition: string | null;
9799
- createdAt: Date;
9800
- updatedAt: Date;
9801
- deletedAt: Date | null;
9802
- tags: {
9803
- id: string;
9804
- name: string;
9805
- createdAt: Date;
9806
- updatedAt: Date;
9807
- deletedAt: Date | null;
9808
- }[];
9809
- note: string | null;
9810
- callFrom: string | null;
9811
- callTo: string | null;
9812
- } | null;
9392
+ firstResponseTime: string | null;
9393
+ slaMeet?: string | null | undefined;
9813
9394
  }, {
9814
9395
  id: string;
9815
9396
  channel: string | null;
@@ -9821,29 +9402,11 @@ export declare const mainChatContract: {
9821
9402
  entityId: string;
9822
9403
  caseId: number;
9823
9404
  entityName: string;
9824
- contactId: string | null;
9825
- queueId: string | null;
9826
- agentId: string | null;
9405
+ channelType: string | null;
9827
9406
  startedDate: Date | null;
9828
9407
  handledTime: number | null;
9829
- firstResponseTime: number | null;
9830
- wrapUpForm: {
9831
- id: string;
9832
- disposition: string | null;
9833
- createdAt: Date;
9834
- updatedAt: Date;
9835
- deletedAt: Date | null;
9836
- tags: {
9837
- id: string;
9838
- name: string;
9839
- createdAt: Date;
9840
- updatedAt: Date;
9841
- deletedAt: Date | null;
9842
- }[];
9843
- note: string | null;
9844
- callFrom: string | null;
9845
- callTo: string | null;
9846
- } | null;
9408
+ firstResponseTime: string | null;
9409
+ slaMeet?: string | null | undefined;
9847
9410
  }>;
9848
9411
  }, "strip", z.ZodTypeAny, {
9849
9412
  id: string;
@@ -10072,29 +9635,11 @@ export declare const mainChatContract: {
10072
9635
  entityId: string;
10073
9636
  caseId: number;
10074
9637
  entityName: string;
10075
- contactId: string | null;
10076
- queueId: string | null;
10077
- agentId: string | null;
9638
+ channelType: string | null;
10078
9639
  startedDate: Date | null;
10079
9640
  handledTime: number | null;
10080
- firstResponseTime: number | null;
10081
- wrapUpForm: {
10082
- id: string;
10083
- disposition: string | null;
10084
- createdAt: Date;
10085
- updatedAt: Date;
10086
- deletedAt: Date | null;
10087
- tags: {
10088
- id: string;
10089
- name: string;
10090
- createdAt: Date;
10091
- updatedAt: Date;
10092
- deletedAt: Date | null;
10093
- }[];
10094
- note: string | null;
10095
- callFrom: string | null;
10096
- callTo: string | null;
10097
- } | null;
9641
+ firstResponseTime: string | null;
9642
+ slaMeet?: string | null | undefined;
10098
9643
  };
10099
9644
  channel?: {
10100
9645
  id?: string | undefined;
@@ -10386,29 +9931,11 @@ export declare const mainChatContract: {
10386
9931
  entityId: string;
10387
9932
  caseId: number;
10388
9933
  entityName: string;
10389
- contactId: string | null;
10390
- queueId: string | null;
10391
- agentId: string | null;
9934
+ channelType: string | null;
10392
9935
  startedDate: Date | null;
10393
9936
  handledTime: number | null;
10394
- firstResponseTime: number | null;
10395
- wrapUpForm: {
10396
- id: string;
10397
- disposition: string | null;
10398
- createdAt: Date;
10399
- updatedAt: Date;
10400
- deletedAt: Date | null;
10401
- tags: {
10402
- id: string;
10403
- name: string;
10404
- createdAt: Date;
10405
- updatedAt: Date;
10406
- deletedAt: Date | null;
10407
- }[];
10408
- note: string | null;
10409
- callFrom: string | null;
10410
- callTo: string | null;
10411
- } | null;
9937
+ firstResponseTime: string | null;
9938
+ slaMeet?: string | null | undefined;
10412
9939
  };
10413
9940
  channel?: {
10414
9941
  id?: string | undefined;
@@ -11205,12 +10732,6 @@ export declare const mainChatContract: {
11205
10732
  telephonySignature: string | null;
11206
10733
  } | undefined;
11207
10734
  };
11208
- readAt: Date;
11209
- platformMessageId: string;
11210
- replyPlatformMessageId: string;
11211
- locale: "" | "th" | "mm" | "en";
11212
- previewUrl: string;
11213
- imageSetId: string;
11214
10735
  room: {
11215
10736
  id: string;
11216
10737
  direction: "incoming" | "outgoing" | "system";
@@ -11438,29 +10959,11 @@ export declare const mainChatContract: {
11438
10959
  entityId: string;
11439
10960
  caseId: number;
11440
10961
  entityName: string;
11441
- contactId: string | null;
11442
- queueId: string | null;
11443
- agentId: string | null;
10962
+ channelType: string | null;
11444
10963
  startedDate: Date | null;
11445
10964
  handledTime: number | null;
11446
- firstResponseTime: number | null;
11447
- wrapUpForm: {
11448
- id: string;
11449
- disposition: string | null;
11450
- createdAt: Date;
11451
- updatedAt: Date;
11452
- deletedAt: Date | null;
11453
- tags: {
11454
- id: string;
11455
- name: string;
11456
- createdAt: Date;
11457
- updatedAt: Date;
11458
- deletedAt: Date | null;
11459
- }[];
11460
- note: string | null;
11461
- callFrom: string | null;
11462
- callTo: string | null;
11463
- } | null;
10965
+ firstResponseTime: string | null;
10966
+ slaMeet?: string | null | undefined;
11464
10967
  };
11465
10968
  channel?: {
11466
10969
  id?: string | undefined;
@@ -11526,6 +11029,12 @@ export declare const mainChatContract: {
11526
11029
  } | undefined;
11527
11030
  } | undefined;
11528
11031
  };
11032
+ readAt: Date;
11033
+ platformMessageId: string;
11034
+ replyPlatformMessageId: string;
11035
+ locale: "" | "th" | "mm" | "en";
11036
+ previewUrl: string;
11037
+ imageSetId: string;
11529
11038
  sender: {
11530
11039
  id: string;
11531
11040
  address: string | null;
@@ -11677,12 +11186,6 @@ export declare const mainChatContract: {
11677
11186
  telephonySignature: string | null;
11678
11187
  } | undefined;
11679
11188
  };
11680
- readAt: Date;
11681
- platformMessageId: string;
11682
- replyPlatformMessageId: string;
11683
- locale: "" | "th" | "mm" | "en";
11684
- previewUrl: string;
11685
- imageSetId: string;
11686
11189
  room: {
11687
11190
  id: string;
11688
11191
  direction: "incoming" | "outgoing" | "system";
@@ -11910,29 +11413,11 @@ export declare const mainChatContract: {
11910
11413
  entityId: string;
11911
11414
  caseId: number;
11912
11415
  entityName: string;
11913
- contactId: string | null;
11914
- queueId: string | null;
11915
- agentId: string | null;
11416
+ channelType: string | null;
11916
11417
  startedDate: Date | null;
11917
11418
  handledTime: number | null;
11918
- firstResponseTime: number | null;
11919
- wrapUpForm: {
11920
- id: string;
11921
- disposition: string | null;
11922
- createdAt: Date;
11923
- updatedAt: Date;
11924
- deletedAt: Date | null;
11925
- tags: {
11926
- id: string;
11927
- name: string;
11928
- createdAt: Date;
11929
- updatedAt: Date;
11930
- deletedAt: Date | null;
11931
- }[];
11932
- note: string | null;
11933
- callFrom: string | null;
11934
- callTo: string | null;
11935
- } | null;
11419
+ firstResponseTime: string | null;
11420
+ slaMeet?: string | null | undefined;
11936
11421
  };
11937
11422
  channel?: {
11938
11423
  id?: string | undefined;
@@ -11998,6 +11483,12 @@ export declare const mainChatContract: {
11998
11483
  } | undefined;
11999
11484
  } | undefined;
12000
11485
  };
11486
+ readAt: Date;
11487
+ platformMessageId: string;
11488
+ replyPlatformMessageId: string;
11489
+ locale: "" | "th" | "mm" | "en";
11490
+ previewUrl: string;
11491
+ imageSetId: string;
12001
11492
  sender: {
12002
11493
  id: string;
12003
11494
  address: string | null;
@@ -12151,12 +11642,6 @@ export declare const mainChatContract: {
12151
11642
  telephonySignature: string | null;
12152
11643
  } | undefined;
12153
11644
  };
12154
- readAt: Date;
12155
- platformMessageId: string;
12156
- replyPlatformMessageId: string;
12157
- locale: "" | "th" | "mm" | "en";
12158
- previewUrl: string;
12159
- imageSetId: string;
12160
11645
  room: {
12161
11646
  id: string;
12162
11647
  direction: "incoming" | "outgoing" | "system";
@@ -12384,29 +11869,11 @@ export declare const mainChatContract: {
12384
11869
  entityId: string;
12385
11870
  caseId: number;
12386
11871
  entityName: string;
12387
- contactId: string | null;
12388
- queueId: string | null;
12389
- agentId: string | null;
11872
+ channelType: string | null;
12390
11873
  startedDate: Date | null;
12391
11874
  handledTime: number | null;
12392
- firstResponseTime: number | null;
12393
- wrapUpForm: {
12394
- id: string;
12395
- disposition: string | null;
12396
- createdAt: Date;
12397
- updatedAt: Date;
12398
- deletedAt: Date | null;
12399
- tags: {
12400
- id: string;
12401
- name: string;
12402
- createdAt: Date;
12403
- updatedAt: Date;
12404
- deletedAt: Date | null;
12405
- }[];
12406
- note: string | null;
12407
- callFrom: string | null;
12408
- callTo: string | null;
12409
- } | null;
11875
+ firstResponseTime: string | null;
11876
+ slaMeet?: string | null | undefined;
12410
11877
  };
12411
11878
  channel?: {
12412
11879
  id?: string | undefined;
@@ -12472,6 +11939,12 @@ export declare const mainChatContract: {
12472
11939
  } | undefined;
12473
11940
  } | undefined;
12474
11941
  };
11942
+ readAt: Date;
11943
+ platformMessageId: string;
11944
+ replyPlatformMessageId: string;
11945
+ locale: "" | "th" | "mm" | "en";
11946
+ previewUrl: string;
11947
+ imageSetId: string;
12475
11948
  sender: {
12476
11949
  id: string;
12477
11950
  address: string | null;
@@ -12626,12 +12099,6 @@ export declare const mainChatContract: {
12626
12099
  telephonySignature: string | null;
12627
12100
  } | undefined;
12628
12101
  };
12629
- readAt: Date;
12630
- platformMessageId: string;
12631
- replyPlatformMessageId: string;
12632
- locale: "" | "th" | "mm" | "en";
12633
- previewUrl: string;
12634
- imageSetId: string;
12635
12102
  room: {
12636
12103
  id: string;
12637
12104
  direction: "incoming" | "outgoing" | "system";
@@ -12859,29 +12326,11 @@ export declare const mainChatContract: {
12859
12326
  entityId: string;
12860
12327
  caseId: number;
12861
12328
  entityName: string;
12862
- contactId: string | null;
12863
- queueId: string | null;
12864
- agentId: string | null;
12329
+ channelType: string | null;
12865
12330
  startedDate: Date | null;
12866
12331
  handledTime: number | null;
12867
- firstResponseTime: number | null;
12868
- wrapUpForm: {
12869
- id: string;
12870
- disposition: string | null;
12871
- createdAt: Date;
12872
- updatedAt: Date;
12873
- deletedAt: Date | null;
12874
- tags: {
12875
- id: string;
12876
- name: string;
12877
- createdAt: Date;
12878
- updatedAt: Date;
12879
- deletedAt: Date | null;
12880
- }[];
12881
- note: string | null;
12882
- callFrom: string | null;
12883
- callTo: string | null;
12884
- } | null;
12332
+ firstResponseTime: string | null;
12333
+ slaMeet?: string | null | undefined;
12885
12334
  };
12886
12335
  channel?: {
12887
12336
  id?: string | undefined;
@@ -12947,6 +12396,12 @@ export declare const mainChatContract: {
12947
12396
  } | undefined;
12948
12397
  } | undefined;
12949
12398
  };
12399
+ readAt: Date;
12400
+ platformMessageId: string;
12401
+ replyPlatformMessageId: string;
12402
+ locale: "" | "th" | "mm" | "en";
12403
+ previewUrl: string;
12404
+ imageSetId: string;
12950
12405
  sender: {
12951
12406
  id: string;
12952
12407
  address: string | null;
@@ -14807,76 +14262,14 @@ export declare const mainChatContract: {
14807
14262
  caseId: z.ZodNumber;
14808
14263
  entityId: z.ZodString;
14809
14264
  entityName: z.ZodString;
14810
- contactId: z.ZodNullable<z.ZodString>;
14265
+ channelType: z.ZodNullable<z.ZodString>;
14811
14266
  channel: z.ZodNullable<z.ZodString>;
14812
- queueId: z.ZodNullable<z.ZodString>;
14813
- agentId: z.ZodNullable<z.ZodString>;
14814
14267
  direction: z.ZodNullable<z.ZodString>;
14815
14268
  startedDate: z.ZodNullable<z.ZodDate>;
14816
14269
  handledTime: z.ZodNullable<z.ZodNumber>;
14817
- firstResponseTime: z.ZodNullable<z.ZodNumber>;
14270
+ firstResponseTime: z.ZodNullable<z.ZodString>;
14818
14271
  disposition: z.ZodNullable<z.ZodString>;
14819
- wrapUpForm: z.ZodNullable<z.ZodObject<{
14820
- id: z.ZodString;
14821
- createdAt: z.ZodDate;
14822
- updatedAt: z.ZodDate;
14823
- deletedAt: z.ZodNullable<z.ZodDate>;
14824
- note: z.ZodNullable<z.ZodString>;
14825
- disposition: z.ZodNullable<z.ZodString>;
14826
- callFrom: z.ZodNullable<z.ZodString>;
14827
- callTo: z.ZodNullable<z.ZodString>;
14828
- tags: z.ZodArray<z.ZodObject<{
14829
- id: z.ZodString;
14830
- createdAt: z.ZodDate;
14831
- updatedAt: z.ZodDate;
14832
- deletedAt: z.ZodNullable<z.ZodDate>;
14833
- name: z.ZodString;
14834
- }, "strip", z.ZodTypeAny, {
14835
- id: string;
14836
- name: string;
14837
- createdAt: Date;
14838
- updatedAt: Date;
14839
- deletedAt: Date | null;
14840
- }, {
14841
- id: string;
14842
- name: string;
14843
- createdAt: Date;
14844
- updatedAt: Date;
14845
- deletedAt: Date | null;
14846
- }>, "many">;
14847
- }, "strip", z.ZodTypeAny, {
14848
- id: string;
14849
- disposition: string | null;
14850
- createdAt: Date;
14851
- updatedAt: Date;
14852
- deletedAt: Date | null;
14853
- tags: {
14854
- id: string;
14855
- name: string;
14856
- createdAt: Date;
14857
- updatedAt: Date;
14858
- deletedAt: Date | null;
14859
- }[];
14860
- note: string | null;
14861
- callFrom: string | null;
14862
- callTo: string | null;
14863
- }, {
14864
- id: string;
14865
- disposition: string | null;
14866
- createdAt: Date;
14867
- updatedAt: Date;
14868
- deletedAt: Date | null;
14869
- tags: {
14870
- id: string;
14871
- name: string;
14872
- createdAt: Date;
14873
- updatedAt: Date;
14874
- deletedAt: Date | null;
14875
- }[];
14876
- note: string | null;
14877
- callFrom: string | null;
14878
- callTo: string | null;
14879
- }>>;
14272
+ slaMeet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14880
14273
  }, "strip", z.ZodTypeAny, {
14881
14274
  id: string;
14882
14275
  channel: string | null;
@@ -14888,29 +14281,11 @@ export declare const mainChatContract: {
14888
14281
  entityId: string;
14889
14282
  caseId: number;
14890
14283
  entityName: string;
14891
- contactId: string | null;
14892
- queueId: string | null;
14893
- agentId: string | null;
14284
+ channelType: string | null;
14894
14285
  startedDate: Date | null;
14895
14286
  handledTime: number | null;
14896
- firstResponseTime: number | null;
14897
- wrapUpForm: {
14898
- id: string;
14899
- disposition: string | null;
14900
- createdAt: Date;
14901
- updatedAt: Date;
14902
- deletedAt: Date | null;
14903
- tags: {
14904
- id: string;
14905
- name: string;
14906
- createdAt: Date;
14907
- updatedAt: Date;
14908
- deletedAt: Date | null;
14909
- }[];
14910
- note: string | null;
14911
- callFrom: string | null;
14912
- callTo: string | null;
14913
- } | null;
14287
+ firstResponseTime: string | null;
14288
+ slaMeet?: string | null | undefined;
14914
14289
  }, {
14915
14290
  id: string;
14916
14291
  channel: string | null;
@@ -14922,29 +14297,11 @@ export declare const mainChatContract: {
14922
14297
  entityId: string;
14923
14298
  caseId: number;
14924
14299
  entityName: string;
14925
- contactId: string | null;
14926
- queueId: string | null;
14927
- agentId: string | null;
14300
+ channelType: string | null;
14928
14301
  startedDate: Date | null;
14929
14302
  handledTime: number | null;
14930
- firstResponseTime: number | null;
14931
- wrapUpForm: {
14932
- id: string;
14933
- disposition: string | null;
14934
- createdAt: Date;
14935
- updatedAt: Date;
14936
- deletedAt: Date | null;
14937
- tags: {
14938
- id: string;
14939
- name: string;
14940
- createdAt: Date;
14941
- updatedAt: Date;
14942
- deletedAt: Date | null;
14943
- }[];
14944
- note: string | null;
14945
- callFrom: string | null;
14946
- callTo: string | null;
14947
- } | null;
14303
+ firstResponseTime: string | null;
14304
+ slaMeet?: string | null | undefined;
14948
14305
  }>;
14949
14306
  }, "strip", z.ZodTypeAny, {
14950
14307
  id: string;
@@ -15173,29 +14530,11 @@ export declare const mainChatContract: {
15173
14530
  entityId: string;
15174
14531
  caseId: number;
15175
14532
  entityName: string;
15176
- contactId: string | null;
15177
- queueId: string | null;
15178
- agentId: string | null;
14533
+ channelType: string | null;
15179
14534
  startedDate: Date | null;
15180
14535
  handledTime: number | null;
15181
- firstResponseTime: number | null;
15182
- wrapUpForm: {
15183
- id: string;
15184
- disposition: string | null;
15185
- createdAt: Date;
15186
- updatedAt: Date;
15187
- deletedAt: Date | null;
15188
- tags: {
15189
- id: string;
15190
- name: string;
15191
- createdAt: Date;
15192
- updatedAt: Date;
15193
- deletedAt: Date | null;
15194
- }[];
15195
- note: string | null;
15196
- callFrom: string | null;
15197
- callTo: string | null;
15198
- } | null;
14536
+ firstResponseTime: string | null;
14537
+ slaMeet?: string | null | undefined;
15199
14538
  };
15200
14539
  channel?: {
15201
14540
  id?: string | undefined;
@@ -15487,29 +14826,11 @@ export declare const mainChatContract: {
15487
14826
  entityId: string;
15488
14827
  caseId: number;
15489
14828
  entityName: string;
15490
- contactId: string | null;
15491
- queueId: string | null;
15492
- agentId: string | null;
14829
+ channelType: string | null;
15493
14830
  startedDate: Date | null;
15494
14831
  handledTime: number | null;
15495
- firstResponseTime: number | null;
15496
- wrapUpForm: {
15497
- id: string;
15498
- disposition: string | null;
15499
- createdAt: Date;
15500
- updatedAt: Date;
15501
- deletedAt: Date | null;
15502
- tags: {
15503
- id: string;
15504
- name: string;
15505
- createdAt: Date;
15506
- updatedAt: Date;
15507
- deletedAt: Date | null;
15508
- }[];
15509
- note: string | null;
15510
- callFrom: string | null;
15511
- callTo: string | null;
15512
- } | null;
14832
+ firstResponseTime: string | null;
14833
+ slaMeet?: string | null | undefined;
15513
14834
  };
15514
14835
  channel?: {
15515
14836
  id?: string | undefined;
@@ -16306,12 +15627,6 @@ export declare const mainChatContract: {
16306
15627
  telephonySignature: string | null;
16307
15628
  } | undefined;
16308
15629
  };
16309
- readAt: Date;
16310
- platformMessageId: string;
16311
- replyPlatformMessageId: string;
16312
- locale: "" | "th" | "mm" | "en";
16313
- previewUrl: string;
16314
- imageSetId: string;
16315
15630
  room: {
16316
15631
  id: string;
16317
15632
  direction: "incoming" | "outgoing" | "system";
@@ -16539,29 +15854,11 @@ export declare const mainChatContract: {
16539
15854
  entityId: string;
16540
15855
  caseId: number;
16541
15856
  entityName: string;
16542
- contactId: string | null;
16543
- queueId: string | null;
16544
- agentId: string | null;
15857
+ channelType: string | null;
16545
15858
  startedDate: Date | null;
16546
15859
  handledTime: number | null;
16547
- firstResponseTime: number | null;
16548
- wrapUpForm: {
16549
- id: string;
16550
- disposition: string | null;
16551
- createdAt: Date;
16552
- updatedAt: Date;
16553
- deletedAt: Date | null;
16554
- tags: {
16555
- id: string;
16556
- name: string;
16557
- createdAt: Date;
16558
- updatedAt: Date;
16559
- deletedAt: Date | null;
16560
- }[];
16561
- note: string | null;
16562
- callFrom: string | null;
16563
- callTo: string | null;
16564
- } | null;
15860
+ firstResponseTime: string | null;
15861
+ slaMeet?: string | null | undefined;
16565
15862
  };
16566
15863
  channel?: {
16567
15864
  id?: string | undefined;
@@ -16627,6 +15924,12 @@ export declare const mainChatContract: {
16627
15924
  } | undefined;
16628
15925
  } | undefined;
16629
15926
  };
15927
+ readAt: Date;
15928
+ platformMessageId: string;
15929
+ replyPlatformMessageId: string;
15930
+ locale: "" | "th" | "mm" | "en";
15931
+ previewUrl: string;
15932
+ imageSetId: string;
16630
15933
  sender: {
16631
15934
  id: string;
16632
15935
  address: string | null;
@@ -16778,12 +16081,6 @@ export declare const mainChatContract: {
16778
16081
  telephonySignature: string | null;
16779
16082
  } | undefined;
16780
16083
  };
16781
- readAt: Date;
16782
- platformMessageId: string;
16783
- replyPlatformMessageId: string;
16784
- locale: "" | "th" | "mm" | "en";
16785
- previewUrl: string;
16786
- imageSetId: string;
16787
16084
  room: {
16788
16085
  id: string;
16789
16086
  direction: "incoming" | "outgoing" | "system";
@@ -17011,29 +16308,11 @@ export declare const mainChatContract: {
17011
16308
  entityId: string;
17012
16309
  caseId: number;
17013
16310
  entityName: string;
17014
- contactId: string | null;
17015
- queueId: string | null;
17016
- agentId: string | null;
16311
+ channelType: string | null;
17017
16312
  startedDate: Date | null;
17018
16313
  handledTime: number | null;
17019
- firstResponseTime: number | null;
17020
- wrapUpForm: {
17021
- id: string;
17022
- disposition: string | null;
17023
- createdAt: Date;
17024
- updatedAt: Date;
17025
- deletedAt: Date | null;
17026
- tags: {
17027
- id: string;
17028
- name: string;
17029
- createdAt: Date;
17030
- updatedAt: Date;
17031
- deletedAt: Date | null;
17032
- }[];
17033
- note: string | null;
17034
- callFrom: string | null;
17035
- callTo: string | null;
17036
- } | null;
16314
+ firstResponseTime: string | null;
16315
+ slaMeet?: string | null | undefined;
17037
16316
  };
17038
16317
  channel?: {
17039
16318
  id?: string | undefined;
@@ -17099,6 +16378,12 @@ export declare const mainChatContract: {
17099
16378
  } | undefined;
17100
16379
  } | undefined;
17101
16380
  };
16381
+ readAt: Date;
16382
+ platformMessageId: string;
16383
+ replyPlatformMessageId: string;
16384
+ locale: "" | "th" | "mm" | "en";
16385
+ previewUrl: string;
16386
+ imageSetId: string;
17102
16387
  sender: {
17103
16388
  id: string;
17104
16389
  address: string | null;
@@ -17252,12 +16537,6 @@ export declare const mainChatContract: {
17252
16537
  telephonySignature: string | null;
17253
16538
  } | undefined;
17254
16539
  };
17255
- readAt: Date;
17256
- platformMessageId: string;
17257
- replyPlatformMessageId: string;
17258
- locale: "" | "th" | "mm" | "en";
17259
- previewUrl: string;
17260
- imageSetId: string;
17261
16540
  room: {
17262
16541
  id: string;
17263
16542
  direction: "incoming" | "outgoing" | "system";
@@ -17485,29 +16764,11 @@ export declare const mainChatContract: {
17485
16764
  entityId: string;
17486
16765
  caseId: number;
17487
16766
  entityName: string;
17488
- contactId: string | null;
17489
- queueId: string | null;
17490
- agentId: string | null;
16767
+ channelType: string | null;
17491
16768
  startedDate: Date | null;
17492
16769
  handledTime: number | null;
17493
- firstResponseTime: number | null;
17494
- wrapUpForm: {
17495
- id: string;
17496
- disposition: string | null;
17497
- createdAt: Date;
17498
- updatedAt: Date;
17499
- deletedAt: Date | null;
17500
- tags: {
17501
- id: string;
17502
- name: string;
17503
- createdAt: Date;
17504
- updatedAt: Date;
17505
- deletedAt: Date | null;
17506
- }[];
17507
- note: string | null;
17508
- callFrom: string | null;
17509
- callTo: string | null;
17510
- } | null;
16770
+ firstResponseTime: string | null;
16771
+ slaMeet?: string | null | undefined;
17511
16772
  };
17512
16773
  channel?: {
17513
16774
  id?: string | undefined;
@@ -17573,6 +16834,12 @@ export declare const mainChatContract: {
17573
16834
  } | undefined;
17574
16835
  } | undefined;
17575
16836
  };
16837
+ readAt: Date;
16838
+ platformMessageId: string;
16839
+ replyPlatformMessageId: string;
16840
+ locale: "" | "th" | "mm" | "en";
16841
+ previewUrl: string;
16842
+ imageSetId: string;
17576
16843
  sender: {
17577
16844
  id: string;
17578
16845
  address: string | null;
@@ -17726,12 +16993,6 @@ export declare const mainChatContract: {
17726
16993
  telephonySignature: string | null;
17727
16994
  } | undefined;
17728
16995
  };
17729
- readAt: Date;
17730
- platformMessageId: string;
17731
- replyPlatformMessageId: string;
17732
- locale: "" | "th" | "mm" | "en";
17733
- previewUrl: string;
17734
- imageSetId: string;
17735
16996
  room: {
17736
16997
  id: string;
17737
16998
  direction: "incoming" | "outgoing" | "system";
@@ -17959,29 +17220,11 @@ export declare const mainChatContract: {
17959
17220
  entityId: string;
17960
17221
  caseId: number;
17961
17222
  entityName: string;
17962
- contactId: string | null;
17963
- queueId: string | null;
17964
- agentId: string | null;
17223
+ channelType: string | null;
17965
17224
  startedDate: Date | null;
17966
17225
  handledTime: number | null;
17967
- firstResponseTime: number | null;
17968
- wrapUpForm: {
17969
- id: string;
17970
- disposition: string | null;
17971
- createdAt: Date;
17972
- updatedAt: Date;
17973
- deletedAt: Date | null;
17974
- tags: {
17975
- id: string;
17976
- name: string;
17977
- createdAt: Date;
17978
- updatedAt: Date;
17979
- deletedAt: Date | null;
17980
- }[];
17981
- note: string | null;
17982
- callFrom: string | null;
17983
- callTo: string | null;
17984
- } | null;
17226
+ firstResponseTime: string | null;
17227
+ slaMeet?: string | null | undefined;
17985
17228
  };
17986
17229
  channel?: {
17987
17230
  id?: string | undefined;
@@ -18047,6 +17290,12 @@ export declare const mainChatContract: {
18047
17290
  } | undefined;
18048
17291
  } | undefined;
18049
17292
  };
17293
+ readAt: Date;
17294
+ platformMessageId: string;
17295
+ replyPlatformMessageId: string;
17296
+ locale: "" | "th" | "mm" | "en";
17297
+ previewUrl: string;
17298
+ imageSetId: string;
18050
17299
  sender: {
18051
17300
  id: string;
18052
17301
  address: string | null;
@@ -19960,76 +19209,14 @@ export declare const mainChatContract: {
19960
19209
  caseId: z.ZodNumber;
19961
19210
  entityId: z.ZodString;
19962
19211
  entityName: z.ZodString;
19963
- contactId: z.ZodNullable<z.ZodString>;
19212
+ channelType: z.ZodNullable<z.ZodString>;
19964
19213
  channel: z.ZodNullable<z.ZodString>;
19965
- queueId: z.ZodNullable<z.ZodString>;
19966
- agentId: z.ZodNullable<z.ZodString>;
19967
19214
  direction: z.ZodNullable<z.ZodString>;
19968
19215
  startedDate: z.ZodNullable<z.ZodDate>;
19969
19216
  handledTime: z.ZodNullable<z.ZodNumber>;
19970
- firstResponseTime: z.ZodNullable<z.ZodNumber>;
19217
+ firstResponseTime: z.ZodNullable<z.ZodString>;
19971
19218
  disposition: z.ZodNullable<z.ZodString>;
19972
- wrapUpForm: z.ZodNullable<z.ZodObject<{
19973
- id: z.ZodString;
19974
- createdAt: z.ZodDate;
19975
- updatedAt: z.ZodDate;
19976
- deletedAt: z.ZodNullable<z.ZodDate>;
19977
- note: z.ZodNullable<z.ZodString>;
19978
- disposition: z.ZodNullable<z.ZodString>;
19979
- callFrom: z.ZodNullable<z.ZodString>;
19980
- callTo: z.ZodNullable<z.ZodString>;
19981
- tags: z.ZodArray<z.ZodObject<{
19982
- id: z.ZodString;
19983
- createdAt: z.ZodDate;
19984
- updatedAt: z.ZodDate;
19985
- deletedAt: z.ZodNullable<z.ZodDate>;
19986
- name: z.ZodString;
19987
- }, "strip", z.ZodTypeAny, {
19988
- id: string;
19989
- name: string;
19990
- createdAt: Date;
19991
- updatedAt: Date;
19992
- deletedAt: Date | null;
19993
- }, {
19994
- id: string;
19995
- name: string;
19996
- createdAt: Date;
19997
- updatedAt: Date;
19998
- deletedAt: Date | null;
19999
- }>, "many">;
20000
- }, "strip", z.ZodTypeAny, {
20001
- id: string;
20002
- disposition: string | null;
20003
- createdAt: Date;
20004
- updatedAt: Date;
20005
- deletedAt: Date | null;
20006
- tags: {
20007
- id: string;
20008
- name: string;
20009
- createdAt: Date;
20010
- updatedAt: Date;
20011
- deletedAt: Date | null;
20012
- }[];
20013
- note: string | null;
20014
- callFrom: string | null;
20015
- callTo: string | null;
20016
- }, {
20017
- id: string;
20018
- disposition: string | null;
20019
- createdAt: Date;
20020
- updatedAt: Date;
20021
- deletedAt: Date | null;
20022
- tags: {
20023
- id: string;
20024
- name: string;
20025
- createdAt: Date;
20026
- updatedAt: Date;
20027
- deletedAt: Date | null;
20028
- }[];
20029
- note: string | null;
20030
- callFrom: string | null;
20031
- callTo: string | null;
20032
- }>>;
19219
+ slaMeet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20033
19220
  }, "strip", z.ZodTypeAny, {
20034
19221
  id: string;
20035
19222
  channel: string | null;
@@ -20041,29 +19228,11 @@ export declare const mainChatContract: {
20041
19228
  entityId: string;
20042
19229
  caseId: number;
20043
19230
  entityName: string;
20044
- contactId: string | null;
20045
- queueId: string | null;
20046
- agentId: string | null;
19231
+ channelType: string | null;
20047
19232
  startedDate: Date | null;
20048
19233
  handledTime: number | null;
20049
- firstResponseTime: number | null;
20050
- wrapUpForm: {
20051
- id: string;
20052
- disposition: string | null;
20053
- createdAt: Date;
20054
- updatedAt: Date;
20055
- deletedAt: Date | null;
20056
- tags: {
20057
- id: string;
20058
- name: string;
20059
- createdAt: Date;
20060
- updatedAt: Date;
20061
- deletedAt: Date | null;
20062
- }[];
20063
- note: string | null;
20064
- callFrom: string | null;
20065
- callTo: string | null;
20066
- } | null;
19234
+ firstResponseTime: string | null;
19235
+ slaMeet?: string | null | undefined;
20067
19236
  }, {
20068
19237
  id: string;
20069
19238
  channel: string | null;
@@ -20075,29 +19244,11 @@ export declare const mainChatContract: {
20075
19244
  entityId: string;
20076
19245
  caseId: number;
20077
19246
  entityName: string;
20078
- contactId: string | null;
20079
- queueId: string | null;
20080
- agentId: string | null;
19247
+ channelType: string | null;
20081
19248
  startedDate: Date | null;
20082
19249
  handledTime: number | null;
20083
- firstResponseTime: number | null;
20084
- wrapUpForm: {
20085
- id: string;
20086
- disposition: string | null;
20087
- createdAt: Date;
20088
- updatedAt: Date;
20089
- deletedAt: Date | null;
20090
- tags: {
20091
- id: string;
20092
- name: string;
20093
- createdAt: Date;
20094
- updatedAt: Date;
20095
- deletedAt: Date | null;
20096
- }[];
20097
- note: string | null;
20098
- callFrom: string | null;
20099
- callTo: string | null;
20100
- } | null;
19250
+ firstResponseTime: string | null;
19251
+ slaMeet?: string | null | undefined;
20101
19252
  }>;
20102
19253
  }, "strip", z.ZodTypeAny, {
20103
19254
  id: string;
@@ -20326,29 +19477,11 @@ export declare const mainChatContract: {
20326
19477
  entityId: string;
20327
19478
  caseId: number;
20328
19479
  entityName: string;
20329
- contactId: string | null;
20330
- queueId: string | null;
20331
- agentId: string | null;
19480
+ channelType: string | null;
20332
19481
  startedDate: Date | null;
20333
19482
  handledTime: number | null;
20334
- firstResponseTime: number | null;
20335
- wrapUpForm: {
20336
- id: string;
20337
- disposition: string | null;
20338
- createdAt: Date;
20339
- updatedAt: Date;
20340
- deletedAt: Date | null;
20341
- tags: {
20342
- id: string;
20343
- name: string;
20344
- createdAt: Date;
20345
- updatedAt: Date;
20346
- deletedAt: Date | null;
20347
- }[];
20348
- note: string | null;
20349
- callFrom: string | null;
20350
- callTo: string | null;
20351
- } | null;
19483
+ firstResponseTime: string | null;
19484
+ slaMeet?: string | null | undefined;
20352
19485
  };
20353
19486
  channel?: {
20354
19487
  id?: string | undefined;
@@ -20640,29 +19773,11 @@ export declare const mainChatContract: {
20640
19773
  entityId: string;
20641
19774
  caseId: number;
20642
19775
  entityName: string;
20643
- contactId: string | null;
20644
- queueId: string | null;
20645
- agentId: string | null;
19776
+ channelType: string | null;
20646
19777
  startedDate: Date | null;
20647
19778
  handledTime: number | null;
20648
- firstResponseTime: number | null;
20649
- wrapUpForm: {
20650
- id: string;
20651
- disposition: string | null;
20652
- createdAt: Date;
20653
- updatedAt: Date;
20654
- deletedAt: Date | null;
20655
- tags: {
20656
- id: string;
20657
- name: string;
20658
- createdAt: Date;
20659
- updatedAt: Date;
20660
- deletedAt: Date | null;
20661
- }[];
20662
- note: string | null;
20663
- callFrom: string | null;
20664
- callTo: string | null;
20665
- } | null;
19779
+ firstResponseTime: string | null;
19780
+ slaMeet?: string | null | undefined;
20666
19781
  };
20667
19782
  channel?: {
20668
19783
  id?: string | undefined;
@@ -21459,12 +20574,6 @@ export declare const mainChatContract: {
21459
20574
  telephonySignature: string | null;
21460
20575
  } | undefined;
21461
20576
  };
21462
- readAt: Date;
21463
- platformMessageId: string;
21464
- replyPlatformMessageId: string;
21465
- locale: "" | "th" | "mm" | "en";
21466
- previewUrl: string;
21467
- imageSetId: string;
21468
20577
  room: {
21469
20578
  id: string;
21470
20579
  direction: "incoming" | "outgoing" | "system";
@@ -21692,29 +20801,11 @@ export declare const mainChatContract: {
21692
20801
  entityId: string;
21693
20802
  caseId: number;
21694
20803
  entityName: string;
21695
- contactId: string | null;
21696
- queueId: string | null;
21697
- agentId: string | null;
20804
+ channelType: string | null;
21698
20805
  startedDate: Date | null;
21699
20806
  handledTime: number | null;
21700
- firstResponseTime: number | null;
21701
- wrapUpForm: {
21702
- id: string;
21703
- disposition: string | null;
21704
- createdAt: Date;
21705
- updatedAt: Date;
21706
- deletedAt: Date | null;
21707
- tags: {
21708
- id: string;
21709
- name: string;
21710
- createdAt: Date;
21711
- updatedAt: Date;
21712
- deletedAt: Date | null;
21713
- }[];
21714
- note: string | null;
21715
- callFrom: string | null;
21716
- callTo: string | null;
21717
- } | null;
20807
+ firstResponseTime: string | null;
20808
+ slaMeet?: string | null | undefined;
21718
20809
  };
21719
20810
  channel?: {
21720
20811
  id?: string | undefined;
@@ -21780,6 +20871,12 @@ export declare const mainChatContract: {
21780
20871
  } | undefined;
21781
20872
  } | undefined;
21782
20873
  };
20874
+ readAt: Date;
20875
+ platformMessageId: string;
20876
+ replyPlatformMessageId: string;
20877
+ locale: "" | "th" | "mm" | "en";
20878
+ previewUrl: string;
20879
+ imageSetId: string;
21783
20880
  sender: {
21784
20881
  id: string;
21785
20882
  address: string | null;
@@ -21931,12 +21028,6 @@ export declare const mainChatContract: {
21931
21028
  telephonySignature: string | null;
21932
21029
  } | undefined;
21933
21030
  };
21934
- readAt: Date;
21935
- platformMessageId: string;
21936
- replyPlatformMessageId: string;
21937
- locale: "" | "th" | "mm" | "en";
21938
- previewUrl: string;
21939
- imageSetId: string;
21940
21031
  room: {
21941
21032
  id: string;
21942
21033
  direction: "incoming" | "outgoing" | "system";
@@ -22164,29 +21255,11 @@ export declare const mainChatContract: {
22164
21255
  entityId: string;
22165
21256
  caseId: number;
22166
21257
  entityName: string;
22167
- contactId: string | null;
22168
- queueId: string | null;
22169
- agentId: string | null;
21258
+ channelType: string | null;
22170
21259
  startedDate: Date | null;
22171
21260
  handledTime: number | null;
22172
- firstResponseTime: number | null;
22173
- wrapUpForm: {
22174
- id: string;
22175
- disposition: string | null;
22176
- createdAt: Date;
22177
- updatedAt: Date;
22178
- deletedAt: Date | null;
22179
- tags: {
22180
- id: string;
22181
- name: string;
22182
- createdAt: Date;
22183
- updatedAt: Date;
22184
- deletedAt: Date | null;
22185
- }[];
22186
- note: string | null;
22187
- callFrom: string | null;
22188
- callTo: string | null;
22189
- } | null;
21261
+ firstResponseTime: string | null;
21262
+ slaMeet?: string | null | undefined;
22190
21263
  };
22191
21264
  channel?: {
22192
21265
  id?: string | undefined;
@@ -22252,6 +21325,12 @@ export declare const mainChatContract: {
22252
21325
  } | undefined;
22253
21326
  } | undefined;
22254
21327
  };
21328
+ readAt: Date;
21329
+ platformMessageId: string;
21330
+ replyPlatformMessageId: string;
21331
+ locale: "" | "th" | "mm" | "en";
21332
+ previewUrl: string;
21333
+ imageSetId: string;
22255
21334
  sender: {
22256
21335
  id: string;
22257
21336
  address: string | null;
@@ -22405,12 +21484,6 @@ export declare const mainChatContract: {
22405
21484
  telephonySignature: string | null;
22406
21485
  } | undefined;
22407
21486
  };
22408
- readAt: Date;
22409
- platformMessageId: string;
22410
- replyPlatformMessageId: string;
22411
- locale: "" | "th" | "mm" | "en";
22412
- previewUrl: string;
22413
- imageSetId: string;
22414
21487
  room: {
22415
21488
  id: string;
22416
21489
  direction: "incoming" | "outgoing" | "system";
@@ -22638,29 +21711,11 @@ export declare const mainChatContract: {
22638
21711
  entityId: string;
22639
21712
  caseId: number;
22640
21713
  entityName: string;
22641
- contactId: string | null;
22642
- queueId: string | null;
22643
- agentId: string | null;
21714
+ channelType: string | null;
22644
21715
  startedDate: Date | null;
22645
21716
  handledTime: number | null;
22646
- firstResponseTime: number | null;
22647
- wrapUpForm: {
22648
- id: string;
22649
- disposition: string | null;
22650
- createdAt: Date;
22651
- updatedAt: Date;
22652
- deletedAt: Date | null;
22653
- tags: {
22654
- id: string;
22655
- name: string;
22656
- createdAt: Date;
22657
- updatedAt: Date;
22658
- deletedAt: Date | null;
22659
- }[];
22660
- note: string | null;
22661
- callFrom: string | null;
22662
- callTo: string | null;
22663
- } | null;
21717
+ firstResponseTime: string | null;
21718
+ slaMeet?: string | null | undefined;
22664
21719
  };
22665
21720
  channel?: {
22666
21721
  id?: string | undefined;
@@ -22726,6 +21781,12 @@ export declare const mainChatContract: {
22726
21781
  } | undefined;
22727
21782
  } | undefined;
22728
21783
  };
21784
+ readAt: Date;
21785
+ platformMessageId: string;
21786
+ replyPlatformMessageId: string;
21787
+ locale: "" | "th" | "mm" | "en";
21788
+ previewUrl: string;
21789
+ imageSetId: string;
22729
21790
  sender: {
22730
21791
  id: string;
22731
21792
  address: string | null;
@@ -22883,12 +21944,6 @@ export declare const mainChatContract: {
22883
21944
  telephonySignature: string | null;
22884
21945
  } | undefined;
22885
21946
  };
22886
- readAt: Date;
22887
- platformMessageId: string;
22888
- replyPlatformMessageId: string;
22889
- locale: "" | "th" | "mm" | "en";
22890
- previewUrl: string;
22891
- imageSetId: string;
22892
21947
  room: {
22893
21948
  id: string;
22894
21949
  direction: "incoming" | "outgoing" | "system";
@@ -23116,29 +22171,11 @@ export declare const mainChatContract: {
23116
22171
  entityId: string;
23117
22172
  caseId: number;
23118
22173
  entityName: string;
23119
- contactId: string | null;
23120
- queueId: string | null;
23121
- agentId: string | null;
22174
+ channelType: string | null;
23122
22175
  startedDate: Date | null;
23123
22176
  handledTime: number | null;
23124
- firstResponseTime: number | null;
23125
- wrapUpForm: {
23126
- id: string;
23127
- disposition: string | null;
23128
- createdAt: Date;
23129
- updatedAt: Date;
23130
- deletedAt: Date | null;
23131
- tags: {
23132
- id: string;
23133
- name: string;
23134
- createdAt: Date;
23135
- updatedAt: Date;
23136
- deletedAt: Date | null;
23137
- }[];
23138
- note: string | null;
23139
- callFrom: string | null;
23140
- callTo: string | null;
23141
- } | null;
22177
+ firstResponseTime: string | null;
22178
+ slaMeet?: string | null | undefined;
23142
22179
  };
23143
22180
  channel?: {
23144
22181
  id?: string | undefined;
@@ -23204,6 +22241,12 @@ export declare const mainChatContract: {
23204
22241
  } | undefined;
23205
22242
  } | undefined;
23206
22243
  };
22244
+ readAt: Date;
22245
+ platformMessageId: string;
22246
+ replyPlatformMessageId: string;
22247
+ locale: "" | "th" | "mm" | "en";
22248
+ previewUrl: string;
22249
+ imageSetId: string;
23207
22250
  sender: {
23208
22251
  id: string;
23209
22252
  address: string | null;
@@ -25050,76 +24093,14 @@ export declare const mainChatContract: {
25050
24093
  caseId: z.ZodNumber;
25051
24094
  entityId: z.ZodString;
25052
24095
  entityName: z.ZodString;
25053
- contactId: z.ZodNullable<z.ZodString>;
24096
+ channelType: z.ZodNullable<z.ZodString>;
25054
24097
  channel: z.ZodNullable<z.ZodString>;
25055
- queueId: z.ZodNullable<z.ZodString>;
25056
- agentId: z.ZodNullable<z.ZodString>;
25057
24098
  direction: z.ZodNullable<z.ZodString>;
25058
24099
  startedDate: z.ZodNullable<z.ZodDate>;
25059
24100
  handledTime: z.ZodNullable<z.ZodNumber>;
25060
- firstResponseTime: z.ZodNullable<z.ZodNumber>;
24101
+ firstResponseTime: z.ZodNullable<z.ZodString>;
25061
24102
  disposition: z.ZodNullable<z.ZodString>;
25062
- wrapUpForm: z.ZodNullable<z.ZodObject<{
25063
- id: z.ZodString;
25064
- createdAt: z.ZodDate;
25065
- updatedAt: z.ZodDate;
25066
- deletedAt: z.ZodNullable<z.ZodDate>;
25067
- note: z.ZodNullable<z.ZodString>;
25068
- disposition: z.ZodNullable<z.ZodString>;
25069
- callFrom: z.ZodNullable<z.ZodString>;
25070
- callTo: z.ZodNullable<z.ZodString>;
25071
- tags: z.ZodArray<z.ZodObject<{
25072
- id: z.ZodString;
25073
- createdAt: z.ZodDate;
25074
- updatedAt: z.ZodDate;
25075
- deletedAt: z.ZodNullable<z.ZodDate>;
25076
- name: z.ZodString;
25077
- }, "strip", z.ZodTypeAny, {
25078
- id: string;
25079
- name: string;
25080
- createdAt: Date;
25081
- updatedAt: Date;
25082
- deletedAt: Date | null;
25083
- }, {
25084
- id: string;
25085
- name: string;
25086
- createdAt: Date;
25087
- updatedAt: Date;
25088
- deletedAt: Date | null;
25089
- }>, "many">;
25090
- }, "strip", z.ZodTypeAny, {
25091
- id: string;
25092
- disposition: string | null;
25093
- createdAt: Date;
25094
- updatedAt: Date;
25095
- deletedAt: Date | null;
25096
- tags: {
25097
- id: string;
25098
- name: string;
25099
- createdAt: Date;
25100
- updatedAt: Date;
25101
- deletedAt: Date | null;
25102
- }[];
25103
- note: string | null;
25104
- callFrom: string | null;
25105
- callTo: string | null;
25106
- }, {
25107
- id: string;
25108
- disposition: string | null;
25109
- createdAt: Date;
25110
- updatedAt: Date;
25111
- deletedAt: Date | null;
25112
- tags: {
25113
- id: string;
25114
- name: string;
25115
- createdAt: Date;
25116
- updatedAt: Date;
25117
- deletedAt: Date | null;
25118
- }[];
25119
- note: string | null;
25120
- callFrom: string | null;
25121
- callTo: string | null;
25122
- }>>;
24103
+ slaMeet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25123
24104
  }, "strip", z.ZodTypeAny, {
25124
24105
  id: string;
25125
24106
  channel: string | null;
@@ -25131,29 +24112,11 @@ export declare const mainChatContract: {
25131
24112
  entityId: string;
25132
24113
  caseId: number;
25133
24114
  entityName: string;
25134
- contactId: string | null;
25135
- queueId: string | null;
25136
- agentId: string | null;
24115
+ channelType: string | null;
25137
24116
  startedDate: Date | null;
25138
24117
  handledTime: number | null;
25139
- firstResponseTime: number | null;
25140
- wrapUpForm: {
25141
- id: string;
25142
- disposition: string | null;
25143
- createdAt: Date;
25144
- updatedAt: Date;
25145
- deletedAt: Date | null;
25146
- tags: {
25147
- id: string;
25148
- name: string;
25149
- createdAt: Date;
25150
- updatedAt: Date;
25151
- deletedAt: Date | null;
25152
- }[];
25153
- note: string | null;
25154
- callFrom: string | null;
25155
- callTo: string | null;
25156
- } | null;
24118
+ firstResponseTime: string | null;
24119
+ slaMeet?: string | null | undefined;
25157
24120
  }, {
25158
24121
  id: string;
25159
24122
  channel: string | null;
@@ -25165,29 +24128,11 @@ export declare const mainChatContract: {
25165
24128
  entityId: string;
25166
24129
  caseId: number;
25167
24130
  entityName: string;
25168
- contactId: string | null;
25169
- queueId: string | null;
25170
- agentId: string | null;
24131
+ channelType: string | null;
25171
24132
  startedDate: Date | null;
25172
24133
  handledTime: number | null;
25173
- firstResponseTime: number | null;
25174
- wrapUpForm: {
25175
- id: string;
25176
- disposition: string | null;
25177
- createdAt: Date;
25178
- updatedAt: Date;
25179
- deletedAt: Date | null;
25180
- tags: {
25181
- id: string;
25182
- name: string;
25183
- createdAt: Date;
25184
- updatedAt: Date;
25185
- deletedAt: Date | null;
25186
- }[];
25187
- note: string | null;
25188
- callFrom: string | null;
25189
- callTo: string | null;
25190
- } | null;
24134
+ firstResponseTime: string | null;
24135
+ slaMeet?: string | null | undefined;
25191
24136
  }>;
25192
24137
  solveMessage: z.ZodString;
25193
24138
  }, "strip", z.ZodTypeAny, {
@@ -25417,29 +24362,11 @@ export declare const mainChatContract: {
25417
24362
  entityId: string;
25418
24363
  caseId: number;
25419
24364
  entityName: string;
25420
- contactId: string | null;
25421
- queueId: string | null;
25422
- agentId: string | null;
24365
+ channelType: string | null;
25423
24366
  startedDate: Date | null;
25424
24367
  handledTime: number | null;
25425
- firstResponseTime: number | null;
25426
- wrapUpForm: {
25427
- id: string;
25428
- disposition: string | null;
25429
- createdAt: Date;
25430
- updatedAt: Date;
25431
- deletedAt: Date | null;
25432
- tags: {
25433
- id: string;
25434
- name: string;
25435
- createdAt: Date;
25436
- updatedAt: Date;
25437
- deletedAt: Date | null;
25438
- }[];
25439
- note: string | null;
25440
- callFrom: string | null;
25441
- callTo: string | null;
25442
- } | null;
24368
+ firstResponseTime: string | null;
24369
+ slaMeet?: string | null | undefined;
25443
24370
  };
25444
24371
  solveMessage: string;
25445
24372
  channel?: {
@@ -25732,29 +24659,11 @@ export declare const mainChatContract: {
25732
24659
  entityId: string;
25733
24660
  caseId: number;
25734
24661
  entityName: string;
25735
- contactId: string | null;
25736
- queueId: string | null;
25737
- agentId: string | null;
24662
+ channelType: string | null;
25738
24663
  startedDate: Date | null;
25739
24664
  handledTime: number | null;
25740
- firstResponseTime: number | null;
25741
- wrapUpForm: {
25742
- id: string;
25743
- disposition: string | null;
25744
- createdAt: Date;
25745
- updatedAt: Date;
25746
- deletedAt: Date | null;
25747
- tags: {
25748
- id: string;
25749
- name: string;
25750
- createdAt: Date;
25751
- updatedAt: Date;
25752
- deletedAt: Date | null;
25753
- }[];
25754
- note: string | null;
25755
- callFrom: string | null;
25756
- callTo: string | null;
25757
- } | null;
24665
+ firstResponseTime: string | null;
24666
+ slaMeet?: string | null | undefined;
25758
24667
  };
25759
24668
  solveMessage: string;
25760
24669
  channel?: {
@@ -26049,29 +24958,11 @@ export declare const mainChatContract: {
26049
24958
  entityId: string;
26050
24959
  caseId: number;
26051
24960
  entityName: string;
26052
- contactId: string | null;
26053
- queueId: string | null;
26054
- agentId: string | null;
24961
+ channelType: string | null;
26055
24962
  startedDate: Date | null;
26056
24963
  handledTime: number | null;
26057
- firstResponseTime: number | null;
26058
- wrapUpForm: {
26059
- id: string;
26060
- disposition: string | null;
26061
- createdAt: Date;
26062
- updatedAt: Date;
26063
- deletedAt: Date | null;
26064
- tags: {
26065
- id: string;
26066
- name: string;
26067
- createdAt: Date;
26068
- updatedAt: Date;
26069
- deletedAt: Date | null;
26070
- }[];
26071
- note: string | null;
26072
- callFrom: string | null;
26073
- callTo: string | null;
26074
- } | null;
24964
+ firstResponseTime: string | null;
24965
+ slaMeet?: string | null | undefined;
26075
24966
  };
26076
24967
  solveMessage: string;
26077
24968
  channel?: {
@@ -26367,29 +25258,11 @@ export declare const mainChatContract: {
26367
25258
  entityId: string;
26368
25259
  caseId: number;
26369
25260
  entityName: string;
26370
- contactId: string | null;
26371
- queueId: string | null;
26372
- agentId: string | null;
25261
+ channelType: string | null;
26373
25262
  startedDate: Date | null;
26374
25263
  handledTime: number | null;
26375
- firstResponseTime: number | null;
26376
- wrapUpForm: {
26377
- id: string;
26378
- disposition: string | null;
26379
- createdAt: Date;
26380
- updatedAt: Date;
26381
- deletedAt: Date | null;
26382
- tags: {
26383
- id: string;
26384
- name: string;
26385
- createdAt: Date;
26386
- updatedAt: Date;
26387
- deletedAt: Date | null;
26388
- }[];
26389
- note: string | null;
26390
- callFrom: string | null;
26391
- callTo: string | null;
26392
- } | null;
25264
+ firstResponseTime: string | null;
25265
+ slaMeet?: string | null | undefined;
26393
25266
  };
26394
25267
  solveMessage: string;
26395
25268
  channel?: {
@@ -28266,76 +27139,14 @@ export declare const mainChatContract: {
28266
27139
  caseId: z.ZodNumber;
28267
27140
  entityId: z.ZodString;
28268
27141
  entityName: z.ZodString;
28269
- contactId: z.ZodNullable<z.ZodString>;
27142
+ channelType: z.ZodNullable<z.ZodString>;
28270
27143
  channel: z.ZodNullable<z.ZodString>;
28271
- queueId: z.ZodNullable<z.ZodString>;
28272
- agentId: z.ZodNullable<z.ZodString>;
28273
27144
  direction: z.ZodNullable<z.ZodString>;
28274
27145
  startedDate: z.ZodNullable<z.ZodDate>;
28275
27146
  handledTime: z.ZodNullable<z.ZodNumber>;
28276
- firstResponseTime: z.ZodNullable<z.ZodNumber>;
27147
+ firstResponseTime: z.ZodNullable<z.ZodString>;
28277
27148
  disposition: z.ZodNullable<z.ZodString>;
28278
- wrapUpForm: z.ZodNullable<z.ZodObject<{
28279
- id: z.ZodString;
28280
- createdAt: z.ZodDate;
28281
- updatedAt: z.ZodDate;
28282
- deletedAt: z.ZodNullable<z.ZodDate>;
28283
- note: z.ZodNullable<z.ZodString>;
28284
- disposition: z.ZodNullable<z.ZodString>;
28285
- callFrom: z.ZodNullable<z.ZodString>;
28286
- callTo: z.ZodNullable<z.ZodString>;
28287
- tags: z.ZodArray<z.ZodObject<{
28288
- id: z.ZodString;
28289
- createdAt: z.ZodDate;
28290
- updatedAt: z.ZodDate;
28291
- deletedAt: z.ZodNullable<z.ZodDate>;
28292
- name: z.ZodString;
28293
- }, "strip", z.ZodTypeAny, {
28294
- id: string;
28295
- name: string;
28296
- createdAt: Date;
28297
- updatedAt: Date;
28298
- deletedAt: Date | null;
28299
- }, {
28300
- id: string;
28301
- name: string;
28302
- createdAt: Date;
28303
- updatedAt: Date;
28304
- deletedAt: Date | null;
28305
- }>, "many">;
28306
- }, "strip", z.ZodTypeAny, {
28307
- id: string;
28308
- disposition: string | null;
28309
- createdAt: Date;
28310
- updatedAt: Date;
28311
- deletedAt: Date | null;
28312
- tags: {
28313
- id: string;
28314
- name: string;
28315
- createdAt: Date;
28316
- updatedAt: Date;
28317
- deletedAt: Date | null;
28318
- }[];
28319
- note: string | null;
28320
- callFrom: string | null;
28321
- callTo: string | null;
28322
- }, {
28323
- id: string;
28324
- disposition: string | null;
28325
- createdAt: Date;
28326
- updatedAt: Date;
28327
- deletedAt: Date | null;
28328
- tags: {
28329
- id: string;
28330
- name: string;
28331
- createdAt: Date;
28332
- updatedAt: Date;
28333
- deletedAt: Date | null;
28334
- }[];
28335
- note: string | null;
28336
- callFrom: string | null;
28337
- callTo: string | null;
28338
- }>>;
27149
+ slaMeet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28339
27150
  }, "strip", z.ZodTypeAny, {
28340
27151
  id: string;
28341
27152
  channel: string | null;
@@ -28347,29 +27158,11 @@ export declare const mainChatContract: {
28347
27158
  entityId: string;
28348
27159
  caseId: number;
28349
27160
  entityName: string;
28350
- contactId: string | null;
28351
- queueId: string | null;
28352
- agentId: string | null;
27161
+ channelType: string | null;
28353
27162
  startedDate: Date | null;
28354
27163
  handledTime: number | null;
28355
- firstResponseTime: number | null;
28356
- wrapUpForm: {
28357
- id: string;
28358
- disposition: string | null;
28359
- createdAt: Date;
28360
- updatedAt: Date;
28361
- deletedAt: Date | null;
28362
- tags: {
28363
- id: string;
28364
- name: string;
28365
- createdAt: Date;
28366
- updatedAt: Date;
28367
- deletedAt: Date | null;
28368
- }[];
28369
- note: string | null;
28370
- callFrom: string | null;
28371
- callTo: string | null;
28372
- } | null;
27164
+ firstResponseTime: string | null;
27165
+ slaMeet?: string | null | undefined;
28373
27166
  }, {
28374
27167
  id: string;
28375
27168
  channel: string | null;
@@ -28381,29 +27174,11 @@ export declare const mainChatContract: {
28381
27174
  entityId: string;
28382
27175
  caseId: number;
28383
27176
  entityName: string;
28384
- contactId: string | null;
28385
- queueId: string | null;
28386
- agentId: string | null;
27177
+ channelType: string | null;
28387
27178
  startedDate: Date | null;
28388
27179
  handledTime: number | null;
28389
- firstResponseTime: number | null;
28390
- wrapUpForm: {
28391
- id: string;
28392
- disposition: string | null;
28393
- createdAt: Date;
28394
- updatedAt: Date;
28395
- deletedAt: Date | null;
28396
- tags: {
28397
- id: string;
28398
- name: string;
28399
- createdAt: Date;
28400
- updatedAt: Date;
28401
- deletedAt: Date | null;
28402
- }[];
28403
- note: string | null;
28404
- callFrom: string | null;
28405
- callTo: string | null;
28406
- } | null;
27180
+ firstResponseTime: string | null;
27181
+ slaMeet?: string | null | undefined;
28407
27182
  }>;
28408
27183
  }, "strip", z.ZodTypeAny, {
28409
27184
  id: string;
@@ -28632,29 +27407,11 @@ export declare const mainChatContract: {
28632
27407
  entityId: string;
28633
27408
  caseId: number;
28634
27409
  entityName: string;
28635
- contactId: string | null;
28636
- queueId: string | null;
28637
- agentId: string | null;
27410
+ channelType: string | null;
28638
27411
  startedDate: Date | null;
28639
27412
  handledTime: number | null;
28640
- firstResponseTime: number | null;
28641
- wrapUpForm: {
28642
- id: string;
28643
- disposition: string | null;
28644
- createdAt: Date;
28645
- updatedAt: Date;
28646
- deletedAt: Date | null;
28647
- tags: {
28648
- id: string;
28649
- name: string;
28650
- createdAt: Date;
28651
- updatedAt: Date;
28652
- deletedAt: Date | null;
28653
- }[];
28654
- note: string | null;
28655
- callFrom: string | null;
28656
- callTo: string | null;
28657
- } | null;
27413
+ firstResponseTime: string | null;
27414
+ slaMeet?: string | null | undefined;
28658
27415
  };
28659
27416
  channel?: {
28660
27417
  id?: string | undefined;
@@ -28946,29 +27703,11 @@ export declare const mainChatContract: {
28946
27703
  entityId: string;
28947
27704
  caseId: number;
28948
27705
  entityName: string;
28949
- contactId: string | null;
28950
- queueId: string | null;
28951
- agentId: string | null;
27706
+ channelType: string | null;
28952
27707
  startedDate: Date | null;
28953
27708
  handledTime: number | null;
28954
- firstResponseTime: number | null;
28955
- wrapUpForm: {
28956
- id: string;
28957
- disposition: string | null;
28958
- createdAt: Date;
28959
- updatedAt: Date;
28960
- deletedAt: Date | null;
28961
- tags: {
28962
- id: string;
28963
- name: string;
28964
- createdAt: Date;
28965
- updatedAt: Date;
28966
- deletedAt: Date | null;
28967
- }[];
28968
- note: string | null;
28969
- callFrom: string | null;
28970
- callTo: string | null;
28971
- } | null;
27709
+ firstResponseTime: string | null;
27710
+ slaMeet?: string | null | undefined;
28972
27711
  };
28973
27712
  channel?: {
28974
27713
  id?: string | undefined;
@@ -29262,29 +28001,11 @@ export declare const mainChatContract: {
29262
28001
  entityId: string;
29263
28002
  caseId: number;
29264
28003
  entityName: string;
29265
- contactId: string | null;
29266
- queueId: string | null;
29267
- agentId: string | null;
28004
+ channelType: string | null;
29268
28005
  startedDate: Date | null;
29269
28006
  handledTime: number | null;
29270
- firstResponseTime: number | null;
29271
- wrapUpForm: {
29272
- id: string;
29273
- disposition: string | null;
29274
- createdAt: Date;
29275
- updatedAt: Date;
29276
- deletedAt: Date | null;
29277
- tags: {
29278
- id: string;
29279
- name: string;
29280
- createdAt: Date;
29281
- updatedAt: Date;
29282
- deletedAt: Date | null;
29283
- }[];
29284
- note: string | null;
29285
- callFrom: string | null;
29286
- callTo: string | null;
29287
- } | null;
28007
+ firstResponseTime: string | null;
28008
+ slaMeet?: string | null | undefined;
29288
28009
  };
29289
28010
  channel?: {
29290
28011
  id?: string | undefined;
@@ -29579,29 +28300,11 @@ export declare const mainChatContract: {
29579
28300
  entityId: string;
29580
28301
  caseId: number;
29581
28302
  entityName: string;
29582
- contactId: string | null;
29583
- queueId: string | null;
29584
- agentId: string | null;
28303
+ channelType: string | null;
29585
28304
  startedDate: Date | null;
29586
28305
  handledTime: number | null;
29587
- firstResponseTime: number | null;
29588
- wrapUpForm: {
29589
- id: string;
29590
- disposition: string | null;
29591
- createdAt: Date;
29592
- updatedAt: Date;
29593
- deletedAt: Date | null;
29594
- tags: {
29595
- id: string;
29596
- name: string;
29597
- createdAt: Date;
29598
- updatedAt: Date;
29599
- deletedAt: Date | null;
29600
- }[];
29601
- note: string | null;
29602
- callFrom: string | null;
29603
- callTo: string | null;
29604
- } | null;
28306
+ firstResponseTime: string | null;
28307
+ slaMeet?: string | null | undefined;
29605
28308
  };
29606
28309
  channel?: {
29607
28310
  id?: string | undefined;
@@ -31464,76 +30167,14 @@ export declare const mainChatContract: {
31464
30167
  caseId: z.ZodNumber;
31465
30168
  entityId: z.ZodString;
31466
30169
  entityName: z.ZodString;
31467
- contactId: z.ZodNullable<z.ZodString>;
30170
+ channelType: z.ZodNullable<z.ZodString>;
31468
30171
  channel: z.ZodNullable<z.ZodString>;
31469
- queueId: z.ZodNullable<z.ZodString>;
31470
- agentId: z.ZodNullable<z.ZodString>;
31471
30172
  direction: z.ZodNullable<z.ZodString>;
31472
30173
  startedDate: z.ZodNullable<z.ZodDate>;
31473
30174
  handledTime: z.ZodNullable<z.ZodNumber>;
31474
- firstResponseTime: z.ZodNullable<z.ZodNumber>;
30175
+ firstResponseTime: z.ZodNullable<z.ZodString>;
31475
30176
  disposition: z.ZodNullable<z.ZodString>;
31476
- wrapUpForm: z.ZodNullable<z.ZodObject<{
31477
- id: z.ZodString;
31478
- createdAt: z.ZodDate;
31479
- updatedAt: z.ZodDate;
31480
- deletedAt: z.ZodNullable<z.ZodDate>;
31481
- note: z.ZodNullable<z.ZodString>;
31482
- disposition: z.ZodNullable<z.ZodString>;
31483
- callFrom: z.ZodNullable<z.ZodString>;
31484
- callTo: z.ZodNullable<z.ZodString>;
31485
- tags: z.ZodArray<z.ZodObject<{
31486
- id: z.ZodString;
31487
- createdAt: z.ZodDate;
31488
- updatedAt: z.ZodDate;
31489
- deletedAt: z.ZodNullable<z.ZodDate>;
31490
- name: z.ZodString;
31491
- }, "strip", z.ZodTypeAny, {
31492
- id: string;
31493
- name: string;
31494
- createdAt: Date;
31495
- updatedAt: Date;
31496
- deletedAt: Date | null;
31497
- }, {
31498
- id: string;
31499
- name: string;
31500
- createdAt: Date;
31501
- updatedAt: Date;
31502
- deletedAt: Date | null;
31503
- }>, "many">;
31504
- }, "strip", z.ZodTypeAny, {
31505
- id: string;
31506
- disposition: string | null;
31507
- createdAt: Date;
31508
- updatedAt: Date;
31509
- deletedAt: Date | null;
31510
- tags: {
31511
- id: string;
31512
- name: string;
31513
- createdAt: Date;
31514
- updatedAt: Date;
31515
- deletedAt: Date | null;
31516
- }[];
31517
- note: string | null;
31518
- callFrom: string | null;
31519
- callTo: string | null;
31520
- }, {
31521
- id: string;
31522
- disposition: string | null;
31523
- createdAt: Date;
31524
- updatedAt: Date;
31525
- deletedAt: Date | null;
31526
- tags: {
31527
- id: string;
31528
- name: string;
31529
- createdAt: Date;
31530
- updatedAt: Date;
31531
- deletedAt: Date | null;
31532
- }[];
31533
- note: string | null;
31534
- callFrom: string | null;
31535
- callTo: string | null;
31536
- }>>;
30177
+ slaMeet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31537
30178
  }, "strip", z.ZodTypeAny, {
31538
30179
  id: string;
31539
30180
  channel: string | null;
@@ -31545,29 +30186,11 @@ export declare const mainChatContract: {
31545
30186
  entityId: string;
31546
30187
  caseId: number;
31547
30188
  entityName: string;
31548
- contactId: string | null;
31549
- queueId: string | null;
31550
- agentId: string | null;
30189
+ channelType: string | null;
31551
30190
  startedDate: Date | null;
31552
30191
  handledTime: number | null;
31553
- firstResponseTime: number | null;
31554
- wrapUpForm: {
31555
- id: string;
31556
- disposition: string | null;
31557
- createdAt: Date;
31558
- updatedAt: Date;
31559
- deletedAt: Date | null;
31560
- tags: {
31561
- id: string;
31562
- name: string;
31563
- createdAt: Date;
31564
- updatedAt: Date;
31565
- deletedAt: Date | null;
31566
- }[];
31567
- note: string | null;
31568
- callFrom: string | null;
31569
- callTo: string | null;
31570
- } | null;
30192
+ firstResponseTime: string | null;
30193
+ slaMeet?: string | null | undefined;
31571
30194
  }, {
31572
30195
  id: string;
31573
30196
  channel: string | null;
@@ -31579,29 +30202,11 @@ export declare const mainChatContract: {
31579
30202
  entityId: string;
31580
30203
  caseId: number;
31581
30204
  entityName: string;
31582
- contactId: string | null;
31583
- queueId: string | null;
31584
- agentId: string | null;
30205
+ channelType: string | null;
31585
30206
  startedDate: Date | null;
31586
30207
  handledTime: number | null;
31587
- firstResponseTime: number | null;
31588
- wrapUpForm: {
31589
- id: string;
31590
- disposition: string | null;
31591
- createdAt: Date;
31592
- updatedAt: Date;
31593
- deletedAt: Date | null;
31594
- tags: {
31595
- id: string;
31596
- name: string;
31597
- createdAt: Date;
31598
- updatedAt: Date;
31599
- deletedAt: Date | null;
31600
- }[];
31601
- note: string | null;
31602
- callFrom: string | null;
31603
- callTo: string | null;
31604
- } | null;
30208
+ firstResponseTime: string | null;
30209
+ slaMeet?: string | null | undefined;
31605
30210
  }>;
31606
30211
  }, "strip", z.ZodTypeAny, {
31607
30212
  id: string;
@@ -31830,29 +30435,11 @@ export declare const mainChatContract: {
31830
30435
  entityId: string;
31831
30436
  caseId: number;
31832
30437
  entityName: string;
31833
- contactId: string | null;
31834
- queueId: string | null;
31835
- agentId: string | null;
30438
+ channelType: string | null;
31836
30439
  startedDate: Date | null;
31837
30440
  handledTime: number | null;
31838
- firstResponseTime: number | null;
31839
- wrapUpForm: {
31840
- id: string;
31841
- disposition: string | null;
31842
- createdAt: Date;
31843
- updatedAt: Date;
31844
- deletedAt: Date | null;
31845
- tags: {
31846
- id: string;
31847
- name: string;
31848
- createdAt: Date;
31849
- updatedAt: Date;
31850
- deletedAt: Date | null;
31851
- }[];
31852
- note: string | null;
31853
- callFrom: string | null;
31854
- callTo: string | null;
31855
- } | null;
30441
+ firstResponseTime: string | null;
30442
+ slaMeet?: string | null | undefined;
31856
30443
  };
31857
30444
  channel?: {
31858
30445
  id?: string | undefined;
@@ -32144,29 +30731,11 @@ export declare const mainChatContract: {
32144
30731
  entityId: string;
32145
30732
  caseId: number;
32146
30733
  entityName: string;
32147
- contactId: string | null;
32148
- queueId: string | null;
32149
- agentId: string | null;
30734
+ channelType: string | null;
32150
30735
  startedDate: Date | null;
32151
30736
  handledTime: number | null;
32152
- firstResponseTime: number | null;
32153
- wrapUpForm: {
32154
- id: string;
32155
- disposition: string | null;
32156
- createdAt: Date;
32157
- updatedAt: Date;
32158
- deletedAt: Date | null;
32159
- tags: {
32160
- id: string;
32161
- name: string;
32162
- createdAt: Date;
32163
- updatedAt: Date;
32164
- deletedAt: Date | null;
32165
- }[];
32166
- note: string | null;
32167
- callFrom: string | null;
32168
- callTo: string | null;
32169
- } | null;
30737
+ firstResponseTime: string | null;
30738
+ slaMeet?: string | null | undefined;
32170
30739
  };
32171
30740
  channel?: {
32172
30741
  id?: string | undefined;
@@ -32460,29 +31029,11 @@ export declare const mainChatContract: {
32460
31029
  entityId: string;
32461
31030
  caseId: number;
32462
31031
  entityName: string;
32463
- contactId: string | null;
32464
- queueId: string | null;
32465
- agentId: string | null;
31032
+ channelType: string | null;
32466
31033
  startedDate: Date | null;
32467
31034
  handledTime: number | null;
32468
- firstResponseTime: number | null;
32469
- wrapUpForm: {
32470
- id: string;
32471
- disposition: string | null;
32472
- createdAt: Date;
32473
- updatedAt: Date;
32474
- deletedAt: Date | null;
32475
- tags: {
32476
- id: string;
32477
- name: string;
32478
- createdAt: Date;
32479
- updatedAt: Date;
32480
- deletedAt: Date | null;
32481
- }[];
32482
- note: string | null;
32483
- callFrom: string | null;
32484
- callTo: string | null;
32485
- } | null;
31035
+ firstResponseTime: string | null;
31036
+ slaMeet?: string | null | undefined;
32486
31037
  };
32487
31038
  channel?: {
32488
31039
  id?: string | undefined;
@@ -32777,29 +31328,11 @@ export declare const mainChatContract: {
32777
31328
  entityId: string;
32778
31329
  caseId: number;
32779
31330
  entityName: string;
32780
- contactId: string | null;
32781
- queueId: string | null;
32782
- agentId: string | null;
31331
+ channelType: string | null;
32783
31332
  startedDate: Date | null;
32784
31333
  handledTime: number | null;
32785
- firstResponseTime: number | null;
32786
- wrapUpForm: {
32787
- id: string;
32788
- disposition: string | null;
32789
- createdAt: Date;
32790
- updatedAt: Date;
32791
- deletedAt: Date | null;
32792
- tags: {
32793
- id: string;
32794
- name: string;
32795
- createdAt: Date;
32796
- updatedAt: Date;
32797
- deletedAt: Date | null;
32798
- }[];
32799
- note: string | null;
32800
- callFrom: string | null;
32801
- callTo: string | null;
32802
- } | null;
31334
+ firstResponseTime: string | null;
31335
+ slaMeet?: string | null | undefined;
32803
31336
  };
32804
31337
  channel?: {
32805
31338
  id?: string | undefined;
@@ -34673,76 +33206,14 @@ export declare const mainChatContract: {
34673
33206
  caseId: z.ZodNumber;
34674
33207
  entityId: z.ZodString;
34675
33208
  entityName: z.ZodString;
34676
- contactId: z.ZodNullable<z.ZodString>;
33209
+ channelType: z.ZodNullable<z.ZodString>;
34677
33210
  channel: z.ZodNullable<z.ZodString>;
34678
- queueId: z.ZodNullable<z.ZodString>;
34679
- agentId: z.ZodNullable<z.ZodString>;
34680
33211
  direction: z.ZodNullable<z.ZodString>;
34681
33212
  startedDate: z.ZodNullable<z.ZodDate>;
34682
33213
  handledTime: z.ZodNullable<z.ZodNumber>;
34683
- firstResponseTime: z.ZodNullable<z.ZodNumber>;
33214
+ firstResponseTime: z.ZodNullable<z.ZodString>;
34684
33215
  disposition: z.ZodNullable<z.ZodString>;
34685
- wrapUpForm: z.ZodNullable<z.ZodObject<{
34686
- id: z.ZodString;
34687
- createdAt: z.ZodDate;
34688
- updatedAt: z.ZodDate;
34689
- deletedAt: z.ZodNullable<z.ZodDate>;
34690
- note: z.ZodNullable<z.ZodString>;
34691
- disposition: z.ZodNullable<z.ZodString>;
34692
- callFrom: z.ZodNullable<z.ZodString>;
34693
- callTo: z.ZodNullable<z.ZodString>;
34694
- tags: z.ZodArray<z.ZodObject<{
34695
- id: z.ZodString;
34696
- createdAt: z.ZodDate;
34697
- updatedAt: z.ZodDate;
34698
- deletedAt: z.ZodNullable<z.ZodDate>;
34699
- name: z.ZodString;
34700
- }, "strip", z.ZodTypeAny, {
34701
- id: string;
34702
- name: string;
34703
- createdAt: Date;
34704
- updatedAt: Date;
34705
- deletedAt: Date | null;
34706
- }, {
34707
- id: string;
34708
- name: string;
34709
- createdAt: Date;
34710
- updatedAt: Date;
34711
- deletedAt: Date | null;
34712
- }>, "many">;
34713
- }, "strip", z.ZodTypeAny, {
34714
- id: string;
34715
- disposition: string | null;
34716
- createdAt: Date;
34717
- updatedAt: Date;
34718
- deletedAt: Date | null;
34719
- tags: {
34720
- id: string;
34721
- name: string;
34722
- createdAt: Date;
34723
- updatedAt: Date;
34724
- deletedAt: Date | null;
34725
- }[];
34726
- note: string | null;
34727
- callFrom: string | null;
34728
- callTo: string | null;
34729
- }, {
34730
- id: string;
34731
- disposition: string | null;
34732
- createdAt: Date;
34733
- updatedAt: Date;
34734
- deletedAt: Date | null;
34735
- tags: {
34736
- id: string;
34737
- name: string;
34738
- createdAt: Date;
34739
- updatedAt: Date;
34740
- deletedAt: Date | null;
34741
- }[];
34742
- note: string | null;
34743
- callFrom: string | null;
34744
- callTo: string | null;
34745
- }>>;
33216
+ slaMeet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34746
33217
  }, "strip", z.ZodTypeAny, {
34747
33218
  id: string;
34748
33219
  channel: string | null;
@@ -34754,29 +33225,11 @@ export declare const mainChatContract: {
34754
33225
  entityId: string;
34755
33226
  caseId: number;
34756
33227
  entityName: string;
34757
- contactId: string | null;
34758
- queueId: string | null;
34759
- agentId: string | null;
33228
+ channelType: string | null;
34760
33229
  startedDate: Date | null;
34761
33230
  handledTime: number | null;
34762
- firstResponseTime: number | null;
34763
- wrapUpForm: {
34764
- id: string;
34765
- disposition: string | null;
34766
- createdAt: Date;
34767
- updatedAt: Date;
34768
- deletedAt: Date | null;
34769
- tags: {
34770
- id: string;
34771
- name: string;
34772
- createdAt: Date;
34773
- updatedAt: Date;
34774
- deletedAt: Date | null;
34775
- }[];
34776
- note: string | null;
34777
- callFrom: string | null;
34778
- callTo: string | null;
34779
- } | null;
33231
+ firstResponseTime: string | null;
33232
+ slaMeet?: string | null | undefined;
34780
33233
  }, {
34781
33234
  id: string;
34782
33235
  channel: string | null;
@@ -34788,29 +33241,11 @@ export declare const mainChatContract: {
34788
33241
  entityId: string;
34789
33242
  caseId: number;
34790
33243
  entityName: string;
34791
- contactId: string | null;
34792
- queueId: string | null;
34793
- agentId: string | null;
33244
+ channelType: string | null;
34794
33245
  startedDate: Date | null;
34795
33246
  handledTime: number | null;
34796
- firstResponseTime: number | null;
34797
- wrapUpForm: {
34798
- id: string;
34799
- disposition: string | null;
34800
- createdAt: Date;
34801
- updatedAt: Date;
34802
- deletedAt: Date | null;
34803
- tags: {
34804
- id: string;
34805
- name: string;
34806
- createdAt: Date;
34807
- updatedAt: Date;
34808
- deletedAt: Date | null;
34809
- }[];
34810
- note: string | null;
34811
- callFrom: string | null;
34812
- callTo: string | null;
34813
- } | null;
33247
+ firstResponseTime: string | null;
33248
+ slaMeet?: string | null | undefined;
34814
33249
  }>;
34815
33250
  contact: z.ZodObject<{
34816
33251
  id: z.ZodString;
@@ -35882,29 +34317,11 @@ export declare const mainChatContract: {
35882
34317
  entityId: string;
35883
34318
  caseId: number;
35884
34319
  entityName: string;
35885
- contactId: string | null;
35886
- queueId: string | null;
35887
- agentId: string | null;
34320
+ channelType: string | null;
35888
34321
  startedDate: Date | null;
35889
34322
  handledTime: number | null;
35890
- firstResponseTime: number | null;
35891
- wrapUpForm: {
35892
- id: string;
35893
- disposition: string | null;
35894
- createdAt: Date;
35895
- updatedAt: Date;
35896
- deletedAt: Date | null;
35897
- tags: {
35898
- id: string;
35899
- name: string;
35900
- createdAt: Date;
35901
- updatedAt: Date;
35902
- deletedAt: Date | null;
35903
- }[];
35904
- note: string | null;
35905
- callFrom: string | null;
35906
- callTo: string | null;
35907
- } | null;
34323
+ firstResponseTime: string | null;
34324
+ slaMeet?: string | null | undefined;
35908
34325
  };
35909
34326
  openMessage: string;
35910
34327
  channel?: {
@@ -36299,29 +34716,11 @@ export declare const mainChatContract: {
36299
34716
  entityId: string;
36300
34717
  caseId: number;
36301
34718
  entityName: string;
36302
- contactId: string | null;
36303
- queueId: string | null;
36304
- agentId: string | null;
34719
+ channelType: string | null;
36305
34720
  startedDate: Date | null;
36306
34721
  handledTime: number | null;
36307
- firstResponseTime: number | null;
36308
- wrapUpForm: {
36309
- id: string;
36310
- disposition: string | null;
36311
- createdAt: Date;
36312
- updatedAt: Date;
36313
- deletedAt: Date | null;
36314
- tags: {
36315
- id: string;
36316
- name: string;
36317
- createdAt: Date;
36318
- updatedAt: Date;
36319
- deletedAt: Date | null;
36320
- }[];
36321
- note: string | null;
36322
- callFrom: string | null;
36323
- callTo: string | null;
36324
- } | null;
34722
+ firstResponseTime: string | null;
34723
+ slaMeet?: string | null | undefined;
36325
34724
  };
36326
34725
  openMessage: string;
36327
34726
  channel?: {
@@ -36718,29 +35117,11 @@ export declare const mainChatContract: {
36718
35117
  entityId: string;
36719
35118
  caseId: number;
36720
35119
  entityName: string;
36721
- contactId: string | null;
36722
- queueId: string | null;
36723
- agentId: string | null;
35120
+ channelType: string | null;
36724
35121
  startedDate: Date | null;
36725
35122
  handledTime: number | null;
36726
- firstResponseTime: number | null;
36727
- wrapUpForm: {
36728
- id: string;
36729
- disposition: string | null;
36730
- createdAt: Date;
36731
- updatedAt: Date;
36732
- deletedAt: Date | null;
36733
- tags: {
36734
- id: string;
36735
- name: string;
36736
- createdAt: Date;
36737
- updatedAt: Date;
36738
- deletedAt: Date | null;
36739
- }[];
36740
- note: string | null;
36741
- callFrom: string | null;
36742
- callTo: string | null;
36743
- } | null;
35123
+ firstResponseTime: string | null;
35124
+ slaMeet?: string | null | undefined;
36744
35125
  };
36745
35126
  openMessage: string;
36746
35127
  channel?: {
@@ -37138,29 +35519,11 @@ export declare const mainChatContract: {
37138
35519
  entityId: string;
37139
35520
  caseId: number;
37140
35521
  entityName: string;
37141
- contactId: string | null;
37142
- queueId: string | null;
37143
- agentId: string | null;
35522
+ channelType: string | null;
37144
35523
  startedDate: Date | null;
37145
35524
  handledTime: number | null;
37146
- firstResponseTime: number | null;
37147
- wrapUpForm: {
37148
- id: string;
37149
- disposition: string | null;
37150
- createdAt: Date;
37151
- updatedAt: Date;
37152
- deletedAt: Date | null;
37153
- tags: {
37154
- id: string;
37155
- name: string;
37156
- createdAt: Date;
37157
- updatedAt: Date;
37158
- deletedAt: Date | null;
37159
- }[];
37160
- note: string | null;
37161
- callFrom: string | null;
37162
- callTo: string | null;
37163
- } | null;
35525
+ firstResponseTime: string | null;
35526
+ slaMeet?: string | null | undefined;
37164
35527
  };
37165
35528
  openMessage: string;
37166
35529
  channel?: {
@@ -39025,76 +37388,14 @@ export declare const mainChatContract: {
39025
37388
  caseId: z.ZodNumber;
39026
37389
  entityId: z.ZodString;
39027
37390
  entityName: z.ZodString;
39028
- contactId: z.ZodNullable<z.ZodString>;
37391
+ channelType: z.ZodNullable<z.ZodString>;
39029
37392
  channel: z.ZodNullable<z.ZodString>;
39030
- queueId: z.ZodNullable<z.ZodString>;
39031
- agentId: z.ZodNullable<z.ZodString>;
39032
37393
  direction: z.ZodNullable<z.ZodString>;
39033
37394
  startedDate: z.ZodNullable<z.ZodDate>;
39034
37395
  handledTime: z.ZodNullable<z.ZodNumber>;
39035
- firstResponseTime: z.ZodNullable<z.ZodNumber>;
37396
+ firstResponseTime: z.ZodNullable<z.ZodString>;
39036
37397
  disposition: z.ZodNullable<z.ZodString>;
39037
- wrapUpForm: z.ZodNullable<z.ZodObject<{
39038
- id: z.ZodString;
39039
- createdAt: z.ZodDate;
39040
- updatedAt: z.ZodDate;
39041
- deletedAt: z.ZodNullable<z.ZodDate>;
39042
- note: z.ZodNullable<z.ZodString>;
39043
- disposition: z.ZodNullable<z.ZodString>;
39044
- callFrom: z.ZodNullable<z.ZodString>;
39045
- callTo: z.ZodNullable<z.ZodString>;
39046
- tags: z.ZodArray<z.ZodObject<{
39047
- id: z.ZodString;
39048
- createdAt: z.ZodDate;
39049
- updatedAt: z.ZodDate;
39050
- deletedAt: z.ZodNullable<z.ZodDate>;
39051
- name: z.ZodString;
39052
- }, "strip", z.ZodTypeAny, {
39053
- id: string;
39054
- name: string;
39055
- createdAt: Date;
39056
- updatedAt: Date;
39057
- deletedAt: Date | null;
39058
- }, {
39059
- id: string;
39060
- name: string;
39061
- createdAt: Date;
39062
- updatedAt: Date;
39063
- deletedAt: Date | null;
39064
- }>, "many">;
39065
- }, "strip", z.ZodTypeAny, {
39066
- id: string;
39067
- disposition: string | null;
39068
- createdAt: Date;
39069
- updatedAt: Date;
39070
- deletedAt: Date | null;
39071
- tags: {
39072
- id: string;
39073
- name: string;
39074
- createdAt: Date;
39075
- updatedAt: Date;
39076
- deletedAt: Date | null;
39077
- }[];
39078
- note: string | null;
39079
- callFrom: string | null;
39080
- callTo: string | null;
39081
- }, {
39082
- id: string;
39083
- disposition: string | null;
39084
- createdAt: Date;
39085
- updatedAt: Date;
39086
- deletedAt: Date | null;
39087
- tags: {
39088
- id: string;
39089
- name: string;
39090
- createdAt: Date;
39091
- updatedAt: Date;
39092
- deletedAt: Date | null;
39093
- }[];
39094
- note: string | null;
39095
- callFrom: string | null;
39096
- callTo: string | null;
39097
- }>>;
37398
+ slaMeet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39098
37399
  }, "strip", z.ZodTypeAny, {
39099
37400
  id: string;
39100
37401
  channel: string | null;
@@ -39106,29 +37407,11 @@ export declare const mainChatContract: {
39106
37407
  entityId: string;
39107
37408
  caseId: number;
39108
37409
  entityName: string;
39109
- contactId: string | null;
39110
- queueId: string | null;
39111
- agentId: string | null;
37410
+ channelType: string | null;
39112
37411
  startedDate: Date | null;
39113
37412
  handledTime: number | null;
39114
- firstResponseTime: number | null;
39115
- wrapUpForm: {
39116
- id: string;
39117
- disposition: string | null;
39118
- createdAt: Date;
39119
- updatedAt: Date;
39120
- deletedAt: Date | null;
39121
- tags: {
39122
- id: string;
39123
- name: string;
39124
- createdAt: Date;
39125
- updatedAt: Date;
39126
- deletedAt: Date | null;
39127
- }[];
39128
- note: string | null;
39129
- callFrom: string | null;
39130
- callTo: string | null;
39131
- } | null;
37413
+ firstResponseTime: string | null;
37414
+ slaMeet?: string | null | undefined;
39132
37415
  }, {
39133
37416
  id: string;
39134
37417
  channel: string | null;
@@ -39140,29 +37423,11 @@ export declare const mainChatContract: {
39140
37423
  entityId: string;
39141
37424
  caseId: number;
39142
37425
  entityName: string;
39143
- contactId: string | null;
39144
- queueId: string | null;
39145
- agentId: string | null;
37426
+ channelType: string | null;
39146
37427
  startedDate: Date | null;
39147
37428
  handledTime: number | null;
39148
- firstResponseTime: number | null;
39149
- wrapUpForm: {
39150
- id: string;
39151
- disposition: string | null;
39152
- createdAt: Date;
39153
- updatedAt: Date;
39154
- deletedAt: Date | null;
39155
- tags: {
39156
- id: string;
39157
- name: string;
39158
- createdAt: Date;
39159
- updatedAt: Date;
39160
- deletedAt: Date | null;
39161
- }[];
39162
- note: string | null;
39163
- callFrom: string | null;
39164
- callTo: string | null;
39165
- } | null;
37429
+ firstResponseTime: string | null;
37430
+ slaMeet?: string | null | undefined;
39166
37431
  }>;
39167
37432
  description: z.ZodNullable<z.ZodString>;
39168
37433
  }, "strip", z.ZodTypeAny, {
@@ -39393,29 +37658,11 @@ export declare const mainChatContract: {
39393
37658
  entityId: string;
39394
37659
  caseId: number;
39395
37660
  entityName: string;
39396
- contactId: string | null;
39397
- queueId: string | null;
39398
- agentId: string | null;
37661
+ channelType: string | null;
39399
37662
  startedDate: Date | null;
39400
37663
  handledTime: number | null;
39401
- firstResponseTime: number | null;
39402
- wrapUpForm: {
39403
- id: string;
39404
- disposition: string | null;
39405
- createdAt: Date;
39406
- updatedAt: Date;
39407
- deletedAt: Date | null;
39408
- tags: {
39409
- id: string;
39410
- name: string;
39411
- createdAt: Date;
39412
- updatedAt: Date;
39413
- deletedAt: Date | null;
39414
- }[];
39415
- note: string | null;
39416
- callFrom: string | null;
39417
- callTo: string | null;
39418
- } | null;
37664
+ firstResponseTime: string | null;
37665
+ slaMeet?: string | null | undefined;
39419
37666
  };
39420
37667
  channel?: {
39421
37668
  id?: string | undefined;
@@ -39708,29 +37955,11 @@ export declare const mainChatContract: {
39708
37955
  entityId: string;
39709
37956
  caseId: number;
39710
37957
  entityName: string;
39711
- contactId: string | null;
39712
- queueId: string | null;
39713
- agentId: string | null;
37958
+ channelType: string | null;
39714
37959
  startedDate: Date | null;
39715
37960
  handledTime: number | null;
39716
- firstResponseTime: number | null;
39717
- wrapUpForm: {
39718
- id: string;
39719
- disposition: string | null;
39720
- createdAt: Date;
39721
- updatedAt: Date;
39722
- deletedAt: Date | null;
39723
- tags: {
39724
- id: string;
39725
- name: string;
39726
- createdAt: Date;
39727
- updatedAt: Date;
39728
- deletedAt: Date | null;
39729
- }[];
39730
- note: string | null;
39731
- callFrom: string | null;
39732
- callTo: string | null;
39733
- } | null;
37961
+ firstResponseTime: string | null;
37962
+ slaMeet?: string | null | undefined;
39734
37963
  };
39735
37964
  channel?: {
39736
37965
  id?: string | undefined;
@@ -40025,29 +38254,11 @@ export declare const mainChatContract: {
40025
38254
  entityId: string;
40026
38255
  caseId: number;
40027
38256
  entityName: string;
40028
- contactId: string | null;
40029
- queueId: string | null;
40030
- agentId: string | null;
38257
+ channelType: string | null;
40031
38258
  startedDate: Date | null;
40032
38259
  handledTime: number | null;
40033
- firstResponseTime: number | null;
40034
- wrapUpForm: {
40035
- id: string;
40036
- disposition: string | null;
40037
- createdAt: Date;
40038
- updatedAt: Date;
40039
- deletedAt: Date | null;
40040
- tags: {
40041
- id: string;
40042
- name: string;
40043
- createdAt: Date;
40044
- updatedAt: Date;
40045
- deletedAt: Date | null;
40046
- }[];
40047
- note: string | null;
40048
- callFrom: string | null;
40049
- callTo: string | null;
40050
- } | null;
38260
+ firstResponseTime: string | null;
38261
+ slaMeet?: string | null | undefined;
40051
38262
  };
40052
38263
  channel?: {
40053
38264
  id?: string | undefined;
@@ -40343,29 +38554,11 @@ export declare const mainChatContract: {
40343
38554
  entityId: string;
40344
38555
  caseId: number;
40345
38556
  entityName: string;
40346
- contactId: string | null;
40347
- queueId: string | null;
40348
- agentId: string | null;
38557
+ channelType: string | null;
40349
38558
  startedDate: Date | null;
40350
38559
  handledTime: number | null;
40351
- firstResponseTime: number | null;
40352
- wrapUpForm: {
40353
- id: string;
40354
- disposition: string | null;
40355
- createdAt: Date;
40356
- updatedAt: Date;
40357
- deletedAt: Date | null;
40358
- tags: {
40359
- id: string;
40360
- name: string;
40361
- createdAt: Date;
40362
- updatedAt: Date;
40363
- deletedAt: Date | null;
40364
- }[];
40365
- note: string | null;
40366
- callFrom: string | null;
40367
- callTo: string | null;
40368
- } | null;
38560
+ firstResponseTime: string | null;
38561
+ slaMeet?: string | null | undefined;
40369
38562
  };
40370
38563
  channel?: {
40371
38564
  id?: string | undefined;
@@ -42237,76 +40430,14 @@ export declare const mainChatContract: {
42237
40430
  caseId: z.ZodNumber;
42238
40431
  entityId: z.ZodString;
42239
40432
  entityName: z.ZodString;
42240
- contactId: z.ZodNullable<z.ZodString>;
40433
+ channelType: z.ZodNullable<z.ZodString>;
42241
40434
  channel: z.ZodNullable<z.ZodString>;
42242
- queueId: z.ZodNullable<z.ZodString>;
42243
- agentId: z.ZodNullable<z.ZodString>;
42244
40435
  direction: z.ZodNullable<z.ZodString>;
42245
40436
  startedDate: z.ZodNullable<z.ZodDate>;
42246
40437
  handledTime: z.ZodNullable<z.ZodNumber>;
42247
- firstResponseTime: z.ZodNullable<z.ZodNumber>;
40438
+ firstResponseTime: z.ZodNullable<z.ZodString>;
42248
40439
  disposition: z.ZodNullable<z.ZodString>;
42249
- wrapUpForm: z.ZodNullable<z.ZodObject<{
42250
- id: z.ZodString;
42251
- createdAt: z.ZodDate;
42252
- updatedAt: z.ZodDate;
42253
- deletedAt: z.ZodNullable<z.ZodDate>;
42254
- note: z.ZodNullable<z.ZodString>;
42255
- disposition: z.ZodNullable<z.ZodString>;
42256
- callFrom: z.ZodNullable<z.ZodString>;
42257
- callTo: z.ZodNullable<z.ZodString>;
42258
- tags: z.ZodArray<z.ZodObject<{
42259
- id: z.ZodString;
42260
- createdAt: z.ZodDate;
42261
- updatedAt: z.ZodDate;
42262
- deletedAt: z.ZodNullable<z.ZodDate>;
42263
- name: z.ZodString;
42264
- }, "strip", z.ZodTypeAny, {
42265
- id: string;
42266
- name: string;
42267
- createdAt: Date;
42268
- updatedAt: Date;
42269
- deletedAt: Date | null;
42270
- }, {
42271
- id: string;
42272
- name: string;
42273
- createdAt: Date;
42274
- updatedAt: Date;
42275
- deletedAt: Date | null;
42276
- }>, "many">;
42277
- }, "strip", z.ZodTypeAny, {
42278
- id: string;
42279
- disposition: string | null;
42280
- createdAt: Date;
42281
- updatedAt: Date;
42282
- deletedAt: Date | null;
42283
- tags: {
42284
- id: string;
42285
- name: string;
42286
- createdAt: Date;
42287
- updatedAt: Date;
42288
- deletedAt: Date | null;
42289
- }[];
42290
- note: string | null;
42291
- callFrom: string | null;
42292
- callTo: string | null;
42293
- }, {
42294
- id: string;
42295
- disposition: string | null;
42296
- createdAt: Date;
42297
- updatedAt: Date;
42298
- deletedAt: Date | null;
42299
- tags: {
42300
- id: string;
42301
- name: string;
42302
- createdAt: Date;
42303
- updatedAt: Date;
42304
- deletedAt: Date | null;
42305
- }[];
42306
- note: string | null;
42307
- callFrom: string | null;
42308
- callTo: string | null;
42309
- }>>;
40440
+ slaMeet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42310
40441
  }, "strip", z.ZodTypeAny, {
42311
40442
  id: string;
42312
40443
  channel: string | null;
@@ -42318,29 +40449,11 @@ export declare const mainChatContract: {
42318
40449
  entityId: string;
42319
40450
  caseId: number;
42320
40451
  entityName: string;
42321
- contactId: string | null;
42322
- queueId: string | null;
42323
- agentId: string | null;
40452
+ channelType: string | null;
42324
40453
  startedDate: Date | null;
42325
40454
  handledTime: number | null;
42326
- firstResponseTime: number | null;
42327
- wrapUpForm: {
42328
- id: string;
42329
- disposition: string | null;
42330
- createdAt: Date;
42331
- updatedAt: Date;
42332
- deletedAt: Date | null;
42333
- tags: {
42334
- id: string;
42335
- name: string;
42336
- createdAt: Date;
42337
- updatedAt: Date;
42338
- deletedAt: Date | null;
42339
- }[];
42340
- note: string | null;
42341
- callFrom: string | null;
42342
- callTo: string | null;
42343
- } | null;
40455
+ firstResponseTime: string | null;
40456
+ slaMeet?: string | null | undefined;
42344
40457
  }, {
42345
40458
  id: string;
42346
40459
  channel: string | null;
@@ -42352,29 +40465,11 @@ export declare const mainChatContract: {
42352
40465
  entityId: string;
42353
40466
  caseId: number;
42354
40467
  entityName: string;
42355
- contactId: string | null;
42356
- queueId: string | null;
42357
- agentId: string | null;
40468
+ channelType: string | null;
42358
40469
  startedDate: Date | null;
42359
40470
  handledTime: number | null;
42360
- firstResponseTime: number | null;
42361
- wrapUpForm: {
42362
- id: string;
42363
- disposition: string | null;
42364
- createdAt: Date;
42365
- updatedAt: Date;
42366
- deletedAt: Date | null;
42367
- tags: {
42368
- id: string;
42369
- name: string;
42370
- createdAt: Date;
42371
- updatedAt: Date;
42372
- deletedAt: Date | null;
42373
- }[];
42374
- note: string | null;
42375
- callFrom: string | null;
42376
- callTo: string | null;
42377
- } | null;
40471
+ firstResponseTime: string | null;
40472
+ slaMeet?: string | null | undefined;
42378
40473
  }>;
42379
40474
  }, "strip", z.ZodTypeAny, {
42380
40475
  id: string;
@@ -42603,29 +40698,11 @@ export declare const mainChatContract: {
42603
40698
  entityId: string;
42604
40699
  caseId: number;
42605
40700
  entityName: string;
42606
- contactId: string | null;
42607
- queueId: string | null;
42608
- agentId: string | null;
40701
+ channelType: string | null;
42609
40702
  startedDate: Date | null;
42610
40703
  handledTime: number | null;
42611
- firstResponseTime: number | null;
42612
- wrapUpForm: {
42613
- id: string;
42614
- disposition: string | null;
42615
- createdAt: Date;
42616
- updatedAt: Date;
42617
- deletedAt: Date | null;
42618
- tags: {
42619
- id: string;
42620
- name: string;
42621
- createdAt: Date;
42622
- updatedAt: Date;
42623
- deletedAt: Date | null;
42624
- }[];
42625
- note: string | null;
42626
- callFrom: string | null;
42627
- callTo: string | null;
42628
- } | null;
40704
+ firstResponseTime: string | null;
40705
+ slaMeet?: string | null | undefined;
42629
40706
  };
42630
40707
  channel?: {
42631
40708
  id?: string | undefined;
@@ -42917,29 +40994,11 @@ export declare const mainChatContract: {
42917
40994
  entityId: string;
42918
40995
  caseId: number;
42919
40996
  entityName: string;
42920
- contactId: string | null;
42921
- queueId: string | null;
42922
- agentId: string | null;
40997
+ channelType: string | null;
42923
40998
  startedDate: Date | null;
42924
40999
  handledTime: number | null;
42925
- firstResponseTime: number | null;
42926
- wrapUpForm: {
42927
- id: string;
42928
- disposition: string | null;
42929
- createdAt: Date;
42930
- updatedAt: Date;
42931
- deletedAt: Date | null;
42932
- tags: {
42933
- id: string;
42934
- name: string;
42935
- createdAt: Date;
42936
- updatedAt: Date;
42937
- deletedAt: Date | null;
42938
- }[];
42939
- note: string | null;
42940
- callFrom: string | null;
42941
- callTo: string | null;
42942
- } | null;
41000
+ firstResponseTime: string | null;
41001
+ slaMeet?: string | null | undefined;
42943
41002
  };
42944
41003
  channel?: {
42945
41004
  id?: string | undefined;
@@ -43233,29 +41292,11 @@ export declare const mainChatContract: {
43233
41292
  entityId: string;
43234
41293
  caseId: number;
43235
41294
  entityName: string;
43236
- contactId: string | null;
43237
- queueId: string | null;
43238
- agentId: string | null;
41295
+ channelType: string | null;
43239
41296
  startedDate: Date | null;
43240
41297
  handledTime: number | null;
43241
- firstResponseTime: number | null;
43242
- wrapUpForm: {
43243
- id: string;
43244
- disposition: string | null;
43245
- createdAt: Date;
43246
- updatedAt: Date;
43247
- deletedAt: Date | null;
43248
- tags: {
43249
- id: string;
43250
- name: string;
43251
- createdAt: Date;
43252
- updatedAt: Date;
43253
- deletedAt: Date | null;
43254
- }[];
43255
- note: string | null;
43256
- callFrom: string | null;
43257
- callTo: string | null;
43258
- } | null;
41298
+ firstResponseTime: string | null;
41299
+ slaMeet?: string | null | undefined;
43259
41300
  };
43260
41301
  channel?: {
43261
41302
  id?: string | undefined;
@@ -43553,29 +41594,11 @@ export declare const mainChatContract: {
43553
41594
  entityId: string;
43554
41595
  caseId: number;
43555
41596
  entityName: string;
43556
- contactId: string | null;
43557
- queueId: string | null;
43558
- agentId: string | null;
41597
+ channelType: string | null;
43559
41598
  startedDate: Date | null;
43560
41599
  handledTime: number | null;
43561
- firstResponseTime: number | null;
43562
- wrapUpForm: {
43563
- id: string;
43564
- disposition: string | null;
43565
- createdAt: Date;
43566
- updatedAt: Date;
43567
- deletedAt: Date | null;
43568
- tags: {
43569
- id: string;
43570
- name: string;
43571
- createdAt: Date;
43572
- updatedAt: Date;
43573
- deletedAt: Date | null;
43574
- }[];
43575
- note: string | null;
43576
- callFrom: string | null;
43577
- callTo: string | null;
43578
- } | null;
41600
+ firstResponseTime: string | null;
41601
+ slaMeet?: string | null | undefined;
43579
41602
  };
43580
41603
  channel?: {
43581
41604
  id?: string | undefined;