@kl1/contracts 1.1.24 → 1.1.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6590,6 +6590,31 @@ export declare const mainChatContract: {
6590
6590
  note: string | null;
6591
6591
  } | null;
6592
6592
  }>;
6593
+ workflowRule: z.ZodObject<{
6594
+ id: z.ZodString;
6595
+ createdAt: z.ZodDate;
6596
+ updatedAt: z.ZodDate;
6597
+ deletedAt: z.ZodNullable<z.ZodDate>;
6598
+ name: z.ZodString;
6599
+ isActive: z.ZodBoolean;
6600
+ type: z.ZodString;
6601
+ }, "strip", z.ZodTypeAny, {
6602
+ type: string;
6603
+ id: string;
6604
+ name: string;
6605
+ createdAt: Date;
6606
+ updatedAt: Date;
6607
+ deletedAt: Date | null;
6608
+ isActive: boolean;
6609
+ }, {
6610
+ type: string;
6611
+ id: string;
6612
+ name: string;
6613
+ createdAt: Date;
6614
+ updatedAt: Date;
6615
+ deletedAt: Date | null;
6616
+ isActive: boolean;
6617
+ }>;
6593
6618
  }, "strip", z.ZodTypeAny, {
6594
6619
  id: string;
6595
6620
  channel: {
@@ -6904,6 +6929,15 @@ export declare const mainChatContract: {
6904
6929
  note: string | null;
6905
6930
  } | null;
6906
6931
  };
6932
+ workflowRule: {
6933
+ type: string;
6934
+ id: string;
6935
+ name: string;
6936
+ createdAt: Date;
6937
+ updatedAt: Date;
6938
+ deletedAt: Date | null;
6939
+ isActive: boolean;
6940
+ };
6907
6941
  }, {
6908
6942
  id: string;
6909
6943
  channel: {
@@ -7218,6 +7252,15 @@ export declare const mainChatContract: {
7218
7252
  note: string | null;
7219
7253
  } | null;
7220
7254
  };
7255
+ workflowRule: {
7256
+ type: string;
7257
+ id: string;
7258
+ name: string;
7259
+ createdAt: Date;
7260
+ updatedAt: Date;
7261
+ deletedAt: Date | null;
7262
+ isActive: boolean;
7263
+ };
7221
7264
  }>, "many">;
7222
7265
  unreadCountsByAssignee: z.ZodArray<z.ZodObject<{
7223
7266
  assigneeId: z.ZodString;
@@ -7544,6 +7587,15 @@ export declare const mainChatContract: {
7544
7587
  note: string | null;
7545
7588
  } | null;
7546
7589
  };
7590
+ workflowRule: {
7591
+ type: string;
7592
+ id: string;
7593
+ name: string;
7594
+ createdAt: Date;
7595
+ updatedAt: Date;
7596
+ deletedAt: Date | null;
7597
+ isActive: boolean;
7598
+ };
7547
7599
  }[];
7548
7600
  total: number;
7549
7601
  page: number;
@@ -7868,6 +7920,15 @@ export declare const mainChatContract: {
7868
7920
  note: string | null;
7869
7921
  } | null;
7870
7922
  };
7923
+ workflowRule: {
7924
+ type: string;
7925
+ id: string;
7926
+ name: string;
7927
+ createdAt: Date;
7928
+ updatedAt: Date;
7929
+ deletedAt: Date | null;
7930
+ isActive: boolean;
7931
+ };
7871
7932
  }[];
7872
7933
  total: number;
7873
7934
  page: number;
@@ -10740,6 +10801,31 @@ export declare const mainChatContract: {
10740
10801
  note: string | null;
10741
10802
  } | null;
10742
10803
  }>;
10804
+ workflowRule: z.ZodObject<{
10805
+ id: z.ZodString;
10806
+ createdAt: z.ZodDate;
10807
+ updatedAt: z.ZodDate;
10808
+ deletedAt: z.ZodNullable<z.ZodDate>;
10809
+ name: z.ZodString;
10810
+ isActive: z.ZodBoolean;
10811
+ type: z.ZodString;
10812
+ }, "strip", z.ZodTypeAny, {
10813
+ type: string;
10814
+ id: string;
10815
+ name: string;
10816
+ createdAt: Date;
10817
+ updatedAt: Date;
10818
+ deletedAt: Date | null;
10819
+ isActive: boolean;
10820
+ }, {
10821
+ type: string;
10822
+ id: string;
10823
+ name: string;
10824
+ createdAt: Date;
10825
+ updatedAt: Date;
10826
+ deletedAt: Date | null;
10827
+ isActive: boolean;
10828
+ }>;
10743
10829
  }, "strip", z.ZodTypeAny, {
10744
10830
  id: string;
10745
10831
  channel: {
@@ -11054,6 +11140,15 @@ export declare const mainChatContract: {
11054
11140
  note: string | null;
11055
11141
  } | null;
11056
11142
  };
11143
+ workflowRule: {
11144
+ type: string;
11145
+ id: string;
11146
+ name: string;
11147
+ createdAt: Date;
11148
+ updatedAt: Date;
11149
+ deletedAt: Date | null;
11150
+ isActive: boolean;
11151
+ };
11057
11152
  }, {
11058
11153
  id: string;
11059
11154
  channel: {
@@ -11368,6 +11463,15 @@ export declare const mainChatContract: {
11368
11463
  note: string | null;
11369
11464
  } | null;
11370
11465
  };
11466
+ workflowRule: {
11467
+ type: string;
11468
+ id: string;
11469
+ name: string;
11470
+ createdAt: Date;
11471
+ updatedAt: Date;
11472
+ deletedAt: Date | null;
11473
+ isActive: boolean;
11474
+ };
11371
11475
  }>;
11372
11476
  }, "strip", z.ZodTypeAny, {
11373
11477
  data: {
@@ -11684,6 +11788,15 @@ export declare const mainChatContract: {
11684
11788
  note: string | null;
11685
11789
  } | null;
11686
11790
  };
11791
+ workflowRule: {
11792
+ type: string;
11793
+ id: string;
11794
+ name: string;
11795
+ createdAt: Date;
11796
+ updatedAt: Date;
11797
+ deletedAt: Date | null;
11798
+ isActive: boolean;
11799
+ };
11687
11800
  };
11688
11801
  requestId: string;
11689
11802
  }, {
@@ -12001,6 +12114,15 @@ export declare const mainChatContract: {
12001
12114
  note: string | null;
12002
12115
  } | null;
12003
12116
  };
12117
+ workflowRule: {
12118
+ type: string;
12119
+ id: string;
12120
+ name: string;
12121
+ createdAt: Date;
12122
+ updatedAt: Date;
12123
+ deletedAt: Date | null;
12124
+ isActive: boolean;
12125
+ };
12004
12126
  };
12005
12127
  requestId: string;
12006
12128
  }>;
@@ -14285,6 +14407,31 @@ export declare const mainChatContract: {
14285
14407
  note: string | null;
14286
14408
  } | null;
14287
14409
  }>;
14410
+ workflowRule: z.ZodObject<{
14411
+ id: z.ZodString;
14412
+ createdAt: z.ZodDate;
14413
+ updatedAt: z.ZodDate;
14414
+ deletedAt: z.ZodNullable<z.ZodDate>;
14415
+ name: z.ZodString;
14416
+ isActive: z.ZodBoolean;
14417
+ type: z.ZodString;
14418
+ }, "strip", z.ZodTypeAny, {
14419
+ type: string;
14420
+ id: string;
14421
+ name: string;
14422
+ createdAt: Date;
14423
+ updatedAt: Date;
14424
+ deletedAt: Date | null;
14425
+ isActive: boolean;
14426
+ }, {
14427
+ type: string;
14428
+ id: string;
14429
+ name: string;
14430
+ createdAt: Date;
14431
+ updatedAt: Date;
14432
+ deletedAt: Date | null;
14433
+ isActive: boolean;
14434
+ }>;
14288
14435
  }, "strip", z.ZodTypeAny, {
14289
14436
  id: string;
14290
14437
  channel: {
@@ -14599,6 +14746,15 @@ export declare const mainChatContract: {
14599
14746
  note: string | null;
14600
14747
  } | null;
14601
14748
  };
14749
+ workflowRule: {
14750
+ type: string;
14751
+ id: string;
14752
+ name: string;
14753
+ createdAt: Date;
14754
+ updatedAt: Date;
14755
+ deletedAt: Date | null;
14756
+ isActive: boolean;
14757
+ };
14602
14758
  }, {
14603
14759
  id: string;
14604
14760
  channel: {
@@ -14913,6 +15069,15 @@ export declare const mainChatContract: {
14913
15069
  note: string | null;
14914
15070
  } | null;
14915
15071
  };
15072
+ workflowRule: {
15073
+ type: string;
15074
+ id: string;
15075
+ name: string;
15076
+ createdAt: Date;
15077
+ updatedAt: Date;
15078
+ deletedAt: Date | null;
15079
+ isActive: boolean;
15080
+ };
14916
15081
  }>;
14917
15082
  upload: z.ZodObject<{
14918
15083
  id: z.ZodString;
@@ -16549,6 +16714,31 @@ export declare const mainChatContract: {
16549
16714
  telephonySignature: string | null;
16550
16715
  };
16551
16716
  }>;
16717
+ workflowRule: z.ZodObject<{
16718
+ id: z.ZodString;
16719
+ createdAt: z.ZodDate;
16720
+ updatedAt: z.ZodDate;
16721
+ deletedAt: z.ZodNullable<z.ZodDate>;
16722
+ name: z.ZodString;
16723
+ isActive: z.ZodBoolean;
16724
+ type: z.ZodString;
16725
+ }, "strip", z.ZodTypeAny, {
16726
+ type: string;
16727
+ id: string;
16728
+ name: string;
16729
+ createdAt: Date;
16730
+ updatedAt: Date;
16731
+ deletedAt: Date | null;
16732
+ isActive: boolean;
16733
+ }, {
16734
+ type: string;
16735
+ id: string;
16736
+ name: string;
16737
+ createdAt: Date;
16738
+ updatedAt: Date;
16739
+ deletedAt: Date | null;
16740
+ isActive: boolean;
16741
+ }>;
16552
16742
  }, "strip", z.ZodTypeAny, {
16553
16743
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
16554
16744
  message: string;
@@ -16973,6 +17163,24 @@ export declare const mainChatContract: {
16973
17163
  note: string | null;
16974
17164
  } | null;
16975
17165
  };
17166
+ workflowRule: {
17167
+ type: string;
17168
+ id: string;
17169
+ name: string;
17170
+ createdAt: Date;
17171
+ updatedAt: Date;
17172
+ deletedAt: Date | null;
17173
+ isActive: boolean;
17174
+ };
17175
+ };
17176
+ workflowRule: {
17177
+ type: string;
17178
+ id: string;
17179
+ name: string;
17180
+ createdAt: Date;
17181
+ updatedAt: Date;
17182
+ deletedAt: Date | null;
17183
+ isActive: boolean;
16976
17184
  };
16977
17185
  readAt: Date;
16978
17186
  platformMessageId: string;
@@ -17613,6 +17821,24 @@ export declare const mainChatContract: {
17613
17821
  note: string | null;
17614
17822
  } | null;
17615
17823
  };
17824
+ workflowRule: {
17825
+ type: string;
17826
+ id: string;
17827
+ name: string;
17828
+ createdAt: Date;
17829
+ updatedAt: Date;
17830
+ deletedAt: Date | null;
17831
+ isActive: boolean;
17832
+ };
17833
+ };
17834
+ workflowRule: {
17835
+ type: string;
17836
+ id: string;
17837
+ name: string;
17838
+ createdAt: Date;
17839
+ updatedAt: Date;
17840
+ deletedAt: Date | null;
17841
+ isActive: boolean;
17616
17842
  };
17617
17843
  readAt: Date;
17618
17844
  platformMessageId: string;
@@ -18255,6 +18481,24 @@ export declare const mainChatContract: {
18255
18481
  note: string | null;
18256
18482
  } | null;
18257
18483
  };
18484
+ workflowRule: {
18485
+ type: string;
18486
+ id: string;
18487
+ name: string;
18488
+ createdAt: Date;
18489
+ updatedAt: Date;
18490
+ deletedAt: Date | null;
18491
+ isActive: boolean;
18492
+ };
18493
+ };
18494
+ workflowRule: {
18495
+ type: string;
18496
+ id: string;
18497
+ name: string;
18498
+ createdAt: Date;
18499
+ updatedAt: Date;
18500
+ deletedAt: Date | null;
18501
+ isActive: boolean;
18258
18502
  };
18259
18503
  readAt: Date;
18260
18504
  platformMessageId: string;
@@ -18898,6 +19142,24 @@ export declare const mainChatContract: {
18898
19142
  note: string | null;
18899
19143
  } | null;
18900
19144
  };
19145
+ workflowRule: {
19146
+ type: string;
19147
+ id: string;
19148
+ name: string;
19149
+ createdAt: Date;
19150
+ updatedAt: Date;
19151
+ deletedAt: Date | null;
19152
+ isActive: boolean;
19153
+ };
19154
+ };
19155
+ workflowRule: {
19156
+ type: string;
19157
+ id: string;
19158
+ name: string;
19159
+ createdAt: Date;
19160
+ updatedAt: Date;
19161
+ deletedAt: Date | null;
19162
+ isActive: boolean;
18901
19163
  };
18902
19164
  readAt: Date;
18903
19165
  platformMessageId: string;
@@ -21128,6 +21390,31 @@ export declare const mainChatContract: {
21128
21390
  note: string | null;
21129
21391
  } | null;
21130
21392
  }>;
21393
+ workflowRule: z.ZodObject<{
21394
+ id: z.ZodString;
21395
+ createdAt: z.ZodDate;
21396
+ updatedAt: z.ZodDate;
21397
+ deletedAt: z.ZodNullable<z.ZodDate>;
21398
+ name: z.ZodString;
21399
+ isActive: z.ZodBoolean;
21400
+ type: z.ZodString;
21401
+ }, "strip", z.ZodTypeAny, {
21402
+ type: string;
21403
+ id: string;
21404
+ name: string;
21405
+ createdAt: Date;
21406
+ updatedAt: Date;
21407
+ deletedAt: Date | null;
21408
+ isActive: boolean;
21409
+ }, {
21410
+ type: string;
21411
+ id: string;
21412
+ name: string;
21413
+ createdAt: Date;
21414
+ updatedAt: Date;
21415
+ deletedAt: Date | null;
21416
+ isActive: boolean;
21417
+ }>;
21131
21418
  }, "strip", z.ZodTypeAny, {
21132
21419
  id: string;
21133
21420
  channel: {
@@ -21442,6 +21729,15 @@ export declare const mainChatContract: {
21442
21729
  note: string | null;
21443
21730
  } | null;
21444
21731
  };
21732
+ workflowRule: {
21733
+ type: string;
21734
+ id: string;
21735
+ name: string;
21736
+ createdAt: Date;
21737
+ updatedAt: Date;
21738
+ deletedAt: Date | null;
21739
+ isActive: boolean;
21740
+ };
21445
21741
  }, {
21446
21742
  id: string;
21447
21743
  channel: {
@@ -21756,6 +22052,15 @@ export declare const mainChatContract: {
21756
22052
  note: string | null;
21757
22053
  } | null;
21758
22054
  };
22055
+ workflowRule: {
22056
+ type: string;
22057
+ id: string;
22058
+ name: string;
22059
+ createdAt: Date;
22060
+ updatedAt: Date;
22061
+ deletedAt: Date | null;
22062
+ isActive: boolean;
22063
+ };
21759
22064
  }>;
21760
22065
  upload: z.ZodObject<{
21761
22066
  id: z.ZodString;
@@ -23392,6 +23697,31 @@ export declare const mainChatContract: {
23392
23697
  telephonySignature: string | null;
23393
23698
  };
23394
23699
  }>;
23700
+ workflowRule: z.ZodObject<{
23701
+ id: z.ZodString;
23702
+ createdAt: z.ZodDate;
23703
+ updatedAt: z.ZodDate;
23704
+ deletedAt: z.ZodNullable<z.ZodDate>;
23705
+ name: z.ZodString;
23706
+ isActive: z.ZodBoolean;
23707
+ type: z.ZodString;
23708
+ }, "strip", z.ZodTypeAny, {
23709
+ type: string;
23710
+ id: string;
23711
+ name: string;
23712
+ createdAt: Date;
23713
+ updatedAt: Date;
23714
+ deletedAt: Date | null;
23715
+ isActive: boolean;
23716
+ }, {
23717
+ type: string;
23718
+ id: string;
23719
+ name: string;
23720
+ createdAt: Date;
23721
+ updatedAt: Date;
23722
+ deletedAt: Date | null;
23723
+ isActive: boolean;
23724
+ }>;
23395
23725
  }, "strip", z.ZodTypeAny, {
23396
23726
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
23397
23727
  message: string;
@@ -23816,6 +24146,24 @@ export declare const mainChatContract: {
23816
24146
  note: string | null;
23817
24147
  } | null;
23818
24148
  };
24149
+ workflowRule: {
24150
+ type: string;
24151
+ id: string;
24152
+ name: string;
24153
+ createdAt: Date;
24154
+ updatedAt: Date;
24155
+ deletedAt: Date | null;
24156
+ isActive: boolean;
24157
+ };
24158
+ };
24159
+ workflowRule: {
24160
+ type: string;
24161
+ id: string;
24162
+ name: string;
24163
+ createdAt: Date;
24164
+ updatedAt: Date;
24165
+ deletedAt: Date | null;
24166
+ isActive: boolean;
23819
24167
  };
23820
24168
  readAt: Date;
23821
24169
  platformMessageId: string;
@@ -24456,6 +24804,24 @@ export declare const mainChatContract: {
24456
24804
  note: string | null;
24457
24805
  } | null;
24458
24806
  };
24807
+ workflowRule: {
24808
+ type: string;
24809
+ id: string;
24810
+ name: string;
24811
+ createdAt: Date;
24812
+ updatedAt: Date;
24813
+ deletedAt: Date | null;
24814
+ isActive: boolean;
24815
+ };
24816
+ };
24817
+ workflowRule: {
24818
+ type: string;
24819
+ id: string;
24820
+ name: string;
24821
+ createdAt: Date;
24822
+ updatedAt: Date;
24823
+ deletedAt: Date | null;
24824
+ isActive: boolean;
24459
24825
  };
24460
24826
  readAt: Date;
24461
24827
  platformMessageId: string;
@@ -25098,6 +25464,24 @@ export declare const mainChatContract: {
25098
25464
  note: string | null;
25099
25465
  } | null;
25100
25466
  };
25467
+ workflowRule: {
25468
+ type: string;
25469
+ id: string;
25470
+ name: string;
25471
+ createdAt: Date;
25472
+ updatedAt: Date;
25473
+ deletedAt: Date | null;
25474
+ isActive: boolean;
25475
+ };
25476
+ };
25477
+ workflowRule: {
25478
+ type: string;
25479
+ id: string;
25480
+ name: string;
25481
+ createdAt: Date;
25482
+ updatedAt: Date;
25483
+ deletedAt: Date | null;
25484
+ isActive: boolean;
25101
25485
  };
25102
25486
  readAt: Date;
25103
25487
  platformMessageId: string;
@@ -25744,6 +26128,24 @@ export declare const mainChatContract: {
25744
26128
  note: string | null;
25745
26129
  } | null;
25746
26130
  };
26131
+ workflowRule: {
26132
+ type: string;
26133
+ id: string;
26134
+ name: string;
26135
+ createdAt: Date;
26136
+ updatedAt: Date;
26137
+ deletedAt: Date | null;
26138
+ isActive: boolean;
26139
+ };
26140
+ };
26141
+ workflowRule: {
26142
+ type: string;
26143
+ id: string;
26144
+ name: string;
26145
+ createdAt: Date;
26146
+ updatedAt: Date;
26147
+ deletedAt: Date | null;
26148
+ isActive: boolean;
25747
26149
  };
25748
26150
  readAt: Date;
25749
26151
  platformMessageId: string;
@@ -27867,6 +28269,31 @@ export declare const mainChatContract: {
27867
28269
  note: string | null;
27868
28270
  } | null;
27869
28271
  }>;
28272
+ workflowRule: z.ZodObject<{
28273
+ id: z.ZodString;
28274
+ createdAt: z.ZodDate;
28275
+ updatedAt: z.ZodDate;
28276
+ deletedAt: z.ZodNullable<z.ZodDate>;
28277
+ name: z.ZodString;
28278
+ isActive: z.ZodBoolean;
28279
+ type: z.ZodString;
28280
+ }, "strip", z.ZodTypeAny, {
28281
+ type: string;
28282
+ id: string;
28283
+ name: string;
28284
+ createdAt: Date;
28285
+ updatedAt: Date;
28286
+ deletedAt: Date | null;
28287
+ isActive: boolean;
28288
+ }, {
28289
+ type: string;
28290
+ id: string;
28291
+ name: string;
28292
+ createdAt: Date;
28293
+ updatedAt: Date;
28294
+ deletedAt: Date | null;
28295
+ isActive: boolean;
28296
+ }>;
27870
28297
  solveMessage: z.ZodString;
27871
28298
  }, "strip", z.ZodTypeAny, {
27872
28299
  id: string;
@@ -28182,6 +28609,15 @@ export declare const mainChatContract: {
28182
28609
  note: string | null;
28183
28610
  } | null;
28184
28611
  };
28612
+ workflowRule: {
28613
+ type: string;
28614
+ id: string;
28615
+ name: string;
28616
+ createdAt: Date;
28617
+ updatedAt: Date;
28618
+ deletedAt: Date | null;
28619
+ isActive: boolean;
28620
+ };
28185
28621
  solveMessage: string;
28186
28622
  }, {
28187
28623
  id: string;
@@ -28497,6 +28933,15 @@ export declare const mainChatContract: {
28497
28933
  note: string | null;
28498
28934
  } | null;
28499
28935
  };
28936
+ workflowRule: {
28937
+ type: string;
28938
+ id: string;
28939
+ name: string;
28940
+ createdAt: Date;
28941
+ updatedAt: Date;
28942
+ deletedAt: Date | null;
28943
+ isActive: boolean;
28944
+ };
28500
28945
  solveMessage: string;
28501
28946
  }>;
28502
28947
  }, "strip", z.ZodTypeAny, {
@@ -28814,6 +29259,15 @@ export declare const mainChatContract: {
28814
29259
  note: string | null;
28815
29260
  } | null;
28816
29261
  };
29262
+ workflowRule: {
29263
+ type: string;
29264
+ id: string;
29265
+ name: string;
29266
+ createdAt: Date;
29267
+ updatedAt: Date;
29268
+ deletedAt: Date | null;
29269
+ isActive: boolean;
29270
+ };
28817
29271
  solveMessage: string;
28818
29272
  };
28819
29273
  requestId: string;
@@ -29132,6 +29586,15 @@ export declare const mainChatContract: {
29132
29586
  note: string | null;
29133
29587
  } | null;
29134
29588
  };
29589
+ workflowRule: {
29590
+ type: string;
29591
+ id: string;
29592
+ name: string;
29593
+ createdAt: Date;
29594
+ updatedAt: Date;
29595
+ deletedAt: Date | null;
29596
+ isActive: boolean;
29597
+ };
29135
29598
  solveMessage: string;
29136
29599
  };
29137
29600
  requestId: string;
@@ -31047,6 +31510,31 @@ export declare const mainChatContract: {
31047
31510
  note: string | null;
31048
31511
  } | null;
31049
31512
  }>;
31513
+ workflowRule: z.ZodObject<{
31514
+ id: z.ZodString;
31515
+ createdAt: z.ZodDate;
31516
+ updatedAt: z.ZodDate;
31517
+ deletedAt: z.ZodNullable<z.ZodDate>;
31518
+ name: z.ZodString;
31519
+ isActive: z.ZodBoolean;
31520
+ type: z.ZodString;
31521
+ }, "strip", z.ZodTypeAny, {
31522
+ type: string;
31523
+ id: string;
31524
+ name: string;
31525
+ createdAt: Date;
31526
+ updatedAt: Date;
31527
+ deletedAt: Date | null;
31528
+ isActive: boolean;
31529
+ }, {
31530
+ type: string;
31531
+ id: string;
31532
+ name: string;
31533
+ createdAt: Date;
31534
+ updatedAt: Date;
31535
+ deletedAt: Date | null;
31536
+ isActive: boolean;
31537
+ }>;
31050
31538
  }, "strip", z.ZodTypeAny, {
31051
31539
  id: string;
31052
31540
  channel: {
@@ -31361,6 +31849,15 @@ export declare const mainChatContract: {
31361
31849
  note: string | null;
31362
31850
  } | null;
31363
31851
  };
31852
+ workflowRule: {
31853
+ type: string;
31854
+ id: string;
31855
+ name: string;
31856
+ createdAt: Date;
31857
+ updatedAt: Date;
31858
+ deletedAt: Date | null;
31859
+ isActive: boolean;
31860
+ };
31364
31861
  }, {
31365
31862
  id: string;
31366
31863
  channel: {
@@ -31675,6 +32172,15 @@ export declare const mainChatContract: {
31675
32172
  note: string | null;
31676
32173
  } | null;
31677
32174
  };
32175
+ workflowRule: {
32176
+ type: string;
32177
+ id: string;
32178
+ name: string;
32179
+ createdAt: Date;
32180
+ updatedAt: Date;
32181
+ deletedAt: Date | null;
32182
+ isActive: boolean;
32183
+ };
31678
32184
  }>;
31679
32185
  }, "strip", z.ZodTypeAny, {
31680
32186
  data: {
@@ -31991,6 +32497,15 @@ export declare const mainChatContract: {
31991
32497
  note: string | null;
31992
32498
  } | null;
31993
32499
  };
32500
+ workflowRule: {
32501
+ type: string;
32502
+ id: string;
32503
+ name: string;
32504
+ createdAt: Date;
32505
+ updatedAt: Date;
32506
+ deletedAt: Date | null;
32507
+ isActive: boolean;
32508
+ };
31994
32509
  };
31995
32510
  requestId: string;
31996
32511
  }, {
@@ -32308,9 +32823,28 @@ export declare const mainChatContract: {
32308
32823
  note: string | null;
32309
32824
  } | null;
32310
32825
  };
32826
+ workflowRule: {
32827
+ type: string;
32828
+ id: string;
32829
+ name: string;
32830
+ createdAt: Date;
32831
+ updatedAt: Date;
32832
+ deletedAt: Date | null;
32833
+ isActive: boolean;
32834
+ };
32311
32835
  };
32312
32836
  requestId: string;
32313
32837
  }>;
32838
+ 409: z.ZodObject<{
32839
+ message: z.ZodString;
32840
+ error: z.ZodAny;
32841
+ }, "strip", z.ZodTypeAny, {
32842
+ message: string;
32843
+ error?: any;
32844
+ }, {
32845
+ message: string;
32846
+ error?: any;
32847
+ }>;
32314
32848
  };
32315
32849
  path: "chat/room/assignee/update";
32316
32850
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -34210,6 +34744,31 @@ export declare const mainChatContract: {
34210
34744
  note: string | null;
34211
34745
  } | null;
34212
34746
  }>;
34747
+ workflowRule: z.ZodObject<{
34748
+ id: z.ZodString;
34749
+ createdAt: z.ZodDate;
34750
+ updatedAt: z.ZodDate;
34751
+ deletedAt: z.ZodNullable<z.ZodDate>;
34752
+ name: z.ZodString;
34753
+ isActive: z.ZodBoolean;
34754
+ type: z.ZodString;
34755
+ }, "strip", z.ZodTypeAny, {
34756
+ type: string;
34757
+ id: string;
34758
+ name: string;
34759
+ createdAt: Date;
34760
+ updatedAt: Date;
34761
+ deletedAt: Date | null;
34762
+ isActive: boolean;
34763
+ }, {
34764
+ type: string;
34765
+ id: string;
34766
+ name: string;
34767
+ createdAt: Date;
34768
+ updatedAt: Date;
34769
+ deletedAt: Date | null;
34770
+ isActive: boolean;
34771
+ }>;
34213
34772
  }, "strip", z.ZodTypeAny, {
34214
34773
  id: string;
34215
34774
  channel: {
@@ -34524,6 +35083,15 @@ export declare const mainChatContract: {
34524
35083
  note: string | null;
34525
35084
  } | null;
34526
35085
  };
35086
+ workflowRule: {
35087
+ type: string;
35088
+ id: string;
35089
+ name: string;
35090
+ createdAt: Date;
35091
+ updatedAt: Date;
35092
+ deletedAt: Date | null;
35093
+ isActive: boolean;
35094
+ };
34527
35095
  }, {
34528
35096
  id: string;
34529
35097
  channel: {
@@ -34838,6 +35406,15 @@ export declare const mainChatContract: {
34838
35406
  note: string | null;
34839
35407
  } | null;
34840
35408
  };
35409
+ workflowRule: {
35410
+ type: string;
35411
+ id: string;
35412
+ name: string;
35413
+ createdAt: Date;
35414
+ updatedAt: Date;
35415
+ deletedAt: Date | null;
35416
+ isActive: boolean;
35417
+ };
34841
35418
  }>;
34842
35419
  latestIncomingMessage: z.ZodObject<{
34843
35420
  message: z.ZodString;
@@ -35197,6 +35774,15 @@ export declare const mainChatContract: {
35197
35774
  note: string | null;
35198
35775
  } | null;
35199
35776
  };
35777
+ workflowRule: {
35778
+ type: string;
35779
+ id: string;
35780
+ name: string;
35781
+ createdAt: Date;
35782
+ updatedAt: Date;
35783
+ deletedAt: Date | null;
35784
+ isActive: boolean;
35785
+ };
35200
35786
  };
35201
35787
  latestIncomingMessage: {
35202
35788
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
@@ -35528,6 +36114,15 @@ export declare const mainChatContract: {
35528
36114
  note: string | null;
35529
36115
  } | null;
35530
36116
  };
36117
+ workflowRule: {
36118
+ type: string;
36119
+ id: string;
36120
+ name: string;
36121
+ createdAt: Date;
36122
+ updatedAt: Date;
36123
+ deletedAt: Date | null;
36124
+ isActive: boolean;
36125
+ };
35531
36126
  };
35532
36127
  latestIncomingMessage: {
35533
36128
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
@@ -35861,6 +36456,15 @@ export declare const mainChatContract: {
35861
36456
  note: string | null;
35862
36457
  } | null;
35863
36458
  };
36459
+ workflowRule: {
36460
+ type: string;
36461
+ id: string;
36462
+ name: string;
36463
+ createdAt: Date;
36464
+ updatedAt: Date;
36465
+ deletedAt: Date | null;
36466
+ isActive: boolean;
36467
+ };
35864
36468
  };
35865
36469
  latestIncomingMessage: {
35866
36470
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
@@ -36195,6 +36799,15 @@ export declare const mainChatContract: {
36195
36799
  note: string | null;
36196
36800
  } | null;
36197
36801
  };
36802
+ workflowRule: {
36803
+ type: string;
36804
+ id: string;
36805
+ name: string;
36806
+ createdAt: Date;
36807
+ updatedAt: Date;
36808
+ deletedAt: Date | null;
36809
+ isActive: boolean;
36810
+ };
36198
36811
  };
36199
36812
  latestIncomingMessage: {
36200
36813
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
@@ -38123,6 +38736,31 @@ export declare const mainChatContract: {
38123
38736
  note: string | null;
38124
38737
  } | null;
38125
38738
  }>;
38739
+ workflowRule: z.ZodObject<{
38740
+ id: z.ZodString;
38741
+ createdAt: z.ZodDate;
38742
+ updatedAt: z.ZodDate;
38743
+ deletedAt: z.ZodNullable<z.ZodDate>;
38744
+ name: z.ZodString;
38745
+ isActive: z.ZodBoolean;
38746
+ type: z.ZodString;
38747
+ }, "strip", z.ZodTypeAny, {
38748
+ type: string;
38749
+ id: string;
38750
+ name: string;
38751
+ createdAt: Date;
38752
+ updatedAt: Date;
38753
+ deletedAt: Date | null;
38754
+ isActive: boolean;
38755
+ }, {
38756
+ type: string;
38757
+ id: string;
38758
+ name: string;
38759
+ createdAt: Date;
38760
+ updatedAt: Date;
38761
+ deletedAt: Date | null;
38762
+ isActive: boolean;
38763
+ }>;
38126
38764
  contact: z.ZodObject<{
38127
38765
  id: z.ZodString;
38128
38766
  createdAt: z.ZodDate;
@@ -39222,6 +39860,15 @@ export declare const mainChatContract: {
39222
39860
  note: string | null;
39223
39861
  } | null;
39224
39862
  };
39863
+ workflowRule: {
39864
+ type: string;
39865
+ id: string;
39866
+ name: string;
39867
+ createdAt: Date;
39868
+ updatedAt: Date;
39869
+ deletedAt: Date | null;
39870
+ isActive: boolean;
39871
+ };
39225
39872
  openMessage: string;
39226
39873
  }, {
39227
39874
  id: string;
@@ -39634,6 +40281,15 @@ export declare const mainChatContract: {
39634
40281
  note: string | null;
39635
40282
  } | null;
39636
40283
  };
40284
+ workflowRule: {
40285
+ type: string;
40286
+ id: string;
40287
+ name: string;
40288
+ createdAt: Date;
40289
+ updatedAt: Date;
40290
+ deletedAt: Date | null;
40291
+ isActive: boolean;
40292
+ };
39637
40293
  openMessage: string;
39638
40294
  }>;
39639
40295
  }, "strip", z.ZodTypeAny, {
@@ -40048,6 +40704,15 @@ export declare const mainChatContract: {
40048
40704
  note: string | null;
40049
40705
  } | null;
40050
40706
  };
40707
+ workflowRule: {
40708
+ type: string;
40709
+ id: string;
40710
+ name: string;
40711
+ createdAt: Date;
40712
+ updatedAt: Date;
40713
+ deletedAt: Date | null;
40714
+ isActive: boolean;
40715
+ };
40051
40716
  openMessage: string;
40052
40717
  };
40053
40718
  requestId: string;
@@ -40463,6 +41128,15 @@ export declare const mainChatContract: {
40463
41128
  note: string | null;
40464
41129
  } | null;
40465
41130
  };
41131
+ workflowRule: {
41132
+ type: string;
41133
+ id: string;
41134
+ name: string;
41135
+ createdAt: Date;
41136
+ updatedAt: Date;
41137
+ deletedAt: Date | null;
41138
+ isActive: boolean;
41139
+ };
40466
41140
  openMessage: string;
40467
41141
  };
40468
41142
  requestId: string;
@@ -42366,6 +43040,31 @@ export declare const mainChatContract: {
42366
43040
  note: string | null;
42367
43041
  } | null;
42368
43042
  }>;
43043
+ workflowRule: z.ZodObject<{
43044
+ id: z.ZodString;
43045
+ createdAt: z.ZodDate;
43046
+ updatedAt: z.ZodDate;
43047
+ deletedAt: z.ZodNullable<z.ZodDate>;
43048
+ name: z.ZodString;
43049
+ isActive: z.ZodBoolean;
43050
+ type: z.ZodString;
43051
+ }, "strip", z.ZodTypeAny, {
43052
+ type: string;
43053
+ id: string;
43054
+ name: string;
43055
+ createdAt: Date;
43056
+ updatedAt: Date;
43057
+ deletedAt: Date | null;
43058
+ isActive: boolean;
43059
+ }, {
43060
+ type: string;
43061
+ id: string;
43062
+ name: string;
43063
+ createdAt: Date;
43064
+ updatedAt: Date;
43065
+ deletedAt: Date | null;
43066
+ isActive: boolean;
43067
+ }>;
42369
43068
  description: z.ZodNullable<z.ZodString>;
42370
43069
  }, "strip", z.ZodTypeAny, {
42371
43070
  id: string;
@@ -42682,6 +43381,15 @@ export declare const mainChatContract: {
42682
43381
  note: string | null;
42683
43382
  } | null;
42684
43383
  };
43384
+ workflowRule: {
43385
+ type: string;
43386
+ id: string;
43387
+ name: string;
43388
+ createdAt: Date;
43389
+ updatedAt: Date;
43390
+ deletedAt: Date | null;
43391
+ isActive: boolean;
43392
+ };
42685
43393
  }, {
42686
43394
  id: string;
42687
43395
  channel: {
@@ -42997,6 +43705,15 @@ export declare const mainChatContract: {
42997
43705
  note: string | null;
42998
43706
  } | null;
42999
43707
  };
43708
+ workflowRule: {
43709
+ type: string;
43710
+ id: string;
43711
+ name: string;
43712
+ createdAt: Date;
43713
+ updatedAt: Date;
43714
+ deletedAt: Date | null;
43715
+ isActive: boolean;
43716
+ };
43000
43717
  }>;
43001
43718
  }, "strip", z.ZodTypeAny, {
43002
43719
  data: {
@@ -43314,6 +44031,15 @@ export declare const mainChatContract: {
43314
44031
  note: string | null;
43315
44032
  } | null;
43316
44033
  };
44034
+ workflowRule: {
44035
+ type: string;
44036
+ id: string;
44037
+ name: string;
44038
+ createdAt: Date;
44039
+ updatedAt: Date;
44040
+ deletedAt: Date | null;
44041
+ isActive: boolean;
44042
+ };
43317
44043
  };
43318
44044
  requestId: string;
43319
44045
  }, {
@@ -43632,6 +44358,15 @@ export declare const mainChatContract: {
43632
44358
  note: string | null;
43633
44359
  } | null;
43634
44360
  };
44361
+ workflowRule: {
44362
+ type: string;
44363
+ id: string;
44364
+ name: string;
44365
+ createdAt: Date;
44366
+ updatedAt: Date;
44367
+ deletedAt: Date | null;
44368
+ isActive: boolean;
44369
+ };
43635
44370
  };
43636
44371
  requestId: string;
43637
44372
  }>;
@@ -45545,6 +46280,31 @@ export declare const mainChatContract: {
45545
46280
  note: string | null;
45546
46281
  } | null;
45547
46282
  }>;
46283
+ workflowRule: z.ZodObject<{
46284
+ id: z.ZodString;
46285
+ createdAt: z.ZodDate;
46286
+ updatedAt: z.ZodDate;
46287
+ deletedAt: z.ZodNullable<z.ZodDate>;
46288
+ name: z.ZodString;
46289
+ isActive: z.ZodBoolean;
46290
+ type: z.ZodString;
46291
+ }, "strip", z.ZodTypeAny, {
46292
+ type: string;
46293
+ id: string;
46294
+ name: string;
46295
+ createdAt: Date;
46296
+ updatedAt: Date;
46297
+ deletedAt: Date | null;
46298
+ isActive: boolean;
46299
+ }, {
46300
+ type: string;
46301
+ id: string;
46302
+ name: string;
46303
+ createdAt: Date;
46304
+ updatedAt: Date;
46305
+ deletedAt: Date | null;
46306
+ isActive: boolean;
46307
+ }>;
45548
46308
  }, "strip", z.ZodTypeAny, {
45549
46309
  id: string;
45550
46310
  channel: {
@@ -45859,6 +46619,15 @@ export declare const mainChatContract: {
45859
46619
  note: string | null;
45860
46620
  } | null;
45861
46621
  };
46622
+ workflowRule: {
46623
+ type: string;
46624
+ id: string;
46625
+ name: string;
46626
+ createdAt: Date;
46627
+ updatedAt: Date;
46628
+ deletedAt: Date | null;
46629
+ isActive: boolean;
46630
+ };
45862
46631
  }, {
45863
46632
  id: string;
45864
46633
  channel: {
@@ -46173,6 +46942,15 @@ export declare const mainChatContract: {
46173
46942
  note: string | null;
46174
46943
  } | null;
46175
46944
  };
46945
+ workflowRule: {
46946
+ type: string;
46947
+ id: string;
46948
+ name: string;
46949
+ createdAt: Date;
46950
+ updatedAt: Date;
46951
+ deletedAt: Date | null;
46952
+ isActive: boolean;
46953
+ };
46176
46954
  }>, "many">;
46177
46955
  }, "strip", z.ZodTypeAny, {
46178
46956
  data: {
@@ -46489,6 +47267,15 @@ export declare const mainChatContract: {
46489
47267
  note: string | null;
46490
47268
  } | null;
46491
47269
  };
47270
+ workflowRule: {
47271
+ type: string;
47272
+ id: string;
47273
+ name: string;
47274
+ createdAt: Date;
47275
+ updatedAt: Date;
47276
+ deletedAt: Date | null;
47277
+ isActive: boolean;
47278
+ };
46492
47279
  }[];
46493
47280
  total: number;
46494
47281
  page: number;
@@ -46809,6 +47596,15 @@ export declare const mainChatContract: {
46809
47596
  note: string | null;
46810
47597
  } | null;
46811
47598
  };
47599
+ workflowRule: {
47600
+ type: string;
47601
+ id: string;
47602
+ name: string;
47603
+ createdAt: Date;
47604
+ updatedAt: Date;
47605
+ deletedAt: Date | null;
47606
+ isActive: boolean;
47607
+ };
46812
47608
  }[];
46813
47609
  total: number;
46814
47610
  page: number;