@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.
Files changed (66) hide show
  1. package/dist/index.js +1746 -1392
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1745 -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 +6967 -3685
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +3294 -990
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +1947 -306
  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 +35549 -20637
  24. package/dist/src/contract.d.ts.map +1 -1
  25. package/dist/src/cx-log/index.d.ts +950 -101
  26. package/dist/src/cx-log/index.d.ts.map +1 -1
  27. package/dist/src/cx-log/schema.d.ts +810 -71
  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 +1919 -278
  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 +2516 -516
  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 +3036 -818
  54. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  55. package/dist/src/telephony-cdr/schema.d.ts +841 -7
  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 +3525 -1159
  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,6 +3223,7 @@ 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
+ serialNumber: z.ZodNullable<z.ZodString>;
3226
3227
  upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3227
3228
  id: z.ZodString;
3228
3229
  createdAt: z.ZodDate;
@@ -3257,7 +3258,525 @@ export declare const cxLogContract: {
3257
3258
  fileUrl: string | null;
3258
3259
  status?: string | undefined;
3259
3260
  }>>>;
3260
- serialNumber: z.ZodNullable<z.ZodString>;
3261
+ callParticipants: z.ZodNullable<z.ZodObject<{
3262
+ callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3263
+ id: z.ZodString;
3264
+ user: z.ZodNullable<z.ZodObject<Omit<{
3265
+ id: z.ZodString;
3266
+ createdAt: z.ZodDate;
3267
+ updatedAt: z.ZodDate;
3268
+ deletedAt: z.ZodNullable<z.ZodDate>;
3269
+ name: z.ZodString;
3270
+ email: z.ZodString;
3271
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3272
+ password: z.ZodString;
3273
+ address: z.ZodNullable<z.ZodString>;
3274
+ phone: z.ZodNullable<z.ZodString>;
3275
+ notificationCount: z.ZodNullable<z.ZodNumber>;
3276
+ roles: z.ZodArray<z.ZodObject<{
3277
+ id: z.ZodString;
3278
+ createdAt: z.ZodDate;
3279
+ updatedAt: z.ZodDate;
3280
+ deletedAt: z.ZodNullable<z.ZodDate>;
3281
+ systemName: z.ZodString;
3282
+ displayName: z.ZodString;
3283
+ description: z.ZodNullable<z.ZodString>;
3284
+ permissions: z.ZodArray<z.ZodObject<{
3285
+ id: z.ZodString;
3286
+ createdAt: z.ZodDate;
3287
+ updatedAt: z.ZodDate;
3288
+ deletedAt: z.ZodNullable<z.ZodDate>;
3289
+ systemName: z.ZodString;
3290
+ displayName: z.ZodString;
3291
+ description: z.ZodNullable<z.ZodString>;
3292
+ }, "strip", z.ZodTypeAny, {
3293
+ id: string;
3294
+ description: string | null;
3295
+ createdAt: Date;
3296
+ updatedAt: Date;
3297
+ deletedAt: Date | null;
3298
+ systemName: string;
3299
+ displayName: string;
3300
+ }, {
3301
+ id: string;
3302
+ description: string | null;
3303
+ createdAt: Date;
3304
+ updatedAt: Date;
3305
+ deletedAt: Date | null;
3306
+ systemName: string;
3307
+ displayName: string;
3308
+ }>, "many">;
3309
+ }, "strip", z.ZodTypeAny, {
3310
+ id: string;
3311
+ description: string | null;
3312
+ createdAt: Date;
3313
+ updatedAt: Date;
3314
+ deletedAt: Date | null;
3315
+ systemName: string;
3316
+ displayName: string;
3317
+ permissions: {
3318
+ id: string;
3319
+ description: string | null;
3320
+ createdAt: Date;
3321
+ updatedAt: Date;
3322
+ deletedAt: Date | null;
3323
+ systemName: string;
3324
+ displayName: string;
3325
+ }[];
3326
+ }, {
3327
+ id: string;
3328
+ description: string | null;
3329
+ createdAt: Date;
3330
+ updatedAt: Date;
3331
+ deletedAt: Date | null;
3332
+ systemName: string;
3333
+ displayName: string;
3334
+ permissions: {
3335
+ id: string;
3336
+ description: string | null;
3337
+ createdAt: Date;
3338
+ updatedAt: Date;
3339
+ deletedAt: Date | null;
3340
+ systemName: string;
3341
+ displayName: string;
3342
+ }[];
3343
+ }>, "many">;
3344
+ extension: z.ZodObject<{
3345
+ id: z.ZodString;
3346
+ createdAt: z.ZodDate;
3347
+ updatedAt: z.ZodDate;
3348
+ deletedAt: z.ZodNullable<z.ZodDate>;
3349
+ userId: z.ZodNullable<z.ZodString>;
3350
+ sipServerUrl: z.ZodString;
3351
+ sipUserName: z.ZodString;
3352
+ webphoneLoginUser: z.ZodString;
3353
+ extensionId: z.ZodNullable<z.ZodString>;
3354
+ extensionName: z.ZodString;
3355
+ telephonySignature: z.ZodNullable<z.ZodString>;
3356
+ }, "strip", z.ZodTypeAny, {
3357
+ id: string;
3358
+ createdAt: Date;
3359
+ updatedAt: Date;
3360
+ deletedAt: Date | null;
3361
+ userId: string | null;
3362
+ sipServerUrl: string;
3363
+ sipUserName: string;
3364
+ webphoneLoginUser: string;
3365
+ extensionId: string | null;
3366
+ extensionName: string;
3367
+ telephonySignature: string | null;
3368
+ }, {
3369
+ id: string;
3370
+ createdAt: Date;
3371
+ updatedAt: Date;
3372
+ deletedAt: Date | null;
3373
+ userId: string | null;
3374
+ sipServerUrl: string;
3375
+ sipUserName: string;
3376
+ webphoneLoginUser: string;
3377
+ extensionId: string | null;
3378
+ extensionName: string;
3379
+ telephonySignature: string | null;
3380
+ }>;
3381
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
3382
+ id: string;
3383
+ address: string | null;
3384
+ name: string;
3385
+ email: string;
3386
+ createdAt: Date;
3387
+ updatedAt: Date;
3388
+ deletedAt: Date | null;
3389
+ emailVerifiedAt: Date | null;
3390
+ password: string;
3391
+ phone: string | null;
3392
+ notificationCount: number | null;
3393
+ }, {
3394
+ id: string;
3395
+ address: string | null;
3396
+ name: string;
3397
+ email: string;
3398
+ createdAt: Date;
3399
+ updatedAt: Date;
3400
+ deletedAt: Date | null;
3401
+ emailVerifiedAt: Date | null;
3402
+ password: string;
3403
+ phone: string | null;
3404
+ notificationCount: number | null;
3405
+ }>>;
3406
+ userId: z.ZodString;
3407
+ createdAt: z.ZodOptional<z.ZodString>;
3408
+ deletedAt: z.ZodNullable<z.ZodString>;
3409
+ updatedAt: z.ZodOptional<z.ZodString>;
3410
+ extensionId: z.ZodNullable<z.ZodString>;
3411
+ sipUserName: z.ZodNullable<z.ZodString>;
3412
+ sipServerUrl: z.ZodNullable<z.ZodString>;
3413
+ extensionName: z.ZodNullable<z.ZodString>;
3414
+ webphoneLoginUser: z.ZodNullable<z.ZodString>;
3415
+ telephonySignature: z.ZodNullable<z.ZodString>;
3416
+ }, "strip", z.ZodTypeAny, {
3417
+ id: string;
3418
+ user: {
3419
+ id: string;
3420
+ address: string | null;
3421
+ name: string;
3422
+ email: string;
3423
+ createdAt: Date;
3424
+ updatedAt: Date;
3425
+ deletedAt: Date | null;
3426
+ emailVerifiedAt: Date | null;
3427
+ password: string;
3428
+ phone: string | null;
3429
+ notificationCount: number | null;
3430
+ } | null;
3431
+ deletedAt: string | null;
3432
+ userId: string;
3433
+ sipServerUrl: string | null;
3434
+ sipUserName: string | null;
3435
+ webphoneLoginUser: string | null;
3436
+ extensionId: string | null;
3437
+ extensionName: string | null;
3438
+ telephonySignature: string | null;
3439
+ createdAt?: string | undefined;
3440
+ updatedAt?: string | undefined;
3441
+ }, {
3442
+ id: string;
3443
+ user: {
3444
+ id: string;
3445
+ address: string | null;
3446
+ name: string;
3447
+ email: string;
3448
+ createdAt: Date;
3449
+ updatedAt: Date;
3450
+ deletedAt: Date | null;
3451
+ emailVerifiedAt: Date | null;
3452
+ password: string;
3453
+ phone: string | null;
3454
+ notificationCount: number | null;
3455
+ } | null;
3456
+ deletedAt: string | null;
3457
+ userId: string;
3458
+ sipServerUrl: string | null;
3459
+ sipUserName: string | null;
3460
+ webphoneLoginUser: string | null;
3461
+ extensionId: string | null;
3462
+ extensionName: string | null;
3463
+ telephonySignature: string | null;
3464
+ createdAt?: string | undefined;
3465
+ updatedAt?: string | undefined;
3466
+ }>>>;
3467
+ callFrom: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3468
+ id: z.ZodString;
3469
+ user: z.ZodNullable<z.ZodObject<Omit<{
3470
+ id: z.ZodString;
3471
+ createdAt: z.ZodDate;
3472
+ updatedAt: z.ZodDate;
3473
+ deletedAt: z.ZodNullable<z.ZodDate>;
3474
+ name: z.ZodString;
3475
+ email: z.ZodString;
3476
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3477
+ password: z.ZodString;
3478
+ address: z.ZodNullable<z.ZodString>;
3479
+ phone: z.ZodNullable<z.ZodString>;
3480
+ notificationCount: z.ZodNullable<z.ZodNumber>;
3481
+ roles: z.ZodArray<z.ZodObject<{
3482
+ id: z.ZodString;
3483
+ createdAt: z.ZodDate;
3484
+ updatedAt: z.ZodDate;
3485
+ deletedAt: z.ZodNullable<z.ZodDate>;
3486
+ systemName: z.ZodString;
3487
+ displayName: z.ZodString;
3488
+ description: z.ZodNullable<z.ZodString>;
3489
+ permissions: z.ZodArray<z.ZodObject<{
3490
+ id: z.ZodString;
3491
+ createdAt: z.ZodDate;
3492
+ updatedAt: z.ZodDate;
3493
+ deletedAt: z.ZodNullable<z.ZodDate>;
3494
+ systemName: z.ZodString;
3495
+ displayName: z.ZodString;
3496
+ description: z.ZodNullable<z.ZodString>;
3497
+ }, "strip", z.ZodTypeAny, {
3498
+ id: string;
3499
+ description: string | null;
3500
+ createdAt: Date;
3501
+ updatedAt: Date;
3502
+ deletedAt: Date | null;
3503
+ systemName: string;
3504
+ displayName: string;
3505
+ }, {
3506
+ id: string;
3507
+ description: string | null;
3508
+ createdAt: Date;
3509
+ updatedAt: Date;
3510
+ deletedAt: Date | null;
3511
+ systemName: string;
3512
+ displayName: string;
3513
+ }>, "many">;
3514
+ }, "strip", z.ZodTypeAny, {
3515
+ id: string;
3516
+ description: string | null;
3517
+ createdAt: Date;
3518
+ updatedAt: Date;
3519
+ deletedAt: Date | null;
3520
+ systemName: string;
3521
+ displayName: string;
3522
+ permissions: {
3523
+ id: string;
3524
+ description: string | null;
3525
+ createdAt: Date;
3526
+ updatedAt: Date;
3527
+ deletedAt: Date | null;
3528
+ systemName: string;
3529
+ displayName: string;
3530
+ }[];
3531
+ }, {
3532
+ id: string;
3533
+ description: string | null;
3534
+ createdAt: Date;
3535
+ updatedAt: Date;
3536
+ deletedAt: Date | null;
3537
+ systemName: string;
3538
+ displayName: string;
3539
+ permissions: {
3540
+ id: string;
3541
+ description: string | null;
3542
+ createdAt: Date;
3543
+ updatedAt: Date;
3544
+ deletedAt: Date | null;
3545
+ systemName: string;
3546
+ displayName: string;
3547
+ }[];
3548
+ }>, "many">;
3549
+ extension: z.ZodObject<{
3550
+ id: z.ZodString;
3551
+ createdAt: z.ZodDate;
3552
+ updatedAt: z.ZodDate;
3553
+ deletedAt: z.ZodNullable<z.ZodDate>;
3554
+ userId: z.ZodNullable<z.ZodString>;
3555
+ sipServerUrl: z.ZodString;
3556
+ sipUserName: z.ZodString;
3557
+ webphoneLoginUser: z.ZodString;
3558
+ extensionId: z.ZodNullable<z.ZodString>;
3559
+ extensionName: z.ZodString;
3560
+ telephonySignature: z.ZodNullable<z.ZodString>;
3561
+ }, "strip", z.ZodTypeAny, {
3562
+ id: string;
3563
+ createdAt: Date;
3564
+ updatedAt: Date;
3565
+ deletedAt: Date | null;
3566
+ userId: string | null;
3567
+ sipServerUrl: string;
3568
+ sipUserName: string;
3569
+ webphoneLoginUser: string;
3570
+ extensionId: string | null;
3571
+ extensionName: string;
3572
+ telephonySignature: string | null;
3573
+ }, {
3574
+ id: string;
3575
+ createdAt: Date;
3576
+ updatedAt: Date;
3577
+ deletedAt: Date | null;
3578
+ userId: string | null;
3579
+ sipServerUrl: string;
3580
+ sipUserName: string;
3581
+ webphoneLoginUser: string;
3582
+ extensionId: string | null;
3583
+ extensionName: string;
3584
+ telephonySignature: string | null;
3585
+ }>;
3586
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
3587
+ id: string;
3588
+ address: string | null;
3589
+ name: string;
3590
+ email: string;
3591
+ createdAt: Date;
3592
+ updatedAt: Date;
3593
+ deletedAt: Date | null;
3594
+ emailVerifiedAt: Date | null;
3595
+ password: string;
3596
+ phone: string | null;
3597
+ notificationCount: number | null;
3598
+ }, {
3599
+ id: string;
3600
+ address: string | null;
3601
+ name: string;
3602
+ email: string;
3603
+ createdAt: Date;
3604
+ updatedAt: Date;
3605
+ deletedAt: Date | null;
3606
+ emailVerifiedAt: Date | null;
3607
+ password: string;
3608
+ phone: string | null;
3609
+ notificationCount: number | null;
3610
+ }>>;
3611
+ userId: z.ZodString;
3612
+ createdAt: z.ZodOptional<z.ZodString>;
3613
+ deletedAt: z.ZodNullable<z.ZodString>;
3614
+ updatedAt: z.ZodOptional<z.ZodString>;
3615
+ extensionId: z.ZodNullable<z.ZodString>;
3616
+ sipUserName: z.ZodNullable<z.ZodString>;
3617
+ sipServerUrl: z.ZodNullable<z.ZodString>;
3618
+ extensionName: z.ZodNullable<z.ZodString>;
3619
+ webphoneLoginUser: z.ZodNullable<z.ZodString>;
3620
+ telephonySignature: z.ZodNullable<z.ZodString>;
3621
+ }, "strip", z.ZodTypeAny, {
3622
+ id: string;
3623
+ user: {
3624
+ id: string;
3625
+ address: string | null;
3626
+ name: string;
3627
+ email: string;
3628
+ createdAt: Date;
3629
+ updatedAt: Date;
3630
+ deletedAt: Date | null;
3631
+ emailVerifiedAt: Date | null;
3632
+ password: string;
3633
+ phone: string | null;
3634
+ notificationCount: number | null;
3635
+ } | null;
3636
+ deletedAt: string | null;
3637
+ userId: string;
3638
+ sipServerUrl: string | null;
3639
+ sipUserName: string | null;
3640
+ webphoneLoginUser: string | null;
3641
+ extensionId: string | null;
3642
+ extensionName: string | null;
3643
+ telephonySignature: string | null;
3644
+ createdAt?: string | undefined;
3645
+ updatedAt?: string | undefined;
3646
+ }, {
3647
+ id: string;
3648
+ user: {
3649
+ id: string;
3650
+ address: string | null;
3651
+ name: string;
3652
+ email: string;
3653
+ createdAt: Date;
3654
+ updatedAt: Date;
3655
+ deletedAt: Date | null;
3656
+ emailVerifiedAt: Date | null;
3657
+ password: string;
3658
+ phone: string | null;
3659
+ notificationCount: number | null;
3660
+ } | null;
3661
+ deletedAt: string | null;
3662
+ userId: string;
3663
+ sipServerUrl: string | null;
3664
+ sipUserName: string | null;
3665
+ webphoneLoginUser: string | null;
3666
+ extensionId: string | null;
3667
+ extensionName: string | null;
3668
+ telephonySignature: string | null;
3669
+ createdAt?: string | undefined;
3670
+ updatedAt?: string | undefined;
3671
+ }>>>;
3672
+ }, "strip", z.ZodTypeAny, {
3673
+ callTo?: {
3674
+ id: string;
3675
+ user: {
3676
+ id: string;
3677
+ address: string | null;
3678
+ name: string;
3679
+ email: string;
3680
+ createdAt: Date;
3681
+ updatedAt: Date;
3682
+ deletedAt: Date | null;
3683
+ emailVerifiedAt: Date | null;
3684
+ password: string;
3685
+ phone: string | null;
3686
+ notificationCount: number | null;
3687
+ } | null;
3688
+ deletedAt: string | null;
3689
+ userId: string;
3690
+ sipServerUrl: string | null;
3691
+ sipUserName: string | null;
3692
+ webphoneLoginUser: string | null;
3693
+ extensionId: string | null;
3694
+ extensionName: string | null;
3695
+ telephonySignature: string | null;
3696
+ createdAt?: string | undefined;
3697
+ updatedAt?: string | undefined;
3698
+ } | null | undefined;
3699
+ callFrom?: {
3700
+ id: string;
3701
+ user: {
3702
+ id: string;
3703
+ address: string | null;
3704
+ name: string;
3705
+ email: string;
3706
+ createdAt: Date;
3707
+ updatedAt: Date;
3708
+ deletedAt: Date | null;
3709
+ emailVerifiedAt: Date | null;
3710
+ password: string;
3711
+ phone: string | null;
3712
+ notificationCount: number | null;
3713
+ } | null;
3714
+ deletedAt: string | null;
3715
+ userId: string;
3716
+ sipServerUrl: string | null;
3717
+ sipUserName: string | null;
3718
+ webphoneLoginUser: string | null;
3719
+ extensionId: string | null;
3720
+ extensionName: string | null;
3721
+ telephonySignature: string | null;
3722
+ createdAt?: string | undefined;
3723
+ updatedAt?: string | undefined;
3724
+ } | null | undefined;
3725
+ }, {
3726
+ callTo?: {
3727
+ id: string;
3728
+ user: {
3729
+ id: string;
3730
+ address: string | null;
3731
+ name: string;
3732
+ email: string;
3733
+ createdAt: Date;
3734
+ updatedAt: Date;
3735
+ deletedAt: Date | null;
3736
+ emailVerifiedAt: Date | null;
3737
+ password: string;
3738
+ phone: string | null;
3739
+ notificationCount: number | null;
3740
+ } | null;
3741
+ deletedAt: string | null;
3742
+ userId: string;
3743
+ sipServerUrl: string | null;
3744
+ sipUserName: string | null;
3745
+ webphoneLoginUser: string | null;
3746
+ extensionId: string | null;
3747
+ extensionName: string | null;
3748
+ telephonySignature: string | null;
3749
+ createdAt?: string | undefined;
3750
+ updatedAt?: string | undefined;
3751
+ } | null | undefined;
3752
+ callFrom?: {
3753
+ id: string;
3754
+ user: {
3755
+ id: string;
3756
+ address: string | null;
3757
+ name: string;
3758
+ email: string;
3759
+ createdAt: Date;
3760
+ updatedAt: Date;
3761
+ deletedAt: Date | null;
3762
+ emailVerifiedAt: Date | null;
3763
+ password: string;
3764
+ phone: string | null;
3765
+ notificationCount: number | null;
3766
+ } | null;
3767
+ deletedAt: string | null;
3768
+ userId: string;
3769
+ sipServerUrl: string | null;
3770
+ sipUserName: string | null;
3771
+ webphoneLoginUser: string | null;
3772
+ extensionId: string | null;
3773
+ extensionName: string | null;
3774
+ telephonySignature: string | null;
3775
+ createdAt?: string | undefined;
3776
+ updatedAt?: string | undefined;
3777
+ } | null | undefined;
3778
+ }>>;
3779
+ isQueueMissedCall: z.ZodBoolean;
3261
3780
  extensionId: z.ZodNullable<z.ZodString>;
3262
3781
  extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3263
3782
  id: z.ZodString;
@@ -3599,11 +4118,10 @@ export declare const cxLogContract: {
3599
4118
  updatedAt: Date;
3600
4119
  deletedAt: Date | null;
3601
4120
  extensionId: string | null;
3602
- contactId: string | null;
3603
- callFrom: string;
3604
- callTo: string;
3605
4121
  uniqueCallId: string;
3606
4122
  timeStart: string;
4123
+ callFrom: string;
4124
+ callTo: string;
3607
4125
  callDuration: number | null;
3608
4126
  talkDuration: number | null;
3609
4127
  srcTrunkName: string | null;
@@ -3613,7 +4131,63 @@ export declare const cxLogContract: {
3613
4131
  agentRingTime: number | null;
3614
4132
  uploadId: string | null;
3615
4133
  serialNumber: string | null;
4134
+ callParticipants: {
4135
+ callTo?: {
4136
+ id: string;
4137
+ user: {
4138
+ id: string;
4139
+ address: string | null;
4140
+ name: string;
4141
+ email: string;
4142
+ createdAt: Date;
4143
+ updatedAt: Date;
4144
+ deletedAt: Date | null;
4145
+ emailVerifiedAt: Date | null;
4146
+ password: string;
4147
+ phone: string | null;
4148
+ notificationCount: number | null;
4149
+ } | null;
4150
+ deletedAt: string | null;
4151
+ userId: string;
4152
+ sipServerUrl: string | null;
4153
+ sipUserName: string | null;
4154
+ webphoneLoginUser: string | null;
4155
+ extensionId: string | null;
4156
+ extensionName: string | null;
4157
+ telephonySignature: string | null;
4158
+ createdAt?: string | undefined;
4159
+ updatedAt?: string | undefined;
4160
+ } | null | undefined;
4161
+ callFrom?: {
4162
+ id: string;
4163
+ user: {
4164
+ id: string;
4165
+ address: string | null;
4166
+ name: string;
4167
+ email: string;
4168
+ createdAt: Date;
4169
+ updatedAt: Date;
4170
+ deletedAt: Date | null;
4171
+ emailVerifiedAt: Date | null;
4172
+ password: string;
4173
+ phone: string | null;
4174
+ notificationCount: number | null;
4175
+ } | null;
4176
+ deletedAt: string | null;
4177
+ userId: string;
4178
+ sipServerUrl: string | null;
4179
+ sipUserName: string | null;
4180
+ webphoneLoginUser: string | null;
4181
+ extensionId: string | null;
4182
+ extensionName: string | null;
4183
+ telephonySignature: string | null;
4184
+ createdAt?: string | undefined;
4185
+ updatedAt?: string | undefined;
4186
+ } | null | undefined;
4187
+ } | null;
4188
+ isQueueMissedCall: boolean;
3616
4189
  telephonyQueueId: string | null;
4190
+ contactId: string | null;
3617
4191
  contact?: {
3618
4192
  id: string;
3619
4193
  channel: string | null;
@@ -3799,11 +4373,10 @@ export declare const cxLogContract: {
3799
4373
  updatedAt: Date;
3800
4374
  deletedAt: Date | null;
3801
4375
  extensionId: string | null;
3802
- contactId: string | null;
3803
- callFrom: string;
3804
- callTo: string;
3805
4376
  uniqueCallId: string;
3806
4377
  timeStart: string;
4378
+ callFrom: string;
4379
+ callTo: string;
3807
4380
  callDuration: number | null;
3808
4381
  talkDuration: number | null;
3809
4382
  srcTrunkName: string | null;
@@ -3813,7 +4386,63 @@ export declare const cxLogContract: {
3813
4386
  agentRingTime: number | null;
3814
4387
  uploadId: string | null;
3815
4388
  serialNumber: string | null;
4389
+ callParticipants: {
4390
+ callTo?: {
4391
+ id: string;
4392
+ user: {
4393
+ id: string;
4394
+ address: string | null;
4395
+ name: string;
4396
+ email: string;
4397
+ createdAt: Date;
4398
+ updatedAt: Date;
4399
+ deletedAt: Date | null;
4400
+ emailVerifiedAt: Date | null;
4401
+ password: string;
4402
+ phone: string | null;
4403
+ notificationCount: number | null;
4404
+ } | null;
4405
+ deletedAt: string | null;
4406
+ userId: string;
4407
+ sipServerUrl: string | null;
4408
+ sipUserName: string | null;
4409
+ webphoneLoginUser: string | null;
4410
+ extensionId: string | null;
4411
+ extensionName: string | null;
4412
+ telephonySignature: string | null;
4413
+ createdAt?: string | undefined;
4414
+ updatedAt?: string | undefined;
4415
+ } | null | undefined;
4416
+ callFrom?: {
4417
+ id: string;
4418
+ user: {
4419
+ id: string;
4420
+ address: string | null;
4421
+ name: string;
4422
+ email: string;
4423
+ createdAt: Date;
4424
+ updatedAt: Date;
4425
+ deletedAt: Date | null;
4426
+ emailVerifiedAt: Date | null;
4427
+ password: string;
4428
+ phone: string | null;
4429
+ notificationCount: number | null;
4430
+ } | null;
4431
+ deletedAt: string | null;
4432
+ userId: string;
4433
+ sipServerUrl: string | null;
4434
+ sipUserName: string | null;
4435
+ webphoneLoginUser: string | null;
4436
+ extensionId: string | null;
4437
+ extensionName: string | null;
4438
+ telephonySignature: string | null;
4439
+ createdAt?: string | undefined;
4440
+ updatedAt?: string | undefined;
4441
+ } | null | undefined;
4442
+ } | null;
4443
+ isQueueMissedCall: boolean;
3816
4444
  telephonyQueueId: string | null;
4445
+ contactId: string | null;
3817
4446
  contact?: {
3818
4447
  id: string;
3819
4448
  channel: string | null;
@@ -4995,11 +5624,11 @@ export declare const cxLogContract: {
4995
5624
  };
4996
5625
  }[] | undefined;
4997
5626
  } | null;
4998
- firstResponseTime: string | null;
4999
5627
  caseId: number;
5000
5628
  entityName: string;
5001
5629
  startedDate: string | null;
5002
5630
  handledTime: string | null;
5631
+ firstResponseTime: string | null;
5003
5632
  wrapUpForm: {
5004
5633
  id: string;
5005
5634
  disposition: string | null;
@@ -5013,14 +5642,26 @@ export declare const cxLogContract: {
5013
5642
  updatedAt: Date;
5014
5643
  deletedAt: Date | null;
5015
5644
  }[];
5016
- note: string | null;
5017
5645
  callFrom: string | null;
5018
5646
  callTo: string | null;
5647
+ note: string | null;
5648
+ } | null;
5649
+ customerPhone: string | null;
5650
+ channelType: string | null;
5651
+ slaMeet: string | null;
5652
+ evaluateForm: {
5653
+ id: string;
5654
+ createdAt: Date;
5655
+ updatedAt: Date;
5656
+ deletedAt: Date | null;
5657
+ cxLogId: string;
5658
+ sentimentScore?: string | null | undefined;
5659
+ csatScore?: string | null | undefined;
5019
5660
  } | null;
5020
5661
  room: {
5021
5662
  id: string;
5022
5663
  channel: {
5023
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5664
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
5024
5665
  id: string;
5025
5666
  name: string;
5026
5667
  metadata: {
@@ -5132,15 +5773,15 @@ export declare const cxLogContract: {
5132
5773
  telephonySignature: string | null;
5133
5774
  };
5134
5775
  };
5776
+ firstResponseTime: number;
5135
5777
  lastMessage: string;
5136
5778
  handleTime: number;
5137
5779
  closeAt: Date;
5138
5780
  unreadCount: number;
5139
5781
  firstResponseAt: Date;
5140
- firstResponseTime: number;
5141
5782
  isLatest: boolean;
5142
5783
  platformContact: {
5143
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5784
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
5144
5785
  id: string;
5145
5786
  metadata: {
5146
5787
  id: string;
@@ -5296,18 +5937,6 @@ export declare const cxLogContract: {
5296
5937
  };
5297
5938
  };
5298
5939
  } | 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
5940
  telephonyCdr: {
5312
5941
  type: string;
5313
5942
  id: string;
@@ -5317,11 +5946,10 @@ export declare const cxLogContract: {
5317
5946
  updatedAt: Date;
5318
5947
  deletedAt: Date | null;
5319
5948
  extensionId: string | null;
5320
- contactId: string | null;
5321
- callFrom: string;
5322
- callTo: string;
5323
5949
  uniqueCallId: string;
5324
5950
  timeStart: string;
5951
+ callFrom: string;
5952
+ callTo: string;
5325
5953
  callDuration: number | null;
5326
5954
  talkDuration: number | null;
5327
5955
  srcTrunkName: string | null;
@@ -5331,7 +5959,63 @@ export declare const cxLogContract: {
5331
5959
  agentRingTime: number | null;
5332
5960
  uploadId: string | null;
5333
5961
  serialNumber: string | null;
5962
+ callParticipants: {
5963
+ callTo?: {
5964
+ id: string;
5965
+ user: {
5966
+ id: string;
5967
+ address: string | null;
5968
+ name: string;
5969
+ email: string;
5970
+ createdAt: Date;
5971
+ updatedAt: Date;
5972
+ deletedAt: Date | null;
5973
+ emailVerifiedAt: Date | null;
5974
+ password: string;
5975
+ phone: string | null;
5976
+ notificationCount: number | null;
5977
+ } | null;
5978
+ deletedAt: string | null;
5979
+ userId: string;
5980
+ sipServerUrl: string | null;
5981
+ sipUserName: string | null;
5982
+ webphoneLoginUser: string | null;
5983
+ extensionId: string | null;
5984
+ extensionName: string | null;
5985
+ telephonySignature: string | null;
5986
+ createdAt?: string | undefined;
5987
+ updatedAt?: string | undefined;
5988
+ } | null | undefined;
5989
+ callFrom?: {
5990
+ id: string;
5991
+ user: {
5992
+ id: string;
5993
+ address: string | null;
5994
+ name: string;
5995
+ email: string;
5996
+ createdAt: Date;
5997
+ updatedAt: Date;
5998
+ deletedAt: Date | null;
5999
+ emailVerifiedAt: Date | null;
6000
+ password: string;
6001
+ phone: string | null;
6002
+ notificationCount: number | null;
6003
+ } | null;
6004
+ deletedAt: string | null;
6005
+ userId: string;
6006
+ sipServerUrl: string | null;
6007
+ sipUserName: string | null;
6008
+ webphoneLoginUser: string | null;
6009
+ extensionId: string | null;
6010
+ extensionName: string | null;
6011
+ telephonySignature: string | null;
6012
+ createdAt?: string | undefined;
6013
+ updatedAt?: string | undefined;
6014
+ } | null | undefined;
6015
+ } | null;
6016
+ isQueueMissedCall: boolean;
5334
6017
  telephonyQueueId: string | null;
6018
+ contactId: string | null;
5335
6019
  contact?: {
5336
6020
  id: string;
5337
6021
  channel: string | null;
@@ -5662,11 +6346,11 @@ export declare const cxLogContract: {
5662
6346
  };
5663
6347
  }[] | undefined;
5664
6348
  } | null;
5665
- firstResponseTime: string | null;
5666
6349
  caseId: number;
5667
6350
  entityName: string;
5668
6351
  startedDate: string | null;
5669
6352
  handledTime: string | null;
6353
+ firstResponseTime: string | null;
5670
6354
  wrapUpForm: {
5671
6355
  id: string;
5672
6356
  disposition: string | null;
@@ -5680,14 +6364,26 @@ export declare const cxLogContract: {
5680
6364
  updatedAt: Date;
5681
6365
  deletedAt: Date | null;
5682
6366
  }[];
5683
- note: string | null;
5684
6367
  callFrom: string | null;
5685
6368
  callTo: string | null;
6369
+ note: string | null;
6370
+ } | null;
6371
+ customerPhone: string | null;
6372
+ channelType: string | null;
6373
+ slaMeet: string | null;
6374
+ evaluateForm: {
6375
+ id: string;
6376
+ createdAt: Date;
6377
+ updatedAt: Date;
6378
+ deletedAt: Date | null;
6379
+ cxLogId: string;
6380
+ sentimentScore?: string | null | undefined;
6381
+ csatScore?: string | null | undefined;
5686
6382
  } | null;
5687
6383
  room: {
5688
6384
  id: string;
5689
6385
  channel: {
5690
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
6386
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
5691
6387
  id: string;
5692
6388
  name: string;
5693
6389
  metadata: {
@@ -5799,15 +6495,15 @@ export declare const cxLogContract: {
5799
6495
  telephonySignature: string | null;
5800
6496
  };
5801
6497
  };
6498
+ firstResponseTime: number;
5802
6499
  lastMessage: string;
5803
6500
  handleTime: number;
5804
6501
  closeAt: Date;
5805
6502
  unreadCount: number;
5806
6503
  firstResponseAt: Date;
5807
- firstResponseTime: number;
5808
6504
  isLatest: boolean;
5809
6505
  platformContact: {
5810
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
6506
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
5811
6507
  id: string;
5812
6508
  metadata: {
5813
6509
  id: string;
@@ -5963,18 +6659,6 @@ export declare const cxLogContract: {
5963
6659
  };
5964
6660
  };
5965
6661
  } | 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
6662
  telephonyCdr: {
5979
6663
  type: string;
5980
6664
  id: string;
@@ -5984,11 +6668,10 @@ export declare const cxLogContract: {
5984
6668
  updatedAt: Date;
5985
6669
  deletedAt: Date | null;
5986
6670
  extensionId: string | null;
5987
- contactId: string | null;
5988
- callFrom: string;
5989
- callTo: string;
5990
6671
  uniqueCallId: string;
5991
6672
  timeStart: string;
6673
+ callFrom: string;
6674
+ callTo: string;
5992
6675
  callDuration: number | null;
5993
6676
  talkDuration: number | null;
5994
6677
  srcTrunkName: string | null;
@@ -5998,7 +6681,63 @@ export declare const cxLogContract: {
5998
6681
  agentRingTime: number | null;
5999
6682
  uploadId: string | null;
6000
6683
  serialNumber: string | null;
6684
+ callParticipants: {
6685
+ callTo?: {
6686
+ id: string;
6687
+ user: {
6688
+ id: string;
6689
+ address: string | null;
6690
+ name: string;
6691
+ email: string;
6692
+ createdAt: Date;
6693
+ updatedAt: Date;
6694
+ deletedAt: Date | null;
6695
+ emailVerifiedAt: Date | null;
6696
+ password: string;
6697
+ phone: string | null;
6698
+ notificationCount: number | null;
6699
+ } | null;
6700
+ deletedAt: string | null;
6701
+ userId: string;
6702
+ sipServerUrl: string | null;
6703
+ sipUserName: string | null;
6704
+ webphoneLoginUser: string | null;
6705
+ extensionId: string | null;
6706
+ extensionName: string | null;
6707
+ telephonySignature: string | null;
6708
+ createdAt?: string | undefined;
6709
+ updatedAt?: string | undefined;
6710
+ } | null | undefined;
6711
+ callFrom?: {
6712
+ id: string;
6713
+ user: {
6714
+ id: string;
6715
+ address: string | null;
6716
+ name: string;
6717
+ email: string;
6718
+ createdAt: Date;
6719
+ updatedAt: Date;
6720
+ deletedAt: Date | null;
6721
+ emailVerifiedAt: Date | null;
6722
+ password: string;
6723
+ phone: string | null;
6724
+ notificationCount: number | null;
6725
+ } | null;
6726
+ deletedAt: string | null;
6727
+ userId: string;
6728
+ sipServerUrl: string | null;
6729
+ sipUserName: string | null;
6730
+ webphoneLoginUser: string | null;
6731
+ extensionId: string | null;
6732
+ extensionName: string | null;
6733
+ telephonySignature: string | null;
6734
+ createdAt?: string | undefined;
6735
+ updatedAt?: string | undefined;
6736
+ } | null | undefined;
6737
+ } | null;
6738
+ isQueueMissedCall: boolean;
6001
6739
  telephonyQueueId: string | null;
6740
+ contactId: string | null;
6002
6741
  contact?: {
6003
6742
  id: string;
6004
6743
  channel: string | null;
@@ -6335,11 +7074,11 @@ export declare const cxLogContract: {
6335
7074
  };
6336
7075
  }[] | undefined;
6337
7076
  } | null;
6338
- firstResponseTime: string | null;
6339
7077
  caseId: number;
6340
7078
  entityName: string;
6341
7079
  startedDate: string | null;
6342
7080
  handledTime: string | null;
7081
+ firstResponseTime: string | null;
6343
7082
  wrapUpForm: {
6344
7083
  id: string;
6345
7084
  disposition: string | null;
@@ -6353,14 +7092,26 @@ export declare const cxLogContract: {
6353
7092
  updatedAt: Date;
6354
7093
  deletedAt: Date | null;
6355
7094
  }[];
6356
- note: string | null;
6357
7095
  callFrom: string | null;
6358
7096
  callTo: string | null;
7097
+ note: string | null;
7098
+ } | null;
7099
+ customerPhone: string | null;
7100
+ channelType: string | null;
7101
+ slaMeet: string | null;
7102
+ evaluateForm: {
7103
+ id: string;
7104
+ createdAt: Date;
7105
+ updatedAt: Date;
7106
+ deletedAt: Date | null;
7107
+ cxLogId: string;
7108
+ sentimentScore?: string | null | undefined;
7109
+ csatScore?: string | null | undefined;
6359
7110
  } | null;
6360
7111
  room: {
6361
7112
  id: string;
6362
7113
  channel: {
6363
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
7114
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
6364
7115
  id: string;
6365
7116
  name: string;
6366
7117
  metadata: {
@@ -6472,15 +7223,15 @@ export declare const cxLogContract: {
6472
7223
  telephonySignature: string | null;
6473
7224
  };
6474
7225
  };
7226
+ firstResponseTime: number;
6475
7227
  lastMessage: string;
6476
7228
  handleTime: number;
6477
7229
  closeAt: Date;
6478
7230
  unreadCount: number;
6479
7231
  firstResponseAt: Date;
6480
- firstResponseTime: number;
6481
7232
  isLatest: boolean;
6482
7233
  platformContact: {
6483
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
7234
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
6484
7235
  id: string;
6485
7236
  metadata: {
6486
7237
  id: string;
@@ -6636,18 +7387,6 @@ export declare const cxLogContract: {
6636
7387
  };
6637
7388
  };
6638
7389
  } | 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
7390
  telephonyCdr: {
6652
7391
  type: string;
6653
7392
  id: string;
@@ -6657,11 +7396,10 @@ export declare const cxLogContract: {
6657
7396
  updatedAt: Date;
6658
7397
  deletedAt: Date | null;
6659
7398
  extensionId: string | null;
6660
- contactId: string | null;
6661
- callFrom: string;
6662
- callTo: string;
6663
7399
  uniqueCallId: string;
6664
7400
  timeStart: string;
7401
+ callFrom: string;
7402
+ callTo: string;
6665
7403
  callDuration: number | null;
6666
7404
  talkDuration: number | null;
6667
7405
  srcTrunkName: string | null;
@@ -6671,7 +7409,63 @@ export declare const cxLogContract: {
6671
7409
  agentRingTime: number | null;
6672
7410
  uploadId: string | null;
6673
7411
  serialNumber: string | null;
7412
+ callParticipants: {
7413
+ callTo?: {
7414
+ id: string;
7415
+ user: {
7416
+ id: string;
7417
+ address: string | null;
7418
+ name: string;
7419
+ email: string;
7420
+ createdAt: Date;
7421
+ updatedAt: Date;
7422
+ deletedAt: Date | null;
7423
+ emailVerifiedAt: Date | null;
7424
+ password: string;
7425
+ phone: string | null;
7426
+ notificationCount: number | null;
7427
+ } | null;
7428
+ deletedAt: string | null;
7429
+ userId: string;
7430
+ sipServerUrl: string | null;
7431
+ sipUserName: string | null;
7432
+ webphoneLoginUser: string | null;
7433
+ extensionId: string | null;
7434
+ extensionName: string | null;
7435
+ telephonySignature: string | null;
7436
+ createdAt?: string | undefined;
7437
+ updatedAt?: string | undefined;
7438
+ } | null | undefined;
7439
+ callFrom?: {
7440
+ id: string;
7441
+ user: {
7442
+ id: string;
7443
+ address: string | null;
7444
+ name: string;
7445
+ email: string;
7446
+ createdAt: Date;
7447
+ updatedAt: Date;
7448
+ deletedAt: Date | null;
7449
+ emailVerifiedAt: Date | null;
7450
+ password: string;
7451
+ phone: string | null;
7452
+ notificationCount: number | null;
7453
+ } | null;
7454
+ deletedAt: string | null;
7455
+ userId: string;
7456
+ sipServerUrl: string | null;
7457
+ sipUserName: string | null;
7458
+ webphoneLoginUser: string | null;
7459
+ extensionId: string | null;
7460
+ extensionName: string | null;
7461
+ telephonySignature: string | null;
7462
+ createdAt?: string | undefined;
7463
+ updatedAt?: string | undefined;
7464
+ } | null | undefined;
7465
+ } | null;
7466
+ isQueueMissedCall: boolean;
6674
7467
  telephonyQueueId: string | null;
7468
+ contactId: string | null;
6675
7469
  contact?: {
6676
7470
  id: string;
6677
7471
  channel: string | null;
@@ -7008,11 +7802,11 @@ export declare const cxLogContract: {
7008
7802
  };
7009
7803
  }[] | undefined;
7010
7804
  } | null;
7011
- firstResponseTime: string | null;
7012
7805
  caseId: number;
7013
7806
  entityName: string;
7014
7807
  startedDate: string | null;
7015
7808
  handledTime: string | null;
7809
+ firstResponseTime: string | null;
7016
7810
  wrapUpForm: {
7017
7811
  id: string;
7018
7812
  disposition: string | null;
@@ -7026,14 +7820,26 @@ export declare const cxLogContract: {
7026
7820
  updatedAt: Date;
7027
7821
  deletedAt: Date | null;
7028
7822
  }[];
7029
- note: string | null;
7030
7823
  callFrom: string | null;
7031
7824
  callTo: string | null;
7825
+ note: string | null;
7826
+ } | null;
7827
+ customerPhone: string | null;
7828
+ channelType: string | null;
7829
+ slaMeet: string | null;
7830
+ evaluateForm: {
7831
+ id: string;
7832
+ createdAt: Date;
7833
+ updatedAt: Date;
7834
+ deletedAt: Date | null;
7835
+ cxLogId: string;
7836
+ sentimentScore?: string | null | undefined;
7837
+ csatScore?: string | null | undefined;
7032
7838
  } | null;
7033
7839
  room: {
7034
7840
  id: string;
7035
7841
  channel: {
7036
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
7842
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
7037
7843
  id: string;
7038
7844
  name: string;
7039
7845
  metadata: {
@@ -7145,15 +7951,15 @@ export declare const cxLogContract: {
7145
7951
  telephonySignature: string | null;
7146
7952
  };
7147
7953
  };
7954
+ firstResponseTime: number;
7148
7955
  lastMessage: string;
7149
7956
  handleTime: number;
7150
7957
  closeAt: Date;
7151
7958
  unreadCount: number;
7152
7959
  firstResponseAt: Date;
7153
- firstResponseTime: number;
7154
7960
  isLatest: boolean;
7155
7961
  platformContact: {
7156
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
7962
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
7157
7963
  id: string;
7158
7964
  metadata: {
7159
7965
  id: string;
@@ -7309,18 +8115,6 @@ export declare const cxLogContract: {
7309
8115
  };
7310
8116
  };
7311
8117
  } | 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
8118
  telephonyCdr: {
7325
8119
  type: string;
7326
8120
  id: string;
@@ -7330,11 +8124,10 @@ export declare const cxLogContract: {
7330
8124
  updatedAt: Date;
7331
8125
  deletedAt: Date | null;
7332
8126
  extensionId: string | null;
7333
- contactId: string | null;
7334
- callFrom: string;
7335
- callTo: string;
7336
8127
  uniqueCallId: string;
7337
8128
  timeStart: string;
8129
+ callFrom: string;
8130
+ callTo: string;
7338
8131
  callDuration: number | null;
7339
8132
  talkDuration: number | null;
7340
8133
  srcTrunkName: string | null;
@@ -7344,7 +8137,63 @@ export declare const cxLogContract: {
7344
8137
  agentRingTime: number | null;
7345
8138
  uploadId: string | null;
7346
8139
  serialNumber: string | null;
8140
+ callParticipants: {
8141
+ callTo?: {
8142
+ id: string;
8143
+ user: {
8144
+ id: string;
8145
+ address: string | null;
8146
+ name: string;
8147
+ email: string;
8148
+ createdAt: Date;
8149
+ updatedAt: Date;
8150
+ deletedAt: Date | null;
8151
+ emailVerifiedAt: Date | null;
8152
+ password: string;
8153
+ phone: string | null;
8154
+ notificationCount: number | null;
8155
+ } | null;
8156
+ deletedAt: string | null;
8157
+ userId: string;
8158
+ sipServerUrl: string | null;
8159
+ sipUserName: string | null;
8160
+ webphoneLoginUser: string | null;
8161
+ extensionId: string | null;
8162
+ extensionName: string | null;
8163
+ telephonySignature: string | null;
8164
+ createdAt?: string | undefined;
8165
+ updatedAt?: string | undefined;
8166
+ } | null | undefined;
8167
+ callFrom?: {
8168
+ id: string;
8169
+ user: {
8170
+ id: string;
8171
+ address: string | null;
8172
+ name: string;
8173
+ email: string;
8174
+ createdAt: Date;
8175
+ updatedAt: Date;
8176
+ deletedAt: Date | null;
8177
+ emailVerifiedAt: Date | null;
8178
+ password: string;
8179
+ phone: string | null;
8180
+ notificationCount: number | null;
8181
+ } | null;
8182
+ deletedAt: string | null;
8183
+ userId: string;
8184
+ sipServerUrl: string | null;
8185
+ sipUserName: string | null;
8186
+ webphoneLoginUser: string | null;
8187
+ extensionId: string | null;
8188
+ extensionName: string | null;
8189
+ telephonySignature: string | null;
8190
+ createdAt?: string | undefined;
8191
+ updatedAt?: string | undefined;
8192
+ } | null | undefined;
8193
+ } | null;
8194
+ isQueueMissedCall: boolean;
7347
8195
  telephonyQueueId: string | null;
8196
+ contactId: string | null;
7348
8197
  contact?: {
7349
8198
  id: string;
7350
8199
  channel: string | null;