@objectstack/platform-objects 14.3.0 → 14.6.0

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.
@@ -324,6 +324,30 @@ declare const SysUser: Omit<{
324
324
  versionField: string;
325
325
  retentionDays?: number | undefined;
326
326
  } | undefined;
327
+ lifecycle?: {
328
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
329
+ retention?: {
330
+ maxAge: string;
331
+ onlyWhen?: Record<string, string | number | boolean | {
332
+ $in: (string | number)[];
333
+ }> | undefined;
334
+ } | undefined;
335
+ ttl?: {
336
+ field: string;
337
+ expireAfter: string;
338
+ } | undefined;
339
+ storage?: {
340
+ strategy: "rotation";
341
+ shards: number;
342
+ unit: "day" | "week" | "month";
343
+ } | undefined;
344
+ archive?: {
345
+ after: string;
346
+ to: string;
347
+ keep?: string | undefined;
348
+ } | undefined;
349
+ reclaim?: boolean | undefined;
350
+ } | undefined;
327
351
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
328
352
  activityMilestones?: {
329
353
  field: string;
@@ -481,7 +505,7 @@ declare const SysUser: Omit<{
481
505
  timeline?: {
482
506
  startDateField: string;
483
507
  titleField: string;
484
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
508
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
485
509
  endDateField?: string | undefined;
486
510
  groupByField?: string | undefined;
487
511
  colorField?: string | undefined;
@@ -708,6 +732,15 @@ declare const SysUser: Omit<{
708
732
  helpText?: string | undefined;
709
733
  defaultValue?: unknown;
710
734
  defaultFromRow?: boolean | undefined;
735
+ visible?: {
736
+ dialect: "cel" | "js" | "cron" | "template";
737
+ source?: string | undefined;
738
+ ast?: unknown;
739
+ meta?: {
740
+ rationale?: string | undefined;
741
+ generatedBy?: string | undefined;
742
+ } | undefined;
743
+ } | undefined;
711
744
  }[] | undefined;
712
745
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
713
746
  order?: number | undefined;
@@ -788,6 +821,9 @@ declare const SysUser: Omit<{
788
821
  readonly icon: "user";
789
822
  readonly isSystem: true;
790
823
  readonly managedBy: "better-auth";
824
+ readonly userActions: {
825
+ readonly edit: true;
826
+ };
791
827
  readonly protection: {
792
828
  readonly lock: "full";
793
829
  readonly reason: "Identity table managed by better-auth — see ADR-0010.";
@@ -822,7 +858,7 @@ declare const SysUser: Omit<{
822
858
  readonly label: "Ban User";
823
859
  readonly icon: "ban";
824
860
  readonly variant: "danger";
825
- readonly locations: ["list_item"];
861
+ readonly locations: ["list_item", "record_header"];
826
862
  readonly type: "api";
827
863
  readonly target: "/api/v1/auth/admin/ban-user";
828
864
  readonly recordIdParam: "userId";
@@ -840,7 +876,7 @@ declare const SysUser: Omit<{
840
876
  readonly label: "Unban User";
841
877
  readonly icon: "check-circle-2";
842
878
  readonly variant: "secondary";
843
- readonly locations: ["list_item"];
879
+ readonly locations: ["list_item", "record_header"];
844
880
  readonly type: "api";
845
881
  readonly target: "/api/v1/auth/admin/unban-user";
846
882
  readonly recordIdParam: "userId";
@@ -851,7 +887,7 @@ declare const SysUser: Omit<{
851
887
  readonly label: "Unlock Account";
852
888
  readonly icon: "lock-open";
853
889
  readonly variant: "secondary";
854
- readonly locations: ["list_item"];
890
+ readonly locations: ["list_item", "record_header"];
855
891
  readonly type: "api";
856
892
  readonly target: "/api/v1/auth/admin/unlock-user";
857
893
  readonly recordIdParam: "userId";
@@ -877,6 +913,7 @@ declare const SysUser: Omit<{
877
913
  readonly type: "text";
878
914
  readonly required: false;
879
915
  readonly helpText: "Sign-in phone number (E.164, e.g. +8613800000000). Required when no email is given.";
916
+ readonly visible: "features.phoneNumber == true";
880
917
  }, {
881
918
  readonly field: "name";
882
919
  readonly required: false;
@@ -917,7 +954,7 @@ declare const SysUser: Omit<{
917
954
  readonly label: "Set Password";
918
955
  readonly icon: "key-round";
919
956
  readonly variant: "secondary";
920
- readonly locations: ["list_item"];
957
+ readonly locations: ["list_item", "record_header"];
921
958
  readonly type: "api";
922
959
  readonly target: "/api/v1/auth/admin/set-user-password";
923
960
  readonly recordIdParam: "userId";
@@ -956,7 +993,7 @@ declare const SysUser: Omit<{
956
993
  readonly label: "Set Platform Role";
957
994
  readonly icon: "shield-check";
958
995
  readonly variant: "secondary";
959
- readonly locations: ["list_item"];
996
+ readonly locations: ["list_item", "record_header"];
960
997
  readonly type: "api";
961
998
  readonly target: "/api/v1/auth/admin/set-role";
962
999
  readonly recordIdParam: "userId";
@@ -973,7 +1010,7 @@ declare const SysUser: Omit<{
973
1010
  readonly label: "Impersonate User";
974
1011
  readonly icon: "user-cog";
975
1012
  readonly variant: "secondary";
976
- readonly locations: ["list_item"];
1013
+ readonly locations: ["list_item", "record_header"];
977
1014
  readonly type: "api";
978
1015
  readonly target: "/api/v1/auth/admin/impersonate-user";
979
1016
  readonly recordIdParam: "userId";
@@ -6160,6 +6197,30 @@ declare const SysSession: Omit<{
6160
6197
  versionField: string;
6161
6198
  retentionDays?: number | undefined;
6162
6199
  } | undefined;
6200
+ lifecycle?: {
6201
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
6202
+ retention?: {
6203
+ maxAge: string;
6204
+ onlyWhen?: Record<string, string | number | boolean | {
6205
+ $in: (string | number)[];
6206
+ }> | undefined;
6207
+ } | undefined;
6208
+ ttl?: {
6209
+ field: string;
6210
+ expireAfter: string;
6211
+ } | undefined;
6212
+ storage?: {
6213
+ strategy: "rotation";
6214
+ shards: number;
6215
+ unit: "day" | "week" | "month";
6216
+ } | undefined;
6217
+ archive?: {
6218
+ after: string;
6219
+ to: string;
6220
+ keep?: string | undefined;
6221
+ } | undefined;
6222
+ reclaim?: boolean | undefined;
6223
+ } | undefined;
6163
6224
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
6164
6225
  activityMilestones?: {
6165
6226
  field: string;
@@ -6317,7 +6378,7 @@ declare const SysSession: Omit<{
6317
6378
  timeline?: {
6318
6379
  startDateField: string;
6319
6380
  titleField: string;
6320
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
6381
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
6321
6382
  endDateField?: string | undefined;
6322
6383
  groupByField?: string | undefined;
6323
6384
  colorField?: string | undefined;
@@ -6544,6 +6605,15 @@ declare const SysSession: Omit<{
6544
6605
  helpText?: string | undefined;
6545
6606
  defaultValue?: unknown;
6546
6607
  defaultFromRow?: boolean | undefined;
6608
+ visible?: {
6609
+ dialect: "cel" | "js" | "cron" | "template";
6610
+ source?: string | undefined;
6611
+ ast?: unknown;
6612
+ meta?: {
6613
+ rationale?: string | undefined;
6614
+ generatedBy?: string | undefined;
6615
+ } | undefined;
6616
+ } | undefined;
6547
6617
  }[] | undefined;
6548
6618
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
6549
6619
  order?: number | undefined;
@@ -9607,6 +9677,30 @@ declare const SysAccount: Omit<{
9607
9677
  versionField: string;
9608
9678
  retentionDays?: number | undefined;
9609
9679
  } | undefined;
9680
+ lifecycle?: {
9681
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
9682
+ retention?: {
9683
+ maxAge: string;
9684
+ onlyWhen?: Record<string, string | number | boolean | {
9685
+ $in: (string | number)[];
9686
+ }> | undefined;
9687
+ } | undefined;
9688
+ ttl?: {
9689
+ field: string;
9690
+ expireAfter: string;
9691
+ } | undefined;
9692
+ storage?: {
9693
+ strategy: "rotation";
9694
+ shards: number;
9695
+ unit: "day" | "week" | "month";
9696
+ } | undefined;
9697
+ archive?: {
9698
+ after: string;
9699
+ to: string;
9700
+ keep?: string | undefined;
9701
+ } | undefined;
9702
+ reclaim?: boolean | undefined;
9703
+ } | undefined;
9610
9704
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
9611
9705
  activityMilestones?: {
9612
9706
  field: string;
@@ -9764,7 +9858,7 @@ declare const SysAccount: Omit<{
9764
9858
  timeline?: {
9765
9859
  startDateField: string;
9766
9860
  titleField: string;
9767
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
9861
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
9768
9862
  endDateField?: string | undefined;
9769
9863
  groupByField?: string | undefined;
9770
9864
  colorField?: string | undefined;
@@ -9991,6 +10085,15 @@ declare const SysAccount: Omit<{
9991
10085
  helpText?: string | undefined;
9992
10086
  defaultValue?: unknown;
9993
10087
  defaultFromRow?: boolean | undefined;
10088
+ visible?: {
10089
+ dialect: "cel" | "js" | "cron" | "template";
10090
+ source?: string | undefined;
10091
+ ast?: unknown;
10092
+ meta?: {
10093
+ rationale?: string | undefined;
10094
+ generatedBy?: string | undefined;
10095
+ } | undefined;
10096
+ } | undefined;
9994
10097
  }[] | undefined;
9995
10098
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
9996
10099
  order?: number | undefined;
@@ -13110,6 +13213,30 @@ declare const SysVerification: Omit<{
13110
13213
  versionField: string;
13111
13214
  retentionDays?: number | undefined;
13112
13215
  } | undefined;
13216
+ lifecycle?: {
13217
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
13218
+ retention?: {
13219
+ maxAge: string;
13220
+ onlyWhen?: Record<string, string | number | boolean | {
13221
+ $in: (string | number)[];
13222
+ }> | undefined;
13223
+ } | undefined;
13224
+ ttl?: {
13225
+ field: string;
13226
+ expireAfter: string;
13227
+ } | undefined;
13228
+ storage?: {
13229
+ strategy: "rotation";
13230
+ shards: number;
13231
+ unit: "day" | "week" | "month";
13232
+ } | undefined;
13233
+ archive?: {
13234
+ after: string;
13235
+ to: string;
13236
+ keep?: string | undefined;
13237
+ } | undefined;
13238
+ reclaim?: boolean | undefined;
13239
+ } | undefined;
13113
13240
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
13114
13241
  activityMilestones?: {
13115
13242
  field: string;
@@ -13267,7 +13394,7 @@ declare const SysVerification: Omit<{
13267
13394
  timeline?: {
13268
13395
  startDateField: string;
13269
13396
  titleField: string;
13270
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
13397
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
13271
13398
  endDateField?: string | undefined;
13272
13399
  groupByField?: string | undefined;
13273
13400
  colorField?: string | undefined;
@@ -13494,6 +13621,15 @@ declare const SysVerification: Omit<{
13494
13621
  helpText?: string | undefined;
13495
13622
  defaultValue?: unknown;
13496
13623
  defaultFromRow?: boolean | undefined;
13624
+ visible?: {
13625
+ dialect: "cel" | "js" | "cron" | "template";
13626
+ source?: string | undefined;
13627
+ ast?: unknown;
13628
+ meta?: {
13629
+ rationale?: string | undefined;
13630
+ generatedBy?: string | undefined;
13631
+ } | undefined;
13632
+ } | undefined;
13497
13633
  }[] | undefined;
13498
13634
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
13499
13635
  order?: number | undefined;
@@ -15026,6 +15162,30 @@ declare const SysOrganization: Omit<{
15026
15162
  versionField: string;
15027
15163
  retentionDays?: number | undefined;
15028
15164
  } | undefined;
15165
+ lifecycle?: {
15166
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
15167
+ retention?: {
15168
+ maxAge: string;
15169
+ onlyWhen?: Record<string, string | number | boolean | {
15170
+ $in: (string | number)[];
15171
+ }> | undefined;
15172
+ } | undefined;
15173
+ ttl?: {
15174
+ field: string;
15175
+ expireAfter: string;
15176
+ } | undefined;
15177
+ storage?: {
15178
+ strategy: "rotation";
15179
+ shards: number;
15180
+ unit: "day" | "week" | "month";
15181
+ } | undefined;
15182
+ archive?: {
15183
+ after: string;
15184
+ to: string;
15185
+ keep?: string | undefined;
15186
+ } | undefined;
15187
+ reclaim?: boolean | undefined;
15188
+ } | undefined;
15029
15189
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
15030
15190
  activityMilestones?: {
15031
15191
  field: string;
@@ -15183,7 +15343,7 @@ declare const SysOrganization: Omit<{
15183
15343
  timeline?: {
15184
15344
  startDateField: string;
15185
15345
  titleField: string;
15186
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
15346
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
15187
15347
  endDateField?: string | undefined;
15188
15348
  groupByField?: string | undefined;
15189
15349
  colorField?: string | undefined;
@@ -15410,6 +15570,15 @@ declare const SysOrganization: Omit<{
15410
15570
  helpText?: string | undefined;
15411
15571
  defaultValue?: unknown;
15412
15572
  defaultFromRow?: boolean | undefined;
15573
+ visible?: {
15574
+ dialect: "cel" | "js" | "cron" | "template";
15575
+ source?: string | undefined;
15576
+ ast?: unknown;
15577
+ meta?: {
15578
+ rationale?: string | undefined;
15579
+ generatedBy?: string | undefined;
15580
+ } | undefined;
15581
+ } | undefined;
15413
15582
  }[] | undefined;
15414
15583
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
15415
15584
  order?: number | undefined;
@@ -17430,6 +17599,30 @@ declare const SysMember: Omit<{
17430
17599
  versionField: string;
17431
17600
  retentionDays?: number | undefined;
17432
17601
  } | undefined;
17602
+ lifecycle?: {
17603
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
17604
+ retention?: {
17605
+ maxAge: string;
17606
+ onlyWhen?: Record<string, string | number | boolean | {
17607
+ $in: (string | number)[];
17608
+ }> | undefined;
17609
+ } | undefined;
17610
+ ttl?: {
17611
+ field: string;
17612
+ expireAfter: string;
17613
+ } | undefined;
17614
+ storage?: {
17615
+ strategy: "rotation";
17616
+ shards: number;
17617
+ unit: "day" | "week" | "month";
17618
+ } | undefined;
17619
+ archive?: {
17620
+ after: string;
17621
+ to: string;
17622
+ keep?: string | undefined;
17623
+ } | undefined;
17624
+ reclaim?: boolean | undefined;
17625
+ } | undefined;
17433
17626
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
17434
17627
  activityMilestones?: {
17435
17628
  field: string;
@@ -17587,7 +17780,7 @@ declare const SysMember: Omit<{
17587
17780
  timeline?: {
17588
17781
  startDateField: string;
17589
17782
  titleField: string;
17590
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
17783
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
17591
17784
  endDateField?: string | undefined;
17592
17785
  groupByField?: string | undefined;
17593
17786
  colorField?: string | undefined;
@@ -17814,6 +18007,15 @@ declare const SysMember: Omit<{
17814
18007
  helpText?: string | undefined;
17815
18008
  defaultValue?: unknown;
17816
18009
  defaultFromRow?: boolean | undefined;
18010
+ visible?: {
18011
+ dialect: "cel" | "js" | "cron" | "template";
18012
+ source?: string | undefined;
18013
+ ast?: unknown;
18014
+ meta?: {
18015
+ rationale?: string | undefined;
18016
+ generatedBy?: string | undefined;
18017
+ } | undefined;
18018
+ } | undefined;
17817
18019
  }[] | undefined;
17818
18020
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
17819
18021
  order?: number | undefined;
@@ -19255,6 +19457,30 @@ declare const SysInvitation: Omit<{
19255
19457
  versionField: string;
19256
19458
  retentionDays?: number | undefined;
19257
19459
  } | undefined;
19460
+ lifecycle?: {
19461
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
19462
+ retention?: {
19463
+ maxAge: string;
19464
+ onlyWhen?: Record<string, string | number | boolean | {
19465
+ $in: (string | number)[];
19466
+ }> | undefined;
19467
+ } | undefined;
19468
+ ttl?: {
19469
+ field: string;
19470
+ expireAfter: string;
19471
+ } | undefined;
19472
+ storage?: {
19473
+ strategy: "rotation";
19474
+ shards: number;
19475
+ unit: "day" | "week" | "month";
19476
+ } | undefined;
19477
+ archive?: {
19478
+ after: string;
19479
+ to: string;
19480
+ keep?: string | undefined;
19481
+ } | undefined;
19482
+ reclaim?: boolean | undefined;
19483
+ } | undefined;
19258
19484
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
19259
19485
  activityMilestones?: {
19260
19486
  field: string;
@@ -19412,7 +19638,7 @@ declare const SysInvitation: Omit<{
19412
19638
  timeline?: {
19413
19639
  startDateField: string;
19414
19640
  titleField: string;
19415
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
19641
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
19416
19642
  endDateField?: string | undefined;
19417
19643
  groupByField?: string | undefined;
19418
19644
  colorField?: string | undefined;
@@ -19639,6 +19865,15 @@ declare const SysInvitation: Omit<{
19639
19865
  helpText?: string | undefined;
19640
19866
  defaultValue?: unknown;
19641
19867
  defaultFromRow?: boolean | undefined;
19868
+ visible?: {
19869
+ dialect: "cel" | "js" | "cron" | "template";
19870
+ source?: string | undefined;
19871
+ ast?: unknown;
19872
+ meta?: {
19873
+ rationale?: string | undefined;
19874
+ generatedBy?: string | undefined;
19875
+ } | undefined;
19876
+ } | undefined;
19642
19877
  }[] | undefined;
19643
19878
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
19644
19879
  order?: number | undefined;
@@ -21880,6 +22115,30 @@ declare const SysTeam: Omit<{
21880
22115
  versionField: string;
21881
22116
  retentionDays?: number | undefined;
21882
22117
  } | undefined;
22118
+ lifecycle?: {
22119
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
22120
+ retention?: {
22121
+ maxAge: string;
22122
+ onlyWhen?: Record<string, string | number | boolean | {
22123
+ $in: (string | number)[];
22124
+ }> | undefined;
22125
+ } | undefined;
22126
+ ttl?: {
22127
+ field: string;
22128
+ expireAfter: string;
22129
+ } | undefined;
22130
+ storage?: {
22131
+ strategy: "rotation";
22132
+ shards: number;
22133
+ unit: "day" | "week" | "month";
22134
+ } | undefined;
22135
+ archive?: {
22136
+ after: string;
22137
+ to: string;
22138
+ keep?: string | undefined;
22139
+ } | undefined;
22140
+ reclaim?: boolean | undefined;
22141
+ } | undefined;
21883
22142
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
21884
22143
  activityMilestones?: {
21885
22144
  field: string;
@@ -22037,7 +22296,7 @@ declare const SysTeam: Omit<{
22037
22296
  timeline?: {
22038
22297
  startDateField: string;
22039
22298
  titleField: string;
22040
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
22299
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
22041
22300
  endDateField?: string | undefined;
22042
22301
  groupByField?: string | undefined;
22043
22302
  colorField?: string | undefined;
@@ -22264,6 +22523,15 @@ declare const SysTeam: Omit<{
22264
22523
  helpText?: string | undefined;
22265
22524
  defaultValue?: unknown;
22266
22525
  defaultFromRow?: boolean | undefined;
22526
+ visible?: {
22527
+ dialect: "cel" | "js" | "cron" | "template";
22528
+ source?: string | undefined;
22529
+ ast?: unknown;
22530
+ meta?: {
22531
+ rationale?: string | undefined;
22532
+ generatedBy?: string | undefined;
22533
+ } | undefined;
22534
+ } | undefined;
22267
22535
  }[] | undefined;
22268
22536
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
22269
22537
  order?: number | undefined;
@@ -23707,6 +23975,30 @@ declare const SysTeamMember: Omit<{
23707
23975
  versionField: string;
23708
23976
  retentionDays?: number | undefined;
23709
23977
  } | undefined;
23978
+ lifecycle?: {
23979
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
23980
+ retention?: {
23981
+ maxAge: string;
23982
+ onlyWhen?: Record<string, string | number | boolean | {
23983
+ $in: (string | number)[];
23984
+ }> | undefined;
23985
+ } | undefined;
23986
+ ttl?: {
23987
+ field: string;
23988
+ expireAfter: string;
23989
+ } | undefined;
23990
+ storage?: {
23991
+ strategy: "rotation";
23992
+ shards: number;
23993
+ unit: "day" | "week" | "month";
23994
+ } | undefined;
23995
+ archive?: {
23996
+ after: string;
23997
+ to: string;
23998
+ keep?: string | undefined;
23999
+ } | undefined;
24000
+ reclaim?: boolean | undefined;
24001
+ } | undefined;
23710
24002
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
23711
24003
  activityMilestones?: {
23712
24004
  field: string;
@@ -23864,7 +24156,7 @@ declare const SysTeamMember: Omit<{
23864
24156
  timeline?: {
23865
24157
  startDateField: string;
23866
24158
  titleField: string;
23867
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
24159
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
23868
24160
  endDateField?: string | undefined;
23869
24161
  groupByField?: string | undefined;
23870
24162
  colorField?: string | undefined;
@@ -24091,6 +24383,15 @@ declare const SysTeamMember: Omit<{
24091
24383
  helpText?: string | undefined;
24092
24384
  defaultValue?: unknown;
24093
24385
  defaultFromRow?: boolean | undefined;
24386
+ visible?: {
24387
+ dialect: "cel" | "js" | "cron" | "template";
24388
+ source?: string | undefined;
24389
+ ast?: unknown;
24390
+ meta?: {
24391
+ rationale?: string | undefined;
24392
+ generatedBy?: string | undefined;
24393
+ } | undefined;
24394
+ } | undefined;
24094
24395
  }[] | undefined;
24095
24396
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
24096
24397
  order?: number | undefined;
@@ -25305,6 +25606,30 @@ declare const SysBusinessUnit: Omit<{
25305
25606
  versionField: string;
25306
25607
  retentionDays?: number | undefined;
25307
25608
  } | undefined;
25609
+ lifecycle?: {
25610
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
25611
+ retention?: {
25612
+ maxAge: string;
25613
+ onlyWhen?: Record<string, string | number | boolean | {
25614
+ $in: (string | number)[];
25615
+ }> | undefined;
25616
+ } | undefined;
25617
+ ttl?: {
25618
+ field: string;
25619
+ expireAfter: string;
25620
+ } | undefined;
25621
+ storage?: {
25622
+ strategy: "rotation";
25623
+ shards: number;
25624
+ unit: "day" | "week" | "month";
25625
+ } | undefined;
25626
+ archive?: {
25627
+ after: string;
25628
+ to: string;
25629
+ keep?: string | undefined;
25630
+ } | undefined;
25631
+ reclaim?: boolean | undefined;
25632
+ } | undefined;
25308
25633
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
25309
25634
  activityMilestones?: {
25310
25635
  field: string;
@@ -25462,7 +25787,7 @@ declare const SysBusinessUnit: Omit<{
25462
25787
  timeline?: {
25463
25788
  startDateField: string;
25464
25789
  titleField: string;
25465
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
25790
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
25466
25791
  endDateField?: string | undefined;
25467
25792
  groupByField?: string | undefined;
25468
25793
  colorField?: string | undefined;
@@ -25689,6 +26014,15 @@ declare const SysBusinessUnit: Omit<{
25689
26014
  helpText?: string | undefined;
25690
26015
  defaultValue?: unknown;
25691
26016
  defaultFromRow?: boolean | undefined;
26017
+ visible?: {
26018
+ dialect: "cel" | "js" | "cron" | "template";
26019
+ source?: string | undefined;
26020
+ ast?: unknown;
26021
+ meta?: {
26022
+ rationale?: string | undefined;
26023
+ generatedBy?: string | undefined;
26024
+ } | undefined;
26025
+ } | undefined;
25692
26026
  }[] | undefined;
25693
26027
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
25694
26028
  order?: number | undefined;
@@ -28610,6 +28944,30 @@ declare const SysBusinessUnitMember: Omit<{
28610
28944
  versionField: string;
28611
28945
  retentionDays?: number | undefined;
28612
28946
  } | undefined;
28947
+ lifecycle?: {
28948
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
28949
+ retention?: {
28950
+ maxAge: string;
28951
+ onlyWhen?: Record<string, string | number | boolean | {
28952
+ $in: (string | number)[];
28953
+ }> | undefined;
28954
+ } | undefined;
28955
+ ttl?: {
28956
+ field: string;
28957
+ expireAfter: string;
28958
+ } | undefined;
28959
+ storage?: {
28960
+ strategy: "rotation";
28961
+ shards: number;
28962
+ unit: "day" | "week" | "month";
28963
+ } | undefined;
28964
+ archive?: {
28965
+ after: string;
28966
+ to: string;
28967
+ keep?: string | undefined;
28968
+ } | undefined;
28969
+ reclaim?: boolean | undefined;
28970
+ } | undefined;
28613
28971
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
28614
28972
  activityMilestones?: {
28615
28973
  field: string;
@@ -28767,7 +29125,7 @@ declare const SysBusinessUnitMember: Omit<{
28767
29125
  timeline?: {
28768
29126
  startDateField: string;
28769
29127
  titleField: string;
28770
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
29128
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
28771
29129
  endDateField?: string | undefined;
28772
29130
  groupByField?: string | undefined;
28773
29131
  colorField?: string | undefined;
@@ -28994,6 +29352,15 @@ declare const SysBusinessUnitMember: Omit<{
28994
29352
  helpText?: string | undefined;
28995
29353
  defaultValue?: unknown;
28996
29354
  defaultFromRow?: boolean | undefined;
29355
+ visible?: {
29356
+ dialect: "cel" | "js" | "cron" | "template";
29357
+ source?: string | undefined;
29358
+ ast?: unknown;
29359
+ meta?: {
29360
+ rationale?: string | undefined;
29361
+ generatedBy?: string | undefined;
29362
+ } | undefined;
29363
+ } | undefined;
28997
29364
  }[] | undefined;
28998
29365
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
28999
29366
  order?: number | undefined;
@@ -31068,6 +31435,30 @@ declare const SysApiKey: Omit<{
31068
31435
  versionField: string;
31069
31436
  retentionDays?: number | undefined;
31070
31437
  } | undefined;
31438
+ lifecycle?: {
31439
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
31440
+ retention?: {
31441
+ maxAge: string;
31442
+ onlyWhen?: Record<string, string | number | boolean | {
31443
+ $in: (string | number)[];
31444
+ }> | undefined;
31445
+ } | undefined;
31446
+ ttl?: {
31447
+ field: string;
31448
+ expireAfter: string;
31449
+ } | undefined;
31450
+ storage?: {
31451
+ strategy: "rotation";
31452
+ shards: number;
31453
+ unit: "day" | "week" | "month";
31454
+ } | undefined;
31455
+ archive?: {
31456
+ after: string;
31457
+ to: string;
31458
+ keep?: string | undefined;
31459
+ } | undefined;
31460
+ reclaim?: boolean | undefined;
31461
+ } | undefined;
31071
31462
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
31072
31463
  activityMilestones?: {
31073
31464
  field: string;
@@ -31225,7 +31616,7 @@ declare const SysApiKey: Omit<{
31225
31616
  timeline?: {
31226
31617
  startDateField: string;
31227
31618
  titleField: string;
31228
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
31619
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
31229
31620
  endDateField?: string | undefined;
31230
31621
  groupByField?: string | undefined;
31231
31622
  colorField?: string | undefined;
@@ -31452,6 +31843,15 @@ declare const SysApiKey: Omit<{
31452
31843
  helpText?: string | undefined;
31453
31844
  defaultValue?: unknown;
31454
31845
  defaultFromRow?: boolean | undefined;
31846
+ visible?: {
31847
+ dialect: "cel" | "js" | "cron" | "template";
31848
+ source?: string | undefined;
31849
+ ast?: unknown;
31850
+ meta?: {
31851
+ rationale?: string | undefined;
31852
+ generatedBy?: string | undefined;
31853
+ } | undefined;
31854
+ } | undefined;
31455
31855
  }[] | undefined;
31456
31856
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
31457
31857
  order?: number | undefined;
@@ -34016,6 +34416,30 @@ declare const SysTwoFactor: Omit<{
34016
34416
  versionField: string;
34017
34417
  retentionDays?: number | undefined;
34018
34418
  } | undefined;
34419
+ lifecycle?: {
34420
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
34421
+ retention?: {
34422
+ maxAge: string;
34423
+ onlyWhen?: Record<string, string | number | boolean | {
34424
+ $in: (string | number)[];
34425
+ }> | undefined;
34426
+ } | undefined;
34427
+ ttl?: {
34428
+ field: string;
34429
+ expireAfter: string;
34430
+ } | undefined;
34431
+ storage?: {
34432
+ strategy: "rotation";
34433
+ shards: number;
34434
+ unit: "day" | "week" | "month";
34435
+ } | undefined;
34436
+ archive?: {
34437
+ after: string;
34438
+ to: string;
34439
+ keep?: string | undefined;
34440
+ } | undefined;
34441
+ reclaim?: boolean | undefined;
34442
+ } | undefined;
34019
34443
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
34020
34444
  activityMilestones?: {
34021
34445
  field: string;
@@ -34173,7 +34597,7 @@ declare const SysTwoFactor: Omit<{
34173
34597
  timeline?: {
34174
34598
  startDateField: string;
34175
34599
  titleField: string;
34176
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
34600
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
34177
34601
  endDateField?: string | undefined;
34178
34602
  groupByField?: string | undefined;
34179
34603
  colorField?: string | undefined;
@@ -34400,6 +34824,15 @@ declare const SysTwoFactor: Omit<{
34400
34824
  helpText?: string | undefined;
34401
34825
  defaultValue?: unknown;
34402
34826
  defaultFromRow?: boolean | undefined;
34827
+ visible?: {
34828
+ dialect: "cel" | "js" | "cron" | "template";
34829
+ source?: string | undefined;
34830
+ ast?: unknown;
34831
+ meta?: {
34832
+ rationale?: string | undefined;
34833
+ generatedBy?: string | undefined;
34834
+ } | undefined;
34835
+ } | undefined;
34403
34836
  }[] | undefined;
34404
34837
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
34405
34838
  order?: number | undefined;
@@ -36229,6 +36662,30 @@ declare const SysDeviceCode: Omit<{
36229
36662
  versionField: string;
36230
36663
  retentionDays?: number | undefined;
36231
36664
  } | undefined;
36665
+ lifecycle?: {
36666
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
36667
+ retention?: {
36668
+ maxAge: string;
36669
+ onlyWhen?: Record<string, string | number | boolean | {
36670
+ $in: (string | number)[];
36671
+ }> | undefined;
36672
+ } | undefined;
36673
+ ttl?: {
36674
+ field: string;
36675
+ expireAfter: string;
36676
+ } | undefined;
36677
+ storage?: {
36678
+ strategy: "rotation";
36679
+ shards: number;
36680
+ unit: "day" | "week" | "month";
36681
+ } | undefined;
36682
+ archive?: {
36683
+ after: string;
36684
+ to: string;
36685
+ keep?: string | undefined;
36686
+ } | undefined;
36687
+ reclaim?: boolean | undefined;
36688
+ } | undefined;
36232
36689
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
36233
36690
  activityMilestones?: {
36234
36691
  field: string;
@@ -36386,7 +36843,7 @@ declare const SysDeviceCode: Omit<{
36386
36843
  timeline?: {
36387
36844
  startDateField: string;
36388
36845
  titleField: string;
36389
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
36846
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
36390
36847
  endDateField?: string | undefined;
36391
36848
  groupByField?: string | undefined;
36392
36849
  colorField?: string | undefined;
@@ -36613,6 +37070,15 @@ declare const SysDeviceCode: Omit<{
36613
37070
  helpText?: string | undefined;
36614
37071
  defaultValue?: unknown;
36615
37072
  defaultFromRow?: boolean | undefined;
37073
+ visible?: {
37074
+ dialect: "cel" | "js" | "cron" | "template";
37075
+ source?: string | undefined;
37076
+ ast?: unknown;
37077
+ meta?: {
37078
+ rationale?: string | undefined;
37079
+ generatedBy?: string | undefined;
37080
+ } | undefined;
37081
+ } | undefined;
36616
37082
  }[] | undefined;
36617
37083
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
36618
37084
  order?: number | undefined;
@@ -36693,6 +37159,13 @@ declare const SysDeviceCode: Omit<{
36693
37159
  readonly icon: "key-round";
36694
37160
  readonly isSystem: true;
36695
37161
  readonly managedBy: "better-auth";
37162
+ readonly lifecycle: {
37163
+ readonly class: "transient";
37164
+ readonly ttl: {
37165
+ readonly field: "expires_at";
37166
+ readonly expireAfter: "1d";
37167
+ };
37168
+ };
36696
37169
  readonly access: {
36697
37170
  readonly default: "private";
36698
37171
  };
@@ -39254,6 +39727,30 @@ declare const SysUserPreference: Omit<{
39254
39727
  versionField: string;
39255
39728
  retentionDays?: number | undefined;
39256
39729
  } | undefined;
39730
+ lifecycle?: {
39731
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
39732
+ retention?: {
39733
+ maxAge: string;
39734
+ onlyWhen?: Record<string, string | number | boolean | {
39735
+ $in: (string | number)[];
39736
+ }> | undefined;
39737
+ } | undefined;
39738
+ ttl?: {
39739
+ field: string;
39740
+ expireAfter: string;
39741
+ } | undefined;
39742
+ storage?: {
39743
+ strategy: "rotation";
39744
+ shards: number;
39745
+ unit: "day" | "week" | "month";
39746
+ } | undefined;
39747
+ archive?: {
39748
+ after: string;
39749
+ to: string;
39750
+ keep?: string | undefined;
39751
+ } | undefined;
39752
+ reclaim?: boolean | undefined;
39753
+ } | undefined;
39257
39754
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
39258
39755
  activityMilestones?: {
39259
39756
  field: string;
@@ -39411,7 +39908,7 @@ declare const SysUserPreference: Omit<{
39411
39908
  timeline?: {
39412
39909
  startDateField: string;
39413
39910
  titleField: string;
39414
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
39911
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
39415
39912
  endDateField?: string | undefined;
39416
39913
  groupByField?: string | undefined;
39417
39914
  colorField?: string | undefined;
@@ -39638,6 +40135,15 @@ declare const SysUserPreference: Omit<{
39638
40135
  helpText?: string | undefined;
39639
40136
  defaultValue?: unknown;
39640
40137
  defaultFromRow?: boolean | undefined;
40138
+ visible?: {
40139
+ dialect: "cel" | "js" | "cron" | "template";
40140
+ source?: string | undefined;
40141
+ ast?: unknown;
40142
+ meta?: {
40143
+ rationale?: string | undefined;
40144
+ generatedBy?: string | undefined;
40145
+ } | undefined;
40146
+ } | undefined;
39641
40147
  }[] | undefined;
39642
40148
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
39643
40149
  order?: number | undefined;
@@ -41235,6 +41741,30 @@ declare const SysOauthApplication: Omit<{
41235
41741
  versionField: string;
41236
41742
  retentionDays?: number | undefined;
41237
41743
  } | undefined;
41744
+ lifecycle?: {
41745
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
41746
+ retention?: {
41747
+ maxAge: string;
41748
+ onlyWhen?: Record<string, string | number | boolean | {
41749
+ $in: (string | number)[];
41750
+ }> | undefined;
41751
+ } | undefined;
41752
+ ttl?: {
41753
+ field: string;
41754
+ expireAfter: string;
41755
+ } | undefined;
41756
+ storage?: {
41757
+ strategy: "rotation";
41758
+ shards: number;
41759
+ unit: "day" | "week" | "month";
41760
+ } | undefined;
41761
+ archive?: {
41762
+ after: string;
41763
+ to: string;
41764
+ keep?: string | undefined;
41765
+ } | undefined;
41766
+ reclaim?: boolean | undefined;
41767
+ } | undefined;
41238
41768
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
41239
41769
  activityMilestones?: {
41240
41770
  field: string;
@@ -41392,7 +41922,7 @@ declare const SysOauthApplication: Omit<{
41392
41922
  timeline?: {
41393
41923
  startDateField: string;
41394
41924
  titleField: string;
41395
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
41925
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
41396
41926
  endDateField?: string | undefined;
41397
41927
  groupByField?: string | undefined;
41398
41928
  colorField?: string | undefined;
@@ -41619,6 +42149,15 @@ declare const SysOauthApplication: Omit<{
41619
42149
  helpText?: string | undefined;
41620
42150
  defaultValue?: unknown;
41621
42151
  defaultFromRow?: boolean | undefined;
42152
+ visible?: {
42153
+ dialect: "cel" | "js" | "cron" | "template";
42154
+ source?: string | undefined;
42155
+ ast?: unknown;
42156
+ meta?: {
42157
+ rationale?: string | undefined;
42158
+ generatedBy?: string | undefined;
42159
+ } | undefined;
42160
+ } | undefined;
41622
42161
  }[] | undefined;
41623
42162
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
41624
42163
  order?: number | undefined;
@@ -47780,6 +48319,30 @@ declare const SysOauthAccessToken: Omit<{
47780
48319
  versionField: string;
47781
48320
  retentionDays?: number | undefined;
47782
48321
  } | undefined;
48322
+ lifecycle?: {
48323
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
48324
+ retention?: {
48325
+ maxAge: string;
48326
+ onlyWhen?: Record<string, string | number | boolean | {
48327
+ $in: (string | number)[];
48328
+ }> | undefined;
48329
+ } | undefined;
48330
+ ttl?: {
48331
+ field: string;
48332
+ expireAfter: string;
48333
+ } | undefined;
48334
+ storage?: {
48335
+ strategy: "rotation";
48336
+ shards: number;
48337
+ unit: "day" | "week" | "month";
48338
+ } | undefined;
48339
+ archive?: {
48340
+ after: string;
48341
+ to: string;
48342
+ keep?: string | undefined;
48343
+ } | undefined;
48344
+ reclaim?: boolean | undefined;
48345
+ } | undefined;
47783
48346
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
47784
48347
  activityMilestones?: {
47785
48348
  field: string;
@@ -47937,7 +48500,7 @@ declare const SysOauthAccessToken: Omit<{
47937
48500
  timeline?: {
47938
48501
  startDateField: string;
47939
48502
  titleField: string;
47940
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
48503
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
47941
48504
  endDateField?: string | undefined;
47942
48505
  groupByField?: string | undefined;
47943
48506
  colorField?: string | undefined;
@@ -48164,6 +48727,15 @@ declare const SysOauthAccessToken: Omit<{
48164
48727
  helpText?: string | undefined;
48165
48728
  defaultValue?: unknown;
48166
48729
  defaultFromRow?: boolean | undefined;
48730
+ visible?: {
48731
+ dialect: "cel" | "js" | "cron" | "template";
48732
+ source?: string | undefined;
48733
+ ast?: unknown;
48734
+ meta?: {
48735
+ rationale?: string | undefined;
48736
+ generatedBy?: string | undefined;
48737
+ } | undefined;
48738
+ } | undefined;
48167
48739
  }[] | undefined;
48168
48740
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
48169
48741
  order?: number | undefined;
@@ -50433,6 +51005,30 @@ declare const SysOauthRefreshToken: Omit<{
50433
51005
  versionField: string;
50434
51006
  retentionDays?: number | undefined;
50435
51007
  } | undefined;
51008
+ lifecycle?: {
51009
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
51010
+ retention?: {
51011
+ maxAge: string;
51012
+ onlyWhen?: Record<string, string | number | boolean | {
51013
+ $in: (string | number)[];
51014
+ }> | undefined;
51015
+ } | undefined;
51016
+ ttl?: {
51017
+ field: string;
51018
+ expireAfter: string;
51019
+ } | undefined;
51020
+ storage?: {
51021
+ strategy: "rotation";
51022
+ shards: number;
51023
+ unit: "day" | "week" | "month";
51024
+ } | undefined;
51025
+ archive?: {
51026
+ after: string;
51027
+ to: string;
51028
+ keep?: string | undefined;
51029
+ } | undefined;
51030
+ reclaim?: boolean | undefined;
51031
+ } | undefined;
50436
51032
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
50437
51033
  activityMilestones?: {
50438
51034
  field: string;
@@ -50590,7 +51186,7 @@ declare const SysOauthRefreshToken: Omit<{
50590
51186
  timeline?: {
50591
51187
  startDateField: string;
50592
51188
  titleField: string;
50593
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
51189
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
50594
51190
  endDateField?: string | undefined;
50595
51191
  groupByField?: string | undefined;
50596
51192
  colorField?: string | undefined;
@@ -50817,6 +51413,15 @@ declare const SysOauthRefreshToken: Omit<{
50817
51413
  helpText?: string | undefined;
50818
51414
  defaultValue?: unknown;
50819
51415
  defaultFromRow?: boolean | undefined;
51416
+ visible?: {
51417
+ dialect: "cel" | "js" | "cron" | "template";
51418
+ source?: string | undefined;
51419
+ ast?: unknown;
51420
+ meta?: {
51421
+ rationale?: string | undefined;
51422
+ generatedBy?: string | undefined;
51423
+ } | undefined;
51424
+ } | undefined;
50820
51425
  }[] | undefined;
50821
51426
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
50822
51427
  order?: number | undefined;
@@ -53269,6 +53874,30 @@ declare const SysOauthConsent: Omit<{
53269
53874
  versionField: string;
53270
53875
  retentionDays?: number | undefined;
53271
53876
  } | undefined;
53877
+ lifecycle?: {
53878
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
53879
+ retention?: {
53880
+ maxAge: string;
53881
+ onlyWhen?: Record<string, string | number | boolean | {
53882
+ $in: (string | number)[];
53883
+ }> | undefined;
53884
+ } | undefined;
53885
+ ttl?: {
53886
+ field: string;
53887
+ expireAfter: string;
53888
+ } | undefined;
53889
+ storage?: {
53890
+ strategy: "rotation";
53891
+ shards: number;
53892
+ unit: "day" | "week" | "month";
53893
+ } | undefined;
53894
+ archive?: {
53895
+ after: string;
53896
+ to: string;
53897
+ keep?: string | undefined;
53898
+ } | undefined;
53899
+ reclaim?: boolean | undefined;
53900
+ } | undefined;
53272
53901
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
53273
53902
  activityMilestones?: {
53274
53903
  field: string;
@@ -53426,7 +54055,7 @@ declare const SysOauthConsent: Omit<{
53426
54055
  timeline?: {
53427
54056
  startDateField: string;
53428
54057
  titleField: string;
53429
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
54058
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
53430
54059
  endDateField?: string | undefined;
53431
54060
  groupByField?: string | undefined;
53432
54061
  colorField?: string | undefined;
@@ -53653,6 +54282,15 @@ declare const SysOauthConsent: Omit<{
53653
54282
  helpText?: string | undefined;
53654
54283
  defaultValue?: unknown;
53655
54284
  defaultFromRow?: boolean | undefined;
54285
+ visible?: {
54286
+ dialect: "cel" | "js" | "cron" | "template";
54287
+ source?: string | undefined;
54288
+ ast?: unknown;
54289
+ meta?: {
54290
+ rationale?: string | undefined;
54291
+ generatedBy?: string | undefined;
54292
+ } | undefined;
54293
+ } | undefined;
53656
54294
  }[] | undefined;
53657
54295
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
53658
54296
  order?: number | undefined;
@@ -55363,6 +56001,30 @@ declare const SysJwks: Omit<{
55363
56001
  versionField: string;
55364
56002
  retentionDays?: number | undefined;
55365
56003
  } | undefined;
56004
+ lifecycle?: {
56005
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
56006
+ retention?: {
56007
+ maxAge: string;
56008
+ onlyWhen?: Record<string, string | number | boolean | {
56009
+ $in: (string | number)[];
56010
+ }> | undefined;
56011
+ } | undefined;
56012
+ ttl?: {
56013
+ field: string;
56014
+ expireAfter: string;
56015
+ } | undefined;
56016
+ storage?: {
56017
+ strategy: "rotation";
56018
+ shards: number;
56019
+ unit: "day" | "week" | "month";
56020
+ } | undefined;
56021
+ archive?: {
56022
+ after: string;
56023
+ to: string;
56024
+ keep?: string | undefined;
56025
+ } | undefined;
56026
+ reclaim?: boolean | undefined;
56027
+ } | undefined;
55366
56028
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
55367
56029
  activityMilestones?: {
55368
56030
  field: string;
@@ -55520,7 +56182,7 @@ declare const SysJwks: Omit<{
55520
56182
  timeline?: {
55521
56183
  startDateField: string;
55522
56184
  titleField: string;
55523
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
56185
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
55524
56186
  endDateField?: string | undefined;
55525
56187
  groupByField?: string | undefined;
55526
56188
  colorField?: string | undefined;
@@ -55747,6 +56409,15 @@ declare const SysJwks: Omit<{
55747
56409
  helpText?: string | undefined;
55748
56410
  defaultValue?: unknown;
55749
56411
  defaultFromRow?: boolean | undefined;
56412
+ visible?: {
56413
+ dialect: "cel" | "js" | "cron" | "template";
56414
+ source?: string | undefined;
56415
+ ast?: unknown;
56416
+ meta?: {
56417
+ rationale?: string | undefined;
56418
+ generatedBy?: string | undefined;
56419
+ } | undefined;
56420
+ } | undefined;
55750
56421
  }[] | undefined;
55751
56422
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
55752
56423
  order?: number | undefined;
@@ -57099,6 +57770,30 @@ declare const SysSsoProvider: Omit<{
57099
57770
  versionField: string;
57100
57771
  retentionDays?: number | undefined;
57101
57772
  } | undefined;
57773
+ lifecycle?: {
57774
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
57775
+ retention?: {
57776
+ maxAge: string;
57777
+ onlyWhen?: Record<string, string | number | boolean | {
57778
+ $in: (string | number)[];
57779
+ }> | undefined;
57780
+ } | undefined;
57781
+ ttl?: {
57782
+ field: string;
57783
+ expireAfter: string;
57784
+ } | undefined;
57785
+ storage?: {
57786
+ strategy: "rotation";
57787
+ shards: number;
57788
+ unit: "day" | "week" | "month";
57789
+ } | undefined;
57790
+ archive?: {
57791
+ after: string;
57792
+ to: string;
57793
+ keep?: string | undefined;
57794
+ } | undefined;
57795
+ reclaim?: boolean | undefined;
57796
+ } | undefined;
57102
57797
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
57103
57798
  activityMilestones?: {
57104
57799
  field: string;
@@ -57256,7 +57951,7 @@ declare const SysSsoProvider: Omit<{
57256
57951
  timeline?: {
57257
57952
  startDateField: string;
57258
57953
  titleField: string;
57259
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
57954
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
57260
57955
  endDateField?: string | undefined;
57261
57956
  groupByField?: string | undefined;
57262
57957
  colorField?: string | undefined;
@@ -57483,6 +58178,15 @@ declare const SysSsoProvider: Omit<{
57483
58178
  helpText?: string | undefined;
57484
58179
  defaultValue?: unknown;
57485
58180
  defaultFromRow?: boolean | undefined;
58181
+ visible?: {
58182
+ dialect: "cel" | "js" | "cron" | "template";
58183
+ source?: string | undefined;
58184
+ ast?: unknown;
58185
+ meta?: {
58186
+ rationale?: string | undefined;
58187
+ generatedBy?: string | undefined;
58188
+ } | undefined;
58189
+ } | undefined;
57486
58190
  }[] | undefined;
57487
58191
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
57488
58192
  order?: number | undefined;
@@ -57728,15 +58432,15 @@ declare const SysSsoProvider: Omit<{
57728
58432
  readonly description: "Add the DNS TXT record below at your domain’s DNS provider, then run “Verify Domain”. The token is shown once.";
57729
58433
  readonly acknowledge: "Done";
57730
58434
  readonly fields: [{
57731
- readonly path: "data.dnsRecordType";
58435
+ readonly path: "dnsRecordType";
57732
58436
  readonly label: "Record type";
57733
58437
  readonly format: "text";
57734
58438
  }, {
57735
- readonly path: "data.dnsRecordName";
58439
+ readonly path: "dnsRecordName";
57736
58440
  readonly label: "Name / Host";
57737
58441
  readonly format: "secret";
57738
58442
  }, {
57739
- readonly path: "data.dnsRecordValue";
58443
+ readonly path: "dnsRecordValue";
57740
58444
  readonly label: "Value";
57741
58445
  readonly format: "secret";
57742
58446
  }];
@@ -60172,6 +60876,30 @@ declare const SysScimProvider: Omit<{
60172
60876
  versionField: string;
60173
60877
  retentionDays?: number | undefined;
60174
60878
  } | undefined;
60879
+ lifecycle?: {
60880
+ class: "audit" | "record" | "telemetry" | "transient" | "event";
60881
+ retention?: {
60882
+ maxAge: string;
60883
+ onlyWhen?: Record<string, string | number | boolean | {
60884
+ $in: (string | number)[];
60885
+ }> | undefined;
60886
+ } | undefined;
60887
+ ttl?: {
60888
+ field: string;
60889
+ expireAfter: string;
60890
+ } | undefined;
60891
+ storage?: {
60892
+ strategy: "rotation";
60893
+ shards: number;
60894
+ unit: "day" | "week" | "month";
60895
+ } | undefined;
60896
+ archive?: {
60897
+ after: string;
60898
+ to: string;
60899
+ keep?: string | undefined;
60900
+ } | undefined;
60901
+ reclaim?: boolean | undefined;
60902
+ } | undefined;
60175
60903
  validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
60176
60904
  activityMilestones?: {
60177
60905
  field: string;
@@ -60329,7 +61057,7 @@ declare const SysScimProvider: Omit<{
60329
61057
  timeline?: {
60330
61058
  startDateField: string;
60331
61059
  titleField: string;
60332
- scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
61060
+ scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
60333
61061
  endDateField?: string | undefined;
60334
61062
  groupByField?: string | undefined;
60335
61063
  colorField?: string | undefined;
@@ -60556,6 +61284,15 @@ declare const SysScimProvider: Omit<{
60556
61284
  helpText?: string | undefined;
60557
61285
  defaultValue?: unknown;
60558
61286
  defaultFromRow?: boolean | undefined;
61287
+ visible?: {
61288
+ dialect: "cel" | "js" | "cron" | "template";
61289
+ source?: string | undefined;
61290
+ ast?: unknown;
61291
+ meta?: {
61292
+ rationale?: string | undefined;
61293
+ generatedBy?: string | undefined;
61294
+ } | undefined;
61295
+ } | undefined;
60559
61296
  }[] | undefined;
60560
61297
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
60561
61298
  order?: number | undefined;