Variable: GatewayIntegrationModelUpdateSchema
const GatewayIntegrationModelUpdateSchema: ZodObject<{
slug: ZodString;
enabled: ZodBoolean;
is_custom: ZodOptional<ZodNullable<ZodBoolean>>;
is_finetune: ZodOptional<ZodNullable<ZodBoolean>>;
base_model_slug: ZodOptional<ZodNullable<ZodString>>;
configurations: ZodOptional<ZodIntersection<ZodObject<{
custom_host: ZodOptional<ZodString>;
custom_headers: ZodOptional<ZodObject<{
key: ZodOptional<ZodString>;
value: ZodOptional<ZodString>;
}, "strip", ZodString, objectOutputType<{
key: ZodOptional<...>;
value: ZodOptional<...>;
}, ZodString, "strip">, objectInputType<{
key: ZodOptional<...>;
value: ZodOptional<...>;
}, ZodString, "strip">>>;
}, "strip", ZodType<GatewayJsonValue, ZodTypeDef, GatewayJsonValue>, {
custom_host?: string;
custom_headers?: objectOutputType<{
key: ZodOptional<ZodString>;
value: ZodOptional<ZodString>;
}, ZodString, "strip">;
}, {
custom_host?: string;
custom_headers?: objectInputType<{
key: ZodOptional<ZodString>;
value: ZodOptional<ZodString>;
}, ZodString, "strip">;
}>, ZodType<GatewayJsonObject, ZodTypeDef, GatewayJsonObject>>>;
pricing_config: ZodOptional<ZodIntersection<ZodType<{
type?: string;
pay_as_you_go?: {
request_token?: {
price?: ... | ...;
};
response_token?: {
price?: ... | ...;
};
};
}, ZodTypeDef, {
type?: string;
pay_as_you_go?: {
request_token?: {
price?: ... | ...;
};
response_token?: {
price?: ... | ...;
};
};
}>, ZodType<GatewayJsonObject, ZodTypeDef, GatewayJsonObject>>>;
}, "strict", ZodTypeAny, {
slug: string;
enabled: boolean;
is_custom?: boolean | null;
is_finetune?: boolean | null;
base_model_slug?: string | null;
configurations?: {
custom_host?: string;
custom_headers?: objectOutputType<{
key: ZodOptional<ZodString>;
value: ZodOptional<ZodString>;
}, ZodString, "strip">;
} & GatewayJsonObject;
pricing_config?: {
type?: string;
pay_as_you_go?: {
request_token?: {
price?: number;
};
response_token?: {
price?: number;
};
};
} & GatewayJsonObject;
}, {
slug: string;
enabled: boolean;
is_custom?: boolean | null;
is_finetune?: boolean | null;
base_model_slug?: string | null;
configurations?: {
custom_host?: string;
custom_headers?: objectInputType<{
key: ZodOptional<ZodString>;
value: ZodOptional<ZodString>;
}, ZodString, "strip">;
} & GatewayJsonObject;
pricing_config?: {
type?: string;
pay_as_you_go?: {
request_token?: {
price?: number;
};
response_token?: {
price?: number;
};
};
} & GatewayJsonObject;
}>;
Defined in: src/models/ai-gateway-requests.ts:363