@orq-ai/node 4.10.16 → 4.10.17
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/funcs/datasetsList.js +2 -0
- package/funcs/datasetsList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/modelmetadata.d.ts +2 -0
- package/models/components/modelmetadata.d.ts.map +1 -1
- package/models/components/modelmetadata.js +4 -0
- package/models/components/modelmetadata.js.map +1 -1
- package/models/components/reasoning.d.ts +40 -2
- package/models/components/reasoning.d.ts.map +1 -1
- package/models/components/reasoning.js +26 -3
- package/models/components/reasoning.js.map +1 -1
- package/models/components/reasoningparam.d.ts +40 -2
- package/models/components/reasoningparam.d.ts.map +1 -1
- package/models/components/reasoningparam.js +28 -3
- package/models/components/reasoningparam.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +298 -4
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +163 -9
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +81 -4
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +45 -7
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/creatememorystore.d.ts +3 -3
- package/models/operations/creatememorystore.d.ts.map +1 -1
- package/models/operations/creatememorystore.js +2 -2
- package/models/operations/creatememorystore.js.map +1 -1
- package/models/operations/createprompt.d.ts +225 -12
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +124 -13
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +349 -4
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +195 -4
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentgetconfig.d.ts +70 -4
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +43 -8
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +74 -8
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +43 -8
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/getallmemorystores.d.ts +1 -1
- package/models/operations/getallmemorystores.d.ts.map +1 -1
- package/models/operations/getallmemorystores.js +1 -1
- package/models/operations/getallmemorystores.js.map +1 -1
- package/models/operations/getallprompts.d.ts +140 -4
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +79 -6
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getoneprompt.d.ts +140 -4
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +79 -6
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +140 -4
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +78 -6
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listagents.d.ts +140 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +79 -3
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.d.ts +10 -0
- package/models/operations/listdatasets.d.ts.map +1 -1
- package/models/operations/listdatasets.js +4 -1
- package/models/operations/listdatasets.js.map +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listknowledgebases.d.ts +1 -1
- package/models/operations/listpromptversions.d.ts +140 -4
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +79 -6
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +140 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +81 -2
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievememorystore.d.ts +1 -1
- package/models/operations/retrievememorystore.d.ts.map +1 -1
- package/models/operations/retrievememorystore.js +1 -1
- package/models/operations/retrievememorystore.js.map +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +154 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +80 -5
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +154 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +82 -4
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +298 -4
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +162 -9
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updatememorystore.d.ts +3 -3
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +2 -2
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +225 -12
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +125 -14
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +7 -7
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +5 -5
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +2 -2
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievememorystore.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +5 -5
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/feedback.ts +2 -2
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/src/funcs/datasetsList.ts +2 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/modelmetadata.ts +6 -0
- package/src/models/components/reasoning.ts +50 -4
- package/src/models/components/reasoningparam.ts +48 -4
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +460 -8
- package/src/models/operations/createchatcompletion.ts +129 -10
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/creatememorystore.ts +5 -5
- package/src/models/operations/createprompt.ts +356 -27
- package/src/models/operations/createrouterresponse.ts +532 -8
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentgetconfig.ts +105 -8
- package/src/models/operations/deployments.ts +113 -16
- package/src/models/operations/getallmemorystores.ts +2 -2
- package/src/models/operations/getallprompts.ts +210 -8
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getoneprompt.ts +208 -8
- package/src/models/operations/getpromptversion.ts +212 -8
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listagents.ts +215 -0
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +14 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listknowledgebases.ts +1 -1
- package/src/models/operations/listpromptversions.ts +212 -8
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +222 -0
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievememorystore.ts +2 -2
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +236 -1
- package/src/models/operations/streamrunagent.ts +242 -1
- package/src/models/operations/updateagent.ts +464 -9
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updatememorystore.ts +5 -5
- package/src/models/operations/updateprompt.ts +356 -27
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +2 -2
|
@@ -1553,8 +1553,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
1553
1553
|
> = z.object({
|
|
1554
1554
|
_id: z.string(),
|
|
1555
1555
|
description: z.string(),
|
|
1556
|
-
created: z.string().default("2026-06-
|
|
1557
|
-
updated: z.string().default("2026-06-
|
|
1556
|
+
created: z.string().default("2026-06-11T12:55:45.048Z"),
|
|
1557
|
+
updated: z.string().default("2026-06-11T12:55:45.048Z"),
|
|
1558
1558
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1559
1559
|
guardrail_config: z.nullable(
|
|
1560
1560
|
z.union([
|
|
@@ -1749,8 +1749,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
1749
1749
|
> = z.object({
|
|
1750
1750
|
_id: z.string(),
|
|
1751
1751
|
description: z.string(),
|
|
1752
|
-
created: z.string().default("2026-06-
|
|
1753
|
-
updated: z.string().default("2026-06-
|
|
1752
|
+
created: z.string().default("2026-06-11T12:55:45.048Z"),
|
|
1753
|
+
updated: z.string().default("2026-06-11T12:55:45.048Z"),
|
|
1754
1754
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1755
1755
|
guardrail_config: z.nullable(
|
|
1756
1756
|
z.union([
|
|
@@ -2608,8 +2608,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
2608
2608
|
> = z.object({
|
|
2609
2609
|
_id: z.string(),
|
|
2610
2610
|
description: z.string(),
|
|
2611
|
-
created: z.string().default("2026-06-
|
|
2612
|
-
updated: z.string().default("2026-06-
|
|
2611
|
+
created: z.string().default("2026-06-11T12:55:45.048Z"),
|
|
2612
|
+
updated: z.string().default("2026-06-11T12:55:45.048Z"),
|
|
2613
2613
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2614
2614
|
guardrail_config: z.nullable(
|
|
2615
2615
|
z.union([
|
|
@@ -2827,8 +2827,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2827
2827
|
> = z.object({
|
|
2828
2828
|
_id: z.string(),
|
|
2829
2829
|
description: z.string(),
|
|
2830
|
-
created: z.string().default("2026-06-
|
|
2831
|
-
updated: z.string().default("2026-06-
|
|
2830
|
+
created: z.string().default("2026-06-11T12:55:45.048Z"),
|
|
2831
|
+
updated: z.string().default("2026-06-11T12:55:45.048Z"),
|
|
2832
2832
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
2833
2833
|
guardrail_config: z.nullable(
|
|
2834
2834
|
z.union([
|
|
@@ -2996,8 +2996,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2996
2996
|
> = z.object({
|
|
2997
2997
|
_id: z.string(),
|
|
2998
2998
|
description: z.string(),
|
|
2999
|
-
created: z.string().default("2026-06-
|
|
3000
|
-
updated: z.string().default("2026-06-
|
|
2999
|
+
created: z.string().default("2026-06-11T12:55:45.048Z"),
|
|
3000
|
+
updated: z.string().default("2026-06-11T12:55:45.048Z"),
|
|
3001
3001
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3002
3002
|
guardrail_config: z.nullable(
|
|
3003
3003
|
z.union([
|
|
@@ -3150,8 +3150,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3150
3150
|
> = z.object({
|
|
3151
3151
|
_id: z.string(),
|
|
3152
3152
|
description: z.string(),
|
|
3153
|
-
created: z.string().default("2026-06-
|
|
3154
|
-
updated: z.string().default("2026-06-
|
|
3153
|
+
created: z.string().default("2026-06-11T12:55:45.048Z"),
|
|
3154
|
+
updated: z.string().default("2026-06-11T12:55:45.048Z"),
|
|
3155
3155
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3156
3156
|
guardrail_config: z.nullable(
|
|
3157
3157
|
z.union([
|
|
@@ -3513,8 +3513,8 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3513
3513
|
> = z.object({
|
|
3514
3514
|
_id: z.string(),
|
|
3515
3515
|
description: z.string(),
|
|
3516
|
-
created: z.string().default("2026-06-
|
|
3517
|
-
updated: z.string().default("2026-06-
|
|
3516
|
+
created: z.string().default("2026-06-11T12:55:45.048Z"),
|
|
3517
|
+
updated: z.string().default("2026-06-11T12:55:45.048Z"),
|
|
3518
3518
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3519
3519
|
guardrail_config: z.nullable(
|
|
3520
3520
|
z.union([
|
|
@@ -3726,8 +3726,8 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
3726
3726
|
> = z.object({
|
|
3727
3727
|
_id: z.string(),
|
|
3728
3728
|
description: z.string(),
|
|
3729
|
-
created: z.string().default("2026-06-
|
|
3730
|
-
updated: z.string().default("2026-06-
|
|
3729
|
+
created: z.string().default("2026-06-11T12:55:45.048Z"),
|
|
3730
|
+
updated: z.string().default("2026-06-11T12:55:45.048Z"),
|
|
3731
3731
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
3732
3732
|
guardrail_config: z.nullable(
|
|
3733
3733
|
z.union([
|
|
@@ -16,7 +16,7 @@ export type UpdateMemoryStoreRequestBody = {
|
|
|
16
16
|
/**
|
|
17
17
|
* The default time to live of every memory document created within the memory store. Useful to control if the documents in the memory should be store for short or long term.
|
|
18
18
|
*/
|
|
19
|
-
ttl?: number | undefined;
|
|
19
|
+
ttl?: number | null | undefined;
|
|
20
20
|
path?: string | undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
@@ -70,14 +70,14 @@ export type UpdateMemoryStoreResponseBody = {
|
|
|
70
70
|
/**
|
|
71
71
|
* The default time to live of every memory document created within the memory store. Useful to control if the documents in the memory should be store for short or long term.
|
|
72
72
|
*/
|
|
73
|
-
ttl?: number | undefined;
|
|
73
|
+
ttl?: number | null | undefined;
|
|
74
74
|
embeddingConfig: UpdateMemoryStoreEmbeddingConfig;
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
/** @internal */
|
|
78
78
|
export type UpdateMemoryStoreRequestBody$Outbound = {
|
|
79
79
|
description?: string | undefined;
|
|
80
|
-
ttl?: number | undefined;
|
|
80
|
+
ttl?: number | null | undefined;
|
|
81
81
|
path?: string | undefined;
|
|
82
82
|
};
|
|
83
83
|
|
|
@@ -88,7 +88,7 @@ export const UpdateMemoryStoreRequestBody$outboundSchema: z.ZodType<
|
|
|
88
88
|
UpdateMemoryStoreRequestBody
|
|
89
89
|
> = z.object({
|
|
90
90
|
description: z.string().optional(),
|
|
91
|
-
ttl: z.number().optional(),
|
|
91
|
+
ttl: z.nullable(z.number()).optional(),
|
|
92
92
|
path: z.string().optional(),
|
|
93
93
|
});
|
|
94
94
|
|
|
@@ -164,7 +164,7 @@ export const UpdateMemoryStoreResponseBody$inboundSchema: z.ZodType<
|
|
|
164
164
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
165
165
|
created: z.string(),
|
|
166
166
|
updated: z.string(),
|
|
167
|
-
ttl: z.number().optional(),
|
|
167
|
+
ttl: z.nullable(z.number()).optional(),
|
|
168
168
|
embedding_config: z.lazy(() =>
|
|
169
169
|
UpdateMemoryStoreEmbeddingConfig$inboundSchema
|
|
170
170
|
),
|
|
@@ -1472,7 +1472,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1472
1472
|
z.ZodTypeDef,
|
|
1473
1473
|
RequestBodyTools
|
|
1474
1474
|
> = z.object({
|
|
1475
|
-
id: z.string().default("
|
|
1475
|
+
id: z.string().default("01KTVC27VE1J864K02S9VA0XPQ"),
|
|
1476
1476
|
name: z.string(),
|
|
1477
1477
|
description: z.string().optional(),
|
|
1478
1478
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2193,7 +2193,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2193
2193
|
z.ZodTypeDef,
|
|
2194
2194
|
unknown
|
|
2195
2195
|
> = z.object({
|
|
2196
|
-
_id: z.string().default("
|
|
2196
|
+
_id: z.string().default("tool_01KTVC27V6406J5EGB7S9YQ0T2"),
|
|
2197
2197
|
path: z.string(),
|
|
2198
2198
|
key: z.string(),
|
|
2199
2199
|
display_name: z.string().optional(),
|
|
@@ -2296,7 +2296,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2296
2296
|
z.ZodTypeDef,
|
|
2297
2297
|
unknown
|
|
2298
2298
|
> = z.object({
|
|
2299
|
-
id: z.string().default("
|
|
2299
|
+
id: z.string().default("01KTVC27V5AN7WMT22ASFN3JM1"),
|
|
2300
2300
|
name: z.string(),
|
|
2301
2301
|
description: z.string().optional(),
|
|
2302
2302
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2354,7 +2354,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2354
2354
|
z.ZodTypeDef,
|
|
2355
2355
|
unknown
|
|
2356
2356
|
> = z.object({
|
|
2357
|
-
_id: z.string().default("
|
|
2357
|
+
_id: z.string().default("tool_01KTVC27V4M3YFA6PX8NVA9P24"),
|
|
2358
2358
|
path: z.string(),
|
|
2359
2359
|
key: z.string(),
|
|
2360
2360
|
display_name: z.string().optional(),
|
|
@@ -2543,7 +2543,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2543
2543
|
z.ZodTypeDef,
|
|
2544
2544
|
unknown
|
|
2545
2545
|
> = z.object({
|
|
2546
|
-
_id: z.string().default("
|
|
2546
|
+
_id: z.string().default("tool_01KTVC27V160W7ABHWFT68STGM"),
|
|
2547
2547
|
path: z.string(),
|
|
2548
2548
|
key: z.string(),
|
|
2549
2549
|
display_name: z.string().optional(),
|
|
@@ -2638,7 +2638,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2638
2638
|
z.ZodTypeDef,
|
|
2639
2639
|
unknown
|
|
2640
2640
|
> = z.object({
|
|
2641
|
-
_id: z.string().default("
|
|
2641
|
+
_id: z.string().default("tool_01KTVC27TZHQDSPS2GB9K9NXMW"),
|
|
2642
2642
|
path: z.string(),
|
|
2643
2643
|
key: z.string(),
|
|
2644
2644
|
display_name: z.string().optional(),
|
|
@@ -2741,7 +2741,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2741
2741
|
z.ZodTypeDef,
|
|
2742
2742
|
unknown
|
|
2743
2743
|
> = z.object({
|
|
2744
|
-
_id: z.string().default("
|
|
2744
|
+
_id: z.string().default("tool_01KTVC27TXVYNWWMVAGD906WZ7"),
|
|
2745
2745
|
path: z.string(),
|
|
2746
2746
|
key: z.string(),
|
|
2747
2747
|
display_name: z.string().optional(),
|
|
@@ -45,10 +45,10 @@ export class Feedback extends ClientSDK {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Create
|
|
48
|
+
* Create image
|
|
49
49
|
*
|
|
50
50
|
* @remarks
|
|
51
|
-
*
|
|
51
|
+
* Create an Image
|
|
52
52
|
*/
|
|
53
53
|
async create(
|
|
54
54
|
request?: operations.PostV2FeedbackRequestBody | undefined,
|
package/sdk/feedback.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ export declare class Feedback extends ClientSDK {
|
|
|
5
5
|
createEvaluation(request?: operations.PostV2FeedbackEvaluationRequestBody | undefined, options?: RequestOptions): Promise<void>;
|
|
6
6
|
remove(request?: operations.PostV2FeedbackRemoveRequestBody | undefined, options?: RequestOptions): Promise<operations.PostV2FeedbackRemoveResponseBody>;
|
|
7
7
|
/**
|
|
8
|
-
* Create
|
|
8
|
+
* Create tool
|
|
9
9
|
*
|
|
10
10
|
* @remarks
|
|
11
|
-
* Creates a
|
|
11
|
+
* Creates a new tool in the workspace.
|
|
12
12
|
*/
|
|
13
13
|
create(request?: operations.PostV2FeedbackRequestBody | undefined, options?: RequestOptions): Promise<operations.PostV2FeedbackResponseBody>;
|
|
14
14
|
}
|
package/sdk/feedback.js
CHANGED
|
@@ -21,10 +21,10 @@ class Feedback extends sdks_js_1.ClientSDK {
|
|
|
21
21
|
return (0, fp_js_1.unwrapAsync)((0, feedbackRemove_js_1.feedbackRemove)(this, request, options));
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* Create
|
|
24
|
+
* Create tool
|
|
25
25
|
*
|
|
26
26
|
* @remarks
|
|
27
|
-
* Creates a
|
|
27
|
+
* Creates a new tool in the workspace.
|
|
28
28
|
*/
|
|
29
29
|
async create(request, options) {
|
|
30
30
|
return (0, fp_js_1.unwrapAsync)((0, feedbackCreate_js_1.feedbackCreate)(this, request, options));
|
|
@@ -92,7 +92,9 @@ async function $do(
|
|
|
92
92
|
const query = encodeFormQuery({
|
|
93
93
|
"ending_before": payload?.ending_before,
|
|
94
94
|
"limit": payload?.limit,
|
|
95
|
+
"search": payload?.search,
|
|
95
96
|
"starting_after": payload?.starting_after,
|
|
97
|
+
"updated_by": payload?.updated_by,
|
|
96
98
|
});
|
|
97
99
|
|
|
98
100
|
const headers = new Headers(compactMap({
|
package/src/lib/config.ts
CHANGED
|
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
58
58
|
export const SDK_METADATA = {
|
|
59
59
|
language: "typescript",
|
|
60
60
|
openapiDocVersion: "2.0",
|
|
61
|
-
sdkVersion: "4.10.
|
|
61
|
+
sdkVersion: "4.10.17",
|
|
62
62
|
genVersion: "2.900.1",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.10.
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.10.17 2.900.1 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -84,6 +84,7 @@ export type ModelMetadata = {
|
|
|
84
84
|
supportsAudioOutput?: boolean | undefined;
|
|
85
85
|
supportsB64JsonResponseFormat?: boolean | undefined;
|
|
86
86
|
supportsBatchApi?: boolean | undefined;
|
|
87
|
+
supportsCacheControl?: boolean | undefined;
|
|
87
88
|
supportsCodeExecution?: boolean | undefined;
|
|
88
89
|
supportsCommercialUse?: boolean | undefined;
|
|
89
90
|
supportsComputerUse?: boolean | undefined;
|
|
@@ -202,6 +203,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
202
203
|
supports_audio_output: z.boolean().optional(),
|
|
203
204
|
supports_b64_json_response_format: z.boolean().optional(),
|
|
204
205
|
supports_batch_api: z.boolean().optional(),
|
|
206
|
+
supports_cache_control: z.boolean().optional(),
|
|
205
207
|
supports_code_execution: z.boolean().optional(),
|
|
206
208
|
supports_commercial_use: z.boolean().optional(),
|
|
207
209
|
supports_computer_use: z.boolean().optional(),
|
|
@@ -313,6 +315,7 @@ export const ModelMetadata$inboundSchema: z.ZodType<
|
|
|
313
315
|
"supports_audio_output": "supportsAudioOutput",
|
|
314
316
|
"supports_b64_json_response_format": "supportsB64JsonResponseFormat",
|
|
315
317
|
"supports_batch_api": "supportsBatchApi",
|
|
318
|
+
"supports_cache_control": "supportsCacheControl",
|
|
316
319
|
"supports_code_execution": "supportsCodeExecution",
|
|
317
320
|
"supports_commercial_use": "supportsCommercialUse",
|
|
318
321
|
"supports_computer_use": "supportsComputerUse",
|
|
@@ -427,6 +430,7 @@ export type ModelMetadata$Outbound = {
|
|
|
427
430
|
supports_audio_output?: boolean | undefined;
|
|
428
431
|
supports_b64_json_response_format?: boolean | undefined;
|
|
429
432
|
supports_batch_api?: boolean | undefined;
|
|
433
|
+
supports_cache_control?: boolean | undefined;
|
|
430
434
|
supports_code_execution?: boolean | undefined;
|
|
431
435
|
supports_commercial_use?: boolean | undefined;
|
|
432
436
|
supports_computer_use?: boolean | undefined;
|
|
@@ -545,6 +549,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
545
549
|
supportsAudioOutput: z.boolean().optional(),
|
|
546
550
|
supportsB64JsonResponseFormat: z.boolean().optional(),
|
|
547
551
|
supportsBatchApi: z.boolean().optional(),
|
|
552
|
+
supportsCacheControl: z.boolean().optional(),
|
|
548
553
|
supportsCodeExecution: z.boolean().optional(),
|
|
549
554
|
supportsCommercialUse: z.boolean().optional(),
|
|
550
555
|
supportsComputerUse: z.boolean().optional(),
|
|
@@ -656,6 +661,7 @@ export const ModelMetadata$outboundSchema: z.ZodType<
|
|
|
656
661
|
supportsAudioOutput: "supports_audio_output",
|
|
657
662
|
supportsB64JsonResponseFormat: "supports_b64_json_response_format",
|
|
658
663
|
supportsBatchApi: "supports_batch_api",
|
|
664
|
+
supportsCacheControl: "supports_cache_control",
|
|
659
665
|
supportsCodeExecution: "supports_code_execution",
|
|
660
666
|
supportsCommercialUse: "supports_commercial_use",
|
|
661
667
|
supportsComputerUse: "supports_computer_use",
|
|
@@ -4,22 +4,68 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
13
|
+
*/
|
|
14
|
+
export const ReasoningEffort = {
|
|
15
|
+
None: "none",
|
|
16
|
+
Minimal: "minimal",
|
|
17
|
+
Low: "low",
|
|
18
|
+
Medium: "medium",
|
|
19
|
+
High: "high",
|
|
20
|
+
Xhigh: "xhigh",
|
|
21
|
+
} as const;
|
|
22
|
+
/**
|
|
23
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
24
|
+
*/
|
|
25
|
+
export type ReasoningEffort = ClosedEnum<typeof ReasoningEffort>;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* The format of the reasoning summary returned by the model.
|
|
29
|
+
*/
|
|
30
|
+
export const ReasoningSummary = {
|
|
31
|
+
Concise: "concise",
|
|
32
|
+
Detailed: "detailed",
|
|
33
|
+
Auto: "auto",
|
|
34
|
+
} as const;
|
|
35
|
+
/**
|
|
36
|
+
* The format of the reasoning summary returned by the model.
|
|
37
|
+
*/
|
|
38
|
+
export type ReasoningSummary = ClosedEnum<typeof ReasoningSummary>;
|
|
39
|
+
|
|
10
40
|
export type Reasoning = {
|
|
11
|
-
|
|
12
|
-
|
|
41
|
+
/**
|
|
42
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
43
|
+
*/
|
|
44
|
+
effort?: ReasoningEffort | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* The format of the reasoning summary returned by the model.
|
|
47
|
+
*/
|
|
48
|
+
summary?: ReasoningSummary | undefined;
|
|
13
49
|
};
|
|
14
50
|
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const ReasoningEffort$inboundSchema: z.ZodNativeEnum<
|
|
53
|
+
typeof ReasoningEffort
|
|
54
|
+
> = z.nativeEnum(ReasoningEffort);
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export const ReasoningSummary$inboundSchema: z.ZodNativeEnum<
|
|
58
|
+
typeof ReasoningSummary
|
|
59
|
+
> = z.nativeEnum(ReasoningSummary);
|
|
60
|
+
|
|
15
61
|
/** @internal */
|
|
16
62
|
export const Reasoning$inboundSchema: z.ZodType<
|
|
17
63
|
Reasoning,
|
|
18
64
|
z.ZodTypeDef,
|
|
19
65
|
unknown
|
|
20
66
|
> = z.object({
|
|
21
|
-
effort:
|
|
22
|
-
summary:
|
|
67
|
+
effort: ReasoningEffort$inboundSchema.optional(),
|
|
68
|
+
summary: ReasoningSummary$inboundSchema.optional(),
|
|
23
69
|
});
|
|
24
70
|
|
|
25
71
|
export function reasoningFromJSON(
|
|
@@ -3,12 +3,56 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
10
|
+
*/
|
|
11
|
+
export const Effort = {
|
|
12
|
+
None: "none",
|
|
13
|
+
Minimal: "minimal",
|
|
14
|
+
Low: "low",
|
|
15
|
+
Medium: "medium",
|
|
16
|
+
High: "high",
|
|
17
|
+
Xhigh: "xhigh",
|
|
18
|
+
} as const;
|
|
19
|
+
/**
|
|
20
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
21
|
+
*/
|
|
22
|
+
export type Effort = ClosedEnum<typeof Effort>;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* The format of the reasoning summary returned by the model.
|
|
26
|
+
*/
|
|
27
|
+
export const Summary = {
|
|
28
|
+
Concise: "concise",
|
|
29
|
+
Detailed: "detailed",
|
|
30
|
+
Auto: "auto",
|
|
31
|
+
} as const;
|
|
32
|
+
/**
|
|
33
|
+
* The format of the reasoning summary returned by the model.
|
|
34
|
+
*/
|
|
35
|
+
export type Summary = ClosedEnum<typeof Summary>;
|
|
6
36
|
|
|
7
37
|
export type ReasoningParam = {
|
|
8
|
-
|
|
9
|
-
|
|
38
|
+
/**
|
|
39
|
+
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
40
|
+
*/
|
|
41
|
+
effort?: Effort | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* The format of the reasoning summary returned by the model.
|
|
44
|
+
*/
|
|
45
|
+
summary?: Summary | undefined;
|
|
10
46
|
};
|
|
11
47
|
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const Effort$outboundSchema: z.ZodNativeEnum<typeof Effort> = z
|
|
50
|
+
.nativeEnum(Effort);
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const Summary$outboundSchema: z.ZodNativeEnum<typeof Summary> = z
|
|
54
|
+
.nativeEnum(Summary);
|
|
55
|
+
|
|
12
56
|
/** @internal */
|
|
13
57
|
export type ReasoningParam$Outbound = {
|
|
14
58
|
effort?: string | undefined;
|
|
@@ -21,8 +65,8 @@ export const ReasoningParam$outboundSchema: z.ZodType<
|
|
|
21
65
|
z.ZodTypeDef,
|
|
22
66
|
ReasoningParam
|
|
23
67
|
> = z.object({
|
|
24
|
-
effort:
|
|
25
|
-
summary:
|
|
68
|
+
effort: Effort$outboundSchema.optional(),
|
|
69
|
+
summary: Summary$outboundSchema.optional(),
|
|
26
70
|
});
|
|
27
71
|
|
|
28
72
|
export function reasoningParamToJSON(reasoningParam: ReasoningParam): string {
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01ktvc27fdb5g90akbksga5ch1"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|