@kl1/contracts 1.2.29-uat → 1.2.31-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 +683 -484
  2. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/chat/schema.d.ts +120 -120
  4. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/chat/validation.d.ts +259 -60
  6. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/contract.d.ts +528 -528
  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 +60 -60
  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 +60 -60
  18. package/dist/api-contracts/src/line/index.d.ts +60 -60
  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 +60 -60
  28. package/dist/api-contracts/src/telegram/index.d.ts +60 -60
  29. package/dist/api-contracts/src/viber/index.d.ts +60 -60
  30. package/dist/api-contracts/src/webchat/index.d.ts +60 -60
  31. package/dist/api-contracts/src/whatsapp/index.d.ts +60 -60
  32. package/dist/api-contracts/src/workflow-rule/index.d.ts +48 -48
  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
@@ -3078,17 +3078,17 @@ export declare const RoomSchema: z.ZodObject<{
3078
3078
  }>;
3079
3079
  cxlog: z.ZodObject<{
3080
3080
  id: z.ZodString;
3081
- channel: z.ZodNullable<z.ZodString>;
3082
- direction: z.ZodNullable<z.ZodString>;
3083
3081
  createdAt: z.ZodDate;
3084
3082
  updatedAt: z.ZodDate;
3085
3083
  deletedAt: z.ZodNullable<z.ZodDate>;
3086
- entityId: z.ZodString;
3087
- queueId: z.ZodNullable<z.ZodString>;
3088
- contactId: z.ZodNullable<z.ZodString>;
3089
3084
  caseId: z.ZodNumber;
3085
+ entityId: z.ZodString;
3090
3086
  entityName: z.ZodString;
3087
+ contactId: z.ZodNullable<z.ZodString>;
3088
+ channel: z.ZodNullable<z.ZodString>;
3089
+ queueId: z.ZodNullable<z.ZodString>;
3091
3090
  agentId: z.ZodNullable<z.ZodString>;
3091
+ direction: z.ZodNullable<z.ZodString>;
3092
3092
  startedDate: z.ZodNullable<z.ZodDate>;
3093
3093
  handledTime: z.ZodNullable<z.ZodNumber>;
3094
3094
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -3358,7 +3358,7 @@ export declare const RoomSchema: z.ZodObject<{
3358
3358
  dateValue: Date | null;
3359
3359
  }[] | null | undefined;
3360
3360
  }>>;
3361
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3361
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3362
3362
  id: z.ZodString;
3363
3363
  createdAt: z.ZodDate;
3364
3364
  updatedAt: z.ZodDate;
@@ -3366,7 +3366,7 @@ export declare const RoomSchema: z.ZodObject<{
3366
3366
  startedAt: z.ZodString;
3367
3367
  endedAt: z.ZodNullable<z.ZodString>;
3368
3368
  duration: z.ZodNullable<z.ZodNumber>;
3369
- holdLabel: z.ZodObject<{
3369
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3370
3370
  id: z.ZodString;
3371
3371
  createdAt: z.ZodDate;
3372
3372
  updatedAt: z.ZodDate;
@@ -3387,7 +3387,7 @@ export declare const RoomSchema: z.ZodObject<{
3387
3387
  createdAt: Date;
3388
3388
  updatedAt: Date;
3389
3389
  deletedAt: Date | null;
3390
- }>;
3390
+ }>>>;
3391
3391
  }, "strip", z.ZodTypeAny, {
3392
3392
  id: string;
3393
3393
  createdAt: Date;
@@ -3396,14 +3396,14 @@ export declare const RoomSchema: z.ZodObject<{
3396
3396
  startedAt: string;
3397
3397
  endedAt: string | null;
3398
3398
  duration: number | null;
3399
- holdLabel: {
3399
+ holdLabel?: {
3400
3400
  id: string;
3401
3401
  name: string;
3402
3402
  position: number;
3403
3403
  createdAt: Date;
3404
3404
  updatedAt: Date;
3405
3405
  deletedAt: Date | null;
3406
- };
3406
+ } | null | undefined;
3407
3407
  }, {
3408
3408
  id: string;
3409
3409
  createdAt: Date;
@@ -3412,14 +3412,14 @@ export declare const RoomSchema: z.ZodObject<{
3412
3412
  startedAt: string;
3413
3413
  endedAt: string | null;
3414
3414
  duration: number | null;
3415
- holdLabel: {
3415
+ holdLabel?: {
3416
3416
  id: string;
3417
3417
  name: string;
3418
3418
  position: number;
3419
3419
  createdAt: Date;
3420
3420
  updatedAt: Date;
3421
3421
  deletedAt: Date | null;
3422
- };
3422
+ } | null | undefined;
3423
3423
  }>, "many">>>;
3424
3424
  }, "strip", z.ZodTypeAny, {
3425
3425
  id: string;
@@ -3497,14 +3497,14 @@ export declare const RoomSchema: z.ZodObject<{
3497
3497
  startedAt: string;
3498
3498
  endedAt: string | null;
3499
3499
  duration: number | null;
3500
- holdLabel: {
3500
+ holdLabel?: {
3501
3501
  id: string;
3502
3502
  name: string;
3503
3503
  position: number;
3504
3504
  createdAt: Date;
3505
3505
  updatedAt: Date;
3506
3506
  deletedAt: Date | null;
3507
- };
3507
+ } | null | undefined;
3508
3508
  }[] | null | undefined;
3509
3509
  }, {
3510
3510
  id: string;
@@ -3582,14 +3582,14 @@ export declare const RoomSchema: z.ZodObject<{
3582
3582
  startedAt: string;
3583
3583
  endedAt: string | null;
3584
3584
  duration: number | null;
3585
- holdLabel: {
3585
+ holdLabel?: {
3586
3586
  id: string;
3587
3587
  name: string;
3588
3588
  position: number;
3589
3589
  createdAt: Date;
3590
3590
  updatedAt: Date;
3591
3591
  deletedAt: Date | null;
3592
- };
3592
+ } | null | undefined;
3593
3593
  }[] | null | undefined;
3594
3594
  }>;
3595
3595
  workflowRule: z.ZodObject<{
@@ -4016,14 +4016,14 @@ export declare const RoomSchema: z.ZodObject<{
4016
4016
  startedAt: string;
4017
4017
  endedAt: string | null;
4018
4018
  duration: number | null;
4019
- holdLabel: {
4019
+ holdLabel?: {
4020
4020
  id: string;
4021
4021
  name: string;
4022
4022
  position: number;
4023
4023
  createdAt: Date;
4024
4024
  updatedAt: Date;
4025
4025
  deletedAt: Date | null;
4026
- };
4026
+ } | null | undefined;
4027
4027
  }[] | null | undefined;
4028
4028
  };
4029
4029
  workflowRule: {
@@ -4434,14 +4434,14 @@ export declare const RoomSchema: z.ZodObject<{
4434
4434
  startedAt: string;
4435
4435
  endedAt: string | null;
4436
4436
  duration: number | null;
4437
- holdLabel: {
4437
+ holdLabel?: {
4438
4438
  id: string;
4439
4439
  name: string;
4440
4440
  position: number;
4441
4441
  createdAt: Date;
4442
4442
  updatedAt: Date;
4443
4443
  deletedAt: Date | null;
4444
- };
4444
+ } | null | undefined;
4445
4445
  }[] | null | undefined;
4446
4446
  };
4447
4447
  workflowRule: {
@@ -6470,17 +6470,17 @@ export declare const MessageSchema: z.ZodObject<{
6470
6470
  }>;
6471
6471
  cxlog: z.ZodObject<{
6472
6472
  id: z.ZodString;
6473
- channel: z.ZodNullable<z.ZodString>;
6474
- direction: z.ZodNullable<z.ZodString>;
6475
6473
  createdAt: z.ZodDate;
6476
6474
  updatedAt: z.ZodDate;
6477
6475
  deletedAt: z.ZodNullable<z.ZodDate>;
6478
- entityId: z.ZodString;
6479
- queueId: z.ZodNullable<z.ZodString>;
6480
- contactId: z.ZodNullable<z.ZodString>;
6481
6476
  caseId: z.ZodNumber;
6477
+ entityId: z.ZodString;
6482
6478
  entityName: z.ZodString;
6479
+ contactId: z.ZodNullable<z.ZodString>;
6480
+ channel: z.ZodNullable<z.ZodString>;
6481
+ queueId: z.ZodNullable<z.ZodString>;
6483
6482
  agentId: z.ZodNullable<z.ZodString>;
6483
+ direction: z.ZodNullable<z.ZodString>;
6484
6484
  startedDate: z.ZodNullable<z.ZodDate>;
6485
6485
  handledTime: z.ZodNullable<z.ZodNumber>;
6486
6486
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -6750,7 +6750,7 @@ export declare const MessageSchema: z.ZodObject<{
6750
6750
  dateValue: Date | null;
6751
6751
  }[] | null | undefined;
6752
6752
  }>>;
6753
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
6753
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
6754
6754
  id: z.ZodString;
6755
6755
  createdAt: z.ZodDate;
6756
6756
  updatedAt: z.ZodDate;
@@ -6758,7 +6758,7 @@ export declare const MessageSchema: z.ZodObject<{
6758
6758
  startedAt: z.ZodString;
6759
6759
  endedAt: z.ZodNullable<z.ZodString>;
6760
6760
  duration: z.ZodNullable<z.ZodNumber>;
6761
- holdLabel: z.ZodObject<{
6761
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6762
6762
  id: z.ZodString;
6763
6763
  createdAt: z.ZodDate;
6764
6764
  updatedAt: z.ZodDate;
@@ -6779,7 +6779,7 @@ export declare const MessageSchema: z.ZodObject<{
6779
6779
  createdAt: Date;
6780
6780
  updatedAt: Date;
6781
6781
  deletedAt: Date | null;
6782
- }>;
6782
+ }>>>;
6783
6783
  }, "strip", z.ZodTypeAny, {
6784
6784
  id: string;
6785
6785
  createdAt: Date;
@@ -6788,14 +6788,14 @@ export declare const MessageSchema: z.ZodObject<{
6788
6788
  startedAt: string;
6789
6789
  endedAt: string | null;
6790
6790
  duration: number | null;
6791
- holdLabel: {
6791
+ holdLabel?: {
6792
6792
  id: string;
6793
6793
  name: string;
6794
6794
  position: number;
6795
6795
  createdAt: Date;
6796
6796
  updatedAt: Date;
6797
6797
  deletedAt: Date | null;
6798
- };
6798
+ } | null | undefined;
6799
6799
  }, {
6800
6800
  id: string;
6801
6801
  createdAt: Date;
@@ -6804,14 +6804,14 @@ export declare const MessageSchema: z.ZodObject<{
6804
6804
  startedAt: string;
6805
6805
  endedAt: string | null;
6806
6806
  duration: number | null;
6807
- holdLabel: {
6807
+ holdLabel?: {
6808
6808
  id: string;
6809
6809
  name: string;
6810
6810
  position: number;
6811
6811
  createdAt: Date;
6812
6812
  updatedAt: Date;
6813
6813
  deletedAt: Date | null;
6814
- };
6814
+ } | null | undefined;
6815
6815
  }>, "many">>>;
6816
6816
  }, "strip", z.ZodTypeAny, {
6817
6817
  id: string;
@@ -6889,14 +6889,14 @@ export declare const MessageSchema: z.ZodObject<{
6889
6889
  startedAt: string;
6890
6890
  endedAt: string | null;
6891
6891
  duration: number | null;
6892
- holdLabel: {
6892
+ holdLabel?: {
6893
6893
  id: string;
6894
6894
  name: string;
6895
6895
  position: number;
6896
6896
  createdAt: Date;
6897
6897
  updatedAt: Date;
6898
6898
  deletedAt: Date | null;
6899
- };
6899
+ } | null | undefined;
6900
6900
  }[] | null | undefined;
6901
6901
  }, {
6902
6902
  id: string;
@@ -6974,14 +6974,14 @@ export declare const MessageSchema: z.ZodObject<{
6974
6974
  startedAt: string;
6975
6975
  endedAt: string | null;
6976
6976
  duration: number | null;
6977
- holdLabel: {
6977
+ holdLabel?: {
6978
6978
  id: string;
6979
6979
  name: string;
6980
6980
  position: number;
6981
6981
  createdAt: Date;
6982
6982
  updatedAt: Date;
6983
6983
  deletedAt: Date | null;
6984
- };
6984
+ } | null | undefined;
6985
6985
  }[] | null | undefined;
6986
6986
  }>;
6987
6987
  workflowRule: z.ZodObject<{
@@ -7408,14 +7408,14 @@ export declare const MessageSchema: z.ZodObject<{
7408
7408
  startedAt: string;
7409
7409
  endedAt: string | null;
7410
7410
  duration: number | null;
7411
- holdLabel: {
7411
+ holdLabel?: {
7412
7412
  id: string;
7413
7413
  name: string;
7414
7414
  position: number;
7415
7415
  createdAt: Date;
7416
7416
  updatedAt: Date;
7417
7417
  deletedAt: Date | null;
7418
- };
7418
+ } | null | undefined;
7419
7419
  }[] | null | undefined;
7420
7420
  };
7421
7421
  workflowRule: {
@@ -7826,14 +7826,14 @@ export declare const MessageSchema: z.ZodObject<{
7826
7826
  startedAt: string;
7827
7827
  endedAt: string | null;
7828
7828
  duration: number | null;
7829
- holdLabel: {
7829
+ holdLabel?: {
7830
7830
  id: string;
7831
7831
  name: string;
7832
7832
  position: number;
7833
7833
  createdAt: Date;
7834
7834
  updatedAt: Date;
7835
7835
  deletedAt: Date | null;
7836
- };
7836
+ } | null | undefined;
7837
7837
  }[] | null | undefined;
7838
7838
  };
7839
7839
  workflowRule: {
@@ -10017,14 +10017,14 @@ export declare const MessageSchema: z.ZodObject<{
10017
10017
  startedAt: string;
10018
10018
  endedAt: string | null;
10019
10019
  duration: number | null;
10020
- holdLabel: {
10020
+ holdLabel?: {
10021
10021
  id: string;
10022
10022
  name: string;
10023
10023
  position: number;
10024
10024
  createdAt: Date;
10025
10025
  updatedAt: Date;
10026
10026
  deletedAt: Date | null;
10027
- };
10027
+ } | null | undefined;
10028
10028
  }[] | null | undefined;
10029
10029
  };
10030
10030
  workflowRule: {
@@ -10772,14 +10772,14 @@ export declare const MessageSchema: z.ZodObject<{
10772
10772
  startedAt: string;
10773
10773
  endedAt: string | null;
10774
10774
  duration: number | null;
10775
- holdLabel: {
10775
+ holdLabel?: {
10776
10776
  id: string;
10777
10777
  name: string;
10778
10778
  position: number;
10779
10779
  createdAt: Date;
10780
10780
  updatedAt: Date;
10781
10781
  deletedAt: Date | null;
10782
- };
10782
+ } | null | undefined;
10783
10783
  }[] | null | undefined;
10784
10784
  };
10785
10785
  workflowRule: {
@@ -13469,17 +13469,17 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13469
13469
  }>;
13470
13470
  cxlog: z.ZodObject<{
13471
13471
  id: z.ZodString;
13472
- channel: z.ZodNullable<z.ZodString>;
13473
- direction: z.ZodNullable<z.ZodString>;
13474
13472
  createdAt: z.ZodDate;
13475
13473
  updatedAt: z.ZodDate;
13476
13474
  deletedAt: z.ZodNullable<z.ZodDate>;
13477
- entityId: z.ZodString;
13478
- queueId: z.ZodNullable<z.ZodString>;
13479
- contactId: z.ZodNullable<z.ZodString>;
13480
13475
  caseId: z.ZodNumber;
13476
+ entityId: z.ZodString;
13481
13477
  entityName: z.ZodString;
13478
+ contactId: z.ZodNullable<z.ZodString>;
13479
+ channel: z.ZodNullable<z.ZodString>;
13480
+ queueId: z.ZodNullable<z.ZodString>;
13482
13481
  agentId: z.ZodNullable<z.ZodString>;
13482
+ direction: z.ZodNullable<z.ZodString>;
13483
13483
  startedDate: z.ZodNullable<z.ZodDate>;
13484
13484
  handledTime: z.ZodNullable<z.ZodNumber>;
13485
13485
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -13749,7 +13749,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13749
13749
  dateValue: Date | null;
13750
13750
  }[] | null | undefined;
13751
13751
  }>>;
13752
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
13752
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13753
13753
  id: z.ZodString;
13754
13754
  createdAt: z.ZodDate;
13755
13755
  updatedAt: z.ZodDate;
@@ -13757,7 +13757,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13757
13757
  startedAt: z.ZodString;
13758
13758
  endedAt: z.ZodNullable<z.ZodString>;
13759
13759
  duration: z.ZodNullable<z.ZodNumber>;
13760
- holdLabel: z.ZodObject<{
13760
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13761
13761
  id: z.ZodString;
13762
13762
  createdAt: z.ZodDate;
13763
13763
  updatedAt: z.ZodDate;
@@ -13778,7 +13778,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13778
13778
  createdAt: Date;
13779
13779
  updatedAt: Date;
13780
13780
  deletedAt: Date | null;
13781
- }>;
13781
+ }>>>;
13782
13782
  }, "strip", z.ZodTypeAny, {
13783
13783
  id: string;
13784
13784
  createdAt: Date;
@@ -13787,14 +13787,14 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13787
13787
  startedAt: string;
13788
13788
  endedAt: string | null;
13789
13789
  duration: number | null;
13790
- holdLabel: {
13790
+ holdLabel?: {
13791
13791
  id: string;
13792
13792
  name: string;
13793
13793
  position: number;
13794
13794
  createdAt: Date;
13795
13795
  updatedAt: Date;
13796
13796
  deletedAt: Date | null;
13797
- };
13797
+ } | null | undefined;
13798
13798
  }, {
13799
13799
  id: string;
13800
13800
  createdAt: Date;
@@ -13803,14 +13803,14 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13803
13803
  startedAt: string;
13804
13804
  endedAt: string | null;
13805
13805
  duration: number | null;
13806
- holdLabel: {
13806
+ holdLabel?: {
13807
13807
  id: string;
13808
13808
  name: string;
13809
13809
  position: number;
13810
13810
  createdAt: Date;
13811
13811
  updatedAt: Date;
13812
13812
  deletedAt: Date | null;
13813
- };
13813
+ } | null | undefined;
13814
13814
  }>, "many">>>;
13815
13815
  }, "strip", z.ZodTypeAny, {
13816
13816
  id: string;
@@ -13888,14 +13888,14 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13888
13888
  startedAt: string;
13889
13889
  endedAt: string | null;
13890
13890
  duration: number | null;
13891
- holdLabel: {
13891
+ holdLabel?: {
13892
13892
  id: string;
13893
13893
  name: string;
13894
13894
  position: number;
13895
13895
  createdAt: Date;
13896
13896
  updatedAt: Date;
13897
13897
  deletedAt: Date | null;
13898
- };
13898
+ } | null | undefined;
13899
13899
  }[] | null | undefined;
13900
13900
  }, {
13901
13901
  id: string;
@@ -13973,14 +13973,14 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13973
13973
  startedAt: string;
13974
13974
  endedAt: string | null;
13975
13975
  duration: number | null;
13976
- holdLabel: {
13976
+ holdLabel?: {
13977
13977
  id: string;
13978
13978
  name: string;
13979
13979
  position: number;
13980
13980
  createdAt: Date;
13981
13981
  updatedAt: Date;
13982
13982
  deletedAt: Date | null;
13983
- };
13983
+ } | null | undefined;
13984
13984
  }[] | null | undefined;
13985
13985
  }>;
13986
13986
  workflowRule: z.ZodObject<{
@@ -14407,14 +14407,14 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14407
14407
  startedAt: string;
14408
14408
  endedAt: string | null;
14409
14409
  duration: number | null;
14410
- holdLabel: {
14410
+ holdLabel?: {
14411
14411
  id: string;
14412
14412
  name: string;
14413
14413
  position: number;
14414
14414
  createdAt: Date;
14415
14415
  updatedAt: Date;
14416
14416
  deletedAt: Date | null;
14417
- };
14417
+ } | null | undefined;
14418
14418
  }[] | null | undefined;
14419
14419
  };
14420
14420
  workflowRule: {
@@ -14825,14 +14825,14 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14825
14825
  startedAt: string;
14826
14826
  endedAt: string | null;
14827
14827
  duration: number | null;
14828
- holdLabel: {
14828
+ holdLabel?: {
14829
14829
  id: string;
14830
14830
  name: string;
14831
14831
  position: number;
14832
14832
  createdAt: Date;
14833
14833
  updatedAt: Date;
14834
14834
  deletedAt: Date | null;
14835
- };
14835
+ } | null | undefined;
14836
14836
  }[] | null | undefined;
14837
14837
  };
14838
14838
  workflowRule: {
@@ -18924,14 +18924,14 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18924
18924
  startedAt: string;
18925
18925
  endedAt: string | null;
18926
18926
  duration: number | null;
18927
- holdLabel: {
18927
+ holdLabel?: {
18928
18928
  id: string;
18929
18929
  name: string;
18930
18930
  position: number;
18931
18931
  createdAt: Date;
18932
18932
  updatedAt: Date;
18933
18933
  deletedAt: Date | null;
18934
- };
18934
+ } | null | undefined;
18935
18935
  }[] | null | undefined;
18936
18936
  };
18937
18937
  workflowRule: {
@@ -19960,14 +19960,14 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19960
19960
  startedAt: string;
19961
19961
  endedAt: string | null;
19962
19962
  duration: number | null;
19963
- holdLabel: {
19963
+ holdLabel?: {
19964
19964
  id: string;
19965
19965
  name: string;
19966
19966
  position: number;
19967
19967
  createdAt: Date;
19968
19968
  updatedAt: Date;
19969
19969
  deletedAt: Date | null;
19970
- };
19970
+ } | null | undefined;
19971
19971
  }[] | null | undefined;
19972
19972
  };
19973
19973
  workflowRule: {
@@ -23940,17 +23940,17 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23940
23940
  }>;
23941
23941
  cxlog: z.ZodObject<{
23942
23942
  id: z.ZodString;
23943
- channel: z.ZodNullable<z.ZodString>;
23944
- direction: z.ZodNullable<z.ZodString>;
23945
23943
  createdAt: z.ZodDate;
23946
23944
  updatedAt: z.ZodDate;
23947
23945
  deletedAt: z.ZodNullable<z.ZodDate>;
23948
- entityId: z.ZodString;
23949
- queueId: z.ZodNullable<z.ZodString>;
23950
- contactId: z.ZodNullable<z.ZodString>;
23951
23946
  caseId: z.ZodNumber;
23947
+ entityId: z.ZodString;
23952
23948
  entityName: z.ZodString;
23949
+ contactId: z.ZodNullable<z.ZodString>;
23950
+ channel: z.ZodNullable<z.ZodString>;
23951
+ queueId: z.ZodNullable<z.ZodString>;
23953
23952
  agentId: z.ZodNullable<z.ZodString>;
23953
+ direction: z.ZodNullable<z.ZodString>;
23954
23954
  startedDate: z.ZodNullable<z.ZodDate>;
23955
23955
  handledTime: z.ZodNullable<z.ZodNumber>;
23956
23956
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -24220,7 +24220,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24220
24220
  dateValue: Date | null;
24221
24221
  }[] | null | undefined;
24222
24222
  }>>;
24223
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
24223
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
24224
24224
  id: z.ZodString;
24225
24225
  createdAt: z.ZodDate;
24226
24226
  updatedAt: z.ZodDate;
@@ -24228,7 +24228,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24228
24228
  startedAt: z.ZodString;
24229
24229
  endedAt: z.ZodNullable<z.ZodString>;
24230
24230
  duration: z.ZodNullable<z.ZodNumber>;
24231
- holdLabel: z.ZodObject<{
24231
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24232
24232
  id: z.ZodString;
24233
24233
  createdAt: z.ZodDate;
24234
24234
  updatedAt: z.ZodDate;
@@ -24249,7 +24249,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24249
24249
  createdAt: Date;
24250
24250
  updatedAt: Date;
24251
24251
  deletedAt: Date | null;
24252
- }>;
24252
+ }>>>;
24253
24253
  }, "strip", z.ZodTypeAny, {
24254
24254
  id: string;
24255
24255
  createdAt: Date;
@@ -24258,14 +24258,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24258
24258
  startedAt: string;
24259
24259
  endedAt: string | null;
24260
24260
  duration: number | null;
24261
- holdLabel: {
24261
+ holdLabel?: {
24262
24262
  id: string;
24263
24263
  name: string;
24264
24264
  position: number;
24265
24265
  createdAt: Date;
24266
24266
  updatedAt: Date;
24267
24267
  deletedAt: Date | null;
24268
- };
24268
+ } | null | undefined;
24269
24269
  }, {
24270
24270
  id: string;
24271
24271
  createdAt: Date;
@@ -24274,14 +24274,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24274
24274
  startedAt: string;
24275
24275
  endedAt: string | null;
24276
24276
  duration: number | null;
24277
- holdLabel: {
24277
+ holdLabel?: {
24278
24278
  id: string;
24279
24279
  name: string;
24280
24280
  position: number;
24281
24281
  createdAt: Date;
24282
24282
  updatedAt: Date;
24283
24283
  deletedAt: Date | null;
24284
- };
24284
+ } | null | undefined;
24285
24285
  }>, "many">>>;
24286
24286
  }, "strip", z.ZodTypeAny, {
24287
24287
  id: string;
@@ -24359,14 +24359,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24359
24359
  startedAt: string;
24360
24360
  endedAt: string | null;
24361
24361
  duration: number | null;
24362
- holdLabel: {
24362
+ holdLabel?: {
24363
24363
  id: string;
24364
24364
  name: string;
24365
24365
  position: number;
24366
24366
  createdAt: Date;
24367
24367
  updatedAt: Date;
24368
24368
  deletedAt: Date | null;
24369
- };
24369
+ } | null | undefined;
24370
24370
  }[] | null | undefined;
24371
24371
  }, {
24372
24372
  id: string;
@@ -24444,14 +24444,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24444
24444
  startedAt: string;
24445
24445
  endedAt: string | null;
24446
24446
  duration: number | null;
24447
- holdLabel: {
24447
+ holdLabel?: {
24448
24448
  id: string;
24449
24449
  name: string;
24450
24450
  position: number;
24451
24451
  createdAt: Date;
24452
24452
  updatedAt: Date;
24453
24453
  deletedAt: Date | null;
24454
- };
24454
+ } | null | undefined;
24455
24455
  }[] | null | undefined;
24456
24456
  }>;
24457
24457
  workflowRule: z.ZodObject<{
@@ -24878,14 +24878,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24878
24878
  startedAt: string;
24879
24879
  endedAt: string | null;
24880
24880
  duration: number | null;
24881
- holdLabel: {
24881
+ holdLabel?: {
24882
24882
  id: string;
24883
24883
  name: string;
24884
24884
  position: number;
24885
24885
  createdAt: Date;
24886
24886
  updatedAt: Date;
24887
24887
  deletedAt: Date | null;
24888
- };
24888
+ } | null | undefined;
24889
24889
  }[] | null | undefined;
24890
24890
  };
24891
24891
  workflowRule: {
@@ -25296,14 +25296,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25296
25296
  startedAt: string;
25297
25297
  endedAt: string | null;
25298
25298
  duration: number | null;
25299
- holdLabel: {
25299
+ holdLabel?: {
25300
25300
  id: string;
25301
25301
  name: string;
25302
25302
  position: number;
25303
25303
  createdAt: Date;
25304
25304
  updatedAt: Date;
25305
25305
  deletedAt: Date | null;
25306
- };
25306
+ } | null | undefined;
25307
25307
  }[] | null | undefined;
25308
25308
  };
25309
25309
  workflowRule: {
@@ -29601,17 +29601,17 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29601
29601
  }>;
29602
29602
  cxlog: z.ZodObject<{
29603
29603
  id: z.ZodString;
29604
- channel: z.ZodNullable<z.ZodString>;
29605
- direction: z.ZodNullable<z.ZodString>;
29606
29604
  createdAt: z.ZodDate;
29607
29605
  updatedAt: z.ZodDate;
29608
29606
  deletedAt: z.ZodNullable<z.ZodDate>;
29609
- entityId: z.ZodString;
29610
- queueId: z.ZodNullable<z.ZodString>;
29611
- contactId: z.ZodNullable<z.ZodString>;
29612
29607
  caseId: z.ZodNumber;
29608
+ entityId: z.ZodString;
29613
29609
  entityName: z.ZodString;
29610
+ contactId: z.ZodNullable<z.ZodString>;
29611
+ channel: z.ZodNullable<z.ZodString>;
29612
+ queueId: z.ZodNullable<z.ZodString>;
29614
29613
  agentId: z.ZodNullable<z.ZodString>;
29614
+ direction: z.ZodNullable<z.ZodString>;
29615
29615
  startedDate: z.ZodNullable<z.ZodDate>;
29616
29616
  handledTime: z.ZodNullable<z.ZodNumber>;
29617
29617
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -29881,7 +29881,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29881
29881
  dateValue: Date | null;
29882
29882
  }[] | null | undefined;
29883
29883
  }>>;
29884
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
29884
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
29885
29885
  id: z.ZodString;
29886
29886
  createdAt: z.ZodDate;
29887
29887
  updatedAt: z.ZodDate;
@@ -29889,7 +29889,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29889
29889
  startedAt: z.ZodString;
29890
29890
  endedAt: z.ZodNullable<z.ZodString>;
29891
29891
  duration: z.ZodNullable<z.ZodNumber>;
29892
- holdLabel: z.ZodObject<{
29892
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29893
29893
  id: z.ZodString;
29894
29894
  createdAt: z.ZodDate;
29895
29895
  updatedAt: z.ZodDate;
@@ -29910,7 +29910,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29910
29910
  createdAt: Date;
29911
29911
  updatedAt: Date;
29912
29912
  deletedAt: Date | null;
29913
- }>;
29913
+ }>>>;
29914
29914
  }, "strip", z.ZodTypeAny, {
29915
29915
  id: string;
29916
29916
  createdAt: Date;
@@ -29919,14 +29919,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29919
29919
  startedAt: string;
29920
29920
  endedAt: string | null;
29921
29921
  duration: number | null;
29922
- holdLabel: {
29922
+ holdLabel?: {
29923
29923
  id: string;
29924
29924
  name: string;
29925
29925
  position: number;
29926
29926
  createdAt: Date;
29927
29927
  updatedAt: Date;
29928
29928
  deletedAt: Date | null;
29929
- };
29929
+ } | null | undefined;
29930
29930
  }, {
29931
29931
  id: string;
29932
29932
  createdAt: Date;
@@ -29935,14 +29935,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29935
29935
  startedAt: string;
29936
29936
  endedAt: string | null;
29937
29937
  duration: number | null;
29938
- holdLabel: {
29938
+ holdLabel?: {
29939
29939
  id: string;
29940
29940
  name: string;
29941
29941
  position: number;
29942
29942
  createdAt: Date;
29943
29943
  updatedAt: Date;
29944
29944
  deletedAt: Date | null;
29945
- };
29945
+ } | null | undefined;
29946
29946
  }>, "many">>>;
29947
29947
  }, "strip", z.ZodTypeAny, {
29948
29948
  id: string;
@@ -30020,14 +30020,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30020
30020
  startedAt: string;
30021
30021
  endedAt: string | null;
30022
30022
  duration: number | null;
30023
- holdLabel: {
30023
+ holdLabel?: {
30024
30024
  id: string;
30025
30025
  name: string;
30026
30026
  position: number;
30027
30027
  createdAt: Date;
30028
30028
  updatedAt: Date;
30029
30029
  deletedAt: Date | null;
30030
- };
30030
+ } | null | undefined;
30031
30031
  }[] | null | undefined;
30032
30032
  }, {
30033
30033
  id: string;
@@ -30105,14 +30105,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30105
30105
  startedAt: string;
30106
30106
  endedAt: string | null;
30107
30107
  duration: number | null;
30108
- holdLabel: {
30108
+ holdLabel?: {
30109
30109
  id: string;
30110
30110
  name: string;
30111
30111
  position: number;
30112
30112
  createdAt: Date;
30113
30113
  updatedAt: Date;
30114
30114
  deletedAt: Date | null;
30115
- };
30115
+ } | null | undefined;
30116
30116
  }[] | null | undefined;
30117
30117
  }>;
30118
30118
  workflowRule: z.ZodObject<{
@@ -30539,14 +30539,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30539
30539
  startedAt: string;
30540
30540
  endedAt: string | null;
30541
30541
  duration: number | null;
30542
- holdLabel: {
30542
+ holdLabel?: {
30543
30543
  id: string;
30544
30544
  name: string;
30545
30545
  position: number;
30546
30546
  createdAt: Date;
30547
30547
  updatedAt: Date;
30548
30548
  deletedAt: Date | null;
30549
- };
30549
+ } | null | undefined;
30550
30550
  }[] | null | undefined;
30551
30551
  };
30552
30552
  workflowRule: {
@@ -30957,14 +30957,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30957
30957
  startedAt: string;
30958
30958
  endedAt: string | null;
30959
30959
  duration: number | null;
30960
- holdLabel: {
30960
+ holdLabel?: {
30961
30961
  id: string;
30962
30962
  name: string;
30963
30963
  position: number;
30964
30964
  createdAt: Date;
30965
30965
  updatedAt: Date;
30966
30966
  deletedAt: Date | null;
30967
- };
30967
+ } | null | undefined;
30968
30968
  }[] | null | undefined;
30969
30969
  };
30970
30970
  workflowRule: {
@@ -33148,14 +33148,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33148
33148
  startedAt: string;
33149
33149
  endedAt: string | null;
33150
33150
  duration: number | null;
33151
- holdLabel: {
33151
+ holdLabel?: {
33152
33152
  id: string;
33153
33153
  name: string;
33154
33154
  position: number;
33155
33155
  createdAt: Date;
33156
33156
  updatedAt: Date;
33157
33157
  deletedAt: Date | null;
33158
- };
33158
+ } | null | undefined;
33159
33159
  }[] | null | undefined;
33160
33160
  };
33161
33161
  workflowRule: {
@@ -33903,14 +33903,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33903
33903
  startedAt: string;
33904
33904
  endedAt: string | null;
33905
33905
  duration: number | null;
33906
- holdLabel: {
33906
+ holdLabel?: {
33907
33907
  id: string;
33908
33908
  name: string;
33909
33909
  position: number;
33910
33910
  createdAt: Date;
33911
33911
  updatedAt: Date;
33912
33912
  deletedAt: Date | null;
33913
- };
33913
+ } | null | undefined;
33914
33914
  }[] | null | undefined;
33915
33915
  };
33916
33916
  workflowRule: {
@@ -34665,14 +34665,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34665
34665
  startedAt: string;
34666
34666
  endedAt: string | null;
34667
34667
  duration: number | null;
34668
- holdLabel: {
34668
+ holdLabel?: {
34669
34669
  id: string;
34670
34670
  name: string;
34671
34671
  position: number;
34672
34672
  createdAt: Date;
34673
34673
  updatedAt: Date;
34674
34674
  deletedAt: Date | null;
34675
- };
34675
+ } | null | undefined;
34676
34676
  }[] | null | undefined;
34677
34677
  };
34678
34678
  workflowRule: {
@@ -35415,14 +35415,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35415
35415
  startedAt: string;
35416
35416
  endedAt: string | null;
35417
35417
  duration: number | null;
35418
- holdLabel: {
35418
+ holdLabel?: {
35419
35419
  id: string;
35420
35420
  name: string;
35421
35421
  position: number;
35422
35422
  createdAt: Date;
35423
35423
  updatedAt: Date;
35424
35424
  deletedAt: Date | null;
35425
- };
35425
+ } | null | undefined;
35426
35426
  }[] | null | undefined;
35427
35427
  };
35428
35428
  workflowRule: {
@@ -36303,14 +36303,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
36303
36303
  startedAt: string;
36304
36304
  endedAt: string | null;
36305
36305
  duration: number | null;
36306
- holdLabel: {
36306
+ holdLabel?: {
36307
36307
  id: string;
36308
36308
  name: string;
36309
36309
  position: number;
36310
36310
  createdAt: Date;
36311
36311
  updatedAt: Date;
36312
36312
  deletedAt: Date | null;
36313
- };
36313
+ } | null | undefined;
36314
36314
  }[] | null | undefined;
36315
36315
  };
36316
36316
  workflowRule: {
@@ -37053,14 +37053,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
37053
37053
  startedAt: string;
37054
37054
  endedAt: string | null;
37055
37055
  duration: number | null;
37056
- holdLabel: {
37056
+ holdLabel?: {
37057
37057
  id: string;
37058
37058
  name: string;
37059
37059
  position: number;
37060
37060
  createdAt: Date;
37061
37061
  updatedAt: Date;
37062
37062
  deletedAt: Date | null;
37063
- };
37063
+ } | null | undefined;
37064
37064
  }[] | null | undefined;
37065
37065
  };
37066
37066
  workflowRule: {