import * as z from "zod/v4"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import * as models from "../index.js"; export type ListBYOKKeysGlobals = { /** * 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; }; /** * Optional provider slug to filter by (e.g. `openai`, `anthropic`, `amazon-bedrock`). */ export declare const Provider: { readonly Ai21: "ai21"; readonly AionLabs: "aion-labs"; readonly Akashml: "akashml"; readonly Alibaba: "alibaba"; readonly AmazonBedrock: "amazon-bedrock"; readonly AmazonBedrockClaudeOnAws: "amazon-bedrock/claude-on-aws"; readonly AmazonNova: "amazon-nova"; readonly Ambient: "ambient"; readonly Anthropic: "anthropic"; readonly Anthropic2: "anthropic/2"; readonly ArceeAi: "arcee-ai"; readonly Assemblyai: "assemblyai"; readonly AtlasCloud: "atlas-cloud"; readonly Avian: "avian"; readonly Azure: "azure"; readonly Baidu: "baidu"; readonly Baseten: "baseten"; readonly BlackForestLabs: "black-forest-labs"; readonly Byteplus: "byteplus"; readonly Cerebras: "cerebras"; readonly Chutes: "chutes"; readonly Cirrascale: "cirrascale"; readonly Clarifai: "clarifai"; readonly ClaudeOnAws: "claude-on-aws"; readonly Cloudflare: "cloudflare"; readonly Cohere: "cohere"; readonly Coreweave: "coreweave"; readonly Cosine: "cosine"; readonly Crusoe: "crusoe"; readonly Darkbloom: "darkbloom"; readonly Databricks: "databricks"; readonly Decart: "decart"; readonly Deepgram: "deepgram"; readonly Deepinfra: "deepinfra"; readonly Deepseek: "deepseek"; readonly Dekallm: "dekallm"; readonly Digitalocean: "digitalocean"; readonly Featherless: "featherless"; readonly Fireworks: "fireworks"; readonly FishAudio: "fish-audio"; readonly Friendli: "friendli"; readonly Gmicloud: "gmicloud"; readonly GoogleAiStudio: "google-ai-studio"; readonly GoogleVertex: "google-vertex"; readonly Groq: "groq"; readonly Heygen: "heygen"; readonly Inception: "inception"; readonly Inceptron: "inceptron"; readonly InferactVllm: "inferact-vllm"; readonly InferenceNet: "inference-net"; readonly Infermatic: "infermatic"; readonly Inflection: "inflection"; readonly IoNet: "io-net"; readonly Ionstream: "ionstream"; readonly Krea: "krea"; readonly Liquid: "liquid"; readonly Makora: "makora"; readonly Mancer: "mancer"; readonly Mara: "mara"; readonly Meta: "meta"; readonly Minimax: "minimax"; readonly Mistral: "mistral"; readonly Modal: "modal"; readonly Modelrun: "modelrun"; readonly Modular: "modular"; readonly Moonshotai: "moonshotai"; readonly Morph: "morph"; readonly NearAi: "near-ai"; readonly Nebius: "nebius"; readonly NexAgi: "nex-agi"; readonly Nextbit: "nextbit"; readonly Novita: "novita"; readonly Nvidia: "nvidia"; readonly Ollama: "ollama"; readonly OpenInference: "open-inference"; readonly Openai: "openai"; readonly Parasail: "parasail"; readonly Perceptron: "perceptron"; readonly Perplexity: "perplexity"; readonly Phala: "phala"; readonly Poolside: "poolside"; readonly Primeintellect: "primeintellect"; readonly Quiver: "quiver"; readonly Recraft: "recraft"; readonly Reka: "reka"; readonly Relace: "relace"; readonly Respan: "respan"; readonly Runway: "runway"; readonly SailResearch: "sail-research"; readonly Sakana: "sakana"; readonly SakanaAi: "sakana-ai"; readonly Sambanova: "sambanova"; readonly Scaledown: "scaledown"; readonly Seed: "seed"; readonly Siliconflow: "siliconflow"; readonly Sourceful: "sourceful"; readonly Stepfun: "stepfun"; readonly Streamlake: "streamlake"; readonly Switchpoint: "switchpoint"; readonly Tencent: "tencent"; readonly Tenstorrent: "tenstorrent"; readonly Thinkingmachines: "thinkingmachines"; readonly Together: "together"; readonly Typesafe: "typesafe"; readonly Unbiased: "unbiased"; readonly Upstage: "upstage"; readonly Venice: "venice"; readonly Voyageai: "voyageai"; readonly Wafer: "wafer"; readonly Wandb: "wandb"; readonly WandbLegacy: "wandb-legacy"; readonly Xai: "xai"; readonly Xiaomi: "xiaomi"; readonly ZAi: "z-ai"; }; /** * Optional provider slug to filter by (e.g. `openai`, `anthropic`, `amazon-bedrock`). */ export type Provider = OpenEnum; export type ListBYOKKeysRequest = { /** * 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 */ offset?: number | null | undefined; /** * Maximum number of records to return (max 100) */ limit?: number | undefined; /** * Optional workspace ID to filter by. When omitted, resolves to the account’s default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. */ workspaceId?: string | undefined; /** * Optional provider slug to filter by (e.g. `openai`, `anthropic`, `amazon-bedrock`). */ provider?: Provider | undefined; }; export type ListBYOKKeysResponse = { result: models.ListBYOKKeysResponse; }; /** @internal */ export declare const Provider$outboundSchema: z.ZodType; /** @internal */ export type ListBYOKKeysRequest$Outbound = { "HTTP-Referer"?: string | undefined; appTitle?: string | undefined; appCategories?: string | undefined; offset: number | null; limit: number; workspace_id?: string | undefined; provider?: string | undefined; }; /** @internal */ export declare const ListBYOKKeysRequest$outboundSchema: z.ZodType; export declare function listBYOKKeysRequestToJSON(listBYOKKeysRequest: ListBYOKKeysRequest): string; /** @internal */ export declare const ListBYOKKeysResponse$inboundSchema: z.ZodType; export declare function listBYOKKeysResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listbyokkeys.d.ts.map