@orq-ai/node 4.0.16 → 4.0.20
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 +213 -213
- package/bin/mcp-server.js.map +36 -36
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +12 -12
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.js +2 -2
- package/models/operations/streamrunagent.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/packages/orq-rc/README.md +22 -18
- package/packages/orq-rc/docs/sdks/evals/README.md +103 -1
- package/packages/orq-rc/examples/package-lock.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/funcs/evalsInvoke.ts +177 -0
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +3 -1
- package/packages/orq-rc/src/mcp-server/tools/evalsInvoke.ts +35 -0
- package/packages/orq-rc/src/models/errors/index.ts +1 -0
- package/packages/orq-rc/src/models/errors/invokeeval.ts +128 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +3 -0
- package/packages/orq-rc/src/models/operations/createbudget.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 +8 -8
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/createtool.ts +12 -12
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +877 -685
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +35 -35
- package/packages/orq-rc/src/models/operations/deployments.ts +36 -36
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +55 -38
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getalltools.ts +12 -12
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/index.ts +1 -0
- package/packages/orq-rc/src/models/operations/invokeeval.ts +2062 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +3 -0
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +3 -0
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +12 -12
- package/packages/orq-rc/src/models/operations/runagent.ts +2 -2
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateagent.ts +3 -0
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +8 -8
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updatetool.ts +14 -14
- package/packages/orq-rc/src/sdk/evals.ts +15 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +2 -2
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -12,25 +12,30 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
/**
|
|
13
13
|
* The role of the messages author, in this case tool.
|
|
14
14
|
*/
|
|
15
|
-
export const
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
export const DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole =
|
|
16
|
+
{
|
|
17
|
+
Tool: "tool",
|
|
18
|
+
} as const;
|
|
18
19
|
/**
|
|
19
20
|
* The role of the messages author, in this case tool.
|
|
20
21
|
*/
|
|
21
|
-
export type
|
|
22
|
-
ClosedEnum<
|
|
22
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole =
|
|
23
|
+
ClosedEnum<
|
|
24
|
+
typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole
|
|
25
|
+
>;
|
|
23
26
|
|
|
24
27
|
/**
|
|
25
28
|
* The contents of the tool message.
|
|
26
29
|
*/
|
|
27
|
-
export type
|
|
30
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsContent =
|
|
31
|
+
| string
|
|
32
|
+
| Array<string>;
|
|
28
33
|
|
|
29
34
|
export type ToolMessage = {
|
|
30
35
|
/**
|
|
31
36
|
* The role of the messages author, in this case tool.
|
|
32
37
|
*/
|
|
33
|
-
role:
|
|
38
|
+
role: DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole;
|
|
34
39
|
/**
|
|
35
40
|
* The contents of the tool message.
|
|
36
41
|
*/
|
|
@@ -44,21 +49,23 @@ export type ToolMessage = {
|
|
|
44
49
|
/**
|
|
45
50
|
* The type of the content part.
|
|
46
51
|
*/
|
|
47
|
-
export const
|
|
48
|
-
|
|
49
|
-
|
|
52
|
+
export const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type =
|
|
53
|
+
{
|
|
54
|
+
Refusal: "refusal",
|
|
55
|
+
} as const;
|
|
50
56
|
/**
|
|
51
57
|
* The type of the content part.
|
|
52
58
|
*/
|
|
53
|
-
export type
|
|
54
|
-
|
|
55
|
-
|
|
59
|
+
export type DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type =
|
|
60
|
+
ClosedEnum<
|
|
61
|
+
typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type
|
|
62
|
+
>;
|
|
56
63
|
|
|
57
64
|
export type RefusalContentPart = {
|
|
58
65
|
/**
|
|
59
66
|
* The type of the content part.
|
|
60
67
|
*/
|
|
61
|
-
type:
|
|
68
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type;
|
|
62
69
|
/**
|
|
63
70
|
* The refusal message generated by the model.
|
|
64
71
|
*/
|
|
@@ -68,15 +75,17 @@ export type RefusalContentPart = {
|
|
|
68
75
|
/**
|
|
69
76
|
* The type of the content part.
|
|
70
77
|
*/
|
|
71
|
-
export const
|
|
72
|
-
|
|
73
|
-
|
|
78
|
+
export const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType =
|
|
79
|
+
{
|
|
80
|
+
Text: "text",
|
|
81
|
+
} as const;
|
|
74
82
|
/**
|
|
75
83
|
* The type of the content part.
|
|
76
84
|
*/
|
|
77
|
-
export type
|
|
78
|
-
|
|
79
|
-
|
|
85
|
+
export type DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType =
|
|
86
|
+
ClosedEnum<
|
|
87
|
+
typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType
|
|
88
|
+
>;
|
|
80
89
|
|
|
81
90
|
export const DeploymentGetConfigAnnotationsType = {
|
|
82
91
|
FilePath: "file_path",
|
|
@@ -121,7 +130,7 @@ export type TextContentPart = {
|
|
|
121
130
|
/**
|
|
122
131
|
* The type of the content part.
|
|
123
132
|
*/
|
|
124
|
-
type:
|
|
133
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType;
|
|
125
134
|
/**
|
|
126
135
|
* The text content.
|
|
127
136
|
*/
|
|
@@ -132,27 +141,26 @@ export type TextContentPart = {
|
|
|
132
141
|
annotations?: Array<Annotations1 | Annotations2> | undefined;
|
|
133
142
|
};
|
|
134
143
|
|
|
135
|
-
export type
|
|
144
|
+
export type DeploymentGetConfigContent2 = TextContentPart | RefusalContentPart;
|
|
136
145
|
|
|
137
146
|
/**
|
|
138
147
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
139
148
|
*/
|
|
140
|
-
export type
|
|
149
|
+
export type DeploymentGetConfigPrefixMessagesContent =
|
|
141
150
|
| string
|
|
142
151
|
| Array<TextContentPart | RefusalContentPart>;
|
|
143
152
|
|
|
144
153
|
/**
|
|
145
154
|
* The role of the messages author, in this case `assistant`.
|
|
146
155
|
*/
|
|
147
|
-
export const
|
|
156
|
+
export const DeploymentGetConfigPrefixMessagesDeploymentsRequestRole = {
|
|
148
157
|
Assistant: "assistant",
|
|
149
158
|
} as const;
|
|
150
159
|
/**
|
|
151
160
|
* The role of the messages author, in this case `assistant`.
|
|
152
161
|
*/
|
|
153
|
-
export type
|
|
154
|
-
typeof
|
|
155
|
-
>;
|
|
162
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsRequestRole =
|
|
163
|
+
ClosedEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRole>;
|
|
156
164
|
|
|
157
165
|
/**
|
|
158
166
|
* Data about a previous audio response from the model.
|
|
@@ -175,7 +183,7 @@ export const PrefixMessagesType = {
|
|
|
175
183
|
*/
|
|
176
184
|
export type PrefixMessagesType = ClosedEnum<typeof PrefixMessagesType>;
|
|
177
185
|
|
|
178
|
-
export type
|
|
186
|
+
export type PrefixMessagesFunction = {
|
|
179
187
|
/**
|
|
180
188
|
* The name of the function to call.
|
|
181
189
|
*/
|
|
@@ -186,7 +194,7 @@ export type FunctionT = {
|
|
|
186
194
|
arguments?: string | undefined;
|
|
187
195
|
};
|
|
188
196
|
|
|
189
|
-
export type
|
|
197
|
+
export type PrefixMessagesToolCalls = {
|
|
190
198
|
/**
|
|
191
199
|
* The ID of the tool call.
|
|
192
200
|
*/
|
|
@@ -195,7 +203,7 @@ export type ToolCalls = {
|
|
|
195
203
|
* The type of the tool. Currently, only `function` is supported.
|
|
196
204
|
*/
|
|
197
205
|
type: PrefixMessagesType;
|
|
198
|
-
function:
|
|
206
|
+
function: PrefixMessagesFunction;
|
|
199
207
|
};
|
|
200
208
|
|
|
201
209
|
export type AssistantMessage = {
|
|
@@ -214,7 +222,7 @@ export type AssistantMessage = {
|
|
|
214
222
|
/**
|
|
215
223
|
* The role of the messages author, in this case `assistant`.
|
|
216
224
|
*/
|
|
217
|
-
role:
|
|
225
|
+
role: DeploymentGetConfigPrefixMessagesDeploymentsRequestRole;
|
|
218
226
|
/**
|
|
219
227
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
220
228
|
*/
|
|
@@ -226,7 +234,7 @@ export type AssistantMessage = {
|
|
|
226
234
|
/**
|
|
227
235
|
* The tool calls generated by the model, such as function calls.
|
|
228
236
|
*/
|
|
229
|
-
toolCalls?: Array<
|
|
237
|
+
toolCalls?: Array<PrefixMessagesToolCalls> | undefined;
|
|
230
238
|
/**
|
|
231
239
|
* Internal thought process of the model
|
|
232
240
|
*/
|
|
@@ -244,33 +252,33 @@ export type AssistantMessage = {
|
|
|
244
252
|
/**
|
|
245
253
|
* The role of the messages author, in this case `user`.
|
|
246
254
|
*/
|
|
247
|
-
export const
|
|
255
|
+
export const DeploymentGetConfigPrefixMessagesDeploymentsRole = {
|
|
248
256
|
User: "user",
|
|
249
257
|
} as const;
|
|
250
258
|
/**
|
|
251
259
|
* The role of the messages author, in this case `user`.
|
|
252
260
|
*/
|
|
253
|
-
export type
|
|
254
|
-
typeof
|
|
261
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsRole = ClosedEnum<
|
|
262
|
+
typeof DeploymentGetConfigPrefixMessagesDeploymentsRole
|
|
255
263
|
>;
|
|
256
264
|
|
|
257
265
|
/**
|
|
258
266
|
* The type of the content part. Always `file`.
|
|
259
267
|
*/
|
|
260
|
-
export const
|
|
268
|
+
export const DeploymentGetConfig2DeploymentsRequestRequestBodyType = {
|
|
261
269
|
File: "file",
|
|
262
270
|
} as const;
|
|
263
271
|
/**
|
|
264
272
|
* The type of the content part. Always `file`.
|
|
265
273
|
*/
|
|
266
|
-
export type
|
|
267
|
-
typeof
|
|
274
|
+
export type DeploymentGetConfig2DeploymentsRequestRequestBodyType = ClosedEnum<
|
|
275
|
+
typeof DeploymentGetConfig2DeploymentsRequestRequestBodyType
|
|
268
276
|
>;
|
|
269
277
|
|
|
270
278
|
/**
|
|
271
279
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
272
280
|
*/
|
|
273
|
-
export type
|
|
281
|
+
export type TwoFile = {
|
|
274
282
|
/**
|
|
275
283
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
276
284
|
*/
|
|
@@ -293,18 +301,18 @@ export type Four = {
|
|
|
293
301
|
/**
|
|
294
302
|
* The type of the content part. Always `file`.
|
|
295
303
|
*/
|
|
296
|
-
type:
|
|
304
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyType;
|
|
297
305
|
/**
|
|
298
306
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
299
307
|
*/
|
|
300
|
-
file:
|
|
308
|
+
file: TwoFile;
|
|
301
309
|
};
|
|
302
310
|
|
|
303
|
-
export const
|
|
311
|
+
export const DeploymentGetConfig2DeploymentsRequestType = {
|
|
304
312
|
InputAudio: "input_audio",
|
|
305
313
|
} as const;
|
|
306
|
-
export type
|
|
307
|
-
typeof
|
|
314
|
+
export type DeploymentGetConfig2DeploymentsRequestType = ClosedEnum<
|
|
315
|
+
typeof DeploymentGetConfig2DeploymentsRequestType
|
|
308
316
|
>;
|
|
309
317
|
|
|
310
318
|
/**
|
|
@@ -330,15 +338,17 @@ export type InputAudio = {
|
|
|
330
338
|
format: Format;
|
|
331
339
|
};
|
|
332
340
|
|
|
333
|
-
export type
|
|
334
|
-
type:
|
|
341
|
+
export type Two3 = {
|
|
342
|
+
type: DeploymentGetConfig2DeploymentsRequestType;
|
|
335
343
|
inputAudio: InputAudio;
|
|
336
344
|
};
|
|
337
345
|
|
|
338
|
-
export const
|
|
346
|
+
export const DeploymentGetConfig2DeploymentsType = {
|
|
339
347
|
ImageUrl: "image_url",
|
|
340
348
|
} as const;
|
|
341
|
-
export type
|
|
349
|
+
export type DeploymentGetConfig2DeploymentsType = ClosedEnum<
|
|
350
|
+
typeof DeploymentGetConfig2DeploymentsType
|
|
351
|
+
>;
|
|
342
352
|
|
|
343
353
|
/**
|
|
344
354
|
* Specifies the detail level of the image.
|
|
@@ -353,7 +363,7 @@ export const Detail = {
|
|
|
353
363
|
*/
|
|
354
364
|
export type Detail = ClosedEnum<typeof Detail>;
|
|
355
365
|
|
|
356
|
-
export type
|
|
366
|
+
export type TwoImageUrl = {
|
|
357
367
|
/**
|
|
358
368
|
* Either a URL of the image or the base64 encoded image data.
|
|
359
369
|
*/
|
|
@@ -364,33 +374,37 @@ export type ImageUrl = {
|
|
|
364
374
|
detail?: Detail | undefined;
|
|
365
375
|
};
|
|
366
376
|
|
|
367
|
-
export type
|
|
368
|
-
type:
|
|
369
|
-
imageUrl:
|
|
377
|
+
export type DeploymentGetConfig22 = {
|
|
378
|
+
type: DeploymentGetConfig2DeploymentsType;
|
|
379
|
+
imageUrl: TwoImageUrl;
|
|
370
380
|
};
|
|
371
381
|
|
|
372
|
-
export const
|
|
382
|
+
export const DeploymentGetConfig2Type = {
|
|
373
383
|
Text: "text",
|
|
374
384
|
} as const;
|
|
375
|
-
export type
|
|
385
|
+
export type DeploymentGetConfig2Type = ClosedEnum<
|
|
386
|
+
typeof DeploymentGetConfig2Type
|
|
387
|
+
>;
|
|
376
388
|
|
|
377
|
-
export type
|
|
378
|
-
type:
|
|
389
|
+
export type Two1 = {
|
|
390
|
+
type: DeploymentGetConfig2Type;
|
|
379
391
|
text: string;
|
|
380
392
|
};
|
|
381
393
|
|
|
382
|
-
export type
|
|
394
|
+
export type Content2 = Two1 | DeploymentGetConfig22 | Two3 | Four;
|
|
383
395
|
|
|
384
396
|
/**
|
|
385
397
|
* The contents of the user message.
|
|
386
398
|
*/
|
|
387
|
-
export type
|
|
399
|
+
export type PrefixMessagesContent =
|
|
400
|
+
| string
|
|
401
|
+
| Array<Two1 | DeploymentGetConfig22 | Two3 | Four>;
|
|
388
402
|
|
|
389
403
|
export type UserMessage = {
|
|
390
404
|
/**
|
|
391
405
|
* The role of the messages author, in this case `user`.
|
|
392
406
|
*/
|
|
393
|
-
role:
|
|
407
|
+
role: DeploymentGetConfigPrefixMessagesDeploymentsRole;
|
|
394
408
|
/**
|
|
395
409
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
396
410
|
*/
|
|
@@ -398,25 +412,27 @@ export type UserMessage = {
|
|
|
398
412
|
/**
|
|
399
413
|
* The contents of the user message.
|
|
400
414
|
*/
|
|
401
|
-
content: string | Array<
|
|
415
|
+
content: string | Array<Two1 | DeploymentGetConfig22 | Two3 | Four>;
|
|
402
416
|
};
|
|
403
417
|
|
|
404
418
|
/**
|
|
405
419
|
* The role of the messages author, in this case `system`.
|
|
406
420
|
*/
|
|
407
|
-
export const
|
|
421
|
+
export const DeploymentGetConfigPrefixMessagesRole = {
|
|
408
422
|
System: "system",
|
|
409
423
|
} as const;
|
|
410
424
|
/**
|
|
411
425
|
* The role of the messages author, in this case `system`.
|
|
412
426
|
*/
|
|
413
|
-
export type
|
|
427
|
+
export type DeploymentGetConfigPrefixMessagesRole = ClosedEnum<
|
|
428
|
+
typeof DeploymentGetConfigPrefixMessagesRole
|
|
429
|
+
>;
|
|
414
430
|
|
|
415
431
|
export type SystemMessage = {
|
|
416
432
|
/**
|
|
417
433
|
* The role of the messages author, in this case `system`.
|
|
418
434
|
*/
|
|
419
|
-
role:
|
|
435
|
+
role: DeploymentGetConfigPrefixMessagesRole;
|
|
420
436
|
/**
|
|
421
437
|
* The contents of the system message.
|
|
422
438
|
*/
|
|
@@ -430,19 +446,19 @@ export type SystemMessage = {
|
|
|
430
446
|
/**
|
|
431
447
|
* The role of the messages author, in this case `developer`.
|
|
432
448
|
*/
|
|
433
|
-
export const
|
|
449
|
+
export const PrefixMessagesRole = {
|
|
434
450
|
Developer: "developer",
|
|
435
451
|
} as const;
|
|
436
452
|
/**
|
|
437
453
|
* The role of the messages author, in this case `developer`.
|
|
438
454
|
*/
|
|
439
|
-
export type
|
|
455
|
+
export type PrefixMessagesRole = ClosedEnum<typeof PrefixMessagesRole>;
|
|
440
456
|
|
|
441
457
|
export type DeveloperMessage = {
|
|
442
458
|
/**
|
|
443
459
|
* The role of the messages author, in this case `developer`.
|
|
444
460
|
*/
|
|
445
|
-
role:
|
|
461
|
+
role: PrefixMessagesRole;
|
|
446
462
|
/**
|
|
447
463
|
* The contents of the developer message.
|
|
448
464
|
*/
|
|
@@ -596,7 +612,7 @@ export type TwoTextContentPart = {
|
|
|
596
612
|
| undefined;
|
|
597
613
|
};
|
|
598
614
|
|
|
599
|
-
export type
|
|
615
|
+
export type DeploymentGetConfigContentDeploymentsRequest2 =
|
|
600
616
|
| TwoTextContentPart
|
|
601
617
|
| TwoRefusalContentPart;
|
|
602
618
|
|
|
@@ -738,7 +754,7 @@ export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Ty
|
|
|
738
754
|
/**
|
|
739
755
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
740
756
|
*/
|
|
741
|
-
export type
|
|
757
|
+
export type DeploymentGetConfig2File = {
|
|
742
758
|
/**
|
|
743
759
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
744
760
|
*/
|
|
@@ -765,7 +781,7 @@ export type Two4 = {
|
|
|
765
781
|
/**
|
|
766
782
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
767
783
|
*/
|
|
768
|
-
file:
|
|
784
|
+
file: DeploymentGetConfig2File;
|
|
769
785
|
};
|
|
770
786
|
|
|
771
787
|
export const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3ContentType =
|
|
@@ -800,7 +816,7 @@ export type TwoInputAudio = {
|
|
|
800
816
|
format: TwoFormat;
|
|
801
817
|
};
|
|
802
818
|
|
|
803
|
-
export type
|
|
819
|
+
export type DeploymentGetConfig23 = {
|
|
804
820
|
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3ContentType;
|
|
805
821
|
inputAudio: TwoInputAudio;
|
|
806
822
|
};
|
|
@@ -826,7 +842,7 @@ export const TwoDetail = {
|
|
|
826
842
|
*/
|
|
827
843
|
export type TwoDetail = ClosedEnum<typeof TwoDetail>;
|
|
828
844
|
|
|
829
|
-
export type
|
|
845
|
+
export type DeploymentGetConfig2ImageUrl = {
|
|
830
846
|
/**
|
|
831
847
|
* Either a URL of the image or the base64 encoded image data.
|
|
832
848
|
*/
|
|
@@ -837,9 +853,9 @@ export type TwoImageUrl = {
|
|
|
837
853
|
detail?: TwoDetail | undefined;
|
|
838
854
|
};
|
|
839
855
|
|
|
840
|
-
export type
|
|
856
|
+
export type DeploymentGetConfig2Deployments2 = {
|
|
841
857
|
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type;
|
|
842
|
-
imageUrl:
|
|
858
|
+
imageUrl: DeploymentGetConfig2ImageUrl;
|
|
843
859
|
};
|
|
844
860
|
|
|
845
861
|
export const DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType = {
|
|
@@ -850,15 +866,15 @@ export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType =
|
|
|
850
866
|
typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType
|
|
851
867
|
>;
|
|
852
868
|
|
|
853
|
-
export type
|
|
869
|
+
export type DeploymentGetConfig21 = {
|
|
854
870
|
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType;
|
|
855
871
|
text: string;
|
|
856
872
|
};
|
|
857
873
|
|
|
858
|
-
export type
|
|
859
|
-
|
|
|
860
|
-
|
|
|
861
|
-
|
|
|
874
|
+
export type DeploymentGetConfigContentDeployments2 =
|
|
875
|
+
| DeploymentGetConfig21
|
|
876
|
+
| DeploymentGetConfig2Deployments2
|
|
877
|
+
| DeploymentGetConfig23
|
|
862
878
|
| Two4;
|
|
863
879
|
|
|
864
880
|
/**
|
|
@@ -866,7 +882,12 @@ export type DeploymentGetConfigContent2 =
|
|
|
866
882
|
*/
|
|
867
883
|
export type MessagesContent =
|
|
868
884
|
| string
|
|
869
|
-
| Array<
|
|
885
|
+
| Array<
|
|
886
|
+
| DeploymentGetConfig21
|
|
887
|
+
| DeploymentGetConfig2Deployments2
|
|
888
|
+
| DeploymentGetConfig23
|
|
889
|
+
| Two4
|
|
890
|
+
>;
|
|
870
891
|
|
|
871
892
|
export type MessagesUserMessage = {
|
|
872
893
|
/**
|
|
@@ -880,7 +901,14 @@ export type MessagesUserMessage = {
|
|
|
880
901
|
/**
|
|
881
902
|
* The contents of the user message.
|
|
882
903
|
*/
|
|
883
|
-
content:
|
|
904
|
+
content:
|
|
905
|
+
| string
|
|
906
|
+
| Array<
|
|
907
|
+
| DeploymentGetConfig21
|
|
908
|
+
| DeploymentGetConfig2Deployments2
|
|
909
|
+
| DeploymentGetConfig23
|
|
910
|
+
| Two4
|
|
911
|
+
>;
|
|
884
912
|
};
|
|
885
913
|
|
|
886
914
|
/**
|
|
@@ -937,7 +965,7 @@ export type MessagesDeveloperMessage = {
|
|
|
937
965
|
name?: string | undefined;
|
|
938
966
|
};
|
|
939
967
|
|
|
940
|
-
export type
|
|
968
|
+
export type DeploymentGetConfigMessages =
|
|
941
969
|
| MessagesToolMessage
|
|
942
970
|
| MessagesDeveloperMessage
|
|
943
971
|
| MessagesSystemMessage
|
|
@@ -1406,7 +1434,7 @@ export type DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType =
|
|
|
1406
1434
|
typeof DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType
|
|
1407
1435
|
>;
|
|
1408
1436
|
|
|
1409
|
-
export type
|
|
1437
|
+
export type DeploymentGetConfig2DeploymentsFile = {
|
|
1410
1438
|
/**
|
|
1411
1439
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
1412
1440
|
*/
|
|
@@ -1425,12 +1453,12 @@ export type DeploymentGetConfig2File = {
|
|
|
1425
1453
|
filename?: string | undefined;
|
|
1426
1454
|
};
|
|
1427
1455
|
|
|
1428
|
-
export type
|
|
1456
|
+
export type DeploymentGetConfig2Deployments3 = {
|
|
1429
1457
|
/**
|
|
1430
1458
|
* The type of the content part. Always `file`.
|
|
1431
1459
|
*/
|
|
1432
1460
|
type: DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType;
|
|
1433
|
-
file:
|
|
1461
|
+
file: DeploymentGetConfig2DeploymentsFile;
|
|
1434
1462
|
};
|
|
1435
1463
|
|
|
1436
1464
|
export const DeploymentGetConfig2DeploymentsResponse200Type = {
|
|
@@ -1440,7 +1468,7 @@ export type DeploymentGetConfig2DeploymentsResponse200Type = ClosedEnum<
|
|
|
1440
1468
|
typeof DeploymentGetConfig2DeploymentsResponse200Type
|
|
1441
1469
|
>;
|
|
1442
1470
|
|
|
1443
|
-
export type
|
|
1471
|
+
export type DeploymentGetConfig2DeploymentsImageUrl = {
|
|
1444
1472
|
/**
|
|
1445
1473
|
* The orq.ai id of the image
|
|
1446
1474
|
*/
|
|
@@ -1458,9 +1486,9 @@ export type DeploymentGetConfig2ImageUrl = {
|
|
|
1458
1486
|
/**
|
|
1459
1487
|
* The image part of the prompt message. Only supported with vision models.
|
|
1460
1488
|
*/
|
|
1461
|
-
export type
|
|
1489
|
+
export type DeploymentGetConfig2DeploymentsResponse2 = {
|
|
1462
1490
|
type: DeploymentGetConfig2DeploymentsResponse200Type;
|
|
1463
|
-
imageUrl:
|
|
1491
|
+
imageUrl: DeploymentGetConfig2DeploymentsImageUrl;
|
|
1464
1492
|
};
|
|
1465
1493
|
|
|
1466
1494
|
export const DeploymentGetConfig2DeploymentsResponseType = {
|
|
@@ -1473,15 +1501,15 @@ export type DeploymentGetConfig2DeploymentsResponseType = ClosedEnum<
|
|
|
1473
1501
|
/**
|
|
1474
1502
|
* Text content part of a prompt message
|
|
1475
1503
|
*/
|
|
1476
|
-
export type
|
|
1504
|
+
export type DeploymentGetConfig2Deployments1 = {
|
|
1477
1505
|
type: DeploymentGetConfig2DeploymentsResponseType;
|
|
1478
1506
|
text: string;
|
|
1479
1507
|
};
|
|
1480
1508
|
|
|
1481
1509
|
export type DeploymentGetConfigContentDeploymentsResponse2 =
|
|
1482
|
-
|
|
|
1483
|
-
|
|
|
1484
|
-
|
|
|
1510
|
+
| DeploymentGetConfig2Deployments1
|
|
1511
|
+
| DeploymentGetConfig2DeploymentsResponse2
|
|
1512
|
+
| DeploymentGetConfig2Deployments3;
|
|
1485
1513
|
|
|
1486
1514
|
/**
|
|
1487
1515
|
* 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. Can be null for tool messages in certain scenarios.
|
|
@@ -1489,9 +1517,9 @@ export type DeploymentGetConfigContentDeploymentsResponse2 =
|
|
|
1489
1517
|
export type DeploymentGetConfigContent =
|
|
1490
1518
|
| string
|
|
1491
1519
|
| Array<
|
|
1492
|
-
|
|
|
1493
|
-
|
|
|
1494
|
-
|
|
|
1520
|
+
| DeploymentGetConfig2Deployments1
|
|
1521
|
+
| DeploymentGetConfig2DeploymentsResponse2
|
|
1522
|
+
| DeploymentGetConfig2Deployments3
|
|
1495
1523
|
>;
|
|
1496
1524
|
|
|
1497
1525
|
export const DeploymentGetConfigDeploymentsResponseType = {
|
|
@@ -1516,7 +1544,7 @@ export type DeploymentGetConfigToolCalls = {
|
|
|
1516
1544
|
function: DeploymentGetConfigDeploymentsFunction;
|
|
1517
1545
|
};
|
|
1518
1546
|
|
|
1519
|
-
export type
|
|
1547
|
+
export type DeploymentGetConfigDeploymentsMessages = {
|
|
1520
1548
|
/**
|
|
1521
1549
|
* The role of the prompt message
|
|
1522
1550
|
*/
|
|
@@ -1527,9 +1555,9 @@ export type DeploymentGetConfigMessages = {
|
|
|
1527
1555
|
content:
|
|
1528
1556
|
| string
|
|
1529
1557
|
| Array<
|
|
1530
|
-
|
|
|
1531
|
-
|
|
|
1532
|
-
|
|
|
1558
|
+
| DeploymentGetConfig2Deployments1
|
|
1559
|
+
| DeploymentGetConfig2DeploymentsResponse2
|
|
1560
|
+
| DeploymentGetConfig2Deployments3
|
|
1533
1561
|
>
|
|
1534
1562
|
| null;
|
|
1535
1563
|
toolCalls?: Array<DeploymentGetConfigToolCalls> | undefined;
|
|
@@ -1880,7 +1908,7 @@ export type DeploymentGetConfigResponseBody = {
|
|
|
1880
1908
|
* The current version of the deployment
|
|
1881
1909
|
*/
|
|
1882
1910
|
version: string;
|
|
1883
|
-
messages: Array<
|
|
1911
|
+
messages: Array<DeploymentGetConfigDeploymentsMessages>;
|
|
1884
1912
|
/**
|
|
1885
1913
|
* Model Parameters: Not all parameters apply to every model
|
|
1886
1914
|
*/
|
|
@@ -1892,57 +1920,62 @@ export type DeploymentGetConfigResponseBody = {
|
|
|
1892
1920
|
};
|
|
1893
1921
|
|
|
1894
1922
|
/** @internal */
|
|
1895
|
-
export const
|
|
1923
|
+
export const DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole$inboundSchema:
|
|
1896
1924
|
z.ZodNativeEnum<
|
|
1897
|
-
typeof
|
|
1898
|
-
> = z.nativeEnum(
|
|
1925
|
+
typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole
|
|
1926
|
+
> = z.nativeEnum(
|
|
1927
|
+
DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole,
|
|
1928
|
+
);
|
|
1899
1929
|
/** @internal */
|
|
1900
|
-
export const
|
|
1930
|
+
export const DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole$outboundSchema:
|
|
1901
1931
|
z.ZodNativeEnum<
|
|
1902
|
-
typeof
|
|
1903
|
-
> =
|
|
1932
|
+
typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole
|
|
1933
|
+
> =
|
|
1934
|
+
DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole$inboundSchema;
|
|
1904
1935
|
|
|
1905
1936
|
/** @internal */
|
|
1906
|
-
export const
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1937
|
+
export const DeploymentGetConfigPrefixMessagesDeploymentsContent$inboundSchema:
|
|
1938
|
+
z.ZodType<
|
|
1939
|
+
DeploymentGetConfigPrefixMessagesDeploymentsContent,
|
|
1940
|
+
z.ZodTypeDef,
|
|
1941
|
+
unknown
|
|
1942
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
1911
1943
|
/** @internal */
|
|
1912
|
-
export type
|
|
1944
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsContent$Outbound =
|
|
1913
1945
|
| string
|
|
1914
1946
|
| Array<string>;
|
|
1915
1947
|
|
|
1916
1948
|
/** @internal */
|
|
1917
|
-
export const
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1949
|
+
export const DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema:
|
|
1950
|
+
z.ZodType<
|
|
1951
|
+
DeploymentGetConfigPrefixMessagesDeploymentsContent$Outbound,
|
|
1952
|
+
z.ZodTypeDef,
|
|
1953
|
+
DeploymentGetConfigPrefixMessagesDeploymentsContent
|
|
1954
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
1922
1955
|
|
|
1923
|
-
export function
|
|
1924
|
-
|
|
1925
|
-
|
|
1956
|
+
export function deploymentGetConfigPrefixMessagesDeploymentsContentToJSON(
|
|
1957
|
+
deploymentGetConfigPrefixMessagesDeploymentsContent:
|
|
1958
|
+
DeploymentGetConfigPrefixMessagesDeploymentsContent,
|
|
1926
1959
|
): string {
|
|
1927
1960
|
return JSON.stringify(
|
|
1928
|
-
|
|
1929
|
-
|
|
1961
|
+
DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema.parse(
|
|
1962
|
+
deploymentGetConfigPrefixMessagesDeploymentsContent,
|
|
1930
1963
|
),
|
|
1931
1964
|
);
|
|
1932
1965
|
}
|
|
1933
|
-
export function
|
|
1966
|
+
export function deploymentGetConfigPrefixMessagesDeploymentsContentFromJSON(
|
|
1934
1967
|
jsonString: string,
|
|
1935
1968
|
): SafeParseResult<
|
|
1936
|
-
|
|
1969
|
+
DeploymentGetConfigPrefixMessagesDeploymentsContent,
|
|
1937
1970
|
SDKValidationError
|
|
1938
1971
|
> {
|
|
1939
1972
|
return safeParse(
|
|
1940
1973
|
jsonString,
|
|
1941
1974
|
(x) =>
|
|
1942
|
-
|
|
1975
|
+
DeploymentGetConfigPrefixMessagesDeploymentsContent$inboundSchema.parse(
|
|
1943
1976
|
JSON.parse(x),
|
|
1944
1977
|
),
|
|
1945
|
-
`Failed to parse '
|
|
1978
|
+
`Failed to parse 'DeploymentGetConfigPrefixMessagesDeploymentsContent' from JSON`,
|
|
1946
1979
|
);
|
|
1947
1980
|
}
|
|
1948
1981
|
|
|
@@ -1952,7 +1985,8 @@ export const ToolMessage$inboundSchema: z.ZodType<
|
|
|
1952
1985
|
z.ZodTypeDef,
|
|
1953
1986
|
unknown
|
|
1954
1987
|
> = z.object({
|
|
1955
|
-
role:
|
|
1988
|
+
role:
|
|
1989
|
+
DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole$inboundSchema,
|
|
1956
1990
|
content: z.union([z.string(), z.array(z.string())]),
|
|
1957
1991
|
tool_call_id: z.string(),
|
|
1958
1992
|
}).transform((v) => {
|
|
@@ -1973,7 +2007,8 @@ export const ToolMessage$outboundSchema: z.ZodType<
|
|
|
1973
2007
|
z.ZodTypeDef,
|
|
1974
2008
|
ToolMessage
|
|
1975
2009
|
> = z.object({
|
|
1976
|
-
role:
|
|
2010
|
+
role:
|
|
2011
|
+
DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole$outboundSchema,
|
|
1977
2012
|
content: z.union([z.string(), z.array(z.string())]),
|
|
1978
2013
|
toolCallId: z.string(),
|
|
1979
2014
|
}).transform((v) => {
|
|
@@ -1996,15 +2031,18 @@ export function toolMessageFromJSON(
|
|
|
1996
2031
|
}
|
|
1997
2032
|
|
|
1998
2033
|
/** @internal */
|
|
1999
|
-
export const
|
|
2034
|
+
export const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type$inboundSchema:
|
|
2000
2035
|
z.ZodNativeEnum<
|
|
2001
|
-
typeof
|
|
2002
|
-
> = z.nativeEnum(
|
|
2036
|
+
typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type
|
|
2037
|
+
> = z.nativeEnum(
|
|
2038
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type,
|
|
2039
|
+
);
|
|
2003
2040
|
/** @internal */
|
|
2004
|
-
export const
|
|
2041
|
+
export const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type$outboundSchema:
|
|
2005
2042
|
z.ZodNativeEnum<
|
|
2006
|
-
typeof
|
|
2007
|
-
> =
|
|
2043
|
+
typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type
|
|
2044
|
+
> =
|
|
2045
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type$inboundSchema;
|
|
2008
2046
|
|
|
2009
2047
|
/** @internal */
|
|
2010
2048
|
export const RefusalContentPart$inboundSchema: z.ZodType<
|
|
@@ -2012,7 +2050,8 @@ export const RefusalContentPart$inboundSchema: z.ZodType<
|
|
|
2012
2050
|
z.ZodTypeDef,
|
|
2013
2051
|
unknown
|
|
2014
2052
|
> = z.object({
|
|
2015
|
-
type:
|
|
2053
|
+
type:
|
|
2054
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type$inboundSchema,
|
|
2016
2055
|
refusal: z.string(),
|
|
2017
2056
|
});
|
|
2018
2057
|
/** @internal */
|
|
@@ -2027,7 +2066,8 @@ export const RefusalContentPart$outboundSchema: z.ZodType<
|
|
|
2027
2066
|
z.ZodTypeDef,
|
|
2028
2067
|
RefusalContentPart
|
|
2029
2068
|
> = z.object({
|
|
2030
|
-
type:
|
|
2069
|
+
type:
|
|
2070
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type$outboundSchema,
|
|
2031
2071
|
refusal: z.string(),
|
|
2032
2072
|
});
|
|
2033
2073
|
|
|
@@ -2049,13 +2089,18 @@ export function refusalContentPartFromJSON(
|
|
|
2049
2089
|
}
|
|
2050
2090
|
|
|
2051
2091
|
/** @internal */
|
|
2052
|
-
export const
|
|
2053
|
-
z.ZodNativeEnum<
|
|
2054
|
-
|
|
2092
|
+
export const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType$inboundSchema:
|
|
2093
|
+
z.ZodNativeEnum<
|
|
2094
|
+
typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType
|
|
2095
|
+
> = z.nativeEnum(
|
|
2096
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType,
|
|
2097
|
+
);
|
|
2055
2098
|
/** @internal */
|
|
2056
|
-
export const
|
|
2057
|
-
z.ZodNativeEnum<
|
|
2058
|
-
|
|
2099
|
+
export const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType$outboundSchema:
|
|
2100
|
+
z.ZodNativeEnum<
|
|
2101
|
+
typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType
|
|
2102
|
+
> =
|
|
2103
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType$inboundSchema;
|
|
2059
2104
|
|
|
2060
2105
|
/** @internal */
|
|
2061
2106
|
export const DeploymentGetConfigAnnotationsType$inboundSchema: z.ZodNativeEnum<
|
|
@@ -2325,7 +2370,8 @@ export const TextContentPart$inboundSchema: z.ZodType<
|
|
|
2325
2370
|
z.ZodTypeDef,
|
|
2326
2371
|
unknown
|
|
2327
2372
|
> = z.object({
|
|
2328
|
-
type:
|
|
2373
|
+
type:
|
|
2374
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType$inboundSchema,
|
|
2329
2375
|
text: z.string(),
|
|
2330
2376
|
annotations: z.array(
|
|
2331
2377
|
z.union([
|
|
@@ -2349,7 +2395,8 @@ export const TextContentPart$outboundSchema: z.ZodType<
|
|
|
2349
2395
|
z.ZodTypeDef,
|
|
2350
2396
|
TextContentPart
|
|
2351
2397
|
> = z.object({
|
|
2352
|
-
type:
|
|
2398
|
+
type:
|
|
2399
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType$outboundSchema,
|
|
2353
2400
|
text: z.string(),
|
|
2354
2401
|
annotations: z.array(
|
|
2355
2402
|
z.union([
|
|
@@ -2375,8 +2422,8 @@ export function textContentPartFromJSON(
|
|
|
2375
2422
|
}
|
|
2376
2423
|
|
|
2377
2424
|
/** @internal */
|
|
2378
|
-
export const
|
|
2379
|
-
|
|
2425
|
+
export const DeploymentGetConfigContent2$inboundSchema: z.ZodType<
|
|
2426
|
+
DeploymentGetConfigContent2,
|
|
2380
2427
|
z.ZodTypeDef,
|
|
2381
2428
|
unknown
|
|
2382
2429
|
> = z.union([
|
|
@@ -2384,36 +2431,42 @@ export const Content2$inboundSchema: z.ZodType<
|
|
|
2384
2431
|
z.lazy(() => RefusalContentPart$inboundSchema),
|
|
2385
2432
|
]);
|
|
2386
2433
|
/** @internal */
|
|
2387
|
-
export type
|
|
2434
|
+
export type DeploymentGetConfigContent2$Outbound =
|
|
2388
2435
|
| TextContentPart$Outbound
|
|
2389
2436
|
| RefusalContentPart$Outbound;
|
|
2390
2437
|
|
|
2391
2438
|
/** @internal */
|
|
2392
|
-
export const
|
|
2393
|
-
|
|
2439
|
+
export const DeploymentGetConfigContent2$outboundSchema: z.ZodType<
|
|
2440
|
+
DeploymentGetConfigContent2$Outbound,
|
|
2394
2441
|
z.ZodTypeDef,
|
|
2395
|
-
|
|
2442
|
+
DeploymentGetConfigContent2
|
|
2396
2443
|
> = z.union([
|
|
2397
2444
|
z.lazy(() => TextContentPart$outboundSchema),
|
|
2398
2445
|
z.lazy(() => RefusalContentPart$outboundSchema),
|
|
2399
2446
|
]);
|
|
2400
2447
|
|
|
2401
|
-
export function
|
|
2402
|
-
|
|
2448
|
+
export function deploymentGetConfigContent2ToJSON(
|
|
2449
|
+
deploymentGetConfigContent2: DeploymentGetConfigContent2,
|
|
2450
|
+
): string {
|
|
2451
|
+
return JSON.stringify(
|
|
2452
|
+
DeploymentGetConfigContent2$outboundSchema.parse(
|
|
2453
|
+
deploymentGetConfigContent2,
|
|
2454
|
+
),
|
|
2455
|
+
);
|
|
2403
2456
|
}
|
|
2404
|
-
export function
|
|
2457
|
+
export function deploymentGetConfigContent2FromJSON(
|
|
2405
2458
|
jsonString: string,
|
|
2406
|
-
): SafeParseResult<
|
|
2459
|
+
): SafeParseResult<DeploymentGetConfigContent2, SDKValidationError> {
|
|
2407
2460
|
return safeParse(
|
|
2408
2461
|
jsonString,
|
|
2409
|
-
(x) =>
|
|
2410
|
-
`Failed to parse '
|
|
2462
|
+
(x) => DeploymentGetConfigContent2$inboundSchema.parse(JSON.parse(x)),
|
|
2463
|
+
`Failed to parse 'DeploymentGetConfigContent2' from JSON`,
|
|
2411
2464
|
);
|
|
2412
2465
|
}
|
|
2413
2466
|
|
|
2414
2467
|
/** @internal */
|
|
2415
|
-
export const
|
|
2416
|
-
|
|
2468
|
+
export const DeploymentGetConfigPrefixMessagesContent$inboundSchema: z.ZodType<
|
|
2469
|
+
DeploymentGetConfigPrefixMessagesContent,
|
|
2417
2470
|
z.ZodTypeDef,
|
|
2418
2471
|
unknown
|
|
2419
2472
|
> = z.union([
|
|
@@ -2424,15 +2477,15 @@ export const PrefixMessagesContent$inboundSchema: z.ZodType<
|
|
|
2424
2477
|
])),
|
|
2425
2478
|
]);
|
|
2426
2479
|
/** @internal */
|
|
2427
|
-
export type
|
|
2480
|
+
export type DeploymentGetConfigPrefixMessagesContent$Outbound =
|
|
2428
2481
|
| string
|
|
2429
2482
|
| Array<TextContentPart$Outbound | RefusalContentPart$Outbound>;
|
|
2430
2483
|
|
|
2431
2484
|
/** @internal */
|
|
2432
|
-
export const
|
|
2433
|
-
|
|
2485
|
+
export const DeploymentGetConfigPrefixMessagesContent$outboundSchema: z.ZodType<
|
|
2486
|
+
DeploymentGetConfigPrefixMessagesContent$Outbound,
|
|
2434
2487
|
z.ZodTypeDef,
|
|
2435
|
-
|
|
2488
|
+
DeploymentGetConfigPrefixMessagesContent
|
|
2436
2489
|
> = z.union([
|
|
2437
2490
|
z.string(),
|
|
2438
2491
|
z.array(z.union([
|
|
@@ -2441,31 +2494,42 @@ export const PrefixMessagesContent$outboundSchema: z.ZodType<
|
|
|
2441
2494
|
])),
|
|
2442
2495
|
]);
|
|
2443
2496
|
|
|
2444
|
-
export function
|
|
2445
|
-
|
|
2497
|
+
export function deploymentGetConfigPrefixMessagesContentToJSON(
|
|
2498
|
+
deploymentGetConfigPrefixMessagesContent:
|
|
2499
|
+
DeploymentGetConfigPrefixMessagesContent,
|
|
2446
2500
|
): string {
|
|
2447
2501
|
return JSON.stringify(
|
|
2448
|
-
|
|
2502
|
+
DeploymentGetConfigPrefixMessagesContent$outboundSchema.parse(
|
|
2503
|
+
deploymentGetConfigPrefixMessagesContent,
|
|
2504
|
+
),
|
|
2449
2505
|
);
|
|
2450
2506
|
}
|
|
2451
|
-
export function
|
|
2507
|
+
export function deploymentGetConfigPrefixMessagesContentFromJSON(
|
|
2452
2508
|
jsonString: string,
|
|
2453
|
-
): SafeParseResult<
|
|
2509
|
+
): SafeParseResult<
|
|
2510
|
+
DeploymentGetConfigPrefixMessagesContent,
|
|
2511
|
+
SDKValidationError
|
|
2512
|
+
> {
|
|
2454
2513
|
return safeParse(
|
|
2455
2514
|
jsonString,
|
|
2456
|
-
(x) =>
|
|
2457
|
-
|
|
2515
|
+
(x) =>
|
|
2516
|
+
DeploymentGetConfigPrefixMessagesContent$inboundSchema.parse(
|
|
2517
|
+
JSON.parse(x),
|
|
2518
|
+
),
|
|
2519
|
+
`Failed to parse 'DeploymentGetConfigPrefixMessagesContent' from JSON`,
|
|
2458
2520
|
);
|
|
2459
2521
|
}
|
|
2460
2522
|
|
|
2461
2523
|
/** @internal */
|
|
2462
|
-
export const
|
|
2463
|
-
z.ZodNativeEnum<
|
|
2464
|
-
|
|
2524
|
+
export const DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$inboundSchema:
|
|
2525
|
+
z.ZodNativeEnum<
|
|
2526
|
+
typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRole
|
|
2527
|
+
> = z.nativeEnum(DeploymentGetConfigPrefixMessagesDeploymentsRequestRole);
|
|
2465
2528
|
/** @internal */
|
|
2466
|
-
export const
|
|
2467
|
-
z.ZodNativeEnum<
|
|
2468
|
-
|
|
2529
|
+
export const DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$outboundSchema:
|
|
2530
|
+
z.ZodNativeEnum<
|
|
2531
|
+
typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRole
|
|
2532
|
+
> = DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$inboundSchema;
|
|
2469
2533
|
|
|
2470
2534
|
/** @internal */
|
|
2471
2535
|
export const Audio$inboundSchema: z.ZodType<Audio, z.ZodTypeDef, unknown> = z
|
|
@@ -2509,8 +2573,8 @@ export const PrefixMessagesType$outboundSchema: z.ZodNativeEnum<
|
|
|
2509
2573
|
> = PrefixMessagesType$inboundSchema;
|
|
2510
2574
|
|
|
2511
2575
|
/** @internal */
|
|
2512
|
-
export const
|
|
2513
|
-
|
|
2576
|
+
export const PrefixMessagesFunction$inboundSchema: z.ZodType<
|
|
2577
|
+
PrefixMessagesFunction,
|
|
2514
2578
|
z.ZodTypeDef,
|
|
2515
2579
|
unknown
|
|
2516
2580
|
> = z.object({
|
|
@@ -2518,72 +2582,80 @@ export const FunctionT$inboundSchema: z.ZodType<
|
|
|
2518
2582
|
arguments: z.string().optional(),
|
|
2519
2583
|
});
|
|
2520
2584
|
/** @internal */
|
|
2521
|
-
export type
|
|
2585
|
+
export type PrefixMessagesFunction$Outbound = {
|
|
2522
2586
|
name?: string | undefined;
|
|
2523
2587
|
arguments?: string | undefined;
|
|
2524
2588
|
};
|
|
2525
2589
|
|
|
2526
2590
|
/** @internal */
|
|
2527
|
-
export const
|
|
2528
|
-
|
|
2591
|
+
export const PrefixMessagesFunction$outboundSchema: z.ZodType<
|
|
2592
|
+
PrefixMessagesFunction$Outbound,
|
|
2529
2593
|
z.ZodTypeDef,
|
|
2530
|
-
|
|
2594
|
+
PrefixMessagesFunction
|
|
2531
2595
|
> = z.object({
|
|
2532
2596
|
name: z.string().optional(),
|
|
2533
2597
|
arguments: z.string().optional(),
|
|
2534
2598
|
});
|
|
2535
2599
|
|
|
2536
|
-
export function
|
|
2537
|
-
|
|
2600
|
+
export function prefixMessagesFunctionToJSON(
|
|
2601
|
+
prefixMessagesFunction: PrefixMessagesFunction,
|
|
2602
|
+
): string {
|
|
2603
|
+
return JSON.stringify(
|
|
2604
|
+
PrefixMessagesFunction$outboundSchema.parse(prefixMessagesFunction),
|
|
2605
|
+
);
|
|
2538
2606
|
}
|
|
2539
|
-
export function
|
|
2607
|
+
export function prefixMessagesFunctionFromJSON(
|
|
2540
2608
|
jsonString: string,
|
|
2541
|
-
): SafeParseResult<
|
|
2609
|
+
): SafeParseResult<PrefixMessagesFunction, SDKValidationError> {
|
|
2542
2610
|
return safeParse(
|
|
2543
2611
|
jsonString,
|
|
2544
|
-
(x) =>
|
|
2545
|
-
`Failed to parse '
|
|
2612
|
+
(x) => PrefixMessagesFunction$inboundSchema.parse(JSON.parse(x)),
|
|
2613
|
+
`Failed to parse 'PrefixMessagesFunction' from JSON`,
|
|
2546
2614
|
);
|
|
2547
2615
|
}
|
|
2548
2616
|
|
|
2549
2617
|
/** @internal */
|
|
2550
|
-
export const
|
|
2551
|
-
|
|
2618
|
+
export const PrefixMessagesToolCalls$inboundSchema: z.ZodType<
|
|
2619
|
+
PrefixMessagesToolCalls,
|
|
2552
2620
|
z.ZodTypeDef,
|
|
2553
2621
|
unknown
|
|
2554
2622
|
> = z.object({
|
|
2555
2623
|
id: z.string(),
|
|
2556
2624
|
type: PrefixMessagesType$inboundSchema,
|
|
2557
|
-
function: z.lazy(() =>
|
|
2625
|
+
function: z.lazy(() => PrefixMessagesFunction$inboundSchema),
|
|
2558
2626
|
});
|
|
2559
2627
|
/** @internal */
|
|
2560
|
-
export type
|
|
2628
|
+
export type PrefixMessagesToolCalls$Outbound = {
|
|
2561
2629
|
id: string;
|
|
2562
2630
|
type: string;
|
|
2563
|
-
function:
|
|
2631
|
+
function: PrefixMessagesFunction$Outbound;
|
|
2564
2632
|
};
|
|
2565
2633
|
|
|
2566
2634
|
/** @internal */
|
|
2567
|
-
export const
|
|
2568
|
-
|
|
2635
|
+
export const PrefixMessagesToolCalls$outboundSchema: z.ZodType<
|
|
2636
|
+
PrefixMessagesToolCalls$Outbound,
|
|
2569
2637
|
z.ZodTypeDef,
|
|
2570
|
-
|
|
2638
|
+
PrefixMessagesToolCalls
|
|
2571
2639
|
> = z.object({
|
|
2572
2640
|
id: z.string(),
|
|
2573
2641
|
type: PrefixMessagesType$outboundSchema,
|
|
2574
|
-
function: z.lazy(() =>
|
|
2642
|
+
function: z.lazy(() => PrefixMessagesFunction$outboundSchema),
|
|
2575
2643
|
});
|
|
2576
2644
|
|
|
2577
|
-
export function
|
|
2578
|
-
|
|
2645
|
+
export function prefixMessagesToolCallsToJSON(
|
|
2646
|
+
prefixMessagesToolCalls: PrefixMessagesToolCalls,
|
|
2647
|
+
): string {
|
|
2648
|
+
return JSON.stringify(
|
|
2649
|
+
PrefixMessagesToolCalls$outboundSchema.parse(prefixMessagesToolCalls),
|
|
2650
|
+
);
|
|
2579
2651
|
}
|
|
2580
|
-
export function
|
|
2652
|
+
export function prefixMessagesToolCallsFromJSON(
|
|
2581
2653
|
jsonString: string,
|
|
2582
|
-
): SafeParseResult<
|
|
2654
|
+
): SafeParseResult<PrefixMessagesToolCalls, SDKValidationError> {
|
|
2583
2655
|
return safeParse(
|
|
2584
2656
|
jsonString,
|
|
2585
|
-
(x) =>
|
|
2586
|
-
`Failed to parse '
|
|
2657
|
+
(x) => PrefixMessagesToolCalls$inboundSchema.parse(JSON.parse(x)),
|
|
2658
|
+
`Failed to parse 'PrefixMessagesToolCalls' from JSON`,
|
|
2587
2659
|
);
|
|
2588
2660
|
}
|
|
2589
2661
|
|
|
@@ -2603,10 +2675,11 @@ export const AssistantMessage$inboundSchema: z.ZodType<
|
|
|
2603
2675
|
]),
|
|
2604
2676
|
).optional(),
|
|
2605
2677
|
refusal: z.nullable(z.string()).optional(),
|
|
2606
|
-
role:
|
|
2678
|
+
role: DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$inboundSchema,
|
|
2607
2679
|
name: z.string().optional(),
|
|
2608
2680
|
audio: z.nullable(z.lazy(() => Audio$inboundSchema)).optional(),
|
|
2609
|
-
tool_calls: z.array(z.lazy(() =>
|
|
2681
|
+
tool_calls: z.array(z.lazy(() => PrefixMessagesToolCalls$inboundSchema))
|
|
2682
|
+
.optional(),
|
|
2610
2683
|
reasoning: z.string().optional(),
|
|
2611
2684
|
reasoning_signature: z.string().optional(),
|
|
2612
2685
|
redacted_reasoning: z.string().optional(),
|
|
@@ -2628,7 +2701,7 @@ export type AssistantMessage$Outbound = {
|
|
|
2628
2701
|
role: string;
|
|
2629
2702
|
name?: string | undefined;
|
|
2630
2703
|
audio?: Audio$Outbound | null | undefined;
|
|
2631
|
-
tool_calls?: Array<
|
|
2704
|
+
tool_calls?: Array<PrefixMessagesToolCalls$Outbound> | undefined;
|
|
2632
2705
|
reasoning?: string | undefined;
|
|
2633
2706
|
reasoning_signature?: string | undefined;
|
|
2634
2707
|
redacted_reasoning?: string | undefined;
|
|
@@ -2652,10 +2725,11 @@ export const AssistantMessage$outboundSchema: z.ZodType<
|
|
|
2652
2725
|
]),
|
|
2653
2726
|
).optional(),
|
|
2654
2727
|
refusal: z.nullable(z.string()).optional(),
|
|
2655
|
-
role:
|
|
2728
|
+
role: DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$outboundSchema,
|
|
2656
2729
|
name: z.string().optional(),
|
|
2657
2730
|
audio: z.nullable(z.lazy(() => Audio$outboundSchema)).optional(),
|
|
2658
|
-
toolCalls: z.array(z.lazy(() =>
|
|
2731
|
+
toolCalls: z.array(z.lazy(() => PrefixMessagesToolCalls$outboundSchema))
|
|
2732
|
+
.optional(),
|
|
2659
2733
|
reasoning: z.string().optional(),
|
|
2660
2734
|
reasoningSignature: z.string().optional(),
|
|
2661
2735
|
redactedReasoning: z.string().optional(),
|
|
@@ -2685,27 +2759,28 @@ export function assistantMessageFromJSON(
|
|
|
2685
2759
|
}
|
|
2686
2760
|
|
|
2687
2761
|
/** @internal */
|
|
2688
|
-
export const
|
|
2689
|
-
z.ZodNativeEnum<typeof
|
|
2690
|
-
|
|
2691
|
-
);
|
|
2762
|
+
export const DeploymentGetConfigPrefixMessagesDeploymentsRole$inboundSchema:
|
|
2763
|
+
z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRole> = z
|
|
2764
|
+
.nativeEnum(DeploymentGetConfigPrefixMessagesDeploymentsRole);
|
|
2692
2765
|
/** @internal */
|
|
2693
|
-
export const
|
|
2694
|
-
z.ZodNativeEnum<typeof
|
|
2695
|
-
|
|
2766
|
+
export const DeploymentGetConfigPrefixMessagesDeploymentsRole$outboundSchema:
|
|
2767
|
+
z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRole> =
|
|
2768
|
+
DeploymentGetConfigPrefixMessagesDeploymentsRole$inboundSchema;
|
|
2696
2769
|
|
|
2697
2770
|
/** @internal */
|
|
2698
|
-
export const
|
|
2699
|
-
|
|
2700
|
-
|
|
2771
|
+
export const DeploymentGetConfig2DeploymentsRequestRequestBodyType$inboundSchema:
|
|
2772
|
+
z.ZodNativeEnum<
|
|
2773
|
+
typeof DeploymentGetConfig2DeploymentsRequestRequestBodyType
|
|
2774
|
+
> = z.nativeEnum(DeploymentGetConfig2DeploymentsRequestRequestBodyType);
|
|
2701
2775
|
/** @internal */
|
|
2702
|
-
export const
|
|
2703
|
-
z.ZodNativeEnum<
|
|
2704
|
-
|
|
2776
|
+
export const DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema:
|
|
2777
|
+
z.ZodNativeEnum<
|
|
2778
|
+
typeof DeploymentGetConfig2DeploymentsRequestRequestBodyType
|
|
2779
|
+
> = DeploymentGetConfig2DeploymentsRequestRequestBodyType$inboundSchema;
|
|
2705
2780
|
|
|
2706
2781
|
/** @internal */
|
|
2707
|
-
export const
|
|
2708
|
-
.object({
|
|
2782
|
+
export const TwoFile$inboundSchema: z.ZodType<TwoFile, z.ZodTypeDef, unknown> =
|
|
2783
|
+
z.object({
|
|
2709
2784
|
file_data: z.string().optional(),
|
|
2710
2785
|
uri: z.string().optional(),
|
|
2711
2786
|
mimeType: z.string().optional(),
|
|
@@ -2716,7 +2791,7 @@ export const FileT$inboundSchema: z.ZodType<FileT, z.ZodTypeDef, unknown> = z
|
|
|
2716
2791
|
});
|
|
2717
2792
|
});
|
|
2718
2793
|
/** @internal */
|
|
2719
|
-
export type
|
|
2794
|
+
export type TwoFile$Outbound = {
|
|
2720
2795
|
file_data?: string | undefined;
|
|
2721
2796
|
uri?: string | undefined;
|
|
2722
2797
|
mimeType?: string | undefined;
|
|
@@ -2724,10 +2799,10 @@ export type FileT$Outbound = {
|
|
|
2724
2799
|
};
|
|
2725
2800
|
|
|
2726
2801
|
/** @internal */
|
|
2727
|
-
export const
|
|
2728
|
-
|
|
2802
|
+
export const TwoFile$outboundSchema: z.ZodType<
|
|
2803
|
+
TwoFile$Outbound,
|
|
2729
2804
|
z.ZodTypeDef,
|
|
2730
|
-
|
|
2805
|
+
TwoFile
|
|
2731
2806
|
> = z.object({
|
|
2732
2807
|
fileData: z.string().optional(),
|
|
2733
2808
|
uri: z.string().optional(),
|
|
@@ -2739,36 +2814,36 @@ export const FileT$outboundSchema: z.ZodType<
|
|
|
2739
2814
|
});
|
|
2740
2815
|
});
|
|
2741
2816
|
|
|
2742
|
-
export function
|
|
2743
|
-
return JSON.stringify(
|
|
2817
|
+
export function twoFileToJSON(twoFile: TwoFile): string {
|
|
2818
|
+
return JSON.stringify(TwoFile$outboundSchema.parse(twoFile));
|
|
2744
2819
|
}
|
|
2745
|
-
export function
|
|
2820
|
+
export function twoFileFromJSON(
|
|
2746
2821
|
jsonString: string,
|
|
2747
|
-
): SafeParseResult<
|
|
2822
|
+
): SafeParseResult<TwoFile, SDKValidationError> {
|
|
2748
2823
|
return safeParse(
|
|
2749
2824
|
jsonString,
|
|
2750
|
-
(x) =>
|
|
2751
|
-
`Failed to parse '
|
|
2825
|
+
(x) => TwoFile$inboundSchema.parse(JSON.parse(x)),
|
|
2826
|
+
`Failed to parse 'TwoFile' from JSON`,
|
|
2752
2827
|
);
|
|
2753
2828
|
}
|
|
2754
2829
|
|
|
2755
2830
|
/** @internal */
|
|
2756
2831
|
export const Four$inboundSchema: z.ZodType<Four, z.ZodTypeDef, unknown> = z
|
|
2757
2832
|
.object({
|
|
2758
|
-
type:
|
|
2759
|
-
file: z.lazy(() =>
|
|
2833
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyType$inboundSchema,
|
|
2834
|
+
file: z.lazy(() => TwoFile$inboundSchema),
|
|
2760
2835
|
});
|
|
2761
2836
|
/** @internal */
|
|
2762
2837
|
export type Four$Outbound = {
|
|
2763
2838
|
type: string;
|
|
2764
|
-
file:
|
|
2839
|
+
file: TwoFile$Outbound;
|
|
2765
2840
|
};
|
|
2766
2841
|
|
|
2767
2842
|
/** @internal */
|
|
2768
2843
|
export const Four$outboundSchema: z.ZodType<Four$Outbound, z.ZodTypeDef, Four> =
|
|
2769
2844
|
z.object({
|
|
2770
|
-
type:
|
|
2771
|
-
file: z.lazy(() =>
|
|
2845
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema,
|
|
2846
|
+
file: z.lazy(() => TwoFile$outboundSchema),
|
|
2772
2847
|
});
|
|
2773
2848
|
|
|
2774
2849
|
export function fourToJSON(four: Four): string {
|
|
@@ -2785,13 +2860,13 @@ export function fourFromJSON(
|
|
|
2785
2860
|
}
|
|
2786
2861
|
|
|
2787
2862
|
/** @internal */
|
|
2788
|
-
export const
|
|
2789
|
-
typeof
|
|
2790
|
-
|
|
2863
|
+
export const DeploymentGetConfig2DeploymentsRequestType$inboundSchema:
|
|
2864
|
+
z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestType> = z
|
|
2865
|
+
.nativeEnum(DeploymentGetConfig2DeploymentsRequestType);
|
|
2791
2866
|
/** @internal */
|
|
2792
|
-
export const
|
|
2793
|
-
typeof
|
|
2794
|
-
|
|
2867
|
+
export const DeploymentGetConfig2DeploymentsRequestType$outboundSchema:
|
|
2868
|
+
z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestType> =
|
|
2869
|
+
DeploymentGetConfig2DeploymentsRequestType$inboundSchema;
|
|
2795
2870
|
|
|
2796
2871
|
/** @internal */
|
|
2797
2872
|
export const Format$inboundSchema: z.ZodNativeEnum<typeof Format> = z
|
|
@@ -2839,9 +2914,9 @@ export function inputAudioFromJSON(
|
|
|
2839
2914
|
}
|
|
2840
2915
|
|
|
2841
2916
|
/** @internal */
|
|
2842
|
-
export const
|
|
2917
|
+
export const Two3$inboundSchema: z.ZodType<Two3, z.ZodTypeDef, unknown> = z
|
|
2843
2918
|
.object({
|
|
2844
|
-
type:
|
|
2919
|
+
type: DeploymentGetConfig2DeploymentsRequestType$inboundSchema,
|
|
2845
2920
|
input_audio: z.lazy(() => InputAudio$inboundSchema),
|
|
2846
2921
|
}).transform((v) => {
|
|
2847
2922
|
return remap$(v, {
|
|
@@ -2849,44 +2924,43 @@ export const Three$inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown> = z
|
|
|
2849
2924
|
});
|
|
2850
2925
|
});
|
|
2851
2926
|
/** @internal */
|
|
2852
|
-
export type
|
|
2927
|
+
export type Two3$Outbound = {
|
|
2853
2928
|
type: string;
|
|
2854
2929
|
input_audio: InputAudio$Outbound;
|
|
2855
2930
|
};
|
|
2856
2931
|
|
|
2857
2932
|
/** @internal */
|
|
2858
|
-
export const
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
})
|
|
2866
|
-
return remap$(v, {
|
|
2867
|
-
inputAudio: "input_audio",
|
|
2933
|
+
export const Two3$outboundSchema: z.ZodType<Two3$Outbound, z.ZodTypeDef, Two3> =
|
|
2934
|
+
z.object({
|
|
2935
|
+
type: DeploymentGetConfig2DeploymentsRequestType$outboundSchema,
|
|
2936
|
+
inputAudio: z.lazy(() => InputAudio$outboundSchema),
|
|
2937
|
+
}).transform((v) => {
|
|
2938
|
+
return remap$(v, {
|
|
2939
|
+
inputAudio: "input_audio",
|
|
2940
|
+
});
|
|
2868
2941
|
});
|
|
2869
|
-
});
|
|
2870
2942
|
|
|
2871
|
-
export function
|
|
2872
|
-
return JSON.stringify(
|
|
2943
|
+
export function two3ToJSON(two3: Two3): string {
|
|
2944
|
+
return JSON.stringify(Two3$outboundSchema.parse(two3));
|
|
2873
2945
|
}
|
|
2874
|
-
export function
|
|
2946
|
+
export function two3FromJSON(
|
|
2875
2947
|
jsonString: string,
|
|
2876
|
-
): SafeParseResult<
|
|
2948
|
+
): SafeParseResult<Two3, SDKValidationError> {
|
|
2877
2949
|
return safeParse(
|
|
2878
2950
|
jsonString,
|
|
2879
|
-
(x) =>
|
|
2880
|
-
`Failed to parse '
|
|
2951
|
+
(x) => Two3$inboundSchema.parse(JSON.parse(x)),
|
|
2952
|
+
`Failed to parse 'Two3' from JSON`,
|
|
2881
2953
|
);
|
|
2882
2954
|
}
|
|
2883
2955
|
|
|
2884
2956
|
/** @internal */
|
|
2885
|
-
export const
|
|
2886
|
-
|
|
2957
|
+
export const DeploymentGetConfig2DeploymentsType$inboundSchema: z.ZodNativeEnum<
|
|
2958
|
+
typeof DeploymentGetConfig2DeploymentsType
|
|
2959
|
+
> = z.nativeEnum(DeploymentGetConfig2DeploymentsType);
|
|
2887
2960
|
/** @internal */
|
|
2888
|
-
export const
|
|
2889
|
-
|
|
2961
|
+
export const DeploymentGetConfig2DeploymentsType$outboundSchema:
|
|
2962
|
+
z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsType> =
|
|
2963
|
+
DeploymentGetConfig2DeploymentsType$inboundSchema;
|
|
2890
2964
|
|
|
2891
2965
|
/** @internal */
|
|
2892
2966
|
export const Detail$inboundSchema: z.ZodNativeEnum<typeof Detail> = z
|
|
@@ -2896,8 +2970,8 @@ export const Detail$outboundSchema: z.ZodNativeEnum<typeof Detail> =
|
|
|
2896
2970
|
Detail$inboundSchema;
|
|
2897
2971
|
|
|
2898
2972
|
/** @internal */
|
|
2899
|
-
export const
|
|
2900
|
-
|
|
2973
|
+
export const TwoImageUrl$inboundSchema: z.ZodType<
|
|
2974
|
+
TwoImageUrl,
|
|
2901
2975
|
z.ZodTypeDef,
|
|
2902
2976
|
unknown
|
|
2903
2977
|
> = z.object({
|
|
@@ -2905,193 +2979,221 @@ export const ImageUrl$inboundSchema: z.ZodType<
|
|
|
2905
2979
|
detail: Detail$inboundSchema.optional(),
|
|
2906
2980
|
});
|
|
2907
2981
|
/** @internal */
|
|
2908
|
-
export type
|
|
2982
|
+
export type TwoImageUrl$Outbound = {
|
|
2909
2983
|
url: string;
|
|
2910
2984
|
detail?: string | undefined;
|
|
2911
2985
|
};
|
|
2912
2986
|
|
|
2913
2987
|
/** @internal */
|
|
2914
|
-
export const
|
|
2915
|
-
|
|
2988
|
+
export const TwoImageUrl$outboundSchema: z.ZodType<
|
|
2989
|
+
TwoImageUrl$Outbound,
|
|
2916
2990
|
z.ZodTypeDef,
|
|
2917
|
-
|
|
2991
|
+
TwoImageUrl
|
|
2918
2992
|
> = z.object({
|
|
2919
2993
|
url: z.string(),
|
|
2920
2994
|
detail: Detail$outboundSchema.optional(),
|
|
2921
2995
|
});
|
|
2922
2996
|
|
|
2923
|
-
export function
|
|
2924
|
-
return JSON.stringify(
|
|
2997
|
+
export function twoImageUrlToJSON(twoImageUrl: TwoImageUrl): string {
|
|
2998
|
+
return JSON.stringify(TwoImageUrl$outboundSchema.parse(twoImageUrl));
|
|
2925
2999
|
}
|
|
2926
|
-
export function
|
|
3000
|
+
export function twoImageUrlFromJSON(
|
|
2927
3001
|
jsonString: string,
|
|
2928
|
-
): SafeParseResult<
|
|
3002
|
+
): SafeParseResult<TwoImageUrl, SDKValidationError> {
|
|
2929
3003
|
return safeParse(
|
|
2930
3004
|
jsonString,
|
|
2931
|
-
(x) =>
|
|
2932
|
-
`Failed to parse '
|
|
3005
|
+
(x) => TwoImageUrl$inboundSchema.parse(JSON.parse(x)),
|
|
3006
|
+
`Failed to parse 'TwoImageUrl' from JSON`,
|
|
2933
3007
|
);
|
|
2934
3008
|
}
|
|
2935
3009
|
|
|
2936
3010
|
/** @internal */
|
|
2937
|
-
export const
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
3011
|
+
export const DeploymentGetConfig22$inboundSchema: z.ZodType<
|
|
3012
|
+
DeploymentGetConfig22,
|
|
3013
|
+
z.ZodTypeDef,
|
|
3014
|
+
unknown
|
|
3015
|
+
> = z.object({
|
|
3016
|
+
type: DeploymentGetConfig2DeploymentsType$inboundSchema,
|
|
3017
|
+
image_url: z.lazy(() => TwoImageUrl$inboundSchema),
|
|
3018
|
+
}).transform((v) => {
|
|
3019
|
+
return remap$(v, {
|
|
3020
|
+
"image_url": "imageUrl",
|
|
2945
3021
|
});
|
|
3022
|
+
});
|
|
2946
3023
|
/** @internal */
|
|
2947
|
-
export type
|
|
3024
|
+
export type DeploymentGetConfig22$Outbound = {
|
|
2948
3025
|
type: string;
|
|
2949
|
-
image_url:
|
|
3026
|
+
image_url: TwoImageUrl$Outbound;
|
|
2950
3027
|
};
|
|
2951
3028
|
|
|
2952
3029
|
/** @internal */
|
|
2953
|
-
export const
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
3030
|
+
export const DeploymentGetConfig22$outboundSchema: z.ZodType<
|
|
3031
|
+
DeploymentGetConfig22$Outbound,
|
|
3032
|
+
z.ZodTypeDef,
|
|
3033
|
+
DeploymentGetConfig22
|
|
3034
|
+
> = z.object({
|
|
3035
|
+
type: DeploymentGetConfig2DeploymentsType$outboundSchema,
|
|
3036
|
+
imageUrl: z.lazy(() => TwoImageUrl$outboundSchema),
|
|
3037
|
+
}).transform((v) => {
|
|
3038
|
+
return remap$(v, {
|
|
3039
|
+
imageUrl: "image_url",
|
|
2961
3040
|
});
|
|
3041
|
+
});
|
|
2962
3042
|
|
|
2963
|
-
export function
|
|
2964
|
-
|
|
3043
|
+
export function deploymentGetConfig22ToJSON(
|
|
3044
|
+
deploymentGetConfig22: DeploymentGetConfig22,
|
|
3045
|
+
): string {
|
|
3046
|
+
return JSON.stringify(
|
|
3047
|
+
DeploymentGetConfig22$outboundSchema.parse(deploymentGetConfig22),
|
|
3048
|
+
);
|
|
2965
3049
|
}
|
|
2966
|
-
export function
|
|
3050
|
+
export function deploymentGetConfig22FromJSON(
|
|
2967
3051
|
jsonString: string,
|
|
2968
|
-
): SafeParseResult<
|
|
3052
|
+
): SafeParseResult<DeploymentGetConfig22, SDKValidationError> {
|
|
2969
3053
|
return safeParse(
|
|
2970
3054
|
jsonString,
|
|
2971
|
-
(x) =>
|
|
2972
|
-
`Failed to parse '
|
|
3055
|
+
(x) => DeploymentGetConfig22$inboundSchema.parse(JSON.parse(x)),
|
|
3056
|
+
`Failed to parse 'DeploymentGetConfig22' from JSON`,
|
|
2973
3057
|
);
|
|
2974
3058
|
}
|
|
2975
3059
|
|
|
2976
3060
|
/** @internal */
|
|
2977
|
-
export const
|
|
2978
|
-
|
|
2979
|
-
);
|
|
3061
|
+
export const DeploymentGetConfig2Type$inboundSchema: z.ZodNativeEnum<
|
|
3062
|
+
typeof DeploymentGetConfig2Type
|
|
3063
|
+
> = z.nativeEnum(DeploymentGetConfig2Type);
|
|
2980
3064
|
/** @internal */
|
|
2981
|
-
export const
|
|
2982
|
-
|
|
3065
|
+
export const DeploymentGetConfig2Type$outboundSchema: z.ZodNativeEnum<
|
|
3066
|
+
typeof DeploymentGetConfig2Type
|
|
3067
|
+
> = DeploymentGetConfig2Type$inboundSchema;
|
|
2983
3068
|
|
|
2984
3069
|
/** @internal */
|
|
2985
|
-
export const
|
|
3070
|
+
export const Two1$inboundSchema: z.ZodType<Two1, z.ZodTypeDef, unknown> = z
|
|
2986
3071
|
.object({
|
|
2987
|
-
type:
|
|
3072
|
+
type: DeploymentGetConfig2Type$inboundSchema,
|
|
2988
3073
|
text: z.string(),
|
|
2989
3074
|
});
|
|
2990
3075
|
/** @internal */
|
|
2991
|
-
export type
|
|
3076
|
+
export type Two1$Outbound = {
|
|
2992
3077
|
type: string;
|
|
2993
3078
|
text: string;
|
|
2994
3079
|
};
|
|
2995
3080
|
|
|
2996
3081
|
/** @internal */
|
|
2997
|
-
export const
|
|
2998
|
-
.object({
|
|
2999
|
-
type:
|
|
3082
|
+
export const Two1$outboundSchema: z.ZodType<Two1$Outbound, z.ZodTypeDef, Two1> =
|
|
3083
|
+
z.object({
|
|
3084
|
+
type: DeploymentGetConfig2Type$outboundSchema,
|
|
3000
3085
|
text: z.string(),
|
|
3001
3086
|
});
|
|
3002
3087
|
|
|
3003
|
-
export function
|
|
3004
|
-
return JSON.stringify(
|
|
3088
|
+
export function two1ToJSON(two1: Two1): string {
|
|
3089
|
+
return JSON.stringify(Two1$outboundSchema.parse(two1));
|
|
3005
3090
|
}
|
|
3006
|
-
export function
|
|
3091
|
+
export function two1FromJSON(
|
|
3007
3092
|
jsonString: string,
|
|
3008
|
-
): SafeParseResult<
|
|
3093
|
+
): SafeParseResult<Two1, SDKValidationError> {
|
|
3009
3094
|
return safeParse(
|
|
3010
3095
|
jsonString,
|
|
3011
|
-
(x) =>
|
|
3012
|
-
`Failed to parse '
|
|
3096
|
+
(x) => Two1$inboundSchema.parse(JSON.parse(x)),
|
|
3097
|
+
`Failed to parse 'Two1' from JSON`,
|
|
3013
3098
|
);
|
|
3014
3099
|
}
|
|
3015
3100
|
|
|
3016
3101
|
/** @internal */
|
|
3017
|
-
export const
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
)
|
|
3102
|
+
export const Content2$inboundSchema: z.ZodType<
|
|
3103
|
+
Content2,
|
|
3104
|
+
z.ZodTypeDef,
|
|
3105
|
+
unknown
|
|
3106
|
+
> = z.union([
|
|
3107
|
+
z.lazy(() => Two1$inboundSchema),
|
|
3108
|
+
z.lazy(() => DeploymentGetConfig22$inboundSchema),
|
|
3109
|
+
z.lazy(() => Two3$inboundSchema),
|
|
3110
|
+
z.lazy(() => Four$inboundSchema),
|
|
3111
|
+
]);
|
|
3025
3112
|
/** @internal */
|
|
3026
|
-
export type
|
|
3027
|
-
|
|
|
3028
|
-
|
|
|
3029
|
-
|
|
|
3113
|
+
export type Content2$Outbound =
|
|
3114
|
+
| Two1$Outbound
|
|
3115
|
+
| DeploymentGetConfig22$Outbound
|
|
3116
|
+
| Two3$Outbound
|
|
3030
3117
|
| Four$Outbound;
|
|
3031
3118
|
|
|
3032
3119
|
/** @internal */
|
|
3033
|
-
export const
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3120
|
+
export const Content2$outboundSchema: z.ZodType<
|
|
3121
|
+
Content2$Outbound,
|
|
3122
|
+
z.ZodTypeDef,
|
|
3123
|
+
Content2
|
|
3124
|
+
> = z.union([
|
|
3125
|
+
z.lazy(() => Two1$outboundSchema),
|
|
3126
|
+
z.lazy(() => DeploymentGetConfig22$outboundSchema),
|
|
3127
|
+
z.lazy(() => Two3$outboundSchema),
|
|
3128
|
+
z.lazy(() => Four$outboundSchema),
|
|
3129
|
+
]);
|
|
3040
3130
|
|
|
3041
|
-
export function
|
|
3042
|
-
return JSON.stringify(
|
|
3131
|
+
export function content2ToJSON(content2: Content2): string {
|
|
3132
|
+
return JSON.stringify(Content2$outboundSchema.parse(content2));
|
|
3043
3133
|
}
|
|
3044
|
-
export function
|
|
3134
|
+
export function content2FromJSON(
|
|
3045
3135
|
jsonString: string,
|
|
3046
|
-
): SafeParseResult<
|
|
3136
|
+
): SafeParseResult<Content2, SDKValidationError> {
|
|
3047
3137
|
return safeParse(
|
|
3048
3138
|
jsonString,
|
|
3049
|
-
(x) =>
|
|
3050
|
-
`Failed to parse '
|
|
3139
|
+
(x) => Content2$inboundSchema.parse(JSON.parse(x)),
|
|
3140
|
+
`Failed to parse 'Content2' from JSON`,
|
|
3051
3141
|
);
|
|
3052
3142
|
}
|
|
3053
3143
|
|
|
3054
3144
|
/** @internal */
|
|
3055
|
-
export const
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3145
|
+
export const PrefixMessagesContent$inboundSchema: z.ZodType<
|
|
3146
|
+
PrefixMessagesContent,
|
|
3147
|
+
z.ZodTypeDef,
|
|
3148
|
+
unknown
|
|
3149
|
+
> = z.union([
|
|
3150
|
+
z.string(),
|
|
3151
|
+
z.array(z.union([
|
|
3152
|
+
z.lazy(() => Two1$inboundSchema),
|
|
3153
|
+
z.lazy(() => DeploymentGetConfig22$inboundSchema),
|
|
3154
|
+
z.lazy(() => Two3$inboundSchema),
|
|
3155
|
+
z.lazy(() => Four$inboundSchema),
|
|
3156
|
+
])),
|
|
3157
|
+
]);
|
|
3065
3158
|
/** @internal */
|
|
3066
|
-
export type
|
|
3159
|
+
export type PrefixMessagesContent$Outbound =
|
|
3067
3160
|
| string
|
|
3068
|
-
| Array<
|
|
3161
|
+
| Array<
|
|
3162
|
+
| Two1$Outbound
|
|
3163
|
+
| DeploymentGetConfig22$Outbound
|
|
3164
|
+
| Two3$Outbound
|
|
3165
|
+
| Four$Outbound
|
|
3166
|
+
>;
|
|
3069
3167
|
|
|
3070
3168
|
/** @internal */
|
|
3071
|
-
export const
|
|
3072
|
-
|
|
3169
|
+
export const PrefixMessagesContent$outboundSchema: z.ZodType<
|
|
3170
|
+
PrefixMessagesContent$Outbound,
|
|
3073
3171
|
z.ZodTypeDef,
|
|
3074
|
-
|
|
3172
|
+
PrefixMessagesContent
|
|
3075
3173
|
> = z.union([
|
|
3076
3174
|
z.string(),
|
|
3077
3175
|
z.array(z.union([
|
|
3078
|
-
z.lazy(() =>
|
|
3079
|
-
z.lazy(() =>
|
|
3080
|
-
z.lazy(() =>
|
|
3176
|
+
z.lazy(() => Two1$outboundSchema),
|
|
3177
|
+
z.lazy(() => DeploymentGetConfig22$outboundSchema),
|
|
3178
|
+
z.lazy(() => Two3$outboundSchema),
|
|
3081
3179
|
z.lazy(() => Four$outboundSchema),
|
|
3082
3180
|
])),
|
|
3083
3181
|
]);
|
|
3084
3182
|
|
|
3085
|
-
export function
|
|
3086
|
-
|
|
3183
|
+
export function prefixMessagesContentToJSON(
|
|
3184
|
+
prefixMessagesContent: PrefixMessagesContent,
|
|
3185
|
+
): string {
|
|
3186
|
+
return JSON.stringify(
|
|
3187
|
+
PrefixMessagesContent$outboundSchema.parse(prefixMessagesContent),
|
|
3188
|
+
);
|
|
3087
3189
|
}
|
|
3088
|
-
export function
|
|
3190
|
+
export function prefixMessagesContentFromJSON(
|
|
3089
3191
|
jsonString: string,
|
|
3090
|
-
): SafeParseResult<
|
|
3192
|
+
): SafeParseResult<PrefixMessagesContent, SDKValidationError> {
|
|
3091
3193
|
return safeParse(
|
|
3092
3194
|
jsonString,
|
|
3093
|
-
(x) =>
|
|
3094
|
-
`Failed to parse '
|
|
3195
|
+
(x) => PrefixMessagesContent$inboundSchema.parse(JSON.parse(x)),
|
|
3196
|
+
`Failed to parse 'PrefixMessagesContent' from JSON`,
|
|
3095
3197
|
);
|
|
3096
3198
|
}
|
|
3097
3199
|
|
|
@@ -3101,14 +3203,14 @@ export const UserMessage$inboundSchema: z.ZodType<
|
|
|
3101
3203
|
z.ZodTypeDef,
|
|
3102
3204
|
unknown
|
|
3103
3205
|
> = z.object({
|
|
3104
|
-
role:
|
|
3206
|
+
role: DeploymentGetConfigPrefixMessagesDeploymentsRole$inboundSchema,
|
|
3105
3207
|
name: z.string().optional(),
|
|
3106
3208
|
content: z.union([
|
|
3107
3209
|
z.string(),
|
|
3108
3210
|
z.array(z.union([
|
|
3109
|
-
z.lazy(() =>
|
|
3110
|
-
z.lazy(() =>
|
|
3111
|
-
z.lazy(() =>
|
|
3211
|
+
z.lazy(() => Two1$inboundSchema),
|
|
3212
|
+
z.lazy(() => DeploymentGetConfig22$inboundSchema),
|
|
3213
|
+
z.lazy(() => Two3$inboundSchema),
|
|
3112
3214
|
z.lazy(() => Four$inboundSchema),
|
|
3113
3215
|
])),
|
|
3114
3216
|
]),
|
|
@@ -3119,7 +3221,12 @@ export type UserMessage$Outbound = {
|
|
|
3119
3221
|
name?: string | undefined;
|
|
3120
3222
|
content:
|
|
3121
3223
|
| string
|
|
3122
|
-
| Array<
|
|
3224
|
+
| Array<
|
|
3225
|
+
| Two1$Outbound
|
|
3226
|
+
| DeploymentGetConfig22$Outbound
|
|
3227
|
+
| Two3$Outbound
|
|
3228
|
+
| Four$Outbound
|
|
3229
|
+
>;
|
|
3123
3230
|
};
|
|
3124
3231
|
|
|
3125
3232
|
/** @internal */
|
|
@@ -3128,14 +3235,14 @@ export const UserMessage$outboundSchema: z.ZodType<
|
|
|
3128
3235
|
z.ZodTypeDef,
|
|
3129
3236
|
UserMessage
|
|
3130
3237
|
> = z.object({
|
|
3131
|
-
role:
|
|
3238
|
+
role: DeploymentGetConfigPrefixMessagesDeploymentsRole$outboundSchema,
|
|
3132
3239
|
name: z.string().optional(),
|
|
3133
3240
|
content: z.union([
|
|
3134
3241
|
z.string(),
|
|
3135
3242
|
z.array(z.union([
|
|
3136
|
-
z.lazy(() =>
|
|
3137
|
-
z.lazy(() =>
|
|
3138
|
-
z.lazy(() =>
|
|
3243
|
+
z.lazy(() => Two1$outboundSchema),
|
|
3244
|
+
z.lazy(() => DeploymentGetConfig22$outboundSchema),
|
|
3245
|
+
z.lazy(() => Two3$outboundSchema),
|
|
3139
3246
|
z.lazy(() => Four$outboundSchema),
|
|
3140
3247
|
])),
|
|
3141
3248
|
]),
|
|
@@ -3155,13 +3262,14 @@ export function userMessageFromJSON(
|
|
|
3155
3262
|
}
|
|
3156
3263
|
|
|
3157
3264
|
/** @internal */
|
|
3158
|
-
export const
|
|
3159
|
-
typeof
|
|
3160
|
-
|
|
3265
|
+
export const DeploymentGetConfigPrefixMessagesRole$inboundSchema:
|
|
3266
|
+
z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesRole> = z.nativeEnum(
|
|
3267
|
+
DeploymentGetConfigPrefixMessagesRole,
|
|
3268
|
+
);
|
|
3161
3269
|
/** @internal */
|
|
3162
|
-
export const
|
|
3163
|
-
typeof
|
|
3164
|
-
|
|
3270
|
+
export const DeploymentGetConfigPrefixMessagesRole$outboundSchema:
|
|
3271
|
+
z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesRole> =
|
|
3272
|
+
DeploymentGetConfigPrefixMessagesRole$inboundSchema;
|
|
3165
3273
|
|
|
3166
3274
|
/** @internal */
|
|
3167
3275
|
export const SystemMessage$inboundSchema: z.ZodType<
|
|
@@ -3169,7 +3277,7 @@ export const SystemMessage$inboundSchema: z.ZodType<
|
|
|
3169
3277
|
z.ZodTypeDef,
|
|
3170
3278
|
unknown
|
|
3171
3279
|
> = z.object({
|
|
3172
|
-
role:
|
|
3280
|
+
role: DeploymentGetConfigPrefixMessagesRole$inboundSchema,
|
|
3173
3281
|
content: z.string(),
|
|
3174
3282
|
name: z.string().optional(),
|
|
3175
3283
|
});
|
|
@@ -3186,7 +3294,7 @@ export const SystemMessage$outboundSchema: z.ZodType<
|
|
|
3186
3294
|
z.ZodTypeDef,
|
|
3187
3295
|
SystemMessage
|
|
3188
3296
|
> = z.object({
|
|
3189
|
-
role:
|
|
3297
|
+
role: DeploymentGetConfigPrefixMessagesRole$outboundSchema,
|
|
3190
3298
|
content: z.string(),
|
|
3191
3299
|
name: z.string().optional(),
|
|
3192
3300
|
});
|
|
@@ -3205,12 +3313,13 @@ export function systemMessageFromJSON(
|
|
|
3205
3313
|
}
|
|
3206
3314
|
|
|
3207
3315
|
/** @internal */
|
|
3208
|
-
export const
|
|
3209
|
-
|
|
3210
|
-
);
|
|
3316
|
+
export const PrefixMessagesRole$inboundSchema: z.ZodNativeEnum<
|
|
3317
|
+
typeof PrefixMessagesRole
|
|
3318
|
+
> = z.nativeEnum(PrefixMessagesRole);
|
|
3211
3319
|
/** @internal */
|
|
3212
|
-
export const
|
|
3213
|
-
|
|
3320
|
+
export const PrefixMessagesRole$outboundSchema: z.ZodNativeEnum<
|
|
3321
|
+
typeof PrefixMessagesRole
|
|
3322
|
+
> = PrefixMessagesRole$inboundSchema;
|
|
3214
3323
|
|
|
3215
3324
|
/** @internal */
|
|
3216
3325
|
export const DeveloperMessage$inboundSchema: z.ZodType<
|
|
@@ -3218,7 +3327,7 @@ export const DeveloperMessage$inboundSchema: z.ZodType<
|
|
|
3218
3327
|
z.ZodTypeDef,
|
|
3219
3328
|
unknown
|
|
3220
3329
|
> = z.object({
|
|
3221
|
-
role:
|
|
3330
|
+
role: PrefixMessagesRole$inboundSchema,
|
|
3222
3331
|
content: z.string(),
|
|
3223
3332
|
name: z.string().optional(),
|
|
3224
3333
|
});
|
|
@@ -3235,7 +3344,7 @@ export const DeveloperMessage$outboundSchema: z.ZodType<
|
|
|
3235
3344
|
z.ZodTypeDef,
|
|
3236
3345
|
DeveloperMessage
|
|
3237
3346
|
> = z.object({
|
|
3238
|
-
role:
|
|
3347
|
+
role: PrefixMessagesRole$outboundSchema,
|
|
3239
3348
|
content: z.string(),
|
|
3240
3349
|
name: z.string().optional(),
|
|
3241
3350
|
});
|
|
@@ -3835,47 +3944,54 @@ export function twoTextContentPartFromJSON(
|
|
|
3835
3944
|
}
|
|
3836
3945
|
|
|
3837
3946
|
/** @internal */
|
|
3838
|
-
export const
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
z.
|
|
3844
|
-
|
|
3845
|
-
|
|
3947
|
+
export const DeploymentGetConfigContentDeploymentsRequest2$inboundSchema:
|
|
3948
|
+
z.ZodType<
|
|
3949
|
+
DeploymentGetConfigContentDeploymentsRequest2,
|
|
3950
|
+
z.ZodTypeDef,
|
|
3951
|
+
unknown
|
|
3952
|
+
> = z.union([
|
|
3953
|
+
z.lazy(() => TwoTextContentPart$inboundSchema),
|
|
3954
|
+
z.lazy(() => TwoRefusalContentPart$inboundSchema),
|
|
3955
|
+
]);
|
|
3846
3956
|
/** @internal */
|
|
3847
|
-
export type
|
|
3957
|
+
export type DeploymentGetConfigContentDeploymentsRequest2$Outbound =
|
|
3848
3958
|
| TwoTextContentPart$Outbound
|
|
3849
3959
|
| TwoRefusalContentPart$Outbound;
|
|
3850
3960
|
|
|
3851
3961
|
/** @internal */
|
|
3852
|
-
export const
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
z.
|
|
3858
|
-
|
|
3859
|
-
|
|
3962
|
+
export const DeploymentGetConfigContentDeploymentsRequest2$outboundSchema:
|
|
3963
|
+
z.ZodType<
|
|
3964
|
+
DeploymentGetConfigContentDeploymentsRequest2$Outbound,
|
|
3965
|
+
z.ZodTypeDef,
|
|
3966
|
+
DeploymentGetConfigContentDeploymentsRequest2
|
|
3967
|
+
> = z.union([
|
|
3968
|
+
z.lazy(() => TwoTextContentPart$outboundSchema),
|
|
3969
|
+
z.lazy(() => TwoRefusalContentPart$outboundSchema),
|
|
3970
|
+
]);
|
|
3860
3971
|
|
|
3861
|
-
export function
|
|
3862
|
-
|
|
3863
|
-
|
|
3972
|
+
export function deploymentGetConfigContentDeploymentsRequest2ToJSON(
|
|
3973
|
+
deploymentGetConfigContentDeploymentsRequest2:
|
|
3974
|
+
DeploymentGetConfigContentDeploymentsRequest2,
|
|
3864
3975
|
): string {
|
|
3865
3976
|
return JSON.stringify(
|
|
3866
|
-
|
|
3867
|
-
|
|
3977
|
+
DeploymentGetConfigContentDeploymentsRequest2$outboundSchema.parse(
|
|
3978
|
+
deploymentGetConfigContentDeploymentsRequest2,
|
|
3868
3979
|
),
|
|
3869
3980
|
);
|
|
3870
3981
|
}
|
|
3871
|
-
export function
|
|
3982
|
+
export function deploymentGetConfigContentDeploymentsRequest2FromJSON(
|
|
3872
3983
|
jsonString: string,
|
|
3873
|
-
): SafeParseResult<
|
|
3984
|
+
): SafeParseResult<
|
|
3985
|
+
DeploymentGetConfigContentDeploymentsRequest2,
|
|
3986
|
+
SDKValidationError
|
|
3987
|
+
> {
|
|
3874
3988
|
return safeParse(
|
|
3875
3989
|
jsonString,
|
|
3876
3990
|
(x) =>
|
|
3877
|
-
|
|
3878
|
-
|
|
3991
|
+
DeploymentGetConfigContentDeploymentsRequest2$inboundSchema.parse(
|
|
3992
|
+
JSON.parse(x),
|
|
3993
|
+
),
|
|
3994
|
+
`Failed to parse 'DeploymentGetConfigContentDeploymentsRequest2' from JSON`,
|
|
3879
3995
|
);
|
|
3880
3996
|
}
|
|
3881
3997
|
|
|
@@ -4190,19 +4306,22 @@ export const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4T
|
|
|
4190
4306
|
DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type$inboundSchema;
|
|
4191
4307
|
|
|
4192
4308
|
/** @internal */
|
|
4193
|
-
export const
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4309
|
+
export const DeploymentGetConfig2File$inboundSchema: z.ZodType<
|
|
4310
|
+
DeploymentGetConfig2File,
|
|
4311
|
+
z.ZodTypeDef,
|
|
4312
|
+
unknown
|
|
4313
|
+
> = z.object({
|
|
4314
|
+
file_data: z.string().optional(),
|
|
4315
|
+
uri: z.string().optional(),
|
|
4316
|
+
mimeType: z.string().optional(),
|
|
4317
|
+
filename: z.string().optional(),
|
|
4318
|
+
}).transform((v) => {
|
|
4319
|
+
return remap$(v, {
|
|
4320
|
+
"file_data": "fileData",
|
|
4203
4321
|
});
|
|
4322
|
+
});
|
|
4204
4323
|
/** @internal */
|
|
4205
|
-
export type
|
|
4324
|
+
export type DeploymentGetConfig2File$Outbound = {
|
|
4206
4325
|
file_data?: string | undefined;
|
|
4207
4326
|
uri?: string | undefined;
|
|
4208
4327
|
mimeType?: string | undefined;
|
|
@@ -4210,10 +4329,10 @@ export type TwoFile$Outbound = {
|
|
|
4210
4329
|
};
|
|
4211
4330
|
|
|
4212
4331
|
/** @internal */
|
|
4213
|
-
export const
|
|
4214
|
-
|
|
4332
|
+
export const DeploymentGetConfig2File$outboundSchema: z.ZodType<
|
|
4333
|
+
DeploymentGetConfig2File$Outbound,
|
|
4215
4334
|
z.ZodTypeDef,
|
|
4216
|
-
|
|
4335
|
+
DeploymentGetConfig2File
|
|
4217
4336
|
> = z.object({
|
|
4218
4337
|
fileData: z.string().optional(),
|
|
4219
4338
|
uri: z.string().optional(),
|
|
@@ -4225,16 +4344,20 @@ export const TwoFile$outboundSchema: z.ZodType<
|
|
|
4225
4344
|
});
|
|
4226
4345
|
});
|
|
4227
4346
|
|
|
4228
|
-
export function
|
|
4229
|
-
|
|
4347
|
+
export function deploymentGetConfig2FileToJSON(
|
|
4348
|
+
deploymentGetConfig2File: DeploymentGetConfig2File,
|
|
4349
|
+
): string {
|
|
4350
|
+
return JSON.stringify(
|
|
4351
|
+
DeploymentGetConfig2File$outboundSchema.parse(deploymentGetConfig2File),
|
|
4352
|
+
);
|
|
4230
4353
|
}
|
|
4231
|
-
export function
|
|
4354
|
+
export function deploymentGetConfig2FileFromJSON(
|
|
4232
4355
|
jsonString: string,
|
|
4233
|
-
): SafeParseResult<
|
|
4356
|
+
): SafeParseResult<DeploymentGetConfig2File, SDKValidationError> {
|
|
4234
4357
|
return safeParse(
|
|
4235
4358
|
jsonString,
|
|
4236
|
-
(x) =>
|
|
4237
|
-
`Failed to parse '
|
|
4359
|
+
(x) => DeploymentGetConfig2File$inboundSchema.parse(JSON.parse(x)),
|
|
4360
|
+
`Failed to parse 'DeploymentGetConfig2File' from JSON`,
|
|
4238
4361
|
);
|
|
4239
4362
|
}
|
|
4240
4363
|
|
|
@@ -4243,12 +4366,12 @@ export const Two4$inboundSchema: z.ZodType<Two4, z.ZodTypeDef, unknown> = z
|
|
|
4243
4366
|
.object({
|
|
4244
4367
|
type:
|
|
4245
4368
|
DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type$inboundSchema,
|
|
4246
|
-
file: z.lazy(() =>
|
|
4369
|
+
file: z.lazy(() => DeploymentGetConfig2File$inboundSchema),
|
|
4247
4370
|
});
|
|
4248
4371
|
/** @internal */
|
|
4249
4372
|
export type Two4$Outbound = {
|
|
4250
4373
|
type: string;
|
|
4251
|
-
file:
|
|
4374
|
+
file: DeploymentGetConfig2File$Outbound;
|
|
4252
4375
|
};
|
|
4253
4376
|
|
|
4254
4377
|
/** @internal */
|
|
@@ -4256,7 +4379,7 @@ export const Two4$outboundSchema: z.ZodType<Two4$Outbound, z.ZodTypeDef, Two4> =
|
|
|
4256
4379
|
z.object({
|
|
4257
4380
|
type:
|
|
4258
4381
|
DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type$outboundSchema,
|
|
4259
|
-
file: z.lazy(() =>
|
|
4382
|
+
file: z.lazy(() => DeploymentGetConfig2File$outboundSchema),
|
|
4260
4383
|
});
|
|
4261
4384
|
|
|
4262
4385
|
export function two4ToJSON(two4: Two4): string {
|
|
@@ -4332,44 +4455,54 @@ export function twoInputAudioFromJSON(
|
|
|
4332
4455
|
}
|
|
4333
4456
|
|
|
4334
4457
|
/** @internal */
|
|
4335
|
-
export const
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4458
|
+
export const DeploymentGetConfig23$inboundSchema: z.ZodType<
|
|
4459
|
+
DeploymentGetConfig23,
|
|
4460
|
+
z.ZodTypeDef,
|
|
4461
|
+
unknown
|
|
4462
|
+
> = z.object({
|
|
4463
|
+
type:
|
|
4464
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3ContentType$inboundSchema,
|
|
4465
|
+
input_audio: z.lazy(() => TwoInputAudio$inboundSchema),
|
|
4466
|
+
}).transform((v) => {
|
|
4467
|
+
return remap$(v, {
|
|
4468
|
+
"input_audio": "inputAudio",
|
|
4344
4469
|
});
|
|
4470
|
+
});
|
|
4345
4471
|
/** @internal */
|
|
4346
|
-
export type
|
|
4472
|
+
export type DeploymentGetConfig23$Outbound = {
|
|
4347
4473
|
type: string;
|
|
4348
4474
|
input_audio: TwoInputAudio$Outbound;
|
|
4349
4475
|
};
|
|
4350
4476
|
|
|
4351
4477
|
/** @internal */
|
|
4352
|
-
export const
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4478
|
+
export const DeploymentGetConfig23$outboundSchema: z.ZodType<
|
|
4479
|
+
DeploymentGetConfig23$Outbound,
|
|
4480
|
+
z.ZodTypeDef,
|
|
4481
|
+
DeploymentGetConfig23
|
|
4482
|
+
> = z.object({
|
|
4483
|
+
type:
|
|
4484
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3ContentType$outboundSchema,
|
|
4485
|
+
inputAudio: z.lazy(() => TwoInputAudio$outboundSchema),
|
|
4486
|
+
}).transform((v) => {
|
|
4487
|
+
return remap$(v, {
|
|
4488
|
+
inputAudio: "input_audio",
|
|
4361
4489
|
});
|
|
4490
|
+
});
|
|
4362
4491
|
|
|
4363
|
-
export function
|
|
4364
|
-
|
|
4492
|
+
export function deploymentGetConfig23ToJSON(
|
|
4493
|
+
deploymentGetConfig23: DeploymentGetConfig23,
|
|
4494
|
+
): string {
|
|
4495
|
+
return JSON.stringify(
|
|
4496
|
+
DeploymentGetConfig23$outboundSchema.parse(deploymentGetConfig23),
|
|
4497
|
+
);
|
|
4365
4498
|
}
|
|
4366
|
-
export function
|
|
4499
|
+
export function deploymentGetConfig23FromJSON(
|
|
4367
4500
|
jsonString: string,
|
|
4368
|
-
): SafeParseResult<
|
|
4501
|
+
): SafeParseResult<DeploymentGetConfig23, SDKValidationError> {
|
|
4369
4502
|
return safeParse(
|
|
4370
4503
|
jsonString,
|
|
4371
|
-
(x) =>
|
|
4372
|
-
`Failed to parse '
|
|
4504
|
+
(x) => DeploymentGetConfig23$inboundSchema.parse(JSON.parse(x)),
|
|
4505
|
+
`Failed to parse 'DeploymentGetConfig23' from JSON`,
|
|
4373
4506
|
);
|
|
4374
4507
|
}
|
|
4375
4508
|
|
|
@@ -4395,8 +4528,8 @@ export const TwoDetail$outboundSchema: z.ZodNativeEnum<typeof TwoDetail> =
|
|
|
4395
4528
|
TwoDetail$inboundSchema;
|
|
4396
4529
|
|
|
4397
4530
|
/** @internal */
|
|
4398
|
-
export const
|
|
4399
|
-
|
|
4531
|
+
export const DeploymentGetConfig2ImageUrl$inboundSchema: z.ZodType<
|
|
4532
|
+
DeploymentGetConfig2ImageUrl,
|
|
4400
4533
|
z.ZodTypeDef,
|
|
4401
4534
|
unknown
|
|
4402
4535
|
> = z.object({
|
|
@@ -4404,83 +4537,91 @@ export const TwoImageUrl$inboundSchema: z.ZodType<
|
|
|
4404
4537
|
detail: TwoDetail$inboundSchema.optional(),
|
|
4405
4538
|
});
|
|
4406
4539
|
/** @internal */
|
|
4407
|
-
export type
|
|
4540
|
+
export type DeploymentGetConfig2ImageUrl$Outbound = {
|
|
4408
4541
|
url: string;
|
|
4409
4542
|
detail?: string | undefined;
|
|
4410
4543
|
};
|
|
4411
4544
|
|
|
4412
4545
|
/** @internal */
|
|
4413
|
-
export const
|
|
4414
|
-
|
|
4546
|
+
export const DeploymentGetConfig2ImageUrl$outboundSchema: z.ZodType<
|
|
4547
|
+
DeploymentGetConfig2ImageUrl$Outbound,
|
|
4415
4548
|
z.ZodTypeDef,
|
|
4416
|
-
|
|
4549
|
+
DeploymentGetConfig2ImageUrl
|
|
4417
4550
|
> = z.object({
|
|
4418
4551
|
url: z.string(),
|
|
4419
4552
|
detail: TwoDetail$outboundSchema.optional(),
|
|
4420
4553
|
});
|
|
4421
4554
|
|
|
4422
|
-
export function
|
|
4423
|
-
|
|
4555
|
+
export function deploymentGetConfig2ImageUrlToJSON(
|
|
4556
|
+
deploymentGetConfig2ImageUrl: DeploymentGetConfig2ImageUrl,
|
|
4557
|
+
): string {
|
|
4558
|
+
return JSON.stringify(
|
|
4559
|
+
DeploymentGetConfig2ImageUrl$outboundSchema.parse(
|
|
4560
|
+
deploymentGetConfig2ImageUrl,
|
|
4561
|
+
),
|
|
4562
|
+
);
|
|
4424
4563
|
}
|
|
4425
|
-
export function
|
|
4564
|
+
export function deploymentGetConfig2ImageUrlFromJSON(
|
|
4426
4565
|
jsonString: string,
|
|
4427
|
-
): SafeParseResult<
|
|
4566
|
+
): SafeParseResult<DeploymentGetConfig2ImageUrl, SDKValidationError> {
|
|
4428
4567
|
return safeParse(
|
|
4429
4568
|
jsonString,
|
|
4430
|
-
(x) =>
|
|
4431
|
-
`Failed to parse '
|
|
4569
|
+
(x) => DeploymentGetConfig2ImageUrl$inboundSchema.parse(JSON.parse(x)),
|
|
4570
|
+
`Failed to parse 'DeploymentGetConfig2ImageUrl' from JSON`,
|
|
4432
4571
|
);
|
|
4433
4572
|
}
|
|
4434
4573
|
|
|
4435
4574
|
/** @internal */
|
|
4436
|
-
export const
|
|
4437
|
-
|
|
4575
|
+
export const DeploymentGetConfig2Deployments2$inboundSchema: z.ZodType<
|
|
4576
|
+
DeploymentGetConfig2Deployments2,
|
|
4438
4577
|
z.ZodTypeDef,
|
|
4439
4578
|
unknown
|
|
4440
4579
|
> = z.object({
|
|
4441
4580
|
type:
|
|
4442
4581
|
DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema,
|
|
4443
|
-
image_url: z.lazy(() =>
|
|
4582
|
+
image_url: z.lazy(() => DeploymentGetConfig2ImageUrl$inboundSchema),
|
|
4444
4583
|
}).transform((v) => {
|
|
4445
4584
|
return remap$(v, {
|
|
4446
4585
|
"image_url": "imageUrl",
|
|
4447
4586
|
});
|
|
4448
4587
|
});
|
|
4449
4588
|
/** @internal */
|
|
4450
|
-
export type
|
|
4589
|
+
export type DeploymentGetConfig2Deployments2$Outbound = {
|
|
4451
4590
|
type: string;
|
|
4452
|
-
image_url:
|
|
4591
|
+
image_url: DeploymentGetConfig2ImageUrl$Outbound;
|
|
4453
4592
|
};
|
|
4454
4593
|
|
|
4455
4594
|
/** @internal */
|
|
4456
|
-
export const
|
|
4457
|
-
|
|
4595
|
+
export const DeploymentGetConfig2Deployments2$outboundSchema: z.ZodType<
|
|
4596
|
+
DeploymentGetConfig2Deployments2$Outbound,
|
|
4458
4597
|
z.ZodTypeDef,
|
|
4459
|
-
|
|
4598
|
+
DeploymentGetConfig2Deployments2
|
|
4460
4599
|
> = z.object({
|
|
4461
4600
|
type:
|
|
4462
4601
|
DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$outboundSchema,
|
|
4463
|
-
imageUrl: z.lazy(() =>
|
|
4602
|
+
imageUrl: z.lazy(() => DeploymentGetConfig2ImageUrl$outboundSchema),
|
|
4464
4603
|
}).transform((v) => {
|
|
4465
4604
|
return remap$(v, {
|
|
4466
4605
|
imageUrl: "image_url",
|
|
4467
4606
|
});
|
|
4468
4607
|
});
|
|
4469
4608
|
|
|
4470
|
-
export function
|
|
4471
|
-
|
|
4609
|
+
export function deploymentGetConfig2Deployments2ToJSON(
|
|
4610
|
+
deploymentGetConfig2Deployments2: DeploymentGetConfig2Deployments2,
|
|
4472
4611
|
): string {
|
|
4473
4612
|
return JSON.stringify(
|
|
4474
|
-
|
|
4613
|
+
DeploymentGetConfig2Deployments2$outboundSchema.parse(
|
|
4614
|
+
deploymentGetConfig2Deployments2,
|
|
4615
|
+
),
|
|
4475
4616
|
);
|
|
4476
4617
|
}
|
|
4477
|
-
export function
|
|
4618
|
+
export function deploymentGetConfig2Deployments2FromJSON(
|
|
4478
4619
|
jsonString: string,
|
|
4479
|
-
): SafeParseResult<
|
|
4620
|
+
): SafeParseResult<DeploymentGetConfig2Deployments2, SDKValidationError> {
|
|
4480
4621
|
return safeParse(
|
|
4481
4622
|
jsonString,
|
|
4482
|
-
(x) =>
|
|
4483
|
-
`Failed to parse '
|
|
4623
|
+
(x) => DeploymentGetConfig2Deployments2$inboundSchema.parse(JSON.parse(x)),
|
|
4624
|
+
`Failed to parse 'DeploymentGetConfig2Deployments2' from JSON`,
|
|
4484
4625
|
);
|
|
4485
4626
|
}
|
|
4486
4627
|
|
|
@@ -4497,87 +4638,99 @@ export const DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$outbo
|
|
|
4497
4638
|
typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType
|
|
4498
4639
|
> =
|
|
4499
4640
|
DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$inboundSchema;
|
|
4500
|
-
|
|
4501
|
-
/** @internal */
|
|
4502
|
-
export const Two1$inboundSchema: z.ZodType<Two1, z.ZodTypeDef, unknown> = z
|
|
4503
|
-
.object({
|
|
4504
|
-
type:
|
|
4505
|
-
DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$inboundSchema,
|
|
4506
|
-
text: z.string(),
|
|
4507
|
-
});
|
|
4641
|
+
|
|
4508
4642
|
/** @internal */
|
|
4509
|
-
export
|
|
4643
|
+
export const DeploymentGetConfig21$inboundSchema: z.ZodType<
|
|
4644
|
+
DeploymentGetConfig21,
|
|
4645
|
+
z.ZodTypeDef,
|
|
4646
|
+
unknown
|
|
4647
|
+
> = z.object({
|
|
4648
|
+
type:
|
|
4649
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$inboundSchema,
|
|
4650
|
+
text: z.string(),
|
|
4651
|
+
});
|
|
4652
|
+
/** @internal */
|
|
4653
|
+
export type DeploymentGetConfig21$Outbound = {
|
|
4510
4654
|
type: string;
|
|
4511
4655
|
text: string;
|
|
4512
4656
|
};
|
|
4513
4657
|
|
|
4514
4658
|
/** @internal */
|
|
4515
|
-
export const
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4659
|
+
export const DeploymentGetConfig21$outboundSchema: z.ZodType<
|
|
4660
|
+
DeploymentGetConfig21$Outbound,
|
|
4661
|
+
z.ZodTypeDef,
|
|
4662
|
+
DeploymentGetConfig21
|
|
4663
|
+
> = z.object({
|
|
4664
|
+
type:
|
|
4665
|
+
DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$outboundSchema,
|
|
4666
|
+
text: z.string(),
|
|
4667
|
+
});
|
|
4521
4668
|
|
|
4522
|
-
export function
|
|
4523
|
-
|
|
4669
|
+
export function deploymentGetConfig21ToJSON(
|
|
4670
|
+
deploymentGetConfig21: DeploymentGetConfig21,
|
|
4671
|
+
): string {
|
|
4672
|
+
return JSON.stringify(
|
|
4673
|
+
DeploymentGetConfig21$outboundSchema.parse(deploymentGetConfig21),
|
|
4674
|
+
);
|
|
4524
4675
|
}
|
|
4525
|
-
export function
|
|
4676
|
+
export function deploymentGetConfig21FromJSON(
|
|
4526
4677
|
jsonString: string,
|
|
4527
|
-
): SafeParseResult<
|
|
4678
|
+
): SafeParseResult<DeploymentGetConfig21, SDKValidationError> {
|
|
4528
4679
|
return safeParse(
|
|
4529
4680
|
jsonString,
|
|
4530
|
-
(x) =>
|
|
4531
|
-
`Failed to parse '
|
|
4681
|
+
(x) => DeploymentGetConfig21$inboundSchema.parse(JSON.parse(x)),
|
|
4682
|
+
`Failed to parse 'DeploymentGetConfig21' from JSON`,
|
|
4532
4683
|
);
|
|
4533
4684
|
}
|
|
4534
4685
|
|
|
4535
4686
|
/** @internal */
|
|
4536
|
-
export const
|
|
4537
|
-
|
|
4687
|
+
export const DeploymentGetConfigContentDeployments2$inboundSchema: z.ZodType<
|
|
4688
|
+
DeploymentGetConfigContentDeployments2,
|
|
4538
4689
|
z.ZodTypeDef,
|
|
4539
4690
|
unknown
|
|
4540
4691
|
> = z.union([
|
|
4541
|
-
z.lazy(() =>
|
|
4542
|
-
z.lazy(() =>
|
|
4543
|
-
z.lazy(() =>
|
|
4692
|
+
z.lazy(() => DeploymentGetConfig21$inboundSchema),
|
|
4693
|
+
z.lazy(() => DeploymentGetConfig2Deployments2$inboundSchema),
|
|
4694
|
+
z.lazy(() => DeploymentGetConfig23$inboundSchema),
|
|
4544
4695
|
z.lazy(() => Two4$inboundSchema),
|
|
4545
4696
|
]);
|
|
4546
4697
|
/** @internal */
|
|
4547
|
-
export type
|
|
4548
|
-
|
|
|
4549
|
-
|
|
|
4550
|
-
|
|
|
4698
|
+
export type DeploymentGetConfigContentDeployments2$Outbound =
|
|
4699
|
+
| DeploymentGetConfig21$Outbound
|
|
4700
|
+
| DeploymentGetConfig2Deployments2$Outbound
|
|
4701
|
+
| DeploymentGetConfig23$Outbound
|
|
4551
4702
|
| Two4$Outbound;
|
|
4552
4703
|
|
|
4553
4704
|
/** @internal */
|
|
4554
|
-
export const
|
|
4555
|
-
|
|
4705
|
+
export const DeploymentGetConfigContentDeployments2$outboundSchema: z.ZodType<
|
|
4706
|
+
DeploymentGetConfigContentDeployments2$Outbound,
|
|
4556
4707
|
z.ZodTypeDef,
|
|
4557
|
-
|
|
4708
|
+
DeploymentGetConfigContentDeployments2
|
|
4558
4709
|
> = z.union([
|
|
4559
|
-
z.lazy(() =>
|
|
4560
|
-
z.lazy(() =>
|
|
4561
|
-
z.lazy(() =>
|
|
4710
|
+
z.lazy(() => DeploymentGetConfig21$outboundSchema),
|
|
4711
|
+
z.lazy(() => DeploymentGetConfig2Deployments2$outboundSchema),
|
|
4712
|
+
z.lazy(() => DeploymentGetConfig23$outboundSchema),
|
|
4562
4713
|
z.lazy(() => Two4$outboundSchema),
|
|
4563
4714
|
]);
|
|
4564
4715
|
|
|
4565
|
-
export function
|
|
4566
|
-
|
|
4716
|
+
export function deploymentGetConfigContentDeployments2ToJSON(
|
|
4717
|
+
deploymentGetConfigContentDeployments2:
|
|
4718
|
+
DeploymentGetConfigContentDeployments2,
|
|
4567
4719
|
): string {
|
|
4568
4720
|
return JSON.stringify(
|
|
4569
|
-
|
|
4570
|
-
|
|
4721
|
+
DeploymentGetConfigContentDeployments2$outboundSchema.parse(
|
|
4722
|
+
deploymentGetConfigContentDeployments2,
|
|
4571
4723
|
),
|
|
4572
4724
|
);
|
|
4573
4725
|
}
|
|
4574
|
-
export function
|
|
4726
|
+
export function deploymentGetConfigContentDeployments2FromJSON(
|
|
4575
4727
|
jsonString: string,
|
|
4576
|
-
): SafeParseResult<
|
|
4728
|
+
): SafeParseResult<DeploymentGetConfigContentDeployments2, SDKValidationError> {
|
|
4577
4729
|
return safeParse(
|
|
4578
4730
|
jsonString,
|
|
4579
|
-
(x) =>
|
|
4580
|
-
|
|
4731
|
+
(x) =>
|
|
4732
|
+
DeploymentGetConfigContentDeployments2$inboundSchema.parse(JSON.parse(x)),
|
|
4733
|
+
`Failed to parse 'DeploymentGetConfigContentDeployments2' from JSON`,
|
|
4581
4734
|
);
|
|
4582
4735
|
}
|
|
4583
4736
|
|
|
@@ -4589,9 +4742,9 @@ export const MessagesContent$inboundSchema: z.ZodType<
|
|
|
4589
4742
|
> = z.union([
|
|
4590
4743
|
z.string(),
|
|
4591
4744
|
z.array(z.union([
|
|
4592
|
-
z.lazy(() =>
|
|
4593
|
-
z.lazy(() =>
|
|
4594
|
-
z.lazy(() =>
|
|
4745
|
+
z.lazy(() => DeploymentGetConfig21$inboundSchema),
|
|
4746
|
+
z.lazy(() => DeploymentGetConfig2Deployments2$inboundSchema),
|
|
4747
|
+
z.lazy(() => DeploymentGetConfig23$inboundSchema),
|
|
4595
4748
|
z.lazy(() => Two4$inboundSchema),
|
|
4596
4749
|
])),
|
|
4597
4750
|
]);
|
|
@@ -4599,9 +4752,9 @@ export const MessagesContent$inboundSchema: z.ZodType<
|
|
|
4599
4752
|
export type MessagesContent$Outbound =
|
|
4600
4753
|
| string
|
|
4601
4754
|
| Array<
|
|
4602
|
-
|
|
|
4603
|
-
|
|
|
4604
|
-
|
|
|
4755
|
+
| DeploymentGetConfig21$Outbound
|
|
4756
|
+
| DeploymentGetConfig2Deployments2$Outbound
|
|
4757
|
+
| DeploymentGetConfig23$Outbound
|
|
4605
4758
|
| Two4$Outbound
|
|
4606
4759
|
>;
|
|
4607
4760
|
|
|
@@ -4613,9 +4766,9 @@ export const MessagesContent$outboundSchema: z.ZodType<
|
|
|
4613
4766
|
> = z.union([
|
|
4614
4767
|
z.string(),
|
|
4615
4768
|
z.array(z.union([
|
|
4616
|
-
z.lazy(() =>
|
|
4617
|
-
z.lazy(() =>
|
|
4618
|
-
z.lazy(() =>
|
|
4769
|
+
z.lazy(() => DeploymentGetConfig21$outboundSchema),
|
|
4770
|
+
z.lazy(() => DeploymentGetConfig2Deployments2$outboundSchema),
|
|
4771
|
+
z.lazy(() => DeploymentGetConfig23$outboundSchema),
|
|
4619
4772
|
z.lazy(() => Two4$outboundSchema),
|
|
4620
4773
|
])),
|
|
4621
4774
|
]);
|
|
@@ -4646,9 +4799,9 @@ export const MessagesUserMessage$inboundSchema: z.ZodType<
|
|
|
4646
4799
|
content: z.union([
|
|
4647
4800
|
z.string(),
|
|
4648
4801
|
z.array(z.union([
|
|
4649
|
-
z.lazy(() =>
|
|
4650
|
-
z.lazy(() =>
|
|
4651
|
-
z.lazy(() =>
|
|
4802
|
+
z.lazy(() => DeploymentGetConfig21$inboundSchema),
|
|
4803
|
+
z.lazy(() => DeploymentGetConfig2Deployments2$inboundSchema),
|
|
4804
|
+
z.lazy(() => DeploymentGetConfig23$inboundSchema),
|
|
4652
4805
|
z.lazy(() => Two4$inboundSchema),
|
|
4653
4806
|
])),
|
|
4654
4807
|
]),
|
|
@@ -4660,9 +4813,9 @@ export type MessagesUserMessage$Outbound = {
|
|
|
4660
4813
|
content:
|
|
4661
4814
|
| string
|
|
4662
4815
|
| Array<
|
|
4663
|
-
|
|
|
4664
|
-
|
|
|
4665
|
-
|
|
|
4816
|
+
| DeploymentGetConfig21$Outbound
|
|
4817
|
+
| DeploymentGetConfig2Deployments2$Outbound
|
|
4818
|
+
| DeploymentGetConfig23$Outbound
|
|
4666
4819
|
| Two4$Outbound
|
|
4667
4820
|
>;
|
|
4668
4821
|
};
|
|
@@ -4678,9 +4831,9 @@ export const MessagesUserMessage$outboundSchema: z.ZodType<
|
|
|
4678
4831
|
content: z.union([
|
|
4679
4832
|
z.string(),
|
|
4680
4833
|
z.array(z.union([
|
|
4681
|
-
z.lazy(() =>
|
|
4682
|
-
z.lazy(() =>
|
|
4683
|
-
z.lazy(() =>
|
|
4834
|
+
z.lazy(() => DeploymentGetConfig21$outboundSchema),
|
|
4835
|
+
z.lazy(() => DeploymentGetConfig2Deployments2$outboundSchema),
|
|
4836
|
+
z.lazy(() => DeploymentGetConfig23$outboundSchema),
|
|
4684
4837
|
z.lazy(() => Two4$outboundSchema),
|
|
4685
4838
|
])),
|
|
4686
4839
|
]),
|
|
@@ -4810,8 +4963,8 @@ export function messagesDeveloperMessageFromJSON(
|
|
|
4810
4963
|
}
|
|
4811
4964
|
|
|
4812
4965
|
/** @internal */
|
|
4813
|
-
export const
|
|
4814
|
-
|
|
4966
|
+
export const DeploymentGetConfigMessages$inboundSchema: z.ZodType<
|
|
4967
|
+
DeploymentGetConfigMessages,
|
|
4815
4968
|
z.ZodTypeDef,
|
|
4816
4969
|
unknown
|
|
4817
4970
|
> = z.union([
|
|
@@ -4822,7 +4975,7 @@ export const Messages$inboundSchema: z.ZodType<
|
|
|
4822
4975
|
z.lazy(() => MessagesAssistantMessage$inboundSchema),
|
|
4823
4976
|
]);
|
|
4824
4977
|
/** @internal */
|
|
4825
|
-
export type
|
|
4978
|
+
export type DeploymentGetConfigMessages$Outbound =
|
|
4826
4979
|
| MessagesToolMessage$Outbound
|
|
4827
4980
|
| MessagesDeveloperMessage$Outbound
|
|
4828
4981
|
| MessagesSystemMessage$Outbound
|
|
@@ -4830,10 +4983,10 @@ export type Messages$Outbound =
|
|
|
4830
4983
|
| MessagesAssistantMessage$Outbound;
|
|
4831
4984
|
|
|
4832
4985
|
/** @internal */
|
|
4833
|
-
export const
|
|
4834
|
-
|
|
4986
|
+
export const DeploymentGetConfigMessages$outboundSchema: z.ZodType<
|
|
4987
|
+
DeploymentGetConfigMessages$Outbound,
|
|
4835
4988
|
z.ZodTypeDef,
|
|
4836
|
-
|
|
4989
|
+
DeploymentGetConfigMessages
|
|
4837
4990
|
> = z.union([
|
|
4838
4991
|
z.lazy(() => MessagesToolMessage$outboundSchema),
|
|
4839
4992
|
z.lazy(() => MessagesDeveloperMessage$outboundSchema),
|
|
@@ -4842,16 +4995,22 @@ export const Messages$outboundSchema: z.ZodType<
|
|
|
4842
4995
|
z.lazy(() => MessagesAssistantMessage$outboundSchema),
|
|
4843
4996
|
]);
|
|
4844
4997
|
|
|
4845
|
-
export function
|
|
4846
|
-
|
|
4998
|
+
export function deploymentGetConfigMessagesToJSON(
|
|
4999
|
+
deploymentGetConfigMessages: DeploymentGetConfigMessages,
|
|
5000
|
+
): string {
|
|
5001
|
+
return JSON.stringify(
|
|
5002
|
+
DeploymentGetConfigMessages$outboundSchema.parse(
|
|
5003
|
+
deploymentGetConfigMessages,
|
|
5004
|
+
),
|
|
5005
|
+
);
|
|
4847
5006
|
}
|
|
4848
|
-
export function
|
|
5007
|
+
export function deploymentGetConfigMessagesFromJSON(
|
|
4849
5008
|
jsonString: string,
|
|
4850
|
-
): SafeParseResult<
|
|
5009
|
+
): SafeParseResult<DeploymentGetConfigMessages, SDKValidationError> {
|
|
4851
5010
|
return safeParse(
|
|
4852
5011
|
jsonString,
|
|
4853
|
-
(x) =>
|
|
4854
|
-
`Failed to parse '
|
|
5012
|
+
(x) => DeploymentGetConfigMessages$inboundSchema.parse(JSON.parse(x)),
|
|
5013
|
+
`Failed to parse 'DeploymentGetConfigMessages' from JSON`,
|
|
4855
5014
|
);
|
|
4856
5015
|
}
|
|
4857
5016
|
|
|
@@ -6828,8 +6987,8 @@ export const DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$outbo
|
|
|
6828
6987
|
DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$inboundSchema;
|
|
6829
6988
|
|
|
6830
6989
|
/** @internal */
|
|
6831
|
-
export const
|
|
6832
|
-
|
|
6990
|
+
export const DeploymentGetConfig2DeploymentsFile$inboundSchema: z.ZodType<
|
|
6991
|
+
DeploymentGetConfig2DeploymentsFile,
|
|
6833
6992
|
z.ZodTypeDef,
|
|
6834
6993
|
unknown
|
|
6835
6994
|
> = z.object({
|
|
@@ -6843,7 +7002,7 @@ export const DeploymentGetConfig2File$inboundSchema: z.ZodType<
|
|
|
6843
7002
|
});
|
|
6844
7003
|
});
|
|
6845
7004
|
/** @internal */
|
|
6846
|
-
export type
|
|
7005
|
+
export type DeploymentGetConfig2DeploymentsFile$Outbound = {
|
|
6847
7006
|
file_data?: string | undefined;
|
|
6848
7007
|
uri?: string | undefined;
|
|
6849
7008
|
mimeType?: string | undefined;
|
|
@@ -6851,10 +7010,10 @@ export type DeploymentGetConfig2File$Outbound = {
|
|
|
6851
7010
|
};
|
|
6852
7011
|
|
|
6853
7012
|
/** @internal */
|
|
6854
|
-
export const
|
|
6855
|
-
|
|
7013
|
+
export const DeploymentGetConfig2DeploymentsFile$outboundSchema: z.ZodType<
|
|
7014
|
+
DeploymentGetConfig2DeploymentsFile$Outbound,
|
|
6856
7015
|
z.ZodTypeDef,
|
|
6857
|
-
|
|
7016
|
+
DeploymentGetConfig2DeploymentsFile
|
|
6858
7017
|
> = z.object({
|
|
6859
7018
|
fileData: z.string().optional(),
|
|
6860
7019
|
uri: z.string().optional(),
|
|
@@ -6866,64 +7025,69 @@ export const DeploymentGetConfig2File$outboundSchema: z.ZodType<
|
|
|
6866
7025
|
});
|
|
6867
7026
|
});
|
|
6868
7027
|
|
|
6869
|
-
export function
|
|
6870
|
-
|
|
7028
|
+
export function deploymentGetConfig2DeploymentsFileToJSON(
|
|
7029
|
+
deploymentGetConfig2DeploymentsFile: DeploymentGetConfig2DeploymentsFile,
|
|
6871
7030
|
): string {
|
|
6872
7031
|
return JSON.stringify(
|
|
6873
|
-
|
|
7032
|
+
DeploymentGetConfig2DeploymentsFile$outboundSchema.parse(
|
|
7033
|
+
deploymentGetConfig2DeploymentsFile,
|
|
7034
|
+
),
|
|
6874
7035
|
);
|
|
6875
7036
|
}
|
|
6876
|
-
export function
|
|
7037
|
+
export function deploymentGetConfig2DeploymentsFileFromJSON(
|
|
6877
7038
|
jsonString: string,
|
|
6878
|
-
): SafeParseResult<
|
|
7039
|
+
): SafeParseResult<DeploymentGetConfig2DeploymentsFile, SDKValidationError> {
|
|
6879
7040
|
return safeParse(
|
|
6880
7041
|
jsonString,
|
|
6881
|
-
(x) =>
|
|
6882
|
-
|
|
7042
|
+
(x) =>
|
|
7043
|
+
DeploymentGetConfig2DeploymentsFile$inboundSchema.parse(JSON.parse(x)),
|
|
7044
|
+
`Failed to parse 'DeploymentGetConfig2DeploymentsFile' from JSON`,
|
|
6883
7045
|
);
|
|
6884
7046
|
}
|
|
6885
7047
|
|
|
6886
7048
|
/** @internal */
|
|
6887
|
-
export const
|
|
6888
|
-
|
|
7049
|
+
export const DeploymentGetConfig2Deployments3$inboundSchema: z.ZodType<
|
|
7050
|
+
DeploymentGetConfig2Deployments3,
|
|
6889
7051
|
z.ZodTypeDef,
|
|
6890
7052
|
unknown
|
|
6891
7053
|
> = z.object({
|
|
6892
7054
|
type:
|
|
6893
7055
|
DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$inboundSchema,
|
|
6894
|
-
file: z.lazy(() =>
|
|
7056
|
+
file: z.lazy(() => DeploymentGetConfig2DeploymentsFile$inboundSchema),
|
|
6895
7057
|
});
|
|
6896
7058
|
/** @internal */
|
|
6897
|
-
export type
|
|
7059
|
+
export type DeploymentGetConfig2Deployments3$Outbound = {
|
|
6898
7060
|
type: string;
|
|
6899
|
-
file:
|
|
7061
|
+
file: DeploymentGetConfig2DeploymentsFile$Outbound;
|
|
6900
7062
|
};
|
|
6901
7063
|
|
|
6902
7064
|
/** @internal */
|
|
6903
|
-
export const
|
|
6904
|
-
|
|
7065
|
+
export const DeploymentGetConfig2Deployments3$outboundSchema: z.ZodType<
|
|
7066
|
+
DeploymentGetConfig2Deployments3$Outbound,
|
|
6905
7067
|
z.ZodTypeDef,
|
|
6906
|
-
|
|
7068
|
+
DeploymentGetConfig2Deployments3
|
|
6907
7069
|
> = z.object({
|
|
6908
7070
|
type:
|
|
6909
7071
|
DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$outboundSchema,
|
|
6910
|
-
file: z.lazy(() =>
|
|
7072
|
+
file: z.lazy(() => DeploymentGetConfig2DeploymentsFile$outboundSchema),
|
|
6911
7073
|
});
|
|
6912
7074
|
|
|
6913
|
-
export function
|
|
6914
|
-
|
|
7075
|
+
export function deploymentGetConfig2Deployments3ToJSON(
|
|
7076
|
+
deploymentGetConfig2Deployments3: DeploymentGetConfig2Deployments3,
|
|
6915
7077
|
): string {
|
|
6916
7078
|
return JSON.stringify(
|
|
6917
|
-
|
|
7079
|
+
DeploymentGetConfig2Deployments3$outboundSchema.parse(
|
|
7080
|
+
deploymentGetConfig2Deployments3,
|
|
7081
|
+
),
|
|
6918
7082
|
);
|
|
6919
7083
|
}
|
|
6920
|
-
export function
|
|
7084
|
+
export function deploymentGetConfig2Deployments3FromJSON(
|
|
6921
7085
|
jsonString: string,
|
|
6922
|
-
): SafeParseResult<
|
|
7086
|
+
): SafeParseResult<DeploymentGetConfig2Deployments3, SDKValidationError> {
|
|
6923
7087
|
return safeParse(
|
|
6924
7088
|
jsonString,
|
|
6925
|
-
(x) =>
|
|
6926
|
-
`Failed to parse '
|
|
7089
|
+
(x) => DeploymentGetConfig2Deployments3$inboundSchema.parse(JSON.parse(x)),
|
|
7090
|
+
`Failed to parse 'DeploymentGetConfig2Deployments3' from JSON`,
|
|
6927
7091
|
);
|
|
6928
7092
|
}
|
|
6929
7093
|
|
|
@@ -6937,8 +7101,8 @@ export const DeploymentGetConfig2DeploymentsResponse200Type$outboundSchema:
|
|
|
6937
7101
|
DeploymentGetConfig2DeploymentsResponse200Type$inboundSchema;
|
|
6938
7102
|
|
|
6939
7103
|
/** @internal */
|
|
6940
|
-
export const
|
|
6941
|
-
|
|
7104
|
+
export const DeploymentGetConfig2DeploymentsImageUrl$inboundSchema: z.ZodType<
|
|
7105
|
+
DeploymentGetConfig2DeploymentsImageUrl,
|
|
6942
7106
|
z.ZodTypeDef,
|
|
6943
7107
|
unknown
|
|
6944
7108
|
> = z.object({
|
|
@@ -6947,91 +7111,109 @@ export const DeploymentGetConfig2ImageUrl$inboundSchema: z.ZodType<
|
|
|
6947
7111
|
detail: z.string().optional(),
|
|
6948
7112
|
});
|
|
6949
7113
|
/** @internal */
|
|
6950
|
-
export type
|
|
7114
|
+
export type DeploymentGetConfig2DeploymentsImageUrl$Outbound = {
|
|
6951
7115
|
id?: string | undefined;
|
|
6952
7116
|
url: string;
|
|
6953
7117
|
detail?: string | undefined;
|
|
6954
7118
|
};
|
|
6955
7119
|
|
|
6956
7120
|
/** @internal */
|
|
6957
|
-
export const
|
|
6958
|
-
|
|
7121
|
+
export const DeploymentGetConfig2DeploymentsImageUrl$outboundSchema: z.ZodType<
|
|
7122
|
+
DeploymentGetConfig2DeploymentsImageUrl$Outbound,
|
|
6959
7123
|
z.ZodTypeDef,
|
|
6960
|
-
|
|
7124
|
+
DeploymentGetConfig2DeploymentsImageUrl
|
|
6961
7125
|
> = z.object({
|
|
6962
7126
|
id: z.string().optional(),
|
|
6963
7127
|
url: z.string(),
|
|
6964
7128
|
detail: z.string().optional(),
|
|
6965
7129
|
});
|
|
6966
7130
|
|
|
6967
|
-
export function
|
|
6968
|
-
|
|
7131
|
+
export function deploymentGetConfig2DeploymentsImageUrlToJSON(
|
|
7132
|
+
deploymentGetConfig2DeploymentsImageUrl:
|
|
7133
|
+
DeploymentGetConfig2DeploymentsImageUrl,
|
|
6969
7134
|
): string {
|
|
6970
7135
|
return JSON.stringify(
|
|
6971
|
-
|
|
6972
|
-
|
|
7136
|
+
DeploymentGetConfig2DeploymentsImageUrl$outboundSchema.parse(
|
|
7137
|
+
deploymentGetConfig2DeploymentsImageUrl,
|
|
6973
7138
|
),
|
|
6974
7139
|
);
|
|
6975
7140
|
}
|
|
6976
|
-
export function
|
|
7141
|
+
export function deploymentGetConfig2DeploymentsImageUrlFromJSON(
|
|
6977
7142
|
jsonString: string,
|
|
6978
|
-
): SafeParseResult<
|
|
7143
|
+
): SafeParseResult<
|
|
7144
|
+
DeploymentGetConfig2DeploymentsImageUrl,
|
|
7145
|
+
SDKValidationError
|
|
7146
|
+
> {
|
|
6979
7147
|
return safeParse(
|
|
6980
7148
|
jsonString,
|
|
6981
|
-
(x) =>
|
|
6982
|
-
|
|
7149
|
+
(x) =>
|
|
7150
|
+
DeploymentGetConfig2DeploymentsImageUrl$inboundSchema.parse(
|
|
7151
|
+
JSON.parse(x),
|
|
7152
|
+
),
|
|
7153
|
+
`Failed to parse 'DeploymentGetConfig2DeploymentsImageUrl' from JSON`,
|
|
6983
7154
|
);
|
|
6984
7155
|
}
|
|
6985
7156
|
|
|
6986
7157
|
/** @internal */
|
|
6987
|
-
export const
|
|
6988
|
-
|
|
7158
|
+
export const DeploymentGetConfig2DeploymentsResponse2$inboundSchema: z.ZodType<
|
|
7159
|
+
DeploymentGetConfig2DeploymentsResponse2,
|
|
6989
7160
|
z.ZodTypeDef,
|
|
6990
7161
|
unknown
|
|
6991
7162
|
> = z.object({
|
|
6992
7163
|
type: DeploymentGetConfig2DeploymentsResponse200Type$inboundSchema,
|
|
6993
|
-
image_url: z.lazy(() =>
|
|
7164
|
+
image_url: z.lazy(() =>
|
|
7165
|
+
DeploymentGetConfig2DeploymentsImageUrl$inboundSchema
|
|
7166
|
+
),
|
|
6994
7167
|
}).transform((v) => {
|
|
6995
7168
|
return remap$(v, {
|
|
6996
7169
|
"image_url": "imageUrl",
|
|
6997
7170
|
});
|
|
6998
7171
|
});
|
|
6999
7172
|
/** @internal */
|
|
7000
|
-
export type
|
|
7173
|
+
export type DeploymentGetConfig2DeploymentsResponse2$Outbound = {
|
|
7001
7174
|
type: string;
|
|
7002
|
-
image_url:
|
|
7175
|
+
image_url: DeploymentGetConfig2DeploymentsImageUrl$Outbound;
|
|
7003
7176
|
};
|
|
7004
7177
|
|
|
7005
7178
|
/** @internal */
|
|
7006
|
-
export const
|
|
7007
|
-
|
|
7179
|
+
export const DeploymentGetConfig2DeploymentsResponse2$outboundSchema: z.ZodType<
|
|
7180
|
+
DeploymentGetConfig2DeploymentsResponse2$Outbound,
|
|
7008
7181
|
z.ZodTypeDef,
|
|
7009
|
-
|
|
7182
|
+
DeploymentGetConfig2DeploymentsResponse2
|
|
7010
7183
|
> = z.object({
|
|
7011
7184
|
type: DeploymentGetConfig2DeploymentsResponse200Type$outboundSchema,
|
|
7012
|
-
imageUrl: z.lazy(() =>
|
|
7185
|
+
imageUrl: z.lazy(() =>
|
|
7186
|
+
DeploymentGetConfig2DeploymentsImageUrl$outboundSchema
|
|
7187
|
+
),
|
|
7013
7188
|
}).transform((v) => {
|
|
7014
7189
|
return remap$(v, {
|
|
7015
7190
|
imageUrl: "image_url",
|
|
7016
7191
|
});
|
|
7017
7192
|
});
|
|
7018
7193
|
|
|
7019
|
-
export function
|
|
7020
|
-
|
|
7194
|
+
export function deploymentGetConfig2DeploymentsResponse2ToJSON(
|
|
7195
|
+
deploymentGetConfig2DeploymentsResponse2:
|
|
7196
|
+
DeploymentGetConfig2DeploymentsResponse2,
|
|
7021
7197
|
): string {
|
|
7022
7198
|
return JSON.stringify(
|
|
7023
|
-
|
|
7024
|
-
|
|
7199
|
+
DeploymentGetConfig2DeploymentsResponse2$outboundSchema.parse(
|
|
7200
|
+
deploymentGetConfig2DeploymentsResponse2,
|
|
7025
7201
|
),
|
|
7026
7202
|
);
|
|
7027
7203
|
}
|
|
7028
|
-
export function
|
|
7204
|
+
export function deploymentGetConfig2DeploymentsResponse2FromJSON(
|
|
7029
7205
|
jsonString: string,
|
|
7030
|
-
): SafeParseResult<
|
|
7206
|
+
): SafeParseResult<
|
|
7207
|
+
DeploymentGetConfig2DeploymentsResponse2,
|
|
7208
|
+
SDKValidationError
|
|
7209
|
+
> {
|
|
7031
7210
|
return safeParse(
|
|
7032
7211
|
jsonString,
|
|
7033
|
-
(x) =>
|
|
7034
|
-
|
|
7212
|
+
(x) =>
|
|
7213
|
+
DeploymentGetConfig2DeploymentsResponse2$inboundSchema.parse(
|
|
7214
|
+
JSON.parse(x),
|
|
7215
|
+
),
|
|
7216
|
+
`Failed to parse 'DeploymentGetConfig2DeploymentsResponse2' from JSON`,
|
|
7035
7217
|
);
|
|
7036
7218
|
}
|
|
7037
7219
|
|
|
@@ -7045,8 +7227,8 @@ export const DeploymentGetConfig2DeploymentsResponseType$outboundSchema:
|
|
|
7045
7227
|
DeploymentGetConfig2DeploymentsResponseType$inboundSchema;
|
|
7046
7228
|
|
|
7047
7229
|
/** @internal */
|
|
7048
|
-
export const
|
|
7049
|
-
|
|
7230
|
+
export const DeploymentGetConfig2Deployments1$inboundSchema: z.ZodType<
|
|
7231
|
+
DeploymentGetConfig2Deployments1,
|
|
7050
7232
|
z.ZodTypeDef,
|
|
7051
7233
|
unknown
|
|
7052
7234
|
> = z.object({
|
|
@@ -7054,35 +7236,37 @@ export const DeploymentGetConfig21$inboundSchema: z.ZodType<
|
|
|
7054
7236
|
text: z.string(),
|
|
7055
7237
|
});
|
|
7056
7238
|
/** @internal */
|
|
7057
|
-
export type
|
|
7239
|
+
export type DeploymentGetConfig2Deployments1$Outbound = {
|
|
7058
7240
|
type: string;
|
|
7059
7241
|
text: string;
|
|
7060
7242
|
};
|
|
7061
7243
|
|
|
7062
7244
|
/** @internal */
|
|
7063
|
-
export const
|
|
7064
|
-
|
|
7245
|
+
export const DeploymentGetConfig2Deployments1$outboundSchema: z.ZodType<
|
|
7246
|
+
DeploymentGetConfig2Deployments1$Outbound,
|
|
7065
7247
|
z.ZodTypeDef,
|
|
7066
|
-
|
|
7248
|
+
DeploymentGetConfig2Deployments1
|
|
7067
7249
|
> = z.object({
|
|
7068
7250
|
type: DeploymentGetConfig2DeploymentsResponseType$outboundSchema,
|
|
7069
7251
|
text: z.string(),
|
|
7070
7252
|
});
|
|
7071
7253
|
|
|
7072
|
-
export function
|
|
7073
|
-
|
|
7254
|
+
export function deploymentGetConfig2Deployments1ToJSON(
|
|
7255
|
+
deploymentGetConfig2Deployments1: DeploymentGetConfig2Deployments1,
|
|
7074
7256
|
): string {
|
|
7075
7257
|
return JSON.stringify(
|
|
7076
|
-
|
|
7258
|
+
DeploymentGetConfig2Deployments1$outboundSchema.parse(
|
|
7259
|
+
deploymentGetConfig2Deployments1,
|
|
7260
|
+
),
|
|
7077
7261
|
);
|
|
7078
7262
|
}
|
|
7079
|
-
export function
|
|
7263
|
+
export function deploymentGetConfig2Deployments1FromJSON(
|
|
7080
7264
|
jsonString: string,
|
|
7081
|
-
): SafeParseResult<
|
|
7265
|
+
): SafeParseResult<DeploymentGetConfig2Deployments1, SDKValidationError> {
|
|
7082
7266
|
return safeParse(
|
|
7083
7267
|
jsonString,
|
|
7084
|
-
(x) =>
|
|
7085
|
-
`Failed to parse '
|
|
7268
|
+
(x) => DeploymentGetConfig2Deployments1$inboundSchema.parse(JSON.parse(x)),
|
|
7269
|
+
`Failed to parse 'DeploymentGetConfig2Deployments1' from JSON`,
|
|
7086
7270
|
);
|
|
7087
7271
|
}
|
|
7088
7272
|
|
|
@@ -7093,15 +7277,15 @@ export const DeploymentGetConfigContentDeploymentsResponse2$inboundSchema:
|
|
|
7093
7277
|
z.ZodTypeDef,
|
|
7094
7278
|
unknown
|
|
7095
7279
|
> = z.union([
|
|
7096
|
-
z.lazy(() =>
|
|
7097
|
-
z.lazy(() =>
|
|
7098
|
-
z.lazy(() =>
|
|
7280
|
+
z.lazy(() => DeploymentGetConfig2Deployments1$inboundSchema),
|
|
7281
|
+
z.lazy(() => DeploymentGetConfig2DeploymentsResponse2$inboundSchema),
|
|
7282
|
+
z.lazy(() => DeploymentGetConfig2Deployments3$inboundSchema),
|
|
7099
7283
|
]);
|
|
7100
7284
|
/** @internal */
|
|
7101
7285
|
export type DeploymentGetConfigContentDeploymentsResponse2$Outbound =
|
|
7102
|
-
|
|
|
7103
|
-
|
|
|
7104
|
-
|
|
|
7286
|
+
| DeploymentGetConfig2Deployments1$Outbound
|
|
7287
|
+
| DeploymentGetConfig2DeploymentsResponse2$Outbound
|
|
7288
|
+
| DeploymentGetConfig2Deployments3$Outbound;
|
|
7105
7289
|
|
|
7106
7290
|
/** @internal */
|
|
7107
7291
|
export const DeploymentGetConfigContentDeploymentsResponse2$outboundSchema:
|
|
@@ -7110,9 +7294,9 @@ export const DeploymentGetConfigContentDeploymentsResponse2$outboundSchema:
|
|
|
7110
7294
|
z.ZodTypeDef,
|
|
7111
7295
|
DeploymentGetConfigContentDeploymentsResponse2
|
|
7112
7296
|
> = z.union([
|
|
7113
|
-
z.lazy(() =>
|
|
7114
|
-
z.lazy(() =>
|
|
7115
|
-
z.lazy(() =>
|
|
7297
|
+
z.lazy(() => DeploymentGetConfig2Deployments1$outboundSchema),
|
|
7298
|
+
z.lazy(() => DeploymentGetConfig2DeploymentsResponse2$outboundSchema),
|
|
7299
|
+
z.lazy(() => DeploymentGetConfig2Deployments3$outboundSchema),
|
|
7116
7300
|
]);
|
|
7117
7301
|
|
|
7118
7302
|
export function deploymentGetConfigContentDeploymentsResponse2ToJSON(
|
|
@@ -7149,18 +7333,18 @@ export const DeploymentGetConfigContent$inboundSchema: z.ZodType<
|
|
|
7149
7333
|
> = z.union([
|
|
7150
7334
|
z.string(),
|
|
7151
7335
|
z.array(z.union([
|
|
7152
|
-
z.lazy(() =>
|
|
7153
|
-
z.lazy(() =>
|
|
7154
|
-
z.lazy(() =>
|
|
7336
|
+
z.lazy(() => DeploymentGetConfig2Deployments1$inboundSchema),
|
|
7337
|
+
z.lazy(() => DeploymentGetConfig2DeploymentsResponse2$inboundSchema),
|
|
7338
|
+
z.lazy(() => DeploymentGetConfig2Deployments3$inboundSchema),
|
|
7155
7339
|
])),
|
|
7156
7340
|
]);
|
|
7157
7341
|
/** @internal */
|
|
7158
7342
|
export type DeploymentGetConfigContent$Outbound =
|
|
7159
7343
|
| string
|
|
7160
7344
|
| Array<
|
|
7161
|
-
|
|
|
7162
|
-
|
|
|
7163
|
-
|
|
|
7345
|
+
| DeploymentGetConfig2Deployments1$Outbound
|
|
7346
|
+
| DeploymentGetConfig2DeploymentsResponse2$Outbound
|
|
7347
|
+
| DeploymentGetConfig2Deployments3$Outbound
|
|
7164
7348
|
>;
|
|
7165
7349
|
|
|
7166
7350
|
/** @internal */
|
|
@@ -7171,9 +7355,9 @@ export const DeploymentGetConfigContent$outboundSchema: z.ZodType<
|
|
|
7171
7355
|
> = z.union([
|
|
7172
7356
|
z.string(),
|
|
7173
7357
|
z.array(z.union([
|
|
7174
|
-
z.lazy(() =>
|
|
7175
|
-
z.lazy(() =>
|
|
7176
|
-
z.lazy(() =>
|
|
7358
|
+
z.lazy(() => DeploymentGetConfig2Deployments1$outboundSchema),
|
|
7359
|
+
z.lazy(() => DeploymentGetConfig2DeploymentsResponse2$outboundSchema),
|
|
7360
|
+
z.lazy(() => DeploymentGetConfig2Deployments3$outboundSchema),
|
|
7177
7361
|
])),
|
|
7178
7362
|
]);
|
|
7179
7363
|
|
|
@@ -7300,8 +7484,8 @@ export function deploymentGetConfigToolCallsFromJSON(
|
|
|
7300
7484
|
}
|
|
7301
7485
|
|
|
7302
7486
|
/** @internal */
|
|
7303
|
-
export const
|
|
7304
|
-
|
|
7487
|
+
export const DeploymentGetConfigDeploymentsMessages$inboundSchema: z.ZodType<
|
|
7488
|
+
DeploymentGetConfigDeploymentsMessages,
|
|
7305
7489
|
z.ZodTypeDef,
|
|
7306
7490
|
unknown
|
|
7307
7491
|
> = z.object({
|
|
@@ -7311,9 +7495,9 @@ export const DeploymentGetConfigMessages$inboundSchema: z.ZodType<
|
|
|
7311
7495
|
z.string(),
|
|
7312
7496
|
z.array(
|
|
7313
7497
|
z.union([
|
|
7314
|
-
z.lazy(() =>
|
|
7315
|
-
z.lazy(() =>
|
|
7316
|
-
z.lazy(() =>
|
|
7498
|
+
z.lazy(() => DeploymentGetConfig2Deployments1$inboundSchema),
|
|
7499
|
+
z.lazy(() => DeploymentGetConfig2DeploymentsResponse2$inboundSchema),
|
|
7500
|
+
z.lazy(() => DeploymentGetConfig2Deployments3$inboundSchema),
|
|
7317
7501
|
]),
|
|
7318
7502
|
),
|
|
7319
7503
|
]),
|
|
@@ -7328,14 +7512,14 @@ export const DeploymentGetConfigMessages$inboundSchema: z.ZodType<
|
|
|
7328
7512
|
});
|
|
7329
7513
|
});
|
|
7330
7514
|
/** @internal */
|
|
7331
|
-
export type
|
|
7515
|
+
export type DeploymentGetConfigDeploymentsMessages$Outbound = {
|
|
7332
7516
|
role: string;
|
|
7333
7517
|
content:
|
|
7334
7518
|
| string
|
|
7335
7519
|
| Array<
|
|
7336
|
-
|
|
|
7337
|
-
|
|
|
7338
|
-
|
|
|
7520
|
+
| DeploymentGetConfig2Deployments1$Outbound
|
|
7521
|
+
| DeploymentGetConfig2DeploymentsResponse2$Outbound
|
|
7522
|
+
| DeploymentGetConfig2Deployments3$Outbound
|
|
7339
7523
|
>
|
|
7340
7524
|
| null;
|
|
7341
7525
|
tool_calls?: Array<DeploymentGetConfigToolCalls$Outbound> | undefined;
|
|
@@ -7343,10 +7527,10 @@ export type DeploymentGetConfigMessages$Outbound = {
|
|
|
7343
7527
|
};
|
|
7344
7528
|
|
|
7345
7529
|
/** @internal */
|
|
7346
|
-
export const
|
|
7347
|
-
|
|
7530
|
+
export const DeploymentGetConfigDeploymentsMessages$outboundSchema: z.ZodType<
|
|
7531
|
+
DeploymentGetConfigDeploymentsMessages$Outbound,
|
|
7348
7532
|
z.ZodTypeDef,
|
|
7349
|
-
|
|
7533
|
+
DeploymentGetConfigDeploymentsMessages
|
|
7350
7534
|
> = z.object({
|
|
7351
7535
|
role: DeploymentGetConfigRole$outboundSchema,
|
|
7352
7536
|
content: z.nullable(
|
|
@@ -7354,9 +7538,11 @@ export const DeploymentGetConfigMessages$outboundSchema: z.ZodType<
|
|
|
7354
7538
|
z.string(),
|
|
7355
7539
|
z.array(
|
|
7356
7540
|
z.union([
|
|
7357
|
-
z.lazy(() =>
|
|
7358
|
-
z.lazy(() =>
|
|
7359
|
-
|
|
7541
|
+
z.lazy(() => DeploymentGetConfig2Deployments1$outboundSchema),
|
|
7542
|
+
z.lazy(() =>
|
|
7543
|
+
DeploymentGetConfig2DeploymentsResponse2$outboundSchema
|
|
7544
|
+
),
|
|
7545
|
+
z.lazy(() => DeploymentGetConfig2Deployments3$outboundSchema),
|
|
7360
7546
|
]),
|
|
7361
7547
|
),
|
|
7362
7548
|
]),
|
|
@@ -7371,22 +7557,24 @@ export const DeploymentGetConfigMessages$outboundSchema: z.ZodType<
|
|
|
7371
7557
|
});
|
|
7372
7558
|
});
|
|
7373
7559
|
|
|
7374
|
-
export function
|
|
7375
|
-
|
|
7560
|
+
export function deploymentGetConfigDeploymentsMessagesToJSON(
|
|
7561
|
+
deploymentGetConfigDeploymentsMessages:
|
|
7562
|
+
DeploymentGetConfigDeploymentsMessages,
|
|
7376
7563
|
): string {
|
|
7377
7564
|
return JSON.stringify(
|
|
7378
|
-
|
|
7379
|
-
|
|
7565
|
+
DeploymentGetConfigDeploymentsMessages$outboundSchema.parse(
|
|
7566
|
+
deploymentGetConfigDeploymentsMessages,
|
|
7380
7567
|
),
|
|
7381
7568
|
);
|
|
7382
7569
|
}
|
|
7383
|
-
export function
|
|
7570
|
+
export function deploymentGetConfigDeploymentsMessagesFromJSON(
|
|
7384
7571
|
jsonString: string,
|
|
7385
|
-
): SafeParseResult<
|
|
7572
|
+
): SafeParseResult<DeploymentGetConfigDeploymentsMessages, SDKValidationError> {
|
|
7386
7573
|
return safeParse(
|
|
7387
7574
|
jsonString,
|
|
7388
|
-
(x) =>
|
|
7389
|
-
|
|
7575
|
+
(x) =>
|
|
7576
|
+
DeploymentGetConfigDeploymentsMessages$inboundSchema.parse(JSON.parse(x)),
|
|
7577
|
+
`Failed to parse 'DeploymentGetConfigDeploymentsMessages' from JSON`,
|
|
7390
7578
|
);
|
|
7391
7579
|
}
|
|
7392
7580
|
|
|
@@ -8001,7 +8189,9 @@ export const DeploymentGetConfigResponseBody$inboundSchema: z.ZodType<
|
|
|
8001
8189
|
model: z.string(),
|
|
8002
8190
|
type: DeploymentGetConfigType$inboundSchema.optional(),
|
|
8003
8191
|
version: z.string(),
|
|
8004
|
-
messages: z.array(
|
|
8192
|
+
messages: z.array(
|
|
8193
|
+
z.lazy(() => DeploymentGetConfigDeploymentsMessages$inboundSchema),
|
|
8194
|
+
),
|
|
8005
8195
|
parameters: z.lazy(() => DeploymentGetConfigParameters$inboundSchema),
|
|
8006
8196
|
tools: z.array(z.lazy(() => DeploymentGetConfigTools$inboundSchema))
|
|
8007
8197
|
.optional(),
|
|
@@ -8013,7 +8203,7 @@ export type DeploymentGetConfigResponseBody$Outbound = {
|
|
|
8013
8203
|
model: string;
|
|
8014
8204
|
type?: string | undefined;
|
|
8015
8205
|
version: string;
|
|
8016
|
-
messages: Array<
|
|
8206
|
+
messages: Array<DeploymentGetConfigDeploymentsMessages$Outbound>;
|
|
8017
8207
|
parameters: DeploymentGetConfigParameters$Outbound;
|
|
8018
8208
|
tools?: Array<DeploymentGetConfigTools$Outbound> | undefined;
|
|
8019
8209
|
};
|
|
@@ -8029,7 +8219,9 @@ export const DeploymentGetConfigResponseBody$outboundSchema: z.ZodType<
|
|
|
8029
8219
|
model: z.string(),
|
|
8030
8220
|
type: DeploymentGetConfigType$outboundSchema.optional(),
|
|
8031
8221
|
version: z.string(),
|
|
8032
|
-
messages: z.array(
|
|
8222
|
+
messages: z.array(
|
|
8223
|
+
z.lazy(() => DeploymentGetConfigDeploymentsMessages$outboundSchema),
|
|
8224
|
+
),
|
|
8033
8225
|
parameters: z.lazy(() => DeploymentGetConfigParameters$outboundSchema),
|
|
8034
8226
|
tools: z.array(z.lazy(() => DeploymentGetConfigTools$outboundSchema))
|
|
8035
8227
|
.optional(),
|