vellum-ai 0.8.28 → 0.8.30
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 +17 -0
- package/.mock/definition/workspaceSecrets.yml +4 -1
- package/.mock/openapi/openapi.yml +3769 -3476
- package/Client.js +10 -10
- package/api/resources/adHoc/client/Client.js +1 -1
- 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 +1 -0
- 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.d.ts +11 -0
- package/api/resources/workspaceSecrets/client/Client.js +57 -1
- package/api/resources/workspaceSecrets/client/index.d.ts +1 -1
- package/api/resources/workspaceSecrets/client/index.js +15 -0
- package/api/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.d.ts +11 -0
- package/api/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.js +5 -0
- package/api/resources/workspaceSecrets/client/requests/index.d.ts +1 -0
- package/api/resources/workspaceSecrets/client/requests/index.js +2 -0
- package/api/types/CodeExecutorInputRequest.d.ts +1 -1
- package/api/types/CodeExecutorSecretInputRequest.d.ts +12 -0
- package/api/types/CodeExecutorSecretInputRequest.js +5 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/Client.js +10 -10
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- 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 +1 -0
- 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.d.ts +11 -0
- package/dist/api/resources/workspaceSecrets/client/Client.js +57 -1
- package/dist/api/resources/workspaceSecrets/client/index.d.ts +1 -1
- package/dist/api/resources/workspaceSecrets/client/index.js +15 -0
- package/dist/api/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.d.ts +11 -0
- package/dist/api/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.js +5 -0
- package/dist/api/resources/workspaceSecrets/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workspaceSecrets/client/requests/index.js +2 -0
- package/dist/api/types/CodeExecutorInputRequest.d.ts +1 -1
- package/dist/api/types/CodeExecutorSecretInputRequest.d.ts +12 -0
- package/dist/api/types/CodeExecutorSecretInputRequest.js +5 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/workspaceSecrets/client/index.d.ts +1 -0
- package/dist/serialization/resources/workspaceSecrets/client/index.js +17 -0
- package/dist/serialization/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.d.ts +13 -0
- package/dist/serialization/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.js +34 -0
- package/dist/serialization/resources/workspaceSecrets/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/workspaceSecrets/client/requests/index.js +5 -0
- package/dist/serialization/resources/workspaceSecrets/index.d.ts +1 -0
- package/dist/serialization/resources/workspaceSecrets/index.js +17 -0
- package/dist/serialization/types/CodeExecutorInputRequest.d.ts +2 -1
- package/dist/serialization/types/CodeExecutorInputRequest.js +2 -0
- package/dist/serialization/types/CodeExecutorSecretInputRequest.d.ts +14 -0
- package/dist/serialization/types/CodeExecutorSecretInputRequest.js +35 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +71 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/workspaceSecrets/client/index.d.ts +1 -0
- package/serialization/resources/workspaceSecrets/client/index.js +17 -0
- package/serialization/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.d.ts +13 -0
- package/serialization/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.js +34 -0
- package/serialization/resources/workspaceSecrets/client/requests/index.d.ts +1 -0
- package/serialization/resources/workspaceSecrets/client/requests/index.js +5 -0
- package/serialization/resources/workspaceSecrets/index.d.ts +1 -0
- package/serialization/resources/workspaceSecrets/index.js +17 -0
- package/serialization/types/CodeExecutorInputRequest.d.ts +2 -1
- package/serialization/types/CodeExecutorInputRequest.js +2 -0
- package/serialization/types/CodeExecutorSecretInputRequest.d.ts +14 -0
- package/serialization/types/CodeExecutorSecretInputRequest.js +35 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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": "0.8.30", "User-Agent": "vellum-ai/0.8.30", "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": "0.8.30", "User-Agent": "vellum-ai/0.8.30", "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": "0.8.30", "User-Agent": "vellum-ai/0.8.30", "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": "0.8.30", "User-Agent": "vellum-ai/0.8.30", "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": "0.8.30", "User-Agent": "vellum-ai/0.8.30", "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": "0.8.30", "User-Agent": "vellum-ai/0.8.30", "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": "0.8.30", "User-Agent": "vellum-ai/0.8.30", "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": "0.8.30", "User-Agent": "vellum-ai/0.8.30", "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": "0.8.30", "User-Agent": "vellum-ai/0.8.30", "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": "0.8.30", "User-Agent": "vellum-ai/0.8.30", "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" }),
|
|
@@ -31,6 +31,17 @@ export declare class WorkspaceSecrets {
|
|
|
31
31
|
* await client.workspaceSecrets.retrieve("id")
|
|
32
32
|
*/
|
|
33
33
|
retrieve(id: string, requestOptions?: WorkspaceSecrets.RequestOptions): Promise<Vellum.WorkspaceSecretRead>;
|
|
34
|
+
/**
|
|
35
|
+
* Used to update a Workspace Secret given its ID or name.
|
|
36
|
+
*
|
|
37
|
+
* @param {string} id - Either the Workspace Secret's ID or its unique name
|
|
38
|
+
* @param {Vellum.PatchedWorkspaceSecretUpdateRequest} request
|
|
39
|
+
* @param {WorkspaceSecrets.RequestOptions} requestOptions - Request-specific configuration.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* await client.workspaceSecrets.partialUpdate("id")
|
|
43
|
+
*/
|
|
44
|
+
partialUpdate(id: string, request?: Vellum.PatchedWorkspaceSecretUpdateRequest, requestOptions?: WorkspaceSecrets.RequestOptions): Promise<Vellum.WorkspaceSecretRead>;
|
|
34
45
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
35
46
|
X_API_KEY: string | undefined;
|
|
36
47
|
}>;
|
|
@@ -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": "0.8.30", "User-Agent": "vellum-ai/0.8.30", "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,
|
|
@@ -100,6 +100,62 @@ class WorkspaceSecrets {
|
|
|
100
100
|
}
|
|
101
101
|
});
|
|
102
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
* Used to update a Workspace Secret given its ID or name.
|
|
105
|
+
*
|
|
106
|
+
* @param {string} id - Either the Workspace Secret's ID or its unique name
|
|
107
|
+
* @param {Vellum.PatchedWorkspaceSecretUpdateRequest} request
|
|
108
|
+
* @param {WorkspaceSecrets.RequestOptions} requestOptions - Request-specific configuration.
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* await client.workspaceSecrets.partialUpdate("id")
|
|
112
|
+
*/
|
|
113
|
+
partialUpdate(id, request = {}, requestOptions) {
|
|
114
|
+
var _a;
|
|
115
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
116
|
+
const _response = yield core.fetcher({
|
|
117
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
118
|
+
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
119
|
+
method: "PATCH",
|
|
120
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.30", "User-Agent": "vellum-ai/0.8.30", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
121
|
+
contentType: "application/json",
|
|
122
|
+
requestType: "json",
|
|
123
|
+
body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
|
|
124
|
+
unrecognizedObjectKeys: "strip",
|
|
125
|
+
}),
|
|
126
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
127
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
128
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
129
|
+
});
|
|
130
|
+
if (_response.ok) {
|
|
131
|
+
return serializers.WorkspaceSecretRead.parseOrThrow(_response.body, {
|
|
132
|
+
unrecognizedObjectKeys: "passthrough",
|
|
133
|
+
allowUnrecognizedUnionMembers: true,
|
|
134
|
+
allowUnrecognizedEnumValues: true,
|
|
135
|
+
breadcrumbsPrefix: ["response"],
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
if (_response.error.reason === "status-code") {
|
|
139
|
+
throw new errors.VellumError({
|
|
140
|
+
statusCode: _response.error.statusCode,
|
|
141
|
+
body: _response.error.body,
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
switch (_response.error.reason) {
|
|
145
|
+
case "non-json":
|
|
146
|
+
throw new errors.VellumError({
|
|
147
|
+
statusCode: _response.error.statusCode,
|
|
148
|
+
body: _response.error.rawBody,
|
|
149
|
+
});
|
|
150
|
+
case "timeout":
|
|
151
|
+
throw new errors.VellumTimeoutError();
|
|
152
|
+
case "unknown":
|
|
153
|
+
throw new errors.VellumError({
|
|
154
|
+
message: _response.error.errorMessage,
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
}
|
|
103
159
|
_getCustomAuthorizationHeaders() {
|
|
104
160
|
return __awaiter(this, void 0, void 0, function* () {
|
|
105
161
|
const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./requests";
|
|
@@ -1,2 +1,17 @@
|
|
|
1
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
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type PatchedWorkspaceSecretUpdateRequest } from "./PatchedWorkspaceSecretUpdateRequest";
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export declare type CodeExecutorInputRequest = Vellum.StringInputRequest | Vellum.JsonInputRequest | Vellum.ChatHistoryInputRequest | Vellum.NumberInputRequest | Vellum.SearchResultsInputRequest | Vellum.ErrorInputRequest | Vellum.ArrayInputRequest | Vellum.FunctionCallInputRequest;
|
|
5
|
+
export declare type CodeExecutorInputRequest = Vellum.StringInputRequest | Vellum.JsonInputRequest | Vellum.ChatHistoryInputRequest | Vellum.NumberInputRequest | Vellum.SearchResultsInputRequest | Vellum.ErrorInputRequest | Vellum.ArrayInputRequest | Vellum.FunctionCallInputRequest | Vellum.CodeExecutorSecretInputRequest;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* A user input representing a Vellum Workspace Secret value
|
|
6
|
+
*/
|
|
7
|
+
export interface CodeExecutorSecretInputRequest {
|
|
8
|
+
/** The variable's name */
|
|
9
|
+
name: string;
|
|
10
|
+
type: "SECRET";
|
|
11
|
+
value: string;
|
|
12
|
+
}
|
|
@@ -50,6 +50,7 @@ export * from "./CodeExecutionPackageRequest";
|
|
|
50
50
|
export * from "./CodeExecutionRuntime";
|
|
51
51
|
export * from "./CodeExecutorInputRequest";
|
|
52
52
|
export * from "./CodeExecutorResponse";
|
|
53
|
+
export * from "./CodeExecutorSecretInputRequest";
|
|
53
54
|
export * from "./CompilePromptDeploymentExpandMetaRequest";
|
|
54
55
|
export * from "./CompilePromptMeta";
|
|
55
56
|
export * from "./ConditionCombinator";
|
package/dist/api/types/index.js
CHANGED
|
@@ -66,6 +66,7 @@ __exportStar(require("./CodeExecutionPackageRequest"), exports);
|
|
|
66
66
|
__exportStar(require("./CodeExecutionRuntime"), exports);
|
|
67
67
|
__exportStar(require("./CodeExecutorInputRequest"), exports);
|
|
68
68
|
__exportStar(require("./CodeExecutorResponse"), exports);
|
|
69
|
+
__exportStar(require("./CodeExecutorSecretInputRequest"), exports);
|
|
69
70
|
__exportStar(require("./CompilePromptDeploymentExpandMetaRequest"), exports);
|
|
70
71
|
__exportStar(require("./CompilePromptMeta"), exports);
|
|
71
72
|
__exportStar(require("./ConditionCombinator"), exports);
|
|
@@ -25,3 +25,5 @@ export * as workflowSandboxes from "./workflowSandboxes";
|
|
|
25
25
|
export * from "./workflowSandboxes/client/requests";
|
|
26
26
|
export * as workflows from "./workflows";
|
|
27
27
|
export * from "./workflows/client/requests";
|
|
28
|
+
export * as workspaceSecrets from "./workspaceSecrets";
|
|
29
|
+
export * from "./workspaceSecrets/client/requests";
|
|
@@ -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.workflows = exports.workflowSandboxes = exports.testSuiteRuns = exports.sandboxes = exports.metricDefinitions = exports.documents = exports.adHoc = exports.testSuites = exports.workflowDeployments = exports.folderEntities = exports.documentIndexes = exports.deployments = void 0;
|
|
29
|
+
exports.workspaceSecrets = exports.workflows = exports.workflowSandboxes = exports.testSuiteRuns = exports.sandboxes = exports.metricDefinitions = exports.documents = exports.adHoc = exports.testSuites = 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"));
|
|
@@ -54,3 +54,5 @@ exports.workflowSandboxes = __importStar(require("./workflowSandboxes"));
|
|
|
54
54
|
__exportStar(require("./workflowSandboxes/client/requests"), exports);
|
|
55
55
|
exports.workflows = __importStar(require("./workflows"));
|
|
56
56
|
__exportStar(require("./workflows/client/requests"), exports);
|
|
57
|
+
exports.workspaceSecrets = __importStar(require("./workspaceSecrets"));
|
|
58
|
+
__exportStar(require("./workspaceSecrets/client/requests"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -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("./requests"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Vellum from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const PatchedWorkspaceSecretUpdateRequest: core.serialization.Schema<serializers.PatchedWorkspaceSecretUpdateRequest.Raw, Vellum.PatchedWorkspaceSecretUpdateRequest>;
|
|
8
|
+
export declare namespace PatchedWorkspaceSecretUpdateRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
label?: string | null;
|
|
11
|
+
value?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PatchedWorkspaceSecretUpdateRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
exports.PatchedWorkspaceSecretUpdateRequest = core.serialization.object({
|
|
32
|
+
label: core.serialization.string().optional(),
|
|
33
|
+
value: core.serialization.string().optional(),
|
|
34
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PatchedWorkspaceSecretUpdateRequest } from "./PatchedWorkspaceSecretUpdateRequest";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PatchedWorkspaceSecretUpdateRequest = void 0;
|
|
4
|
+
var PatchedWorkspaceSecretUpdateRequest_1 = require("./PatchedWorkspaceSecretUpdateRequest");
|
|
5
|
+
Object.defineProperty(exports, "PatchedWorkspaceSecretUpdateRequest", { enumerable: true, get: function () { return PatchedWorkspaceSecretUpdateRequest_1.PatchedWorkspaceSecretUpdateRequest; } });
|
|
@@ -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);
|
|
@@ -12,7 +12,8 @@ import { SearchResultsInputRequest } from "./SearchResultsInputRequest";
|
|
|
12
12
|
import { ErrorInputRequest } from "./ErrorInputRequest";
|
|
13
13
|
import { ArrayInputRequest } from "./ArrayInputRequest";
|
|
14
14
|
import { FunctionCallInputRequest } from "./FunctionCallInputRequest";
|
|
15
|
+
import { CodeExecutorSecretInputRequest } from "./CodeExecutorSecretInputRequest";
|
|
15
16
|
export declare const CodeExecutorInputRequest: core.serialization.Schema<serializers.CodeExecutorInputRequest.Raw, Vellum.CodeExecutorInputRequest>;
|
|
16
17
|
export declare namespace CodeExecutorInputRequest {
|
|
17
|
-
type Raw = StringInputRequest.Raw | JsonInputRequest.Raw | ChatHistoryInputRequest.Raw | NumberInputRequest.Raw | SearchResultsInputRequest.Raw | ErrorInputRequest.Raw | ArrayInputRequest.Raw | FunctionCallInputRequest.Raw;
|
|
18
|
+
type Raw = StringInputRequest.Raw | JsonInputRequest.Raw | ChatHistoryInputRequest.Raw | NumberInputRequest.Raw | SearchResultsInputRequest.Raw | ErrorInputRequest.Raw | ArrayInputRequest.Raw | FunctionCallInputRequest.Raw | CodeExecutorSecretInputRequest.Raw;
|
|
18
19
|
}
|
|
@@ -36,6 +36,7 @@ const SearchResultsInputRequest_1 = require("./SearchResultsInputRequest");
|
|
|
36
36
|
const ErrorInputRequest_1 = require("./ErrorInputRequest");
|
|
37
37
|
const ArrayInputRequest_1 = require("./ArrayInputRequest");
|
|
38
38
|
const FunctionCallInputRequest_1 = require("./FunctionCallInputRequest");
|
|
39
|
+
const CodeExecutorSecretInputRequest_1 = require("./CodeExecutorSecretInputRequest");
|
|
39
40
|
exports.CodeExecutorInputRequest = core.serialization.undiscriminatedUnion([
|
|
40
41
|
StringInputRequest_1.StringInputRequest,
|
|
41
42
|
JsonInputRequest_1.JsonInputRequest,
|
|
@@ -45,4 +46,5 @@ exports.CodeExecutorInputRequest = core.serialization.undiscriminatedUnion([
|
|
|
45
46
|
ErrorInputRequest_1.ErrorInputRequest,
|
|
46
47
|
ArrayInputRequest_1.ArrayInputRequest,
|
|
47
48
|
FunctionCallInputRequest_1.FunctionCallInputRequest,
|
|
49
|
+
CodeExecutorSecretInputRequest_1.CodeExecutorSecretInputRequest,
|
|
48
50
|
]);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const CodeExecutorSecretInputRequest: core.serialization.ObjectSchema<serializers.CodeExecutorSecretInputRequest.Raw, Vellum.CodeExecutorSecretInputRequest>;
|
|
8
|
+
export declare namespace CodeExecutorSecretInputRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
type: "SECRET";
|
|
12
|
+
value: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CodeExecutorSecretInputRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.CodeExecutorSecretInputRequest = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
type: core.serialization.stringLiteral("SECRET"),
|
|
34
|
+
value: core.serialization.string(),
|
|
35
|
+
});
|
|
@@ -50,6 +50,7 @@ export * from "./CodeExecutionPackageRequest";
|
|
|
50
50
|
export * from "./CodeExecutionRuntime";
|
|
51
51
|
export * from "./CodeExecutorInputRequest";
|
|
52
52
|
export * from "./CodeExecutorResponse";
|
|
53
|
+
export * from "./CodeExecutorSecretInputRequest";
|
|
53
54
|
export * from "./CompilePromptDeploymentExpandMetaRequest";
|
|
54
55
|
export * from "./CompilePromptMeta";
|
|
55
56
|
export * from "./ConditionCombinator";
|
|
@@ -66,6 +66,7 @@ __exportStar(require("./CodeExecutionPackageRequest"), exports);
|
|
|
66
66
|
__exportStar(require("./CodeExecutionRuntime"), exports);
|
|
67
67
|
__exportStar(require("./CodeExecutorInputRequest"), exports);
|
|
68
68
|
__exportStar(require("./CodeExecutorResponse"), exports);
|
|
69
|
+
__exportStar(require("./CodeExecutorSecretInputRequest"), exports);
|
|
69
70
|
__exportStar(require("./CompilePromptDeploymentExpandMetaRequest"), exports);
|
|
70
71
|
__exportStar(require("./CompilePromptMeta"), exports);
|
|
71
72
|
__exportStar(require("./ConditionCombinator"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "0.8.30";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -2924,3 +2924,74 @@ await client.workspaceSecrets.retrieve("id");
|
|
|
2924
2924
|
</dd>
|
|
2925
2925
|
</dl>
|
|
2926
2926
|
</details>
|
|
2927
|
+
|
|
2928
|
+
<details><summary><code>client.workspaceSecrets.<a href="/src/api/resources/workspaceSecrets/client/Client.ts">partialUpdate</a>(id, { ...params }) -> Vellum.WorkspaceSecretRead</code></summary>
|
|
2929
|
+
<dl>
|
|
2930
|
+
<dd>
|
|
2931
|
+
|
|
2932
|
+
#### 📝 Description
|
|
2933
|
+
|
|
2934
|
+
<dl>
|
|
2935
|
+
<dd>
|
|
2936
|
+
|
|
2937
|
+
<dl>
|
|
2938
|
+
<dd>
|
|
2939
|
+
|
|
2940
|
+
Used to update a Workspace Secret given its ID or name.
|
|
2941
|
+
|
|
2942
|
+
</dd>
|
|
2943
|
+
</dl>
|
|
2944
|
+
</dd>
|
|
2945
|
+
</dl>
|
|
2946
|
+
|
|
2947
|
+
#### 🔌 Usage
|
|
2948
|
+
|
|
2949
|
+
<dl>
|
|
2950
|
+
<dd>
|
|
2951
|
+
|
|
2952
|
+
<dl>
|
|
2953
|
+
<dd>
|
|
2954
|
+
|
|
2955
|
+
```typescript
|
|
2956
|
+
await client.workspaceSecrets.partialUpdate("id");
|
|
2957
|
+
```
|
|
2958
|
+
|
|
2959
|
+
</dd>
|
|
2960
|
+
</dl>
|
|
2961
|
+
</dd>
|
|
2962
|
+
</dl>
|
|
2963
|
+
|
|
2964
|
+
#### ⚙️ Parameters
|
|
2965
|
+
|
|
2966
|
+
<dl>
|
|
2967
|
+
<dd>
|
|
2968
|
+
|
|
2969
|
+
<dl>
|
|
2970
|
+
<dd>
|
|
2971
|
+
|
|
2972
|
+
**id:** `string` — Either the Workspace Secret's ID or its unique name
|
|
2973
|
+
|
|
2974
|
+
</dd>
|
|
2975
|
+
</dl>
|
|
2976
|
+
|
|
2977
|
+
<dl>
|
|
2978
|
+
<dd>
|
|
2979
|
+
|
|
2980
|
+
**request:** `Vellum.PatchedWorkspaceSecretUpdateRequest`
|
|
2981
|
+
|
|
2982
|
+
</dd>
|
|
2983
|
+
</dl>
|
|
2984
|
+
|
|
2985
|
+
<dl>
|
|
2986
|
+
<dd>
|
|
2987
|
+
|
|
2988
|
+
**requestOptions:** `WorkspaceSecrets.RequestOptions`
|
|
2989
|
+
|
|
2990
|
+
</dd>
|
|
2991
|
+
</dl>
|
|
2992
|
+
</dd>
|
|
2993
|
+
</dl>
|
|
2994
|
+
|
|
2995
|
+
</dd>
|
|
2996
|
+
</dl>
|
|
2997
|
+
</details>
|
|
@@ -25,3 +25,5 @@ export * as workflowSandboxes from "./workflowSandboxes";
|
|
|
25
25
|
export * from "./workflowSandboxes/client/requests";
|
|
26
26
|
export * as workflows from "./workflows";
|
|
27
27
|
export * from "./workflows/client/requests";
|
|
28
|
+
export * as workspaceSecrets from "./workspaceSecrets";
|
|
29
|
+
export * from "./workspaceSecrets/client/requests";
|