/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 52e17db37216
 */
import * as z from "zod";
import { ApiError$zodSchema } from "./apierror.js";
import { AsyncUploadResponse$zodSchema, } from "./asyncuploadresponse.js";
import { UploadResponse$zodSchema } from "./uploadresponse.js";
export const UploadNoResourceTypeGlobals$zodSchema = z.object({
    cloud_name: z.string().describe("The cloud name of your product environment.")
        .optional(),
});
export const UploadNoResourceTypeResponseBody$zodSchema = z.union([
    AsyncUploadResponse$zodSchema,
    UploadResponse$zodSchema,
]).describe("Successful upload");
export const UploadNoResourceTypeResponse$zodSchema = z.union([
    ApiError$zodSchema,
    z.union([
        AsyncUploadResponse$zodSchema,
        UploadResponse$zodSchema,
    ]),
    z.string().describe("Redirect to callback URL (when 'callback' parameter is provided and request is not XHR)."),
]);
//# sourceMappingURL=uploadnoresourcetypeop.js.map