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