@orq-ai/node 4.0.0-rc.5 → 4.0.0-rc.7
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 +7487 -543
- package/bin/mcp-server.js.map +52 -52
- 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/createagent.d.ts +4141 -865
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +3767 -768
- package/models/operations/createagent.js.map +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/creatememorystore.d.ts +42 -42
- package/models/operations/creatememorystore.d.ts.map +1 -1
- package/models/operations/creatememorystore.js +61 -63
- package/models/operations/creatememorystore.js.map +1 -1
- package/models/operations/createprompt.d.ts +263 -263
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +345 -345
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +10 -10
- package/models/operations/deploymentgetconfig.d.ts +19 -19
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +22 -22
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +4 -4
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +4 -4
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +1614 -11
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +1475 -9
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getallprompts.d.ts +4 -4
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +4 -4
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +4 -4
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +4 -4
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +4 -4
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +4 -4
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listagents.d.ts +1614 -11
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +1481 -9
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +1614 -11
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +1479 -9
- package/models/operations/listagenttasks.js.map +1 -1
- 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/listpromptversions.d.ts +4 -4
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +4 -4
- package/models/operations/listpromptversions.js.map +1 -1
- 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 +10 -10
- package/models/operations/runagent.d.ts +2176 -503
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +1534 -9
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +2128 -455
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +1630 -89
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +4129 -853
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +3837 -825
- package/models/operations/updateagent.js.map +1 -1
- 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/updateprompt.d.ts +8 -8
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +8 -8
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +10 -10
- package/package.json +1 -1
- 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/createagent.ts +7853 -1626
- 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/creatememorystore.ts +120 -103
- package/src/models/operations/createprompt.ts +742 -621
- package/src/models/operations/createtool.ts +10 -10
- package/src/models/operations/deploymentgetconfig.ts +60 -44
- package/src/models/operations/deployments.ts +25 -20
- package/src/models/operations/duplicatetool.ts +10 -10
- 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/getagent.ts +3274 -246
- package/src/models/operations/getallprompts.ts +30 -20
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +28 -20
- package/src/models/operations/getpromptversion.ts +30 -20
- package/src/models/operations/listagents.ts +3351 -270
- package/src/models/operations/listagenttasks.ts +3347 -180
- 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/listpromptversions.ts +30 -20
- 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 +10 -10
- package/src/models/operations/runagent.ts +3799 -610
- package/src/models/operations/streamrunagent.ts +3945 -605
- package/src/models/operations/updateagent.ts +8331 -1757
- 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/updateprompt.ts +58 -40
- package/src/models/operations/updatetool.ts +10 -10
|
@@ -2601,7 +2601,7 @@ export const ResponseBody5$inboundSchema: z.ZodType<
|
|
|
2601
2601
|
z.ZodTypeDef,
|
|
2602
2602
|
unknown
|
|
2603
2603
|
> = z.object({
|
|
2604
|
-
_id: z.string().default("
|
|
2604
|
+
_id: z.string().default("01K97GV6DYBGQQTNQ842J3ZSEA"),
|
|
2605
2605
|
path: z.string(),
|
|
2606
2606
|
key: z.string(),
|
|
2607
2607
|
display_name: z.string().optional(),
|
|
@@ -2656,7 +2656,7 @@ export const ResponseBody5$outboundSchema: z.ZodType<
|
|
|
2656
2656
|
z.ZodTypeDef,
|
|
2657
2657
|
ResponseBody5
|
|
2658
2658
|
> = z.object({
|
|
2659
|
-
id: z.string().default("
|
|
2659
|
+
id: z.string().default("01K97GV6DYBGQQTNQ842J3ZSEA"),
|
|
2660
2660
|
path: z.string(),
|
|
2661
2661
|
key: z.string(),
|
|
2662
2662
|
displayName: z.string().optional(),
|
|
@@ -3015,7 +3015,7 @@ export const ResponseBody4$inboundSchema: z.ZodType<
|
|
|
3015
3015
|
z.ZodTypeDef,
|
|
3016
3016
|
unknown
|
|
3017
3017
|
> = z.object({
|
|
3018
|
-
_id: z.string().default("
|
|
3018
|
+
_id: z.string().default("01K97GV6DSYHBJPVKNQR4TZ2BY"),
|
|
3019
3019
|
path: z.string(),
|
|
3020
3020
|
key: z.string(),
|
|
3021
3021
|
display_name: z.string().optional(),
|
|
@@ -3069,7 +3069,7 @@ export const ResponseBody4$outboundSchema: z.ZodType<
|
|
|
3069
3069
|
z.ZodTypeDef,
|
|
3070
3070
|
ResponseBody4
|
|
3071
3071
|
> = z.object({
|
|
3072
|
-
id: z.string().default("
|
|
3072
|
+
id: z.string().default("01K97GV6DSYHBJPVKNQR4TZ2BY"),
|
|
3073
3073
|
path: z.string(),
|
|
3074
3074
|
key: z.string(),
|
|
3075
3075
|
displayName: z.string().optional(),
|
|
@@ -3467,7 +3467,7 @@ export const ResponseBody3$inboundSchema: z.ZodType<
|
|
|
3467
3467
|
z.ZodTypeDef,
|
|
3468
3468
|
unknown
|
|
3469
3469
|
> = z.object({
|
|
3470
|
-
_id: z.string().default("
|
|
3470
|
+
_id: z.string().default("01K97GV6DP9050R72167NFV8P7"),
|
|
3471
3471
|
path: z.string(),
|
|
3472
3472
|
key: z.string(),
|
|
3473
3473
|
display_name: z.string().optional(),
|
|
@@ -3519,7 +3519,7 @@ export const ResponseBody3$outboundSchema: z.ZodType<
|
|
|
3519
3519
|
z.ZodTypeDef,
|
|
3520
3520
|
ResponseBody3
|
|
3521
3521
|
> = z.object({
|
|
3522
|
-
id: z.string().default("
|
|
3522
|
+
id: z.string().default("01K97GV6DP9050R72167NFV8P7"),
|
|
3523
3523
|
path: z.string(),
|
|
3524
3524
|
key: z.string(),
|
|
3525
3525
|
displayName: z.string().optional(),
|
|
@@ -3684,7 +3684,7 @@ export const ResponseBody2$inboundSchema: z.ZodType<
|
|
|
3684
3684
|
z.ZodTypeDef,
|
|
3685
3685
|
unknown
|
|
3686
3686
|
> = z.object({
|
|
3687
|
-
_id: z.string().default("
|
|
3687
|
+
_id: z.string().default("01K97GV6DMBKX7Q86F9WGX2150"),
|
|
3688
3688
|
path: z.string(),
|
|
3689
3689
|
key: z.string(),
|
|
3690
3690
|
display_name: z.string().optional(),
|
|
@@ -3737,7 +3737,7 @@ export const ResponseBody2$outboundSchema: z.ZodType<
|
|
|
3737
3737
|
z.ZodTypeDef,
|
|
3738
3738
|
ResponseBody2
|
|
3739
3739
|
> = z.object({
|
|
3740
|
-
id: z.string().default("
|
|
3740
|
+
id: z.string().default("01K97GV6DMBKX7Q86F9WGX2150"),
|
|
3741
3741
|
path: z.string(),
|
|
3742
3742
|
key: z.string(),
|
|
3743
3743
|
displayName: z.string().optional(),
|
|
@@ -3905,7 +3905,7 @@ export const ResponseBody1$inboundSchema: z.ZodType<
|
|
|
3905
3905
|
z.ZodTypeDef,
|
|
3906
3906
|
unknown
|
|
3907
3907
|
> = z.object({
|
|
3908
|
-
_id: z.string().default("
|
|
3908
|
+
_id: z.string().default("01K97GV6DJMWXPF042JTNWXSET"),
|
|
3909
3909
|
path: z.string(),
|
|
3910
3910
|
key: z.string(),
|
|
3911
3911
|
display_name: z.string().optional(),
|
|
@@ -3957,7 +3957,7 @@ export const ResponseBody1$outboundSchema: z.ZodType<
|
|
|
3957
3957
|
z.ZodTypeDef,
|
|
3958
3958
|
ResponseBody1
|
|
3959
3959
|
> = z.object({
|
|
3960
|
-
id: z.string().default("
|
|
3960
|
+
id: z.string().default("01K97GV6DJMWXPF042JTNWXSET"),
|
|
3961
3961
|
path: z.string(),
|
|
3962
3962
|
key: z.string(),
|
|
3963
3963
|
displayName: z.string().optional(),
|
|
@@ -1475,7 +1475,7 @@ export type DeploymentGetConfigContentDeploymentsResponse2 =
|
|
|
1475
1475
|
| DeploymentGetConfig23;
|
|
1476
1476
|
|
|
1477
1477
|
/**
|
|
1478
|
-
* 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.
|
|
1478
|
+
* 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.
|
|
1479
1479
|
*/
|
|
1480
1480
|
export type DeploymentGetConfigContent =
|
|
1481
1481
|
| string
|
|
@@ -1513,7 +1513,7 @@ export type DeploymentGetConfigMessages = {
|
|
|
1513
1513
|
*/
|
|
1514
1514
|
role: DeploymentGetConfigRole;
|
|
1515
1515
|
/**
|
|
1516
|
-
* 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.
|
|
1516
|
+
* 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.
|
|
1517
1517
|
*/
|
|
1518
1518
|
content:
|
|
1519
1519
|
| string
|
|
@@ -1521,7 +1521,8 @@ export type DeploymentGetConfigMessages = {
|
|
|
1521
1521
|
| DeploymentGetConfig21
|
|
1522
1522
|
| DeploymentGetConfig2Deployments2
|
|
1523
1523
|
| DeploymentGetConfig23
|
|
1524
|
-
|
|
1524
|
+
>
|
|
1525
|
+
| null;
|
|
1525
1526
|
toolCalls?: Array<DeploymentGetConfigToolCalls> | undefined;
|
|
1526
1527
|
toolCallId?: string | undefined;
|
|
1527
1528
|
};
|
|
@@ -1695,7 +1696,7 @@ export type DeploymentGetConfigVerbosity = ClosedEnum<
|
|
|
1695
1696
|
/**
|
|
1696
1697
|
* Model Parameters: Not all parameters apply to every model
|
|
1697
1698
|
*/
|
|
1698
|
-
export type
|
|
1699
|
+
export type DeploymentGetConfigParameters = {
|
|
1699
1700
|
/**
|
|
1700
1701
|
* Only supported on `chat` and `completion` models.
|
|
1701
1702
|
*/
|
|
@@ -1854,7 +1855,7 @@ export type DeploymentGetConfigResponseBody = {
|
|
|
1854
1855
|
/**
|
|
1855
1856
|
* Model Parameters: Not all parameters apply to every model
|
|
1856
1857
|
*/
|
|
1857
|
-
parameters:
|
|
1858
|
+
parameters: DeploymentGetConfigParameters;
|
|
1858
1859
|
/**
|
|
1859
1860
|
* A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for.
|
|
1860
1861
|
*/
|
|
@@ -9510,14 +9511,18 @@ export const DeploymentGetConfigMessages$inboundSchema: z.ZodType<
|
|
|
9510
9511
|
unknown
|
|
9511
9512
|
> = z.object({
|
|
9512
9513
|
role: DeploymentGetConfigRole$inboundSchema,
|
|
9513
|
-
content: z.
|
|
9514
|
-
z.
|
|
9515
|
-
|
|
9516
|
-
z.
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9514
|
+
content: z.nullable(
|
|
9515
|
+
z.union([
|
|
9516
|
+
z.string(),
|
|
9517
|
+
z.array(
|
|
9518
|
+
z.union([
|
|
9519
|
+
z.lazy(() => DeploymentGetConfig21$inboundSchema),
|
|
9520
|
+
z.lazy(() => DeploymentGetConfig2Deployments2$inboundSchema),
|
|
9521
|
+
z.lazy(() => DeploymentGetConfig23$inboundSchema),
|
|
9522
|
+
]),
|
|
9523
|
+
),
|
|
9524
|
+
]),
|
|
9525
|
+
),
|
|
9521
9526
|
tool_calls: z.array(z.lazy(() => DeploymentGetConfigToolCalls$inboundSchema))
|
|
9522
9527
|
.optional(),
|
|
9523
9528
|
tool_call_id: z.string().optional(),
|
|
@@ -9537,7 +9542,8 @@ export type DeploymentGetConfigMessages$Outbound = {
|
|
|
9537
9542
|
| DeploymentGetConfig21$Outbound
|
|
9538
9543
|
| DeploymentGetConfig2Deployments2$Outbound
|
|
9539
9544
|
| DeploymentGetConfig23$Outbound
|
|
9540
|
-
|
|
9545
|
+
>
|
|
9546
|
+
| null;
|
|
9541
9547
|
tool_calls?: Array<DeploymentGetConfigToolCalls$Outbound> | undefined;
|
|
9542
9548
|
tool_call_id?: string | undefined;
|
|
9543
9549
|
};
|
|
@@ -9549,14 +9555,18 @@ export const DeploymentGetConfigMessages$outboundSchema: z.ZodType<
|
|
|
9549
9555
|
DeploymentGetConfigMessages
|
|
9550
9556
|
> = z.object({
|
|
9551
9557
|
role: DeploymentGetConfigRole$outboundSchema,
|
|
9552
|
-
content: z.
|
|
9553
|
-
z.
|
|
9554
|
-
|
|
9555
|
-
z.
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9558
|
+
content: z.nullable(
|
|
9559
|
+
z.union([
|
|
9560
|
+
z.string(),
|
|
9561
|
+
z.array(
|
|
9562
|
+
z.union([
|
|
9563
|
+
z.lazy(() => DeploymentGetConfig21$outboundSchema),
|
|
9564
|
+
z.lazy(() => DeploymentGetConfig2Deployments2$outboundSchema),
|
|
9565
|
+
z.lazy(() => DeploymentGetConfig23$outboundSchema),
|
|
9566
|
+
]),
|
|
9567
|
+
),
|
|
9568
|
+
]),
|
|
9569
|
+
),
|
|
9560
9570
|
toolCalls: z.array(z.lazy(() => DeploymentGetConfigToolCalls$outboundSchema))
|
|
9561
9571
|
.optional(),
|
|
9562
9572
|
toolCallId: z.string().optional(),
|
|
@@ -10184,8 +10194,8 @@ export namespace DeploymentGetConfigVerbosity$ {
|
|
|
10184
10194
|
}
|
|
10185
10195
|
|
|
10186
10196
|
/** @internal */
|
|
10187
|
-
export const
|
|
10188
|
-
|
|
10197
|
+
export const DeploymentGetConfigParameters$inboundSchema: z.ZodType<
|
|
10198
|
+
DeploymentGetConfigParameters,
|
|
10189
10199
|
z.ZodTypeDef,
|
|
10190
10200
|
unknown
|
|
10191
10201
|
> = z.object({
|
|
@@ -10224,7 +10234,7 @@ export const ParametersT$inboundSchema: z.ZodType<
|
|
|
10224
10234
|
});
|
|
10225
10235
|
|
|
10226
10236
|
/** @internal */
|
|
10227
|
-
export type
|
|
10237
|
+
export type DeploymentGetConfigParameters$Outbound = {
|
|
10228
10238
|
temperature?: number | undefined;
|
|
10229
10239
|
maxTokens?: number | undefined;
|
|
10230
10240
|
topK?: number | undefined;
|
|
@@ -10254,10 +10264,10 @@ export type ParametersT$Outbound = {
|
|
|
10254
10264
|
};
|
|
10255
10265
|
|
|
10256
10266
|
/** @internal */
|
|
10257
|
-
export const
|
|
10258
|
-
|
|
10267
|
+
export const DeploymentGetConfigParameters$outboundSchema: z.ZodType<
|
|
10268
|
+
DeploymentGetConfigParameters$Outbound,
|
|
10259
10269
|
z.ZodTypeDef,
|
|
10260
|
-
|
|
10270
|
+
DeploymentGetConfigParameters
|
|
10261
10271
|
> = z.object({
|
|
10262
10272
|
temperature: z.number().optional(),
|
|
10263
10273
|
maxTokens: z.number().optional(),
|
|
@@ -10297,26 +10307,32 @@ export const ParametersT$outboundSchema: z.ZodType<
|
|
|
10297
10307
|
* @internal
|
|
10298
10308
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
10299
10309
|
*/
|
|
10300
|
-
export namespace
|
|
10301
|
-
/** @deprecated use `
|
|
10302
|
-
export const inboundSchema =
|
|
10303
|
-
/** @deprecated use `
|
|
10304
|
-
export const outboundSchema =
|
|
10305
|
-
/** @deprecated use `
|
|
10306
|
-
export type Outbound =
|
|
10310
|
+
export namespace DeploymentGetConfigParameters$ {
|
|
10311
|
+
/** @deprecated use `DeploymentGetConfigParameters$inboundSchema` instead. */
|
|
10312
|
+
export const inboundSchema = DeploymentGetConfigParameters$inboundSchema;
|
|
10313
|
+
/** @deprecated use `DeploymentGetConfigParameters$outboundSchema` instead. */
|
|
10314
|
+
export const outboundSchema = DeploymentGetConfigParameters$outboundSchema;
|
|
10315
|
+
/** @deprecated use `DeploymentGetConfigParameters$Outbound` instead. */
|
|
10316
|
+
export type Outbound = DeploymentGetConfigParameters$Outbound;
|
|
10307
10317
|
}
|
|
10308
10318
|
|
|
10309
|
-
export function
|
|
10310
|
-
|
|
10319
|
+
export function deploymentGetConfigParametersToJSON(
|
|
10320
|
+
deploymentGetConfigParameters: DeploymentGetConfigParameters,
|
|
10321
|
+
): string {
|
|
10322
|
+
return JSON.stringify(
|
|
10323
|
+
DeploymentGetConfigParameters$outboundSchema.parse(
|
|
10324
|
+
deploymentGetConfigParameters,
|
|
10325
|
+
),
|
|
10326
|
+
);
|
|
10311
10327
|
}
|
|
10312
10328
|
|
|
10313
|
-
export function
|
|
10329
|
+
export function deploymentGetConfigParametersFromJSON(
|
|
10314
10330
|
jsonString: string,
|
|
10315
|
-
): SafeParseResult<
|
|
10331
|
+
): SafeParseResult<DeploymentGetConfigParameters, SDKValidationError> {
|
|
10316
10332
|
return safeParse(
|
|
10317
10333
|
jsonString,
|
|
10318
|
-
(x) =>
|
|
10319
|
-
`Failed to parse '
|
|
10334
|
+
(x) => DeploymentGetConfigParameters$inboundSchema.parse(JSON.parse(x)),
|
|
10335
|
+
`Failed to parse 'DeploymentGetConfigParameters' from JSON`,
|
|
10320
10336
|
);
|
|
10321
10337
|
}
|
|
10322
10338
|
|
|
@@ -10466,7 +10482,7 @@ export const DeploymentGetConfigResponseBody$inboundSchema: z.ZodType<
|
|
|
10466
10482
|
type: DeploymentGetConfigType$inboundSchema.optional(),
|
|
10467
10483
|
version: z.string(),
|
|
10468
10484
|
messages: z.array(z.lazy(() => DeploymentGetConfigMessages$inboundSchema)),
|
|
10469
|
-
parameters: z.lazy(() =>
|
|
10485
|
+
parameters: z.lazy(() => DeploymentGetConfigParameters$inboundSchema),
|
|
10470
10486
|
tools: z.array(z.lazy(() => Tools$inboundSchema)).optional(),
|
|
10471
10487
|
});
|
|
10472
10488
|
|
|
@@ -10478,7 +10494,7 @@ export type DeploymentGetConfigResponseBody$Outbound = {
|
|
|
10478
10494
|
type?: string | undefined;
|
|
10479
10495
|
version: string;
|
|
10480
10496
|
messages: Array<DeploymentGetConfigMessages$Outbound>;
|
|
10481
|
-
parameters:
|
|
10497
|
+
parameters: DeploymentGetConfigParameters$Outbound;
|
|
10482
10498
|
tools?: Array<Tools$Outbound> | undefined;
|
|
10483
10499
|
};
|
|
10484
10500
|
|
|
@@ -10494,7 +10510,7 @@ export const DeploymentGetConfigResponseBody$outboundSchema: z.ZodType<
|
|
|
10494
10510
|
type: DeploymentGetConfigType$outboundSchema.optional(),
|
|
10495
10511
|
version: z.string(),
|
|
10496
10512
|
messages: z.array(z.lazy(() => DeploymentGetConfigMessages$outboundSchema)),
|
|
10497
|
-
parameters: z.lazy(() =>
|
|
10513
|
+
parameters: z.lazy(() => DeploymentGetConfigParameters$outboundSchema),
|
|
10498
10514
|
tools: z.array(z.lazy(() => Tools$outboundSchema)).optional(),
|
|
10499
10515
|
});
|
|
10500
10516
|
|
|
@@ -497,7 +497,7 @@ export type Deployments21 = {
|
|
|
497
497
|
export type DeploymentsContent2 = Deployments21 | Deployments22 | Deployments23;
|
|
498
498
|
|
|
499
499
|
/**
|
|
500
|
-
* 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.
|
|
500
|
+
* 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.
|
|
501
501
|
*/
|
|
502
502
|
export type DeploymentsContent =
|
|
503
503
|
| string
|
|
@@ -531,9 +531,9 @@ export type DeploymentsMessages = {
|
|
|
531
531
|
*/
|
|
532
532
|
role: DeploymentsRole;
|
|
533
533
|
/**
|
|
534
|
-
* 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.
|
|
534
|
+
* 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.
|
|
535
535
|
*/
|
|
536
|
-
content: string | Array<Deployments21 | Deployments22 | Deployments23
|
|
536
|
+
content: string | Array<Deployments21 | Deployments22 | Deployments23> | null;
|
|
537
537
|
toolCalls?: Array<DeploymentsToolCalls> | undefined;
|
|
538
538
|
toolCallId?: string | undefined;
|
|
539
539
|
};
|
|
@@ -2294,14 +2294,16 @@ export const DeploymentsMessages$inboundSchema: z.ZodType<
|
|
|
2294
2294
|
unknown
|
|
2295
2295
|
> = z.object({
|
|
2296
2296
|
role: DeploymentsRole$inboundSchema,
|
|
2297
|
-
content: z.
|
|
2298
|
-
z.
|
|
2299
|
-
|
|
2300
|
-
z.
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2297
|
+
content: z.nullable(
|
|
2298
|
+
z.union([
|
|
2299
|
+
z.string(),
|
|
2300
|
+
z.array(z.union([
|
|
2301
|
+
z.lazy(() => Deployments21$inboundSchema),
|
|
2302
|
+
z.lazy(() => Deployments22$inboundSchema),
|
|
2303
|
+
z.lazy(() => Deployments23$inboundSchema),
|
|
2304
|
+
])),
|
|
2305
|
+
]),
|
|
2306
|
+
),
|
|
2305
2307
|
tool_calls: z.array(z.lazy(() => DeploymentsToolCalls$inboundSchema))
|
|
2306
2308
|
.optional(),
|
|
2307
2309
|
tool_call_id: z.string().optional(),
|
|
@@ -2319,7 +2321,8 @@ export type DeploymentsMessages$Outbound = {
|
|
|
2319
2321
|
| string
|
|
2320
2322
|
| Array<
|
|
2321
2323
|
Deployments21$Outbound | Deployments22$Outbound | Deployments23$Outbound
|
|
2322
|
-
|
|
2324
|
+
>
|
|
2325
|
+
| null;
|
|
2323
2326
|
tool_calls?: Array<DeploymentsToolCalls$Outbound> | undefined;
|
|
2324
2327
|
tool_call_id?: string | undefined;
|
|
2325
2328
|
};
|
|
@@ -2331,14 +2334,16 @@ export const DeploymentsMessages$outboundSchema: z.ZodType<
|
|
|
2331
2334
|
DeploymentsMessages
|
|
2332
2335
|
> = z.object({
|
|
2333
2336
|
role: DeploymentsRole$outboundSchema,
|
|
2334
|
-
content: z.
|
|
2335
|
-
z.
|
|
2336
|
-
|
|
2337
|
-
z.
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2337
|
+
content: z.nullable(
|
|
2338
|
+
z.union([
|
|
2339
|
+
z.string(),
|
|
2340
|
+
z.array(z.union([
|
|
2341
|
+
z.lazy(() => Deployments21$outboundSchema),
|
|
2342
|
+
z.lazy(() => Deployments22$outboundSchema),
|
|
2343
|
+
z.lazy(() => Deployments23$outboundSchema),
|
|
2344
|
+
])),
|
|
2345
|
+
]),
|
|
2346
|
+
),
|
|
2342
2347
|
toolCalls: z.array(z.lazy(() => DeploymentsToolCalls$outboundSchema))
|
|
2343
2348
|
.optional(),
|
|
2344
2349
|
toolCallId: z.string().optional(),
|
|
@@ -788,7 +788,7 @@ export const DuplicateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
788
788
|
z.ZodTypeDef,
|
|
789
789
|
unknown
|
|
790
790
|
> = z.object({
|
|
791
|
-
_id: z.string().default("
|
|
791
|
+
_id: z.string().default("01K97GV6F9JAKY91WSRC3CH9HH"),
|
|
792
792
|
path: z.string(),
|
|
793
793
|
key: z.string(),
|
|
794
794
|
display_name: z.string().optional(),
|
|
@@ -844,7 +844,7 @@ export const DuplicateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
844
844
|
z.ZodTypeDef,
|
|
845
845
|
DuplicateToolResponseBody5
|
|
846
846
|
> = z.object({
|
|
847
|
-
id: z.string().default("
|
|
847
|
+
id: z.string().default("01K97GV6F9JAKY91WSRC3CH9HH"),
|
|
848
848
|
path: z.string(),
|
|
849
849
|
key: z.string(),
|
|
850
850
|
displayName: z.string().optional(),
|
|
@@ -1232,7 +1232,7 @@ export const DuplicateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
1232
1232
|
z.ZodTypeDef,
|
|
1233
1233
|
unknown
|
|
1234
1234
|
> = z.object({
|
|
1235
|
-
_id: z.string().default("
|
|
1235
|
+
_id: z.string().default("01K97GV6F7PFZS8FHSAT0S709X"),
|
|
1236
1236
|
path: z.string(),
|
|
1237
1237
|
key: z.string(),
|
|
1238
1238
|
display_name: z.string().optional(),
|
|
@@ -1286,7 +1286,7 @@ export const DuplicateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
1286
1286
|
z.ZodTypeDef,
|
|
1287
1287
|
DuplicateToolResponseBody4
|
|
1288
1288
|
> = z.object({
|
|
1289
|
-
id: z.string().default("
|
|
1289
|
+
id: z.string().default("01K97GV6F7PFZS8FHSAT0S709X"),
|
|
1290
1290
|
path: z.string(),
|
|
1291
1291
|
key: z.string(),
|
|
1292
1292
|
displayName: z.string().optional(),
|
|
@@ -1713,7 +1713,7 @@ export const DuplicateToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
1713
1713
|
z.ZodTypeDef,
|
|
1714
1714
|
unknown
|
|
1715
1715
|
> = z.object({
|
|
1716
|
-
_id: z.string().default("
|
|
1716
|
+
_id: z.string().default("01K97GV6F541A36WXXAVF7WJ6S"),
|
|
1717
1717
|
path: z.string(),
|
|
1718
1718
|
key: z.string(),
|
|
1719
1719
|
display_name: z.string().optional(),
|
|
@@ -1767,7 +1767,7 @@ export const DuplicateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
1767
1767
|
z.ZodTypeDef,
|
|
1768
1768
|
DuplicateToolResponseBody3
|
|
1769
1769
|
> = z.object({
|
|
1770
|
-
id: z.string().default("
|
|
1770
|
+
id: z.string().default("01K97GV6F541A36WXXAVF7WJ6S"),
|
|
1771
1771
|
path: z.string(),
|
|
1772
1772
|
key: z.string(),
|
|
1773
1773
|
displayName: z.string().optional(),
|
|
@@ -1947,7 +1947,7 @@ export const DuplicateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
1947
1947
|
z.ZodTypeDef,
|
|
1948
1948
|
unknown
|
|
1949
1949
|
> = z.object({
|
|
1950
|
-
_id: z.string().default("
|
|
1950
|
+
_id: z.string().default("01K97GV6F4VMAT389B7CYA8VHP"),
|
|
1951
1951
|
path: z.string(),
|
|
1952
1952
|
key: z.string(),
|
|
1953
1953
|
display_name: z.string().optional(),
|
|
@@ -2000,7 +2000,7 @@ export const DuplicateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
2000
2000
|
z.ZodTypeDef,
|
|
2001
2001
|
DuplicateToolResponseBody2
|
|
2002
2002
|
> = z.object({
|
|
2003
|
-
id: z.string().default("
|
|
2003
|
+
id: z.string().default("01K97GV6F4VMAT389B7CYA8VHP"),
|
|
2004
2004
|
path: z.string(),
|
|
2005
2005
|
key: z.string(),
|
|
2006
2006
|
displayName: z.string().optional(),
|
|
@@ -2173,7 +2173,7 @@ export const DuplicateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
2173
2173
|
z.ZodTypeDef,
|
|
2174
2174
|
unknown
|
|
2175
2175
|
> = z.object({
|
|
2176
|
-
_id: z.string().default("
|
|
2176
|
+
_id: z.string().default("01K97GV6F37K7YSQ957KTV4NMX"),
|
|
2177
2177
|
path: z.string(),
|
|
2178
2178
|
key: z.string(),
|
|
2179
2179
|
display_name: z.string().optional(),
|
|
@@ -2225,7 +2225,7 @@ export const DuplicateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
2225
2225
|
z.ZodTypeDef,
|
|
2226
2226
|
DuplicateToolResponseBody1
|
|
2227
2227
|
> = z.object({
|
|
2228
|
-
id: z.string().default("
|
|
2228
|
+
id: z.string().default("01K97GV6F37K7YSQ957KTV4NMX"),
|
|
2229
2229
|
path: z.string(),
|
|
2230
2230
|
key: z.string(),
|
|
2231
2231
|
displayName: z.string().optional(),
|
|
@@ -146,7 +146,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
146
146
|
file_name: z.string(),
|
|
147
147
|
workspace_id: z.string(),
|
|
148
148
|
created: z.string().datetime({ offset: true }).default(
|
|
149
|
-
"2025-11-
|
|
149
|
+
"2025-11-04T13:27:54.840Z",
|
|
150
150
|
).transform(v => new Date(v)),
|
|
151
151
|
}).transform((v) => {
|
|
152
152
|
return remap$(v, {
|
|
@@ -180,7 +180,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
180
180
|
bytes: z.number(),
|
|
181
181
|
fileName: z.string(),
|
|
182
182
|
workspaceId: z.string(),
|
|
183
|
-
created: z.date().default(() => new Date("2025-11-
|
|
183
|
+
created: z.date().default(() => new Date("2025-11-04T13:27:54.840Z"))
|
|
184
184
|
.transform(v => v.toISOString()),
|
|
185
185
|
}).transform((v) => {
|
|
186
186
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
196
196
|
file_name: z.string(),
|
|
197
197
|
workspace_id: z.string(),
|
|
198
198
|
created: z.string().datetime({ offset: true }).default(
|
|
199
|
-
"2025-11-
|
|
199
|
+
"2025-11-04T13:27:54.840Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -230,7 +230,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
230
230
|
bytes: z.number(),
|
|
231
231
|
fileName: z.string(),
|
|
232
232
|
workspaceId: z.string(),
|
|
233
|
-
created: z.date().default(() => new Date("2025-11-
|
|
233
|
+
created: z.date().default(() => new Date("2025-11-04T13:27:54.840Z"))
|
|
234
234
|
.transform(v => v.toISOString()),
|
|
235
235
|
}).transform((v) => {
|
|
236
236
|
return remap$(v, {
|
|
@@ -250,7 +250,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
250
250
|
file_name: z.string(),
|
|
251
251
|
workspace_id: z.string(),
|
|
252
252
|
created: z.string().datetime({ offset: true }).default(
|
|
253
|
-
"2025-11-
|
|
253
|
+
"2025-11-04T13:27:54.840Z",
|
|
254
254
|
).transform(v => new Date(v)),
|
|
255
255
|
}).transform((v) => {
|
|
256
256
|
return remap$(v, {
|
|
@@ -284,7 +284,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
284
284
|
bytes: z.number(),
|
|
285
285
|
fileName: z.string(),
|
|
286
286
|
workspaceId: z.string(),
|
|
287
|
-
created: z.date().default(() => new Date("2025-11-
|
|
287
|
+
created: z.date().default(() => new Date("2025-11-04T13:27:54.840Z"))
|
|
288
288
|
.transform(v => v.toISOString()),
|
|
289
289
|
}).transform((v) => {
|
|
290
290
|
return remap$(v, {
|