@orq-ai/node 3.14.40 → 3.14.41
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 +696 -1501
- package/bin/mcp-server.js.map +55 -55
- package/examples/package-lock.json +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 +1 -1
- package/models/operations/createagent.d.ts +80 -0
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +70 -7
- 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.d.ts +106 -106
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +242 -234
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/creatememorystore.d.ts +10 -391
- package/models/operations/creatememorystore.d.ts.map +1 -1
- package/models/operations/creatememorystore.js +5 -563
- package/models/operations/creatememorystore.js.map +1 -1
- package/models/operations/createprompt.d.ts +40 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +33 -7
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +10 -10
- package/models/operations/deploymentgetconfig.d.ts +20 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +22 -8
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +20 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +16 -3
- 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 +40 -0
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +33 -3
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getallmemorystores.d.ts +5 -195
- package/models/operations/getallmemorystores.d.ts.map +1 -1
- package/models/operations/getallmemorystores.js +3 -273
- package/models/operations/getallmemorystores.js.map +1 -1
- package/models/operations/getallprompts.d.ts +20 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +16 -3
- 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 +20 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +16 -3
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +20 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +16 -2
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listagents.d.ts +40 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +36 -3
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +40 -0
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +36 -3
- 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.d.ts +5 -5
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +4 -4
- package/models/operations/listdatasources.js.map +1 -1
- package/models/operations/listpromptversions.d.ts +20 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +16 -3
- 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/retrievememorystore.d.ts +5 -196
- package/models/operations/retrievememorystore.d.ts.map +1 -1
- package/models/operations/retrievememorystore.js +3 -273
- package/models/operations/retrievememorystore.js.map +1 -1
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/runagent.d.ts +40 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +36 -6
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +40 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +39 -6
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +80 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +73 -7
- 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/updatememorystore.d.ts +5 -195
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +3 -290
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +40 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +33 -7
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +10 -10
- package/package.json +1 -1
- package/packages/orq-rc/docs/sdks/agents/README.md +2 -0
- package/packages/orq-rc/docs/sdks/knowledge/README.md +0 -2
- 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/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 +1 -1
- package/packages/orq-rc/src/models/operations/createagent.ts +38 -23
- 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/createknowledge.ts +1 -7
- package/packages/orq-rc/src/models/operations/createprompt.ts +4 -4
- package/packages/orq-rc/src/models/operations/createtool.ts +14 -10
- package/packages/orq-rc/src/models/operations/duplicateagent.ts +21 -15
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +29 -11
- 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 +21 -15
- package/packages/orq-rc/src/models/operations/getalltools.ts +14 -10
- 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/listagents.ts +21 -15
- 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/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 +14 -10
- package/packages/orq-rc/src/models/operations/runagent.ts +12 -8
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +12 -8
- package/packages/orq-rc/src/models/operations/syncmcptool.ts +14 -10
- package/packages/orq-rc/src/models/operations/updateagent.ts +35 -23
- 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 +4 -4
- package/packages/orq-rc/src/models/operations/updatetool.ts +25 -10
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createagent.ts +129 -0
- 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 +423 -524
- package/src/models/operations/creatememorystore.ts +14 -1108
- package/src/models/operations/createprompt.ts +60 -0
- package/src/models/operations/createtool.ts +10 -10
- package/src/models/operations/deploymentgetconfig.ts +30 -0
- package/src/models/operations/deployments.ts +30 -0
- 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 +62 -0
- package/src/models/operations/getallmemorystores.ts +7 -595
- package/src/models/operations/getallprompts.ts +30 -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 +30 -0
- package/src/models/operations/getpromptversion.ts +30 -0
- package/src/models/operations/listagents.ts +67 -0
- package/src/models/operations/listagenttasks.ts +66 -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 +9 -9
- package/src/models/operations/listpromptversions.ts +30 -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/retrievememorystore.ts +7 -596
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/runagent.ts +64 -0
- package/src/models/operations/streamrunagent.ts +66 -0
- package/src/models/operations/updateagent.ts +131 -0
- 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/updatememorystore.ts +7 -527
- package/src/models/operations/updateprompt.ts +60 -0
- package/src/models/operations/updatetool.ts +10 -10
|
@@ -100,6 +100,10 @@ export type UpdateCodeExecutionTool = {
|
|
|
100
100
|
* With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
|
|
101
101
|
*/
|
|
102
102
|
path?: string | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* Unique key of the tool as it will be displayed in the UI
|
|
105
|
+
*/
|
|
106
|
+
key?: string | undefined;
|
|
103
107
|
/**
|
|
104
108
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
105
109
|
*/
|
|
@@ -158,6 +162,7 @@ export type UpdateToolRequestBodyToolsSchema = {
|
|
|
158
162
|
};
|
|
159
163
|
|
|
160
164
|
export type RequestBodyTools = {
|
|
165
|
+
id?: string | undefined;
|
|
161
166
|
name: string;
|
|
162
167
|
description?: string | undefined;
|
|
163
168
|
schema: UpdateToolRequestBodyToolsSchema;
|
|
@@ -770,6 +775,7 @@ export type UpdateToolResponseBodyToolsSchema = {
|
|
|
770
775
|
};
|
|
771
776
|
|
|
772
777
|
export type UpdateToolResponseBodyTools = {
|
|
778
|
+
id?: string | undefined;
|
|
773
779
|
name: string;
|
|
774
780
|
description?: string | undefined;
|
|
775
781
|
schema: UpdateToolResponseBodyToolsSchema;
|
|
@@ -1405,6 +1411,7 @@ export const UpdateCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1405
1411
|
unknown
|
|
1406
1412
|
> = z.object({
|
|
1407
1413
|
path: z.string().optional(),
|
|
1414
|
+
key: z.string().optional(),
|
|
1408
1415
|
display_name: z.string().optional(),
|
|
1409
1416
|
description: z.string().optional(),
|
|
1410
1417
|
status: UpdateToolRequestBodyToolsRequest5Status$inboundSchema.default(
|
|
@@ -1422,6 +1429,7 @@ export const UpdateCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1422
1429
|
/** @internal */
|
|
1423
1430
|
export type UpdateCodeExecutionTool$Outbound = {
|
|
1424
1431
|
path?: string | undefined;
|
|
1432
|
+
key?: string | undefined;
|
|
1425
1433
|
display_name?: string | undefined;
|
|
1426
1434
|
description?: string | undefined;
|
|
1427
1435
|
status: string;
|
|
@@ -1436,6 +1444,7 @@ export const UpdateCodeExecutionTool$outboundSchema: z.ZodType<
|
|
|
1436
1444
|
UpdateCodeExecutionTool
|
|
1437
1445
|
> = z.object({
|
|
1438
1446
|
path: z.string().optional(),
|
|
1447
|
+
key: z.string().optional(),
|
|
1439
1448
|
displayName: z.string().optional(),
|
|
1440
1449
|
description: z.string().optional(),
|
|
1441
1450
|
status: UpdateToolRequestBodyToolsRequest5Status$outboundSchema.default(
|
|
@@ -1593,12 +1602,14 @@ export const RequestBodyTools$inboundSchema: z.ZodType<
|
|
|
1593
1602
|
z.ZodTypeDef,
|
|
1594
1603
|
unknown
|
|
1595
1604
|
> = z.object({
|
|
1605
|
+
id: z.string().default("01KABAYFY3PFP54H7MC3P1ZX48"),
|
|
1596
1606
|
name: z.string(),
|
|
1597
1607
|
description: z.string().optional(),
|
|
1598
1608
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$inboundSchema),
|
|
1599
1609
|
});
|
|
1600
1610
|
/** @internal */
|
|
1601
1611
|
export type RequestBodyTools$Outbound = {
|
|
1612
|
+
id: string;
|
|
1602
1613
|
name: string;
|
|
1603
1614
|
description?: string | undefined;
|
|
1604
1615
|
schema: UpdateToolRequestBodyToolsSchema$Outbound;
|
|
@@ -1610,6 +1621,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1610
1621
|
z.ZodTypeDef,
|
|
1611
1622
|
RequestBodyTools
|
|
1612
1623
|
> = z.object({
|
|
1624
|
+
id: z.string().default("01KABAYFY3PFP54H7MC3P1ZX48"),
|
|
1613
1625
|
name: z.string(),
|
|
1614
1626
|
description: z.string().optional(),
|
|
1615
1627
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2830,7 +2842,7 @@ export const UpdateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
2830
2842
|
z.ZodTypeDef,
|
|
2831
2843
|
unknown
|
|
2832
2844
|
> = z.object({
|
|
2833
|
-
_id: z.string().default("
|
|
2845
|
+
_id: z.string().default("tool_01KABAYFXT3KEN25GJ4TX40R2R"),
|
|
2834
2846
|
path: z.string(),
|
|
2835
2847
|
key: z.string(),
|
|
2836
2848
|
display_name: z.string().optional(),
|
|
@@ -2884,7 +2896,7 @@ export const UpdateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
2884
2896
|
z.ZodTypeDef,
|
|
2885
2897
|
UpdateToolResponseBody5
|
|
2886
2898
|
> = z.object({
|
|
2887
|
-
id: z.string().default("
|
|
2899
|
+
id: z.string().default("tool_01KABAYFXT3KEN25GJ4TX40R2R"),
|
|
2888
2900
|
path: z.string(),
|
|
2889
2901
|
key: z.string(),
|
|
2890
2902
|
displayName: z.string().optional(),
|
|
@@ -3060,12 +3072,14 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
3060
3072
|
z.ZodTypeDef,
|
|
3061
3073
|
unknown
|
|
3062
3074
|
> = z.object({
|
|
3075
|
+
id: z.string().default("01KABAYFXS8119Q9NPMWZ75PS1"),
|
|
3063
3076
|
name: z.string(),
|
|
3064
3077
|
description: z.string().optional(),
|
|
3065
3078
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
3066
3079
|
});
|
|
3067
3080
|
/** @internal */
|
|
3068
3081
|
export type UpdateToolResponseBodyTools$Outbound = {
|
|
3082
|
+
id: string;
|
|
3069
3083
|
name: string;
|
|
3070
3084
|
description?: string | undefined;
|
|
3071
3085
|
schema: UpdateToolResponseBodyToolsSchema$Outbound;
|
|
@@ -3077,6 +3091,7 @@ export const UpdateToolResponseBodyTools$outboundSchema: z.ZodType<
|
|
|
3077
3091
|
z.ZodTypeDef,
|
|
3078
3092
|
UpdateToolResponseBodyTools
|
|
3079
3093
|
> = z.object({
|
|
3094
|
+
id: z.string().default("01KABAYFXS8119Q9NPMWZ75PS1"),
|
|
3080
3095
|
name: z.string(),
|
|
3081
3096
|
description: z.string().optional(),
|
|
3082
3097
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$outboundSchema),
|
|
@@ -3177,7 +3192,7 @@ export const UpdateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
3177
3192
|
z.ZodTypeDef,
|
|
3178
3193
|
unknown
|
|
3179
3194
|
> = z.object({
|
|
3180
|
-
_id: z.string().default("
|
|
3195
|
+
_id: z.string().default("tool_01KABAYFXRHJ9B6737RCJP0FJR"),
|
|
3181
3196
|
path: z.string(),
|
|
3182
3197
|
key: z.string(),
|
|
3183
3198
|
display_name: z.string().optional(),
|
|
@@ -3230,7 +3245,7 @@ export const UpdateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
3230
3245
|
z.ZodTypeDef,
|
|
3231
3246
|
UpdateToolResponseBody4
|
|
3232
3247
|
> = z.object({
|
|
3233
|
-
id: z.string().default("
|
|
3248
|
+
id: z.string().default("tool_01KABAYFXRHJ9B6737RCJP0FJR"),
|
|
3234
3249
|
path: z.string(),
|
|
3235
3250
|
key: z.string(),
|
|
3236
3251
|
displayName: z.string().optional(),
|
|
@@ -3605,7 +3620,7 @@ export const UpdateToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
3605
3620
|
z.ZodTypeDef,
|
|
3606
3621
|
unknown
|
|
3607
3622
|
> = z.object({
|
|
3608
|
-
_id: z.string().default("
|
|
3623
|
+
_id: z.string().default("tool_01KABAYFXP9997QRF6DDW8WXZ2"),
|
|
3609
3624
|
path: z.string(),
|
|
3610
3625
|
key: z.string(),
|
|
3611
3626
|
display_name: z.string().optional(),
|
|
@@ -3658,7 +3673,7 @@ export const UpdateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
3658
3673
|
z.ZodTypeDef,
|
|
3659
3674
|
UpdateToolResponseBody3
|
|
3660
3675
|
> = z.object({
|
|
3661
|
-
id: z.string().default("
|
|
3676
|
+
id: z.string().default("tool_01KABAYFXP9997QRF6DDW8WXZ2"),
|
|
3662
3677
|
path: z.string(),
|
|
3663
3678
|
key: z.string(),
|
|
3664
3679
|
displayName: z.string().optional(),
|
|
@@ -3838,7 +3853,7 @@ export const UpdateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
3838
3853
|
z.ZodTypeDef,
|
|
3839
3854
|
unknown
|
|
3840
3855
|
> = z.object({
|
|
3841
|
-
_id: z.string().default("
|
|
3856
|
+
_id: z.string().default("tool_01KABAYFXM62KC83SVCBZ2B1S6"),
|
|
3842
3857
|
path: z.string(),
|
|
3843
3858
|
key: z.string(),
|
|
3844
3859
|
display_name: z.string().optional(),
|
|
@@ -3890,7 +3905,7 @@ export const UpdateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
3890
3905
|
z.ZodTypeDef,
|
|
3891
3906
|
UpdateToolResponseBody2
|
|
3892
3907
|
> = z.object({
|
|
3893
|
-
id: z.string().default("
|
|
3908
|
+
id: z.string().default("tool_01KABAYFXM62KC83SVCBZ2B1S6"),
|
|
3894
3909
|
path: z.string(),
|
|
3895
3910
|
key: z.string(),
|
|
3896
3911
|
displayName: z.string().optional(),
|
|
@@ -4084,7 +4099,7 @@ export const UpdateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
4084
4099
|
z.ZodTypeDef,
|
|
4085
4100
|
unknown
|
|
4086
4101
|
> = z.object({
|
|
4087
|
-
_id: z.string().default("
|
|
4102
|
+
_id: z.string().default("tool_01KABAYFXKAMPRTKCWMKNAA8EK"),
|
|
4088
4103
|
path: z.string(),
|
|
4089
4104
|
key: z.string(),
|
|
4090
4105
|
display_name: z.string().optional(),
|
|
@@ -4135,7 +4150,7 @@ export const UpdateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
4135
4150
|
z.ZodTypeDef,
|
|
4136
4151
|
UpdateToolResponseBody1
|
|
4137
4152
|
> = z.object({
|
|
4138
|
-
id: z.string().default("
|
|
4153
|
+
id: z.string().default("tool_01KABAYFXKAMPRTKCWMKNAA8EK"),
|
|
4139
4154
|
path: z.string(),
|
|
4140
4155
|
key: z.string(),
|
|
4141
4156
|
displayName: z.string().optional(),
|
package/src/lib/config.ts
CHANGED
|
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
68
68
|
export const SDK_METADATA = {
|
|
69
69
|
language: "typescript",
|
|
70
70
|
openapiDocVersion: "2.0",
|
|
71
|
-
sdkVersion: "3.14.
|
|
72
|
-
genVersion: "2.755.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 3.14.
|
|
71
|
+
sdkVersion: "3.14.41",
|
|
72
|
+
genVersion: "2.755.9",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 3.14.41 2.755.9 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -140,6 +140,18 @@ export const CreateAgentModelType = {
|
|
|
140
140
|
*/
|
|
141
141
|
export type CreateAgentModelType = ClosedEnum<typeof CreateAgentModelType>;
|
|
142
142
|
|
|
143
|
+
/**
|
|
144
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
145
|
+
*/
|
|
146
|
+
export const ThinkingLevel = {
|
|
147
|
+
Low: "low",
|
|
148
|
+
High: "high",
|
|
149
|
+
} as const;
|
|
150
|
+
/**
|
|
151
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
152
|
+
*/
|
|
153
|
+
export type ThinkingLevel = ClosedEnum<typeof ThinkingLevel>;
|
|
154
|
+
|
|
143
155
|
export type Thinking = {
|
|
144
156
|
/**
|
|
145
157
|
* Enables or disables the thinking mode capability
|
|
@@ -149,6 +161,10 @@ export type Thinking = {
|
|
|
149
161
|
* Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
|
|
150
162
|
*/
|
|
151
163
|
budgetTokens: number;
|
|
164
|
+
/**
|
|
165
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
166
|
+
*/
|
|
167
|
+
thinkingLevel?: ThinkingLevel | undefined;
|
|
152
168
|
};
|
|
153
169
|
|
|
154
170
|
/**
|
|
@@ -462,6 +478,20 @@ export const FallbackModelsType = {
|
|
|
462
478
|
*/
|
|
463
479
|
export type FallbackModelsType = ClosedEnum<typeof FallbackModelsType>;
|
|
464
480
|
|
|
481
|
+
/**
|
|
482
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
483
|
+
*/
|
|
484
|
+
export const FallbackModelsThinkingLevel = {
|
|
485
|
+
Low: "low",
|
|
486
|
+
High: "high",
|
|
487
|
+
} as const;
|
|
488
|
+
/**
|
|
489
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
490
|
+
*/
|
|
491
|
+
export type FallbackModelsThinkingLevel = ClosedEnum<
|
|
492
|
+
typeof FallbackModelsThinkingLevel
|
|
493
|
+
>;
|
|
494
|
+
|
|
465
495
|
export type FallbackModelsThinking = {
|
|
466
496
|
/**
|
|
467
497
|
* Enables or disables the thinking mode capability
|
|
@@ -471,6 +501,10 @@ export type FallbackModelsThinking = {
|
|
|
471
501
|
* Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
|
|
472
502
|
*/
|
|
473
503
|
budgetTokens: number;
|
|
504
|
+
/**
|
|
505
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
506
|
+
*/
|
|
507
|
+
thinkingLevel?: FallbackModelsThinkingLevel | undefined;
|
|
474
508
|
};
|
|
475
509
|
|
|
476
510
|
/**
|
|
@@ -1320,6 +1354,20 @@ export const CreateAgentType = {
|
|
|
1320
1354
|
*/
|
|
1321
1355
|
export type CreateAgentType = ClosedEnum<typeof CreateAgentType>;
|
|
1322
1356
|
|
|
1357
|
+
/**
|
|
1358
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
1359
|
+
*/
|
|
1360
|
+
export const CreateAgentThinkingLevel = {
|
|
1361
|
+
Low: "low",
|
|
1362
|
+
High: "high",
|
|
1363
|
+
} as const;
|
|
1364
|
+
/**
|
|
1365
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
1366
|
+
*/
|
|
1367
|
+
export type CreateAgentThinkingLevel = ClosedEnum<
|
|
1368
|
+
typeof CreateAgentThinkingLevel
|
|
1369
|
+
>;
|
|
1370
|
+
|
|
1323
1371
|
export type CreateAgentThinking = {
|
|
1324
1372
|
/**
|
|
1325
1373
|
* Enables or disables the thinking mode capability
|
|
@@ -1329,6 +1377,10 @@ export type CreateAgentThinking = {
|
|
|
1329
1377
|
* Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
|
|
1330
1378
|
*/
|
|
1331
1379
|
budgetTokens: number;
|
|
1380
|
+
/**
|
|
1381
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
1382
|
+
*/
|
|
1383
|
+
thinkingLevel?: CreateAgentThinkingLevel | undefined;
|
|
1332
1384
|
};
|
|
1333
1385
|
|
|
1334
1386
|
/**
|
|
@@ -1641,6 +1693,20 @@ export type CreateAgentFallbackModelsType = ClosedEnum<
|
|
|
1641
1693
|
typeof CreateAgentFallbackModelsType
|
|
1642
1694
|
>;
|
|
1643
1695
|
|
|
1696
|
+
/**
|
|
1697
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
1698
|
+
*/
|
|
1699
|
+
export const CreateAgentFallbackModelsThinkingLevel = {
|
|
1700
|
+
Low: "low",
|
|
1701
|
+
High: "high",
|
|
1702
|
+
} as const;
|
|
1703
|
+
/**
|
|
1704
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
1705
|
+
*/
|
|
1706
|
+
export type CreateAgentFallbackModelsThinkingLevel = ClosedEnum<
|
|
1707
|
+
typeof CreateAgentFallbackModelsThinkingLevel
|
|
1708
|
+
>;
|
|
1709
|
+
|
|
1644
1710
|
export type CreateAgentFallbackModelsThinking = {
|
|
1645
1711
|
/**
|
|
1646
1712
|
* Enables or disables the thinking mode capability
|
|
@@ -1650,6 +1716,10 @@ export type CreateAgentFallbackModelsThinking = {
|
|
|
1650
1716
|
* Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
|
|
1651
1717
|
*/
|
|
1652
1718
|
budgetTokens: number;
|
|
1719
|
+
/**
|
|
1720
|
+
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
1721
|
+
*/
|
|
1722
|
+
thinkingLevel?: CreateAgentFallbackModelsThinkingLevel | undefined;
|
|
1653
1723
|
};
|
|
1654
1724
|
|
|
1655
1725
|
/**
|
|
@@ -2291,6 +2361,15 @@ export const CreateAgentModelType$outboundSchema: z.ZodNativeEnum<
|
|
|
2291
2361
|
typeof CreateAgentModelType
|
|
2292
2362
|
> = CreateAgentModelType$inboundSchema;
|
|
2293
2363
|
|
|
2364
|
+
/** @internal */
|
|
2365
|
+
export const ThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
2366
|
+
typeof ThinkingLevel
|
|
2367
|
+
> = z.nativeEnum(ThinkingLevel);
|
|
2368
|
+
/** @internal */
|
|
2369
|
+
export const ThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
2370
|
+
typeof ThinkingLevel
|
|
2371
|
+
> = ThinkingLevel$inboundSchema;
|
|
2372
|
+
|
|
2294
2373
|
/** @internal */
|
|
2295
2374
|
export const Thinking$inboundSchema: z.ZodType<
|
|
2296
2375
|
Thinking,
|
|
@@ -2299,15 +2378,18 @@ export const Thinking$inboundSchema: z.ZodType<
|
|
|
2299
2378
|
> = z.object({
|
|
2300
2379
|
type: CreateAgentModelType$inboundSchema,
|
|
2301
2380
|
budget_tokens: z.number(),
|
|
2381
|
+
thinking_level: ThinkingLevel$inboundSchema.optional(),
|
|
2302
2382
|
}).transform((v) => {
|
|
2303
2383
|
return remap$(v, {
|
|
2304
2384
|
"budget_tokens": "budgetTokens",
|
|
2385
|
+
"thinking_level": "thinkingLevel",
|
|
2305
2386
|
});
|
|
2306
2387
|
});
|
|
2307
2388
|
/** @internal */
|
|
2308
2389
|
export type Thinking$Outbound = {
|
|
2309
2390
|
type: string;
|
|
2310
2391
|
budget_tokens: number;
|
|
2392
|
+
thinking_level?: string | undefined;
|
|
2311
2393
|
};
|
|
2312
2394
|
|
|
2313
2395
|
/** @internal */
|
|
@@ -2318,9 +2400,11 @@ export const Thinking$outboundSchema: z.ZodType<
|
|
|
2318
2400
|
> = z.object({
|
|
2319
2401
|
type: CreateAgentModelType$outboundSchema,
|
|
2320
2402
|
budgetTokens: z.number(),
|
|
2403
|
+
thinkingLevel: ThinkingLevel$outboundSchema.optional(),
|
|
2321
2404
|
}).transform((v) => {
|
|
2322
2405
|
return remap$(v, {
|
|
2323
2406
|
budgetTokens: "budget_tokens",
|
|
2407
|
+
thinkingLevel: "thinking_level",
|
|
2324
2408
|
});
|
|
2325
2409
|
});
|
|
2326
2410
|
|
|
@@ -3142,6 +3226,15 @@ export const FallbackModelsType$outboundSchema: z.ZodNativeEnum<
|
|
|
3142
3226
|
typeof FallbackModelsType
|
|
3143
3227
|
> = FallbackModelsType$inboundSchema;
|
|
3144
3228
|
|
|
3229
|
+
/** @internal */
|
|
3230
|
+
export const FallbackModelsThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
3231
|
+
typeof FallbackModelsThinkingLevel
|
|
3232
|
+
> = z.nativeEnum(FallbackModelsThinkingLevel);
|
|
3233
|
+
/** @internal */
|
|
3234
|
+
export const FallbackModelsThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
3235
|
+
typeof FallbackModelsThinkingLevel
|
|
3236
|
+
> = FallbackModelsThinkingLevel$inboundSchema;
|
|
3237
|
+
|
|
3145
3238
|
/** @internal */
|
|
3146
3239
|
export const FallbackModelsThinking$inboundSchema: z.ZodType<
|
|
3147
3240
|
FallbackModelsThinking,
|
|
@@ -3150,15 +3243,18 @@ export const FallbackModelsThinking$inboundSchema: z.ZodType<
|
|
|
3150
3243
|
> = z.object({
|
|
3151
3244
|
type: FallbackModelsType$inboundSchema,
|
|
3152
3245
|
budget_tokens: z.number(),
|
|
3246
|
+
thinking_level: FallbackModelsThinkingLevel$inboundSchema.optional(),
|
|
3153
3247
|
}).transform((v) => {
|
|
3154
3248
|
return remap$(v, {
|
|
3155
3249
|
"budget_tokens": "budgetTokens",
|
|
3250
|
+
"thinking_level": "thinkingLevel",
|
|
3156
3251
|
});
|
|
3157
3252
|
});
|
|
3158
3253
|
/** @internal */
|
|
3159
3254
|
export type FallbackModelsThinking$Outbound = {
|
|
3160
3255
|
type: string;
|
|
3161
3256
|
budget_tokens: number;
|
|
3257
|
+
thinking_level?: string | undefined;
|
|
3162
3258
|
};
|
|
3163
3259
|
|
|
3164
3260
|
/** @internal */
|
|
@@ -3169,9 +3265,11 @@ export const FallbackModelsThinking$outboundSchema: z.ZodType<
|
|
|
3169
3265
|
> = z.object({
|
|
3170
3266
|
type: FallbackModelsType$outboundSchema,
|
|
3171
3267
|
budgetTokens: z.number(),
|
|
3268
|
+
thinkingLevel: FallbackModelsThinkingLevel$outboundSchema.optional(),
|
|
3172
3269
|
}).transform((v) => {
|
|
3173
3270
|
return remap$(v, {
|
|
3174
3271
|
budgetTokens: "budget_tokens",
|
|
3272
|
+
thinkingLevel: "thinking_level",
|
|
3175
3273
|
});
|
|
3176
3274
|
});
|
|
3177
3275
|
|
|
@@ -5498,6 +5596,15 @@ export const CreateAgentType$outboundSchema: z.ZodNativeEnum<
|
|
|
5498
5596
|
typeof CreateAgentType
|
|
5499
5597
|
> = CreateAgentType$inboundSchema;
|
|
5500
5598
|
|
|
5599
|
+
/** @internal */
|
|
5600
|
+
export const CreateAgentThinkingLevel$inboundSchema: z.ZodNativeEnum<
|
|
5601
|
+
typeof CreateAgentThinkingLevel
|
|
5602
|
+
> = z.nativeEnum(CreateAgentThinkingLevel);
|
|
5603
|
+
/** @internal */
|
|
5604
|
+
export const CreateAgentThinkingLevel$outboundSchema: z.ZodNativeEnum<
|
|
5605
|
+
typeof CreateAgentThinkingLevel
|
|
5606
|
+
> = CreateAgentThinkingLevel$inboundSchema;
|
|
5607
|
+
|
|
5501
5608
|
/** @internal */
|
|
5502
5609
|
export const CreateAgentThinking$inboundSchema: z.ZodType<
|
|
5503
5610
|
CreateAgentThinking,
|
|
@@ -5506,15 +5613,18 @@ export const CreateAgentThinking$inboundSchema: z.ZodType<
|
|
|
5506
5613
|
> = z.object({
|
|
5507
5614
|
type: CreateAgentType$inboundSchema,
|
|
5508
5615
|
budget_tokens: z.number(),
|
|
5616
|
+
thinking_level: CreateAgentThinkingLevel$inboundSchema.optional(),
|
|
5509
5617
|
}).transform((v) => {
|
|
5510
5618
|
return remap$(v, {
|
|
5511
5619
|
"budget_tokens": "budgetTokens",
|
|
5620
|
+
"thinking_level": "thinkingLevel",
|
|
5512
5621
|
});
|
|
5513
5622
|
});
|
|
5514
5623
|
/** @internal */
|
|
5515
5624
|
export type CreateAgentThinking$Outbound = {
|
|
5516
5625
|
type: string;
|
|
5517
5626
|
budget_tokens: number;
|
|
5627
|
+
thinking_level?: string | undefined;
|
|
5518
5628
|
};
|
|
5519
5629
|
|
|
5520
5630
|
/** @internal */
|
|
@@ -5525,9 +5635,11 @@ export const CreateAgentThinking$outboundSchema: z.ZodType<
|
|
|
5525
5635
|
> = z.object({
|
|
5526
5636
|
type: CreateAgentType$outboundSchema,
|
|
5527
5637
|
budgetTokens: z.number(),
|
|
5638
|
+
thinkingLevel: CreateAgentThinkingLevel$outboundSchema.optional(),
|
|
5528
5639
|
}).transform((v) => {
|
|
5529
5640
|
return remap$(v, {
|
|
5530
5641
|
budgetTokens: "budget_tokens",
|
|
5642
|
+
thinkingLevel: "thinking_level",
|
|
5531
5643
|
});
|
|
5532
5644
|
});
|
|
5533
5645
|
|
|
@@ -6378,6 +6490,16 @@ export const CreateAgentFallbackModelsType$outboundSchema: z.ZodNativeEnum<
|
|
|
6378
6490
|
typeof CreateAgentFallbackModelsType
|
|
6379
6491
|
> = CreateAgentFallbackModelsType$inboundSchema;
|
|
6380
6492
|
|
|
6493
|
+
/** @internal */
|
|
6494
|
+
export const CreateAgentFallbackModelsThinkingLevel$inboundSchema:
|
|
6495
|
+
z.ZodNativeEnum<typeof CreateAgentFallbackModelsThinkingLevel> = z.nativeEnum(
|
|
6496
|
+
CreateAgentFallbackModelsThinkingLevel,
|
|
6497
|
+
);
|
|
6498
|
+
/** @internal */
|
|
6499
|
+
export const CreateAgentFallbackModelsThinkingLevel$outboundSchema:
|
|
6500
|
+
z.ZodNativeEnum<typeof CreateAgentFallbackModelsThinkingLevel> =
|
|
6501
|
+
CreateAgentFallbackModelsThinkingLevel$inboundSchema;
|
|
6502
|
+
|
|
6381
6503
|
/** @internal */
|
|
6382
6504
|
export const CreateAgentFallbackModelsThinking$inboundSchema: z.ZodType<
|
|
6383
6505
|
CreateAgentFallbackModelsThinking,
|
|
@@ -6386,15 +6508,19 @@ export const CreateAgentFallbackModelsThinking$inboundSchema: z.ZodType<
|
|
|
6386
6508
|
> = z.object({
|
|
6387
6509
|
type: CreateAgentFallbackModelsType$inboundSchema,
|
|
6388
6510
|
budget_tokens: z.number(),
|
|
6511
|
+
thinking_level: CreateAgentFallbackModelsThinkingLevel$inboundSchema
|
|
6512
|
+
.optional(),
|
|
6389
6513
|
}).transform((v) => {
|
|
6390
6514
|
return remap$(v, {
|
|
6391
6515
|
"budget_tokens": "budgetTokens",
|
|
6516
|
+
"thinking_level": "thinkingLevel",
|
|
6392
6517
|
});
|
|
6393
6518
|
});
|
|
6394
6519
|
/** @internal */
|
|
6395
6520
|
export type CreateAgentFallbackModelsThinking$Outbound = {
|
|
6396
6521
|
type: string;
|
|
6397
6522
|
budget_tokens: number;
|
|
6523
|
+
thinking_level?: string | undefined;
|
|
6398
6524
|
};
|
|
6399
6525
|
|
|
6400
6526
|
/** @internal */
|
|
@@ -6405,9 +6531,12 @@ export const CreateAgentFallbackModelsThinking$outboundSchema: z.ZodType<
|
|
|
6405
6531
|
> = z.object({
|
|
6406
6532
|
type: CreateAgentFallbackModelsType$outboundSchema,
|
|
6407
6533
|
budgetTokens: z.number(),
|
|
6534
|
+
thinkingLevel: CreateAgentFallbackModelsThinkingLevel$outboundSchema
|
|
6535
|
+
.optional(),
|
|
6408
6536
|
}).transform((v) => {
|
|
6409
6537
|
return remap$(v, {
|
|
6410
6538
|
budgetTokens: "budget_tokens",
|
|
6539
|
+
thinkingLevel: "thinking_level",
|
|
6411
6540
|
});
|
|
6412
6541
|
});
|
|
6413
6542
|
|
|
@@ -516,7 +516,7 @@ export const CreateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
516
516
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
517
517
|
.optional(),
|
|
518
518
|
updated: z.string().datetime({ offset: true }).default(
|
|
519
|
-
"2025-11-
|
|
519
|
+
"2025-11-18T22:06:34.424Z",
|
|
520
520
|
).transform(v => new Date(v)),
|
|
521
521
|
}).transform((v) => {
|
|
522
522
|
return remap$(v, {
|
|
@@ -553,7 +553,7 @@ export const CreateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
553
553
|
isActive: z.boolean(),
|
|
554
554
|
consumption: z.lazy(() => Consumption$outboundSchema).optional(),
|
|
555
555
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
556
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
556
|
+
updated: z.date().default(() => new Date("2025-11-18T22:06:34.424Z"))
|
|
557
557
|
.transform(v => v.toISOString()),
|
|
558
558
|
}).transform((v) => {
|
|
559
559
|
return remap$(v, {
|
|
@@ -167,7 +167,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
167
167
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
168
168
|
.optional(),
|
|
169
169
|
updated: z.string().datetime({ offset: true }).default(
|
|
170
|
-
"2025-11-
|
|
170
|
+
"2025-11-18T22:06:34.127Z",
|
|
171
171
|
).transform(v => new Date(v)),
|
|
172
172
|
}).transform((v) => {
|
|
173
173
|
return remap$(v, {
|
|
@@ -207,7 +207,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
207
207
|
tags: z.array(z.string()).optional(),
|
|
208
208
|
metadata: z.record(z.any()).optional(),
|
|
209
209
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
210
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
210
|
+
updated: z.date().default(() => new Date("2025-11-18T22:06:34.127Z"))
|
|
211
211
|
.transform(v => v.toISOString()),
|
|
212
212
|
}).transform((v) => {
|
|
213
213
|
return remap$(v, {
|
|
@@ -187,7 +187,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
187
187
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
188
188
|
.optional(),
|
|
189
189
|
updated: z.string().datetime({ offset: true }).default(
|
|
190
|
-
"2025-11-
|
|
190
|
+
"2025-11-18T22:06:34.127Z",
|
|
191
191
|
).transform(v => new Date(v)),
|
|
192
192
|
}).transform((v) => {
|
|
193
193
|
return remap$(v, {
|
|
@@ -226,7 +226,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
226
226
|
createdById: z.string().optional(),
|
|
227
227
|
updatedById: z.string().optional(),
|
|
228
228
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
229
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
229
|
+
updated: z.date().default(() => new Date("2025-11-18T22:06:34.127Z"))
|
|
230
230
|
.transform(v => v.toISOString()),
|
|
231
231
|
}).transform((v) => {
|
|
232
232
|
return remap$(v, {
|
|
@@ -4929,7 +4929,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
4929
4929
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
4930
4930
|
reviewed_by_id: z.string(),
|
|
4931
4931
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
4932
|
-
"2025-11-
|
|
4932
|
+
"2025-11-18T22:06:45.180Z",
|
|
4933
4933
|
).transform(v => new Date(v)),
|
|
4934
4934
|
type: CreateDatasetItemEvaluationsDatasetsType$inboundSchema,
|
|
4935
4935
|
values: z.array(z.string()),
|
|
@@ -4964,7 +4964,7 @@ export const Evaluations3$outboundSchema: z.ZodType<
|
|
|
4964
4964
|
humanReviewId: z.string(),
|
|
4965
4965
|
source: CreateDatasetItemEvaluationsSource$outboundSchema.default("orq"),
|
|
4966
4966
|
reviewedById: z.string(),
|
|
4967
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
4967
|
+
reviewedAt: z.date().default(() => new Date("2025-11-18T22:06:45.180Z"))
|
|
4968
4968
|
.transform(v => v.toISOString()),
|
|
4969
4969
|
type: CreateDatasetItemEvaluationsDatasetsType$outboundSchema,
|
|
4970
4970
|
values: z.array(z.string()),
|
|
@@ -5029,7 +5029,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
5029
5029
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
5030
5030
|
reviewed_by_id: z.string(),
|
|
5031
5031
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
5032
|
-
"2025-11-
|
|
5032
|
+
"2025-11-18T22:06:45.179Z",
|
|
5033
5033
|
).transform(v => new Date(v)),
|
|
5034
5034
|
type: CreateDatasetItemEvaluationsType$inboundSchema,
|
|
5035
5035
|
value: z.number(),
|
|
@@ -5064,7 +5064,7 @@ export const Evaluations2$outboundSchema: z.ZodType<
|
|
|
5064
5064
|
humanReviewId: z.string(),
|
|
5065
5065
|
source: EvaluationsSource$outboundSchema.default("orq"),
|
|
5066
5066
|
reviewedById: z.string(),
|
|
5067
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
5067
|
+
reviewedAt: z.date().default(() => new Date("2025-11-18T22:06:45.179Z"))
|
|
5068
5068
|
.transform(v => v.toISOString()),
|
|
5069
5069
|
type: CreateDatasetItemEvaluationsType$outboundSchema,
|
|
5070
5070
|
value: z.number(),
|
|
@@ -5127,7 +5127,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
5127
5127
|
source: Source$inboundSchema.default("orq"),
|
|
5128
5128
|
reviewed_by_id: z.string(),
|
|
5129
5129
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
5130
|
-
"2025-11-
|
|
5130
|
+
"2025-11-18T22:06:45.178Z",
|
|
5131
5131
|
).transform(v => new Date(v)),
|
|
5132
5132
|
type: EvaluationsType$inboundSchema,
|
|
5133
5133
|
value: z.string(),
|
|
@@ -5162,7 +5162,7 @@ export const Evaluations1$outboundSchema: z.ZodType<
|
|
|
5162
5162
|
humanReviewId: z.string(),
|
|
5163
5163
|
source: Source$outboundSchema.default("orq"),
|
|
5164
5164
|
reviewedById: z.string(),
|
|
5165
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
5165
|
+
reviewedAt: z.date().default(() => new Date("2025-11-18T22:06:45.178Z"))
|
|
5166
5166
|
.transform(v => v.toISOString()),
|
|
5167
5167
|
type: EvaluationsType$outboundSchema,
|
|
5168
5168
|
value: z.string(),
|
|
@@ -5267,7 +5267,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
5267
5267
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
5268
5268
|
.optional(),
|
|
5269
5269
|
updated: z.string().datetime({ offset: true }).default(
|
|
5270
|
-
"2025-11-
|
|
5270
|
+
"2025-11-18T22:06:34.127Z",
|
|
5271
5271
|
).transform(v => new Date(v)),
|
|
5272
5272
|
}).transform((v) => {
|
|
5273
5273
|
return remap$(v, {
|
|
@@ -5345,7 +5345,7 @@ export const CreateDatasetItemResponseBody$outboundSchema: z.ZodType<
|
|
|
5345
5345
|
createdById: z.string().optional(),
|
|
5346
5346
|
updatedById: z.string().optional(),
|
|
5347
5347
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
5348
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
5348
|
+
updated: z.date().default(() => new Date("2025-11-18T22:06:34.127Z"))
|
|
5349
5349
|
.transform(v => v.toISOString()),
|
|
5350
5350
|
}).transform((v) => {
|
|
5351
5351
|
return remap$(v, {
|
|
@@ -608,7 +608,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
608
608
|
z.ZodTypeDef,
|
|
609
609
|
unknown
|
|
610
610
|
> = z.object({
|
|
611
|
-
_id: z.string().default("
|
|
611
|
+
_id: z.string().default("01KACG31ANA5GVMCR7F2X00FE9"),
|
|
612
612
|
display_name: z.string(),
|
|
613
613
|
description: z.string().optional(),
|
|
614
614
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -651,7 +651,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
651
651
|
z.ZodTypeDef,
|
|
652
652
|
CreateDatasourceResponseBody
|
|
653
653
|
> = z.object({
|
|
654
|
-
id: z.string().default("
|
|
654
|
+
id: z.string().default("01KACG31ANA5GVMCR7F2X00FE9"),
|
|
655
655
|
displayName: z.string(),
|
|
656
656
|
description: z.string().optional(),
|
|
657
657
|
status: CreateDatasourceStatus$outboundSchema,
|