@objectstack/plugin-audit 3.2.5

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.
@@ -0,0 +1,2313 @@
1
+ import { z } from 'zod';
2
+ import * as _objectstack_spec_data from '@objectstack/spec/data';
3
+
4
+ /**
5
+ * XState-inspired State Machine Protocol
6
+ * Used to define strict business logic constraints and lifecycle management.
7
+ * Prevent AI "hallucinations" by enforcing valid valid transitions.
8
+ */
9
+ /**
10
+ * References a named action (side effect)
11
+ * Can be a script, a webhook, or a field update.
12
+ */
13
+ declare const ActionRefSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
14
+ type: z.ZodString;
15
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16
+ }, z.core.$strip>]>;
17
+ /**
18
+ * State Transition Definition
19
+ * "When EVENT happens, if GUARD is true, go to TARGET and run ACTIONS"
20
+ */
21
+ declare const TransitionSchema: z.ZodObject<{
22
+ target: z.ZodOptional<z.ZodString>;
23
+ cond: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
24
+ type: z.ZodString;
25
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
26
+ }, z.core.$strip>]>>;
27
+ actions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
28
+ type: z.ZodString;
29
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
30
+ }, z.core.$strip>]>>>;
31
+ description: z.ZodOptional<z.ZodString>;
32
+ }, z.core.$strip>;
33
+ type ActionRef = z.infer<typeof ActionRefSchema>;
34
+ type Transition = z.infer<typeof TransitionSchema>;
35
+ type StateNodeConfig = {
36
+ type?: 'atomic' | 'compound' | 'parallel' | 'final' | 'history';
37
+ entry?: ActionRef[];
38
+ exit?: ActionRef[];
39
+ on?: Record<string, string | Transition | Transition[]>;
40
+ always?: Transition[];
41
+ initial?: string;
42
+ states?: Record<string, StateNodeConfig>;
43
+ meta?: {
44
+ label?: string;
45
+ description?: string;
46
+ color?: string;
47
+ aiInstructions?: string;
48
+ };
49
+ };
50
+
51
+ /**
52
+ * sys_audit_log — System Audit Log Object
53
+ *
54
+ * Immutable audit trail for all significant platform events.
55
+ * Records who did what, when, and the before/after state.
56
+ *
57
+ * @namespace sys
58
+ */
59
+ declare const SysAuditLog: Omit<{
60
+ name: string;
61
+ active: boolean;
62
+ isSystem: boolean;
63
+ abstract: boolean;
64
+ datasource: string;
65
+ fields: Record<string, {
66
+ type: "number" | "boolean" | "tags" | "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" | "vector";
67
+ required: boolean;
68
+ searchable: boolean;
69
+ multiple: boolean;
70
+ unique: boolean;
71
+ deleteBehavior: "set_null" | "cascade" | "restrict";
72
+ auditTrail: boolean;
73
+ hidden: boolean;
74
+ readonly: boolean;
75
+ sortable: boolean;
76
+ index: boolean;
77
+ externalId: boolean;
78
+ name?: string | undefined;
79
+ label?: string | undefined;
80
+ description?: string | undefined;
81
+ format?: string | undefined;
82
+ columnName?: string | undefined;
83
+ defaultValue?: unknown;
84
+ maxLength?: number | undefined;
85
+ minLength?: number | undefined;
86
+ precision?: number | undefined;
87
+ scale?: number | undefined;
88
+ min?: number | undefined;
89
+ max?: number | undefined;
90
+ options?: {
91
+ label: string;
92
+ value: string;
93
+ color?: string | undefined;
94
+ default?: boolean | undefined;
95
+ }[] | undefined;
96
+ reference?: string | undefined;
97
+ referenceFilters?: string[] | undefined;
98
+ writeRequiresMasterRead?: boolean | undefined;
99
+ expression?: string | undefined;
100
+ summaryOperations?: {
101
+ object: string;
102
+ field: string;
103
+ function: "min" | "max" | "count" | "sum" | "avg";
104
+ } | undefined;
105
+ language?: string | undefined;
106
+ theme?: string | undefined;
107
+ lineNumbers?: boolean | undefined;
108
+ maxRating?: number | undefined;
109
+ allowHalf?: boolean | undefined;
110
+ displayMap?: boolean | undefined;
111
+ allowGeocoding?: boolean | undefined;
112
+ addressFormat?: "us" | "uk" | "international" | undefined;
113
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
114
+ allowAlpha?: boolean | undefined;
115
+ presetColors?: string[] | undefined;
116
+ step?: number | undefined;
117
+ showValue?: boolean | undefined;
118
+ marks?: Record<string, string> | undefined;
119
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
120
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
121
+ displayValue?: boolean | undefined;
122
+ allowScanning?: boolean | undefined;
123
+ currencyConfig?: {
124
+ precision: number;
125
+ currencyMode: "dynamic" | "fixed";
126
+ defaultCurrency: string;
127
+ } | undefined;
128
+ vectorConfig?: {
129
+ dimensions: number;
130
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
131
+ normalized: boolean;
132
+ indexed: boolean;
133
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
134
+ } | undefined;
135
+ fileAttachmentConfig?: {
136
+ virusScan: boolean;
137
+ virusScanOnUpload: boolean;
138
+ quarantineOnThreat: boolean;
139
+ allowMultiple: boolean;
140
+ allowReplace: boolean;
141
+ allowDelete: boolean;
142
+ requireUpload: boolean;
143
+ extractMetadata: boolean;
144
+ extractText: boolean;
145
+ versioningEnabled: boolean;
146
+ publicRead: boolean;
147
+ presignedUrlExpiry: number;
148
+ minSize?: number | undefined;
149
+ maxSize?: number | undefined;
150
+ allowedTypes?: string[] | undefined;
151
+ blockedTypes?: string[] | undefined;
152
+ allowedMimeTypes?: string[] | undefined;
153
+ blockedMimeTypes?: string[] | undefined;
154
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
155
+ storageProvider?: string | undefined;
156
+ storageBucket?: string | undefined;
157
+ storagePrefix?: string | undefined;
158
+ imageValidation?: {
159
+ generateThumbnails: boolean;
160
+ preserveMetadata: boolean;
161
+ autoRotate: boolean;
162
+ minWidth?: number | undefined;
163
+ maxWidth?: number | undefined;
164
+ minHeight?: number | undefined;
165
+ maxHeight?: number | undefined;
166
+ aspectRatio?: string | undefined;
167
+ thumbnailSizes?: {
168
+ name: string;
169
+ width: number;
170
+ height: number;
171
+ crop: boolean;
172
+ }[] | undefined;
173
+ } | undefined;
174
+ maxVersions?: number | undefined;
175
+ } | undefined;
176
+ encryptionConfig?: {
177
+ enabled: boolean;
178
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
179
+ keyManagement: {
180
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
181
+ keyId?: string | undefined;
182
+ rotationPolicy?: {
183
+ enabled: boolean;
184
+ frequencyDays: number;
185
+ retainOldVersions: number;
186
+ autoRotate: boolean;
187
+ } | undefined;
188
+ };
189
+ scope: "field" | "table" | "record" | "database";
190
+ deterministicEncryption: boolean;
191
+ searchableEncryption: boolean;
192
+ } | undefined;
193
+ maskingRule?: {
194
+ field: string;
195
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
196
+ preserveFormat: boolean;
197
+ preserveLength: boolean;
198
+ pattern?: string | undefined;
199
+ roles?: string[] | undefined;
200
+ exemptRoles?: string[] | undefined;
201
+ } | undefined;
202
+ dependencies?: string[] | undefined;
203
+ cached?: {
204
+ enabled: boolean;
205
+ ttl: number;
206
+ invalidateOn: string[];
207
+ } | undefined;
208
+ dataQuality?: {
209
+ uniqueness: boolean;
210
+ completeness: number;
211
+ accuracy?: {
212
+ source: string;
213
+ threshold: number;
214
+ } | undefined;
215
+ } | undefined;
216
+ group?: string | undefined;
217
+ conditionalRequired?: string | undefined;
218
+ inlineHelpText?: string | undefined;
219
+ trackFeedHistory?: boolean | undefined;
220
+ caseSensitive?: boolean | undefined;
221
+ autonumberFormat?: string | undefined;
222
+ }>;
223
+ label?: string | undefined;
224
+ pluralLabel?: string | undefined;
225
+ description?: string | undefined;
226
+ icon?: string | undefined;
227
+ namespace?: string | undefined;
228
+ tags?: string[] | undefined;
229
+ tableName?: string | undefined;
230
+ indexes?: {
231
+ fields: string[];
232
+ type: "hash" | "btree" | "gin" | "gist" | "fulltext";
233
+ unique: boolean;
234
+ name?: string | undefined;
235
+ partial?: string | undefined;
236
+ }[] | undefined;
237
+ tenancy?: {
238
+ enabled: boolean;
239
+ strategy: "shared" | "isolated" | "hybrid";
240
+ tenantField: string;
241
+ crossTenantAccess: boolean;
242
+ } | undefined;
243
+ softDelete?: {
244
+ enabled: boolean;
245
+ field: string;
246
+ cascadeDelete: boolean;
247
+ } | undefined;
248
+ versioning?: {
249
+ enabled: boolean;
250
+ strategy: "snapshot" | "delta" | "event-sourcing";
251
+ versionField: string;
252
+ retentionDays?: number | undefined;
253
+ } | undefined;
254
+ partitioning?: {
255
+ enabled: boolean;
256
+ strategy: "hash" | "range" | "list";
257
+ key: string;
258
+ interval?: string | undefined;
259
+ } | undefined;
260
+ cdc?: {
261
+ enabled: boolean;
262
+ events: ("update" | "delete" | "insert")[];
263
+ destination: string;
264
+ } | undefined;
265
+ validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
266
+ stateMachines?: Record<string, {
267
+ id: string;
268
+ initial: string;
269
+ states: Record<string, StateNodeConfig>;
270
+ description?: string | undefined;
271
+ contextSchema?: Record<string, unknown> | undefined;
272
+ on?: Record<string, string | {
273
+ target?: string | undefined;
274
+ cond?: string | {
275
+ type: string;
276
+ params?: Record<string, unknown> | undefined;
277
+ } | undefined;
278
+ actions?: (string | {
279
+ type: string;
280
+ params?: Record<string, unknown> | undefined;
281
+ })[] | undefined;
282
+ description?: string | undefined;
283
+ } | {
284
+ target?: string | undefined;
285
+ cond?: string | {
286
+ type: string;
287
+ params?: Record<string, unknown> | undefined;
288
+ } | undefined;
289
+ actions?: (string | {
290
+ type: string;
291
+ params?: Record<string, unknown> | undefined;
292
+ })[] | undefined;
293
+ description?: string | undefined;
294
+ }[]> | undefined;
295
+ }> | undefined;
296
+ displayNameField?: string | undefined;
297
+ recordName?: {
298
+ type: "text" | "autonumber";
299
+ displayFormat?: string | undefined;
300
+ startNumber?: number | undefined;
301
+ } | undefined;
302
+ titleFormat?: string | undefined;
303
+ compactLayout?: string[] | undefined;
304
+ search?: {
305
+ fields: string[];
306
+ displayFields?: string[] | undefined;
307
+ filters?: string[] | undefined;
308
+ } | undefined;
309
+ enable?: {
310
+ trackHistory: boolean;
311
+ searchable: boolean;
312
+ apiEnabled: boolean;
313
+ files: boolean;
314
+ feeds: boolean;
315
+ activities: boolean;
316
+ trash: boolean;
317
+ mru: boolean;
318
+ clone: boolean;
319
+ apiMethods?: ("search" | "list" | "update" | "delete" | "upsert" | "history" | "get" | "create" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
320
+ } | undefined;
321
+ recordTypes?: string[] | undefined;
322
+ sharingModel?: "full" | "private" | "read" | "read_write" | undefined;
323
+ keyPrefix?: string | undefined;
324
+ actions?: {
325
+ name: string;
326
+ label: string | {
327
+ key: string;
328
+ defaultValue?: string | undefined;
329
+ params?: Record<string, string | number | boolean> | undefined;
330
+ };
331
+ type: "url" | "script" | "modal" | "flow" | "api";
332
+ refreshAfter: boolean;
333
+ objectName?: string | undefined;
334
+ icon?: string | undefined;
335
+ locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
336
+ component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
337
+ target?: string | undefined;
338
+ execute?: string | undefined;
339
+ params?: {
340
+ name: string;
341
+ label: string | {
342
+ key: string;
343
+ defaultValue?: string | undefined;
344
+ params?: Record<string, string | number | boolean> | undefined;
345
+ };
346
+ 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";
347
+ required: boolean;
348
+ options?: {
349
+ label: string | {
350
+ key: string;
351
+ defaultValue?: string | undefined;
352
+ params?: Record<string, string | number | boolean> | undefined;
353
+ };
354
+ value: string;
355
+ }[] | undefined;
356
+ }[] | undefined;
357
+ variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
358
+ confirmText?: string | {
359
+ key: string;
360
+ defaultValue?: string | undefined;
361
+ params?: Record<string, string | number | boolean> | undefined;
362
+ } | undefined;
363
+ successMessage?: string | {
364
+ key: string;
365
+ defaultValue?: string | undefined;
366
+ params?: Record<string, string | number | boolean> | undefined;
367
+ } | undefined;
368
+ visible?: string | undefined;
369
+ disabled?: string | boolean | undefined;
370
+ shortcut?: string | undefined;
371
+ bulkEnabled?: boolean | undefined;
372
+ timeout?: number | undefined;
373
+ aria?: {
374
+ ariaLabel?: string | {
375
+ key: string;
376
+ defaultValue?: string | undefined;
377
+ params?: Record<string, string | number | boolean> | undefined;
378
+ } | undefined;
379
+ ariaDescribedBy?: string | undefined;
380
+ role?: string | undefined;
381
+ } | undefined;
382
+ }[] | undefined;
383
+ }, "fields"> & Pick<{
384
+ readonly namespace: "sys";
385
+ readonly name: "audit_log";
386
+ readonly label: "Audit Log";
387
+ readonly pluralLabel: "Audit Logs";
388
+ readonly icon: "scroll-text";
389
+ readonly isSystem: true;
390
+ readonly description: "Immutable audit trail for platform events";
391
+ readonly titleFormat: "{action} on {object_name} by {user_id}";
392
+ readonly compactLayout: ["action", "object_name", "user_id", "created_at"];
393
+ readonly fields: {
394
+ readonly id: {
395
+ readonly format?: string | undefined;
396
+ readonly expression?: string | undefined;
397
+ readonly readonly?: boolean | undefined;
398
+ readonly defaultValue?: unknown;
399
+ readonly min?: number | undefined;
400
+ readonly max?: number | undefined;
401
+ readonly name?: string | undefined;
402
+ readonly encryptionConfig?: {
403
+ enabled: boolean;
404
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
405
+ keyManagement: {
406
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
407
+ keyId?: string | undefined;
408
+ rotationPolicy?: {
409
+ enabled: boolean;
410
+ frequencyDays: number;
411
+ retainOldVersions: number;
412
+ autoRotate: boolean;
413
+ } | undefined;
414
+ };
415
+ scope: "table" | "record" | "field" | "database";
416
+ deterministicEncryption: boolean;
417
+ searchableEncryption: boolean;
418
+ } | undefined;
419
+ readonly label?: string | undefined;
420
+ readonly precision?: number | undefined;
421
+ readonly description?: string | undefined;
422
+ readonly columnName?: string | undefined;
423
+ readonly required?: boolean | undefined;
424
+ readonly searchable?: boolean | undefined;
425
+ readonly multiple?: boolean | undefined;
426
+ readonly unique?: boolean | undefined;
427
+ readonly maxLength?: number | undefined;
428
+ readonly minLength?: number | undefined;
429
+ readonly scale?: number | undefined;
430
+ readonly options?: {
431
+ label: string;
432
+ value: string;
433
+ color?: string | undefined;
434
+ default?: boolean | undefined;
435
+ }[] | undefined;
436
+ readonly reference?: string | undefined;
437
+ readonly referenceFilters?: string[] | undefined;
438
+ readonly writeRequiresMasterRead?: boolean | undefined;
439
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
440
+ readonly summaryOperations?: {
441
+ object: string;
442
+ field: string;
443
+ function: "count" | "sum" | "avg" | "min" | "max";
444
+ } | undefined;
445
+ readonly language?: string | undefined;
446
+ readonly theme?: string | undefined;
447
+ readonly lineNumbers?: boolean | undefined;
448
+ readonly maxRating?: number | undefined;
449
+ readonly allowHalf?: boolean | undefined;
450
+ readonly displayMap?: boolean | undefined;
451
+ readonly allowGeocoding?: boolean | undefined;
452
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
453
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
454
+ readonly allowAlpha?: boolean | undefined;
455
+ readonly presetColors?: string[] | undefined;
456
+ readonly step?: number | undefined;
457
+ readonly showValue?: boolean | undefined;
458
+ readonly marks?: Record<string, string> | undefined;
459
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
460
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
461
+ readonly displayValue?: boolean | undefined;
462
+ readonly allowScanning?: boolean | undefined;
463
+ readonly currencyConfig?: {
464
+ precision: number;
465
+ currencyMode: "dynamic" | "fixed";
466
+ defaultCurrency: string;
467
+ } | undefined;
468
+ readonly vectorConfig?: {
469
+ dimensions: number;
470
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
471
+ normalized: boolean;
472
+ indexed: boolean;
473
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
474
+ } | undefined;
475
+ readonly fileAttachmentConfig?: {
476
+ virusScan: boolean;
477
+ virusScanOnUpload: boolean;
478
+ quarantineOnThreat: boolean;
479
+ allowMultiple: boolean;
480
+ allowReplace: boolean;
481
+ allowDelete: boolean;
482
+ requireUpload: boolean;
483
+ extractMetadata: boolean;
484
+ extractText: boolean;
485
+ versioningEnabled: boolean;
486
+ publicRead: boolean;
487
+ presignedUrlExpiry: number;
488
+ minSize?: number | undefined;
489
+ maxSize?: number | undefined;
490
+ allowedTypes?: string[] | undefined;
491
+ blockedTypes?: string[] | undefined;
492
+ allowedMimeTypes?: string[] | undefined;
493
+ blockedMimeTypes?: string[] | undefined;
494
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
495
+ storageProvider?: string | undefined;
496
+ storageBucket?: string | undefined;
497
+ storagePrefix?: string | undefined;
498
+ imageValidation?: {
499
+ generateThumbnails: boolean;
500
+ preserveMetadata: boolean;
501
+ autoRotate: boolean;
502
+ minWidth?: number | undefined;
503
+ maxWidth?: number | undefined;
504
+ minHeight?: number | undefined;
505
+ maxHeight?: number | undefined;
506
+ aspectRatio?: string | undefined;
507
+ thumbnailSizes?: {
508
+ name: string;
509
+ width: number;
510
+ height: number;
511
+ crop: boolean;
512
+ }[] | undefined;
513
+ } | undefined;
514
+ maxVersions?: number | undefined;
515
+ } | undefined;
516
+ readonly maskingRule?: {
517
+ field: string;
518
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
519
+ preserveFormat: boolean;
520
+ preserveLength: boolean;
521
+ pattern?: string | undefined;
522
+ roles?: string[] | undefined;
523
+ exemptRoles?: string[] | undefined;
524
+ } | undefined;
525
+ readonly auditTrail?: boolean | undefined;
526
+ readonly dependencies?: string[] | undefined;
527
+ readonly cached?: {
528
+ enabled: boolean;
529
+ ttl: number;
530
+ invalidateOn: string[];
531
+ } | undefined;
532
+ readonly dataQuality?: {
533
+ uniqueness: boolean;
534
+ completeness: number;
535
+ accuracy?: {
536
+ source: string;
537
+ threshold: number;
538
+ } | undefined;
539
+ } | undefined;
540
+ readonly group?: string | undefined;
541
+ readonly conditionalRequired?: string | undefined;
542
+ readonly hidden?: boolean | undefined;
543
+ readonly sortable?: boolean | undefined;
544
+ readonly inlineHelpText?: string | undefined;
545
+ readonly trackFeedHistory?: boolean | undefined;
546
+ readonly caseSensitive?: boolean | undefined;
547
+ readonly autonumberFormat?: string | undefined;
548
+ readonly index?: boolean | undefined;
549
+ readonly externalId?: boolean | undefined;
550
+ readonly type: "text";
551
+ };
552
+ readonly created_at: {
553
+ readonly format?: string | undefined;
554
+ readonly expression?: string | undefined;
555
+ readonly readonly?: boolean | undefined;
556
+ readonly defaultValue?: unknown;
557
+ readonly min?: number | undefined;
558
+ readonly max?: number | undefined;
559
+ readonly name?: string | undefined;
560
+ readonly encryptionConfig?: {
561
+ enabled: boolean;
562
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
563
+ keyManagement: {
564
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
565
+ keyId?: string | undefined;
566
+ rotationPolicy?: {
567
+ enabled: boolean;
568
+ frequencyDays: number;
569
+ retainOldVersions: number;
570
+ autoRotate: boolean;
571
+ } | undefined;
572
+ };
573
+ scope: "table" | "record" | "field" | "database";
574
+ deterministicEncryption: boolean;
575
+ searchableEncryption: boolean;
576
+ } | undefined;
577
+ readonly label?: string | undefined;
578
+ readonly precision?: number | undefined;
579
+ readonly description?: string | undefined;
580
+ readonly columnName?: string | undefined;
581
+ readonly required?: boolean | undefined;
582
+ readonly searchable?: boolean | undefined;
583
+ readonly multiple?: boolean | undefined;
584
+ readonly unique?: boolean | undefined;
585
+ readonly maxLength?: number | undefined;
586
+ readonly minLength?: number | undefined;
587
+ readonly scale?: number | undefined;
588
+ readonly options?: {
589
+ label: string;
590
+ value: string;
591
+ color?: string | undefined;
592
+ default?: boolean | undefined;
593
+ }[] | undefined;
594
+ readonly reference?: string | undefined;
595
+ readonly referenceFilters?: string[] | undefined;
596
+ readonly writeRequiresMasterRead?: boolean | undefined;
597
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
598
+ readonly summaryOperations?: {
599
+ object: string;
600
+ field: string;
601
+ function: "count" | "sum" | "avg" | "min" | "max";
602
+ } | undefined;
603
+ readonly language?: string | undefined;
604
+ readonly theme?: string | undefined;
605
+ readonly lineNumbers?: boolean | undefined;
606
+ readonly maxRating?: number | undefined;
607
+ readonly allowHalf?: boolean | undefined;
608
+ readonly displayMap?: boolean | undefined;
609
+ readonly allowGeocoding?: boolean | undefined;
610
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
611
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
612
+ readonly allowAlpha?: boolean | undefined;
613
+ readonly presetColors?: string[] | undefined;
614
+ readonly step?: number | undefined;
615
+ readonly showValue?: boolean | undefined;
616
+ readonly marks?: Record<string, string> | undefined;
617
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
618
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
619
+ readonly displayValue?: boolean | undefined;
620
+ readonly allowScanning?: boolean | undefined;
621
+ readonly currencyConfig?: {
622
+ precision: number;
623
+ currencyMode: "dynamic" | "fixed";
624
+ defaultCurrency: string;
625
+ } | undefined;
626
+ readonly vectorConfig?: {
627
+ dimensions: number;
628
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
629
+ normalized: boolean;
630
+ indexed: boolean;
631
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
632
+ } | undefined;
633
+ readonly fileAttachmentConfig?: {
634
+ virusScan: boolean;
635
+ virusScanOnUpload: boolean;
636
+ quarantineOnThreat: boolean;
637
+ allowMultiple: boolean;
638
+ allowReplace: boolean;
639
+ allowDelete: boolean;
640
+ requireUpload: boolean;
641
+ extractMetadata: boolean;
642
+ extractText: boolean;
643
+ versioningEnabled: boolean;
644
+ publicRead: boolean;
645
+ presignedUrlExpiry: number;
646
+ minSize?: number | undefined;
647
+ maxSize?: number | undefined;
648
+ allowedTypes?: string[] | undefined;
649
+ blockedTypes?: string[] | undefined;
650
+ allowedMimeTypes?: string[] | undefined;
651
+ blockedMimeTypes?: string[] | undefined;
652
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
653
+ storageProvider?: string | undefined;
654
+ storageBucket?: string | undefined;
655
+ storagePrefix?: string | undefined;
656
+ imageValidation?: {
657
+ generateThumbnails: boolean;
658
+ preserveMetadata: boolean;
659
+ autoRotate: boolean;
660
+ minWidth?: number | undefined;
661
+ maxWidth?: number | undefined;
662
+ minHeight?: number | undefined;
663
+ maxHeight?: number | undefined;
664
+ aspectRatio?: string | undefined;
665
+ thumbnailSizes?: {
666
+ name: string;
667
+ width: number;
668
+ height: number;
669
+ crop: boolean;
670
+ }[] | undefined;
671
+ } | undefined;
672
+ maxVersions?: number | undefined;
673
+ } | undefined;
674
+ readonly maskingRule?: {
675
+ field: string;
676
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
677
+ preserveFormat: boolean;
678
+ preserveLength: boolean;
679
+ pattern?: string | undefined;
680
+ roles?: string[] | undefined;
681
+ exemptRoles?: string[] | undefined;
682
+ } | undefined;
683
+ readonly auditTrail?: boolean | undefined;
684
+ readonly dependencies?: string[] | undefined;
685
+ readonly cached?: {
686
+ enabled: boolean;
687
+ ttl: number;
688
+ invalidateOn: string[];
689
+ } | undefined;
690
+ readonly dataQuality?: {
691
+ uniqueness: boolean;
692
+ completeness: number;
693
+ accuracy?: {
694
+ source: string;
695
+ threshold: number;
696
+ } | undefined;
697
+ } | undefined;
698
+ readonly group?: string | undefined;
699
+ readonly conditionalRequired?: string | undefined;
700
+ readonly hidden?: boolean | undefined;
701
+ readonly sortable?: boolean | undefined;
702
+ readonly inlineHelpText?: string | undefined;
703
+ readonly trackFeedHistory?: boolean | undefined;
704
+ readonly caseSensitive?: boolean | undefined;
705
+ readonly autonumberFormat?: string | undefined;
706
+ readonly index?: boolean | undefined;
707
+ readonly externalId?: boolean | undefined;
708
+ readonly type: "datetime";
709
+ };
710
+ readonly user_id: {
711
+ readonly format?: string | undefined;
712
+ readonly expression?: string | undefined;
713
+ readonly readonly?: boolean | undefined;
714
+ readonly defaultValue?: unknown;
715
+ readonly min?: number | undefined;
716
+ readonly max?: number | undefined;
717
+ readonly name?: string | undefined;
718
+ readonly encryptionConfig?: {
719
+ enabled: boolean;
720
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
721
+ keyManagement: {
722
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
723
+ keyId?: string | undefined;
724
+ rotationPolicy?: {
725
+ enabled: boolean;
726
+ frequencyDays: number;
727
+ retainOldVersions: number;
728
+ autoRotate: boolean;
729
+ } | undefined;
730
+ };
731
+ scope: "table" | "record" | "field" | "database";
732
+ deterministicEncryption: boolean;
733
+ searchableEncryption: boolean;
734
+ } | undefined;
735
+ readonly label?: string | undefined;
736
+ readonly precision?: number | undefined;
737
+ readonly description?: string | undefined;
738
+ readonly columnName?: string | undefined;
739
+ readonly required?: boolean | undefined;
740
+ readonly searchable?: boolean | undefined;
741
+ readonly multiple?: boolean | undefined;
742
+ readonly unique?: boolean | undefined;
743
+ readonly maxLength?: number | undefined;
744
+ readonly minLength?: number | undefined;
745
+ readonly scale?: number | undefined;
746
+ readonly options?: {
747
+ label: string;
748
+ value: string;
749
+ color?: string | undefined;
750
+ default?: boolean | undefined;
751
+ }[] | undefined;
752
+ readonly reference?: string | undefined;
753
+ readonly referenceFilters?: string[] | undefined;
754
+ readonly writeRequiresMasterRead?: boolean | undefined;
755
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
756
+ readonly summaryOperations?: {
757
+ object: string;
758
+ field: string;
759
+ function: "count" | "sum" | "avg" | "min" | "max";
760
+ } | undefined;
761
+ readonly language?: string | undefined;
762
+ readonly theme?: string | undefined;
763
+ readonly lineNumbers?: boolean | undefined;
764
+ readonly maxRating?: number | undefined;
765
+ readonly allowHalf?: boolean | undefined;
766
+ readonly displayMap?: boolean | undefined;
767
+ readonly allowGeocoding?: boolean | undefined;
768
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
769
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
770
+ readonly allowAlpha?: boolean | undefined;
771
+ readonly presetColors?: string[] | undefined;
772
+ readonly step?: number | undefined;
773
+ readonly showValue?: boolean | undefined;
774
+ readonly marks?: Record<string, string> | undefined;
775
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
776
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
777
+ readonly displayValue?: boolean | undefined;
778
+ readonly allowScanning?: boolean | undefined;
779
+ readonly currencyConfig?: {
780
+ precision: number;
781
+ currencyMode: "dynamic" | "fixed";
782
+ defaultCurrency: string;
783
+ } | undefined;
784
+ readonly vectorConfig?: {
785
+ dimensions: number;
786
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
787
+ normalized: boolean;
788
+ indexed: boolean;
789
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
790
+ } | undefined;
791
+ readonly fileAttachmentConfig?: {
792
+ virusScan: boolean;
793
+ virusScanOnUpload: boolean;
794
+ quarantineOnThreat: boolean;
795
+ allowMultiple: boolean;
796
+ allowReplace: boolean;
797
+ allowDelete: boolean;
798
+ requireUpload: boolean;
799
+ extractMetadata: boolean;
800
+ extractText: boolean;
801
+ versioningEnabled: boolean;
802
+ publicRead: boolean;
803
+ presignedUrlExpiry: number;
804
+ minSize?: number | undefined;
805
+ maxSize?: number | undefined;
806
+ allowedTypes?: string[] | undefined;
807
+ blockedTypes?: string[] | undefined;
808
+ allowedMimeTypes?: string[] | undefined;
809
+ blockedMimeTypes?: string[] | undefined;
810
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
811
+ storageProvider?: string | undefined;
812
+ storageBucket?: string | undefined;
813
+ storagePrefix?: string | undefined;
814
+ imageValidation?: {
815
+ generateThumbnails: boolean;
816
+ preserveMetadata: boolean;
817
+ autoRotate: boolean;
818
+ minWidth?: number | undefined;
819
+ maxWidth?: number | undefined;
820
+ minHeight?: number | undefined;
821
+ maxHeight?: number | undefined;
822
+ aspectRatio?: string | undefined;
823
+ thumbnailSizes?: {
824
+ name: string;
825
+ width: number;
826
+ height: number;
827
+ crop: boolean;
828
+ }[] | undefined;
829
+ } | undefined;
830
+ maxVersions?: number | undefined;
831
+ } | undefined;
832
+ readonly maskingRule?: {
833
+ field: string;
834
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
835
+ preserveFormat: boolean;
836
+ preserveLength: boolean;
837
+ pattern?: string | undefined;
838
+ roles?: string[] | undefined;
839
+ exemptRoles?: string[] | undefined;
840
+ } | undefined;
841
+ readonly auditTrail?: boolean | undefined;
842
+ readonly dependencies?: string[] | undefined;
843
+ readonly cached?: {
844
+ enabled: boolean;
845
+ ttl: number;
846
+ invalidateOn: string[];
847
+ } | undefined;
848
+ readonly dataQuality?: {
849
+ uniqueness: boolean;
850
+ completeness: number;
851
+ accuracy?: {
852
+ source: string;
853
+ threshold: number;
854
+ } | undefined;
855
+ } | undefined;
856
+ readonly group?: string | undefined;
857
+ readonly conditionalRequired?: string | undefined;
858
+ readonly hidden?: boolean | undefined;
859
+ readonly sortable?: boolean | undefined;
860
+ readonly inlineHelpText?: string | undefined;
861
+ readonly trackFeedHistory?: boolean | undefined;
862
+ readonly caseSensitive?: boolean | undefined;
863
+ readonly autonumberFormat?: string | undefined;
864
+ readonly index?: boolean | undefined;
865
+ readonly externalId?: boolean | undefined;
866
+ readonly type: "text";
867
+ };
868
+ readonly action: {
869
+ readonly format?: string | undefined;
870
+ readonly expression?: string | undefined;
871
+ readonly readonly?: boolean | undefined;
872
+ readonly defaultValue?: unknown;
873
+ readonly min?: number | undefined;
874
+ readonly max?: number | undefined;
875
+ readonly name?: string | undefined;
876
+ readonly encryptionConfig?: {
877
+ enabled: boolean;
878
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
879
+ keyManagement: {
880
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
881
+ keyId?: string | undefined;
882
+ rotationPolicy?: {
883
+ enabled: boolean;
884
+ frequencyDays: number;
885
+ retainOldVersions: number;
886
+ autoRotate: boolean;
887
+ } | undefined;
888
+ };
889
+ scope: "table" | "record" | "field" | "database";
890
+ deterministicEncryption: boolean;
891
+ searchableEncryption: boolean;
892
+ } | undefined;
893
+ readonly label?: string | undefined;
894
+ readonly precision?: number | undefined;
895
+ readonly description?: string | undefined;
896
+ readonly columnName?: string | undefined;
897
+ readonly required?: boolean | undefined;
898
+ readonly searchable?: boolean | undefined;
899
+ readonly multiple?: boolean | undefined;
900
+ readonly unique?: boolean | undefined;
901
+ readonly maxLength?: number | undefined;
902
+ readonly minLength?: number | undefined;
903
+ readonly scale?: number | undefined;
904
+ options: {
905
+ label: string;
906
+ value: string;
907
+ color?: string | undefined;
908
+ default?: boolean | undefined;
909
+ }[];
910
+ readonly reference?: string | undefined;
911
+ readonly referenceFilters?: string[] | undefined;
912
+ readonly writeRequiresMasterRead?: boolean | undefined;
913
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
914
+ readonly summaryOperations?: {
915
+ object: string;
916
+ field: string;
917
+ function: "count" | "sum" | "avg" | "min" | "max";
918
+ } | undefined;
919
+ readonly language?: string | undefined;
920
+ readonly theme?: string | undefined;
921
+ readonly lineNumbers?: boolean | undefined;
922
+ readonly maxRating?: number | undefined;
923
+ readonly allowHalf?: boolean | undefined;
924
+ readonly displayMap?: boolean | undefined;
925
+ readonly allowGeocoding?: boolean | undefined;
926
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
927
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
928
+ readonly allowAlpha?: boolean | undefined;
929
+ readonly presetColors?: string[] | undefined;
930
+ readonly step?: number | undefined;
931
+ readonly showValue?: boolean | undefined;
932
+ readonly marks?: Record<string, string> | undefined;
933
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
934
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
935
+ readonly displayValue?: boolean | undefined;
936
+ readonly allowScanning?: boolean | undefined;
937
+ readonly currencyConfig?: {
938
+ precision: number;
939
+ currencyMode: "dynamic" | "fixed";
940
+ defaultCurrency: string;
941
+ } | undefined;
942
+ readonly vectorConfig?: {
943
+ dimensions: number;
944
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
945
+ normalized: boolean;
946
+ indexed: boolean;
947
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
948
+ } | undefined;
949
+ readonly fileAttachmentConfig?: {
950
+ virusScan: boolean;
951
+ virusScanOnUpload: boolean;
952
+ quarantineOnThreat: boolean;
953
+ allowMultiple: boolean;
954
+ allowReplace: boolean;
955
+ allowDelete: boolean;
956
+ requireUpload: boolean;
957
+ extractMetadata: boolean;
958
+ extractText: boolean;
959
+ versioningEnabled: boolean;
960
+ publicRead: boolean;
961
+ presignedUrlExpiry: number;
962
+ minSize?: number | undefined;
963
+ maxSize?: number | undefined;
964
+ allowedTypes?: string[] | undefined;
965
+ blockedTypes?: string[] | undefined;
966
+ allowedMimeTypes?: string[] | undefined;
967
+ blockedMimeTypes?: string[] | undefined;
968
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
969
+ storageProvider?: string | undefined;
970
+ storageBucket?: string | undefined;
971
+ storagePrefix?: string | undefined;
972
+ imageValidation?: {
973
+ generateThumbnails: boolean;
974
+ preserveMetadata: boolean;
975
+ autoRotate: boolean;
976
+ minWidth?: number | undefined;
977
+ maxWidth?: number | undefined;
978
+ minHeight?: number | undefined;
979
+ maxHeight?: number | undefined;
980
+ aspectRatio?: string | undefined;
981
+ thumbnailSizes?: {
982
+ name: string;
983
+ width: number;
984
+ height: number;
985
+ crop: boolean;
986
+ }[] | undefined;
987
+ } | undefined;
988
+ maxVersions?: number | undefined;
989
+ } | undefined;
990
+ readonly maskingRule?: {
991
+ field: string;
992
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
993
+ preserveFormat: boolean;
994
+ preserveLength: boolean;
995
+ pattern?: string | undefined;
996
+ roles?: string[] | undefined;
997
+ exemptRoles?: string[] | undefined;
998
+ } | undefined;
999
+ readonly auditTrail?: boolean | undefined;
1000
+ readonly dependencies?: string[] | undefined;
1001
+ readonly cached?: {
1002
+ enabled: boolean;
1003
+ ttl: number;
1004
+ invalidateOn: string[];
1005
+ } | undefined;
1006
+ readonly dataQuality?: {
1007
+ uniqueness: boolean;
1008
+ completeness: number;
1009
+ accuracy?: {
1010
+ source: string;
1011
+ threshold: number;
1012
+ } | undefined;
1013
+ } | undefined;
1014
+ readonly group?: string | undefined;
1015
+ readonly conditionalRequired?: string | undefined;
1016
+ readonly hidden?: boolean | undefined;
1017
+ readonly sortable?: boolean | undefined;
1018
+ readonly inlineHelpText?: string | undefined;
1019
+ readonly trackFeedHistory?: boolean | undefined;
1020
+ readonly caseSensitive?: boolean | undefined;
1021
+ readonly autonumberFormat?: string | undefined;
1022
+ readonly index?: boolean | undefined;
1023
+ readonly externalId?: boolean | undefined;
1024
+ readonly type: "select";
1025
+ };
1026
+ readonly object_name: {
1027
+ readonly format?: string | undefined;
1028
+ readonly expression?: string | undefined;
1029
+ readonly readonly?: boolean | undefined;
1030
+ readonly defaultValue?: unknown;
1031
+ readonly min?: number | undefined;
1032
+ readonly max?: number | undefined;
1033
+ readonly name?: string | undefined;
1034
+ readonly encryptionConfig?: {
1035
+ enabled: boolean;
1036
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
1037
+ keyManagement: {
1038
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
1039
+ keyId?: string | undefined;
1040
+ rotationPolicy?: {
1041
+ enabled: boolean;
1042
+ frequencyDays: number;
1043
+ retainOldVersions: number;
1044
+ autoRotate: boolean;
1045
+ } | undefined;
1046
+ };
1047
+ scope: "table" | "record" | "field" | "database";
1048
+ deterministicEncryption: boolean;
1049
+ searchableEncryption: boolean;
1050
+ } | undefined;
1051
+ readonly label?: string | undefined;
1052
+ readonly precision?: number | undefined;
1053
+ readonly description?: string | undefined;
1054
+ readonly columnName?: string | undefined;
1055
+ readonly required?: boolean | undefined;
1056
+ readonly searchable?: boolean | undefined;
1057
+ readonly multiple?: boolean | undefined;
1058
+ readonly unique?: boolean | undefined;
1059
+ readonly maxLength?: number | undefined;
1060
+ readonly minLength?: number | undefined;
1061
+ readonly scale?: number | undefined;
1062
+ readonly options?: {
1063
+ label: string;
1064
+ value: string;
1065
+ color?: string | undefined;
1066
+ default?: boolean | undefined;
1067
+ }[] | undefined;
1068
+ readonly reference?: string | undefined;
1069
+ readonly referenceFilters?: string[] | undefined;
1070
+ readonly writeRequiresMasterRead?: boolean | undefined;
1071
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
1072
+ readonly summaryOperations?: {
1073
+ object: string;
1074
+ field: string;
1075
+ function: "count" | "sum" | "avg" | "min" | "max";
1076
+ } | undefined;
1077
+ readonly language?: string | undefined;
1078
+ readonly theme?: string | undefined;
1079
+ readonly lineNumbers?: boolean | undefined;
1080
+ readonly maxRating?: number | undefined;
1081
+ readonly allowHalf?: boolean | undefined;
1082
+ readonly displayMap?: boolean | undefined;
1083
+ readonly allowGeocoding?: boolean | undefined;
1084
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
1085
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
1086
+ readonly allowAlpha?: boolean | undefined;
1087
+ readonly presetColors?: string[] | undefined;
1088
+ readonly step?: number | undefined;
1089
+ readonly showValue?: boolean | undefined;
1090
+ readonly marks?: Record<string, string> | undefined;
1091
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
1092
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
1093
+ readonly displayValue?: boolean | undefined;
1094
+ readonly allowScanning?: boolean | undefined;
1095
+ readonly currencyConfig?: {
1096
+ precision: number;
1097
+ currencyMode: "dynamic" | "fixed";
1098
+ defaultCurrency: string;
1099
+ } | undefined;
1100
+ readonly vectorConfig?: {
1101
+ dimensions: number;
1102
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
1103
+ normalized: boolean;
1104
+ indexed: boolean;
1105
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
1106
+ } | undefined;
1107
+ readonly fileAttachmentConfig?: {
1108
+ virusScan: boolean;
1109
+ virusScanOnUpload: boolean;
1110
+ quarantineOnThreat: boolean;
1111
+ allowMultiple: boolean;
1112
+ allowReplace: boolean;
1113
+ allowDelete: boolean;
1114
+ requireUpload: boolean;
1115
+ extractMetadata: boolean;
1116
+ extractText: boolean;
1117
+ versioningEnabled: boolean;
1118
+ publicRead: boolean;
1119
+ presignedUrlExpiry: number;
1120
+ minSize?: number | undefined;
1121
+ maxSize?: number | undefined;
1122
+ allowedTypes?: string[] | undefined;
1123
+ blockedTypes?: string[] | undefined;
1124
+ allowedMimeTypes?: string[] | undefined;
1125
+ blockedMimeTypes?: string[] | undefined;
1126
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
1127
+ storageProvider?: string | undefined;
1128
+ storageBucket?: string | undefined;
1129
+ storagePrefix?: string | undefined;
1130
+ imageValidation?: {
1131
+ generateThumbnails: boolean;
1132
+ preserveMetadata: boolean;
1133
+ autoRotate: boolean;
1134
+ minWidth?: number | undefined;
1135
+ maxWidth?: number | undefined;
1136
+ minHeight?: number | undefined;
1137
+ maxHeight?: number | undefined;
1138
+ aspectRatio?: string | undefined;
1139
+ thumbnailSizes?: {
1140
+ name: string;
1141
+ width: number;
1142
+ height: number;
1143
+ crop: boolean;
1144
+ }[] | undefined;
1145
+ } | undefined;
1146
+ maxVersions?: number | undefined;
1147
+ } | undefined;
1148
+ readonly maskingRule?: {
1149
+ field: string;
1150
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
1151
+ preserveFormat: boolean;
1152
+ preserveLength: boolean;
1153
+ pattern?: string | undefined;
1154
+ roles?: string[] | undefined;
1155
+ exemptRoles?: string[] | undefined;
1156
+ } | undefined;
1157
+ readonly auditTrail?: boolean | undefined;
1158
+ readonly dependencies?: string[] | undefined;
1159
+ readonly cached?: {
1160
+ enabled: boolean;
1161
+ ttl: number;
1162
+ invalidateOn: string[];
1163
+ } | undefined;
1164
+ readonly dataQuality?: {
1165
+ uniqueness: boolean;
1166
+ completeness: number;
1167
+ accuracy?: {
1168
+ source: string;
1169
+ threshold: number;
1170
+ } | undefined;
1171
+ } | undefined;
1172
+ readonly group?: string | undefined;
1173
+ readonly conditionalRequired?: string | undefined;
1174
+ readonly hidden?: boolean | undefined;
1175
+ readonly sortable?: boolean | undefined;
1176
+ readonly inlineHelpText?: string | undefined;
1177
+ readonly trackFeedHistory?: boolean | undefined;
1178
+ readonly caseSensitive?: boolean | undefined;
1179
+ readonly autonumberFormat?: string | undefined;
1180
+ readonly index?: boolean | undefined;
1181
+ readonly externalId?: boolean | undefined;
1182
+ readonly type: "text";
1183
+ };
1184
+ readonly record_id: {
1185
+ readonly format?: string | undefined;
1186
+ readonly expression?: string | undefined;
1187
+ readonly readonly?: boolean | undefined;
1188
+ readonly defaultValue?: unknown;
1189
+ readonly min?: number | undefined;
1190
+ readonly max?: number | undefined;
1191
+ readonly name?: string | undefined;
1192
+ readonly encryptionConfig?: {
1193
+ enabled: boolean;
1194
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
1195
+ keyManagement: {
1196
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
1197
+ keyId?: string | undefined;
1198
+ rotationPolicy?: {
1199
+ enabled: boolean;
1200
+ frequencyDays: number;
1201
+ retainOldVersions: number;
1202
+ autoRotate: boolean;
1203
+ } | undefined;
1204
+ };
1205
+ scope: "table" | "record" | "field" | "database";
1206
+ deterministicEncryption: boolean;
1207
+ searchableEncryption: boolean;
1208
+ } | undefined;
1209
+ readonly label?: string | undefined;
1210
+ readonly precision?: number | undefined;
1211
+ readonly description?: string | undefined;
1212
+ readonly columnName?: string | undefined;
1213
+ readonly required?: boolean | undefined;
1214
+ readonly searchable?: boolean | undefined;
1215
+ readonly multiple?: boolean | undefined;
1216
+ readonly unique?: boolean | undefined;
1217
+ readonly maxLength?: number | undefined;
1218
+ readonly minLength?: number | undefined;
1219
+ readonly scale?: number | undefined;
1220
+ readonly options?: {
1221
+ label: string;
1222
+ value: string;
1223
+ color?: string | undefined;
1224
+ default?: boolean | undefined;
1225
+ }[] | undefined;
1226
+ readonly reference?: string | undefined;
1227
+ readonly referenceFilters?: string[] | undefined;
1228
+ readonly writeRequiresMasterRead?: boolean | undefined;
1229
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
1230
+ readonly summaryOperations?: {
1231
+ object: string;
1232
+ field: string;
1233
+ function: "count" | "sum" | "avg" | "min" | "max";
1234
+ } | undefined;
1235
+ readonly language?: string | undefined;
1236
+ readonly theme?: string | undefined;
1237
+ readonly lineNumbers?: boolean | undefined;
1238
+ readonly maxRating?: number | undefined;
1239
+ readonly allowHalf?: boolean | undefined;
1240
+ readonly displayMap?: boolean | undefined;
1241
+ readonly allowGeocoding?: boolean | undefined;
1242
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
1243
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
1244
+ readonly allowAlpha?: boolean | undefined;
1245
+ readonly presetColors?: string[] | undefined;
1246
+ readonly step?: number | undefined;
1247
+ readonly showValue?: boolean | undefined;
1248
+ readonly marks?: Record<string, string> | undefined;
1249
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
1250
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
1251
+ readonly displayValue?: boolean | undefined;
1252
+ readonly allowScanning?: boolean | undefined;
1253
+ readonly currencyConfig?: {
1254
+ precision: number;
1255
+ currencyMode: "dynamic" | "fixed";
1256
+ defaultCurrency: string;
1257
+ } | undefined;
1258
+ readonly vectorConfig?: {
1259
+ dimensions: number;
1260
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
1261
+ normalized: boolean;
1262
+ indexed: boolean;
1263
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
1264
+ } | undefined;
1265
+ readonly fileAttachmentConfig?: {
1266
+ virusScan: boolean;
1267
+ virusScanOnUpload: boolean;
1268
+ quarantineOnThreat: boolean;
1269
+ allowMultiple: boolean;
1270
+ allowReplace: boolean;
1271
+ allowDelete: boolean;
1272
+ requireUpload: boolean;
1273
+ extractMetadata: boolean;
1274
+ extractText: boolean;
1275
+ versioningEnabled: boolean;
1276
+ publicRead: boolean;
1277
+ presignedUrlExpiry: number;
1278
+ minSize?: number | undefined;
1279
+ maxSize?: number | undefined;
1280
+ allowedTypes?: string[] | undefined;
1281
+ blockedTypes?: string[] | undefined;
1282
+ allowedMimeTypes?: string[] | undefined;
1283
+ blockedMimeTypes?: string[] | undefined;
1284
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
1285
+ storageProvider?: string | undefined;
1286
+ storageBucket?: string | undefined;
1287
+ storagePrefix?: string | undefined;
1288
+ imageValidation?: {
1289
+ generateThumbnails: boolean;
1290
+ preserveMetadata: boolean;
1291
+ autoRotate: boolean;
1292
+ minWidth?: number | undefined;
1293
+ maxWidth?: number | undefined;
1294
+ minHeight?: number | undefined;
1295
+ maxHeight?: number | undefined;
1296
+ aspectRatio?: string | undefined;
1297
+ thumbnailSizes?: {
1298
+ name: string;
1299
+ width: number;
1300
+ height: number;
1301
+ crop: boolean;
1302
+ }[] | undefined;
1303
+ } | undefined;
1304
+ maxVersions?: number | undefined;
1305
+ } | undefined;
1306
+ readonly maskingRule?: {
1307
+ field: string;
1308
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
1309
+ preserveFormat: boolean;
1310
+ preserveLength: boolean;
1311
+ pattern?: string | undefined;
1312
+ roles?: string[] | undefined;
1313
+ exemptRoles?: string[] | undefined;
1314
+ } | undefined;
1315
+ readonly auditTrail?: boolean | undefined;
1316
+ readonly dependencies?: string[] | undefined;
1317
+ readonly cached?: {
1318
+ enabled: boolean;
1319
+ ttl: number;
1320
+ invalidateOn: string[];
1321
+ } | undefined;
1322
+ readonly dataQuality?: {
1323
+ uniqueness: boolean;
1324
+ completeness: number;
1325
+ accuracy?: {
1326
+ source: string;
1327
+ threshold: number;
1328
+ } | undefined;
1329
+ } | undefined;
1330
+ readonly group?: string | undefined;
1331
+ readonly conditionalRequired?: string | undefined;
1332
+ readonly hidden?: boolean | undefined;
1333
+ readonly sortable?: boolean | undefined;
1334
+ readonly inlineHelpText?: string | undefined;
1335
+ readonly trackFeedHistory?: boolean | undefined;
1336
+ readonly caseSensitive?: boolean | undefined;
1337
+ readonly autonumberFormat?: string | undefined;
1338
+ readonly index?: boolean | undefined;
1339
+ readonly externalId?: boolean | undefined;
1340
+ readonly type: "text";
1341
+ };
1342
+ readonly old_value: {
1343
+ readonly format?: string | undefined;
1344
+ readonly expression?: string | undefined;
1345
+ readonly readonly?: boolean | undefined;
1346
+ readonly defaultValue?: unknown;
1347
+ readonly min?: number | undefined;
1348
+ readonly max?: number | undefined;
1349
+ readonly name?: string | undefined;
1350
+ readonly encryptionConfig?: {
1351
+ enabled: boolean;
1352
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
1353
+ keyManagement: {
1354
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
1355
+ keyId?: string | undefined;
1356
+ rotationPolicy?: {
1357
+ enabled: boolean;
1358
+ frequencyDays: number;
1359
+ retainOldVersions: number;
1360
+ autoRotate: boolean;
1361
+ } | undefined;
1362
+ };
1363
+ scope: "table" | "record" | "field" | "database";
1364
+ deterministicEncryption: boolean;
1365
+ searchableEncryption: boolean;
1366
+ } | undefined;
1367
+ readonly label?: string | undefined;
1368
+ readonly precision?: number | undefined;
1369
+ readonly description?: string | undefined;
1370
+ readonly columnName?: string | undefined;
1371
+ readonly required?: boolean | undefined;
1372
+ readonly searchable?: boolean | undefined;
1373
+ readonly multiple?: boolean | undefined;
1374
+ readonly unique?: boolean | undefined;
1375
+ readonly maxLength?: number | undefined;
1376
+ readonly minLength?: number | undefined;
1377
+ readonly scale?: number | undefined;
1378
+ readonly options?: {
1379
+ label: string;
1380
+ value: string;
1381
+ color?: string | undefined;
1382
+ default?: boolean | undefined;
1383
+ }[] | undefined;
1384
+ readonly reference?: string | undefined;
1385
+ readonly referenceFilters?: string[] | undefined;
1386
+ readonly writeRequiresMasterRead?: boolean | undefined;
1387
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
1388
+ readonly summaryOperations?: {
1389
+ object: string;
1390
+ field: string;
1391
+ function: "count" | "sum" | "avg" | "min" | "max";
1392
+ } | undefined;
1393
+ readonly language?: string | undefined;
1394
+ readonly theme?: string | undefined;
1395
+ readonly lineNumbers?: boolean | undefined;
1396
+ readonly maxRating?: number | undefined;
1397
+ readonly allowHalf?: boolean | undefined;
1398
+ readonly displayMap?: boolean | undefined;
1399
+ readonly allowGeocoding?: boolean | undefined;
1400
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
1401
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
1402
+ readonly allowAlpha?: boolean | undefined;
1403
+ readonly presetColors?: string[] | undefined;
1404
+ readonly step?: number | undefined;
1405
+ readonly showValue?: boolean | undefined;
1406
+ readonly marks?: Record<string, string> | undefined;
1407
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
1408
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
1409
+ readonly displayValue?: boolean | undefined;
1410
+ readonly allowScanning?: boolean | undefined;
1411
+ readonly currencyConfig?: {
1412
+ precision: number;
1413
+ currencyMode: "dynamic" | "fixed";
1414
+ defaultCurrency: string;
1415
+ } | undefined;
1416
+ readonly vectorConfig?: {
1417
+ dimensions: number;
1418
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
1419
+ normalized: boolean;
1420
+ indexed: boolean;
1421
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
1422
+ } | undefined;
1423
+ readonly fileAttachmentConfig?: {
1424
+ virusScan: boolean;
1425
+ virusScanOnUpload: boolean;
1426
+ quarantineOnThreat: boolean;
1427
+ allowMultiple: boolean;
1428
+ allowReplace: boolean;
1429
+ allowDelete: boolean;
1430
+ requireUpload: boolean;
1431
+ extractMetadata: boolean;
1432
+ extractText: boolean;
1433
+ versioningEnabled: boolean;
1434
+ publicRead: boolean;
1435
+ presignedUrlExpiry: number;
1436
+ minSize?: number | undefined;
1437
+ maxSize?: number | undefined;
1438
+ allowedTypes?: string[] | undefined;
1439
+ blockedTypes?: string[] | undefined;
1440
+ allowedMimeTypes?: string[] | undefined;
1441
+ blockedMimeTypes?: string[] | undefined;
1442
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
1443
+ storageProvider?: string | undefined;
1444
+ storageBucket?: string | undefined;
1445
+ storagePrefix?: string | undefined;
1446
+ imageValidation?: {
1447
+ generateThumbnails: boolean;
1448
+ preserveMetadata: boolean;
1449
+ autoRotate: boolean;
1450
+ minWidth?: number | undefined;
1451
+ maxWidth?: number | undefined;
1452
+ minHeight?: number | undefined;
1453
+ maxHeight?: number | undefined;
1454
+ aspectRatio?: string | undefined;
1455
+ thumbnailSizes?: {
1456
+ name: string;
1457
+ width: number;
1458
+ height: number;
1459
+ crop: boolean;
1460
+ }[] | undefined;
1461
+ } | undefined;
1462
+ maxVersions?: number | undefined;
1463
+ } | undefined;
1464
+ readonly maskingRule?: {
1465
+ field: string;
1466
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
1467
+ preserveFormat: boolean;
1468
+ preserveLength: boolean;
1469
+ pattern?: string | undefined;
1470
+ roles?: string[] | undefined;
1471
+ exemptRoles?: string[] | undefined;
1472
+ } | undefined;
1473
+ readonly auditTrail?: boolean | undefined;
1474
+ readonly dependencies?: string[] | undefined;
1475
+ readonly cached?: {
1476
+ enabled: boolean;
1477
+ ttl: number;
1478
+ invalidateOn: string[];
1479
+ } | undefined;
1480
+ readonly dataQuality?: {
1481
+ uniqueness: boolean;
1482
+ completeness: number;
1483
+ accuracy?: {
1484
+ source: string;
1485
+ threshold: number;
1486
+ } | undefined;
1487
+ } | undefined;
1488
+ readonly group?: string | undefined;
1489
+ readonly conditionalRequired?: string | undefined;
1490
+ readonly hidden?: boolean | undefined;
1491
+ readonly sortable?: boolean | undefined;
1492
+ readonly inlineHelpText?: string | undefined;
1493
+ readonly trackFeedHistory?: boolean | undefined;
1494
+ readonly caseSensitive?: boolean | undefined;
1495
+ readonly autonumberFormat?: string | undefined;
1496
+ readonly index?: boolean | undefined;
1497
+ readonly externalId?: boolean | undefined;
1498
+ readonly type: "textarea";
1499
+ };
1500
+ readonly new_value: {
1501
+ readonly format?: string | undefined;
1502
+ readonly expression?: string | undefined;
1503
+ readonly readonly?: boolean | undefined;
1504
+ readonly defaultValue?: unknown;
1505
+ readonly min?: number | undefined;
1506
+ readonly max?: number | undefined;
1507
+ readonly name?: string | undefined;
1508
+ readonly encryptionConfig?: {
1509
+ enabled: boolean;
1510
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
1511
+ keyManagement: {
1512
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
1513
+ keyId?: string | undefined;
1514
+ rotationPolicy?: {
1515
+ enabled: boolean;
1516
+ frequencyDays: number;
1517
+ retainOldVersions: number;
1518
+ autoRotate: boolean;
1519
+ } | undefined;
1520
+ };
1521
+ scope: "table" | "record" | "field" | "database";
1522
+ deterministicEncryption: boolean;
1523
+ searchableEncryption: boolean;
1524
+ } | undefined;
1525
+ readonly label?: string | undefined;
1526
+ readonly precision?: number | undefined;
1527
+ readonly description?: string | undefined;
1528
+ readonly columnName?: string | undefined;
1529
+ readonly required?: boolean | undefined;
1530
+ readonly searchable?: boolean | undefined;
1531
+ readonly multiple?: boolean | undefined;
1532
+ readonly unique?: boolean | undefined;
1533
+ readonly maxLength?: number | undefined;
1534
+ readonly minLength?: number | undefined;
1535
+ readonly scale?: number | undefined;
1536
+ readonly options?: {
1537
+ label: string;
1538
+ value: string;
1539
+ color?: string | undefined;
1540
+ default?: boolean | undefined;
1541
+ }[] | undefined;
1542
+ readonly reference?: string | undefined;
1543
+ readonly referenceFilters?: string[] | undefined;
1544
+ readonly writeRequiresMasterRead?: boolean | undefined;
1545
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
1546
+ readonly summaryOperations?: {
1547
+ object: string;
1548
+ field: string;
1549
+ function: "count" | "sum" | "avg" | "min" | "max";
1550
+ } | undefined;
1551
+ readonly language?: string | undefined;
1552
+ readonly theme?: string | undefined;
1553
+ readonly lineNumbers?: boolean | undefined;
1554
+ readonly maxRating?: number | undefined;
1555
+ readonly allowHalf?: boolean | undefined;
1556
+ readonly displayMap?: boolean | undefined;
1557
+ readonly allowGeocoding?: boolean | undefined;
1558
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
1559
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
1560
+ readonly allowAlpha?: boolean | undefined;
1561
+ readonly presetColors?: string[] | undefined;
1562
+ readonly step?: number | undefined;
1563
+ readonly showValue?: boolean | undefined;
1564
+ readonly marks?: Record<string, string> | undefined;
1565
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
1566
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
1567
+ readonly displayValue?: boolean | undefined;
1568
+ readonly allowScanning?: boolean | undefined;
1569
+ readonly currencyConfig?: {
1570
+ precision: number;
1571
+ currencyMode: "dynamic" | "fixed";
1572
+ defaultCurrency: string;
1573
+ } | undefined;
1574
+ readonly vectorConfig?: {
1575
+ dimensions: number;
1576
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
1577
+ normalized: boolean;
1578
+ indexed: boolean;
1579
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
1580
+ } | undefined;
1581
+ readonly fileAttachmentConfig?: {
1582
+ virusScan: boolean;
1583
+ virusScanOnUpload: boolean;
1584
+ quarantineOnThreat: boolean;
1585
+ allowMultiple: boolean;
1586
+ allowReplace: boolean;
1587
+ allowDelete: boolean;
1588
+ requireUpload: boolean;
1589
+ extractMetadata: boolean;
1590
+ extractText: boolean;
1591
+ versioningEnabled: boolean;
1592
+ publicRead: boolean;
1593
+ presignedUrlExpiry: number;
1594
+ minSize?: number | undefined;
1595
+ maxSize?: number | undefined;
1596
+ allowedTypes?: string[] | undefined;
1597
+ blockedTypes?: string[] | undefined;
1598
+ allowedMimeTypes?: string[] | undefined;
1599
+ blockedMimeTypes?: string[] | undefined;
1600
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
1601
+ storageProvider?: string | undefined;
1602
+ storageBucket?: string | undefined;
1603
+ storagePrefix?: string | undefined;
1604
+ imageValidation?: {
1605
+ generateThumbnails: boolean;
1606
+ preserveMetadata: boolean;
1607
+ autoRotate: boolean;
1608
+ minWidth?: number | undefined;
1609
+ maxWidth?: number | undefined;
1610
+ minHeight?: number | undefined;
1611
+ maxHeight?: number | undefined;
1612
+ aspectRatio?: string | undefined;
1613
+ thumbnailSizes?: {
1614
+ name: string;
1615
+ width: number;
1616
+ height: number;
1617
+ crop: boolean;
1618
+ }[] | undefined;
1619
+ } | undefined;
1620
+ maxVersions?: number | undefined;
1621
+ } | undefined;
1622
+ readonly maskingRule?: {
1623
+ field: string;
1624
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
1625
+ preserveFormat: boolean;
1626
+ preserveLength: boolean;
1627
+ pattern?: string | undefined;
1628
+ roles?: string[] | undefined;
1629
+ exemptRoles?: string[] | undefined;
1630
+ } | undefined;
1631
+ readonly auditTrail?: boolean | undefined;
1632
+ readonly dependencies?: string[] | undefined;
1633
+ readonly cached?: {
1634
+ enabled: boolean;
1635
+ ttl: number;
1636
+ invalidateOn: string[];
1637
+ } | undefined;
1638
+ readonly dataQuality?: {
1639
+ uniqueness: boolean;
1640
+ completeness: number;
1641
+ accuracy?: {
1642
+ source: string;
1643
+ threshold: number;
1644
+ } | undefined;
1645
+ } | undefined;
1646
+ readonly group?: string | undefined;
1647
+ readonly conditionalRequired?: string | undefined;
1648
+ readonly hidden?: boolean | undefined;
1649
+ readonly sortable?: boolean | undefined;
1650
+ readonly inlineHelpText?: string | undefined;
1651
+ readonly trackFeedHistory?: boolean | undefined;
1652
+ readonly caseSensitive?: boolean | undefined;
1653
+ readonly autonumberFormat?: string | undefined;
1654
+ readonly index?: boolean | undefined;
1655
+ readonly externalId?: boolean | undefined;
1656
+ readonly type: "textarea";
1657
+ };
1658
+ readonly ip_address: {
1659
+ readonly format?: string | undefined;
1660
+ readonly expression?: string | undefined;
1661
+ readonly readonly?: boolean | undefined;
1662
+ readonly defaultValue?: unknown;
1663
+ readonly min?: number | undefined;
1664
+ readonly max?: number | undefined;
1665
+ readonly name?: string | undefined;
1666
+ readonly encryptionConfig?: {
1667
+ enabled: boolean;
1668
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
1669
+ keyManagement: {
1670
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
1671
+ keyId?: string | undefined;
1672
+ rotationPolicy?: {
1673
+ enabled: boolean;
1674
+ frequencyDays: number;
1675
+ retainOldVersions: number;
1676
+ autoRotate: boolean;
1677
+ } | undefined;
1678
+ };
1679
+ scope: "table" | "record" | "field" | "database";
1680
+ deterministicEncryption: boolean;
1681
+ searchableEncryption: boolean;
1682
+ } | undefined;
1683
+ readonly label?: string | undefined;
1684
+ readonly precision?: number | undefined;
1685
+ readonly description?: string | undefined;
1686
+ readonly columnName?: string | undefined;
1687
+ readonly required?: boolean | undefined;
1688
+ readonly searchable?: boolean | undefined;
1689
+ readonly multiple?: boolean | undefined;
1690
+ readonly unique?: boolean | undefined;
1691
+ readonly maxLength?: number | undefined;
1692
+ readonly minLength?: number | undefined;
1693
+ readonly scale?: number | undefined;
1694
+ readonly options?: {
1695
+ label: string;
1696
+ value: string;
1697
+ color?: string | undefined;
1698
+ default?: boolean | undefined;
1699
+ }[] | undefined;
1700
+ readonly reference?: string | undefined;
1701
+ readonly referenceFilters?: string[] | undefined;
1702
+ readonly writeRequiresMasterRead?: boolean | undefined;
1703
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
1704
+ readonly summaryOperations?: {
1705
+ object: string;
1706
+ field: string;
1707
+ function: "count" | "sum" | "avg" | "min" | "max";
1708
+ } | undefined;
1709
+ readonly language?: string | undefined;
1710
+ readonly theme?: string | undefined;
1711
+ readonly lineNumbers?: boolean | undefined;
1712
+ readonly maxRating?: number | undefined;
1713
+ readonly allowHalf?: boolean | undefined;
1714
+ readonly displayMap?: boolean | undefined;
1715
+ readonly allowGeocoding?: boolean | undefined;
1716
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
1717
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
1718
+ readonly allowAlpha?: boolean | undefined;
1719
+ readonly presetColors?: string[] | undefined;
1720
+ readonly step?: number | undefined;
1721
+ readonly showValue?: boolean | undefined;
1722
+ readonly marks?: Record<string, string> | undefined;
1723
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
1724
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
1725
+ readonly displayValue?: boolean | undefined;
1726
+ readonly allowScanning?: boolean | undefined;
1727
+ readonly currencyConfig?: {
1728
+ precision: number;
1729
+ currencyMode: "dynamic" | "fixed";
1730
+ defaultCurrency: string;
1731
+ } | undefined;
1732
+ readonly vectorConfig?: {
1733
+ dimensions: number;
1734
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
1735
+ normalized: boolean;
1736
+ indexed: boolean;
1737
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
1738
+ } | undefined;
1739
+ readonly fileAttachmentConfig?: {
1740
+ virusScan: boolean;
1741
+ virusScanOnUpload: boolean;
1742
+ quarantineOnThreat: boolean;
1743
+ allowMultiple: boolean;
1744
+ allowReplace: boolean;
1745
+ allowDelete: boolean;
1746
+ requireUpload: boolean;
1747
+ extractMetadata: boolean;
1748
+ extractText: boolean;
1749
+ versioningEnabled: boolean;
1750
+ publicRead: boolean;
1751
+ presignedUrlExpiry: number;
1752
+ minSize?: number | undefined;
1753
+ maxSize?: number | undefined;
1754
+ allowedTypes?: string[] | undefined;
1755
+ blockedTypes?: string[] | undefined;
1756
+ allowedMimeTypes?: string[] | undefined;
1757
+ blockedMimeTypes?: string[] | undefined;
1758
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
1759
+ storageProvider?: string | undefined;
1760
+ storageBucket?: string | undefined;
1761
+ storagePrefix?: string | undefined;
1762
+ imageValidation?: {
1763
+ generateThumbnails: boolean;
1764
+ preserveMetadata: boolean;
1765
+ autoRotate: boolean;
1766
+ minWidth?: number | undefined;
1767
+ maxWidth?: number | undefined;
1768
+ minHeight?: number | undefined;
1769
+ maxHeight?: number | undefined;
1770
+ aspectRatio?: string | undefined;
1771
+ thumbnailSizes?: {
1772
+ name: string;
1773
+ width: number;
1774
+ height: number;
1775
+ crop: boolean;
1776
+ }[] | undefined;
1777
+ } | undefined;
1778
+ maxVersions?: number | undefined;
1779
+ } | undefined;
1780
+ readonly maskingRule?: {
1781
+ field: string;
1782
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
1783
+ preserveFormat: boolean;
1784
+ preserveLength: boolean;
1785
+ pattern?: string | undefined;
1786
+ roles?: string[] | undefined;
1787
+ exemptRoles?: string[] | undefined;
1788
+ } | undefined;
1789
+ readonly auditTrail?: boolean | undefined;
1790
+ readonly dependencies?: string[] | undefined;
1791
+ readonly cached?: {
1792
+ enabled: boolean;
1793
+ ttl: number;
1794
+ invalidateOn: string[];
1795
+ } | undefined;
1796
+ readonly dataQuality?: {
1797
+ uniqueness: boolean;
1798
+ completeness: number;
1799
+ accuracy?: {
1800
+ source: string;
1801
+ threshold: number;
1802
+ } | undefined;
1803
+ } | undefined;
1804
+ readonly group?: string | undefined;
1805
+ readonly conditionalRequired?: string | undefined;
1806
+ readonly hidden?: boolean | undefined;
1807
+ readonly sortable?: boolean | undefined;
1808
+ readonly inlineHelpText?: string | undefined;
1809
+ readonly trackFeedHistory?: boolean | undefined;
1810
+ readonly caseSensitive?: boolean | undefined;
1811
+ readonly autonumberFormat?: string | undefined;
1812
+ readonly index?: boolean | undefined;
1813
+ readonly externalId?: boolean | undefined;
1814
+ readonly type: "text";
1815
+ };
1816
+ readonly user_agent: {
1817
+ readonly format?: string | undefined;
1818
+ readonly expression?: string | undefined;
1819
+ readonly readonly?: boolean | undefined;
1820
+ readonly defaultValue?: unknown;
1821
+ readonly min?: number | undefined;
1822
+ readonly max?: number | undefined;
1823
+ readonly name?: string | undefined;
1824
+ readonly encryptionConfig?: {
1825
+ enabled: boolean;
1826
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
1827
+ keyManagement: {
1828
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
1829
+ keyId?: string | undefined;
1830
+ rotationPolicy?: {
1831
+ enabled: boolean;
1832
+ frequencyDays: number;
1833
+ retainOldVersions: number;
1834
+ autoRotate: boolean;
1835
+ } | undefined;
1836
+ };
1837
+ scope: "table" | "record" | "field" | "database";
1838
+ deterministicEncryption: boolean;
1839
+ searchableEncryption: boolean;
1840
+ } | undefined;
1841
+ readonly label?: string | undefined;
1842
+ readonly precision?: number | undefined;
1843
+ readonly description?: string | undefined;
1844
+ readonly columnName?: string | undefined;
1845
+ readonly required?: boolean | undefined;
1846
+ readonly searchable?: boolean | undefined;
1847
+ readonly multiple?: boolean | undefined;
1848
+ readonly unique?: boolean | undefined;
1849
+ readonly maxLength?: number | undefined;
1850
+ readonly minLength?: number | undefined;
1851
+ readonly scale?: number | undefined;
1852
+ readonly options?: {
1853
+ label: string;
1854
+ value: string;
1855
+ color?: string | undefined;
1856
+ default?: boolean | undefined;
1857
+ }[] | undefined;
1858
+ readonly reference?: string | undefined;
1859
+ readonly referenceFilters?: string[] | undefined;
1860
+ readonly writeRequiresMasterRead?: boolean | undefined;
1861
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
1862
+ readonly summaryOperations?: {
1863
+ object: string;
1864
+ field: string;
1865
+ function: "count" | "sum" | "avg" | "min" | "max";
1866
+ } | undefined;
1867
+ readonly language?: string | undefined;
1868
+ readonly theme?: string | undefined;
1869
+ readonly lineNumbers?: boolean | undefined;
1870
+ readonly maxRating?: number | undefined;
1871
+ readonly allowHalf?: boolean | undefined;
1872
+ readonly displayMap?: boolean | undefined;
1873
+ readonly allowGeocoding?: boolean | undefined;
1874
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
1875
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
1876
+ readonly allowAlpha?: boolean | undefined;
1877
+ readonly presetColors?: string[] | undefined;
1878
+ readonly step?: number | undefined;
1879
+ readonly showValue?: boolean | undefined;
1880
+ readonly marks?: Record<string, string> | undefined;
1881
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
1882
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
1883
+ readonly displayValue?: boolean | undefined;
1884
+ readonly allowScanning?: boolean | undefined;
1885
+ readonly currencyConfig?: {
1886
+ precision: number;
1887
+ currencyMode: "dynamic" | "fixed";
1888
+ defaultCurrency: string;
1889
+ } | undefined;
1890
+ readonly vectorConfig?: {
1891
+ dimensions: number;
1892
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
1893
+ normalized: boolean;
1894
+ indexed: boolean;
1895
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
1896
+ } | undefined;
1897
+ readonly fileAttachmentConfig?: {
1898
+ virusScan: boolean;
1899
+ virusScanOnUpload: boolean;
1900
+ quarantineOnThreat: boolean;
1901
+ allowMultiple: boolean;
1902
+ allowReplace: boolean;
1903
+ allowDelete: boolean;
1904
+ requireUpload: boolean;
1905
+ extractMetadata: boolean;
1906
+ extractText: boolean;
1907
+ versioningEnabled: boolean;
1908
+ publicRead: boolean;
1909
+ presignedUrlExpiry: number;
1910
+ minSize?: number | undefined;
1911
+ maxSize?: number | undefined;
1912
+ allowedTypes?: string[] | undefined;
1913
+ blockedTypes?: string[] | undefined;
1914
+ allowedMimeTypes?: string[] | undefined;
1915
+ blockedMimeTypes?: string[] | undefined;
1916
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
1917
+ storageProvider?: string | undefined;
1918
+ storageBucket?: string | undefined;
1919
+ storagePrefix?: string | undefined;
1920
+ imageValidation?: {
1921
+ generateThumbnails: boolean;
1922
+ preserveMetadata: boolean;
1923
+ autoRotate: boolean;
1924
+ minWidth?: number | undefined;
1925
+ maxWidth?: number | undefined;
1926
+ minHeight?: number | undefined;
1927
+ maxHeight?: number | undefined;
1928
+ aspectRatio?: string | undefined;
1929
+ thumbnailSizes?: {
1930
+ name: string;
1931
+ width: number;
1932
+ height: number;
1933
+ crop: boolean;
1934
+ }[] | undefined;
1935
+ } | undefined;
1936
+ maxVersions?: number | undefined;
1937
+ } | undefined;
1938
+ readonly maskingRule?: {
1939
+ field: string;
1940
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
1941
+ preserveFormat: boolean;
1942
+ preserveLength: boolean;
1943
+ pattern?: string | undefined;
1944
+ roles?: string[] | undefined;
1945
+ exemptRoles?: string[] | undefined;
1946
+ } | undefined;
1947
+ readonly auditTrail?: boolean | undefined;
1948
+ readonly dependencies?: string[] | undefined;
1949
+ readonly cached?: {
1950
+ enabled: boolean;
1951
+ ttl: number;
1952
+ invalidateOn: string[];
1953
+ } | undefined;
1954
+ readonly dataQuality?: {
1955
+ uniqueness: boolean;
1956
+ completeness: number;
1957
+ accuracy?: {
1958
+ source: string;
1959
+ threshold: number;
1960
+ } | undefined;
1961
+ } | undefined;
1962
+ readonly group?: string | undefined;
1963
+ readonly conditionalRequired?: string | undefined;
1964
+ readonly hidden?: boolean | undefined;
1965
+ readonly sortable?: boolean | undefined;
1966
+ readonly inlineHelpText?: string | undefined;
1967
+ readonly trackFeedHistory?: boolean | undefined;
1968
+ readonly caseSensitive?: boolean | undefined;
1969
+ readonly autonumberFormat?: string | undefined;
1970
+ readonly index?: boolean | undefined;
1971
+ readonly externalId?: boolean | undefined;
1972
+ readonly type: "textarea";
1973
+ };
1974
+ readonly tenant_id: {
1975
+ readonly format?: string | undefined;
1976
+ readonly expression?: string | undefined;
1977
+ readonly readonly?: boolean | undefined;
1978
+ readonly defaultValue?: unknown;
1979
+ readonly min?: number | undefined;
1980
+ readonly max?: number | undefined;
1981
+ readonly name?: string | undefined;
1982
+ readonly encryptionConfig?: {
1983
+ enabled: boolean;
1984
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
1985
+ keyManagement: {
1986
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
1987
+ keyId?: string | undefined;
1988
+ rotationPolicy?: {
1989
+ enabled: boolean;
1990
+ frequencyDays: number;
1991
+ retainOldVersions: number;
1992
+ autoRotate: boolean;
1993
+ } | undefined;
1994
+ };
1995
+ scope: "table" | "record" | "field" | "database";
1996
+ deterministicEncryption: boolean;
1997
+ searchableEncryption: boolean;
1998
+ } | undefined;
1999
+ readonly label?: string | undefined;
2000
+ readonly precision?: number | undefined;
2001
+ readonly description?: string | undefined;
2002
+ readonly columnName?: string | undefined;
2003
+ readonly required?: boolean | undefined;
2004
+ readonly searchable?: boolean | undefined;
2005
+ readonly multiple?: boolean | undefined;
2006
+ readonly unique?: boolean | undefined;
2007
+ readonly maxLength?: number | undefined;
2008
+ readonly minLength?: number | undefined;
2009
+ readonly scale?: number | undefined;
2010
+ readonly options?: {
2011
+ label: string;
2012
+ value: string;
2013
+ color?: string | undefined;
2014
+ default?: boolean | undefined;
2015
+ }[] | undefined;
2016
+ readonly reference?: string | undefined;
2017
+ readonly referenceFilters?: string[] | undefined;
2018
+ readonly writeRequiresMasterRead?: boolean | undefined;
2019
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
2020
+ readonly summaryOperations?: {
2021
+ object: string;
2022
+ field: string;
2023
+ function: "count" | "sum" | "avg" | "min" | "max";
2024
+ } | undefined;
2025
+ readonly language?: string | undefined;
2026
+ readonly theme?: string | undefined;
2027
+ readonly lineNumbers?: boolean | undefined;
2028
+ readonly maxRating?: number | undefined;
2029
+ readonly allowHalf?: boolean | undefined;
2030
+ readonly displayMap?: boolean | undefined;
2031
+ readonly allowGeocoding?: boolean | undefined;
2032
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
2033
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
2034
+ readonly allowAlpha?: boolean | undefined;
2035
+ readonly presetColors?: string[] | undefined;
2036
+ readonly step?: number | undefined;
2037
+ readonly showValue?: boolean | undefined;
2038
+ readonly marks?: Record<string, string> | undefined;
2039
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
2040
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
2041
+ readonly displayValue?: boolean | undefined;
2042
+ readonly allowScanning?: boolean | undefined;
2043
+ readonly currencyConfig?: {
2044
+ precision: number;
2045
+ currencyMode: "dynamic" | "fixed";
2046
+ defaultCurrency: string;
2047
+ } | undefined;
2048
+ readonly vectorConfig?: {
2049
+ dimensions: number;
2050
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
2051
+ normalized: boolean;
2052
+ indexed: boolean;
2053
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
2054
+ } | undefined;
2055
+ readonly fileAttachmentConfig?: {
2056
+ virusScan: boolean;
2057
+ virusScanOnUpload: boolean;
2058
+ quarantineOnThreat: boolean;
2059
+ allowMultiple: boolean;
2060
+ allowReplace: boolean;
2061
+ allowDelete: boolean;
2062
+ requireUpload: boolean;
2063
+ extractMetadata: boolean;
2064
+ extractText: boolean;
2065
+ versioningEnabled: boolean;
2066
+ publicRead: boolean;
2067
+ presignedUrlExpiry: number;
2068
+ minSize?: number | undefined;
2069
+ maxSize?: number | undefined;
2070
+ allowedTypes?: string[] | undefined;
2071
+ blockedTypes?: string[] | undefined;
2072
+ allowedMimeTypes?: string[] | undefined;
2073
+ blockedMimeTypes?: string[] | undefined;
2074
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
2075
+ storageProvider?: string | undefined;
2076
+ storageBucket?: string | undefined;
2077
+ storagePrefix?: string | undefined;
2078
+ imageValidation?: {
2079
+ generateThumbnails: boolean;
2080
+ preserveMetadata: boolean;
2081
+ autoRotate: boolean;
2082
+ minWidth?: number | undefined;
2083
+ maxWidth?: number | undefined;
2084
+ minHeight?: number | undefined;
2085
+ maxHeight?: number | undefined;
2086
+ aspectRatio?: string | undefined;
2087
+ thumbnailSizes?: {
2088
+ name: string;
2089
+ width: number;
2090
+ height: number;
2091
+ crop: boolean;
2092
+ }[] | undefined;
2093
+ } | undefined;
2094
+ maxVersions?: number | undefined;
2095
+ } | undefined;
2096
+ readonly maskingRule?: {
2097
+ field: string;
2098
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
2099
+ preserveFormat: boolean;
2100
+ preserveLength: boolean;
2101
+ pattern?: string | undefined;
2102
+ roles?: string[] | undefined;
2103
+ exemptRoles?: string[] | undefined;
2104
+ } | undefined;
2105
+ readonly auditTrail?: boolean | undefined;
2106
+ readonly dependencies?: string[] | undefined;
2107
+ readonly cached?: {
2108
+ enabled: boolean;
2109
+ ttl: number;
2110
+ invalidateOn: string[];
2111
+ } | undefined;
2112
+ readonly dataQuality?: {
2113
+ uniqueness: boolean;
2114
+ completeness: number;
2115
+ accuracy?: {
2116
+ source: string;
2117
+ threshold: number;
2118
+ } | undefined;
2119
+ } | undefined;
2120
+ readonly group?: string | undefined;
2121
+ readonly conditionalRequired?: string | undefined;
2122
+ readonly hidden?: boolean | undefined;
2123
+ readonly sortable?: boolean | undefined;
2124
+ readonly inlineHelpText?: string | undefined;
2125
+ readonly trackFeedHistory?: boolean | undefined;
2126
+ readonly caseSensitive?: boolean | undefined;
2127
+ readonly autonumberFormat?: string | undefined;
2128
+ readonly index?: boolean | undefined;
2129
+ readonly externalId?: boolean | undefined;
2130
+ readonly type: "text";
2131
+ };
2132
+ readonly metadata: {
2133
+ readonly format?: string | undefined;
2134
+ readonly expression?: string | undefined;
2135
+ readonly readonly?: boolean | undefined;
2136
+ readonly defaultValue?: unknown;
2137
+ readonly min?: number | undefined;
2138
+ readonly max?: number | undefined;
2139
+ readonly name?: string | undefined;
2140
+ readonly encryptionConfig?: {
2141
+ enabled: boolean;
2142
+ algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
2143
+ keyManagement: {
2144
+ provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
2145
+ keyId?: string | undefined;
2146
+ rotationPolicy?: {
2147
+ enabled: boolean;
2148
+ frequencyDays: number;
2149
+ retainOldVersions: number;
2150
+ autoRotate: boolean;
2151
+ } | undefined;
2152
+ };
2153
+ scope: "table" | "record" | "field" | "database";
2154
+ deterministicEncryption: boolean;
2155
+ searchableEncryption: boolean;
2156
+ } | undefined;
2157
+ readonly label?: string | undefined;
2158
+ readonly precision?: number | undefined;
2159
+ readonly description?: string | undefined;
2160
+ readonly columnName?: string | undefined;
2161
+ readonly required?: boolean | undefined;
2162
+ readonly searchable?: boolean | undefined;
2163
+ readonly multiple?: boolean | undefined;
2164
+ readonly unique?: boolean | undefined;
2165
+ readonly maxLength?: number | undefined;
2166
+ readonly minLength?: number | undefined;
2167
+ readonly scale?: number | undefined;
2168
+ readonly options?: {
2169
+ label: string;
2170
+ value: string;
2171
+ color?: string | undefined;
2172
+ default?: boolean | undefined;
2173
+ }[] | undefined;
2174
+ readonly reference?: string | undefined;
2175
+ readonly referenceFilters?: string[] | undefined;
2176
+ readonly writeRequiresMasterRead?: boolean | undefined;
2177
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
2178
+ readonly summaryOperations?: {
2179
+ object: string;
2180
+ field: string;
2181
+ function: "count" | "sum" | "avg" | "min" | "max";
2182
+ } | undefined;
2183
+ readonly language?: string | undefined;
2184
+ readonly theme?: string | undefined;
2185
+ readonly lineNumbers?: boolean | undefined;
2186
+ readonly maxRating?: number | undefined;
2187
+ readonly allowHalf?: boolean | undefined;
2188
+ readonly displayMap?: boolean | undefined;
2189
+ readonly allowGeocoding?: boolean | undefined;
2190
+ readonly addressFormat?: "us" | "uk" | "international" | undefined;
2191
+ readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
2192
+ readonly allowAlpha?: boolean | undefined;
2193
+ readonly presetColors?: string[] | undefined;
2194
+ readonly step?: number | undefined;
2195
+ readonly showValue?: boolean | undefined;
2196
+ readonly marks?: Record<string, string> | undefined;
2197
+ readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
2198
+ readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
2199
+ readonly displayValue?: boolean | undefined;
2200
+ readonly allowScanning?: boolean | undefined;
2201
+ readonly currencyConfig?: {
2202
+ precision: number;
2203
+ currencyMode: "dynamic" | "fixed";
2204
+ defaultCurrency: string;
2205
+ } | undefined;
2206
+ readonly vectorConfig?: {
2207
+ dimensions: number;
2208
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
2209
+ normalized: boolean;
2210
+ indexed: boolean;
2211
+ indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
2212
+ } | undefined;
2213
+ readonly fileAttachmentConfig?: {
2214
+ virusScan: boolean;
2215
+ virusScanOnUpload: boolean;
2216
+ quarantineOnThreat: boolean;
2217
+ allowMultiple: boolean;
2218
+ allowReplace: boolean;
2219
+ allowDelete: boolean;
2220
+ requireUpload: boolean;
2221
+ extractMetadata: boolean;
2222
+ extractText: boolean;
2223
+ versioningEnabled: boolean;
2224
+ publicRead: boolean;
2225
+ presignedUrlExpiry: number;
2226
+ minSize?: number | undefined;
2227
+ maxSize?: number | undefined;
2228
+ allowedTypes?: string[] | undefined;
2229
+ blockedTypes?: string[] | undefined;
2230
+ allowedMimeTypes?: string[] | undefined;
2231
+ blockedMimeTypes?: string[] | undefined;
2232
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
2233
+ storageProvider?: string | undefined;
2234
+ storageBucket?: string | undefined;
2235
+ storagePrefix?: string | undefined;
2236
+ imageValidation?: {
2237
+ generateThumbnails: boolean;
2238
+ preserveMetadata: boolean;
2239
+ autoRotate: boolean;
2240
+ minWidth?: number | undefined;
2241
+ maxWidth?: number | undefined;
2242
+ minHeight?: number | undefined;
2243
+ maxHeight?: number | undefined;
2244
+ aspectRatio?: string | undefined;
2245
+ thumbnailSizes?: {
2246
+ name: string;
2247
+ width: number;
2248
+ height: number;
2249
+ crop: boolean;
2250
+ }[] | undefined;
2251
+ } | undefined;
2252
+ maxVersions?: number | undefined;
2253
+ } | undefined;
2254
+ readonly maskingRule?: {
2255
+ field: string;
2256
+ strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
2257
+ preserveFormat: boolean;
2258
+ preserveLength: boolean;
2259
+ pattern?: string | undefined;
2260
+ roles?: string[] | undefined;
2261
+ exemptRoles?: string[] | undefined;
2262
+ } | undefined;
2263
+ readonly auditTrail?: boolean | undefined;
2264
+ readonly dependencies?: string[] | undefined;
2265
+ readonly cached?: {
2266
+ enabled: boolean;
2267
+ ttl: number;
2268
+ invalidateOn: string[];
2269
+ } | undefined;
2270
+ readonly dataQuality?: {
2271
+ uniqueness: boolean;
2272
+ completeness: number;
2273
+ accuracy?: {
2274
+ source: string;
2275
+ threshold: number;
2276
+ } | undefined;
2277
+ } | undefined;
2278
+ readonly group?: string | undefined;
2279
+ readonly conditionalRequired?: string | undefined;
2280
+ readonly hidden?: boolean | undefined;
2281
+ readonly sortable?: boolean | undefined;
2282
+ readonly inlineHelpText?: string | undefined;
2283
+ readonly trackFeedHistory?: boolean | undefined;
2284
+ readonly caseSensitive?: boolean | undefined;
2285
+ readonly autonumberFormat?: string | undefined;
2286
+ readonly index?: boolean | undefined;
2287
+ readonly externalId?: boolean | undefined;
2288
+ readonly type: "textarea";
2289
+ };
2290
+ };
2291
+ readonly indexes: [{
2292
+ readonly fields: ["created_at"];
2293
+ }, {
2294
+ readonly fields: ["user_id"];
2295
+ }, {
2296
+ readonly fields: ["object_name", "record_id"];
2297
+ }, {
2298
+ readonly fields: ["action"];
2299
+ }, {
2300
+ readonly fields: ["tenant_id"];
2301
+ }];
2302
+ readonly enable: {
2303
+ readonly trackHistory: false;
2304
+ readonly searchable: true;
2305
+ readonly apiEnabled: true;
2306
+ readonly apiMethods: ["get", "list"];
2307
+ readonly trash: false;
2308
+ readonly mru: false;
2309
+ readonly clone: false;
2310
+ };
2311
+ }, "fields">;
2312
+
2313
+ export { SysAuditLog };