import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import Long from "long"; import { ResourceOwnerType } from "./settings.js"; export declare const protobufPackage = "zitadel.settings.v2"; export interface DomainSettings { /** * If enabled, the login name will automatically be suffixed with the domain of the organization. * This ensures that the login name is unique across the instance. */ loginNameIncludesDomain: boolean; /** * If enabled, organization domains must be verified (through an DNS or HTTP challenge) upon creation. * If disabled, organization domains will be created as already verified automatically. */ requireOrgDomainVerification: boolean; /** If enabled, the SMTP sender address domain must match custom domain on the instance. */ smtpSenderAddressMatchesInstanceDomain: boolean; /** * ResourceOwnerType returns if the setting is managed on the organization explicitly or * fell back on the instance settings. */ resourceOwnerType: ResourceOwnerType; } export declare const DomainSettings: MessageFns; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export interface MessageFns { encode(message: T, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): T; fromJSON(object: any): T; toJSON(message: T): unknown; create(base?: DeepPartial): T; fromPartial(object: DeepPartial): T; } export {};