vellum-ai 0.14.35 → 0.14.37
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/LogicalOperator.d.ts +3 -1
- package/api/types/LogicalOperator.js +1 -0
- 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/index.d.ts +3 -0
- package/api/types/index.js +3 -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/LogicalOperator.d.ts +3 -1
- package/dist/api/types/LogicalOperator.js +1 -0
- 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/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/types/LogicalOperator.d.ts +1 -1
- package/dist/serialization/types/LogicalOperator.js +1 -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/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 +144 -73
- package/serialization/types/LogicalOperator.d.ts +1 -1
- package/serialization/types/LogicalOperator.js +1 -0
- 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/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,26 @@
|
|
|
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 { ReleaseEnvironment } from "./ReleaseEnvironment";
|
|
8
|
+
import { ReleaseCreatedBy } from "./ReleaseCreatedBy";
|
|
9
|
+
import { PromptDeploymentReleasePromptVersion } from "./PromptDeploymentReleasePromptVersion";
|
|
10
|
+
import { PromptDeploymentReleasePromptDeployment } from "./PromptDeploymentReleasePromptDeployment";
|
|
11
|
+
import { ReleaseReleaseTag } from "./ReleaseReleaseTag";
|
|
12
|
+
import { SlimReleaseReview } from "./SlimReleaseReview";
|
|
13
|
+
export declare const PromptDeploymentRelease: core.serialization.ObjectSchema<serializers.PromptDeploymentRelease.Raw, Vellum.PromptDeploymentRelease>;
|
|
14
|
+
export declare namespace PromptDeploymentRelease {
|
|
15
|
+
interface Raw {
|
|
16
|
+
id: string;
|
|
17
|
+
created: string;
|
|
18
|
+
environment: ReleaseEnvironment.Raw;
|
|
19
|
+
created_by?: ReleaseCreatedBy.Raw | null;
|
|
20
|
+
prompt_version: PromptDeploymentReleasePromptVersion.Raw;
|
|
21
|
+
deployment: PromptDeploymentReleasePromptDeployment.Raw;
|
|
22
|
+
description?: string | null;
|
|
23
|
+
release_tags: ReleaseReleaseTag.Raw[];
|
|
24
|
+
reviews: SlimReleaseReview.Raw[];
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.PromptDeploymentRelease = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const ReleaseEnvironment_1 = require("./ReleaseEnvironment");
|
|
42
|
+
const ReleaseCreatedBy_1 = require("./ReleaseCreatedBy");
|
|
43
|
+
const PromptDeploymentReleasePromptVersion_1 = require("./PromptDeploymentReleasePromptVersion");
|
|
44
|
+
const PromptDeploymentReleasePromptDeployment_1 = require("./PromptDeploymentReleasePromptDeployment");
|
|
45
|
+
const ReleaseReleaseTag_1 = require("./ReleaseReleaseTag");
|
|
46
|
+
const SlimReleaseReview_1 = require("./SlimReleaseReview");
|
|
47
|
+
exports.PromptDeploymentRelease = core.serialization.object({
|
|
48
|
+
id: core.serialization.string(),
|
|
49
|
+
created: core.serialization.date(),
|
|
50
|
+
environment: ReleaseEnvironment_1.ReleaseEnvironment,
|
|
51
|
+
createdBy: core.serialization.property("created_by", ReleaseCreatedBy_1.ReleaseCreatedBy.optional()),
|
|
52
|
+
promptVersion: core.serialization.property("prompt_version", PromptDeploymentReleasePromptVersion_1.PromptDeploymentReleasePromptVersion),
|
|
53
|
+
deployment: PromptDeploymentReleasePromptDeployment_1.PromptDeploymentReleasePromptDeployment,
|
|
54
|
+
description: core.serialization.string().optional(),
|
|
55
|
+
releaseTags: core.serialization.property("release_tags", core.serialization.list(ReleaseReleaseTag_1.ReleaseReleaseTag)),
|
|
56
|
+
reviews: core.serialization.list(SlimReleaseReview_1.SlimReleaseReview),
|
|
57
|
+
});
|
|
@@ -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 PromptDeploymentReleasePromptDeployment: core.serialization.ObjectSchema<serializers.PromptDeploymentReleasePromptDeployment.Raw, Vellum.PromptDeploymentReleasePromptDeployment>;
|
|
8
|
+
export declare namespace PromptDeploymentReleasePromptDeployment {
|
|
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.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
|
+
});
|
|
@@ -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";
|
|
@@ -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);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.14.
|
|
1
|
+
export declare const SDK_VERSION = "0.14.37";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -869,6 +869,150 @@ await client.deployments.retrieveProviderPayload({
|
|
|
869
869
|
</dl>
|
|
870
870
|
</details>
|
|
871
871
|
|
|
872
|
+
## ReleaseReviews
|
|
873
|
+
|
|
874
|
+
<details><summary><code>client.releaseReviews.<a href="/src/api/resources/releaseReviews/client/Client.ts">retrievePromptDeploymentRelease</a>(id, releaseIdOrReleaseTag) -> Vellum.PromptDeploymentRelease</code></summary>
|
|
875
|
+
<dl>
|
|
876
|
+
<dd>
|
|
877
|
+
|
|
878
|
+
#### 📝 Description
|
|
879
|
+
|
|
880
|
+
<dl>
|
|
881
|
+
<dd>
|
|
882
|
+
|
|
883
|
+
<dl>
|
|
884
|
+
<dd>
|
|
885
|
+
|
|
886
|
+
Retrieve a specific Prompt Deployment Release by either its UUID or the name of a Release Tag that points to it.
|
|
887
|
+
|
|
888
|
+
</dd>
|
|
889
|
+
</dl>
|
|
890
|
+
</dd>
|
|
891
|
+
</dl>
|
|
892
|
+
|
|
893
|
+
#### 🔌 Usage
|
|
894
|
+
|
|
895
|
+
<dl>
|
|
896
|
+
<dd>
|
|
897
|
+
|
|
898
|
+
<dl>
|
|
899
|
+
<dd>
|
|
900
|
+
|
|
901
|
+
```typescript
|
|
902
|
+
await client.releaseReviews.retrievePromptDeploymentRelease("id", "release_id_or_release_tag");
|
|
903
|
+
```
|
|
904
|
+
|
|
905
|
+
</dd>
|
|
906
|
+
</dl>
|
|
907
|
+
</dd>
|
|
908
|
+
</dl>
|
|
909
|
+
|
|
910
|
+
#### ⚙️ Parameters
|
|
911
|
+
|
|
912
|
+
<dl>
|
|
913
|
+
<dd>
|
|
914
|
+
|
|
915
|
+
<dl>
|
|
916
|
+
<dd>
|
|
917
|
+
|
|
918
|
+
**id:** `string` — A UUID string identifying this deployment.
|
|
919
|
+
|
|
920
|
+
</dd>
|
|
921
|
+
</dl>
|
|
922
|
+
|
|
923
|
+
<dl>
|
|
924
|
+
<dd>
|
|
925
|
+
|
|
926
|
+
**releaseIdOrReleaseTag:** `string` — Either the UUID of Prompt Deployment Release you'd like to retrieve, or the name of a Release Tag that's pointing to the Prompt Deployment Release you'd like to retrieve.
|
|
927
|
+
|
|
928
|
+
</dd>
|
|
929
|
+
</dl>
|
|
930
|
+
|
|
931
|
+
<dl>
|
|
932
|
+
<dd>
|
|
933
|
+
|
|
934
|
+
**requestOptions:** `ReleaseReviews.RequestOptions`
|
|
935
|
+
|
|
936
|
+
</dd>
|
|
937
|
+
</dl>
|
|
938
|
+
</dd>
|
|
939
|
+
</dl>
|
|
940
|
+
|
|
941
|
+
</dd>
|
|
942
|
+
</dl>
|
|
943
|
+
</details>
|
|
944
|
+
|
|
945
|
+
<details><summary><code>client.releaseReviews.<a href="/src/api/resources/releaseReviews/client/Client.ts">retrieveWorkflowDeploymentRelease</a>(id, releaseIdOrReleaseTag) -> Vellum.WorkflowDeploymentRelease</code></summary>
|
|
946
|
+
<dl>
|
|
947
|
+
<dd>
|
|
948
|
+
|
|
949
|
+
#### 📝 Description
|
|
950
|
+
|
|
951
|
+
<dl>
|
|
952
|
+
<dd>
|
|
953
|
+
|
|
954
|
+
<dl>
|
|
955
|
+
<dd>
|
|
956
|
+
|
|
957
|
+
Retrieve a specific Workflow Deployment Release by either its UUID or the name of a Release Tag that points to it.
|
|
958
|
+
|
|
959
|
+
</dd>
|
|
960
|
+
</dl>
|
|
961
|
+
</dd>
|
|
962
|
+
</dl>
|
|
963
|
+
|
|
964
|
+
#### 🔌 Usage
|
|
965
|
+
|
|
966
|
+
<dl>
|
|
967
|
+
<dd>
|
|
968
|
+
|
|
969
|
+
<dl>
|
|
970
|
+
<dd>
|
|
971
|
+
|
|
972
|
+
```typescript
|
|
973
|
+
await client.releaseReviews.retrieveWorkflowDeploymentRelease("id", "release_id_or_release_tag");
|
|
974
|
+
```
|
|
975
|
+
|
|
976
|
+
</dd>
|
|
977
|
+
</dl>
|
|
978
|
+
</dd>
|
|
979
|
+
</dl>
|
|
980
|
+
|
|
981
|
+
#### ⚙️ Parameters
|
|
982
|
+
|
|
983
|
+
<dl>
|
|
984
|
+
<dd>
|
|
985
|
+
|
|
986
|
+
<dl>
|
|
987
|
+
<dd>
|
|
988
|
+
|
|
989
|
+
**id:** `string` — A UUID string identifying this workflow deployment.
|
|
990
|
+
|
|
991
|
+
</dd>
|
|
992
|
+
</dl>
|
|
993
|
+
|
|
994
|
+
<dl>
|
|
995
|
+
<dd>
|
|
996
|
+
|
|
997
|
+
**releaseIdOrReleaseTag:** `string` — Either the UUID of Workflow Deployment Release you'd like to retrieve, or the name of a Release Tag that's pointing to the Workflow Deployment Release you'd like to retrieve.
|
|
998
|
+
|
|
999
|
+
</dd>
|
|
1000
|
+
</dl>
|
|
1001
|
+
|
|
1002
|
+
<dl>
|
|
1003
|
+
<dd>
|
|
1004
|
+
|
|
1005
|
+
**requestOptions:** `ReleaseReviews.RequestOptions`
|
|
1006
|
+
|
|
1007
|
+
</dd>
|
|
1008
|
+
</dl>
|
|
1009
|
+
</dd>
|
|
1010
|
+
</dl>
|
|
1011
|
+
|
|
1012
|
+
</dd>
|
|
1013
|
+
</dl>
|
|
1014
|
+
</details>
|
|
1015
|
+
|
|
872
1016
|
## DocumentIndexes
|
|
873
1017
|
|
|
874
1018
|
<details><summary><code>client.documentIndexes.<a href="/src/api/resources/documentIndexes/client/Client.ts">list</a>({ ...params }) -> Vellum.PaginatedDocumentIndexReadList</code></summary>
|
|
@@ -3527,79 +3671,6 @@ await client.workflowDeployments.updateWorkflowReleaseTag("id", "name");
|
|
|
3527
3671
|
</dl>
|
|
3528
3672
|
</details>
|
|
3529
3673
|
|
|
3530
|
-
## ReleaseReviews
|
|
3531
|
-
|
|
3532
|
-
<details><summary><code>client.releaseReviews.<a href="/src/api/resources/releaseReviews/client/Client.ts">retrieveWorkflowDeploymentRelease</a>(id, releaseIdOrReleaseTag) -> Vellum.WorkflowDeploymentRelease</code></summary>
|
|
3533
|
-
<dl>
|
|
3534
|
-
<dd>
|
|
3535
|
-
|
|
3536
|
-
#### 📝 Description
|
|
3537
|
-
|
|
3538
|
-
<dl>
|
|
3539
|
-
<dd>
|
|
3540
|
-
|
|
3541
|
-
<dl>
|
|
3542
|
-
<dd>
|
|
3543
|
-
|
|
3544
|
-
Retrieve a specific Workflow Deployment Release by either its UUID or the name of a Release Tag that points to it.
|
|
3545
|
-
|
|
3546
|
-
</dd>
|
|
3547
|
-
</dl>
|
|
3548
|
-
</dd>
|
|
3549
|
-
</dl>
|
|
3550
|
-
|
|
3551
|
-
#### 🔌 Usage
|
|
3552
|
-
|
|
3553
|
-
<dl>
|
|
3554
|
-
<dd>
|
|
3555
|
-
|
|
3556
|
-
<dl>
|
|
3557
|
-
<dd>
|
|
3558
|
-
|
|
3559
|
-
```typescript
|
|
3560
|
-
await client.releaseReviews.retrieveWorkflowDeploymentRelease("id", "release_id_or_release_tag");
|
|
3561
|
-
```
|
|
3562
|
-
|
|
3563
|
-
</dd>
|
|
3564
|
-
</dl>
|
|
3565
|
-
</dd>
|
|
3566
|
-
</dl>
|
|
3567
|
-
|
|
3568
|
-
#### ⚙️ Parameters
|
|
3569
|
-
|
|
3570
|
-
<dl>
|
|
3571
|
-
<dd>
|
|
3572
|
-
|
|
3573
|
-
<dl>
|
|
3574
|
-
<dd>
|
|
3575
|
-
|
|
3576
|
-
**id:** `string` — A UUID string identifying this workflow deployment.
|
|
3577
|
-
|
|
3578
|
-
</dd>
|
|
3579
|
-
</dl>
|
|
3580
|
-
|
|
3581
|
-
<dl>
|
|
3582
|
-
<dd>
|
|
3583
|
-
|
|
3584
|
-
**releaseIdOrReleaseTag:** `string` — Either the UUID of Workflow Deployment Release you'd like to retrieve, or the name of a Release Tag that's pointing to the Workflow Deployment Release you'd like to retrieve.
|
|
3585
|
-
|
|
3586
|
-
</dd>
|
|
3587
|
-
</dl>
|
|
3588
|
-
|
|
3589
|
-
<dl>
|
|
3590
|
-
<dd>
|
|
3591
|
-
|
|
3592
|
-
**requestOptions:** `ReleaseReviews.RequestOptions`
|
|
3593
|
-
|
|
3594
|
-
</dd>
|
|
3595
|
-
</dl>
|
|
3596
|
-
</dd>
|
|
3597
|
-
</dl>
|
|
3598
|
-
|
|
3599
|
-
</dd>
|
|
3600
|
-
</dl>
|
|
3601
|
-
</details>
|
|
3602
|
-
|
|
3603
3674
|
## WorkflowSandboxes
|
|
3604
3675
|
|
|
3605
3676
|
<details><summary><code>client.workflowSandboxes.<a href="/src/api/resources/workflowSandboxes/client/Client.ts">deployWorkflow</a>(id, workflowId, { ...params }) -> Vellum.WorkflowDeploymentRead</code></summary>
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const LogicalOperator: core.serialization.Schema<serializers.LogicalOperator.Raw, Vellum.LogicalOperator>;
|
|
8
8
|
export declare namespace LogicalOperator {
|
|
9
|
-
type Raw = "=" | "!=" | "<" | ">" | "<=" | ">=" | "contains" | "beginsWith" | "endsWith" | "doesNotContain" | "doesNotBeginWith" | "doesNotEndWith" | "null" | "notNull" | "in" | "notIn" | "between" | "notBetween" | "blank" | "notBlank" | "coalesce" | "accessField" | "parseJson" | "and" | "or";
|
|
9
|
+
type Raw = "=" | "!=" | "<" | ">" | "<=" | ">=" | "contains" | "beginsWith" | "endsWith" | "doesNotContain" | "doesNotBeginWith" | "doesNotEndWith" | "null" | "notNull" | "in" | "notIn" | "between" | "notBetween" | "blank" | "notBlank" | "coalesce" | "accessField" | "parseJson" | "and" | "or" | "isError";
|
|
10
10
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 { ReleaseEnvironment } from "./ReleaseEnvironment";
|
|
8
|
+
import { ReleaseCreatedBy } from "./ReleaseCreatedBy";
|
|
9
|
+
import { PromptDeploymentReleasePromptVersion } from "./PromptDeploymentReleasePromptVersion";
|
|
10
|
+
import { PromptDeploymentReleasePromptDeployment } from "./PromptDeploymentReleasePromptDeployment";
|
|
11
|
+
import { ReleaseReleaseTag } from "./ReleaseReleaseTag";
|
|
12
|
+
import { SlimReleaseReview } from "./SlimReleaseReview";
|
|
13
|
+
export declare const PromptDeploymentRelease: core.serialization.ObjectSchema<serializers.PromptDeploymentRelease.Raw, Vellum.PromptDeploymentRelease>;
|
|
14
|
+
export declare namespace PromptDeploymentRelease {
|
|
15
|
+
interface Raw {
|
|
16
|
+
id: string;
|
|
17
|
+
created: string;
|
|
18
|
+
environment: ReleaseEnvironment.Raw;
|
|
19
|
+
created_by?: ReleaseCreatedBy.Raw | null;
|
|
20
|
+
prompt_version: PromptDeploymentReleasePromptVersion.Raw;
|
|
21
|
+
deployment: PromptDeploymentReleasePromptDeployment.Raw;
|
|
22
|
+
description?: string | null;
|
|
23
|
+
release_tags: ReleaseReleaseTag.Raw[];
|
|
24
|
+
reviews: SlimReleaseReview.Raw[];
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.PromptDeploymentRelease = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const ReleaseEnvironment_1 = require("./ReleaseEnvironment");
|
|
42
|
+
const ReleaseCreatedBy_1 = require("./ReleaseCreatedBy");
|
|
43
|
+
const PromptDeploymentReleasePromptVersion_1 = require("./PromptDeploymentReleasePromptVersion");
|
|
44
|
+
const PromptDeploymentReleasePromptDeployment_1 = require("./PromptDeploymentReleasePromptDeployment");
|
|
45
|
+
const ReleaseReleaseTag_1 = require("./ReleaseReleaseTag");
|
|
46
|
+
const SlimReleaseReview_1 = require("./SlimReleaseReview");
|
|
47
|
+
exports.PromptDeploymentRelease = core.serialization.object({
|
|
48
|
+
id: core.serialization.string(),
|
|
49
|
+
created: core.serialization.date(),
|
|
50
|
+
environment: ReleaseEnvironment_1.ReleaseEnvironment,
|
|
51
|
+
createdBy: core.serialization.property("created_by", ReleaseCreatedBy_1.ReleaseCreatedBy.optional()),
|
|
52
|
+
promptVersion: core.serialization.property("prompt_version", PromptDeploymentReleasePromptVersion_1.PromptDeploymentReleasePromptVersion),
|
|
53
|
+
deployment: PromptDeploymentReleasePromptDeployment_1.PromptDeploymentReleasePromptDeployment,
|
|
54
|
+
description: core.serialization.string().optional(),
|
|
55
|
+
releaseTags: core.serialization.property("release_tags", core.serialization.list(ReleaseReleaseTag_1.ReleaseReleaseTag)),
|
|
56
|
+
reviews: core.serialization.list(SlimReleaseReview_1.SlimReleaseReview),
|
|
57
|
+
});
|
|
@@ -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 PromptDeploymentReleasePromptDeployment: core.serialization.ObjectSchema<serializers.PromptDeploymentReleasePromptDeployment.Raw, Vellum.PromptDeploymentReleasePromptDeployment>;
|
|
8
|
+
export declare namespace PromptDeploymentReleasePromptDeployment {
|
|
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.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
|
+
}
|