@stndrds/schema 1.0.0-alpha.72 → 1.0.0-alpha.73

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.
@@ -2000,29 +2000,40 @@ type ExtractObjectRecordWithCustom<TBuilder> = TBuilder extends {
2000
2000
  /**
2001
2001
  * Scope of a permission rule.
2002
2002
  * - `object`: Controls access to an entire object type (business data)
2003
- * - `system`: Controls access to platform resources (users, schema, roles)
2004
- * - `attribute`: Controls access to specific fields (Phase 2)
2005
- * - `record`: Controls access to specific records via filters (Phase 3)
2003
+ * - `system`: Controls access to platform resources (people, workspace)
2006
2004
  */
2007
- type PermissionScope = "object" | "system" | "attribute" | "record";
2005
+ type PermissionScope = "object" | "system";
2008
2006
  /**
2009
- * Actions that can be performed on an object.
2007
+ * Actions that can be performed on a resource.
2010
2008
  */
2011
- type ObjectAction = "read" | "create" | "update" | "delete";
2009
+ type Action = "read" | "create" | "update" | "delete";
2010
+ /** @deprecated Use Action directly */
2011
+ type ObjectAction = Action;
2012
+ /** @deprecated Use Action directly */
2013
+ type SystemAction = Action;
2012
2014
  /**
2013
2015
  * System resources that can be managed.
2014
- * - `users`: User profiles and invitations
2015
- * - `schema`: Object definitions and attributes
2016
- * - `roles`: Roles and permissions
2017
- * - `settings`: Tenant settings and configuration
2018
- * - `files`: File uploads and storage
2016
+ * - `people`: User profiles, invitations, roles and permissions
2017
+ * - `workspace`: Object definitions, attributes, tenant settings, audit logs
2019
2018
  */
2020
- type SystemResource = "users" | "schema" | "roles" | "settings" | "audit" | "files";
2019
+ type SystemResource = "people" | "workspace";
2021
2020
  /**
2022
- * Actions that can be performed on system resources.
2023
- * Same as ObjectAction for consistency.
2021
+ * Preset access levels for simplified permission configuration.
2022
+ * - `full`: All CRUD actions
2023
+ * - `read-only`: Only read action
2024
+ * - `none`: No actions
2025
+ * - `custom`: Manual selection of individual actions
2024
2026
  */
2025
- type SystemAction = "read" | "create" | "update" | "delete";
2027
+ type AccessLevel = "full" | "read-only" | "none" | "custom";
2028
+ declare const ALL_ACTIONS: Action[];
2029
+ /**
2030
+ * Derive an AccessLevel from a list of actions.
2031
+ */
2032
+ declare function actionsToAccessLevel(actions: Action[]): AccessLevel;
2033
+ /**
2034
+ * Convert an AccessLevel preset to its corresponding actions.
2035
+ */
2036
+ declare function accessLevelToActions(level: Exclude<AccessLevel, "custom">): Action[];
2026
2037
  /**
2027
2038
  * Role definition - Groups permissions together.
2028
2039
  *
@@ -2030,12 +2041,12 @@ type SystemAction = "read" | "create" | "update" | "delete";
2030
2041
  *
2031
2042
  * @example
2032
2043
  * ```typescript
2033
- * const adminRole: Role = {
2044
+ * const ownerRole: Role = {
2034
2045
  * id: "role-123",
2035
2046
  * tenantId: "tenant-456",
2036
- * name: "admin",
2037
- * label: "Administrator",
2038
- * description: "Full access to all objects",
2047
+ * name: "owner",
2048
+ * label: "Owner",
2049
+ * description: "Full access to all platform features and data",
2039
2050
  * system: true,
2040
2051
  * createdAt: new Date(),
2041
2052
  * updatedAt: new Date(),
@@ -2047,7 +2058,7 @@ interface Role extends Timestamps {
2047
2058
  tenantId: Uuid;
2048
2059
  /**
2049
2060
  * Technical name (unique per tenant, used in code).
2050
- * Examples: "admin", "member", "sales_manager"
2061
+ * Examples: "owner", "member", "sales_manager"
2051
2062
  */
2052
2063
  name: string;
2053
2064
  /**
@@ -2060,8 +2071,7 @@ interface Role extends Timestamps {
2060
2071
  description?: string;
2061
2072
  /**
2062
2073
  * If true, this role cannot be modified or deleted.
2063
- * Used for built-in roles like "admin".
2064
- * Follows the same naming convention as ObjectDefinition.system.
2074
+ * Used for built-in roles like "owner".
2065
2075
  */
2066
2076
  system: boolean;
2067
2077
  }
@@ -2069,7 +2079,7 @@ interface Role extends Timestamps {
2069
2079
  * Permission definition - Grants specific actions on a target.
2070
2080
  *
2071
2081
  * A permission belongs to a role and defines what actions are allowed
2072
- * on a specific target (object, attribute, or record filter).
2082
+ * on a specific target (object or system resource).
2073
2083
  *
2074
2084
  * @example
2075
2085
  * ```typescript
@@ -2104,21 +2114,13 @@ interface Permission {
2104
2114
  /**
2105
2115
  * Target of the permission.
2106
2116
  * - For `object` scope: object name (e.g., "companies") or "*" for all
2107
- * - For `system` scope: system resource (e.g., "users", "schema") or "*" for all
2108
- * - For `attribute` scope: "objectName.attributeName"
2109
- * - For `record` scope: object name (filter is in `filter` field)
2117
+ * - For `system` scope: system resource (e.g., "people", "workspace") or "*" for all
2110
2118
  */
2111
2119
  target: string;
2112
2120
  /**
2113
2121
  * Actions allowed on the target.
2114
- * For object/system scopes: "read", "create", "update", "delete"
2115
2122
  */
2116
- actions: ObjectAction[] | SystemAction[];
2117
- /**
2118
- * JSON filter for record-level permissions (Phase 3).
2119
- * Supports template variables like `{{ currentUser.id }}`.
2120
- */
2121
- filter?: Record<string, unknown>;
2123
+ actions: Action[];
2122
2124
  createdAt: Date;
2123
2125
  }
2124
2126
  /**
@@ -2165,13 +2167,13 @@ interface EffectivePermissions {
2165
2167
  * Key is the object name, value is array of allowed actions.
2166
2168
  * Special key "*" means permission applies to all objects.
2167
2169
  */
2168
- objectPermissions: Record<string, ObjectAction[]>;
2170
+ objectPermissions: Record<string, Action[]>;
2169
2171
  /**
2170
2172
  * System-level permissions.
2171
- * Key is the system resource (users, schema, roles, settings), value is array of allowed actions.
2173
+ * Key is the system resource (people, workspace), value is array of allowed actions.
2172
2174
  * Special key "*" means permission applies to all system resources.
2173
2175
  */
2174
- systemPermissions: Record<string, SystemAction[]>;
2176
+ systemPermissions: Record<string, Action[]>;
2175
2177
  }
2176
2178
  /**
2177
2179
  * Permissions for a specific object.
@@ -2217,10 +2219,8 @@ interface CreatePermissionInput {
2217
2219
  target: string;
2218
2220
  /**
2219
2221
  * Actions allowed on the target.
2220
- * For object/system scopes: "read", "create", "update", "delete"
2221
2222
  */
2222
- actions: ObjectAction[] | SystemAction[];
2223
- filter?: Record<string, unknown>;
2223
+ actions: Action[];
2224
2224
  }
2225
2225
  /**
2226
2226
  * Input for assigning a role to a user.
@@ -4460,29 +4460,6 @@ declare class PolicyViolationError extends Error {
4460
4460
  constructor(objectName: string, action: "read" | "update" | "delete", recordId?: string | undefined);
4461
4461
  }
4462
4462
 
4463
- /**
4464
- * Simple user role for basic authorization.
4465
- *
4466
- * COEXISTENCE WITH RBAC:
4467
- * This simple role system coexists with the granular RBAC system (see `permissions.ts`).
4468
- *
4469
- * - **UserProfile.role**: Simple string-based role for quick access checks.
4470
- * Used for high-level authorization (e.g., "is this user an admin?").
4471
- * Values: "admin" | "member" | "guest" | custom strings.
4472
- *
4473
- * - **RBAC System (Role, Permission, UserRoleAssignment)**: Fine-grained permissions
4474
- * for object-level access control (read/create/update/delete per object type).
4475
- * Used for detailed authorization (e.g., "can this user update companies?").
4476
- *
4477
- * MIGRATION STRATEGY:
4478
- * 1. For simple apps: Use only `UserProfile.role` - sufficient for basic admin/member checks.
4479
- * 2. For complex apps: Use RBAC for granular permissions, `UserProfile.role` becomes informational.
4480
- * 3. The `PermissionService.getEffectivePermissions()` automatically grants admin bypass
4481
- * when a user has a role named "admin" in the RBAC system.
4482
- *
4483
- * @see permissions.ts for the full RBAC implementation
4484
- */
4485
- type UserRole = "admin" | "member" | "guest" | string;
4486
4463
  /**
4487
4464
  * User status for account management
4488
4465
  */
@@ -4494,13 +4471,12 @@ type UserStatus = "active" | "pending" | "inactive" | "suspended";
4494
4471
  * - authId links to external auth provider (Supabase, Clerk, Auth0, etc.)
4495
4472
  * - email is denormalized from auth provider for performance
4496
4473
  * - Auth provider handles authentication (passwords, sessions, OAuth)
4497
- * - This type handles authorization (roles, permissions, tenant membership)
4474
+ * - This type handles authorization (permissions, tenant membership)
4498
4475
  *
4499
- * RELATIONSHIP WITH RBAC:
4476
+ * RBAC:
4500
4477
  * - `UserProfile.id` is used as `userProfileId` in `UserRoleAssignment`
4501
4478
  * - The RBAC system assigns multiple roles to a UserProfile
4502
- * - For simple use cases, `UserProfile.role` is sufficient
4503
- * - For granular permissions, use the RBAC system via `PermissionService`
4479
+ * - Use `PermissionService` for permission checks
4504
4480
  *
4505
4481
  * @example
4506
4482
  * ```typescript
@@ -4511,7 +4487,6 @@ type UserStatus = "active" | "pending" | "inactive" | "suspended";
4511
4487
  * email: "john@example.com",
4512
4488
  * firstName: "John",
4513
4489
  * lastName: "Doe",
4514
- * role: "admin",
4515
4490
  * status: "active",
4516
4491
  * createdAt: new Date(),
4517
4492
  * updatedAt: new Date(),
@@ -4543,18 +4518,6 @@ interface UserProfile extends Timestamps {
4543
4518
  * Avatar/profile picture URL
4544
4519
  */
4545
4520
  avatarUrl?: string;
4546
- /**
4547
- * Simple role for basic authorization checks.
4548
- *
4549
- * Common values: "admin", "member", "guest"
4550
- *
4551
- * NOTE: For granular object-level permissions, use the RBAC system
4552
- * (Role, Permission, UserRoleAssignment) via PermissionService.
4553
- * This field is kept for backward compatibility and simple use cases.
4554
- *
4555
- * @see UserRoleAssignment for the RBAC relationship
4556
- */
4557
- role: UserRole;
4558
4521
  /**
4559
4522
  * Account status
4560
4523
  * - active: Normal user, full access
@@ -4578,7 +4541,6 @@ interface CreateUserProfile {
4578
4541
  firstName?: string;
4579
4542
  lastName?: string;
4580
4543
  avatarUrl?: string;
4581
- role?: UserRole;
4582
4544
  status?: UserStatus;
4583
4545
  }
4584
4546
  /**
@@ -4588,13 +4550,13 @@ interface UpdateUserProfile {
4588
4550
  firstName?: string;
4589
4551
  lastName?: string;
4590
4552
  avatarUrl?: string;
4591
- role?: UserRole;
4592
4553
  status?: UserStatus;
4593
4554
  lastLoginAt?: Date;
4594
4555
  }
4595
4556
  /**
4596
4557
  * Data for inviting a new user by email.
4597
4558
  * Creates a pending user profile and sends an invitation email via Supabase Auth.
4559
+ * The member role is assigned automatically by the service.
4598
4560
  */
4599
4561
  interface InviteUserInput {
4600
4562
  /** Email address to invite */
@@ -4603,8 +4565,6 @@ interface InviteUserInput {
4603
4565
  firstName?: string;
4604
4566
  /** User's last name (stored in user_metadata) */
4605
4567
  lastName?: string;
4606
- /** Role to assign (defaults to "member") */
4607
- role?: UserRole;
4608
4568
  /** URL to redirect after accepting invitation */
4609
4569
  redirectTo?: string;
4610
4570
  }
@@ -5504,9 +5464,14 @@ interface UserProfilesRepository {
5504
5464
  */
5505
5465
  list(options?: ListOptions): Promise<UserProfile[]>;
5506
5466
  /**
5507
- * Count user profiles by role within current tenant.
5467
+ * Get users with their assigned roles.
5468
+ * Optionally filter by allowed role names.
5508
5469
  */
5509
- countByRole(role: string): Promise<number>;
5470
+ getUsersWithRoles(filters?: {
5471
+ allowedRoles?: string[];
5472
+ }): Promise<(UserProfile & {
5473
+ roles: Role[];
5474
+ })[]>;
5510
5475
  /**
5511
5476
  * Update last login timestamp.
5512
5477
  * Automatically filtered by current tenant context.
@@ -5622,6 +5587,10 @@ interface PermissionsRepository {
5622
5587
  assignRole(input: AssignRoleInput): Promise<UserRoleAssignment>;
5623
5588
  revokeRole(userProfileId: Uuid, roleId: Uuid): Promise<void>;
5624
5589
  getEffectivePermissions(userProfileId: Uuid): Promise<EffectivePermissions>;
5590
+ /**
5591
+ * Count users that have a specific role assigned within the current tenant.
5592
+ */
5593
+ countUsersWithRole(roleName: string): Promise<number>;
5625
5594
  }
5626
5595
 
5627
5596
  /**
@@ -11821,7 +11790,6 @@ declare class UserProfileService extends BaseService {
11821
11790
  * email: authUser.email,
11822
11791
  * firstName: authUser.user_metadata.first_name,
11823
11792
  * lastName: authUser.user_metadata.last_name,
11824
- * role: "member",
11825
11793
  * status: "active"
11826
11794
  * });
11827
11795
  * ```
@@ -11862,7 +11830,6 @@ declare class UserProfileService extends BaseService {
11862
11830
  * {
11863
11831
  * authId: authUser.id,
11864
11832
  * email: authUser.email,
11865
- * role: "member",
11866
11833
  * status: "active"
11867
11834
  * }
11868
11835
  * );
@@ -11901,13 +11868,6 @@ declare class UserProfileService extends BaseService {
11901
11868
  * ```
11902
11869
  */
11903
11870
  updateLastLogin(profileId: string): Promise<void>;
11904
- /**
11905
- * Change user role
11906
- *
11907
- * @param profileId - Profile UUID
11908
- * @param newRole - New role
11909
- */
11910
- changeRole(profileId: string, newRole: string): Promise<UserProfile>;
11911
11871
  /**
11912
11872
  * Change user status
11913
11873
  *
@@ -11921,14 +11881,6 @@ declare class UserProfileService extends BaseService {
11921
11881
  * Automatically uses tenant context from AsyncLocalStorage.
11922
11882
  */
11923
11883
  getProfileByEmail(email: string): Promise<UserProfile | null>;
11924
- /**
11925
- * Check if user has role
11926
- */
11927
- hasRole(profileId: string, role: string): Promise<boolean>;
11928
- /**
11929
- * Check if user is admin
11930
- */
11931
- isAdmin(profileId: string): Promise<boolean>;
11932
11884
  /**
11933
11885
  * Invite a new user by email.
11934
11886
  *
@@ -11949,7 +11901,6 @@ declare class UserProfileService extends BaseService {
11949
11901
  * email: "john@example.com",
11950
11902
  * firstName: "John",
11951
11903
  * lastName: "Doe",
11952
- * role: "member",
11953
11904
  * redirectTo: "https://app.example.com/welcome",
11954
11905
  * });
11955
11906
  * // Email sent automatically, profile.status === "pending"
@@ -12807,4 +12758,4 @@ interface FullSyncOptions extends SyncOptions, ViewSyncOptions {
12807
12758
  */
12808
12759
  declare function syncAll(adapter: DatabaseAdapter, objectRegistry: typeof registry, nativeViewRegistry: typeof viewRegistry, options?: FullSyncOptions): Promise<FullSyncResult>;
12809
12760
 
12810
- export { type AIThinkingLevel as $, type AttributeGroupField as A, type BoundingBox as B, type CreateMode as C, type DetailViewLayout as D, type CreateSignatureInput as E, type Field as F, type Group as G, type SignerRequest as H, type InferAttributeValue as I, type SignaturePosition as J, type SignatureRequestResult as K, type ListViewDefinition as L, type SignatureStatusResult as M, type SignerStatus as N, type ObjectAction as O, type SignatureStatus as P, type IdentityVerificationAdapter as Q, type RelationGroup as R, type SystemResource as S, type Tab as T, type VerifyInput as U, type ViewType as V, type WorkflowTheme as W, type VerificationResult as X, type DocumentData as Y, type VerificationCheck as Z, type AIMessageRole as _, type SystemAction as a, type CreateProcessingJob as a$, type AIToolCallStatus as a0, type AIToolCall as a1, type AIChatMessagePartType as a2, type TextPartData as a3, type ToolPartData as a4, type ThinkingPartData as a5, type ReasoningPartData as a6, type AIChatMessagePart as a7, type AIChatMessage as a8, type AIQuestionType as a9, type CreateAuditLogInput as aA, type AuditListOptions as aB, type AuditServiceOptions as aC, type VariableMapping as aD, type PdfTemplateField as aE, type TemplateSource as aF, type DocumentGenerationTemplate as aG, type CreateDocumentGenerationTemplate as aH, type UpdateDocumentGenerationTemplate as aI, type PendingDocumentRequest as aJ, type DocumentSlotDefinition as aK, type DocumentAutoProcessing as aL, type ExtractionMapping as aM, type ExtractionField as aN, type Document as aO, type DocumentStatus as aP, type DocumentSlot as aQ, type SlotStatus as aR, type ProcessingJob as aS, type ProcessingJobType as aT, type ProcessingJobStatus as aU, type CreateDocument as aV, type UpdateDocument as aW, type CreateDocumentTemplate as aX, type UpdateDocumentTemplate as aY, type CreateDocumentSlot as aZ, type UpdateDocumentSlot as a_, type AIQuestionOption as aa, type AIQuestion as ab, type AIQuestionAnswer as ac, type AIBatchQuestionOption as ad, type AIBatchQuestion as ae, type AIBatchQuestionAnswer as af, type AITodoStatus as ag, type AITodoItem as ah, type AITodoList as ai, type AIMessageAttachment as aj, type AIConversation as ak, type AIMessage as al, type AIToolCallRecord as am, type AIUserMemory as an, type AIUsageMetrics as ao, type AIProviderMetrics as ap, type CreateAIMessageInput as aq, type AIMemoryType as ar, type AIMemoryEntry as as, type AITenantPersona as at, type AICompactionSummary as au, type AuditResourceType as av, type AuditAction as aw, type AuditActorType as ax, type AuditChange as ay, type AuditLogEntry as az, type FieldGroup as b, type ExtractRecordUpdate as b$, type UpdateProcessingJob as b0, type DocumentListOptions as b1, type DocumentTemplateListOptions as b2, type StorageProvider as b3, type FileVisibility as b4, type File as b5, type CreateFile as b6, type UpdateFile as b7, type TextFilterOperator as b8, type NumberFilterOperator as b9, type FlowDefinition as bA, isFlowDefinition as bB, isFlowPublished as bC, isSystemFlow as bD, type GeocodingSuggestion as bE, type GeocodingAutocompleteParams as bF, type ReverseGeocodingParams as bG, type GeocodingParams as bH, type GeocodingAdapter as bI, NoopGeocodingAdapter as bJ, type AttributeSchema as bK, type InferRecordFromSchema as bL, type InferRecordWithRequirements as bM, type TypedAttribute as bN, type AttributeMap as bO, type AddAttribute as bP, type InferRecord as bQ, type InferRecordInput as bR, type InferRecordUpdate as bS, type CustomAttributeValue as bT, type WithCustomAttributes as bU, type RecordMetadata as bV, type SystemFields as bW, type ExtractRecord as bX, type ExtractRecordStrict as bY, type ExtractRecordInput as bZ, type ExtractRecordInputStrict as b_, type CheckboxFilterOperator as ba, type DateFilterOperator as bb, type SelectFilterOperator as bc, type MultiselectFilterOperator as bd, type RelationFilterOperator as be, type FilterOperator as bf, type RelativeDateValue as bg, type CurrencyFilterValue as bh, type PhoneFilterValue as bi, type FilterValue as bj, type FilterRule as bk, type ExtendedFilterRule as bl, type FilterCombinator as bm, type FilterGroup as bn, type AdvancedFilterState as bo, type SortDirection as bp, type QueryState as bq, OPERATORS_BY_TYPE as br, type NoValueOperator as bs, NO_VALUE_OPERATORS as bt, isNoValueOperator as bu, type FlowSlot as bv, type FlowRowField as bw, type FlowPage as bx, type FlowRelation as by, type FlowStatus as bz, type SidePanelConfig as c, type ConditionNode as c$, type ExtractRecordUpdateStrict as c0, type ExtractAttributes as c1, type TypedObjectRecord as c2, type ExtractObjectRecord as c3, type ExtractObjectRecordWithCustom as c4, type PermissionScope as c5, type Role as c6, type Permission as c7, type UserRoleAssignment as c8, type EffectivePermissions as c9, type ListViewLayout as cA, type DetailViewConfig as cB, type CalendarViewConfig as cC, type TimelineViewConfig as cD, type GalleryViewConfig as cE, type ViewConfig as cF, type CalendarViewDefinition as cG, type TimelineViewDefinition as cH, type GalleryViewDefinition as cI, type ConfigOverrides as cJ, type ViewOverlay as cK, isDetailView as cL, isListView as cM, isCalendarView as cN, isTimelineView as cO, isGalleryView as cP, isFieldGroup as cQ, isRelationGroup as cR, isFormTab as cS, isTableTab as cT, isRelationSourceTab as cU, isInverseSourceTab as cV, isCustomTab as cW, isActivityTab as cX, isRichtextTab as cY, isFlowsTab as cZ, isDocumentsTab as c_, type ObjectPermissions as ca, type SystemPermissions as cb, type CreateRoleInput as cc, type UpdateRoleInput as cd, type CreatePermissionInput as ce, type AssignRoleInput as cf, type PolicyContext as cg, type RecordPolicy as ch, PolicyViolationError as ci, type UserRole as cj, type UserStatus as ck, type UserProfile as cl, type CreateUserProfile as cm, type UpdateUserProfile as cn, type InviteUserInput as co, type TabType as cp, type FormDensity as cq, type FormTab as cr, type RelationSource as cs, type InverseSource as ct, type TableSource as cu, type CustomTab as cv, type ActivityTab as cw, type RichtextTab as cx, type FlowsTab as cy, type DocumentsTab as cz, type DetailViewDefinition as d, type WorkflowAccessMode as d$, type DocumentNode as d0, type EndNode as d1, type FormFieldRef as d2, type FormNode as d3, type StartNode as d4, type WorkflowNodeType as d5, getNodeOutputs as d6, isAdvancedFormNode as d7, isConditionNode as d8, isDocumentNode as d9, createStartTransition as dA, isInstanceTerminal as dB, isInstanceWaiting as dC, type CreateInvitationInput as dD, type CreateInvitationResult as dE, type InvitationStatus as dF, type WorkflowInvitation as dG, isInvitationAccepted as dH, isInvitationExpired as dI, isInvitationValid as dJ, type CreateGrantInput as dK, type WorkflowAccessGrant as dL, canAccessNode as dM, isGrantExpired as dN, isGrantRevoked as dO, isGrantValid as dP, isTokenRevoked as dQ, type GeneratedDocument as dR, type WorkflowExecutionContext as dS, createEmptyContext as dT, getContextValue as dU, setContextValue as dV, type FormContextResponse as dW, type FormFieldContext as dX, type FormFieldRow as dY, type FormNodeInfo as dZ, type ReadOnlyReason as d_, isEndNode as da, isFormNode as db, isSimpleFormNode as dc, isStartNode as dd, type ConditionOperator as de, and as df, eq as dg, inValues as dh, isConditionGroup as di, isConditionRule as dj, neq as dk, or as dl, type CanvasViewport as dm, type NodePosition as dn, type WorkflowLayout as dp, type WorkflowSlot as dq, type WorkflowStatus as dr, isSystemWorkflow as ds, isWorkflowDefinition as dt, isWorkflowPublished as du, type PendingAction as dv, type WorkflowError as dw, type WorkflowInstance as dx, type WorkflowTransition as dy, canResumeInstance as dz, type InstanceStatus as e, hasSchemaContext as e$, type ThemeColors as e0, type ThemeLogo as e1, type ThemeTypography as e2, DEFAULT_THEME as e3, generateCssVariables as e4, mergeWithDefaults as e5, registry as e6, viewRegistry as e7, type ViewOverlaysRepository as e8, type RelationAttributeInput as e9, formatRecord as eA, formatRecords as eB, QueryMultipleResultsError as eC, QueryNoResultError as eD, SHORTCUT_TO_FILTER_OPERATOR as eE, createQueryBuilder as eF, QueryBuilder as eG, type QueryBuilderOptions as eH, type EvaluationResult as eI, type EvaluationTrace as eJ, evaluateCondition as eK, evaluate as eL, evaluateWithTrace as eM, TenantContextError as eN, FeatureFlagsContextError as eO, getFeatureFlags as eP, getFeatureValue as eQ, hasFeatureFlagsContext as eR, isFeatureEnabled as eS, runWithFeatureFlags as eT, tryGetFeatureValue as eU, withFeatureFlags as eV, type FeatureFlagsContext as eW, addSchemaToContext as eX, getSchemaByNameFromContext as eY, getSchemaContext as eZ, getSchemaFromContext as e_, type RelationAttributeRow as ea, type RelationAttributesRepository as eb, type DatabaseAdapter as ec, WorkflowJwtService as ed, type JwtVerificationResult as ee, type MagicLinkPayload as ef, type WorkflowAccessPayload as eg, type WorkflowJwtConfig as eh, type WorkflowJwtPayload as ei, type CacheKeyType as ej, hashOptions as ek, type CacheAdapter as el, type CacheOptions as em, cacheKeys as en, cacheTtl as eo, defaultTtl as ep, NoopCacheAdapter as eq, type FetchResult as er, type FormattedRecord as es, type GroupedFetchResult as et, type InsertOptions as eu, type QueryBuilderState as ev, type RegistryMap as ew, type RegistryObjectNames as ex, type ShortcutOperator as ey, createDefaultState as ez, type TableTab as f, type HookType as f$, runWithMergedSchemaContext as f0, runWithSchemaContext as f1, type SchemaContext as f2, getContext as f3, getTenantId as f4, getUserId as f5, hasContext as f6, runWithContext as f7, withTenantContext as f8, type TenantContext as f9, extractRelationReferences as fA, flattenRelationsForEval as fB, formatFormulaResult as fC, hasRelationReferences as fD, validateFormulaExpression as fE, type FormulaResult as fF, getPathDepth as fG, getRelationPath as fH, getTargetAttributeName as fI, InvalidPathError as fJ, MaxDepthExceededError as fK, parsePath as fL, pathHasManyCardinality as fM, validatePath as fN, type PathCardinality as fO, type PathSegment as fP, type PathSegmentType as fQ, type SchemaResolver as fR, resolveMultiplePaths as fS, resolveSingleValue as fT, traversePath as fU, type TraversalOptions as fV, type TraversalResult as fW, type AttributeChange as fX, type HookContext as fY, type HookDefinition as fZ, type HookHandler as f_, createDefaultExecutorRegistry as fa, getDefaultExecutorRegistry as fb, type ExecutorCompleteResult as fc, type ExecutorContext as fd, type ExecutorErrorResult as fe, type ExecutorResult as ff, type ExecutorSuccessResult as fg, type ExecutorWaitResult as fh, type NodeExecutor as fi, complete as fj, error as fk, ExecutorRegistry as fl, success as fm, wait as fn, ConditionExecutor as fo, DocumentExecutor as fp, EndExecutor as fq, FormExecutor as fr, StartExecutor as fs, evaluateFormula as ft, evaluateFormulaAttribute as fu, evaluateFormulaAttributeWithRelations as fv, evaluateFormulaWithRelations as fw, evaluateFormulaWithResult as fx, extractFormulaVariables as fy, extractRelationNames as fz, type FilterState as g, type RollupSchedulerOptions as g$, NoopHookRegistry as g0, type HookRegistry as g1, createMockAdapter as g2, type MockStores as g3, defaultPolicyRegistry as g4, PolicyRegistry as g5, type AIConversationsRepository as g6, type AIUsageMetricsRepository as g7, type AIUserMemoryRepository as g8, type AttributesRepository as g9, type RecordServiceOptions as gA, RecordService as gB, type RecordQueryServiceOptions as gC, type QueryOptions as gD, type SearchQueryOptions as gE, type QueryResult as gF, RecordQueryService as gG, type RelationValidationResult as gH, type RelationValidationError as gI, type RelationOption as gJ, type RelationOptionsResponse as gK, type GetRelationOptionsParams as gL, type RelationServiceOptions as gM, type ResolveIdsBatchRequest as gN, type ResolveIdsBatchResponse as gO, RelationService as gP, type MultiRelationValue as gQ, type SingleRelationValue as gR, type HybridRelationValue as gS, RelationPropertiesService as gT, RecordResolverService as gU, type ResolvedRelations as gV, type FormulaResolverServiceOptions as gW, FormulaResolverService as gX, type RollupResult as gY, type RollupServiceOptions as gZ, RollupService as g_, type AuditRepository as ga, type DocumentGenerationTemplateListOptions as gb, type DocumentGenerationTemplatesRepository as gc, type DocumentJobsRepository as gd, type DocumentSlotsRepository as ge, type DocumentsRepository as gf, type DocumentTemplatesRepository as gg, type FilesRepository as gh, type ObjectRecordsRepository as gi, type ObjectsRepository as gj, type PermissionsRepository as gk, type UserProfilesRepository as gl, type ViewsRepository as gm, type WorkflowAccessGrantsRepository as gn, type WorkflowInstancesRepository as go, type WorkflowInvitationsRepository as gp, type WorkflowsRepository as gq, BaseService as gr, BaseRepository as gs, type SchemaContextAware as gt, SchemaContextAwareRepository as gu, type CreateCustomObjectInput as gv, type AddAttributeInput as gw, type UpdateObjectInput as gx, type ObjectSchemaServiceOptions as gy, ObjectSchemaService as gz, type SortRule as h, type CreateRecordDocumentInput as h$, RollupScheduler as h0, applyDefaultValues as h1, checkPermission as h2, getPolicy as h3, buildPolicyContext as h4, checkRecordAccess as h5, checkRecordModifyOrThrow as h6, checkRecordDeleteOrThrow as h7, checkSharedObjectWriteAccess as h8, computeLabel as h9, InvitationRevokedError as hA, WorkflowInvitationService as hB, WorkflowRelationService as hC, type CreateWorkflowInput as hD, type UpdateWorkflowInput as hE, type WorkflowServiceOptions as hF, WorkflowService as hG, type UserValidationResult as hH, type UserValidationError as hI, UserService as hJ, type UserProfileServiceOptions as hK, UserProfileService as hL, AuditService as hM, buildAuditChanges as hN, DocumentGenerationTemplateNotFoundError as hO, DocumentGenerationNotConfiguredError as hP, DocumentGenerationService as hQ, type DocumentProcessingConfig as hR, DocumentProcessingService as hS, type RenderDocumentInput as hT, type DocumentRendererOptions as hU, type RenderDocumentResult as hV, DocumentRenderError as hW, StorageDownloadNotSupportedError as hX, DocumentRendererService as hY, DocumentTemplateService as hZ, type RecordDocumentsResult as h_, type LabelResolver as ha, enrichWithFormulas as hb, enrichRecordsWithFormulas as hc, createContextForCreate as hd, createContextForUpdate as he, createContextForDelete as hf, createContextForRestore as hg, recalculateParentRollups as hh, type RollupCascadeContext as hi, type DocumentProcessingHookOptions as hj, DocumentProcessingHook as hk, GrantNotFoundError as hl, GrantExpiredError as hm, GrantRevokedError as hn, TokenRevokedError as ho, type GrantServiceConfig as hp, type CreateGrantResult as hq, WorkflowAccessGrantService as hr, type StartWorkflowInput as hs, type ResumeWorkflowInput as ht, type WorkflowInstanceServiceOptions as hu, WorkflowInstanceService as hv, type InvitationServiceConfig as hw, InvitationNotFoundError as hx, InvitationExpiredError as hy, InvitationAlreadyAcceptedError as hz, type WorkflowConfig as i, type CreateDBWorkflow as i$, type CreateRecordDocumentResult as i0, type DocumentServiceOptions as i1, DocumentService as i2, type FileServiceOptions as i3, FileService as i4, GeocodingService as i5, GlobalSearchService as i6, type PermissionServiceOptions as i7, PermissionService as i8, type CreateViewInput as i9, extractRelationIds as iA, type RelationLabelResolver as iB, computeLabelWithRelations as iC, type DBObject as iD, type CreateDBObject as iE, type UpdateDBObject as iF, type UpsertDBObject as iG, type DBAttribute as iH, type CreateDBAttribute as iI, type UpdateDBAttribute as iJ, type UpsertDBAttribute as iK, type CreateObjectRecord as iL, type ListOptions as iM, type SearchOptions as iN, type GlobalSearchOptions as iO, type GlobalSearchGroupedOptions as iP, type GlobalSearchResultItem as iQ, type GlobalSearchGroupedResult as iR, type FileListOptions as iS, type DBView as iT, type CreateDBView as iU, type UpdateDBView as iV, type UpsertDBView as iW, type DBViewOverlay as iX, type CreateDBViewOverlay as iY, type UpdateDBViewOverlay as iZ, type DBWorkflow as i_, type UpdateViewInput as ia, type GetViewsOptions as ib, type GetViewOptions as ic, ViewService as id, type FileContent as ie, type StorageUploadInput as ig, type StorageUploadResult as ih, type SignedUrlOptions as ii, type StorageAdapter as ij, type UploadFileInput as ik, type SyncResult as il, type SyncOptions as im, syncNativeObjects as io, verifyNativeObjectsSync as ip, getSyncPreview as iq, type FullSyncResult as ir, type FullSyncOptions as is, syncAll as it, DEFAULT_LABEL_FALLBACK as iu, renderLabelExpression as iv, isLabelExpression as iw, extractAttributeNames as ix, enrichValuesForDisplay as iy, enrichValuesWithSelectLabels as iz, type SlotMode as j, type UpdateDBWorkflow as j0, type DBWorkflowInstance as j1, type CreateDBWorkflowInstance as j2, type UpdateDBWorkflowInstance as j3, type DBWorkflowInvitation as j4, type CreateDBWorkflowInvitation as j5, type UpdateDBWorkflowInvitation as j6, type DBWorkflowAccessGrant as j7, type CreateDBWorkflowAccessGrant as j8, type UpdateDBWorkflowAccessGrant as j9, type OperationResult as ja, type ViewSyncResult as jb, type ViewSyncLogger as jc, type ViewSyncOptions as jd, seedRegistryViews as je, syncNativeViews as jf, verifyRegistryViewsSeeded as jg, verifyNativeViewsSync as jh, getViewSeedPreview as ji, getViewSyncPreview as jj, type ConditionGroup as k, type ConditionRule as l, type WorkflowNode as m, type WorkflowDefinition as n, type FlowRow as o, type ListViewConfig as p, type ListViewTab as q, type ViewDefinition as r, type DocumentTemplate as s, type OcrAdapter as t, type OcrInput as u, type OcrOptions as v, type OcrResult as w, type OcrPage as x, type OcrTextBlock as y, type SignatureAdapter as z };
12761
+ export { type AIToolCallStatus as $, type Action as A, type BoundingBox as B, type CreateMode as C, type DetailViewLayout as D, type SignerRequest as E, type Field as F, type Group as G, type SignaturePosition as H, type InferAttributeValue as I, type SignatureRequestResult as J, type SignatureStatusResult as K, type ListViewDefinition as L, type SignerStatus as M, type SignatureStatus as N, type OcrAdapter as O, type IdentityVerificationAdapter as P, type VerifyInput as Q, type RelationGroup as R, type SystemResource as S, type Tab as T, type VerificationResult as U, type ViewType as V, type WorkflowTheme as W, type DocumentData as X, type VerificationCheck as Y, type AIMessageRole as Z, type AIThinkingLevel as _, type AttributeGroupField as a, type UpdateProcessingJob as a$, type AIToolCall as a0, type AIChatMessagePartType as a1, type TextPartData as a2, type ToolPartData as a3, type ThinkingPartData as a4, type ReasoningPartData as a5, type AIChatMessagePart as a6, type AIChatMessage as a7, type AIQuestionType as a8, type AIQuestionOption as a9, type AuditListOptions as aA, type AuditServiceOptions as aB, type VariableMapping as aC, type PdfTemplateField as aD, type TemplateSource as aE, type DocumentGenerationTemplate as aF, type CreateDocumentGenerationTemplate as aG, type UpdateDocumentGenerationTemplate as aH, type PendingDocumentRequest as aI, type DocumentSlotDefinition as aJ, type DocumentAutoProcessing as aK, type ExtractionMapping as aL, type ExtractionField as aM, type Document as aN, type DocumentStatus as aO, type DocumentSlot as aP, type SlotStatus as aQ, type ProcessingJob as aR, type ProcessingJobType as aS, type ProcessingJobStatus as aT, type CreateDocument as aU, type UpdateDocument as aV, type CreateDocumentTemplate as aW, type UpdateDocumentTemplate as aX, type CreateDocumentSlot as aY, type UpdateDocumentSlot as aZ, type CreateProcessingJob as a_, type AIQuestion as aa, type AIQuestionAnswer as ab, type AIBatchQuestionOption as ac, type AIBatchQuestion as ad, type AIBatchQuestionAnswer as ae, type AITodoStatus as af, type AITodoItem as ag, type AITodoList as ah, type AIMessageAttachment as ai, type AIConversation as aj, type AIMessage as ak, type AIToolCallRecord as al, type AIUserMemory as am, type AIUsageMetrics as an, type AIProviderMetrics as ao, type CreateAIMessageInput as ap, type AIMemoryType as aq, type AIMemoryEntry as ar, type AITenantPersona as as, type AICompactionSummary as at, type AuditResourceType as au, type AuditAction as av, type AuditActorType as aw, type AuditChange as ax, type AuditLogEntry as ay, type CreateAuditLogInput as az, type FieldGroup as b, type ExtractRecordUpdateStrict as b$, type DocumentListOptions as b0, type DocumentTemplateListOptions as b1, type StorageProvider as b2, type FileVisibility as b3, type File as b4, type CreateFile as b5, type UpdateFile as b6, type TextFilterOperator as b7, type NumberFilterOperator as b8, type CheckboxFilterOperator as b9, isFlowDefinition as bA, isFlowPublished as bB, isSystemFlow as bC, type GeocodingSuggestion as bD, type GeocodingAutocompleteParams as bE, type ReverseGeocodingParams as bF, type GeocodingParams as bG, type GeocodingAdapter as bH, NoopGeocodingAdapter as bI, type AttributeSchema as bJ, type InferRecordFromSchema as bK, type InferRecordWithRequirements as bL, type TypedAttribute as bM, type AttributeMap as bN, type AddAttribute as bO, type InferRecord as bP, type InferRecordInput as bQ, type InferRecordUpdate as bR, type CustomAttributeValue as bS, type WithCustomAttributes as bT, type RecordMetadata as bU, type SystemFields as bV, type ExtractRecord as bW, type ExtractRecordStrict as bX, type ExtractRecordInput as bY, type ExtractRecordInputStrict as bZ, type ExtractRecordUpdate as b_, type DateFilterOperator as ba, type SelectFilterOperator as bb, type MultiselectFilterOperator as bc, type RelationFilterOperator as bd, type FilterOperator as be, type RelativeDateValue as bf, type CurrencyFilterValue as bg, type PhoneFilterValue as bh, type FilterValue as bi, type FilterRule as bj, type ExtendedFilterRule as bk, type FilterCombinator as bl, type FilterGroup as bm, type AdvancedFilterState as bn, type SortDirection as bo, type QueryState as bp, OPERATORS_BY_TYPE as bq, type NoValueOperator as br, NO_VALUE_OPERATORS as bs, isNoValueOperator as bt, type FlowSlot as bu, type FlowRowField as bv, type FlowPage as bw, type FlowRelation as bx, type FlowStatus as by, type FlowDefinition as bz, type SidePanelConfig as c, isActivityTab as c$, type ExtractAttributes as c0, type TypedObjectRecord as c1, type ExtractObjectRecord as c2, type ExtractObjectRecordWithCustom as c3, type PermissionScope as c4, type ObjectAction as c5, type SystemAction as c6, type AccessLevel as c7, ALL_ACTIONS as c8, actionsToAccessLevel as c9, type ActivityTab as cA, type RichtextTab as cB, type FlowsTab as cC, type DocumentsTab as cD, type ListViewLayout as cE, type DetailViewConfig as cF, type CalendarViewConfig as cG, type TimelineViewConfig as cH, type GalleryViewConfig as cI, type ViewConfig as cJ, type CalendarViewDefinition as cK, type TimelineViewDefinition as cL, type GalleryViewDefinition as cM, type ConfigOverrides as cN, type ViewOverlay as cO, isDetailView as cP, isListView as cQ, isCalendarView as cR, isTimelineView as cS, isGalleryView as cT, isFieldGroup as cU, isRelationGroup as cV, isFormTab as cW, isTableTab as cX, isRelationSourceTab as cY, isInverseSourceTab as cZ, isCustomTab as c_, accessLevelToActions as ca, type Role as cb, type Permission as cc, type UserRoleAssignment as cd, type EffectivePermissions as ce, type ObjectPermissions as cf, type SystemPermissions as cg, type CreateRoleInput as ch, type UpdateRoleInput as ci, type CreatePermissionInput as cj, type AssignRoleInput as ck, type PolicyContext as cl, type RecordPolicy as cm, PolicyViolationError as cn, type UserStatus as co, type UserProfile as cp, type CreateUserProfile as cq, type UpdateUserProfile as cr, type InviteUserInput as cs, type TabType as ct, type FormDensity as cu, type FormTab as cv, type RelationSource as cw, type InverseSource as cx, type TableSource as cy, type CustomTab as cz, type DetailViewDefinition as d, type FormFieldContext as d$, isRichtextTab as d0, isFlowsTab as d1, isDocumentsTab as d2, type ConditionNode as d3, type DocumentNode as d4, type EndNode as d5, type FormFieldRef as d6, type FormNode as d7, type StartNode as d8, type WorkflowNodeType as d9, type WorkflowError as dA, type WorkflowInstance as dB, type WorkflowTransition as dC, canResumeInstance as dD, createStartTransition as dE, isInstanceTerminal as dF, isInstanceWaiting as dG, type CreateInvitationInput as dH, type CreateInvitationResult as dI, type InvitationStatus as dJ, type WorkflowInvitation as dK, isInvitationAccepted as dL, isInvitationExpired as dM, isInvitationValid as dN, type CreateGrantInput as dO, type WorkflowAccessGrant as dP, canAccessNode as dQ, isGrantExpired as dR, isGrantRevoked as dS, isGrantValid as dT, isTokenRevoked as dU, type GeneratedDocument as dV, type WorkflowExecutionContext as dW, createEmptyContext as dX, getContextValue as dY, setContextValue as dZ, type FormContextResponse as d_, getNodeOutputs as da, isAdvancedFormNode as db, isConditionNode as dc, isDocumentNode as dd, isEndNode as de, isFormNode as df, isSimpleFormNode as dg, isStartNode as dh, type ConditionOperator as di, and as dj, eq as dk, inValues as dl, isConditionGroup as dm, isConditionRule as dn, neq as dp, or as dq, type CanvasViewport as dr, type NodePosition as ds, type WorkflowLayout as dt, type WorkflowSlot as du, type WorkflowStatus as dv, isSystemWorkflow as dw, isWorkflowDefinition as dx, isWorkflowPublished as dy, type PendingAction as dz, type InstanceStatus as e, addSchemaToContext as e$, type FormFieldRow as e0, type FormNodeInfo as e1, type ReadOnlyReason as e2, type WorkflowAccessMode as e3, type ThemeColors as e4, type ThemeLogo as e5, type ThemeTypography as e6, DEFAULT_THEME as e7, generateCssVariables as e8, mergeWithDefaults as e9, type RegistryMap as eA, type RegistryObjectNames as eB, type ShortcutOperator as eC, createDefaultState as eD, formatRecord as eE, formatRecords as eF, QueryMultipleResultsError as eG, QueryNoResultError as eH, SHORTCUT_TO_FILTER_OPERATOR as eI, createQueryBuilder as eJ, QueryBuilder as eK, type QueryBuilderOptions as eL, type EvaluationResult as eM, type EvaluationTrace as eN, evaluateCondition as eO, evaluate as eP, evaluateWithTrace as eQ, TenantContextError as eR, FeatureFlagsContextError as eS, getFeatureFlags as eT, getFeatureValue as eU, hasFeatureFlagsContext as eV, isFeatureEnabled as eW, runWithFeatureFlags as eX, tryGetFeatureValue as eY, withFeatureFlags as eZ, type FeatureFlagsContext as e_, registry as ea, viewRegistry as eb, type ViewOverlaysRepository as ec, type RelationAttributeInput as ed, type RelationAttributeRow as ee, type RelationAttributesRepository as ef, type DatabaseAdapter as eg, WorkflowJwtService as eh, type JwtVerificationResult as ei, type MagicLinkPayload as ej, type WorkflowAccessPayload as ek, type WorkflowJwtConfig as el, type WorkflowJwtPayload as em, type CacheKeyType as en, hashOptions as eo, type CacheAdapter as ep, type CacheOptions as eq, cacheKeys as er, cacheTtl as es, defaultTtl as et, NoopCacheAdapter as eu, type FetchResult as ev, type FormattedRecord as ew, type GroupedFetchResult as ex, type InsertOptions as ey, type QueryBuilderState as ez, type TableTab as f, type AttributeChange as f$, getSchemaByNameFromContext as f0, getSchemaContext as f1, getSchemaFromContext as f2, hasSchemaContext as f3, runWithMergedSchemaContext as f4, runWithSchemaContext as f5, type SchemaContext as f6, getContext as f7, getTenantId as f8, getUserId as f9, evaluateFormulaWithRelations as fA, evaluateFormulaWithResult as fB, extractFormulaVariables as fC, extractRelationNames as fD, extractRelationReferences as fE, flattenRelationsForEval as fF, formatFormulaResult as fG, hasRelationReferences as fH, validateFormulaExpression as fI, type FormulaResult as fJ, getPathDepth as fK, getRelationPath as fL, getTargetAttributeName as fM, InvalidPathError as fN, MaxDepthExceededError as fO, parsePath as fP, pathHasManyCardinality as fQ, validatePath as fR, type PathCardinality as fS, type PathSegment as fT, type PathSegmentType as fU, type SchemaResolver as fV, resolveMultiplePaths as fW, resolveSingleValue as fX, traversePath as fY, type TraversalOptions as fZ, type TraversalResult as f_, hasContext as fa, runWithContext as fb, withTenantContext as fc, type TenantContext as fd, createDefaultExecutorRegistry as fe, getDefaultExecutorRegistry as ff, type ExecutorCompleteResult as fg, type ExecutorContext as fh, type ExecutorErrorResult as fi, type ExecutorResult as fj, type ExecutorSuccessResult as fk, type ExecutorWaitResult as fl, type NodeExecutor as fm, complete as fn, error as fo, ExecutorRegistry as fp, success as fq, wait as fr, ConditionExecutor as fs, DocumentExecutor as ft, EndExecutor as fu, FormExecutor as fv, StartExecutor as fw, evaluateFormula as fx, evaluateFormulaAttribute as fy, evaluateFormulaAttributeWithRelations as fz, type FilterState as g, FormulaResolverService as g$, type HookContext as g0, type HookDefinition as g1, type HookHandler as g2, type HookType as g3, NoopHookRegistry as g4, type HookRegistry as g5, createMockAdapter as g6, type MockStores as g7, defaultPolicyRegistry as g8, PolicyRegistry as g9, type AddAttributeInput as gA, type UpdateObjectInput as gB, type ObjectSchemaServiceOptions as gC, ObjectSchemaService as gD, type RecordServiceOptions as gE, RecordService as gF, type RecordQueryServiceOptions as gG, type QueryOptions as gH, type SearchQueryOptions as gI, type QueryResult as gJ, RecordQueryService as gK, type RelationValidationResult as gL, type RelationValidationError as gM, type RelationOption as gN, type RelationOptionsResponse as gO, type GetRelationOptionsParams as gP, type RelationServiceOptions as gQ, type ResolveIdsBatchRequest as gR, type ResolveIdsBatchResponse as gS, RelationService as gT, type MultiRelationValue as gU, type SingleRelationValue as gV, type HybridRelationValue as gW, RelationPropertiesService as gX, RecordResolverService as gY, type ResolvedRelations as gZ, type FormulaResolverServiceOptions as g_, type AIConversationsRepository as ga, type AIUsageMetricsRepository as gb, type AIUserMemoryRepository as gc, type AttributesRepository as gd, type AuditRepository as ge, type DocumentGenerationTemplateListOptions as gf, type DocumentGenerationTemplatesRepository as gg, type DocumentJobsRepository as gh, type DocumentSlotsRepository as gi, type DocumentsRepository as gj, type DocumentTemplatesRepository as gk, type FilesRepository as gl, type ObjectRecordsRepository as gm, type ObjectsRepository as gn, type PermissionsRepository as go, type UserProfilesRepository as gp, type ViewsRepository as gq, type WorkflowAccessGrantsRepository as gr, type WorkflowInstancesRepository as gs, type WorkflowInvitationsRepository as gt, type WorkflowsRepository as gu, BaseService as gv, BaseRepository as gw, type SchemaContextAware as gx, SchemaContextAwareRepository as gy, type CreateCustomObjectInput as gz, type SortRule as h, StorageDownloadNotSupportedError as h$, type RollupResult as h0, type RollupServiceOptions as h1, RollupService as h2, type RollupSchedulerOptions as h3, RollupScheduler as h4, applyDefaultValues as h5, checkPermission as h6, getPolicy as h7, buildPolicyContext as h8, checkRecordAccess as h9, type InvitationServiceConfig as hA, InvitationNotFoundError as hB, InvitationExpiredError as hC, InvitationAlreadyAcceptedError as hD, InvitationRevokedError as hE, WorkflowInvitationService as hF, WorkflowRelationService as hG, type CreateWorkflowInput as hH, type UpdateWorkflowInput as hI, type WorkflowServiceOptions as hJ, WorkflowService as hK, type UserValidationResult as hL, type UserValidationError as hM, UserService as hN, type UserProfileServiceOptions as hO, UserProfileService as hP, AuditService as hQ, buildAuditChanges as hR, DocumentGenerationTemplateNotFoundError as hS, DocumentGenerationNotConfiguredError as hT, DocumentGenerationService as hU, type DocumentProcessingConfig as hV, DocumentProcessingService as hW, type RenderDocumentInput as hX, type DocumentRendererOptions as hY, type RenderDocumentResult as hZ, DocumentRenderError as h_, checkRecordModifyOrThrow as ha, checkRecordDeleteOrThrow as hb, checkSharedObjectWriteAccess as hc, computeLabel as hd, type LabelResolver as he, enrichWithFormulas as hf, enrichRecordsWithFormulas as hg, createContextForCreate as hh, createContextForUpdate as hi, createContextForDelete as hj, createContextForRestore as hk, recalculateParentRollups as hl, type RollupCascadeContext as hm, type DocumentProcessingHookOptions as hn, DocumentProcessingHook as ho, GrantNotFoundError as hp, GrantExpiredError as hq, GrantRevokedError as hr, TokenRevokedError as hs, type GrantServiceConfig as ht, type CreateGrantResult as hu, WorkflowAccessGrantService as hv, type StartWorkflowInput as hw, type ResumeWorkflowInput as hx, type WorkflowInstanceServiceOptions as hy, WorkflowInstanceService as hz, type WorkflowConfig as i, type DBViewOverlay as i$, DocumentRendererService as i0, DocumentTemplateService as i1, type RecordDocumentsResult as i2, type CreateRecordDocumentInput as i3, type CreateRecordDocumentResult as i4, type DocumentServiceOptions as i5, DocumentService as i6, type FileServiceOptions as i7, FileService as i8, GeocodingService as i9, isLabelExpression as iA, extractAttributeNames as iB, enrichValuesForDisplay as iC, enrichValuesWithSelectLabels as iD, extractRelationIds as iE, type RelationLabelResolver as iF, computeLabelWithRelations as iG, type DBObject as iH, type CreateDBObject as iI, type UpdateDBObject as iJ, type UpsertDBObject as iK, type DBAttribute as iL, type CreateDBAttribute as iM, type UpdateDBAttribute as iN, type UpsertDBAttribute as iO, type CreateObjectRecord as iP, type ListOptions as iQ, type SearchOptions as iR, type GlobalSearchOptions as iS, type GlobalSearchGroupedOptions as iT, type GlobalSearchResultItem as iU, type GlobalSearchGroupedResult as iV, type FileListOptions as iW, type DBView as iX, type CreateDBView as iY, type UpdateDBView as iZ, type UpsertDBView as i_, GlobalSearchService as ia, type PermissionServiceOptions as ib, PermissionService as ic, type CreateViewInput as id, type UpdateViewInput as ie, type GetViewsOptions as ig, type GetViewOptions as ih, ViewService as ii, type FileContent as ij, type StorageUploadInput as ik, type StorageUploadResult as il, type SignedUrlOptions as im, type StorageAdapter as io, type UploadFileInput as ip, type SyncResult as iq, type SyncOptions as ir, syncNativeObjects as is, verifyNativeObjectsSync as it, getSyncPreview as iu, type FullSyncResult as iv, type FullSyncOptions as iw, syncAll as ix, DEFAULT_LABEL_FALLBACK as iy, renderLabelExpression as iz, type SlotMode as j, type CreateDBViewOverlay as j0, type UpdateDBViewOverlay as j1, type DBWorkflow as j2, type CreateDBWorkflow as j3, type UpdateDBWorkflow as j4, type DBWorkflowInstance as j5, type CreateDBWorkflowInstance as j6, type UpdateDBWorkflowInstance as j7, type DBWorkflowInvitation as j8, type CreateDBWorkflowInvitation as j9, type UpdateDBWorkflowInvitation as ja, type DBWorkflowAccessGrant as jb, type CreateDBWorkflowAccessGrant as jc, type UpdateDBWorkflowAccessGrant as jd, type OperationResult as je, type ViewSyncResult as jf, type ViewSyncLogger as jg, type ViewSyncOptions as jh, seedRegistryViews as ji, syncNativeViews as jj, verifyRegistryViewsSeeded as jk, verifyNativeViewsSync as jl, getViewSeedPreview as jm, getViewSyncPreview as jn, type ConditionGroup as k, type ConditionRule as l, type WorkflowNode as m, type WorkflowDefinition as n, type FlowRow as o, type ListViewConfig as p, type ListViewTab as q, type ViewDefinition as r, type DocumentTemplate as s, type OcrInput as t, type OcrOptions as u, type OcrResult as v, type OcrPage as w, type OcrTextBlock as x, type SignatureAdapter as y, type CreateSignatureInput as z };