@stndrds/schema 1.0.0-alpha.79 → 1.0.0-alpha.81
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/{chunk-5SZ5OISG.mjs → chunk-7VNLLASJ.mjs} +0 -2
- package/dist/{chunk-3WTK7ESH.js → chunk-HUT6HYXJ.js} +0 -2
- package/dist/{chunk-K5MARJCD.mjs → chunk-OR44EVWO.mjs} +1229 -1957
- package/dist/{chunk-Y4FDI32G.js → chunk-WHDJLJRK.js} +1476 -2204
- package/dist/index.d.mts +215 -94
- package/dist/index.d.ts +215 -94
- package/dist/index.js +6 -16
- package/dist/index.mjs +34 -44
- package/dist/{runtime-CjZp8UsJ.d.ts → runtime-B6Dt5_Gc.d.ts} +544 -1321
- package/dist/{runtime-BU3qnMH0.d.mts → runtime-Ttkdn9W7.d.mts} +544 -1321
- package/dist/runtime.d.mts +2 -2
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +3 -19
- package/dist/runtime.mjs +4 -20
- package/dist/validation/validators.d.mts +1 -1
- package/dist/validation/validators.d.ts +1 -1
- package/dist/validation/validators.js +2 -2
- package/dist/validation/validators.mjs +1 -1
- package/dist/{validators-DVfMzWfY.d.mts → validators-BeBrdQCB.d.mts} +1 -14
- package/dist/{validators-5RPbTlXa.d.ts → validators-UuAMCPc6.d.ts} +1 -14
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as SystemResource, A as Action, I as InferAttributeValue,
|
|
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-
|
|
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-
|
|
1
|
+
import { F as FormNode, W as WorkflowNode, a as WorkflowNodeType, S as SystemResource, A as Action, I as InferAttributeValue, b as Field, c as AttributeGroupField, d as FieldGroup, R as RelationGroup, D as DetailViewLayout, e as SidePanelConfig, G as Group, f as DetailViewDefinition, g as InstanceStatus, T as Tab, h as TableTab, C as CreateMode, i as FilterState, j as SortRule, L as ListViewDefinition, k as WorkflowTheme, l as WorkflowConfig, m as SlotMode, n as ConditionGroup, o as ConditionRule, p as WorkflowDefinition, q as FlowFieldsRow, r as ListViewConfig, s as ListViewTab, V as ViewType, t as ViewDefinition } from './runtime-Ttkdn9W7.mjs';
|
|
2
|
+
export { a0 as AIAvailableModel, af as AIBatchQuestion, ag as AIBatchQuestionAnswer, ae as AIBatchQuestionOption, a9 as AIChatMessage, a8 as AIChatMessagePart, a3 as AIChatMessagePartType, av as AICompactionSummary, al as AIConversation, g8 as AIConversationsRepository, at as AIMemoryEntry, as as AIMemoryType, am as AIMessage, ak as AIMessageAttachment, _ as AIMessageRole, aq as AIProviderMetrics, ac as AIQuestion, ad as AIQuestionAnswer, ab as AIQuestionOption, aa as AIQuestionType, au as AITenantPersona, $ as AIThinkingLevel, ai as AITodoItem, aj as AITodoList, ah as AITodoStatus, a2 as AIToolCall, an as AIToolCallRecord, a1 as AIToolCallStatus, ap as AIUsageMetrics, g9 as AIUsageMetricsRepository, ao as AIUserMemory, ga as AIUserMemoryRepository, c2 as ALL_ACTIONS, c1 as AccessLevel, cv as ActivityTab, bK as AddAttribute, gv as AddAttributeInput, bb as AdvancedFilterState, ft as AssignExecutor, d0 as AssignNode, ce as AssignRoleInput, c_ as AssignmentMapping, c$ as AssignmentSource, fZ as AttributeChange, bJ as AttributeMap, bF as AttributeSchema, gb as AttributesRepository, ax as AuditAction, ay as AuditActorType, az as AuditChange, aC as AuditListOptions, aA as AuditLogEntry, gc as AuditRepository, aw as AuditResourceType, hJ as AuditService, aD as AuditServiceOptions, gr as BaseRepository, gq as BaseService, B as BoundingBox, en as CacheAdapter, el as CacheKeyType, eo as CacheOptions, cB as CalendarViewConfig, cF as CalendarViewDefinition, dk as CanvasViewport, aZ as CheckboxFilterOperator, fq as ConditionExecutor, d1 as ConditionNode, dc as ConditionOperator, cI as ConfigOverrides, ar as CreateAIMessageInput, aB as CreateAuditLogInput, gu as CreateCustomObjectInput, iv as CreateDBAttribute, ir as CreateDBObject, iH as CreateDBView, iL as CreateDBViewOverlay, iO as CreateDBWorkflow, iX as CreateDBWorkflowAccessGrant, iR as CreateDBWorkflowInstance, iU as CreateDBWorkflowInvitation, aL as CreateDocument, aN as CreateDocumentSlot, aV as CreateFile, dI as CreateGrantInput, hn as CreateGrantResult, dB as CreateInvitationInput, dC as CreateInvitationResult, iy as CreateObjectRecord, cd as CreatePermissionInput, aP as CreateProcessingJob, hO as CreateRecordDocumentInput, hP as CreateRecordDocumentResult, cb as CreateRoleInput, E as CreateSignatureInput, cl as CreateUserProfile, hY as CreateViewInput, hA as CreateWorkflowInput, b4 as CurrencyFilterValue, bO as CustomAttributeValue, cu as CustomTab, iu as DBAttribute, iq as DBObject, iG as DBView, iK as DBViewOverlay, iN as DBWorkflow, iW as DBWorkflowAccessGrant, iQ as DBWorkflowInstance, iT as DBWorkflowInvitation, ig as DEFAULT_LABEL_FALLBACK, e3 as DEFAULT_THEME, ee as DatabaseAdapter, a_ as DateFilterOperator, cA as DetailViewConfig, aE as Document, Y as DocumentData, gd as DocumentJobsRepository, aR as DocumentListOptions, hL as DocumentProcessingConfig, hM as DocumentProcessingService, hR as DocumentService, hQ as DocumentServiceOptions, aG as DocumentSlot, ge as DocumentSlotsRepository, aF as DocumentStatus, gf as DocumentsRepository, cy as DocumentsTab, c8 as EffectivePermissions, fr as EndExecutor, d2 as EndNode, eK as EvaluationResult, eL as EvaluationTrace, fe as ExecutorCompleteResult, ff as ExecutorContext, fg as ExecutorErrorResult, fn as ExecutorRegistry, fh as ExecutorResult, fi as ExecutorSuccessResult, fj as ExecutorWaitResult, b8 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, eY as FeatureFlagsContext, eQ as FeatureFlagsContextError, et as FetchResult, aU as File, i1 as FileContent, iF as FileListOptions, hT as FileService, hS as FileServiceOptions, aT as FileVisibility, gg as FilesRepository, b9 as FilterCombinator, ba as FilterGroup, b2 as FilterOperator, b7 as FilterRule, b6 as FilterValue, bv as FlowDefinition, bm as FlowHeadingRow, bs as FlowPage, bt as FlowRelation, bp as FlowRow, bk as FlowRowField, bl as FlowRowType, bn as FlowSeparatorRow, bj as FlowSlot, bu as FlowStatus, bo as FlowTextRow, cx as FlowsTab, dU as FormContextResponse, cp as FormDensity, fs as FormExecutor, dV as FormFieldContext, d3 as FormFieldRef, dW as FormFieldRow, dX as FormFieldsRow, dY as FormNodeInfo, cq as FormTab, eu as FormattedRecord, gW as FormulaResolverService, gV as FormulaResolverServiceOptions, fH as FormulaResult, id as FullSyncOptions, ic as FullSyncResult, cD as GalleryViewConfig, cH as GalleryViewDefinition, dP as GeneratedDocument, bD as GeocodingAdapter, bA as GeocodingAutocompleteParams, bC as GeocodingParams, hU as GeocodingService, bz as GeocodingSuggestion, gK as GetRelationOptionsParams, h$ as GetViewOptions, h_ as GetViewsOptions, iC as GlobalSearchGroupedOptions, iE as GlobalSearchGroupedResult, iB as GlobalSearchOptions, iD as GlobalSearchResultItem, hV as GlobalSearchService, hj as GrantExpiredError, hi as GrantNotFoundError, hk as GrantRevokedError, hm as GrantServiceConfig, ev as GroupedFetchResult, f_ as HookContext, f$ as HookDefinition, g0 as HookHandler, g3 as HookRegistry, g1 as HookType, gR as HybridRelationValue, Q as IdentityVerificationAdapter, bL as InferRecord, bG as InferRecordFromSchema, bM as InferRecordInput, bN as InferRecordUpdate, bH as InferRecordWithRequirements, ew as InsertOptions, fL as InvalidPathError, cs as InverseSource, hw as InvitationAlreadyAcceptedError, hv as InvitationExpiredError, hu as InvitationNotFoundError, hx as InvitationRevokedError, ht as InvitationServiceConfig, dD as InvitationStatus, cn as InviteUserInput, eg as JwtVerificationResult, h9 as LabelResolver, iz as ListOptions, cz as ListViewLayout, eh as MagicLinkPayload, fM as MaxDepthExceededError, g5 as MockStores, gP as MultiRelationValue, b0 as MultiselectFilterOperator, bg as NO_VALUE_OPERATORS, bf as NoValueOperator, fk as NodeExecutor, dl as NodePosition, es as NoopCacheAdapter, bE as NoopGeocodingAdapter, g2 as NoopHookRegistry, aY as NumberFilterOperator, be as OPERATORS_BY_TYPE, c9 as ObjectPermissions, gh as ObjectRecordsRepository, gy as ObjectSchemaService, gx as ObjectSchemaServiceOptions, gi as ObjectsRepository, O as OcrAdapter, u as OcrInput, v as OcrOptions, x as OcrPage, w as OcrResult, y as OcrTextBlock, iZ as OperationResult, fQ as PathCardinality, fR as PathSegment, fS as PathSegmentType, dt as PendingAction, c6 as Permission, c0 as PermissionScope, hX as PermissionService, hW as PermissionServiceOptions, gj as PermissionsRepository, b5 as PhoneFilterValue, cf as PolicyContext, g7 as PolicyRegistry, ch as PolicyViolationError, aI as ProcessingJob, aK as ProcessingJobStatus, aJ as ProcessingJobType, eI as QueryBuilder, eJ as QueryBuilderOptions, ex as QueryBuilderState, eE as QueryMultipleResultsError, eF as QueryNoResultError, gC as QueryOptions, gE as QueryResult, bd as QueryState, dZ as ReadOnlyReason, a7 as ReasoningPartData, hN as RecordDocumentsResult, bQ as RecordMetadata, cg as RecordPolicy, gF as RecordQueryService, gB as RecordQueryServiceOptions, gT as RecordResolverService, gA as RecordService, gz as RecordServiceOptions, ey as RegistryMap, ez as RegistryObjectNames, e9 as RelationAttributeInput, ea as RelationAttributeRow, eb as RelationAttributesRepository, b1 as RelationFilterOperator, io as RelationLabelResolver, gI as RelationOption, gJ as RelationOptionsResponse, gS as RelationPropertiesService, gO as RelationService, gL as RelationServiceOptions, cr as RelationSource, gH as RelationValidationError, gG as RelationValidationResult, b3 as RelativeDateValue, gM as ResolveIdsBatchRequest, gN as ResolveIdsBatchResponse, gU as ResolvedRelations, hq as ResumeWorkflowInput, bB as ReverseGeocodingParams, cw as RichtextTab, c5 as Role, hh as RollupCascadeContext, gX as RollupResult, g$ as RollupScheduler, g_ as RollupSchedulerOptions, gZ as RollupService, gY as RollupServiceOptions, eG as SHORTCUT_TO_FILTER_OPERATOR, ec as SORTABLE_ATTRIBUTE_TYPES, f4 as SchemaContext, gs as SchemaContextAware, gt as SchemaContextAwareRepository, fT as SchemaResolver, ed as SearchAdapter, iA as SearchOptions, gD as SearchQueryOptions, a$ as SelectFilterOperator, eA as ShortcutOperator, z as SignatureAdapter, J as SignaturePosition, K as SignatureRequestResult, P as SignatureStatus, M as SignatureStatusResult, i4 as SignedUrlOptions, H as SignerRequest, N as SignerStatus, gQ as SingleRelationValue, aH as SlotStatus, bc as SortDirection, fu as StartExecutor, d4 as StartNode, hp as StartWorkflowInput, i5 as StorageAdapter, aS as StorageProvider, i2 as StorageUploadInput, i3 as StorageUploadResult, i8 as SyncOptions, i7 as SyncResult, bR as SystemFields, ca as SystemPermissions, co as TabType, ct as TableSource, fb as TenantContext, eP as TenantContextError, aX as TextFilterOperator, a4 as TextPartData, e0 as ThemeColors, e1 as ThemeLogo, e2 as ThemeTypography, a6 as ThinkingPartData, cC as TimelineViewConfig, cG as TimelineViewDefinition, hl as TokenRevokedError, a5 as ToolPartData, fX as TraversalOptions, fY as TraversalResult, bI as TypedAttribute, bZ as TypedObjectRecord, cj as USER_STATUSES, iw as UpdateDBAttribute, is as UpdateDBObject, iI as UpdateDBView, iM as UpdateDBViewOverlay, iP as UpdateDBWorkflow, iY as UpdateDBWorkflowAccessGrant, iS as UpdateDBWorkflowInstance, iV as UpdateDBWorkflowInvitation, aM as UpdateDocument, aO as UpdateDocumentSlot, aW as UpdateFile, gw as UpdateObjectInput, aQ as UpdateProcessingJob, cc as UpdateRoleInput, cm as UpdateUserProfile, hZ as UpdateViewInput, hB as UpdateWorkflowInput, i6 as UploadFileInput, ix as UpsertDBAttribute, it as UpsertDBObject, iJ as UpsertDBView, ck as UserProfile, hI as UserProfileService, hH as UserProfileServiceOptions, gk as UserProfilesRepository, c7 as UserRoleAssignment, hG as UserService, ci as UserStatus, hF as UserValidationError, hE as UserValidationResult, Z as VerificationCheck, X as VerificationResult, U as VerifyInput, cE as ViewConfig, cJ as ViewOverlay, e8 as ViewOverlaysRepository, i0 as ViewService, i$ as ViewSyncLogger, j0 as ViewSyncOptions, i_ as ViewSyncResult, gl as ViewsRepository, bP as WithCustomAttributes, dJ as WorkflowAccessGrant, ho as WorkflowAccessGrantService, gm as WorkflowAccessGrantsRepository, d_ as WorkflowAccessMode, ei as WorkflowAccessPayload, du as WorkflowError, dQ as WorkflowExecutionContext, dv as WorkflowInstance, hs as WorkflowInstanceService, hr as WorkflowInstanceServiceOptions, gn as WorkflowInstancesRepository, dE as WorkflowInvitation, hy as WorkflowInvitationService, go as WorkflowInvitationsRepository, ej as WorkflowJwtConfig, ek as WorkflowJwtPayload, ef as WorkflowJwtService, dm as WorkflowLayout, hz as WorkflowRelationService, hD as WorkflowService, hC as WorkflowServiceOptions, dn as WorkflowSlot, dp as WorkflowStatus, dw as WorkflowTransition, gp as WorkflowsRepository, c4 as accessLevelToActions, c3 as actionsToAccessLevel, eZ as addSchemaToContext, dd as and, h0 as applyDefaultValues, hK as buildAuditChanges, h3 as buildPolicyContext, ep as cacheKeys, eq as cacheTtl, dK as canAccessNode, dx as canResumeInstance, h1 as checkPermission, h4 as checkRecordAccess, h6 as checkRecordDeleteOrThrow, h5 as checkRecordModifyOrThrow, h7 as checkSharedObjectWriteAccess, fl as complete, h8 as computeLabel, ip as computeLabelWithRelations, hc as createContextForCreate, he as createContextForDelete, hf as createContextForRestore, hd as createContextForUpdate, fc as createDefaultExecutorRegistry, eB as createDefaultState, dR as createEmptyContext, g4 as createMockAdapter, eH as createQueryBuilder, dy as createStartTransition, g6 as defaultPolicyRegistry, er as defaultTtl, hb as enrichRecordsWithFormulas, ik as enrichValuesForDisplay, il as enrichValuesWithSelectLabels, ha as enrichWithFormulas, de as eq, fm as error, eN as evaluate, eM as evaluateCondition, fv as evaluateFormula, fw as evaluateFormulaAttribute, fx as evaluateFormulaAttributeWithRelations, fy as evaluateFormulaWithRelations, fz as evaluateFormulaWithResult, eO as evaluateWithTrace, ij as extractAttributeNames, fA as extractFormulaVariables, im as extractRelationIds, fB as extractRelationNames, fC as extractRelationReferences, fD as flattenRelationsForEval, fE as formatFormulaResult, eC as formatRecord, eD as formatRecords, e4 as generateCssVariables, f5 as getContext, dS as getContextValue, fd as getDefaultExecutorRegistry, eR as getFeatureFlags, eS as getFeatureValue, fI as getPathDepth, h2 as getPolicy, fJ as getRelationPath, bi as getRollupFilterOperators, e_ as getSchemaByNameFromContext, e$ as getSchemaContext, f0 as getSchemaFromContext, ib as getSyncPreview, fK as getTargetAttributeName, f6 as getTenantId, f7 as getUserId, j5 as getViewSeedPreview, j6 as getViewSyncPreview, f8 as hasContext, eT as hasFeatureFlagsContext, fF as hasRelationReferences, f1 as hasSchemaContext, em as hashOptions, df as inValues, cW as isActivityTab, d5 as isAdvancedFormNode, d6 as isAssignNode, cM as isCalendarView, dg as isConditionGroup, d7 as isConditionNode, dh as isConditionRule, cV as isCustomTab, cK as isDetailView, cZ as isDocumentsTab, d8 as isEndNode, eU as isFeatureEnabled, cP as isFieldGroup, bw as isFlowDefinition, bq as isFlowFieldsRow, bx as isFlowPublished, cY as isFlowsTab, d$ as isFormFieldsRow, d9 as isFormNode, cR as isFormTab, cO as isGalleryView, dL as isGrantExpired, dM as isGrantRevoked, dN as isGrantValid, dz as isInstanceTerminal, dA as isInstanceWaiting, cU as isInverseSourceTab, dF as isInvitationAccepted, dG as isInvitationExpired, dH as isInvitationValid, ii as isLabelExpression, br as isLayoutRow, cL as isListView, bh as isNoValueOperator, cQ as isRelationGroup, cT as isRelationSourceTab, cX as isRichtextTab, da as isSimpleFormNode, db as isStartNode, by as isSystemFlow, dq as isSystemWorkflow, cS as isTableTab, cN as isTimelineView, dO as isTokenRevoked, dr as isWorkflowDefinition, ds as isWorkflowPublished, e5 as mergeWithDefaults, di as neq, dj as or, fN as parsePath, fO as pathHasManyCardinality, hg as recalculateParentRollups, e6 as registry, ih as renderLabelExpression, fU as resolveMultiplePaths, fV as resolveSingleValue, f9 as runWithContext, eV as runWithFeatureFlags, f2 as runWithMergedSchemaContext, f3 as runWithSchemaContext, j1 as seedRegistryViews, dT as setContextValue, fo as success, ie as syncAll, i9 as syncNativeObjects, j2 as syncNativeViews, fW as traversePath, eW as tryGetFeatureValue, fG as validateFormulaExpression, fP as validatePath, ia as verifyNativeObjectsSync, j4 as verifyNativeViewsSync, j3 as verifyRegistryViewsSeeded, e7 as viewRegistry, fp as wait, eX as withFeatureFlags, fa as withTenantContext } from './runtime-Ttkdn9W7.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-BeBrdQCB.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-BeBrdQCB.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';
|
|
@@ -257,6 +257,65 @@ declare class ObjectReferencedError extends Error {
|
|
|
257
257
|
*/
|
|
258
258
|
declare function getErrorMessage(error: unknown): string;
|
|
259
259
|
|
|
260
|
+
/**
|
|
261
|
+
* Structural definition for a workflow node type.
|
|
262
|
+
* Centralizes all type-specific behavior (outputs, slots, validation).
|
|
263
|
+
*/
|
|
264
|
+
interface NodeTypeDefinition<T extends WorkflowNode = WorkflowNode> {
|
|
265
|
+
/** Node type identifier (discriminant) */
|
|
266
|
+
type: T["type"];
|
|
267
|
+
/** Whether this node has a single linear `next` output */
|
|
268
|
+
isLinear: boolean;
|
|
269
|
+
/** Whether this node is structural (start/end) vs action (form/condition/document) */
|
|
270
|
+
structural: boolean;
|
|
271
|
+
/** Get all output node IDs (for graph traversal) */
|
|
272
|
+
getOutputs(node: T): string[];
|
|
273
|
+
/** Set the next target for linear nodes (throws for non-linear) */
|
|
274
|
+
setNext(node: T, targetId: string | null): T;
|
|
275
|
+
/** Get all slot IDs referenced by this node */
|
|
276
|
+
getSlotIds(node: T): string[];
|
|
277
|
+
/** Validate node structure, return error messages */
|
|
278
|
+
validate(node: T): string[];
|
|
279
|
+
}
|
|
280
|
+
declare class NodeTypeRegistryImpl {
|
|
281
|
+
private definitions;
|
|
282
|
+
register<T extends WorkflowNode>(definition: NodeTypeDefinition<T>): void;
|
|
283
|
+
get(type: string): NodeTypeDefinition;
|
|
284
|
+
has(type: string): boolean;
|
|
285
|
+
getAll(): NodeTypeDefinition[];
|
|
286
|
+
getActionTypes(): WorkflowNodeType[];
|
|
287
|
+
}
|
|
288
|
+
declare const nodeTypeRegistry: NodeTypeRegistryImpl;
|
|
289
|
+
/**
|
|
290
|
+
* Get the output node IDs from a node (for graph traversal).
|
|
291
|
+
* Delegates to the registered node type definition.
|
|
292
|
+
*/
|
|
293
|
+
declare function getNodeOutputs(node: WorkflowNode): string[];
|
|
294
|
+
/**
|
|
295
|
+
* Set the next target for a linear node.
|
|
296
|
+
* Throws for non-linear nodes (condition, end).
|
|
297
|
+
*/
|
|
298
|
+
declare function setNodeNext(node: WorkflowNode, targetId: string | null): WorkflowNode;
|
|
299
|
+
/**
|
|
300
|
+
* Get all slot IDs referenced by a node.
|
|
301
|
+
* For form nodes: extracts from fields/rows.
|
|
302
|
+
* For document nodes: returns targetSlotIds.
|
|
303
|
+
* For other nodes: returns [].
|
|
304
|
+
*/
|
|
305
|
+
declare function getNodeSlotIds(node: WorkflowNode): string[];
|
|
306
|
+
/**
|
|
307
|
+
* Validate a node's structure and return error messages.
|
|
308
|
+
*/
|
|
309
|
+
declare function validateNode(node: WorkflowNode): string[];
|
|
310
|
+
/**
|
|
311
|
+
* Extract all field references (slotId + attribute pairs) from a FormNode.
|
|
312
|
+
* Works with both simple mode (fields) and advanced mode (rows).
|
|
313
|
+
*/
|
|
314
|
+
declare function getFormFieldRefs(node: FormNode): Array<{
|
|
315
|
+
slotId: string;
|
|
316
|
+
attribute: string;
|
|
317
|
+
}>;
|
|
318
|
+
|
|
260
319
|
/**
|
|
261
320
|
* Base event interface with common properties
|
|
262
321
|
*/
|
|
@@ -439,6 +498,37 @@ declare function isNodeEvent(event: WorkflowEvent): event is WorkflowNodeEntered
|
|
|
439
498
|
*/
|
|
440
499
|
declare function isInvitationOrGrantEvent(event: WorkflowEvent): event is WorkflowInvitationCreatedEvent | WorkflowInvitationAcceptedEvent | WorkflowGrantRevokedEvent | WorkflowInvitationExpiredEvent;
|
|
441
500
|
|
|
501
|
+
type WorkflowZone = "collect" | "actions";
|
|
502
|
+
declare const ZONE_ORDER: WorkflowZone[];
|
|
503
|
+
declare const ZONE_CONFIG: Record<WorkflowZone, {
|
|
504
|
+
allowedNodeTypes: WorkflowNodeType[];
|
|
505
|
+
}>;
|
|
506
|
+
/**
|
|
507
|
+
* Assign zones to an ordered list of nodes.
|
|
508
|
+
*
|
|
509
|
+
* Logic: linear scan. Each node is assigned to its natural zone based on type.
|
|
510
|
+
* Conditions are assigned to "collect" if they precede a form, "actions" otherwise.
|
|
511
|
+
* Terminal nodes (start, end) are NOT assigned a zone — they return null.
|
|
512
|
+
*/
|
|
513
|
+
declare function assignNodeZones(orderedNodes: WorkflowNode[]): Map<string, WorkflowZone | null>;
|
|
514
|
+
interface GroupedWorkflowNodes {
|
|
515
|
+
/** The start node (always exactly one) */
|
|
516
|
+
start: WorkflowNode | null;
|
|
517
|
+
/** Nodes grouped by zone, preserving order */
|
|
518
|
+
zones: Record<WorkflowZone, WorkflowNode[]>;
|
|
519
|
+
/** The end node (always exactly one) */
|
|
520
|
+
end: WorkflowNode | null;
|
|
521
|
+
}
|
|
522
|
+
/**
|
|
523
|
+
* Group ordered nodes by zone, preserving order within each zone.
|
|
524
|
+
* Terminal nodes (start, end) are extracted separately.
|
|
525
|
+
*/
|
|
526
|
+
declare function groupNodesByZone(orderedNodes: WorkflowNode[]): GroupedWorkflowNodes;
|
|
527
|
+
/**
|
|
528
|
+
* Get allowed node types for a given zone.
|
|
529
|
+
*/
|
|
530
|
+
declare function getZoneAllowedTypes(zone: WorkflowZone): WorkflowNodeType[];
|
|
531
|
+
|
|
442
532
|
/**
|
|
443
533
|
* All valid condition operators
|
|
444
534
|
*/
|
|
@@ -625,19 +715,59 @@ declare const ConditionNodeSchema: z.ZodObject<{
|
|
|
625
715
|
onFalse: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
626
716
|
}, z.core.$strip>;
|
|
627
717
|
/**
|
|
628
|
-
*
|
|
718
|
+
* Assignment source schema (discriminated union)
|
|
719
|
+
*/
|
|
720
|
+
declare const AssignmentSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
721
|
+
type: z.ZodLiteral<"expression">;
|
|
722
|
+
template: z.ZodString;
|
|
723
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
724
|
+
type: z.ZodLiteral<"slot-ref">;
|
|
725
|
+
slotId: z.ZodString;
|
|
726
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
727
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
728
|
+
type: z.ZodLiteral<"static">;
|
|
729
|
+
value: z.ZodUnknown;
|
|
730
|
+
}, z.core.$strip>], "type">;
|
|
731
|
+
/**
|
|
732
|
+
* Assignment mapping schema
|
|
733
|
+
*/
|
|
734
|
+
declare const AssignmentMappingSchema: z.ZodObject<{
|
|
735
|
+
targetAttribute: z.ZodString;
|
|
736
|
+
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
737
|
+
type: z.ZodLiteral<"expression">;
|
|
738
|
+
template: z.ZodString;
|
|
739
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
740
|
+
type: z.ZodLiteral<"slot-ref">;
|
|
741
|
+
slotId: z.ZodString;
|
|
742
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
743
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
744
|
+
type: z.ZodLiteral<"static">;
|
|
745
|
+
value: z.ZodUnknown;
|
|
746
|
+
}, z.core.$strip>], "type">;
|
|
747
|
+
}, z.core.$strip>;
|
|
748
|
+
/**
|
|
749
|
+
* Assign node schema
|
|
629
750
|
*/
|
|
630
|
-
declare const
|
|
631
|
-
type: z.ZodLiteral<"
|
|
751
|
+
declare const AssignNodeSchema: z.ZodObject<{
|
|
752
|
+
type: z.ZodLiteral<"assign">;
|
|
632
753
|
id: z.ZodString;
|
|
633
754
|
label: z.ZodString;
|
|
634
755
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
756
|
+
targetSlotId: z.ZodString;
|
|
757
|
+
assignments: z.ZodArray<z.ZodObject<{
|
|
758
|
+
targetAttribute: z.ZodString;
|
|
759
|
+
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
760
|
+
type: z.ZodLiteral<"expression">;
|
|
761
|
+
template: z.ZodString;
|
|
762
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
763
|
+
type: z.ZodLiteral<"slot-ref">;
|
|
764
|
+
slotId: z.ZodString;
|
|
765
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
766
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
767
|
+
type: z.ZodLiteral<"static">;
|
|
768
|
+
value: z.ZodUnknown;
|
|
769
|
+
}, z.core.$strip>], "type">;
|
|
770
|
+
}, z.core.$strip>>;
|
|
641
771
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
642
772
|
}, z.core.$strip>;
|
|
643
773
|
/**
|
|
@@ -723,16 +853,25 @@ declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
723
853
|
onTrue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
724
854
|
onFalse: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
725
855
|
}, z.core.$strip>, z.ZodObject<{
|
|
726
|
-
type: z.ZodLiteral<"
|
|
856
|
+
type: z.ZodLiteral<"assign">;
|
|
727
857
|
id: z.ZodString;
|
|
728
858
|
label: z.ZodString;
|
|
729
859
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
860
|
+
targetSlotId: z.ZodString;
|
|
861
|
+
assignments: z.ZodArray<z.ZodObject<{
|
|
862
|
+
targetAttribute: z.ZodString;
|
|
863
|
+
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
864
|
+
type: z.ZodLiteral<"expression">;
|
|
865
|
+
template: z.ZodString;
|
|
866
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
867
|
+
type: z.ZodLiteral<"slot-ref">;
|
|
868
|
+
slotId: z.ZodString;
|
|
869
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
870
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
871
|
+
type: z.ZodLiteral<"static">;
|
|
872
|
+
value: z.ZodUnknown;
|
|
873
|
+
}, z.core.$strip>], "type">;
|
|
874
|
+
}, z.core.$strip>>;
|
|
736
875
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
737
876
|
}, z.core.$strip>, z.ZodObject<{
|
|
738
877
|
type: z.ZodLiteral<"end">;
|
|
@@ -1012,16 +1151,25 @@ declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1012
1151
|
onTrue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1013
1152
|
onFalse: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1014
1153
|
}, z.core.$strip>, z.ZodObject<{
|
|
1015
|
-
type: z.ZodLiteral<"
|
|
1154
|
+
type: z.ZodLiteral<"assign">;
|
|
1016
1155
|
id: z.ZodString;
|
|
1017
1156
|
label: z.ZodString;
|
|
1018
1157
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1158
|
+
targetSlotId: z.ZodString;
|
|
1159
|
+
assignments: z.ZodArray<z.ZodObject<{
|
|
1160
|
+
targetAttribute: z.ZodString;
|
|
1161
|
+
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1162
|
+
type: z.ZodLiteral<"expression">;
|
|
1163
|
+
template: z.ZodString;
|
|
1164
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1165
|
+
type: z.ZodLiteral<"slot-ref">;
|
|
1166
|
+
slotId: z.ZodString;
|
|
1167
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1168
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1169
|
+
type: z.ZodLiteral<"static">;
|
|
1170
|
+
value: z.ZodUnknown;
|
|
1171
|
+
}, z.core.$strip>], "type">;
|
|
1172
|
+
}, z.core.$strip>>;
|
|
1025
1173
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1026
1174
|
}, z.core.$strip>, z.ZodObject<{
|
|
1027
1175
|
type: z.ZodLiteral<"end">;
|
|
@@ -2193,7 +2341,6 @@ declare function rollup<TName extends string>(config: TypedBuilderConfig<TName>)
|
|
|
2193
2341
|
* @example Multiple documents
|
|
2194
2342
|
* ```typescript
|
|
2195
2343
|
* document({ name: "contracts", label: "Contrats" })
|
|
2196
|
-
* .template("signable_contract")
|
|
2197
2344
|
* .multiple()
|
|
2198
2345
|
* .maxDocuments(10)
|
|
2199
2346
|
* ```
|
|
@@ -2205,16 +2352,6 @@ declare class DocumentAttributeBuilder<TName extends string, TRequired extends b
|
|
|
2205
2352
|
required: TRequired;
|
|
2206
2353
|
};
|
|
2207
2354
|
constructor(name: TName, label: string);
|
|
2208
|
-
/**
|
|
2209
|
-
* Set a single required template.
|
|
2210
|
-
* Only documents using this template can be attached.
|
|
2211
|
-
*/
|
|
2212
|
-
template(templateId: string): this;
|
|
2213
|
-
/**
|
|
2214
|
-
* Set multiple allowed templates.
|
|
2215
|
-
* User can choose which template to use when uploading.
|
|
2216
|
-
*/
|
|
2217
|
-
templates(templateIds: string[]): this;
|
|
2218
2355
|
/**
|
|
2219
2356
|
* Allow multiple documents.
|
|
2220
2357
|
* Value becomes string[] instead of string.
|
|
@@ -3461,6 +3598,41 @@ declare class WorkflowConditionBuilder {
|
|
|
3461
3598
|
onFalse: (nodeId: string) => WorkflowBuilder;
|
|
3462
3599
|
};
|
|
3463
3600
|
}
|
|
3601
|
+
/**
|
|
3602
|
+
* Builder for creating assign nodes (set values on a target slot)
|
|
3603
|
+
*/
|
|
3604
|
+
declare class WorkflowAssignBuilder {
|
|
3605
|
+
private workflowBuilder;
|
|
3606
|
+
private nodeId;
|
|
3607
|
+
private label;
|
|
3608
|
+
private nodeDescription?;
|
|
3609
|
+
private targetSlotId;
|
|
3610
|
+
private assignments;
|
|
3611
|
+
/** @internal */
|
|
3612
|
+
constructor(workflowBuilder: WorkflowBuilder, nodeId: string, label: string, targetSlotId: string);
|
|
3613
|
+
/**
|
|
3614
|
+
* Set an attribute using an expression template.
|
|
3615
|
+
* Uses mustache syntax: `{{ slotId.attribute }}`.
|
|
3616
|
+
*/
|
|
3617
|
+
expression(targetAttribute: string, template: string): this;
|
|
3618
|
+
/**
|
|
3619
|
+
* Link a relation attribute to a slot's record.
|
|
3620
|
+
* Optionally include qualified relation properties.
|
|
3621
|
+
*/
|
|
3622
|
+
slotRef(targetAttribute: string, slotId: string, properties?: Record<string, unknown>): this;
|
|
3623
|
+
/**
|
|
3624
|
+
* Set a static value on an attribute
|
|
3625
|
+
*/
|
|
3626
|
+
setValue(targetAttribute: string, value: unknown): this;
|
|
3627
|
+
/**
|
|
3628
|
+
* Set the description for this assign node
|
|
3629
|
+
*/
|
|
3630
|
+
describe(description: string): this;
|
|
3631
|
+
/**
|
|
3632
|
+
* Set the next node and complete the assign definition
|
|
3633
|
+
*/
|
|
3634
|
+
next(nodeId: string): WorkflowBuilder;
|
|
3635
|
+
}
|
|
3464
3636
|
/**
|
|
3465
3637
|
* Builder for creating end nodes
|
|
3466
3638
|
*/
|
|
@@ -3594,6 +3766,10 @@ declare class WorkflowBuilder {
|
|
|
3594
3766
|
* Define a condition node
|
|
3595
3767
|
*/
|
|
3596
3768
|
condition(id: string, label: string): WorkflowConditionBuilder;
|
|
3769
|
+
/**
|
|
3770
|
+
* Define an assign node (set values on a target slot)
|
|
3771
|
+
*/
|
|
3772
|
+
assign(id: string, label: string, targetSlotId: string): WorkflowAssignBuilder;
|
|
3597
3773
|
/**
|
|
3598
3774
|
* Define an end node
|
|
3599
3775
|
*/
|
|
@@ -4218,59 +4394,4 @@ declare function resetViewToDefault(currentView: ViewDefinition, object: ObjectD
|
|
|
4218
4394
|
*/
|
|
4219
4395
|
declare function isViewCustomized(view: ViewDefinition, object: ObjectDefinition): boolean;
|
|
4220
4396
|
|
|
4221
|
-
|
|
4222
|
-
readonly FRENCH_ID_CARD: "00000000-0000-0000-0001-000000000001";
|
|
4223
|
-
readonly PASSPORT: "00000000-0000-0000-0001-000000000002";
|
|
4224
|
-
readonly DRIVING_LICENSE: "00000000-0000-0000-0001-000000000003";
|
|
4225
|
-
readonly PROOF_OF_ADDRESS: "00000000-0000-0000-0001-000000000004";
|
|
4226
|
-
readonly SIGNABLE_CONTRACT: "00000000-0000-0000-0001-000000000005";
|
|
4227
|
-
readonly GENERIC_DOCUMENT: "00000000-0000-0000-0001-000000000006";
|
|
4228
|
-
};
|
|
4229
|
-
/**
|
|
4230
|
-
* French National ID Card template.
|
|
4231
|
-
* Requires front (recto) and back (verso) images.
|
|
4232
|
-
* Automatically triggers OCR and identity verification.
|
|
4233
|
-
*/
|
|
4234
|
-
declare const FRENCH_ID_CARD: DocumentTemplate;
|
|
4235
|
-
/**
|
|
4236
|
-
* Passport template.
|
|
4237
|
-
* Requires the data page (photo + MRZ).
|
|
4238
|
-
* Optionally allows additional pages.
|
|
4239
|
-
*/
|
|
4240
|
-
declare const PASSPORT: DocumentTemplate;
|
|
4241
|
-
/**
|
|
4242
|
-
* Driving License template.
|
|
4243
|
-
* Can be single or double-sided depending on country.
|
|
4244
|
-
*/
|
|
4245
|
-
declare const DRIVING_LICENSE: DocumentTemplate;
|
|
4246
|
-
/**
|
|
4247
|
-
* Proof of Address template.
|
|
4248
|
-
* Single document (utility bill, bank statement, etc.).
|
|
4249
|
-
*/
|
|
4250
|
-
declare const PROOF_OF_ADDRESS: DocumentTemplate;
|
|
4251
|
-
/**
|
|
4252
|
-
* Signable Contract template.
|
|
4253
|
-
* PDF document that requires electronic signature.
|
|
4254
|
-
*/
|
|
4255
|
-
declare const SIGNABLE_CONTRACT: DocumentTemplate;
|
|
4256
|
-
/**
|
|
4257
|
-
* Generic Document template.
|
|
4258
|
-
* Single file of any type, no automatic processing.
|
|
4259
|
-
* Used as default when no specific template is required.
|
|
4260
|
-
*/
|
|
4261
|
-
declare const GENERIC_DOCUMENT: DocumentTemplate;
|
|
4262
|
-
/**
|
|
4263
|
-
* All system templates.
|
|
4264
|
-
* Use this to seed the database or for template lookups.
|
|
4265
|
-
*/
|
|
4266
|
-
declare const SYSTEM_TEMPLATES: DocumentTemplate[];
|
|
4267
|
-
/**
|
|
4268
|
-
* Get a system template by name.
|
|
4269
|
-
*/
|
|
4270
|
-
declare function getSystemTemplate(name: string): DocumentTemplate | undefined;
|
|
4271
|
-
/**
|
|
4272
|
-
* Check if a template name is a system template.
|
|
4273
|
-
*/
|
|
4274
|
-
declare function isSystemTemplate(name: string): boolean;
|
|
4275
|
-
|
|
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 };
|
|
4397
|
+
export { ALL_SYSTEM_RESOURCES, Action, ActivityTabConfig, type AgentContentPart, type AgentMessage, type AnyAttributeBuilder, AssignNodeSchema, AssignmentMappingSchema, AssignmentSourceSchema, 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, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DetailViewBuilder, DetailViewDefinition, DetailViewLayout, DocumentAttribute, DocumentsTabConfig, DuplicateError, EMPTY_VALUE_PLACEHOLDER, EndNodeSchema, type ExtractAttributeName, type ExtractAttributeRequired, FeatureFlagDefinition, FeatureFlagsRepository, FeatureGate, Field, FieldGroup, FileAttribute, FileNotFoundError, FilterState, FlagLevel, FlagRegistry, type FlagResolutionContext, FlagService, type FlagServiceOptions, FlagValueType, FlowFieldsRow, FlowRowFieldSchema, FlowRowSchema, FlowsTabConfig, ForbiddenError, FormFieldRefSchema, FormNode, FormNodeSchema, FormulaAttribute, FormulaReturnType, type GenerateFallbackViewOptions, Group, GroupBuilder, type GroupedWorkflowNodes, IDENTITY_PROPERTIES, type IdentityProperty, InferAttributeValue, InstanceStatus, ListViewBuilder, ListViewConfig, ListViewDefinition, ListViewTab, ListViewTabConfigBuilder, LocationAttribute, MultiRelationAttribute, MultiselectAttribute, NodePositionSchema, type NodeTypeDefinition, NotFoundError, NotSystemObjectError, NumberAttribute, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, ObjectReferencedError, Option, PRESENTATION_PROPERTIES, 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, SYSTEM_ATTRIBUTES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, 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, WorkflowAssignBuilder, 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, WorkflowNodeType, WorkflowShareSchema, WorkflowSimpleFormBuilder, WorkflowSlotSchema, WorkflowStartBuilder, WorkflowStatusSchema, WorkflowTheme, WorkflowThemeSchema, type WorkflowZone, ZONE_CONFIG, ZONE_ORDER, applyRelationProps, assignNodeZones, booleanFlag, checkbox, createFlagRegistry, createFlagService, currency, date, detailView, document, file, flagRegistry, formatAttributeValue, formatPhoneForDisplay, formula, generateDefaultDetailView, generateDefaultListView, generateFallbackView, getActiveTab, getErrorMessage, getFormFieldRefs, getNodeOutputs, getNodeSlotIds, getSystemAttributeList, getZoneAllowedTypes, group, groupNodesByZone, hasProperties, isBehaviorProperty, isDefaultRole, isEmpty, isForbiddenError, isIdentityProperty, isInstanceEvent, isInvitationOrGrantEvent, isNodeEvent, isNotEmpty, isNotFoundError, isPresentationProperty, isProtectedResourceError, isSchemaError, isSystemAttribute, isSystemAttributeObject, isValidationError, isViewCustomized, jsonFlag, listView, location, multiselect, nodeTypeRegistry, normalizePhoneNumber, number, numberFlag, object, parseRawPhoneInput, phone, rating, relation, relationGroup, resetViewToDefault, richtext, rollup, select, setNodeNext, status, stringFlag, text, textarea, toUndefinedIfEmpty, user, validateNode, validatePhoneNumber, view, workflow };
|