vellum-ai 0.14.4 → 0.14.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -3
- package/Client.js +12 -12
- package/api/client/requests/ExecutePromptRequest.d.ts +1 -1
- package/api/client/requests/ExecutePromptStreamRequest.d.ts +1 -1
- package/api/client/requests/ExecuteWorkflowRequest.d.ts +1 -1
- package/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -1
- package/api/resources/adHoc/client/Client.d.ts +3 -3
- package/api/resources/adHoc/client/Client.js +2 -2
- package/api/resources/containerImages/client/Client.d.ts +3 -3
- package/api/resources/containerImages/client/Client.js +5 -5
- package/api/resources/deployments/client/Client.d.ts +3 -3
- package/api/resources/deployments/client/Client.js +8 -8
- package/api/resources/documentIndexes/client/Client.d.ts +3 -3
- package/api/resources/documentIndexes/client/Client.js +9 -9
- package/api/resources/documents/client/Client.d.ts +3 -3
- package/api/resources/documents/client/Client.js +6 -6
- package/api/resources/folderEntities/client/Client.d.ts +3 -3
- package/api/resources/folderEntities/client/Client.js +3 -3
- package/api/resources/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/metricDefinitions/client/Client.d.ts +3 -3
- package/api/resources/metricDefinitions/client/Client.js +3 -3
- package/api/resources/mlModels/client/Client.d.ts +3 -3
- package/api/resources/mlModels/client/Client.js +2 -2
- package/api/resources/organizations/client/Client.d.ts +3 -3
- package/api/resources/organizations/client/Client.js +2 -2
- package/api/resources/sandboxes/client/Client.d.ts +3 -3
- package/api/resources/sandboxes/client/Client.js +4 -4
- package/api/resources/testSuiteRuns/client/Client.d.ts +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +4 -4
- package/api/resources/testSuites/client/Client.d.ts +3 -3
- package/api/resources/testSuites/client/Client.js +5 -5
- package/api/resources/workflowDeployments/client/Client.d.ts +3 -3
- package/api/resources/workflowDeployments/client/Client.js +7 -7
- package/api/resources/workflowSandboxes/client/Client.d.ts +13 -3
- package/api/resources/workflowSandboxes/client/Client.js +71 -2
- package/api/resources/workflowSandboxes/client/requests/ListWorkflowSandboxExamplesRequest.d.ts +23 -0
- package/api/resources/workflowSandboxes/client/requests/ListWorkflowSandboxExamplesRequest.js +5 -0
- package/api/resources/workflowSandboxes/client/requests/index.d.ts +1 -0
- package/api/resources/workflowSandboxes/index.d.ts +1 -0
- package/api/resources/workflowSandboxes/index.js +1 -0
- package/api/resources/workflowSandboxes/types/ListWorkflowSandboxExamplesRequestTag.d.ts +8 -0
- package/api/resources/workflowSandboxes/types/ListWorkflowSandboxExamplesRequestTag.js +10 -0
- package/api/resources/workflowSandboxes/types/index.d.ts +1 -0
- package/api/resources/workflowSandboxes/types/index.js +17 -0
- package/api/resources/workflows/client/Client.d.ts +3 -3
- package/api/resources/workflows/client/Client.js +3 -3
- package/api/resources/workspaceSecrets/client/Client.d.ts +3 -3
- package/api/resources/workspaceSecrets/client/Client.js +3 -3
- package/api/resources/workspaces/client/Client.d.ts +3 -3
- package/api/resources/workspaces/client/Client.js +2 -2
- package/api/types/PaginatedWorkflowSandboxExampleList.d.ts +10 -0
- package/api/types/PaginatedWorkflowSandboxExampleList.js +5 -0
- package/api/types/WorkflowSandboxExample.d.ts +9 -0
- package/api/types/WorkflowSandboxExample.js +5 -0
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -0
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +12 -12
- package/dist/api/client/requests/ExecutePromptRequest.d.ts +1 -1
- package/dist/api/client/requests/ExecutePromptStreamRequest.d.ts +1 -1
- package/dist/api/client/requests/ExecuteWorkflowRequest.d.ts +1 -1
- package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -1
- package/dist/api/resources/adHoc/client/Client.d.ts +3 -3
- package/dist/api/resources/adHoc/client/Client.js +2 -2
- package/dist/api/resources/containerImages/client/Client.d.ts +3 -3
- package/dist/api/resources/containerImages/client/Client.js +5 -5
- package/dist/api/resources/deployments/client/Client.d.ts +3 -3
- package/dist/api/resources/deployments/client/Client.js +8 -8
- package/dist/api/resources/documentIndexes/client/Client.d.ts +3 -3
- package/dist/api/resources/documentIndexes/client/Client.js +9 -9
- package/dist/api/resources/documents/client/Client.d.ts +3 -3
- package/dist/api/resources/documents/client/Client.js +6 -6
- package/dist/api/resources/folderEntities/client/Client.d.ts +3 -3
- package/dist/api/resources/folderEntities/client/Client.js +3 -3
- package/dist/api/resources/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/metricDefinitions/client/Client.d.ts +3 -3
- package/dist/api/resources/metricDefinitions/client/Client.js +3 -3
- package/dist/api/resources/mlModels/client/Client.d.ts +3 -3
- package/dist/api/resources/mlModels/client/Client.js +2 -2
- package/dist/api/resources/organizations/client/Client.d.ts +3 -3
- package/dist/api/resources/organizations/client/Client.js +2 -2
- package/dist/api/resources/sandboxes/client/Client.d.ts +3 -3
- package/dist/api/resources/sandboxes/client/Client.js +4 -4
- package/dist/api/resources/testSuiteRuns/client/Client.d.ts +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +4 -4
- package/dist/api/resources/testSuites/client/Client.d.ts +3 -3
- package/dist/api/resources/testSuites/client/Client.js +5 -5
- package/dist/api/resources/workflowDeployments/client/Client.d.ts +3 -3
- package/dist/api/resources/workflowDeployments/client/Client.js +7 -7
- package/dist/api/resources/workflowSandboxes/client/Client.d.ts +13 -3
- package/dist/api/resources/workflowSandboxes/client/Client.js +71 -2
- package/dist/api/resources/workflowSandboxes/client/requests/ListWorkflowSandboxExamplesRequest.d.ts +23 -0
- package/dist/api/resources/workflowSandboxes/client/requests/ListWorkflowSandboxExamplesRequest.js +5 -0
- package/dist/api/resources/workflowSandboxes/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workflowSandboxes/index.d.ts +1 -0
- package/dist/api/resources/workflowSandboxes/index.js +1 -0
- package/dist/api/resources/workflowSandboxes/types/ListWorkflowSandboxExamplesRequestTag.d.ts +8 -0
- package/dist/api/resources/workflowSandboxes/types/ListWorkflowSandboxExamplesRequestTag.js +10 -0
- package/dist/api/resources/workflowSandboxes/types/index.d.ts +1 -0
- package/dist/api/resources/workflowSandboxes/types/index.js +17 -0
- package/dist/api/resources/workflows/client/Client.d.ts +3 -3
- package/dist/api/resources/workflows/client/Client.js +3 -3
- package/dist/api/resources/workspaceSecrets/client/Client.d.ts +3 -3
- package/dist/api/resources/workspaceSecrets/client/Client.js +3 -3
- package/dist/api/resources/workspaces/client/Client.d.ts +3 -3
- package/dist/api/resources/workspaces/client/Client.js +2 -2
- package/dist/api/types/PaginatedWorkflowSandboxExampleList.d.ts +10 -0
- package/dist/api/types/PaginatedWorkflowSandboxExampleList.js +5 -0
- package/dist/api/types/WorkflowSandboxExample.d.ts +9 -0
- package/dist/api/types/WorkflowSandboxExample.js +5 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/workflowSandboxes/index.d.ts +1 -0
- package/dist/serialization/resources/workflowSandboxes/index.js +1 -0
- package/dist/serialization/resources/workflowSandboxes/types/ListWorkflowSandboxExamplesRequestTag.d.ts +10 -0
- package/dist/serialization/resources/workflowSandboxes/types/ListWorkflowSandboxExamplesRequestTag.js +41 -0
- package/dist/serialization/resources/workflowSandboxes/types/index.d.ts +1 -0
- package/dist/serialization/resources/workflowSandboxes/types/index.js +17 -0
- package/dist/serialization/types/PaginatedWorkflowSandboxExampleList.d.ts +16 -0
- package/dist/serialization/types/PaginatedWorkflowSandboxExampleList.js +47 -0
- package/dist/serialization/types/WorkflowSandboxExample.d.ts +15 -0
- package/dist/serialization/types/WorkflowSandboxExample.js +46 -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 +63 -0
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/workflowSandboxes/index.d.ts +1 -0
- package/serialization/resources/workflowSandboxes/index.js +1 -0
- package/serialization/resources/workflowSandboxes/types/ListWorkflowSandboxExamplesRequestTag.d.ts +10 -0
- package/serialization/resources/workflowSandboxes/types/ListWorkflowSandboxExamplesRequestTag.js +41 -0
- package/serialization/resources/workflowSandboxes/types/index.d.ts +1 -0
- package/serialization/resources/workflowSandboxes/types/index.js +17 -0
- package/serialization/types/PaginatedWorkflowSandboxExampleList.d.ts +16 -0
- package/serialization/types/PaginatedWorkflowSandboxExampleList.js +47 -0
- package/serialization/types/WorkflowSandboxExample.d.ts +15 -0
- package/serialization/types/WorkflowSandboxExample.js +46 -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
|
@@ -55,7 +55,7 @@ const serializers = __importStar(require("../../../../serialization/index"));
|
|
|
55
55
|
const url_join_1 = __importDefault(require("url-join"));
|
|
56
56
|
const errors = __importStar(require("../../../../errors/index"));
|
|
57
57
|
class WorkflowDeployments {
|
|
58
|
-
constructor(_options) {
|
|
58
|
+
constructor(_options = {}) {
|
|
59
59
|
this._options = _options;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
@@ -90,7 +90,7 @@ class WorkflowDeployments {
|
|
|
90
90
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
91
91
|
.default, "v1/workflow-deployments"),
|
|
92
92
|
method: "GET",
|
|
93
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
93
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.6", "User-Agent": "vellum-ai/0.14.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
queryParameters: _queryParams,
|
|
96
96
|
requestType: "json",
|
|
@@ -143,7 +143,7 @@ class WorkflowDeployments {
|
|
|
143
143
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
144
144
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
|
|
145
145
|
method: "GET",
|
|
146
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
146
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.6", "User-Agent": "vellum-ai/0.14.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
requestType: "json",
|
|
149
149
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -196,7 +196,7 @@ class WorkflowDeployments {
|
|
|
196
196
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
197
197
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
|
|
198
198
|
method: "GET",
|
|
199
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
199
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.6", "User-Agent": "vellum-ai/0.14.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
200
200
|
contentType: "application/json",
|
|
201
201
|
requestType: "json",
|
|
202
202
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -265,7 +265,7 @@ class WorkflowDeployments {
|
|
|
265
265
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
266
266
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
|
|
267
267
|
method: "GET",
|
|
268
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
268
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.6", "User-Agent": "vellum-ai/0.14.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
269
269
|
contentType: "application/json",
|
|
270
270
|
queryParameters: _queryParams,
|
|
271
271
|
requestType: "json",
|
|
@@ -319,7 +319,7 @@ class WorkflowDeployments {
|
|
|
319
319
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
320
320
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
321
321
|
method: "GET",
|
|
322
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
322
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.6", "User-Agent": "vellum-ai/0.14.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
323
323
|
contentType: "application/json",
|
|
324
324
|
requestType: "json",
|
|
325
325
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -373,7 +373,7 @@ class WorkflowDeployments {
|
|
|
373
373
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
374
374
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
375
375
|
method: "PATCH",
|
|
376
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
376
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.6", "User-Agent": "vellum-ai/0.14.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
377
377
|
contentType: "application/json",
|
|
378
378
|
requestType: "json",
|
|
379
379
|
body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -9,7 +9,7 @@ export declare namespace WorkflowSandboxes {
|
|
|
9
9
|
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
|
-
apiKey
|
|
12
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
13
13
|
}
|
|
14
14
|
interface RequestOptions {
|
|
15
15
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -24,7 +24,7 @@ export declare namespace WorkflowSandboxes {
|
|
|
24
24
|
}
|
|
25
25
|
export declare class WorkflowSandboxes {
|
|
26
26
|
protected readonly _options: WorkflowSandboxes.Options;
|
|
27
|
-
constructor(_options
|
|
27
|
+
constructor(_options?: WorkflowSandboxes.Options);
|
|
28
28
|
/**
|
|
29
29
|
* @param {string} id - A UUID string identifying this workflow sandbox.
|
|
30
30
|
* @param {string} workflowId - An ID identifying the Workflow you'd like to deploy.
|
|
@@ -35,7 +35,17 @@ export declare class WorkflowSandboxes {
|
|
|
35
35
|
* await client.workflowSandboxes.deployWorkflow("id", "workflow_id")
|
|
36
36
|
*/
|
|
37
37
|
deployWorkflow(id: string, workflowId: string, request?: Vellum.DeploySandboxWorkflowRequest, requestOptions?: WorkflowSandboxes.RequestOptions): Promise<Vellum.WorkflowDeploymentRead>;
|
|
38
|
+
/**
|
|
39
|
+
* List Workflow Sandbox examples that were previously cloned into the User's Workspace
|
|
40
|
+
*
|
|
41
|
+
* @param {Vellum.ListWorkflowSandboxExamplesRequest} request
|
|
42
|
+
* @param {WorkflowSandboxes.RequestOptions} requestOptions - Request-specific configuration.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* await client.workflowSandboxes.listWorkflowSandboxExamples()
|
|
46
|
+
*/
|
|
47
|
+
listWorkflowSandboxExamples(request?: Vellum.ListWorkflowSandboxExamplesRequest, requestOptions?: WorkflowSandboxes.RequestOptions): Promise<Vellum.PaginatedWorkflowSandboxExampleList>;
|
|
38
48
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
39
|
-
X_API_KEY: string;
|
|
49
|
+
X_API_KEY: string | undefined;
|
|
40
50
|
}>;
|
|
41
51
|
}
|
|
@@ -55,7 +55,7 @@ const serializers = __importStar(require("../../../../serialization/index"));
|
|
|
55
55
|
const url_join_1 = __importDefault(require("url-join"));
|
|
56
56
|
const errors = __importStar(require("../../../../errors/index"));
|
|
57
57
|
class WorkflowSandboxes {
|
|
58
|
-
constructor(_options) {
|
|
58
|
+
constructor(_options = {}) {
|
|
59
59
|
this._options = _options;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
@@ -74,7 +74,7 @@ class WorkflowSandboxes {
|
|
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
75
75
|
.default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
|
|
76
76
|
method: "POST",
|
|
77
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
77
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.6", "User-Agent": "vellum-ai/0.14.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
requestType: "json",
|
|
80
80
|
body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -111,6 +111,75 @@ class WorkflowSandboxes {
|
|
|
111
111
|
}
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* List Workflow Sandbox examples that were previously cloned into the User's Workspace
|
|
116
|
+
*
|
|
117
|
+
* @param {Vellum.ListWorkflowSandboxExamplesRequest} request
|
|
118
|
+
* @param {WorkflowSandboxes.RequestOptions} requestOptions - Request-specific configuration.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* await client.workflowSandboxes.listWorkflowSandboxExamples()
|
|
122
|
+
*/
|
|
123
|
+
listWorkflowSandboxExamples() {
|
|
124
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
125
|
+
var _a, _b;
|
|
126
|
+
const { limit, offset, ordering, tag } = request;
|
|
127
|
+
const _queryParams = {};
|
|
128
|
+
if (limit != null) {
|
|
129
|
+
_queryParams["limit"] = limit.toString();
|
|
130
|
+
}
|
|
131
|
+
if (offset != null) {
|
|
132
|
+
_queryParams["offset"] = offset.toString();
|
|
133
|
+
}
|
|
134
|
+
if (ordering != null) {
|
|
135
|
+
_queryParams["ordering"] = ordering;
|
|
136
|
+
}
|
|
137
|
+
if (tag != null) {
|
|
138
|
+
_queryParams["tag"] = serializers.ListWorkflowSandboxExamplesRequestTag.jsonOrThrow(tag, {
|
|
139
|
+
unrecognizedObjectKeys: "strip",
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
const _response = yield core.fetcher({
|
|
143
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
144
|
+
.default, "v1/workflow-sandboxes/examples"),
|
|
145
|
+
method: "GET",
|
|
146
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.6", "User-Agent": "vellum-ai/0.14.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
147
|
+
contentType: "application/json",
|
|
148
|
+
queryParameters: _queryParams,
|
|
149
|
+
requestType: "json",
|
|
150
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
151
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
152
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
153
|
+
});
|
|
154
|
+
if (_response.ok) {
|
|
155
|
+
return serializers.PaginatedWorkflowSandboxExampleList.parseOrThrow(_response.body, {
|
|
156
|
+
unrecognizedObjectKeys: "passthrough",
|
|
157
|
+
allowUnrecognizedUnionMembers: true,
|
|
158
|
+
allowUnrecognizedEnumValues: true,
|
|
159
|
+
breadcrumbsPrefix: ["response"],
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
if (_response.error.reason === "status-code") {
|
|
163
|
+
throw new errors.VellumError({
|
|
164
|
+
statusCode: _response.error.statusCode,
|
|
165
|
+
body: _response.error.body,
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
switch (_response.error.reason) {
|
|
169
|
+
case "non-json":
|
|
170
|
+
throw new errors.VellumError({
|
|
171
|
+
statusCode: _response.error.statusCode,
|
|
172
|
+
body: _response.error.rawBody,
|
|
173
|
+
});
|
|
174
|
+
case "timeout":
|
|
175
|
+
throw new errors.VellumTimeoutError("Timeout exceeded when calling GET /v1/workflow-sandboxes/examples.");
|
|
176
|
+
case "unknown":
|
|
177
|
+
throw new errors.VellumError({
|
|
178
|
+
message: _response.error.errorMessage,
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
}
|
|
114
183
|
_getCustomAuthorizationHeaders() {
|
|
115
184
|
return __awaiter(this, void 0, void 0, function* () {
|
|
116
185
|
const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
|
package/dist/api/resources/workflowSandboxes/client/requests/ListWorkflowSandboxExamplesRequest.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 ListWorkflowSandboxExamplesRequest {
|
|
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
|
+
tag?: Vellum.ListWorkflowSandboxExamplesRequestTag;
|
|
23
|
+
}
|
|
@@ -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,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type ListWorkflowSandboxExamplesRequestTag = "ONBOARDING" | "TEMPLATES";
|
|
5
|
+
export declare const ListWorkflowSandboxExamplesRequestTag: {
|
|
6
|
+
readonly Onboarding: "ONBOARDING";
|
|
7
|
+
readonly Templates: "TEMPLATES";
|
|
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.ListWorkflowSandboxExamplesRequestTag = void 0;
|
|
7
|
+
exports.ListWorkflowSandboxExamplesRequestTag = {
|
|
8
|
+
Onboarding: "ONBOARDING",
|
|
9
|
+
Templates: "TEMPLATES",
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ListWorkflowSandboxExamplesRequestTag";
|
|
@@ -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("./ListWorkflowSandboxExamplesRequestTag"), exports);
|
|
@@ -12,7 +12,7 @@ export declare namespace Workflows {
|
|
|
12
12
|
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
13
13
|
/** Specify a custom URL to connect the client to. */
|
|
14
14
|
baseUrl?: core.Supplier<string>;
|
|
15
|
-
apiKey
|
|
15
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
16
16
|
}
|
|
17
17
|
interface RequestOptions {
|
|
18
18
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -27,7 +27,7 @@ export declare namespace Workflows {
|
|
|
27
27
|
}
|
|
28
28
|
export declare class Workflows {
|
|
29
29
|
protected readonly _options: Workflows.Options;
|
|
30
|
-
constructor(_options
|
|
30
|
+
constructor(_options?: Workflows.Options);
|
|
31
31
|
/**
|
|
32
32
|
* @throws {@link Vellum.BadRequestError}
|
|
33
33
|
*/
|
|
@@ -44,6 +44,6 @@ export declare class Workflows {
|
|
|
44
44
|
*/
|
|
45
45
|
push(artifact: File | fs.ReadStream | Blob | undefined, request: Vellum.WorkflowPushRequest, requestOptions?: Workflows.RequestOptions): Promise<Vellum.WorkflowPushResponse>;
|
|
46
46
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
47
|
-
X_API_KEY: string;
|
|
47
|
+
X_API_KEY: string | undefined;
|
|
48
48
|
}>;
|
|
49
49
|
}
|
|
@@ -57,7 +57,7 @@ const url_join_1 = __importDefault(require("url-join"));
|
|
|
57
57
|
const errors = __importStar(require("../../../../errors/index"));
|
|
58
58
|
const json_1 = require("../../../../core/json");
|
|
59
59
|
class Workflows {
|
|
60
|
-
constructor(_options) {
|
|
60
|
+
constructor(_options = {}) {
|
|
61
61
|
this._options = _options;
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
@@ -89,7 +89,7 @@ class Workflows {
|
|
|
89
89
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
90
90
|
.default, `v1/workflows/${encodeURIComponent(id)}/pull`),
|
|
91
91
|
method: "GET",
|
|
92
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
92
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.6", "User-Agent": "vellum-ai/0.14.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
93
93
|
contentType: "application/json",
|
|
94
94
|
queryParameters: _queryParams,
|
|
95
95
|
requestType: "json",
|
|
@@ -164,7 +164,7 @@ class Workflows {
|
|
|
164
164
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
165
165
|
.default, "v1/workflows/push"),
|
|
166
166
|
method: "POST",
|
|
167
|
-
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
167
|
+
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.6", "User-Agent": "vellum-ai/0.14.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
168
168
|
requestType: "file",
|
|
169
169
|
duplex: _maybeEncodedRequest.duplex,
|
|
170
170
|
body: _maybeEncodedRequest.body,
|
|
@@ -9,7 +9,7 @@ export declare namespace WorkspaceSecrets {
|
|
|
9
9
|
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
|
-
apiKey
|
|
12
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
13
13
|
}
|
|
14
14
|
interface RequestOptions {
|
|
15
15
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -24,7 +24,7 @@ export declare namespace WorkspaceSecrets {
|
|
|
24
24
|
}
|
|
25
25
|
export declare class WorkspaceSecrets {
|
|
26
26
|
protected readonly _options: WorkspaceSecrets.Options;
|
|
27
|
-
constructor(_options
|
|
27
|
+
constructor(_options?: WorkspaceSecrets.Options);
|
|
28
28
|
/**
|
|
29
29
|
* Used to retrieve a Workspace Secret given its ID or name.
|
|
30
30
|
*
|
|
@@ -47,6 +47,6 @@ export declare class WorkspaceSecrets {
|
|
|
47
47
|
*/
|
|
48
48
|
partialUpdate(id: string, request?: Vellum.PatchedWorkspaceSecretUpdateRequest, requestOptions?: WorkspaceSecrets.RequestOptions): Promise<Vellum.WorkspaceSecretRead>;
|
|
49
49
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
50
|
-
X_API_KEY: string;
|
|
50
|
+
X_API_KEY: string | undefined;
|
|
51
51
|
}>;
|
|
52
52
|
}
|
|
@@ -55,7 +55,7 @@ const url_join_1 = __importDefault(require("url-join"));
|
|
|
55
55
|
const serializers = __importStar(require("../../../../serialization/index"));
|
|
56
56
|
const errors = __importStar(require("../../../../errors/index"));
|
|
57
57
|
class WorkspaceSecrets {
|
|
58
|
-
constructor(_options) {
|
|
58
|
+
constructor(_options = {}) {
|
|
59
59
|
this._options = _options;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
@@ -74,7 +74,7 @@ class WorkspaceSecrets {
|
|
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
75
75
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
76
76
|
method: "GET",
|
|
77
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
77
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.6", "User-Agent": "vellum-ai/0.14.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
requestType: "json",
|
|
80
80
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -127,7 +127,7 @@ class WorkspaceSecrets {
|
|
|
127
127
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
128
128
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
129
129
|
method: "PATCH",
|
|
130
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
130
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.6", "User-Agent": "vellum-ai/0.14.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
131
131
|
contentType: "application/json",
|
|
132
132
|
requestType: "json",
|
|
133
133
|
body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
|
|
@@ -9,7 +9,7 @@ export declare namespace Workspaces {
|
|
|
9
9
|
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
|
-
apiKey
|
|
12
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
13
13
|
}
|
|
14
14
|
interface RequestOptions {
|
|
15
15
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -24,7 +24,7 @@ export declare namespace Workspaces {
|
|
|
24
24
|
}
|
|
25
25
|
export declare class Workspaces {
|
|
26
26
|
protected readonly _options: Workspaces.Options;
|
|
27
|
-
constructor(_options
|
|
27
|
+
constructor(_options?: Workspaces.Options);
|
|
28
28
|
/**
|
|
29
29
|
* Retrieves information about the active Workspace
|
|
30
30
|
*
|
|
@@ -35,6 +35,6 @@ export declare class Workspaces {
|
|
|
35
35
|
*/
|
|
36
36
|
workspaceIdentity(requestOptions?: Workspaces.RequestOptions): Promise<Vellum.WorkspaceRead>;
|
|
37
37
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
38
|
-
X_API_KEY: string;
|
|
38
|
+
X_API_KEY: string | undefined;
|
|
39
39
|
}>;
|
|
40
40
|
}
|
|
@@ -55,7 +55,7 @@ const url_join_1 = __importDefault(require("url-join"));
|
|
|
55
55
|
const serializers = __importStar(require("../../../../serialization/index"));
|
|
56
56
|
const errors = __importStar(require("../../../../errors/index"));
|
|
57
57
|
class Workspaces {
|
|
58
|
-
constructor(_options) {
|
|
58
|
+
constructor(_options = {}) {
|
|
59
59
|
this._options = _options;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
@@ -73,7 +73,7 @@ class Workspaces {
|
|
|
73
73
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
74
74
|
.default, "v1/workspaces/identity"),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
76
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.6", "User-Agent": "vellum-ai/0.14.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
requestType: "json",
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -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 PaginatedWorkflowSandboxExampleList {
|
|
6
|
+
count?: number;
|
|
7
|
+
next?: string;
|
|
8
|
+
previous?: string;
|
|
9
|
+
results?: Vellum.WorkflowSandboxExample[];
|
|
10
|
+
}
|
|
@@ -251,6 +251,7 @@ export * from "./PaginatedSlimWorkflowDeploymentList";
|
|
|
251
251
|
export * from "./PaginatedTestSuiteRunExecutionList";
|
|
252
252
|
export * from "./PaginatedTestSuiteTestCaseList";
|
|
253
253
|
export * from "./PaginatedWorkflowReleaseTagReadList";
|
|
254
|
+
export * from "./PaginatedWorkflowSandboxExampleList";
|
|
254
255
|
export * from "./PdfSearchResultMetaSource";
|
|
255
256
|
export * from "./PdfSearchResultMetaSourceRequest";
|
|
256
257
|
export * from "./PlainTextPromptBlock";
|
|
@@ -489,6 +490,7 @@ export * from "./WorkflowResultEventOutputDataJson";
|
|
|
489
490
|
export * from "./WorkflowResultEventOutputDataNumber";
|
|
490
491
|
export * from "./WorkflowResultEventOutputDataSearchResults";
|
|
491
492
|
export * from "./WorkflowResultEventOutputDataString";
|
|
493
|
+
export * from "./WorkflowSandboxExample";
|
|
492
494
|
export * from "./WorkflowStreamEvent";
|
|
493
495
|
export * from "./WorkspaceRead";
|
|
494
496
|
export * from "./WorkspaceSecretRead";
|
package/dist/api/types/index.js
CHANGED
|
@@ -267,6 +267,7 @@ __exportStar(require("./PaginatedSlimWorkflowDeploymentList"), exports);
|
|
|
267
267
|
__exportStar(require("./PaginatedTestSuiteRunExecutionList"), exports);
|
|
268
268
|
__exportStar(require("./PaginatedTestSuiteTestCaseList"), exports);
|
|
269
269
|
__exportStar(require("./PaginatedWorkflowReleaseTagReadList"), exports);
|
|
270
|
+
__exportStar(require("./PaginatedWorkflowSandboxExampleList"), exports);
|
|
270
271
|
__exportStar(require("./PdfSearchResultMetaSource"), exports);
|
|
271
272
|
__exportStar(require("./PdfSearchResultMetaSourceRequest"), exports);
|
|
272
273
|
__exportStar(require("./PlainTextPromptBlock"), exports);
|
|
@@ -505,6 +506,7 @@ __exportStar(require("./WorkflowResultEventOutputDataJson"), exports);
|
|
|
505
506
|
__exportStar(require("./WorkflowResultEventOutputDataNumber"), exports);
|
|
506
507
|
__exportStar(require("./WorkflowResultEventOutputDataSearchResults"), exports);
|
|
507
508
|
__exportStar(require("./WorkflowResultEventOutputDataString"), exports);
|
|
509
|
+
__exportStar(require("./WorkflowSandboxExample"), exports);
|
|
508
510
|
__exportStar(require("./WorkflowStreamEvent"), exports);
|
|
509
511
|
__exportStar(require("./WorkspaceRead"), exports);
|
|
510
512
|
__exportStar(require("./WorkspaceSecretRead"), 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 workflowSandboxes from "./workflowSandboxes";
|
|
10
|
+
export * from "./workflowSandboxes/types";
|
|
9
11
|
export * as workflows from "./workflows";
|
|
10
12
|
export * from "./workflows/types";
|
|
11
13
|
export * as testSuites from "./testSuites";
|
|
@@ -25,7 +27,6 @@ export * from "./sandboxes/client/requests";
|
|
|
25
27
|
export * as testSuiteRuns from "./testSuiteRuns";
|
|
26
28
|
export * from "./testSuiteRuns/client/requests";
|
|
27
29
|
export * from "./workflowDeployments/client/requests";
|
|
28
|
-
export * as workflowSandboxes from "./workflowSandboxes";
|
|
29
30
|
export * from "./workflowSandboxes/client/requests";
|
|
30
31
|
export * as workspaceSecrets from "./workspaceSecrets";
|
|
31
32
|
export * from "./workspaceSecrets/client/requests";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.workspaceSecrets = exports.
|
|
39
|
+
exports.workspaceSecrets = exports.testSuiteRuns = exports.sandboxes = exports.metricDefinitions = exports.documents = exports.containerImages = exports.adHoc = exports.testSuites = exports.workflows = exports.workflowSandboxes = exports.workflowDeployments = exports.folderEntities = exports.documentIndexes = exports.deployments = void 0;
|
|
40
40
|
exports.deployments = __importStar(require("./deployments"));
|
|
41
41
|
__exportStar(require("./deployments/types"), exports);
|
|
42
42
|
exports.documentIndexes = __importStar(require("./documentIndexes"));
|
|
@@ -45,6 +45,8 @@ exports.folderEntities = __importStar(require("./folderEntities"));
|
|
|
45
45
|
__exportStar(require("./folderEntities/types"), exports);
|
|
46
46
|
exports.workflowDeployments = __importStar(require("./workflowDeployments"));
|
|
47
47
|
__exportStar(require("./workflowDeployments/types"), exports);
|
|
48
|
+
exports.workflowSandboxes = __importStar(require("./workflowSandboxes"));
|
|
49
|
+
__exportStar(require("./workflowSandboxes/types"), exports);
|
|
48
50
|
exports.workflows = __importStar(require("./workflows"));
|
|
49
51
|
__exportStar(require("./workflows/types"), exports);
|
|
50
52
|
exports.testSuites = __importStar(require("./testSuites"));
|
|
@@ -64,7 +66,6 @@ __exportStar(require("./sandboxes/client/requests"), exports);
|
|
|
64
66
|
exports.testSuiteRuns = __importStar(require("./testSuiteRuns"));
|
|
65
67
|
__exportStar(require("./testSuiteRuns/client/requests"), exports);
|
|
66
68
|
__exportStar(require("./workflowDeployments/client/requests"), exports);
|
|
67
|
-
exports.workflowSandboxes = __importStar(require("./workflowSandboxes"));
|
|
68
69
|
__exportStar(require("./workflowSandboxes/client/requests"), exports);
|
|
69
70
|
exports.workspaceSecrets = __importStar(require("./workspaceSecrets"));
|
|
70
71
|
__exportStar(require("./workspaceSecrets/client/requests"), 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);
|
|
@@ -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 ListWorkflowSandboxExamplesRequestTag: core.serialization.Schema<serializers.ListWorkflowSandboxExamplesRequestTag.Raw, Vellum.ListWorkflowSandboxExamplesRequestTag>;
|
|
8
|
+
export declare namespace ListWorkflowSandboxExamplesRequestTag {
|
|
9
|
+
type Raw = "ONBOARDING" | "TEMPLATES";
|
|
10
|
+
}
|