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