/** * Generated by orval v8.19.0 🍺 * Do not edit manually. * Webitel API * OpenAPI spec version: 24.04.0 */ import * as zod from 'zod'; /** * @summary GetUserTfaKey locates the secret for user and returns it as a TOTP url */ export const GetUserTfaKeyParams = zod.object({ user_id: zod.string(), }); export const GetUserTfaKeyResponse = zod.object({ totp: zod .object({ url: zod.string().optional(), user: zod .object({ id: zod.string().optional(), name: zod.string().optional(), }) .optional() .describe('UserId lookup value.'), }) .optional(), }); /** * @summary GenerateUserTfaKey generates new or regenerates secret for the concrete user */ export const GenerateUserTfaKeyParams = zod.object({ user_id: zod.string(), }); export const GenerateUserTfaKeyResponse = zod.object({ totp: zod .object({ url: zod.string().optional(), user: zod .object({ id: zod.string().optional(), name: zod.string().optional(), }) .optional() .describe('UserId lookup value.'), }) .optional(), });