Variable conversationRequestOptionsSchemaConst
conversationRequestOptionsSchema: ZodObject<{
headers: ZodOptional<ZodRecord<ZodString, ZodString>>;
proxy: ZodOptional<ZodObject<{
auth: ZodOptional<ZodObject<{
password: ZodString;
username: ZodString;
}, "strip", ZodTypeAny, {
password: string;
username: string;
}, {
password: string;
username: string;
}>>;
host: ZodString;
port: ZodOptional<ZodNumber>;
protocol: ZodOptional<ZodEnum<["http", "https"]>>;
}, "strip", ZodTypeAny, {
auth?: { username: string; password: string; };
host: string;
port?: number;
protocol?: "http" | "https";
}, {
auth?: { username: string; password: string; };
host: string;
port?: number;
protocol?: "http" | "https";
}>>;
}, "strip", ZodTypeAny, {
headers?: Record<string, string>;
proxy?: { host: string; port?: number | undefined; protocol?: "http" | "https" | undefined; auth?: { username: string; password: string; } | undefined; };
}, {
headers?: Record<string, string>;
proxy?: { host: string; port?: number | undefined; protocol?: "http" | "https" | undefined; auth?: { username: string; password: string; } | undefined; };
}> = ...
Type declaration
-
headers: ZodOptional<ZodRecord<ZodString, ZodString>>
-
proxy: ZodOptional<ZodObject<{
auth: ZodOptional<ZodObject<{
password: ZodString;
username: ZodString;
}, "strip", ZodTypeAny, {
password: string;
username: string;
}, {
password: string;
username: string;
}>>;
host: ZodString;
port: ZodOptional<ZodNumber>;
protocol: ZodOptional<ZodEnum<["http", "https"]>>;
}, "strip", ZodTypeAny, {
auth?: { username: string; password: string; };
host: string;
port?: number;
protocol?: "http" | "https";
}, {
auth?: { username: string; password: string; };
host: string;
port?: number;
protocol?: "http" | "https";
}>>
Type declaration
-
Optional
headers?: Record<string, string>
-
Optional
proxy?: { host: string; port?: number | undefined; protocol?: "http" | "https" | undefined; auth?: { username: string; password: string; } | undefined; }
Type declaration
-
Optional
headers?: Record<string, string>
-
Optional
proxy?: { host: string; port?: number | undefined; protocol?: "http" | "https" | undefined; auth?: { username: string; password: string; } | undefined; }
A JSON representation of a ConversationRequestOptions instance.