@objectstack/platform-objects 7.5.0 → 7.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -220,7 +220,7 @@ declare const SysUser: Omit<{
220
220
  description?: string | undefined;
221
221
  icon?: string | undefined;
222
222
  tags?: string[] | undefined;
223
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
223
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
224
224
  userActions?: {
225
225
  create?: boolean | undefined;
226
226
  import?: boolean | undefined;
@@ -351,14 +351,14 @@ declare const SysUser: Omit<{
351
351
  provider: "api";
352
352
  read?: {
353
353
  url: string;
354
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
354
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
355
355
  headers?: Record<string, string> | undefined;
356
356
  params?: Record<string, unknown> | undefined;
357
357
  body?: unknown;
358
358
  } | undefined;
359
359
  write?: {
360
360
  url: string;
361
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
361
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
362
362
  headers?: Record<string, string> | undefined;
363
363
  params?: Record<string, unknown> | undefined;
364
364
  body?: unknown;
@@ -3174,14 +3174,6 @@ declare const SysUser: Omit<{
3174
3174
  readonly trash: true;
3175
3175
  readonly mru: true;
3176
3176
  };
3177
- readonly validations: [{
3178
- readonly name: "email_unique";
3179
- readonly type: "unique";
3180
- readonly severity: "error";
3181
- readonly message: "Email must be unique";
3182
- readonly fields: readonly ["email"];
3183
- readonly caseSensitive: false;
3184
- }];
3185
3177
  }, "fields">;
3186
3178
 
3187
3179
  /**
@@ -3405,7 +3397,7 @@ declare const SysSession: Omit<{
3405
3397
  description?: string | undefined;
3406
3398
  icon?: string | undefined;
3407
3399
  tags?: string[] | undefined;
3408
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
3400
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
3409
3401
  userActions?: {
3410
3402
  create?: boolean | undefined;
3411
3403
  import?: boolean | undefined;
@@ -3536,14 +3528,14 @@ declare const SysSession: Omit<{
3536
3528
  provider: "api";
3537
3529
  read?: {
3538
3530
  url: string;
3539
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
3531
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
3540
3532
  headers?: Record<string, string> | undefined;
3541
3533
  params?: Record<string, unknown> | undefined;
3542
3534
  body?: unknown;
3543
3535
  } | undefined;
3544
3536
  write?: {
3545
3537
  url: string;
3546
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
3538
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
3547
3539
  headers?: Record<string, string> | undefined;
3548
3540
  params?: Record<string, unknown> | undefined;
3549
3541
  body?: unknown;
@@ -6123,7 +6115,7 @@ declare const SysAccount: Omit<{
6123
6115
  description?: string | undefined;
6124
6116
  icon?: string | undefined;
6125
6117
  tags?: string[] | undefined;
6126
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
6118
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
6127
6119
  userActions?: {
6128
6120
  create?: boolean | undefined;
6129
6121
  import?: boolean | undefined;
@@ -6254,14 +6246,14 @@ declare const SysAccount: Omit<{
6254
6246
  provider: "api";
6255
6247
  read?: {
6256
6248
  url: string;
6257
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
6249
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
6258
6250
  headers?: Record<string, string> | undefined;
6259
6251
  params?: Record<string, unknown> | undefined;
6260
6252
  body?: unknown;
6261
6253
  } | undefined;
6262
6254
  write?: {
6263
6255
  url: string;
6264
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
6256
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
6265
6257
  headers?: Record<string, string> | undefined;
6266
6258
  params?: Record<string, unknown> | undefined;
6267
6259
  body?: unknown;
@@ -9248,7 +9240,7 @@ declare const SysVerification: Omit<{
9248
9240
  description?: string | undefined;
9249
9241
  icon?: string | undefined;
9250
9242
  tags?: string[] | undefined;
9251
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
9243
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
9252
9244
  userActions?: {
9253
9245
  create?: boolean | undefined;
9254
9246
  import?: boolean | undefined;
@@ -9379,14 +9371,14 @@ declare const SysVerification: Omit<{
9379
9371
  provider: "api";
9380
9372
  read?: {
9381
9373
  url: string;
9382
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
9374
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
9383
9375
  headers?: Record<string, string> | undefined;
9384
9376
  params?: Record<string, unknown> | undefined;
9385
9377
  body?: unknown;
9386
9378
  } | undefined;
9387
9379
  write?: {
9388
9380
  url: string;
9389
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
9381
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
9390
9382
  headers?: Record<string, string> | undefined;
9391
9383
  params?: Record<string, unknown> | undefined;
9392
9384
  body?: unknown;
@@ -11022,7 +11014,7 @@ declare const SysOrganization: Omit<{
11022
11014
  description?: string | undefined;
11023
11015
  icon?: string | undefined;
11024
11016
  tags?: string[] | undefined;
11025
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
11017
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
11026
11018
  userActions?: {
11027
11019
  create?: boolean | undefined;
11028
11020
  import?: boolean | undefined;
@@ -11153,14 +11145,14 @@ declare const SysOrganization: Omit<{
11153
11145
  provider: "api";
11154
11146
  read?: {
11155
11147
  url: string;
11156
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
11148
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
11157
11149
  headers?: Record<string, string> | undefined;
11158
11150
  params?: Record<string, unknown> | undefined;
11159
11151
  body?: unknown;
11160
11152
  } | undefined;
11161
11153
  write?: {
11162
11154
  url: string;
11163
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
11155
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
11164
11156
  headers?: Record<string, string> | undefined;
11165
11157
  params?: Record<string, unknown> | undefined;
11166
11158
  body?: unknown;
@@ -13090,7 +13082,7 @@ declare const SysMember: Omit<{
13090
13082
  description?: string | undefined;
13091
13083
  icon?: string | undefined;
13092
13084
  tags?: string[] | undefined;
13093
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
13085
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
13094
13086
  userActions?: {
13095
13087
  create?: boolean | undefined;
13096
13088
  import?: boolean | undefined;
@@ -13221,14 +13213,14 @@ declare const SysMember: Omit<{
13221
13213
  provider: "api";
13222
13214
  read?: {
13223
13215
  url: string;
13224
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
13216
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
13225
13217
  headers?: Record<string, string> | undefined;
13226
13218
  params?: Record<string, unknown> | undefined;
13227
13219
  body?: unknown;
13228
13220
  } | undefined;
13229
13221
  write?: {
13230
13222
  url: string;
13231
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
13223
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
13232
13224
  headers?: Record<string, string> | undefined;
13233
13225
  params?: Record<string, unknown> | undefined;
13234
13226
  body?: unknown;
@@ -14781,7 +14773,7 @@ declare const SysInvitation: Omit<{
14781
14773
  description?: string | undefined;
14782
14774
  icon?: string | undefined;
14783
14775
  tags?: string[] | undefined;
14784
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
14776
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
14785
14777
  userActions?: {
14786
14778
  create?: boolean | undefined;
14787
14779
  import?: boolean | undefined;
@@ -14912,14 +14904,14 @@ declare const SysInvitation: Omit<{
14912
14904
  provider: "api";
14913
14905
  read?: {
14914
14906
  url: string;
14915
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
14907
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
14916
14908
  headers?: Record<string, string> | undefined;
14917
14909
  params?: Record<string, unknown> | undefined;
14918
14910
  body?: unknown;
14919
14911
  } | undefined;
14920
14912
  write?: {
14921
14913
  url: string;
14922
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
14914
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
14923
14915
  headers?: Record<string, string> | undefined;
14924
14916
  params?: Record<string, unknown> | undefined;
14925
14917
  body?: unknown;
@@ -17240,7 +17232,7 @@ declare const SysTeam: Omit<{
17240
17232
  description?: string | undefined;
17241
17233
  icon?: string | undefined;
17242
17234
  tags?: string[] | undefined;
17243
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
17235
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
17244
17236
  userActions?: {
17245
17237
  create?: boolean | undefined;
17246
17238
  import?: boolean | undefined;
@@ -17371,14 +17363,14 @@ declare const SysTeam: Omit<{
17371
17363
  provider: "api";
17372
17364
  read?: {
17373
17365
  url: string;
17374
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
17366
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
17375
17367
  headers?: Record<string, string> | undefined;
17376
17368
  params?: Record<string, unknown> | undefined;
17377
17369
  body?: unknown;
17378
17370
  } | undefined;
17379
17371
  write?: {
17380
17372
  url: string;
17381
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
17373
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
17382
17374
  headers?: Record<string, string> | undefined;
17383
17375
  params?: Record<string, unknown> | undefined;
17384
17376
  body?: unknown;
@@ -18932,7 +18924,7 @@ declare const SysTeamMember: Omit<{
18932
18924
  description?: string | undefined;
18933
18925
  icon?: string | undefined;
18934
18926
  tags?: string[] | undefined;
18935
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
18927
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
18936
18928
  userActions?: {
18937
18929
  create?: boolean | undefined;
18938
18930
  import?: boolean | undefined;
@@ -19063,14 +19055,14 @@ declare const SysTeamMember: Omit<{
19063
19055
  provider: "api";
19064
19056
  read?: {
19065
19057
  url: string;
19066
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
19058
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
19067
19059
  headers?: Record<string, string> | undefined;
19068
19060
  params?: Record<string, unknown> | undefined;
19069
19061
  body?: unknown;
19070
19062
  } | undefined;
19071
19063
  write?: {
19072
19064
  url: string;
19073
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
19065
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
19074
19066
  headers?: Record<string, string> | undefined;
19075
19067
  params?: Record<string, unknown> | undefined;
19076
19068
  body?: unknown;
@@ -20405,7 +20397,7 @@ declare const SysDepartment: Omit<{
20405
20397
  description?: string | undefined;
20406
20398
  icon?: string | undefined;
20407
20399
  tags?: string[] | undefined;
20408
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
20400
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
20409
20401
  userActions?: {
20410
20402
  create?: boolean | undefined;
20411
20403
  import?: boolean | undefined;
@@ -20536,14 +20528,14 @@ declare const SysDepartment: Omit<{
20536
20528
  provider: "api";
20537
20529
  read?: {
20538
20530
  url: string;
20539
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
20531
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
20540
20532
  headers?: Record<string, string> | undefined;
20541
20533
  params?: Record<string, unknown> | undefined;
20542
20534
  body?: unknown;
20543
20535
  } | undefined;
20544
20536
  write?: {
20545
20537
  url: string;
20546
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
20538
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
20547
20539
  headers?: Record<string, string> | undefined;
20548
20540
  params?: Record<string, unknown> | undefined;
20549
20541
  body?: unknown;
@@ -23494,7 +23486,7 @@ declare const SysDepartmentMember: Omit<{
23494
23486
  description?: string | undefined;
23495
23487
  icon?: string | undefined;
23496
23488
  tags?: string[] | undefined;
23497
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
23489
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
23498
23490
  userActions?: {
23499
23491
  create?: boolean | undefined;
23500
23492
  import?: boolean | undefined;
@@ -23625,14 +23617,14 @@ declare const SysDepartmentMember: Omit<{
23625
23617
  provider: "api";
23626
23618
  read?: {
23627
23619
  url: string;
23628
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
23620
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
23629
23621
  headers?: Record<string, string> | undefined;
23630
23622
  params?: Record<string, unknown> | undefined;
23631
23623
  body?: unknown;
23632
23624
  } | undefined;
23633
23625
  write?: {
23634
23626
  url: string;
23635
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
23627
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
23636
23628
  headers?: Record<string, string> | undefined;
23637
23629
  params?: Record<string, unknown> | undefined;
23638
23630
  body?: unknown;
@@ -25789,7 +25781,7 @@ declare const SysApiKey: Omit<{
25789
25781
  description?: string | undefined;
25790
25782
  icon?: string | undefined;
25791
25783
  tags?: string[] | undefined;
25792
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
25784
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
25793
25785
  userActions?: {
25794
25786
  create?: boolean | undefined;
25795
25787
  import?: boolean | undefined;
@@ -25920,14 +25912,14 @@ declare const SysApiKey: Omit<{
25920
25912
  provider: "api";
25921
25913
  read?: {
25922
25914
  url: string;
25923
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
25915
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
25924
25916
  headers?: Record<string, string> | undefined;
25925
25917
  params?: Record<string, unknown> | undefined;
25926
25918
  body?: unknown;
25927
25919
  } | undefined;
25928
25920
  write?: {
25929
25921
  url: string;
25930
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
25922
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
25931
25923
  headers?: Record<string, string> | undefined;
25932
25924
  params?: Record<string, unknown> | undefined;
25933
25925
  body?: unknown;
@@ -28557,7 +28549,7 @@ declare const SysTwoFactor: Omit<{
28557
28549
  description?: string | undefined;
28558
28550
  icon?: string | undefined;
28559
28551
  tags?: string[] | undefined;
28560
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
28552
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
28561
28553
  userActions?: {
28562
28554
  create?: boolean | undefined;
28563
28555
  import?: boolean | undefined;
@@ -28688,14 +28680,14 @@ declare const SysTwoFactor: Omit<{
28688
28680
  provider: "api";
28689
28681
  read?: {
28690
28682
  url: string;
28691
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
28683
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
28692
28684
  headers?: Record<string, string> | undefined;
28693
28685
  params?: Record<string, unknown> | undefined;
28694
28686
  body?: unknown;
28695
28687
  } | undefined;
28696
28688
  write?: {
28697
28689
  url: string;
28698
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
28690
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
28699
28691
  headers?: Record<string, string> | undefined;
28700
28692
  params?: Record<string, unknown> | undefined;
28701
28693
  body?: unknown;
@@ -30623,7 +30615,7 @@ declare const SysDeviceCode: Omit<{
30623
30615
  description?: string | undefined;
30624
30616
  icon?: string | undefined;
30625
30617
  tags?: string[] | undefined;
30626
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
30618
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
30627
30619
  userActions?: {
30628
30620
  create?: boolean | undefined;
30629
30621
  import?: boolean | undefined;
@@ -30754,14 +30746,14 @@ declare const SysDeviceCode: Omit<{
30754
30746
  provider: "api";
30755
30747
  read?: {
30756
30748
  url: string;
30757
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
30749
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
30758
30750
  headers?: Record<string, string> | undefined;
30759
30751
  params?: Record<string, unknown> | undefined;
30760
30752
  body?: unknown;
30761
30753
  } | undefined;
30762
30754
  write?: {
30763
30755
  url: string;
30764
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
30756
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
30765
30757
  headers?: Record<string, string> | undefined;
30766
30758
  params?: Record<string, unknown> | undefined;
30767
30759
  body?: unknown;
@@ -33457,7 +33449,7 @@ declare const SysUserPreference: Omit<{
33457
33449
  description?: string | undefined;
33458
33450
  icon?: string | undefined;
33459
33451
  tags?: string[] | undefined;
33460
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
33452
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
33461
33453
  userActions?: {
33462
33454
  create?: boolean | undefined;
33463
33455
  import?: boolean | undefined;
@@ -33588,14 +33580,14 @@ declare const SysUserPreference: Omit<{
33588
33580
  provider: "api";
33589
33581
  read?: {
33590
33582
  url: string;
33591
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
33583
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
33592
33584
  headers?: Record<string, string> | undefined;
33593
33585
  params?: Record<string, unknown> | undefined;
33594
33586
  body?: unknown;
33595
33587
  } | undefined;
33596
33588
  write?: {
33597
33589
  url: string;
33598
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
33590
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
33599
33591
  headers?: Record<string, string> | undefined;
33600
33592
  params?: Record<string, unknown> | undefined;
33601
33593
  body?: unknown;
@@ -35298,7 +35290,7 @@ declare const SysOauthApplication: Omit<{
35298
35290
  description?: string | undefined;
35299
35291
  icon?: string | undefined;
35300
35292
  tags?: string[] | undefined;
35301
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
35293
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
35302
35294
  userActions?: {
35303
35295
  create?: boolean | undefined;
35304
35296
  import?: boolean | undefined;
@@ -35429,14 +35421,14 @@ declare const SysOauthApplication: Omit<{
35429
35421
  provider: "api";
35430
35422
  read?: {
35431
35423
  url: string;
35432
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
35424
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
35433
35425
  headers?: Record<string, string> | undefined;
35434
35426
  params?: Record<string, unknown> | undefined;
35435
35427
  body?: unknown;
35436
35428
  } | undefined;
35437
35429
  write?: {
35438
35430
  url: string;
35439
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
35431
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
35440
35432
  headers?: Record<string, string> | undefined;
35441
35433
  params?: Record<string, unknown> | undefined;
35442
35434
  body?: unknown;
@@ -41511,7 +41503,7 @@ declare const SysOauthAccessToken: Omit<{
41511
41503
  description?: string | undefined;
41512
41504
  icon?: string | undefined;
41513
41505
  tags?: string[] | undefined;
41514
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
41506
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
41515
41507
  userActions?: {
41516
41508
  create?: boolean | undefined;
41517
41509
  import?: boolean | undefined;
@@ -41642,14 +41634,14 @@ declare const SysOauthAccessToken: Omit<{
41642
41634
  provider: "api";
41643
41635
  read?: {
41644
41636
  url: string;
41645
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
41637
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
41646
41638
  headers?: Record<string, string> | undefined;
41647
41639
  params?: Record<string, unknown> | undefined;
41648
41640
  body?: unknown;
41649
41641
  } | undefined;
41650
41642
  write?: {
41651
41643
  url: string;
41652
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
41644
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
41653
41645
  headers?: Record<string, string> | undefined;
41654
41646
  params?: Record<string, unknown> | undefined;
41655
41647
  body?: unknown;
@@ -43990,7 +43982,7 @@ declare const SysOauthRefreshToken: Omit<{
43990
43982
  description?: string | undefined;
43991
43983
  icon?: string | undefined;
43992
43984
  tags?: string[] | undefined;
43993
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
43985
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
43994
43986
  userActions?: {
43995
43987
  create?: boolean | undefined;
43996
43988
  import?: boolean | undefined;
@@ -44121,14 +44113,14 @@ declare const SysOauthRefreshToken: Omit<{
44121
44113
  provider: "api";
44122
44114
  read?: {
44123
44115
  url: string;
44124
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
44116
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
44125
44117
  headers?: Record<string, string> | undefined;
44126
44118
  params?: Record<string, unknown> | undefined;
44127
44119
  body?: unknown;
44128
44120
  } | undefined;
44129
44121
  write?: {
44130
44122
  url: string;
44131
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
44123
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
44132
44124
  headers?: Record<string, string> | undefined;
44133
44125
  params?: Record<string, unknown> | undefined;
44134
44126
  body?: unknown;
@@ -46644,7 +46636,7 @@ declare const SysOauthConsent: Omit<{
46644
46636
  description?: string | undefined;
46645
46637
  icon?: string | undefined;
46646
46638
  tags?: string[] | undefined;
46647
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
46639
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
46648
46640
  userActions?: {
46649
46641
  create?: boolean | undefined;
46650
46642
  import?: boolean | undefined;
@@ -46775,14 +46767,14 @@ declare const SysOauthConsent: Omit<{
46775
46767
  provider: "api";
46776
46768
  read?: {
46777
46769
  url: string;
46778
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
46770
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
46779
46771
  headers?: Record<string, string> | undefined;
46780
46772
  params?: Record<string, unknown> | undefined;
46781
46773
  body?: unknown;
46782
46774
  } | undefined;
46783
46775
  write?: {
46784
46776
  url: string;
46785
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
46777
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
46786
46778
  headers?: Record<string, string> | undefined;
46787
46779
  params?: Record<string, unknown> | undefined;
46788
46780
  body?: unknown;
@@ -48591,7 +48583,7 @@ declare const SysJwks: Omit<{
48591
48583
  description?: string | undefined;
48592
48584
  icon?: string | undefined;
48593
48585
  tags?: string[] | undefined;
48594
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
48586
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
48595
48587
  userActions?: {
48596
48588
  create?: boolean | undefined;
48597
48589
  import?: boolean | undefined;
@@ -48722,14 +48714,14 @@ declare const SysJwks: Omit<{
48722
48714
  provider: "api";
48723
48715
  read?: {
48724
48716
  url: string;
48725
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
48717
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
48726
48718
  headers?: Record<string, string> | undefined;
48727
48719
  params?: Record<string, unknown> | undefined;
48728
48720
  body?: unknown;
48729
48721
  } | undefined;
48730
48722
  write?: {
48731
48723
  url: string;
48732
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
48724
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
48733
48725
  headers?: Record<string, string> | undefined;
48734
48726
  params?: Record<string, unknown> | undefined;
48735
48727
  body?: unknown;
@@ -409,17 +409,11 @@ var SysUser = data.ObjectSchema.create({
409
409
  apiMethods: ["get", "list", "create", "update", "delete"],
410
410
  trash: true,
411
411
  mru: true
412
- },
413
- validations: [
414
- {
415
- name: "email_unique",
416
- type: "unique",
417
- severity: "error",
418
- message: "Email must be unique",
419
- fields: ["email"],
420
- caseSensitive: false
421
- }
422
- ]
412
+ }
413
+ // Email uniqueness is enforced by the unique index above (and better-auth's
414
+ // managed user table). A declarative `unique` validation rule is intentionally
415
+ // not used — uniqueness needs a DB lookup, not a synchronous validation, so it
416
+ // is not one of the declarable validation-rule types.
423
417
  });
424
418
  var SysSession = data.ObjectSchema.create({
425
419
  name: "sys_session",