@orq-ai/node 4.1.0-rc.39 → 4.1.0-rc.40
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 +662 -352
- package/bin/mcp-server.js.map +49 -49
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/conversationresponse.js +2 -2
- package/models/components/partdoneevent.js +2 -2
- package/models/components/reasoningpart.js +2 -2
- package/models/operations/createagentrequest.d.ts +370 -42
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +277 -48
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createconversation.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 +10 -10
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +13 -13
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/generateconversationname.js +2 -2
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listagents.d.ts +96 -4
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +57 -7
- package/models/operations/listagents.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/retrieveagentrequest.d.ts +96 -4
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +59 -7
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrieveconversation.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +96 -4
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +65 -11
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +96 -4
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +63 -11
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +370 -42
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +276 -48
- 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/updateconversation.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/conversationresponse.ts +2 -2
- package/src/models/components/partdoneevent.ts +2 -2
- package/src/models/components/reasoningpart.ts +2 -2
- package/src/models/operations/createagentrequest.ts +696 -86
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createconversation.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 +25 -23
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/generateconversationname.ts +2 -2
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listagents.ts +122 -8
- 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/retrieveagentrequest.ts +130 -8
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrieveconversation.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +126 -10
- package/src/models/operations/streamrunagent.ts +128 -10
- package/src/models/operations/updateagent.ts +698 -86
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updateconversation.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -276,6 +276,42 @@ export type RetrieveAgentRequestResponseFormat =
|
|
|
276
276
|
| RetrieveAgentRequestResponseFormatJSONObject
|
|
277
277
|
| RetrieveAgentRequestResponseFormatAgentsJSONSchema;
|
|
278
278
|
|
|
279
|
+
/**
|
|
280
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
281
|
+
*
|
|
282
|
+
* @remarks
|
|
283
|
+
*
|
|
284
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
285
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
286
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
287
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
288
|
+
*
|
|
289
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
290
|
+
*/
|
|
291
|
+
export const RetrieveAgentRequestReasoningEffort = {
|
|
292
|
+
None: "none",
|
|
293
|
+
Minimal: "minimal",
|
|
294
|
+
Low: "low",
|
|
295
|
+
Medium: "medium",
|
|
296
|
+
High: "high",
|
|
297
|
+
Xhigh: "xhigh",
|
|
298
|
+
} as const;
|
|
299
|
+
/**
|
|
300
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
301
|
+
*
|
|
302
|
+
* @remarks
|
|
303
|
+
*
|
|
304
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
305
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
306
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
307
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
308
|
+
*
|
|
309
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
310
|
+
*/
|
|
311
|
+
export type RetrieveAgentRequestReasoningEffort = ClosedEnum<
|
|
312
|
+
typeof RetrieveAgentRequestReasoningEffort
|
|
313
|
+
>;
|
|
314
|
+
|
|
279
315
|
/**
|
|
280
316
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
281
317
|
*/
|
|
@@ -396,9 +432,18 @@ export type RetrieveAgentRequestParameters = {
|
|
|
396
432
|
| RetrieveAgentRequestResponseFormatAgentsJSONSchema
|
|
397
433
|
| undefined;
|
|
398
434
|
/**
|
|
399
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
435
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
436
|
+
*
|
|
437
|
+
* @remarks
|
|
438
|
+
*
|
|
439
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
440
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
441
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
442
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
443
|
+
*
|
|
444
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
400
445
|
*/
|
|
401
|
-
reasoningEffort?:
|
|
446
|
+
reasoningEffort?: RetrieveAgentRequestReasoningEffort | undefined;
|
|
402
447
|
/**
|
|
403
448
|
* Adjusts response verbosity. Lower levels yield shorter answers.
|
|
404
449
|
*/
|
|
@@ -566,6 +611,43 @@ export type RetrieveAgentRequestFallbackModelConfigurationResponseFormat =
|
|
|
566
611
|
| RetrieveAgentRequestResponseFormatAgentsJSONObject
|
|
567
612
|
| RetrieveAgentRequestResponseFormatAgentsResponse200JSONSchema;
|
|
568
613
|
|
|
614
|
+
/**
|
|
615
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
616
|
+
*
|
|
617
|
+
* @remarks
|
|
618
|
+
*
|
|
619
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
620
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
621
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
622
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
623
|
+
*
|
|
624
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
625
|
+
*/
|
|
626
|
+
export const RetrieveAgentRequestFallbackModelConfigurationReasoningEffort = {
|
|
627
|
+
None: "none",
|
|
628
|
+
Minimal: "minimal",
|
|
629
|
+
Low: "low",
|
|
630
|
+
Medium: "medium",
|
|
631
|
+
High: "high",
|
|
632
|
+
Xhigh: "xhigh",
|
|
633
|
+
} as const;
|
|
634
|
+
/**
|
|
635
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
636
|
+
*
|
|
637
|
+
* @remarks
|
|
638
|
+
*
|
|
639
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
640
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
641
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
642
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
643
|
+
*
|
|
644
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
645
|
+
*/
|
|
646
|
+
export type RetrieveAgentRequestFallbackModelConfigurationReasoningEffort =
|
|
647
|
+
ClosedEnum<
|
|
648
|
+
typeof RetrieveAgentRequestFallbackModelConfigurationReasoningEffort
|
|
649
|
+
>;
|
|
650
|
+
|
|
569
651
|
/**
|
|
570
652
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
571
653
|
*/
|
|
@@ -690,9 +772,20 @@ export type RetrieveAgentRequestFallbackModelConfigurationParameters = {
|
|
|
690
772
|
| RetrieveAgentRequestResponseFormatAgentsResponse200JSONSchema
|
|
691
773
|
| undefined;
|
|
692
774
|
/**
|
|
693
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
775
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
776
|
+
*
|
|
777
|
+
* @remarks
|
|
778
|
+
*
|
|
779
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
780
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
781
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
782
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
783
|
+
*
|
|
784
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
694
785
|
*/
|
|
695
|
-
reasoningEffort?:
|
|
786
|
+
reasoningEffort?:
|
|
787
|
+
| RetrieveAgentRequestFallbackModelConfigurationReasoningEffort
|
|
788
|
+
| undefined;
|
|
696
789
|
/**
|
|
697
790
|
* Adjusts response verbosity. Lower levels yield shorter answers.
|
|
698
791
|
*/
|
|
@@ -1610,6 +1703,15 @@ export function retrieveAgentRequestResponseFormatFromJSON(
|
|
|
1610
1703
|
);
|
|
1611
1704
|
}
|
|
1612
1705
|
|
|
1706
|
+
/** @internal */
|
|
1707
|
+
export const RetrieveAgentRequestReasoningEffort$inboundSchema: z.ZodNativeEnum<
|
|
1708
|
+
typeof RetrieveAgentRequestReasoningEffort
|
|
1709
|
+
> = z.nativeEnum(RetrieveAgentRequestReasoningEffort);
|
|
1710
|
+
/** @internal */
|
|
1711
|
+
export const RetrieveAgentRequestReasoningEffort$outboundSchema:
|
|
1712
|
+
z.ZodNativeEnum<typeof RetrieveAgentRequestReasoningEffort> =
|
|
1713
|
+
RetrieveAgentRequestReasoningEffort$inboundSchema;
|
|
1714
|
+
|
|
1613
1715
|
/** @internal */
|
|
1614
1716
|
export const RetrieveAgentRequestStop$inboundSchema: z.ZodType<
|
|
1615
1717
|
RetrieveAgentRequestStop,
|
|
@@ -1914,7 +2016,8 @@ export const RetrieveAgentRequestParameters$inboundSchema: z.ZodType<
|
|
|
1914
2016
|
RetrieveAgentRequestResponseFormatAgentsJSONSchema$inboundSchema
|
|
1915
2017
|
),
|
|
1916
2018
|
]).optional(),
|
|
1917
|
-
reasoning_effort:
|
|
2019
|
+
reasoning_effort: RetrieveAgentRequestReasoningEffort$inboundSchema
|
|
2020
|
+
.optional(),
|
|
1918
2021
|
verbosity: z.string().optional(),
|
|
1919
2022
|
seed: z.nullable(z.number()).optional(),
|
|
1920
2023
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -2008,7 +2111,8 @@ export const RetrieveAgentRequestParameters$outboundSchema: z.ZodType<
|
|
|
2008
2111
|
RetrieveAgentRequestResponseFormatAgentsJSONSchema$outboundSchema
|
|
2009
2112
|
),
|
|
2010
2113
|
]).optional(),
|
|
2011
|
-
reasoningEffort:
|
|
2114
|
+
reasoningEffort: RetrieveAgentRequestReasoningEffort$outboundSchema
|
|
2115
|
+
.optional(),
|
|
2012
2116
|
verbosity: z.string().optional(),
|
|
2013
2117
|
seed: z.nullable(z.number()).optional(),
|
|
2014
2118
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -2470,6 +2574,20 @@ export function retrieveAgentRequestFallbackModelConfigurationResponseFormatFrom
|
|
|
2470
2574
|
);
|
|
2471
2575
|
}
|
|
2472
2576
|
|
|
2577
|
+
/** @internal */
|
|
2578
|
+
export const RetrieveAgentRequestFallbackModelConfigurationReasoningEffort$inboundSchema:
|
|
2579
|
+
z.ZodNativeEnum<
|
|
2580
|
+
typeof RetrieveAgentRequestFallbackModelConfigurationReasoningEffort
|
|
2581
|
+
> = z.nativeEnum(
|
|
2582
|
+
RetrieveAgentRequestFallbackModelConfigurationReasoningEffort,
|
|
2583
|
+
);
|
|
2584
|
+
/** @internal */
|
|
2585
|
+
export const RetrieveAgentRequestFallbackModelConfigurationReasoningEffort$outboundSchema:
|
|
2586
|
+
z.ZodNativeEnum<
|
|
2587
|
+
typeof RetrieveAgentRequestFallbackModelConfigurationReasoningEffort
|
|
2588
|
+
> =
|
|
2589
|
+
RetrieveAgentRequestFallbackModelConfigurationReasoningEffort$inboundSchema;
|
|
2590
|
+
|
|
2473
2591
|
/** @internal */
|
|
2474
2592
|
export const RetrieveAgentRequestFallbackModelConfigurationStop$inboundSchema:
|
|
2475
2593
|
z.ZodType<
|
|
@@ -2831,7 +2949,9 @@ export const RetrieveAgentRequestFallbackModelConfigurationParameters$inboundSch
|
|
|
2831
2949
|
RetrieveAgentRequestResponseFormatAgentsResponse200JSONSchema$inboundSchema
|
|
2832
2950
|
),
|
|
2833
2951
|
]).optional(),
|
|
2834
|
-
reasoning_effort:
|
|
2952
|
+
reasoning_effort:
|
|
2953
|
+
RetrieveAgentRequestFallbackModelConfigurationReasoningEffort$inboundSchema
|
|
2954
|
+
.optional(),
|
|
2835
2955
|
verbosity: z.string().optional(),
|
|
2836
2956
|
seed: z.nullable(z.number()).optional(),
|
|
2837
2957
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -2943,7 +3063,9 @@ export const RetrieveAgentRequestFallbackModelConfigurationParameters$outboundSc
|
|
|
2943
3063
|
RetrieveAgentRequestResponseFormatAgentsResponse200JSONSchema$outboundSchema
|
|
2944
3064
|
),
|
|
2945
3065
|
]).optional(),
|
|
2946
|
-
reasoningEffort:
|
|
3066
|
+
reasoningEffort:
|
|
3067
|
+
RetrieveAgentRequestFallbackModelConfigurationReasoningEffort$outboundSchema
|
|
3068
|
+
.optional(),
|
|
2947
3069
|
verbosity: z.string().optional(),
|
|
2948
3070
|
seed: z.nullable(z.number()).optional(),
|
|
2949
3071
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -112,7 +112,7 @@ export const RetrieveContactResponseBody$inboundSchema: z.ZodType<
|
|
|
112
112
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
113
113
|
.optional(),
|
|
114
114
|
updated: z.string().datetime({ offset: true }).default(
|
|
115
|
-
"2025-12-
|
|
115
|
+
"2025-12-12T09:28:31.444Z",
|
|
116
116
|
).transform(v => new Date(v)),
|
|
117
117
|
}).transform((v) => {
|
|
118
118
|
return remap$(v, {
|
|
@@ -149,7 +149,7 @@ export const RetrieveContactResponseBody$outboundSchema: z.ZodType<
|
|
|
149
149
|
tags: z.array(z.string()).optional(),
|
|
150
150
|
metadata: z.record(z.any()).optional(),
|
|
151
151
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
152
|
-
updated: z.date().default(() => new Date("2025-12-
|
|
152
|
+
updated: z.date().default(() => new Date("2025-12-12T09:28:31.444Z"))
|
|
153
153
|
.transform(v => v.toISOString()),
|
|
154
154
|
}).transform((v) => {
|
|
155
155
|
return remap$(v, {
|
|
@@ -203,7 +203,7 @@ export const RetrieveConversationResponseBody$inboundSchema: z.ZodType<
|
|
|
203
203
|
z.ZodTypeDef,
|
|
204
204
|
unknown
|
|
205
205
|
> = z.object({
|
|
206
|
-
_id: z.string().default("
|
|
206
|
+
_id: z.string().default("conv_01kc8y89hws2pjs5e0zfttefck"),
|
|
207
207
|
entity_id: z.string(),
|
|
208
208
|
kind: RetrieveConversationKind$inboundSchema,
|
|
209
209
|
display_name: z.string(),
|
|
@@ -242,7 +242,7 @@ export const RetrieveConversationResponseBody$outboundSchema: z.ZodType<
|
|
|
242
242
|
z.ZodTypeDef,
|
|
243
243
|
RetrieveConversationResponseBody
|
|
244
244
|
> = z.object({
|
|
245
|
-
id: z.string().default("
|
|
245
|
+
id: z.string().default("conv_01kc8y89hws2pjs5e0zfttefck"),
|
|
246
246
|
entityId: z.string(),
|
|
247
247
|
kind: RetrieveConversationKind$outboundSchema,
|
|
248
248
|
displayName: z.string(),
|
|
@@ -1878,7 +1878,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1878
1878
|
.default("orq"),
|
|
1879
1879
|
reviewed_by_id: z.string(),
|
|
1880
1880
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1881
|
-
"2025-12-
|
|
1881
|
+
"2025-12-12T09:28:43.873Z",
|
|
1882
1882
|
).transform(v => new Date(v)),
|
|
1883
1883
|
type: z.literal("string_array"),
|
|
1884
1884
|
values: z.array(z.string()),
|
|
@@ -1915,7 +1915,7 @@ export const RetrieveDatapointEvaluations3$outboundSchema: z.ZodType<
|
|
|
1915
1915
|
source: RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema
|
|
1916
1916
|
.default("orq"),
|
|
1917
1917
|
reviewedById: z.string(),
|
|
1918
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
1918
|
+
reviewedAt: z.date().default(() => new Date("2025-12-12T09:28:43.873Z"))
|
|
1919
1919
|
.transform(v => v.toISOString()),
|
|
1920
1920
|
type: z.literal("string_array"),
|
|
1921
1921
|
values: z.array(z.string()),
|
|
@@ -1980,7 +1980,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1980
1980
|
),
|
|
1981
1981
|
reviewed_by_id: z.string(),
|
|
1982
1982
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1983
|
-
"2025-12-
|
|
1983
|
+
"2025-12-12T09:28:43.872Z",
|
|
1984
1984
|
).transform(v => new Date(v)),
|
|
1985
1985
|
type: z.literal("number"),
|
|
1986
1986
|
value: z.number(),
|
|
@@ -2018,7 +2018,7 @@ export const RetrieveDatapointEvaluations2$outboundSchema: z.ZodType<
|
|
|
2018
2018
|
"orq",
|
|
2019
2019
|
),
|
|
2020
2020
|
reviewedById: z.string(),
|
|
2021
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
2021
|
+
reviewedAt: z.date().default(() => new Date("2025-12-12T09:28:43.872Z"))
|
|
2022
2022
|
.transform(v => v.toISOString()),
|
|
2023
2023
|
type: z.literal("number"),
|
|
2024
2024
|
value: z.number(),
|
|
@@ -2080,7 +2080,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2080
2080
|
source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
2081
2081
|
reviewed_by_id: z.string(),
|
|
2082
2082
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2083
|
-
"2025-12-
|
|
2083
|
+
"2025-12-12T09:28:43.872Z",
|
|
2084
2084
|
).transform(v => new Date(v)),
|
|
2085
2085
|
type: z.literal("string"),
|
|
2086
2086
|
value: z.string(),
|
|
@@ -2115,7 +2115,7 @@ export const RetrieveDatapointEvaluations1$outboundSchema: z.ZodType<
|
|
|
2115
2115
|
humanReviewId: z.string(),
|
|
2116
2116
|
source: RetrieveDatapointEvaluationsSource$outboundSchema.default("orq"),
|
|
2117
2117
|
reviewedById: z.string(),
|
|
2118
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
2118
|
+
reviewedAt: z.date().default(() => new Date("2025-12-12T09:28:43.872Z"))
|
|
2119
2119
|
.transform(v => v.toISOString()),
|
|
2120
2120
|
type: z.literal("string"),
|
|
2121
2121
|
value: z.string(),
|
|
@@ -2226,7 +2226,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2226
2226
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2227
2227
|
.optional(),
|
|
2228
2228
|
updated: z.string().datetime({ offset: true }).default(
|
|
2229
|
-
"2025-12-
|
|
2229
|
+
"2025-12-12T09:28:31.444Z",
|
|
2230
2230
|
).transform(v => new Date(v)),
|
|
2231
2231
|
}).transform((v) => {
|
|
2232
2232
|
return remap$(v, {
|
|
@@ -2300,7 +2300,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
2300
2300
|
createdById: z.string().optional(),
|
|
2301
2301
|
updatedById: z.string().optional(),
|
|
2302
2302
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
2303
|
-
updated: z.date().default(() => new Date("2025-12-
|
|
2303
|
+
updated: z.date().default(() => new Date("2025-12-12T09:28:31.444Z"))
|
|
2304
2304
|
.transform(v => v.toISOString()),
|
|
2305
2305
|
}).transform((v) => {
|
|
2306
2306
|
return remap$(v, {
|
|
@@ -174,7 +174,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
174
174
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
175
175
|
.optional(),
|
|
176
176
|
updated: z.string().datetime({ offset: true }).default(
|
|
177
|
-
"2025-12-
|
|
177
|
+
"2025-12-12T09:28:31.444Z",
|
|
178
178
|
).transform(v => new Date(v)),
|
|
179
179
|
}).transform((v) => {
|
|
180
180
|
return remap$(v, {
|
|
@@ -213,7 +213,7 @@ export const RetrieveDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
213
213
|
createdById: z.string().optional(),
|
|
214
214
|
updatedById: z.string().optional(),
|
|
215
215
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
216
|
-
updated: z.date().default(() => new Date("2025-12-
|
|
216
|
+
updated: z.date().default(() => new Date("2025-12-12T09:28:31.444Z"))
|
|
217
217
|
.transform(v => v.toISOString()),
|
|
218
218
|
}).transform((v) => {
|
|
219
219
|
return remap$(v, {
|
|
@@ -145,7 +145,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
145
145
|
z.ZodTypeDef,
|
|
146
146
|
unknown
|
|
147
147
|
> = z.object({
|
|
148
|
-
_id: z.string().default("
|
|
148
|
+
_id: z.string().default("01KC8Y8A0A0XEK80JX974MSA6K"),
|
|
149
149
|
display_name: z.string(),
|
|
150
150
|
description: z.string().optional(),
|
|
151
151
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -188,7 +188,7 @@ export const RetrieveDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
188
188
|
z.ZodTypeDef,
|
|
189
189
|
RetrieveDatasourceResponseBody
|
|
190
190
|
> = z.object({
|
|
191
|
-
id: z.string().default("
|
|
191
|
+
id: z.string().default("01KC8Y8A0A0XEK80JX974MSA6K"),
|
|
192
192
|
displayName: z.string(),
|
|
193
193
|
description: z.string().optional(),
|
|
194
194
|
status: RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -858,7 +858,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
858
858
|
z.ZodTypeDef,
|
|
859
859
|
unknown
|
|
860
860
|
> = z.object({
|
|
861
|
-
_id: z.string().default("
|
|
861
|
+
_id: z.string().default("tool_01KC8Y89X6CZGPAQRCV0NNHD8Y"),
|
|
862
862
|
path: z.string(),
|
|
863
863
|
key: z.string(),
|
|
864
864
|
display_name: z.string().optional(),
|
|
@@ -913,7 +913,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$outboundSchema:
|
|
|
913
913
|
z.ZodTypeDef,
|
|
914
914
|
RetrieveToolResponseBodyCodeExecutionTool
|
|
915
915
|
> = z.object({
|
|
916
|
-
id: z.string().default("
|
|
916
|
+
id: z.string().default("tool_01KC8Y89X6CZGPAQRCV0NNHD8Y"),
|
|
917
917
|
path: z.string(),
|
|
918
918
|
key: z.string(),
|
|
919
919
|
displayName: z.string().optional(),
|
|
@@ -1092,7 +1092,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1092
1092
|
z.ZodTypeDef,
|
|
1093
1093
|
unknown
|
|
1094
1094
|
> = z.object({
|
|
1095
|
-
id: z.string().default("
|
|
1095
|
+
id: z.string().default("01KC8Y89X66YFE2MBXJBC33V5W"),
|
|
1096
1096
|
name: z.string(),
|
|
1097
1097
|
description: z.string().optional(),
|
|
1098
1098
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -1111,7 +1111,7 @@ export const RetrieveToolResponseBodyTools$outboundSchema: z.ZodType<
|
|
|
1111
1111
|
z.ZodTypeDef,
|
|
1112
1112
|
RetrieveToolResponseBodyTools
|
|
1113
1113
|
> = z.object({
|
|
1114
|
-
id: z.string().default("
|
|
1114
|
+
id: z.string().default("01KC8Y89X66YFE2MBXJBC33V5W"),
|
|
1115
1115
|
name: z.string(),
|
|
1116
1116
|
description: z.string().optional(),
|
|
1117
1117
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$outboundSchema),
|
|
@@ -1217,7 +1217,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
1217
1217
|
z.ZodTypeDef,
|
|
1218
1218
|
unknown
|
|
1219
1219
|
> = z.object({
|
|
1220
|
-
_id: z.string().default("
|
|
1220
|
+
_id: z.string().default("tool_01KC8Y89X4H72WT43ED999KRK0"),
|
|
1221
1221
|
path: z.string(),
|
|
1222
1222
|
key: z.string(),
|
|
1223
1223
|
display_name: z.string().optional(),
|
|
@@ -1270,7 +1270,7 @@ export const RetrieveToolResponseBodyMCPTool$outboundSchema: z.ZodType<
|
|
|
1270
1270
|
z.ZodTypeDef,
|
|
1271
1271
|
RetrieveToolResponseBodyMCPTool
|
|
1272
1272
|
> = z.object({
|
|
1273
|
-
id: z.string().default("
|
|
1273
|
+
id: z.string().default("tool_01KC8Y89X4H72WT43ED999KRK0"),
|
|
1274
1274
|
path: z.string(),
|
|
1275
1275
|
key: z.string(),
|
|
1276
1276
|
displayName: z.string().optional(),
|
|
@@ -1641,7 +1641,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1641
1641
|
z.ZodTypeDef,
|
|
1642
1642
|
unknown
|
|
1643
1643
|
> = z.object({
|
|
1644
|
-
_id: z.string().default("
|
|
1644
|
+
_id: z.string().default("tool_01KC8Y89X2M8EK22A7JCFCYP9P"),
|
|
1645
1645
|
path: z.string(),
|
|
1646
1646
|
key: z.string(),
|
|
1647
1647
|
display_name: z.string().optional(),
|
|
@@ -1694,7 +1694,7 @@ export const RetrieveToolResponseBodyHTTPTool$outboundSchema: z.ZodType<
|
|
|
1694
1694
|
z.ZodTypeDef,
|
|
1695
1695
|
RetrieveToolResponseBodyHTTPTool
|
|
1696
1696
|
> = z.object({
|
|
1697
|
-
id: z.string().default("
|
|
1697
|
+
id: z.string().default("tool_01KC8Y89X2M8EK22A7JCFCYP9P"),
|
|
1698
1698
|
path: z.string(),
|
|
1699
1699
|
key: z.string(),
|
|
1700
1700
|
displayName: z.string().optional(),
|
|
@@ -1868,7 +1868,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1868
1868
|
z.ZodTypeDef,
|
|
1869
1869
|
unknown
|
|
1870
1870
|
> = z.object({
|
|
1871
|
-
_id: z.string().default("
|
|
1871
|
+
_id: z.string().default("tool_01KC8Y89X0JCZ4VPNX1YGF5YKG"),
|
|
1872
1872
|
path: z.string(),
|
|
1873
1873
|
key: z.string(),
|
|
1874
1874
|
display_name: z.string().optional(),
|
|
@@ -1920,7 +1920,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$outboundSchema: z.ZodType<
|
|
|
1920
1920
|
z.ZodTypeDef,
|
|
1921
1921
|
RetrieveToolResponseBodyJSONSchemaTool
|
|
1922
1922
|
> = z.object({
|
|
1923
|
-
id: z.string().default("
|
|
1923
|
+
id: z.string().default("tool_01KC8Y89X0JCZ4VPNX1YGF5YKG"),
|
|
1924
1924
|
path: z.string(),
|
|
1925
1925
|
key: z.string(),
|
|
1926
1926
|
displayName: z.string().optional(),
|
|
@@ -2113,7 +2113,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2113
2113
|
z.ZodTypeDef,
|
|
2114
2114
|
unknown
|
|
2115
2115
|
> = z.object({
|
|
2116
|
-
_id: z.string().default("
|
|
2116
|
+
_id: z.string().default("tool_01KC8Y89WPJSQ118M9YM1S4P5Q"),
|
|
2117
2117
|
path: z.string(),
|
|
2118
2118
|
key: z.string(),
|
|
2119
2119
|
display_name: z.string().optional(),
|
|
@@ -2164,7 +2164,7 @@ export const RetrieveToolResponseBodyFunctionTool$outboundSchema: z.ZodType<
|
|
|
2164
2164
|
z.ZodTypeDef,
|
|
2165
2165
|
RetrieveToolResponseBodyFunctionTool
|
|
2166
2166
|
> = z.object({
|
|
2167
|
-
id: z.string().default("
|
|
2167
|
+
id: z.string().default("tool_01KC8Y89WPJSQ118M9YM1S4P5Q"),
|
|
2168
2168
|
path: z.string(),
|
|
2169
2169
|
key: z.string(),
|
|
2170
2170
|
displayName: z.string().optional(),
|