import { GeneratedSchema } from './../foundations/index.js'; import { RoleType } from './custom-types.js'; /** * The roles defined by the organization template. * * @remarks This is a type for database creation. * @see {@link OrganizationRole} for the original type. */ export type CreateOrganizationRole = { tenantId?: string; /** The globally unique identifier of the organization role. */ id: string; /** The organization role's name, unique within the organization template. */ name: string; /** A brief description of the organization role. */ description?: string | null; /** The type of the organization role. Same as the `type` field in the `roles` table. */ type?: RoleType; }; /** The roles defined by the organization template. */ export type OrganizationRole = { tenantId: string; /** The globally unique identifier of the organization role. */ id: string; /** The organization role's name, unique within the organization template. */ name: string; /** A brief description of the organization role. */ description: string | null; /** The type of the organization role. Same as the `type` field in the `roles` table. */ type: RoleType; }; export type OrganizationRoleKeys = 'tenantId' | 'id' | 'name' | 'description' | 'type'; export declare const OrganizationRoles: GeneratedSchema;