@orq-ai/node 4.15.8 → 4.15.11
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 +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/models/components/reasoningpart.js +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 +6 -6
- package/packages/orq-rc/src/funcs/apiKeysCreate.ts +6 -5
- package/packages/orq-rc/src/funcs/apiKeysDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/apiKeysGet.ts +3 -8
- package/packages/orq-rc/src/funcs/apiKeysList.ts +4 -11
- package/packages/orq-rc/src/funcs/apiKeysListCapabilities.ts +6 -6
- package/packages/orq-rc/src/funcs/apiKeysUpdate.ts +3 -5
- package/packages/orq-rc/src/funcs/datasetsClear.ts +3 -12
- package/packages/orq-rc/src/funcs/datasetsCreate.ts +10 -15
- package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +8 -16
- package/packages/orq-rc/src/funcs/datasetsCreateDatapoints.ts +175 -0
- package/packages/orq-rc/src/funcs/datasetsDelete.ts +2 -2
- package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +2 -11
- package/packages/orq-rc/src/funcs/datasetsDeleteDatapoints.ts +174 -0
- package/packages/orq-rc/src/funcs/datasetsList.ts +6 -5
- package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +6 -14
- package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +7 -15
- package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +7 -15
- package/packages/orq-rc/src/funcs/datasetsUpdate.ts +10 -16
- package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +10 -16
- package/packages/orq-rc/src/funcs/humanReviewSetsList.ts +4 -7
- package/packages/orq-rc/src/funcs/projectsCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/projectsDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/projectsList.ts +1 -1
- package/packages/orq-rc/src/funcs/projectsUpdate.ts +1 -1
- package/packages/orq-rc/src/funcs/routerClassifyCreate.ts +1 -1
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/apikeyrestresponse.ts +1 -1
- package/packages/orq-rc/src/models/components/bulkcreatedatapointsrequest.ts +38 -0
- package/packages/orq-rc/src/models/components/classifyanswer.ts +2 -2
- package/packages/orq-rc/src/models/components/constraints.ts +32 -0
- package/packages/orq-rc/src/models/components/createdatasetrequest.ts +39 -0
- package/packages/orq-rc/src/models/components/datapoint1.ts +122 -0
- package/packages/orq-rc/src/models/components/datapointinput.ts +73 -0
- package/packages/orq-rc/src/models/components/dataset.ts +88 -0
- package/packages/orq-rc/src/models/components/datasetmetadata.ts +48 -0
- package/packages/orq-rc/src/models/components/datasource.ts +2 -2
- package/packages/orq-rc/src/models/components/datasourcesservicecreaterequest.ts +2 -2
- package/packages/orq-rc/src/models/components/deletedatapointsrequest.ts +36 -0
- package/packages/orq-rc/src/models/components/domain.ts +42 -39
- package/packages/orq-rc/src/models/components/extendedmessage.ts +1 -1
- package/packages/orq-rc/src/models/components/filesystem.ts +6 -5
- package/packages/orq-rc/src/models/components/hubitem.ts +2 -2
- package/packages/orq-rc/src/models/components/hubitemsummary.ts +1 -1
- package/packages/orq-rc/src/models/components/index.ts +13 -14
- package/packages/orq-rc/src/models/components/knowledge.ts +2 -2
- package/packages/orq-rc/src/models/components/knowledgechunk.ts +1 -1
- package/packages/orq-rc/src/models/components/listdatapointsresponse.ts +41 -0
- package/packages/orq-rc/src/models/components/listdatasetsresponse.ts +41 -0
- package/packages/orq-rc/src/models/components/mcpauthconfig.ts +1 -1
- package/packages/orq-rc/src/models/components/mcpauthconfigoutput.ts +1 -1
- package/packages/orq-rc/src/models/components/memory.ts +2 -5
- package/packages/orq-rc/src/models/components/owner.ts +35 -0
- package/packages/orq-rc/src/models/components/projectscope.ts +11 -23
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +3 -3
- package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +3 -3
- package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +3 -3
- package/packages/orq-rc/src/models/components/updatedatapointrequest.ts +67 -0
- package/packages/orq-rc/src/models/components/updatedatasetrequest.ts +40 -0
- package/packages/orq-rc/src/models/components/wiki.ts +3 -3
- package/packages/orq-rc/src/models/operations/apikeycreate.ts +116 -0
- package/packages/orq-rc/src/models/operations/apikeydelete.ts +1 -1
- package/packages/orq-rc/src/models/operations/apikeyget.ts +1 -11
- package/packages/orq-rc/src/models/operations/apikeylist.ts +23 -78
- package/packages/orq-rc/src/models/operations/apikeylistcapabilities.ts +39 -0
- package/packages/orq-rc/src/models/operations/apikeyupdate.ts +107 -5
- package/packages/orq-rc/src/models/operations/bulkcreatedatapoints.ts +44 -0
- package/packages/orq-rc/src/models/operations/cleardataset.ts +0 -3
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +7 -7
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +9 -15
- package/packages/orq-rc/src/models/operations/createclassify.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcompletion.ts +3 -3
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +13 -3238
- package/packages/orq-rc/src/models/operations/createimage.ts +2 -2
- package/packages/orq-rc/src/models/operations/createimageedit.ts +2 -2
- package/packages/orq-rc/src/models/operations/createimagevariation.ts +2 -2
- package/packages/orq-rc/src/models/operations/creatererank.ts +2 -2
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +6 -6
- package/packages/orq-rc/src/models/operations/createspeech.ts +2 -2
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/createtranscription.ts +2 -2
- package/packages/orq-rc/src/models/operations/createtranslation.ts +2 -2
- package/packages/orq-rc/src/models/operations/deletedatapoint.ts +0 -6
- package/packages/orq-rc/src/models/operations/deletedataset.ts +0 -3
- package/packages/orq-rc/src/models/operations/deletedatasetdatapoints.ts +43 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +3 -3
- package/packages/orq-rc/src/models/operations/getallmemories.ts +3 -3
- package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +3 -3
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +3 -3
- package/packages/orq-rc/src/models/operations/getallprompts.ts +2 -2
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +9 -9
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +2 -2
- package/packages/orq-rc/src/models/operations/index.ts +4 -1
- package/packages/orq-rc/src/models/operations/listagents.ts +7 -7
- package/packages/orq-rc/src/models/operations/listchunks.ts +3 -3
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2117
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -173
- package/packages/orq-rc/src/models/operations/listdatasources.ts +3 -3
- package/packages/orq-rc/src/models/operations/listidentities.ts +1 -1
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +2 -2
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +2 -2
- package/packages/orq-rc/src/models/operations/modelcataloglist.ts +2 -2
- package/packages/orq-rc/src/models/operations/modelcataloglistofferings.ts +2 -2
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- 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/projectlist.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +5 -5
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +0 -2003
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +0 -114
- package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
- package/packages/orq-rc/src/models/operations/runagent.ts +3 -3
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +3 -3
- package/packages/orq-rc/src/models/operations/updateagent.ts +7 -7
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +17 -3275
- package/packages/orq-rc/src/models/operations/updatedataset.ts +5 -170
- package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/sdk/apikeys.ts +18 -18
- package/packages/orq-rc/src/sdk/classify.ts +1 -1
- package/packages/orq-rc/src/sdk/datasets.ts +73 -36
- package/packages/orq-rc/src/sdk/humanreviewsets.ts +1 -1
- package/packages/orq-rc/src/sdk/projects.ts +4 -4
- package/packages/orq-rc/src/sdk/sdk.ts +10 -10
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- 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/packages/orq-rc/src/models/components/allprojects.ts +0 -21
- package/packages/orq-rc/src/models/components/apikeyowner.ts +0 -55
- package/packages/orq-rc/src/models/components/apikeystatus.ts +0 -18
- package/packages/orq-rc/src/models/components/createapikeyrequest.ts +0 -116
- package/packages/orq-rc/src/models/components/domaingroup.ts +0 -17
- package/packages/orq-rc/src/models/components/listcapabilitiesresponse.ts +0 -38
- package/packages/orq-rc/src/models/components/mcpaccess.ts +0 -93
- package/packages/orq-rc/src/models/components/ownertype.ts +0 -17
- package/packages/orq-rc/src/models/components/permissionmode.ts +0 -19
- package/packages/orq-rc/src/models/components/scopemode.ts +0 -16
- package/packages/orq-rc/src/models/components/serviceaccountowner.ts +0 -25
- package/packages/orq-rc/src/models/components/singleproject.ts +0 -35
- package/packages/orq-rc/src/models/components/updateapikeyrequest.ts +0 -110
- package/packages/orq-rc/src/models/components/userowner.ts +0 -35
- package/packages/orq-rc/src/models/operations/createdataset.ts +0 -162
|
@@ -4,118 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import
|
|
8
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
|
|
11
|
-
export type UpdateDatasetRequestBody = {
|
|
12
|
-
/**
|
|
13
|
-
* The display name of the dataset
|
|
14
|
-
*/
|
|
15
|
-
displayName?: string | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* The unique identifier of the project it belongs to
|
|
18
|
-
*/
|
|
19
|
-
projectId?: string | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* Entity storage path.
|
|
22
|
-
*
|
|
23
|
-
* @remarks
|
|
24
|
-
*
|
|
25
|
-
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element must be the display name of an existing project, followed by nested folders (auto-created as needed). Example: `Default Project/agents`.
|
|
26
|
-
*
|
|
27
|
-
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
28
|
-
*/
|
|
29
|
-
path?: string | undefined;
|
|
30
|
-
};
|
|
7
|
+
import * as components from "../components/index.js";
|
|
31
8
|
|
|
32
9
|
export type UpdateDatasetRequest = {
|
|
33
|
-
/**
|
|
34
|
-
* The unique identifier of the dataset
|
|
35
|
-
*/
|
|
36
10
|
datasetId: string;
|
|
37
|
-
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
export type UpdateDatasetMetadata = {
|
|
41
|
-
totalVersions: number;
|
|
42
|
-
datapointsCount: number;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Dataset updated.
|
|
47
|
-
*/
|
|
48
|
-
export type UpdateDatasetResponseBody = {
|
|
49
|
-
/**
|
|
50
|
-
* The unique identifier of the dataset
|
|
51
|
-
*/
|
|
52
|
-
id: string;
|
|
53
|
-
/**
|
|
54
|
-
* The display name of the dataset
|
|
55
|
-
*/
|
|
56
|
-
displayName: string;
|
|
57
|
-
/**
|
|
58
|
-
* The unique identifier of the project it belongs to
|
|
59
|
-
*/
|
|
60
|
-
projectId: string;
|
|
61
|
-
/**
|
|
62
|
-
* The unique identifier of the workspace it belongs to
|
|
63
|
-
*/
|
|
64
|
-
workspaceId: string;
|
|
65
|
-
metadata: UpdateDatasetMetadata;
|
|
66
|
-
/**
|
|
67
|
-
* The unique identifier of the user who created the dataset
|
|
68
|
-
*/
|
|
69
|
-
createdById?: string | null | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* The unique identifier of the user who last updated the dataset
|
|
72
|
-
*/
|
|
73
|
-
updatedById?: string | null | undefined;
|
|
74
|
-
/**
|
|
75
|
-
* The date and time the resource was created
|
|
76
|
-
*/
|
|
77
|
-
created?: Date | undefined;
|
|
78
|
-
/**
|
|
79
|
-
* The date and time the resource was last updated
|
|
80
|
-
*/
|
|
81
|
-
updated: Date;
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
/** @internal */
|
|
85
|
-
export type UpdateDatasetRequestBody$Outbound = {
|
|
86
|
-
display_name?: string | undefined;
|
|
87
|
-
project_id?: string | undefined;
|
|
88
|
-
path?: string | undefined;
|
|
11
|
+
updateDatasetRequest: components.UpdateDatasetRequest;
|
|
89
12
|
};
|
|
90
13
|
|
|
91
|
-
/** @internal */
|
|
92
|
-
export const UpdateDatasetRequestBody$outboundSchema: z.ZodType<
|
|
93
|
-
UpdateDatasetRequestBody$Outbound,
|
|
94
|
-
z.ZodTypeDef,
|
|
95
|
-
UpdateDatasetRequestBody
|
|
96
|
-
> = z.object({
|
|
97
|
-
displayName: z.string().optional(),
|
|
98
|
-
projectId: z.string().optional(),
|
|
99
|
-
path: z.string().optional(),
|
|
100
|
-
}).transform((v) => {
|
|
101
|
-
return remap$(v, {
|
|
102
|
-
displayName: "display_name",
|
|
103
|
-
projectId: "project_id",
|
|
104
|
-
});
|
|
105
|
-
});
|
|
106
|
-
|
|
107
|
-
export function updateDatasetRequestBodyToJSON(
|
|
108
|
-
updateDatasetRequestBody: UpdateDatasetRequestBody,
|
|
109
|
-
): string {
|
|
110
|
-
return JSON.stringify(
|
|
111
|
-
UpdateDatasetRequestBody$outboundSchema.parse(updateDatasetRequestBody),
|
|
112
|
-
);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
14
|
/** @internal */
|
|
116
15
|
export type UpdateDatasetRequest$Outbound = {
|
|
117
16
|
dataset_id: string;
|
|
118
|
-
|
|
17
|
+
UpdateDatasetRequest: components.UpdateDatasetRequest$Outbound;
|
|
119
18
|
};
|
|
120
19
|
|
|
121
20
|
/** @internal */
|
|
@@ -125,11 +24,11 @@ export const UpdateDatasetRequest$outboundSchema: z.ZodType<
|
|
|
125
24
|
UpdateDatasetRequest
|
|
126
25
|
> = z.object({
|
|
127
26
|
datasetId: z.string(),
|
|
128
|
-
|
|
27
|
+
updateDatasetRequest: components.UpdateDatasetRequest$outboundSchema,
|
|
129
28
|
}).transform((v) => {
|
|
130
29
|
return remap$(v, {
|
|
131
30
|
datasetId: "dataset_id",
|
|
132
|
-
|
|
31
|
+
updateDatasetRequest: "UpdateDatasetRequest",
|
|
133
32
|
});
|
|
134
33
|
});
|
|
135
34
|
|
|
@@ -140,67 +39,3 @@ export function updateDatasetRequestToJSON(
|
|
|
140
39
|
UpdateDatasetRequest$outboundSchema.parse(updateDatasetRequest),
|
|
141
40
|
);
|
|
142
41
|
}
|
|
143
|
-
|
|
144
|
-
/** @internal */
|
|
145
|
-
export const UpdateDatasetMetadata$inboundSchema: z.ZodType<
|
|
146
|
-
UpdateDatasetMetadata,
|
|
147
|
-
z.ZodTypeDef,
|
|
148
|
-
unknown
|
|
149
|
-
> = z.object({
|
|
150
|
-
total_versions: z.number(),
|
|
151
|
-
datapoints_count: z.number(),
|
|
152
|
-
}).transform((v) => {
|
|
153
|
-
return remap$(v, {
|
|
154
|
-
"total_versions": "totalVersions",
|
|
155
|
-
"datapoints_count": "datapointsCount",
|
|
156
|
-
});
|
|
157
|
-
});
|
|
158
|
-
|
|
159
|
-
export function updateDatasetMetadataFromJSON(
|
|
160
|
-
jsonString: string,
|
|
161
|
-
): SafeParseResult<UpdateDatasetMetadata, SDKValidationError> {
|
|
162
|
-
return safeParse(
|
|
163
|
-
jsonString,
|
|
164
|
-
(x) => UpdateDatasetMetadata$inboundSchema.parse(JSON.parse(x)),
|
|
165
|
-
`Failed to parse 'UpdateDatasetMetadata' from JSON`,
|
|
166
|
-
);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
/** @internal */
|
|
170
|
-
export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
171
|
-
UpdateDatasetResponseBody,
|
|
172
|
-
z.ZodTypeDef,
|
|
173
|
-
unknown
|
|
174
|
-
> = z.object({
|
|
175
|
-
_id: z.string(),
|
|
176
|
-
display_name: z.string(),
|
|
177
|
-
project_id: z.string(),
|
|
178
|
-
workspace_id: z.string(),
|
|
179
|
-
metadata: z.lazy(() => UpdateDatasetMetadata$inboundSchema),
|
|
180
|
-
created_by_id: z.nullable(z.string()).optional(),
|
|
181
|
-
updated_by_id: z.nullable(z.string()).optional(),
|
|
182
|
-
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
|
-
.optional(),
|
|
184
|
-
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2026-09-21T07:21:34.711Z",
|
|
186
|
-
).transform(v => new Date(v)),
|
|
187
|
-
}).transform((v) => {
|
|
188
|
-
return remap$(v, {
|
|
189
|
-
"_id": "id",
|
|
190
|
-
"display_name": "displayName",
|
|
191
|
-
"project_id": "projectId",
|
|
192
|
-
"workspace_id": "workspaceId",
|
|
193
|
-
"created_by_id": "createdById",
|
|
194
|
-
"updated_by_id": "updatedById",
|
|
195
|
-
});
|
|
196
|
-
});
|
|
197
|
-
|
|
198
|
-
export function updateDatasetResponseBodyFromJSON(
|
|
199
|
-
jsonString: string,
|
|
200
|
-
): SafeParseResult<UpdateDatasetResponseBody, SDKValidationError> {
|
|
201
|
-
return safeParse(
|
|
202
|
-
jsonString,
|
|
203
|
-
(x) => UpdateDatasetResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
204
|
-
`Failed to parse 'UpdateDatasetResponseBody' from JSON`,
|
|
205
|
-
);
|
|
206
|
-
}
|
|
@@ -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_01M36HS4710W9633MZM3AP3336"),
|
|
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_01M36HS471PFFYKVQM46GMQ9CD"),
|
|
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_01M36HS470GY37YQNVXW9CH25V"),
|
|
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_01M36HS470PRK2CWB93XEXSNMA"),
|
|
2161
2161
|
path: z.string(),
|
|
2162
2162
|
key: z.string(),
|
|
2163
2163
|
display_name: z.string().optional(),
|
|
@@ -18,7 +18,7 @@ export class ApiKeys extends ClientSDK {
|
|
|
18
18
|
* List API keys
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Returns API keys visible to the current workspace as a JSON array. Raw tokens are never included; the `token` field contains a masked display value.
|
|
21
|
+
* Returns API keys visible to the current workspace as a JSON array sorted by name. Raw tokens are never included; the `token` field contains a masked display value.
|
|
22
22
|
*/
|
|
23
23
|
async list(
|
|
24
24
|
request?: operations.ApiKeyListRequest | undefined,
|
|
@@ -35,10 +35,10 @@ export class ApiKeys extends ClientSDK {
|
|
|
35
35
|
* Create a new API key
|
|
36
36
|
*
|
|
37
37
|
* @remarks
|
|
38
|
-
* Mints a new
|
|
38
|
+
* Mints a new API key in the workspace, bound to the single project in `projects` or to every project when omitted. The raw token is returned once in the `token` field and is never retrievable afterwards. Unknown body fields are rejected.
|
|
39
39
|
*/
|
|
40
40
|
async create(
|
|
41
|
-
request:
|
|
41
|
+
request: operations.ApiKeyCreateRequestBody,
|
|
42
42
|
options?: RequestOptions,
|
|
43
43
|
): Promise<components.ApiKeyRestResponse> {
|
|
44
44
|
return unwrapAsync(apiKeysCreate(
|
|
@@ -52,11 +52,11 @@ export class ApiKeys extends ClientSDK {
|
|
|
52
52
|
* List capability catalog
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* Returns the capability catalog: the set of permission domains that can be granted to an API key. Each entry includes the domain id, display name, group, allowed project scopes
|
|
55
|
+
* Returns the capability catalog: the set of permission domains that can be granted to an API key. Each entry includes the domain id, display name, group, allowed project scopes and whether it can be granted read or write access. No credentials are required.
|
|
56
56
|
*/
|
|
57
57
|
async listCapabilities(
|
|
58
58
|
options?: RequestOptions,
|
|
59
|
-
): Promise<
|
|
59
|
+
): Promise<operations.ApiKeyListCapabilitiesResponseBody> {
|
|
60
60
|
return unwrapAsync(apiKeysListCapabilities(
|
|
61
61
|
this,
|
|
62
62
|
options,
|
|
@@ -64,16 +64,16 @@ export class ApiKeys extends ClientSDK {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* Delete an API key
|
|
68
68
|
*
|
|
69
69
|
* @remarks
|
|
70
|
-
*
|
|
70
|
+
* Permanently deletes an API key. The key is revoked immediately; in-flight requests using it will fail. The response body is empty on success.
|
|
71
71
|
*/
|
|
72
|
-
async
|
|
73
|
-
request: operations.
|
|
72
|
+
async delete(
|
|
73
|
+
request: operations.ApiKeyDeleteRequest,
|
|
74
74
|
options?: RequestOptions,
|
|
75
|
-
): Promise<
|
|
76
|
-
return unwrapAsync(
|
|
75
|
+
): Promise<void> {
|
|
76
|
+
return unwrapAsync(apiKeysDelete(
|
|
77
77
|
this,
|
|
78
78
|
request,
|
|
79
79
|
options,
|
|
@@ -81,16 +81,16 @@ export class ApiKeys extends ClientSDK {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* Retrieve an API key
|
|
85
85
|
*
|
|
86
86
|
* @remarks
|
|
87
|
-
*
|
|
87
|
+
* Retrieves the metadata for an existing API key by its unique identifier. The raw secret is never returned; `token` carries a masked display value.
|
|
88
88
|
*/
|
|
89
|
-
async
|
|
90
|
-
request: operations.
|
|
89
|
+
async get(
|
|
90
|
+
request: operations.ApiKeyGetRequest,
|
|
91
91
|
options?: RequestOptions,
|
|
92
|
-
): Promise<
|
|
93
|
-
return unwrapAsync(
|
|
92
|
+
): Promise<components.ApiKeyRestResponse> {
|
|
93
|
+
return unwrapAsync(apiKeysGet(
|
|
94
94
|
this,
|
|
95
95
|
request,
|
|
96
96
|
options,
|
|
@@ -101,7 +101,7 @@ export class ApiKeys extends ClientSDK {
|
|
|
101
101
|
* Update an API key
|
|
102
102
|
*
|
|
103
103
|
* @remarks
|
|
104
|
-
* Updates mutable fields of an API key: display name, status (active / disabled / revoked), permission mode and access map, project scope
|
|
104
|
+
* Updates mutable fields of an API key: display name, status (active / disabled / revoked), permission mode and access map, project scope and constraints. Omitted fields keep their current values. Unknown body fields are rejected.
|
|
105
105
|
*/
|
|
106
106
|
async update(
|
|
107
107
|
request: operations.ApiKeyUpdateRequest,
|
|
@@ -12,7 +12,7 @@ export class Classify extends ClientSDK {
|
|
|
12
12
|
* Classify
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* **Beta.** Runs typed classification questions (`noul`, `choice`, `score`) against the native classify model `typesafe/jev-latest` or a chat model that supports classify
|
|
15
|
+
* **Beta.** Runs typed classification questions (`noul`, `choice`, `score`) against the native classify model `typesafe/jev-latest` or a chat model that supports classify. 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(
|
|
18
18
|
request: operations.CreateClassifyRequestBody,
|
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
import { datasetsClear } from "../funcs/datasetsClear.js";
|
|
6
6
|
import { datasetsCreate } from "../funcs/datasetsCreate.js";
|
|
7
7
|
import { datasetsCreateDatapoint } from "../funcs/datasetsCreateDatapoint.js";
|
|
8
|
+
import { datasetsCreateDatapoints } from "../funcs/datasetsCreateDatapoints.js";
|
|
8
9
|
import { datasetsDelete } from "../funcs/datasetsDelete.js";
|
|
9
10
|
import { datasetsDeleteDatapoint } from "../funcs/datasetsDeleteDatapoint.js";
|
|
11
|
+
import { datasetsDeleteDatapoints } from "../funcs/datasetsDeleteDatapoints.js";
|
|
10
12
|
import { datasetsList } from "../funcs/datasetsList.js";
|
|
11
13
|
import { datasetsListDatapoints } from "../funcs/datasetsListDatapoints.js";
|
|
12
14
|
import { datasetsRetrieve } from "../funcs/datasetsRetrieve.js";
|
|
@@ -14,6 +16,7 @@ import { datasetsRetrieveDatapoint } from "../funcs/datasetsRetrieveDatapoint.js
|
|
|
14
16
|
import { datasetsUpdate } from "../funcs/datasetsUpdate.js";
|
|
15
17
|
import { datasetsUpdateDatapoint } from "../funcs/datasetsUpdateDatapoint.js";
|
|
16
18
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
19
|
+
import * as components from "../models/components/index.js";
|
|
17
20
|
import * as operations from "../models/operations/index.js";
|
|
18
21
|
import { unwrapAsync } from "../types/fp.js";
|
|
19
22
|
|
|
@@ -22,12 +25,12 @@ export class Datasets extends ClientSDK {
|
|
|
22
25
|
* List datasets
|
|
23
26
|
*
|
|
24
27
|
* @remarks
|
|
25
|
-
* Retrieves a paginated list of datasets for the current workspace.
|
|
28
|
+
* Retrieves a paginated list of datasets for the current workspace.
|
|
26
29
|
*/
|
|
27
30
|
async list(
|
|
28
31
|
request?: operations.ListDatasetsRequest | undefined,
|
|
29
32
|
options?: RequestOptions,
|
|
30
|
-
): Promise<
|
|
33
|
+
): Promise<components.ListDatasetsResponse> {
|
|
31
34
|
return unwrapAsync(datasetsList(
|
|
32
35
|
this,
|
|
33
36
|
request,
|
|
@@ -39,12 +42,12 @@ export class Datasets extends ClientSDK {
|
|
|
39
42
|
* Create a dataset
|
|
40
43
|
*
|
|
41
44
|
* @remarks
|
|
42
|
-
* Creates a new dataset in the
|
|
45
|
+
* Creates a new dataset in the project bound to the API key, or in the workspace default project.
|
|
43
46
|
*/
|
|
44
47
|
async create(
|
|
45
|
-
request
|
|
48
|
+
request: components.CreateDatasetRequest,
|
|
46
49
|
options?: RequestOptions,
|
|
47
|
-
): Promise<
|
|
50
|
+
): Promise<components.Dataset> {
|
|
48
51
|
return unwrapAsync(datasetsCreate(
|
|
49
52
|
this,
|
|
50
53
|
request,
|
|
@@ -56,12 +59,12 @@ export class Datasets extends ClientSDK {
|
|
|
56
59
|
* Retrieve a dataset
|
|
57
60
|
*
|
|
58
61
|
* @remarks
|
|
59
|
-
* Retrieves a specific dataset by its unique identifier
|
|
62
|
+
* Retrieves a specific dataset by its unique identifier.
|
|
60
63
|
*/
|
|
61
64
|
async retrieve(
|
|
62
65
|
request: operations.RetrieveDatasetRequest,
|
|
63
66
|
options?: RequestOptions,
|
|
64
|
-
): Promise<
|
|
67
|
+
): Promise<components.Dataset> {
|
|
65
68
|
return unwrapAsync(datasetsRetrieve(
|
|
66
69
|
this,
|
|
67
70
|
request,
|
|
@@ -70,15 +73,32 @@ export class Datasets extends ClientSDK {
|
|
|
70
73
|
}
|
|
71
74
|
|
|
72
75
|
/**
|
|
73
|
-
*
|
|
76
|
+
* Delete a dataset
|
|
74
77
|
*
|
|
75
78
|
* @remarks
|
|
79
|
+
* Permanently deletes a dataset and all its datapoints.
|
|
80
|
+
*/
|
|
81
|
+
async delete(
|
|
82
|
+
request: operations.DeleteDatasetRequest,
|
|
83
|
+
options?: RequestOptions,
|
|
84
|
+
): Promise<void> {
|
|
85
|
+
return unwrapAsync(datasetsDelete(
|
|
86
|
+
this,
|
|
87
|
+
request,
|
|
88
|
+
options,
|
|
89
|
+
));
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
76
93
|
* Update a dataset
|
|
94
|
+
*
|
|
95
|
+
* @remarks
|
|
96
|
+
* Updates the specified dataset.
|
|
77
97
|
*/
|
|
78
98
|
async update(
|
|
79
99
|
request: operations.UpdateDatasetRequest,
|
|
80
100
|
options?: RequestOptions,
|
|
81
|
-
): Promise<
|
|
101
|
+
): Promise<components.Dataset> {
|
|
82
102
|
return unwrapAsync(datasetsUpdate(
|
|
83
103
|
this,
|
|
84
104
|
request,
|
|
@@ -87,16 +107,16 @@ export class Datasets extends ClientSDK {
|
|
|
87
107
|
}
|
|
88
108
|
|
|
89
109
|
/**
|
|
90
|
-
* Delete
|
|
110
|
+
* Delete all datapoints
|
|
91
111
|
*
|
|
92
112
|
* @remarks
|
|
93
|
-
*
|
|
113
|
+
* Deletes all datapoints from a dataset.
|
|
94
114
|
*/
|
|
95
|
-
async
|
|
96
|
-
request: operations.
|
|
115
|
+
async clear(
|
|
116
|
+
request: operations.ClearDatasetRequest,
|
|
97
117
|
options?: RequestOptions,
|
|
98
118
|
): Promise<void> {
|
|
99
|
-
return unwrapAsync(
|
|
119
|
+
return unwrapAsync(datasetsClear(
|
|
100
120
|
this,
|
|
101
121
|
request,
|
|
102
122
|
options,
|
|
@@ -112,7 +132,7 @@ export class Datasets extends ClientSDK {
|
|
|
112
132
|
async listDatapoints(
|
|
113
133
|
request: operations.ListDatasetDatapointsRequest,
|
|
114
134
|
options?: RequestOptions,
|
|
115
|
-
): Promise<
|
|
135
|
+
): Promise<components.ListDatapointsResponse> {
|
|
116
136
|
return unwrapAsync(datasetsListDatapoints(
|
|
117
137
|
this,
|
|
118
138
|
request,
|
|
@@ -121,15 +141,15 @@ export class Datasets extends ClientSDK {
|
|
|
121
141
|
}
|
|
122
142
|
|
|
123
143
|
/**
|
|
124
|
-
* Create
|
|
144
|
+
* Create datapoints
|
|
125
145
|
*
|
|
126
146
|
* @remarks
|
|
127
|
-
* Creates
|
|
147
|
+
* Creates one or more datapoints in the specified dataset.
|
|
128
148
|
*/
|
|
129
149
|
async createDatapoint(
|
|
130
150
|
request: operations.CreateDatasetItemRequest,
|
|
131
151
|
options?: RequestOptions,
|
|
132
|
-
): Promise<Array<
|
|
152
|
+
): Promise<Array<components.Datapoint1>> {
|
|
133
153
|
return unwrapAsync(datasetsCreateDatapoint(
|
|
134
154
|
this,
|
|
135
155
|
request,
|
|
@@ -138,16 +158,16 @@ export class Datasets extends ClientSDK {
|
|
|
138
158
|
}
|
|
139
159
|
|
|
140
160
|
/**
|
|
141
|
-
*
|
|
161
|
+
* Delete specific datapoints
|
|
142
162
|
*
|
|
143
163
|
* @remarks
|
|
144
|
-
*
|
|
164
|
+
* Deletes multiple datapoints from a dataset by ID.
|
|
145
165
|
*/
|
|
146
|
-
async
|
|
147
|
-
request: operations.
|
|
166
|
+
async deleteDatapoints(
|
|
167
|
+
request: operations.DeleteDatasetDatapointsRequest,
|
|
148
168
|
options?: RequestOptions,
|
|
149
|
-
): Promise<
|
|
150
|
-
return unwrapAsync(
|
|
169
|
+
): Promise<void> {
|
|
170
|
+
return unwrapAsync(datasetsDeleteDatapoints(
|
|
151
171
|
this,
|
|
152
172
|
request,
|
|
153
173
|
options,
|
|
@@ -155,16 +175,33 @@ export class Datasets extends ClientSDK {
|
|
|
155
175
|
}
|
|
156
176
|
|
|
157
177
|
/**
|
|
158
|
-
*
|
|
178
|
+
* Create multiple datapoints
|
|
159
179
|
*
|
|
160
180
|
* @remarks
|
|
161
|
-
*
|
|
181
|
+
* Creates multiple datapoints at once.
|
|
162
182
|
*/
|
|
163
|
-
async
|
|
164
|
-
request: operations.
|
|
183
|
+
async createDatapoints(
|
|
184
|
+
request: operations.BulkCreateDatapointsRequest,
|
|
165
185
|
options?: RequestOptions,
|
|
166
|
-
): Promise<
|
|
167
|
-
return unwrapAsync(
|
|
186
|
+
): Promise<Array<components.Datapoint1>> {
|
|
187
|
+
return unwrapAsync(datasetsCreateDatapoints(
|
|
188
|
+
this,
|
|
189
|
+
request,
|
|
190
|
+
options,
|
|
191
|
+
));
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Retrieve a datapoint
|
|
196
|
+
*
|
|
197
|
+
* @remarks
|
|
198
|
+
* Retrieves a datapoint object.
|
|
199
|
+
*/
|
|
200
|
+
async retrieveDatapoint(
|
|
201
|
+
request: operations.RetrieveDatapointRequest,
|
|
202
|
+
options?: RequestOptions,
|
|
203
|
+
): Promise<components.Datapoint1> {
|
|
204
|
+
return unwrapAsync(datasetsRetrieveDatapoint(
|
|
168
205
|
this,
|
|
169
206
|
request,
|
|
170
207
|
options,
|
|
@@ -189,16 +226,16 @@ export class Datasets extends ClientSDK {
|
|
|
189
226
|
}
|
|
190
227
|
|
|
191
228
|
/**
|
|
192
|
-
*
|
|
229
|
+
* Update a datapoint
|
|
193
230
|
*
|
|
194
231
|
* @remarks
|
|
195
|
-
*
|
|
232
|
+
* Updates the inputs, messages, or expected output for a datapoint.
|
|
196
233
|
*/
|
|
197
|
-
async
|
|
198
|
-
request: operations.
|
|
234
|
+
async updateDatapoint(
|
|
235
|
+
request: operations.UpdateDatapointRequest,
|
|
199
236
|
options?: RequestOptions,
|
|
200
|
-
): Promise<
|
|
201
|
-
return unwrapAsync(
|
|
237
|
+
): Promise<components.Datapoint1> {
|
|
238
|
+
return unwrapAsync(datasetsUpdateDatapoint(
|
|
202
239
|
this,
|
|
203
240
|
request,
|
|
204
241
|
options,
|
|
@@ -18,7 +18,7 @@ export class HumanReviewSets extends ClientSDK {
|
|
|
18
18
|
async list(
|
|
19
19
|
request?: operations.GetV2HumanEvalSetsRequest | undefined,
|
|
20
20
|
options?: RequestOptions,
|
|
21
|
-
): Promise<Array<operations.
|
|
21
|
+
): Promise<Array<operations.ResponseBody>> {
|
|
22
22
|
return unwrapAsync(humanReviewSetsList(
|
|
23
23
|
this,
|
|
24
24
|
request,
|
|
@@ -17,7 +17,7 @@ export class Projects extends ClientSDK {
|
|
|
17
17
|
* List all projects
|
|
18
18
|
*
|
|
19
19
|
* @remarks
|
|
20
|
-
* Returns projects visible to the current workspace, ordered by creation time with the newest project first. Use `starting_after` or `ending_before` to page through large collections.
|
|
20
|
+
* Returns projects visible to the current workspace, ordered by creation time with the newest project first. Use `starting_after` or `ending_before` to page through large collections; the two cursors are mutually exclusive.
|
|
21
21
|
*/
|
|
22
22
|
async list(
|
|
23
23
|
request?: operations.ProjectListRequest | undefined,
|
|
@@ -34,7 +34,7 @@ export class Projects extends ClientSDK {
|
|
|
34
34
|
* Create a new project
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
|
-
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a
|
|
37
|
+
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
38
38
|
*/
|
|
39
39
|
async create(
|
|
40
40
|
request: components.CreateProjectRequest,
|
|
@@ -68,7 +68,7 @@ export class Projects extends ClientSDK {
|
|
|
68
68
|
* Delete a project
|
|
69
69
|
*
|
|
70
70
|
* @remarks
|
|
71
|
-
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a
|
|
71
|
+
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
72
72
|
*/
|
|
73
73
|
async delete(
|
|
74
74
|
request: operations.ProjectDeleteRequest,
|
|
@@ -85,7 +85,7 @@ export class Projects extends ClientSDK {
|
|
|
85
85
|
* Update a project
|
|
86
86
|
*
|
|
87
87
|
* @remarks
|
|
88
|
-
* Updates the specified project by setting the values of the parameters passed. Requires a
|
|
88
|
+
* Updates the specified project by setting the values of the parameters passed. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
89
89
|
*/
|
|
90
90
|
async update(
|
|
91
91
|
request: operations.ProjectUpdateRequest,
|
|
@@ -71,11 +71,6 @@ export class Orq extends ClientSDK {
|
|
|
71
71
|
return (this._tools ??= new Tools(this._options));
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
private _datasets?: Datasets;
|
|
75
|
-
get datasets(): Datasets {
|
|
76
|
-
return (this._datasets ??= new Datasets(this._options));
|
|
77
|
-
}
|
|
78
|
-
|
|
79
74
|
private _router?: Router;
|
|
80
75
|
get router(): Router {
|
|
81
76
|
return (this._router ??= new Router(this._options));
|
|
@@ -126,6 +121,11 @@ export class Orq extends ClientSDK {
|
|
|
126
121
|
return (this._pii ??= new Pii(this._options));
|
|
127
122
|
}
|
|
128
123
|
|
|
124
|
+
private _apiKeys?: ApiKeys;
|
|
125
|
+
get apiKeys(): ApiKeys {
|
|
126
|
+
return (this._apiKeys ??= new ApiKeys(this._options));
|
|
127
|
+
}
|
|
128
|
+
|
|
129
129
|
private _logs?: Logs;
|
|
130
130
|
get logs(): Logs {
|
|
131
131
|
return (this._logs ??= new Logs(this._options));
|
|
@@ -146,6 +146,11 @@ export class Orq extends ClientSDK {
|
|
|
146
146
|
return (this._traces ??= new Traces(this._options));
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
+
private _datasets?: Datasets;
|
|
150
|
+
get datasets(): Datasets {
|
|
151
|
+
return (this._datasets ??= new Datasets(this._options));
|
|
152
|
+
}
|
|
153
|
+
|
|
149
154
|
private _models?: Models;
|
|
150
155
|
get models(): Models {
|
|
151
156
|
return (this._models ??= new Models(this._options));
|
|
@@ -166,11 +171,6 @@ export class Orq extends ClientSDK {
|
|
|
166
171
|
return (this._annotationQueues ??= new AnnotationQueues(this._options));
|
|
167
172
|
}
|
|
168
173
|
|
|
169
|
-
private _apiKeys?: ApiKeys;
|
|
170
|
-
get apiKeys(): ApiKeys {
|
|
171
|
-
return (this._apiKeys ??= new ApiKeys(this._options));
|
|
172
|
-
}
|
|
173
|
-
|
|
174
174
|
private _budgets?: Budgets;
|
|
175
175
|
get budgets(): Budgets {
|
|
176
176
|
return (this._budgets ??= new Budgets(this._options));
|
package/src/lib/config.ts
CHANGED
|
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
58
58
|
export const SDK_METADATA = {
|
|
59
59
|
language: "typescript",
|
|
60
60
|
openapiDocVersion: "2.0",
|
|
61
|
-
sdkVersion: "4.15.
|
|
61
|
+
sdkVersion: "4.15.11",
|
|
62
62
|
genVersion: "2.938.0",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.15.
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.15.11 2.938.0 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|