/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const DeleteTransformationGlobals$inboundSchema = z.object({
    cloud_name: z.string().optional(),
}).transform((v) => {
    return remap$(v, {
        "cloud_name": "cloudName",
    });
});
/** @internal */
export const DeleteTransformationGlobals$outboundSchema = z.object({
    cloudName: z.string().optional(),
}).transform((v) => {
    return remap$(v, {
        cloudName: "cloud_name",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var DeleteTransformationGlobals$;
(function (DeleteTransformationGlobals$) {
    /** @deprecated use `DeleteTransformationGlobals$inboundSchema` instead. */
    DeleteTransformationGlobals$.inboundSchema = DeleteTransformationGlobals$inboundSchema;
    /** @deprecated use `DeleteTransformationGlobals$outboundSchema` instead. */
    DeleteTransformationGlobals$.outboundSchema = DeleteTransformationGlobals$outboundSchema;
})(DeleteTransformationGlobals$ || (DeleteTransformationGlobals$ = {}));
export function deleteTransformationGlobalsToJSON(deleteTransformationGlobals) {
    return JSON.stringify(DeleteTransformationGlobals$outboundSchema.parse(deleteTransformationGlobals));
}
export function deleteTransformationGlobalsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => DeleteTransformationGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteTransformationGlobals' from JSON`);
}
/** @internal */
export const DeleteTransformationRequest$inboundSchema = z.object({
    transformation: z.string(),
    invalidate: z.boolean().optional(),
});
/** @internal */
export const DeleteTransformationRequest$outboundSchema = z.object({
    transformation: z.string(),
    invalidate: z.boolean().optional(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var DeleteTransformationRequest$;
(function (DeleteTransformationRequest$) {
    /** @deprecated use `DeleteTransformationRequest$inboundSchema` instead. */
    DeleteTransformationRequest$.inboundSchema = DeleteTransformationRequest$inboundSchema;
    /** @deprecated use `DeleteTransformationRequest$outboundSchema` instead. */
    DeleteTransformationRequest$.outboundSchema = DeleteTransformationRequest$outboundSchema;
})(DeleteTransformationRequest$ || (DeleteTransformationRequest$ = {}));
export function deleteTransformationRequestToJSON(deleteTransformationRequest) {
    return JSON.stringify(DeleteTransformationRequest$outboundSchema.parse(deleteTransformationRequest));
}
export function deleteTransformationRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => DeleteTransformationRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteTransformationRequest' from JSON`);
}
/** @internal */
export const DeleteTransformationResponse$inboundSchema = z.object({
    message: z.string().optional(),
});
/** @internal */
export const DeleteTransformationResponse$outboundSchema = z.object({
    message: z.string().optional(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var DeleteTransformationResponse$;
(function (DeleteTransformationResponse$) {
    /** @deprecated use `DeleteTransformationResponse$inboundSchema` instead. */
    DeleteTransformationResponse$.inboundSchema = DeleteTransformationResponse$inboundSchema;
    /** @deprecated use `DeleteTransformationResponse$outboundSchema` instead. */
    DeleteTransformationResponse$.outboundSchema = DeleteTransformationResponse$outboundSchema;
})(DeleteTransformationResponse$ || (DeleteTransformationResponse$ = {}));
export function deleteTransformationResponseToJSON(deleteTransformationResponse) {
    return JSON.stringify(DeleteTransformationResponse$outboundSchema.parse(deleteTransformationResponse));
}
export function deleteTransformationResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => DeleteTransformationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteTransformationResponse' from JSON`);
}
//# sourceMappingURL=deletetransformation.js.map