import * as z from "zod/v4"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import * as models from "../index.js"; export type ListBatchesGlobals = { /** * The app identifier should be your app's URL and is used as the primary identifier for rankings. * * @remarks * This is used to track API usage per application. */ httpReferer?: string | undefined; /** * The app display name allows you to customize how your app appears in OpenRouter's dashboard. * * @remarks */ appTitle?: string | undefined; /** * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings. * * @remarks */ appCategories?: string | undefined; }; export type ListBatchesRequest = { /** * The app identifier should be your app's URL and is used as the primary identifier for rankings. * * @remarks * This is used to track API usage per application. */ httpReferer?: string | undefined; /** * The app display name allows you to customize how your app appears in OpenRouter's dashboard. * * @remarks */ appTitle?: string | undefined; /** * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings. * * @remarks */ appCategories?: string | undefined; /** * Maximum number of batches to return, from 1 through 100. */ limit?: number | undefined; /** * Batch id from the previous page's `last_id`. */ after?: string | undefined; /** * Repeat this parameter to include more than one status. */ status?: Array | undefined; /** * Only include batches created strictly after this timestamp. */ createdAfter?: models.BatchListTimestamp | undefined; /** * Only include batches created strictly before this timestamp. */ createdBefore?: models.BatchListTimestamp | undefined; }; export type ListBatchesResponse = { result: models.BatchListResponse; }; /** @internal */ export type ListBatchesRequest$Outbound = { "HTTP-Referer"?: string | undefined; appTitle?: string | undefined; appCategories?: string | undefined; limit?: number | undefined; after?: string | undefined; status?: Array | undefined; created_after?: models.BatchListTimestamp$Outbound | undefined; created_before?: models.BatchListTimestamp$Outbound | undefined; }; /** @internal */ export declare const ListBatchesRequest$outboundSchema: z.ZodType; export declare function listBatchesRequestToJSON(listBatchesRequest: ListBatchesRequest): string; /** @internal */ export declare const ListBatchesResponse$inboundSchema: z.ZodType; export declare function listBatchesResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listbatches.d.ts.map