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 ListInternConnectionsGlobals = { /** * 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 ListInternConnectionsRequest = { /** * 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; /** * UUID of an intern in the workspace selected by the API key. */ internId: string; }; export type ListInternConnectionsData = { key: string; }; /** * The connections the intern can use. */ export type ListInternConnectionsResponse = { data: Array; /** * The intern's routing table, for the intern's own key only; null for any other caller or when the vault could not build it in time. The keys still list. */ routing: models.VaultRoutingTable | null; /** * The routing table as the plain lines the intern reads in its instructions' Connections section, or a notice that it could not be read; null for a caller other than the intern. */ routingText: string | null; }; /** @internal */ export type ListInternConnectionsRequest$Outbound = { "HTTP-Referer"?: string | undefined; appTitle?: string | undefined; appCategories?: string | undefined; internId: string; }; /** @internal */ export declare const ListInternConnectionsRequest$outboundSchema: z.ZodType; export declare function listInternConnectionsRequestToJSON(listInternConnectionsRequest: ListInternConnectionsRequest): string; /** @internal */ export declare const ListInternConnectionsData$inboundSchema: z.ZodType; export declare function listInternConnectionsDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListInternConnectionsResponse$inboundSchema: z.ZodType; export declare function listInternConnectionsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listinternconnections.d.ts.map