@kl1/contracts 1.2.30-uat → 1.2.31-uat

Sign up to get free protection for your applications and to get access to all the features.
@@ -10942,7 +10942,7 @@ export declare const mainFeedContract: {
10942
10942
  integrationId: string;
10943
10943
  } | null;
10944
10944
  }>;
10945
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10945
+ cxlog: z.ZodObject<{
10946
10946
  id: z.ZodString;
10947
10947
  createdAt: z.ZodDate;
10948
10948
  updatedAt: z.ZodDate;
@@ -11457,7 +11457,7 @@ export declare const mainFeedContract: {
11457
11457
  deletedAt: Date | null;
11458
11458
  } | null | undefined;
11459
11459
  }[] | null | undefined;
11460
- }>>>;
11460
+ }>;
11461
11461
  workflowRule: z.ZodObject<{
11462
11462
  id: z.ZodString;
11463
11463
  createdAt: z.ZodDate;
@@ -11806,16 +11806,7 @@ export declare const mainFeedContract: {
11806
11806
  closedAt: Date;
11807
11807
  lastMessageAt: Date | null;
11808
11808
  isBotRoom: boolean;
11809
- workflowRule: {
11810
- type: string;
11811
- id: string;
11812
- name: string;
11813
- createdAt: Date;
11814
- updatedAt: Date;
11815
- deletedAt: Date | null;
11816
- isActive: boolean;
11817
- };
11818
- cxlog?: {
11809
+ cxlog: {
11819
11810
  id: string;
11820
11811
  channel: string | null;
11821
11812
  direction: string | null;
@@ -11900,7 +11891,16 @@ export declare const mainFeedContract: {
11900
11891
  deletedAt: Date | null;
11901
11892
  } | null | undefined;
11902
11893
  }[] | null | undefined;
11903
- } | null | undefined;
11894
+ };
11895
+ workflowRule: {
11896
+ type: string;
11897
+ id: string;
11898
+ name: string;
11899
+ createdAt: Date;
11900
+ updatedAt: Date;
11901
+ deletedAt: Date | null;
11902
+ isActive: boolean;
11903
+ };
11904
11904
  automationQueueId?: string | null | undefined;
11905
11905
  }, {
11906
11906
  id: string;
@@ -12224,16 +12224,7 @@ export declare const mainFeedContract: {
12224
12224
  closedAt: Date;
12225
12225
  lastMessageAt: Date | null;
12226
12226
  isBotRoom: boolean;
12227
- workflowRule: {
12228
- type: string;
12229
- id: string;
12230
- name: string;
12231
- createdAt: Date;
12232
- updatedAt: Date;
12233
- deletedAt: Date | null;
12234
- isActive: boolean;
12235
- };
12236
- cxlog?: {
12227
+ cxlog: {
12237
12228
  id: string;
12238
12229
  channel: string | null;
12239
12230
  direction: string | null;
@@ -12318,7 +12309,16 @@ export declare const mainFeedContract: {
12318
12309
  deletedAt: Date | null;
12319
12310
  } | null | undefined;
12320
12311
  }[] | null | undefined;
12321
- } | null | undefined;
12312
+ };
12313
+ workflowRule: {
12314
+ type: string;
12315
+ id: string;
12316
+ name: string;
12317
+ createdAt: Date;
12318
+ updatedAt: Date;
12319
+ deletedAt: Date | null;
12320
+ isActive: boolean;
12321
+ };
12322
12322
  automationQueueId?: string | null | undefined;
12323
12323
  }>;
12324
12324
  platformMessageId: z.ZodString;
@@ -16603,7 +16603,7 @@ export declare const mainFeedContract: {
16603
16603
  integrationId: string;
16604
16604
  } | null;
16605
16605
  }>;
16606
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16606
+ cxlog: z.ZodObject<{
16607
16607
  id: z.ZodString;
16608
16608
  createdAt: z.ZodDate;
16609
16609
  updatedAt: z.ZodDate;
@@ -17118,7 +17118,7 @@ export declare const mainFeedContract: {
17118
17118
  deletedAt: Date | null;
17119
17119
  } | null | undefined;
17120
17120
  }[] | null | undefined;
17121
- }>>>;
17121
+ }>;
17122
17122
  workflowRule: z.ZodObject<{
17123
17123
  id: z.ZodString;
17124
17124
  createdAt: z.ZodDate;
@@ -17467,16 +17467,7 @@ export declare const mainFeedContract: {
17467
17467
  closedAt: Date;
17468
17468
  lastMessageAt: Date | null;
17469
17469
  isBotRoom: boolean;
17470
- workflowRule: {
17471
- type: string;
17472
- id: string;
17473
- name: string;
17474
- createdAt: Date;
17475
- updatedAt: Date;
17476
- deletedAt: Date | null;
17477
- isActive: boolean;
17478
- };
17479
- cxlog?: {
17470
+ cxlog: {
17480
17471
  id: string;
17481
17472
  channel: string | null;
17482
17473
  direction: string | null;
@@ -17561,7 +17552,16 @@ export declare const mainFeedContract: {
17561
17552
  deletedAt: Date | null;
17562
17553
  } | null | undefined;
17563
17554
  }[] | null | undefined;
17564
- } | null | undefined;
17555
+ };
17556
+ workflowRule: {
17557
+ type: string;
17558
+ id: string;
17559
+ name: string;
17560
+ createdAt: Date;
17561
+ updatedAt: Date;
17562
+ deletedAt: Date | null;
17563
+ isActive: boolean;
17564
+ };
17565
17565
  automationQueueId?: string | null | undefined;
17566
17566
  }, {
17567
17567
  id: string;
@@ -17885,16 +17885,7 @@ export declare const mainFeedContract: {
17885
17885
  closedAt: Date;
17886
17886
  lastMessageAt: Date | null;
17887
17887
  isBotRoom: boolean;
17888
- workflowRule: {
17889
- type: string;
17890
- id: string;
17891
- name: string;
17892
- createdAt: Date;
17893
- updatedAt: Date;
17894
- deletedAt: Date | null;
17895
- isActive: boolean;
17896
- };
17897
- cxlog?: {
17888
+ cxlog: {
17898
17889
  id: string;
17899
17890
  channel: string | null;
17900
17891
  direction: string | null;
@@ -17979,7 +17970,16 @@ export declare const mainFeedContract: {
17979
17970
  deletedAt: Date | null;
17980
17971
  } | null | undefined;
17981
17972
  }[] | null | undefined;
17982
- } | null | undefined;
17973
+ };
17974
+ workflowRule: {
17975
+ type: string;
17976
+ id: string;
17977
+ name: string;
17978
+ createdAt: Date;
17979
+ updatedAt: Date;
17980
+ deletedAt: Date | null;
17981
+ isActive: boolean;
17982
+ };
17983
17983
  automationQueueId?: string | null | undefined;
17984
17984
  }>;
17985
17985
  upload: z.ZodObject<{
@@ -20076,16 +20076,7 @@ export declare const mainFeedContract: {
20076
20076
  closedAt: Date;
20077
20077
  lastMessageAt: Date | null;
20078
20078
  isBotRoom: boolean;
20079
- workflowRule: {
20080
- type: string;
20081
- id: string;
20082
- name: string;
20083
- createdAt: Date;
20084
- updatedAt: Date;
20085
- deletedAt: Date | null;
20086
- isActive: boolean;
20087
- };
20088
- cxlog?: {
20079
+ cxlog: {
20089
20080
  id: string;
20090
20081
  channel: string | null;
20091
20082
  direction: string | null;
@@ -20170,7 +20161,16 @@ export declare const mainFeedContract: {
20170
20161
  deletedAt: Date | null;
20171
20162
  } | null | undefined;
20172
20163
  }[] | null | undefined;
20173
- } | null | undefined;
20164
+ };
20165
+ workflowRule: {
20166
+ type: string;
20167
+ id: string;
20168
+ name: string;
20169
+ createdAt: Date;
20170
+ updatedAt: Date;
20171
+ deletedAt: Date | null;
20172
+ isActive: boolean;
20173
+ };
20174
20174
  automationQueueId?: string | null | undefined;
20175
20175
  };
20176
20176
  platformMessageId: string;
@@ -20831,16 +20831,7 @@ export declare const mainFeedContract: {
20831
20831
  closedAt: Date;
20832
20832
  lastMessageAt: Date | null;
20833
20833
  isBotRoom: boolean;
20834
- workflowRule: {
20835
- type: string;
20836
- id: string;
20837
- name: string;
20838
- createdAt: Date;
20839
- updatedAt: Date;
20840
- deletedAt: Date | null;
20841
- isActive: boolean;
20842
- };
20843
- cxlog?: {
20834
+ cxlog: {
20844
20835
  id: string;
20845
20836
  channel: string | null;
20846
20837
  direction: string | null;
@@ -20925,7 +20916,16 @@ export declare const mainFeedContract: {
20925
20916
  deletedAt: Date | null;
20926
20917
  } | null | undefined;
20927
20918
  }[] | null | undefined;
20928
- } | null | undefined;
20919
+ };
20920
+ workflowRule: {
20921
+ type: string;
20922
+ id: string;
20923
+ name: string;
20924
+ createdAt: Date;
20925
+ updatedAt: Date;
20926
+ deletedAt: Date | null;
20927
+ isActive: boolean;
20928
+ };
20929
20929
  automationQueueId?: string | null | undefined;
20930
20930
  };
20931
20931
  platformMessageId: string;
@@ -21593,16 +21593,7 @@ export declare const mainFeedContract: {
21593
21593
  closedAt: Date;
21594
21594
  lastMessageAt: Date | null;
21595
21595
  isBotRoom: boolean;
21596
- workflowRule: {
21597
- type: string;
21598
- id: string;
21599
- name: string;
21600
- createdAt: Date;
21601
- updatedAt: Date;
21602
- deletedAt: Date | null;
21603
- isActive: boolean;
21604
- };
21605
- cxlog?: {
21596
+ cxlog: {
21606
21597
  id: string;
21607
21598
  channel: string | null;
21608
21599
  direction: string | null;
@@ -21687,7 +21678,16 @@ export declare const mainFeedContract: {
21687
21678
  deletedAt: Date | null;
21688
21679
  } | null | undefined;
21689
21680
  }[] | null | undefined;
21690
- } | null | undefined;
21681
+ };
21682
+ workflowRule: {
21683
+ type: string;
21684
+ id: string;
21685
+ name: string;
21686
+ createdAt: Date;
21687
+ updatedAt: Date;
21688
+ deletedAt: Date | null;
21689
+ isActive: boolean;
21690
+ };
21691
21691
  automationQueueId?: string | null | undefined;
21692
21692
  };
21693
21693
  platformMessageId: string;
@@ -22343,16 +22343,7 @@ export declare const mainFeedContract: {
22343
22343
  closedAt: Date;
22344
22344
  lastMessageAt: Date | null;
22345
22345
  isBotRoom: boolean;
22346
- workflowRule: {
22347
- type: string;
22348
- id: string;
22349
- name: string;
22350
- createdAt: Date;
22351
- updatedAt: Date;
22352
- deletedAt: Date | null;
22353
- isActive: boolean;
22354
- };
22355
- cxlog?: {
22346
+ cxlog: {
22356
22347
  id: string;
22357
22348
  channel: string | null;
22358
22349
  direction: string | null;
@@ -22437,7 +22428,16 @@ export declare const mainFeedContract: {
22437
22428
  deletedAt: Date | null;
22438
22429
  } | null | undefined;
22439
22430
  }[] | null | undefined;
22440
- } | null | undefined;
22431
+ };
22432
+ workflowRule: {
22433
+ type: string;
22434
+ id: string;
22435
+ name: string;
22436
+ createdAt: Date;
22437
+ updatedAt: Date;
22438
+ deletedAt: Date | null;
22439
+ isActive: boolean;
22440
+ };
22441
22441
  automationQueueId?: string | null | undefined;
22442
22442
  };
22443
22443
  platformMessageId: string;
@@ -23231,16 +23231,7 @@ export declare const mainFeedContract: {
23231
23231
  closedAt: Date;
23232
23232
  lastMessageAt: Date | null;
23233
23233
  isBotRoom: boolean;
23234
- workflowRule: {
23235
- type: string;
23236
- id: string;
23237
- name: string;
23238
- createdAt: Date;
23239
- updatedAt: Date;
23240
- deletedAt: Date | null;
23241
- isActive: boolean;
23242
- };
23243
- cxlog?: {
23234
+ cxlog: {
23244
23235
  id: string;
23245
23236
  channel: string | null;
23246
23237
  direction: string | null;
@@ -23325,7 +23316,16 @@ export declare const mainFeedContract: {
23325
23316
  deletedAt: Date | null;
23326
23317
  } | null | undefined;
23327
23318
  }[] | null | undefined;
23328
- } | null | undefined;
23319
+ };
23320
+ workflowRule: {
23321
+ type: string;
23322
+ id: string;
23323
+ name: string;
23324
+ createdAt: Date;
23325
+ updatedAt: Date;
23326
+ deletedAt: Date | null;
23327
+ isActive: boolean;
23328
+ };
23329
23329
  automationQueueId?: string | null | undefined;
23330
23330
  };
23331
23331
  platformMessageId: string;
@@ -23981,16 +23981,7 @@ export declare const mainFeedContract: {
23981
23981
  closedAt: Date;
23982
23982
  lastMessageAt: Date | null;
23983
23983
  isBotRoom: boolean;
23984
- workflowRule: {
23985
- type: string;
23986
- id: string;
23987
- name: string;
23988
- createdAt: Date;
23989
- updatedAt: Date;
23990
- deletedAt: Date | null;
23991
- isActive: boolean;
23992
- };
23993
- cxlog?: {
23984
+ cxlog: {
23994
23985
  id: string;
23995
23986
  channel: string | null;
23996
23987
  direction: string | null;
@@ -24075,7 +24066,16 @@ export declare const mainFeedContract: {
24075
24066
  deletedAt: Date | null;
24076
24067
  } | null | undefined;
24077
24068
  }[] | null | undefined;
24078
- } | null | undefined;
24069
+ };
24070
+ workflowRule: {
24071
+ type: string;
24072
+ id: string;
24073
+ name: string;
24074
+ createdAt: Date;
24075
+ updatedAt: Date;
24076
+ deletedAt: Date | null;
24077
+ isActive: boolean;
24078
+ };
24079
24079
  automationQueueId?: string | null | undefined;
24080
24080
  };
24081
24081
  platformMessageId: string;
@@ -24871,16 +24871,7 @@ export declare const mainFeedContract: {
24871
24871
  closedAt: Date;
24872
24872
  lastMessageAt: Date | null;
24873
24873
  isBotRoom: boolean;
24874
- workflowRule: {
24875
- type: string;
24876
- id: string;
24877
- name: string;
24878
- createdAt: Date;
24879
- updatedAt: Date;
24880
- deletedAt: Date | null;
24881
- isActive: boolean;
24882
- };
24883
- cxlog?: {
24874
+ cxlog: {
24884
24875
  id: string;
24885
24876
  channel: string | null;
24886
24877
  direction: string | null;
@@ -24965,7 +24956,16 @@ export declare const mainFeedContract: {
24965
24956
  deletedAt: Date | null;
24966
24957
  } | null | undefined;
24967
24958
  }[] | null | undefined;
24968
- } | null | undefined;
24959
+ };
24960
+ workflowRule: {
24961
+ type: string;
24962
+ id: string;
24963
+ name: string;
24964
+ createdAt: Date;
24965
+ updatedAt: Date;
24966
+ deletedAt: Date | null;
24967
+ isActive: boolean;
24968
+ };
24969
24969
  automationQueueId?: string | null | undefined;
24970
24970
  };
24971
24971
  platformMessageId: string;
@@ -25621,16 +25621,7 @@ export declare const mainFeedContract: {
25621
25621
  closedAt: Date;
25622
25622
  lastMessageAt: Date | null;
25623
25623
  isBotRoom: boolean;
25624
- workflowRule: {
25625
- type: string;
25626
- id: string;
25627
- name: string;
25628
- createdAt: Date;
25629
- updatedAt: Date;
25630
- deletedAt: Date | null;
25631
- isActive: boolean;
25632
- };
25633
- cxlog?: {
25624
+ cxlog: {
25634
25625
  id: string;
25635
25626
  channel: string | null;
25636
25627
  direction: string | null;
@@ -25715,7 +25706,16 @@ export declare const mainFeedContract: {
25715
25706
  deletedAt: Date | null;
25716
25707
  } | null | undefined;
25717
25708
  }[] | null | undefined;
25718
- } | null | undefined;
25709
+ };
25710
+ workflowRule: {
25711
+ type: string;
25712
+ id: string;
25713
+ name: string;
25714
+ createdAt: Date;
25715
+ updatedAt: Date;
25716
+ deletedAt: Date | null;
25717
+ isActive: boolean;
25718
+ };
25719
25719
  automationQueueId?: string | null | undefined;
25720
25720
  };
25721
25721
  platformMessageId: string;
@@ -26515,16 +26515,7 @@ export declare const mainFeedContract: {
26515
26515
  closedAt: Date;
26516
26516
  lastMessageAt: Date | null;
26517
26517
  isBotRoom: boolean;
26518
- workflowRule: {
26519
- type: string;
26520
- id: string;
26521
- name: string;
26522
- createdAt: Date;
26523
- updatedAt: Date;
26524
- deletedAt: Date | null;
26525
- isActive: boolean;
26526
- };
26527
- cxlog?: {
26518
+ cxlog: {
26528
26519
  id: string;
26529
26520
  channel: string | null;
26530
26521
  direction: string | null;
@@ -26609,7 +26600,16 @@ export declare const mainFeedContract: {
26609
26600
  deletedAt: Date | null;
26610
26601
  } | null | undefined;
26611
26602
  }[] | null | undefined;
26612
- } | null | undefined;
26603
+ };
26604
+ workflowRule: {
26605
+ type: string;
26606
+ id: string;
26607
+ name: string;
26608
+ createdAt: Date;
26609
+ updatedAt: Date;
26610
+ deletedAt: Date | null;
26611
+ isActive: boolean;
26612
+ };
26613
26613
  automationQueueId?: string | null | undefined;
26614
26614
  };
26615
26615
  platformMessageId: string;
@@ -27265,16 +27265,7 @@ export declare const mainFeedContract: {
27265
27265
  closedAt: Date;
27266
27266
  lastMessageAt: Date | null;
27267
27267
  isBotRoom: boolean;
27268
- workflowRule: {
27269
- type: string;
27270
- id: string;
27271
- name: string;
27272
- createdAt: Date;
27273
- updatedAt: Date;
27274
- deletedAt: Date | null;
27275
- isActive: boolean;
27276
- };
27277
- cxlog?: {
27268
+ cxlog: {
27278
27269
  id: string;
27279
27270
  channel: string | null;
27280
27271
  direction: string | null;
@@ -27359,7 +27350,16 @@ export declare const mainFeedContract: {
27359
27350
  deletedAt: Date | null;
27360
27351
  } | null | undefined;
27361
27352
  }[] | null | undefined;
27362
- } | null | undefined;
27353
+ };
27354
+ workflowRule: {
27355
+ type: string;
27356
+ id: string;
27357
+ name: string;
27358
+ createdAt: Date;
27359
+ updatedAt: Date;
27360
+ deletedAt: Date | null;
27361
+ isActive: boolean;
27362
+ };
27363
27363
  automationQueueId?: string | null | undefined;
27364
27364
  };
27365
27365
  platformMessageId: string;
@@ -29877,7 +29877,7 @@ export declare const mainChatRoomContract: {
29877
29877
  integrationId: string;
29878
29878
  } | null;
29879
29879
  }>;
29880
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29880
+ cxlog: z.ZodObject<{
29881
29881
  id: z.ZodString;
29882
29882
  createdAt: z.ZodDate;
29883
29883
  updatedAt: z.ZodDate;
@@ -30392,7 +30392,7 @@ export declare const mainChatRoomContract: {
30392
30392
  deletedAt: Date | null;
30393
30393
  } | null | undefined;
30394
30394
  }[] | null | undefined;
30395
- }>>>;
30395
+ }>;
30396
30396
  workflowRule: z.ZodObject<{
30397
30397
  id: z.ZodString;
30398
30398
  createdAt: z.ZodDate;
@@ -30741,16 +30741,7 @@ export declare const mainChatRoomContract: {
30741
30741
  closedAt: Date;
30742
30742
  lastMessageAt: Date | null;
30743
30743
  isBotRoom: boolean;
30744
- workflowRule: {
30745
- type: string;
30746
- id: string;
30747
- name: string;
30748
- createdAt: Date;
30749
- updatedAt: Date;
30750
- deletedAt: Date | null;
30751
- isActive: boolean;
30752
- };
30753
- cxlog?: {
30744
+ cxlog: {
30754
30745
  id: string;
30755
30746
  channel: string | null;
30756
30747
  direction: string | null;
@@ -30835,7 +30826,16 @@ export declare const mainChatRoomContract: {
30835
30826
  deletedAt: Date | null;
30836
30827
  } | null | undefined;
30837
30828
  }[] | null | undefined;
30838
- } | null | undefined;
30829
+ };
30830
+ workflowRule: {
30831
+ type: string;
30832
+ id: string;
30833
+ name: string;
30834
+ createdAt: Date;
30835
+ updatedAt: Date;
30836
+ deletedAt: Date | null;
30837
+ isActive: boolean;
30838
+ };
30839
30839
  automationQueueId?: string | null | undefined;
30840
30840
  }, {
30841
30841
  id: string;
@@ -31159,16 +31159,7 @@ export declare const mainChatRoomContract: {
31159
31159
  closedAt: Date;
31160
31160
  lastMessageAt: Date | null;
31161
31161
  isBotRoom: boolean;
31162
- workflowRule: {
31163
- type: string;
31164
- id: string;
31165
- name: string;
31166
- createdAt: Date;
31167
- updatedAt: Date;
31168
- deletedAt: Date | null;
31169
- isActive: boolean;
31170
- };
31171
- cxlog?: {
31162
+ cxlog: {
31172
31163
  id: string;
31173
31164
  channel: string | null;
31174
31165
  direction: string | null;
@@ -31253,7 +31244,16 @@ export declare const mainChatRoomContract: {
31253
31244
  deletedAt: Date | null;
31254
31245
  } | null | undefined;
31255
31246
  }[] | null | undefined;
31256
- } | null | undefined;
31247
+ };
31248
+ workflowRule: {
31249
+ type: string;
31250
+ id: string;
31251
+ name: string;
31252
+ createdAt: Date;
31253
+ updatedAt: Date;
31254
+ deletedAt: Date | null;
31255
+ isActive: boolean;
31256
+ };
31257
31257
  automationQueueId?: string | null | undefined;
31258
31258
  }>, "many">;
31259
31259
  unreadCountsByAssignee: z.ZodArray<z.ZodObject<{
@@ -31589,16 +31589,7 @@ export declare const mainChatRoomContract: {
31589
31589
  closedAt: Date;
31590
31590
  lastMessageAt: Date | null;
31591
31591
  isBotRoom: boolean;
31592
- workflowRule: {
31593
- type: string;
31594
- id: string;
31595
- name: string;
31596
- createdAt: Date;
31597
- updatedAt: Date;
31598
- deletedAt: Date | null;
31599
- isActive: boolean;
31600
- };
31601
- cxlog?: {
31592
+ cxlog: {
31602
31593
  id: string;
31603
31594
  channel: string | null;
31604
31595
  direction: string | null;
@@ -31683,7 +31674,16 @@ export declare const mainChatRoomContract: {
31683
31674
  deletedAt: Date | null;
31684
31675
  } | null | undefined;
31685
31676
  }[] | null | undefined;
31686
- } | null | undefined;
31677
+ };
31678
+ workflowRule: {
31679
+ type: string;
31680
+ id: string;
31681
+ name: string;
31682
+ createdAt: Date;
31683
+ updatedAt: Date;
31684
+ deletedAt: Date | null;
31685
+ isActive: boolean;
31686
+ };
31687
31687
  automationQueueId?: string | null | undefined;
31688
31688
  }[];
31689
31689
  total: number;
@@ -32017,16 +32017,7 @@ export declare const mainChatRoomContract: {
32017
32017
  closedAt: Date;
32018
32018
  lastMessageAt: Date | null;
32019
32019
  isBotRoom: boolean;
32020
- workflowRule: {
32021
- type: string;
32022
- id: string;
32023
- name: string;
32024
- createdAt: Date;
32025
- updatedAt: Date;
32026
- deletedAt: Date | null;
32027
- isActive: boolean;
32028
- };
32029
- cxlog?: {
32020
+ cxlog: {
32030
32021
  id: string;
32031
32022
  channel: string | null;
32032
32023
  direction: string | null;
@@ -32111,7 +32102,16 @@ export declare const mainChatRoomContract: {
32111
32102
  deletedAt: Date | null;
32112
32103
  } | null | undefined;
32113
32104
  }[] | null | undefined;
32114
- } | null | undefined;
32105
+ };
32106
+ workflowRule: {
32107
+ type: string;
32108
+ id: string;
32109
+ name: string;
32110
+ createdAt: Date;
32111
+ updatedAt: Date;
32112
+ deletedAt: Date | null;
32113
+ isActive: boolean;
32114
+ };
32115
32115
  automationQueueId?: string | null | undefined;
32116
32116
  }[];
32117
32117
  total: number;
@@ -34158,7 +34158,7 @@ export declare const mainChatRoomContract: {
34158
34158
  integrationId: string;
34159
34159
  } | null;
34160
34160
  }>;
34161
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34161
+ cxlog: z.ZodObject<{
34162
34162
  id: z.ZodString;
34163
34163
  createdAt: z.ZodDate;
34164
34164
  updatedAt: z.ZodDate;
@@ -34673,7 +34673,7 @@ export declare const mainChatRoomContract: {
34673
34673
  deletedAt: Date | null;
34674
34674
  } | null | undefined;
34675
34675
  }[] | null | undefined;
34676
- }>>>;
34676
+ }>;
34677
34677
  workflowRule: z.ZodObject<{
34678
34678
  id: z.ZodString;
34679
34679
  createdAt: z.ZodDate;
@@ -35022,16 +35022,7 @@ export declare const mainChatRoomContract: {
35022
35022
  closedAt: Date;
35023
35023
  lastMessageAt: Date | null;
35024
35024
  isBotRoom: boolean;
35025
- workflowRule: {
35026
- type: string;
35027
- id: string;
35028
- name: string;
35029
- createdAt: Date;
35030
- updatedAt: Date;
35031
- deletedAt: Date | null;
35032
- isActive: boolean;
35033
- };
35034
- cxlog?: {
35025
+ cxlog: {
35035
35026
  id: string;
35036
35027
  channel: string | null;
35037
35028
  direction: string | null;
@@ -35116,7 +35107,16 @@ export declare const mainChatRoomContract: {
35116
35107
  deletedAt: Date | null;
35117
35108
  } | null | undefined;
35118
35109
  }[] | null | undefined;
35119
- } | null | undefined;
35110
+ };
35111
+ workflowRule: {
35112
+ type: string;
35113
+ id: string;
35114
+ name: string;
35115
+ createdAt: Date;
35116
+ updatedAt: Date;
35117
+ deletedAt: Date | null;
35118
+ isActive: boolean;
35119
+ };
35120
35120
  automationQueueId?: string | null | undefined;
35121
35121
  }, {
35122
35122
  id: string;
@@ -35440,16 +35440,7 @@ export declare const mainChatRoomContract: {
35440
35440
  closedAt: Date;
35441
35441
  lastMessageAt: Date | null;
35442
35442
  isBotRoom: boolean;
35443
- workflowRule: {
35444
- type: string;
35445
- id: string;
35446
- name: string;
35447
- createdAt: Date;
35448
- updatedAt: Date;
35449
- deletedAt: Date | null;
35450
- isActive: boolean;
35451
- };
35452
- cxlog?: {
35443
+ cxlog: {
35453
35444
  id: string;
35454
35445
  channel: string | null;
35455
35446
  direction: string | null;
@@ -35534,7 +35525,16 @@ export declare const mainChatRoomContract: {
35534
35525
  deletedAt: Date | null;
35535
35526
  } | null | undefined;
35536
35527
  }[] | null | undefined;
35537
- } | null | undefined;
35528
+ };
35529
+ workflowRule: {
35530
+ type: string;
35531
+ id: string;
35532
+ name: string;
35533
+ createdAt: Date;
35534
+ updatedAt: Date;
35535
+ deletedAt: Date | null;
35536
+ isActive: boolean;
35537
+ };
35538
35538
  automationQueueId?: string | null | undefined;
35539
35539
  }>;
35540
35540
  latestIncomingMessage: z.ZodObject<{
@@ -35946,16 +35946,7 @@ export declare const mainChatRoomContract: {
35946
35946
  closedAt: Date;
35947
35947
  lastMessageAt: Date | null;
35948
35948
  isBotRoom: boolean;
35949
- workflowRule: {
35950
- type: string;
35951
- id: string;
35952
- name: string;
35953
- createdAt: Date;
35954
- updatedAt: Date;
35955
- deletedAt: Date | null;
35956
- isActive: boolean;
35957
- };
35958
- cxlog?: {
35949
+ cxlog: {
35959
35950
  id: string;
35960
35951
  channel: string | null;
35961
35952
  direction: string | null;
@@ -36040,7 +36031,16 @@ export declare const mainChatRoomContract: {
36040
36031
  deletedAt: Date | null;
36041
36032
  } | null | undefined;
36042
36033
  }[] | null | undefined;
36043
- } | null | undefined;
36034
+ };
36035
+ workflowRule: {
36036
+ type: string;
36037
+ id: string;
36038
+ name: string;
36039
+ createdAt: Date;
36040
+ updatedAt: Date;
36041
+ deletedAt: Date | null;
36042
+ isActive: boolean;
36043
+ };
36044
36044
  automationQueueId?: string | null | undefined;
36045
36045
  };
36046
36046
  latestIncomingMessage: {
@@ -36396,16 +36396,7 @@ export declare const mainChatRoomContract: {
36396
36396
  closedAt: Date;
36397
36397
  lastMessageAt: Date | null;
36398
36398
  isBotRoom: boolean;
36399
- workflowRule: {
36400
- type: string;
36401
- id: string;
36402
- name: string;
36403
- createdAt: Date;
36404
- updatedAt: Date;
36405
- deletedAt: Date | null;
36406
- isActive: boolean;
36407
- };
36408
- cxlog?: {
36399
+ cxlog: {
36409
36400
  id: string;
36410
36401
  channel: string | null;
36411
36402
  direction: string | null;
@@ -36490,7 +36481,16 @@ export declare const mainChatRoomContract: {
36490
36481
  deletedAt: Date | null;
36491
36482
  } | null | undefined;
36492
36483
  }[] | null | undefined;
36493
- } | null | undefined;
36484
+ };
36485
+ workflowRule: {
36486
+ type: string;
36487
+ id: string;
36488
+ name: string;
36489
+ createdAt: Date;
36490
+ updatedAt: Date;
36491
+ deletedAt: Date | null;
36492
+ isActive: boolean;
36493
+ };
36494
36494
  automationQueueId?: string | null | undefined;
36495
36495
  };
36496
36496
  latestIncomingMessage: {
@@ -36848,16 +36848,7 @@ export declare const mainChatRoomContract: {
36848
36848
  closedAt: Date;
36849
36849
  lastMessageAt: Date | null;
36850
36850
  isBotRoom: boolean;
36851
- workflowRule: {
36852
- type: string;
36853
- id: string;
36854
- name: string;
36855
- createdAt: Date;
36856
- updatedAt: Date;
36857
- deletedAt: Date | null;
36858
- isActive: boolean;
36859
- };
36860
- cxlog?: {
36851
+ cxlog: {
36861
36852
  id: string;
36862
36853
  channel: string | null;
36863
36854
  direction: string | null;
@@ -36942,7 +36933,16 @@ export declare const mainChatRoomContract: {
36942
36933
  deletedAt: Date | null;
36943
36934
  } | null | undefined;
36944
36935
  }[] | null | undefined;
36945
- } | null | undefined;
36936
+ };
36937
+ workflowRule: {
36938
+ type: string;
36939
+ id: string;
36940
+ name: string;
36941
+ createdAt: Date;
36942
+ updatedAt: Date;
36943
+ deletedAt: Date | null;
36944
+ isActive: boolean;
36945
+ };
36946
36946
  automationQueueId?: string | null | undefined;
36947
36947
  };
36948
36948
  latestIncomingMessage: {
@@ -37301,16 +37301,7 @@ export declare const mainChatRoomContract: {
37301
37301
  closedAt: Date;
37302
37302
  lastMessageAt: Date | null;
37303
37303
  isBotRoom: boolean;
37304
- workflowRule: {
37305
- type: string;
37306
- id: string;
37307
- name: string;
37308
- createdAt: Date;
37309
- updatedAt: Date;
37310
- deletedAt: Date | null;
37311
- isActive: boolean;
37312
- };
37313
- cxlog?: {
37304
+ cxlog: {
37314
37305
  id: string;
37315
37306
  channel: string | null;
37316
37307
  direction: string | null;
@@ -37395,7 +37386,16 @@ export declare const mainChatRoomContract: {
37395
37386
  deletedAt: Date | null;
37396
37387
  } | null | undefined;
37397
37388
  }[] | null | undefined;
37398
- } | null | undefined;
37389
+ };
37390
+ workflowRule: {
37391
+ type: string;
37392
+ id: string;
37393
+ name: string;
37394
+ createdAt: Date;
37395
+ updatedAt: Date;
37396
+ deletedAt: Date | null;
37397
+ isActive: boolean;
37398
+ };
37399
37399
  automationQueueId?: string | null | undefined;
37400
37400
  };
37401
37401
  latestIncomingMessage: {
@@ -39468,7 +39468,7 @@ export declare const mainChatRoomContract: {
39468
39468
  closedAt: z.ZodDate;
39469
39469
  lastMessageAt: z.ZodNullable<z.ZodDate>;
39470
39470
  isBotRoom: z.ZodBoolean;
39471
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
39471
+ cxlog: z.ZodObject<{
39472
39472
  id: z.ZodString;
39473
39473
  createdAt: z.ZodDate;
39474
39474
  updatedAt: z.ZodDate;
@@ -39983,7 +39983,7 @@ export declare const mainChatRoomContract: {
39983
39983
  deletedAt: Date | null;
39984
39984
  } | null | undefined;
39985
39985
  }[] | null | undefined;
39986
- }>>>;
39986
+ }>;
39987
39987
  workflowRule: z.ZodObject<{
39988
39988
  id: z.ZodString;
39989
39989
  createdAt: z.ZodDate;
@@ -40333,17 +40333,7 @@ export declare const mainChatRoomContract: {
40333
40333
  closedAt: Date;
40334
40334
  lastMessageAt: Date | null;
40335
40335
  isBotRoom: boolean;
40336
- workflowRule: {
40337
- type: string;
40338
- id: string;
40339
- name: string;
40340
- createdAt: Date;
40341
- updatedAt: Date;
40342
- deletedAt: Date | null;
40343
- isActive: boolean;
40344
- };
40345
- solveMessage: string;
40346
- cxlog?: {
40336
+ cxlog: {
40347
40337
  id: string;
40348
40338
  channel: string | null;
40349
40339
  direction: string | null;
@@ -40428,7 +40418,17 @@ export declare const mainChatRoomContract: {
40428
40418
  deletedAt: Date | null;
40429
40419
  } | null | undefined;
40430
40420
  }[] | null | undefined;
40431
- } | null | undefined;
40421
+ };
40422
+ workflowRule: {
40423
+ type: string;
40424
+ id: string;
40425
+ name: string;
40426
+ createdAt: Date;
40427
+ updatedAt: Date;
40428
+ deletedAt: Date | null;
40429
+ isActive: boolean;
40430
+ };
40431
+ solveMessage: string;
40432
40432
  automationQueueId?: string | null | undefined;
40433
40433
  }, {
40434
40434
  id: string;
@@ -40752,17 +40752,7 @@ export declare const mainChatRoomContract: {
40752
40752
  closedAt: Date;
40753
40753
  lastMessageAt: Date | null;
40754
40754
  isBotRoom: boolean;
40755
- workflowRule: {
40756
- type: string;
40757
- id: string;
40758
- name: string;
40759
- createdAt: Date;
40760
- updatedAt: Date;
40761
- deletedAt: Date | null;
40762
- isActive: boolean;
40763
- };
40764
- solveMessage: string;
40765
- cxlog?: {
40755
+ cxlog: {
40766
40756
  id: string;
40767
40757
  channel: string | null;
40768
40758
  direction: string | null;
@@ -40847,7 +40837,17 @@ export declare const mainChatRoomContract: {
40847
40837
  deletedAt: Date | null;
40848
40838
  } | null | undefined;
40849
40839
  }[] | null | undefined;
40850
- } | null | undefined;
40840
+ };
40841
+ workflowRule: {
40842
+ type: string;
40843
+ id: string;
40844
+ name: string;
40845
+ createdAt: Date;
40846
+ updatedAt: Date;
40847
+ deletedAt: Date | null;
40848
+ isActive: boolean;
40849
+ };
40850
+ solveMessage: string;
40851
40851
  automationQueueId?: string | null | undefined;
40852
40852
  }>;
40853
40853
  }, "strip", z.ZodTypeAny, {
@@ -41173,17 +41173,7 @@ export declare const mainChatRoomContract: {
41173
41173
  closedAt: Date;
41174
41174
  lastMessageAt: Date | null;
41175
41175
  isBotRoom: boolean;
41176
- workflowRule: {
41177
- type: string;
41178
- id: string;
41179
- name: string;
41180
- createdAt: Date;
41181
- updatedAt: Date;
41182
- deletedAt: Date | null;
41183
- isActive: boolean;
41184
- };
41185
- solveMessage: string;
41186
- cxlog?: {
41176
+ cxlog: {
41187
41177
  id: string;
41188
41178
  channel: string | null;
41189
41179
  direction: string | null;
@@ -41268,7 +41258,17 @@ export declare const mainChatRoomContract: {
41268
41258
  deletedAt: Date | null;
41269
41259
  } | null | undefined;
41270
41260
  }[] | null | undefined;
41271
- } | null | undefined;
41261
+ };
41262
+ workflowRule: {
41263
+ type: string;
41264
+ id: string;
41265
+ name: string;
41266
+ createdAt: Date;
41267
+ updatedAt: Date;
41268
+ deletedAt: Date | null;
41269
+ isActive: boolean;
41270
+ };
41271
+ solveMessage: string;
41272
41272
  automationQueueId?: string | null | undefined;
41273
41273
  };
41274
41274
  requestId: string;
@@ -41595,17 +41595,7 @@ export declare const mainChatRoomContract: {
41595
41595
  closedAt: Date;
41596
41596
  lastMessageAt: Date | null;
41597
41597
  isBotRoom: boolean;
41598
- workflowRule: {
41599
- type: string;
41600
- id: string;
41601
- name: string;
41602
- createdAt: Date;
41603
- updatedAt: Date;
41604
- deletedAt: Date | null;
41605
- isActive: boolean;
41606
- };
41607
- solveMessage: string;
41608
- cxlog?: {
41598
+ cxlog: {
41609
41599
  id: string;
41610
41600
  channel: string | null;
41611
41601
  direction: string | null;
@@ -41690,7 +41680,17 @@ export declare const mainChatRoomContract: {
41690
41680
  deletedAt: Date | null;
41691
41681
  } | null | undefined;
41692
41682
  }[] | null | undefined;
41693
- } | null | undefined;
41683
+ };
41684
+ workflowRule: {
41685
+ type: string;
41686
+ id: string;
41687
+ name: string;
41688
+ createdAt: Date;
41689
+ updatedAt: Date;
41690
+ deletedAt: Date | null;
41691
+ isActive: boolean;
41692
+ };
41693
+ solveMessage: string;
41694
41694
  automationQueueId?: string | null | undefined;
41695
41695
  };
41696
41696
  requestId: string;
@@ -43730,7 +43730,7 @@ export declare const mainChatRoomContract: {
43730
43730
  closedAt: z.ZodDate;
43731
43731
  lastMessageAt: z.ZodNullable<z.ZodDate>;
43732
43732
  isBotRoom: z.ZodBoolean;
43733
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43733
+ cxlog: z.ZodObject<{
43734
43734
  id: z.ZodString;
43735
43735
  createdAt: z.ZodDate;
43736
43736
  updatedAt: z.ZodDate;
@@ -44245,7 +44245,7 @@ export declare const mainChatRoomContract: {
44245
44245
  deletedAt: Date | null;
44246
44246
  } | null | undefined;
44247
44247
  }[] | null | undefined;
44248
- }>>>;
44248
+ }>;
44249
44249
  workflowRule: z.ZodObject<{
44250
44250
  id: z.ZodString;
44251
44251
  createdAt: z.ZodDate;
@@ -45477,17 +45477,7 @@ export declare const mainChatRoomContract: {
45477
45477
  closedAt: Date;
45478
45478
  lastMessageAt: Date | null;
45479
45479
  isBotRoom: boolean;
45480
- workflowRule: {
45481
- type: string;
45482
- id: string;
45483
- name: string;
45484
- createdAt: Date;
45485
- updatedAt: Date;
45486
- deletedAt: Date | null;
45487
- isActive: boolean;
45488
- };
45489
- openMessage: string;
45490
- cxlog?: {
45480
+ cxlog: {
45491
45481
  id: string;
45492
45482
  channel: string | null;
45493
45483
  direction: string | null;
@@ -45572,7 +45562,17 @@ export declare const mainChatRoomContract: {
45572
45562
  deletedAt: Date | null;
45573
45563
  } | null | undefined;
45574
45564
  }[] | null | undefined;
45575
- } | null | undefined;
45565
+ };
45566
+ workflowRule: {
45567
+ type: string;
45568
+ id: string;
45569
+ name: string;
45570
+ createdAt: Date;
45571
+ updatedAt: Date;
45572
+ deletedAt: Date | null;
45573
+ isActive: boolean;
45574
+ };
45575
+ openMessage: string;
45576
45576
  automationQueueId?: string | null | undefined;
45577
45577
  }, {
45578
45578
  id: string;
@@ -46008,17 +46008,7 @@ export declare const mainChatRoomContract: {
46008
46008
  closedAt: Date;
46009
46009
  lastMessageAt: Date | null;
46010
46010
  isBotRoom: boolean;
46011
- workflowRule: {
46012
- type: string;
46013
- id: string;
46014
- name: string;
46015
- createdAt: Date;
46016
- updatedAt: Date;
46017
- deletedAt: Date | null;
46018
- isActive: boolean;
46019
- };
46020
- openMessage: string;
46021
- cxlog?: {
46011
+ cxlog: {
46022
46012
  id: string;
46023
46013
  channel: string | null;
46024
46014
  direction: string | null;
@@ -46103,7 +46093,17 @@ export declare const mainChatRoomContract: {
46103
46093
  deletedAt: Date | null;
46104
46094
  } | null | undefined;
46105
46095
  }[] | null | undefined;
46106
- } | null | undefined;
46096
+ };
46097
+ workflowRule: {
46098
+ type: string;
46099
+ id: string;
46100
+ name: string;
46101
+ createdAt: Date;
46102
+ updatedAt: Date;
46103
+ deletedAt: Date | null;
46104
+ isActive: boolean;
46105
+ };
46106
+ openMessage: string;
46107
46107
  automationQueueId?: string | null | undefined;
46108
46108
  }>;
46109
46109
  }, "strip", z.ZodTypeAny, {
@@ -46541,17 +46541,7 @@ export declare const mainChatRoomContract: {
46541
46541
  closedAt: Date;
46542
46542
  lastMessageAt: Date | null;
46543
46543
  isBotRoom: boolean;
46544
- workflowRule: {
46545
- type: string;
46546
- id: string;
46547
- name: string;
46548
- createdAt: Date;
46549
- updatedAt: Date;
46550
- deletedAt: Date | null;
46551
- isActive: boolean;
46552
- };
46553
- openMessage: string;
46554
- cxlog?: {
46544
+ cxlog: {
46555
46545
  id: string;
46556
46546
  channel: string | null;
46557
46547
  direction: string | null;
@@ -46636,7 +46626,17 @@ export declare const mainChatRoomContract: {
46636
46626
  deletedAt: Date | null;
46637
46627
  } | null | undefined;
46638
46628
  }[] | null | undefined;
46639
- } | null | undefined;
46629
+ };
46630
+ workflowRule: {
46631
+ type: string;
46632
+ id: string;
46633
+ name: string;
46634
+ createdAt: Date;
46635
+ updatedAt: Date;
46636
+ deletedAt: Date | null;
46637
+ isActive: boolean;
46638
+ };
46639
+ openMessage: string;
46640
46640
  automationQueueId?: string | null | undefined;
46641
46641
  };
46642
46642
  requestId: string;
@@ -47075,17 +47075,7 @@ export declare const mainChatRoomContract: {
47075
47075
  closedAt: Date;
47076
47076
  lastMessageAt: Date | null;
47077
47077
  isBotRoom: boolean;
47078
- workflowRule: {
47079
- type: string;
47080
- id: string;
47081
- name: string;
47082
- createdAt: Date;
47083
- updatedAt: Date;
47084
- deletedAt: Date | null;
47085
- isActive: boolean;
47086
- };
47087
- openMessage: string;
47088
- cxlog?: {
47078
+ cxlog: {
47089
47079
  id: string;
47090
47080
  channel: string | null;
47091
47081
  direction: string | null;
@@ -47170,7 +47160,17 @@ export declare const mainChatRoomContract: {
47170
47160
  deletedAt: Date | null;
47171
47161
  } | null | undefined;
47172
47162
  }[] | null | undefined;
47173
- } | null | undefined;
47163
+ };
47164
+ workflowRule: {
47165
+ type: string;
47166
+ id: string;
47167
+ name: string;
47168
+ createdAt: Date;
47169
+ updatedAt: Date;
47170
+ deletedAt: Date | null;
47171
+ isActive: boolean;
47172
+ };
47173
+ openMessage: string;
47174
47174
  automationQueueId?: string | null | undefined;
47175
47175
  };
47176
47176
  requestId: string;
@@ -49200,7 +49200,7 @@ export declare const mainChatRoomContract: {
49200
49200
  closedAt: z.ZodDate;
49201
49201
  lastMessageAt: z.ZodNullable<z.ZodDate>;
49202
49202
  isBotRoom: z.ZodBoolean;
49203
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49203
+ cxlog: z.ZodObject<{
49204
49204
  id: z.ZodString;
49205
49205
  createdAt: z.ZodDate;
49206
49206
  updatedAt: z.ZodDate;
@@ -49715,7 +49715,7 @@ export declare const mainChatRoomContract: {
49715
49715
  deletedAt: Date | null;
49716
49716
  } | null | undefined;
49717
49717
  }[] | null | undefined;
49718
- }>>>;
49718
+ }>;
49719
49719
  workflowRule: z.ZodObject<{
49720
49720
  id: z.ZodString;
49721
49721
  createdAt: z.ZodDate;
@@ -50066,16 +50066,7 @@ export declare const mainChatRoomContract: {
50066
50066
  closedAt: Date;
50067
50067
  lastMessageAt: Date | null;
50068
50068
  isBotRoom: boolean;
50069
- workflowRule: {
50070
- type: string;
50071
- id: string;
50072
- name: string;
50073
- createdAt: Date;
50074
- updatedAt: Date;
50075
- deletedAt: Date | null;
50076
- isActive: boolean;
50077
- };
50078
- cxlog?: {
50069
+ cxlog: {
50079
50070
  id: string;
50080
50071
  channel: string | null;
50081
50072
  direction: string | null;
@@ -50160,7 +50151,16 @@ export declare const mainChatRoomContract: {
50160
50151
  deletedAt: Date | null;
50161
50152
  } | null | undefined;
50162
50153
  }[] | null | undefined;
50163
- } | null | undefined;
50154
+ };
50155
+ workflowRule: {
50156
+ type: string;
50157
+ id: string;
50158
+ name: string;
50159
+ createdAt: Date;
50160
+ updatedAt: Date;
50161
+ deletedAt: Date | null;
50162
+ isActive: boolean;
50163
+ };
50164
50164
  automationQueueId?: string | null | undefined;
50165
50165
  }, {
50166
50166
  id: string;
@@ -50485,16 +50485,7 @@ export declare const mainChatRoomContract: {
50485
50485
  closedAt: Date;
50486
50486
  lastMessageAt: Date | null;
50487
50487
  isBotRoom: boolean;
50488
- workflowRule: {
50489
- type: string;
50490
- id: string;
50491
- name: string;
50492
- createdAt: Date;
50493
- updatedAt: Date;
50494
- deletedAt: Date | null;
50495
- isActive: boolean;
50496
- };
50497
- cxlog?: {
50488
+ cxlog: {
50498
50489
  id: string;
50499
50490
  channel: string | null;
50500
50491
  direction: string | null;
@@ -50579,7 +50570,16 @@ export declare const mainChatRoomContract: {
50579
50570
  deletedAt: Date | null;
50580
50571
  } | null | undefined;
50581
50572
  }[] | null | undefined;
50582
- } | null | undefined;
50573
+ };
50574
+ workflowRule: {
50575
+ type: string;
50576
+ id: string;
50577
+ name: string;
50578
+ createdAt: Date;
50579
+ updatedAt: Date;
50580
+ deletedAt: Date | null;
50581
+ isActive: boolean;
50582
+ };
50583
50583
  automationQueueId?: string | null | undefined;
50584
50584
  }>;
50585
50585
  }, "strip", z.ZodTypeAny, {
@@ -50906,16 +50906,7 @@ export declare const mainChatRoomContract: {
50906
50906
  closedAt: Date;
50907
50907
  lastMessageAt: Date | null;
50908
50908
  isBotRoom: boolean;
50909
- workflowRule: {
50910
- type: string;
50911
- id: string;
50912
- name: string;
50913
- createdAt: Date;
50914
- updatedAt: Date;
50915
- deletedAt: Date | null;
50916
- isActive: boolean;
50917
- };
50918
- cxlog?: {
50909
+ cxlog: {
50919
50910
  id: string;
50920
50911
  channel: string | null;
50921
50912
  direction: string | null;
@@ -51000,7 +50991,16 @@ export declare const mainChatRoomContract: {
51000
50991
  deletedAt: Date | null;
51001
50992
  } | null | undefined;
51002
50993
  }[] | null | undefined;
51003
- } | null | undefined;
50994
+ };
50995
+ workflowRule: {
50996
+ type: string;
50997
+ id: string;
50998
+ name: string;
50999
+ createdAt: Date;
51000
+ updatedAt: Date;
51001
+ deletedAt: Date | null;
51002
+ isActive: boolean;
51003
+ };
51004
51004
  automationQueueId?: string | null | undefined;
51005
51005
  };
51006
51006
  requestId: string;
@@ -51328,16 +51328,7 @@ export declare const mainChatRoomContract: {
51328
51328
  closedAt: Date;
51329
51329
  lastMessageAt: Date | null;
51330
51330
  isBotRoom: boolean;
51331
- workflowRule: {
51332
- type: string;
51333
- id: string;
51334
- name: string;
51335
- createdAt: Date;
51336
- updatedAt: Date;
51337
- deletedAt: Date | null;
51338
- isActive: boolean;
51339
- };
51340
- cxlog?: {
51331
+ cxlog: {
51341
51332
  id: string;
51342
51333
  channel: string | null;
51343
51334
  direction: string | null;
@@ -51422,7 +51413,16 @@ export declare const mainChatRoomContract: {
51422
51413
  deletedAt: Date | null;
51423
51414
  } | null | undefined;
51424
51415
  }[] | null | undefined;
51425
- } | null | undefined;
51416
+ };
51417
+ workflowRule: {
51418
+ type: string;
51419
+ id: string;
51420
+ name: string;
51421
+ createdAt: Date;
51422
+ updatedAt: Date;
51423
+ deletedAt: Date | null;
51424
+ isActive: boolean;
51425
+ };
51426
51426
  automationQueueId?: string | null | undefined;
51427
51427
  };
51428
51428
  requestId: string;
@@ -53466,7 +53466,7 @@ export declare const mainChatRoomContract: {
53466
53466
  closedAt: z.ZodDate;
53467
53467
  lastMessageAt: z.ZodNullable<z.ZodDate>;
53468
53468
  isBotRoom: z.ZodBoolean;
53469
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
53469
+ cxlog: z.ZodObject<{
53470
53470
  id: z.ZodString;
53471
53471
  createdAt: z.ZodDate;
53472
53472
  updatedAt: z.ZodDate;
@@ -53981,7 +53981,7 @@ export declare const mainChatRoomContract: {
53981
53981
  deletedAt: Date | null;
53982
53982
  } | null | undefined;
53983
53983
  }[] | null | undefined;
53984
- }>>>;
53984
+ }>;
53985
53985
  workflowRule: z.ZodObject<{
53986
53986
  id: z.ZodString;
53987
53987
  createdAt: z.ZodDate;
@@ -54330,16 +54330,7 @@ export declare const mainChatRoomContract: {
54330
54330
  closedAt: Date;
54331
54331
  lastMessageAt: Date | null;
54332
54332
  isBotRoom: boolean;
54333
- workflowRule: {
54334
- type: string;
54335
- id: string;
54336
- name: string;
54337
- createdAt: Date;
54338
- updatedAt: Date;
54339
- deletedAt: Date | null;
54340
- isActive: boolean;
54341
- };
54342
- cxlog?: {
54333
+ cxlog: {
54343
54334
  id: string;
54344
54335
  channel: string | null;
54345
54336
  direction: string | null;
@@ -54424,7 +54415,16 @@ export declare const mainChatRoomContract: {
54424
54415
  deletedAt: Date | null;
54425
54416
  } | null | undefined;
54426
54417
  }[] | null | undefined;
54427
- } | null | undefined;
54418
+ };
54419
+ workflowRule: {
54420
+ type: string;
54421
+ id: string;
54422
+ name: string;
54423
+ createdAt: Date;
54424
+ updatedAt: Date;
54425
+ deletedAt: Date | null;
54426
+ isActive: boolean;
54427
+ };
54428
54428
  automationQueueId?: string | null | undefined;
54429
54429
  }, {
54430
54430
  id: string;
@@ -54748,16 +54748,7 @@ export declare const mainChatRoomContract: {
54748
54748
  closedAt: Date;
54749
54749
  lastMessageAt: Date | null;
54750
54750
  isBotRoom: boolean;
54751
- workflowRule: {
54752
- type: string;
54753
- id: string;
54754
- name: string;
54755
- createdAt: Date;
54756
- updatedAt: Date;
54757
- deletedAt: Date | null;
54758
- isActive: boolean;
54759
- };
54760
- cxlog?: {
54751
+ cxlog: {
54761
54752
  id: string;
54762
54753
  channel: string | null;
54763
54754
  direction: string | null;
@@ -54842,7 +54833,16 @@ export declare const mainChatRoomContract: {
54842
54833
  deletedAt: Date | null;
54843
54834
  } | null | undefined;
54844
54835
  }[] | null | undefined;
54845
- } | null | undefined;
54836
+ };
54837
+ workflowRule: {
54838
+ type: string;
54839
+ id: string;
54840
+ name: string;
54841
+ createdAt: Date;
54842
+ updatedAt: Date;
54843
+ deletedAt: Date | null;
54844
+ isActive: boolean;
54845
+ };
54846
54846
  automationQueueId?: string | null | undefined;
54847
54847
  }>, "many">;
54848
54848
  }, "strip", z.ZodTypeAny, {
@@ -55168,16 +55168,7 @@ export declare const mainChatRoomContract: {
55168
55168
  closedAt: Date;
55169
55169
  lastMessageAt: Date | null;
55170
55170
  isBotRoom: boolean;
55171
- workflowRule: {
55172
- type: string;
55173
- id: string;
55174
- name: string;
55175
- createdAt: Date;
55176
- updatedAt: Date;
55177
- deletedAt: Date | null;
55178
- isActive: boolean;
55179
- };
55180
- cxlog?: {
55171
+ cxlog: {
55181
55172
  id: string;
55182
55173
  channel: string | null;
55183
55174
  direction: string | null;
@@ -55262,7 +55253,16 @@ export declare const mainChatRoomContract: {
55262
55253
  deletedAt: Date | null;
55263
55254
  } | null | undefined;
55264
55255
  }[] | null | undefined;
55265
- } | null | undefined;
55256
+ };
55257
+ workflowRule: {
55258
+ type: string;
55259
+ id: string;
55260
+ name: string;
55261
+ createdAt: Date;
55262
+ updatedAt: Date;
55263
+ deletedAt: Date | null;
55264
+ isActive: boolean;
55265
+ };
55266
55266
  automationQueueId?: string | null | undefined;
55267
55267
  }[];
55268
55268
  total: number;
@@ -55592,16 +55592,7 @@ export declare const mainChatRoomContract: {
55592
55592
  closedAt: Date;
55593
55593
  lastMessageAt: Date | null;
55594
55594
  isBotRoom: boolean;
55595
- workflowRule: {
55596
- type: string;
55597
- id: string;
55598
- name: string;
55599
- createdAt: Date;
55600
- updatedAt: Date;
55601
- deletedAt: Date | null;
55602
- isActive: boolean;
55603
- };
55604
- cxlog?: {
55595
+ cxlog: {
55605
55596
  id: string;
55606
55597
  channel: string | null;
55607
55598
  direction: string | null;
@@ -55686,7 +55677,16 @@ export declare const mainChatRoomContract: {
55686
55677
  deletedAt: Date | null;
55687
55678
  } | null | undefined;
55688
55679
  }[] | null | undefined;
55689
- } | null | undefined;
55680
+ };
55681
+ workflowRule: {
55682
+ type: string;
55683
+ id: string;
55684
+ name: string;
55685
+ createdAt: Date;
55686
+ updatedAt: Date;
55687
+ deletedAt: Date | null;
55688
+ isActive: boolean;
55689
+ };
55690
55690
  automationQueueId?: string | null | undefined;
55691
55691
  }[];
55692
55692
  total: number;
@@ -58573,7 +58573,7 @@ export declare const mainChatContract: {
58573
58573
  integrationId: string;
58574
58574
  } | null;
58575
58575
  }>;
58576
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
58576
+ cxlog: z.ZodObject<{
58577
58577
  id: z.ZodString;
58578
58578
  createdAt: z.ZodDate;
58579
58579
  updatedAt: z.ZodDate;
@@ -59088,7 +59088,7 @@ export declare const mainChatContract: {
59088
59088
  deletedAt: Date | null;
59089
59089
  } | null | undefined;
59090
59090
  }[] | null | undefined;
59091
- }>>>;
59091
+ }>;
59092
59092
  workflowRule: z.ZodObject<{
59093
59093
  id: z.ZodString;
59094
59094
  createdAt: z.ZodDate;
@@ -59437,16 +59437,7 @@ export declare const mainChatContract: {
59437
59437
  closedAt: Date;
59438
59438
  lastMessageAt: Date | null;
59439
59439
  isBotRoom: boolean;
59440
- workflowRule: {
59441
- type: string;
59442
- id: string;
59443
- name: string;
59444
- createdAt: Date;
59445
- updatedAt: Date;
59446
- deletedAt: Date | null;
59447
- isActive: boolean;
59448
- };
59449
- cxlog?: {
59440
+ cxlog: {
59450
59441
  id: string;
59451
59442
  channel: string | null;
59452
59443
  direction: string | null;
@@ -59531,7 +59522,16 @@ export declare const mainChatContract: {
59531
59522
  deletedAt: Date | null;
59532
59523
  } | null | undefined;
59533
59524
  }[] | null | undefined;
59534
- } | null | undefined;
59525
+ };
59526
+ workflowRule: {
59527
+ type: string;
59528
+ id: string;
59529
+ name: string;
59530
+ createdAt: Date;
59531
+ updatedAt: Date;
59532
+ deletedAt: Date | null;
59533
+ isActive: boolean;
59534
+ };
59535
59535
  automationQueueId?: string | null | undefined;
59536
59536
  }, {
59537
59537
  id: string;
@@ -59855,16 +59855,7 @@ export declare const mainChatContract: {
59855
59855
  closedAt: Date;
59856
59856
  lastMessageAt: Date | null;
59857
59857
  isBotRoom: boolean;
59858
- workflowRule: {
59859
- type: string;
59860
- id: string;
59861
- name: string;
59862
- createdAt: Date;
59863
- updatedAt: Date;
59864
- deletedAt: Date | null;
59865
- isActive: boolean;
59866
- };
59867
- cxlog?: {
59858
+ cxlog: {
59868
59859
  id: string;
59869
59860
  channel: string | null;
59870
59861
  direction: string | null;
@@ -59949,7 +59940,16 @@ export declare const mainChatContract: {
59949
59940
  deletedAt: Date | null;
59950
59941
  } | null | undefined;
59951
59942
  }[] | null | undefined;
59952
- } | null | undefined;
59943
+ };
59944
+ workflowRule: {
59945
+ type: string;
59946
+ id: string;
59947
+ name: string;
59948
+ createdAt: Date;
59949
+ updatedAt: Date;
59950
+ deletedAt: Date | null;
59951
+ isActive: boolean;
59952
+ };
59953
59953
  automationQueueId?: string | null | undefined;
59954
59954
  }>;
59955
59955
  platformMessageId: z.ZodString;
@@ -63187,7 +63187,7 @@ export declare const mainChatContract: {
63187
63187
  integrationId: string;
63188
63188
  } | null;
63189
63189
  }>;
63190
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
63190
+ cxlog: z.ZodObject<{
63191
63191
  id: z.ZodString;
63192
63192
  createdAt: z.ZodDate;
63193
63193
  updatedAt: z.ZodDate;
@@ -63702,7 +63702,7 @@ export declare const mainChatContract: {
63702
63702
  deletedAt: Date | null;
63703
63703
  } | null | undefined;
63704
63704
  }[] | null | undefined;
63705
- }>>>;
63705
+ }>;
63706
63706
  workflowRule: z.ZodObject<{
63707
63707
  id: z.ZodString;
63708
63708
  createdAt: z.ZodDate;
@@ -64051,16 +64051,7 @@ export declare const mainChatContract: {
64051
64051
  closedAt: Date;
64052
64052
  lastMessageAt: Date | null;
64053
64053
  isBotRoom: boolean;
64054
- workflowRule: {
64055
- type: string;
64056
- id: string;
64057
- name: string;
64058
- createdAt: Date;
64059
- updatedAt: Date;
64060
- deletedAt: Date | null;
64061
- isActive: boolean;
64062
- };
64063
- cxlog?: {
64054
+ cxlog: {
64064
64055
  id: string;
64065
64056
  channel: string | null;
64066
64057
  direction: string | null;
@@ -64145,7 +64136,16 @@ export declare const mainChatContract: {
64145
64136
  deletedAt: Date | null;
64146
64137
  } | null | undefined;
64147
64138
  }[] | null | undefined;
64148
- } | null | undefined;
64139
+ };
64140
+ workflowRule: {
64141
+ type: string;
64142
+ id: string;
64143
+ name: string;
64144
+ createdAt: Date;
64145
+ updatedAt: Date;
64146
+ deletedAt: Date | null;
64147
+ isActive: boolean;
64148
+ };
64149
64149
  automationQueueId?: string | null | undefined;
64150
64150
  }, {
64151
64151
  id: string;
@@ -64469,16 +64469,7 @@ export declare const mainChatContract: {
64469
64469
  closedAt: Date;
64470
64470
  lastMessageAt: Date | null;
64471
64471
  isBotRoom: boolean;
64472
- workflowRule: {
64473
- type: string;
64474
- id: string;
64475
- name: string;
64476
- createdAt: Date;
64477
- updatedAt: Date;
64478
- deletedAt: Date | null;
64479
- isActive: boolean;
64480
- };
64481
- cxlog?: {
64472
+ cxlog: {
64482
64473
  id: string;
64483
64474
  channel: string | null;
64484
64475
  direction: string | null;
@@ -64563,7 +64554,16 @@ export declare const mainChatContract: {
64563
64554
  deletedAt: Date | null;
64564
64555
  } | null | undefined;
64565
64556
  }[] | null | undefined;
64566
- } | null | undefined;
64557
+ };
64558
+ workflowRule: {
64559
+ type: string;
64560
+ id: string;
64561
+ name: string;
64562
+ createdAt: Date;
64563
+ updatedAt: Date;
64564
+ deletedAt: Date | null;
64565
+ isActive: boolean;
64566
+ };
64567
64567
  automationQueueId?: string | null | undefined;
64568
64568
  }>;
64569
64569
  upload: z.ZodObject<{
@@ -66660,16 +66660,7 @@ export declare const mainChatContract: {
66660
66660
  closedAt: Date;
66661
66661
  lastMessageAt: Date | null;
66662
66662
  isBotRoom: boolean;
66663
- workflowRule: {
66664
- type: string;
66665
- id: string;
66666
- name: string;
66667
- createdAt: Date;
66668
- updatedAt: Date;
66669
- deletedAt: Date | null;
66670
- isActive: boolean;
66671
- };
66672
- cxlog?: {
66663
+ cxlog: {
66673
66664
  id: string;
66674
66665
  channel: string | null;
66675
66666
  direction: string | null;
@@ -66754,7 +66745,16 @@ export declare const mainChatContract: {
66754
66745
  deletedAt: Date | null;
66755
66746
  } | null | undefined;
66756
66747
  }[] | null | undefined;
66757
- } | null | undefined;
66748
+ };
66749
+ workflowRule: {
66750
+ type: string;
66751
+ id: string;
66752
+ name: string;
66753
+ createdAt: Date;
66754
+ updatedAt: Date;
66755
+ deletedAt: Date | null;
66756
+ isActive: boolean;
66757
+ };
66758
66758
  automationQueueId?: string | null | undefined;
66759
66759
  };
66760
66760
  platformMessageId: string;
@@ -67415,16 +67415,7 @@ export declare const mainChatContract: {
67415
67415
  closedAt: Date;
67416
67416
  lastMessageAt: Date | null;
67417
67417
  isBotRoom: boolean;
67418
- workflowRule: {
67419
- type: string;
67420
- id: string;
67421
- name: string;
67422
- createdAt: Date;
67423
- updatedAt: Date;
67424
- deletedAt: Date | null;
67425
- isActive: boolean;
67426
- };
67427
- cxlog?: {
67418
+ cxlog: {
67428
67419
  id: string;
67429
67420
  channel: string | null;
67430
67421
  direction: string | null;
@@ -67509,7 +67500,16 @@ export declare const mainChatContract: {
67509
67500
  deletedAt: Date | null;
67510
67501
  } | null | undefined;
67511
67502
  }[] | null | undefined;
67512
- } | null | undefined;
67503
+ };
67504
+ workflowRule: {
67505
+ type: string;
67506
+ id: string;
67507
+ name: string;
67508
+ createdAt: Date;
67509
+ updatedAt: Date;
67510
+ deletedAt: Date | null;
67511
+ isActive: boolean;
67512
+ };
67513
67513
  automationQueueId?: string | null | undefined;
67514
67514
  };
67515
67515
  platformMessageId: string;
@@ -68171,16 +68171,7 @@ export declare const mainChatContract: {
68171
68171
  closedAt: Date;
68172
68172
  lastMessageAt: Date | null;
68173
68173
  isBotRoom: boolean;
68174
- workflowRule: {
68175
- type: string;
68176
- id: string;
68177
- name: string;
68178
- createdAt: Date;
68179
- updatedAt: Date;
68180
- deletedAt: Date | null;
68181
- isActive: boolean;
68182
- };
68183
- cxlog?: {
68174
+ cxlog: {
68184
68175
  id: string;
68185
68176
  channel: string | null;
68186
68177
  direction: string | null;
@@ -68265,7 +68256,16 @@ export declare const mainChatContract: {
68265
68256
  deletedAt: Date | null;
68266
68257
  } | null | undefined;
68267
68258
  }[] | null | undefined;
68268
- } | null | undefined;
68259
+ };
68260
+ workflowRule: {
68261
+ type: string;
68262
+ id: string;
68263
+ name: string;
68264
+ createdAt: Date;
68265
+ updatedAt: Date;
68266
+ deletedAt: Date | null;
68267
+ isActive: boolean;
68268
+ };
68269
68269
  automationQueueId?: string | null | undefined;
68270
68270
  };
68271
68271
  platformMessageId: string;
@@ -68926,16 +68926,7 @@ export declare const mainChatContract: {
68926
68926
  closedAt: Date;
68927
68927
  lastMessageAt: Date | null;
68928
68928
  isBotRoom: boolean;
68929
- workflowRule: {
68930
- type: string;
68931
- id: string;
68932
- name: string;
68933
- createdAt: Date;
68934
- updatedAt: Date;
68935
- deletedAt: Date | null;
68936
- isActive: boolean;
68937
- };
68938
- cxlog?: {
68929
+ cxlog: {
68939
68930
  id: string;
68940
68931
  channel: string | null;
68941
68932
  direction: string | null;
@@ -69020,7 +69011,16 @@ export declare const mainChatContract: {
69020
69011
  deletedAt: Date | null;
69021
69012
  } | null | undefined;
69022
69013
  }[] | null | undefined;
69023
- } | null | undefined;
69014
+ };
69015
+ workflowRule: {
69016
+ type: string;
69017
+ id: string;
69018
+ name: string;
69019
+ createdAt: Date;
69020
+ updatedAt: Date;
69021
+ deletedAt: Date | null;
69022
+ isActive: boolean;
69023
+ };
69024
69024
  automationQueueId?: string | null | undefined;
69025
69025
  };
69026
69026
  platformMessageId: string;
@@ -69682,16 +69682,7 @@ export declare const mainChatContract: {
69682
69682
  closedAt: Date;
69683
69683
  lastMessageAt: Date | null;
69684
69684
  isBotRoom: boolean;
69685
- workflowRule: {
69686
- type: string;
69687
- id: string;
69688
- name: string;
69689
- createdAt: Date;
69690
- updatedAt: Date;
69691
- deletedAt: Date | null;
69692
- isActive: boolean;
69693
- };
69694
- cxlog?: {
69685
+ cxlog: {
69695
69686
  id: string;
69696
69687
  channel: string | null;
69697
69688
  direction: string | null;
@@ -69776,7 +69767,16 @@ export declare const mainChatContract: {
69776
69767
  deletedAt: Date | null;
69777
69768
  } | null | undefined;
69778
69769
  }[] | null | undefined;
69779
- } | null | undefined;
69770
+ };
69771
+ workflowRule: {
69772
+ type: string;
69773
+ id: string;
69774
+ name: string;
69775
+ createdAt: Date;
69776
+ updatedAt: Date;
69777
+ deletedAt: Date | null;
69778
+ isActive: boolean;
69779
+ };
69780
69780
  automationQueueId?: string | null | undefined;
69781
69781
  };
69782
69782
  platformMessageId: string;
@@ -70437,16 +70437,7 @@ export declare const mainChatContract: {
70437
70437
  closedAt: Date;
70438
70438
  lastMessageAt: Date | null;
70439
70439
  isBotRoom: boolean;
70440
- workflowRule: {
70441
- type: string;
70442
- id: string;
70443
- name: string;
70444
- createdAt: Date;
70445
- updatedAt: Date;
70446
- deletedAt: Date | null;
70447
- isActive: boolean;
70448
- };
70449
- cxlog?: {
70440
+ cxlog: {
70450
70441
  id: string;
70451
70442
  channel: string | null;
70452
70443
  direction: string | null;
@@ -70531,7 +70522,16 @@ export declare const mainChatContract: {
70531
70522
  deletedAt: Date | null;
70532
70523
  } | null | undefined;
70533
70524
  }[] | null | undefined;
70534
- } | null | undefined;
70525
+ };
70526
+ workflowRule: {
70527
+ type: string;
70528
+ id: string;
70529
+ name: string;
70530
+ createdAt: Date;
70531
+ updatedAt: Date;
70532
+ deletedAt: Date | null;
70533
+ isActive: boolean;
70534
+ };
70535
70535
  automationQueueId?: string | null | undefined;
70536
70536
  };
70537
70537
  platformMessageId: string;
@@ -71195,16 +71195,7 @@ export declare const mainChatContract: {
71195
71195
  closedAt: Date;
71196
71196
  lastMessageAt: Date | null;
71197
71197
  isBotRoom: boolean;
71198
- workflowRule: {
71199
- type: string;
71200
- id: string;
71201
- name: string;
71202
- createdAt: Date;
71203
- updatedAt: Date;
71204
- deletedAt: Date | null;
71205
- isActive: boolean;
71206
- };
71207
- cxlog?: {
71198
+ cxlog: {
71208
71199
  id: string;
71209
71200
  channel: string | null;
71210
71201
  direction: string | null;
@@ -71289,7 +71280,16 @@ export declare const mainChatContract: {
71289
71280
  deletedAt: Date | null;
71290
71281
  } | null | undefined;
71291
71282
  }[] | null | undefined;
71292
- } | null | undefined;
71283
+ };
71284
+ workflowRule: {
71285
+ type: string;
71286
+ id: string;
71287
+ name: string;
71288
+ createdAt: Date;
71289
+ updatedAt: Date;
71290
+ deletedAt: Date | null;
71291
+ isActive: boolean;
71292
+ };
71293
71293
  automationQueueId?: string | null | undefined;
71294
71294
  };
71295
71295
  platformMessageId: string;
@@ -71950,16 +71950,7 @@ export declare const mainChatContract: {
71950
71950
  closedAt: Date;
71951
71951
  lastMessageAt: Date | null;
71952
71952
  isBotRoom: boolean;
71953
- workflowRule: {
71954
- type: string;
71955
- id: string;
71956
- name: string;
71957
- createdAt: Date;
71958
- updatedAt: Date;
71959
- deletedAt: Date | null;
71960
- isActive: boolean;
71961
- };
71962
- cxlog?: {
71953
+ cxlog: {
71963
71954
  id: string;
71964
71955
  channel: string | null;
71965
71956
  direction: string | null;
@@ -72044,7 +72035,16 @@ export declare const mainChatContract: {
72044
72035
  deletedAt: Date | null;
72045
72036
  } | null | undefined;
72046
72037
  }[] | null | undefined;
72047
- } | null | undefined;
72038
+ };
72039
+ workflowRule: {
72040
+ type: string;
72041
+ id: string;
72042
+ name: string;
72043
+ createdAt: Date;
72044
+ updatedAt: Date;
72045
+ deletedAt: Date | null;
72046
+ isActive: boolean;
72047
+ };
72048
72048
  automationQueueId?: string | null | undefined;
72049
72049
  };
72050
72050
  platformMessageId: string;
@@ -72709,16 +72709,7 @@ export declare const mainChatContract: {
72709
72709
  closedAt: Date;
72710
72710
  lastMessageAt: Date | null;
72711
72711
  isBotRoom: boolean;
72712
- workflowRule: {
72713
- type: string;
72714
- id: string;
72715
- name: string;
72716
- createdAt: Date;
72717
- updatedAt: Date;
72718
- deletedAt: Date | null;
72719
- isActive: boolean;
72720
- };
72721
- cxlog?: {
72712
+ cxlog: {
72722
72713
  id: string;
72723
72714
  channel: string | null;
72724
72715
  direction: string | null;
@@ -72803,7 +72794,16 @@ export declare const mainChatContract: {
72803
72794
  deletedAt: Date | null;
72804
72795
  } | null | undefined;
72805
72796
  }[] | null | undefined;
72806
- } | null | undefined;
72797
+ };
72798
+ workflowRule: {
72799
+ type: string;
72800
+ id: string;
72801
+ name: string;
72802
+ createdAt: Date;
72803
+ updatedAt: Date;
72804
+ deletedAt: Date | null;
72805
+ isActive: boolean;
72806
+ };
72807
72807
  automationQueueId?: string | null | undefined;
72808
72808
  };
72809
72809
  platformMessageId: string;
@@ -73464,16 +73464,7 @@ export declare const mainChatContract: {
73464
73464
  closedAt: Date;
73465
73465
  lastMessageAt: Date | null;
73466
73466
  isBotRoom: boolean;
73467
- workflowRule: {
73468
- type: string;
73469
- id: string;
73470
- name: string;
73471
- createdAt: Date;
73472
- updatedAt: Date;
73473
- deletedAt: Date | null;
73474
- isActive: boolean;
73475
- };
73476
- cxlog?: {
73467
+ cxlog: {
73477
73468
  id: string;
73478
73469
  channel: string | null;
73479
73470
  direction: string | null;
@@ -73558,7 +73549,16 @@ export declare const mainChatContract: {
73558
73549
  deletedAt: Date | null;
73559
73550
  } | null | undefined;
73560
73551
  }[] | null | undefined;
73561
- } | null | undefined;
73552
+ };
73553
+ workflowRule: {
73554
+ type: string;
73555
+ id: string;
73556
+ name: string;
73557
+ createdAt: Date;
73558
+ updatedAt: Date;
73559
+ deletedAt: Date | null;
73560
+ isActive: boolean;
73561
+ };
73562
73562
  automationQueueId?: string | null | undefined;
73563
73563
  };
73564
73564
  platformMessageId: string;
@@ -76415,7 +76415,7 @@ export declare const mainChatContract: {
76415
76415
  integrationId: string;
76416
76416
  } | null;
76417
76417
  }>;
76418
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
76418
+ cxlog: z.ZodObject<{
76419
76419
  id: z.ZodString;
76420
76420
  createdAt: z.ZodDate;
76421
76421
  updatedAt: z.ZodDate;
@@ -76930,7 +76930,7 @@ export declare const mainChatContract: {
76930
76930
  deletedAt: Date | null;
76931
76931
  } | null | undefined;
76932
76932
  }[] | null | undefined;
76933
- }>>>;
76933
+ }>;
76934
76934
  workflowRule: z.ZodObject<{
76935
76935
  id: z.ZodString;
76936
76936
  createdAt: z.ZodDate;
@@ -77279,16 +77279,7 @@ export declare const mainChatContract: {
77279
77279
  closedAt: Date;
77280
77280
  lastMessageAt: Date | null;
77281
77281
  isBotRoom: boolean;
77282
- workflowRule: {
77283
- type: string;
77284
- id: string;
77285
- name: string;
77286
- createdAt: Date;
77287
- updatedAt: Date;
77288
- deletedAt: Date | null;
77289
- isActive: boolean;
77290
- };
77291
- cxlog?: {
77282
+ cxlog: {
77292
77283
  id: string;
77293
77284
  channel: string | null;
77294
77285
  direction: string | null;
@@ -77373,7 +77364,16 @@ export declare const mainChatContract: {
77373
77364
  deletedAt: Date | null;
77374
77365
  } | null | undefined;
77375
77366
  }[] | null | undefined;
77376
- } | null | undefined;
77367
+ };
77368
+ workflowRule: {
77369
+ type: string;
77370
+ id: string;
77371
+ name: string;
77372
+ createdAt: Date;
77373
+ updatedAt: Date;
77374
+ deletedAt: Date | null;
77375
+ isActive: boolean;
77376
+ };
77377
77377
  automationQueueId?: string | null | undefined;
77378
77378
  }, {
77379
77379
  id: string;
@@ -77697,16 +77697,7 @@ export declare const mainChatContract: {
77697
77697
  closedAt: Date;
77698
77698
  lastMessageAt: Date | null;
77699
77699
  isBotRoom: boolean;
77700
- workflowRule: {
77701
- type: string;
77702
- id: string;
77703
- name: string;
77704
- createdAt: Date;
77705
- updatedAt: Date;
77706
- deletedAt: Date | null;
77707
- isActive: boolean;
77708
- };
77709
- cxlog?: {
77700
+ cxlog: {
77710
77701
  id: string;
77711
77702
  channel: string | null;
77712
77703
  direction: string | null;
@@ -77791,7 +77782,16 @@ export declare const mainChatContract: {
77791
77782
  deletedAt: Date | null;
77792
77783
  } | null | undefined;
77793
77784
  }[] | null | undefined;
77794
- } | null | undefined;
77785
+ };
77786
+ workflowRule: {
77787
+ type: string;
77788
+ id: string;
77789
+ name: string;
77790
+ createdAt: Date;
77791
+ updatedAt: Date;
77792
+ deletedAt: Date | null;
77793
+ isActive: boolean;
77794
+ };
77795
77795
  automationQueueId?: string | null | undefined;
77796
77796
  }>;
77797
77797
  platformMessageId: z.ZodString;
@@ -81796,16 +81796,7 @@ export declare const mainChatContract: {
81796
81796
  closedAt: Date;
81797
81797
  lastMessageAt: Date | null;
81798
81798
  isBotRoom: boolean;
81799
- workflowRule: {
81800
- type: string;
81801
- id: string;
81802
- name: string;
81803
- createdAt: Date;
81804
- updatedAt: Date;
81805
- deletedAt: Date | null;
81806
- isActive: boolean;
81807
- };
81808
- cxlog?: {
81799
+ cxlog: {
81809
81800
  id: string;
81810
81801
  channel: string | null;
81811
81802
  direction: string | null;
@@ -81890,7 +81881,16 @@ export declare const mainChatContract: {
81890
81881
  deletedAt: Date | null;
81891
81882
  } | null | undefined;
81892
81883
  }[] | null | undefined;
81893
- } | null | undefined;
81884
+ };
81885
+ workflowRule: {
81886
+ type: string;
81887
+ id: string;
81888
+ name: string;
81889
+ createdAt: Date;
81890
+ updatedAt: Date;
81891
+ deletedAt: Date | null;
81892
+ isActive: boolean;
81893
+ };
81894
81894
  automationQueueId?: string | null | undefined;
81895
81895
  };
81896
81896
  platformMessageId: string;
@@ -82832,16 +82832,7 @@ export declare const mainChatContract: {
82832
82832
  closedAt: Date;
82833
82833
  lastMessageAt: Date | null;
82834
82834
  isBotRoom: boolean;
82835
- workflowRule: {
82836
- type: string;
82837
- id: string;
82838
- name: string;
82839
- createdAt: Date;
82840
- updatedAt: Date;
82841
- deletedAt: Date | null;
82842
- isActive: boolean;
82843
- };
82844
- cxlog?: {
82835
+ cxlog: {
82845
82836
  id: string;
82846
82837
  channel: string | null;
82847
82838
  direction: string | null;
@@ -82926,7 +82917,16 @@ export declare const mainChatContract: {
82926
82917
  deletedAt: Date | null;
82927
82918
  } | null | undefined;
82928
82919
  }[] | null | undefined;
82929
- } | null | undefined;
82920
+ };
82921
+ workflowRule: {
82922
+ type: string;
82923
+ id: string;
82924
+ name: string;
82925
+ createdAt: Date;
82926
+ updatedAt: Date;
82927
+ deletedAt: Date | null;
82928
+ isActive: boolean;
82929
+ };
82930
82930
  automationQueueId?: string | null | undefined;
82931
82931
  };
82932
82932
  platformMessageId: string;
@@ -83870,16 +83870,7 @@ export declare const mainChatContract: {
83870
83870
  closedAt: Date;
83871
83871
  lastMessageAt: Date | null;
83872
83872
  isBotRoom: boolean;
83873
- workflowRule: {
83874
- type: string;
83875
- id: string;
83876
- name: string;
83877
- createdAt: Date;
83878
- updatedAt: Date;
83879
- deletedAt: Date | null;
83880
- isActive: boolean;
83881
- };
83882
- cxlog?: {
83873
+ cxlog: {
83883
83874
  id: string;
83884
83875
  channel: string | null;
83885
83876
  direction: string | null;
@@ -83964,7 +83955,16 @@ export declare const mainChatContract: {
83964
83955
  deletedAt: Date | null;
83965
83956
  } | null | undefined;
83966
83957
  }[] | null | undefined;
83967
- } | null | undefined;
83958
+ };
83959
+ workflowRule: {
83960
+ type: string;
83961
+ id: string;
83962
+ name: string;
83963
+ createdAt: Date;
83964
+ updatedAt: Date;
83965
+ deletedAt: Date | null;
83966
+ isActive: boolean;
83967
+ };
83968
83968
  automationQueueId?: string | null | undefined;
83969
83969
  };
83970
83970
  platformMessageId: string;
@@ -84912,16 +84912,7 @@ export declare const mainChatContract: {
84912
84912
  closedAt: Date;
84913
84913
  lastMessageAt: Date | null;
84914
84914
  isBotRoom: boolean;
84915
- workflowRule: {
84916
- type: string;
84917
- id: string;
84918
- name: string;
84919
- createdAt: Date;
84920
- updatedAt: Date;
84921
- deletedAt: Date | null;
84922
- isActive: boolean;
84923
- };
84924
- cxlog?: {
84915
+ cxlog: {
84925
84916
  id: string;
84926
84917
  channel: string | null;
84927
84918
  direction: string | null;
@@ -85006,7 +84997,16 @@ export declare const mainChatContract: {
85006
84997
  deletedAt: Date | null;
85007
84998
  } | null | undefined;
85008
84999
  }[] | null | undefined;
85009
- } | null | undefined;
85000
+ };
85001
+ workflowRule: {
85002
+ type: string;
85003
+ id: string;
85004
+ name: string;
85005
+ createdAt: Date;
85006
+ updatedAt: Date;
85007
+ deletedAt: Date | null;
85008
+ isActive: boolean;
85009
+ };
85010
85010
  automationQueueId?: string | null | undefined;
85011
85011
  };
85012
85012
  platformMessageId: string;
@@ -87552,7 +87552,7 @@ export declare const mainChatContract: {
87552
87552
  integrationId: string;
87553
87553
  } | null;
87554
87554
  }>;
87555
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
87555
+ cxlog: z.ZodObject<{
87556
87556
  id: z.ZodString;
87557
87557
  createdAt: z.ZodDate;
87558
87558
  updatedAt: z.ZodDate;
@@ -88067,7 +88067,7 @@ export declare const mainChatContract: {
88067
88067
  deletedAt: Date | null;
88068
88068
  } | null | undefined;
88069
88069
  }[] | null | undefined;
88070
- }>>>;
88070
+ }>;
88071
88071
  workflowRule: z.ZodObject<{
88072
88072
  id: z.ZodString;
88073
88073
  createdAt: z.ZodDate;
@@ -88236,196 +88236,187 @@ export declare const mainChatContract: {
88236
88236
  telephonySignature: string | null;
88237
88237
  };
88238
88238
  };
88239
- firstResponseTime: number;
88240
- lastMessage: string;
88241
- handleTime: number;
88242
- unreadCount: number;
88243
- firstResponseAt: Date;
88244
- isLatest: boolean;
88245
- platformContact: {
88246
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
88247
- id: string;
88248
- metadata: {
88249
- id: string;
88250
- name: string;
88251
- picture?: string | undefined;
88252
- additionalCredentials?: any;
88253
- };
88254
- createdAt: Date;
88255
- updatedAt: Date;
88256
- deletedAt: Date | null;
88257
- contact: {
88258
- id: string;
88259
- channel: string | null;
88260
- address: string | null;
88261
- name: string;
88262
- createdAt: Date;
88263
- updatedAt: Date;
88264
- deletedAt: Date | null;
88265
- customFields: {
88266
- id: string;
88267
- createdAt: Date;
88268
- updatedAt: Date;
88269
- deletedAt: Date | null;
88270
- attribute: {
88271
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
88272
- id: string;
88273
- position: number;
88274
- createdAt: Date;
88275
- updatedAt: Date;
88276
- deletedAt: Date | null;
88277
- systemName: string;
88278
- displayName: string;
88279
- isDefault: boolean;
88280
- isArchived: boolean;
88281
- isRequired: boolean;
88282
- isUnique: boolean;
88283
- };
88284
- textValue: string | null;
88285
- booleanValue: boolean | null;
88286
- numberValue: number | null;
88287
- dateValue: Date | null;
88288
- uploads: {
88289
- id: string;
88290
- status: string | null;
88291
- createdAt: Date;
88292
- updatedAt: Date;
88293
- deletedAt: Date | null;
88294
- fileName: string;
88295
- fileKey: string;
88296
- bucketName: string;
88297
- fileSize: number;
88298
- fileUrl: string | null;
88299
- }[];
88300
- }[];
88301
- company: {
88302
- id: string;
88303
- createdAt: Date;
88304
- updatedAt: Date;
88305
- deletedAt: Date | null;
88306
- address?: string | null | undefined;
88307
- name?: string | undefined;
88308
- phone?: string | null | undefined;
88309
- industry?: string | null | undefined;
88310
- } | null;
88311
- notes: string | null;
88312
- contactProfile: string | null;
88313
- socialProfileUrl: string | null;
88314
- tags: {
88315
- id: string;
88316
- name: string;
88317
- createdAt: Date;
88318
- updatedAt: Date;
88319
- deletedAt: Date | null;
88320
- }[];
88321
- contactEmails: {
88322
- id: string;
88323
- isPrimary: boolean;
88324
- email: string;
88325
- createdAt: Date;
88326
- updatedAt: Date;
88327
- deletedAt: Date | null;
88328
- }[];
88329
- contactPhones: {
88330
- id: string;
88331
- isPrimary: boolean;
88332
- createdAt: Date;
88333
- updatedAt: Date;
88334
- deletedAt: Date | null;
88335
- phone: string;
88336
- }[];
88337
- platformContacts?: {
88338
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
88339
- id: string;
88340
- metadata: {
88341
- id: string;
88342
- name: string;
88343
- picture?: string | undefined;
88344
- additionalCredentials?: any;
88345
- };
88346
- createdAt: Date;
88347
- updatedAt: Date;
88348
- deletedAt: Date | null;
88349
- channelId: string;
88350
- socialPlatformId: string;
88351
- }[] | undefined;
88352
- activityLogs?: {
88353
- id: string;
88354
- description: string;
88355
- createdAt: Date;
88356
- updatedAt: Date;
88357
- deletedAt: Date | null;
88358
- entityId: string;
88359
- entityType: {
88360
- id: string;
88361
- description: string | null;
88362
- createdAt: Date;
88363
- updatedAt: Date;
88364
- deletedAt: Date | null;
88365
- entity: string;
88366
- };
88367
- }[] | undefined;
88368
- };
88369
- channelId: string;
88370
- socialPlatformId: string;
88371
- };
88372
- assignee: {
88373
- id: string;
88374
- address: string | null;
88375
- name: string;
88376
- email: string;
88377
- createdAt: Date;
88378
- updatedAt: Date;
88379
- deletedAt: Date | null;
88380
- emailVerifiedAt: Date | null;
88381
- password: string;
88382
- phone: string | null;
88383
- notificationCount: number | null;
88384
- roles: {
88385
- id: string;
88386
- description: string | null;
88387
- createdAt: Date;
88388
- updatedAt: Date;
88389
- deletedAt: Date | null;
88390
- systemName: string;
88391
- displayName: string;
88392
- permissions: {
88393
- id: string;
88394
- description: string | null;
88395
- createdAt: Date;
88396
- updatedAt: Date;
88397
- deletedAt: Date | null;
88398
- systemName: string;
88399
- displayName: string;
88400
- }[];
88401
- }[];
88402
- extension: {
88403
- id: string;
88404
- createdAt: Date;
88405
- updatedAt: Date;
88406
- deletedAt: Date | null;
88407
- userId: string | null;
88408
- sipServerUrl: string;
88409
- sipUserName: string;
88410
- webphoneLoginUser: string;
88411
- extensionId: string | null;
88412
- extensionName: string;
88413
- telephonySignature: string | null;
88414
- };
88415
- };
88416
- closedAt: Date;
88417
- lastMessageAt: Date | null;
88418
- isBotRoom: boolean;
88419
- workflowRule: {
88420
- type: string;
88239
+ firstResponseTime: number;
88240
+ lastMessage: string;
88241
+ handleTime: number;
88242
+ unreadCount: number;
88243
+ firstResponseAt: Date;
88244
+ isLatest: boolean;
88245
+ platformContact: {
88246
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
88421
88247
  id: string;
88248
+ metadata: {
88249
+ id: string;
88250
+ name: string;
88251
+ picture?: string | undefined;
88252
+ additionalCredentials?: any;
88253
+ };
88254
+ createdAt: Date;
88255
+ updatedAt: Date;
88256
+ deletedAt: Date | null;
88257
+ contact: {
88258
+ id: string;
88259
+ channel: string | null;
88260
+ address: string | null;
88261
+ name: string;
88262
+ createdAt: Date;
88263
+ updatedAt: Date;
88264
+ deletedAt: Date | null;
88265
+ customFields: {
88266
+ id: string;
88267
+ createdAt: Date;
88268
+ updatedAt: Date;
88269
+ deletedAt: Date | null;
88270
+ attribute: {
88271
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
88272
+ id: string;
88273
+ position: number;
88274
+ createdAt: Date;
88275
+ updatedAt: Date;
88276
+ deletedAt: Date | null;
88277
+ systemName: string;
88278
+ displayName: string;
88279
+ isDefault: boolean;
88280
+ isArchived: boolean;
88281
+ isRequired: boolean;
88282
+ isUnique: boolean;
88283
+ };
88284
+ textValue: string | null;
88285
+ booleanValue: boolean | null;
88286
+ numberValue: number | null;
88287
+ dateValue: Date | null;
88288
+ uploads: {
88289
+ id: string;
88290
+ status: string | null;
88291
+ createdAt: Date;
88292
+ updatedAt: Date;
88293
+ deletedAt: Date | null;
88294
+ fileName: string;
88295
+ fileKey: string;
88296
+ bucketName: string;
88297
+ fileSize: number;
88298
+ fileUrl: string | null;
88299
+ }[];
88300
+ }[];
88301
+ company: {
88302
+ id: string;
88303
+ createdAt: Date;
88304
+ updatedAt: Date;
88305
+ deletedAt: Date | null;
88306
+ address?: string | null | undefined;
88307
+ name?: string | undefined;
88308
+ phone?: string | null | undefined;
88309
+ industry?: string | null | undefined;
88310
+ } | null;
88311
+ notes: string | null;
88312
+ contactProfile: string | null;
88313
+ socialProfileUrl: string | null;
88314
+ tags: {
88315
+ id: string;
88316
+ name: string;
88317
+ createdAt: Date;
88318
+ updatedAt: Date;
88319
+ deletedAt: Date | null;
88320
+ }[];
88321
+ contactEmails: {
88322
+ id: string;
88323
+ isPrimary: boolean;
88324
+ email: string;
88325
+ createdAt: Date;
88326
+ updatedAt: Date;
88327
+ deletedAt: Date | null;
88328
+ }[];
88329
+ contactPhones: {
88330
+ id: string;
88331
+ isPrimary: boolean;
88332
+ createdAt: Date;
88333
+ updatedAt: Date;
88334
+ deletedAt: Date | null;
88335
+ phone: string;
88336
+ }[];
88337
+ platformContacts?: {
88338
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
88339
+ id: string;
88340
+ metadata: {
88341
+ id: string;
88342
+ name: string;
88343
+ picture?: string | undefined;
88344
+ additionalCredentials?: any;
88345
+ };
88346
+ createdAt: Date;
88347
+ updatedAt: Date;
88348
+ deletedAt: Date | null;
88349
+ channelId: string;
88350
+ socialPlatformId: string;
88351
+ }[] | undefined;
88352
+ activityLogs?: {
88353
+ id: string;
88354
+ description: string;
88355
+ createdAt: Date;
88356
+ updatedAt: Date;
88357
+ deletedAt: Date | null;
88358
+ entityId: string;
88359
+ entityType: {
88360
+ id: string;
88361
+ description: string | null;
88362
+ createdAt: Date;
88363
+ updatedAt: Date;
88364
+ deletedAt: Date | null;
88365
+ entity: string;
88366
+ };
88367
+ }[] | undefined;
88368
+ };
88369
+ channelId: string;
88370
+ socialPlatformId: string;
88371
+ };
88372
+ assignee: {
88373
+ id: string;
88374
+ address: string | null;
88422
88375
  name: string;
88376
+ email: string;
88423
88377
  createdAt: Date;
88424
88378
  updatedAt: Date;
88425
88379
  deletedAt: Date | null;
88426
- isActive: boolean;
88380
+ emailVerifiedAt: Date | null;
88381
+ password: string;
88382
+ phone: string | null;
88383
+ notificationCount: number | null;
88384
+ roles: {
88385
+ id: string;
88386
+ description: string | null;
88387
+ createdAt: Date;
88388
+ updatedAt: Date;
88389
+ deletedAt: Date | null;
88390
+ systemName: string;
88391
+ displayName: string;
88392
+ permissions: {
88393
+ id: string;
88394
+ description: string | null;
88395
+ createdAt: Date;
88396
+ updatedAt: Date;
88397
+ deletedAt: Date | null;
88398
+ systemName: string;
88399
+ displayName: string;
88400
+ }[];
88401
+ }[];
88402
+ extension: {
88403
+ id: string;
88404
+ createdAt: Date;
88405
+ updatedAt: Date;
88406
+ deletedAt: Date | null;
88407
+ userId: string | null;
88408
+ sipServerUrl: string;
88409
+ sipUserName: string;
88410
+ webphoneLoginUser: string;
88411
+ extensionId: string | null;
88412
+ extensionName: string;
88413
+ telephonySignature: string | null;
88414
+ };
88427
88415
  };
88428
- cxlog?: {
88416
+ closedAt: Date;
88417
+ lastMessageAt: Date | null;
88418
+ isBotRoom: boolean;
88419
+ cxlog: {
88429
88420
  id: string;
88430
88421
  channel: string | null;
88431
88422
  direction: string | null;
@@ -88510,7 +88501,16 @@ export declare const mainChatContract: {
88510
88501
  deletedAt: Date | null;
88511
88502
  } | null | undefined;
88512
88503
  }[] | null | undefined;
88513
- } | null | undefined;
88504
+ };
88505
+ workflowRule: {
88506
+ type: string;
88507
+ id: string;
88508
+ name: string;
88509
+ createdAt: Date;
88510
+ updatedAt: Date;
88511
+ deletedAt: Date | null;
88512
+ isActive: boolean;
88513
+ };
88514
88514
  automationQueueId?: string | null | undefined;
88515
88515
  }, {
88516
88516
  id: string;
@@ -88834,16 +88834,7 @@ export declare const mainChatContract: {
88834
88834
  closedAt: Date;
88835
88835
  lastMessageAt: Date | null;
88836
88836
  isBotRoom: boolean;
88837
- workflowRule: {
88838
- type: string;
88839
- id: string;
88840
- name: string;
88841
- createdAt: Date;
88842
- updatedAt: Date;
88843
- deletedAt: Date | null;
88844
- isActive: boolean;
88845
- };
88846
- cxlog?: {
88837
+ cxlog: {
88847
88838
  id: string;
88848
88839
  channel: string | null;
88849
88840
  direction: string | null;
@@ -88928,7 +88919,16 @@ export declare const mainChatContract: {
88928
88919
  deletedAt: Date | null;
88929
88920
  } | null | undefined;
88930
88921
  }[] | null | undefined;
88931
- } | null | undefined;
88922
+ };
88923
+ workflowRule: {
88924
+ type: string;
88925
+ id: string;
88926
+ name: string;
88927
+ createdAt: Date;
88928
+ updatedAt: Date;
88929
+ deletedAt: Date | null;
88930
+ isActive: boolean;
88931
+ };
88932
88932
  automationQueueId?: string | null | undefined;
88933
88933
  }>, "many">;
88934
88934
  }, "strip", z.ZodTypeAny, {
@@ -89254,16 +89254,7 @@ export declare const mainChatContract: {
89254
89254
  closedAt: Date;
89255
89255
  lastMessageAt: Date | null;
89256
89256
  isBotRoom: boolean;
89257
- workflowRule: {
89258
- type: string;
89259
- id: string;
89260
- name: string;
89261
- createdAt: Date;
89262
- updatedAt: Date;
89263
- deletedAt: Date | null;
89264
- isActive: boolean;
89265
- };
89266
- cxlog?: {
89257
+ cxlog: {
89267
89258
  id: string;
89268
89259
  channel: string | null;
89269
89260
  direction: string | null;
@@ -89348,7 +89339,16 @@ export declare const mainChatContract: {
89348
89339
  deletedAt: Date | null;
89349
89340
  } | null | undefined;
89350
89341
  }[] | null | undefined;
89351
- } | null | undefined;
89342
+ };
89343
+ workflowRule: {
89344
+ type: string;
89345
+ id: string;
89346
+ name: string;
89347
+ createdAt: Date;
89348
+ updatedAt: Date;
89349
+ deletedAt: Date | null;
89350
+ isActive: boolean;
89351
+ };
89352
89352
  automationQueueId?: string | null | undefined;
89353
89353
  }[];
89354
89354
  requestId: string;
@@ -89675,16 +89675,7 @@ export declare const mainChatContract: {
89675
89675
  closedAt: Date;
89676
89676
  lastMessageAt: Date | null;
89677
89677
  isBotRoom: boolean;
89678
- workflowRule: {
89679
- type: string;
89680
- id: string;
89681
- name: string;
89682
- createdAt: Date;
89683
- updatedAt: Date;
89684
- deletedAt: Date | null;
89685
- isActive: boolean;
89686
- };
89687
- cxlog?: {
89678
+ cxlog: {
89688
89679
  id: string;
89689
89680
  channel: string | null;
89690
89681
  direction: string | null;
@@ -89769,7 +89760,16 @@ export declare const mainChatContract: {
89769
89760
  deletedAt: Date | null;
89770
89761
  } | null | undefined;
89771
89762
  }[] | null | undefined;
89772
- } | null | undefined;
89763
+ };
89764
+ workflowRule: {
89765
+ type: string;
89766
+ id: string;
89767
+ name: string;
89768
+ createdAt: Date;
89769
+ updatedAt: Date;
89770
+ deletedAt: Date | null;
89771
+ isActive: boolean;
89772
+ };
89773
89773
  automationQueueId?: string | null | undefined;
89774
89774
  }[];
89775
89775
  requestId: string;
@@ -91814,7 +91814,7 @@ export declare const mainChatContract: {
91814
91814
  integrationId: string;
91815
91815
  } | null;
91816
91816
  }>;
91817
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
91817
+ cxlog: z.ZodObject<{
91818
91818
  id: z.ZodString;
91819
91819
  createdAt: z.ZodDate;
91820
91820
  updatedAt: z.ZodDate;
@@ -92329,7 +92329,7 @@ export declare const mainChatContract: {
92329
92329
  deletedAt: Date | null;
92330
92330
  } | null | undefined;
92331
92331
  }[] | null | undefined;
92332
- }>>>;
92332
+ }>;
92333
92333
  workflowRule: z.ZodObject<{
92334
92334
  id: z.ZodString;
92335
92335
  createdAt: z.ZodDate;
@@ -92678,16 +92678,7 @@ export declare const mainChatContract: {
92678
92678
  closedAt: Date;
92679
92679
  lastMessageAt: Date | null;
92680
92680
  isBotRoom: boolean;
92681
- workflowRule: {
92682
- type: string;
92683
- id: string;
92684
- name: string;
92685
- createdAt: Date;
92686
- updatedAt: Date;
92687
- deletedAt: Date | null;
92688
- isActive: boolean;
92689
- };
92690
- cxlog?: {
92681
+ cxlog: {
92691
92682
  id: string;
92692
92683
  channel: string | null;
92693
92684
  direction: string | null;
@@ -92772,7 +92763,16 @@ export declare const mainChatContract: {
92772
92763
  deletedAt: Date | null;
92773
92764
  } | null | undefined;
92774
92765
  }[] | null | undefined;
92775
- } | null | undefined;
92766
+ };
92767
+ workflowRule: {
92768
+ type: string;
92769
+ id: string;
92770
+ name: string;
92771
+ createdAt: Date;
92772
+ updatedAt: Date;
92773
+ deletedAt: Date | null;
92774
+ isActive: boolean;
92775
+ };
92776
92776
  automationQueueId?: string | null | undefined;
92777
92777
  }, {
92778
92778
  id: string;
@@ -93096,16 +93096,7 @@ export declare const mainChatContract: {
93096
93096
  closedAt: Date;
93097
93097
  lastMessageAt: Date | null;
93098
93098
  isBotRoom: boolean;
93099
- workflowRule: {
93100
- type: string;
93101
- id: string;
93102
- name: string;
93103
- createdAt: Date;
93104
- updatedAt: Date;
93105
- deletedAt: Date | null;
93106
- isActive: boolean;
93107
- };
93108
- cxlog?: {
93099
+ cxlog: {
93109
93100
  id: string;
93110
93101
  channel: string | null;
93111
93102
  direction: string | null;
@@ -93190,7 +93181,16 @@ export declare const mainChatContract: {
93190
93181
  deletedAt: Date | null;
93191
93182
  } | null | undefined;
93192
93183
  }[] | null | undefined;
93193
- } | null | undefined;
93184
+ };
93185
+ workflowRule: {
93186
+ type: string;
93187
+ id: string;
93188
+ name: string;
93189
+ createdAt: Date;
93190
+ updatedAt: Date;
93191
+ deletedAt: Date | null;
93192
+ isActive: boolean;
93193
+ };
93194
93194
  automationQueueId?: string | null | undefined;
93195
93195
  }>;
93196
93196
  }, "strip", z.ZodTypeAny, {
@@ -93516,16 +93516,7 @@ export declare const mainChatContract: {
93516
93516
  closedAt: Date;
93517
93517
  lastMessageAt: Date | null;
93518
93518
  isBotRoom: boolean;
93519
- workflowRule: {
93520
- type: string;
93521
- id: string;
93522
- name: string;
93523
- createdAt: Date;
93524
- updatedAt: Date;
93525
- deletedAt: Date | null;
93526
- isActive: boolean;
93527
- };
93528
- cxlog?: {
93519
+ cxlog: {
93529
93520
  id: string;
93530
93521
  channel: string | null;
93531
93522
  direction: string | null;
@@ -93610,7 +93601,16 @@ export declare const mainChatContract: {
93610
93601
  deletedAt: Date | null;
93611
93602
  } | null | undefined;
93612
93603
  }[] | null | undefined;
93613
- } | null | undefined;
93604
+ };
93605
+ workflowRule: {
93606
+ type: string;
93607
+ id: string;
93608
+ name: string;
93609
+ createdAt: Date;
93610
+ updatedAt: Date;
93611
+ deletedAt: Date | null;
93612
+ isActive: boolean;
93613
+ };
93614
93614
  automationQueueId?: string | null | undefined;
93615
93615
  };
93616
93616
  requestId: string;
@@ -93937,16 +93937,7 @@ export declare const mainChatContract: {
93937
93937
  closedAt: Date;
93938
93938
  lastMessageAt: Date | null;
93939
93939
  isBotRoom: boolean;
93940
- workflowRule: {
93941
- type: string;
93942
- id: string;
93943
- name: string;
93944
- createdAt: Date;
93945
- updatedAt: Date;
93946
- deletedAt: Date | null;
93947
- isActive: boolean;
93948
- };
93949
- cxlog?: {
93940
+ cxlog: {
93950
93941
  id: string;
93951
93942
  channel: string | null;
93952
93943
  direction: string | null;
@@ -94031,7 +94022,16 @@ export declare const mainChatContract: {
94031
94022
  deletedAt: Date | null;
94032
94023
  } | null | undefined;
94033
94024
  }[] | null | undefined;
94034
- } | null | undefined;
94025
+ };
94026
+ workflowRule: {
94027
+ type: string;
94028
+ id: string;
94029
+ name: string;
94030
+ createdAt: Date;
94031
+ updatedAt: Date;
94032
+ deletedAt: Date | null;
94033
+ isActive: boolean;
94034
+ };
94035
94035
  automationQueueId?: string | null | undefined;
94036
94036
  };
94037
94037
  requestId: string;
@@ -97137,7 +97137,7 @@ export declare const mainChatContract: {
97137
97137
  integrationId: string;
97138
97138
  } | null;
97139
97139
  }>;
97140
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
97140
+ cxlog: z.ZodObject<{
97141
97141
  id: z.ZodString;
97142
97142
  createdAt: z.ZodDate;
97143
97143
  updatedAt: z.ZodDate;
@@ -97652,7 +97652,7 @@ export declare const mainChatContract: {
97652
97652
  deletedAt: Date | null;
97653
97653
  } | null | undefined;
97654
97654
  }[] | null | undefined;
97655
- }>>>;
97655
+ }>;
97656
97656
  workflowRule: z.ZodObject<{
97657
97657
  id: z.ZodString;
97658
97658
  createdAt: z.ZodDate;
@@ -97821,196 +97821,187 @@ export declare const mainChatContract: {
97821
97821
  telephonySignature: string | null;
97822
97822
  };
97823
97823
  };
97824
- firstResponseTime: number;
97825
- lastMessage: string;
97826
- handleTime: number;
97827
- unreadCount: number;
97828
- firstResponseAt: Date;
97829
- isLatest: boolean;
97830
- platformContact: {
97831
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
97832
- id: string;
97833
- metadata: {
97834
- id: string;
97835
- name: string;
97836
- picture?: string | undefined;
97837
- additionalCredentials?: any;
97838
- };
97839
- createdAt: Date;
97840
- updatedAt: Date;
97841
- deletedAt: Date | null;
97842
- contact: {
97843
- id: string;
97844
- channel: string | null;
97845
- address: string | null;
97846
- name: string;
97847
- createdAt: Date;
97848
- updatedAt: Date;
97849
- deletedAt: Date | null;
97850
- customFields: {
97851
- id: string;
97852
- createdAt: Date;
97853
- updatedAt: Date;
97854
- deletedAt: Date | null;
97855
- attribute: {
97856
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
97857
- id: string;
97858
- position: number;
97859
- createdAt: Date;
97860
- updatedAt: Date;
97861
- deletedAt: Date | null;
97862
- systemName: string;
97863
- displayName: string;
97864
- isDefault: boolean;
97865
- isArchived: boolean;
97866
- isRequired: boolean;
97867
- isUnique: boolean;
97868
- };
97869
- textValue: string | null;
97870
- booleanValue: boolean | null;
97871
- numberValue: number | null;
97872
- dateValue: Date | null;
97873
- uploads: {
97874
- id: string;
97875
- status: string | null;
97876
- createdAt: Date;
97877
- updatedAt: Date;
97878
- deletedAt: Date | null;
97879
- fileName: string;
97880
- fileKey: string;
97881
- bucketName: string;
97882
- fileSize: number;
97883
- fileUrl: string | null;
97884
- }[];
97885
- }[];
97886
- company: {
97887
- id: string;
97888
- createdAt: Date;
97889
- updatedAt: Date;
97890
- deletedAt: Date | null;
97891
- address?: string | null | undefined;
97892
- name?: string | undefined;
97893
- phone?: string | null | undefined;
97894
- industry?: string | null | undefined;
97895
- } | null;
97896
- notes: string | null;
97897
- contactProfile: string | null;
97898
- socialProfileUrl: string | null;
97899
- tags: {
97900
- id: string;
97901
- name: string;
97902
- createdAt: Date;
97903
- updatedAt: Date;
97904
- deletedAt: Date | null;
97905
- }[];
97906
- contactEmails: {
97907
- id: string;
97908
- isPrimary: boolean;
97909
- email: string;
97910
- createdAt: Date;
97911
- updatedAt: Date;
97912
- deletedAt: Date | null;
97913
- }[];
97914
- contactPhones: {
97915
- id: string;
97916
- isPrimary: boolean;
97917
- createdAt: Date;
97918
- updatedAt: Date;
97919
- deletedAt: Date | null;
97920
- phone: string;
97921
- }[];
97922
- platformContacts?: {
97923
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
97924
- id: string;
97925
- metadata: {
97926
- id: string;
97927
- name: string;
97928
- picture?: string | undefined;
97929
- additionalCredentials?: any;
97930
- };
97931
- createdAt: Date;
97932
- updatedAt: Date;
97933
- deletedAt: Date | null;
97934
- channelId: string;
97935
- socialPlatformId: string;
97936
- }[] | undefined;
97937
- activityLogs?: {
97938
- id: string;
97939
- description: string;
97940
- createdAt: Date;
97941
- updatedAt: Date;
97942
- deletedAt: Date | null;
97943
- entityId: string;
97944
- entityType: {
97945
- id: string;
97946
- description: string | null;
97947
- createdAt: Date;
97948
- updatedAt: Date;
97949
- deletedAt: Date | null;
97950
- entity: string;
97951
- };
97952
- }[] | undefined;
97953
- };
97954
- channelId: string;
97955
- socialPlatformId: string;
97956
- };
97957
- assignee: {
97958
- id: string;
97959
- address: string | null;
97960
- name: string;
97961
- email: string;
97962
- createdAt: Date;
97963
- updatedAt: Date;
97964
- deletedAt: Date | null;
97965
- emailVerifiedAt: Date | null;
97966
- password: string;
97967
- phone: string | null;
97968
- notificationCount: number | null;
97969
- roles: {
97970
- id: string;
97971
- description: string | null;
97972
- createdAt: Date;
97973
- updatedAt: Date;
97974
- deletedAt: Date | null;
97975
- systemName: string;
97976
- displayName: string;
97977
- permissions: {
97978
- id: string;
97979
- description: string | null;
97980
- createdAt: Date;
97981
- updatedAt: Date;
97982
- deletedAt: Date | null;
97983
- systemName: string;
97984
- displayName: string;
97985
- }[];
97986
- }[];
97987
- extension: {
97988
- id: string;
97989
- createdAt: Date;
97990
- updatedAt: Date;
97991
- deletedAt: Date | null;
97992
- userId: string | null;
97993
- sipServerUrl: string;
97994
- sipUserName: string;
97995
- webphoneLoginUser: string;
97996
- extensionId: string | null;
97997
- extensionName: string;
97998
- telephonySignature: string | null;
97999
- };
98000
- };
98001
- closedAt: Date;
98002
- lastMessageAt: Date | null;
98003
- isBotRoom: boolean;
98004
- workflowRule: {
98005
- type: string;
97824
+ firstResponseTime: number;
97825
+ lastMessage: string;
97826
+ handleTime: number;
97827
+ unreadCount: number;
97828
+ firstResponseAt: Date;
97829
+ isLatest: boolean;
97830
+ platformContact: {
97831
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
98006
97832
  id: string;
97833
+ metadata: {
97834
+ id: string;
97835
+ name: string;
97836
+ picture?: string | undefined;
97837
+ additionalCredentials?: any;
97838
+ };
97839
+ createdAt: Date;
97840
+ updatedAt: Date;
97841
+ deletedAt: Date | null;
97842
+ contact: {
97843
+ id: string;
97844
+ channel: string | null;
97845
+ address: string | null;
97846
+ name: string;
97847
+ createdAt: Date;
97848
+ updatedAt: Date;
97849
+ deletedAt: Date | null;
97850
+ customFields: {
97851
+ id: string;
97852
+ createdAt: Date;
97853
+ updatedAt: Date;
97854
+ deletedAt: Date | null;
97855
+ attribute: {
97856
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
97857
+ id: string;
97858
+ position: number;
97859
+ createdAt: Date;
97860
+ updatedAt: Date;
97861
+ deletedAt: Date | null;
97862
+ systemName: string;
97863
+ displayName: string;
97864
+ isDefault: boolean;
97865
+ isArchived: boolean;
97866
+ isRequired: boolean;
97867
+ isUnique: boolean;
97868
+ };
97869
+ textValue: string | null;
97870
+ booleanValue: boolean | null;
97871
+ numberValue: number | null;
97872
+ dateValue: Date | null;
97873
+ uploads: {
97874
+ id: string;
97875
+ status: string | null;
97876
+ createdAt: Date;
97877
+ updatedAt: Date;
97878
+ deletedAt: Date | null;
97879
+ fileName: string;
97880
+ fileKey: string;
97881
+ bucketName: string;
97882
+ fileSize: number;
97883
+ fileUrl: string | null;
97884
+ }[];
97885
+ }[];
97886
+ company: {
97887
+ id: string;
97888
+ createdAt: Date;
97889
+ updatedAt: Date;
97890
+ deletedAt: Date | null;
97891
+ address?: string | null | undefined;
97892
+ name?: string | undefined;
97893
+ phone?: string | null | undefined;
97894
+ industry?: string | null | undefined;
97895
+ } | null;
97896
+ notes: string | null;
97897
+ contactProfile: string | null;
97898
+ socialProfileUrl: string | null;
97899
+ tags: {
97900
+ id: string;
97901
+ name: string;
97902
+ createdAt: Date;
97903
+ updatedAt: Date;
97904
+ deletedAt: Date | null;
97905
+ }[];
97906
+ contactEmails: {
97907
+ id: string;
97908
+ isPrimary: boolean;
97909
+ email: string;
97910
+ createdAt: Date;
97911
+ updatedAt: Date;
97912
+ deletedAt: Date | null;
97913
+ }[];
97914
+ contactPhones: {
97915
+ id: string;
97916
+ isPrimary: boolean;
97917
+ createdAt: Date;
97918
+ updatedAt: Date;
97919
+ deletedAt: Date | null;
97920
+ phone: string;
97921
+ }[];
97922
+ platformContacts?: {
97923
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
97924
+ id: string;
97925
+ metadata: {
97926
+ id: string;
97927
+ name: string;
97928
+ picture?: string | undefined;
97929
+ additionalCredentials?: any;
97930
+ };
97931
+ createdAt: Date;
97932
+ updatedAt: Date;
97933
+ deletedAt: Date | null;
97934
+ channelId: string;
97935
+ socialPlatformId: string;
97936
+ }[] | undefined;
97937
+ activityLogs?: {
97938
+ id: string;
97939
+ description: string;
97940
+ createdAt: Date;
97941
+ updatedAt: Date;
97942
+ deletedAt: Date | null;
97943
+ entityId: string;
97944
+ entityType: {
97945
+ id: string;
97946
+ description: string | null;
97947
+ createdAt: Date;
97948
+ updatedAt: Date;
97949
+ deletedAt: Date | null;
97950
+ entity: string;
97951
+ };
97952
+ }[] | undefined;
97953
+ };
97954
+ channelId: string;
97955
+ socialPlatformId: string;
97956
+ };
97957
+ assignee: {
97958
+ id: string;
97959
+ address: string | null;
98007
97960
  name: string;
97961
+ email: string;
98008
97962
  createdAt: Date;
98009
97963
  updatedAt: Date;
98010
97964
  deletedAt: Date | null;
98011
- isActive: boolean;
97965
+ emailVerifiedAt: Date | null;
97966
+ password: string;
97967
+ phone: string | null;
97968
+ notificationCount: number | null;
97969
+ roles: {
97970
+ id: string;
97971
+ description: string | null;
97972
+ createdAt: Date;
97973
+ updatedAt: Date;
97974
+ deletedAt: Date | null;
97975
+ systemName: string;
97976
+ displayName: string;
97977
+ permissions: {
97978
+ id: string;
97979
+ description: string | null;
97980
+ createdAt: Date;
97981
+ updatedAt: Date;
97982
+ deletedAt: Date | null;
97983
+ systemName: string;
97984
+ displayName: string;
97985
+ }[];
97986
+ }[];
97987
+ extension: {
97988
+ id: string;
97989
+ createdAt: Date;
97990
+ updatedAt: Date;
97991
+ deletedAt: Date | null;
97992
+ userId: string | null;
97993
+ sipServerUrl: string;
97994
+ sipUserName: string;
97995
+ webphoneLoginUser: string;
97996
+ extensionId: string | null;
97997
+ extensionName: string;
97998
+ telephonySignature: string | null;
97999
+ };
98012
98000
  };
98013
- cxlog?: {
98001
+ closedAt: Date;
98002
+ lastMessageAt: Date | null;
98003
+ isBotRoom: boolean;
98004
+ cxlog: {
98014
98005
  id: string;
98015
98006
  channel: string | null;
98016
98007
  direction: string | null;
@@ -98095,7 +98086,16 @@ export declare const mainChatContract: {
98095
98086
  deletedAt: Date | null;
98096
98087
  } | null | undefined;
98097
98088
  }[] | null | undefined;
98098
- } | null | undefined;
98089
+ };
98090
+ workflowRule: {
98091
+ type: string;
98092
+ id: string;
98093
+ name: string;
98094
+ createdAt: Date;
98095
+ updatedAt: Date;
98096
+ deletedAt: Date | null;
98097
+ isActive: boolean;
98098
+ };
98099
98099
  automationQueueId?: string | null | undefined;
98100
98100
  }, {
98101
98101
  id: string;
@@ -98419,16 +98419,7 @@ export declare const mainChatContract: {
98419
98419
  closedAt: Date;
98420
98420
  lastMessageAt: Date | null;
98421
98421
  isBotRoom: boolean;
98422
- workflowRule: {
98423
- type: string;
98424
- id: string;
98425
- name: string;
98426
- createdAt: Date;
98427
- updatedAt: Date;
98428
- deletedAt: Date | null;
98429
- isActive: boolean;
98430
- };
98431
- cxlog?: {
98422
+ cxlog: {
98432
98423
  id: string;
98433
98424
  channel: string | null;
98434
98425
  direction: string | null;
@@ -98513,7 +98504,16 @@ export declare const mainChatContract: {
98513
98504
  deletedAt: Date | null;
98514
98505
  } | null | undefined;
98515
98506
  }[] | null | undefined;
98516
- } | null | undefined;
98507
+ };
98508
+ workflowRule: {
98509
+ type: string;
98510
+ id: string;
98511
+ name: string;
98512
+ createdAt: Date;
98513
+ updatedAt: Date;
98514
+ deletedAt: Date | null;
98515
+ isActive: boolean;
98516
+ };
98517
98517
  automationQueueId?: string | null | undefined;
98518
98518
  }>;
98519
98519
  }, "strip", z.ZodTypeAny, {
@@ -98839,16 +98839,7 @@ export declare const mainChatContract: {
98839
98839
  closedAt: Date;
98840
98840
  lastMessageAt: Date | null;
98841
98841
  isBotRoom: boolean;
98842
- workflowRule: {
98843
- type: string;
98844
- id: string;
98845
- name: string;
98846
- createdAt: Date;
98847
- updatedAt: Date;
98848
- deletedAt: Date | null;
98849
- isActive: boolean;
98850
- };
98851
- cxlog?: {
98842
+ cxlog: {
98852
98843
  id: string;
98853
98844
  channel: string | null;
98854
98845
  direction: string | null;
@@ -98933,7 +98924,16 @@ export declare const mainChatContract: {
98933
98924
  deletedAt: Date | null;
98934
98925
  } | null | undefined;
98935
98926
  }[] | null | undefined;
98936
- } | null | undefined;
98927
+ };
98928
+ workflowRule: {
98929
+ type: string;
98930
+ id: string;
98931
+ name: string;
98932
+ createdAt: Date;
98933
+ updatedAt: Date;
98934
+ deletedAt: Date | null;
98935
+ isActive: boolean;
98936
+ };
98937
98937
  automationQueueId?: string | null | undefined;
98938
98938
  };
98939
98939
  requestId: string;
@@ -99260,16 +99260,7 @@ export declare const mainChatContract: {
99260
99260
  closedAt: Date;
99261
99261
  lastMessageAt: Date | null;
99262
99262
  isBotRoom: boolean;
99263
- workflowRule: {
99264
- type: string;
99265
- id: string;
99266
- name: string;
99267
- createdAt: Date;
99268
- updatedAt: Date;
99269
- deletedAt: Date | null;
99270
- isActive: boolean;
99271
- };
99272
- cxlog?: {
99263
+ cxlog: {
99273
99264
  id: string;
99274
99265
  channel: string | null;
99275
99266
  direction: string | null;
@@ -99354,7 +99345,16 @@ export declare const mainChatContract: {
99354
99345
  deletedAt: Date | null;
99355
99346
  } | null | undefined;
99356
99347
  }[] | null | undefined;
99357
- } | null | undefined;
99348
+ };
99349
+ workflowRule: {
99350
+ type: string;
99351
+ id: string;
99352
+ name: string;
99353
+ createdAt: Date;
99354
+ updatedAt: Date;
99355
+ deletedAt: Date | null;
99356
+ isActive: boolean;
99357
+ };
99358
99358
  automationQueueId?: string | null | undefined;
99359
99359
  };
99360
99360
  requestId: string;
@@ -101426,7 +101426,7 @@ export declare const initiateMessageContract: {
101426
101426
  integrationId: string;
101427
101427
  } | null;
101428
101428
  }>;
101429
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
101429
+ cxlog: z.ZodObject<{
101430
101430
  id: z.ZodString;
101431
101431
  createdAt: z.ZodDate;
101432
101432
  updatedAt: z.ZodDate;
@@ -101941,7 +101941,7 @@ export declare const initiateMessageContract: {
101941
101941
  deletedAt: Date | null;
101942
101942
  } | null | undefined;
101943
101943
  }[] | null | undefined;
101944
- }>>>;
101944
+ }>;
101945
101945
  workflowRule: z.ZodObject<{
101946
101946
  id: z.ZodString;
101947
101947
  createdAt: z.ZodDate;
@@ -102290,16 +102290,7 @@ export declare const initiateMessageContract: {
102290
102290
  closedAt: Date;
102291
102291
  lastMessageAt: Date | null;
102292
102292
  isBotRoom: boolean;
102293
- workflowRule: {
102294
- type: string;
102295
- id: string;
102296
- name: string;
102297
- createdAt: Date;
102298
- updatedAt: Date;
102299
- deletedAt: Date | null;
102300
- isActive: boolean;
102301
- };
102302
- cxlog?: {
102293
+ cxlog: {
102303
102294
  id: string;
102304
102295
  channel: string | null;
102305
102296
  direction: string | null;
@@ -102384,7 +102375,16 @@ export declare const initiateMessageContract: {
102384
102375
  deletedAt: Date | null;
102385
102376
  } | null | undefined;
102386
102377
  }[] | null | undefined;
102387
- } | null | undefined;
102378
+ };
102379
+ workflowRule: {
102380
+ type: string;
102381
+ id: string;
102382
+ name: string;
102383
+ createdAt: Date;
102384
+ updatedAt: Date;
102385
+ deletedAt: Date | null;
102386
+ isActive: boolean;
102387
+ };
102388
102388
  automationQueueId?: string | null | undefined;
102389
102389
  }, {
102390
102390
  id: string;
@@ -102708,16 +102708,7 @@ export declare const initiateMessageContract: {
102708
102708
  closedAt: Date;
102709
102709
  lastMessageAt: Date | null;
102710
102710
  isBotRoom: boolean;
102711
- workflowRule: {
102712
- type: string;
102713
- id: string;
102714
- name: string;
102715
- createdAt: Date;
102716
- updatedAt: Date;
102717
- deletedAt: Date | null;
102718
- isActive: boolean;
102719
- };
102720
- cxlog?: {
102711
+ cxlog: {
102721
102712
  id: string;
102722
102713
  channel: string | null;
102723
102714
  direction: string | null;
@@ -102802,7 +102793,16 @@ export declare const initiateMessageContract: {
102802
102793
  deletedAt: Date | null;
102803
102794
  } | null | undefined;
102804
102795
  }[] | null | undefined;
102805
- } | null | undefined;
102796
+ };
102797
+ workflowRule: {
102798
+ type: string;
102799
+ id: string;
102800
+ name: string;
102801
+ createdAt: Date;
102802
+ updatedAt: Date;
102803
+ deletedAt: Date | null;
102804
+ isActive: boolean;
102805
+ };
102806
102806
  automationQueueId?: string | null | undefined;
102807
102807
  }>;
102808
102808
  upload: z.ZodObject<{
@@ -104899,16 +104899,7 @@ export declare const initiateMessageContract: {
104899
104899
  closedAt: Date;
104900
104900
  lastMessageAt: Date | null;
104901
104901
  isBotRoom: boolean;
104902
- workflowRule: {
104903
- type: string;
104904
- id: string;
104905
- name: string;
104906
- createdAt: Date;
104907
- updatedAt: Date;
104908
- deletedAt: Date | null;
104909
- isActive: boolean;
104910
- };
104911
- cxlog?: {
104902
+ cxlog: {
104912
104903
  id: string;
104913
104904
  channel: string | null;
104914
104905
  direction: string | null;
@@ -104993,7 +104984,16 @@ export declare const initiateMessageContract: {
104993
104984
  deletedAt: Date | null;
104994
104985
  } | null | undefined;
104995
104986
  }[] | null | undefined;
104996
- } | null | undefined;
104987
+ };
104988
+ workflowRule: {
104989
+ type: string;
104990
+ id: string;
104991
+ name: string;
104992
+ createdAt: Date;
104993
+ updatedAt: Date;
104994
+ deletedAt: Date | null;
104995
+ isActive: boolean;
104996
+ };
104997
104997
  automationQueueId?: string | null | undefined;
104998
104998
  };
104999
104999
  platformMessageId: string;
@@ -105654,16 +105654,7 @@ export declare const initiateMessageContract: {
105654
105654
  closedAt: Date;
105655
105655
  lastMessageAt: Date | null;
105656
105656
  isBotRoom: boolean;
105657
- workflowRule: {
105658
- type: string;
105659
- id: string;
105660
- name: string;
105661
- createdAt: Date;
105662
- updatedAt: Date;
105663
- deletedAt: Date | null;
105664
- isActive: boolean;
105665
- };
105666
- cxlog?: {
105657
+ cxlog: {
105667
105658
  id: string;
105668
105659
  channel: string | null;
105669
105660
  direction: string | null;
@@ -105748,7 +105739,16 @@ export declare const initiateMessageContract: {
105748
105739
  deletedAt: Date | null;
105749
105740
  } | null | undefined;
105750
105741
  }[] | null | undefined;
105751
- } | null | undefined;
105742
+ };
105743
+ workflowRule: {
105744
+ type: string;
105745
+ id: string;
105746
+ name: string;
105747
+ createdAt: Date;
105748
+ updatedAt: Date;
105749
+ deletedAt: Date | null;
105750
+ isActive: boolean;
105751
+ };
105752
105752
  automationQueueId?: string | null | undefined;
105753
105753
  };
105754
105754
  platformMessageId: string;
@@ -106411,16 +106411,7 @@ export declare const initiateMessageContract: {
106411
106411
  closedAt: Date;
106412
106412
  lastMessageAt: Date | null;
106413
106413
  isBotRoom: boolean;
106414
- workflowRule: {
106415
- type: string;
106416
- id: string;
106417
- name: string;
106418
- createdAt: Date;
106419
- updatedAt: Date;
106420
- deletedAt: Date | null;
106421
- isActive: boolean;
106422
- };
106423
- cxlog?: {
106414
+ cxlog: {
106424
106415
  id: string;
106425
106416
  channel: string | null;
106426
106417
  direction: string | null;
@@ -106505,7 +106496,16 @@ export declare const initiateMessageContract: {
106505
106496
  deletedAt: Date | null;
106506
106497
  } | null | undefined;
106507
106498
  }[] | null | undefined;
106508
- } | null | undefined;
106499
+ };
106500
+ workflowRule: {
106501
+ type: string;
106502
+ id: string;
106503
+ name: string;
106504
+ createdAt: Date;
106505
+ updatedAt: Date;
106506
+ deletedAt: Date | null;
106507
+ isActive: boolean;
106508
+ };
106509
106509
  automationQueueId?: string | null | undefined;
106510
106510
  };
106511
106511
  platformMessageId: string;
@@ -107169,16 +107169,7 @@ export declare const initiateMessageContract: {
107169
107169
  closedAt: Date;
107170
107170
  lastMessageAt: Date | null;
107171
107171
  isBotRoom: boolean;
107172
- workflowRule: {
107173
- type: string;
107174
- id: string;
107175
- name: string;
107176
- createdAt: Date;
107177
- updatedAt: Date;
107178
- deletedAt: Date | null;
107179
- isActive: boolean;
107180
- };
107181
- cxlog?: {
107172
+ cxlog: {
107182
107173
  id: string;
107183
107174
  channel: string | null;
107184
107175
  direction: string | null;
@@ -107263,7 +107254,16 @@ export declare const initiateMessageContract: {
107263
107254
  deletedAt: Date | null;
107264
107255
  } | null | undefined;
107265
107256
  }[] | null | undefined;
107266
- } | null | undefined;
107257
+ };
107258
+ workflowRule: {
107259
+ type: string;
107260
+ id: string;
107261
+ name: string;
107262
+ createdAt: Date;
107263
+ updatedAt: Date;
107264
+ deletedAt: Date | null;
107265
+ isActive: boolean;
107266
+ };
107267
107267
  automationQueueId?: string | null | undefined;
107268
107268
  };
107269
107269
  platformMessageId: string;
@@ -110394,7 +110394,7 @@ export declare const mainChatMessageContract: {
110394
110394
  integrationId: string;
110395
110395
  } | null;
110396
110396
  }>;
110397
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
110397
+ cxlog: z.ZodObject<{
110398
110398
  id: z.ZodString;
110399
110399
  createdAt: z.ZodDate;
110400
110400
  updatedAt: z.ZodDate;
@@ -110909,7 +110909,7 @@ export declare const mainChatMessageContract: {
110909
110909
  deletedAt: Date | null;
110910
110910
  } | null | undefined;
110911
110911
  }[] | null | undefined;
110912
- }>>>;
110912
+ }>;
110913
110913
  workflowRule: z.ZodObject<{
110914
110914
  id: z.ZodString;
110915
110915
  createdAt: z.ZodDate;
@@ -111258,16 +111258,7 @@ export declare const mainChatMessageContract: {
111258
111258
  closedAt: Date;
111259
111259
  lastMessageAt: Date | null;
111260
111260
  isBotRoom: boolean;
111261
- workflowRule: {
111262
- type: string;
111263
- id: string;
111264
- name: string;
111265
- createdAt: Date;
111266
- updatedAt: Date;
111267
- deletedAt: Date | null;
111268
- isActive: boolean;
111269
- };
111270
- cxlog?: {
111261
+ cxlog: {
111271
111262
  id: string;
111272
111263
  channel: string | null;
111273
111264
  direction: string | null;
@@ -111352,7 +111343,16 @@ export declare const mainChatMessageContract: {
111352
111343
  deletedAt: Date | null;
111353
111344
  } | null | undefined;
111354
111345
  }[] | null | undefined;
111355
- } | null | undefined;
111346
+ };
111347
+ workflowRule: {
111348
+ type: string;
111349
+ id: string;
111350
+ name: string;
111351
+ createdAt: Date;
111352
+ updatedAt: Date;
111353
+ deletedAt: Date | null;
111354
+ isActive: boolean;
111355
+ };
111356
111356
  automationQueueId?: string | null | undefined;
111357
111357
  }, {
111358
111358
  id: string;
@@ -111676,16 +111676,7 @@ export declare const mainChatMessageContract: {
111676
111676
  closedAt: Date;
111677
111677
  lastMessageAt: Date | null;
111678
111678
  isBotRoom: boolean;
111679
- workflowRule: {
111680
- type: string;
111681
- id: string;
111682
- name: string;
111683
- createdAt: Date;
111684
- updatedAt: Date;
111685
- deletedAt: Date | null;
111686
- isActive: boolean;
111687
- };
111688
- cxlog?: {
111679
+ cxlog: {
111689
111680
  id: string;
111690
111681
  channel: string | null;
111691
111682
  direction: string | null;
@@ -111770,7 +111761,16 @@ export declare const mainChatMessageContract: {
111770
111761
  deletedAt: Date | null;
111771
111762
  } | null | undefined;
111772
111763
  }[] | null | undefined;
111773
- } | null | undefined;
111764
+ };
111765
+ workflowRule: {
111766
+ type: string;
111767
+ id: string;
111768
+ name: string;
111769
+ createdAt: Date;
111770
+ updatedAt: Date;
111771
+ deletedAt: Date | null;
111772
+ isActive: boolean;
111773
+ };
111774
111774
  automationQueueId?: string | null | undefined;
111775
111775
  }>;
111776
111776
  platformMessageId: z.ZodString;
@@ -115008,7 +115008,7 @@ export declare const mainChatMessageContract: {
115008
115008
  integrationId: string;
115009
115009
  } | null;
115010
115010
  }>;
115011
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
115011
+ cxlog: z.ZodObject<{
115012
115012
  id: z.ZodString;
115013
115013
  createdAt: z.ZodDate;
115014
115014
  updatedAt: z.ZodDate;
@@ -115523,7 +115523,7 @@ export declare const mainChatMessageContract: {
115523
115523
  deletedAt: Date | null;
115524
115524
  } | null | undefined;
115525
115525
  }[] | null | undefined;
115526
- }>>>;
115526
+ }>;
115527
115527
  workflowRule: z.ZodObject<{
115528
115528
  id: z.ZodString;
115529
115529
  createdAt: z.ZodDate;
@@ -115872,16 +115872,7 @@ export declare const mainChatMessageContract: {
115872
115872
  closedAt: Date;
115873
115873
  lastMessageAt: Date | null;
115874
115874
  isBotRoom: boolean;
115875
- workflowRule: {
115876
- type: string;
115877
- id: string;
115878
- name: string;
115879
- createdAt: Date;
115880
- updatedAt: Date;
115881
- deletedAt: Date | null;
115882
- isActive: boolean;
115883
- };
115884
- cxlog?: {
115875
+ cxlog: {
115885
115876
  id: string;
115886
115877
  channel: string | null;
115887
115878
  direction: string | null;
@@ -115966,7 +115957,16 @@ export declare const mainChatMessageContract: {
115966
115957
  deletedAt: Date | null;
115967
115958
  } | null | undefined;
115968
115959
  }[] | null | undefined;
115969
- } | null | undefined;
115960
+ };
115961
+ workflowRule: {
115962
+ type: string;
115963
+ id: string;
115964
+ name: string;
115965
+ createdAt: Date;
115966
+ updatedAt: Date;
115967
+ deletedAt: Date | null;
115968
+ isActive: boolean;
115969
+ };
115970
115970
  automationQueueId?: string | null | undefined;
115971
115971
  }, {
115972
115972
  id: string;
@@ -116290,16 +116290,7 @@ export declare const mainChatMessageContract: {
116290
116290
  closedAt: Date;
116291
116291
  lastMessageAt: Date | null;
116292
116292
  isBotRoom: boolean;
116293
- workflowRule: {
116294
- type: string;
116295
- id: string;
116296
- name: string;
116297
- createdAt: Date;
116298
- updatedAt: Date;
116299
- deletedAt: Date | null;
116300
- isActive: boolean;
116301
- };
116302
- cxlog?: {
116293
+ cxlog: {
116303
116294
  id: string;
116304
116295
  channel: string | null;
116305
116296
  direction: string | null;
@@ -116384,7 +116375,16 @@ export declare const mainChatMessageContract: {
116384
116375
  deletedAt: Date | null;
116385
116376
  } | null | undefined;
116386
116377
  }[] | null | undefined;
116387
- } | null | undefined;
116378
+ };
116379
+ workflowRule: {
116380
+ type: string;
116381
+ id: string;
116382
+ name: string;
116383
+ createdAt: Date;
116384
+ updatedAt: Date;
116385
+ deletedAt: Date | null;
116386
+ isActive: boolean;
116387
+ };
116388
116388
  automationQueueId?: string | null | undefined;
116389
116389
  }>;
116390
116390
  upload: z.ZodObject<{
@@ -118481,16 +118481,7 @@ export declare const mainChatMessageContract: {
118481
118481
  closedAt: Date;
118482
118482
  lastMessageAt: Date | null;
118483
118483
  isBotRoom: boolean;
118484
- workflowRule: {
118485
- type: string;
118486
- id: string;
118487
- name: string;
118488
- createdAt: Date;
118489
- updatedAt: Date;
118490
- deletedAt: Date | null;
118491
- isActive: boolean;
118492
- };
118493
- cxlog?: {
118484
+ cxlog: {
118494
118485
  id: string;
118495
118486
  channel: string | null;
118496
118487
  direction: string | null;
@@ -118575,7 +118566,16 @@ export declare const mainChatMessageContract: {
118575
118566
  deletedAt: Date | null;
118576
118567
  } | null | undefined;
118577
118568
  }[] | null | undefined;
118578
- } | null | undefined;
118569
+ };
118570
+ workflowRule: {
118571
+ type: string;
118572
+ id: string;
118573
+ name: string;
118574
+ createdAt: Date;
118575
+ updatedAt: Date;
118576
+ deletedAt: Date | null;
118577
+ isActive: boolean;
118578
+ };
118579
118579
  automationQueueId?: string | null | undefined;
118580
118580
  };
118581
118581
  platformMessageId: string;
@@ -119236,16 +119236,7 @@ export declare const mainChatMessageContract: {
119236
119236
  closedAt: Date;
119237
119237
  lastMessageAt: Date | null;
119238
119238
  isBotRoom: boolean;
119239
- workflowRule: {
119240
- type: string;
119241
- id: string;
119242
- name: string;
119243
- createdAt: Date;
119244
- updatedAt: Date;
119245
- deletedAt: Date | null;
119246
- isActive: boolean;
119247
- };
119248
- cxlog?: {
119239
+ cxlog: {
119249
119240
  id: string;
119250
119241
  channel: string | null;
119251
119242
  direction: string | null;
@@ -119330,7 +119321,16 @@ export declare const mainChatMessageContract: {
119330
119321
  deletedAt: Date | null;
119331
119322
  } | null | undefined;
119332
119323
  }[] | null | undefined;
119333
- } | null | undefined;
119324
+ };
119325
+ workflowRule: {
119326
+ type: string;
119327
+ id: string;
119328
+ name: string;
119329
+ createdAt: Date;
119330
+ updatedAt: Date;
119331
+ deletedAt: Date | null;
119332
+ isActive: boolean;
119333
+ };
119334
119334
  automationQueueId?: string | null | undefined;
119335
119335
  };
119336
119336
  platformMessageId: string;
@@ -119992,16 +119992,7 @@ export declare const mainChatMessageContract: {
119992
119992
  closedAt: Date;
119993
119993
  lastMessageAt: Date | null;
119994
119994
  isBotRoom: boolean;
119995
- workflowRule: {
119996
- type: string;
119997
- id: string;
119998
- name: string;
119999
- createdAt: Date;
120000
- updatedAt: Date;
120001
- deletedAt: Date | null;
120002
- isActive: boolean;
120003
- };
120004
- cxlog?: {
119995
+ cxlog: {
120005
119996
  id: string;
120006
119997
  channel: string | null;
120007
119998
  direction: string | null;
@@ -120086,7 +120077,16 @@ export declare const mainChatMessageContract: {
120086
120077
  deletedAt: Date | null;
120087
120078
  } | null | undefined;
120088
120079
  }[] | null | undefined;
120089
- } | null | undefined;
120080
+ };
120081
+ workflowRule: {
120082
+ type: string;
120083
+ id: string;
120084
+ name: string;
120085
+ createdAt: Date;
120086
+ updatedAt: Date;
120087
+ deletedAt: Date | null;
120088
+ isActive: boolean;
120089
+ };
120090
120090
  automationQueueId?: string | null | undefined;
120091
120091
  };
120092
120092
  platformMessageId: string;
@@ -120747,16 +120747,7 @@ export declare const mainChatMessageContract: {
120747
120747
  closedAt: Date;
120748
120748
  lastMessageAt: Date | null;
120749
120749
  isBotRoom: boolean;
120750
- workflowRule: {
120751
- type: string;
120752
- id: string;
120753
- name: string;
120754
- createdAt: Date;
120755
- updatedAt: Date;
120756
- deletedAt: Date | null;
120757
- isActive: boolean;
120758
- };
120759
- cxlog?: {
120750
+ cxlog: {
120760
120751
  id: string;
120761
120752
  channel: string | null;
120762
120753
  direction: string | null;
@@ -120841,7 +120832,16 @@ export declare const mainChatMessageContract: {
120841
120832
  deletedAt: Date | null;
120842
120833
  } | null | undefined;
120843
120834
  }[] | null | undefined;
120844
- } | null | undefined;
120835
+ };
120836
+ workflowRule: {
120837
+ type: string;
120838
+ id: string;
120839
+ name: string;
120840
+ createdAt: Date;
120841
+ updatedAt: Date;
120842
+ deletedAt: Date | null;
120843
+ isActive: boolean;
120844
+ };
120845
120845
  automationQueueId?: string | null | undefined;
120846
120846
  };
120847
120847
  platformMessageId: string;
@@ -121503,16 +121503,7 @@ export declare const mainChatMessageContract: {
121503
121503
  closedAt: Date;
121504
121504
  lastMessageAt: Date | null;
121505
121505
  isBotRoom: boolean;
121506
- workflowRule: {
121507
- type: string;
121508
- id: string;
121509
- name: string;
121510
- createdAt: Date;
121511
- updatedAt: Date;
121512
- deletedAt: Date | null;
121513
- isActive: boolean;
121514
- };
121515
- cxlog?: {
121506
+ cxlog: {
121516
121507
  id: string;
121517
121508
  channel: string | null;
121518
121509
  direction: string | null;
@@ -121597,7 +121588,16 @@ export declare const mainChatMessageContract: {
121597
121588
  deletedAt: Date | null;
121598
121589
  } | null | undefined;
121599
121590
  }[] | null | undefined;
121600
- } | null | undefined;
121591
+ };
121592
+ workflowRule: {
121593
+ type: string;
121594
+ id: string;
121595
+ name: string;
121596
+ createdAt: Date;
121597
+ updatedAt: Date;
121598
+ deletedAt: Date | null;
121599
+ isActive: boolean;
121600
+ };
121601
121601
  automationQueueId?: string | null | undefined;
121602
121602
  };
121603
121603
  platformMessageId: string;
@@ -122258,16 +122258,7 @@ export declare const mainChatMessageContract: {
122258
122258
  closedAt: Date;
122259
122259
  lastMessageAt: Date | null;
122260
122260
  isBotRoom: boolean;
122261
- workflowRule: {
122262
- type: string;
122263
- id: string;
122264
- name: string;
122265
- createdAt: Date;
122266
- updatedAt: Date;
122267
- deletedAt: Date | null;
122268
- isActive: boolean;
122269
- };
122270
- cxlog?: {
122261
+ cxlog: {
122271
122262
  id: string;
122272
122263
  channel: string | null;
122273
122264
  direction: string | null;
@@ -122352,7 +122343,16 @@ export declare const mainChatMessageContract: {
122352
122343
  deletedAt: Date | null;
122353
122344
  } | null | undefined;
122354
122345
  }[] | null | undefined;
122355
- } | null | undefined;
122346
+ };
122347
+ workflowRule: {
122348
+ type: string;
122349
+ id: string;
122350
+ name: string;
122351
+ createdAt: Date;
122352
+ updatedAt: Date;
122353
+ deletedAt: Date | null;
122354
+ isActive: boolean;
122355
+ };
122356
122356
  automationQueueId?: string | null | undefined;
122357
122357
  };
122358
122358
  platformMessageId: string;
@@ -123016,16 +123016,7 @@ export declare const mainChatMessageContract: {
123016
123016
  closedAt: Date;
123017
123017
  lastMessageAt: Date | null;
123018
123018
  isBotRoom: boolean;
123019
- workflowRule: {
123020
- type: string;
123021
- id: string;
123022
- name: string;
123023
- createdAt: Date;
123024
- updatedAt: Date;
123025
- deletedAt: Date | null;
123026
- isActive: boolean;
123027
- };
123028
- cxlog?: {
123019
+ cxlog: {
123029
123020
  id: string;
123030
123021
  channel: string | null;
123031
123022
  direction: string | null;
@@ -123110,7 +123101,16 @@ export declare const mainChatMessageContract: {
123110
123101
  deletedAt: Date | null;
123111
123102
  } | null | undefined;
123112
123103
  }[] | null | undefined;
123113
- } | null | undefined;
123104
+ };
123105
+ workflowRule: {
123106
+ type: string;
123107
+ id: string;
123108
+ name: string;
123109
+ createdAt: Date;
123110
+ updatedAt: Date;
123111
+ deletedAt: Date | null;
123112
+ isActive: boolean;
123113
+ };
123114
123114
  automationQueueId?: string | null | undefined;
123115
123115
  };
123116
123116
  platformMessageId: string;
@@ -123771,16 +123771,7 @@ export declare const mainChatMessageContract: {
123771
123771
  closedAt: Date;
123772
123772
  lastMessageAt: Date | null;
123773
123773
  isBotRoom: boolean;
123774
- workflowRule: {
123775
- type: string;
123776
- id: string;
123777
- name: string;
123778
- createdAt: Date;
123779
- updatedAt: Date;
123780
- deletedAt: Date | null;
123781
- isActive: boolean;
123782
- };
123783
- cxlog?: {
123774
+ cxlog: {
123784
123775
  id: string;
123785
123776
  channel: string | null;
123786
123777
  direction: string | null;
@@ -123865,7 +123856,16 @@ export declare const mainChatMessageContract: {
123865
123856
  deletedAt: Date | null;
123866
123857
  } | null | undefined;
123867
123858
  }[] | null | undefined;
123868
- } | null | undefined;
123859
+ };
123860
+ workflowRule: {
123861
+ type: string;
123862
+ id: string;
123863
+ name: string;
123864
+ createdAt: Date;
123865
+ updatedAt: Date;
123866
+ deletedAt: Date | null;
123867
+ isActive: boolean;
123868
+ };
123869
123869
  automationQueueId?: string | null | undefined;
123870
123870
  };
123871
123871
  platformMessageId: string;
@@ -124530,16 +124530,7 @@ export declare const mainChatMessageContract: {
124530
124530
  closedAt: Date;
124531
124531
  lastMessageAt: Date | null;
124532
124532
  isBotRoom: boolean;
124533
- workflowRule: {
124534
- type: string;
124535
- id: string;
124536
- name: string;
124537
- createdAt: Date;
124538
- updatedAt: Date;
124539
- deletedAt: Date | null;
124540
- isActive: boolean;
124541
- };
124542
- cxlog?: {
124533
+ cxlog: {
124543
124534
  id: string;
124544
124535
  channel: string | null;
124545
124536
  direction: string | null;
@@ -124624,7 +124615,16 @@ export declare const mainChatMessageContract: {
124624
124615
  deletedAt: Date | null;
124625
124616
  } | null | undefined;
124626
124617
  }[] | null | undefined;
124627
- } | null | undefined;
124618
+ };
124619
+ workflowRule: {
124620
+ type: string;
124621
+ id: string;
124622
+ name: string;
124623
+ createdAt: Date;
124624
+ updatedAt: Date;
124625
+ deletedAt: Date | null;
124626
+ isActive: boolean;
124627
+ };
124628
124628
  automationQueueId?: string | null | undefined;
124629
124629
  };
124630
124630
  platformMessageId: string;
@@ -125285,16 +125285,7 @@ export declare const mainChatMessageContract: {
125285
125285
  closedAt: Date;
125286
125286
  lastMessageAt: Date | null;
125287
125287
  isBotRoom: boolean;
125288
- workflowRule: {
125289
- type: string;
125290
- id: string;
125291
- name: string;
125292
- createdAt: Date;
125293
- updatedAt: Date;
125294
- deletedAt: Date | null;
125295
- isActive: boolean;
125296
- };
125297
- cxlog?: {
125288
+ cxlog: {
125298
125289
  id: string;
125299
125290
  channel: string | null;
125300
125291
  direction: string | null;
@@ -125379,7 +125370,16 @@ export declare const mainChatMessageContract: {
125379
125370
  deletedAt: Date | null;
125380
125371
  } | null | undefined;
125381
125372
  }[] | null | undefined;
125382
- } | null | undefined;
125373
+ };
125374
+ workflowRule: {
125375
+ type: string;
125376
+ id: string;
125377
+ name: string;
125378
+ createdAt: Date;
125379
+ updatedAt: Date;
125380
+ deletedAt: Date | null;
125381
+ isActive: boolean;
125382
+ };
125383
125383
  automationQueueId?: string | null | undefined;
125384
125384
  };
125385
125385
  platformMessageId: string;
@@ -128490,7 +128490,7 @@ export declare const mainChatMessageContract: {
128490
128490
  integrationId: string;
128491
128491
  } | null;
128492
128492
  }>;
128493
- cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
128493
+ cxlog: z.ZodObject<{
128494
128494
  id: z.ZodString;
128495
128495
  createdAt: z.ZodDate;
128496
128496
  updatedAt: z.ZodDate;
@@ -129005,7 +129005,7 @@ export declare const mainChatMessageContract: {
129005
129005
  deletedAt: Date | null;
129006
129006
  } | null | undefined;
129007
129007
  }[] | null | undefined;
129008
- }>>>;
129008
+ }>;
129009
129009
  workflowRule: z.ZodObject<{
129010
129010
  id: z.ZodString;
129011
129011
  createdAt: z.ZodDate;
@@ -129354,16 +129354,7 @@ export declare const mainChatMessageContract: {
129354
129354
  closedAt: Date;
129355
129355
  lastMessageAt: Date | null;
129356
129356
  isBotRoom: boolean;
129357
- workflowRule: {
129358
- type: string;
129359
- id: string;
129360
- name: string;
129361
- createdAt: Date;
129362
- updatedAt: Date;
129363
- deletedAt: Date | null;
129364
- isActive: boolean;
129365
- };
129366
- cxlog?: {
129357
+ cxlog: {
129367
129358
  id: string;
129368
129359
  channel: string | null;
129369
129360
  direction: string | null;
@@ -129448,7 +129439,16 @@ export declare const mainChatMessageContract: {
129448
129439
  deletedAt: Date | null;
129449
129440
  } | null | undefined;
129450
129441
  }[] | null | undefined;
129451
- } | null | undefined;
129442
+ };
129443
+ workflowRule: {
129444
+ type: string;
129445
+ id: string;
129446
+ name: string;
129447
+ createdAt: Date;
129448
+ updatedAt: Date;
129449
+ deletedAt: Date | null;
129450
+ isActive: boolean;
129451
+ };
129452
129452
  automationQueueId?: string | null | undefined;
129453
129453
  }, {
129454
129454
  id: string;
@@ -129772,16 +129772,7 @@ export declare const mainChatMessageContract: {
129772
129772
  closedAt: Date;
129773
129773
  lastMessageAt: Date | null;
129774
129774
  isBotRoom: boolean;
129775
- workflowRule: {
129776
- type: string;
129777
- id: string;
129778
- name: string;
129779
- createdAt: Date;
129780
- updatedAt: Date;
129781
- deletedAt: Date | null;
129782
- isActive: boolean;
129783
- };
129784
- cxlog?: {
129775
+ cxlog: {
129785
129776
  id: string;
129786
129777
  channel: string | null;
129787
129778
  direction: string | null;
@@ -129866,7 +129857,16 @@ export declare const mainChatMessageContract: {
129866
129857
  deletedAt: Date | null;
129867
129858
  } | null | undefined;
129868
129859
  }[] | null | undefined;
129869
- } | null | undefined;
129860
+ };
129861
+ workflowRule: {
129862
+ type: string;
129863
+ id: string;
129864
+ name: string;
129865
+ createdAt: Date;
129866
+ updatedAt: Date;
129867
+ deletedAt: Date | null;
129868
+ isActive: boolean;
129869
+ };
129870
129870
  automationQueueId?: string | null | undefined;
129871
129871
  }>;
129872
129872
  upload: z.ZodObject<{
@@ -131963,16 +131963,7 @@ export declare const mainChatMessageContract: {
131963
131963
  closedAt: Date;
131964
131964
  lastMessageAt: Date | null;
131965
131965
  isBotRoom: boolean;
131966
- workflowRule: {
131967
- type: string;
131968
- id: string;
131969
- name: string;
131970
- createdAt: Date;
131971
- updatedAt: Date;
131972
- deletedAt: Date | null;
131973
- isActive: boolean;
131974
- };
131975
- cxlog?: {
131966
+ cxlog: {
131976
131967
  id: string;
131977
131968
  channel: string | null;
131978
131969
  direction: string | null;
@@ -132057,7 +132048,16 @@ export declare const mainChatMessageContract: {
132057
132048
  deletedAt: Date | null;
132058
132049
  } | null | undefined;
132059
132050
  }[] | null | undefined;
132060
- } | null | undefined;
132051
+ };
132052
+ workflowRule: {
132053
+ type: string;
132054
+ id: string;
132055
+ name: string;
132056
+ createdAt: Date;
132057
+ updatedAt: Date;
132058
+ deletedAt: Date | null;
132059
+ isActive: boolean;
132060
+ };
132061
132061
  automationQueueId?: string | null | undefined;
132062
132062
  };
132063
132063
  platformMessageId: string;
@@ -132718,16 +132718,7 @@ export declare const mainChatMessageContract: {
132718
132718
  closedAt: Date;
132719
132719
  lastMessageAt: Date | null;
132720
132720
  isBotRoom: boolean;
132721
- workflowRule: {
132722
- type: string;
132723
- id: string;
132724
- name: string;
132725
- createdAt: Date;
132726
- updatedAt: Date;
132727
- deletedAt: Date | null;
132728
- isActive: boolean;
132729
- };
132730
- cxlog?: {
132721
+ cxlog: {
132731
132722
  id: string;
132732
132723
  channel: string | null;
132733
132724
  direction: string | null;
@@ -132812,7 +132803,16 @@ export declare const mainChatMessageContract: {
132812
132803
  deletedAt: Date | null;
132813
132804
  } | null | undefined;
132814
132805
  }[] | null | undefined;
132815
- } | null | undefined;
132806
+ };
132807
+ workflowRule: {
132808
+ type: string;
132809
+ id: string;
132810
+ name: string;
132811
+ createdAt: Date;
132812
+ updatedAt: Date;
132813
+ deletedAt: Date | null;
132814
+ isActive: boolean;
132815
+ };
132816
132816
  automationQueueId?: string | null | undefined;
132817
132817
  };
132818
132818
  platformMessageId: string;
@@ -133475,16 +133475,7 @@ export declare const mainChatMessageContract: {
133475
133475
  closedAt: Date;
133476
133476
  lastMessageAt: Date | null;
133477
133477
  isBotRoom: boolean;
133478
- workflowRule: {
133479
- type: string;
133480
- id: string;
133481
- name: string;
133482
- createdAt: Date;
133483
- updatedAt: Date;
133484
- deletedAt: Date | null;
133485
- isActive: boolean;
133486
- };
133487
- cxlog?: {
133478
+ cxlog: {
133488
133479
  id: string;
133489
133480
  channel: string | null;
133490
133481
  direction: string | null;
@@ -133569,7 +133560,16 @@ export declare const mainChatMessageContract: {
133569
133560
  deletedAt: Date | null;
133570
133561
  } | null | undefined;
133571
133562
  }[] | null | undefined;
133572
- } | null | undefined;
133563
+ };
133564
+ workflowRule: {
133565
+ type: string;
133566
+ id: string;
133567
+ name: string;
133568
+ createdAt: Date;
133569
+ updatedAt: Date;
133570
+ deletedAt: Date | null;
133571
+ isActive: boolean;
133572
+ };
133573
133573
  automationQueueId?: string | null | undefined;
133574
133574
  };
133575
133575
  platformMessageId: string;
@@ -134233,16 +134233,7 @@ export declare const mainChatMessageContract: {
134233
134233
  closedAt: Date;
134234
134234
  lastMessageAt: Date | null;
134235
134235
  isBotRoom: boolean;
134236
- workflowRule: {
134237
- type: string;
134238
- id: string;
134239
- name: string;
134240
- createdAt: Date;
134241
- updatedAt: Date;
134242
- deletedAt: Date | null;
134243
- isActive: boolean;
134244
- };
134245
- cxlog?: {
134236
+ cxlog: {
134246
134237
  id: string;
134247
134238
  channel: string | null;
134248
134239
  direction: string | null;
@@ -134327,7 +134318,16 @@ export declare const mainChatMessageContract: {
134327
134318
  deletedAt: Date | null;
134328
134319
  } | null | undefined;
134329
134320
  }[] | null | undefined;
134330
- } | null | undefined;
134321
+ };
134322
+ workflowRule: {
134323
+ type: string;
134324
+ id: string;
134325
+ name: string;
134326
+ createdAt: Date;
134327
+ updatedAt: Date;
134328
+ deletedAt: Date | null;
134329
+ isActive: boolean;
134330
+ };
134331
134331
  automationQueueId?: string | null | undefined;
134332
134332
  };
134333
134333
  platformMessageId: string;