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 ListModelAvailabilityPoliciesGlobals = { /** * 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 ListModelAvailabilityPoliciesRequest = { /** * 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; /** * Number of records to skip for pagination. When both offset and limit are omitted, the full list is returned */ offset?: number | undefined; /** * Maximum number of records to return (max 100). When both offset and limit are omitted, the full list is returned */ limit?: number | undefined; /** * Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other. */ workspaceId?: string | undefined; }; export type ListModelAvailabilityPoliciesResponse = { result: models.ListModelAvailabilityGuardrailPoliciesResponse; }; /** @internal */ export type ListModelAvailabilityPoliciesRequest$Outbound = { "HTTP-Referer"?: string | undefined; appTitle?: string | undefined; appCategories?: string | undefined; offset?: number | undefined; limit?: number | undefined; workspace_id?: string | undefined; }; /** @internal */ export declare const ListModelAvailabilityPoliciesRequest$outboundSchema: z.ZodType; export declare function listModelAvailabilityPoliciesRequestToJSON(listModelAvailabilityPoliciesRequest: ListModelAvailabilityPoliciesRequest): string; /** @internal */ export declare const ListModelAvailabilityPoliciesResponse$inboundSchema: z.ZodType; export declare function listModelAvailabilityPoliciesResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listmodelavailabilitypolicies.d.ts.map