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