@kl1/contracts 1.0.78 → 1.0.80
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 +1746 -1392
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1745 -1392
- package/dist/index.mjs.map +1 -1
- package/dist/src/call-log/schema.d.ts +6 -6
- package/dist/src/call-log/validation.d.ts +4 -4
- package/dist/src/channel/index.d.ts +59 -59
- package/dist/src/channel/schema.d.ts +4 -4
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +3 -3
- package/dist/src/chat/index.d.ts +6967 -3685
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +3294 -990
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +1947 -306
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/comment/index.d.ts +584 -584
- package/dist/src/comment/schema.d.ts +144 -144
- package/dist/src/contact/index.d.ts +4 -1
- package/dist/src/contact/index.d.ts.map +1 -1
- package/dist/src/contact/schema.d.ts +156 -0
- package/dist/src/contact/schema.d.ts.map +1 -1
- package/dist/src/contract.d.ts +35549 -20637
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +950 -101
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +810 -71
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/dashboard/index.d.ts +4 -4
- package/dist/src/dashboard/schema.d.ts +2 -2
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +2162 -343
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +1919 -278
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +130 -130
- package/dist/src/mail/message-contract.d.ts +6 -6
- package/dist/src/mail/room-contract.d.ts +124 -124
- package/dist/src/mail/schemas/message.schema.d.ts +4 -4
- package/dist/src/mail/schemas/room-validation.schema.d.ts +40 -40
- package/dist/src/mail/schemas/room.schema.d.ts +30 -30
- package/dist/src/messenger/index.d.ts +2516 -516
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +1523 -0
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/notification/index.d.ts +742 -0
- package/dist/src/notification/index.d.ts.map +1 -0
- package/dist/src/notification/schema.d.ts +48 -0
- package/dist/src/notification/schema.d.ts.map +1 -0
- package/dist/src/notification/validation.d.ts +148 -0
- package/dist/src/notification/validation.d.ts.map +1 -0
- package/dist/src/telephony-cdr/index.d.ts +3036 -818
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/schema.d.ts +841 -7
- package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/src/telephony-cdr/validation.d.ts +4 -4
- package/dist/src/ticket/index.d.ts +1106 -1106
- package/dist/src/ticket/schema.d.ts +72 -72
- package/dist/src/ticket/validation.d.ts +12 -12
- package/dist/src/viber/index.d.ts +3525 -1159
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/wrap-up-form/index.d.ts +19 -19
- package/dist/src/wrap-up-form/schema.d.ts +2 -2
- package/dist/src/wrap-up-form/validation.d.ts +3 -3
- package/package.json +1 -1
@@ -56,9 +56,9 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
56
56
|
updatedAt: Date;
|
57
57
|
deletedAt: Date | null;
|
58
58
|
}[];
|
59
|
-
note: string | null;
|
60
59
|
callFrom: string | null;
|
61
60
|
callTo: string | null;
|
61
|
+
note: string | null;
|
62
62
|
}, {
|
63
63
|
id: string;
|
64
64
|
disposition: string | null;
|
@@ -72,9 +72,9 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
72
72
|
updatedAt: Date;
|
73
73
|
deletedAt: Date | null;
|
74
74
|
}[];
|
75
|
-
note: string | null;
|
76
75
|
callFrom: string | null;
|
77
76
|
callTo: string | null;
|
77
|
+
note: string | null;
|
78
78
|
}>>;
|
79
79
|
}, "strip", z.ZodTypeAny, {
|
80
80
|
id: string;
|
@@ -84,14 +84,14 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
84
84
|
updatedAt: Date;
|
85
85
|
deletedAt: Date | null;
|
86
86
|
entityId: string;
|
87
|
-
|
87
|
+
queueId: string | null;
|
88
|
+
contactId: string | null;
|
88
89
|
caseId: number;
|
89
90
|
entityName: string;
|
90
|
-
contactId: string | null;
|
91
|
-
queueId: string | null;
|
92
91
|
agentId: string | null;
|
93
92
|
startedDate: Date | null;
|
94
93
|
handledTime: number | null;
|
94
|
+
firstResponseTime: number | null;
|
95
95
|
wrapUpForm: {
|
96
96
|
id: string;
|
97
97
|
disposition: string | null;
|
@@ -105,9 +105,9 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
105
105
|
updatedAt: Date;
|
106
106
|
deletedAt: Date | null;
|
107
107
|
}[];
|
108
|
-
note: string | null;
|
109
108
|
callFrom: string | null;
|
110
109
|
callTo: string | null;
|
110
|
+
note: string | null;
|
111
111
|
} | null;
|
112
112
|
}, {
|
113
113
|
id: string;
|
@@ -117,14 +117,14 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
117
117
|
updatedAt: Date;
|
118
118
|
deletedAt: Date | null;
|
119
119
|
entityId: string;
|
120
|
-
|
120
|
+
queueId: string | null;
|
121
|
+
contactId: string | null;
|
121
122
|
caseId: number;
|
122
123
|
entityName: string;
|
123
|
-
contactId: string | null;
|
124
|
-
queueId: string | null;
|
125
124
|
agentId: string | null;
|
126
125
|
startedDate: Date | null;
|
127
126
|
handledTime: number | null;
|
127
|
+
firstResponseTime: number | null;
|
128
128
|
wrapUpForm: {
|
129
129
|
id: string;
|
130
130
|
disposition: string | null;
|
@@ -138,9 +138,9 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
138
138
|
updatedAt: Date;
|
139
139
|
deletedAt: Date | null;
|
140
140
|
}[];
|
141
|
-
note: string | null;
|
142
141
|
callFrom: string | null;
|
143
142
|
callTo: string | null;
|
143
|
+
note: string | null;
|
144
144
|
} | null;
|
145
145
|
}>;
|
146
146
|
export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
@@ -225,9 +225,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
225
225
|
updatedAt: Date;
|
226
226
|
deletedAt: Date | null;
|
227
227
|
}[];
|
228
|
-
note: string | null;
|
229
228
|
callFrom: string | null;
|
230
229
|
callTo: string | null;
|
230
|
+
note: string | null;
|
231
231
|
}, {
|
232
232
|
id: string;
|
233
233
|
disposition: string | null;
|
@@ -241,9 +241,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
241
241
|
updatedAt: Date;
|
242
242
|
deletedAt: Date | null;
|
243
243
|
}[];
|
244
|
-
note: string | null;
|
245
244
|
callFrom: string | null;
|
246
245
|
callTo: string | null;
|
246
|
+
note: string | null;
|
247
247
|
}>>;
|
248
248
|
room: z.ZodNullable<z.ZodObject<{
|
249
249
|
id: z.ZodString;
|
@@ -265,7 +265,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
265
265
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
266
266
|
channelId: z.ZodString;
|
267
267
|
socialPlatformId: z.ZodString;
|
268
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"
|
268
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
269
269
|
metadata: z.ZodObject<{
|
270
270
|
id: z.ZodString;
|
271
271
|
name: z.ZodString;
|
@@ -970,7 +970,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
970
970
|
}[] | undefined;
|
971
971
|
}>;
|
972
972
|
}, "strip", z.ZodTypeAny, {
|
973
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
973
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
974
974
|
id: string;
|
975
975
|
metadata: {
|
976
976
|
id: string;
|
@@ -1081,7 +1081,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
1081
1081
|
channelId: string;
|
1082
1082
|
socialPlatformId: string;
|
1083
1083
|
}, {
|
1084
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
1084
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
1085
1085
|
id: string;
|
1086
1086
|
metadata: {
|
1087
1087
|
id: string;
|
@@ -1606,7 +1606,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
1606
1606
|
updatedAt: z.ZodDate;
|
1607
1607
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1608
1608
|
name: z.ZodString;
|
1609
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"
|
1609
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
1610
1610
|
metadata: z.ZodObject<{
|
1611
1611
|
id: z.ZodString;
|
1612
1612
|
name: z.ZodString;
|
@@ -1837,7 +1837,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
1837
1837
|
};
|
1838
1838
|
}>;
|
1839
1839
|
}, "strip", z.ZodTypeAny, {
|
1840
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
1840
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
1841
1841
|
id: string;
|
1842
1842
|
name: string;
|
1843
1843
|
metadata: {
|
@@ -1901,7 +1901,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
1901
1901
|
connectedUserName: string;
|
1902
1902
|
connectedUserId: string;
|
1903
1903
|
}, {
|
1904
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
1904
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
1905
1905
|
id: string;
|
1906
1906
|
name: string;
|
1907
1907
|
metadata: {
|
@@ -1968,7 +1968,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
1968
1968
|
}, "strip", z.ZodTypeAny, {
|
1969
1969
|
id: string;
|
1970
1970
|
channel: {
|
1971
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
1971
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
1972
1972
|
id: string;
|
1973
1973
|
name: string;
|
1974
1974
|
metadata: {
|
@@ -2080,15 +2080,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2080
2080
|
telephonySignature: string | null;
|
2081
2081
|
};
|
2082
2082
|
};
|
2083
|
+
firstResponseTime: number;
|
2083
2084
|
lastMessage: string;
|
2084
2085
|
handleTime: number;
|
2085
2086
|
closeAt: Date;
|
2086
2087
|
unreadCount: number;
|
2087
2088
|
firstResponseAt: Date;
|
2088
|
-
firstResponseTime: number;
|
2089
2089
|
isLatest: boolean;
|
2090
2090
|
platformContact: {
|
2091
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
2091
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2092
2092
|
id: string;
|
2093
2093
|
metadata: {
|
2094
2094
|
id: string;
|
@@ -2246,7 +2246,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2246
2246
|
}, {
|
2247
2247
|
id: string;
|
2248
2248
|
channel: {
|
2249
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
2249
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2250
2250
|
id: string;
|
2251
2251
|
name: string;
|
2252
2252
|
metadata: {
|
@@ -2358,15 +2358,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2358
2358
|
telephonySignature: string | null;
|
2359
2359
|
};
|
2360
2360
|
};
|
2361
|
+
firstResponseTime: number;
|
2361
2362
|
lastMessage: string;
|
2362
2363
|
handleTime: number;
|
2363
2364
|
closeAt: Date;
|
2364
2365
|
unreadCount: number;
|
2365
2366
|
firstResponseAt: Date;
|
2366
|
-
firstResponseTime: number;
|
2367
2367
|
isLatest: boolean;
|
2368
2368
|
platformContact: {
|
2369
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
2369
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2370
2370
|
id: string;
|
2371
2371
|
metadata: {
|
2372
2372
|
id: string;
|
@@ -3257,6 +3257,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3257
3257
|
didNumber: z.ZodNullable<z.ZodString>;
|
3258
3258
|
agentRingTime: z.ZodNullable<z.ZodNumber>;
|
3259
3259
|
uploadId: z.ZodNullable<z.ZodString>;
|
3260
|
+
serialNumber: z.ZodNullable<z.ZodString>;
|
3260
3261
|
upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
3261
3262
|
id: z.ZodString;
|
3262
3263
|
createdAt: z.ZodDate;
|
@@ -3291,7 +3292,525 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3291
3292
|
fileUrl: string | null;
|
3292
3293
|
status?: string | undefined;
|
3293
3294
|
}>>>;
|
3294
|
-
|
3295
|
+
callParticipants: z.ZodNullable<z.ZodObject<{
|
3296
|
+
callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
3297
|
+
id: z.ZodString;
|
3298
|
+
user: z.ZodNullable<z.ZodObject<Omit<{
|
3299
|
+
id: z.ZodString;
|
3300
|
+
createdAt: z.ZodDate;
|
3301
|
+
updatedAt: z.ZodDate;
|
3302
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3303
|
+
name: z.ZodString;
|
3304
|
+
email: z.ZodString;
|
3305
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
3306
|
+
password: z.ZodString;
|
3307
|
+
address: z.ZodNullable<z.ZodString>;
|
3308
|
+
phone: z.ZodNullable<z.ZodString>;
|
3309
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
3310
|
+
roles: z.ZodArray<z.ZodObject<{
|
3311
|
+
id: z.ZodString;
|
3312
|
+
createdAt: z.ZodDate;
|
3313
|
+
updatedAt: z.ZodDate;
|
3314
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3315
|
+
systemName: z.ZodString;
|
3316
|
+
displayName: z.ZodString;
|
3317
|
+
description: z.ZodNullable<z.ZodString>;
|
3318
|
+
permissions: z.ZodArray<z.ZodObject<{
|
3319
|
+
id: z.ZodString;
|
3320
|
+
createdAt: z.ZodDate;
|
3321
|
+
updatedAt: z.ZodDate;
|
3322
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3323
|
+
systemName: z.ZodString;
|
3324
|
+
displayName: z.ZodString;
|
3325
|
+
description: z.ZodNullable<z.ZodString>;
|
3326
|
+
}, "strip", z.ZodTypeAny, {
|
3327
|
+
id: string;
|
3328
|
+
description: string | null;
|
3329
|
+
createdAt: Date;
|
3330
|
+
updatedAt: Date;
|
3331
|
+
deletedAt: Date | null;
|
3332
|
+
systemName: string;
|
3333
|
+
displayName: string;
|
3334
|
+
}, {
|
3335
|
+
id: string;
|
3336
|
+
description: string | null;
|
3337
|
+
createdAt: Date;
|
3338
|
+
updatedAt: Date;
|
3339
|
+
deletedAt: Date | null;
|
3340
|
+
systemName: string;
|
3341
|
+
displayName: string;
|
3342
|
+
}>, "many">;
|
3343
|
+
}, "strip", z.ZodTypeAny, {
|
3344
|
+
id: string;
|
3345
|
+
description: string | null;
|
3346
|
+
createdAt: Date;
|
3347
|
+
updatedAt: Date;
|
3348
|
+
deletedAt: Date | null;
|
3349
|
+
systemName: string;
|
3350
|
+
displayName: string;
|
3351
|
+
permissions: {
|
3352
|
+
id: string;
|
3353
|
+
description: string | null;
|
3354
|
+
createdAt: Date;
|
3355
|
+
updatedAt: Date;
|
3356
|
+
deletedAt: Date | null;
|
3357
|
+
systemName: string;
|
3358
|
+
displayName: string;
|
3359
|
+
}[];
|
3360
|
+
}, {
|
3361
|
+
id: string;
|
3362
|
+
description: string | null;
|
3363
|
+
createdAt: Date;
|
3364
|
+
updatedAt: Date;
|
3365
|
+
deletedAt: Date | null;
|
3366
|
+
systemName: string;
|
3367
|
+
displayName: string;
|
3368
|
+
permissions: {
|
3369
|
+
id: string;
|
3370
|
+
description: string | null;
|
3371
|
+
createdAt: Date;
|
3372
|
+
updatedAt: Date;
|
3373
|
+
deletedAt: Date | null;
|
3374
|
+
systemName: string;
|
3375
|
+
displayName: string;
|
3376
|
+
}[];
|
3377
|
+
}>, "many">;
|
3378
|
+
extension: z.ZodObject<{
|
3379
|
+
id: z.ZodString;
|
3380
|
+
createdAt: z.ZodDate;
|
3381
|
+
updatedAt: z.ZodDate;
|
3382
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3383
|
+
userId: z.ZodNullable<z.ZodString>;
|
3384
|
+
sipServerUrl: z.ZodString;
|
3385
|
+
sipUserName: z.ZodString;
|
3386
|
+
webphoneLoginUser: z.ZodString;
|
3387
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
3388
|
+
extensionName: z.ZodString;
|
3389
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
3390
|
+
}, "strip", z.ZodTypeAny, {
|
3391
|
+
id: string;
|
3392
|
+
createdAt: Date;
|
3393
|
+
updatedAt: Date;
|
3394
|
+
deletedAt: Date | null;
|
3395
|
+
userId: string | null;
|
3396
|
+
sipServerUrl: string;
|
3397
|
+
sipUserName: string;
|
3398
|
+
webphoneLoginUser: string;
|
3399
|
+
extensionId: string | null;
|
3400
|
+
extensionName: string;
|
3401
|
+
telephonySignature: string | null;
|
3402
|
+
}, {
|
3403
|
+
id: string;
|
3404
|
+
createdAt: Date;
|
3405
|
+
updatedAt: Date;
|
3406
|
+
deletedAt: Date | null;
|
3407
|
+
userId: string | null;
|
3408
|
+
sipServerUrl: string;
|
3409
|
+
sipUserName: string;
|
3410
|
+
webphoneLoginUser: string;
|
3411
|
+
extensionId: string | null;
|
3412
|
+
extensionName: string;
|
3413
|
+
telephonySignature: string | null;
|
3414
|
+
}>;
|
3415
|
+
}, "roles" | "extension">, "strip", z.ZodTypeAny, {
|
3416
|
+
id: string;
|
3417
|
+
address: string | null;
|
3418
|
+
name: string;
|
3419
|
+
email: string;
|
3420
|
+
createdAt: Date;
|
3421
|
+
updatedAt: Date;
|
3422
|
+
deletedAt: Date | null;
|
3423
|
+
emailVerifiedAt: Date | null;
|
3424
|
+
password: string;
|
3425
|
+
phone: string | null;
|
3426
|
+
notificationCount: number | null;
|
3427
|
+
}, {
|
3428
|
+
id: string;
|
3429
|
+
address: string | null;
|
3430
|
+
name: string;
|
3431
|
+
email: string;
|
3432
|
+
createdAt: Date;
|
3433
|
+
updatedAt: Date;
|
3434
|
+
deletedAt: Date | null;
|
3435
|
+
emailVerifiedAt: Date | null;
|
3436
|
+
password: string;
|
3437
|
+
phone: string | null;
|
3438
|
+
notificationCount: number | null;
|
3439
|
+
}>>;
|
3440
|
+
userId: z.ZodString;
|
3441
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
3442
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
3443
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
3444
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
3445
|
+
sipUserName: z.ZodNullable<z.ZodString>;
|
3446
|
+
sipServerUrl: z.ZodNullable<z.ZodString>;
|
3447
|
+
extensionName: z.ZodNullable<z.ZodString>;
|
3448
|
+
webphoneLoginUser: z.ZodNullable<z.ZodString>;
|
3449
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
3450
|
+
}, "strip", z.ZodTypeAny, {
|
3451
|
+
id: string;
|
3452
|
+
user: {
|
3453
|
+
id: string;
|
3454
|
+
address: string | null;
|
3455
|
+
name: string;
|
3456
|
+
email: string;
|
3457
|
+
createdAt: Date;
|
3458
|
+
updatedAt: Date;
|
3459
|
+
deletedAt: Date | null;
|
3460
|
+
emailVerifiedAt: Date | null;
|
3461
|
+
password: string;
|
3462
|
+
phone: string | null;
|
3463
|
+
notificationCount: number | null;
|
3464
|
+
} | null;
|
3465
|
+
deletedAt: string | null;
|
3466
|
+
userId: string;
|
3467
|
+
sipServerUrl: string | null;
|
3468
|
+
sipUserName: string | null;
|
3469
|
+
webphoneLoginUser: string | null;
|
3470
|
+
extensionId: string | null;
|
3471
|
+
extensionName: string | null;
|
3472
|
+
telephonySignature: string | null;
|
3473
|
+
createdAt?: string | undefined;
|
3474
|
+
updatedAt?: string | undefined;
|
3475
|
+
}, {
|
3476
|
+
id: string;
|
3477
|
+
user: {
|
3478
|
+
id: string;
|
3479
|
+
address: string | null;
|
3480
|
+
name: string;
|
3481
|
+
email: string;
|
3482
|
+
createdAt: Date;
|
3483
|
+
updatedAt: Date;
|
3484
|
+
deletedAt: Date | null;
|
3485
|
+
emailVerifiedAt: Date | null;
|
3486
|
+
password: string;
|
3487
|
+
phone: string | null;
|
3488
|
+
notificationCount: number | null;
|
3489
|
+
} | null;
|
3490
|
+
deletedAt: string | null;
|
3491
|
+
userId: string;
|
3492
|
+
sipServerUrl: string | null;
|
3493
|
+
sipUserName: string | null;
|
3494
|
+
webphoneLoginUser: string | null;
|
3495
|
+
extensionId: string | null;
|
3496
|
+
extensionName: string | null;
|
3497
|
+
telephonySignature: string | null;
|
3498
|
+
createdAt?: string | undefined;
|
3499
|
+
updatedAt?: string | undefined;
|
3500
|
+
}>>>;
|
3501
|
+
callFrom: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
3502
|
+
id: z.ZodString;
|
3503
|
+
user: z.ZodNullable<z.ZodObject<Omit<{
|
3504
|
+
id: z.ZodString;
|
3505
|
+
createdAt: z.ZodDate;
|
3506
|
+
updatedAt: z.ZodDate;
|
3507
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3508
|
+
name: z.ZodString;
|
3509
|
+
email: z.ZodString;
|
3510
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
3511
|
+
password: z.ZodString;
|
3512
|
+
address: z.ZodNullable<z.ZodString>;
|
3513
|
+
phone: z.ZodNullable<z.ZodString>;
|
3514
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
3515
|
+
roles: z.ZodArray<z.ZodObject<{
|
3516
|
+
id: z.ZodString;
|
3517
|
+
createdAt: z.ZodDate;
|
3518
|
+
updatedAt: z.ZodDate;
|
3519
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3520
|
+
systemName: z.ZodString;
|
3521
|
+
displayName: z.ZodString;
|
3522
|
+
description: z.ZodNullable<z.ZodString>;
|
3523
|
+
permissions: z.ZodArray<z.ZodObject<{
|
3524
|
+
id: z.ZodString;
|
3525
|
+
createdAt: z.ZodDate;
|
3526
|
+
updatedAt: z.ZodDate;
|
3527
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3528
|
+
systemName: z.ZodString;
|
3529
|
+
displayName: z.ZodString;
|
3530
|
+
description: z.ZodNullable<z.ZodString>;
|
3531
|
+
}, "strip", z.ZodTypeAny, {
|
3532
|
+
id: string;
|
3533
|
+
description: string | null;
|
3534
|
+
createdAt: Date;
|
3535
|
+
updatedAt: Date;
|
3536
|
+
deletedAt: Date | null;
|
3537
|
+
systemName: string;
|
3538
|
+
displayName: string;
|
3539
|
+
}, {
|
3540
|
+
id: string;
|
3541
|
+
description: string | null;
|
3542
|
+
createdAt: Date;
|
3543
|
+
updatedAt: Date;
|
3544
|
+
deletedAt: Date | null;
|
3545
|
+
systemName: string;
|
3546
|
+
displayName: string;
|
3547
|
+
}>, "many">;
|
3548
|
+
}, "strip", z.ZodTypeAny, {
|
3549
|
+
id: string;
|
3550
|
+
description: string | null;
|
3551
|
+
createdAt: Date;
|
3552
|
+
updatedAt: Date;
|
3553
|
+
deletedAt: Date | null;
|
3554
|
+
systemName: string;
|
3555
|
+
displayName: string;
|
3556
|
+
permissions: {
|
3557
|
+
id: string;
|
3558
|
+
description: string | null;
|
3559
|
+
createdAt: Date;
|
3560
|
+
updatedAt: Date;
|
3561
|
+
deletedAt: Date | null;
|
3562
|
+
systemName: string;
|
3563
|
+
displayName: string;
|
3564
|
+
}[];
|
3565
|
+
}, {
|
3566
|
+
id: string;
|
3567
|
+
description: string | null;
|
3568
|
+
createdAt: Date;
|
3569
|
+
updatedAt: Date;
|
3570
|
+
deletedAt: Date | null;
|
3571
|
+
systemName: string;
|
3572
|
+
displayName: string;
|
3573
|
+
permissions: {
|
3574
|
+
id: string;
|
3575
|
+
description: string | null;
|
3576
|
+
createdAt: Date;
|
3577
|
+
updatedAt: Date;
|
3578
|
+
deletedAt: Date | null;
|
3579
|
+
systemName: string;
|
3580
|
+
displayName: string;
|
3581
|
+
}[];
|
3582
|
+
}>, "many">;
|
3583
|
+
extension: z.ZodObject<{
|
3584
|
+
id: z.ZodString;
|
3585
|
+
createdAt: z.ZodDate;
|
3586
|
+
updatedAt: z.ZodDate;
|
3587
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3588
|
+
userId: z.ZodNullable<z.ZodString>;
|
3589
|
+
sipServerUrl: z.ZodString;
|
3590
|
+
sipUserName: z.ZodString;
|
3591
|
+
webphoneLoginUser: z.ZodString;
|
3592
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
3593
|
+
extensionName: z.ZodString;
|
3594
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
3595
|
+
}, "strip", z.ZodTypeAny, {
|
3596
|
+
id: string;
|
3597
|
+
createdAt: Date;
|
3598
|
+
updatedAt: Date;
|
3599
|
+
deletedAt: Date | null;
|
3600
|
+
userId: string | null;
|
3601
|
+
sipServerUrl: string;
|
3602
|
+
sipUserName: string;
|
3603
|
+
webphoneLoginUser: string;
|
3604
|
+
extensionId: string | null;
|
3605
|
+
extensionName: string;
|
3606
|
+
telephonySignature: string | null;
|
3607
|
+
}, {
|
3608
|
+
id: string;
|
3609
|
+
createdAt: Date;
|
3610
|
+
updatedAt: Date;
|
3611
|
+
deletedAt: Date | null;
|
3612
|
+
userId: string | null;
|
3613
|
+
sipServerUrl: string;
|
3614
|
+
sipUserName: string;
|
3615
|
+
webphoneLoginUser: string;
|
3616
|
+
extensionId: string | null;
|
3617
|
+
extensionName: string;
|
3618
|
+
telephonySignature: string | null;
|
3619
|
+
}>;
|
3620
|
+
}, "roles" | "extension">, "strip", z.ZodTypeAny, {
|
3621
|
+
id: string;
|
3622
|
+
address: string | null;
|
3623
|
+
name: string;
|
3624
|
+
email: string;
|
3625
|
+
createdAt: Date;
|
3626
|
+
updatedAt: Date;
|
3627
|
+
deletedAt: Date | null;
|
3628
|
+
emailVerifiedAt: Date | null;
|
3629
|
+
password: string;
|
3630
|
+
phone: string | null;
|
3631
|
+
notificationCount: number | null;
|
3632
|
+
}, {
|
3633
|
+
id: string;
|
3634
|
+
address: string | null;
|
3635
|
+
name: string;
|
3636
|
+
email: string;
|
3637
|
+
createdAt: Date;
|
3638
|
+
updatedAt: Date;
|
3639
|
+
deletedAt: Date | null;
|
3640
|
+
emailVerifiedAt: Date | null;
|
3641
|
+
password: string;
|
3642
|
+
phone: string | null;
|
3643
|
+
notificationCount: number | null;
|
3644
|
+
}>>;
|
3645
|
+
userId: z.ZodString;
|
3646
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
3647
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
3648
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
3649
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
3650
|
+
sipUserName: z.ZodNullable<z.ZodString>;
|
3651
|
+
sipServerUrl: z.ZodNullable<z.ZodString>;
|
3652
|
+
extensionName: z.ZodNullable<z.ZodString>;
|
3653
|
+
webphoneLoginUser: z.ZodNullable<z.ZodString>;
|
3654
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
3655
|
+
}, "strip", z.ZodTypeAny, {
|
3656
|
+
id: string;
|
3657
|
+
user: {
|
3658
|
+
id: string;
|
3659
|
+
address: string | null;
|
3660
|
+
name: string;
|
3661
|
+
email: string;
|
3662
|
+
createdAt: Date;
|
3663
|
+
updatedAt: Date;
|
3664
|
+
deletedAt: Date | null;
|
3665
|
+
emailVerifiedAt: Date | null;
|
3666
|
+
password: string;
|
3667
|
+
phone: string | null;
|
3668
|
+
notificationCount: number | null;
|
3669
|
+
} | null;
|
3670
|
+
deletedAt: string | null;
|
3671
|
+
userId: string;
|
3672
|
+
sipServerUrl: string | null;
|
3673
|
+
sipUserName: string | null;
|
3674
|
+
webphoneLoginUser: string | null;
|
3675
|
+
extensionId: string | null;
|
3676
|
+
extensionName: string | null;
|
3677
|
+
telephonySignature: string | null;
|
3678
|
+
createdAt?: string | undefined;
|
3679
|
+
updatedAt?: string | undefined;
|
3680
|
+
}, {
|
3681
|
+
id: string;
|
3682
|
+
user: {
|
3683
|
+
id: string;
|
3684
|
+
address: string | null;
|
3685
|
+
name: string;
|
3686
|
+
email: string;
|
3687
|
+
createdAt: Date;
|
3688
|
+
updatedAt: Date;
|
3689
|
+
deletedAt: Date | null;
|
3690
|
+
emailVerifiedAt: Date | null;
|
3691
|
+
password: string;
|
3692
|
+
phone: string | null;
|
3693
|
+
notificationCount: number | null;
|
3694
|
+
} | null;
|
3695
|
+
deletedAt: string | null;
|
3696
|
+
userId: string;
|
3697
|
+
sipServerUrl: string | null;
|
3698
|
+
sipUserName: string | null;
|
3699
|
+
webphoneLoginUser: string | null;
|
3700
|
+
extensionId: string | null;
|
3701
|
+
extensionName: string | null;
|
3702
|
+
telephonySignature: string | null;
|
3703
|
+
createdAt?: string | undefined;
|
3704
|
+
updatedAt?: string | undefined;
|
3705
|
+
}>>>;
|
3706
|
+
}, "strip", z.ZodTypeAny, {
|
3707
|
+
callTo?: {
|
3708
|
+
id: string;
|
3709
|
+
user: {
|
3710
|
+
id: string;
|
3711
|
+
address: string | null;
|
3712
|
+
name: string;
|
3713
|
+
email: string;
|
3714
|
+
createdAt: Date;
|
3715
|
+
updatedAt: Date;
|
3716
|
+
deletedAt: Date | null;
|
3717
|
+
emailVerifiedAt: Date | null;
|
3718
|
+
password: string;
|
3719
|
+
phone: string | null;
|
3720
|
+
notificationCount: number | null;
|
3721
|
+
} | null;
|
3722
|
+
deletedAt: string | null;
|
3723
|
+
userId: string;
|
3724
|
+
sipServerUrl: string | null;
|
3725
|
+
sipUserName: string | null;
|
3726
|
+
webphoneLoginUser: string | null;
|
3727
|
+
extensionId: string | null;
|
3728
|
+
extensionName: string | null;
|
3729
|
+
telephonySignature: string | null;
|
3730
|
+
createdAt?: string | undefined;
|
3731
|
+
updatedAt?: string | undefined;
|
3732
|
+
} | null | undefined;
|
3733
|
+
callFrom?: {
|
3734
|
+
id: string;
|
3735
|
+
user: {
|
3736
|
+
id: string;
|
3737
|
+
address: string | null;
|
3738
|
+
name: string;
|
3739
|
+
email: string;
|
3740
|
+
createdAt: Date;
|
3741
|
+
updatedAt: Date;
|
3742
|
+
deletedAt: Date | null;
|
3743
|
+
emailVerifiedAt: Date | null;
|
3744
|
+
password: string;
|
3745
|
+
phone: string | null;
|
3746
|
+
notificationCount: number | null;
|
3747
|
+
} | null;
|
3748
|
+
deletedAt: string | null;
|
3749
|
+
userId: string;
|
3750
|
+
sipServerUrl: string | null;
|
3751
|
+
sipUserName: string | null;
|
3752
|
+
webphoneLoginUser: string | null;
|
3753
|
+
extensionId: string | null;
|
3754
|
+
extensionName: string | null;
|
3755
|
+
telephonySignature: string | null;
|
3756
|
+
createdAt?: string | undefined;
|
3757
|
+
updatedAt?: string | undefined;
|
3758
|
+
} | null | undefined;
|
3759
|
+
}, {
|
3760
|
+
callTo?: {
|
3761
|
+
id: string;
|
3762
|
+
user: {
|
3763
|
+
id: string;
|
3764
|
+
address: string | null;
|
3765
|
+
name: string;
|
3766
|
+
email: string;
|
3767
|
+
createdAt: Date;
|
3768
|
+
updatedAt: Date;
|
3769
|
+
deletedAt: Date | null;
|
3770
|
+
emailVerifiedAt: Date | null;
|
3771
|
+
password: string;
|
3772
|
+
phone: string | null;
|
3773
|
+
notificationCount: number | null;
|
3774
|
+
} | null;
|
3775
|
+
deletedAt: string | null;
|
3776
|
+
userId: string;
|
3777
|
+
sipServerUrl: string | null;
|
3778
|
+
sipUserName: string | null;
|
3779
|
+
webphoneLoginUser: string | null;
|
3780
|
+
extensionId: string | null;
|
3781
|
+
extensionName: string | null;
|
3782
|
+
telephonySignature: string | null;
|
3783
|
+
createdAt?: string | undefined;
|
3784
|
+
updatedAt?: string | undefined;
|
3785
|
+
} | null | undefined;
|
3786
|
+
callFrom?: {
|
3787
|
+
id: string;
|
3788
|
+
user: {
|
3789
|
+
id: string;
|
3790
|
+
address: string | null;
|
3791
|
+
name: string;
|
3792
|
+
email: string;
|
3793
|
+
createdAt: Date;
|
3794
|
+
updatedAt: Date;
|
3795
|
+
deletedAt: Date | null;
|
3796
|
+
emailVerifiedAt: Date | null;
|
3797
|
+
password: string;
|
3798
|
+
phone: string | null;
|
3799
|
+
notificationCount: number | null;
|
3800
|
+
} | null;
|
3801
|
+
deletedAt: string | null;
|
3802
|
+
userId: string;
|
3803
|
+
sipServerUrl: string | null;
|
3804
|
+
sipUserName: string | null;
|
3805
|
+
webphoneLoginUser: string | null;
|
3806
|
+
extensionId: string | null;
|
3807
|
+
extensionName: string | null;
|
3808
|
+
telephonySignature: string | null;
|
3809
|
+
createdAt?: string | undefined;
|
3810
|
+
updatedAt?: string | undefined;
|
3811
|
+
} | null | undefined;
|
3812
|
+
}>>;
|
3813
|
+
isQueueMissedCall: z.ZodBoolean;
|
3295
3814
|
extensionId: z.ZodNullable<z.ZodString>;
|
3296
3815
|
extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
3297
3816
|
id: z.ZodString;
|
@@ -3633,11 +4152,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3633
4152
|
updatedAt: Date;
|
3634
4153
|
deletedAt: Date | null;
|
3635
4154
|
extensionId: string | null;
|
3636
|
-
contactId: string | null;
|
3637
|
-
callFrom: string;
|
3638
|
-
callTo: string;
|
3639
4155
|
uniqueCallId: string;
|
3640
4156
|
timeStart: string;
|
4157
|
+
callFrom: string;
|
4158
|
+
callTo: string;
|
3641
4159
|
callDuration: number | null;
|
3642
4160
|
talkDuration: number | null;
|
3643
4161
|
srcTrunkName: string | null;
|
@@ -3647,7 +4165,63 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3647
4165
|
agentRingTime: number | null;
|
3648
4166
|
uploadId: string | null;
|
3649
4167
|
serialNumber: string | null;
|
4168
|
+
callParticipants: {
|
4169
|
+
callTo?: {
|
4170
|
+
id: string;
|
4171
|
+
user: {
|
4172
|
+
id: string;
|
4173
|
+
address: string | null;
|
4174
|
+
name: string;
|
4175
|
+
email: string;
|
4176
|
+
createdAt: Date;
|
4177
|
+
updatedAt: Date;
|
4178
|
+
deletedAt: Date | null;
|
4179
|
+
emailVerifiedAt: Date | null;
|
4180
|
+
password: string;
|
4181
|
+
phone: string | null;
|
4182
|
+
notificationCount: number | null;
|
4183
|
+
} | null;
|
4184
|
+
deletedAt: string | null;
|
4185
|
+
userId: string;
|
4186
|
+
sipServerUrl: string | null;
|
4187
|
+
sipUserName: string | null;
|
4188
|
+
webphoneLoginUser: string | null;
|
4189
|
+
extensionId: string | null;
|
4190
|
+
extensionName: string | null;
|
4191
|
+
telephonySignature: string | null;
|
4192
|
+
createdAt?: string | undefined;
|
4193
|
+
updatedAt?: string | undefined;
|
4194
|
+
} | null | undefined;
|
4195
|
+
callFrom?: {
|
4196
|
+
id: string;
|
4197
|
+
user: {
|
4198
|
+
id: string;
|
4199
|
+
address: string | null;
|
4200
|
+
name: string;
|
4201
|
+
email: string;
|
4202
|
+
createdAt: Date;
|
4203
|
+
updatedAt: Date;
|
4204
|
+
deletedAt: Date | null;
|
4205
|
+
emailVerifiedAt: Date | null;
|
4206
|
+
password: string;
|
4207
|
+
phone: string | null;
|
4208
|
+
notificationCount: number | null;
|
4209
|
+
} | null;
|
4210
|
+
deletedAt: string | null;
|
4211
|
+
userId: string;
|
4212
|
+
sipServerUrl: string | null;
|
4213
|
+
sipUserName: string | null;
|
4214
|
+
webphoneLoginUser: string | null;
|
4215
|
+
extensionId: string | null;
|
4216
|
+
extensionName: string | null;
|
4217
|
+
telephonySignature: string | null;
|
4218
|
+
createdAt?: string | undefined;
|
4219
|
+
updatedAt?: string | undefined;
|
4220
|
+
} | null | undefined;
|
4221
|
+
} | null;
|
4222
|
+
isQueueMissedCall: boolean;
|
3650
4223
|
telephonyQueueId: string | null;
|
4224
|
+
contactId: string | null;
|
3651
4225
|
contact?: {
|
3652
4226
|
id: string;
|
3653
4227
|
channel: string | null;
|
@@ -3833,11 +4407,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3833
4407
|
updatedAt: Date;
|
3834
4408
|
deletedAt: Date | null;
|
3835
4409
|
extensionId: string | null;
|
3836
|
-
contactId: string | null;
|
3837
|
-
callFrom: string;
|
3838
|
-
callTo: string;
|
3839
4410
|
uniqueCallId: string;
|
3840
4411
|
timeStart: string;
|
4412
|
+
callFrom: string;
|
4413
|
+
callTo: string;
|
3841
4414
|
callDuration: number | null;
|
3842
4415
|
talkDuration: number | null;
|
3843
4416
|
srcTrunkName: string | null;
|
@@ -3847,7 +4420,63 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3847
4420
|
agentRingTime: number | null;
|
3848
4421
|
uploadId: string | null;
|
3849
4422
|
serialNumber: string | null;
|
4423
|
+
callParticipants: {
|
4424
|
+
callTo?: {
|
4425
|
+
id: string;
|
4426
|
+
user: {
|
4427
|
+
id: string;
|
4428
|
+
address: string | null;
|
4429
|
+
name: string;
|
4430
|
+
email: string;
|
4431
|
+
createdAt: Date;
|
4432
|
+
updatedAt: Date;
|
4433
|
+
deletedAt: Date | null;
|
4434
|
+
emailVerifiedAt: Date | null;
|
4435
|
+
password: string;
|
4436
|
+
phone: string | null;
|
4437
|
+
notificationCount: number | null;
|
4438
|
+
} | null;
|
4439
|
+
deletedAt: string | null;
|
4440
|
+
userId: string;
|
4441
|
+
sipServerUrl: string | null;
|
4442
|
+
sipUserName: string | null;
|
4443
|
+
webphoneLoginUser: string | null;
|
4444
|
+
extensionId: string | null;
|
4445
|
+
extensionName: string | null;
|
4446
|
+
telephonySignature: string | null;
|
4447
|
+
createdAt?: string | undefined;
|
4448
|
+
updatedAt?: string | undefined;
|
4449
|
+
} | null | undefined;
|
4450
|
+
callFrom?: {
|
4451
|
+
id: string;
|
4452
|
+
user: {
|
4453
|
+
id: string;
|
4454
|
+
address: string | null;
|
4455
|
+
name: string;
|
4456
|
+
email: string;
|
4457
|
+
createdAt: Date;
|
4458
|
+
updatedAt: Date;
|
4459
|
+
deletedAt: Date | null;
|
4460
|
+
emailVerifiedAt: Date | null;
|
4461
|
+
password: string;
|
4462
|
+
phone: string | null;
|
4463
|
+
notificationCount: number | null;
|
4464
|
+
} | null;
|
4465
|
+
deletedAt: string | null;
|
4466
|
+
userId: string;
|
4467
|
+
sipServerUrl: string | null;
|
4468
|
+
sipUserName: string | null;
|
4469
|
+
webphoneLoginUser: string | null;
|
4470
|
+
extensionId: string | null;
|
4471
|
+
extensionName: string | null;
|
4472
|
+
telephonySignature: string | null;
|
4473
|
+
createdAt?: string | undefined;
|
4474
|
+
updatedAt?: string | undefined;
|
4475
|
+
} | null | undefined;
|
4476
|
+
} | null;
|
4477
|
+
isQueueMissedCall: boolean;
|
3850
4478
|
telephonyQueueId: string | null;
|
4479
|
+
contactId: string | null;
|
3851
4480
|
contact?: {
|
3852
4481
|
id: string;
|
3853
4482
|
channel: string | null;
|
@@ -5029,11 +5658,11 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5029
5658
|
};
|
5030
5659
|
}[] | undefined;
|
5031
5660
|
} | null;
|
5032
|
-
firstResponseTime: string | null;
|
5033
5661
|
caseId: number;
|
5034
5662
|
entityName: string;
|
5035
5663
|
startedDate: string | null;
|
5036
5664
|
handledTime: string | null;
|
5665
|
+
firstResponseTime: string | null;
|
5037
5666
|
wrapUpForm: {
|
5038
5667
|
id: string;
|
5039
5668
|
disposition: string | null;
|
@@ -5047,14 +5676,26 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5047
5676
|
updatedAt: Date;
|
5048
5677
|
deletedAt: Date | null;
|
5049
5678
|
}[];
|
5050
|
-
note: string | null;
|
5051
5679
|
callFrom: string | null;
|
5052
5680
|
callTo: string | null;
|
5681
|
+
note: string | null;
|
5682
|
+
} | null;
|
5683
|
+
customerPhone: string | null;
|
5684
|
+
channelType: string | null;
|
5685
|
+
slaMeet: string | null;
|
5686
|
+
evaluateForm: {
|
5687
|
+
id: string;
|
5688
|
+
createdAt: Date;
|
5689
|
+
updatedAt: Date;
|
5690
|
+
deletedAt: Date | null;
|
5691
|
+
cxLogId: string;
|
5692
|
+
sentimentScore?: string | null | undefined;
|
5693
|
+
csatScore?: string | null | undefined;
|
5053
5694
|
} | null;
|
5054
5695
|
room: {
|
5055
5696
|
id: string;
|
5056
5697
|
channel: {
|
5057
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
5698
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
5058
5699
|
id: string;
|
5059
5700
|
name: string;
|
5060
5701
|
metadata: {
|
@@ -5166,15 +5807,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5166
5807
|
telephonySignature: string | null;
|
5167
5808
|
};
|
5168
5809
|
};
|
5810
|
+
firstResponseTime: number;
|
5169
5811
|
lastMessage: string;
|
5170
5812
|
handleTime: number;
|
5171
5813
|
closeAt: Date;
|
5172
5814
|
unreadCount: number;
|
5173
5815
|
firstResponseAt: Date;
|
5174
|
-
firstResponseTime: number;
|
5175
5816
|
isLatest: boolean;
|
5176
5817
|
platformContact: {
|
5177
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
5818
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
5178
5819
|
id: string;
|
5179
5820
|
metadata: {
|
5180
5821
|
id: string;
|
@@ -5330,18 +5971,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5330
5971
|
};
|
5331
5972
|
};
|
5332
5973
|
} | null;
|
5333
|
-
customerPhone: string | null;
|
5334
|
-
channelType: string | null;
|
5335
|
-
slaMeet: string | null;
|
5336
|
-
evaluateForm: {
|
5337
|
-
id: string;
|
5338
|
-
createdAt: Date;
|
5339
|
-
updatedAt: Date;
|
5340
|
-
deletedAt: Date | null;
|
5341
|
-
cxLogId: string;
|
5342
|
-
sentimentScore?: string | null | undefined;
|
5343
|
-
csatScore?: string | null | undefined;
|
5344
|
-
} | null;
|
5345
5974
|
telephonyCdr: {
|
5346
5975
|
type: string;
|
5347
5976
|
id: string;
|
@@ -5351,11 +5980,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5351
5980
|
updatedAt: Date;
|
5352
5981
|
deletedAt: Date | null;
|
5353
5982
|
extensionId: string | null;
|
5354
|
-
contactId: string | null;
|
5355
|
-
callFrom: string;
|
5356
|
-
callTo: string;
|
5357
5983
|
uniqueCallId: string;
|
5358
5984
|
timeStart: string;
|
5985
|
+
callFrom: string;
|
5986
|
+
callTo: string;
|
5359
5987
|
callDuration: number | null;
|
5360
5988
|
talkDuration: number | null;
|
5361
5989
|
srcTrunkName: string | null;
|
@@ -5365,7 +5993,63 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5365
5993
|
agentRingTime: number | null;
|
5366
5994
|
uploadId: string | null;
|
5367
5995
|
serialNumber: string | null;
|
5996
|
+
callParticipants: {
|
5997
|
+
callTo?: {
|
5998
|
+
id: string;
|
5999
|
+
user: {
|
6000
|
+
id: string;
|
6001
|
+
address: string | null;
|
6002
|
+
name: string;
|
6003
|
+
email: string;
|
6004
|
+
createdAt: Date;
|
6005
|
+
updatedAt: Date;
|
6006
|
+
deletedAt: Date | null;
|
6007
|
+
emailVerifiedAt: Date | null;
|
6008
|
+
password: string;
|
6009
|
+
phone: string | null;
|
6010
|
+
notificationCount: number | null;
|
6011
|
+
} | null;
|
6012
|
+
deletedAt: string | null;
|
6013
|
+
userId: string;
|
6014
|
+
sipServerUrl: string | null;
|
6015
|
+
sipUserName: string | null;
|
6016
|
+
webphoneLoginUser: string | null;
|
6017
|
+
extensionId: string | null;
|
6018
|
+
extensionName: string | null;
|
6019
|
+
telephonySignature: string | null;
|
6020
|
+
createdAt?: string | undefined;
|
6021
|
+
updatedAt?: string | undefined;
|
6022
|
+
} | null | undefined;
|
6023
|
+
callFrom?: {
|
6024
|
+
id: string;
|
6025
|
+
user: {
|
6026
|
+
id: string;
|
6027
|
+
address: string | null;
|
6028
|
+
name: string;
|
6029
|
+
email: string;
|
6030
|
+
createdAt: Date;
|
6031
|
+
updatedAt: Date;
|
6032
|
+
deletedAt: Date | null;
|
6033
|
+
emailVerifiedAt: Date | null;
|
6034
|
+
password: string;
|
6035
|
+
phone: string | null;
|
6036
|
+
notificationCount: number | null;
|
6037
|
+
} | null;
|
6038
|
+
deletedAt: string | null;
|
6039
|
+
userId: string;
|
6040
|
+
sipServerUrl: string | null;
|
6041
|
+
sipUserName: string | null;
|
6042
|
+
webphoneLoginUser: string | null;
|
6043
|
+
extensionId: string | null;
|
6044
|
+
extensionName: string | null;
|
6045
|
+
telephonySignature: string | null;
|
6046
|
+
createdAt?: string | undefined;
|
6047
|
+
updatedAt?: string | undefined;
|
6048
|
+
} | null | undefined;
|
6049
|
+
} | null;
|
6050
|
+
isQueueMissedCall: boolean;
|
5368
6051
|
telephonyQueueId: string | null;
|
6052
|
+
contactId: string | null;
|
5369
6053
|
contact?: {
|
5370
6054
|
id: string;
|
5371
6055
|
channel: string | null;
|
@@ -5696,11 +6380,11 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5696
6380
|
};
|
5697
6381
|
}[] | undefined;
|
5698
6382
|
} | null;
|
5699
|
-
firstResponseTime: string | null;
|
5700
6383
|
caseId: number;
|
5701
6384
|
entityName: string;
|
5702
6385
|
startedDate: string | null;
|
5703
6386
|
handledTime: string | null;
|
6387
|
+
firstResponseTime: string | null;
|
5704
6388
|
wrapUpForm: {
|
5705
6389
|
id: string;
|
5706
6390
|
disposition: string | null;
|
@@ -5714,14 +6398,26 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5714
6398
|
updatedAt: Date;
|
5715
6399
|
deletedAt: Date | null;
|
5716
6400
|
}[];
|
5717
|
-
note: string | null;
|
5718
6401
|
callFrom: string | null;
|
5719
6402
|
callTo: string | null;
|
6403
|
+
note: string | null;
|
6404
|
+
} | null;
|
6405
|
+
customerPhone: string | null;
|
6406
|
+
channelType: string | null;
|
6407
|
+
slaMeet: string | null;
|
6408
|
+
evaluateForm: {
|
6409
|
+
id: string;
|
6410
|
+
createdAt: Date;
|
6411
|
+
updatedAt: Date;
|
6412
|
+
deletedAt: Date | null;
|
6413
|
+
cxLogId: string;
|
6414
|
+
sentimentScore?: string | null | undefined;
|
6415
|
+
csatScore?: string | null | undefined;
|
5720
6416
|
} | null;
|
5721
6417
|
room: {
|
5722
6418
|
id: string;
|
5723
6419
|
channel: {
|
5724
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
6420
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
5725
6421
|
id: string;
|
5726
6422
|
name: string;
|
5727
6423
|
metadata: {
|
@@ -5833,15 +6529,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5833
6529
|
telephonySignature: string | null;
|
5834
6530
|
};
|
5835
6531
|
};
|
6532
|
+
firstResponseTime: number;
|
5836
6533
|
lastMessage: string;
|
5837
6534
|
handleTime: number;
|
5838
6535
|
closeAt: Date;
|
5839
6536
|
unreadCount: number;
|
5840
6537
|
firstResponseAt: Date;
|
5841
|
-
firstResponseTime: number;
|
5842
6538
|
isLatest: boolean;
|
5843
6539
|
platformContact: {
|
5844
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
6540
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
5845
6541
|
id: string;
|
5846
6542
|
metadata: {
|
5847
6543
|
id: string;
|
@@ -5997,18 +6693,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5997
6693
|
};
|
5998
6694
|
};
|
5999
6695
|
} | null;
|
6000
|
-
customerPhone: string | null;
|
6001
|
-
channelType: string | null;
|
6002
|
-
slaMeet: string | null;
|
6003
|
-
evaluateForm: {
|
6004
|
-
id: string;
|
6005
|
-
createdAt: Date;
|
6006
|
-
updatedAt: Date;
|
6007
|
-
deletedAt: Date | null;
|
6008
|
-
cxLogId: string;
|
6009
|
-
sentimentScore?: string | null | undefined;
|
6010
|
-
csatScore?: string | null | undefined;
|
6011
|
-
} | null;
|
6012
6696
|
telephonyCdr: {
|
6013
6697
|
type: string;
|
6014
6698
|
id: string;
|
@@ -6018,11 +6702,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6018
6702
|
updatedAt: Date;
|
6019
6703
|
deletedAt: Date | null;
|
6020
6704
|
extensionId: string | null;
|
6021
|
-
contactId: string | null;
|
6022
|
-
callFrom: string;
|
6023
|
-
callTo: string;
|
6024
6705
|
uniqueCallId: string;
|
6025
6706
|
timeStart: string;
|
6707
|
+
callFrom: string;
|
6708
|
+
callTo: string;
|
6026
6709
|
callDuration: number | null;
|
6027
6710
|
talkDuration: number | null;
|
6028
6711
|
srcTrunkName: string | null;
|
@@ -6032,7 +6715,63 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6032
6715
|
agentRingTime: number | null;
|
6033
6716
|
uploadId: string | null;
|
6034
6717
|
serialNumber: string | null;
|
6718
|
+
callParticipants: {
|
6719
|
+
callTo?: {
|
6720
|
+
id: string;
|
6721
|
+
user: {
|
6722
|
+
id: string;
|
6723
|
+
address: string | null;
|
6724
|
+
name: string;
|
6725
|
+
email: string;
|
6726
|
+
createdAt: Date;
|
6727
|
+
updatedAt: Date;
|
6728
|
+
deletedAt: Date | null;
|
6729
|
+
emailVerifiedAt: Date | null;
|
6730
|
+
password: string;
|
6731
|
+
phone: string | null;
|
6732
|
+
notificationCount: number | null;
|
6733
|
+
} | null;
|
6734
|
+
deletedAt: string | null;
|
6735
|
+
userId: string;
|
6736
|
+
sipServerUrl: string | null;
|
6737
|
+
sipUserName: string | null;
|
6738
|
+
webphoneLoginUser: string | null;
|
6739
|
+
extensionId: string | null;
|
6740
|
+
extensionName: string | null;
|
6741
|
+
telephonySignature: string | null;
|
6742
|
+
createdAt?: string | undefined;
|
6743
|
+
updatedAt?: string | undefined;
|
6744
|
+
} | null | undefined;
|
6745
|
+
callFrom?: {
|
6746
|
+
id: string;
|
6747
|
+
user: {
|
6748
|
+
id: string;
|
6749
|
+
address: string | null;
|
6750
|
+
name: string;
|
6751
|
+
email: string;
|
6752
|
+
createdAt: Date;
|
6753
|
+
updatedAt: Date;
|
6754
|
+
deletedAt: Date | null;
|
6755
|
+
emailVerifiedAt: Date | null;
|
6756
|
+
password: string;
|
6757
|
+
phone: string | null;
|
6758
|
+
notificationCount: number | null;
|
6759
|
+
} | null;
|
6760
|
+
deletedAt: string | null;
|
6761
|
+
userId: string;
|
6762
|
+
sipServerUrl: string | null;
|
6763
|
+
sipUserName: string | null;
|
6764
|
+
webphoneLoginUser: string | null;
|
6765
|
+
extensionId: string | null;
|
6766
|
+
extensionName: string | null;
|
6767
|
+
telephonySignature: string | null;
|
6768
|
+
createdAt?: string | undefined;
|
6769
|
+
updatedAt?: string | undefined;
|
6770
|
+
} | null | undefined;
|
6771
|
+
} | null;
|
6772
|
+
isQueueMissedCall: boolean;
|
6035
6773
|
telephonyQueueId: string | null;
|
6774
|
+
contactId: string | null;
|
6036
6775
|
contact?: {
|
6037
6776
|
id: string;
|
6038
6777
|
channel: string | null;
|