@speakai/shared 2.1.22 → 2.1.23

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.
@@ -16639,6 +16639,150 @@ declare const widgetSchemaRaw: z.ZodDiscriminatedUnion<[z.ZodObject<{
16639
16639
  w: z.ZodNumber;
16640
16640
  h: z.ZodNumber;
16641
16641
  }, z.core.$strict>;
16642
+ }, z.core.$strict>, z.ZodObject<{
16643
+ type: z.ZodLiteral<"chat-history">;
16644
+ config: z.ZodObject<{
16645
+ limit: z.ZodOptional<z.ZodNumber>;
16646
+ }, z.core.$strict>;
16647
+ id: z.ZodString;
16648
+ title: z.ZodString;
16649
+ binding: z.ZodOptional<z.ZodObject<{
16650
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
16651
+ type: z.ZodLiteral<"folders">;
16652
+ folderIds: z.ZodArray<z.ZodString>;
16653
+ }, z.core.$strict>, z.ZodObject<{
16654
+ type: z.ZodLiteral<"team">;
16655
+ }, z.core.$strict>, z.ZodObject<{
16656
+ type: z.ZodLiteral<"workspace">;
16657
+ }, z.core.$strict>], "type">>;
16658
+ dateRange: z.ZodOptional<z.ZodObject<{
16659
+ preset: z.ZodEnum<{
16660
+ today: "today";
16661
+ yesterday: "yesterday";
16662
+ last7days: "last7days";
16663
+ thisWeek: "thisWeek";
16664
+ lastHour: "lastHour";
16665
+ last4Hours: "last4Hours";
16666
+ last12Hours: "last12Hours";
16667
+ thisMonth: "thisMonth";
16668
+ last30days: "last30days";
16669
+ last3months: "last3months";
16670
+ quarterToDate: "quarterToDate";
16671
+ yearToDate: "yearToDate";
16672
+ allTime: "allTime";
16673
+ }>;
16674
+ }, z.core.$strict>>;
16675
+ filter: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
16676
+ field: z.ZodString;
16677
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
16678
+ fieldId: z.ZodString;
16679
+ }, z.core.$strict>, z.ZodObject<{
16680
+ reserved: z.ZodLiteral<"createdAt">;
16681
+ }, z.core.$strict>]>>;
16682
+ op: z.ZodEnum<{
16683
+ eq: "eq";
16684
+ neq: "neq";
16685
+ in: "in";
16686
+ gt: "gt";
16687
+ gte: "gte";
16688
+ lt: "lt";
16689
+ lte: "lte";
16690
+ exists: "exists";
16691
+ notExists: "notExists";
16692
+ }>;
16693
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
16694
+ }, z.core.$strict>, z.ZodObject<{
16695
+ and: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
16696
+ field: z.ZodString;
16697
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
16698
+ fieldId: z.ZodString;
16699
+ }, z.core.$strict>, z.ZodObject<{
16700
+ reserved: z.ZodLiteral<"createdAt">;
16701
+ }, z.core.$strict>]>>;
16702
+ op: z.ZodEnum<{
16703
+ eq: "eq";
16704
+ neq: "neq";
16705
+ in: "in";
16706
+ gt: "gt";
16707
+ gte: "gte";
16708
+ lt: "lt";
16709
+ lte: "lte";
16710
+ exists: "exists";
16711
+ notExists: "notExists";
16712
+ }>;
16713
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
16714
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>, z.ZodObject<{
16715
+ or: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
16716
+ field: z.ZodString;
16717
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
16718
+ fieldId: z.ZodString;
16719
+ }, z.core.$strict>, z.ZodObject<{
16720
+ reserved: z.ZodLiteral<"createdAt">;
16721
+ }, z.core.$strict>]>>;
16722
+ op: z.ZodEnum<{
16723
+ eq: "eq";
16724
+ neq: "neq";
16725
+ in: "in";
16726
+ gt: "gt";
16727
+ gte: "gte";
16728
+ lt: "lt";
16729
+ lte: "lte";
16730
+ exists: "exists";
16731
+ notExists: "notExists";
16732
+ }>;
16733
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
16734
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>]>>;
16735
+ }, z.core.$strict>]>>;
16736
+ }, z.core.$strict>, z.ZodObject<{
16737
+ or: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
16738
+ field: z.ZodString;
16739
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
16740
+ fieldId: z.ZodString;
16741
+ }, z.core.$strict>, z.ZodObject<{
16742
+ reserved: z.ZodLiteral<"createdAt">;
16743
+ }, z.core.$strict>]>>;
16744
+ op: z.ZodEnum<{
16745
+ eq: "eq";
16746
+ neq: "neq";
16747
+ in: "in";
16748
+ gt: "gt";
16749
+ gte: "gte";
16750
+ lt: "lt";
16751
+ lte: "lte";
16752
+ exists: "exists";
16753
+ notExists: "notExists";
16754
+ }>;
16755
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
16756
+ }, z.core.$strict>, z.ZodObject<{
16757
+ and: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
16758
+ field: z.ZodString;
16759
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
16760
+ fieldId: z.ZodString;
16761
+ }, z.core.$strict>, z.ZodObject<{
16762
+ reserved: z.ZodLiteral<"createdAt">;
16763
+ }, z.core.$strict>]>>;
16764
+ op: z.ZodEnum<{
16765
+ eq: "eq";
16766
+ neq: "neq";
16767
+ in: "in";
16768
+ gt: "gt";
16769
+ gte: "gte";
16770
+ lt: "lt";
16771
+ lte: "lte";
16772
+ exists: "exists";
16773
+ notExists: "notExists";
16774
+ }>;
16775
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
16776
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>]>>;
16777
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>]>>;
16778
+ }, z.core.$strict>]>>;
16779
+ }, z.core.$strict>>;
16780
+ layout: z.ZodObject<{
16781
+ x: z.ZodNumber;
16782
+ y: z.ZodNumber;
16783
+ w: z.ZodNumber;
16784
+ h: z.ZodNumber;
16785
+ }, z.core.$strict>;
16642
16786
  }, z.core.$strict>], "type">;
16643
16787
  export declare const widgetTypeSchema: z.ZodEnum<{
16644
16788
  people: "people";
@@ -16652,6 +16796,7 @@ export declare const widgetTypeSchema: z.ZodEnum<{
16652
16796
  themes: "themes";
16653
16797
  "team-activity": "team-activity";
16654
16798
  notes: "notes";
16799
+ "chat-history": "chat-history";
16655
16800
  }>;
16656
16801
  export declare const sectionSchema: z.ZodObject<{
16657
16802
  id: z.ZodString;
@@ -27645,6 +27790,150 @@ declare const dashboardSpecBaseSchema: z.ZodObject<{
27645
27790
  w: z.ZodNumber;
27646
27791
  h: z.ZodNumber;
27647
27792
  }, z.core.$strict>;
27793
+ }, z.core.$strict>, z.ZodObject<{
27794
+ type: z.ZodLiteral<"chat-history">;
27795
+ config: z.ZodObject<{
27796
+ limit: z.ZodOptional<z.ZodNumber>;
27797
+ }, z.core.$strict>;
27798
+ id: z.ZodString;
27799
+ title: z.ZodString;
27800
+ binding: z.ZodOptional<z.ZodObject<{
27801
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
27802
+ type: z.ZodLiteral<"folders">;
27803
+ folderIds: z.ZodArray<z.ZodString>;
27804
+ }, z.core.$strict>, z.ZodObject<{
27805
+ type: z.ZodLiteral<"team">;
27806
+ }, z.core.$strict>, z.ZodObject<{
27807
+ type: z.ZodLiteral<"workspace">;
27808
+ }, z.core.$strict>], "type">>;
27809
+ dateRange: z.ZodOptional<z.ZodObject<{
27810
+ preset: z.ZodEnum<{
27811
+ today: "today";
27812
+ yesterday: "yesterday";
27813
+ last7days: "last7days";
27814
+ thisWeek: "thisWeek";
27815
+ lastHour: "lastHour";
27816
+ last4Hours: "last4Hours";
27817
+ last12Hours: "last12Hours";
27818
+ thisMonth: "thisMonth";
27819
+ last30days: "last30days";
27820
+ last3months: "last3months";
27821
+ quarterToDate: "quarterToDate";
27822
+ yearToDate: "yearToDate";
27823
+ allTime: "allTime";
27824
+ }>;
27825
+ }, z.core.$strict>>;
27826
+ filter: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
27827
+ field: z.ZodString;
27828
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
27829
+ fieldId: z.ZodString;
27830
+ }, z.core.$strict>, z.ZodObject<{
27831
+ reserved: z.ZodLiteral<"createdAt">;
27832
+ }, z.core.$strict>]>>;
27833
+ op: z.ZodEnum<{
27834
+ eq: "eq";
27835
+ neq: "neq";
27836
+ in: "in";
27837
+ gt: "gt";
27838
+ gte: "gte";
27839
+ lt: "lt";
27840
+ lte: "lte";
27841
+ exists: "exists";
27842
+ notExists: "notExists";
27843
+ }>;
27844
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
27845
+ }, z.core.$strict>, z.ZodObject<{
27846
+ and: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
27847
+ field: z.ZodString;
27848
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
27849
+ fieldId: z.ZodString;
27850
+ }, z.core.$strict>, z.ZodObject<{
27851
+ reserved: z.ZodLiteral<"createdAt">;
27852
+ }, z.core.$strict>]>>;
27853
+ op: z.ZodEnum<{
27854
+ eq: "eq";
27855
+ neq: "neq";
27856
+ in: "in";
27857
+ gt: "gt";
27858
+ gte: "gte";
27859
+ lt: "lt";
27860
+ lte: "lte";
27861
+ exists: "exists";
27862
+ notExists: "notExists";
27863
+ }>;
27864
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
27865
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>, z.ZodObject<{
27866
+ or: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
27867
+ field: z.ZodString;
27868
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
27869
+ fieldId: z.ZodString;
27870
+ }, z.core.$strict>, z.ZodObject<{
27871
+ reserved: z.ZodLiteral<"createdAt">;
27872
+ }, z.core.$strict>]>>;
27873
+ op: z.ZodEnum<{
27874
+ eq: "eq";
27875
+ neq: "neq";
27876
+ in: "in";
27877
+ gt: "gt";
27878
+ gte: "gte";
27879
+ lt: "lt";
27880
+ lte: "lte";
27881
+ exists: "exists";
27882
+ notExists: "notExists";
27883
+ }>;
27884
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
27885
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>]>>;
27886
+ }, z.core.$strict>]>>;
27887
+ }, z.core.$strict>, z.ZodObject<{
27888
+ or: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
27889
+ field: z.ZodString;
27890
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
27891
+ fieldId: z.ZodString;
27892
+ }, z.core.$strict>, z.ZodObject<{
27893
+ reserved: z.ZodLiteral<"createdAt">;
27894
+ }, z.core.$strict>]>>;
27895
+ op: z.ZodEnum<{
27896
+ eq: "eq";
27897
+ neq: "neq";
27898
+ in: "in";
27899
+ gt: "gt";
27900
+ gte: "gte";
27901
+ lt: "lt";
27902
+ lte: "lte";
27903
+ exists: "exists";
27904
+ notExists: "notExists";
27905
+ }>;
27906
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
27907
+ }, z.core.$strict>, z.ZodObject<{
27908
+ and: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
27909
+ field: z.ZodString;
27910
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
27911
+ fieldId: z.ZodString;
27912
+ }, z.core.$strict>, z.ZodObject<{
27913
+ reserved: z.ZodLiteral<"createdAt">;
27914
+ }, z.core.$strict>]>>;
27915
+ op: z.ZodEnum<{
27916
+ eq: "eq";
27917
+ neq: "neq";
27918
+ in: "in";
27919
+ gt: "gt";
27920
+ gte: "gte";
27921
+ lt: "lt";
27922
+ lte: "lte";
27923
+ exists: "exists";
27924
+ notExists: "notExists";
27925
+ }>;
27926
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
27927
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>]>>;
27928
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>]>>;
27929
+ }, z.core.$strict>]>>;
27930
+ }, z.core.$strict>>;
27931
+ layout: z.ZodObject<{
27932
+ x: z.ZodNumber;
27933
+ y: z.ZodNumber;
27934
+ w: z.ZodNumber;
27935
+ h: z.ZodNumber;
27936
+ }, z.core.$strict>;
27648
27937
  }, z.core.$strict>], "type">>;
27649
27938
  revision: z.ZodDefault<z.ZodNumber>;
27650
27939
  }, z.core.$strict>;
@@ -44116,6 +44405,150 @@ export declare const widgetSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.Zo
44116
44405
  w: z.ZodNumber;
44117
44406
  h: z.ZodNumber;
44118
44407
  }, z.core.$strict>;
44408
+ }, z.core.$strict>, z.ZodObject<{
44409
+ type: z.ZodLiteral<"chat-history">;
44410
+ config: z.ZodObject<{
44411
+ limit: z.ZodOptional<z.ZodNumber>;
44412
+ }, z.core.$strict>;
44413
+ id: z.ZodString;
44414
+ title: z.ZodString;
44415
+ binding: z.ZodOptional<z.ZodObject<{
44416
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
44417
+ type: z.ZodLiteral<"folders">;
44418
+ folderIds: z.ZodArray<z.ZodString>;
44419
+ }, z.core.$strict>, z.ZodObject<{
44420
+ type: z.ZodLiteral<"team">;
44421
+ }, z.core.$strict>, z.ZodObject<{
44422
+ type: z.ZodLiteral<"workspace">;
44423
+ }, z.core.$strict>], "type">>;
44424
+ dateRange: z.ZodOptional<z.ZodObject<{
44425
+ preset: z.ZodEnum<{
44426
+ today: "today";
44427
+ yesterday: "yesterday";
44428
+ last7days: "last7days";
44429
+ thisWeek: "thisWeek";
44430
+ lastHour: "lastHour";
44431
+ last4Hours: "last4Hours";
44432
+ last12Hours: "last12Hours";
44433
+ thisMonth: "thisMonth";
44434
+ last30days: "last30days";
44435
+ last3months: "last3months";
44436
+ quarterToDate: "quarterToDate";
44437
+ yearToDate: "yearToDate";
44438
+ allTime: "allTime";
44439
+ }>;
44440
+ }, z.core.$strict>>;
44441
+ filter: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
44442
+ field: z.ZodString;
44443
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
44444
+ fieldId: z.ZodString;
44445
+ }, z.core.$strict>, z.ZodObject<{
44446
+ reserved: z.ZodLiteral<"createdAt">;
44447
+ }, z.core.$strict>]>>;
44448
+ op: z.ZodEnum<{
44449
+ eq: "eq";
44450
+ neq: "neq";
44451
+ in: "in";
44452
+ gt: "gt";
44453
+ gte: "gte";
44454
+ lt: "lt";
44455
+ lte: "lte";
44456
+ exists: "exists";
44457
+ notExists: "notExists";
44458
+ }>;
44459
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
44460
+ }, z.core.$strict>, z.ZodObject<{
44461
+ and: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
44462
+ field: z.ZodString;
44463
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
44464
+ fieldId: z.ZodString;
44465
+ }, z.core.$strict>, z.ZodObject<{
44466
+ reserved: z.ZodLiteral<"createdAt">;
44467
+ }, z.core.$strict>]>>;
44468
+ op: z.ZodEnum<{
44469
+ eq: "eq";
44470
+ neq: "neq";
44471
+ in: "in";
44472
+ gt: "gt";
44473
+ gte: "gte";
44474
+ lt: "lt";
44475
+ lte: "lte";
44476
+ exists: "exists";
44477
+ notExists: "notExists";
44478
+ }>;
44479
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
44480
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>, z.ZodObject<{
44481
+ or: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
44482
+ field: z.ZodString;
44483
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
44484
+ fieldId: z.ZodString;
44485
+ }, z.core.$strict>, z.ZodObject<{
44486
+ reserved: z.ZodLiteral<"createdAt">;
44487
+ }, z.core.$strict>]>>;
44488
+ op: z.ZodEnum<{
44489
+ eq: "eq";
44490
+ neq: "neq";
44491
+ in: "in";
44492
+ gt: "gt";
44493
+ gte: "gte";
44494
+ lt: "lt";
44495
+ lte: "lte";
44496
+ exists: "exists";
44497
+ notExists: "notExists";
44498
+ }>;
44499
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
44500
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>]>>;
44501
+ }, z.core.$strict>]>>;
44502
+ }, z.core.$strict>, z.ZodObject<{
44503
+ or: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
44504
+ field: z.ZodString;
44505
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
44506
+ fieldId: z.ZodString;
44507
+ }, z.core.$strict>, z.ZodObject<{
44508
+ reserved: z.ZodLiteral<"createdAt">;
44509
+ }, z.core.$strict>]>>;
44510
+ op: z.ZodEnum<{
44511
+ eq: "eq";
44512
+ neq: "neq";
44513
+ in: "in";
44514
+ gt: "gt";
44515
+ gte: "gte";
44516
+ lt: "lt";
44517
+ lte: "lte";
44518
+ exists: "exists";
44519
+ notExists: "notExists";
44520
+ }>;
44521
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
44522
+ }, z.core.$strict>, z.ZodObject<{
44523
+ and: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
44524
+ field: z.ZodString;
44525
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
44526
+ fieldId: z.ZodString;
44527
+ }, z.core.$strict>, z.ZodObject<{
44528
+ reserved: z.ZodLiteral<"createdAt">;
44529
+ }, z.core.$strict>]>>;
44530
+ op: z.ZodEnum<{
44531
+ eq: "eq";
44532
+ neq: "neq";
44533
+ in: "in";
44534
+ gt: "gt";
44535
+ gte: "gte";
44536
+ lt: "lt";
44537
+ lte: "lte";
44538
+ exists: "exists";
44539
+ notExists: "notExists";
44540
+ }>;
44541
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
44542
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>]>>;
44543
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>]>>;
44544
+ }, z.core.$strict>]>>;
44545
+ }, z.core.$strict>>;
44546
+ layout: z.ZodObject<{
44547
+ x: z.ZodNumber;
44548
+ y: z.ZodNumber;
44549
+ w: z.ZodNumber;
44550
+ h: z.ZodNumber;
44551
+ }, z.core.$strict>;
44119
44552
  }, z.core.$strict>], "type">>;
44120
44553
  export type Path = (string | number)[];
44121
44554
  /**
@@ -55191,6 +55624,150 @@ export declare function buildDashboardSpecSchema(fieldTypes?: FieldTypeMap, fiel
55191
55624
  w: z.ZodNumber;
55192
55625
  h: z.ZodNumber;
55193
55626
  }, z.core.$strict>;
55627
+ }, z.core.$strict>, z.ZodObject<{
55628
+ type: z.ZodLiteral<"chat-history">;
55629
+ config: z.ZodObject<{
55630
+ limit: z.ZodOptional<z.ZodNumber>;
55631
+ }, z.core.$strict>;
55632
+ id: z.ZodString;
55633
+ title: z.ZodString;
55634
+ binding: z.ZodOptional<z.ZodObject<{
55635
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
55636
+ type: z.ZodLiteral<"folders">;
55637
+ folderIds: z.ZodArray<z.ZodString>;
55638
+ }, z.core.$strict>, z.ZodObject<{
55639
+ type: z.ZodLiteral<"team">;
55640
+ }, z.core.$strict>, z.ZodObject<{
55641
+ type: z.ZodLiteral<"workspace">;
55642
+ }, z.core.$strict>], "type">>;
55643
+ dateRange: z.ZodOptional<z.ZodObject<{
55644
+ preset: z.ZodEnum<{
55645
+ today: "today";
55646
+ yesterday: "yesterday";
55647
+ last7days: "last7days";
55648
+ thisWeek: "thisWeek";
55649
+ lastHour: "lastHour";
55650
+ last4Hours: "last4Hours";
55651
+ last12Hours: "last12Hours";
55652
+ thisMonth: "thisMonth";
55653
+ last30days: "last30days";
55654
+ last3months: "last3months";
55655
+ quarterToDate: "quarterToDate";
55656
+ yearToDate: "yearToDate";
55657
+ allTime: "allTime";
55658
+ }>;
55659
+ }, z.core.$strict>>;
55660
+ filter: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
55661
+ field: z.ZodString;
55662
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
55663
+ fieldId: z.ZodString;
55664
+ }, z.core.$strict>, z.ZodObject<{
55665
+ reserved: z.ZodLiteral<"createdAt">;
55666
+ }, z.core.$strict>]>>;
55667
+ op: z.ZodEnum<{
55668
+ eq: "eq";
55669
+ neq: "neq";
55670
+ in: "in";
55671
+ gt: "gt";
55672
+ gte: "gte";
55673
+ lt: "lt";
55674
+ lte: "lte";
55675
+ exists: "exists";
55676
+ notExists: "notExists";
55677
+ }>;
55678
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
55679
+ }, z.core.$strict>, z.ZodObject<{
55680
+ and: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
55681
+ field: z.ZodString;
55682
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
55683
+ fieldId: z.ZodString;
55684
+ }, z.core.$strict>, z.ZodObject<{
55685
+ reserved: z.ZodLiteral<"createdAt">;
55686
+ }, z.core.$strict>]>>;
55687
+ op: z.ZodEnum<{
55688
+ eq: "eq";
55689
+ neq: "neq";
55690
+ in: "in";
55691
+ gt: "gt";
55692
+ gte: "gte";
55693
+ lt: "lt";
55694
+ lte: "lte";
55695
+ exists: "exists";
55696
+ notExists: "notExists";
55697
+ }>;
55698
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
55699
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>, z.ZodObject<{
55700
+ or: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
55701
+ field: z.ZodString;
55702
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
55703
+ fieldId: z.ZodString;
55704
+ }, z.core.$strict>, z.ZodObject<{
55705
+ reserved: z.ZodLiteral<"createdAt">;
55706
+ }, z.core.$strict>]>>;
55707
+ op: z.ZodEnum<{
55708
+ eq: "eq";
55709
+ neq: "neq";
55710
+ in: "in";
55711
+ gt: "gt";
55712
+ gte: "gte";
55713
+ lt: "lt";
55714
+ lte: "lte";
55715
+ exists: "exists";
55716
+ notExists: "notExists";
55717
+ }>;
55718
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
55719
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>]>>;
55720
+ }, z.core.$strict>]>>;
55721
+ }, z.core.$strict>, z.ZodObject<{
55722
+ or: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
55723
+ field: z.ZodString;
55724
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
55725
+ fieldId: z.ZodString;
55726
+ }, z.core.$strict>, z.ZodObject<{
55727
+ reserved: z.ZodLiteral<"createdAt">;
55728
+ }, z.core.$strict>]>>;
55729
+ op: z.ZodEnum<{
55730
+ eq: "eq";
55731
+ neq: "neq";
55732
+ in: "in";
55733
+ gt: "gt";
55734
+ gte: "gte";
55735
+ lt: "lt";
55736
+ lte: "lte";
55737
+ exists: "exists";
55738
+ notExists: "notExists";
55739
+ }>;
55740
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
55741
+ }, z.core.$strict>, z.ZodObject<{
55742
+ and: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
55743
+ field: z.ZodString;
55744
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
55745
+ fieldId: z.ZodString;
55746
+ }, z.core.$strict>, z.ZodObject<{
55747
+ reserved: z.ZodLiteral<"createdAt">;
55748
+ }, z.core.$strict>]>>;
55749
+ op: z.ZodEnum<{
55750
+ eq: "eq";
55751
+ neq: "neq";
55752
+ in: "in";
55753
+ gt: "gt";
55754
+ gte: "gte";
55755
+ lt: "lt";
55756
+ lte: "lte";
55757
+ exists: "exists";
55758
+ notExists: "notExists";
55759
+ }>;
55760
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
55761
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>]>>;
55762
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>]>>;
55763
+ }, z.core.$strict>]>>;
55764
+ }, z.core.$strict>>;
55765
+ layout: z.ZodObject<{
55766
+ x: z.ZodNumber;
55767
+ y: z.ZodNumber;
55768
+ w: z.ZodNumber;
55769
+ h: z.ZodNumber;
55770
+ }, z.core.$strict>;
55194
55771
  }, z.core.$strict>], "type">>;
55195
55772
  revision: z.ZodDefault<z.ZodNumber>;
55196
55773
  }, z.core.$strict>>;
@@ -66176,6 +66753,150 @@ export declare const dashboardSpecSchema: z.ZodPreprocess<z.ZodObject<{
66176
66753
  w: z.ZodNumber;
66177
66754
  h: z.ZodNumber;
66178
66755
  }, z.core.$strict>;
66756
+ }, z.core.$strict>, z.ZodObject<{
66757
+ type: z.ZodLiteral<"chat-history">;
66758
+ config: z.ZodObject<{
66759
+ limit: z.ZodOptional<z.ZodNumber>;
66760
+ }, z.core.$strict>;
66761
+ id: z.ZodString;
66762
+ title: z.ZodString;
66763
+ binding: z.ZodOptional<z.ZodObject<{
66764
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
66765
+ type: z.ZodLiteral<"folders">;
66766
+ folderIds: z.ZodArray<z.ZodString>;
66767
+ }, z.core.$strict>, z.ZodObject<{
66768
+ type: z.ZodLiteral<"team">;
66769
+ }, z.core.$strict>, z.ZodObject<{
66770
+ type: z.ZodLiteral<"workspace">;
66771
+ }, z.core.$strict>], "type">>;
66772
+ dateRange: z.ZodOptional<z.ZodObject<{
66773
+ preset: z.ZodEnum<{
66774
+ today: "today";
66775
+ yesterday: "yesterday";
66776
+ last7days: "last7days";
66777
+ thisWeek: "thisWeek";
66778
+ lastHour: "lastHour";
66779
+ last4Hours: "last4Hours";
66780
+ last12Hours: "last12Hours";
66781
+ thisMonth: "thisMonth";
66782
+ last30days: "last30days";
66783
+ last3months: "last3months";
66784
+ quarterToDate: "quarterToDate";
66785
+ yearToDate: "yearToDate";
66786
+ allTime: "allTime";
66787
+ }>;
66788
+ }, z.core.$strict>>;
66789
+ filter: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
66790
+ field: z.ZodString;
66791
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
66792
+ fieldId: z.ZodString;
66793
+ }, z.core.$strict>, z.ZodObject<{
66794
+ reserved: z.ZodLiteral<"createdAt">;
66795
+ }, z.core.$strict>]>>;
66796
+ op: z.ZodEnum<{
66797
+ eq: "eq";
66798
+ neq: "neq";
66799
+ in: "in";
66800
+ gt: "gt";
66801
+ gte: "gte";
66802
+ lt: "lt";
66803
+ lte: "lte";
66804
+ exists: "exists";
66805
+ notExists: "notExists";
66806
+ }>;
66807
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
66808
+ }, z.core.$strict>, z.ZodObject<{
66809
+ and: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
66810
+ field: z.ZodString;
66811
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
66812
+ fieldId: z.ZodString;
66813
+ }, z.core.$strict>, z.ZodObject<{
66814
+ reserved: z.ZodLiteral<"createdAt">;
66815
+ }, z.core.$strict>]>>;
66816
+ op: z.ZodEnum<{
66817
+ eq: "eq";
66818
+ neq: "neq";
66819
+ in: "in";
66820
+ gt: "gt";
66821
+ gte: "gte";
66822
+ lt: "lt";
66823
+ lte: "lte";
66824
+ exists: "exists";
66825
+ notExists: "notExists";
66826
+ }>;
66827
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
66828
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>, z.ZodObject<{
66829
+ or: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
66830
+ field: z.ZodString;
66831
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
66832
+ fieldId: z.ZodString;
66833
+ }, z.core.$strict>, z.ZodObject<{
66834
+ reserved: z.ZodLiteral<"createdAt">;
66835
+ }, z.core.$strict>]>>;
66836
+ op: z.ZodEnum<{
66837
+ eq: "eq";
66838
+ neq: "neq";
66839
+ in: "in";
66840
+ gt: "gt";
66841
+ gte: "gte";
66842
+ lt: "lt";
66843
+ lte: "lte";
66844
+ exists: "exists";
66845
+ notExists: "notExists";
66846
+ }>;
66847
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
66848
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>]>>;
66849
+ }, z.core.$strict>]>>;
66850
+ }, z.core.$strict>, z.ZodObject<{
66851
+ or: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
66852
+ field: z.ZodString;
66853
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
66854
+ fieldId: z.ZodString;
66855
+ }, z.core.$strict>, z.ZodObject<{
66856
+ reserved: z.ZodLiteral<"createdAt">;
66857
+ }, z.core.$strict>]>>;
66858
+ op: z.ZodEnum<{
66859
+ eq: "eq";
66860
+ neq: "neq";
66861
+ in: "in";
66862
+ gt: "gt";
66863
+ gte: "gte";
66864
+ lt: "lt";
66865
+ lte: "lte";
66866
+ exists: "exists";
66867
+ notExists: "notExists";
66868
+ }>;
66869
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
66870
+ }, z.core.$strict>, z.ZodObject<{
66871
+ and: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
66872
+ field: z.ZodString;
66873
+ ref: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
66874
+ fieldId: z.ZodString;
66875
+ }, z.core.$strict>, z.ZodObject<{
66876
+ reserved: z.ZodLiteral<"createdAt">;
66877
+ }, z.core.$strict>]>>;
66878
+ op: z.ZodEnum<{
66879
+ eq: "eq";
66880
+ neq: "neq";
66881
+ in: "in";
66882
+ gt: "gt";
66883
+ gte: "gte";
66884
+ lt: "lt";
66885
+ lte: "lte";
66886
+ exists: "exists";
66887
+ notExists: "notExists";
66888
+ }>;
66889
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
66890
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>]>>;
66891
+ }, z.core.$strict>, z.ZodObject</*elided*/ any, z.core.$strict>]>>;
66892
+ }, z.core.$strict>]>>;
66893
+ }, z.core.$strict>>;
66894
+ layout: z.ZodObject<{
66895
+ x: z.ZodNumber;
66896
+ y: z.ZodNumber;
66897
+ w: z.ZodNumber;
66898
+ h: z.ZodNumber;
66899
+ }, z.core.$strict>;
66179
66900
  }, z.core.$strict>], "type">>;
66180
66901
  revision: z.ZodDefault<z.ZodNumber>;
66181
66902
  }, z.core.$strict>>;