/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 39cf71b58fa3 */ import * as z from "zod"; import { ApiError, ApiError$zodSchema } from "./apierror.js"; import { FoldersSearchResponse, FoldersSearchResponse$zodSchema, } from "./folderssearchresponse.js"; export type SearchFoldersPostGlobals = { cloud_name?: string | undefined }; export const SearchFoldersPostGlobals$zodSchema: z.ZodType< SearchFoldersPostGlobals > = z.object({ cloud_name: z.string().describe("The cloud name of your product environment.") .optional(), }); export type SearchFoldersPostResponse = FoldersSearchResponse | ApiError; export const SearchFoldersPostResponse$zodSchema: z.ZodType< SearchFoldersPostResponse > = z.union([ FoldersSearchResponse$zodSchema, ApiError$zodSchema, ]);