@kl1/contracts 1.2.29-uat → 1.2.30-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/dist/api-contracts/src/chat/index.d.ts +1979 -1780
  2. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/chat/schema.d.ts +350 -350
  4. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/chat/validation.d.ts +417 -218
  6. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/contract.d.ts +2062 -2062
  8. package/dist/api-contracts/src/cx-log/schema.d.ts +97 -0
  9. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  10. package/dist/api-contracts/src/facebook-feed/index.d.ts +218 -218
  11. package/dist/api-contracts/src/hold-label/index.d.ts +108 -0
  12. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/hold-label/schema.d.ts +38 -0
  14. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  15. package/dist/api-contracts/src/index.d.ts +0 -1
  16. package/dist/api-contracts/src/index.d.ts.map +1 -1
  17. package/dist/api-contracts/src/instagram/index.d.ts +218 -218
  18. package/dist/api-contracts/src/line/index.d.ts +218 -218
  19. package/dist/api-contracts/src/mail/mail-contract.d.ts +495 -0
  20. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  21. package/dist/api-contracts/src/mail/room-contract.d.ts +495 -0
  22. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  23. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +165 -0
  24. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  25. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +131 -0
  26. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  27. package/dist/api-contracts/src/messenger/index.d.ts +218 -218
  28. package/dist/api-contracts/src/telegram/index.d.ts +218 -218
  29. package/dist/api-contracts/src/viber/index.d.ts +218 -218
  30. package/dist/api-contracts/src/webchat/index.d.ts +218 -218
  31. package/dist/api-contracts/src/whatsapp/index.d.ts +218 -218
  32. package/dist/api-contracts/src/workflow-rule/index.d.ts +144 -144
  33. package/dist/index.js +326 -352
  34. package/dist/index.js.map +1 -1
  35. package/dist/index.mjs +326 -351
  36. package/dist/index.mjs.map +1 -1
  37. package/package.json +1 -1
@@ -2014,19 +2014,19 @@ export declare const chatContract: {
2014
2014
  integrationId: string;
2015
2015
  } | null;
2016
2016
  }>;
2017
- cxlog: z.ZodObject<{
2017
+ cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2018
2018
  id: z.ZodString;
2019
- channel: z.ZodNullable<z.ZodString>;
2020
- direction: z.ZodNullable<z.ZodString>;
2021
2019
  createdAt: z.ZodDate;
2022
2020
  updatedAt: z.ZodDate;
2023
2021
  deletedAt: z.ZodNullable<z.ZodDate>;
2024
- entityId: z.ZodString;
2025
- queueId: z.ZodNullable<z.ZodString>;
2026
- contactId: z.ZodNullable<z.ZodString>;
2027
2022
  caseId: z.ZodNumber;
2023
+ entityId: z.ZodString;
2028
2024
  entityName: z.ZodString;
2025
+ contactId: z.ZodNullable<z.ZodString>;
2026
+ channel: z.ZodNullable<z.ZodString>;
2027
+ queueId: z.ZodNullable<z.ZodString>;
2029
2028
  agentId: z.ZodNullable<z.ZodString>;
2029
+ direction: z.ZodNullable<z.ZodString>;
2030
2030
  startedDate: z.ZodNullable<z.ZodDate>;
2031
2031
  handledTime: z.ZodNullable<z.ZodNumber>;
2032
2032
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -2296,7 +2296,7 @@ export declare const chatContract: {
2296
2296
  dateValue: Date | null;
2297
2297
  }[] | null | undefined;
2298
2298
  }>>;
2299
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2299
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2300
2300
  id: z.ZodString;
2301
2301
  createdAt: z.ZodDate;
2302
2302
  updatedAt: z.ZodDate;
@@ -2304,7 +2304,7 @@ export declare const chatContract: {
2304
2304
  startedAt: z.ZodString;
2305
2305
  endedAt: z.ZodNullable<z.ZodString>;
2306
2306
  duration: z.ZodNullable<z.ZodNumber>;
2307
- holdLabel: z.ZodObject<{
2307
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2308
2308
  id: z.ZodString;
2309
2309
  createdAt: z.ZodDate;
2310
2310
  updatedAt: z.ZodDate;
@@ -2325,7 +2325,7 @@ export declare const chatContract: {
2325
2325
  createdAt: Date;
2326
2326
  updatedAt: Date;
2327
2327
  deletedAt: Date | null;
2328
- }>;
2328
+ }>>>;
2329
2329
  }, "strip", z.ZodTypeAny, {
2330
2330
  id: string;
2331
2331
  createdAt: Date;
@@ -2334,14 +2334,14 @@ export declare const chatContract: {
2334
2334
  startedAt: string;
2335
2335
  endedAt: string | null;
2336
2336
  duration: number | null;
2337
- holdLabel: {
2337
+ holdLabel?: {
2338
2338
  id: string;
2339
2339
  name: string;
2340
2340
  position: number;
2341
2341
  createdAt: Date;
2342
2342
  updatedAt: Date;
2343
2343
  deletedAt: Date | null;
2344
- };
2344
+ } | null | undefined;
2345
2345
  }, {
2346
2346
  id: string;
2347
2347
  createdAt: Date;
@@ -2350,14 +2350,14 @@ export declare const chatContract: {
2350
2350
  startedAt: string;
2351
2351
  endedAt: string | null;
2352
2352
  duration: number | null;
2353
- holdLabel: {
2353
+ holdLabel?: {
2354
2354
  id: string;
2355
2355
  name: string;
2356
2356
  position: number;
2357
2357
  createdAt: Date;
2358
2358
  updatedAt: Date;
2359
2359
  deletedAt: Date | null;
2360
- };
2360
+ } | null | undefined;
2361
2361
  }>, "many">>>;
2362
2362
  }, "strip", z.ZodTypeAny, {
2363
2363
  id: string;
@@ -2435,14 +2435,14 @@ export declare const chatContract: {
2435
2435
  startedAt: string;
2436
2436
  endedAt: string | null;
2437
2437
  duration: number | null;
2438
- holdLabel: {
2438
+ holdLabel?: {
2439
2439
  id: string;
2440
2440
  name: string;
2441
2441
  position: number;
2442
2442
  createdAt: Date;
2443
2443
  updatedAt: Date;
2444
2444
  deletedAt: Date | null;
2445
- };
2445
+ } | null | undefined;
2446
2446
  }[] | null | undefined;
2447
2447
  }, {
2448
2448
  id: string;
@@ -2520,16 +2520,16 @@ export declare const chatContract: {
2520
2520
  startedAt: string;
2521
2521
  endedAt: string | null;
2522
2522
  duration: number | null;
2523
- holdLabel: {
2523
+ holdLabel?: {
2524
2524
  id: string;
2525
2525
  name: string;
2526
2526
  position: number;
2527
2527
  createdAt: Date;
2528
2528
  updatedAt: Date;
2529
2529
  deletedAt: Date | null;
2530
- };
2530
+ } | null | undefined;
2531
2531
  }[] | null | undefined;
2532
- }>;
2532
+ }>>>;
2533
2533
  workflowRule: z.ZodObject<{
2534
2534
  id: z.ZodString;
2535
2535
  createdAt: z.ZodDate;
@@ -2878,7 +2878,16 @@ export declare const chatContract: {
2878
2878
  closedAt: Date;
2879
2879
  lastMessageAt: Date | null;
2880
2880
  isBotRoom: boolean;
2881
- cxlog: {
2881
+ workflowRule: {
2882
+ type: string;
2883
+ id: string;
2884
+ name: string;
2885
+ createdAt: Date;
2886
+ updatedAt: Date;
2887
+ deletedAt: Date | null;
2888
+ isActive: boolean;
2889
+ };
2890
+ cxlog?: {
2882
2891
  id: string;
2883
2892
  channel: string | null;
2884
2893
  direction: string | null;
@@ -2954,25 +2963,16 @@ export declare const chatContract: {
2954
2963
  startedAt: string;
2955
2964
  endedAt: string | null;
2956
2965
  duration: number | null;
2957
- holdLabel: {
2966
+ holdLabel?: {
2958
2967
  id: string;
2959
2968
  name: string;
2960
2969
  position: number;
2961
2970
  createdAt: Date;
2962
2971
  updatedAt: Date;
2963
2972
  deletedAt: Date | null;
2964
- };
2973
+ } | null | undefined;
2965
2974
  }[] | null | undefined;
2966
- };
2967
- workflowRule: {
2968
- type: string;
2969
- id: string;
2970
- name: string;
2971
- createdAt: Date;
2972
- updatedAt: Date;
2973
- deletedAt: Date | null;
2974
- isActive: boolean;
2975
- };
2975
+ } | null | undefined;
2976
2976
  automationQueueId?: string | null | undefined;
2977
2977
  }, {
2978
2978
  id: string;
@@ -3296,7 +3296,16 @@ export declare const chatContract: {
3296
3296
  closedAt: Date;
3297
3297
  lastMessageAt: Date | null;
3298
3298
  isBotRoom: boolean;
3299
- cxlog: {
3299
+ workflowRule: {
3300
+ type: string;
3301
+ id: string;
3302
+ name: string;
3303
+ createdAt: Date;
3304
+ updatedAt: Date;
3305
+ deletedAt: Date | null;
3306
+ isActive: boolean;
3307
+ };
3308
+ cxlog?: {
3300
3309
  id: string;
3301
3310
  channel: string | null;
3302
3311
  direction: string | null;
@@ -3372,25 +3381,16 @@ export declare const chatContract: {
3372
3381
  startedAt: string;
3373
3382
  endedAt: string | null;
3374
3383
  duration: number | null;
3375
- holdLabel: {
3384
+ holdLabel?: {
3376
3385
  id: string;
3377
3386
  name: string;
3378
3387
  position: number;
3379
3388
  createdAt: Date;
3380
3389
  updatedAt: Date;
3381
3390
  deletedAt: Date | null;
3382
- };
3391
+ } | null | undefined;
3383
3392
  }[] | null | undefined;
3384
- };
3385
- workflowRule: {
3386
- type: string;
3387
- id: string;
3388
- name: string;
3389
- createdAt: Date;
3390
- updatedAt: Date;
3391
- deletedAt: Date | null;
3392
- isActive: boolean;
3393
- };
3393
+ } | null | undefined;
3394
3394
  automationQueueId?: string | null | undefined;
3395
3395
  }>;
3396
3396
  }, "strip", z.ZodTypeAny, {
@@ -3716,7 +3716,16 @@ export declare const chatContract: {
3716
3716
  closedAt: Date;
3717
3717
  lastMessageAt: Date | null;
3718
3718
  isBotRoom: boolean;
3719
- cxlog: {
3719
+ workflowRule: {
3720
+ type: string;
3721
+ id: string;
3722
+ name: string;
3723
+ createdAt: Date;
3724
+ updatedAt: Date;
3725
+ deletedAt: Date | null;
3726
+ isActive: boolean;
3727
+ };
3728
+ cxlog?: {
3720
3729
  id: string;
3721
3730
  channel: string | null;
3722
3731
  direction: string | null;
@@ -3792,25 +3801,16 @@ export declare const chatContract: {
3792
3801
  startedAt: string;
3793
3802
  endedAt: string | null;
3794
3803
  duration: number | null;
3795
- holdLabel: {
3804
+ holdLabel?: {
3796
3805
  id: string;
3797
3806
  name: string;
3798
3807
  position: number;
3799
3808
  createdAt: Date;
3800
3809
  updatedAt: Date;
3801
3810
  deletedAt: Date | null;
3802
- };
3811
+ } | null | undefined;
3803
3812
  }[] | null | undefined;
3804
- };
3805
- workflowRule: {
3806
- type: string;
3807
- id: string;
3808
- name: string;
3809
- createdAt: Date;
3810
- updatedAt: Date;
3811
- deletedAt: Date | null;
3812
- isActive: boolean;
3813
- };
3813
+ } | null | undefined;
3814
3814
  automationQueueId?: string | null | undefined;
3815
3815
  };
3816
3816
  requestId: string;
@@ -4137,7 +4137,16 @@ export declare const chatContract: {
4137
4137
  closedAt: Date;
4138
4138
  lastMessageAt: Date | null;
4139
4139
  isBotRoom: boolean;
4140
- cxlog: {
4140
+ workflowRule: {
4141
+ type: string;
4142
+ id: string;
4143
+ name: string;
4144
+ createdAt: Date;
4145
+ updatedAt: Date;
4146
+ deletedAt: Date | null;
4147
+ isActive: boolean;
4148
+ };
4149
+ cxlog?: {
4141
4150
  id: string;
4142
4151
  channel: string | null;
4143
4152
  direction: string | null;
@@ -4213,25 +4222,16 @@ export declare const chatContract: {
4213
4222
  startedAt: string;
4214
4223
  endedAt: string | null;
4215
4224
  duration: number | null;
4216
- holdLabel: {
4225
+ holdLabel?: {
4217
4226
  id: string;
4218
4227
  name: string;
4219
4228
  position: number;
4220
4229
  createdAt: Date;
4221
4230
  updatedAt: Date;
4222
4231
  deletedAt: Date | null;
4223
- };
4232
+ } | null | undefined;
4224
4233
  }[] | null | undefined;
4225
- };
4226
- workflowRule: {
4227
- type: string;
4228
- id: string;
4229
- name: string;
4230
- createdAt: Date;
4231
- updatedAt: Date;
4232
- deletedAt: Date | null;
4233
- isActive: boolean;
4234
- };
4234
+ } | null | undefined;
4235
4235
  automationQueueId?: string | null | undefined;
4236
4236
  };
4237
4237
  requestId: string;
@@ -6270,19 +6270,19 @@ export declare const chatContract: {
6270
6270
  closedAt: z.ZodDate;
6271
6271
  lastMessageAt: z.ZodNullable<z.ZodDate>;
6272
6272
  isBotRoom: z.ZodBoolean;
6273
- cxlog: z.ZodObject<{
6273
+ cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6274
6274
  id: z.ZodString;
6275
- channel: z.ZodNullable<z.ZodString>;
6276
- direction: z.ZodNullable<z.ZodString>;
6277
6275
  createdAt: z.ZodDate;
6278
6276
  updatedAt: z.ZodDate;
6279
6277
  deletedAt: z.ZodNullable<z.ZodDate>;
6280
- entityId: z.ZodString;
6281
- queueId: z.ZodNullable<z.ZodString>;
6282
- contactId: z.ZodNullable<z.ZodString>;
6283
6278
  caseId: z.ZodNumber;
6279
+ entityId: z.ZodString;
6284
6280
  entityName: z.ZodString;
6281
+ contactId: z.ZodNullable<z.ZodString>;
6282
+ channel: z.ZodNullable<z.ZodString>;
6283
+ queueId: z.ZodNullable<z.ZodString>;
6285
6284
  agentId: z.ZodNullable<z.ZodString>;
6285
+ direction: z.ZodNullable<z.ZodString>;
6286
6286
  startedDate: z.ZodNullable<z.ZodDate>;
6287
6287
  handledTime: z.ZodNullable<z.ZodNumber>;
6288
6288
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -6552,7 +6552,7 @@ export declare const chatContract: {
6552
6552
  dateValue: Date | null;
6553
6553
  }[] | null | undefined;
6554
6554
  }>>;
6555
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
6555
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
6556
6556
  id: z.ZodString;
6557
6557
  createdAt: z.ZodDate;
6558
6558
  updatedAt: z.ZodDate;
@@ -6560,7 +6560,7 @@ export declare const chatContract: {
6560
6560
  startedAt: z.ZodString;
6561
6561
  endedAt: z.ZodNullable<z.ZodString>;
6562
6562
  duration: z.ZodNullable<z.ZodNumber>;
6563
- holdLabel: z.ZodObject<{
6563
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6564
6564
  id: z.ZodString;
6565
6565
  createdAt: z.ZodDate;
6566
6566
  updatedAt: z.ZodDate;
@@ -6581,7 +6581,7 @@ export declare const chatContract: {
6581
6581
  createdAt: Date;
6582
6582
  updatedAt: Date;
6583
6583
  deletedAt: Date | null;
6584
- }>;
6584
+ }>>>;
6585
6585
  }, "strip", z.ZodTypeAny, {
6586
6586
  id: string;
6587
6587
  createdAt: Date;
@@ -6590,14 +6590,14 @@ export declare const chatContract: {
6590
6590
  startedAt: string;
6591
6591
  endedAt: string | null;
6592
6592
  duration: number | null;
6593
- holdLabel: {
6593
+ holdLabel?: {
6594
6594
  id: string;
6595
6595
  name: string;
6596
6596
  position: number;
6597
6597
  createdAt: Date;
6598
6598
  updatedAt: Date;
6599
6599
  deletedAt: Date | null;
6600
- };
6600
+ } | null | undefined;
6601
6601
  }, {
6602
6602
  id: string;
6603
6603
  createdAt: Date;
@@ -6606,14 +6606,14 @@ export declare const chatContract: {
6606
6606
  startedAt: string;
6607
6607
  endedAt: string | null;
6608
6608
  duration: number | null;
6609
- holdLabel: {
6609
+ holdLabel?: {
6610
6610
  id: string;
6611
6611
  name: string;
6612
6612
  position: number;
6613
6613
  createdAt: Date;
6614
6614
  updatedAt: Date;
6615
6615
  deletedAt: Date | null;
6616
- };
6616
+ } | null | undefined;
6617
6617
  }>, "many">>>;
6618
6618
  }, "strip", z.ZodTypeAny, {
6619
6619
  id: string;
@@ -6691,14 +6691,14 @@ export declare const chatContract: {
6691
6691
  startedAt: string;
6692
6692
  endedAt: string | null;
6693
6693
  duration: number | null;
6694
- holdLabel: {
6694
+ holdLabel?: {
6695
6695
  id: string;
6696
6696
  name: string;
6697
6697
  position: number;
6698
6698
  createdAt: Date;
6699
6699
  updatedAt: Date;
6700
6700
  deletedAt: Date | null;
6701
- };
6701
+ } | null | undefined;
6702
6702
  }[] | null | undefined;
6703
6703
  }, {
6704
6704
  id: string;
@@ -6776,16 +6776,16 @@ export declare const chatContract: {
6776
6776
  startedAt: string;
6777
6777
  endedAt: string | null;
6778
6778
  duration: number | null;
6779
- holdLabel: {
6779
+ holdLabel?: {
6780
6780
  id: string;
6781
6781
  name: string;
6782
6782
  position: number;
6783
6783
  createdAt: Date;
6784
6784
  updatedAt: Date;
6785
6785
  deletedAt: Date | null;
6786
- };
6786
+ } | null | undefined;
6787
6787
  }[] | null | undefined;
6788
- }>;
6788
+ }>>>;
6789
6789
  workflowRule: z.ZodObject<{
6790
6790
  id: z.ZodString;
6791
6791
  createdAt: z.ZodDate;
@@ -7135,7 +7135,17 @@ export declare const chatContract: {
7135
7135
  closedAt: Date;
7136
7136
  lastMessageAt: Date | null;
7137
7137
  isBotRoom: boolean;
7138
- cxlog: {
7138
+ workflowRule: {
7139
+ type: string;
7140
+ id: string;
7141
+ name: string;
7142
+ createdAt: Date;
7143
+ updatedAt: Date;
7144
+ deletedAt: Date | null;
7145
+ isActive: boolean;
7146
+ };
7147
+ solveMessage: string;
7148
+ cxlog?: {
7139
7149
  id: string;
7140
7150
  channel: string | null;
7141
7151
  direction: string | null;
@@ -7211,26 +7221,16 @@ export declare const chatContract: {
7211
7221
  startedAt: string;
7212
7222
  endedAt: string | null;
7213
7223
  duration: number | null;
7214
- holdLabel: {
7224
+ holdLabel?: {
7215
7225
  id: string;
7216
7226
  name: string;
7217
7227
  position: number;
7218
7228
  createdAt: Date;
7219
7229
  updatedAt: Date;
7220
7230
  deletedAt: Date | null;
7221
- };
7231
+ } | null | undefined;
7222
7232
  }[] | null | undefined;
7223
- };
7224
- workflowRule: {
7225
- type: string;
7226
- id: string;
7227
- name: string;
7228
- createdAt: Date;
7229
- updatedAt: Date;
7230
- deletedAt: Date | null;
7231
- isActive: boolean;
7232
- };
7233
- solveMessage: string;
7233
+ } | null | undefined;
7234
7234
  automationQueueId?: string | null | undefined;
7235
7235
  }, {
7236
7236
  id: string;
@@ -7554,7 +7554,17 @@ export declare const chatContract: {
7554
7554
  closedAt: Date;
7555
7555
  lastMessageAt: Date | null;
7556
7556
  isBotRoom: boolean;
7557
- cxlog: {
7557
+ workflowRule: {
7558
+ type: string;
7559
+ id: string;
7560
+ name: string;
7561
+ createdAt: Date;
7562
+ updatedAt: Date;
7563
+ deletedAt: Date | null;
7564
+ isActive: boolean;
7565
+ };
7566
+ solveMessage: string;
7567
+ cxlog?: {
7558
7568
  id: string;
7559
7569
  channel: string | null;
7560
7570
  direction: string | null;
@@ -7630,26 +7640,16 @@ export declare const chatContract: {
7630
7640
  startedAt: string;
7631
7641
  endedAt: string | null;
7632
7642
  duration: number | null;
7633
- holdLabel: {
7643
+ holdLabel?: {
7634
7644
  id: string;
7635
7645
  name: string;
7636
7646
  position: number;
7637
7647
  createdAt: Date;
7638
7648
  updatedAt: Date;
7639
7649
  deletedAt: Date | null;
7640
- };
7650
+ } | null | undefined;
7641
7651
  }[] | null | undefined;
7642
- };
7643
- workflowRule: {
7644
- type: string;
7645
- id: string;
7646
- name: string;
7647
- createdAt: Date;
7648
- updatedAt: Date;
7649
- deletedAt: Date | null;
7650
- isActive: boolean;
7651
- };
7652
- solveMessage: string;
7652
+ } | null | undefined;
7653
7653
  automationQueueId?: string | null | undefined;
7654
7654
  }>;
7655
7655
  }, "strip", z.ZodTypeAny, {
@@ -7975,7 +7975,17 @@ export declare const chatContract: {
7975
7975
  closedAt: Date;
7976
7976
  lastMessageAt: Date | null;
7977
7977
  isBotRoom: boolean;
7978
- cxlog: {
7978
+ workflowRule: {
7979
+ type: string;
7980
+ id: string;
7981
+ name: string;
7982
+ createdAt: Date;
7983
+ updatedAt: Date;
7984
+ deletedAt: Date | null;
7985
+ isActive: boolean;
7986
+ };
7987
+ solveMessage: string;
7988
+ cxlog?: {
7979
7989
  id: string;
7980
7990
  channel: string | null;
7981
7991
  direction: string | null;
@@ -8051,26 +8061,16 @@ export declare const chatContract: {
8051
8061
  startedAt: string;
8052
8062
  endedAt: string | null;
8053
8063
  duration: number | null;
8054
- holdLabel: {
8064
+ holdLabel?: {
8055
8065
  id: string;
8056
8066
  name: string;
8057
8067
  position: number;
8058
8068
  createdAt: Date;
8059
8069
  updatedAt: Date;
8060
8070
  deletedAt: Date | null;
8061
- };
8071
+ } | null | undefined;
8062
8072
  }[] | null | undefined;
8063
- };
8064
- workflowRule: {
8065
- type: string;
8066
- id: string;
8067
- name: string;
8068
- createdAt: Date;
8069
- updatedAt: Date;
8070
- deletedAt: Date | null;
8071
- isActive: boolean;
8072
- };
8073
- solveMessage: string;
8073
+ } | null | undefined;
8074
8074
  automationQueueId?: string | null | undefined;
8075
8075
  };
8076
8076
  requestId: string;
@@ -8397,7 +8397,17 @@ export declare const chatContract: {
8397
8397
  closedAt: Date;
8398
8398
  lastMessageAt: Date | null;
8399
8399
  isBotRoom: boolean;
8400
- cxlog: {
8400
+ workflowRule: {
8401
+ type: string;
8402
+ id: string;
8403
+ name: string;
8404
+ createdAt: Date;
8405
+ updatedAt: Date;
8406
+ deletedAt: Date | null;
8407
+ isActive: boolean;
8408
+ };
8409
+ solveMessage: string;
8410
+ cxlog?: {
8401
8411
  id: string;
8402
8412
  channel: string | null;
8403
8413
  direction: string | null;
@@ -8473,26 +8483,16 @@ export declare const chatContract: {
8473
8483
  startedAt: string;
8474
8484
  endedAt: string | null;
8475
8485
  duration: number | null;
8476
- holdLabel: {
8486
+ holdLabel?: {
8477
8487
  id: string;
8478
8488
  name: string;
8479
8489
  position: number;
8480
8490
  createdAt: Date;
8481
8491
  updatedAt: Date;
8482
8492
  deletedAt: Date | null;
8483
- };
8493
+ } | null | undefined;
8484
8494
  }[] | null | undefined;
8485
- };
8486
- workflowRule: {
8487
- type: string;
8488
- id: string;
8489
- name: string;
8490
- createdAt: Date;
8491
- updatedAt: Date;
8492
- deletedAt: Date | null;
8493
- isActive: boolean;
8494
- };
8495
- solveMessage: string;
8495
+ } | null | undefined;
8496
8496
  automationQueueId?: string | null | undefined;
8497
8497
  };
8498
8498
  requestId: string;