/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const DeleteResultRequest$inboundSchema = z.object({
    sourcedId: z.string(),
});
/** @internal */
export const DeleteResultRequest$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 DeleteResultRequest$;
(function (DeleteResultRequest$) {
    /** @deprecated use `DeleteResultRequest$inboundSchema` instead. */
    DeleteResultRequest$.inboundSchema = DeleteResultRequest$inboundSchema;
    /** @deprecated use `DeleteResultRequest$outboundSchema` instead. */
    DeleteResultRequest$.outboundSchema = DeleteResultRequest$outboundSchema;
})(DeleteResultRequest$ || (DeleteResultRequest$ = {}));
export function deleteResultRequestToJSON(deleteResultRequest) {
    return JSON.stringify(DeleteResultRequest$outboundSchema.parse(deleteResultRequest));
}
export function deleteResultRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => DeleteResultRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteResultRequest' from JSON`);
}
//# sourceMappingURL=deleteresult.js.map