@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
|
|
|
@@ -1666,6 +1675,7 @@ export type DeploymentGetConfigEncodingFormat = ClosedEnum<
|
|
|
1666
1675
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1667
1676
|
*/
|
|
1668
1677
|
export const DeploymentGetConfigReasoningEffort = {
|
|
1678
|
+
None: "none",
|
|
1669
1679
|
Disable: "disable",
|
|
1670
1680
|
Minimal: "minimal",
|
|
1671
1681
|
Low: "low",
|
|
@@ -1820,7 +1830,7 @@ export type DeploymentGetConfigFunction = {
|
|
|
1820
1830
|
parameters?: { [k: string]: any } | undefined;
|
|
1821
1831
|
};
|
|
1822
1832
|
|
|
1823
|
-
export type
|
|
1833
|
+
export type DeploymentGetConfigTools = {
|
|
1824
1834
|
/**
|
|
1825
1835
|
* The type of the tool. Currently, only `function` is supported.
|
|
1826
1836
|
*/
|
|
@@ -1860,7 +1870,7 @@ export type DeploymentGetConfigResponseBody = {
|
|
|
1860
1870
|
/**
|
|
1861
1871
|
* 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.
|
|
1862
1872
|
*/
|
|
1863
|
-
tools?: Array<
|
|
1873
|
+
tools?: Array<DeploymentGetConfigTools> | undefined;
|
|
1864
1874
|
};
|
|
1865
1875
|
|
|
1866
1876
|
/** @internal */
|
|
@@ -5257,31 +5267,31 @@ export function orGteFromJSON(
|
|
|
5257
5267
|
}
|
|
5258
5268
|
|
|
5259
5269
|
/** @internal */
|
|
5260
|
-
export const
|
|
5270
|
+
export const OrGt$inboundSchema: z.ZodType<OrGt, z.ZodTypeDef, unknown> = z
|
|
5261
5271
|
.object({
|
|
5262
5272
|
gt: z.number(),
|
|
5263
5273
|
});
|
|
5264
5274
|
/** @internal */
|
|
5265
|
-
export type
|
|
5275
|
+
export type OrGt$Outbound = {
|
|
5266
5276
|
gt: number;
|
|
5267
5277
|
};
|
|
5268
5278
|
|
|
5269
5279
|
/** @internal */
|
|
5270
|
-
export const
|
|
5271
|
-
.object({
|
|
5280
|
+
export const OrGt$outboundSchema: z.ZodType<OrGt$Outbound, z.ZodTypeDef, OrGt> =
|
|
5281
|
+
z.object({
|
|
5272
5282
|
gt: z.number(),
|
|
5273
5283
|
});
|
|
5274
5284
|
|
|
5275
|
-
export function
|
|
5276
|
-
return JSON.stringify(
|
|
5285
|
+
export function orGtToJSON(orGt: OrGt): string {
|
|
5286
|
+
return JSON.stringify(OrGt$outboundSchema.parse(orGt));
|
|
5277
5287
|
}
|
|
5278
|
-
export function
|
|
5288
|
+
export function orGtFromJSON(
|
|
5279
5289
|
jsonString: string,
|
|
5280
|
-
): SafeParseResult<
|
|
5290
|
+
): SafeParseResult<OrGt, SDKValidationError> {
|
|
5281
5291
|
return safeParse(
|
|
5282
5292
|
jsonString,
|
|
5283
|
-
(x) =>
|
|
5284
|
-
`Failed to parse '
|
|
5293
|
+
(x) => OrGt$inboundSchema.parse(JSON.parse(x)),
|
|
5294
|
+
`Failed to parse 'OrGt' from JSON`,
|
|
5285
5295
|
);
|
|
5286
5296
|
}
|
|
5287
5297
|
|
|
@@ -5417,7 +5427,7 @@ export const KnowledgeFilterOr$inboundSchema: z.ZodType<
|
|
|
5417
5427
|
> = z.union([
|
|
5418
5428
|
z.lazy(() => OrEq$inboundSchema),
|
|
5419
5429
|
z.lazy(() => OrNe$inboundSchema),
|
|
5420
|
-
z.lazy(() =>
|
|
5430
|
+
z.lazy(() => OrGt$inboundSchema),
|
|
5421
5431
|
z.lazy(() => OrGte$inboundSchema),
|
|
5422
5432
|
z.lazy(() => OrLt$inboundSchema),
|
|
5423
5433
|
z.lazy(() => OrLte$inboundSchema),
|
|
@@ -5429,7 +5439,7 @@ export const KnowledgeFilterOr$inboundSchema: z.ZodType<
|
|
|
5429
5439
|
export type KnowledgeFilterOr$Outbound =
|
|
5430
5440
|
| OrEq$Outbound
|
|
5431
5441
|
| OrNe$Outbound
|
|
5432
|
-
|
|
|
5442
|
+
| OrGt$Outbound
|
|
5433
5443
|
| OrGte$Outbound
|
|
5434
5444
|
| OrLt$Outbound
|
|
5435
5445
|
| OrLte$Outbound
|
|
@@ -5445,7 +5455,7 @@ export const KnowledgeFilterOr$outboundSchema: z.ZodType<
|
|
|
5445
5455
|
> = z.union([
|
|
5446
5456
|
z.lazy(() => OrEq$outboundSchema),
|
|
5447
5457
|
z.lazy(() => OrNe$outboundSchema),
|
|
5448
|
-
z.lazy(() =>
|
|
5458
|
+
z.lazy(() => OrGt$outboundSchema),
|
|
5449
5459
|
z.lazy(() => OrGte$outboundSchema),
|
|
5450
5460
|
z.lazy(() => OrLt$outboundSchema),
|
|
5451
5461
|
z.lazy(() => OrLte$outboundSchema),
|
|
@@ -5479,7 +5489,7 @@ export const Or$inboundSchema: z.ZodType<Or, z.ZodTypeDef, unknown> = z.object({
|
|
|
5479
5489
|
z.lazy(() =>
|
|
5480
5490
|
OrNe$inboundSchema
|
|
5481
5491
|
),
|
|
5482
|
-
z.lazy(() =>
|
|
5492
|
+
z.lazy(() => OrGt$inboundSchema),
|
|
5483
5493
|
z.lazy(() => OrGte$inboundSchema),
|
|
5484
5494
|
z.lazy(() => OrLt$inboundSchema),
|
|
5485
5495
|
z.lazy(() => OrLte$inboundSchema),
|
|
@@ -5496,7 +5506,7 @@ export type Or$Outbound = {
|
|
|
5496
5506
|
[k: string]:
|
|
5497
5507
|
| OrEq$Outbound
|
|
5498
5508
|
| OrNe$Outbound
|
|
5499
|
-
|
|
|
5509
|
+
| OrGt$Outbound
|
|
5500
5510
|
| OrGte$Outbound
|
|
5501
5511
|
| OrLt$Outbound
|
|
5502
5512
|
| OrLte$Outbound
|
|
@@ -5516,7 +5526,7 @@ export const Or$outboundSchema: z.ZodType<Or$Outbound, z.ZodTypeDef, Or> = z
|
|
|
5516
5526
|
z.lazy(() =>
|
|
5517
5527
|
OrNe$outboundSchema
|
|
5518
5528
|
),
|
|
5519
|
-
z.lazy(() =>
|
|
5529
|
+
z.lazy(() => OrGt$outboundSchema),
|
|
5520
5530
|
z.lazy(() => OrGte$outboundSchema),
|
|
5521
5531
|
z.lazy(() => OrLt$outboundSchema),
|
|
5522
5532
|
z.lazy(() => OrLte$outboundSchema),
|
|
@@ -5802,31 +5812,34 @@ export function andGteFromJSON(
|
|
|
5802
5812
|
}
|
|
5803
5813
|
|
|
5804
5814
|
/** @internal */
|
|
5805
|
-
export const
|
|
5815
|
+
export const AndGt$inboundSchema: z.ZodType<AndGt, z.ZodTypeDef, unknown> = z
|
|
5806
5816
|
.object({
|
|
5807
5817
|
gt: z.number(),
|
|
5808
5818
|
});
|
|
5809
5819
|
/** @internal */
|
|
5810
|
-
export type
|
|
5820
|
+
export type AndGt$Outbound = {
|
|
5811
5821
|
gt: number;
|
|
5812
5822
|
};
|
|
5813
5823
|
|
|
5814
5824
|
/** @internal */
|
|
5815
|
-
export const
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5825
|
+
export const AndGt$outboundSchema: z.ZodType<
|
|
5826
|
+
AndGt$Outbound,
|
|
5827
|
+
z.ZodTypeDef,
|
|
5828
|
+
AndGt
|
|
5829
|
+
> = z.object({
|
|
5830
|
+
gt: z.number(),
|
|
5831
|
+
});
|
|
5819
5832
|
|
|
5820
|
-
export function
|
|
5821
|
-
return JSON.stringify(
|
|
5833
|
+
export function andGtToJSON(andGt: AndGt): string {
|
|
5834
|
+
return JSON.stringify(AndGt$outboundSchema.parse(andGt));
|
|
5822
5835
|
}
|
|
5823
|
-
export function
|
|
5836
|
+
export function andGtFromJSON(
|
|
5824
5837
|
jsonString: string,
|
|
5825
|
-
): SafeParseResult<
|
|
5838
|
+
): SafeParseResult<AndGt, SDKValidationError> {
|
|
5826
5839
|
return safeParse(
|
|
5827
5840
|
jsonString,
|
|
5828
|
-
(x) =>
|
|
5829
|
-
`Failed to parse '
|
|
5841
|
+
(x) => AndGt$inboundSchema.parse(JSON.parse(x)),
|
|
5842
|
+
`Failed to parse 'AndGt' from JSON`,
|
|
5830
5843
|
);
|
|
5831
5844
|
}
|
|
5832
5845
|
|
|
@@ -5968,7 +5981,7 @@ export const KnowledgeFilterAnd$inboundSchema: z.ZodType<
|
|
|
5968
5981
|
> = z.union([
|
|
5969
5982
|
z.lazy(() => AndEq$inboundSchema),
|
|
5970
5983
|
z.lazy(() => AndNe$inboundSchema),
|
|
5971
|
-
z.lazy(() =>
|
|
5984
|
+
z.lazy(() => AndGt$inboundSchema),
|
|
5972
5985
|
z.lazy(() => AndGte$inboundSchema),
|
|
5973
5986
|
z.lazy(() => AndLt$inboundSchema),
|
|
5974
5987
|
z.lazy(() => AndLte$inboundSchema),
|
|
@@ -5980,7 +5993,7 @@ export const KnowledgeFilterAnd$inboundSchema: z.ZodType<
|
|
|
5980
5993
|
export type KnowledgeFilterAnd$Outbound =
|
|
5981
5994
|
| AndEq$Outbound
|
|
5982
5995
|
| AndNe$Outbound
|
|
5983
|
-
|
|
|
5996
|
+
| AndGt$Outbound
|
|
5984
5997
|
| AndGte$Outbound
|
|
5985
5998
|
| AndLt$Outbound
|
|
5986
5999
|
| AndLte$Outbound
|
|
@@ -5996,7 +6009,7 @@ export const KnowledgeFilterAnd$outboundSchema: z.ZodType<
|
|
|
5996
6009
|
> = z.union([
|
|
5997
6010
|
z.lazy(() => AndEq$outboundSchema),
|
|
5998
6011
|
z.lazy(() => AndNe$outboundSchema),
|
|
5999
|
-
z.lazy(() =>
|
|
6012
|
+
z.lazy(() => AndGt$outboundSchema),
|
|
6000
6013
|
z.lazy(() => AndGte$outboundSchema),
|
|
6001
6014
|
z.lazy(() => AndLt$outboundSchema),
|
|
6002
6015
|
z.lazy(() => AndLte$outboundSchema),
|
|
@@ -6031,7 +6044,7 @@ export const And$inboundSchema: z.ZodType<And, z.ZodTypeDef, unknown> = z
|
|
|
6031
6044
|
z.lazy(() =>
|
|
6032
6045
|
AndNe$inboundSchema
|
|
6033
6046
|
),
|
|
6034
|
-
z.lazy(() =>
|
|
6047
|
+
z.lazy(() => AndGt$inboundSchema),
|
|
6035
6048
|
z.lazy(() => AndGte$inboundSchema),
|
|
6036
6049
|
z.lazy(() => AndLt$inboundSchema),
|
|
6037
6050
|
z.lazy(() => AndLte$inboundSchema),
|
|
@@ -6048,7 +6061,7 @@ export type And$Outbound = {
|
|
|
6048
6061
|
[k: string]:
|
|
6049
6062
|
| AndEq$Outbound
|
|
6050
6063
|
| AndNe$Outbound
|
|
6051
|
-
|
|
|
6064
|
+
| AndGt$Outbound
|
|
6052
6065
|
| AndGte$Outbound
|
|
6053
6066
|
| AndLt$Outbound
|
|
6054
6067
|
| AndLte$Outbound
|
|
@@ -6068,7 +6081,7 @@ export const And$outboundSchema: z.ZodType<And$Outbound, z.ZodTypeDef, And> = z
|
|
|
6068
6081
|
z.lazy(() =>
|
|
6069
6082
|
AndNe$outboundSchema
|
|
6070
6083
|
),
|
|
6071
|
-
z.lazy(() =>
|
|
6084
|
+
z.lazy(() => AndGt$outboundSchema),
|
|
6072
6085
|
z.lazy(() => AndGte$outboundSchema),
|
|
6073
6086
|
z.lazy(() => AndLt$outboundSchema),
|
|
6074
6087
|
z.lazy(() => AndLte$outboundSchema),
|
|
@@ -6320,31 +6333,30 @@ export function gteFromJSON(
|
|
|
6320
6333
|
}
|
|
6321
6334
|
|
|
6322
6335
|
/** @internal */
|
|
6323
|
-
export const
|
|
6324
|
-
.
|
|
6325
|
-
|
|
6326
|
-
});
|
|
6336
|
+
export const Gt$inboundSchema: z.ZodType<Gt, z.ZodTypeDef, unknown> = z.object({
|
|
6337
|
+
gt: z.number(),
|
|
6338
|
+
});
|
|
6327
6339
|
/** @internal */
|
|
6328
|
-
export type
|
|
6340
|
+
export type Gt$Outbound = {
|
|
6329
6341
|
gt: number;
|
|
6330
6342
|
};
|
|
6331
6343
|
|
|
6332
6344
|
/** @internal */
|
|
6333
|
-
export const
|
|
6334
|
-
|
|
6345
|
+
export const Gt$outboundSchema: z.ZodType<Gt$Outbound, z.ZodTypeDef, Gt> = z
|
|
6346
|
+
.object({
|
|
6335
6347
|
gt: z.number(),
|
|
6336
6348
|
});
|
|
6337
6349
|
|
|
6338
|
-
export function
|
|
6339
|
-
return JSON.stringify(
|
|
6350
|
+
export function gtToJSON(gt: Gt): string {
|
|
6351
|
+
return JSON.stringify(Gt$outboundSchema.parse(gt));
|
|
6340
6352
|
}
|
|
6341
|
-
export function
|
|
6353
|
+
export function gtFromJSON(
|
|
6342
6354
|
jsonString: string,
|
|
6343
|
-
): SafeParseResult<
|
|
6355
|
+
): SafeParseResult<Gt, SDKValidationError> {
|
|
6344
6356
|
return safeParse(
|
|
6345
6357
|
jsonString,
|
|
6346
|
-
(x) =>
|
|
6347
|
-
`Failed to parse '
|
|
6358
|
+
(x) => Gt$inboundSchema.parse(JSON.parse(x)),
|
|
6359
|
+
`Failed to parse 'Gt' from JSON`,
|
|
6348
6360
|
);
|
|
6349
6361
|
}
|
|
6350
6362
|
|
|
@@ -6464,7 +6476,7 @@ export const KnowledgeFilter1$inboundSchema: z.ZodType<
|
|
|
6464
6476
|
> = z.union([
|
|
6465
6477
|
z.lazy(() => Eq$inboundSchema),
|
|
6466
6478
|
z.lazy(() => Ne$inboundSchema),
|
|
6467
|
-
z.lazy(() =>
|
|
6479
|
+
z.lazy(() => Gt$inboundSchema),
|
|
6468
6480
|
z.lazy(() => Gte$inboundSchema),
|
|
6469
6481
|
z.lazy(() => Lt$inboundSchema),
|
|
6470
6482
|
z.lazy(() => Lte$inboundSchema),
|
|
@@ -6476,7 +6488,7 @@ export const KnowledgeFilter1$inboundSchema: z.ZodType<
|
|
|
6476
6488
|
export type KnowledgeFilter1$Outbound =
|
|
6477
6489
|
| Eq$Outbound
|
|
6478
6490
|
| Ne$Outbound
|
|
6479
|
-
|
|
|
6491
|
+
| Gt$Outbound
|
|
6480
6492
|
| Gte$Outbound
|
|
6481
6493
|
| Lt$Outbound
|
|
6482
6494
|
| Lte$Outbound
|
|
@@ -6492,7 +6504,7 @@ export const KnowledgeFilter1$outboundSchema: z.ZodType<
|
|
|
6492
6504
|
> = z.union([
|
|
6493
6505
|
z.lazy(() => Eq$outboundSchema),
|
|
6494
6506
|
z.lazy(() => Ne$outboundSchema),
|
|
6495
|
-
z.lazy(() =>
|
|
6507
|
+
z.lazy(() => Gt$outboundSchema),
|
|
6496
6508
|
z.lazy(() => Gte$outboundSchema),
|
|
6497
6509
|
z.lazy(() => Lt$outboundSchema),
|
|
6498
6510
|
z.lazy(() => Lte$outboundSchema),
|
|
@@ -6529,7 +6541,7 @@ export const KnowledgeFilter$inboundSchema: z.ZodType<
|
|
|
6529
6541
|
z.record(z.union([
|
|
6530
6542
|
z.lazy(() => Eq$inboundSchema),
|
|
6531
6543
|
z.lazy(() => Ne$inboundSchema),
|
|
6532
|
-
z.lazy(() =>
|
|
6544
|
+
z.lazy(() => Gt$inboundSchema),
|
|
6533
6545
|
z.lazy(() => Gte$inboundSchema),
|
|
6534
6546
|
z.lazy(() => Lt$inboundSchema),
|
|
6535
6547
|
z.lazy(() => Lte$inboundSchema),
|
|
@@ -6543,7 +6555,7 @@ export type KnowledgeFilter$Outbound = And$Outbound | Or$Outbound | {
|
|
|
6543
6555
|
[k: string]:
|
|
6544
6556
|
| Eq$Outbound
|
|
6545
6557
|
| Ne$Outbound
|
|
6546
|
-
|
|
|
6558
|
+
| Gt$Outbound
|
|
6547
6559
|
| Gte$Outbound
|
|
6548
6560
|
| Lt$Outbound
|
|
6549
6561
|
| Lte$Outbound
|
|
@@ -6563,7 +6575,7 @@ export const KnowledgeFilter$outboundSchema: z.ZodType<
|
|
|
6563
6575
|
z.record(z.union([
|
|
6564
6576
|
z.lazy(() => Eq$outboundSchema),
|
|
6565
6577
|
z.lazy(() => Ne$outboundSchema),
|
|
6566
|
-
z.lazy(() =>
|
|
6578
|
+
z.lazy(() => Gt$outboundSchema),
|
|
6567
6579
|
z.lazy(() => Gte$outboundSchema),
|
|
6568
6580
|
z.lazy(() => Lt$outboundSchema),
|
|
6569
6581
|
z.lazy(() => Lte$outboundSchema),
|
|
@@ -6627,7 +6639,7 @@ export const DeploymentGetConfigRequestBody$inboundSchema: z.ZodType<
|
|
|
6627
6639
|
z.record(z.union([
|
|
6628
6640
|
z.lazy(() => Eq$inboundSchema),
|
|
6629
6641
|
z.lazy(() => Ne$inboundSchema),
|
|
6630
|
-
z.lazy(() =>
|
|
6642
|
+
z.lazy(() => Gt$inboundSchema),
|
|
6631
6643
|
z.lazy(() => Gte$inboundSchema),
|
|
6632
6644
|
z.lazy(() => Lt$inboundSchema),
|
|
6633
6645
|
z.lazy(() => Lte$inboundSchema),
|
|
@@ -6678,7 +6690,7 @@ export type DeploymentGetConfigRequestBody$Outbound = {
|
|
|
6678
6690
|
[k: string]:
|
|
6679
6691
|
| Eq$Outbound
|
|
6680
6692
|
| Ne$Outbound
|
|
6681
|
-
|
|
|
6693
|
+
| Gt$Outbound
|
|
6682
6694
|
| Gte$Outbound
|
|
6683
6695
|
| Lt$Outbound
|
|
6684
6696
|
| Lte$Outbound
|
|
@@ -6727,7 +6739,7 @@ export const DeploymentGetConfigRequestBody$outboundSchema: z.ZodType<
|
|
|
6727
6739
|
z.record(z.union([
|
|
6728
6740
|
z.lazy(() => Eq$outboundSchema),
|
|
6729
6741
|
z.lazy(() => Ne$outboundSchema),
|
|
6730
|
-
z.lazy(() =>
|
|
6742
|
+
z.lazy(() => Gt$outboundSchema),
|
|
6731
6743
|
z.lazy(() => Gte$outboundSchema),
|
|
6732
6744
|
z.lazy(() => Lt$outboundSchema),
|
|
6733
6745
|
z.lazy(() => Lte$outboundSchema),
|
|
@@ -7907,37 +7919,44 @@ export function deploymentGetConfigFunctionFromJSON(
|
|
|
7907
7919
|
}
|
|
7908
7920
|
|
|
7909
7921
|
/** @internal */
|
|
7910
|
-
export const
|
|
7911
|
-
|
|
7912
|
-
|
|
7913
|
-
|
|
7914
|
-
|
|
7922
|
+
export const DeploymentGetConfigTools$inboundSchema: z.ZodType<
|
|
7923
|
+
DeploymentGetConfigTools,
|
|
7924
|
+
z.ZodTypeDef,
|
|
7925
|
+
unknown
|
|
7926
|
+
> = z.object({
|
|
7927
|
+
type: DeploymentGetConfigDeploymentsType$inboundSchema,
|
|
7928
|
+
function: z.lazy(() => DeploymentGetConfigFunction$inboundSchema),
|
|
7929
|
+
});
|
|
7915
7930
|
/** @internal */
|
|
7916
|
-
export type
|
|
7931
|
+
export type DeploymentGetConfigTools$Outbound = {
|
|
7917
7932
|
type: string;
|
|
7918
7933
|
function: DeploymentGetConfigFunction$Outbound;
|
|
7919
7934
|
};
|
|
7920
7935
|
|
|
7921
7936
|
/** @internal */
|
|
7922
|
-
export const
|
|
7923
|
-
|
|
7937
|
+
export const DeploymentGetConfigTools$outboundSchema: z.ZodType<
|
|
7938
|
+
DeploymentGetConfigTools$Outbound,
|
|
7924
7939
|
z.ZodTypeDef,
|
|
7925
|
-
|
|
7940
|
+
DeploymentGetConfigTools
|
|
7926
7941
|
> = z.object({
|
|
7927
7942
|
type: DeploymentGetConfigDeploymentsType$outboundSchema,
|
|
7928
7943
|
function: z.lazy(() => DeploymentGetConfigFunction$outboundSchema),
|
|
7929
7944
|
});
|
|
7930
7945
|
|
|
7931
|
-
export function
|
|
7932
|
-
|
|
7946
|
+
export function deploymentGetConfigToolsToJSON(
|
|
7947
|
+
deploymentGetConfigTools: DeploymentGetConfigTools,
|
|
7948
|
+
): string {
|
|
7949
|
+
return JSON.stringify(
|
|
7950
|
+
DeploymentGetConfigTools$outboundSchema.parse(deploymentGetConfigTools),
|
|
7951
|
+
);
|
|
7933
7952
|
}
|
|
7934
|
-
export function
|
|
7953
|
+
export function deploymentGetConfigToolsFromJSON(
|
|
7935
7954
|
jsonString: string,
|
|
7936
|
-
): SafeParseResult<
|
|
7955
|
+
): SafeParseResult<DeploymentGetConfigTools, SDKValidationError> {
|
|
7937
7956
|
return safeParse(
|
|
7938
7957
|
jsonString,
|
|
7939
|
-
(x) =>
|
|
7940
|
-
`Failed to parse '
|
|
7958
|
+
(x) => DeploymentGetConfigTools$inboundSchema.parse(JSON.parse(x)),
|
|
7959
|
+
`Failed to parse 'DeploymentGetConfigTools' from JSON`,
|
|
7941
7960
|
);
|
|
7942
7961
|
}
|
|
7943
7962
|
|
|
@@ -7954,7 +7973,8 @@ export const DeploymentGetConfigResponseBody$inboundSchema: z.ZodType<
|
|
|
7954
7973
|
version: z.string(),
|
|
7955
7974
|
messages: z.array(z.lazy(() => DeploymentGetConfigMessages$inboundSchema)),
|
|
7956
7975
|
parameters: z.lazy(() => DeploymentGetConfigParameters$inboundSchema),
|
|
7957
|
-
tools: z.array(z.lazy(() =>
|
|
7976
|
+
tools: z.array(z.lazy(() => DeploymentGetConfigTools$inboundSchema))
|
|
7977
|
+
.optional(),
|
|
7958
7978
|
});
|
|
7959
7979
|
/** @internal */
|
|
7960
7980
|
export type DeploymentGetConfigResponseBody$Outbound = {
|
|
@@ -7965,7 +7985,7 @@ export type DeploymentGetConfigResponseBody$Outbound = {
|
|
|
7965
7985
|
version: string;
|
|
7966
7986
|
messages: Array<DeploymentGetConfigMessages$Outbound>;
|
|
7967
7987
|
parameters: DeploymentGetConfigParameters$Outbound;
|
|
7968
|
-
tools?: Array<
|
|
7988
|
+
tools?: Array<DeploymentGetConfigTools$Outbound> | undefined;
|
|
7969
7989
|
};
|
|
7970
7990
|
|
|
7971
7991
|
/** @internal */
|
|
@@ -7981,7 +8001,8 @@ export const DeploymentGetConfigResponseBody$outboundSchema: z.ZodType<
|
|
|
7981
8001
|
version: z.string(),
|
|
7982
8002
|
messages: z.array(z.lazy(() => DeploymentGetConfigMessages$outboundSchema)),
|
|
7983
8003
|
parameters: z.lazy(() => DeploymentGetConfigParameters$outboundSchema),
|
|
7984
|
-
tools: z.array(z.lazy(() =>
|
|
8004
|
+
tools: z.array(z.lazy(() => DeploymentGetConfigTools$outboundSchema))
|
|
8005
|
+
.optional(),
|
|
7985
8006
|
});
|
|
7986
8007
|
|
|
7987
8008
|
export function deploymentGetConfigResponseBodyToJSON(
|