@objectstack/platform-objects 15.0.0 → 15.1.1

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.
@@ -277,8 +277,80 @@ declare const SysNotification: Omit<{
277
277
  userActions?: {
278
278
  create?: boolean | undefined;
279
279
  import?: boolean | undefined;
280
- edit?: boolean | undefined;
281
- delete?: boolean | undefined;
280
+ edit?: boolean | {
281
+ enabled?: boolean | undefined;
282
+ visibleWhen?: {
283
+ dialect: "cel" | "js" | "cron" | "template";
284
+ source?: string | undefined;
285
+ ast?: unknown;
286
+ meta?: {
287
+ rationale?: string | undefined;
288
+ generatedBy?: string | undefined;
289
+ } | undefined;
290
+ } | {
291
+ dialect: "cel" | "js" | "cron" | "template";
292
+ source?: string | undefined;
293
+ ast?: unknown;
294
+ meta?: {
295
+ rationale?: string | undefined;
296
+ generatedBy?: string | undefined;
297
+ } | undefined;
298
+ } | undefined;
299
+ disabledWhen?: {
300
+ dialect: "cel" | "js" | "cron" | "template";
301
+ source?: string | undefined;
302
+ ast?: unknown;
303
+ meta?: {
304
+ rationale?: string | undefined;
305
+ generatedBy?: string | undefined;
306
+ } | undefined;
307
+ } | {
308
+ dialect: "cel" | "js" | "cron" | "template";
309
+ source?: string | undefined;
310
+ ast?: unknown;
311
+ meta?: {
312
+ rationale?: string | undefined;
313
+ generatedBy?: string | undefined;
314
+ } | undefined;
315
+ } | undefined;
316
+ } | undefined;
317
+ delete?: boolean | {
318
+ enabled?: boolean | undefined;
319
+ visibleWhen?: {
320
+ dialect: "cel" | "js" | "cron" | "template";
321
+ source?: string | undefined;
322
+ ast?: unknown;
323
+ meta?: {
324
+ rationale?: string | undefined;
325
+ generatedBy?: string | undefined;
326
+ } | undefined;
327
+ } | {
328
+ dialect: "cel" | "js" | "cron" | "template";
329
+ source?: string | undefined;
330
+ ast?: unknown;
331
+ meta?: {
332
+ rationale?: string | undefined;
333
+ generatedBy?: string | undefined;
334
+ } | undefined;
335
+ } | undefined;
336
+ disabledWhen?: {
337
+ dialect: "cel" | "js" | "cron" | "template";
338
+ source?: string | undefined;
339
+ ast?: unknown;
340
+ meta?: {
341
+ rationale?: string | undefined;
342
+ generatedBy?: string | undefined;
343
+ } | undefined;
344
+ } | {
345
+ dialect: "cel" | "js" | "cron" | "template";
346
+ source?: string | undefined;
347
+ ast?: unknown;
348
+ meta?: {
349
+ rationale?: string | undefined;
350
+ generatedBy?: string | undefined;
351
+ } | undefined;
352
+ } | undefined;
353
+ } | undefined;
282
354
  exportCsv?: boolean | undefined;
283
355
  } | undefined;
284
356
  systemFields?: false | {
@@ -313,9 +385,7 @@ declare const SysNotification: Omit<{
313
385
  }[] | undefined;
314
386
  tenancy?: {
315
387
  enabled: boolean;
316
- strategy: "hybrid" | "shared" | "isolated";
317
388
  tenantField: string;
318
- crossTenantAccess: boolean;
319
389
  } | undefined;
320
390
  access?: {
321
391
  default: "public" | "private";
@@ -708,7 +778,7 @@ declare const SysNotification: Omit<{
708
778
  eligibility?: string | undefined;
709
779
  } | undefined;
710
780
  keyPrefix?: string | undefined;
711
- actions?: {
781
+ actions?: Omit<{
712
782
  name: string;
713
783
  label: string;
714
784
  type: "url" | "form" | "flow" | "api" | "script" | "modal";
@@ -730,7 +800,7 @@ declare const SysNotification: Omit<{
730
800
  memoryMb?: number | undefined;
731
801
  } | undefined;
732
802
  execute?: string | undefined;
733
- params?: {
803
+ params?: Omit<{
734
804
  required: boolean;
735
805
  name?: string | undefined;
736
806
  field?: string | undefined;
@@ -754,7 +824,8 @@ declare const SysNotification: Omit<{
754
824
  generatedBy?: string | undefined;
755
825
  } | undefined;
756
826
  } | undefined;
757
- }[] | undefined;
827
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
828
+ }, "requiresFeature">[] | undefined;
758
829
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
759
830
  order?: number | undefined;
760
831
  confirmText?: string | undefined;
@@ -781,6 +852,7 @@ declare const SysNotification: Omit<{
781
852
  generatedBy?: string | undefined;
782
853
  } | undefined;
783
854
  } | undefined;
855
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
784
856
  disabled?: boolean | {
785
857
  dialect: "cel" | "js" | "cron" | "template";
786
858
  source?: string | undefined;
@@ -821,7 +893,7 @@ declare const SysNotification: Omit<{
821
893
  ariaDescribedBy?: string | undefined;
822
894
  role?: string | undefined;
823
895
  } | undefined;
824
- }[] | undefined;
896
+ }, "requiresFeature">[] | undefined;
825
897
  protection?: {
826
898
  lock: "full" | "none" | "no-overlay" | "no-delete";
827
899
  reason: string;
@@ -2575,8 +2647,11 @@ declare const SysNotification: Omit<{
2575
2647
  * - `parent_id` is the parent record's primary key.
2576
2648
  * - `(parent_object, parent_id)` is the natural index for the
2577
2649
  * "files on this record" lookup.
2578
- * - `share_type` follows the Salesforce convention: V = Viewer,
2579
- * C = Collaborator, I = Inferred (inherited from parent record).
2650
+ * - Access is derived from the PARENT record (Salesforce semantics),
2651
+ * enforced by service-storage's attachment access hooks (#2755).
2652
+ * Salesforce's `ShareType`/`Visibility` dials were modeled here in v1
2653
+ * but had no runtime consumer — removed per ADR-0049 enforce-or-remove;
2654
+ * reintroduce them together with their enforcement if ever needed.
2580
2655
  *
2581
2656
  * @namespace sys
2582
2657
  */
@@ -2834,8 +2909,80 @@ declare const SysAttachment: Omit<{
2834
2909
  userActions?: {
2835
2910
  create?: boolean | undefined;
2836
2911
  import?: boolean | undefined;
2837
- edit?: boolean | undefined;
2838
- delete?: boolean | undefined;
2912
+ edit?: boolean | {
2913
+ enabled?: boolean | undefined;
2914
+ visibleWhen?: {
2915
+ dialect: "cel" | "js" | "cron" | "template";
2916
+ source?: string | undefined;
2917
+ ast?: unknown;
2918
+ meta?: {
2919
+ rationale?: string | undefined;
2920
+ generatedBy?: string | undefined;
2921
+ } | undefined;
2922
+ } | {
2923
+ dialect: "cel" | "js" | "cron" | "template";
2924
+ source?: string | undefined;
2925
+ ast?: unknown;
2926
+ meta?: {
2927
+ rationale?: string | undefined;
2928
+ generatedBy?: string | undefined;
2929
+ } | undefined;
2930
+ } | undefined;
2931
+ disabledWhen?: {
2932
+ dialect: "cel" | "js" | "cron" | "template";
2933
+ source?: string | undefined;
2934
+ ast?: unknown;
2935
+ meta?: {
2936
+ rationale?: string | undefined;
2937
+ generatedBy?: string | undefined;
2938
+ } | undefined;
2939
+ } | {
2940
+ dialect: "cel" | "js" | "cron" | "template";
2941
+ source?: string | undefined;
2942
+ ast?: unknown;
2943
+ meta?: {
2944
+ rationale?: string | undefined;
2945
+ generatedBy?: string | undefined;
2946
+ } | undefined;
2947
+ } | undefined;
2948
+ } | undefined;
2949
+ delete?: boolean | {
2950
+ enabled?: boolean | undefined;
2951
+ visibleWhen?: {
2952
+ dialect: "cel" | "js" | "cron" | "template";
2953
+ source?: string | undefined;
2954
+ ast?: unknown;
2955
+ meta?: {
2956
+ rationale?: string | undefined;
2957
+ generatedBy?: string | undefined;
2958
+ } | undefined;
2959
+ } | {
2960
+ dialect: "cel" | "js" | "cron" | "template";
2961
+ source?: string | undefined;
2962
+ ast?: unknown;
2963
+ meta?: {
2964
+ rationale?: string | undefined;
2965
+ generatedBy?: string | undefined;
2966
+ } | undefined;
2967
+ } | undefined;
2968
+ disabledWhen?: {
2969
+ dialect: "cel" | "js" | "cron" | "template";
2970
+ source?: string | undefined;
2971
+ ast?: unknown;
2972
+ meta?: {
2973
+ rationale?: string | undefined;
2974
+ generatedBy?: string | undefined;
2975
+ } | undefined;
2976
+ } | {
2977
+ dialect: "cel" | "js" | "cron" | "template";
2978
+ source?: string | undefined;
2979
+ ast?: unknown;
2980
+ meta?: {
2981
+ rationale?: string | undefined;
2982
+ generatedBy?: string | undefined;
2983
+ } | undefined;
2984
+ } | undefined;
2985
+ } | undefined;
2839
2986
  exportCsv?: boolean | undefined;
2840
2987
  } | undefined;
2841
2988
  systemFields?: false | {
@@ -2870,9 +3017,7 @@ declare const SysAttachment: Omit<{
2870
3017
  }[] | undefined;
2871
3018
  tenancy?: {
2872
3019
  enabled: boolean;
2873
- strategy: "hybrid" | "shared" | "isolated";
2874
3020
  tenantField: string;
2875
- crossTenantAccess: boolean;
2876
3021
  } | undefined;
2877
3022
  access?: {
2878
3023
  default: "public" | "private";
@@ -3265,7 +3410,7 @@ declare const SysAttachment: Omit<{
3265
3410
  eligibility?: string | undefined;
3266
3411
  } | undefined;
3267
3412
  keyPrefix?: string | undefined;
3268
- actions?: {
3413
+ actions?: Omit<{
3269
3414
  name: string;
3270
3415
  label: string;
3271
3416
  type: "url" | "form" | "flow" | "api" | "script" | "modal";
@@ -3287,7 +3432,7 @@ declare const SysAttachment: Omit<{
3287
3432
  memoryMb?: number | undefined;
3288
3433
  } | undefined;
3289
3434
  execute?: string | undefined;
3290
- params?: {
3435
+ params?: Omit<{
3291
3436
  required: boolean;
3292
3437
  name?: string | undefined;
3293
3438
  field?: string | undefined;
@@ -3311,7 +3456,8 @@ declare const SysAttachment: Omit<{
3311
3456
  generatedBy?: string | undefined;
3312
3457
  } | undefined;
3313
3458
  } | undefined;
3314
- }[] | undefined;
3459
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
3460
+ }, "requiresFeature">[] | undefined;
3315
3461
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
3316
3462
  order?: number | undefined;
3317
3463
  confirmText?: string | undefined;
@@ -3334,436 +3480,69 @@ declare const SysAttachment: Omit<{
3334
3480
  source?: string | undefined;
3335
3481
  ast?: unknown;
3336
3482
  meta?: {
3337
- rationale?: string | undefined;
3338
- generatedBy?: string | undefined;
3339
- } | undefined;
3340
- } | undefined;
3341
- disabled?: boolean | {
3342
- dialect: "cel" | "js" | "cron" | "template";
3343
- source?: string | undefined;
3344
- ast?: unknown;
3345
- meta?: {
3346
- rationale?: string | undefined;
3347
- generatedBy?: string | undefined;
3348
- } | undefined;
3349
- } | undefined;
3350
- requiredPermissions?: string[] | undefined;
3351
- shortcut?: string | undefined;
3352
- bulkEnabled?: boolean | undefined;
3353
- ai?: {
3354
- exposed: boolean;
3355
- description?: string | undefined;
3356
- category?: "action" | "data" | "flow" | "integration" | "vector_search" | "analytics" | "utility" | undefined;
3357
- paramHints?: Record<string, {
3358
- description?: string | undefined;
3359
- enum?: (string | number)[] | undefined;
3360
- examples?: unknown[] | undefined;
3361
- }> | undefined;
3362
- outputSchema?: Record<string, unknown> | undefined;
3363
- requiresConfirmation?: boolean | undefined;
3364
- } | undefined;
3365
- recordIdParam?: string | undefined;
3366
- recordIdField?: string | undefined;
3367
- bodyShape?: "flat" | {
3368
- wrap: string;
3369
- } | undefined;
3370
- method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
3371
- bodyExtra?: Record<string, unknown> | undefined;
3372
- mode?: "custom" | "delete" | "edit" | "create" | undefined;
3373
- opensInNewTab?: boolean | undefined;
3374
- newTabUrl?: string | undefined;
3375
- timeout?: number | undefined;
3376
- aria?: {
3377
- ariaLabel?: string | undefined;
3378
- ariaDescribedBy?: string | undefined;
3379
- role?: string | undefined;
3380
- } | undefined;
3381
- }[] | undefined;
3382
- protection?: {
3383
- lock: "full" | "none" | "no-overlay" | "no-delete";
3384
- reason: string;
3385
- docsUrl?: string | undefined;
3386
- } | undefined;
3387
- }, "fields"> & Pick<{
3388
- readonly name: "sys_attachment";
3389
- readonly label: "Attachment";
3390
- readonly pluralLabel: "Attachments";
3391
- readonly icon: "paperclip";
3392
- readonly isSystem: true;
3393
- readonly managedBy: "platform";
3394
- readonly description: "Polymorphic link between a sys_file and any other record";
3395
- readonly titleFormat: "{file_name} → {parent_object}/{parent_id}";
3396
- readonly highlightFields: ["created_at", "parent_object", "file_name", "mime_type", "size"];
3397
- readonly fields: {
3398
- readonly id: {
3399
- readonly readonly?: boolean | undefined;
3400
- readonly format?: string | undefined;
3401
- readonly options?: {
3402
- label: string;
3403
- value: string;
3404
- color?: string | undefined;
3405
- default?: boolean | undefined;
3406
- visibleWhen?: {
3407
- dialect: "cel" | "js" | "cron" | "template";
3408
- source?: string | undefined;
3409
- ast?: unknown;
3410
- meta?: {
3411
- rationale?: string | undefined;
3412
- generatedBy?: string | undefined;
3413
- } | undefined;
3414
- } | undefined;
3415
- }[] | undefined;
3416
- readonly description?: string | undefined;
3417
- readonly label?: string | undefined;
3418
- readonly name?: string | undefined;
3419
- readonly precision?: number | undefined;
3420
- readonly required?: boolean | undefined;
3421
- readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3422
- readonly widget?: string | undefined;
3423
- readonly multiple?: boolean | undefined;
3424
- readonly dependencies?: string[] | undefined;
3425
- readonly externalId?: boolean | undefined;
3426
- readonly defaultValue?: unknown;
3427
- readonly requiredPermissions?: string[] | undefined;
3428
- readonly group?: string | undefined;
3429
- readonly hidden?: boolean | undefined;
3430
- readonly system?: boolean | undefined;
3431
- readonly min?: number | undefined;
3432
- readonly max?: number | undefined;
3433
- readonly visibleWhen?: {
3434
- dialect: "cel" | "js" | "cron" | "template";
3435
- source?: string | undefined;
3436
- ast?: unknown;
3437
- meta?: {
3438
- rationale?: string | undefined;
3439
- generatedBy?: string | undefined;
3440
- } | undefined;
3441
- } | undefined;
3442
- readonly dimensions?: number | undefined;
3443
- readonly columnName?: string | undefined;
3444
- readonly searchable?: boolean | undefined;
3445
- readonly unique?: boolean | undefined;
3446
- readonly maxLength?: number | undefined;
3447
- readonly minLength?: number | undefined;
3448
- readonly scale?: number | undefined;
3449
- readonly reference?: string | undefined;
3450
- readonly referenceFilters?: string[] | undefined;
3451
- readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
3452
- readonly inlineEdit?: boolean | "grid" | "form" | undefined;
3453
- readonly inlineTitle?: string | undefined;
3454
- readonly inlineColumns?: any[] | undefined;
3455
- readonly inlineAmountField?: string | undefined;
3456
- readonly relatedList?: boolean | "primary" | undefined;
3457
- readonly relatedListTitle?: string | undefined;
3458
- readonly relatedListColumns?: any[] | undefined;
3459
- readonly displayField?: string | undefined;
3460
- readonly descriptionField?: string | undefined;
3461
- readonly lookupColumns?: (string | {
3462
- field: string;
3463
- label?: string | undefined;
3464
- width?: string | undefined;
3465
- type?: string | undefined;
3466
- })[] | undefined;
3467
- readonly lookupPageSize?: number | undefined;
3468
- readonly lookupFilters?: {
3469
- field: string;
3470
- operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
3471
- value: any;
3472
- }[] | undefined;
3473
- readonly dependsOn?: (string | {
3474
- field: string;
3475
- param?: string | undefined;
3476
- })[] | undefined;
3477
- readonly allowCreate?: boolean | undefined;
3478
- readonly expression?: {
3479
- dialect: "cel" | "js" | "cron" | "template";
3480
- source?: string | undefined;
3481
- ast?: unknown;
3482
- meta?: {
3483
- rationale?: string | undefined;
3484
- generatedBy?: string | undefined;
3485
- } | undefined;
3486
- } | undefined;
3487
- readonly summaryOperations?: {
3488
- object: string;
3489
- field: string;
3490
- function: "min" | "max" | "count" | "sum" | "avg";
3491
- relationshipField?: string | undefined;
3492
- } | undefined;
3493
- readonly language?: string | undefined;
3494
- readonly step?: number | undefined;
3495
- readonly currencyConfig?: {
3496
- precision: number;
3497
- currencyMode: "fixed" | "dynamic";
3498
- defaultCurrency: string;
3499
- } | undefined;
3500
- readonly vectorConfig?: {
3501
- dimensions: number;
3502
- distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
3503
- normalized: boolean;
3504
- indexed: boolean;
3505
- indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
3506
- } | undefined;
3507
- readonly fileAttachmentConfig?: {
3508
- virusScan: boolean;
3509
- virusScanOnUpload: boolean;
3510
- quarantineOnThreat: boolean;
3511
- allowMultiple: boolean;
3512
- allowReplace: boolean;
3513
- allowDelete: boolean;
3514
- requireUpload: boolean;
3515
- extractMetadata: boolean;
3516
- extractText: boolean;
3517
- versioningEnabled: boolean;
3518
- publicRead: boolean;
3519
- presignedUrlExpiry: number;
3520
- minSize?: number | undefined;
3521
- maxSize?: number | undefined;
3522
- allowedTypes?: string[] | undefined;
3523
- blockedTypes?: string[] | undefined;
3524
- allowedMimeTypes?: string[] | undefined;
3525
- blockedMimeTypes?: string[] | undefined;
3526
- virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
3527
- storageProvider?: string | undefined;
3528
- storageBucket?: string | undefined;
3529
- storagePrefix?: string | undefined;
3530
- imageValidation?: {
3531
- generateThumbnails: boolean;
3532
- preserveMetadata: boolean;
3533
- autoRotate: boolean;
3534
- minWidth?: number | undefined;
3535
- maxWidth?: number | undefined;
3536
- minHeight?: number | undefined;
3537
- maxHeight?: number | undefined;
3538
- aspectRatio?: string | undefined;
3539
- thumbnailSizes?: {
3540
- name: string;
3541
- width: number;
3542
- height: number;
3543
- crop: boolean;
3544
- }[] | undefined;
3545
- } | undefined;
3546
- maxVersions?: number | undefined;
3547
- } | undefined;
3548
- readonly trackHistory?: boolean | undefined;
3549
- readonly readonlyWhen?: {
3550
- dialect: "cel" | "js" | "cron" | "template";
3551
- source?: string | undefined;
3552
- ast?: unknown;
3553
- meta?: {
3554
- rationale?: string | undefined;
3555
- generatedBy?: string | undefined;
3556
- } | undefined;
3557
- } | undefined;
3558
- readonly requiredWhen?: {
3559
- dialect: "cel" | "js" | "cron" | "template";
3560
- source?: string | undefined;
3561
- ast?: unknown;
3562
- meta?: {
3563
- rationale?: string | undefined;
3564
- generatedBy?: string | undefined;
3565
- } | undefined;
3566
- } | undefined;
3567
- readonly conditionalRequired?: {
3568
- dialect: "cel" | "js" | "cron" | "template";
3569
- source?: string | undefined;
3570
- ast?: unknown;
3571
- meta?: {
3572
- rationale?: string | undefined;
3573
- generatedBy?: string | undefined;
3574
- } | undefined;
3575
- } | undefined;
3576
- readonly sortable?: boolean | undefined;
3577
- readonly inlineHelpText?: string | undefined;
3578
- readonly autonumberFormat?: string | undefined;
3579
- readonly index?: boolean | undefined;
3580
- readonly type: "text";
3581
- };
3582
- readonly parent_object: {
3583
- readonly readonly?: boolean | undefined;
3584
- readonly format?: string | undefined;
3585
- readonly options?: {
3586
- label: string;
3587
- value: string;
3588
- color?: string | undefined;
3589
- default?: boolean | undefined;
3590
- visibleWhen?: {
3591
- dialect: "cel" | "js" | "cron" | "template";
3592
- source?: string | undefined;
3593
- ast?: unknown;
3594
- meta?: {
3595
- rationale?: string | undefined;
3596
- generatedBy?: string | undefined;
3597
- } | undefined;
3598
- } | undefined;
3599
- }[] | undefined;
3600
- readonly description?: string | undefined;
3601
- readonly label?: string | undefined;
3602
- readonly name?: string | undefined;
3603
- readonly precision?: number | undefined;
3604
- readonly required?: boolean | undefined;
3605
- readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3606
- readonly widget?: string | undefined;
3607
- readonly multiple?: boolean | undefined;
3608
- readonly dependencies?: string[] | undefined;
3609
- readonly externalId?: boolean | undefined;
3610
- readonly defaultValue?: unknown;
3611
- readonly requiredPermissions?: string[] | undefined;
3612
- readonly group?: string | undefined;
3613
- readonly hidden?: boolean | undefined;
3614
- readonly system?: boolean | undefined;
3615
- readonly min?: number | undefined;
3616
- readonly max?: number | undefined;
3617
- readonly visibleWhen?: {
3618
- dialect: "cel" | "js" | "cron" | "template";
3619
- source?: string | undefined;
3620
- ast?: unknown;
3621
- meta?: {
3622
- rationale?: string | undefined;
3623
- generatedBy?: string | undefined;
3624
- } | undefined;
3625
- } | undefined;
3626
- readonly dimensions?: number | undefined;
3627
- readonly columnName?: string | undefined;
3628
- readonly searchable?: boolean | undefined;
3629
- readonly unique?: boolean | undefined;
3630
- readonly maxLength?: number | undefined;
3631
- readonly minLength?: number | undefined;
3632
- readonly scale?: number | undefined;
3633
- readonly reference?: string | undefined;
3634
- readonly referenceFilters?: string[] | undefined;
3635
- readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
3636
- readonly inlineEdit?: boolean | "grid" | "form" | undefined;
3637
- readonly inlineTitle?: string | undefined;
3638
- readonly inlineColumns?: any[] | undefined;
3639
- readonly inlineAmountField?: string | undefined;
3640
- readonly relatedList?: boolean | "primary" | undefined;
3641
- readonly relatedListTitle?: string | undefined;
3642
- readonly relatedListColumns?: any[] | undefined;
3643
- readonly displayField?: string | undefined;
3644
- readonly descriptionField?: string | undefined;
3645
- readonly lookupColumns?: (string | {
3646
- field: string;
3647
- label?: string | undefined;
3648
- width?: string | undefined;
3649
- type?: string | undefined;
3650
- })[] | undefined;
3651
- readonly lookupPageSize?: number | undefined;
3652
- readonly lookupFilters?: {
3653
- field: string;
3654
- operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
3655
- value: any;
3656
- }[] | undefined;
3657
- readonly dependsOn?: (string | {
3658
- field: string;
3659
- param?: string | undefined;
3660
- })[] | undefined;
3661
- readonly allowCreate?: boolean | undefined;
3662
- readonly expression?: {
3663
- dialect: "cel" | "js" | "cron" | "template";
3664
- source?: string | undefined;
3665
- ast?: unknown;
3666
- meta?: {
3667
- rationale?: string | undefined;
3668
- generatedBy?: string | undefined;
3669
- } | undefined;
3670
- } | undefined;
3671
- readonly summaryOperations?: {
3672
- object: string;
3673
- field: string;
3674
- function: "min" | "max" | "count" | "sum" | "avg";
3675
- relationshipField?: string | undefined;
3676
- } | undefined;
3677
- readonly language?: string | undefined;
3678
- readonly step?: number | undefined;
3679
- readonly currencyConfig?: {
3680
- precision: number;
3681
- currencyMode: "fixed" | "dynamic";
3682
- defaultCurrency: string;
3683
- } | undefined;
3684
- readonly vectorConfig?: {
3685
- dimensions: number;
3686
- distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
3687
- normalized: boolean;
3688
- indexed: boolean;
3689
- indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
3690
- } | undefined;
3691
- readonly fileAttachmentConfig?: {
3692
- virusScan: boolean;
3693
- virusScanOnUpload: boolean;
3694
- quarantineOnThreat: boolean;
3695
- allowMultiple: boolean;
3696
- allowReplace: boolean;
3697
- allowDelete: boolean;
3698
- requireUpload: boolean;
3699
- extractMetadata: boolean;
3700
- extractText: boolean;
3701
- versioningEnabled: boolean;
3702
- publicRead: boolean;
3703
- presignedUrlExpiry: number;
3704
- minSize?: number | undefined;
3705
- maxSize?: number | undefined;
3706
- allowedTypes?: string[] | undefined;
3707
- blockedTypes?: string[] | undefined;
3708
- allowedMimeTypes?: string[] | undefined;
3709
- blockedMimeTypes?: string[] | undefined;
3710
- virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
3711
- storageProvider?: string | undefined;
3712
- storageBucket?: string | undefined;
3713
- storagePrefix?: string | undefined;
3714
- imageValidation?: {
3715
- generateThumbnails: boolean;
3716
- preserveMetadata: boolean;
3717
- autoRotate: boolean;
3718
- minWidth?: number | undefined;
3719
- maxWidth?: number | undefined;
3720
- minHeight?: number | undefined;
3721
- maxHeight?: number | undefined;
3722
- aspectRatio?: string | undefined;
3723
- thumbnailSizes?: {
3724
- name: string;
3725
- width: number;
3726
- height: number;
3727
- crop: boolean;
3728
- }[] | undefined;
3729
- } | undefined;
3730
- maxVersions?: number | undefined;
3731
- } | undefined;
3732
- readonly trackHistory?: boolean | undefined;
3733
- readonly readonlyWhen?: {
3734
- dialect: "cel" | "js" | "cron" | "template";
3735
- source?: string | undefined;
3736
- ast?: unknown;
3737
- meta?: {
3738
- rationale?: string | undefined;
3739
- generatedBy?: string | undefined;
3740
- } | undefined;
3741
- } | undefined;
3742
- readonly requiredWhen?: {
3743
- dialect: "cel" | "js" | "cron" | "template";
3744
- source?: string | undefined;
3745
- ast?: unknown;
3746
- meta?: {
3747
- rationale?: string | undefined;
3748
- generatedBy?: string | undefined;
3749
- } | undefined;
3483
+ rationale?: string | undefined;
3484
+ generatedBy?: string | undefined;
3750
3485
  } | undefined;
3751
- readonly conditionalRequired?: {
3752
- dialect: "cel" | "js" | "cron" | "template";
3753
- source?: string | undefined;
3754
- ast?: unknown;
3755
- meta?: {
3756
- rationale?: string | undefined;
3757
- generatedBy?: string | undefined;
3758
- } | undefined;
3486
+ } | undefined;
3487
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
3488
+ disabled?: boolean | {
3489
+ dialect: "cel" | "js" | "cron" | "template";
3490
+ source?: string | undefined;
3491
+ ast?: unknown;
3492
+ meta?: {
3493
+ rationale?: string | undefined;
3494
+ generatedBy?: string | undefined;
3759
3495
  } | undefined;
3760
- readonly sortable?: boolean | undefined;
3761
- readonly inlineHelpText?: string | undefined;
3762
- readonly autonumberFormat?: string | undefined;
3763
- readonly index?: boolean | undefined;
3764
- readonly type: "text";
3765
- };
3766
- readonly parent_id: {
3496
+ } | undefined;
3497
+ requiredPermissions?: string[] | undefined;
3498
+ shortcut?: string | undefined;
3499
+ bulkEnabled?: boolean | undefined;
3500
+ ai?: {
3501
+ exposed: boolean;
3502
+ description?: string | undefined;
3503
+ category?: "action" | "data" | "flow" | "integration" | "vector_search" | "analytics" | "utility" | undefined;
3504
+ paramHints?: Record<string, {
3505
+ description?: string | undefined;
3506
+ enum?: (string | number)[] | undefined;
3507
+ examples?: unknown[] | undefined;
3508
+ }> | undefined;
3509
+ outputSchema?: Record<string, unknown> | undefined;
3510
+ requiresConfirmation?: boolean | undefined;
3511
+ } | undefined;
3512
+ recordIdParam?: string | undefined;
3513
+ recordIdField?: string | undefined;
3514
+ bodyShape?: "flat" | {
3515
+ wrap: string;
3516
+ } | undefined;
3517
+ method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
3518
+ bodyExtra?: Record<string, unknown> | undefined;
3519
+ mode?: "custom" | "delete" | "edit" | "create" | undefined;
3520
+ opensInNewTab?: boolean | undefined;
3521
+ newTabUrl?: string | undefined;
3522
+ timeout?: number | undefined;
3523
+ aria?: {
3524
+ ariaLabel?: string | undefined;
3525
+ ariaDescribedBy?: string | undefined;
3526
+ role?: string | undefined;
3527
+ } | undefined;
3528
+ }, "requiresFeature">[] | undefined;
3529
+ protection?: {
3530
+ lock: "full" | "none" | "no-overlay" | "no-delete";
3531
+ reason: string;
3532
+ docsUrl?: string | undefined;
3533
+ } | undefined;
3534
+ }, "fields"> & Pick<{
3535
+ readonly name: "sys_attachment";
3536
+ readonly label: "Attachment";
3537
+ readonly pluralLabel: "Attachments";
3538
+ readonly icon: "paperclip";
3539
+ readonly isSystem: true;
3540
+ readonly managedBy: "platform";
3541
+ readonly description: "Polymorphic link between a sys_file and any other record";
3542
+ readonly titleFormat: "{file_name} → {parent_object}/{parent_id}";
3543
+ readonly highlightFields: ["created_at", "parent_object", "file_name", "mime_type", "size"];
3544
+ readonly fields: {
3545
+ readonly id: {
3767
3546
  readonly readonly?: boolean | undefined;
3768
3547
  readonly format?: string | undefined;
3769
3548
  readonly options?: {
@@ -3947,7 +3726,7 @@ declare const SysAttachment: Omit<{
3947
3726
  readonly index?: boolean | undefined;
3948
3727
  readonly type: "text";
3949
3728
  };
3950
- readonly file_id: {
3729
+ readonly parent_object: {
3951
3730
  readonly readonly?: boolean | undefined;
3952
3731
  readonly format?: string | undefined;
3953
3732
  readonly options?: {
@@ -3998,7 +3777,7 @@ declare const SysAttachment: Omit<{
3998
3777
  readonly maxLength?: number | undefined;
3999
3778
  readonly minLength?: number | undefined;
4000
3779
  readonly scale?: number | undefined;
4001
- reference: string;
3780
+ readonly reference?: string | undefined;
4002
3781
  readonly referenceFilters?: string[] | undefined;
4003
3782
  readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
4004
3783
  readonly inlineEdit?: boolean | "grid" | "form" | undefined;
@@ -4129,9 +3908,9 @@ declare const SysAttachment: Omit<{
4129
3908
  readonly inlineHelpText?: string | undefined;
4130
3909
  readonly autonumberFormat?: string | undefined;
4131
3910
  readonly index?: boolean | undefined;
4132
- readonly type: "lookup";
3911
+ readonly type: "text";
4133
3912
  };
4134
- readonly file_name: {
3913
+ readonly parent_id: {
4135
3914
  readonly readonly?: boolean | undefined;
4136
3915
  readonly format?: string | undefined;
4137
3916
  readonly options?: {
@@ -4315,7 +4094,7 @@ declare const SysAttachment: Omit<{
4315
4094
  readonly index?: boolean | undefined;
4316
4095
  readonly type: "text";
4317
4096
  };
4318
- readonly mime_type: {
4097
+ readonly file_id: {
4319
4098
  readonly readonly?: boolean | undefined;
4320
4099
  readonly format?: string | undefined;
4321
4100
  readonly options?: {
@@ -4366,7 +4145,7 @@ declare const SysAttachment: Omit<{
4366
4145
  readonly maxLength?: number | undefined;
4367
4146
  readonly minLength?: number | undefined;
4368
4147
  readonly scale?: number | undefined;
4369
- readonly reference?: string | undefined;
4148
+ reference: string;
4370
4149
  readonly referenceFilters?: string[] | undefined;
4371
4150
  readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
4372
4151
  readonly inlineEdit?: boolean | "grid" | "form" | undefined;
@@ -4497,9 +4276,9 @@ declare const SysAttachment: Omit<{
4497
4276
  readonly inlineHelpText?: string | undefined;
4498
4277
  readonly autonumberFormat?: string | undefined;
4499
4278
  readonly index?: boolean | undefined;
4500
- readonly type: "text";
4279
+ readonly type: "lookup";
4501
4280
  };
4502
- readonly size: {
4281
+ readonly file_name: {
4503
4282
  readonly readonly?: boolean | undefined;
4504
4283
  readonly format?: string | undefined;
4505
4284
  readonly options?: {
@@ -4681,12 +4460,12 @@ declare const SysAttachment: Omit<{
4681
4460
  readonly inlineHelpText?: string | undefined;
4682
4461
  readonly autonumberFormat?: string | undefined;
4683
4462
  readonly index?: boolean | undefined;
4684
- readonly type: "number";
4463
+ readonly type: "text";
4685
4464
  };
4686
- readonly share_type: {
4465
+ readonly mime_type: {
4687
4466
  readonly readonly?: boolean | undefined;
4688
4467
  readonly format?: string | undefined;
4689
- options: {
4468
+ readonly options?: {
4690
4469
  label: string;
4691
4470
  value: string;
4692
4471
  color?: string | undefined;
@@ -4700,7 +4479,7 @@ declare const SysAttachment: Omit<{
4700
4479
  generatedBy?: string | undefined;
4701
4480
  } | undefined;
4702
4481
  } | undefined;
4703
- }[];
4482
+ }[] | undefined;
4704
4483
  readonly description?: string | undefined;
4705
4484
  readonly label?: string | undefined;
4706
4485
  readonly name?: string | undefined;
@@ -4865,12 +4644,12 @@ declare const SysAttachment: Omit<{
4865
4644
  readonly inlineHelpText?: string | undefined;
4866
4645
  readonly autonumberFormat?: string | undefined;
4867
4646
  readonly index?: boolean | undefined;
4868
- readonly type: "select";
4647
+ readonly type: "text";
4869
4648
  };
4870
- readonly visibility: {
4649
+ readonly size: {
4871
4650
  readonly readonly?: boolean | undefined;
4872
4651
  readonly format?: string | undefined;
4873
- options: {
4652
+ readonly options?: {
4874
4653
  label: string;
4875
4654
  value: string;
4876
4655
  color?: string | undefined;
@@ -4884,7 +4663,7 @@ declare const SysAttachment: Omit<{
4884
4663
  generatedBy?: string | undefined;
4885
4664
  } | undefined;
4886
4665
  } | undefined;
4887
- }[];
4666
+ }[] | undefined;
4888
4667
  readonly description?: string | undefined;
4889
4668
  readonly label?: string | undefined;
4890
4669
  readonly name?: string | undefined;
@@ -5049,7 +4828,7 @@ declare const SysAttachment: Omit<{
5049
4828
  readonly inlineHelpText?: string | undefined;
5050
4829
  readonly autonumberFormat?: string | undefined;
5051
4830
  readonly index?: boolean | undefined;
5052
- readonly type: "select";
4831
+ readonly type: "number";
5053
4832
  };
5054
4833
  readonly uploaded_by: {
5055
4834
  readonly readonly?: boolean | undefined;
@@ -5799,7 +5578,7 @@ declare const SysAttachment: Omit<{
5799
5578
  readonly trackHistory: false;
5800
5579
  readonly searchable: true;
5801
5580
  readonly apiEnabled: true;
5802
- readonly trash: true;
5581
+ readonly trash: false;
5803
5582
  readonly mru: false;
5804
5583
  readonly clone: false;
5805
5584
  };
@@ -6075,8 +5854,80 @@ declare const SysEmail: Omit<{
6075
5854
  userActions?: {
6076
5855
  create?: boolean | undefined;
6077
5856
  import?: boolean | undefined;
6078
- edit?: boolean | undefined;
6079
- delete?: boolean | undefined;
5857
+ edit?: boolean | {
5858
+ enabled?: boolean | undefined;
5859
+ visibleWhen?: {
5860
+ dialect: "cel" | "js" | "cron" | "template";
5861
+ source?: string | undefined;
5862
+ ast?: unknown;
5863
+ meta?: {
5864
+ rationale?: string | undefined;
5865
+ generatedBy?: string | undefined;
5866
+ } | undefined;
5867
+ } | {
5868
+ dialect: "cel" | "js" | "cron" | "template";
5869
+ source?: string | undefined;
5870
+ ast?: unknown;
5871
+ meta?: {
5872
+ rationale?: string | undefined;
5873
+ generatedBy?: string | undefined;
5874
+ } | undefined;
5875
+ } | undefined;
5876
+ disabledWhen?: {
5877
+ dialect: "cel" | "js" | "cron" | "template";
5878
+ source?: string | undefined;
5879
+ ast?: unknown;
5880
+ meta?: {
5881
+ rationale?: string | undefined;
5882
+ generatedBy?: string | undefined;
5883
+ } | undefined;
5884
+ } | {
5885
+ dialect: "cel" | "js" | "cron" | "template";
5886
+ source?: string | undefined;
5887
+ ast?: unknown;
5888
+ meta?: {
5889
+ rationale?: string | undefined;
5890
+ generatedBy?: string | undefined;
5891
+ } | undefined;
5892
+ } | undefined;
5893
+ } | undefined;
5894
+ delete?: boolean | {
5895
+ enabled?: boolean | undefined;
5896
+ visibleWhen?: {
5897
+ dialect: "cel" | "js" | "cron" | "template";
5898
+ source?: string | undefined;
5899
+ ast?: unknown;
5900
+ meta?: {
5901
+ rationale?: string | undefined;
5902
+ generatedBy?: string | undefined;
5903
+ } | undefined;
5904
+ } | {
5905
+ dialect: "cel" | "js" | "cron" | "template";
5906
+ source?: string | undefined;
5907
+ ast?: unknown;
5908
+ meta?: {
5909
+ rationale?: string | undefined;
5910
+ generatedBy?: string | undefined;
5911
+ } | undefined;
5912
+ } | undefined;
5913
+ disabledWhen?: {
5914
+ dialect: "cel" | "js" | "cron" | "template";
5915
+ source?: string | undefined;
5916
+ ast?: unknown;
5917
+ meta?: {
5918
+ rationale?: string | undefined;
5919
+ generatedBy?: string | undefined;
5920
+ } | undefined;
5921
+ } | {
5922
+ dialect: "cel" | "js" | "cron" | "template";
5923
+ source?: string | undefined;
5924
+ ast?: unknown;
5925
+ meta?: {
5926
+ rationale?: string | undefined;
5927
+ generatedBy?: string | undefined;
5928
+ } | undefined;
5929
+ } | undefined;
5930
+ } | undefined;
6080
5931
  exportCsv?: boolean | undefined;
6081
5932
  } | undefined;
6082
5933
  systemFields?: false | {
@@ -6111,9 +5962,7 @@ declare const SysEmail: Omit<{
6111
5962
  }[] | undefined;
6112
5963
  tenancy?: {
6113
5964
  enabled: boolean;
6114
- strategy: "hybrid" | "shared" | "isolated";
6115
5965
  tenantField: string;
6116
- crossTenantAccess: boolean;
6117
5966
  } | undefined;
6118
5967
  access?: {
6119
5968
  default: "public" | "private";
@@ -6506,7 +6355,7 @@ declare const SysEmail: Omit<{
6506
6355
  eligibility?: string | undefined;
6507
6356
  } | undefined;
6508
6357
  keyPrefix?: string | undefined;
6509
- actions?: {
6358
+ actions?: Omit<{
6510
6359
  name: string;
6511
6360
  label: string;
6512
6361
  type: "url" | "form" | "flow" | "api" | "script" | "modal";
@@ -6528,7 +6377,7 @@ declare const SysEmail: Omit<{
6528
6377
  memoryMb?: number | undefined;
6529
6378
  } | undefined;
6530
6379
  execute?: string | undefined;
6531
- params?: {
6380
+ params?: Omit<{
6532
6381
  required: boolean;
6533
6382
  name?: string | undefined;
6534
6383
  field?: string | undefined;
@@ -6552,7 +6401,8 @@ declare const SysEmail: Omit<{
6552
6401
  generatedBy?: string | undefined;
6553
6402
  } | undefined;
6554
6403
  } | undefined;
6555
- }[] | undefined;
6404
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
6405
+ }, "requiresFeature">[] | undefined;
6556
6406
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
6557
6407
  order?: number | undefined;
6558
6408
  confirmText?: string | undefined;
@@ -6579,6 +6429,7 @@ declare const SysEmail: Omit<{
6579
6429
  generatedBy?: string | undefined;
6580
6430
  } | undefined;
6581
6431
  } | undefined;
6432
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
6582
6433
  disabled?: boolean | {
6583
6434
  dialect: "cel" | "js" | "cron" | "template";
6584
6435
  source?: string | undefined;
@@ -6619,7 +6470,7 @@ declare const SysEmail: Omit<{
6619
6470
  ariaDescribedBy?: string | undefined;
6620
6471
  role?: string | undefined;
6621
6472
  } | undefined;
6622
- }[] | undefined;
6473
+ }, "requiresFeature">[] | undefined;
6623
6474
  protection?: {
6624
6475
  lock: "full" | "none" | "no-overlay" | "no-delete";
6625
6476
  reason: string;
@@ -10390,30 +10241,102 @@ declare const SysEmailTemplate: Omit<{
10390
10241
  generatedBy?: string | undefined;
10391
10242
  } | undefined;
10392
10243
  } | undefined;
10393
- widget?: string | undefined;
10394
- requiredPermissions?: string[] | undefined;
10395
- system?: boolean | undefined;
10396
- inlineHelpText?: string | undefined;
10397
- autonumberFormat?: string | undefined;
10398
- }>;
10399
- _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
10400
- _lockReason?: string | undefined;
10401
- _lockSource?: "artifact" | "package" | "env-forced" | undefined;
10402
- _provenance?: "package" | "env-forced" | "org" | undefined;
10403
- _packageId?: string | undefined;
10404
- _packageVersion?: string | undefined;
10405
- _lockDocsUrl?: string | undefined;
10406
- label?: string | undefined;
10407
- pluralLabel?: string | undefined;
10408
- description?: string | undefined;
10409
- icon?: string | undefined;
10410
- tags?: string[] | undefined;
10411
- managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
10412
- userActions?: {
10413
- create?: boolean | undefined;
10414
- import?: boolean | undefined;
10415
- edit?: boolean | undefined;
10416
- delete?: boolean | undefined;
10244
+ widget?: string | undefined;
10245
+ requiredPermissions?: string[] | undefined;
10246
+ system?: boolean | undefined;
10247
+ inlineHelpText?: string | undefined;
10248
+ autonumberFormat?: string | undefined;
10249
+ }>;
10250
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
10251
+ _lockReason?: string | undefined;
10252
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
10253
+ _provenance?: "package" | "env-forced" | "org" | undefined;
10254
+ _packageId?: string | undefined;
10255
+ _packageVersion?: string | undefined;
10256
+ _lockDocsUrl?: string | undefined;
10257
+ label?: string | undefined;
10258
+ pluralLabel?: string | undefined;
10259
+ description?: string | undefined;
10260
+ icon?: string | undefined;
10261
+ tags?: string[] | undefined;
10262
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
10263
+ userActions?: {
10264
+ create?: boolean | undefined;
10265
+ import?: boolean | undefined;
10266
+ edit?: boolean | {
10267
+ enabled?: boolean | undefined;
10268
+ visibleWhen?: {
10269
+ dialect: "cel" | "js" | "cron" | "template";
10270
+ source?: string | undefined;
10271
+ ast?: unknown;
10272
+ meta?: {
10273
+ rationale?: string | undefined;
10274
+ generatedBy?: string | undefined;
10275
+ } | undefined;
10276
+ } | {
10277
+ dialect: "cel" | "js" | "cron" | "template";
10278
+ source?: string | undefined;
10279
+ ast?: unknown;
10280
+ meta?: {
10281
+ rationale?: string | undefined;
10282
+ generatedBy?: string | undefined;
10283
+ } | undefined;
10284
+ } | undefined;
10285
+ disabledWhen?: {
10286
+ dialect: "cel" | "js" | "cron" | "template";
10287
+ source?: string | undefined;
10288
+ ast?: unknown;
10289
+ meta?: {
10290
+ rationale?: string | undefined;
10291
+ generatedBy?: string | undefined;
10292
+ } | undefined;
10293
+ } | {
10294
+ dialect: "cel" | "js" | "cron" | "template";
10295
+ source?: string | undefined;
10296
+ ast?: unknown;
10297
+ meta?: {
10298
+ rationale?: string | undefined;
10299
+ generatedBy?: string | undefined;
10300
+ } | undefined;
10301
+ } | undefined;
10302
+ } | undefined;
10303
+ delete?: boolean | {
10304
+ enabled?: boolean | undefined;
10305
+ visibleWhen?: {
10306
+ dialect: "cel" | "js" | "cron" | "template";
10307
+ source?: string | undefined;
10308
+ ast?: unknown;
10309
+ meta?: {
10310
+ rationale?: string | undefined;
10311
+ generatedBy?: string | undefined;
10312
+ } | undefined;
10313
+ } | {
10314
+ dialect: "cel" | "js" | "cron" | "template";
10315
+ source?: string | undefined;
10316
+ ast?: unknown;
10317
+ meta?: {
10318
+ rationale?: string | undefined;
10319
+ generatedBy?: string | undefined;
10320
+ } | undefined;
10321
+ } | undefined;
10322
+ disabledWhen?: {
10323
+ dialect: "cel" | "js" | "cron" | "template";
10324
+ source?: string | undefined;
10325
+ ast?: unknown;
10326
+ meta?: {
10327
+ rationale?: string | undefined;
10328
+ generatedBy?: string | undefined;
10329
+ } | undefined;
10330
+ } | {
10331
+ dialect: "cel" | "js" | "cron" | "template";
10332
+ source?: string | undefined;
10333
+ ast?: unknown;
10334
+ meta?: {
10335
+ rationale?: string | undefined;
10336
+ generatedBy?: string | undefined;
10337
+ } | undefined;
10338
+ } | undefined;
10339
+ } | undefined;
10417
10340
  exportCsv?: boolean | undefined;
10418
10341
  } | undefined;
10419
10342
  systemFields?: false | {
@@ -10448,9 +10371,7 @@ declare const SysEmailTemplate: Omit<{
10448
10371
  }[] | undefined;
10449
10372
  tenancy?: {
10450
10373
  enabled: boolean;
10451
- strategy: "hybrid" | "shared" | "isolated";
10452
10374
  tenantField: string;
10453
- crossTenantAccess: boolean;
10454
10375
  } | undefined;
10455
10376
  access?: {
10456
10377
  default: "public" | "private";
@@ -10843,7 +10764,7 @@ declare const SysEmailTemplate: Omit<{
10843
10764
  eligibility?: string | undefined;
10844
10765
  } | undefined;
10845
10766
  keyPrefix?: string | undefined;
10846
- actions?: {
10767
+ actions?: Omit<{
10847
10768
  name: string;
10848
10769
  label: string;
10849
10770
  type: "url" | "form" | "flow" | "api" | "script" | "modal";
@@ -10865,7 +10786,7 @@ declare const SysEmailTemplate: Omit<{
10865
10786
  memoryMb?: number | undefined;
10866
10787
  } | undefined;
10867
10788
  execute?: string | undefined;
10868
- params?: {
10789
+ params?: Omit<{
10869
10790
  required: boolean;
10870
10791
  name?: string | undefined;
10871
10792
  field?: string | undefined;
@@ -10889,7 +10810,8 @@ declare const SysEmailTemplate: Omit<{
10889
10810
  generatedBy?: string | undefined;
10890
10811
  } | undefined;
10891
10812
  } | undefined;
10892
- }[] | undefined;
10813
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
10814
+ }, "requiresFeature">[] | undefined;
10893
10815
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
10894
10816
  order?: number | undefined;
10895
10817
  confirmText?: string | undefined;
@@ -10916,6 +10838,7 @@ declare const SysEmailTemplate: Omit<{
10916
10838
  generatedBy?: string | undefined;
10917
10839
  } | undefined;
10918
10840
  } | undefined;
10841
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
10919
10842
  disabled?: boolean | {
10920
10843
  dialect: "cel" | "js" | "cron" | "template";
10921
10844
  source?: string | undefined;
@@ -10956,7 +10879,7 @@ declare const SysEmailTemplate: Omit<{
10956
10879
  ariaDescribedBy?: string | undefined;
10957
10880
  role?: string | undefined;
10958
10881
  } | undefined;
10959
- }[] | undefined;
10882
+ }, "requiresFeature">[] | undefined;
10960
10883
  protection?: {
10961
10884
  lock: "full" | "none" | "no-overlay" | "no-delete";
10962
10885
  reason: string;
@@ -14395,8 +14318,80 @@ declare const SysSavedReport: Omit<{
14395
14318
  userActions?: {
14396
14319
  create?: boolean | undefined;
14397
14320
  import?: boolean | undefined;
14398
- edit?: boolean | undefined;
14399
- delete?: boolean | undefined;
14321
+ edit?: boolean | {
14322
+ enabled?: boolean | undefined;
14323
+ visibleWhen?: {
14324
+ dialect: "cel" | "js" | "cron" | "template";
14325
+ source?: string | undefined;
14326
+ ast?: unknown;
14327
+ meta?: {
14328
+ rationale?: string | undefined;
14329
+ generatedBy?: string | undefined;
14330
+ } | undefined;
14331
+ } | {
14332
+ dialect: "cel" | "js" | "cron" | "template";
14333
+ source?: string | undefined;
14334
+ ast?: unknown;
14335
+ meta?: {
14336
+ rationale?: string | undefined;
14337
+ generatedBy?: string | undefined;
14338
+ } | undefined;
14339
+ } | undefined;
14340
+ disabledWhen?: {
14341
+ dialect: "cel" | "js" | "cron" | "template";
14342
+ source?: string | undefined;
14343
+ ast?: unknown;
14344
+ meta?: {
14345
+ rationale?: string | undefined;
14346
+ generatedBy?: string | undefined;
14347
+ } | undefined;
14348
+ } | {
14349
+ dialect: "cel" | "js" | "cron" | "template";
14350
+ source?: string | undefined;
14351
+ ast?: unknown;
14352
+ meta?: {
14353
+ rationale?: string | undefined;
14354
+ generatedBy?: string | undefined;
14355
+ } | undefined;
14356
+ } | undefined;
14357
+ } | undefined;
14358
+ delete?: boolean | {
14359
+ enabled?: boolean | undefined;
14360
+ visibleWhen?: {
14361
+ dialect: "cel" | "js" | "cron" | "template";
14362
+ source?: string | undefined;
14363
+ ast?: unknown;
14364
+ meta?: {
14365
+ rationale?: string | undefined;
14366
+ generatedBy?: string | undefined;
14367
+ } | undefined;
14368
+ } | {
14369
+ dialect: "cel" | "js" | "cron" | "template";
14370
+ source?: string | undefined;
14371
+ ast?: unknown;
14372
+ meta?: {
14373
+ rationale?: string | undefined;
14374
+ generatedBy?: string | undefined;
14375
+ } | undefined;
14376
+ } | undefined;
14377
+ disabledWhen?: {
14378
+ dialect: "cel" | "js" | "cron" | "template";
14379
+ source?: string | undefined;
14380
+ ast?: unknown;
14381
+ meta?: {
14382
+ rationale?: string | undefined;
14383
+ generatedBy?: string | undefined;
14384
+ } | undefined;
14385
+ } | {
14386
+ dialect: "cel" | "js" | "cron" | "template";
14387
+ source?: string | undefined;
14388
+ ast?: unknown;
14389
+ meta?: {
14390
+ rationale?: string | undefined;
14391
+ generatedBy?: string | undefined;
14392
+ } | undefined;
14393
+ } | undefined;
14394
+ } | undefined;
14400
14395
  exportCsv?: boolean | undefined;
14401
14396
  } | undefined;
14402
14397
  systemFields?: false | {
@@ -14431,9 +14426,7 @@ declare const SysSavedReport: Omit<{
14431
14426
  }[] | undefined;
14432
14427
  tenancy?: {
14433
14428
  enabled: boolean;
14434
- strategy: "hybrid" | "shared" | "isolated";
14435
14429
  tenantField: string;
14436
- crossTenantAccess: boolean;
14437
14430
  } | undefined;
14438
14431
  access?: {
14439
14432
  default: "public" | "private";
@@ -14826,7 +14819,7 @@ declare const SysSavedReport: Omit<{
14826
14819
  eligibility?: string | undefined;
14827
14820
  } | undefined;
14828
14821
  keyPrefix?: string | undefined;
14829
- actions?: {
14822
+ actions?: Omit<{
14830
14823
  name: string;
14831
14824
  label: string;
14832
14825
  type: "url" | "form" | "flow" | "api" | "script" | "modal";
@@ -14848,7 +14841,7 @@ declare const SysSavedReport: Omit<{
14848
14841
  memoryMb?: number | undefined;
14849
14842
  } | undefined;
14850
14843
  execute?: string | undefined;
14851
- params?: {
14844
+ params?: Omit<{
14852
14845
  required: boolean;
14853
14846
  name?: string | undefined;
14854
14847
  field?: string | undefined;
@@ -14872,7 +14865,8 @@ declare const SysSavedReport: Omit<{
14872
14865
  generatedBy?: string | undefined;
14873
14866
  } | undefined;
14874
14867
  } | undefined;
14875
- }[] | undefined;
14868
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
14869
+ }, "requiresFeature">[] | undefined;
14876
14870
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
14877
14871
  order?: number | undefined;
14878
14872
  confirmText?: string | undefined;
@@ -14899,6 +14893,7 @@ declare const SysSavedReport: Omit<{
14899
14893
  generatedBy?: string | undefined;
14900
14894
  } | undefined;
14901
14895
  } | undefined;
14896
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
14902
14897
  disabled?: boolean | {
14903
14898
  dialect: "cel" | "js" | "cron" | "template";
14904
14899
  source?: string | undefined;
@@ -14939,7 +14934,7 @@ declare const SysSavedReport: Omit<{
14939
14934
  ariaDescribedBy?: string | undefined;
14940
14935
  role?: string | undefined;
14941
14936
  } | undefined;
14942
- }[] | undefined;
14937
+ }, "requiresFeature">[] | undefined;
14943
14938
  protection?: {
14944
14939
  lock: "full" | "none" | "no-overlay" | "no-delete";
14945
14940
  reason: string;
@@ -17273,8 +17268,80 @@ declare const SysReportSchedule: Omit<{
17273
17268
  userActions?: {
17274
17269
  create?: boolean | undefined;
17275
17270
  import?: boolean | undefined;
17276
- edit?: boolean | undefined;
17277
- delete?: boolean | undefined;
17271
+ edit?: boolean | {
17272
+ enabled?: boolean | undefined;
17273
+ visibleWhen?: {
17274
+ dialect: "cel" | "js" | "cron" | "template";
17275
+ source?: string | undefined;
17276
+ ast?: unknown;
17277
+ meta?: {
17278
+ rationale?: string | undefined;
17279
+ generatedBy?: string | undefined;
17280
+ } | undefined;
17281
+ } | {
17282
+ dialect: "cel" | "js" | "cron" | "template";
17283
+ source?: string | undefined;
17284
+ ast?: unknown;
17285
+ meta?: {
17286
+ rationale?: string | undefined;
17287
+ generatedBy?: string | undefined;
17288
+ } | undefined;
17289
+ } | undefined;
17290
+ disabledWhen?: {
17291
+ dialect: "cel" | "js" | "cron" | "template";
17292
+ source?: string | undefined;
17293
+ ast?: unknown;
17294
+ meta?: {
17295
+ rationale?: string | undefined;
17296
+ generatedBy?: string | undefined;
17297
+ } | undefined;
17298
+ } | {
17299
+ dialect: "cel" | "js" | "cron" | "template";
17300
+ source?: string | undefined;
17301
+ ast?: unknown;
17302
+ meta?: {
17303
+ rationale?: string | undefined;
17304
+ generatedBy?: string | undefined;
17305
+ } | undefined;
17306
+ } | undefined;
17307
+ } | undefined;
17308
+ delete?: boolean | {
17309
+ enabled?: boolean | undefined;
17310
+ visibleWhen?: {
17311
+ dialect: "cel" | "js" | "cron" | "template";
17312
+ source?: string | undefined;
17313
+ ast?: unknown;
17314
+ meta?: {
17315
+ rationale?: string | undefined;
17316
+ generatedBy?: string | undefined;
17317
+ } | undefined;
17318
+ } | {
17319
+ dialect: "cel" | "js" | "cron" | "template";
17320
+ source?: string | undefined;
17321
+ ast?: unknown;
17322
+ meta?: {
17323
+ rationale?: string | undefined;
17324
+ generatedBy?: string | undefined;
17325
+ } | undefined;
17326
+ } | undefined;
17327
+ disabledWhen?: {
17328
+ dialect: "cel" | "js" | "cron" | "template";
17329
+ source?: string | undefined;
17330
+ ast?: unknown;
17331
+ meta?: {
17332
+ rationale?: string | undefined;
17333
+ generatedBy?: string | undefined;
17334
+ } | undefined;
17335
+ } | {
17336
+ dialect: "cel" | "js" | "cron" | "template";
17337
+ source?: string | undefined;
17338
+ ast?: unknown;
17339
+ meta?: {
17340
+ rationale?: string | undefined;
17341
+ generatedBy?: string | undefined;
17342
+ } | undefined;
17343
+ } | undefined;
17344
+ } | undefined;
17278
17345
  exportCsv?: boolean | undefined;
17279
17346
  } | undefined;
17280
17347
  systemFields?: false | {
@@ -17309,9 +17376,7 @@ declare const SysReportSchedule: Omit<{
17309
17376
  }[] | undefined;
17310
17377
  tenancy?: {
17311
17378
  enabled: boolean;
17312
- strategy: "hybrid" | "shared" | "isolated";
17313
17379
  tenantField: string;
17314
- crossTenantAccess: boolean;
17315
17380
  } | undefined;
17316
17381
  access?: {
17317
17382
  default: "public" | "private";
@@ -17704,7 +17769,7 @@ declare const SysReportSchedule: Omit<{
17704
17769
  eligibility?: string | undefined;
17705
17770
  } | undefined;
17706
17771
  keyPrefix?: string | undefined;
17707
- actions?: {
17772
+ actions?: Omit<{
17708
17773
  name: string;
17709
17774
  label: string;
17710
17775
  type: "url" | "form" | "flow" | "api" | "script" | "modal";
@@ -17726,7 +17791,7 @@ declare const SysReportSchedule: Omit<{
17726
17791
  memoryMb?: number | undefined;
17727
17792
  } | undefined;
17728
17793
  execute?: string | undefined;
17729
- params?: {
17794
+ params?: Omit<{
17730
17795
  required: boolean;
17731
17796
  name?: string | undefined;
17732
17797
  field?: string | undefined;
@@ -17750,7 +17815,8 @@ declare const SysReportSchedule: Omit<{
17750
17815
  generatedBy?: string | undefined;
17751
17816
  } | undefined;
17752
17817
  } | undefined;
17753
- }[] | undefined;
17818
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
17819
+ }, "requiresFeature">[] | undefined;
17754
17820
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
17755
17821
  order?: number | undefined;
17756
17822
  confirmText?: string | undefined;
@@ -17777,6 +17843,7 @@ declare const SysReportSchedule: Omit<{
17777
17843
  generatedBy?: string | undefined;
17778
17844
  } | undefined;
17779
17845
  } | undefined;
17846
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
17780
17847
  disabled?: boolean | {
17781
17848
  dialect: "cel" | "js" | "cron" | "template";
17782
17849
  source?: string | undefined;
@@ -17817,7 +17884,7 @@ declare const SysReportSchedule: Omit<{
17817
17884
  ariaDescribedBy?: string | undefined;
17818
17885
  role?: string | undefined;
17819
17886
  } | undefined;
17820
- }[] | undefined;
17887
+ }, "requiresFeature">[] | undefined;
17821
17888
  protection?: {
17822
17889
  lock: "full" | "none" | "no-overlay" | "no-delete";
17823
17890
  reason: string;
@@ -21208,39 +21275,111 @@ declare const SysJob: Omit<{
21208
21275
  rationale?: string | undefined;
21209
21276
  generatedBy?: string | undefined;
21210
21277
  } | undefined;
21211
- } | {
21212
- dialect: "cel" | "js" | "cron" | "template";
21213
- source?: string | undefined;
21214
- ast?: unknown;
21215
- meta?: {
21216
- rationale?: string | undefined;
21217
- generatedBy?: string | undefined;
21278
+ } | {
21279
+ dialect: "cel" | "js" | "cron" | "template";
21280
+ source?: string | undefined;
21281
+ ast?: unknown;
21282
+ meta?: {
21283
+ rationale?: string | undefined;
21284
+ generatedBy?: string | undefined;
21285
+ } | undefined;
21286
+ } | undefined;
21287
+ widget?: string | undefined;
21288
+ requiredPermissions?: string[] | undefined;
21289
+ system?: boolean | undefined;
21290
+ inlineHelpText?: string | undefined;
21291
+ autonumberFormat?: string | undefined;
21292
+ }>;
21293
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
21294
+ _lockReason?: string | undefined;
21295
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
21296
+ _provenance?: "package" | "env-forced" | "org" | undefined;
21297
+ _packageId?: string | undefined;
21298
+ _packageVersion?: string | undefined;
21299
+ _lockDocsUrl?: string | undefined;
21300
+ label?: string | undefined;
21301
+ pluralLabel?: string | undefined;
21302
+ description?: string | undefined;
21303
+ icon?: string | undefined;
21304
+ tags?: string[] | undefined;
21305
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
21306
+ userActions?: {
21307
+ create?: boolean | undefined;
21308
+ import?: boolean | undefined;
21309
+ edit?: boolean | {
21310
+ enabled?: boolean | undefined;
21311
+ visibleWhen?: {
21312
+ dialect: "cel" | "js" | "cron" | "template";
21313
+ source?: string | undefined;
21314
+ ast?: unknown;
21315
+ meta?: {
21316
+ rationale?: string | undefined;
21317
+ generatedBy?: string | undefined;
21318
+ } | undefined;
21319
+ } | {
21320
+ dialect: "cel" | "js" | "cron" | "template";
21321
+ source?: string | undefined;
21322
+ ast?: unknown;
21323
+ meta?: {
21324
+ rationale?: string | undefined;
21325
+ generatedBy?: string | undefined;
21326
+ } | undefined;
21327
+ } | undefined;
21328
+ disabledWhen?: {
21329
+ dialect: "cel" | "js" | "cron" | "template";
21330
+ source?: string | undefined;
21331
+ ast?: unknown;
21332
+ meta?: {
21333
+ rationale?: string | undefined;
21334
+ generatedBy?: string | undefined;
21335
+ } | undefined;
21336
+ } | {
21337
+ dialect: "cel" | "js" | "cron" | "template";
21338
+ source?: string | undefined;
21339
+ ast?: unknown;
21340
+ meta?: {
21341
+ rationale?: string | undefined;
21342
+ generatedBy?: string | undefined;
21343
+ } | undefined;
21344
+ } | undefined;
21345
+ } | undefined;
21346
+ delete?: boolean | {
21347
+ enabled?: boolean | undefined;
21348
+ visibleWhen?: {
21349
+ dialect: "cel" | "js" | "cron" | "template";
21350
+ source?: string | undefined;
21351
+ ast?: unknown;
21352
+ meta?: {
21353
+ rationale?: string | undefined;
21354
+ generatedBy?: string | undefined;
21355
+ } | undefined;
21356
+ } | {
21357
+ dialect: "cel" | "js" | "cron" | "template";
21358
+ source?: string | undefined;
21359
+ ast?: unknown;
21360
+ meta?: {
21361
+ rationale?: string | undefined;
21362
+ generatedBy?: string | undefined;
21363
+ } | undefined;
21364
+ } | undefined;
21365
+ disabledWhen?: {
21366
+ dialect: "cel" | "js" | "cron" | "template";
21367
+ source?: string | undefined;
21368
+ ast?: unknown;
21369
+ meta?: {
21370
+ rationale?: string | undefined;
21371
+ generatedBy?: string | undefined;
21372
+ } | undefined;
21373
+ } | {
21374
+ dialect: "cel" | "js" | "cron" | "template";
21375
+ source?: string | undefined;
21376
+ ast?: unknown;
21377
+ meta?: {
21378
+ rationale?: string | undefined;
21379
+ generatedBy?: string | undefined;
21380
+ } | undefined;
21218
21381
  } | undefined;
21219
21382
  } | undefined;
21220
- widget?: string | undefined;
21221
- requiredPermissions?: string[] | undefined;
21222
- system?: boolean | undefined;
21223
- inlineHelpText?: string | undefined;
21224
- autonumberFormat?: string | undefined;
21225
- }>;
21226
- _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
21227
- _lockReason?: string | undefined;
21228
- _lockSource?: "artifact" | "package" | "env-forced" | undefined;
21229
- _provenance?: "package" | "env-forced" | "org" | undefined;
21230
- _packageId?: string | undefined;
21231
- _packageVersion?: string | undefined;
21232
- _lockDocsUrl?: string | undefined;
21233
- label?: string | undefined;
21234
- pluralLabel?: string | undefined;
21235
- description?: string | undefined;
21236
- icon?: string | undefined;
21237
- tags?: string[] | undefined;
21238
- managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
21239
- userActions?: {
21240
- create?: boolean | undefined;
21241
- import?: boolean | undefined;
21242
- edit?: boolean | undefined;
21243
- delete?: boolean | undefined;
21244
21383
  exportCsv?: boolean | undefined;
21245
21384
  } | undefined;
21246
21385
  systemFields?: false | {
@@ -21275,9 +21414,7 @@ declare const SysJob: Omit<{
21275
21414
  }[] | undefined;
21276
21415
  tenancy?: {
21277
21416
  enabled: boolean;
21278
- strategy: "hybrid" | "shared" | "isolated";
21279
21417
  tenantField: string;
21280
- crossTenantAccess: boolean;
21281
21418
  } | undefined;
21282
21419
  access?: {
21283
21420
  default: "public" | "private";
@@ -21670,7 +21807,7 @@ declare const SysJob: Omit<{
21670
21807
  eligibility?: string | undefined;
21671
21808
  } | undefined;
21672
21809
  keyPrefix?: string | undefined;
21673
- actions?: {
21810
+ actions?: Omit<{
21674
21811
  name: string;
21675
21812
  label: string;
21676
21813
  type: "url" | "form" | "flow" | "api" | "script" | "modal";
@@ -21692,7 +21829,7 @@ declare const SysJob: Omit<{
21692
21829
  memoryMb?: number | undefined;
21693
21830
  } | undefined;
21694
21831
  execute?: string | undefined;
21695
- params?: {
21832
+ params?: Omit<{
21696
21833
  required: boolean;
21697
21834
  name?: string | undefined;
21698
21835
  field?: string | undefined;
@@ -21716,7 +21853,8 @@ declare const SysJob: Omit<{
21716
21853
  generatedBy?: string | undefined;
21717
21854
  } | undefined;
21718
21855
  } | undefined;
21719
- }[] | undefined;
21856
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
21857
+ }, "requiresFeature">[] | undefined;
21720
21858
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
21721
21859
  order?: number | undefined;
21722
21860
  confirmText?: string | undefined;
@@ -21743,6 +21881,7 @@ declare const SysJob: Omit<{
21743
21881
  generatedBy?: string | undefined;
21744
21882
  } | undefined;
21745
21883
  } | undefined;
21884
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
21746
21885
  disabled?: boolean | {
21747
21886
  dialect: "cel" | "js" | "cron" | "template";
21748
21887
  source?: string | undefined;
@@ -21783,7 +21922,7 @@ declare const SysJob: Omit<{
21783
21922
  ariaDescribedBy?: string | undefined;
21784
21923
  role?: string | undefined;
21785
21924
  } | undefined;
21786
- }[] | undefined;
21925
+ }, "requiresFeature">[] | undefined;
21787
21926
  protection?: {
21788
21927
  lock: "full" | "none" | "no-overlay" | "no-delete";
21789
21928
  reason: string;
@@ -24470,8 +24609,80 @@ declare const SysJobRun: Omit<{
24470
24609
  userActions?: {
24471
24610
  create?: boolean | undefined;
24472
24611
  import?: boolean | undefined;
24473
- edit?: boolean | undefined;
24474
- delete?: boolean | undefined;
24612
+ edit?: boolean | {
24613
+ enabled?: boolean | undefined;
24614
+ visibleWhen?: {
24615
+ dialect: "cel" | "js" | "cron" | "template";
24616
+ source?: string | undefined;
24617
+ ast?: unknown;
24618
+ meta?: {
24619
+ rationale?: string | undefined;
24620
+ generatedBy?: string | undefined;
24621
+ } | undefined;
24622
+ } | {
24623
+ dialect: "cel" | "js" | "cron" | "template";
24624
+ source?: string | undefined;
24625
+ ast?: unknown;
24626
+ meta?: {
24627
+ rationale?: string | undefined;
24628
+ generatedBy?: string | undefined;
24629
+ } | undefined;
24630
+ } | undefined;
24631
+ disabledWhen?: {
24632
+ dialect: "cel" | "js" | "cron" | "template";
24633
+ source?: string | undefined;
24634
+ ast?: unknown;
24635
+ meta?: {
24636
+ rationale?: string | undefined;
24637
+ generatedBy?: string | undefined;
24638
+ } | undefined;
24639
+ } | {
24640
+ dialect: "cel" | "js" | "cron" | "template";
24641
+ source?: string | undefined;
24642
+ ast?: unknown;
24643
+ meta?: {
24644
+ rationale?: string | undefined;
24645
+ generatedBy?: string | undefined;
24646
+ } | undefined;
24647
+ } | undefined;
24648
+ } | undefined;
24649
+ delete?: boolean | {
24650
+ enabled?: boolean | undefined;
24651
+ visibleWhen?: {
24652
+ dialect: "cel" | "js" | "cron" | "template";
24653
+ source?: string | undefined;
24654
+ ast?: unknown;
24655
+ meta?: {
24656
+ rationale?: string | undefined;
24657
+ generatedBy?: string | undefined;
24658
+ } | undefined;
24659
+ } | {
24660
+ dialect: "cel" | "js" | "cron" | "template";
24661
+ source?: string | undefined;
24662
+ ast?: unknown;
24663
+ meta?: {
24664
+ rationale?: string | undefined;
24665
+ generatedBy?: string | undefined;
24666
+ } | undefined;
24667
+ } | undefined;
24668
+ disabledWhen?: {
24669
+ dialect: "cel" | "js" | "cron" | "template";
24670
+ source?: string | undefined;
24671
+ ast?: unknown;
24672
+ meta?: {
24673
+ rationale?: string | undefined;
24674
+ generatedBy?: string | undefined;
24675
+ } | undefined;
24676
+ } | {
24677
+ dialect: "cel" | "js" | "cron" | "template";
24678
+ source?: string | undefined;
24679
+ ast?: unknown;
24680
+ meta?: {
24681
+ rationale?: string | undefined;
24682
+ generatedBy?: string | undefined;
24683
+ } | undefined;
24684
+ } | undefined;
24685
+ } | undefined;
24475
24686
  exportCsv?: boolean | undefined;
24476
24687
  } | undefined;
24477
24688
  systemFields?: false | {
@@ -24506,9 +24717,7 @@ declare const SysJobRun: Omit<{
24506
24717
  }[] | undefined;
24507
24718
  tenancy?: {
24508
24719
  enabled: boolean;
24509
- strategy: "hybrid" | "shared" | "isolated";
24510
24720
  tenantField: string;
24511
- crossTenantAccess: boolean;
24512
24721
  } | undefined;
24513
24722
  access?: {
24514
24723
  default: "public" | "private";
@@ -24901,7 +25110,7 @@ declare const SysJobRun: Omit<{
24901
25110
  eligibility?: string | undefined;
24902
25111
  } | undefined;
24903
25112
  keyPrefix?: string | undefined;
24904
- actions?: {
25113
+ actions?: Omit<{
24905
25114
  name: string;
24906
25115
  label: string;
24907
25116
  type: "url" | "form" | "flow" | "api" | "script" | "modal";
@@ -24923,7 +25132,7 @@ declare const SysJobRun: Omit<{
24923
25132
  memoryMb?: number | undefined;
24924
25133
  } | undefined;
24925
25134
  execute?: string | undefined;
24926
- params?: {
25135
+ params?: Omit<{
24927
25136
  required: boolean;
24928
25137
  name?: string | undefined;
24929
25138
  field?: string | undefined;
@@ -24947,7 +25156,8 @@ declare const SysJobRun: Omit<{
24947
25156
  generatedBy?: string | undefined;
24948
25157
  } | undefined;
24949
25158
  } | undefined;
24950
- }[] | undefined;
25159
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
25160
+ }, "requiresFeature">[] | undefined;
24951
25161
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
24952
25162
  order?: number | undefined;
24953
25163
  confirmText?: string | undefined;
@@ -24974,6 +25184,7 @@ declare const SysJobRun: Omit<{
24974
25184
  generatedBy?: string | undefined;
24975
25185
  } | undefined;
24976
25186
  } | undefined;
25187
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
24977
25188
  disabled?: boolean | {
24978
25189
  dialect: "cel" | "js" | "cron" | "template";
24979
25190
  source?: string | undefined;
@@ -25014,7 +25225,7 @@ declare const SysJobRun: Omit<{
25014
25225
  ariaDescribedBy?: string | undefined;
25015
25226
  role?: string | undefined;
25016
25227
  } | undefined;
25017
- }[] | undefined;
25228
+ }, "requiresFeature">[] | undefined;
25018
25229
  protection?: {
25019
25230
  lock: "full" | "none" | "no-overlay" | "no-delete";
25020
25231
  reason: string;
@@ -27163,8 +27374,80 @@ declare const SysJobQueue: Omit<{
27163
27374
  userActions?: {
27164
27375
  create?: boolean | undefined;
27165
27376
  import?: boolean | undefined;
27166
- edit?: boolean | undefined;
27167
- delete?: boolean | undefined;
27377
+ edit?: boolean | {
27378
+ enabled?: boolean | undefined;
27379
+ visibleWhen?: {
27380
+ dialect: "cel" | "js" | "cron" | "template";
27381
+ source?: string | undefined;
27382
+ ast?: unknown;
27383
+ meta?: {
27384
+ rationale?: string | undefined;
27385
+ generatedBy?: string | undefined;
27386
+ } | undefined;
27387
+ } | {
27388
+ dialect: "cel" | "js" | "cron" | "template";
27389
+ source?: string | undefined;
27390
+ ast?: unknown;
27391
+ meta?: {
27392
+ rationale?: string | undefined;
27393
+ generatedBy?: string | undefined;
27394
+ } | undefined;
27395
+ } | undefined;
27396
+ disabledWhen?: {
27397
+ dialect: "cel" | "js" | "cron" | "template";
27398
+ source?: string | undefined;
27399
+ ast?: unknown;
27400
+ meta?: {
27401
+ rationale?: string | undefined;
27402
+ generatedBy?: string | undefined;
27403
+ } | undefined;
27404
+ } | {
27405
+ dialect: "cel" | "js" | "cron" | "template";
27406
+ source?: string | undefined;
27407
+ ast?: unknown;
27408
+ meta?: {
27409
+ rationale?: string | undefined;
27410
+ generatedBy?: string | undefined;
27411
+ } | undefined;
27412
+ } | undefined;
27413
+ } | undefined;
27414
+ delete?: boolean | {
27415
+ enabled?: boolean | undefined;
27416
+ visibleWhen?: {
27417
+ dialect: "cel" | "js" | "cron" | "template";
27418
+ source?: string | undefined;
27419
+ ast?: unknown;
27420
+ meta?: {
27421
+ rationale?: string | undefined;
27422
+ generatedBy?: string | undefined;
27423
+ } | undefined;
27424
+ } | {
27425
+ dialect: "cel" | "js" | "cron" | "template";
27426
+ source?: string | undefined;
27427
+ ast?: unknown;
27428
+ meta?: {
27429
+ rationale?: string | undefined;
27430
+ generatedBy?: string | undefined;
27431
+ } | undefined;
27432
+ } | undefined;
27433
+ disabledWhen?: {
27434
+ dialect: "cel" | "js" | "cron" | "template";
27435
+ source?: string | undefined;
27436
+ ast?: unknown;
27437
+ meta?: {
27438
+ rationale?: string | undefined;
27439
+ generatedBy?: string | undefined;
27440
+ } | undefined;
27441
+ } | {
27442
+ dialect: "cel" | "js" | "cron" | "template";
27443
+ source?: string | undefined;
27444
+ ast?: unknown;
27445
+ meta?: {
27446
+ rationale?: string | undefined;
27447
+ generatedBy?: string | undefined;
27448
+ } | undefined;
27449
+ } | undefined;
27450
+ } | undefined;
27168
27451
  exportCsv?: boolean | undefined;
27169
27452
  } | undefined;
27170
27453
  systemFields?: false | {
@@ -27199,9 +27482,7 @@ declare const SysJobQueue: Omit<{
27199
27482
  }[] | undefined;
27200
27483
  tenancy?: {
27201
27484
  enabled: boolean;
27202
- strategy: "hybrid" | "shared" | "isolated";
27203
27485
  tenantField: string;
27204
- crossTenantAccess: boolean;
27205
27486
  } | undefined;
27206
27487
  access?: {
27207
27488
  default: "public" | "private";
@@ -27594,7 +27875,7 @@ declare const SysJobQueue: Omit<{
27594
27875
  eligibility?: string | undefined;
27595
27876
  } | undefined;
27596
27877
  keyPrefix?: string | undefined;
27597
- actions?: {
27878
+ actions?: Omit<{
27598
27879
  name: string;
27599
27880
  label: string;
27600
27881
  type: "url" | "form" | "flow" | "api" | "script" | "modal";
@@ -27616,7 +27897,7 @@ declare const SysJobQueue: Omit<{
27616
27897
  memoryMb?: number | undefined;
27617
27898
  } | undefined;
27618
27899
  execute?: string | undefined;
27619
- params?: {
27900
+ params?: Omit<{
27620
27901
  required: boolean;
27621
27902
  name?: string | undefined;
27622
27903
  field?: string | undefined;
@@ -27640,7 +27921,8 @@ declare const SysJobQueue: Omit<{
27640
27921
  generatedBy?: string | undefined;
27641
27922
  } | undefined;
27642
27923
  } | undefined;
27643
- }[] | undefined;
27924
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
27925
+ }, "requiresFeature">[] | undefined;
27644
27926
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
27645
27927
  order?: number | undefined;
27646
27928
  confirmText?: string | undefined;
@@ -27667,6 +27949,7 @@ declare const SysJobQueue: Omit<{
27667
27949
  generatedBy?: string | undefined;
27668
27950
  } | undefined;
27669
27951
  } | undefined;
27952
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
27670
27953
  disabled?: boolean | {
27671
27954
  dialect: "cel" | "js" | "cron" | "template";
27672
27955
  source?: string | undefined;
@@ -27707,7 +27990,7 @@ declare const SysJobQueue: Omit<{
27707
27990
  ariaDescribedBy?: string | undefined;
27708
27991
  role?: string | undefined;
27709
27992
  } | undefined;
27710
- }[] | undefined;
27993
+ }, "requiresFeature">[] | undefined;
27711
27994
  protection?: {
27712
27995
  lock: "full" | "none" | "no-overlay" | "no-delete";
27713
27996
  reason: string;
@@ -31503,8 +31786,80 @@ declare const SysImportJob: Omit<{
31503
31786
  userActions?: {
31504
31787
  create?: boolean | undefined;
31505
31788
  import?: boolean | undefined;
31506
- edit?: boolean | undefined;
31507
- delete?: boolean | undefined;
31789
+ edit?: boolean | {
31790
+ enabled?: boolean | undefined;
31791
+ visibleWhen?: {
31792
+ dialect: "cel" | "js" | "cron" | "template";
31793
+ source?: string | undefined;
31794
+ ast?: unknown;
31795
+ meta?: {
31796
+ rationale?: string | undefined;
31797
+ generatedBy?: string | undefined;
31798
+ } | undefined;
31799
+ } | {
31800
+ dialect: "cel" | "js" | "cron" | "template";
31801
+ source?: string | undefined;
31802
+ ast?: unknown;
31803
+ meta?: {
31804
+ rationale?: string | undefined;
31805
+ generatedBy?: string | undefined;
31806
+ } | undefined;
31807
+ } | undefined;
31808
+ disabledWhen?: {
31809
+ dialect: "cel" | "js" | "cron" | "template";
31810
+ source?: string | undefined;
31811
+ ast?: unknown;
31812
+ meta?: {
31813
+ rationale?: string | undefined;
31814
+ generatedBy?: string | undefined;
31815
+ } | undefined;
31816
+ } | {
31817
+ dialect: "cel" | "js" | "cron" | "template";
31818
+ source?: string | undefined;
31819
+ ast?: unknown;
31820
+ meta?: {
31821
+ rationale?: string | undefined;
31822
+ generatedBy?: string | undefined;
31823
+ } | undefined;
31824
+ } | undefined;
31825
+ } | undefined;
31826
+ delete?: boolean | {
31827
+ enabled?: boolean | undefined;
31828
+ visibleWhen?: {
31829
+ dialect: "cel" | "js" | "cron" | "template";
31830
+ source?: string | undefined;
31831
+ ast?: unknown;
31832
+ meta?: {
31833
+ rationale?: string | undefined;
31834
+ generatedBy?: string | undefined;
31835
+ } | undefined;
31836
+ } | {
31837
+ dialect: "cel" | "js" | "cron" | "template";
31838
+ source?: string | undefined;
31839
+ ast?: unknown;
31840
+ meta?: {
31841
+ rationale?: string | undefined;
31842
+ generatedBy?: string | undefined;
31843
+ } | undefined;
31844
+ } | undefined;
31845
+ disabledWhen?: {
31846
+ dialect: "cel" | "js" | "cron" | "template";
31847
+ source?: string | undefined;
31848
+ ast?: unknown;
31849
+ meta?: {
31850
+ rationale?: string | undefined;
31851
+ generatedBy?: string | undefined;
31852
+ } | undefined;
31853
+ } | {
31854
+ dialect: "cel" | "js" | "cron" | "template";
31855
+ source?: string | undefined;
31856
+ ast?: unknown;
31857
+ meta?: {
31858
+ rationale?: string | undefined;
31859
+ generatedBy?: string | undefined;
31860
+ } | undefined;
31861
+ } | undefined;
31862
+ } | undefined;
31508
31863
  exportCsv?: boolean | undefined;
31509
31864
  } | undefined;
31510
31865
  systemFields?: false | {
@@ -31539,9 +31894,7 @@ declare const SysImportJob: Omit<{
31539
31894
  }[] | undefined;
31540
31895
  tenancy?: {
31541
31896
  enabled: boolean;
31542
- strategy: "hybrid" | "shared" | "isolated";
31543
31897
  tenantField: string;
31544
- crossTenantAccess: boolean;
31545
31898
  } | undefined;
31546
31899
  access?: {
31547
31900
  default: "public" | "private";
@@ -31934,7 +32287,7 @@ declare const SysImportJob: Omit<{
31934
32287
  eligibility?: string | undefined;
31935
32288
  } | undefined;
31936
32289
  keyPrefix?: string | undefined;
31937
- actions?: {
32290
+ actions?: Omit<{
31938
32291
  name: string;
31939
32292
  label: string;
31940
32293
  type: "url" | "form" | "flow" | "api" | "script" | "modal";
@@ -31956,7 +32309,7 @@ declare const SysImportJob: Omit<{
31956
32309
  memoryMb?: number | undefined;
31957
32310
  } | undefined;
31958
32311
  execute?: string | undefined;
31959
- params?: {
32312
+ params?: Omit<{
31960
32313
  required: boolean;
31961
32314
  name?: string | undefined;
31962
32315
  field?: string | undefined;
@@ -31980,7 +32333,8 @@ declare const SysImportJob: Omit<{
31980
32333
  generatedBy?: string | undefined;
31981
32334
  } | undefined;
31982
32335
  } | undefined;
31983
- }[] | undefined;
32336
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
32337
+ }, "requiresFeature">[] | undefined;
31984
32338
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
31985
32339
  order?: number | undefined;
31986
32340
  confirmText?: string | undefined;
@@ -32007,6 +32361,7 @@ declare const SysImportJob: Omit<{
32007
32361
  generatedBy?: string | undefined;
32008
32362
  } | undefined;
32009
32363
  } | undefined;
32364
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
32010
32365
  disabled?: boolean | {
32011
32366
  dialect: "cel" | "js" | "cron" | "template";
32012
32367
  source?: string | undefined;
@@ -32047,7 +32402,7 @@ declare const SysImportJob: Omit<{
32047
32402
  ariaDescribedBy?: string | undefined;
32048
32403
  role?: string | undefined;
32049
32404
  } | undefined;
32050
- }[] | undefined;
32405
+ }, "requiresFeature">[] | undefined;
32051
32406
  protection?: {
32052
32407
  lock: "full" | "none" | "no-overlay" | "no-delete";
32053
32408
  reason: string;