/*
 * 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";
import * as components from "../components/index.js";
/** @internal */
export const GetStreamingProfilesGlobals$inboundSchema = z.object({
    cloud_name: z.string().optional(),
}).transform((v) => {
    return remap$(v, {
        "cloud_name": "cloudName",
    });
});
/** @internal */
export const GetStreamingProfilesGlobals$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 GetStreamingProfilesGlobals$;
(function (GetStreamingProfilesGlobals$) {
    /** @deprecated use `GetStreamingProfilesGlobals$inboundSchema` instead. */
    GetStreamingProfilesGlobals$.inboundSchema = GetStreamingProfilesGlobals$inboundSchema;
    /** @deprecated use `GetStreamingProfilesGlobals$outboundSchema` instead. */
    GetStreamingProfilesGlobals$.outboundSchema = GetStreamingProfilesGlobals$outboundSchema;
})(GetStreamingProfilesGlobals$ || (GetStreamingProfilesGlobals$ = {}));
export function getStreamingProfilesGlobalsToJSON(getStreamingProfilesGlobals) {
    return JSON.stringify(GetStreamingProfilesGlobals$outboundSchema.parse(getStreamingProfilesGlobals));
}
export function getStreamingProfilesGlobalsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetStreamingProfilesGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetStreamingProfilesGlobals' from JSON`);
}
/** @internal */
export const GetStreamingProfilesRequest$inboundSchema = z.object({});
/** @internal */
export const GetStreamingProfilesRequest$outboundSchema = z.object({});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetStreamingProfilesRequest$;
(function (GetStreamingProfilesRequest$) {
    /** @deprecated use `GetStreamingProfilesRequest$inboundSchema` instead. */
    GetStreamingProfilesRequest$.inboundSchema = GetStreamingProfilesRequest$inboundSchema;
    /** @deprecated use `GetStreamingProfilesRequest$outboundSchema` instead. */
    GetStreamingProfilesRequest$.outboundSchema = GetStreamingProfilesRequest$outboundSchema;
})(GetStreamingProfilesRequest$ || (GetStreamingProfilesRequest$ = {}));
export function getStreamingProfilesRequestToJSON(getStreamingProfilesRequest) {
    return JSON.stringify(GetStreamingProfilesRequest$outboundSchema.parse(getStreamingProfilesRequest));
}
export function getStreamingProfilesRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetStreamingProfilesRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetStreamingProfilesRequest' from JSON`);
}
/** @internal */
export const GetStreamingProfilesResponse$inboundSchema = z.object({
    data: z.array(components.StreamingProfile$inboundSchema),
});
/** @internal */
export const GetStreamingProfilesResponse$outboundSchema = z.object({
    data: z.array(components.StreamingProfile$outboundSchema),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetStreamingProfilesResponse$;
(function (GetStreamingProfilesResponse$) {
    /** @deprecated use `GetStreamingProfilesResponse$inboundSchema` instead. */
    GetStreamingProfilesResponse$.inboundSchema = GetStreamingProfilesResponse$inboundSchema;
    /** @deprecated use `GetStreamingProfilesResponse$outboundSchema` instead. */
    GetStreamingProfilesResponse$.outboundSchema = GetStreamingProfilesResponse$outboundSchema;
})(GetStreamingProfilesResponse$ || (GetStreamingProfilesResponse$ = {}));
export function getStreamingProfilesResponseToJSON(getStreamingProfilesResponse) {
    return JSON.stringify(GetStreamingProfilesResponse$outboundSchema.parse(getStreamingProfilesResponse));
}
export function getStreamingProfilesResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetStreamingProfilesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetStreamingProfilesResponse' from JSON`);
}
//# sourceMappingURL=getstreamingprofiles.js.map