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