vellum-ai 0.14.37 → 0.14.38
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 +11 -11
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +7 -7
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/metricDefinitions/client/Client.js +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/organizations/client/Client.js +1 -1
- package/api/resources/prompts/client/Client.js +1 -1
- package/api/resources/releaseReviews/client/Client.js +2 -2
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +8 -8
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/AdHocFulfilledPromptExecutionMeta.d.ts +1 -0
- package/api/types/FulfilledPromptExecutionMeta.d.ts +1 -0
- package/api/types/TestSuiteRunExecConfigRequest.d.ts +1 -1
- package/api/types/TestSuiteRunPromptSandboxExecConfigDataRequest.d.ts +9 -0
- package/api/types/TestSuiteRunPromptSandboxExecConfigDataRequest.js +5 -0
- package/api/types/TestSuiteRunPromptSandboxExecConfigRequest.d.ts +13 -0
- package/api/types/TestSuiteRunPromptSandboxExecConfigRequest.js +5 -0
- package/api/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.d.ts +7 -0
- package/api/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.js +5 -0
- package/api/types/TestSuiteRunWorkflowSandboxExecConfigRequest.d.ts +13 -0
- package/api/types/TestSuiteRunWorkflowSandboxExecConfigRequest.js +5 -0
- package/api/types/index.d.ts +4 -0
- package/api/types/index.js +4 -0
- package/dist/Client.js +11 -11
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +7 -7
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/prompts/client/Client.js +1 -1
- package/dist/api/resources/releaseReviews/client/Client.js +2 -2
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/AdHocFulfilledPromptExecutionMeta.d.ts +1 -0
- package/dist/api/types/FulfilledPromptExecutionMeta.d.ts +1 -0
- package/dist/api/types/TestSuiteRunExecConfigRequest.d.ts +1 -1
- package/dist/api/types/TestSuiteRunPromptSandboxExecConfigDataRequest.d.ts +9 -0
- package/dist/api/types/TestSuiteRunPromptSandboxExecConfigDataRequest.js +5 -0
- package/dist/api/types/TestSuiteRunPromptSandboxExecConfigRequest.d.ts +13 -0
- package/dist/api/types/TestSuiteRunPromptSandboxExecConfigRequest.js +5 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.d.ts +7 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.js +5 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxExecConfigRequest.d.ts +13 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxExecConfigRequest.js +5 -0
- package/dist/api/types/index.d.ts +4 -0
- package/dist/api/types/index.js +4 -0
- package/dist/serialization/types/AdHocFulfilledPromptExecutionMeta.d.ts +2 -0
- package/dist/serialization/types/AdHocFulfilledPromptExecutionMeta.js +2 -0
- package/dist/serialization/types/FulfilledPromptExecutionMeta.d.ts +2 -0
- package/dist/serialization/types/FulfilledPromptExecutionMeta.js +2 -0
- package/dist/serialization/types/TestSuiteRunExecConfigRequest.d.ts +3 -1
- package/dist/serialization/types/TestSuiteRunExecConfigRequest.js +4 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxExecConfigDataRequest.d.ts +13 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxExecConfigDataRequest.js +44 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxExecConfigRequest.d.ts +15 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxExecConfigRequest.js +46 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.d.ts +12 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.js +43 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxExecConfigRequest.d.ts +15 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxExecConfigRequest.js +46 -0
- package/dist/serialization/types/index.d.ts +4 -0
- package/dist/serialization/types/index.js +4 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/AdHocFulfilledPromptExecutionMeta.d.ts +2 -0
- package/serialization/types/AdHocFulfilledPromptExecutionMeta.js +2 -0
- package/serialization/types/FulfilledPromptExecutionMeta.d.ts +2 -0
- package/serialization/types/FulfilledPromptExecutionMeta.js +2 -0
- package/serialization/types/TestSuiteRunExecConfigRequest.d.ts +3 -1
- package/serialization/types/TestSuiteRunExecConfigRequest.js +4 -0
- package/serialization/types/TestSuiteRunPromptSandboxExecConfigDataRequest.d.ts +13 -0
- package/serialization/types/TestSuiteRunPromptSandboxExecConfigDataRequest.js +44 -0
- package/serialization/types/TestSuiteRunPromptSandboxExecConfigRequest.d.ts +15 -0
- package/serialization/types/TestSuiteRunPromptSandboxExecConfigRequest.js +46 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.d.ts +12 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.js +43 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxExecConfigRequest.d.ts +15 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxExecConfigRequest.js +46 -0
- package/serialization/types/index.d.ts +4 -0
- package/serialization/types/index.js +4 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -74,7 +74,7 @@ class WorkspaceSecrets {
|
|
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
75
75
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
76
76
|
method: "GET",
|
|
77
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
77
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.38", "User-Agent": "vellum-ai/0.14.38", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
requestType: "json",
|
|
80
80
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -127,7 +127,7 @@ class WorkspaceSecrets {
|
|
|
127
127
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
128
128
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
129
129
|
method: "PATCH",
|
|
130
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
130
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.38", "User-Agent": "vellum-ai/0.14.38", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
131
131
|
contentType: "application/json",
|
|
132
132
|
requestType: "json",
|
|
133
133
|
body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
|
|
@@ -73,7 +73,7 @@ class Workspaces {
|
|
|
73
73
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
74
74
|
.default, "v1/workspaces/identity"),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
76
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.38", "User-Agent": "vellum-ai/0.14.38", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
requestType: "json",
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export type TestSuiteRunExecConfigRequest = Vellum.TestSuiteRunDeploymentReleaseTagExecConfigRequest | Vellum.TestSuiteRunPromptSandboxHistoryItemExecConfigRequest | Vellum.TestSuiteRunWorkflowReleaseTagExecConfigRequest | Vellum.TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest | Vellum.TestSuiteRunExternalExecConfigRequest;
|
|
5
|
+
export type TestSuiteRunExecConfigRequest = Vellum.TestSuiteRunDeploymentReleaseTagExecConfigRequest | Vellum.TestSuiteRunPromptSandboxExecConfigRequest | Vellum.TestSuiteRunPromptSandboxHistoryItemExecConfigRequest | Vellum.TestSuiteRunWorkflowReleaseTagExecConfigRequest | Vellum.TestSuiteRunWorkflowSandboxExecConfigRequest | Vellum.TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest | Vellum.TestSuiteRunExternalExecConfigRequest;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TestSuiteRunPromptSandboxExecConfigDataRequest {
|
|
5
|
+
/** The ID of the Prompt Sandbox to run the Test Suite against. */
|
|
6
|
+
promptSandboxId: string;
|
|
7
|
+
/** The ID of the Prompt Variant within the Prompt Sandbox that you'd like to run the Test Suite against. */
|
|
8
|
+
promptVariantId: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Execution configuration for running a Test Suite against a Prompt Sandbox
|
|
7
|
+
*/
|
|
8
|
+
export interface TestSuiteRunPromptSandboxExecConfigRequest {
|
|
9
|
+
type: "PROMPT_SANDBOX";
|
|
10
|
+
data: Vellum.TestSuiteRunPromptSandboxExecConfigDataRequest;
|
|
11
|
+
/** Optionally specify a subset of test case ids to run. If not provided, all test cases within the test suite will be run by default. */
|
|
12
|
+
testCaseIds?: string[];
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Execution configuration for running a Test Suite against a Workflow Sandbox
|
|
7
|
+
*/
|
|
8
|
+
export interface TestSuiteRunWorkflowSandboxExecConfigRequest {
|
|
9
|
+
type: "WORKFLOW_SANDBOX";
|
|
10
|
+
data: Vellum.TestSuiteRunWorkflowSandboxExecConfigDataRequest;
|
|
11
|
+
/** Optionally specify a subset of test case ids to run. If not provided, all test cases within the test suite will be run by default. */
|
|
12
|
+
testCaseIds?: string[];
|
|
13
|
+
}
|
|
@@ -437,6 +437,8 @@ export * from "./TestSuiteRunMetricJsonOutput";
|
|
|
437
437
|
export * from "./TestSuiteRunMetricNumberOutput";
|
|
438
438
|
export * from "./TestSuiteRunMetricOutput";
|
|
439
439
|
export * from "./TestSuiteRunMetricStringOutput";
|
|
440
|
+
export * from "./TestSuiteRunPromptSandboxExecConfigDataRequest";
|
|
441
|
+
export * from "./TestSuiteRunPromptSandboxExecConfigRequest";
|
|
440
442
|
export * from "./TestSuiteRunPromptSandboxHistoryItemExecConfig";
|
|
441
443
|
export * from "./TestSuiteRunPromptSandboxHistoryItemExecConfigData";
|
|
442
444
|
export * from "./TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest";
|
|
@@ -448,6 +450,8 @@ export * from "./TestSuiteRunWorkflowReleaseTagExecConfig";
|
|
|
448
450
|
export * from "./TestSuiteRunWorkflowReleaseTagExecConfigData";
|
|
449
451
|
export * from "./TestSuiteRunWorkflowReleaseTagExecConfigDataRequest";
|
|
450
452
|
export * from "./TestSuiteRunWorkflowReleaseTagExecConfigRequest";
|
|
453
|
+
export * from "./TestSuiteRunWorkflowSandboxExecConfigDataRequest";
|
|
454
|
+
export * from "./TestSuiteRunWorkflowSandboxExecConfigRequest";
|
|
451
455
|
export * from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfig";
|
|
452
456
|
export * from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfigData";
|
|
453
457
|
export * from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest";
|
package/dist/api/types/index.js
CHANGED
|
@@ -453,6 +453,8 @@ __exportStar(require("./TestSuiteRunMetricJsonOutput"), exports);
|
|
|
453
453
|
__exportStar(require("./TestSuiteRunMetricNumberOutput"), exports);
|
|
454
454
|
__exportStar(require("./TestSuiteRunMetricOutput"), exports);
|
|
455
455
|
__exportStar(require("./TestSuiteRunMetricStringOutput"), exports);
|
|
456
|
+
__exportStar(require("./TestSuiteRunPromptSandboxExecConfigDataRequest"), exports);
|
|
457
|
+
__exportStar(require("./TestSuiteRunPromptSandboxExecConfigRequest"), exports);
|
|
456
458
|
__exportStar(require("./TestSuiteRunPromptSandboxHistoryItemExecConfig"), exports);
|
|
457
459
|
__exportStar(require("./TestSuiteRunPromptSandboxHistoryItemExecConfigData"), exports);
|
|
458
460
|
__exportStar(require("./TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest"), exports);
|
|
@@ -464,6 +466,8 @@ __exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfig"), exports);
|
|
|
464
466
|
__exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigData"), exports);
|
|
465
467
|
__exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigDataRequest"), exports);
|
|
466
468
|
__exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigRequest"), exports);
|
|
469
|
+
__exportStar(require("./TestSuiteRunWorkflowSandboxExecConfigDataRequest"), exports);
|
|
470
|
+
__exportStar(require("./TestSuiteRunWorkflowSandboxExecConfigRequest"), exports);
|
|
467
471
|
__exportStar(require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfig"), exports);
|
|
468
472
|
__exportStar(require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfigData"), exports);
|
|
469
473
|
__exportStar(require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest"), exports);
|
|
@@ -6,11 +6,13 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { FinishReasonEnum } from "./FinishReasonEnum";
|
|
8
8
|
import { MlModelUsage } from "./MlModelUsage";
|
|
9
|
+
import { Price } from "./Price";
|
|
9
10
|
export declare const AdHocFulfilledPromptExecutionMeta: core.serialization.ObjectSchema<serializers.AdHocFulfilledPromptExecutionMeta.Raw, Vellum.AdHocFulfilledPromptExecutionMeta>;
|
|
10
11
|
export declare namespace AdHocFulfilledPromptExecutionMeta {
|
|
11
12
|
interface Raw {
|
|
12
13
|
latency?: number | null;
|
|
13
14
|
finish_reason?: FinishReasonEnum.Raw | null;
|
|
14
15
|
usage?: MlModelUsage.Raw | null;
|
|
16
|
+
cost?: Price.Raw | null;
|
|
15
17
|
}
|
|
16
18
|
}
|
|
@@ -40,8 +40,10 @@ exports.AdHocFulfilledPromptExecutionMeta = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const FinishReasonEnum_1 = require("./FinishReasonEnum");
|
|
42
42
|
const MlModelUsage_1 = require("./MlModelUsage");
|
|
43
|
+
const Price_1 = require("./Price");
|
|
43
44
|
exports.AdHocFulfilledPromptExecutionMeta = core.serialization.object({
|
|
44
45
|
latency: core.serialization.number().optional(),
|
|
45
46
|
finishReason: core.serialization.property("finish_reason", FinishReasonEnum_1.FinishReasonEnum.optional()),
|
|
46
47
|
usage: MlModelUsage_1.MlModelUsage.optional(),
|
|
48
|
+
cost: Price_1.Price.optional(),
|
|
47
49
|
});
|
|
@@ -6,11 +6,13 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { FinishReasonEnum } from "./FinishReasonEnum";
|
|
8
8
|
import { MlModelUsage } from "./MlModelUsage";
|
|
9
|
+
import { Price } from "./Price";
|
|
9
10
|
export declare const FulfilledPromptExecutionMeta: core.serialization.ObjectSchema<serializers.FulfilledPromptExecutionMeta.Raw, Vellum.FulfilledPromptExecutionMeta>;
|
|
10
11
|
export declare namespace FulfilledPromptExecutionMeta {
|
|
11
12
|
interface Raw {
|
|
12
13
|
latency?: number | null;
|
|
13
14
|
finish_reason?: FinishReasonEnum.Raw | null;
|
|
14
15
|
usage?: MlModelUsage.Raw | null;
|
|
16
|
+
cost?: Price.Raw | null;
|
|
15
17
|
}
|
|
16
18
|
}
|
|
@@ -40,8 +40,10 @@ exports.FulfilledPromptExecutionMeta = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const FinishReasonEnum_1 = require("./FinishReasonEnum");
|
|
42
42
|
const MlModelUsage_1 = require("./MlModelUsage");
|
|
43
|
+
const Price_1 = require("./Price");
|
|
43
44
|
exports.FulfilledPromptExecutionMeta = core.serialization.object({
|
|
44
45
|
latency: core.serialization.number().optional(),
|
|
45
46
|
finishReason: core.serialization.property("finish_reason", FinishReasonEnum_1.FinishReasonEnum.optional()),
|
|
46
47
|
usage: MlModelUsage_1.MlModelUsage.optional(),
|
|
48
|
+
cost: Price_1.Price.optional(),
|
|
47
49
|
});
|
|
@@ -5,11 +5,13 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { TestSuiteRunDeploymentReleaseTagExecConfigRequest } from "./TestSuiteRunDeploymentReleaseTagExecConfigRequest";
|
|
8
|
+
import { TestSuiteRunPromptSandboxExecConfigRequest } from "./TestSuiteRunPromptSandboxExecConfigRequest";
|
|
8
9
|
import { TestSuiteRunPromptSandboxHistoryItemExecConfigRequest } from "./TestSuiteRunPromptSandboxHistoryItemExecConfigRequest";
|
|
9
10
|
import { TestSuiteRunWorkflowReleaseTagExecConfigRequest } from "./TestSuiteRunWorkflowReleaseTagExecConfigRequest";
|
|
11
|
+
import { TestSuiteRunWorkflowSandboxExecConfigRequest } from "./TestSuiteRunWorkflowSandboxExecConfigRequest";
|
|
10
12
|
import { TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest } from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest";
|
|
11
13
|
import { TestSuiteRunExternalExecConfigRequest } from "./TestSuiteRunExternalExecConfigRequest";
|
|
12
14
|
export declare const TestSuiteRunExecConfigRequest: core.serialization.Schema<serializers.TestSuiteRunExecConfigRequest.Raw, Vellum.TestSuiteRunExecConfigRequest>;
|
|
13
15
|
export declare namespace TestSuiteRunExecConfigRequest {
|
|
14
|
-
type Raw = TestSuiteRunDeploymentReleaseTagExecConfigRequest.Raw | TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.Raw | TestSuiteRunWorkflowReleaseTagExecConfigRequest.Raw | TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.Raw | TestSuiteRunExternalExecConfigRequest.Raw;
|
|
16
|
+
type Raw = TestSuiteRunDeploymentReleaseTagExecConfigRequest.Raw | TestSuiteRunPromptSandboxExecConfigRequest.Raw | TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.Raw | TestSuiteRunWorkflowReleaseTagExecConfigRequest.Raw | TestSuiteRunWorkflowSandboxExecConfigRequest.Raw | TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.Raw | TestSuiteRunExternalExecConfigRequest.Raw;
|
|
15
17
|
}
|
|
@@ -39,14 +39,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.TestSuiteRunExecConfigRequest = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const TestSuiteRunDeploymentReleaseTagExecConfigRequest_1 = require("./TestSuiteRunDeploymentReleaseTagExecConfigRequest");
|
|
42
|
+
const TestSuiteRunPromptSandboxExecConfigRequest_1 = require("./TestSuiteRunPromptSandboxExecConfigRequest");
|
|
42
43
|
const TestSuiteRunPromptSandboxHistoryItemExecConfigRequest_1 = require("./TestSuiteRunPromptSandboxHistoryItemExecConfigRequest");
|
|
43
44
|
const TestSuiteRunWorkflowReleaseTagExecConfigRequest_1 = require("./TestSuiteRunWorkflowReleaseTagExecConfigRequest");
|
|
45
|
+
const TestSuiteRunWorkflowSandboxExecConfigRequest_1 = require("./TestSuiteRunWorkflowSandboxExecConfigRequest");
|
|
44
46
|
const TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest_1 = require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest");
|
|
45
47
|
const TestSuiteRunExternalExecConfigRequest_1 = require("./TestSuiteRunExternalExecConfigRequest");
|
|
46
48
|
exports.TestSuiteRunExecConfigRequest = core.serialization.undiscriminatedUnion([
|
|
47
49
|
TestSuiteRunDeploymentReleaseTagExecConfigRequest_1.TestSuiteRunDeploymentReleaseTagExecConfigRequest,
|
|
50
|
+
TestSuiteRunPromptSandboxExecConfigRequest_1.TestSuiteRunPromptSandboxExecConfigRequest,
|
|
48
51
|
TestSuiteRunPromptSandboxHistoryItemExecConfigRequest_1.TestSuiteRunPromptSandboxHistoryItemExecConfigRequest,
|
|
49
52
|
TestSuiteRunWorkflowReleaseTagExecConfigRequest_1.TestSuiteRunWorkflowReleaseTagExecConfigRequest,
|
|
53
|
+
TestSuiteRunWorkflowSandboxExecConfigRequest_1.TestSuiteRunWorkflowSandboxExecConfigRequest,
|
|
50
54
|
TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest_1.TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest,
|
|
51
55
|
TestSuiteRunExternalExecConfigRequest_1.TestSuiteRunExternalExecConfigRequest,
|
|
52
56
|
]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TestSuiteRunPromptSandboxExecConfigDataRequest: core.serialization.ObjectSchema<serializers.TestSuiteRunPromptSandboxExecConfigDataRequest.Raw, Vellum.TestSuiteRunPromptSandboxExecConfigDataRequest>;
|
|
8
|
+
export declare namespace TestSuiteRunPromptSandboxExecConfigDataRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
prompt_sandbox_id: string;
|
|
11
|
+
prompt_variant_id: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TestSuiteRunPromptSandboxExecConfigDataRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.TestSuiteRunPromptSandboxExecConfigDataRequest = core.serialization.object({
|
|
42
|
+
promptSandboxId: core.serialization.property("prompt_sandbox_id", core.serialization.string()),
|
|
43
|
+
promptVariantId: core.serialization.property("prompt_variant_id", core.serialization.string()),
|
|
44
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { TestSuiteRunPromptSandboxExecConfigDataRequest } from "./TestSuiteRunPromptSandboxExecConfigDataRequest";
|
|
8
|
+
export declare const TestSuiteRunPromptSandboxExecConfigRequest: core.serialization.ObjectSchema<serializers.TestSuiteRunPromptSandboxExecConfigRequest.Raw, Vellum.TestSuiteRunPromptSandboxExecConfigRequest>;
|
|
9
|
+
export declare namespace TestSuiteRunPromptSandboxExecConfigRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: "PROMPT_SANDBOX";
|
|
12
|
+
data: TestSuiteRunPromptSandboxExecConfigDataRequest.Raw;
|
|
13
|
+
test_case_ids?: string[] | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TestSuiteRunPromptSandboxExecConfigRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const TestSuiteRunPromptSandboxExecConfigDataRequest_1 = require("./TestSuiteRunPromptSandboxExecConfigDataRequest");
|
|
42
|
+
exports.TestSuiteRunPromptSandboxExecConfigRequest = core.serialization.object({
|
|
43
|
+
type: core.serialization.stringLiteral("PROMPT_SANDBOX"),
|
|
44
|
+
data: TestSuiteRunPromptSandboxExecConfigDataRequest_1.TestSuiteRunPromptSandboxExecConfigDataRequest,
|
|
45
|
+
testCaseIds: core.serialization.property("test_case_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
46
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TestSuiteRunWorkflowSandboxExecConfigDataRequest: core.serialization.ObjectSchema<serializers.TestSuiteRunWorkflowSandboxExecConfigDataRequest.Raw, Vellum.TestSuiteRunWorkflowSandboxExecConfigDataRequest>;
|
|
8
|
+
export declare namespace TestSuiteRunWorkflowSandboxExecConfigDataRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
workflow_sandbox_id: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TestSuiteRunWorkflowSandboxExecConfigDataRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.TestSuiteRunWorkflowSandboxExecConfigDataRequest = core.serialization.object({
|
|
42
|
+
workflowSandboxId: core.serialization.property("workflow_sandbox_id", core.serialization.string()),
|
|
43
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { TestSuiteRunWorkflowSandboxExecConfigDataRequest } from "./TestSuiteRunWorkflowSandboxExecConfigDataRequest";
|
|
8
|
+
export declare const TestSuiteRunWorkflowSandboxExecConfigRequest: core.serialization.ObjectSchema<serializers.TestSuiteRunWorkflowSandboxExecConfigRequest.Raw, Vellum.TestSuiteRunWorkflowSandboxExecConfigRequest>;
|
|
9
|
+
export declare namespace TestSuiteRunWorkflowSandboxExecConfigRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: "WORKFLOW_SANDBOX";
|
|
12
|
+
data: TestSuiteRunWorkflowSandboxExecConfigDataRequest.Raw;
|
|
13
|
+
test_case_ids?: string[] | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TestSuiteRunWorkflowSandboxExecConfigRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const TestSuiteRunWorkflowSandboxExecConfigDataRequest_1 = require("./TestSuiteRunWorkflowSandboxExecConfigDataRequest");
|
|
42
|
+
exports.TestSuiteRunWorkflowSandboxExecConfigRequest = core.serialization.object({
|
|
43
|
+
type: core.serialization.stringLiteral("WORKFLOW_SANDBOX"),
|
|
44
|
+
data: TestSuiteRunWorkflowSandboxExecConfigDataRequest_1.TestSuiteRunWorkflowSandboxExecConfigDataRequest,
|
|
45
|
+
testCaseIds: core.serialization.property("test_case_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
46
|
+
});
|
|
@@ -437,6 +437,8 @@ export * from "./TestSuiteRunMetricJsonOutput";
|
|
|
437
437
|
export * from "./TestSuiteRunMetricNumberOutput";
|
|
438
438
|
export * from "./TestSuiteRunMetricOutput";
|
|
439
439
|
export * from "./TestSuiteRunMetricStringOutput";
|
|
440
|
+
export * from "./TestSuiteRunPromptSandboxExecConfigDataRequest";
|
|
441
|
+
export * from "./TestSuiteRunPromptSandboxExecConfigRequest";
|
|
440
442
|
export * from "./TestSuiteRunPromptSandboxHistoryItemExecConfig";
|
|
441
443
|
export * from "./TestSuiteRunPromptSandboxHistoryItemExecConfigData";
|
|
442
444
|
export * from "./TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest";
|
|
@@ -448,6 +450,8 @@ export * from "./TestSuiteRunWorkflowReleaseTagExecConfig";
|
|
|
448
450
|
export * from "./TestSuiteRunWorkflowReleaseTagExecConfigData";
|
|
449
451
|
export * from "./TestSuiteRunWorkflowReleaseTagExecConfigDataRequest";
|
|
450
452
|
export * from "./TestSuiteRunWorkflowReleaseTagExecConfigRequest";
|
|
453
|
+
export * from "./TestSuiteRunWorkflowSandboxExecConfigDataRequest";
|
|
454
|
+
export * from "./TestSuiteRunWorkflowSandboxExecConfigRequest";
|
|
451
455
|
export * from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfig";
|
|
452
456
|
export * from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfigData";
|
|
453
457
|
export * from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest";
|
|
@@ -453,6 +453,8 @@ __exportStar(require("./TestSuiteRunMetricJsonOutput"), exports);
|
|
|
453
453
|
__exportStar(require("./TestSuiteRunMetricNumberOutput"), exports);
|
|
454
454
|
__exportStar(require("./TestSuiteRunMetricOutput"), exports);
|
|
455
455
|
__exportStar(require("./TestSuiteRunMetricStringOutput"), exports);
|
|
456
|
+
__exportStar(require("./TestSuiteRunPromptSandboxExecConfigDataRequest"), exports);
|
|
457
|
+
__exportStar(require("./TestSuiteRunPromptSandboxExecConfigRequest"), exports);
|
|
456
458
|
__exportStar(require("./TestSuiteRunPromptSandboxHistoryItemExecConfig"), exports);
|
|
457
459
|
__exportStar(require("./TestSuiteRunPromptSandboxHistoryItemExecConfigData"), exports);
|
|
458
460
|
__exportStar(require("./TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest"), exports);
|
|
@@ -464,6 +466,8 @@ __exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfig"), exports);
|
|
|
464
466
|
__exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigData"), exports);
|
|
465
467
|
__exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigDataRequest"), exports);
|
|
466
468
|
__exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigRequest"), exports);
|
|
469
|
+
__exportStar(require("./TestSuiteRunWorkflowSandboxExecConfigDataRequest"), exports);
|
|
470
|
+
__exportStar(require("./TestSuiteRunWorkflowSandboxExecConfigRequest"), exports);
|
|
467
471
|
__exportStar(require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfig"), exports);
|
|
468
472
|
__exportStar(require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfigData"), exports);
|
|
469
473
|
__exportStar(require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.14.
|
|
1
|
+
export declare const SDK_VERSION = "0.14.38";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -6,11 +6,13 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { FinishReasonEnum } from "./FinishReasonEnum";
|
|
8
8
|
import { MlModelUsage } from "./MlModelUsage";
|
|
9
|
+
import { Price } from "./Price";
|
|
9
10
|
export declare const AdHocFulfilledPromptExecutionMeta: core.serialization.ObjectSchema<serializers.AdHocFulfilledPromptExecutionMeta.Raw, Vellum.AdHocFulfilledPromptExecutionMeta>;
|
|
10
11
|
export declare namespace AdHocFulfilledPromptExecutionMeta {
|
|
11
12
|
interface Raw {
|
|
12
13
|
latency?: number | null;
|
|
13
14
|
finish_reason?: FinishReasonEnum.Raw | null;
|
|
14
15
|
usage?: MlModelUsage.Raw | null;
|
|
16
|
+
cost?: Price.Raw | null;
|
|
15
17
|
}
|
|
16
18
|
}
|
|
@@ -40,8 +40,10 @@ exports.AdHocFulfilledPromptExecutionMeta = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const FinishReasonEnum_1 = require("./FinishReasonEnum");
|
|
42
42
|
const MlModelUsage_1 = require("./MlModelUsage");
|
|
43
|
+
const Price_1 = require("./Price");
|
|
43
44
|
exports.AdHocFulfilledPromptExecutionMeta = core.serialization.object({
|
|
44
45
|
latency: core.serialization.number().optional(),
|
|
45
46
|
finishReason: core.serialization.property("finish_reason", FinishReasonEnum_1.FinishReasonEnum.optional()),
|
|
46
47
|
usage: MlModelUsage_1.MlModelUsage.optional(),
|
|
48
|
+
cost: Price_1.Price.optional(),
|
|
47
49
|
});
|
|
@@ -6,11 +6,13 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { FinishReasonEnum } from "./FinishReasonEnum";
|
|
8
8
|
import { MlModelUsage } from "./MlModelUsage";
|
|
9
|
+
import { Price } from "./Price";
|
|
9
10
|
export declare const FulfilledPromptExecutionMeta: core.serialization.ObjectSchema<serializers.FulfilledPromptExecutionMeta.Raw, Vellum.FulfilledPromptExecutionMeta>;
|
|
10
11
|
export declare namespace FulfilledPromptExecutionMeta {
|
|
11
12
|
interface Raw {
|
|
12
13
|
latency?: number | null;
|
|
13
14
|
finish_reason?: FinishReasonEnum.Raw | null;
|
|
14
15
|
usage?: MlModelUsage.Raw | null;
|
|
16
|
+
cost?: Price.Raw | null;
|
|
15
17
|
}
|
|
16
18
|
}
|
|
@@ -40,8 +40,10 @@ exports.FulfilledPromptExecutionMeta = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const FinishReasonEnum_1 = require("./FinishReasonEnum");
|
|
42
42
|
const MlModelUsage_1 = require("./MlModelUsage");
|
|
43
|
+
const Price_1 = require("./Price");
|
|
43
44
|
exports.FulfilledPromptExecutionMeta = core.serialization.object({
|
|
44
45
|
latency: core.serialization.number().optional(),
|
|
45
46
|
finishReason: core.serialization.property("finish_reason", FinishReasonEnum_1.FinishReasonEnum.optional()),
|
|
46
47
|
usage: MlModelUsage_1.MlModelUsage.optional(),
|
|
48
|
+
cost: Price_1.Price.optional(),
|
|
47
49
|
});
|