import { type ObjRef } from "../objRef/index.js"; /** * Organization descriptor contains details about the organization that services analytical workspaces. * * @public */ export interface IOrganizationDescriptor { id: string; title: string; bootstrapUser?: ObjRef; bootstrapUserGroup?: ObjRef; /** * @deprecated - use early access values instead */ earlyAccess?: string; earlyAccessValues?: string[]; identityProviderType?: string; region?: string; dataCenter?: string; } /** * Organization descriptor properties to update. * Optional properties can be set to null to delete the value. * * @see IOrganizationDescriptor * @public */ export interface IOrganizationDescriptorUpdate { title?: string; /** * @deprecated - use early access values instead */ earlyAccess?: string | null; earlyAccessValues?: string[] | null; } /** * Information about assigned workspace. * * @alpha */ export interface IAssignedWorkspace { id: string; name?: string; } /** * Possible workspace permissions that can be assigned either directly or hierarchically. * * @alpha */ export declare const AssignedWorkspacePermissionValue: { readonly MANAGE: "MANAGE"; readonly ANALYZE: "ANALYZE"; readonly EXPORT: "EXPORT"; readonly EXPORT_TABULAR: "EXPORT_TABULAR"; readonly EXPORT_PDF: "EXPORT_PDF"; readonly CREATE_FILTER_VIEW: "CREATE_FILTER_VIEW"; readonly VIEW: "VIEW"; readonly CREATE_AUTOMATION: "CREATE_AUTOMATION"; readonly USE_AI_ASSISTANT: "USE_AI_ASSISTANT"; }; /** * Workspace permission values. * * @alpha */ export type AssignedWorkspacePermission = (typeof AssignedWorkspacePermissionValue)[keyof typeof AssignedWorkspacePermissionValue]; /** * Type guard to check if a value is an AssignedWorkspacePermission. * * @alpha */ export declare function isAssignedWorkspacePermission(value: unknown): value is AssignedWorkspacePermission; /** * @alpha */ export interface IOrganizationAssignee { id: string; type: "user" | "userGroup"; } /** * Descriptor contains details about workspace permission of organization user or user group. * * @alpha */ export interface IWorkspacePermissionAssignment { assigneeIdentifier: IOrganizationAssignee; workspace: IAssignedWorkspace; permissions: AssignedWorkspacePermission[]; hierarchyPermissions: AssignedWorkspacePermission[]; } /** * Information about assigned data source. * * @alpha */ export interface IAssignedDataSource { id: string; name?: string; } /** * Possible data source permissions that can be assigned. * * @alpha */ export declare const AssignedDataSourcePermissionValue: { readonly MANAGE: "MANAGE"; readonly USE: "USE"; }; /** * Data source permission values. * * @alpha */ export type AssignedDataSourcePermission = (typeof AssignedDataSourcePermissionValue)[keyof typeof AssignedDataSourcePermissionValue]; /** * Descriptor contains details about data source permission of organization user or user group. * * @alpha */ export interface IDataSourcePermissionAssignment { assigneeIdentifier: IOrganizationAssignee; dataSource: IAssignedDataSource; permissions: AssignedDataSourcePermission[]; } /** * @alpha */ export declare const OrganizationPermissionAssignmentValue: { readonly MANAGE: "MANAGE"; readonly SELF_CREATE_TOKEN: "SELF_CREATE_TOKEN"; readonly BASE_UI_ACCESS: "BASE_UI_ACCESS"; }; /** * @alpha */ export type OrganizationPermissionAssignment = (typeof OrganizationPermissionAssignmentValue)[keyof typeof OrganizationPermissionAssignmentValue]; /** * @alpha */ export interface IOrganizationPermissionAssignment { assigneeIdentifier: IOrganizationAssignee; permissions: OrganizationPermissionAssignment[]; } //# sourceMappingURL=index.d.ts.map