twenty-sdk 2.54.3 → 2.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,278 +20,6 @@ type AgentJsonResponseFormat = {
20
20
  };
21
21
  type AgentResponseFormat = AgentTextResponseFormat | AgentJsonResponseFormat;
22
22
 
23
- type ModelConfiguration = {
24
- webSearch?: {
25
- enabled: boolean;
26
- configuration?: Record<string, unknown>;
27
- };
28
- twitterSearch?: {
29
- enabled: boolean;
30
- configuration?: Record<string, unknown>;
31
- };
32
- };
33
-
34
- declare const ALLOWED_ADDRESS_SUBFIELDS: readonly ["addressStreet1", "addressStreet2", "addressCity", "addressState", "addressPostcode", "addressCountry", "addressLat", "addressLng"];
35
- type AllowedAddressSubField = (typeof ALLOWED_ADDRESS_SUBFIELDS)[number];
36
-
37
- declare enum AggregateOperations {
38
- MIN = "MIN",
39
- MAX = "MAX",
40
- AVG = "AVG",
41
- SUM = "SUM",
42
- COUNT = "COUNT",
43
- COUNT_UNIQUE_VALUES = "COUNT_UNIQUE_VALUES",
44
- COUNT_EMPTY = "COUNT_EMPTY",
45
- COUNT_NOT_EMPTY = "COUNT_NOT_EMPTY",
46
- COUNT_TRUE = "COUNT_TRUE",
47
- COUNT_FALSE = "COUNT_FALSE",
48
- PERCENTAGE_EMPTY = "PERCENTAGE_EMPTY",
49
- PERCENTAGE_NOT_EMPTY = "PERCENTAGE_NOT_EMPTY"
50
- }
51
-
52
- declare enum ContextStorePageType {
53
- Index = "INDEX_PAGE",
54
- Record = "RECORD_PAGE",
55
- Standalone = "STANDALONE_PAGE",
56
- Settings = "SETTINGS_PAGE"
57
- }
58
-
59
- type RestrictedFieldPermissions = {
60
- canRead?: boolean | null;
61
- canUpdate?: boolean | null;
62
- };
63
-
64
- type RestrictedFieldsPermissions = Record<string, RestrictedFieldPermissions>;
65
-
66
- declare enum RowLevelPermissionPredicateOperand {
67
- IS = "IS",
68
- IS_NOT_NULL = "IS_NOT_NULL",
69
- IS_NOT = "IS_NOT",
70
- LESS_THAN_OR_EQUAL = "LESS_THAN_OR_EQUAL",
71
- GREATER_THAN_OR_EQUAL = "GREATER_THAN_OR_EQUAL",
72
- IS_BEFORE = "IS_BEFORE",
73
- IS_AFTER = "IS_AFTER",
74
- CONTAINS = "CONTAINS",
75
- DOES_NOT_CONTAIN = "DOES_NOT_CONTAIN",
76
- IS_EMPTY = "IS_EMPTY",
77
- IS_NOT_EMPTY = "IS_NOT_EMPTY",
78
- IS_RELATIVE = "IS_RELATIVE",
79
- IS_IN_PAST = "IS_IN_PAST",
80
- IS_IN_FUTURE = "IS_IN_FUTURE",
81
- IS_TODAY = "IS_TODAY",
82
- VECTOR_SEARCH = "VECTOR_SEARCH"
83
- }
84
-
85
- type RelationPredicateValue = {
86
- isCurrentWorkspaceMemberSelected?: boolean;
87
- selectedRecordIds: string[];
88
- };
89
- type RowLevelPermissionPredicateValue = string | string[] | boolean | number | RelationPredicateValue | Record<string, unknown> | null;
90
-
91
- type RowLevelPermissionPredicate = {
92
- id: string;
93
- fieldMetadataId: string;
94
- objectMetadataId: string;
95
- operand: RowLevelPermissionPredicateOperand;
96
- value: RowLevelPermissionPredicateValue;
97
- subFieldName: string | null;
98
- rowLevelPermissionPredicateGroupId: string | null;
99
- workspaceMemberFieldMetadataId: string | null;
100
- workspaceMemberSubFieldName: string | null;
101
- roleId: string;
102
- };
103
-
104
- declare enum RowLevelPermissionPredicateGroupLogicalOperator {
105
- AND = "AND",
106
- OR = "OR"
107
- }
108
-
109
- type RowLevelPermissionPredicateGroup = {
110
- id: string;
111
- logicalOperator: RowLevelPermissionPredicateGroupLogicalOperator;
112
- objectMetadataId: string;
113
- parentRowLevelPermissionPredicateGroupId: string | null;
114
- positionInRowLevelPermissionPredicateGroup: number | null;
115
- roleId: string;
116
- };
117
-
118
- type ObjectPermissions = {
119
- canReadObjectRecords: boolean;
120
- canUpdateObjectRecords: boolean;
121
- canSoftDeleteObjectRecords: boolean;
122
- canDestroyObjectRecords: boolean;
123
- restrictedFields: RestrictedFieldsPermissions;
124
- rowLevelPermissionPredicates: RowLevelPermissionPredicate[];
125
- rowLevelPermissionPredicateGroups: RowLevelPermissionPredicateGroup[];
126
- };
127
-
128
- interface ObjectRecord {
129
- id: string;
130
- [key: string]: any;
131
- }
132
-
133
- type CommandMenuContextApi = {
134
- pageType: ContextStorePageType;
135
- isInSidePanel: boolean;
136
- isDashboardPageLayoutInEditMode: boolean;
137
- isLayoutCustomizationModeEnabled: boolean;
138
- favoriteRecordIds: string[];
139
- isSelectAll: boolean;
140
- hasAnySoftDeleteFilterOnView: boolean;
141
- numberOfSelectedRecords: number;
142
- objectPermissions: ObjectPermissions & {
143
- objectMetadataId: string;
144
- };
145
- selectedRecords: ObjectRecord[];
146
- featureFlags: Record<string, boolean>;
147
- permissionFlags: Record<string, boolean>;
148
- targetObjectReadPermissions: Record<string, boolean>;
149
- targetObjectWritePermissions: Record<string, boolean>;
150
- canImpersonate: boolean;
151
- canAccessFullAdminPanel: boolean;
152
- objectMetadataItem: Record<string, unknown>;
153
- objectMetadataLabel: string;
154
- };
155
-
156
- declare enum CommandMenuItemAvailabilityType {
157
- GLOBAL = "GLOBAL",
158
- GLOBAL_OBJECT_CONTEXT = "GLOBAL_OBJECT_CONTEXT",
159
- RECORD_SELECTION = "RECORD_SELECTION",
160
- FALLBACK = "FALLBACK"
161
- }
162
-
163
- declare enum FieldMetadataType {
164
- ACTOR = "ACTOR",
165
- ADDRESS = "ADDRESS",
166
- ARRAY = "ARRAY",
167
- BOOLEAN = "BOOLEAN",
168
- CURRENCY = "CURRENCY",
169
- DATE = "DATE",
170
- DATE_TIME = "DATE_TIME",
171
- EMAILS = "EMAILS",
172
- FILES = "FILES",
173
- FULL_NAME = "FULL_NAME",
174
- LINKS = "LINKS",
175
- MORPH_RELATION = "MORPH_RELATION",
176
- MULTI_SELECT = "MULTI_SELECT",
177
- NUMBER = "NUMBER",
178
- NUMERIC = "NUMERIC",
179
- PHONES = "PHONES",
180
- POSITION = "POSITION",
181
- RATING = "RATING",
182
- RAW_JSON = "RAW_JSON",
183
- RELATION = "RELATION",
184
- RICH_TEXT = "RICH_TEXT",
185
- SELECT = "SELECT",
186
- TEXT = "TEXT",
187
- TS_VECTOR = "TS_VECTOR",
188
- UUID = "UUID"
189
- }
190
-
191
- type IsExactly<T, U> = [T] extends [U] ? [U] extends [T] ? true : false : false;
192
-
193
- declare const TAG_COLORS: readonly ["red", "ruby", "crimson", "tomato", "orange", "amber", "yellow", "lime", "grass", "green", "jade", "mint", "turquoise", "cyan", "sky", "blue", "iris", "violet", "purple", "plum", "pink", "bronze", "gold", "brown", "gray"];
194
-
195
- type TagColor = (typeof TAG_COLORS)[number];
196
-
197
- declare class FieldMetadataDefaultOption {
198
- id?: string;
199
- position: number;
200
- label: string;
201
- value: string;
202
- }
203
- declare class FieldMetadataComplexOption extends FieldMetadataDefaultOption {
204
- color: TagColor;
205
- }
206
- type FieldMetadataOptionsMapping = {
207
- [FieldMetadataType.RATING]: FieldMetadataDefaultOption[];
208
- [FieldMetadataType.SELECT]: FieldMetadataComplexOption[];
209
- [FieldMetadataType.MULTI_SELECT]: FieldMetadataComplexOption[];
210
- };
211
- type FieldMetadataOptionForAnyType = null | FieldMetadataOptionsMapping[keyof FieldMetadataOptionsMapping];
212
- type FieldMetadataOptions<T extends FieldMetadataType = FieldMetadataType> = IsExactly<T, FieldMetadataType> extends true ? FieldMetadataOptionForAnyType : T extends keyof FieldMetadataOptionsMapping ? FieldMetadataOptionsMapping[T] : never | null;
213
-
214
- declare enum ConnectedAccountProvider {
215
- GOOGLE = "google",
216
- MICROSOFT = "microsoft",
217
- IMAP_SMTP_CALDAV = "imap_smtp_caldav",
218
- OIDC = "oidc",
219
- SAML = "saml",
220
- EMAIL_GROUP = "email_group",
221
- APP = "app"
222
- }
223
-
224
- declare enum FieldActorSource {
225
- EMAIL = "EMAIL",
226
- CALENDAR = "CALENDAR",
227
- WORKFLOW = "WORKFLOW",
228
- AGENT = "AGENT",
229
- API = "API",
230
- IMPORT = "IMPORT",
231
- MANUAL = "MANUAL",
232
- SYSTEM = "SYSTEM",
233
- WEBHOOK = "WEBHOOK",
234
- APPLICATION = "APPLICATION"
235
- }
236
- type ActorMetadata = {
237
- source: FieldActorSource;
238
- workspaceMemberId: string | null;
239
- name: string;
240
- context: {
241
- provider?: ConnectedAccountProvider;
242
- applicationId?: string;
243
- agentId?: string;
244
- };
245
- };
246
-
247
- type AddressMetadata = {
248
- addressStreet1: string;
249
- addressStreet2: string;
250
- addressCity: string;
251
- addressState: string;
252
- addressZipCode: string;
253
- addressCountry: string;
254
- addressLat: number;
255
- addressLng: number;
256
- };
257
-
258
- type CurrencyMetadata = {
259
- amountMicros: number;
260
- currencyCode: string;
261
- };
262
-
263
- type EmailsMetadata = {
264
- primaryEmail: string;
265
- additionalEmails: string[] | null;
266
- };
267
-
268
- type FullNameMetadata = {
269
- firstName: string;
270
- lastName: string;
271
- };
272
-
273
- type LinkMetadata = {
274
- label: string;
275
- url: string;
276
- };
277
- type LinksMetadata = {
278
- primaryLinkLabel: string;
279
- primaryLinkUrl: string;
280
- secondaryLinks: LinkMetadata[] | null;
281
- };
282
-
283
- type AdditionalPhoneMetadata = {
284
- number: string;
285
- countryCode: CountryCode;
286
- callingCode: string;
287
- };
288
- type PrimaryPhoneMetadata<T extends AdditionalPhoneMetadata = AdditionalPhoneMetadata> = {
289
- [Property in keyof AdditionalPhoneMetadata as `primaryPhone${Capitalize<string & Property>}`]: T[Property];
290
- };
291
- type PhonesMetadata = PrimaryPhoneMetadata & {
292
- additionalPhones: Array<AdditionalPhoneMetadata> | null;
293
- };
294
-
295
23
  type _JSONSchema = boolean | JSONSchema;
296
24
  type SchemaType = "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
297
25
  type JSONSchema = {
@@ -2601,35 +2329,317 @@ interface ZodNonOptional<T extends SomeType = $ZodType> extends _ZodType<$ZodNon
2601
2329
  "~standard": ZodStandardSchemaWithJSON<this>;
2602
2330
  unwrap(): T;
2603
2331
  }
2604
- declare const ZodNonOptional: $constructor<ZodNonOptional>;
2605
- interface ZodCatch<T extends SomeType = $ZodType> extends _ZodType<$ZodCatchInternals<T>>, $ZodCatch<T> {
2606
- "~standard": ZodStandardSchemaWithJSON<this>;
2607
- unwrap(): T;
2608
- /** @deprecated Use `.unwrap()` instead. */
2609
- removeCatch(): T;
2332
+ declare const ZodNonOptional: $constructor<ZodNonOptional>;
2333
+ interface ZodCatch<T extends SomeType = $ZodType> extends _ZodType<$ZodCatchInternals<T>>, $ZodCatch<T> {
2334
+ "~standard": ZodStandardSchemaWithJSON<this>;
2335
+ unwrap(): T;
2336
+ /** @deprecated Use `.unwrap()` instead. */
2337
+ removeCatch(): T;
2338
+ }
2339
+ declare const ZodCatch: $constructor<ZodCatch>;
2340
+ interface ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _ZodType<$ZodPipeInternals<A, B>>, $ZodPipe<A, B> {
2341
+ "~standard": ZodStandardSchemaWithJSON<this>;
2342
+ in: A;
2343
+ out: B;
2344
+ }
2345
+ declare const ZodPipe: $constructor<ZodPipe>;
2346
+ interface ZodPreprocess<B extends SomeType = $ZodType, I = unknown> extends ZodPipe<$ZodTransform<unknown, I>, B>, $ZodPreprocess<B, I> {
2347
+ "~standard": ZodStandardSchemaWithJSON<this>;
2348
+ _zod: $ZodPreprocessInternals<B, I>;
2349
+ def: $ZodPreprocessDef<B, I>;
2350
+ }
2351
+ declare const ZodPreprocess: $constructor<ZodPreprocess>;
2352
+ interface ZodReadonly<T extends SomeType = $ZodType> extends _ZodType<$ZodReadonlyInternals<T>>, $ZodReadonly<T> {
2353
+ "~standard": ZodStandardSchemaWithJSON<this>;
2354
+ unwrap(): T;
2355
+ }
2356
+ declare const ZodReadonly: $constructor<ZodReadonly>;
2357
+
2358
+ type input<T> = input$1<T>;
2359
+ /** Returns a copy of the schema with every pipe replaced by its input side. A codec's checks are dropped: they constrain the decoded value the input side never produces. */
2360
+ declare function input<T extends $ZodType>(schema: T): ZodType<input$1<T>, input$1<T>>;
2361
+
2362
+ declare const modelConfigurationSchema: ZodObject<{
2363
+ webSearch: ZodOptional<ZodObject<{
2364
+ enabled: ZodBoolean;
2365
+ configuration: ZodOptional<ZodRecord<ZodString, ZodAny>>;
2366
+ }, $strip>>;
2367
+ twitterSearch: ZodOptional<ZodObject<{
2368
+ enabled: ZodBoolean;
2369
+ configuration: ZodOptional<ZodRecord<ZodString, ZodAny>>;
2370
+ }, $strip>>;
2371
+ }, $strip>;
2372
+
2373
+ type ModelConfiguration = output<typeof modelConfigurationSchema>;
2374
+
2375
+ declare const ALLOWED_ADDRESS_SUBFIELDS: readonly ["addressStreet1", "addressStreet2", "addressCity", "addressState", "addressPostcode", "addressCountry", "addressLat", "addressLng"];
2376
+ type AllowedAddressSubField = (typeof ALLOWED_ADDRESS_SUBFIELDS)[number];
2377
+
2378
+ declare enum AggregateOperations {
2379
+ MIN = "MIN",
2380
+ MAX = "MAX",
2381
+ AVG = "AVG",
2382
+ SUM = "SUM",
2383
+ COUNT = "COUNT",
2384
+ COUNT_UNIQUE_VALUES = "COUNT_UNIQUE_VALUES",
2385
+ COUNT_EMPTY = "COUNT_EMPTY",
2386
+ COUNT_NOT_EMPTY = "COUNT_NOT_EMPTY",
2387
+ COUNT_TRUE = "COUNT_TRUE",
2388
+ COUNT_FALSE = "COUNT_FALSE",
2389
+ PERCENTAGE_EMPTY = "PERCENTAGE_EMPTY",
2390
+ PERCENTAGE_NOT_EMPTY = "PERCENTAGE_NOT_EMPTY"
2391
+ }
2392
+
2393
+ declare const COMMAND_MENU_CORE_OBJECT_NAMES: readonly ["workflow"];
2394
+ type CommandMenuCoreObjectName = (typeof COMMAND_MENU_CORE_OBJECT_NAMES)[number];
2395
+
2396
+ declare enum ContextStorePageType {
2397
+ Index = "INDEX_PAGE",
2398
+ Record = "RECORD_PAGE",
2399
+ Standalone = "STANDALONE_PAGE",
2400
+ Settings = "SETTINGS_PAGE"
2401
+ }
2402
+
2403
+ type RestrictedFieldPermissions = {
2404
+ canRead?: boolean | null;
2405
+ canUpdate?: boolean | null;
2406
+ };
2407
+
2408
+ type RestrictedFieldsPermissions = Record<string, RestrictedFieldPermissions>;
2409
+
2410
+ declare enum RowLevelPermissionPredicateOperand {
2411
+ IS = "IS",
2412
+ IS_NOT_NULL = "IS_NOT_NULL",
2413
+ IS_NOT = "IS_NOT",
2414
+ LESS_THAN_OR_EQUAL = "LESS_THAN_OR_EQUAL",
2415
+ GREATER_THAN_OR_EQUAL = "GREATER_THAN_OR_EQUAL",
2416
+ IS_BEFORE = "IS_BEFORE",
2417
+ IS_AFTER = "IS_AFTER",
2418
+ CONTAINS = "CONTAINS",
2419
+ DOES_NOT_CONTAIN = "DOES_NOT_CONTAIN",
2420
+ IS_EMPTY = "IS_EMPTY",
2421
+ IS_NOT_EMPTY = "IS_NOT_EMPTY",
2422
+ IS_RELATIVE = "IS_RELATIVE",
2423
+ IS_IN_PAST = "IS_IN_PAST",
2424
+ IS_IN_FUTURE = "IS_IN_FUTURE",
2425
+ IS_TODAY = "IS_TODAY",
2426
+ VECTOR_SEARCH = "VECTOR_SEARCH"
2427
+ }
2428
+
2429
+ type RelationPredicateValue = {
2430
+ isCurrentWorkspaceMemberSelected?: boolean;
2431
+ selectedRecordIds: string[];
2432
+ };
2433
+ type RowLevelPermissionPredicateValue = string | string[] | boolean | number | RelationPredicateValue | Record<string, unknown> | null;
2434
+
2435
+ type RowLevelPermissionPredicate = {
2436
+ id: string;
2437
+ fieldMetadataId: string;
2438
+ objectMetadataId: string;
2439
+ operand: RowLevelPermissionPredicateOperand;
2440
+ value: RowLevelPermissionPredicateValue;
2441
+ subFieldName: string | null;
2442
+ rowLevelPermissionPredicateGroupId: string | null;
2443
+ workspaceMemberFieldMetadataId: string | null;
2444
+ workspaceMemberSubFieldName: string | null;
2445
+ roleId: string;
2446
+ };
2447
+
2448
+ declare enum RowLevelPermissionPredicateGroupLogicalOperator {
2449
+ AND = "AND",
2450
+ OR = "OR"
2451
+ }
2452
+
2453
+ type RowLevelPermissionPredicateGroup = {
2454
+ id: string;
2455
+ logicalOperator: RowLevelPermissionPredicateGroupLogicalOperator;
2456
+ objectMetadataId: string;
2457
+ parentRowLevelPermissionPredicateGroupId: string | null;
2458
+ positionInRowLevelPermissionPredicateGroup: number | null;
2459
+ canReadRecords: boolean;
2460
+ canUpdateRecords: boolean;
2461
+ canSoftDeleteRecords: boolean;
2462
+ canDestroyRecords: boolean;
2463
+ roleId: string;
2464
+ };
2465
+
2466
+ type ObjectPermissions = {
2467
+ canReadObjectRecords: boolean;
2468
+ canUpdateObjectRecords: boolean;
2469
+ canSoftDeleteObjectRecords: boolean;
2470
+ canDestroyObjectRecords: boolean;
2471
+ restrictedFields: RestrictedFieldsPermissions;
2472
+ rowLevelPermissionPredicates: RowLevelPermissionPredicate[];
2473
+ rowLevelPermissionPredicateGroups: RowLevelPermissionPredicateGroup[];
2474
+ };
2475
+
2476
+ interface ObjectRecord {
2477
+ id: string;
2478
+ [key: string]: any;
2479
+ }
2480
+
2481
+ type CommandMenuContextApi = {
2482
+ pageType: ContextStorePageType;
2483
+ isInSidePanel: boolean;
2484
+ isDashboardPageLayoutInEditMode: boolean;
2485
+ isLayoutCustomizationModeEnabled: boolean;
2486
+ favoriteRecordIds: string[];
2487
+ isSelectAll: boolean;
2488
+ hasAnySoftDeleteFilterOnView: boolean;
2489
+ numberOfSelectedRecords: number;
2490
+ objectPermissions: ObjectPermissions & {
2491
+ objectMetadataId: string;
2492
+ };
2493
+ selectedRecords: ObjectRecord[];
2494
+ featureFlags: Record<string, boolean>;
2495
+ permissionFlags: Record<string, boolean>;
2496
+ targetObjectReadPermissions: Record<string, boolean>;
2497
+ targetObjectWritePermissions: Record<string, boolean>;
2498
+ canImpersonate: boolean;
2499
+ canAccessFullAdminPanel: boolean;
2500
+ objectMetadataItem: Record<string, unknown>;
2501
+ objectMetadataLabel: string;
2502
+ coreObjectName: CommandMenuCoreObjectName | null;
2503
+ };
2504
+
2505
+ declare enum CommandMenuItemAvailabilityType {
2506
+ GLOBAL = "GLOBAL",
2507
+ GLOBAL_OBJECT_CONTEXT = "GLOBAL_OBJECT_CONTEXT",
2508
+ RECORD_SELECTION = "RECORD_SELECTION",
2509
+ FALLBACK = "FALLBACK"
2510
+ }
2511
+
2512
+ declare enum FieldMetadataType {
2513
+ ACTOR = "ACTOR",
2514
+ ADDRESS = "ADDRESS",
2515
+ ARRAY = "ARRAY",
2516
+ BOOLEAN = "BOOLEAN",
2517
+ CURRENCY = "CURRENCY",
2518
+ DATE = "DATE",
2519
+ DATE_TIME = "DATE_TIME",
2520
+ EMAILS = "EMAILS",
2521
+ FILES = "FILES",
2522
+ FULL_NAME = "FULL_NAME",
2523
+ LINKS = "LINKS",
2524
+ MORPH_RELATION = "MORPH_RELATION",
2525
+ MULTI_SELECT = "MULTI_SELECT",
2526
+ NUMBER = "NUMBER",
2527
+ NUMERIC = "NUMERIC",
2528
+ PHONES = "PHONES",
2529
+ POSITION = "POSITION",
2530
+ RATING = "RATING",
2531
+ RAW_JSON = "RAW_JSON",
2532
+ RELATION = "RELATION",
2533
+ RICH_TEXT = "RICH_TEXT",
2534
+ SELECT = "SELECT",
2535
+ TEXT = "TEXT",
2536
+ TS_VECTOR = "TS_VECTOR",
2537
+ UUID = "UUID"
2538
+ }
2539
+
2540
+ type IsExactly<T, U> = [T] extends [U] ? [U] extends [T] ? true : false : false;
2541
+
2542
+ declare const TAG_COLORS: readonly ["red", "ruby", "crimson", "tomato", "orange", "amber", "yellow", "lime", "grass", "green", "jade", "mint", "turquoise", "cyan", "sky", "blue", "iris", "violet", "purple", "plum", "pink", "bronze", "gold", "brown", "gray"];
2543
+
2544
+ type TagColor = (typeof TAG_COLORS)[number];
2545
+
2546
+ declare class FieldMetadataDefaultOption {
2547
+ id?: string;
2548
+ position: number;
2549
+ label: string;
2550
+ value: string;
2610
2551
  }
2611
- declare const ZodCatch: $constructor<ZodCatch>;
2612
- interface ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _ZodType<$ZodPipeInternals<A, B>>, $ZodPipe<A, B> {
2613
- "~standard": ZodStandardSchemaWithJSON<this>;
2614
- in: A;
2615
- out: B;
2552
+ declare class FieldMetadataComplexOption extends FieldMetadataDefaultOption {
2553
+ color: TagColor;
2616
2554
  }
2617
- declare const ZodPipe: $constructor<ZodPipe>;
2618
- interface ZodPreprocess<B extends SomeType = $ZodType, I = unknown> extends ZodPipe<$ZodTransform<unknown, I>, B>, $ZodPreprocess<B, I> {
2619
- "~standard": ZodStandardSchemaWithJSON<this>;
2620
- _zod: $ZodPreprocessInternals<B, I>;
2621
- def: $ZodPreprocessDef<B, I>;
2555
+ type FieldMetadataOptionsMapping = {
2556
+ [FieldMetadataType.RATING]: FieldMetadataDefaultOption[];
2557
+ [FieldMetadataType.SELECT]: FieldMetadataComplexOption[];
2558
+ [FieldMetadataType.MULTI_SELECT]: FieldMetadataComplexOption[];
2559
+ };
2560
+ type FieldMetadataOptionForAnyType = null | FieldMetadataOptionsMapping[keyof FieldMetadataOptionsMapping];
2561
+ type FieldMetadataOptions<T extends FieldMetadataType = FieldMetadataType> = IsExactly<T, FieldMetadataType> extends true ? FieldMetadataOptionForAnyType : T extends keyof FieldMetadataOptionsMapping ? FieldMetadataOptionsMapping[T] : never | null;
2562
+
2563
+ declare enum ConnectedAccountProvider {
2564
+ GOOGLE = "google",
2565
+ MICROSOFT = "microsoft",
2566
+ IMAP_SMTP_CALDAV = "imap_smtp_caldav",
2567
+ OIDC = "oidc",
2568
+ SAML = "saml",
2569
+ EMAIL_GROUP = "email_group",
2570
+ APP = "app"
2622
2571
  }
2623
- declare const ZodPreprocess: $constructor<ZodPreprocess>;
2624
- interface ZodReadonly<T extends SomeType = $ZodType> extends _ZodType<$ZodReadonlyInternals<T>>, $ZodReadonly<T> {
2625
- "~standard": ZodStandardSchemaWithJSON<this>;
2626
- unwrap(): T;
2572
+
2573
+ declare enum FieldActorSource {
2574
+ EMAIL = "EMAIL",
2575
+ CALENDAR = "CALENDAR",
2576
+ WORKFLOW = "WORKFLOW",
2577
+ AGENT = "AGENT",
2578
+ API = "API",
2579
+ IMPORT = "IMPORT",
2580
+ MANUAL = "MANUAL",
2581
+ SYSTEM = "SYSTEM",
2582
+ WEBHOOK = "WEBHOOK",
2583
+ APPLICATION = "APPLICATION"
2627
2584
  }
2628
- declare const ZodReadonly: $constructor<ZodReadonly>;
2585
+ type ActorMetadata = {
2586
+ source: FieldActorSource;
2587
+ workspaceMemberId: string | null;
2588
+ name: string;
2589
+ context: {
2590
+ provider?: ConnectedAccountProvider;
2591
+ applicationId?: string;
2592
+ agentId?: string;
2593
+ };
2594
+ };
2629
2595
 
2630
- type input<T> = input$1<T>;
2631
- /** Returns a copy of the schema with every pipe replaced by its input side. A codec's checks are dropped: they constrain the decoded value the input side never produces. */
2632
- declare function input<T extends $ZodType>(schema: T): ZodType<input$1<T>, input$1<T>>;
2596
+ type AddressMetadata = {
2597
+ addressStreet1: string;
2598
+ addressStreet2: string;
2599
+ addressCity: string;
2600
+ addressState: string;
2601
+ addressZipCode: string;
2602
+ addressCountry: string;
2603
+ addressLat: number;
2604
+ addressLng: number;
2605
+ };
2606
+
2607
+ type CurrencyMetadata = {
2608
+ amountMicros: number;
2609
+ currencyCode: string;
2610
+ };
2611
+
2612
+ type EmailsMetadata = {
2613
+ primaryEmail: string;
2614
+ additionalEmails: string[] | null;
2615
+ };
2616
+
2617
+ type FullNameMetadata = {
2618
+ firstName: string;
2619
+ lastName: string;
2620
+ };
2621
+
2622
+ type LinkMetadata = {
2623
+ label: string;
2624
+ url: string;
2625
+ };
2626
+ type LinksMetadata = {
2627
+ primaryLinkLabel: string;
2628
+ primaryLinkUrl: string;
2629
+ secondaryLinks: LinkMetadata[] | null;
2630
+ };
2631
+
2632
+ type AdditionalPhoneMetadata = {
2633
+ number: string;
2634
+ countryCode: CountryCode;
2635
+ callingCode: string;
2636
+ };
2637
+ type PrimaryPhoneMetadata<T extends AdditionalPhoneMetadata = AdditionalPhoneMetadata> = {
2638
+ [Property in keyof AdditionalPhoneMetadata as `primaryPhone${Capitalize<string & Property>}`]: T[Property];
2639
+ };
2640
+ type PhonesMetadata = PrimaryPhoneMetadata & {
2641
+ additionalPhones: Array<AdditionalPhoneMetadata> | null;
2642
+ };
2633
2643
 
2634
2644
  declare const richTextValueSchema: ZodObject<{
2635
2645
  tiptap: ZodOptional<ZodNullable<ZodString>>;
@@ -2831,6 +2841,12 @@ declare enum HTTPMethod {
2831
2841
  DELETE = "DELETE"
2832
2842
  }
2833
2843
 
2844
+ type IframeMediaPermission = {
2845
+ origin: string;
2846
+ microphone: boolean;
2847
+ camera: boolean;
2848
+ };
2849
+
2834
2850
  declare enum IndexType {
2835
2851
  BTREE = "BTREE",
2836
2852
  GIN = "GIN"
@@ -2859,19 +2875,8 @@ type LogicFunctionHttpResponse = {
2859
2875
  headers?: Record<string, string>;
2860
2876
  };
2861
2877
 
2862
- declare enum MetadataReadability {
2863
- OPEN = "OPEN",
2864
- PRIVATE = "PRIVATE",
2865
- INHERITED = "INHERITED",
2866
- APPLICATION = "APPLICATION",
2867
- SYSTEM = "SYSTEM"
2868
- }
2869
-
2870
- declare enum MetadataWritability {
2871
- OPEN = "OPEN",
2872
- APPLICATION = "APPLICATION",
2873
- SYSTEM = "SYSTEM"
2874
- }
2878
+ declare const NATIVE_PAGE_KEYS: readonly ["workflows", "agents"];
2879
+ type NativePageKey = (typeof NATIVE_PAGE_KEYS)[number];
2875
2880
 
2876
2881
  declare enum NavigationMenuItemType {
2877
2882
  VIEW = "VIEW",
@@ -2880,7 +2885,8 @@ declare enum NavigationMenuItemType {
2880
2885
  OBJECT = "OBJECT",
2881
2886
  RECORD = "RECORD",
2882
2887
  PAGE_LAYOUT = "PAGE_LAYOUT",
2883
- AGENT_CHAT_CHANNEL = "AGENT_CHAT_CHANNEL"
2888
+ AGENT_CHAT_CHANNEL = "AGENT_CHAT_CHANNEL",
2889
+ NATIVE_PAGE = "NATIVE_PAGE"
2884
2890
  }
2885
2891
 
2886
2892
  declare enum ObjectOpenRecordIn {
@@ -2901,11 +2907,6 @@ declare enum ObjectRecordGroupByDateGranularity {
2901
2907
  NONE = "NONE"
2902
2908
  }
2903
2909
 
2904
- declare enum ObjectSharingReach {
2905
- ROLE_ACCESS = "ROLE_ACCESS",
2906
- WORKSPACE = "WORKSPACE"
2907
- }
2908
-
2909
2910
  type ChartRecordFilter = {
2910
2911
  id?: string;
2911
2912
  fieldMetadataId: SerializedRelation;
@@ -3386,12 +3387,13 @@ type AgentManifest = SyncableEntityOptions$1 & {
3386
3387
  triggers?: AgentTriggerManifest[];
3387
3388
  };
3388
3389
 
3389
- declare const USAGE_OPERATION_TYPES: readonly ["AI_CHAT_TOKEN", "AI_WORKFLOW_TOKEN", "WORKFLOW_EXECUTION", "CODE_EXECUTION", "WEB_SEARCH", "CALL_RECORDING", "EMAIL_SEND"];
3390
+ declare const USAGE_OPERATION_TYPES: readonly ["AI_CHAT_TOKEN", "AI_WORKFLOW_TOKEN", "WORKFLOW_EXECUTION", "CODE_EXECUTION", "WEB_SEARCH", "CALL_RECORDING", "EMAIL_SEND", "APP_OPERATION"];
3390
3391
  type UsageOperationTypeValue = (typeof USAGE_OPERATION_TYPES)[number];
3391
3392
 
3392
3393
  type BillableOperationManifest = {
3393
- operationType: UsageOperationTypeValue;
3394
+ operationType?: UsageOperationTypeValue;
3394
3395
  label: string;
3396
+ icon?: string;
3395
3397
  };
3396
3398
  type BillableOperations = Partial<Record<string, BillableOperationManifest>>;
3397
3399
 
@@ -3444,7 +3446,9 @@ type ApplicationHealthCheckResult = {
3444
3446
  action?: ApplicationHealthCheckAction;
3445
3447
  };
3446
3448
 
3447
- type HealthCheckLogicFunctionApplicationManifest = SyncableEntityOptions$1;
3449
+ type HealthCheckLogicFunctionApplicationManifest = SyncableEntityOptions$1 & {
3450
+ runOnUserPreferences?: boolean;
3451
+ };
3448
3452
 
3449
3453
  type PreInstallLogicFunctionApplicationManifest = SyncableEntityOptions$1 & {
3450
3454
  universalIdentifier: string;
@@ -3511,6 +3515,7 @@ type ApplicationManifest = SyncableEntityOptions$1 & {
3511
3515
  displayName: string;
3512
3516
  description: string;
3513
3517
  requestedCapabilities?: ApplicationCapability[];
3518
+ requestedIframeMediaPermissions?: IframeMediaPermission[];
3514
3519
  applicationVariables?: ApplicationVariables;
3515
3520
  billing?: ApplicationBilling;
3516
3521
  serverVariables?: ServerVariables;
@@ -3643,7 +3648,6 @@ type BaseRegularFieldManifest<T extends FieldMetadataType = Exclude<FieldMetadat
3643
3648
  options?: FieldManifestOptions<T>;
3644
3649
  universalSettings?: FieldMetadataUniversalSettings<T>;
3645
3650
  isUIEditable?: boolean;
3646
- writability?: MetadataWritability;
3647
3651
  disabledFieldPermissionActions?: FieldPermissionAction[];
3648
3652
  isUnique?: boolean;
3649
3653
  isLabelSyncedWithName?: boolean;
@@ -3681,6 +3685,7 @@ type CommandMenuItemManifest$1 = SyncableEntityOptions$1 & {
3681
3685
  isPinned?: boolean;
3682
3686
  availabilityType?: CommandMenuItemAvailabilityType;
3683
3687
  availabilityObjectUniversalIdentifier?: string;
3688
+ availabilityCoreObjectName?: CommandMenuCoreObjectName;
3684
3689
  frontComponentUniversalIdentifier: string;
3685
3690
  conditionalAvailabilityExpression?: string;
3686
3691
  conditionalPinnedExpression?: string;
@@ -3854,6 +3859,29 @@ declare const workflowManifestSchema: ZodObject<{
3854
3859
  type: ZodLiteral<"LOGIC_FUNCTION">;
3855
3860
  logicFunctionUniversalIdentifier: ZodUUID;
3856
3861
  input: ZodRecord<ZodString, ZodUnknown>;
3862
+ }, $strict>, ZodObject<{
3863
+ universalIdentifier: ZodUUID;
3864
+ name: ZodString;
3865
+ nextStepIds: ZodArray<ZodUUID>;
3866
+ position: ZodOptional<ZodNullable<ZodObject<{
3867
+ x: ZodNumber;
3868
+ y: ZodNumber;
3869
+ }, $strip>>>;
3870
+ outputSchema: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
3871
+ expectedOutputSchema: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
3872
+ errorHandlingOptions: ZodOptional<ZodObject<{
3873
+ retryOnFailure: ZodObject<{
3874
+ value: ZodPreprocess<ZodNumber, unknown>;
3875
+ }, $strip>;
3876
+ continueOnFailure: ZodObject<{
3877
+ value: ZodBoolean;
3878
+ }, $strip>;
3879
+ }, $strip>>;
3880
+ type: ZodLiteral<"CODE">;
3881
+ input: ZodObject<{
3882
+ logicFunctionInput: ZodRecord<ZodString, ZodAny>;
3883
+ code: ZodString;
3884
+ }, $strict>;
3857
3885
  }, $strict>, ZodObject<{
3858
3886
  universalIdentifier: ZodUUID;
3859
3887
  name: ZodString;
@@ -4338,19 +4366,19 @@ declare const workflowManifestSchema: ZodObject<{
4338
4366
  input: ZodObject<{
4339
4367
  fromHandle: ZodOptional<ZodString>;
4340
4368
  recipients: ZodObject<{
4341
- to: ZodDefault<ZodOptional<ZodString>>;
4342
- cc: ZodDefault<ZodOptional<ZodString>>;
4343
- bcc: ZodDefault<ZodOptional<ZodString>>;
4369
+ to: ZodOptional<ZodString>;
4370
+ cc: ZodOptional<ZodString>;
4371
+ bcc: ZodOptional<ZodString>;
4344
4372
  }, $strip>;
4345
4373
  subject: ZodOptional<ZodString>;
4346
4374
  body: ZodOptional<ZodString>;
4347
- files: ZodDefault<ZodOptional<ZodArray<ZodUnion<readonly [ZodObject<{
4375
+ files: ZodOptional<ZodArray<ZodUnion<readonly [ZodObject<{
4348
4376
  id: ZodString;
4349
4377
  name: ZodString;
4350
4378
  size: ZodNumber;
4351
4379
  type: ZodString;
4352
4380
  createdAt: ZodString;
4353
- }, $strip>, ZodString]>>>>;
4381
+ }, $strip>, ZodString]>>>;
4354
4382
  inReplyTo: ZodOptional<ZodString>;
4355
4383
  connectedAccountId: ZodOptional<ZodString>;
4356
4384
  connectedAccountHandle: ZodOptional<ZodString>;
@@ -4377,19 +4405,19 @@ declare const workflowManifestSchema: ZodObject<{
4377
4405
  input: ZodObject<{
4378
4406
  fromHandle: ZodOptional<ZodString>;
4379
4407
  recipients: ZodObject<{
4380
- to: ZodDefault<ZodOptional<ZodString>>;
4381
- cc: ZodDefault<ZodOptional<ZodString>>;
4382
- bcc: ZodDefault<ZodOptional<ZodString>>;
4408
+ to: ZodOptional<ZodString>;
4409
+ cc: ZodOptional<ZodString>;
4410
+ bcc: ZodOptional<ZodString>;
4383
4411
  }, $strip>;
4384
4412
  subject: ZodOptional<ZodString>;
4385
4413
  body: ZodOptional<ZodString>;
4386
- files: ZodDefault<ZodOptional<ZodArray<ZodUnion<readonly [ZodObject<{
4414
+ files: ZodOptional<ZodArray<ZodUnion<readonly [ZodObject<{
4387
4415
  id: ZodString;
4388
4416
  name: ZodString;
4389
4417
  size: ZodNumber;
4390
4418
  type: ZodString;
4391
4419
  createdAt: ZodString;
4392
- }, $strip>, ZodString]>>>>;
4420
+ }, $strip>, ZodString]>>>;
4393
4421
  inReplyTo: ZodOptional<ZodString>;
4394
4422
  connectedAccountId: ZodOptional<ZodString>;
4395
4423
  connectedAccountHandle: ZodOptional<ZodString>;
@@ -4421,12 +4449,48 @@ declare const workflowManifestSchema: ZodObject<{
4421
4449
  endsAt: ZodString;
4422
4450
  isFullDay: ZodBoolean;
4423
4451
  timeZone: ZodOptional<ZodString>;
4424
- attendees: ZodDefault<ZodOptional<ZodString>>;
4452
+ attendees: ZodOptional<ZodString>;
4425
4453
  sendInvitations: ZodBoolean;
4426
4454
  addConferencing: ZodBoolean;
4427
4455
  connectedAccountId: ZodOptional<ZodString>;
4428
4456
  connectedAccountHandle: ZodOptional<ZodString>;
4429
4457
  }, $strip>;
4458
+ }, $strict>, ZodObject<{
4459
+ universalIdentifier: ZodUUID;
4460
+ name: ZodString;
4461
+ nextStepIds: ZodArray<ZodUUID>;
4462
+ position: ZodOptional<ZodNullable<ZodObject<{
4463
+ x: ZodNumber;
4464
+ y: ZodNumber;
4465
+ }, $strip>>>;
4466
+ outputSchema: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
4467
+ expectedOutputSchema: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
4468
+ errorHandlingOptions: ZodOptional<ZodObject<{
4469
+ retryOnFailure: ZodObject<{
4470
+ value: ZodPreprocess<ZodNumber, unknown>;
4471
+ }, $strip>;
4472
+ continueOnFailure: ZodObject<{
4473
+ value: ZodBoolean;
4474
+ }, $strip>;
4475
+ }, $strip>>;
4476
+ type: ZodLiteral<"SEND_CHAT_MESSAGE">;
4477
+ input: ZodObject<{
4478
+ workspaceMemberId: ZodString;
4479
+ title: ZodString;
4480
+ text: ZodString;
4481
+ toolCall: ZodOptional<ZodObject<{
4482
+ toolName: ZodString;
4483
+ arguments: ZodRecord<ZodString, ZodAny>;
4484
+ }, $strip>>;
4485
+ conversation: ZodOptional<ZodObject<{
4486
+ scope: ZodEnum<{
4487
+ KEY: "KEY";
4488
+ RUN: "RUN";
4489
+ STEP: "STEP";
4490
+ }>;
4491
+ key: ZodOptional<ZodString>;
4492
+ }, $strip>>;
4493
+ }, $strip>;
4430
4494
  }, $strict>, ZodObject<{
4431
4495
  universalIdentifier: ZodUUID;
4432
4496
  name: ZodString;
@@ -4447,8 +4511,50 @@ declare const workflowManifestSchema: ZodObject<{
4447
4511
  }, $strip>>;
4448
4512
  type: ZodLiteral<"AI_AGENT">;
4449
4513
  input: ZodObject<{
4450
- agentUniversalIdentifier: ZodUUID;
4451
- prompt: ZodString;
4514
+ humanInputInstructions: ZodOptional<ZodString>;
4515
+ conversation: ZodOptional<ZodObject<{
4516
+ scope: ZodEnum<{
4517
+ KEY: "KEY";
4518
+ RUN: "RUN";
4519
+ STEP: "STEP";
4520
+ }>;
4521
+ key: ZodOptional<ZodString>;
4522
+ }, $strip>>;
4523
+ instructions: ZodOptional<ZodString>;
4524
+ modelId: ZodOptional<ZodString>;
4525
+ modelConfiguration: ZodOptional<ZodObject<{
4526
+ webSearch: ZodOptional<ZodObject<{
4527
+ enabled: ZodBoolean;
4528
+ configuration: ZodOptional<ZodRecord<ZodString, ZodAny>>;
4529
+ }, $strip>>;
4530
+ twitterSearch: ZodOptional<ZodObject<{
4531
+ enabled: ZodBoolean;
4532
+ configuration: ZodOptional<ZodRecord<ZodString, ZodAny>>;
4533
+ }, $strip>>;
4534
+ }, $strip>>;
4535
+ scope: ZodOptional<ZodObject<{
4536
+ canReadAllObjectRecords: ZodOptional<ZodBoolean>;
4537
+ canUpdateAllObjectRecords: ZodOptional<ZodBoolean>;
4538
+ canSoftDeleteAllObjectRecords: ZodOptional<ZodBoolean>;
4539
+ canDestroyAllObjectRecords: ZodOptional<ZodBoolean>;
4540
+ canUpdateAllSettings: ZodOptional<ZodBoolean>;
4541
+ canAccessAllTools: ZodOptional<ZodBoolean>;
4542
+ objectPermissions: ZodOptional<ZodArray<ZodObject<{
4543
+ objectUniversalIdentifier: ZodString;
4544
+ canReadObjectRecords: ZodOptional<ZodBoolean>;
4545
+ canUpdateObjectRecords: ZodOptional<ZodBoolean>;
4546
+ canSoftDeleteObjectRecords: ZodOptional<ZodBoolean>;
4547
+ canDestroyObjectRecords: ZodOptional<ZodBoolean>;
4548
+ }, $strict>>>;
4549
+ fieldPermissions: ZodOptional<ZodArray<ZodObject<{
4550
+ objectUniversalIdentifier: ZodString;
4551
+ fieldUniversalIdentifier: ZodString;
4552
+ canReadFieldValue: ZodOptional<ZodBoolean>;
4553
+ canUpdateFieldValue: ZodOptional<ZodBoolean>;
4554
+ }, $strict>>>;
4555
+ permissionFlagUniversalIdentifiers: ZodOptional<ZodArray<ZodString>>;
4556
+ }, $strict>>;
4557
+ prompt: ZodOptional<ZodString>;
4452
4558
  responseFormat: ZodOptional<ZodDiscriminatedUnion<[ZodObject<{
4453
4559
  type: ZodLiteral<"text">;
4454
4560
  }, $strip>, ZodObject<{
@@ -4467,6 +4573,8 @@ declare const workflowManifestSchema: ZodObject<{
4467
4573
  additionalProperties: ZodOptional<ZodLiteral<false>>;
4468
4574
  }, $strip>;
4469
4575
  }, $strip>], "type">>;
4576
+ workspaceMemberId: ZodOptional<ZodString>;
4577
+ agentUniversalIdentifier: ZodOptional<ZodUUID>;
4470
4578
  }, $strict>;
4471
4579
  }, $strict>], "type">>;
4472
4580
  }, $strict>;
@@ -4495,6 +4603,7 @@ type NavigationMenuItemManifest = SyncableEntityOptions$1 & {
4495
4603
  position: number;
4496
4604
  viewUniversalIdentifier?: string;
4497
4605
  link?: string;
4606
+ nativePageKey?: NativePageKey;
4498
4607
  folderUniversalIdentifier?: string;
4499
4608
  targetObjectUniversalIdentifier?: string;
4500
4609
  pageLayoutUniversalIdentifier?: string;
@@ -4518,11 +4627,7 @@ type ObjectManifest = SyncableEntityOptions$1 & {
4518
4627
  isSearchable?: boolean;
4519
4628
  isUICreatable?: boolean;
4520
4629
  isUIEditable?: boolean;
4521
- writability?: MetadataWritability;
4522
- readability?: MetadataReadability;
4523
- readabilityParentFieldUniversalIdentifiers?: string[] | null;
4524
4630
  disabledObjectPermissionActions?: ObjectPermissionAction[];
4525
- sharingReach?: ObjectSharingReach;
4526
4631
  openRecordIn?: ObjectOpenRecordIn;
4527
4632
  fields: ObjectFieldManifest$1[];
4528
4633
  labelIdentifierFieldMetadataUniversalIdentifier: string;
@@ -4568,19 +4673,56 @@ type PermissionFlagManifest$1 = SyncableEntityOptions$1 & {
4568
4673
  permissionType?: PermissionFlagPermissionType;
4569
4674
  };
4570
4675
 
4571
- type ObjectPermissionManifest = Partial<SyncableEntityOptions$1> & {
4572
- objectUniversalIdentifier: string;
4573
- canReadObjectRecords?: boolean;
4574
- canUpdateObjectRecords?: boolean;
4575
- canSoftDeleteObjectRecords?: boolean;
4576
- canDestroyObjectRecords?: boolean;
4577
- };
4578
- type FieldPermissionManifest = Partial<SyncableEntityOptions$1> & {
4676
+ type RelatedRecordPathManifest = SyncableEntityOptions$1 & {
4579
4677
  objectUniversalIdentifier: string;
4580
- fieldUniversalIdentifier: string;
4581
- canReadFieldValue?: boolean;
4582
- canUpdateFieldValue?: boolean;
4583
- };
4678
+ firstFieldMetadataUniversalIdentifier: string;
4679
+ secondFieldMetadataUniversalIdentifier?: string;
4680
+ thirdFieldMetadataUniversalIdentifier?: string;
4681
+ isInherent?: boolean;
4682
+ };
4683
+
4684
+ declare const objectPermissionGrantSchema: ZodObject<{
4685
+ objectUniversalIdentifier: ZodString;
4686
+ canReadObjectRecords: ZodOptional<ZodBoolean>;
4687
+ canUpdateObjectRecords: ZodOptional<ZodBoolean>;
4688
+ canSoftDeleteObjectRecords: ZodOptional<ZodBoolean>;
4689
+ canDestroyObjectRecords: ZodOptional<ZodBoolean>;
4690
+ }, $strict>;
4691
+ declare const fieldPermissionGrantSchema: ZodObject<{
4692
+ objectUniversalIdentifier: ZodString;
4693
+ fieldUniversalIdentifier: ZodString;
4694
+ canReadFieldValue: ZodOptional<ZodBoolean>;
4695
+ canUpdateFieldValue: ZodOptional<ZodBoolean>;
4696
+ }, $strict>;
4697
+ declare const rolePermissionGrantsSchema: ZodObject<{
4698
+ canReadAllObjectRecords: ZodOptional<ZodBoolean>;
4699
+ canUpdateAllObjectRecords: ZodOptional<ZodBoolean>;
4700
+ canSoftDeleteAllObjectRecords: ZodOptional<ZodBoolean>;
4701
+ canDestroyAllObjectRecords: ZodOptional<ZodBoolean>;
4702
+ canUpdateAllSettings: ZodOptional<ZodBoolean>;
4703
+ canAccessAllTools: ZodOptional<ZodBoolean>;
4704
+ canAccessAllAgentChatChannels: ZodOptional<ZodBoolean>;
4705
+ objectPermissions: ZodOptional<ZodArray<ZodObject<{
4706
+ objectUniversalIdentifier: ZodString;
4707
+ canReadObjectRecords: ZodOptional<ZodBoolean>;
4708
+ canUpdateObjectRecords: ZodOptional<ZodBoolean>;
4709
+ canSoftDeleteObjectRecords: ZodOptional<ZodBoolean>;
4710
+ canDestroyObjectRecords: ZodOptional<ZodBoolean>;
4711
+ }, $strict>>>;
4712
+ fieldPermissions: ZodOptional<ZodArray<ZodObject<{
4713
+ objectUniversalIdentifier: ZodString;
4714
+ fieldUniversalIdentifier: ZodString;
4715
+ canReadFieldValue: ZodOptional<ZodBoolean>;
4716
+ canUpdateFieldValue: ZodOptional<ZodBoolean>;
4717
+ }, $strict>>>;
4718
+ permissionFlagUniversalIdentifiers: ZodOptional<ZodArray<ZodString>>;
4719
+ }, $strict>;
4720
+ type ObjectPermissionGrant = output<typeof objectPermissionGrantSchema>;
4721
+ type FieldPermissionGrant = output<typeof fieldPermissionGrantSchema>;
4722
+ type RolePermissionGrants = output<typeof rolePermissionGrantsSchema>;
4723
+
4724
+ type ObjectPermissionManifest = Partial<SyncableEntityOptions$1> & ObjectPermissionGrant;
4725
+ type FieldPermissionManifest = Partial<SyncableEntityOptions$1> & FieldPermissionGrant;
4584
4726
  type RowLevelPermissionPredicateGroupManifest$1 = SyncableEntityOptions$1 & {
4585
4727
  objectUniversalIdentifier: string;
4586
4728
  logicalOperator: RowLevelPermissionPredicateGroupLogicalOperator;
@@ -4598,17 +4740,10 @@ type RowLevelPermissionPredicateManifest$1 = SyncableEntityOptions$1 & {
4598
4740
  predicateGroupUniversalIdentifier?: string | null;
4599
4741
  position?: number | null;
4600
4742
  };
4601
- type RoleManifest = SyncableEntityOptions$1 & {
4743
+ type RoleManifest = SyncableEntityOptions$1 & Omit<RolePermissionGrants, 'objectPermissions' | 'fieldPermissions'> & {
4602
4744
  label: string;
4603
4745
  description?: string;
4604
4746
  icon?: string;
4605
- canUpdateAllSettings?: boolean;
4606
- canAccessAllTools?: boolean;
4607
- canAccessAllAgentChatChannels?: boolean;
4608
- canReadAllObjectRecords?: boolean;
4609
- canUpdateAllObjectRecords?: boolean;
4610
- canSoftDeleteAllObjectRecords?: boolean;
4611
- canDestroyAllObjectRecords?: boolean;
4612
4747
  canBeAssignedToUsers?: boolean;
4613
4748
  canBeAssignedToAgents?: boolean;
4614
4749
  canBeAssignedToApiKeys?: boolean;
@@ -4616,7 +4751,6 @@ type RoleManifest = SyncableEntityOptions$1 & {
4616
4751
  fieldPermissions?: FieldPermissionManifest[];
4617
4752
  rowLevelPermissionPredicates?: RowLevelPermissionPredicateManifest$1[];
4618
4753
  rowLevelPermissionPredicateGroups?: RowLevelPermissionPredicateGroupManifest$1[];
4619
- permissionFlagUniversalIdentifiers?: string[];
4620
4754
  };
4621
4755
 
4622
4756
  declare const SETTINGS_MENU_ITEM_SCOPES: readonly ["WORKSPACE", "USER"];
@@ -4627,6 +4761,7 @@ type SettingsMenuItemManifest$1 = SyncableEntityOptions$1 & {
4627
4761
  icon?: string;
4628
4762
  position?: number;
4629
4763
  scope?: SettingsMenuItemScope;
4764
+ slug?: string;
4630
4765
  };
4631
4766
 
4632
4767
  type SkillManifest = SyncableEntityOptions$1 & {
@@ -4659,6 +4794,16 @@ type TimelineActivityTypeManifest$1 = SyncableEntityOptions$1 & {
4659
4794
  replacesTimelineActivityTypeUniversalIdentifier?: string;
4660
4795
  };
4661
4796
 
4797
+ type ValidationRuleManifest = SyncableEntityOptions$1 & {
4798
+ objectUniversalIdentifier: string;
4799
+ name: string;
4800
+ description?: string;
4801
+ icon?: string;
4802
+ expression: string;
4803
+ message: string;
4804
+ errorFieldUniversalIdentifier?: string;
4805
+ };
4806
+
4662
4807
  type ViewManifestFilterValue = string | string[] | boolean | number | Record<string, unknown>;
4663
4808
  type ViewFieldManifest$1 = SyncableEntityOptions$1 & {
4664
4809
  fieldMetadataUniversalIdentifier: string;
@@ -4822,7 +4967,7 @@ type ValidationResult<T> = {
4822
4967
  errors: string[];
4823
4968
  warnings?: string[];
4824
4969
  };
4825
- type DefinableEntity = ApplicationConfig$1 | ObjectConfig | FieldManifest | FrontComponentConfig$1 | IndexConfig$1 | LogicFunctionConfig$1 | PostInstallLogicFunctionConfig | PreInstallLogicFunctionConfig | UninstallLogicFunctionConfig | AgentManifest | ConnectionProviderManifest | MessagingProviderManifest | McpServerManifest | RoleConfig | SkillManifest | ViewConfig$1 | StandaloneViewFieldManifest$1 | NavigationMenuItemManifest | PageLayoutConfig$1 | PageLayoutTabConfig$1 | StandalonePageLayoutWidgetManifest$1 | PermissionFlagConfig$1 | CommandMenuItemConfig$1 | SettingsMenuItemConfig$1 | WorkflowManifest$1;
4970
+ type DefinableEntity = ApplicationConfig$1 | ObjectConfig | FieldManifest | FrontComponentConfig$1 | IndexConfig$1 | LogicFunctionConfig$1 | PostInstallLogicFunctionConfig | PreInstallLogicFunctionConfig | UninstallLogicFunctionConfig | AgentManifest | ConnectionProviderManifest | MessagingProviderManifest | McpServerManifest | RoleConfig | SkillManifest | ViewConfig$1 | StandaloneViewFieldManifest$1 | NavigationMenuItemManifest | RelatedRecordPathManifest | PageLayoutConfig$1 | PageLayoutTabConfig$1 | StandalonePageLayoutWidgetManifest$1 | PermissionFlagConfig$1 | CommandMenuItemConfig$1 | SettingsMenuItemConfig$1 | WorkflowManifest$1;
4826
4971
  type DefineEntity<T extends DefinableEntity = DefinableEntity> = (config: LooseEnumValues<T>) => ValidationResult<LooseEnumValues<T>>;
4827
4972
 
4828
4973
  declare const defineAgent: DefineEntity<AgentManifest>;
@@ -4830,10 +4975,20 @@ declare const defineAgent: DefineEntity<AgentManifest>;
4830
4975
  type SettingsFrontComponentConfig$1 = Omit<FrontComponentConfig$1, 'isHeadless'>;
4831
4976
 
4832
4977
  type HealthCheckHandler = () => ApplicationHealthCheckResult | Promise<ApplicationHealthCheckResult>;
4978
+ type UserHealthCheckHandler = (parameters: {
4979
+ userWorkspaceId: string;
4980
+ }) => ReturnType<HealthCheckHandler>;
4833
4981
 
4834
- type HealthCheckLogicFunctionConfig$1 = Omit<LogicFunctionConfig$1, 'cronTriggerSettings' | 'databaseEventTriggerSettings' | 'httpRouteTriggerSettings' | 'toolTriggerSettings' | 'workflowActionTriggerSettings' | 'serverRouteTriggerSettings' | 'handler'> & {
4982
+ type HealthCheckLogicFunctionConfigBase = Omit<LogicFunctionConfig$1, 'cronTriggerSettings' | 'databaseEventTriggerSettings' | 'httpRouteTriggerSettings' | 'toolTriggerSettings' | 'workflowActionTriggerSettings' | 'serverRouteTriggerSettings' | 'handler'>;
4983
+ type WorkspaceHealthCheckLogicFunctionConfig = HealthCheckLogicFunctionConfigBase & {
4984
+ runOnUserPreferences?: false;
4835
4985
  handler: HealthCheckHandler;
4836
4986
  };
4987
+ type UserHealthCheckLogicFunctionConfig = HealthCheckLogicFunctionConfigBase & {
4988
+ runOnUserPreferences: true;
4989
+ handler: UserHealthCheckHandler;
4990
+ };
4991
+ type HealthCheckLogicFunctionConfig$1 = WorkspaceHealthCheckLogicFunctionConfig | UserHealthCheckLogicFunctionConfig;
4837
4992
 
4838
4993
  type TimelineActivityTypeConfig$1 = TimelineActivityTypeManifest$1;
4839
4994
 
@@ -4898,6 +5053,40 @@ declare const defineCommandMenuItem: DefineEntity<CommandMenuItemConfig$1>;
4898
5053
 
4899
5054
  declare const defineTimelineActivityType: DefineEntity<TimelineActivityTypeConfig$1>;
4900
5055
 
5056
+ type RuleExpression = {
5057
+ readonly source: string;
5058
+ readonly isCompound: boolean;
5059
+ };
5060
+ type RuleExpressionOperand = RuleExpression | string | number | boolean;
5061
+ declare const ruleExpression: {
5062
+ field: (path: string) => RuleExpression;
5063
+ now: RuleExpression;
5064
+ and: (...operands: RuleExpressionOperand[]) => RuleExpression;
5065
+ or: (...operands: RuleExpressionOperand[]) => RuleExpression;
5066
+ not: (operand: RuleExpressionOperand) => RuleExpression;
5067
+ eq: (left: RuleExpressionOperand, right: RuleExpressionOperand) => RuleExpression;
5068
+ notEq: (left: RuleExpressionOperand, right: RuleExpressionOperand) => RuleExpression;
5069
+ gt: (left: RuleExpressionOperand, right: RuleExpressionOperand) => RuleExpression;
5070
+ gte: (left: RuleExpressionOperand, right: RuleExpressionOperand) => RuleExpression;
5071
+ lt: (left: RuleExpressionOperand, right: RuleExpressionOperand) => RuleExpression;
5072
+ lte: (left: RuleExpressionOperand, right: RuleExpressionOperand) => RuleExpression;
5073
+ add: (left: RuleExpressionOperand, right: RuleExpressionOperand) => RuleExpression;
5074
+ subtract: (left: RuleExpressionOperand, right: RuleExpressionOperand) => RuleExpression;
5075
+ multiply: (left: RuleExpressionOperand, right: RuleExpressionOperand) => RuleExpression;
5076
+ divide: (left: RuleExpressionOperand, right: RuleExpressionOperand) => RuleExpression;
5077
+ isIn: (value: RuleExpressionOperand, list: readonly (string | number | boolean)[]) => RuleExpression;
5078
+ isDefined: (value: RuleExpressionOperand) => RuleExpression;
5079
+ isEmpty: (value: RuleExpressionOperand) => RuleExpression;
5080
+ isNonEmptyString: (value: RuleExpressionOperand) => RuleExpression;
5081
+ includes: (container: RuleExpressionOperand, value: RuleExpressionOperand) => RuleExpression;
5082
+ arrayLength: (value: RuleExpressionOperand) => RuleExpression;
5083
+ };
5084
+
5085
+ type ValidationRuleConfig = Omit<ValidationRuleManifest, 'expression'> & {
5086
+ expression: string | RuleExpression;
5087
+ };
5088
+ declare const defineValidationRule: ({ expression, ...config }: ValidationRuleConfig) => ValidationResult<ValidationRuleManifest>;
5089
+
4901
5090
  declare const defineSettingsMenuItem: DefineEntity<SettingsMenuItemConfig$1>;
4902
5091
 
4903
5092
  declare const pageType: CommandMenuContextApi["pageType"];
@@ -4938,7 +5127,9 @@ declare const defineSettingsFrontComponent: DefineEntity<SettingsFrontComponentC
4938
5127
 
4939
5128
  declare const defineIndex: DefineEntity<IndexConfig$1>;
4940
5129
 
4941
- declare const defineHealthCheck: DefineEntity<HealthCheckLogicFunctionConfig$1>;
5130
+ declare function defineHealthCheck(config: LooseEnumValues<UserHealthCheckLogicFunctionConfig>): ValidationResult<LooseEnumValues<UserHealthCheckLogicFunctionConfig>>;
5131
+ declare function defineHealthCheck(config: LooseEnumValues<WorkspaceHealthCheckLogicFunctionConfig>): ValidationResult<LooseEnumValues<WorkspaceHealthCheckLogicFunctionConfig>>;
5132
+ declare function defineHealthCheck(config: LooseEnumValues<HealthCheckLogicFunctionConfig$1>): ValidationResult<LooseEnumValues<HealthCheckLogicFunctionConfig$1>>;
4942
5133
 
4943
5134
  declare const defineLogicFunction: DefineEntity<LogicFunctionConfig$1>;
4944
5135
 
@@ -6945,6 +7136,56 @@ declare const STANDARD_OBJECTS: {
6945
7136
  };
6946
7137
  };
6947
7138
  };
7139
+ readonly accessGroup: {
7140
+ readonly universalIdentifier: "47f4ed44-4312-467f-b6f5-787f91037a1d";
7141
+ readonly fields: {
7142
+ roleId: {
7143
+ universalIdentifier: string;
7144
+ };
7145
+ rowLevelPermissionPredicateGroupId: {
7146
+ universalIdentifier: string;
7147
+ };
7148
+ memberFieldValues: {
7149
+ universalIdentifier: string;
7150
+ };
7151
+ groupHash: {
7152
+ universalIdentifier: string;
7153
+ };
7154
+ createdAt: {
7155
+ universalIdentifier: string;
7156
+ };
7157
+ createdBy: {
7158
+ universalIdentifier: string;
7159
+ };
7160
+ deletedAt: {
7161
+ universalIdentifier: string;
7162
+ };
7163
+ id: {
7164
+ universalIdentifier: string;
7165
+ };
7166
+ position: {
7167
+ universalIdentifier: string;
7168
+ };
7169
+ searchVector: {
7170
+ universalIdentifier: string;
7171
+ };
7172
+ updatedAt: {
7173
+ universalIdentifier: string;
7174
+ };
7175
+ updatedBy: {
7176
+ universalIdentifier: string;
7177
+ };
7178
+ };
7179
+ readonly indexes: {
7180
+ readonly roleIdIndex: {
7181
+ readonly universalIdentifier: "933f2eee-0856-46fd-b144-ffd4bad7e9c8";
7182
+ };
7183
+ readonly groupHashUniqueIndex: {
7184
+ readonly universalIdentifier: "dcb0d254-43ae-442e-9223-8ac052eddb28";
7185
+ };
7186
+ };
7187
+ readonly views: {};
7188
+ };
6948
7189
  readonly recordShare: {
6949
7190
  readonly universalIdentifier: "fecdb92c-d150-4544-81f8-f1158d18a7a2";
6950
7191
  readonly fields: {
@@ -7887,6 +8128,12 @@ declare const STANDARD_OBJECTS: {
7887
8128
  conversationType: {
7888
8129
  universalIdentifier: string;
7889
8130
  };
8131
+ directMessageFirstWorkspaceMemberId: {
8132
+ universalIdentifier: string;
8133
+ };
8134
+ directMessageSecondWorkspaceMemberId: {
8135
+ universalIdentifier: string;
8136
+ };
7890
8137
  isAssistantParticipant: {
7891
8138
  universalIdentifier: string;
7892
8139
  };
@@ -7961,6 +8208,9 @@ declare const STANDARD_OBJECTS: {
7961
8208
  };
7962
8209
  };
7963
8210
  readonly indexes: {
8211
+ readonly directMessagePairUniqueIndex: {
8212
+ readonly universalIdentifier: "365c5b24-cd52-4ebc-98d2-23c5684216d5";
8213
+ };
7964
8214
  readonly workspaceMemberIndex: {
7965
8215
  readonly universalIdentifier: "079f2dd7-6c11-4eae-be8a-cce2d1bee0fb";
7966
8216
  };
@@ -9275,6 +9525,8 @@ type SdkSystemPermissionFlag = Omit<typeof SystemPermissionFlag$1, 'CONNECTED_AC
9275
9525
  };
9276
9526
  declare const SystemPermissionFlag: SdkSystemPermissionFlag;
9277
9527
 
9528
+ declare const defineRelatedRecordPath: DefineEntity<RelatedRecordPathManifest>;
9529
+
9278
9530
  declare const defineSkill: DefineEntity<SkillManifest>;
9279
9531
 
9280
9532
  declare const defineView: DefineEntity<ViewConfig$1>;
@@ -9283,5 +9535,5 @@ declare const defineViewField: DefineEntity<StandaloneViewFieldManifest$1>;
9283
9535
 
9284
9536
  declare const defineWorkflow: DefineEntity<WorkflowManifest$1>;
9285
9537
 
9286
- export { AggregateOperations, ApplicationHealthStatus, CommandMenuItemAvailabilityType, DateDisplayFormat, FieldMetadataSettingsOnClickAction, FieldMetadataType as FieldType, HTTPMethod, IndexType, MetadataReadability, MetadataWritability, NavigationMenuItemType, NumberDataType, ObjectOpenRecordIn, ObjectRecordBaseEvent, ObjectRecordCreateEvent, ObjectRecordDeleteEvent, ObjectRecordDestroyEvent, ObjectRecordGroupByDateGranularity, ObjectRecordRestoreEvent, ObjectRecordUpdateEvent, ObjectRecordUpsertEvent, ObjectSharingReach, RelationOnDeleteAction as OnDeleteAction, PageLayoutTabLayoutMode, PageLayoutType, PageLayoutWidgetVerticalListHeightBehavior, RelationType, RowLevelPermissionPredicateGroupLogicalOperator, RowLevelPermissionPredicateOperand, STANDARD_OBJECTS as STANDARD_OBJECT, STANDARD_OBJECTS as STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS, STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS as STANDARD_PAGE_LAYOUT, STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS, SYSTEM_VIEW_KEYS, SystemPermissionFlag, ViewCalendarLayout, ViewFilterGroupLogicalOperator, ViewFilterOperand, ViewKey, ViewOpenRecordIn, ViewSortDirection, ViewType, ViewVisibility, WidgetType, canAccessFullAdminPanel, canImpersonate, createValidationResult, defineAgent, defineApplication, defineApplicationRole, defineCommandMenuItem, defineConnectionProvider, defineField, defineFrontComponent, defineHealthCheck, defineIndex, defineLogicFunction, defineMcpServer, defineMessagingProvider, defineNavigationMenuItem, defineObject, definePageLayout, definePageLayoutTab, definePageLayoutWidget, definePermissionFlag, definePostInstallLogicFunction, definePreInstallLogicFunction, defineRole, defineSettingsFrontComponent, defineSettingsMenuItem, defineSkill, defineTimelineActivityType, defineUninstallLogicFunction, defineView, defineViewField, defineWorkflow, every, everyDefined, everyEquals, favoriteRecordIds, featureFlags, getFieldUniversalIdentifier, getSystemPageLayoutTabUniversalIdentifier, getSystemRecordPageLayoutUniversalIdentifier, getSystemRelationFieldUniversalIdentifier, getSystemViewFieldUniversalIdentifier, getSystemViewUniversalIdentifier, hasAnySoftDeleteFilterOnView, includes, includesEvery, isDashboardPageLayoutInEditMode, isDefined, isInSidePanel, isLayoutCustomizationModeEnabled, isNonEmptyString, isSelectAll, none, noneDefined, noneEquals, numberOfSelectedRecords, objectMetadataItem, objectMetadataLabel, objectPermissions, pageType, selectedRecords, some, someDefined, someEquals, someNonEmptyString, targetObjectReadPermissions, targetObjectWritePermissions, validateFields };
9287
- export type { ActorMetadata as ActorField, AddressMetadata as AddressField, ApplicationConfig, ApplicationHealthCheckAction, ApplicationHealthCheckResult, CommandMenuItemConfig, CommandMenuItemManifest, ConnectionProviderScope, CronPayload, CurrencyMetadata as CurrencyField, DatabaseEventBatchPayload, DatabaseEventPayload, DefinableEntity, DefineEntity, EmailsMetadata as EmailsField, FrontComponentConfig, FrontComponentType, FullNameMetadata as FullNameField, HealthCheckHandler, HealthCheckLogicFunctionConfig, IndexConfig, IndexFieldManifest, IndexManifest, InputJsonSchema, InstallHandler, InstallPayload, LinksMetadata as LinksField, LogicFunctionConfig, LogicFunctionHandler, ObjectRecordEvent, PageLayoutConfig, PageLayoutManifest, PageLayoutTabConfig, PageLayoutTabManifest, PageLayoutWidgetCanvasPosition, PageLayoutWidgetConditionalDisplay, PageLayoutWidgetGridPosition, PageLayoutWidgetManifest, PageLayoutWidgetPosition, PageLayoutWidgetUniversalConfiguration, PageLayoutWidgetVerticalListPosition, PermissionFlagConfig, PermissionFlagManifest, PermissionFlagPermissionType, PhonesMetadata as PhonesField, RichTextMetadata as RichTextField, LogicFunctionEvent as RoutePayload, RowLevelPermissionPredicateGroupManifest, RowLevelPermissionPredicateManifest, ServerRouteDispatchResult, ServerRouteResolverResult, SettingsFrontComponentConfig, SettingsMenuItemConfig, SettingsMenuItemManifest, SettingsMenuItemScope, StandalonePageLayoutWidgetManifest, StandaloneViewFieldManifest, SyncableEntityOptions, SystemViewKey, TimelineActivityTypeConfig, TimelineActivityTypeManifest, TwentyRecord, UninstallHandler, UninstallPayload, ValidationResult, ViewConfig, ViewFieldGroupManifest, ViewFieldManifest, ViewFilterGroupManifest, ViewFilterManifest, ViewGroupManifest, ViewManifestFilterValue, ViewSortManifest, WorkflowManifest };
9538
+ export { AggregateOperations, ApplicationHealthStatus, CommandMenuItemAvailabilityType, DateDisplayFormat, FieldMetadataSettingsOnClickAction, FieldMetadataType as FieldType, HTTPMethod, IndexType, NavigationMenuItemType, NumberDataType, ObjectOpenRecordIn, ObjectRecordBaseEvent, ObjectRecordCreateEvent, ObjectRecordDeleteEvent, ObjectRecordDestroyEvent, ObjectRecordGroupByDateGranularity, ObjectRecordRestoreEvent, ObjectRecordUpdateEvent, ObjectRecordUpsertEvent, RelationOnDeleteAction as OnDeleteAction, PageLayoutTabLayoutMode, PageLayoutType, PageLayoutWidgetVerticalListHeightBehavior, RelationType, RowLevelPermissionPredicateGroupLogicalOperator, RowLevelPermissionPredicateOperand, STANDARD_OBJECTS as STANDARD_OBJECT, STANDARD_OBJECTS as STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS, STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS as STANDARD_PAGE_LAYOUT, STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS, SYSTEM_VIEW_KEYS, SystemPermissionFlag, ViewCalendarLayout, ViewFilterGroupLogicalOperator, ViewFilterOperand, ViewKey, ViewOpenRecordIn, ViewSortDirection, ViewType, ViewVisibility, WidgetType, canAccessFullAdminPanel, canImpersonate, createValidationResult, defineAgent, defineApplication, defineApplicationRole, defineCommandMenuItem, defineConnectionProvider, defineField, defineFrontComponent, defineHealthCheck, defineIndex, defineLogicFunction, defineMcpServer, defineMessagingProvider, defineNavigationMenuItem, defineObject, definePageLayout, definePageLayoutTab, definePageLayoutWidget, definePermissionFlag, definePostInstallLogicFunction, definePreInstallLogicFunction, defineRelatedRecordPath, defineRole, defineSettingsFrontComponent, defineSettingsMenuItem, defineSkill, defineTimelineActivityType, defineUninstallLogicFunction, defineValidationRule, defineView, defineViewField, defineWorkflow, every, everyDefined, everyEquals, favoriteRecordIds, featureFlags, getFieldUniversalIdentifier, getSystemPageLayoutTabUniversalIdentifier, getSystemRecordPageLayoutUniversalIdentifier, getSystemRelationFieldUniversalIdentifier, getSystemViewFieldUniversalIdentifier, getSystemViewUniversalIdentifier, hasAnySoftDeleteFilterOnView, includes, includesEvery, isDashboardPageLayoutInEditMode, isDefined, isInSidePanel, isLayoutCustomizationModeEnabled, isNonEmptyString, isSelectAll, none, noneDefined, noneEquals, numberOfSelectedRecords, objectMetadataItem, objectMetadataLabel, objectPermissions, pageType, ruleExpression, selectedRecords, some, someDefined, someEquals, someNonEmptyString, targetObjectReadPermissions, targetObjectWritePermissions, validateFields };
9539
+ export type { ActorMetadata as ActorField, AddressMetadata as AddressField, ApplicationConfig, ApplicationHealthCheckAction, ApplicationHealthCheckResult, CommandMenuItemConfig, CommandMenuItemManifest, ConnectionProviderScope, CronPayload, CurrencyMetadata as CurrencyField, DatabaseEventBatchPayload, DatabaseEventPayload, DefinableEntity, DefineEntity, EmailsMetadata as EmailsField, FrontComponentConfig, FrontComponentType, FullNameMetadata as FullNameField, HealthCheckHandler, HealthCheckLogicFunctionConfig, IndexConfig, IndexFieldManifest, IndexManifest, InputJsonSchema, InstallHandler, InstallPayload, LinksMetadata as LinksField, LogicFunctionConfig, LogicFunctionHandler, ObjectRecordEvent, PageLayoutConfig, PageLayoutManifest, PageLayoutTabConfig, PageLayoutTabManifest, PageLayoutWidgetCanvasPosition, PageLayoutWidgetConditionalDisplay, PageLayoutWidgetGridPosition, PageLayoutWidgetManifest, PageLayoutWidgetPosition, PageLayoutWidgetUniversalConfiguration, PageLayoutWidgetVerticalListPosition, PermissionFlagConfig, PermissionFlagManifest, PermissionFlagPermissionType, PhonesMetadata as PhonesField, RichTextMetadata as RichTextField, LogicFunctionEvent as RoutePayload, RowLevelPermissionPredicateGroupManifest, RowLevelPermissionPredicateManifest, RuleExpression, RuleExpressionOperand, ServerRouteDispatchResult, ServerRouteResolverResult, SettingsFrontComponentConfig, SettingsMenuItemConfig, SettingsMenuItemManifest, SettingsMenuItemScope, StandalonePageLayoutWidgetManifest, StandaloneViewFieldManifest, SyncableEntityOptions, SystemViewKey, TimelineActivityTypeConfig, TimelineActivityTypeManifest, TwentyRecord, UninstallHandler, UninstallPayload, UserHealthCheckHandler, ValidationResult, ValidationRuleConfig, ValidationRuleManifest, ViewConfig, ViewFieldGroupManifest, ViewFieldManifest, ViewFilterGroupManifest, ViewFilterManifest, ViewGroupManifest, ViewManifestFilterValue, ViewSortManifest, WorkflowManifest };