@orq-ai/node 3.14.35 → 3.14.37
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/README.md +1 -1
- package/bin/mcp-server.js +529 -517
- package/bin/mcp-server.js.map +52 -52
- package/docs/sdks/deployments/README.md +43 -43
- package/examples/package-lock.json +2 -8
- package/funcs/deploymentsInvoke.d.ts +1 -1
- package/funcs/deploymentsInvoke.d.ts.map +1 -1
- package/funcs/deploymentsInvoke.js +1 -1
- package/funcs/deploymentsInvoke.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +2 -2
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/deploymentsInvoke.d.ts +1 -1
- package/mcp-server/tools/deploymentsInvoke.js +1 -1
- package/mcp-server/tools/deploymentsInvoke.js.map +1 -1
- package/models/components/index.d.ts +1 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -1
- package/models/components/index.js.map +1 -1
- package/models/components/{deployments.d.ts → invokedeploymentrequest.d.ts} +280 -266
- package/models/components/invokedeploymentrequest.d.ts.map +1 -0
- package/models/components/{deployments.js → invokedeploymentrequest.js} +377 -363
- package/models/components/invokedeploymentrequest.js.map +1 -0
- 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/createprompt.d.ts +2 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +2 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +10 -10
- package/models/operations/deploymentgetconfig.d.ts +42 -32
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +42 -42
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +15 -15
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +17 -17
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +1 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +1 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +41 -32
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +42 -41
- package/models/operations/deploymentstream.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/getallprompts.d.ts +1 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +1 -0
- 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 +1 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +1 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +1 -0
- package/models/operations/getpromptversion.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 +1 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +1 -0
- 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/searchknowledge.d.ts +41 -32
- package/models/operations/searchknowledge.d.ts.map +1 -1
- package/models/operations/searchknowledge.js +40 -40
- package/models/operations/searchknowledge.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 +2 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +2 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +10 -10
- package/package.json +2 -6
- package/packages/orq-rc/README.md +25 -23
- package/packages/orq-rc/docs/sdks/deployments/README.md +43 -43
- package/packages/orq-rc/docs/sdks/tools/README.md +93 -12
- 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/deploymentsInvoke.ts +3 -3
- package/packages/orq-rc/src/funcs/toolsCreate.ts +11 -2
- package/packages/orq-rc/src/funcs/toolsSync.ts +176 -0
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +4 -2
- package/packages/orq-rc/src/mcp-server/tools/deploymentsInvoke.ts +1 -1
- package/packages/orq-rc/src/mcp-server/tools/toolsSync.ts +37 -0
- package/packages/orq-rc/src/models/components/index.ts +1 -1
- package/packages/orq-rc/src/models/components/{deployments.ts → invokedeploymentrequest.ts} +822 -728
- package/packages/orq-rc/src/models/operations/createagent.ts +114 -40
- 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/createprompt.ts +2 -0
- package/packages/orq-rc/src/models/operations/createtool.ts +873 -277
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +107 -86
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +35 -35
- package/packages/orq-rc/src/models/operations/deployments.ts +1 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +80 -78
- package/packages/orq-rc/src/models/operations/duplicateagent.ts +0 -37
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +466 -87
- 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/getagent.ts +0 -38
- package/packages/orq-rc/src/models/operations/getallprompts.ts +1 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +447 -96
- 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/getoneprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +1 -0
- package/packages/orq-rc/src/models/operations/index.ts +1 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +0 -37
- 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/listpromptversions.ts +1 -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 +466 -85
- package/packages/orq-rc/src/models/operations/runagent.ts +656 -25
- package/packages/orq-rc/src/models/operations/searchknowledge.ts +79 -70
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +749 -34
- package/packages/orq-rc/src/models/operations/syncmcptool.ts +2599 -0
- package/packages/orq-rc/src/models/operations/updateagent.ts +121 -77
- 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/updateprompt.ts +2 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +910 -190
- package/packages/orq-rc/src/sdk/deployments.ts +17 -17
- package/packages/orq-rc/src/sdk/tools.ts +18 -0
- package/sdk/deployments.d.ts +7 -7
- package/sdk/deployments.d.ts.map +1 -1
- package/sdk/deployments.js +9 -9
- package/sdk/deployments.js.map +1 -1
- package/src/funcs/deploymentsInvoke.ts +3 -3
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +2 -2
- package/src/mcp-server/tools/deploymentsInvoke.ts +1 -1
- package/src/models/components/index.ts +1 -1
- package/src/models/components/{deployments.ts → invokedeploymentrequest.ts} +822 -728
- 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/createprompt.ts +2 -0
- package/src/models/operations/createtool.ts +10 -10
- package/src/models/operations/deploymentgetconfig.ts +78 -66
- package/src/models/operations/deploymentinvoke.ts +35 -35
- package/src/models/operations/deployments.ts +1 -0
- package/src/models/operations/deploymentstream.ts +80 -78
- 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/getallprompts.ts +1 -0
- 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 +1 -0
- package/src/models/operations/getpromptversion.ts +1 -0
- 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 +1 -0
- 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/searchknowledge.ts +79 -70
- 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 +2 -0
- package/src/models/operations/updatetool.ts +10 -10
- package/src/sdk/deployments.ts +17 -17
- package/models/components/deployments.d.ts.map +0 -1
- package/models/components/deployments.js.map +0 -1
|
@@ -1041,7 +1041,10 @@ export type OrGte = {
|
|
|
1041
1041
|
gte: number;
|
|
1042
1042
|
};
|
|
1043
1043
|
|
|
1044
|
-
|
|
1044
|
+
/**
|
|
1045
|
+
* Greater than
|
|
1046
|
+
*/
|
|
1047
|
+
export type OrGt = {
|
|
1045
1048
|
gt: number;
|
|
1046
1049
|
};
|
|
1047
1050
|
|
|
@@ -1066,7 +1069,7 @@ export type OrEq = {
|
|
|
1066
1069
|
export type KnowledgeFilterOr =
|
|
1067
1070
|
| OrEq
|
|
1068
1071
|
| OrNe
|
|
1069
|
-
|
|
|
1072
|
+
| OrGt
|
|
1070
1073
|
| OrGte
|
|
1071
1074
|
| OrLt
|
|
1072
1075
|
| OrLte
|
|
@@ -1083,7 +1086,7 @@ export type Or = {
|
|
|
1083
1086
|
[k: string]:
|
|
1084
1087
|
| OrEq
|
|
1085
1088
|
| OrNe
|
|
1086
|
-
|
|
|
1089
|
+
| OrGt
|
|
1087
1090
|
| OrGte
|
|
1088
1091
|
| OrLt
|
|
1089
1092
|
| OrLte
|
|
@@ -1140,7 +1143,10 @@ export type AndGte = {
|
|
|
1140
1143
|
gte: number;
|
|
1141
1144
|
};
|
|
1142
1145
|
|
|
1143
|
-
|
|
1146
|
+
/**
|
|
1147
|
+
* Greater than
|
|
1148
|
+
*/
|
|
1149
|
+
export type AndGt = {
|
|
1144
1150
|
gt: number;
|
|
1145
1151
|
};
|
|
1146
1152
|
|
|
@@ -1165,7 +1171,7 @@ export type AndEq = {
|
|
|
1165
1171
|
export type KnowledgeFilterAnd =
|
|
1166
1172
|
| AndEq
|
|
1167
1173
|
| AndNe
|
|
1168
|
-
|
|
|
1174
|
+
| AndGt
|
|
1169
1175
|
| AndGte
|
|
1170
1176
|
| AndLt
|
|
1171
1177
|
| AndLte
|
|
@@ -1182,7 +1188,7 @@ export type And = {
|
|
|
1182
1188
|
[k: string]:
|
|
1183
1189
|
| AndEq
|
|
1184
1190
|
| AndNe
|
|
1185
|
-
|
|
|
1191
|
+
| AndGt
|
|
1186
1192
|
| AndGte
|
|
1187
1193
|
| AndLt
|
|
1188
1194
|
| AndLte
|
|
@@ -1239,7 +1245,10 @@ export type Gte = {
|
|
|
1239
1245
|
gte: number;
|
|
1240
1246
|
};
|
|
1241
1247
|
|
|
1242
|
-
|
|
1248
|
+
/**
|
|
1249
|
+
* Greater than
|
|
1250
|
+
*/
|
|
1251
|
+
export type Gt = {
|
|
1243
1252
|
gt: number;
|
|
1244
1253
|
};
|
|
1245
1254
|
|
|
@@ -1264,7 +1273,7 @@ export type Eq = {
|
|
|
1264
1273
|
export type KnowledgeFilter1 =
|
|
1265
1274
|
| Eq
|
|
1266
1275
|
| Ne
|
|
1267
|
-
|
|
|
1276
|
+
| Gt
|
|
1268
1277
|
| Gte
|
|
1269
1278
|
| Lt
|
|
1270
1279
|
| Lte
|
|
@@ -1276,7 +1285,7 @@ export type KnowledgeFilter1 =
|
|
|
1276
1285
|
* A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
|
|
1277
1286
|
*/
|
|
1278
1287
|
export type KnowledgeFilter = And | Or | {
|
|
1279
|
-
[k: string]: Eq | Ne |
|
|
1288
|
+
[k: string]: Eq | Ne | Gt | Gte | Lt | Lte | In | Nin | Exists;
|
|
1280
1289
|
};
|
|
1281
1290
|
|
|
1282
1291
|
export type DeploymentGetConfigRequestBody = {
|
|
@@ -1338,7 +1347,7 @@ export type DeploymentGetConfigRequestBody = {
|
|
|
1338
1347
|
* A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
|
|
1339
1348
|
*/
|
|
1340
1349
|
knowledgeFilter?: And | Or | {
|
|
1341
|
-
[k: string]: Eq | Ne |
|
|
1350
|
+
[k: string]: Eq | Ne | Gt | Gte | Lt | Lte | In | Nin | Exists;
|
|
1342
1351
|
} | undefined;
|
|
1343
1352
|
};
|
|
1344
1353
|
|
|
@@ -1665,6 +1674,7 @@ export type DeploymentGetConfigEncodingFormat = ClosedEnum<
|
|
|
1665
1674
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1666
1675
|
*/
|
|
1667
1676
|
export const DeploymentGetConfigReasoningEffort = {
|
|
1677
|
+
None: "none",
|
|
1668
1678
|
Disable: "disable",
|
|
1669
1679
|
Minimal: "minimal",
|
|
1670
1680
|
Low: "low",
|
|
@@ -5256,31 +5266,31 @@ export function orGteFromJSON(
|
|
|
5256
5266
|
}
|
|
5257
5267
|
|
|
5258
5268
|
/** @internal */
|
|
5259
|
-
export const
|
|
5269
|
+
export const OrGt$inboundSchema: z.ZodType<OrGt, z.ZodTypeDef, unknown> = z
|
|
5260
5270
|
.object({
|
|
5261
5271
|
gt: z.number(),
|
|
5262
5272
|
});
|
|
5263
5273
|
/** @internal */
|
|
5264
|
-
export type
|
|
5274
|
+
export type OrGt$Outbound = {
|
|
5265
5275
|
gt: number;
|
|
5266
5276
|
};
|
|
5267
5277
|
|
|
5268
5278
|
/** @internal */
|
|
5269
|
-
export const
|
|
5270
|
-
.object({
|
|
5279
|
+
export const OrGt$outboundSchema: z.ZodType<OrGt$Outbound, z.ZodTypeDef, OrGt> =
|
|
5280
|
+
z.object({
|
|
5271
5281
|
gt: z.number(),
|
|
5272
5282
|
});
|
|
5273
5283
|
|
|
5274
|
-
export function
|
|
5275
|
-
return JSON.stringify(
|
|
5284
|
+
export function orGtToJSON(orGt: OrGt): string {
|
|
5285
|
+
return JSON.stringify(OrGt$outboundSchema.parse(orGt));
|
|
5276
5286
|
}
|
|
5277
|
-
export function
|
|
5287
|
+
export function orGtFromJSON(
|
|
5278
5288
|
jsonString: string,
|
|
5279
|
-
): SafeParseResult<
|
|
5289
|
+
): SafeParseResult<OrGt, SDKValidationError> {
|
|
5280
5290
|
return safeParse(
|
|
5281
5291
|
jsonString,
|
|
5282
|
-
(x) =>
|
|
5283
|
-
`Failed to parse '
|
|
5292
|
+
(x) => OrGt$inboundSchema.parse(JSON.parse(x)),
|
|
5293
|
+
`Failed to parse 'OrGt' from JSON`,
|
|
5284
5294
|
);
|
|
5285
5295
|
}
|
|
5286
5296
|
|
|
@@ -5416,7 +5426,7 @@ export const KnowledgeFilterOr$inboundSchema: z.ZodType<
|
|
|
5416
5426
|
> = z.union([
|
|
5417
5427
|
z.lazy(() => OrEq$inboundSchema),
|
|
5418
5428
|
z.lazy(() => OrNe$inboundSchema),
|
|
5419
|
-
z.lazy(() =>
|
|
5429
|
+
z.lazy(() => OrGt$inboundSchema),
|
|
5420
5430
|
z.lazy(() => OrGte$inboundSchema),
|
|
5421
5431
|
z.lazy(() => OrLt$inboundSchema),
|
|
5422
5432
|
z.lazy(() => OrLte$inboundSchema),
|
|
@@ -5428,7 +5438,7 @@ export const KnowledgeFilterOr$inboundSchema: z.ZodType<
|
|
|
5428
5438
|
export type KnowledgeFilterOr$Outbound =
|
|
5429
5439
|
| OrEq$Outbound
|
|
5430
5440
|
| OrNe$Outbound
|
|
5431
|
-
|
|
|
5441
|
+
| OrGt$Outbound
|
|
5432
5442
|
| OrGte$Outbound
|
|
5433
5443
|
| OrLt$Outbound
|
|
5434
5444
|
| OrLte$Outbound
|
|
@@ -5444,7 +5454,7 @@ export const KnowledgeFilterOr$outboundSchema: z.ZodType<
|
|
|
5444
5454
|
> = z.union([
|
|
5445
5455
|
z.lazy(() => OrEq$outboundSchema),
|
|
5446
5456
|
z.lazy(() => OrNe$outboundSchema),
|
|
5447
|
-
z.lazy(() =>
|
|
5457
|
+
z.lazy(() => OrGt$outboundSchema),
|
|
5448
5458
|
z.lazy(() => OrGte$outboundSchema),
|
|
5449
5459
|
z.lazy(() => OrLt$outboundSchema),
|
|
5450
5460
|
z.lazy(() => OrLte$outboundSchema),
|
|
@@ -5478,7 +5488,7 @@ export const Or$inboundSchema: z.ZodType<Or, z.ZodTypeDef, unknown> = z.object({
|
|
|
5478
5488
|
z.lazy(() =>
|
|
5479
5489
|
OrNe$inboundSchema
|
|
5480
5490
|
),
|
|
5481
|
-
z.lazy(() =>
|
|
5491
|
+
z.lazy(() => OrGt$inboundSchema),
|
|
5482
5492
|
z.lazy(() => OrGte$inboundSchema),
|
|
5483
5493
|
z.lazy(() => OrLt$inboundSchema),
|
|
5484
5494
|
z.lazy(() => OrLte$inboundSchema),
|
|
@@ -5495,7 +5505,7 @@ export type Or$Outbound = {
|
|
|
5495
5505
|
[k: string]:
|
|
5496
5506
|
| OrEq$Outbound
|
|
5497
5507
|
| OrNe$Outbound
|
|
5498
|
-
|
|
|
5508
|
+
| OrGt$Outbound
|
|
5499
5509
|
| OrGte$Outbound
|
|
5500
5510
|
| OrLt$Outbound
|
|
5501
5511
|
| OrLte$Outbound
|
|
@@ -5515,7 +5525,7 @@ export const Or$outboundSchema: z.ZodType<Or$Outbound, z.ZodTypeDef, Or> = z
|
|
|
5515
5525
|
z.lazy(() =>
|
|
5516
5526
|
OrNe$outboundSchema
|
|
5517
5527
|
),
|
|
5518
|
-
z.lazy(() =>
|
|
5528
|
+
z.lazy(() => OrGt$outboundSchema),
|
|
5519
5529
|
z.lazy(() => OrGte$outboundSchema),
|
|
5520
5530
|
z.lazy(() => OrLt$outboundSchema),
|
|
5521
5531
|
z.lazy(() => OrLte$outboundSchema),
|
|
@@ -5801,31 +5811,34 @@ export function andGteFromJSON(
|
|
|
5801
5811
|
}
|
|
5802
5812
|
|
|
5803
5813
|
/** @internal */
|
|
5804
|
-
export const
|
|
5814
|
+
export const AndGt$inboundSchema: z.ZodType<AndGt, z.ZodTypeDef, unknown> = z
|
|
5805
5815
|
.object({
|
|
5806
5816
|
gt: z.number(),
|
|
5807
5817
|
});
|
|
5808
5818
|
/** @internal */
|
|
5809
|
-
export type
|
|
5819
|
+
export type AndGt$Outbound = {
|
|
5810
5820
|
gt: number;
|
|
5811
5821
|
};
|
|
5812
5822
|
|
|
5813
5823
|
/** @internal */
|
|
5814
|
-
export const
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5824
|
+
export const AndGt$outboundSchema: z.ZodType<
|
|
5825
|
+
AndGt$Outbound,
|
|
5826
|
+
z.ZodTypeDef,
|
|
5827
|
+
AndGt
|
|
5828
|
+
> = z.object({
|
|
5829
|
+
gt: z.number(),
|
|
5830
|
+
});
|
|
5818
5831
|
|
|
5819
|
-
export function
|
|
5820
|
-
return JSON.stringify(
|
|
5832
|
+
export function andGtToJSON(andGt: AndGt): string {
|
|
5833
|
+
return JSON.stringify(AndGt$outboundSchema.parse(andGt));
|
|
5821
5834
|
}
|
|
5822
|
-
export function
|
|
5835
|
+
export function andGtFromJSON(
|
|
5823
5836
|
jsonString: string,
|
|
5824
|
-
): SafeParseResult<
|
|
5837
|
+
): SafeParseResult<AndGt, SDKValidationError> {
|
|
5825
5838
|
return safeParse(
|
|
5826
5839
|
jsonString,
|
|
5827
|
-
(x) =>
|
|
5828
|
-
`Failed to parse '
|
|
5840
|
+
(x) => AndGt$inboundSchema.parse(JSON.parse(x)),
|
|
5841
|
+
`Failed to parse 'AndGt' from JSON`,
|
|
5829
5842
|
);
|
|
5830
5843
|
}
|
|
5831
5844
|
|
|
@@ -5967,7 +5980,7 @@ export const KnowledgeFilterAnd$inboundSchema: z.ZodType<
|
|
|
5967
5980
|
> = z.union([
|
|
5968
5981
|
z.lazy(() => AndEq$inboundSchema),
|
|
5969
5982
|
z.lazy(() => AndNe$inboundSchema),
|
|
5970
|
-
z.lazy(() =>
|
|
5983
|
+
z.lazy(() => AndGt$inboundSchema),
|
|
5971
5984
|
z.lazy(() => AndGte$inboundSchema),
|
|
5972
5985
|
z.lazy(() => AndLt$inboundSchema),
|
|
5973
5986
|
z.lazy(() => AndLte$inboundSchema),
|
|
@@ -5979,7 +5992,7 @@ export const KnowledgeFilterAnd$inboundSchema: z.ZodType<
|
|
|
5979
5992
|
export type KnowledgeFilterAnd$Outbound =
|
|
5980
5993
|
| AndEq$Outbound
|
|
5981
5994
|
| AndNe$Outbound
|
|
5982
|
-
|
|
|
5995
|
+
| AndGt$Outbound
|
|
5983
5996
|
| AndGte$Outbound
|
|
5984
5997
|
| AndLt$Outbound
|
|
5985
5998
|
| AndLte$Outbound
|
|
@@ -5995,7 +6008,7 @@ export const KnowledgeFilterAnd$outboundSchema: z.ZodType<
|
|
|
5995
6008
|
> = z.union([
|
|
5996
6009
|
z.lazy(() => AndEq$outboundSchema),
|
|
5997
6010
|
z.lazy(() => AndNe$outboundSchema),
|
|
5998
|
-
z.lazy(() =>
|
|
6011
|
+
z.lazy(() => AndGt$outboundSchema),
|
|
5999
6012
|
z.lazy(() => AndGte$outboundSchema),
|
|
6000
6013
|
z.lazy(() => AndLt$outboundSchema),
|
|
6001
6014
|
z.lazy(() => AndLte$outboundSchema),
|
|
@@ -6030,7 +6043,7 @@ export const And$inboundSchema: z.ZodType<And, z.ZodTypeDef, unknown> = z
|
|
|
6030
6043
|
z.lazy(() =>
|
|
6031
6044
|
AndNe$inboundSchema
|
|
6032
6045
|
),
|
|
6033
|
-
z.lazy(() =>
|
|
6046
|
+
z.lazy(() => AndGt$inboundSchema),
|
|
6034
6047
|
z.lazy(() => AndGte$inboundSchema),
|
|
6035
6048
|
z.lazy(() => AndLt$inboundSchema),
|
|
6036
6049
|
z.lazy(() => AndLte$inboundSchema),
|
|
@@ -6047,7 +6060,7 @@ export type And$Outbound = {
|
|
|
6047
6060
|
[k: string]:
|
|
6048
6061
|
| AndEq$Outbound
|
|
6049
6062
|
| AndNe$Outbound
|
|
6050
|
-
|
|
|
6063
|
+
| AndGt$Outbound
|
|
6051
6064
|
| AndGte$Outbound
|
|
6052
6065
|
| AndLt$Outbound
|
|
6053
6066
|
| AndLte$Outbound
|
|
@@ -6067,7 +6080,7 @@ export const And$outboundSchema: z.ZodType<And$Outbound, z.ZodTypeDef, And> = z
|
|
|
6067
6080
|
z.lazy(() =>
|
|
6068
6081
|
AndNe$outboundSchema
|
|
6069
6082
|
),
|
|
6070
|
-
z.lazy(() =>
|
|
6083
|
+
z.lazy(() => AndGt$outboundSchema),
|
|
6071
6084
|
z.lazy(() => AndGte$outboundSchema),
|
|
6072
6085
|
z.lazy(() => AndLt$outboundSchema),
|
|
6073
6086
|
z.lazy(() => AndLte$outboundSchema),
|
|
@@ -6319,31 +6332,30 @@ export function gteFromJSON(
|
|
|
6319
6332
|
}
|
|
6320
6333
|
|
|
6321
6334
|
/** @internal */
|
|
6322
|
-
export const
|
|
6323
|
-
.
|
|
6324
|
-
|
|
6325
|
-
});
|
|
6335
|
+
export const Gt$inboundSchema: z.ZodType<Gt, z.ZodTypeDef, unknown> = z.object({
|
|
6336
|
+
gt: z.number(),
|
|
6337
|
+
});
|
|
6326
6338
|
/** @internal */
|
|
6327
|
-
export type
|
|
6339
|
+
export type Gt$Outbound = {
|
|
6328
6340
|
gt: number;
|
|
6329
6341
|
};
|
|
6330
6342
|
|
|
6331
6343
|
/** @internal */
|
|
6332
|
-
export const
|
|
6333
|
-
|
|
6344
|
+
export const Gt$outboundSchema: z.ZodType<Gt$Outbound, z.ZodTypeDef, Gt> = z
|
|
6345
|
+
.object({
|
|
6334
6346
|
gt: z.number(),
|
|
6335
6347
|
});
|
|
6336
6348
|
|
|
6337
|
-
export function
|
|
6338
|
-
return JSON.stringify(
|
|
6349
|
+
export function gtToJSON(gt: Gt): string {
|
|
6350
|
+
return JSON.stringify(Gt$outboundSchema.parse(gt));
|
|
6339
6351
|
}
|
|
6340
|
-
export function
|
|
6352
|
+
export function gtFromJSON(
|
|
6341
6353
|
jsonString: string,
|
|
6342
|
-
): SafeParseResult<
|
|
6354
|
+
): SafeParseResult<Gt, SDKValidationError> {
|
|
6343
6355
|
return safeParse(
|
|
6344
6356
|
jsonString,
|
|
6345
|
-
(x) =>
|
|
6346
|
-
`Failed to parse '
|
|
6357
|
+
(x) => Gt$inboundSchema.parse(JSON.parse(x)),
|
|
6358
|
+
`Failed to parse 'Gt' from JSON`,
|
|
6347
6359
|
);
|
|
6348
6360
|
}
|
|
6349
6361
|
|
|
@@ -6463,7 +6475,7 @@ export const KnowledgeFilter1$inboundSchema: z.ZodType<
|
|
|
6463
6475
|
> = z.union([
|
|
6464
6476
|
z.lazy(() => Eq$inboundSchema),
|
|
6465
6477
|
z.lazy(() => Ne$inboundSchema),
|
|
6466
|
-
z.lazy(() =>
|
|
6478
|
+
z.lazy(() => Gt$inboundSchema),
|
|
6467
6479
|
z.lazy(() => Gte$inboundSchema),
|
|
6468
6480
|
z.lazy(() => Lt$inboundSchema),
|
|
6469
6481
|
z.lazy(() => Lte$inboundSchema),
|
|
@@ -6475,7 +6487,7 @@ export const KnowledgeFilter1$inboundSchema: z.ZodType<
|
|
|
6475
6487
|
export type KnowledgeFilter1$Outbound =
|
|
6476
6488
|
| Eq$Outbound
|
|
6477
6489
|
| Ne$Outbound
|
|
6478
|
-
|
|
|
6490
|
+
| Gt$Outbound
|
|
6479
6491
|
| Gte$Outbound
|
|
6480
6492
|
| Lt$Outbound
|
|
6481
6493
|
| Lte$Outbound
|
|
@@ -6491,7 +6503,7 @@ export const KnowledgeFilter1$outboundSchema: z.ZodType<
|
|
|
6491
6503
|
> = z.union([
|
|
6492
6504
|
z.lazy(() => Eq$outboundSchema),
|
|
6493
6505
|
z.lazy(() => Ne$outboundSchema),
|
|
6494
|
-
z.lazy(() =>
|
|
6506
|
+
z.lazy(() => Gt$outboundSchema),
|
|
6495
6507
|
z.lazy(() => Gte$outboundSchema),
|
|
6496
6508
|
z.lazy(() => Lt$outboundSchema),
|
|
6497
6509
|
z.lazy(() => Lte$outboundSchema),
|
|
@@ -6528,7 +6540,7 @@ export const KnowledgeFilter$inboundSchema: z.ZodType<
|
|
|
6528
6540
|
z.record(z.union([
|
|
6529
6541
|
z.lazy(() => Eq$inboundSchema),
|
|
6530
6542
|
z.lazy(() => Ne$inboundSchema),
|
|
6531
|
-
z.lazy(() =>
|
|
6543
|
+
z.lazy(() => Gt$inboundSchema),
|
|
6532
6544
|
z.lazy(() => Gte$inboundSchema),
|
|
6533
6545
|
z.lazy(() => Lt$inboundSchema),
|
|
6534
6546
|
z.lazy(() => Lte$inboundSchema),
|
|
@@ -6542,7 +6554,7 @@ export type KnowledgeFilter$Outbound = And$Outbound | Or$Outbound | {
|
|
|
6542
6554
|
[k: string]:
|
|
6543
6555
|
| Eq$Outbound
|
|
6544
6556
|
| Ne$Outbound
|
|
6545
|
-
|
|
|
6557
|
+
| Gt$Outbound
|
|
6546
6558
|
| Gte$Outbound
|
|
6547
6559
|
| Lt$Outbound
|
|
6548
6560
|
| Lte$Outbound
|
|
@@ -6562,7 +6574,7 @@ export const KnowledgeFilter$outboundSchema: z.ZodType<
|
|
|
6562
6574
|
z.record(z.union([
|
|
6563
6575
|
z.lazy(() => Eq$outboundSchema),
|
|
6564
6576
|
z.lazy(() => Ne$outboundSchema),
|
|
6565
|
-
z.lazy(() =>
|
|
6577
|
+
z.lazy(() => Gt$outboundSchema),
|
|
6566
6578
|
z.lazy(() => Gte$outboundSchema),
|
|
6567
6579
|
z.lazy(() => Lt$outboundSchema),
|
|
6568
6580
|
z.lazy(() => Lte$outboundSchema),
|
|
@@ -6626,7 +6638,7 @@ export const DeploymentGetConfigRequestBody$inboundSchema: z.ZodType<
|
|
|
6626
6638
|
z.record(z.union([
|
|
6627
6639
|
z.lazy(() => Eq$inboundSchema),
|
|
6628
6640
|
z.lazy(() => Ne$inboundSchema),
|
|
6629
|
-
z.lazy(() =>
|
|
6641
|
+
z.lazy(() => Gt$inboundSchema),
|
|
6630
6642
|
z.lazy(() => Gte$inboundSchema),
|
|
6631
6643
|
z.lazy(() => Lt$inboundSchema),
|
|
6632
6644
|
z.lazy(() => Lte$inboundSchema),
|
|
@@ -6677,7 +6689,7 @@ export type DeploymentGetConfigRequestBody$Outbound = {
|
|
|
6677
6689
|
[k: string]:
|
|
6678
6690
|
| Eq$Outbound
|
|
6679
6691
|
| Ne$Outbound
|
|
6680
|
-
|
|
|
6692
|
+
| Gt$Outbound
|
|
6681
6693
|
| Gte$Outbound
|
|
6682
6694
|
| Lt$Outbound
|
|
6683
6695
|
| Lte$Outbound
|
|
@@ -6726,7 +6738,7 @@ export const DeploymentGetConfigRequestBody$outboundSchema: z.ZodType<
|
|
|
6726
6738
|
z.record(z.union([
|
|
6727
6739
|
z.lazy(() => Eq$outboundSchema),
|
|
6728
6740
|
z.lazy(() => Ne$outboundSchema),
|
|
6729
|
-
z.lazy(() =>
|
|
6741
|
+
z.lazy(() => Gt$outboundSchema),
|
|
6730
6742
|
z.lazy(() => Gte$outboundSchema),
|
|
6731
6743
|
z.lazy(() => Lt$outboundSchema),
|
|
6732
6744
|
z.lazy(() => Lte$outboundSchema),
|
|
@@ -109,7 +109,7 @@ export type DeploymentInvokeMessageDeploymentsType = ClosedEnum<
|
|
|
109
109
|
/**
|
|
110
110
|
* The role of the prompt message
|
|
111
111
|
*/
|
|
112
|
-
export const
|
|
112
|
+
export const DeploymentInvokeMessageRole = {
|
|
113
113
|
System: "system",
|
|
114
114
|
Assistant: "assistant",
|
|
115
115
|
User: "user",
|
|
@@ -122,8 +122,8 @@ export const DeploymentInvokeMessageDeploymentsRole = {
|
|
|
122
122
|
/**
|
|
123
123
|
* The role of the prompt message
|
|
124
124
|
*/
|
|
125
|
-
export type
|
|
126
|
-
typeof
|
|
125
|
+
export type DeploymentInvokeMessageRole = ClosedEnum<
|
|
126
|
+
typeof DeploymentInvokeMessageRole
|
|
127
127
|
>;
|
|
128
128
|
|
|
129
129
|
export type Message3 = {
|
|
@@ -131,7 +131,7 @@ export type Message3 = {
|
|
|
131
131
|
/**
|
|
132
132
|
* The role of the prompt message
|
|
133
133
|
*/
|
|
134
|
-
role:
|
|
134
|
+
role: DeploymentInvokeMessageRole;
|
|
135
135
|
url: string;
|
|
136
136
|
};
|
|
137
137
|
|
|
@@ -145,7 +145,7 @@ export type DeploymentInvokeMessageType = ClosedEnum<
|
|
|
145
145
|
/**
|
|
146
146
|
* The role of the prompt message
|
|
147
147
|
*/
|
|
148
|
-
export const
|
|
148
|
+
export const MessageRole = {
|
|
149
149
|
System: "system",
|
|
150
150
|
Assistant: "assistant",
|
|
151
151
|
User: "user",
|
|
@@ -158,16 +158,14 @@ export const DeploymentInvokeMessageRole = {
|
|
|
158
158
|
/**
|
|
159
159
|
* The role of the prompt message
|
|
160
160
|
*/
|
|
161
|
-
export type
|
|
162
|
-
typeof DeploymentInvokeMessageRole
|
|
163
|
-
>;
|
|
161
|
+
export type MessageRole = ClosedEnum<typeof MessageRole>;
|
|
164
162
|
|
|
165
163
|
export type Message2 = {
|
|
166
164
|
type: DeploymentInvokeMessageType;
|
|
167
165
|
/**
|
|
168
166
|
* The role of the prompt message
|
|
169
167
|
*/
|
|
170
|
-
role:
|
|
168
|
+
role: MessageRole;
|
|
171
169
|
content: string | null;
|
|
172
170
|
/**
|
|
173
171
|
* Internal thought process of the model
|
|
@@ -191,7 +189,7 @@ export type MessageType = ClosedEnum<typeof MessageType>;
|
|
|
191
189
|
/**
|
|
192
190
|
* The role of the prompt message
|
|
193
191
|
*/
|
|
194
|
-
export const
|
|
192
|
+
export const DeploymentInvokeMessageDeploymentsRole = {
|
|
195
193
|
System: "system",
|
|
196
194
|
Assistant: "assistant",
|
|
197
195
|
User: "user",
|
|
@@ -204,7 +202,9 @@ export const MessageRole = {
|
|
|
204
202
|
/**
|
|
205
203
|
* The role of the prompt message
|
|
206
204
|
*/
|
|
207
|
-
export type
|
|
205
|
+
export type DeploymentInvokeMessageDeploymentsRole = ClosedEnum<
|
|
206
|
+
typeof DeploymentInvokeMessageDeploymentsRole
|
|
207
|
+
>;
|
|
208
208
|
|
|
209
209
|
export const DeploymentInvokeMessageDeploymentsResponseType = {
|
|
210
210
|
Function: "function",
|
|
@@ -233,7 +233,7 @@ export type Message1 = {
|
|
|
233
233
|
/**
|
|
234
234
|
* The role of the prompt message
|
|
235
235
|
*/
|
|
236
|
-
role:
|
|
236
|
+
role: DeploymentInvokeMessageDeploymentsRole;
|
|
237
237
|
content?: string | null | undefined;
|
|
238
238
|
toolCalls: Array<MessageToolCalls>;
|
|
239
239
|
/**
|
|
@@ -488,14 +488,13 @@ export const DeploymentInvokeMessageDeploymentsType$outboundSchema:
|
|
|
488
488
|
DeploymentInvokeMessageDeploymentsType$inboundSchema;
|
|
489
489
|
|
|
490
490
|
/** @internal */
|
|
491
|
-
export const
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
);
|
|
491
|
+
export const DeploymentInvokeMessageRole$inboundSchema: z.ZodNativeEnum<
|
|
492
|
+
typeof DeploymentInvokeMessageRole
|
|
493
|
+
> = z.nativeEnum(DeploymentInvokeMessageRole);
|
|
495
494
|
/** @internal */
|
|
496
|
-
export const
|
|
497
|
-
|
|
498
|
-
|
|
495
|
+
export const DeploymentInvokeMessageRole$outboundSchema: z.ZodNativeEnum<
|
|
496
|
+
typeof DeploymentInvokeMessageRole
|
|
497
|
+
> = DeploymentInvokeMessageRole$inboundSchema;
|
|
499
498
|
|
|
500
499
|
/** @internal */
|
|
501
500
|
export const Message3$inboundSchema: z.ZodType<
|
|
@@ -504,7 +503,7 @@ export const Message3$inboundSchema: z.ZodType<
|
|
|
504
503
|
unknown
|
|
505
504
|
> = z.object({
|
|
506
505
|
type: DeploymentInvokeMessageDeploymentsType$inboundSchema,
|
|
507
|
-
role:
|
|
506
|
+
role: DeploymentInvokeMessageRole$inboundSchema,
|
|
508
507
|
url: z.string(),
|
|
509
508
|
});
|
|
510
509
|
/** @internal */
|
|
@@ -521,7 +520,7 @@ export const Message3$outboundSchema: z.ZodType<
|
|
|
521
520
|
Message3
|
|
522
521
|
> = z.object({
|
|
523
522
|
type: DeploymentInvokeMessageDeploymentsType$outboundSchema,
|
|
524
|
-
role:
|
|
523
|
+
role: DeploymentInvokeMessageRole$outboundSchema,
|
|
525
524
|
url: z.string(),
|
|
526
525
|
});
|
|
527
526
|
|
|
@@ -548,13 +547,11 @@ export const DeploymentInvokeMessageType$outboundSchema: z.ZodNativeEnum<
|
|
|
548
547
|
> = DeploymentInvokeMessageType$inboundSchema;
|
|
549
548
|
|
|
550
549
|
/** @internal */
|
|
551
|
-
export const
|
|
552
|
-
|
|
553
|
-
> = z.nativeEnum(DeploymentInvokeMessageRole);
|
|
550
|
+
export const MessageRole$inboundSchema: z.ZodNativeEnum<typeof MessageRole> = z
|
|
551
|
+
.nativeEnum(MessageRole);
|
|
554
552
|
/** @internal */
|
|
555
|
-
export const
|
|
556
|
-
|
|
557
|
-
> = DeploymentInvokeMessageRole$inboundSchema;
|
|
553
|
+
export const MessageRole$outboundSchema: z.ZodNativeEnum<typeof MessageRole> =
|
|
554
|
+
MessageRole$inboundSchema;
|
|
558
555
|
|
|
559
556
|
/** @internal */
|
|
560
557
|
export const Message2$inboundSchema: z.ZodType<
|
|
@@ -563,7 +560,7 @@ export const Message2$inboundSchema: z.ZodType<
|
|
|
563
560
|
unknown
|
|
564
561
|
> = z.object({
|
|
565
562
|
type: DeploymentInvokeMessageType$inboundSchema,
|
|
566
|
-
role:
|
|
563
|
+
role: MessageRole$inboundSchema,
|
|
567
564
|
content: z.nullable(z.string()),
|
|
568
565
|
reasoning: z.string().optional(),
|
|
569
566
|
reasoning_signature: z.string().optional(),
|
|
@@ -591,7 +588,7 @@ export const Message2$outboundSchema: z.ZodType<
|
|
|
591
588
|
Message2
|
|
592
589
|
> = z.object({
|
|
593
590
|
type: DeploymentInvokeMessageType$outboundSchema,
|
|
594
|
-
role:
|
|
591
|
+
role: MessageRole$outboundSchema,
|
|
595
592
|
content: z.nullable(z.string()),
|
|
596
593
|
reasoning: z.string().optional(),
|
|
597
594
|
reasoningSignature: z.string().optional(),
|
|
@@ -624,11 +621,14 @@ export const MessageType$outboundSchema: z.ZodNativeEnum<typeof MessageType> =
|
|
|
624
621
|
MessageType$inboundSchema;
|
|
625
622
|
|
|
626
623
|
/** @internal */
|
|
627
|
-
export const
|
|
628
|
-
.nativeEnum(
|
|
624
|
+
export const DeploymentInvokeMessageDeploymentsRole$inboundSchema:
|
|
625
|
+
z.ZodNativeEnum<typeof DeploymentInvokeMessageDeploymentsRole> = z.nativeEnum(
|
|
626
|
+
DeploymentInvokeMessageDeploymentsRole,
|
|
627
|
+
);
|
|
629
628
|
/** @internal */
|
|
630
|
-
export const
|
|
631
|
-
|
|
629
|
+
export const DeploymentInvokeMessageDeploymentsRole$outboundSchema:
|
|
630
|
+
z.ZodNativeEnum<typeof DeploymentInvokeMessageDeploymentsRole> =
|
|
631
|
+
DeploymentInvokeMessageDeploymentsRole$inboundSchema;
|
|
632
632
|
|
|
633
633
|
/** @internal */
|
|
634
634
|
export const DeploymentInvokeMessageDeploymentsResponseType$inboundSchema:
|
|
@@ -734,7 +734,7 @@ export const Message1$inboundSchema: z.ZodType<
|
|
|
734
734
|
unknown
|
|
735
735
|
> = z.object({
|
|
736
736
|
type: MessageType$inboundSchema,
|
|
737
|
-
role:
|
|
737
|
+
role: DeploymentInvokeMessageDeploymentsRole$inboundSchema,
|
|
738
738
|
content: z.nullable(z.string()).optional(),
|
|
739
739
|
tool_calls: z.array(z.lazy(() => MessageToolCalls$inboundSchema)),
|
|
740
740
|
reasoning: z.string().optional(),
|
|
@@ -765,7 +765,7 @@ export const Message1$outboundSchema: z.ZodType<
|
|
|
765
765
|
Message1
|
|
766
766
|
> = z.object({
|
|
767
767
|
type: MessageType$outboundSchema,
|
|
768
|
-
role:
|
|
768
|
+
role: DeploymentInvokeMessageDeploymentsRole$outboundSchema,
|
|
769
769
|
content: z.nullable(z.string()).optional(),
|
|
770
770
|
toolCalls: z.array(z.lazy(() => MessageToolCalls$outboundSchema)),
|
|
771
771
|
reasoning: z.string().optional(),
|
|
@@ -246,6 +246,7 @@ export type DeploymentsEncodingFormat = ClosedEnum<
|
|
|
246
246
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
247
247
|
*/
|
|
248
248
|
export const DeploymentsReasoningEffort = {
|
|
249
|
+
None: "none",
|
|
249
250
|
Disable: "disable",
|
|
250
251
|
Minimal: "minimal",
|
|
251
252
|
Low: "low",
|