@objectstack/platform-objects 12.5.0 → 13.0.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.
@@ -307,7 +307,12 @@ declare const SysUser: Omit<{
307
307
  access?: {
308
308
  default: "public" | "private";
309
309
  } | undefined;
310
- requiredPermissions?: string[] | undefined;
310
+ requiredPermissions?: string[] | {
311
+ read?: string[] | undefined;
312
+ create?: string[] | undefined;
313
+ update?: string[] | undefined;
314
+ delete?: string[] | undefined;
315
+ } | undefined;
311
316
  softDelete?: {
312
317
  enabled: boolean;
313
318
  field: string;
@@ -621,6 +626,21 @@ declare const SysUser: Omit<{
621
626
  pageSize?: number | undefined;
622
627
  debounceMs?: number | undefined;
623
628
  } | undefined;
629
+ userFilters?: {
630
+ element: "toggle" | "dropdown";
631
+ fields?: {
632
+ field: string;
633
+ label?: string | undefined;
634
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
635
+ options?: {
636
+ value: string | number | boolean;
637
+ label: string;
638
+ color?: string | undefined;
639
+ }[] | undefined;
640
+ showCount?: boolean | undefined;
641
+ defaultValues?: (string | number | boolean)[] | undefined;
642
+ }[] | undefined;
643
+ } | undefined;
624
644
  }> | undefined;
625
645
  searchableFields?: string[] | undefined;
626
646
  search?: {
@@ -638,9 +658,10 @@ declare const SysUser: Omit<{
638
658
  trash: boolean;
639
659
  mru: boolean;
640
660
  clone: boolean;
641
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
661
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
642
662
  } | undefined;
643
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
663
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
664
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
644
665
  publicSharing?: {
645
666
  enabled: boolean;
646
667
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -689,6 +710,7 @@ declare const SysUser: Omit<{
689
710
  defaultFromRow?: boolean | undefined;
690
711
  }[] | undefined;
691
712
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
713
+ order?: number | undefined;
692
714
  confirmText?: string | undefined;
693
715
  successMessage?: string | undefined;
694
716
  errorMessage?: string | undefined;
@@ -784,7 +806,7 @@ declare const SysUser: Omit<{
784
806
  readonly locations: ["list_toolbar"];
785
807
  readonly type: "api";
786
808
  readonly target: "/api/v1/auth/organization/invite-member";
787
- readonly visible: "features.multiOrgEnabled != false";
809
+ readonly visible: "features.organization != false";
788
810
  readonly successMessage: "Invitation sent";
789
811
  readonly refreshAfter: true;
790
812
  readonly params: [{
@@ -5492,7 +5514,12 @@ declare const SysSession: Omit<{
5492
5514
  access?: {
5493
5515
  default: "public" | "private";
5494
5516
  } | undefined;
5495
- requiredPermissions?: string[] | undefined;
5517
+ requiredPermissions?: string[] | {
5518
+ read?: string[] | undefined;
5519
+ create?: string[] | undefined;
5520
+ update?: string[] | undefined;
5521
+ delete?: string[] | undefined;
5522
+ } | undefined;
5496
5523
  softDelete?: {
5497
5524
  enabled: boolean;
5498
5525
  field: string;
@@ -5806,6 +5833,21 @@ declare const SysSession: Omit<{
5806
5833
  pageSize?: number | undefined;
5807
5834
  debounceMs?: number | undefined;
5808
5835
  } | undefined;
5836
+ userFilters?: {
5837
+ element: "toggle" | "dropdown";
5838
+ fields?: {
5839
+ field: string;
5840
+ label?: string | undefined;
5841
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
5842
+ options?: {
5843
+ value: string | number | boolean;
5844
+ label: string;
5845
+ color?: string | undefined;
5846
+ }[] | undefined;
5847
+ showCount?: boolean | undefined;
5848
+ defaultValues?: (string | number | boolean)[] | undefined;
5849
+ }[] | undefined;
5850
+ } | undefined;
5809
5851
  }> | undefined;
5810
5852
  searchableFields?: string[] | undefined;
5811
5853
  search?: {
@@ -5823,9 +5865,10 @@ declare const SysSession: Omit<{
5823
5865
  trash: boolean;
5824
5866
  mru: boolean;
5825
5867
  clone: boolean;
5826
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
5868
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
5827
5869
  } | undefined;
5828
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
5870
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
5871
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
5829
5872
  publicSharing?: {
5830
5873
  enabled: boolean;
5831
5874
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -5874,6 +5917,7 @@ declare const SysSession: Omit<{
5874
5917
  defaultFromRow?: boolean | undefined;
5875
5918
  }[] | undefined;
5876
5919
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
5920
+ order?: number | undefined;
5877
5921
  confirmText?: string | undefined;
5878
5922
  successMessage?: string | undefined;
5879
5923
  errorMessage?: string | undefined;
@@ -8917,7 +8961,12 @@ declare const SysAccount: Omit<{
8917
8961
  access?: {
8918
8962
  default: "public" | "private";
8919
8963
  } | undefined;
8920
- requiredPermissions?: string[] | undefined;
8964
+ requiredPermissions?: string[] | {
8965
+ read?: string[] | undefined;
8966
+ create?: string[] | undefined;
8967
+ update?: string[] | undefined;
8968
+ delete?: string[] | undefined;
8969
+ } | undefined;
8921
8970
  softDelete?: {
8922
8971
  enabled: boolean;
8923
8972
  field: string;
@@ -9231,6 +9280,21 @@ declare const SysAccount: Omit<{
9231
9280
  pageSize?: number | undefined;
9232
9281
  debounceMs?: number | undefined;
9233
9282
  } | undefined;
9283
+ userFilters?: {
9284
+ element: "toggle" | "dropdown";
9285
+ fields?: {
9286
+ field: string;
9287
+ label?: string | undefined;
9288
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
9289
+ options?: {
9290
+ value: string | number | boolean;
9291
+ label: string;
9292
+ color?: string | undefined;
9293
+ }[] | undefined;
9294
+ showCount?: boolean | undefined;
9295
+ defaultValues?: (string | number | boolean)[] | undefined;
9296
+ }[] | undefined;
9297
+ } | undefined;
9234
9298
  }> | undefined;
9235
9299
  searchableFields?: string[] | undefined;
9236
9300
  search?: {
@@ -9248,9 +9312,10 @@ declare const SysAccount: Omit<{
9248
9312
  trash: boolean;
9249
9313
  mru: boolean;
9250
9314
  clone: boolean;
9251
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
9315
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
9252
9316
  } | undefined;
9253
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
9317
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
9318
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
9254
9319
  publicSharing?: {
9255
9320
  enabled: boolean;
9256
9321
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -9299,6 +9364,7 @@ declare const SysAccount: Omit<{
9299
9364
  defaultFromRow?: boolean | undefined;
9300
9365
  }[] | undefined;
9301
9366
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
9367
+ order?: number | undefined;
9302
9368
  confirmText?: string | undefined;
9303
9369
  successMessage?: string | undefined;
9304
9370
  errorMessage?: string | undefined;
@@ -12398,7 +12464,12 @@ declare const SysVerification: Omit<{
12398
12464
  access?: {
12399
12465
  default: "public" | "private";
12400
12466
  } | undefined;
12401
- requiredPermissions?: string[] | undefined;
12467
+ requiredPermissions?: string[] | {
12468
+ read?: string[] | undefined;
12469
+ create?: string[] | undefined;
12470
+ update?: string[] | undefined;
12471
+ delete?: string[] | undefined;
12472
+ } | undefined;
12402
12473
  softDelete?: {
12403
12474
  enabled: boolean;
12404
12475
  field: string;
@@ -12712,6 +12783,21 @@ declare const SysVerification: Omit<{
12712
12783
  pageSize?: number | undefined;
12713
12784
  debounceMs?: number | undefined;
12714
12785
  } | undefined;
12786
+ userFilters?: {
12787
+ element: "toggle" | "dropdown";
12788
+ fields?: {
12789
+ field: string;
12790
+ label?: string | undefined;
12791
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
12792
+ options?: {
12793
+ value: string | number | boolean;
12794
+ label: string;
12795
+ color?: string | undefined;
12796
+ }[] | undefined;
12797
+ showCount?: boolean | undefined;
12798
+ defaultValues?: (string | number | boolean)[] | undefined;
12799
+ }[] | undefined;
12800
+ } | undefined;
12715
12801
  }> | undefined;
12716
12802
  searchableFields?: string[] | undefined;
12717
12803
  search?: {
@@ -12729,9 +12815,10 @@ declare const SysVerification: Omit<{
12729
12815
  trash: boolean;
12730
12816
  mru: boolean;
12731
12817
  clone: boolean;
12732
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
12818
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
12733
12819
  } | undefined;
12734
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
12820
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
12821
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
12735
12822
  publicSharing?: {
12736
12823
  enabled: boolean;
12737
12824
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -12780,6 +12867,7 @@ declare const SysVerification: Omit<{
12780
12867
  defaultFromRow?: boolean | undefined;
12781
12868
  }[] | undefined;
12782
12869
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
12870
+ order?: number | undefined;
12783
12871
  confirmText?: string | undefined;
12784
12872
  successMessage?: string | undefined;
12785
12873
  errorMessage?: string | undefined;
@@ -12857,6 +12945,9 @@ declare const SysVerification: Omit<{
12857
12945
  readonly icon: "shield-check";
12858
12946
  readonly isSystem: true;
12859
12947
  readonly managedBy: "better-auth";
12948
+ readonly access: {
12949
+ readonly default: "private";
12950
+ };
12860
12951
  readonly protection: {
12861
12952
  readonly lock: "full";
12862
12953
  readonly reason: "Identity table managed by better-auth — see ADR-0010.";
@@ -14289,7 +14380,12 @@ declare const SysOrganization: Omit<{
14289
14380
  access?: {
14290
14381
  default: "public" | "private";
14291
14382
  } | undefined;
14292
- requiredPermissions?: string[] | undefined;
14383
+ requiredPermissions?: string[] | {
14384
+ read?: string[] | undefined;
14385
+ create?: string[] | undefined;
14386
+ update?: string[] | undefined;
14387
+ delete?: string[] | undefined;
14388
+ } | undefined;
14293
14389
  softDelete?: {
14294
14390
  enabled: boolean;
14295
14391
  field: string;
@@ -14603,6 +14699,21 @@ declare const SysOrganization: Omit<{
14603
14699
  pageSize?: number | undefined;
14604
14700
  debounceMs?: number | undefined;
14605
14701
  } | undefined;
14702
+ userFilters?: {
14703
+ element: "toggle" | "dropdown";
14704
+ fields?: {
14705
+ field: string;
14706
+ label?: string | undefined;
14707
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
14708
+ options?: {
14709
+ value: string | number | boolean;
14710
+ label: string;
14711
+ color?: string | undefined;
14712
+ }[] | undefined;
14713
+ showCount?: boolean | undefined;
14714
+ defaultValues?: (string | number | boolean)[] | undefined;
14715
+ }[] | undefined;
14716
+ } | undefined;
14606
14717
  }> | undefined;
14607
14718
  searchableFields?: string[] | undefined;
14608
14719
  search?: {
@@ -14620,9 +14731,10 @@ declare const SysOrganization: Omit<{
14620
14731
  trash: boolean;
14621
14732
  mru: boolean;
14622
14733
  clone: boolean;
14623
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
14734
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
14624
14735
  } | undefined;
14625
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
14736
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
14737
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
14626
14738
  publicSharing?: {
14627
14739
  enabled: boolean;
14628
14740
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -14671,6 +14783,7 @@ declare const SysOrganization: Omit<{
14671
14783
  defaultFromRow?: boolean | undefined;
14672
14784
  }[] | undefined;
14673
14785
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
14786
+ order?: number | undefined;
14674
14787
  confirmText?: string | undefined;
14675
14788
  successMessage?: string | undefined;
14676
14789
  errorMessage?: string | undefined;
@@ -16671,7 +16784,12 @@ declare const SysMember: Omit<{
16671
16784
  access?: {
16672
16785
  default: "public" | "private";
16673
16786
  } | undefined;
16674
- requiredPermissions?: string[] | undefined;
16787
+ requiredPermissions?: string[] | {
16788
+ read?: string[] | undefined;
16789
+ create?: string[] | undefined;
16790
+ update?: string[] | undefined;
16791
+ delete?: string[] | undefined;
16792
+ } | undefined;
16675
16793
  softDelete?: {
16676
16794
  enabled: boolean;
16677
16795
  field: string;
@@ -16985,6 +17103,21 @@ declare const SysMember: Omit<{
16985
17103
  pageSize?: number | undefined;
16986
17104
  debounceMs?: number | undefined;
16987
17105
  } | undefined;
17106
+ userFilters?: {
17107
+ element: "toggle" | "dropdown";
17108
+ fields?: {
17109
+ field: string;
17110
+ label?: string | undefined;
17111
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
17112
+ options?: {
17113
+ value: string | number | boolean;
17114
+ label: string;
17115
+ color?: string | undefined;
17116
+ }[] | undefined;
17117
+ showCount?: boolean | undefined;
17118
+ defaultValues?: (string | number | boolean)[] | undefined;
17119
+ }[] | undefined;
17120
+ } | undefined;
16988
17121
  }> | undefined;
16989
17122
  searchableFields?: string[] | undefined;
16990
17123
  search?: {
@@ -17002,9 +17135,10 @@ declare const SysMember: Omit<{
17002
17135
  trash: boolean;
17003
17136
  mru: boolean;
17004
17137
  clone: boolean;
17005
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
17138
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
17006
17139
  } | undefined;
17007
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
17140
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
17141
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
17008
17142
  publicSharing?: {
17009
17143
  enabled: boolean;
17010
17144
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -17053,6 +17187,7 @@ declare const SysMember: Omit<{
17053
17187
  defaultFromRow?: boolean | undefined;
17054
17188
  }[] | undefined;
17055
17189
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
17190
+ order?: number | undefined;
17056
17191
  confirmText?: string | undefined;
17057
17192
  successMessage?: string | undefined;
17058
17193
  errorMessage?: string | undefined;
@@ -17146,7 +17281,7 @@ declare const SysMember: Omit<{
17146
17281
  readonly locations: ["list_toolbar"];
17147
17282
  readonly type: "api";
17148
17283
  readonly target: "/api/v1/auth/organization/add-member";
17149
- readonly visible: "features.multiOrgEnabled != false";
17284
+ readonly visible: "features.organization != false";
17150
17285
  readonly successMessage: "Member added";
17151
17286
  readonly refreshAfter: true;
17152
17287
  readonly params: [{
@@ -17169,7 +17304,7 @@ declare const SysMember: Omit<{
17169
17304
  readonly type: "api";
17170
17305
  readonly target: "/api/v1/auth/organization/update-member-role";
17171
17306
  readonly recordIdParam: "memberId";
17172
- readonly visible: "features.multiOrgEnabled != false";
17307
+ readonly visible: "features.organization != false";
17173
17308
  readonly successMessage: "Member role updated";
17174
17309
  readonly refreshAfter: true;
17175
17310
  readonly params: [{
@@ -17187,7 +17322,7 @@ declare const SysMember: Omit<{
17187
17322
  readonly type: "api";
17188
17323
  readonly target: "/api/v1/auth/organization/remove-member";
17189
17324
  readonly recordIdParam: "memberIdOrEmail";
17190
- readonly visible: "features.multiOrgEnabled != false";
17325
+ readonly visible: "features.organization != false";
17191
17326
  readonly confirmText: "Remove this member from the organization? They will lose access to all org resources.";
17192
17327
  readonly successMessage: "Member removed";
17193
17328
  readonly refreshAfter: true;
@@ -17204,7 +17339,7 @@ declare const SysMember: Omit<{
17204
17339
  readonly bodyExtra: {
17205
17340
  readonly role: "owner";
17206
17341
  };
17207
- readonly visible: "record.role != 'owner' && features.multiOrgEnabled != false";
17342
+ readonly visible: "record.role != 'owner' && features.organization != false";
17208
17343
  readonly confirmText: "Transfer ownership of this organization to the selected member? You will be demoted to admin and lose owner-only privileges.";
17209
17344
  readonly successMessage: "Ownership transferred";
17210
17345
  readonly refreshAfter: true;
@@ -18474,7 +18609,12 @@ declare const SysInvitation: Omit<{
18474
18609
  access?: {
18475
18610
  default: "public" | "private";
18476
18611
  } | undefined;
18477
- requiredPermissions?: string[] | undefined;
18612
+ requiredPermissions?: string[] | {
18613
+ read?: string[] | undefined;
18614
+ create?: string[] | undefined;
18615
+ update?: string[] | undefined;
18616
+ delete?: string[] | undefined;
18617
+ } | undefined;
18478
18618
  softDelete?: {
18479
18619
  enabled: boolean;
18480
18620
  field: string;
@@ -18788,6 +18928,21 @@ declare const SysInvitation: Omit<{
18788
18928
  pageSize?: number | undefined;
18789
18929
  debounceMs?: number | undefined;
18790
18930
  } | undefined;
18931
+ userFilters?: {
18932
+ element: "toggle" | "dropdown";
18933
+ fields?: {
18934
+ field: string;
18935
+ label?: string | undefined;
18936
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
18937
+ options?: {
18938
+ value: string | number | boolean;
18939
+ label: string;
18940
+ color?: string | undefined;
18941
+ }[] | undefined;
18942
+ showCount?: boolean | undefined;
18943
+ defaultValues?: (string | number | boolean)[] | undefined;
18944
+ }[] | undefined;
18945
+ } | undefined;
18791
18946
  }> | undefined;
18792
18947
  searchableFields?: string[] | undefined;
18793
18948
  search?: {
@@ -18805,9 +18960,10 @@ declare const SysInvitation: Omit<{
18805
18960
  trash: boolean;
18806
18961
  mru: boolean;
18807
18962
  clone: boolean;
18808
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
18963
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
18809
18964
  } | undefined;
18810
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
18965
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
18966
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
18811
18967
  publicSharing?: {
18812
18968
  enabled: boolean;
18813
18969
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -18856,6 +19012,7 @@ declare const SysInvitation: Omit<{
18856
19012
  defaultFromRow?: boolean | undefined;
18857
19013
  }[] | undefined;
18858
19014
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
19015
+ order?: number | undefined;
18859
19016
  confirmText?: string | undefined;
18860
19017
  successMessage?: string | undefined;
18861
19018
  errorMessage?: string | undefined;
@@ -18949,7 +19106,7 @@ declare const SysInvitation: Omit<{
18949
19106
  readonly locations: ["list_toolbar"];
18950
19107
  readonly type: "api";
18951
19108
  readonly target: "/api/v1/auth/organization/invite-member";
18952
- readonly visible: "features.multiOrgEnabled != false";
19109
+ readonly visible: "features.organization != false";
18953
19110
  readonly successMessage: "Invitation sent";
18954
19111
  readonly refreshAfter: true;
18955
19112
  readonly params: [{
@@ -18969,7 +19126,7 @@ declare const SysInvitation: Omit<{
18969
19126
  readonly type: "api";
18970
19127
  readonly target: "/api/v1/auth/organization/cancel-invitation";
18971
19128
  readonly recordIdParam: "invitationId";
18972
- readonly visible: "features.multiOrgEnabled != false";
19129
+ readonly visible: "features.organization != false";
18973
19130
  readonly confirmText: "Cancel this invitation? The recipient will no longer be able to accept it.";
18974
19131
  readonly successMessage: "Invitation canceled";
18975
19132
  readonly refreshAfter: true;
@@ -18984,7 +19141,7 @@ declare const SysInvitation: Omit<{
18984
19141
  readonly bodyExtra: {
18985
19142
  readonly resend: true;
18986
19143
  };
18987
- readonly visible: "features.multiOrgEnabled != false";
19144
+ readonly visible: "features.organization != false";
18988
19145
  readonly successMessage: "Invitation resent";
18989
19146
  readonly refreshAfter: true;
18990
19147
  readonly params: [{
@@ -21077,7 +21234,12 @@ declare const SysTeam: Omit<{
21077
21234
  access?: {
21078
21235
  default: "public" | "private";
21079
21236
  } | undefined;
21080
- requiredPermissions?: string[] | undefined;
21237
+ requiredPermissions?: string[] | {
21238
+ read?: string[] | undefined;
21239
+ create?: string[] | undefined;
21240
+ update?: string[] | undefined;
21241
+ delete?: string[] | undefined;
21242
+ } | undefined;
21081
21243
  softDelete?: {
21082
21244
  enabled: boolean;
21083
21245
  field: string;
@@ -21391,6 +21553,21 @@ declare const SysTeam: Omit<{
21391
21553
  pageSize?: number | undefined;
21392
21554
  debounceMs?: number | undefined;
21393
21555
  } | undefined;
21556
+ userFilters?: {
21557
+ element: "toggle" | "dropdown";
21558
+ fields?: {
21559
+ field: string;
21560
+ label?: string | undefined;
21561
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
21562
+ options?: {
21563
+ value: string | number | boolean;
21564
+ label: string;
21565
+ color?: string | undefined;
21566
+ }[] | undefined;
21567
+ showCount?: boolean | undefined;
21568
+ defaultValues?: (string | number | boolean)[] | undefined;
21569
+ }[] | undefined;
21570
+ } | undefined;
21394
21571
  }> | undefined;
21395
21572
  searchableFields?: string[] | undefined;
21396
21573
  search?: {
@@ -21408,9 +21585,10 @@ declare const SysTeam: Omit<{
21408
21585
  trash: boolean;
21409
21586
  mru: boolean;
21410
21587
  clone: boolean;
21411
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
21588
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
21412
21589
  } | undefined;
21413
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
21590
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
21591
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
21414
21592
  publicSharing?: {
21415
21593
  enabled: boolean;
21416
21594
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -21459,6 +21637,7 @@ declare const SysTeam: Omit<{
21459
21637
  defaultFromRow?: boolean | undefined;
21460
21638
  }[] | undefined;
21461
21639
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
21640
+ order?: number | undefined;
21462
21641
  confirmText?: string | undefined;
21463
21642
  successMessage?: string | undefined;
21464
21643
  errorMessage?: string | undefined;
@@ -21554,7 +21733,7 @@ declare const SysTeam: Omit<{
21554
21733
  readonly locations: ["list_toolbar"];
21555
21734
  readonly type: "api";
21556
21735
  readonly target: "/api/v1/auth/organization/create-team";
21557
- readonly visible: "features.multiOrgEnabled != false";
21736
+ readonly visible: "features.organization != false";
21558
21737
  readonly successMessage: "Team created";
21559
21738
  readonly refreshAfter: true;
21560
21739
  readonly params: [{
@@ -21576,7 +21755,7 @@ declare const SysTeam: Omit<{
21576
21755
  readonly bodyShape: {
21577
21756
  readonly wrap: "data";
21578
21757
  };
21579
- readonly visible: "features.multiOrgEnabled != false";
21758
+ readonly visible: "features.organization != false";
21580
21759
  readonly successMessage: "Team updated";
21581
21760
  readonly refreshAfter: true;
21582
21761
  readonly params: [{
@@ -21594,7 +21773,7 @@ declare const SysTeam: Omit<{
21594
21773
  readonly type: "api";
21595
21774
  readonly target: "/api/v1/auth/organization/remove-team";
21596
21775
  readonly recordIdParam: "teamId";
21597
- readonly visible: "features.multiOrgEnabled != false";
21776
+ readonly visible: "features.organization != false";
21598
21777
  readonly confirmText: "Delete this team? Members will lose any team-scoped access. This cannot be undone.";
21599
21778
  readonly successMessage: "Team deleted";
21600
21779
  readonly refreshAfter: true;
@@ -22882,7 +23061,12 @@ declare const SysTeamMember: Omit<{
22882
23061
  access?: {
22883
23062
  default: "public" | "private";
22884
23063
  } | undefined;
22885
- requiredPermissions?: string[] | undefined;
23064
+ requiredPermissions?: string[] | {
23065
+ read?: string[] | undefined;
23066
+ create?: string[] | undefined;
23067
+ update?: string[] | undefined;
23068
+ delete?: string[] | undefined;
23069
+ } | undefined;
22886
23070
  softDelete?: {
22887
23071
  enabled: boolean;
22888
23072
  field: string;
@@ -23196,6 +23380,21 @@ declare const SysTeamMember: Omit<{
23196
23380
  pageSize?: number | undefined;
23197
23381
  debounceMs?: number | undefined;
23198
23382
  } | undefined;
23383
+ userFilters?: {
23384
+ element: "toggle" | "dropdown";
23385
+ fields?: {
23386
+ field: string;
23387
+ label?: string | undefined;
23388
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
23389
+ options?: {
23390
+ value: string | number | boolean;
23391
+ label: string;
23392
+ color?: string | undefined;
23393
+ }[] | undefined;
23394
+ showCount?: boolean | undefined;
23395
+ defaultValues?: (string | number | boolean)[] | undefined;
23396
+ }[] | undefined;
23397
+ } | undefined;
23199
23398
  }> | undefined;
23200
23399
  searchableFields?: string[] | undefined;
23201
23400
  search?: {
@@ -23213,9 +23412,10 @@ declare const SysTeamMember: Omit<{
23213
23412
  trash: boolean;
23214
23413
  mru: boolean;
23215
23414
  clone: boolean;
23216
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
23415
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
23217
23416
  } | undefined;
23218
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
23417
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
23418
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
23219
23419
  publicSharing?: {
23220
23420
  enabled: boolean;
23221
23421
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -23264,6 +23464,7 @@ declare const SysTeamMember: Omit<{
23264
23464
  defaultFromRow?: boolean | undefined;
23265
23465
  }[] | undefined;
23266
23466
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
23467
+ order?: number | undefined;
23267
23468
  confirmText?: string | undefined;
23268
23469
  successMessage?: string | undefined;
23269
23470
  errorMessage?: string | undefined;
@@ -23357,7 +23558,7 @@ declare const SysTeamMember: Omit<{
23357
23558
  readonly locations: ["list_toolbar"];
23358
23559
  readonly type: "api";
23359
23560
  readonly target: "/api/v1/auth/organization/add-team-member";
23360
- readonly visible: "features.multiOrgEnabled != false";
23561
+ readonly visible: "features.organization != false";
23361
23562
  readonly successMessage: "Team member added";
23362
23563
  readonly refreshAfter: true;
23363
23564
  readonly params: [{
@@ -23378,7 +23579,7 @@ declare const SysTeamMember: Omit<{
23378
23579
  readonly locations: ["list_item"];
23379
23580
  readonly type: "api";
23380
23581
  readonly target: "/api/v1/auth/organization/remove-team-member";
23381
- readonly visible: "features.multiOrgEnabled != false";
23582
+ readonly visible: "features.organization != false";
23382
23583
  readonly confirmText: "Remove this user from the team? They will lose any team-scoped access.";
23383
23584
  readonly successMessage: "Team member removed";
23384
23585
  readonly refreshAfter: true;
@@ -24458,7 +24659,12 @@ declare const SysBusinessUnit: Omit<{
24458
24659
  access?: {
24459
24660
  default: "public" | "private";
24460
24661
  } | undefined;
24461
- requiredPermissions?: string[] | undefined;
24662
+ requiredPermissions?: string[] | {
24663
+ read?: string[] | undefined;
24664
+ create?: string[] | undefined;
24665
+ update?: string[] | undefined;
24666
+ delete?: string[] | undefined;
24667
+ } | undefined;
24462
24668
  softDelete?: {
24463
24669
  enabled: boolean;
24464
24670
  field: string;
@@ -24772,6 +24978,21 @@ declare const SysBusinessUnit: Omit<{
24772
24978
  pageSize?: number | undefined;
24773
24979
  debounceMs?: number | undefined;
24774
24980
  } | undefined;
24981
+ userFilters?: {
24982
+ element: "toggle" | "dropdown";
24983
+ fields?: {
24984
+ field: string;
24985
+ label?: string | undefined;
24986
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
24987
+ options?: {
24988
+ value: string | number | boolean;
24989
+ label: string;
24990
+ color?: string | undefined;
24991
+ }[] | undefined;
24992
+ showCount?: boolean | undefined;
24993
+ defaultValues?: (string | number | boolean)[] | undefined;
24994
+ }[] | undefined;
24995
+ } | undefined;
24775
24996
  }> | undefined;
24776
24997
  searchableFields?: string[] | undefined;
24777
24998
  search?: {
@@ -24789,9 +25010,10 @@ declare const SysBusinessUnit: Omit<{
24789
25010
  trash: boolean;
24790
25011
  mru: boolean;
24791
25012
  clone: boolean;
24792
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
25013
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
24793
25014
  } | undefined;
24794
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
25015
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
25016
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
24795
25017
  publicSharing?: {
24796
25018
  enabled: boolean;
24797
25019
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -24840,6 +25062,7 @@ declare const SysBusinessUnit: Omit<{
24840
25062
  defaultFromRow?: boolean | undefined;
24841
25063
  }[] | undefined;
24842
25064
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
25065
+ order?: number | undefined;
24843
25066
  confirmText?: string | undefined;
24844
25067
  successMessage?: string | undefined;
24845
25068
  errorMessage?: string | undefined;
@@ -27741,7 +27964,12 @@ declare const SysBusinessUnitMember: Omit<{
27741
27964
  access?: {
27742
27965
  default: "public" | "private";
27743
27966
  } | undefined;
27744
- requiredPermissions?: string[] | undefined;
27967
+ requiredPermissions?: string[] | {
27968
+ read?: string[] | undefined;
27969
+ create?: string[] | undefined;
27970
+ update?: string[] | undefined;
27971
+ delete?: string[] | undefined;
27972
+ } | undefined;
27745
27973
  softDelete?: {
27746
27974
  enabled: boolean;
27747
27975
  field: string;
@@ -28055,6 +28283,21 @@ declare const SysBusinessUnitMember: Omit<{
28055
28283
  pageSize?: number | undefined;
28056
28284
  debounceMs?: number | undefined;
28057
28285
  } | undefined;
28286
+ userFilters?: {
28287
+ element: "toggle" | "dropdown";
28288
+ fields?: {
28289
+ field: string;
28290
+ label?: string | undefined;
28291
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
28292
+ options?: {
28293
+ value: string | number | boolean;
28294
+ label: string;
28295
+ color?: string | undefined;
28296
+ }[] | undefined;
28297
+ showCount?: boolean | undefined;
28298
+ defaultValues?: (string | number | boolean)[] | undefined;
28299
+ }[] | undefined;
28300
+ } | undefined;
28058
28301
  }> | undefined;
28059
28302
  searchableFields?: string[] | undefined;
28060
28303
  search?: {
@@ -28072,9 +28315,10 @@ declare const SysBusinessUnitMember: Omit<{
28072
28315
  trash: boolean;
28073
28316
  mru: boolean;
28074
28317
  clone: boolean;
28075
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
28318
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
28076
28319
  } | undefined;
28077
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
28320
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
28321
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
28078
28322
  publicSharing?: {
28079
28323
  enabled: boolean;
28080
28324
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -28123,6 +28367,7 @@ declare const SysBusinessUnitMember: Omit<{
28123
28367
  defaultFromRow?: boolean | undefined;
28124
28368
  }[] | undefined;
28125
28369
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
28370
+ order?: number | undefined;
28126
28371
  confirmText?: string | undefined;
28127
28372
  successMessage?: string | undefined;
28128
28373
  errorMessage?: string | undefined;
@@ -28202,7 +28447,7 @@ declare const SysBusinessUnitMember: Omit<{
28202
28447
  readonly managedBy: "platform";
28203
28448
  readonly description: "User assignment to a business unit (matrix-org friendly, effective-dated).";
28204
28449
  readonly titleFormat: "{user_id} in {business_unit_id}";
28205
- readonly highlightFields: ["user_id", "business_unit_id", "role_in_business_unit", "is_primary"];
28450
+ readonly highlightFields: ["user_id", "business_unit_id", "function_in_business_unit", "is_primary"];
28206
28451
  readonly fields: {
28207
28452
  readonly id: {
28208
28453
  readonly readonly?: boolean | undefined;
@@ -28753,7 +28998,7 @@ declare const SysBusinessUnitMember: Omit<{
28753
28998
  readonly index?: boolean | undefined;
28754
28999
  readonly type: "lookup";
28755
29000
  };
28756
- readonly role_in_business_unit: {
29001
+ readonly function_in_business_unit: {
28757
29002
  readonly readonly?: boolean | undefined;
28758
29003
  readonly format?: string | undefined;
28759
29004
  options: {
@@ -30177,7 +30422,12 @@ declare const SysApiKey: Omit<{
30177
30422
  access?: {
30178
30423
  default: "public" | "private";
30179
30424
  } | undefined;
30180
- requiredPermissions?: string[] | undefined;
30425
+ requiredPermissions?: string[] | {
30426
+ read?: string[] | undefined;
30427
+ create?: string[] | undefined;
30428
+ update?: string[] | undefined;
30429
+ delete?: string[] | undefined;
30430
+ } | undefined;
30181
30431
  softDelete?: {
30182
30432
  enabled: boolean;
30183
30433
  field: string;
@@ -30491,6 +30741,21 @@ declare const SysApiKey: Omit<{
30491
30741
  pageSize?: number | undefined;
30492
30742
  debounceMs?: number | undefined;
30493
30743
  } | undefined;
30744
+ userFilters?: {
30745
+ element: "toggle" | "dropdown";
30746
+ fields?: {
30747
+ field: string;
30748
+ label?: string | undefined;
30749
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
30750
+ options?: {
30751
+ value: string | number | boolean;
30752
+ label: string;
30753
+ color?: string | undefined;
30754
+ }[] | undefined;
30755
+ showCount?: boolean | undefined;
30756
+ defaultValues?: (string | number | boolean)[] | undefined;
30757
+ }[] | undefined;
30758
+ } | undefined;
30494
30759
  }> | undefined;
30495
30760
  searchableFields?: string[] | undefined;
30496
30761
  search?: {
@@ -30508,9 +30773,10 @@ declare const SysApiKey: Omit<{
30508
30773
  trash: boolean;
30509
30774
  mru: boolean;
30510
30775
  clone: boolean;
30511
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
30776
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
30512
30777
  } | undefined;
30513
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
30778
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
30779
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
30514
30780
  publicSharing?: {
30515
30781
  enabled: boolean;
30516
30782
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -30559,6 +30825,7 @@ declare const SysApiKey: Omit<{
30559
30825
  defaultFromRow?: boolean | undefined;
30560
30826
  }[] | undefined;
30561
30827
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
30828
+ order?: number | undefined;
30562
30829
  confirmText?: string | undefined;
30563
30830
  successMessage?: string | undefined;
30564
30831
  errorMessage?: string | undefined;
@@ -33103,7 +33370,12 @@ declare const SysTwoFactor: Omit<{
33103
33370
  access?: {
33104
33371
  default: "public" | "private";
33105
33372
  } | undefined;
33106
- requiredPermissions?: string[] | undefined;
33373
+ requiredPermissions?: string[] | {
33374
+ read?: string[] | undefined;
33375
+ create?: string[] | undefined;
33376
+ update?: string[] | undefined;
33377
+ delete?: string[] | undefined;
33378
+ } | undefined;
33107
33379
  softDelete?: {
33108
33380
  enabled: boolean;
33109
33381
  field: string;
@@ -33417,6 +33689,21 @@ declare const SysTwoFactor: Omit<{
33417
33689
  pageSize?: number | undefined;
33418
33690
  debounceMs?: number | undefined;
33419
33691
  } | undefined;
33692
+ userFilters?: {
33693
+ element: "toggle" | "dropdown";
33694
+ fields?: {
33695
+ field: string;
33696
+ label?: string | undefined;
33697
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
33698
+ options?: {
33699
+ value: string | number | boolean;
33700
+ label: string;
33701
+ color?: string | undefined;
33702
+ }[] | undefined;
33703
+ showCount?: boolean | undefined;
33704
+ defaultValues?: (string | number | boolean)[] | undefined;
33705
+ }[] | undefined;
33706
+ } | undefined;
33420
33707
  }> | undefined;
33421
33708
  searchableFields?: string[] | undefined;
33422
33709
  search?: {
@@ -33434,9 +33721,10 @@ declare const SysTwoFactor: Omit<{
33434
33721
  trash: boolean;
33435
33722
  mru: boolean;
33436
33723
  clone: boolean;
33437
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
33724
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
33438
33725
  } | undefined;
33439
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
33726
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
33727
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
33440
33728
  publicSharing?: {
33441
33729
  enabled: boolean;
33442
33730
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -33485,6 +33773,7 @@ declare const SysTwoFactor: Omit<{
33485
33773
  defaultFromRow?: boolean | undefined;
33486
33774
  }[] | undefined;
33487
33775
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
33776
+ order?: number | undefined;
33488
33777
  confirmText?: string | undefined;
33489
33778
  successMessage?: string | undefined;
33490
33779
  errorMessage?: string | undefined;
@@ -35294,7 +35583,12 @@ declare const SysDeviceCode: Omit<{
35294
35583
  access?: {
35295
35584
  default: "public" | "private";
35296
35585
  } | undefined;
35297
- requiredPermissions?: string[] | undefined;
35586
+ requiredPermissions?: string[] | {
35587
+ read?: string[] | undefined;
35588
+ create?: string[] | undefined;
35589
+ update?: string[] | undefined;
35590
+ delete?: string[] | undefined;
35591
+ } | undefined;
35298
35592
  softDelete?: {
35299
35593
  enabled: boolean;
35300
35594
  field: string;
@@ -35608,6 +35902,21 @@ declare const SysDeviceCode: Omit<{
35608
35902
  pageSize?: number | undefined;
35609
35903
  debounceMs?: number | undefined;
35610
35904
  } | undefined;
35905
+ userFilters?: {
35906
+ element: "toggle" | "dropdown";
35907
+ fields?: {
35908
+ field: string;
35909
+ label?: string | undefined;
35910
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
35911
+ options?: {
35912
+ value: string | number | boolean;
35913
+ label: string;
35914
+ color?: string | undefined;
35915
+ }[] | undefined;
35916
+ showCount?: boolean | undefined;
35917
+ defaultValues?: (string | number | boolean)[] | undefined;
35918
+ }[] | undefined;
35919
+ } | undefined;
35611
35920
  }> | undefined;
35612
35921
  searchableFields?: string[] | undefined;
35613
35922
  search?: {
@@ -35625,9 +35934,10 @@ declare const SysDeviceCode: Omit<{
35625
35934
  trash: boolean;
35626
35935
  mru: boolean;
35627
35936
  clone: boolean;
35628
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
35937
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
35629
35938
  } | undefined;
35630
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
35939
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
35940
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
35631
35941
  publicSharing?: {
35632
35942
  enabled: boolean;
35633
35943
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -35676,6 +35986,7 @@ declare const SysDeviceCode: Omit<{
35676
35986
  defaultFromRow?: boolean | undefined;
35677
35987
  }[] | undefined;
35678
35988
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
35989
+ order?: number | undefined;
35679
35990
  confirmText?: string | undefined;
35680
35991
  successMessage?: string | undefined;
35681
35992
  errorMessage?: string | undefined;
@@ -35753,6 +36064,9 @@ declare const SysDeviceCode: Omit<{
35753
36064
  readonly icon: "key-round";
35754
36065
  readonly isSystem: true;
35755
36066
  readonly managedBy: "better-auth";
36067
+ readonly access: {
36068
+ readonly default: "private";
36069
+ };
35756
36070
  readonly protection: {
35757
36071
  readonly lock: "full";
35758
36072
  readonly reason: "Identity table managed by better-auth — see ADR-0010.";
@@ -38294,7 +38608,12 @@ declare const SysUserPreference: Omit<{
38294
38608
  access?: {
38295
38609
  default: "public" | "private";
38296
38610
  } | undefined;
38297
- requiredPermissions?: string[] | undefined;
38611
+ requiredPermissions?: string[] | {
38612
+ read?: string[] | undefined;
38613
+ create?: string[] | undefined;
38614
+ update?: string[] | undefined;
38615
+ delete?: string[] | undefined;
38616
+ } | undefined;
38298
38617
  softDelete?: {
38299
38618
  enabled: boolean;
38300
38619
  field: string;
@@ -38608,6 +38927,21 @@ declare const SysUserPreference: Omit<{
38608
38927
  pageSize?: number | undefined;
38609
38928
  debounceMs?: number | undefined;
38610
38929
  } | undefined;
38930
+ userFilters?: {
38931
+ element: "toggle" | "dropdown";
38932
+ fields?: {
38933
+ field: string;
38934
+ label?: string | undefined;
38935
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
38936
+ options?: {
38937
+ value: string | number | boolean;
38938
+ label: string;
38939
+ color?: string | undefined;
38940
+ }[] | undefined;
38941
+ showCount?: boolean | undefined;
38942
+ defaultValues?: (string | number | boolean)[] | undefined;
38943
+ }[] | undefined;
38944
+ } | undefined;
38611
38945
  }> | undefined;
38612
38946
  searchableFields?: string[] | undefined;
38613
38947
  search?: {
@@ -38625,9 +38959,10 @@ declare const SysUserPreference: Omit<{
38625
38959
  trash: boolean;
38626
38960
  mru: boolean;
38627
38961
  clone: boolean;
38628
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
38962
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
38629
38963
  } | undefined;
38630
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
38964
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
38965
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
38631
38966
  publicSharing?: {
38632
38967
  enabled: boolean;
38633
38968
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -38676,6 +39011,7 @@ declare const SysUserPreference: Omit<{
38676
39011
  defaultFromRow?: boolean | undefined;
38677
39012
  }[] | undefined;
38678
39013
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
39014
+ order?: number | undefined;
38679
39015
  confirmText?: string | undefined;
38680
39016
  successMessage?: string | undefined;
38681
39017
  errorMessage?: string | undefined;
@@ -40253,7 +40589,12 @@ declare const SysOauthApplication: Omit<{
40253
40589
  access?: {
40254
40590
  default: "public" | "private";
40255
40591
  } | undefined;
40256
- requiredPermissions?: string[] | undefined;
40592
+ requiredPermissions?: string[] | {
40593
+ read?: string[] | undefined;
40594
+ create?: string[] | undefined;
40595
+ update?: string[] | undefined;
40596
+ delete?: string[] | undefined;
40597
+ } | undefined;
40257
40598
  softDelete?: {
40258
40599
  enabled: boolean;
40259
40600
  field: string;
@@ -40567,6 +40908,21 @@ declare const SysOauthApplication: Omit<{
40567
40908
  pageSize?: number | undefined;
40568
40909
  debounceMs?: number | undefined;
40569
40910
  } | undefined;
40911
+ userFilters?: {
40912
+ element: "toggle" | "dropdown";
40913
+ fields?: {
40914
+ field: string;
40915
+ label?: string | undefined;
40916
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
40917
+ options?: {
40918
+ value: string | number | boolean;
40919
+ label: string;
40920
+ color?: string | undefined;
40921
+ }[] | undefined;
40922
+ showCount?: boolean | undefined;
40923
+ defaultValues?: (string | number | boolean)[] | undefined;
40924
+ }[] | undefined;
40925
+ } | undefined;
40570
40926
  }> | undefined;
40571
40927
  searchableFields?: string[] | undefined;
40572
40928
  search?: {
@@ -40584,9 +40940,10 @@ declare const SysOauthApplication: Omit<{
40584
40940
  trash: boolean;
40585
40941
  mru: boolean;
40586
40942
  clone: boolean;
40587
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
40943
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
40588
40944
  } | undefined;
40589
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
40945
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
40946
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
40590
40947
  publicSharing?: {
40591
40948
  enabled: boolean;
40592
40949
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -40635,6 +40992,7 @@ declare const SysOauthApplication: Omit<{
40635
40992
  defaultFromRow?: boolean | undefined;
40636
40993
  }[] | undefined;
40637
40994
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
40995
+ order?: number | undefined;
40638
40996
  confirmText?: string | undefined;
40639
40997
  successMessage?: string | undefined;
40640
40998
  errorMessage?: string | undefined;
@@ -46776,7 +47134,12 @@ declare const SysOauthAccessToken: Omit<{
46776
47134
  access?: {
46777
47135
  default: "public" | "private";
46778
47136
  } | undefined;
46779
- requiredPermissions?: string[] | undefined;
47137
+ requiredPermissions?: string[] | {
47138
+ read?: string[] | undefined;
47139
+ create?: string[] | undefined;
47140
+ update?: string[] | undefined;
47141
+ delete?: string[] | undefined;
47142
+ } | undefined;
46780
47143
  softDelete?: {
46781
47144
  enabled: boolean;
46782
47145
  field: string;
@@ -47090,6 +47453,21 @@ declare const SysOauthAccessToken: Omit<{
47090
47453
  pageSize?: number | undefined;
47091
47454
  debounceMs?: number | undefined;
47092
47455
  } | undefined;
47456
+ userFilters?: {
47457
+ element: "toggle" | "dropdown";
47458
+ fields?: {
47459
+ field: string;
47460
+ label?: string | undefined;
47461
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
47462
+ options?: {
47463
+ value: string | number | boolean;
47464
+ label: string;
47465
+ color?: string | undefined;
47466
+ }[] | undefined;
47467
+ showCount?: boolean | undefined;
47468
+ defaultValues?: (string | number | boolean)[] | undefined;
47469
+ }[] | undefined;
47470
+ } | undefined;
47093
47471
  }> | undefined;
47094
47472
  searchableFields?: string[] | undefined;
47095
47473
  search?: {
@@ -47107,9 +47485,10 @@ declare const SysOauthAccessToken: Omit<{
47107
47485
  trash: boolean;
47108
47486
  mru: boolean;
47109
47487
  clone: boolean;
47110
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
47488
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
47111
47489
  } | undefined;
47112
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
47490
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
47491
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
47113
47492
  publicSharing?: {
47114
47493
  enabled: boolean;
47115
47494
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -47158,6 +47537,7 @@ declare const SysOauthAccessToken: Omit<{
47158
47537
  defaultFromRow?: boolean | undefined;
47159
47538
  }[] | undefined;
47160
47539
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
47540
+ order?: number | undefined;
47161
47541
  confirmText?: string | undefined;
47162
47542
  successMessage?: string | undefined;
47163
47543
  errorMessage?: string | undefined;
@@ -47235,6 +47615,9 @@ declare const SysOauthAccessToken: Omit<{
47235
47615
  readonly icon: "ticket";
47236
47616
  readonly isSystem: true;
47237
47617
  readonly managedBy: "better-auth";
47618
+ readonly access: {
47619
+ readonly default: "private";
47620
+ };
47238
47621
  readonly protection: {
47239
47622
  readonly lock: "full";
47240
47623
  readonly reason: "Identity table managed by better-auth — see ADR-0010.";
@@ -49404,7 +49787,12 @@ declare const SysOauthRefreshToken: Omit<{
49404
49787
  access?: {
49405
49788
  default: "public" | "private";
49406
49789
  } | undefined;
49407
- requiredPermissions?: string[] | undefined;
49790
+ requiredPermissions?: string[] | {
49791
+ read?: string[] | undefined;
49792
+ create?: string[] | undefined;
49793
+ update?: string[] | undefined;
49794
+ delete?: string[] | undefined;
49795
+ } | undefined;
49408
49796
  softDelete?: {
49409
49797
  enabled: boolean;
49410
49798
  field: string;
@@ -49718,6 +50106,21 @@ declare const SysOauthRefreshToken: Omit<{
49718
50106
  pageSize?: number | undefined;
49719
50107
  debounceMs?: number | undefined;
49720
50108
  } | undefined;
50109
+ userFilters?: {
50110
+ element: "toggle" | "dropdown";
50111
+ fields?: {
50112
+ field: string;
50113
+ label?: string | undefined;
50114
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
50115
+ options?: {
50116
+ value: string | number | boolean;
50117
+ label: string;
50118
+ color?: string | undefined;
50119
+ }[] | undefined;
50120
+ showCount?: boolean | undefined;
50121
+ defaultValues?: (string | number | boolean)[] | undefined;
50122
+ }[] | undefined;
50123
+ } | undefined;
49721
50124
  }> | undefined;
49722
50125
  searchableFields?: string[] | undefined;
49723
50126
  search?: {
@@ -49735,9 +50138,10 @@ declare const SysOauthRefreshToken: Omit<{
49735
50138
  trash: boolean;
49736
50139
  mru: boolean;
49737
50140
  clone: boolean;
49738
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
50141
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
49739
50142
  } | undefined;
49740
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
50143
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
50144
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
49741
50145
  publicSharing?: {
49742
50146
  enabled: boolean;
49743
50147
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -49786,6 +50190,7 @@ declare const SysOauthRefreshToken: Omit<{
49786
50190
  defaultFromRow?: boolean | undefined;
49787
50191
  }[] | undefined;
49788
50192
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
50193
+ order?: number | undefined;
49789
50194
  confirmText?: string | undefined;
49790
50195
  successMessage?: string | undefined;
49791
50196
  errorMessage?: string | undefined;
@@ -49863,6 +50268,9 @@ declare const SysOauthRefreshToken: Omit<{
49863
50268
  readonly icon: "refresh-cw";
49864
50269
  readonly isSystem: true;
49865
50270
  readonly managedBy: "better-auth";
50271
+ readonly access: {
50272
+ readonly default: "private";
50273
+ };
49866
50274
  readonly protection: {
49867
50275
  readonly lock: "full";
49868
50276
  readonly reason: "Identity table managed by better-auth — see ADR-0010.";
@@ -52215,7 +52623,12 @@ declare const SysOauthConsent: Omit<{
52215
52623
  access?: {
52216
52624
  default: "public" | "private";
52217
52625
  } | undefined;
52218
- requiredPermissions?: string[] | undefined;
52626
+ requiredPermissions?: string[] | {
52627
+ read?: string[] | undefined;
52628
+ create?: string[] | undefined;
52629
+ update?: string[] | undefined;
52630
+ delete?: string[] | undefined;
52631
+ } | undefined;
52219
52632
  softDelete?: {
52220
52633
  enabled: boolean;
52221
52634
  field: string;
@@ -52529,6 +52942,21 @@ declare const SysOauthConsent: Omit<{
52529
52942
  pageSize?: number | undefined;
52530
52943
  debounceMs?: number | undefined;
52531
52944
  } | undefined;
52945
+ userFilters?: {
52946
+ element: "toggle" | "dropdown";
52947
+ fields?: {
52948
+ field: string;
52949
+ label?: string | undefined;
52950
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
52951
+ options?: {
52952
+ value: string | number | boolean;
52953
+ label: string;
52954
+ color?: string | undefined;
52955
+ }[] | undefined;
52956
+ showCount?: boolean | undefined;
52957
+ defaultValues?: (string | number | boolean)[] | undefined;
52958
+ }[] | undefined;
52959
+ } | undefined;
52532
52960
  }> | undefined;
52533
52961
  searchableFields?: string[] | undefined;
52534
52962
  search?: {
@@ -52546,9 +52974,10 @@ declare const SysOauthConsent: Omit<{
52546
52974
  trash: boolean;
52547
52975
  mru: boolean;
52548
52976
  clone: boolean;
52549
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
52977
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
52550
52978
  } | undefined;
52551
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
52979
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
52980
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
52552
52981
  publicSharing?: {
52553
52982
  enabled: boolean;
52554
52983
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -52597,6 +53026,7 @@ declare const SysOauthConsent: Omit<{
52597
53026
  defaultFromRow?: boolean | undefined;
52598
53027
  }[] | undefined;
52599
53028
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
53029
+ order?: number | undefined;
52600
53030
  confirmText?: string | undefined;
52601
53031
  successMessage?: string | undefined;
52602
53032
  errorMessage?: string | undefined;
@@ -54287,7 +54717,12 @@ declare const SysJwks: Omit<{
54287
54717
  access?: {
54288
54718
  default: "public" | "private";
54289
54719
  } | undefined;
54290
- requiredPermissions?: string[] | undefined;
54720
+ requiredPermissions?: string[] | {
54721
+ read?: string[] | undefined;
54722
+ create?: string[] | undefined;
54723
+ update?: string[] | undefined;
54724
+ delete?: string[] | undefined;
54725
+ } | undefined;
54291
54726
  softDelete?: {
54292
54727
  enabled: boolean;
54293
54728
  field: string;
@@ -54601,6 +55036,21 @@ declare const SysJwks: Omit<{
54601
55036
  pageSize?: number | undefined;
54602
55037
  debounceMs?: number | undefined;
54603
55038
  } | undefined;
55039
+ userFilters?: {
55040
+ element: "toggle" | "dropdown";
55041
+ fields?: {
55042
+ field: string;
55043
+ label?: string | undefined;
55044
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
55045
+ options?: {
55046
+ value: string | number | boolean;
55047
+ label: string;
55048
+ color?: string | undefined;
55049
+ }[] | undefined;
55050
+ showCount?: boolean | undefined;
55051
+ defaultValues?: (string | number | boolean)[] | undefined;
55052
+ }[] | undefined;
55053
+ } | undefined;
54604
55054
  }> | undefined;
54605
55055
  searchableFields?: string[] | undefined;
54606
55056
  search?: {
@@ -54618,9 +55068,10 @@ declare const SysJwks: Omit<{
54618
55068
  trash: boolean;
54619
55069
  mru: boolean;
54620
55070
  clone: boolean;
54621
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
55071
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
54622
55072
  } | undefined;
54623
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
55073
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
55074
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
54624
55075
  publicSharing?: {
54625
55076
  enabled: boolean;
54626
55077
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -54669,6 +55120,7 @@ declare const SysJwks: Omit<{
54669
55120
  defaultFromRow?: boolean | undefined;
54670
55121
  }[] | undefined;
54671
55122
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
55123
+ order?: number | undefined;
54672
55124
  confirmText?: string | undefined;
54673
55125
  successMessage?: string | undefined;
54674
55126
  errorMessage?: string | undefined;
@@ -54746,6 +55198,9 @@ declare const SysJwks: Omit<{
54746
55198
  readonly icon: "key";
54747
55199
  readonly isSystem: true;
54748
55200
  readonly managedBy: "better-auth";
55201
+ readonly access: {
55202
+ readonly default: "private";
55203
+ };
54749
55204
  readonly protection: {
54750
55205
  readonly lock: "full";
54751
55206
  readonly reason: "Identity table managed by better-auth — see ADR-0010.";
@@ -55998,7 +56453,12 @@ declare const SysSsoProvider: Omit<{
55998
56453
  access?: {
55999
56454
  default: "public" | "private";
56000
56455
  } | undefined;
56001
- requiredPermissions?: string[] | undefined;
56456
+ requiredPermissions?: string[] | {
56457
+ read?: string[] | undefined;
56458
+ create?: string[] | undefined;
56459
+ update?: string[] | undefined;
56460
+ delete?: string[] | undefined;
56461
+ } | undefined;
56002
56462
  softDelete?: {
56003
56463
  enabled: boolean;
56004
56464
  field: string;
@@ -56312,6 +56772,21 @@ declare const SysSsoProvider: Omit<{
56312
56772
  pageSize?: number | undefined;
56313
56773
  debounceMs?: number | undefined;
56314
56774
  } | undefined;
56775
+ userFilters?: {
56776
+ element: "toggle" | "dropdown";
56777
+ fields?: {
56778
+ field: string;
56779
+ label?: string | undefined;
56780
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
56781
+ options?: {
56782
+ value: string | number | boolean;
56783
+ label: string;
56784
+ color?: string | undefined;
56785
+ }[] | undefined;
56786
+ showCount?: boolean | undefined;
56787
+ defaultValues?: (string | number | boolean)[] | undefined;
56788
+ }[] | undefined;
56789
+ } | undefined;
56315
56790
  }> | undefined;
56316
56791
  searchableFields?: string[] | undefined;
56317
56792
  search?: {
@@ -56329,9 +56804,10 @@ declare const SysSsoProvider: Omit<{
56329
56804
  trash: boolean;
56330
56805
  mru: boolean;
56331
56806
  clone: boolean;
56332
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
56807
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
56333
56808
  } | undefined;
56334
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
56809
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
56810
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
56335
56811
  publicSharing?: {
56336
56812
  enabled: boolean;
56337
56813
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -56380,6 +56856,7 @@ declare const SysSsoProvider: Omit<{
56380
56856
  defaultFromRow?: boolean | undefined;
56381
56857
  }[] | undefined;
56382
56858
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
56859
+ order?: number | undefined;
56383
56860
  confirmText?: string | undefined;
56384
56861
  successMessage?: string | undefined;
56385
56862
  errorMessage?: string | undefined;
@@ -59049,7 +59526,12 @@ declare const SysScimProvider: Omit<{
59049
59526
  access?: {
59050
59527
  default: "public" | "private";
59051
59528
  } | undefined;
59052
- requiredPermissions?: string[] | undefined;
59529
+ requiredPermissions?: string[] | {
59530
+ read?: string[] | undefined;
59531
+ create?: string[] | undefined;
59532
+ update?: string[] | undefined;
59533
+ delete?: string[] | undefined;
59534
+ } | undefined;
59053
59535
  softDelete?: {
59054
59536
  enabled: boolean;
59055
59537
  field: string;
@@ -59363,6 +59845,21 @@ declare const SysScimProvider: Omit<{
59363
59845
  pageSize?: number | undefined;
59364
59846
  debounceMs?: number | undefined;
59365
59847
  } | undefined;
59848
+ userFilters?: {
59849
+ element: "toggle" | "dropdown";
59850
+ fields?: {
59851
+ field: string;
59852
+ label?: string | undefined;
59853
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
59854
+ options?: {
59855
+ value: string | number | boolean;
59856
+ label: string;
59857
+ color?: string | undefined;
59858
+ }[] | undefined;
59859
+ showCount?: boolean | undefined;
59860
+ defaultValues?: (string | number | boolean)[] | undefined;
59861
+ }[] | undefined;
59862
+ } | undefined;
59366
59863
  }> | undefined;
59367
59864
  searchableFields?: string[] | undefined;
59368
59865
  search?: {
@@ -59380,9 +59877,10 @@ declare const SysScimProvider: Omit<{
59380
59877
  trash: boolean;
59381
59878
  mru: boolean;
59382
59879
  clone: boolean;
59383
- apiMethods?: ("search" | "create" | "import" | "delete" | "get" | "update" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
59880
+ apiMethods?: ("search" | "create" | "import" | "delete" | "update" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
59384
59881
  } | undefined;
59385
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
59882
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
59883
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
59386
59884
  publicSharing?: {
59387
59885
  enabled: boolean;
59388
59886
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -59431,6 +59929,7 @@ declare const SysScimProvider: Omit<{
59431
59929
  defaultFromRow?: boolean | undefined;
59432
59930
  }[] | undefined;
59433
59931
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
59932
+ order?: number | undefined;
59434
59933
  confirmText?: string | undefined;
59435
59934
  successMessage?: string | undefined;
59436
59935
  errorMessage?: string | undefined;
@@ -59508,6 +60007,7 @@ declare const SysScimProvider: Omit<{
59508
60007
  readonly icon: "users";
59509
60008
  readonly isSystem: true;
59510
60009
  readonly managedBy: "better-auth";
60010
+ readonly requiredPermissions: ["manage_platform_settings"];
59511
60011
  readonly protection: {
59512
60012
  readonly lock: "full";
59513
60013
  readonly reason: "Identity table managed by better-auth (@better-auth/scim) — see ADR-0071.";