import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import Long from "long"; export declare const protobufPackage = "zitadel.resources.user.v3alpha"; export interface Contact { /** Email contact information of the user. */ email: Email | undefined; /** Phone contact information of the user. */ phone: Phone | undefined; } export interface Email { /** Email address of the user. */ address: string; /** IsVerified states if the email address has been verified to belong to the user. */ isVerified: boolean; } export interface Phone { /** Phone number of the user. */ number: string; /** IsVerified states if the phone number has been verified to belong to the user. */ isVerified: boolean; } export interface SetContact { email?: SetEmail | undefined; phone?: SetPhone | undefined; } export interface SetEmail { /** Set the email address. */ address: string; /** Let ZITADEL send the link to the user via email. */ sendCode?: SendEmailVerificationCode | undefined; /** Get the code back to provide it to the user in your preferred mechanism. */ returnCode?: ReturnEmailVerificationCode | undefined; /** Set the email as already verified. */ isVerified?: boolean | undefined; } export interface SendEmailVerificationCode { /** * Optionally set a url_template, which will be used in the verification mail sent by ZITADEL * to guide the user to your verification page. * If no template is set, the default ZITADEL url will be used. */ urlTemplate?: string | undefined; } export interface ReturnEmailVerificationCode { } export interface SetPhone { /** Set the user's phone number. */ number: string; /** Let ZITADEL send the link to the user via SMS. */ sendCode?: SendPhoneVerificationCode | undefined; /** Get the code back to provide it to the user in your preferred mechanism. */ returnCode?: ReturnPhoneVerificationCode | undefined; /** Set the phone as already verified. */ isVerified?: boolean | undefined; } export interface SendPhoneVerificationCode { } export interface ReturnPhoneVerificationCode { } export declare const Contact: MessageFns; export declare const Email: MessageFns; export declare const Phone: MessageFns; export declare const SetContact: MessageFns; export declare const SetEmail: MessageFns; export declare const SendEmailVerificationCode: MessageFns; export declare const ReturnEmailVerificationCode: MessageFns; export declare const SetPhone: MessageFns; export declare const SendPhoneVerificationCode: MessageFns; export declare const ReturnPhoneVerificationCode: 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 {};