/** * This Source Code is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Copyright (c) Infonomic Company Limited */ import { z } from 'zod'; import { adminUserResponseSchema, okResponseSchema } from '../admin-users/schemas.js'; /** No payload — target is the actor on context. */ export declare const getAccountRequestSchema: z.ZodObject<{}, z.core.$strict>; export type GetAccountRequest = z.infer; export declare const updateAccountRequestSchema: z.ZodObject<{ vid: z.ZodNumber; patch: z.ZodObject<{ email: z.ZodOptional>>; given_name: z.ZodOptional>; family_name: z.ZodOptional>; username: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>; export type UpdateAccountRequest = z.infer; export declare const changeAccountPasswordRequestSchema: z.ZodObject<{ vid: z.ZodNumber; currentPassword: z.ZodString; newPassword: z.ZodString; }, z.core.$strip>; export type ChangeAccountPasswordRequest = z.infer; export declare const setPreferredLocaleRequestSchema: z.ZodObject<{ locale: z.ZodNullable; }, z.core.$strip>; export type SetPreferredLocaleRequest = z.infer; export { adminUserResponseSchema as accountResponseSchema, okResponseSchema }; export type { AdminUserResponse as AccountResponse, OkResponse } from '../admin-users/schemas.js';