@kl1/contracts 1.0.78 → 1.0.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/index.js +1745 -1392
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1744 -1392
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/call-log/schema.d.ts +6 -6
  6. package/dist/src/call-log/validation.d.ts +4 -4
  7. package/dist/src/channel/index.d.ts +59 -59
  8. package/dist/src/channel/schema.d.ts +4 -4
  9. package/dist/src/channel/schema.d.ts.map +1 -1
  10. package/dist/src/channel/validation.d.ts +3 -3
  11. package/dist/src/chat/index.d.ts +7108 -3826
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +3391 -1087
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +1945 -304
  16. package/dist/src/chat/validation.d.ts.map +1 -1
  17. package/dist/src/comment/index.d.ts +584 -584
  18. package/dist/src/comment/schema.d.ts +144 -144
  19. package/dist/src/contact/index.d.ts +4 -1
  20. package/dist/src/contact/index.d.ts.map +1 -1
  21. package/dist/src/contact/schema.d.ts +156 -0
  22. package/dist/src/contact/schema.d.ts.map +1 -1
  23. package/dist/src/contract.d.ts +25031 -10471
  24. package/dist/src/contract.d.ts.map +1 -1
  25. package/dist/src/cx-log/index.d.ts +948 -205
  26. package/dist/src/cx-log/index.d.ts.map +1 -1
  27. package/dist/src/cx-log/schema.d.ts +920 -263
  28. package/dist/src/cx-log/schema.d.ts.map +1 -1
  29. package/dist/src/dashboard/index.d.ts +4 -4
  30. package/dist/src/dashboard/schema.d.ts +2 -2
  31. package/dist/src/index.d.ts +0 -1
  32. package/dist/src/index.d.ts.map +1 -1
  33. package/dist/src/instagram/index.d.ts +2162 -343
  34. package/dist/src/instagram/index.d.ts.map +1 -1
  35. package/dist/src/line/index.d.ts +1912 -271
  36. package/dist/src/line/index.d.ts.map +1 -1
  37. package/dist/src/mail/mail-contract.d.ts +130 -130
  38. package/dist/src/mail/message-contract.d.ts +6 -6
  39. package/dist/src/mail/room-contract.d.ts +124 -124
  40. package/dist/src/mail/schemas/message.schema.d.ts +4 -4
  41. package/dist/src/mail/schemas/room-validation.schema.d.ts +40 -40
  42. package/dist/src/mail/schemas/room.schema.d.ts +30 -30
  43. package/dist/src/messenger/index.d.ts +2520 -520
  44. package/dist/src/messenger/index.d.ts.map +1 -1
  45. package/dist/src/messenger/validation.d.ts +1523 -0
  46. package/dist/src/messenger/validation.d.ts.map +1 -1
  47. package/dist/src/notification/index.d.ts +742 -0
  48. package/dist/src/notification/index.d.ts.map +1 -0
  49. package/dist/src/notification/schema.d.ts +48 -0
  50. package/dist/src/notification/schema.d.ts.map +1 -0
  51. package/dist/src/notification/validation.d.ts +148 -0
  52. package/dist/src/notification/validation.d.ts.map +1 -0
  53. package/dist/src/telephony-cdr/index.d.ts +2376 -404
  54. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  55. package/dist/src/telephony-cdr/schema.d.ts +839 -63
  56. package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
  57. package/dist/src/telephony-cdr/validation.d.ts +4 -4
  58. package/dist/src/ticket/index.d.ts +1106 -1106
  59. package/dist/src/ticket/schema.d.ts +72 -72
  60. package/dist/src/ticket/validation.d.ts +12 -12
  61. package/dist/src/viber/index.d.ts +3614 -1248
  62. package/dist/src/viber/index.d.ts.map +1 -1
  63. package/dist/src/wrap-up-form/index.d.ts +19 -19
  64. package/dist/src/wrap-up-form/schema.d.ts +2 -2
  65. package/dist/src/wrap-up-form/validation.d.ts +3 -3
  66. package/package.json +1 -1
@@ -191,9 +191,9 @@ export declare const cxLogContract: {
191
191
  updatedAt: Date;
192
192
  deletedAt: Date | null;
193
193
  }[];
194
- note: string | null;
195
194
  callFrom: string | null;
196
195
  callTo: string | null;
196
+ note: string | null;
197
197
  }, {
198
198
  id: string;
199
199
  disposition: string | null;
@@ -207,9 +207,9 @@ export declare const cxLogContract: {
207
207
  updatedAt: Date;
208
208
  deletedAt: Date | null;
209
209
  }[];
210
- note: string | null;
211
210
  callFrom: string | null;
212
211
  callTo: string | null;
212
+ note: string | null;
213
213
  }>>;
214
214
  room: z.ZodNullable<z.ZodObject<{
215
215
  id: z.ZodString;
@@ -231,7 +231,7 @@ export declare const cxLogContract: {
231
231
  deletedAt: z.ZodNullable<z.ZodDate>;
232
232
  channelId: z.ZodString;
233
233
  socialPlatformId: z.ZodString;
234
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
234
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
235
235
  metadata: z.ZodObject<{
236
236
  id: z.ZodString;
237
237
  name: z.ZodString;
@@ -936,7 +936,7 @@ export declare const cxLogContract: {
936
936
  }[] | undefined;
937
937
  }>;
938
938
  }, "strip", z.ZodTypeAny, {
939
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
939
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
940
940
  id: string;
941
941
  metadata: {
942
942
  id: string;
@@ -1047,7 +1047,7 @@ export declare const cxLogContract: {
1047
1047
  channelId: string;
1048
1048
  socialPlatformId: string;
1049
1049
  }, {
1050
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
1050
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
1051
1051
  id: string;
1052
1052
  metadata: {
1053
1053
  id: string;
@@ -1572,7 +1572,7 @@ export declare const cxLogContract: {
1572
1572
  updatedAt: z.ZodDate;
1573
1573
  deletedAt: z.ZodNullable<z.ZodDate>;
1574
1574
  name: z.ZodString;
1575
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
1575
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
1576
1576
  metadata: z.ZodObject<{
1577
1577
  id: z.ZodString;
1578
1578
  name: z.ZodString;
@@ -1803,7 +1803,7 @@ export declare const cxLogContract: {
1803
1803
  };
1804
1804
  }>;
1805
1805
  }, "strip", z.ZodTypeAny, {
1806
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
1806
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
1807
1807
  id: string;
1808
1808
  name: string;
1809
1809
  metadata: {
@@ -1867,7 +1867,7 @@ export declare const cxLogContract: {
1867
1867
  connectedUserName: string;
1868
1868
  connectedUserId: string;
1869
1869
  }, {
1870
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
1870
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
1871
1871
  id: string;
1872
1872
  name: string;
1873
1873
  metadata: {
@@ -1934,7 +1934,7 @@ export declare const cxLogContract: {
1934
1934
  }, "strip", z.ZodTypeAny, {
1935
1935
  id: string;
1936
1936
  channel: {
1937
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
1937
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
1938
1938
  id: string;
1939
1939
  name: string;
1940
1940
  metadata: {
@@ -2046,15 +2046,15 @@ export declare const cxLogContract: {
2046
2046
  telephonySignature: string | null;
2047
2047
  };
2048
2048
  };
2049
+ firstResponseTime: number;
2049
2050
  lastMessage: string;
2050
2051
  handleTime: number;
2051
2052
  closeAt: Date;
2052
2053
  unreadCount: number;
2053
2054
  firstResponseAt: Date;
2054
- firstResponseTime: number;
2055
2055
  isLatest: boolean;
2056
2056
  platformContact: {
2057
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
2057
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
2058
2058
  id: string;
2059
2059
  metadata: {
2060
2060
  id: string;
@@ -2212,7 +2212,7 @@ export declare const cxLogContract: {
2212
2212
  }, {
2213
2213
  id: string;
2214
2214
  channel: {
2215
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
2215
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
2216
2216
  id: string;
2217
2217
  name: string;
2218
2218
  metadata: {
@@ -2324,15 +2324,15 @@ export declare const cxLogContract: {
2324
2324
  telephonySignature: string | null;
2325
2325
  };
2326
2326
  };
2327
+ firstResponseTime: number;
2327
2328
  lastMessage: string;
2328
2329
  handleTime: number;
2329
2330
  closeAt: Date;
2330
2331
  unreadCount: number;
2331
2332
  firstResponseAt: Date;
2332
- firstResponseTime: number;
2333
2333
  isLatest: boolean;
2334
2334
  platformContact: {
2335
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
2335
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
2336
2336
  id: string;
2337
2337
  metadata: {
2338
2338
  id: string;
@@ -3223,41 +3223,526 @@ export declare const cxLogContract: {
3223
3223
  didNumber: z.ZodNullable<z.ZodString>;
3224
3224
  agentRingTime: z.ZodNullable<z.ZodNumber>;
3225
3225
  uploadId: z.ZodNullable<z.ZodString>;
3226
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3227
- id: z.ZodString;
3228
- createdAt: z.ZodDate;
3229
- updatedAt: z.ZodDate;
3230
- deletedAt: z.ZodNullable<z.ZodDate>;
3231
- bucketName: z.ZodString;
3232
- fileName: z.ZodString;
3233
- fileSize: z.ZodNumber;
3234
- fileKey: z.ZodString;
3235
- fileUrl: z.ZodNullable<z.ZodString>;
3236
- status: z.ZodOptional<z.ZodString>;
3226
+ serialNumber: z.ZodNullable<z.ZodString>;
3227
+ callParticipants: z.ZodNullable<z.ZodObject<{
3228
+ callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3229
+ id: z.ZodString;
3230
+ user: z.ZodNullable<z.ZodObject<Omit<{
3231
+ id: z.ZodString;
3232
+ createdAt: z.ZodDate;
3233
+ updatedAt: z.ZodDate;
3234
+ deletedAt: z.ZodNullable<z.ZodDate>;
3235
+ name: z.ZodString;
3236
+ email: z.ZodString;
3237
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3238
+ password: z.ZodString;
3239
+ address: z.ZodNullable<z.ZodString>;
3240
+ phone: z.ZodNullable<z.ZodString>;
3241
+ notificationCount: z.ZodNullable<z.ZodNumber>;
3242
+ roles: z.ZodArray<z.ZodObject<{
3243
+ id: z.ZodString;
3244
+ createdAt: z.ZodDate;
3245
+ updatedAt: z.ZodDate;
3246
+ deletedAt: z.ZodNullable<z.ZodDate>;
3247
+ systemName: z.ZodString;
3248
+ displayName: z.ZodString;
3249
+ description: z.ZodNullable<z.ZodString>;
3250
+ permissions: z.ZodArray<z.ZodObject<{
3251
+ id: z.ZodString;
3252
+ createdAt: z.ZodDate;
3253
+ updatedAt: z.ZodDate;
3254
+ deletedAt: z.ZodNullable<z.ZodDate>;
3255
+ systemName: z.ZodString;
3256
+ displayName: z.ZodString;
3257
+ description: z.ZodNullable<z.ZodString>;
3258
+ }, "strip", z.ZodTypeAny, {
3259
+ id: string;
3260
+ description: string | null;
3261
+ createdAt: Date;
3262
+ updatedAt: Date;
3263
+ deletedAt: Date | null;
3264
+ systemName: string;
3265
+ displayName: string;
3266
+ }, {
3267
+ id: string;
3268
+ description: string | null;
3269
+ createdAt: Date;
3270
+ updatedAt: Date;
3271
+ deletedAt: Date | null;
3272
+ systemName: string;
3273
+ displayName: string;
3274
+ }>, "many">;
3275
+ }, "strip", z.ZodTypeAny, {
3276
+ id: string;
3277
+ description: string | null;
3278
+ createdAt: Date;
3279
+ updatedAt: Date;
3280
+ deletedAt: Date | null;
3281
+ systemName: string;
3282
+ displayName: string;
3283
+ permissions: {
3284
+ id: string;
3285
+ description: string | null;
3286
+ createdAt: Date;
3287
+ updatedAt: Date;
3288
+ deletedAt: Date | null;
3289
+ systemName: string;
3290
+ displayName: string;
3291
+ }[];
3292
+ }, {
3293
+ id: string;
3294
+ description: string | null;
3295
+ createdAt: Date;
3296
+ updatedAt: Date;
3297
+ deletedAt: Date | null;
3298
+ systemName: string;
3299
+ displayName: string;
3300
+ permissions: {
3301
+ id: string;
3302
+ description: string | null;
3303
+ createdAt: Date;
3304
+ updatedAt: Date;
3305
+ deletedAt: Date | null;
3306
+ systemName: string;
3307
+ displayName: string;
3308
+ }[];
3309
+ }>, "many">;
3310
+ extension: z.ZodObject<{
3311
+ id: z.ZodString;
3312
+ createdAt: z.ZodDate;
3313
+ updatedAt: z.ZodDate;
3314
+ deletedAt: z.ZodNullable<z.ZodDate>;
3315
+ userId: z.ZodNullable<z.ZodString>;
3316
+ sipServerUrl: z.ZodString;
3317
+ sipUserName: z.ZodString;
3318
+ webphoneLoginUser: z.ZodString;
3319
+ extensionId: z.ZodNullable<z.ZodString>;
3320
+ extensionName: z.ZodString;
3321
+ telephonySignature: z.ZodNullable<z.ZodString>;
3322
+ }, "strip", z.ZodTypeAny, {
3323
+ id: string;
3324
+ createdAt: Date;
3325
+ updatedAt: Date;
3326
+ deletedAt: Date | null;
3327
+ userId: string | null;
3328
+ sipServerUrl: string;
3329
+ sipUserName: string;
3330
+ webphoneLoginUser: string;
3331
+ extensionId: string | null;
3332
+ extensionName: string;
3333
+ telephonySignature: string | null;
3334
+ }, {
3335
+ id: string;
3336
+ createdAt: Date;
3337
+ updatedAt: Date;
3338
+ deletedAt: Date | null;
3339
+ userId: string | null;
3340
+ sipServerUrl: string;
3341
+ sipUserName: string;
3342
+ webphoneLoginUser: string;
3343
+ extensionId: string | null;
3344
+ extensionName: string;
3345
+ telephonySignature: string | null;
3346
+ }>;
3347
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
3348
+ id: string;
3349
+ address: string | null;
3350
+ name: string;
3351
+ email: string;
3352
+ createdAt: Date;
3353
+ updatedAt: Date;
3354
+ deletedAt: Date | null;
3355
+ emailVerifiedAt: Date | null;
3356
+ password: string;
3357
+ phone: string | null;
3358
+ notificationCount: number | null;
3359
+ }, {
3360
+ id: string;
3361
+ address: string | null;
3362
+ name: string;
3363
+ email: string;
3364
+ createdAt: Date;
3365
+ updatedAt: Date;
3366
+ deletedAt: Date | null;
3367
+ emailVerifiedAt: Date | null;
3368
+ password: string;
3369
+ phone: string | null;
3370
+ notificationCount: number | null;
3371
+ }>>;
3372
+ userId: z.ZodString;
3373
+ createdAt: z.ZodOptional<z.ZodString>;
3374
+ deletedAt: z.ZodNullable<z.ZodString>;
3375
+ updatedAt: z.ZodOptional<z.ZodString>;
3376
+ extensionId: z.ZodNullable<z.ZodString>;
3377
+ sipUserName: z.ZodNullable<z.ZodString>;
3378
+ sipServerUrl: z.ZodNullable<z.ZodString>;
3379
+ extensionName: z.ZodNullable<z.ZodString>;
3380
+ webphoneLoginUser: z.ZodNullable<z.ZodString>;
3381
+ telephonySignature: z.ZodNullable<z.ZodString>;
3382
+ }, "strip", z.ZodTypeAny, {
3383
+ id: string;
3384
+ user: {
3385
+ id: string;
3386
+ address: string | null;
3387
+ name: string;
3388
+ email: string;
3389
+ createdAt: Date;
3390
+ updatedAt: Date;
3391
+ deletedAt: Date | null;
3392
+ emailVerifiedAt: Date | null;
3393
+ password: string;
3394
+ phone: string | null;
3395
+ notificationCount: number | null;
3396
+ } | null;
3397
+ deletedAt: string | null;
3398
+ userId: string;
3399
+ sipServerUrl: string | null;
3400
+ sipUserName: string | null;
3401
+ webphoneLoginUser: string | null;
3402
+ extensionId: string | null;
3403
+ extensionName: string | null;
3404
+ telephonySignature: string | null;
3405
+ createdAt?: string | undefined;
3406
+ updatedAt?: string | undefined;
3407
+ }, {
3408
+ id: string;
3409
+ user: {
3410
+ id: string;
3411
+ address: string | null;
3412
+ name: string;
3413
+ email: string;
3414
+ createdAt: Date;
3415
+ updatedAt: Date;
3416
+ deletedAt: Date | null;
3417
+ emailVerifiedAt: Date | null;
3418
+ password: string;
3419
+ phone: string | null;
3420
+ notificationCount: number | null;
3421
+ } | null;
3422
+ deletedAt: string | null;
3423
+ userId: string;
3424
+ sipServerUrl: string | null;
3425
+ sipUserName: string | null;
3426
+ webphoneLoginUser: string | null;
3427
+ extensionId: string | null;
3428
+ extensionName: string | null;
3429
+ telephonySignature: string | null;
3430
+ createdAt?: string | undefined;
3431
+ updatedAt?: string | undefined;
3432
+ }>>>;
3433
+ callFrom: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3434
+ id: z.ZodString;
3435
+ user: z.ZodNullable<z.ZodObject<Omit<{
3436
+ id: z.ZodString;
3437
+ createdAt: z.ZodDate;
3438
+ updatedAt: z.ZodDate;
3439
+ deletedAt: z.ZodNullable<z.ZodDate>;
3440
+ name: z.ZodString;
3441
+ email: z.ZodString;
3442
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3443
+ password: z.ZodString;
3444
+ address: z.ZodNullable<z.ZodString>;
3445
+ phone: z.ZodNullable<z.ZodString>;
3446
+ notificationCount: z.ZodNullable<z.ZodNumber>;
3447
+ roles: z.ZodArray<z.ZodObject<{
3448
+ id: z.ZodString;
3449
+ createdAt: z.ZodDate;
3450
+ updatedAt: z.ZodDate;
3451
+ deletedAt: z.ZodNullable<z.ZodDate>;
3452
+ systemName: z.ZodString;
3453
+ displayName: z.ZodString;
3454
+ description: z.ZodNullable<z.ZodString>;
3455
+ permissions: z.ZodArray<z.ZodObject<{
3456
+ id: z.ZodString;
3457
+ createdAt: z.ZodDate;
3458
+ updatedAt: z.ZodDate;
3459
+ deletedAt: z.ZodNullable<z.ZodDate>;
3460
+ systemName: z.ZodString;
3461
+ displayName: z.ZodString;
3462
+ description: z.ZodNullable<z.ZodString>;
3463
+ }, "strip", z.ZodTypeAny, {
3464
+ id: string;
3465
+ description: string | null;
3466
+ createdAt: Date;
3467
+ updatedAt: Date;
3468
+ deletedAt: Date | null;
3469
+ systemName: string;
3470
+ displayName: string;
3471
+ }, {
3472
+ id: string;
3473
+ description: string | null;
3474
+ createdAt: Date;
3475
+ updatedAt: Date;
3476
+ deletedAt: Date | null;
3477
+ systemName: string;
3478
+ displayName: string;
3479
+ }>, "many">;
3480
+ }, "strip", z.ZodTypeAny, {
3481
+ id: string;
3482
+ description: string | null;
3483
+ createdAt: Date;
3484
+ updatedAt: Date;
3485
+ deletedAt: Date | null;
3486
+ systemName: string;
3487
+ displayName: string;
3488
+ permissions: {
3489
+ id: string;
3490
+ description: string | null;
3491
+ createdAt: Date;
3492
+ updatedAt: Date;
3493
+ deletedAt: Date | null;
3494
+ systemName: string;
3495
+ displayName: string;
3496
+ }[];
3497
+ }, {
3498
+ id: string;
3499
+ description: string | null;
3500
+ createdAt: Date;
3501
+ updatedAt: Date;
3502
+ deletedAt: Date | null;
3503
+ systemName: string;
3504
+ displayName: string;
3505
+ permissions: {
3506
+ id: string;
3507
+ description: string | null;
3508
+ createdAt: Date;
3509
+ updatedAt: Date;
3510
+ deletedAt: Date | null;
3511
+ systemName: string;
3512
+ displayName: string;
3513
+ }[];
3514
+ }>, "many">;
3515
+ extension: z.ZodObject<{
3516
+ id: z.ZodString;
3517
+ createdAt: z.ZodDate;
3518
+ updatedAt: z.ZodDate;
3519
+ deletedAt: z.ZodNullable<z.ZodDate>;
3520
+ userId: z.ZodNullable<z.ZodString>;
3521
+ sipServerUrl: z.ZodString;
3522
+ sipUserName: z.ZodString;
3523
+ webphoneLoginUser: z.ZodString;
3524
+ extensionId: z.ZodNullable<z.ZodString>;
3525
+ extensionName: z.ZodString;
3526
+ telephonySignature: z.ZodNullable<z.ZodString>;
3527
+ }, "strip", z.ZodTypeAny, {
3528
+ id: string;
3529
+ createdAt: Date;
3530
+ updatedAt: Date;
3531
+ deletedAt: Date | null;
3532
+ userId: string | null;
3533
+ sipServerUrl: string;
3534
+ sipUserName: string;
3535
+ webphoneLoginUser: string;
3536
+ extensionId: string | null;
3537
+ extensionName: string;
3538
+ telephonySignature: string | null;
3539
+ }, {
3540
+ id: string;
3541
+ createdAt: Date;
3542
+ updatedAt: Date;
3543
+ deletedAt: Date | null;
3544
+ userId: string | null;
3545
+ sipServerUrl: string;
3546
+ sipUserName: string;
3547
+ webphoneLoginUser: string;
3548
+ extensionId: string | null;
3549
+ extensionName: string;
3550
+ telephonySignature: string | null;
3551
+ }>;
3552
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
3553
+ id: string;
3554
+ address: string | null;
3555
+ name: string;
3556
+ email: string;
3557
+ createdAt: Date;
3558
+ updatedAt: Date;
3559
+ deletedAt: Date | null;
3560
+ emailVerifiedAt: Date | null;
3561
+ password: string;
3562
+ phone: string | null;
3563
+ notificationCount: number | null;
3564
+ }, {
3565
+ id: string;
3566
+ address: string | null;
3567
+ name: string;
3568
+ email: string;
3569
+ createdAt: Date;
3570
+ updatedAt: Date;
3571
+ deletedAt: Date | null;
3572
+ emailVerifiedAt: Date | null;
3573
+ password: string;
3574
+ phone: string | null;
3575
+ notificationCount: number | null;
3576
+ }>>;
3577
+ userId: z.ZodString;
3578
+ createdAt: z.ZodOptional<z.ZodString>;
3579
+ deletedAt: z.ZodNullable<z.ZodString>;
3580
+ updatedAt: z.ZodOptional<z.ZodString>;
3581
+ extensionId: z.ZodNullable<z.ZodString>;
3582
+ sipUserName: z.ZodNullable<z.ZodString>;
3583
+ sipServerUrl: z.ZodNullable<z.ZodString>;
3584
+ extensionName: z.ZodNullable<z.ZodString>;
3585
+ webphoneLoginUser: z.ZodNullable<z.ZodString>;
3586
+ telephonySignature: z.ZodNullable<z.ZodString>;
3587
+ }, "strip", z.ZodTypeAny, {
3588
+ id: string;
3589
+ user: {
3590
+ id: string;
3591
+ address: string | null;
3592
+ name: string;
3593
+ email: string;
3594
+ createdAt: Date;
3595
+ updatedAt: Date;
3596
+ deletedAt: Date | null;
3597
+ emailVerifiedAt: Date | null;
3598
+ password: string;
3599
+ phone: string | null;
3600
+ notificationCount: number | null;
3601
+ } | null;
3602
+ deletedAt: string | null;
3603
+ userId: string;
3604
+ sipServerUrl: string | null;
3605
+ sipUserName: string | null;
3606
+ webphoneLoginUser: string | null;
3607
+ extensionId: string | null;
3608
+ extensionName: string | null;
3609
+ telephonySignature: string | null;
3610
+ createdAt?: string | undefined;
3611
+ updatedAt?: string | undefined;
3612
+ }, {
3613
+ id: string;
3614
+ user: {
3615
+ id: string;
3616
+ address: string | null;
3617
+ name: string;
3618
+ email: string;
3619
+ createdAt: Date;
3620
+ updatedAt: Date;
3621
+ deletedAt: Date | null;
3622
+ emailVerifiedAt: Date | null;
3623
+ password: string;
3624
+ phone: string | null;
3625
+ notificationCount: number | null;
3626
+ } | null;
3627
+ deletedAt: string | null;
3628
+ userId: string;
3629
+ sipServerUrl: string | null;
3630
+ sipUserName: string | null;
3631
+ webphoneLoginUser: string | null;
3632
+ extensionId: string | null;
3633
+ extensionName: string | null;
3634
+ telephonySignature: string | null;
3635
+ createdAt?: string | undefined;
3636
+ updatedAt?: string | undefined;
3637
+ }>>>;
3237
3638
  }, "strip", z.ZodTypeAny, {
3238
- id: string;
3239
- createdAt: Date;
3240
- updatedAt: Date;
3241
- deletedAt: Date | null;
3242
- fileName: string;
3243
- fileKey: string;
3244
- bucketName: string;
3245
- fileSize: number;
3246
- fileUrl: string | null;
3247
- status?: string | undefined;
3639
+ callTo?: {
3640
+ id: string;
3641
+ user: {
3642
+ id: string;
3643
+ address: string | null;
3644
+ name: string;
3645
+ email: string;
3646
+ createdAt: Date;
3647
+ updatedAt: Date;
3648
+ deletedAt: Date | null;
3649
+ emailVerifiedAt: Date | null;
3650
+ password: string;
3651
+ phone: string | null;
3652
+ notificationCount: number | null;
3653
+ } | null;
3654
+ deletedAt: string | null;
3655
+ userId: string;
3656
+ sipServerUrl: string | null;
3657
+ sipUserName: string | null;
3658
+ webphoneLoginUser: string | null;
3659
+ extensionId: string | null;
3660
+ extensionName: string | null;
3661
+ telephonySignature: string | null;
3662
+ createdAt?: string | undefined;
3663
+ updatedAt?: string | undefined;
3664
+ } | null | undefined;
3665
+ callFrom?: {
3666
+ id: string;
3667
+ user: {
3668
+ id: string;
3669
+ address: string | null;
3670
+ name: string;
3671
+ email: string;
3672
+ createdAt: Date;
3673
+ updatedAt: Date;
3674
+ deletedAt: Date | null;
3675
+ emailVerifiedAt: Date | null;
3676
+ password: string;
3677
+ phone: string | null;
3678
+ notificationCount: number | null;
3679
+ } | null;
3680
+ deletedAt: string | null;
3681
+ userId: string;
3682
+ sipServerUrl: string | null;
3683
+ sipUserName: string | null;
3684
+ webphoneLoginUser: string | null;
3685
+ extensionId: string | null;
3686
+ extensionName: string | null;
3687
+ telephonySignature: string | null;
3688
+ createdAt?: string | undefined;
3689
+ updatedAt?: string | undefined;
3690
+ } | null | undefined;
3248
3691
  }, {
3249
- id: string;
3250
- createdAt: Date;
3251
- updatedAt: Date;
3252
- deletedAt: Date | null;
3253
- fileName: string;
3254
- fileKey: string;
3255
- bucketName: string;
3256
- fileSize: number;
3257
- fileUrl: string | null;
3258
- status?: string | undefined;
3259
- }>>>;
3260
- serialNumber: z.ZodNullable<z.ZodString>;
3692
+ callTo?: {
3693
+ id: string;
3694
+ user: {
3695
+ id: string;
3696
+ address: string | null;
3697
+ name: string;
3698
+ email: string;
3699
+ createdAt: Date;
3700
+ updatedAt: Date;
3701
+ deletedAt: Date | null;
3702
+ emailVerifiedAt: Date | null;
3703
+ password: string;
3704
+ phone: string | null;
3705
+ notificationCount: number | null;
3706
+ } | null;
3707
+ deletedAt: string | null;
3708
+ userId: string;
3709
+ sipServerUrl: string | null;
3710
+ sipUserName: string | null;
3711
+ webphoneLoginUser: string | null;
3712
+ extensionId: string | null;
3713
+ extensionName: string | null;
3714
+ telephonySignature: string | null;
3715
+ createdAt?: string | undefined;
3716
+ updatedAt?: string | undefined;
3717
+ } | null | undefined;
3718
+ callFrom?: {
3719
+ id: string;
3720
+ user: {
3721
+ id: string;
3722
+ address: string | null;
3723
+ name: string;
3724
+ email: string;
3725
+ createdAt: Date;
3726
+ updatedAt: Date;
3727
+ deletedAt: Date | null;
3728
+ emailVerifiedAt: Date | null;
3729
+ password: string;
3730
+ phone: string | null;
3731
+ notificationCount: number | null;
3732
+ } | null;
3733
+ deletedAt: string | null;
3734
+ userId: string;
3735
+ sipServerUrl: string | null;
3736
+ sipUserName: string | null;
3737
+ webphoneLoginUser: string | null;
3738
+ extensionId: string | null;
3739
+ extensionName: string | null;
3740
+ telephonySignature: string | null;
3741
+ createdAt?: string | undefined;
3742
+ updatedAt?: string | undefined;
3743
+ } | null | undefined;
3744
+ }>>;
3745
+ isQueueMissedCall: z.ZodBoolean;
3261
3746
  extensionId: z.ZodNullable<z.ZodString>;
3262
3747
  extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3263
3748
  id: z.ZodString;
@@ -3599,11 +4084,10 @@ export declare const cxLogContract: {
3599
4084
  updatedAt: Date;
3600
4085
  deletedAt: Date | null;
3601
4086
  extensionId: string | null;
3602
- contactId: string | null;
3603
- callFrom: string;
3604
- callTo: string;
3605
4087
  uniqueCallId: string;
3606
4088
  timeStart: string;
4089
+ callFrom: string;
4090
+ callTo: string;
3607
4091
  callDuration: number | null;
3608
4092
  talkDuration: number | null;
3609
4093
  srcTrunkName: string | null;
@@ -3613,7 +4097,63 @@ export declare const cxLogContract: {
3613
4097
  agentRingTime: number | null;
3614
4098
  uploadId: string | null;
3615
4099
  serialNumber: string | null;
4100
+ callParticipants: {
4101
+ callTo?: {
4102
+ id: string;
4103
+ user: {
4104
+ id: string;
4105
+ address: string | null;
4106
+ name: string;
4107
+ email: string;
4108
+ createdAt: Date;
4109
+ updatedAt: Date;
4110
+ deletedAt: Date | null;
4111
+ emailVerifiedAt: Date | null;
4112
+ password: string;
4113
+ phone: string | null;
4114
+ notificationCount: number | null;
4115
+ } | null;
4116
+ deletedAt: string | null;
4117
+ userId: string;
4118
+ sipServerUrl: string | null;
4119
+ sipUserName: string | null;
4120
+ webphoneLoginUser: string | null;
4121
+ extensionId: string | null;
4122
+ extensionName: string | null;
4123
+ telephonySignature: string | null;
4124
+ createdAt?: string | undefined;
4125
+ updatedAt?: string | undefined;
4126
+ } | null | undefined;
4127
+ callFrom?: {
4128
+ id: string;
4129
+ user: {
4130
+ id: string;
4131
+ address: string | null;
4132
+ name: string;
4133
+ email: string;
4134
+ createdAt: Date;
4135
+ updatedAt: Date;
4136
+ deletedAt: Date | null;
4137
+ emailVerifiedAt: Date | null;
4138
+ password: string;
4139
+ phone: string | null;
4140
+ notificationCount: number | null;
4141
+ } | null;
4142
+ deletedAt: string | null;
4143
+ userId: string;
4144
+ sipServerUrl: string | null;
4145
+ sipUserName: string | null;
4146
+ webphoneLoginUser: string | null;
4147
+ extensionId: string | null;
4148
+ extensionName: string | null;
4149
+ telephonySignature: string | null;
4150
+ createdAt?: string | undefined;
4151
+ updatedAt?: string | undefined;
4152
+ } | null | undefined;
4153
+ } | null;
4154
+ isQueueMissedCall: boolean;
3616
4155
  telephonyQueueId: string | null;
4156
+ contactId: string | null;
3617
4157
  contact?: {
3618
4158
  id: string;
3619
4159
  channel: string | null;
@@ -3721,18 +4261,6 @@ export declare const cxLogContract: {
3721
4261
  queueNumber: string;
3722
4262
  maximumWaitingTime: number;
3723
4263
  } | null | undefined;
3724
- upload?: {
3725
- id: string;
3726
- createdAt: Date;
3727
- updatedAt: Date;
3728
- deletedAt: Date | null;
3729
- fileName: string;
3730
- fileKey: string;
3731
- bucketName: string;
3732
- fileSize: number;
3733
- fileUrl: string | null;
3734
- status?: string | undefined;
3735
- } | null | undefined;
3736
4264
  extension?: {
3737
4265
  id: string;
3738
4266
  createdAt: Date;
@@ -3799,11 +4327,10 @@ export declare const cxLogContract: {
3799
4327
  updatedAt: Date;
3800
4328
  deletedAt: Date | null;
3801
4329
  extensionId: string | null;
3802
- contactId: string | null;
3803
- callFrom: string;
3804
- callTo: string;
3805
4330
  uniqueCallId: string;
3806
4331
  timeStart: string;
4332
+ callFrom: string;
4333
+ callTo: string;
3807
4334
  callDuration: number | null;
3808
4335
  talkDuration: number | null;
3809
4336
  srcTrunkName: string | null;
@@ -3813,7 +4340,63 @@ export declare const cxLogContract: {
3813
4340
  agentRingTime: number | null;
3814
4341
  uploadId: string | null;
3815
4342
  serialNumber: string | null;
4343
+ callParticipants: {
4344
+ callTo?: {
4345
+ id: string;
4346
+ user: {
4347
+ id: string;
4348
+ address: string | null;
4349
+ name: string;
4350
+ email: string;
4351
+ createdAt: Date;
4352
+ updatedAt: Date;
4353
+ deletedAt: Date | null;
4354
+ emailVerifiedAt: Date | null;
4355
+ password: string;
4356
+ phone: string | null;
4357
+ notificationCount: number | null;
4358
+ } | null;
4359
+ deletedAt: string | null;
4360
+ userId: string;
4361
+ sipServerUrl: string | null;
4362
+ sipUserName: string | null;
4363
+ webphoneLoginUser: string | null;
4364
+ extensionId: string | null;
4365
+ extensionName: string | null;
4366
+ telephonySignature: string | null;
4367
+ createdAt?: string | undefined;
4368
+ updatedAt?: string | undefined;
4369
+ } | null | undefined;
4370
+ callFrom?: {
4371
+ id: string;
4372
+ user: {
4373
+ id: string;
4374
+ address: string | null;
4375
+ name: string;
4376
+ email: string;
4377
+ createdAt: Date;
4378
+ updatedAt: Date;
4379
+ deletedAt: Date | null;
4380
+ emailVerifiedAt: Date | null;
4381
+ password: string;
4382
+ phone: string | null;
4383
+ notificationCount: number | null;
4384
+ } | null;
4385
+ deletedAt: string | null;
4386
+ userId: string;
4387
+ sipServerUrl: string | null;
4388
+ sipUserName: string | null;
4389
+ webphoneLoginUser: string | null;
4390
+ extensionId: string | null;
4391
+ extensionName: string | null;
4392
+ telephonySignature: string | null;
4393
+ createdAt?: string | undefined;
4394
+ updatedAt?: string | undefined;
4395
+ } | null | undefined;
4396
+ } | null;
4397
+ isQueueMissedCall: boolean;
3816
4398
  telephonyQueueId: string | null;
4399
+ contactId: string | null;
3817
4400
  contact?: {
3818
4401
  id: string;
3819
4402
  channel: string | null;
@@ -3921,18 +4504,6 @@ export declare const cxLogContract: {
3921
4504
  queueNumber: string;
3922
4505
  maximumWaitingTime: number;
3923
4506
  } | null | undefined;
3924
- upload?: {
3925
- id: string;
3926
- createdAt: Date;
3927
- updatedAt: Date;
3928
- deletedAt: Date | null;
3929
- fileName: string;
3930
- fileKey: string;
3931
- bucketName: string;
3932
- fileSize: number;
3933
- fileUrl: string | null;
3934
- status?: string | undefined;
3935
- } | null | undefined;
3936
4507
  extension?: {
3937
4508
  id: string;
3938
4509
  createdAt: Date;
@@ -4995,11 +5566,11 @@ export declare const cxLogContract: {
4995
5566
  };
4996
5567
  }[] | undefined;
4997
5568
  } | null;
4998
- firstResponseTime: string | null;
4999
5569
  caseId: number;
5000
5570
  entityName: string;
5001
5571
  startedDate: string | null;
5002
5572
  handledTime: string | null;
5573
+ firstResponseTime: string | null;
5003
5574
  wrapUpForm: {
5004
5575
  id: string;
5005
5576
  disposition: string | null;
@@ -5013,14 +5584,26 @@ export declare const cxLogContract: {
5013
5584
  updatedAt: Date;
5014
5585
  deletedAt: Date | null;
5015
5586
  }[];
5016
- note: string | null;
5017
5587
  callFrom: string | null;
5018
5588
  callTo: string | null;
5589
+ note: string | null;
5590
+ } | null;
5591
+ customerPhone: string | null;
5592
+ channelType: string | null;
5593
+ slaMeet: string | null;
5594
+ evaluateForm: {
5595
+ id: string;
5596
+ createdAt: Date;
5597
+ updatedAt: Date;
5598
+ deletedAt: Date | null;
5599
+ cxLogId: string;
5600
+ sentimentScore?: string | null | undefined;
5601
+ csatScore?: string | null | undefined;
5019
5602
  } | null;
5020
5603
  room: {
5021
5604
  id: string;
5022
5605
  channel: {
5023
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5606
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
5024
5607
  id: string;
5025
5608
  name: string;
5026
5609
  metadata: {
@@ -5132,15 +5715,15 @@ export declare const cxLogContract: {
5132
5715
  telephonySignature: string | null;
5133
5716
  };
5134
5717
  };
5718
+ firstResponseTime: number;
5135
5719
  lastMessage: string;
5136
5720
  handleTime: number;
5137
5721
  closeAt: Date;
5138
5722
  unreadCount: number;
5139
5723
  firstResponseAt: Date;
5140
- firstResponseTime: number;
5141
5724
  isLatest: boolean;
5142
5725
  platformContact: {
5143
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5726
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
5144
5727
  id: string;
5145
5728
  metadata: {
5146
5729
  id: string;
@@ -5296,18 +5879,6 @@ export declare const cxLogContract: {
5296
5879
  };
5297
5880
  };
5298
5881
  } | null;
5299
- customerPhone: string | null;
5300
- channelType: string | null;
5301
- slaMeet: string | null;
5302
- evaluateForm: {
5303
- id: string;
5304
- createdAt: Date;
5305
- updatedAt: Date;
5306
- deletedAt: Date | null;
5307
- cxLogId: string;
5308
- sentimentScore?: string | null | undefined;
5309
- csatScore?: string | null | undefined;
5310
- } | null;
5311
5882
  telephonyCdr: {
5312
5883
  type: string;
5313
5884
  id: string;
@@ -5317,11 +5888,10 @@ export declare const cxLogContract: {
5317
5888
  updatedAt: Date;
5318
5889
  deletedAt: Date | null;
5319
5890
  extensionId: string | null;
5320
- contactId: string | null;
5321
- callFrom: string;
5322
- callTo: string;
5323
5891
  uniqueCallId: string;
5324
5892
  timeStart: string;
5893
+ callFrom: string;
5894
+ callTo: string;
5325
5895
  callDuration: number | null;
5326
5896
  talkDuration: number | null;
5327
5897
  srcTrunkName: string | null;
@@ -5331,7 +5901,63 @@ export declare const cxLogContract: {
5331
5901
  agentRingTime: number | null;
5332
5902
  uploadId: string | null;
5333
5903
  serialNumber: string | null;
5904
+ callParticipants: {
5905
+ callTo?: {
5906
+ id: string;
5907
+ user: {
5908
+ id: string;
5909
+ address: string | null;
5910
+ name: string;
5911
+ email: string;
5912
+ createdAt: Date;
5913
+ updatedAt: Date;
5914
+ deletedAt: Date | null;
5915
+ emailVerifiedAt: Date | null;
5916
+ password: string;
5917
+ phone: string | null;
5918
+ notificationCount: number | null;
5919
+ } | null;
5920
+ deletedAt: string | null;
5921
+ userId: string;
5922
+ sipServerUrl: string | null;
5923
+ sipUserName: string | null;
5924
+ webphoneLoginUser: string | null;
5925
+ extensionId: string | null;
5926
+ extensionName: string | null;
5927
+ telephonySignature: string | null;
5928
+ createdAt?: string | undefined;
5929
+ updatedAt?: string | undefined;
5930
+ } | null | undefined;
5931
+ callFrom?: {
5932
+ id: string;
5933
+ user: {
5934
+ id: string;
5935
+ address: string | null;
5936
+ name: string;
5937
+ email: string;
5938
+ createdAt: Date;
5939
+ updatedAt: Date;
5940
+ deletedAt: Date | null;
5941
+ emailVerifiedAt: Date | null;
5942
+ password: string;
5943
+ phone: string | null;
5944
+ notificationCount: number | null;
5945
+ } | null;
5946
+ deletedAt: string | null;
5947
+ userId: string;
5948
+ sipServerUrl: string | null;
5949
+ sipUserName: string | null;
5950
+ webphoneLoginUser: string | null;
5951
+ extensionId: string | null;
5952
+ extensionName: string | null;
5953
+ telephonySignature: string | null;
5954
+ createdAt?: string | undefined;
5955
+ updatedAt?: string | undefined;
5956
+ } | null | undefined;
5957
+ } | null;
5958
+ isQueueMissedCall: boolean;
5334
5959
  telephonyQueueId: string | null;
5960
+ contactId: string | null;
5335
5961
  contact?: {
5336
5962
  id: string;
5337
5963
  channel: string | null;
@@ -5439,18 +6065,6 @@ export declare const cxLogContract: {
5439
6065
  queueNumber: string;
5440
6066
  maximumWaitingTime: number;
5441
6067
  } | null | undefined;
5442
- upload?: {
5443
- id: string;
5444
- createdAt: Date;
5445
- updatedAt: Date;
5446
- deletedAt: Date | null;
5447
- fileName: string;
5448
- fileKey: string;
5449
- bucketName: string;
5450
- fileSize: number;
5451
- fileUrl: string | null;
5452
- status?: string | undefined;
5453
- } | null | undefined;
5454
6068
  extension?: {
5455
6069
  id: string;
5456
6070
  createdAt: Date;
@@ -5662,11 +6276,11 @@ export declare const cxLogContract: {
5662
6276
  };
5663
6277
  }[] | undefined;
5664
6278
  } | null;
5665
- firstResponseTime: string | null;
5666
6279
  caseId: number;
5667
6280
  entityName: string;
5668
6281
  startedDate: string | null;
5669
6282
  handledTime: string | null;
6283
+ firstResponseTime: string | null;
5670
6284
  wrapUpForm: {
5671
6285
  id: string;
5672
6286
  disposition: string | null;
@@ -5680,14 +6294,26 @@ export declare const cxLogContract: {
5680
6294
  updatedAt: Date;
5681
6295
  deletedAt: Date | null;
5682
6296
  }[];
5683
- note: string | null;
5684
6297
  callFrom: string | null;
5685
6298
  callTo: string | null;
6299
+ note: string | null;
6300
+ } | null;
6301
+ customerPhone: string | null;
6302
+ channelType: string | null;
6303
+ slaMeet: string | null;
6304
+ evaluateForm: {
6305
+ id: string;
6306
+ createdAt: Date;
6307
+ updatedAt: Date;
6308
+ deletedAt: Date | null;
6309
+ cxLogId: string;
6310
+ sentimentScore?: string | null | undefined;
6311
+ csatScore?: string | null | undefined;
5686
6312
  } | null;
5687
6313
  room: {
5688
6314
  id: string;
5689
6315
  channel: {
5690
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
6316
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
5691
6317
  id: string;
5692
6318
  name: string;
5693
6319
  metadata: {
@@ -5799,15 +6425,15 @@ export declare const cxLogContract: {
5799
6425
  telephonySignature: string | null;
5800
6426
  };
5801
6427
  };
6428
+ firstResponseTime: number;
5802
6429
  lastMessage: string;
5803
6430
  handleTime: number;
5804
6431
  closeAt: Date;
5805
6432
  unreadCount: number;
5806
6433
  firstResponseAt: Date;
5807
- firstResponseTime: number;
5808
6434
  isLatest: boolean;
5809
6435
  platformContact: {
5810
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
6436
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
5811
6437
  id: string;
5812
6438
  metadata: {
5813
6439
  id: string;
@@ -5963,18 +6589,6 @@ export declare const cxLogContract: {
5963
6589
  };
5964
6590
  };
5965
6591
  } | null;
5966
- customerPhone: string | null;
5967
- channelType: string | null;
5968
- slaMeet: string | null;
5969
- evaluateForm: {
5970
- id: string;
5971
- createdAt: Date;
5972
- updatedAt: Date;
5973
- deletedAt: Date | null;
5974
- cxLogId: string;
5975
- sentimentScore?: string | null | undefined;
5976
- csatScore?: string | null | undefined;
5977
- } | null;
5978
6592
  telephonyCdr: {
5979
6593
  type: string;
5980
6594
  id: string;
@@ -5984,11 +6598,10 @@ export declare const cxLogContract: {
5984
6598
  updatedAt: Date;
5985
6599
  deletedAt: Date | null;
5986
6600
  extensionId: string | null;
5987
- contactId: string | null;
5988
- callFrom: string;
5989
- callTo: string;
5990
6601
  uniqueCallId: string;
5991
6602
  timeStart: string;
6603
+ callFrom: string;
6604
+ callTo: string;
5992
6605
  callDuration: number | null;
5993
6606
  talkDuration: number | null;
5994
6607
  srcTrunkName: string | null;
@@ -5998,7 +6611,63 @@ export declare const cxLogContract: {
5998
6611
  agentRingTime: number | null;
5999
6612
  uploadId: string | null;
6000
6613
  serialNumber: string | null;
6614
+ callParticipants: {
6615
+ callTo?: {
6616
+ id: string;
6617
+ user: {
6618
+ id: string;
6619
+ address: string | null;
6620
+ name: string;
6621
+ email: string;
6622
+ createdAt: Date;
6623
+ updatedAt: Date;
6624
+ deletedAt: Date | null;
6625
+ emailVerifiedAt: Date | null;
6626
+ password: string;
6627
+ phone: string | null;
6628
+ notificationCount: number | null;
6629
+ } | null;
6630
+ deletedAt: string | null;
6631
+ userId: string;
6632
+ sipServerUrl: string | null;
6633
+ sipUserName: string | null;
6634
+ webphoneLoginUser: string | null;
6635
+ extensionId: string | null;
6636
+ extensionName: string | null;
6637
+ telephonySignature: string | null;
6638
+ createdAt?: string | undefined;
6639
+ updatedAt?: string | undefined;
6640
+ } | null | undefined;
6641
+ callFrom?: {
6642
+ id: string;
6643
+ user: {
6644
+ id: string;
6645
+ address: string | null;
6646
+ name: string;
6647
+ email: string;
6648
+ createdAt: Date;
6649
+ updatedAt: Date;
6650
+ deletedAt: Date | null;
6651
+ emailVerifiedAt: Date | null;
6652
+ password: string;
6653
+ phone: string | null;
6654
+ notificationCount: number | null;
6655
+ } | null;
6656
+ deletedAt: string | null;
6657
+ userId: string;
6658
+ sipServerUrl: string | null;
6659
+ sipUserName: string | null;
6660
+ webphoneLoginUser: string | null;
6661
+ extensionId: string | null;
6662
+ extensionName: string | null;
6663
+ telephonySignature: string | null;
6664
+ createdAt?: string | undefined;
6665
+ updatedAt?: string | undefined;
6666
+ } | null | undefined;
6667
+ } | null;
6668
+ isQueueMissedCall: boolean;
6001
6669
  telephonyQueueId: string | null;
6670
+ contactId: string | null;
6002
6671
  contact?: {
6003
6672
  id: string;
6004
6673
  channel: string | null;
@@ -6106,18 +6775,6 @@ export declare const cxLogContract: {
6106
6775
  queueNumber: string;
6107
6776
  maximumWaitingTime: number;
6108
6777
  } | null | undefined;
6109
- upload?: {
6110
- id: string;
6111
- createdAt: Date;
6112
- updatedAt: Date;
6113
- deletedAt: Date | null;
6114
- fileName: string;
6115
- fileKey: string;
6116
- bucketName: string;
6117
- fileSize: number;
6118
- fileUrl: string | null;
6119
- status?: string | undefined;
6120
- } | null | undefined;
6121
6778
  extension?: {
6122
6779
  id: string;
6123
6780
  createdAt: Date;
@@ -6335,11 +6992,11 @@ export declare const cxLogContract: {
6335
6992
  };
6336
6993
  }[] | undefined;
6337
6994
  } | null;
6338
- firstResponseTime: string | null;
6339
6995
  caseId: number;
6340
6996
  entityName: string;
6341
6997
  startedDate: string | null;
6342
6998
  handledTime: string | null;
6999
+ firstResponseTime: string | null;
6343
7000
  wrapUpForm: {
6344
7001
  id: string;
6345
7002
  disposition: string | null;
@@ -6353,14 +7010,26 @@ export declare const cxLogContract: {
6353
7010
  updatedAt: Date;
6354
7011
  deletedAt: Date | null;
6355
7012
  }[];
6356
- note: string | null;
6357
7013
  callFrom: string | null;
6358
7014
  callTo: string | null;
7015
+ note: string | null;
7016
+ } | null;
7017
+ customerPhone: string | null;
7018
+ channelType: string | null;
7019
+ slaMeet: string | null;
7020
+ evaluateForm: {
7021
+ id: string;
7022
+ createdAt: Date;
7023
+ updatedAt: Date;
7024
+ deletedAt: Date | null;
7025
+ cxLogId: string;
7026
+ sentimentScore?: string | null | undefined;
7027
+ csatScore?: string | null | undefined;
6359
7028
  } | null;
6360
7029
  room: {
6361
7030
  id: string;
6362
7031
  channel: {
6363
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
7032
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
6364
7033
  id: string;
6365
7034
  name: string;
6366
7035
  metadata: {
@@ -6472,15 +7141,15 @@ export declare const cxLogContract: {
6472
7141
  telephonySignature: string | null;
6473
7142
  };
6474
7143
  };
7144
+ firstResponseTime: number;
6475
7145
  lastMessage: string;
6476
7146
  handleTime: number;
6477
7147
  closeAt: Date;
6478
7148
  unreadCount: number;
6479
7149
  firstResponseAt: Date;
6480
- firstResponseTime: number;
6481
7150
  isLatest: boolean;
6482
7151
  platformContact: {
6483
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
7152
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
6484
7153
  id: string;
6485
7154
  metadata: {
6486
7155
  id: string;
@@ -6636,18 +7305,6 @@ export declare const cxLogContract: {
6636
7305
  };
6637
7306
  };
6638
7307
  } | null;
6639
- customerPhone: string | null;
6640
- channelType: string | null;
6641
- slaMeet: string | null;
6642
- evaluateForm: {
6643
- id: string;
6644
- createdAt: Date;
6645
- updatedAt: Date;
6646
- deletedAt: Date | null;
6647
- cxLogId: string;
6648
- sentimentScore?: string | null | undefined;
6649
- csatScore?: string | null | undefined;
6650
- } | null;
6651
7308
  telephonyCdr: {
6652
7309
  type: string;
6653
7310
  id: string;
@@ -6657,11 +7314,10 @@ export declare const cxLogContract: {
6657
7314
  updatedAt: Date;
6658
7315
  deletedAt: Date | null;
6659
7316
  extensionId: string | null;
6660
- contactId: string | null;
6661
- callFrom: string;
6662
- callTo: string;
6663
7317
  uniqueCallId: string;
6664
7318
  timeStart: string;
7319
+ callFrom: string;
7320
+ callTo: string;
6665
7321
  callDuration: number | null;
6666
7322
  talkDuration: number | null;
6667
7323
  srcTrunkName: string | null;
@@ -6671,7 +7327,63 @@ export declare const cxLogContract: {
6671
7327
  agentRingTime: number | null;
6672
7328
  uploadId: string | null;
6673
7329
  serialNumber: string | null;
7330
+ callParticipants: {
7331
+ callTo?: {
7332
+ id: string;
7333
+ user: {
7334
+ id: string;
7335
+ address: string | null;
7336
+ name: string;
7337
+ email: string;
7338
+ createdAt: Date;
7339
+ updatedAt: Date;
7340
+ deletedAt: Date | null;
7341
+ emailVerifiedAt: Date | null;
7342
+ password: string;
7343
+ phone: string | null;
7344
+ notificationCount: number | null;
7345
+ } | null;
7346
+ deletedAt: string | null;
7347
+ userId: string;
7348
+ sipServerUrl: string | null;
7349
+ sipUserName: string | null;
7350
+ webphoneLoginUser: string | null;
7351
+ extensionId: string | null;
7352
+ extensionName: string | null;
7353
+ telephonySignature: string | null;
7354
+ createdAt?: string | undefined;
7355
+ updatedAt?: string | undefined;
7356
+ } | null | undefined;
7357
+ callFrom?: {
7358
+ id: string;
7359
+ user: {
7360
+ id: string;
7361
+ address: string | null;
7362
+ name: string;
7363
+ email: string;
7364
+ createdAt: Date;
7365
+ updatedAt: Date;
7366
+ deletedAt: Date | null;
7367
+ emailVerifiedAt: Date | null;
7368
+ password: string;
7369
+ phone: string | null;
7370
+ notificationCount: number | null;
7371
+ } | null;
7372
+ deletedAt: string | null;
7373
+ userId: string;
7374
+ sipServerUrl: string | null;
7375
+ sipUserName: string | null;
7376
+ webphoneLoginUser: string | null;
7377
+ extensionId: string | null;
7378
+ extensionName: string | null;
7379
+ telephonySignature: string | null;
7380
+ createdAt?: string | undefined;
7381
+ updatedAt?: string | undefined;
7382
+ } | null | undefined;
7383
+ } | null;
7384
+ isQueueMissedCall: boolean;
6674
7385
  telephonyQueueId: string | null;
7386
+ contactId: string | null;
6675
7387
  contact?: {
6676
7388
  id: string;
6677
7389
  channel: string | null;
@@ -6779,18 +7491,6 @@ export declare const cxLogContract: {
6779
7491
  queueNumber: string;
6780
7492
  maximumWaitingTime: number;
6781
7493
  } | null | undefined;
6782
- upload?: {
6783
- id: string;
6784
- createdAt: Date;
6785
- updatedAt: Date;
6786
- deletedAt: Date | null;
6787
- fileName: string;
6788
- fileKey: string;
6789
- bucketName: string;
6790
- fileSize: number;
6791
- fileUrl: string | null;
6792
- status?: string | undefined;
6793
- } | null | undefined;
6794
7494
  extension?: {
6795
7495
  id: string;
6796
7496
  createdAt: Date;
@@ -7008,11 +7708,11 @@ export declare const cxLogContract: {
7008
7708
  };
7009
7709
  }[] | undefined;
7010
7710
  } | null;
7011
- firstResponseTime: string | null;
7012
7711
  caseId: number;
7013
7712
  entityName: string;
7014
7713
  startedDate: string | null;
7015
7714
  handledTime: string | null;
7715
+ firstResponseTime: string | null;
7016
7716
  wrapUpForm: {
7017
7717
  id: string;
7018
7718
  disposition: string | null;
@@ -7026,14 +7726,26 @@ export declare const cxLogContract: {
7026
7726
  updatedAt: Date;
7027
7727
  deletedAt: Date | null;
7028
7728
  }[];
7029
- note: string | null;
7030
7729
  callFrom: string | null;
7031
7730
  callTo: string | null;
7731
+ note: string | null;
7732
+ } | null;
7733
+ customerPhone: string | null;
7734
+ channelType: string | null;
7735
+ slaMeet: string | null;
7736
+ evaluateForm: {
7737
+ id: string;
7738
+ createdAt: Date;
7739
+ updatedAt: Date;
7740
+ deletedAt: Date | null;
7741
+ cxLogId: string;
7742
+ sentimentScore?: string | null | undefined;
7743
+ csatScore?: string | null | undefined;
7032
7744
  } | null;
7033
7745
  room: {
7034
7746
  id: string;
7035
7747
  channel: {
7036
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
7748
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
7037
7749
  id: string;
7038
7750
  name: string;
7039
7751
  metadata: {
@@ -7145,15 +7857,15 @@ export declare const cxLogContract: {
7145
7857
  telephonySignature: string | null;
7146
7858
  };
7147
7859
  };
7860
+ firstResponseTime: number;
7148
7861
  lastMessage: string;
7149
7862
  handleTime: number;
7150
7863
  closeAt: Date;
7151
7864
  unreadCount: number;
7152
7865
  firstResponseAt: Date;
7153
- firstResponseTime: number;
7154
7866
  isLatest: boolean;
7155
7867
  platformContact: {
7156
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
7868
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
7157
7869
  id: string;
7158
7870
  metadata: {
7159
7871
  id: string;
@@ -7309,18 +8021,6 @@ export declare const cxLogContract: {
7309
8021
  };
7310
8022
  };
7311
8023
  } | null;
7312
- customerPhone: string | null;
7313
- channelType: string | null;
7314
- slaMeet: string | null;
7315
- evaluateForm: {
7316
- id: string;
7317
- createdAt: Date;
7318
- updatedAt: Date;
7319
- deletedAt: Date | null;
7320
- cxLogId: string;
7321
- sentimentScore?: string | null | undefined;
7322
- csatScore?: string | null | undefined;
7323
- } | null;
7324
8024
  telephonyCdr: {
7325
8025
  type: string;
7326
8026
  id: string;
@@ -7330,11 +8030,10 @@ export declare const cxLogContract: {
7330
8030
  updatedAt: Date;
7331
8031
  deletedAt: Date | null;
7332
8032
  extensionId: string | null;
7333
- contactId: string | null;
7334
- callFrom: string;
7335
- callTo: string;
7336
8033
  uniqueCallId: string;
7337
8034
  timeStart: string;
8035
+ callFrom: string;
8036
+ callTo: string;
7338
8037
  callDuration: number | null;
7339
8038
  talkDuration: number | null;
7340
8039
  srcTrunkName: string | null;
@@ -7344,7 +8043,63 @@ export declare const cxLogContract: {
7344
8043
  agentRingTime: number | null;
7345
8044
  uploadId: string | null;
7346
8045
  serialNumber: string | null;
8046
+ callParticipants: {
8047
+ callTo?: {
8048
+ id: string;
8049
+ user: {
8050
+ id: string;
8051
+ address: string | null;
8052
+ name: string;
8053
+ email: string;
8054
+ createdAt: Date;
8055
+ updatedAt: Date;
8056
+ deletedAt: Date | null;
8057
+ emailVerifiedAt: Date | null;
8058
+ password: string;
8059
+ phone: string | null;
8060
+ notificationCount: number | null;
8061
+ } | null;
8062
+ deletedAt: string | null;
8063
+ userId: string;
8064
+ sipServerUrl: string | null;
8065
+ sipUserName: string | null;
8066
+ webphoneLoginUser: string | null;
8067
+ extensionId: string | null;
8068
+ extensionName: string | null;
8069
+ telephonySignature: string | null;
8070
+ createdAt?: string | undefined;
8071
+ updatedAt?: string | undefined;
8072
+ } | null | undefined;
8073
+ callFrom?: {
8074
+ id: string;
8075
+ user: {
8076
+ id: string;
8077
+ address: string | null;
8078
+ name: string;
8079
+ email: string;
8080
+ createdAt: Date;
8081
+ updatedAt: Date;
8082
+ deletedAt: Date | null;
8083
+ emailVerifiedAt: Date | null;
8084
+ password: string;
8085
+ phone: string | null;
8086
+ notificationCount: number | null;
8087
+ } | null;
8088
+ deletedAt: string | null;
8089
+ userId: string;
8090
+ sipServerUrl: string | null;
8091
+ sipUserName: string | null;
8092
+ webphoneLoginUser: string | null;
8093
+ extensionId: string | null;
8094
+ extensionName: string | null;
8095
+ telephonySignature: string | null;
8096
+ createdAt?: string | undefined;
8097
+ updatedAt?: string | undefined;
8098
+ } | null | undefined;
8099
+ } | null;
8100
+ isQueueMissedCall: boolean;
7347
8101
  telephonyQueueId: string | null;
8102
+ contactId: string | null;
7348
8103
  contact?: {
7349
8104
  id: string;
7350
8105
  channel: string | null;
@@ -7452,18 +8207,6 @@ export declare const cxLogContract: {
7452
8207
  queueNumber: string;
7453
8208
  maximumWaitingTime: number;
7454
8209
  } | null | undefined;
7455
- upload?: {
7456
- id: string;
7457
- createdAt: Date;
7458
- updatedAt: Date;
7459
- deletedAt: Date | null;
7460
- fileName: string;
7461
- fileKey: string;
7462
- bucketName: string;
7463
- fileSize: number;
7464
- fileUrl: string | null;
7465
- status?: string | undefined;
7466
- } | null | undefined;
7467
8210
  extension?: {
7468
8211
  id: string;
7469
8212
  createdAt: Date;