@orq-ai/node 4.15.9 → 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,96 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
7
|
|
|
12
8
|
export type ListDatasetsRequest = {
|
|
13
|
-
/**
|
|
14
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
|
|
15
|
-
*/
|
|
16
9
|
limit?: number | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
|
|
19
|
-
*/
|
|
20
10
|
startingAfter?: string | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
|
|
23
|
-
*/
|
|
24
11
|
endingBefore?: string | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* Filter datasets by display name (case-insensitive match).
|
|
27
|
-
*/
|
|
28
12
|
search?: string | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* Comma-separated list of user IDs; returns datasets last updated by any of them.
|
|
31
|
-
*/
|
|
32
13
|
updatedBy?: string | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* Restricts results to a single project. Defaults to every project the caller can access.
|
|
35
|
-
*/
|
|
36
14
|
projectId?: string | undefined;
|
|
37
15
|
};
|
|
38
16
|
|
|
39
|
-
export const ListDatasetsObject = {
|
|
40
|
-
List: "list",
|
|
41
|
-
} as const;
|
|
42
|
-
export type ListDatasetsObject = ClosedEnum<typeof ListDatasetsObject>;
|
|
43
|
-
|
|
44
|
-
export type ListDatasetsMetadata = {
|
|
45
|
-
totalVersions: number;
|
|
46
|
-
datapointsCount: number;
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
export type ListDatasetsData = {
|
|
50
|
-
/**
|
|
51
|
-
* The unique identifier of the dataset
|
|
52
|
-
*/
|
|
53
|
-
id: string;
|
|
54
|
-
/**
|
|
55
|
-
* The display name of the dataset
|
|
56
|
-
*/
|
|
57
|
-
displayName: string;
|
|
58
|
-
/**
|
|
59
|
-
* The unique identifier of the project it belongs to
|
|
60
|
-
*/
|
|
61
|
-
projectId: string;
|
|
62
|
-
/**
|
|
63
|
-
* The unique identifier of the workspace it belongs to
|
|
64
|
-
*/
|
|
65
|
-
workspaceId: string;
|
|
66
|
-
metadata: ListDatasetsMetadata;
|
|
67
|
-
/**
|
|
68
|
-
* The unique identifier of the user who created the dataset
|
|
69
|
-
*/
|
|
70
|
-
createdById?: string | null | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* The unique identifier of the user who last updated the dataset
|
|
73
|
-
*/
|
|
74
|
-
updatedById?: string | null | undefined;
|
|
75
|
-
/**
|
|
76
|
-
* The date and time the resource was created
|
|
77
|
-
*/
|
|
78
|
-
created?: Date | undefined;
|
|
79
|
-
/**
|
|
80
|
-
* The date and time the resource was last updated
|
|
81
|
-
*/
|
|
82
|
-
updated: Date;
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Datasets Retrieved Successfully
|
|
87
|
-
*/
|
|
88
|
-
export type ListDatasetsResponseBody = {
|
|
89
|
-
object: ListDatasetsObject;
|
|
90
|
-
data: Array<ListDatasetsData>;
|
|
91
|
-
hasMore: boolean;
|
|
92
|
-
};
|
|
93
|
-
|
|
94
17
|
/** @internal */
|
|
95
18
|
export type ListDatasetsRequest$Outbound = {
|
|
96
|
-
limit
|
|
19
|
+
limit?: number | undefined;
|
|
97
20
|
starting_after?: string | undefined;
|
|
98
21
|
ending_before?: string | undefined;
|
|
99
22
|
search?: string | undefined;
|
|
@@ -107,7 +30,7 @@ export const ListDatasetsRequest$outboundSchema: z.ZodType<
|
|
|
107
30
|
z.ZodTypeDef,
|
|
108
31
|
ListDatasetsRequest
|
|
109
32
|
> = z.object({
|
|
110
|
-
limit: z.number().int().
|
|
33
|
+
limit: z.number().int().optional(),
|
|
111
34
|
startingAfter: z.string().optional(),
|
|
112
35
|
endingBefore: z.string().optional(),
|
|
113
36
|
search: z.string().optional(),
|
|
@@ -129,97 +52,3 @@ export function listDatasetsRequestToJSON(
|
|
|
129
52
|
ListDatasetsRequest$outboundSchema.parse(listDatasetsRequest),
|
|
130
53
|
);
|
|
131
54
|
}
|
|
132
|
-
|
|
133
|
-
/** @internal */
|
|
134
|
-
export const ListDatasetsObject$inboundSchema: z.ZodNativeEnum<
|
|
135
|
-
typeof ListDatasetsObject
|
|
136
|
-
> = z.nativeEnum(ListDatasetsObject);
|
|
137
|
-
|
|
138
|
-
/** @internal */
|
|
139
|
-
export const ListDatasetsMetadata$inboundSchema: z.ZodType<
|
|
140
|
-
ListDatasetsMetadata,
|
|
141
|
-
z.ZodTypeDef,
|
|
142
|
-
unknown
|
|
143
|
-
> = z.object({
|
|
144
|
-
total_versions: z.number(),
|
|
145
|
-
datapoints_count: z.number(),
|
|
146
|
-
}).transform((v) => {
|
|
147
|
-
return remap$(v, {
|
|
148
|
-
"total_versions": "totalVersions",
|
|
149
|
-
"datapoints_count": "datapointsCount",
|
|
150
|
-
});
|
|
151
|
-
});
|
|
152
|
-
|
|
153
|
-
export function listDatasetsMetadataFromJSON(
|
|
154
|
-
jsonString: string,
|
|
155
|
-
): SafeParseResult<ListDatasetsMetadata, SDKValidationError> {
|
|
156
|
-
return safeParse(
|
|
157
|
-
jsonString,
|
|
158
|
-
(x) => ListDatasetsMetadata$inboundSchema.parse(JSON.parse(x)),
|
|
159
|
-
`Failed to parse 'ListDatasetsMetadata' from JSON`,
|
|
160
|
-
);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/** @internal */
|
|
164
|
-
export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
165
|
-
ListDatasetsData,
|
|
166
|
-
z.ZodTypeDef,
|
|
167
|
-
unknown
|
|
168
|
-
> = z.object({
|
|
169
|
-
_id: z.string(),
|
|
170
|
-
display_name: z.string(),
|
|
171
|
-
project_id: z.string(),
|
|
172
|
-
workspace_id: z.string(),
|
|
173
|
-
metadata: z.lazy(() => ListDatasetsMetadata$inboundSchema),
|
|
174
|
-
created_by_id: z.nullable(z.string()).optional(),
|
|
175
|
-
updated_by_id: z.nullable(z.string()).optional(),
|
|
176
|
-
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
177
|
-
.optional(),
|
|
178
|
-
updated: z.string().datetime({ offset: true }).default(
|
|
179
|
-
"2026-09-21T07:21:34.711Z",
|
|
180
|
-
).transform(v => new Date(v)),
|
|
181
|
-
}).transform((v) => {
|
|
182
|
-
return remap$(v, {
|
|
183
|
-
"_id": "id",
|
|
184
|
-
"display_name": "displayName",
|
|
185
|
-
"project_id": "projectId",
|
|
186
|
-
"workspace_id": "workspaceId",
|
|
187
|
-
"created_by_id": "createdById",
|
|
188
|
-
"updated_by_id": "updatedById",
|
|
189
|
-
});
|
|
190
|
-
});
|
|
191
|
-
|
|
192
|
-
export function listDatasetsDataFromJSON(
|
|
193
|
-
jsonString: string,
|
|
194
|
-
): SafeParseResult<ListDatasetsData, SDKValidationError> {
|
|
195
|
-
return safeParse(
|
|
196
|
-
jsonString,
|
|
197
|
-
(x) => ListDatasetsData$inboundSchema.parse(JSON.parse(x)),
|
|
198
|
-
`Failed to parse 'ListDatasetsData' from JSON`,
|
|
199
|
-
);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
/** @internal */
|
|
203
|
-
export const ListDatasetsResponseBody$inboundSchema: z.ZodType<
|
|
204
|
-
ListDatasetsResponseBody,
|
|
205
|
-
z.ZodTypeDef,
|
|
206
|
-
unknown
|
|
207
|
-
> = z.object({
|
|
208
|
-
object: ListDatasetsObject$inboundSchema,
|
|
209
|
-
data: z.array(z.lazy(() => ListDatasetsData$inboundSchema)),
|
|
210
|
-
has_more: z.boolean(),
|
|
211
|
-
}).transform((v) => {
|
|
212
|
-
return remap$(v, {
|
|
213
|
-
"has_more": "hasMore",
|
|
214
|
-
});
|
|
215
|
-
});
|
|
216
|
-
|
|
217
|
-
export function listDatasetsResponseBodyFromJSON(
|
|
218
|
-
jsonString: string,
|
|
219
|
-
): SafeParseResult<ListDatasetsResponseBody, SDKValidationError> {
|
|
220
|
-
return safeParse(
|
|
221
|
-
jsonString,
|
|
222
|
-
(x) => ListDatasetsResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
223
|
-
`Failed to parse 'ListDatasetsResponseBody' from JSON`,
|
|
224
|
-
);
|
|
225
|
-
}
|
|
@@ -16,11 +16,11 @@ export type ListDatasourcesRequest = {
|
|
|
16
16
|
*/
|
|
17
17
|
knowledgeId: string;
|
|
18
18
|
/**
|
|
19
|
-
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `
|
|
19
|
+
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `starting_after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
|
|
20
20
|
*/
|
|
21
21
|
startingAfter?: string | undefined;
|
|
22
22
|
/**
|
|
23
|
-
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `
|
|
23
|
+
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `ending_before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
|
|
24
24
|
*/
|
|
25
25
|
endingBefore?: string | undefined;
|
|
26
26
|
/**
|
|
@@ -28,7 +28,7 @@ export type ListDatasourcesRequest = {
|
|
|
28
28
|
*/
|
|
29
29
|
q?: string | undefined;
|
|
30
30
|
/**
|
|
31
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is
|
|
31
|
+
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 50
|
|
32
32
|
*/
|
|
33
33
|
limit?: number | undefined;
|
|
34
34
|
/**
|
|
@@ -27,7 +27,7 @@ export type ListIdentitiesRequest = {
|
|
|
27
27
|
*/
|
|
28
28
|
search?: string | undefined;
|
|
29
29
|
/**
|
|
30
|
-
* Return only identities that have
|
|
30
|
+
* Return only identities that have all of these tags.
|
|
31
31
|
*/
|
|
32
32
|
filterByTags?: Array<string> | undefined;
|
|
33
33
|
/**
|
|
@@ -22,11 +22,11 @@ export type ListKnowledgeBasesQueryParamType = ClosedEnum<
|
|
|
22
22
|
|
|
23
23
|
export type ListKnowledgeBasesRequest = {
|
|
24
24
|
/**
|
|
25
|
-
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `
|
|
25
|
+
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `starting_after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
|
|
26
26
|
*/
|
|
27
27
|
startingAfter?: string | undefined;
|
|
28
28
|
/**
|
|
29
|
-
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `
|
|
29
|
+
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `ending_before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
|
|
30
30
|
*/
|
|
31
31
|
endingBefore?: string | undefined;
|
|
32
32
|
/**
|
|
@@ -17,11 +17,11 @@ export type ListPromptVersionsRequest = {
|
|
|
17
17
|
*/
|
|
18
18
|
limit?: number | undefined;
|
|
19
19
|
/**
|
|
20
|
-
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `
|
|
20
|
+
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `starting_after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
|
|
21
21
|
*/
|
|
22
22
|
startingAfter?: string | undefined;
|
|
23
23
|
/**
|
|
24
|
-
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `
|
|
24
|
+
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `ending_before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
|
|
25
25
|
*/
|
|
26
26
|
endingBefore?: string | undefined;
|
|
27
27
|
};
|
|
@@ -14,14 +14,14 @@ export type ModelCatalogListRequest = {
|
|
|
14
14
|
* Cursor for forward pagination. Set to the `id` of the last item from
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
|
-
* the previous page.
|
|
17
|
+
* the previous page. Mutually exclusive with `ending_before`.
|
|
18
18
|
*/
|
|
19
19
|
startingAfter?: string | undefined;
|
|
20
20
|
/**
|
|
21
21
|
* Cursor for backward pagination. Set to the `id` of the first item
|
|
22
22
|
*
|
|
23
23
|
* @remarks
|
|
24
|
-
* from the previous page.
|
|
24
|
+
* from the previous page. Mutually exclusive with `starting_after`.
|
|
25
25
|
*/
|
|
26
26
|
endingBefore?: string | undefined;
|
|
27
27
|
/**
|
|
@@ -21,14 +21,14 @@ export type ModelCatalogListOfferingsRequest = {
|
|
|
21
21
|
* Cursor for forward pagination. Set to the `id` of the last item from
|
|
22
22
|
*
|
|
23
23
|
* @remarks
|
|
24
|
-
* the previous page.
|
|
24
|
+
* the previous page. Mutually exclusive with `ending_before`.
|
|
25
25
|
*/
|
|
26
26
|
startingAfter?: string | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* Cursor for backward pagination. Set to the `id` of the first item
|
|
29
29
|
*
|
|
30
30
|
* @remarks
|
|
31
|
-
* from the previous page.
|
|
31
|
+
* from the previous page. Mutually exclusive with `starting_after`.
|
|
32
32
|
*/
|
|
33
33
|
endingBefore?: string | undefined;
|
|
34
34
|
/**
|
|
@@ -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-23T07:13:09.371Z",
|
|
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-23T07:13:09.371Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -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-23T07:13:16.556Z"))
|
|
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-23T07:13:16.556Z"))
|
|
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-23T07:13:16.556Z"))
|
|
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-23T07:13:16.556Z"))
|
|
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-23T07:13:09.371Z",
|
|
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-23T07:13:09.371Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -14,14 +14,14 @@ export type ProjectListRequest = {
|
|
|
14
14
|
* Cursor for forward pagination. Set to the `project_id` of the last
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
|
-
* item from the previous page.
|
|
17
|
+
* item from the previous page. Mutually exclusive with `ending_before`.
|
|
18
18
|
*/
|
|
19
19
|
startingAfter?: string | undefined;
|
|
20
20
|
/**
|
|
21
21
|
* Cursor for backward pagination. Set to the `project_id` of the first
|
|
22
22
|
*
|
|
23
23
|
* @remarks
|
|
24
|
-
* item from the previous page.
|
|
24
|
+
* item from the previous page. Mutually exclusive with `starting_after`.
|
|
25
25
|
*/
|
|
26
26
|
endingBefore?: string | undefined;
|
|
27
27
|
};
|
|
@@ -74,14 +74,14 @@ export type RetrieveAgentRequestEngine = ClosedEnum<
|
|
|
74
74
|
>;
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
* Agent type: internal (
|
|
77
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
78
78
|
*/
|
|
79
79
|
export const RetrieveAgentRequestType = {
|
|
80
80
|
Internal: "internal",
|
|
81
81
|
A2a: "a2a",
|
|
82
82
|
} as const;
|
|
83
83
|
/**
|
|
84
|
-
* Agent type: internal (
|
|
84
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
85
85
|
*/
|
|
86
86
|
export type RetrieveAgentRequestType = ClosedEnum<
|
|
87
87
|
typeof RetrieveAgentRequestType
|
|
@@ -572,7 +572,7 @@ export type RetrieveAgentRequestCacheControl = {
|
|
|
572
572
|
};
|
|
573
573
|
|
|
574
574
|
/**
|
|
575
|
-
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-
|
|
575
|
+
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
576
576
|
*/
|
|
577
577
|
export type RetrieveAgentRequestParameters = {
|
|
578
578
|
/**
|
|
@@ -1240,7 +1240,7 @@ export type RetrieveAgentRequestModel = {
|
|
|
1240
1240
|
*/
|
|
1241
1241
|
integrationId?: string | null | undefined;
|
|
1242
1242
|
/**
|
|
1243
|
-
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-
|
|
1243
|
+
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
1244
1244
|
*/
|
|
1245
1245
|
parameters?: RetrieveAgentRequestParameters | null | undefined;
|
|
1246
1246
|
/**
|
|
@@ -1313,7 +1313,7 @@ export type RetrieveAgentRequestResponseBody = {
|
|
|
1313
1313
|
source?: RetrieveAgentRequestSource | undefined;
|
|
1314
1314
|
engine: RetrieveAgentRequestEngine;
|
|
1315
1315
|
/**
|
|
1316
|
-
* Agent type: internal (
|
|
1316
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
1317
1317
|
*/
|
|
1318
1318
|
type: RetrieveAgentRequestType;
|
|
1319
1319
|
role: string;
|