/*
 * 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 ShowFolderGlobals$inboundSchema = z.object({
    cloud_name: z.string().optional(),
}).transform((v) => {
    return remap$(v, {
        "cloud_name": "cloudName",
    });
});
/** @internal */
export const ShowFolderGlobals$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 ShowFolderGlobals$;
(function (ShowFolderGlobals$) {
    /** @deprecated use `ShowFolderGlobals$inboundSchema` instead. */
    ShowFolderGlobals$.inboundSchema = ShowFolderGlobals$inboundSchema;
    /** @deprecated use `ShowFolderGlobals$outboundSchema` instead. */
    ShowFolderGlobals$.outboundSchema = ShowFolderGlobals$outboundSchema;
})(ShowFolderGlobals$ || (ShowFolderGlobals$ = {}));
export function showFolderGlobalsToJSON(showFolderGlobals) {
    return JSON.stringify(ShowFolderGlobals$outboundSchema.parse(showFolderGlobals));
}
export function showFolderGlobalsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ShowFolderGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ShowFolderGlobals' from JSON`);
}
/** @internal */
export const ShowFolderRequest$inboundSchema = z.object({
    folder: z.string(),
});
/** @internal */
export const ShowFolderRequest$outboundSchema = z.object({
    folder: 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 ShowFolderRequest$;
(function (ShowFolderRequest$) {
    /** @deprecated use `ShowFolderRequest$inboundSchema` instead. */
    ShowFolderRequest$.inboundSchema = ShowFolderRequest$inboundSchema;
    /** @deprecated use `ShowFolderRequest$outboundSchema` instead. */
    ShowFolderRequest$.outboundSchema = ShowFolderRequest$outboundSchema;
})(ShowFolderRequest$ || (ShowFolderRequest$ = {}));
export function showFolderRequestToJSON(showFolderRequest) {
    return JSON.stringify(ShowFolderRequest$outboundSchema.parse(showFolderRequest));
}
export function showFolderRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ShowFolderRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ShowFolderRequest' from JSON`);
}
//# sourceMappingURL=showfolder.js.map