@orq-ai/node 4.16.13 → 4.16.14
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/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdeploymentversions.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +6 -6
- package/packages/orq-rc/src/funcs/humanReviewSetsCreate.ts +5 -0
- package/packages/orq-rc/src/funcs/humanReviewSetsDelete.ts +5 -0
- package/packages/orq-rc/src/funcs/humanReviewSetsGet.ts +5 -0
- package/packages/orq-rc/src/funcs/humanReviewSetsList.ts +5 -0
- package/packages/orq-rc/src/funcs/humanReviewSetsUpdate.ts +5 -0
- 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/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +15 -18
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +11 -14
- package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
- 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/index.ts +0 -2
- package/packages/orq-rc/src/models/operations/listdeploymentversions.ts +1 -1
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +21 -35
- package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
- 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/updatetool.ts +4 -4
- package/packages/orq-rc/src/sdk/feedback.ts +0 -30
- package/packages/orq-rc/src/sdk/humanreviewsets.ts +25 -0
- package/packages/orq-rc/src/sdk/sdk.ts +5 -5
- package/src/lib/config.ts +3 -3
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdeploymentversions.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/funcs/feedbackCreateEvaluation.ts +0 -173
- package/packages/orq-rc/src/funcs/feedbackRemoveEvaluation.ts +0 -173
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +0 -453
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluationremove.ts +0 -43
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "2.0";
|
|
34
|
-
readonly sdkVersion: "4.16.
|
|
35
|
-
readonly genVersion: "2.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 4.16.
|
|
34
|
+
readonly sdkVersion: "4.16.14";
|
|
35
|
+
readonly genVersion: "2.950.2";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 4.16.14 2.950.2 2.0 @orq-ai/node";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
|
|
|
28
28
|
exports.SDK_METADATA = {
|
|
29
29
|
language: "typescript",
|
|
30
30
|
openapiDocVersion: "2.0",
|
|
31
|
-
sdkVersion: "4.16.
|
|
32
|
-
genVersion: "2.
|
|
33
|
-
userAgent: "speakeasy-sdk/typescript 4.16.
|
|
31
|
+
sdkVersion: "4.16.14",
|
|
32
|
+
genVersion: "2.950.2",
|
|
33
|
+
userAgent: "speakeasy-sdk/typescript 4.16.14 2.950.2 2.0 @orq-ai/node",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
|
@@ -43,7 +43,7 @@ const primitives_js_1 = require("../../lib/primitives.js");
|
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
/** @internal */
|
|
45
45
|
exports.ReasoningPart$inboundSchema = z.object({
|
|
46
|
-
_id: z.string().default("
|
|
46
|
+
_id: z.string().default("reasoning_01m5cbx751n1zkpvhbmsqbbtk6"),
|
|
47
47
|
metadata: z.record(z.any()).optional(),
|
|
48
48
|
kind: z.literal("reasoning"),
|
|
49
49
|
reasoning: z.string(),
|
|
@@ -472,7 +472,7 @@ function responseBodyCodeToolFromJSON(jsonString) {
|
|
|
472
472
|
}
|
|
473
473
|
/** @internal */
|
|
474
474
|
exports.ResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
475
|
-
_id: z.string().default("
|
|
475
|
+
_id: z.string().default("tool_01M5CBX79MAWE383GDWD3X0W0W"),
|
|
476
476
|
path: z.string(),
|
|
477
477
|
key: z.string(),
|
|
478
478
|
display_name: z.string().optional(),
|
|
@@ -562,7 +562,7 @@ function responseBodyHttpFromJSON(jsonString) {
|
|
|
562
562
|
}
|
|
563
563
|
/** @internal */
|
|
564
564
|
exports.ResponseBodyHTTPTool$inboundSchema = z.object({
|
|
565
|
-
_id: z.string().default("
|
|
565
|
+
_id: z.string().default("tool_01M5CBX79K29ADYGXV58SD7ABS"),
|
|
566
566
|
path: z.string(),
|
|
567
567
|
key: z.string(),
|
|
568
568
|
display_name: z.string().optional(),
|
|
@@ -612,7 +612,7 @@ function responseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
612
612
|
}
|
|
613
613
|
/** @internal */
|
|
614
614
|
exports.ResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
615
|
-
_id: z.string().default("
|
|
615
|
+
_id: z.string().default("tool_01M5CBX79J59XA1D4H86ZHJ9RG"),
|
|
616
616
|
path: z.string(),
|
|
617
617
|
key: z.string(),
|
|
618
618
|
display_name: z.string().optional(),
|
|
@@ -665,7 +665,7 @@ function responseBodyFunctionFromJSON(jsonString) {
|
|
|
665
665
|
}
|
|
666
666
|
/** @internal */
|
|
667
667
|
exports.ResponseBodyFunctionTool$inboundSchema = z.object({
|
|
668
|
-
_id: z.string().default("
|
|
668
|
+
_id: z.string().default("tool_01M5CBX79HPMSW4Q9SN0BCF602"),
|
|
669
669
|
path: z.string(),
|
|
670
670
|
key: z.string(),
|
|
671
671
|
display_name: z.string().optional(),
|
|
@@ -172,7 +172,7 @@ function dataCodeToolFromJSON(jsonString) {
|
|
|
172
172
|
}
|
|
173
173
|
/** @internal */
|
|
174
174
|
exports.DataCodeExecutionTool$inboundSchema = z.object({
|
|
175
|
-
_id: z.string().default("
|
|
175
|
+
_id: z.string().default("tool_01M5CBX79D5515NRR4RXXRXXXF"),
|
|
176
176
|
path: z.string(),
|
|
177
177
|
key: z.string(),
|
|
178
178
|
display_name: z.string().optional(),
|
|
@@ -261,7 +261,7 @@ function dataHttpFromJSON(jsonString) {
|
|
|
261
261
|
}
|
|
262
262
|
/** @internal */
|
|
263
263
|
exports.DataHTTPTool$inboundSchema = z.object({
|
|
264
|
-
_id: z.string().default("
|
|
264
|
+
_id: z.string().default("tool_01M5CBX79CNS0PNKPA08ZP0CWH"),
|
|
265
265
|
path: z.string(),
|
|
266
266
|
key: z.string(),
|
|
267
267
|
display_name: z.string().optional(),
|
|
@@ -311,7 +311,7 @@ function dataJsonSchemaFromJSON(jsonString) {
|
|
|
311
311
|
}
|
|
312
312
|
/** @internal */
|
|
313
313
|
exports.DataJSONSchemaTool$inboundSchema = z.object({
|
|
314
|
-
_id: z.string().default("
|
|
314
|
+
_id: z.string().default("tool_01M5CBX79B2TAKMWX2MNAEEVRE"),
|
|
315
315
|
path: z.string(),
|
|
316
316
|
key: z.string(),
|
|
317
317
|
display_name: z.string().optional(),
|
|
@@ -366,7 +366,7 @@ function dataFunctionFromJSON(jsonString) {
|
|
|
366
366
|
}
|
|
367
367
|
/** @internal */
|
|
368
368
|
exports.DataFunctionTool$inboundSchema = z.object({
|
|
369
|
-
_id: z.string().default("
|
|
369
|
+
_id: z.string().default("tool_01M5CBX79AT8XF7SWK1BEMVW7E"),
|
|
370
370
|
path: z.string(),
|
|
371
371
|
key: z.string(),
|
|
372
372
|
display_name: z.string().optional(),
|
|
@@ -67,7 +67,7 @@ exports.GetV2HumanEvalSetsResponseBody2$inboundSchema = z.object({
|
|
|
67
67
|
updated_by_id: z.string().optional(),
|
|
68
68
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
69
69
|
.optional(),
|
|
70
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
70
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-20T09:57:21.331Z").transform(v => new Date(v)),
|
|
71
71
|
filter_type: z.literal("name"),
|
|
72
72
|
filter_value: z.string(),
|
|
73
73
|
}).transform((v) => {
|
|
@@ -98,7 +98,7 @@ exports.GetV2HumanEvalSetsResponseBody1$inboundSchema = z.object({
|
|
|
98
98
|
updated_by_id: z.string().optional(),
|
|
99
99
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
100
100
|
.optional(),
|
|
101
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
101
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-20T09:57:21.331Z").transform(v => new Date(v)),
|
|
102
102
|
filter_type: z.literal("span_type"),
|
|
103
103
|
filter_values: z.array(z.string()),
|
|
104
104
|
}).transform((v) => {
|
|
@@ -63,7 +63,7 @@ exports.GetV2HumanEvalSetsIdResponseBody2$inboundSchema = z.object({
|
|
|
63
63
|
updated_by_id: z.string().optional(),
|
|
64
64
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
65
65
|
.optional(),
|
|
66
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
66
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-20T09:57:21.331Z").transform(v => new Date(v)),
|
|
67
67
|
filter_type: z.literal("name"),
|
|
68
68
|
filter_value: z.string(),
|
|
69
69
|
}).transform((v) => {
|
|
@@ -94,7 +94,7 @@ exports.GetV2HumanEvalSetsIdResponseBody1$inboundSchema = z.object({
|
|
|
94
94
|
updated_by_id: z.string().optional(),
|
|
95
95
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
96
96
|
.optional(),
|
|
97
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
97
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-20T09:57:21.331Z").transform(v => new Date(v)),
|
|
98
98
|
filter_type: z.literal("span_type"),
|
|
99
99
|
filter_values: z.array(z.string()),
|
|
100
100
|
}).transform((v) => {
|
|
@@ -1011,7 +1011,7 @@ function knowledgeBaseConfigurationFromJSON(jsonString) {
|
|
|
1011
1011
|
}
|
|
1012
1012
|
/** @internal */
|
|
1013
1013
|
exports.ListDeploymentVersionsKnowledgeBases$inboundSchema = z.object({
|
|
1014
|
-
id: z.string().default("
|
|
1014
|
+
id: z.string().default("01M5CBX73MJWHPE61H8T5PQF6V"),
|
|
1015
1015
|
knowledge_id: z.string(),
|
|
1016
1016
|
configuration: z.union([
|
|
1017
1017
|
z.lazy(() => exports.KnowledgeBaseLastUserMessage$inboundSchema),
|
|
@@ -122,7 +122,7 @@ exports.PatchV2HumanEvalSetsIdResponseBody2$inboundSchema = z.object({
|
|
|
122
122
|
updated_by_id: z.string().optional(),
|
|
123
123
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
124
124
|
.optional(),
|
|
125
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
125
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-20T09:57:21.331Z").transform(v => new Date(v)),
|
|
126
126
|
filter_type: z.literal("name"),
|
|
127
127
|
filter_value: z.string(),
|
|
128
128
|
}).transform((v) => {
|
|
@@ -153,7 +153,7 @@ exports.PatchV2HumanEvalSetsIdResponseBody1$inboundSchema = z.object({
|
|
|
153
153
|
updated_by_id: z.string().optional(),
|
|
154
154
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
155
155
|
.optional(),
|
|
156
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
156
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-20T09:57:21.331Z").transform(v => new Date(v)),
|
|
157
157
|
filter_type: z.literal("span_type"),
|
|
158
158
|
filter_values: z.array(z.string()),
|
|
159
159
|
}).transform((v) => {
|
|
@@ -96,7 +96,7 @@ exports.RequestBody4$outboundSchema = z.object({
|
|
|
96
96
|
source: exports.PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
|
|
97
97
|
.default("orq"),
|
|
98
98
|
explanation: z.string().optional(),
|
|
99
|
-
reviewedAt: z.date().default(() => new Date("2026-10-
|
|
99
|
+
reviewedAt: z.date().default(() => new Date("2026-10-20T09:57:29.587Z"))
|
|
100
100
|
.transform(v => v.toISOString()),
|
|
101
101
|
type: z.literal("string_array"),
|
|
102
102
|
values: z.array(z.string()),
|
|
@@ -126,7 +126,7 @@ exports.Three$outboundSchema = z.object({
|
|
|
126
126
|
source: exports.PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
127
127
|
.default("orq"),
|
|
128
128
|
explanation: z.string().optional(),
|
|
129
|
-
reviewedAt: z.date().default(() => new Date("2026-10-
|
|
129
|
+
reviewedAt: z.date().default(() => new Date("2026-10-20T09:57:29.586Z"))
|
|
130
130
|
.transform(v => v.toISOString()),
|
|
131
131
|
type: z.literal("boolean"),
|
|
132
132
|
value: z.boolean(),
|
|
@@ -154,7 +154,7 @@ exports.RequestBody2$outboundSchema = z.object({
|
|
|
154
154
|
humanReviewId: z.string().optional(),
|
|
155
155
|
source: exports.PostV2FeedbackEvaluationRequestBodySource$outboundSchema.default("orq"),
|
|
156
156
|
explanation: z.string().optional(),
|
|
157
|
-
reviewedAt: z.date().default(() => new Date("2026-10-
|
|
157
|
+
reviewedAt: z.date().default(() => new Date("2026-10-20T09:57:29.586Z"))
|
|
158
158
|
.transform(v => v.toISOString()),
|
|
159
159
|
type: z.literal("number"),
|
|
160
160
|
value: z.number(),
|
|
@@ -181,7 +181,7 @@ exports.RequestBody1$outboundSchema = z.object({
|
|
|
181
181
|
humanReviewId: z.string().optional(),
|
|
182
182
|
source: exports.RequestBodySource$outboundSchema.default("orq"),
|
|
183
183
|
explanation: z.string().optional(),
|
|
184
|
-
reviewedAt: z.date().default(() => new Date("2026-10-
|
|
184
|
+
reviewedAt: z.date().default(() => new Date("2026-10-20T09:57:29.586Z"))
|
|
185
185
|
.transform(v => v.toISOString()),
|
|
186
186
|
type: z.literal("string"),
|
|
187
187
|
value: z.string(),
|
|
@@ -106,7 +106,7 @@ exports.PostV2HumanEvalSetsResponseBody2$inboundSchema = z.object({
|
|
|
106
106
|
updated_by_id: z.string().optional(),
|
|
107
107
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
108
108
|
.optional(),
|
|
109
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
109
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-20T09:57:21.331Z").transform(v => new Date(v)),
|
|
110
110
|
filter_type: z.literal("name"),
|
|
111
111
|
filter_value: z.string(),
|
|
112
112
|
}).transform((v) => {
|
|
@@ -137,7 +137,7 @@ exports.PostV2HumanEvalSetsResponseBody1$inboundSchema = z.object({
|
|
|
137
137
|
updated_by_id: z.string().optional(),
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
|
-
updated: z.string().datetime({ offset: true }).default("2026-10-
|
|
140
|
+
updated: z.string().datetime({ offset: true }).default("2026-10-20T09:57:21.331Z").transform(v => new Date(v)),
|
|
141
141
|
filter_type: z.literal("span_type"),
|
|
142
142
|
filter_values: z.array(z.string()),
|
|
143
143
|
}).transform((v) => {
|
|
@@ -164,7 +164,7 @@ function retrieveToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
164
164
|
}
|
|
165
165
|
/** @internal */
|
|
166
166
|
exports.RetrieveToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
167
|
-
_id: z.string().default("
|
|
167
|
+
_id: z.string().default("tool_01M5CBX7A453MFR44QW27Z1DM8"),
|
|
168
168
|
path: z.string(),
|
|
169
169
|
key: z.string(),
|
|
170
170
|
display_name: z.string().optional(),
|
|
@@ -253,7 +253,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
253
253
|
}
|
|
254
254
|
/** @internal */
|
|
255
255
|
exports.RetrieveToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
256
|
-
_id: z.string().default("
|
|
256
|
+
_id: z.string().default("tool_01M5CBX7A3AMM0K1AMXBD6YZ94"),
|
|
257
257
|
path: z.string(),
|
|
258
258
|
key: z.string(),
|
|
259
259
|
display_name: z.string().optional(),
|
|
@@ -303,7 +303,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
303
303
|
}
|
|
304
304
|
/** @internal */
|
|
305
305
|
exports.RetrieveToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
306
|
-
_id: z.string().default("
|
|
306
|
+
_id: z.string().default("tool_01M5CBX7A30JRR39YWSVVCGH6Z"),
|
|
307
307
|
path: z.string(),
|
|
308
308
|
key: z.string(),
|
|
309
309
|
display_name: z.string().optional(),
|
|
@@ -357,7 +357,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
357
357
|
}
|
|
358
358
|
/** @internal */
|
|
359
359
|
exports.RetrieveToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
360
|
-
_id: z.string().default("
|
|
360
|
+
_id: z.string().default("tool_01M5CBX7A2CG97C16SE79YA765"),
|
|
361
361
|
path: z.string(),
|
|
362
362
|
key: z.string(),
|
|
363
363
|
display_name: z.string().optional(),
|
|
@@ -1098,7 +1098,7 @@ function agentToolInputRunSchemaToJSON(agentToolInputRunSchema) {
|
|
|
1098
1098
|
}
|
|
1099
1099
|
/** @internal */
|
|
1100
1100
|
exports.Tools$outboundSchema = z.object({
|
|
1101
|
-
id: z.string().default("
|
|
1101
|
+
id: z.string().default("01M5CBX76W0RE36TZY6QKS2WE0"),
|
|
1102
1102
|
name: z.string(),
|
|
1103
1103
|
description: z.string().optional(),
|
|
1104
1104
|
schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
|
|
@@ -1064,7 +1064,7 @@ function streamRunAgentAgentToolInputRunAgentsSchemaToJSON(streamRunAgentAgentTo
|
|
|
1064
1064
|
}
|
|
1065
1065
|
/** @internal */
|
|
1066
1066
|
exports.AgentToolInputRunTools$outboundSchema = z.object({
|
|
1067
|
-
id: z.string().default("
|
|
1067
|
+
id: z.string().default("01M5CBX77MQPRCWG4SB1KR9F75"),
|
|
1068
1068
|
name: z.string(),
|
|
1069
1069
|
description: z.string().optional(),
|
|
1070
1070
|
schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
|
|
@@ -536,7 +536,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
536
536
|
}
|
|
537
537
|
/** @internal */
|
|
538
538
|
exports.UpdateToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
539
|
-
_id: z.string().default("
|
|
539
|
+
_id: z.string().default("tool_01M5CBX79VKW1WVZDEMRTSHKE5"),
|
|
540
540
|
path: z.string(),
|
|
541
541
|
key: z.string(),
|
|
542
542
|
display_name: z.string().optional(),
|
|
@@ -625,7 +625,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
625
625
|
}
|
|
626
626
|
/** @internal */
|
|
627
627
|
exports.UpdateToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
628
|
-
_id: z.string().default("
|
|
628
|
+
_id: z.string().default("tool_01M5CBX79T5G5448XZS1GH1J65"),
|
|
629
629
|
path: z.string(),
|
|
630
630
|
key: z.string(),
|
|
631
631
|
display_name: z.string().optional(),
|
|
@@ -675,7 +675,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
675
675
|
}
|
|
676
676
|
/** @internal */
|
|
677
677
|
exports.UpdateToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
678
|
-
_id: z.string().default("
|
|
678
|
+
_id: z.string().default("tool_01M5CBX79SK4S0RZQ0C500H03C"),
|
|
679
679
|
path: z.string(),
|
|
680
680
|
key: z.string(),
|
|
681
681
|
display_name: z.string().optional(),
|
|
@@ -729,7 +729,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
729
729
|
}
|
|
730
730
|
/** @internal */
|
|
731
731
|
exports.UpdateToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
732
|
-
_id: z.string().default("
|
|
732
|
+
_id: z.string().default("tool_01M5CBX79RR2VAPEFTVVQRJSZT"),
|
|
733
733
|
path: z.string(),
|
|
734
734
|
key: z.string(),
|
|
735
735
|
display_name: z.string().optional(),
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orq-ai/node",
|
|
3
|
-
"version": "4.16.
|
|
3
|
+
"version": "4.16.14",
|
|
4
4
|
"author": "Orq",
|
|
5
5
|
"exports": {
|
|
6
|
+
".": {
|
|
7
|
+
"import": "./index.js",
|
|
8
|
+
"require": "./index.js",
|
|
9
|
+
"types": "./index.d.ts"
|
|
10
|
+
},
|
|
6
11
|
"./*": "./*",
|
|
7
12
|
"./langchain": {
|
|
8
13
|
"import": "./langchain/index.mjs",
|
|
9
14
|
"require": "./langchain/index.js",
|
|
10
15
|
"types": "./langchain/index.d.mts"
|
|
11
|
-
},
|
|
12
|
-
".": {
|
|
13
|
-
"import": "./index.js",
|
|
14
|
-
"require": "./index.js",
|
|
15
|
-
"types": "./index.d.ts"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"main": "./index.js",
|
|
@@ -28,6 +28,11 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Create a human review set
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Deprecated: Human Review Sets are replaced by project-level human reviews (Annotations) and will be removed in release 4.18.
|
|
34
|
+
*
|
|
35
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
31
36
|
*/
|
|
32
37
|
export function humanReviewSetsCreate(
|
|
33
38
|
client: OrqCore,
|
|
@@ -29,6 +29,11 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* Delete a human review set
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* Deprecated: Human Review Sets are replaced by project-level human reviews (Annotations) and will be removed in release 4.18.
|
|
35
|
+
*
|
|
36
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
32
37
|
*/
|
|
33
38
|
export function humanReviewSetsDelete(
|
|
34
39
|
client: OrqCore,
|
|
@@ -28,6 +28,11 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Get a human review set by ID
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Deprecated: Human Review Sets are replaced by project-level human reviews (Annotations) and will be removed in release 4.18.
|
|
34
|
+
*
|
|
35
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
31
36
|
*/
|
|
32
37
|
export function humanReviewSetsGet(
|
|
33
38
|
client: OrqCore,
|
|
@@ -29,6 +29,11 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* Get all human review sets
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* Deprecated: Human Review Sets are replaced by project-level human reviews (Annotations) and will be removed in release 4.18.
|
|
35
|
+
*
|
|
36
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
32
37
|
*/
|
|
33
38
|
export function humanReviewSetsList(
|
|
34
39
|
client: OrqCore,
|
|
@@ -28,6 +28,11 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Update a human review set
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Deprecated: Human Review Sets are replaced by project-level human reviews (Annotations) and will be removed in release 4.18.
|
|
34
|
+
*
|
|
35
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
31
36
|
*/
|
|
32
37
|
export function humanReviewSetsUpdate(
|
|
33
38
|
client: OrqCore,
|
|
@@ -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.17.0-rc.
|
|
61
|
+
sdkVersion: "4.17.0-rc.43",
|
|
62
62
|
genVersion: "2.948.4",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.17.0-rc.
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.17.0-rc.43 2.948.4 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -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_01m5ca2hngr00qzqmm7qc861bq"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -1575,7 +1575,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1575
1575
|
z.ZodTypeDef,
|
|
1576
1576
|
unknown
|
|
1577
1577
|
> = z.object({
|
|
1578
|
-
_id: z.string().default("
|
|
1578
|
+
_id: z.string().default("tool_01M5CA2HTDMSGC0DT6CEP5VFA6"),
|
|
1579
1579
|
path: z.string(),
|
|
1580
1580
|
key: z.string(),
|
|
1581
1581
|
display_name: z.string().optional(),
|
|
@@ -1761,7 +1761,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1761
1761
|
z.ZodTypeDef,
|
|
1762
1762
|
unknown
|
|
1763
1763
|
> = z.object({
|
|
1764
|
-
_id: z.string().default("
|
|
1764
|
+
_id: z.string().default("tool_01M5CA2HTC099X2VE2474PCD0X"),
|
|
1765
1765
|
path: z.string(),
|
|
1766
1766
|
key: z.string(),
|
|
1767
1767
|
display_name: z.string().optional(),
|
|
@@ -1854,7 +1854,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1854
1854
|
z.ZodTypeDef,
|
|
1855
1855
|
unknown
|
|
1856
1856
|
> = z.object({
|
|
1857
|
-
_id: z.string().default("
|
|
1857
|
+
_id: z.string().default("tool_01M5CA2HTBD9X3JRNE4RFQBHCE"),
|
|
1858
1858
|
path: z.string(),
|
|
1859
1859
|
key: z.string(),
|
|
1860
1860
|
display_name: z.string().optional(),
|
|
@@ -1955,7 +1955,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1955
1955
|
z.ZodTypeDef,
|
|
1956
1956
|
unknown
|
|
1957
1957
|
> = z.object({
|
|
1958
|
-
_id: z.string().default("
|
|
1958
|
+
_id: z.string().default("tool_01M5CA2HTBB450S99S6VVQZXAZ"),
|
|
1959
1959
|
path: z.string(),
|
|
1960
1960
|
key: z.string(),
|
|
1961
1961
|
display_name: z.string().optional(),
|
|
@@ -168,7 +168,7 @@ export type DeploymentInvokeMessageRole = ClosedEnum<
|
|
|
168
168
|
typeof DeploymentInvokeMessageRole
|
|
169
169
|
>;
|
|
170
170
|
|
|
171
|
-
export type
|
|
171
|
+
export type Three = {
|
|
172
172
|
type: "image";
|
|
173
173
|
/**
|
|
174
174
|
* The role of the prompt message
|
|
@@ -282,11 +282,11 @@ export type Message1 = {
|
|
|
282
282
|
redactedReasoning?: string | undefined;
|
|
283
283
|
};
|
|
284
284
|
|
|
285
|
-
export type Message = Message1 | Message2 |
|
|
285
|
+
export type Message = Message1 | Message2 | Three;
|
|
286
286
|
|
|
287
287
|
export type Choices = {
|
|
288
288
|
index: number;
|
|
289
|
-
message: Message1 | Message2 |
|
|
289
|
+
message: Message1 | Message2 | Three;
|
|
290
290
|
finishReason?: string | null | undefined;
|
|
291
291
|
};
|
|
292
292
|
|
|
@@ -517,23 +517,20 @@ export const DeploymentInvokeMessageRole$inboundSchema: z.ZodNativeEnum<
|
|
|
517
517
|
> = z.nativeEnum(DeploymentInvokeMessageRole);
|
|
518
518
|
|
|
519
519
|
/** @internal */
|
|
520
|
-
export const
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
role: DeploymentInvokeMessageRole$inboundSchema,
|
|
527
|
-
url: z.string(),
|
|
528
|
-
});
|
|
520
|
+
export const Three$inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown> = z
|
|
521
|
+
.object({
|
|
522
|
+
type: z.literal("image"),
|
|
523
|
+
role: DeploymentInvokeMessageRole$inboundSchema,
|
|
524
|
+
url: z.string(),
|
|
525
|
+
});
|
|
529
526
|
|
|
530
|
-
export function
|
|
527
|
+
export function threeFromJSON(
|
|
531
528
|
jsonString: string,
|
|
532
|
-
): SafeParseResult<
|
|
529
|
+
): SafeParseResult<Three, SDKValidationError> {
|
|
533
530
|
return safeParse(
|
|
534
531
|
jsonString,
|
|
535
|
-
(x) =>
|
|
536
|
-
`Failed to parse '
|
|
532
|
+
(x) => Three$inboundSchema.parse(JSON.parse(x)),
|
|
533
|
+
`Failed to parse 'Three' from JSON`,
|
|
537
534
|
);
|
|
538
535
|
}
|
|
539
536
|
|
|
@@ -659,7 +656,7 @@ export const Message$inboundSchema: z.ZodType<Message, z.ZodTypeDef, unknown> =
|
|
|
659
656
|
z.union([
|
|
660
657
|
z.lazy(() => Message1$inboundSchema),
|
|
661
658
|
z.lazy(() => Message2$inboundSchema),
|
|
662
|
-
z.lazy(() =>
|
|
659
|
+
z.lazy(() => Three$inboundSchema),
|
|
663
660
|
]);
|
|
664
661
|
|
|
665
662
|
export function messageFromJSON(
|
|
@@ -679,7 +676,7 @@ export const Choices$inboundSchema: z.ZodType<Choices, z.ZodTypeDef, unknown> =
|
|
|
679
676
|
message: z.union([
|
|
680
677
|
z.lazy(() => Message1$inboundSchema),
|
|
681
678
|
z.lazy(() => Message2$inboundSchema),
|
|
682
|
-
z.lazy(() =>
|
|
679
|
+
z.lazy(() => Three$inboundSchema),
|
|
683
680
|
]),
|
|
684
681
|
finish_reason: z.nullable(z.string()).optional(),
|
|
685
682
|
}).transform((v) => {
|
|
@@ -1276,7 +1276,7 @@ export type DeploymentStreamMessageDeploymentsResponseRole = ClosedEnum<
|
|
|
1276
1276
|
typeof DeploymentStreamMessageDeploymentsResponseRole
|
|
1277
1277
|
>;
|
|
1278
1278
|
|
|
1279
|
-
export type
|
|
1279
|
+
export type Message3 = {
|
|
1280
1280
|
type: "image";
|
|
1281
1281
|
/**
|
|
1282
1282
|
* The role of the prompt message
|
|
@@ -1395,14 +1395,11 @@ export type DeploymentStreamMessage1 = {
|
|
|
1395
1395
|
export type DeploymentStreamMessage =
|
|
1396
1396
|
| DeploymentStreamMessage1
|
|
1397
1397
|
| DeploymentStreamMessage2
|
|
1398
|
-
|
|
|
1398
|
+
| Message3;
|
|
1399
1399
|
|
|
1400
1400
|
export type DeploymentStreamChoices = {
|
|
1401
1401
|
index: number;
|
|
1402
|
-
message:
|
|
1403
|
-
| DeploymentStreamMessage1
|
|
1404
|
-
| DeploymentStreamMessage2
|
|
1405
|
-
| DeploymentStreamMessage3;
|
|
1402
|
+
message: DeploymentStreamMessage1 | DeploymentStreamMessage2 | Message3;
|
|
1406
1403
|
finishReason?: string | null | undefined;
|
|
1407
1404
|
};
|
|
1408
1405
|
|
|
@@ -3974,8 +3971,8 @@ export const DeploymentStreamMessageDeploymentsResponseRole$inboundSchema:
|
|
|
3974
3971
|
.nativeEnum(DeploymentStreamMessageDeploymentsResponseRole);
|
|
3975
3972
|
|
|
3976
3973
|
/** @internal */
|
|
3977
|
-
export const
|
|
3978
|
-
|
|
3974
|
+
export const Message3$inboundSchema: z.ZodType<
|
|
3975
|
+
Message3,
|
|
3979
3976
|
z.ZodTypeDef,
|
|
3980
3977
|
unknown
|
|
3981
3978
|
> = z.object({
|
|
@@ -3984,13 +3981,13 @@ export const DeploymentStreamMessage3$inboundSchema: z.ZodType<
|
|
|
3984
3981
|
url: z.string(),
|
|
3985
3982
|
});
|
|
3986
3983
|
|
|
3987
|
-
export function
|
|
3984
|
+
export function message3FromJSON(
|
|
3988
3985
|
jsonString: string,
|
|
3989
|
-
): SafeParseResult<
|
|
3986
|
+
): SafeParseResult<Message3, SDKValidationError> {
|
|
3990
3987
|
return safeParse(
|
|
3991
3988
|
jsonString,
|
|
3992
|
-
(x) =>
|
|
3993
|
-
`Failed to parse '
|
|
3989
|
+
(x) => Message3$inboundSchema.parse(JSON.parse(x)),
|
|
3990
|
+
`Failed to parse 'Message3' from JSON`,
|
|
3994
3991
|
);
|
|
3995
3992
|
}
|
|
3996
3993
|
|
|
@@ -4122,7 +4119,7 @@ export const DeploymentStreamMessage$inboundSchema: z.ZodType<
|
|
|
4122
4119
|
> = z.union([
|
|
4123
4120
|
z.lazy(() => DeploymentStreamMessage1$inboundSchema),
|
|
4124
4121
|
z.lazy(() => DeploymentStreamMessage2$inboundSchema),
|
|
4125
|
-
z.lazy(() =>
|
|
4122
|
+
z.lazy(() => Message3$inboundSchema),
|
|
4126
4123
|
]);
|
|
4127
4124
|
|
|
4128
4125
|
export function deploymentStreamMessageFromJSON(
|
|
@@ -4145,7 +4142,7 @@ export const DeploymentStreamChoices$inboundSchema: z.ZodType<
|
|
|
4145
4142
|
message: z.union([
|
|
4146
4143
|
z.lazy(() => DeploymentStreamMessage1$inboundSchema),
|
|
4147
4144
|
z.lazy(() => DeploymentStreamMessage2$inboundSchema),
|
|
4148
|
-
z.lazy(() =>
|
|
4145
|
+
z.lazy(() => Message3$inboundSchema),
|
|
4149
4146
|
]),
|
|
4150
4147
|
finish_reason: z.nullable(z.string()).optional(),
|
|
4151
4148
|
}).transform((v) => {
|