@orq-ai/node 4.10.0-rc.64 → 4.10.0-rc.66
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/identitiesCreate.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/embeddingcacheconfig.d.ts +33 -0
- package/models/components/embeddingcacheconfig.d.ts.map +1 -0
- package/models/components/embeddingcacheconfig.js +58 -0
- package/models/components/embeddingcacheconfig.js.map +1 -0
- package/models/components/embeddingcontactparams.d.ts +24 -0
- package/models/components/embeddingcontactparams.d.ts.map +1 -0
- package/models/components/embeddingcontactparams.js +58 -0
- package/models/components/embeddingcontactparams.js.map +1 -0
- package/models/components/embeddingloadbalancerconfig.d.ts +34 -0
- package/models/components/embeddingloadbalancerconfig.d.ts.map +1 -0
- package/models/components/embeddingloadbalancerconfig.js +59 -0
- package/models/components/embeddingloadbalancerconfig.js.map +1 -0
- package/models/components/embeddingloadbalancermodelconfig.d.ts +20 -0
- package/models/components/embeddingloadbalancermodelconfig.d.ts.map +1 -0
- package/models/components/embeddingloadbalancermodelconfig.js +50 -0
- package/models/components/embeddingloadbalancermodelconfig.js.map +1 -0
- package/models/components/embeddingorqparams.d.ts +42 -0
- package/models/components/embeddingorqparams.d.ts.map +1 -0
- package/models/components/embeddingorqparams.js +68 -0
- package/models/components/embeddingorqparams.js.map +1 -0
- package/models/components/embeddingretryconfig.d.ts +20 -0
- package/models/components/embeddingretryconfig.d.ts.map +1 -0
- package/models/components/embeddingretryconfig.js +55 -0
- package/models/components/embeddingretryconfig.js.map +1 -0
- package/models/components/embeddingtimeoutconfig.d.ts +15 -0
- package/models/components/embeddingtimeoutconfig.d.ts.map +1 -0
- package/models/components/embeddingtimeoutconfig.js +54 -0
- package/models/components/embeddingtimeoutconfig.js.map +1 -0
- package/models/components/index.d.ts +9 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +9 -0
- package/models/components/index.js.map +1 -1
- package/models/components/publicembeddingdata.d.ts +34 -0
- package/models/components/publicembeddingdata.d.ts.map +1 -0
- package/models/components/publicembeddingdata.js +61 -0
- package/models/components/publicembeddingdata.js.map +1 -0
- package/models/components/publicembeddingusage.d.ts +17 -0
- package/models/components/publicembeddingusage.d.ts.map +1 -0
- package/models/components/publicembeddingusage.js +57 -0
- package/models/components/publicembeddingusage.js.map +1 -0
- package/models/components/publicmodelentry.d.ts +4 -4
- package/models/components/publicmodelentry.d.ts.map +1 -1
- package/models/components/publicmodelentry.js +4 -5
- package/models/components/publicmodelentry.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createembedding.d.ts +50 -390
- package/models/operations/createembedding.d.ts.map +1 -1
- package/models/operations/createembedding.js +33 -231
- package/models/operations/createembedding.js.map +1 -1
- package/models/operations/createeval.d.ts +0 -42
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +16 -49
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +8 -8
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +13 -8
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.d.ts +0 -24
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +16 -40
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listchunks.d.ts +24 -4
- package/models/operations/listchunks.d.ts.map +1 -1
- package/models/operations/listchunks.js +26 -3
- package/models/operations/listchunks.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.d.ts +0 -30
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +16 -43
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +7 -7
- package/sdk/router.d.ts +2 -2
- package/sdk/router.d.ts.map +1 -1
- package/sdk/router.js +3 -3
- package/sdk/router.js.map +1 -1
- package/src/funcs/identitiesCreate.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/embeddingcacheconfig.ts +59 -0
- package/src/models/components/embeddingcontactparams.ts +48 -0
- package/src/models/components/embeddingloadbalancerconfig.ts +66 -0
- package/src/models/components/embeddingloadbalancermodelconfig.ts +42 -0
- package/src/models/components/embeddingorqparams.ts +101 -0
- package/src/models/components/embeddingretryconfig.ts +45 -0
- package/src/models/components/embeddingtimeoutconfig.ts +39 -0
- package/src/models/components/index.ts +9 -0
- package/src/models/components/publicembeddingdata.ts +60 -0
- package/src/models/components/publicembeddingusage.ts +45 -0
- package/src/models/components/publicmodelentry.ts +7 -6
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createembedding.ts +82 -810
- package/src/models/operations/createeval.ts +16 -91
- package/src/models/operations/createrouterresponse.ts +25 -14
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -64
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listchunks.ts +35 -6
- 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/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/updateeval.ts +16 -73
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/router.ts +5 -5
|
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ListChunksResponseBody$inboundSchema = exports.ListChunksData$inboundSchema = exports.ListChunksStatus$inboundSchema = exports.ListChunksMetadata$inboundSchema = exports.ListChunksObject$inboundSchema = exports.ListChunksRequest$outboundSchema = exports.QueryParamStatus$outboundSchema = exports.ListChunksStatus = exports.ListChunksObject = void 0;
|
|
39
|
+
exports.ListChunksResponseBody$inboundSchema = exports.ListChunksData$inboundSchema = exports.ListChunksStatus$inboundSchema = exports.ListChunksMetadata$inboundSchema = exports.ListChunksObject$inboundSchema = exports.ListChunksRequest$outboundSchema = exports.QueryParamStatus$outboundSchema = exports.QueryParam1$outboundSchema = exports.QueryParam2$outboundSchema = exports.ListChunksStatus = exports.ListChunksObject = exports.QueryParam1 = exports.QueryParam2 = void 0;
|
|
40
40
|
exports.queryParamStatusToJSON = queryParamStatusToJSON;
|
|
41
41
|
exports.listChunksRequestToJSON = listChunksRequestToJSON;
|
|
42
42
|
exports.listChunksMetadataFromJSON = listChunksMetadataFromJSON;
|
|
@@ -45,6 +45,20 @@ exports.listChunksResponseBodyFromJSON = listChunksResponseBodyFromJSON;
|
|
|
45
45
|
const z = __importStar(require("zod/v3"));
|
|
46
46
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
47
47
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
48
|
+
exports.QueryParam2 = {
|
|
49
|
+
Pending: "pending",
|
|
50
|
+
Processing: "processing",
|
|
51
|
+
Completed: "completed",
|
|
52
|
+
Failed: "failed",
|
|
53
|
+
Queued: "queued",
|
|
54
|
+
};
|
|
55
|
+
exports.QueryParam1 = {
|
|
56
|
+
Pending: "pending",
|
|
57
|
+
Processing: "processing",
|
|
58
|
+
Completed: "completed",
|
|
59
|
+
Failed: "failed",
|
|
60
|
+
Queued: "queued",
|
|
61
|
+
};
|
|
48
62
|
exports.ListChunksObject = {
|
|
49
63
|
List: "list",
|
|
50
64
|
};
|
|
@@ -59,7 +73,13 @@ exports.ListChunksStatus = {
|
|
|
59
73
|
Queued: "queued",
|
|
60
74
|
};
|
|
61
75
|
/** @internal */
|
|
62
|
-
exports.
|
|
76
|
+
exports.QueryParam2$outboundSchema = z
|
|
77
|
+
.nativeEnum(exports.QueryParam2);
|
|
78
|
+
/** @internal */
|
|
79
|
+
exports.QueryParam1$outboundSchema = z
|
|
80
|
+
.nativeEnum(exports.QueryParam1);
|
|
81
|
+
/** @internal */
|
|
82
|
+
exports.QueryParamStatus$outboundSchema = z.union([z.array(exports.QueryParam1$outboundSchema), exports.QueryParam2$outboundSchema]);
|
|
63
83
|
function queryParamStatusToJSON(queryParamStatus) {
|
|
64
84
|
return JSON.stringify(exports.QueryParamStatus$outboundSchema.parse(queryParamStatus));
|
|
65
85
|
}
|
|
@@ -71,7 +91,10 @@ exports.ListChunksRequest$outboundSchema = z.object({
|
|
|
71
91
|
startingAfter: z.string().optional(),
|
|
72
92
|
endingBefore: z.string().optional(),
|
|
73
93
|
q: z.string().optional(),
|
|
74
|
-
status: z.union([
|
|
94
|
+
status: z.union([
|
|
95
|
+
z.array(exports.QueryParam1$outboundSchema),
|
|
96
|
+
exports.QueryParam2$outboundSchema,
|
|
97
|
+
]).optional(),
|
|
75
98
|
}).transform((v) => {
|
|
76
99
|
return (0, primitives_js_1.remap)(v, {
|
|
77
100
|
knowledgeId: "knowledge_id",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listchunks.js","sourceRoot":"","sources":["../../src/models/operations/listchunks.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"listchunks.js","sourceRoot":"","sources":["../../src/models/operations/listchunks.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuJH,wDAMC;AAsCD,0DAMC;AAcD,gEAQC;AA8BD,wDAQC;AAiBD,wEAQC;AA5RD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAKpC,QAAA,WAAW,GAAG;IACzB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAGE,QAAA,WAAW,GAAG;IACzB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAuCE,QAAA,gBAAgB,GAAG;IAC9B,IAAI,EAAE,MAAM;CACJ,CAAC;AAKX;;GAEG;AACU,QAAA,gBAAgB,GAAG;IAC9B,OAAO,EAAE,SAAS;I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AI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
|
|
@@ -420,7 +420,7 @@ exports.ListDatasetDatapointsEvaluations3$inboundSchema = z.object({
|
|
|
420
420
|
human_review_id: z.string(),
|
|
421
421
|
source: exports.ListDatasetDatapointsEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
422
422
|
reviewed_by_id: z.string(),
|
|
423
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
423
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-02T01:28:32.779Z").transform(v => new Date(v)),
|
|
424
424
|
type: z.literal("string_array"),
|
|
425
425
|
values: z.array(z.string()),
|
|
426
426
|
}).transform((v) => {
|
|
@@ -445,7 +445,7 @@ exports.ListDatasetDatapointsEvaluations2$inboundSchema = z.object({
|
|
|
445
445
|
human_review_id: z.string(),
|
|
446
446
|
source: exports.ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
|
|
447
447
|
reviewed_by_id: z.string(),
|
|
448
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
448
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-02T01:28:32.778Z").transform(v => new Date(v)),
|
|
449
449
|
type: z.literal("number"),
|
|
450
450
|
value: z.number(),
|
|
451
451
|
}).transform((v) => {
|
|
@@ -471,7 +471,7 @@ exports.ListDatasetDatapointsEvaluations1$inboundSchema = z.object({
|
|
|
471
471
|
source: exports.ListDatasetDatapointsEvaluationsDatasetsResponseSource$inboundSchema
|
|
472
472
|
.default("orq"),
|
|
473
473
|
reviewed_by_id: z.string(),
|
|
474
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
474
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-02T01:28:32.777Z").transform(v => new Date(v)),
|
|
475
475
|
type: z.literal("string"),
|
|
476
476
|
value: z.string(),
|
|
477
477
|
}).transform((v) => {
|
|
@@ -518,7 +518,7 @@ exports.ListDatasetDatapointsData$inboundSchema = z.object({
|
|
|
518
518
|
updated_by_id: z.string().optional(),
|
|
519
519
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
520
520
|
.optional(),
|
|
521
|
-
updated: z.string().datetime({ offset: true }).default("2026-06-
|
|
521
|
+
updated: z.string().datetime({ offset: true }).default("2026-06-02T01:28:11.213Z").transform(v => new Date(v)),
|
|
522
522
|
}).transform((v) => {
|
|
523
523
|
return (0, primitives_js_1.remap)(v, {
|
|
524
524
|
"_id": "id",
|
|
@@ -87,7 +87,7 @@ exports.ListDatasetsData$inboundSchema = z.object({
|
|
|
87
87
|
updated_by_id: z.string().optional(),
|
|
88
88
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
89
89
|
.optional(),
|
|
90
|
-
updated: z.string().datetime({ offset: true }).default("2026-06-
|
|
90
|
+
updated: z.string().datetime({ offset: true }).default("2026-06-02T01:28:11.213Z").transform(v => new Date(v)),
|
|
91
91
|
}).transform((v) => {
|
|
92
92
|
return (0, primitives_js_1.remap)(v, {
|
|
93
93
|
"_id": "id",
|
|
@@ -83,7 +83,7 @@ exports.ListDatasourcesObject$inboundSchema = z.nativeEnum(exports.ListDatasourc
|
|
|
83
83
|
exports.ListDatasourcesStatus$inboundSchema = z.nativeEnum(exports.ListDatasourcesStatus);
|
|
84
84
|
/** @internal */
|
|
85
85
|
exports.ListDatasourcesData$inboundSchema = z.object({
|
|
86
|
-
_id: z.string().default("
|
|
86
|
+
_id: z.string().default("01KT2Z4P6AM4CHF8EN7EDA0FPY"),
|
|
87
87
|
display_name: z.string(),
|
|
88
88
|
description: z.string().optional(),
|
|
89
89
|
status: exports.ListDatasourcesStatus$inboundSchema,
|
|
@@ -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-06-
|
|
125
|
+
updated: z.string().datetime({ offset: true }).default("2026-06-02T01:28:11.213Z").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-06-
|
|
156
|
+
updated: z.string().datetime({ offset: true }).default("2026-06-02T01:28:11.213Z").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) => {
|
|
@@ -86,7 +86,7 @@ exports.RequestBody3$outboundSchema = z.object({
|
|
|
86
86
|
humanReviewId: z.string(),
|
|
87
87
|
source: exports.PostV2FeedbackEvaluationRequestBodyRequestSource$outboundSchema
|
|
88
88
|
.default("orq"),
|
|
89
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
89
|
+
reviewedAt: z.date().default(() => new Date("2026-06-02T01:28:33.027Z"))
|
|
90
90
|
.transform(v => v.toISOString()),
|
|
91
91
|
type: z.literal("string_array"),
|
|
92
92
|
values: z.array(z.string()),
|
|
@@ -113,7 +113,7 @@ exports.RequestBody2$outboundSchema = z.object({
|
|
|
113
113
|
evaluationType: exports.RequestBodyEvaluationType$outboundSchema,
|
|
114
114
|
humanReviewId: z.string(),
|
|
115
115
|
source: exports.PostV2FeedbackEvaluationRequestBodySource$outboundSchema.default("orq"),
|
|
116
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
116
|
+
reviewedAt: z.date().default(() => new Date("2026-06-02T01:28:33.026Z"))
|
|
117
117
|
.transform(v => v.toISOString()),
|
|
118
118
|
type: z.literal("number"),
|
|
119
119
|
value: z.number(),
|
|
@@ -139,7 +139,7 @@ exports.RequestBody1$outboundSchema = z.object({
|
|
|
139
139
|
evaluationType: exports.EvaluationType$outboundSchema,
|
|
140
140
|
humanReviewId: z.string(),
|
|
141
141
|
source: exports.RequestBodySource$outboundSchema.default("orq"),
|
|
142
|
-
reviewedAt: z.date().default(() => new Date("2026-06-
|
|
142
|
+
reviewedAt: z.date().default(() => new Date("2026-06-02T01:28:33.025Z"))
|
|
143
143
|
.transform(v => v.toISOString()),
|
|
144
144
|
type: z.literal("string"),
|
|
145
145
|
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-06-
|
|
109
|
+
updated: z.string().datetime({ offset: true }).default("2026-06-02T01:28:11.213Z").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-06-
|
|
140
|
+
updated: z.string().datetime({ offset: true }).default("2026-06-02T01:28:11.213Z").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) => {
|
|
@@ -409,7 +409,7 @@ exports.RetrieveDatapointEvaluations3$inboundSchema = z.object({
|
|
|
409
409
|
source: exports.RetrieveDatapointEvaluationsDatasetsResponseSource$inboundSchema
|
|
410
410
|
.default("orq"),
|
|
411
411
|
reviewed_by_id: z.string(),
|
|
412
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
412
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-02T01:28:32.793Z").transform(v => new Date(v)),
|
|
413
413
|
type: z.literal("string_array"),
|
|
414
414
|
values: z.array(z.string()),
|
|
415
415
|
}).transform((v) => {
|
|
@@ -436,7 +436,7 @@ exports.RetrieveDatapointEvaluations2$inboundSchema = z.object({
|
|
|
436
436
|
human_review_id: z.string(),
|
|
437
437
|
source: exports.RetrieveDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
438
438
|
reviewed_by_id: z.string(),
|
|
439
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
439
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-02T01:28:32.792Z").transform(v => new Date(v)),
|
|
440
440
|
type: z.literal("number"),
|
|
441
441
|
value: z.number(),
|
|
442
442
|
}).transform((v) => {
|
|
@@ -462,7 +462,7 @@ exports.RetrieveDatapointEvaluations1$inboundSchema = z.object({
|
|
|
462
462
|
human_review_id: z.string(),
|
|
463
463
|
source: exports.RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
464
464
|
reviewed_by_id: z.string(),
|
|
465
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
465
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-02T01:28:32.791Z").transform(v => new Date(v)),
|
|
466
466
|
type: z.literal("string"),
|
|
467
467
|
value: z.string(),
|
|
468
468
|
}).transform((v) => {
|
|
@@ -509,7 +509,7 @@ exports.RetrieveDatapointResponseBody$inboundSchema = z.object({
|
|
|
509
509
|
updated_by_id: z.string().optional(),
|
|
510
510
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
511
511
|
.optional(),
|
|
512
|
-
updated: z.string().datetime({ offset: true }).default("2026-06-
|
|
512
|
+
updated: z.string().datetime({ offset: true }).default("2026-06-02T01:28:11.213Z").transform(v => new Date(v)),
|
|
513
513
|
}).transform((v) => {
|
|
514
514
|
return (0, primitives_js_1.remap)(v, {
|
|
515
515
|
"_id": "id",
|
|
@@ -78,7 +78,7 @@ exports.RetrieveDatasetResponseBody$inboundSchema = z.object({
|
|
|
78
78
|
updated_by_id: 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-06-
|
|
81
|
+
updated: z.string().datetime({ offset: true }).default("2026-06-02T01:28:11.213Z").transform(v => new Date(v)),
|
|
82
82
|
}).transform((v) => {
|
|
83
83
|
return (0, primitives_js_1.remap)(v, {
|
|
84
84
|
"_id": "id",
|
|
@@ -66,7 +66,7 @@ function retrieveDatasourceRequestToJSON(retrieveDatasourceRequest) {
|
|
|
66
66
|
exports.RetrieveDatasourceStatus$inboundSchema = z.nativeEnum(exports.RetrieveDatasourceStatus);
|
|
67
67
|
/** @internal */
|
|
68
68
|
exports.RetrieveDatasourceResponseBody$inboundSchema = z.object({
|
|
69
|
-
_id: z.string().default("
|
|
69
|
+
_id: z.string().default("01KT2Z4P6CZNSQHD8JHV9F4NYW"),
|
|
70
70
|
display_name: z.string(),
|
|
71
71
|
description: z.string().optional(),
|
|
72
72
|
status: exports.RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -187,7 +187,7 @@ function retrieveToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
187
187
|
}
|
|
188
188
|
/** @internal */
|
|
189
189
|
exports.RetrieveToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
190
|
-
_id: z.string().default("
|
|
190
|
+
_id: z.string().default("tool_01KT2Z4P35XY7GQR4F8VMXPE0F"),
|
|
191
191
|
path: z.string(),
|
|
192
192
|
key: z.string(),
|
|
193
193
|
display_name: z.string().optional(),
|
|
@@ -240,7 +240,7 @@ function retrieveToolResponseBodyToolsSchemaFromJSON(jsonString) {
|
|
|
240
240
|
}
|
|
241
241
|
/** @internal */
|
|
242
242
|
exports.RetrieveToolResponseBodyTools$inboundSchema = z.object({
|
|
243
|
-
id: z.string().default("
|
|
243
|
+
id: z.string().default("01KT2Z4P34M1P1BKCNF3NQ1166"),
|
|
244
244
|
name: z.string(),
|
|
245
245
|
description: z.string().optional(),
|
|
246
246
|
schema: z.lazy(() => exports.RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -270,7 +270,7 @@ function retrieveToolResponseBodyMcpFromJSON(jsonString) {
|
|
|
270
270
|
}
|
|
271
271
|
/** @internal */
|
|
272
272
|
exports.RetrieveToolResponseBodyMCPTool$inboundSchema = z.object({
|
|
273
|
-
_id: z.string().default("
|
|
273
|
+
_id: z.string().default("tool_01KT2Z4P32N7BJFEQSF6C99NYA"),
|
|
274
274
|
path: z.string(),
|
|
275
275
|
key: z.string(),
|
|
276
276
|
display_name: z.string().optional(),
|
|
@@ -357,7 +357,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
357
357
|
}
|
|
358
358
|
/** @internal */
|
|
359
359
|
exports.RetrieveToolResponseBodyHTTPTool$inboundSchema = z.object({
|
|
360
|
-
_id: z.string().default("
|
|
360
|
+
_id: z.string().default("tool_01KT2Z4P30PCPKXZDYPQSK0K4D"),
|
|
361
361
|
path: z.string(),
|
|
362
362
|
key: z.string(),
|
|
363
363
|
display_name: z.string().optional(),
|
|
@@ -407,7 +407,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
407
407
|
}
|
|
408
408
|
/** @internal */
|
|
409
409
|
exports.RetrieveToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
410
|
-
_id: z.string().default("
|
|
410
|
+
_id: z.string().default("tool_01KT2Z4P2X11XASM09AR0KWJTC"),
|
|
411
411
|
path: z.string(),
|
|
412
412
|
key: z.string(),
|
|
413
413
|
display_name: z.string().optional(),
|
|
@@ -461,7 +461,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
461
461
|
}
|
|
462
462
|
/** @internal */
|
|
463
463
|
exports.RetrieveToolResponseBodyFunctionTool$inboundSchema = z.object({
|
|
464
|
-
_id: z.string().default("
|
|
464
|
+
_id: z.string().default("tool_01KT2Z4P2VHA9Y2JMYA8KQ2XVV"),
|
|
465
465
|
path: z.string(),
|
|
466
466
|
key: z.string(),
|
|
467
467
|
display_name: z.string().optional(),
|
|
@@ -1000,7 +1000,7 @@ function agentToolInputRunSchemaToJSON(agentToolInputRunSchema) {
|
|
|
1000
1000
|
}
|
|
1001
1001
|
/** @internal */
|
|
1002
1002
|
exports.Tools$outboundSchema = z.object({
|
|
1003
|
-
id: z.string().default("
|
|
1003
|
+
id: z.string().default("01KT2Z4NT89N8Q8WFPR5T406T1"),
|
|
1004
1004
|
name: z.string(),
|
|
1005
1005
|
description: z.string().optional(),
|
|
1006
1006
|
schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
|
|
@@ -963,7 +963,7 @@ function streamRunAgentAgentToolInputRunAgentsSchemaToJSON(streamRunAgentAgentTo
|
|
|
963
963
|
}
|
|
964
964
|
/** @internal */
|
|
965
965
|
exports.AgentToolInputRunTools$outboundSchema = z.object({
|
|
966
|
-
id: z.string().default("
|
|
966
|
+
id: z.string().default("01KT2Z4NVWX4FWQKQZ978SA186"),
|
|
967
967
|
name: z.string(),
|
|
968
968
|
description: z.string().optional(),
|
|
969
969
|
schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
|
|
@@ -745,7 +745,7 @@ exports.UpdateDatapointEvaluations3$inboundSchema = z.object({
|
|
|
745
745
|
source: exports.UpdateDatapointEvaluationsDatasetsResponseSource$inboundSchema
|
|
746
746
|
.default("orq"),
|
|
747
747
|
reviewed_by_id: z.string(),
|
|
748
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
748
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-02T01:28:32.862Z").transform(v => new Date(v)),
|
|
749
749
|
type: z.literal("string_array"),
|
|
750
750
|
values: z.array(z.string()),
|
|
751
751
|
}).transform((v) => {
|
|
@@ -772,7 +772,7 @@ exports.UpdateDatapointEvaluations2$inboundSchema = z.object({
|
|
|
772
772
|
human_review_id: z.string(),
|
|
773
773
|
source: exports.UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
774
774
|
reviewed_by_id: z.string(),
|
|
775
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
775
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-02T01:28:32.861Z").transform(v => new Date(v)),
|
|
776
776
|
type: z.literal("number"),
|
|
777
777
|
value: z.number(),
|
|
778
778
|
}).transform((v) => {
|
|
@@ -798,7 +798,7 @@ exports.UpdateDatapointEvaluations1$inboundSchema = z.object({
|
|
|
798
798
|
human_review_id: z.string(),
|
|
799
799
|
source: exports.UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
800
800
|
reviewed_by_id: z.string(),
|
|
801
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
801
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-02T01:28:32.860Z").transform(v => new Date(v)),
|
|
802
802
|
type: z.literal("string"),
|
|
803
803
|
value: z.string(),
|
|
804
804
|
}).transform((v) => {
|
|
@@ -845,7 +845,7 @@ exports.UpdateDatapointResponseBody$inboundSchema = z.object({
|
|
|
845
845
|
updated_by_id: z.string().optional(),
|
|
846
846
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
847
847
|
.optional(),
|
|
848
|
-
updated: z.string().datetime({ offset: true }).default("2026-06-
|
|
848
|
+
updated: z.string().datetime({ offset: true }).default("2026-06-02T01:28:11.213Z").transform(v => new Date(v)),
|
|
849
849
|
}).transform((v) => {
|
|
850
850
|
return (0, primitives_js_1.remap)(v, {
|
|
851
851
|
"_id": "id",
|
|
@@ -95,7 +95,7 @@ exports.UpdateDatasetResponseBody$inboundSchema = z.object({
|
|
|
95
95
|
updated_by_id: z.string().optional(),
|
|
96
96
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
97
97
|
.optional(),
|
|
98
|
-
updated: z.string().datetime({ offset: true }).default("2026-06-
|
|
98
|
+
updated: z.string().datetime({ offset: true }).default("2026-06-02T01:28:11.213Z").transform(v => new Date(v)),
|
|
99
99
|
}).transform((v) => {
|
|
100
100
|
return (0, primitives_js_1.remap)(v, {
|
|
101
101
|
"_id": "id",
|
|
@@ -80,7 +80,7 @@ function updateDatasourceRequestToJSON(updateDatasourceRequest) {
|
|
|
80
80
|
exports.UpdateDatasourceStatus$inboundSchema = z.nativeEnum(exports.UpdateDatasourceStatus);
|
|
81
81
|
/** @internal */
|
|
82
82
|
exports.UpdateDatasourceResponseBody$inboundSchema = z.object({
|
|
83
|
-
_id: z.string().default("
|
|
83
|
+
_id: z.string().default("01KT2Z4P6HTJE1W5KF3D9RRGRX"),
|
|
84
84
|
display_name: z.string(),
|
|
85
85
|
description: z.string().optional(),
|
|
86
86
|
status: exports.UpdateDatasourceStatus$inboundSchema,
|
|
@@ -55,20 +55,17 @@ export declare const Operator: {
|
|
|
55
55
|
};
|
|
56
56
|
export type Operator = ClosedEnum<typeof Operator>;
|
|
57
57
|
export type NumberT = {
|
|
58
|
-
enabled?: boolean | undefined;
|
|
59
58
|
alertOnFailure?: boolean | undefined;
|
|
60
59
|
type: "number";
|
|
61
60
|
value: number;
|
|
62
61
|
operator: Operator;
|
|
63
62
|
};
|
|
64
63
|
export type Categorical = {
|
|
65
|
-
enabled?: boolean | undefined;
|
|
66
64
|
alertOnFailure?: boolean | undefined;
|
|
67
65
|
type: "categorical";
|
|
68
66
|
values: Array<string>;
|
|
69
67
|
};
|
|
70
68
|
export type Boolean = {
|
|
71
|
-
enabled?: boolean | undefined;
|
|
72
69
|
alertOnFailure?: boolean | undefined;
|
|
73
70
|
type: "boolean";
|
|
74
71
|
value: boolean;
|
|
@@ -127,20 +124,17 @@ export declare const UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONRes
|
|
|
127
124
|
};
|
|
128
125
|
export type UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyOperator = ClosedEnum<typeof UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyOperator>;
|
|
129
126
|
export type UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber = {
|
|
130
|
-
enabled: boolean;
|
|
131
127
|
alertOnFailure: boolean;
|
|
132
128
|
type: "number";
|
|
133
129
|
value: number;
|
|
134
130
|
operator: UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyOperator;
|
|
135
131
|
};
|
|
136
132
|
export type UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyCategorical = {
|
|
137
|
-
enabled: boolean;
|
|
138
133
|
alertOnFailure: boolean;
|
|
139
134
|
type: "categorical";
|
|
140
135
|
values: Array<string>;
|
|
141
136
|
};
|
|
142
137
|
export type UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean = {
|
|
143
|
-
enabled: boolean;
|
|
144
138
|
alertOnFailure: boolean;
|
|
145
139
|
type: "boolean";
|
|
146
140
|
value: boolean;
|
|
@@ -170,20 +164,17 @@ export declare const UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONOpe
|
|
|
170
164
|
};
|
|
171
165
|
export type UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONOperator = ClosedEnum<typeof UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONOperator>;
|
|
172
166
|
export type UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber = {
|
|
173
|
-
enabled: boolean;
|
|
174
167
|
alertOnFailure: boolean;
|
|
175
168
|
type: "number";
|
|
176
169
|
value: number;
|
|
177
170
|
operator: UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONOperator;
|
|
178
171
|
};
|
|
179
172
|
export type UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONCategorical = {
|
|
180
|
-
enabled: boolean;
|
|
181
173
|
alertOnFailure: boolean;
|
|
182
174
|
type: "categorical";
|
|
183
175
|
values: Array<string>;
|
|
184
176
|
};
|
|
185
177
|
export type UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean = {
|
|
186
|
-
enabled: boolean;
|
|
187
178
|
alertOnFailure: boolean;
|
|
188
179
|
type: "boolean";
|
|
189
180
|
value: boolean;
|
|
@@ -229,20 +220,17 @@ export declare const UpdateEvalGuardrailConfigEvalsResponse200Operator: {
|
|
|
229
220
|
};
|
|
230
221
|
export type UpdateEvalGuardrailConfigEvalsResponse200Operator = ClosedEnum<typeof UpdateEvalGuardrailConfigEvalsResponse200Operator>;
|
|
231
222
|
export type UpdateEvalGuardrailConfigEvalsResponse200Number = {
|
|
232
|
-
enabled: boolean;
|
|
233
223
|
alertOnFailure: boolean;
|
|
234
224
|
type: "number";
|
|
235
225
|
value: number;
|
|
236
226
|
operator: UpdateEvalGuardrailConfigEvalsResponse200Operator;
|
|
237
227
|
};
|
|
238
228
|
export type UpdateEvalGuardrailConfigEvalsResponse200Categorical = {
|
|
239
|
-
enabled: boolean;
|
|
240
229
|
alertOnFailure: boolean;
|
|
241
230
|
type: "categorical";
|
|
242
231
|
values: Array<string>;
|
|
243
232
|
};
|
|
244
233
|
export type UpdateEvalGuardrailConfigEvalsResponse200Boolean = {
|
|
245
|
-
enabled: boolean;
|
|
246
234
|
alertOnFailure: boolean;
|
|
247
235
|
type: "boolean";
|
|
248
236
|
value: boolean;
|
|
@@ -381,20 +369,17 @@ export declare const UpdateEvalGuardrailConfigEvalsResponseOperator: {
|
|
|
381
369
|
};
|
|
382
370
|
export type UpdateEvalGuardrailConfigEvalsResponseOperator = ClosedEnum<typeof UpdateEvalGuardrailConfigEvalsResponseOperator>;
|
|
383
371
|
export type UpdateEvalGuardrailConfigEvalsResponseNumber = {
|
|
384
|
-
enabled: boolean;
|
|
385
372
|
alertOnFailure: boolean;
|
|
386
373
|
type: "number";
|
|
387
374
|
value: number;
|
|
388
375
|
operator: UpdateEvalGuardrailConfigEvalsResponseOperator;
|
|
389
376
|
};
|
|
390
377
|
export type UpdateEvalGuardrailConfigEvalsResponseCategorical = {
|
|
391
|
-
enabled: boolean;
|
|
392
378
|
alertOnFailure: boolean;
|
|
393
379
|
type: "categorical";
|
|
394
380
|
values: Array<string>;
|
|
395
381
|
};
|
|
396
382
|
export type UpdateEvalGuardrailConfigEvalsResponseBoolean = {
|
|
397
|
-
enabled: boolean;
|
|
398
383
|
alertOnFailure: boolean;
|
|
399
384
|
type: "boolean";
|
|
400
385
|
value: boolean;
|
|
@@ -424,20 +409,17 @@ export declare const UpdateEvalGuardrailConfigEvalsOperator: {
|
|
|
424
409
|
};
|
|
425
410
|
export type UpdateEvalGuardrailConfigEvalsOperator = ClosedEnum<typeof UpdateEvalGuardrailConfigEvalsOperator>;
|
|
426
411
|
export type UpdateEvalGuardrailConfigEvalsNumber = {
|
|
427
|
-
enabled: boolean;
|
|
428
412
|
alertOnFailure: boolean;
|
|
429
413
|
type: "number";
|
|
430
414
|
value: number;
|
|
431
415
|
operator: UpdateEvalGuardrailConfigEvalsOperator;
|
|
432
416
|
};
|
|
433
417
|
export type UpdateEvalGuardrailConfigEvalsCategorical = {
|
|
434
|
-
enabled: boolean;
|
|
435
418
|
alertOnFailure: boolean;
|
|
436
419
|
type: "categorical";
|
|
437
420
|
values: Array<string>;
|
|
438
421
|
};
|
|
439
422
|
export type UpdateEvalGuardrailConfigEvalsBoolean = {
|
|
440
|
-
enabled: boolean;
|
|
441
423
|
alertOnFailure: boolean;
|
|
442
424
|
type: "boolean";
|
|
443
425
|
value: boolean;
|
|
@@ -479,20 +461,17 @@ export declare const UpdateEvalGuardrailConfigOperator: {
|
|
|
479
461
|
};
|
|
480
462
|
export type UpdateEvalGuardrailConfigOperator = ClosedEnum<typeof UpdateEvalGuardrailConfigOperator>;
|
|
481
463
|
export type UpdateEvalGuardrailConfigNumber = {
|
|
482
|
-
enabled: boolean;
|
|
483
464
|
alertOnFailure: boolean;
|
|
484
465
|
type: "number";
|
|
485
466
|
value: number;
|
|
486
467
|
operator: UpdateEvalGuardrailConfigOperator;
|
|
487
468
|
};
|
|
488
469
|
export type UpdateEvalGuardrailConfigCategorical = {
|
|
489
|
-
enabled: boolean;
|
|
490
470
|
alertOnFailure: boolean;
|
|
491
471
|
type: "categorical";
|
|
492
472
|
values: Array<string>;
|
|
493
473
|
};
|
|
494
474
|
export type UpdateEvalGuardrailConfigBoolean = {
|
|
495
|
-
enabled: boolean;
|
|
496
475
|
alertOnFailure: boolean;
|
|
497
476
|
type: "boolean";
|
|
498
477
|
value: boolean;
|
|
@@ -522,20 +501,17 @@ export declare const UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONRes
|
|
|
522
501
|
};
|
|
523
502
|
export type UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMOperator = ClosedEnum<typeof UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMOperator>;
|
|
524
503
|
export type UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMNumber = {
|
|
525
|
-
enabled: boolean;
|
|
526
504
|
alertOnFailure: boolean;
|
|
527
505
|
type: "number";
|
|
528
506
|
value: number;
|
|
529
507
|
operator: UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMOperator;
|
|
530
508
|
};
|
|
531
509
|
export type UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMCategorical = {
|
|
532
|
-
enabled: boolean;
|
|
533
510
|
alertOnFailure: boolean;
|
|
534
511
|
type: "categorical";
|
|
535
512
|
values: Array<string>;
|
|
536
513
|
};
|
|
537
514
|
export type UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMBoolean = {
|
|
538
|
-
enabled: boolean;
|
|
539
515
|
alertOnFailure: boolean;
|
|
540
516
|
type: "boolean";
|
|
541
517
|
value: boolean;
|
|
@@ -609,20 +585,17 @@ export declare const UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONRes
|
|
|
609
585
|
};
|
|
610
586
|
export type UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Operator = ClosedEnum<typeof UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Operator>;
|
|
611
587
|
export type UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Number = {
|
|
612
|
-
enabled: boolean;
|
|
613
588
|
alertOnFailure: boolean;
|
|
614
589
|
type: "number";
|
|
615
590
|
value: number;
|
|
616
591
|
operator: UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Operator;
|
|
617
592
|
};
|
|
618
593
|
export type UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Categorical = {
|
|
619
|
-
enabled: boolean;
|
|
620
594
|
alertOnFailure: boolean;
|
|
621
595
|
type: "categorical";
|
|
622
596
|
values: Array<string>;
|
|
623
597
|
};
|
|
624
598
|
export type UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Boolean = {
|
|
625
|
-
enabled: boolean;
|
|
626
599
|
alertOnFailure: boolean;
|
|
627
600
|
type: "boolean";
|
|
628
601
|
value: boolean;
|
|
@@ -731,7 +704,6 @@ export declare function juryToJSON(jury: Jury): string;
|
|
|
731
704
|
export declare const Operator$outboundSchema: z.ZodNativeEnum<typeof Operator>;
|
|
732
705
|
/** @internal */
|
|
733
706
|
export type NumberT$Outbound = {
|
|
734
|
-
enabled: boolean;
|
|
735
707
|
alert_on_failure: boolean;
|
|
736
708
|
type: "number";
|
|
737
709
|
value: number;
|
|
@@ -742,7 +714,6 @@ export declare const NumberT$outboundSchema: z.ZodType<NumberT$Outbound, z.ZodTy
|
|
|
742
714
|
export declare function numberToJSON(numberT: NumberT): string;
|
|
743
715
|
/** @internal */
|
|
744
716
|
export type Categorical$Outbound = {
|
|
745
|
-
enabled: boolean;
|
|
746
717
|
alert_on_failure: boolean;
|
|
747
718
|
type: "categorical";
|
|
748
719
|
values: Array<string>;
|
|
@@ -752,7 +723,6 @@ export declare const Categorical$outboundSchema: z.ZodType<Categorical$Outbound,
|
|
|
752
723
|
export declare function categoricalToJSON(categorical: Categorical): string;
|
|
753
724
|
/** @internal */
|
|
754
725
|
export type Boolean$Outbound = {
|
|
755
|
-
enabled: boolean;
|
|
756
726
|
alert_on_failure: boolean;
|
|
757
727
|
type: "boolean";
|
|
758
728
|
value: boolean;
|