@openrouter/sdk 0.8.0 → 0.9.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/funcs/chatSend.d.ts +3 -3
- package/esm/funcs/chatSend.js +18 -2
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/assistantmessage.d.ts +47 -36
- package/esm/models/assistantmessage.js +35 -47
- package/esm/models/assistantmessageimages.d.ts +33 -0
- package/esm/models/assistantmessageimages.js +44 -0
- package/esm/models/chatgenerationparams.d.ts +453 -126
- package/esm/models/chatgenerationparams.js +238 -97
- package/esm/models/chatgenerationtokenusage.d.ts +48 -0
- package/esm/models/chatmessagecontentitem.d.ts +15 -10
- package/esm/models/chatmessagecontentitem.js +25 -4
- package/esm/models/chatmessagecontentitemaudio.d.ts +20 -2
- package/esm/models/chatmessagecontentitemaudio.js +9 -2
- package/esm/models/chatmessagecontentitemcachecontrol.d.ts +14 -3
- package/esm/models/chatmessagecontentitemcachecontrol.js +9 -2
- package/esm/models/chatmessagecontentitemimage.d.ts +26 -3
- package/esm/models/chatmessagecontentitemimage.js +12 -2
- package/esm/models/chatmessagecontentitemtext.d.ts +17 -2
- package/esm/models/chatmessagecontentitemtext.js +9 -2
- package/esm/models/chatmessagecontentitemvideo.d.ts +12 -55
- package/esm/models/chatmessagecontentitemvideo.js +5 -72
- package/esm/models/chatmessagecontentitemvideolegacy.d.ts +28 -0
- package/esm/models/chatmessagecontentitemvideolegacy.js +33 -0
- package/esm/models/chatmessagetokenlogprob.d.ts +15 -0
- package/esm/models/chatmessagetokenlogprobs.d.ts +9 -0
- package/esm/models/chatmessagetoolcall.d.ts +23 -2
- package/esm/models/chatmessagetoolcall.js +9 -2
- package/esm/models/chatresponse.d.ts +29 -1
- package/esm/models/chatresponse.js +6 -1
- package/esm/models/chatresponsechoice.d.ts +13 -2
- package/esm/models/chatresponsechoice.js +1 -2
- package/esm/models/chatstreamingchoice.d.ts +13 -2
- package/esm/models/chatstreamingchoice.js +1 -2
- package/esm/models/chatstreamingmessagechunk.d.ts +29 -2
- package/esm/models/chatstreamingmessagechunk.js +5 -2
- package/esm/models/chatstreamingmessagetoolcall.d.ts +38 -1
- package/esm/models/chatstreamingmessagetoolcall.js +9 -1
- package/esm/models/chatstreamingresponsechunk.d.ts +45 -11
- package/esm/models/chatstreamingresponsechunk.js +11 -25
- package/esm/models/chatstreamoptions.d.ts +8 -0
- package/esm/models/debugoptions.d.ts +18 -0
- package/esm/models/debugoptions.js +18 -0
- package/esm/models/developermessage.d.ts +12 -0
- package/esm/models/errors/index.d.ts +0 -1
- package/esm/models/errors/index.js +0 -1
- package/esm/models/index.d.ts +12 -8
- package/esm/models/index.js +12 -8
- package/esm/models/jsonschemaconfig.d.ts +17 -2
- package/esm/models/jsonschemaconfig.js +1 -1
- package/esm/models/message.d.ts +9 -2
- package/esm/models/message.js +1 -1
- package/esm/models/modelscountresponse.d.ts +4 -4
- package/esm/models/modelscountresponse.js +4 -4
- package/esm/models/namedtoolchoice.d.ts +15 -2
- package/esm/models/namedtoolchoice.js +6 -1
- package/esm/models/openairesponsesreasoningconfig.d.ts +1 -1
- package/esm/models/openairesponsesreasoningconfig.js +1 -1
- package/esm/models/openresponsesnonstreamingresponse.d.ts +4 -4
- package/esm/models/openresponsesnonstreamingresponse.js +3 -3
- package/esm/models/openresponsesreasoning.d.ts +2 -2
- package/esm/models/openresponsesreasoning.js +1 -1
- package/esm/models/openresponsesreasoningconfig.d.ts +2 -2
- package/esm/models/openresponsesreasoningconfig.js +1 -1
- package/esm/models/openresponsesrequest.d.ts +62 -32
- package/esm/models/openresponsesrequest.js +61 -36
- package/esm/models/operations/createauthkeyscode.d.ts +24 -0
- package/esm/models/operations/createauthkeyscode.js +14 -0
- package/esm/models/operations/getgeneration.d.ts +2 -0
- package/esm/models/operations/getgeneration.js +2 -0
- package/esm/models/operations/sendchatcompletionrequest.d.ts +12 -3
- package/esm/models/operations/sendchatcompletionrequest.js +20 -2
- package/esm/models/providername.d.ts +2 -0
- package/esm/models/providername.js +2 -0
- package/esm/models/providerpreferences.d.ts +45 -14
- package/esm/models/providerpreferences.js +29 -15
- package/esm/models/providersort.d.ts +6 -0
- package/esm/models/providersort.js +3 -0
- package/esm/models/providersortconfig.d.ts +30 -2
- package/esm/models/providersortconfig.js +15 -2
- package/esm/models/reasoningdetailencrypted.d.ts +42 -0
- package/esm/models/reasoningdetailencrypted.js +42 -0
- package/esm/models/reasoningdetailsummary.d.ts +42 -0
- package/esm/models/reasoningdetailsummary.js +42 -0
- package/esm/models/reasoningdetailtext.d.ts +44 -0
- package/esm/models/reasoningdetailtext.js +44 -0
- package/esm/models/reasoningdetailunion.d.ts +19 -0
- package/esm/models/reasoningdetailunion.js +28 -0
- package/esm/models/responseformatjsonobject.d.ts +20 -0
- package/esm/models/responseformatjsonobject.js +21 -0
- package/esm/models/responseformatjsonschema.d.ts +6 -0
- package/esm/models/responseformattext.d.ts +15 -0
- package/esm/models/responseformattext.js +13 -0
- package/esm/models/responseformattextconfig.d.ts +3 -3
- package/esm/models/responseformattextconfig.js +3 -3
- package/esm/models/responseformattextgrammar.d.ts +6 -0
- package/esm/models/responseformattextpython.d.ts +15 -0
- package/esm/models/responseformattextpython.js +13 -0
- package/esm/models/responseserrorfield.d.ts +4 -4
- package/esm/models/responseserrorfield.js +4 -4
- package/esm/models/responsesoutputitemreasoning.d.ts +2 -2
- package/esm/models/responsesoutputitemreasoning.js +2 -2
- package/esm/models/systemmessage.d.ts +12 -0
- package/esm/models/toolchoiceoption.d.ts +31 -0
- package/esm/models/toolchoiceoption.js +32 -0
- package/esm/models/tooldefinitionjson.d.ts +38 -4
- package/esm/models/tooldefinitionjson.js +14 -2
- package/esm/models/toolresponsemessage.d.ts +12 -0
- package/esm/models/usermessage.d.ts +12 -0
- package/esm/models/videoinput.d.ts +23 -0
- package/esm/models/videoinput.js +22 -0
- package/esm/sdk/chat.d.ts +1 -1
- package/esm/sdk/sdk.d.ts +2 -2
- package/esm/sdk/sdk.js +3 -3
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/esm/models/chaterror.d.ts +0 -17
- package/esm/models/chaterror.js +0 -25
- package/esm/models/errors/chaterror.d.ts +0 -19
- package/esm/models/errors/chaterror.js +0 -32
- package/esm/models/providersortunion.d.ts +0 -10
- package/esm/models/providersortunion.js +0 -13
- package/esm/models/responsesformatjsonobject.d.ts +0 -20
- package/esm/models/responsesformatjsonobject.js +0 -21
- package/esm/models/schema10.d.ts +0 -33
- package/esm/models/schema10.js +0 -30
- package/esm/models/schema14.d.ts +0 -8
- package/esm/models/schema14.js +0 -12
- package/esm/models/schema17.d.ts +0 -102
- package/esm/models/schema17.js +0 -95
- package/esm/models/schema19.d.ts +0 -92
- package/esm/models/schema19.js +0 -109
- package/esm/models/schema5.d.ts +0 -86
- package/esm/models/schema5.js +0 -89
package/esm/models/index.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export * from "./activityitem.js";
|
|
6
6
|
export * from "./assistantmessage.js";
|
|
7
|
+
export * from "./assistantmessageimages.js";
|
|
7
8
|
export * from "./badgatewayresponseerrordata.js";
|
|
8
9
|
export * from "./badrequestresponseerrordata.js";
|
|
9
10
|
export * from "./chatcompletionfinishreason.js";
|
|
10
|
-
export * from "./chaterror.js";
|
|
11
11
|
export * from "./chatgenerationparams.js";
|
|
12
12
|
export * from "./chatgenerationtokenusage.js";
|
|
13
13
|
export * from "./chatmessagecontentitem.js";
|
|
@@ -16,6 +16,7 @@ export * from "./chatmessagecontentitemcachecontrol.js";
|
|
|
16
16
|
export * from "./chatmessagecontentitemimage.js";
|
|
17
17
|
export * from "./chatmessagecontentitemtext.js";
|
|
18
18
|
export * from "./chatmessagecontentitemvideo.js";
|
|
19
|
+
export * from "./chatmessagecontentitemvideolegacy.js";
|
|
19
20
|
export * from "./chatmessagetokenlogprob.js";
|
|
20
21
|
export * from "./chatmessagetokenlogprobs.js";
|
|
21
22
|
export * from "./chatmessagetoolcall.js";
|
|
@@ -28,6 +29,7 @@ export * from "./chatstreamingresponsechunk.js";
|
|
|
28
29
|
export * from "./chatstreamoptions.js";
|
|
29
30
|
export * from "./createchargerequest.js";
|
|
30
31
|
export * from "./datacollection.js";
|
|
32
|
+
export * from "./debugoptions.js";
|
|
31
33
|
export * from "./defaultparameters.js";
|
|
32
34
|
export * from "./developermessage.js";
|
|
33
35
|
export * from "./edgenetworktimeoutresponseerrordata.js";
|
|
@@ -108,17 +110,23 @@ export * from "./provideroverloadedresponseerrordata.js";
|
|
|
108
110
|
export * from "./providerpreferences.js";
|
|
109
111
|
export * from "./providersort.js";
|
|
110
112
|
export * from "./providersortconfig.js";
|
|
111
|
-
export * from "./providersortunion.js";
|
|
112
113
|
export * from "./publicendpoint.js";
|
|
113
114
|
export * from "./publicpricing.js";
|
|
114
115
|
export * from "./quantization.js";
|
|
116
|
+
export * from "./reasoningdetailencrypted.js";
|
|
117
|
+
export * from "./reasoningdetailsummary.js";
|
|
118
|
+
export * from "./reasoningdetailtext.js";
|
|
119
|
+
export * from "./reasoningdetailunion.js";
|
|
115
120
|
export * from "./reasoningsummarytext.js";
|
|
116
121
|
export * from "./reasoningsummaryverbosity.js";
|
|
117
122
|
export * from "./reasoningtextcontent.js";
|
|
118
123
|
export * from "./requesttimeoutresponseerrordata.js";
|
|
124
|
+
export * from "./responseformatjsonobject.js";
|
|
119
125
|
export * from "./responseformatjsonschema.js";
|
|
126
|
+
export * from "./responseformattext.js";
|
|
120
127
|
export * from "./responseformattextconfig.js";
|
|
121
128
|
export * from "./responseformattextgrammar.js";
|
|
129
|
+
export * from "./responseformattextpython.js";
|
|
122
130
|
export * from "./responseinputaudio.js";
|
|
123
131
|
export * from "./responseinputfile.js";
|
|
124
132
|
export * from "./responseinputimage.js";
|
|
@@ -126,7 +134,6 @@ export * from "./responseinputtext.js";
|
|
|
126
134
|
export * from "./responseinputvideo.js";
|
|
127
135
|
export * from "./responseoutputtext.js";
|
|
128
136
|
export * from "./responseserrorfield.js";
|
|
129
|
-
export * from "./responsesformatjsonobject.js";
|
|
130
137
|
export * from "./responsesformattext.js";
|
|
131
138
|
export * from "./responsesformattextjsonschemaconfig.js";
|
|
132
139
|
export * from "./responsesimagegenerationcall.js";
|
|
@@ -140,15 +147,11 @@ export * from "./responsessearchcontextsize.js";
|
|
|
140
147
|
export * from "./responseswebsearchcalloutput.js";
|
|
141
148
|
export * from "./responseswebsearchuserlocation.js";
|
|
142
149
|
export * from "./responsetextconfig.js";
|
|
143
|
-
export * from "./schema10.js";
|
|
144
|
-
export * from "./schema14.js";
|
|
145
|
-
export * from "./schema17.js";
|
|
146
|
-
export * from "./schema19.js";
|
|
147
|
-
export * from "./schema5.js";
|
|
148
150
|
export * from "./security.js";
|
|
149
151
|
export * from "./serviceunavailableresponseerrordata.js";
|
|
150
152
|
export * from "./systemmessage.js";
|
|
151
153
|
export * from "./toolcallstatus.js";
|
|
154
|
+
export * from "./toolchoiceoption.js";
|
|
152
155
|
export * from "./tooldefinitionjson.js";
|
|
153
156
|
export * from "./toolresponsemessage.js";
|
|
154
157
|
export * from "./toomanyrequestsresponseerrordata.js";
|
|
@@ -157,6 +160,7 @@ export * from "./unauthorizedresponseerrordata.js";
|
|
|
157
160
|
export * from "./unprocessableentityresponseerrordata.js";
|
|
158
161
|
export * from "./urlcitation.js";
|
|
159
162
|
export * from "./usermessage.js";
|
|
163
|
+
export * from "./videoinput.js";
|
|
160
164
|
export * from "./websearchengine.js";
|
|
161
165
|
export * from "./websearchpreviewtooluserlocation.js";
|
|
162
166
|
export * from "./websearchstatus.js";
|
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* JSON Schema configuration object
|
|
4
|
+
*/
|
|
2
5
|
export type JSONSchemaConfig = {
|
|
6
|
+
/**
|
|
7
|
+
* Schema name (a-z, A-Z, 0-9, underscores, dashes, max 64 chars)
|
|
8
|
+
*/
|
|
3
9
|
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Schema description for the model
|
|
12
|
+
*/
|
|
4
13
|
description?: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* JSON Schema object
|
|
16
|
+
*/
|
|
5
17
|
schema?: {
|
|
6
|
-
[k: string]: any;
|
|
18
|
+
[k: string]: any | null;
|
|
7
19
|
} | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Enable strict schema adherence
|
|
22
|
+
*/
|
|
8
23
|
strict?: boolean | null | undefined;
|
|
9
24
|
};
|
|
10
25
|
/** @internal */
|
|
@@ -12,7 +27,7 @@ export type JSONSchemaConfig$Outbound = {
|
|
|
12
27
|
name: string;
|
|
13
28
|
description?: string | undefined;
|
|
14
29
|
schema?: {
|
|
15
|
-
[k: string]: any;
|
|
30
|
+
[k: string]: any | null;
|
|
16
31
|
} | undefined;
|
|
17
32
|
strict?: boolean | null | undefined;
|
|
18
33
|
};
|
|
@@ -7,7 +7,7 @@ import * as z from "zod/v4";
|
|
|
7
7
|
export const JSONSchemaConfig$outboundSchema = z.object({
|
|
8
8
|
name: z.string(),
|
|
9
9
|
description: z.string().optional(),
|
|
10
|
-
schema: z.record(z.string(), z.any()).optional(),
|
|
10
|
+
schema: z.record(z.string(), z.nullable(z.any())).optional(),
|
|
11
11
|
strict: z.nullable(z.boolean()).optional(),
|
|
12
12
|
});
|
|
13
13
|
export function jsonSchemaConfigToJSON(jsonSchemaConfig) {
|
package/esm/models/message.d.ts
CHANGED
|
@@ -4,9 +4,16 @@ import { DeveloperMessage, DeveloperMessage$Outbound } from "./developermessage.
|
|
|
4
4
|
import { SystemMessage, SystemMessage$Outbound } from "./systemmessage.js";
|
|
5
5
|
import { ToolResponseMessage, ToolResponseMessage$Outbound } from "./toolresponsemessage.js";
|
|
6
6
|
import { UserMessage, UserMessage$Outbound } from "./usermessage.js";
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Chat completion message with role-based discrimination
|
|
9
|
+
*/
|
|
10
|
+
export type Message = SystemMessage | UserMessage | DeveloperMessage | (AssistantMessage & {
|
|
11
|
+
role: "assistant";
|
|
12
|
+
}) | ToolResponseMessage;
|
|
8
13
|
/** @internal */
|
|
9
|
-
export type Message$Outbound = SystemMessage$Outbound | UserMessage$Outbound | DeveloperMessage$Outbound | AssistantMessage$Outbound
|
|
14
|
+
export type Message$Outbound = SystemMessage$Outbound | UserMessage$Outbound | DeveloperMessage$Outbound | (AssistantMessage$Outbound & {
|
|
15
|
+
role: "assistant";
|
|
16
|
+
}) | ToolResponseMessage$Outbound;
|
|
10
17
|
/** @internal */
|
|
11
18
|
export declare const Message$outboundSchema: z.ZodType<Message$Outbound, Message>;
|
|
12
19
|
export declare function messageToJSON(message: Message): string;
|
package/esm/models/message.js
CHANGED
|
@@ -14,7 +14,7 @@ export const Message$outboundSchema = z
|
|
|
14
14
|
SystemMessage$outboundSchema,
|
|
15
15
|
UserMessage$outboundSchema,
|
|
16
16
|
DeveloperMessage$outboundSchema,
|
|
17
|
-
AssistantMessage$outboundSchema,
|
|
17
|
+
AssistantMessage$outboundSchema.and(z.object({ role: z.literal("assistant") })),
|
|
18
18
|
ToolResponseMessage$outboundSchema,
|
|
19
19
|
]);
|
|
20
20
|
export function messageToJSON(message) {
|
|
@@ -4,7 +4,7 @@ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* Model count data
|
|
6
6
|
*/
|
|
7
|
-
export type
|
|
7
|
+
export type Data = {
|
|
8
8
|
/**
|
|
9
9
|
* Total number of available models
|
|
10
10
|
*/
|
|
@@ -17,11 +17,11 @@ export type ModelsCountResponse = {
|
|
|
17
17
|
/**
|
|
18
18
|
* Model count data
|
|
19
19
|
*/
|
|
20
|
-
data:
|
|
20
|
+
data: Data;
|
|
21
21
|
};
|
|
22
22
|
/** @internal */
|
|
23
|
-
export declare const
|
|
24
|
-
export declare function
|
|
23
|
+
export declare const Data$inboundSchema: z.ZodType<Data, unknown>;
|
|
24
|
+
export declare function dataFromJSON(jsonString: string): SafeParseResult<Data, SDKValidationError>;
|
|
25
25
|
/** @internal */
|
|
26
26
|
export declare const ModelsCountResponse$inboundSchema: z.ZodType<ModelsCountResponse, unknown>;
|
|
27
27
|
export declare function modelsCountResponseFromJSON(jsonString: string): SafeParseResult<ModelsCountResponse, SDKValidationError>;
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
import * as z from "zod/v4";
|
|
6
6
|
import { safeParse } from "../lib/schemas.js";
|
|
7
7
|
/** @internal */
|
|
8
|
-
export const
|
|
8
|
+
export const Data$inboundSchema = z.object({
|
|
9
9
|
count: z.number(),
|
|
10
10
|
});
|
|
11
|
-
export function
|
|
12
|
-
return safeParse(jsonString, (x) =>
|
|
11
|
+
export function dataFromJSON(jsonString) {
|
|
12
|
+
return safeParse(jsonString, (x) => Data$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Data' from JSON`);
|
|
13
13
|
}
|
|
14
14
|
/** @internal */
|
|
15
15
|
export const ModelsCountResponse$inboundSchema = z.object({
|
|
16
|
-
data: z.lazy(() =>
|
|
16
|
+
data: z.lazy(() => Data$inboundSchema),
|
|
17
17
|
});
|
|
18
18
|
export function modelsCountResponseFromJSON(jsonString) {
|
|
19
19
|
return safeParse(jsonString, (x) => ModelsCountResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ModelsCountResponse' from JSON`);
|
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
export declare const NamedToolChoiceType: {
|
|
4
|
+
readonly Function: "function";
|
|
5
|
+
};
|
|
6
|
+
export type NamedToolChoiceType = ClosedEnum<typeof NamedToolChoiceType>;
|
|
2
7
|
export type NamedToolChoiceFunction = {
|
|
8
|
+
/**
|
|
9
|
+
* Function name to call
|
|
10
|
+
*/
|
|
3
11
|
name: string;
|
|
4
12
|
};
|
|
13
|
+
/**
|
|
14
|
+
* Named tool choice for specific function
|
|
15
|
+
*/
|
|
5
16
|
export type NamedToolChoice = {
|
|
6
|
-
type:
|
|
17
|
+
type: NamedToolChoiceType;
|
|
7
18
|
function: NamedToolChoiceFunction;
|
|
8
19
|
};
|
|
9
20
|
/** @internal */
|
|
21
|
+
export declare const NamedToolChoiceType$outboundSchema: z.ZodEnum<typeof NamedToolChoiceType>;
|
|
22
|
+
/** @internal */
|
|
10
23
|
export type NamedToolChoiceFunction$Outbound = {
|
|
11
24
|
name: string;
|
|
12
25
|
};
|
|
@@ -15,7 +28,7 @@ export declare const NamedToolChoiceFunction$outboundSchema: z.ZodType<NamedTool
|
|
|
15
28
|
export declare function namedToolChoiceFunctionToJSON(namedToolChoiceFunction: NamedToolChoiceFunction): string;
|
|
16
29
|
/** @internal */
|
|
17
30
|
export type NamedToolChoice$Outbound = {
|
|
18
|
-
type:
|
|
31
|
+
type: string;
|
|
19
32
|
function: NamedToolChoiceFunction$Outbound;
|
|
20
33
|
};
|
|
21
34
|
/** @internal */
|
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
* @generated-id: db68e36b6a77
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod/v4";
|
|
6
|
+
export const NamedToolChoiceType = {
|
|
7
|
+
Function: "function",
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const NamedToolChoiceType$outboundSchema = z.enum(NamedToolChoiceType);
|
|
6
11
|
/** @internal */
|
|
7
12
|
export const NamedToolChoiceFunction$outboundSchema = z.object({
|
|
8
13
|
name: z.string(),
|
|
@@ -12,7 +17,7 @@ export function namedToolChoiceFunctionToJSON(namedToolChoiceFunction) {
|
|
|
12
17
|
}
|
|
13
18
|
/** @internal */
|
|
14
19
|
export const NamedToolChoice$outboundSchema = z.object({
|
|
15
|
-
type:
|
|
20
|
+
type: NamedToolChoiceType$outboundSchema,
|
|
16
21
|
function: z.lazy(() => NamedToolChoiceFunction$outboundSchema),
|
|
17
22
|
});
|
|
18
23
|
export function namedToolChoiceToJSON(namedToolChoice) {
|
|
@@ -5,7 +5,7 @@ import { OpenAIResponsesReasoningEffort } from "./openairesponsesreasoningeffort
|
|
|
5
5
|
import { ReasoningSummaryVerbosity } from "./reasoningsummaryverbosity.js";
|
|
6
6
|
export type OpenAIResponsesReasoningConfig = {
|
|
7
7
|
effort?: OpenAIResponsesReasoningEffort | null | undefined;
|
|
8
|
-
summary?: ReasoningSummaryVerbosity | undefined;
|
|
8
|
+
summary?: ReasoningSummaryVerbosity | null | undefined;
|
|
9
9
|
};
|
|
10
10
|
/** @internal */
|
|
11
11
|
export declare const OpenAIResponsesReasoningConfig$inboundSchema: z.ZodType<OpenAIResponsesReasoningConfig, unknown>;
|
|
@@ -9,7 +9,7 @@ import { ReasoningSummaryVerbosity$inboundSchema, } from "./reasoningsummaryverb
|
|
|
9
9
|
/** @internal */
|
|
10
10
|
export const OpenAIResponsesReasoningConfig$inboundSchema = z.object({
|
|
11
11
|
effort: z.nullable(OpenAIResponsesReasoningEffort$inboundSchema).optional(),
|
|
12
|
-
summary: ReasoningSummaryVerbosity$inboundSchema.optional(),
|
|
12
|
+
summary: z.nullable(ReasoningSummaryVerbosity$inboundSchema).optional(),
|
|
13
13
|
});
|
|
14
14
|
export function openAIResponsesReasoningConfigFromJSON(jsonString) {
|
|
15
15
|
return safeParse(jsonString, (x) => OpenAIResponsesReasoningConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'OpenAIResponsesReasoningConfig' from JSON`);
|
|
@@ -18,10 +18,10 @@ import { OpenResponsesWebSearchTool } from "./openresponseswebsearchtool.js";
|
|
|
18
18
|
import { ResponsesErrorField } from "./responseserrorfield.js";
|
|
19
19
|
import { ResponsesOutputItem } from "./responsesoutputitem.js";
|
|
20
20
|
import { ResponseTextConfig } from "./responsetextconfig.js";
|
|
21
|
-
export declare const
|
|
21
|
+
export declare const OpenResponsesNonStreamingResponseObject: {
|
|
22
22
|
readonly Response: "response";
|
|
23
23
|
};
|
|
24
|
-
export type
|
|
24
|
+
export type OpenResponsesNonStreamingResponseObject = ClosedEnum<typeof OpenResponsesNonStreamingResponseObject>;
|
|
25
25
|
/**
|
|
26
26
|
* Function tool definition
|
|
27
27
|
*/
|
|
@@ -40,7 +40,7 @@ export type OpenResponsesNonStreamingResponseToolUnion = OpenResponsesNonStreami
|
|
|
40
40
|
*/
|
|
41
41
|
export type OpenResponsesNonStreamingResponse = {
|
|
42
42
|
id: string;
|
|
43
|
-
object:
|
|
43
|
+
object: OpenResponsesNonStreamingResponseObject;
|
|
44
44
|
createdAt: number;
|
|
45
45
|
model: string;
|
|
46
46
|
status: OpenAIResponsesResponseStatus;
|
|
@@ -89,7 +89,7 @@ export type OpenResponsesNonStreamingResponse = {
|
|
|
89
89
|
text?: ResponseTextConfig | undefined;
|
|
90
90
|
};
|
|
91
91
|
/** @internal */
|
|
92
|
-
export declare const
|
|
92
|
+
export declare const OpenResponsesNonStreamingResponseObject$inboundSchema: z.ZodEnum<typeof OpenResponsesNonStreamingResponseObject>;
|
|
93
93
|
/** @internal */
|
|
94
94
|
export declare const OpenResponsesNonStreamingResponseToolFunction$inboundSchema: z.ZodType<OpenResponsesNonStreamingResponseToolFunction, unknown>;
|
|
95
95
|
export declare function openResponsesNonStreamingResponseToolFunctionFromJSON(jsonString: string): SafeParseResult<OpenResponsesNonStreamingResponseToolFunction, SDKValidationError>;
|
|
@@ -21,11 +21,11 @@ import { OpenResponsesWebSearchTool$inboundSchema, } from "./openresponseswebsea
|
|
|
21
21
|
import { ResponsesErrorField$inboundSchema, } from "./responseserrorfield.js";
|
|
22
22
|
import { ResponsesOutputItem$inboundSchema, } from "./responsesoutputitem.js";
|
|
23
23
|
import { ResponseTextConfig$inboundSchema, } from "./responsetextconfig.js";
|
|
24
|
-
export const
|
|
24
|
+
export const OpenResponsesNonStreamingResponseObject = {
|
|
25
25
|
Response: "response",
|
|
26
26
|
};
|
|
27
27
|
/** @internal */
|
|
28
|
-
export const
|
|
28
|
+
export const OpenResponsesNonStreamingResponseObject$inboundSchema = z.enum(OpenResponsesNonStreamingResponseObject);
|
|
29
29
|
/** @internal */
|
|
30
30
|
export const OpenResponsesNonStreamingResponseToolFunction$inboundSchema = z.object({
|
|
31
31
|
type: z.literal("function"),
|
|
@@ -51,7 +51,7 @@ export function openResponsesNonStreamingResponseToolUnionFromJSON(jsonString) {
|
|
|
51
51
|
/** @internal */
|
|
52
52
|
export const OpenResponsesNonStreamingResponse$inboundSchema = z.object({
|
|
53
53
|
id: z.string(),
|
|
54
|
-
object:
|
|
54
|
+
object: OpenResponsesNonStreamingResponseObject$inboundSchema,
|
|
55
55
|
created_at: z.number(),
|
|
56
56
|
model: z.string(),
|
|
57
57
|
status: OpenAIResponsesResponseStatus$inboundSchema,
|
|
@@ -34,7 +34,7 @@ export type OpenResponsesReasoningFormat = OpenEnum<typeof OpenResponsesReasonin
|
|
|
34
34
|
export type OpenResponsesReasoning = {
|
|
35
35
|
type: OpenResponsesReasoningType;
|
|
36
36
|
id: string;
|
|
37
|
-
content?: Array<ReasoningTextContent> | undefined;
|
|
37
|
+
content?: Array<ReasoningTextContent> | null | undefined;
|
|
38
38
|
summary: Array<ReasoningSummaryText>;
|
|
39
39
|
encryptedContent?: string | null | undefined;
|
|
40
40
|
status?: OpenResponsesReasoningStatusCompleted | OpenResponsesReasoningStatusIncomplete | OpenResponsesReasoningStatusInProgress | undefined;
|
|
@@ -60,7 +60,7 @@ export declare const OpenResponsesReasoningFormat$outboundSchema: z.ZodType<stri
|
|
|
60
60
|
export type OpenResponsesReasoning$Outbound = {
|
|
61
61
|
type: string;
|
|
62
62
|
id: string;
|
|
63
|
-
content?: Array<ReasoningTextContent$Outbound> | undefined;
|
|
63
|
+
content?: Array<ReasoningTextContent$Outbound> | null | undefined;
|
|
64
64
|
summary: Array<ReasoningSummaryText$Outbound>;
|
|
65
65
|
encrypted_content?: string | null | undefined;
|
|
66
66
|
status?: string | string | string | undefined;
|
|
@@ -50,7 +50,7 @@ export const OpenResponsesReasoningFormat$outboundSchema = openEnums.outboundSch
|
|
|
50
50
|
export const OpenResponsesReasoning$outboundSchema = z.object({
|
|
51
51
|
type: OpenResponsesReasoningType$outboundSchema,
|
|
52
52
|
id: z.string(),
|
|
53
|
-
content: z.array(ReasoningTextContent$outboundSchema).optional(),
|
|
53
|
+
content: z.nullable(z.array(ReasoningTextContent$outboundSchema)).optional(),
|
|
54
54
|
summary: z.array(ReasoningSummaryText$outboundSchema),
|
|
55
55
|
encryptedContent: z.nullable(z.string()).optional(),
|
|
56
56
|
status: z.union([
|
|
@@ -6,14 +6,14 @@ import { ReasoningSummaryVerbosity } from "./reasoningsummaryverbosity.js";
|
|
|
6
6
|
*/
|
|
7
7
|
export type OpenResponsesReasoningConfig = {
|
|
8
8
|
effort?: OpenAIResponsesReasoningEffort | null | undefined;
|
|
9
|
-
summary?: ReasoningSummaryVerbosity | undefined;
|
|
9
|
+
summary?: ReasoningSummaryVerbosity | null | undefined;
|
|
10
10
|
maxTokens?: number | null | undefined;
|
|
11
11
|
enabled?: boolean | null | undefined;
|
|
12
12
|
};
|
|
13
13
|
/** @internal */
|
|
14
14
|
export type OpenResponsesReasoningConfig$Outbound = {
|
|
15
15
|
effort?: string | null | undefined;
|
|
16
|
-
summary?: string | undefined;
|
|
16
|
+
summary?: string | null | undefined;
|
|
17
17
|
max_tokens?: number | null | undefined;
|
|
18
18
|
enabled?: boolean | null | undefined;
|
|
19
19
|
};
|
|
@@ -9,7 +9,7 @@ import { ReasoningSummaryVerbosity$outboundSchema, } from "./reasoningsummaryver
|
|
|
9
9
|
/** @internal */
|
|
10
10
|
export const OpenResponsesReasoningConfig$outboundSchema = z.object({
|
|
11
11
|
effort: z.nullable(OpenAIResponsesReasoningEffort$outboundSchema).optional(),
|
|
12
|
-
summary: ReasoningSummaryVerbosity$outboundSchema.optional(),
|
|
12
|
+
summary: z.nullable(ReasoningSummaryVerbosity$outboundSchema).optional(),
|
|
13
13
|
maxTokens: z.nullable(z.number()).optional(),
|
|
14
14
|
enabled: z.nullable(z.boolean()).optional(),
|
|
15
15
|
}).transform((v) => {
|
|
@@ -66,7 +66,7 @@ export type OpenResponsesRequestMaxPrice = {
|
|
|
66
66
|
/**
|
|
67
67
|
* When multiple model providers are available, optionally indicate your routing preference.
|
|
68
68
|
*/
|
|
69
|
-
export type
|
|
69
|
+
export type OpenResponsesRequestProvider = {
|
|
70
70
|
/**
|
|
71
71
|
* Whether to allow backup providers to serve requests
|
|
72
72
|
*
|
|
@@ -129,14 +129,14 @@ export type Provider = {
|
|
|
129
129
|
*/
|
|
130
130
|
preferredMaxLatency?: PreferredMaxLatency | null | undefined;
|
|
131
131
|
};
|
|
132
|
-
export type
|
|
132
|
+
export type OpenResponsesRequestPluginResponseHealing = {
|
|
133
133
|
id: "response-healing";
|
|
134
134
|
/**
|
|
135
135
|
* Set to false to disable the response-healing plugin for this request. Defaults to true.
|
|
136
136
|
*/
|
|
137
137
|
enabled?: boolean | undefined;
|
|
138
138
|
};
|
|
139
|
-
export type
|
|
139
|
+
export type OpenResponsesRequestPluginFileParser = {
|
|
140
140
|
id: "file-parser";
|
|
141
141
|
/**
|
|
142
142
|
* Set to false to disable the file-parser plugin for this request. Defaults to true.
|
|
@@ -147,7 +147,7 @@ export type PluginFileParser = {
|
|
|
147
147
|
*/
|
|
148
148
|
pdf?: PDFParserOptions | undefined;
|
|
149
149
|
};
|
|
150
|
-
export type
|
|
150
|
+
export type OpenResponsesRequestPluginWeb = {
|
|
151
151
|
id: "web";
|
|
152
152
|
/**
|
|
153
153
|
* Set to false to disable the web-search plugin for this request. Defaults to true.
|
|
@@ -160,10 +160,10 @@ export type PluginWeb = {
|
|
|
160
160
|
*/
|
|
161
161
|
engine?: WebSearchEngine | undefined;
|
|
162
162
|
};
|
|
163
|
-
export type
|
|
163
|
+
export type OpenResponsesRequestPluginModeration = {
|
|
164
164
|
id: "moderation";
|
|
165
165
|
};
|
|
166
|
-
export type
|
|
166
|
+
export type OpenResponsesRequestPluginAutoRouter = {
|
|
167
167
|
id: "auto-router";
|
|
168
168
|
/**
|
|
169
169
|
* Set to false to disable the auto-router plugin for this request. Defaults to true.
|
|
@@ -174,7 +174,20 @@ export type PluginAutoRouter = {
|
|
|
174
174
|
*/
|
|
175
175
|
allowedModels?: Array<string> | undefined;
|
|
176
176
|
};
|
|
177
|
-
export type
|
|
177
|
+
export type OpenResponsesRequestPluginUnion = OpenResponsesRequestPluginAutoRouter | OpenResponsesRequestPluginModeration | OpenResponsesRequestPluginWeb | OpenResponsesRequestPluginFileParser | OpenResponsesRequestPluginResponseHealing;
|
|
178
|
+
/**
|
|
179
|
+
* Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations.
|
|
180
|
+
*/
|
|
181
|
+
export type OpenResponsesRequestTrace = {
|
|
182
|
+
traceId?: string | undefined;
|
|
183
|
+
traceName?: string | undefined;
|
|
184
|
+
spanName?: string | undefined;
|
|
185
|
+
generationName?: string | undefined;
|
|
186
|
+
parentSpanId?: string | undefined;
|
|
187
|
+
additionalProperties?: {
|
|
188
|
+
[k: string]: any | null;
|
|
189
|
+
} | undefined;
|
|
190
|
+
};
|
|
178
191
|
/**
|
|
179
192
|
* Request schema for Responses endpoint
|
|
180
193
|
*/
|
|
@@ -234,11 +247,11 @@ export type OpenResponsesRequest = {
|
|
|
234
247
|
/**
|
|
235
248
|
* When multiple model providers are available, optionally indicate your routing preference.
|
|
236
249
|
*/
|
|
237
|
-
provider?:
|
|
250
|
+
provider?: OpenResponsesRequestProvider | null | undefined;
|
|
238
251
|
/**
|
|
239
252
|
* Plugins you want to enable for this request, including their settings.
|
|
240
253
|
*/
|
|
241
|
-
plugins?: Array<
|
|
254
|
+
plugins?: Array<OpenResponsesRequestPluginAutoRouter | OpenResponsesRequestPluginModeration | OpenResponsesRequestPluginWeb | OpenResponsesRequestPluginFileParser | OpenResponsesRequestPluginResponseHealing> | undefined;
|
|
242
255
|
/**
|
|
243
256
|
* A unique identifier representing your end-user, which helps distinguish between different users of your app. This allows your app to identify specific users in case of abuse reports, preventing your entire app from being affected by the actions of individual users. Maximum of 128 characters.
|
|
244
257
|
*/
|
|
@@ -247,6 +260,10 @@ export type OpenResponsesRequest = {
|
|
|
247
260
|
* A unique identifier for grouping related requests (e.g., a conversation or agent workflow) for observability. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 128 characters.
|
|
248
261
|
*/
|
|
249
262
|
sessionId?: string | undefined;
|
|
263
|
+
/**
|
|
264
|
+
* Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations.
|
|
265
|
+
*/
|
|
266
|
+
trace?: OpenResponsesRequestTrace | undefined;
|
|
250
267
|
};
|
|
251
268
|
/** @internal */
|
|
252
269
|
export type OpenResponsesRequestToolFunction$Outbound = {
|
|
@@ -307,7 +324,7 @@ export type OpenResponsesRequestMaxPrice$Outbound = {
|
|
|
307
324
|
export declare const OpenResponsesRequestMaxPrice$outboundSchema: z.ZodType<OpenResponsesRequestMaxPrice$Outbound, OpenResponsesRequestMaxPrice>;
|
|
308
325
|
export declare function openResponsesRequestMaxPriceToJSON(openResponsesRequestMaxPrice: OpenResponsesRequestMaxPrice): string;
|
|
309
326
|
/** @internal */
|
|
310
|
-
export type
|
|
327
|
+
export type OpenResponsesRequestProvider$Outbound = {
|
|
311
328
|
allow_fallbacks?: boolean | null | undefined;
|
|
312
329
|
require_parameters?: boolean | null | undefined;
|
|
313
330
|
data_collection?: string | null | undefined;
|
|
@@ -323,27 +340,27 @@ export type Provider$Outbound = {
|
|
|
323
340
|
preferred_max_latency?: PreferredMaxLatency$Outbound | null | undefined;
|
|
324
341
|
};
|
|
325
342
|
/** @internal */
|
|
326
|
-
export declare const
|
|
327
|
-
export declare function
|
|
343
|
+
export declare const OpenResponsesRequestProvider$outboundSchema: z.ZodType<OpenResponsesRequestProvider$Outbound, OpenResponsesRequestProvider>;
|
|
344
|
+
export declare function openResponsesRequestProviderToJSON(openResponsesRequestProvider: OpenResponsesRequestProvider): string;
|
|
328
345
|
/** @internal */
|
|
329
|
-
export type
|
|
346
|
+
export type OpenResponsesRequestPluginResponseHealing$Outbound = {
|
|
330
347
|
id: "response-healing";
|
|
331
348
|
enabled?: boolean | undefined;
|
|
332
349
|
};
|
|
333
350
|
/** @internal */
|
|
334
|
-
export declare const
|
|
335
|
-
export declare function
|
|
351
|
+
export declare const OpenResponsesRequestPluginResponseHealing$outboundSchema: z.ZodType<OpenResponsesRequestPluginResponseHealing$Outbound, OpenResponsesRequestPluginResponseHealing>;
|
|
352
|
+
export declare function openResponsesRequestPluginResponseHealingToJSON(openResponsesRequestPluginResponseHealing: OpenResponsesRequestPluginResponseHealing): string;
|
|
336
353
|
/** @internal */
|
|
337
|
-
export type
|
|
354
|
+
export type OpenResponsesRequestPluginFileParser$Outbound = {
|
|
338
355
|
id: "file-parser";
|
|
339
356
|
enabled?: boolean | undefined;
|
|
340
357
|
pdf?: PDFParserOptions$Outbound | undefined;
|
|
341
358
|
};
|
|
342
359
|
/** @internal */
|
|
343
|
-
export declare const
|
|
344
|
-
export declare function
|
|
360
|
+
export declare const OpenResponsesRequestPluginFileParser$outboundSchema: z.ZodType<OpenResponsesRequestPluginFileParser$Outbound, OpenResponsesRequestPluginFileParser>;
|
|
361
|
+
export declare function openResponsesRequestPluginFileParserToJSON(openResponsesRequestPluginFileParser: OpenResponsesRequestPluginFileParser): string;
|
|
345
362
|
/** @internal */
|
|
346
|
-
export type
|
|
363
|
+
export type OpenResponsesRequestPluginWeb$Outbound = {
|
|
347
364
|
id: "web";
|
|
348
365
|
enabled?: boolean | undefined;
|
|
349
366
|
max_results?: number | undefined;
|
|
@@ -351,29 +368,41 @@ export type PluginWeb$Outbound = {
|
|
|
351
368
|
engine?: string | undefined;
|
|
352
369
|
};
|
|
353
370
|
/** @internal */
|
|
354
|
-
export declare const
|
|
355
|
-
export declare function
|
|
371
|
+
export declare const OpenResponsesRequestPluginWeb$outboundSchema: z.ZodType<OpenResponsesRequestPluginWeb$Outbound, OpenResponsesRequestPluginWeb>;
|
|
372
|
+
export declare function openResponsesRequestPluginWebToJSON(openResponsesRequestPluginWeb: OpenResponsesRequestPluginWeb): string;
|
|
356
373
|
/** @internal */
|
|
357
|
-
export type
|
|
374
|
+
export type OpenResponsesRequestPluginModeration$Outbound = {
|
|
358
375
|
id: "moderation";
|
|
359
376
|
};
|
|
360
377
|
/** @internal */
|
|
361
|
-
export declare const
|
|
362
|
-
export declare function
|
|
378
|
+
export declare const OpenResponsesRequestPluginModeration$outboundSchema: z.ZodType<OpenResponsesRequestPluginModeration$Outbound, OpenResponsesRequestPluginModeration>;
|
|
379
|
+
export declare function openResponsesRequestPluginModerationToJSON(openResponsesRequestPluginModeration: OpenResponsesRequestPluginModeration): string;
|
|
363
380
|
/** @internal */
|
|
364
|
-
export type
|
|
381
|
+
export type OpenResponsesRequestPluginAutoRouter$Outbound = {
|
|
365
382
|
id: "auto-router";
|
|
366
383
|
enabled?: boolean | undefined;
|
|
367
384
|
allowed_models?: Array<string> | undefined;
|
|
368
385
|
};
|
|
369
386
|
/** @internal */
|
|
370
|
-
export declare const
|
|
371
|
-
export declare function
|
|
387
|
+
export declare const OpenResponsesRequestPluginAutoRouter$outboundSchema: z.ZodType<OpenResponsesRequestPluginAutoRouter$Outbound, OpenResponsesRequestPluginAutoRouter>;
|
|
388
|
+
export declare function openResponsesRequestPluginAutoRouterToJSON(openResponsesRequestPluginAutoRouter: OpenResponsesRequestPluginAutoRouter): string;
|
|
389
|
+
/** @internal */
|
|
390
|
+
export type OpenResponsesRequestPluginUnion$Outbound = OpenResponsesRequestPluginAutoRouter$Outbound | OpenResponsesRequestPluginModeration$Outbound | OpenResponsesRequestPluginWeb$Outbound | OpenResponsesRequestPluginFileParser$Outbound | OpenResponsesRequestPluginResponseHealing$Outbound;
|
|
372
391
|
/** @internal */
|
|
373
|
-
export
|
|
392
|
+
export declare const OpenResponsesRequestPluginUnion$outboundSchema: z.ZodType<OpenResponsesRequestPluginUnion$Outbound, OpenResponsesRequestPluginUnion>;
|
|
393
|
+
export declare function openResponsesRequestPluginUnionToJSON(openResponsesRequestPluginUnion: OpenResponsesRequestPluginUnion): string;
|
|
394
|
+
/** @internal */
|
|
395
|
+
export type OpenResponsesRequestTrace$Outbound = {
|
|
396
|
+
trace_id?: string | undefined;
|
|
397
|
+
trace_name?: string | undefined;
|
|
398
|
+
span_name?: string | undefined;
|
|
399
|
+
generation_name?: string | undefined;
|
|
400
|
+
parent_span_id?: string | undefined;
|
|
401
|
+
[additionalProperties: string]: unknown;
|
|
402
|
+
};
|
|
374
403
|
/** @internal */
|
|
375
|
-
export declare const
|
|
376
|
-
export declare function
|
|
404
|
+
export declare const OpenResponsesRequestTrace$outboundSchema: z.ZodType<OpenResponsesRequestTrace$Outbound, OpenResponsesRequestTrace>;
|
|
405
|
+
export declare function openResponsesRequestTraceToJSON(openResponsesRequestTrace: OpenResponsesRequestTrace): string;
|
|
377
406
|
/** @internal */
|
|
378
407
|
export type OpenResponsesRequest$Outbound = {
|
|
379
408
|
input?: OpenResponsesInput$Outbound | undefined;
|
|
@@ -410,10 +439,11 @@ export type OpenResponsesRequest$Outbound = {
|
|
|
410
439
|
service_tier: string;
|
|
411
440
|
truncation?: string | null | undefined;
|
|
412
441
|
stream: boolean;
|
|
413
|
-
provider?:
|
|
414
|
-
plugins?: Array<
|
|
442
|
+
provider?: OpenResponsesRequestProvider$Outbound | null | undefined;
|
|
443
|
+
plugins?: Array<OpenResponsesRequestPluginAutoRouter$Outbound | OpenResponsesRequestPluginModeration$Outbound | OpenResponsesRequestPluginWeb$Outbound | OpenResponsesRequestPluginFileParser$Outbound | OpenResponsesRequestPluginResponseHealing$Outbound> | undefined;
|
|
415
444
|
user?: string | undefined;
|
|
416
445
|
session_id?: string | undefined;
|
|
446
|
+
trace?: OpenResponsesRequestTrace$Outbound | undefined;
|
|
417
447
|
};
|
|
418
448
|
/** @internal */
|
|
419
449
|
export declare const OpenResponsesRequest$outboundSchema: z.ZodType<OpenResponsesRequest$Outbound, OpenResponsesRequest>;
|