@orq-ai/node 4.9.18 → 4.9.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +8 -8
- package/packages/orq-rc/src/funcs/apiKeysCreate.ts +162 -0
- package/packages/orq-rc/src/funcs/apiKeysDelete.ts +168 -0
- package/packages/orq-rc/src/funcs/apiKeysGet.ts +168 -0
- package/packages/orq-rc/src/funcs/apiKeysList.ts +175 -0
- package/packages/orq-rc/src/funcs/apiKeysListCapabilities.ts +144 -0
- package/packages/orq-rc/src/funcs/apiKeysUpdate.ts +171 -0
- package/packages/orq-rc/src/funcs/filesList.ts +1 -0
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/allprojects.ts +39 -0
- package/packages/orq-rc/src/models/components/apikey.ts +178 -0
- package/packages/orq-rc/src/models/components/apikeyowner.ts +82 -0
- package/packages/orq-rc/src/models/components/apikeystatus.ts +21 -0
- package/packages/orq-rc/src/models/components/createapikeyrequest.ts +91 -0
- package/packages/orq-rc/src/models/components/createapikeyresponse.ts +49 -0
- package/packages/orq-rc/src/models/components/createfilerequest.ts +11 -3
- package/packages/orq-rc/src/models/components/deleteapikeyresponse.ts +27 -0
- package/packages/orq-rc/src/models/components/domain.ts +82 -0
- package/packages/orq-rc/src/models/components/domaingroup.ts +18 -0
- package/packages/orq-rc/src/models/components/file.ts +9 -2
- package/packages/orq-rc/src/models/components/filepurpose.ts +21 -0
- package/packages/orq-rc/src/models/components/getapikeyresponse.ts +40 -0
- package/packages/orq-rc/src/models/components/index.ts +23 -0
- package/packages/orq-rc/src/models/components/inputtokensdetails.ts +6 -0
- package/packages/orq-rc/src/models/components/legacytokenfamily.ts +19 -0
- package/packages/orq-rc/src/models/components/listapikeysresponse.ts +56 -0
- package/packages/orq-rc/src/models/components/listcapabilitiesresponse.ts +39 -0
- package/packages/orq-rc/src/models/components/ownertype.ts +17 -0
- package/packages/orq-rc/src/models/components/permissionmode.ts +23 -0
- package/packages/orq-rc/src/models/components/projectscope.ts +70 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/scopemode.ts +17 -0
- package/packages/orq-rc/src/models/components/serviceaccountowner.ts +43 -0
- package/packages/orq-rc/src/models/components/singleproject.ts +56 -0
- package/packages/orq-rc/src/models/components/updateapikeyrequest.ts +99 -0
- package/packages/orq-rc/src/models/components/updateapikeyresponse.ts +40 -0
- package/packages/orq-rc/src/models/components/userowner.ts +56 -0
- package/packages/orq-rc/src/models/operations/apikeydelete.ts +39 -0
- package/packages/orq-rc/src/models/operations/apikeyget.ts +39 -0
- package/packages/orq-rc/src/models/operations/apikeylist.ts +107 -0
- package/packages/orq-rc/src/models/operations/apikeyupdate.ts +44 -0
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +70 -70
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/filelist.ts +4 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +40 -40
- 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 +4 -0
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- 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/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateeval.ts +46 -46
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/apikeys.ts +116 -0
- package/packages/orq-rc/src/sdk/sdk.ts +6 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -0,0 +1,56 @@
|
|
|
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 { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type UserOwner = {
|
|
12
|
+
userId?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const UserOwner$inboundSchema: z.ZodType<
|
|
17
|
+
UserOwner,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
user_id: z.string().optional(),
|
|
22
|
+
}).transform((v) => {
|
|
23
|
+
return remap$(v, {
|
|
24
|
+
"user_id": "userId",
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
/** @internal */
|
|
28
|
+
export type UserOwner$Outbound = {
|
|
29
|
+
user_id?: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const UserOwner$outboundSchema: z.ZodType<
|
|
34
|
+
UserOwner$Outbound,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
UserOwner
|
|
37
|
+
> = z.object({
|
|
38
|
+
userId: z.string().optional(),
|
|
39
|
+
}).transform((v) => {
|
|
40
|
+
return remap$(v, {
|
|
41
|
+
userId: "user_id",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
export function userOwnerToJSON(userOwner: UserOwner): string {
|
|
46
|
+
return JSON.stringify(UserOwner$outboundSchema.parse(userOwner));
|
|
47
|
+
}
|
|
48
|
+
export function userOwnerFromJSON(
|
|
49
|
+
jsonString: string,
|
|
50
|
+
): SafeParseResult<UserOwner, SDKValidationError> {
|
|
51
|
+
return safeParse(
|
|
52
|
+
jsonString,
|
|
53
|
+
(x) => UserOwner$inboundSchema.parse(JSON.parse(x)),
|
|
54
|
+
`Failed to parse 'UserOwner' from JSON`,
|
|
55
|
+
);
|
|
56
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
|
|
8
|
+
export type ApiKeyDeleteRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* API key id to delete.
|
|
11
|
+
*/
|
|
12
|
+
apiKeyId: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type ApiKeyDeleteRequest$Outbound = {
|
|
17
|
+
api_key_id: string;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const ApiKeyDeleteRequest$outboundSchema: z.ZodType<
|
|
22
|
+
ApiKeyDeleteRequest$Outbound,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
ApiKeyDeleteRequest
|
|
25
|
+
> = z.object({
|
|
26
|
+
apiKeyId: z.string(),
|
|
27
|
+
}).transform((v) => {
|
|
28
|
+
return remap$(v, {
|
|
29
|
+
apiKeyId: "api_key_id",
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export function apiKeyDeleteRequestToJSON(
|
|
34
|
+
apiKeyDeleteRequest: ApiKeyDeleteRequest,
|
|
35
|
+
): string {
|
|
36
|
+
return JSON.stringify(
|
|
37
|
+
ApiKeyDeleteRequest$outboundSchema.parse(apiKeyDeleteRequest),
|
|
38
|
+
);
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
|
|
8
|
+
export type ApiKeyGetRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* API key id to retrieve (e.g. `01H...`).
|
|
11
|
+
*/
|
|
12
|
+
apiKeyId: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type ApiKeyGetRequest$Outbound = {
|
|
17
|
+
api_key_id: string;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const ApiKeyGetRequest$outboundSchema: z.ZodType<
|
|
22
|
+
ApiKeyGetRequest$Outbound,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
ApiKeyGetRequest
|
|
25
|
+
> = z.object({
|
|
26
|
+
apiKeyId: z.string(),
|
|
27
|
+
}).transform((v) => {
|
|
28
|
+
return remap$(v, {
|
|
29
|
+
apiKeyId: "api_key_id",
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export function apiKeyGetRequestToJSON(
|
|
34
|
+
apiKeyGetRequest: ApiKeyGetRequest,
|
|
35
|
+
): string {
|
|
36
|
+
return JSON.stringify(
|
|
37
|
+
ApiKeyGetRequest$outboundSchema.parse(apiKeyGetRequest),
|
|
38
|
+
);
|
|
39
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
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 ApiKeyListRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* Page size, 1–200. Unset uses the server default (25).
|
|
12
|
+
*/
|
|
13
|
+
limit?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Cursor for forward pagination. Set to the `api_key_id` of the last
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* item from the previous page.
|
|
19
|
+
*/
|
|
20
|
+
startingAfter?: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Cursor for backward pagination. Set to the `api_key_id` of the
|
|
23
|
+
*
|
|
24
|
+
* @remarks
|
|
25
|
+
* first item from the previous page.
|
|
26
|
+
*/
|
|
27
|
+
endingBefore?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Optional filter: only return keys belonging to this project. When
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* omitted, returns workspace-scoped and any single-project keys.
|
|
33
|
+
*/
|
|
34
|
+
projectId?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Optional filter: only return keys with this status.
|
|
37
|
+
*/
|
|
38
|
+
status?: components.ApiKeyStatus | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Optional case-insensitive substring match against the api-key
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
* name. Empty means no name filter.
|
|
44
|
+
*/
|
|
45
|
+
search?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* Optional filter: only return keys whose `owner.kind` matches
|
|
48
|
+
*
|
|
49
|
+
* @remarks
|
|
50
|
+
* one of the requested types. Combines the user / service-account
|
|
51
|
+
* oneof cases into a single repeated enum so the wire stays flat
|
|
52
|
+
* and multi-select filters travel as a single field. Empty means
|
|
53
|
+
* no owner-type filter.
|
|
54
|
+
*/
|
|
55
|
+
ownerType?: Array<components.OwnerType> | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Optional filter: only return keys whose permission mode is one
|
|
58
|
+
*
|
|
59
|
+
* @remarks
|
|
60
|
+
* of the listed presets. Empty means no permission-mode filter.
|
|
61
|
+
*/
|
|
62
|
+
permissionMode?: Array<components.PermissionMode> | undefined;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
export type ApiKeyListRequest$Outbound = {
|
|
67
|
+
limit?: number | undefined;
|
|
68
|
+
starting_after?: string | undefined;
|
|
69
|
+
ending_before?: string | undefined;
|
|
70
|
+
project_id?: string | undefined;
|
|
71
|
+
status?: string | undefined;
|
|
72
|
+
search?: string | undefined;
|
|
73
|
+
owner_type?: Array<string> | undefined;
|
|
74
|
+
permission_mode?: Array<string> | undefined;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
/** @internal */
|
|
78
|
+
export const ApiKeyListRequest$outboundSchema: z.ZodType<
|
|
79
|
+
ApiKeyListRequest$Outbound,
|
|
80
|
+
z.ZodTypeDef,
|
|
81
|
+
ApiKeyListRequest
|
|
82
|
+
> = z.object({
|
|
83
|
+
limit: z.number().int().optional(),
|
|
84
|
+
startingAfter: z.string().optional(),
|
|
85
|
+
endingBefore: z.string().optional(),
|
|
86
|
+
projectId: z.string().optional(),
|
|
87
|
+
status: components.ApiKeyStatus$outboundSchema.optional(),
|
|
88
|
+
search: z.string().optional(),
|
|
89
|
+
ownerType: z.array(components.OwnerType$outboundSchema).optional(),
|
|
90
|
+
permissionMode: z.array(components.PermissionMode$outboundSchema).optional(),
|
|
91
|
+
}).transform((v) => {
|
|
92
|
+
return remap$(v, {
|
|
93
|
+
startingAfter: "starting_after",
|
|
94
|
+
endingBefore: "ending_before",
|
|
95
|
+
projectId: "project_id",
|
|
96
|
+
ownerType: "owner_type",
|
|
97
|
+
permissionMode: "permission_mode",
|
|
98
|
+
});
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
export function apiKeyListRequestToJSON(
|
|
102
|
+
apiKeyListRequest: ApiKeyListRequest,
|
|
103
|
+
): string {
|
|
104
|
+
return JSON.stringify(
|
|
105
|
+
ApiKeyListRequest$outboundSchema.parse(apiKeyListRequest),
|
|
106
|
+
);
|
|
107
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 ApiKeyUpdateRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* API key id to update.
|
|
12
|
+
*/
|
|
13
|
+
apiKeyId: string;
|
|
14
|
+
updateApiKeyRequest: components.UpdateApiKeyRequest;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export type ApiKeyUpdateRequest$Outbound = {
|
|
19
|
+
api_key_id: string;
|
|
20
|
+
UpdateApiKeyRequest: components.UpdateApiKeyRequest$Outbound;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const ApiKeyUpdateRequest$outboundSchema: z.ZodType<
|
|
25
|
+
ApiKeyUpdateRequest$Outbound,
|
|
26
|
+
z.ZodTypeDef,
|
|
27
|
+
ApiKeyUpdateRequest
|
|
28
|
+
> = z.object({
|
|
29
|
+
apiKeyId: z.string(),
|
|
30
|
+
updateApiKeyRequest: components.UpdateApiKeyRequest$outboundSchema,
|
|
31
|
+
}).transform((v) => {
|
|
32
|
+
return remap$(v, {
|
|
33
|
+
apiKeyId: "api_key_id",
|
|
34
|
+
updateApiKeyRequest: "UpdateApiKeyRequest",
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export function apiKeyUpdateRequestToJSON(
|
|
39
|
+
apiKeyUpdateRequest: ApiKeyUpdateRequest,
|
|
40
|
+
): string {
|
|
41
|
+
return JSON.stringify(
|
|
42
|
+
ApiKeyUpdateRequest$outboundSchema.parse(apiKeyUpdateRequest),
|
|
43
|
+
);
|
|
44
|
+
}
|
|
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
140
|
updated: z.string().datetime({ offset: true }).default(
|
|
141
|
-
"2026-05-
|
|
141
|
+
"2026-05-25T16:12:11.970Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2355,7 +2355,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2355
2355
|
),
|
|
2356
2356
|
reviewed_by_id: z.string(),
|
|
2357
2357
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2358
|
-
"2026-05-
|
|
2358
|
+
"2026-05-25T16:12:26.675Z",
|
|
2359
2359
|
).transform(v => new Date(v)),
|
|
2360
2360
|
type: z.literal("string_array"),
|
|
2361
2361
|
values: z.array(z.string()),
|
|
@@ -2400,7 +2400,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2400
2400
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
2401
2401
|
reviewed_by_id: z.string(),
|
|
2402
2402
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2403
|
-
"2026-05-
|
|
2403
|
+
"2026-05-25T16:12:26.675Z",
|
|
2404
2404
|
).transform(v => new Date(v)),
|
|
2405
2405
|
type: z.literal("number"),
|
|
2406
2406
|
value: z.number(),
|
|
@@ -2446,7 +2446,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2446
2446
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
2447
2447
|
reviewed_by_id: z.string(),
|
|
2448
2448
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2449
|
-
"2026-05-
|
|
2449
|
+
"2026-05-25T16:12:26.674Z",
|
|
2450
2450
|
).transform(v => new Date(v)),
|
|
2451
2451
|
type: z.literal("string"),
|
|
2452
2452
|
value: z.string(),
|
|
@@ -2529,7 +2529,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2529
2529
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2530
2530
|
.optional(),
|
|
2531
2531
|
updated: z.string().datetime({ offset: true }).default(
|
|
2532
|
-
"2026-05-
|
|
2532
|
+
"2026-05-25T16:12:11.970Z",
|
|
2533
2533
|
).transform(v => new Date(v)),
|
|
2534
2534
|
}).transform((v) => {
|
|
2535
2535
|
return remap$(v, {
|
|
@@ -403,7 +403,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
403
403
|
z.ZodTypeDef,
|
|
404
404
|
unknown
|
|
405
405
|
> = z.object({
|
|
406
|
-
_id: z.string().default("
|
|
406
|
+
_id: z.string().default("01KSFYHD3BZFBJH31YQSQGJY66"),
|
|
407
407
|
display_name: z.string(),
|
|
408
408
|
description: z.string().optional(),
|
|
409
409
|
status: CreateDatasourceStatus$inboundSchema,
|