import { JsonObject, PartialColor, Branding, GeneratedSchema } from './../foundations/index.js'; /** * Organizations defined by [RFC 0001](https://github.com/logto-io/rfcs/blob/HEAD/active/0001-organization.md). * * @remarks This is a type for database creation. * @see {@link Organization} for the original type. */ export type CreateOrganization = { tenantId?: string; /** The globally unique identifier of the organization. */ id: string; /** The organization's name for display. */ name: string; /** A brief description of the organization. */ description?: string | null; /** Additional data associated with the organization. */ customData?: JsonObject; /** Whether multi-factor authentication configuration is required for the members of the organization. */ isMfaRequired?: boolean; /** The organization's branding color configuration. */ color?: PartialColor; /** The organization's branding configuration. */ branding?: Branding; /** The custom CSS of the organization. */ customCss?: string | null; /** When the organization was created. */ createdAt?: number; }; /** Organizations defined by [RFC 0001](https://github.com/logto-io/rfcs/blob/HEAD/active/0001-organization.md). */ export type Organization = { tenantId: string; /** The globally unique identifier of the organization. */ id: string; /** The organization's name for display. */ name: string; /** A brief description of the organization. */ description: string | null; /** Additional data associated with the organization. */ customData: JsonObject; /** Whether multi-factor authentication configuration is required for the members of the organization. */ isMfaRequired: boolean; /** The organization's branding color configuration. */ color: PartialColor; /** The organization's branding configuration. */ branding: Branding; /** The custom CSS of the organization. */ customCss: string | null; /** When the organization was created. */ createdAt: number; }; export type OrganizationKeys = 'tenantId' | 'id' | 'name' | 'description' | 'customData' | 'isMfaRequired' | 'color' | 'branding' | 'customCss' | 'createdAt'; export declare const Organizations: GeneratedSchema;