@orq-ai/node 3.1.10 → 3.1.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/bin/mcp-server.js +2896 -804
- package/bin/mcp-server.js.map +18 -18
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/cli/start/command.d.ts.map +1 -1
- package/mcp-server/cli/start/command.js +9 -0
- package/mcp-server/cli/start/command.js.map +1 -1
- package/mcp-server/cli/start/impl.d.ts +1 -0
- package/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/mcp-server/cli/start/impl.js +2 -0
- package/mcp-server/cli/start/impl.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts +1 -0
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -2
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools.d.ts +1 -1
- package/mcp-server/tools.d.ts.map +1 -1
- package/mcp-server/tools.js +4 -1
- package/mcp-server/tools.js.map +1 -1
- package/models/components/deployments.d.ts +1716 -400
- package/models/components/deployments.d.ts.map +1 -1
- package/models/components/deployments.js +1617 -357
- package/models/components/deployments.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createprompt.d.ts +16 -16
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +26 -27
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/deploymentcreatemetric.d.ts +790 -132
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +770 -143
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +1819 -503
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +1786 -521
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +17 -17
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +20 -20
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +1742 -426
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +1643 -386
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/package.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/cli/start/command.ts +9 -0
- package/packages/orq-rc/src/mcp-server/cli/start/impl.ts +3 -0
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +10 -2
- package/packages/orq-rc/src/mcp-server/tools.ts +5 -0
- package/packages/orq-rc/src/models/components/deployments.ts +3134 -673
- package/packages/orq-rc/src/models/operations/bulkcreatedatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
- package/packages/orq-rc/src/models/operations/createprompt.ts +8 -8
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +1799 -334
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +3619 -1003
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +32 -28
- package/packages/orq-rc/src/models/operations/fileget.ts +3 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +3 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +4 -2
- package/packages/orq-rc/src/models/operations/getallprompts.ts +8 -8
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +8 -8
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +8 -8
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +8 -8
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateprompt.ts +50 -46
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/cli/start/command.ts +9 -0
- package/src/mcp-server/cli/start/impl.ts +3 -0
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +10 -2
- package/src/mcp-server/tools.ts +5 -0
- package/src/models/components/deployments.ts +3133 -635
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createprompt.ts +34 -30
- package/src/models/operations/deploymentcreatemetric.ts +1859 -324
- package/src/models/operations/deploymentgetconfig.ts +3442 -886
- package/src/models/operations/deploymentinvoke.ts +32 -28
- package/src/models/operations/deploymentstream.ts +3661 -763
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
|
@@ -4,253 +4,677 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
5
|
export type Inputs = string | number | boolean;
|
|
6
6
|
/**
|
|
7
|
-
* The role of the
|
|
7
|
+
* The role of the messages author, in this case tool.
|
|
8
8
|
*/
|
|
9
|
-
export declare const
|
|
10
|
-
readonly System: "system";
|
|
11
|
-
readonly Assistant: "assistant";
|
|
12
|
-
readonly User: "user";
|
|
13
|
-
readonly Exception: "exception";
|
|
9
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRequestRole: {
|
|
14
10
|
readonly Tool: "tool";
|
|
15
|
-
readonly Prompt: "prompt";
|
|
16
|
-
readonly Correction: "correction";
|
|
17
|
-
readonly ExpectedOutput: "expected_output";
|
|
18
11
|
};
|
|
19
12
|
/**
|
|
20
|
-
* The role of the
|
|
13
|
+
* The role of the messages author, in this case tool.
|
|
21
14
|
*/
|
|
22
|
-
export type
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
export type
|
|
27
|
-
export type
|
|
15
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsRequestRole = ClosedEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRole>;
|
|
16
|
+
/**
|
|
17
|
+
* The contents of the tool message.
|
|
18
|
+
*/
|
|
19
|
+
export type DeploymentGetConfigPrefixMessagesContent = string | Array<string>;
|
|
20
|
+
export type ToolMessage = {
|
|
28
21
|
/**
|
|
29
|
-
*
|
|
22
|
+
* The role of the messages author, in this case tool.
|
|
30
23
|
*/
|
|
31
|
-
|
|
24
|
+
role: DeploymentGetConfigPrefixMessagesDeploymentsRequestRole;
|
|
32
25
|
/**
|
|
33
|
-
*
|
|
26
|
+
* The contents of the tool message.
|
|
34
27
|
*/
|
|
35
|
-
|
|
28
|
+
content: string | Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Tool call that this message is responding to.
|
|
31
|
+
*/
|
|
32
|
+
toolCallId: string;
|
|
36
33
|
};
|
|
37
34
|
/**
|
|
38
|
-
* The
|
|
35
|
+
* The type of the content part.
|
|
39
36
|
*/
|
|
40
|
-
export
|
|
41
|
-
|
|
42
|
-
imageUrl: ImageUrl;
|
|
37
|
+
export declare const DeploymentGetConfig2DeploymentsRequestType: {
|
|
38
|
+
readonly Refusal: "refusal";
|
|
43
39
|
};
|
|
44
|
-
|
|
40
|
+
/**
|
|
41
|
+
* The type of the content part.
|
|
42
|
+
*/
|
|
43
|
+
export type DeploymentGetConfig2DeploymentsRequestType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestType>;
|
|
44
|
+
export type RefusalContentPart = {
|
|
45
|
+
/**
|
|
46
|
+
* The type of the content part.
|
|
47
|
+
*/
|
|
48
|
+
type: DeploymentGetConfig2DeploymentsRequestType;
|
|
49
|
+
/**
|
|
50
|
+
* The refusal message generated by the model.
|
|
51
|
+
*/
|
|
52
|
+
refusal: string;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* The type of the content part.
|
|
56
|
+
*/
|
|
57
|
+
export declare const DeploymentGetConfig2DeploymentsType: {
|
|
45
58
|
readonly Text: "text";
|
|
46
59
|
};
|
|
47
|
-
export type Type = ClosedEnum<typeof Type>;
|
|
48
60
|
/**
|
|
49
|
-
*
|
|
61
|
+
* The type of the content part.
|
|
50
62
|
*/
|
|
51
|
-
export type
|
|
52
|
-
|
|
63
|
+
export type DeploymentGetConfig2DeploymentsType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsType>;
|
|
64
|
+
export type TextContentPart = {
|
|
65
|
+
/**
|
|
66
|
+
* The type of the content part.
|
|
67
|
+
*/
|
|
68
|
+
type: DeploymentGetConfig2DeploymentsType;
|
|
69
|
+
/**
|
|
70
|
+
* The text content.
|
|
71
|
+
*/
|
|
53
72
|
text: string;
|
|
54
73
|
};
|
|
55
|
-
export type
|
|
74
|
+
export type Content2 = TextContentPart | RefusalContentPart;
|
|
56
75
|
/**
|
|
57
|
-
* The contents of the
|
|
76
|
+
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
58
77
|
*/
|
|
59
|
-
export type
|
|
60
|
-
|
|
78
|
+
export type PrefixMessagesContent = string | Array<TextContentPart | RefusalContentPart>;
|
|
79
|
+
/**
|
|
80
|
+
* The role of the messages author, in this case `assistant`.
|
|
81
|
+
*/
|
|
82
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRole: {
|
|
83
|
+
readonly Assistant: "assistant";
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* The role of the messages author, in this case `assistant`.
|
|
87
|
+
*/
|
|
88
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsRole = ClosedEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRole>;
|
|
89
|
+
/**
|
|
90
|
+
* Data about a previous audio response from the model.
|
|
91
|
+
*/
|
|
92
|
+
export type Audio = {
|
|
93
|
+
/**
|
|
94
|
+
* Unique identifier for a previous audio response from the model.
|
|
95
|
+
*/
|
|
96
|
+
id: string;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* The type of the tool. Currently, only `5` is supported.
|
|
100
|
+
*/
|
|
101
|
+
export declare const PrefixMessagesType: {
|
|
61
102
|
readonly Function: "function";
|
|
62
103
|
};
|
|
63
|
-
|
|
104
|
+
/**
|
|
105
|
+
* The type of the tool. Currently, only `5` is supported.
|
|
106
|
+
*/
|
|
107
|
+
export type PrefixMessagesType = ClosedEnum<typeof PrefixMessagesType>;
|
|
64
108
|
export type FunctionT = {
|
|
65
|
-
name: string;
|
|
66
109
|
/**
|
|
67
|
-
*
|
|
110
|
+
* The name of the function to call.
|
|
68
111
|
*/
|
|
69
|
-
|
|
112
|
+
name?: string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
|
|
115
|
+
*/
|
|
116
|
+
arguments?: string | undefined;
|
|
70
117
|
};
|
|
71
118
|
export type ToolCalls = {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
119
|
+
/**
|
|
120
|
+
* The ID of the tool call.
|
|
121
|
+
*/
|
|
122
|
+
id: string;
|
|
123
|
+
/**
|
|
124
|
+
* The type of the tool. Currently, only `5` is supported.
|
|
125
|
+
*/
|
|
126
|
+
type: PrefixMessagesType;
|
|
75
127
|
function: FunctionT;
|
|
76
128
|
};
|
|
77
|
-
export type
|
|
129
|
+
export type AssistantMessage = {
|
|
78
130
|
/**
|
|
79
|
-
* The
|
|
131
|
+
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
80
132
|
*/
|
|
81
|
-
|
|
133
|
+
content?: string | Array<TextContentPart | RefusalContentPart> | undefined;
|
|
82
134
|
/**
|
|
83
|
-
* The
|
|
135
|
+
* The refusal message by the assistant.
|
|
136
|
+
*/
|
|
137
|
+
refusal?: string | null | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* The role of the messages author, in this case `assistant`.
|
|
140
|
+
*/
|
|
141
|
+
role: DeploymentGetConfigPrefixMessagesDeploymentsRole;
|
|
142
|
+
/**
|
|
143
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
144
|
+
*/
|
|
145
|
+
name?: string | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* Data about a previous audio response from the model.
|
|
148
|
+
*/
|
|
149
|
+
audio?: Audio | null | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* The tool calls generated by the model, such as function calls.
|
|
84
152
|
*/
|
|
85
|
-
content: string | Array<One | Two2>;
|
|
86
153
|
toolCalls?: Array<ToolCalls> | undefined;
|
|
87
154
|
};
|
|
88
155
|
/**
|
|
89
|
-
* The role of the
|
|
156
|
+
* The role of the messages author, in this case `user`.
|
|
90
157
|
*/
|
|
91
|
-
export declare const
|
|
92
|
-
readonly System: "system";
|
|
93
|
-
readonly Assistant: "assistant";
|
|
158
|
+
export declare const DeploymentGetConfigPrefixMessagesRole: {
|
|
94
159
|
readonly User: "user";
|
|
95
|
-
readonly Exception: "exception";
|
|
96
|
-
readonly Tool: "tool";
|
|
97
|
-
readonly Prompt: "prompt";
|
|
98
|
-
readonly Correction: "correction";
|
|
99
|
-
readonly ExpectedOutput: "expected_output";
|
|
100
160
|
};
|
|
101
161
|
/**
|
|
102
|
-
* The role of the
|
|
162
|
+
* The role of the messages author, in this case `user`.
|
|
103
163
|
*/
|
|
104
|
-
export type
|
|
105
|
-
export declare const
|
|
106
|
-
readonly
|
|
164
|
+
export type DeploymentGetConfigPrefixMessagesRole = ClosedEnum<typeof DeploymentGetConfigPrefixMessagesRole>;
|
|
165
|
+
export declare const DeploymentGetConfig2Type: {
|
|
166
|
+
readonly InputAudio: "input_audio";
|
|
107
167
|
};
|
|
108
|
-
export type
|
|
109
|
-
|
|
168
|
+
export type DeploymentGetConfig2Type = ClosedEnum<typeof DeploymentGetConfig2Type>;
|
|
169
|
+
/**
|
|
170
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
171
|
+
*/
|
|
172
|
+
export declare const Format: {
|
|
173
|
+
readonly Mp3: "mp3";
|
|
174
|
+
readonly Wav: "wav";
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
178
|
+
*/
|
|
179
|
+
export type Format = ClosedEnum<typeof Format>;
|
|
180
|
+
export type InputAudio = {
|
|
110
181
|
/**
|
|
111
|
-
*
|
|
182
|
+
* Base64 encoded audio data.
|
|
112
183
|
*/
|
|
113
|
-
|
|
184
|
+
data: string;
|
|
114
185
|
/**
|
|
115
|
-
*
|
|
186
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
116
187
|
*/
|
|
117
|
-
|
|
188
|
+
format: Format;
|
|
118
189
|
};
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
export type DeploymentGetConfig22 = {
|
|
123
|
-
type: DeploymentGetConfig2DeploymentsType;
|
|
124
|
-
imageUrl: TwoImageUrl;
|
|
190
|
+
export type Three = {
|
|
191
|
+
type: DeploymentGetConfig2Type;
|
|
192
|
+
inputAudio: InputAudio;
|
|
125
193
|
};
|
|
126
|
-
export declare const
|
|
127
|
-
readonly
|
|
194
|
+
export declare const TwoType: {
|
|
195
|
+
readonly ImageUrl: "image_url";
|
|
128
196
|
};
|
|
129
|
-
export type
|
|
197
|
+
export type TwoType = ClosedEnum<typeof TwoType>;
|
|
130
198
|
/**
|
|
131
|
-
*
|
|
199
|
+
* Specifies the detail level of the image.
|
|
132
200
|
*/
|
|
133
|
-
export
|
|
134
|
-
|
|
135
|
-
|
|
201
|
+
export declare const Detail: {
|
|
202
|
+
readonly Low: "low";
|
|
203
|
+
readonly High: "high";
|
|
204
|
+
readonly Auto: "auto";
|
|
136
205
|
};
|
|
137
|
-
export type Content2 = Two1 | DeploymentGetConfig22;
|
|
138
206
|
/**
|
|
139
|
-
*
|
|
207
|
+
* Specifies the detail level of the image.
|
|
140
208
|
*/
|
|
141
|
-
export type
|
|
142
|
-
export
|
|
143
|
-
readonly Function: "function";
|
|
144
|
-
};
|
|
145
|
-
export type DeploymentGetConfigDeploymentsType = ClosedEnum<typeof DeploymentGetConfigDeploymentsType>;
|
|
146
|
-
export type DeploymentGetConfigFunction = {
|
|
147
|
-
name: string;
|
|
148
|
-
/**
|
|
149
|
-
* JSON string arguments for the functions
|
|
150
|
-
*/
|
|
151
|
-
arguments: string;
|
|
152
|
-
};
|
|
153
|
-
export type DeploymentGetConfigToolCalls = {
|
|
154
|
-
id?: string | undefined;
|
|
155
|
-
index?: number | undefined;
|
|
156
|
-
type: DeploymentGetConfigDeploymentsType;
|
|
157
|
-
function: DeploymentGetConfigFunction;
|
|
158
|
-
};
|
|
159
|
-
export type Messages = {
|
|
209
|
+
export type Detail = ClosedEnum<typeof Detail>;
|
|
210
|
+
export type ImageUrl = {
|
|
160
211
|
/**
|
|
161
|
-
*
|
|
212
|
+
* Either a URL of the image or the base64 encoded image data.
|
|
162
213
|
*/
|
|
163
|
-
|
|
214
|
+
url: string;
|
|
164
215
|
/**
|
|
165
|
-
*
|
|
216
|
+
* Specifies the detail level of the image.
|
|
166
217
|
*/
|
|
167
|
-
|
|
168
|
-
toolCalls?: Array<DeploymentGetConfigToolCalls> | undefined;
|
|
218
|
+
detail?: Detail | undefined;
|
|
169
219
|
};
|
|
220
|
+
export type Two2 = {
|
|
221
|
+
type: TwoType;
|
|
222
|
+
imageUrl: ImageUrl;
|
|
223
|
+
};
|
|
224
|
+
export declare const Type: {
|
|
225
|
+
readonly Text: "text";
|
|
226
|
+
};
|
|
227
|
+
export type Type = ClosedEnum<typeof Type>;
|
|
228
|
+
export type One = {
|
|
229
|
+
type: Type;
|
|
230
|
+
text: string;
|
|
231
|
+
};
|
|
232
|
+
export type Two = One | Two2 | Three;
|
|
170
233
|
/**
|
|
171
|
-
*
|
|
234
|
+
* The contents of the user message.
|
|
172
235
|
*/
|
|
173
|
-
export type
|
|
236
|
+
export type Content = string | Array<One | Two2 | Three>;
|
|
237
|
+
export type UserMessage = {
|
|
174
238
|
/**
|
|
175
|
-
*
|
|
239
|
+
* The role of the messages author, in this case `user`.
|
|
176
240
|
*/
|
|
177
|
-
|
|
241
|
+
role: DeploymentGetConfigPrefixMessagesRole;
|
|
178
242
|
/**
|
|
179
|
-
*
|
|
243
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
180
244
|
*/
|
|
181
|
-
|
|
245
|
+
name?: string | undefined;
|
|
182
246
|
/**
|
|
183
|
-
* The
|
|
247
|
+
* The contents of the user message.
|
|
184
248
|
*/
|
|
185
|
-
|
|
249
|
+
content: string | Array<One | Two2 | Three>;
|
|
186
250
|
};
|
|
187
|
-
|
|
251
|
+
/**
|
|
252
|
+
* The role of the messages author, in this case `system`.
|
|
253
|
+
*/
|
|
254
|
+
export declare const PrefixMessagesRole: {
|
|
255
|
+
readonly System: "system";
|
|
256
|
+
};
|
|
257
|
+
/**
|
|
258
|
+
* The role of the messages author, in this case `system`.
|
|
259
|
+
*/
|
|
260
|
+
export type PrefixMessagesRole = ClosedEnum<typeof PrefixMessagesRole>;
|
|
261
|
+
export type SystemMessage = {
|
|
188
262
|
/**
|
|
189
|
-
* The
|
|
263
|
+
* The role of the messages author, in this case `system`.
|
|
190
264
|
*/
|
|
191
|
-
|
|
265
|
+
role: PrefixMessagesRole;
|
|
192
266
|
/**
|
|
193
|
-
*
|
|
267
|
+
* The contents of the system message.
|
|
194
268
|
*/
|
|
195
|
-
|
|
196
|
-
};
|
|
197
|
-
export type InvokeOptions = {
|
|
269
|
+
content: string;
|
|
198
270
|
/**
|
|
199
|
-
*
|
|
271
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
200
272
|
*/
|
|
201
|
-
|
|
273
|
+
name?: string | undefined;
|
|
202
274
|
};
|
|
203
|
-
|
|
275
|
+
/**
|
|
276
|
+
* The role of the messages author, in this case `developer`.
|
|
277
|
+
*/
|
|
278
|
+
export declare const Role: {
|
|
279
|
+
readonly Developer: "developer";
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* The role of the messages author, in this case `developer`.
|
|
283
|
+
*/
|
|
284
|
+
export type Role = ClosedEnum<typeof Role>;
|
|
285
|
+
export type DeveloperMessage = {
|
|
204
286
|
/**
|
|
205
|
-
* The
|
|
287
|
+
* The role of the messages author, in this case `developer`.
|
|
206
288
|
*/
|
|
207
|
-
|
|
289
|
+
role: Role;
|
|
208
290
|
/**
|
|
209
|
-
*
|
|
291
|
+
* The contents of the developer message.
|
|
210
292
|
*/
|
|
211
|
-
|
|
212
|
-
[k: string]: string | number | boolean;
|
|
213
|
-
} | undefined;
|
|
293
|
+
content: string;
|
|
214
294
|
/**
|
|
215
|
-
*
|
|
295
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
216
296
|
*/
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
297
|
+
name?: string | undefined;
|
|
298
|
+
};
|
|
299
|
+
export type PrefixMessages = DeveloperMessage | SystemMessage | UserMessage | ToolMessage | AssistantMessage;
|
|
300
|
+
/**
|
|
301
|
+
* The role of the messages author, in this case tool.
|
|
302
|
+
*/
|
|
303
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole: {
|
|
304
|
+
readonly Tool: "tool";
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* The role of the messages author, in this case tool.
|
|
308
|
+
*/
|
|
309
|
+
export type DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole = ClosedEnum<typeof DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole>;
|
|
310
|
+
/**
|
|
311
|
+
* The contents of the tool message.
|
|
312
|
+
*/
|
|
313
|
+
export type DeploymentGetConfigMessagesDeploymentsContent = string | Array<string>;
|
|
314
|
+
export type MessagesToolMessage = {
|
|
220
315
|
/**
|
|
221
|
-
*
|
|
316
|
+
* The role of the messages author, in this case tool.
|
|
222
317
|
*/
|
|
223
|
-
|
|
318
|
+
role: DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole;
|
|
224
319
|
/**
|
|
225
|
-
*
|
|
320
|
+
* The contents of the tool message.
|
|
226
321
|
*/
|
|
227
|
-
|
|
322
|
+
content: string | Array<string>;
|
|
228
323
|
/**
|
|
229
|
-
*
|
|
324
|
+
* Tool call that this message is responding to.
|
|
230
325
|
*/
|
|
231
|
-
|
|
326
|
+
toolCallId: string;
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* The type of the content part.
|
|
330
|
+
*/
|
|
331
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType: {
|
|
332
|
+
readonly Refusal: "refusal";
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* The type of the content part.
|
|
336
|
+
*/
|
|
337
|
+
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType>;
|
|
338
|
+
export type TwoRefusalContentPart = {
|
|
232
339
|
/**
|
|
233
|
-
*
|
|
340
|
+
* The type of the content part.
|
|
234
341
|
*/
|
|
235
|
-
|
|
236
|
-
[k: string]: any;
|
|
237
|
-
} | undefined;
|
|
342
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType;
|
|
238
343
|
/**
|
|
239
|
-
*
|
|
344
|
+
* The refusal message generated by the model.
|
|
240
345
|
*/
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
346
|
+
refusal: string;
|
|
347
|
+
};
|
|
348
|
+
/**
|
|
349
|
+
* The type of the content part.
|
|
350
|
+
*/
|
|
351
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type: {
|
|
352
|
+
readonly Text: "text";
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* The type of the content part.
|
|
356
|
+
*/
|
|
357
|
+
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type>;
|
|
358
|
+
export type TwoTextContentPart = {
|
|
244
359
|
/**
|
|
245
|
-
*
|
|
360
|
+
* The type of the content part.
|
|
246
361
|
*/
|
|
247
|
-
|
|
248
|
-
|
|
362
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type;
|
|
363
|
+
/**
|
|
364
|
+
* The text content.
|
|
365
|
+
*/
|
|
366
|
+
text: string;
|
|
249
367
|
};
|
|
368
|
+
export type DeploymentGetConfigContentDeployments2 = TwoTextContentPart | TwoRefusalContentPart;
|
|
250
369
|
/**
|
|
251
|
-
* The
|
|
370
|
+
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
252
371
|
*/
|
|
253
|
-
export
|
|
372
|
+
export type DeploymentGetConfigMessagesContent = string | Array<TwoTextContentPart | TwoRefusalContentPart>;
|
|
373
|
+
/**
|
|
374
|
+
* The role of the messages author, in this case `assistant`.
|
|
375
|
+
*/
|
|
376
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRequestRole: {
|
|
377
|
+
readonly Assistant: "assistant";
|
|
378
|
+
};
|
|
379
|
+
/**
|
|
380
|
+
* The role of the messages author, in this case `assistant`.
|
|
381
|
+
*/
|
|
382
|
+
export type DeploymentGetConfigMessagesDeploymentsRequestRole = ClosedEnum<typeof DeploymentGetConfigMessagesDeploymentsRequestRole>;
|
|
383
|
+
/**
|
|
384
|
+
* Data about a previous audio response from the model.
|
|
385
|
+
*/
|
|
386
|
+
export type MessagesAudio = {
|
|
387
|
+
/**
|
|
388
|
+
* Unique identifier for a previous audio response from the model.
|
|
389
|
+
*/
|
|
390
|
+
id: string;
|
|
391
|
+
};
|
|
392
|
+
/**
|
|
393
|
+
* The type of the tool. Currently, only `5` is supported.
|
|
394
|
+
*/
|
|
395
|
+
export declare const MessagesType: {
|
|
396
|
+
readonly Function: "function";
|
|
397
|
+
};
|
|
398
|
+
/**
|
|
399
|
+
* The type of the tool. Currently, only `5` is supported.
|
|
400
|
+
*/
|
|
401
|
+
export type MessagesType = ClosedEnum<typeof MessagesType>;
|
|
402
|
+
export type MessagesFunction = {
|
|
403
|
+
/**
|
|
404
|
+
* The name of the function to call.
|
|
405
|
+
*/
|
|
406
|
+
name?: string | undefined;
|
|
407
|
+
/**
|
|
408
|
+
* The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
|
|
409
|
+
*/
|
|
410
|
+
arguments?: string | undefined;
|
|
411
|
+
};
|
|
412
|
+
export type MessagesToolCalls = {
|
|
413
|
+
/**
|
|
414
|
+
* The ID of the tool call.
|
|
415
|
+
*/
|
|
416
|
+
id: string;
|
|
417
|
+
/**
|
|
418
|
+
* The type of the tool. Currently, only `5` is supported.
|
|
419
|
+
*/
|
|
420
|
+
type: MessagesType;
|
|
421
|
+
function: MessagesFunction;
|
|
422
|
+
};
|
|
423
|
+
export type MessagesAssistantMessage = {
|
|
424
|
+
/**
|
|
425
|
+
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
426
|
+
*/
|
|
427
|
+
content?: string | Array<TwoTextContentPart | TwoRefusalContentPart> | undefined;
|
|
428
|
+
/**
|
|
429
|
+
* The refusal message by the assistant.
|
|
430
|
+
*/
|
|
431
|
+
refusal?: string | null | undefined;
|
|
432
|
+
/**
|
|
433
|
+
* The role of the messages author, in this case `assistant`.
|
|
434
|
+
*/
|
|
435
|
+
role: DeploymentGetConfigMessagesDeploymentsRequestRole;
|
|
436
|
+
/**
|
|
437
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
438
|
+
*/
|
|
439
|
+
name?: string | undefined;
|
|
440
|
+
/**
|
|
441
|
+
* Data about a previous audio response from the model.
|
|
442
|
+
*/
|
|
443
|
+
audio?: MessagesAudio | null | undefined;
|
|
444
|
+
/**
|
|
445
|
+
* The tool calls generated by the model, such as function calls.
|
|
446
|
+
*/
|
|
447
|
+
toolCalls?: Array<MessagesToolCalls> | undefined;
|
|
448
|
+
};
|
|
449
|
+
/**
|
|
450
|
+
* The role of the messages author, in this case `user`.
|
|
451
|
+
*/
|
|
452
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRole: {
|
|
453
|
+
readonly User: "user";
|
|
454
|
+
};
|
|
455
|
+
/**
|
|
456
|
+
* The role of the messages author, in this case `user`.
|
|
457
|
+
*/
|
|
458
|
+
export type DeploymentGetConfigMessagesDeploymentsRole = ClosedEnum<typeof DeploymentGetConfigMessagesDeploymentsRole>;
|
|
459
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type: {
|
|
460
|
+
readonly InputAudio: "input_audio";
|
|
461
|
+
};
|
|
462
|
+
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type>;
|
|
463
|
+
/**
|
|
464
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
465
|
+
*/
|
|
466
|
+
export declare const TwoFormat: {
|
|
467
|
+
readonly Mp3: "mp3";
|
|
468
|
+
readonly Wav: "wav";
|
|
469
|
+
};
|
|
470
|
+
/**
|
|
471
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
472
|
+
*/
|
|
473
|
+
export type TwoFormat = ClosedEnum<typeof TwoFormat>;
|
|
474
|
+
export type TwoInputAudio = {
|
|
475
|
+
/**
|
|
476
|
+
* Base64 encoded audio data.
|
|
477
|
+
*/
|
|
478
|
+
data: string;
|
|
479
|
+
/**
|
|
480
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
481
|
+
*/
|
|
482
|
+
format: TwoFormat;
|
|
483
|
+
};
|
|
484
|
+
export type Two3 = {
|
|
485
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type;
|
|
486
|
+
inputAudio: TwoInputAudio;
|
|
487
|
+
};
|
|
488
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType: {
|
|
489
|
+
readonly ImageUrl: "image_url";
|
|
490
|
+
};
|
|
491
|
+
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType>;
|
|
492
|
+
/**
|
|
493
|
+
* Specifies the detail level of the image.
|
|
494
|
+
*/
|
|
495
|
+
export declare const TwoDetail: {
|
|
496
|
+
readonly Low: "low";
|
|
497
|
+
readonly High: "high";
|
|
498
|
+
readonly Auto: "auto";
|
|
499
|
+
};
|
|
500
|
+
/**
|
|
501
|
+
* Specifies the detail level of the image.
|
|
502
|
+
*/
|
|
503
|
+
export type TwoDetail = ClosedEnum<typeof TwoDetail>;
|
|
504
|
+
export type TwoImageUrl = {
|
|
505
|
+
/**
|
|
506
|
+
* Either a URL of the image or the base64 encoded image data.
|
|
507
|
+
*/
|
|
508
|
+
url: string;
|
|
509
|
+
/**
|
|
510
|
+
* Specifies the detail level of the image.
|
|
511
|
+
*/
|
|
512
|
+
detail?: TwoDetail | undefined;
|
|
513
|
+
};
|
|
514
|
+
export type DeploymentGetConfig22 = {
|
|
515
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType;
|
|
516
|
+
imageUrl: TwoImageUrl;
|
|
517
|
+
};
|
|
518
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyType: {
|
|
519
|
+
readonly Text: "text";
|
|
520
|
+
};
|
|
521
|
+
export type DeploymentGetConfig2DeploymentsRequestRequestBodyType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyType>;
|
|
522
|
+
export type Two1 = {
|
|
523
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyType;
|
|
524
|
+
text: string;
|
|
525
|
+
};
|
|
526
|
+
export type DeploymentGetConfigContent2 = Two1 | DeploymentGetConfig22 | Two3;
|
|
527
|
+
/**
|
|
528
|
+
* The contents of the user message.
|
|
529
|
+
*/
|
|
530
|
+
export type MessagesContent = string | Array<Two1 | DeploymentGetConfig22 | Two3>;
|
|
531
|
+
export type MessagesUserMessage = {
|
|
532
|
+
/**
|
|
533
|
+
* The role of the messages author, in this case `user`.
|
|
534
|
+
*/
|
|
535
|
+
role: DeploymentGetConfigMessagesDeploymentsRole;
|
|
536
|
+
/**
|
|
537
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
538
|
+
*/
|
|
539
|
+
name?: string | undefined;
|
|
540
|
+
/**
|
|
541
|
+
* The contents of the user message.
|
|
542
|
+
*/
|
|
543
|
+
content: string | Array<Two1 | DeploymentGetConfig22 | Two3>;
|
|
544
|
+
};
|
|
545
|
+
/**
|
|
546
|
+
* The role of the messages author, in this case `system`.
|
|
547
|
+
*/
|
|
548
|
+
export declare const DeploymentGetConfigMessagesRole: {
|
|
549
|
+
readonly System: "system";
|
|
550
|
+
};
|
|
551
|
+
/**
|
|
552
|
+
* The role of the messages author, in this case `system`.
|
|
553
|
+
*/
|
|
554
|
+
export type DeploymentGetConfigMessagesRole = ClosedEnum<typeof DeploymentGetConfigMessagesRole>;
|
|
555
|
+
export type MessagesSystemMessage = {
|
|
556
|
+
/**
|
|
557
|
+
* The role of the messages author, in this case `system`.
|
|
558
|
+
*/
|
|
559
|
+
role: DeploymentGetConfigMessagesRole;
|
|
560
|
+
/**
|
|
561
|
+
* The contents of the system message.
|
|
562
|
+
*/
|
|
563
|
+
content: string;
|
|
564
|
+
/**
|
|
565
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
566
|
+
*/
|
|
567
|
+
name?: string | undefined;
|
|
568
|
+
};
|
|
569
|
+
/**
|
|
570
|
+
* The role of the messages author, in this case `developer`.
|
|
571
|
+
*/
|
|
572
|
+
export declare const MessagesRole: {
|
|
573
|
+
readonly Developer: "developer";
|
|
574
|
+
};
|
|
575
|
+
/**
|
|
576
|
+
* The role of the messages author, in this case `developer`.
|
|
577
|
+
*/
|
|
578
|
+
export type MessagesRole = ClosedEnum<typeof MessagesRole>;
|
|
579
|
+
export type MessagesDeveloperMessage = {
|
|
580
|
+
/**
|
|
581
|
+
* The role of the messages author, in this case `developer`.
|
|
582
|
+
*/
|
|
583
|
+
role: MessagesRole;
|
|
584
|
+
/**
|
|
585
|
+
* The contents of the developer message.
|
|
586
|
+
*/
|
|
587
|
+
content: string;
|
|
588
|
+
/**
|
|
589
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
590
|
+
*/
|
|
591
|
+
name?: string | undefined;
|
|
592
|
+
};
|
|
593
|
+
export type Messages = MessagesDeveloperMessage | MessagesSystemMessage | MessagesUserMessage | MessagesToolMessage | MessagesAssistantMessage;
|
|
594
|
+
/**
|
|
595
|
+
* Metadata about the document
|
|
596
|
+
*/
|
|
597
|
+
export type Metadata = {
|
|
598
|
+
/**
|
|
599
|
+
* Name of the file the text is from.
|
|
600
|
+
*/
|
|
601
|
+
fileName?: string | undefined;
|
|
602
|
+
/**
|
|
603
|
+
* Content type of the file the text is from.
|
|
604
|
+
*/
|
|
605
|
+
fileType?: string | undefined;
|
|
606
|
+
/**
|
|
607
|
+
* The page number the text is from.
|
|
608
|
+
*/
|
|
609
|
+
pageNumber?: number | undefined;
|
|
610
|
+
};
|
|
611
|
+
export type Documents = {
|
|
612
|
+
/**
|
|
613
|
+
* The text content of the document
|
|
614
|
+
*/
|
|
615
|
+
text: string;
|
|
616
|
+
/**
|
|
617
|
+
* Metadata about the document
|
|
618
|
+
*/
|
|
619
|
+
metadata?: Metadata | undefined;
|
|
620
|
+
};
|
|
621
|
+
export type InvokeOptions = {
|
|
622
|
+
/**
|
|
623
|
+
* Whether to include the retrieved knowledge chunks in the response.
|
|
624
|
+
*/
|
|
625
|
+
includeRetrievals?: boolean | undefined;
|
|
626
|
+
};
|
|
627
|
+
export type DeploymentGetConfigRequestBody = {
|
|
628
|
+
/**
|
|
629
|
+
* The deployment key to invoke
|
|
630
|
+
*/
|
|
631
|
+
key: string;
|
|
632
|
+
/**
|
|
633
|
+
* Key-value pairs variables to replace in your prompts. If a variable is not provided that is defined in the prompt, the default variables are used.
|
|
634
|
+
*/
|
|
635
|
+
inputs?: {
|
|
636
|
+
[k: string]: string | number | boolean;
|
|
637
|
+
} | undefined;
|
|
638
|
+
/**
|
|
639
|
+
* Key-value pairs that match your data model and fields declared in your configuration matrix. If you send multiple prompt keys, the context will be applied to the evaluation of each key.
|
|
640
|
+
*/
|
|
641
|
+
context?: {
|
|
642
|
+
[k: string]: any;
|
|
643
|
+
} | undefined;
|
|
644
|
+
/**
|
|
645
|
+
* A list of messages to include after the `System` message, but before the `User` and `Assistant` pairs configured in your deployment.
|
|
646
|
+
*/
|
|
647
|
+
prefixMessages?: Array<DeveloperMessage | SystemMessage | UserMessage | ToolMessage | AssistantMessage> | undefined;
|
|
648
|
+
/**
|
|
649
|
+
* A list of messages to send to the deployment.
|
|
650
|
+
*/
|
|
651
|
+
messages?: Array<MessagesDeveloperMessage | MessagesSystemMessage | MessagesUserMessage | MessagesToolMessage | MessagesAssistantMessage> | undefined;
|
|
652
|
+
/**
|
|
653
|
+
* A list of file IDs that are associated with the deployment request.
|
|
654
|
+
*/
|
|
655
|
+
fileIds?: Array<string> | undefined;
|
|
656
|
+
/**
|
|
657
|
+
* Key-value pairs that you want to attach to the log generated by this request.
|
|
658
|
+
*/
|
|
659
|
+
metadata?: {
|
|
660
|
+
[k: string]: any;
|
|
661
|
+
} | undefined;
|
|
662
|
+
/**
|
|
663
|
+
* Utilized for passing additional parameters to the model provider. Exercise caution when using this feature, as the included parameters will overwrite any parameters specified in the deployment prompt configuration.
|
|
664
|
+
*/
|
|
665
|
+
extraParams?: {
|
|
666
|
+
[k: string]: any;
|
|
667
|
+
} | undefined;
|
|
668
|
+
/**
|
|
669
|
+
* A list of relevant documents that evaluators and guardrails can cite to evaluate the user input or the model response based on your deployment settings.
|
|
670
|
+
*/
|
|
671
|
+
documents?: Array<Documents> | undefined;
|
|
672
|
+
invokeOptions?: InvokeOptions | undefined;
|
|
673
|
+
};
|
|
674
|
+
/**
|
|
675
|
+
* The type of the model. Current `chat`,`completion` and `image` are supported
|
|
676
|
+
*/
|
|
677
|
+
export declare const DeploymentGetConfigType: {
|
|
254
678
|
readonly Chat: "chat";
|
|
255
679
|
readonly Completion: "completion";
|
|
256
680
|
readonly Embedding: "embedding";
|
|
@@ -264,11 +688,11 @@ export declare const DeploymentGetConfigDeploymentsResponseType: {
|
|
|
264
688
|
/**
|
|
265
689
|
* The type of the model. Current `chat`,`completion` and `image` are supported
|
|
266
690
|
*/
|
|
267
|
-
export type
|
|
691
|
+
export type DeploymentGetConfigType = ClosedEnum<typeof DeploymentGetConfigType>;
|
|
268
692
|
/**
|
|
269
693
|
* The role of the prompt message
|
|
270
694
|
*/
|
|
271
|
-
export declare const
|
|
695
|
+
export declare const DeploymentGetConfigRole: {
|
|
272
696
|
readonly System: "system";
|
|
273
697
|
readonly Assistant: "assistant";
|
|
274
698
|
readonly User: "user";
|
|
@@ -281,7 +705,7 @@ export declare const DeploymentGetConfigDeploymentsRole: {
|
|
|
281
705
|
/**
|
|
282
706
|
* The role of the prompt message
|
|
283
707
|
*/
|
|
284
|
-
export type
|
|
708
|
+
export type DeploymentGetConfigRole = ClosedEnum<typeof DeploymentGetConfigRole>;
|
|
285
709
|
export declare const DeploymentGetConfig2DeploymentsResponse200Type: {
|
|
286
710
|
readonly ImageUrl: "image_url";
|
|
287
711
|
};
|
|
@@ -318,38 +742,38 @@ export type DeploymentGetConfig21 = {
|
|
|
318
742
|
type: DeploymentGetConfig2DeploymentsResponseType;
|
|
319
743
|
text: string;
|
|
320
744
|
};
|
|
321
|
-
export type
|
|
745
|
+
export type DeploymentGetConfigContentDeploymentsResponse2 = DeploymentGetConfig21 | DeploymentGetConfig2Deployments2;
|
|
322
746
|
/**
|
|
323
747
|
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
324
748
|
*/
|
|
325
|
-
export type
|
|
326
|
-
export declare const
|
|
749
|
+
export type DeploymentGetConfigContent = string | Array<DeploymentGetConfig21 | DeploymentGetConfig2Deployments2>;
|
|
750
|
+
export declare const DeploymentGetConfigDeploymentsResponseType: {
|
|
327
751
|
readonly Function: "function";
|
|
328
752
|
};
|
|
329
|
-
export type
|
|
330
|
-
export type
|
|
753
|
+
export type DeploymentGetConfigDeploymentsResponseType = ClosedEnum<typeof DeploymentGetConfigDeploymentsResponseType>;
|
|
754
|
+
export type DeploymentGetConfigDeploymentsFunction = {
|
|
331
755
|
name: string;
|
|
332
756
|
/**
|
|
333
757
|
* JSON string arguments for the functions
|
|
334
758
|
*/
|
|
335
759
|
arguments: string;
|
|
336
760
|
};
|
|
337
|
-
export type
|
|
761
|
+
export type DeploymentGetConfigToolCalls = {
|
|
338
762
|
id?: string | undefined;
|
|
339
763
|
index?: number | undefined;
|
|
340
|
-
type:
|
|
341
|
-
function:
|
|
764
|
+
type: DeploymentGetConfigDeploymentsResponseType;
|
|
765
|
+
function: DeploymentGetConfigDeploymentsFunction;
|
|
342
766
|
};
|
|
343
767
|
export type DeploymentGetConfigMessages = {
|
|
344
768
|
/**
|
|
345
769
|
* The role of the prompt message
|
|
346
770
|
*/
|
|
347
|
-
role:
|
|
771
|
+
role: DeploymentGetConfigRole;
|
|
348
772
|
/**
|
|
349
773
|
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
350
774
|
*/
|
|
351
775
|
content: string | Array<DeploymentGetConfig21 | DeploymentGetConfig2Deployments2>;
|
|
352
|
-
toolCalls?: Array<
|
|
776
|
+
toolCalls?: Array<DeploymentGetConfigToolCalls> | undefined;
|
|
353
777
|
};
|
|
354
778
|
/**
|
|
355
779
|
* Only supported on `image` models.
|
|
@@ -527,14 +951,14 @@ export type ParametersT = {
|
|
|
527
951
|
/**
|
|
528
952
|
* The type of the tool. Currently, only `function` is supported.
|
|
529
953
|
*/
|
|
530
|
-
export declare const
|
|
954
|
+
export declare const DeploymentGetConfigDeploymentsType: {
|
|
531
955
|
readonly Function: "function";
|
|
532
956
|
};
|
|
533
957
|
/**
|
|
534
958
|
* The type of the tool. Currently, only `function` is supported.
|
|
535
959
|
*/
|
|
536
|
-
export type
|
|
537
|
-
export type
|
|
960
|
+
export type DeploymentGetConfigDeploymentsType = ClosedEnum<typeof DeploymentGetConfigDeploymentsType>;
|
|
961
|
+
export type DeploymentGetConfigFunction = {
|
|
538
962
|
/**
|
|
539
963
|
* The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
540
964
|
*/
|
|
@@ -558,8 +982,8 @@ export type Tools = {
|
|
|
558
982
|
/**
|
|
559
983
|
* The type of the tool. Currently, only `function` is supported.
|
|
560
984
|
*/
|
|
561
|
-
type:
|
|
562
|
-
function:
|
|
985
|
+
type: DeploymentGetConfigDeploymentsType;
|
|
986
|
+
function: DeploymentGetConfigFunction;
|
|
563
987
|
};
|
|
564
988
|
/**
|
|
565
989
|
* The deployment configuration
|
|
@@ -580,7 +1004,7 @@ export type DeploymentGetConfigResponseBody = {
|
|
|
580
1004
|
/**
|
|
581
1005
|
* The type of the model. Current `chat`,`completion` and `image` are supported
|
|
582
1006
|
*/
|
|
583
|
-
type?:
|
|
1007
|
+
type?: DeploymentGetConfigType | undefined;
|
|
584
1008
|
/**
|
|
585
1009
|
* The current version of the deployment
|
|
586
1010
|
*/
|
|
@@ -600,21 +1024,672 @@ export declare const Inputs$inboundSchema: z.ZodType<Inputs, z.ZodTypeDef, unkno
|
|
|
600
1024
|
/** @internal */
|
|
601
1025
|
export type Inputs$Outbound = string | number | boolean;
|
|
602
1026
|
/** @internal */
|
|
603
|
-
export declare const Inputs$outboundSchema: z.ZodType<Inputs$Outbound, z.ZodTypeDef, Inputs>;
|
|
1027
|
+
export declare const Inputs$outboundSchema: z.ZodType<Inputs$Outbound, z.ZodTypeDef, Inputs>;
|
|
1028
|
+
/**
|
|
1029
|
+
* @internal
|
|
1030
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1031
|
+
*/
|
|
1032
|
+
export declare namespace Inputs$ {
|
|
1033
|
+
/** @deprecated use `Inputs$inboundSchema` instead. */
|
|
1034
|
+
const inboundSchema: z.ZodType<Inputs, z.ZodTypeDef, unknown>;
|
|
1035
|
+
/** @deprecated use `Inputs$outboundSchema` instead. */
|
|
1036
|
+
const outboundSchema: z.ZodType<Inputs$Outbound, z.ZodTypeDef, Inputs>;
|
|
1037
|
+
/** @deprecated use `Inputs$Outbound` instead. */
|
|
1038
|
+
type Outbound = Inputs$Outbound;
|
|
1039
|
+
}
|
|
1040
|
+
export declare function inputsToJSON(inputs: Inputs): string;
|
|
1041
|
+
export declare function inputsFromJSON(jsonString: string): SafeParseResult<Inputs, SDKValidationError>;
|
|
1042
|
+
/** @internal */
|
|
1043
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRole>;
|
|
1044
|
+
/** @internal */
|
|
1045
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRole>;
|
|
1046
|
+
/**
|
|
1047
|
+
* @internal
|
|
1048
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1049
|
+
*/
|
|
1050
|
+
export declare namespace DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$ {
|
|
1051
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$inboundSchema` instead. */
|
|
1052
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1053
|
+
readonly Tool: "tool";
|
|
1054
|
+
}>;
|
|
1055
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$outboundSchema` instead. */
|
|
1056
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1057
|
+
readonly Tool: "tool";
|
|
1058
|
+
}>;
|
|
1059
|
+
}
|
|
1060
|
+
/** @internal */
|
|
1061
|
+
export declare const DeploymentGetConfigPrefixMessagesContent$inboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesContent, z.ZodTypeDef, unknown>;
|
|
1062
|
+
/** @internal */
|
|
1063
|
+
export type DeploymentGetConfigPrefixMessagesContent$Outbound = string | Array<string>;
|
|
1064
|
+
/** @internal */
|
|
1065
|
+
export declare const DeploymentGetConfigPrefixMessagesContent$outboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesContent$Outbound, z.ZodTypeDef, DeploymentGetConfigPrefixMessagesContent>;
|
|
1066
|
+
/**
|
|
1067
|
+
* @internal
|
|
1068
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1069
|
+
*/
|
|
1070
|
+
export declare namespace DeploymentGetConfigPrefixMessagesContent$ {
|
|
1071
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesContent$inboundSchema` instead. */
|
|
1072
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesContent, z.ZodTypeDef, unknown>;
|
|
1073
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesContent$outboundSchema` instead. */
|
|
1074
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesContent$Outbound, z.ZodTypeDef, DeploymentGetConfigPrefixMessagesContent>;
|
|
1075
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesContent$Outbound` instead. */
|
|
1076
|
+
type Outbound = DeploymentGetConfigPrefixMessagesContent$Outbound;
|
|
1077
|
+
}
|
|
1078
|
+
export declare function deploymentGetConfigPrefixMessagesContentToJSON(deploymentGetConfigPrefixMessagesContent: DeploymentGetConfigPrefixMessagesContent): string;
|
|
1079
|
+
export declare function deploymentGetConfigPrefixMessagesContentFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigPrefixMessagesContent, SDKValidationError>;
|
|
1080
|
+
/** @internal */
|
|
1081
|
+
export declare const ToolMessage$inboundSchema: z.ZodType<ToolMessage, z.ZodTypeDef, unknown>;
|
|
1082
|
+
/** @internal */
|
|
1083
|
+
export type ToolMessage$Outbound = {
|
|
1084
|
+
role: string;
|
|
1085
|
+
content: string | Array<string>;
|
|
1086
|
+
tool_call_id: string;
|
|
1087
|
+
};
|
|
1088
|
+
/** @internal */
|
|
1089
|
+
export declare const ToolMessage$outboundSchema: z.ZodType<ToolMessage$Outbound, z.ZodTypeDef, ToolMessage>;
|
|
1090
|
+
/**
|
|
1091
|
+
* @internal
|
|
1092
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1093
|
+
*/
|
|
1094
|
+
export declare namespace ToolMessage$ {
|
|
1095
|
+
/** @deprecated use `ToolMessage$inboundSchema` instead. */
|
|
1096
|
+
const inboundSchema: z.ZodType<ToolMessage, z.ZodTypeDef, unknown>;
|
|
1097
|
+
/** @deprecated use `ToolMessage$outboundSchema` instead. */
|
|
1098
|
+
const outboundSchema: z.ZodType<ToolMessage$Outbound, z.ZodTypeDef, ToolMessage>;
|
|
1099
|
+
/** @deprecated use `ToolMessage$Outbound` instead. */
|
|
1100
|
+
type Outbound = ToolMessage$Outbound;
|
|
1101
|
+
}
|
|
1102
|
+
export declare function toolMessageToJSON(toolMessage: ToolMessage): string;
|
|
1103
|
+
export declare function toolMessageFromJSON(jsonString: string): SafeParseResult<ToolMessage, SDKValidationError>;
|
|
1104
|
+
/** @internal */
|
|
1105
|
+
export declare const DeploymentGetConfig2DeploymentsRequestType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestType>;
|
|
1106
|
+
/** @internal */
|
|
1107
|
+
export declare const DeploymentGetConfig2DeploymentsRequestType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestType>;
|
|
1108
|
+
/**
|
|
1109
|
+
* @internal
|
|
1110
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1111
|
+
*/
|
|
1112
|
+
export declare namespace DeploymentGetConfig2DeploymentsRequestType$ {
|
|
1113
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestType$inboundSchema` instead. */
|
|
1114
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1115
|
+
readonly Refusal: "refusal";
|
|
1116
|
+
}>;
|
|
1117
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestType$outboundSchema` instead. */
|
|
1118
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1119
|
+
readonly Refusal: "refusal";
|
|
1120
|
+
}>;
|
|
1121
|
+
}
|
|
1122
|
+
/** @internal */
|
|
1123
|
+
export declare const RefusalContentPart$inboundSchema: z.ZodType<RefusalContentPart, z.ZodTypeDef, unknown>;
|
|
1124
|
+
/** @internal */
|
|
1125
|
+
export type RefusalContentPart$Outbound = {
|
|
1126
|
+
type: string;
|
|
1127
|
+
refusal: string;
|
|
1128
|
+
};
|
|
1129
|
+
/** @internal */
|
|
1130
|
+
export declare const RefusalContentPart$outboundSchema: z.ZodType<RefusalContentPart$Outbound, z.ZodTypeDef, RefusalContentPart>;
|
|
1131
|
+
/**
|
|
1132
|
+
* @internal
|
|
1133
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1134
|
+
*/
|
|
1135
|
+
export declare namespace RefusalContentPart$ {
|
|
1136
|
+
/** @deprecated use `RefusalContentPart$inboundSchema` instead. */
|
|
1137
|
+
const inboundSchema: z.ZodType<RefusalContentPart, z.ZodTypeDef, unknown>;
|
|
1138
|
+
/** @deprecated use `RefusalContentPart$outboundSchema` instead. */
|
|
1139
|
+
const outboundSchema: z.ZodType<RefusalContentPart$Outbound, z.ZodTypeDef, RefusalContentPart>;
|
|
1140
|
+
/** @deprecated use `RefusalContentPart$Outbound` instead. */
|
|
1141
|
+
type Outbound = RefusalContentPart$Outbound;
|
|
1142
|
+
}
|
|
1143
|
+
export declare function refusalContentPartToJSON(refusalContentPart: RefusalContentPart): string;
|
|
1144
|
+
export declare function refusalContentPartFromJSON(jsonString: string): SafeParseResult<RefusalContentPart, SDKValidationError>;
|
|
1145
|
+
/** @internal */
|
|
1146
|
+
export declare const DeploymentGetConfig2DeploymentsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsType>;
|
|
1147
|
+
/** @internal */
|
|
1148
|
+
export declare const DeploymentGetConfig2DeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsType>;
|
|
1149
|
+
/**
|
|
1150
|
+
* @internal
|
|
1151
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1152
|
+
*/
|
|
1153
|
+
export declare namespace DeploymentGetConfig2DeploymentsType$ {
|
|
1154
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsType$inboundSchema` instead. */
|
|
1155
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1156
|
+
readonly Text: "text";
|
|
1157
|
+
}>;
|
|
1158
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsType$outboundSchema` instead. */
|
|
1159
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1160
|
+
readonly Text: "text";
|
|
1161
|
+
}>;
|
|
1162
|
+
}
|
|
1163
|
+
/** @internal */
|
|
1164
|
+
export declare const TextContentPart$inboundSchema: z.ZodType<TextContentPart, z.ZodTypeDef, unknown>;
|
|
1165
|
+
/** @internal */
|
|
1166
|
+
export type TextContentPart$Outbound = {
|
|
1167
|
+
type: string;
|
|
1168
|
+
text: string;
|
|
1169
|
+
};
|
|
1170
|
+
/** @internal */
|
|
1171
|
+
export declare const TextContentPart$outboundSchema: z.ZodType<TextContentPart$Outbound, z.ZodTypeDef, TextContentPart>;
|
|
1172
|
+
/**
|
|
1173
|
+
* @internal
|
|
1174
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1175
|
+
*/
|
|
1176
|
+
export declare namespace TextContentPart$ {
|
|
1177
|
+
/** @deprecated use `TextContentPart$inboundSchema` instead. */
|
|
1178
|
+
const inboundSchema: z.ZodType<TextContentPart, z.ZodTypeDef, unknown>;
|
|
1179
|
+
/** @deprecated use `TextContentPart$outboundSchema` instead. */
|
|
1180
|
+
const outboundSchema: z.ZodType<TextContentPart$Outbound, z.ZodTypeDef, TextContentPart>;
|
|
1181
|
+
/** @deprecated use `TextContentPart$Outbound` instead. */
|
|
1182
|
+
type Outbound = TextContentPart$Outbound;
|
|
1183
|
+
}
|
|
1184
|
+
export declare function textContentPartToJSON(textContentPart: TextContentPart): string;
|
|
1185
|
+
export declare function textContentPartFromJSON(jsonString: string): SafeParseResult<TextContentPart, SDKValidationError>;
|
|
1186
|
+
/** @internal */
|
|
1187
|
+
export declare const Content2$inboundSchema: z.ZodType<Content2, z.ZodTypeDef, unknown>;
|
|
1188
|
+
/** @internal */
|
|
1189
|
+
export type Content2$Outbound = TextContentPart$Outbound | RefusalContentPart$Outbound;
|
|
1190
|
+
/** @internal */
|
|
1191
|
+
export declare const Content2$outboundSchema: z.ZodType<Content2$Outbound, z.ZodTypeDef, Content2>;
|
|
1192
|
+
/**
|
|
1193
|
+
* @internal
|
|
1194
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1195
|
+
*/
|
|
1196
|
+
export declare namespace Content2$ {
|
|
1197
|
+
/** @deprecated use `Content2$inboundSchema` instead. */
|
|
1198
|
+
const inboundSchema: z.ZodType<Content2, z.ZodTypeDef, unknown>;
|
|
1199
|
+
/** @deprecated use `Content2$outboundSchema` instead. */
|
|
1200
|
+
const outboundSchema: z.ZodType<Content2$Outbound, z.ZodTypeDef, Content2>;
|
|
1201
|
+
/** @deprecated use `Content2$Outbound` instead. */
|
|
1202
|
+
type Outbound = Content2$Outbound;
|
|
1203
|
+
}
|
|
1204
|
+
export declare function content2ToJSON(content2: Content2): string;
|
|
1205
|
+
export declare function content2FromJSON(jsonString: string): SafeParseResult<Content2, SDKValidationError>;
|
|
1206
|
+
/** @internal */
|
|
1207
|
+
export declare const PrefixMessagesContent$inboundSchema: z.ZodType<PrefixMessagesContent, z.ZodTypeDef, unknown>;
|
|
1208
|
+
/** @internal */
|
|
1209
|
+
export type PrefixMessagesContent$Outbound = string | Array<TextContentPart$Outbound | RefusalContentPart$Outbound>;
|
|
1210
|
+
/** @internal */
|
|
1211
|
+
export declare const PrefixMessagesContent$outboundSchema: z.ZodType<PrefixMessagesContent$Outbound, z.ZodTypeDef, PrefixMessagesContent>;
|
|
1212
|
+
/**
|
|
1213
|
+
* @internal
|
|
1214
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1215
|
+
*/
|
|
1216
|
+
export declare namespace PrefixMessagesContent$ {
|
|
1217
|
+
/** @deprecated use `PrefixMessagesContent$inboundSchema` instead. */
|
|
1218
|
+
const inboundSchema: z.ZodType<PrefixMessagesContent, z.ZodTypeDef, unknown>;
|
|
1219
|
+
/** @deprecated use `PrefixMessagesContent$outboundSchema` instead. */
|
|
1220
|
+
const outboundSchema: z.ZodType<PrefixMessagesContent$Outbound, z.ZodTypeDef, PrefixMessagesContent>;
|
|
1221
|
+
/** @deprecated use `PrefixMessagesContent$Outbound` instead. */
|
|
1222
|
+
type Outbound = PrefixMessagesContent$Outbound;
|
|
1223
|
+
}
|
|
1224
|
+
export declare function prefixMessagesContentToJSON(prefixMessagesContent: PrefixMessagesContent): string;
|
|
1225
|
+
export declare function prefixMessagesContentFromJSON(jsonString: string): SafeParseResult<PrefixMessagesContent, SDKValidationError>;
|
|
1226
|
+
/** @internal */
|
|
1227
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRole>;
|
|
1228
|
+
/** @internal */
|
|
1229
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRole>;
|
|
1230
|
+
/**
|
|
1231
|
+
* @internal
|
|
1232
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1233
|
+
*/
|
|
1234
|
+
export declare namespace DeploymentGetConfigPrefixMessagesDeploymentsRole$ {
|
|
1235
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesDeploymentsRole$inboundSchema` instead. */
|
|
1236
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1237
|
+
readonly Assistant: "assistant";
|
|
1238
|
+
}>;
|
|
1239
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesDeploymentsRole$outboundSchema` instead. */
|
|
1240
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1241
|
+
readonly Assistant: "assistant";
|
|
1242
|
+
}>;
|
|
1243
|
+
}
|
|
1244
|
+
/** @internal */
|
|
1245
|
+
export declare const Audio$inboundSchema: z.ZodType<Audio, z.ZodTypeDef, unknown>;
|
|
1246
|
+
/** @internal */
|
|
1247
|
+
export type Audio$Outbound = {
|
|
1248
|
+
id: string;
|
|
1249
|
+
};
|
|
1250
|
+
/** @internal */
|
|
1251
|
+
export declare const Audio$outboundSchema: z.ZodType<Audio$Outbound, z.ZodTypeDef, Audio>;
|
|
1252
|
+
/**
|
|
1253
|
+
* @internal
|
|
1254
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1255
|
+
*/
|
|
1256
|
+
export declare namespace Audio$ {
|
|
1257
|
+
/** @deprecated use `Audio$inboundSchema` instead. */
|
|
1258
|
+
const inboundSchema: z.ZodType<Audio, z.ZodTypeDef, unknown>;
|
|
1259
|
+
/** @deprecated use `Audio$outboundSchema` instead. */
|
|
1260
|
+
const outboundSchema: z.ZodType<Audio$Outbound, z.ZodTypeDef, Audio>;
|
|
1261
|
+
/** @deprecated use `Audio$Outbound` instead. */
|
|
1262
|
+
type Outbound = Audio$Outbound;
|
|
1263
|
+
}
|
|
1264
|
+
export declare function audioToJSON(audio: Audio): string;
|
|
1265
|
+
export declare function audioFromJSON(jsonString: string): SafeParseResult<Audio, SDKValidationError>;
|
|
1266
|
+
/** @internal */
|
|
1267
|
+
export declare const PrefixMessagesType$inboundSchema: z.ZodNativeEnum<typeof PrefixMessagesType>;
|
|
1268
|
+
/** @internal */
|
|
1269
|
+
export declare const PrefixMessagesType$outboundSchema: z.ZodNativeEnum<typeof PrefixMessagesType>;
|
|
1270
|
+
/**
|
|
1271
|
+
* @internal
|
|
1272
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1273
|
+
*/
|
|
1274
|
+
export declare namespace PrefixMessagesType$ {
|
|
1275
|
+
/** @deprecated use `PrefixMessagesType$inboundSchema` instead. */
|
|
1276
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1277
|
+
readonly Function: "function";
|
|
1278
|
+
}>;
|
|
1279
|
+
/** @deprecated use `PrefixMessagesType$outboundSchema` instead. */
|
|
1280
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1281
|
+
readonly Function: "function";
|
|
1282
|
+
}>;
|
|
1283
|
+
}
|
|
1284
|
+
/** @internal */
|
|
1285
|
+
export declare const FunctionT$inboundSchema: z.ZodType<FunctionT, z.ZodTypeDef, unknown>;
|
|
1286
|
+
/** @internal */
|
|
1287
|
+
export type FunctionT$Outbound = {
|
|
1288
|
+
name?: string | undefined;
|
|
1289
|
+
arguments?: string | undefined;
|
|
1290
|
+
};
|
|
1291
|
+
/** @internal */
|
|
1292
|
+
export declare const FunctionT$outboundSchema: z.ZodType<FunctionT$Outbound, z.ZodTypeDef, FunctionT>;
|
|
1293
|
+
/**
|
|
1294
|
+
* @internal
|
|
1295
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1296
|
+
*/
|
|
1297
|
+
export declare namespace FunctionT$ {
|
|
1298
|
+
/** @deprecated use `FunctionT$inboundSchema` instead. */
|
|
1299
|
+
const inboundSchema: z.ZodType<FunctionT, z.ZodTypeDef, unknown>;
|
|
1300
|
+
/** @deprecated use `FunctionT$outboundSchema` instead. */
|
|
1301
|
+
const outboundSchema: z.ZodType<FunctionT$Outbound, z.ZodTypeDef, FunctionT>;
|
|
1302
|
+
/** @deprecated use `FunctionT$Outbound` instead. */
|
|
1303
|
+
type Outbound = FunctionT$Outbound;
|
|
1304
|
+
}
|
|
1305
|
+
export declare function functionToJSON(functionT: FunctionT): string;
|
|
1306
|
+
export declare function functionFromJSON(jsonString: string): SafeParseResult<FunctionT, SDKValidationError>;
|
|
1307
|
+
/** @internal */
|
|
1308
|
+
export declare const ToolCalls$inboundSchema: z.ZodType<ToolCalls, z.ZodTypeDef, unknown>;
|
|
1309
|
+
/** @internal */
|
|
1310
|
+
export type ToolCalls$Outbound = {
|
|
1311
|
+
id: string;
|
|
1312
|
+
type: string;
|
|
1313
|
+
function: FunctionT$Outbound;
|
|
1314
|
+
};
|
|
1315
|
+
/** @internal */
|
|
1316
|
+
export declare const ToolCalls$outboundSchema: z.ZodType<ToolCalls$Outbound, z.ZodTypeDef, ToolCalls>;
|
|
1317
|
+
/**
|
|
1318
|
+
* @internal
|
|
1319
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1320
|
+
*/
|
|
1321
|
+
export declare namespace ToolCalls$ {
|
|
1322
|
+
/** @deprecated use `ToolCalls$inboundSchema` instead. */
|
|
1323
|
+
const inboundSchema: z.ZodType<ToolCalls, z.ZodTypeDef, unknown>;
|
|
1324
|
+
/** @deprecated use `ToolCalls$outboundSchema` instead. */
|
|
1325
|
+
const outboundSchema: z.ZodType<ToolCalls$Outbound, z.ZodTypeDef, ToolCalls>;
|
|
1326
|
+
/** @deprecated use `ToolCalls$Outbound` instead. */
|
|
1327
|
+
type Outbound = ToolCalls$Outbound;
|
|
1328
|
+
}
|
|
1329
|
+
export declare function toolCallsToJSON(toolCalls: ToolCalls): string;
|
|
1330
|
+
export declare function toolCallsFromJSON(jsonString: string): SafeParseResult<ToolCalls, SDKValidationError>;
|
|
1331
|
+
/** @internal */
|
|
1332
|
+
export declare const AssistantMessage$inboundSchema: z.ZodType<AssistantMessage, z.ZodTypeDef, unknown>;
|
|
1333
|
+
/** @internal */
|
|
1334
|
+
export type AssistantMessage$Outbound = {
|
|
1335
|
+
content?: string | Array<TextContentPart$Outbound | RefusalContentPart$Outbound> | undefined;
|
|
1336
|
+
refusal?: string | null | undefined;
|
|
1337
|
+
role: string;
|
|
1338
|
+
name?: string | undefined;
|
|
1339
|
+
audio?: Audio$Outbound | null | undefined;
|
|
1340
|
+
tool_calls?: Array<ToolCalls$Outbound> | undefined;
|
|
1341
|
+
};
|
|
1342
|
+
/** @internal */
|
|
1343
|
+
export declare const AssistantMessage$outboundSchema: z.ZodType<AssistantMessage$Outbound, z.ZodTypeDef, AssistantMessage>;
|
|
1344
|
+
/**
|
|
1345
|
+
* @internal
|
|
1346
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1347
|
+
*/
|
|
1348
|
+
export declare namespace AssistantMessage$ {
|
|
1349
|
+
/** @deprecated use `AssistantMessage$inboundSchema` instead. */
|
|
1350
|
+
const inboundSchema: z.ZodType<AssistantMessage, z.ZodTypeDef, unknown>;
|
|
1351
|
+
/** @deprecated use `AssistantMessage$outboundSchema` instead. */
|
|
1352
|
+
const outboundSchema: z.ZodType<AssistantMessage$Outbound, z.ZodTypeDef, AssistantMessage>;
|
|
1353
|
+
/** @deprecated use `AssistantMessage$Outbound` instead. */
|
|
1354
|
+
type Outbound = AssistantMessage$Outbound;
|
|
1355
|
+
}
|
|
1356
|
+
export declare function assistantMessageToJSON(assistantMessage: AssistantMessage): string;
|
|
1357
|
+
export declare function assistantMessageFromJSON(jsonString: string): SafeParseResult<AssistantMessage, SDKValidationError>;
|
|
1358
|
+
/** @internal */
|
|
1359
|
+
export declare const DeploymentGetConfigPrefixMessagesRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesRole>;
|
|
1360
|
+
/** @internal */
|
|
1361
|
+
export declare const DeploymentGetConfigPrefixMessagesRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesRole>;
|
|
1362
|
+
/**
|
|
1363
|
+
* @internal
|
|
1364
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1365
|
+
*/
|
|
1366
|
+
export declare namespace DeploymentGetConfigPrefixMessagesRole$ {
|
|
1367
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesRole$inboundSchema` instead. */
|
|
1368
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1369
|
+
readonly User: "user";
|
|
1370
|
+
}>;
|
|
1371
|
+
/** @deprecated use `DeploymentGetConfigPrefixMessagesRole$outboundSchema` instead. */
|
|
1372
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1373
|
+
readonly User: "user";
|
|
1374
|
+
}>;
|
|
1375
|
+
}
|
|
1376
|
+
/** @internal */
|
|
1377
|
+
export declare const DeploymentGetConfig2Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2Type>;
|
|
1378
|
+
/** @internal */
|
|
1379
|
+
export declare const DeploymentGetConfig2Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2Type>;
|
|
1380
|
+
/**
|
|
1381
|
+
* @internal
|
|
1382
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1383
|
+
*/
|
|
1384
|
+
export declare namespace DeploymentGetConfig2Type$ {
|
|
1385
|
+
/** @deprecated use `DeploymentGetConfig2Type$inboundSchema` instead. */
|
|
1386
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1387
|
+
readonly InputAudio: "input_audio";
|
|
1388
|
+
}>;
|
|
1389
|
+
/** @deprecated use `DeploymentGetConfig2Type$outboundSchema` instead. */
|
|
1390
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1391
|
+
readonly InputAudio: "input_audio";
|
|
1392
|
+
}>;
|
|
1393
|
+
}
|
|
1394
|
+
/** @internal */
|
|
1395
|
+
export declare const Format$inboundSchema: z.ZodNativeEnum<typeof Format>;
|
|
1396
|
+
/** @internal */
|
|
1397
|
+
export declare const Format$outboundSchema: z.ZodNativeEnum<typeof Format>;
|
|
1398
|
+
/**
|
|
1399
|
+
* @internal
|
|
1400
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1401
|
+
*/
|
|
1402
|
+
export declare namespace Format$ {
|
|
1403
|
+
/** @deprecated use `Format$inboundSchema` instead. */
|
|
1404
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1405
|
+
readonly Mp3: "mp3";
|
|
1406
|
+
readonly Wav: "wav";
|
|
1407
|
+
}>;
|
|
1408
|
+
/** @deprecated use `Format$outboundSchema` instead. */
|
|
1409
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1410
|
+
readonly Mp3: "mp3";
|
|
1411
|
+
readonly Wav: "wav";
|
|
1412
|
+
}>;
|
|
1413
|
+
}
|
|
1414
|
+
/** @internal */
|
|
1415
|
+
export declare const InputAudio$inboundSchema: z.ZodType<InputAudio, z.ZodTypeDef, unknown>;
|
|
1416
|
+
/** @internal */
|
|
1417
|
+
export type InputAudio$Outbound = {
|
|
1418
|
+
data: string;
|
|
1419
|
+
format: string;
|
|
1420
|
+
};
|
|
1421
|
+
/** @internal */
|
|
1422
|
+
export declare const InputAudio$outboundSchema: z.ZodType<InputAudio$Outbound, z.ZodTypeDef, InputAudio>;
|
|
1423
|
+
/**
|
|
1424
|
+
* @internal
|
|
1425
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1426
|
+
*/
|
|
1427
|
+
export declare namespace InputAudio$ {
|
|
1428
|
+
/** @deprecated use `InputAudio$inboundSchema` instead. */
|
|
1429
|
+
const inboundSchema: z.ZodType<InputAudio, z.ZodTypeDef, unknown>;
|
|
1430
|
+
/** @deprecated use `InputAudio$outboundSchema` instead. */
|
|
1431
|
+
const outboundSchema: z.ZodType<InputAudio$Outbound, z.ZodTypeDef, InputAudio>;
|
|
1432
|
+
/** @deprecated use `InputAudio$Outbound` instead. */
|
|
1433
|
+
type Outbound = InputAudio$Outbound;
|
|
1434
|
+
}
|
|
1435
|
+
export declare function inputAudioToJSON(inputAudio: InputAudio): string;
|
|
1436
|
+
export declare function inputAudioFromJSON(jsonString: string): SafeParseResult<InputAudio, SDKValidationError>;
|
|
1437
|
+
/** @internal */
|
|
1438
|
+
export declare const Three$inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown>;
|
|
1439
|
+
/** @internal */
|
|
1440
|
+
export type Three$Outbound = {
|
|
1441
|
+
type: string;
|
|
1442
|
+
input_audio: InputAudio$Outbound;
|
|
1443
|
+
};
|
|
1444
|
+
/** @internal */
|
|
1445
|
+
export declare const Three$outboundSchema: z.ZodType<Three$Outbound, z.ZodTypeDef, Three>;
|
|
1446
|
+
/**
|
|
1447
|
+
* @internal
|
|
1448
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1449
|
+
*/
|
|
1450
|
+
export declare namespace Three$ {
|
|
1451
|
+
/** @deprecated use `Three$inboundSchema` instead. */
|
|
1452
|
+
const inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown>;
|
|
1453
|
+
/** @deprecated use `Three$outboundSchema` instead. */
|
|
1454
|
+
const outboundSchema: z.ZodType<Three$Outbound, z.ZodTypeDef, Three>;
|
|
1455
|
+
/** @deprecated use `Three$Outbound` instead. */
|
|
1456
|
+
type Outbound = Three$Outbound;
|
|
1457
|
+
}
|
|
1458
|
+
export declare function threeToJSON(three: Three): string;
|
|
1459
|
+
export declare function threeFromJSON(jsonString: string): SafeParseResult<Three, SDKValidationError>;
|
|
1460
|
+
/** @internal */
|
|
1461
|
+
export declare const TwoType$inboundSchema: z.ZodNativeEnum<typeof TwoType>;
|
|
1462
|
+
/** @internal */
|
|
1463
|
+
export declare const TwoType$outboundSchema: z.ZodNativeEnum<typeof TwoType>;
|
|
1464
|
+
/**
|
|
1465
|
+
* @internal
|
|
1466
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1467
|
+
*/
|
|
1468
|
+
export declare namespace TwoType$ {
|
|
1469
|
+
/** @deprecated use `TwoType$inboundSchema` instead. */
|
|
1470
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1471
|
+
readonly ImageUrl: "image_url";
|
|
1472
|
+
}>;
|
|
1473
|
+
/** @deprecated use `TwoType$outboundSchema` instead. */
|
|
1474
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1475
|
+
readonly ImageUrl: "image_url";
|
|
1476
|
+
}>;
|
|
1477
|
+
}
|
|
1478
|
+
/** @internal */
|
|
1479
|
+
export declare const Detail$inboundSchema: z.ZodNativeEnum<typeof Detail>;
|
|
1480
|
+
/** @internal */
|
|
1481
|
+
export declare const Detail$outboundSchema: z.ZodNativeEnum<typeof Detail>;
|
|
1482
|
+
/**
|
|
1483
|
+
* @internal
|
|
1484
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1485
|
+
*/
|
|
1486
|
+
export declare namespace Detail$ {
|
|
1487
|
+
/** @deprecated use `Detail$inboundSchema` instead. */
|
|
1488
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1489
|
+
readonly Low: "low";
|
|
1490
|
+
readonly High: "high";
|
|
1491
|
+
readonly Auto: "auto";
|
|
1492
|
+
}>;
|
|
1493
|
+
/** @deprecated use `Detail$outboundSchema` instead. */
|
|
1494
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1495
|
+
readonly Low: "low";
|
|
1496
|
+
readonly High: "high";
|
|
1497
|
+
readonly Auto: "auto";
|
|
1498
|
+
}>;
|
|
1499
|
+
}
|
|
1500
|
+
/** @internal */
|
|
1501
|
+
export declare const ImageUrl$inboundSchema: z.ZodType<ImageUrl, z.ZodTypeDef, unknown>;
|
|
1502
|
+
/** @internal */
|
|
1503
|
+
export type ImageUrl$Outbound = {
|
|
1504
|
+
url: string;
|
|
1505
|
+
detail?: string | undefined;
|
|
1506
|
+
};
|
|
1507
|
+
/** @internal */
|
|
1508
|
+
export declare const ImageUrl$outboundSchema: z.ZodType<ImageUrl$Outbound, z.ZodTypeDef, ImageUrl>;
|
|
1509
|
+
/**
|
|
1510
|
+
* @internal
|
|
1511
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1512
|
+
*/
|
|
1513
|
+
export declare namespace ImageUrl$ {
|
|
1514
|
+
/** @deprecated use `ImageUrl$inboundSchema` instead. */
|
|
1515
|
+
const inboundSchema: z.ZodType<ImageUrl, z.ZodTypeDef, unknown>;
|
|
1516
|
+
/** @deprecated use `ImageUrl$outboundSchema` instead. */
|
|
1517
|
+
const outboundSchema: z.ZodType<ImageUrl$Outbound, z.ZodTypeDef, ImageUrl>;
|
|
1518
|
+
/** @deprecated use `ImageUrl$Outbound` instead. */
|
|
1519
|
+
type Outbound = ImageUrl$Outbound;
|
|
1520
|
+
}
|
|
1521
|
+
export declare function imageUrlToJSON(imageUrl: ImageUrl): string;
|
|
1522
|
+
export declare function imageUrlFromJSON(jsonString: string): SafeParseResult<ImageUrl, SDKValidationError>;
|
|
1523
|
+
/** @internal */
|
|
1524
|
+
export declare const Two2$inboundSchema: z.ZodType<Two2, z.ZodTypeDef, unknown>;
|
|
1525
|
+
/** @internal */
|
|
1526
|
+
export type Two2$Outbound = {
|
|
1527
|
+
type: string;
|
|
1528
|
+
image_url: ImageUrl$Outbound;
|
|
1529
|
+
};
|
|
1530
|
+
/** @internal */
|
|
1531
|
+
export declare const Two2$outboundSchema: z.ZodType<Two2$Outbound, z.ZodTypeDef, Two2>;
|
|
1532
|
+
/**
|
|
1533
|
+
* @internal
|
|
1534
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1535
|
+
*/
|
|
1536
|
+
export declare namespace Two2$ {
|
|
1537
|
+
/** @deprecated use `Two2$inboundSchema` instead. */
|
|
1538
|
+
const inboundSchema: z.ZodType<Two2, z.ZodTypeDef, unknown>;
|
|
1539
|
+
/** @deprecated use `Two2$outboundSchema` instead. */
|
|
1540
|
+
const outboundSchema: z.ZodType<Two2$Outbound, z.ZodTypeDef, Two2>;
|
|
1541
|
+
/** @deprecated use `Two2$Outbound` instead. */
|
|
1542
|
+
type Outbound = Two2$Outbound;
|
|
1543
|
+
}
|
|
1544
|
+
export declare function two2ToJSON(two2: Two2): string;
|
|
1545
|
+
export declare function two2FromJSON(jsonString: string): SafeParseResult<Two2, SDKValidationError>;
|
|
1546
|
+
/** @internal */
|
|
1547
|
+
export declare const Type$inboundSchema: z.ZodNativeEnum<typeof Type>;
|
|
1548
|
+
/** @internal */
|
|
1549
|
+
export declare const Type$outboundSchema: z.ZodNativeEnum<typeof Type>;
|
|
1550
|
+
/**
|
|
1551
|
+
* @internal
|
|
1552
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1553
|
+
*/
|
|
1554
|
+
export declare namespace Type$ {
|
|
1555
|
+
/** @deprecated use `Type$inboundSchema` instead. */
|
|
1556
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1557
|
+
readonly Text: "text";
|
|
1558
|
+
}>;
|
|
1559
|
+
/** @deprecated use `Type$outboundSchema` instead. */
|
|
1560
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1561
|
+
readonly Text: "text";
|
|
1562
|
+
}>;
|
|
1563
|
+
}
|
|
1564
|
+
/** @internal */
|
|
1565
|
+
export declare const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
|
|
1566
|
+
/** @internal */
|
|
1567
|
+
export type One$Outbound = {
|
|
1568
|
+
type: string;
|
|
1569
|
+
text: string;
|
|
1570
|
+
};
|
|
1571
|
+
/** @internal */
|
|
1572
|
+
export declare const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
|
|
1573
|
+
/**
|
|
1574
|
+
* @internal
|
|
1575
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1576
|
+
*/
|
|
1577
|
+
export declare namespace One$ {
|
|
1578
|
+
/** @deprecated use `One$inboundSchema` instead. */
|
|
1579
|
+
const inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
|
|
1580
|
+
/** @deprecated use `One$outboundSchema` instead. */
|
|
1581
|
+
const outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
|
|
1582
|
+
/** @deprecated use `One$Outbound` instead. */
|
|
1583
|
+
type Outbound = One$Outbound;
|
|
1584
|
+
}
|
|
1585
|
+
export declare function oneToJSON(one: One): string;
|
|
1586
|
+
export declare function oneFromJSON(jsonString: string): SafeParseResult<One, SDKValidationError>;
|
|
1587
|
+
/** @internal */
|
|
1588
|
+
export declare const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
|
|
1589
|
+
/** @internal */
|
|
1590
|
+
export type Two$Outbound = One$Outbound | Two2$Outbound | Three$Outbound;
|
|
1591
|
+
/** @internal */
|
|
1592
|
+
export declare const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
|
|
1593
|
+
/**
|
|
1594
|
+
* @internal
|
|
1595
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1596
|
+
*/
|
|
1597
|
+
export declare namespace Two$ {
|
|
1598
|
+
/** @deprecated use `Two$inboundSchema` instead. */
|
|
1599
|
+
const inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
|
|
1600
|
+
/** @deprecated use `Two$outboundSchema` instead. */
|
|
1601
|
+
const outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
|
|
1602
|
+
/** @deprecated use `Two$Outbound` instead. */
|
|
1603
|
+
type Outbound = Two$Outbound;
|
|
1604
|
+
}
|
|
1605
|
+
export declare function twoToJSON(two: Two): string;
|
|
1606
|
+
export declare function twoFromJSON(jsonString: string): SafeParseResult<Two, SDKValidationError>;
|
|
1607
|
+
/** @internal */
|
|
1608
|
+
export declare const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown>;
|
|
1609
|
+
/** @internal */
|
|
1610
|
+
export type Content$Outbound = string | Array<One$Outbound | Two2$Outbound | Three$Outbound>;
|
|
1611
|
+
/** @internal */
|
|
1612
|
+
export declare const Content$outboundSchema: z.ZodType<Content$Outbound, z.ZodTypeDef, Content>;
|
|
1613
|
+
/**
|
|
1614
|
+
* @internal
|
|
1615
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1616
|
+
*/
|
|
1617
|
+
export declare namespace Content$ {
|
|
1618
|
+
/** @deprecated use `Content$inboundSchema` instead. */
|
|
1619
|
+
const inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown>;
|
|
1620
|
+
/** @deprecated use `Content$outboundSchema` instead. */
|
|
1621
|
+
const outboundSchema: z.ZodType<Content$Outbound, z.ZodTypeDef, Content>;
|
|
1622
|
+
/** @deprecated use `Content$Outbound` instead. */
|
|
1623
|
+
type Outbound = Content$Outbound;
|
|
1624
|
+
}
|
|
1625
|
+
export declare function contentToJSON(content: Content): string;
|
|
1626
|
+
export declare function contentFromJSON(jsonString: string): SafeParseResult<Content, SDKValidationError>;
|
|
1627
|
+
/** @internal */
|
|
1628
|
+
export declare const UserMessage$inboundSchema: z.ZodType<UserMessage, z.ZodTypeDef, unknown>;
|
|
1629
|
+
/** @internal */
|
|
1630
|
+
export type UserMessage$Outbound = {
|
|
1631
|
+
role: string;
|
|
1632
|
+
name?: string | undefined;
|
|
1633
|
+
content: string | Array<One$Outbound | Two2$Outbound | Three$Outbound>;
|
|
1634
|
+
};
|
|
1635
|
+
/** @internal */
|
|
1636
|
+
export declare const UserMessage$outboundSchema: z.ZodType<UserMessage$Outbound, z.ZodTypeDef, UserMessage>;
|
|
1637
|
+
/**
|
|
1638
|
+
* @internal
|
|
1639
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1640
|
+
*/
|
|
1641
|
+
export declare namespace UserMessage$ {
|
|
1642
|
+
/** @deprecated use `UserMessage$inboundSchema` instead. */
|
|
1643
|
+
const inboundSchema: z.ZodType<UserMessage, z.ZodTypeDef, unknown>;
|
|
1644
|
+
/** @deprecated use `UserMessage$outboundSchema` instead. */
|
|
1645
|
+
const outboundSchema: z.ZodType<UserMessage$Outbound, z.ZodTypeDef, UserMessage>;
|
|
1646
|
+
/** @deprecated use `UserMessage$Outbound` instead. */
|
|
1647
|
+
type Outbound = UserMessage$Outbound;
|
|
1648
|
+
}
|
|
1649
|
+
export declare function userMessageToJSON(userMessage: UserMessage): string;
|
|
1650
|
+
export declare function userMessageFromJSON(jsonString: string): SafeParseResult<UserMessage, SDKValidationError>;
|
|
1651
|
+
/** @internal */
|
|
1652
|
+
export declare const PrefixMessagesRole$inboundSchema: z.ZodNativeEnum<typeof PrefixMessagesRole>;
|
|
1653
|
+
/** @internal */
|
|
1654
|
+
export declare const PrefixMessagesRole$outboundSchema: z.ZodNativeEnum<typeof PrefixMessagesRole>;
|
|
1655
|
+
/**
|
|
1656
|
+
* @internal
|
|
1657
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1658
|
+
*/
|
|
1659
|
+
export declare namespace PrefixMessagesRole$ {
|
|
1660
|
+
/** @deprecated use `PrefixMessagesRole$inboundSchema` instead. */
|
|
1661
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1662
|
+
readonly System: "system";
|
|
1663
|
+
}>;
|
|
1664
|
+
/** @deprecated use `PrefixMessagesRole$outboundSchema` instead. */
|
|
1665
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1666
|
+
readonly System: "system";
|
|
1667
|
+
}>;
|
|
1668
|
+
}
|
|
1669
|
+
/** @internal */
|
|
1670
|
+
export declare const SystemMessage$inboundSchema: z.ZodType<SystemMessage, z.ZodTypeDef, unknown>;
|
|
1671
|
+
/** @internal */
|
|
1672
|
+
export type SystemMessage$Outbound = {
|
|
1673
|
+
role: string;
|
|
1674
|
+
content: string;
|
|
1675
|
+
name?: string | undefined;
|
|
1676
|
+
};
|
|
1677
|
+
/** @internal */
|
|
1678
|
+
export declare const SystemMessage$outboundSchema: z.ZodType<SystemMessage$Outbound, z.ZodTypeDef, SystemMessage>;
|
|
604
1679
|
/**
|
|
605
1680
|
* @internal
|
|
606
1681
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
607
1682
|
*/
|
|
608
|
-
export declare namespace
|
|
609
|
-
/** @deprecated use `
|
|
610
|
-
const inboundSchema: z.ZodType<
|
|
611
|
-
/** @deprecated use `
|
|
612
|
-
const outboundSchema: z.ZodType<
|
|
613
|
-
/** @deprecated use `
|
|
614
|
-
type Outbound =
|
|
1683
|
+
export declare namespace SystemMessage$ {
|
|
1684
|
+
/** @deprecated use `SystemMessage$inboundSchema` instead. */
|
|
1685
|
+
const inboundSchema: z.ZodType<SystemMessage, z.ZodTypeDef, unknown>;
|
|
1686
|
+
/** @deprecated use `SystemMessage$outboundSchema` instead. */
|
|
1687
|
+
const outboundSchema: z.ZodType<SystemMessage$Outbound, z.ZodTypeDef, SystemMessage>;
|
|
1688
|
+
/** @deprecated use `SystemMessage$Outbound` instead. */
|
|
1689
|
+
type Outbound = SystemMessage$Outbound;
|
|
615
1690
|
}
|
|
616
|
-
export declare function
|
|
617
|
-
export declare function
|
|
1691
|
+
export declare function systemMessageToJSON(systemMessage: SystemMessage): string;
|
|
1692
|
+
export declare function systemMessageFromJSON(jsonString: string): SafeParseResult<SystemMessage, SDKValidationError>;
|
|
618
1693
|
/** @internal */
|
|
619
1694
|
export declare const Role$inboundSchema: z.ZodNativeEnum<typeof Role>;
|
|
620
1695
|
/** @internal */
|
|
@@ -626,310 +1701,513 @@ export declare const Role$outboundSchema: z.ZodNativeEnum<typeof Role>;
|
|
|
626
1701
|
export declare namespace Role$ {
|
|
627
1702
|
/** @deprecated use `Role$inboundSchema` instead. */
|
|
628
1703
|
const inboundSchema: z.ZodNativeEnum<{
|
|
629
|
-
readonly
|
|
630
|
-
readonly Assistant: "assistant";
|
|
631
|
-
readonly User: "user";
|
|
632
|
-
readonly Exception: "exception";
|
|
633
|
-
readonly Tool: "tool";
|
|
634
|
-
readonly Prompt: "prompt";
|
|
635
|
-
readonly Correction: "correction";
|
|
636
|
-
readonly ExpectedOutput: "expected_output";
|
|
1704
|
+
readonly Developer: "developer";
|
|
637
1705
|
}>;
|
|
638
1706
|
/** @deprecated use `Role$outboundSchema` instead. */
|
|
639
1707
|
const outboundSchema: z.ZodNativeEnum<{
|
|
640
|
-
readonly
|
|
641
|
-
readonly Assistant: "assistant";
|
|
642
|
-
readonly User: "user";
|
|
643
|
-
readonly Exception: "exception";
|
|
644
|
-
readonly Tool: "tool";
|
|
645
|
-
readonly Prompt: "prompt";
|
|
646
|
-
readonly Correction: "correction";
|
|
647
|
-
readonly ExpectedOutput: "expected_output";
|
|
1708
|
+
readonly Developer: "developer";
|
|
648
1709
|
}>;
|
|
649
1710
|
}
|
|
650
1711
|
/** @internal */
|
|
651
|
-
export declare const
|
|
1712
|
+
export declare const DeveloperMessage$inboundSchema: z.ZodType<DeveloperMessage, z.ZodTypeDef, unknown>;
|
|
652
1713
|
/** @internal */
|
|
653
|
-
export
|
|
1714
|
+
export type DeveloperMessage$Outbound = {
|
|
1715
|
+
role: string;
|
|
1716
|
+
content: string;
|
|
1717
|
+
name?: string | undefined;
|
|
1718
|
+
};
|
|
1719
|
+
/** @internal */
|
|
1720
|
+
export declare const DeveloperMessage$outboundSchema: z.ZodType<DeveloperMessage$Outbound, z.ZodTypeDef, DeveloperMessage>;
|
|
654
1721
|
/**
|
|
655
1722
|
* @internal
|
|
656
1723
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
657
1724
|
*/
|
|
658
|
-
export declare namespace
|
|
659
|
-
/** @deprecated use `
|
|
1725
|
+
export declare namespace DeveloperMessage$ {
|
|
1726
|
+
/** @deprecated use `DeveloperMessage$inboundSchema` instead. */
|
|
1727
|
+
const inboundSchema: z.ZodType<DeveloperMessage, z.ZodTypeDef, unknown>;
|
|
1728
|
+
/** @deprecated use `DeveloperMessage$outboundSchema` instead. */
|
|
1729
|
+
const outboundSchema: z.ZodType<DeveloperMessage$Outbound, z.ZodTypeDef, DeveloperMessage>;
|
|
1730
|
+
/** @deprecated use `DeveloperMessage$Outbound` instead. */
|
|
1731
|
+
type Outbound = DeveloperMessage$Outbound;
|
|
1732
|
+
}
|
|
1733
|
+
export declare function developerMessageToJSON(developerMessage: DeveloperMessage): string;
|
|
1734
|
+
export declare function developerMessageFromJSON(jsonString: string): SafeParseResult<DeveloperMessage, SDKValidationError>;
|
|
1735
|
+
/** @internal */
|
|
1736
|
+
export declare const PrefixMessages$inboundSchema: z.ZodType<PrefixMessages, z.ZodTypeDef, unknown>;
|
|
1737
|
+
/** @internal */
|
|
1738
|
+
export type PrefixMessages$Outbound = DeveloperMessage$Outbound | SystemMessage$Outbound | UserMessage$Outbound | ToolMessage$Outbound | AssistantMessage$Outbound;
|
|
1739
|
+
/** @internal */
|
|
1740
|
+
export declare const PrefixMessages$outboundSchema: z.ZodType<PrefixMessages$Outbound, z.ZodTypeDef, PrefixMessages>;
|
|
1741
|
+
/**
|
|
1742
|
+
* @internal
|
|
1743
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1744
|
+
*/
|
|
1745
|
+
export declare namespace PrefixMessages$ {
|
|
1746
|
+
/** @deprecated use `PrefixMessages$inboundSchema` instead. */
|
|
1747
|
+
const inboundSchema: z.ZodType<PrefixMessages, z.ZodTypeDef, unknown>;
|
|
1748
|
+
/** @deprecated use `PrefixMessages$outboundSchema` instead. */
|
|
1749
|
+
const outboundSchema: z.ZodType<PrefixMessages$Outbound, z.ZodTypeDef, PrefixMessages>;
|
|
1750
|
+
/** @deprecated use `PrefixMessages$Outbound` instead. */
|
|
1751
|
+
type Outbound = PrefixMessages$Outbound;
|
|
1752
|
+
}
|
|
1753
|
+
export declare function prefixMessagesToJSON(prefixMessages: PrefixMessages): string;
|
|
1754
|
+
export declare function prefixMessagesFromJSON(jsonString: string): SafeParseResult<PrefixMessages, SDKValidationError>;
|
|
1755
|
+
/** @internal */
|
|
1756
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole>;
|
|
1757
|
+
/** @internal */
|
|
1758
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole>;
|
|
1759
|
+
/**
|
|
1760
|
+
* @internal
|
|
1761
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1762
|
+
*/
|
|
1763
|
+
export declare namespace DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$ {
|
|
1764
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$inboundSchema` instead. */
|
|
660
1765
|
const inboundSchema: z.ZodNativeEnum<{
|
|
661
|
-
readonly
|
|
1766
|
+
readonly Tool: "tool";
|
|
662
1767
|
}>;
|
|
663
|
-
/** @deprecated use `
|
|
1768
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$outboundSchema` instead. */
|
|
664
1769
|
const outboundSchema: z.ZodNativeEnum<{
|
|
665
|
-
readonly
|
|
1770
|
+
readonly Tool: "tool";
|
|
666
1771
|
}>;
|
|
667
1772
|
}
|
|
668
1773
|
/** @internal */
|
|
669
|
-
export declare const
|
|
1774
|
+
export declare const DeploymentGetConfigMessagesDeploymentsContent$inboundSchema: z.ZodType<DeploymentGetConfigMessagesDeploymentsContent, z.ZodTypeDef, unknown>;
|
|
670
1775
|
/** @internal */
|
|
671
|
-
export type
|
|
672
|
-
|
|
673
|
-
|
|
1776
|
+
export type DeploymentGetConfigMessagesDeploymentsContent$Outbound = string | Array<string>;
|
|
1777
|
+
/** @internal */
|
|
1778
|
+
export declare const DeploymentGetConfigMessagesDeploymentsContent$outboundSchema: z.ZodType<DeploymentGetConfigMessagesDeploymentsContent$Outbound, z.ZodTypeDef, DeploymentGetConfigMessagesDeploymentsContent>;
|
|
1779
|
+
/**
|
|
1780
|
+
* @internal
|
|
1781
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1782
|
+
*/
|
|
1783
|
+
export declare namespace DeploymentGetConfigMessagesDeploymentsContent$ {
|
|
1784
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsContent$inboundSchema` instead. */
|
|
1785
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigMessagesDeploymentsContent, z.ZodTypeDef, unknown>;
|
|
1786
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsContent$outboundSchema` instead. */
|
|
1787
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigMessagesDeploymentsContent$Outbound, z.ZodTypeDef, DeploymentGetConfigMessagesDeploymentsContent>;
|
|
1788
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsContent$Outbound` instead. */
|
|
1789
|
+
type Outbound = DeploymentGetConfigMessagesDeploymentsContent$Outbound;
|
|
1790
|
+
}
|
|
1791
|
+
export declare function deploymentGetConfigMessagesDeploymentsContentToJSON(deploymentGetConfigMessagesDeploymentsContent: DeploymentGetConfigMessagesDeploymentsContent): string;
|
|
1792
|
+
export declare function deploymentGetConfigMessagesDeploymentsContentFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigMessagesDeploymentsContent, SDKValidationError>;
|
|
1793
|
+
/** @internal */
|
|
1794
|
+
export declare const MessagesToolMessage$inboundSchema: z.ZodType<MessagesToolMessage, z.ZodTypeDef, unknown>;
|
|
1795
|
+
/** @internal */
|
|
1796
|
+
export type MessagesToolMessage$Outbound = {
|
|
1797
|
+
role: string;
|
|
1798
|
+
content: string | Array<string>;
|
|
1799
|
+
tool_call_id: string;
|
|
674
1800
|
};
|
|
675
1801
|
/** @internal */
|
|
676
|
-
export declare const
|
|
1802
|
+
export declare const MessagesToolMessage$outboundSchema: z.ZodType<MessagesToolMessage$Outbound, z.ZodTypeDef, MessagesToolMessage>;
|
|
677
1803
|
/**
|
|
678
1804
|
* @internal
|
|
679
1805
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
680
1806
|
*/
|
|
681
|
-
export declare namespace
|
|
682
|
-
/** @deprecated use `
|
|
683
|
-
const inboundSchema: z.ZodType<
|
|
684
|
-
/** @deprecated use `
|
|
685
|
-
const outboundSchema: z.ZodType<
|
|
686
|
-
/** @deprecated use `
|
|
687
|
-
type Outbound =
|
|
1807
|
+
export declare namespace MessagesToolMessage$ {
|
|
1808
|
+
/** @deprecated use `MessagesToolMessage$inboundSchema` instead. */
|
|
1809
|
+
const inboundSchema: z.ZodType<MessagesToolMessage, z.ZodTypeDef, unknown>;
|
|
1810
|
+
/** @deprecated use `MessagesToolMessage$outboundSchema` instead. */
|
|
1811
|
+
const outboundSchema: z.ZodType<MessagesToolMessage$Outbound, z.ZodTypeDef, MessagesToolMessage>;
|
|
1812
|
+
/** @deprecated use `MessagesToolMessage$Outbound` instead. */
|
|
1813
|
+
type Outbound = MessagesToolMessage$Outbound;
|
|
688
1814
|
}
|
|
689
|
-
export declare function
|
|
690
|
-
export declare function
|
|
1815
|
+
export declare function messagesToolMessageToJSON(messagesToolMessage: MessagesToolMessage): string;
|
|
1816
|
+
export declare function messagesToolMessageFromJSON(jsonString: string): SafeParseResult<MessagesToolMessage, SDKValidationError>;
|
|
691
1817
|
/** @internal */
|
|
692
|
-
export declare const
|
|
1818
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType>;
|
|
693
1819
|
/** @internal */
|
|
694
|
-
export
|
|
1820
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType>;
|
|
1821
|
+
/**
|
|
1822
|
+
* @internal
|
|
1823
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1824
|
+
*/
|
|
1825
|
+
export declare namespace DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$ {
|
|
1826
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$inboundSchema` instead. */
|
|
1827
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1828
|
+
readonly Refusal: "refusal";
|
|
1829
|
+
}>;
|
|
1830
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$outboundSchema` instead. */
|
|
1831
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1832
|
+
readonly Refusal: "refusal";
|
|
1833
|
+
}>;
|
|
1834
|
+
}
|
|
1835
|
+
/** @internal */
|
|
1836
|
+
export declare const TwoRefusalContentPart$inboundSchema: z.ZodType<TwoRefusalContentPart, z.ZodTypeDef, unknown>;
|
|
1837
|
+
/** @internal */
|
|
1838
|
+
export type TwoRefusalContentPart$Outbound = {
|
|
695
1839
|
type: string;
|
|
696
|
-
|
|
1840
|
+
refusal: string;
|
|
697
1841
|
};
|
|
698
1842
|
/** @internal */
|
|
699
|
-
export declare const
|
|
1843
|
+
export declare const TwoRefusalContentPart$outboundSchema: z.ZodType<TwoRefusalContentPart$Outbound, z.ZodTypeDef, TwoRefusalContentPart>;
|
|
700
1844
|
/**
|
|
701
1845
|
* @internal
|
|
702
1846
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
703
1847
|
*/
|
|
704
|
-
export declare namespace
|
|
705
|
-
/** @deprecated use `
|
|
706
|
-
const inboundSchema: z.ZodType<
|
|
707
|
-
/** @deprecated use `
|
|
708
|
-
const outboundSchema: z.ZodType<
|
|
709
|
-
/** @deprecated use `
|
|
710
|
-
type Outbound =
|
|
1848
|
+
export declare namespace TwoRefusalContentPart$ {
|
|
1849
|
+
/** @deprecated use `TwoRefusalContentPart$inboundSchema` instead. */
|
|
1850
|
+
const inboundSchema: z.ZodType<TwoRefusalContentPart, z.ZodTypeDef, unknown>;
|
|
1851
|
+
/** @deprecated use `TwoRefusalContentPart$outboundSchema` instead. */
|
|
1852
|
+
const outboundSchema: z.ZodType<TwoRefusalContentPart$Outbound, z.ZodTypeDef, TwoRefusalContentPart>;
|
|
1853
|
+
/** @deprecated use `TwoRefusalContentPart$Outbound` instead. */
|
|
1854
|
+
type Outbound = TwoRefusalContentPart$Outbound;
|
|
711
1855
|
}
|
|
712
|
-
export declare function
|
|
713
|
-
export declare function
|
|
1856
|
+
export declare function twoRefusalContentPartToJSON(twoRefusalContentPart: TwoRefusalContentPart): string;
|
|
1857
|
+
export declare function twoRefusalContentPartFromJSON(jsonString: string): SafeParseResult<TwoRefusalContentPart, SDKValidationError>;
|
|
714
1858
|
/** @internal */
|
|
715
|
-
export declare const
|
|
1859
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type>;
|
|
716
1860
|
/** @internal */
|
|
717
|
-
export declare const
|
|
1861
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type>;
|
|
718
1862
|
/**
|
|
719
1863
|
* @internal
|
|
720
1864
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
721
1865
|
*/
|
|
722
|
-
export declare namespace
|
|
723
|
-
/** @deprecated use `
|
|
1866
|
+
export declare namespace DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$ {
|
|
1867
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$inboundSchema` instead. */
|
|
724
1868
|
const inboundSchema: z.ZodNativeEnum<{
|
|
725
1869
|
readonly Text: "text";
|
|
726
1870
|
}>;
|
|
727
|
-
/** @deprecated use `
|
|
1871
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$outboundSchema` instead. */
|
|
728
1872
|
const outboundSchema: z.ZodNativeEnum<{
|
|
729
1873
|
readonly Text: "text";
|
|
730
1874
|
}>;
|
|
731
1875
|
}
|
|
732
1876
|
/** @internal */
|
|
733
|
-
export declare const
|
|
1877
|
+
export declare const TwoTextContentPart$inboundSchema: z.ZodType<TwoTextContentPart, z.ZodTypeDef, unknown>;
|
|
734
1878
|
/** @internal */
|
|
735
|
-
export type
|
|
1879
|
+
export type TwoTextContentPart$Outbound = {
|
|
736
1880
|
type: string;
|
|
737
1881
|
text: string;
|
|
738
1882
|
};
|
|
739
1883
|
/** @internal */
|
|
740
|
-
export declare const
|
|
1884
|
+
export declare const TwoTextContentPart$outboundSchema: z.ZodType<TwoTextContentPart$Outbound, z.ZodTypeDef, TwoTextContentPart>;
|
|
741
1885
|
/**
|
|
742
1886
|
* @internal
|
|
743
1887
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
744
1888
|
*/
|
|
745
|
-
export declare namespace
|
|
746
|
-
/** @deprecated use `
|
|
747
|
-
const inboundSchema: z.ZodType<
|
|
748
|
-
/** @deprecated use `
|
|
749
|
-
const outboundSchema: z.ZodType<
|
|
750
|
-
/** @deprecated use `
|
|
751
|
-
type Outbound =
|
|
1889
|
+
export declare namespace TwoTextContentPart$ {
|
|
1890
|
+
/** @deprecated use `TwoTextContentPart$inboundSchema` instead. */
|
|
1891
|
+
const inboundSchema: z.ZodType<TwoTextContentPart, z.ZodTypeDef, unknown>;
|
|
1892
|
+
/** @deprecated use `TwoTextContentPart$outboundSchema` instead. */
|
|
1893
|
+
const outboundSchema: z.ZodType<TwoTextContentPart$Outbound, z.ZodTypeDef, TwoTextContentPart>;
|
|
1894
|
+
/** @deprecated use `TwoTextContentPart$Outbound` instead. */
|
|
1895
|
+
type Outbound = TwoTextContentPart$Outbound;
|
|
752
1896
|
}
|
|
753
|
-
export declare function
|
|
754
|
-
export declare function
|
|
1897
|
+
export declare function twoTextContentPartToJSON(twoTextContentPart: TwoTextContentPart): string;
|
|
1898
|
+
export declare function twoTextContentPartFromJSON(jsonString: string): SafeParseResult<TwoTextContentPart, SDKValidationError>;
|
|
755
1899
|
/** @internal */
|
|
756
|
-
export declare const
|
|
1900
|
+
export declare const DeploymentGetConfigContentDeployments2$inboundSchema: z.ZodType<DeploymentGetConfigContentDeployments2, z.ZodTypeDef, unknown>;
|
|
757
1901
|
/** @internal */
|
|
758
|
-
export type
|
|
1902
|
+
export type DeploymentGetConfigContentDeployments2$Outbound = TwoTextContentPart$Outbound | TwoRefusalContentPart$Outbound;
|
|
759
1903
|
/** @internal */
|
|
760
|
-
export declare const
|
|
1904
|
+
export declare const DeploymentGetConfigContentDeployments2$outboundSchema: z.ZodType<DeploymentGetConfigContentDeployments2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeployments2>;
|
|
761
1905
|
/**
|
|
762
1906
|
* @internal
|
|
763
1907
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
764
1908
|
*/
|
|
765
|
-
export declare namespace
|
|
766
|
-
/** @deprecated use `
|
|
767
|
-
const inboundSchema: z.ZodType<
|
|
768
|
-
/** @deprecated use `
|
|
769
|
-
const outboundSchema: z.ZodType<
|
|
770
|
-
/** @deprecated use `
|
|
771
|
-
type Outbound =
|
|
1909
|
+
export declare namespace DeploymentGetConfigContentDeployments2$ {
|
|
1910
|
+
/** @deprecated use `DeploymentGetConfigContentDeployments2$inboundSchema` instead. */
|
|
1911
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigContentDeployments2, z.ZodTypeDef, unknown>;
|
|
1912
|
+
/** @deprecated use `DeploymentGetConfigContentDeployments2$outboundSchema` instead. */
|
|
1913
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigContentDeployments2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeployments2>;
|
|
1914
|
+
/** @deprecated use `DeploymentGetConfigContentDeployments2$Outbound` instead. */
|
|
1915
|
+
type Outbound = DeploymentGetConfigContentDeployments2$Outbound;
|
|
772
1916
|
}
|
|
773
|
-
export declare function
|
|
774
|
-
export declare function
|
|
1917
|
+
export declare function deploymentGetConfigContentDeployments2ToJSON(deploymentGetConfigContentDeployments2: DeploymentGetConfigContentDeployments2): string;
|
|
1918
|
+
export declare function deploymentGetConfigContentDeployments2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContentDeployments2, SDKValidationError>;
|
|
775
1919
|
/** @internal */
|
|
776
|
-
export declare const
|
|
1920
|
+
export declare const DeploymentGetConfigMessagesContent$inboundSchema: z.ZodType<DeploymentGetConfigMessagesContent, z.ZodTypeDef, unknown>;
|
|
777
1921
|
/** @internal */
|
|
778
|
-
export type
|
|
1922
|
+
export type DeploymentGetConfigMessagesContent$Outbound = string | Array<TwoTextContentPart$Outbound | TwoRefusalContentPart$Outbound>;
|
|
779
1923
|
/** @internal */
|
|
780
|
-
export declare const
|
|
1924
|
+
export declare const DeploymentGetConfigMessagesContent$outboundSchema: z.ZodType<DeploymentGetConfigMessagesContent$Outbound, z.ZodTypeDef, DeploymentGetConfigMessagesContent>;
|
|
781
1925
|
/**
|
|
782
1926
|
* @internal
|
|
783
1927
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
784
1928
|
*/
|
|
785
|
-
export declare namespace
|
|
786
|
-
/** @deprecated use `
|
|
787
|
-
const inboundSchema: z.ZodType<
|
|
788
|
-
/** @deprecated use `
|
|
789
|
-
const outboundSchema: z.ZodType<
|
|
790
|
-
/** @deprecated use `
|
|
791
|
-
type Outbound =
|
|
1929
|
+
export declare namespace DeploymentGetConfigMessagesContent$ {
|
|
1930
|
+
/** @deprecated use `DeploymentGetConfigMessagesContent$inboundSchema` instead. */
|
|
1931
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigMessagesContent, z.ZodTypeDef, unknown>;
|
|
1932
|
+
/** @deprecated use `DeploymentGetConfigMessagesContent$outboundSchema` instead. */
|
|
1933
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigMessagesContent$Outbound, z.ZodTypeDef, DeploymentGetConfigMessagesContent>;
|
|
1934
|
+
/** @deprecated use `DeploymentGetConfigMessagesContent$Outbound` instead. */
|
|
1935
|
+
type Outbound = DeploymentGetConfigMessagesContent$Outbound;
|
|
792
1936
|
}
|
|
793
|
-
export declare function
|
|
794
|
-
export declare function
|
|
1937
|
+
export declare function deploymentGetConfigMessagesContentToJSON(deploymentGetConfigMessagesContent: DeploymentGetConfigMessagesContent): string;
|
|
1938
|
+
export declare function deploymentGetConfigMessagesContentFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigMessagesContent, SDKValidationError>;
|
|
795
1939
|
/** @internal */
|
|
796
|
-
export declare const
|
|
1940
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRequestRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigMessagesDeploymentsRequestRole>;
|
|
797
1941
|
/** @internal */
|
|
798
|
-
export declare const
|
|
1942
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRequestRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigMessagesDeploymentsRequestRole>;
|
|
799
1943
|
/**
|
|
800
1944
|
* @internal
|
|
801
1945
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
802
1946
|
*/
|
|
803
|
-
export declare namespace
|
|
804
|
-
/** @deprecated use `
|
|
1947
|
+
export declare namespace DeploymentGetConfigMessagesDeploymentsRequestRole$ {
|
|
1948
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRequestRole$inboundSchema` instead. */
|
|
1949
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1950
|
+
readonly Assistant: "assistant";
|
|
1951
|
+
}>;
|
|
1952
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRequestRole$outboundSchema` instead. */
|
|
1953
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1954
|
+
readonly Assistant: "assistant";
|
|
1955
|
+
}>;
|
|
1956
|
+
}
|
|
1957
|
+
/** @internal */
|
|
1958
|
+
export declare const MessagesAudio$inboundSchema: z.ZodType<MessagesAudio, z.ZodTypeDef, unknown>;
|
|
1959
|
+
/** @internal */
|
|
1960
|
+
export type MessagesAudio$Outbound = {
|
|
1961
|
+
id: string;
|
|
1962
|
+
};
|
|
1963
|
+
/** @internal */
|
|
1964
|
+
export declare const MessagesAudio$outboundSchema: z.ZodType<MessagesAudio$Outbound, z.ZodTypeDef, MessagesAudio>;
|
|
1965
|
+
/**
|
|
1966
|
+
* @internal
|
|
1967
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1968
|
+
*/
|
|
1969
|
+
export declare namespace MessagesAudio$ {
|
|
1970
|
+
/** @deprecated use `MessagesAudio$inboundSchema` instead. */
|
|
1971
|
+
const inboundSchema: z.ZodType<MessagesAudio, z.ZodTypeDef, unknown>;
|
|
1972
|
+
/** @deprecated use `MessagesAudio$outboundSchema` instead. */
|
|
1973
|
+
const outboundSchema: z.ZodType<MessagesAudio$Outbound, z.ZodTypeDef, MessagesAudio>;
|
|
1974
|
+
/** @deprecated use `MessagesAudio$Outbound` instead. */
|
|
1975
|
+
type Outbound = MessagesAudio$Outbound;
|
|
1976
|
+
}
|
|
1977
|
+
export declare function messagesAudioToJSON(messagesAudio: MessagesAudio): string;
|
|
1978
|
+
export declare function messagesAudioFromJSON(jsonString: string): SafeParseResult<MessagesAudio, SDKValidationError>;
|
|
1979
|
+
/** @internal */
|
|
1980
|
+
export declare const MessagesType$inboundSchema: z.ZodNativeEnum<typeof MessagesType>;
|
|
1981
|
+
/** @internal */
|
|
1982
|
+
export declare const MessagesType$outboundSchema: z.ZodNativeEnum<typeof MessagesType>;
|
|
1983
|
+
/**
|
|
1984
|
+
* @internal
|
|
1985
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1986
|
+
*/
|
|
1987
|
+
export declare namespace MessagesType$ {
|
|
1988
|
+
/** @deprecated use `MessagesType$inboundSchema` instead. */
|
|
805
1989
|
const inboundSchema: z.ZodNativeEnum<{
|
|
806
1990
|
readonly Function: "function";
|
|
807
1991
|
}>;
|
|
808
|
-
/** @deprecated use `
|
|
1992
|
+
/** @deprecated use `MessagesType$outboundSchema` instead. */
|
|
809
1993
|
const outboundSchema: z.ZodNativeEnum<{
|
|
810
1994
|
readonly Function: "function";
|
|
811
1995
|
}>;
|
|
812
1996
|
}
|
|
813
1997
|
/** @internal */
|
|
814
|
-
export declare const
|
|
1998
|
+
export declare const MessagesFunction$inboundSchema: z.ZodType<MessagesFunction, z.ZodTypeDef, unknown>;
|
|
815
1999
|
/** @internal */
|
|
816
|
-
export type
|
|
817
|
-
name
|
|
818
|
-
arguments
|
|
2000
|
+
export type MessagesFunction$Outbound = {
|
|
2001
|
+
name?: string | undefined;
|
|
2002
|
+
arguments?: string | undefined;
|
|
819
2003
|
};
|
|
820
2004
|
/** @internal */
|
|
821
|
-
export declare const
|
|
2005
|
+
export declare const MessagesFunction$outboundSchema: z.ZodType<MessagesFunction$Outbound, z.ZodTypeDef, MessagesFunction>;
|
|
822
2006
|
/**
|
|
823
2007
|
* @internal
|
|
824
2008
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
825
2009
|
*/
|
|
826
|
-
export declare namespace
|
|
827
|
-
/** @deprecated use `
|
|
828
|
-
const inboundSchema: z.ZodType<
|
|
829
|
-
/** @deprecated use `
|
|
830
|
-
const outboundSchema: z.ZodType<
|
|
831
|
-
/** @deprecated use `
|
|
832
|
-
type Outbound =
|
|
2010
|
+
export declare namespace MessagesFunction$ {
|
|
2011
|
+
/** @deprecated use `MessagesFunction$inboundSchema` instead. */
|
|
2012
|
+
const inboundSchema: z.ZodType<MessagesFunction, z.ZodTypeDef, unknown>;
|
|
2013
|
+
/** @deprecated use `MessagesFunction$outboundSchema` instead. */
|
|
2014
|
+
const outboundSchema: z.ZodType<MessagesFunction$Outbound, z.ZodTypeDef, MessagesFunction>;
|
|
2015
|
+
/** @deprecated use `MessagesFunction$Outbound` instead. */
|
|
2016
|
+
type Outbound = MessagesFunction$Outbound;
|
|
833
2017
|
}
|
|
834
|
-
export declare function
|
|
835
|
-
export declare function
|
|
2018
|
+
export declare function messagesFunctionToJSON(messagesFunction: MessagesFunction): string;
|
|
2019
|
+
export declare function messagesFunctionFromJSON(jsonString: string): SafeParseResult<MessagesFunction, SDKValidationError>;
|
|
836
2020
|
/** @internal */
|
|
837
|
-
export declare const
|
|
2021
|
+
export declare const MessagesToolCalls$inboundSchema: z.ZodType<MessagesToolCalls, z.ZodTypeDef, unknown>;
|
|
838
2022
|
/** @internal */
|
|
839
|
-
export type
|
|
840
|
-
id
|
|
841
|
-
index?: number | undefined;
|
|
2023
|
+
export type MessagesToolCalls$Outbound = {
|
|
2024
|
+
id: string;
|
|
842
2025
|
type: string;
|
|
843
|
-
function:
|
|
2026
|
+
function: MessagesFunction$Outbound;
|
|
844
2027
|
};
|
|
845
2028
|
/** @internal */
|
|
846
|
-
export declare const
|
|
2029
|
+
export declare const MessagesToolCalls$outboundSchema: z.ZodType<MessagesToolCalls$Outbound, z.ZodTypeDef, MessagesToolCalls>;
|
|
847
2030
|
/**
|
|
848
2031
|
* @internal
|
|
849
2032
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
850
2033
|
*/
|
|
851
|
-
export declare namespace
|
|
852
|
-
/** @deprecated use `
|
|
853
|
-
const inboundSchema: z.ZodType<
|
|
854
|
-
/** @deprecated use `
|
|
855
|
-
const outboundSchema: z.ZodType<
|
|
856
|
-
/** @deprecated use `
|
|
857
|
-
type Outbound =
|
|
2034
|
+
export declare namespace MessagesToolCalls$ {
|
|
2035
|
+
/** @deprecated use `MessagesToolCalls$inboundSchema` instead. */
|
|
2036
|
+
const inboundSchema: z.ZodType<MessagesToolCalls, z.ZodTypeDef, unknown>;
|
|
2037
|
+
/** @deprecated use `MessagesToolCalls$outboundSchema` instead. */
|
|
2038
|
+
const outboundSchema: z.ZodType<MessagesToolCalls$Outbound, z.ZodTypeDef, MessagesToolCalls>;
|
|
2039
|
+
/** @deprecated use `MessagesToolCalls$Outbound` instead. */
|
|
2040
|
+
type Outbound = MessagesToolCalls$Outbound;
|
|
2041
|
+
}
|
|
2042
|
+
export declare function messagesToolCallsToJSON(messagesToolCalls: MessagesToolCalls): string;
|
|
2043
|
+
export declare function messagesToolCallsFromJSON(jsonString: string): SafeParseResult<MessagesToolCalls, SDKValidationError>;
|
|
2044
|
+
/** @internal */
|
|
2045
|
+
export declare const MessagesAssistantMessage$inboundSchema: z.ZodType<MessagesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
2046
|
+
/** @internal */
|
|
2047
|
+
export type MessagesAssistantMessage$Outbound = {
|
|
2048
|
+
content?: string | Array<TwoTextContentPart$Outbound | TwoRefusalContentPart$Outbound> | undefined;
|
|
2049
|
+
refusal?: string | null | undefined;
|
|
2050
|
+
role: string;
|
|
2051
|
+
name?: string | undefined;
|
|
2052
|
+
audio?: MessagesAudio$Outbound | null | undefined;
|
|
2053
|
+
tool_calls?: Array<MessagesToolCalls$Outbound> | undefined;
|
|
2054
|
+
};
|
|
2055
|
+
/** @internal */
|
|
2056
|
+
export declare const MessagesAssistantMessage$outboundSchema: z.ZodType<MessagesAssistantMessage$Outbound, z.ZodTypeDef, MessagesAssistantMessage>;
|
|
2057
|
+
/**
|
|
2058
|
+
* @internal
|
|
2059
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2060
|
+
*/
|
|
2061
|
+
export declare namespace MessagesAssistantMessage$ {
|
|
2062
|
+
/** @deprecated use `MessagesAssistantMessage$inboundSchema` instead. */
|
|
2063
|
+
const inboundSchema: z.ZodType<MessagesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
2064
|
+
/** @deprecated use `MessagesAssistantMessage$outboundSchema` instead. */
|
|
2065
|
+
const outboundSchema: z.ZodType<MessagesAssistantMessage$Outbound, z.ZodTypeDef, MessagesAssistantMessage>;
|
|
2066
|
+
/** @deprecated use `MessagesAssistantMessage$Outbound` instead. */
|
|
2067
|
+
type Outbound = MessagesAssistantMessage$Outbound;
|
|
2068
|
+
}
|
|
2069
|
+
export declare function messagesAssistantMessageToJSON(messagesAssistantMessage: MessagesAssistantMessage): string;
|
|
2070
|
+
export declare function messagesAssistantMessageFromJSON(jsonString: string): SafeParseResult<MessagesAssistantMessage, SDKValidationError>;
|
|
2071
|
+
/** @internal */
|
|
2072
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigMessagesDeploymentsRole>;
|
|
2073
|
+
/** @internal */
|
|
2074
|
+
export declare const DeploymentGetConfigMessagesDeploymentsRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigMessagesDeploymentsRole>;
|
|
2075
|
+
/**
|
|
2076
|
+
* @internal
|
|
2077
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2078
|
+
*/
|
|
2079
|
+
export declare namespace DeploymentGetConfigMessagesDeploymentsRole$ {
|
|
2080
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRole$inboundSchema` instead. */
|
|
2081
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
2082
|
+
readonly User: "user";
|
|
2083
|
+
}>;
|
|
2084
|
+
/** @deprecated use `DeploymentGetConfigMessagesDeploymentsRole$outboundSchema` instead. */
|
|
2085
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
2086
|
+
readonly User: "user";
|
|
2087
|
+
}>;
|
|
2088
|
+
}
|
|
2089
|
+
/** @internal */
|
|
2090
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type>;
|
|
2091
|
+
/** @internal */
|
|
2092
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type>;
|
|
2093
|
+
/**
|
|
2094
|
+
* @internal
|
|
2095
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2096
|
+
*/
|
|
2097
|
+
export declare namespace DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$ {
|
|
2098
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema` instead. */
|
|
2099
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
2100
|
+
readonly InputAudio: "input_audio";
|
|
2101
|
+
}>;
|
|
2102
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$outboundSchema` instead. */
|
|
2103
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
2104
|
+
readonly InputAudio: "input_audio";
|
|
2105
|
+
}>;
|
|
2106
|
+
}
|
|
2107
|
+
/** @internal */
|
|
2108
|
+
export declare const TwoFormat$inboundSchema: z.ZodNativeEnum<typeof TwoFormat>;
|
|
2109
|
+
/** @internal */
|
|
2110
|
+
export declare const TwoFormat$outboundSchema: z.ZodNativeEnum<typeof TwoFormat>;
|
|
2111
|
+
/**
|
|
2112
|
+
* @internal
|
|
2113
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2114
|
+
*/
|
|
2115
|
+
export declare namespace TwoFormat$ {
|
|
2116
|
+
/** @deprecated use `TwoFormat$inboundSchema` instead. */
|
|
2117
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
2118
|
+
readonly Mp3: "mp3";
|
|
2119
|
+
readonly Wav: "wav";
|
|
2120
|
+
}>;
|
|
2121
|
+
/** @deprecated use `TwoFormat$outboundSchema` instead. */
|
|
2122
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
2123
|
+
readonly Mp3: "mp3";
|
|
2124
|
+
readonly Wav: "wav";
|
|
2125
|
+
}>;
|
|
2126
|
+
}
|
|
2127
|
+
/** @internal */
|
|
2128
|
+
export declare const TwoInputAudio$inboundSchema: z.ZodType<TwoInputAudio, z.ZodTypeDef, unknown>;
|
|
2129
|
+
/** @internal */
|
|
2130
|
+
export type TwoInputAudio$Outbound = {
|
|
2131
|
+
data: string;
|
|
2132
|
+
format: string;
|
|
2133
|
+
};
|
|
2134
|
+
/** @internal */
|
|
2135
|
+
export declare const TwoInputAudio$outboundSchema: z.ZodType<TwoInputAudio$Outbound, z.ZodTypeDef, TwoInputAudio>;
|
|
2136
|
+
/**
|
|
2137
|
+
* @internal
|
|
2138
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2139
|
+
*/
|
|
2140
|
+
export declare namespace TwoInputAudio$ {
|
|
2141
|
+
/** @deprecated use `TwoInputAudio$inboundSchema` instead. */
|
|
2142
|
+
const inboundSchema: z.ZodType<TwoInputAudio, z.ZodTypeDef, unknown>;
|
|
2143
|
+
/** @deprecated use `TwoInputAudio$outboundSchema` instead. */
|
|
2144
|
+
const outboundSchema: z.ZodType<TwoInputAudio$Outbound, z.ZodTypeDef, TwoInputAudio>;
|
|
2145
|
+
/** @deprecated use `TwoInputAudio$Outbound` instead. */
|
|
2146
|
+
type Outbound = TwoInputAudio$Outbound;
|
|
858
2147
|
}
|
|
859
|
-
export declare function
|
|
860
|
-
export declare function
|
|
2148
|
+
export declare function twoInputAudioToJSON(twoInputAudio: TwoInputAudio): string;
|
|
2149
|
+
export declare function twoInputAudioFromJSON(jsonString: string): SafeParseResult<TwoInputAudio, SDKValidationError>;
|
|
861
2150
|
/** @internal */
|
|
862
|
-
export declare const
|
|
2151
|
+
export declare const Two3$inboundSchema: z.ZodType<Two3, z.ZodTypeDef, unknown>;
|
|
863
2152
|
/** @internal */
|
|
864
|
-
export type
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
tool_calls?: Array<ToolCalls$Outbound> | undefined;
|
|
2153
|
+
export type Two3$Outbound = {
|
|
2154
|
+
type: string;
|
|
2155
|
+
input_audio: TwoInputAudio$Outbound;
|
|
868
2156
|
};
|
|
869
2157
|
/** @internal */
|
|
870
|
-
export declare const
|
|
2158
|
+
export declare const Two3$outboundSchema: z.ZodType<Two3$Outbound, z.ZodTypeDef, Two3>;
|
|
871
2159
|
/**
|
|
872
2160
|
* @internal
|
|
873
2161
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
874
2162
|
*/
|
|
875
|
-
export declare namespace
|
|
876
|
-
/** @deprecated use `
|
|
877
|
-
const inboundSchema: z.ZodType<
|
|
878
|
-
/** @deprecated use `
|
|
879
|
-
const outboundSchema: z.ZodType<
|
|
880
|
-
/** @deprecated use `
|
|
881
|
-
type Outbound =
|
|
2163
|
+
export declare namespace Two3$ {
|
|
2164
|
+
/** @deprecated use `Two3$inboundSchema` instead. */
|
|
2165
|
+
const inboundSchema: z.ZodType<Two3, z.ZodTypeDef, unknown>;
|
|
2166
|
+
/** @deprecated use `Two3$outboundSchema` instead. */
|
|
2167
|
+
const outboundSchema: z.ZodType<Two3$Outbound, z.ZodTypeDef, Two3>;
|
|
2168
|
+
/** @deprecated use `Two3$Outbound` instead. */
|
|
2169
|
+
type Outbound = Two3$Outbound;
|
|
882
2170
|
}
|
|
883
|
-
export declare function
|
|
884
|
-
export declare function
|
|
2171
|
+
export declare function two3ToJSON(two3: Two3): string;
|
|
2172
|
+
export declare function two3FromJSON(jsonString: string): SafeParseResult<Two3, SDKValidationError>;
|
|
885
2173
|
/** @internal */
|
|
886
|
-
export declare const
|
|
2174
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType>;
|
|
887
2175
|
/** @internal */
|
|
888
|
-
export declare const
|
|
2176
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType>;
|
|
889
2177
|
/**
|
|
890
2178
|
* @internal
|
|
891
2179
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
892
2180
|
*/
|
|
893
|
-
export declare namespace
|
|
894
|
-
/** @deprecated use `
|
|
2181
|
+
export declare namespace DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$ {
|
|
2182
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$inboundSchema` instead. */
|
|
895
2183
|
const inboundSchema: z.ZodNativeEnum<{
|
|
896
|
-
readonly
|
|
897
|
-
readonly Assistant: "assistant";
|
|
898
|
-
readonly User: "user";
|
|
899
|
-
readonly Exception: "exception";
|
|
900
|
-
readonly Tool: "tool";
|
|
901
|
-
readonly Prompt: "prompt";
|
|
902
|
-
readonly Correction: "correction";
|
|
903
|
-
readonly ExpectedOutput: "expected_output";
|
|
2184
|
+
readonly ImageUrl: "image_url";
|
|
904
2185
|
}>;
|
|
905
|
-
/** @deprecated use `
|
|
2186
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$outboundSchema` instead. */
|
|
906
2187
|
const outboundSchema: z.ZodNativeEnum<{
|
|
907
|
-
readonly
|
|
908
|
-
readonly Assistant: "assistant";
|
|
909
|
-
readonly User: "user";
|
|
910
|
-
readonly Exception: "exception";
|
|
911
|
-
readonly Tool: "tool";
|
|
912
|
-
readonly Prompt: "prompt";
|
|
913
|
-
readonly Correction: "correction";
|
|
914
|
-
readonly ExpectedOutput: "expected_output";
|
|
2188
|
+
readonly ImageUrl: "image_url";
|
|
915
2189
|
}>;
|
|
916
2190
|
}
|
|
917
2191
|
/** @internal */
|
|
918
|
-
export declare const
|
|
2192
|
+
export declare const TwoDetail$inboundSchema: z.ZodNativeEnum<typeof TwoDetail>;
|
|
919
2193
|
/** @internal */
|
|
920
|
-
export declare const
|
|
2194
|
+
export declare const TwoDetail$outboundSchema: z.ZodNativeEnum<typeof TwoDetail>;
|
|
921
2195
|
/**
|
|
922
2196
|
* @internal
|
|
923
2197
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
924
2198
|
*/
|
|
925
|
-
export declare namespace
|
|
926
|
-
/** @deprecated use `
|
|
2199
|
+
export declare namespace TwoDetail$ {
|
|
2200
|
+
/** @deprecated use `TwoDetail$inboundSchema` instead. */
|
|
927
2201
|
const inboundSchema: z.ZodNativeEnum<{
|
|
928
|
-
readonly
|
|
2202
|
+
readonly Low: "low";
|
|
2203
|
+
readonly High: "high";
|
|
2204
|
+
readonly Auto: "auto";
|
|
929
2205
|
}>;
|
|
930
|
-
/** @deprecated use `
|
|
2206
|
+
/** @deprecated use `TwoDetail$outboundSchema` instead. */
|
|
931
2207
|
const outboundSchema: z.ZodNativeEnum<{
|
|
932
|
-
readonly
|
|
2208
|
+
readonly Low: "low";
|
|
2209
|
+
readonly High: "high";
|
|
2210
|
+
readonly Auto: "auto";
|
|
933
2211
|
}>;
|
|
934
2212
|
}
|
|
935
2213
|
/** @internal */
|
|
@@ -979,19 +2257,19 @@ export declare namespace DeploymentGetConfig22$ {
|
|
|
979
2257
|
export declare function deploymentGetConfig22ToJSON(deploymentGetConfig22: DeploymentGetConfig22): string;
|
|
980
2258
|
export declare function deploymentGetConfig22FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig22, SDKValidationError>;
|
|
981
2259
|
/** @internal */
|
|
982
|
-
export declare const
|
|
2260
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyType>;
|
|
983
2261
|
/** @internal */
|
|
984
|
-
export declare const
|
|
2262
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyType>;
|
|
985
2263
|
/**
|
|
986
2264
|
* @internal
|
|
987
2265
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
988
2266
|
*/
|
|
989
|
-
export declare namespace
|
|
990
|
-
/** @deprecated use `
|
|
2267
|
+
export declare namespace DeploymentGetConfig2DeploymentsRequestRequestBodyType$ {
|
|
2268
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyType$inboundSchema` instead. */
|
|
991
2269
|
const inboundSchema: z.ZodNativeEnum<{
|
|
992
2270
|
readonly Text: "text";
|
|
993
2271
|
}>;
|
|
994
|
-
/** @deprecated use `
|
|
2272
|
+
/** @deprecated use `DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema` instead. */
|
|
995
2273
|
const outboundSchema: z.ZodNativeEnum<{
|
|
996
2274
|
readonly Text: "text";
|
|
997
2275
|
}>;
|
|
@@ -1020,119 +2298,157 @@ export declare namespace Two1$ {
|
|
|
1020
2298
|
export declare function two1ToJSON(two1: Two1): string;
|
|
1021
2299
|
export declare function two1FromJSON(jsonString: string): SafeParseResult<Two1, SDKValidationError>;
|
|
1022
2300
|
/** @internal */
|
|
1023
|
-
export declare const
|
|
2301
|
+
export declare const DeploymentGetConfigContent2$inboundSchema: z.ZodType<DeploymentGetConfigContent2, z.ZodTypeDef, unknown>;
|
|
1024
2302
|
/** @internal */
|
|
1025
|
-
export type
|
|
2303
|
+
export type DeploymentGetConfigContent2$Outbound = Two1$Outbound | DeploymentGetConfig22$Outbound | Two3$Outbound;
|
|
1026
2304
|
/** @internal */
|
|
1027
|
-
export declare const
|
|
2305
|
+
export declare const DeploymentGetConfigContent2$outboundSchema: z.ZodType<DeploymentGetConfigContent2$Outbound, z.ZodTypeDef, DeploymentGetConfigContent2>;
|
|
1028
2306
|
/**
|
|
1029
2307
|
* @internal
|
|
1030
2308
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1031
2309
|
*/
|
|
1032
|
-
export declare namespace
|
|
1033
|
-
/** @deprecated use `
|
|
1034
|
-
const inboundSchema: z.ZodType<
|
|
1035
|
-
/** @deprecated use `
|
|
1036
|
-
const outboundSchema: z.ZodType<
|
|
1037
|
-
/** @deprecated use `
|
|
1038
|
-
type Outbound =
|
|
2310
|
+
export declare namespace DeploymentGetConfigContent2$ {
|
|
2311
|
+
/** @deprecated use `DeploymentGetConfigContent2$inboundSchema` instead. */
|
|
2312
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigContent2, z.ZodTypeDef, unknown>;
|
|
2313
|
+
/** @deprecated use `DeploymentGetConfigContent2$outboundSchema` instead. */
|
|
2314
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigContent2$Outbound, z.ZodTypeDef, DeploymentGetConfigContent2>;
|
|
2315
|
+
/** @deprecated use `DeploymentGetConfigContent2$Outbound` instead. */
|
|
2316
|
+
type Outbound = DeploymentGetConfigContent2$Outbound;
|
|
1039
2317
|
}
|
|
1040
|
-
export declare function
|
|
1041
|
-
export declare function
|
|
2318
|
+
export declare function deploymentGetConfigContent2ToJSON(deploymentGetConfigContent2: DeploymentGetConfigContent2): string;
|
|
2319
|
+
export declare function deploymentGetConfigContent2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContent2, SDKValidationError>;
|
|
1042
2320
|
/** @internal */
|
|
1043
|
-
export declare const
|
|
2321
|
+
export declare const MessagesContent$inboundSchema: z.ZodType<MessagesContent, z.ZodTypeDef, unknown>;
|
|
1044
2322
|
/** @internal */
|
|
1045
|
-
export type
|
|
2323
|
+
export type MessagesContent$Outbound = string | Array<Two1$Outbound | DeploymentGetConfig22$Outbound | Two3$Outbound>;
|
|
1046
2324
|
/** @internal */
|
|
1047
|
-
export declare const
|
|
2325
|
+
export declare const MessagesContent$outboundSchema: z.ZodType<MessagesContent$Outbound, z.ZodTypeDef, MessagesContent>;
|
|
1048
2326
|
/**
|
|
1049
2327
|
* @internal
|
|
1050
2328
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1051
2329
|
*/
|
|
1052
|
-
export declare namespace
|
|
1053
|
-
/** @deprecated use `
|
|
1054
|
-
const inboundSchema: z.ZodType<
|
|
1055
|
-
/** @deprecated use `
|
|
1056
|
-
const outboundSchema: z.ZodType<
|
|
1057
|
-
/** @deprecated use `
|
|
1058
|
-
type Outbound =
|
|
2330
|
+
export declare namespace MessagesContent$ {
|
|
2331
|
+
/** @deprecated use `MessagesContent$inboundSchema` instead. */
|
|
2332
|
+
const inboundSchema: z.ZodType<MessagesContent, z.ZodTypeDef, unknown>;
|
|
2333
|
+
/** @deprecated use `MessagesContent$outboundSchema` instead. */
|
|
2334
|
+
const outboundSchema: z.ZodType<MessagesContent$Outbound, z.ZodTypeDef, MessagesContent>;
|
|
2335
|
+
/** @deprecated use `MessagesContent$Outbound` instead. */
|
|
2336
|
+
type Outbound = MessagesContent$Outbound;
|
|
1059
2337
|
}
|
|
1060
|
-
export declare function
|
|
1061
|
-
export declare function
|
|
2338
|
+
export declare function messagesContentToJSON(messagesContent: MessagesContent): string;
|
|
2339
|
+
export declare function messagesContentFromJSON(jsonString: string): SafeParseResult<MessagesContent, SDKValidationError>;
|
|
1062
2340
|
/** @internal */
|
|
1063
|
-
export declare const
|
|
2341
|
+
export declare const MessagesUserMessage$inboundSchema: z.ZodType<MessagesUserMessage, z.ZodTypeDef, unknown>;
|
|
1064
2342
|
/** @internal */
|
|
1065
|
-
export
|
|
2343
|
+
export type MessagesUserMessage$Outbound = {
|
|
2344
|
+
role: string;
|
|
2345
|
+
name?: string | undefined;
|
|
2346
|
+
content: string | Array<Two1$Outbound | DeploymentGetConfig22$Outbound | Two3$Outbound>;
|
|
2347
|
+
};
|
|
2348
|
+
/** @internal */
|
|
2349
|
+
export declare const MessagesUserMessage$outboundSchema: z.ZodType<MessagesUserMessage$Outbound, z.ZodTypeDef, MessagesUserMessage>;
|
|
1066
2350
|
/**
|
|
1067
2351
|
* @internal
|
|
1068
2352
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1069
2353
|
*/
|
|
1070
|
-
export declare namespace
|
|
1071
|
-
/** @deprecated use `
|
|
2354
|
+
export declare namespace MessagesUserMessage$ {
|
|
2355
|
+
/** @deprecated use `MessagesUserMessage$inboundSchema` instead. */
|
|
2356
|
+
const inboundSchema: z.ZodType<MessagesUserMessage, z.ZodTypeDef, unknown>;
|
|
2357
|
+
/** @deprecated use `MessagesUserMessage$outboundSchema` instead. */
|
|
2358
|
+
const outboundSchema: z.ZodType<MessagesUserMessage$Outbound, z.ZodTypeDef, MessagesUserMessage>;
|
|
2359
|
+
/** @deprecated use `MessagesUserMessage$Outbound` instead. */
|
|
2360
|
+
type Outbound = MessagesUserMessage$Outbound;
|
|
2361
|
+
}
|
|
2362
|
+
export declare function messagesUserMessageToJSON(messagesUserMessage: MessagesUserMessage): string;
|
|
2363
|
+
export declare function messagesUserMessageFromJSON(jsonString: string): SafeParseResult<MessagesUserMessage, SDKValidationError>;
|
|
2364
|
+
/** @internal */
|
|
2365
|
+
export declare const DeploymentGetConfigMessagesRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigMessagesRole>;
|
|
2366
|
+
/** @internal */
|
|
2367
|
+
export declare const DeploymentGetConfigMessagesRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigMessagesRole>;
|
|
2368
|
+
/**
|
|
2369
|
+
* @internal
|
|
2370
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2371
|
+
*/
|
|
2372
|
+
export declare namespace DeploymentGetConfigMessagesRole$ {
|
|
2373
|
+
/** @deprecated use `DeploymentGetConfigMessagesRole$inboundSchema` instead. */
|
|
1072
2374
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1073
|
-
readonly
|
|
2375
|
+
readonly System: "system";
|
|
1074
2376
|
}>;
|
|
1075
|
-
/** @deprecated use `
|
|
2377
|
+
/** @deprecated use `DeploymentGetConfigMessagesRole$outboundSchema` instead. */
|
|
1076
2378
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1077
|
-
readonly
|
|
2379
|
+
readonly System: "system";
|
|
1078
2380
|
}>;
|
|
1079
2381
|
}
|
|
1080
2382
|
/** @internal */
|
|
1081
|
-
export declare const
|
|
2383
|
+
export declare const MessagesSystemMessage$inboundSchema: z.ZodType<MessagesSystemMessage, z.ZodTypeDef, unknown>;
|
|
1082
2384
|
/** @internal */
|
|
1083
|
-
export type
|
|
1084
|
-
|
|
1085
|
-
|
|
2385
|
+
export type MessagesSystemMessage$Outbound = {
|
|
2386
|
+
role: string;
|
|
2387
|
+
content: string;
|
|
2388
|
+
name?: string | undefined;
|
|
1086
2389
|
};
|
|
1087
2390
|
/** @internal */
|
|
1088
|
-
export declare const
|
|
2391
|
+
export declare const MessagesSystemMessage$outboundSchema: z.ZodType<MessagesSystemMessage$Outbound, z.ZodTypeDef, MessagesSystemMessage>;
|
|
1089
2392
|
/**
|
|
1090
2393
|
* @internal
|
|
1091
2394
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1092
2395
|
*/
|
|
1093
|
-
export declare namespace
|
|
1094
|
-
/** @deprecated use `
|
|
1095
|
-
const inboundSchema: z.ZodType<
|
|
1096
|
-
/** @deprecated use `
|
|
1097
|
-
const outboundSchema: z.ZodType<
|
|
1098
|
-
/** @deprecated use `
|
|
1099
|
-
type Outbound =
|
|
2396
|
+
export declare namespace MessagesSystemMessage$ {
|
|
2397
|
+
/** @deprecated use `MessagesSystemMessage$inboundSchema` instead. */
|
|
2398
|
+
const inboundSchema: z.ZodType<MessagesSystemMessage, z.ZodTypeDef, unknown>;
|
|
2399
|
+
/** @deprecated use `MessagesSystemMessage$outboundSchema` instead. */
|
|
2400
|
+
const outboundSchema: z.ZodType<MessagesSystemMessage$Outbound, z.ZodTypeDef, MessagesSystemMessage>;
|
|
2401
|
+
/** @deprecated use `MessagesSystemMessage$Outbound` instead. */
|
|
2402
|
+
type Outbound = MessagesSystemMessage$Outbound;
|
|
1100
2403
|
}
|
|
1101
|
-
export declare function
|
|
1102
|
-
export declare function
|
|
2404
|
+
export declare function messagesSystemMessageToJSON(messagesSystemMessage: MessagesSystemMessage): string;
|
|
2405
|
+
export declare function messagesSystemMessageFromJSON(jsonString: string): SafeParseResult<MessagesSystemMessage, SDKValidationError>;
|
|
1103
2406
|
/** @internal */
|
|
1104
|
-
export declare const
|
|
2407
|
+
export declare const MessagesRole$inboundSchema: z.ZodNativeEnum<typeof MessagesRole>;
|
|
1105
2408
|
/** @internal */
|
|
1106
|
-
export
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
2409
|
+
export declare const MessagesRole$outboundSchema: z.ZodNativeEnum<typeof MessagesRole>;
|
|
2410
|
+
/**
|
|
2411
|
+
* @internal
|
|
2412
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2413
|
+
*/
|
|
2414
|
+
export declare namespace MessagesRole$ {
|
|
2415
|
+
/** @deprecated use `MessagesRole$inboundSchema` instead. */
|
|
2416
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
2417
|
+
readonly Developer: "developer";
|
|
2418
|
+
}>;
|
|
2419
|
+
/** @deprecated use `MessagesRole$outboundSchema` instead. */
|
|
2420
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
2421
|
+
readonly Developer: "developer";
|
|
2422
|
+
}>;
|
|
2423
|
+
}
|
|
2424
|
+
/** @internal */
|
|
2425
|
+
export declare const MessagesDeveloperMessage$inboundSchema: z.ZodType<MessagesDeveloperMessage, z.ZodTypeDef, unknown>;
|
|
2426
|
+
/** @internal */
|
|
2427
|
+
export type MessagesDeveloperMessage$Outbound = {
|
|
2428
|
+
role: string;
|
|
2429
|
+
content: string;
|
|
2430
|
+
name?: string | undefined;
|
|
1111
2431
|
};
|
|
1112
2432
|
/** @internal */
|
|
1113
|
-
export declare const
|
|
2433
|
+
export declare const MessagesDeveloperMessage$outboundSchema: z.ZodType<MessagesDeveloperMessage$Outbound, z.ZodTypeDef, MessagesDeveloperMessage>;
|
|
1114
2434
|
/**
|
|
1115
2435
|
* @internal
|
|
1116
2436
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1117
2437
|
*/
|
|
1118
|
-
export declare namespace
|
|
1119
|
-
/** @deprecated use `
|
|
1120
|
-
const inboundSchema: z.ZodType<
|
|
1121
|
-
/** @deprecated use `
|
|
1122
|
-
const outboundSchema: z.ZodType<
|
|
1123
|
-
/** @deprecated use `
|
|
1124
|
-
type Outbound =
|
|
2438
|
+
export declare namespace MessagesDeveloperMessage$ {
|
|
2439
|
+
/** @deprecated use `MessagesDeveloperMessage$inboundSchema` instead. */
|
|
2440
|
+
const inboundSchema: z.ZodType<MessagesDeveloperMessage, z.ZodTypeDef, unknown>;
|
|
2441
|
+
/** @deprecated use `MessagesDeveloperMessage$outboundSchema` instead. */
|
|
2442
|
+
const outboundSchema: z.ZodType<MessagesDeveloperMessage$Outbound, z.ZodTypeDef, MessagesDeveloperMessage>;
|
|
2443
|
+
/** @deprecated use `MessagesDeveloperMessage$Outbound` instead. */
|
|
2444
|
+
type Outbound = MessagesDeveloperMessage$Outbound;
|
|
1125
2445
|
}
|
|
1126
|
-
export declare function
|
|
1127
|
-
export declare function
|
|
2446
|
+
export declare function messagesDeveloperMessageToJSON(messagesDeveloperMessage: MessagesDeveloperMessage): string;
|
|
2447
|
+
export declare function messagesDeveloperMessageFromJSON(jsonString: string): SafeParseResult<MessagesDeveloperMessage, SDKValidationError>;
|
|
1128
2448
|
/** @internal */
|
|
1129
2449
|
export declare const Messages$inboundSchema: z.ZodType<Messages, z.ZodTypeDef, unknown>;
|
|
1130
2450
|
/** @internal */
|
|
1131
|
-
export type Messages$Outbound =
|
|
1132
|
-
role: string;
|
|
1133
|
-
content: string | Array<Two1$Outbound | DeploymentGetConfig22$Outbound>;
|
|
1134
|
-
tool_calls?: Array<DeploymentGetConfigToolCalls$Outbound> | undefined;
|
|
1135
|
-
};
|
|
2451
|
+
export type Messages$Outbound = MessagesDeveloperMessage$Outbound | MessagesSystemMessage$Outbound | MessagesUserMessage$Outbound | MessagesToolMessage$Outbound | MessagesAssistantMessage$Outbound;
|
|
1136
2452
|
/** @internal */
|
|
1137
2453
|
export declare const Messages$outboundSchema: z.ZodType<Messages$Outbound, z.ZodTypeDef, Messages>;
|
|
1138
2454
|
/**
|
|
@@ -1229,8 +2545,8 @@ export type DeploymentGetConfigRequestBody$Outbound = {
|
|
|
1229
2545
|
context?: {
|
|
1230
2546
|
[k: string]: any;
|
|
1231
2547
|
} | undefined;
|
|
1232
|
-
prefix_messages?: Array<
|
|
1233
|
-
messages?: Array<
|
|
2548
|
+
prefix_messages?: Array<DeveloperMessage$Outbound | SystemMessage$Outbound | UserMessage$Outbound | ToolMessage$Outbound | AssistantMessage$Outbound> | undefined;
|
|
2549
|
+
messages?: Array<MessagesDeveloperMessage$Outbound | MessagesSystemMessage$Outbound | MessagesUserMessage$Outbound | MessagesToolMessage$Outbound | MessagesAssistantMessage$Outbound> | undefined;
|
|
1234
2550
|
file_ids?: Array<string> | undefined;
|
|
1235
2551
|
metadata?: {
|
|
1236
2552
|
[k: string]: any;
|
|
@@ -1258,15 +2574,15 @@ export declare namespace DeploymentGetConfigRequestBody$ {
|
|
|
1258
2574
|
export declare function deploymentGetConfigRequestBodyToJSON(deploymentGetConfigRequestBody: DeploymentGetConfigRequestBody): string;
|
|
1259
2575
|
export declare function deploymentGetConfigRequestBodyFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigRequestBody, SDKValidationError>;
|
|
1260
2576
|
/** @internal */
|
|
1261
|
-
export declare const
|
|
2577
|
+
export declare const DeploymentGetConfigType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigType>;
|
|
1262
2578
|
/** @internal */
|
|
1263
|
-
export declare const
|
|
2579
|
+
export declare const DeploymentGetConfigType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigType>;
|
|
1264
2580
|
/**
|
|
1265
2581
|
* @internal
|
|
1266
2582
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1267
2583
|
*/
|
|
1268
|
-
export declare namespace
|
|
1269
|
-
/** @deprecated use `
|
|
2584
|
+
export declare namespace DeploymentGetConfigType$ {
|
|
2585
|
+
/** @deprecated use `DeploymentGetConfigType$inboundSchema` instead. */
|
|
1270
2586
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1271
2587
|
readonly Chat: "chat";
|
|
1272
2588
|
readonly Completion: "completion";
|
|
@@ -1278,7 +2594,7 @@ export declare namespace DeploymentGetConfigDeploymentsResponseType$ {
|
|
|
1278
2594
|
readonly Rerank: "rerank";
|
|
1279
2595
|
readonly Moderations: "moderations";
|
|
1280
2596
|
}>;
|
|
1281
|
-
/** @deprecated use `
|
|
2597
|
+
/** @deprecated use `DeploymentGetConfigType$outboundSchema` instead. */
|
|
1282
2598
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1283
2599
|
readonly Chat: "chat";
|
|
1284
2600
|
readonly Completion: "completion";
|
|
@@ -1292,15 +2608,15 @@ export declare namespace DeploymentGetConfigDeploymentsResponseType$ {
|
|
|
1292
2608
|
}>;
|
|
1293
2609
|
}
|
|
1294
2610
|
/** @internal */
|
|
1295
|
-
export declare const
|
|
2611
|
+
export declare const DeploymentGetConfigRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigRole>;
|
|
1296
2612
|
/** @internal */
|
|
1297
|
-
export declare const
|
|
2613
|
+
export declare const DeploymentGetConfigRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigRole>;
|
|
1298
2614
|
/**
|
|
1299
2615
|
* @internal
|
|
1300
2616
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1301
2617
|
*/
|
|
1302
|
-
export declare namespace
|
|
1303
|
-
/** @deprecated use `
|
|
2618
|
+
export declare namespace DeploymentGetConfigRole$ {
|
|
2619
|
+
/** @deprecated use `DeploymentGetConfigRole$inboundSchema` instead. */
|
|
1304
2620
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1305
2621
|
readonly System: "system";
|
|
1306
2622
|
readonly Assistant: "assistant";
|
|
@@ -1311,7 +2627,7 @@ export declare namespace DeploymentGetConfigDeploymentsRole$ {
|
|
|
1311
2627
|
readonly Correction: "correction";
|
|
1312
2628
|
readonly ExpectedOutput: "expected_output";
|
|
1313
2629
|
}>;
|
|
1314
|
-
/** @deprecated use `
|
|
2630
|
+
/** @deprecated use `DeploymentGetConfigRole$outboundSchema` instead. */
|
|
1315
2631
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1316
2632
|
readonly System: "system";
|
|
1317
2633
|
readonly Assistant: "assistant";
|
|
@@ -1430,118 +2746,118 @@ export declare namespace DeploymentGetConfig21$ {
|
|
|
1430
2746
|
export declare function deploymentGetConfig21ToJSON(deploymentGetConfig21: DeploymentGetConfig21): string;
|
|
1431
2747
|
export declare function deploymentGetConfig21FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig21, SDKValidationError>;
|
|
1432
2748
|
/** @internal */
|
|
1433
|
-
export declare const
|
|
2749
|
+
export declare const DeploymentGetConfigContentDeploymentsResponse2$inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsResponse2, z.ZodTypeDef, unknown>;
|
|
1434
2750
|
/** @internal */
|
|
1435
|
-
export type
|
|
2751
|
+
export type DeploymentGetConfigContentDeploymentsResponse2$Outbound = DeploymentGetConfig21$Outbound | DeploymentGetConfig2Deployments2$Outbound;
|
|
1436
2752
|
/** @internal */
|
|
1437
|
-
export declare const
|
|
2753
|
+
export declare const DeploymentGetConfigContentDeploymentsResponse2$outboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsResponse2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeploymentsResponse2>;
|
|
1438
2754
|
/**
|
|
1439
2755
|
* @internal
|
|
1440
2756
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1441
2757
|
*/
|
|
1442
|
-
export declare namespace
|
|
1443
|
-
/** @deprecated use `
|
|
1444
|
-
const inboundSchema: z.ZodType<
|
|
1445
|
-
/** @deprecated use `
|
|
1446
|
-
const outboundSchema: z.ZodType<
|
|
1447
|
-
/** @deprecated use `
|
|
1448
|
-
type Outbound =
|
|
2758
|
+
export declare namespace DeploymentGetConfigContentDeploymentsResponse2$ {
|
|
2759
|
+
/** @deprecated use `DeploymentGetConfigContentDeploymentsResponse2$inboundSchema` instead. */
|
|
2760
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsResponse2, z.ZodTypeDef, unknown>;
|
|
2761
|
+
/** @deprecated use `DeploymentGetConfigContentDeploymentsResponse2$outboundSchema` instead. */
|
|
2762
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsResponse2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeploymentsResponse2>;
|
|
2763
|
+
/** @deprecated use `DeploymentGetConfigContentDeploymentsResponse2$Outbound` instead. */
|
|
2764
|
+
type Outbound = DeploymentGetConfigContentDeploymentsResponse2$Outbound;
|
|
1449
2765
|
}
|
|
1450
|
-
export declare function
|
|
1451
|
-
export declare function
|
|
2766
|
+
export declare function deploymentGetConfigContentDeploymentsResponse2ToJSON(deploymentGetConfigContentDeploymentsResponse2: DeploymentGetConfigContentDeploymentsResponse2): string;
|
|
2767
|
+
export declare function deploymentGetConfigContentDeploymentsResponse2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContentDeploymentsResponse2, SDKValidationError>;
|
|
1452
2768
|
/** @internal */
|
|
1453
|
-
export declare const
|
|
2769
|
+
export declare const DeploymentGetConfigContent$inboundSchema: z.ZodType<DeploymentGetConfigContent, z.ZodTypeDef, unknown>;
|
|
1454
2770
|
/** @internal */
|
|
1455
|
-
export type
|
|
2771
|
+
export type DeploymentGetConfigContent$Outbound = string | Array<DeploymentGetConfig21$Outbound | DeploymentGetConfig2Deployments2$Outbound>;
|
|
1456
2772
|
/** @internal */
|
|
1457
|
-
export declare const
|
|
2773
|
+
export declare const DeploymentGetConfigContent$outboundSchema: z.ZodType<DeploymentGetConfigContent$Outbound, z.ZodTypeDef, DeploymentGetConfigContent>;
|
|
1458
2774
|
/**
|
|
1459
2775
|
* @internal
|
|
1460
2776
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1461
2777
|
*/
|
|
1462
|
-
export declare namespace
|
|
1463
|
-
/** @deprecated use `
|
|
1464
|
-
const inboundSchema: z.ZodType<
|
|
1465
|
-
/** @deprecated use `
|
|
1466
|
-
const outboundSchema: z.ZodType<
|
|
1467
|
-
/** @deprecated use `
|
|
1468
|
-
type Outbound =
|
|
2778
|
+
export declare namespace DeploymentGetConfigContent$ {
|
|
2779
|
+
/** @deprecated use `DeploymentGetConfigContent$inboundSchema` instead. */
|
|
2780
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigContent, z.ZodTypeDef, unknown>;
|
|
2781
|
+
/** @deprecated use `DeploymentGetConfigContent$outboundSchema` instead. */
|
|
2782
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigContent$Outbound, z.ZodTypeDef, DeploymentGetConfigContent>;
|
|
2783
|
+
/** @deprecated use `DeploymentGetConfigContent$Outbound` instead. */
|
|
2784
|
+
type Outbound = DeploymentGetConfigContent$Outbound;
|
|
1469
2785
|
}
|
|
1470
|
-
export declare function
|
|
1471
|
-
export declare function
|
|
2786
|
+
export declare function deploymentGetConfigContentToJSON(deploymentGetConfigContent: DeploymentGetConfigContent): string;
|
|
2787
|
+
export declare function deploymentGetConfigContentFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContent, SDKValidationError>;
|
|
1472
2788
|
/** @internal */
|
|
1473
|
-
export declare const
|
|
2789
|
+
export declare const DeploymentGetConfigDeploymentsResponseType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsResponseType>;
|
|
1474
2790
|
/** @internal */
|
|
1475
|
-
export declare const
|
|
2791
|
+
export declare const DeploymentGetConfigDeploymentsResponseType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsResponseType>;
|
|
1476
2792
|
/**
|
|
1477
2793
|
* @internal
|
|
1478
2794
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1479
2795
|
*/
|
|
1480
|
-
export declare namespace
|
|
1481
|
-
/** @deprecated use `
|
|
2796
|
+
export declare namespace DeploymentGetConfigDeploymentsResponseType$ {
|
|
2797
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsResponseType$inboundSchema` instead. */
|
|
1482
2798
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1483
2799
|
readonly Function: "function";
|
|
1484
2800
|
}>;
|
|
1485
|
-
/** @deprecated use `
|
|
2801
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsResponseType$outboundSchema` instead. */
|
|
1486
2802
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1487
2803
|
readonly Function: "function";
|
|
1488
2804
|
}>;
|
|
1489
2805
|
}
|
|
1490
2806
|
/** @internal */
|
|
1491
|
-
export declare const
|
|
2807
|
+
export declare const DeploymentGetConfigDeploymentsFunction$inboundSchema: z.ZodType<DeploymentGetConfigDeploymentsFunction, z.ZodTypeDef, unknown>;
|
|
1492
2808
|
/** @internal */
|
|
1493
|
-
export type
|
|
2809
|
+
export type DeploymentGetConfigDeploymentsFunction$Outbound = {
|
|
1494
2810
|
name: string;
|
|
1495
2811
|
arguments: string;
|
|
1496
2812
|
};
|
|
1497
2813
|
/** @internal */
|
|
1498
|
-
export declare const
|
|
2814
|
+
export declare const DeploymentGetConfigDeploymentsFunction$outboundSchema: z.ZodType<DeploymentGetConfigDeploymentsFunction$Outbound, z.ZodTypeDef, DeploymentGetConfigDeploymentsFunction>;
|
|
1499
2815
|
/**
|
|
1500
2816
|
* @internal
|
|
1501
2817
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1502
2818
|
*/
|
|
1503
|
-
export declare namespace
|
|
1504
|
-
/** @deprecated use `
|
|
1505
|
-
const inboundSchema: z.ZodType<
|
|
1506
|
-
/** @deprecated use `
|
|
1507
|
-
const outboundSchema: z.ZodType<
|
|
1508
|
-
/** @deprecated use `
|
|
1509
|
-
type Outbound =
|
|
2819
|
+
export declare namespace DeploymentGetConfigDeploymentsFunction$ {
|
|
2820
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsFunction$inboundSchema` instead. */
|
|
2821
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigDeploymentsFunction, z.ZodTypeDef, unknown>;
|
|
2822
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsFunction$outboundSchema` instead. */
|
|
2823
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigDeploymentsFunction$Outbound, z.ZodTypeDef, DeploymentGetConfigDeploymentsFunction>;
|
|
2824
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsFunction$Outbound` instead. */
|
|
2825
|
+
type Outbound = DeploymentGetConfigDeploymentsFunction$Outbound;
|
|
1510
2826
|
}
|
|
1511
|
-
export declare function
|
|
1512
|
-
export declare function
|
|
2827
|
+
export declare function deploymentGetConfigDeploymentsFunctionToJSON(deploymentGetConfigDeploymentsFunction: DeploymentGetConfigDeploymentsFunction): string;
|
|
2828
|
+
export declare function deploymentGetConfigDeploymentsFunctionFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigDeploymentsFunction, SDKValidationError>;
|
|
1513
2829
|
/** @internal */
|
|
1514
|
-
export declare const
|
|
2830
|
+
export declare const DeploymentGetConfigToolCalls$inboundSchema: z.ZodType<DeploymentGetConfigToolCalls, z.ZodTypeDef, unknown>;
|
|
1515
2831
|
/** @internal */
|
|
1516
|
-
export type
|
|
2832
|
+
export type DeploymentGetConfigToolCalls$Outbound = {
|
|
1517
2833
|
id?: string | undefined;
|
|
1518
2834
|
index?: number | undefined;
|
|
1519
2835
|
type: string;
|
|
1520
|
-
function:
|
|
2836
|
+
function: DeploymentGetConfigDeploymentsFunction$Outbound;
|
|
1521
2837
|
};
|
|
1522
2838
|
/** @internal */
|
|
1523
|
-
export declare const
|
|
2839
|
+
export declare const DeploymentGetConfigToolCalls$outboundSchema: z.ZodType<DeploymentGetConfigToolCalls$Outbound, z.ZodTypeDef, DeploymentGetConfigToolCalls>;
|
|
1524
2840
|
/**
|
|
1525
2841
|
* @internal
|
|
1526
2842
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1527
2843
|
*/
|
|
1528
|
-
export declare namespace
|
|
1529
|
-
/** @deprecated use `
|
|
1530
|
-
const inboundSchema: z.ZodType<
|
|
1531
|
-
/** @deprecated use `
|
|
1532
|
-
const outboundSchema: z.ZodType<
|
|
1533
|
-
/** @deprecated use `
|
|
1534
|
-
type Outbound =
|
|
2844
|
+
export declare namespace DeploymentGetConfigToolCalls$ {
|
|
2845
|
+
/** @deprecated use `DeploymentGetConfigToolCalls$inboundSchema` instead. */
|
|
2846
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigToolCalls, z.ZodTypeDef, unknown>;
|
|
2847
|
+
/** @deprecated use `DeploymentGetConfigToolCalls$outboundSchema` instead. */
|
|
2848
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigToolCalls$Outbound, z.ZodTypeDef, DeploymentGetConfigToolCalls>;
|
|
2849
|
+
/** @deprecated use `DeploymentGetConfigToolCalls$Outbound` instead. */
|
|
2850
|
+
type Outbound = DeploymentGetConfigToolCalls$Outbound;
|
|
1535
2851
|
}
|
|
1536
|
-
export declare function
|
|
1537
|
-
export declare function
|
|
2852
|
+
export declare function deploymentGetConfigToolCallsToJSON(deploymentGetConfigToolCalls: DeploymentGetConfigToolCalls): string;
|
|
2853
|
+
export declare function deploymentGetConfigToolCallsFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigToolCalls, SDKValidationError>;
|
|
1538
2854
|
/** @internal */
|
|
1539
2855
|
export declare const DeploymentGetConfigMessages$inboundSchema: z.ZodType<DeploymentGetConfigMessages, z.ZodTypeDef, unknown>;
|
|
1540
2856
|
/** @internal */
|
|
1541
2857
|
export type DeploymentGetConfigMessages$Outbound = {
|
|
1542
2858
|
role: string;
|
|
1543
2859
|
content: string | Array<DeploymentGetConfig21$Outbound | DeploymentGetConfig2Deployments2$Outbound>;
|
|
1544
|
-
tool_calls?: Array<
|
|
2860
|
+
tool_calls?: Array<DeploymentGetConfigToolCalls$Outbound> | undefined;
|
|
1545
2861
|
};
|
|
1546
2862
|
/** @internal */
|
|
1547
2863
|
export declare const DeploymentGetConfigMessages$outboundSchema: z.ZodType<DeploymentGetConfigMessages$Outbound, z.ZodTypeDef, DeploymentGetConfigMessages>;
|
|
@@ -1831,27 +3147,27 @@ export declare namespace ParametersT$ {
|
|
|
1831
3147
|
export declare function parametersToJSON(parametersT: ParametersT): string;
|
|
1832
3148
|
export declare function parametersFromJSON(jsonString: string): SafeParseResult<ParametersT, SDKValidationError>;
|
|
1833
3149
|
/** @internal */
|
|
1834
|
-
export declare const
|
|
3150
|
+
export declare const DeploymentGetConfigDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsType>;
|
|
1835
3151
|
/** @internal */
|
|
1836
|
-
export declare const
|
|
3152
|
+
export declare const DeploymentGetConfigDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsType>;
|
|
1837
3153
|
/**
|
|
1838
3154
|
* @internal
|
|
1839
3155
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1840
3156
|
*/
|
|
1841
|
-
export declare namespace
|
|
1842
|
-
/** @deprecated use `
|
|
3157
|
+
export declare namespace DeploymentGetConfigDeploymentsType$ {
|
|
3158
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsType$inboundSchema` instead. */
|
|
1843
3159
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1844
3160
|
readonly Function: "function";
|
|
1845
3161
|
}>;
|
|
1846
|
-
/** @deprecated use `
|
|
3162
|
+
/** @deprecated use `DeploymentGetConfigDeploymentsType$outboundSchema` instead. */
|
|
1847
3163
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1848
3164
|
readonly Function: "function";
|
|
1849
3165
|
}>;
|
|
1850
3166
|
}
|
|
1851
3167
|
/** @internal */
|
|
1852
|
-
export declare const
|
|
3168
|
+
export declare const DeploymentGetConfigFunction$inboundSchema: z.ZodType<DeploymentGetConfigFunction, z.ZodTypeDef, unknown>;
|
|
1853
3169
|
/** @internal */
|
|
1854
|
-
export type
|
|
3170
|
+
export type DeploymentGetConfigFunction$Outbound = {
|
|
1855
3171
|
name: string;
|
|
1856
3172
|
description?: string | undefined;
|
|
1857
3173
|
parameters?: {
|
|
@@ -1859,27 +3175,27 @@ export type DeploymentGetConfigDeploymentsFunction$Outbound = {
|
|
|
1859
3175
|
} | undefined;
|
|
1860
3176
|
};
|
|
1861
3177
|
/** @internal */
|
|
1862
|
-
export declare const
|
|
3178
|
+
export declare const DeploymentGetConfigFunction$outboundSchema: z.ZodType<DeploymentGetConfigFunction$Outbound, z.ZodTypeDef, DeploymentGetConfigFunction>;
|
|
1863
3179
|
/**
|
|
1864
3180
|
* @internal
|
|
1865
3181
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1866
3182
|
*/
|
|
1867
|
-
export declare namespace
|
|
1868
|
-
/** @deprecated use `
|
|
1869
|
-
const inboundSchema: z.ZodType<
|
|
1870
|
-
/** @deprecated use `
|
|
1871
|
-
const outboundSchema: z.ZodType<
|
|
1872
|
-
/** @deprecated use `
|
|
1873
|
-
type Outbound =
|
|
3183
|
+
export declare namespace DeploymentGetConfigFunction$ {
|
|
3184
|
+
/** @deprecated use `DeploymentGetConfigFunction$inboundSchema` instead. */
|
|
3185
|
+
const inboundSchema: z.ZodType<DeploymentGetConfigFunction, z.ZodTypeDef, unknown>;
|
|
3186
|
+
/** @deprecated use `DeploymentGetConfigFunction$outboundSchema` instead. */
|
|
3187
|
+
const outboundSchema: z.ZodType<DeploymentGetConfigFunction$Outbound, z.ZodTypeDef, DeploymentGetConfigFunction>;
|
|
3188
|
+
/** @deprecated use `DeploymentGetConfigFunction$Outbound` instead. */
|
|
3189
|
+
type Outbound = DeploymentGetConfigFunction$Outbound;
|
|
1874
3190
|
}
|
|
1875
|
-
export declare function
|
|
1876
|
-
export declare function
|
|
3191
|
+
export declare function deploymentGetConfigFunctionToJSON(deploymentGetConfigFunction: DeploymentGetConfigFunction): string;
|
|
3192
|
+
export declare function deploymentGetConfigFunctionFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigFunction, SDKValidationError>;
|
|
1877
3193
|
/** @internal */
|
|
1878
3194
|
export declare const Tools$inboundSchema: z.ZodType<Tools, z.ZodTypeDef, unknown>;
|
|
1879
3195
|
/** @internal */
|
|
1880
3196
|
export type Tools$Outbound = {
|
|
1881
3197
|
type: string;
|
|
1882
|
-
function:
|
|
3198
|
+
function: DeploymentGetConfigFunction$Outbound;
|
|
1883
3199
|
};
|
|
1884
3200
|
/** @internal */
|
|
1885
3201
|
export declare const Tools$outboundSchema: z.ZodType<Tools$Outbound, z.ZodTypeDef, Tools>;
|