/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v4-mini"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as types from "../../types/primitives.js"; import { SDKValidationError } from "../errors/sdk-validation-error.js"; /** * Response for status 200 */ export type ChangePasswordResponse = { message: string; }; /** @internal */ export const ChangePasswordResponse$inboundSchema: z.ZodMiniType< ChangePasswordResponse, unknown > = z.object({ message: types.string(), }); export function changePasswordResponseFromJSON( jsonString: string, ): SafeParseResult { return safeParse( jsonString, (x) => ChangePasswordResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangePasswordResponse' from JSON`, ); }