/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const DeleteUserRequest$inboundSchema = z.object({
    sourcedId: z.string(),
});
/** @internal */
export const DeleteUserRequest$outboundSchema = z.object({
    sourcedId: z.string(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var DeleteUserRequest$;
(function (DeleteUserRequest$) {
    /** @deprecated use `DeleteUserRequest$inboundSchema` instead. */
    DeleteUserRequest$.inboundSchema = DeleteUserRequest$inboundSchema;
    /** @deprecated use `DeleteUserRequest$outboundSchema` instead. */
    DeleteUserRequest$.outboundSchema = DeleteUserRequest$outboundSchema;
})(DeleteUserRequest$ || (DeleteUserRequest$ = {}));
export function deleteUserRequestToJSON(deleteUserRequest) {
    return JSON.stringify(DeleteUserRequest$outboundSchema.parse(deleteUserRequest));
}
export function deleteUserRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => DeleteUserRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteUserRequest' from JSON`);
}
//# sourceMappingURL=deleteuser.js.map