@stndrds/schema 1.0.0-alpha.77 → 1.0.0-alpha.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,23 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+ var _chunk7WT53FJ4js = require('./chunk-7WT53FJ4.js');
12
+ require('./chunk-3RG5ZIWI.js');
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+ exports.ALL_SYSTEM_RESOURCES = _chunk7WT53FJ4js.ALL_SYSTEM_RESOURCES; exports.DEFAULT_ROLES = _chunk7WT53FJ4js.DEFAULT_ROLES; exports.DEFAULT_ROLE_DESCRIPTIONS = _chunk7WT53FJ4js.DEFAULT_ROLE_DESCRIPTIONS; exports.DEFAULT_ROLE_FOR_NEW_USERS = _chunk7WT53FJ4js.DEFAULT_ROLE_FOR_NEW_USERS; exports.DEFAULT_ROLE_LABELS = _chunk7WT53FJ4js.DEFAULT_ROLE_LABELS; exports.DEFAULT_ROLE_PERMISSIONS = _chunk7WT53FJ4js.DEFAULT_ROLE_PERMISSIONS; exports.SYSTEM_RESOURCES = _chunk7WT53FJ4js.SYSTEM_RESOURCES; exports.SYSTEM_RESOURCE_LABELS = _chunk7WT53FJ4js.SYSTEM_RESOURCE_LABELS; exports.isDefaultRole = _chunk7WT53FJ4js.isDefaultRole;
@@ -2,22 +2,22 @@ import {
2
2
  ALL_SYSTEM_RESOURCES,
3
3
  DEFAULT_ROLES,
4
4
  DEFAULT_ROLE_DESCRIPTIONS,
5
+ DEFAULT_ROLE_FOR_NEW_USERS,
5
6
  DEFAULT_ROLE_LABELS,
6
7
  DEFAULT_ROLE_PERMISSIONS,
7
8
  SYSTEM_RESOURCES,
8
9
  SYSTEM_RESOURCE_LABELS,
9
- isAdminRole,
10
10
  isDefaultRole
11
- } from "./chunk-6P3NPTYV.mjs";
11
+ } from "./chunk-AGBBH7PL.mjs";
12
12
  import "./chunk-Y6FXYEAI.mjs";
13
13
  export {
14
14
  ALL_SYSTEM_RESOURCES,
15
15
  DEFAULT_ROLES,
16
16
  DEFAULT_ROLE_DESCRIPTIONS,
17
+ DEFAULT_ROLE_FOR_NEW_USERS,
17
18
  DEFAULT_ROLE_LABELS,
18
19
  DEFAULT_ROLE_PERMISSIONS,
19
20
  SYSTEM_RESOURCES,
20
21
  SYSTEM_RESOURCE_LABELS,
21
- isAdminRole,
22
22
  isDefaultRole
23
23
  };
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
- import { S as SystemResource, A as Action, I as InferAttributeValue, F as Field, a as AttributeGroupField, b as FieldGroup, R as RelationGroup, D as DetailViewLayout, c as SidePanelConfig, G as Group, d as DetailViewDefinition, e as InstanceStatus, T as Tab, f as TableTab, C as CreateMode, g as FilterState, h as SortRule, 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-kH9dOaQt.mjs';
2
- export { ad as AIBatchQuestion, ae as AIBatchQuestionAnswer, ac as AIBatchQuestionOption, a7 as AIChatMessage, a6 as AIChatMessagePart, a1 as AIChatMessagePartType, at as AICompactionSummary, aj as AIConversation, gd as AIConversationsRepository, ar as AIMemoryEntry, aq as AIMemoryType, 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 as AITenantPersona, _ as AIThinkingLevel, ag as AITodoItem, ah as AITodoList, af as AITodoStatus, a0 as AIToolCall, al as AIToolCallRecord, $ as AIToolCallStatus, an as AIUsageMetrics, ge as AIUsageMetricsRepository, am as AIUserMemory, gf as AIUserMemoryRepository, c8 as ALL_ACTIONS, c7 as AccessLevel, cB as ActivityTab, bO as AddAttribute, gD as AddAttributeInput, bn as AdvancedFilterState, ck as AssignRoleInput, g2 as AttributeChange, bN as AttributeMap, bJ as AttributeSchema, gg as AttributesRepository, av as AuditAction, aw as AuditActorType, ax as AuditChange, aA as AuditListOptions, ay as AuditLogEntry, gh as AuditRepository, au as AuditResourceType, hT as AuditService, aB as AuditServiceOptions, gz as BaseRepository, gy as BaseService, B as BoundingBox, es as CacheAdapter, eq as CacheKeyType, et as CacheOptions, cH as CalendarViewConfig, cL as CalendarViewDefinition, ds as CanvasViewport, b9 as CheckboxFilterOperator, fv as ConditionExecutor, d4 as ConditionNode, dj as ConditionOperator, cO as ConfigOverrides, ap as CreateAIMessageInput, az as CreateAuditLogInput, gC as CreateCustomObjectInput, iP as CreateDBAttribute, iL as CreateDBObject, i$ as CreateDBView, j3 as CreateDBViewOverlay, j6 as CreateDBWorkflow, jf as CreateDBWorkflowAccessGrant, j9 as CreateDBWorkflowInstance, jc as CreateDBWorkflowInvitation, aU as CreateDocument, aG as CreateDocumentGenerationTemplate, aY as CreateDocumentSlot, aW as CreateDocumentTemplate, b5 as CreateFile, dP as CreateGrantInput, hx as CreateGrantResult, dI as CreateInvitationInput, dJ as CreateInvitationResult, iS as CreateObjectRecord, cj as CreatePermissionInput, a_ as CreateProcessingJob, i6 as CreateRecordDocumentInput, i7 as CreateRecordDocumentResult, ch as CreateRoleInput, z as CreateSignatureInput, cr as CreateUserProfile, ih as CreateViewInput, hK as CreateWorkflowInput, bg as CurrencyFilterValue, bS as CustomAttributeValue, cA as CustomTab, iO as DBAttribute, iK as DBObject, i_ as DBView, j2 as DBViewOverlay, j5 as DBWorkflow, je as DBWorkflowAccessGrant, j8 as DBWorkflowInstance, jb as DBWorkflowInvitation, iB as DEFAULT_LABEL_FALLBACK, e8 as DEFAULT_THEME, ej as DatabaseAdapter, ba as DateFilterOperator, cG as DetailViewConfig, aN as Document, aK as DocumentAutoProcessing, X as DocumentData, fw as DocumentExecutor, hW as DocumentGenerationNotConfiguredError, hX as DocumentGenerationService, aF as DocumentGenerationTemplate, gi as DocumentGenerationTemplateListOptions, hV as DocumentGenerationTemplateNotFoundError, gj as DocumentGenerationTemplatesRepository, gk as DocumentJobsRepository, b0 as DocumentListOptions, d5 as DocumentNode, hY as DocumentProcessingConfig, hr as DocumentProcessingHook, hq as DocumentProcessingHookOptions, hZ as DocumentProcessingService, i1 as DocumentRenderError, h$ as DocumentRendererOptions, i3 as DocumentRendererService, i9 as DocumentService, i8 as DocumentServiceOptions, aP as DocumentSlot, aJ as DocumentSlotDefinition, gl as DocumentSlotsRepository, aO as DocumentStatus, b1 as DocumentTemplateListOptions, i4 as DocumentTemplateService, gn as DocumentTemplatesRepository, gm as DocumentsRepository, cE as DocumentsTab, ce as EffectivePermissions, fx as EndExecutor, d6 as EndNode, eP as EvaluationResult, eQ as EvaluationTrace, fj as ExecutorCompleteResult, fk as ExecutorContext, fl as ExecutorErrorResult, fs as ExecutorRegistry, fm as ExecutorResult, fn as ExecutorSuccessResult, fo as ExecutorWaitResult, bk as ExtendedFilterRule, c0 as ExtractAttributes, c2 as ExtractObjectRecord, c3 as ExtractObjectRecordWithCustom, bW as ExtractRecord, bY as ExtractRecordInput, bZ as ExtractRecordInputStrict, bX as ExtractRecordStrict, b_ as ExtractRecordUpdate, b$ as ExtractRecordUpdateStrict, aM as ExtractionField, aL as ExtractionMapping, f1 as FeatureFlagsContext, eV as FeatureFlagsContextError, ey as FetchResult, b4 as File, im as FileContent, iZ as FileListOptions, ib as FileService, ia as FileServiceOptions, b3 as FileVisibility, go as FilesRepository, bl as FilterCombinator, bm as FilterGroup, be as FilterOperator, bj as FilterRule, bi as FilterValue, bz as FlowDefinition, bw as FlowPage, bx as FlowRelation, bv as FlowRowField, bu as FlowSlot, by as FlowStatus, cD as FlowsTab, d$ as FormContextResponse, cv as FormDensity, fy as FormExecutor, e0 as FormFieldContext, d7 as FormFieldRef, e1 as FormFieldRow, d8 as FormNode, e2 as FormNodeInfo, cw as FormTab, ez as FormattedRecord, h2 as FormulaResolverService, h1 as FormulaResolverServiceOptions, fM as FormulaResult, iz as FullSyncOptions, iy as FullSyncResult, cJ as GalleryViewConfig, cN as GalleryViewDefinition, dW as GeneratedDocument, bH as GeocodingAdapter, bE as GeocodingAutocompleteParams, bG as GeocodingParams, ic as GeocodingService, bD as GeocodingSuggestion, gS as GetRelationOptionsParams, ik as GetViewOptions, ij as GetViewsOptions, iW as GlobalSearchGroupedOptions, iY as GlobalSearchGroupedResult, iV as GlobalSearchOptions, iX as GlobalSearchResultItem, id as GlobalSearchService, ht as GrantExpiredError, hs as GrantNotFoundError, hu as GrantRevokedError, hw as GrantServiceConfig, eA as GroupedFetchResult, g3 as HookContext, g4 as HookDefinition, g5 as HookHandler, g8 as HookRegistry, g6 as HookType, gZ as HybridRelationValue, P as IdentityVerificationAdapter, bP as InferRecord, bK as InferRecordFromSchema, bQ as InferRecordInput, bR as InferRecordUpdate, bL as InferRecordWithRequirements, eB as InsertOptions, fQ as InvalidPathError, cy as InverseSource, hG as InvitationAlreadyAcceptedError, hF as InvitationExpiredError, hE as InvitationNotFoundError, hH as InvitationRevokedError, hD as InvitationServiceConfig, dK as InvitationStatus, ct as InviteUserInput, el as JwtVerificationResult, hh as LabelResolver, iT as ListOptions, cF as ListViewLayout, em as MagicLinkPayload, fR as MaxDepthExceededError, ga as MockStores, gX as MultiRelationValue, bc as MultiselectFilterOperator, bs as NO_VALUE_OPERATORS, br as NoValueOperator, fp as NodeExecutor, dt as NodePosition, ex as NoopCacheAdapter, bI as NoopGeocodingAdapter, g7 as NoopHookRegistry, b8 as NumberFilterOperator, bq as OPERATORS_BY_TYPE, c5 as ObjectAction, cf as ObjectPermissions, gp as ObjectRecordsRepository, gG as ObjectSchemaService, gF as ObjectSchemaServiceOptions, gq as ObjectsRepository, O as OcrAdapter, t as OcrInput, u as OcrOptions, w as OcrPage, v as OcrResult, x as OcrTextBlock, jh as OperationResult, fV as PathCardinality, fW as PathSegment, fX as PathSegmentType, aD as PdfTemplateField, dA as PendingAction, aI as PendingDocumentRequest, cc as Permission, c4 as PermissionScope, ig as PermissionService, ie as PermissionServiceOptions, gr as PermissionsRepository, bh as PhoneFilterValue, cl as PolicyContext, gc as PolicyRegistry, cn as PolicyViolationError, aR as ProcessingJob, aT as ProcessingJobStatus, aS as ProcessingJobType, eN as QueryBuilder, eO as QueryBuilderOptions, eC as QueryBuilderState, eJ as QueryMultipleResultsError, eK as QueryNoResultError, gK as QueryOptions, gM as QueryResult, bp as QueryState, e3 as ReadOnlyReason, a5 as ReasoningPartData, i5 as RecordDocumentsResult, bU as RecordMetadata, cm as RecordPolicy, gN as RecordQueryService, gJ as RecordQueryServiceOptions, g$ as RecordResolverService, gI as RecordService, gH as RecordServiceOptions, eD as RegistryMap, eE as RegistryObjectNames, ee as RelationAttributeInput, ef as RelationAttributeRow, eg as RelationAttributesRepository, bd as RelationFilterOperator, iI as RelationLabelResolver, gQ as RelationOption, gR as RelationOptionsResponse, g_ as RelationPropertiesService, gW as RelationService, gT as RelationServiceOptions, cx as RelationSource, gP as RelationValidationError, gO as RelationValidationResult, bf as RelativeDateValue, h_ as RenderDocumentInput, i0 as RenderDocumentResult, gU as ResolveIdsBatchRequest, gV as ResolveIdsBatchResponse, h0 as ResolvedRelations, hA as ResumeWorkflowInput, bF as ReverseGeocodingParams, cC as RichtextTab, cb as Role, hp as RollupCascadeContext, h3 as RollupResult, h7 as RollupScheduler, h6 as RollupSchedulerOptions, h5 as RollupService, h4 as RollupServiceOptions, eL as SHORTCUT_TO_FILTER_OPERATOR, eh as SORTABLE_ATTRIBUTE_TYPES, f9 as SchemaContext, gA as SchemaContextAware, gB as SchemaContextAwareRepository, fY as SchemaResolver, ei as SearchAdapter, iU as SearchOptions, gL as SearchQueryOptions, bb as SelectFilterOperator, eF as ShortcutOperator, y as SignatureAdapter, H as SignaturePosition, J as SignatureRequestResult, N as SignatureStatus, K as SignatureStatusResult, iq as SignedUrlOptions, E as SignerRequest, M as SignerStatus, gY as SingleRelationValue, aQ as SlotStatus, bo as SortDirection, fz as StartExecutor, d9 as StartNode, hz as StartWorkflowInput, ir as StorageAdapter, i2 as StorageDownloadNotSupportedError, b2 as StorageProvider, io as StorageUploadInput, ip as StorageUploadResult, iu as SyncOptions, it as SyncResult, c6 as SystemAction, bV as SystemFields, cg as SystemPermissions, cu as TabType, cz as TableSource, aE as TemplateSource, fg as TenantContext, eU as TenantContextError, b7 as TextFilterOperator, a2 as TextPartData, e5 as ThemeColors, e6 as ThemeLogo, e7 as ThemeTypography, a4 as ThinkingPartData, cI as TimelineViewConfig, cM as TimelineViewDefinition, hv as TokenRevokedError, a3 as ToolPartData, g0 as TraversalOptions, g1 as TraversalResult, bM as TypedAttribute, c1 as TypedObjectRecord, cp as USER_STATUSES, iQ as UpdateDBAttribute, iM as UpdateDBObject, j0 as UpdateDBView, j4 as UpdateDBViewOverlay, j7 as UpdateDBWorkflow, jg as UpdateDBWorkflowAccessGrant, ja as UpdateDBWorkflowInstance, jd as UpdateDBWorkflowInvitation, aV as UpdateDocument, aH as UpdateDocumentGenerationTemplate, aZ as UpdateDocumentSlot, aX as UpdateDocumentTemplate, b6 as UpdateFile, gE as UpdateObjectInput, a$ as UpdateProcessingJob, ci as UpdateRoleInput, cs as UpdateUserProfile, ii as UpdateViewInput, hL as UpdateWorkflowInput, is as UploadFileInput, iR as UpsertDBAttribute, iN as UpsertDBObject, j1 as UpsertDBView, cq as UserProfile, hS as UserProfileService, hR as UserProfileServiceOptions, gs as UserProfilesRepository, cd as UserRoleAssignment, hQ as UserService, co as UserStatus, hP as UserValidationError, hO as UserValidationResult, aC as VariableMapping, Y as VerificationCheck, U as VerificationResult, Q as VerifyInput, cK as ViewConfig, cP as ViewOverlay, ed as ViewOverlaysRepository, il as ViewService, jj as ViewSyncLogger, jk as ViewSyncOptions, ji as ViewSyncResult, gt as ViewsRepository, bT as WithCustomAttributes, dQ as WorkflowAccessGrant, hy as WorkflowAccessGrantService, gu as WorkflowAccessGrantsRepository, e4 as WorkflowAccessMode, en as WorkflowAccessPayload, dB as WorkflowError, dX as WorkflowExecutionContext, dC as WorkflowInstance, hC as WorkflowInstanceService, hB as WorkflowInstanceServiceOptions, gv as WorkflowInstancesRepository, dL as WorkflowInvitation, hI as WorkflowInvitationService, gw as WorkflowInvitationsRepository, eo as WorkflowJwtConfig, ep as WorkflowJwtPayload, ek as WorkflowJwtService, du as WorkflowLayout, da as WorkflowNodeType, hJ as WorkflowRelationService, hN as WorkflowService, hM as WorkflowServiceOptions, dv as WorkflowSlot, dw as WorkflowStatus, dD as WorkflowTransition, gx as WorkflowsRepository, ca as accessLevelToActions, c9 as actionsToAccessLevel, f2 as addSchemaToContext, dk as and, h8 as applyDefaultValues, hU as buildAuditChanges, hb as buildPolicyContext, eu as cacheKeys, ev as cacheTtl, dR as canAccessNode, dE as canResumeInstance, h9 as checkPermission, hc as checkRecordAccess, he as checkRecordDeleteOrThrow, hd as checkRecordModifyOrThrow, hf as checkSharedObjectWriteAccess, fq as complete, hg as computeLabel, iJ as computeLabelWithRelations, hk as createContextForCreate, hm as createContextForDelete, hn as createContextForRestore, hl as createContextForUpdate, fh as createDefaultExecutorRegistry, eG as createDefaultState, dY as createEmptyContext, g9 as createMockAdapter, eM as createQueryBuilder, dF as createStartTransition, gb as defaultPolicyRegistry, ew as defaultTtl, hj as enrichRecordsWithFormulas, iF as enrichValuesForDisplay, iG as enrichValuesWithSelectLabels, hi as enrichWithFormulas, dl as eq, fr as error, eS as evaluate, eR as evaluateCondition, fA as evaluateFormula, fB as evaluateFormulaAttribute, fC as evaluateFormulaAttributeWithRelations, fD as evaluateFormulaWithRelations, fE as evaluateFormulaWithResult, eT as evaluateWithTrace, iE as extractAttributeNames, fF as extractFormulaVariables, iH as extractRelationIds, fG as extractRelationNames, fH as extractRelationReferences, fI as flattenRelationsForEval, fJ as formatFormulaResult, eH as formatRecord, eI as formatRecords, e9 as generateCssVariables, fa as getContext, dZ as getContextValue, fi as getDefaultExecutorRegistry, eW as getFeatureFlags, eX as getFeatureValue, db as getNodeOutputs, fN as getPathDepth, ha as getPolicy, fO as getRelationPath, f3 as getSchemaByNameFromContext, f4 as getSchemaContext, f5 as getSchemaFromContext, ix as getSyncPreview, fP as getTargetAttributeName, fb as getTenantId, fc as getUserId, jp as getViewSeedPreview, jq as getViewSyncPreview, fd as hasContext, eY as hasFeatureFlagsContext, fK as hasRelationReferences, f6 as hasSchemaContext, er as hashOptions, dm as inValues, d0 as isActivityTab, dc as isAdvancedFormNode, cS as isCalendarView, dn as isConditionGroup, dd as isConditionNode, dp as isConditionRule, c$ as isCustomTab, cQ as isDetailView, de as isDocumentNode, d3 as isDocumentsTab, df as isEndNode, eZ as isFeatureEnabled, cV as isFieldGroup, bA as isFlowDefinition, bB as isFlowPublished, d2 as isFlowsTab, dg as isFormNode, cX as isFormTab, cU as isGalleryView, dS as isGrantExpired, dT as isGrantRevoked, dU as isGrantValid, dG as isInstanceTerminal, dH as isInstanceWaiting, c_ as isInverseSourceTab, dM as isInvitationAccepted, dN as isInvitationExpired, dO as isInvitationValid, iD as isLabelExpression, cR as isListView, bt as isNoValueOperator, cW as isRelationGroup, cZ as isRelationSourceTab, d1 as isRichtextTab, dh as isSimpleFormNode, di as isStartNode, bC as isSystemFlow, dx as isSystemWorkflow, cY as isTableTab, cT as isTimelineView, dV as isTokenRevoked, dy as isWorkflowDefinition, dz as isWorkflowPublished, ea as mergeWithDefaults, dq as neq, dr as or, fS as parsePath, fT as pathHasManyCardinality, ho as recalculateParentRollups, eb as registry, iC as renderLabelExpression, fZ as resolveMultiplePaths, f_ as resolveSingleValue, fe as runWithContext, e_ as runWithFeatureFlags, f7 as runWithMergedSchemaContext, f8 as runWithSchemaContext, jl as seedRegistryViews, d_ as setContextValue, ft as success, iA as syncAll, iv as syncNativeObjects, jm as syncNativeViews, f$ as traversePath, e$ as tryGetFeatureValue, fL as validateFormulaExpression, fU as validatePath, iw as verifyNativeObjectsSync, jo as verifyNativeViewsSync, jn as verifyRegistryViewsSeeded, ec as viewRegistry, fu as wait, f0 as withFeatureFlags, ff as withTenantContext } from './runtime-kH9dOaQt.mjs';
3
- import { D as DateAttribute, U as UserAttribute, a as DocumentAttribute, A as Attribute, P as Phone, F as FeatureGate, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, d as PhoneAttribute, e as CurrencyAttribute, O as Option, S as StatusAttribute, f as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, g as FileAttribute, h as RatingAttribute, i as RelationAttribute, B as BilateralConfig, j as SingleRelationAttribute, k as MultiRelationAttribute, l as RelationTarget, m as FormulaAttribute, n as FormulaReturnType, o as RollupAttribute, p as RollupFunction, q as AttributeType, r as ObjectDefinition, s as FlagValueType, t as FeatureFlagDefinition, u as FlagLevel, v as FeatureFlagsRepository, w as StaticFlagDefault, x as ResolvedFlag } from './validators-DUB0tEzp.mjs';
4
- export { z as AttributeGroup, E as BaseAttribute, a8 as CompletionStatus, J as Currency, ah as DEFAULT_VALIDATION_MESSAGES, H as DateFormat, I as DateValue, ab as FORBIDDEN_PROPERTY_TYPES, a0 as FeatureFlagsConfig, $ as FlagOverride, ac as ForbiddenPropertyType, K as Location, Q as LocationGranularity, Z as NON_SORTABLE_TYPES, G as NumberUnit, a7 as ObjectAttribute, a9 as ObjectRecord, ad as PropertyAttribute, ae as PropertySchema, aa as PropertyType, V as RELATION_TARGET_ANY, a1 as RESERVED_ATTRIBUTE_NAMES, a3 as ReservedAttributeName, a2 as SYSTEM_FIELD_NAMES, a6 as SharingMode, y as StatusGroup, a4 as SystemFieldName, a5 as Timestamps, ag as ValidationMessages, b1 as ValidationResult, aB as attributeConfigSchemas, am as checkboxConfigSchema, ba as computeRecordStatus, a_ as createAttributeValidator, aI as createCheckboxValidator, aL as createCurrencyValidator, aJ as createDateValidator, b5 as createDraftValidator, aQ as createFileValidator, a$ as createFormAttributeValidator, aW as createFormulaValidator, aP as createLocationValidator, aT as createMultiRelationValidator, aO as createMultiselectValidator, aH as createNumberValidator, b0 as createObjectValidator, aK as createPhoneValidator, aV as createRatingValidator, aU as createRelationValidator, aZ as createRichtextValidator, aX as createRollupValidator, aN as createSelectValidator, aS as createSingleRelationValidator, aM as createStatusValidator, aY as createTextAreaValidator, aG as createTextValidator, aR as createUserValidator, ap as currencyConfigSchema, an as dateConfigSchema, aA as documentConfigSchema, au as fileConfigSchema, af as formatZodErrors, ay as formulaConfigSchema, aC as getAttributeConfigSchema, b8 as getMissingRequiredAttributes, Y as inferInverseCardinality, _ as isAttributeSortable, X as isBilateralRelation, b9 as isRecordComplete, W as isUniversalRelation, ar as locationConfigSchema, at as multiselectConfigSchema, al as numberConfigSchema, aE as parseAttributeConfig, ao as phoneConfigSchema, ax as ratingConfigSchema, aw as relationConfigSchema, ak as richtextConfigSchema, az as rollupConfigSchema, aF as safeParseAttributeConfig, as as selectConfigSchema, aq as statusConfigSchema, ai as textConfigSchema, aj as textareaConfigSchema, av as userConfigSchema, b2 as validateAttribute, aD as validateAttributeConfig, b6 as validateDraft, b7 as validateDraftOrThrow, b3 as validateObject, b4 as validateObjectOrThrow } from './validators-DUB0tEzp.mjs';
1
+ import { S as SystemResource, A as Action, I as InferAttributeValue, F as Field, a as AttributeGroupField, b as FieldGroup, R as RelationGroup, D as DetailViewLayout, c as SidePanelConfig, G as Group, d as DetailViewDefinition, e as InstanceStatus, T as Tab, f as TableTab, C as CreateMode, g as FilterState, h as SortRule, 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 FlowFieldsRow, p as ListViewConfig, q as ListViewTab, V as ViewType, r as ViewDefinition, s as DocumentTemplate } from './runtime-BU3qnMH0.mjs';
2
+ export { $ as AIAvailableModel, ae as AIBatchQuestion, af as AIBatchQuestionAnswer, ad as AIBatchQuestionOption, a8 as AIChatMessage, a7 as AIChatMessagePart, a2 as AIChatMessagePartType, au as AICompactionSummary, ak as AIConversation, gm as AIConversationsRepository, as as AIMemoryEntry, ar as AIMemoryType, al as AIMessage, aj as AIMessageAttachment, Z as AIMessageRole, ap as AIProviderMetrics, ab as AIQuestion, ac as AIQuestionAnswer, aa as AIQuestionOption, a9 as AIQuestionType, at as AITenantPersona, _ as AIThinkingLevel, ah as AITodoItem, ai as AITodoList, ag as AITodoStatus, a1 as AIToolCall, am as AIToolCallRecord, a0 as AIToolCallStatus, ao as AIUsageMetrics, gn as AIUsageMetricsRepository, an as AIUserMemory, go as AIUserMemoryRepository, cf as ALL_ACTIONS, ce as AccessLevel, cI as ActivityTab, bX as AddAttribute, gM as AddAttributeInput, bo as AdvancedFilterState, cr as AssignRoleInput, gb as AttributeChange, bW as AttributeMap, bS as AttributeSchema, gp as AttributesRepository, aw as AuditAction, ax as AuditActorType, ay as AuditChange, aB as AuditListOptions, az as AuditLogEntry, gq as AuditRepository, av as AuditResourceType, i0 as AuditService, aC as AuditServiceOptions, gI as BaseRepository, gH as BaseService, B as BoundingBox, eB as CacheAdapter, ez as CacheKeyType, eC as CacheOptions, cO as CalendarViewConfig, cS as CalendarViewDefinition, dz as CanvasViewport, ba as CheckboxFilterOperator, fE as ConditionExecutor, db as ConditionNode, dr as ConditionOperator, cV as ConfigOverrides, aq as CreateAIMessageInput, aA as CreateAuditLogInput, gL as CreateCustomObjectInput, iY as CreateDBAttribute, iU as CreateDBObject, j8 as CreateDBView, jc as CreateDBViewOverlay, jf as CreateDBWorkflow, jo as CreateDBWorkflowAccessGrant, ji as CreateDBWorkflowInstance, jl as CreateDBWorkflowInvitation, aV as CreateDocument, aH as CreateDocumentGenerationTemplate, aZ as CreateDocumentSlot, aX as CreateDocumentTemplate, b6 as CreateFile, dW as CreateGrantInput, hG as CreateGrantResult, dP as CreateInvitationInput, dQ as CreateInvitationResult, i$ as CreateObjectRecord, cq as CreatePermissionInput, a$ as CreateProcessingJob, ig as CreateRecordDocumentInput, ih as CreateRecordDocumentResult, co as CreateRoleInput, z as CreateSignatureInput, cy as CreateUserProfile, ir as CreateViewInput, hT as CreateWorkflowInput, bh as CurrencyFilterValue, b$ as CustomAttributeValue, cH as CustomTab, iX as DBAttribute, iT as DBObject, j7 as DBView, jb as DBViewOverlay, je as DBWorkflow, jn as DBWorkflowAccessGrant, jh as DBWorkflowInstance, jk as DBWorkflowInvitation, iK as DEFAULT_LABEL_FALLBACK, eh as DEFAULT_THEME, es as DatabaseAdapter, bb as DateFilterOperator, cN as DetailViewConfig, aO as Document, aL as DocumentAutoProcessing, X as DocumentData, fF as DocumentExecutor, i3 as DocumentGenerationNotConfiguredError, i4 as DocumentGenerationService, aG as DocumentGenerationTemplate, gr as DocumentGenerationTemplateListOptions, i2 as DocumentGenerationTemplateNotFoundError, gs as DocumentGenerationTemplatesRepository, gt as DocumentJobsRepository, b1 as DocumentListOptions, dc as DocumentNode, i5 as DocumentProcessingConfig, hA as DocumentProcessingHook, hz as DocumentProcessingHookOptions, i6 as DocumentProcessingService, ia as DocumentRenderError, i8 as DocumentRendererOptions, ic as DocumentRendererService, ij as DocumentService, ii as DocumentServiceOptions, aQ as DocumentSlot, aK as DocumentSlotDefinition, gu as DocumentSlotsRepository, aP as DocumentStatus, b2 as DocumentTemplateListOptions, id as DocumentTemplateService, gw as DocumentTemplatesRepository, gv as DocumentsRepository, cL as DocumentsTab, cl as EffectivePermissions, fG as EndExecutor, dd as EndNode, eY as EvaluationResult, eZ as EvaluationTrace, fs as ExecutorCompleteResult, ft as ExecutorContext, fu as ExecutorErrorResult, fB as ExecutorRegistry, fv as ExecutorResult, fw as ExecutorSuccessResult, fx as ExecutorWaitResult, bl as ExtendedFilterRule, c9 as ExtractAttributes, cb as ExtractObjectRecord, cc as ExtractObjectRecordWithCustom, c3 as ExtractRecord, c5 as ExtractRecordInput, c6 as ExtractRecordInputStrict, c4 as ExtractRecordStrict, c7 as ExtractRecordUpdate, c8 as ExtractRecordUpdateStrict, aN as ExtractionField, aM as ExtractionMapping, fa as FeatureFlagsContext, f2 as FeatureFlagsContextError, eH as FetchResult, b5 as File, iw as FileContent, j6 as FileListOptions, il as FileService, ik as FileServiceOptions, b4 as FileVisibility, gx as FilesRepository, bm as FilterCombinator, bn as FilterGroup, bf as FilterOperator, bk as FilterRule, bj as FilterValue, bI as FlowDefinition, bz as FlowHeadingRow, bF as FlowPage, bG as FlowRelation, bC as FlowRow, bx as FlowRowField, by as FlowRowType, bA as FlowSeparatorRow, bw as FlowSlot, bH as FlowStatus, bB as FlowTextRow, cK as FlowsTab, e6 as FormContextResponse, cC as FormDensity, fH as FormExecutor, e7 as FormFieldContext, de as FormFieldRef, e8 as FormFieldRow, e9 as FormFieldsRow, df as FormNode, ea as FormNodeInfo, cD as FormTab, eI as FormattedRecord, hb as FormulaResolverService, ha as FormulaResolverServiceOptions, fV as FormulaResult, iI as FullSyncOptions, iH as FullSyncResult, cQ as GalleryViewConfig, cU as GalleryViewDefinition, e1 as GeneratedDocument, bQ as GeocodingAdapter, bN as GeocodingAutocompleteParams, bP as GeocodingParams, im as GeocodingService, bM as GeocodingSuggestion, g$ as GetRelationOptionsParams, iu as GetViewOptions, it as GetViewsOptions, j3 as GlobalSearchGroupedOptions, j5 as GlobalSearchGroupedResult, j2 as GlobalSearchOptions, j4 as GlobalSearchResultItem, io as GlobalSearchService, hC as GrantExpiredError, hB as GrantNotFoundError, hD as GrantRevokedError, hF as GrantServiceConfig, eJ as GroupedFetchResult, gc as HookContext, gd as HookDefinition, ge as HookHandler, gh as HookRegistry, gf as HookType, h6 as HybridRelationValue, P as IdentityVerificationAdapter, bY as InferRecord, bT as InferRecordFromSchema, bZ as InferRecordInput, b_ as InferRecordUpdate, bU as InferRecordWithRequirements, eK as InsertOptions, fZ as InvalidPathError, cF as InverseSource, hP as InvitationAlreadyAcceptedError, hO as InvitationExpiredError, hN as InvitationNotFoundError, hQ as InvitationRevokedError, hM as InvitationServiceConfig, dR as InvitationStatus, cA as InviteUserInput, eu as JwtVerificationResult, hq as LabelResolver, j0 as ListOptions, cM as ListViewLayout, ev as MagicLinkPayload, f_ as MaxDepthExceededError, gj as MockStores, h4 as MultiRelationValue, bd as MultiselectFilterOperator, bt as NO_VALUE_OPERATORS, bs as NoValueOperator, fy as NodeExecutor, dA as NodePosition, eG as NoopCacheAdapter, bR as NoopGeocodingAdapter, gg as NoopHookRegistry, b9 as NumberFilterOperator, br as OPERATORS_BY_TYPE, cm as ObjectPermissions, gy as ObjectRecordsRepository, gP as ObjectSchemaService, gO as ObjectSchemaServiceOptions, gz as ObjectsRepository, O as OcrAdapter, t as OcrInput, u as OcrOptions, w as OcrPage, v as OcrResult, x as OcrTextBlock, jq as OperationResult, g2 as PathCardinality, g3 as PathSegment, g4 as PathSegmentType, aE as PdfTemplateField, dH as PendingAction, aJ as PendingDocumentRequest, cj as Permission, cd as PermissionScope, iq as PermissionService, ip as PermissionServiceOptions, gA as PermissionsRepository, bi as PhoneFilterValue, cs as PolicyContext, gl as PolicyRegistry, cu as PolicyViolationError, aS as ProcessingJob, aU as ProcessingJobStatus, aT as ProcessingJobType, eW as QueryBuilder, eX as QueryBuilderOptions, eL as QueryBuilderState, eS as QueryMultipleResultsError, eT as QueryNoResultError, gT as QueryOptions, gV as QueryResult, bq as QueryState, eb as ReadOnlyReason, a6 as ReasoningPartData, ie as RecordDocumentsResult, c1 as RecordMetadata, ct as RecordPolicy, gW as RecordQueryService, gS as RecordQueryServiceOptions, h8 as RecordResolverService, gR as RecordService, gQ as RecordServiceOptions, eM as RegistryMap, eN as RegistryObjectNames, en as RelationAttributeInput, eo as RelationAttributeRow, ep as RelationAttributesRepository, be as RelationFilterOperator, iR as RelationLabelResolver, gZ as RelationOption, g_ as RelationOptionsResponse, h7 as RelationPropertiesService, h3 as RelationService, h0 as RelationServiceOptions, cE as RelationSource, gY as RelationValidationError, gX as RelationValidationResult, bg as RelativeDateValue, i7 as RenderDocumentInput, i9 as RenderDocumentResult, h1 as ResolveIdsBatchRequest, h2 as ResolveIdsBatchResponse, h9 as ResolvedRelations, hJ as ResumeWorkflowInput, bO as ReverseGeocodingParams, cJ as RichtextTab, ci as Role, hy as RollupCascadeContext, hc as RollupResult, hg as RollupScheduler, hf as RollupSchedulerOptions, he as RollupService, hd as RollupServiceOptions, eU as SHORTCUT_TO_FILTER_OPERATOR, eq as SORTABLE_ATTRIBUTE_TYPES, fi as SchemaContext, gJ as SchemaContextAware, gK as SchemaContextAwareRepository, g5 as SchemaResolver, er as SearchAdapter, j1 as SearchOptions, gU as SearchQueryOptions, bc as SelectFilterOperator, eO as ShortcutOperator, y as SignatureAdapter, H as SignaturePosition, J as SignatureRequestResult, N as SignatureStatus, K as SignatureStatusResult, iz as SignedUrlOptions, E as SignerRequest, M as SignerStatus, h5 as SingleRelationValue, aR as SlotStatus, bp as SortDirection, fI as StartExecutor, dg as StartNode, hI as StartWorkflowInput, iA as StorageAdapter, ib as StorageDownloadNotSupportedError, b3 as StorageProvider, ix as StorageUploadInput, iy as StorageUploadResult, iD as SyncOptions, iC as SyncResult, c2 as SystemFields, cn as SystemPermissions, cB as TabType, cG as TableSource, aF as TemplateSource, fp as TenantContext, f1 as TenantContextError, b8 as TextFilterOperator, a3 as TextPartData, ee as ThemeColors, ef as ThemeLogo, eg as ThemeTypography, a5 as ThinkingPartData, cP as TimelineViewConfig, cT as TimelineViewDefinition, hE as TokenRevokedError, a4 as ToolPartData, g9 as TraversalOptions, ga as TraversalResult, bV as TypedAttribute, ca as TypedObjectRecord, cw as USER_STATUSES, iZ as UpdateDBAttribute, iV as UpdateDBObject, j9 as UpdateDBView, jd as UpdateDBViewOverlay, jg as UpdateDBWorkflow, jp as UpdateDBWorkflowAccessGrant, jj as UpdateDBWorkflowInstance, jm as UpdateDBWorkflowInvitation, aW as UpdateDocument, aI as UpdateDocumentGenerationTemplate, a_ as UpdateDocumentSlot, aY as UpdateDocumentTemplate, b7 as UpdateFile, gN as UpdateObjectInput, b0 as UpdateProcessingJob, cp as UpdateRoleInput, cz as UpdateUserProfile, is as UpdateViewInput, hU as UpdateWorkflowInput, iB as UploadFileInput, i_ as UpsertDBAttribute, iW as UpsertDBObject, ja as UpsertDBView, cx as UserProfile, h$ as UserProfileService, h_ as UserProfileServiceOptions, gB as UserProfilesRepository, ck as UserRoleAssignment, hZ as UserService, cv as UserStatus, hY as UserValidationError, hX as UserValidationResult, aD as VariableMapping, Y as VerificationCheck, U as VerificationResult, Q as VerifyInput, cR as ViewConfig, cW as ViewOverlay, em as ViewOverlaysRepository, iv as ViewService, js as ViewSyncLogger, jt as ViewSyncOptions, jr as ViewSyncResult, gC as ViewsRepository, c0 as WithCustomAttributes, dX as WorkflowAccessGrant, hH as WorkflowAccessGrantService, gD as WorkflowAccessGrantsRepository, ec as WorkflowAccessMode, ew as WorkflowAccessPayload, dI as WorkflowError, e2 as WorkflowExecutionContext, dJ as WorkflowInstance, hL as WorkflowInstanceService, hK as WorkflowInstanceServiceOptions, gE as WorkflowInstancesRepository, dS as WorkflowInvitation, hR as WorkflowInvitationService, gF as WorkflowInvitationsRepository, ex as WorkflowJwtConfig, ey as WorkflowJwtPayload, et as WorkflowJwtService, dB as WorkflowLayout, dh as WorkflowNodeType, hS as WorkflowRelationService, hW as WorkflowService, hV as WorkflowServiceOptions, dC as WorkflowSlot, dD as WorkflowStatus, dK as WorkflowTransition, gG as WorkflowsRepository, ch as accessLevelToActions, cg as actionsToAccessLevel, fb as addSchemaToContext, ds as and, hh as applyDefaultValues, i1 as buildAuditChanges, hk as buildPolicyContext, eD as cacheKeys, eE as cacheTtl, dY as canAccessNode, dL as canResumeInstance, hi as checkPermission, hl as checkRecordAccess, hn as checkRecordDeleteOrThrow, hm as checkRecordModifyOrThrow, ho as checkSharedObjectWriteAccess, fz as complete, hp as computeLabel, iS as computeLabelWithRelations, ht as createContextForCreate, hv as createContextForDelete, hw as createContextForRestore, hu as createContextForUpdate, fq as createDefaultExecutorRegistry, eP as createDefaultState, e3 as createEmptyContext, gi as createMockAdapter, eV as createQueryBuilder, dM as createStartTransition, gk as defaultPolicyRegistry, eF as defaultTtl, hs as enrichRecordsWithFormulas, iO as enrichValuesForDisplay, iP as enrichValuesWithSelectLabels, hr as enrichWithFormulas, dt as eq, fA as error, e$ as evaluate, e_ as evaluateCondition, fJ as evaluateFormula, fK as evaluateFormulaAttribute, fL as evaluateFormulaAttributeWithRelations, fM as evaluateFormulaWithRelations, fN as evaluateFormulaWithResult, f0 as evaluateWithTrace, iN as extractAttributeNames, fO as extractFormulaVariables, iQ as extractRelationIds, fP as extractRelationNames, fQ as extractRelationReferences, fR as flattenRelationsForEval, fS as formatFormulaResult, eQ as formatRecord, eR as formatRecords, ei as generateCssVariables, fj as getContext, e4 as getContextValue, fr as getDefaultExecutorRegistry, f3 as getFeatureFlags, f4 as getFeatureValue, di as getNodeOutputs, fW as getPathDepth, hj as getPolicy, fX as getRelationPath, bv as getRollupFilterOperators, fc as getSchemaByNameFromContext, fd as getSchemaContext, fe as getSchemaFromContext, iG as getSyncPreview, fY as getTargetAttributeName, fk as getTenantId, fl as getUserId, jy as getViewSeedPreview, jz as getViewSyncPreview, fm as hasContext, f5 as hasFeatureFlagsContext, fT as hasRelationReferences, ff as hasSchemaContext, eA as hashOptions, du as inValues, d7 as isActivityTab, dj as isAdvancedFormNode, cZ as isCalendarView, dv as isConditionGroup, dk as isConditionNode, dw as isConditionRule, d6 as isCustomTab, cX as isDetailView, dl as isDocumentNode, da as isDocumentsTab, dm as isEndNode, f6 as isFeatureEnabled, d0 as isFieldGroup, bJ as isFlowDefinition, bD as isFlowFieldsRow, bK as isFlowPublished, d9 as isFlowsTab, ed as isFormFieldsRow, dn as isFormNode, d2 as isFormTab, c$ as isGalleryView, dZ as isGrantExpired, d_ as isGrantRevoked, d$ as isGrantValid, dN as isInstanceTerminal, dO as isInstanceWaiting, d5 as isInverseSourceTab, dT as isInvitationAccepted, dU as isInvitationExpired, dV as isInvitationValid, iM as isLabelExpression, bE as isLayoutRow, cY as isListView, bu as isNoValueOperator, d1 as isRelationGroup, d4 as isRelationSourceTab, d8 as isRichtextTab, dp as isSimpleFormNode, dq as isStartNode, bL as isSystemFlow, dE as isSystemWorkflow, d3 as isTableTab, c_ as isTimelineView, e0 as isTokenRevoked, dF as isWorkflowDefinition, dG as isWorkflowPublished, ej as mergeWithDefaults, dx as neq, dy as or, f$ as parsePath, g0 as pathHasManyCardinality, hx as recalculateParentRollups, ek as registry, iL as renderLabelExpression, g6 as resolveMultiplePaths, g7 as resolveSingleValue, fn as runWithContext, f7 as runWithFeatureFlags, fg as runWithMergedSchemaContext, fh as runWithSchemaContext, ju as seedRegistryViews, e5 as setContextValue, fC as success, iJ as syncAll, iE as syncNativeObjects, jv as syncNativeViews, g8 as traversePath, f8 as tryGetFeatureValue, fU as validateFormulaExpression, g1 as validatePath, iF as verifyNativeObjectsSync, jx as verifyNativeViewsSync, jw as verifyRegistryViewsSeeded, el as viewRegistry, fD as wait, f9 as withFeatureFlags, fo as withTenantContext } from './runtime-BU3qnMH0.mjs';
3
+ import { D as DateAttribute, U as UserAttribute, a as DocumentAttribute, A as Attribute, P as Phone, F as FeatureGate, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, d as PhoneAttribute, e as CurrencyAttribute, O as Option, S as StatusAttribute, f as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, g as FileAttribute, h as RatingAttribute, i as RelationAttribute, B as BilateralConfig, j as SingleRelationAttribute, k as MultiRelationAttribute, l as RelationTarget, m as FormulaAttribute, n as FormulaReturnType, o as RollupAttribute, p as RollupFunction, q as AttributeType, r as ObjectDefinition, s as FlagValueType, t as FeatureFlagDefinition, u as FlagLevel, v as FeatureFlagsRepository, w as StaticFlagDefault, x as ResolvedFlag } from './validators-DVfMzWfY.mjs';
4
+ export { z as AttributeGroup, E as BaseAttribute, a8 as CompletionStatus, J as Currency, ah as DEFAULT_VALIDATION_MESSAGES, H as DateFormat, I as DateValue, ab as FORBIDDEN_PROPERTY_TYPES, a0 as FeatureFlagsConfig, $ as FlagOverride, ac as ForbiddenPropertyType, K as Location, Q as LocationGranularity, Z as NON_SORTABLE_TYPES, G as NumberUnit, a7 as ObjectAttribute, a9 as ObjectRecord, ad as PropertyAttribute, ae as PropertySchema, aa as PropertyType, V as RELATION_TARGET_ANY, a1 as RESERVED_ATTRIBUTE_NAMES, a3 as ReservedAttributeName, a2 as SYSTEM_FIELD_NAMES, a6 as SharingMode, y as StatusGroup, a4 as SystemFieldName, a5 as Timestamps, ag as ValidationMessages, b1 as ValidationResult, aB as attributeConfigSchemas, am as checkboxConfigSchema, ba as computeRecordStatus, a_ as createAttributeValidator, aI as createCheckboxValidator, aL as createCurrencyValidator, aJ as createDateValidator, b5 as createDraftValidator, aQ as createFileValidator, a$ as createFormAttributeValidator, aW as createFormulaValidator, aP as createLocationValidator, aT as createMultiRelationValidator, aO as createMultiselectValidator, aH as createNumberValidator, b0 as createObjectValidator, aK as createPhoneValidator, aV as createRatingValidator, aU as createRelationValidator, aZ as createRichtextValidator, aX as createRollupValidator, aN as createSelectValidator, aS as createSingleRelationValidator, aM as createStatusValidator, aY as createTextAreaValidator, aG as createTextValidator, aR as createUserValidator, ap as currencyConfigSchema, an as dateConfigSchema, aA as documentConfigSchema, au as fileConfigSchema, af as formatZodErrors, ay as formulaConfigSchema, aC as getAttributeConfigSchema, b8 as getMissingRequiredAttributes, Y as inferInverseCardinality, _ as isAttributeSortable, X as isBilateralRelation, b9 as isRecordComplete, W as isUniversalRelation, ar as locationConfigSchema, at as multiselectConfigSchema, al as numberConfigSchema, aE as parseAttributeConfig, ao as phoneConfigSchema, ax as ratingConfigSchema, aw as relationConfigSchema, ak as richtextConfigSchema, az as rollupConfigSchema, aF as safeParseAttributeConfig, as as selectConfigSchema, aq as statusConfigSchema, ai as textConfigSchema, aj as textareaConfigSchema, av as userConfigSchema, b2 as validateAttribute, aD as validateAttributeConfig, b6 as validateDraft, b7 as validateDraftOrThrow, b3 as validateObject, b4 as validateObjectOrThrow } from './validators-DVfMzWfY.mjs';
5
5
  import { z } from 'zod';
6
6
  export { TenantId, UserId, Uuid, asTenantId, asUserId, generateId, generatePrefixedId, generateTemplateName, indexBy, slugify } from './utils.mjs';
7
7
  import { CountryIso3, IconName, CurrencyCode, MimeType, ColorId } from '@stndrds/constants';
@@ -516,22 +516,37 @@ declare const FlowRowFieldSchema: z.ZodObject<{
516
516
  slotId: z.ZodString;
517
517
  attribute: z.ZodString;
518
518
  label: z.ZodOptional<z.ZodString>;
519
+ tooltip: z.ZodOptional<z.ZodString>;
519
520
  required: z.ZodOptional<z.ZodBoolean>;
520
521
  }, z.core.$strip>;
521
- /**
522
- * Flow row schema
523
- */
524
- declare const FlowRowSchema: z.ZodObject<{
522
+ declare const FlowRowSchema: z.ZodUnion<readonly [z.ZodObject<{
523
+ id: z.ZodString;
524
+ order: z.ZodNumber;
525
+ type: z.ZodLiteral<"heading">;
526
+ content: z.ZodString;
527
+ level: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
528
+ }, z.core.$strip>, z.ZodObject<{
529
+ id: z.ZodString;
530
+ order: z.ZodNumber;
531
+ type: z.ZodLiteral<"separator">;
532
+ }, z.core.$strip>, z.ZodObject<{
533
+ id: z.ZodString;
534
+ order: z.ZodNumber;
535
+ type: z.ZodLiteral<"text">;
536
+ content: z.ZodString;
537
+ }, z.core.$strip>, z.ZodObject<{
525
538
  id: z.ZodString;
526
539
  order: z.ZodNumber;
540
+ type: z.ZodOptional<z.ZodLiteral<"fields">>;
527
541
  fields: z.ZodArray<z.ZodObject<{
528
542
  id: z.ZodString;
529
543
  slotId: z.ZodString;
530
544
  attribute: z.ZodString;
531
545
  label: z.ZodOptional<z.ZodString>;
546
+ tooltip: z.ZodOptional<z.ZodString>;
532
547
  required: z.ZodOptional<z.ZodBoolean>;
533
548
  }, z.core.$strip>>;
534
- }, z.core.$strip>;
549
+ }, z.core.$strip>]>;
535
550
  /**
536
551
  * Form node schema (supports both simple and advanced modes)
537
552
  *
@@ -547,17 +562,34 @@ declare const FormNodeSchema: z.ZodObject<{
547
562
  slotId: z.ZodString;
548
563
  attribute: z.ZodString;
549
564
  }, z.core.$strip>>>;
550
- rows: z.ZodOptional<z.ZodArray<z.ZodObject<{
565
+ rows: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
566
+ id: z.ZodString;
567
+ order: z.ZodNumber;
568
+ type: z.ZodLiteral<"heading">;
569
+ content: z.ZodString;
570
+ level: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
571
+ }, z.core.$strip>, z.ZodObject<{
551
572
  id: z.ZodString;
552
573
  order: z.ZodNumber;
574
+ type: z.ZodLiteral<"separator">;
575
+ }, z.core.$strip>, z.ZodObject<{
576
+ id: z.ZodString;
577
+ order: z.ZodNumber;
578
+ type: z.ZodLiteral<"text">;
579
+ content: z.ZodString;
580
+ }, z.core.$strip>, z.ZodObject<{
581
+ id: z.ZodString;
582
+ order: z.ZodNumber;
583
+ type: z.ZodOptional<z.ZodLiteral<"fields">>;
553
584
  fields: z.ZodArray<z.ZodObject<{
554
585
  id: z.ZodString;
555
586
  slotId: z.ZodString;
556
587
  attribute: z.ZodString;
557
588
  label: z.ZodOptional<z.ZodString>;
589
+ tooltip: z.ZodOptional<z.ZodString>;
558
590
  required: z.ZodOptional<z.ZodBoolean>;
559
591
  }, z.core.$strip>>;
560
- }, z.core.$strip>>>;
592
+ }, z.core.$strip>]>>>;
561
593
  participantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
562
594
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
563
595
  }, z.core.$strip>;
@@ -633,17 +665,34 @@ declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
633
665
  slotId: z.ZodString;
634
666
  attribute: z.ZodString;
635
667
  }, z.core.$strip>>>;
636
- rows: z.ZodOptional<z.ZodArray<z.ZodObject<{
668
+ rows: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
637
669
  id: z.ZodString;
638
670
  order: z.ZodNumber;
671
+ type: z.ZodLiteral<"heading">;
672
+ content: z.ZodString;
673
+ level: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
674
+ }, z.core.$strip>, z.ZodObject<{
675
+ id: z.ZodString;
676
+ order: z.ZodNumber;
677
+ type: z.ZodLiteral<"separator">;
678
+ }, z.core.$strip>, z.ZodObject<{
679
+ id: z.ZodString;
680
+ order: z.ZodNumber;
681
+ type: z.ZodLiteral<"text">;
682
+ content: z.ZodString;
683
+ }, z.core.$strip>, z.ZodObject<{
684
+ id: z.ZodString;
685
+ order: z.ZodNumber;
686
+ type: z.ZodOptional<z.ZodLiteral<"fields">>;
639
687
  fields: z.ZodArray<z.ZodObject<{
640
688
  id: z.ZodString;
641
689
  slotId: z.ZodString;
642
690
  attribute: z.ZodString;
643
691
  label: z.ZodOptional<z.ZodString>;
692
+ tooltip: z.ZodOptional<z.ZodString>;
644
693
  required: z.ZodOptional<z.ZodBoolean>;
645
694
  }, z.core.$strip>>;
646
- }, z.core.$strip>>>;
695
+ }, z.core.$strip>]>>>;
647
696
  participantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
648
697
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
649
698
  }, z.core.$strip>, z.ZodObject<{
@@ -905,17 +954,34 @@ declare const WorkflowDefinitionSchema: z.ZodObject<{
905
954
  slotId: z.ZodString;
906
955
  attribute: z.ZodString;
907
956
  }, z.core.$strip>>>;
908
- rows: z.ZodOptional<z.ZodArray<z.ZodObject<{
957
+ rows: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
909
958
  id: z.ZodString;
910
959
  order: z.ZodNumber;
960
+ type: z.ZodLiteral<"heading">;
961
+ content: z.ZodString;
962
+ level: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
963
+ }, z.core.$strip>, z.ZodObject<{
964
+ id: z.ZodString;
965
+ order: z.ZodNumber;
966
+ type: z.ZodLiteral<"separator">;
967
+ }, z.core.$strip>, z.ZodObject<{
968
+ id: z.ZodString;
969
+ order: z.ZodNumber;
970
+ type: z.ZodLiteral<"text">;
971
+ content: z.ZodString;
972
+ }, z.core.$strip>, z.ZodObject<{
973
+ id: z.ZodString;
974
+ order: z.ZodNumber;
975
+ type: z.ZodOptional<z.ZodLiteral<"fields">>;
911
976
  fields: z.ZodArray<z.ZodObject<{
912
977
  id: z.ZodString;
913
978
  slotId: z.ZodString;
914
979
  attribute: z.ZodString;
915
980
  label: z.ZodOptional<z.ZodString>;
981
+ tooltip: z.ZodOptional<z.ZodString>;
916
982
  required: z.ZodOptional<z.ZodBoolean>;
917
983
  }, z.core.$strip>>;
918
- }, z.core.$strip>>>;
984
+ }, z.core.$strip>]>>>;
919
985
  participantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
920
986
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
921
987
  }, z.core.$strip>, z.ZodObject<{
@@ -1280,8 +1346,10 @@ declare function applyRelationProps(label: string, props: Record<string, unknown
1280
1346
  declare const SYSTEM_RESOURCES: {
1281
1347
  /** User profiles, invitations, roles and permissions management */
1282
1348
  readonly PEOPLE: "people";
1283
- /** Object definitions, attributes, tenant settings and audit logs */
1349
+ /** Tenant settings, audit logs, workflow execution, document generation */
1284
1350
  readonly WORKSPACE: "workspace";
1351
+ /** Object definitions, attributes, views, workflow definitions */
1352
+ readonly ARCHITECT: "architect";
1285
1353
  };
1286
1354
  /**
1287
1355
  * All system resources as an array (for iteration)
@@ -1333,13 +1401,13 @@ interface DefaultRolePermissionConfig {
1333
1401
  */
1334
1402
  declare const DEFAULT_ROLE_PERMISSIONS: Record<DefaultRoleName, DefaultRolePermissionConfig>;
1335
1403
  /**
1336
- * Check if a role name is a default/built-in role
1404
+ * The role automatically assigned to newly invited users.
1337
1405
  */
1338
- declare function isDefaultRole(roleName: string): roleName is DefaultRoleName;
1406
+ declare const DEFAULT_ROLE_FOR_NEW_USERS: DefaultRoleName;
1339
1407
  /**
1340
- * Check if a role name is the admin/owner role (full platform access).
1408
+ * Check if a role name is a default/built-in role
1341
1409
  */
1342
- declare function isAdminRole(roleName: string): boolean;
1410
+ declare function isDefaultRole(roleName: string): roleName is DefaultRoleName;
1343
1411
 
1344
1412
  /**
1345
1413
  * Error codes for schema exceptions
@@ -3333,7 +3401,7 @@ declare class WorkflowFormBuilder {
3333
3401
  */
3334
3402
  next(nodeId: string): WorkflowBuilder;
3335
3403
  /** @internal */
3336
- _finalizeRow(row: FlowRow): this;
3404
+ _finalizeRow(row: FlowFieldsRow): this;
3337
3405
  }
3338
3406
  /**
3339
3407
  * Builder for creating simple form nodes with field references.
@@ -4004,7 +4072,7 @@ declare class FlagService {
4004
4072
  */
4005
4073
  deleteOverride(flagName: string, level: FlagLevel, targetId?: string): Promise<void>;
4006
4074
  /**
4007
- * Get all overrides organized by level.
4075
+ * Get all overrides organized by level, optionally filtered to specific flag names.
4008
4076
  */
4009
4077
  private getAllOverrides;
4010
4078
  /**
@@ -4205,4 +4273,4 @@ declare function getSystemTemplate(name: string): DocumentTemplate | undefined;
4205
4273
  */
4206
4274
  declare function isSystemTemplate(name: string): boolean;
4207
4275
 
4208
- export { ALL_SYSTEM_RESOURCES, Action, 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, FieldGroup, 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, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, PASSPORT, PRESENTATION_PROPERTIES, PROOF_OF_ADDRESS, Phone, PhoneAttribute, type PhoneNormalizationResult, type PresentationProperty, type PropertyAttributeBuilder, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RecordNotFoundError, type RecordReference, RecordReferencedError, RelationAttribute, RelationGroup, RelationGroupBuilder, 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, 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, formatPhoneForDisplay, formula, generateDefaultDetailView, generateDefaultListView, generateFallbackView, getActiveTab, getErrorMessage, getSystemAttributeList, getSystemTemplate, group, hasProperties, isAdminRole, isBehaviorProperty, isDefaultRole, isEmpty, isForbiddenError, isIdentityProperty, isInstanceEvent, isInvitationOrGrantEvent, isNodeEvent, isNotEmpty, isNotFoundError, isPresentationProperty, isProtectedResourceError, isSchemaError, isSystemAttribute, isSystemAttributeObject, isSystemTemplate, isValidationError, isViewCustomized, jsonFlag, listView, location, multiselect, normalizePhoneNumber, number, numberFlag, object, parseRawPhoneInput, phone, rating, relation, relationGroup, resetViewToDefault, richtext, rollup, select, status, stringFlag, text, textarea, toUndefinedIfEmpty, user, validatePhoneNumber, view, workflow };
4276
+ export { ALL_SYSTEM_RESOURCES, Action, 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_FOR_NEW_USERS, 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, FieldGroup, FileAttribute, FileNotFoundError, FilterState, FlagLevel, FlagRegistry, type FlagResolutionContext, FlagService, type FlagServiceOptions, FlagValueType, FlowFieldsRow, 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, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, PASSPORT, PRESENTATION_PROPERTIES, PROOF_OF_ADDRESS, Phone, PhoneAttribute, type PhoneNormalizationResult, type PresentationProperty, type PropertyAttributeBuilder, ProtectedResourceError, ProtectedRoleError, RatingAttribute, RecordNotFoundError, type RecordReference, RecordReferencedError, RelationAttribute, RelationGroup, RelationGroupBuilder, 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, 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, formatPhoneForDisplay, 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, normalizePhoneNumber, number, numberFlag, object, parseRawPhoneInput, phone, rating, relation, relationGroup, resetViewToDefault, richtext, rollup, select, status, stringFlag, text, textarea, toUndefinedIfEmpty, user, validatePhoneNumber, view, workflow };