vellum-ai 0.14.34 → 0.14.36
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.d.ts +3 -3
- package/Client.js +38 -38
- 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/index.d.ts +1 -1
- package/api/resources/index.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.d.ts +11 -0
- package/api/resources/releaseReviews/client/Client.js +54 -1
- 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/PromptDeploymentRelease.d.ts +15 -0
- package/api/types/PromptDeploymentRelease.js +5 -0
- package/api/types/PromptDeploymentReleasePromptDeployment.d.ts +6 -0
- package/api/types/PromptDeploymentReleasePromptDeployment.js +5 -0
- package/api/types/PromptDeploymentReleasePromptVersion.d.ts +6 -0
- package/api/types/PromptDeploymentReleasePromptVersion.js +5 -0
- package/api/types/WorkflowDeploymentRelease.d.ts +1 -0
- package/api/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +6 -0
- package/api/types/WorkflowDeploymentReleaseWorkflowDeployment.js +5 -0
- package/api/types/index.d.ts +4 -0
- package/api/types/index.js +4 -0
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +38 -38
- 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/index.d.ts +1 -1
- package/dist/api/resources/index.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.d.ts +11 -0
- package/dist/api/resources/releaseReviews/client/Client.js +54 -1
- 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/PromptDeploymentRelease.d.ts +15 -0
- package/dist/api/types/PromptDeploymentRelease.js +5 -0
- package/dist/api/types/PromptDeploymentReleasePromptDeployment.d.ts +6 -0
- package/dist/api/types/PromptDeploymentReleasePromptDeployment.js +5 -0
- package/dist/api/types/PromptDeploymentReleasePromptVersion.d.ts +6 -0
- package/dist/api/types/PromptDeploymentReleasePromptVersion.js +5 -0
- package/dist/api/types/WorkflowDeploymentRelease.d.ts +1 -0
- package/dist/api/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +6 -0
- package/dist/api/types/WorkflowDeploymentReleaseWorkflowDeployment.js +5 -0
- package/dist/api/types/index.d.ts +4 -0
- package/dist/api/types/index.js +4 -0
- package/dist/serialization/types/PromptDeploymentRelease.d.ts +26 -0
- package/dist/serialization/types/PromptDeploymentRelease.js +57 -0
- package/dist/serialization/types/PromptDeploymentReleasePromptDeployment.d.ts +12 -0
- package/dist/serialization/types/PromptDeploymentReleasePromptDeployment.js +43 -0
- package/dist/serialization/types/PromptDeploymentReleasePromptVersion.d.ts +12 -0
- package/dist/serialization/types/PromptDeploymentReleasePromptVersion.js +43 -0
- package/dist/serialization/types/WorkflowDeploymentRelease.d.ts +2 -0
- package/dist/serialization/types/WorkflowDeploymentRelease.js +2 -0
- package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +12 -0
- package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.js +43 -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/reference.md +144 -73
- package/serialization/types/PromptDeploymentRelease.d.ts +26 -0
- package/serialization/types/PromptDeploymentRelease.js +57 -0
- package/serialization/types/PromptDeploymentReleasePromptDeployment.d.ts +12 -0
- package/serialization/types/PromptDeploymentReleasePromptDeployment.js +43 -0
- package/serialization/types/PromptDeploymentReleasePromptVersion.d.ts +12 -0
- package/serialization/types/PromptDeploymentReleasePromptVersion.js +43 -0
- package/serialization/types/WorkflowDeploymentRelease.d.ts +2 -0
- package/serialization/types/WorkflowDeploymentRelease.js +2 -0
- package/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +12 -0
- package/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.js +43 -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
|
@@ -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.PromptDeploymentReleasePromptDeployment = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.PromptDeploymentReleasePromptDeployment = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -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 PromptDeploymentReleasePromptVersion: core.serialization.ObjectSchema<serializers.PromptDeploymentReleasePromptVersion.Raw, Vellum.PromptDeploymentReleasePromptVersion>;
|
|
8
|
+
export declare namespace PromptDeploymentReleasePromptVersion {
|
|
9
|
+
interface Raw {
|
|
10
|
+
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.PromptDeploymentReleasePromptVersion = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.PromptDeploymentReleasePromptVersion = core.serialization.object({
|
|
42
|
+
id: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -7,6 +7,7 @@ import * as core from "../../core";
|
|
|
7
7
|
import { ReleaseEnvironment } from "./ReleaseEnvironment";
|
|
8
8
|
import { ReleaseCreatedBy } from "./ReleaseCreatedBy";
|
|
9
9
|
import { WorkflowDeploymentReleaseWorkflowVersion } from "./WorkflowDeploymentReleaseWorkflowVersion";
|
|
10
|
+
import { WorkflowDeploymentReleaseWorkflowDeployment } from "./WorkflowDeploymentReleaseWorkflowDeployment";
|
|
10
11
|
import { ReleaseReleaseTag } from "./ReleaseReleaseTag";
|
|
11
12
|
import { SlimReleaseReview } from "./SlimReleaseReview";
|
|
12
13
|
export declare const WorkflowDeploymentRelease: core.serialization.ObjectSchema<serializers.WorkflowDeploymentRelease.Raw, Vellum.WorkflowDeploymentRelease>;
|
|
@@ -17,6 +18,7 @@ export declare namespace WorkflowDeploymentRelease {
|
|
|
17
18
|
environment: ReleaseEnvironment.Raw;
|
|
18
19
|
created_by?: ReleaseCreatedBy.Raw | null;
|
|
19
20
|
workflow_version: WorkflowDeploymentReleaseWorkflowVersion.Raw;
|
|
21
|
+
deployment: WorkflowDeploymentReleaseWorkflowDeployment.Raw;
|
|
20
22
|
description?: string | null;
|
|
21
23
|
release_tags: ReleaseReleaseTag.Raw[];
|
|
22
24
|
reviews: SlimReleaseReview.Raw[];
|
|
@@ -41,6 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const ReleaseEnvironment_1 = require("./ReleaseEnvironment");
|
|
42
42
|
const ReleaseCreatedBy_1 = require("./ReleaseCreatedBy");
|
|
43
43
|
const WorkflowDeploymentReleaseWorkflowVersion_1 = require("./WorkflowDeploymentReleaseWorkflowVersion");
|
|
44
|
+
const WorkflowDeploymentReleaseWorkflowDeployment_1 = require("./WorkflowDeploymentReleaseWorkflowDeployment");
|
|
44
45
|
const ReleaseReleaseTag_1 = require("./ReleaseReleaseTag");
|
|
45
46
|
const SlimReleaseReview_1 = require("./SlimReleaseReview");
|
|
46
47
|
exports.WorkflowDeploymentRelease = core.serialization.object({
|
|
@@ -49,6 +50,7 @@ exports.WorkflowDeploymentRelease = core.serialization.object({
|
|
|
49
50
|
environment: ReleaseEnvironment_1.ReleaseEnvironment,
|
|
50
51
|
createdBy: core.serialization.property("created_by", ReleaseCreatedBy_1.ReleaseCreatedBy.optional()),
|
|
51
52
|
workflowVersion: core.serialization.property("workflow_version", WorkflowDeploymentReleaseWorkflowVersion_1.WorkflowDeploymentReleaseWorkflowVersion),
|
|
53
|
+
deployment: WorkflowDeploymentReleaseWorkflowDeployment_1.WorkflowDeploymentReleaseWorkflowDeployment,
|
|
52
54
|
description: core.serialization.string().optional(),
|
|
53
55
|
releaseTags: core.serialization.property("release_tags", core.serialization.list(ReleaseReleaseTag_1.ReleaseReleaseTag)),
|
|
54
56
|
reviews: core.serialization.list(SlimReleaseReview_1.SlimReleaseReview),
|
|
@@ -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 WorkflowDeploymentReleaseWorkflowDeployment: core.serialization.ObjectSchema<serializers.WorkflowDeploymentReleaseWorkflowDeployment.Raw, Vellum.WorkflowDeploymentReleaseWorkflowDeployment>;
|
|
8
|
+
export declare namespace WorkflowDeploymentReleaseWorkflowDeployment {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: 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.WorkflowDeploymentReleaseWorkflowDeployment = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.WorkflowDeploymentReleaseWorkflowDeployment = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -292,6 +292,9 @@ export * from "./PromptBlockState";
|
|
|
292
292
|
export * from "./PromptDeploymentExpandMetaRequest";
|
|
293
293
|
export * from "./PromptDeploymentInputRequest";
|
|
294
294
|
export * from "./PromptDeploymentParentContext";
|
|
295
|
+
export * from "./PromptDeploymentRelease";
|
|
296
|
+
export * from "./PromptDeploymentReleasePromptDeployment";
|
|
297
|
+
export * from "./PromptDeploymentReleasePromptVersion";
|
|
295
298
|
export * from "./PromptExecConfig";
|
|
296
299
|
export * from "./PromptExecutionMeta";
|
|
297
300
|
export * from "./PromptNodeExecutionMeta";
|
|
@@ -501,6 +504,7 @@ export * from "./WorkflowDeploymentHistoryItem";
|
|
|
501
504
|
export * from "./WorkflowDeploymentParentContext";
|
|
502
505
|
export * from "./WorkflowDeploymentRead";
|
|
503
506
|
export * from "./WorkflowDeploymentRelease";
|
|
507
|
+
export * from "./WorkflowDeploymentReleaseWorkflowDeployment";
|
|
504
508
|
export * from "./WorkflowDeploymentReleaseWorkflowVersion";
|
|
505
509
|
export * from "./WorkflowError";
|
|
506
510
|
export * from "./WorkflowEventDisplayContext";
|
|
@@ -308,6 +308,9 @@ __exportStar(require("./PromptBlockState"), exports);
|
|
|
308
308
|
__exportStar(require("./PromptDeploymentExpandMetaRequest"), exports);
|
|
309
309
|
__exportStar(require("./PromptDeploymentInputRequest"), exports);
|
|
310
310
|
__exportStar(require("./PromptDeploymentParentContext"), exports);
|
|
311
|
+
__exportStar(require("./PromptDeploymentRelease"), exports);
|
|
312
|
+
__exportStar(require("./PromptDeploymentReleasePromptDeployment"), exports);
|
|
313
|
+
__exportStar(require("./PromptDeploymentReleasePromptVersion"), exports);
|
|
311
314
|
__exportStar(require("./PromptExecConfig"), exports);
|
|
312
315
|
__exportStar(require("./PromptExecutionMeta"), exports);
|
|
313
316
|
__exportStar(require("./PromptNodeExecutionMeta"), exports);
|
|
@@ -517,6 +520,7 @@ __exportStar(require("./WorkflowDeploymentHistoryItem"), exports);
|
|
|
517
520
|
__exportStar(require("./WorkflowDeploymentParentContext"), exports);
|
|
518
521
|
__exportStar(require("./WorkflowDeploymentRead"), exports);
|
|
519
522
|
__exportStar(require("./WorkflowDeploymentRelease"), exports);
|
|
523
|
+
__exportStar(require("./WorkflowDeploymentReleaseWorkflowDeployment"), exports);
|
|
520
524
|
__exportStar(require("./WorkflowDeploymentReleaseWorkflowVersion"), exports);
|
|
521
525
|
__exportStar(require("./WorkflowError"), exports);
|
|
522
526
|
__exportStar(require("./WorkflowEventDisplayContext"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.14.
|
|
1
|
+
export declare const SDK_VERSION = "0.14.36";
|
package/version.js
CHANGED