vellum-ai 0.9.4 → 0.9.5
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 +28 -0
- package/.mock/definition/deployments.yml +50 -1
- package/.mock/definition/workflowDeployments.yml +49 -0
- package/.mock/definition/workflows.yml +15 -2
- package/.mock/openapi/openapi.yml +156 -1
- package/Client.js +10 -10
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.d.ts +12 -1
- package/api/resources/deployments/client/Client.js +74 -6
- package/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.d.ts +23 -0
- package/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.js +5 -0
- package/api/resources/deployments/client/requests/index.d.ts +1 -0
- package/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +8 -0
- package/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +10 -0
- package/api/resources/deployments/types/index.d.ts +1 -0
- package/api/resources/deployments/types/index.js +1 -0
- 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 -1
- package/api/resources/index.js +3 -2
- 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.d.ts +11 -0
- package/api/resources/workflowDeployments/client/Client.js +72 -4
- package/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.d.ts +23 -0
- package/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.js +5 -0
- package/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
- package/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +8 -0
- package/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +10 -0
- package/api/resources/workflowDeployments/types/index.d.ts +1 -0
- package/api/resources/workflowDeployments/types/index.js +1 -0
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.d.ts +3 -2
- package/api/resources/workflows/client/Client.js +20 -7
- package/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +13 -0
- package/api/resources/workflows/client/requests/WorkflowsPullRequest.js +5 -0
- package/api/resources/workflows/client/requests/index.d.ts +1 -0
- package/api/resources/workflows/index.d.ts +1 -0
- package/api/resources/workflows/index.js +1 -0
- package/api/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +8 -0
- package/api/resources/workflows/types/WorkflowsPullRequestFormat.js +10 -0
- package/api/resources/workflows/types/index.d.ts +1 -0
- package/api/resources/workflows/types/index.js +17 -0
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/types/PaginatedDeploymentReleaseTagReadList.d.ts +10 -0
- package/api/types/PaginatedDeploymentReleaseTagReadList.js +5 -0
- package/api/types/PaginatedWorkflowReleaseTagReadList.d.ts +10 -0
- package/api/types/PaginatedWorkflowReleaseTagReadList.js +5 -0
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -0
- package/dist/Client.js +10 -10
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.d.ts +12 -1
- package/dist/api/resources/deployments/client/Client.js +74 -6
- package/dist/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.d.ts +23 -0
- package/dist/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.js +5 -0
- package/dist/api/resources/deployments/client/requests/index.d.ts +1 -0
- package/dist/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +8 -0
- package/dist/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +10 -0
- package/dist/api/resources/deployments/types/index.d.ts +1 -0
- package/dist/api/resources/deployments/types/index.js +1 -0
- 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 -1
- package/dist/api/resources/index.js +3 -2
- 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.d.ts +11 -0
- package/dist/api/resources/workflowDeployments/client/Client.js +72 -4
- package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.d.ts +23 -0
- package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.js +5 -0
- package/dist/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +8 -0
- package/dist/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +10 -0
- package/dist/api/resources/workflowDeployments/types/index.d.ts +1 -0
- package/dist/api/resources/workflowDeployments/types/index.js +1 -0
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.d.ts +3 -2
- package/dist/api/resources/workflows/client/Client.js +20 -7
- package/dist/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +13 -0
- package/dist/api/resources/workflows/client/requests/WorkflowsPullRequest.js +5 -0
- package/dist/api/resources/workflows/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workflows/index.d.ts +1 -0
- package/dist/api/resources/workflows/index.js +1 -0
- package/dist/api/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +8 -0
- package/dist/api/resources/workflows/types/WorkflowsPullRequestFormat.js +10 -0
- package/dist/api/resources/workflows/types/index.d.ts +1 -0
- package/dist/api/resources/workflows/types/index.js +17 -0
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/types/PaginatedDeploymentReleaseTagReadList.d.ts +10 -0
- package/dist/api/types/PaginatedDeploymentReleaseTagReadList.js +5 -0
- package/dist/api/types/PaginatedWorkflowReleaseTagReadList.d.ts +10 -0
- package/dist/api/types/PaginatedWorkflowReleaseTagReadList.js +5 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +10 -0
- package/dist/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +31 -0
- package/dist/serialization/resources/deployments/types/index.d.ts +1 -0
- package/dist/serialization/resources/deployments/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +10 -0
- package/dist/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +31 -0
- package/dist/serialization/resources/workflowDeployments/types/index.d.ts +1 -0
- package/dist/serialization/resources/workflowDeployments/types/index.js +1 -0
- package/dist/serialization/resources/workflows/index.d.ts +1 -0
- package/dist/serialization/resources/workflows/index.js +1 -0
- package/dist/serialization/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +10 -0
- package/dist/serialization/resources/workflows/types/WorkflowsPullRequestFormat.js +31 -0
- package/dist/serialization/resources/workflows/types/index.d.ts +1 -0
- package/dist/serialization/resources/workflows/types/index.js +17 -0
- package/dist/serialization/types/PaginatedDeploymentReleaseTagReadList.d.ts +16 -0
- package/dist/serialization/types/PaginatedDeploymentReleaseTagReadList.js +37 -0
- package/dist/serialization/types/PaginatedWorkflowReleaseTagReadList.d.ts +16 -0
- package/dist/serialization/types/PaginatedWorkflowReleaseTagReadList.js +37 -0
- package/dist/serialization/types/index.d.ts +2 -0
- package/dist/serialization/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +155 -3
- package/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +10 -0
- package/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +31 -0
- package/serialization/resources/deployments/types/index.d.ts +1 -0
- package/serialization/resources/deployments/types/index.js +1 -0
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +10 -0
- package/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +31 -0
- package/serialization/resources/workflowDeployments/types/index.d.ts +1 -0
- package/serialization/resources/workflowDeployments/types/index.js +1 -0
- package/serialization/resources/workflows/index.d.ts +1 -0
- package/serialization/resources/workflows/index.js +1 -0
- package/serialization/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +10 -0
- package/serialization/resources/workflows/types/WorkflowsPullRequestFormat.js +31 -0
- package/serialization/resources/workflows/types/index.d.ts +1 -0
- package/serialization/resources/workflows/types/index.js +17 -0
- package/serialization/types/PaginatedDeploymentReleaseTagReadList.d.ts +16 -0
- package/serialization/types/PaginatedDeploymentReleaseTagReadList.js +37 -0
- package/serialization/types/PaginatedWorkflowReleaseTagReadList.d.ts +16 -0
- package/serialization/types/PaginatedWorkflowReleaseTagReadList.js +37 -0
- package/serialization/types/index.d.ts +2 -0
- package/serialization/types/index.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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.9.
|
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "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.9.
|
|
134
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "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,
|
|
@@ -167,6 +167,74 @@ class WorkflowDeployments {
|
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
+
/**
|
|
171
|
+
* List Release Tags associated with the specified Workflow Deployment
|
|
172
|
+
*
|
|
173
|
+
* @param {string} id - Either the Workflow Deployment's ID or its unique name
|
|
174
|
+
* @param {Vellum.ListWorkflowReleaseTagsRequest} request
|
|
175
|
+
* @param {WorkflowDeployments.RequestOptions} requestOptions - Request-specific configuration.
|
|
176
|
+
*
|
|
177
|
+
* @example
|
|
178
|
+
* await client.workflowDeployments.listWorkflowReleaseTags("id")
|
|
179
|
+
*/
|
|
180
|
+
listWorkflowReleaseTags(id, request = {}, requestOptions) {
|
|
181
|
+
var _a;
|
|
182
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
183
|
+
const { limit, offset, ordering, source } = request;
|
|
184
|
+
const _queryParams = {};
|
|
185
|
+
if (limit != null) {
|
|
186
|
+
_queryParams["limit"] = limit.toString();
|
|
187
|
+
}
|
|
188
|
+
if (offset != null) {
|
|
189
|
+
_queryParams["offset"] = offset.toString();
|
|
190
|
+
}
|
|
191
|
+
if (ordering != null) {
|
|
192
|
+
_queryParams["ordering"] = ordering;
|
|
193
|
+
}
|
|
194
|
+
if (source != null) {
|
|
195
|
+
_queryParams["source"] = source;
|
|
196
|
+
}
|
|
197
|
+
const _response = yield core.fetcher({
|
|
198
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
199
|
+
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
|
|
200
|
+
method: "GET",
|
|
201
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
202
|
+
contentType: "application/json",
|
|
203
|
+
queryParameters: _queryParams,
|
|
204
|
+
requestType: "json",
|
|
205
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
206
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
207
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
208
|
+
});
|
|
209
|
+
if (_response.ok) {
|
|
210
|
+
return serializers.PaginatedWorkflowReleaseTagReadList.parseOrThrow(_response.body, {
|
|
211
|
+
unrecognizedObjectKeys: "passthrough",
|
|
212
|
+
allowUnrecognizedUnionMembers: true,
|
|
213
|
+
allowUnrecognizedEnumValues: true,
|
|
214
|
+
breadcrumbsPrefix: ["response"],
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
if (_response.error.reason === "status-code") {
|
|
218
|
+
throw new errors.VellumError({
|
|
219
|
+
statusCode: _response.error.statusCode,
|
|
220
|
+
body: _response.error.body,
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
switch (_response.error.reason) {
|
|
224
|
+
case "non-json":
|
|
225
|
+
throw new errors.VellumError({
|
|
226
|
+
statusCode: _response.error.statusCode,
|
|
227
|
+
body: _response.error.rawBody,
|
|
228
|
+
});
|
|
229
|
+
case "timeout":
|
|
230
|
+
throw new errors.VellumTimeoutError();
|
|
231
|
+
case "unknown":
|
|
232
|
+
throw new errors.VellumError({
|
|
233
|
+
message: _response.error.errorMessage,
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
});
|
|
237
|
+
}
|
|
170
238
|
/**
|
|
171
239
|
* Retrieve a Workflow Release Tag by tag name, associated with a specified Workflow Deployment.
|
|
172
240
|
*
|
|
@@ -184,7 +252,7 @@ class WorkflowDeployments {
|
|
|
184
252
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
185
253
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
186
254
|
method: "GET",
|
|
187
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
255
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
188
256
|
contentType: "application/json",
|
|
189
257
|
requestType: "json",
|
|
190
258
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -238,7 +306,7 @@ class WorkflowDeployments {
|
|
|
238
306
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
239
307
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
240
308
|
method: "PATCH",
|
|
241
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
309
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
242
310
|
contentType: "application/json",
|
|
243
311
|
requestType: "json",
|
|
244
312
|
body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
|
package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {}
|
|
8
|
+
*/
|
|
9
|
+
export interface ListWorkflowReleaseTagsRequest {
|
|
10
|
+
/**
|
|
11
|
+
* Number of results to return per page.
|
|
12
|
+
*/
|
|
13
|
+
limit?: number;
|
|
14
|
+
/**
|
|
15
|
+
* The initial index from which to return the results.
|
|
16
|
+
*/
|
|
17
|
+
offset?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Which field to use when ordering the results.
|
|
20
|
+
*/
|
|
21
|
+
ordering?: string;
|
|
22
|
+
source?: Vellum.ListWorkflowReleaseTagsRequestSource;
|
|
23
|
+
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export { type WorkflowDeploymentsListRequest } from "./WorkflowDeploymentsListRequest";
|
|
2
|
+
export { type ListWorkflowReleaseTagsRequest } from "./ListWorkflowReleaseTagsRequest";
|
|
2
3
|
export { type PatchedWorkflowReleaseTagUpdateRequest } from "./PatchedWorkflowReleaseTagUpdateRequest";
|
package/dist/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type ListWorkflowReleaseTagsRequestSource = "SYSTEM" | "USER";
|
|
5
|
+
export declare const ListWorkflowReleaseTagsRequestSource: {
|
|
6
|
+
readonly System: "SYSTEM";
|
|
7
|
+
readonly User: "USER";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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.ListWorkflowReleaseTagsRequestSource = void 0;
|
|
7
|
+
exports.ListWorkflowReleaseTagsRequestSource = {
|
|
8
|
+
System: "SYSTEM",
|
|
9
|
+
User: "USER",
|
|
10
|
+
};
|
|
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./WorkflowDeploymentsListRequestStatus"), exports);
|
|
18
|
+
__exportStar(require("./ListWorkflowReleaseTagsRequestSource"), exports);
|
|
@@ -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.9.
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "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" }),
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/// <reference types="node" />
|
|
5
5
|
import * as environments from "../../../../environments";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
import * as stream from "stream";
|
|
8
7
|
import * as Vellum from "../../../index";
|
|
8
|
+
import * as stream from "stream";
|
|
9
9
|
export declare namespace Workflows {
|
|
10
10
|
interface Options {
|
|
11
11
|
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
@@ -25,8 +25,9 @@ export declare class Workflows {
|
|
|
25
25
|
constructor(_options?: Workflows.Options);
|
|
26
26
|
/**
|
|
27
27
|
* An internal-only endpoint that's subject to breaking changes without notice. Not intended for public use.
|
|
28
|
+
* @throws {@link Vellum.BadRequestError}
|
|
28
29
|
*/
|
|
29
|
-
pull(id: string, requestOptions?: Workflows.RequestOptions): Promise<stream.Readable>;
|
|
30
|
+
pull(id: string, request?: Vellum.WorkflowsPullRequest, requestOptions?: Workflows.RequestOptions): Promise<stream.Readable>;
|
|
30
31
|
/**
|
|
31
32
|
* An internal-only endpoint that's subject to breaking changes without notice. Not intended for public use.
|
|
32
33
|
*
|
|
@@ -41,6 +41,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
41
41
|
exports.Workflows = void 0;
|
|
42
42
|
const environments = __importStar(require("../../../../environments"));
|
|
43
43
|
const core = __importStar(require("../../../../core"));
|
|
44
|
+
const Vellum = __importStar(require("../../../index"));
|
|
44
45
|
const url_join_1 = __importDefault(require("url-join"));
|
|
45
46
|
const errors = __importStar(require("../../../../errors/index"));
|
|
46
47
|
const serializers = __importStar(require("../../../../serialization/index"));
|
|
@@ -50,16 +51,23 @@ class Workflows {
|
|
|
50
51
|
}
|
|
51
52
|
/**
|
|
52
53
|
* An internal-only endpoint that's subject to breaking changes without notice. Not intended for public use.
|
|
54
|
+
* @throws {@link Vellum.BadRequestError}
|
|
53
55
|
*/
|
|
54
|
-
pull(id, requestOptions) {
|
|
56
|
+
pull(id, request = {}, requestOptions) {
|
|
55
57
|
var _a;
|
|
56
58
|
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
+
const { format } = request;
|
|
60
|
+
const _queryParams = {};
|
|
61
|
+
if (format != null) {
|
|
62
|
+
_queryParams["format"] = format;
|
|
63
|
+
}
|
|
57
64
|
const _response = yield core.fetcher({
|
|
58
65
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
59
66
|
.default, `v1/workflows/${encodeURIComponent(id)}/pull`),
|
|
60
67
|
method: "GET",
|
|
61
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
68
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
62
69
|
contentType: "application/json",
|
|
70
|
+
queryParameters: _queryParams,
|
|
63
71
|
requestType: "json",
|
|
64
72
|
responseType: "streaming",
|
|
65
73
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -70,10 +78,15 @@ class Workflows {
|
|
|
70
78
|
return _response.body;
|
|
71
79
|
}
|
|
72
80
|
if (_response.error.reason === "status-code") {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
81
|
+
switch (_response.error.statusCode) {
|
|
82
|
+
case 400:
|
|
83
|
+
throw new Vellum.BadRequestError(_response.error.body);
|
|
84
|
+
default:
|
|
85
|
+
throw new errors.VellumError({
|
|
86
|
+
statusCode: _response.error.statusCode,
|
|
87
|
+
body: _response.error.body,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
77
90
|
}
|
|
78
91
|
switch (_response.error.reason) {
|
|
79
92
|
case "non-json":
|
|
@@ -111,7 +124,7 @@ class Workflows {
|
|
|
111
124
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
112
125
|
.default, "v1/workflows/push"),
|
|
113
126
|
method: "POST",
|
|
114
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
127
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
115
128
|
contentType: "application/json",
|
|
116
129
|
requestType: "json",
|
|
117
130
|
body: serializers.WorkflowPushRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* format: "json"
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface WorkflowsPullRequest {
|
|
12
|
+
format?: Vellum.WorkflowsPullRequestFormat;
|
|
13
|
+
}
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
17
18
|
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
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.WorkflowsPullRequestFormat = void 0;
|
|
7
|
+
exports.WorkflowsPullRequestFormat = {
|
|
8
|
+
Json: "json",
|
|
9
|
+
Zip: "zip",
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./WorkflowsPullRequestFormat";
|
|
@@ -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("./WorkflowsPullRequestFormat"), exports);
|
|
@@ -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": "0.9.
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "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": "0.9.
|
|
120
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "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,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface PaginatedDeploymentReleaseTagReadList {
|
|
6
|
+
count?: number;
|
|
7
|
+
next?: string;
|
|
8
|
+
previous?: string;
|
|
9
|
+
results?: Vellum.DeploymentReleaseTagRead[];
|
|
10
|
+
}
|
|
@@ -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 PaginatedWorkflowReleaseTagReadList {
|
|
6
|
+
count?: number;
|
|
7
|
+
next?: string;
|
|
8
|
+
previous?: string;
|
|
9
|
+
results?: Vellum.WorkflowReleaseTagRead[];
|
|
10
|
+
}
|
|
@@ -238,6 +238,7 @@ export * from "./OpenAiVectorizerTextEmbedding3SmallRequest";
|
|
|
238
238
|
export * from "./OpenAiVectorizerTextEmbeddingAda002";
|
|
239
239
|
export * from "./OpenAiVectorizerTextEmbeddingAda002Request";
|
|
240
240
|
export * from "./PaginatedContainerImageReadList";
|
|
241
|
+
export * from "./PaginatedDeploymentReleaseTagReadList";
|
|
241
242
|
export * from "./PaginatedDocumentIndexReadList";
|
|
242
243
|
export * from "./PaginatedFolderEntityList";
|
|
243
244
|
export * from "./PaginatedSlimDeploymentReadList";
|
|
@@ -245,6 +246,7 @@ export * from "./PaginatedSlimDocumentList";
|
|
|
245
246
|
export * from "./PaginatedSlimWorkflowDeploymentList";
|
|
246
247
|
export * from "./PaginatedTestSuiteRunExecutionList";
|
|
247
248
|
export * from "./PaginatedTestSuiteTestCaseList";
|
|
249
|
+
export * from "./PaginatedWorkflowReleaseTagReadList";
|
|
248
250
|
export * from "./PdfSearchResultMetaSource";
|
|
249
251
|
export * from "./PdfSearchResultMetaSourceRequest";
|
|
250
252
|
export * from "./PlainTextPromptBlockRequest";
|
package/dist/api/types/index.js
CHANGED
|
@@ -254,6 +254,7 @@ __exportStar(require("./OpenAiVectorizerTextEmbedding3SmallRequest"), exports);
|
|
|
254
254
|
__exportStar(require("./OpenAiVectorizerTextEmbeddingAda002"), exports);
|
|
255
255
|
__exportStar(require("./OpenAiVectorizerTextEmbeddingAda002Request"), exports);
|
|
256
256
|
__exportStar(require("./PaginatedContainerImageReadList"), exports);
|
|
257
|
+
__exportStar(require("./PaginatedDeploymentReleaseTagReadList"), exports);
|
|
257
258
|
__exportStar(require("./PaginatedDocumentIndexReadList"), exports);
|
|
258
259
|
__exportStar(require("./PaginatedFolderEntityList"), exports);
|
|
259
260
|
__exportStar(require("./PaginatedSlimDeploymentReadList"), exports);
|
|
@@ -261,6 +262,7 @@ __exportStar(require("./PaginatedSlimDocumentList"), exports);
|
|
|
261
262
|
__exportStar(require("./PaginatedSlimWorkflowDeploymentList"), exports);
|
|
262
263
|
__exportStar(require("./PaginatedTestSuiteRunExecutionList"), exports);
|
|
263
264
|
__exportStar(require("./PaginatedTestSuiteTestCaseList"), exports);
|
|
265
|
+
__exportStar(require("./PaginatedWorkflowReleaseTagReadList"), exports);
|
|
264
266
|
__exportStar(require("./PdfSearchResultMetaSource"), exports);
|
|
265
267
|
__exportStar(require("./PdfSearchResultMetaSourceRequest"), exports);
|
|
266
268
|
__exportStar(require("./PlainTextPromptBlockRequest"), exports);
|
package/dist/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
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 ListDeploymentReleaseTagsRequestSource: core.serialization.Schema<serializers.ListDeploymentReleaseTagsRequestSource.Raw, Vellum.ListDeploymentReleaseTagsRequestSource>;
|
|
8
|
+
export declare namespace ListDeploymentReleaseTagsRequestSource {
|
|
9
|
+
type Raw = "SYSTEM" | "USER";
|
|
10
|
+
}
|
package/dist/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
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.ListDeploymentReleaseTagsRequestSource = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ListDeploymentReleaseTagsRequestSource = core.serialization.enum_(["SYSTEM", "USER"]);
|
|
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./DeploymentsListRequestStatus"), exports);
|
|
18
|
+
__exportStar(require("./ListDeploymentReleaseTagsRequestSource"), exports);
|
|
@@ -6,6 +6,8 @@ export * as folderEntities from "./folderEntities";
|
|
|
6
6
|
export * from "./folderEntities/types";
|
|
7
7
|
export * as workflowDeployments from "./workflowDeployments";
|
|
8
8
|
export * from "./workflowDeployments/types";
|
|
9
|
+
export * as workflows from "./workflows";
|
|
10
|
+
export * from "./workflows/types";
|
|
9
11
|
export * as testSuites from "./testSuites";
|
|
10
12
|
export * as adHoc from "./adHoc";
|
|
11
13
|
export * from "./adHoc/client/requests";
|
|
@@ -25,7 +27,6 @@ export * from "./testSuiteRuns/client/requests";
|
|
|
25
27
|
export * from "./workflowDeployments/client/requests";
|
|
26
28
|
export * as workflowSandboxes from "./workflowSandboxes";
|
|
27
29
|
export * from "./workflowSandboxes/client/requests";
|
|
28
|
-
export * as workflows from "./workflows";
|
|
29
30
|
export * from "./workflows/client/requests";
|
|
30
31
|
export * as workspaceSecrets from "./workspaceSecrets";
|
|
31
32
|
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.workspaceSecrets = exports.
|
|
29
|
+
exports.workspaceSecrets = exports.workflowSandboxes = exports.testSuiteRuns = exports.sandboxes = exports.metricDefinitions = exports.documents = exports.containerImages = exports.adHoc = exports.testSuites = exports.workflows = 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"));
|
|
@@ -35,6 +35,8 @@ exports.folderEntities = __importStar(require("./folderEntities"));
|
|
|
35
35
|
__exportStar(require("./folderEntities/types"), exports);
|
|
36
36
|
exports.workflowDeployments = __importStar(require("./workflowDeployments"));
|
|
37
37
|
__exportStar(require("./workflowDeployments/types"), exports);
|
|
38
|
+
exports.workflows = __importStar(require("./workflows"));
|
|
39
|
+
__exportStar(require("./workflows/types"), exports);
|
|
38
40
|
exports.testSuites = __importStar(require("./testSuites"));
|
|
39
41
|
exports.adHoc = __importStar(require("./adHoc"));
|
|
40
42
|
__exportStar(require("./adHoc/client/requests"), exports);
|
|
@@ -54,7 +56,6 @@ __exportStar(require("./testSuiteRuns/client/requests"), exports);
|
|
|
54
56
|
__exportStar(require("./workflowDeployments/client/requests"), exports);
|
|
55
57
|
exports.workflowSandboxes = __importStar(require("./workflowSandboxes"));
|
|
56
58
|
__exportStar(require("./workflowSandboxes/client/requests"), exports);
|
|
57
|
-
exports.workflows = __importStar(require("./workflows"));
|
|
58
59
|
__exportStar(require("./workflows/client/requests"), exports);
|
|
59
60
|
exports.workspaceSecrets = __importStar(require("./workspaceSecrets"));
|
|
60
61
|
__exportStar(require("./workspaceSecrets/client/requests"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ListWorkflowReleaseTagsRequestSource: core.serialization.Schema<serializers.ListWorkflowReleaseTagsRequestSource.Raw, Vellum.ListWorkflowReleaseTagsRequestSource>;
|
|
8
|
+
export declare namespace ListWorkflowReleaseTagsRequestSource {
|
|
9
|
+
type Raw = "SYSTEM" | "USER";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.ListWorkflowReleaseTagsRequestSource = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ListWorkflowReleaseTagsRequestSource = core.serialization.enum_(["SYSTEM", "USER"]);
|
|
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./WorkflowDeploymentsListRequestStatus"), exports);
|
|
18
|
+
__exportStar(require("./ListWorkflowReleaseTagsRequestSource"), exports);
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
17
18
|
__exportStar(require("./client"), exports);
|