vellum-ai 0.3.19 → 0.3.21
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/Client.js +9 -9
- package/api/resources/deployments/client/Client.js +3 -3
- package/api/resources/documentIndexes/client/Client.js +6 -6
- package/api/resources/documents/client/Client.js +4 -4
- package/api/resources/folderEntities/client/Client.js +1 -1
- package/api/resources/modelVersions/client/Client.js +1 -1
- package/api/resources/registeredPrompts/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +2 -2
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.d.ts +7 -0
- package/api/resources/testSuites/client/Client.js +59 -3
- package/api/resources/testSuites/client/requests/ListTestSuiteTestCasesRequest.d.ts +17 -0
- package/api/resources/testSuites/client/requests/ListTestSuiteTestCasesRequest.js +5 -0
- package/api/resources/testSuites/client/requests/index.d.ts +1 -0
- package/api/resources/workflowDeployments/client/Client.js +2 -2
- package/api/types/FulfilledPromptExecutionMeta.d.ts +1 -0
- package/api/types/MlModelUsage.d.ts +10 -0
- package/api/types/MlModelUsage.js +5 -0
- package/api/types/PaginatedTestSuiteTestCaseList.d.ts +10 -0
- package/api/types/PaginatedTestSuiteTestCaseList.js +5 -0
- package/api/types/PromptDeploymentExpandMetaRequestRequest.d.ts +2 -0
- package/api/types/PromptExecutionMeta.d.ts +1 -0
- package/api/types/TestSuiteRunMetricOutput.d.ts +4 -1
- package/api/types/TestSuiteRunMetricStringOutput.d.ts +10 -0
- package/api/types/TestSuiteRunMetricStringOutput.js +5 -0
- package/api/types/TestSuiteRunMetricStringOutputTypeEnum.d.ts +4 -0
- package/api/types/TestSuiteRunMetricStringOutputTypeEnum.js +5 -0
- package/api/types/index.d.ts +4 -0
- package/api/types/index.js +4 -0
- package/dist/Client.js +9 -9
- package/dist/api/resources/deployments/client/Client.js +3 -3
- package/dist/api/resources/documentIndexes/client/Client.js +6 -6
- package/dist/api/resources/documents/client/Client.js +4 -4
- package/dist/api/resources/folderEntities/client/Client.js +1 -1
- package/dist/api/resources/modelVersions/client/Client.js +1 -1
- package/dist/api/resources/registeredPrompts/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +2 -2
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.d.ts +7 -0
- package/dist/api/resources/testSuites/client/Client.js +59 -3
- package/dist/api/resources/testSuites/client/requests/ListTestSuiteTestCasesRequest.d.ts +17 -0
- package/dist/api/resources/testSuites/client/requests/ListTestSuiteTestCasesRequest.js +5 -0
- package/dist/api/resources/testSuites/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workflowDeployments/client/Client.js +2 -2
- package/dist/api/types/FulfilledPromptExecutionMeta.d.ts +1 -0
- package/dist/api/types/MlModelUsage.d.ts +10 -0
- package/dist/api/types/MlModelUsage.js +5 -0
- package/dist/api/types/PaginatedTestSuiteTestCaseList.d.ts +10 -0
- package/dist/api/types/PaginatedTestSuiteTestCaseList.js +5 -0
- package/dist/api/types/PromptDeploymentExpandMetaRequestRequest.d.ts +2 -0
- package/dist/api/types/PromptExecutionMeta.d.ts +1 -0
- package/dist/api/types/TestSuiteRunMetricOutput.d.ts +4 -1
- package/dist/api/types/TestSuiteRunMetricStringOutput.d.ts +10 -0
- package/dist/api/types/TestSuiteRunMetricStringOutput.js +5 -0
- package/dist/api/types/TestSuiteRunMetricStringOutputTypeEnum.d.ts +4 -0
- package/dist/api/types/TestSuiteRunMetricStringOutputTypeEnum.js +5 -0
- package/dist/api/types/index.d.ts +4 -0
- package/dist/api/types/index.js +4 -0
- package/dist/serialization/types/FulfilledPromptExecutionMeta.d.ts +2 -0
- package/dist/serialization/types/FulfilledPromptExecutionMeta.js +2 -0
- package/dist/serialization/types/MlModelUsage.d.ts +16 -0
- package/dist/serialization/types/MlModelUsage.js +37 -0
- package/dist/serialization/types/PaginatedTestSuiteTestCaseList.d.ts +16 -0
- package/dist/serialization/types/PaginatedTestSuiteTestCaseList.js +37 -0
- package/dist/serialization/types/PromptDeploymentExpandMetaRequestRequest.d.ts +1 -0
- package/dist/serialization/types/PromptDeploymentExpandMetaRequestRequest.js +1 -0
- package/dist/serialization/types/PromptExecutionMeta.d.ts +2 -0
- package/dist/serialization/types/PromptExecutionMeta.js +2 -0
- package/dist/serialization/types/TestSuiteRunMetricOutput.d.ts +5 -1
- package/dist/serialization/types/TestSuiteRunMetricOutput.js +2 -0
- package/dist/serialization/types/TestSuiteRunMetricStringOutput.d.ts +13 -0
- package/dist/serialization/types/TestSuiteRunMetricStringOutput.js +34 -0
- package/dist/serialization/types/TestSuiteRunMetricStringOutputTypeEnum.d.ts +10 -0
- package/dist/serialization/types/TestSuiteRunMetricStringOutputTypeEnum.js +31 -0
- package/dist/serialization/types/index.d.ts +4 -0
- package/dist/serialization/types/index.js +4 -0
- package/package.json +1 -1
- package/serialization/types/FulfilledPromptExecutionMeta.d.ts +2 -0
- package/serialization/types/FulfilledPromptExecutionMeta.js +2 -0
- package/serialization/types/MlModelUsage.d.ts +16 -0
- package/serialization/types/MlModelUsage.js +37 -0
- package/serialization/types/PaginatedTestSuiteTestCaseList.d.ts +16 -0
- package/serialization/types/PaginatedTestSuiteTestCaseList.js +37 -0
- package/serialization/types/PromptDeploymentExpandMetaRequestRequest.d.ts +1 -0
- package/serialization/types/PromptDeploymentExpandMetaRequestRequest.js +1 -0
- package/serialization/types/PromptExecutionMeta.d.ts +2 -0
- package/serialization/types/PromptExecutionMeta.js +2 -0
- package/serialization/types/TestSuiteRunMetricOutput.d.ts +5 -1
- package/serialization/types/TestSuiteRunMetricOutput.js +2 -0
- package/serialization/types/TestSuiteRunMetricStringOutput.d.ts +13 -0
- package/serialization/types/TestSuiteRunMetricStringOutput.js +34 -0
- package/serialization/types/TestSuiteRunMetricStringOutputTypeEnum.d.ts +10 -0
- package/serialization/types/TestSuiteRunMetricStringOutputTypeEnum.js +31 -0
- package/serialization/types/index.d.ts +4 -0
- package/serialization/types/index.js +4 -0
|
@@ -94,6 +94,7 @@ export * from "./JsonEnum";
|
|
|
94
94
|
export * from "./JsonVariableValue";
|
|
95
95
|
export * from "./LogicalOperator";
|
|
96
96
|
export * from "./LogprobsEnum";
|
|
97
|
+
export * from "./MlModelUsage";
|
|
97
98
|
export * from "./MetadataFilterConfigRequest";
|
|
98
99
|
export * from "./MetadataFilterRuleCombinator";
|
|
99
100
|
export * from "./MetadataFilterRuleRequest";
|
|
@@ -137,6 +138,7 @@ export * from "./PaginatedSlimDeploymentReadList";
|
|
|
137
138
|
export * from "./PaginatedSlimDocumentList";
|
|
138
139
|
export * from "./PaginatedSlimWorkflowDeploymentList";
|
|
139
140
|
export * from "./PaginatedTestSuiteRunExecutionList";
|
|
141
|
+
export * from "./PaginatedTestSuiteTestCaseList";
|
|
140
142
|
export * from "./ProcessingFailureReasonEnum";
|
|
141
143
|
export * from "./ProcessingStateEnum";
|
|
142
144
|
export * from "./PromptDeploymentExpandMetaRequestRequest";
|
|
@@ -255,6 +257,8 @@ export * from "./TestSuiteRunMetricErrorOutputTypeEnum";
|
|
|
255
257
|
export * from "./TestSuiteRunMetricNumberOutput";
|
|
256
258
|
export * from "./TestSuiteRunMetricNumberOutputTypeEnum";
|
|
257
259
|
export * from "./TestSuiteRunMetricOutput";
|
|
260
|
+
export * from "./TestSuiteRunMetricStringOutput";
|
|
261
|
+
export * from "./TestSuiteRunMetricStringOutputTypeEnum";
|
|
258
262
|
export * from "./TestSuiteRunRead";
|
|
259
263
|
export * from "./TestSuiteRunState";
|
|
260
264
|
export * from "./TestSuiteRunTestSuite";
|
package/dist/api/types/index.js
CHANGED
|
@@ -110,6 +110,7 @@ __exportStar(require("./JsonEnum"), exports);
|
|
|
110
110
|
__exportStar(require("./JsonVariableValue"), exports);
|
|
111
111
|
__exportStar(require("./LogicalOperator"), exports);
|
|
112
112
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
113
|
+
__exportStar(require("./MlModelUsage"), exports);
|
|
113
114
|
__exportStar(require("./MetadataFilterConfigRequest"), exports);
|
|
114
115
|
__exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
115
116
|
__exportStar(require("./MetadataFilterRuleRequest"), exports);
|
|
@@ -153,6 +154,7 @@ __exportStar(require("./PaginatedSlimDeploymentReadList"), exports);
|
|
|
153
154
|
__exportStar(require("./PaginatedSlimDocumentList"), exports);
|
|
154
155
|
__exportStar(require("./PaginatedSlimWorkflowDeploymentList"), exports);
|
|
155
156
|
__exportStar(require("./PaginatedTestSuiteRunExecutionList"), exports);
|
|
157
|
+
__exportStar(require("./PaginatedTestSuiteTestCaseList"), exports);
|
|
156
158
|
__exportStar(require("./ProcessingFailureReasonEnum"), exports);
|
|
157
159
|
__exportStar(require("./ProcessingStateEnum"), exports);
|
|
158
160
|
__exportStar(require("./PromptDeploymentExpandMetaRequestRequest"), exports);
|
|
@@ -271,6 +273,8 @@ __exportStar(require("./TestSuiteRunMetricErrorOutputTypeEnum"), exports);
|
|
|
271
273
|
__exportStar(require("./TestSuiteRunMetricNumberOutput"), exports);
|
|
272
274
|
__exportStar(require("./TestSuiteRunMetricNumberOutputTypeEnum"), exports);
|
|
273
275
|
__exportStar(require("./TestSuiteRunMetricOutput"), exports);
|
|
276
|
+
__exportStar(require("./TestSuiteRunMetricStringOutput"), exports);
|
|
277
|
+
__exportStar(require("./TestSuiteRunMetricStringOutputTypeEnum"), exports);
|
|
274
278
|
__exportStar(require("./TestSuiteRunRead"), exports);
|
|
275
279
|
__exportStar(require("./TestSuiteRunState"), exports);
|
|
276
280
|
__exportStar(require("./TestSuiteRunTestSuite"), exports);
|
|
@@ -5,10 +5,12 @@ import * as serializers from "..";
|
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { FinishReasonEnum } from "./FinishReasonEnum";
|
|
8
|
+
import { MlModelUsage } from "./MlModelUsage";
|
|
8
9
|
export declare const FulfilledPromptExecutionMeta: core.serialization.ObjectSchema<serializers.FulfilledPromptExecutionMeta.Raw, Vellum.FulfilledPromptExecutionMeta>;
|
|
9
10
|
export declare namespace FulfilledPromptExecutionMeta {
|
|
10
11
|
interface Raw {
|
|
11
12
|
latency?: number | null;
|
|
12
13
|
finish_reason?: FinishReasonEnum.Raw | null;
|
|
14
|
+
usage?: MlModelUsage.Raw | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -29,7 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.FulfilledPromptExecutionMeta = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const FinishReasonEnum_1 = require("./FinishReasonEnum");
|
|
32
|
+
const MlModelUsage_1 = require("./MlModelUsage");
|
|
32
33
|
exports.FulfilledPromptExecutionMeta = core.serialization.object({
|
|
33
34
|
latency: core.serialization.number().optional(),
|
|
34
35
|
finishReason: core.serialization.property("finish_reason", FinishReasonEnum_1.FinishReasonEnum.optional()),
|
|
36
|
+
usage: MlModelUsage_1.MlModelUsage.optional(),
|
|
35
37
|
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const MlModelUsage: core.serialization.ObjectSchema<serializers.MlModelUsage.Raw, Vellum.MlModelUsage>;
|
|
8
|
+
export declare namespace MlModelUsage {
|
|
9
|
+
interface Raw {
|
|
10
|
+
output_token_count?: number | null;
|
|
11
|
+
input_token_count?: number | null;
|
|
12
|
+
input_char_count?: number | null;
|
|
13
|
+
output_char_count?: number | null;
|
|
14
|
+
compute_nanos?: number | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.MlModelUsage = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.MlModelUsage = core.serialization.object({
|
|
32
|
+
outputTokenCount: core.serialization.property("output_token_count", core.serialization.number().optional()),
|
|
33
|
+
inputTokenCount: core.serialization.property("input_token_count", core.serialization.number().optional()),
|
|
34
|
+
inputCharCount: core.serialization.property("input_char_count", core.serialization.number().optional()),
|
|
35
|
+
outputCharCount: core.serialization.property("output_char_count", core.serialization.number().optional()),
|
|
36
|
+
computeNanos: core.serialization.property("compute_nanos", core.serialization.number().optional()),
|
|
37
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { TestSuiteTestCase } from "./TestSuiteTestCase";
|
|
8
|
+
export declare const PaginatedTestSuiteTestCaseList: core.serialization.ObjectSchema<serializers.PaginatedTestSuiteTestCaseList.Raw, Vellum.PaginatedTestSuiteTestCaseList>;
|
|
9
|
+
export declare namespace PaginatedTestSuiteTestCaseList {
|
|
10
|
+
interface Raw {
|
|
11
|
+
count: number;
|
|
12
|
+
next?: string | null;
|
|
13
|
+
previous?: string | null;
|
|
14
|
+
results: TestSuiteTestCase.Raw[];
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PaginatedTestSuiteTestCaseList = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const TestSuiteTestCase_1 = require("./TestSuiteTestCase");
|
|
32
|
+
exports.PaginatedTestSuiteTestCaseList = core.serialization.object({
|
|
33
|
+
count: core.serialization.number(),
|
|
34
|
+
next: core.serialization.string().optional(),
|
|
35
|
+
previous: core.serialization.string().optional(),
|
|
36
|
+
results: core.serialization.list(TestSuiteTestCase_1.TestSuiteTestCase),
|
|
37
|
+
});
|
|
@@ -34,4 +34,5 @@ exports.PromptDeploymentExpandMetaRequestRequest = core.serialization.object({
|
|
|
34
34
|
deploymentReleaseTag: core.serialization.property("deployment_release_tag", core.serialization.boolean().optional()),
|
|
35
35
|
promptVersionId: core.serialization.property("prompt_version_id", core.serialization.boolean().optional()),
|
|
36
36
|
finishReason: core.serialization.property("finish_reason", core.serialization.boolean().optional()),
|
|
37
|
+
usage: core.serialization.boolean().optional(),
|
|
37
38
|
});
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { MlModelUsage } from "./MlModelUsage";
|
|
7
8
|
import { FinishReasonEnum } from "./FinishReasonEnum";
|
|
8
9
|
export declare const PromptExecutionMeta: core.serialization.ObjectSchema<serializers.PromptExecutionMeta.Raw, Vellum.PromptExecutionMeta>;
|
|
9
10
|
export declare namespace PromptExecutionMeta {
|
|
10
11
|
interface Raw {
|
|
12
|
+
usage?: MlModelUsage.Raw | null;
|
|
11
13
|
model_name?: string | null;
|
|
12
14
|
latency?: number | null;
|
|
13
15
|
deployment_release_tag?: string | null;
|
|
@@ -28,8 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.PromptExecutionMeta = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const MlModelUsage_1 = require("./MlModelUsage");
|
|
31
32
|
const FinishReasonEnum_1 = require("./FinishReasonEnum");
|
|
32
33
|
exports.PromptExecutionMeta = core.serialization.object({
|
|
34
|
+
usage: MlModelUsage_1.MlModelUsage.optional(),
|
|
33
35
|
modelName: core.serialization.property("model_name", core.serialization.string().optional()),
|
|
34
36
|
latency: core.serialization.number().optional(),
|
|
35
37
|
deploymentReleaseTag: core.serialization.property("deployment_release_tag", core.serialization.string().optional()),
|
|
@@ -4,11 +4,15 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { TestSuiteRunMetricStringOutput } from "./TestSuiteRunMetricStringOutput";
|
|
7
8
|
import { TestSuiteRunMetricNumberOutput } from "./TestSuiteRunMetricNumberOutput";
|
|
8
9
|
import { TestSuiteRunMetricErrorOutput } from "./TestSuiteRunMetricErrorOutput";
|
|
9
10
|
export declare const TestSuiteRunMetricOutput: core.serialization.Schema<serializers.TestSuiteRunMetricOutput.Raw, Vellum.TestSuiteRunMetricOutput>;
|
|
10
11
|
export declare namespace TestSuiteRunMetricOutput {
|
|
11
|
-
type Raw = TestSuiteRunMetricOutput.Number | TestSuiteRunMetricOutput.Error;
|
|
12
|
+
type Raw = TestSuiteRunMetricOutput.String | TestSuiteRunMetricOutput.Number | TestSuiteRunMetricOutput.Error;
|
|
13
|
+
interface String extends TestSuiteRunMetricStringOutput.Raw {
|
|
14
|
+
type: "STRING";
|
|
15
|
+
}
|
|
12
16
|
interface Number extends TestSuiteRunMetricNumberOutput.Raw {
|
|
13
17
|
type: "NUMBER";
|
|
14
18
|
}
|
|
@@ -28,10 +28,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.TestSuiteRunMetricOutput = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const TestSuiteRunMetricStringOutput_1 = require("./TestSuiteRunMetricStringOutput");
|
|
31
32
|
const TestSuiteRunMetricNumberOutput_1 = require("./TestSuiteRunMetricNumberOutput");
|
|
32
33
|
const TestSuiteRunMetricErrorOutput_1 = require("./TestSuiteRunMetricErrorOutput");
|
|
33
34
|
exports.TestSuiteRunMetricOutput = core.serialization
|
|
34
35
|
.union("type", {
|
|
36
|
+
STRING: TestSuiteRunMetricStringOutput_1.TestSuiteRunMetricStringOutput,
|
|
35
37
|
NUMBER: TestSuiteRunMetricNumberOutput_1.TestSuiteRunMetricNumberOutput,
|
|
36
38
|
ERROR: TestSuiteRunMetricErrorOutput_1.TestSuiteRunMetricErrorOutput,
|
|
37
39
|
})
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TestSuiteRunMetricStringOutput: core.serialization.ObjectSchema<serializers.TestSuiteRunMetricStringOutput.Raw, Vellum.TestSuiteRunMetricStringOutput>;
|
|
8
|
+
export declare namespace TestSuiteRunMetricStringOutput {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value: string;
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TestSuiteRunMetricStringOutput = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.TestSuiteRunMetricStringOutput = core.serialization.object({
|
|
32
|
+
value: core.serialization.string(),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TestSuiteRunMetricStringOutputTypeEnum: core.serialization.Schema<serializers.TestSuiteRunMetricStringOutputTypeEnum.Raw, Vellum.TestSuiteRunMetricStringOutputTypeEnum>;
|
|
8
|
+
export declare namespace TestSuiteRunMetricStringOutputTypeEnum {
|
|
9
|
+
type Raw = "STRING";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TestSuiteRunMetricStringOutputTypeEnum = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.TestSuiteRunMetricStringOutputTypeEnum = core.serialization.stringLiteral("STRING");
|
|
@@ -94,6 +94,7 @@ export * from "./JsonEnum";
|
|
|
94
94
|
export * from "./JsonVariableValue";
|
|
95
95
|
export * from "./LogicalOperator";
|
|
96
96
|
export * from "./LogprobsEnum";
|
|
97
|
+
export * from "./MlModelUsage";
|
|
97
98
|
export * from "./MetadataFilterConfigRequest";
|
|
98
99
|
export * from "./MetadataFilterRuleCombinator";
|
|
99
100
|
export * from "./MetadataFilterRuleRequest";
|
|
@@ -137,6 +138,7 @@ export * from "./PaginatedSlimDeploymentReadList";
|
|
|
137
138
|
export * from "./PaginatedSlimDocumentList";
|
|
138
139
|
export * from "./PaginatedSlimWorkflowDeploymentList";
|
|
139
140
|
export * from "./PaginatedTestSuiteRunExecutionList";
|
|
141
|
+
export * from "./PaginatedTestSuiteTestCaseList";
|
|
140
142
|
export * from "./ProcessingFailureReasonEnum";
|
|
141
143
|
export * from "./ProcessingStateEnum";
|
|
142
144
|
export * from "./PromptDeploymentExpandMetaRequestRequest";
|
|
@@ -255,6 +257,8 @@ export * from "./TestSuiteRunMetricErrorOutputTypeEnum";
|
|
|
255
257
|
export * from "./TestSuiteRunMetricNumberOutput";
|
|
256
258
|
export * from "./TestSuiteRunMetricNumberOutputTypeEnum";
|
|
257
259
|
export * from "./TestSuiteRunMetricOutput";
|
|
260
|
+
export * from "./TestSuiteRunMetricStringOutput";
|
|
261
|
+
export * from "./TestSuiteRunMetricStringOutputTypeEnum";
|
|
258
262
|
export * from "./TestSuiteRunRead";
|
|
259
263
|
export * from "./TestSuiteRunState";
|
|
260
264
|
export * from "./TestSuiteRunTestSuite";
|
|
@@ -110,6 +110,7 @@ __exportStar(require("./JsonEnum"), exports);
|
|
|
110
110
|
__exportStar(require("./JsonVariableValue"), exports);
|
|
111
111
|
__exportStar(require("./LogicalOperator"), exports);
|
|
112
112
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
113
|
+
__exportStar(require("./MlModelUsage"), exports);
|
|
113
114
|
__exportStar(require("./MetadataFilterConfigRequest"), exports);
|
|
114
115
|
__exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
115
116
|
__exportStar(require("./MetadataFilterRuleRequest"), exports);
|
|
@@ -153,6 +154,7 @@ __exportStar(require("./PaginatedSlimDeploymentReadList"), exports);
|
|
|
153
154
|
__exportStar(require("./PaginatedSlimDocumentList"), exports);
|
|
154
155
|
__exportStar(require("./PaginatedSlimWorkflowDeploymentList"), exports);
|
|
155
156
|
__exportStar(require("./PaginatedTestSuiteRunExecutionList"), exports);
|
|
157
|
+
__exportStar(require("./PaginatedTestSuiteTestCaseList"), exports);
|
|
156
158
|
__exportStar(require("./ProcessingFailureReasonEnum"), exports);
|
|
157
159
|
__exportStar(require("./ProcessingStateEnum"), exports);
|
|
158
160
|
__exportStar(require("./PromptDeploymentExpandMetaRequestRequest"), exports);
|
|
@@ -271,6 +273,8 @@ __exportStar(require("./TestSuiteRunMetricErrorOutputTypeEnum"), exports);
|
|
|
271
273
|
__exportStar(require("./TestSuiteRunMetricNumberOutput"), exports);
|
|
272
274
|
__exportStar(require("./TestSuiteRunMetricNumberOutputTypeEnum"), exports);
|
|
273
275
|
__exportStar(require("./TestSuiteRunMetricOutput"), exports);
|
|
276
|
+
__exportStar(require("./TestSuiteRunMetricStringOutput"), exports);
|
|
277
|
+
__exportStar(require("./TestSuiteRunMetricStringOutputTypeEnum"), exports);
|
|
274
278
|
__exportStar(require("./TestSuiteRunRead"), exports);
|
|
275
279
|
__exportStar(require("./TestSuiteRunState"), exports);
|
|
276
280
|
__exportStar(require("./TestSuiteRunTestSuite"), exports);
|
package/package.json
CHANGED
|
@@ -5,10 +5,12 @@ import * as serializers from "..";
|
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { FinishReasonEnum } from "./FinishReasonEnum";
|
|
8
|
+
import { MlModelUsage } from "./MlModelUsage";
|
|
8
9
|
export declare const FulfilledPromptExecutionMeta: core.serialization.ObjectSchema<serializers.FulfilledPromptExecutionMeta.Raw, Vellum.FulfilledPromptExecutionMeta>;
|
|
9
10
|
export declare namespace FulfilledPromptExecutionMeta {
|
|
10
11
|
interface Raw {
|
|
11
12
|
latency?: number | null;
|
|
12
13
|
finish_reason?: FinishReasonEnum.Raw | null;
|
|
14
|
+
usage?: MlModelUsage.Raw | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -29,7 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.FulfilledPromptExecutionMeta = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const FinishReasonEnum_1 = require("./FinishReasonEnum");
|
|
32
|
+
const MlModelUsage_1 = require("./MlModelUsage");
|
|
32
33
|
exports.FulfilledPromptExecutionMeta = core.serialization.object({
|
|
33
34
|
latency: core.serialization.number().optional(),
|
|
34
35
|
finishReason: core.serialization.property("finish_reason", FinishReasonEnum_1.FinishReasonEnum.optional()),
|
|
36
|
+
usage: MlModelUsage_1.MlModelUsage.optional(),
|
|
35
37
|
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const MlModelUsage: core.serialization.ObjectSchema<serializers.MlModelUsage.Raw, Vellum.MlModelUsage>;
|
|
8
|
+
export declare namespace MlModelUsage {
|
|
9
|
+
interface Raw {
|
|
10
|
+
output_token_count?: number | null;
|
|
11
|
+
input_token_count?: number | null;
|
|
12
|
+
input_char_count?: number | null;
|
|
13
|
+
output_char_count?: number | null;
|
|
14
|
+
compute_nanos?: number | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.MlModelUsage = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.MlModelUsage = core.serialization.object({
|
|
32
|
+
outputTokenCount: core.serialization.property("output_token_count", core.serialization.number().optional()),
|
|
33
|
+
inputTokenCount: core.serialization.property("input_token_count", core.serialization.number().optional()),
|
|
34
|
+
inputCharCount: core.serialization.property("input_char_count", core.serialization.number().optional()),
|
|
35
|
+
outputCharCount: core.serialization.property("output_char_count", core.serialization.number().optional()),
|
|
36
|
+
computeNanos: core.serialization.property("compute_nanos", core.serialization.number().optional()),
|
|
37
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { TestSuiteTestCase } from "./TestSuiteTestCase";
|
|
8
|
+
export declare const PaginatedTestSuiteTestCaseList: core.serialization.ObjectSchema<serializers.PaginatedTestSuiteTestCaseList.Raw, Vellum.PaginatedTestSuiteTestCaseList>;
|
|
9
|
+
export declare namespace PaginatedTestSuiteTestCaseList {
|
|
10
|
+
interface Raw {
|
|
11
|
+
count: number;
|
|
12
|
+
next?: string | null;
|
|
13
|
+
previous?: string | null;
|
|
14
|
+
results: TestSuiteTestCase.Raw[];
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PaginatedTestSuiteTestCaseList = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const TestSuiteTestCase_1 = require("./TestSuiteTestCase");
|
|
32
|
+
exports.PaginatedTestSuiteTestCaseList = core.serialization.object({
|
|
33
|
+
count: core.serialization.number(),
|
|
34
|
+
next: core.serialization.string().optional(),
|
|
35
|
+
previous: core.serialization.string().optional(),
|
|
36
|
+
results: core.serialization.list(TestSuiteTestCase_1.TestSuiteTestCase),
|
|
37
|
+
});
|
|
@@ -34,4 +34,5 @@ exports.PromptDeploymentExpandMetaRequestRequest = core.serialization.object({
|
|
|
34
34
|
deploymentReleaseTag: core.serialization.property("deployment_release_tag", core.serialization.boolean().optional()),
|
|
35
35
|
promptVersionId: core.serialization.property("prompt_version_id", core.serialization.boolean().optional()),
|
|
36
36
|
finishReason: core.serialization.property("finish_reason", core.serialization.boolean().optional()),
|
|
37
|
+
usage: core.serialization.boolean().optional(),
|
|
37
38
|
});
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { MlModelUsage } from "./MlModelUsage";
|
|
7
8
|
import { FinishReasonEnum } from "./FinishReasonEnum";
|
|
8
9
|
export declare const PromptExecutionMeta: core.serialization.ObjectSchema<serializers.PromptExecutionMeta.Raw, Vellum.PromptExecutionMeta>;
|
|
9
10
|
export declare namespace PromptExecutionMeta {
|
|
10
11
|
interface Raw {
|
|
12
|
+
usage?: MlModelUsage.Raw | null;
|
|
11
13
|
model_name?: string | null;
|
|
12
14
|
latency?: number | null;
|
|
13
15
|
deployment_release_tag?: string | null;
|
|
@@ -28,8 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.PromptExecutionMeta = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const MlModelUsage_1 = require("./MlModelUsage");
|
|
31
32
|
const FinishReasonEnum_1 = require("./FinishReasonEnum");
|
|
32
33
|
exports.PromptExecutionMeta = core.serialization.object({
|
|
34
|
+
usage: MlModelUsage_1.MlModelUsage.optional(),
|
|
33
35
|
modelName: core.serialization.property("model_name", core.serialization.string().optional()),
|
|
34
36
|
latency: core.serialization.number().optional(),
|
|
35
37
|
deploymentReleaseTag: core.serialization.property("deployment_release_tag", core.serialization.string().optional()),
|
|
@@ -4,11 +4,15 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { TestSuiteRunMetricStringOutput } from "./TestSuiteRunMetricStringOutput";
|
|
7
8
|
import { TestSuiteRunMetricNumberOutput } from "./TestSuiteRunMetricNumberOutput";
|
|
8
9
|
import { TestSuiteRunMetricErrorOutput } from "./TestSuiteRunMetricErrorOutput";
|
|
9
10
|
export declare const TestSuiteRunMetricOutput: core.serialization.Schema<serializers.TestSuiteRunMetricOutput.Raw, Vellum.TestSuiteRunMetricOutput>;
|
|
10
11
|
export declare namespace TestSuiteRunMetricOutput {
|
|
11
|
-
type Raw = TestSuiteRunMetricOutput.Number | TestSuiteRunMetricOutput.Error;
|
|
12
|
+
type Raw = TestSuiteRunMetricOutput.String | TestSuiteRunMetricOutput.Number | TestSuiteRunMetricOutput.Error;
|
|
13
|
+
interface String extends TestSuiteRunMetricStringOutput.Raw {
|
|
14
|
+
type: "STRING";
|
|
15
|
+
}
|
|
12
16
|
interface Number extends TestSuiteRunMetricNumberOutput.Raw {
|
|
13
17
|
type: "NUMBER";
|
|
14
18
|
}
|
|
@@ -28,10 +28,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.TestSuiteRunMetricOutput = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const TestSuiteRunMetricStringOutput_1 = require("./TestSuiteRunMetricStringOutput");
|
|
31
32
|
const TestSuiteRunMetricNumberOutput_1 = require("./TestSuiteRunMetricNumberOutput");
|
|
32
33
|
const TestSuiteRunMetricErrorOutput_1 = require("./TestSuiteRunMetricErrorOutput");
|
|
33
34
|
exports.TestSuiteRunMetricOutput = core.serialization
|
|
34
35
|
.union("type", {
|
|
36
|
+
STRING: TestSuiteRunMetricStringOutput_1.TestSuiteRunMetricStringOutput,
|
|
35
37
|
NUMBER: TestSuiteRunMetricNumberOutput_1.TestSuiteRunMetricNumberOutput,
|
|
36
38
|
ERROR: TestSuiteRunMetricErrorOutput_1.TestSuiteRunMetricErrorOutput,
|
|
37
39
|
})
|