@orq-ai/node 4.15.0-rc.6 → 4.15.0-rc.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -28
- package/funcs/auditLogsQuery.d.ts +17 -0
- package/funcs/auditLogsQuery.d.ts.map +1 -0
- package/funcs/auditLogsQuery.js +115 -0
- package/funcs/auditLogsQuery.js.map +1 -0
- package/funcs/workspacesGet.d.ts +18 -0
- package/funcs/workspacesGet.d.ts.map +1 -0
- package/funcs/workspacesGet.js +121 -0
- package/funcs/workspacesGet.js.map +1 -0
- package/funcs/workspacesList.d.ts +18 -0
- package/funcs/workspacesList.d.ts.map +1 -0
- package/funcs/workspacesList.js +121 -0
- package/funcs/workspacesList.js.map +1 -0
- package/funcs/workspacesUpdate.d.ts +18 -0
- package/funcs/workspacesUpdate.d.ts.map +1 -0
- package/funcs/workspacesUpdate.js +124 -0
- package/funcs/workspacesUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/auditlog.d.ts +60 -0
- package/models/components/auditlog.d.ts.map +1 -0
- package/models/components/auditlog.js +83 -0
- package/models/components/auditlog.js.map +1 -0
- package/models/components/auditlogfilter.d.ts +33 -0
- package/models/components/auditlogfilter.d.ts.map +1 -0
- package/models/components/auditlogfilter.js +52 -0
- package/models/components/auditlogfilter.js.map +1 -0
- package/models/components/auditlogfilterquery.d.ts +29 -0
- package/models/components/auditlogfilterquery.d.ts.map +1 -0
- package/models/components/auditlogfilterquery.js +52 -0
- package/models/components/auditlogfilterquery.js.map +1 -0
- package/models/components/auditlogpagination.d.ts +28 -0
- package/models/components/auditlogpagination.d.ts.map +1 -0
- package/models/components/auditlogpagination.js +57 -0
- package/models/components/auditlogpagination.js.map +1 -0
- package/models/components/auditlogsort.d.ts +23 -0
- package/models/components/auditlogsort.d.ts.map +1 -0
- package/models/components/{policyprofileidlist.js → auditlogsort.js} +8 -7
- package/models/components/auditlogsort.js.map +1 -0
- package/models/components/budgetmatch.d.ts +1 -7
- package/models/components/budgetmatch.d.ts.map +1 -1
- package/models/components/budgetmatch.js.map +1 -1
- package/models/components/budgetscope.d.ts +1 -14
- package/models/components/budgetscope.d.ts.map +1 -1
- package/models/components/budgetscope.js +0 -3
- package/models/components/budgetscope.js.map +1 -1
- package/models/components/budgetscopekind.d.ts +0 -1
- package/models/components/budgetscopekind.d.ts.map +1 -1
- package/models/components/budgetscopekind.js +0 -1
- package/models/components/budgetscopekind.js.map +1 -1
- package/models/components/budgetscoperestresponse.d.ts +1 -13
- package/models/components/budgetscoperestresponse.d.ts.map +1 -1
- package/models/components/budgetscoperestresponse.js +0 -2
- package/models/components/budgetscoperestresponse.js.map +1 -1
- package/models/components/getworkspaceresponse.d.ts +11 -0
- package/models/components/getworkspaceresponse.d.ts.map +1 -0
- package/models/components/{factorybudgetscoperestresponse.js → getworkspaceresponse.js} +8 -7
- package/models/components/getworkspaceresponse.js.map +1 -0
- package/models/components/index.d.ts +16 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +16 -3
- package/models/components/index.js.map +1 -1
- package/models/components/listworkspacesresponse.d.ts +13 -0
- package/models/components/listworkspacesresponse.d.ts.map +1 -0
- package/models/components/{factorybudgetscope.js → listworkspacesresponse.js} +11 -20
- package/models/components/listworkspacesresponse.js.map +1 -0
- package/models/components/queryauditlogsrequest.d.ts +31 -0
- package/models/components/queryauditlogsrequest.d.ts.map +1 -0
- package/models/components/queryauditlogsrequest.js +54 -0
- package/models/components/queryauditlogsrequest.js.map +1 -0
- package/models/components/queryauditlogsresponse.d.ts +25 -0
- package/models/components/queryauditlogsresponse.d.ts.map +1 -0
- package/models/components/queryauditlogsresponse.js +60 -0
- package/models/components/queryauditlogsresponse.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/components/updateworkspacerequest.d.ts +29 -0
- package/models/components/updateworkspacerequest.d.ts.map +1 -0
- package/models/components/updateworkspacerequest.js +69 -0
- package/models/components/updateworkspacerequest.js.map +1 -0
- package/models/components/updateworkspaceresponse.d.ts +11 -0
- package/models/components/updateworkspaceresponse.d.ts.map +1 -0
- package/models/components/updateworkspaceresponse.js +51 -0
- package/models/components/updateworkspaceresponse.js.map +1 -0
- package/models/components/updateworkspacesettingsrequest.d.ts +0 -3
- package/models/components/updateworkspacesettingsrequest.d.ts.map +1 -1
- package/models/components/updateworkspacesettingsrequest.js +0 -3
- package/models/components/updateworkspacesettingsrequest.js.map +1 -1
- package/models/components/value.d.ts +13 -0
- package/models/components/value.d.ts.map +1 -0
- package/models/components/value.js +50 -0
- package/models/components/value.js.map +1 -0
- package/models/components/workspace.d.ts +33 -0
- package/models/components/workspace.d.ts.map +1 -0
- package/models/components/workspace.js +88 -0
- package/models/components/workspace.js.map +1 -0
- package/models/components/workspacecapabilities.d.ts +11 -0
- package/models/components/workspacecapabilities.d.ts.map +1 -0
- package/models/components/workspacecapabilities.js +51 -0
- package/models/components/workspacecapabilities.js.map +1 -0
- package/models/components/workspaceorganization.d.ts +11 -0
- package/models/components/workspaceorganization.d.ts.map +1 -0
- package/models/components/workspaceorganization.js +51 -0
- package/models/components/workspaceorganization.js.map +1 -0
- package/models/components/workspacesettings.d.ts +0 -1
- package/models/components/workspacesettings.d.ts.map +1 -1
- package/models/components/workspacesettings.js +0 -2
- package/models/components/workspacesettings.js.map +1 -1
- package/models/components/workspacesettingsfields.d.ts +39 -0
- package/models/components/workspacesettingsfields.d.ts.map +1 -0
- package/models/components/workspacesettingsfields.js +99 -0
- package/models/components/workspacesettingsfields.js.map +1 -0
- 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/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- 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/models/operations/workspaceget.d.ts +12 -0
- package/models/operations/workspaceget.d.ts.map +1 -0
- package/models/operations/workspaceget.js +49 -0
- package/models/operations/workspaceget.js.map +1 -0
- package/models/operations/workspacelist.d.ts +16 -0
- package/models/operations/workspacelist.d.ts.map +1 -0
- package/models/operations/workspacelist.js +57 -0
- package/models/operations/workspacelist.js.map +1 -0
- package/models/operations/workspaceupdate.d.ts +15 -0
- package/models/operations/workspaceupdate.d.ts.map +1 -0
- package/models/operations/workspaceupdate.js +56 -0
- package/models/operations/workspaceupdate.js.map +1 -0
- package/package.json +1 -1
- package/sdk/auditlogs.d.ts +12 -0
- package/sdk/auditlogs.d.ts.map +1 -0
- package/sdk/auditlogs.js +22 -0
- package/sdk/auditlogs.js.map +1 -0
- package/sdk/sdk.d.ts +6 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +8 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/workspaces.d.ts +27 -0
- package/sdk/workspaces.d.ts.map +1 -0
- package/sdk/workspaces.js +42 -0
- package/sdk/workspaces.js.map +1 -0
- package/src/funcs/auditLogsQuery.ts +162 -0
- package/src/funcs/workspacesGet.ts +168 -0
- package/src/funcs/workspacesList.ts +170 -0
- package/src/funcs/workspacesUpdate.ts +171 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/auditlog.ts +122 -0
- package/src/models/components/auditlogfilter.ts +51 -0
- package/src/models/components/auditlogfilterquery.ts +54 -0
- package/src/models/components/auditlogpagination.ts +55 -0
- package/src/models/components/auditlogsort.ts +39 -0
- package/src/models/components/budgetmatch.ts +1 -7
- package/src/models/components/budgetscope.ts +1 -21
- package/src/models/components/budgetscopekind.ts +0 -1
- package/src/models/components/budgetscoperestresponse.ts +1 -17
- package/src/models/components/getworkspaceresponse.ts +32 -0
- package/src/models/components/index.ts +16 -3
- package/src/models/components/listworkspacesresponse.ts +41 -0
- package/src/models/components/queryauditlogsrequest.ts +64 -0
- package/src/models/components/queryauditlogsresponse.ts +55 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/updateworkspacerequest.ts +81 -0
- package/src/models/components/updateworkspaceresponse.ts +32 -0
- package/src/models/components/updateworkspacesettingsrequest.ts +0 -9
- package/src/models/components/value.ts +20 -0
- package/src/models/components/workspace.ts +116 -0
- package/src/models/components/workspacecapabilities.ts +33 -0
- package/src/models/components/workspaceorganization.ts +33 -0
- package/src/models/components/workspacesettings.ts +0 -3
- package/src/models/components/workspacesettingsfields.ts +135 -0
- 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/index.ts +3 -0
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/src/models/operations/workspaceget.ts +31 -0
- package/src/models/operations/workspacelist.ts +43 -0
- package/src/models/operations/workspaceupdate.ts +40 -0
- package/src/sdk/auditlogs.ts +27 -0
- package/src/sdk/sdk.ts +12 -0
- package/src/sdk/workspaces.ts +64 -0
- package/models/components/factorybudgetscope.d.ts +0 -23
- package/models/components/factorybudgetscope.d.ts.map +0 -1
- package/models/components/factorybudgetscope.js.map +0 -1
- package/models/components/factorybudgetscoperestresponse.d.ts +0 -16
- package/models/components/factorybudgetscoperestresponse.d.ts.map +0 -1
- package/models/components/factorybudgetscoperestresponse.js.map +0 -1
- package/models/components/policyprofileidlist.d.ts +0 -12
- package/models/components/policyprofileidlist.d.ts.map +0 -1
- package/models/components/policyprofileidlist.js.map +0 -1
- package/src/models/components/factorybudgetscope.ts +0 -66
- package/src/models/components/factorybudgetscoperestresponse.ts +0 -37
- package/src/models/components/policyprofileidlist.ts +0 -31
|
@@ -0,0 +1,116 @@
|
|
|
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
|
+
import {
|
|
11
|
+
WorkspaceCapabilities,
|
|
12
|
+
WorkspaceCapabilities$inboundSchema,
|
|
13
|
+
} from "./workspacecapabilities.js";
|
|
14
|
+
import {
|
|
15
|
+
WorkspaceOrganization,
|
|
16
|
+
WorkspaceOrganization$inboundSchema,
|
|
17
|
+
} from "./workspaceorganization.js";
|
|
18
|
+
import {
|
|
19
|
+
WorkspaceSettingsFields,
|
|
20
|
+
WorkspaceSettingsFields$inboundSchema,
|
|
21
|
+
} from "./workspacesettingsfields.js";
|
|
22
|
+
|
|
23
|
+
export type Features = {};
|
|
24
|
+
|
|
25
|
+
export type WorkspaceMetadata = {};
|
|
26
|
+
|
|
27
|
+
export type Workspace = {
|
|
28
|
+
id: string;
|
|
29
|
+
key: string;
|
|
30
|
+
displayName: string;
|
|
31
|
+
logoUrl?: string | undefined;
|
|
32
|
+
archivedOn?: Date | undefined;
|
|
33
|
+
archivedById?: string | undefined;
|
|
34
|
+
organization?: WorkspaceOrganization | undefined;
|
|
35
|
+
settings?: WorkspaceSettingsFields | undefined;
|
|
36
|
+
sidebarVersion?: string | undefined;
|
|
37
|
+
features?: Features | undefined;
|
|
38
|
+
totalMembers?: number | undefined;
|
|
39
|
+
metadata?: WorkspaceMetadata | undefined;
|
|
40
|
+
capabilities?: WorkspaceCapabilities | undefined;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
/** @internal */
|
|
44
|
+
export const Features$inboundSchema: z.ZodType<
|
|
45
|
+
Features,
|
|
46
|
+
z.ZodTypeDef,
|
|
47
|
+
unknown
|
|
48
|
+
> = z.object({});
|
|
49
|
+
|
|
50
|
+
export function featuresFromJSON(
|
|
51
|
+
jsonString: string,
|
|
52
|
+
): SafeParseResult<Features, SDKValidationError> {
|
|
53
|
+
return safeParse(
|
|
54
|
+
jsonString,
|
|
55
|
+
(x) => Features$inboundSchema.parse(JSON.parse(x)),
|
|
56
|
+
`Failed to parse 'Features' from JSON`,
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/** @internal */
|
|
61
|
+
export const WorkspaceMetadata$inboundSchema: z.ZodType<
|
|
62
|
+
WorkspaceMetadata,
|
|
63
|
+
z.ZodTypeDef,
|
|
64
|
+
unknown
|
|
65
|
+
> = z.object({});
|
|
66
|
+
|
|
67
|
+
export function workspaceMetadataFromJSON(
|
|
68
|
+
jsonString: string,
|
|
69
|
+
): SafeParseResult<WorkspaceMetadata, SDKValidationError> {
|
|
70
|
+
return safeParse(
|
|
71
|
+
jsonString,
|
|
72
|
+
(x) => WorkspaceMetadata$inboundSchema.parse(JSON.parse(x)),
|
|
73
|
+
`Failed to parse 'WorkspaceMetadata' from JSON`,
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** @internal */
|
|
78
|
+
export const Workspace$inboundSchema: z.ZodType<
|
|
79
|
+
Workspace,
|
|
80
|
+
z.ZodTypeDef,
|
|
81
|
+
unknown
|
|
82
|
+
> = z.object({
|
|
83
|
+
id: z.string(),
|
|
84
|
+
key: z.string(),
|
|
85
|
+
display_name: z.string(),
|
|
86
|
+
logo_url: z.string().optional(),
|
|
87
|
+
archived_on: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
88
|
+
.optional(),
|
|
89
|
+
archived_by_id: z.string().optional(),
|
|
90
|
+
organization: WorkspaceOrganization$inboundSchema.optional(),
|
|
91
|
+
settings: WorkspaceSettingsFields$inboundSchema.optional(),
|
|
92
|
+
sidebar_version: z.string().optional(),
|
|
93
|
+
features: z.lazy(() => Features$inboundSchema).optional(),
|
|
94
|
+
total_members: z.number().int().optional(),
|
|
95
|
+
metadata: z.lazy(() => WorkspaceMetadata$inboundSchema).optional(),
|
|
96
|
+
capabilities: WorkspaceCapabilities$inboundSchema.optional(),
|
|
97
|
+
}).transform((v) => {
|
|
98
|
+
return remap$(v, {
|
|
99
|
+
"display_name": "displayName",
|
|
100
|
+
"logo_url": "logoUrl",
|
|
101
|
+
"archived_on": "archivedOn",
|
|
102
|
+
"archived_by_id": "archivedById",
|
|
103
|
+
"sidebar_version": "sidebarVersion",
|
|
104
|
+
"total_members": "totalMembers",
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
export function workspaceFromJSON(
|
|
109
|
+
jsonString: string,
|
|
110
|
+
): SafeParseResult<Workspace, SDKValidationError> {
|
|
111
|
+
return safeParse(
|
|
112
|
+
jsonString,
|
|
113
|
+
(x) => Workspace$inboundSchema.parse(JSON.parse(x)),
|
|
114
|
+
`Failed to parse 'Workspace' from JSON`,
|
|
115
|
+
);
|
|
116
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type WorkspaceCapabilities = {
|
|
11
|
+
roles?: Array<string> | undefined;
|
|
12
|
+
projects?: Array<string> | undefined;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const WorkspaceCapabilities$inboundSchema: z.ZodType<
|
|
17
|
+
WorkspaceCapabilities,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
roles: z.array(z.string()).optional(),
|
|
22
|
+
projects: z.array(z.string()).optional(),
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
export function workspaceCapabilitiesFromJSON(
|
|
26
|
+
jsonString: string,
|
|
27
|
+
): SafeParseResult<WorkspaceCapabilities, SDKValidationError> {
|
|
28
|
+
return safeParse(
|
|
29
|
+
jsonString,
|
|
30
|
+
(x) => WorkspaceCapabilities$inboundSchema.parse(JSON.parse(x)),
|
|
31
|
+
`Failed to parse 'WorkspaceCapabilities' from JSON`,
|
|
32
|
+
);
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type WorkspaceOrganization = {
|
|
11
|
+
id?: string | undefined;
|
|
12
|
+
key?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const WorkspaceOrganization$inboundSchema: z.ZodType<
|
|
17
|
+
WorkspaceOrganization,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
id: z.string().optional(),
|
|
22
|
+
key: z.string().optional(),
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
export function workspaceOrganizationFromJSON(
|
|
26
|
+
jsonString: string,
|
|
27
|
+
): SafeParseResult<WorkspaceOrganization, SDKValidationError> {
|
|
28
|
+
return safeParse(
|
|
29
|
+
jsonString,
|
|
30
|
+
(x) => WorkspaceOrganization$inboundSchema.parse(JSON.parse(x)),
|
|
31
|
+
`Failed to parse 'WorkspaceOrganization' from JSON`,
|
|
32
|
+
);
|
|
33
|
+
}
|
|
@@ -35,7 +35,6 @@ export type WorkspaceSettings = {
|
|
|
35
35
|
* workspace has never configured it.
|
|
36
36
|
*/
|
|
37
37
|
piiRedaction?: PiiRedaction | undefined;
|
|
38
|
-
defaultPolicyProfileIds?: Array<string> | undefined;
|
|
39
38
|
};
|
|
40
39
|
|
|
41
40
|
/** @internal */
|
|
@@ -48,13 +47,11 @@ export const WorkspaceSettings$inboundSchema: z.ZodType<
|
|
|
48
47
|
display_name: z.string(),
|
|
49
48
|
enforce_enabled_models: z.boolean(),
|
|
50
49
|
pii_redaction: PiiRedaction$inboundSchema.optional(),
|
|
51
|
-
default_policy_profile_ids: z.array(z.string()).optional(),
|
|
52
50
|
}).transform((v) => {
|
|
53
51
|
return remap$(v, {
|
|
54
52
|
"display_name": "displayName",
|
|
55
53
|
"enforce_enabled_models": "enforceEnabledModels",
|
|
56
54
|
"pii_redaction": "piiRedaction",
|
|
57
|
-
"default_policy_profile_ids": "defaultPolicyProfileIds",
|
|
58
55
|
});
|
|
59
56
|
});
|
|
60
57
|
|
|
@@ -0,0 +1,135 @@
|
|
|
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 ModelGardenSettings = {};
|
|
12
|
+
|
|
13
|
+
export type Plugins = {};
|
|
14
|
+
|
|
15
|
+
export type WorkspaceSettingsFields = {
|
|
16
|
+
sameProjectEntitiesEnabled?: boolean | undefined;
|
|
17
|
+
modelGardenSettings?: ModelGardenSettings | undefined;
|
|
18
|
+
plugins?: Plugins | undefined;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const ModelGardenSettings$inboundSchema: z.ZodType<
|
|
23
|
+
ModelGardenSettings,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
unknown
|
|
26
|
+
> = z.object({});
|
|
27
|
+
/** @internal */
|
|
28
|
+
export type ModelGardenSettings$Outbound = {};
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const ModelGardenSettings$outboundSchema: z.ZodType<
|
|
32
|
+
ModelGardenSettings$Outbound,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
ModelGardenSettings
|
|
35
|
+
> = z.object({});
|
|
36
|
+
|
|
37
|
+
export function modelGardenSettingsToJSON(
|
|
38
|
+
modelGardenSettings: ModelGardenSettings,
|
|
39
|
+
): string {
|
|
40
|
+
return JSON.stringify(
|
|
41
|
+
ModelGardenSettings$outboundSchema.parse(modelGardenSettings),
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
export function modelGardenSettingsFromJSON(
|
|
45
|
+
jsonString: string,
|
|
46
|
+
): SafeParseResult<ModelGardenSettings, SDKValidationError> {
|
|
47
|
+
return safeParse(
|
|
48
|
+
jsonString,
|
|
49
|
+
(x) => ModelGardenSettings$inboundSchema.parse(JSON.parse(x)),
|
|
50
|
+
`Failed to parse 'ModelGardenSettings' from JSON`,
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const Plugins$inboundSchema: z.ZodType<Plugins, z.ZodTypeDef, unknown> =
|
|
56
|
+
z.object({});
|
|
57
|
+
/** @internal */
|
|
58
|
+
export type Plugins$Outbound = {};
|
|
59
|
+
|
|
60
|
+
/** @internal */
|
|
61
|
+
export const Plugins$outboundSchema: z.ZodType<
|
|
62
|
+
Plugins$Outbound,
|
|
63
|
+
z.ZodTypeDef,
|
|
64
|
+
Plugins
|
|
65
|
+
> = z.object({});
|
|
66
|
+
|
|
67
|
+
export function pluginsToJSON(plugins: Plugins): string {
|
|
68
|
+
return JSON.stringify(Plugins$outboundSchema.parse(plugins));
|
|
69
|
+
}
|
|
70
|
+
export function pluginsFromJSON(
|
|
71
|
+
jsonString: string,
|
|
72
|
+
): SafeParseResult<Plugins, SDKValidationError> {
|
|
73
|
+
return safeParse(
|
|
74
|
+
jsonString,
|
|
75
|
+
(x) => Plugins$inboundSchema.parse(JSON.parse(x)),
|
|
76
|
+
`Failed to parse 'Plugins' from JSON`,
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/** @internal */
|
|
81
|
+
export const WorkspaceSettingsFields$inboundSchema: z.ZodType<
|
|
82
|
+
WorkspaceSettingsFields,
|
|
83
|
+
z.ZodTypeDef,
|
|
84
|
+
unknown
|
|
85
|
+
> = z.object({
|
|
86
|
+
same_project_entities_enabled: z.boolean().optional(),
|
|
87
|
+
model_garden_settings: z.lazy(() => ModelGardenSettings$inboundSchema)
|
|
88
|
+
.optional(),
|
|
89
|
+
plugins: z.lazy(() => Plugins$inboundSchema).optional(),
|
|
90
|
+
}).transform((v) => {
|
|
91
|
+
return remap$(v, {
|
|
92
|
+
"same_project_entities_enabled": "sameProjectEntitiesEnabled",
|
|
93
|
+
"model_garden_settings": "modelGardenSettings",
|
|
94
|
+
});
|
|
95
|
+
});
|
|
96
|
+
/** @internal */
|
|
97
|
+
export type WorkspaceSettingsFields$Outbound = {
|
|
98
|
+
same_project_entities_enabled?: boolean | undefined;
|
|
99
|
+
model_garden_settings?: ModelGardenSettings$Outbound | undefined;
|
|
100
|
+
plugins?: Plugins$Outbound | undefined;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
/** @internal */
|
|
104
|
+
export const WorkspaceSettingsFields$outboundSchema: z.ZodType<
|
|
105
|
+
WorkspaceSettingsFields$Outbound,
|
|
106
|
+
z.ZodTypeDef,
|
|
107
|
+
WorkspaceSettingsFields
|
|
108
|
+
> = z.object({
|
|
109
|
+
sameProjectEntitiesEnabled: z.boolean().optional(),
|
|
110
|
+
modelGardenSettings: z.lazy(() => ModelGardenSettings$outboundSchema)
|
|
111
|
+
.optional(),
|
|
112
|
+
plugins: z.lazy(() => Plugins$outboundSchema).optional(),
|
|
113
|
+
}).transform((v) => {
|
|
114
|
+
return remap$(v, {
|
|
115
|
+
sameProjectEntitiesEnabled: "same_project_entities_enabled",
|
|
116
|
+
modelGardenSettings: "model_garden_settings",
|
|
117
|
+
});
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
export function workspaceSettingsFieldsToJSON(
|
|
121
|
+
workspaceSettingsFields: WorkspaceSettingsFields,
|
|
122
|
+
): string {
|
|
123
|
+
return JSON.stringify(
|
|
124
|
+
WorkspaceSettingsFields$outboundSchema.parse(workspaceSettingsFields),
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
export function workspaceSettingsFieldsFromJSON(
|
|
128
|
+
jsonString: string,
|
|
129
|
+
): SafeParseResult<WorkspaceSettingsFields, SDKValidationError> {
|
|
130
|
+
return safeParse(
|
|
131
|
+
jsonString,
|
|
132
|
+
(x) => WorkspaceSettingsFields$inboundSchema.parse(JSON.parse(x)),
|
|
133
|
+
`Failed to parse 'WorkspaceSettingsFields' from JSON`,
|
|
134
|
+
);
|
|
135
|
+
}
|
|
@@ -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-08-
|
|
141
|
+
"2026-08-31T07:26:08.091Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2739,7 +2739,7 @@ export const Evaluations4$inboundSchema: z.ZodType<
|
|
|
2739
2739
|
explanation: z.string().optional(),
|
|
2740
2740
|
reviewed_by_id: z.string(),
|
|
2741
2741
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2742
|
-
"2026-08-
|
|
2742
|
+
"2026-08-31T07:26:15.074Z",
|
|
2743
2743
|
).transform(v => new Date(v)),
|
|
2744
2744
|
type: z.literal("string_array"),
|
|
2745
2745
|
values: z.array(z.string()),
|
|
@@ -2829,7 +2829,7 @@ export const CreateDatasetItemEvaluations3$inboundSchema: z.ZodType<
|
|
|
2829
2829
|
explanation: z.string().optional(),
|
|
2830
2830
|
reviewed_by_id: z.string(),
|
|
2831
2831
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2832
|
-
"2026-08-
|
|
2832
|
+
"2026-08-31T07:26:15.074Z",
|
|
2833
2833
|
).transform(v => new Date(v)),
|
|
2834
2834
|
type: z.literal("boolean"),
|
|
2835
2835
|
value: z.boolean(),
|
|
@@ -2914,7 +2914,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2914
2914
|
explanation: z.string().optional(),
|
|
2915
2915
|
reviewed_by_id: z.string(),
|
|
2916
2916
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2917
|
-
"2026-08-
|
|
2917
|
+
"2026-08-31T07:26:15.074Z",
|
|
2918
2918
|
).transform(v => new Date(v)),
|
|
2919
2919
|
type: z.literal("number"),
|
|
2920
2920
|
value: z.number(),
|
|
@@ -3000,7 +3000,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
3000
3000
|
explanation: z.string().optional(),
|
|
3001
3001
|
reviewed_by_id: z.string(),
|
|
3002
3002
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3003
|
-
"2026-08-
|
|
3003
|
+
"2026-08-31T07:26:15.074Z",
|
|
3004
3004
|
).transform(v => new Date(v)),
|
|
3005
3005
|
type: z.literal("string"),
|
|
3006
3006
|
value: z.string(),
|
|
@@ -3087,7 +3087,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
|
|
|
3087
3087
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3088
3088
|
.optional(),
|
|
3089
3089
|
updated: z.string().datetime({ offset: true }).default(
|
|
3090
|
-
"2026-08-
|
|
3090
|
+
"2026-08-31T07:26:08.091Z",
|
|
3091
3091
|
).transform(v => new Date(v)),
|
|
3092
3092
|
}).transform((v) => {
|
|
3093
3093
|
return remap$(v, {
|
|
@@ -1573,7 +1573,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1573
1573
|
z.ZodTypeDef,
|
|
1574
1574
|
unknown
|
|
1575
1575
|
> = z.object({
|
|
1576
|
-
_id: z.string().default("
|
|
1576
|
+
_id: z.string().default("tool_01M1BBCBG8YS162HN50KQPGB5S"),
|
|
1577
1577
|
path: z.string(),
|
|
1578
1578
|
key: z.string(),
|
|
1579
1579
|
display_name: z.string().optional(),
|
|
@@ -1759,7 +1759,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1759
1759
|
z.ZodTypeDef,
|
|
1760
1760
|
unknown
|
|
1761
1761
|
> = z.object({
|
|
1762
|
-
_id: z.string().default("
|
|
1762
|
+
_id: z.string().default("tool_01M1BBCBG812GM3DH630S3VZFQ"),
|
|
1763
1763
|
path: z.string(),
|
|
1764
1764
|
key: z.string(),
|
|
1765
1765
|
display_name: z.string().optional(),
|
|
@@ -1852,7 +1852,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1852
1852
|
z.ZodTypeDef,
|
|
1853
1853
|
unknown
|
|
1854
1854
|
> = z.object({
|
|
1855
|
-
_id: z.string().default("
|
|
1855
|
+
_id: z.string().default("tool_01M1BBCBG7CK6W3WWX55MREP84"),
|
|
1856
1856
|
path: z.string(),
|
|
1857
1857
|
key: z.string(),
|
|
1858
1858
|
display_name: z.string().optional(),
|
|
@@ -1953,7 +1953,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1953
1953
|
z.ZodTypeDef,
|
|
1954
1954
|
unknown
|
|
1955
1955
|
> = z.object({
|
|
1956
|
-
_id: z.string().default("
|
|
1956
|
+
_id: z.string().default("tool_01M1BBCBG7T5KQD4M75WAN5PEN"),
|
|
1957
1957
|
path: z.string(),
|
|
1958
1958
|
key: z.string(),
|
|
1959
1959
|
display_name: z.string().optional(),
|
|
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
639
639
|
z.ZodTypeDef,
|
|
640
640
|
unknown
|
|
641
641
|
> = z.object({
|
|
642
|
-
_id: z.string().default("
|
|
642
|
+
_id: z.string().default("tool_01M1BBCBG24MDVNWTZ7WQXW4DR"),
|
|
643
643
|
path: z.string(),
|
|
644
644
|
key: z.string(),
|
|
645
645
|
display_name: z.string().optional(),
|
|
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
821
821
|
z.ZodTypeDef,
|
|
822
822
|
unknown
|
|
823
823
|
> = z.object({
|
|
824
|
-
_id: z.string().default("
|
|
824
|
+
_id: z.string().default("tool_01M1BBCBG1SMEYBQXSM3HE3CMB"),
|
|
825
825
|
path: z.string(),
|
|
826
826
|
key: z.string(),
|
|
827
827
|
display_name: z.string().optional(),
|
|
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
914
914
|
z.ZodTypeDef,
|
|
915
915
|
unknown
|
|
916
916
|
> = z.object({
|
|
917
|
-
_id: z.string().default("
|
|
917
|
+
_id: z.string().default("tool_01M1BBCBG1RMADV93FH1C800R1"),
|
|
918
918
|
path: z.string(),
|
|
919
919
|
key: z.string(),
|
|
920
920
|
display_name: z.string().optional(),
|
|
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1012
1012
|
z.ZodTypeDef,
|
|
1013
1013
|
unknown
|
|
1014
1014
|
> = z.object({
|
|
1015
|
-
_id: z.string().default("
|
|
1015
|
+
_id: z.string().default("tool_01M1BBCBG084N3ZJZHZ6TK9BZ5"),
|
|
1016
1016
|
path: z.string(),
|
|
1017
1017
|
key: z.string(),
|
|
1018
1018
|
display_name: z.string().optional(),
|
|
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
140
140
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
141
141
|
.optional(),
|
|
142
142
|
updated: z.string().datetime({ offset: true }).default(
|
|
143
|
-
"2026-08-
|
|
143
|
+
"2026-08-31T07:26:08.091Z",
|
|
144
144
|
).transform(v => new Date(v)),
|
|
145
145
|
filter_type: z.literal("name"),
|
|
146
146
|
filter_value: z.string(),
|
|
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
185
185
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
186
186
|
.optional(),
|
|
187
187
|
updated: z.string().datetime({ offset: true }).default(
|
|
188
|
-
"2026-08-
|
|
188
|
+
"2026-08-31T07:26:08.091Z",
|
|
189
189
|
).transform(v => new Date(v)),
|
|
190
190
|
filter_type: z.literal("span_type"),
|
|
191
191
|
filter_values: z.array(z.string()),
|
|
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
141
141
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
143
|
updated: z.string().datetime({ offset: true }).default(
|
|
144
|
-
"2026-08-
|
|
144
|
+
"2026-08-31T07:26:08.091Z",
|
|
145
145
|
).transform(v => new Date(v)),
|
|
146
146
|
filter_type: z.literal("name"),
|
|
147
147
|
filter_value: z.string(),
|
|
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
186
186
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
187
187
|
.optional(),
|
|
188
188
|
updated: z.string().datetime({ offset: true }).default(
|
|
189
|
-
"2026-08-
|
|
189
|
+
"2026-08-31T07:26:08.091Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -234,6 +234,8 @@ export * from "./webhookdelete.js";
|
|
|
234
234
|
export * from "./webhookget.js";
|
|
235
235
|
export * from "./webhooklist.js";
|
|
236
236
|
export * from "./webhookupdate.js";
|
|
237
|
+
export * from "./workspaceget.js";
|
|
238
|
+
export * from "./workspacelist.js";
|
|
237
239
|
export * from "./workspacesecurityaddiprange.js";
|
|
238
240
|
export * from "./workspacesecuritycreatedomain.js";
|
|
239
241
|
export * from "./workspacesecuritydeletedomain.js";
|
|
@@ -242,3 +244,4 @@ export * from "./workspacesecuritygetipallowlist.js";
|
|
|
242
244
|
export * from "./workspacesecuritylistdomains.js";
|
|
243
245
|
export * from "./workspacesecurityupdateipallowlist.js";
|
|
244
246
|
export * from "./workspacesecurityverifydomain.js";
|
|
247
|
+
export * from "./workspaceupdate.js";
|
|
@@ -1653,7 +1653,7 @@ export const ListDatasetDatapointsEvaluations4$inboundSchema: z.ZodType<
|
|
|
1653
1653
|
explanation: z.string().optional(),
|
|
1654
1654
|
reviewed_by_id: z.string(),
|
|
1655
1655
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1656
|
-
"2026-08-
|
|
1656
|
+
"2026-08-31T07:26:15.069Z",
|
|
1657
1657
|
).transform(v => new Date(v)),
|
|
1658
1658
|
type: z.literal("string_array"),
|
|
1659
1659
|
values: z.array(z.string()),
|
|
@@ -1749,7 +1749,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
1749
1749
|
explanation: z.string().optional(),
|
|
1750
1750
|
reviewed_by_id: z.string(),
|
|
1751
1751
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1752
|
-
"2026-08-
|
|
1752
|
+
"2026-08-31T07:26:15.069Z",
|
|
1753
1753
|
).transform(v => new Date(v)),
|
|
1754
1754
|
type: z.literal("boolean"),
|
|
1755
1755
|
value: z.boolean(),
|
|
@@ -1853,7 +1853,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
1853
1853
|
explanation: z.string().optional(),
|
|
1854
1854
|
reviewed_by_id: z.string(),
|
|
1855
1855
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1856
|
-
"2026-08-
|
|
1856
|
+
"2026-08-31T07:26:15.069Z",
|
|
1857
1857
|
).transform(v => new Date(v)),
|
|
1858
1858
|
type: z.literal("number"),
|
|
1859
1859
|
value: z.number(),
|
|
@@ -1959,7 +1959,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
1959
1959
|
explanation: z.string().optional(),
|
|
1960
1960
|
reviewed_by_id: z.string(),
|
|
1961
1961
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1962
|
-
"2026-08-
|
|
1962
|
+
"2026-08-31T07:26:15.067Z",
|
|
1963
1963
|
).transform(v => new Date(v)),
|
|
1964
1964
|
type: z.literal("string"),
|
|
1965
1965
|
value: z.string(),
|
|
@@ -2042,7 +2042,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
2042
2042
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2043
2043
|
.optional(),
|
|
2044
2044
|
updated: z.string().datetime({ offset: true }).default(
|
|
2045
|
-
"2026-08-
|
|
2045
|
+
"2026-08-31T07:26:08.091Z",
|
|
2046
2046
|
).transform(v => new Date(v)),
|
|
2047
2047
|
}).transform((v) => {
|
|
2048
2048
|
return remap$(v, {
|
|
@@ -169,7 +169,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
169
169
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
170
170
|
.optional(),
|
|
171
171
|
updated: z.string().datetime({ offset: true }).default(
|
|
172
|
-
"2026-08-
|
|
172
|
+
"2026-08-31T07:26:08.091Z",
|
|
173
173
|
).transform(v => new Date(v)),
|
|
174
174
|
}).transform((v) => {
|
|
175
175
|
return remap$(v, {
|
|
@@ -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-08-
|
|
321
|
+
"2026-08-31T07:26:08.091Z",
|
|
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-08-
|
|
367
|
+
"2026-08-31T07:26:08.091Z",
|
|
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-08-
|
|
248
|
+
reviewedAt: z.date().default(() => new Date("2026-08-31T07:26:15.118Z"))
|
|
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-08-
|
|
302
|
+
reviewedAt: z.date().default(() => new Date("2026-08-31T07:26:15.118Z"))
|
|
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-08-
|
|
356
|
+
reviewedAt: z.date().default(() => new Date("2026-08-31T07:26:15.118Z"))
|
|
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-08-
|
|
408
|
+
reviewedAt: z.date().default(() => new Date("2026-08-31T07:26:15.118Z"))
|
|
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-08-
|
|
274
|
+
"2026-08-31T07:26:08.091Z",
|
|
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-08-
|
|
319
|
+
"2026-08-31T07:26:08.091Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|