@orq-ai/node 4.12.0-rc.14 → 4.12.0-rc.16
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 +46 -41
- package/funcs/notifiersList.js +2 -0
- package/funcs/notifiersList.js.map +1 -1
- package/funcs/reportingQuery.d.ts +3 -1
- package/funcs/reportingQuery.d.ts.map +1 -1
- package/funcs/reportingQuery.js +3 -1
- package/funcs/reportingQuery.js.map +1 -1
- package/funcs/telemetryQuery.d.ts +17 -0
- package/funcs/telemetryQuery.d.ts.map +1 -0
- package/funcs/telemetryQuery.js +115 -0
- package/funcs/telemetryQuery.js.map +1 -0
- package/funcs/tracesAggregate.d.ts +3 -1
- package/funcs/tracesAggregate.d.ts.map +1 -1
- package/funcs/tracesAggregate.js +3 -1
- package/funcs/tracesAggregate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/apikey.d.ts +5 -0
- package/models/components/apikey.d.ts.map +1 -1
- package/models/components/apikey.js +2 -0
- package/models/components/apikey.js.map +1 -1
- package/models/components/budget.d.ts +5 -0
- package/models/components/budget.d.ts.map +1 -1
- package/models/components/budget.js +2 -0
- package/models/components/budget.js.map +1 -1
- package/models/components/budgetalert.d.ts +41 -0
- package/models/components/budgetalert.d.ts.map +1 -0
- package/models/components/budgetalert.js +76 -0
- package/models/components/budgetalert.js.map +1 -0
- package/models/components/budgetalertdimension.d.ts +13 -0
- package/models/components/budgetalertdimension.d.ts.map +1 -0
- package/models/components/budgetalertdimension.js +50 -0
- package/models/components/budgetalertdimension.js.map +1 -0
- package/models/components/createbudgetrequest.d.ts +9 -0
- package/models/components/createbudgetrequest.d.ts.map +1 -1
- package/models/components/createbudgetrequest.js +2 -0
- package/models/components/createbudgetrequest.js.map +1 -1
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/identity.d.ts +5 -0
- package/models/components/identity.d.ts.map +1 -1
- package/models/components/identity.js +2 -0
- package/models/components/identity.js.map +1 -1
- package/models/components/index.d.ts +6 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +6 -0
- package/models/components/index.js.map +1 -1
- package/models/components/querytelemetrymeta.d.ts +11 -0
- package/models/components/querytelemetrymeta.d.ts.map +1 -0
- package/models/components/querytelemetrymeta.js +56 -0
- package/models/components/querytelemetrymeta.js.map +1 -0
- package/models/components/querytelemetryrequest.d.ts +40 -0
- package/models/components/querytelemetryrequest.d.ts.map +1 -0
- package/models/components/querytelemetryrequest.js +69 -0
- package/models/components/querytelemetryrequest.js.map +1 -0
- package/models/components/querytelemetryresponse.d.ts +15 -0
- package/models/components/querytelemetryresponse.d.ts.map +1 -0
- package/models/components/querytelemetryresponse.js +55 -0
- package/models/components/querytelemetryresponse.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/components/telemetryrow.d.ts +22 -0
- package/models/components/telemetryrow.d.ts.map +1 -0
- package/models/components/telemetryrow.js +53 -0
- package/models/components/telemetryrow.js.map +1 -0
- package/models/components/thinkingconfigenabledschema.d.ts +1 -0
- package/models/components/thinkingconfigenabledschema.d.ts.map +1 -1
- package/models/components/thinkingconfigenabledschema.js +1 -0
- package/models/components/thinkingconfigenabledschema.js.map +1 -1
- package/models/components/updatebudgetrequest.d.ts +14 -0
- package/models/components/updatebudgetrequest.d.ts.map +1 -1
- package/models/components/updatebudgetrequest.js +4 -0
- package/models/components/updatebudgetrequest.js.map +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/createprompt.d.ts +2 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +2 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +21 -14
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +4 -10
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentgetconfig.d.ts +1 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +1 -0
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +1 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +1 -0
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +2 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +2 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +1 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +1 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getallprompts.d.ts +2 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +2 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getoneprompt.d.ts +2 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +2 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +2 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +2 -0
- package/models/operations/getpromptversion.js.map +1 -1
- 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/listpromptversions.d.ts +2 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +2 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/notifierlist.d.ts +11 -0
- package/models/operations/notifierlist.d.ts.map +1 -1
- package/models/operations/notifierlist.js +3 -0
- package/models/operations/notifierlist.js.map +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/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/updateprompt.d.ts +2 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +2 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +6 -6
- package/sdk/feedback.d.ts +4 -1
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +4 -1
- package/sdk/feedback.js.map +1 -1
- package/sdk/reporting.d.ts +3 -1
- package/sdk/reporting.d.ts.map +1 -1
- package/sdk/reporting.js +3 -1
- package/sdk/reporting.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/telemetry.d.ts +12 -0
- package/sdk/telemetry.d.ts.map +1 -0
- package/sdk/telemetry.js +22 -0
- package/sdk/telemetry.js.map +1 -0
- package/sdk/traces.d.ts +3 -1
- package/sdk/traces.d.ts.map +1 -1
- package/sdk/traces.js +3 -1
- package/sdk/traces.js.map +1 -1
- package/src/funcs/notifiersList.ts +2 -0
- package/src/funcs/reportingQuery.ts +3 -1
- package/src/funcs/telemetryQuery.ts +162 -0
- package/src/funcs/tracesAggregate.ts +3 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/apikey.ts +6 -0
- package/src/models/components/budget.ts +6 -0
- package/src/models/components/budgetalert.ts +92 -0
- package/src/models/components/budgetalertdimension.ts +22 -0
- package/src/models/components/createbudgetrequest.ts +14 -0
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/identity.ts +6 -0
- package/src/models/components/index.ts +6 -0
- package/src/models/components/querytelemetrymeta.ts +38 -0
- package/src/models/components/querytelemetryrequest.ts +85 -0
- package/src/models/components/querytelemetryresponse.ts +42 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/telemetryrow.ts +42 -0
- package/src/models/components/thinkingconfigenabledschema.ts +1 -0
- package/src/models/components/updatebudgetrequest.ts +21 -0
- 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/createprompt.ts +2 -0
- package/src/models/operations/createrouterresponse.ts +19 -26
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentgetconfig.ts +1 -0
- package/src/models/operations/deploymentinvoke.ts +1 -0
- package/src/models/operations/deployments.ts +2 -0
- package/src/models/operations/deploymentstream.ts +1 -0
- package/src/models/operations/getallprompts.ts +2 -0
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getoneprompt.ts +2 -0
- package/src/models/operations/getpromptversion.ts +2 -0
- 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/listpromptversions.ts +2 -0
- package/src/models/operations/notifierlist.ts +13 -0
- 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/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/updateprompt.ts +2 -0
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +4 -1
- package/src/sdk/reporting.ts +3 -1
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/telemetry.ts +27 -0
- package/src/sdk/traces.ts +3 -1
|
@@ -0,0 +1,85 @@
|
|
|
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 {
|
|
8
|
+
TraceCompute,
|
|
9
|
+
TraceCompute$Outbound,
|
|
10
|
+
TraceCompute$outboundSchema,
|
|
11
|
+
} from "./tracecompute.js";
|
|
12
|
+
import {
|
|
13
|
+
TraceFilter,
|
|
14
|
+
TraceFilter$Outbound,
|
|
15
|
+
TraceFilter$outboundSchema,
|
|
16
|
+
} from "./tracefilter.js";
|
|
17
|
+
|
|
18
|
+
export type QueryTelemetryRequest = {
|
|
19
|
+
source?: number | undefined;
|
|
20
|
+
from?: Date | undefined;
|
|
21
|
+
to?: Date | undefined;
|
|
22
|
+
compute?: Array<TraceCompute> | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Empty string and "none" are equivalent: a single row per group instead
|
|
25
|
+
*
|
|
26
|
+
* @remarks
|
|
27
|
+
* of a time series.
|
|
28
|
+
*/
|
|
29
|
+
grain?: string | undefined;
|
|
30
|
+
groupBy?: Array<string> | undefined;
|
|
31
|
+
filters?: Array<TraceFilter> | undefined;
|
|
32
|
+
filterOperator?: string | undefined;
|
|
33
|
+
limit?: number | undefined;
|
|
34
|
+
timeZone?: string | undefined;
|
|
35
|
+
includeTotals?: boolean | undefined;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type QueryTelemetryRequest$Outbound = {
|
|
40
|
+
source?: number | undefined;
|
|
41
|
+
from?: string | undefined;
|
|
42
|
+
to?: string | undefined;
|
|
43
|
+
compute?: Array<TraceCompute$Outbound> | undefined;
|
|
44
|
+
grain?: string | undefined;
|
|
45
|
+
group_by?: Array<string> | undefined;
|
|
46
|
+
filters?: Array<TraceFilter$Outbound> | undefined;
|
|
47
|
+
filter_operator?: string | undefined;
|
|
48
|
+
limit?: number | undefined;
|
|
49
|
+
time_zone?: string | undefined;
|
|
50
|
+
include_totals?: boolean | undefined;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export const QueryTelemetryRequest$outboundSchema: z.ZodType<
|
|
55
|
+
QueryTelemetryRequest$Outbound,
|
|
56
|
+
z.ZodTypeDef,
|
|
57
|
+
QueryTelemetryRequest
|
|
58
|
+
> = z.object({
|
|
59
|
+
source: z.number().int().optional(),
|
|
60
|
+
from: z.date().transform(v => v.toISOString()).optional(),
|
|
61
|
+
to: z.date().transform(v => v.toISOString()).optional(),
|
|
62
|
+
compute: z.array(TraceCompute$outboundSchema).optional(),
|
|
63
|
+
grain: z.string().optional(),
|
|
64
|
+
groupBy: z.array(z.string()).optional(),
|
|
65
|
+
filters: z.array(TraceFilter$outboundSchema).optional(),
|
|
66
|
+
filterOperator: z.string().optional(),
|
|
67
|
+
limit: z.number().int().optional(),
|
|
68
|
+
timeZone: z.string().optional(),
|
|
69
|
+
includeTotals: z.boolean().optional(),
|
|
70
|
+
}).transform((v) => {
|
|
71
|
+
return remap$(v, {
|
|
72
|
+
groupBy: "group_by",
|
|
73
|
+
filterOperator: "filter_operator",
|
|
74
|
+
timeZone: "time_zone",
|
|
75
|
+
includeTotals: "include_totals",
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
export function queryTelemetryRequestToJSON(
|
|
80
|
+
queryTelemetryRequest: QueryTelemetryRequest,
|
|
81
|
+
): string {
|
|
82
|
+
return JSON.stringify(
|
|
83
|
+
QueryTelemetryRequest$outboundSchema.parse(queryTelemetryRequest),
|
|
84
|
+
);
|
|
85
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
import {
|
|
10
|
+
QueryTelemetryMeta,
|
|
11
|
+
QueryTelemetryMeta$inboundSchema,
|
|
12
|
+
} from "./querytelemetrymeta.js";
|
|
13
|
+
import { TelemetryRow, TelemetryRow$inboundSchema } from "./telemetryrow.js";
|
|
14
|
+
|
|
15
|
+
export type QueryTelemetryResponse = {
|
|
16
|
+
object?: string | undefined;
|
|
17
|
+
data?: Array<TelemetryRow> | undefined;
|
|
18
|
+
totals?: TelemetryRow | undefined;
|
|
19
|
+
meta?: QueryTelemetryMeta | undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const QueryTelemetryResponse$inboundSchema: z.ZodType<
|
|
24
|
+
QueryTelemetryResponse,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
object: z.string().optional(),
|
|
29
|
+
data: z.array(TelemetryRow$inboundSchema).optional(),
|
|
30
|
+
totals: TelemetryRow$inboundSchema.optional(),
|
|
31
|
+
meta: QueryTelemetryMeta$inboundSchema.optional(),
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export function queryTelemetryResponseFromJSON(
|
|
35
|
+
jsonString: string,
|
|
36
|
+
): SafeParseResult<QueryTelemetryResponse, SDKValidationError> {
|
|
37
|
+
return safeParse(
|
|
38
|
+
jsonString,
|
|
39
|
+
(x) => QueryTelemetryResponse$inboundSchema.parse(JSON.parse(x)),
|
|
40
|
+
`Failed to parse 'QueryTelemetryResponse' from JSON`,
|
|
41
|
+
);
|
|
42
|
+
}
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01kxcq938n9yjnsyyrvadh4qqx"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -0,0 +1,42 @@
|
|
|
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 TelemetryRow = {
|
|
11
|
+
/**
|
|
12
|
+
* Unset when the resolved grain is "none" — one row per group, not a
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* time series.
|
|
16
|
+
*/
|
|
17
|
+
timestamp?: Date | undefined;
|
|
18
|
+
group?: { [k: string]: string } | undefined;
|
|
19
|
+
metrics?: { [k: string]: number } | undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const TelemetryRow$inboundSchema: z.ZodType<
|
|
24
|
+
TelemetryRow,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
timestamp: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
29
|
+
.optional(),
|
|
30
|
+
group: z.record(z.string()).optional(),
|
|
31
|
+
metrics: z.record(z.number()).optional(),
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export function telemetryRowFromJSON(
|
|
35
|
+
jsonString: string,
|
|
36
|
+
): SafeParseResult<TelemetryRow, SDKValidationError> {
|
|
37
|
+
return safeParse(
|
|
38
|
+
jsonString,
|
|
39
|
+
(x) => TelemetryRow$inboundSchema.parse(JSON.parse(x)),
|
|
40
|
+
`Failed to parse 'TelemetryRow' from JSON`,
|
|
41
|
+
);
|
|
42
|
+
}
|
|
@@ -13,6 +13,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
13
13
|
* The level of reasoning the model should use. This setting is supported only by `gemini-3` models. If budget_tokens is specified and `thinking_level` is available, `budget_tokens` will be ignored.
|
|
14
14
|
*/
|
|
15
15
|
export const ThinkingLevel = {
|
|
16
|
+
Minimal: "minimal",
|
|
16
17
|
Low: "low",
|
|
17
18
|
Medium: "medium",
|
|
18
19
|
High: "high",
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import {
|
|
8
|
+
BudgetAlert,
|
|
9
|
+
BudgetAlert$Outbound,
|
|
10
|
+
BudgetAlert$outboundSchema,
|
|
11
|
+
} from "./budgetalert.js";
|
|
7
12
|
import {
|
|
8
13
|
BudgetLimits,
|
|
9
14
|
BudgetLimits$Outbound,
|
|
@@ -52,6 +57,17 @@ export type UpdateBudgetRequest = {
|
|
|
52
57
|
* its derived expression is too. Validated via CEL parse.
|
|
53
58
|
*/
|
|
54
59
|
match?: BudgetMatch | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* Replaces the alert list wholesale. Omit to keep the current alerts.
|
|
62
|
+
*
|
|
63
|
+
* @remarks
|
|
64
|
+
* An entry with a known `id` is edited in place; one with no id is minted.
|
|
65
|
+
*/
|
|
66
|
+
alerts?: Array<BudgetAlert> | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Force-clear every alert. Mutually exclusive with a non-empty `alerts`.
|
|
69
|
+
*/
|
|
70
|
+
clearAlerts?: boolean | undefined;
|
|
55
71
|
};
|
|
56
72
|
|
|
57
73
|
/** @internal */
|
|
@@ -62,6 +78,8 @@ export type UpdateBudgetRequest$Outbound = {
|
|
|
62
78
|
expires_at?: string | undefined;
|
|
63
79
|
clear_expires_at?: boolean | undefined;
|
|
64
80
|
match?: BudgetMatch$Outbound | undefined;
|
|
81
|
+
alerts?: Array<BudgetAlert$Outbound> | undefined;
|
|
82
|
+
clear_alerts?: boolean | undefined;
|
|
65
83
|
};
|
|
66
84
|
|
|
67
85
|
/** @internal */
|
|
@@ -76,12 +94,15 @@ export const UpdateBudgetRequest$outboundSchema: z.ZodType<
|
|
|
76
94
|
expiresAt: z.date().transform(v => v.toISOString()).optional(),
|
|
77
95
|
clearExpiresAt: z.boolean().optional(),
|
|
78
96
|
match: BudgetMatch$outboundSchema.optional(),
|
|
97
|
+
alerts: z.array(BudgetAlert$outboundSchema).optional(),
|
|
98
|
+
clearAlerts: z.boolean().optional(),
|
|
79
99
|
}).transform((v) => {
|
|
80
100
|
return remap$(v, {
|
|
81
101
|
rateLimit: "rate_limit",
|
|
82
102
|
isActive: "is_active",
|
|
83
103
|
expiresAt: "expires_at",
|
|
84
104
|
clearExpiresAt: "clear_expires_at",
|
|
105
|
+
clearAlerts: "clear_alerts",
|
|
85
106
|
});
|
|
86
107
|
});
|
|
87
108
|
|
|
@@ -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-07-
|
|
141
|
+
"2026-07-13T03:10:24.062Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2607,7 +2607,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2607
2607
|
explanation: z.string().optional(),
|
|
2608
2608
|
reviewed_by_id: z.string(),
|
|
2609
2609
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2610
|
-
"2026-07-
|
|
2610
|
+
"2026-07-13T03:10:39.011Z",
|
|
2611
2611
|
).transform(v => new Date(v)),
|
|
2612
2612
|
type: z.literal("string_array"),
|
|
2613
2613
|
values: z.array(z.string()),
|
|
@@ -2692,7 +2692,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2692
2692
|
explanation: z.string().optional(),
|
|
2693
2693
|
reviewed_by_id: z.string(),
|
|
2694
2694
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2695
|
-
"2026-07-
|
|
2695
|
+
"2026-07-13T03:10:39.010Z",
|
|
2696
2696
|
).transform(v => new Date(v)),
|
|
2697
2697
|
type: z.literal("number"),
|
|
2698
2698
|
value: z.number(),
|
|
@@ -2777,7 +2777,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2777
2777
|
explanation: z.string().optional(),
|
|
2778
2778
|
reviewed_by_id: z.string(),
|
|
2779
2779
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2780
|
-
"2026-07-
|
|
2780
|
+
"2026-07-13T03:10:39.009Z",
|
|
2781
2781
|
).transform(v => new Date(v)),
|
|
2782
2782
|
type: z.literal("string"),
|
|
2783
2783
|
value: z.string(),
|
|
@@ -2862,7 +2862,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2862
2862
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2863
2863
|
.optional(),
|
|
2864
2864
|
updated: z.string().datetime({ offset: true }).default(
|
|
2865
|
-
"2026-07-
|
|
2865
|
+
"2026-07-13T03:10:24.062Z",
|
|
2866
2866
|
).transform(v => new Date(v)),
|
|
2867
2867
|
}).transform((v) => {
|
|
2868
2868
|
return remap$(v, {
|
|
@@ -412,7 +412,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
412
412
|
z.ZodTypeDef,
|
|
413
413
|
unknown
|
|
414
414
|
> = z.object({
|
|
415
|
-
_id: z.string().default("
|
|
415
|
+
_id: z.string().default("01KXCQ93T5KWZZ4QYAKF5RSNBK"),
|
|
416
416
|
display_name: z.string(),
|
|
417
417
|
description: z.nullable(z.string()).optional(),
|
|
418
418
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -1234,6 +1234,7 @@ export type CreatePromptVerbosity = ClosedEnum<typeof CreatePromptVerbosity>;
|
|
|
1234
1234
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
1235
1235
|
*/
|
|
1236
1236
|
export const CreatePromptThinkingLevel = {
|
|
1237
|
+
Minimal: "minimal",
|
|
1237
1238
|
Low: "low",
|
|
1238
1239
|
Medium: "medium",
|
|
1239
1240
|
High: "high",
|
|
@@ -1382,6 +1383,7 @@ export const CreatePromptProvider = {
|
|
|
1382
1383
|
Wafer: "wafer",
|
|
1383
1384
|
Poolside: "poolside",
|
|
1384
1385
|
Tencent: "tencent",
|
|
1386
|
+
Nebius: "nebius",
|
|
1385
1387
|
Reson8: "reson8",
|
|
1386
1388
|
Slack: "slack",
|
|
1387
1389
|
Orq: "orq",
|
|
@@ -409,19 +409,26 @@ export const TemplateEngine = {
|
|
|
409
409
|
*/
|
|
410
410
|
export type TemplateEngine = ClosedEnum<typeof TemplateEngine>;
|
|
411
411
|
|
|
412
|
-
/**
|
|
413
|
-
* The JSON Schema the output must conform to.
|
|
414
|
-
*/
|
|
415
|
-
export type FormatSchema = {};
|
|
416
|
-
|
|
417
412
|
export type FormatJSONSchema = {
|
|
413
|
+
/**
|
|
414
|
+
* A description of what the response format is for, used by the model to determine how to respond in the format.
|
|
415
|
+
*/
|
|
418
416
|
description?: string | undefined;
|
|
419
|
-
name?: string | undefined;
|
|
420
417
|
/**
|
|
421
|
-
* The
|
|
418
|
+
* The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
419
|
+
*/
|
|
420
|
+
name: string;
|
|
421
|
+
/**
|
|
422
|
+
* The schema for the response format, described as a JSON Schema object.
|
|
423
|
+
*/
|
|
424
|
+
schema: { [k: string]: any };
|
|
425
|
+
/**
|
|
426
|
+
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the `schema` field.
|
|
422
427
|
*/
|
|
423
|
-
schema?: FormatSchema | undefined;
|
|
424
428
|
strict?: boolean | undefined;
|
|
429
|
+
/**
|
|
430
|
+
* The type of response format being defined. Always `json_schema`.
|
|
431
|
+
*/
|
|
425
432
|
type: "json_schema";
|
|
426
433
|
};
|
|
427
434
|
|
|
@@ -1331,25 +1338,11 @@ export const TemplateEngine$outboundSchema: z.ZodNativeEnum<
|
|
|
1331
1338
|
typeof TemplateEngine
|
|
1332
1339
|
> = z.nativeEnum(TemplateEngine);
|
|
1333
1340
|
|
|
1334
|
-
/** @internal */
|
|
1335
|
-
export type FormatSchema$Outbound = {};
|
|
1336
|
-
|
|
1337
|
-
/** @internal */
|
|
1338
|
-
export const FormatSchema$outboundSchema: z.ZodType<
|
|
1339
|
-
FormatSchema$Outbound,
|
|
1340
|
-
z.ZodTypeDef,
|
|
1341
|
-
FormatSchema
|
|
1342
|
-
> = z.object({});
|
|
1343
|
-
|
|
1344
|
-
export function formatSchemaToJSON(formatSchema: FormatSchema): string {
|
|
1345
|
-
return JSON.stringify(FormatSchema$outboundSchema.parse(formatSchema));
|
|
1346
|
-
}
|
|
1347
|
-
|
|
1348
1341
|
/** @internal */
|
|
1349
1342
|
export type FormatJSONSchema$Outbound = {
|
|
1350
1343
|
description?: string | undefined;
|
|
1351
|
-
name
|
|
1352
|
-
schema
|
|
1344
|
+
name: string;
|
|
1345
|
+
schema: { [k: string]: any };
|
|
1353
1346
|
strict?: boolean | undefined;
|
|
1354
1347
|
type: "json_schema";
|
|
1355
1348
|
};
|
|
@@ -1361,8 +1354,8 @@ export const FormatJSONSchema$outboundSchema: z.ZodType<
|
|
|
1361
1354
|
FormatJSONSchema
|
|
1362
1355
|
> = z.object({
|
|
1363
1356
|
description: z.string().optional(),
|
|
1364
|
-
name: z.string()
|
|
1365
|
-
schema: z.
|
|
1357
|
+
name: z.string(),
|
|
1358
|
+
schema: z.record(z.any()),
|
|
1366
1359
|
strict: z.boolean().optional(),
|
|
1367
1360
|
type: z.literal("json_schema"),
|
|
1368
1361
|
});
|
|
@@ -1896,7 +1896,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1896
1896
|
z.ZodTypeDef,
|
|
1897
1897
|
unknown
|
|
1898
1898
|
> = z.object({
|
|
1899
|
-
_id: z.string().default("
|
|
1899
|
+
_id: z.string().default("tool_01KXCQ93MBBANR4HQRM2FFRT97"),
|
|
1900
1900
|
path: z.string(),
|
|
1901
1901
|
key: z.string(),
|
|
1902
1902
|
display_name: z.string().optional(),
|
|
@@ -1993,7 +1993,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1993
1993
|
z.ZodTypeDef,
|
|
1994
1994
|
unknown
|
|
1995
1995
|
> = z.object({
|
|
1996
|
-
id: z.string().default("
|
|
1996
|
+
id: z.string().default("01KXCQ93MA6JFBGHNXAYPEKKGX"),
|
|
1997
1997
|
name: z.string(),
|
|
1998
1998
|
description: z.string().optional(),
|
|
1999
1999
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2049,7 +2049,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2049
2049
|
z.ZodTypeDef,
|
|
2050
2050
|
unknown
|
|
2051
2051
|
> = z.object({
|
|
2052
|
-
_id: z.string().default("
|
|
2052
|
+
_id: z.string().default("tool_01KXCQ93M8RFKJMXFT37722A78"),
|
|
2053
2053
|
path: z.string(),
|
|
2054
2054
|
key: z.string(),
|
|
2055
2055
|
display_name: z.string().optional(),
|
|
@@ -2235,7 +2235,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2235
2235
|
z.ZodTypeDef,
|
|
2236
2236
|
unknown
|
|
2237
2237
|
> = z.object({
|
|
2238
|
-
_id: z.string().default("
|
|
2238
|
+
_id: z.string().default("tool_01KXCQ93M5PXGWTZE5ADCSEWKF"),
|
|
2239
2239
|
path: z.string(),
|
|
2240
2240
|
key: z.string(),
|
|
2241
2241
|
display_name: z.string().optional(),
|
|
@@ -2328,7 +2328,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2328
2328
|
z.ZodTypeDef,
|
|
2329
2329
|
unknown
|
|
2330
2330
|
> = z.object({
|
|
2331
|
-
_id: z.string().default("
|
|
2331
|
+
_id: z.string().default("tool_01KXCQ93M326S6QTQ676QF9KWE"),
|
|
2332
2332
|
path: z.string(),
|
|
2333
2333
|
key: z.string(),
|
|
2334
2334
|
display_name: z.string().optional(),
|
|
@@ -2429,7 +2429,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2429
2429
|
z.ZodTypeDef,
|
|
2430
2430
|
unknown
|
|
2431
2431
|
> = z.object({
|
|
2432
|
-
_id: z.string().default("
|
|
2432
|
+
_id: z.string().default("tool_01KXCQ93M1HRKFGABN3Q8DQ6C7"),
|
|
2433
2433
|
path: z.string(),
|
|
2434
2434
|
key: z.string(),
|
|
2435
2435
|
display_name: z.string().optional(),
|
|
@@ -1491,6 +1491,7 @@ export type DeploymentGetConfigVerbosity = ClosedEnum<
|
|
|
1491
1491
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
1492
1492
|
*/
|
|
1493
1493
|
export const ThinkingLevel = {
|
|
1494
|
+
Minimal: "minimal",
|
|
1494
1495
|
Low: "low",
|
|
1495
1496
|
Medium: "medium",
|
|
1496
1497
|
High: "high",
|
|
@@ -340,6 +340,7 @@ export type DeploymentsVerbosity = ClosedEnum<typeof DeploymentsVerbosity>;
|
|
|
340
340
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
341
341
|
*/
|
|
342
342
|
export const DeploymentsThinkingLevel = {
|
|
343
|
+
Minimal: "minimal",
|
|
343
344
|
Low: "low",
|
|
344
345
|
Medium: "medium",
|
|
345
346
|
High: "high",
|
|
@@ -488,6 +489,7 @@ export const DeploymentsProvider = {
|
|
|
488
489
|
Wafer: "wafer",
|
|
489
490
|
Poolside: "poolside",
|
|
490
491
|
Tencent: "tencent",
|
|
492
|
+
Nebius: "nebius",
|
|
491
493
|
Reson8: "reson8",
|
|
492
494
|
Slack: "slack",
|
|
493
495
|
Orq: "orq",
|
|
@@ -291,6 +291,7 @@ export type GetAllPromptsVerbosity = ClosedEnum<typeof GetAllPromptsVerbosity>;
|
|
|
291
291
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
292
292
|
*/
|
|
293
293
|
export const GetAllPromptsThinkingLevel = {
|
|
294
|
+
Minimal: "minimal",
|
|
294
295
|
Low: "low",
|
|
295
296
|
Medium: "medium",
|
|
296
297
|
High: "high",
|
|
@@ -439,6 +440,7 @@ export const GetAllPromptsProvider = {
|
|
|
439
440
|
Wafer: "wafer",
|
|
440
441
|
Poolside: "poolside",
|
|
441
442
|
Tencent: "tencent",
|
|
443
|
+
Nebius: "nebius",
|
|
442
444
|
Reson8: "reson8",
|
|
443
445
|
Slack: "slack",
|
|
444
446
|
Orq: "orq",
|
|
@@ -766,7 +766,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
766
766
|
z.ZodTypeDef,
|
|
767
767
|
unknown
|
|
768
768
|
> = z.object({
|
|
769
|
-
_id: z.string().default("
|
|
769
|
+
_id: z.string().default("tool_01KXCQ93KMQCNKCFFP6C4V7FH0"),
|
|
770
770
|
path: z.string(),
|
|
771
771
|
key: z.string(),
|
|
772
772
|
display_name: z.string().optional(),
|
|
@@ -863,7 +863,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
863
863
|
z.ZodTypeDef,
|
|
864
864
|
unknown
|
|
865
865
|
> = z.object({
|
|
866
|
-
id: z.string().default("
|
|
866
|
+
id: z.string().default("01KXCQ93KKKACBW09VXS9ZZ18A"),
|
|
867
867
|
name: z.string(),
|
|
868
868
|
description: z.string().optional(),
|
|
869
869
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -916,7 +916,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
|
|
|
916
916
|
z.ZodTypeDef,
|
|
917
917
|
unknown
|
|
918
918
|
> = z.object({
|
|
919
|
-
_id: z.string().default("
|
|
919
|
+
_id: z.string().default("tool_01KXCQ93KH3E8CXQEBEAYFWE0R"),
|
|
920
920
|
path: z.string(),
|
|
921
921
|
key: z.string(),
|
|
922
922
|
display_name: z.string().optional(),
|
|
@@ -1100,7 +1100,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1100
1100
|
z.ZodTypeDef,
|
|
1101
1101
|
unknown
|
|
1102
1102
|
> = z.object({
|
|
1103
|
-
_id: z.string().default("
|
|
1103
|
+
_id: z.string().default("tool_01KXCQ93KFJEVHKZYFEKWESFGQ"),
|
|
1104
1104
|
path: z.string(),
|
|
1105
1105
|
key: z.string(),
|
|
1106
1106
|
display_name: z.string().optional(),
|
|
@@ -1193,7 +1193,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1193
1193
|
z.ZodTypeDef,
|
|
1194
1194
|
unknown
|
|
1195
1195
|
> = z.object({
|
|
1196
|
-
_id: z.string().default("
|
|
1196
|
+
_id: z.string().default("tool_01KXCQ93KDR23GQE561QF81NEY"),
|
|
1197
1197
|
path: z.string(),
|
|
1198
1198
|
key: z.string(),
|
|
1199
1199
|
display_name: z.string().optional(),
|
|
@@ -1291,7 +1291,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1291
1291
|
z.ZodTypeDef,
|
|
1292
1292
|
unknown
|
|
1293
1293
|
> = z.object({
|
|
1294
|
-
_id: z.string().default("
|
|
1294
|
+
_id: z.string().default("tool_01KXCQ93KBPYVJYJQ57KHDCRED"),
|
|
1295
1295
|
path: z.string(),
|
|
1296
1296
|
key: z.string(),
|
|
1297
1297
|
display_name: z.string().optional(),
|
|
@@ -275,6 +275,7 @@ export type GetOnePromptVerbosity = ClosedEnum<typeof GetOnePromptVerbosity>;
|
|
|
275
275
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
276
276
|
*/
|
|
277
277
|
export const GetOnePromptThinkingLevel = {
|
|
278
|
+
Minimal: "minimal",
|
|
278
279
|
Low: "low",
|
|
279
280
|
Medium: "medium",
|
|
280
281
|
High: "high",
|
|
@@ -423,6 +424,7 @@ export const GetOnePromptProvider = {
|
|
|
423
424
|
Wafer: "wafer",
|
|
424
425
|
Poolside: "poolside",
|
|
425
426
|
Tencent: "tencent",
|
|
427
|
+
Nebius: "nebius",
|
|
426
428
|
Reson8: "reson8",
|
|
427
429
|
Slack: "slack",
|
|
428
430
|
Orq: "orq",
|
|
@@ -281,6 +281,7 @@ export type GetPromptVersionVerbosity = ClosedEnum<
|
|
|
281
281
|
* The level of thinking to use for the model. Only supported by `Google AI`
|
|
282
282
|
*/
|
|
283
283
|
export const GetPromptVersionThinkingLevel = {
|
|
284
|
+
Minimal: "minimal",
|
|
284
285
|
Low: "low",
|
|
285
286
|
Medium: "medium",
|
|
286
287
|
High: "high",
|
|
@@ -429,6 +430,7 @@ export const GetPromptVersionProvider = {
|
|
|
429
430
|
Wafer: "wafer",
|
|
430
431
|
Poolside: "poolside",
|
|
431
432
|
Tencent: "tencent",
|
|
433
|
+
Nebius: "nebius",
|
|
432
434
|
Reson8: "reson8",
|
|
433
435
|
Slack: "slack",
|
|
434
436
|
Orq: "orq",
|
|
@@ -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-07-
|
|
143
|
+
"2026-07-13T03:10:24.062Z",
|
|
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-07-
|
|
188
|
+
"2026-07-13T03:10:24.062Z",
|
|
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-07-
|
|
144
|
+
"2026-07-13T03:10:24.062Z",
|
|
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-07-
|
|
189
|
+
"2026-07-13T03:10:24.062Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -1522,7 +1522,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
1522
1522
|
explanation: z.string().optional(),
|
|
1523
1523
|
reviewed_by_id: z.string(),
|
|
1524
1524
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1525
|
-
"2026-07-
|
|
1525
|
+
"2026-07-13T03:10:38.991Z",
|
|
1526
1526
|
).transform(v => new Date(v)),
|
|
1527
1527
|
type: z.literal("string_array"),
|
|
1528
1528
|
values: z.array(z.string()),
|
|
@@ -1626,7 +1626,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
1626
1626
|
explanation: z.string().optional(),
|
|
1627
1627
|
reviewed_by_id: z.string(),
|
|
1628
1628
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1629
|
-
"2026-07-
|
|
1629
|
+
"2026-07-13T03:10:38.990Z",
|
|
1630
1630
|
).transform(v => new Date(v)),
|
|
1631
1631
|
type: z.literal("number"),
|
|
1632
1632
|
value: z.number(),
|
|
@@ -1726,7 +1726,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
1726
1726
|
explanation: z.string().optional(),
|
|
1727
1727
|
reviewed_by_id: z.string(),
|
|
1728
1728
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1729
|
-
"2026-07-
|
|
1729
|
+
"2026-07-13T03:10:38.989Z",
|
|
1730
1730
|
).transform(v => new Date(v)),
|
|
1731
1731
|
type: z.literal("string"),
|
|
1732
1732
|
value: z.string(),
|
|
@@ -1807,7 +1807,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
1807
1807
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1808
1808
|
.optional(),
|
|
1809
1809
|
updated: z.string().datetime({ offset: true }).default(
|
|
1810
|
-
"2026-07-
|
|
1810
|
+
"2026-07-13T03:10:24.062Z",
|
|
1811
1811
|
).transform(v => new Date(v)),
|
|
1812
1812
|
}).transform((v) => {
|
|
1813
1813
|
return remap$(v, {
|