@vercel/sdk
Version:
<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>
36 lines • 1.92 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../types/fp.js";
import { AiGatewayVirtualModelConfig } from "./aigatewayvirtualmodelconfig.js";
import { AiGatewayVirtualModelConfigList } from "./aigatewayvirtualmodelconfiglist.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type GetAiGatewayVirtualModelConfigRequest = {
ownerId?: string | undefined;
virtualModelSlug?: string | undefined;
limit?: number | undefined;
cursor?: string | undefined;
/**
* The Team identifier to perform the request on behalf of.
*/
teamId?: string | undefined;
/**
* The Team slug to perform the request on behalf of.
*/
slug?: string | undefined;
};
export type GetAiGatewayVirtualModelConfigResponseBody = AiGatewayVirtualModelConfig | AiGatewayVirtualModelConfigList;
/** @internal */
export type GetAiGatewayVirtualModelConfigRequest$Outbound = {
ownerId?: string | undefined;
virtualModelSlug?: string | undefined;
limit?: number | undefined;
cursor?: string | undefined;
teamId?: string | undefined;
slug?: string | undefined;
};
/** @internal */
export declare const GetAiGatewayVirtualModelConfigRequest$outboundSchema: z.ZodType<GetAiGatewayVirtualModelConfigRequest$Outbound, z.ZodTypeDef, GetAiGatewayVirtualModelConfigRequest>;
export declare function getAiGatewayVirtualModelConfigRequestToJSON(getAiGatewayVirtualModelConfigRequest: GetAiGatewayVirtualModelConfigRequest): string;
/** @internal */
export declare const GetAiGatewayVirtualModelConfigResponseBody$inboundSchema: z.ZodType<GetAiGatewayVirtualModelConfigResponseBody, z.ZodTypeDef, unknown>;
export declare function getAiGatewayVirtualModelConfigResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAiGatewayVirtualModelConfigResponseBody, SDKValidationError>;
//# sourceMappingURL=getaigatewayvirtualmodelconfigop.d.ts.map