@stndrds/schema 0.1.0-alpha.58 → 0.1.0-alpha.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,10 +1,10 @@
1
- import { S as SystemResource, a as SystemAction, O as ObjectAction, I as InferAttributeValue, F as Field, A as AttributeGroupField, G as Group, T as TableTab, D as DetailViewLayout, b as InverseTableTab, c as DetailViewDefinition, d as InstanceStatus, e as Tab, f as FilterState, g as SortRule, h as DirectTableTab, L as ListViewDefinition, W as WorkflowTheme, i as WorkflowConfig, j as SlotMode, C as ConditionGroup, k as ConditionRule, l as WorkflowNode, m as WorkflowDefinition, n as FlowRow, V as ViewType, o as ViewDefinition, p as DocumentTemplate } from './runtime-SCsDOQi0.mjs';
2
- export { aa as AIBatchQuestion, ab as AIBatchQuestionAnswer, a9 as AIBatchQuestionOption, a4 as AIChatMessage, a3 as AIChatMessagePart, _ as AIChatMessagePartType, ag as AIConversation, fV as AIConversationsRepository, ah as AIMessage, af as AIMessageAttachment, U as AIMessageRole, al as AIProviderMetrics, a7 as AIQuestion, a8 as AIQuestionAnswer, a6 as AIQuestionOption, a5 as AIQuestionType, X as AIThinkingLevel, ad as AITodoItem, ae as AITodoList, ac as AITodoStatus, Z as AIToolCall, ai as AIToolCallRecord, Y as AIToolCallStatus, ak as AIUsageMetrics, fW as AIUsageMetricsRepository, aj as AIUserMemory, fX as AIUserMemoryRepository, ck as ActivityTab, bH as AddAttribute, gj as AddAttributeInput, bg as AdvancedFilterState, c7 as AssignRoleInput, fJ as AttributeChange, bG as AttributeMap, bC as AttributeSchema, fY as AttributesRepository, ao as AuditAction, ap as AuditActorType, aq as AuditChange, at as AuditListOptions, ar as AuditLogEntry, fZ as AuditRepository, an as AuditResourceType, hv as AuditService, au as AuditServiceOptions, gf as BaseRepository, ge as BaseService, B as BoundingBox, e7 as CacheAdapter, e5 as CacheKeyType, e8 as CacheOptions, ct as CalendarViewConfig, cx as CalendarViewDefinition, db as CanvasViewport, b2 as CheckboxFilterOperator, fa as ConditionExecutor, cQ as ConditionNode, d3 as ConditionOperator, cA as ConfigOverrides, am as CreateAIMessageInput, as as CreateAuditLogInput, gi as CreateCustomObjectInput, ir as CreateDBAttribute, im as CreateDBObject, iB as CreateDBView, iF as CreateDBViewOverlay, iI as CreateDBWorkflow, iR as CreateDBWorkflowAccessGrant, iL as CreateDBWorkflowInstance, iO as CreateDBWorkflowInvitation, aN as CreateDocument, az as CreateDocumentGenerationTemplate, aR as CreateDocumentSlot, aP as CreateDocumentTemplate, a_ as CreateFile, dz as CreateGrantInput, h9 as CreateGrantResult, ds as CreateInvitationInput, dt as CreateInvitationResult, iu as CreateObjectRecord, c6 as CreatePermissionInput, aT as CreateProcessingJob, hK as CreateRecordDocumentInput, hL as CreateRecordDocumentResult, c4 as CreateRoleInput, x as CreateSignatureInput, ce as CreateUserProfile, hU as CreateViewInput, hm as CreateWorkflowInput, b9 as CurrencyFilterValue, bL as CustomAttributeValue, cj as CustomTab, iq as DBAttribute, il as DBObject, iA as DBView, iE as DBViewOverlay, iH as DBWorkflow, iQ as DBWorkflowAccessGrant, iK as DBWorkflowInstance, iN as DBWorkflowInvitation, ib as DEFAULT_LABEL_FALLBACK, dU as DEFAULT_THEME, d_ as DatabaseAdapter, b3 as DateFilterOperator, cr as DetailViewConfig, aG as Document, aD as DocumentAutoProcessing, Q as DocumentData, fb as DocumentExecutor, hy as DocumentGenerationNotConfiguredError, hz as DocumentGenerationService, ay as DocumentGenerationTemplate, f_ as DocumentGenerationTemplateListOptions, hx as DocumentGenerationTemplateNotFoundError, f$ as DocumentGenerationTemplatesRepository, g0 as DocumentJobsRepository, aV as DocumentListOptions, cR as DocumentNode, hA as DocumentProcessingConfig, h3 as DocumentProcessingHook, h2 as DocumentProcessingHookOptions, hB as DocumentProcessingService, hF as DocumentRenderError, hD as DocumentRendererOptions, hH as DocumentRendererService, hN as DocumentService, hM as DocumentServiceOptions, aI as DocumentSlot, aC as DocumentSlotDefinition, g1 as DocumentSlotsRepository, aH as DocumentStatus, aW as DocumentTemplateListOptions, hI as DocumentTemplateService, g3 as DocumentTemplatesRepository, g2 as DocumentsRepository, cn as DocumentsTab, c1 as EffectivePermissions, fc as EndExecutor, cS as EndNode, eu as EvaluationResult, ev as EvaluationTrace, e_ as ExecutorCompleteResult, e$ as ExecutorContext, f0 as ExecutorErrorResult, f7 as ExecutorRegistry, f1 as ExecutorResult, f2 as ExecutorSuccessResult, f3 as ExecutorWaitResult, bd as ExtendedFilterRule, bV as ExtractAttributes, bX as ExtractObjectRecord, bY as ExtractObjectRecordWithCustom, bP as ExtractRecord, bR as ExtractRecordInput, bS as ExtractRecordInputStrict, bQ as ExtractRecordStrict, bT as ExtractRecordUpdate, bU as ExtractRecordUpdateStrict, aF as ExtractionField, aE as ExtractionMapping, eI as FeatureFlagsContext, eA as FeatureFlagsContextError, ed as FetchResult, aZ as File, hZ as FileContent, iz as FileListOptions, hP as FileService, hO as FileServiceOptions, aY as FileVisibility, g4 as FilesRepository, be as FilterCombinator, bf as FilterGroup, b7 as FilterOperator, bc as FilterRule, bb as FilterValue, bs as FlowDefinition, bp as FlowPage, bq as FlowRelation, bo as FlowRowField, bn as FlowSlot, br as FlowStatus, cm as FlowsTab, dL as FormContextResponse, fd as FormExecutor, dM as FormFieldContext, cT as FormFieldRef, dN as FormFieldRow, cU as FormNode, dO as FormNodeInfo, ci as FormTab, ee as FormattedRecord, gG as FormulaResolverService, gF as FormulaResolverServiceOptions, fr as FormulaResult, i9 as FullSyncOptions, i8 as FullSyncResult, cv as GalleryViewConfig, cz as GalleryViewDefinition, dG as GeneratedDocument, bA as GeocodingAdapter, bx as GeocodingAutocompleteParams, bz as GeocodingParams, hQ as GeocodingService, bw as GeocodingSuggestion, gy as GetRelationOptionsParams, hX as GetViewOptions, hW as GetViewsOptions, ix as GlobalSearchOptions, iy as GlobalSearchResultItem, hR as GlobalSearchService, h5 as GrantExpiredError, h4 as GrantNotFoundError, h6 as GrantRevokedError, h8 as GrantServiceConfig, ef as GroupedFetchResult, fK as HookContext, fL as HookDefinition, fM as HookHandler, fP as HookRegistry, fN as HookType, M as IdentityVerificationAdapter, bI as InferRecord, bD as InferRecordFromSchema, bJ as InferRecordInput, bK as InferRecordUpdate, bE as InferRecordWithRequirements, eg as InsertOptions, fv as InvalidPathError, hi as InvitationAlreadyAcceptedError, hh as InvitationExpiredError, hg as InvitationNotFoundError, hj as InvitationRevokedError, hf as InvitationServiceConfig, du as InvitationStatus, cg as InviteUserInput, e0 as JwtVerificationResult, gV as LabelResolver, iv as ListOptions, cs as ListViewConfig, co as ListViewLayout, e1 as MagicLinkPayload, fw as MaxDepthExceededError, fR as MockStores, b5 as MultiselectFilterOperator, bl as NO_VALUE_OPERATORS, bk as NoValueOperator, f4 as NodeExecutor, dc as NodePosition, ec as NoopCacheAdapter, bB as NoopGeocodingAdapter, fO as NoopHookRegistry, cl as NotesTab, b1 as NumberFilterOperator, bj as OPERATORS_BY_TYPE, c2 as ObjectPermissions, g5 as ObjectRecordsRepository, gm as ObjectSchemaService, gl as ObjectSchemaServiceOptions, g6 as ObjectsRepository, q as OcrAdapter, r as OcrInput, s as OcrOptions, u as OcrPage, t as OcrResult, v as OcrTextBlock, iT as OperationResult, fA as PathCardinality, fB as PathSegment, fC as PathSegmentType, aw as PdfTemplateField, dj as PendingAction, aB as PendingDocumentRequest, b$ as Permission, bZ as PermissionScope, hT as PermissionService, hS as PermissionServiceOptions, g7 as PermissionsRepository, ba as PhoneFilterValue, c8 as PolicyContext, fT as PolicyRegistry, ca as PolicyViolationError, aK as ProcessingJob, aM as ProcessingJobStatus, aL as ProcessingJobType, es as QueryBuilder, et as QueryBuilderOptions, eh as QueryBuilderState, eo as QueryMultipleResultsError, ep as QueryNoResultError, gq as QueryOptions, gs as QueryResult, bi as QueryState, dP as ReadOnlyReason, a2 as ReasoningPartData, hJ as RecordDocumentsResult, bN as RecordMetadata, c9 as RecordPolicy, gt as RecordQueryService, gp as RecordQueryServiceOptions, gD as RecordResolverService, go as RecordService, gn as RecordServiceOptions, ei as RegistryMap, ej as RegistryObjectNames, b6 as RelationFilterOperator, ij as RelationLabelResolver, gw as RelationOption, gx as RelationOptionsResponse, gC as RelationService, gz as RelationServiceOptions, gv as RelationValidationError, gu as RelationValidationResult, b8 as RelativeDateValue, hC as RenderDocumentInput, hE as RenderDocumentResult, gA as ResolveIdsBatchRequest, gB as ResolveIdsBatchResponse, gE as ResolvedRelations, hc as ResumeWorkflowInput, by as ReverseGeocodingParams, b_ as Role, h1 as RollupCascadeContext, gH as RollupResult, gL as RollupScheduler, gK as RollupSchedulerOptions, gJ as RollupService, gI as RollupServiceOptions, eq as SHORTCUT_TO_FILTER_OPERATOR, eQ as SchemaContext, gg as SchemaContextAware, gh as SchemaContextAwareRepository, fD as SchemaResolver, iw as SearchOptions, gr as SearchQueryOptions, b4 as SelectFilterOperator, ek as ShortcutOperator, w as SignatureAdapter, z as SignaturePosition, E as SignatureRequestResult, K as SignatureStatus, H as SignatureStatusResult, i0 as SignedUrlOptions, y as SignerRequest, J as SignerStatus, aJ as SlotStatus, bh as SortDirection, fe as StartExecutor, cV as StartNode, hb as StartWorkflowInput, i1 as StorageAdapter, hG as StorageDownloadNotSupportedError, aX as StorageProvider, h_ as StorageUploadInput, h$ as StorageUploadResult, i4 as SyncOptions, i3 as SyncResult, bO as SystemFields, c3 as SystemPermissions, ch as TabType, ax as TemplateSource, eX as TenantContext, ez as TenantContextError, b0 as TextFilterOperator, $ as TextPartData, dR as ThemeColors, dS as ThemeLogo, dT as ThemeTypography, a1 as ThinkingPartData, cu as TimelineViewConfig, cy as TimelineViewDefinition, h7 as TokenRevokedError, a0 as ToolPartData, fH as TraversalOptions, fI as TraversalResult, bF as TypedAttribute, bW as TypedObjectRecord, is as UpdateDBAttribute, io as UpdateDBObject, iC as UpdateDBView, iG as UpdateDBViewOverlay, iJ as UpdateDBWorkflow, iS as UpdateDBWorkflowAccessGrant, iM as UpdateDBWorkflowInstance, iP as UpdateDBWorkflowInvitation, aO as UpdateDocument, aA as UpdateDocumentGenerationTemplate, aS as UpdateDocumentSlot, aQ as UpdateDocumentTemplate, a$ as UpdateFile, gk as UpdateObjectInput, aU as UpdateProcessingJob, c5 as UpdateRoleInput, cf as UpdateUserProfile, hV as UpdateViewInput, hn as UpdateWorkflowInput, i2 as UploadFileInput, it as UpsertDBAttribute, ip as UpsertDBObject, iD as UpsertDBView, cd as UserProfile, hu as UserProfileService, ht as UserProfileServiceOptions, g8 as UserProfilesRepository, cb as UserRole, c0 as UserRoleAssignment, hs as UserService, cc as UserStatus, hr as UserValidationError, hq as UserValidationResult, av as VariableMapping, R as VerificationCheck, P as VerificationResult, N as VerifyInput, cw as ViewConfig, cp as ViewLayout, cB as ViewOverlay, dZ as ViewOverlaysRepository, hY as ViewService, iV as ViewSyncLogger, iW as ViewSyncOptions, iU as ViewSyncResult, cq as ViewTab, g9 as ViewsRepository, bM as WithCustomAttributes, dA as WorkflowAccessGrant, ha as WorkflowAccessGrantService, ga as WorkflowAccessGrantsRepository, dQ as WorkflowAccessMode, e2 as WorkflowAccessPayload, dk as WorkflowError, dH as WorkflowExecutionContext, dl as WorkflowInstance, he as WorkflowInstanceService, hd as WorkflowInstanceServiceOptions, gb as WorkflowInstancesRepository, dv as WorkflowInvitation, hk as WorkflowInvitationService, gc as WorkflowInvitationsRepository, e3 as WorkflowJwtConfig, e4 as WorkflowJwtPayload, d$ as WorkflowJwtService, dd as WorkflowLayout, cW as WorkflowNodeType, hl as WorkflowRelationService, hp as WorkflowService, ho as WorkflowServiceOptions, de as WorkflowSlot, df as WorkflowStatus, dm as WorkflowTransition, gd as WorkflowsRepository, eJ as addSchemaToContext, d4 as and, gM as applyDefaultValues, hw as buildAuditChanges, gP as buildPolicyContext, e9 as cacheKeys, ea as cacheTtl, dB as canAccessNode, dn as canResumeInstance, gN as checkPermission, gQ as checkRecordAccess, gS as checkRecordDeleteOrThrow, gR as checkRecordModifyOrThrow, gT as checkSharedObjectWriteAccess, f5 as complete, gU as computeLabel, ik as computeLabelWithRelations, gY as createContextForCreate, g_ as createContextForDelete, g$ as createContextForRestore, gZ as createContextForUpdate, eY as createDefaultExecutorRegistry, el as createDefaultState, dI as createEmptyContext, fQ as createMockAdapter, er as createQueryBuilder, dp as createStartTransition, fS as defaultPolicyRegistry, eb as defaultTtl, gX as enrichRecordsWithFormulas, ig as enrichValuesForDisplay, ih as enrichValuesWithSelectLabels, gW as enrichWithFormulas, d5 as eq, f6 as error, ex as evaluate, ew as evaluateCondition, ff as evaluateFormula, fg as evaluateFormulaAttribute, fh as evaluateFormulaAttributeWithRelations, fi as evaluateFormulaWithRelations, fj as evaluateFormulaWithResult, ey as evaluateWithTrace, ie as extractAttributeNames, fk as extractFormulaVariables, ii as extractRelationIds, fl as extractRelationNames, fm as extractRelationReferences, fn as flattenRelationsForEval, fo as formatFormulaResult, em as formatRecord, en as formatRecords, dV as generateCssVariables, eR as getContext, dJ as getContextValue, eZ as getDefaultExecutorRegistry, eB as getFeatureFlags, eC as getFeatureValue, cX as getNodeOutputs, fs as getPathDepth, gO as getPolicy, ft as getRelationPath, eK as getSchemaByNameFromContext, eL as getSchemaContext, eM as getSchemaFromContext, i7 as getSyncPreview, fu as getTargetAttributeName, eS as getTenantId, eT as getUserId, i$ as getViewSeedPreview, j0 as getViewSyncPreview, eU as hasContext, eD as hasFeatureFlagsContext, fp as hasRelationReferences, eN as hasSchemaContext, e6 as hashOptions, d6 as inValues, cM as isActivityTab, cY as isAdvancedFormNode, cE as isCalendarView, d7 as isConditionGroup, cZ as isConditionNode, d8 as isConditionRule, cL as isCustomTab, cC as isDetailView, cJ as isDirectTableTab, c_ as isDocumentNode, cP as isDocumentsTab, c$ as isEndNode, eE as isFeatureEnabled, bt as isFlowDefinition, bu as isFlowPublished, cO as isFlowsTab, d0 as isFormNode, cH as isFormTab, cG as isGalleryView, dC as isGrantExpired, dD as isGrantRevoked, dE as isGrantValid, dq as isInstanceTerminal, dr as isInstanceWaiting, cK as isInverseTableTab, dw as isInvitationAccepted, dx as isInvitationExpired, dy as isInvitationValid, id as isLabelExpression, cD as isListView, bm as isNoValueOperator, cN as isNotesTab, d1 as isSimpleFormNode, d2 as isStartNode, bv as isSystemFlow, dg as isSystemWorkflow, cI as isTableTab, cF as isTimelineView, dF as isTokenRevoked, dh as isWorkflowDefinition, di as isWorkflowPublished, dW as mergeWithDefaults, d9 as neq, fU as notesPolicy, da as or, fx as parsePath, fy as pathHasManyCardinality, h0 as recalculateParentRollups, dX as registry, ic as renderLabelExpression, fE as resolveMultiplePaths, fF as resolveSingleValue, eV as runWithContext, eF as runWithFeatureFlags, eO as runWithMergedSchemaContext, eP as runWithSchemaContext, iX as seedRegistryViews, dK as setContextValue, f8 as success, ia as syncAll, i5 as syncNativeObjects, iY as syncNativeViews, fG as traversePath, eG as tryGetFeatureValue, fq as validateFormulaExpression, fz as validatePath, i6 as verifyNativeObjectsSync, i_ as verifyNativeViewsSync, iZ as verifyRegistryViewsSeeded, dY as viewRegistry, f9 as wait, eH as withFeatureFlags, eW as withTenantContext } from './runtime-SCsDOQi0.mjs';
3
- import { D as DateAttribute, U as UserAttribute, a as DocumentAttribute, A as Attribute, F as FeatureGate, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, P as PhoneAttribute, d as CurrencyAttribute, O as Option, S as StatusAttribute, e as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, f as FileAttribute, g as SingleRelationAttribute, h as MultiRelationAttribute, i as RelationTarget, j as RatingAttribute, k as FormulaAttribute, l as FormulaReturnType, m as RollupAttribute, n as RollupFunction, o as AttributeType, p as ObjectDefinition, q as FlagValueType, r as FeatureFlagDefinition, s as FlagLevel, t as FeatureFlagsRepository, u as StaticFlagDefault, v as ResolvedFlag } from './validators-BgmWgr-G.mjs';
4
- export { x as AttributeGroup, B as BaseAttribute, a3 as CompletionStatus, H as Currency, a7 as DEFAULT_VALIDATION_MESSAGES, z as DateFormat, E as DateValue, X as FeatureFlagsConfig, W as FlagOverride, I as Location, J as LocationGranularity, y as NumberUnit, a2 as ObjectAttribute, a4 as ObjectRecord, G as Phone, K as RELATION_TARGET_ANY, Y as RESERVED_ATTRIBUTE_NAMES, Q as RelationAttribute, _ as ReservedAttributeName, Z as SYSTEM_FIELD_NAMES, a1 as SharingMode, w as StatusGroup, $ as SystemFieldName, a0 as Timestamps, a6 as ValidationMessages, aT as ValidationResult, ar as attributeConfigSchemas, ac as checkboxConfigSchema, b0 as computeRecordStatus, aQ as createAttributeValidator, ay as createCheckboxValidator, aB as createCurrencyValidator, az as createDateValidator, aX as createDraftValidator, aG as createFileValidator, aR as createFormAttributeValidator, aM as createFormulaValidator, aF as createLocationValidator, aJ as createMultiRelationValidator, aE as createMultiselectValidator, ax as createNumberValidator, aS as createObjectValidator, aA as createPhoneValidator, aL as createRatingValidator, aK as createRelationValidator, aP as createRichtextValidator, aN as createRollupValidator, aD as createSelectValidator, aI as createSingleRelationValidator, aC as createStatusValidator, aO as createTextAreaValidator, aw as createTextValidator, aH as createUserValidator, af as currencyConfigSchema, ad as dateConfigSchema, aq as documentConfigSchema, ak as fileConfigSchema, a5 as formatZodErrors, ao as formulaConfigSchema, as as getAttributeConfigSchema, a_ as getMissingRequiredAttributes, a$ as isRecordComplete, V as isUniversalRelation, ah as locationConfigSchema, aj as multiselectConfigSchema, ab as numberConfigSchema, au as parseAttributeConfig, ae as phoneConfigSchema, an as ratingConfigSchema, am as relationConfigSchema, aa as richtextConfigSchema, ap as rollupConfigSchema, av as safeParseAttributeConfig, ai as selectConfigSchema, ag as statusConfigSchema, a8 as textConfigSchema, a9 as textareaConfigSchema, al as userConfigSchema, aU as validateAttribute, at as validateAttributeConfig, aY as validateDraft, aZ as validateDraftOrThrow, aV as validateObject, aW as validateObjectOrThrow } from './validators-BgmWgr-G.mjs';
1
+ import { S as SystemResource, a as SystemAction, O as ObjectAction, I as InferAttributeValue, F as Field, A as AttributeGroupField, G as Group, T as TableTab, D as DetailViewLayout, b as InverseTableTab, c as DetailViewDefinition, d as InstanceStatus, e as Tab, f as FilterState, g as SortRule, h as DirectTableTab, L as ListViewDefinition, W as WorkflowTheme, i as WorkflowConfig, j as SlotMode, C as ConditionGroup, k as ConditionRule, l as WorkflowNode, m as WorkflowDefinition, n as FlowRow, V as ViewType, o as ViewDefinition, p as DocumentTemplate } from './runtime-Chz-bTNq.mjs';
2
+ export { aa as AIBatchQuestion, ab as AIBatchQuestionAnswer, a9 as AIBatchQuestionOption, a4 as AIChatMessage, a3 as AIChatMessagePart, _ as AIChatMessagePartType, ag as AIConversation, fY as AIConversationsRepository, ah as AIMessage, af as AIMessageAttachment, U as AIMessageRole, al as AIProviderMetrics, a7 as AIQuestion, a8 as AIQuestionAnswer, a6 as AIQuestionOption, a5 as AIQuestionType, X as AIThinkingLevel, ad as AITodoItem, ae as AITodoList, ac as AITodoStatus, Z as AIToolCall, ai as AIToolCallRecord, Y as AIToolCallStatus, ak as AIUsageMetrics, fZ as AIUsageMetricsRepository, aj as AIUserMemory, f_ as AIUserMemoryRepository, ck as ActivityTab, bH as AddAttribute, gm as AddAttributeInput, bg as AdvancedFilterState, c7 as AssignRoleInput, fM as AttributeChange, bG as AttributeMap, bC as AttributeSchema, f$ as AttributesRepository, ao as AuditAction, ap as AuditActorType, aq as AuditChange, at as AuditListOptions, ar as AuditLogEntry, g0 as AuditRepository, an as AuditResourceType, hC as AuditService, au as AuditServiceOptions, gi as BaseRepository, gh as BaseService, B as BoundingBox, ea as CacheAdapter, e8 as CacheKeyType, eb as CacheOptions, ct as CalendarViewConfig, cx as CalendarViewDefinition, db as CanvasViewport, b2 as CheckboxFilterOperator, fd as ConditionExecutor, cQ as ConditionNode, d3 as ConditionOperator, cA as ConfigOverrides, am as CreateAIMessageInput, as as CreateAuditLogInput, gl as CreateCustomObjectInput, iy as CreateDBAttribute, iu as CreateDBObject, iI as CreateDBView, iM as CreateDBViewOverlay, iP as CreateDBWorkflow, iY as CreateDBWorkflowAccessGrant, iS as CreateDBWorkflowInstance, iV as CreateDBWorkflowInvitation, aN as CreateDocument, az as CreateDocumentGenerationTemplate, aR as CreateDocumentSlot, aP as CreateDocumentTemplate, a_ as CreateFile, dz as CreateGrantInput, hg as CreateGrantResult, ds as CreateInvitationInput, dt as CreateInvitationResult, iB as CreateObjectRecord, c6 as CreatePermissionInput, aT as CreateProcessingJob, hR as CreateRecordDocumentInput, hS as CreateRecordDocumentResult, c4 as CreateRoleInput, x as CreateSignatureInput, ce as CreateUserProfile, h$ as CreateViewInput, ht as CreateWorkflowInput, b9 as CurrencyFilterValue, bL as CustomAttributeValue, cj as CustomTab, ix as DBAttribute, it as DBObject, iH as DBView, iL as DBViewOverlay, iO as DBWorkflow, iX as DBWorkflowAccessGrant, iR as DBWorkflowInstance, iU as DBWorkflowInvitation, ij as DEFAULT_LABEL_FALLBACK, dU as DEFAULT_THEME, e1 as DatabaseAdapter, b3 as DateFilterOperator, cr as DetailViewConfig, aG as Document, aD as DocumentAutoProcessing, Q as DocumentData, fe as DocumentExecutor, hF as DocumentGenerationNotConfiguredError, hG as DocumentGenerationService, ay as DocumentGenerationTemplate, g1 as DocumentGenerationTemplateListOptions, hE as DocumentGenerationTemplateNotFoundError, g2 as DocumentGenerationTemplatesRepository, g3 as DocumentJobsRepository, aV as DocumentListOptions, cR as DocumentNode, hH as DocumentProcessingConfig, ha as DocumentProcessingHook, h9 as DocumentProcessingHookOptions, hI as DocumentProcessingService, hM as DocumentRenderError, hK as DocumentRendererOptions, hO as DocumentRendererService, hU as DocumentService, hT as DocumentServiceOptions, aI as DocumentSlot, aC as DocumentSlotDefinition, g4 as DocumentSlotsRepository, aH as DocumentStatus, aW as DocumentTemplateListOptions, hP as DocumentTemplateService, g6 as DocumentTemplatesRepository, g5 as DocumentsRepository, cn as DocumentsTab, c1 as EffectivePermissions, ff as EndExecutor, cS as EndNode, ex as EvaluationResult, ey as EvaluationTrace, f1 as ExecutorCompleteResult, f2 as ExecutorContext, f3 as ExecutorErrorResult, fa as ExecutorRegistry, f4 as ExecutorResult, f5 as ExecutorSuccessResult, f6 as ExecutorWaitResult, bd as ExtendedFilterRule, bV as ExtractAttributes, bX as ExtractObjectRecord, bY as ExtractObjectRecordWithCustom, bP as ExtractRecord, bR as ExtractRecordInput, bS as ExtractRecordInputStrict, bQ as ExtractRecordStrict, bT as ExtractRecordUpdate, bU as ExtractRecordUpdateStrict, aF as ExtractionField, aE as ExtractionMapping, eL as FeatureFlagsContext, eD as FeatureFlagsContextError, eg as FetchResult, aZ as File, i4 as FileContent, iG as FileListOptions, hW as FileService, hV as FileServiceOptions, aY as FileVisibility, g7 as FilesRepository, be as FilterCombinator, bf as FilterGroup, b7 as FilterOperator, bc as FilterRule, bb as FilterValue, bs as FlowDefinition, bp as FlowPage, bq as FlowRelation, bo as FlowRowField, bn as FlowSlot, br as FlowStatus, cm as FlowsTab, dL as FormContextResponse, fg as FormExecutor, dM as FormFieldContext, cT as FormFieldRef, dN as FormFieldRow, cU as FormNode, dO as FormNodeInfo, ci as FormTab, eh as FormattedRecord, gN as FormulaResolverService, gM as FormulaResolverServiceOptions, fu as FormulaResult, ih as FullSyncOptions, ig as FullSyncResult, cv as GalleryViewConfig, cz as GalleryViewDefinition, dG as GeneratedDocument, bA as GeocodingAdapter, bx as GeocodingAutocompleteParams, bz as GeocodingParams, hX as GeocodingService, bw as GeocodingSuggestion, gB as GetRelationOptionsParams, i2 as GetViewOptions, i1 as GetViewsOptions, iE as GlobalSearchOptions, iF as GlobalSearchResultItem, hY as GlobalSearchService, hc as GrantExpiredError, hb as GrantNotFoundError, hd as GrantRevokedError, hf as GrantServiceConfig, ei as GroupedFetchResult, fN as HookContext, fO as HookDefinition, fP as HookHandler, fS as HookRegistry, fQ as HookType, gI as HybridRelationValue, M as IdentityVerificationAdapter, bI as InferRecord, bD as InferRecordFromSchema, bJ as InferRecordInput, bK as InferRecordUpdate, bE as InferRecordWithRequirements, ej as InsertOptions, fy as InvalidPathError, hp as InvitationAlreadyAcceptedError, ho as InvitationExpiredError, hn as InvitationNotFoundError, hq as InvitationRevokedError, hm as InvitationServiceConfig, du as InvitationStatus, cg as InviteUserInput, e3 as JwtVerificationResult, h0 as LabelResolver, iC as ListOptions, cs as ListViewConfig, co as ListViewLayout, e4 as MagicLinkPayload, fz as MaxDepthExceededError, fU as MockStores, gG as MultiRelationValue, b5 as MultiselectFilterOperator, bl as NO_VALUE_OPERATORS, bk as NoValueOperator, f7 as NodeExecutor, dc as NodePosition, ef as NoopCacheAdapter, bB as NoopGeocodingAdapter, fR as NoopHookRegistry, cl as NotesTab, b1 as NumberFilterOperator, bj as OPERATORS_BY_TYPE, c2 as ObjectPermissions, g8 as ObjectRecordsRepository, gp as ObjectSchemaService, go as ObjectSchemaServiceOptions, g9 as ObjectsRepository, q as OcrAdapter, r as OcrInput, s as OcrOptions, u as OcrPage, t as OcrResult, v as OcrTextBlock, i_ as OperationResult, fD as PathCardinality, fE as PathSegment, fF as PathSegmentType, aw as PdfTemplateField, dj as PendingAction, aB as PendingDocumentRequest, b$ as Permission, bZ as PermissionScope, h_ as PermissionService, hZ as PermissionServiceOptions, ga as PermissionsRepository, ba as PhoneFilterValue, c8 as PolicyContext, fW as PolicyRegistry, ca as PolicyViolationError, aK as ProcessingJob, aM as ProcessingJobStatus, aL as ProcessingJobType, ev as QueryBuilder, ew as QueryBuilderOptions, ek as QueryBuilderState, er as QueryMultipleResultsError, es as QueryNoResultError, gt as QueryOptions, gv as QueryResult, bi as QueryState, dP as ReadOnlyReason, a2 as ReasoningPartData, hQ as RecordDocumentsResult, bN as RecordMetadata, c9 as RecordPolicy, gw as RecordQueryService, gs as RecordQueryServiceOptions, gK as RecordResolverService, gr as RecordService, gq as RecordServiceOptions, el as RegistryMap, em as RegistryObjectNames, d_ as RelationAttributeInput, d$ as RelationAttributeRow, e0 as RelationAttributesRepository, b6 as RelationFilterOperator, ir as RelationLabelResolver, gz as RelationOption, gA as RelationOptionsResponse, gJ as RelationPropertiesService, gF as RelationService, gC as RelationServiceOptions, gy as RelationValidationError, gx as RelationValidationResult, b8 as RelativeDateValue, hJ as RenderDocumentInput, hL as RenderDocumentResult, gD as ResolveIdsBatchRequest, gE as ResolveIdsBatchResponse, gL as ResolvedRelations, hj as ResumeWorkflowInput, by as ReverseGeocodingParams, b_ as Role, h8 as RollupCascadeContext, gO as RollupResult, gS as RollupScheduler, gR as RollupSchedulerOptions, gQ as RollupService, gP as RollupServiceOptions, et as SHORTCUT_TO_FILTER_OPERATOR, eT as SchemaContext, gj as SchemaContextAware, gk as SchemaContextAwareRepository, fG as SchemaResolver, iD as SearchOptions, gu as SearchQueryOptions, b4 as SelectFilterOperator, en as ShortcutOperator, w as SignatureAdapter, z as SignaturePosition, E as SignatureRequestResult, K as SignatureStatus, H as SignatureStatusResult, i7 as SignedUrlOptions, y as SignerRequest, J as SignerStatus, gH as SingleRelationValue, aJ as SlotStatus, bh as SortDirection, fh as StartExecutor, cV as StartNode, hi as StartWorkflowInput, i8 as StorageAdapter, hN as StorageDownloadNotSupportedError, aX as StorageProvider, i5 as StorageUploadInput, i6 as StorageUploadResult, ib as SyncOptions, ia as SyncResult, bO as SystemFields, c3 as SystemPermissions, ch as TabType, ax as TemplateSource, e_ as TenantContext, eC as TenantContextError, b0 as TextFilterOperator, $ as TextPartData, dR as ThemeColors, dS as ThemeLogo, dT as ThemeTypography, a1 as ThinkingPartData, cu as TimelineViewConfig, cy as TimelineViewDefinition, he as TokenRevokedError, a0 as ToolPartData, fK as TraversalOptions, fL as TraversalResult, bF as TypedAttribute, bW as TypedObjectRecord, iz as UpdateDBAttribute, iv as UpdateDBObject, iJ as UpdateDBView, iN as UpdateDBViewOverlay, iQ as UpdateDBWorkflow, iZ as UpdateDBWorkflowAccessGrant, iT as UpdateDBWorkflowInstance, iW as UpdateDBWorkflowInvitation, aO as UpdateDocument, aA as UpdateDocumentGenerationTemplate, aS as UpdateDocumentSlot, aQ as UpdateDocumentTemplate, a$ as UpdateFile, gn as UpdateObjectInput, aU as UpdateProcessingJob, c5 as UpdateRoleInput, cf as UpdateUserProfile, i0 as UpdateViewInput, hu as UpdateWorkflowInput, i9 as UploadFileInput, iA as UpsertDBAttribute, iw as UpsertDBObject, iK as UpsertDBView, cd as UserProfile, hB as UserProfileService, hA as UserProfileServiceOptions, gb as UserProfilesRepository, cb as UserRole, c0 as UserRoleAssignment, hz as UserService, cc as UserStatus, hy as UserValidationError, hx as UserValidationResult, av as VariableMapping, R as VerificationCheck, P as VerificationResult, N as VerifyInput, cw as ViewConfig, cp as ViewLayout, cB as ViewOverlay, dZ as ViewOverlaysRepository, i3 as ViewService, j0 as ViewSyncLogger, j1 as ViewSyncOptions, i$ as ViewSyncResult, cq as ViewTab, gc as ViewsRepository, bM as WithCustomAttributes, dA as WorkflowAccessGrant, hh as WorkflowAccessGrantService, gd as WorkflowAccessGrantsRepository, dQ as WorkflowAccessMode, e5 as WorkflowAccessPayload, dk as WorkflowError, dH as WorkflowExecutionContext, dl as WorkflowInstance, hl as WorkflowInstanceService, hk as WorkflowInstanceServiceOptions, ge as WorkflowInstancesRepository, dv as WorkflowInvitation, hr as WorkflowInvitationService, gf as WorkflowInvitationsRepository, e6 as WorkflowJwtConfig, e7 as WorkflowJwtPayload, e2 as WorkflowJwtService, dd as WorkflowLayout, cW as WorkflowNodeType, hs as WorkflowRelationService, hw as WorkflowService, hv as WorkflowServiceOptions, de as WorkflowSlot, df as WorkflowStatus, dm as WorkflowTransition, gg as WorkflowsRepository, eM as addSchemaToContext, d4 as and, gT as applyDefaultValues, hD as buildAuditChanges, gW as buildPolicyContext, ec as cacheKeys, ed as cacheTtl, dB as canAccessNode, dn as canResumeInstance, gU as checkPermission, gX as checkRecordAccess, gZ as checkRecordDeleteOrThrow, gY as checkRecordModifyOrThrow, g_ as checkSharedObjectWriteAccess, f8 as complete, g$ as computeLabel, is as computeLabelWithRelations, h3 as createContextForCreate, h5 as createContextForDelete, h6 as createContextForRestore, h4 as createContextForUpdate, e$ as createDefaultExecutorRegistry, eo as createDefaultState, dI as createEmptyContext, fT as createMockAdapter, eu as createQueryBuilder, dp as createStartTransition, fV as defaultPolicyRegistry, ee as defaultTtl, h2 as enrichRecordsWithFormulas, io as enrichValuesForDisplay, ip as enrichValuesWithSelectLabels, h1 as enrichWithFormulas, d5 as eq, f9 as error, eA as evaluate, ez as evaluateCondition, fi as evaluateFormula, fj as evaluateFormulaAttribute, fk as evaluateFormulaAttributeWithRelations, fl as evaluateFormulaWithRelations, fm as evaluateFormulaWithResult, eB as evaluateWithTrace, im as extractAttributeNames, fn as extractFormulaVariables, iq as extractRelationIds, fo as extractRelationNames, fp as extractRelationReferences, fq as flattenRelationsForEval, fr as formatFormulaResult, ep as formatRecord, eq as formatRecords, dV as generateCssVariables, eU as getContext, dJ as getContextValue, f0 as getDefaultExecutorRegistry, eE as getFeatureFlags, eF as getFeatureValue, cX as getNodeOutputs, fv as getPathDepth, gV as getPolicy, fw as getRelationPath, eN as getSchemaByNameFromContext, eO as getSchemaContext, eP as getSchemaFromContext, ie as getSyncPreview, fx as getTargetAttributeName, eV as getTenantId, eW as getUserId, j6 as getViewSeedPreview, j7 as getViewSyncPreview, eX as hasContext, eG as hasFeatureFlagsContext, fs as hasRelationReferences, eQ as hasSchemaContext, e9 as hashOptions, d6 as inValues, cM as isActivityTab, cY as isAdvancedFormNode, cE as isCalendarView, d7 as isConditionGroup, cZ as isConditionNode, d8 as isConditionRule, cL as isCustomTab, cC as isDetailView, cJ as isDirectTableTab, c_ as isDocumentNode, cP as isDocumentsTab, c$ as isEndNode, eH as isFeatureEnabled, bt as isFlowDefinition, bu as isFlowPublished, cO as isFlowsTab, d0 as isFormNode, cH as isFormTab, cG as isGalleryView, dC as isGrantExpired, dD as isGrantRevoked, dE as isGrantValid, dq as isInstanceTerminal, dr as isInstanceWaiting, cK as isInverseTableTab, dw as isInvitationAccepted, dx as isInvitationExpired, dy as isInvitationValid, il as isLabelExpression, cD as isListView, bm as isNoValueOperator, cN as isNotesTab, d1 as isSimpleFormNode, d2 as isStartNode, bv as isSystemFlow, dg as isSystemWorkflow, cI as isTableTab, cF as isTimelineView, dF as isTokenRevoked, dh as isWorkflowDefinition, di as isWorkflowPublished, dW as mergeWithDefaults, d9 as neq, fX as notesPolicy, da as or, fA as parsePath, fB as pathHasManyCardinality, h7 as recalculateParentRollups, dX as registry, ik as renderLabelExpression, fH as resolveMultiplePaths, fI as resolveSingleValue, eY as runWithContext, eI as runWithFeatureFlags, eR as runWithMergedSchemaContext, eS as runWithSchemaContext, j2 as seedRegistryViews, dK as setContextValue, fb as success, ii as syncAll, ic as syncNativeObjects, j3 as syncNativeViews, fJ as traversePath, eJ as tryGetFeatureValue, ft as validateFormulaExpression, fC as validatePath, id as verifyNativeObjectsSync, j5 as verifyNativeViewsSync, j4 as verifyRegistryViewsSeeded, dY as viewRegistry, fc as wait, eK as withFeatureFlags, eZ as withTenantContext } from './runtime-Chz-bTNq.mjs';
3
+ import { D as DateAttribute, U as UserAttribute, a as DocumentAttribute, A as Attribute, P as PropertyDefinition, T as TextPropertyDefinition, b as TextareaPropertyDefinition, N as NumberPropertyDefinition, C as CheckboxPropertyDefinition, c as DatePropertyDefinition, d as PhonePropertyDefinition, e as CurrencyPropertyDefinition, S as StatusPropertyDefinition, O as Option, f as StatusGroup, g as SelectPropertyDefinition, M as MultiselectPropertyDefinition, R as RatingPropertyDefinition, L as LocationPropertyDefinition, h as PropertySchema, F as FeatureGate, i as TextAttribute, j as TextAreaAttribute, k as RichtextAttribute, l as RichtextFeature, m as NumberAttribute, n as CheckboxAttribute, o as PhoneAttribute, p as CurrencyAttribute, q as StatusAttribute, r as SelectAttribute, s as MultiselectAttribute, t as LocationAttribute, u as FileAttribute, v as SingleRelationAttribute, w as MultiRelationAttribute, x as RelationTarget, y as RatingAttribute, z as FormulaAttribute, B as FormulaReturnType, E as RollupAttribute, G as RollupFunction, H as AttributeType, I as ObjectDefinition, J as FlagValueType, K as FeatureFlagDefinition, Q as FlagLevel, V as FeatureFlagsRepository, W as StaticFlagDefault, X as ResolvedFlag } from './validators-BIAmz0CD.mjs';
4
+ export { Y as AttributeGroup, Z as BaseAttribute, ah as CompletionStatus, a2 as Currency, ao as DEFAULT_VALIDATION_MESSAGES, $ as DateFormat, a0 as DateValue, ak as FORBIDDEN_PROPERTY_TYPES, a9 as FeatureFlagsConfig, a8 as FlagOverride, al as ForbiddenPropertyType, a3 as Location, a4 as LocationGranularity, _ as NumberUnit, ag as ObjectAttribute, ai as ObjectRecord, a1 as Phone, aj as PropertyType, a5 as RELATION_TARGET_ANY, aa as RESERVED_ATTRIBUTE_NAMES, a6 as RelationAttribute, ac as ReservedAttributeName, ab as SYSTEM_FIELD_NAMES, af as SharingMode, ad as SystemFieldName, ae as Timestamps, an as ValidationMessages, b8 as ValidationResult, aI as attributeConfigSchemas, at as checkboxConfigSchema, bh as computeRecordStatus, b5 as createAttributeValidator, aP as createCheckboxValidator, aS as createCurrencyValidator, aQ as createDateValidator, bc as createDraftValidator, aX as createFileValidator, b6 as createFormAttributeValidator, b1 as createFormulaValidator, aW as createLocationValidator, a_ as createMultiRelationValidator, aV as createMultiselectValidator, aO as createNumberValidator, b7 as createObjectValidator, aR as createPhoneValidator, b0 as createRatingValidator, a$ as createRelationValidator, b4 as createRichtextValidator, b2 as createRollupValidator, aU as createSelectValidator, aZ as createSingleRelationValidator, aT as createStatusValidator, b3 as createTextAreaValidator, aN as createTextValidator, aY as createUserValidator, aw as currencyConfigSchema, au as dateConfigSchema, aH as documentConfigSchema, aB as fileConfigSchema, am as formatZodErrors, aF as formulaConfigSchema, aJ as getAttributeConfigSchema, bf as getMissingRequiredAttributes, bg as isRecordComplete, a7 as isUniversalRelation, ay as locationConfigSchema, aA as multiselectConfigSchema, as as numberConfigSchema, aL as parseAttributeConfig, av as phoneConfigSchema, aE as ratingConfigSchema, aD as relationConfigSchema, ar as richtextConfigSchema, aG as rollupConfigSchema, aM as safeParseAttributeConfig, az as selectConfigSchema, ax as statusConfigSchema, ap as textConfigSchema, aq as textareaConfigSchema, aC as userConfigSchema, b9 as validateAttribute, aK as validateAttributeConfig, bd as validateDraft, be as validateDraftOrThrow, ba as validateObject, bb as validateObjectOrThrow } from './validators-BIAmz0CD.mjs';
5
5
  import { z } from 'zod';
6
6
  export { TenantId, UserId, Uuid, asTenantId, asUserId, generateId, generatePrefixedId, generateTemplateName, indexBy, slugify } from './utils.mjs';
7
- import { IconName, CountryIso3, CurrencyCode, MimeType, ColorId } from '@stndrds/constants';
7
+ import { CurrencyCode, IconName, CountryIso3, MimeType, ColorId } from '@stndrds/constants';
8
8
  import 'jose';
9
9
 
10
10
  /**
@@ -1409,6 +1409,146 @@ declare class ConcurrentModificationError extends SchemaError {
1409
1409
  constructor(recordId: string);
1410
1410
  }
1411
1411
 
1412
+ /**
1413
+ * Builder for creating PropertySchema definitions
1414
+ *
1415
+ * @example
1416
+ * ```typescript
1417
+ * const schema = new PropertySchemaBuilder()
1418
+ * .add("role", select => select
1419
+ * .label("Role")
1420
+ * .options([...])
1421
+ * .required()
1422
+ * )
1423
+ * .add("shares", number => number
1424
+ * .label("Shares")
1425
+ * .min(0)
1426
+ * )
1427
+ * .build();
1428
+ * ```
1429
+ */
1430
+ declare class PropertySchemaBuilder {
1431
+ private definitions;
1432
+ /**
1433
+ * Add a property to the schema
1434
+ * The type of property is automatically detected based on the builder methods used
1435
+ */
1436
+ add<T extends PropertyDefinition>(name: string, configure: (builder: PropertyTypeBuilder) => BasePropertyBuilder<T>): this;
1437
+ /**
1438
+ * Build the final PropertySchema
1439
+ */
1440
+ build(): PropertySchema;
1441
+ }
1442
+ /**
1443
+ * Dispatcher that creates the appropriate typed builder based on the first method called
1444
+ */
1445
+ declare class PropertyTypeBuilder {
1446
+ private name;
1447
+ constructor(name: string);
1448
+ text(): TextPropertyBuilder;
1449
+ textarea(): TextareaPropertyBuilder;
1450
+ number(): NumberPropertyBuilder;
1451
+ checkbox(): CheckboxPropertyBuilder;
1452
+ date(): DatePropertyBuilder;
1453
+ phone(): PhonePropertyBuilder;
1454
+ currency(): CurrencyPropertyBuilder;
1455
+ status(): StatusPropertyBuilder;
1456
+ select(): SelectPropertyBuilder;
1457
+ multiselect(): MultiselectPropertyBuilder;
1458
+ rating(): RatingPropertyBuilder;
1459
+ location(): LocationPropertyBuilder;
1460
+ }
1461
+ /**
1462
+ * Base builder for all property types
1463
+ */
1464
+ declare class BasePropertyBuilder<TDefinition extends PropertyDefinition> {
1465
+ protected definition: Partial<TDefinition>;
1466
+ constructor(name: string);
1467
+ /**
1468
+ * Set the label
1469
+ */
1470
+ label(label: string): this;
1471
+ /**
1472
+ * Mark as required
1473
+ */
1474
+ required(): this;
1475
+ /**
1476
+ * Set description
1477
+ */
1478
+ description(description: string): this;
1479
+ /**
1480
+ * Build the final definition
1481
+ */
1482
+ build(): TDefinition;
1483
+ }
1484
+ declare class TextPropertyBuilder extends BasePropertyBuilder<TextPropertyDefinition> {
1485
+ constructor(name: string);
1486
+ minLength(value: number): this;
1487
+ maxLength(value: number): this;
1488
+ pattern(pattern: string): this;
1489
+ placeholder(value: string): this;
1490
+ }
1491
+ declare class TextareaPropertyBuilder extends BasePropertyBuilder<TextareaPropertyDefinition> {
1492
+ constructor(name: string);
1493
+ minLength(value: number): this;
1494
+ maxLength(value: number): this;
1495
+ placeholder(value: string): this;
1496
+ }
1497
+ declare class NumberPropertyBuilder extends BasePropertyBuilder<NumberPropertyDefinition> {
1498
+ constructor(name: string);
1499
+ min(value: number): this;
1500
+ max(value: number): this;
1501
+ decimal(places: number): this;
1502
+ integer(): this;
1503
+ placeholder(value: string): this;
1504
+ }
1505
+ declare class CheckboxPropertyBuilder extends BasePropertyBuilder<CheckboxPropertyDefinition> {
1506
+ constructor(name: string);
1507
+ }
1508
+ declare class DatePropertyBuilder extends BasePropertyBuilder<DatePropertyDefinition> {
1509
+ constructor(name: string);
1510
+ includeTime(): this;
1511
+ min(date: string): this;
1512
+ max(date: string): this;
1513
+ }
1514
+ declare class PhonePropertyBuilder extends BasePropertyBuilder<PhonePropertyDefinition> {
1515
+ constructor(name: string);
1516
+ }
1517
+ declare class CurrencyPropertyBuilder extends BasePropertyBuilder<CurrencyPropertyDefinition> {
1518
+ constructor(name: string);
1519
+ currency(code: CurrencyCode): this;
1520
+ min(value: number): this;
1521
+ max(value: number): this;
1522
+ }
1523
+ declare class StatusPropertyBuilder extends BasePropertyBuilder<StatusPropertyDefinition> {
1524
+ constructor(name: string);
1525
+ options(options: Array<Option & {
1526
+ group: StatusGroup;
1527
+ }>): this;
1528
+ }
1529
+ declare class SelectPropertyBuilder extends BasePropertyBuilder<SelectPropertyDefinition> {
1530
+ constructor(name: string);
1531
+ options(options: Option[]): this;
1532
+ }
1533
+ declare class MultiselectPropertyBuilder extends BasePropertyBuilder<MultiselectPropertyDefinition> {
1534
+ constructor(name: string);
1535
+ options(options: Option[]): this;
1536
+ maxSelections(value: number): this;
1537
+ }
1538
+ declare class RatingPropertyBuilder extends BasePropertyBuilder<RatingPropertyDefinition> {
1539
+ constructor(name: string);
1540
+ max(value: number): this;
1541
+ icon(icon: IconName): this;
1542
+ }
1543
+ declare class LocationPropertyBuilder extends BasePropertyBuilder<LocationPropertyDefinition> {
1544
+ constructor(name: string);
1545
+ }
1546
+ /**
1547
+ * Validates that a property type is allowed in .qualifyWith()
1548
+ * Throws an error if the type is forbidden
1549
+ */
1550
+ declare function validatePropertyType(type: string): void;
1551
+
1412
1552
  /**
1413
1553
  * Builder config with literal name type preservation
1414
1554
  */
@@ -1768,6 +1908,21 @@ declare class SingleRelationAttributeBuilder<TName extends string, TRequired ext
1768
1908
  * Convert to a multi-relation (cardinality: "many")
1769
1909
  */
1770
1910
  many(): MultiRelationAttributeBuilder<TName, TRequired>;
1911
+ /**
1912
+ * Add properties to qualify the relation
1913
+ * Must be called AFTER .to() to ensure targets are defined
1914
+ *
1915
+ * @example
1916
+ * ```typescript
1917
+ * relation({ name: "mainCompany", label: "Main Company" })
1918
+ * .to("companies")
1919
+ * .qualifyWith(props => props
1920
+ * .add("role", select => select.options([...]).required())
1921
+ * .add("shares", number => number.min(0))
1922
+ * )
1923
+ * ```
1924
+ */
1925
+ qualifyWith(configure: (builder: PropertySchemaBuilder) => PropertySchemaBuilder): this;
1771
1926
  required(): SingleRelationAttributeBuilder<TName, true>;
1772
1927
  optional(): SingleRelationAttributeBuilder<TName, false>;
1773
1928
  }
@@ -1807,6 +1962,22 @@ declare class MultiRelationAttributeBuilder<TName extends string, TRequired exte
1807
1962
  * Set maximum number of relations allowed
1808
1963
  */
1809
1964
  maxItems(count: number): this;
1965
+ /**
1966
+ * Add properties to qualify the relation
1967
+ * Must be called AFTER .to() or .many() to ensure targets are defined
1968
+ *
1969
+ * @example
1970
+ * ```typescript
1971
+ * relation({ name: "companies", label: "Companies" })
1972
+ * .to("companies")
1973
+ * .many()
1974
+ * .qualifyWith(props => props
1975
+ * .add("role", select => select.options([...]).required())
1976
+ * .add("shares", number => number.min(0))
1977
+ * )
1978
+ * ```
1979
+ */
1980
+ qualifyWith(configure: (builder: PropertySchemaBuilder) => PropertySchemaBuilder): this;
1810
1981
  required(): MultiRelationAttributeBuilder<TName, true>;
1811
1982
  optional(): MultiRelationAttributeBuilder<TName, false>;
1812
1983
  }
@@ -4002,4 +4173,4 @@ declare function getSystemTemplate(name: string): DocumentTemplate | undefined;
4002
4173
  */
4003
4174
  declare function isSystemTemplate(name: string): boolean;
4004
4175
 
4005
- export { ALL_SYSTEM_RESOURCES, ActivityTabConfig, type AgentContentPart, type AgentMessage, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, AttributeNotFoundError, AttributeType, type AttributeUsage, AuthMethodSchema, BEHAVIOR_PROPERTIES, type BehaviorProperty, type BuilderConfig, type ChatFileAttachment, CheckboxAttribute, ConcurrentModificationError, ConditionGroup, ConditionGroupSchema, ConditionNodeSchema, ConditionOperatorSchema, ConditionRule, ConditionRuleSchema, CreateShareInputSchema, CurrencyAttribute, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DRIVING_LICENSE, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DetailViewBuilder, DetailViewDefinition, DetailViewLayout, DirectTableTab, DirectTableTabConfig, DocumentAttribute, DocumentNodeSchema, DocumentTemplate, DocumentsTabConfig, DuplicateError, EMPTY_VALUE_PLACEHOLDER, EndNodeSchema, type ExtractAttributeName, type ExtractAttributeRequired, FRENCH_ID_CARD, FeatureFlagDefinition, FeatureFlagsRepository, FeatureGate, Field, FileAttribute, FileNotFoundError, FilterState, FlagLevel, FlagRegistry, type FlagResolutionContext, FlagService, type FlagServiceOptions, FlagValueType, FlowRow, FlowRowFieldSchema, FlowRowSchema, FlowsTabConfig, ForbiddenError, FormFieldRefSchema, FormNodeSchema, FormulaAttribute, FormulaReturnType, GENERIC_DOCUMENT, type GenerateFallbackViewOptions, Group, GroupBuilder, IDENTITY_PROPERTIES, type IdentityProperty, InferAttributeValue, InstanceStatus, InverseTableTab, InverseTableTabConfig, ListViewBuilder, ListViewDefinition, ListViewTabConfigBuilder, LocationAttribute, MultiRelationAttribute, MultiselectAttribute, NOTES, NodePositionSchema, NotFoundError, NotSystemObjectError, NotesTabConfig, NumberAttribute, ObjectAction, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, PASSPORT, PRESENTATION_PROPERTIES, PROOF_OF_ADDRESS, PhoneAttribute, type PresentationProperty, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RecordNotFoundError, type RecordReference, RecordReferencedError, RelationTarget, type ResetViewOptions, ResolvedFlag, type ResumeWorkflowApiInput, RichtextAttribute, RichtextFeature, RoleNotFoundError, RollupAttribute, RollupFunction, SIGNABLE_CONTRACT, SYSTEM_ATTRIBUTES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SYSTEM_TEMPLATES, SYSTEM_TEMPLATE_IDS, SchemaError, SchemaErrorCode, SelectAttribute, ShareStatusSchema, SingleRelationAttribute, SlotMode, SlotModeSchema, SortRule, StartNodeSchema, type StartWorkflowApiInput, StaticFlagDefault, StatusAttribute, SyncError, SystemAction, type SystemAttribute, type SystemAttributeName, SystemResource, Tab, TabBuilder, TableTab, TextAreaAttribute, TextAttribute, ThemeColorsSchema, ThemeLogoSchema, type TypedBuilderConfig, UserAttribute, UserProfileNotFoundError, type ValidatedConditionGroup, type ValidatedWorkflowDefinition, type ValidatedWorkflowNode, ValidationError, type ValidationErrorDetail, ViewBuilder, ViewDefinition, ViewType, ViewportSchema, WorkflowBuilder, WorkflowConditionBuilder, WorkflowConfig, WorkflowConfigSchema, WorkflowDefinition, WorkflowDefinitionSchema, WorkflowEndBuilder, type WorkflowEvent, type WorkflowEventType, WorkflowFormBuilder, WorkflowFormRowBuilder, type WorkflowGrantRevokedEvent, type WorkflowInstanceCancelledEvent, type WorkflowInstanceCompletedEvent, type WorkflowInstanceFailedEvent, type WorkflowInstanceStartedEvent, type WorkflowInvitationAcceptedEvent, type WorkflowInvitationCreatedEvent, type WorkflowInvitationExpiredEvent, WorkflowLayoutSchema, WorkflowNode, type WorkflowNodeCompletedEvent, type WorkflowNodeEnteredEvent, type WorkflowNodeFailedEvent, WorkflowNodeSchema, WorkflowShareSchema, WorkflowSimpleFormBuilder, WorkflowSlotSchema, WorkflowStartBuilder, WorkflowStatusSchema, WorkflowTheme, WorkflowThemeSchema, booleanFlag, checkbox, createFlagRegistry, createFlagService, currency, date, detailView, document, file, flagRegistry, formatAttributeValue, formula, generateDefaultDetailView, generateDefaultListView, generateFallbackView, getSystemAttributeList, getSystemTemplate, group, hasProperties, isBehaviorProperty, isDefaultRole, isEmpty, isForbiddenError, isIdentityProperty, isInstanceEvent, isInvitationOrGrantEvent, isNodeEvent, isNotEmpty, isNotFoundError, isPresentationProperty, isProtectedResourceError, isSchemaError, isSystemAttribute, isSystemAttributeObject, isSystemTemplate, isValidationError, isViewCustomized, jsonFlag, listView, location, multiselect, number, numberFlag, object, phone, rating, relation, resetViewToDefault, richtext, rollup, select, status, stringFlag, text, textarea, toUndefinedIfEmpty, user, view, workflow };
4176
+ export { ALL_SYSTEM_RESOURCES, ActivityTabConfig, type AgentContentPart, type AgentMessage, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, AttributeNotFoundError, AttributeType, type AttributeUsage, AuthMethodSchema, BEHAVIOR_PROPERTIES, BasePropertyBuilder, type BehaviorProperty, type BuilderConfig, type ChatFileAttachment, CheckboxAttribute, CheckboxPropertyBuilder, CheckboxPropertyDefinition, ConcurrentModificationError, ConditionGroup, ConditionGroupSchema, ConditionNodeSchema, ConditionOperatorSchema, ConditionRule, ConditionRuleSchema, CreateShareInputSchema, CurrencyAttribute, CurrencyPropertyBuilder, CurrencyPropertyDefinition, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DRIVING_LICENSE, DateAttribute, DatePropertyBuilder, DatePropertyDefinition, type DefaultRoleName, type DefaultRolePermissionConfig, DetailViewBuilder, DetailViewDefinition, DetailViewLayout, DirectTableTab, DirectTableTabConfig, DocumentAttribute, DocumentNodeSchema, DocumentTemplate, DocumentsTabConfig, DuplicateError, EMPTY_VALUE_PLACEHOLDER, EndNodeSchema, type ExtractAttributeName, type ExtractAttributeRequired, FRENCH_ID_CARD, FeatureFlagDefinition, FeatureFlagsRepository, FeatureGate, Field, FileAttribute, FileNotFoundError, FilterState, FlagLevel, FlagRegistry, type FlagResolutionContext, FlagService, type FlagServiceOptions, FlagValueType, FlowRow, FlowRowFieldSchema, FlowRowSchema, FlowsTabConfig, ForbiddenError, FormFieldRefSchema, FormNodeSchema, FormulaAttribute, FormulaReturnType, GENERIC_DOCUMENT, type GenerateFallbackViewOptions, Group, GroupBuilder, IDENTITY_PROPERTIES, type IdentityProperty, InferAttributeValue, InstanceStatus, InverseTableTab, InverseTableTabConfig, ListViewBuilder, ListViewDefinition, ListViewTabConfigBuilder, LocationAttribute, LocationPropertyBuilder, LocationPropertyDefinition, MultiRelationAttribute, MultiselectAttribute, MultiselectPropertyBuilder, MultiselectPropertyDefinition, NOTES, NodePositionSchema, NotFoundError, NotSystemObjectError, NotesTabConfig, NumberAttribute, NumberPropertyBuilder, NumberPropertyDefinition, ObjectAction, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, PASSPORT, PRESENTATION_PROPERTIES, PROOF_OF_ADDRESS, PhoneAttribute, PhonePropertyBuilder, PhonePropertyDefinition, type PresentationProperty, PropertyDefinition, PropertySchema, PropertySchemaBuilder, PropertyTypeBuilder, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RatingPropertyBuilder, RatingPropertyDefinition, RecordNotFoundError, type RecordReference, RecordReferencedError, RelationTarget, type ResetViewOptions, ResolvedFlag, type ResumeWorkflowApiInput, RichtextAttribute, RichtextFeature, RoleNotFoundError, RollupAttribute, RollupFunction, SIGNABLE_CONTRACT, SYSTEM_ATTRIBUTES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SYSTEM_TEMPLATES, SYSTEM_TEMPLATE_IDS, SchemaError, SchemaErrorCode, SelectAttribute, SelectPropertyBuilder, SelectPropertyDefinition, ShareStatusSchema, SingleRelationAttribute, SlotMode, SlotModeSchema, SortRule, StartNodeSchema, type StartWorkflowApiInput, StaticFlagDefault, StatusAttribute, StatusGroup, StatusPropertyBuilder, StatusPropertyDefinition, SyncError, SystemAction, type SystemAttribute, type SystemAttributeName, SystemResource, Tab, TabBuilder, TableTab, TextAreaAttribute, TextAttribute, TextPropertyBuilder, TextPropertyDefinition, TextareaPropertyBuilder, TextareaPropertyDefinition, ThemeColorsSchema, ThemeLogoSchema, type TypedBuilderConfig, UserAttribute, UserProfileNotFoundError, type ValidatedConditionGroup, type ValidatedWorkflowDefinition, type ValidatedWorkflowNode, ValidationError, type ValidationErrorDetail, ViewBuilder, ViewDefinition, ViewType, ViewportSchema, WorkflowBuilder, WorkflowConditionBuilder, WorkflowConfig, WorkflowConfigSchema, WorkflowDefinition, WorkflowDefinitionSchema, WorkflowEndBuilder, type WorkflowEvent, type WorkflowEventType, WorkflowFormBuilder, WorkflowFormRowBuilder, type WorkflowGrantRevokedEvent, type WorkflowInstanceCancelledEvent, type WorkflowInstanceCompletedEvent, type WorkflowInstanceFailedEvent, type WorkflowInstanceStartedEvent, type WorkflowInvitationAcceptedEvent, type WorkflowInvitationCreatedEvent, type WorkflowInvitationExpiredEvent, WorkflowLayoutSchema, WorkflowNode, type WorkflowNodeCompletedEvent, type WorkflowNodeEnteredEvent, type WorkflowNodeFailedEvent, WorkflowNodeSchema, WorkflowShareSchema, WorkflowSimpleFormBuilder, WorkflowSlotSchema, WorkflowStartBuilder, WorkflowStatusSchema, WorkflowTheme, WorkflowThemeSchema, booleanFlag, checkbox, createFlagRegistry, createFlagService, currency, date, detailView, document, file, flagRegistry, formatAttributeValue, formula, generateDefaultDetailView, generateDefaultListView, generateFallbackView, getSystemAttributeList, getSystemTemplate, group, hasProperties, isBehaviorProperty, isDefaultRole, isEmpty, isForbiddenError, isIdentityProperty, isInstanceEvent, isInvitationOrGrantEvent, isNodeEvent, isNotEmpty, isNotFoundError, isPresentationProperty, isProtectedResourceError, isSchemaError, isSystemAttribute, isSystemAttributeObject, isSystemTemplate, isValidationError, isViewCustomized, jsonFlag, listView, location, multiselect, number, numberFlag, object, phone, rating, relation, resetViewToDefault, richtext, rollup, select, status, stringFlag, text, textarea, toUndefinedIfEmpty, user, validatePropertyType, view, workflow };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { S as SystemResource, a as SystemAction, O as ObjectAction, I as InferAttributeValue, F as Field, A as AttributeGroupField, G as Group, T as TableTab, D as DetailViewLayout, b as InverseTableTab, c as DetailViewDefinition, d as InstanceStatus, e as Tab, f as FilterState, g as SortRule, h as DirectTableTab, L as ListViewDefinition, W as WorkflowTheme, i as WorkflowConfig, j as SlotMode, C as ConditionGroup, k as ConditionRule, l as WorkflowNode, m as WorkflowDefinition, n as FlowRow, V as ViewType, o as ViewDefinition, p as DocumentTemplate } from './runtime-C4vB_EcQ.js';
2
- export { aa as AIBatchQuestion, ab as AIBatchQuestionAnswer, a9 as AIBatchQuestionOption, a4 as AIChatMessage, a3 as AIChatMessagePart, _ as AIChatMessagePartType, ag as AIConversation, fV as AIConversationsRepository, ah as AIMessage, af as AIMessageAttachment, U as AIMessageRole, al as AIProviderMetrics, a7 as AIQuestion, a8 as AIQuestionAnswer, a6 as AIQuestionOption, a5 as AIQuestionType, X as AIThinkingLevel, ad as AITodoItem, ae as AITodoList, ac as AITodoStatus, Z as AIToolCall, ai as AIToolCallRecord, Y as AIToolCallStatus, ak as AIUsageMetrics, fW as AIUsageMetricsRepository, aj as AIUserMemory, fX as AIUserMemoryRepository, ck as ActivityTab, bH as AddAttribute, gj as AddAttributeInput, bg as AdvancedFilterState, c7 as AssignRoleInput, fJ as AttributeChange, bG as AttributeMap, bC as AttributeSchema, fY as AttributesRepository, ao as AuditAction, ap as AuditActorType, aq as AuditChange, at as AuditListOptions, ar as AuditLogEntry, fZ as AuditRepository, an as AuditResourceType, hv as AuditService, au as AuditServiceOptions, gf as BaseRepository, ge as BaseService, B as BoundingBox, e7 as CacheAdapter, e5 as CacheKeyType, e8 as CacheOptions, ct as CalendarViewConfig, cx as CalendarViewDefinition, db as CanvasViewport, b2 as CheckboxFilterOperator, fa as ConditionExecutor, cQ as ConditionNode, d3 as ConditionOperator, cA as ConfigOverrides, am as CreateAIMessageInput, as as CreateAuditLogInput, gi as CreateCustomObjectInput, ir as CreateDBAttribute, im as CreateDBObject, iB as CreateDBView, iF as CreateDBViewOverlay, iI as CreateDBWorkflow, iR as CreateDBWorkflowAccessGrant, iL as CreateDBWorkflowInstance, iO as CreateDBWorkflowInvitation, aN as CreateDocument, az as CreateDocumentGenerationTemplate, aR as CreateDocumentSlot, aP as CreateDocumentTemplate, a_ as CreateFile, dz as CreateGrantInput, h9 as CreateGrantResult, ds as CreateInvitationInput, dt as CreateInvitationResult, iu as CreateObjectRecord, c6 as CreatePermissionInput, aT as CreateProcessingJob, hK as CreateRecordDocumentInput, hL as CreateRecordDocumentResult, c4 as CreateRoleInput, x as CreateSignatureInput, ce as CreateUserProfile, hU as CreateViewInput, hm as CreateWorkflowInput, b9 as CurrencyFilterValue, bL as CustomAttributeValue, cj as CustomTab, iq as DBAttribute, il as DBObject, iA as DBView, iE as DBViewOverlay, iH as DBWorkflow, iQ as DBWorkflowAccessGrant, iK as DBWorkflowInstance, iN as DBWorkflowInvitation, ib as DEFAULT_LABEL_FALLBACK, dU as DEFAULT_THEME, d_ as DatabaseAdapter, b3 as DateFilterOperator, cr as DetailViewConfig, aG as Document, aD as DocumentAutoProcessing, Q as DocumentData, fb as DocumentExecutor, hy as DocumentGenerationNotConfiguredError, hz as DocumentGenerationService, ay as DocumentGenerationTemplate, f_ as DocumentGenerationTemplateListOptions, hx as DocumentGenerationTemplateNotFoundError, f$ as DocumentGenerationTemplatesRepository, g0 as DocumentJobsRepository, aV as DocumentListOptions, cR as DocumentNode, hA as DocumentProcessingConfig, h3 as DocumentProcessingHook, h2 as DocumentProcessingHookOptions, hB as DocumentProcessingService, hF as DocumentRenderError, hD as DocumentRendererOptions, hH as DocumentRendererService, hN as DocumentService, hM as DocumentServiceOptions, aI as DocumentSlot, aC as DocumentSlotDefinition, g1 as DocumentSlotsRepository, aH as DocumentStatus, aW as DocumentTemplateListOptions, hI as DocumentTemplateService, g3 as DocumentTemplatesRepository, g2 as DocumentsRepository, cn as DocumentsTab, c1 as EffectivePermissions, fc as EndExecutor, cS as EndNode, eu as EvaluationResult, ev as EvaluationTrace, e_ as ExecutorCompleteResult, e$ as ExecutorContext, f0 as ExecutorErrorResult, f7 as ExecutorRegistry, f1 as ExecutorResult, f2 as ExecutorSuccessResult, f3 as ExecutorWaitResult, bd as ExtendedFilterRule, bV as ExtractAttributes, bX as ExtractObjectRecord, bY as ExtractObjectRecordWithCustom, bP as ExtractRecord, bR as ExtractRecordInput, bS as ExtractRecordInputStrict, bQ as ExtractRecordStrict, bT as ExtractRecordUpdate, bU as ExtractRecordUpdateStrict, aF as ExtractionField, aE as ExtractionMapping, eI as FeatureFlagsContext, eA as FeatureFlagsContextError, ed as FetchResult, aZ as File, hZ as FileContent, iz as FileListOptions, hP as FileService, hO as FileServiceOptions, aY as FileVisibility, g4 as FilesRepository, be as FilterCombinator, bf as FilterGroup, b7 as FilterOperator, bc as FilterRule, bb as FilterValue, bs as FlowDefinition, bp as FlowPage, bq as FlowRelation, bo as FlowRowField, bn as FlowSlot, br as FlowStatus, cm as FlowsTab, dL as FormContextResponse, fd as FormExecutor, dM as FormFieldContext, cT as FormFieldRef, dN as FormFieldRow, cU as FormNode, dO as FormNodeInfo, ci as FormTab, ee as FormattedRecord, gG as FormulaResolverService, gF as FormulaResolverServiceOptions, fr as FormulaResult, i9 as FullSyncOptions, i8 as FullSyncResult, cv as GalleryViewConfig, cz as GalleryViewDefinition, dG as GeneratedDocument, bA as GeocodingAdapter, bx as GeocodingAutocompleteParams, bz as GeocodingParams, hQ as GeocodingService, bw as GeocodingSuggestion, gy as GetRelationOptionsParams, hX as GetViewOptions, hW as GetViewsOptions, ix as GlobalSearchOptions, iy as GlobalSearchResultItem, hR as GlobalSearchService, h5 as GrantExpiredError, h4 as GrantNotFoundError, h6 as GrantRevokedError, h8 as GrantServiceConfig, ef as GroupedFetchResult, fK as HookContext, fL as HookDefinition, fM as HookHandler, fP as HookRegistry, fN as HookType, M as IdentityVerificationAdapter, bI as InferRecord, bD as InferRecordFromSchema, bJ as InferRecordInput, bK as InferRecordUpdate, bE as InferRecordWithRequirements, eg as InsertOptions, fv as InvalidPathError, hi as InvitationAlreadyAcceptedError, hh as InvitationExpiredError, hg as InvitationNotFoundError, hj as InvitationRevokedError, hf as InvitationServiceConfig, du as InvitationStatus, cg as InviteUserInput, e0 as JwtVerificationResult, gV as LabelResolver, iv as ListOptions, cs as ListViewConfig, co as ListViewLayout, e1 as MagicLinkPayload, fw as MaxDepthExceededError, fR as MockStores, b5 as MultiselectFilterOperator, bl as NO_VALUE_OPERATORS, bk as NoValueOperator, f4 as NodeExecutor, dc as NodePosition, ec as NoopCacheAdapter, bB as NoopGeocodingAdapter, fO as NoopHookRegistry, cl as NotesTab, b1 as NumberFilterOperator, bj as OPERATORS_BY_TYPE, c2 as ObjectPermissions, g5 as ObjectRecordsRepository, gm as ObjectSchemaService, gl as ObjectSchemaServiceOptions, g6 as ObjectsRepository, q as OcrAdapter, r as OcrInput, s as OcrOptions, u as OcrPage, t as OcrResult, v as OcrTextBlock, iT as OperationResult, fA as PathCardinality, fB as PathSegment, fC as PathSegmentType, aw as PdfTemplateField, dj as PendingAction, aB as PendingDocumentRequest, b$ as Permission, bZ as PermissionScope, hT as PermissionService, hS as PermissionServiceOptions, g7 as PermissionsRepository, ba as PhoneFilterValue, c8 as PolicyContext, fT as PolicyRegistry, ca as PolicyViolationError, aK as ProcessingJob, aM as ProcessingJobStatus, aL as ProcessingJobType, es as QueryBuilder, et as QueryBuilderOptions, eh as QueryBuilderState, eo as QueryMultipleResultsError, ep as QueryNoResultError, gq as QueryOptions, gs as QueryResult, bi as QueryState, dP as ReadOnlyReason, a2 as ReasoningPartData, hJ as RecordDocumentsResult, bN as RecordMetadata, c9 as RecordPolicy, gt as RecordQueryService, gp as RecordQueryServiceOptions, gD as RecordResolverService, go as RecordService, gn as RecordServiceOptions, ei as RegistryMap, ej as RegistryObjectNames, b6 as RelationFilterOperator, ij as RelationLabelResolver, gw as RelationOption, gx as RelationOptionsResponse, gC as RelationService, gz as RelationServiceOptions, gv as RelationValidationError, gu as RelationValidationResult, b8 as RelativeDateValue, hC as RenderDocumentInput, hE as RenderDocumentResult, gA as ResolveIdsBatchRequest, gB as ResolveIdsBatchResponse, gE as ResolvedRelations, hc as ResumeWorkflowInput, by as ReverseGeocodingParams, b_ as Role, h1 as RollupCascadeContext, gH as RollupResult, gL as RollupScheduler, gK as RollupSchedulerOptions, gJ as RollupService, gI as RollupServiceOptions, eq as SHORTCUT_TO_FILTER_OPERATOR, eQ as SchemaContext, gg as SchemaContextAware, gh as SchemaContextAwareRepository, fD as SchemaResolver, iw as SearchOptions, gr as SearchQueryOptions, b4 as SelectFilterOperator, ek as ShortcutOperator, w as SignatureAdapter, z as SignaturePosition, E as SignatureRequestResult, K as SignatureStatus, H as SignatureStatusResult, i0 as SignedUrlOptions, y as SignerRequest, J as SignerStatus, aJ as SlotStatus, bh as SortDirection, fe as StartExecutor, cV as StartNode, hb as StartWorkflowInput, i1 as StorageAdapter, hG as StorageDownloadNotSupportedError, aX as StorageProvider, h_ as StorageUploadInput, h$ as StorageUploadResult, i4 as SyncOptions, i3 as SyncResult, bO as SystemFields, c3 as SystemPermissions, ch as TabType, ax as TemplateSource, eX as TenantContext, ez as TenantContextError, b0 as TextFilterOperator, $ as TextPartData, dR as ThemeColors, dS as ThemeLogo, dT as ThemeTypography, a1 as ThinkingPartData, cu as TimelineViewConfig, cy as TimelineViewDefinition, h7 as TokenRevokedError, a0 as ToolPartData, fH as TraversalOptions, fI as TraversalResult, bF as TypedAttribute, bW as TypedObjectRecord, is as UpdateDBAttribute, io as UpdateDBObject, iC as UpdateDBView, iG as UpdateDBViewOverlay, iJ as UpdateDBWorkflow, iS as UpdateDBWorkflowAccessGrant, iM as UpdateDBWorkflowInstance, iP as UpdateDBWorkflowInvitation, aO as UpdateDocument, aA as UpdateDocumentGenerationTemplate, aS as UpdateDocumentSlot, aQ as UpdateDocumentTemplate, a$ as UpdateFile, gk as UpdateObjectInput, aU as UpdateProcessingJob, c5 as UpdateRoleInput, cf as UpdateUserProfile, hV as UpdateViewInput, hn as UpdateWorkflowInput, i2 as UploadFileInput, it as UpsertDBAttribute, ip as UpsertDBObject, iD as UpsertDBView, cd as UserProfile, hu as UserProfileService, ht as UserProfileServiceOptions, g8 as UserProfilesRepository, cb as UserRole, c0 as UserRoleAssignment, hs as UserService, cc as UserStatus, hr as UserValidationError, hq as UserValidationResult, av as VariableMapping, R as VerificationCheck, P as VerificationResult, N as VerifyInput, cw as ViewConfig, cp as ViewLayout, cB as ViewOverlay, dZ as ViewOverlaysRepository, hY as ViewService, iV as ViewSyncLogger, iW as ViewSyncOptions, iU as ViewSyncResult, cq as ViewTab, g9 as ViewsRepository, bM as WithCustomAttributes, dA as WorkflowAccessGrant, ha as WorkflowAccessGrantService, ga as WorkflowAccessGrantsRepository, dQ as WorkflowAccessMode, e2 as WorkflowAccessPayload, dk as WorkflowError, dH as WorkflowExecutionContext, dl as WorkflowInstance, he as WorkflowInstanceService, hd as WorkflowInstanceServiceOptions, gb as WorkflowInstancesRepository, dv as WorkflowInvitation, hk as WorkflowInvitationService, gc as WorkflowInvitationsRepository, e3 as WorkflowJwtConfig, e4 as WorkflowJwtPayload, d$ as WorkflowJwtService, dd as WorkflowLayout, cW as WorkflowNodeType, hl as WorkflowRelationService, hp as WorkflowService, ho as WorkflowServiceOptions, de as WorkflowSlot, df as WorkflowStatus, dm as WorkflowTransition, gd as WorkflowsRepository, eJ as addSchemaToContext, d4 as and, gM as applyDefaultValues, hw as buildAuditChanges, gP as buildPolicyContext, e9 as cacheKeys, ea as cacheTtl, dB as canAccessNode, dn as canResumeInstance, gN as checkPermission, gQ as checkRecordAccess, gS as checkRecordDeleteOrThrow, gR as checkRecordModifyOrThrow, gT as checkSharedObjectWriteAccess, f5 as complete, gU as computeLabel, ik as computeLabelWithRelations, gY as createContextForCreate, g_ as createContextForDelete, g$ as createContextForRestore, gZ as createContextForUpdate, eY as createDefaultExecutorRegistry, el as createDefaultState, dI as createEmptyContext, fQ as createMockAdapter, er as createQueryBuilder, dp as createStartTransition, fS as defaultPolicyRegistry, eb as defaultTtl, gX as enrichRecordsWithFormulas, ig as enrichValuesForDisplay, ih as enrichValuesWithSelectLabels, gW as enrichWithFormulas, d5 as eq, f6 as error, ex as evaluate, ew as evaluateCondition, ff as evaluateFormula, fg as evaluateFormulaAttribute, fh as evaluateFormulaAttributeWithRelations, fi as evaluateFormulaWithRelations, fj as evaluateFormulaWithResult, ey as evaluateWithTrace, ie as extractAttributeNames, fk as extractFormulaVariables, ii as extractRelationIds, fl as extractRelationNames, fm as extractRelationReferences, fn as flattenRelationsForEval, fo as formatFormulaResult, em as formatRecord, en as formatRecords, dV as generateCssVariables, eR as getContext, dJ as getContextValue, eZ as getDefaultExecutorRegistry, eB as getFeatureFlags, eC as getFeatureValue, cX as getNodeOutputs, fs as getPathDepth, gO as getPolicy, ft as getRelationPath, eK as getSchemaByNameFromContext, eL as getSchemaContext, eM as getSchemaFromContext, i7 as getSyncPreview, fu as getTargetAttributeName, eS as getTenantId, eT as getUserId, i$ as getViewSeedPreview, j0 as getViewSyncPreview, eU as hasContext, eD as hasFeatureFlagsContext, fp as hasRelationReferences, eN as hasSchemaContext, e6 as hashOptions, d6 as inValues, cM as isActivityTab, cY as isAdvancedFormNode, cE as isCalendarView, d7 as isConditionGroup, cZ as isConditionNode, d8 as isConditionRule, cL as isCustomTab, cC as isDetailView, cJ as isDirectTableTab, c_ as isDocumentNode, cP as isDocumentsTab, c$ as isEndNode, eE as isFeatureEnabled, bt as isFlowDefinition, bu as isFlowPublished, cO as isFlowsTab, d0 as isFormNode, cH as isFormTab, cG as isGalleryView, dC as isGrantExpired, dD as isGrantRevoked, dE as isGrantValid, dq as isInstanceTerminal, dr as isInstanceWaiting, cK as isInverseTableTab, dw as isInvitationAccepted, dx as isInvitationExpired, dy as isInvitationValid, id as isLabelExpression, cD as isListView, bm as isNoValueOperator, cN as isNotesTab, d1 as isSimpleFormNode, d2 as isStartNode, bv as isSystemFlow, dg as isSystemWorkflow, cI as isTableTab, cF as isTimelineView, dF as isTokenRevoked, dh as isWorkflowDefinition, di as isWorkflowPublished, dW as mergeWithDefaults, d9 as neq, fU as notesPolicy, da as or, fx as parsePath, fy as pathHasManyCardinality, h0 as recalculateParentRollups, dX as registry, ic as renderLabelExpression, fE as resolveMultiplePaths, fF as resolveSingleValue, eV as runWithContext, eF as runWithFeatureFlags, eO as runWithMergedSchemaContext, eP as runWithSchemaContext, iX as seedRegistryViews, dK as setContextValue, f8 as success, ia as syncAll, i5 as syncNativeObjects, iY as syncNativeViews, fG as traversePath, eG as tryGetFeatureValue, fq as validateFormulaExpression, fz as validatePath, i6 as verifyNativeObjectsSync, i_ as verifyNativeViewsSync, iZ as verifyRegistryViewsSeeded, dY as viewRegistry, f9 as wait, eH as withFeatureFlags, eW as withTenantContext } from './runtime-C4vB_EcQ.js';
3
- import { D as DateAttribute, U as UserAttribute, a as DocumentAttribute, A as Attribute, F as FeatureGate, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, P as PhoneAttribute, d as CurrencyAttribute, O as Option, S as StatusAttribute, e as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, f as FileAttribute, g as SingleRelationAttribute, h as MultiRelationAttribute, i as RelationTarget, j as RatingAttribute, k as FormulaAttribute, l as FormulaReturnType, m as RollupAttribute, n as RollupFunction, o as AttributeType, p as ObjectDefinition, q as FlagValueType, r as FeatureFlagDefinition, s as FlagLevel, t as FeatureFlagsRepository, u as StaticFlagDefault, v as ResolvedFlag } from './validators-miARInAq.js';
4
- export { x as AttributeGroup, B as BaseAttribute, a3 as CompletionStatus, H as Currency, a7 as DEFAULT_VALIDATION_MESSAGES, z as DateFormat, E as DateValue, X as FeatureFlagsConfig, W as FlagOverride, I as Location, J as LocationGranularity, y as NumberUnit, a2 as ObjectAttribute, a4 as ObjectRecord, G as Phone, K as RELATION_TARGET_ANY, Y as RESERVED_ATTRIBUTE_NAMES, Q as RelationAttribute, _ as ReservedAttributeName, Z as SYSTEM_FIELD_NAMES, a1 as SharingMode, w as StatusGroup, $ as SystemFieldName, a0 as Timestamps, a6 as ValidationMessages, aT as ValidationResult, ar as attributeConfigSchemas, ac as checkboxConfigSchema, b0 as computeRecordStatus, aQ as createAttributeValidator, ay as createCheckboxValidator, aB as createCurrencyValidator, az as createDateValidator, aX as createDraftValidator, aG as createFileValidator, aR as createFormAttributeValidator, aM as createFormulaValidator, aF as createLocationValidator, aJ as createMultiRelationValidator, aE as createMultiselectValidator, ax as createNumberValidator, aS as createObjectValidator, aA as createPhoneValidator, aL as createRatingValidator, aK as createRelationValidator, aP as createRichtextValidator, aN as createRollupValidator, aD as createSelectValidator, aI as createSingleRelationValidator, aC as createStatusValidator, aO as createTextAreaValidator, aw as createTextValidator, aH as createUserValidator, af as currencyConfigSchema, ad as dateConfigSchema, aq as documentConfigSchema, ak as fileConfigSchema, a5 as formatZodErrors, ao as formulaConfigSchema, as as getAttributeConfigSchema, a_ as getMissingRequiredAttributes, a$ as isRecordComplete, V as isUniversalRelation, ah as locationConfigSchema, aj as multiselectConfigSchema, ab as numberConfigSchema, au as parseAttributeConfig, ae as phoneConfigSchema, an as ratingConfigSchema, am as relationConfigSchema, aa as richtextConfigSchema, ap as rollupConfigSchema, av as safeParseAttributeConfig, ai as selectConfigSchema, ag as statusConfigSchema, a8 as textConfigSchema, a9 as textareaConfigSchema, al as userConfigSchema, aU as validateAttribute, at as validateAttributeConfig, aY as validateDraft, aZ as validateDraftOrThrow, aV as validateObject, aW as validateObjectOrThrow } from './validators-miARInAq.js';
1
+ import { S as SystemResource, a as SystemAction, O as ObjectAction, I as InferAttributeValue, F as Field, A as AttributeGroupField, G as Group, T as TableTab, D as DetailViewLayout, b as InverseTableTab, c as DetailViewDefinition, d as InstanceStatus, e as Tab, f as FilterState, g as SortRule, h as DirectTableTab, L as ListViewDefinition, W as WorkflowTheme, i as WorkflowConfig, j as SlotMode, C as ConditionGroup, k as ConditionRule, l as WorkflowNode, m as WorkflowDefinition, n as FlowRow, V as ViewType, o as ViewDefinition, p as DocumentTemplate } from './runtime-BRkoIwsC.js';
2
+ export { aa as AIBatchQuestion, ab as AIBatchQuestionAnswer, a9 as AIBatchQuestionOption, a4 as AIChatMessage, a3 as AIChatMessagePart, _ as AIChatMessagePartType, ag as AIConversation, fY as AIConversationsRepository, ah as AIMessage, af as AIMessageAttachment, U as AIMessageRole, al as AIProviderMetrics, a7 as AIQuestion, a8 as AIQuestionAnswer, a6 as AIQuestionOption, a5 as AIQuestionType, X as AIThinkingLevel, ad as AITodoItem, ae as AITodoList, ac as AITodoStatus, Z as AIToolCall, ai as AIToolCallRecord, Y as AIToolCallStatus, ak as AIUsageMetrics, fZ as AIUsageMetricsRepository, aj as AIUserMemory, f_ as AIUserMemoryRepository, ck as ActivityTab, bH as AddAttribute, gm as AddAttributeInput, bg as AdvancedFilterState, c7 as AssignRoleInput, fM as AttributeChange, bG as AttributeMap, bC as AttributeSchema, f$ as AttributesRepository, ao as AuditAction, ap as AuditActorType, aq as AuditChange, at as AuditListOptions, ar as AuditLogEntry, g0 as AuditRepository, an as AuditResourceType, hC as AuditService, au as AuditServiceOptions, gi as BaseRepository, gh as BaseService, B as BoundingBox, ea as CacheAdapter, e8 as CacheKeyType, eb as CacheOptions, ct as CalendarViewConfig, cx as CalendarViewDefinition, db as CanvasViewport, b2 as CheckboxFilterOperator, fd as ConditionExecutor, cQ as ConditionNode, d3 as ConditionOperator, cA as ConfigOverrides, am as CreateAIMessageInput, as as CreateAuditLogInput, gl as CreateCustomObjectInput, iy as CreateDBAttribute, iu as CreateDBObject, iI as CreateDBView, iM as CreateDBViewOverlay, iP as CreateDBWorkflow, iY as CreateDBWorkflowAccessGrant, iS as CreateDBWorkflowInstance, iV as CreateDBWorkflowInvitation, aN as CreateDocument, az as CreateDocumentGenerationTemplate, aR as CreateDocumentSlot, aP as CreateDocumentTemplate, a_ as CreateFile, dz as CreateGrantInput, hg as CreateGrantResult, ds as CreateInvitationInput, dt as CreateInvitationResult, iB as CreateObjectRecord, c6 as CreatePermissionInput, aT as CreateProcessingJob, hR as CreateRecordDocumentInput, hS as CreateRecordDocumentResult, c4 as CreateRoleInput, x as CreateSignatureInput, ce as CreateUserProfile, h$ as CreateViewInput, ht as CreateWorkflowInput, b9 as CurrencyFilterValue, bL as CustomAttributeValue, cj as CustomTab, ix as DBAttribute, it as DBObject, iH as DBView, iL as DBViewOverlay, iO as DBWorkflow, iX as DBWorkflowAccessGrant, iR as DBWorkflowInstance, iU as DBWorkflowInvitation, ij as DEFAULT_LABEL_FALLBACK, dU as DEFAULT_THEME, e1 as DatabaseAdapter, b3 as DateFilterOperator, cr as DetailViewConfig, aG as Document, aD as DocumentAutoProcessing, Q as DocumentData, fe as DocumentExecutor, hF as DocumentGenerationNotConfiguredError, hG as DocumentGenerationService, ay as DocumentGenerationTemplate, g1 as DocumentGenerationTemplateListOptions, hE as DocumentGenerationTemplateNotFoundError, g2 as DocumentGenerationTemplatesRepository, g3 as DocumentJobsRepository, aV as DocumentListOptions, cR as DocumentNode, hH as DocumentProcessingConfig, ha as DocumentProcessingHook, h9 as DocumentProcessingHookOptions, hI as DocumentProcessingService, hM as DocumentRenderError, hK as DocumentRendererOptions, hO as DocumentRendererService, hU as DocumentService, hT as DocumentServiceOptions, aI as DocumentSlot, aC as DocumentSlotDefinition, g4 as DocumentSlotsRepository, aH as DocumentStatus, aW as DocumentTemplateListOptions, hP as DocumentTemplateService, g6 as DocumentTemplatesRepository, g5 as DocumentsRepository, cn as DocumentsTab, c1 as EffectivePermissions, ff as EndExecutor, cS as EndNode, ex as EvaluationResult, ey as EvaluationTrace, f1 as ExecutorCompleteResult, f2 as ExecutorContext, f3 as ExecutorErrorResult, fa as ExecutorRegistry, f4 as ExecutorResult, f5 as ExecutorSuccessResult, f6 as ExecutorWaitResult, bd as ExtendedFilterRule, bV as ExtractAttributes, bX as ExtractObjectRecord, bY as ExtractObjectRecordWithCustom, bP as ExtractRecord, bR as ExtractRecordInput, bS as ExtractRecordInputStrict, bQ as ExtractRecordStrict, bT as ExtractRecordUpdate, bU as ExtractRecordUpdateStrict, aF as ExtractionField, aE as ExtractionMapping, eL as FeatureFlagsContext, eD as FeatureFlagsContextError, eg as FetchResult, aZ as File, i4 as FileContent, iG as FileListOptions, hW as FileService, hV as FileServiceOptions, aY as FileVisibility, g7 as FilesRepository, be as FilterCombinator, bf as FilterGroup, b7 as FilterOperator, bc as FilterRule, bb as FilterValue, bs as FlowDefinition, bp as FlowPage, bq as FlowRelation, bo as FlowRowField, bn as FlowSlot, br as FlowStatus, cm as FlowsTab, dL as FormContextResponse, fg as FormExecutor, dM as FormFieldContext, cT as FormFieldRef, dN as FormFieldRow, cU as FormNode, dO as FormNodeInfo, ci as FormTab, eh as FormattedRecord, gN as FormulaResolverService, gM as FormulaResolverServiceOptions, fu as FormulaResult, ih as FullSyncOptions, ig as FullSyncResult, cv as GalleryViewConfig, cz as GalleryViewDefinition, dG as GeneratedDocument, bA as GeocodingAdapter, bx as GeocodingAutocompleteParams, bz as GeocodingParams, hX as GeocodingService, bw as GeocodingSuggestion, gB as GetRelationOptionsParams, i2 as GetViewOptions, i1 as GetViewsOptions, iE as GlobalSearchOptions, iF as GlobalSearchResultItem, hY as GlobalSearchService, hc as GrantExpiredError, hb as GrantNotFoundError, hd as GrantRevokedError, hf as GrantServiceConfig, ei as GroupedFetchResult, fN as HookContext, fO as HookDefinition, fP as HookHandler, fS as HookRegistry, fQ as HookType, gI as HybridRelationValue, M as IdentityVerificationAdapter, bI as InferRecord, bD as InferRecordFromSchema, bJ as InferRecordInput, bK as InferRecordUpdate, bE as InferRecordWithRequirements, ej as InsertOptions, fy as InvalidPathError, hp as InvitationAlreadyAcceptedError, ho as InvitationExpiredError, hn as InvitationNotFoundError, hq as InvitationRevokedError, hm as InvitationServiceConfig, du as InvitationStatus, cg as InviteUserInput, e3 as JwtVerificationResult, h0 as LabelResolver, iC as ListOptions, cs as ListViewConfig, co as ListViewLayout, e4 as MagicLinkPayload, fz as MaxDepthExceededError, fU as MockStores, gG as MultiRelationValue, b5 as MultiselectFilterOperator, bl as NO_VALUE_OPERATORS, bk as NoValueOperator, f7 as NodeExecutor, dc as NodePosition, ef as NoopCacheAdapter, bB as NoopGeocodingAdapter, fR as NoopHookRegistry, cl as NotesTab, b1 as NumberFilterOperator, bj as OPERATORS_BY_TYPE, c2 as ObjectPermissions, g8 as ObjectRecordsRepository, gp as ObjectSchemaService, go as ObjectSchemaServiceOptions, g9 as ObjectsRepository, q as OcrAdapter, r as OcrInput, s as OcrOptions, u as OcrPage, t as OcrResult, v as OcrTextBlock, i_ as OperationResult, fD as PathCardinality, fE as PathSegment, fF as PathSegmentType, aw as PdfTemplateField, dj as PendingAction, aB as PendingDocumentRequest, b$ as Permission, bZ as PermissionScope, h_ as PermissionService, hZ as PermissionServiceOptions, ga as PermissionsRepository, ba as PhoneFilterValue, c8 as PolicyContext, fW as PolicyRegistry, ca as PolicyViolationError, aK as ProcessingJob, aM as ProcessingJobStatus, aL as ProcessingJobType, ev as QueryBuilder, ew as QueryBuilderOptions, ek as QueryBuilderState, er as QueryMultipleResultsError, es as QueryNoResultError, gt as QueryOptions, gv as QueryResult, bi as QueryState, dP as ReadOnlyReason, a2 as ReasoningPartData, hQ as RecordDocumentsResult, bN as RecordMetadata, c9 as RecordPolicy, gw as RecordQueryService, gs as RecordQueryServiceOptions, gK as RecordResolverService, gr as RecordService, gq as RecordServiceOptions, el as RegistryMap, em as RegistryObjectNames, d_ as RelationAttributeInput, d$ as RelationAttributeRow, e0 as RelationAttributesRepository, b6 as RelationFilterOperator, ir as RelationLabelResolver, gz as RelationOption, gA as RelationOptionsResponse, gJ as RelationPropertiesService, gF as RelationService, gC as RelationServiceOptions, gy as RelationValidationError, gx as RelationValidationResult, b8 as RelativeDateValue, hJ as RenderDocumentInput, hL as RenderDocumentResult, gD as ResolveIdsBatchRequest, gE as ResolveIdsBatchResponse, gL as ResolvedRelations, hj as ResumeWorkflowInput, by as ReverseGeocodingParams, b_ as Role, h8 as RollupCascadeContext, gO as RollupResult, gS as RollupScheduler, gR as RollupSchedulerOptions, gQ as RollupService, gP as RollupServiceOptions, et as SHORTCUT_TO_FILTER_OPERATOR, eT as SchemaContext, gj as SchemaContextAware, gk as SchemaContextAwareRepository, fG as SchemaResolver, iD as SearchOptions, gu as SearchQueryOptions, b4 as SelectFilterOperator, en as ShortcutOperator, w as SignatureAdapter, z as SignaturePosition, E as SignatureRequestResult, K as SignatureStatus, H as SignatureStatusResult, i7 as SignedUrlOptions, y as SignerRequest, J as SignerStatus, gH as SingleRelationValue, aJ as SlotStatus, bh as SortDirection, fh as StartExecutor, cV as StartNode, hi as StartWorkflowInput, i8 as StorageAdapter, hN as StorageDownloadNotSupportedError, aX as StorageProvider, i5 as StorageUploadInput, i6 as StorageUploadResult, ib as SyncOptions, ia as SyncResult, bO as SystemFields, c3 as SystemPermissions, ch as TabType, ax as TemplateSource, e_ as TenantContext, eC as TenantContextError, b0 as TextFilterOperator, $ as TextPartData, dR as ThemeColors, dS as ThemeLogo, dT as ThemeTypography, a1 as ThinkingPartData, cu as TimelineViewConfig, cy as TimelineViewDefinition, he as TokenRevokedError, a0 as ToolPartData, fK as TraversalOptions, fL as TraversalResult, bF as TypedAttribute, bW as TypedObjectRecord, iz as UpdateDBAttribute, iv as UpdateDBObject, iJ as UpdateDBView, iN as UpdateDBViewOverlay, iQ as UpdateDBWorkflow, iZ as UpdateDBWorkflowAccessGrant, iT as UpdateDBWorkflowInstance, iW as UpdateDBWorkflowInvitation, aO as UpdateDocument, aA as UpdateDocumentGenerationTemplate, aS as UpdateDocumentSlot, aQ as UpdateDocumentTemplate, a$ as UpdateFile, gn as UpdateObjectInput, aU as UpdateProcessingJob, c5 as UpdateRoleInput, cf as UpdateUserProfile, i0 as UpdateViewInput, hu as UpdateWorkflowInput, i9 as UploadFileInput, iA as UpsertDBAttribute, iw as UpsertDBObject, iK as UpsertDBView, cd as UserProfile, hB as UserProfileService, hA as UserProfileServiceOptions, gb as UserProfilesRepository, cb as UserRole, c0 as UserRoleAssignment, hz as UserService, cc as UserStatus, hy as UserValidationError, hx as UserValidationResult, av as VariableMapping, R as VerificationCheck, P as VerificationResult, N as VerifyInput, cw as ViewConfig, cp as ViewLayout, cB as ViewOverlay, dZ as ViewOverlaysRepository, i3 as ViewService, j0 as ViewSyncLogger, j1 as ViewSyncOptions, i$ as ViewSyncResult, cq as ViewTab, gc as ViewsRepository, bM as WithCustomAttributes, dA as WorkflowAccessGrant, hh as WorkflowAccessGrantService, gd as WorkflowAccessGrantsRepository, dQ as WorkflowAccessMode, e5 as WorkflowAccessPayload, dk as WorkflowError, dH as WorkflowExecutionContext, dl as WorkflowInstance, hl as WorkflowInstanceService, hk as WorkflowInstanceServiceOptions, ge as WorkflowInstancesRepository, dv as WorkflowInvitation, hr as WorkflowInvitationService, gf as WorkflowInvitationsRepository, e6 as WorkflowJwtConfig, e7 as WorkflowJwtPayload, e2 as WorkflowJwtService, dd as WorkflowLayout, cW as WorkflowNodeType, hs as WorkflowRelationService, hw as WorkflowService, hv as WorkflowServiceOptions, de as WorkflowSlot, df as WorkflowStatus, dm as WorkflowTransition, gg as WorkflowsRepository, eM as addSchemaToContext, d4 as and, gT as applyDefaultValues, hD as buildAuditChanges, gW as buildPolicyContext, ec as cacheKeys, ed as cacheTtl, dB as canAccessNode, dn as canResumeInstance, gU as checkPermission, gX as checkRecordAccess, gZ as checkRecordDeleteOrThrow, gY as checkRecordModifyOrThrow, g_ as checkSharedObjectWriteAccess, f8 as complete, g$ as computeLabel, is as computeLabelWithRelations, h3 as createContextForCreate, h5 as createContextForDelete, h6 as createContextForRestore, h4 as createContextForUpdate, e$ as createDefaultExecutorRegistry, eo as createDefaultState, dI as createEmptyContext, fT as createMockAdapter, eu as createQueryBuilder, dp as createStartTransition, fV as defaultPolicyRegistry, ee as defaultTtl, h2 as enrichRecordsWithFormulas, io as enrichValuesForDisplay, ip as enrichValuesWithSelectLabels, h1 as enrichWithFormulas, d5 as eq, f9 as error, eA as evaluate, ez as evaluateCondition, fi as evaluateFormula, fj as evaluateFormulaAttribute, fk as evaluateFormulaAttributeWithRelations, fl as evaluateFormulaWithRelations, fm as evaluateFormulaWithResult, eB as evaluateWithTrace, im as extractAttributeNames, fn as extractFormulaVariables, iq as extractRelationIds, fo as extractRelationNames, fp as extractRelationReferences, fq as flattenRelationsForEval, fr as formatFormulaResult, ep as formatRecord, eq as formatRecords, dV as generateCssVariables, eU as getContext, dJ as getContextValue, f0 as getDefaultExecutorRegistry, eE as getFeatureFlags, eF as getFeatureValue, cX as getNodeOutputs, fv as getPathDepth, gV as getPolicy, fw as getRelationPath, eN as getSchemaByNameFromContext, eO as getSchemaContext, eP as getSchemaFromContext, ie as getSyncPreview, fx as getTargetAttributeName, eV as getTenantId, eW as getUserId, j6 as getViewSeedPreview, j7 as getViewSyncPreview, eX as hasContext, eG as hasFeatureFlagsContext, fs as hasRelationReferences, eQ as hasSchemaContext, e9 as hashOptions, d6 as inValues, cM as isActivityTab, cY as isAdvancedFormNode, cE as isCalendarView, d7 as isConditionGroup, cZ as isConditionNode, d8 as isConditionRule, cL as isCustomTab, cC as isDetailView, cJ as isDirectTableTab, c_ as isDocumentNode, cP as isDocumentsTab, c$ as isEndNode, eH as isFeatureEnabled, bt as isFlowDefinition, bu as isFlowPublished, cO as isFlowsTab, d0 as isFormNode, cH as isFormTab, cG as isGalleryView, dC as isGrantExpired, dD as isGrantRevoked, dE as isGrantValid, dq as isInstanceTerminal, dr as isInstanceWaiting, cK as isInverseTableTab, dw as isInvitationAccepted, dx as isInvitationExpired, dy as isInvitationValid, il as isLabelExpression, cD as isListView, bm as isNoValueOperator, cN as isNotesTab, d1 as isSimpleFormNode, d2 as isStartNode, bv as isSystemFlow, dg as isSystemWorkflow, cI as isTableTab, cF as isTimelineView, dF as isTokenRevoked, dh as isWorkflowDefinition, di as isWorkflowPublished, dW as mergeWithDefaults, d9 as neq, fX as notesPolicy, da as or, fA as parsePath, fB as pathHasManyCardinality, h7 as recalculateParentRollups, dX as registry, ik as renderLabelExpression, fH as resolveMultiplePaths, fI as resolveSingleValue, eY as runWithContext, eI as runWithFeatureFlags, eR as runWithMergedSchemaContext, eS as runWithSchemaContext, j2 as seedRegistryViews, dK as setContextValue, fb as success, ii as syncAll, ic as syncNativeObjects, j3 as syncNativeViews, fJ as traversePath, eJ as tryGetFeatureValue, ft as validateFormulaExpression, fC as validatePath, id as verifyNativeObjectsSync, j5 as verifyNativeViewsSync, j4 as verifyRegistryViewsSeeded, dY as viewRegistry, fc as wait, eK as withFeatureFlags, eZ as withTenantContext } from './runtime-BRkoIwsC.js';
3
+ import { D as DateAttribute, U as UserAttribute, a as DocumentAttribute, A as Attribute, P as PropertyDefinition, T as TextPropertyDefinition, b as TextareaPropertyDefinition, N as NumberPropertyDefinition, C as CheckboxPropertyDefinition, c as DatePropertyDefinition, d as PhonePropertyDefinition, e as CurrencyPropertyDefinition, S as StatusPropertyDefinition, O as Option, f as StatusGroup, g as SelectPropertyDefinition, M as MultiselectPropertyDefinition, R as RatingPropertyDefinition, L as LocationPropertyDefinition, h as PropertySchema, F as FeatureGate, i as TextAttribute, j as TextAreaAttribute, k as RichtextAttribute, l as RichtextFeature, m as NumberAttribute, n as CheckboxAttribute, o as PhoneAttribute, p as CurrencyAttribute, q as StatusAttribute, r as SelectAttribute, s as MultiselectAttribute, t as LocationAttribute, u as FileAttribute, v as SingleRelationAttribute, w as MultiRelationAttribute, x as RelationTarget, y as RatingAttribute, z as FormulaAttribute, B as FormulaReturnType, E as RollupAttribute, G as RollupFunction, H as AttributeType, I as ObjectDefinition, J as FlagValueType, K as FeatureFlagDefinition, Q as FlagLevel, V as FeatureFlagsRepository, W as StaticFlagDefault, X as ResolvedFlag } from './validators-BPIB7Miq.js';
4
+ export { Y as AttributeGroup, Z as BaseAttribute, ah as CompletionStatus, a2 as Currency, ao as DEFAULT_VALIDATION_MESSAGES, $ as DateFormat, a0 as DateValue, ak as FORBIDDEN_PROPERTY_TYPES, a9 as FeatureFlagsConfig, a8 as FlagOverride, al as ForbiddenPropertyType, a3 as Location, a4 as LocationGranularity, _ as NumberUnit, ag as ObjectAttribute, ai as ObjectRecord, a1 as Phone, aj as PropertyType, a5 as RELATION_TARGET_ANY, aa as RESERVED_ATTRIBUTE_NAMES, a6 as RelationAttribute, ac as ReservedAttributeName, ab as SYSTEM_FIELD_NAMES, af as SharingMode, ad as SystemFieldName, ae as Timestamps, an as ValidationMessages, b8 as ValidationResult, aI as attributeConfigSchemas, at as checkboxConfigSchema, bh as computeRecordStatus, b5 as createAttributeValidator, aP as createCheckboxValidator, aS as createCurrencyValidator, aQ as createDateValidator, bc as createDraftValidator, aX as createFileValidator, b6 as createFormAttributeValidator, b1 as createFormulaValidator, aW as createLocationValidator, a_ as createMultiRelationValidator, aV as createMultiselectValidator, aO as createNumberValidator, b7 as createObjectValidator, aR as createPhoneValidator, b0 as createRatingValidator, a$ as createRelationValidator, b4 as createRichtextValidator, b2 as createRollupValidator, aU as createSelectValidator, aZ as createSingleRelationValidator, aT as createStatusValidator, b3 as createTextAreaValidator, aN as createTextValidator, aY as createUserValidator, aw as currencyConfigSchema, au as dateConfigSchema, aH as documentConfigSchema, aB as fileConfigSchema, am as formatZodErrors, aF as formulaConfigSchema, aJ as getAttributeConfigSchema, bf as getMissingRequiredAttributes, bg as isRecordComplete, a7 as isUniversalRelation, ay as locationConfigSchema, aA as multiselectConfigSchema, as as numberConfigSchema, aL as parseAttributeConfig, av as phoneConfigSchema, aE as ratingConfigSchema, aD as relationConfigSchema, ar as richtextConfigSchema, aG as rollupConfigSchema, aM as safeParseAttributeConfig, az as selectConfigSchema, ax as statusConfigSchema, ap as textConfigSchema, aq as textareaConfigSchema, aC as userConfigSchema, b9 as validateAttribute, aK as validateAttributeConfig, bd as validateDraft, be as validateDraftOrThrow, ba as validateObject, bb as validateObjectOrThrow } from './validators-BPIB7Miq.js';
5
5
  import { z } from 'zod';
6
6
  export { TenantId, UserId, Uuid, asTenantId, asUserId, generateId, generatePrefixedId, generateTemplateName, indexBy, slugify } from './utils.js';
7
- import { IconName, CountryIso3, CurrencyCode, MimeType, ColorId } from '@stndrds/constants';
7
+ import { CurrencyCode, IconName, CountryIso3, MimeType, ColorId } from '@stndrds/constants';
8
8
  import 'jose';
9
9
 
10
10
  /**
@@ -1409,6 +1409,146 @@ declare class ConcurrentModificationError extends SchemaError {
1409
1409
  constructor(recordId: string);
1410
1410
  }
1411
1411
 
1412
+ /**
1413
+ * Builder for creating PropertySchema definitions
1414
+ *
1415
+ * @example
1416
+ * ```typescript
1417
+ * const schema = new PropertySchemaBuilder()
1418
+ * .add("role", select => select
1419
+ * .label("Role")
1420
+ * .options([...])
1421
+ * .required()
1422
+ * )
1423
+ * .add("shares", number => number
1424
+ * .label("Shares")
1425
+ * .min(0)
1426
+ * )
1427
+ * .build();
1428
+ * ```
1429
+ */
1430
+ declare class PropertySchemaBuilder {
1431
+ private definitions;
1432
+ /**
1433
+ * Add a property to the schema
1434
+ * The type of property is automatically detected based on the builder methods used
1435
+ */
1436
+ add<T extends PropertyDefinition>(name: string, configure: (builder: PropertyTypeBuilder) => BasePropertyBuilder<T>): this;
1437
+ /**
1438
+ * Build the final PropertySchema
1439
+ */
1440
+ build(): PropertySchema;
1441
+ }
1442
+ /**
1443
+ * Dispatcher that creates the appropriate typed builder based on the first method called
1444
+ */
1445
+ declare class PropertyTypeBuilder {
1446
+ private name;
1447
+ constructor(name: string);
1448
+ text(): TextPropertyBuilder;
1449
+ textarea(): TextareaPropertyBuilder;
1450
+ number(): NumberPropertyBuilder;
1451
+ checkbox(): CheckboxPropertyBuilder;
1452
+ date(): DatePropertyBuilder;
1453
+ phone(): PhonePropertyBuilder;
1454
+ currency(): CurrencyPropertyBuilder;
1455
+ status(): StatusPropertyBuilder;
1456
+ select(): SelectPropertyBuilder;
1457
+ multiselect(): MultiselectPropertyBuilder;
1458
+ rating(): RatingPropertyBuilder;
1459
+ location(): LocationPropertyBuilder;
1460
+ }
1461
+ /**
1462
+ * Base builder for all property types
1463
+ */
1464
+ declare class BasePropertyBuilder<TDefinition extends PropertyDefinition> {
1465
+ protected definition: Partial<TDefinition>;
1466
+ constructor(name: string);
1467
+ /**
1468
+ * Set the label
1469
+ */
1470
+ label(label: string): this;
1471
+ /**
1472
+ * Mark as required
1473
+ */
1474
+ required(): this;
1475
+ /**
1476
+ * Set description
1477
+ */
1478
+ description(description: string): this;
1479
+ /**
1480
+ * Build the final definition
1481
+ */
1482
+ build(): TDefinition;
1483
+ }
1484
+ declare class TextPropertyBuilder extends BasePropertyBuilder<TextPropertyDefinition> {
1485
+ constructor(name: string);
1486
+ minLength(value: number): this;
1487
+ maxLength(value: number): this;
1488
+ pattern(pattern: string): this;
1489
+ placeholder(value: string): this;
1490
+ }
1491
+ declare class TextareaPropertyBuilder extends BasePropertyBuilder<TextareaPropertyDefinition> {
1492
+ constructor(name: string);
1493
+ minLength(value: number): this;
1494
+ maxLength(value: number): this;
1495
+ placeholder(value: string): this;
1496
+ }
1497
+ declare class NumberPropertyBuilder extends BasePropertyBuilder<NumberPropertyDefinition> {
1498
+ constructor(name: string);
1499
+ min(value: number): this;
1500
+ max(value: number): this;
1501
+ decimal(places: number): this;
1502
+ integer(): this;
1503
+ placeholder(value: string): this;
1504
+ }
1505
+ declare class CheckboxPropertyBuilder extends BasePropertyBuilder<CheckboxPropertyDefinition> {
1506
+ constructor(name: string);
1507
+ }
1508
+ declare class DatePropertyBuilder extends BasePropertyBuilder<DatePropertyDefinition> {
1509
+ constructor(name: string);
1510
+ includeTime(): this;
1511
+ min(date: string): this;
1512
+ max(date: string): this;
1513
+ }
1514
+ declare class PhonePropertyBuilder extends BasePropertyBuilder<PhonePropertyDefinition> {
1515
+ constructor(name: string);
1516
+ }
1517
+ declare class CurrencyPropertyBuilder extends BasePropertyBuilder<CurrencyPropertyDefinition> {
1518
+ constructor(name: string);
1519
+ currency(code: CurrencyCode): this;
1520
+ min(value: number): this;
1521
+ max(value: number): this;
1522
+ }
1523
+ declare class StatusPropertyBuilder extends BasePropertyBuilder<StatusPropertyDefinition> {
1524
+ constructor(name: string);
1525
+ options(options: Array<Option & {
1526
+ group: StatusGroup;
1527
+ }>): this;
1528
+ }
1529
+ declare class SelectPropertyBuilder extends BasePropertyBuilder<SelectPropertyDefinition> {
1530
+ constructor(name: string);
1531
+ options(options: Option[]): this;
1532
+ }
1533
+ declare class MultiselectPropertyBuilder extends BasePropertyBuilder<MultiselectPropertyDefinition> {
1534
+ constructor(name: string);
1535
+ options(options: Option[]): this;
1536
+ maxSelections(value: number): this;
1537
+ }
1538
+ declare class RatingPropertyBuilder extends BasePropertyBuilder<RatingPropertyDefinition> {
1539
+ constructor(name: string);
1540
+ max(value: number): this;
1541
+ icon(icon: IconName): this;
1542
+ }
1543
+ declare class LocationPropertyBuilder extends BasePropertyBuilder<LocationPropertyDefinition> {
1544
+ constructor(name: string);
1545
+ }
1546
+ /**
1547
+ * Validates that a property type is allowed in .qualifyWith()
1548
+ * Throws an error if the type is forbidden
1549
+ */
1550
+ declare function validatePropertyType(type: string): void;
1551
+
1412
1552
  /**
1413
1553
  * Builder config with literal name type preservation
1414
1554
  */
@@ -1768,6 +1908,21 @@ declare class SingleRelationAttributeBuilder<TName extends string, TRequired ext
1768
1908
  * Convert to a multi-relation (cardinality: "many")
1769
1909
  */
1770
1910
  many(): MultiRelationAttributeBuilder<TName, TRequired>;
1911
+ /**
1912
+ * Add properties to qualify the relation
1913
+ * Must be called AFTER .to() to ensure targets are defined
1914
+ *
1915
+ * @example
1916
+ * ```typescript
1917
+ * relation({ name: "mainCompany", label: "Main Company" })
1918
+ * .to("companies")
1919
+ * .qualifyWith(props => props
1920
+ * .add("role", select => select.options([...]).required())
1921
+ * .add("shares", number => number.min(0))
1922
+ * )
1923
+ * ```
1924
+ */
1925
+ qualifyWith(configure: (builder: PropertySchemaBuilder) => PropertySchemaBuilder): this;
1771
1926
  required(): SingleRelationAttributeBuilder<TName, true>;
1772
1927
  optional(): SingleRelationAttributeBuilder<TName, false>;
1773
1928
  }
@@ -1807,6 +1962,22 @@ declare class MultiRelationAttributeBuilder<TName extends string, TRequired exte
1807
1962
  * Set maximum number of relations allowed
1808
1963
  */
1809
1964
  maxItems(count: number): this;
1965
+ /**
1966
+ * Add properties to qualify the relation
1967
+ * Must be called AFTER .to() or .many() to ensure targets are defined
1968
+ *
1969
+ * @example
1970
+ * ```typescript
1971
+ * relation({ name: "companies", label: "Companies" })
1972
+ * .to("companies")
1973
+ * .many()
1974
+ * .qualifyWith(props => props
1975
+ * .add("role", select => select.options([...]).required())
1976
+ * .add("shares", number => number.min(0))
1977
+ * )
1978
+ * ```
1979
+ */
1980
+ qualifyWith(configure: (builder: PropertySchemaBuilder) => PropertySchemaBuilder): this;
1810
1981
  required(): MultiRelationAttributeBuilder<TName, true>;
1811
1982
  optional(): MultiRelationAttributeBuilder<TName, false>;
1812
1983
  }
@@ -4002,4 +4173,4 @@ declare function getSystemTemplate(name: string): DocumentTemplate | undefined;
4002
4173
  */
4003
4174
  declare function isSystemTemplate(name: string): boolean;
4004
4175
 
4005
- export { ALL_SYSTEM_RESOURCES, ActivityTabConfig, type AgentContentPart, type AgentMessage, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, AttributeNotFoundError, AttributeType, type AttributeUsage, AuthMethodSchema, BEHAVIOR_PROPERTIES, type BehaviorProperty, type BuilderConfig, type ChatFileAttachment, CheckboxAttribute, ConcurrentModificationError, ConditionGroup, ConditionGroupSchema, ConditionNodeSchema, ConditionOperatorSchema, ConditionRule, ConditionRuleSchema, CreateShareInputSchema, CurrencyAttribute, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DRIVING_LICENSE, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DetailViewBuilder, DetailViewDefinition, DetailViewLayout, DirectTableTab, DirectTableTabConfig, DocumentAttribute, DocumentNodeSchema, DocumentTemplate, DocumentsTabConfig, DuplicateError, EMPTY_VALUE_PLACEHOLDER, EndNodeSchema, type ExtractAttributeName, type ExtractAttributeRequired, FRENCH_ID_CARD, FeatureFlagDefinition, FeatureFlagsRepository, FeatureGate, Field, FileAttribute, FileNotFoundError, FilterState, FlagLevel, FlagRegistry, type FlagResolutionContext, FlagService, type FlagServiceOptions, FlagValueType, FlowRow, FlowRowFieldSchema, FlowRowSchema, FlowsTabConfig, ForbiddenError, FormFieldRefSchema, FormNodeSchema, FormulaAttribute, FormulaReturnType, GENERIC_DOCUMENT, type GenerateFallbackViewOptions, Group, GroupBuilder, IDENTITY_PROPERTIES, type IdentityProperty, InferAttributeValue, InstanceStatus, InverseTableTab, InverseTableTabConfig, ListViewBuilder, ListViewDefinition, ListViewTabConfigBuilder, LocationAttribute, MultiRelationAttribute, MultiselectAttribute, NOTES, NodePositionSchema, NotFoundError, NotSystemObjectError, NotesTabConfig, NumberAttribute, ObjectAction, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, PASSPORT, PRESENTATION_PROPERTIES, PROOF_OF_ADDRESS, PhoneAttribute, type PresentationProperty, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RecordNotFoundError, type RecordReference, RecordReferencedError, RelationTarget, type ResetViewOptions, ResolvedFlag, type ResumeWorkflowApiInput, RichtextAttribute, RichtextFeature, RoleNotFoundError, RollupAttribute, RollupFunction, SIGNABLE_CONTRACT, SYSTEM_ATTRIBUTES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SYSTEM_TEMPLATES, SYSTEM_TEMPLATE_IDS, SchemaError, SchemaErrorCode, SelectAttribute, ShareStatusSchema, SingleRelationAttribute, SlotMode, SlotModeSchema, SortRule, StartNodeSchema, type StartWorkflowApiInput, StaticFlagDefault, StatusAttribute, SyncError, SystemAction, type SystemAttribute, type SystemAttributeName, SystemResource, Tab, TabBuilder, TableTab, TextAreaAttribute, TextAttribute, ThemeColorsSchema, ThemeLogoSchema, type TypedBuilderConfig, UserAttribute, UserProfileNotFoundError, type ValidatedConditionGroup, type ValidatedWorkflowDefinition, type ValidatedWorkflowNode, ValidationError, type ValidationErrorDetail, ViewBuilder, ViewDefinition, ViewType, ViewportSchema, WorkflowBuilder, WorkflowConditionBuilder, WorkflowConfig, WorkflowConfigSchema, WorkflowDefinition, WorkflowDefinitionSchema, WorkflowEndBuilder, type WorkflowEvent, type WorkflowEventType, WorkflowFormBuilder, WorkflowFormRowBuilder, type WorkflowGrantRevokedEvent, type WorkflowInstanceCancelledEvent, type WorkflowInstanceCompletedEvent, type WorkflowInstanceFailedEvent, type WorkflowInstanceStartedEvent, type WorkflowInvitationAcceptedEvent, type WorkflowInvitationCreatedEvent, type WorkflowInvitationExpiredEvent, WorkflowLayoutSchema, WorkflowNode, type WorkflowNodeCompletedEvent, type WorkflowNodeEnteredEvent, type WorkflowNodeFailedEvent, WorkflowNodeSchema, WorkflowShareSchema, WorkflowSimpleFormBuilder, WorkflowSlotSchema, WorkflowStartBuilder, WorkflowStatusSchema, WorkflowTheme, WorkflowThemeSchema, booleanFlag, checkbox, createFlagRegistry, createFlagService, currency, date, detailView, document, file, flagRegistry, formatAttributeValue, formula, generateDefaultDetailView, generateDefaultListView, generateFallbackView, getSystemAttributeList, getSystemTemplate, group, hasProperties, isBehaviorProperty, isDefaultRole, isEmpty, isForbiddenError, isIdentityProperty, isInstanceEvent, isInvitationOrGrantEvent, isNodeEvent, isNotEmpty, isNotFoundError, isPresentationProperty, isProtectedResourceError, isSchemaError, isSystemAttribute, isSystemAttributeObject, isSystemTemplate, isValidationError, isViewCustomized, jsonFlag, listView, location, multiselect, number, numberFlag, object, phone, rating, relation, resetViewToDefault, richtext, rollup, select, status, stringFlag, text, textarea, toUndefinedIfEmpty, user, view, workflow };
4176
+ export { ALL_SYSTEM_RESOURCES, ActivityTabConfig, type AgentContentPart, type AgentMessage, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, AttributeNotFoundError, AttributeType, type AttributeUsage, AuthMethodSchema, BEHAVIOR_PROPERTIES, BasePropertyBuilder, type BehaviorProperty, type BuilderConfig, type ChatFileAttachment, CheckboxAttribute, CheckboxPropertyBuilder, CheckboxPropertyDefinition, ConcurrentModificationError, ConditionGroup, ConditionGroupSchema, ConditionNodeSchema, ConditionOperatorSchema, ConditionRule, ConditionRuleSchema, CreateShareInputSchema, CurrencyAttribute, CurrencyPropertyBuilder, CurrencyPropertyDefinition, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DRIVING_LICENSE, DateAttribute, DatePropertyBuilder, DatePropertyDefinition, type DefaultRoleName, type DefaultRolePermissionConfig, DetailViewBuilder, DetailViewDefinition, DetailViewLayout, DirectTableTab, DirectTableTabConfig, DocumentAttribute, DocumentNodeSchema, DocumentTemplate, DocumentsTabConfig, DuplicateError, EMPTY_VALUE_PLACEHOLDER, EndNodeSchema, type ExtractAttributeName, type ExtractAttributeRequired, FRENCH_ID_CARD, FeatureFlagDefinition, FeatureFlagsRepository, FeatureGate, Field, FileAttribute, FileNotFoundError, FilterState, FlagLevel, FlagRegistry, type FlagResolutionContext, FlagService, type FlagServiceOptions, FlagValueType, FlowRow, FlowRowFieldSchema, FlowRowSchema, FlowsTabConfig, ForbiddenError, FormFieldRefSchema, FormNodeSchema, FormulaAttribute, FormulaReturnType, GENERIC_DOCUMENT, type GenerateFallbackViewOptions, Group, GroupBuilder, IDENTITY_PROPERTIES, type IdentityProperty, InferAttributeValue, InstanceStatus, InverseTableTab, InverseTableTabConfig, ListViewBuilder, ListViewDefinition, ListViewTabConfigBuilder, LocationAttribute, LocationPropertyBuilder, LocationPropertyDefinition, MultiRelationAttribute, MultiselectAttribute, MultiselectPropertyBuilder, MultiselectPropertyDefinition, NOTES, NodePositionSchema, NotFoundError, NotSystemObjectError, NotesTabConfig, NumberAttribute, NumberPropertyBuilder, NumberPropertyDefinition, ObjectAction, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, PASSPORT, PRESENTATION_PROPERTIES, PROOF_OF_ADDRESS, PhoneAttribute, PhonePropertyBuilder, PhonePropertyDefinition, type PresentationProperty, PropertyDefinition, PropertySchema, PropertySchemaBuilder, PropertyTypeBuilder, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RatingPropertyBuilder, RatingPropertyDefinition, RecordNotFoundError, type RecordReference, RecordReferencedError, RelationTarget, type ResetViewOptions, ResolvedFlag, type ResumeWorkflowApiInput, RichtextAttribute, RichtextFeature, RoleNotFoundError, RollupAttribute, RollupFunction, SIGNABLE_CONTRACT, SYSTEM_ATTRIBUTES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SYSTEM_TEMPLATES, SYSTEM_TEMPLATE_IDS, SchemaError, SchemaErrorCode, SelectAttribute, SelectPropertyBuilder, SelectPropertyDefinition, ShareStatusSchema, SingleRelationAttribute, SlotMode, SlotModeSchema, SortRule, StartNodeSchema, type StartWorkflowApiInput, StaticFlagDefault, StatusAttribute, StatusGroup, StatusPropertyBuilder, StatusPropertyDefinition, SyncError, SystemAction, type SystemAttribute, type SystemAttributeName, SystemResource, Tab, TabBuilder, TableTab, TextAreaAttribute, TextAttribute, TextPropertyBuilder, TextPropertyDefinition, TextareaPropertyBuilder, TextareaPropertyDefinition, ThemeColorsSchema, ThemeLogoSchema, type TypedBuilderConfig, UserAttribute, UserProfileNotFoundError, type ValidatedConditionGroup, type ValidatedWorkflowDefinition, type ValidatedWorkflowNode, ValidationError, type ValidationErrorDetail, ViewBuilder, ViewDefinition, ViewType, ViewportSchema, WorkflowBuilder, WorkflowConditionBuilder, WorkflowConfig, WorkflowConfigSchema, WorkflowDefinition, WorkflowDefinitionSchema, WorkflowEndBuilder, type WorkflowEvent, type WorkflowEventType, WorkflowFormBuilder, WorkflowFormRowBuilder, type WorkflowGrantRevokedEvent, type WorkflowInstanceCancelledEvent, type WorkflowInstanceCompletedEvent, type WorkflowInstanceFailedEvent, type WorkflowInstanceStartedEvent, type WorkflowInvitationAcceptedEvent, type WorkflowInvitationCreatedEvent, type WorkflowInvitationExpiredEvent, WorkflowLayoutSchema, WorkflowNode, type WorkflowNodeCompletedEvent, type WorkflowNodeEnteredEvent, type WorkflowNodeFailedEvent, WorkflowNodeSchema, WorkflowShareSchema, WorkflowSimpleFormBuilder, WorkflowSlotSchema, WorkflowStartBuilder, WorkflowStatusSchema, WorkflowTheme, WorkflowThemeSchema, booleanFlag, checkbox, createFlagRegistry, createFlagService, currency, date, detailView, document, file, flagRegistry, formatAttributeValue, formula, generateDefaultDetailView, generateDefaultListView, generateFallbackView, getSystemAttributeList, getSystemTemplate, group, hasProperties, isBehaviorProperty, isDefaultRole, isEmpty, isForbiddenError, isIdentityProperty, isInstanceEvent, isInvitationOrGrantEvent, isNodeEvent, isNotEmpty, isNotFoundError, isPresentationProperty, isProtectedResourceError, isSchemaError, isSystemAttribute, isSystemAttributeObject, isSystemTemplate, isValidationError, isViewCustomized, jsonFlag, listView, location, multiselect, number, numberFlag, object, phone, rating, relation, resetViewToDefault, richtext, rollup, select, status, stringFlag, text, textarea, toUndefinedIfEmpty, user, validatePropertyType, view, workflow };