import * as z from "zod/v4"; import * as models from "../index.js"; export type CreateOauthTokenGlobals = { /** * 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 CreateOauthTokenRequest = { /** * 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; tokenExchangeRequest: models.TokenExchangeRequest; }; /** @internal */ export type CreateOauthTokenRequest$Outbound = { "HTTP-Referer"?: string | undefined; appTitle?: string | undefined; appCategories?: string | undefined; TokenExchangeRequest: models.TokenExchangeRequest$Outbound; }; /** @internal */ export declare const CreateOauthTokenRequest$outboundSchema: z.ZodType; export declare function createOauthTokenRequestToJSON(createOauthTokenRequest: CreateOauthTokenRequest): string; //# sourceMappingURL=createoauthtoken.d.ts.map