vellum-ai 0.8.25 → 0.8.26
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 +34 -1
- package/.mock/definition/adHoc.yml +1 -0
- package/.mock/definition/workspaceSecrets.yml +34 -0
- package/.mock/openapi/openapi.yml +74 -4
- package/Client.d.ts +3 -0
- package/Client.js +15 -10
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +4 -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 +1 -0
- package/api/resources/index.js +2 -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/workspaceSecrets/client/Client.d.ts +37 -0
- package/api/resources/workspaceSecrets/client/Client.js +110 -0
- package/api/resources/workspaceSecrets/client/index.d.ts +1 -0
- package/api/resources/workspaceSecrets/client/index.js +2 -0
- package/api/resources/workspaceSecrets/index.d.ts +1 -0
- package/api/resources/workspaceSecrets/index.js +17 -0
- package/api/types/ApiNodeResultData.d.ts +1 -1
- package/api/types/PromptSettingsRequest.d.ts +6 -0
- package/api/types/PromptSettingsRequest.js +5 -0
- package/api/types/SecretTypeEnum.d.ts +14 -0
- package/api/types/SecretTypeEnum.js +11 -0
- package/api/types/VellumErrorCodeEnum.d.ts +3 -1
- package/api/types/VellumErrorCodeEnum.js +1 -0
- package/api/types/WorkspaceSecretRead.d.ts +11 -0
- package/api/types/WorkspaceSecretRead.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 +15 -10
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +4 -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 +1 -0
- package/dist/api/resources/index.js +2 -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/workspaceSecrets/client/Client.d.ts +37 -0
- package/dist/api/resources/workspaceSecrets/client/Client.js +110 -0
- package/dist/api/resources/workspaceSecrets/client/index.d.ts +1 -0
- package/dist/api/resources/workspaceSecrets/client/index.js +2 -0
- package/dist/api/resources/workspaceSecrets/index.d.ts +1 -0
- package/dist/api/resources/workspaceSecrets/index.js +17 -0
- package/dist/api/types/ApiNodeResultData.d.ts +1 -1
- package/dist/api/types/PromptSettingsRequest.d.ts +6 -0
- package/dist/api/types/PromptSettingsRequest.js +5 -0
- package/dist/api/types/SecretTypeEnum.d.ts +14 -0
- package/dist/api/types/SecretTypeEnum.js +11 -0
- package/dist/api/types/VellumErrorCodeEnum.d.ts +3 -1
- package/dist/api/types/VellumErrorCodeEnum.js +1 -0
- package/dist/api/types/WorkspaceSecretRead.d.ts +11 -0
- package/dist/api/types/WorkspaceSecretRead.js +5 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +2 -0
- package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js +2 -0
- package/dist/serialization/types/ApiNodeResultData.d.ts +1 -1
- package/dist/serialization/types/ApiNodeResultData.js +1 -1
- package/dist/serialization/types/PromptSettingsRequest.d.ts +12 -0
- package/dist/serialization/types/PromptSettingsRequest.js +33 -0
- package/dist/serialization/types/SecretTypeEnum.d.ts +10 -0
- package/dist/serialization/types/SecretTypeEnum.js +31 -0
- package/dist/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
- package/dist/serialization/types/VellumErrorCodeEnum.js +7 -1
- package/dist/serialization/types/WorkspaceSecretRead.d.ts +17 -0
- package/dist/serialization/types/WorkspaceSecretRead.js +38 -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 +68 -0
- package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +2 -0
- package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js +2 -0
- package/serialization/types/ApiNodeResultData.d.ts +1 -1
- package/serialization/types/ApiNodeResultData.js +1 -1
- package/serialization/types/PromptSettingsRequest.d.ts +12 -0
- package/serialization/types/PromptSettingsRequest.js +33 -0
- package/serialization/types/SecretTypeEnum.d.ts +10 -0
- package/serialization/types/SecretTypeEnum.js +31 -0
- package/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
- package/serialization/types/VellumErrorCodeEnum.js +7 -1
- package/serialization/types/WorkspaceSecretRead.d.ts +17 -0
- package/serialization/types/WorkspaceSecretRead.js +38 -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.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.workflowSandboxes = exports.testSuites = exports.testSuiteRuns = exports.sandboxes = exports.metricDefinitions = exports.documents = 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"));
|
|
@@ -42,6 +42,7 @@ exports.sandboxes = __importStar(require("./sandboxes"));
|
|
|
42
42
|
exports.testSuiteRuns = __importStar(require("./testSuiteRuns"));
|
|
43
43
|
exports.testSuites = __importStar(require("./testSuites"));
|
|
44
44
|
exports.workflowSandboxes = __importStar(require("./workflowSandboxes"));
|
|
45
|
+
exports.workspaceSecrets = __importStar(require("./workspaceSecrets"));
|
|
45
46
|
__exportStar(require("./adHoc/client/requests"), exports);
|
|
46
47
|
__exportStar(require("./deployments/client/requests"), exports);
|
|
47
48
|
__exportStar(require("./documentIndexes/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": "0.8.
|
|
74
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.26", "User-Agent": "vellum-ai/0.8.26", "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": "0.8.
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.26", "User-Agent": "vellum-ai/0.8.26", "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": "0.8.
|
|
154
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.26", "User-Agent": "vellum-ai/0.8.26", "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": "0.8.
|
|
208
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.26", "User-Agent": "vellum-ai/0.8.26", "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": "0.8.
|
|
74
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.26", "User-Agent": "vellum-ai/0.8.26", "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": "0.8.
|
|
127
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.26", "User-Agent": "vellum-ai/0.8.26", "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": "0.8.
|
|
194
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.26", "User-Agent": "vellum-ai/0.8.26", "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": "0.8.
|
|
76
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.26", "User-Agent": "vellum-ai/0.8.26", "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": "0.8.
|
|
145
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.26", "User-Agent": "vellum-ai/0.8.26", "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": "0.8.
|
|
192
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.26", "User-Agent": "vellum-ai/0.8.26", "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": "0.8.
|
|
259
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.26", "User-Agent": "vellum-ai/0.8.26", "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": "0.8.
|
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.26", "User-Agent": "vellum-ai/0.8.26", "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": "0.8.
|
|
134
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.26", "User-Agent": "vellum-ai/0.8.26", "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": "0.8.
|
|
187
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.26", "User-Agent": "vellum-ai/0.8.26", "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": "0.8.
|
|
241
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.26", "User-Agent": "vellum-ai/0.8.26", "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": "0.8.
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.26", "User-Agent": "vellum-ai/0.8.26", "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" }),
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments";
|
|
5
|
+
import * as core from "../../../../core";
|
|
6
|
+
import * as Vellum from "../../../index";
|
|
7
|
+
export declare namespace WorkspaceSecrets {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
10
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
11
|
+
}
|
|
12
|
+
interface RequestOptions {
|
|
13
|
+
/** The maximum time to wait for a response in seconds. */
|
|
14
|
+
timeoutInSeconds?: number;
|
|
15
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
16
|
+
maxRetries?: number;
|
|
17
|
+
/** A hook to abort the request. */
|
|
18
|
+
abortSignal?: AbortSignal;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare class WorkspaceSecrets {
|
|
22
|
+
protected readonly _options: WorkspaceSecrets.Options;
|
|
23
|
+
constructor(_options?: WorkspaceSecrets.Options);
|
|
24
|
+
/**
|
|
25
|
+
* Used to retrieve a Workspace Secret given its ID or name.
|
|
26
|
+
*
|
|
27
|
+
* @param {string} id - Either the Workspace Secret's ID or its unique name
|
|
28
|
+
* @param {WorkspaceSecrets.RequestOptions} requestOptions - Request-specific configuration.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* await client.workspaceSecrets.retrieve("id")
|
|
32
|
+
*/
|
|
33
|
+
retrieve(id: string, requestOptions?: WorkspaceSecrets.RequestOptions): Promise<Vellum.WorkspaceSecretRead>;
|
|
34
|
+
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
35
|
+
X_API_KEY: string | undefined;
|
|
36
|
+
}>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
38
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.WorkspaceSecrets = void 0;
|
|
42
|
+
const environments = __importStar(require("../../../../environments"));
|
|
43
|
+
const core = __importStar(require("../../../../core"));
|
|
44
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
45
|
+
const serializers = __importStar(require("../../../../serialization/index"));
|
|
46
|
+
const errors = __importStar(require("../../../../errors/index"));
|
|
47
|
+
class WorkspaceSecrets {
|
|
48
|
+
constructor(_options = {}) {
|
|
49
|
+
this._options = _options;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Used to retrieve a Workspace Secret given its ID or name.
|
|
53
|
+
*
|
|
54
|
+
* @param {string} id - Either the Workspace Secret's ID or its unique name
|
|
55
|
+
* @param {WorkspaceSecrets.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* await client.workspaceSecrets.retrieve("id")
|
|
59
|
+
*/
|
|
60
|
+
retrieve(id, requestOptions) {
|
|
61
|
+
var _a;
|
|
62
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
63
|
+
const _response = yield core.fetcher({
|
|
64
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
65
|
+
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
66
|
+
method: "GET",
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.26", "User-Agent": "vellum-ai/0.8.26", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
68
|
+
contentType: "application/json",
|
|
69
|
+
requestType: "json",
|
|
70
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
71
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
72
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
73
|
+
});
|
|
74
|
+
if (_response.ok) {
|
|
75
|
+
return serializers.WorkspaceSecretRead.parseOrThrow(_response.body, {
|
|
76
|
+
unrecognizedObjectKeys: "passthrough",
|
|
77
|
+
allowUnrecognizedUnionMembers: true,
|
|
78
|
+
allowUnrecognizedEnumValues: true,
|
|
79
|
+
breadcrumbsPrefix: ["response"],
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
if (_response.error.reason === "status-code") {
|
|
83
|
+
throw new errors.VellumError({
|
|
84
|
+
statusCode: _response.error.statusCode,
|
|
85
|
+
body: _response.error.body,
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
switch (_response.error.reason) {
|
|
89
|
+
case "non-json":
|
|
90
|
+
throw new errors.VellumError({
|
|
91
|
+
statusCode: _response.error.statusCode,
|
|
92
|
+
body: _response.error.rawBody,
|
|
93
|
+
});
|
|
94
|
+
case "timeout":
|
|
95
|
+
throw new errors.VellumTimeoutError();
|
|
96
|
+
case "unknown":
|
|
97
|
+
throw new errors.VellumError({
|
|
98
|
+
message: _response.error.errorMessage,
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
_getCustomAuthorizationHeaders() {
|
|
104
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
105
|
+
const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
|
|
106
|
+
return { X_API_KEY: apiKeyValue };
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.WorkspaceSecrets = WorkspaceSecrets;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface ApiNodeResultData {
|
|
5
|
+
json?: Record<string, unknown>;
|
|
5
6
|
textOutputId: string;
|
|
6
7
|
text?: string;
|
|
7
8
|
jsonOutputId: string;
|
|
8
|
-
json?: Record<string, unknown>;
|
|
9
9
|
statusCodeOutputId: string;
|
|
10
10
|
statusCode: number;
|
|
11
11
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* - `USER_DEFINED` - User Defined
|
|
6
|
+
* - `HMAC` - Hmac
|
|
7
|
+
* - `INTERNAL_API_KEY` - Internal Api Key
|
|
8
|
+
*/
|
|
9
|
+
export declare type SecretTypeEnum = "USER_DEFINED" | "HMAC" | "INTERNAL_API_KEY";
|
|
10
|
+
export declare const SecretTypeEnum: {
|
|
11
|
+
readonly UserDefined: "USER_DEFINED";
|
|
12
|
+
readonly Hmac: "HMAC";
|
|
13
|
+
readonly InternalApiKey: "INTERNAL_API_KEY";
|
|
14
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
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.SecretTypeEnum = void 0;
|
|
7
|
+
exports.SecretTypeEnum = {
|
|
8
|
+
UserDefined: "USER_DEFINED",
|
|
9
|
+
Hmac: "HMAC",
|
|
10
|
+
InternalApiKey: "INTERNAL_API_KEY",
|
|
11
|
+
};
|
|
@@ -4,13 +4,15 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* - `INVALID_REQUEST` - INVALID_REQUEST
|
|
6
6
|
* - `PROVIDER_ERROR` - PROVIDER_ERROR
|
|
7
|
+
* - `REQUEST_TIMEOUT` - REQUEST_TIMEOUT
|
|
7
8
|
* - `INTERNAL_SERVER_ERROR` - INTERNAL_SERVER_ERROR
|
|
8
9
|
* - `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
|
|
9
10
|
*/
|
|
10
|
-
export declare type VellumErrorCodeEnum = "INVALID_REQUEST" | "PROVIDER_ERROR" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR";
|
|
11
|
+
export declare type VellumErrorCodeEnum = "INVALID_REQUEST" | "PROVIDER_ERROR" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR";
|
|
11
12
|
export declare const VellumErrorCodeEnum: {
|
|
12
13
|
readonly InvalidRequest: "INVALID_REQUEST";
|
|
13
14
|
readonly ProviderError: "PROVIDER_ERROR";
|
|
15
|
+
readonly RequestTimeout: "REQUEST_TIMEOUT";
|
|
14
16
|
readonly InternalServerError: "INTERNAL_SERVER_ERROR";
|
|
15
17
|
readonly UserDefinedError: "USER_DEFINED_ERROR";
|
|
16
18
|
};
|
|
@@ -7,6 +7,7 @@ exports.VellumErrorCodeEnum = void 0;
|
|
|
7
7
|
exports.VellumErrorCodeEnum = {
|
|
8
8
|
InvalidRequest: "INVALID_REQUEST",
|
|
9
9
|
ProviderError: "PROVIDER_ERROR",
|
|
10
|
+
RequestTimeout: "REQUEST_TIMEOUT",
|
|
10
11
|
InternalServerError: "INTERNAL_SERVER_ERROR",
|
|
11
12
|
UserDefinedError: "USER_DEFINED_ERROR",
|
|
12
13
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface WorkspaceSecretRead {
|
|
6
|
+
id: string;
|
|
7
|
+
modified: Date;
|
|
8
|
+
name: string;
|
|
9
|
+
label: string;
|
|
10
|
+
secretType: Vellum.SecretTypeEnum;
|
|
11
|
+
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -257,6 +257,7 @@ export * from "./PromptRequestChatHistoryInputRequest";
|
|
|
257
257
|
export * from "./PromptRequestInputRequest";
|
|
258
258
|
export * from "./PromptRequestJsonInputRequest";
|
|
259
259
|
export * from "./PromptRequestStringInputRequest";
|
|
260
|
+
export * from "./PromptSettingsRequest";
|
|
260
261
|
export * from "./RawPromptExecutionOverridesRequest";
|
|
261
262
|
export * from "./ReductoChunkerConfig";
|
|
262
263
|
export * from "./ReductoChunkerConfigRequest";
|
|
@@ -296,6 +297,7 @@ export * from "./SearchResultsVariableValue";
|
|
|
296
297
|
export * from "./SearchResultsVellumValue";
|
|
297
298
|
export * from "./SearchResultsVellumValueRequest";
|
|
298
299
|
export * from "./SearchWeightsRequest";
|
|
300
|
+
export * from "./SecretTypeEnum";
|
|
299
301
|
export * from "./SentenceChunkerConfig";
|
|
300
302
|
export * from "./SentenceChunkerConfigRequest";
|
|
301
303
|
export * from "./SentenceChunking";
|
|
@@ -461,3 +463,4 @@ export * from "./WorkflowResultEventOutputDataNumber";
|
|
|
461
463
|
export * from "./WorkflowResultEventOutputDataSearchResults";
|
|
462
464
|
export * from "./WorkflowResultEventOutputDataString";
|
|
463
465
|
export * from "./WorkflowStreamEvent";
|
|
466
|
+
export * from "./WorkspaceSecretRead";
|
package/api/types/index.js
CHANGED
|
@@ -273,6 +273,7 @@ __exportStar(require("./PromptRequestChatHistoryInputRequest"), exports);
|
|
|
273
273
|
__exportStar(require("./PromptRequestInputRequest"), exports);
|
|
274
274
|
__exportStar(require("./PromptRequestJsonInputRequest"), exports);
|
|
275
275
|
__exportStar(require("./PromptRequestStringInputRequest"), exports);
|
|
276
|
+
__exportStar(require("./PromptSettingsRequest"), exports);
|
|
276
277
|
__exportStar(require("./RawPromptExecutionOverridesRequest"), exports);
|
|
277
278
|
__exportStar(require("./ReductoChunkerConfig"), exports);
|
|
278
279
|
__exportStar(require("./ReductoChunkerConfigRequest"), exports);
|
|
@@ -312,6 +313,7 @@ __exportStar(require("./SearchResultsVariableValue"), exports);
|
|
|
312
313
|
__exportStar(require("./SearchResultsVellumValue"), exports);
|
|
313
314
|
__exportStar(require("./SearchResultsVellumValueRequest"), exports);
|
|
314
315
|
__exportStar(require("./SearchWeightsRequest"), exports);
|
|
316
|
+
__exportStar(require("./SecretTypeEnum"), exports);
|
|
315
317
|
__exportStar(require("./SentenceChunkerConfig"), exports);
|
|
316
318
|
__exportStar(require("./SentenceChunkerConfigRequest"), exports);
|
|
317
319
|
__exportStar(require("./SentenceChunking"), exports);
|
|
@@ -477,3 +479,4 @@ __exportStar(require("./WorkflowResultEventOutputDataNumber"), exports);
|
|
|
477
479
|
__exportStar(require("./WorkflowResultEventOutputDataSearchResults"), exports);
|
|
478
480
|
__exportStar(require("./WorkflowResultEventOutputDataString"), exports);
|
|
479
481
|
__exportStar(require("./WorkflowStreamEvent"), exports);
|
|
482
|
+
__exportStar(require("./WorkspaceSecretRead"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { TestSuiteRuns } from "./api/resources/testSuiteRuns/client/Client";
|
|
|
15
15
|
import { TestSuites } from "./api/resources/testSuites/client/Client";
|
|
16
16
|
import { WorkflowDeployments } from "./api/resources/workflowDeployments/client/Client";
|
|
17
17
|
import { WorkflowSandboxes } from "./api/resources/workflowSandboxes/client/Client";
|
|
18
|
+
import { WorkspaceSecrets } from "./api/resources/workspaceSecrets/client/Client";
|
|
18
19
|
export declare namespace VellumClient {
|
|
19
20
|
interface Options {
|
|
20
21
|
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
@@ -207,6 +208,8 @@ export declare class VellumClient {
|
|
|
207
208
|
get workflowDeployments(): WorkflowDeployments;
|
|
208
209
|
protected _workflowSandboxes: WorkflowSandboxes | undefined;
|
|
209
210
|
get workflowSandboxes(): WorkflowSandboxes;
|
|
211
|
+
protected _workspaceSecrets: WorkspaceSecrets | undefined;
|
|
212
|
+
get workspaceSecrets(): WorkspaceSecrets;
|
|
210
213
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
211
214
|
X_API_KEY: string | undefined;
|
|
212
215
|
}>;
|