vellum-ai 0.9.0 → 0.9.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 +51 -0
- package/.mock/definition/containerImages.yml +122 -0
- package/.mock/openapi/openapi.yml +177 -0
- package/Client.d.ts +3 -0
- package/Client.js +39 -34
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/containerImages/client/Client.d.ts +61 -0
- package/api/resources/containerImages/client/Client.js +231 -0
- package/api/resources/containerImages/client/index.d.ts +1 -0
- package/api/resources/containerImages/client/index.js +17 -0
- package/api/resources/containerImages/client/requests/ContainerImagesListRequest.d.ts +21 -0
- package/api/resources/containerImages/client/requests/ContainerImagesListRequest.js +5 -0
- package/api/resources/containerImages/client/requests/PushContainerImageRequest.d.ts +16 -0
- package/api/resources/containerImages/client/requests/PushContainerImageRequest.js +5 -0
- package/api/resources/containerImages/client/requests/index.d.ts +2 -0
- package/api/resources/containerImages/client/requests/index.js +2 -0
- package/api/resources/containerImages/index.d.ts +1 -0
- package/api/resources/containerImages/index.js +17 -0
- package/api/resources/deployments/client/Client.js +5 -5
- 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 +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/metricDefinitions/client/Client.js +1 -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 +4 -4
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.js +1 -1
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/types/ContainerImageRead.d.ts +14 -0
- package/api/types/ContainerImageRead.js +5 -0
- package/api/types/EntityVisibility.d.ts +16 -0
- package/api/types/EntityVisibility.js +12 -0
- package/api/types/PaginatedContainerImageReadList.d.ts +10 -0
- package/api/types/PaginatedContainerImageReadList.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 +39 -34
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/containerImages/client/Client.d.ts +61 -0
- package/dist/api/resources/containerImages/client/Client.js +231 -0
- package/dist/api/resources/containerImages/client/index.d.ts +1 -0
- package/dist/api/resources/containerImages/client/index.js +17 -0
- package/dist/api/resources/containerImages/client/requests/ContainerImagesListRequest.d.ts +21 -0
- package/dist/api/resources/containerImages/client/requests/ContainerImagesListRequest.js +5 -0
- package/dist/api/resources/containerImages/client/requests/PushContainerImageRequest.d.ts +16 -0
- package/dist/api/resources/containerImages/client/requests/PushContainerImageRequest.js +5 -0
- package/dist/api/resources/containerImages/client/requests/index.d.ts +2 -0
- package/dist/api/resources/containerImages/client/requests/index.js +2 -0
- package/dist/api/resources/containerImages/index.d.ts +1 -0
- package/dist/api/resources/containerImages/index.js +17 -0
- package/dist/api/resources/deployments/client/Client.js +5 -5
- 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 +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/metricDefinitions/client/Client.js +1 -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 +4 -4
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.js +1 -1
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/types/ContainerImageRead.d.ts +14 -0
- package/dist/api/types/ContainerImageRead.js +5 -0
- package/dist/api/types/EntityVisibility.d.ts +16 -0
- package/dist/api/types/EntityVisibility.js +12 -0
- package/dist/api/types/PaginatedContainerImageReadList.d.ts +10 -0
- package/dist/api/types/PaginatedContainerImageReadList.js +5 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/resources/containerImages/client/index.d.ts +1 -0
- package/dist/serialization/resources/containerImages/client/index.js +17 -0
- package/dist/serialization/resources/containerImages/client/requests/PushContainerImageRequest.d.ts +14 -0
- package/dist/serialization/resources/containerImages/client/requests/PushContainerImageRequest.js +35 -0
- package/dist/serialization/resources/containerImages/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/containerImages/client/requests/index.js +5 -0
- package/dist/serialization/resources/containerImages/index.d.ts +1 -0
- package/dist/serialization/resources/containerImages/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/types/ContainerImageRead.d.ts +20 -0
- package/dist/serialization/types/ContainerImageRead.js +41 -0
- package/dist/serialization/types/EntityVisibility.d.ts +10 -0
- package/dist/serialization/types/EntityVisibility.js +31 -0
- package/dist/serialization/types/PaginatedContainerImageReadList.d.ts +16 -0
- package/dist/serialization/types/PaginatedContainerImageReadList.js +37 -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 +195 -0
- package/serialization/resources/containerImages/client/index.d.ts +1 -0
- package/serialization/resources/containerImages/client/index.js +17 -0
- package/serialization/resources/containerImages/client/requests/PushContainerImageRequest.d.ts +14 -0
- package/serialization/resources/containerImages/client/requests/PushContainerImageRequest.js +35 -0
- package/serialization/resources/containerImages/client/requests/index.d.ts +1 -0
- package/serialization/resources/containerImages/client/requests/index.js +5 -0
- package/serialization/resources/containerImages/index.d.ts +1 -0
- package/serialization/resources/containerImages/index.js +17 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/types/ContainerImageRead.d.ts +20 -0
- package/serialization/types/ContainerImageRead.js +41 -0
- package/serialization/types/EntityVisibility.d.ts +10 -0
- package/serialization/types/EntityVisibility.js +31 -0
- package/serialization/types/PaginatedContainerImageReadList.d.ts +16 -0
- package/serialization/types/PaginatedContainerImageReadList.js +37 -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
package/api/resources/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.workspaceSecrets = exports.workflows = exports.workflowSandboxes = exports.testSuites = exports.testSuiteRuns = exports.sandboxes = exports.metricDefinitions = exports.documents = exports.adHoc = exports.workflowDeployments = exports.folderEntities = exports.documentIndexes = exports.deployments = void 0;
|
|
29
|
+
exports.workspaceSecrets = exports.workflows = exports.workflowSandboxes = exports.testSuites = exports.testSuiteRuns = exports.sandboxes = exports.metricDefinitions = exports.documents = exports.containerImages = exports.adHoc = exports.workflowDeployments = exports.folderEntities = exports.documentIndexes = exports.deployments = void 0;
|
|
30
30
|
exports.deployments = __importStar(require("./deployments"));
|
|
31
31
|
__exportStar(require("./deployments/types"), exports);
|
|
32
32
|
exports.documentIndexes = __importStar(require("./documentIndexes"));
|
|
@@ -36,6 +36,7 @@ __exportStar(require("./folderEntities/types"), exports);
|
|
|
36
36
|
exports.workflowDeployments = __importStar(require("./workflowDeployments"));
|
|
37
37
|
__exportStar(require("./workflowDeployments/types"), exports);
|
|
38
38
|
exports.adHoc = __importStar(require("./adHoc"));
|
|
39
|
+
exports.containerImages = __importStar(require("./containerImages"));
|
|
39
40
|
exports.documents = __importStar(require("./documents"));
|
|
40
41
|
exports.metricDefinitions = __importStar(require("./metricDefinitions"));
|
|
41
42
|
exports.sandboxes = __importStar(require("./sandboxes"));
|
|
@@ -45,6 +46,7 @@ exports.workflowSandboxes = __importStar(require("./workflowSandboxes"));
|
|
|
45
46
|
exports.workflows = __importStar(require("./workflows"));
|
|
46
47
|
exports.workspaceSecrets = __importStar(require("./workspaceSecrets"));
|
|
47
48
|
__exportStar(require("./adHoc/client/requests"), exports);
|
|
49
|
+
__exportStar(require("./containerImages/client/requests"), exports);
|
|
48
50
|
__exportStar(require("./deployments/client/requests"), exports);
|
|
49
51
|
__exportStar(require("./documentIndexes/client/requests"), exports);
|
|
50
52
|
__exportStar(require("./documents/client/requests"), exports);
|
|
@@ -71,7 +71,7 @@ class MetricDefinitions {
|
|
|
71
71
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
72
72
|
.default, `v1/metric-definitions/${encodeURIComponent(id)}/execute`),
|
|
73
73
|
method: "POST",
|
|
74
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
74
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
requestType: "json",
|
|
77
77
|
body: serializers.ExecuteMetricDefinitionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -64,7 +64,7 @@ class Sandboxes {
|
|
|
64
64
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
65
65
|
.default, `v1/sandboxes/${encodeURIComponent(id)}/prompts/${encodeURIComponent(promptVariantId)}/deploy`),
|
|
66
66
|
method: "POST",
|
|
67
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
68
68
|
contentType: "application/json",
|
|
69
69
|
requestType: "json",
|
|
70
70
|
body: serializers.DeploySandboxPromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -151,7 +151,7 @@ class Sandboxes {
|
|
|
151
151
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
152
152
|
.default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios`),
|
|
153
153
|
method: "POST",
|
|
154
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
154
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
155
155
|
contentType: "application/json",
|
|
156
156
|
requestType: "json",
|
|
157
157
|
body: serializers.UpsertSandboxScenarioRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -205,7 +205,7 @@ class Sandboxes {
|
|
|
205
205
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
206
206
|
.default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios/${encodeURIComponent(scenarioId)}`),
|
|
207
207
|
method: "DELETE",
|
|
208
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
208
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
209
209
|
contentType: "application/json",
|
|
210
210
|
requestType: "json",
|
|
211
211
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -71,7 +71,7 @@ class TestSuiteRuns {
|
|
|
71
71
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
72
72
|
.default, "v1/test-suite-runs"),
|
|
73
73
|
method: "POST",
|
|
74
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
74
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
requestType: "json",
|
|
77
77
|
body: serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -124,7 +124,7 @@ class TestSuiteRuns {
|
|
|
124
124
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
125
125
|
.default, `v1/test-suite-runs/${encodeURIComponent(id)}`),
|
|
126
126
|
method: "GET",
|
|
127
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
127
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
128
128
|
contentType: "application/json",
|
|
129
129
|
requestType: "json",
|
|
130
130
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -191,7 +191,7 @@ class TestSuiteRuns {
|
|
|
191
191
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
192
192
|
.default, `v1/test-suite-runs/${encodeURIComponent(id)}/executions`),
|
|
193
193
|
method: "GET",
|
|
194
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
194
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
195
195
|
contentType: "application/json",
|
|
196
196
|
queryParameters: _queryParams,
|
|
197
197
|
requestType: "json",
|
|
@@ -73,7 +73,7 @@ class TestSuites {
|
|
|
73
73
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
74
74
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
76
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
queryParameters: _queryParams,
|
|
79
79
|
requestType: "json",
|
|
@@ -142,7 +142,7 @@ class TestSuites {
|
|
|
142
142
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
143
143
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
|
|
144
144
|
method: "POST",
|
|
145
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
145
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
146
146
|
contentType: "application/json",
|
|
147
147
|
requestType: "json",
|
|
148
148
|
body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -189,7 +189,7 @@ class TestSuites {
|
|
|
189
189
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
190
190
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases-bulk`),
|
|
191
191
|
method: "POST",
|
|
192
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
192
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
193
193
|
contentType: "application/json",
|
|
194
194
|
requestType: "json",
|
|
195
195
|
body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
|
|
@@ -256,7 +256,7 @@ class TestSuites {
|
|
|
256
256
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
257
257
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases/${encodeURIComponent(testCaseId)}`),
|
|
258
258
|
method: "DELETE",
|
|
259
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
259
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
260
260
|
contentType: "application/json",
|
|
261
261
|
requestType: "json",
|
|
262
262
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -78,7 +78,7 @@ class WorkflowDeployments {
|
|
|
78
78
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
79
79
|
.default, "v1/workflow-deployments"),
|
|
80
80
|
method: "GET",
|
|
81
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
queryParameters: _queryParams,
|
|
84
84
|
requestType: "json",
|
|
@@ -131,7 +131,7 @@ class WorkflowDeployments {
|
|
|
131
131
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
132
132
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
|
|
133
133
|
method: "GET",
|
|
134
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
134
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
135
135
|
contentType: "application/json",
|
|
136
136
|
requestType: "json",
|
|
137
137
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -184,7 +184,7 @@ class WorkflowDeployments {
|
|
|
184
184
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
185
185
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
186
186
|
method: "GET",
|
|
187
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
187
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
188
188
|
contentType: "application/json",
|
|
189
189
|
requestType: "json",
|
|
190
190
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -238,7 +238,7 @@ class WorkflowDeployments {
|
|
|
238
238
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
239
239
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
240
240
|
method: "PATCH",
|
|
241
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
241
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
242
242
|
contentType: "application/json",
|
|
243
243
|
requestType: "json",
|
|
244
244
|
body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -64,7 +64,7 @@ class WorkflowSandboxes {
|
|
|
64
64
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
65
65
|
.default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
|
|
66
66
|
method: "POST",
|
|
67
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
68
68
|
contentType: "application/json",
|
|
69
69
|
requestType: "json",
|
|
70
70
|
body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -69,7 +69,7 @@ class Workflows {
|
|
|
69
69
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
70
70
|
.default, "v1/workflows/push"),
|
|
71
71
|
method: "POST",
|
|
72
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
72
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
requestType: "json",
|
|
75
75
|
body: serializers.WorkflowPushRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -64,7 +64,7 @@ class WorkspaceSecrets {
|
|
|
64
64
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
65
65
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
66
66
|
method: "GET",
|
|
67
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
68
68
|
contentType: "application/json",
|
|
69
69
|
requestType: "json",
|
|
70
70
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -117,7 +117,7 @@ class WorkspaceSecrets {
|
|
|
117
117
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
118
118
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
119
119
|
method: "PATCH",
|
|
120
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
120
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
121
121
|
contentType: "application/json",
|
|
122
122
|
requestType: "json",
|
|
123
123
|
body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface ContainerImageRead {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
visibility: Vellum.EntityVisibility;
|
|
9
|
+
created: Date;
|
|
10
|
+
modified: Date;
|
|
11
|
+
repository: string;
|
|
12
|
+
sha: string;
|
|
13
|
+
tags: string[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* - `DEFAULT` - Default
|
|
6
|
+
* - `PUBLIC` - Public
|
|
7
|
+
* - `PRIVATE` - Private
|
|
8
|
+
* - `DISABLED` - Disabled
|
|
9
|
+
*/
|
|
10
|
+
export declare type EntityVisibility = "DEFAULT" | "PUBLIC" | "PRIVATE" | "DISABLED";
|
|
11
|
+
export declare const EntityVisibility: {
|
|
12
|
+
readonly Default: "DEFAULT";
|
|
13
|
+
readonly Public: "PUBLIC";
|
|
14
|
+
readonly Private: "PRIVATE";
|
|
15
|
+
readonly Disabled: "DISABLED";
|
|
16
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.EntityVisibility = void 0;
|
|
7
|
+
exports.EntityVisibility = {
|
|
8
|
+
Default: "DEFAULT",
|
|
9
|
+
Public: "PUBLIC",
|
|
10
|
+
Private: "PRIVATE",
|
|
11
|
+
Disabled: "DISABLED",
|
|
12
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface PaginatedContainerImageReadList {
|
|
6
|
+
count?: number;
|
|
7
|
+
next?: string;
|
|
8
|
+
previous?: string;
|
|
9
|
+
results?: Vellum.ContainerImageRead[];
|
|
10
|
+
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export * from "./CompilePromptMeta";
|
|
|
54
54
|
export * from "./ConditionCombinator";
|
|
55
55
|
export * from "./ConditionalNodeResult";
|
|
56
56
|
export * from "./ConditionalNodeResultData";
|
|
57
|
+
export * from "./ContainerImageRead";
|
|
57
58
|
export * from "./CreateTestSuiteTestCaseRequest";
|
|
58
59
|
export * from "./DeploymentProviderPayloadResponsePayload";
|
|
59
60
|
export * from "./DeploymentProviderPayloadResponse";
|
|
@@ -70,6 +71,7 @@ export * from "./DocumentRead";
|
|
|
70
71
|
export * from "./DocumentStatus";
|
|
71
72
|
export * from "./EnrichedNormalizedCompletion";
|
|
72
73
|
export * from "./EntityStatus";
|
|
74
|
+
export * from "./EntityVisibility";
|
|
73
75
|
export * from "./EnvironmentEnum";
|
|
74
76
|
export * from "./EphemeralPromptCacheConfigRequest";
|
|
75
77
|
export * from "./EphemeralPromptCacheConfigTypeEnum";
|
|
@@ -229,6 +231,7 @@ export * from "./OpenAiVectorizerTextEmbedding3Small";
|
|
|
229
231
|
export * from "./OpenAiVectorizerTextEmbedding3SmallRequest";
|
|
230
232
|
export * from "./OpenAiVectorizerTextEmbeddingAda002";
|
|
231
233
|
export * from "./OpenAiVectorizerTextEmbeddingAda002Request";
|
|
234
|
+
export * from "./PaginatedContainerImageReadList";
|
|
232
235
|
export * from "./PaginatedDocumentIndexReadList";
|
|
233
236
|
export * from "./PaginatedFolderEntityList";
|
|
234
237
|
export * from "./PaginatedSlimDeploymentReadList";
|
package/api/types/index.js
CHANGED
|
@@ -70,6 +70,7 @@ __exportStar(require("./CompilePromptMeta"), exports);
|
|
|
70
70
|
__exportStar(require("./ConditionCombinator"), exports);
|
|
71
71
|
__exportStar(require("./ConditionalNodeResult"), exports);
|
|
72
72
|
__exportStar(require("./ConditionalNodeResultData"), exports);
|
|
73
|
+
__exportStar(require("./ContainerImageRead"), exports);
|
|
73
74
|
__exportStar(require("./CreateTestSuiteTestCaseRequest"), exports);
|
|
74
75
|
__exportStar(require("./DeploymentProviderPayloadResponsePayload"), exports);
|
|
75
76
|
__exportStar(require("./DeploymentProviderPayloadResponse"), exports);
|
|
@@ -86,6 +87,7 @@ __exportStar(require("./DocumentRead"), exports);
|
|
|
86
87
|
__exportStar(require("./DocumentStatus"), exports);
|
|
87
88
|
__exportStar(require("./EnrichedNormalizedCompletion"), exports);
|
|
88
89
|
__exportStar(require("./EntityStatus"), exports);
|
|
90
|
+
__exportStar(require("./EntityVisibility"), exports);
|
|
89
91
|
__exportStar(require("./EnvironmentEnum"), exports);
|
|
90
92
|
__exportStar(require("./EphemeralPromptCacheConfigRequest"), exports);
|
|
91
93
|
__exportStar(require("./EphemeralPromptCacheConfigTypeEnum"), exports);
|
|
@@ -245,6 +247,7 @@ __exportStar(require("./OpenAiVectorizerTextEmbedding3Small"), exports);
|
|
|
245
247
|
__exportStar(require("./OpenAiVectorizerTextEmbedding3SmallRequest"), exports);
|
|
246
248
|
__exportStar(require("./OpenAiVectorizerTextEmbeddingAda002"), exports);
|
|
247
249
|
__exportStar(require("./OpenAiVectorizerTextEmbeddingAda002Request"), exports);
|
|
250
|
+
__exportStar(require("./PaginatedContainerImageReadList"), exports);
|
|
248
251
|
__exportStar(require("./PaginatedDocumentIndexReadList"), exports);
|
|
249
252
|
__exportStar(require("./PaginatedFolderEntityList"), exports);
|
|
250
253
|
__exportStar(require("./PaginatedSlimDeploymentReadList"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as environments from "./environments";
|
|
|
5
5
|
import * as core from "./core";
|
|
6
6
|
import * as Vellum from "./api/index";
|
|
7
7
|
import { AdHoc } from "./api/resources/adHoc/client/Client";
|
|
8
|
+
import { ContainerImages } from "./api/resources/containerImages/client/Client";
|
|
8
9
|
import { Deployments } from "./api/resources/deployments/client/Client";
|
|
9
10
|
import { DocumentIndexes } from "./api/resources/documentIndexes/client/Client";
|
|
10
11
|
import { Documents } from "./api/resources/documents/client/Client";
|
|
@@ -189,6 +190,8 @@ export declare class VellumClient {
|
|
|
189
190
|
submitWorkflowExecutionActuals(request: Vellum.SubmitWorkflowExecutionActualsRequest, requestOptions?: VellumClient.RequestOptions): Promise<void>;
|
|
190
191
|
protected _adHoc: AdHoc | undefined;
|
|
191
192
|
get adHoc(): AdHoc;
|
|
193
|
+
protected _containerImages: ContainerImages | undefined;
|
|
194
|
+
get containerImages(): ContainerImages;
|
|
192
195
|
protected _deployments: Deployments | undefined;
|
|
193
196
|
get deployments(): Deployments;
|
|
194
197
|
protected _documentIndexes: DocumentIndexes | undefined;
|
package/dist/Client.js
CHANGED
|
@@ -46,18 +46,19 @@ const serializers = __importStar(require("./serialization/index"));
|
|
|
46
46
|
const url_join_1 = __importDefault(require("url-join"));
|
|
47
47
|
const errors = __importStar(require("./errors/index"));
|
|
48
48
|
const Client_1 = require("./api/resources/adHoc/client/Client");
|
|
49
|
-
const Client_2 = require("./api/resources/
|
|
50
|
-
const Client_3 = require("./api/resources/
|
|
51
|
-
const Client_4 = require("./api/resources/
|
|
52
|
-
const Client_5 = require("./api/resources/
|
|
53
|
-
const Client_6 = require("./api/resources/
|
|
54
|
-
const Client_7 = require("./api/resources/
|
|
55
|
-
const Client_8 = require("./api/resources/
|
|
56
|
-
const Client_9 = require("./api/resources/
|
|
57
|
-
const Client_10 = require("./api/resources/
|
|
58
|
-
const Client_11 = require("./api/resources/
|
|
59
|
-
const Client_12 = require("./api/resources/
|
|
60
|
-
const Client_13 = require("./api/resources/
|
|
49
|
+
const Client_2 = require("./api/resources/containerImages/client/Client");
|
|
50
|
+
const Client_3 = require("./api/resources/deployments/client/Client");
|
|
51
|
+
const Client_4 = require("./api/resources/documentIndexes/client/Client");
|
|
52
|
+
const Client_5 = require("./api/resources/documents/client/Client");
|
|
53
|
+
const Client_6 = require("./api/resources/folderEntities/client/Client");
|
|
54
|
+
const Client_7 = require("./api/resources/metricDefinitions/client/Client");
|
|
55
|
+
const Client_8 = require("./api/resources/sandboxes/client/Client");
|
|
56
|
+
const Client_9 = require("./api/resources/testSuiteRuns/client/Client");
|
|
57
|
+
const Client_10 = require("./api/resources/testSuites/client/Client");
|
|
58
|
+
const Client_11 = require("./api/resources/workflowDeployments/client/Client");
|
|
59
|
+
const Client_12 = require("./api/resources/workflowSandboxes/client/Client");
|
|
60
|
+
const Client_13 = require("./api/resources/workflows/client/Client");
|
|
61
|
+
const Client_14 = require("./api/resources/workspaceSecrets/client/Client");
|
|
61
62
|
class VellumClient {
|
|
62
63
|
constructor(_options = {}) {
|
|
63
64
|
this._options = _options;
|
|
@@ -93,7 +94,7 @@ class VellumClient {
|
|
|
93
94
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
94
95
|
.default, "v1/execute-code"),
|
|
95
96
|
method: "POST",
|
|
96
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
97
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
97
98
|
contentType: "application/json",
|
|
98
99
|
requestType: "json",
|
|
99
100
|
body: serializers.CodeExecutorRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -162,7 +163,7 @@ class VellumClient {
|
|
|
162
163
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
163
164
|
.predict, "v1/execute-prompt"),
|
|
164
165
|
method: "POST",
|
|
165
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
166
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
166
167
|
contentType: "application/json",
|
|
167
168
|
requestType: "json",
|
|
168
169
|
body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -220,7 +221,7 @@ class VellumClient {
|
|
|
220
221
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
221
222
|
.predict, "v1/execute-prompt-stream"),
|
|
222
223
|
method: "POST",
|
|
223
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
224
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
224
225
|
contentType: "application/json",
|
|
225
226
|
requestType: "json",
|
|
226
227
|
body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -305,7 +306,7 @@ class VellumClient {
|
|
|
305
306
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
306
307
|
.predict, "v1/execute-workflow"),
|
|
307
308
|
method: "POST",
|
|
308
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
309
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
309
310
|
contentType: "application/json",
|
|
310
311
|
requestType: "json",
|
|
311
312
|
body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -361,7 +362,7 @@ class VellumClient {
|
|
|
361
362
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
362
363
|
.predict, "v1/execute-workflow-stream"),
|
|
363
364
|
method: "POST",
|
|
364
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
365
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
365
366
|
contentType: "application/json",
|
|
366
367
|
requestType: "json",
|
|
367
368
|
body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -448,7 +449,7 @@ class VellumClient {
|
|
|
448
449
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
449
450
|
.predict, "v1/generate"),
|
|
450
451
|
method: "POST",
|
|
451
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
452
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
452
453
|
contentType: "application/json",
|
|
453
454
|
requestType: "json",
|
|
454
455
|
body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -509,7 +510,7 @@ class VellumClient {
|
|
|
509
510
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
510
511
|
.predict, "v1/generate-stream"),
|
|
511
512
|
method: "POST",
|
|
512
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
513
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
513
514
|
contentType: "application/json",
|
|
514
515
|
requestType: "json",
|
|
515
516
|
body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -590,7 +591,7 @@ class VellumClient {
|
|
|
590
591
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
591
592
|
.predict, "v1/search"),
|
|
592
593
|
method: "POST",
|
|
593
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
594
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
594
595
|
contentType: "application/json",
|
|
595
596
|
requestType: "json",
|
|
596
597
|
body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -658,7 +659,7 @@ class VellumClient {
|
|
|
658
659
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
659
660
|
.predict, "v1/submit-completion-actuals"),
|
|
660
661
|
method: "POST",
|
|
661
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
662
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
662
663
|
contentType: "application/json",
|
|
663
664
|
requestType: "json",
|
|
664
665
|
body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -721,7 +722,7 @@ class VellumClient {
|
|
|
721
722
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
722
723
|
.predict, "v1/submit-workflow-execution-actuals"),
|
|
723
724
|
method: "POST",
|
|
724
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
725
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
725
726
|
contentType: "application/json",
|
|
726
727
|
requestType: "json",
|
|
727
728
|
body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -759,53 +760,57 @@ class VellumClient {
|
|
|
759
760
|
var _a;
|
|
760
761
|
return ((_a = this._adHoc) !== null && _a !== void 0 ? _a : (this._adHoc = new Client_1.AdHoc(this._options)));
|
|
761
762
|
}
|
|
763
|
+
get containerImages() {
|
|
764
|
+
var _a;
|
|
765
|
+
return ((_a = this._containerImages) !== null && _a !== void 0 ? _a : (this._containerImages = new Client_2.ContainerImages(this._options)));
|
|
766
|
+
}
|
|
762
767
|
get deployments() {
|
|
763
768
|
var _a;
|
|
764
|
-
return ((_a = this._deployments) !== null && _a !== void 0 ? _a : (this._deployments = new
|
|
769
|
+
return ((_a = this._deployments) !== null && _a !== void 0 ? _a : (this._deployments = new Client_3.Deployments(this._options)));
|
|
765
770
|
}
|
|
766
771
|
get documentIndexes() {
|
|
767
772
|
var _a;
|
|
768
|
-
return ((_a = this._documentIndexes) !== null && _a !== void 0 ? _a : (this._documentIndexes = new
|
|
773
|
+
return ((_a = this._documentIndexes) !== null && _a !== void 0 ? _a : (this._documentIndexes = new Client_4.DocumentIndexes(this._options)));
|
|
769
774
|
}
|
|
770
775
|
get documents() {
|
|
771
776
|
var _a;
|
|
772
|
-
return ((_a = this._documents) !== null && _a !== void 0 ? _a : (this._documents = new
|
|
777
|
+
return ((_a = this._documents) !== null && _a !== void 0 ? _a : (this._documents = new Client_5.Documents(this._options)));
|
|
773
778
|
}
|
|
774
779
|
get folderEntities() {
|
|
775
780
|
var _a;
|
|
776
|
-
return ((_a = this._folderEntities) !== null && _a !== void 0 ? _a : (this._folderEntities = new
|
|
781
|
+
return ((_a = this._folderEntities) !== null && _a !== void 0 ? _a : (this._folderEntities = new Client_6.FolderEntities(this._options)));
|
|
777
782
|
}
|
|
778
783
|
get metricDefinitions() {
|
|
779
784
|
var _a;
|
|
780
|
-
return ((_a = this._metricDefinitions) !== null && _a !== void 0 ? _a : (this._metricDefinitions = new
|
|
785
|
+
return ((_a = this._metricDefinitions) !== null && _a !== void 0 ? _a : (this._metricDefinitions = new Client_7.MetricDefinitions(this._options)));
|
|
781
786
|
}
|
|
782
787
|
get sandboxes() {
|
|
783
788
|
var _a;
|
|
784
|
-
return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new
|
|
789
|
+
return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new Client_8.Sandboxes(this._options)));
|
|
785
790
|
}
|
|
786
791
|
get testSuiteRuns() {
|
|
787
792
|
var _a;
|
|
788
|
-
return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new
|
|
793
|
+
return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new Client_9.TestSuiteRuns(this._options)));
|
|
789
794
|
}
|
|
790
795
|
get testSuites() {
|
|
791
796
|
var _a;
|
|
792
|
-
return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new
|
|
797
|
+
return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new Client_10.TestSuites(this._options)));
|
|
793
798
|
}
|
|
794
799
|
get workflowDeployments() {
|
|
795
800
|
var _a;
|
|
796
|
-
return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new
|
|
801
|
+
return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new Client_11.WorkflowDeployments(this._options)));
|
|
797
802
|
}
|
|
798
803
|
get workflowSandboxes() {
|
|
799
804
|
var _a;
|
|
800
|
-
return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new
|
|
805
|
+
return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new Client_12.WorkflowSandboxes(this._options)));
|
|
801
806
|
}
|
|
802
807
|
get workflows() {
|
|
803
808
|
var _a;
|
|
804
|
-
return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new
|
|
809
|
+
return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new Client_13.Workflows(this._options)));
|
|
805
810
|
}
|
|
806
811
|
get workspaceSecrets() {
|
|
807
812
|
var _a;
|
|
808
|
-
return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new
|
|
813
|
+
return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new Client_14.WorkspaceSecrets(this._options)));
|
|
809
814
|
}
|
|
810
815
|
_getCustomAuthorizationHeaders() {
|
|
811
816
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -59,7 +59,7 @@ class AdHoc {
|
|
|
59
59
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
60
60
|
.default, "v1/ad-hoc/execute-prompt-stream"),
|
|
61
61
|
method: "POST",
|
|
62
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
62
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
63
63
|
contentType: "application/json",
|
|
64
64
|
requestType: "json",
|
|
65
65
|
body: serializers.AdHocExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|