@orq-ai/node 4.15.11 → 4.15.13
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 +39 -37
- package/funcs/feedbackSubmit.d.ts +17 -0
- package/funcs/feedbackSubmit.d.ts.map +1 -0
- package/funcs/feedbackSubmit.js +115 -0
- package/funcs/feedbackSubmit.js.map +1 -0
- package/funcs/routerClassifyCreate.d.ts +1 -1
- package/funcs/routerClassifyCreate.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/classifyanswer.d.ts +1 -1
- package/models/components/classifyusage.d.ts +2 -2
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/submitfeedbackrequest.d.ts +21 -0
- package/models/components/submitfeedbackrequest.d.ts.map +1 -0
- package/models/components/submitfeedbackrequest.js +57 -0
- package/models/components/submitfeedbackrequest.js.map +1 -0
- package/models/components/submitfeedbackresponse.d.ts +13 -0
- package/models/components/submitfeedbackresponse.d.ts.map +1 -0
- package/models/components/submitfeedbackresponse.js +55 -0
- package/models/components/submitfeedbackresponse.js.map +1 -0
- package/models/operations/createclassify.d.ts +3 -2
- package/models/operations/createclassify.d.ts.map +1 -1
- package/models/operations/createclassify.js +1 -0
- package/models/operations/createclassify.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- 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/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.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/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +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/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +3 -3
- package/packages/orq-rc/src/funcs/environmentsCreate.ts +162 -0
- package/packages/orq-rc/src/funcs/environmentsDelete.ts +168 -0
- package/packages/orq-rc/src/funcs/environmentsGet.ts +168 -0
- package/packages/orq-rc/src/funcs/environmentsList.ts +172 -0
- package/packages/orq-rc/src/funcs/environmentsUpdate.ts +171 -0
- package/packages/orq-rc/src/funcs/responsesCompact.ts +183 -0
- package/packages/orq-rc/src/funcs/workspaceSecurityAddIPRange.ts +3 -3
- package/packages/orq-rc/src/funcs/workspaceSecurityCreateDomain.ts +1 -1
- package/packages/orq-rc/src/funcs/workspaceSecurityDeleteDomain.ts +1 -1
- package/packages/orq-rc/src/funcs/workspaceSecurityDeleteIPRange.ts +1 -1
- package/packages/orq-rc/src/funcs/workspaceSecurityGetIPAllowlist.ts +3 -1
- package/packages/orq-rc/src/funcs/workspaceSecurityListDomains.ts +1 -1
- package/packages/orq-rc/src/funcs/workspaceSecurityUpdateIPAllowlist.ts +3 -1
- package/packages/orq-rc/src/funcs/workspaceSecurityVerifyDomain.ts +3 -3
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/createenvironmentrequest.ts +60 -0
- package/packages/orq-rc/src/models/components/createenvironmentresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/deleteenvironmentresponse.ts +27 -0
- package/packages/orq-rc/src/models/components/environment.ts +78 -0
- package/packages/orq-rc/src/models/components/getenvironmentresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/index.ts +9 -0
- package/packages/orq-rc/src/models/components/listenvironmentsresponse.ts +41 -0
- package/packages/orq-rc/src/models/components/publiccompactionitem.ts +79 -0
- package/packages/orq-rc/src/models/components/querytelemetryrequest.ts +12 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/updateenvironmentrequest.ts +53 -0
- package/packages/orq-rc/src/models/components/updateenvironmentresponse.ts +32 -0
- package/packages/orq-rc/src/models/errors/compactresponse.ts +155 -0
- package/packages/orq-rc/src/models/errors/index.ts +1 -0
- package/packages/orq-rc/src/models/operations/compactresponse.ts +244 -0
- package/packages/orq-rc/src/models/operations/createannotation.ts +32 -19
- package/packages/orq-rc/src/models/operations/createembedding.ts +11 -7
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +18 -12
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/deleteannotation.ts +3 -4
- package/packages/orq-rc/src/models/operations/environmentdelete.ts +36 -0
- package/packages/orq-rc/src/models/operations/environmentget.ts +36 -0
- package/packages/orq-rc/src/models/operations/environmentlist.ts +50 -0
- package/packages/orq-rc/src/models/operations/environmentupdate.ts +41 -0
- 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 +5 -0
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedback.ts +14 -18
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- 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/environments.ts +100 -0
- package/packages/orq-rc/src/sdk/responses.ts +18 -0
- package/packages/orq-rc/src/sdk/sdk.ts +16 -10
- package/sdk/classify.d.ts +1 -1
- package/sdk/classify.js +1 -1
- package/sdk/feedback.d.ts +8 -0
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +10 -0
- package/sdk/feedback.js.map +1 -1
- package/src/funcs/feedbackSubmit.ts +162 -0
- package/src/funcs/routerClassifyCreate.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/classifyanswer.ts +1 -1
- package/src/models/components/classifyusage.ts +2 -2
- package/src/models/components/index.ts +2 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/submitfeedbackrequest.ts +48 -0
- package/src/models/components/submitfeedbackresponse.ts +39 -0
- package/src/models/operations/createclassify.ts +4 -2
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- 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/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.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/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- 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/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/classify.ts +1 -1
- package/src/sdk/feedback.ts +19 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import * as components from "../components/index.js";
|
|
8
|
+
|
|
9
|
+
export type EnvironmentUpdateRequest = {
|
|
10
|
+
environmentId: string;
|
|
11
|
+
updateEnvironmentRequest: components.UpdateEnvironmentRequest;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type EnvironmentUpdateRequest$Outbound = {
|
|
16
|
+
environment_id: string;
|
|
17
|
+
UpdateEnvironmentRequest: components.UpdateEnvironmentRequest$Outbound;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const EnvironmentUpdateRequest$outboundSchema: z.ZodType<
|
|
22
|
+
EnvironmentUpdateRequest$Outbound,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
EnvironmentUpdateRequest
|
|
25
|
+
> = z.object({
|
|
26
|
+
environmentId: z.string(),
|
|
27
|
+
updateEnvironmentRequest: components.UpdateEnvironmentRequest$outboundSchema,
|
|
28
|
+
}).transform((v) => {
|
|
29
|
+
return remap$(v, {
|
|
30
|
+
environmentId: "environment_id",
|
|
31
|
+
updateEnvironmentRequest: "UpdateEnvironmentRequest",
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
export function environmentUpdateRequestToJSON(
|
|
36
|
+
environmentUpdateRequest: EnvironmentUpdateRequest,
|
|
37
|
+
): string {
|
|
38
|
+
return JSON.stringify(
|
|
39
|
+
EnvironmentUpdateRequest$outboundSchema.parse(environmentUpdateRequest),
|
|
40
|
+
);
|
|
41
|
+
}
|
|
@@ -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_01M3CFSBXH1AB8WZ1E4BJSVAAC"),
|
|
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_01M3CFSBXGYXRWJ7EA8VJJ2KSV"),
|
|
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_01M3CFSBXF54MKT1P7RJGW335Y"),
|
|
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_01M3CFSBXEF4ZFR32YD0XSMFD9"),
|
|
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-09-
|
|
143
|
+
"2026-09-25T14:33:45.161Z",
|
|
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-09-
|
|
188
|
+
"2026-09-25T14:33:45.161Z",
|
|
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-09-
|
|
144
|
+
"2026-09-25T14:33:45.161Z",
|
|
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-09-
|
|
189
|
+
"2026-09-25T14:33:45.161Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -23,6 +23,7 @@ export * from "./budgetupdate.js";
|
|
|
23
23
|
export * from "./bulkcreatedatapoints.js";
|
|
24
24
|
export * from "./clearannotationqueue.js";
|
|
25
25
|
export * from "./cleardataset.js";
|
|
26
|
+
export * from "./compactresponse.js";
|
|
26
27
|
export * from "./createagentrequest.js";
|
|
27
28
|
export * from "./createagentresponserequest.js";
|
|
28
29
|
export * from "./createagentschedule.js";
|
|
@@ -77,6 +78,10 @@ export * from "./deploymentgetconfig.js";
|
|
|
77
78
|
export * from "./deploymentinvoke.js";
|
|
78
79
|
export * from "./deployments.js";
|
|
79
80
|
export * from "./deploymentstream.js";
|
|
81
|
+
export * from "./environmentdelete.js";
|
|
82
|
+
export * from "./environmentget.js";
|
|
83
|
+
export * from "./environmentlist.js";
|
|
84
|
+
export * from "./environmentupdate.js";
|
|
80
85
|
export * from "./filecontent.js";
|
|
81
86
|
export * from "./filedelete.js";
|
|
82
87
|
export * from "./fileget.js";
|
|
@@ -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-09-
|
|
321
|
+
"2026-09-25T14:33:45.161Z",
|
|
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-09-
|
|
367
|
+
"2026-09-25T14:33:45.161Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -12,7 +12,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
/**
|
|
13
13
|
* The feedback value. For single selection of multiple choice, the value should be an array of strings. For `correction`, the value should be a string.
|
|
14
14
|
*/
|
|
15
|
-
export type
|
|
15
|
+
export type Value = string | number | Array<string>;
|
|
16
16
|
|
|
17
17
|
export const PostV2FeedbackProduct = {
|
|
18
18
|
Remoteconfigs: "remoteconfigs",
|
|
@@ -59,7 +59,7 @@ export type PostV2FeedbackRequestBody = {
|
|
|
59
59
|
/**
|
|
60
60
|
* The feedback value. For single selection of multiple choice, the value should be an array of strings. For `correction`, the value should be a string.
|
|
61
61
|
*/
|
|
62
|
-
export type
|
|
62
|
+
export type PostV2FeedbackValue = string | number | Array<string>;
|
|
63
63
|
|
|
64
64
|
export const PostV2FeedbackFeedbackProduct = {
|
|
65
65
|
Remoteconfigs: "remoteconfigs",
|
|
@@ -109,21 +109,17 @@ export type PostV2FeedbackResponseBody = {
|
|
|
109
109
|
};
|
|
110
110
|
|
|
111
111
|
/** @internal */
|
|
112
|
-
export type
|
|
112
|
+
export type Value$Outbound = string | number | Array<string>;
|
|
113
113
|
|
|
114
114
|
/** @internal */
|
|
115
|
-
export const
|
|
116
|
-
|
|
115
|
+
export const Value$outboundSchema: z.ZodType<
|
|
116
|
+
Value$Outbound,
|
|
117
117
|
z.ZodTypeDef,
|
|
118
|
-
|
|
118
|
+
Value
|
|
119
119
|
> = z.union([z.string(), z.number(), z.array(z.string())]);
|
|
120
120
|
|
|
121
|
-
export function
|
|
122
|
-
|
|
123
|
-
): string {
|
|
124
|
-
return JSON.stringify(
|
|
125
|
-
PostV2FeedbackValue$outboundSchema.parse(postV2FeedbackValue),
|
|
126
|
-
);
|
|
121
|
+
export function valueToJSON(value: Value): string {
|
|
122
|
+
return JSON.stringify(Value$outboundSchema.parse(value));
|
|
127
123
|
}
|
|
128
124
|
|
|
129
125
|
/** @internal */
|
|
@@ -167,19 +163,19 @@ export function postV2FeedbackRequestBodyToJSON(
|
|
|
167
163
|
}
|
|
168
164
|
|
|
169
165
|
/** @internal */
|
|
170
|
-
export const
|
|
171
|
-
|
|
166
|
+
export const PostV2FeedbackValue$inboundSchema: z.ZodType<
|
|
167
|
+
PostV2FeedbackValue,
|
|
172
168
|
z.ZodTypeDef,
|
|
173
169
|
unknown
|
|
174
170
|
> = z.union([z.string(), z.number(), z.array(z.string())]);
|
|
175
171
|
|
|
176
|
-
export function
|
|
172
|
+
export function postV2FeedbackValueFromJSON(
|
|
177
173
|
jsonString: string,
|
|
178
|
-
): SafeParseResult<
|
|
174
|
+
): SafeParseResult<PostV2FeedbackValue, SDKValidationError> {
|
|
179
175
|
return safeParse(
|
|
180
176
|
jsonString,
|
|
181
|
-
(x) =>
|
|
182
|
-
`Failed to parse '
|
|
177
|
+
(x) => PostV2FeedbackValue$inboundSchema.parse(JSON.parse(x)),
|
|
178
|
+
`Failed to parse 'PostV2FeedbackValue' from JSON`,
|
|
183
179
|
);
|
|
184
180
|
}
|
|
185
181
|
|
|
@@ -245,7 +245,7 @@ export const RequestBody4$outboundSchema: z.ZodType<
|
|
|
245
245
|
PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
|
|
246
246
|
.default("orq"),
|
|
247
247
|
explanation: z.string().optional(),
|
|
248
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
248
|
+
reviewedAt: z.date().default(() => new Date("2026-09-25T14:33:53.921Z"))
|
|
249
249
|
.transform(v => v.toISOString()),
|
|
250
250
|
type: z.literal("string_array"),
|
|
251
251
|
values: z.array(z.string()),
|
|
@@ -299,7 +299,7 @@ export const Three$outboundSchema: z.ZodType<
|
|
|
299
299
|
source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
300
300
|
.default("orq"),
|
|
301
301
|
explanation: z.string().optional(),
|
|
302
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
302
|
+
reviewedAt: z.date().default(() => new Date("2026-09-25T14:33:53.921Z"))
|
|
303
303
|
.transform(v => v.toISOString()),
|
|
304
304
|
type: z.literal("boolean"),
|
|
305
305
|
value: z.boolean(),
|
|
@@ -353,7 +353,7 @@ export const RequestBody2$outboundSchema: z.ZodType<
|
|
|
353
353
|
"orq",
|
|
354
354
|
),
|
|
355
355
|
explanation: z.string().optional(),
|
|
356
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
356
|
+
reviewedAt: z.date().default(() => new Date("2026-09-25T14:33:53.921Z"))
|
|
357
357
|
.transform(v => v.toISOString()),
|
|
358
358
|
type: z.literal("number"),
|
|
359
359
|
value: z.number(),
|
|
@@ -405,7 +405,7 @@ export const RequestBody1$outboundSchema: z.ZodType<
|
|
|
405
405
|
humanReviewId: z.string().optional(),
|
|
406
406
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
407
407
|
explanation: z.string().optional(),
|
|
408
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
408
|
+
reviewedAt: z.date().default(() => new Date("2026-09-25T14:33:53.921Z"))
|
|
409
409
|
.transform(v => v.toISOString()),
|
|
410
410
|
type: z.literal("string"),
|
|
411
411
|
value: z.string(),
|
|
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
271
271
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
272
272
|
.optional(),
|
|
273
273
|
updated: z.string().datetime({ offset: true }).default(
|
|
274
|
-
"2026-09-
|
|
274
|
+
"2026-09-25T14:33:45.161Z",
|
|
275
275
|
).transform(v => new Date(v)),
|
|
276
276
|
filter_type: z.literal("name"),
|
|
277
277
|
filter_value: z.string(),
|
|
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
316
316
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
317
317
|
.optional(),
|
|
318
318
|
updated: z.string().datetime({ offset: true }).default(
|
|
319
|
-
"2026-09-
|
|
319
|
+
"2026-09-25T14:33:45.161Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
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_01M3CFSBYEPEK42D0B573AQP2J"),
|
|
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_01M3CFSBYDWHRHCVKFTFEGAXNF"),
|
|
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_01M3CFSBYC62MZTJ7NHAY22MS6"),
|
|
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_01M3CFSBYBXWRHW7NG1AADKC0A"),
|
|
1026
1026
|
path: z.string(),
|
|
1027
1027
|
key: z.string(),
|
|
1028
1028
|
display_name: z.string().optional(),
|
|
@@ -3890,7 +3890,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3890
3890
|
z.ZodTypeDef,
|
|
3891
3891
|
Tools
|
|
3892
3892
|
> = z.object({
|
|
3893
|
-
id: z.string().default("
|
|
3893
|
+
id: z.string().default("01M3CFSBTNR3SKD8HMSTWE1MYS"),
|
|
3894
3894
|
name: z.string(),
|
|
3895
3895
|
description: z.string().optional(),
|
|
3896
3896
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -3949,7 +3949,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3949
3949
|
z.ZodTypeDef,
|
|
3950
3950
|
AgentToolInputRunTools
|
|
3951
3951
|
> = z.object({
|
|
3952
|
-
id: z.string().default("
|
|
3952
|
+
id: z.string().default("01M3CFSBVJCVYXRWSGVYNV5HB9"),
|
|
3953
3953
|
name: z.string(),
|
|
3954
3954
|
description: z.string().optional(),
|
|
3955
3955
|
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_01M3CFSBY1TKZGH81PKXMTNVYD"),
|
|
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_01M3CFSBXZ440JEQS8F2B7XV67"),
|
|
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_01M3CFSBXY7B3GDTMN608H51QN"),
|
|
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_01M3CFSBXW7CW98K5QXSHJJR37"),
|
|
2161
2161
|
path: z.string(),
|
|
2162
2162
|
key: z.string(),
|
|
2163
2163
|
display_name: z.string().optional(),
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { environmentsCreate } from "../funcs/environmentsCreate.js";
|
|
6
|
+
import { environmentsDelete } from "../funcs/environmentsDelete.js";
|
|
7
|
+
import { environmentsGet } from "../funcs/environmentsGet.js";
|
|
8
|
+
import { environmentsList } from "../funcs/environmentsList.js";
|
|
9
|
+
import { environmentsUpdate } from "../funcs/environmentsUpdate.js";
|
|
10
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
|
+
import * as components from "../models/components/index.js";
|
|
12
|
+
import * as operations from "../models/operations/index.js";
|
|
13
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
14
|
+
|
|
15
|
+
export class Environments extends ClientSDK {
|
|
16
|
+
/**
|
|
17
|
+
* List environments
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* Returns environments visible to the caller. When project_id is set, the result contains project-owned environments plus workspace environments shared with that project. When project_id is omitted, the result contains workspace-owned environments.
|
|
21
|
+
*/
|
|
22
|
+
async list(
|
|
23
|
+
request?: operations.EnvironmentListRequest | undefined,
|
|
24
|
+
options?: RequestOptions,
|
|
25
|
+
): Promise<components.ListEnvironmentsResponse> {
|
|
26
|
+
return unwrapAsync(environmentsList(
|
|
27
|
+
this,
|
|
28
|
+
request,
|
|
29
|
+
options,
|
|
30
|
+
));
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Create an environment
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
* Creates either a project-owned environment or a workspace-owned environment with sharing. Exactly one scope must be provided.
|
|
38
|
+
*/
|
|
39
|
+
async create(
|
|
40
|
+
request: components.CreateEnvironmentRequest,
|
|
41
|
+
options?: RequestOptions,
|
|
42
|
+
): Promise<components.CreateEnvironmentResponse> {
|
|
43
|
+
return unwrapAsync(environmentsCreate(
|
|
44
|
+
this,
|
|
45
|
+
request,
|
|
46
|
+
options,
|
|
47
|
+
));
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Retrieve an environment
|
|
52
|
+
*
|
|
53
|
+
* @remarks
|
|
54
|
+
* Retrieves a visible environment by ID.
|
|
55
|
+
*/
|
|
56
|
+
async get(
|
|
57
|
+
request: operations.EnvironmentGetRequest,
|
|
58
|
+
options?: RequestOptions,
|
|
59
|
+
): Promise<components.GetEnvironmentResponse> {
|
|
60
|
+
return unwrapAsync(environmentsGet(
|
|
61
|
+
this,
|
|
62
|
+
request,
|
|
63
|
+
options,
|
|
64
|
+
));
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Delete an environment
|
|
69
|
+
*
|
|
70
|
+
* @remarks
|
|
71
|
+
* Permanently deletes an environment.
|
|
72
|
+
*/
|
|
73
|
+
async delete(
|
|
74
|
+
request: operations.EnvironmentDeleteRequest,
|
|
75
|
+
options?: RequestOptions,
|
|
76
|
+
): Promise<components.DeleteEnvironmentResponse> {
|
|
77
|
+
return unwrapAsync(environmentsDelete(
|
|
78
|
+
this,
|
|
79
|
+
request,
|
|
80
|
+
options,
|
|
81
|
+
));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Update an environment
|
|
86
|
+
*
|
|
87
|
+
* @remarks
|
|
88
|
+
* Updates environment metadata. Scope is immutable; sharing may only be updated on workspace-owned environments.
|
|
89
|
+
*/
|
|
90
|
+
async update(
|
|
91
|
+
request: operations.EnvironmentUpdateRequest,
|
|
92
|
+
options?: RequestOptions,
|
|
93
|
+
): Promise<components.UpdateEnvironmentResponse> {
|
|
94
|
+
return unwrapAsync(environmentsUpdate(
|
|
95
|
+
this,
|
|
96
|
+
request,
|
|
97
|
+
options,
|
|
98
|
+
));
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import { responsesCompact } from "../funcs/responsesCompact.js";
|
|
5
6
|
import { CreateAcceptEnum, responsesCreate } from "../funcs/responsesCreate.js";
|
|
6
7
|
import { responsesGet } from "../funcs/responsesGet.js";
|
|
7
8
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
@@ -11,6 +12,23 @@ import { unwrapAsync } from "../types/fp.js";
|
|
|
11
12
|
export { CreateAcceptEnum } from "../funcs/responsesCreate.js";
|
|
12
13
|
|
|
13
14
|
export class Responses extends ClientSDK {
|
|
15
|
+
/**
|
|
16
|
+
* Compact response
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* Compacts a conversation by summarizing older items to free up context window space. Returns a compaction item containing the generated summary.
|
|
20
|
+
*/
|
|
21
|
+
async compact(
|
|
22
|
+
request: operations.CompactResponseRequestBody,
|
|
23
|
+
options?: RequestOptions,
|
|
24
|
+
): Promise<operations.CompactResponseResponseBody> {
|
|
25
|
+
return unwrapAsync(responsesCompact(
|
|
26
|
+
this,
|
|
27
|
+
request,
|
|
28
|
+
options,
|
|
29
|
+
));
|
|
30
|
+
}
|
|
31
|
+
|
|
14
32
|
/**
|
|
15
33
|
* Create response
|
|
16
34
|
*
|
|
@@ -12,6 +12,7 @@ import { Budgets } from "./budgets.js";
|
|
|
12
12
|
import { Chunking } from "./chunking.js";
|
|
13
13
|
import { Datasets } from "./datasets.js";
|
|
14
14
|
import { Deployments } from "./deployments.js";
|
|
15
|
+
import { Environments } from "./environments.js";
|
|
15
16
|
import { Evals } from "./evals.js";
|
|
16
17
|
import { Feedback } from "./feedback.js";
|
|
17
18
|
import { Files } from "./files.js";
|
|
@@ -76,11 +77,6 @@ export class Orq extends ClientSDK {
|
|
|
76
77
|
return (this._router ??= new Router(this._options));
|
|
77
78
|
}
|
|
78
79
|
|
|
79
|
-
private _annotations?: Annotations;
|
|
80
|
-
get annotations(): Annotations {
|
|
81
|
-
return (this._annotations ??= new Annotations(this._options));
|
|
82
|
-
}
|
|
83
|
-
|
|
84
80
|
private _feedback?: Feedback;
|
|
85
81
|
get feedback(): Feedback {
|
|
86
82
|
return (this._feedback ??= new Feedback(this._options));
|
|
@@ -126,6 +122,11 @@ export class Orq extends ClientSDK {
|
|
|
126
122
|
return (this._apiKeys ??= new ApiKeys(this._options));
|
|
127
123
|
}
|
|
128
124
|
|
|
125
|
+
private _annotations?: Annotations;
|
|
126
|
+
get annotations(): Annotations {
|
|
127
|
+
return (this._annotations ??= new Annotations(this._options));
|
|
128
|
+
}
|
|
129
|
+
|
|
129
130
|
private _logs?: Logs;
|
|
130
131
|
get logs(): Logs {
|
|
131
132
|
return (this._logs ??= new Logs(this._options));
|
|
@@ -176,6 +177,11 @@ export class Orq extends ClientSDK {
|
|
|
176
177
|
return (this._budgets ??= new Budgets(this._options));
|
|
177
178
|
}
|
|
178
179
|
|
|
180
|
+
private _environments?: Environments;
|
|
181
|
+
get environments(): Environments {
|
|
182
|
+
return (this._environments ??= new Environments(this._options));
|
|
183
|
+
}
|
|
184
|
+
|
|
179
185
|
private _files?: Files;
|
|
180
186
|
get files(): Files {
|
|
181
187
|
return (this._files ??= new Files(this._options));
|
|
@@ -271,13 +277,13 @@ export class Orq extends ClientSDK {
|
|
|
271
277
|
return (this._workspaceSettings ??= new WorkspaceSettings(this._options));
|
|
272
278
|
}
|
|
273
279
|
|
|
274
|
-
private _schedules?: Schedules;
|
|
275
|
-
get schedules(): Schedules {
|
|
276
|
-
return (this._schedules ??= new Schedules(this._options));
|
|
277
|
-
}
|
|
278
|
-
|
|
279
280
|
private _responses?: Responses;
|
|
280
281
|
get responses(): Responses {
|
|
281
282
|
return (this._responses ??= new Responses(this._options));
|
|
282
283
|
}
|
|
284
|
+
|
|
285
|
+
private _schedules?: Schedules;
|
|
286
|
+
get schedules(): Schedules {
|
|
287
|
+
return (this._schedules ??= new Schedules(this._options));
|
|
288
|
+
}
|
|
283
289
|
}
|
package/sdk/classify.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare class Classify extends ClientSDK {
|
|
|
5
5
|
* Classify
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
|
-
* **Beta.** Runs typed classification questions (`noul`, `choice`, `score`) against
|
|
8
|
+
* **Beta.** Runs typed classification questions (`noul`, `choice`, `score`) against the native classify model `typesafe/jev-latest` or a chat model that supports classify, such as `anthropic/claude-haiku-4-5`, `google-ai/gemini-3.8-flash` or `zai/glm-5.3-flash`. Chat models answer through one structured-output call and their probabilities are model-reported rather than calibrated. The request and response follow the TypeSafe classification contract; `model` in the response echoes the request and `usage` carries the computed cost like the Responses API. This endpoint currently does not apply PII plugins or guardrails.
|
|
9
9
|
*/
|
|
10
10
|
create(request: operations.CreateClassifyRequestBody, options?: RequestOptions): Promise<operations.CreateClassifyResponseBody>;
|
|
11
11
|
}
|
package/sdk/classify.js
CHANGED
|
@@ -12,7 +12,7 @@ class Classify extends sdks_js_1.ClientSDK {
|
|
|
12
12
|
* Classify
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* **Beta.** Runs typed classification questions (`noul`, `choice`, `score`) against
|
|
15
|
+
* **Beta.** Runs typed classification questions (`noul`, `choice`, `score`) against the native classify model `typesafe/jev-latest` or a chat model that supports classify, such as `anthropic/claude-haiku-4-5`, `google-ai/gemini-3.8-flash` or `zai/glm-5.3-flash`. Chat models answer through one structured-output call and their probabilities are model-reported rather than calibrated. The request and response follow the TypeSafe classification contract; `model` in the response echoes the request and `usage` carries the computed cost like the Responses API. This endpoint currently does not apply PII plugins or guardrails.
|
|
16
16
|
*/
|
|
17
17
|
async create(request, options) {
|
|
18
18
|
return (0, fp_js_1.unwrapAsync)((0, routerClassifyCreate_js_1.routerClassifyCreate)(this, request, options));
|
package/sdk/feedback.d.ts
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
+
import * as components from "../models/components/index.js";
|
|
2
3
|
import * as operations from "../models/operations/index.js";
|
|
3
4
|
export declare class Feedback extends ClientSDK {
|
|
4
5
|
removeEvaluation(request?: operations.PostV2FeedbackEvaluationRemoveRequestBody | undefined, options?: RequestOptions): Promise<void>;
|
|
5
6
|
createEvaluation(request?: operations.PostV2FeedbackEvaluationRequestBody | undefined, options?: RequestOptions): Promise<void>;
|
|
6
7
|
remove(request?: operations.PostV2FeedbackRemoveRequestBody | undefined, options?: RequestOptions): Promise<operations.PostV2FeedbackRemoveResponseBody>;
|
|
7
8
|
create(request?: operations.PostV2FeedbackRequestBody | undefined, options?: RequestOptions): Promise<operations.PostV2FeedbackResponseBody>;
|
|
9
|
+
/**
|
|
10
|
+
* Submit feedback
|
|
11
|
+
*
|
|
12
|
+
* @remarks
|
|
13
|
+
* Report problems or request features for Orq.ai APIs, MCP tools, SDKs, and documentation.
|
|
14
|
+
*/
|
|
15
|
+
submit(request: components.SubmitFeedbackRequest, options?: RequestOptions): Promise<components.SubmitFeedbackResponse>;
|
|
8
16
|
}
|
|
9
17
|
//# sourceMappingURL=feedback.d.ts.map
|
package/sdk/feedback.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feedback.d.ts","sourceRoot":"","sources":["../src/sdk/feedback.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"feedback.d.ts","sourceRoot":"","sources":["../src/sdk/feedback.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IAC/B,gBAAgB,CACpB,OAAO,CAAC,EAAE,UAAU,CAAC,yCAAyC,GAAG,SAAS,EAC1E,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAQV,gBAAgB,CACpB,OAAO,CAAC,EAAE,UAAU,CAAC,mCAAmC,GAAG,SAAS,EACpE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAQV,MAAM,CACV,OAAO,CAAC,EAAE,UAAU,CAAC,+BAA+B,GAAG,SAAS,EAChE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC;IAQjD,MAAM,CACV,OAAO,CAAC,EAAE,UAAU,CAAC,yBAAyB,GAAG,SAAS,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;IAQjD;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC;CAO9C"}
|
package/sdk/feedback.js
CHANGED
|
@@ -8,6 +8,7 @@ const feedbackCreate_js_1 = require("../funcs/feedbackCreate.js");
|
|
|
8
8
|
const feedbackCreateEvaluation_js_1 = require("../funcs/feedbackCreateEvaluation.js");
|
|
9
9
|
const feedbackRemove_js_1 = require("../funcs/feedbackRemove.js");
|
|
10
10
|
const feedbackRemoveEvaluation_js_1 = require("../funcs/feedbackRemoveEvaluation.js");
|
|
11
|
+
const feedbackSubmit_js_1 = require("../funcs/feedbackSubmit.js");
|
|
11
12
|
const sdks_js_1 = require("../lib/sdks.js");
|
|
12
13
|
const fp_js_1 = require("../types/fp.js");
|
|
13
14
|
class Feedback extends sdks_js_1.ClientSDK {
|
|
@@ -23,6 +24,15 @@ class Feedback extends sdks_js_1.ClientSDK {
|
|
|
23
24
|
async create(request, options) {
|
|
24
25
|
return (0, fp_js_1.unwrapAsync)((0, feedbackCreate_js_1.feedbackCreate)(this, request, options));
|
|
25
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* Submit feedback
|
|
29
|
+
*
|
|
30
|
+
* @remarks
|
|
31
|
+
* Report problems or request features for Orq.ai APIs, MCP tools, SDKs, and documentation.
|
|
32
|
+
*/
|
|
33
|
+
async submit(request, options) {
|
|
34
|
+
return (0, fp_js_1.unwrapAsync)((0, feedbackSubmit_js_1.feedbackSubmit)(this, request, options));
|
|
35
|
+
}
|
|
26
36
|
}
|
|
27
37
|
exports.Feedback = Feedback;
|
|
28
38
|
//# sourceMappingURL=feedback.js.map
|
package/sdk/feedback.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feedback.js","sourceRoot":"","sources":["../src/sdk/feedback.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,kEAA4D;AAC5D,sFAAgF;AAChF,kEAA4D;AAC5D,sFAAgF;AAChF,4CAA2D;
|
|
1
|
+
{"version":3,"file":"feedback.js","sourceRoot":"","sources":["../src/sdk/feedback.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,kEAA4D;AAC5D,sFAAgF;AAChF,kEAA4D;AAC5D,sFAAgF;AAChF,kEAA4D;AAC5D,4CAA2D;AAG3D,0CAA6C;AAE7C,MAAa,QAAS,SAAQ,mBAAS;IACrC,KAAK,CAAC,gBAAgB,CACpB,OAA0E,EAC1E,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sDAAwB,EACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,gBAAgB,CACpB,OAAoE,EACpE,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sDAAwB,EACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,MAAM,CACV,OAAgE,EAChE,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kCAAc,EAC/B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,MAAM,CACV,OAA0D,EAC1D,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kCAAc,EAC/B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAyC,EACzC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kCAAc,EAC/B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AA7DD,4BA6DC"}
|