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