/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 734ed3c59597
 */
import * as z from "zod";
import { ApiError$zodSchema } from "./apierror.js";
import { DirectionEnum$zodSchema } from "./directionenum.js";
import { Fields$zodSchema } from "./fields.js";
import { ListResponse$zodSchema } from "./listresponse.js";
import { ResourceType$zodSchema } from "./resourcetype.js";
export const ListResourcesByContextGlobals$zodSchema = z.object({
    cloud_name: z.string().describe("The cloud name of your product environment.")
        .optional(),
});
export const ListResourcesByContextRequest$zodSchema = z.object({
    direction: DirectionEnum$zodSchema.optional().describe("The sort direction for the results. Default is \"desc\"."),
    fields: Fields$zodSchema.optional().describe("Additional fields to include in the response. The fields public_id and asset_id are always included."),
    key: z.string().describe("Context key to filter by."),
    max_results: z.int().describe("Maximum number of results to return (1-500).")
        .optional(),
    next_cursor: z.string().describe("Cursor for pagination.").optional(),
    resource_type: ResourceType$zodSchema.describe("The type of resource (image, video, or raw)."),
    value: z.string().describe("Context value to filter by.").optional(),
});
export const ListResourcesByContextResponse$zodSchema = z.union([
    ApiError$zodSchema,
    ListResponse$zodSchema,
]);
//# sourceMappingURL=listresourcesbycontextop.js.map