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 AmazonNova: "amazon-nova"; readonly Ambient: "ambient"; readonly Anthropic: "anthropic"; readonly ArceeAi: "arcee-ai"; 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 Cloudflare: "cloudflare"; readonly Cohere: "cohere"; readonly Crusoe: "crusoe"; readonly Darkbloom: "darkbloom"; readonly Deepinfra: "deepinfra"; readonly Deepseek: "deepseek"; readonly Dekallm: "dekallm"; readonly Digitalocean: "digitalocean"; readonly Featherless: "featherless"; readonly Fireworks: "fireworks"; readonly Friendli: "friendli"; readonly Gmicloud: "gmicloud"; readonly GoogleAiStudio: "google-ai-studio"; readonly GoogleVertex: "google-vertex"; readonly Groq: "groq"; readonly Hyperbolic: "hyperbolic"; readonly Inception: "inception"; readonly Inceptron: "inceptron"; readonly InferenceNet: "inference-net"; readonly Infermatic: "infermatic"; readonly Inflection: "inflection"; readonly IoNet: "io-net"; readonly Ionstream: "ionstream"; readonly Liquid: "liquid"; readonly Mancer: "mancer"; readonly Mara: "mara"; readonly Minimax: "minimax"; readonly Mistral: "mistral"; readonly Modelrun: "modelrun"; readonly Modular: "modular"; readonly Moonshotai: "moonshotai"; readonly Morph: "morph"; readonly Ncompass: "ncompass"; readonly Nebius: "nebius"; readonly NexAgi: "nex-agi"; readonly Nextbit: "nextbit"; readonly Novita: "novita"; readonly Nvidia: "nvidia"; readonly OpenInference: "open-inference"; readonly Openai: "openai"; readonly Parasail: "parasail"; readonly Perceptron: "perceptron"; readonly Perplexity: "perplexity"; readonly Phala: "phala"; readonly Poolside: "poolside"; readonly Recraft: "recraft"; readonly Reka: "reka"; readonly Relace: "relace"; readonly Sambanova: "sambanova"; readonly Seed: "seed"; readonly Siliconflow: "siliconflow"; readonly Sourceful: "sourceful"; readonly Stepfun: "stepfun"; readonly Streamlake: "streamlake"; readonly Switchpoint: "switchpoint"; readonly Together: "together"; readonly Upstage: "upstage"; readonly Venice: "venice"; readonly Wandb: "wandb"; 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. Defaults to the authenticated entity's default workspace. */ 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 | undefined; limit?: number | undefined; 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