@objectstack/plugin-auth 4.0.2 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { Plugin, PluginContext, IDataEngine } from '@objectstack/core';
2
2
  import { AuthConfig } from '@objectstack/spec/system';
3
3
  export { AuthConfig, AuthPluginConfig, AuthProviderConfig } from '@objectstack/spec/system';
4
+ import * as zod_v4_core from 'zod/v4/core';
4
5
  import * as better_auth from 'better-auth';
5
6
  import { Auth } from 'better-auth';
6
7
  import * as better_auth_adapters from 'better-auth/adapters';
@@ -181,7 +182,7 @@ declare class AuthManager {
181
182
  * Get the better-auth API for programmatic access
182
183
  * Use this for server-side operations (e.g., creating users, checking sessions)
183
184
  */
184
- get api(): better_auth.InferAPI<{
185
+ get api(): better_auth.InferAPI<better_auth.Prettify<{
185
186
  readonly ok: better_auth.StrictEndpoint<"/ok", {
186
187
  method: "GET";
187
188
  metadata: {
@@ -241,7 +242,7 @@ declare class AuthManager {
241
242
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
242
243
  newUserCallbackURL: better_auth.ZodOptional<better_auth.ZodString>;
243
244
  errorCallbackURL: better_auth.ZodOptional<better_auth.ZodString>;
244
- provider: better_auth.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, better_auth.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
245
+ provider: better_auth.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
245
246
  disableRedirect: better_auth.ZodOptional<better_auth.ZodBoolean>;
246
247
  idToken: better_auth.ZodOptional<better_auth.ZodObject<{
247
248
  token: better_auth.ZodString;
@@ -253,42 +254,42 @@ declare class AuthManager {
253
254
  name: better_auth.ZodOptional<better_auth.ZodObject<{
254
255
  firstName: better_auth.ZodOptional<better_auth.ZodString>;
255
256
  lastName: better_auth.ZodOptional<better_auth.ZodString>;
256
- }, better_auth.$strip>>;
257
+ }, zod_v4_core.$strip>>;
257
258
  email: better_auth.ZodOptional<better_auth.ZodString>;
258
- }, better_auth.$strip>>;
259
- }, better_auth.$strip>>;
259
+ }, zod_v4_core.$strip>>;
260
+ }, zod_v4_core.$strip>>;
260
261
  scopes: better_auth.ZodOptional<better_auth.ZodArray<better_auth.ZodString>>;
261
262
  requestSignUp: better_auth.ZodOptional<better_auth.ZodBoolean>;
262
263
  loginHint: better_auth.ZodOptional<better_auth.ZodString>;
263
264
  additionalData: better_auth.ZodOptional<better_auth.ZodRecord<better_auth.ZodString, better_auth.ZodAny>>;
264
- }, better_auth.$strip>;
265
+ }, zod_v4_core.$strip>;
265
266
  metadata: {
266
267
  $Infer: {
267
- body: better_auth.infer<better_auth.ZodObject<{
268
- callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
269
- newUserCallbackURL: better_auth.ZodOptional<better_auth.ZodString>;
270
- errorCallbackURL: better_auth.ZodOptional<better_auth.ZodString>;
271
- provider: better_auth.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, better_auth.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
272
- disableRedirect: better_auth.ZodOptional<better_auth.ZodBoolean>;
273
- idToken: better_auth.ZodOptional<better_auth.ZodObject<{
274
- token: better_auth.ZodString;
275
- nonce: better_auth.ZodOptional<better_auth.ZodString>;
276
- accessToken: better_auth.ZodOptional<better_auth.ZodString>;
277
- refreshToken: better_auth.ZodOptional<better_auth.ZodString>;
278
- expiresAt: better_auth.ZodOptional<better_auth.ZodNumber>;
279
- user: better_auth.ZodOptional<better_auth.ZodObject<{
280
- name: better_auth.ZodOptional<better_auth.ZodObject<{
281
- firstName: better_auth.ZodOptional<better_auth.ZodString>;
282
- lastName: better_auth.ZodOptional<better_auth.ZodString>;
283
- }, better_auth.$strip>>;
284
- email: better_auth.ZodOptional<better_auth.ZodString>;
285
- }, better_auth.$strip>>;
286
- }, better_auth.$strip>>;
287
- scopes: better_auth.ZodOptional<better_auth.ZodArray<better_auth.ZodString>>;
288
- requestSignUp: better_auth.ZodOptional<better_auth.ZodBoolean>;
289
- loginHint: better_auth.ZodOptional<better_auth.ZodString>;
290
- additionalData: better_auth.ZodOptional<better_auth.ZodRecord<better_auth.ZodString, better_auth.ZodAny>>;
291
- }, better_auth.$strip>>;
268
+ body: {
269
+ provider: "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat" | (string & {});
270
+ callbackURL?: string | undefined;
271
+ newUserCallbackURL?: string | undefined;
272
+ errorCallbackURL?: string | undefined;
273
+ disableRedirect?: boolean | undefined;
274
+ idToken?: {
275
+ token: string;
276
+ nonce?: string | undefined;
277
+ accessToken?: string | undefined;
278
+ refreshToken?: string | undefined;
279
+ expiresAt?: number | undefined;
280
+ user?: {
281
+ name?: {
282
+ firstName?: string | undefined;
283
+ lastName?: string | undefined;
284
+ } | undefined;
285
+ email?: string | undefined;
286
+ } | undefined;
287
+ } | undefined;
288
+ scopes?: string[] | undefined;
289
+ requestSignUp?: boolean | undefined;
290
+ loginHint?: string | undefined;
291
+ additionalData?: Record<string, any> | undefined;
292
+ };
292
293
  returned: {
293
294
  redirect: boolean;
294
295
  token?: string | undefined;
@@ -388,7 +389,7 @@ declare class AuthManager {
388
389
  error_description: better_auth.ZodOptional<better_auth.ZodString>;
389
390
  state: better_auth.ZodOptional<better_auth.ZodString>;
390
391
  user: better_auth.ZodOptional<better_auth.ZodString>;
391
- }, better_auth.$strip>>;
392
+ }, zod_v4_core.$strip>>;
392
393
  query: better_auth.ZodOptional<better_auth.ZodObject<{
393
394
  code: better_auth.ZodOptional<better_auth.ZodString>;
394
395
  error: better_auth.ZodOptional<better_auth.ZodString>;
@@ -396,7 +397,7 @@ declare class AuthManager {
396
397
  error_description: better_auth.ZodOptional<better_auth.ZodString>;
397
398
  state: better_auth.ZodOptional<better_auth.ZodString>;
398
399
  user: better_auth.ZodOptional<better_auth.ZodString>;
399
- }, better_auth.$strip>>;
400
+ }, zod_v4_core.$strip>>;
400
401
  metadata: {
401
402
  allowedMediaTypes: string[];
402
403
  scope: "server";
@@ -408,7 +409,7 @@ declare class AuthManager {
408
409
  query: better_auth.ZodOptional<better_auth.ZodObject<{
409
410
  disableCookieCache: better_auth.ZodOptional<better_auth.ZodCoercedBoolean<unknown>>;
410
411
  disableRefresh: better_auth.ZodOptional<better_auth.ZodCoercedBoolean<unknown>>;
411
- }, better_auth.$strip>>;
412
+ }, zod_v4_core.$strip>>;
412
413
  requireHeaders: true;
413
414
  metadata: {
414
415
  openapi: {
@@ -523,7 +524,7 @@ declare class AuthManager {
523
524
  image: better_auth.ZodOptional<better_auth.ZodString>;
524
525
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
525
526
  rememberMe: better_auth.ZodOptional<better_auth.ZodBoolean>;
526
- }, better_auth.$strip>, better_auth.ZodRecord<better_auth.ZodString, better_auth.ZodAny>>;
527
+ }, zod_v4_core.$strip>, better_auth.ZodRecord<better_auth.ZodString, better_auth.ZodAny>>;
527
528
  metadata: {
528
529
  allowedMediaTypes: string[];
529
530
  $Infer: {
@@ -743,7 +744,7 @@ declare class AuthManager {
743
744
  password: better_auth.ZodString;
744
745
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
745
746
  rememberMe: better_auth.ZodOptional<better_auth.ZodDefault<better_auth.ZodBoolean>>;
746
- }, better_auth.$strip>;
747
+ }, zod_v4_core.$strip>;
747
748
  metadata: {
748
749
  allowedMediaTypes: string[];
749
750
  $Infer: {
@@ -846,11 +847,11 @@ declare class AuthManager {
846
847
  operationId: string;
847
848
  query: better_auth.ZodOptional<better_auth.ZodObject<{
848
849
  token: better_auth.ZodOptional<better_auth.ZodString>;
849
- }, better_auth.$strip>>;
850
+ }, zod_v4_core.$strip>>;
850
851
  body: better_auth.ZodObject<{
851
852
  newPassword: better_auth.ZodString;
852
853
  token: better_auth.ZodOptional<better_auth.ZodString>;
853
- }, better_auth.$strip>;
854
+ }, zod_v4_core.$strip>;
854
855
  metadata: {
855
856
  openapi: {
856
857
  operationId: string;
@@ -881,7 +882,7 @@ declare class AuthManager {
881
882
  method: "POST";
882
883
  body: better_auth.ZodObject<{
883
884
  password: better_auth.ZodString;
884
- }, better_auth.$strip>;
885
+ }, zod_v4_core.$strip>;
885
886
  metadata: {
886
887
  scope: "server";
887
888
  openapi: {
@@ -938,7 +939,7 @@ declare class AuthManager {
938
939
  query: better_auth.ZodObject<{
939
940
  token: better_auth.ZodString;
940
941
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
941
- }, better_auth.$strip>;
942
+ }, zod_v4_core.$strip>;
942
943
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<void>)[];
943
944
  metadata: {
944
945
  openapi: {
@@ -994,7 +995,7 @@ declare class AuthManager {
994
995
  body: better_auth.ZodObject<{
995
996
  email: better_auth.ZodEmail;
996
997
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
997
- }, better_auth.$strip>;
998
+ }, zod_v4_core.$strip>;
998
999
  metadata: {
999
1000
  openapi: {
1000
1001
  operationId: string;
@@ -1068,7 +1069,7 @@ declare class AuthManager {
1068
1069
  body: better_auth.ZodObject<{
1069
1070
  newEmail: better_auth.ZodEmail;
1070
1071
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
1071
- }, better_auth.$strip>;
1072
+ }, zod_v4_core.$strip>;
1072
1073
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
1073
1074
  session: {
1074
1075
  session: Record<string, any> & {
@@ -1136,7 +1137,7 @@ declare class AuthManager {
1136
1137
  newPassword: better_auth.ZodString;
1137
1138
  currentPassword: better_auth.ZodString;
1138
1139
  revokeOtherSessions: better_auth.ZodOptional<better_auth.ZodBoolean>;
1139
- }, better_auth.$strip>;
1140
+ }, zod_v4_core.$strip>;
1140
1141
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
1141
1142
  session: {
1142
1143
  session: Record<string, any> & {
@@ -1249,7 +1250,7 @@ declare class AuthManager {
1249
1250
  method: "POST";
1250
1251
  body: better_auth.ZodObject<{
1251
1252
  newPassword: better_auth.ZodString;
1252
- }, better_auth.$strip>;
1253
+ }, zod_v4_core.$strip>;
1253
1254
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
1254
1255
  session: {
1255
1256
  session: Record<string, any> & {
@@ -1451,7 +1452,7 @@ declare class AuthManager {
1451
1452
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
1452
1453
  password: better_auth.ZodOptional<better_auth.ZodString>;
1453
1454
  token: better_auth.ZodOptional<better_auth.ZodString>;
1454
- }, better_auth.$strip>;
1455
+ }, zod_v4_core.$strip>;
1455
1456
  metadata: {
1456
1457
  openapi: {
1457
1458
  operationId: string;
@@ -1514,7 +1515,7 @@ declare class AuthManager {
1514
1515
  body: better_auth.ZodObject<{
1515
1516
  email: better_auth.ZodEmail;
1516
1517
  redirectTo: better_auth.ZodOptional<better_auth.ZodString>;
1517
- }, better_auth.$strip>;
1518
+ }, zod_v4_core.$strip>;
1518
1519
  metadata: {
1519
1520
  openapi: {
1520
1521
  operationId: string;
@@ -1551,7 +1552,7 @@ declare class AuthManager {
1551
1552
  operationId: string;
1552
1553
  query: better_auth.ZodObject<{
1553
1554
  callbackURL: better_auth.ZodString;
1554
- }, better_auth.$strip>;
1555
+ }, zod_v4_core.$strip>;
1555
1556
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<void>)[];
1556
1557
  metadata: {
1557
1558
  openapi: {
@@ -1668,7 +1669,7 @@ declare class AuthManager {
1668
1669
  method: "POST";
1669
1670
  body: better_auth.ZodObject<{
1670
1671
  token: better_auth.ZodString;
1671
- }, better_auth.$strip>;
1672
+ }, zod_v4_core.$strip>;
1672
1673
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
1673
1674
  session: {
1674
1675
  session: Record<string, any> & {
@@ -1847,20 +1848,20 @@ declare class AuthManager {
1847
1848
  requireHeaders: true;
1848
1849
  body: better_auth.ZodObject<{
1849
1850
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
1850
- provider: better_auth.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, better_auth.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
1851
+ provider: better_auth.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
1851
1852
  idToken: better_auth.ZodOptional<better_auth.ZodObject<{
1852
1853
  token: better_auth.ZodString;
1853
1854
  nonce: better_auth.ZodOptional<better_auth.ZodString>;
1854
1855
  accessToken: better_auth.ZodOptional<better_auth.ZodString>;
1855
1856
  refreshToken: better_auth.ZodOptional<better_auth.ZodString>;
1856
1857
  scopes: better_auth.ZodOptional<better_auth.ZodArray<better_auth.ZodString>>;
1857
- }, better_auth.$strip>>;
1858
+ }, zod_v4_core.$strip>>;
1858
1859
  requestSignUp: better_auth.ZodOptional<better_auth.ZodBoolean>;
1859
1860
  scopes: better_auth.ZodOptional<better_auth.ZodArray<better_auth.ZodString>>;
1860
1861
  errorCallbackURL: better_auth.ZodOptional<better_auth.ZodString>;
1861
1862
  disableRedirect: better_auth.ZodOptional<better_auth.ZodBoolean>;
1862
1863
  additionalData: better_auth.ZodOptional<better_auth.ZodRecord<better_auth.ZodString, better_auth.ZodAny>>;
1863
- }, better_auth.$strip>;
1864
+ }, zod_v4_core.$strip>;
1864
1865
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
1865
1866
  session: {
1866
1867
  session: Record<string, any> & {
@@ -2009,7 +2010,7 @@ declare class AuthManager {
2009
2010
  query: better_auth.ZodObject<{
2010
2011
  token: better_auth.ZodString;
2011
2012
  callbackURL: better_auth.ZodOptional<better_auth.ZodString>;
2012
- }, better_auth.$strip>;
2013
+ }, zod_v4_core.$strip>;
2013
2014
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<void>)[];
2014
2015
  metadata: {
2015
2016
  openapi: {
@@ -2049,7 +2050,7 @@ declare class AuthManager {
2049
2050
  body: better_auth.ZodObject<{
2050
2051
  providerId: better_auth.ZodString;
2051
2052
  accountId: better_auth.ZodOptional<better_auth.ZodString>;
2052
- }, better_auth.$strip>;
2053
+ }, zod_v4_core.$strip>;
2053
2054
  use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
2054
2055
  session: {
2055
2056
  session: Record<string, any> & {
@@ -2104,7 +2105,7 @@ declare class AuthManager {
2104
2105
  providerId: better_auth.ZodString;
2105
2106
  accountId: better_auth.ZodOptional<better_auth.ZodString>;
2106
2107
  userId: better_auth.ZodOptional<better_auth.ZodString>;
2107
- }, better_auth.$strip>;
2108
+ }, zod_v4_core.$strip>;
2108
2109
  metadata: {
2109
2110
  openapi: {
2110
2111
  description: string;
@@ -2163,7 +2164,7 @@ declare class AuthManager {
2163
2164
  providerId: better_auth.ZodString;
2164
2165
  accountId: better_auth.ZodOptional<better_auth.ZodString>;
2165
2166
  userId: better_auth.ZodOptional<better_auth.ZodString>;
2166
- }, better_auth.$strip>;
2167
+ }, zod_v4_core.$strip>;
2167
2168
  metadata: {
2168
2169
  openapi: {
2169
2170
  description: string;
@@ -2279,12 +2280,12 @@ declare class AuthManager {
2279
2280
  };
2280
2281
  query: better_auth.ZodOptional<better_auth.ZodObject<{
2281
2282
  accountId: better_auth.ZodOptional<better_auth.ZodString>;
2282
- }, better_auth.$strip>>;
2283
+ }, zod_v4_core.$strip>>;
2283
2284
  }, {
2284
2285
  user: better_auth.OAuth2UserInfo;
2285
2286
  data: Record<string, any>;
2286
2287
  } | null>;
2287
- }>;
2288
+ }>>;
2288
2289
  }
2289
2290
 
2290
2291
  /**
@@ -2746,7 +2747,7 @@ declare const SysUser: Omit<{
2746
2747
  abstract: boolean;
2747
2748
  datasource: string;
2748
2749
  fields: Record<string, {
2749
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
2750
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
2750
2751
  required: boolean;
2751
2752
  searchable: boolean;
2752
2753
  multiple: boolean;
@@ -2805,7 +2806,7 @@ declare const SysUser: Omit<{
2805
2806
  allowScanning?: boolean | undefined;
2806
2807
  currencyConfig?: {
2807
2808
  precision: number;
2808
- currencyMode: "fixed" | "dynamic";
2809
+ currencyMode: "dynamic" | "fixed";
2809
2810
  defaultCurrency: string;
2810
2811
  } | undefined;
2811
2812
  vectorConfig?: {
@@ -3007,7 +3008,7 @@ declare const SysUser: Omit<{
3007
3008
  actions?: {
3008
3009
  name: string;
3009
3010
  label: string;
3010
- type: "url" | "script" | "modal" | "flow" | "api";
3011
+ type: "url" | "flow" | "api" | "script" | "modal";
3011
3012
  refreshAfter: boolean;
3012
3013
  objectName?: string | undefined;
3013
3014
  icon?: string | undefined;
@@ -4197,7 +4198,7 @@ declare const SysSession: Omit<{
4197
4198
  abstract: boolean;
4198
4199
  datasource: string;
4199
4200
  fields: Record<string, {
4200
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
4201
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
4201
4202
  required: boolean;
4202
4203
  searchable: boolean;
4203
4204
  multiple: boolean;
@@ -4256,7 +4257,7 @@ declare const SysSession: Omit<{
4256
4257
  allowScanning?: boolean | undefined;
4257
4258
  currencyConfig?: {
4258
4259
  precision: number;
4259
- currencyMode: "fixed" | "dynamic";
4260
+ currencyMode: "dynamic" | "fixed";
4260
4261
  defaultCurrency: string;
4261
4262
  } | undefined;
4262
4263
  vectorConfig?: {
@@ -4458,7 +4459,7 @@ declare const SysSession: Omit<{
4458
4459
  actions?: {
4459
4460
  name: string;
4460
4461
  label: string;
4461
- type: "url" | "script" | "modal" | "flow" | "api";
4462
+ type: "url" | "flow" | "api" | "script" | "modal";
4462
4463
  refreshAfter: boolean;
4463
4464
  objectName?: string | undefined;
4464
4465
  icon?: string | undefined;
@@ -5801,7 +5802,7 @@ declare const SysAccount: Omit<{
5801
5802
  abstract: boolean;
5802
5803
  datasource: string;
5803
5804
  fields: Record<string, {
5804
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
5805
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
5805
5806
  required: boolean;
5806
5807
  searchable: boolean;
5807
5808
  multiple: boolean;
@@ -5860,7 +5861,7 @@ declare const SysAccount: Omit<{
5860
5861
  allowScanning?: boolean | undefined;
5861
5862
  currencyConfig?: {
5862
5863
  precision: number;
5863
- currencyMode: "fixed" | "dynamic";
5864
+ currencyMode: "dynamic" | "fixed";
5864
5865
  defaultCurrency: string;
5865
5866
  } | undefined;
5866
5867
  vectorConfig?: {
@@ -6062,7 +6063,7 @@ declare const SysAccount: Omit<{
6062
6063
  actions?: {
6063
6064
  name: string;
6064
6065
  label: string;
6065
- type: "url" | "script" | "modal" | "flow" | "api";
6066
+ type: "url" | "flow" | "api" | "script" | "modal";
6066
6067
  refreshAfter: boolean;
6067
6068
  objectName?: string | undefined;
6068
6069
  icon?: string | undefined;
@@ -8192,7 +8193,7 @@ declare const SysVerification: Omit<{
8192
8193
  abstract: boolean;
8193
8194
  datasource: string;
8194
8195
  fields: Record<string, {
8195
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
8196
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
8196
8197
  required: boolean;
8197
8198
  searchable: boolean;
8198
8199
  multiple: boolean;
@@ -8251,7 +8252,7 @@ declare const SysVerification: Omit<{
8251
8252
  allowScanning?: boolean | undefined;
8252
8253
  currencyConfig?: {
8253
8254
  precision: number;
8254
- currencyMode: "fixed" | "dynamic";
8255
+ currencyMode: "dynamic" | "fixed";
8255
8256
  defaultCurrency: string;
8256
8257
  } | undefined;
8257
8258
  vectorConfig?: {
@@ -8453,7 +8454,7 @@ declare const SysVerification: Omit<{
8453
8454
  actions?: {
8454
8455
  name: string;
8455
8456
  label: string;
8456
- type: "url" | "script" | "modal" | "flow" | "api";
8457
+ type: "url" | "flow" | "api" | "script" | "modal";
8457
8458
  refreshAfter: boolean;
8458
8459
  objectName?: string | undefined;
8459
8460
  icon?: string | undefined;
@@ -9480,7 +9481,7 @@ declare const SysOrganization: Omit<{
9480
9481
  abstract: boolean;
9481
9482
  datasource: string;
9482
9483
  fields: Record<string, {
9483
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
9484
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
9484
9485
  required: boolean;
9485
9486
  searchable: boolean;
9486
9487
  multiple: boolean;
@@ -9539,7 +9540,7 @@ declare const SysOrganization: Omit<{
9539
9540
  allowScanning?: boolean | undefined;
9540
9541
  currencyConfig?: {
9541
9542
  precision: number;
9542
- currencyMode: "fixed" | "dynamic";
9543
+ currencyMode: "dynamic" | "fixed";
9543
9544
  defaultCurrency: string;
9544
9545
  } | undefined;
9545
9546
  vectorConfig?: {
@@ -9741,7 +9742,7 @@ declare const SysOrganization: Omit<{
9741
9742
  actions?: {
9742
9743
  name: string;
9743
9744
  label: string;
9744
- type: "url" | "script" | "modal" | "flow" | "api";
9745
+ type: "url" | "flow" | "api" | "script" | "modal";
9745
9746
  refreshAfter: boolean;
9746
9747
  objectName?: string | undefined;
9747
9748
  icon?: string | undefined;
@@ -10922,7 +10923,7 @@ declare const SysMember: Omit<{
10922
10923
  abstract: boolean;
10923
10924
  datasource: string;
10924
10925
  fields: Record<string, {
10925
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
10926
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
10926
10927
  required: boolean;
10927
10928
  searchable: boolean;
10928
10929
  multiple: boolean;
@@ -10981,7 +10982,7 @@ declare const SysMember: Omit<{
10981
10982
  allowScanning?: boolean | undefined;
10982
10983
  currencyConfig?: {
10983
10984
  precision: number;
10984
- currencyMode: "fixed" | "dynamic";
10985
+ currencyMode: "dynamic" | "fixed";
10985
10986
  defaultCurrency: string;
10986
10987
  } | undefined;
10987
10988
  vectorConfig?: {
@@ -11183,7 +11184,7 @@ declare const SysMember: Omit<{
11183
11184
  actions?: {
11184
11185
  name: string;
11185
11186
  label: string;
11186
- type: "url" | "script" | "modal" | "flow" | "api";
11187
+ type: "url" | "flow" | "api" | "script" | "modal";
11187
11188
  refreshAfter: boolean;
11188
11189
  objectName?: string | undefined;
11189
11190
  icon?: string | undefined;
@@ -12048,7 +12049,7 @@ declare const SysInvitation: Omit<{
12048
12049
  abstract: boolean;
12049
12050
  datasource: string;
12050
12051
  fields: Record<string, {
12051
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
12052
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
12052
12053
  required: boolean;
12053
12054
  searchable: boolean;
12054
12055
  multiple: boolean;
@@ -12107,7 +12108,7 @@ declare const SysInvitation: Omit<{
12107
12108
  allowScanning?: boolean | undefined;
12108
12109
  currencyConfig?: {
12109
12110
  precision: number;
12110
- currencyMode: "fixed" | "dynamic";
12111
+ currencyMode: "dynamic" | "fixed";
12111
12112
  defaultCurrency: string;
12112
12113
  } | undefined;
12113
12114
  vectorConfig?: {
@@ -12309,7 +12310,7 @@ declare const SysInvitation: Omit<{
12309
12310
  actions?: {
12310
12311
  name: string;
12311
12312
  label: string;
12312
- type: "url" | "script" | "modal" | "flow" | "api";
12313
+ type: "url" | "flow" | "api" | "script" | "modal";
12313
12314
  refreshAfter: boolean;
12314
12315
  objectName?: string | undefined;
12315
12316
  icon?: string | undefined;
@@ -13807,7 +13808,7 @@ declare const SysTeam: Omit<{
13807
13808
  abstract: boolean;
13808
13809
  datasource: string;
13809
13810
  fields: Record<string, {
13810
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
13811
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
13811
13812
  required: boolean;
13812
13813
  searchable: boolean;
13813
13814
  multiple: boolean;
@@ -13866,7 +13867,7 @@ declare const SysTeam: Omit<{
13866
13867
  allowScanning?: boolean | undefined;
13867
13868
  currencyConfig?: {
13868
13869
  precision: number;
13869
- currencyMode: "fixed" | "dynamic";
13870
+ currencyMode: "dynamic" | "fixed";
13870
13871
  defaultCurrency: string;
13871
13872
  } | undefined;
13872
13873
  vectorConfig?: {
@@ -14068,7 +14069,7 @@ declare const SysTeam: Omit<{
14068
14069
  actions?: {
14069
14070
  name: string;
14070
14071
  label: string;
14071
- type: "url" | "script" | "modal" | "flow" | "api";
14072
+ type: "url" | "flow" | "api" | "script" | "modal";
14072
14073
  refreshAfter: boolean;
14073
14074
  objectName?: string | undefined;
14074
14075
  icon?: string | undefined;
@@ -14933,7 +14934,7 @@ declare const SysTeamMember: Omit<{
14933
14934
  abstract: boolean;
14934
14935
  datasource: string;
14935
14936
  fields: Record<string, {
14936
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
14937
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
14937
14938
  required: boolean;
14938
14939
  searchable: boolean;
14939
14940
  multiple: boolean;
@@ -14992,7 +14993,7 @@ declare const SysTeamMember: Omit<{
14992
14993
  allowScanning?: boolean | undefined;
14993
14994
  currencyConfig?: {
14994
14995
  precision: number;
14995
- currencyMode: "fixed" | "dynamic";
14996
+ currencyMode: "dynamic" | "fixed";
14996
14997
  defaultCurrency: string;
14997
14998
  } | undefined;
14998
14999
  vectorConfig?: {
@@ -15194,7 +15195,7 @@ declare const SysTeamMember: Omit<{
15194
15195
  actions?: {
15195
15196
  name: string;
15196
15197
  label: string;
15197
- type: "url" | "script" | "modal" | "flow" | "api";
15198
+ type: "url" | "flow" | "api" | "script" | "modal";
15198
15199
  refreshAfter: boolean;
15199
15200
  objectName?: string | undefined;
15200
15201
  icon?: string | undefined;
@@ -15900,7 +15901,7 @@ declare const SysApiKey: Omit<{
15900
15901
  abstract: boolean;
15901
15902
  datasource: string;
15902
15903
  fields: Record<string, {
15903
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
15904
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
15904
15905
  required: boolean;
15905
15906
  searchable: boolean;
15906
15907
  multiple: boolean;
@@ -15959,7 +15960,7 @@ declare const SysApiKey: Omit<{
15959
15960
  allowScanning?: boolean | undefined;
15960
15961
  currencyConfig?: {
15961
15962
  precision: number;
15962
- currencyMode: "fixed" | "dynamic";
15963
+ currencyMode: "dynamic" | "fixed";
15963
15964
  defaultCurrency: string;
15964
15965
  } | undefined;
15965
15966
  vectorConfig?: {
@@ -16161,7 +16162,7 @@ declare const SysApiKey: Omit<{
16161
16162
  actions?: {
16162
16163
  name: string;
16163
16164
  label: string;
16164
- type: "url" | "script" | "modal" | "flow" | "api";
16165
+ type: "url" | "flow" | "api" | "script" | "modal";
16165
16166
  refreshAfter: boolean;
16166
16167
  objectName?: string | undefined;
16167
16168
  icon?: string | undefined;
@@ -17976,7 +17977,7 @@ declare const SysTwoFactor: Omit<{
17976
17977
  abstract: boolean;
17977
17978
  datasource: string;
17978
17979
  fields: Record<string, {
17979
- type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "time" | "code" | "json" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
17980
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
17980
17981
  required: boolean;
17981
17982
  searchable: boolean;
17982
17983
  multiple: boolean;
@@ -18035,7 +18036,7 @@ declare const SysTwoFactor: Omit<{
18035
18036
  allowScanning?: boolean | undefined;
18036
18037
  currencyConfig?: {
18037
18038
  precision: number;
18038
- currencyMode: "fixed" | "dynamic";
18039
+ currencyMode: "dynamic" | "fixed";
18039
18040
  defaultCurrency: string;
18040
18041
  } | undefined;
18041
18042
  vectorConfig?: {
@@ -18237,7 +18238,7 @@ declare const SysTwoFactor: Omit<{
18237
18238
  actions?: {
18238
18239
  name: string;
18239
18240
  label: string;
18240
- type: "url" | "script" | "modal" | "flow" | "api";
18241
+ type: "url" | "flow" | "api" | "script" | "modal";
18241
18242
  refreshAfter: boolean;
18242
18243
  objectName?: string | undefined;
18243
18244
  icon?: string | undefined;
@@ -19243,4 +19244,1295 @@ declare const SysTwoFactor: Omit<{
19243
19244
  };
19244
19245
  }, "fields">;
19245
19246
 
19246
- export { AUTH_ACCOUNT_CONFIG, AUTH_INVITATION_SCHEMA, AUTH_MEMBER_SCHEMA, AUTH_MODEL_TO_PROTOCOL, AUTH_ORGANIZATION_SCHEMA, AUTH_ORG_SESSION_FIELDS, AUTH_SESSION_CONFIG, AUTH_TEAM_MEMBER_SCHEMA, AUTH_TEAM_SCHEMA, AUTH_TWO_FACTOR_SCHEMA, AUTH_TWO_FACTOR_USER_FIELDS, AUTH_USER_CONFIG, AUTH_VERIFICATION_CONFIG, SysAccount as AuthAccount, AuthManager, type AuthManagerOptions, AuthPlugin, type AuthPluginOptions, SysSession as AuthSession, SysUser as AuthUser, SysVerification as AuthVerification, SysAccount, SysApiKey, SysInvitation, SysMember, SysOrganization, SysSession, SysTeam, SysTeamMember, SysTwoFactor, SysUser, SysVerification, buildOrganizationPluginSchema, buildTwoFactorPluginSchema, createObjectQLAdapter, createObjectQLAdapterFactory, resolveProtocolName };
19247
+ /**
19248
+ * sys_user_preference — System User Preference Object
19249
+ *
19250
+ * Per-user key-value preferences for storing UI state, settings, and personalization.
19251
+ * Supports the User Preferences layer in the Config Resolution hierarchy
19252
+ * (Runtime > User Preferences > Tenant > Env).
19253
+ *
19254
+ * Common use cases:
19255
+ * - UI preferences: theme, locale, timezone, sidebar state
19256
+ * - Feature flags: plugin.ai.auto_save, plugin.dev.debug_mode
19257
+ * - User-specific settings: default_view, notifications_enabled
19258
+ *
19259
+ * @namespace sys
19260
+ */
19261
+ declare const SysUserPreference: Omit<{
19262
+ name: string;
19263
+ active: boolean;
19264
+ isSystem: boolean;
19265
+ abstract: boolean;
19266
+ datasource: string;
19267
+ fields: Record<string, {
19268
+ type: "number" | "boolean" | "select" | "date" | "file" | "email" | "url" | "image" | "password" | "json" | "time" | "code" | "tags" | "lookup" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "toggle" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "vector";
19269
+ required: boolean;
19270
+ searchable: boolean;
19271
+ multiple: boolean;
19272
+ unique: boolean;
19273
+ deleteBehavior: "set_null" | "cascade" | "restrict";
19274
+ auditTrail: boolean;
19275
+ hidden: boolean;
19276
+ readonly: boolean;
19277
+ sortable: boolean;
19278
+ index: boolean;
19279
+ externalId: boolean;
19280
+ name?: string | undefined;
19281
+ label?: string | undefined;
19282
+ description?: string | undefined;
19283
+ format?: string | undefined;
19284
+ columnName?: string | undefined;
19285
+ defaultValue?: unknown;
19286
+ maxLength?: number | undefined;
19287
+ minLength?: number | undefined;
19288
+ precision?: number | undefined;
19289
+ scale?: number | undefined;
19290
+ min?: number | undefined;
19291
+ max?: number | undefined;
19292
+ options?: {
19293
+ label: string;
19294
+ value: string;
19295
+ color?: string | undefined;
19296
+ default?: boolean | undefined;
19297
+ }[] | undefined;
19298
+ reference?: string | undefined;
19299
+ referenceFilters?: string[] | undefined;
19300
+ writeRequiresMasterRead?: boolean | undefined;
19301
+ expression?: string | undefined;
19302
+ summaryOperations?: {
19303
+ object: string;
19304
+ field: string;
19305
+ function: "count" | "sum" | "avg" | "min" | "max";
19306
+ } | undefined;
19307
+ language?: string | undefined;
19308
+ theme?: string | undefined;
19309
+ lineNumbers?: boolean | undefined;
19310
+ maxRating?: number | undefined;
19311
+ allowHalf?: boolean | undefined;
19312
+ displayMap?: boolean | undefined;
19313
+ allowGeocoding?: boolean | undefined;
19314
+ addressFormat?: "us" | "uk" | "international" | undefined;
19315
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
19316
+ allowAlpha?: boolean | undefined;
19317
+ presetColors?: string[] | undefined;
19318
+ step?: number | undefined;
19319
+ showValue?: boolean | undefined;
19320
+ marks?: Record<string, string> | undefined;
19321
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
19322
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
19323
+ displayValue?: boolean | undefined;
19324
+ allowScanning?: boolean | undefined;
19325
+ currencyConfig?: {
19326
+ precision: number;
19327
+ currencyMode: "dynamic" | "fixed";
19328
+ defaultCurrency: string;
19329
+ } | undefined;
19330
+ vectorConfig?: {
19331
+ dimensions: number;
19332
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
19333
+ normalized: boolean;
19334
+ indexed: boolean;
19335
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
19336
+ } | undefined;
19337
+ fileAttachmentConfig?: {
19338
+ virusScan: boolean;
19339
+ virusScanOnUpload: boolean;
19340
+ quarantineOnThreat: boolean;
19341
+ allowMultiple: boolean;
19342
+ allowReplace: boolean;
19343
+ allowDelete: boolean;
19344
+ requireUpload: boolean;
19345
+ extractMetadata: boolean;
19346
+ extractText: boolean;
19347
+ versioningEnabled: boolean;
19348
+ publicRead: boolean;
19349
+ presignedUrlExpiry: number;
19350
+ minSize?: number | undefined;
19351
+ maxSize?: number | undefined;
19352
+ allowedTypes?: string[] | undefined;
19353
+ blockedTypes?: string[] | undefined;
19354
+ allowedMimeTypes?: string[] | undefined;
19355
+ blockedMimeTypes?: string[] | undefined;
19356
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
19357
+ storageProvider?: string | undefined;
19358
+ storageBucket?: string | undefined;
19359
+ storagePrefix?: string | undefined;
19360
+ imageValidation?: {
19361
+ generateThumbnails: boolean;
19362
+ preserveMetadata: boolean;
19363
+ autoRotate: boolean;
19364
+ minWidth?: number | undefined;
19365
+ maxWidth?: number | undefined;
19366
+ minHeight?: number | undefined;
19367
+ maxHeight?: number | undefined;
19368
+ aspectRatio?: string | undefined;
19369
+ thumbnailSizes?: {
19370
+ name: string;
19371
+ width: number;
19372
+ height: number;
19373
+ crop: boolean;
19374
+ }[] | undefined;
19375
+ } | undefined;
19376
+ maxVersions?: number | undefined;
19377
+ } | undefined;
19378
+ encryptionConfig?: {
19379
+ enabled: boolean;
19380
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
19381
+ keyManagement: {
19382
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
19383
+ keyId?: string | undefined;
19384
+ rotationPolicy?: {
19385
+ enabled: boolean;
19386
+ frequencyDays: number;
19387
+ retainOldVersions: number;
19388
+ autoRotate: boolean;
19389
+ } | undefined;
19390
+ };
19391
+ scope: "field" | "record" | "table" | "database";
19392
+ deterministicEncryption: boolean;
19393
+ searchableEncryption: boolean;
19394
+ } | undefined;
19395
+ maskingRule?: {
19396
+ field: string;
19397
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
19398
+ preserveFormat: boolean;
19399
+ preserveLength: boolean;
19400
+ pattern?: string | undefined;
19401
+ roles?: string[] | undefined;
19402
+ exemptRoles?: string[] | undefined;
19403
+ } | undefined;
19404
+ dependencies?: string[] | undefined;
19405
+ cached?: {
19406
+ enabled: boolean;
19407
+ ttl: number;
19408
+ invalidateOn: string[];
19409
+ } | undefined;
19410
+ dataQuality?: {
19411
+ uniqueness: boolean;
19412
+ completeness: number;
19413
+ accuracy?: {
19414
+ source: string;
19415
+ threshold: number;
19416
+ } | undefined;
19417
+ } | undefined;
19418
+ group?: string | undefined;
19419
+ conditionalRequired?: string | undefined;
19420
+ inlineHelpText?: string | undefined;
19421
+ trackFeedHistory?: boolean | undefined;
19422
+ caseSensitive?: boolean | undefined;
19423
+ autonumberFormat?: string | undefined;
19424
+ }>;
19425
+ label?: string | undefined;
19426
+ pluralLabel?: string | undefined;
19427
+ description?: string | undefined;
19428
+ icon?: string | undefined;
19429
+ namespace?: string | undefined;
19430
+ tags?: string[] | undefined;
19431
+ tableName?: string | undefined;
19432
+ indexes?: {
19433
+ fields: string[];
19434
+ type: "hash" | "btree" | "gin" | "gist" | "fulltext";
19435
+ unique: boolean;
19436
+ name?: string | undefined;
19437
+ partial?: string | undefined;
19438
+ }[] | undefined;
19439
+ tenancy?: {
19440
+ enabled: boolean;
19441
+ strategy: "shared" | "isolated" | "hybrid";
19442
+ tenantField: string;
19443
+ crossTenantAccess: boolean;
19444
+ } | undefined;
19445
+ softDelete?: {
19446
+ enabled: boolean;
19447
+ field: string;
19448
+ cascadeDelete: boolean;
19449
+ } | undefined;
19450
+ versioning?: {
19451
+ enabled: boolean;
19452
+ strategy: "snapshot" | "delta" | "event-sourcing";
19453
+ versionField: string;
19454
+ retentionDays?: number | undefined;
19455
+ } | undefined;
19456
+ partitioning?: {
19457
+ enabled: boolean;
19458
+ strategy: "hash" | "range" | "list";
19459
+ key: string;
19460
+ interval?: string | undefined;
19461
+ } | undefined;
19462
+ cdc?: {
19463
+ enabled: boolean;
19464
+ events: ("update" | "delete" | "insert")[];
19465
+ destination: string;
19466
+ } | undefined;
19467
+ validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
19468
+ stateMachines?: Record<string, {
19469
+ id: string;
19470
+ initial: string;
19471
+ states: Record<string, StateNodeConfig>;
19472
+ description?: string | undefined;
19473
+ contextSchema?: Record<string, unknown> | undefined;
19474
+ on?: Record<string, string | {
19475
+ target?: string | undefined;
19476
+ cond?: string | {
19477
+ type: string;
19478
+ params?: Record<string, unknown> | undefined;
19479
+ } | undefined;
19480
+ actions?: (string | {
19481
+ type: string;
19482
+ params?: Record<string, unknown> | undefined;
19483
+ })[] | undefined;
19484
+ description?: string | undefined;
19485
+ } | {
19486
+ target?: string | undefined;
19487
+ cond?: string | {
19488
+ type: string;
19489
+ params?: Record<string, unknown> | undefined;
19490
+ } | undefined;
19491
+ actions?: (string | {
19492
+ type: string;
19493
+ params?: Record<string, unknown> | undefined;
19494
+ })[] | undefined;
19495
+ description?: string | undefined;
19496
+ }[]> | undefined;
19497
+ }> | undefined;
19498
+ displayNameField?: string | undefined;
19499
+ recordName?: {
19500
+ type: "text" | "autonumber";
19501
+ displayFormat?: string | undefined;
19502
+ startNumber?: number | undefined;
19503
+ } | undefined;
19504
+ titleFormat?: string | undefined;
19505
+ compactLayout?: string[] | undefined;
19506
+ search?: {
19507
+ fields: string[];
19508
+ displayFields?: string[] | undefined;
19509
+ filters?: string[] | undefined;
19510
+ } | undefined;
19511
+ enable?: {
19512
+ trackHistory: boolean;
19513
+ searchable: boolean;
19514
+ apiEnabled: boolean;
19515
+ files: boolean;
19516
+ feeds: boolean;
19517
+ activities: boolean;
19518
+ trash: boolean;
19519
+ mru: boolean;
19520
+ clone: boolean;
19521
+ apiMethods?: ("update" | "search" | "list" | "delete" | "upsert" | "history" | "get" | "create" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
19522
+ } | undefined;
19523
+ recordTypes?: string[] | undefined;
19524
+ sharingModel?: "full" | "private" | "read" | "read_write" | undefined;
19525
+ keyPrefix?: string | undefined;
19526
+ actions?: {
19527
+ name: string;
19528
+ label: string;
19529
+ type: "url" | "flow" | "api" | "script" | "modal";
19530
+ refreshAfter: boolean;
19531
+ objectName?: string | undefined;
19532
+ icon?: string | undefined;
19533
+ locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
19534
+ component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
19535
+ target?: string | undefined;
19536
+ execute?: string | undefined;
19537
+ params?: {
19538
+ name: string;
19539
+ label: string;
19540
+ type: "number" | "boolean" | "date" | "lookup" | "file" | "url" | "json" | "text" | "textarea" | "email" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "code" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "tags" | "vector";
19541
+ required: boolean;
19542
+ options?: {
19543
+ label: string;
19544
+ value: string;
19545
+ }[] | undefined;
19546
+ }[] | undefined;
19547
+ variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
19548
+ confirmText?: string | undefined;
19549
+ successMessage?: string | undefined;
19550
+ visible?: string | undefined;
19551
+ disabled?: string | boolean | undefined;
19552
+ shortcut?: string | undefined;
19553
+ bulkEnabled?: boolean | undefined;
19554
+ timeout?: number | undefined;
19555
+ aria?: {
19556
+ ariaLabel?: string | undefined;
19557
+ ariaDescribedBy?: string | undefined;
19558
+ role?: string | undefined;
19559
+ } | undefined;
19560
+ }[] | undefined;
19561
+ }, "fields"> & Pick<{
19562
+ readonly namespace: "sys";
19563
+ readonly name: "user_preference";
19564
+ readonly label: "User Preference";
19565
+ readonly pluralLabel: "User Preferences";
19566
+ readonly icon: "settings";
19567
+ readonly isSystem: true;
19568
+ readonly description: "Per-user key-value preferences (theme, locale, etc.)";
19569
+ readonly titleFormat: "{key}";
19570
+ readonly compactLayout: ["user_id", "key"];
19571
+ readonly fields: {
19572
+ readonly id: {
19573
+ readonly format?: string | undefined;
19574
+ readonly expression?: string | undefined;
19575
+ readonly readonly?: boolean | undefined;
19576
+ readonly defaultValue?: unknown;
19577
+ readonly min?: number | undefined;
19578
+ readonly max?: number | undefined;
19579
+ readonly name?: string | undefined;
19580
+ readonly encryptionConfig?: {
19581
+ enabled: boolean;
19582
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
19583
+ keyManagement: {
19584
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
19585
+ keyId?: string | undefined;
19586
+ rotationPolicy?: {
19587
+ enabled: boolean;
19588
+ frequencyDays: number;
19589
+ retainOldVersions: number;
19590
+ autoRotate: boolean;
19591
+ } | undefined;
19592
+ };
19593
+ scope: "table" | "record" | "field" | "database";
19594
+ deterministicEncryption: boolean;
19595
+ searchableEncryption: boolean;
19596
+ } | undefined;
19597
+ readonly label?: string | undefined;
19598
+ readonly precision?: number | undefined;
19599
+ readonly description?: string | undefined;
19600
+ readonly columnName?: string | undefined;
19601
+ readonly required?: boolean | undefined;
19602
+ readonly searchable?: boolean | undefined;
19603
+ readonly multiple?: boolean | undefined;
19604
+ readonly unique?: boolean | undefined;
19605
+ readonly maxLength?: number | undefined;
19606
+ readonly minLength?: number | undefined;
19607
+ readonly scale?: number | undefined;
19608
+ readonly options?: {
19609
+ label: string;
19610
+ value: string;
19611
+ color?: string | undefined;
19612
+ default?: boolean | undefined;
19613
+ }[] | undefined;
19614
+ readonly reference?: string | undefined;
19615
+ readonly referenceFilters?: string[] | undefined;
19616
+ readonly writeRequiresMasterRead?: boolean | undefined;
19617
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
19618
+ readonly summaryOperations?: {
19619
+ object: string;
19620
+ field: string;
19621
+ function: "count" | "sum" | "avg" | "min" | "max";
19622
+ } | undefined;
19623
+ readonly language?: string | undefined;
19624
+ readonly theme?: string | undefined;
19625
+ readonly lineNumbers?: boolean | undefined;
19626
+ readonly maxRating?: number | undefined;
19627
+ readonly allowHalf?: boolean | undefined;
19628
+ readonly displayMap?: boolean | undefined;
19629
+ readonly allowGeocoding?: boolean | undefined;
19630
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
19631
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
19632
+ readonly allowAlpha?: boolean | undefined;
19633
+ readonly presetColors?: string[] | undefined;
19634
+ readonly step?: number | undefined;
19635
+ readonly showValue?: boolean | undefined;
19636
+ readonly marks?: Record<string, string> | undefined;
19637
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
19638
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
19639
+ readonly displayValue?: boolean | undefined;
19640
+ readonly allowScanning?: boolean | undefined;
19641
+ readonly currencyConfig?: {
19642
+ precision: number;
19643
+ currencyMode: "dynamic" | "fixed";
19644
+ defaultCurrency: string;
19645
+ } | undefined;
19646
+ readonly vectorConfig?: {
19647
+ dimensions: number;
19648
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
19649
+ normalized: boolean;
19650
+ indexed: boolean;
19651
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
19652
+ } | undefined;
19653
+ readonly fileAttachmentConfig?: {
19654
+ virusScan: boolean;
19655
+ virusScanOnUpload: boolean;
19656
+ quarantineOnThreat: boolean;
19657
+ allowMultiple: boolean;
19658
+ allowReplace: boolean;
19659
+ allowDelete: boolean;
19660
+ requireUpload: boolean;
19661
+ extractMetadata: boolean;
19662
+ extractText: boolean;
19663
+ versioningEnabled: boolean;
19664
+ publicRead: boolean;
19665
+ presignedUrlExpiry: number;
19666
+ minSize?: number | undefined;
19667
+ maxSize?: number | undefined;
19668
+ allowedTypes?: string[] | undefined;
19669
+ blockedTypes?: string[] | undefined;
19670
+ allowedMimeTypes?: string[] | undefined;
19671
+ blockedMimeTypes?: string[] | undefined;
19672
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
19673
+ storageProvider?: string | undefined;
19674
+ storageBucket?: string | undefined;
19675
+ storagePrefix?: string | undefined;
19676
+ imageValidation?: {
19677
+ generateThumbnails: boolean;
19678
+ preserveMetadata: boolean;
19679
+ autoRotate: boolean;
19680
+ minWidth?: number | undefined;
19681
+ maxWidth?: number | undefined;
19682
+ minHeight?: number | undefined;
19683
+ maxHeight?: number | undefined;
19684
+ aspectRatio?: string | undefined;
19685
+ thumbnailSizes?: {
19686
+ name: string;
19687
+ width: number;
19688
+ height: number;
19689
+ crop: boolean;
19690
+ }[] | undefined;
19691
+ } | undefined;
19692
+ maxVersions?: number | undefined;
19693
+ } | undefined;
19694
+ readonly maskingRule?: {
19695
+ field: string;
19696
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
19697
+ preserveFormat: boolean;
19698
+ preserveLength: boolean;
19699
+ pattern?: string | undefined;
19700
+ roles?: string[] | undefined;
19701
+ exemptRoles?: string[] | undefined;
19702
+ } | undefined;
19703
+ readonly auditTrail?: boolean | undefined;
19704
+ readonly dependencies?: string[] | undefined;
19705
+ readonly cached?: {
19706
+ enabled: boolean;
19707
+ ttl: number;
19708
+ invalidateOn: string[];
19709
+ } | undefined;
19710
+ readonly dataQuality?: {
19711
+ uniqueness: boolean;
19712
+ completeness: number;
19713
+ accuracy?: {
19714
+ source: string;
19715
+ threshold: number;
19716
+ } | undefined;
19717
+ } | undefined;
19718
+ readonly group?: string | undefined;
19719
+ readonly conditionalRequired?: string | undefined;
19720
+ readonly hidden?: boolean | undefined;
19721
+ readonly sortable?: boolean | undefined;
19722
+ readonly inlineHelpText?: string | undefined;
19723
+ readonly trackFeedHistory?: boolean | undefined;
19724
+ readonly caseSensitive?: boolean | undefined;
19725
+ readonly autonumberFormat?: string | undefined;
19726
+ readonly index?: boolean | undefined;
19727
+ readonly externalId?: boolean | undefined;
19728
+ readonly type: "text";
19729
+ };
19730
+ readonly created_at: {
19731
+ readonly format?: string | undefined;
19732
+ readonly expression?: string | undefined;
19733
+ readonly readonly?: boolean | undefined;
19734
+ readonly defaultValue?: unknown;
19735
+ readonly min?: number | undefined;
19736
+ readonly max?: number | undefined;
19737
+ readonly name?: string | undefined;
19738
+ readonly encryptionConfig?: {
19739
+ enabled: boolean;
19740
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
19741
+ keyManagement: {
19742
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
19743
+ keyId?: string | undefined;
19744
+ rotationPolicy?: {
19745
+ enabled: boolean;
19746
+ frequencyDays: number;
19747
+ retainOldVersions: number;
19748
+ autoRotate: boolean;
19749
+ } | undefined;
19750
+ };
19751
+ scope: "table" | "record" | "field" | "database";
19752
+ deterministicEncryption: boolean;
19753
+ searchableEncryption: boolean;
19754
+ } | undefined;
19755
+ readonly label?: string | undefined;
19756
+ readonly precision?: number | undefined;
19757
+ readonly description?: string | undefined;
19758
+ readonly columnName?: string | undefined;
19759
+ readonly required?: boolean | undefined;
19760
+ readonly searchable?: boolean | undefined;
19761
+ readonly multiple?: boolean | undefined;
19762
+ readonly unique?: boolean | undefined;
19763
+ readonly maxLength?: number | undefined;
19764
+ readonly minLength?: number | undefined;
19765
+ readonly scale?: number | undefined;
19766
+ readonly options?: {
19767
+ label: string;
19768
+ value: string;
19769
+ color?: string | undefined;
19770
+ default?: boolean | undefined;
19771
+ }[] | undefined;
19772
+ readonly reference?: string | undefined;
19773
+ readonly referenceFilters?: string[] | undefined;
19774
+ readonly writeRequiresMasterRead?: boolean | undefined;
19775
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
19776
+ readonly summaryOperations?: {
19777
+ object: string;
19778
+ field: string;
19779
+ function: "count" | "sum" | "avg" | "min" | "max";
19780
+ } | undefined;
19781
+ readonly language?: string | undefined;
19782
+ readonly theme?: string | undefined;
19783
+ readonly lineNumbers?: boolean | undefined;
19784
+ readonly maxRating?: number | undefined;
19785
+ readonly allowHalf?: boolean | undefined;
19786
+ readonly displayMap?: boolean | undefined;
19787
+ readonly allowGeocoding?: boolean | undefined;
19788
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
19789
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
19790
+ readonly allowAlpha?: boolean | undefined;
19791
+ readonly presetColors?: string[] | undefined;
19792
+ readonly step?: number | undefined;
19793
+ readonly showValue?: boolean | undefined;
19794
+ readonly marks?: Record<string, string> | undefined;
19795
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
19796
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
19797
+ readonly displayValue?: boolean | undefined;
19798
+ readonly allowScanning?: boolean | undefined;
19799
+ readonly currencyConfig?: {
19800
+ precision: number;
19801
+ currencyMode: "dynamic" | "fixed";
19802
+ defaultCurrency: string;
19803
+ } | undefined;
19804
+ readonly vectorConfig?: {
19805
+ dimensions: number;
19806
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
19807
+ normalized: boolean;
19808
+ indexed: boolean;
19809
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
19810
+ } | undefined;
19811
+ readonly fileAttachmentConfig?: {
19812
+ virusScan: boolean;
19813
+ virusScanOnUpload: boolean;
19814
+ quarantineOnThreat: boolean;
19815
+ allowMultiple: boolean;
19816
+ allowReplace: boolean;
19817
+ allowDelete: boolean;
19818
+ requireUpload: boolean;
19819
+ extractMetadata: boolean;
19820
+ extractText: boolean;
19821
+ versioningEnabled: boolean;
19822
+ publicRead: boolean;
19823
+ presignedUrlExpiry: number;
19824
+ minSize?: number | undefined;
19825
+ maxSize?: number | undefined;
19826
+ allowedTypes?: string[] | undefined;
19827
+ blockedTypes?: string[] | undefined;
19828
+ allowedMimeTypes?: string[] | undefined;
19829
+ blockedMimeTypes?: string[] | undefined;
19830
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
19831
+ storageProvider?: string | undefined;
19832
+ storageBucket?: string | undefined;
19833
+ storagePrefix?: string | undefined;
19834
+ imageValidation?: {
19835
+ generateThumbnails: boolean;
19836
+ preserveMetadata: boolean;
19837
+ autoRotate: boolean;
19838
+ minWidth?: number | undefined;
19839
+ maxWidth?: number | undefined;
19840
+ minHeight?: number | undefined;
19841
+ maxHeight?: number | undefined;
19842
+ aspectRatio?: string | undefined;
19843
+ thumbnailSizes?: {
19844
+ name: string;
19845
+ width: number;
19846
+ height: number;
19847
+ crop: boolean;
19848
+ }[] | undefined;
19849
+ } | undefined;
19850
+ maxVersions?: number | undefined;
19851
+ } | undefined;
19852
+ readonly maskingRule?: {
19853
+ field: string;
19854
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
19855
+ preserveFormat: boolean;
19856
+ preserveLength: boolean;
19857
+ pattern?: string | undefined;
19858
+ roles?: string[] | undefined;
19859
+ exemptRoles?: string[] | undefined;
19860
+ } | undefined;
19861
+ readonly auditTrail?: boolean | undefined;
19862
+ readonly dependencies?: string[] | undefined;
19863
+ readonly cached?: {
19864
+ enabled: boolean;
19865
+ ttl: number;
19866
+ invalidateOn: string[];
19867
+ } | undefined;
19868
+ readonly dataQuality?: {
19869
+ uniqueness: boolean;
19870
+ completeness: number;
19871
+ accuracy?: {
19872
+ source: string;
19873
+ threshold: number;
19874
+ } | undefined;
19875
+ } | undefined;
19876
+ readonly group?: string | undefined;
19877
+ readonly conditionalRequired?: string | undefined;
19878
+ readonly hidden?: boolean | undefined;
19879
+ readonly sortable?: boolean | undefined;
19880
+ readonly inlineHelpText?: string | undefined;
19881
+ readonly trackFeedHistory?: boolean | undefined;
19882
+ readonly caseSensitive?: boolean | undefined;
19883
+ readonly autonumberFormat?: string | undefined;
19884
+ readonly index?: boolean | undefined;
19885
+ readonly externalId?: boolean | undefined;
19886
+ readonly type: "datetime";
19887
+ };
19888
+ readonly updated_at: {
19889
+ readonly format?: string | undefined;
19890
+ readonly expression?: string | undefined;
19891
+ readonly readonly?: boolean | undefined;
19892
+ readonly defaultValue?: unknown;
19893
+ readonly min?: number | undefined;
19894
+ readonly max?: number | undefined;
19895
+ readonly name?: string | undefined;
19896
+ readonly encryptionConfig?: {
19897
+ enabled: boolean;
19898
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
19899
+ keyManagement: {
19900
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
19901
+ keyId?: string | undefined;
19902
+ rotationPolicy?: {
19903
+ enabled: boolean;
19904
+ frequencyDays: number;
19905
+ retainOldVersions: number;
19906
+ autoRotate: boolean;
19907
+ } | undefined;
19908
+ };
19909
+ scope: "table" | "record" | "field" | "database";
19910
+ deterministicEncryption: boolean;
19911
+ searchableEncryption: boolean;
19912
+ } | undefined;
19913
+ readonly label?: string | undefined;
19914
+ readonly precision?: number | undefined;
19915
+ readonly description?: string | undefined;
19916
+ readonly columnName?: string | undefined;
19917
+ readonly required?: boolean | undefined;
19918
+ readonly searchable?: boolean | undefined;
19919
+ readonly multiple?: boolean | undefined;
19920
+ readonly unique?: boolean | undefined;
19921
+ readonly maxLength?: number | undefined;
19922
+ readonly minLength?: number | undefined;
19923
+ readonly scale?: number | undefined;
19924
+ readonly options?: {
19925
+ label: string;
19926
+ value: string;
19927
+ color?: string | undefined;
19928
+ default?: boolean | undefined;
19929
+ }[] | undefined;
19930
+ readonly reference?: string | undefined;
19931
+ readonly referenceFilters?: string[] | undefined;
19932
+ readonly writeRequiresMasterRead?: boolean | undefined;
19933
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
19934
+ readonly summaryOperations?: {
19935
+ object: string;
19936
+ field: string;
19937
+ function: "count" | "sum" | "avg" | "min" | "max";
19938
+ } | undefined;
19939
+ readonly language?: string | undefined;
19940
+ readonly theme?: string | undefined;
19941
+ readonly lineNumbers?: boolean | undefined;
19942
+ readonly maxRating?: number | undefined;
19943
+ readonly allowHalf?: boolean | undefined;
19944
+ readonly displayMap?: boolean | undefined;
19945
+ readonly allowGeocoding?: boolean | undefined;
19946
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
19947
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
19948
+ readonly allowAlpha?: boolean | undefined;
19949
+ readonly presetColors?: string[] | undefined;
19950
+ readonly step?: number | undefined;
19951
+ readonly showValue?: boolean | undefined;
19952
+ readonly marks?: Record<string, string> | undefined;
19953
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
19954
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
19955
+ readonly displayValue?: boolean | undefined;
19956
+ readonly allowScanning?: boolean | undefined;
19957
+ readonly currencyConfig?: {
19958
+ precision: number;
19959
+ currencyMode: "dynamic" | "fixed";
19960
+ defaultCurrency: string;
19961
+ } | undefined;
19962
+ readonly vectorConfig?: {
19963
+ dimensions: number;
19964
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
19965
+ normalized: boolean;
19966
+ indexed: boolean;
19967
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
19968
+ } | undefined;
19969
+ readonly fileAttachmentConfig?: {
19970
+ virusScan: boolean;
19971
+ virusScanOnUpload: boolean;
19972
+ quarantineOnThreat: boolean;
19973
+ allowMultiple: boolean;
19974
+ allowReplace: boolean;
19975
+ allowDelete: boolean;
19976
+ requireUpload: boolean;
19977
+ extractMetadata: boolean;
19978
+ extractText: boolean;
19979
+ versioningEnabled: boolean;
19980
+ publicRead: boolean;
19981
+ presignedUrlExpiry: number;
19982
+ minSize?: number | undefined;
19983
+ maxSize?: number | undefined;
19984
+ allowedTypes?: string[] | undefined;
19985
+ blockedTypes?: string[] | undefined;
19986
+ allowedMimeTypes?: string[] | undefined;
19987
+ blockedMimeTypes?: string[] | undefined;
19988
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
19989
+ storageProvider?: string | undefined;
19990
+ storageBucket?: string | undefined;
19991
+ storagePrefix?: string | undefined;
19992
+ imageValidation?: {
19993
+ generateThumbnails: boolean;
19994
+ preserveMetadata: boolean;
19995
+ autoRotate: boolean;
19996
+ minWidth?: number | undefined;
19997
+ maxWidth?: number | undefined;
19998
+ minHeight?: number | undefined;
19999
+ maxHeight?: number | undefined;
20000
+ aspectRatio?: string | undefined;
20001
+ thumbnailSizes?: {
20002
+ name: string;
20003
+ width: number;
20004
+ height: number;
20005
+ crop: boolean;
20006
+ }[] | undefined;
20007
+ } | undefined;
20008
+ maxVersions?: number | undefined;
20009
+ } | undefined;
20010
+ readonly maskingRule?: {
20011
+ field: string;
20012
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
20013
+ preserveFormat: boolean;
20014
+ preserveLength: boolean;
20015
+ pattern?: string | undefined;
20016
+ roles?: string[] | undefined;
20017
+ exemptRoles?: string[] | undefined;
20018
+ } | undefined;
20019
+ readonly auditTrail?: boolean | undefined;
20020
+ readonly dependencies?: string[] | undefined;
20021
+ readonly cached?: {
20022
+ enabled: boolean;
20023
+ ttl: number;
20024
+ invalidateOn: string[];
20025
+ } | undefined;
20026
+ readonly dataQuality?: {
20027
+ uniqueness: boolean;
20028
+ completeness: number;
20029
+ accuracy?: {
20030
+ source: string;
20031
+ threshold: number;
20032
+ } | undefined;
20033
+ } | undefined;
20034
+ readonly group?: string | undefined;
20035
+ readonly conditionalRequired?: string | undefined;
20036
+ readonly hidden?: boolean | undefined;
20037
+ readonly sortable?: boolean | undefined;
20038
+ readonly inlineHelpText?: string | undefined;
20039
+ readonly trackFeedHistory?: boolean | undefined;
20040
+ readonly caseSensitive?: boolean | undefined;
20041
+ readonly autonumberFormat?: string | undefined;
20042
+ readonly index?: boolean | undefined;
20043
+ readonly externalId?: boolean | undefined;
20044
+ readonly type: "datetime";
20045
+ };
20046
+ readonly user_id: {
20047
+ readonly format?: string | undefined;
20048
+ readonly expression?: string | undefined;
20049
+ readonly readonly?: boolean | undefined;
20050
+ readonly defaultValue?: unknown;
20051
+ readonly min?: number | undefined;
20052
+ readonly max?: number | undefined;
20053
+ readonly name?: string | undefined;
20054
+ readonly encryptionConfig?: {
20055
+ enabled: boolean;
20056
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
20057
+ keyManagement: {
20058
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
20059
+ keyId?: string | undefined;
20060
+ rotationPolicy?: {
20061
+ enabled: boolean;
20062
+ frequencyDays: number;
20063
+ retainOldVersions: number;
20064
+ autoRotate: boolean;
20065
+ } | undefined;
20066
+ };
20067
+ scope: "table" | "record" | "field" | "database";
20068
+ deterministicEncryption: boolean;
20069
+ searchableEncryption: boolean;
20070
+ } | undefined;
20071
+ readonly label?: string | undefined;
20072
+ readonly precision?: number | undefined;
20073
+ readonly description?: string | undefined;
20074
+ readonly columnName?: string | undefined;
20075
+ readonly required?: boolean | undefined;
20076
+ readonly searchable?: boolean | undefined;
20077
+ readonly multiple?: boolean | undefined;
20078
+ readonly unique?: boolean | undefined;
20079
+ readonly maxLength?: number | undefined;
20080
+ readonly minLength?: number | undefined;
20081
+ readonly scale?: number | undefined;
20082
+ readonly options?: {
20083
+ label: string;
20084
+ value: string;
20085
+ color?: string | undefined;
20086
+ default?: boolean | undefined;
20087
+ }[] | undefined;
20088
+ readonly reference?: string | undefined;
20089
+ readonly referenceFilters?: string[] | undefined;
20090
+ readonly writeRequiresMasterRead?: boolean | undefined;
20091
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
20092
+ readonly summaryOperations?: {
20093
+ object: string;
20094
+ field: string;
20095
+ function: "count" | "sum" | "avg" | "min" | "max";
20096
+ } | undefined;
20097
+ readonly language?: string | undefined;
20098
+ readonly theme?: string | undefined;
20099
+ readonly lineNumbers?: boolean | undefined;
20100
+ readonly maxRating?: number | undefined;
20101
+ readonly allowHalf?: boolean | undefined;
20102
+ readonly displayMap?: boolean | undefined;
20103
+ readonly allowGeocoding?: boolean | undefined;
20104
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
20105
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
20106
+ readonly allowAlpha?: boolean | undefined;
20107
+ readonly presetColors?: string[] | undefined;
20108
+ readonly step?: number | undefined;
20109
+ readonly showValue?: boolean | undefined;
20110
+ readonly marks?: Record<string, string> | undefined;
20111
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
20112
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
20113
+ readonly displayValue?: boolean | undefined;
20114
+ readonly allowScanning?: boolean | undefined;
20115
+ readonly currencyConfig?: {
20116
+ precision: number;
20117
+ currencyMode: "dynamic" | "fixed";
20118
+ defaultCurrency: string;
20119
+ } | undefined;
20120
+ readonly vectorConfig?: {
20121
+ dimensions: number;
20122
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
20123
+ normalized: boolean;
20124
+ indexed: boolean;
20125
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
20126
+ } | undefined;
20127
+ readonly fileAttachmentConfig?: {
20128
+ virusScan: boolean;
20129
+ virusScanOnUpload: boolean;
20130
+ quarantineOnThreat: boolean;
20131
+ allowMultiple: boolean;
20132
+ allowReplace: boolean;
20133
+ allowDelete: boolean;
20134
+ requireUpload: boolean;
20135
+ extractMetadata: boolean;
20136
+ extractText: boolean;
20137
+ versioningEnabled: boolean;
20138
+ publicRead: boolean;
20139
+ presignedUrlExpiry: number;
20140
+ minSize?: number | undefined;
20141
+ maxSize?: number | undefined;
20142
+ allowedTypes?: string[] | undefined;
20143
+ blockedTypes?: string[] | undefined;
20144
+ allowedMimeTypes?: string[] | undefined;
20145
+ blockedMimeTypes?: string[] | undefined;
20146
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
20147
+ storageProvider?: string | undefined;
20148
+ storageBucket?: string | undefined;
20149
+ storagePrefix?: string | undefined;
20150
+ imageValidation?: {
20151
+ generateThumbnails: boolean;
20152
+ preserveMetadata: boolean;
20153
+ autoRotate: boolean;
20154
+ minWidth?: number | undefined;
20155
+ maxWidth?: number | undefined;
20156
+ minHeight?: number | undefined;
20157
+ maxHeight?: number | undefined;
20158
+ aspectRatio?: string | undefined;
20159
+ thumbnailSizes?: {
20160
+ name: string;
20161
+ width: number;
20162
+ height: number;
20163
+ crop: boolean;
20164
+ }[] | undefined;
20165
+ } | undefined;
20166
+ maxVersions?: number | undefined;
20167
+ } | undefined;
20168
+ readonly maskingRule?: {
20169
+ field: string;
20170
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
20171
+ preserveFormat: boolean;
20172
+ preserveLength: boolean;
20173
+ pattern?: string | undefined;
20174
+ roles?: string[] | undefined;
20175
+ exemptRoles?: string[] | undefined;
20176
+ } | undefined;
20177
+ readonly auditTrail?: boolean | undefined;
20178
+ readonly dependencies?: string[] | undefined;
20179
+ readonly cached?: {
20180
+ enabled: boolean;
20181
+ ttl: number;
20182
+ invalidateOn: string[];
20183
+ } | undefined;
20184
+ readonly dataQuality?: {
20185
+ uniqueness: boolean;
20186
+ completeness: number;
20187
+ accuracy?: {
20188
+ source: string;
20189
+ threshold: number;
20190
+ } | undefined;
20191
+ } | undefined;
20192
+ readonly group?: string | undefined;
20193
+ readonly conditionalRequired?: string | undefined;
20194
+ readonly hidden?: boolean | undefined;
20195
+ readonly sortable?: boolean | undefined;
20196
+ readonly inlineHelpText?: string | undefined;
20197
+ readonly trackFeedHistory?: boolean | undefined;
20198
+ readonly caseSensitive?: boolean | undefined;
20199
+ readonly autonumberFormat?: string | undefined;
20200
+ readonly index?: boolean | undefined;
20201
+ readonly externalId?: boolean | undefined;
20202
+ readonly type: "text";
20203
+ };
20204
+ readonly key: {
20205
+ readonly format?: string | undefined;
20206
+ readonly expression?: string | undefined;
20207
+ readonly readonly?: boolean | undefined;
20208
+ readonly defaultValue?: unknown;
20209
+ readonly min?: number | undefined;
20210
+ readonly max?: number | undefined;
20211
+ readonly name?: string | undefined;
20212
+ readonly encryptionConfig?: {
20213
+ enabled: boolean;
20214
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
20215
+ keyManagement: {
20216
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
20217
+ keyId?: string | undefined;
20218
+ rotationPolicy?: {
20219
+ enabled: boolean;
20220
+ frequencyDays: number;
20221
+ retainOldVersions: number;
20222
+ autoRotate: boolean;
20223
+ } | undefined;
20224
+ };
20225
+ scope: "table" | "record" | "field" | "database";
20226
+ deterministicEncryption: boolean;
20227
+ searchableEncryption: boolean;
20228
+ } | undefined;
20229
+ readonly label?: string | undefined;
20230
+ readonly precision?: number | undefined;
20231
+ readonly description?: string | undefined;
20232
+ readonly columnName?: string | undefined;
20233
+ readonly required?: boolean | undefined;
20234
+ readonly searchable?: boolean | undefined;
20235
+ readonly multiple?: boolean | undefined;
20236
+ readonly unique?: boolean | undefined;
20237
+ readonly maxLength?: number | undefined;
20238
+ readonly minLength?: number | undefined;
20239
+ readonly scale?: number | undefined;
20240
+ readonly options?: {
20241
+ label: string;
20242
+ value: string;
20243
+ color?: string | undefined;
20244
+ default?: boolean | undefined;
20245
+ }[] | undefined;
20246
+ readonly reference?: string | undefined;
20247
+ readonly referenceFilters?: string[] | undefined;
20248
+ readonly writeRequiresMasterRead?: boolean | undefined;
20249
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
20250
+ readonly summaryOperations?: {
20251
+ object: string;
20252
+ field: string;
20253
+ function: "count" | "sum" | "avg" | "min" | "max";
20254
+ } | undefined;
20255
+ readonly language?: string | undefined;
20256
+ readonly theme?: string | undefined;
20257
+ readonly lineNumbers?: boolean | undefined;
20258
+ readonly maxRating?: number | undefined;
20259
+ readonly allowHalf?: boolean | undefined;
20260
+ readonly displayMap?: boolean | undefined;
20261
+ readonly allowGeocoding?: boolean | undefined;
20262
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
20263
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
20264
+ readonly allowAlpha?: boolean | undefined;
20265
+ readonly presetColors?: string[] | undefined;
20266
+ readonly step?: number | undefined;
20267
+ readonly showValue?: boolean | undefined;
20268
+ readonly marks?: Record<string, string> | undefined;
20269
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
20270
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
20271
+ readonly displayValue?: boolean | undefined;
20272
+ readonly allowScanning?: boolean | undefined;
20273
+ readonly currencyConfig?: {
20274
+ precision: number;
20275
+ currencyMode: "dynamic" | "fixed";
20276
+ defaultCurrency: string;
20277
+ } | undefined;
20278
+ readonly vectorConfig?: {
20279
+ dimensions: number;
20280
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
20281
+ normalized: boolean;
20282
+ indexed: boolean;
20283
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
20284
+ } | undefined;
20285
+ readonly fileAttachmentConfig?: {
20286
+ virusScan: boolean;
20287
+ virusScanOnUpload: boolean;
20288
+ quarantineOnThreat: boolean;
20289
+ allowMultiple: boolean;
20290
+ allowReplace: boolean;
20291
+ allowDelete: boolean;
20292
+ requireUpload: boolean;
20293
+ extractMetadata: boolean;
20294
+ extractText: boolean;
20295
+ versioningEnabled: boolean;
20296
+ publicRead: boolean;
20297
+ presignedUrlExpiry: number;
20298
+ minSize?: number | undefined;
20299
+ maxSize?: number | undefined;
20300
+ allowedTypes?: string[] | undefined;
20301
+ blockedTypes?: string[] | undefined;
20302
+ allowedMimeTypes?: string[] | undefined;
20303
+ blockedMimeTypes?: string[] | undefined;
20304
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
20305
+ storageProvider?: string | undefined;
20306
+ storageBucket?: string | undefined;
20307
+ storagePrefix?: string | undefined;
20308
+ imageValidation?: {
20309
+ generateThumbnails: boolean;
20310
+ preserveMetadata: boolean;
20311
+ autoRotate: boolean;
20312
+ minWidth?: number | undefined;
20313
+ maxWidth?: number | undefined;
20314
+ minHeight?: number | undefined;
20315
+ maxHeight?: number | undefined;
20316
+ aspectRatio?: string | undefined;
20317
+ thumbnailSizes?: {
20318
+ name: string;
20319
+ width: number;
20320
+ height: number;
20321
+ crop: boolean;
20322
+ }[] | undefined;
20323
+ } | undefined;
20324
+ maxVersions?: number | undefined;
20325
+ } | undefined;
20326
+ readonly maskingRule?: {
20327
+ field: string;
20328
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
20329
+ preserveFormat: boolean;
20330
+ preserveLength: boolean;
20331
+ pattern?: string | undefined;
20332
+ roles?: string[] | undefined;
20333
+ exemptRoles?: string[] | undefined;
20334
+ } | undefined;
20335
+ readonly auditTrail?: boolean | undefined;
20336
+ readonly dependencies?: string[] | undefined;
20337
+ readonly cached?: {
20338
+ enabled: boolean;
20339
+ ttl: number;
20340
+ invalidateOn: string[];
20341
+ } | undefined;
20342
+ readonly dataQuality?: {
20343
+ uniqueness: boolean;
20344
+ completeness: number;
20345
+ accuracy?: {
20346
+ source: string;
20347
+ threshold: number;
20348
+ } | undefined;
20349
+ } | undefined;
20350
+ readonly group?: string | undefined;
20351
+ readonly conditionalRequired?: string | undefined;
20352
+ readonly hidden?: boolean | undefined;
20353
+ readonly sortable?: boolean | undefined;
20354
+ readonly inlineHelpText?: string | undefined;
20355
+ readonly trackFeedHistory?: boolean | undefined;
20356
+ readonly caseSensitive?: boolean | undefined;
20357
+ readonly autonumberFormat?: string | undefined;
20358
+ readonly index?: boolean | undefined;
20359
+ readonly externalId?: boolean | undefined;
20360
+ readonly type: "text";
20361
+ };
20362
+ readonly value: {
20363
+ readonly format?: string | undefined;
20364
+ readonly expression?: string | undefined;
20365
+ readonly readonly?: boolean | undefined;
20366
+ readonly defaultValue?: unknown;
20367
+ readonly min?: number | undefined;
20368
+ readonly max?: number | undefined;
20369
+ readonly name?: string | undefined;
20370
+ readonly encryptionConfig?: {
20371
+ enabled: boolean;
20372
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
20373
+ keyManagement: {
20374
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
20375
+ keyId?: string | undefined;
20376
+ rotationPolicy?: {
20377
+ enabled: boolean;
20378
+ frequencyDays: number;
20379
+ retainOldVersions: number;
20380
+ autoRotate: boolean;
20381
+ } | undefined;
20382
+ };
20383
+ scope: "table" | "record" | "field" | "database";
20384
+ deterministicEncryption: boolean;
20385
+ searchableEncryption: boolean;
20386
+ } | undefined;
20387
+ readonly label?: string | undefined;
20388
+ readonly precision?: number | undefined;
20389
+ readonly description?: string | undefined;
20390
+ readonly columnName?: string | undefined;
20391
+ readonly required?: boolean | undefined;
20392
+ readonly searchable?: boolean | undefined;
20393
+ readonly multiple?: boolean | undefined;
20394
+ readonly unique?: boolean | undefined;
20395
+ readonly maxLength?: number | undefined;
20396
+ readonly minLength?: number | undefined;
20397
+ readonly scale?: number | undefined;
20398
+ readonly options?: {
20399
+ label: string;
20400
+ value: string;
20401
+ color?: string | undefined;
20402
+ default?: boolean | undefined;
20403
+ }[] | undefined;
20404
+ readonly reference?: string | undefined;
20405
+ readonly referenceFilters?: string[] | undefined;
20406
+ readonly writeRequiresMasterRead?: boolean | undefined;
20407
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
20408
+ readonly summaryOperations?: {
20409
+ object: string;
20410
+ field: string;
20411
+ function: "count" | "sum" | "avg" | "min" | "max";
20412
+ } | undefined;
20413
+ readonly language?: string | undefined;
20414
+ readonly theme?: string | undefined;
20415
+ readonly lineNumbers?: boolean | undefined;
20416
+ readonly maxRating?: number | undefined;
20417
+ readonly allowHalf?: boolean | undefined;
20418
+ readonly displayMap?: boolean | undefined;
20419
+ readonly allowGeocoding?: boolean | undefined;
20420
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
20421
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
20422
+ readonly allowAlpha?: boolean | undefined;
20423
+ readonly presetColors?: string[] | undefined;
20424
+ readonly step?: number | undefined;
20425
+ readonly showValue?: boolean | undefined;
20426
+ readonly marks?: Record<string, string> | undefined;
20427
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
20428
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
20429
+ readonly displayValue?: boolean | undefined;
20430
+ readonly allowScanning?: boolean | undefined;
20431
+ readonly currencyConfig?: {
20432
+ precision: number;
20433
+ currencyMode: "dynamic" | "fixed";
20434
+ defaultCurrency: string;
20435
+ } | undefined;
20436
+ readonly vectorConfig?: {
20437
+ dimensions: number;
20438
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
20439
+ normalized: boolean;
20440
+ indexed: boolean;
20441
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
20442
+ } | undefined;
20443
+ readonly fileAttachmentConfig?: {
20444
+ virusScan: boolean;
20445
+ virusScanOnUpload: boolean;
20446
+ quarantineOnThreat: boolean;
20447
+ allowMultiple: boolean;
20448
+ allowReplace: boolean;
20449
+ allowDelete: boolean;
20450
+ requireUpload: boolean;
20451
+ extractMetadata: boolean;
20452
+ extractText: boolean;
20453
+ versioningEnabled: boolean;
20454
+ publicRead: boolean;
20455
+ presignedUrlExpiry: number;
20456
+ minSize?: number | undefined;
20457
+ maxSize?: number | undefined;
20458
+ allowedTypes?: string[] | undefined;
20459
+ blockedTypes?: string[] | undefined;
20460
+ allowedMimeTypes?: string[] | undefined;
20461
+ blockedMimeTypes?: string[] | undefined;
20462
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
20463
+ storageProvider?: string | undefined;
20464
+ storageBucket?: string | undefined;
20465
+ storagePrefix?: string | undefined;
20466
+ imageValidation?: {
20467
+ generateThumbnails: boolean;
20468
+ preserveMetadata: boolean;
20469
+ autoRotate: boolean;
20470
+ minWidth?: number | undefined;
20471
+ maxWidth?: number | undefined;
20472
+ minHeight?: number | undefined;
20473
+ maxHeight?: number | undefined;
20474
+ aspectRatio?: string | undefined;
20475
+ thumbnailSizes?: {
20476
+ name: string;
20477
+ width: number;
20478
+ height: number;
20479
+ crop: boolean;
20480
+ }[] | undefined;
20481
+ } | undefined;
20482
+ maxVersions?: number | undefined;
20483
+ } | undefined;
20484
+ readonly maskingRule?: {
20485
+ field: string;
20486
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
20487
+ preserveFormat: boolean;
20488
+ preserveLength: boolean;
20489
+ pattern?: string | undefined;
20490
+ roles?: string[] | undefined;
20491
+ exemptRoles?: string[] | undefined;
20492
+ } | undefined;
20493
+ readonly auditTrail?: boolean | undefined;
20494
+ readonly dependencies?: string[] | undefined;
20495
+ readonly cached?: {
20496
+ enabled: boolean;
20497
+ ttl: number;
20498
+ invalidateOn: string[];
20499
+ } | undefined;
20500
+ readonly dataQuality?: {
20501
+ uniqueness: boolean;
20502
+ completeness: number;
20503
+ accuracy?: {
20504
+ source: string;
20505
+ threshold: number;
20506
+ } | undefined;
20507
+ } | undefined;
20508
+ readonly group?: string | undefined;
20509
+ readonly conditionalRequired?: string | undefined;
20510
+ readonly hidden?: boolean | undefined;
20511
+ readonly sortable?: boolean | undefined;
20512
+ readonly inlineHelpText?: string | undefined;
20513
+ readonly trackFeedHistory?: boolean | undefined;
20514
+ readonly caseSensitive?: boolean | undefined;
20515
+ readonly autonumberFormat?: string | undefined;
20516
+ readonly index?: boolean | undefined;
20517
+ readonly externalId?: boolean | undefined;
20518
+ readonly type: "json";
20519
+ };
20520
+ };
20521
+ readonly indexes: [{
20522
+ readonly fields: ["user_id", "key"];
20523
+ readonly unique: true;
20524
+ }, {
20525
+ readonly fields: ["user_id"];
20526
+ readonly unique: false;
20527
+ }];
20528
+ readonly enable: {
20529
+ readonly trackHistory: false;
20530
+ readonly searchable: false;
20531
+ readonly apiEnabled: true;
20532
+ readonly apiMethods: ["get", "list", "create", "update", "delete"];
20533
+ readonly trash: false;
20534
+ readonly mru: false;
20535
+ };
20536
+ }, "fields">;
20537
+
20538
+ export { AUTH_ACCOUNT_CONFIG, AUTH_INVITATION_SCHEMA, AUTH_MEMBER_SCHEMA, AUTH_MODEL_TO_PROTOCOL, AUTH_ORGANIZATION_SCHEMA, AUTH_ORG_SESSION_FIELDS, AUTH_SESSION_CONFIG, AUTH_TEAM_MEMBER_SCHEMA, AUTH_TEAM_SCHEMA, AUTH_TWO_FACTOR_SCHEMA, AUTH_TWO_FACTOR_USER_FIELDS, AUTH_USER_CONFIG, AUTH_VERIFICATION_CONFIG, SysAccount as AuthAccount, AuthManager, type AuthManagerOptions, AuthPlugin, type AuthPluginOptions, SysSession as AuthSession, SysUser as AuthUser, SysVerification as AuthVerification, SysAccount, SysApiKey, SysInvitation, SysMember, SysOrganization, SysSession, SysTeam, SysTeamMember, SysTwoFactor, SysUser, SysUserPreference, SysVerification, buildOrganizationPluginSchema, buildTwoFactorPluginSchema, createObjectQLAdapter, createObjectQLAdapterFactory, resolveProtocolName };