@stndrds/schema 0.1.0-alpha.63 → 0.1.0-alpha.64

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, C as CreateMode, f as FilterState, g as SortRule, h as DirectTableTab, L as ListViewDefinition, W as WorkflowTheme, i as WorkflowConfig, j as SlotMode, k as ConditionGroup, l as ConditionRule, m as WorkflowNode, n as WorkflowDefinition, o as FlowRow, p as ListViewConfig, q as ListViewTab, V as ViewType, r as ViewDefinition, s as DocumentTemplate } from './runtime-C4U2ppAk.mjs';
2
- export { ad as AIBatchQuestion, ae as AIBatchQuestionAnswer, ac as AIBatchQuestionOption, a7 as AIChatMessage, a6 as AIChatMessagePart, a1 as AIChatMessagePartType, aj as AIConversation, f$ as AIConversationsRepository, ak as AIMessage, ai as AIMessageAttachment, Z as AIMessageRole, ao as AIProviderMetrics, aa as AIQuestion, ab as AIQuestionAnswer, a9 as AIQuestionOption, a8 as AIQuestionType, _ as AIThinkingLevel, ag as AITodoItem, ah as AITodoList, af as AITodoStatus, a0 as AIToolCall, al as AIToolCallRecord, $ as AIToolCallStatus, an as AIUsageMetrics, g0 as AIUsageMetricsRepository, am as AIUserMemory, g1 as AIUserMemoryRepository, co as ActivityTab, bK as AddAttribute, gp as AddAttributeInput, bj as AdvancedFilterState, ca as AssignRoleInput, fP as AttributeChange, bJ as AttributeMap, bF as AttributeSchema, g2 as AttributesRepository, ar as AuditAction, as as AuditActorType, at as AuditChange, aw as AuditListOptions, au as AuditLogEntry, g3 as AuditRepository, aq as AuditResourceType, hF as AuditService, ax as AuditServiceOptions, gl as BaseRepository, gk as BaseService, B as BoundingBox, ed as CacheAdapter, eb as CacheKeyType, ee as CacheOptions, cw as CalendarViewConfig, cA as CalendarViewDefinition, de as CanvasViewport, b5 as CheckboxFilterOperator, fg as ConditionExecutor, cT as ConditionNode, d6 as ConditionOperator, cD as ConfigOverrides, ap as CreateAIMessageInput, av as CreateAuditLogInput, go as CreateCustomObjectInput, iB as CreateDBAttribute, ix as CreateDBObject, iN as CreateDBView, iR as CreateDBViewOverlay, iU as CreateDBWorkflow, j1 as CreateDBWorkflowAccessGrant, iX as CreateDBWorkflowInstance, i_ as CreateDBWorkflowInvitation, aQ as CreateDocument, aC as CreateDocumentGenerationTemplate, aU as CreateDocumentSlot, aS as CreateDocumentTemplate, b1 as CreateFile, dC as CreateGrantInput, hj as CreateGrantResult, dv as CreateInvitationInput, dw as CreateInvitationResult, iE as CreateObjectRecord, c9 as CreatePermissionInput, aW as CreateProcessingJob, hU as CreateRecordDocumentInput, hV as CreateRecordDocumentResult, c7 as CreateRoleInput, E as CreateSignatureInput, ch as CreateUserProfile, i2 as CreateViewInput, hw as CreateWorkflowInput, bc as CurrencyFilterValue, bO as CustomAttributeValue, cn as CustomTab, iA as DBAttribute, iw as DBObject, iM as DBView, iQ as DBViewOverlay, iT as DBWorkflow, j0 as DBWorkflowAccessGrant, iW as DBWorkflowInstance, iZ as DBWorkflowInvitation, im as DEFAULT_LABEL_FALLBACK, dX as DEFAULT_THEME, e4 as DatabaseAdapter, b6 as DateFilterOperator, cv as DetailViewConfig, aJ as Document, aG as DocumentAutoProcessing, X as DocumentData, fh as DocumentExecutor, hI as DocumentGenerationNotConfiguredError, hJ as DocumentGenerationService, aB as DocumentGenerationTemplate, g4 as DocumentGenerationTemplateListOptions, hH as DocumentGenerationTemplateNotFoundError, g5 as DocumentGenerationTemplatesRepository, g6 as DocumentJobsRepository, aY as DocumentListOptions, cU as DocumentNode, hK as DocumentProcessingConfig, hd as DocumentProcessingHook, hc as DocumentProcessingHookOptions, hL as DocumentProcessingService, hP as DocumentRenderError, hN as DocumentRendererOptions, hR as DocumentRendererService, hX as DocumentService, hW as DocumentServiceOptions, aL as DocumentSlot, aF as DocumentSlotDefinition, g7 as DocumentSlotsRepository, aK as DocumentStatus, aZ as DocumentTemplateListOptions, hS as DocumentTemplateService, g9 as DocumentTemplatesRepository, g8 as DocumentsRepository, cr as DocumentsTab, c4 as EffectivePermissions, fi as EndExecutor, cV as EndNode, eA as EvaluationResult, eB as EvaluationTrace, f4 as ExecutorCompleteResult, f5 as ExecutorContext, f6 as ExecutorErrorResult, fd as ExecutorRegistry, f7 as ExecutorResult, f8 as ExecutorSuccessResult, f9 as ExecutorWaitResult, bg as ExtendedFilterRule, bY as ExtractAttributes, b_ as ExtractObjectRecord, b$ as ExtractObjectRecordWithCustom, bS as ExtractRecord, bU as ExtractRecordInput, bV as ExtractRecordInputStrict, bT as ExtractRecordStrict, bW as ExtractRecordUpdate, bX as ExtractRecordUpdateStrict, aI as ExtractionField, aH as ExtractionMapping, eO as FeatureFlagsContext, eG as FeatureFlagsContextError, ej as FetchResult, b0 as File, i7 as FileContent, iL as FileListOptions, hZ as FileService, hY as FileServiceOptions, a$ as FileVisibility, ga as FilesRepository, bh as FilterCombinator, bi as FilterGroup, ba as FilterOperator, bf as FilterRule, be as FilterValue, bv as FlowDefinition, bs as FlowPage, bt as FlowRelation, br as FlowRowField, bq as FlowSlot, bu as FlowStatus, cq as FlowsTab, dO as FormContextResponse, cl as FormDensity, fj as FormExecutor, dP as FormFieldContext, cW as FormFieldRef, dQ as FormFieldRow, cX as FormNode, dR as FormNodeInfo, cm as FormTab, ek as FormattedRecord, gQ as FormulaResolverService, gP as FormulaResolverServiceOptions, fx as FormulaResult, ik as FullSyncOptions, ij as FullSyncResult, cy as GalleryViewConfig, cC as GalleryViewDefinition, dJ as GeneratedDocument, bD as GeocodingAdapter, bA as GeocodingAutocompleteParams, bC as GeocodingParams, h_ as GeocodingService, bz as GeocodingSuggestion, gE as GetRelationOptionsParams, i5 as GetViewOptions, i4 as GetViewsOptions, iI as GlobalSearchGroupedOptions, iK as GlobalSearchGroupedResult, iH as GlobalSearchOptions, iJ as GlobalSearchResultItem, h$ as GlobalSearchService, hf as GrantExpiredError, he as GrantNotFoundError, hg as GrantRevokedError, hi as GrantServiceConfig, el as GroupedFetchResult, fQ as HookContext, fR as HookDefinition, fS as HookHandler, fV as HookRegistry, fT as HookType, gL as HybridRelationValue, Q as IdentityVerificationAdapter, bL as InferRecord, bG as InferRecordFromSchema, bM as InferRecordInput, bN as InferRecordUpdate, bH as InferRecordWithRequirements, em as InsertOptions, fB as InvalidPathError, hs as InvitationAlreadyAcceptedError, hr as InvitationExpiredError, hq as InvitationNotFoundError, ht as InvitationRevokedError, hp as InvitationServiceConfig, dx as InvitationStatus, cj as InviteUserInput, e6 as JwtVerificationResult, h3 as LabelResolver, iF as ListOptions, cs as ListViewLayout, e7 as MagicLinkPayload, fC as MaxDepthExceededError, fX as MockStores, gJ as MultiRelationValue, b8 as MultiselectFilterOperator, bo as NO_VALUE_OPERATORS, bn as NoValueOperator, fa as NodeExecutor, df as NodePosition, ei as NoopCacheAdapter, bE as NoopGeocodingAdapter, fU as NoopHookRegistry, cp as NotesTab, b4 as NumberFilterOperator, bm as OPERATORS_BY_TYPE, c5 as ObjectPermissions, gb as ObjectRecordsRepository, gs as ObjectSchemaService, gr as ObjectSchemaServiceOptions, gc as ObjectsRepository, t as OcrAdapter, u as OcrInput, v as OcrOptions, x as OcrPage, w as OcrResult, y as OcrTextBlock, j3 as OperationResult, fG as PathCardinality, fH as PathSegment, fI as PathSegmentType, az as PdfTemplateField, dm as PendingAction, aE as PendingDocumentRequest, c2 as Permission, c0 as PermissionScope, i1 as PermissionService, i0 as PermissionServiceOptions, gd as PermissionsRepository, bd as PhoneFilterValue, cb as PolicyContext, fZ as PolicyRegistry, cd as PolicyViolationError, aN as ProcessingJob, aP as ProcessingJobStatus, aO as ProcessingJobType, ey as QueryBuilder, ez as QueryBuilderOptions, en as QueryBuilderState, eu as QueryMultipleResultsError, ev as QueryNoResultError, gw as QueryOptions, gy as QueryResult, bl as QueryState, dS as ReadOnlyReason, a5 as ReasoningPartData, hT as RecordDocumentsResult, bQ as RecordMetadata, cc as RecordPolicy, gz as RecordQueryService, gv as RecordQueryServiceOptions, gN as RecordResolverService, gu as RecordService, gt as RecordServiceOptions, eo as RegistryMap, ep as RegistryObjectNames, e1 as RelationAttributeInput, e2 as RelationAttributeRow, e3 as RelationAttributesRepository, b9 as RelationFilterOperator, iu as RelationLabelResolver, gC as RelationOption, gD as RelationOptionsResponse, gM as RelationPropertiesService, gI as RelationService, gF as RelationServiceOptions, gB as RelationValidationError, gA as RelationValidationResult, bb as RelativeDateValue, hM as RenderDocumentInput, hO as RenderDocumentResult, gG as ResolveIdsBatchRequest, gH as ResolveIdsBatchResponse, gO as ResolvedRelations, hm as ResumeWorkflowInput, bB as ReverseGeocodingParams, c1 as Role, hb as RollupCascadeContext, gR as RollupResult, gV as RollupScheduler, gU as RollupSchedulerOptions, gT as RollupService, gS as RollupServiceOptions, ew as SHORTCUT_TO_FILTER_OPERATOR, eW as SchemaContext, gm as SchemaContextAware, gn as SchemaContextAwareRepository, fJ as SchemaResolver, iG as SearchOptions, gx as SearchQueryOptions, b7 as SelectFilterOperator, eq as ShortcutOperator, z as SignatureAdapter, J as SignaturePosition, K as SignatureRequestResult, P as SignatureStatus, M as SignatureStatusResult, ia as SignedUrlOptions, H as SignerRequest, N as SignerStatus, gK as SingleRelationValue, aM as SlotStatus, bk as SortDirection, fk as StartExecutor, cY as StartNode, hl as StartWorkflowInput, ib as StorageAdapter, hQ as StorageDownloadNotSupportedError, a_ as StorageProvider, i8 as StorageUploadInput, i9 as StorageUploadResult, ie as SyncOptions, id as SyncResult, bR as SystemFields, c6 as SystemPermissions, ck as TabType, aA as TemplateSource, f1 as TenantContext, eF as TenantContextError, b3 as TextFilterOperator, a2 as TextPartData, dU as ThemeColors, dV as ThemeLogo, dW as ThemeTypography, a4 as ThinkingPartData, cx as TimelineViewConfig, cB as TimelineViewDefinition, hh as TokenRevokedError, a3 as ToolPartData, fN as TraversalOptions, fO as TraversalResult, bI as TypedAttribute, bZ as TypedObjectRecord, iC as UpdateDBAttribute, iy as UpdateDBObject, iO as UpdateDBView, iS as UpdateDBViewOverlay, iV as UpdateDBWorkflow, j2 as UpdateDBWorkflowAccessGrant, iY as UpdateDBWorkflowInstance, i$ as UpdateDBWorkflowInvitation, aR as UpdateDocument, aD as UpdateDocumentGenerationTemplate, aV as UpdateDocumentSlot, aT as UpdateDocumentTemplate, b2 as UpdateFile, gq as UpdateObjectInput, aX as UpdateProcessingJob, c8 as UpdateRoleInput, ci as UpdateUserProfile, i3 as UpdateViewInput, hx as UpdateWorkflowInput, ic as UploadFileInput, iD as UpsertDBAttribute, iz as UpsertDBObject, iP as UpsertDBView, cg as UserProfile, hE as UserProfileService, hD as UserProfileServiceOptions, ge as UserProfilesRepository, ce as UserRole, c3 as UserRoleAssignment, hC as UserService, cf as UserStatus, hB as UserValidationError, hA as UserValidationResult, ay as VariableMapping, Y as VerificationCheck, U as VerificationResult, R as VerifyInput, cz as ViewConfig, ct as ViewLayout, cE as ViewOverlay, e0 as ViewOverlaysRepository, i6 as ViewService, j5 as ViewSyncLogger, j6 as ViewSyncOptions, j4 as ViewSyncResult, cu as ViewTab, gf as ViewsRepository, bP as WithCustomAttributes, dD as WorkflowAccessGrant, hk as WorkflowAccessGrantService, gg as WorkflowAccessGrantsRepository, dT as WorkflowAccessMode, e8 as WorkflowAccessPayload, dn as WorkflowError, dK as WorkflowExecutionContext, dp as WorkflowInstance, ho as WorkflowInstanceService, hn as WorkflowInstanceServiceOptions, gh as WorkflowInstancesRepository, dy as WorkflowInvitation, hu as WorkflowInvitationService, gi as WorkflowInvitationsRepository, e9 as WorkflowJwtConfig, ea as WorkflowJwtPayload, e5 as WorkflowJwtService, dg as WorkflowLayout, cZ as WorkflowNodeType, hv as WorkflowRelationService, hz as WorkflowService, hy as WorkflowServiceOptions, dh as WorkflowSlot, di as WorkflowStatus, dq as WorkflowTransition, gj as WorkflowsRepository, eP as addSchemaToContext, d7 as and, gW as applyDefaultValues, hG as buildAuditChanges, gZ as buildPolicyContext, ef as cacheKeys, eg as cacheTtl, dE as canAccessNode, dr as canResumeInstance, gX as checkPermission, g_ as checkRecordAccess, h0 as checkRecordDeleteOrThrow, g$ as checkRecordModifyOrThrow, h1 as checkSharedObjectWriteAccess, fb as complete, h2 as computeLabel, iv as computeLabelWithRelations, h6 as createContextForCreate, h8 as createContextForDelete, h9 as createContextForRestore, h7 as createContextForUpdate, f2 as createDefaultExecutorRegistry, er as createDefaultState, dL as createEmptyContext, fW as createMockAdapter, ex as createQueryBuilder, ds as createStartTransition, fY as defaultPolicyRegistry, eh as defaultTtl, h5 as enrichRecordsWithFormulas, ir as enrichValuesForDisplay, is as enrichValuesWithSelectLabels, h4 as enrichWithFormulas, d8 as eq, fc as error, eD as evaluate, eC as evaluateCondition, fl as evaluateFormula, fm as evaluateFormulaAttribute, fn as evaluateFormulaAttributeWithRelations, fo as evaluateFormulaWithRelations, fp as evaluateFormulaWithResult, eE as evaluateWithTrace, iq as extractAttributeNames, fq as extractFormulaVariables, it as extractRelationIds, fr as extractRelationNames, fs as extractRelationReferences, ft as flattenRelationsForEval, fu as formatFormulaResult, es as formatRecord, et as formatRecords, dY as generateCssVariables, eX as getContext, dM as getContextValue, f3 as getDefaultExecutorRegistry, eH as getFeatureFlags, eI as getFeatureValue, c_ as getNodeOutputs, fy as getPathDepth, gY as getPolicy, fz as getRelationPath, eQ as getSchemaByNameFromContext, eR as getSchemaContext, eS as getSchemaFromContext, ii as getSyncPreview, fA as getTargetAttributeName, eY as getTenantId, eZ as getUserId, jb as getViewSeedPreview, jc as getViewSyncPreview, e_ as hasContext, eJ as hasFeatureFlagsContext, fv as hasRelationReferences, eT as hasSchemaContext, ec as hashOptions, d9 as inValues, cP as isActivityTab, c$ as isAdvancedFormNode, cH as isCalendarView, da as isConditionGroup, d0 as isConditionNode, db as isConditionRule, cO as isCustomTab, cF as isDetailView, cM as isDirectTableTab, d1 as isDocumentNode, cS as isDocumentsTab, d2 as isEndNode, eK as isFeatureEnabled, bw as isFlowDefinition, bx as isFlowPublished, cR as isFlowsTab, d3 as isFormNode, cK as isFormTab, cJ as isGalleryView, dF as isGrantExpired, dG as isGrantRevoked, dH as isGrantValid, dt as isInstanceTerminal, du as isInstanceWaiting, cN as isInverseTableTab, dz as isInvitationAccepted, dA as isInvitationExpired, dB as isInvitationValid, ip as isLabelExpression, cG as isListView, bp as isNoValueOperator, cQ as isNotesTab, d4 as isSimpleFormNode, d5 as isStartNode, by as isSystemFlow, dj as isSystemWorkflow, cL as isTableTab, cI as isTimelineView, dI as isTokenRevoked, dk as isWorkflowDefinition, dl as isWorkflowPublished, dZ as mergeWithDefaults, dc as neq, f_ as notesPolicy, dd as or, fD as parsePath, fE as pathHasManyCardinality, ha as recalculateParentRollups, d_ as registry, io as renderLabelExpression, fK as resolveMultiplePaths, fL as resolveSingleValue, e$ as runWithContext, eL as runWithFeatureFlags, eU as runWithMergedSchemaContext, eV as runWithSchemaContext, j7 as seedRegistryViews, dN as setContextValue, fe as success, il as syncAll, ig as syncNativeObjects, j8 as syncNativeViews, fM as traversePath, eM as tryGetFeatureValue, fw as validateFormulaExpression, fF as validatePath, ih as verifyNativeObjectsSync, ja as verifyNativeViewsSync, j9 as verifyRegistryViewsSeeded, d$ as viewRegistry, ff as wait, eN as withFeatureFlags, f0 as withTenantContext } from './runtime-C4U2ppAk.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';
1
+ import { S as SystemResource, a as SystemAction, O as ObjectAction, I as InferAttributeValue, F as Field, A as AttributeGroupField, G as Group, D as DetailViewLayout, b as SidePanelConfig, c as DetailViewDefinition, d as InstanceStatus, T as Tab, e as TableTab, C as CreateMode, f as FilterState, g as SortRule, L as ListViewDefinition, W as WorkflowTheme, h as WorkflowConfig, i as SlotMode, j as ConditionGroup, k as ConditionRule, l as WorkflowNode, m as WorkflowDefinition, n as FlowRow, o as ListViewConfig, p as ListViewTab, V as ViewType, q as ViewDefinition, r as DocumentTemplate } from './runtime-D52-pPFI.mjs';
2
+ export { ac as AIBatchQuestion, ad as AIBatchQuestionAnswer, ab as AIBatchQuestionOption, a6 as AIChatMessage, a5 as AIChatMessagePart, a0 as AIChatMessagePartType, ai as AIConversation, f_ as AIConversationsRepository, aj as AIMessage, ah as AIMessageAttachment, Y as AIMessageRole, an as AIProviderMetrics, a9 as AIQuestion, aa as AIQuestionAnswer, a8 as AIQuestionOption, a7 as AIQuestionType, Z as AIThinkingLevel, af as AITodoItem, ag as AITodoList, ae as AITodoStatus, $ as AIToolCall, ak as AIToolCallRecord, _ as AIToolCallStatus, am as AIUsageMetrics, f$ as AIUsageMetricsRepository, al as AIUserMemory, g0 as AIUserMemoryRepository, cq as ActivityTab, bJ as AddAttribute, go as AddAttributeInput, bi as AdvancedFilterState, c9 as AssignRoleInput, fP as AttributeChange, bI as AttributeMap, bE as AttributeSchema, g1 as AttributesRepository, aq as AuditAction, ar as AuditActorType, as as AuditChange, av as AuditListOptions, at as AuditLogEntry, g2 as AuditRepository, ap as AuditResourceType, hE as AuditService, aw as AuditServiceOptions, gk as BaseRepository, gj as BaseService, B as BoundingBox, ed as CacheAdapter, eb as CacheKeyType, ee as CacheOptions, cw as CalendarViewConfig, cA as CalendarViewDefinition, de as CanvasViewport, b4 as CheckboxFilterOperator, fg as ConditionExecutor, cT as ConditionNode, d6 as ConditionOperator, cD as ConfigOverrides, ao as CreateAIMessageInput, au as CreateAuditLogInput, gn as CreateCustomObjectInput, iA as CreateDBAttribute, iw as CreateDBObject, iM as CreateDBView, iQ as CreateDBViewOverlay, iT as CreateDBWorkflow, j0 as CreateDBWorkflowAccessGrant, iW as CreateDBWorkflowInstance, iZ as CreateDBWorkflowInvitation, aP as CreateDocument, aB as CreateDocumentGenerationTemplate, aT as CreateDocumentSlot, aR as CreateDocumentTemplate, b0 as CreateFile, dC as CreateGrantInput, hi as CreateGrantResult, dv as CreateInvitationInput, dw as CreateInvitationResult, iD as CreateObjectRecord, c8 as CreatePermissionInput, aV as CreateProcessingJob, hT as CreateRecordDocumentInput, hU as CreateRecordDocumentResult, c6 as CreateRoleInput, z as CreateSignatureInput, cg as CreateUserProfile, i1 as CreateViewInput, hv as CreateWorkflowInput, bb as CurrencyFilterValue, bN as CustomAttributeValue, cp as CustomTab, iz as DBAttribute, iv as DBObject, iL as DBView, iP as DBViewOverlay, iS as DBWorkflow, i$ as DBWorkflowAccessGrant, iV as DBWorkflowInstance, iY as DBWorkflowInvitation, il as DEFAULT_LABEL_FALLBACK, dX as DEFAULT_THEME, e4 as DatabaseAdapter, b5 as DateFilterOperator, cv as DetailViewConfig, aI as Document, aF as DocumentAutoProcessing, U as DocumentData, fh as DocumentExecutor, hH as DocumentGenerationNotConfiguredError, hI as DocumentGenerationService, aA as DocumentGenerationTemplate, g3 as DocumentGenerationTemplateListOptions, hG as DocumentGenerationTemplateNotFoundError, g4 as DocumentGenerationTemplatesRepository, g5 as DocumentJobsRepository, aX as DocumentListOptions, cU as DocumentNode, hJ as DocumentProcessingConfig, hc as DocumentProcessingHook, hb as DocumentProcessingHookOptions, hK as DocumentProcessingService, hO as DocumentRenderError, hM as DocumentRendererOptions, hQ as DocumentRendererService, hW as DocumentService, hV as DocumentServiceOptions, aK as DocumentSlot, aE as DocumentSlotDefinition, g6 as DocumentSlotsRepository, aJ as DocumentStatus, aY as DocumentTemplateListOptions, hR as DocumentTemplateService, g8 as DocumentTemplatesRepository, g7 as DocumentsRepository, ct as DocumentsTab, c3 as EffectivePermissions, fi as EndExecutor, cV as EndNode, eA as EvaluationResult, eB as EvaluationTrace, f4 as ExecutorCompleteResult, f5 as ExecutorContext, f6 as ExecutorErrorResult, fd as ExecutorRegistry, f7 as ExecutorResult, f8 as ExecutorSuccessResult, f9 as ExecutorWaitResult, bf as ExtendedFilterRule, bX as ExtractAttributes, bZ as ExtractObjectRecord, b_ as ExtractObjectRecordWithCustom, bR as ExtractRecord, bT as ExtractRecordInput, bU as ExtractRecordInputStrict, bS as ExtractRecordStrict, bV as ExtractRecordUpdate, bW as ExtractRecordUpdateStrict, aH as ExtractionField, aG as ExtractionMapping, eO as FeatureFlagsContext, eG as FeatureFlagsContextError, ej as FetchResult, a$ as File, i6 as FileContent, iK as FileListOptions, hY as FileService, hX as FileServiceOptions, a_ as FileVisibility, g9 as FilesRepository, bg as FilterCombinator, bh as FilterGroup, b9 as FilterOperator, be as FilterRule, bd as FilterValue, bu as FlowDefinition, br as FlowPage, bs as FlowRelation, bq as FlowRowField, bp as FlowSlot, bt as FlowStatus, cs as FlowsTab, dO as FormContextResponse, ck as FormDensity, fj as FormExecutor, dP as FormFieldContext, cW as FormFieldRef, dQ as FormFieldRow, cX as FormNode, dR as FormNodeInfo, cl as FormTab, ek as FormattedRecord, gP as FormulaResolverService, gO as FormulaResolverServiceOptions, fx as FormulaResult, ij as FullSyncOptions, ii as FullSyncResult, cy as GalleryViewConfig, cC as GalleryViewDefinition, dJ as GeneratedDocument, bC as GeocodingAdapter, bz as GeocodingAutocompleteParams, bB as GeocodingParams, hZ as GeocodingService, by as GeocodingSuggestion, gD as GetRelationOptionsParams, i4 as GetViewOptions, i3 as GetViewsOptions, iH as GlobalSearchGroupedOptions, iJ as GlobalSearchGroupedResult, iG as GlobalSearchOptions, iI as GlobalSearchResultItem, h_ as GlobalSearchService, he as GrantExpiredError, hd as GrantNotFoundError, hf as GrantRevokedError, hh as GrantServiceConfig, el as GroupedFetchResult, fQ as HookContext, fR as HookDefinition, fS as HookHandler, fV as HookRegistry, fT as HookType, gK as HybridRelationValue, P as IdentityVerificationAdapter, bK as InferRecord, bF as InferRecordFromSchema, bL as InferRecordInput, bM as InferRecordUpdate, bG as InferRecordWithRequirements, em as InsertOptions, fB as InvalidPathError, cn as InverseSource, hr as InvitationAlreadyAcceptedError, hq as InvitationExpiredError, hp as InvitationNotFoundError, hs as InvitationRevokedError, ho as InvitationServiceConfig, dx as InvitationStatus, ci as InviteUserInput, e6 as JwtVerificationResult, h2 as LabelResolver, iE as ListOptions, cu as ListViewLayout, e7 as MagicLinkPayload, fC as MaxDepthExceededError, fX as MockStores, gI as MultiRelationValue, b7 as MultiselectFilterOperator, bn as NO_VALUE_OPERATORS, bm as NoValueOperator, fa as NodeExecutor, df as NodePosition, ei as NoopCacheAdapter, bD as NoopGeocodingAdapter, fU as NoopHookRegistry, b3 as NumberFilterOperator, bl as OPERATORS_BY_TYPE, c4 as ObjectPermissions, ga as ObjectRecordsRepository, gr as ObjectSchemaService, gq as ObjectSchemaServiceOptions, gb as ObjectsRepository, s as OcrAdapter, t as OcrInput, u as OcrOptions, w as OcrPage, v as OcrResult, x as OcrTextBlock, j2 as OperationResult, fG as PathCardinality, fH as PathSegment, fI as PathSegmentType, ay as PdfTemplateField, dm as PendingAction, aD as PendingDocumentRequest, c1 as Permission, b$ as PermissionScope, i0 as PermissionService, h$ as PermissionServiceOptions, gc as PermissionsRepository, bc as PhoneFilterValue, ca as PolicyContext, fZ as PolicyRegistry, cc as PolicyViolationError, aM as ProcessingJob, aO as ProcessingJobStatus, aN as ProcessingJobType, ey as QueryBuilder, ez as QueryBuilderOptions, en as QueryBuilderState, eu as QueryMultipleResultsError, ev as QueryNoResultError, gv as QueryOptions, gx as QueryResult, bk as QueryState, dS as ReadOnlyReason, a4 as ReasoningPartData, hS as RecordDocumentsResult, bP as RecordMetadata, cb as RecordPolicy, gy as RecordQueryService, gu as RecordQueryServiceOptions, gM as RecordResolverService, gt as RecordService, gs as RecordServiceOptions, eo as RegistryMap, ep as RegistryObjectNames, e1 as RelationAttributeInput, e2 as RelationAttributeRow, e3 as RelationAttributesRepository, b8 as RelationFilterOperator, it as RelationLabelResolver, gB as RelationOption, gC as RelationOptionsResponse, gL as RelationPropertiesService, gH as RelationService, gE as RelationServiceOptions, cm as RelationSource, gA as RelationValidationError, gz as RelationValidationResult, ba as RelativeDateValue, hL as RenderDocumentInput, hN as RenderDocumentResult, gF as ResolveIdsBatchRequest, gG as ResolveIdsBatchResponse, gN as ResolvedRelations, hl as ResumeWorkflowInput, bA as ReverseGeocodingParams, cr as RichtextTab, c0 as Role, ha as RollupCascadeContext, gQ as RollupResult, gU as RollupScheduler, gT as RollupSchedulerOptions, gS as RollupService, gR as RollupServiceOptions, ew as SHORTCUT_TO_FILTER_OPERATOR, eW as SchemaContext, gl as SchemaContextAware, gm as SchemaContextAwareRepository, fJ as SchemaResolver, iF as SearchOptions, gw as SearchQueryOptions, b6 as SelectFilterOperator, eq as ShortcutOperator, y as SignatureAdapter, H as SignaturePosition, J as SignatureRequestResult, N as SignatureStatus, K as SignatureStatusResult, i9 as SignedUrlOptions, E as SignerRequest, M as SignerStatus, gJ as SingleRelationValue, aL as SlotStatus, bj as SortDirection, fk as StartExecutor, cY as StartNode, hk as StartWorkflowInput, ia as StorageAdapter, hP as StorageDownloadNotSupportedError, aZ as StorageProvider, i7 as StorageUploadInput, i8 as StorageUploadResult, id as SyncOptions, ic as SyncResult, bQ as SystemFields, c5 as SystemPermissions, cj as TabType, co as TableSource, az as TemplateSource, f1 as TenantContext, eF as TenantContextError, b2 as TextFilterOperator, a1 as TextPartData, dU as ThemeColors, dV as ThemeLogo, dW as ThemeTypography, a3 as ThinkingPartData, cx as TimelineViewConfig, cB as TimelineViewDefinition, hg as TokenRevokedError, a2 as ToolPartData, fN as TraversalOptions, fO as TraversalResult, bH as TypedAttribute, bY as TypedObjectRecord, iB as UpdateDBAttribute, ix as UpdateDBObject, iN as UpdateDBView, iR as UpdateDBViewOverlay, iU as UpdateDBWorkflow, j1 as UpdateDBWorkflowAccessGrant, iX as UpdateDBWorkflowInstance, i_ as UpdateDBWorkflowInvitation, aQ as UpdateDocument, aC as UpdateDocumentGenerationTemplate, aU as UpdateDocumentSlot, aS as UpdateDocumentTemplate, b1 as UpdateFile, gp as UpdateObjectInput, aW as UpdateProcessingJob, c7 as UpdateRoleInput, ch as UpdateUserProfile, i2 as UpdateViewInput, hw as UpdateWorkflowInput, ib as UploadFileInput, iC as UpsertDBAttribute, iy as UpsertDBObject, iO as UpsertDBView, cf as UserProfile, hD as UserProfileService, hC as UserProfileServiceOptions, gd as UserProfilesRepository, cd as UserRole, c2 as UserRoleAssignment, hB as UserService, ce as UserStatus, hA as UserValidationError, hz as UserValidationResult, ax as VariableMapping, X as VerificationCheck, R as VerificationResult, Q as VerifyInput, cz as ViewConfig, cE as ViewOverlay, e0 as ViewOverlaysRepository, i5 as ViewService, j4 as ViewSyncLogger, j5 as ViewSyncOptions, j3 as ViewSyncResult, ge as ViewsRepository, bO as WithCustomAttributes, dD as WorkflowAccessGrant, hj as WorkflowAccessGrantService, gf as WorkflowAccessGrantsRepository, dT as WorkflowAccessMode, e8 as WorkflowAccessPayload, dn as WorkflowError, dK as WorkflowExecutionContext, dp as WorkflowInstance, hn as WorkflowInstanceService, hm as WorkflowInstanceServiceOptions, gg as WorkflowInstancesRepository, dy as WorkflowInvitation, ht as WorkflowInvitationService, gh as WorkflowInvitationsRepository, e9 as WorkflowJwtConfig, ea as WorkflowJwtPayload, e5 as WorkflowJwtService, dg as WorkflowLayout, cZ as WorkflowNodeType, hu as WorkflowRelationService, hy as WorkflowService, hx as WorkflowServiceOptions, dh as WorkflowSlot, di as WorkflowStatus, dq as WorkflowTransition, gi as WorkflowsRepository, eP as addSchemaToContext, d7 as and, gV as applyDefaultValues, hF as buildAuditChanges, gY as buildPolicyContext, ef as cacheKeys, eg as cacheTtl, dE as canAccessNode, dr as canResumeInstance, gW as checkPermission, gZ as checkRecordAccess, g$ as checkRecordDeleteOrThrow, g_ as checkRecordModifyOrThrow, h0 as checkSharedObjectWriteAccess, fb as complete, h1 as computeLabel, iu as computeLabelWithRelations, h5 as createContextForCreate, h7 as createContextForDelete, h8 as createContextForRestore, h6 as createContextForUpdate, f2 as createDefaultExecutorRegistry, er as createDefaultState, dL as createEmptyContext, fW as createMockAdapter, ex as createQueryBuilder, ds as createStartTransition, fY as defaultPolicyRegistry, eh as defaultTtl, h4 as enrichRecordsWithFormulas, iq as enrichValuesForDisplay, ir as enrichValuesWithSelectLabels, h3 as enrichWithFormulas, d8 as eq, fc as error, eD as evaluate, eC as evaluateCondition, fl as evaluateFormula, fm as evaluateFormulaAttribute, fn as evaluateFormulaAttributeWithRelations, fo as evaluateFormulaWithRelations, fp as evaluateFormulaWithResult, eE as evaluateWithTrace, ip as extractAttributeNames, fq as extractFormulaVariables, is as extractRelationIds, fr as extractRelationNames, fs as extractRelationReferences, ft as flattenRelationsForEval, fu as formatFormulaResult, es as formatRecord, et as formatRecords, dY as generateCssVariables, eX as getContext, dM as getContextValue, f3 as getDefaultExecutorRegistry, eH as getFeatureFlags, eI as getFeatureValue, c_ as getNodeOutputs, fy as getPathDepth, gX as getPolicy, fz as getRelationPath, eQ as getSchemaByNameFromContext, eR as getSchemaContext, eS as getSchemaFromContext, ih as getSyncPreview, fA as getTargetAttributeName, eY as getTenantId, eZ as getUserId, ja as getViewSeedPreview, jb as getViewSyncPreview, e_ as hasContext, eJ as hasFeatureFlagsContext, fv as hasRelationReferences, eT as hasSchemaContext, ec as hashOptions, d9 as inValues, cP as isActivityTab, c$ as isAdvancedFormNode, cH as isCalendarView, da as isConditionGroup, d0 as isConditionNode, db as isConditionRule, cO as isCustomTab, cF as isDetailView, d1 as isDocumentNode, cS as isDocumentsTab, d2 as isEndNode, eK as isFeatureEnabled, bv as isFlowDefinition, bw as isFlowPublished, cR as isFlowsTab, d3 as isFormNode, cK as isFormTab, cJ as isGalleryView, dF as isGrantExpired, dG as isGrantRevoked, dH as isGrantValid, dt as isInstanceTerminal, du as isInstanceWaiting, cN as isInverseSourceTab, dz as isInvitationAccepted, dA as isInvitationExpired, dB as isInvitationValid, io as isLabelExpression, cG as isListView, bo as isNoValueOperator, cM as isRelationSourceTab, cQ as isRichtextTab, d4 as isSimpleFormNode, d5 as isStartNode, bx as isSystemFlow, dj as isSystemWorkflow, cL as isTableTab, cI as isTimelineView, dI as isTokenRevoked, dk as isWorkflowDefinition, dl as isWorkflowPublished, dZ as mergeWithDefaults, dc as neq, dd as or, fD as parsePath, fE as pathHasManyCardinality, h9 as recalculateParentRollups, d_ as registry, im as renderLabelExpression, fK as resolveMultiplePaths, fL as resolveSingleValue, e$ as runWithContext, eL as runWithFeatureFlags, eU as runWithMergedSchemaContext, eV as runWithSchemaContext, j6 as seedRegistryViews, dN as setContextValue, fe as success, ik as syncAll, ie as syncNativeObjects, j7 as syncNativeViews, fM as traversePath, eM as tryGetFeatureValue, fw as validateFormulaExpression, fF as validatePath, ig as verifyNativeObjectsSync, j9 as verifyNativeViewsSync, j8 as verifyRegistryViewsSeeded, d$ as viewRegistry, ff as wait, eN as withFeatureFlags, f0 as withTenantContext } from './runtime-D52-pPFI.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 RatingAttribute, h as RelationAttribute, B as BilateralConfig, i as SingleRelationAttribute, j as MultiRelationAttribute, k as RelationTarget, l as FormulaAttribute, m as FormulaReturnType, n as RollupAttribute, o as RollupFunction, p as AttributeType, q as ObjectDefinition, r as FlagValueType, s as FeatureFlagDefinition, t as FlagLevel, u as FeatureFlagsRepository, v as StaticFlagDefault, w as ResolvedFlag } from './validators-BROsLGn4.mjs';
4
+ export { y as AttributeGroup, z as BaseAttribute, a6 as CompletionStatus, J as Currency, af as DEFAULT_VALIDATION_MESSAGES, G as DateFormat, H as DateValue, a9 as FORBIDDEN_PROPERTY_TYPES, _ as FeatureFlagsConfig, Z as FlagOverride, aa as ForbiddenPropertyType, K as Location, Q as LocationGranularity, E as NumberUnit, a5 as ObjectAttribute, a7 as ObjectRecord, I as Phone, ab as PropertyAttribute, ac as PropertySchema, a8 as PropertyType, V as RELATION_TARGET_ANY, $ as RESERVED_ATTRIBUTE_NAMES, a1 as ReservedAttributeName, a0 as SYSTEM_FIELD_NAMES, a4 as SharingMode, x as StatusGroup, a2 as SystemFieldName, a3 as Timestamps, ae as ValidationMessages, a$ as ValidationResult, az as attributeConfigSchemas, ak as checkboxConfigSchema, b8 as computeRecordStatus, aY as createAttributeValidator, aG as createCheckboxValidator, aJ as createCurrencyValidator, aH as createDateValidator, b3 as createDraftValidator, aO as createFileValidator, aZ as createFormAttributeValidator, aU as createFormulaValidator, aN as createLocationValidator, aR as createMultiRelationValidator, aM as createMultiselectValidator, aF as createNumberValidator, a_ as createObjectValidator, aI as createPhoneValidator, aT as createRatingValidator, aS as createRelationValidator, aX as createRichtextValidator, aV as createRollupValidator, aL as createSelectValidator, aQ as createSingleRelationValidator, aK as createStatusValidator, aW as createTextAreaValidator, aE as createTextValidator, aP as createUserValidator, an as currencyConfigSchema, al as dateConfigSchema, ay as documentConfigSchema, as as fileConfigSchema, ad as formatZodErrors, aw as formulaConfigSchema, aA as getAttributeConfigSchema, b6 as getMissingRequiredAttributes, Y as inferInverseCardinality, X as isBilateralRelation, b7 as isRecordComplete, W as isUniversalRelation, ap as locationConfigSchema, ar as multiselectConfigSchema, aj as numberConfigSchema, aC as parseAttributeConfig, am as phoneConfigSchema, av as ratingConfigSchema, au as relationConfigSchema, ai as richtextConfigSchema, ax as rollupConfigSchema, aD as safeParseAttributeConfig, aq as selectConfigSchema, ao as statusConfigSchema, ag as textConfigSchema, ah as textareaConfigSchema, at as userConfigSchema, b0 as validateAttribute, aB as validateAttributeConfig, b4 as validateDraft, b5 as validateDraftOrThrow, b1 as validateObject, b2 as validateObjectOrThrow } from './validators-BROsLGn4.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 { CurrencyCode, IconName, CountryIso3, MimeType, ColorId } from '@stndrds/constants';
7
+ import { IconName, CountryIso3, CurrencyCode, MimeType, ColorId } from '@stndrds/constants';
8
8
  import 'jose';
9
9
 
10
10
  /**
@@ -115,6 +115,27 @@ declare function isBehaviorProperty(property: string): property is BehaviorPrope
115
115
  */
116
116
  declare function isPresentationProperty(property: string): property is PresentationProperty;
117
117
 
118
+ /**
119
+ * Validation result for bilateral relations
120
+ */
121
+ interface BilateralValidationResult {
122
+ valid: boolean;
123
+ errors: BilateralValidationError[];
124
+ }
125
+ /**
126
+ * Error codes for bilateral relation validation
127
+ */
128
+ interface BilateralValidationError {
129
+ code: "INVERSE_ATTR_NOT_FOUND" | "INVERSE_TARGET_MISMATCH" | "CIRCULAR_BILATERAL" | "CARDINALITY_CONFLICT" | "POLYMORPHIC_NOT_SUPPORTED";
130
+ message: string;
131
+ context: {
132
+ sourceObject: string;
133
+ sourceAttribute: string;
134
+ targetObject: string;
135
+ targetAttribute: string;
136
+ };
137
+ }
138
+
118
139
  /**
119
140
  * Common configuration for all builders (Objects & Attributes)
120
141
  */
@@ -1168,6 +1189,41 @@ declare const EMPTY_VALUE_PLACEHOLDER = "\u2014";
1168
1189
  */
1169
1190
  declare function formatAttributeValue(value: unknown, attribute: Attribute): string;
1170
1191
 
1192
+ /**
1193
+ * Substitute `{{ props.X }}` tokens in a relation label using client-side props.
1194
+ *
1195
+ * The backend preserves `{{ props.X }}` and `{{ props.X | pipe }}` tokens in labels
1196
+ * (sentinel approach). This function resolves them on the client using the props
1197
+ * the client already has, leveraging the existing template engine for pipe support
1198
+ * (prefix, suffix, wrap, UPPER, LOWER, etc.).
1199
+ *
1200
+ * Each prop value is formatted using its attribute definition via `formatAttributeValue`
1201
+ * (e.g., select → label, currency → "1,500 EUR", rating → "4/5") BEFORE pipe processing.
1202
+ *
1203
+ * When props are missing or empty, the tokens and surrounding punctuation are cleaned up
1204
+ * so the label reads naturally (e.g., "Apple ()" → "Apple").
1205
+ *
1206
+ * @param label - The label string potentially containing `{{ props.X }}` tokens
1207
+ * @param props - Property values keyed by property name
1208
+ * @param propertyDefs - Attribute definitions for the properties (used for formatting)
1209
+ * @returns The label with tokens substituted and cleaned up
1210
+ *
1211
+ * @example
1212
+ * ```typescript
1213
+ * applyRelationProps(
1214
+ * "Apple{{ props.role | prefix:' - ' }}{{ props.pct | prefix:' (' | suffix:'%)' }}",
1215
+ * { role: "ceo", pct: 25 },
1216
+ * [{ name: "role", type: "select", options: [{ value: "ceo", label: "CEO" }] },
1217
+ * { name: "pct", type: "number" }]
1218
+ * );
1219
+ * // → "Apple - CEO (25%)"
1220
+ *
1221
+ * applyRelationProps("Apple{{ props.role | prefix:' - ' }}", undefined, []);
1222
+ * // → "Apple"
1223
+ * ```
1224
+ */
1225
+ declare function applyRelationProps(label: string, props: Record<string, unknown> | undefined, propertyDefs: Attribute[] | undefined): string;
1226
+
1171
1227
  /**
1172
1228
  * System resources that can be managed through permissions.
1173
1229
  */
@@ -1426,146 +1482,6 @@ declare class ConcurrentModificationError extends SchemaError {
1426
1482
  constructor(recordId: string);
1427
1483
  }
1428
1484
 
1429
- /**
1430
- * Builder for creating PropertySchema definitions
1431
- *
1432
- * @example
1433
- * ```typescript
1434
- * const schema = new PropertySchemaBuilder()
1435
- * .add("role", select => select
1436
- * .label("Role")
1437
- * .options([...])
1438
- * .required()
1439
- * )
1440
- * .add("shares", number => number
1441
- * .label("Shares")
1442
- * .min(0)
1443
- * )
1444
- * .build();
1445
- * ```
1446
- */
1447
- declare class PropertySchemaBuilder {
1448
- private definitions;
1449
- /**
1450
- * Add a property to the schema
1451
- * The type of property is automatically detected based on the builder methods used
1452
- */
1453
- add<T extends PropertyDefinition>(name: string, configure: (builder: PropertyTypeBuilder) => BasePropertyBuilder<T>): this;
1454
- /**
1455
- * Build the final PropertySchema
1456
- */
1457
- build(): PropertySchema;
1458
- }
1459
- /**
1460
- * Dispatcher that creates the appropriate typed builder based on the first method called
1461
- */
1462
- declare class PropertyTypeBuilder {
1463
- private name;
1464
- constructor(name: string);
1465
- text(): TextPropertyBuilder;
1466
- textarea(): TextareaPropertyBuilder;
1467
- number(): NumberPropertyBuilder;
1468
- checkbox(): CheckboxPropertyBuilder;
1469
- date(): DatePropertyBuilder;
1470
- phone(): PhonePropertyBuilder;
1471
- currency(): CurrencyPropertyBuilder;
1472
- status(): StatusPropertyBuilder;
1473
- select(): SelectPropertyBuilder;
1474
- multiselect(): MultiselectPropertyBuilder;
1475
- rating(): RatingPropertyBuilder;
1476
- location(): LocationPropertyBuilder;
1477
- }
1478
- /**
1479
- * Base builder for all property types
1480
- */
1481
- declare class BasePropertyBuilder<TDefinition extends PropertyDefinition> {
1482
- protected definition: Partial<TDefinition>;
1483
- constructor(name: string);
1484
- /**
1485
- * Set the label
1486
- */
1487
- label(label: string): this;
1488
- /**
1489
- * Mark as required
1490
- */
1491
- required(): this;
1492
- /**
1493
- * Set description
1494
- */
1495
- description(description: string): this;
1496
- /**
1497
- * Build the final definition
1498
- */
1499
- build(): TDefinition;
1500
- }
1501
- declare class TextPropertyBuilder extends BasePropertyBuilder<TextPropertyDefinition> {
1502
- constructor(name: string);
1503
- minLength(value: number): this;
1504
- maxLength(value: number): this;
1505
- pattern(pattern: string): this;
1506
- placeholder(value: string): this;
1507
- }
1508
- declare class TextareaPropertyBuilder extends BasePropertyBuilder<TextareaPropertyDefinition> {
1509
- constructor(name: string);
1510
- minLength(value: number): this;
1511
- maxLength(value: number): this;
1512
- placeholder(value: string): this;
1513
- }
1514
- declare class NumberPropertyBuilder extends BasePropertyBuilder<NumberPropertyDefinition> {
1515
- constructor(name: string);
1516
- min(value: number): this;
1517
- max(value: number): this;
1518
- decimal(places: number): this;
1519
- integer(): this;
1520
- placeholder(value: string): this;
1521
- }
1522
- declare class CheckboxPropertyBuilder extends BasePropertyBuilder<CheckboxPropertyDefinition> {
1523
- constructor(name: string);
1524
- }
1525
- declare class DatePropertyBuilder extends BasePropertyBuilder<DatePropertyDefinition> {
1526
- constructor(name: string);
1527
- includeTime(): this;
1528
- min(date: string): this;
1529
- max(date: string): this;
1530
- }
1531
- declare class PhonePropertyBuilder extends BasePropertyBuilder<PhonePropertyDefinition> {
1532
- constructor(name: string);
1533
- }
1534
- declare class CurrencyPropertyBuilder extends BasePropertyBuilder<CurrencyPropertyDefinition> {
1535
- constructor(name: string);
1536
- currency(code: CurrencyCode): this;
1537
- min(value: number): this;
1538
- max(value: number): this;
1539
- }
1540
- declare class StatusPropertyBuilder extends BasePropertyBuilder<StatusPropertyDefinition> {
1541
- constructor(name: string);
1542
- options(options: Array<Option & {
1543
- group: StatusGroup;
1544
- }>): this;
1545
- }
1546
- declare class SelectPropertyBuilder extends BasePropertyBuilder<SelectPropertyDefinition> {
1547
- constructor(name: string);
1548
- options(options: Option[]): this;
1549
- }
1550
- declare class MultiselectPropertyBuilder extends BasePropertyBuilder<MultiselectPropertyDefinition> {
1551
- constructor(name: string);
1552
- options(options: Option[]): this;
1553
- maxSelections(value: number): this;
1554
- }
1555
- declare class RatingPropertyBuilder extends BasePropertyBuilder<RatingPropertyDefinition> {
1556
- constructor(name: string);
1557
- max(value: number): this;
1558
- icon(icon: IconName): this;
1559
- }
1560
- declare class LocationPropertyBuilder extends BasePropertyBuilder<LocationPropertyDefinition> {
1561
- constructor(name: string);
1562
- }
1563
- /**
1564
- * Validates that a property type is allowed in .qualifyWith()
1565
- * Throws an error if the type is forbidden
1566
- */
1567
- declare function validatePropertyType(type: string): void;
1568
-
1569
1485
  /**
1570
1486
  * Builder config with literal name type preservation
1571
1487
  */
@@ -1894,15 +1810,15 @@ interface RelationBuilderInitOptions {
1894
1810
  isRequired?: boolean;
1895
1811
  }
1896
1812
  /**
1897
- * Builder for single relation attributes (cardinality: "one")
1813
+ * Union of attribute builders allowed as qualified relation properties.
1814
+ * Matches PropertyType — excludes complex types (formula, rollup, relation, etc.)
1898
1815
  */
1899
- declare class SingleRelationAttributeBuilder<TName extends string, TRequired extends boolean = false> extends BaseAttributeBuilder<SingleRelationAttribute> {
1900
- readonly _types: {
1901
- name: TName;
1902
- attribute: SingleRelationAttribute;
1903
- required: TRequired;
1904
- };
1905
- constructor(name: TName, label: string);
1816
+ type PropertyAttributeBuilder = TextAttributeBuilder<string, boolean> | TextAreaAttributeBuilder<string, boolean> | NumberAttributeBuilder<string, boolean> | CheckboxAttributeBuilder<string, boolean> | DateAttributeBuilder<string, boolean> | PhoneAttributeBuilder<string, boolean> | CurrencyAttributeBuilder<string, boolean> | StatusAttributeBuilder<string, readonly Option[], boolean> | SelectAttributeBuilder<string, readonly Option[], boolean> | MultiselectAttributeBuilder<string, readonly Option[], boolean> | RatingAttributeBuilder<string, boolean> | LocationAttributeBuilder<string, boolean>;
1817
+ /**
1818
+ * Base builder for relation attributes (single and multi).
1819
+ * Carries shared methods: to(), toAny(), qualifyWith(), bilateral()
1820
+ */
1821
+ declare abstract class BaseRelationAttributeBuilder<TAttr extends RelationAttribute> extends BaseAttributeBuilder<TAttr> {
1906
1822
  /**
1907
1823
  * Add a target object that can be linked
1908
1824
  * @param objectName - Name of the object (e.g., "companies")
@@ -1912,65 +1828,56 @@ declare class SingleRelationAttributeBuilder<TName extends string, TRequired ext
1912
1828
  /**
1913
1829
  * Allow linking to any object in the tenant (universal polymorphic)
1914
1830
  * Creates a relation with `targets: [{ object: "*" }]`
1915
- *
1916
- * @example
1917
- * ```typescript
1918
- * relation({ name: "linkedTo", label: "Linked To" })
1919
- * .toAny()
1920
- * .hidden()
1921
- * ```
1922
1831
  */
1923
1832
  toAny(): this;
1924
1833
  /**
1925
- * Convert to a multi-relation (cardinality: "many")
1926
- */
1927
- many(): MultiRelationAttributeBuilder<TName, TRequired>;
1928
- /**
1929
- * Add properties to qualify the relation
1930
- * Must be called AFTER .to() to ensure targets are defined
1834
+ * Add properties to qualify the relation using existing attribute builders.
1835
+ * Must be called AFTER .to() to ensure targets are defined.
1931
1836
  *
1932
1837
  * @example
1933
1838
  * ```typescript
1934
- * relation({ name: "mainCompany", label: "Main Company" })
1935
- * .to("companies")
1936
- * .qualifyWith(props => props
1937
- * .add("role", select => select.options([...]).required())
1938
- * .add("shares", number => number.min(0))
1839
+ * relation({ name: "companies", label: "Companies" })
1840
+ * .to("companies").many()
1841
+ * .qualifyWith(
1842
+ * select({ name: "role", label: "Role" }).options([...]).required(),
1843
+ * number({ name: "shares", label: "Shares" }).min(0),
1939
1844
  * )
1940
1845
  * ```
1941
1846
  */
1942
- qualifyWith(configure: (builder: PropertySchemaBuilder) => PropertySchemaBuilder): this;
1847
+ qualifyWith(...builders: PropertyAttributeBuilder[]): this;
1848
+ /**
1849
+ * Enable bilateral synchronization for this relation.
1850
+ * Must be called AFTER .to() to ensure targets are defined.
1851
+ */
1852
+ bilateral(config: BilateralConfig): this;
1853
+ }
1854
+ /**
1855
+ * Builder for single relation attributes (cardinality: "one")
1856
+ */
1857
+ declare class SingleRelationAttributeBuilder<TName extends string, TRequired extends boolean = false> extends BaseRelationAttributeBuilder<SingleRelationAttribute> {
1858
+ readonly _types: {
1859
+ name: TName;
1860
+ attribute: SingleRelationAttribute;
1861
+ required: TRequired;
1862
+ };
1863
+ constructor(name: TName, label: string);
1864
+ /**
1865
+ * Convert to a multi-relation (cardinality: "many")
1866
+ */
1867
+ many(): MultiRelationAttributeBuilder<TName, TRequired>;
1943
1868
  required(): SingleRelationAttributeBuilder<TName, true>;
1944
1869
  optional(): SingleRelationAttributeBuilder<TName, false>;
1945
1870
  }
1946
1871
  /**
1947
1872
  * Builder for multi relation attributes (cardinality: "many")
1948
1873
  */
1949
- declare class MultiRelationAttributeBuilder<TName extends string, TRequired extends boolean = false> extends BaseAttributeBuilder<MultiRelationAttribute> {
1874
+ declare class MultiRelationAttributeBuilder<TName extends string, TRequired extends boolean = false> extends BaseRelationAttributeBuilder<MultiRelationAttribute> {
1950
1875
  readonly _types: {
1951
1876
  name: TName;
1952
1877
  attribute: MultiRelationAttribute;
1953
1878
  required: TRequired;
1954
1879
  };
1955
1880
  constructor(name: TName, label: string, initOptions?: RelationBuilderInitOptions);
1956
- /**
1957
- * Add a target object that can be linked
1958
- * @param objectName - Name of the object (e.g., "companies")
1959
- * @param options - Display template and filter options
1960
- */
1961
- to(objectName: string, options?: RelationTargetOptions): this;
1962
- /**
1963
- * Allow linking to any object in the tenant (universal polymorphic)
1964
- * Creates a relation with `targets: [{ object: "*" }]`
1965
- *
1966
- * @example
1967
- * ```typescript
1968
- * relation({ name: "linkedItems", label: "Linked Items" })
1969
- * .toAny()
1970
- * .many()
1971
- * ```
1972
- */
1973
- toAny(): this;
1974
1881
  /**
1975
1882
  * Set minimum number of relations required
1976
1883
  */
@@ -1979,22 +1886,6 @@ declare class MultiRelationAttributeBuilder<TName extends string, TRequired exte
1979
1886
  * Set maximum number of relations allowed
1980
1887
  */
1981
1888
  maxItems(count: number): this;
1982
- /**
1983
- * Add properties to qualify the relation
1984
- * Must be called AFTER .to() or .many() to ensure targets are defined
1985
- *
1986
- * @example
1987
- * ```typescript
1988
- * relation({ name: "companies", label: "Companies" })
1989
- * .to("companies")
1990
- * .many()
1991
- * .qualifyWith(props => props
1992
- * .add("role", select => select.options([...]).required())
1993
- * .add("shares", number => number.min(0))
1994
- * )
1995
- * ```
1996
- */
1997
- qualifyWith(configure: (builder: PropertySchemaBuilder) => PropertySchemaBuilder): this;
1998
1889
  required(): MultiRelationAttributeBuilder<TName, true>;
1999
1890
  optional(): MultiRelationAttributeBuilder<TName, false>;
2000
1891
  }
@@ -2008,12 +1899,14 @@ declare class MultiRelationAttributeBuilder<TName extends string, TRequired exte
2008
1899
  * .required()
2009
1900
  * ```
2010
1901
  *
2011
- * @example Multi relation
1902
+ * @example Multi relation with qualified properties
2012
1903
  * ```typescript
2013
- * relation({ name: "contacts", label: "Contacts" })
2014
- * .to("contacts", { displayTemplate: "{firstName} {lastName}" })
2015
- * .many()
2016
- * .maxItems(5)
1904
+ * relation({ name: "companies", label: "Companies" })
1905
+ * .to("companies").many()
1906
+ * .qualifyWith(
1907
+ * select({ name: "role", label: "Role" }).options([...]).required(),
1908
+ * number({ name: "shares", label: "Shares" }).min(0),
1909
+ * )
2017
1910
  * ```
2018
1911
  *
2019
1912
  * @example Polymorphic relation
@@ -2531,12 +2424,35 @@ interface BaseTabConfig {
2531
2424
  order?: number;
2532
2425
  }
2533
2426
  /**
2534
- * Base builder for configuring table tabs (shared between Direct and Inverse)
2427
+ * Unified builder for configuring table tabs (direct relation or inverse lookup)
2428
+ *
2429
+ * @example
2430
+ * ```typescript
2431
+ * // Direct: relation attribute on current object
2432
+ * .tab("members", "Members")
2433
+ * .table("members")
2434
+ * .columns("name", "email", "members__role")
2435
+ * .crud()
2436
+ *
2437
+ * // Inverse: another object has relation to us
2438
+ * .tab("contacts", "Contacts")
2439
+ * .tableFrom("contacts", "company")
2440
+ * .columns("firstName", "lastName", "email")
2441
+ * .crud()
2442
+ *
2443
+ * // 2-level traversal
2444
+ * .tab("members-companies", "Entreprises des membres")
2445
+ * .table("members")
2446
+ * .through("companies")
2447
+ * .columns("legalName", "legalForm", "companies__role")
2448
+ * .showSourceTarget()
2449
+ * ```
2535
2450
  */
2536
- declare abstract class BaseTableTabConfig<T extends TableTab> {
2537
- protected view: DetailViewBuilder;
2538
- protected tabData: Partial<T>;
2539
- constructor(view: DetailViewBuilder, tabData: Partial<T>);
2451
+ declare class TableTabConfig {
2452
+ private view;
2453
+ private tabData;
2454
+ /** @internal */
2455
+ constructor(view: DetailViewBuilder, tabData: Partial<TableTab>);
2540
2456
  /**
2541
2457
  * Set columns to display
2542
2458
  * @example .columns("firstName", "lastName", "email")
@@ -2578,6 +2494,18 @@ declare abstract class BaseTableTabConfig<T extends TableTab> {
2578
2494
  * @example .sort("lastName") or .sort("createdAt", "desc")
2579
2495
  */
2580
2496
  sort(attribute: string, direction?: "asc" | "desc"): this;
2497
+ /**
2498
+ * Traverse a 2nd-level relation to display nested data.
2499
+ * When active, `tab.columns` stores the 2nd-level object's attribute names.
2500
+ *
2501
+ * @param attribute - Relation attribute on the first-level target object
2502
+ * @example .table("members").through("companies").columns(["name", "sector"])
2503
+ */
2504
+ through(attribute: string): this;
2505
+ /**
2506
+ * Show _source and _target columns in flattened (through) view
2507
+ */
2508
+ showSourceTarget(value?: boolean): this;
2581
2509
  /**
2582
2510
  * Continue building with a new tab
2583
2511
  */
@@ -2590,37 +2518,7 @@ declare abstract class BaseTableTabConfig<T extends TableTab> {
2590
2518
  * Build the final view definition
2591
2519
  */
2592
2520
  build(): DetailViewDefinition;
2593
- protected finalize(): void;
2594
- }
2595
- /**
2596
- * Builder for configuring direct table tabs (relation attribute on current object)
2597
- *
2598
- * @example
2599
- * ```typescript
2600
- * .tab("members", "Members")
2601
- * .table("members") // Direct: uses the "members" relation attribute on current object
2602
- * .columns("name", "email")
2603
- * .crud()
2604
- * ```
2605
- */
2606
- declare class DirectTableTabConfig extends BaseTableTabConfig<DirectTableTab> {
2607
- /** @internal */
2608
- constructor(view: DetailViewBuilder, base: BaseTabConfig, relationAttribute: string);
2609
- }
2610
- /**
2611
- * Builder for configuring inverse table tabs (another object has relation to us)
2612
- *
2613
- * @example
2614
- * ```typescript
2615
- * .tab("contacts", "Contacts")
2616
- * .tableFrom("contacts", "company") // Inverse: Contact.company points to us
2617
- * .columns("firstName", "lastName", "email")
2618
- * .crud()
2619
- * ```
2620
- */
2621
- declare class InverseTableTabConfig extends BaseTableTabConfig<InverseTableTab> {
2622
- /** @internal */
2623
- constructor(view: DetailViewBuilder, base: BaseTabConfig, sourceObject: string, relationAttribute: string);
2521
+ private finalize;
2624
2522
  }
2625
2523
  /**
2626
2524
  * Builder for configuring custom tabs
@@ -2648,21 +2546,17 @@ declare class CustomTabConfig {
2648
2546
  build(): DetailViewDefinition;
2649
2547
  }
2650
2548
  /**
2651
- * Builder for configuring notes tabs
2549
+ * Builder for configuring richtext tabs
2652
2550
  */
2653
- declare class NotesTabConfig {
2551
+ declare class RichtextTabConfig {
2654
2552
  private view;
2655
2553
  private tabData;
2656
2554
  /** @internal */
2657
- constructor(view: DetailViewBuilder, base: BaseTabConfig);
2555
+ constructor(view: DetailViewBuilder, base: BaseTabConfig, attribute: string);
2658
2556
  /**
2659
- * Show only private notes of the current user
2557
+ * Set a text attribute to display as an editable title above the editor
2660
2558
  */
2661
- privateOnly(): this;
2662
- /**
2663
- * Allow creating new notes from this tab
2664
- */
2665
- create(): this;
2559
+ titleAttribute(name: string): this;
2666
2560
  /**
2667
2561
  * Continue building with a new tab
2668
2562
  */
@@ -2838,34 +2732,34 @@ declare class TabBuilder {
2838
2732
  */
2839
2733
  form(...groups: (GroupBuilder | Group)[]): DetailViewBuilder;
2840
2734
  /**
2841
- * Create a direct table tab for a relation attribute on the current object
2735
+ * Create a table tab for a relation attribute on the current object
2842
2736
  *
2843
2737
  * Use this when the current object has a relation attribute pointing to another object.
2844
2738
  *
2845
2739
  * @param relationAttribute - Name of the relation attribute on the current object
2846
- * @example .table("members").columns("name", "email").crud() // Show users from Project.members
2740
+ * @example .table("members").columns("name", "email").crud()
2847
2741
  */
2848
- table(relationAttribute: string): DirectTableTabConfig;
2742
+ table(relationAttribute: string): TableTabConfig;
2849
2743
  /**
2850
- * Create an inverse table tab showing records from another object that have a relation to us
2744
+ * Create a table tab showing records from another object that have a relation to us
2851
2745
  *
2852
2746
  * Use this when another object has a relation attribute pointing to the current object.
2853
2747
  *
2854
2748
  * @param sourceObject - Name of the object that has the relation to us
2855
2749
  * @param relationAttribute - Name of the relation attribute on the source object
2856
- * @example .tableFrom("contacts", "company").columns("firstName", "lastName") // Show contacts where Contact.company = this
2750
+ * @example .tableFrom("contacts", "company").columns("firstName", "lastName")
2857
2751
  */
2858
- tableFrom(sourceObject: string, relationAttribute: string): InverseTableTabConfig;
2752
+ tableFrom(sourceObject: string, relationAttribute: string): TableTabConfig;
2859
2753
  /**
2860
2754
  * Create a custom tab with a component
2861
2755
  * @example .custom("AnalyticsWidget").props({ period: "12m" })
2862
2756
  */
2863
2757
  custom(component: string): CustomTabConfig;
2864
2758
  /**
2865
- * Create a notes tab
2866
- * @example .notes().create().privateOnly()
2759
+ * Create a richtext tab for a richtext attribute
2760
+ * @example .richtext("content").titleAttribute("title")
2867
2761
  */
2868
- notes(): NotesTabConfig;
2762
+ richtext(attribute: string): RichtextTabConfig;
2869
2763
  /**
2870
2764
  * Create an activity tab
2871
2765
  * @example .activity().limit(50)
@@ -2951,6 +2845,13 @@ declare class DetailViewBuilder {
2951
2845
  * Set metadata
2952
2846
  */
2953
2847
  metadata(value: Record<string, unknown>): this;
2848
+ /**
2849
+ * Configure a side panel with flat attribute fields displayed alongside tab content.
2850
+ * Not available for modal layout.
2851
+ *
2852
+ * @example .sidePanel({ attributes: ["visibility", "linkedTo"] })
2853
+ */
2854
+ sidePanel(config: SidePanelConfig): this;
2954
2855
  /**
2955
2856
  * Start building a new tab
2956
2857
  */
@@ -4005,57 +3906,6 @@ declare class FlagService {
4005
3906
  */
4006
3907
  declare function createFlagService(options: FlagServiceOptions): FlagService;
4007
3908
 
4008
- /**
4009
- * Native Notes Object
4010
- *
4011
- * A Notion-like notes system that can be attached to any record or used globally.
4012
- * Notes support rich text content via @stndrds/blocks (Tiptap-based editor).
4013
- *
4014
- * Features:
4015
- * - Polymorphic linking to any object/record via `linkedTo` relation
4016
- * - Private (createdBy-only) or shared (tenant-wide) visibility
4017
- * - Rich text content with semantic markdown (:::callout, etc.)
4018
- * - Extensible via custom attributes
4019
- *
4020
- * The author of a note is determined by the system field `createdBy`,
4021
- * which is automatically set when a record is created.
4022
- *
4023
- * Access control is enforced by NotesPolicy:
4024
- * - Private notes: only visible/editable by createdBy
4025
- * - Shared notes: visible/editable by all tenant members
4026
- * - Delete: only createdBy can delete any note
4027
- *
4028
- * @example Linked to a record
4029
- * ```typescript
4030
- * const note = {
4031
- * title: "Meeting notes",
4032
- * content: "# Meeting Notes\n\n:::callout{variant=\"info\"}\nImportant point\n:::",
4033
- * visibility: "shared",
4034
- * linkedTo: "rec-456" // Can be any record from any object
4035
- * };
4036
- * // createdBy is set automatically by RecordService
4037
- * ```
4038
- *
4039
- * @example Global note (not linked)
4040
- * ```typescript
4041
- * const note = {
4042
- * title: "My private thoughts",
4043
- * content: "# Private Note\n\nSome thoughts...",
4044
- * visibility: "private",
4045
- * linkedTo: null
4046
- * };
4047
- * ```
4048
- */
4049
- /**
4050
- * Notes object definition
4051
- */
4052
- declare const NOTES: ObjectBuilder<{
4053
- title: string;
4054
- visibility: "private" | "shared";
4055
- content: string;
4056
- linkedTo?: string | undefined;
4057
- }>;
4058
-
4059
3909
  /**
4060
3910
  * Get the active tab from a list view config.
4061
3911
  *
@@ -4087,11 +3937,6 @@ interface GenerateFallbackViewOptions {
4087
3937
  * @default true
4088
3938
  */
4089
3939
  includeActivityTab?: boolean;
4090
- /**
4091
- * Include notes tab in detail views.
4092
- * @default true
4093
- */
4094
- includeNotesTab?: boolean;
4095
3940
  /**
4096
3941
  * Include documents tab in detail views (if object has document attributes).
4097
3942
  * @default true
@@ -4242,4 +4087,4 @@ declare function getSystemTemplate(name: string): DocumentTemplate | undefined;
4242
4087
  */
4243
4088
  declare function isSystemTemplate(name: string): boolean;
4244
4089
 
4245
- 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, CreateMode, 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, ListViewConfig, ListViewDefinition, ListViewTab, 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, getActiveTab, getErrorMessage, 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 };
4090
+ export { ALL_SYSTEM_RESOURCES, ActivityTabConfig, type AgentContentPart, type AgentMessage, type AnyAttributeBuilder, Attribute, AttributeGroupField, AttributeInUseError, AttributeNotFoundError, AttributeType, type AttributeUsage, AuthMethodSchema, BEHAVIOR_PROPERTIES, type BehaviorProperty, BilateralConfig, type BilateralValidationError, type BilateralValidationResult, type BuilderConfig, type ChatFileAttachment, CheckboxAttribute, ConcurrentModificationError, ConditionGroup, ConditionGroupSchema, ConditionNodeSchema, ConditionOperatorSchema, ConditionRule, ConditionRuleSchema, CreateMode, CreateShareInputSchema, CurrencyAttribute, CustomTabConfig, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DRIVING_LICENSE, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DetailViewBuilder, DetailViewDefinition, DetailViewLayout, 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, ListViewBuilder, ListViewConfig, ListViewDefinition, ListViewTab, ListViewTabConfigBuilder, LocationAttribute, MultiRelationAttribute, MultiselectAttribute, NodePositionSchema, NotFoundError, NotSystemObjectError, NumberAttribute, ObjectAction, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, PASSPORT, PRESENTATION_PROPERTIES, PROOF_OF_ADDRESS, PhoneAttribute, type PresentationProperty, type PropertyAttributeBuilder, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RecordNotFoundError, type RecordReference, RecordReferencedError, RelationAttribute, RelationTarget, type ResetViewOptions, ResolvedFlag, type ResumeWorkflowApiInput, RichtextAttribute, RichtextFeature, RichtextTabConfig, RoleNotFoundError, RollupAttribute, RollupFunction, SIGNABLE_CONTRACT, SYSTEM_ATTRIBUTES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SYSTEM_TEMPLATES, SYSTEM_TEMPLATE_IDS, SchemaError, SchemaErrorCode, SelectAttribute, ShareStatusSchema, SidePanelConfig, SingleRelationAttribute, SlotMode, SlotModeSchema, SortRule, StartNodeSchema, type StartWorkflowApiInput, StaticFlagDefault, StatusAttribute, SyncError, SystemAction, type SystemAttribute, type SystemAttributeName, SystemResource, Tab, TabBuilder, TableTab, TableTabConfig, 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, applyRelationProps, booleanFlag, checkbox, createFlagRegistry, createFlagService, currency, date, detailView, document, file, flagRegistry, formatAttributeValue, formula, generateDefaultDetailView, generateDefaultListView, generateFallbackView, getActiveTab, getErrorMessage, 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 };