@orq-ai/node 4.17.0-rc.41 → 4.17.0-rc.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +77 -81
- package/funcs/humanReviewSetsCreate.d.ts +5 -0
- package/funcs/humanReviewSetsCreate.d.ts.map +1 -1
- package/funcs/humanReviewSetsCreate.js +5 -0
- package/funcs/humanReviewSetsCreate.js.map +1 -1
- package/funcs/humanReviewSetsDelete.d.ts +5 -0
- package/funcs/humanReviewSetsDelete.d.ts.map +1 -1
- package/funcs/humanReviewSetsDelete.js +5 -0
- package/funcs/humanReviewSetsDelete.js.map +1 -1
- package/funcs/humanReviewSetsGet.d.ts +5 -0
- package/funcs/humanReviewSetsGet.d.ts.map +1 -1
- package/funcs/humanReviewSetsGet.js +5 -0
- package/funcs/humanReviewSetsGet.js.map +1 -1
- package/funcs/humanReviewSetsList.d.ts +5 -0
- package/funcs/humanReviewSetsList.d.ts.map +1 -1
- package/funcs/humanReviewSetsList.js +5 -0
- package/funcs/humanReviewSetsList.js.map +1 -1
- package/funcs/humanReviewSetsUpdate.d.ts +5 -0
- package/funcs/humanReviewSetsUpdate.d.ts.map +1 -1
- package/funcs/humanReviewSetsUpdate.js +5 -0
- package/funcs/humanReviewSetsUpdate.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/reasoningpart.js +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/deploymentinvoke.d.ts +5 -5
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +8 -7
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +5 -5
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +7 -7
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +0 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -2
- package/models/operations/index.js.map +1 -1
- package/models/operations/listdeploymentversions.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2humanevalsets.d.ts +10 -10
- package/models/operations/postv2humanevalsets.d.ts.map +1 -1
- package/models/operations/postv2humanevalsets.js +13 -13
- package/models/operations/postv2humanevalsets.js.map +1 -1
- 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 +8 -8
- package/sdk/feedback.d.ts +0 -8
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +0 -14
- package/sdk/feedback.js.map +1 -1
- package/sdk/humanreviewsets.d.ts +25 -0
- package/sdk/humanreviewsets.d.ts.map +1 -1
- package/sdk/humanreviewsets.js +25 -0
- package/sdk/humanreviewsets.js.map +1 -1
- package/sdk/sdk.d.ts +2 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -3
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/humanReviewSetsCreate.ts +5 -0
- package/src/funcs/humanReviewSetsDelete.ts +5 -0
- package/src/funcs/humanReviewSetsGet.ts +5 -0
- package/src/funcs/humanReviewSetsList.ts +5 -0
- package/src/funcs/humanReviewSetsUpdate.ts +5 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/deploymentinvoke.ts +15 -18
- package/src/models/operations/deploymentstream.ts +11 -14
- 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/index.ts +0 -2
- package/src/models/operations/listdeploymentversions.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2humanevalsets.ts +21 -35
- 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/src/sdk/feedback.ts +0 -30
- package/src/sdk/humanreviewsets.ts +25 -0
- package/src/sdk/sdk.ts +5 -5
- package/funcs/feedbackCreateEvaluation.d.ts +0 -15
- package/funcs/feedbackCreateEvaluation.d.ts.map +0 -1
- package/funcs/feedbackCreateEvaluation.js +0 -120
- package/funcs/feedbackCreateEvaluation.js.map +0 -1
- package/funcs/feedbackRemoveEvaluation.d.ts +0 -15
- package/funcs/feedbackRemoveEvaluation.d.ts.map +0 -1
- package/funcs/feedbackRemoveEvaluation.js +0 -120
- package/funcs/feedbackRemoveEvaluation.js.map +0 -1
- package/models/operations/postv2feedbackevaluation.d.ts +0 -257
- package/models/operations/postv2feedbackevaluation.d.ts.map +0 -1
- package/models/operations/postv2feedbackevaluation.js +0 -210
- package/models/operations/postv2feedbackevaluation.js.map +0 -1
- package/models/operations/postv2feedbackevaluationremove.d.ts +0 -14
- package/models/operations/postv2feedbackevaluationremove.d.ts.map +0 -1
- package/models/operations/postv2feedbackevaluationremove.js +0 -55
- package/models/operations/postv2feedbackevaluationremove.js.map +0 -1
- package/src/funcs/feedbackCreateEvaluation.ts +0 -173
- package/src/funcs/feedbackRemoveEvaluation.ts +0 -173
- package/src/models/operations/postv2feedbackevaluation.ts +0 -453
- package/src/models/operations/postv2feedbackevaluationremove.ts +0 -43
|
@@ -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) => {
|
|
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
639
639
|
z.ZodTypeDef,
|
|
640
640
|
unknown
|
|
641
641
|
> = z.object({
|
|
642
|
-
_id: z.string().default("
|
|
642
|
+
_id: z.string().default("tool_01M5CA2HT4ZD43J103VMM62DTR"),
|
|
643
643
|
path: z.string(),
|
|
644
644
|
key: z.string(),
|
|
645
645
|
display_name: z.string().optional(),
|
|
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
821
821
|
z.ZodTypeDef,
|
|
822
822
|
unknown
|
|
823
823
|
> = z.object({
|
|
824
|
-
_id: z.string().default("
|
|
824
|
+
_id: z.string().default("tool_01M5CA2HT37A81Z54YNZ88CZPM"),
|
|
825
825
|
path: z.string(),
|
|
826
826
|
key: z.string(),
|
|
827
827
|
display_name: z.string().optional(),
|
|
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
914
914
|
z.ZodTypeDef,
|
|
915
915
|
unknown
|
|
916
916
|
> = z.object({
|
|
917
|
-
_id: z.string().default("
|
|
917
|
+
_id: z.string().default("tool_01M5CA2HT2VWMWVR07C6CTBN2G"),
|
|
918
918
|
path: z.string(),
|
|
919
919
|
key: z.string(),
|
|
920
920
|
display_name: z.string().optional(),
|
|
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1012
1012
|
z.ZodTypeDef,
|
|
1013
1013
|
unknown
|
|
1014
1014
|
> = z.object({
|
|
1015
|
-
_id: z.string().default("
|
|
1015
|
+
_id: z.string().default("tool_01M5CA2HT1Y8PY9H7AVWTZCAP9"),
|
|
1016
1016
|
path: z.string(),
|
|
1017
1017
|
key: z.string(),
|
|
1018
1018
|
display_name: z.string().optional(),
|
|
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
140
140
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
141
141
|
.optional(),
|
|
142
142
|
updated: z.string().datetime({ offset: true }).default(
|
|
143
|
-
"2026-10-
|
|
143
|
+
"2026-10-20T09:25:18.712Z",
|
|
144
144
|
).transform(v => new Date(v)),
|
|
145
145
|
filter_type: z.literal("name"),
|
|
146
146
|
filter_value: z.string(),
|
|
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
185
185
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
186
186
|
.optional(),
|
|
187
187
|
updated: z.string().datetime({ offset: true }).default(
|
|
188
|
-
"2026-10-
|
|
188
|
+
"2026-10-20T09:25:18.712Z",
|
|
189
189
|
).transform(v => new Date(v)),
|
|
190
190
|
filter_type: z.literal("span_type"),
|
|
191
191
|
filter_values: z.array(z.string()),
|
|
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
141
141
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
143
|
updated: z.string().datetime({ offset: true }).default(
|
|
144
|
-
"2026-10-
|
|
144
|
+
"2026-10-20T09:25:18.712Z",
|
|
145
145
|
).transform(v => new Date(v)),
|
|
146
146
|
filter_type: z.literal("name"),
|
|
147
147
|
filter_value: z.string(),
|
|
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
186
186
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
187
187
|
.optional(),
|
|
188
188
|
updated: z.string().datetime({ offset: true }).default(
|
|
189
|
-
"2026-10-
|
|
189
|
+
"2026-10-20T09:25:18.712Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -211,8 +211,6 @@ export * from "./policyget.js";
|
|
|
211
211
|
export * from "./policylist.js";
|
|
212
212
|
export * from "./policyupdate.js";
|
|
213
213
|
export * from "./postv2feedback.js";
|
|
214
|
-
export * from "./postv2feedbackevaluation.js";
|
|
215
|
-
export * from "./postv2feedbackevaluationremove.js";
|
|
216
214
|
export * from "./postv2feedbackremove.js";
|
|
217
215
|
export * from "./postv2humanevalsets.js";
|
|
218
216
|
export * from "./postv2routerocr.js";
|
|
@@ -2525,7 +2525,7 @@ export const ListDeploymentVersionsKnowledgeBases$inboundSchema: z.ZodType<
|
|
|
2525
2525
|
z.ZodTypeDef,
|
|
2526
2526
|
unknown
|
|
2527
2527
|
> = z.object({
|
|
2528
|
-
id: z.string().default("
|
|
2528
|
+
id: z.string().default("01M5CA2HM4Z6GQ3PKXHXG7P6P3"),
|
|
2529
2529
|
knowledge_id: z.string(),
|
|
2530
2530
|
configuration: z.union([
|
|
2531
2531
|
z.lazy(() => KnowledgeBaseLastUserMessage$inboundSchema),
|
|
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
318
318
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
319
319
|
.optional(),
|
|
320
320
|
updated: z.string().datetime({ offset: true }).default(
|
|
321
|
-
"2026-10-
|
|
321
|
+
"2026-10-20T09:25:18.712Z",
|
|
322
322
|
).transform(v => new Date(v)),
|
|
323
323
|
filter_type: z.literal("name"),
|
|
324
324
|
filter_value: z.string(),
|
|
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
364
364
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
365
365
|
.optional(),
|
|
366
366
|
updated: z.string().datetime({ offset: true }).default(
|
|
367
|
-
"2026-10-
|
|
367
|
+
"2026-10-20T09:25:18.712Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -8,7 +8,7 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export type
|
|
11
|
+
export type RequestBody2 = {
|
|
12
12
|
/**
|
|
13
13
|
* Display name of the human review set
|
|
14
14
|
*/
|
|
@@ -32,7 +32,7 @@ export type PostV2HumanEvalSetsRequestBody2 = {
|
|
|
32
32
|
filterValue: string;
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
-
export type
|
|
35
|
+
export type RequestBody1 = {
|
|
36
36
|
/**
|
|
37
37
|
* Display name of the human review set
|
|
38
38
|
*/
|
|
@@ -56,9 +56,7 @@ export type PostV2HumanEvalSetsRequestBody1 = {
|
|
|
56
56
|
filterValues: Array<string>;
|
|
57
57
|
};
|
|
58
58
|
|
|
59
|
-
export type PostV2HumanEvalSetsRequestBody =
|
|
60
|
-
| PostV2HumanEvalSetsRequestBody1
|
|
61
|
-
| PostV2HumanEvalSetsRequestBody2;
|
|
59
|
+
export type PostV2HumanEvalSetsRequestBody = RequestBody1 | RequestBody2;
|
|
62
60
|
|
|
63
61
|
export type PostV2HumanEvalSetsResponseBody2 = {
|
|
64
62
|
/**
|
|
@@ -146,7 +144,7 @@ export type PostV2HumanEvalSetsResponseBody =
|
|
|
146
144
|
| PostV2HumanEvalSetsResponseBody2;
|
|
147
145
|
|
|
148
146
|
/** @internal */
|
|
149
|
-
export type
|
|
147
|
+
export type RequestBody2$Outbound = {
|
|
150
148
|
display_name: string;
|
|
151
149
|
description?: string | undefined;
|
|
152
150
|
human_eval_ids: Array<string>;
|
|
@@ -156,10 +154,10 @@ export type PostV2HumanEvalSetsRequestBody2$Outbound = {
|
|
|
156
154
|
};
|
|
157
155
|
|
|
158
156
|
/** @internal */
|
|
159
|
-
export const
|
|
160
|
-
|
|
157
|
+
export const RequestBody2$outboundSchema: z.ZodType<
|
|
158
|
+
RequestBody2$Outbound,
|
|
161
159
|
z.ZodTypeDef,
|
|
162
|
-
|
|
160
|
+
RequestBody2
|
|
163
161
|
> = z.object({
|
|
164
162
|
displayName: z.string(),
|
|
165
163
|
description: z.string().optional(),
|
|
@@ -177,18 +175,12 @@ export const PostV2HumanEvalSetsRequestBody2$outboundSchema: z.ZodType<
|
|
|
177
175
|
});
|
|
178
176
|
});
|
|
179
177
|
|
|
180
|
-
export function
|
|
181
|
-
|
|
182
|
-
): string {
|
|
183
|
-
return JSON.stringify(
|
|
184
|
-
PostV2HumanEvalSetsRequestBody2$outboundSchema.parse(
|
|
185
|
-
postV2HumanEvalSetsRequestBody2,
|
|
186
|
-
),
|
|
187
|
-
);
|
|
178
|
+
export function requestBody2ToJSON(requestBody2: RequestBody2): string {
|
|
179
|
+
return JSON.stringify(RequestBody2$outboundSchema.parse(requestBody2));
|
|
188
180
|
}
|
|
189
181
|
|
|
190
182
|
/** @internal */
|
|
191
|
-
export type
|
|
183
|
+
export type RequestBody1$Outbound = {
|
|
192
184
|
display_name: string;
|
|
193
185
|
description?: string | undefined;
|
|
194
186
|
human_eval_ids: Array<string>;
|
|
@@ -198,10 +190,10 @@ export type PostV2HumanEvalSetsRequestBody1$Outbound = {
|
|
|
198
190
|
};
|
|
199
191
|
|
|
200
192
|
/** @internal */
|
|
201
|
-
export const
|
|
202
|
-
|
|
193
|
+
export const RequestBody1$outboundSchema: z.ZodType<
|
|
194
|
+
RequestBody1$Outbound,
|
|
203
195
|
z.ZodTypeDef,
|
|
204
|
-
|
|
196
|
+
RequestBody1
|
|
205
197
|
> = z.object({
|
|
206
198
|
displayName: z.string(),
|
|
207
199
|
description: z.string().optional(),
|
|
@@ -219,20 +211,14 @@ export const PostV2HumanEvalSetsRequestBody1$outboundSchema: z.ZodType<
|
|
|
219
211
|
});
|
|
220
212
|
});
|
|
221
213
|
|
|
222
|
-
export function
|
|
223
|
-
|
|
224
|
-
): string {
|
|
225
|
-
return JSON.stringify(
|
|
226
|
-
PostV2HumanEvalSetsRequestBody1$outboundSchema.parse(
|
|
227
|
-
postV2HumanEvalSetsRequestBody1,
|
|
228
|
-
),
|
|
229
|
-
);
|
|
214
|
+
export function requestBody1ToJSON(requestBody1: RequestBody1): string {
|
|
215
|
+
return JSON.stringify(RequestBody1$outboundSchema.parse(requestBody1));
|
|
230
216
|
}
|
|
231
217
|
|
|
232
218
|
/** @internal */
|
|
233
219
|
export type PostV2HumanEvalSetsRequestBody$Outbound =
|
|
234
|
-
|
|
|
235
|
-
|
|
|
220
|
+
| RequestBody1$Outbound
|
|
221
|
+
| RequestBody2$Outbound;
|
|
236
222
|
|
|
237
223
|
/** @internal */
|
|
238
224
|
export const PostV2HumanEvalSetsRequestBody$outboundSchema: z.ZodType<
|
|
@@ -240,8 +226,8 @@ export const PostV2HumanEvalSetsRequestBody$outboundSchema: z.ZodType<
|
|
|
240
226
|
z.ZodTypeDef,
|
|
241
227
|
PostV2HumanEvalSetsRequestBody
|
|
242
228
|
> = z.union([
|
|
243
|
-
z.lazy(() =>
|
|
244
|
-
z.lazy(() =>
|
|
229
|
+
z.lazy(() => RequestBody1$outboundSchema),
|
|
230
|
+
z.lazy(() => RequestBody2$outboundSchema),
|
|
245
231
|
]);
|
|
246
232
|
|
|
247
233
|
export function postV2HumanEvalSetsRequestBodyToJSON(
|
|
@@ -271,7 +257,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
271
257
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
272
258
|
.optional(),
|
|
273
259
|
updated: z.string().datetime({ offset: true }).default(
|
|
274
|
-
"2026-10-
|
|
260
|
+
"2026-10-20T09:25:18.712Z",
|
|
275
261
|
).transform(v => new Date(v)),
|
|
276
262
|
filter_type: z.literal("name"),
|
|
277
263
|
filter_value: z.string(),
|
|
@@ -316,7 +302,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
316
302
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
317
303
|
.optional(),
|
|
318
304
|
updated: z.string().datetime({ offset: true }).default(
|
|
319
|
-
"2026-10-
|
|
305
|
+
"2026-10-20T09:25:18.712Z",
|
|
320
306
|
).transform(v => new Date(v)),
|
|
321
307
|
filter_type: z.literal("span_type"),
|
|
322
308
|
filter_values: z.array(z.string()),
|
|
@@ -624,7 +624,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
624
624
|
z.ZodTypeDef,
|
|
625
625
|
unknown
|
|
626
626
|
> = z.object({
|
|
627
|
-
_id: z.string().default("
|
|
627
|
+
_id: z.string().default("tool_01M5CA2HTX35ED4D7RTGHGF9CQ"),
|
|
628
628
|
path: z.string(),
|
|
629
629
|
key: z.string(),
|
|
630
630
|
display_name: z.string().optional(),
|
|
@@ -820,7 +820,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
820
820
|
z.ZodTypeDef,
|
|
821
821
|
unknown
|
|
822
822
|
> = z.object({
|
|
823
|
-
_id: z.string().default("
|
|
823
|
+
_id: z.string().default("tool_01M5CA2HTWN8NAVJF2B9VA6EQS"),
|
|
824
824
|
path: z.string(),
|
|
825
825
|
key: z.string(),
|
|
826
826
|
display_name: z.string().optional(),
|
|
@@ -916,7 +916,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
916
916
|
z.ZodTypeDef,
|
|
917
917
|
unknown
|
|
918
918
|
> = z.object({
|
|
919
|
-
_id: z.string().default("
|
|
919
|
+
_id: z.string().default("tool_01M5CA2HTV8GNHF9XDGK2DPCBS"),
|
|
920
920
|
path: z.string(),
|
|
921
921
|
key: z.string(),
|
|
922
922
|
display_name: z.string().optional(),
|
|
@@ -1022,7 +1022,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1022
1022
|
z.ZodTypeDef,
|
|
1023
1023
|
unknown
|
|
1024
1024
|
> = z.object({
|
|
1025
|
-
_id: z.string().default("
|
|
1025
|
+
_id: z.string().default("tool_01M5CA2HTTAWT44443T01ZYMHN"),
|
|
1026
1026
|
path: z.string(),
|
|
1027
1027
|
key: z.string(),
|
|
1028
1028
|
display_name: z.string().optional(),
|
|
@@ -3904,7 +3904,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3904
3904
|
z.ZodTypeDef,
|
|
3905
3905
|
Tools
|
|
3906
3906
|
> = z.object({
|
|
3907
|
-
id: z.string().default("
|
|
3907
|
+
id: z.string().default("01M5CA2HQFAEQD8DJGJ5WT12P3"),
|
|
3908
3908
|
name: z.string(),
|
|
3909
3909
|
description: z.string().optional(),
|
|
3910
3910
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -3963,7 +3963,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3963
3963
|
z.ZodTypeDef,
|
|
3964
3964
|
AgentToolInputRunTools
|
|
3965
3965
|
> = z.object({
|
|
3966
|
-
id: z.string().default("
|
|
3966
|
+
id: z.string().default("01M5CA2HR7707BRHC6W26CAJR8"),
|
|
3967
3967
|
name: z.string(),
|
|
3968
3968
|
description: z.string().optional(),
|
|
3969
3969
|
schema: z.lazy(() =>
|
|
@@ -1764,7 +1764,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1764
1764
|
z.ZodTypeDef,
|
|
1765
1765
|
unknown
|
|
1766
1766
|
> = z.object({
|
|
1767
|
-
_id: z.string().default("
|
|
1767
|
+
_id: z.string().default("tool_01M5CA2HTK7J3JGJVNGMD1CYFJ"),
|
|
1768
1768
|
path: z.string(),
|
|
1769
1769
|
key: z.string(),
|
|
1770
1770
|
display_name: z.string().optional(),
|
|
@@ -1959,7 +1959,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1959
1959
|
z.ZodTypeDef,
|
|
1960
1960
|
unknown
|
|
1961
1961
|
> = z.object({
|
|
1962
|
-
_id: z.string().default("
|
|
1962
|
+
_id: z.string().default("tool_01M5CA2HTJXND9ZWRTEJ0NNQ2K"),
|
|
1963
1963
|
path: z.string(),
|
|
1964
1964
|
key: z.string(),
|
|
1965
1965
|
display_name: z.string().optional(),
|
|
@@ -2054,7 +2054,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2054
2054
|
z.ZodTypeDef,
|
|
2055
2055
|
unknown
|
|
2056
2056
|
> = z.object({
|
|
2057
|
-
_id: z.string().default("
|
|
2057
|
+
_id: z.string().default("tool_01M5CA2HTHXB5NHK7Y4KX19NKX"),
|
|
2058
2058
|
path: z.string(),
|
|
2059
2059
|
key: z.string(),
|
|
2060
2060
|
display_name: z.string().optional(),
|
|
@@ -2157,7 +2157,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2157
2157
|
z.ZodTypeDef,
|
|
2158
2158
|
unknown
|
|
2159
2159
|
> = z.object({
|
|
2160
|
-
_id: z.string().default("
|
|
2160
|
+
_id: z.string().default("tool_01M5CA2HTGB5XWC9WCH81ZPY8K"),
|
|
2161
2161
|
path: z.string(),
|
|
2162
2162
|
key: z.string(),
|
|
2163
2163
|
display_name: z.string().optional(),
|
package/src/sdk/feedback.ts
CHANGED
|
@@ -3,9 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { feedbackCreate } from "../funcs/feedbackCreate.js";
|
|
6
|
-
import { feedbackCreateEvaluation } from "../funcs/feedbackCreateEvaluation.js";
|
|
7
6
|
import { feedbackRemove } from "../funcs/feedbackRemove.js";
|
|
8
|
-
import { feedbackRemoveEvaluation } from "../funcs/feedbackRemoveEvaluation.js";
|
|
9
7
|
import { feedbackSubmit } from "../funcs/feedbackSubmit.js";
|
|
10
8
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
9
|
import * as components from "../models/components/index.js";
|
|
@@ -13,34 +11,6 @@ import * as operations from "../models/operations/index.js";
|
|
|
13
11
|
import { unwrapAsync } from "../types/fp.js";
|
|
14
12
|
|
|
15
13
|
export class Feedback extends ClientSDK {
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
18
|
-
*/
|
|
19
|
-
async removeEvaluation(
|
|
20
|
-
request?: operations.PostV2FeedbackEvaluationRemoveRequestBody | undefined,
|
|
21
|
-
options?: RequestOptions,
|
|
22
|
-
): Promise<void> {
|
|
23
|
-
return unwrapAsync(feedbackRemoveEvaluation(
|
|
24
|
-
this,
|
|
25
|
-
request,
|
|
26
|
-
options,
|
|
27
|
-
));
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
32
|
-
*/
|
|
33
|
-
async createEvaluation(
|
|
34
|
-
request?: operations.PostV2FeedbackEvaluationRequestBody | undefined,
|
|
35
|
-
options?: RequestOptions,
|
|
36
|
-
): Promise<void> {
|
|
37
|
-
return unwrapAsync(feedbackCreateEvaluation(
|
|
38
|
-
this,
|
|
39
|
-
request,
|
|
40
|
-
options,
|
|
41
|
-
));
|
|
42
|
-
}
|
|
43
|
-
|
|
44
14
|
async create(
|
|
45
15
|
request?: operations.PostV2FeedbackRequestBody | undefined,
|
|
46
16
|
options?: RequestOptions,
|
|
@@ -14,6 +14,11 @@ import { unwrapAsync } from "../types/fp.js";
|
|
|
14
14
|
export class HumanReviewSets extends ClientSDK {
|
|
15
15
|
/**
|
|
16
16
|
* Get all human review sets
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* Deprecated: Human Review Sets are replaced by project-level human reviews (Annotations) and will be removed in release 4.18.
|
|
20
|
+
*
|
|
21
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
17
22
|
*/
|
|
18
23
|
async list(
|
|
19
24
|
request?: operations.GetV2HumanEvalSetsRequest | undefined,
|
|
@@ -28,6 +33,11 @@ export class HumanReviewSets extends ClientSDK {
|
|
|
28
33
|
|
|
29
34
|
/**
|
|
30
35
|
* Create a human review set
|
|
36
|
+
*
|
|
37
|
+
* @remarks
|
|
38
|
+
* Deprecated: Human Review Sets are replaced by project-level human reviews (Annotations) and will be removed in release 4.18.
|
|
39
|
+
*
|
|
40
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
31
41
|
*/
|
|
32
42
|
async create(
|
|
33
43
|
request?: operations.PostV2HumanEvalSetsRequestBody | undefined,
|
|
@@ -42,6 +52,11 @@ export class HumanReviewSets extends ClientSDK {
|
|
|
42
52
|
|
|
43
53
|
/**
|
|
44
54
|
* Get a human review set by ID
|
|
55
|
+
*
|
|
56
|
+
* @remarks
|
|
57
|
+
* Deprecated: Human Review Sets are replaced by project-level human reviews (Annotations) and will be removed in release 4.18.
|
|
58
|
+
*
|
|
59
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
45
60
|
*/
|
|
46
61
|
async get(
|
|
47
62
|
request: operations.GetV2HumanEvalSetsIdRequest,
|
|
@@ -56,6 +71,11 @@ export class HumanReviewSets extends ClientSDK {
|
|
|
56
71
|
|
|
57
72
|
/**
|
|
58
73
|
* Update a human review set
|
|
74
|
+
*
|
|
75
|
+
* @remarks
|
|
76
|
+
* Deprecated: Human Review Sets are replaced by project-level human reviews (Annotations) and will be removed in release 4.18.
|
|
77
|
+
*
|
|
78
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
59
79
|
*/
|
|
60
80
|
async update(
|
|
61
81
|
request: operations.PatchV2HumanEvalSetsIdRequest,
|
|
@@ -70,6 +90,11 @@ export class HumanReviewSets extends ClientSDK {
|
|
|
70
90
|
|
|
71
91
|
/**
|
|
72
92
|
* Delete a human review set
|
|
93
|
+
*
|
|
94
|
+
* @remarks
|
|
95
|
+
* Deprecated: Human Review Sets are replaced by project-level human reviews (Annotations) and will be removed in release 4.18.
|
|
96
|
+
*
|
|
97
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
73
98
|
*/
|
|
74
99
|
async delete(
|
|
75
100
|
request: operations.DeleteV2HumanEvalSetsIdRequest,
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -83,11 +83,6 @@ export class Orq extends ClientSDK {
|
|
|
83
83
|
return (this._router ??= new Router(this._options));
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
private _feedback?: Feedback;
|
|
87
|
-
get feedback(): Feedback {
|
|
88
|
-
return (this._feedback ??= new Feedback(this._options));
|
|
89
|
-
}
|
|
90
|
-
|
|
91
86
|
private _humanReviewSets?: HumanReviewSets;
|
|
92
87
|
get humanReviewSets(): HumanReviewSets {
|
|
93
88
|
return (this._humanReviewSets ??= new HumanReviewSets(this._options));
|
|
@@ -133,6 +128,11 @@ export class Orq extends ClientSDK {
|
|
|
133
128
|
return (this._annotations ??= new Annotations(this._options));
|
|
134
129
|
}
|
|
135
130
|
|
|
131
|
+
private _feedback?: Feedback;
|
|
132
|
+
get feedback(): Feedback {
|
|
133
|
+
return (this._feedback ??= new Feedback(this._options));
|
|
134
|
+
}
|
|
135
|
+
|
|
136
136
|
private _logs?: Logs;
|
|
137
137
|
get logs(): Logs {
|
|
138
138
|
return (this._logs ??= new Logs(this._options));
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { OrqCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
4
|
-
import * as errors from "../models/errors/index.js";
|
|
5
|
-
import { OrqError } from "../models/errors/orqerror.js";
|
|
6
|
-
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
7
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { APIPromise } from "../types/async.js";
|
|
10
|
-
import { Result } from "../types/fp.js";
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
13
|
-
*/
|
|
14
|
-
export declare function feedbackCreateEvaluation(client: OrqCore, request?: operations.PostV2FeedbackEvaluationRequestBody | undefined, options?: RequestOptions): APIPromise<Result<void, errors.ErrorResponse | OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
15
|
-
//# sourceMappingURL=feedbackCreateEvaluation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"feedbackCreateEvaluation.d.ts","sourceRoot":"","sources":["../src/funcs/feedbackCreateEvaluation.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,OAAO,EACf,OAAO,CAAC,EAAE,UAAU,CAAC,mCAAmC,GAAG,SAAS,EACpE,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,IAAI,EACF,MAAM,CAAC,aAAa,GACpB,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|