vellum-ai 0.10.0 → 0.10.1
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/.mock/definition/__package__.yml +12 -0
- package/.mock/definition/deployments.yml +3 -0
- package/.mock/definition/mlModels.yml +34 -0
- package/.mock/definition/workflowDeployments.yml +3 -0
- package/.mock/openapi/openapi.yml +48 -1
- package/Client.d.ts +3 -0
- package/Client.js +29 -24
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.d.ts +11 -0
- package/api/resources/deployments/client/Client.js +59 -6
- 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/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/metricDefinitions/client/Client.js +1 -1
- package/api/resources/mlModels/client/Client.d.ts +37 -0
- package/api/resources/mlModels/client/Client.js +110 -0
- package/api/resources/mlModels/client/index.d.ts +1 -0
- package/api/resources/mlModels/client/index.js +2 -0
- package/api/resources/mlModels/index.d.ts +1 -0
- package/api/resources/mlModels/index.js +17 -0
- 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.d.ts +11 -0
- package/api/resources/workflowDeployments/client/Client.js +58 -5
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/types/DeploymentHistoryItem.d.ts +16 -0
- package/api/types/DeploymentHistoryItem.js +5 -0
- package/api/types/MlModelRead.d.ts +11 -0
- package/api/types/MlModelRead.js +5 -0
- package/api/types/WorkflowDeploymentHistoryItem.d.ts +17 -0
- package/api/types/WorkflowDeploymentHistoryItem.js +5 -0
- package/api/types/index.d.ts +3 -0
- package/api/types/index.js +3 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +29 -24
- 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.d.ts +11 -0
- package/dist/api/resources/deployments/client/Client.js +59 -6
- 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/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
- package/dist/api/resources/mlModels/client/Client.d.ts +37 -0
- package/dist/api/resources/mlModels/client/Client.js +110 -0
- package/dist/api/resources/mlModels/client/index.d.ts +1 -0
- package/dist/api/resources/mlModels/client/index.js +2 -0
- package/dist/api/resources/mlModels/index.d.ts +1 -0
- package/dist/api/resources/mlModels/index.js +17 -0
- 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.d.ts +11 -0
- package/dist/api/resources/workflowDeployments/client/Client.js +58 -5
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/types/DeploymentHistoryItem.d.ts +16 -0
- package/dist/api/types/DeploymentHistoryItem.js +5 -0
- package/dist/api/types/MlModelRead.d.ts +11 -0
- package/dist/api/types/MlModelRead.js +5 -0
- package/dist/api/types/WorkflowDeploymentHistoryItem.d.ts +17 -0
- package/dist/api/types/WorkflowDeploymentHistoryItem.js +5 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/types/DeploymentHistoryItem.d.ts +19 -0
- package/dist/serialization/types/DeploymentHistoryItem.js +40 -0
- package/dist/serialization/types/MlModelRead.d.ts +13 -0
- package/dist/serialization/types/MlModelRead.js +34 -0
- package/dist/serialization/types/WorkflowDeploymentHistoryItem.d.ts +20 -0
- package/dist/serialization/types/WorkflowDeploymentHistoryItem.js +41 -0
- package/dist/serialization/types/index.d.ts +3 -0
- package/dist/serialization/types/index.js +3 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +207 -0
- package/serialization/types/DeploymentHistoryItem.d.ts +19 -0
- package/serialization/types/DeploymentHistoryItem.js +40 -0
- package/serialization/types/MlModelRead.d.ts +13 -0
- package/serialization/types/MlModelRead.js +34 -0
- package/serialization/types/WorkflowDeploymentHistoryItem.d.ts +20 -0
- package/serialization/types/WorkflowDeploymentHistoryItem.js +41 -0
- package/serialization/types/index.d.ts +3 -0
- package/serialization/types/index.js +3 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
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.DeploymentHistoryItem = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const VellumVariable_1 = require("./VellumVariable");
|
|
32
|
+
exports.DeploymentHistoryItem = core.serialization.object({
|
|
33
|
+
id: core.serialization.string(),
|
|
34
|
+
deploymentId: core.serialization.property("deployment_id", core.serialization.string()),
|
|
35
|
+
timestamp: core.serialization.date(),
|
|
36
|
+
label: core.serialization.string(),
|
|
37
|
+
name: core.serialization.string(),
|
|
38
|
+
inputVariables: core.serialization.property("input_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
|
|
39
|
+
description: core.serialization.string().optional(),
|
|
40
|
+
});
|
|
@@ -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 MlModelRead: core.serialization.ObjectSchema<serializers.MlModelRead.Raw, Vellum.MlModelRead>;
|
|
8
|
+
export declare namespace MlModelRead {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: 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.MlModelRead = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.MlModelRead = core.serialization.object({
|
|
32
|
+
id: core.serialization.string(),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { VellumVariable } from "./VellumVariable";
|
|
8
|
+
export declare const WorkflowDeploymentHistoryItem: core.serialization.ObjectSchema<serializers.WorkflowDeploymentHistoryItem.Raw, Vellum.WorkflowDeploymentHistoryItem>;
|
|
9
|
+
export declare namespace WorkflowDeploymentHistoryItem {
|
|
10
|
+
interface Raw {
|
|
11
|
+
id: string;
|
|
12
|
+
workflow_deployment_id: string;
|
|
13
|
+
timestamp: string;
|
|
14
|
+
label: string;
|
|
15
|
+
name: string;
|
|
16
|
+
input_variables: VellumVariable.Raw[];
|
|
17
|
+
output_variables: VellumVariable.Raw[];
|
|
18
|
+
description?: string | null;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.WorkflowDeploymentHistoryItem = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const VellumVariable_1 = require("./VellumVariable");
|
|
32
|
+
exports.WorkflowDeploymentHistoryItem = core.serialization.object({
|
|
33
|
+
id: core.serialization.string(),
|
|
34
|
+
workflowDeploymentId: core.serialization.property("workflow_deployment_id", core.serialization.string()),
|
|
35
|
+
timestamp: core.serialization.date(),
|
|
36
|
+
label: core.serialization.string(),
|
|
37
|
+
name: core.serialization.string(),
|
|
38
|
+
inputVariables: core.serialization.property("input_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
|
|
39
|
+
outputVariables: core.serialization.property("output_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
|
|
40
|
+
description: core.serialization.string().optional(),
|
|
41
|
+
});
|
|
@@ -61,6 +61,7 @@ export * from "./ConditionalNodeResult";
|
|
|
61
61
|
export * from "./ConditionalNodeResultData";
|
|
62
62
|
export * from "./ContainerImageRead";
|
|
63
63
|
export * from "./CreateTestSuiteTestCaseRequest";
|
|
64
|
+
export * from "./DeploymentHistoryItem";
|
|
64
65
|
export * from "./DeploymentProviderPayloadResponsePayload";
|
|
65
66
|
export * from "./DeploymentProviderPayloadResponse";
|
|
66
67
|
export * from "./DeploymentRead";
|
|
@@ -171,6 +172,7 @@ export * from "./JsonVellumValue";
|
|
|
171
172
|
export * from "./JsonVellumValueRequest";
|
|
172
173
|
export * from "./LogicalOperator";
|
|
173
174
|
export * from "./LogprobsEnum";
|
|
175
|
+
export * from "./MlModelRead";
|
|
174
176
|
export * from "./MlModelUsage";
|
|
175
177
|
export * from "./MapNodeResult";
|
|
176
178
|
export * from "./MapNodeResultData";
|
|
@@ -432,6 +434,7 @@ export * from "./VellumValueRequest";
|
|
|
432
434
|
export * from "./VellumVariable";
|
|
433
435
|
export * from "./VellumVariableExtensions";
|
|
434
436
|
export * from "./VellumVariableType";
|
|
437
|
+
export * from "./WorkflowDeploymentHistoryItem";
|
|
435
438
|
export * from "./WorkflowDeploymentRead";
|
|
436
439
|
export * from "./WorkflowEventError";
|
|
437
440
|
export * from "./WorkflowExecutionActualChatHistoryRequest";
|
|
@@ -77,6 +77,7 @@ __exportStar(require("./ConditionalNodeResult"), exports);
|
|
|
77
77
|
__exportStar(require("./ConditionalNodeResultData"), exports);
|
|
78
78
|
__exportStar(require("./ContainerImageRead"), exports);
|
|
79
79
|
__exportStar(require("./CreateTestSuiteTestCaseRequest"), exports);
|
|
80
|
+
__exportStar(require("./DeploymentHistoryItem"), exports);
|
|
80
81
|
__exportStar(require("./DeploymentProviderPayloadResponsePayload"), exports);
|
|
81
82
|
__exportStar(require("./DeploymentProviderPayloadResponse"), exports);
|
|
82
83
|
__exportStar(require("./DeploymentRead"), exports);
|
|
@@ -187,6 +188,7 @@ __exportStar(require("./JsonVellumValue"), exports);
|
|
|
187
188
|
__exportStar(require("./JsonVellumValueRequest"), exports);
|
|
188
189
|
__exportStar(require("./LogicalOperator"), exports);
|
|
189
190
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
191
|
+
__exportStar(require("./MlModelRead"), exports);
|
|
190
192
|
__exportStar(require("./MlModelUsage"), exports);
|
|
191
193
|
__exportStar(require("./MapNodeResult"), exports);
|
|
192
194
|
__exportStar(require("./MapNodeResultData"), exports);
|
|
@@ -448,6 +450,7 @@ __exportStar(require("./VellumValueRequest"), exports);
|
|
|
448
450
|
__exportStar(require("./VellumVariable"), exports);
|
|
449
451
|
__exportStar(require("./VellumVariableExtensions"), exports);
|
|
450
452
|
__exportStar(require("./VellumVariableType"), exports);
|
|
453
|
+
__exportStar(require("./WorkflowDeploymentHistoryItem"), exports);
|
|
451
454
|
__exportStar(require("./WorkflowDeploymentRead"), exports);
|
|
452
455
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
453
456
|
__exportStar(require("./WorkflowExecutionActualChatHistoryRequest"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.10.
|
|
1
|
+
export declare const SDK_VERSION = "0.10.1";
|
package/version.js
CHANGED