/*
 * 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 DeleteStreamingProfileGlobals$inboundSchema = z.object({
    cloud_name: z.string().optional(),
}).transform((v) => {
    return remap$(v, {
        "cloud_name": "cloudName",
    });
});
/** @internal */
export const DeleteStreamingProfileGlobals$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 DeleteStreamingProfileGlobals$;
(function (DeleteStreamingProfileGlobals$) {
    /** @deprecated use `DeleteStreamingProfileGlobals$inboundSchema` instead. */
    DeleteStreamingProfileGlobals$.inboundSchema = DeleteStreamingProfileGlobals$inboundSchema;
    /** @deprecated use `DeleteStreamingProfileGlobals$outboundSchema` instead. */
    DeleteStreamingProfileGlobals$.outboundSchema = DeleteStreamingProfileGlobals$outboundSchema;
})(DeleteStreamingProfileGlobals$ || (DeleteStreamingProfileGlobals$ = {}));
export function deleteStreamingProfileGlobalsToJSON(deleteStreamingProfileGlobals) {
    return JSON.stringify(DeleteStreamingProfileGlobals$outboundSchema.parse(deleteStreamingProfileGlobals));
}
export function deleteStreamingProfileGlobalsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => DeleteStreamingProfileGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteStreamingProfileGlobals' from JSON`);
}
/** @internal */
export const DeleteStreamingProfileRequest$inboundSchema = z.object({
    name: z.string(),
});
/** @internal */
export const DeleteStreamingProfileRequest$outboundSchema = z.object({
    name: 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 DeleteStreamingProfileRequest$;
(function (DeleteStreamingProfileRequest$) {
    /** @deprecated use `DeleteStreamingProfileRequest$inboundSchema` instead. */
    DeleteStreamingProfileRequest$.inboundSchema = DeleteStreamingProfileRequest$inboundSchema;
    /** @deprecated use `DeleteStreamingProfileRequest$outboundSchema` instead. */
    DeleteStreamingProfileRequest$.outboundSchema = DeleteStreamingProfileRequest$outboundSchema;
})(DeleteStreamingProfileRequest$ || (DeleteStreamingProfileRequest$ = {}));
export function deleteStreamingProfileRequestToJSON(deleteStreamingProfileRequest) {
    return JSON.stringify(DeleteStreamingProfileRequest$outboundSchema.parse(deleteStreamingProfileRequest));
}
export function deleteStreamingProfileRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => DeleteStreamingProfileRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteStreamingProfileRequest' from JSON`);
}
/** @internal */
export const DeleteStreamingProfileResponse$inboundSchema = z.object({
    message: z.string(),
});
/** @internal */
export const DeleteStreamingProfileResponse$outboundSchema = z.object({
    message: 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 DeleteStreamingProfileResponse$;
(function (DeleteStreamingProfileResponse$) {
    /** @deprecated use `DeleteStreamingProfileResponse$inboundSchema` instead. */
    DeleteStreamingProfileResponse$.inboundSchema = DeleteStreamingProfileResponse$inboundSchema;
    /** @deprecated use `DeleteStreamingProfileResponse$outboundSchema` instead. */
    DeleteStreamingProfileResponse$.outboundSchema = DeleteStreamingProfileResponse$outboundSchema;
})(DeleteStreamingProfileResponse$ || (DeleteStreamingProfileResponse$ = {}));
export function deleteStreamingProfileResponseToJSON(deleteStreamingProfileResponse) {
    return JSON.stringify(DeleteStreamingProfileResponse$outboundSchema.parse(deleteStreamingProfileResponse));
}
export function deleteStreamingProfileResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => DeleteStreamingProfileResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteStreamingProfileResponse' from JSON`);
}
//# sourceMappingURL=deletestreamingprofile.js.map