import * as z from "zod/v4"; import * as models from "../index.js"; export type CreatePrivateEndpointGlobals = { /** * 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 CreatePrivateEndpointRequest = { /** * 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; /** * Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `settings` are not compared, and later edits to the endpoint do not affect the comparison. `settings` is still validated before the replay, so a retry with invalid settings returns 400 `settings_invalid` instead of the endpoint. */ idempotencyKey?: string | undefined; createPrivateEndpointRequest: models.CreatePrivateEndpointRequest; }; /** @internal */ export type CreatePrivateEndpointRequest$Outbound = { "HTTP-Referer"?: string | undefined; appTitle?: string | undefined; appCategories?: string | undefined; "idempotency-key"?: string | undefined; CreatePrivateEndpointRequest: models.CreatePrivateEndpointRequest$Outbound; }; /** @internal */ export declare const CreatePrivateEndpointRequest$outboundSchema: z.ZodType; export declare function createPrivateEndpointRequestToJSON(createPrivateEndpointRequest: CreatePrivateEndpointRequest): string; //# sourceMappingURL=createprivateendpoint.d.ts.map