@objectstack/metadata-core 10.2.0 → 10.3.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.
package/dist/index.d.cts CHANGED
@@ -475,6 +475,7 @@ declare const SysMetadataObject: Omit<{
475
475
  generatedBy?: string | undefined;
476
476
  } | undefined;
477
477
  } | undefined;
478
+ requiredPermissions?: string[] | undefined;
478
479
  system?: boolean | undefined;
479
480
  inlineHelpText?: string | undefined;
480
481
  caseSensitive?: boolean | undefined;
@@ -550,6 +551,10 @@ declare const SysMetadataObject: Omit<{
550
551
  tenantField: string;
551
552
  crossTenantAccess: boolean;
552
553
  } | undefined;
554
+ access?: {
555
+ default: "public" | "private";
556
+ } | undefined;
557
+ requiredPermissions?: string[] | undefined;
553
558
  softDelete?: {
554
559
  enabled: boolean;
555
560
  field: string;
@@ -916,7 +921,7 @@ declare const SysMetadataObject: Omit<{
916
921
  clone: boolean;
917
922
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
918
923
  } | undefined;
919
- sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
924
+ sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
920
925
  publicSharing?: {
921
926
  enabled: boolean;
922
927
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -1003,6 +1008,7 @@ declare const SysMetadataObject: Omit<{
1003
1008
  generatedBy?: string | undefined;
1004
1009
  } | undefined;
1005
1010
  } | undefined;
1011
+ requiredPermissions?: string[] | undefined;
1006
1012
  shortcut?: string | undefined;
1007
1013
  bulkEnabled?: boolean | undefined;
1008
1014
  ai?: {
@@ -1067,6 +1073,7 @@ declare const SysMetadataObject: Omit<{
1067
1073
  readonly dependencies?: string[] | undefined;
1068
1074
  readonly externalId?: boolean | undefined;
1069
1075
  readonly defaultValue?: unknown;
1076
+ readonly requiredPermissions?: string[] | undefined;
1070
1077
  readonly group?: string | undefined;
1071
1078
  readonly hidden?: boolean | undefined;
1072
1079
  readonly system?: boolean | undefined;
@@ -1242,6 +1249,7 @@ declare const SysMetadataObject: Omit<{
1242
1249
  readonly dependencies?: string[] | undefined;
1243
1250
  readonly externalId?: boolean | undefined;
1244
1251
  readonly defaultValue?: unknown;
1252
+ readonly requiredPermissions?: string[] | undefined;
1245
1253
  readonly group?: string | undefined;
1246
1254
  readonly hidden?: boolean | undefined;
1247
1255
  readonly system?: boolean | undefined;
@@ -1417,6 +1425,7 @@ declare const SysMetadataObject: Omit<{
1417
1425
  readonly dependencies?: string[] | undefined;
1418
1426
  readonly externalId?: boolean | undefined;
1419
1427
  readonly defaultValue?: unknown;
1428
+ readonly requiredPermissions?: string[] | undefined;
1420
1429
  readonly group?: string | undefined;
1421
1430
  readonly hidden?: boolean | undefined;
1422
1431
  readonly system?: boolean | undefined;
@@ -1592,6 +1601,7 @@ declare const SysMetadataObject: Omit<{
1592
1601
  readonly dependencies?: string[] | undefined;
1593
1602
  readonly externalId?: boolean | undefined;
1594
1603
  readonly defaultValue?: unknown;
1604
+ readonly requiredPermissions?: string[] | undefined;
1595
1605
  readonly group?: string | undefined;
1596
1606
  readonly hidden?: boolean | undefined;
1597
1607
  readonly system?: boolean | undefined;
@@ -1767,6 +1777,7 @@ declare const SysMetadataObject: Omit<{
1767
1777
  readonly dependencies?: string[] | undefined;
1768
1778
  readonly externalId?: boolean | undefined;
1769
1779
  readonly defaultValue?: unknown;
1780
+ readonly requiredPermissions?: string[] | undefined;
1770
1781
  readonly group?: string | undefined;
1771
1782
  readonly hidden?: boolean | undefined;
1772
1783
  readonly system?: boolean | undefined;
@@ -1945,6 +1956,7 @@ declare const SysMetadataObject: Omit<{
1945
1956
  readonly dependencies?: string[] | undefined;
1946
1957
  readonly externalId?: boolean | undefined;
1947
1958
  readonly defaultValue?: unknown;
1959
+ readonly requiredPermissions?: string[] | undefined;
1948
1960
  readonly group?: string | undefined;
1949
1961
  readonly hidden?: boolean | undefined;
1950
1962
  readonly system?: boolean | undefined;
@@ -2120,6 +2132,7 @@ declare const SysMetadataObject: Omit<{
2120
2132
  readonly dependencies?: string[] | undefined;
2121
2133
  readonly externalId?: boolean | undefined;
2122
2134
  readonly defaultValue?: unknown;
2135
+ readonly requiredPermissions?: string[] | undefined;
2123
2136
  readonly group?: string | undefined;
2124
2137
  readonly hidden?: boolean | undefined;
2125
2138
  readonly system?: boolean | undefined;
@@ -2295,6 +2308,7 @@ declare const SysMetadataObject: Omit<{
2295
2308
  readonly dependencies?: string[] | undefined;
2296
2309
  readonly externalId?: boolean | undefined;
2297
2310
  readonly defaultValue?: unknown;
2311
+ readonly requiredPermissions?: string[] | undefined;
2298
2312
  readonly group?: string | undefined;
2299
2313
  readonly hidden?: boolean | undefined;
2300
2314
  readonly system?: boolean | undefined;
@@ -2470,6 +2484,7 @@ declare const SysMetadataObject: Omit<{
2470
2484
  readonly dependencies?: string[] | undefined;
2471
2485
  readonly externalId?: boolean | undefined;
2472
2486
  readonly defaultValue?: unknown;
2487
+ readonly requiredPermissions?: string[] | undefined;
2473
2488
  readonly group?: string | undefined;
2474
2489
  readonly hidden?: boolean | undefined;
2475
2490
  readonly system?: boolean | undefined;
@@ -2645,6 +2660,7 @@ declare const SysMetadataObject: Omit<{
2645
2660
  readonly dependencies?: string[] | undefined;
2646
2661
  readonly externalId?: boolean | undefined;
2647
2662
  readonly defaultValue?: unknown;
2663
+ readonly requiredPermissions?: string[] | undefined;
2648
2664
  readonly group?: string | undefined;
2649
2665
  readonly hidden?: boolean | undefined;
2650
2666
  readonly system?: boolean | undefined;
@@ -2820,6 +2836,7 @@ declare const SysMetadataObject: Omit<{
2820
2836
  readonly dependencies?: string[] | undefined;
2821
2837
  readonly externalId?: boolean | undefined;
2822
2838
  readonly defaultValue?: unknown;
2839
+ readonly requiredPermissions?: string[] | undefined;
2823
2840
  readonly group?: string | undefined;
2824
2841
  readonly hidden?: boolean | undefined;
2825
2842
  readonly system?: boolean | undefined;
@@ -2995,6 +3012,7 @@ declare const SysMetadataObject: Omit<{
2995
3012
  readonly dependencies?: string[] | undefined;
2996
3013
  readonly externalId?: boolean | undefined;
2997
3014
  readonly defaultValue?: unknown;
3015
+ readonly requiredPermissions?: string[] | undefined;
2998
3016
  readonly group?: string | undefined;
2999
3017
  readonly hidden?: boolean | undefined;
3000
3018
  readonly system?: boolean | undefined;
@@ -3170,6 +3188,7 @@ declare const SysMetadataObject: Omit<{
3170
3188
  readonly dependencies?: string[] | undefined;
3171
3189
  readonly externalId?: boolean | undefined;
3172
3190
  readonly defaultValue?: unknown;
3191
+ readonly requiredPermissions?: string[] | undefined;
3173
3192
  readonly group?: string | undefined;
3174
3193
  readonly hidden?: boolean | undefined;
3175
3194
  readonly system?: boolean | undefined;
@@ -3345,6 +3364,7 @@ declare const SysMetadataObject: Omit<{
3345
3364
  readonly dependencies?: string[] | undefined;
3346
3365
  readonly externalId?: boolean | undefined;
3347
3366
  readonly defaultValue?: unknown;
3367
+ readonly requiredPermissions?: string[] | undefined;
3348
3368
  readonly group?: string | undefined;
3349
3369
  readonly hidden?: boolean | undefined;
3350
3370
  readonly system?: boolean | undefined;
@@ -3525,6 +3545,7 @@ declare const SysMetadataObject: Omit<{
3525
3545
  readonly dependencies?: string[] | undefined;
3526
3546
  readonly externalId?: boolean | undefined;
3527
3547
  readonly defaultValue?: unknown;
3548
+ readonly requiredPermissions?: string[] | undefined;
3528
3549
  readonly group?: string | undefined;
3529
3550
  readonly hidden?: boolean | undefined;
3530
3551
  readonly system?: boolean | undefined;
@@ -3700,6 +3721,7 @@ declare const SysMetadataObject: Omit<{
3700
3721
  readonly dependencies?: string[] | undefined;
3701
3722
  readonly externalId?: boolean | undefined;
3702
3723
  readonly defaultValue?: unknown;
3724
+ readonly requiredPermissions?: string[] | undefined;
3703
3725
  readonly group?: string | undefined;
3704
3726
  readonly hidden?: boolean | undefined;
3705
3727
  readonly system?: boolean | undefined;
@@ -3875,6 +3897,7 @@ declare const SysMetadataObject: Omit<{
3875
3897
  readonly dependencies?: string[] | undefined;
3876
3898
  readonly externalId?: boolean | undefined;
3877
3899
  readonly defaultValue?: unknown;
3900
+ readonly requiredPermissions?: string[] | undefined;
3878
3901
  readonly group?: string | undefined;
3879
3902
  readonly hidden?: boolean | undefined;
3880
3903
  readonly system?: boolean | undefined;
@@ -4050,6 +4073,7 @@ declare const SysMetadataObject: Omit<{
4050
4073
  readonly dependencies?: string[] | undefined;
4051
4074
  readonly externalId?: boolean | undefined;
4052
4075
  readonly defaultValue?: unknown;
4076
+ readonly requiredPermissions?: string[] | undefined;
4053
4077
  readonly group?: string | undefined;
4054
4078
  readonly hidden?: boolean | undefined;
4055
4079
  readonly system?: boolean | undefined;
@@ -4225,6 +4249,7 @@ declare const SysMetadataObject: Omit<{
4225
4249
  readonly dependencies?: string[] | undefined;
4226
4250
  readonly externalId?: boolean | undefined;
4227
4251
  readonly defaultValue?: unknown;
4252
+ readonly requiredPermissions?: string[] | undefined;
4228
4253
  readonly group?: string | undefined;
4229
4254
  readonly hidden?: boolean | undefined;
4230
4255
  readonly system?: boolean | undefined;
@@ -4400,6 +4425,7 @@ declare const SysMetadataObject: Omit<{
4400
4425
  readonly dependencies?: string[] | undefined;
4401
4426
  readonly externalId?: boolean | undefined;
4402
4427
  readonly defaultValue?: unknown;
4428
+ readonly requiredPermissions?: string[] | undefined;
4403
4429
  readonly group?: string | undefined;
4404
4430
  readonly hidden?: boolean | undefined;
4405
4431
  readonly system?: boolean | undefined;
@@ -4574,6 +4600,7 @@ declare const SysMetadataObject: Omit<{
4574
4600
  readonly dependencies?: string[] | undefined;
4575
4601
  readonly externalId?: boolean | undefined;
4576
4602
  readonly defaultValue?: unknown;
4603
+ readonly requiredPermissions?: string[] | undefined;
4577
4604
  readonly group?: string | undefined;
4578
4605
  readonly hidden?: boolean | undefined;
4579
4606
  readonly system?: boolean | undefined;
@@ -4748,6 +4775,7 @@ declare const SysMetadataObject: Omit<{
4748
4775
  readonly dependencies?: string[] | undefined;
4749
4776
  readonly externalId?: boolean | undefined;
4750
4777
  readonly defaultValue?: unknown;
4778
+ readonly requiredPermissions?: string[] | undefined;
4751
4779
  readonly group?: string | undefined;
4752
4780
  readonly hidden?: boolean | undefined;
4753
4781
  readonly system?: boolean | undefined;
@@ -4922,6 +4950,7 @@ declare const SysMetadataObject: Omit<{
4922
4950
  readonly dependencies?: string[] | undefined;
4923
4951
  readonly externalId?: boolean | undefined;
4924
4952
  readonly defaultValue?: unknown;
4953
+ readonly requiredPermissions?: string[] | undefined;
4925
4954
  readonly group?: string | undefined;
4926
4955
  readonly hidden?: boolean | undefined;
4927
4956
  readonly system?: boolean | undefined;
@@ -5421,6 +5450,7 @@ declare const SysMetadataHistoryObject: Omit<{
5421
5450
  generatedBy?: string | undefined;
5422
5451
  } | undefined;
5423
5452
  } | undefined;
5453
+ requiredPermissions?: string[] | undefined;
5424
5454
  system?: boolean | undefined;
5425
5455
  inlineHelpText?: string | undefined;
5426
5456
  caseSensitive?: boolean | undefined;
@@ -5496,6 +5526,10 @@ declare const SysMetadataHistoryObject: Omit<{
5496
5526
  tenantField: string;
5497
5527
  crossTenantAccess: boolean;
5498
5528
  } | undefined;
5529
+ access?: {
5530
+ default: "public" | "private";
5531
+ } | undefined;
5532
+ requiredPermissions?: string[] | undefined;
5499
5533
  softDelete?: {
5500
5534
  enabled: boolean;
5501
5535
  field: string;
@@ -5862,7 +5896,7 @@ declare const SysMetadataHistoryObject: Omit<{
5862
5896
  clone: boolean;
5863
5897
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
5864
5898
  } | undefined;
5865
- sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
5899
+ sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
5866
5900
  publicSharing?: {
5867
5901
  enabled: boolean;
5868
5902
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -5949,6 +5983,7 @@ declare const SysMetadataHistoryObject: Omit<{
5949
5983
  generatedBy?: string | undefined;
5950
5984
  } | undefined;
5951
5985
  } | undefined;
5986
+ requiredPermissions?: string[] | undefined;
5952
5987
  shortcut?: string | undefined;
5953
5988
  bulkEnabled?: boolean | undefined;
5954
5989
  ai?: {
@@ -6013,6 +6048,7 @@ declare const SysMetadataHistoryObject: Omit<{
6013
6048
  readonly dependencies?: string[] | undefined;
6014
6049
  readonly externalId?: boolean | undefined;
6015
6050
  readonly defaultValue?: unknown;
6051
+ readonly requiredPermissions?: string[] | undefined;
6016
6052
  readonly group?: string | undefined;
6017
6053
  readonly hidden?: boolean | undefined;
6018
6054
  readonly system?: boolean | undefined;
@@ -6188,6 +6224,7 @@ declare const SysMetadataHistoryObject: Omit<{
6188
6224
  readonly dependencies?: string[] | undefined;
6189
6225
  readonly externalId?: boolean | undefined;
6190
6226
  readonly defaultValue?: unknown;
6227
+ readonly requiredPermissions?: string[] | undefined;
6191
6228
  readonly group?: string | undefined;
6192
6229
  readonly hidden?: boolean | undefined;
6193
6230
  readonly system?: boolean | undefined;
@@ -6363,6 +6400,7 @@ declare const SysMetadataHistoryObject: Omit<{
6363
6400
  readonly dependencies?: string[] | undefined;
6364
6401
  readonly externalId?: boolean | undefined;
6365
6402
  readonly defaultValue?: unknown;
6403
+ readonly requiredPermissions?: string[] | undefined;
6366
6404
  readonly group?: string | undefined;
6367
6405
  readonly hidden?: boolean | undefined;
6368
6406
  readonly system?: boolean | undefined;
@@ -6538,6 +6576,7 @@ declare const SysMetadataHistoryObject: Omit<{
6538
6576
  readonly dependencies?: string[] | undefined;
6539
6577
  readonly externalId?: boolean | undefined;
6540
6578
  readonly defaultValue?: unknown;
6579
+ readonly requiredPermissions?: string[] | undefined;
6541
6580
  readonly group?: string | undefined;
6542
6581
  readonly hidden?: boolean | undefined;
6543
6582
  readonly system?: boolean | undefined;
@@ -6713,6 +6752,7 @@ declare const SysMetadataHistoryObject: Omit<{
6713
6752
  readonly dependencies?: string[] | undefined;
6714
6753
  readonly externalId?: boolean | undefined;
6715
6754
  readonly defaultValue?: unknown;
6755
+ readonly requiredPermissions?: string[] | undefined;
6716
6756
  readonly group?: string | undefined;
6717
6757
  readonly hidden?: boolean | undefined;
6718
6758
  readonly system?: boolean | undefined;
@@ -6888,6 +6928,7 @@ declare const SysMetadataHistoryObject: Omit<{
6888
6928
  readonly dependencies?: string[] | undefined;
6889
6929
  readonly externalId?: boolean | undefined;
6890
6930
  readonly defaultValue?: unknown;
6931
+ readonly requiredPermissions?: string[] | undefined;
6891
6932
  readonly group?: string | undefined;
6892
6933
  readonly hidden?: boolean | undefined;
6893
6934
  readonly system?: boolean | undefined;
@@ -7066,6 +7107,7 @@ declare const SysMetadataHistoryObject: Omit<{
7066
7107
  readonly dependencies?: string[] | undefined;
7067
7108
  readonly externalId?: boolean | undefined;
7068
7109
  readonly defaultValue?: unknown;
7110
+ readonly requiredPermissions?: string[] | undefined;
7069
7111
  readonly group?: string | undefined;
7070
7112
  readonly hidden?: boolean | undefined;
7071
7113
  readonly system?: boolean | undefined;
@@ -7241,6 +7283,7 @@ declare const SysMetadataHistoryObject: Omit<{
7241
7283
  readonly dependencies?: string[] | undefined;
7242
7284
  readonly externalId?: boolean | undefined;
7243
7285
  readonly defaultValue?: unknown;
7286
+ readonly requiredPermissions?: string[] | undefined;
7244
7287
  readonly group?: string | undefined;
7245
7288
  readonly hidden?: boolean | undefined;
7246
7289
  readonly system?: boolean | undefined;
@@ -7416,6 +7459,7 @@ declare const SysMetadataHistoryObject: Omit<{
7416
7459
  readonly dependencies?: string[] | undefined;
7417
7460
  readonly externalId?: boolean | undefined;
7418
7461
  readonly defaultValue?: unknown;
7462
+ readonly requiredPermissions?: string[] | undefined;
7419
7463
  readonly group?: string | undefined;
7420
7464
  readonly hidden?: boolean | undefined;
7421
7465
  readonly system?: boolean | undefined;
@@ -7591,6 +7635,7 @@ declare const SysMetadataHistoryObject: Omit<{
7591
7635
  readonly dependencies?: string[] | undefined;
7592
7636
  readonly externalId?: boolean | undefined;
7593
7637
  readonly defaultValue?: unknown;
7638
+ readonly requiredPermissions?: string[] | undefined;
7594
7639
  readonly group?: string | undefined;
7595
7640
  readonly hidden?: boolean | undefined;
7596
7641
  readonly system?: boolean | undefined;
@@ -7770,6 +7815,7 @@ declare const SysMetadataHistoryObject: Omit<{
7770
7815
  readonly dependencies?: string[] | undefined;
7771
7816
  readonly externalId?: boolean | undefined;
7772
7817
  readonly defaultValue?: unknown;
7818
+ readonly requiredPermissions?: string[] | undefined;
7773
7819
  readonly group?: string | undefined;
7774
7820
  readonly hidden?: boolean | undefined;
7775
7821
  readonly system?: boolean | undefined;
@@ -7945,6 +7991,7 @@ declare const SysMetadataHistoryObject: Omit<{
7945
7991
  readonly dependencies?: string[] | undefined;
7946
7992
  readonly externalId?: boolean | undefined;
7947
7993
  readonly defaultValue?: unknown;
7994
+ readonly requiredPermissions?: string[] | undefined;
7948
7995
  readonly group?: string | undefined;
7949
7996
  readonly hidden?: boolean | undefined;
7950
7997
  readonly system?: boolean | undefined;
@@ -8120,6 +8167,7 @@ declare const SysMetadataHistoryObject: Omit<{
8120
8167
  readonly dependencies?: string[] | undefined;
8121
8168
  readonly externalId?: boolean | undefined;
8122
8169
  readonly defaultValue?: unknown;
8170
+ readonly requiredPermissions?: string[] | undefined;
8123
8171
  readonly group?: string | undefined;
8124
8172
  readonly hidden?: boolean | undefined;
8125
8173
  readonly system?: boolean | undefined;
@@ -8295,6 +8343,7 @@ declare const SysMetadataHistoryObject: Omit<{
8295
8343
  readonly dependencies?: string[] | undefined;
8296
8344
  readonly externalId?: boolean | undefined;
8297
8345
  readonly defaultValue?: unknown;
8346
+ readonly requiredPermissions?: string[] | undefined;
8298
8347
  readonly group?: string | undefined;
8299
8348
  readonly hidden?: boolean | undefined;
8300
8349
  readonly system?: boolean | undefined;
@@ -8721,6 +8770,7 @@ declare const SysMetadataAuditObject: Omit<{
8721
8770
  generatedBy?: string | undefined;
8722
8771
  } | undefined;
8723
8772
  } | undefined;
8773
+ requiredPermissions?: string[] | undefined;
8724
8774
  system?: boolean | undefined;
8725
8775
  inlineHelpText?: string | undefined;
8726
8776
  caseSensitive?: boolean | undefined;
@@ -8796,6 +8846,10 @@ declare const SysMetadataAuditObject: Omit<{
8796
8846
  tenantField: string;
8797
8847
  crossTenantAccess: boolean;
8798
8848
  } | undefined;
8849
+ access?: {
8850
+ default: "public" | "private";
8851
+ } | undefined;
8852
+ requiredPermissions?: string[] | undefined;
8799
8853
  softDelete?: {
8800
8854
  enabled: boolean;
8801
8855
  field: string;
@@ -9162,7 +9216,7 @@ declare const SysMetadataAuditObject: Omit<{
9162
9216
  clone: boolean;
9163
9217
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
9164
9218
  } | undefined;
9165
- sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
9219
+ sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
9166
9220
  publicSharing?: {
9167
9221
  enabled: boolean;
9168
9222
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -9249,6 +9303,7 @@ declare const SysMetadataAuditObject: Omit<{
9249
9303
  generatedBy?: string | undefined;
9250
9304
  } | undefined;
9251
9305
  } | undefined;
9306
+ requiredPermissions?: string[] | undefined;
9252
9307
  shortcut?: string | undefined;
9253
9308
  bulkEnabled?: boolean | undefined;
9254
9309
  ai?: {
@@ -9313,6 +9368,7 @@ declare const SysMetadataAuditObject: Omit<{
9313
9368
  readonly dependencies?: string[] | undefined;
9314
9369
  readonly externalId?: boolean | undefined;
9315
9370
  readonly defaultValue?: unknown;
9371
+ readonly requiredPermissions?: string[] | undefined;
9316
9372
  readonly group?: string | undefined;
9317
9373
  readonly hidden?: boolean | undefined;
9318
9374
  readonly system?: boolean | undefined;
@@ -9488,6 +9544,7 @@ declare const SysMetadataAuditObject: Omit<{
9488
9544
  readonly dependencies?: string[] | undefined;
9489
9545
  readonly externalId?: boolean | undefined;
9490
9546
  readonly defaultValue?: unknown;
9547
+ readonly requiredPermissions?: string[] | undefined;
9491
9548
  readonly group?: string | undefined;
9492
9549
  readonly hidden?: boolean | undefined;
9493
9550
  readonly system?: boolean | undefined;
@@ -9663,6 +9720,7 @@ declare const SysMetadataAuditObject: Omit<{
9663
9720
  readonly dependencies?: string[] | undefined;
9664
9721
  readonly externalId?: boolean | undefined;
9665
9722
  readonly defaultValue?: unknown;
9723
+ readonly requiredPermissions?: string[] | undefined;
9666
9724
  readonly group?: string | undefined;
9667
9725
  readonly hidden?: boolean | undefined;
9668
9726
  readonly system?: boolean | undefined;
@@ -9838,6 +9896,7 @@ declare const SysMetadataAuditObject: Omit<{
9838
9896
  readonly dependencies?: string[] | undefined;
9839
9897
  readonly externalId?: boolean | undefined;
9840
9898
  readonly defaultValue?: unknown;
9899
+ readonly requiredPermissions?: string[] | undefined;
9841
9900
  readonly group?: string | undefined;
9842
9901
  readonly hidden?: boolean | undefined;
9843
9902
  readonly system?: boolean | undefined;
@@ -10013,6 +10072,7 @@ declare const SysMetadataAuditObject: Omit<{
10013
10072
  readonly dependencies?: string[] | undefined;
10014
10073
  readonly externalId?: boolean | undefined;
10015
10074
  readonly defaultValue?: unknown;
10075
+ readonly requiredPermissions?: string[] | undefined;
10016
10076
  readonly group?: string | undefined;
10017
10077
  readonly hidden?: boolean | undefined;
10018
10078
  readonly system?: boolean | undefined;
@@ -10188,6 +10248,7 @@ declare const SysMetadataAuditObject: Omit<{
10188
10248
  readonly dependencies?: string[] | undefined;
10189
10249
  readonly externalId?: boolean | undefined;
10190
10250
  readonly defaultValue?: unknown;
10251
+ readonly requiredPermissions?: string[] | undefined;
10191
10252
  readonly group?: string | undefined;
10192
10253
  readonly hidden?: boolean | undefined;
10193
10254
  readonly system?: boolean | undefined;
@@ -10363,6 +10424,7 @@ declare const SysMetadataAuditObject: Omit<{
10363
10424
  readonly dependencies?: string[] | undefined;
10364
10425
  readonly externalId?: boolean | undefined;
10365
10426
  readonly defaultValue?: unknown;
10427
+ readonly requiredPermissions?: string[] | undefined;
10366
10428
  readonly group?: string | undefined;
10367
10429
  readonly hidden?: boolean | undefined;
10368
10430
  readonly system?: boolean | undefined;
@@ -10538,6 +10600,7 @@ declare const SysMetadataAuditObject: Omit<{
10538
10600
  readonly dependencies?: string[] | undefined;
10539
10601
  readonly externalId?: boolean | undefined;
10540
10602
  readonly defaultValue?: unknown;
10603
+ readonly requiredPermissions?: string[] | undefined;
10541
10604
  readonly group?: string | undefined;
10542
10605
  readonly hidden?: boolean | undefined;
10543
10606
  readonly system?: boolean | undefined;
@@ -10713,6 +10776,7 @@ declare const SysMetadataAuditObject: Omit<{
10713
10776
  readonly dependencies?: string[] | undefined;
10714
10777
  readonly externalId?: boolean | undefined;
10715
10778
  readonly defaultValue?: unknown;
10779
+ readonly requiredPermissions?: string[] | undefined;
10716
10780
  readonly group?: string | undefined;
10717
10781
  readonly hidden?: boolean | undefined;
10718
10782
  readonly system?: boolean | undefined;
@@ -10895,6 +10959,7 @@ declare const SysMetadataAuditObject: Omit<{
10895
10959
  readonly dependencies?: string[] | undefined;
10896
10960
  readonly externalId?: boolean | undefined;
10897
10961
  readonly defaultValue?: unknown;
10962
+ readonly requiredPermissions?: string[] | undefined;
10898
10963
  readonly group?: string | undefined;
10899
10964
  readonly hidden?: boolean | undefined;
10900
10965
  readonly system?: boolean | undefined;
@@ -11075,6 +11140,7 @@ declare const SysMetadataAuditObject: Omit<{
11075
11140
  readonly dependencies?: string[] | undefined;
11076
11141
  readonly externalId?: boolean | undefined;
11077
11142
  readonly defaultValue?: unknown;
11143
+ readonly requiredPermissions?: string[] | undefined;
11078
11144
  readonly group?: string | undefined;
11079
11145
  readonly hidden?: boolean | undefined;
11080
11146
  readonly system?: boolean | undefined;
@@ -11250,6 +11316,7 @@ declare const SysMetadataAuditObject: Omit<{
11250
11316
  readonly dependencies?: string[] | undefined;
11251
11317
  readonly externalId?: boolean | undefined;
11252
11318
  readonly defaultValue?: unknown;
11319
+ readonly requiredPermissions?: string[] | undefined;
11253
11320
  readonly group?: string | undefined;
11254
11321
  readonly hidden?: boolean | undefined;
11255
11322
  readonly system?: boolean | undefined;
@@ -11425,6 +11492,7 @@ declare const SysMetadataAuditObject: Omit<{
11425
11492
  readonly dependencies?: string[] | undefined;
11426
11493
  readonly externalId?: boolean | undefined;
11427
11494
  readonly defaultValue?: unknown;
11495
+ readonly requiredPermissions?: string[] | undefined;
11428
11496
  readonly group?: string | undefined;
11429
11497
  readonly hidden?: boolean | undefined;
11430
11498
  readonly system?: boolean | undefined;
@@ -11600,6 +11668,7 @@ declare const SysMetadataAuditObject: Omit<{
11600
11668
  readonly dependencies?: string[] | undefined;
11601
11669
  readonly externalId?: boolean | undefined;
11602
11670
  readonly defaultValue?: unknown;
11671
+ readonly requiredPermissions?: string[] | undefined;
11603
11672
  readonly group?: string | undefined;
11604
11673
  readonly hidden?: boolean | undefined;
11605
11674
  readonly system?: boolean | undefined;
@@ -12013,6 +12082,7 @@ declare const SysViewDefinitionObject: Omit<{
12013
12082
  generatedBy?: string | undefined;
12014
12083
  } | undefined;
12015
12084
  } | undefined;
12085
+ requiredPermissions?: string[] | undefined;
12016
12086
  system?: boolean | undefined;
12017
12087
  inlineHelpText?: string | undefined;
12018
12088
  caseSensitive?: boolean | undefined;
@@ -12088,6 +12158,10 @@ declare const SysViewDefinitionObject: Omit<{
12088
12158
  tenantField: string;
12089
12159
  crossTenantAccess: boolean;
12090
12160
  } | undefined;
12161
+ access?: {
12162
+ default: "public" | "private";
12163
+ } | undefined;
12164
+ requiredPermissions?: string[] | undefined;
12091
12165
  softDelete?: {
12092
12166
  enabled: boolean;
12093
12167
  field: string;
@@ -12454,7 +12528,7 @@ declare const SysViewDefinitionObject: Omit<{
12454
12528
  clone: boolean;
12455
12529
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
12456
12530
  } | undefined;
12457
- sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
12531
+ sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
12458
12532
  publicSharing?: {
12459
12533
  enabled: boolean;
12460
12534
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -12541,6 +12615,7 @@ declare const SysViewDefinitionObject: Omit<{
12541
12615
  generatedBy?: string | undefined;
12542
12616
  } | undefined;
12543
12617
  } | undefined;
12618
+ requiredPermissions?: string[] | undefined;
12544
12619
  shortcut?: string | undefined;
12545
12620
  bulkEnabled?: boolean | undefined;
12546
12621
  ai?: {
@@ -12604,6 +12679,7 @@ declare const SysViewDefinitionObject: Omit<{
12604
12679
  readonly dependencies?: string[] | undefined;
12605
12680
  readonly externalId?: boolean | undefined;
12606
12681
  readonly defaultValue?: unknown;
12682
+ readonly requiredPermissions?: string[] | undefined;
12607
12683
  readonly group?: string | undefined;
12608
12684
  readonly hidden?: boolean | undefined;
12609
12685
  readonly system?: boolean | undefined;
@@ -12783,6 +12859,7 @@ declare const SysViewDefinitionObject: Omit<{
12783
12859
  readonly dependencies?: string[] | undefined;
12784
12860
  readonly externalId?: boolean | undefined;
12785
12861
  readonly defaultValue?: unknown;
12862
+ readonly requiredPermissions?: string[] | undefined;
12786
12863
  readonly group?: string | undefined;
12787
12864
  readonly hidden?: boolean | undefined;
12788
12865
  readonly system?: boolean | undefined;
@@ -12958,6 +13035,7 @@ declare const SysViewDefinitionObject: Omit<{
12958
13035
  readonly dependencies?: string[] | undefined;
12959
13036
  readonly externalId?: boolean | undefined;
12960
13037
  readonly defaultValue?: unknown;
13038
+ readonly requiredPermissions?: string[] | undefined;
12961
13039
  readonly group?: string | undefined;
12962
13040
  readonly hidden?: boolean | undefined;
12963
13041
  readonly system?: boolean | undefined;
@@ -13133,6 +13211,7 @@ declare const SysViewDefinitionObject: Omit<{
13133
13211
  readonly dependencies?: string[] | undefined;
13134
13212
  readonly externalId?: boolean | undefined;
13135
13213
  readonly defaultValue?: unknown;
13214
+ readonly requiredPermissions?: string[] | undefined;
13136
13215
  readonly group?: string | undefined;
13137
13216
  readonly hidden?: boolean | undefined;
13138
13217
  readonly system?: boolean | undefined;
@@ -13308,6 +13387,7 @@ declare const SysViewDefinitionObject: Omit<{
13308
13387
  readonly dependencies?: string[] | undefined;
13309
13388
  readonly externalId?: boolean | undefined;
13310
13389
  readonly defaultValue?: unknown;
13390
+ readonly requiredPermissions?: string[] | undefined;
13311
13391
  readonly group?: string | undefined;
13312
13392
  readonly hidden?: boolean | undefined;
13313
13393
  readonly system?: boolean | undefined;
@@ -13483,6 +13563,7 @@ declare const SysViewDefinitionObject: Omit<{
13483
13563
  readonly dependencies?: string[] | undefined;
13484
13564
  readonly externalId?: boolean | undefined;
13485
13565
  readonly defaultValue?: unknown;
13566
+ readonly requiredPermissions?: string[] | undefined;
13486
13567
  readonly group?: string | undefined;
13487
13568
  readonly hidden?: boolean | undefined;
13488
13569
  readonly system?: boolean | undefined;
@@ -13658,6 +13739,7 @@ declare const SysViewDefinitionObject: Omit<{
13658
13739
  readonly dependencies?: string[] | undefined;
13659
13740
  readonly externalId?: boolean | undefined;
13660
13741
  readonly defaultValue?: unknown;
13742
+ readonly requiredPermissions?: string[] | undefined;
13661
13743
  readonly group?: string | undefined;
13662
13744
  readonly hidden?: boolean | undefined;
13663
13745
  readonly system?: boolean | undefined;
@@ -13836,6 +13918,7 @@ declare const SysViewDefinitionObject: Omit<{
13836
13918
  readonly dependencies?: string[] | undefined;
13837
13919
  readonly externalId?: boolean | undefined;
13838
13920
  readonly defaultValue?: unknown;
13921
+ readonly requiredPermissions?: string[] | undefined;
13839
13922
  readonly group?: string | undefined;
13840
13923
  readonly hidden?: boolean | undefined;
13841
13924
  readonly system?: boolean | undefined;
@@ -14011,6 +14094,7 @@ declare const SysViewDefinitionObject: Omit<{
14011
14094
  readonly dependencies?: string[] | undefined;
14012
14095
  readonly externalId?: boolean | undefined;
14013
14096
  readonly defaultValue?: unknown;
14097
+ readonly requiredPermissions?: string[] | undefined;
14014
14098
  readonly group?: string | undefined;
14015
14099
  readonly hidden?: boolean | undefined;
14016
14100
  readonly system?: boolean | undefined;
@@ -14186,6 +14270,7 @@ declare const SysViewDefinitionObject: Omit<{
14186
14270
  readonly dependencies?: string[] | undefined;
14187
14271
  readonly externalId?: boolean | undefined;
14188
14272
  readonly defaultValue?: unknown;
14273
+ readonly requiredPermissions?: string[] | undefined;
14189
14274
  readonly group?: string | undefined;
14190
14275
  readonly hidden?: boolean | undefined;
14191
14276
  readonly system?: boolean | undefined;
@@ -14361,6 +14446,7 @@ declare const SysViewDefinitionObject: Omit<{
14361
14446
  readonly dependencies?: string[] | undefined;
14362
14447
  readonly externalId?: boolean | undefined;
14363
14448
  readonly defaultValue?: unknown;
14449
+ readonly requiredPermissions?: string[] | undefined;
14364
14450
  readonly group?: string | undefined;
14365
14451
  readonly hidden?: boolean | undefined;
14366
14452
  readonly system?: boolean | undefined;
@@ -14536,6 +14622,7 @@ declare const SysViewDefinitionObject: Omit<{
14536
14622
  readonly dependencies?: string[] | undefined;
14537
14623
  readonly externalId?: boolean | undefined;
14538
14624
  readonly defaultValue?: unknown;
14625
+ readonly requiredPermissions?: string[] | undefined;
14539
14626
  readonly group?: string | undefined;
14540
14627
  readonly hidden?: boolean | undefined;
14541
14628
  readonly system?: boolean | undefined;
@@ -14711,6 +14798,7 @@ declare const SysViewDefinitionObject: Omit<{
14711
14798
  readonly dependencies?: string[] | undefined;
14712
14799
  readonly externalId?: boolean | undefined;
14713
14800
  readonly defaultValue?: unknown;
14801
+ readonly requiredPermissions?: string[] | undefined;
14714
14802
  readonly group?: string | undefined;
14715
14803
  readonly hidden?: boolean | undefined;
14716
14804
  readonly system?: boolean | undefined;
@@ -14886,6 +14974,7 @@ declare const SysViewDefinitionObject: Omit<{
14886
14974
  readonly dependencies?: string[] | undefined;
14887
14975
  readonly externalId?: boolean | undefined;
14888
14976
  readonly defaultValue?: unknown;
14977
+ readonly requiredPermissions?: string[] | undefined;
14889
14978
  readonly group?: string | undefined;
14890
14979
  readonly hidden?: boolean | undefined;
14891
14980
  readonly system?: boolean | undefined;
@@ -15060,6 +15149,7 @@ declare const SysViewDefinitionObject: Omit<{
15060
15149
  readonly dependencies?: string[] | undefined;
15061
15150
  readonly externalId?: boolean | undefined;
15062
15151
  readonly defaultValue?: unknown;
15152
+ readonly requiredPermissions?: string[] | undefined;
15063
15153
  readonly group?: string | undefined;
15064
15154
  readonly hidden?: boolean | undefined;
15065
15155
  readonly system?: boolean | undefined;
@@ -15234,6 +15324,7 @@ declare const SysViewDefinitionObject: Omit<{
15234
15324
  readonly dependencies?: string[] | undefined;
15235
15325
  readonly externalId?: boolean | undefined;
15236
15326
  readonly defaultValue?: unknown;
15327
+ readonly requiredPermissions?: string[] | undefined;
15237
15328
  readonly group?: string | undefined;
15238
15329
  readonly hidden?: boolean | undefined;
15239
15330
  readonly system?: boolean | undefined;
@@ -15408,6 +15499,7 @@ declare const SysViewDefinitionObject: Omit<{
15408
15499
  readonly dependencies?: string[] | undefined;
15409
15500
  readonly externalId?: boolean | undefined;
15410
15501
  readonly defaultValue?: unknown;
15502
+ readonly requiredPermissions?: string[] | undefined;
15411
15503
  readonly group?: string | undefined;
15412
15504
  readonly hidden?: boolean | undefined;
15413
15505
  readonly system?: boolean | undefined;
package/dist/index.d.ts CHANGED
@@ -475,6 +475,7 @@ declare const SysMetadataObject: Omit<{
475
475
  generatedBy?: string | undefined;
476
476
  } | undefined;
477
477
  } | undefined;
478
+ requiredPermissions?: string[] | undefined;
478
479
  system?: boolean | undefined;
479
480
  inlineHelpText?: string | undefined;
480
481
  caseSensitive?: boolean | undefined;
@@ -550,6 +551,10 @@ declare const SysMetadataObject: Omit<{
550
551
  tenantField: string;
551
552
  crossTenantAccess: boolean;
552
553
  } | undefined;
554
+ access?: {
555
+ default: "public" | "private";
556
+ } | undefined;
557
+ requiredPermissions?: string[] | undefined;
553
558
  softDelete?: {
554
559
  enabled: boolean;
555
560
  field: string;
@@ -916,7 +921,7 @@ declare const SysMetadataObject: Omit<{
916
921
  clone: boolean;
917
922
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
918
923
  } | undefined;
919
- sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
924
+ sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
920
925
  publicSharing?: {
921
926
  enabled: boolean;
922
927
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -1003,6 +1008,7 @@ declare const SysMetadataObject: Omit<{
1003
1008
  generatedBy?: string | undefined;
1004
1009
  } | undefined;
1005
1010
  } | undefined;
1011
+ requiredPermissions?: string[] | undefined;
1006
1012
  shortcut?: string | undefined;
1007
1013
  bulkEnabled?: boolean | undefined;
1008
1014
  ai?: {
@@ -1067,6 +1073,7 @@ declare const SysMetadataObject: Omit<{
1067
1073
  readonly dependencies?: string[] | undefined;
1068
1074
  readonly externalId?: boolean | undefined;
1069
1075
  readonly defaultValue?: unknown;
1076
+ readonly requiredPermissions?: string[] | undefined;
1070
1077
  readonly group?: string | undefined;
1071
1078
  readonly hidden?: boolean | undefined;
1072
1079
  readonly system?: boolean | undefined;
@@ -1242,6 +1249,7 @@ declare const SysMetadataObject: Omit<{
1242
1249
  readonly dependencies?: string[] | undefined;
1243
1250
  readonly externalId?: boolean | undefined;
1244
1251
  readonly defaultValue?: unknown;
1252
+ readonly requiredPermissions?: string[] | undefined;
1245
1253
  readonly group?: string | undefined;
1246
1254
  readonly hidden?: boolean | undefined;
1247
1255
  readonly system?: boolean | undefined;
@@ -1417,6 +1425,7 @@ declare const SysMetadataObject: Omit<{
1417
1425
  readonly dependencies?: string[] | undefined;
1418
1426
  readonly externalId?: boolean | undefined;
1419
1427
  readonly defaultValue?: unknown;
1428
+ readonly requiredPermissions?: string[] | undefined;
1420
1429
  readonly group?: string | undefined;
1421
1430
  readonly hidden?: boolean | undefined;
1422
1431
  readonly system?: boolean | undefined;
@@ -1592,6 +1601,7 @@ declare const SysMetadataObject: Omit<{
1592
1601
  readonly dependencies?: string[] | undefined;
1593
1602
  readonly externalId?: boolean | undefined;
1594
1603
  readonly defaultValue?: unknown;
1604
+ readonly requiredPermissions?: string[] | undefined;
1595
1605
  readonly group?: string | undefined;
1596
1606
  readonly hidden?: boolean | undefined;
1597
1607
  readonly system?: boolean | undefined;
@@ -1767,6 +1777,7 @@ declare const SysMetadataObject: Omit<{
1767
1777
  readonly dependencies?: string[] | undefined;
1768
1778
  readonly externalId?: boolean | undefined;
1769
1779
  readonly defaultValue?: unknown;
1780
+ readonly requiredPermissions?: string[] | undefined;
1770
1781
  readonly group?: string | undefined;
1771
1782
  readonly hidden?: boolean | undefined;
1772
1783
  readonly system?: boolean | undefined;
@@ -1945,6 +1956,7 @@ declare const SysMetadataObject: Omit<{
1945
1956
  readonly dependencies?: string[] | undefined;
1946
1957
  readonly externalId?: boolean | undefined;
1947
1958
  readonly defaultValue?: unknown;
1959
+ readonly requiredPermissions?: string[] | undefined;
1948
1960
  readonly group?: string | undefined;
1949
1961
  readonly hidden?: boolean | undefined;
1950
1962
  readonly system?: boolean | undefined;
@@ -2120,6 +2132,7 @@ declare const SysMetadataObject: Omit<{
2120
2132
  readonly dependencies?: string[] | undefined;
2121
2133
  readonly externalId?: boolean | undefined;
2122
2134
  readonly defaultValue?: unknown;
2135
+ readonly requiredPermissions?: string[] | undefined;
2123
2136
  readonly group?: string | undefined;
2124
2137
  readonly hidden?: boolean | undefined;
2125
2138
  readonly system?: boolean | undefined;
@@ -2295,6 +2308,7 @@ declare const SysMetadataObject: Omit<{
2295
2308
  readonly dependencies?: string[] | undefined;
2296
2309
  readonly externalId?: boolean | undefined;
2297
2310
  readonly defaultValue?: unknown;
2311
+ readonly requiredPermissions?: string[] | undefined;
2298
2312
  readonly group?: string | undefined;
2299
2313
  readonly hidden?: boolean | undefined;
2300
2314
  readonly system?: boolean | undefined;
@@ -2470,6 +2484,7 @@ declare const SysMetadataObject: Omit<{
2470
2484
  readonly dependencies?: string[] | undefined;
2471
2485
  readonly externalId?: boolean | undefined;
2472
2486
  readonly defaultValue?: unknown;
2487
+ readonly requiredPermissions?: string[] | undefined;
2473
2488
  readonly group?: string | undefined;
2474
2489
  readonly hidden?: boolean | undefined;
2475
2490
  readonly system?: boolean | undefined;
@@ -2645,6 +2660,7 @@ declare const SysMetadataObject: Omit<{
2645
2660
  readonly dependencies?: string[] | undefined;
2646
2661
  readonly externalId?: boolean | undefined;
2647
2662
  readonly defaultValue?: unknown;
2663
+ readonly requiredPermissions?: string[] | undefined;
2648
2664
  readonly group?: string | undefined;
2649
2665
  readonly hidden?: boolean | undefined;
2650
2666
  readonly system?: boolean | undefined;
@@ -2820,6 +2836,7 @@ declare const SysMetadataObject: Omit<{
2820
2836
  readonly dependencies?: string[] | undefined;
2821
2837
  readonly externalId?: boolean | undefined;
2822
2838
  readonly defaultValue?: unknown;
2839
+ readonly requiredPermissions?: string[] | undefined;
2823
2840
  readonly group?: string | undefined;
2824
2841
  readonly hidden?: boolean | undefined;
2825
2842
  readonly system?: boolean | undefined;
@@ -2995,6 +3012,7 @@ declare const SysMetadataObject: Omit<{
2995
3012
  readonly dependencies?: string[] | undefined;
2996
3013
  readonly externalId?: boolean | undefined;
2997
3014
  readonly defaultValue?: unknown;
3015
+ readonly requiredPermissions?: string[] | undefined;
2998
3016
  readonly group?: string | undefined;
2999
3017
  readonly hidden?: boolean | undefined;
3000
3018
  readonly system?: boolean | undefined;
@@ -3170,6 +3188,7 @@ declare const SysMetadataObject: Omit<{
3170
3188
  readonly dependencies?: string[] | undefined;
3171
3189
  readonly externalId?: boolean | undefined;
3172
3190
  readonly defaultValue?: unknown;
3191
+ readonly requiredPermissions?: string[] | undefined;
3173
3192
  readonly group?: string | undefined;
3174
3193
  readonly hidden?: boolean | undefined;
3175
3194
  readonly system?: boolean | undefined;
@@ -3345,6 +3364,7 @@ declare const SysMetadataObject: Omit<{
3345
3364
  readonly dependencies?: string[] | undefined;
3346
3365
  readonly externalId?: boolean | undefined;
3347
3366
  readonly defaultValue?: unknown;
3367
+ readonly requiredPermissions?: string[] | undefined;
3348
3368
  readonly group?: string | undefined;
3349
3369
  readonly hidden?: boolean | undefined;
3350
3370
  readonly system?: boolean | undefined;
@@ -3525,6 +3545,7 @@ declare const SysMetadataObject: Omit<{
3525
3545
  readonly dependencies?: string[] | undefined;
3526
3546
  readonly externalId?: boolean | undefined;
3527
3547
  readonly defaultValue?: unknown;
3548
+ readonly requiredPermissions?: string[] | undefined;
3528
3549
  readonly group?: string | undefined;
3529
3550
  readonly hidden?: boolean | undefined;
3530
3551
  readonly system?: boolean | undefined;
@@ -3700,6 +3721,7 @@ declare const SysMetadataObject: Omit<{
3700
3721
  readonly dependencies?: string[] | undefined;
3701
3722
  readonly externalId?: boolean | undefined;
3702
3723
  readonly defaultValue?: unknown;
3724
+ readonly requiredPermissions?: string[] | undefined;
3703
3725
  readonly group?: string | undefined;
3704
3726
  readonly hidden?: boolean | undefined;
3705
3727
  readonly system?: boolean | undefined;
@@ -3875,6 +3897,7 @@ declare const SysMetadataObject: Omit<{
3875
3897
  readonly dependencies?: string[] | undefined;
3876
3898
  readonly externalId?: boolean | undefined;
3877
3899
  readonly defaultValue?: unknown;
3900
+ readonly requiredPermissions?: string[] | undefined;
3878
3901
  readonly group?: string | undefined;
3879
3902
  readonly hidden?: boolean | undefined;
3880
3903
  readonly system?: boolean | undefined;
@@ -4050,6 +4073,7 @@ declare const SysMetadataObject: Omit<{
4050
4073
  readonly dependencies?: string[] | undefined;
4051
4074
  readonly externalId?: boolean | undefined;
4052
4075
  readonly defaultValue?: unknown;
4076
+ readonly requiredPermissions?: string[] | undefined;
4053
4077
  readonly group?: string | undefined;
4054
4078
  readonly hidden?: boolean | undefined;
4055
4079
  readonly system?: boolean | undefined;
@@ -4225,6 +4249,7 @@ declare const SysMetadataObject: Omit<{
4225
4249
  readonly dependencies?: string[] | undefined;
4226
4250
  readonly externalId?: boolean | undefined;
4227
4251
  readonly defaultValue?: unknown;
4252
+ readonly requiredPermissions?: string[] | undefined;
4228
4253
  readonly group?: string | undefined;
4229
4254
  readonly hidden?: boolean | undefined;
4230
4255
  readonly system?: boolean | undefined;
@@ -4400,6 +4425,7 @@ declare const SysMetadataObject: Omit<{
4400
4425
  readonly dependencies?: string[] | undefined;
4401
4426
  readonly externalId?: boolean | undefined;
4402
4427
  readonly defaultValue?: unknown;
4428
+ readonly requiredPermissions?: string[] | undefined;
4403
4429
  readonly group?: string | undefined;
4404
4430
  readonly hidden?: boolean | undefined;
4405
4431
  readonly system?: boolean | undefined;
@@ -4574,6 +4600,7 @@ declare const SysMetadataObject: Omit<{
4574
4600
  readonly dependencies?: string[] | undefined;
4575
4601
  readonly externalId?: boolean | undefined;
4576
4602
  readonly defaultValue?: unknown;
4603
+ readonly requiredPermissions?: string[] | undefined;
4577
4604
  readonly group?: string | undefined;
4578
4605
  readonly hidden?: boolean | undefined;
4579
4606
  readonly system?: boolean | undefined;
@@ -4748,6 +4775,7 @@ declare const SysMetadataObject: Omit<{
4748
4775
  readonly dependencies?: string[] | undefined;
4749
4776
  readonly externalId?: boolean | undefined;
4750
4777
  readonly defaultValue?: unknown;
4778
+ readonly requiredPermissions?: string[] | undefined;
4751
4779
  readonly group?: string | undefined;
4752
4780
  readonly hidden?: boolean | undefined;
4753
4781
  readonly system?: boolean | undefined;
@@ -4922,6 +4950,7 @@ declare const SysMetadataObject: Omit<{
4922
4950
  readonly dependencies?: string[] | undefined;
4923
4951
  readonly externalId?: boolean | undefined;
4924
4952
  readonly defaultValue?: unknown;
4953
+ readonly requiredPermissions?: string[] | undefined;
4925
4954
  readonly group?: string | undefined;
4926
4955
  readonly hidden?: boolean | undefined;
4927
4956
  readonly system?: boolean | undefined;
@@ -5421,6 +5450,7 @@ declare const SysMetadataHistoryObject: Omit<{
5421
5450
  generatedBy?: string | undefined;
5422
5451
  } | undefined;
5423
5452
  } | undefined;
5453
+ requiredPermissions?: string[] | undefined;
5424
5454
  system?: boolean | undefined;
5425
5455
  inlineHelpText?: string | undefined;
5426
5456
  caseSensitive?: boolean | undefined;
@@ -5496,6 +5526,10 @@ declare const SysMetadataHistoryObject: Omit<{
5496
5526
  tenantField: string;
5497
5527
  crossTenantAccess: boolean;
5498
5528
  } | undefined;
5529
+ access?: {
5530
+ default: "public" | "private";
5531
+ } | undefined;
5532
+ requiredPermissions?: string[] | undefined;
5499
5533
  softDelete?: {
5500
5534
  enabled: boolean;
5501
5535
  field: string;
@@ -5862,7 +5896,7 @@ declare const SysMetadataHistoryObject: Omit<{
5862
5896
  clone: boolean;
5863
5897
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
5864
5898
  } | undefined;
5865
- sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
5899
+ sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
5866
5900
  publicSharing?: {
5867
5901
  enabled: boolean;
5868
5902
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -5949,6 +5983,7 @@ declare const SysMetadataHistoryObject: Omit<{
5949
5983
  generatedBy?: string | undefined;
5950
5984
  } | undefined;
5951
5985
  } | undefined;
5986
+ requiredPermissions?: string[] | undefined;
5952
5987
  shortcut?: string | undefined;
5953
5988
  bulkEnabled?: boolean | undefined;
5954
5989
  ai?: {
@@ -6013,6 +6048,7 @@ declare const SysMetadataHistoryObject: Omit<{
6013
6048
  readonly dependencies?: string[] | undefined;
6014
6049
  readonly externalId?: boolean | undefined;
6015
6050
  readonly defaultValue?: unknown;
6051
+ readonly requiredPermissions?: string[] | undefined;
6016
6052
  readonly group?: string | undefined;
6017
6053
  readonly hidden?: boolean | undefined;
6018
6054
  readonly system?: boolean | undefined;
@@ -6188,6 +6224,7 @@ declare const SysMetadataHistoryObject: Omit<{
6188
6224
  readonly dependencies?: string[] | undefined;
6189
6225
  readonly externalId?: boolean | undefined;
6190
6226
  readonly defaultValue?: unknown;
6227
+ readonly requiredPermissions?: string[] | undefined;
6191
6228
  readonly group?: string | undefined;
6192
6229
  readonly hidden?: boolean | undefined;
6193
6230
  readonly system?: boolean | undefined;
@@ -6363,6 +6400,7 @@ declare const SysMetadataHistoryObject: Omit<{
6363
6400
  readonly dependencies?: string[] | undefined;
6364
6401
  readonly externalId?: boolean | undefined;
6365
6402
  readonly defaultValue?: unknown;
6403
+ readonly requiredPermissions?: string[] | undefined;
6366
6404
  readonly group?: string | undefined;
6367
6405
  readonly hidden?: boolean | undefined;
6368
6406
  readonly system?: boolean | undefined;
@@ -6538,6 +6576,7 @@ declare const SysMetadataHistoryObject: Omit<{
6538
6576
  readonly dependencies?: string[] | undefined;
6539
6577
  readonly externalId?: boolean | undefined;
6540
6578
  readonly defaultValue?: unknown;
6579
+ readonly requiredPermissions?: string[] | undefined;
6541
6580
  readonly group?: string | undefined;
6542
6581
  readonly hidden?: boolean | undefined;
6543
6582
  readonly system?: boolean | undefined;
@@ -6713,6 +6752,7 @@ declare const SysMetadataHistoryObject: Omit<{
6713
6752
  readonly dependencies?: string[] | undefined;
6714
6753
  readonly externalId?: boolean | undefined;
6715
6754
  readonly defaultValue?: unknown;
6755
+ readonly requiredPermissions?: string[] | undefined;
6716
6756
  readonly group?: string | undefined;
6717
6757
  readonly hidden?: boolean | undefined;
6718
6758
  readonly system?: boolean | undefined;
@@ -6888,6 +6928,7 @@ declare const SysMetadataHistoryObject: Omit<{
6888
6928
  readonly dependencies?: string[] | undefined;
6889
6929
  readonly externalId?: boolean | undefined;
6890
6930
  readonly defaultValue?: unknown;
6931
+ readonly requiredPermissions?: string[] | undefined;
6891
6932
  readonly group?: string | undefined;
6892
6933
  readonly hidden?: boolean | undefined;
6893
6934
  readonly system?: boolean | undefined;
@@ -7066,6 +7107,7 @@ declare const SysMetadataHistoryObject: Omit<{
7066
7107
  readonly dependencies?: string[] | undefined;
7067
7108
  readonly externalId?: boolean | undefined;
7068
7109
  readonly defaultValue?: unknown;
7110
+ readonly requiredPermissions?: string[] | undefined;
7069
7111
  readonly group?: string | undefined;
7070
7112
  readonly hidden?: boolean | undefined;
7071
7113
  readonly system?: boolean | undefined;
@@ -7241,6 +7283,7 @@ declare const SysMetadataHistoryObject: Omit<{
7241
7283
  readonly dependencies?: string[] | undefined;
7242
7284
  readonly externalId?: boolean | undefined;
7243
7285
  readonly defaultValue?: unknown;
7286
+ readonly requiredPermissions?: string[] | undefined;
7244
7287
  readonly group?: string | undefined;
7245
7288
  readonly hidden?: boolean | undefined;
7246
7289
  readonly system?: boolean | undefined;
@@ -7416,6 +7459,7 @@ declare const SysMetadataHistoryObject: Omit<{
7416
7459
  readonly dependencies?: string[] | undefined;
7417
7460
  readonly externalId?: boolean | undefined;
7418
7461
  readonly defaultValue?: unknown;
7462
+ readonly requiredPermissions?: string[] | undefined;
7419
7463
  readonly group?: string | undefined;
7420
7464
  readonly hidden?: boolean | undefined;
7421
7465
  readonly system?: boolean | undefined;
@@ -7591,6 +7635,7 @@ declare const SysMetadataHistoryObject: Omit<{
7591
7635
  readonly dependencies?: string[] | undefined;
7592
7636
  readonly externalId?: boolean | undefined;
7593
7637
  readonly defaultValue?: unknown;
7638
+ readonly requiredPermissions?: string[] | undefined;
7594
7639
  readonly group?: string | undefined;
7595
7640
  readonly hidden?: boolean | undefined;
7596
7641
  readonly system?: boolean | undefined;
@@ -7770,6 +7815,7 @@ declare const SysMetadataHistoryObject: Omit<{
7770
7815
  readonly dependencies?: string[] | undefined;
7771
7816
  readonly externalId?: boolean | undefined;
7772
7817
  readonly defaultValue?: unknown;
7818
+ readonly requiredPermissions?: string[] | undefined;
7773
7819
  readonly group?: string | undefined;
7774
7820
  readonly hidden?: boolean | undefined;
7775
7821
  readonly system?: boolean | undefined;
@@ -7945,6 +7991,7 @@ declare const SysMetadataHistoryObject: Omit<{
7945
7991
  readonly dependencies?: string[] | undefined;
7946
7992
  readonly externalId?: boolean | undefined;
7947
7993
  readonly defaultValue?: unknown;
7994
+ readonly requiredPermissions?: string[] | undefined;
7948
7995
  readonly group?: string | undefined;
7949
7996
  readonly hidden?: boolean | undefined;
7950
7997
  readonly system?: boolean | undefined;
@@ -8120,6 +8167,7 @@ declare const SysMetadataHistoryObject: Omit<{
8120
8167
  readonly dependencies?: string[] | undefined;
8121
8168
  readonly externalId?: boolean | undefined;
8122
8169
  readonly defaultValue?: unknown;
8170
+ readonly requiredPermissions?: string[] | undefined;
8123
8171
  readonly group?: string | undefined;
8124
8172
  readonly hidden?: boolean | undefined;
8125
8173
  readonly system?: boolean | undefined;
@@ -8295,6 +8343,7 @@ declare const SysMetadataHistoryObject: Omit<{
8295
8343
  readonly dependencies?: string[] | undefined;
8296
8344
  readonly externalId?: boolean | undefined;
8297
8345
  readonly defaultValue?: unknown;
8346
+ readonly requiredPermissions?: string[] | undefined;
8298
8347
  readonly group?: string | undefined;
8299
8348
  readonly hidden?: boolean | undefined;
8300
8349
  readonly system?: boolean | undefined;
@@ -8721,6 +8770,7 @@ declare const SysMetadataAuditObject: Omit<{
8721
8770
  generatedBy?: string | undefined;
8722
8771
  } | undefined;
8723
8772
  } | undefined;
8773
+ requiredPermissions?: string[] | undefined;
8724
8774
  system?: boolean | undefined;
8725
8775
  inlineHelpText?: string | undefined;
8726
8776
  caseSensitive?: boolean | undefined;
@@ -8796,6 +8846,10 @@ declare const SysMetadataAuditObject: Omit<{
8796
8846
  tenantField: string;
8797
8847
  crossTenantAccess: boolean;
8798
8848
  } | undefined;
8849
+ access?: {
8850
+ default: "public" | "private";
8851
+ } | undefined;
8852
+ requiredPermissions?: string[] | undefined;
8799
8853
  softDelete?: {
8800
8854
  enabled: boolean;
8801
8855
  field: string;
@@ -9162,7 +9216,7 @@ declare const SysMetadataAuditObject: Omit<{
9162
9216
  clone: boolean;
9163
9217
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
9164
9218
  } | undefined;
9165
- sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
9219
+ sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
9166
9220
  publicSharing?: {
9167
9221
  enabled: boolean;
9168
9222
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -9249,6 +9303,7 @@ declare const SysMetadataAuditObject: Omit<{
9249
9303
  generatedBy?: string | undefined;
9250
9304
  } | undefined;
9251
9305
  } | undefined;
9306
+ requiredPermissions?: string[] | undefined;
9252
9307
  shortcut?: string | undefined;
9253
9308
  bulkEnabled?: boolean | undefined;
9254
9309
  ai?: {
@@ -9313,6 +9368,7 @@ declare const SysMetadataAuditObject: Omit<{
9313
9368
  readonly dependencies?: string[] | undefined;
9314
9369
  readonly externalId?: boolean | undefined;
9315
9370
  readonly defaultValue?: unknown;
9371
+ readonly requiredPermissions?: string[] | undefined;
9316
9372
  readonly group?: string | undefined;
9317
9373
  readonly hidden?: boolean | undefined;
9318
9374
  readonly system?: boolean | undefined;
@@ -9488,6 +9544,7 @@ declare const SysMetadataAuditObject: Omit<{
9488
9544
  readonly dependencies?: string[] | undefined;
9489
9545
  readonly externalId?: boolean | undefined;
9490
9546
  readonly defaultValue?: unknown;
9547
+ readonly requiredPermissions?: string[] | undefined;
9491
9548
  readonly group?: string | undefined;
9492
9549
  readonly hidden?: boolean | undefined;
9493
9550
  readonly system?: boolean | undefined;
@@ -9663,6 +9720,7 @@ declare const SysMetadataAuditObject: Omit<{
9663
9720
  readonly dependencies?: string[] | undefined;
9664
9721
  readonly externalId?: boolean | undefined;
9665
9722
  readonly defaultValue?: unknown;
9723
+ readonly requiredPermissions?: string[] | undefined;
9666
9724
  readonly group?: string | undefined;
9667
9725
  readonly hidden?: boolean | undefined;
9668
9726
  readonly system?: boolean | undefined;
@@ -9838,6 +9896,7 @@ declare const SysMetadataAuditObject: Omit<{
9838
9896
  readonly dependencies?: string[] | undefined;
9839
9897
  readonly externalId?: boolean | undefined;
9840
9898
  readonly defaultValue?: unknown;
9899
+ readonly requiredPermissions?: string[] | undefined;
9841
9900
  readonly group?: string | undefined;
9842
9901
  readonly hidden?: boolean | undefined;
9843
9902
  readonly system?: boolean | undefined;
@@ -10013,6 +10072,7 @@ declare const SysMetadataAuditObject: Omit<{
10013
10072
  readonly dependencies?: string[] | undefined;
10014
10073
  readonly externalId?: boolean | undefined;
10015
10074
  readonly defaultValue?: unknown;
10075
+ readonly requiredPermissions?: string[] | undefined;
10016
10076
  readonly group?: string | undefined;
10017
10077
  readonly hidden?: boolean | undefined;
10018
10078
  readonly system?: boolean | undefined;
@@ -10188,6 +10248,7 @@ declare const SysMetadataAuditObject: Omit<{
10188
10248
  readonly dependencies?: string[] | undefined;
10189
10249
  readonly externalId?: boolean | undefined;
10190
10250
  readonly defaultValue?: unknown;
10251
+ readonly requiredPermissions?: string[] | undefined;
10191
10252
  readonly group?: string | undefined;
10192
10253
  readonly hidden?: boolean | undefined;
10193
10254
  readonly system?: boolean | undefined;
@@ -10363,6 +10424,7 @@ declare const SysMetadataAuditObject: Omit<{
10363
10424
  readonly dependencies?: string[] | undefined;
10364
10425
  readonly externalId?: boolean | undefined;
10365
10426
  readonly defaultValue?: unknown;
10427
+ readonly requiredPermissions?: string[] | undefined;
10366
10428
  readonly group?: string | undefined;
10367
10429
  readonly hidden?: boolean | undefined;
10368
10430
  readonly system?: boolean | undefined;
@@ -10538,6 +10600,7 @@ declare const SysMetadataAuditObject: Omit<{
10538
10600
  readonly dependencies?: string[] | undefined;
10539
10601
  readonly externalId?: boolean | undefined;
10540
10602
  readonly defaultValue?: unknown;
10603
+ readonly requiredPermissions?: string[] | undefined;
10541
10604
  readonly group?: string | undefined;
10542
10605
  readonly hidden?: boolean | undefined;
10543
10606
  readonly system?: boolean | undefined;
@@ -10713,6 +10776,7 @@ declare const SysMetadataAuditObject: Omit<{
10713
10776
  readonly dependencies?: string[] | undefined;
10714
10777
  readonly externalId?: boolean | undefined;
10715
10778
  readonly defaultValue?: unknown;
10779
+ readonly requiredPermissions?: string[] | undefined;
10716
10780
  readonly group?: string | undefined;
10717
10781
  readonly hidden?: boolean | undefined;
10718
10782
  readonly system?: boolean | undefined;
@@ -10895,6 +10959,7 @@ declare const SysMetadataAuditObject: Omit<{
10895
10959
  readonly dependencies?: string[] | undefined;
10896
10960
  readonly externalId?: boolean | undefined;
10897
10961
  readonly defaultValue?: unknown;
10962
+ readonly requiredPermissions?: string[] | undefined;
10898
10963
  readonly group?: string | undefined;
10899
10964
  readonly hidden?: boolean | undefined;
10900
10965
  readonly system?: boolean | undefined;
@@ -11075,6 +11140,7 @@ declare const SysMetadataAuditObject: Omit<{
11075
11140
  readonly dependencies?: string[] | undefined;
11076
11141
  readonly externalId?: boolean | undefined;
11077
11142
  readonly defaultValue?: unknown;
11143
+ readonly requiredPermissions?: string[] | undefined;
11078
11144
  readonly group?: string | undefined;
11079
11145
  readonly hidden?: boolean | undefined;
11080
11146
  readonly system?: boolean | undefined;
@@ -11250,6 +11316,7 @@ declare const SysMetadataAuditObject: Omit<{
11250
11316
  readonly dependencies?: string[] | undefined;
11251
11317
  readonly externalId?: boolean | undefined;
11252
11318
  readonly defaultValue?: unknown;
11319
+ readonly requiredPermissions?: string[] | undefined;
11253
11320
  readonly group?: string | undefined;
11254
11321
  readonly hidden?: boolean | undefined;
11255
11322
  readonly system?: boolean | undefined;
@@ -11425,6 +11492,7 @@ declare const SysMetadataAuditObject: Omit<{
11425
11492
  readonly dependencies?: string[] | undefined;
11426
11493
  readonly externalId?: boolean | undefined;
11427
11494
  readonly defaultValue?: unknown;
11495
+ readonly requiredPermissions?: string[] | undefined;
11428
11496
  readonly group?: string | undefined;
11429
11497
  readonly hidden?: boolean | undefined;
11430
11498
  readonly system?: boolean | undefined;
@@ -11600,6 +11668,7 @@ declare const SysMetadataAuditObject: Omit<{
11600
11668
  readonly dependencies?: string[] | undefined;
11601
11669
  readonly externalId?: boolean | undefined;
11602
11670
  readonly defaultValue?: unknown;
11671
+ readonly requiredPermissions?: string[] | undefined;
11603
11672
  readonly group?: string | undefined;
11604
11673
  readonly hidden?: boolean | undefined;
11605
11674
  readonly system?: boolean | undefined;
@@ -12013,6 +12082,7 @@ declare const SysViewDefinitionObject: Omit<{
12013
12082
  generatedBy?: string | undefined;
12014
12083
  } | undefined;
12015
12084
  } | undefined;
12085
+ requiredPermissions?: string[] | undefined;
12016
12086
  system?: boolean | undefined;
12017
12087
  inlineHelpText?: string | undefined;
12018
12088
  caseSensitive?: boolean | undefined;
@@ -12088,6 +12158,10 @@ declare const SysViewDefinitionObject: Omit<{
12088
12158
  tenantField: string;
12089
12159
  crossTenantAccess: boolean;
12090
12160
  } | undefined;
12161
+ access?: {
12162
+ default: "public" | "private";
12163
+ } | undefined;
12164
+ requiredPermissions?: string[] | undefined;
12091
12165
  softDelete?: {
12092
12166
  enabled: boolean;
12093
12167
  field: string;
@@ -12454,7 +12528,7 @@ declare const SysViewDefinitionObject: Omit<{
12454
12528
  clone: boolean;
12455
12529
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
12456
12530
  } | undefined;
12457
- sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
12531
+ sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
12458
12532
  publicSharing?: {
12459
12533
  enabled: boolean;
12460
12534
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -12541,6 +12615,7 @@ declare const SysViewDefinitionObject: Omit<{
12541
12615
  generatedBy?: string | undefined;
12542
12616
  } | undefined;
12543
12617
  } | undefined;
12618
+ requiredPermissions?: string[] | undefined;
12544
12619
  shortcut?: string | undefined;
12545
12620
  bulkEnabled?: boolean | undefined;
12546
12621
  ai?: {
@@ -12604,6 +12679,7 @@ declare const SysViewDefinitionObject: Omit<{
12604
12679
  readonly dependencies?: string[] | undefined;
12605
12680
  readonly externalId?: boolean | undefined;
12606
12681
  readonly defaultValue?: unknown;
12682
+ readonly requiredPermissions?: string[] | undefined;
12607
12683
  readonly group?: string | undefined;
12608
12684
  readonly hidden?: boolean | undefined;
12609
12685
  readonly system?: boolean | undefined;
@@ -12783,6 +12859,7 @@ declare const SysViewDefinitionObject: Omit<{
12783
12859
  readonly dependencies?: string[] | undefined;
12784
12860
  readonly externalId?: boolean | undefined;
12785
12861
  readonly defaultValue?: unknown;
12862
+ readonly requiredPermissions?: string[] | undefined;
12786
12863
  readonly group?: string | undefined;
12787
12864
  readonly hidden?: boolean | undefined;
12788
12865
  readonly system?: boolean | undefined;
@@ -12958,6 +13035,7 @@ declare const SysViewDefinitionObject: Omit<{
12958
13035
  readonly dependencies?: string[] | undefined;
12959
13036
  readonly externalId?: boolean | undefined;
12960
13037
  readonly defaultValue?: unknown;
13038
+ readonly requiredPermissions?: string[] | undefined;
12961
13039
  readonly group?: string | undefined;
12962
13040
  readonly hidden?: boolean | undefined;
12963
13041
  readonly system?: boolean | undefined;
@@ -13133,6 +13211,7 @@ declare const SysViewDefinitionObject: Omit<{
13133
13211
  readonly dependencies?: string[] | undefined;
13134
13212
  readonly externalId?: boolean | undefined;
13135
13213
  readonly defaultValue?: unknown;
13214
+ readonly requiredPermissions?: string[] | undefined;
13136
13215
  readonly group?: string | undefined;
13137
13216
  readonly hidden?: boolean | undefined;
13138
13217
  readonly system?: boolean | undefined;
@@ -13308,6 +13387,7 @@ declare const SysViewDefinitionObject: Omit<{
13308
13387
  readonly dependencies?: string[] | undefined;
13309
13388
  readonly externalId?: boolean | undefined;
13310
13389
  readonly defaultValue?: unknown;
13390
+ readonly requiredPermissions?: string[] | undefined;
13311
13391
  readonly group?: string | undefined;
13312
13392
  readonly hidden?: boolean | undefined;
13313
13393
  readonly system?: boolean | undefined;
@@ -13483,6 +13563,7 @@ declare const SysViewDefinitionObject: Omit<{
13483
13563
  readonly dependencies?: string[] | undefined;
13484
13564
  readonly externalId?: boolean | undefined;
13485
13565
  readonly defaultValue?: unknown;
13566
+ readonly requiredPermissions?: string[] | undefined;
13486
13567
  readonly group?: string | undefined;
13487
13568
  readonly hidden?: boolean | undefined;
13488
13569
  readonly system?: boolean | undefined;
@@ -13658,6 +13739,7 @@ declare const SysViewDefinitionObject: Omit<{
13658
13739
  readonly dependencies?: string[] | undefined;
13659
13740
  readonly externalId?: boolean | undefined;
13660
13741
  readonly defaultValue?: unknown;
13742
+ readonly requiredPermissions?: string[] | undefined;
13661
13743
  readonly group?: string | undefined;
13662
13744
  readonly hidden?: boolean | undefined;
13663
13745
  readonly system?: boolean | undefined;
@@ -13836,6 +13918,7 @@ declare const SysViewDefinitionObject: Omit<{
13836
13918
  readonly dependencies?: string[] | undefined;
13837
13919
  readonly externalId?: boolean | undefined;
13838
13920
  readonly defaultValue?: unknown;
13921
+ readonly requiredPermissions?: string[] | undefined;
13839
13922
  readonly group?: string | undefined;
13840
13923
  readonly hidden?: boolean | undefined;
13841
13924
  readonly system?: boolean | undefined;
@@ -14011,6 +14094,7 @@ declare const SysViewDefinitionObject: Omit<{
14011
14094
  readonly dependencies?: string[] | undefined;
14012
14095
  readonly externalId?: boolean | undefined;
14013
14096
  readonly defaultValue?: unknown;
14097
+ readonly requiredPermissions?: string[] | undefined;
14014
14098
  readonly group?: string | undefined;
14015
14099
  readonly hidden?: boolean | undefined;
14016
14100
  readonly system?: boolean | undefined;
@@ -14186,6 +14270,7 @@ declare const SysViewDefinitionObject: Omit<{
14186
14270
  readonly dependencies?: string[] | undefined;
14187
14271
  readonly externalId?: boolean | undefined;
14188
14272
  readonly defaultValue?: unknown;
14273
+ readonly requiredPermissions?: string[] | undefined;
14189
14274
  readonly group?: string | undefined;
14190
14275
  readonly hidden?: boolean | undefined;
14191
14276
  readonly system?: boolean | undefined;
@@ -14361,6 +14446,7 @@ declare const SysViewDefinitionObject: Omit<{
14361
14446
  readonly dependencies?: string[] | undefined;
14362
14447
  readonly externalId?: boolean | undefined;
14363
14448
  readonly defaultValue?: unknown;
14449
+ readonly requiredPermissions?: string[] | undefined;
14364
14450
  readonly group?: string | undefined;
14365
14451
  readonly hidden?: boolean | undefined;
14366
14452
  readonly system?: boolean | undefined;
@@ -14536,6 +14622,7 @@ declare const SysViewDefinitionObject: Omit<{
14536
14622
  readonly dependencies?: string[] | undefined;
14537
14623
  readonly externalId?: boolean | undefined;
14538
14624
  readonly defaultValue?: unknown;
14625
+ readonly requiredPermissions?: string[] | undefined;
14539
14626
  readonly group?: string | undefined;
14540
14627
  readonly hidden?: boolean | undefined;
14541
14628
  readonly system?: boolean | undefined;
@@ -14711,6 +14798,7 @@ declare const SysViewDefinitionObject: Omit<{
14711
14798
  readonly dependencies?: string[] | undefined;
14712
14799
  readonly externalId?: boolean | undefined;
14713
14800
  readonly defaultValue?: unknown;
14801
+ readonly requiredPermissions?: string[] | undefined;
14714
14802
  readonly group?: string | undefined;
14715
14803
  readonly hidden?: boolean | undefined;
14716
14804
  readonly system?: boolean | undefined;
@@ -14886,6 +14974,7 @@ declare const SysViewDefinitionObject: Omit<{
14886
14974
  readonly dependencies?: string[] | undefined;
14887
14975
  readonly externalId?: boolean | undefined;
14888
14976
  readonly defaultValue?: unknown;
14977
+ readonly requiredPermissions?: string[] | undefined;
14889
14978
  readonly group?: string | undefined;
14890
14979
  readonly hidden?: boolean | undefined;
14891
14980
  readonly system?: boolean | undefined;
@@ -15060,6 +15149,7 @@ declare const SysViewDefinitionObject: Omit<{
15060
15149
  readonly dependencies?: string[] | undefined;
15061
15150
  readonly externalId?: boolean | undefined;
15062
15151
  readonly defaultValue?: unknown;
15152
+ readonly requiredPermissions?: string[] | undefined;
15063
15153
  readonly group?: string | undefined;
15064
15154
  readonly hidden?: boolean | undefined;
15065
15155
  readonly system?: boolean | undefined;
@@ -15234,6 +15324,7 @@ declare const SysViewDefinitionObject: Omit<{
15234
15324
  readonly dependencies?: string[] | undefined;
15235
15325
  readonly externalId?: boolean | undefined;
15236
15326
  readonly defaultValue?: unknown;
15327
+ readonly requiredPermissions?: string[] | undefined;
15237
15328
  readonly group?: string | undefined;
15238
15329
  readonly hidden?: boolean | undefined;
15239
15330
  readonly system?: boolean | undefined;
@@ -15408,6 +15499,7 @@ declare const SysViewDefinitionObject: Omit<{
15408
15499
  readonly dependencies?: string[] | undefined;
15409
15500
  readonly externalId?: boolean | undefined;
15410
15501
  readonly defaultValue?: unknown;
15502
+ readonly requiredPermissions?: string[] | undefined;
15411
15503
  readonly group?: string | undefined;
15412
15504
  readonly hidden?: boolean | undefined;
15413
15505
  readonly system?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/metadata-core",
3
- "version": "10.2.0",
3
+ "version": "10.3.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Metadata Repository contracts: types, canonicalization, errors, interface (ADR-0008).",
6
6
  "type": "module",
@@ -30,7 +30,7 @@
30
30
  ],
31
31
  "dependencies": {
32
32
  "zod": "^4.4.3",
33
- "@objectstack/spec": "10.2.0"
33
+ "@objectstack/spec": "10.3.0"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "vitest": "^4.0.0"