@orq-ai/node 4.15.0-rc.50 → 4.15.0-rc.52
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/funcs/workspaceSettingsUpdate.d.ts +1 -1
- package/funcs/workspaceSettingsUpdate.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/guardrailruleplugin.d.ts +2 -2
- package/models/components/piiredactionconfig.d.ts +20 -0
- package/models/components/piiredactionconfig.d.ts.map +1 -1
- package/models/components/piiredactionconfig.js +6 -0
- package/models/components/piiredactionconfig.js.map +1 -1
- package/models/components/publicplugin.d.ts +2 -2
- package/models/components/reasoningpart.js +1 -1
- package/models/components/routingruleplugin.d.ts +2 -2
- package/models/components/traceusage.d.ts +1 -0
- package/models/components/traceusage.d.ts.map +1 -1
- package/models/components/traceusage.js +2 -0
- package/models/components/traceusage.js.map +1 -1
- package/models/components/updateworkspacesettingsrequest.d.ts +3 -3
- 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 +7 -7
- package/sdk/workspacesettings.d.ts +1 -1
- package/sdk/workspacesettings.js +1 -1
- package/src/funcs/workspaceSettingsUpdate.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/guardrailruleplugin.ts +2 -2
- package/src/models/components/piiredactionconfig.ts +22 -0
- package/src/models/components/publicplugin.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/routingruleplugin.ts +2 -2
- package/src/models/components/traceusage.ts +3 -0
- package/src/models/components/updateworkspacesettingsrequest.ts +3 -3
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/workspacesettings.ts +1 -1
|
@@ -11,7 +11,7 @@ import { Result } from "../types/fp.js";
|
|
|
11
11
|
* Update workspace settings
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
* Partially updates workspace settings. Every field is optional; an omitted field is left unchanged. Provide `display_name` to rename the workspace, `enforce_enabled_models` to toggle model enforcement, or `pii_redaction` to
|
|
14
|
+
* Partially updates workspace settings. Every field is optional; an omitted field is left unchanged. Provide `display_name` to rename the workspace, `enforce_enabled_models` to toggle model enforcement, or `pii_redaction` to update the workspace-default PII redaction plugin: `enabled` is always applied, and `config` replaces the stored config only when present.
|
|
15
15
|
*/
|
|
16
16
|
export declare function workspaceSettingsUpdate(client: OrqCore, request: components.UpdateWorkspaceSettingsRequest, options?: RequestOptions): APIPromise<Result<components.UpdateWorkspaceSettingsResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
17
|
//# sourceMappingURL=workspaceSettingsUpdate.d.ts.map
|
|
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
50
50
|
* Update workspace settings
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Partially updates workspace settings. Every field is optional; an omitted field is left unchanged. Provide `display_name` to rename the workspace, `enforce_enabled_models` to toggle model enforcement, or `pii_redaction` to
|
|
53
|
+
* Partially updates workspace settings. Every field is optional; an omitted field is left unchanged. Provide `display_name` to rename the workspace, `enforce_enabled_models` to toggle model enforcement, or `pii_redaction` to update the workspace-default PII redaction plugin: `enabled` is always applied, and `config` replaces the stored config only when present.
|
|
54
54
|
*/
|
|
55
55
|
function workspaceSettingsUpdate(client, request, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, request, options));
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "2.0";
|
|
34
|
-
readonly sdkVersion: "4.15.0-rc.
|
|
34
|
+
readonly sdkVersion: "4.15.0-rc.52";
|
|
35
35
|
readonly genVersion: "2.937.18";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 4.15.0-rc.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 4.15.0-rc.52 2.937.18 2.0 @orq-ai/node";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
|
|
|
28
28
|
exports.SDK_METADATA = {
|
|
29
29
|
language: "typescript",
|
|
30
30
|
openapiDocVersion: "2.0",
|
|
31
|
-
sdkVersion: "4.15.0-rc.
|
|
31
|
+
sdkVersion: "4.15.0-rc.52",
|
|
32
32
|
genVersion: "2.937.18",
|
|
33
|
-
userAgent: "speakeasy-sdk/typescript 4.15.0-rc.
|
|
33
|
+
userAgent: "speakeasy-sdk/typescript 4.15.0-rc.52 2.937.18 2.0 @orq-ai/node",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
|
@@ -16,13 +16,13 @@ export type GuardrailRulePlugin = {
|
|
|
16
16
|
*/
|
|
17
17
|
language?: string | undefined;
|
|
18
18
|
/**
|
|
19
|
-
* Entity types to redact.
|
|
19
|
+
* Entity types to redact. On their own a strict allowlist; alongside regions they add to the region coverage.
|
|
20
20
|
*/
|
|
21
21
|
entities?: Array<string> | undefined;
|
|
22
22
|
onFailure?: string | undefined;
|
|
23
23
|
threshold?: number | undefined;
|
|
24
24
|
/**
|
|
25
|
-
* Regions of coverage by ISO 3166-1 alpha-2 code, or ["all"].
|
|
25
|
+
* Regions of coverage by ISO 3166-1 alpha-2 code, or ["all"]. Combines with entities: the two selections are unioned.
|
|
26
26
|
*/
|
|
27
27
|
regions?: Array<string> | undefined;
|
|
28
28
|
/**
|
|
@@ -40,6 +40,22 @@ export type PiiRedactionConfig = {
|
|
|
40
40
|
* Detection confidence threshold in the [0, 1] range.
|
|
41
41
|
*/
|
|
42
42
|
threshold?: number | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Regions of coverage by lowercase ISO 3166-1 alpha-2 code, or ["all"].
|
|
45
|
+
*
|
|
46
|
+
* @remarks
|
|
47
|
+
* Adds every entity type the regions cover on top of `entities`.
|
|
48
|
+
*/
|
|
49
|
+
regions?: Array<string> | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Per-entity-type confidence cutoff in [0, 1]. Every key must also appear in
|
|
52
|
+
*
|
|
53
|
+
* @remarks
|
|
54
|
+
* `entities`.
|
|
55
|
+
*/
|
|
56
|
+
entityThresholds?: {
|
|
57
|
+
[k: string]: number;
|
|
58
|
+
} | undefined;
|
|
43
59
|
};
|
|
44
60
|
/** @internal */
|
|
45
61
|
export declare const PiiRedactionConfig$inboundSchema: z.ZodType<PiiRedactionConfig, z.ZodTypeDef, unknown>;
|
|
@@ -49,6 +65,10 @@ export type PiiRedactionConfig$Outbound = {
|
|
|
49
65
|
entities?: Array<string> | undefined;
|
|
50
66
|
on_failure?: string | undefined;
|
|
51
67
|
threshold?: number | undefined;
|
|
68
|
+
regions?: Array<string> | undefined;
|
|
69
|
+
entity_thresholds?: {
|
|
70
|
+
[k: string]: number;
|
|
71
|
+
} | undefined;
|
|
52
72
|
};
|
|
53
73
|
/** @internal */
|
|
54
74
|
export declare const PiiRedactionConfig$outboundSchema: z.ZodType<PiiRedactionConfig$Outbound, z.ZodTypeDef, PiiRedactionConfig>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"piiredactionconfig.d.ts","sourceRoot":"","sources":["../../src/models/components/piiredactionconfig.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACrC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"piiredactionconfig.d.ts","sourceRoot":"","sources":["../../src/models/components/piiredactionconfig.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACrC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;;;;OAKG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACpC;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAaP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACpC,iBAAiB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAalB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AACD,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -48,9 +48,12 @@ exports.PiiRedactionConfig$inboundSchema = z.object({
|
|
|
48
48
|
entities: z.array(z.string()).optional(),
|
|
49
49
|
on_failure: z.string().optional(),
|
|
50
50
|
threshold: z.number().optional(),
|
|
51
|
+
regions: z.array(z.string()).optional(),
|
|
52
|
+
entity_thresholds: z.record(z.number()).optional(),
|
|
51
53
|
}).transform((v) => {
|
|
52
54
|
return (0, primitives_js_1.remap)(v, {
|
|
53
55
|
"on_failure": "onFailure",
|
|
56
|
+
"entity_thresholds": "entityThresholds",
|
|
54
57
|
});
|
|
55
58
|
});
|
|
56
59
|
/** @internal */
|
|
@@ -59,9 +62,12 @@ exports.PiiRedactionConfig$outboundSchema = z.object({
|
|
|
59
62
|
entities: z.array(z.string()).optional(),
|
|
60
63
|
onFailure: z.string().optional(),
|
|
61
64
|
threshold: z.number().optional(),
|
|
65
|
+
regions: z.array(z.string()).optional(),
|
|
66
|
+
entityThresholds: z.record(z.number()).optional(),
|
|
62
67
|
}).transform((v) => {
|
|
63
68
|
return (0, primitives_js_1.remap)(v, {
|
|
64
69
|
onFailure: "on_failure",
|
|
70
|
+
entityThresholds: "entity_thresholds",
|
|
65
71
|
});
|
|
66
72
|
});
|
|
67
73
|
function piiRedactionConfigToJSON(piiRedactionConfig) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"piiredactionconfig.js","sourceRoot":"","sources":["../../src/models/components/piiredactionconfig.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"piiredactionconfig.js","sourceRoot":"","sources":["../../src/models/components/piiredactionconfig.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8GH,4DAMC;AACD,gEAQC;AA3HD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AA2DjD,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvC,iBAAiB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACnD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;QACzB,mBAAmB,EAAE,kBAAkB;KACxC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAWH,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvC,gBAAgB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;QACvB,gBAAgB,EAAE,mBAAmB;KACtC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC;AACD,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -34,7 +34,7 @@ export declare const PublicPluginOnFailure: {
|
|
|
34
34
|
export type PublicPluginOnFailure = ClosedEnum<typeof PublicPluginOnFailure>;
|
|
35
35
|
export type PublicPlugin = {
|
|
36
36
|
/**
|
|
37
|
-
* pii_redaction only. Entity types to redact (e.g. EMAIL_ADDRESS, BSN). Omit to redact every type detected for the language and regions.
|
|
37
|
+
* pii_redaction only. Entity types to redact (e.g. EMAIL_ADDRESS, BSN). On its own this is a strict allowlist; alongside regions it adds to the region coverage. Omit to redact every type detected for the language and regions. See GET /v2/pii/capabilities for valid types.
|
|
38
38
|
*/
|
|
39
39
|
entities?: Array<string> | null | undefined;
|
|
40
40
|
/**
|
|
@@ -60,7 +60,7 @@ export type PublicPlugin = {
|
|
|
60
60
|
*/
|
|
61
61
|
onFailure?: PublicPluginOnFailure | undefined;
|
|
62
62
|
/**
|
|
63
|
-
* pii_redaction only. Region codes
|
|
63
|
+
* pii_redaction only. Region codes selecting whole regions of coverage (e.g. nl, gb). Every entity type those regions cover is redacted, alongside the base catalog. ["all"] cannot be combined with other region codes, and leaving both this and entities empty also runs every region, so selecting nothing is the widest request rather than the narrowest. Combines with entities: the two selections are unioned.
|
|
64
64
|
*/
|
|
65
65
|
regions?: Array<string> | null | undefined;
|
|
66
66
|
/**
|
|
@@ -43,7 +43,7 @@ const primitives_js_1 = require("../../lib/primitives.js");
|
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
/** @internal */
|
|
45
45
|
exports.ReasoningPart$inboundSchema = z.object({
|
|
46
|
-
_id: z.string().default("
|
|
46
|
+
_id: z.string().default("reasoning_01m2mm6e2bs56vcx8twmng9avj"),
|
|
47
47
|
metadata: z.record(z.any()).optional(),
|
|
48
48
|
kind: z.literal("reasoning"),
|
|
49
49
|
reasoning: z.string(),
|
|
@@ -16,14 +16,14 @@ export type RoutingRulePlugin = {
|
|
|
16
16
|
*/
|
|
17
17
|
language?: string | undefined;
|
|
18
18
|
/**
|
|
19
|
-
* Entity types to redact.
|
|
19
|
+
* Entity types to redact. On their own a strict allowlist; alongside regions they add to the region coverage.
|
|
20
20
|
*/
|
|
21
21
|
entities?: Array<string> | undefined;
|
|
22
22
|
onFailure?: string | undefined;
|
|
23
23
|
threshold?: number | undefined;
|
|
24
24
|
mask?: Array<string> | undefined;
|
|
25
25
|
/**
|
|
26
|
-
* Regions of coverage by ISO 3166-1 alpha-2 code, or ["all"].
|
|
26
|
+
* Regions of coverage by ISO 3166-1 alpha-2 code, or ["all"]. Combines with entities: the two selections are unioned.
|
|
27
27
|
*/
|
|
28
28
|
regions?: Array<string> | undefined;
|
|
29
29
|
/**
|
|
@@ -11,6 +11,7 @@ export type TraceUsage = {
|
|
|
11
11
|
completionAudioTokens?: number | undefined;
|
|
12
12
|
completionAcceptedPredictionTokens?: number | undefined;
|
|
13
13
|
completionRejectedPredictionTokens?: number | undefined;
|
|
14
|
+
promptCacheCreationTokens?: number | undefined;
|
|
14
15
|
};
|
|
15
16
|
/** @internal */
|
|
16
17
|
export declare const TraceUsage$inboundSchema: z.ZodType<TraceUsage, z.ZodTypeDef, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"traceusage.d.ts","sourceRoot":"","sources":["../../src/models/components/traceusage.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,UAAU,GAAG;IACvB,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,yBAAyB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/C,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,kCAAkC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxD,kCAAkC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"traceusage.d.ts","sourceRoot":"","sources":["../../src/models/components/traceusage.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,UAAU,GAAG;IACvB,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,yBAAyB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/C,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,kCAAkC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxD,kCAAkC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxD,yBAAyB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,UAAU,EACV,CAAC,CAAC,UAAU,EACZ,OAAO,CA2BP,CAAC;AAEH,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD"}
|
|
@@ -52,6 +52,7 @@ exports.TraceUsage$inboundSchema = z.object({
|
|
|
52
52
|
completion_audio_tokens: z.number().int().optional(),
|
|
53
53
|
completion_accepted_prediction_tokens: z.number().int().optional(),
|
|
54
54
|
completion_rejected_prediction_tokens: z.number().int().optional(),
|
|
55
|
+
prompt_cache_creation_tokens: z.number().int().optional(),
|
|
55
56
|
}).transform((v) => {
|
|
56
57
|
return (0, primitives_js_1.remap)(v, {
|
|
57
58
|
"prompt_tokens": "promptTokens",
|
|
@@ -63,6 +64,7 @@ exports.TraceUsage$inboundSchema = z.object({
|
|
|
63
64
|
"completion_audio_tokens": "completionAudioTokens",
|
|
64
65
|
"completion_accepted_prediction_tokens": "completionAcceptedPredictionTokens",
|
|
65
66
|
"completion_rejected_prediction_tokens": "completionRejectedPredictionTokens",
|
|
67
|
+
"prompt_cache_creation_tokens": "promptCacheCreationTokens",
|
|
66
68
|
});
|
|
67
69
|
});
|
|
68
70
|
function traceUsageFromJSON(jsonString) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"traceusage.js","sourceRoot":"","sources":["../../src/models/components/traceusage.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"traceusage.js","sourceRoot":"","sources":["../../src/models/components/traceusage.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDH,gDAQC;AA5DD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAiBjD,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,CAAC,CAAC,MAAM,CAAC;IACX,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC1C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC9C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACzC,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACjD,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAChD,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACxD,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACpD,qCAAqC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAClE,qCAAqC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAClE,4BAA4B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CAC1D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,eAAe,EAAE,cAAc;QAC/B,mBAAmB,EAAE,kBAAkB;QACvC,cAAc,EAAE,aAAa;QAC7B,sBAAsB,EAAE,oBAAoB;QAC5C,qBAAqB,EAAE,mBAAmB;QAC1C,6BAA6B,EAAE,2BAA2B;QAC1D,yBAAyB,EAAE,uBAAuB;QAClD,uCAAuC,EACrC,oCAAoC;QACtC,uCAAuC,EACrC,oCAAoC;QACtC,8BAA8B,EAAE,2BAA2B;KAC5D,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,kBAAkB,CAChC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpD,wCAAwC,CACzC,CAAC;AACJ,CAAC"}
|
|
@@ -24,11 +24,11 @@ export type UpdateWorkspaceSettingsRequest = {
|
|
|
24
24
|
*/
|
|
25
25
|
enforceEnabledModels?: boolean | undefined;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Workspace-default PII redaction update. Omit to leave it unchanged. When
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
*
|
|
31
|
-
* replaces
|
|
30
|
+
* present, `enabled` is always applied; `config` omitted keeps the stored
|
|
31
|
+
* config, `config` present replaces it wholesale, and `config: {}` clears it.
|
|
32
32
|
*/
|
|
33
33
|
piiRedaction?: PiiRedaction | undefined;
|
|
34
34
|
};
|
|
@@ -79,7 +79,7 @@ exports.CreateDatasetResponseBody$inboundSchema = z.object({
|
|
|
79
79
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
80
80
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
81
81
|
.optional(),
|
|
82
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
82
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T08:09:01.077Z").transform(v => new Date(v)),
|
|
83
83
|
}).transform((v) => {
|
|
84
84
|
return (0, primitives_js_1.remap)(v, {
|
|
85
85
|
"_id": "id",
|
|
@@ -863,7 +863,7 @@ exports.Evaluations4$inboundSchema = z.object({
|
|
|
863
863
|
parent_annotation_id: z.string().optional(),
|
|
864
864
|
explanation: z.string().optional(),
|
|
865
865
|
reviewed_by_id: z.string(),
|
|
866
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
866
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T08:09:10.151Z").transform(v => new Date(v)),
|
|
867
867
|
type: z.literal("string_array"),
|
|
868
868
|
values: z.array(z.string()),
|
|
869
869
|
}).transform((v) => {
|
|
@@ -916,7 +916,7 @@ exports.CreateDatasetItemEvaluations3$inboundSchema = z.object({
|
|
|
916
916
|
parent_annotation_id: z.string().optional(),
|
|
917
917
|
explanation: z.string().optional(),
|
|
918
918
|
reviewed_by_id: z.string(),
|
|
919
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
919
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T08:09:10.150Z").transform(v => new Date(v)),
|
|
920
920
|
type: z.literal("boolean"),
|
|
921
921
|
value: z.boolean(),
|
|
922
922
|
}).transform((v) => {
|
|
@@ -963,7 +963,7 @@ exports.Evaluations2$inboundSchema = z.object({
|
|
|
963
963
|
parent_annotation_id: z.string().optional(),
|
|
964
964
|
explanation: z.string().optional(),
|
|
965
965
|
reviewed_by_id: z.string(),
|
|
966
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
966
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T08:09:10.150Z").transform(v => new Date(v)),
|
|
967
967
|
type: z.literal("number"),
|
|
968
968
|
value: z.number(),
|
|
969
969
|
}).transform((v) => {
|
|
@@ -1010,7 +1010,7 @@ exports.Evaluations1$inboundSchema = z.object({
|
|
|
1010
1010
|
parent_annotation_id: z.string().optional(),
|
|
1011
1011
|
explanation: z.string().optional(),
|
|
1012
1012
|
reviewed_by_id: z.string(),
|
|
1013
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
1013
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T08:09:10.150Z").transform(v => new Date(v)),
|
|
1014
1014
|
type: z.literal("string"),
|
|
1015
1015
|
value: z.string(),
|
|
1016
1016
|
}).transform((v) => {
|
|
@@ -1061,7 +1061,7 @@ exports.ResponseBody$inboundSchema = z.object({
|
|
|
1061
1061
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1062
1062
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1063
1063
|
.optional(),
|
|
1064
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
1064
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T08:09:01.077Z").transform(v => new Date(v)),
|
|
1065
1065
|
}).transform((v) => {
|
|
1066
1066
|
return (0, primitives_js_1.remap)(v, {
|
|
1067
1067
|
"_id": "id",
|
|
@@ -472,7 +472,7 @@ function responseBodyCodeToolFromJSON(jsonString) {
|
|
|
472
472
|
}
|
|
473
473
|
/** @internal */
|
|
474
474
|
exports.ResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
475
|
-
_id: z.string().default("
|
|
475
|
+
_id: z.string().default("tool_01M2MM6E72C9Q8N3QW74TGMXMY"),
|
|
476
476
|
path: z.string(),
|
|
477
477
|
key: z.string(),
|
|
478
478
|
display_name: z.string().optional(),
|
|
@@ -562,7 +562,7 @@ function responseBodyHttpFromJSON(jsonString) {
|
|
|
562
562
|
}
|
|
563
563
|
/** @internal */
|
|
564
564
|
exports.ResponseBodyHTTPTool$inboundSchema = z.object({
|
|
565
|
-
_id: z.string().default("
|
|
565
|
+
_id: z.string().default("tool_01M2MM6E71SZ1D7X8MGKFE0272"),
|
|
566
566
|
path: z.string(),
|
|
567
567
|
key: z.string(),
|
|
568
568
|
display_name: z.string().optional(),
|
|
@@ -612,7 +612,7 @@ function responseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
612
612
|
}
|
|
613
613
|
/** @internal */
|
|
614
614
|
exports.ResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
615
|
-
_id: z.string().default("
|
|
615
|
+
_id: z.string().default("tool_01M2MM6E707K2GZGFK0AQNJBVV"),
|
|
616
616
|
path: z.string(),
|
|
617
617
|
key: z.string(),
|
|
618
618
|
display_name: z.string().optional(),
|
|
@@ -665,7 +665,7 @@ function responseBodyFunctionFromJSON(jsonString) {
|
|
|
665
665
|
}
|
|
666
666
|
/** @internal */
|
|
667
667
|
exports.ResponseBodyFunctionTool$inboundSchema = z.object({
|
|
668
|
-
_id: z.string().default("
|
|
668
|
+
_id: z.string().default("tool_01M2MM6E6ZMX0HHNWXB9ZXS6T5"),
|
|
669
669
|
path: z.string(),
|
|
670
670
|
key: z.string(),
|
|
671
671
|
display_name: z.string().optional(),
|
|
@@ -172,7 +172,7 @@ function dataCodeToolFromJSON(jsonString) {
|
|
|
172
172
|
}
|
|
173
173
|
/** @internal */
|
|
174
174
|
exports.DataCodeExecutionTool$inboundSchema = z.object({
|
|
175
|
-
_id: z.string().default("
|
|
175
|
+
_id: z.string().default("tool_01M2MM6E6SQK9RCPPKCS7KN2HA"),
|
|
176
176
|
path: z.string(),
|
|
177
177
|
key: z.string(),
|
|
178
178
|
display_name: z.string().optional(),
|
|
@@ -261,7 +261,7 @@ function dataHttpFromJSON(jsonString) {
|
|
|
261
261
|
}
|
|
262
262
|
/** @internal */
|
|
263
263
|
exports.DataHTTPTool$inboundSchema = z.object({
|
|
264
|
-
_id: z.string().default("
|
|
264
|
+
_id: z.string().default("tool_01M2MM6E6RDSZCZJQ9PD1JWSZR"),
|
|
265
265
|
path: z.string(),
|
|
266
266
|
key: z.string(),
|
|
267
267
|
display_name: z.string().optional(),
|
|
@@ -311,7 +311,7 @@ function dataJsonSchemaFromJSON(jsonString) {
|
|
|
311
311
|
}
|
|
312
312
|
/** @internal */
|
|
313
313
|
exports.DataJSONSchemaTool$inboundSchema = z.object({
|
|
314
|
-
_id: z.string().default("
|
|
314
|
+
_id: z.string().default("tool_01M2MM6E6Q7V5HV215F28J7CK0"),
|
|
315
315
|
path: z.string(),
|
|
316
316
|
key: z.string(),
|
|
317
317
|
display_name: z.string().optional(),
|
|
@@ -366,7 +366,7 @@ function dataFunctionFromJSON(jsonString) {
|
|
|
366
366
|
}
|
|
367
367
|
/** @internal */
|
|
368
368
|
exports.DataFunctionTool$inboundSchema = z.object({
|
|
369
|
-
_id: z.string().default("
|
|
369
|
+
_id: z.string().default("tool_01M2MM6E6Q6WMHVD7WQA8RSDVJ"),
|
|
370
370
|
path: z.string(),
|
|
371
371
|
key: z.string(),
|
|
372
372
|
display_name: z.string().optional(),
|
|
@@ -67,7 +67,7 @@ exports.GetV2HumanEvalSetsResponseBody2$inboundSchema = z.object({
|
|
|
67
67
|
updated_by_id: z.string().optional(),
|
|
68
68
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
69
69
|
.optional(),
|
|
70
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
70
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T08:09:01.077Z").transform(v => new Date(v)),
|
|
71
71
|
filter_type: z.literal("name"),
|
|
72
72
|
filter_value: z.string(),
|
|
73
73
|
}).transform((v) => {
|
|
@@ -98,7 +98,7 @@ exports.GetV2HumanEvalSetsResponseBody1$inboundSchema = z.object({
|
|
|
98
98
|
updated_by_id: z.string().optional(),
|
|
99
99
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
100
100
|
.optional(),
|
|
101
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
101
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T08:09:01.077Z").transform(v => new Date(v)),
|
|
102
102
|
filter_type: z.literal("span_type"),
|
|
103
103
|
filter_values: z.array(z.string()),
|
|
104
104
|
}).transform((v) => {
|
|
@@ -63,7 +63,7 @@ exports.GetV2HumanEvalSetsIdResponseBody2$inboundSchema = z.object({
|
|
|
63
63
|
updated_by_id: z.string().optional(),
|
|
64
64
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
65
65
|
.optional(),
|
|
66
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
66
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T08:09:01.077Z").transform(v => new Date(v)),
|
|
67
67
|
filter_type: z.literal("name"),
|
|
68
68
|
filter_value: z.string(),
|
|
69
69
|
}).transform((v) => {
|
|
@@ -94,7 +94,7 @@ exports.GetV2HumanEvalSetsIdResponseBody1$inboundSchema = z.object({
|
|
|
94
94
|
updated_by_id: z.string().optional(),
|
|
95
95
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
96
96
|
.optional(),
|
|
97
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
97
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T08:09:01.077Z").transform(v => new Date(v)),
|
|
98
98
|
filter_type: z.literal("span_type"),
|
|
99
99
|
filter_values: z.array(z.string()),
|
|
100
100
|
}).transform((v) => {
|
|
@@ -529,7 +529,7 @@ exports.ListDatasetDatapointsEvaluations4$inboundSchema = z.object({
|
|
|
529
529
|
parent_annotation_id: z.string().optional(),
|
|
530
530
|
explanation: z.string().optional(),
|
|
531
531
|
reviewed_by_id: z.string(),
|
|
532
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
532
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T08:09:10.143Z").transform(v => new Date(v)),
|
|
533
533
|
type: z.literal("string_array"),
|
|
534
534
|
values: z.array(z.string()),
|
|
535
535
|
}).transform((v) => {
|
|
@@ -581,7 +581,7 @@ exports.ListDatasetDatapointsEvaluations3$inboundSchema = z.object({
|
|
|
581
581
|
parent_annotation_id: z.string().optional(),
|
|
582
582
|
explanation: z.string().optional(),
|
|
583
583
|
reviewed_by_id: z.string(),
|
|
584
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
584
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T08:09:10.143Z").transform(v => new Date(v)),
|
|
585
585
|
type: z.literal("boolean"),
|
|
586
586
|
value: z.boolean(),
|
|
587
587
|
}).transform((v) => {
|
|
@@ -630,7 +630,7 @@ exports.ListDatasetDatapointsEvaluations2$inboundSchema = z.object({
|
|
|
630
630
|
parent_annotation_id: z.string().optional(),
|
|
631
631
|
explanation: z.string().optional(),
|
|
632
632
|
reviewed_by_id: z.string(),
|
|
633
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
633
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T08:09:10.143Z").transform(v => new Date(v)),
|
|
634
634
|
type: z.literal("number"),
|
|
635
635
|
value: z.number(),
|
|
636
636
|
}).transform((v) => {
|
|
@@ -680,7 +680,7 @@ exports.ListDatasetDatapointsEvaluations1$inboundSchema = z.object({
|
|
|
680
680
|
parent_annotation_id: z.string().optional(),
|
|
681
681
|
explanation: z.string().optional(),
|
|
682
682
|
reviewed_by_id: z.string(),
|
|
683
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
683
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T08:09:10.142Z").transform(v => new Date(v)),
|
|
684
684
|
type: z.literal("string"),
|
|
685
685
|
value: z.string(),
|
|
686
686
|
}).transform((v) => {
|
|
@@ -731,7 +731,7 @@ exports.ListDatasetDatapointsData$inboundSchema = z.object({
|
|
|
731
731
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
732
732
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
733
733
|
.optional(),
|
|
734
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
734
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T08:09:01.077Z").transform(v => new Date(v)),
|
|
735
735
|
}).transform((v) => {
|
|
736
736
|
return (0, primitives_js_1.remap)(v, {
|
|
737
737
|
"_id": "id",
|
|
@@ -90,7 +90,7 @@ exports.ListDatasetsData$inboundSchema = z.object({
|
|
|
90
90
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
91
91
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
92
92
|
.optional(),
|
|
93
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
93
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T08:09:01.077Z").transform(v => new Date(v)),
|
|
94
94
|
}).transform((v) => {
|
|
95
95
|
return (0, primitives_js_1.remap)(v, {
|
|
96
96
|
"_id": "id",
|
|
@@ -122,7 +122,7 @@ exports.PatchV2HumanEvalSetsIdResponseBody2$inboundSchema = z.object({
|
|
|
122
122
|
updated_by_id: z.string().optional(),
|
|
123
123
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
124
124
|
.optional(),
|
|
125
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
125
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T08:09:01.077Z").transform(v => new Date(v)),
|
|
126
126
|
filter_type: z.literal("name"),
|
|
127
127
|
filter_value: z.string(),
|
|
128
128
|
}).transform((v) => {
|
|
@@ -153,7 +153,7 @@ exports.PatchV2HumanEvalSetsIdResponseBody1$inboundSchema = z.object({
|
|
|
153
153
|
updated_by_id: z.string().optional(),
|
|
154
154
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
155
155
|
.optional(),
|
|
156
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
156
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T08:09:01.077Z").transform(v => new Date(v)),
|
|
157
157
|
filter_type: z.literal("span_type"),
|
|
158
158
|
filter_values: z.array(z.string()),
|
|
159
159
|
}).transform((v) => {
|
|
@@ -96,7 +96,7 @@ exports.RequestBody4$outboundSchema = z.object({
|
|
|
96
96
|
source: exports.PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
|
|
97
97
|
.default("orq"),
|
|
98
98
|
explanation: z.string().optional(),
|
|
99
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
99
|
+
reviewedAt: z.date().default(() => new Date("2026-09-16T08:09:10.212Z"))
|
|
100
100
|
.transform(v => v.toISOString()),
|
|
101
101
|
type: z.literal("string_array"),
|
|
102
102
|
values: z.array(z.string()),
|
|
@@ -126,7 +126,7 @@ exports.Three$outboundSchema = z.object({
|
|
|
126
126
|
source: exports.PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
|
|
127
127
|
.default("orq"),
|
|
128
128
|
explanation: z.string().optional(),
|
|
129
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
129
|
+
reviewedAt: z.date().default(() => new Date("2026-09-16T08:09:10.212Z"))
|
|
130
130
|
.transform(v => v.toISOString()),
|
|
131
131
|
type: z.literal("boolean"),
|
|
132
132
|
value: z.boolean(),
|
|
@@ -154,7 +154,7 @@ exports.RequestBody2$outboundSchema = z.object({
|
|
|
154
154
|
humanReviewId: z.string().optional(),
|
|
155
155
|
source: exports.PostV2FeedbackEvaluationRequestBodySource$outboundSchema.default("orq"),
|
|
156
156
|
explanation: z.string().optional(),
|
|
157
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
157
|
+
reviewedAt: z.date().default(() => new Date("2026-09-16T08:09:10.212Z"))
|
|
158
158
|
.transform(v => v.toISOString()),
|
|
159
159
|
type: z.literal("number"),
|
|
160
160
|
value: z.number(),
|
|
@@ -181,7 +181,7 @@ exports.RequestBody1$outboundSchema = z.object({
|
|
|
181
181
|
humanReviewId: z.string().optional(),
|
|
182
182
|
source: exports.RequestBodySource$outboundSchema.default("orq"),
|
|
183
183
|
explanation: z.string().optional(),
|
|
184
|
-
reviewedAt: z.date().default(() => new Date("2026-09-
|
|
184
|
+
reviewedAt: z.date().default(() => new Date("2026-09-16T08:09:10.212Z"))
|
|
185
185
|
.transform(v => v.toISOString()),
|
|
186
186
|
type: z.literal("string"),
|
|
187
187
|
value: z.string(),
|
|
@@ -106,7 +106,7 @@ exports.PostV2HumanEvalSetsResponseBody2$inboundSchema = z.object({
|
|
|
106
106
|
updated_by_id: z.string().optional(),
|
|
107
107
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
108
108
|
.optional(),
|
|
109
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
109
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T08:09:01.077Z").transform(v => new Date(v)),
|
|
110
110
|
filter_type: z.literal("name"),
|
|
111
111
|
filter_value: z.string(),
|
|
112
112
|
}).transform((v) => {
|
|
@@ -137,7 +137,7 @@ exports.PostV2HumanEvalSetsResponseBody1$inboundSchema = z.object({
|
|
|
137
137
|
updated_by_id: z.string().optional(),
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
140
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T08:09:01.077Z").transform(v => new Date(v)),
|
|
141
141
|
filter_type: z.literal("span_type"),
|
|
142
142
|
filter_values: z.array(z.string()),
|
|
143
143
|
}).transform((v) => {
|
|
@@ -520,7 +520,7 @@ exports.RetrieveDatapointEvaluations4$inboundSchema = z.object({
|
|
|
520
520
|
parent_annotation_id: z.string().optional(),
|
|
521
521
|
explanation: z.string().optional(),
|
|
522
522
|
reviewed_by_id: z.string(),
|
|
523
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
523
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T08:09:10.147Z").transform(v => new Date(v)),
|
|
524
524
|
type: z.literal("string_array"),
|
|
525
525
|
values: z.array(z.string()),
|
|
526
526
|
}).transform((v) => {
|
|
@@ -571,7 +571,7 @@ exports.Evaluations3$inboundSchema = z.object({
|
|
|
571
571
|
parent_annotation_id: z.string().optional(),
|
|
572
572
|
explanation: z.string().optional(),
|
|
573
573
|
reviewed_by_id: z.string(),
|
|
574
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
574
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T08:09:10.147Z").transform(v => new Date(v)),
|
|
575
575
|
type: z.literal("boolean"),
|
|
576
576
|
value: z.boolean(),
|
|
577
577
|
}).transform((v) => {
|
|
@@ -623,7 +623,7 @@ exports.RetrieveDatapointEvaluations2$inboundSchema = z.object({
|
|
|
623
623
|
parent_annotation_id: z.string().optional(),
|
|
624
624
|
explanation: z.string().optional(),
|
|
625
625
|
reviewed_by_id: z.string(),
|
|
626
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
626
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T08:09:10.146Z").transform(v => new Date(v)),
|
|
627
627
|
type: z.literal("number"),
|
|
628
628
|
value: z.number(),
|
|
629
629
|
}).transform((v) => {
|
|
@@ -674,7 +674,7 @@ exports.RetrieveDatapointEvaluations1$inboundSchema = z.object({
|
|
|
674
674
|
parent_annotation_id: z.string().optional(),
|
|
675
675
|
explanation: z.string().optional(),
|
|
676
676
|
reviewed_by_id: z.string(),
|
|
677
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-
|
|
677
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-09-16T08:09:10.146Z").transform(v => new Date(v)),
|
|
678
678
|
type: z.literal("string"),
|
|
679
679
|
value: z.string(),
|
|
680
680
|
}).transform((v) => {
|
|
@@ -725,7 +725,7 @@ exports.RetrieveDatapointResponseBody$inboundSchema = z.object({
|
|
|
725
725
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
726
726
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
727
727
|
.optional(),
|
|
728
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
728
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T08:09:01.077Z").transform(v => new Date(v)),
|
|
729
729
|
}).transform((v) => {
|
|
730
730
|
return (0, primitives_js_1.remap)(v, {
|
|
731
731
|
"_id": "id",
|
|
@@ -78,7 +78,7 @@ exports.RetrieveDatasetResponseBody$inboundSchema = z.object({
|
|
|
78
78
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
79
79
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
80
80
|
.optional(),
|
|
81
|
-
updated: z.string().datetime({ offset: true }).default("2026-09-
|
|
81
|
+
updated: z.string().datetime({ offset: true }).default("2026-09-16T08:09:01.077Z").transform(v => new Date(v)),
|
|
82
82
|
}).transform((v) => {
|
|
83
83
|
return (0, primitives_js_1.remap)(v, {
|
|
84
84
|
"_id": "id",
|