@kl1/contracts 1.1.31-uat → 1.1.33-uat

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/index.js +2466 -2396
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +2465 -2396
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +786 -0
  6. package/dist/src/chat/index.d.ts.map +1 -1
  7. package/dist/src/chat/schema.d.ts +177 -18
  8. package/dist/src/chat/schema.d.ts.map +1 -1
  9. package/dist/src/chat/validation.d.ts +140 -0
  10. package/dist/src/chat/validation.d.ts.map +1 -1
  11. package/dist/src/contract.d.ts +9362 -581
  12. package/dist/src/contract.d.ts.map +1 -1
  13. package/dist/src/instagram/index.d.ts +140 -0
  14. package/dist/src/instagram/index.d.ts.map +1 -1
  15. package/dist/src/line/index.d.ts +140 -0
  16. package/dist/src/line/index.d.ts.map +1 -1
  17. package/dist/src/mail/mail-contract.d.ts +124 -124
  18. package/dist/src/mail/message-contract.d.ts +28 -28
  19. package/dist/src/mail/room-contract.d.ts +96 -96
  20. package/dist/src/mail/schemas/message.schema.d.ts +4 -4
  21. package/dist/src/mail/schemas/room-validation.schema.d.ts +32 -32
  22. package/dist/src/mail/schemas/room.schema.d.ts +28 -28
  23. package/dist/src/messenger/index.d.ts +140 -0
  24. package/dist/src/messenger/index.d.ts.map +1 -1
  25. package/dist/src/telephony-cdr/call-report.schema.d.ts +26 -52
  26. package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
  27. package/dist/src/viber/index.d.ts +140 -0
  28. package/dist/src/viber/index.d.ts.map +1 -1
  29. package/dist/src/webchat/index.d.ts +140 -0
  30. package/dist/src/webchat/index.d.ts.map +1 -1
  31. package/dist/src/workflow-rule/index.d.ts +7295 -0
  32. package/dist/src/workflow-rule/index.d.ts.map +1 -0
  33. package/dist/src/workflow-rule/schema.d.ts +27 -0
  34. package/dist/src/workflow-rule/schema.d.ts.map +1 -0
  35. package/package.json +1 -1
@@ -7350,6 +7350,31 @@ export declare const mainChatContract: {
7350
7350
  }[] | undefined;
7351
7351
  } | null;
7352
7352
  }>;
7353
+ workflowRule: z.ZodObject<{
7354
+ id: z.ZodString;
7355
+ createdAt: z.ZodDate;
7356
+ updatedAt: z.ZodDate;
7357
+ deletedAt: z.ZodNullable<z.ZodDate>;
7358
+ name: z.ZodString;
7359
+ isActive: z.ZodBoolean;
7360
+ type: z.ZodString;
7361
+ }, "strip", z.ZodTypeAny, {
7362
+ type: string;
7363
+ id: string;
7364
+ name: string;
7365
+ createdAt: Date;
7366
+ updatedAt: Date;
7367
+ deletedAt: Date | null;
7368
+ isActive: boolean;
7369
+ }, {
7370
+ type: string;
7371
+ id: string;
7372
+ name: string;
7373
+ createdAt: Date;
7374
+ updatedAt: Date;
7375
+ deletedAt: Date | null;
7376
+ isActive: boolean;
7377
+ }>;
7353
7378
  }, "strip", z.ZodTypeAny, {
7354
7379
  id: string;
7355
7380
  channel: {
@@ -7699,6 +7724,15 @@ export declare const mainChatContract: {
7699
7724
  }[] | undefined;
7700
7725
  } | null;
7701
7726
  };
7727
+ workflowRule: {
7728
+ type: string;
7729
+ id: string;
7730
+ name: string;
7731
+ createdAt: Date;
7732
+ updatedAt: Date;
7733
+ deletedAt: Date | null;
7734
+ isActive: boolean;
7735
+ };
7702
7736
  }, {
7703
7737
  id: string;
7704
7738
  channel: {
@@ -8048,6 +8082,15 @@ export declare const mainChatContract: {
8048
8082
  }[] | undefined;
8049
8083
  } | null;
8050
8084
  };
8085
+ workflowRule: {
8086
+ type: string;
8087
+ id: string;
8088
+ name: string;
8089
+ createdAt: Date;
8090
+ updatedAt: Date;
8091
+ deletedAt: Date | null;
8092
+ isActive: boolean;
8093
+ };
8051
8094
  }>, "many">;
8052
8095
  unreadCountsByAssignee: z.ZodArray<z.ZodObject<{
8053
8096
  assigneeId: z.ZodString;
@@ -8409,6 +8452,15 @@ export declare const mainChatContract: {
8409
8452
  }[] | undefined;
8410
8453
  } | null;
8411
8454
  };
8455
+ workflowRule: {
8456
+ type: string;
8457
+ id: string;
8458
+ name: string;
8459
+ createdAt: Date;
8460
+ updatedAt: Date;
8461
+ deletedAt: Date | null;
8462
+ isActive: boolean;
8463
+ };
8412
8464
  }[];
8413
8465
  total: number;
8414
8466
  page: number;
@@ -8768,6 +8820,15 @@ export declare const mainChatContract: {
8768
8820
  }[] | undefined;
8769
8821
  } | null;
8770
8822
  };
8823
+ workflowRule: {
8824
+ type: string;
8825
+ id: string;
8826
+ name: string;
8827
+ createdAt: Date;
8828
+ updatedAt: Date;
8829
+ deletedAt: Date | null;
8830
+ isActive: boolean;
8831
+ };
8771
8832
  }[];
8772
8833
  total: number;
8773
8834
  page: number;
@@ -11915,6 +11976,31 @@ export declare const mainChatContract: {
11915
11976
  }[] | undefined;
11916
11977
  } | null;
11917
11978
  }>;
11979
+ workflowRule: z.ZodObject<{
11980
+ id: z.ZodString;
11981
+ createdAt: z.ZodDate;
11982
+ updatedAt: z.ZodDate;
11983
+ deletedAt: z.ZodNullable<z.ZodDate>;
11984
+ name: z.ZodString;
11985
+ isActive: z.ZodBoolean;
11986
+ type: z.ZodString;
11987
+ }, "strip", z.ZodTypeAny, {
11988
+ type: string;
11989
+ id: string;
11990
+ name: string;
11991
+ createdAt: Date;
11992
+ updatedAt: Date;
11993
+ deletedAt: Date | null;
11994
+ isActive: boolean;
11995
+ }, {
11996
+ type: string;
11997
+ id: string;
11998
+ name: string;
11999
+ createdAt: Date;
12000
+ updatedAt: Date;
12001
+ deletedAt: Date | null;
12002
+ isActive: boolean;
12003
+ }>;
11918
12004
  }, "strip", z.ZodTypeAny, {
11919
12005
  id: string;
11920
12006
  channel: {
@@ -12264,6 +12350,15 @@ export declare const mainChatContract: {
12264
12350
  }[] | undefined;
12265
12351
  } | null;
12266
12352
  };
12353
+ workflowRule: {
12354
+ type: string;
12355
+ id: string;
12356
+ name: string;
12357
+ createdAt: Date;
12358
+ updatedAt: Date;
12359
+ deletedAt: Date | null;
12360
+ isActive: boolean;
12361
+ };
12267
12362
  }, {
12268
12363
  id: string;
12269
12364
  channel: {
@@ -12613,6 +12708,15 @@ export declare const mainChatContract: {
12613
12708
  }[] | undefined;
12614
12709
  } | null;
12615
12710
  };
12711
+ workflowRule: {
12712
+ type: string;
12713
+ id: string;
12714
+ name: string;
12715
+ createdAt: Date;
12716
+ updatedAt: Date;
12717
+ deletedAt: Date | null;
12718
+ isActive: boolean;
12719
+ };
12616
12720
  }>;
12617
12721
  }, "strip", z.ZodTypeAny, {
12618
12722
  data: {
@@ -12964,6 +13068,15 @@ export declare const mainChatContract: {
12964
13068
  }[] | undefined;
12965
13069
  } | null;
12966
13070
  };
13071
+ workflowRule: {
13072
+ type: string;
13073
+ id: string;
13074
+ name: string;
13075
+ createdAt: Date;
13076
+ updatedAt: Date;
13077
+ deletedAt: Date | null;
13078
+ isActive: boolean;
13079
+ };
12967
13080
  };
12968
13081
  requestId: string;
12969
13082
  }, {
@@ -13316,6 +13429,15 @@ export declare const mainChatContract: {
13316
13429
  }[] | undefined;
13317
13430
  } | null;
13318
13431
  };
13432
+ workflowRule: {
13433
+ type: string;
13434
+ id: string;
13435
+ name: string;
13436
+ createdAt: Date;
13437
+ updatedAt: Date;
13438
+ deletedAt: Date | null;
13439
+ isActive: boolean;
13440
+ };
13319
13441
  };
13320
13442
  requestId: string;
13321
13443
  }>;
@@ -15875,6 +15997,31 @@ export declare const mainChatContract: {
15875
15997
  }[] | undefined;
15876
15998
  } | null;
15877
15999
  }>;
16000
+ workflowRule: z.ZodObject<{
16001
+ id: z.ZodString;
16002
+ createdAt: z.ZodDate;
16003
+ updatedAt: z.ZodDate;
16004
+ deletedAt: z.ZodNullable<z.ZodDate>;
16005
+ name: z.ZodString;
16006
+ isActive: z.ZodBoolean;
16007
+ type: z.ZodString;
16008
+ }, "strip", z.ZodTypeAny, {
16009
+ type: string;
16010
+ id: string;
16011
+ name: string;
16012
+ createdAt: Date;
16013
+ updatedAt: Date;
16014
+ deletedAt: Date | null;
16015
+ isActive: boolean;
16016
+ }, {
16017
+ type: string;
16018
+ id: string;
16019
+ name: string;
16020
+ createdAt: Date;
16021
+ updatedAt: Date;
16022
+ deletedAt: Date | null;
16023
+ isActive: boolean;
16024
+ }>;
15878
16025
  }, "strip", z.ZodTypeAny, {
15879
16026
  id: string;
15880
16027
  channel: {
@@ -16224,6 +16371,15 @@ export declare const mainChatContract: {
16224
16371
  }[] | undefined;
16225
16372
  } | null;
16226
16373
  };
16374
+ workflowRule: {
16375
+ type: string;
16376
+ id: string;
16377
+ name: string;
16378
+ createdAt: Date;
16379
+ updatedAt: Date;
16380
+ deletedAt: Date | null;
16381
+ isActive: boolean;
16382
+ };
16227
16383
  }, {
16228
16384
  id: string;
16229
16385
  channel: {
@@ -16573,6 +16729,15 @@ export declare const mainChatContract: {
16573
16729
  }[] | undefined;
16574
16730
  } | null;
16575
16731
  };
16732
+ workflowRule: {
16733
+ type: string;
16734
+ id: string;
16735
+ name: string;
16736
+ createdAt: Date;
16737
+ updatedAt: Date;
16738
+ deletedAt: Date | null;
16739
+ isActive: boolean;
16740
+ };
16576
16741
  }>;
16577
16742
  upload: z.ZodObject<{
16578
16743
  id: z.ZodString;
@@ -18209,6 +18374,31 @@ export declare const mainChatContract: {
18209
18374
  telephonySignature: string | null;
18210
18375
  };
18211
18376
  }>;
18377
+ workflowRule: z.ZodObject<{
18378
+ id: z.ZodString;
18379
+ createdAt: z.ZodDate;
18380
+ updatedAt: z.ZodDate;
18381
+ deletedAt: z.ZodNullable<z.ZodDate>;
18382
+ name: z.ZodString;
18383
+ isActive: z.ZodBoolean;
18384
+ type: z.ZodString;
18385
+ }, "strip", z.ZodTypeAny, {
18386
+ type: string;
18387
+ id: string;
18388
+ name: string;
18389
+ createdAt: Date;
18390
+ updatedAt: Date;
18391
+ deletedAt: Date | null;
18392
+ isActive: boolean;
18393
+ }, {
18394
+ type: string;
18395
+ id: string;
18396
+ name: string;
18397
+ createdAt: Date;
18398
+ updatedAt: Date;
18399
+ deletedAt: Date | null;
18400
+ isActive: boolean;
18401
+ }>;
18212
18402
  }, "strip", z.ZodTypeAny, {
18213
18403
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
18214
18404
  message: string;
@@ -18668,6 +18858,24 @@ export declare const mainChatContract: {
18668
18858
  }[] | undefined;
18669
18859
  } | null;
18670
18860
  };
18861
+ workflowRule: {
18862
+ type: string;
18863
+ id: string;
18864
+ name: string;
18865
+ createdAt: Date;
18866
+ updatedAt: Date;
18867
+ deletedAt: Date | null;
18868
+ isActive: boolean;
18869
+ };
18870
+ };
18871
+ workflowRule: {
18872
+ type: string;
18873
+ id: string;
18874
+ name: string;
18875
+ createdAt: Date;
18876
+ updatedAt: Date;
18877
+ deletedAt: Date | null;
18878
+ isActive: boolean;
18671
18879
  };
18672
18880
  readAt: Date;
18673
18881
  platformMessageId: string;
@@ -19343,6 +19551,24 @@ export declare const mainChatContract: {
19343
19551
  }[] | undefined;
19344
19552
  } | null;
19345
19553
  };
19554
+ workflowRule: {
19555
+ type: string;
19556
+ id: string;
19557
+ name: string;
19558
+ createdAt: Date;
19559
+ updatedAt: Date;
19560
+ deletedAt: Date | null;
19561
+ isActive: boolean;
19562
+ };
19563
+ };
19564
+ workflowRule: {
19565
+ type: string;
19566
+ id: string;
19567
+ name: string;
19568
+ createdAt: Date;
19569
+ updatedAt: Date;
19570
+ deletedAt: Date | null;
19571
+ isActive: boolean;
19346
19572
  };
19347
19573
  readAt: Date;
19348
19574
  platformMessageId: string;
@@ -20020,6 +20246,24 @@ export declare const mainChatContract: {
20020
20246
  }[] | undefined;
20021
20247
  } | null;
20022
20248
  };
20249
+ workflowRule: {
20250
+ type: string;
20251
+ id: string;
20252
+ name: string;
20253
+ createdAt: Date;
20254
+ updatedAt: Date;
20255
+ deletedAt: Date | null;
20256
+ isActive: boolean;
20257
+ };
20258
+ };
20259
+ workflowRule: {
20260
+ type: string;
20261
+ id: string;
20262
+ name: string;
20263
+ createdAt: Date;
20264
+ updatedAt: Date;
20265
+ deletedAt: Date | null;
20266
+ isActive: boolean;
20023
20267
  };
20024
20268
  readAt: Date;
20025
20269
  platformMessageId: string;
@@ -20698,6 +20942,24 @@ export declare const mainChatContract: {
20698
20942
  }[] | undefined;
20699
20943
  } | null;
20700
20944
  };
20945
+ workflowRule: {
20946
+ type: string;
20947
+ id: string;
20948
+ name: string;
20949
+ createdAt: Date;
20950
+ updatedAt: Date;
20951
+ deletedAt: Date | null;
20952
+ isActive: boolean;
20953
+ };
20954
+ };
20955
+ workflowRule: {
20956
+ type: string;
20957
+ id: string;
20958
+ name: string;
20959
+ createdAt: Date;
20960
+ updatedAt: Date;
20961
+ deletedAt: Date | null;
20962
+ isActive: boolean;
20701
20963
  };
20702
20964
  readAt: Date;
20703
20965
  platformMessageId: string;
@@ -23203,6 +23465,31 @@ export declare const mainChatContract: {
23203
23465
  }[] | undefined;
23204
23466
  } | null;
23205
23467
  }>;
23468
+ workflowRule: z.ZodObject<{
23469
+ id: z.ZodString;
23470
+ createdAt: z.ZodDate;
23471
+ updatedAt: z.ZodDate;
23472
+ deletedAt: z.ZodNullable<z.ZodDate>;
23473
+ name: z.ZodString;
23474
+ isActive: z.ZodBoolean;
23475
+ type: z.ZodString;
23476
+ }, "strip", z.ZodTypeAny, {
23477
+ type: string;
23478
+ id: string;
23479
+ name: string;
23480
+ createdAt: Date;
23481
+ updatedAt: Date;
23482
+ deletedAt: Date | null;
23483
+ isActive: boolean;
23484
+ }, {
23485
+ type: string;
23486
+ id: string;
23487
+ name: string;
23488
+ createdAt: Date;
23489
+ updatedAt: Date;
23490
+ deletedAt: Date | null;
23491
+ isActive: boolean;
23492
+ }>;
23206
23493
  }, "strip", z.ZodTypeAny, {
23207
23494
  id: string;
23208
23495
  channel: {
@@ -23552,6 +23839,15 @@ export declare const mainChatContract: {
23552
23839
  }[] | undefined;
23553
23840
  } | null;
23554
23841
  };
23842
+ workflowRule: {
23843
+ type: string;
23844
+ id: string;
23845
+ name: string;
23846
+ createdAt: Date;
23847
+ updatedAt: Date;
23848
+ deletedAt: Date | null;
23849
+ isActive: boolean;
23850
+ };
23555
23851
  }, {
23556
23852
  id: string;
23557
23853
  channel: {
@@ -23901,6 +24197,15 @@ export declare const mainChatContract: {
23901
24197
  }[] | undefined;
23902
24198
  } | null;
23903
24199
  };
24200
+ workflowRule: {
24201
+ type: string;
24202
+ id: string;
24203
+ name: string;
24204
+ createdAt: Date;
24205
+ updatedAt: Date;
24206
+ deletedAt: Date | null;
24207
+ isActive: boolean;
24208
+ };
23904
24209
  }>;
23905
24210
  upload: z.ZodObject<{
23906
24211
  id: z.ZodString;
@@ -25537,6 +25842,31 @@ export declare const mainChatContract: {
25537
25842
  telephonySignature: string | null;
25538
25843
  };
25539
25844
  }>;
25845
+ workflowRule: z.ZodObject<{
25846
+ id: z.ZodString;
25847
+ createdAt: z.ZodDate;
25848
+ updatedAt: z.ZodDate;
25849
+ deletedAt: z.ZodNullable<z.ZodDate>;
25850
+ name: z.ZodString;
25851
+ isActive: z.ZodBoolean;
25852
+ type: z.ZodString;
25853
+ }, "strip", z.ZodTypeAny, {
25854
+ type: string;
25855
+ id: string;
25856
+ name: string;
25857
+ createdAt: Date;
25858
+ updatedAt: Date;
25859
+ deletedAt: Date | null;
25860
+ isActive: boolean;
25861
+ }, {
25862
+ type: string;
25863
+ id: string;
25864
+ name: string;
25865
+ createdAt: Date;
25866
+ updatedAt: Date;
25867
+ deletedAt: Date | null;
25868
+ isActive: boolean;
25869
+ }>;
25540
25870
  }, "strip", z.ZodTypeAny, {
25541
25871
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
25542
25872
  message: string;
@@ -25996,6 +26326,24 @@ export declare const mainChatContract: {
25996
26326
  }[] | undefined;
25997
26327
  } | null;
25998
26328
  };
26329
+ workflowRule: {
26330
+ type: string;
26331
+ id: string;
26332
+ name: string;
26333
+ createdAt: Date;
26334
+ updatedAt: Date;
26335
+ deletedAt: Date | null;
26336
+ isActive: boolean;
26337
+ };
26338
+ };
26339
+ workflowRule: {
26340
+ type: string;
26341
+ id: string;
26342
+ name: string;
26343
+ createdAt: Date;
26344
+ updatedAt: Date;
26345
+ deletedAt: Date | null;
26346
+ isActive: boolean;
25999
26347
  };
26000
26348
  readAt: Date;
26001
26349
  platformMessageId: string;
@@ -26671,6 +27019,24 @@ export declare const mainChatContract: {
26671
27019
  }[] | undefined;
26672
27020
  } | null;
26673
27021
  };
27022
+ workflowRule: {
27023
+ type: string;
27024
+ id: string;
27025
+ name: string;
27026
+ createdAt: Date;
27027
+ updatedAt: Date;
27028
+ deletedAt: Date | null;
27029
+ isActive: boolean;
27030
+ };
27031
+ };
27032
+ workflowRule: {
27033
+ type: string;
27034
+ id: string;
27035
+ name: string;
27036
+ createdAt: Date;
27037
+ updatedAt: Date;
27038
+ deletedAt: Date | null;
27039
+ isActive: boolean;
26674
27040
  };
26675
27041
  readAt: Date;
26676
27042
  platformMessageId: string;
@@ -27348,6 +27714,24 @@ export declare const mainChatContract: {
27348
27714
  }[] | undefined;
27349
27715
  } | null;
27350
27716
  };
27717
+ workflowRule: {
27718
+ type: string;
27719
+ id: string;
27720
+ name: string;
27721
+ createdAt: Date;
27722
+ updatedAt: Date;
27723
+ deletedAt: Date | null;
27724
+ isActive: boolean;
27725
+ };
27726
+ };
27727
+ workflowRule: {
27728
+ type: string;
27729
+ id: string;
27730
+ name: string;
27731
+ createdAt: Date;
27732
+ updatedAt: Date;
27733
+ deletedAt: Date | null;
27734
+ isActive: boolean;
27351
27735
  };
27352
27736
  readAt: Date;
27353
27737
  platformMessageId: string;
@@ -28029,6 +28413,24 @@ export declare const mainChatContract: {
28029
28413
  }[] | undefined;
28030
28414
  } | null;
28031
28415
  };
28416
+ workflowRule: {
28417
+ type: string;
28418
+ id: string;
28419
+ name: string;
28420
+ createdAt: Date;
28421
+ updatedAt: Date;
28422
+ deletedAt: Date | null;
28423
+ isActive: boolean;
28424
+ };
28425
+ };
28426
+ workflowRule: {
28427
+ type: string;
28428
+ id: string;
28429
+ name: string;
28430
+ createdAt: Date;
28431
+ updatedAt: Date;
28432
+ deletedAt: Date | null;
28433
+ isActive: boolean;
28032
28434
  };
28033
28435
  readAt: Date;
28034
28436
  platformMessageId: string;
@@ -30427,6 +30829,31 @@ export declare const mainChatContract: {
30427
30829
  }[] | undefined;
30428
30830
  } | null;
30429
30831
  }>;
30832
+ workflowRule: z.ZodObject<{
30833
+ id: z.ZodString;
30834
+ createdAt: z.ZodDate;
30835
+ updatedAt: z.ZodDate;
30836
+ deletedAt: z.ZodNullable<z.ZodDate>;
30837
+ name: z.ZodString;
30838
+ isActive: z.ZodBoolean;
30839
+ type: z.ZodString;
30840
+ }, "strip", z.ZodTypeAny, {
30841
+ type: string;
30842
+ id: string;
30843
+ name: string;
30844
+ createdAt: Date;
30845
+ updatedAt: Date;
30846
+ deletedAt: Date | null;
30847
+ isActive: boolean;
30848
+ }, {
30849
+ type: string;
30850
+ id: string;
30851
+ name: string;
30852
+ createdAt: Date;
30853
+ updatedAt: Date;
30854
+ deletedAt: Date | null;
30855
+ isActive: boolean;
30856
+ }>;
30430
30857
  solveMessage: z.ZodString;
30431
30858
  }, "strip", z.ZodTypeAny, {
30432
30859
  id: string;
@@ -30777,6 +31204,15 @@ export declare const mainChatContract: {
30777
31204
  }[] | undefined;
30778
31205
  } | null;
30779
31206
  };
31207
+ workflowRule: {
31208
+ type: string;
31209
+ id: string;
31210
+ name: string;
31211
+ createdAt: Date;
31212
+ updatedAt: Date;
31213
+ deletedAt: Date | null;
31214
+ isActive: boolean;
31215
+ };
30780
31216
  solveMessage: string;
30781
31217
  }, {
30782
31218
  id: string;
@@ -31127,6 +31563,15 @@ export declare const mainChatContract: {
31127
31563
  }[] | undefined;
31128
31564
  } | null;
31129
31565
  };
31566
+ workflowRule: {
31567
+ type: string;
31568
+ id: string;
31569
+ name: string;
31570
+ createdAt: Date;
31571
+ updatedAt: Date;
31572
+ deletedAt: Date | null;
31573
+ isActive: boolean;
31574
+ };
31130
31575
  solveMessage: string;
31131
31576
  }>;
31132
31577
  }, "strip", z.ZodTypeAny, {
@@ -31479,6 +31924,15 @@ export declare const mainChatContract: {
31479
31924
  }[] | undefined;
31480
31925
  } | null;
31481
31926
  };
31927
+ workflowRule: {
31928
+ type: string;
31929
+ id: string;
31930
+ name: string;
31931
+ createdAt: Date;
31932
+ updatedAt: Date;
31933
+ deletedAt: Date | null;
31934
+ isActive: boolean;
31935
+ };
31482
31936
  solveMessage: string;
31483
31937
  };
31484
31938
  requestId: string;
@@ -31832,6 +32286,15 @@ export declare const mainChatContract: {
31832
32286
  }[] | undefined;
31833
32287
  } | null;
31834
32288
  };
32289
+ workflowRule: {
32290
+ type: string;
32291
+ id: string;
32292
+ name: string;
32293
+ createdAt: Date;
32294
+ updatedAt: Date;
32295
+ deletedAt: Date | null;
32296
+ isActive: boolean;
32297
+ };
31835
32298
  solveMessage: string;
31836
32299
  };
31837
32300
  requestId: string;
@@ -34022,6 +34485,31 @@ export declare const mainChatContract: {
34022
34485
  }[] | undefined;
34023
34486
  } | null;
34024
34487
  }>;
34488
+ workflowRule: z.ZodObject<{
34489
+ id: z.ZodString;
34490
+ createdAt: z.ZodDate;
34491
+ updatedAt: z.ZodDate;
34492
+ deletedAt: z.ZodNullable<z.ZodDate>;
34493
+ name: z.ZodString;
34494
+ isActive: z.ZodBoolean;
34495
+ type: z.ZodString;
34496
+ }, "strip", z.ZodTypeAny, {
34497
+ type: string;
34498
+ id: string;
34499
+ name: string;
34500
+ createdAt: Date;
34501
+ updatedAt: Date;
34502
+ deletedAt: Date | null;
34503
+ isActive: boolean;
34504
+ }, {
34505
+ type: string;
34506
+ id: string;
34507
+ name: string;
34508
+ createdAt: Date;
34509
+ updatedAt: Date;
34510
+ deletedAt: Date | null;
34511
+ isActive: boolean;
34512
+ }>;
34025
34513
  }, "strip", z.ZodTypeAny, {
34026
34514
  id: string;
34027
34515
  channel: {
@@ -34371,6 +34859,15 @@ export declare const mainChatContract: {
34371
34859
  }[] | undefined;
34372
34860
  } | null;
34373
34861
  };
34862
+ workflowRule: {
34863
+ type: string;
34864
+ id: string;
34865
+ name: string;
34866
+ createdAt: Date;
34867
+ updatedAt: Date;
34868
+ deletedAt: Date | null;
34869
+ isActive: boolean;
34870
+ };
34374
34871
  }, {
34375
34872
  id: string;
34376
34873
  channel: {
@@ -34720,6 +35217,15 @@ export declare const mainChatContract: {
34720
35217
  }[] | undefined;
34721
35218
  } | null;
34722
35219
  };
35220
+ workflowRule: {
35221
+ type: string;
35222
+ id: string;
35223
+ name: string;
35224
+ createdAt: Date;
35225
+ updatedAt: Date;
35226
+ deletedAt: Date | null;
35227
+ isActive: boolean;
35228
+ };
34723
35229
  }>;
34724
35230
  }, "strip", z.ZodTypeAny, {
34725
35231
  data: {
@@ -35071,6 +35577,15 @@ export declare const mainChatContract: {
35071
35577
  }[] | undefined;
35072
35578
  } | null;
35073
35579
  };
35580
+ workflowRule: {
35581
+ type: string;
35582
+ id: string;
35583
+ name: string;
35584
+ createdAt: Date;
35585
+ updatedAt: Date;
35586
+ deletedAt: Date | null;
35587
+ isActive: boolean;
35588
+ };
35074
35589
  };
35075
35590
  requestId: string;
35076
35591
  }, {
@@ -35423,6 +35938,15 @@ export declare const mainChatContract: {
35423
35938
  }[] | undefined;
35424
35939
  } | null;
35425
35940
  };
35941
+ workflowRule: {
35942
+ type: string;
35943
+ id: string;
35944
+ name: string;
35945
+ createdAt: Date;
35946
+ updatedAt: Date;
35947
+ deletedAt: Date | null;
35948
+ isActive: boolean;
35949
+ };
35426
35950
  };
35427
35951
  requestId: string;
35428
35952
  }>;
@@ -37600,6 +38124,31 @@ export declare const mainChatContract: {
37600
38124
  }[] | undefined;
37601
38125
  } | null;
37602
38126
  }>;
38127
+ workflowRule: z.ZodObject<{
38128
+ id: z.ZodString;
38129
+ createdAt: z.ZodDate;
38130
+ updatedAt: z.ZodDate;
38131
+ deletedAt: z.ZodNullable<z.ZodDate>;
38132
+ name: z.ZodString;
38133
+ isActive: z.ZodBoolean;
38134
+ type: z.ZodString;
38135
+ }, "strip", z.ZodTypeAny, {
38136
+ type: string;
38137
+ id: string;
38138
+ name: string;
38139
+ createdAt: Date;
38140
+ updatedAt: Date;
38141
+ deletedAt: Date | null;
38142
+ isActive: boolean;
38143
+ }, {
38144
+ type: string;
38145
+ id: string;
38146
+ name: string;
38147
+ createdAt: Date;
38148
+ updatedAt: Date;
38149
+ deletedAt: Date | null;
38150
+ isActive: boolean;
38151
+ }>;
37603
38152
  }, "strip", z.ZodTypeAny, {
37604
38153
  id: string;
37605
38154
  channel: {
@@ -37949,6 +38498,15 @@ export declare const mainChatContract: {
37949
38498
  }[] | undefined;
37950
38499
  } | null;
37951
38500
  };
38501
+ workflowRule: {
38502
+ type: string;
38503
+ id: string;
38504
+ name: string;
38505
+ createdAt: Date;
38506
+ updatedAt: Date;
38507
+ deletedAt: Date | null;
38508
+ isActive: boolean;
38509
+ };
37952
38510
  }, {
37953
38511
  id: string;
37954
38512
  channel: {
@@ -38298,6 +38856,15 @@ export declare const mainChatContract: {
38298
38856
  }[] | undefined;
38299
38857
  } | null;
38300
38858
  };
38859
+ workflowRule: {
38860
+ type: string;
38861
+ id: string;
38862
+ name: string;
38863
+ createdAt: Date;
38864
+ updatedAt: Date;
38865
+ deletedAt: Date | null;
38866
+ isActive: boolean;
38867
+ };
38301
38868
  }>;
38302
38869
  latestIncomingMessage: z.ZodObject<{
38303
38870
  message: z.ZodString;
@@ -38692,6 +39259,15 @@ export declare const mainChatContract: {
38692
39259
  }[] | undefined;
38693
39260
  } | null;
38694
39261
  };
39262
+ workflowRule: {
39263
+ type: string;
39264
+ id: string;
39265
+ name: string;
39266
+ createdAt: Date;
39267
+ updatedAt: Date;
39268
+ deletedAt: Date | null;
39269
+ isActive: boolean;
39270
+ };
38695
39271
  };
38696
39272
  latestIncomingMessage: {
38697
39273
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
@@ -39058,6 +39634,15 @@ export declare const mainChatContract: {
39058
39634
  }[] | undefined;
39059
39635
  } | null;
39060
39636
  };
39637
+ workflowRule: {
39638
+ type: string;
39639
+ id: string;
39640
+ name: string;
39641
+ createdAt: Date;
39642
+ updatedAt: Date;
39643
+ deletedAt: Date | null;
39644
+ isActive: boolean;
39645
+ };
39061
39646
  };
39062
39647
  latestIncomingMessage: {
39063
39648
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
@@ -39426,6 +40011,15 @@ export declare const mainChatContract: {
39426
40011
  }[] | undefined;
39427
40012
  } | null;
39428
40013
  };
40014
+ workflowRule: {
40015
+ type: string;
40016
+ id: string;
40017
+ name: string;
40018
+ createdAt: Date;
40019
+ updatedAt: Date;
40020
+ deletedAt: Date | null;
40021
+ isActive: boolean;
40022
+ };
39429
40023
  };
39430
40024
  latestIncomingMessage: {
39431
40025
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
@@ -39795,6 +40389,15 @@ export declare const mainChatContract: {
39795
40389
  }[] | undefined;
39796
40390
  } | null;
39797
40391
  };
40392
+ workflowRule: {
40393
+ type: string;
40394
+ id: string;
40395
+ name: string;
40396
+ createdAt: Date;
40397
+ updatedAt: Date;
40398
+ deletedAt: Date | null;
40399
+ isActive: boolean;
40400
+ };
39798
40401
  };
39799
40402
  latestIncomingMessage: {
39800
40403
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
@@ -41998,6 +42601,31 @@ export declare const mainChatContract: {
41998
42601
  }[] | undefined;
41999
42602
  } | null;
42000
42603
  }>;
42604
+ workflowRule: z.ZodObject<{
42605
+ id: z.ZodString;
42606
+ createdAt: z.ZodDate;
42607
+ updatedAt: z.ZodDate;
42608
+ deletedAt: z.ZodNullable<z.ZodDate>;
42609
+ name: z.ZodString;
42610
+ isActive: z.ZodBoolean;
42611
+ type: z.ZodString;
42612
+ }, "strip", z.ZodTypeAny, {
42613
+ type: string;
42614
+ id: string;
42615
+ name: string;
42616
+ createdAt: Date;
42617
+ updatedAt: Date;
42618
+ deletedAt: Date | null;
42619
+ isActive: boolean;
42620
+ }, {
42621
+ type: string;
42622
+ id: string;
42623
+ name: string;
42624
+ createdAt: Date;
42625
+ updatedAt: Date;
42626
+ deletedAt: Date | null;
42627
+ isActive: boolean;
42628
+ }>;
42001
42629
  contact: z.ZodObject<{
42002
42630
  id: z.ZodString;
42003
42631
  createdAt: z.ZodDate;
@@ -43132,6 +43760,15 @@ export declare const mainChatContract: {
43132
43760
  }[] | undefined;
43133
43761
  } | null;
43134
43762
  };
43763
+ workflowRule: {
43764
+ type: string;
43765
+ id: string;
43766
+ name: string;
43767
+ createdAt: Date;
43768
+ updatedAt: Date;
43769
+ deletedAt: Date | null;
43770
+ isActive: boolean;
43771
+ };
43135
43772
  openMessage: string;
43136
43773
  }, {
43137
43774
  id: string;
@@ -43579,6 +44216,15 @@ export declare const mainChatContract: {
43579
44216
  }[] | undefined;
43580
44217
  } | null;
43581
44218
  };
44219
+ workflowRule: {
44220
+ type: string;
44221
+ id: string;
44222
+ name: string;
44223
+ createdAt: Date;
44224
+ updatedAt: Date;
44225
+ deletedAt: Date | null;
44226
+ isActive: boolean;
44227
+ };
43582
44228
  openMessage: string;
43583
44229
  }>;
43584
44230
  }, "strip", z.ZodTypeAny, {
@@ -44028,6 +44674,15 @@ export declare const mainChatContract: {
44028
44674
  }[] | undefined;
44029
44675
  } | null;
44030
44676
  };
44677
+ workflowRule: {
44678
+ type: string;
44679
+ id: string;
44680
+ name: string;
44681
+ createdAt: Date;
44682
+ updatedAt: Date;
44683
+ deletedAt: Date | null;
44684
+ isActive: boolean;
44685
+ };
44031
44686
  openMessage: string;
44032
44687
  };
44033
44688
  requestId: string;
@@ -44478,6 +45133,15 @@ export declare const mainChatContract: {
44478
45133
  }[] | undefined;
44479
45134
  } | null;
44480
45135
  };
45136
+ workflowRule: {
45137
+ type: string;
45138
+ id: string;
45139
+ name: string;
45140
+ createdAt: Date;
45141
+ updatedAt: Date;
45142
+ deletedAt: Date | null;
45143
+ isActive: boolean;
45144
+ };
44481
45145
  openMessage: string;
44482
45146
  };
44483
45147
  requestId: string;
@@ -46656,6 +47320,31 @@ export declare const mainChatContract: {
46656
47320
  }[] | undefined;
46657
47321
  } | null;
46658
47322
  }>;
47323
+ workflowRule: z.ZodObject<{
47324
+ id: z.ZodString;
47325
+ createdAt: z.ZodDate;
47326
+ updatedAt: z.ZodDate;
47327
+ deletedAt: z.ZodNullable<z.ZodDate>;
47328
+ name: z.ZodString;
47329
+ isActive: z.ZodBoolean;
47330
+ type: z.ZodString;
47331
+ }, "strip", z.ZodTypeAny, {
47332
+ type: string;
47333
+ id: string;
47334
+ name: string;
47335
+ createdAt: Date;
47336
+ updatedAt: Date;
47337
+ deletedAt: Date | null;
47338
+ isActive: boolean;
47339
+ }, {
47340
+ type: string;
47341
+ id: string;
47342
+ name: string;
47343
+ createdAt: Date;
47344
+ updatedAt: Date;
47345
+ deletedAt: Date | null;
47346
+ isActive: boolean;
47347
+ }>;
46659
47348
  description: z.ZodNullable<z.ZodString>;
46660
47349
  }, "strip", z.ZodTypeAny, {
46661
47350
  id: string;
@@ -47007,6 +47696,15 @@ export declare const mainChatContract: {
47007
47696
  }[] | undefined;
47008
47697
  } | null;
47009
47698
  };
47699
+ workflowRule: {
47700
+ type: string;
47701
+ id: string;
47702
+ name: string;
47703
+ createdAt: Date;
47704
+ updatedAt: Date;
47705
+ deletedAt: Date | null;
47706
+ isActive: boolean;
47707
+ };
47010
47708
  }, {
47011
47709
  id: string;
47012
47710
  channel: {
@@ -47357,6 +48055,15 @@ export declare const mainChatContract: {
47357
48055
  }[] | undefined;
47358
48056
  } | null;
47359
48057
  };
48058
+ workflowRule: {
48059
+ type: string;
48060
+ id: string;
48061
+ name: string;
48062
+ createdAt: Date;
48063
+ updatedAt: Date;
48064
+ deletedAt: Date | null;
48065
+ isActive: boolean;
48066
+ };
47360
48067
  }>;
47361
48068
  }, "strip", z.ZodTypeAny, {
47362
48069
  data: {
@@ -47709,6 +48416,15 @@ export declare const mainChatContract: {
47709
48416
  }[] | undefined;
47710
48417
  } | null;
47711
48418
  };
48419
+ workflowRule: {
48420
+ type: string;
48421
+ id: string;
48422
+ name: string;
48423
+ createdAt: Date;
48424
+ updatedAt: Date;
48425
+ deletedAt: Date | null;
48426
+ isActive: boolean;
48427
+ };
47712
48428
  };
47713
48429
  requestId: string;
47714
48430
  }, {
@@ -48062,6 +48778,15 @@ export declare const mainChatContract: {
48062
48778
  }[] | undefined;
48063
48779
  } | null;
48064
48780
  };
48781
+ workflowRule: {
48782
+ type: string;
48783
+ id: string;
48784
+ name: string;
48785
+ createdAt: Date;
48786
+ updatedAt: Date;
48787
+ deletedAt: Date | null;
48788
+ isActive: boolean;
48789
+ };
48065
48790
  };
48066
48791
  requestId: string;
48067
48792
  }>;
@@ -50250,6 +50975,31 @@ export declare const mainChatContract: {
50250
50975
  }[] | undefined;
50251
50976
  } | null;
50252
50977
  }>;
50978
+ workflowRule: z.ZodObject<{
50979
+ id: z.ZodString;
50980
+ createdAt: z.ZodDate;
50981
+ updatedAt: z.ZodDate;
50982
+ deletedAt: z.ZodNullable<z.ZodDate>;
50983
+ name: z.ZodString;
50984
+ isActive: z.ZodBoolean;
50985
+ type: z.ZodString;
50986
+ }, "strip", z.ZodTypeAny, {
50987
+ type: string;
50988
+ id: string;
50989
+ name: string;
50990
+ createdAt: Date;
50991
+ updatedAt: Date;
50992
+ deletedAt: Date | null;
50993
+ isActive: boolean;
50994
+ }, {
50995
+ type: string;
50996
+ id: string;
50997
+ name: string;
50998
+ createdAt: Date;
50999
+ updatedAt: Date;
51000
+ deletedAt: Date | null;
51001
+ isActive: boolean;
51002
+ }>;
50253
51003
  }, "strip", z.ZodTypeAny, {
50254
51004
  id: string;
50255
51005
  channel: {
@@ -50599,6 +51349,15 @@ export declare const mainChatContract: {
50599
51349
  }[] | undefined;
50600
51350
  } | null;
50601
51351
  };
51352
+ workflowRule: {
51353
+ type: string;
51354
+ id: string;
51355
+ name: string;
51356
+ createdAt: Date;
51357
+ updatedAt: Date;
51358
+ deletedAt: Date | null;
51359
+ isActive: boolean;
51360
+ };
50602
51361
  }, {
50603
51362
  id: string;
50604
51363
  channel: {
@@ -50948,6 +51707,15 @@ export declare const mainChatContract: {
50948
51707
  }[] | undefined;
50949
51708
  } | null;
50950
51709
  };
51710
+ workflowRule: {
51711
+ type: string;
51712
+ id: string;
51713
+ name: string;
51714
+ createdAt: Date;
51715
+ updatedAt: Date;
51716
+ deletedAt: Date | null;
51717
+ isActive: boolean;
51718
+ };
50951
51719
  }>, "many">;
50952
51720
  }, "strip", z.ZodTypeAny, {
50953
51721
  data: {
@@ -51299,6 +52067,15 @@ export declare const mainChatContract: {
51299
52067
  }[] | undefined;
51300
52068
  } | null;
51301
52069
  };
52070
+ workflowRule: {
52071
+ type: string;
52072
+ id: string;
52073
+ name: string;
52074
+ createdAt: Date;
52075
+ updatedAt: Date;
52076
+ deletedAt: Date | null;
52077
+ isActive: boolean;
52078
+ };
51302
52079
  }[];
51303
52080
  total: number;
51304
52081
  page: number;
@@ -51654,6 +52431,15 @@ export declare const mainChatContract: {
51654
52431
  }[] | undefined;
51655
52432
  } | null;
51656
52433
  };
52434
+ workflowRule: {
52435
+ type: string;
52436
+ id: string;
52437
+ name: string;
52438
+ createdAt: Date;
52439
+ updatedAt: Date;
52440
+ deletedAt: Date | null;
52441
+ isActive: boolean;
52442
+ };
51657
52443
  }[];
51658
52444
  total: number;
51659
52445
  page: number;