@kl1/contracts 1.2.29-uat → 1.2.31-uat

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 (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
@@ -1907,6 +1907,69 @@ export declare const receiveMessageContract: {
1907
1907
  dateValue: Date | null;
1908
1908
  }[] | null | undefined;
1909
1909
  }>>;
1910
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1911
+ id: z.ZodString;
1912
+ createdAt: z.ZodDate;
1913
+ updatedAt: z.ZodDate;
1914
+ deletedAt: z.ZodNullable<z.ZodDate>;
1915
+ startedAt: z.ZodString;
1916
+ endedAt: z.ZodNullable<z.ZodString>;
1917
+ duration: z.ZodNullable<z.ZodNumber>;
1918
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1919
+ id: z.ZodString;
1920
+ createdAt: z.ZodDate;
1921
+ updatedAt: z.ZodDate;
1922
+ deletedAt: z.ZodNullable<z.ZodDate>;
1923
+ name: z.ZodString;
1924
+ position: z.ZodNumber;
1925
+ }, "strip", z.ZodTypeAny, {
1926
+ id: string;
1927
+ name: string;
1928
+ position: number;
1929
+ createdAt: Date;
1930
+ updatedAt: Date;
1931
+ deletedAt: Date | null;
1932
+ }, {
1933
+ id: string;
1934
+ name: string;
1935
+ position: number;
1936
+ createdAt: Date;
1937
+ updatedAt: Date;
1938
+ deletedAt: Date | null;
1939
+ }>>>;
1940
+ }, "strip", z.ZodTypeAny, {
1941
+ id: string;
1942
+ createdAt: Date;
1943
+ updatedAt: Date;
1944
+ deletedAt: Date | null;
1945
+ startedAt: string;
1946
+ endedAt: string | null;
1947
+ duration: number | null;
1948
+ holdLabel?: {
1949
+ id: string;
1950
+ name: string;
1951
+ position: number;
1952
+ createdAt: Date;
1953
+ updatedAt: Date;
1954
+ deletedAt: Date | null;
1955
+ } | null | undefined;
1956
+ }, {
1957
+ id: string;
1958
+ createdAt: Date;
1959
+ updatedAt: Date;
1960
+ deletedAt: Date | null;
1961
+ startedAt: string;
1962
+ endedAt: string | null;
1963
+ duration: number | null;
1964
+ holdLabel?: {
1965
+ id: string;
1966
+ name: string;
1967
+ position: number;
1968
+ createdAt: Date;
1969
+ updatedAt: Date;
1970
+ deletedAt: Date | null;
1971
+ } | null | undefined;
1972
+ }>, "many">>>;
1910
1973
  }, "strip", z.ZodTypeAny, {
1911
1974
  id: string;
1912
1975
  channel: string | null;
@@ -1975,6 +2038,23 @@ export declare const receiveMessageContract: {
1975
2038
  dateValue: Date | null;
1976
2039
  }[] | null | undefined;
1977
2040
  } | null;
2041
+ holdLogs?: {
2042
+ id: string;
2043
+ createdAt: Date;
2044
+ updatedAt: Date;
2045
+ deletedAt: Date | null;
2046
+ startedAt: string;
2047
+ endedAt: string | null;
2048
+ duration: number | null;
2049
+ holdLabel?: {
2050
+ id: string;
2051
+ name: string;
2052
+ position: number;
2053
+ createdAt: Date;
2054
+ updatedAt: Date;
2055
+ deletedAt: Date | null;
2056
+ } | null | undefined;
2057
+ }[] | null | undefined;
1978
2058
  }, {
1979
2059
  id: string;
1980
2060
  channel: string | null;
@@ -2043,6 +2123,23 @@ export declare const receiveMessageContract: {
2043
2123
  dateValue: Date | null;
2044
2124
  }[] | null | undefined;
2045
2125
  } | null;
2126
+ holdLogs?: {
2127
+ id: string;
2128
+ createdAt: Date;
2129
+ updatedAt: Date;
2130
+ deletedAt: Date | null;
2131
+ startedAt: string;
2132
+ endedAt: string | null;
2133
+ duration: number | null;
2134
+ holdLabel?: {
2135
+ id: string;
2136
+ name: string;
2137
+ position: number;
2138
+ createdAt: Date;
2139
+ updatedAt: Date;
2140
+ deletedAt: Date | null;
2141
+ } | null | undefined;
2142
+ }[] | null | undefined;
2046
2143
  }>>;
2047
2144
  }, "strip", z.ZodTypeAny, {
2048
2145
  id?: string | undefined;
@@ -2369,6 +2466,23 @@ export declare const receiveMessageContract: {
2369
2466
  dateValue: Date | null;
2370
2467
  }[] | null | undefined;
2371
2468
  } | null;
2469
+ holdLogs?: {
2470
+ id: string;
2471
+ createdAt: Date;
2472
+ updatedAt: Date;
2473
+ deletedAt: Date | null;
2474
+ startedAt: string;
2475
+ endedAt: string | null;
2476
+ duration: number | null;
2477
+ holdLabel?: {
2478
+ id: string;
2479
+ name: string;
2480
+ position: number;
2481
+ createdAt: Date;
2482
+ updatedAt: Date;
2483
+ deletedAt: Date | null;
2484
+ } | null | undefined;
2485
+ }[] | null | undefined;
2372
2486
  } | undefined;
2373
2487
  }, {
2374
2488
  id?: string | undefined;
@@ -2695,6 +2809,23 @@ export declare const receiveMessageContract: {
2695
2809
  dateValue: Date | null;
2696
2810
  }[] | null | undefined;
2697
2811
  } | null;
2812
+ holdLogs?: {
2813
+ id: string;
2814
+ createdAt: Date;
2815
+ updatedAt: Date;
2816
+ deletedAt: Date | null;
2817
+ startedAt: string;
2818
+ endedAt: string | null;
2819
+ duration: number | null;
2820
+ holdLabel?: {
2821
+ id: string;
2822
+ name: string;
2823
+ position: number;
2824
+ createdAt: Date;
2825
+ updatedAt: Date;
2826
+ deletedAt: Date | null;
2827
+ } | null | undefined;
2828
+ }[] | null | undefined;
2698
2829
  } | undefined;
2699
2830
  }>>;
2700
2831
  upload: z.ZodOptional<z.ZodObject<{
@@ -3677,6 +3808,23 @@ export declare const receiveMessageContract: {
3677
3808
  dateValue: Date | null;
3678
3809
  }[] | null | undefined;
3679
3810
  } | null;
3811
+ holdLogs?: {
3812
+ id: string;
3813
+ createdAt: Date;
3814
+ updatedAt: Date;
3815
+ deletedAt: Date | null;
3816
+ startedAt: string;
3817
+ endedAt: string | null;
3818
+ duration: number | null;
3819
+ holdLabel?: {
3820
+ id: string;
3821
+ name: string;
3822
+ position: number;
3823
+ createdAt: Date;
3824
+ updatedAt: Date;
3825
+ deletedAt: Date | null;
3826
+ } | null | undefined;
3827
+ }[] | null | undefined;
3680
3828
  } | undefined;
3681
3829
  } | null;
3682
3830
  platformMessageId: string;
@@ -4166,6 +4314,23 @@ export declare const receiveMessageContract: {
4166
4314
  dateValue: Date | null;
4167
4315
  }[] | null | undefined;
4168
4316
  } | null;
4317
+ holdLogs?: {
4318
+ id: string;
4319
+ createdAt: Date;
4320
+ updatedAt: Date;
4321
+ deletedAt: Date | null;
4322
+ startedAt: string;
4323
+ endedAt: string | null;
4324
+ duration: number | null;
4325
+ holdLabel?: {
4326
+ id: string;
4327
+ name: string;
4328
+ position: number;
4329
+ createdAt: Date;
4330
+ updatedAt: Date;
4331
+ deletedAt: Date | null;
4332
+ } | null | undefined;
4333
+ }[] | null | undefined;
4169
4334
  } | undefined;
4170
4335
  } | null;
4171
4336
  platformMessageId: string;
@@ -4657,6 +4822,23 @@ export declare const receiveMessageContract: {
4657
4822
  dateValue: Date | null;
4658
4823
  }[] | null | undefined;
4659
4824
  } | null;
4825
+ holdLogs?: {
4826
+ id: string;
4827
+ createdAt: Date;
4828
+ updatedAt: Date;
4829
+ deletedAt: Date | null;
4830
+ startedAt: string;
4831
+ endedAt: string | null;
4832
+ duration: number | null;
4833
+ holdLabel?: {
4834
+ id: string;
4835
+ name: string;
4836
+ position: number;
4837
+ createdAt: Date;
4838
+ updatedAt: Date;
4839
+ deletedAt: Date | null;
4840
+ } | null | undefined;
4841
+ }[] | null | undefined;
4660
4842
  } | undefined;
4661
4843
  } | null;
4662
4844
  platformMessageId: string;
@@ -5148,6 +5330,23 @@ export declare const receiveMessageContract: {
5148
5330
  dateValue: Date | null;
5149
5331
  }[] | null | undefined;
5150
5332
  } | null;
5333
+ holdLogs?: {
5334
+ id: string;
5335
+ createdAt: Date;
5336
+ updatedAt: Date;
5337
+ deletedAt: Date | null;
5338
+ startedAt: string;
5339
+ endedAt: string | null;
5340
+ duration: number | null;
5341
+ holdLabel?: {
5342
+ id: string;
5343
+ name: string;
5344
+ position: number;
5345
+ createdAt: Date;
5346
+ updatedAt: Date;
5347
+ deletedAt: Date | null;
5348
+ } | null | undefined;
5349
+ }[] | null | undefined;
5151
5350
  } | undefined;
5152
5351
  } | null;
5153
5352
  platformMessageId: string;
@@ -10745,17 +10944,17 @@ export declare const mainFeedContract: {
10745
10944
  }>;
10746
10945
  cxlog: z.ZodObject<{
10747
10946
  id: z.ZodString;
10748
- channel: z.ZodNullable<z.ZodString>;
10749
- direction: z.ZodNullable<z.ZodString>;
10750
10947
  createdAt: z.ZodDate;
10751
10948
  updatedAt: z.ZodDate;
10752
10949
  deletedAt: z.ZodNullable<z.ZodDate>;
10753
- entityId: z.ZodString;
10754
- queueId: z.ZodNullable<z.ZodString>;
10755
- contactId: z.ZodNullable<z.ZodString>;
10756
10950
  caseId: z.ZodNumber;
10951
+ entityId: z.ZodString;
10757
10952
  entityName: z.ZodString;
10953
+ contactId: z.ZodNullable<z.ZodString>;
10954
+ channel: z.ZodNullable<z.ZodString>;
10955
+ queueId: z.ZodNullable<z.ZodString>;
10758
10956
  agentId: z.ZodNullable<z.ZodString>;
10957
+ direction: z.ZodNullable<z.ZodString>;
10759
10958
  startedDate: z.ZodNullable<z.ZodDate>;
10760
10959
  handledTime: z.ZodNullable<z.ZodNumber>;
10761
10960
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -11025,7 +11224,7 @@ export declare const mainFeedContract: {
11025
11224
  dateValue: Date | null;
11026
11225
  }[] | null | undefined;
11027
11226
  }>>;
11028
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11227
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11029
11228
  id: z.ZodString;
11030
11229
  createdAt: z.ZodDate;
11031
11230
  updatedAt: z.ZodDate;
@@ -11033,7 +11232,7 @@ export declare const mainFeedContract: {
11033
11232
  startedAt: z.ZodString;
11034
11233
  endedAt: z.ZodNullable<z.ZodString>;
11035
11234
  duration: z.ZodNullable<z.ZodNumber>;
11036
- holdLabel: z.ZodObject<{
11235
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11037
11236
  id: z.ZodString;
11038
11237
  createdAt: z.ZodDate;
11039
11238
  updatedAt: z.ZodDate;
@@ -11054,7 +11253,7 @@ export declare const mainFeedContract: {
11054
11253
  createdAt: Date;
11055
11254
  updatedAt: Date;
11056
11255
  deletedAt: Date | null;
11057
- }>;
11256
+ }>>>;
11058
11257
  }, "strip", z.ZodTypeAny, {
11059
11258
  id: string;
11060
11259
  createdAt: Date;
@@ -11063,14 +11262,14 @@ export declare const mainFeedContract: {
11063
11262
  startedAt: string;
11064
11263
  endedAt: string | null;
11065
11264
  duration: number | null;
11066
- holdLabel: {
11265
+ holdLabel?: {
11067
11266
  id: string;
11068
11267
  name: string;
11069
11268
  position: number;
11070
11269
  createdAt: Date;
11071
11270
  updatedAt: Date;
11072
11271
  deletedAt: Date | null;
11073
- };
11272
+ } | null | undefined;
11074
11273
  }, {
11075
11274
  id: string;
11076
11275
  createdAt: Date;
@@ -11079,14 +11278,14 @@ export declare const mainFeedContract: {
11079
11278
  startedAt: string;
11080
11279
  endedAt: string | null;
11081
11280
  duration: number | null;
11082
- holdLabel: {
11281
+ holdLabel?: {
11083
11282
  id: string;
11084
11283
  name: string;
11085
11284
  position: number;
11086
11285
  createdAt: Date;
11087
11286
  updatedAt: Date;
11088
11287
  deletedAt: Date | null;
11089
- };
11288
+ } | null | undefined;
11090
11289
  }>, "many">>>;
11091
11290
  }, "strip", z.ZodTypeAny, {
11092
11291
  id: string;
@@ -11164,14 +11363,14 @@ export declare const mainFeedContract: {
11164
11363
  startedAt: string;
11165
11364
  endedAt: string | null;
11166
11365
  duration: number | null;
11167
- holdLabel: {
11366
+ holdLabel?: {
11168
11367
  id: string;
11169
11368
  name: string;
11170
11369
  position: number;
11171
11370
  createdAt: Date;
11172
11371
  updatedAt: Date;
11173
11372
  deletedAt: Date | null;
11174
- };
11373
+ } | null | undefined;
11175
11374
  }[] | null | undefined;
11176
11375
  }, {
11177
11376
  id: string;
@@ -11249,14 +11448,14 @@ export declare const mainFeedContract: {
11249
11448
  startedAt: string;
11250
11449
  endedAt: string | null;
11251
11450
  duration: number | null;
11252
- holdLabel: {
11451
+ holdLabel?: {
11253
11452
  id: string;
11254
11453
  name: string;
11255
11454
  position: number;
11256
11455
  createdAt: Date;
11257
11456
  updatedAt: Date;
11258
11457
  deletedAt: Date | null;
11259
- };
11458
+ } | null | undefined;
11260
11459
  }[] | null | undefined;
11261
11460
  }>;
11262
11461
  workflowRule: z.ZodObject<{
@@ -11683,14 +11882,14 @@ export declare const mainFeedContract: {
11683
11882
  startedAt: string;
11684
11883
  endedAt: string | null;
11685
11884
  duration: number | null;
11686
- holdLabel: {
11885
+ holdLabel?: {
11687
11886
  id: string;
11688
11887
  name: string;
11689
11888
  position: number;
11690
11889
  createdAt: Date;
11691
11890
  updatedAt: Date;
11692
11891
  deletedAt: Date | null;
11693
- };
11892
+ } | null | undefined;
11694
11893
  }[] | null | undefined;
11695
11894
  };
11696
11895
  workflowRule: {
@@ -12101,14 +12300,14 @@ export declare const mainFeedContract: {
12101
12300
  startedAt: string;
12102
12301
  endedAt: string | null;
12103
12302
  duration: number | null;
12104
- holdLabel: {
12303
+ holdLabel?: {
12105
12304
  id: string;
12106
12305
  name: string;
12107
12306
  position: number;
12108
12307
  createdAt: Date;
12109
12308
  updatedAt: Date;
12110
12309
  deletedAt: Date | null;
12111
- };
12310
+ } | null | undefined;
12112
12311
  }[] | null | undefined;
12113
12312
  };
12114
12313
  workflowRule: {
@@ -16406,17 +16605,17 @@ export declare const mainFeedContract: {
16406
16605
  }>;
16407
16606
  cxlog: z.ZodObject<{
16408
16607
  id: z.ZodString;
16409
- channel: z.ZodNullable<z.ZodString>;
16410
- direction: z.ZodNullable<z.ZodString>;
16411
16608
  createdAt: z.ZodDate;
16412
16609
  updatedAt: z.ZodDate;
16413
16610
  deletedAt: z.ZodNullable<z.ZodDate>;
16414
- entityId: z.ZodString;
16415
- queueId: z.ZodNullable<z.ZodString>;
16416
- contactId: z.ZodNullable<z.ZodString>;
16417
16611
  caseId: z.ZodNumber;
16612
+ entityId: z.ZodString;
16418
16613
  entityName: z.ZodString;
16614
+ contactId: z.ZodNullable<z.ZodString>;
16615
+ channel: z.ZodNullable<z.ZodString>;
16616
+ queueId: z.ZodNullable<z.ZodString>;
16419
16617
  agentId: z.ZodNullable<z.ZodString>;
16618
+ direction: z.ZodNullable<z.ZodString>;
16420
16619
  startedDate: z.ZodNullable<z.ZodDate>;
16421
16620
  handledTime: z.ZodNullable<z.ZodNumber>;
16422
16621
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -16686,7 +16885,7 @@ export declare const mainFeedContract: {
16686
16885
  dateValue: Date | null;
16687
16886
  }[] | null | undefined;
16688
16887
  }>>;
16689
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
16888
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
16690
16889
  id: z.ZodString;
16691
16890
  createdAt: z.ZodDate;
16692
16891
  updatedAt: z.ZodDate;
@@ -16694,7 +16893,7 @@ export declare const mainFeedContract: {
16694
16893
  startedAt: z.ZodString;
16695
16894
  endedAt: z.ZodNullable<z.ZodString>;
16696
16895
  duration: z.ZodNullable<z.ZodNumber>;
16697
- holdLabel: z.ZodObject<{
16896
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16698
16897
  id: z.ZodString;
16699
16898
  createdAt: z.ZodDate;
16700
16899
  updatedAt: z.ZodDate;
@@ -16715,7 +16914,7 @@ export declare const mainFeedContract: {
16715
16914
  createdAt: Date;
16716
16915
  updatedAt: Date;
16717
16916
  deletedAt: Date | null;
16718
- }>;
16917
+ }>>>;
16719
16918
  }, "strip", z.ZodTypeAny, {
16720
16919
  id: string;
16721
16920
  createdAt: Date;
@@ -16724,14 +16923,14 @@ export declare const mainFeedContract: {
16724
16923
  startedAt: string;
16725
16924
  endedAt: string | null;
16726
16925
  duration: number | null;
16727
- holdLabel: {
16926
+ holdLabel?: {
16728
16927
  id: string;
16729
16928
  name: string;
16730
16929
  position: number;
16731
16930
  createdAt: Date;
16732
16931
  updatedAt: Date;
16733
16932
  deletedAt: Date | null;
16734
- };
16933
+ } | null | undefined;
16735
16934
  }, {
16736
16935
  id: string;
16737
16936
  createdAt: Date;
@@ -16740,14 +16939,14 @@ export declare const mainFeedContract: {
16740
16939
  startedAt: string;
16741
16940
  endedAt: string | null;
16742
16941
  duration: number | null;
16743
- holdLabel: {
16942
+ holdLabel?: {
16744
16943
  id: string;
16745
16944
  name: string;
16746
16945
  position: number;
16747
16946
  createdAt: Date;
16748
16947
  updatedAt: Date;
16749
16948
  deletedAt: Date | null;
16750
- };
16949
+ } | null | undefined;
16751
16950
  }>, "many">>>;
16752
16951
  }, "strip", z.ZodTypeAny, {
16753
16952
  id: string;
@@ -16825,14 +17024,14 @@ export declare const mainFeedContract: {
16825
17024
  startedAt: string;
16826
17025
  endedAt: string | null;
16827
17026
  duration: number | null;
16828
- holdLabel: {
17027
+ holdLabel?: {
16829
17028
  id: string;
16830
17029
  name: string;
16831
17030
  position: number;
16832
17031
  createdAt: Date;
16833
17032
  updatedAt: Date;
16834
17033
  deletedAt: Date | null;
16835
- };
17034
+ } | null | undefined;
16836
17035
  }[] | null | undefined;
16837
17036
  }, {
16838
17037
  id: string;
@@ -16910,14 +17109,14 @@ export declare const mainFeedContract: {
16910
17109
  startedAt: string;
16911
17110
  endedAt: string | null;
16912
17111
  duration: number | null;
16913
- holdLabel: {
17112
+ holdLabel?: {
16914
17113
  id: string;
16915
17114
  name: string;
16916
17115
  position: number;
16917
17116
  createdAt: Date;
16918
17117
  updatedAt: Date;
16919
17118
  deletedAt: Date | null;
16920
- };
17119
+ } | null | undefined;
16921
17120
  }[] | null | undefined;
16922
17121
  }>;
16923
17122
  workflowRule: z.ZodObject<{
@@ -17344,14 +17543,14 @@ export declare const mainFeedContract: {
17344
17543
  startedAt: string;
17345
17544
  endedAt: string | null;
17346
17545
  duration: number | null;
17347
- holdLabel: {
17546
+ holdLabel?: {
17348
17547
  id: string;
17349
17548
  name: string;
17350
17549
  position: number;
17351
17550
  createdAt: Date;
17352
17551
  updatedAt: Date;
17353
17552
  deletedAt: Date | null;
17354
- };
17553
+ } | null | undefined;
17355
17554
  }[] | null | undefined;
17356
17555
  };
17357
17556
  workflowRule: {
@@ -17762,14 +17961,14 @@ export declare const mainFeedContract: {
17762
17961
  startedAt: string;
17763
17962
  endedAt: string | null;
17764
17963
  duration: number | null;
17765
- holdLabel: {
17964
+ holdLabel?: {
17766
17965
  id: string;
17767
17966
  name: string;
17768
17967
  position: number;
17769
17968
  createdAt: Date;
17770
17969
  updatedAt: Date;
17771
17970
  deletedAt: Date | null;
17772
- };
17971
+ } | null | undefined;
17773
17972
  }[] | null | undefined;
17774
17973
  };
17775
17974
  workflowRule: {
@@ -19953,14 +20152,14 @@ export declare const mainFeedContract: {
19953
20152
  startedAt: string;
19954
20153
  endedAt: string | null;
19955
20154
  duration: number | null;
19956
- holdLabel: {
20155
+ holdLabel?: {
19957
20156
  id: string;
19958
20157
  name: string;
19959
20158
  position: number;
19960
20159
  createdAt: Date;
19961
20160
  updatedAt: Date;
19962
20161
  deletedAt: Date | null;
19963
- };
20162
+ } | null | undefined;
19964
20163
  }[] | null | undefined;
19965
20164
  };
19966
20165
  workflowRule: {
@@ -20708,14 +20907,14 @@ export declare const mainFeedContract: {
20708
20907
  startedAt: string;
20709
20908
  endedAt: string | null;
20710
20909
  duration: number | null;
20711
- holdLabel: {
20910
+ holdLabel?: {
20712
20911
  id: string;
20713
20912
  name: string;
20714
20913
  position: number;
20715
20914
  createdAt: Date;
20716
20915
  updatedAt: Date;
20717
20916
  deletedAt: Date | null;
20718
- };
20917
+ } | null | undefined;
20719
20918
  }[] | null | undefined;
20720
20919
  };
20721
20920
  workflowRule: {
@@ -21470,14 +21669,14 @@ export declare const mainFeedContract: {
21470
21669
  startedAt: string;
21471
21670
  endedAt: string | null;
21472
21671
  duration: number | null;
21473
- holdLabel: {
21672
+ holdLabel?: {
21474
21673
  id: string;
21475
21674
  name: string;
21476
21675
  position: number;
21477
21676
  createdAt: Date;
21478
21677
  updatedAt: Date;
21479
21678
  deletedAt: Date | null;
21480
- };
21679
+ } | null | undefined;
21481
21680
  }[] | null | undefined;
21482
21681
  };
21483
21682
  workflowRule: {
@@ -22220,14 +22419,14 @@ export declare const mainFeedContract: {
22220
22419
  startedAt: string;
22221
22420
  endedAt: string | null;
22222
22421
  duration: number | null;
22223
- holdLabel: {
22422
+ holdLabel?: {
22224
22423
  id: string;
22225
22424
  name: string;
22226
22425
  position: number;
22227
22426
  createdAt: Date;
22228
22427
  updatedAt: Date;
22229
22428
  deletedAt: Date | null;
22230
- };
22429
+ } | null | undefined;
22231
22430
  }[] | null | undefined;
22232
22431
  };
22233
22432
  workflowRule: {
@@ -23108,14 +23307,14 @@ export declare const mainFeedContract: {
23108
23307
  startedAt: string;
23109
23308
  endedAt: string | null;
23110
23309
  duration: number | null;
23111
- holdLabel: {
23310
+ holdLabel?: {
23112
23311
  id: string;
23113
23312
  name: string;
23114
23313
  position: number;
23115
23314
  createdAt: Date;
23116
23315
  updatedAt: Date;
23117
23316
  deletedAt: Date | null;
23118
- };
23317
+ } | null | undefined;
23119
23318
  }[] | null | undefined;
23120
23319
  };
23121
23320
  workflowRule: {
@@ -23858,14 +24057,14 @@ export declare const mainFeedContract: {
23858
24057
  startedAt: string;
23859
24058
  endedAt: string | null;
23860
24059
  duration: number | null;
23861
- holdLabel: {
24060
+ holdLabel?: {
23862
24061
  id: string;
23863
24062
  name: string;
23864
24063
  position: number;
23865
24064
  createdAt: Date;
23866
24065
  updatedAt: Date;
23867
24066
  deletedAt: Date | null;
23868
- };
24067
+ } | null | undefined;
23869
24068
  }[] | null | undefined;
23870
24069
  };
23871
24070
  workflowRule: {
@@ -24748,14 +24947,14 @@ export declare const mainFeedContract: {
24748
24947
  startedAt: string;
24749
24948
  endedAt: string | null;
24750
24949
  duration: number | null;
24751
- holdLabel: {
24950
+ holdLabel?: {
24752
24951
  id: string;
24753
24952
  name: string;
24754
24953
  position: number;
24755
24954
  createdAt: Date;
24756
24955
  updatedAt: Date;
24757
24956
  deletedAt: Date | null;
24758
- };
24957
+ } | null | undefined;
24759
24958
  }[] | null | undefined;
24760
24959
  };
24761
24960
  workflowRule: {
@@ -25498,14 +25697,14 @@ export declare const mainFeedContract: {
25498
25697
  startedAt: string;
25499
25698
  endedAt: string | null;
25500
25699
  duration: number | null;
25501
- holdLabel: {
25700
+ holdLabel?: {
25502
25701
  id: string;
25503
25702
  name: string;
25504
25703
  position: number;
25505
25704
  createdAt: Date;
25506
25705
  updatedAt: Date;
25507
25706
  deletedAt: Date | null;
25508
- };
25707
+ } | null | undefined;
25509
25708
  }[] | null | undefined;
25510
25709
  };
25511
25710
  workflowRule: {
@@ -26392,14 +26591,14 @@ export declare const mainFeedContract: {
26392
26591
  startedAt: string;
26393
26592
  endedAt: string | null;
26394
26593
  duration: number | null;
26395
- holdLabel: {
26594
+ holdLabel?: {
26396
26595
  id: string;
26397
26596
  name: string;
26398
26597
  position: number;
26399
26598
  createdAt: Date;
26400
26599
  updatedAt: Date;
26401
26600
  deletedAt: Date | null;
26402
- };
26601
+ } | null | undefined;
26403
26602
  }[] | null | undefined;
26404
26603
  };
26405
26604
  workflowRule: {
@@ -27142,14 +27341,14 @@ export declare const mainFeedContract: {
27142
27341
  startedAt: string;
27143
27342
  endedAt: string | null;
27144
27343
  duration: number | null;
27145
- holdLabel: {
27344
+ holdLabel?: {
27146
27345
  id: string;
27147
27346
  name: string;
27148
27347
  position: number;
27149
27348
  createdAt: Date;
27150
27349
  updatedAt: Date;
27151
27350
  deletedAt: Date | null;
27152
- };
27351
+ } | null | undefined;
27153
27352
  }[] | null | undefined;
27154
27353
  };
27155
27354
  workflowRule: {
@@ -29680,17 +29879,17 @@ export declare const mainChatRoomContract: {
29680
29879
  }>;
29681
29880
  cxlog: z.ZodObject<{
29682
29881
  id: z.ZodString;
29683
- channel: z.ZodNullable<z.ZodString>;
29684
- direction: z.ZodNullable<z.ZodString>;
29685
29882
  createdAt: z.ZodDate;
29686
29883
  updatedAt: z.ZodDate;
29687
29884
  deletedAt: z.ZodNullable<z.ZodDate>;
29688
- entityId: z.ZodString;
29689
- queueId: z.ZodNullable<z.ZodString>;
29690
- contactId: z.ZodNullable<z.ZodString>;
29691
29885
  caseId: z.ZodNumber;
29886
+ entityId: z.ZodString;
29692
29887
  entityName: z.ZodString;
29888
+ contactId: z.ZodNullable<z.ZodString>;
29889
+ channel: z.ZodNullable<z.ZodString>;
29890
+ queueId: z.ZodNullable<z.ZodString>;
29693
29891
  agentId: z.ZodNullable<z.ZodString>;
29892
+ direction: z.ZodNullable<z.ZodString>;
29694
29893
  startedDate: z.ZodNullable<z.ZodDate>;
29695
29894
  handledTime: z.ZodNullable<z.ZodNumber>;
29696
29895
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -29960,7 +30159,7 @@ export declare const mainChatRoomContract: {
29960
30159
  dateValue: Date | null;
29961
30160
  }[] | null | undefined;
29962
30161
  }>>;
29963
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
30162
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
29964
30163
  id: z.ZodString;
29965
30164
  createdAt: z.ZodDate;
29966
30165
  updatedAt: z.ZodDate;
@@ -29968,7 +30167,7 @@ export declare const mainChatRoomContract: {
29968
30167
  startedAt: z.ZodString;
29969
30168
  endedAt: z.ZodNullable<z.ZodString>;
29970
30169
  duration: z.ZodNullable<z.ZodNumber>;
29971
- holdLabel: z.ZodObject<{
30170
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29972
30171
  id: z.ZodString;
29973
30172
  createdAt: z.ZodDate;
29974
30173
  updatedAt: z.ZodDate;
@@ -29989,7 +30188,7 @@ export declare const mainChatRoomContract: {
29989
30188
  createdAt: Date;
29990
30189
  updatedAt: Date;
29991
30190
  deletedAt: Date | null;
29992
- }>;
30191
+ }>>>;
29993
30192
  }, "strip", z.ZodTypeAny, {
29994
30193
  id: string;
29995
30194
  createdAt: Date;
@@ -29998,14 +30197,14 @@ export declare const mainChatRoomContract: {
29998
30197
  startedAt: string;
29999
30198
  endedAt: string | null;
30000
30199
  duration: number | null;
30001
- holdLabel: {
30200
+ holdLabel?: {
30002
30201
  id: string;
30003
30202
  name: string;
30004
30203
  position: number;
30005
30204
  createdAt: Date;
30006
30205
  updatedAt: Date;
30007
30206
  deletedAt: Date | null;
30008
- };
30207
+ } | null | undefined;
30009
30208
  }, {
30010
30209
  id: string;
30011
30210
  createdAt: Date;
@@ -30014,14 +30213,14 @@ export declare const mainChatRoomContract: {
30014
30213
  startedAt: string;
30015
30214
  endedAt: string | null;
30016
30215
  duration: number | null;
30017
- holdLabel: {
30216
+ holdLabel?: {
30018
30217
  id: string;
30019
30218
  name: string;
30020
30219
  position: number;
30021
30220
  createdAt: Date;
30022
30221
  updatedAt: Date;
30023
30222
  deletedAt: Date | null;
30024
- };
30223
+ } | null | undefined;
30025
30224
  }>, "many">>>;
30026
30225
  }, "strip", z.ZodTypeAny, {
30027
30226
  id: string;
@@ -30099,14 +30298,14 @@ export declare const mainChatRoomContract: {
30099
30298
  startedAt: string;
30100
30299
  endedAt: string | null;
30101
30300
  duration: number | null;
30102
- holdLabel: {
30301
+ holdLabel?: {
30103
30302
  id: string;
30104
30303
  name: string;
30105
30304
  position: number;
30106
30305
  createdAt: Date;
30107
30306
  updatedAt: Date;
30108
30307
  deletedAt: Date | null;
30109
- };
30308
+ } | null | undefined;
30110
30309
  }[] | null | undefined;
30111
30310
  }, {
30112
30311
  id: string;
@@ -30184,14 +30383,14 @@ export declare const mainChatRoomContract: {
30184
30383
  startedAt: string;
30185
30384
  endedAt: string | null;
30186
30385
  duration: number | null;
30187
- holdLabel: {
30386
+ holdLabel?: {
30188
30387
  id: string;
30189
30388
  name: string;
30190
30389
  position: number;
30191
30390
  createdAt: Date;
30192
30391
  updatedAt: Date;
30193
30392
  deletedAt: Date | null;
30194
- };
30393
+ } | null | undefined;
30195
30394
  }[] | null | undefined;
30196
30395
  }>;
30197
30396
  workflowRule: z.ZodObject<{
@@ -30618,14 +30817,14 @@ export declare const mainChatRoomContract: {
30618
30817
  startedAt: string;
30619
30818
  endedAt: string | null;
30620
30819
  duration: number | null;
30621
- holdLabel: {
30820
+ holdLabel?: {
30622
30821
  id: string;
30623
30822
  name: string;
30624
30823
  position: number;
30625
30824
  createdAt: Date;
30626
30825
  updatedAt: Date;
30627
30826
  deletedAt: Date | null;
30628
- };
30827
+ } | null | undefined;
30629
30828
  }[] | null | undefined;
30630
30829
  };
30631
30830
  workflowRule: {
@@ -31036,14 +31235,14 @@ export declare const mainChatRoomContract: {
31036
31235
  startedAt: string;
31037
31236
  endedAt: string | null;
31038
31237
  duration: number | null;
31039
- holdLabel: {
31238
+ holdLabel?: {
31040
31239
  id: string;
31041
31240
  name: string;
31042
31241
  position: number;
31043
31242
  createdAt: Date;
31044
31243
  updatedAt: Date;
31045
31244
  deletedAt: Date | null;
31046
- };
31245
+ } | null | undefined;
31047
31246
  }[] | null | undefined;
31048
31247
  };
31049
31248
  workflowRule: {
@@ -31466,14 +31665,14 @@ export declare const mainChatRoomContract: {
31466
31665
  startedAt: string;
31467
31666
  endedAt: string | null;
31468
31667
  duration: number | null;
31469
- holdLabel: {
31668
+ holdLabel?: {
31470
31669
  id: string;
31471
31670
  name: string;
31472
31671
  position: number;
31473
31672
  createdAt: Date;
31474
31673
  updatedAt: Date;
31475
31674
  deletedAt: Date | null;
31476
- };
31675
+ } | null | undefined;
31477
31676
  }[] | null | undefined;
31478
31677
  };
31479
31678
  workflowRule: {
@@ -31894,14 +32093,14 @@ export declare const mainChatRoomContract: {
31894
32093
  startedAt: string;
31895
32094
  endedAt: string | null;
31896
32095
  duration: number | null;
31897
- holdLabel: {
32096
+ holdLabel?: {
31898
32097
  id: string;
31899
32098
  name: string;
31900
32099
  position: number;
31901
32100
  createdAt: Date;
31902
32101
  updatedAt: Date;
31903
32102
  deletedAt: Date | null;
31904
- };
32103
+ } | null | undefined;
31905
32104
  }[] | null | undefined;
31906
32105
  };
31907
32106
  workflowRule: {
@@ -33961,17 +34160,17 @@ export declare const mainChatRoomContract: {
33961
34160
  }>;
33962
34161
  cxlog: z.ZodObject<{
33963
34162
  id: z.ZodString;
33964
- channel: z.ZodNullable<z.ZodString>;
33965
- direction: z.ZodNullable<z.ZodString>;
33966
34163
  createdAt: z.ZodDate;
33967
34164
  updatedAt: z.ZodDate;
33968
34165
  deletedAt: z.ZodNullable<z.ZodDate>;
33969
- entityId: z.ZodString;
33970
- queueId: z.ZodNullable<z.ZodString>;
33971
- contactId: z.ZodNullable<z.ZodString>;
33972
34166
  caseId: z.ZodNumber;
34167
+ entityId: z.ZodString;
33973
34168
  entityName: z.ZodString;
34169
+ contactId: z.ZodNullable<z.ZodString>;
34170
+ channel: z.ZodNullable<z.ZodString>;
34171
+ queueId: z.ZodNullable<z.ZodString>;
33974
34172
  agentId: z.ZodNullable<z.ZodString>;
34173
+ direction: z.ZodNullable<z.ZodString>;
33975
34174
  startedDate: z.ZodNullable<z.ZodDate>;
33976
34175
  handledTime: z.ZodNullable<z.ZodNumber>;
33977
34176
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -34241,7 +34440,7 @@ export declare const mainChatRoomContract: {
34241
34440
  dateValue: Date | null;
34242
34441
  }[] | null | undefined;
34243
34442
  }>>;
34244
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
34443
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
34245
34444
  id: z.ZodString;
34246
34445
  createdAt: z.ZodDate;
34247
34446
  updatedAt: z.ZodDate;
@@ -34249,7 +34448,7 @@ export declare const mainChatRoomContract: {
34249
34448
  startedAt: z.ZodString;
34250
34449
  endedAt: z.ZodNullable<z.ZodString>;
34251
34450
  duration: z.ZodNullable<z.ZodNumber>;
34252
- holdLabel: z.ZodObject<{
34451
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34253
34452
  id: z.ZodString;
34254
34453
  createdAt: z.ZodDate;
34255
34454
  updatedAt: z.ZodDate;
@@ -34270,7 +34469,7 @@ export declare const mainChatRoomContract: {
34270
34469
  createdAt: Date;
34271
34470
  updatedAt: Date;
34272
34471
  deletedAt: Date | null;
34273
- }>;
34472
+ }>>>;
34274
34473
  }, "strip", z.ZodTypeAny, {
34275
34474
  id: string;
34276
34475
  createdAt: Date;
@@ -34279,14 +34478,14 @@ export declare const mainChatRoomContract: {
34279
34478
  startedAt: string;
34280
34479
  endedAt: string | null;
34281
34480
  duration: number | null;
34282
- holdLabel: {
34481
+ holdLabel?: {
34283
34482
  id: string;
34284
34483
  name: string;
34285
34484
  position: number;
34286
34485
  createdAt: Date;
34287
34486
  updatedAt: Date;
34288
34487
  deletedAt: Date | null;
34289
- };
34488
+ } | null | undefined;
34290
34489
  }, {
34291
34490
  id: string;
34292
34491
  createdAt: Date;
@@ -34295,14 +34494,14 @@ export declare const mainChatRoomContract: {
34295
34494
  startedAt: string;
34296
34495
  endedAt: string | null;
34297
34496
  duration: number | null;
34298
- holdLabel: {
34497
+ holdLabel?: {
34299
34498
  id: string;
34300
34499
  name: string;
34301
34500
  position: number;
34302
34501
  createdAt: Date;
34303
34502
  updatedAt: Date;
34304
34503
  deletedAt: Date | null;
34305
- };
34504
+ } | null | undefined;
34306
34505
  }>, "many">>>;
34307
34506
  }, "strip", z.ZodTypeAny, {
34308
34507
  id: string;
@@ -34380,14 +34579,14 @@ export declare const mainChatRoomContract: {
34380
34579
  startedAt: string;
34381
34580
  endedAt: string | null;
34382
34581
  duration: number | null;
34383
- holdLabel: {
34582
+ holdLabel?: {
34384
34583
  id: string;
34385
34584
  name: string;
34386
34585
  position: number;
34387
34586
  createdAt: Date;
34388
34587
  updatedAt: Date;
34389
34588
  deletedAt: Date | null;
34390
- };
34589
+ } | null | undefined;
34391
34590
  }[] | null | undefined;
34392
34591
  }, {
34393
34592
  id: string;
@@ -34465,14 +34664,14 @@ export declare const mainChatRoomContract: {
34465
34664
  startedAt: string;
34466
34665
  endedAt: string | null;
34467
34666
  duration: number | null;
34468
- holdLabel: {
34667
+ holdLabel?: {
34469
34668
  id: string;
34470
34669
  name: string;
34471
34670
  position: number;
34472
34671
  createdAt: Date;
34473
34672
  updatedAt: Date;
34474
34673
  deletedAt: Date | null;
34475
- };
34674
+ } | null | undefined;
34476
34675
  }[] | null | undefined;
34477
34676
  }>;
34478
34677
  workflowRule: z.ZodObject<{
@@ -34899,14 +35098,14 @@ export declare const mainChatRoomContract: {
34899
35098
  startedAt: string;
34900
35099
  endedAt: string | null;
34901
35100
  duration: number | null;
34902
- holdLabel: {
35101
+ holdLabel?: {
34903
35102
  id: string;
34904
35103
  name: string;
34905
35104
  position: number;
34906
35105
  createdAt: Date;
34907
35106
  updatedAt: Date;
34908
35107
  deletedAt: Date | null;
34909
- };
35108
+ } | null | undefined;
34910
35109
  }[] | null | undefined;
34911
35110
  };
34912
35111
  workflowRule: {
@@ -35317,14 +35516,14 @@ export declare const mainChatRoomContract: {
35317
35516
  startedAt: string;
35318
35517
  endedAt: string | null;
35319
35518
  duration: number | null;
35320
- holdLabel: {
35519
+ holdLabel?: {
35321
35520
  id: string;
35322
35521
  name: string;
35323
35522
  position: number;
35324
35523
  createdAt: Date;
35325
35524
  updatedAt: Date;
35326
35525
  deletedAt: Date | null;
35327
- };
35526
+ } | null | undefined;
35328
35527
  }[] | null | undefined;
35329
35528
  };
35330
35529
  workflowRule: {
@@ -35823,14 +36022,14 @@ export declare const mainChatRoomContract: {
35823
36022
  startedAt: string;
35824
36023
  endedAt: string | null;
35825
36024
  duration: number | null;
35826
- holdLabel: {
36025
+ holdLabel?: {
35827
36026
  id: string;
35828
36027
  name: string;
35829
36028
  position: number;
35830
36029
  createdAt: Date;
35831
36030
  updatedAt: Date;
35832
36031
  deletedAt: Date | null;
35833
- };
36032
+ } | null | undefined;
35834
36033
  }[] | null | undefined;
35835
36034
  };
35836
36035
  workflowRule: {
@@ -36273,14 +36472,14 @@ export declare const mainChatRoomContract: {
36273
36472
  startedAt: string;
36274
36473
  endedAt: string | null;
36275
36474
  duration: number | null;
36276
- holdLabel: {
36475
+ holdLabel?: {
36277
36476
  id: string;
36278
36477
  name: string;
36279
36478
  position: number;
36280
36479
  createdAt: Date;
36281
36480
  updatedAt: Date;
36282
36481
  deletedAt: Date | null;
36283
- };
36482
+ } | null | undefined;
36284
36483
  }[] | null | undefined;
36285
36484
  };
36286
36485
  workflowRule: {
@@ -36725,14 +36924,14 @@ export declare const mainChatRoomContract: {
36725
36924
  startedAt: string;
36726
36925
  endedAt: string | null;
36727
36926
  duration: number | null;
36728
- holdLabel: {
36927
+ holdLabel?: {
36729
36928
  id: string;
36730
36929
  name: string;
36731
36930
  position: number;
36732
36931
  createdAt: Date;
36733
36932
  updatedAt: Date;
36734
36933
  deletedAt: Date | null;
36735
- };
36934
+ } | null | undefined;
36736
36935
  }[] | null | undefined;
36737
36936
  };
36738
36937
  workflowRule: {
@@ -37178,14 +37377,14 @@ export declare const mainChatRoomContract: {
37178
37377
  startedAt: string;
37179
37378
  endedAt: string | null;
37180
37379
  duration: number | null;
37181
- holdLabel: {
37380
+ holdLabel?: {
37182
37381
  id: string;
37183
37382
  name: string;
37184
37383
  position: number;
37185
37384
  createdAt: Date;
37186
37385
  updatedAt: Date;
37187
37386
  deletedAt: Date | null;
37188
- };
37387
+ } | null | undefined;
37189
37388
  }[] | null | undefined;
37190
37389
  };
37191
37390
  workflowRule: {
@@ -39271,17 +39470,17 @@ export declare const mainChatRoomContract: {
39271
39470
  isBotRoom: z.ZodBoolean;
39272
39471
  cxlog: z.ZodObject<{
39273
39472
  id: z.ZodString;
39274
- channel: z.ZodNullable<z.ZodString>;
39275
- direction: z.ZodNullable<z.ZodString>;
39276
39473
  createdAt: z.ZodDate;
39277
39474
  updatedAt: z.ZodDate;
39278
39475
  deletedAt: z.ZodNullable<z.ZodDate>;
39279
- entityId: z.ZodString;
39280
- queueId: z.ZodNullable<z.ZodString>;
39281
- contactId: z.ZodNullable<z.ZodString>;
39282
39476
  caseId: z.ZodNumber;
39477
+ entityId: z.ZodString;
39283
39478
  entityName: z.ZodString;
39479
+ contactId: z.ZodNullable<z.ZodString>;
39480
+ channel: z.ZodNullable<z.ZodString>;
39481
+ queueId: z.ZodNullable<z.ZodString>;
39284
39482
  agentId: z.ZodNullable<z.ZodString>;
39483
+ direction: z.ZodNullable<z.ZodString>;
39285
39484
  startedDate: z.ZodNullable<z.ZodDate>;
39286
39485
  handledTime: z.ZodNullable<z.ZodNumber>;
39287
39486
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -39551,7 +39750,7 @@ export declare const mainChatRoomContract: {
39551
39750
  dateValue: Date | null;
39552
39751
  }[] | null | undefined;
39553
39752
  }>>;
39554
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
39753
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
39555
39754
  id: z.ZodString;
39556
39755
  createdAt: z.ZodDate;
39557
39756
  updatedAt: z.ZodDate;
@@ -39559,7 +39758,7 @@ export declare const mainChatRoomContract: {
39559
39758
  startedAt: z.ZodString;
39560
39759
  endedAt: z.ZodNullable<z.ZodString>;
39561
39760
  duration: z.ZodNullable<z.ZodNumber>;
39562
- holdLabel: z.ZodObject<{
39761
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
39563
39762
  id: z.ZodString;
39564
39763
  createdAt: z.ZodDate;
39565
39764
  updatedAt: z.ZodDate;
@@ -39580,7 +39779,7 @@ export declare const mainChatRoomContract: {
39580
39779
  createdAt: Date;
39581
39780
  updatedAt: Date;
39582
39781
  deletedAt: Date | null;
39583
- }>;
39782
+ }>>>;
39584
39783
  }, "strip", z.ZodTypeAny, {
39585
39784
  id: string;
39586
39785
  createdAt: Date;
@@ -39589,14 +39788,14 @@ export declare const mainChatRoomContract: {
39589
39788
  startedAt: string;
39590
39789
  endedAt: string | null;
39591
39790
  duration: number | null;
39592
- holdLabel: {
39791
+ holdLabel?: {
39593
39792
  id: string;
39594
39793
  name: string;
39595
39794
  position: number;
39596
39795
  createdAt: Date;
39597
39796
  updatedAt: Date;
39598
39797
  deletedAt: Date | null;
39599
- };
39798
+ } | null | undefined;
39600
39799
  }, {
39601
39800
  id: string;
39602
39801
  createdAt: Date;
@@ -39605,14 +39804,14 @@ export declare const mainChatRoomContract: {
39605
39804
  startedAt: string;
39606
39805
  endedAt: string | null;
39607
39806
  duration: number | null;
39608
- holdLabel: {
39807
+ holdLabel?: {
39609
39808
  id: string;
39610
39809
  name: string;
39611
39810
  position: number;
39612
39811
  createdAt: Date;
39613
39812
  updatedAt: Date;
39614
39813
  deletedAt: Date | null;
39615
- };
39814
+ } | null | undefined;
39616
39815
  }>, "many">>>;
39617
39816
  }, "strip", z.ZodTypeAny, {
39618
39817
  id: string;
@@ -39690,14 +39889,14 @@ export declare const mainChatRoomContract: {
39690
39889
  startedAt: string;
39691
39890
  endedAt: string | null;
39692
39891
  duration: number | null;
39693
- holdLabel: {
39892
+ holdLabel?: {
39694
39893
  id: string;
39695
39894
  name: string;
39696
39895
  position: number;
39697
39896
  createdAt: Date;
39698
39897
  updatedAt: Date;
39699
39898
  deletedAt: Date | null;
39700
- };
39899
+ } | null | undefined;
39701
39900
  }[] | null | undefined;
39702
39901
  }, {
39703
39902
  id: string;
@@ -39775,14 +39974,14 @@ export declare const mainChatRoomContract: {
39775
39974
  startedAt: string;
39776
39975
  endedAt: string | null;
39777
39976
  duration: number | null;
39778
- holdLabel: {
39977
+ holdLabel?: {
39779
39978
  id: string;
39780
39979
  name: string;
39781
39980
  position: number;
39782
39981
  createdAt: Date;
39783
39982
  updatedAt: Date;
39784
39983
  deletedAt: Date | null;
39785
- };
39984
+ } | null | undefined;
39786
39985
  }[] | null | undefined;
39787
39986
  }>;
39788
39987
  workflowRule: z.ZodObject<{
@@ -40210,14 +40409,14 @@ export declare const mainChatRoomContract: {
40210
40409
  startedAt: string;
40211
40410
  endedAt: string | null;
40212
40411
  duration: number | null;
40213
- holdLabel: {
40412
+ holdLabel?: {
40214
40413
  id: string;
40215
40414
  name: string;
40216
40415
  position: number;
40217
40416
  createdAt: Date;
40218
40417
  updatedAt: Date;
40219
40418
  deletedAt: Date | null;
40220
- };
40419
+ } | null | undefined;
40221
40420
  }[] | null | undefined;
40222
40421
  };
40223
40422
  workflowRule: {
@@ -40629,14 +40828,14 @@ export declare const mainChatRoomContract: {
40629
40828
  startedAt: string;
40630
40829
  endedAt: string | null;
40631
40830
  duration: number | null;
40632
- holdLabel: {
40831
+ holdLabel?: {
40633
40832
  id: string;
40634
40833
  name: string;
40635
40834
  position: number;
40636
40835
  createdAt: Date;
40637
40836
  updatedAt: Date;
40638
40837
  deletedAt: Date | null;
40639
- };
40838
+ } | null | undefined;
40640
40839
  }[] | null | undefined;
40641
40840
  };
40642
40841
  workflowRule: {
@@ -41050,14 +41249,14 @@ export declare const mainChatRoomContract: {
41050
41249
  startedAt: string;
41051
41250
  endedAt: string | null;
41052
41251
  duration: number | null;
41053
- holdLabel: {
41252
+ holdLabel?: {
41054
41253
  id: string;
41055
41254
  name: string;
41056
41255
  position: number;
41057
41256
  createdAt: Date;
41058
41257
  updatedAt: Date;
41059
41258
  deletedAt: Date | null;
41060
- };
41259
+ } | null | undefined;
41061
41260
  }[] | null | undefined;
41062
41261
  };
41063
41262
  workflowRule: {
@@ -41472,14 +41671,14 @@ export declare const mainChatRoomContract: {
41472
41671
  startedAt: string;
41473
41672
  endedAt: string | null;
41474
41673
  duration: number | null;
41475
- holdLabel: {
41674
+ holdLabel?: {
41476
41675
  id: string;
41477
41676
  name: string;
41478
41677
  position: number;
41479
41678
  createdAt: Date;
41480
41679
  updatedAt: Date;
41481
41680
  deletedAt: Date | null;
41482
- };
41681
+ } | null | undefined;
41483
41682
  }[] | null | undefined;
41484
41683
  };
41485
41684
  workflowRule: {
@@ -43533,17 +43732,17 @@ export declare const mainChatRoomContract: {
43533
43732
  isBotRoom: z.ZodBoolean;
43534
43733
  cxlog: z.ZodObject<{
43535
43734
  id: z.ZodString;
43536
- channel: z.ZodNullable<z.ZodString>;
43537
- direction: z.ZodNullable<z.ZodString>;
43538
43735
  createdAt: z.ZodDate;
43539
43736
  updatedAt: z.ZodDate;
43540
43737
  deletedAt: z.ZodNullable<z.ZodDate>;
43541
- entityId: z.ZodString;
43542
- queueId: z.ZodNullable<z.ZodString>;
43543
- contactId: z.ZodNullable<z.ZodString>;
43544
43738
  caseId: z.ZodNumber;
43739
+ entityId: z.ZodString;
43545
43740
  entityName: z.ZodString;
43741
+ contactId: z.ZodNullable<z.ZodString>;
43742
+ channel: z.ZodNullable<z.ZodString>;
43743
+ queueId: z.ZodNullable<z.ZodString>;
43546
43744
  agentId: z.ZodNullable<z.ZodString>;
43745
+ direction: z.ZodNullable<z.ZodString>;
43547
43746
  startedDate: z.ZodNullable<z.ZodDate>;
43548
43747
  handledTime: z.ZodNullable<z.ZodNumber>;
43549
43748
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -43813,7 +44012,7 @@ export declare const mainChatRoomContract: {
43813
44012
  dateValue: Date | null;
43814
44013
  }[] | null | undefined;
43815
44014
  }>>;
43816
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
44015
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
43817
44016
  id: z.ZodString;
43818
44017
  createdAt: z.ZodDate;
43819
44018
  updatedAt: z.ZodDate;
@@ -43821,7 +44020,7 @@ export declare const mainChatRoomContract: {
43821
44020
  startedAt: z.ZodString;
43822
44021
  endedAt: z.ZodNullable<z.ZodString>;
43823
44022
  duration: z.ZodNullable<z.ZodNumber>;
43824
- holdLabel: z.ZodObject<{
44023
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43825
44024
  id: z.ZodString;
43826
44025
  createdAt: z.ZodDate;
43827
44026
  updatedAt: z.ZodDate;
@@ -43842,7 +44041,7 @@ export declare const mainChatRoomContract: {
43842
44041
  createdAt: Date;
43843
44042
  updatedAt: Date;
43844
44043
  deletedAt: Date | null;
43845
- }>;
44044
+ }>>>;
43846
44045
  }, "strip", z.ZodTypeAny, {
43847
44046
  id: string;
43848
44047
  createdAt: Date;
@@ -43851,14 +44050,14 @@ export declare const mainChatRoomContract: {
43851
44050
  startedAt: string;
43852
44051
  endedAt: string | null;
43853
44052
  duration: number | null;
43854
- holdLabel: {
44053
+ holdLabel?: {
43855
44054
  id: string;
43856
44055
  name: string;
43857
44056
  position: number;
43858
44057
  createdAt: Date;
43859
44058
  updatedAt: Date;
43860
44059
  deletedAt: Date | null;
43861
- };
44060
+ } | null | undefined;
43862
44061
  }, {
43863
44062
  id: string;
43864
44063
  createdAt: Date;
@@ -43867,14 +44066,14 @@ export declare const mainChatRoomContract: {
43867
44066
  startedAt: string;
43868
44067
  endedAt: string | null;
43869
44068
  duration: number | null;
43870
- holdLabel: {
44069
+ holdLabel?: {
43871
44070
  id: string;
43872
44071
  name: string;
43873
44072
  position: number;
43874
44073
  createdAt: Date;
43875
44074
  updatedAt: Date;
43876
44075
  deletedAt: Date | null;
43877
- };
44076
+ } | null | undefined;
43878
44077
  }>, "many">>>;
43879
44078
  }, "strip", z.ZodTypeAny, {
43880
44079
  id: string;
@@ -43952,14 +44151,14 @@ export declare const mainChatRoomContract: {
43952
44151
  startedAt: string;
43953
44152
  endedAt: string | null;
43954
44153
  duration: number | null;
43955
- holdLabel: {
44154
+ holdLabel?: {
43956
44155
  id: string;
43957
44156
  name: string;
43958
44157
  position: number;
43959
44158
  createdAt: Date;
43960
44159
  updatedAt: Date;
43961
44160
  deletedAt: Date | null;
43962
- };
44161
+ } | null | undefined;
43963
44162
  }[] | null | undefined;
43964
44163
  }, {
43965
44164
  id: string;
@@ -44037,14 +44236,14 @@ export declare const mainChatRoomContract: {
44037
44236
  startedAt: string;
44038
44237
  endedAt: string | null;
44039
44238
  duration: number | null;
44040
- holdLabel: {
44239
+ holdLabel?: {
44041
44240
  id: string;
44042
44241
  name: string;
44043
44242
  position: number;
44044
44243
  createdAt: Date;
44045
44244
  updatedAt: Date;
44046
44245
  deletedAt: Date | null;
44047
- };
44246
+ } | null | undefined;
44048
44247
  }[] | null | undefined;
44049
44248
  }>;
44050
44249
  workflowRule: z.ZodObject<{
@@ -45354,14 +45553,14 @@ export declare const mainChatRoomContract: {
45354
45553
  startedAt: string;
45355
45554
  endedAt: string | null;
45356
45555
  duration: number | null;
45357
- holdLabel: {
45556
+ holdLabel?: {
45358
45557
  id: string;
45359
45558
  name: string;
45360
45559
  position: number;
45361
45560
  createdAt: Date;
45362
45561
  updatedAt: Date;
45363
45562
  deletedAt: Date | null;
45364
- };
45563
+ } | null | undefined;
45365
45564
  }[] | null | undefined;
45366
45565
  };
45367
45566
  workflowRule: {
@@ -45885,14 +46084,14 @@ export declare const mainChatRoomContract: {
45885
46084
  startedAt: string;
45886
46085
  endedAt: string | null;
45887
46086
  duration: number | null;
45888
- holdLabel: {
46087
+ holdLabel?: {
45889
46088
  id: string;
45890
46089
  name: string;
45891
46090
  position: number;
45892
46091
  createdAt: Date;
45893
46092
  updatedAt: Date;
45894
46093
  deletedAt: Date | null;
45895
- };
46094
+ } | null | undefined;
45896
46095
  }[] | null | undefined;
45897
46096
  };
45898
46097
  workflowRule: {
@@ -46418,14 +46617,14 @@ export declare const mainChatRoomContract: {
46418
46617
  startedAt: string;
46419
46618
  endedAt: string | null;
46420
46619
  duration: number | null;
46421
- holdLabel: {
46620
+ holdLabel?: {
46422
46621
  id: string;
46423
46622
  name: string;
46424
46623
  position: number;
46425
46624
  createdAt: Date;
46426
46625
  updatedAt: Date;
46427
46626
  deletedAt: Date | null;
46428
- };
46627
+ } | null | undefined;
46429
46628
  }[] | null | undefined;
46430
46629
  };
46431
46630
  workflowRule: {
@@ -46952,14 +47151,14 @@ export declare const mainChatRoomContract: {
46952
47151
  startedAt: string;
46953
47152
  endedAt: string | null;
46954
47153
  duration: number | null;
46955
- holdLabel: {
47154
+ holdLabel?: {
46956
47155
  id: string;
46957
47156
  name: string;
46958
47157
  position: number;
46959
47158
  createdAt: Date;
46960
47159
  updatedAt: Date;
46961
47160
  deletedAt: Date | null;
46962
- };
47161
+ } | null | undefined;
46963
47162
  }[] | null | undefined;
46964
47163
  };
46965
47164
  workflowRule: {
@@ -49003,17 +49202,17 @@ export declare const mainChatRoomContract: {
49003
49202
  isBotRoom: z.ZodBoolean;
49004
49203
  cxlog: z.ZodObject<{
49005
49204
  id: z.ZodString;
49006
- channel: z.ZodNullable<z.ZodString>;
49007
- direction: z.ZodNullable<z.ZodString>;
49008
49205
  createdAt: z.ZodDate;
49009
49206
  updatedAt: z.ZodDate;
49010
49207
  deletedAt: z.ZodNullable<z.ZodDate>;
49011
- entityId: z.ZodString;
49012
- queueId: z.ZodNullable<z.ZodString>;
49013
- contactId: z.ZodNullable<z.ZodString>;
49014
49208
  caseId: z.ZodNumber;
49209
+ entityId: z.ZodString;
49015
49210
  entityName: z.ZodString;
49211
+ contactId: z.ZodNullable<z.ZodString>;
49212
+ channel: z.ZodNullable<z.ZodString>;
49213
+ queueId: z.ZodNullable<z.ZodString>;
49016
49214
  agentId: z.ZodNullable<z.ZodString>;
49215
+ direction: z.ZodNullable<z.ZodString>;
49017
49216
  startedDate: z.ZodNullable<z.ZodDate>;
49018
49217
  handledTime: z.ZodNullable<z.ZodNumber>;
49019
49218
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -49283,7 +49482,7 @@ export declare const mainChatRoomContract: {
49283
49482
  dateValue: Date | null;
49284
49483
  }[] | null | undefined;
49285
49484
  }>>;
49286
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
49485
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
49287
49486
  id: z.ZodString;
49288
49487
  createdAt: z.ZodDate;
49289
49488
  updatedAt: z.ZodDate;
@@ -49291,7 +49490,7 @@ export declare const mainChatRoomContract: {
49291
49490
  startedAt: z.ZodString;
49292
49491
  endedAt: z.ZodNullable<z.ZodString>;
49293
49492
  duration: z.ZodNullable<z.ZodNumber>;
49294
- holdLabel: z.ZodObject<{
49493
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49295
49494
  id: z.ZodString;
49296
49495
  createdAt: z.ZodDate;
49297
49496
  updatedAt: z.ZodDate;
@@ -49312,7 +49511,7 @@ export declare const mainChatRoomContract: {
49312
49511
  createdAt: Date;
49313
49512
  updatedAt: Date;
49314
49513
  deletedAt: Date | null;
49315
- }>;
49514
+ }>>>;
49316
49515
  }, "strip", z.ZodTypeAny, {
49317
49516
  id: string;
49318
49517
  createdAt: Date;
@@ -49321,14 +49520,14 @@ export declare const mainChatRoomContract: {
49321
49520
  startedAt: string;
49322
49521
  endedAt: string | null;
49323
49522
  duration: number | null;
49324
- holdLabel: {
49523
+ holdLabel?: {
49325
49524
  id: string;
49326
49525
  name: string;
49327
49526
  position: number;
49328
49527
  createdAt: Date;
49329
49528
  updatedAt: Date;
49330
49529
  deletedAt: Date | null;
49331
- };
49530
+ } | null | undefined;
49332
49531
  }, {
49333
49532
  id: string;
49334
49533
  createdAt: Date;
@@ -49337,14 +49536,14 @@ export declare const mainChatRoomContract: {
49337
49536
  startedAt: string;
49338
49537
  endedAt: string | null;
49339
49538
  duration: number | null;
49340
- holdLabel: {
49539
+ holdLabel?: {
49341
49540
  id: string;
49342
49541
  name: string;
49343
49542
  position: number;
49344
49543
  createdAt: Date;
49345
49544
  updatedAt: Date;
49346
49545
  deletedAt: Date | null;
49347
- };
49546
+ } | null | undefined;
49348
49547
  }>, "many">>>;
49349
49548
  }, "strip", z.ZodTypeAny, {
49350
49549
  id: string;
@@ -49422,14 +49621,14 @@ export declare const mainChatRoomContract: {
49422
49621
  startedAt: string;
49423
49622
  endedAt: string | null;
49424
49623
  duration: number | null;
49425
- holdLabel: {
49624
+ holdLabel?: {
49426
49625
  id: string;
49427
49626
  name: string;
49428
49627
  position: number;
49429
49628
  createdAt: Date;
49430
49629
  updatedAt: Date;
49431
49630
  deletedAt: Date | null;
49432
- };
49631
+ } | null | undefined;
49433
49632
  }[] | null | undefined;
49434
49633
  }, {
49435
49634
  id: string;
@@ -49507,14 +49706,14 @@ export declare const mainChatRoomContract: {
49507
49706
  startedAt: string;
49508
49707
  endedAt: string | null;
49509
49708
  duration: number | null;
49510
- holdLabel: {
49709
+ holdLabel?: {
49511
49710
  id: string;
49512
49711
  name: string;
49513
49712
  position: number;
49514
49713
  createdAt: Date;
49515
49714
  updatedAt: Date;
49516
49715
  deletedAt: Date | null;
49517
- };
49716
+ } | null | undefined;
49518
49717
  }[] | null | undefined;
49519
49718
  }>;
49520
49719
  workflowRule: z.ZodObject<{
@@ -49943,14 +50142,14 @@ export declare const mainChatRoomContract: {
49943
50142
  startedAt: string;
49944
50143
  endedAt: string | null;
49945
50144
  duration: number | null;
49946
- holdLabel: {
50145
+ holdLabel?: {
49947
50146
  id: string;
49948
50147
  name: string;
49949
50148
  position: number;
49950
50149
  createdAt: Date;
49951
50150
  updatedAt: Date;
49952
50151
  deletedAt: Date | null;
49953
- };
50152
+ } | null | undefined;
49954
50153
  }[] | null | undefined;
49955
50154
  };
49956
50155
  workflowRule: {
@@ -50362,14 +50561,14 @@ export declare const mainChatRoomContract: {
50362
50561
  startedAt: string;
50363
50562
  endedAt: string | null;
50364
50563
  duration: number | null;
50365
- holdLabel: {
50564
+ holdLabel?: {
50366
50565
  id: string;
50367
50566
  name: string;
50368
50567
  position: number;
50369
50568
  createdAt: Date;
50370
50569
  updatedAt: Date;
50371
50570
  deletedAt: Date | null;
50372
- };
50571
+ } | null | undefined;
50373
50572
  }[] | null | undefined;
50374
50573
  };
50375
50574
  workflowRule: {
@@ -50783,14 +50982,14 @@ export declare const mainChatRoomContract: {
50783
50982
  startedAt: string;
50784
50983
  endedAt: string | null;
50785
50984
  duration: number | null;
50786
- holdLabel: {
50985
+ holdLabel?: {
50787
50986
  id: string;
50788
50987
  name: string;
50789
50988
  position: number;
50790
50989
  createdAt: Date;
50791
50990
  updatedAt: Date;
50792
50991
  deletedAt: Date | null;
50793
- };
50992
+ } | null | undefined;
50794
50993
  }[] | null | undefined;
50795
50994
  };
50796
50995
  workflowRule: {
@@ -51205,14 +51404,14 @@ export declare const mainChatRoomContract: {
51205
51404
  startedAt: string;
51206
51405
  endedAt: string | null;
51207
51406
  duration: number | null;
51208
- holdLabel: {
51407
+ holdLabel?: {
51209
51408
  id: string;
51210
51409
  name: string;
51211
51410
  position: number;
51212
51411
  createdAt: Date;
51213
51412
  updatedAt: Date;
51214
51413
  deletedAt: Date | null;
51215
- };
51414
+ } | null | undefined;
51216
51415
  }[] | null | undefined;
51217
51416
  };
51218
51417
  workflowRule: {
@@ -53269,17 +53468,17 @@ export declare const mainChatRoomContract: {
53269
53468
  isBotRoom: z.ZodBoolean;
53270
53469
  cxlog: z.ZodObject<{
53271
53470
  id: z.ZodString;
53272
- channel: z.ZodNullable<z.ZodString>;
53273
- direction: z.ZodNullable<z.ZodString>;
53274
53471
  createdAt: z.ZodDate;
53275
53472
  updatedAt: z.ZodDate;
53276
53473
  deletedAt: z.ZodNullable<z.ZodDate>;
53277
- entityId: z.ZodString;
53278
- queueId: z.ZodNullable<z.ZodString>;
53279
- contactId: z.ZodNullable<z.ZodString>;
53280
53474
  caseId: z.ZodNumber;
53475
+ entityId: z.ZodString;
53281
53476
  entityName: z.ZodString;
53477
+ contactId: z.ZodNullable<z.ZodString>;
53478
+ channel: z.ZodNullable<z.ZodString>;
53479
+ queueId: z.ZodNullable<z.ZodString>;
53282
53480
  agentId: z.ZodNullable<z.ZodString>;
53481
+ direction: z.ZodNullable<z.ZodString>;
53283
53482
  startedDate: z.ZodNullable<z.ZodDate>;
53284
53483
  handledTime: z.ZodNullable<z.ZodNumber>;
53285
53484
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -53549,7 +53748,7 @@ export declare const mainChatRoomContract: {
53549
53748
  dateValue: Date | null;
53550
53749
  }[] | null | undefined;
53551
53750
  }>>;
53552
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
53751
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
53553
53752
  id: z.ZodString;
53554
53753
  createdAt: z.ZodDate;
53555
53754
  updatedAt: z.ZodDate;
@@ -53557,7 +53756,7 @@ export declare const mainChatRoomContract: {
53557
53756
  startedAt: z.ZodString;
53558
53757
  endedAt: z.ZodNullable<z.ZodString>;
53559
53758
  duration: z.ZodNullable<z.ZodNumber>;
53560
- holdLabel: z.ZodObject<{
53759
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
53561
53760
  id: z.ZodString;
53562
53761
  createdAt: z.ZodDate;
53563
53762
  updatedAt: z.ZodDate;
@@ -53578,7 +53777,7 @@ export declare const mainChatRoomContract: {
53578
53777
  createdAt: Date;
53579
53778
  updatedAt: Date;
53580
53779
  deletedAt: Date | null;
53581
- }>;
53780
+ }>>>;
53582
53781
  }, "strip", z.ZodTypeAny, {
53583
53782
  id: string;
53584
53783
  createdAt: Date;
@@ -53587,14 +53786,14 @@ export declare const mainChatRoomContract: {
53587
53786
  startedAt: string;
53588
53787
  endedAt: string | null;
53589
53788
  duration: number | null;
53590
- holdLabel: {
53789
+ holdLabel?: {
53591
53790
  id: string;
53592
53791
  name: string;
53593
53792
  position: number;
53594
53793
  createdAt: Date;
53595
53794
  updatedAt: Date;
53596
53795
  deletedAt: Date | null;
53597
- };
53796
+ } | null | undefined;
53598
53797
  }, {
53599
53798
  id: string;
53600
53799
  createdAt: Date;
@@ -53603,14 +53802,14 @@ export declare const mainChatRoomContract: {
53603
53802
  startedAt: string;
53604
53803
  endedAt: string | null;
53605
53804
  duration: number | null;
53606
- holdLabel: {
53805
+ holdLabel?: {
53607
53806
  id: string;
53608
53807
  name: string;
53609
53808
  position: number;
53610
53809
  createdAt: Date;
53611
53810
  updatedAt: Date;
53612
53811
  deletedAt: Date | null;
53613
- };
53812
+ } | null | undefined;
53614
53813
  }>, "many">>>;
53615
53814
  }, "strip", z.ZodTypeAny, {
53616
53815
  id: string;
@@ -53688,14 +53887,14 @@ export declare const mainChatRoomContract: {
53688
53887
  startedAt: string;
53689
53888
  endedAt: string | null;
53690
53889
  duration: number | null;
53691
- holdLabel: {
53890
+ holdLabel?: {
53692
53891
  id: string;
53693
53892
  name: string;
53694
53893
  position: number;
53695
53894
  createdAt: Date;
53696
53895
  updatedAt: Date;
53697
53896
  deletedAt: Date | null;
53698
- };
53897
+ } | null | undefined;
53699
53898
  }[] | null | undefined;
53700
53899
  }, {
53701
53900
  id: string;
@@ -53773,14 +53972,14 @@ export declare const mainChatRoomContract: {
53773
53972
  startedAt: string;
53774
53973
  endedAt: string | null;
53775
53974
  duration: number | null;
53776
- holdLabel: {
53975
+ holdLabel?: {
53777
53976
  id: string;
53778
53977
  name: string;
53779
53978
  position: number;
53780
53979
  createdAt: Date;
53781
53980
  updatedAt: Date;
53782
53981
  deletedAt: Date | null;
53783
- };
53982
+ } | null | undefined;
53784
53983
  }[] | null | undefined;
53785
53984
  }>;
53786
53985
  workflowRule: z.ZodObject<{
@@ -54207,14 +54406,14 @@ export declare const mainChatRoomContract: {
54207
54406
  startedAt: string;
54208
54407
  endedAt: string | null;
54209
54408
  duration: number | null;
54210
- holdLabel: {
54409
+ holdLabel?: {
54211
54410
  id: string;
54212
54411
  name: string;
54213
54412
  position: number;
54214
54413
  createdAt: Date;
54215
54414
  updatedAt: Date;
54216
54415
  deletedAt: Date | null;
54217
- };
54416
+ } | null | undefined;
54218
54417
  }[] | null | undefined;
54219
54418
  };
54220
54419
  workflowRule: {
@@ -54625,14 +54824,14 @@ export declare const mainChatRoomContract: {
54625
54824
  startedAt: string;
54626
54825
  endedAt: string | null;
54627
54826
  duration: number | null;
54628
- holdLabel: {
54827
+ holdLabel?: {
54629
54828
  id: string;
54630
54829
  name: string;
54631
54830
  position: number;
54632
54831
  createdAt: Date;
54633
54832
  updatedAt: Date;
54634
54833
  deletedAt: Date | null;
54635
- };
54834
+ } | null | undefined;
54636
54835
  }[] | null | undefined;
54637
54836
  };
54638
54837
  workflowRule: {
@@ -55045,14 +55244,14 @@ export declare const mainChatRoomContract: {
55045
55244
  startedAt: string;
55046
55245
  endedAt: string | null;
55047
55246
  duration: number | null;
55048
- holdLabel: {
55247
+ holdLabel?: {
55049
55248
  id: string;
55050
55249
  name: string;
55051
55250
  position: number;
55052
55251
  createdAt: Date;
55053
55252
  updatedAt: Date;
55054
55253
  deletedAt: Date | null;
55055
- };
55254
+ } | null | undefined;
55056
55255
  }[] | null | undefined;
55057
55256
  };
55058
55257
  workflowRule: {
@@ -55469,14 +55668,14 @@ export declare const mainChatRoomContract: {
55469
55668
  startedAt: string;
55470
55669
  endedAt: string | null;
55471
55670
  duration: number | null;
55472
- holdLabel: {
55671
+ holdLabel?: {
55473
55672
  id: string;
55474
55673
  name: string;
55475
55674
  position: number;
55476
55675
  createdAt: Date;
55477
55676
  updatedAt: Date;
55478
55677
  deletedAt: Date | null;
55479
- };
55678
+ } | null | undefined;
55480
55679
  }[] | null | undefined;
55481
55680
  };
55482
55681
  workflowRule: {
@@ -58376,17 +58575,17 @@ export declare const mainChatContract: {
58376
58575
  }>;
58377
58576
  cxlog: z.ZodObject<{
58378
58577
  id: z.ZodString;
58379
- channel: z.ZodNullable<z.ZodString>;
58380
- direction: z.ZodNullable<z.ZodString>;
58381
58578
  createdAt: z.ZodDate;
58382
58579
  updatedAt: z.ZodDate;
58383
58580
  deletedAt: z.ZodNullable<z.ZodDate>;
58384
- entityId: z.ZodString;
58385
- queueId: z.ZodNullable<z.ZodString>;
58386
- contactId: z.ZodNullable<z.ZodString>;
58387
58581
  caseId: z.ZodNumber;
58582
+ entityId: z.ZodString;
58388
58583
  entityName: z.ZodString;
58584
+ contactId: z.ZodNullable<z.ZodString>;
58585
+ channel: z.ZodNullable<z.ZodString>;
58586
+ queueId: z.ZodNullable<z.ZodString>;
58389
58587
  agentId: z.ZodNullable<z.ZodString>;
58588
+ direction: z.ZodNullable<z.ZodString>;
58390
58589
  startedDate: z.ZodNullable<z.ZodDate>;
58391
58590
  handledTime: z.ZodNullable<z.ZodNumber>;
58392
58591
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -58656,7 +58855,7 @@ export declare const mainChatContract: {
58656
58855
  dateValue: Date | null;
58657
58856
  }[] | null | undefined;
58658
58857
  }>>;
58659
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
58858
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
58660
58859
  id: z.ZodString;
58661
58860
  createdAt: z.ZodDate;
58662
58861
  updatedAt: z.ZodDate;
@@ -58664,7 +58863,7 @@ export declare const mainChatContract: {
58664
58863
  startedAt: z.ZodString;
58665
58864
  endedAt: z.ZodNullable<z.ZodString>;
58666
58865
  duration: z.ZodNullable<z.ZodNumber>;
58667
- holdLabel: z.ZodObject<{
58866
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
58668
58867
  id: z.ZodString;
58669
58868
  createdAt: z.ZodDate;
58670
58869
  updatedAt: z.ZodDate;
@@ -58685,7 +58884,7 @@ export declare const mainChatContract: {
58685
58884
  createdAt: Date;
58686
58885
  updatedAt: Date;
58687
58886
  deletedAt: Date | null;
58688
- }>;
58887
+ }>>>;
58689
58888
  }, "strip", z.ZodTypeAny, {
58690
58889
  id: string;
58691
58890
  createdAt: Date;
@@ -58694,14 +58893,14 @@ export declare const mainChatContract: {
58694
58893
  startedAt: string;
58695
58894
  endedAt: string | null;
58696
58895
  duration: number | null;
58697
- holdLabel: {
58896
+ holdLabel?: {
58698
58897
  id: string;
58699
58898
  name: string;
58700
58899
  position: number;
58701
58900
  createdAt: Date;
58702
58901
  updatedAt: Date;
58703
58902
  deletedAt: Date | null;
58704
- };
58903
+ } | null | undefined;
58705
58904
  }, {
58706
58905
  id: string;
58707
58906
  createdAt: Date;
@@ -58710,14 +58909,14 @@ export declare const mainChatContract: {
58710
58909
  startedAt: string;
58711
58910
  endedAt: string | null;
58712
58911
  duration: number | null;
58713
- holdLabel: {
58912
+ holdLabel?: {
58714
58913
  id: string;
58715
58914
  name: string;
58716
58915
  position: number;
58717
58916
  createdAt: Date;
58718
58917
  updatedAt: Date;
58719
58918
  deletedAt: Date | null;
58720
- };
58919
+ } | null | undefined;
58721
58920
  }>, "many">>>;
58722
58921
  }, "strip", z.ZodTypeAny, {
58723
58922
  id: string;
@@ -58795,14 +58994,14 @@ export declare const mainChatContract: {
58795
58994
  startedAt: string;
58796
58995
  endedAt: string | null;
58797
58996
  duration: number | null;
58798
- holdLabel: {
58997
+ holdLabel?: {
58799
58998
  id: string;
58800
58999
  name: string;
58801
59000
  position: number;
58802
59001
  createdAt: Date;
58803
59002
  updatedAt: Date;
58804
59003
  deletedAt: Date | null;
58805
- };
59004
+ } | null | undefined;
58806
59005
  }[] | null | undefined;
58807
59006
  }, {
58808
59007
  id: string;
@@ -58880,14 +59079,14 @@ export declare const mainChatContract: {
58880
59079
  startedAt: string;
58881
59080
  endedAt: string | null;
58882
59081
  duration: number | null;
58883
- holdLabel: {
59082
+ holdLabel?: {
58884
59083
  id: string;
58885
59084
  name: string;
58886
59085
  position: number;
58887
59086
  createdAt: Date;
58888
59087
  updatedAt: Date;
58889
59088
  deletedAt: Date | null;
58890
- };
59089
+ } | null | undefined;
58891
59090
  }[] | null | undefined;
58892
59091
  }>;
58893
59092
  workflowRule: z.ZodObject<{
@@ -59314,14 +59513,14 @@ export declare const mainChatContract: {
59314
59513
  startedAt: string;
59315
59514
  endedAt: string | null;
59316
59515
  duration: number | null;
59317
- holdLabel: {
59516
+ holdLabel?: {
59318
59517
  id: string;
59319
59518
  name: string;
59320
59519
  position: number;
59321
59520
  createdAt: Date;
59322
59521
  updatedAt: Date;
59323
59522
  deletedAt: Date | null;
59324
- };
59523
+ } | null | undefined;
59325
59524
  }[] | null | undefined;
59326
59525
  };
59327
59526
  workflowRule: {
@@ -59732,14 +59931,14 @@ export declare const mainChatContract: {
59732
59931
  startedAt: string;
59733
59932
  endedAt: string | null;
59734
59933
  duration: number | null;
59735
- holdLabel: {
59934
+ holdLabel?: {
59736
59935
  id: string;
59737
59936
  name: string;
59738
59937
  position: number;
59739
59938
  createdAt: Date;
59740
59939
  updatedAt: Date;
59741
59940
  deletedAt: Date | null;
59742
- };
59941
+ } | null | undefined;
59743
59942
  }[] | null | undefined;
59744
59943
  };
59745
59944
  workflowRule: {
@@ -62990,17 +63189,17 @@ export declare const mainChatContract: {
62990
63189
  }>;
62991
63190
  cxlog: z.ZodObject<{
62992
63191
  id: z.ZodString;
62993
- channel: z.ZodNullable<z.ZodString>;
62994
- direction: z.ZodNullable<z.ZodString>;
62995
63192
  createdAt: z.ZodDate;
62996
63193
  updatedAt: z.ZodDate;
62997
63194
  deletedAt: z.ZodNullable<z.ZodDate>;
62998
- entityId: z.ZodString;
62999
- queueId: z.ZodNullable<z.ZodString>;
63000
- contactId: z.ZodNullable<z.ZodString>;
63001
63195
  caseId: z.ZodNumber;
63196
+ entityId: z.ZodString;
63002
63197
  entityName: z.ZodString;
63198
+ contactId: z.ZodNullable<z.ZodString>;
63199
+ channel: z.ZodNullable<z.ZodString>;
63200
+ queueId: z.ZodNullable<z.ZodString>;
63003
63201
  agentId: z.ZodNullable<z.ZodString>;
63202
+ direction: z.ZodNullable<z.ZodString>;
63004
63203
  startedDate: z.ZodNullable<z.ZodDate>;
63005
63204
  handledTime: z.ZodNullable<z.ZodNumber>;
63006
63205
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -63270,7 +63469,7 @@ export declare const mainChatContract: {
63270
63469
  dateValue: Date | null;
63271
63470
  }[] | null | undefined;
63272
63471
  }>>;
63273
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
63472
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
63274
63473
  id: z.ZodString;
63275
63474
  createdAt: z.ZodDate;
63276
63475
  updatedAt: z.ZodDate;
@@ -63278,7 +63477,7 @@ export declare const mainChatContract: {
63278
63477
  startedAt: z.ZodString;
63279
63478
  endedAt: z.ZodNullable<z.ZodString>;
63280
63479
  duration: z.ZodNullable<z.ZodNumber>;
63281
- holdLabel: z.ZodObject<{
63480
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
63282
63481
  id: z.ZodString;
63283
63482
  createdAt: z.ZodDate;
63284
63483
  updatedAt: z.ZodDate;
@@ -63299,7 +63498,7 @@ export declare const mainChatContract: {
63299
63498
  createdAt: Date;
63300
63499
  updatedAt: Date;
63301
63500
  deletedAt: Date | null;
63302
- }>;
63501
+ }>>>;
63303
63502
  }, "strip", z.ZodTypeAny, {
63304
63503
  id: string;
63305
63504
  createdAt: Date;
@@ -63308,14 +63507,14 @@ export declare const mainChatContract: {
63308
63507
  startedAt: string;
63309
63508
  endedAt: string | null;
63310
63509
  duration: number | null;
63311
- holdLabel: {
63510
+ holdLabel?: {
63312
63511
  id: string;
63313
63512
  name: string;
63314
63513
  position: number;
63315
63514
  createdAt: Date;
63316
63515
  updatedAt: Date;
63317
63516
  deletedAt: Date | null;
63318
- };
63517
+ } | null | undefined;
63319
63518
  }, {
63320
63519
  id: string;
63321
63520
  createdAt: Date;
@@ -63324,14 +63523,14 @@ export declare const mainChatContract: {
63324
63523
  startedAt: string;
63325
63524
  endedAt: string | null;
63326
63525
  duration: number | null;
63327
- holdLabel: {
63526
+ holdLabel?: {
63328
63527
  id: string;
63329
63528
  name: string;
63330
63529
  position: number;
63331
63530
  createdAt: Date;
63332
63531
  updatedAt: Date;
63333
63532
  deletedAt: Date | null;
63334
- };
63533
+ } | null | undefined;
63335
63534
  }>, "many">>>;
63336
63535
  }, "strip", z.ZodTypeAny, {
63337
63536
  id: string;
@@ -63409,14 +63608,14 @@ export declare const mainChatContract: {
63409
63608
  startedAt: string;
63410
63609
  endedAt: string | null;
63411
63610
  duration: number | null;
63412
- holdLabel: {
63611
+ holdLabel?: {
63413
63612
  id: string;
63414
63613
  name: string;
63415
63614
  position: number;
63416
63615
  createdAt: Date;
63417
63616
  updatedAt: Date;
63418
63617
  deletedAt: Date | null;
63419
- };
63618
+ } | null | undefined;
63420
63619
  }[] | null | undefined;
63421
63620
  }, {
63422
63621
  id: string;
@@ -63494,14 +63693,14 @@ export declare const mainChatContract: {
63494
63693
  startedAt: string;
63495
63694
  endedAt: string | null;
63496
63695
  duration: number | null;
63497
- holdLabel: {
63696
+ holdLabel?: {
63498
63697
  id: string;
63499
63698
  name: string;
63500
63699
  position: number;
63501
63700
  createdAt: Date;
63502
63701
  updatedAt: Date;
63503
63702
  deletedAt: Date | null;
63504
- };
63703
+ } | null | undefined;
63505
63704
  }[] | null | undefined;
63506
63705
  }>;
63507
63706
  workflowRule: z.ZodObject<{
@@ -63928,14 +64127,14 @@ export declare const mainChatContract: {
63928
64127
  startedAt: string;
63929
64128
  endedAt: string | null;
63930
64129
  duration: number | null;
63931
- holdLabel: {
64130
+ holdLabel?: {
63932
64131
  id: string;
63933
64132
  name: string;
63934
64133
  position: number;
63935
64134
  createdAt: Date;
63936
64135
  updatedAt: Date;
63937
64136
  deletedAt: Date | null;
63938
- };
64137
+ } | null | undefined;
63939
64138
  }[] | null | undefined;
63940
64139
  };
63941
64140
  workflowRule: {
@@ -64346,14 +64545,14 @@ export declare const mainChatContract: {
64346
64545
  startedAt: string;
64347
64546
  endedAt: string | null;
64348
64547
  duration: number | null;
64349
- holdLabel: {
64548
+ holdLabel?: {
64350
64549
  id: string;
64351
64550
  name: string;
64352
64551
  position: number;
64353
64552
  createdAt: Date;
64354
64553
  updatedAt: Date;
64355
64554
  deletedAt: Date | null;
64356
- };
64555
+ } | null | undefined;
64357
64556
  }[] | null | undefined;
64358
64557
  };
64359
64558
  workflowRule: {
@@ -66537,14 +66736,14 @@ export declare const mainChatContract: {
66537
66736
  startedAt: string;
66538
66737
  endedAt: string | null;
66539
66738
  duration: number | null;
66540
- holdLabel: {
66739
+ holdLabel?: {
66541
66740
  id: string;
66542
66741
  name: string;
66543
66742
  position: number;
66544
66743
  createdAt: Date;
66545
66744
  updatedAt: Date;
66546
66745
  deletedAt: Date | null;
66547
- };
66746
+ } | null | undefined;
66548
66747
  }[] | null | undefined;
66549
66748
  };
66550
66749
  workflowRule: {
@@ -67292,14 +67491,14 @@ export declare const mainChatContract: {
67292
67491
  startedAt: string;
67293
67492
  endedAt: string | null;
67294
67493
  duration: number | null;
67295
- holdLabel: {
67494
+ holdLabel?: {
67296
67495
  id: string;
67297
67496
  name: string;
67298
67497
  position: number;
67299
67498
  createdAt: Date;
67300
67499
  updatedAt: Date;
67301
67500
  deletedAt: Date | null;
67302
- };
67501
+ } | null | undefined;
67303
67502
  }[] | null | undefined;
67304
67503
  };
67305
67504
  workflowRule: {
@@ -68048,14 +68247,14 @@ export declare const mainChatContract: {
68048
68247
  startedAt: string;
68049
68248
  endedAt: string | null;
68050
68249
  duration: number | null;
68051
- holdLabel: {
68250
+ holdLabel?: {
68052
68251
  id: string;
68053
68252
  name: string;
68054
68253
  position: number;
68055
68254
  createdAt: Date;
68056
68255
  updatedAt: Date;
68057
68256
  deletedAt: Date | null;
68058
- };
68257
+ } | null | undefined;
68059
68258
  }[] | null | undefined;
68060
68259
  };
68061
68260
  workflowRule: {
@@ -68803,14 +69002,14 @@ export declare const mainChatContract: {
68803
69002
  startedAt: string;
68804
69003
  endedAt: string | null;
68805
69004
  duration: number | null;
68806
- holdLabel: {
69005
+ holdLabel?: {
68807
69006
  id: string;
68808
69007
  name: string;
68809
69008
  position: number;
68810
69009
  createdAt: Date;
68811
69010
  updatedAt: Date;
68812
69011
  deletedAt: Date | null;
68813
- };
69012
+ } | null | undefined;
68814
69013
  }[] | null | undefined;
68815
69014
  };
68816
69015
  workflowRule: {
@@ -69559,14 +69758,14 @@ export declare const mainChatContract: {
69559
69758
  startedAt: string;
69560
69759
  endedAt: string | null;
69561
69760
  duration: number | null;
69562
- holdLabel: {
69761
+ holdLabel?: {
69563
69762
  id: string;
69564
69763
  name: string;
69565
69764
  position: number;
69566
69765
  createdAt: Date;
69567
69766
  updatedAt: Date;
69568
69767
  deletedAt: Date | null;
69569
- };
69768
+ } | null | undefined;
69570
69769
  }[] | null | undefined;
69571
69770
  };
69572
69771
  workflowRule: {
@@ -70314,14 +70513,14 @@ export declare const mainChatContract: {
70314
70513
  startedAt: string;
70315
70514
  endedAt: string | null;
70316
70515
  duration: number | null;
70317
- holdLabel: {
70516
+ holdLabel?: {
70318
70517
  id: string;
70319
70518
  name: string;
70320
70519
  position: number;
70321
70520
  createdAt: Date;
70322
70521
  updatedAt: Date;
70323
70522
  deletedAt: Date | null;
70324
- };
70523
+ } | null | undefined;
70325
70524
  }[] | null | undefined;
70326
70525
  };
70327
70526
  workflowRule: {
@@ -71072,14 +71271,14 @@ export declare const mainChatContract: {
71072
71271
  startedAt: string;
71073
71272
  endedAt: string | null;
71074
71273
  duration: number | null;
71075
- holdLabel: {
71274
+ holdLabel?: {
71076
71275
  id: string;
71077
71276
  name: string;
71078
71277
  position: number;
71079
71278
  createdAt: Date;
71080
71279
  updatedAt: Date;
71081
71280
  deletedAt: Date | null;
71082
- };
71281
+ } | null | undefined;
71083
71282
  }[] | null | undefined;
71084
71283
  };
71085
71284
  workflowRule: {
@@ -71827,14 +72026,14 @@ export declare const mainChatContract: {
71827
72026
  startedAt: string;
71828
72027
  endedAt: string | null;
71829
72028
  duration: number | null;
71830
- holdLabel: {
72029
+ holdLabel?: {
71831
72030
  id: string;
71832
72031
  name: string;
71833
72032
  position: number;
71834
72033
  createdAt: Date;
71835
72034
  updatedAt: Date;
71836
72035
  deletedAt: Date | null;
71837
- };
72036
+ } | null | undefined;
71838
72037
  }[] | null | undefined;
71839
72038
  };
71840
72039
  workflowRule: {
@@ -72586,14 +72785,14 @@ export declare const mainChatContract: {
72586
72785
  startedAt: string;
72587
72786
  endedAt: string | null;
72588
72787
  duration: number | null;
72589
- holdLabel: {
72788
+ holdLabel?: {
72590
72789
  id: string;
72591
72790
  name: string;
72592
72791
  position: number;
72593
72792
  createdAt: Date;
72594
72793
  updatedAt: Date;
72595
72794
  deletedAt: Date | null;
72596
- };
72795
+ } | null | undefined;
72597
72796
  }[] | null | undefined;
72598
72797
  };
72599
72798
  workflowRule: {
@@ -73341,14 +73540,14 @@ export declare const mainChatContract: {
73341
73540
  startedAt: string;
73342
73541
  endedAt: string | null;
73343
73542
  duration: number | null;
73344
- holdLabel: {
73543
+ holdLabel?: {
73345
73544
  id: string;
73346
73545
  name: string;
73347
73546
  position: number;
73348
73547
  createdAt: Date;
73349
73548
  updatedAt: Date;
73350
73549
  deletedAt: Date | null;
73351
- };
73550
+ } | null | undefined;
73352
73551
  }[] | null | undefined;
73353
73552
  };
73354
73553
  workflowRule: {
@@ -76218,17 +76417,17 @@ export declare const mainChatContract: {
76218
76417
  }>;
76219
76418
  cxlog: z.ZodObject<{
76220
76419
  id: z.ZodString;
76221
- channel: z.ZodNullable<z.ZodString>;
76222
- direction: z.ZodNullable<z.ZodString>;
76223
76420
  createdAt: z.ZodDate;
76224
76421
  updatedAt: z.ZodDate;
76225
76422
  deletedAt: z.ZodNullable<z.ZodDate>;
76226
- entityId: z.ZodString;
76227
- queueId: z.ZodNullable<z.ZodString>;
76228
- contactId: z.ZodNullable<z.ZodString>;
76229
76423
  caseId: z.ZodNumber;
76424
+ entityId: z.ZodString;
76230
76425
  entityName: z.ZodString;
76426
+ contactId: z.ZodNullable<z.ZodString>;
76427
+ channel: z.ZodNullable<z.ZodString>;
76428
+ queueId: z.ZodNullable<z.ZodString>;
76231
76429
  agentId: z.ZodNullable<z.ZodString>;
76430
+ direction: z.ZodNullable<z.ZodString>;
76232
76431
  startedDate: z.ZodNullable<z.ZodDate>;
76233
76432
  handledTime: z.ZodNullable<z.ZodNumber>;
76234
76433
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -76498,7 +76697,7 @@ export declare const mainChatContract: {
76498
76697
  dateValue: Date | null;
76499
76698
  }[] | null | undefined;
76500
76699
  }>>;
76501
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
76700
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
76502
76701
  id: z.ZodString;
76503
76702
  createdAt: z.ZodDate;
76504
76703
  updatedAt: z.ZodDate;
@@ -76506,7 +76705,7 @@ export declare const mainChatContract: {
76506
76705
  startedAt: z.ZodString;
76507
76706
  endedAt: z.ZodNullable<z.ZodString>;
76508
76707
  duration: z.ZodNullable<z.ZodNumber>;
76509
- holdLabel: z.ZodObject<{
76708
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
76510
76709
  id: z.ZodString;
76511
76710
  createdAt: z.ZodDate;
76512
76711
  updatedAt: z.ZodDate;
@@ -76527,7 +76726,7 @@ export declare const mainChatContract: {
76527
76726
  createdAt: Date;
76528
76727
  updatedAt: Date;
76529
76728
  deletedAt: Date | null;
76530
- }>;
76729
+ }>>>;
76531
76730
  }, "strip", z.ZodTypeAny, {
76532
76731
  id: string;
76533
76732
  createdAt: Date;
@@ -76536,14 +76735,14 @@ export declare const mainChatContract: {
76536
76735
  startedAt: string;
76537
76736
  endedAt: string | null;
76538
76737
  duration: number | null;
76539
- holdLabel: {
76738
+ holdLabel?: {
76540
76739
  id: string;
76541
76740
  name: string;
76542
76741
  position: number;
76543
76742
  createdAt: Date;
76544
76743
  updatedAt: Date;
76545
76744
  deletedAt: Date | null;
76546
- };
76745
+ } | null | undefined;
76547
76746
  }, {
76548
76747
  id: string;
76549
76748
  createdAt: Date;
@@ -76552,14 +76751,14 @@ export declare const mainChatContract: {
76552
76751
  startedAt: string;
76553
76752
  endedAt: string | null;
76554
76753
  duration: number | null;
76555
- holdLabel: {
76754
+ holdLabel?: {
76556
76755
  id: string;
76557
76756
  name: string;
76558
76757
  position: number;
76559
76758
  createdAt: Date;
76560
76759
  updatedAt: Date;
76561
76760
  deletedAt: Date | null;
76562
- };
76761
+ } | null | undefined;
76563
76762
  }>, "many">>>;
76564
76763
  }, "strip", z.ZodTypeAny, {
76565
76764
  id: string;
@@ -76637,14 +76836,14 @@ export declare const mainChatContract: {
76637
76836
  startedAt: string;
76638
76837
  endedAt: string | null;
76639
76838
  duration: number | null;
76640
- holdLabel: {
76839
+ holdLabel?: {
76641
76840
  id: string;
76642
76841
  name: string;
76643
76842
  position: number;
76644
76843
  createdAt: Date;
76645
76844
  updatedAt: Date;
76646
76845
  deletedAt: Date | null;
76647
- };
76846
+ } | null | undefined;
76648
76847
  }[] | null | undefined;
76649
76848
  }, {
76650
76849
  id: string;
@@ -76722,14 +76921,14 @@ export declare const mainChatContract: {
76722
76921
  startedAt: string;
76723
76922
  endedAt: string | null;
76724
76923
  duration: number | null;
76725
- holdLabel: {
76924
+ holdLabel?: {
76726
76925
  id: string;
76727
76926
  name: string;
76728
76927
  position: number;
76729
76928
  createdAt: Date;
76730
76929
  updatedAt: Date;
76731
76930
  deletedAt: Date | null;
76732
- };
76931
+ } | null | undefined;
76733
76932
  }[] | null | undefined;
76734
76933
  }>;
76735
76934
  workflowRule: z.ZodObject<{
@@ -77156,14 +77355,14 @@ export declare const mainChatContract: {
77156
77355
  startedAt: string;
77157
77356
  endedAt: string | null;
77158
77357
  duration: number | null;
77159
- holdLabel: {
77358
+ holdLabel?: {
77160
77359
  id: string;
77161
77360
  name: string;
77162
77361
  position: number;
77163
77362
  createdAt: Date;
77164
77363
  updatedAt: Date;
77165
77364
  deletedAt: Date | null;
77166
- };
77365
+ } | null | undefined;
77167
77366
  }[] | null | undefined;
77168
77367
  };
77169
77368
  workflowRule: {
@@ -77574,14 +77773,14 @@ export declare const mainChatContract: {
77574
77773
  startedAt: string;
77575
77774
  endedAt: string | null;
77576
77775
  duration: number | null;
77577
- holdLabel: {
77776
+ holdLabel?: {
77578
77777
  id: string;
77579
77778
  name: string;
77580
77779
  position: number;
77581
77780
  createdAt: Date;
77582
77781
  updatedAt: Date;
77583
77782
  deletedAt: Date | null;
77584
- };
77783
+ } | null | undefined;
77585
77784
  }[] | null | undefined;
77586
77785
  };
77587
77786
  workflowRule: {
@@ -81673,14 +81872,14 @@ export declare const mainChatContract: {
81673
81872
  startedAt: string;
81674
81873
  endedAt: string | null;
81675
81874
  duration: number | null;
81676
- holdLabel: {
81875
+ holdLabel?: {
81677
81876
  id: string;
81678
81877
  name: string;
81679
81878
  position: number;
81680
81879
  createdAt: Date;
81681
81880
  updatedAt: Date;
81682
81881
  deletedAt: Date | null;
81683
- };
81882
+ } | null | undefined;
81684
81883
  }[] | null | undefined;
81685
81884
  };
81686
81885
  workflowRule: {
@@ -82709,14 +82908,14 @@ export declare const mainChatContract: {
82709
82908
  startedAt: string;
82710
82909
  endedAt: string | null;
82711
82910
  duration: number | null;
82712
- holdLabel: {
82911
+ holdLabel?: {
82713
82912
  id: string;
82714
82913
  name: string;
82715
82914
  position: number;
82716
82915
  createdAt: Date;
82717
82916
  updatedAt: Date;
82718
82917
  deletedAt: Date | null;
82719
- };
82918
+ } | null | undefined;
82720
82919
  }[] | null | undefined;
82721
82920
  };
82722
82921
  workflowRule: {
@@ -83747,14 +83946,14 @@ export declare const mainChatContract: {
83747
83946
  startedAt: string;
83748
83947
  endedAt: string | null;
83749
83948
  duration: number | null;
83750
- holdLabel: {
83949
+ holdLabel?: {
83751
83950
  id: string;
83752
83951
  name: string;
83753
83952
  position: number;
83754
83953
  createdAt: Date;
83755
83954
  updatedAt: Date;
83756
83955
  deletedAt: Date | null;
83757
- };
83956
+ } | null | undefined;
83758
83957
  }[] | null | undefined;
83759
83958
  };
83760
83959
  workflowRule: {
@@ -84789,14 +84988,14 @@ export declare const mainChatContract: {
84789
84988
  startedAt: string;
84790
84989
  endedAt: string | null;
84791
84990
  duration: number | null;
84792
- holdLabel: {
84991
+ holdLabel?: {
84793
84992
  id: string;
84794
84993
  name: string;
84795
84994
  position: number;
84796
84995
  createdAt: Date;
84797
84996
  updatedAt: Date;
84798
84997
  deletedAt: Date | null;
84799
- };
84998
+ } | null | undefined;
84800
84999
  }[] | null | undefined;
84801
85000
  };
84802
85001
  workflowRule: {
@@ -87355,17 +87554,17 @@ export declare const mainChatContract: {
87355
87554
  }>;
87356
87555
  cxlog: z.ZodObject<{
87357
87556
  id: z.ZodString;
87358
- channel: z.ZodNullable<z.ZodString>;
87359
- direction: z.ZodNullable<z.ZodString>;
87360
87557
  createdAt: z.ZodDate;
87361
87558
  updatedAt: z.ZodDate;
87362
87559
  deletedAt: z.ZodNullable<z.ZodDate>;
87363
- entityId: z.ZodString;
87364
- queueId: z.ZodNullable<z.ZodString>;
87365
- contactId: z.ZodNullable<z.ZodString>;
87366
87560
  caseId: z.ZodNumber;
87561
+ entityId: z.ZodString;
87367
87562
  entityName: z.ZodString;
87563
+ contactId: z.ZodNullable<z.ZodString>;
87564
+ channel: z.ZodNullable<z.ZodString>;
87565
+ queueId: z.ZodNullable<z.ZodString>;
87368
87566
  agentId: z.ZodNullable<z.ZodString>;
87567
+ direction: z.ZodNullable<z.ZodString>;
87369
87568
  startedDate: z.ZodNullable<z.ZodDate>;
87370
87569
  handledTime: z.ZodNullable<z.ZodNumber>;
87371
87570
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -87635,7 +87834,7 @@ export declare const mainChatContract: {
87635
87834
  dateValue: Date | null;
87636
87835
  }[] | null | undefined;
87637
87836
  }>>;
87638
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
87837
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
87639
87838
  id: z.ZodString;
87640
87839
  createdAt: z.ZodDate;
87641
87840
  updatedAt: z.ZodDate;
@@ -87643,7 +87842,7 @@ export declare const mainChatContract: {
87643
87842
  startedAt: z.ZodString;
87644
87843
  endedAt: z.ZodNullable<z.ZodString>;
87645
87844
  duration: z.ZodNullable<z.ZodNumber>;
87646
- holdLabel: z.ZodObject<{
87845
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
87647
87846
  id: z.ZodString;
87648
87847
  createdAt: z.ZodDate;
87649
87848
  updatedAt: z.ZodDate;
@@ -87664,7 +87863,7 @@ export declare const mainChatContract: {
87664
87863
  createdAt: Date;
87665
87864
  updatedAt: Date;
87666
87865
  deletedAt: Date | null;
87667
- }>;
87866
+ }>>>;
87668
87867
  }, "strip", z.ZodTypeAny, {
87669
87868
  id: string;
87670
87869
  createdAt: Date;
@@ -87673,14 +87872,14 @@ export declare const mainChatContract: {
87673
87872
  startedAt: string;
87674
87873
  endedAt: string | null;
87675
87874
  duration: number | null;
87676
- holdLabel: {
87875
+ holdLabel?: {
87677
87876
  id: string;
87678
87877
  name: string;
87679
87878
  position: number;
87680
87879
  createdAt: Date;
87681
87880
  updatedAt: Date;
87682
87881
  deletedAt: Date | null;
87683
- };
87882
+ } | null | undefined;
87684
87883
  }, {
87685
87884
  id: string;
87686
87885
  createdAt: Date;
@@ -87689,14 +87888,14 @@ export declare const mainChatContract: {
87689
87888
  startedAt: string;
87690
87889
  endedAt: string | null;
87691
87890
  duration: number | null;
87692
- holdLabel: {
87891
+ holdLabel?: {
87693
87892
  id: string;
87694
87893
  name: string;
87695
87894
  position: number;
87696
87895
  createdAt: Date;
87697
87896
  updatedAt: Date;
87698
87897
  deletedAt: Date | null;
87699
- };
87898
+ } | null | undefined;
87700
87899
  }>, "many">>>;
87701
87900
  }, "strip", z.ZodTypeAny, {
87702
87901
  id: string;
@@ -87774,14 +87973,14 @@ export declare const mainChatContract: {
87774
87973
  startedAt: string;
87775
87974
  endedAt: string | null;
87776
87975
  duration: number | null;
87777
- holdLabel: {
87976
+ holdLabel?: {
87778
87977
  id: string;
87779
87978
  name: string;
87780
87979
  position: number;
87781
87980
  createdAt: Date;
87782
87981
  updatedAt: Date;
87783
87982
  deletedAt: Date | null;
87784
- };
87983
+ } | null | undefined;
87785
87984
  }[] | null | undefined;
87786
87985
  }, {
87787
87986
  id: string;
@@ -87859,14 +88058,14 @@ export declare const mainChatContract: {
87859
88058
  startedAt: string;
87860
88059
  endedAt: string | null;
87861
88060
  duration: number | null;
87862
- holdLabel: {
88061
+ holdLabel?: {
87863
88062
  id: string;
87864
88063
  name: string;
87865
88064
  position: number;
87866
88065
  createdAt: Date;
87867
88066
  updatedAt: Date;
87868
88067
  deletedAt: Date | null;
87869
- };
88068
+ } | null | undefined;
87870
88069
  }[] | null | undefined;
87871
88070
  }>;
87872
88071
  workflowRule: z.ZodObject<{
@@ -88293,14 +88492,14 @@ export declare const mainChatContract: {
88293
88492
  startedAt: string;
88294
88493
  endedAt: string | null;
88295
88494
  duration: number | null;
88296
- holdLabel: {
88495
+ holdLabel?: {
88297
88496
  id: string;
88298
88497
  name: string;
88299
88498
  position: number;
88300
88499
  createdAt: Date;
88301
88500
  updatedAt: Date;
88302
88501
  deletedAt: Date | null;
88303
- };
88502
+ } | null | undefined;
88304
88503
  }[] | null | undefined;
88305
88504
  };
88306
88505
  workflowRule: {
@@ -88711,14 +88910,14 @@ export declare const mainChatContract: {
88711
88910
  startedAt: string;
88712
88911
  endedAt: string | null;
88713
88912
  duration: number | null;
88714
- holdLabel: {
88913
+ holdLabel?: {
88715
88914
  id: string;
88716
88915
  name: string;
88717
88916
  position: number;
88718
88917
  createdAt: Date;
88719
88918
  updatedAt: Date;
88720
88919
  deletedAt: Date | null;
88721
- };
88920
+ } | null | undefined;
88722
88921
  }[] | null | undefined;
88723
88922
  };
88724
88923
  workflowRule: {
@@ -89131,14 +89330,14 @@ export declare const mainChatContract: {
89131
89330
  startedAt: string;
89132
89331
  endedAt: string | null;
89133
89332
  duration: number | null;
89134
- holdLabel: {
89333
+ holdLabel?: {
89135
89334
  id: string;
89136
89335
  name: string;
89137
89336
  position: number;
89138
89337
  createdAt: Date;
89139
89338
  updatedAt: Date;
89140
89339
  deletedAt: Date | null;
89141
- };
89340
+ } | null | undefined;
89142
89341
  }[] | null | undefined;
89143
89342
  };
89144
89343
  workflowRule: {
@@ -89552,14 +89751,14 @@ export declare const mainChatContract: {
89552
89751
  startedAt: string;
89553
89752
  endedAt: string | null;
89554
89753
  duration: number | null;
89555
- holdLabel: {
89754
+ holdLabel?: {
89556
89755
  id: string;
89557
89756
  name: string;
89558
89757
  position: number;
89559
89758
  createdAt: Date;
89560
89759
  updatedAt: Date;
89561
89760
  deletedAt: Date | null;
89562
- };
89761
+ } | null | undefined;
89563
89762
  }[] | null | undefined;
89564
89763
  };
89565
89764
  workflowRule: {
@@ -91617,17 +91816,17 @@ export declare const mainChatContract: {
91617
91816
  }>;
91618
91817
  cxlog: z.ZodObject<{
91619
91818
  id: z.ZodString;
91620
- channel: z.ZodNullable<z.ZodString>;
91621
- direction: z.ZodNullable<z.ZodString>;
91622
91819
  createdAt: z.ZodDate;
91623
91820
  updatedAt: z.ZodDate;
91624
91821
  deletedAt: z.ZodNullable<z.ZodDate>;
91625
- entityId: z.ZodString;
91626
- queueId: z.ZodNullable<z.ZodString>;
91627
- contactId: z.ZodNullable<z.ZodString>;
91628
91822
  caseId: z.ZodNumber;
91823
+ entityId: z.ZodString;
91629
91824
  entityName: z.ZodString;
91825
+ contactId: z.ZodNullable<z.ZodString>;
91826
+ channel: z.ZodNullable<z.ZodString>;
91827
+ queueId: z.ZodNullable<z.ZodString>;
91630
91828
  agentId: z.ZodNullable<z.ZodString>;
91829
+ direction: z.ZodNullable<z.ZodString>;
91631
91830
  startedDate: z.ZodNullable<z.ZodDate>;
91632
91831
  handledTime: z.ZodNullable<z.ZodNumber>;
91633
91832
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -91897,7 +92096,7 @@ export declare const mainChatContract: {
91897
92096
  dateValue: Date | null;
91898
92097
  }[] | null | undefined;
91899
92098
  }>>;
91900
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
92099
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
91901
92100
  id: z.ZodString;
91902
92101
  createdAt: z.ZodDate;
91903
92102
  updatedAt: z.ZodDate;
@@ -91905,7 +92104,7 @@ export declare const mainChatContract: {
91905
92104
  startedAt: z.ZodString;
91906
92105
  endedAt: z.ZodNullable<z.ZodString>;
91907
92106
  duration: z.ZodNullable<z.ZodNumber>;
91908
- holdLabel: z.ZodObject<{
92107
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
91909
92108
  id: z.ZodString;
91910
92109
  createdAt: z.ZodDate;
91911
92110
  updatedAt: z.ZodDate;
@@ -91926,7 +92125,7 @@ export declare const mainChatContract: {
91926
92125
  createdAt: Date;
91927
92126
  updatedAt: Date;
91928
92127
  deletedAt: Date | null;
91929
- }>;
92128
+ }>>>;
91930
92129
  }, "strip", z.ZodTypeAny, {
91931
92130
  id: string;
91932
92131
  createdAt: Date;
@@ -91935,14 +92134,14 @@ export declare const mainChatContract: {
91935
92134
  startedAt: string;
91936
92135
  endedAt: string | null;
91937
92136
  duration: number | null;
91938
- holdLabel: {
92137
+ holdLabel?: {
91939
92138
  id: string;
91940
92139
  name: string;
91941
92140
  position: number;
91942
92141
  createdAt: Date;
91943
92142
  updatedAt: Date;
91944
92143
  deletedAt: Date | null;
91945
- };
92144
+ } | null | undefined;
91946
92145
  }, {
91947
92146
  id: string;
91948
92147
  createdAt: Date;
@@ -91951,14 +92150,14 @@ export declare const mainChatContract: {
91951
92150
  startedAt: string;
91952
92151
  endedAt: string | null;
91953
92152
  duration: number | null;
91954
- holdLabel: {
92153
+ holdLabel?: {
91955
92154
  id: string;
91956
92155
  name: string;
91957
92156
  position: number;
91958
92157
  createdAt: Date;
91959
92158
  updatedAt: Date;
91960
92159
  deletedAt: Date | null;
91961
- };
92160
+ } | null | undefined;
91962
92161
  }>, "many">>>;
91963
92162
  }, "strip", z.ZodTypeAny, {
91964
92163
  id: string;
@@ -92036,14 +92235,14 @@ export declare const mainChatContract: {
92036
92235
  startedAt: string;
92037
92236
  endedAt: string | null;
92038
92237
  duration: number | null;
92039
- holdLabel: {
92238
+ holdLabel?: {
92040
92239
  id: string;
92041
92240
  name: string;
92042
92241
  position: number;
92043
92242
  createdAt: Date;
92044
92243
  updatedAt: Date;
92045
92244
  deletedAt: Date | null;
92046
- };
92245
+ } | null | undefined;
92047
92246
  }[] | null | undefined;
92048
92247
  }, {
92049
92248
  id: string;
@@ -92121,14 +92320,14 @@ export declare const mainChatContract: {
92121
92320
  startedAt: string;
92122
92321
  endedAt: string | null;
92123
92322
  duration: number | null;
92124
- holdLabel: {
92323
+ holdLabel?: {
92125
92324
  id: string;
92126
92325
  name: string;
92127
92326
  position: number;
92128
92327
  createdAt: Date;
92129
92328
  updatedAt: Date;
92130
92329
  deletedAt: Date | null;
92131
- };
92330
+ } | null | undefined;
92132
92331
  }[] | null | undefined;
92133
92332
  }>;
92134
92333
  workflowRule: z.ZodObject<{
@@ -92555,14 +92754,14 @@ export declare const mainChatContract: {
92555
92754
  startedAt: string;
92556
92755
  endedAt: string | null;
92557
92756
  duration: number | null;
92558
- holdLabel: {
92757
+ holdLabel?: {
92559
92758
  id: string;
92560
92759
  name: string;
92561
92760
  position: number;
92562
92761
  createdAt: Date;
92563
92762
  updatedAt: Date;
92564
92763
  deletedAt: Date | null;
92565
- };
92764
+ } | null | undefined;
92566
92765
  }[] | null | undefined;
92567
92766
  };
92568
92767
  workflowRule: {
@@ -92973,14 +93172,14 @@ export declare const mainChatContract: {
92973
93172
  startedAt: string;
92974
93173
  endedAt: string | null;
92975
93174
  duration: number | null;
92976
- holdLabel: {
93175
+ holdLabel?: {
92977
93176
  id: string;
92978
93177
  name: string;
92979
93178
  position: number;
92980
93179
  createdAt: Date;
92981
93180
  updatedAt: Date;
92982
93181
  deletedAt: Date | null;
92983
- };
93182
+ } | null | undefined;
92984
93183
  }[] | null | undefined;
92985
93184
  };
92986
93185
  workflowRule: {
@@ -93393,14 +93592,14 @@ export declare const mainChatContract: {
93393
93592
  startedAt: string;
93394
93593
  endedAt: string | null;
93395
93594
  duration: number | null;
93396
- holdLabel: {
93595
+ holdLabel?: {
93397
93596
  id: string;
93398
93597
  name: string;
93399
93598
  position: number;
93400
93599
  createdAt: Date;
93401
93600
  updatedAt: Date;
93402
93601
  deletedAt: Date | null;
93403
- };
93602
+ } | null | undefined;
93404
93603
  }[] | null | undefined;
93405
93604
  };
93406
93605
  workflowRule: {
@@ -93814,14 +94013,14 @@ export declare const mainChatContract: {
93814
94013
  startedAt: string;
93815
94014
  endedAt: string | null;
93816
94015
  duration: number | null;
93817
- holdLabel: {
94016
+ holdLabel?: {
93818
94017
  id: string;
93819
94018
  name: string;
93820
94019
  position: number;
93821
94020
  createdAt: Date;
93822
94021
  updatedAt: Date;
93823
94022
  deletedAt: Date | null;
93824
- };
94023
+ } | null | undefined;
93825
94024
  }[] | null | undefined;
93826
94025
  };
93827
94026
  workflowRule: {
@@ -96940,17 +97139,17 @@ export declare const mainChatContract: {
96940
97139
  }>;
96941
97140
  cxlog: z.ZodObject<{
96942
97141
  id: z.ZodString;
96943
- channel: z.ZodNullable<z.ZodString>;
96944
- direction: z.ZodNullable<z.ZodString>;
96945
97142
  createdAt: z.ZodDate;
96946
97143
  updatedAt: z.ZodDate;
96947
97144
  deletedAt: z.ZodNullable<z.ZodDate>;
96948
- entityId: z.ZodString;
96949
- queueId: z.ZodNullable<z.ZodString>;
96950
- contactId: z.ZodNullable<z.ZodString>;
96951
97145
  caseId: z.ZodNumber;
97146
+ entityId: z.ZodString;
96952
97147
  entityName: z.ZodString;
97148
+ contactId: z.ZodNullable<z.ZodString>;
97149
+ channel: z.ZodNullable<z.ZodString>;
97150
+ queueId: z.ZodNullable<z.ZodString>;
96953
97151
  agentId: z.ZodNullable<z.ZodString>;
97152
+ direction: z.ZodNullable<z.ZodString>;
96954
97153
  startedDate: z.ZodNullable<z.ZodDate>;
96955
97154
  handledTime: z.ZodNullable<z.ZodNumber>;
96956
97155
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -97220,7 +97419,7 @@ export declare const mainChatContract: {
97220
97419
  dateValue: Date | null;
97221
97420
  }[] | null | undefined;
97222
97421
  }>>;
97223
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
97422
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
97224
97423
  id: z.ZodString;
97225
97424
  createdAt: z.ZodDate;
97226
97425
  updatedAt: z.ZodDate;
@@ -97228,7 +97427,7 @@ export declare const mainChatContract: {
97228
97427
  startedAt: z.ZodString;
97229
97428
  endedAt: z.ZodNullable<z.ZodString>;
97230
97429
  duration: z.ZodNullable<z.ZodNumber>;
97231
- holdLabel: z.ZodObject<{
97430
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
97232
97431
  id: z.ZodString;
97233
97432
  createdAt: z.ZodDate;
97234
97433
  updatedAt: z.ZodDate;
@@ -97249,7 +97448,7 @@ export declare const mainChatContract: {
97249
97448
  createdAt: Date;
97250
97449
  updatedAt: Date;
97251
97450
  deletedAt: Date | null;
97252
- }>;
97451
+ }>>>;
97253
97452
  }, "strip", z.ZodTypeAny, {
97254
97453
  id: string;
97255
97454
  createdAt: Date;
@@ -97258,14 +97457,14 @@ export declare const mainChatContract: {
97258
97457
  startedAt: string;
97259
97458
  endedAt: string | null;
97260
97459
  duration: number | null;
97261
- holdLabel: {
97460
+ holdLabel?: {
97262
97461
  id: string;
97263
97462
  name: string;
97264
97463
  position: number;
97265
97464
  createdAt: Date;
97266
97465
  updatedAt: Date;
97267
97466
  deletedAt: Date | null;
97268
- };
97467
+ } | null | undefined;
97269
97468
  }, {
97270
97469
  id: string;
97271
97470
  createdAt: Date;
@@ -97274,14 +97473,14 @@ export declare const mainChatContract: {
97274
97473
  startedAt: string;
97275
97474
  endedAt: string | null;
97276
97475
  duration: number | null;
97277
- holdLabel: {
97476
+ holdLabel?: {
97278
97477
  id: string;
97279
97478
  name: string;
97280
97479
  position: number;
97281
97480
  createdAt: Date;
97282
97481
  updatedAt: Date;
97283
97482
  deletedAt: Date | null;
97284
- };
97483
+ } | null | undefined;
97285
97484
  }>, "many">>>;
97286
97485
  }, "strip", z.ZodTypeAny, {
97287
97486
  id: string;
@@ -97359,14 +97558,14 @@ export declare const mainChatContract: {
97359
97558
  startedAt: string;
97360
97559
  endedAt: string | null;
97361
97560
  duration: number | null;
97362
- holdLabel: {
97561
+ holdLabel?: {
97363
97562
  id: string;
97364
97563
  name: string;
97365
97564
  position: number;
97366
97565
  createdAt: Date;
97367
97566
  updatedAt: Date;
97368
97567
  deletedAt: Date | null;
97369
- };
97568
+ } | null | undefined;
97370
97569
  }[] | null | undefined;
97371
97570
  }, {
97372
97571
  id: string;
@@ -97444,14 +97643,14 @@ export declare const mainChatContract: {
97444
97643
  startedAt: string;
97445
97644
  endedAt: string | null;
97446
97645
  duration: number | null;
97447
- holdLabel: {
97646
+ holdLabel?: {
97448
97647
  id: string;
97449
97648
  name: string;
97450
97649
  position: number;
97451
97650
  createdAt: Date;
97452
97651
  updatedAt: Date;
97453
97652
  deletedAt: Date | null;
97454
- };
97653
+ } | null | undefined;
97455
97654
  }[] | null | undefined;
97456
97655
  }>;
97457
97656
  workflowRule: z.ZodObject<{
@@ -97878,14 +98077,14 @@ export declare const mainChatContract: {
97878
98077
  startedAt: string;
97879
98078
  endedAt: string | null;
97880
98079
  duration: number | null;
97881
- holdLabel: {
98080
+ holdLabel?: {
97882
98081
  id: string;
97883
98082
  name: string;
97884
98083
  position: number;
97885
98084
  createdAt: Date;
97886
98085
  updatedAt: Date;
97887
98086
  deletedAt: Date | null;
97888
- };
98087
+ } | null | undefined;
97889
98088
  }[] | null | undefined;
97890
98089
  };
97891
98090
  workflowRule: {
@@ -98296,14 +98495,14 @@ export declare const mainChatContract: {
98296
98495
  startedAt: string;
98297
98496
  endedAt: string | null;
98298
98497
  duration: number | null;
98299
- holdLabel: {
98498
+ holdLabel?: {
98300
98499
  id: string;
98301
98500
  name: string;
98302
98501
  position: number;
98303
98502
  createdAt: Date;
98304
98503
  updatedAt: Date;
98305
98504
  deletedAt: Date | null;
98306
- };
98505
+ } | null | undefined;
98307
98506
  }[] | null | undefined;
98308
98507
  };
98309
98508
  workflowRule: {
@@ -98716,14 +98915,14 @@ export declare const mainChatContract: {
98716
98915
  startedAt: string;
98717
98916
  endedAt: string | null;
98718
98917
  duration: number | null;
98719
- holdLabel: {
98918
+ holdLabel?: {
98720
98919
  id: string;
98721
98920
  name: string;
98722
98921
  position: number;
98723
98922
  createdAt: Date;
98724
98923
  updatedAt: Date;
98725
98924
  deletedAt: Date | null;
98726
- };
98925
+ } | null | undefined;
98727
98926
  }[] | null | undefined;
98728
98927
  };
98729
98928
  workflowRule: {
@@ -99137,14 +99336,14 @@ export declare const mainChatContract: {
99137
99336
  startedAt: string;
99138
99337
  endedAt: string | null;
99139
99338
  duration: number | null;
99140
- holdLabel: {
99339
+ holdLabel?: {
99141
99340
  id: string;
99142
99341
  name: string;
99143
99342
  position: number;
99144
99343
  createdAt: Date;
99145
99344
  updatedAt: Date;
99146
99345
  deletedAt: Date | null;
99147
- };
99346
+ } | null | undefined;
99148
99347
  }[] | null | undefined;
99149
99348
  };
99150
99349
  workflowRule: {
@@ -101229,17 +101428,17 @@ export declare const initiateMessageContract: {
101229
101428
  }>;
101230
101429
  cxlog: z.ZodObject<{
101231
101430
  id: z.ZodString;
101232
- channel: z.ZodNullable<z.ZodString>;
101233
- direction: z.ZodNullable<z.ZodString>;
101234
101431
  createdAt: z.ZodDate;
101235
101432
  updatedAt: z.ZodDate;
101236
101433
  deletedAt: z.ZodNullable<z.ZodDate>;
101237
- entityId: z.ZodString;
101238
- queueId: z.ZodNullable<z.ZodString>;
101239
- contactId: z.ZodNullable<z.ZodString>;
101240
101434
  caseId: z.ZodNumber;
101435
+ entityId: z.ZodString;
101241
101436
  entityName: z.ZodString;
101437
+ contactId: z.ZodNullable<z.ZodString>;
101438
+ channel: z.ZodNullable<z.ZodString>;
101439
+ queueId: z.ZodNullable<z.ZodString>;
101242
101440
  agentId: z.ZodNullable<z.ZodString>;
101441
+ direction: z.ZodNullable<z.ZodString>;
101243
101442
  startedDate: z.ZodNullable<z.ZodDate>;
101244
101443
  handledTime: z.ZodNullable<z.ZodNumber>;
101245
101444
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -101509,7 +101708,7 @@ export declare const initiateMessageContract: {
101509
101708
  dateValue: Date | null;
101510
101709
  }[] | null | undefined;
101511
101710
  }>>;
101512
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
101711
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
101513
101712
  id: z.ZodString;
101514
101713
  createdAt: z.ZodDate;
101515
101714
  updatedAt: z.ZodDate;
@@ -101517,7 +101716,7 @@ export declare const initiateMessageContract: {
101517
101716
  startedAt: z.ZodString;
101518
101717
  endedAt: z.ZodNullable<z.ZodString>;
101519
101718
  duration: z.ZodNullable<z.ZodNumber>;
101520
- holdLabel: z.ZodObject<{
101719
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
101521
101720
  id: z.ZodString;
101522
101721
  createdAt: z.ZodDate;
101523
101722
  updatedAt: z.ZodDate;
@@ -101538,7 +101737,7 @@ export declare const initiateMessageContract: {
101538
101737
  createdAt: Date;
101539
101738
  updatedAt: Date;
101540
101739
  deletedAt: Date | null;
101541
- }>;
101740
+ }>>>;
101542
101741
  }, "strip", z.ZodTypeAny, {
101543
101742
  id: string;
101544
101743
  createdAt: Date;
@@ -101547,14 +101746,14 @@ export declare const initiateMessageContract: {
101547
101746
  startedAt: string;
101548
101747
  endedAt: string | null;
101549
101748
  duration: number | null;
101550
- holdLabel: {
101749
+ holdLabel?: {
101551
101750
  id: string;
101552
101751
  name: string;
101553
101752
  position: number;
101554
101753
  createdAt: Date;
101555
101754
  updatedAt: Date;
101556
101755
  deletedAt: Date | null;
101557
- };
101756
+ } | null | undefined;
101558
101757
  }, {
101559
101758
  id: string;
101560
101759
  createdAt: Date;
@@ -101563,14 +101762,14 @@ export declare const initiateMessageContract: {
101563
101762
  startedAt: string;
101564
101763
  endedAt: string | null;
101565
101764
  duration: number | null;
101566
- holdLabel: {
101765
+ holdLabel?: {
101567
101766
  id: string;
101568
101767
  name: string;
101569
101768
  position: number;
101570
101769
  createdAt: Date;
101571
101770
  updatedAt: Date;
101572
101771
  deletedAt: Date | null;
101573
- };
101772
+ } | null | undefined;
101574
101773
  }>, "many">>>;
101575
101774
  }, "strip", z.ZodTypeAny, {
101576
101775
  id: string;
@@ -101648,14 +101847,14 @@ export declare const initiateMessageContract: {
101648
101847
  startedAt: string;
101649
101848
  endedAt: string | null;
101650
101849
  duration: number | null;
101651
- holdLabel: {
101850
+ holdLabel?: {
101652
101851
  id: string;
101653
101852
  name: string;
101654
101853
  position: number;
101655
101854
  createdAt: Date;
101656
101855
  updatedAt: Date;
101657
101856
  deletedAt: Date | null;
101658
- };
101857
+ } | null | undefined;
101659
101858
  }[] | null | undefined;
101660
101859
  }, {
101661
101860
  id: string;
@@ -101733,14 +101932,14 @@ export declare const initiateMessageContract: {
101733
101932
  startedAt: string;
101734
101933
  endedAt: string | null;
101735
101934
  duration: number | null;
101736
- holdLabel: {
101935
+ holdLabel?: {
101737
101936
  id: string;
101738
101937
  name: string;
101739
101938
  position: number;
101740
101939
  createdAt: Date;
101741
101940
  updatedAt: Date;
101742
101941
  deletedAt: Date | null;
101743
- };
101942
+ } | null | undefined;
101744
101943
  }[] | null | undefined;
101745
101944
  }>;
101746
101945
  workflowRule: z.ZodObject<{
@@ -102167,14 +102366,14 @@ export declare const initiateMessageContract: {
102167
102366
  startedAt: string;
102168
102367
  endedAt: string | null;
102169
102368
  duration: number | null;
102170
- holdLabel: {
102369
+ holdLabel?: {
102171
102370
  id: string;
102172
102371
  name: string;
102173
102372
  position: number;
102174
102373
  createdAt: Date;
102175
102374
  updatedAt: Date;
102176
102375
  deletedAt: Date | null;
102177
- };
102376
+ } | null | undefined;
102178
102377
  }[] | null | undefined;
102179
102378
  };
102180
102379
  workflowRule: {
@@ -102585,14 +102784,14 @@ export declare const initiateMessageContract: {
102585
102784
  startedAt: string;
102586
102785
  endedAt: string | null;
102587
102786
  duration: number | null;
102588
- holdLabel: {
102787
+ holdLabel?: {
102589
102788
  id: string;
102590
102789
  name: string;
102591
102790
  position: number;
102592
102791
  createdAt: Date;
102593
102792
  updatedAt: Date;
102594
102793
  deletedAt: Date | null;
102595
- };
102794
+ } | null | undefined;
102596
102795
  }[] | null | undefined;
102597
102796
  };
102598
102797
  workflowRule: {
@@ -104776,14 +104975,14 @@ export declare const initiateMessageContract: {
104776
104975
  startedAt: string;
104777
104976
  endedAt: string | null;
104778
104977
  duration: number | null;
104779
- holdLabel: {
104978
+ holdLabel?: {
104780
104979
  id: string;
104781
104980
  name: string;
104782
104981
  position: number;
104783
104982
  createdAt: Date;
104784
104983
  updatedAt: Date;
104785
104984
  deletedAt: Date | null;
104786
- };
104985
+ } | null | undefined;
104787
104986
  }[] | null | undefined;
104788
104987
  };
104789
104988
  workflowRule: {
@@ -105531,14 +105730,14 @@ export declare const initiateMessageContract: {
105531
105730
  startedAt: string;
105532
105731
  endedAt: string | null;
105533
105732
  duration: number | null;
105534
- holdLabel: {
105733
+ holdLabel?: {
105535
105734
  id: string;
105536
105735
  name: string;
105537
105736
  position: number;
105538
105737
  createdAt: Date;
105539
105738
  updatedAt: Date;
105540
105739
  deletedAt: Date | null;
105541
- };
105740
+ } | null | undefined;
105542
105741
  }[] | null | undefined;
105543
105742
  };
105544
105743
  workflowRule: {
@@ -106288,14 +106487,14 @@ export declare const initiateMessageContract: {
106288
106487
  startedAt: string;
106289
106488
  endedAt: string | null;
106290
106489
  duration: number | null;
106291
- holdLabel: {
106490
+ holdLabel?: {
106292
106491
  id: string;
106293
106492
  name: string;
106294
106493
  position: number;
106295
106494
  createdAt: Date;
106296
106495
  updatedAt: Date;
106297
106496
  deletedAt: Date | null;
106298
- };
106497
+ } | null | undefined;
106299
106498
  }[] | null | undefined;
106300
106499
  };
106301
106500
  workflowRule: {
@@ -107046,14 +107245,14 @@ export declare const initiateMessageContract: {
107046
107245
  startedAt: string;
107047
107246
  endedAt: string | null;
107048
107247
  duration: number | null;
107049
- holdLabel: {
107248
+ holdLabel?: {
107050
107249
  id: string;
107051
107250
  name: string;
107052
107251
  position: number;
107053
107252
  createdAt: Date;
107054
107253
  updatedAt: Date;
107055
107254
  deletedAt: Date | null;
107056
- };
107255
+ } | null | undefined;
107057
107256
  }[] | null | undefined;
107058
107257
  };
107059
107258
  workflowRule: {
@@ -110197,17 +110396,17 @@ export declare const mainChatMessageContract: {
110197
110396
  }>;
110198
110397
  cxlog: z.ZodObject<{
110199
110398
  id: z.ZodString;
110200
- channel: z.ZodNullable<z.ZodString>;
110201
- direction: z.ZodNullable<z.ZodString>;
110202
110399
  createdAt: z.ZodDate;
110203
110400
  updatedAt: z.ZodDate;
110204
110401
  deletedAt: z.ZodNullable<z.ZodDate>;
110205
- entityId: z.ZodString;
110206
- queueId: z.ZodNullable<z.ZodString>;
110207
- contactId: z.ZodNullable<z.ZodString>;
110208
110402
  caseId: z.ZodNumber;
110403
+ entityId: z.ZodString;
110209
110404
  entityName: z.ZodString;
110405
+ contactId: z.ZodNullable<z.ZodString>;
110406
+ channel: z.ZodNullable<z.ZodString>;
110407
+ queueId: z.ZodNullable<z.ZodString>;
110210
110408
  agentId: z.ZodNullable<z.ZodString>;
110409
+ direction: z.ZodNullable<z.ZodString>;
110211
110410
  startedDate: z.ZodNullable<z.ZodDate>;
110212
110411
  handledTime: z.ZodNullable<z.ZodNumber>;
110213
110412
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -110477,7 +110676,7 @@ export declare const mainChatMessageContract: {
110477
110676
  dateValue: Date | null;
110478
110677
  }[] | null | undefined;
110479
110678
  }>>;
110480
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
110679
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
110481
110680
  id: z.ZodString;
110482
110681
  createdAt: z.ZodDate;
110483
110682
  updatedAt: z.ZodDate;
@@ -110485,7 +110684,7 @@ export declare const mainChatMessageContract: {
110485
110684
  startedAt: z.ZodString;
110486
110685
  endedAt: z.ZodNullable<z.ZodString>;
110487
110686
  duration: z.ZodNullable<z.ZodNumber>;
110488
- holdLabel: z.ZodObject<{
110687
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
110489
110688
  id: z.ZodString;
110490
110689
  createdAt: z.ZodDate;
110491
110690
  updatedAt: z.ZodDate;
@@ -110506,7 +110705,7 @@ export declare const mainChatMessageContract: {
110506
110705
  createdAt: Date;
110507
110706
  updatedAt: Date;
110508
110707
  deletedAt: Date | null;
110509
- }>;
110708
+ }>>>;
110510
110709
  }, "strip", z.ZodTypeAny, {
110511
110710
  id: string;
110512
110711
  createdAt: Date;
@@ -110515,14 +110714,14 @@ export declare const mainChatMessageContract: {
110515
110714
  startedAt: string;
110516
110715
  endedAt: string | null;
110517
110716
  duration: number | null;
110518
- holdLabel: {
110717
+ holdLabel?: {
110519
110718
  id: string;
110520
110719
  name: string;
110521
110720
  position: number;
110522
110721
  createdAt: Date;
110523
110722
  updatedAt: Date;
110524
110723
  deletedAt: Date | null;
110525
- };
110724
+ } | null | undefined;
110526
110725
  }, {
110527
110726
  id: string;
110528
110727
  createdAt: Date;
@@ -110531,14 +110730,14 @@ export declare const mainChatMessageContract: {
110531
110730
  startedAt: string;
110532
110731
  endedAt: string | null;
110533
110732
  duration: number | null;
110534
- holdLabel: {
110733
+ holdLabel?: {
110535
110734
  id: string;
110536
110735
  name: string;
110537
110736
  position: number;
110538
110737
  createdAt: Date;
110539
110738
  updatedAt: Date;
110540
110739
  deletedAt: Date | null;
110541
- };
110740
+ } | null | undefined;
110542
110741
  }>, "many">>>;
110543
110742
  }, "strip", z.ZodTypeAny, {
110544
110743
  id: string;
@@ -110616,14 +110815,14 @@ export declare const mainChatMessageContract: {
110616
110815
  startedAt: string;
110617
110816
  endedAt: string | null;
110618
110817
  duration: number | null;
110619
- holdLabel: {
110818
+ holdLabel?: {
110620
110819
  id: string;
110621
110820
  name: string;
110622
110821
  position: number;
110623
110822
  createdAt: Date;
110624
110823
  updatedAt: Date;
110625
110824
  deletedAt: Date | null;
110626
- };
110825
+ } | null | undefined;
110627
110826
  }[] | null | undefined;
110628
110827
  }, {
110629
110828
  id: string;
@@ -110701,14 +110900,14 @@ export declare const mainChatMessageContract: {
110701
110900
  startedAt: string;
110702
110901
  endedAt: string | null;
110703
110902
  duration: number | null;
110704
- holdLabel: {
110903
+ holdLabel?: {
110705
110904
  id: string;
110706
110905
  name: string;
110707
110906
  position: number;
110708
110907
  createdAt: Date;
110709
110908
  updatedAt: Date;
110710
110909
  deletedAt: Date | null;
110711
- };
110910
+ } | null | undefined;
110712
110911
  }[] | null | undefined;
110713
110912
  }>;
110714
110913
  workflowRule: z.ZodObject<{
@@ -111135,14 +111334,14 @@ export declare const mainChatMessageContract: {
111135
111334
  startedAt: string;
111136
111335
  endedAt: string | null;
111137
111336
  duration: number | null;
111138
- holdLabel: {
111337
+ holdLabel?: {
111139
111338
  id: string;
111140
111339
  name: string;
111141
111340
  position: number;
111142
111341
  createdAt: Date;
111143
111342
  updatedAt: Date;
111144
111343
  deletedAt: Date | null;
111145
- };
111344
+ } | null | undefined;
111146
111345
  }[] | null | undefined;
111147
111346
  };
111148
111347
  workflowRule: {
@@ -111553,14 +111752,14 @@ export declare const mainChatMessageContract: {
111553
111752
  startedAt: string;
111554
111753
  endedAt: string | null;
111555
111754
  duration: number | null;
111556
- holdLabel: {
111755
+ holdLabel?: {
111557
111756
  id: string;
111558
111757
  name: string;
111559
111758
  position: number;
111560
111759
  createdAt: Date;
111561
111760
  updatedAt: Date;
111562
111761
  deletedAt: Date | null;
111563
- };
111762
+ } | null | undefined;
111564
111763
  }[] | null | undefined;
111565
111764
  };
111566
111765
  workflowRule: {
@@ -114811,17 +115010,17 @@ export declare const mainChatMessageContract: {
114811
115010
  }>;
114812
115011
  cxlog: z.ZodObject<{
114813
115012
  id: z.ZodString;
114814
- channel: z.ZodNullable<z.ZodString>;
114815
- direction: z.ZodNullable<z.ZodString>;
114816
115013
  createdAt: z.ZodDate;
114817
115014
  updatedAt: z.ZodDate;
114818
115015
  deletedAt: z.ZodNullable<z.ZodDate>;
114819
- entityId: z.ZodString;
114820
- queueId: z.ZodNullable<z.ZodString>;
114821
- contactId: z.ZodNullable<z.ZodString>;
114822
115016
  caseId: z.ZodNumber;
115017
+ entityId: z.ZodString;
114823
115018
  entityName: z.ZodString;
115019
+ contactId: z.ZodNullable<z.ZodString>;
115020
+ channel: z.ZodNullable<z.ZodString>;
115021
+ queueId: z.ZodNullable<z.ZodString>;
114824
115022
  agentId: z.ZodNullable<z.ZodString>;
115023
+ direction: z.ZodNullable<z.ZodString>;
114825
115024
  startedDate: z.ZodNullable<z.ZodDate>;
114826
115025
  handledTime: z.ZodNullable<z.ZodNumber>;
114827
115026
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -115091,7 +115290,7 @@ export declare const mainChatMessageContract: {
115091
115290
  dateValue: Date | null;
115092
115291
  }[] | null | undefined;
115093
115292
  }>>;
115094
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
115293
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
115095
115294
  id: z.ZodString;
115096
115295
  createdAt: z.ZodDate;
115097
115296
  updatedAt: z.ZodDate;
@@ -115099,7 +115298,7 @@ export declare const mainChatMessageContract: {
115099
115298
  startedAt: z.ZodString;
115100
115299
  endedAt: z.ZodNullable<z.ZodString>;
115101
115300
  duration: z.ZodNullable<z.ZodNumber>;
115102
- holdLabel: z.ZodObject<{
115301
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
115103
115302
  id: z.ZodString;
115104
115303
  createdAt: z.ZodDate;
115105
115304
  updatedAt: z.ZodDate;
@@ -115120,7 +115319,7 @@ export declare const mainChatMessageContract: {
115120
115319
  createdAt: Date;
115121
115320
  updatedAt: Date;
115122
115321
  deletedAt: Date | null;
115123
- }>;
115322
+ }>>>;
115124
115323
  }, "strip", z.ZodTypeAny, {
115125
115324
  id: string;
115126
115325
  createdAt: Date;
@@ -115129,14 +115328,14 @@ export declare const mainChatMessageContract: {
115129
115328
  startedAt: string;
115130
115329
  endedAt: string | null;
115131
115330
  duration: number | null;
115132
- holdLabel: {
115331
+ holdLabel?: {
115133
115332
  id: string;
115134
115333
  name: string;
115135
115334
  position: number;
115136
115335
  createdAt: Date;
115137
115336
  updatedAt: Date;
115138
115337
  deletedAt: Date | null;
115139
- };
115338
+ } | null | undefined;
115140
115339
  }, {
115141
115340
  id: string;
115142
115341
  createdAt: Date;
@@ -115145,14 +115344,14 @@ export declare const mainChatMessageContract: {
115145
115344
  startedAt: string;
115146
115345
  endedAt: string | null;
115147
115346
  duration: number | null;
115148
- holdLabel: {
115347
+ holdLabel?: {
115149
115348
  id: string;
115150
115349
  name: string;
115151
115350
  position: number;
115152
115351
  createdAt: Date;
115153
115352
  updatedAt: Date;
115154
115353
  deletedAt: Date | null;
115155
- };
115354
+ } | null | undefined;
115156
115355
  }>, "many">>>;
115157
115356
  }, "strip", z.ZodTypeAny, {
115158
115357
  id: string;
@@ -115230,14 +115429,14 @@ export declare const mainChatMessageContract: {
115230
115429
  startedAt: string;
115231
115430
  endedAt: string | null;
115232
115431
  duration: number | null;
115233
- holdLabel: {
115432
+ holdLabel?: {
115234
115433
  id: string;
115235
115434
  name: string;
115236
115435
  position: number;
115237
115436
  createdAt: Date;
115238
115437
  updatedAt: Date;
115239
115438
  deletedAt: Date | null;
115240
- };
115439
+ } | null | undefined;
115241
115440
  }[] | null | undefined;
115242
115441
  }, {
115243
115442
  id: string;
@@ -115315,14 +115514,14 @@ export declare const mainChatMessageContract: {
115315
115514
  startedAt: string;
115316
115515
  endedAt: string | null;
115317
115516
  duration: number | null;
115318
- holdLabel: {
115517
+ holdLabel?: {
115319
115518
  id: string;
115320
115519
  name: string;
115321
115520
  position: number;
115322
115521
  createdAt: Date;
115323
115522
  updatedAt: Date;
115324
115523
  deletedAt: Date | null;
115325
- };
115524
+ } | null | undefined;
115326
115525
  }[] | null | undefined;
115327
115526
  }>;
115328
115527
  workflowRule: z.ZodObject<{
@@ -115749,14 +115948,14 @@ export declare const mainChatMessageContract: {
115749
115948
  startedAt: string;
115750
115949
  endedAt: string | null;
115751
115950
  duration: number | null;
115752
- holdLabel: {
115951
+ holdLabel?: {
115753
115952
  id: string;
115754
115953
  name: string;
115755
115954
  position: number;
115756
115955
  createdAt: Date;
115757
115956
  updatedAt: Date;
115758
115957
  deletedAt: Date | null;
115759
- };
115958
+ } | null | undefined;
115760
115959
  }[] | null | undefined;
115761
115960
  };
115762
115961
  workflowRule: {
@@ -116167,14 +116366,14 @@ export declare const mainChatMessageContract: {
116167
116366
  startedAt: string;
116168
116367
  endedAt: string | null;
116169
116368
  duration: number | null;
116170
- holdLabel: {
116369
+ holdLabel?: {
116171
116370
  id: string;
116172
116371
  name: string;
116173
116372
  position: number;
116174
116373
  createdAt: Date;
116175
116374
  updatedAt: Date;
116176
116375
  deletedAt: Date | null;
116177
- };
116376
+ } | null | undefined;
116178
116377
  }[] | null | undefined;
116179
116378
  };
116180
116379
  workflowRule: {
@@ -118358,14 +118557,14 @@ export declare const mainChatMessageContract: {
118358
118557
  startedAt: string;
118359
118558
  endedAt: string | null;
118360
118559
  duration: number | null;
118361
- holdLabel: {
118560
+ holdLabel?: {
118362
118561
  id: string;
118363
118562
  name: string;
118364
118563
  position: number;
118365
118564
  createdAt: Date;
118366
118565
  updatedAt: Date;
118367
118566
  deletedAt: Date | null;
118368
- };
118567
+ } | null | undefined;
118369
118568
  }[] | null | undefined;
118370
118569
  };
118371
118570
  workflowRule: {
@@ -119113,14 +119312,14 @@ export declare const mainChatMessageContract: {
119113
119312
  startedAt: string;
119114
119313
  endedAt: string | null;
119115
119314
  duration: number | null;
119116
- holdLabel: {
119315
+ holdLabel?: {
119117
119316
  id: string;
119118
119317
  name: string;
119119
119318
  position: number;
119120
119319
  createdAt: Date;
119121
119320
  updatedAt: Date;
119122
119321
  deletedAt: Date | null;
119123
- };
119322
+ } | null | undefined;
119124
119323
  }[] | null | undefined;
119125
119324
  };
119126
119325
  workflowRule: {
@@ -119869,14 +120068,14 @@ export declare const mainChatMessageContract: {
119869
120068
  startedAt: string;
119870
120069
  endedAt: string | null;
119871
120070
  duration: number | null;
119872
- holdLabel: {
120071
+ holdLabel?: {
119873
120072
  id: string;
119874
120073
  name: string;
119875
120074
  position: number;
119876
120075
  createdAt: Date;
119877
120076
  updatedAt: Date;
119878
120077
  deletedAt: Date | null;
119879
- };
120078
+ } | null | undefined;
119880
120079
  }[] | null | undefined;
119881
120080
  };
119882
120081
  workflowRule: {
@@ -120624,14 +120823,14 @@ export declare const mainChatMessageContract: {
120624
120823
  startedAt: string;
120625
120824
  endedAt: string | null;
120626
120825
  duration: number | null;
120627
- holdLabel: {
120826
+ holdLabel?: {
120628
120827
  id: string;
120629
120828
  name: string;
120630
120829
  position: number;
120631
120830
  createdAt: Date;
120632
120831
  updatedAt: Date;
120633
120832
  deletedAt: Date | null;
120634
- };
120833
+ } | null | undefined;
120635
120834
  }[] | null | undefined;
120636
120835
  };
120637
120836
  workflowRule: {
@@ -121380,14 +121579,14 @@ export declare const mainChatMessageContract: {
121380
121579
  startedAt: string;
121381
121580
  endedAt: string | null;
121382
121581
  duration: number | null;
121383
- holdLabel: {
121582
+ holdLabel?: {
121384
121583
  id: string;
121385
121584
  name: string;
121386
121585
  position: number;
121387
121586
  createdAt: Date;
121388
121587
  updatedAt: Date;
121389
121588
  deletedAt: Date | null;
121390
- };
121589
+ } | null | undefined;
121391
121590
  }[] | null | undefined;
121392
121591
  };
121393
121592
  workflowRule: {
@@ -122135,14 +122334,14 @@ export declare const mainChatMessageContract: {
122135
122334
  startedAt: string;
122136
122335
  endedAt: string | null;
122137
122336
  duration: number | null;
122138
- holdLabel: {
122337
+ holdLabel?: {
122139
122338
  id: string;
122140
122339
  name: string;
122141
122340
  position: number;
122142
122341
  createdAt: Date;
122143
122342
  updatedAt: Date;
122144
122343
  deletedAt: Date | null;
122145
- };
122344
+ } | null | undefined;
122146
122345
  }[] | null | undefined;
122147
122346
  };
122148
122347
  workflowRule: {
@@ -122893,14 +123092,14 @@ export declare const mainChatMessageContract: {
122893
123092
  startedAt: string;
122894
123093
  endedAt: string | null;
122895
123094
  duration: number | null;
122896
- holdLabel: {
123095
+ holdLabel?: {
122897
123096
  id: string;
122898
123097
  name: string;
122899
123098
  position: number;
122900
123099
  createdAt: Date;
122901
123100
  updatedAt: Date;
122902
123101
  deletedAt: Date | null;
122903
- };
123102
+ } | null | undefined;
122904
123103
  }[] | null | undefined;
122905
123104
  };
122906
123105
  workflowRule: {
@@ -123648,14 +123847,14 @@ export declare const mainChatMessageContract: {
123648
123847
  startedAt: string;
123649
123848
  endedAt: string | null;
123650
123849
  duration: number | null;
123651
- holdLabel: {
123850
+ holdLabel?: {
123652
123851
  id: string;
123653
123852
  name: string;
123654
123853
  position: number;
123655
123854
  createdAt: Date;
123656
123855
  updatedAt: Date;
123657
123856
  deletedAt: Date | null;
123658
- };
123857
+ } | null | undefined;
123659
123858
  }[] | null | undefined;
123660
123859
  };
123661
123860
  workflowRule: {
@@ -124407,14 +124606,14 @@ export declare const mainChatMessageContract: {
124407
124606
  startedAt: string;
124408
124607
  endedAt: string | null;
124409
124608
  duration: number | null;
124410
- holdLabel: {
124609
+ holdLabel?: {
124411
124610
  id: string;
124412
124611
  name: string;
124413
124612
  position: number;
124414
124613
  createdAt: Date;
124415
124614
  updatedAt: Date;
124416
124615
  deletedAt: Date | null;
124417
- };
124616
+ } | null | undefined;
124418
124617
  }[] | null | undefined;
124419
124618
  };
124420
124619
  workflowRule: {
@@ -125162,14 +125361,14 @@ export declare const mainChatMessageContract: {
125162
125361
  startedAt: string;
125163
125362
  endedAt: string | null;
125164
125363
  duration: number | null;
125165
- holdLabel: {
125364
+ holdLabel?: {
125166
125365
  id: string;
125167
125366
  name: string;
125168
125367
  position: number;
125169
125368
  createdAt: Date;
125170
125369
  updatedAt: Date;
125171
125370
  deletedAt: Date | null;
125172
- };
125371
+ } | null | undefined;
125173
125372
  }[] | null | undefined;
125174
125373
  };
125175
125374
  workflowRule: {
@@ -128293,17 +128492,17 @@ export declare const mainChatMessageContract: {
128293
128492
  }>;
128294
128493
  cxlog: z.ZodObject<{
128295
128494
  id: z.ZodString;
128296
- channel: z.ZodNullable<z.ZodString>;
128297
- direction: z.ZodNullable<z.ZodString>;
128298
128495
  createdAt: z.ZodDate;
128299
128496
  updatedAt: z.ZodDate;
128300
128497
  deletedAt: z.ZodNullable<z.ZodDate>;
128301
- entityId: z.ZodString;
128302
- queueId: z.ZodNullable<z.ZodString>;
128303
- contactId: z.ZodNullable<z.ZodString>;
128304
128498
  caseId: z.ZodNumber;
128499
+ entityId: z.ZodString;
128305
128500
  entityName: z.ZodString;
128501
+ contactId: z.ZodNullable<z.ZodString>;
128502
+ channel: z.ZodNullable<z.ZodString>;
128503
+ queueId: z.ZodNullable<z.ZodString>;
128306
128504
  agentId: z.ZodNullable<z.ZodString>;
128505
+ direction: z.ZodNullable<z.ZodString>;
128307
128506
  startedDate: z.ZodNullable<z.ZodDate>;
128308
128507
  handledTime: z.ZodNullable<z.ZodNumber>;
128309
128508
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -128573,7 +128772,7 @@ export declare const mainChatMessageContract: {
128573
128772
  dateValue: Date | null;
128574
128773
  }[] | null | undefined;
128575
128774
  }>>;
128576
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
128775
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
128577
128776
  id: z.ZodString;
128578
128777
  createdAt: z.ZodDate;
128579
128778
  updatedAt: z.ZodDate;
@@ -128581,7 +128780,7 @@ export declare const mainChatMessageContract: {
128581
128780
  startedAt: z.ZodString;
128582
128781
  endedAt: z.ZodNullable<z.ZodString>;
128583
128782
  duration: z.ZodNullable<z.ZodNumber>;
128584
- holdLabel: z.ZodObject<{
128783
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
128585
128784
  id: z.ZodString;
128586
128785
  createdAt: z.ZodDate;
128587
128786
  updatedAt: z.ZodDate;
@@ -128602,7 +128801,7 @@ export declare const mainChatMessageContract: {
128602
128801
  createdAt: Date;
128603
128802
  updatedAt: Date;
128604
128803
  deletedAt: Date | null;
128605
- }>;
128804
+ }>>>;
128606
128805
  }, "strip", z.ZodTypeAny, {
128607
128806
  id: string;
128608
128807
  createdAt: Date;
@@ -128611,14 +128810,14 @@ export declare const mainChatMessageContract: {
128611
128810
  startedAt: string;
128612
128811
  endedAt: string | null;
128613
128812
  duration: number | null;
128614
- holdLabel: {
128813
+ holdLabel?: {
128615
128814
  id: string;
128616
128815
  name: string;
128617
128816
  position: number;
128618
128817
  createdAt: Date;
128619
128818
  updatedAt: Date;
128620
128819
  deletedAt: Date | null;
128621
- };
128820
+ } | null | undefined;
128622
128821
  }, {
128623
128822
  id: string;
128624
128823
  createdAt: Date;
@@ -128627,14 +128826,14 @@ export declare const mainChatMessageContract: {
128627
128826
  startedAt: string;
128628
128827
  endedAt: string | null;
128629
128828
  duration: number | null;
128630
- holdLabel: {
128829
+ holdLabel?: {
128631
128830
  id: string;
128632
128831
  name: string;
128633
128832
  position: number;
128634
128833
  createdAt: Date;
128635
128834
  updatedAt: Date;
128636
128835
  deletedAt: Date | null;
128637
- };
128836
+ } | null | undefined;
128638
128837
  }>, "many">>>;
128639
128838
  }, "strip", z.ZodTypeAny, {
128640
128839
  id: string;
@@ -128712,14 +128911,14 @@ export declare const mainChatMessageContract: {
128712
128911
  startedAt: string;
128713
128912
  endedAt: string | null;
128714
128913
  duration: number | null;
128715
- holdLabel: {
128914
+ holdLabel?: {
128716
128915
  id: string;
128717
128916
  name: string;
128718
128917
  position: number;
128719
128918
  createdAt: Date;
128720
128919
  updatedAt: Date;
128721
128920
  deletedAt: Date | null;
128722
- };
128921
+ } | null | undefined;
128723
128922
  }[] | null | undefined;
128724
128923
  }, {
128725
128924
  id: string;
@@ -128797,14 +128996,14 @@ export declare const mainChatMessageContract: {
128797
128996
  startedAt: string;
128798
128997
  endedAt: string | null;
128799
128998
  duration: number | null;
128800
- holdLabel: {
128999
+ holdLabel?: {
128801
129000
  id: string;
128802
129001
  name: string;
128803
129002
  position: number;
128804
129003
  createdAt: Date;
128805
129004
  updatedAt: Date;
128806
129005
  deletedAt: Date | null;
128807
- };
129006
+ } | null | undefined;
128808
129007
  }[] | null | undefined;
128809
129008
  }>;
128810
129009
  workflowRule: z.ZodObject<{
@@ -129231,14 +129430,14 @@ export declare const mainChatMessageContract: {
129231
129430
  startedAt: string;
129232
129431
  endedAt: string | null;
129233
129432
  duration: number | null;
129234
- holdLabel: {
129433
+ holdLabel?: {
129235
129434
  id: string;
129236
129435
  name: string;
129237
129436
  position: number;
129238
129437
  createdAt: Date;
129239
129438
  updatedAt: Date;
129240
129439
  deletedAt: Date | null;
129241
- };
129440
+ } | null | undefined;
129242
129441
  }[] | null | undefined;
129243
129442
  };
129244
129443
  workflowRule: {
@@ -129649,14 +129848,14 @@ export declare const mainChatMessageContract: {
129649
129848
  startedAt: string;
129650
129849
  endedAt: string | null;
129651
129850
  duration: number | null;
129652
- holdLabel: {
129851
+ holdLabel?: {
129653
129852
  id: string;
129654
129853
  name: string;
129655
129854
  position: number;
129656
129855
  createdAt: Date;
129657
129856
  updatedAt: Date;
129658
129857
  deletedAt: Date | null;
129659
- };
129858
+ } | null | undefined;
129660
129859
  }[] | null | undefined;
129661
129860
  };
129662
129861
  workflowRule: {
@@ -131840,14 +132039,14 @@ export declare const mainChatMessageContract: {
131840
132039
  startedAt: string;
131841
132040
  endedAt: string | null;
131842
132041
  duration: number | null;
131843
- holdLabel: {
132042
+ holdLabel?: {
131844
132043
  id: string;
131845
132044
  name: string;
131846
132045
  position: number;
131847
132046
  createdAt: Date;
131848
132047
  updatedAt: Date;
131849
132048
  deletedAt: Date | null;
131850
- };
132049
+ } | null | undefined;
131851
132050
  }[] | null | undefined;
131852
132051
  };
131853
132052
  workflowRule: {
@@ -132595,14 +132794,14 @@ export declare const mainChatMessageContract: {
132595
132794
  startedAt: string;
132596
132795
  endedAt: string | null;
132597
132796
  duration: number | null;
132598
- holdLabel: {
132797
+ holdLabel?: {
132599
132798
  id: string;
132600
132799
  name: string;
132601
132800
  position: number;
132602
132801
  createdAt: Date;
132603
132802
  updatedAt: Date;
132604
132803
  deletedAt: Date | null;
132605
- };
132804
+ } | null | undefined;
132606
132805
  }[] | null | undefined;
132607
132806
  };
132608
132807
  workflowRule: {
@@ -133352,14 +133551,14 @@ export declare const mainChatMessageContract: {
133352
133551
  startedAt: string;
133353
133552
  endedAt: string | null;
133354
133553
  duration: number | null;
133355
- holdLabel: {
133554
+ holdLabel?: {
133356
133555
  id: string;
133357
133556
  name: string;
133358
133557
  position: number;
133359
133558
  createdAt: Date;
133360
133559
  updatedAt: Date;
133361
133560
  deletedAt: Date | null;
133362
- };
133561
+ } | null | undefined;
133363
133562
  }[] | null | undefined;
133364
133563
  };
133365
133564
  workflowRule: {
@@ -134110,14 +134309,14 @@ export declare const mainChatMessageContract: {
134110
134309
  startedAt: string;
134111
134310
  endedAt: string | null;
134112
134311
  duration: number | null;
134113
- holdLabel: {
134312
+ holdLabel?: {
134114
134313
  id: string;
134115
134314
  name: string;
134116
134315
  position: number;
134117
134316
  createdAt: Date;
134118
134317
  updatedAt: Date;
134119
134318
  deletedAt: Date | null;
134120
- };
134319
+ } | null | undefined;
134121
134320
  }[] | null | undefined;
134122
134321
  };
134123
134322
  workflowRule: {