vellum-ai 0.12.16 → 0.13.0
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 +44 -78
- package/.mock/definition/organizations.yml +29 -0
- package/.mock/definition/workspaces.yml +29 -0
- package/.mock/openapi/openapi.yml +84 -148
- package/Client.d.ts +9 -3
- package/Client.js +35 -25
- 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 -0
- package/api/resources/index.js +3 -1
- 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 +36 -0
- package/api/resources/organizations/client/Client.js +109 -0
- package/api/resources/organizations/client/index.d.ts +1 -0
- package/api/resources/organizations/client/index.js +2 -0
- package/api/resources/organizations/index.d.ts +1 -0
- package/api/resources/organizations/index.js +17 -0
- 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 +3 -3
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- 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 +36 -0
- package/api/resources/workspaces/client/Client.js +109 -0
- package/api/resources/workspaces/client/index.d.ts +1 -0
- package/api/resources/workspaces/client/index.js +2 -0
- package/api/resources/workspaces/index.d.ts +1 -0
- package/api/resources/workspaces/index.js +17 -0
- package/api/types/NewMemberJoinBehaviorEnum.d.ts +14 -0
- package/api/types/NewMemberJoinBehaviorEnum.js +11 -0
- package/api/types/OrganizationRead.d.ts +10 -0
- package/api/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
- package/api/types/WorkspaceRead.d.ts +10 -0
- package/api/types/index.d.ts +3 -11
- package/api/types/index.js +3 -11
- package/dist/Client.d.ts +9 -3
- package/dist/Client.js +35 -25
- 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 -0
- package/dist/api/resources/index.js +3 -1
- 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 +36 -0
- package/dist/api/resources/organizations/client/Client.js +109 -0
- package/dist/api/resources/organizations/client/index.d.ts +1 -0
- package/dist/api/resources/organizations/client/index.js +2 -0
- package/dist/api/resources/organizations/index.d.ts +1 -0
- package/dist/api/resources/organizations/index.js +17 -0
- 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 +3 -3
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- 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 +36 -0
- package/dist/api/resources/workspaces/client/Client.js +109 -0
- package/dist/api/resources/workspaces/client/index.d.ts +1 -0
- package/dist/api/resources/workspaces/client/index.js +2 -0
- package/dist/api/resources/workspaces/index.d.ts +1 -0
- package/dist/api/resources/workspaces/index.js +17 -0
- package/dist/api/types/NewMemberJoinBehaviorEnum.d.ts +14 -0
- package/dist/api/types/NewMemberJoinBehaviorEnum.js +11 -0
- package/dist/api/types/OrganizationRead.d.ts +10 -0
- package/dist/api/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
- package/dist/api/types/WorkspaceRead.d.ts +10 -0
- package/dist/api/types/index.d.ts +3 -11
- package/dist/api/types/index.js +3 -11
- package/dist/serialization/types/NewMemberJoinBehaviorEnum.d.ts +10 -0
- package/dist/serialization/types/{JsonVariableValue.js → NewMemberJoinBehaviorEnum.js} +6 -5
- package/dist/serialization/types/OrganizationRead.d.ts +16 -0
- package/dist/serialization/types/{ArrayVariableValue.js → OrganizationRead.js} +7 -5
- package/dist/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
- package/dist/serialization/types/WorkflowResultEventOutputDataArray.js +1 -1
- package/dist/serialization/types/WorkspaceRead.d.ts +15 -0
- package/dist/serialization/types/{StringVariableValue.js → WorkspaceRead.js} +6 -4
- package/dist/serialization/types/index.d.ts +3 -11
- package/dist/serialization/types/index.js +3 -11
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +114 -0
- package/serialization/types/NewMemberJoinBehaviorEnum.d.ts +10 -0
- package/{dist/serialization/types/NumberVariableValue.js → serialization/types/NewMemberJoinBehaviorEnum.js} +6 -5
- package/serialization/types/OrganizationRead.d.ts +16 -0
- package/{dist/serialization/types/ChatHistoryVariableValue.js → serialization/types/OrganizationRead.js} +7 -5
- package/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
- package/serialization/types/WorkflowResultEventOutputDataArray.js +1 -1
- package/serialization/types/WorkspaceRead.d.ts +15 -0
- package/serialization/types/{JsonVariableValue.js → WorkspaceRead.js} +6 -4
- package/serialization/types/index.d.ts +3 -11
- package/serialization/types/index.js +3 -11
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/ArrayVariableValue.d.ts +0 -8
- package/api/types/ArrayVariableValueItem.d.ts +0 -5
- package/api/types/AudioVariableValue.d.ts +0 -11
- package/api/types/ChatHistoryVariableValue.d.ts +0 -8
- package/api/types/ErrorVariableValue.d.ts +0 -8
- package/api/types/ErrorVariableValue.js +0 -5
- package/api/types/FunctionCallVariableValue.d.ts +0 -8
- package/api/types/FunctionCallVariableValue.js +0 -5
- package/api/types/ImageVariableValue.d.ts +0 -11
- package/api/types/ImageVariableValue.js +0 -5
- package/api/types/JsonVariableValue.d.ts +0 -7
- package/api/types/JsonVariableValue.js +0 -5
- package/api/types/NumberVariableValue.d.ts +0 -7
- package/api/types/NumberVariableValue.js +0 -5
- package/api/types/SearchResultsVariableValue.d.ts +0 -8
- package/api/types/SearchResultsVariableValue.js +0 -5
- package/api/types/StringVariableValue.d.ts +0 -7
- package/api/types/StringVariableValue.js +0 -5
- package/dist/api/types/ArrayVariableValue.d.ts +0 -8
- package/dist/api/types/ArrayVariableValue.js +0 -5
- package/dist/api/types/ArrayVariableValueItem.d.ts +0 -5
- package/dist/api/types/ArrayVariableValueItem.js +0 -5
- package/dist/api/types/AudioVariableValue.d.ts +0 -11
- package/dist/api/types/AudioVariableValue.js +0 -5
- package/dist/api/types/ChatHistoryVariableValue.d.ts +0 -8
- package/dist/api/types/ChatHistoryVariableValue.js +0 -5
- package/dist/api/types/ErrorVariableValue.d.ts +0 -8
- package/dist/api/types/ErrorVariableValue.js +0 -5
- package/dist/api/types/FunctionCallVariableValue.d.ts +0 -8
- package/dist/api/types/FunctionCallVariableValue.js +0 -5
- package/dist/api/types/ImageVariableValue.d.ts +0 -11
- package/dist/api/types/ImageVariableValue.js +0 -5
- package/dist/api/types/JsonVariableValue.d.ts +0 -7
- package/dist/api/types/JsonVariableValue.js +0 -5
- package/dist/api/types/NumberVariableValue.d.ts +0 -7
- package/dist/api/types/NumberVariableValue.js +0 -5
- package/dist/api/types/SearchResultsVariableValue.d.ts +0 -8
- package/dist/api/types/SearchResultsVariableValue.js +0 -5
- package/dist/api/types/StringVariableValue.d.ts +0 -7
- package/dist/api/types/StringVariableValue.js +0 -5
- package/dist/serialization/types/ArrayVariableValue.d.ts +0 -13
- package/dist/serialization/types/ArrayVariableValueItem.d.ts +0 -19
- package/dist/serialization/types/ArrayVariableValueItem.js +0 -52
- package/dist/serialization/types/AudioVariableValue.d.ts +0 -14
- package/dist/serialization/types/AudioVariableValue.js +0 -35
- package/dist/serialization/types/ChatHistoryVariableValue.d.ts +0 -14
- package/dist/serialization/types/ErrorVariableValue.d.ts +0 -14
- package/dist/serialization/types/ErrorVariableValue.js +0 -35
- package/dist/serialization/types/FunctionCallVariableValue.d.ts +0 -14
- package/dist/serialization/types/FunctionCallVariableValue.js +0 -35
- package/dist/serialization/types/ImageVariableValue.d.ts +0 -14
- package/dist/serialization/types/ImageVariableValue.js +0 -35
- package/dist/serialization/types/JsonVariableValue.d.ts +0 -13
- package/dist/serialization/types/NumberVariableValue.d.ts +0 -13
- package/dist/serialization/types/SearchResultsVariableValue.d.ts +0 -14
- package/dist/serialization/types/SearchResultsVariableValue.js +0 -35
- package/dist/serialization/types/StringVariableValue.d.ts +0 -13
- package/serialization/types/ArrayVariableValue.d.ts +0 -13
- package/serialization/types/ArrayVariableValue.js +0 -35
- package/serialization/types/ArrayVariableValueItem.d.ts +0 -19
- package/serialization/types/ArrayVariableValueItem.js +0 -52
- package/serialization/types/AudioVariableValue.d.ts +0 -14
- package/serialization/types/AudioVariableValue.js +0 -35
- package/serialization/types/ChatHistoryVariableValue.d.ts +0 -14
- package/serialization/types/ChatHistoryVariableValue.js +0 -35
- package/serialization/types/ErrorVariableValue.d.ts +0 -14
- package/serialization/types/ErrorVariableValue.js +0 -35
- package/serialization/types/FunctionCallVariableValue.d.ts +0 -14
- package/serialization/types/FunctionCallVariableValue.js +0 -35
- package/serialization/types/ImageVariableValue.d.ts +0 -14
- package/serialization/types/ImageVariableValue.js +0 -35
- package/serialization/types/JsonVariableValue.d.ts +0 -13
- package/serialization/types/NumberVariableValue.d.ts +0 -13
- package/serialization/types/NumberVariableValue.js +0 -34
- package/serialization/types/SearchResultsVariableValue.d.ts +0 -14
- package/serialization/types/SearchResultsVariableValue.js +0 -35
- package/serialization/types/StringVariableValue.d.ts +0 -13
- package/serialization/types/StringVariableValue.js +0 -34
- /package/api/types/{ArrayVariableValue.js → OrganizationRead.js} +0 -0
- /package/api/types/{ArrayVariableValueItem.js → WorkspaceRead.js} +0 -0
- /package/{api/types/AudioVariableValue.js → dist/api/types/OrganizationRead.js} +0 -0
- /package/{api/types/ChatHistoryVariableValue.js → dist/api/types/WorkspaceRead.js} +0 -0
|
@@ -45,7 +45,7 @@ const url_join_1 = __importDefault(require("url-join"));
|
|
|
45
45
|
const serializers = __importStar(require("../../../../serialization/index"));
|
|
46
46
|
const errors = __importStar(require("../../../../errors/index"));
|
|
47
47
|
class WorkflowDeployments {
|
|
48
|
-
constructor(_options) {
|
|
48
|
+
constructor(_options = {}) {
|
|
49
49
|
this._options = _options;
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
@@ -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.
|
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "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.
|
|
134
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "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)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
|
|
186
186
|
method: "GET",
|
|
187
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.
|
|
187
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "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,
|
|
@@ -251,7 +251,7 @@ class WorkflowDeployments {
|
|
|
251
251
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
252
252
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
|
|
253
253
|
method: "GET",
|
|
254
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.
|
|
254
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
255
255
|
contentType: "application/json",
|
|
256
256
|
queryParameters: _queryParams,
|
|
257
257
|
requestType: "json",
|
|
@@ -305,7 +305,7 @@ class WorkflowDeployments {
|
|
|
305
305
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
306
306
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
307
307
|
method: "GET",
|
|
308
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.
|
|
308
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
309
309
|
contentType: "application/json",
|
|
310
310
|
requestType: "json",
|
|
311
311
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -359,7 +359,7 @@ class WorkflowDeployments {
|
|
|
359
359
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
360
360
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
361
361
|
method: "PATCH",
|
|
362
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.
|
|
362
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
363
363
|
contentType: "application/json",
|
|
364
364
|
requestType: "json",
|
|
365
365
|
body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -7,7 +7,7 @@ import * as Vellum from "../../../index";
|
|
|
7
7
|
export declare namespace WorkflowSandboxes {
|
|
8
8
|
interface Options {
|
|
9
9
|
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
10
|
-
apiKey
|
|
10
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
13
13
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -20,7 +20,7 @@ export declare namespace WorkflowSandboxes {
|
|
|
20
20
|
}
|
|
21
21
|
export declare class WorkflowSandboxes {
|
|
22
22
|
protected readonly _options: WorkflowSandboxes.Options;
|
|
23
|
-
constructor(_options
|
|
23
|
+
constructor(_options?: WorkflowSandboxes.Options);
|
|
24
24
|
/**
|
|
25
25
|
* @param {string} id - A UUID string identifying this workflow sandbox.
|
|
26
26
|
* @param {string} workflowId - An ID identifying the Workflow you'd like to deploy.
|
|
@@ -32,6 +32,6 @@ export declare class WorkflowSandboxes {
|
|
|
32
32
|
*/
|
|
33
33
|
deployWorkflow(id: string, workflowId: string, request?: Vellum.DeploySandboxWorkflowRequest, requestOptions?: WorkflowSandboxes.RequestOptions): Promise<Vellum.WorkflowDeploymentRead>;
|
|
34
34
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
35
|
-
X_API_KEY: string;
|
|
35
|
+
X_API_KEY: string | undefined;
|
|
36
36
|
}>;
|
|
37
37
|
}
|
|
@@ -45,7 +45,7 @@ const serializers = __importStar(require("../../../../serialization/index"));
|
|
|
45
45
|
const url_join_1 = __importDefault(require("url-join"));
|
|
46
46
|
const errors = __importStar(require("../../../../errors/index"));
|
|
47
47
|
class WorkflowSandboxes {
|
|
48
|
-
constructor(_options) {
|
|
48
|
+
constructor(_options = {}) {
|
|
49
49
|
this._options = _options;
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
@@ -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.
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "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" }),
|
|
@@ -11,7 +11,7 @@ import { Blob } from "buffer";
|
|
|
11
11
|
export declare namespace Workflows {
|
|
12
12
|
interface Options {
|
|
13
13
|
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
14
|
-
apiKey
|
|
14
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
15
15
|
}
|
|
16
16
|
interface RequestOptions {
|
|
17
17
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -24,7 +24,7 @@ export declare namespace Workflows {
|
|
|
24
24
|
}
|
|
25
25
|
export declare class Workflows {
|
|
26
26
|
protected readonly _options: Workflows.Options;
|
|
27
|
-
constructor(_options
|
|
27
|
+
constructor(_options?: Workflows.Options);
|
|
28
28
|
/**
|
|
29
29
|
* @throws {@link Vellum.BadRequestError}
|
|
30
30
|
*/
|
|
@@ -42,6 +42,6 @@ export declare class Workflows {
|
|
|
42
42
|
*/
|
|
43
43
|
push(artifact: File | fs.ReadStream | Blob | undefined, request: Vellum.WorkflowPushRequest, requestOptions?: Workflows.RequestOptions): Promise<Vellum.WorkflowPushResponse>;
|
|
44
44
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
45
|
-
X_API_KEY: string;
|
|
45
|
+
X_API_KEY: string | undefined;
|
|
46
46
|
}>;
|
|
47
47
|
}
|
|
@@ -46,7 +46,7 @@ const url_join_1 = __importDefault(require("url-join"));
|
|
|
46
46
|
const errors = __importStar(require("../../../../errors/index"));
|
|
47
47
|
const serializers = __importStar(require("../../../../serialization/index"));
|
|
48
48
|
class Workflows {
|
|
49
|
-
constructor(_options) {
|
|
49
|
+
constructor(_options = {}) {
|
|
50
50
|
this._options = _options;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
@@ -76,7 +76,7 @@ class Workflows {
|
|
|
76
76
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
77
77
|
.default, `v1/workflows/${encodeURIComponent(id)}/pull`),
|
|
78
78
|
method: "GET",
|
|
79
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.
|
|
79
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
80
80
|
contentType: "application/json",
|
|
81
81
|
queryParameters: _queryParams,
|
|
82
82
|
requestType: "json",
|
|
@@ -148,7 +148,7 @@ class Workflows {
|
|
|
148
148
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
149
149
|
.default, "v1/workflows/push"),
|
|
150
150
|
method: "POST",
|
|
151
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.
|
|
151
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
|
|
152
152
|
requestType: "file",
|
|
153
153
|
duplex: _maybeEncodedRequest.duplex,
|
|
154
154
|
body: _maybeEncodedRequest.body,
|
|
@@ -7,7 +7,7 @@ import * as Vellum from "../../../index";
|
|
|
7
7
|
export declare namespace WorkspaceSecrets {
|
|
8
8
|
interface Options {
|
|
9
9
|
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
10
|
-
apiKey
|
|
10
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
13
13
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -20,7 +20,7 @@ export declare namespace WorkspaceSecrets {
|
|
|
20
20
|
}
|
|
21
21
|
export declare class WorkspaceSecrets {
|
|
22
22
|
protected readonly _options: WorkspaceSecrets.Options;
|
|
23
|
-
constructor(_options
|
|
23
|
+
constructor(_options?: WorkspaceSecrets.Options);
|
|
24
24
|
/**
|
|
25
25
|
* Used to retrieve a Workspace Secret given its ID or name.
|
|
26
26
|
*
|
|
@@ -43,6 +43,6 @@ export declare class WorkspaceSecrets {
|
|
|
43
43
|
*/
|
|
44
44
|
partialUpdate(id: string, request?: Vellum.PatchedWorkspaceSecretUpdateRequest, requestOptions?: WorkspaceSecrets.RequestOptions): Promise<Vellum.WorkspaceSecretRead>;
|
|
45
45
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
46
|
-
X_API_KEY: string;
|
|
46
|
+
X_API_KEY: string | undefined;
|
|
47
47
|
}>;
|
|
48
48
|
}
|
|
@@ -45,7 +45,7 @@ const url_join_1 = __importDefault(require("url-join"));
|
|
|
45
45
|
const serializers = __importStar(require("../../../../serialization/index"));
|
|
46
46
|
const errors = __importStar(require("../../../../errors/index"));
|
|
47
47
|
class WorkspaceSecrets {
|
|
48
|
-
constructor(_options) {
|
|
48
|
+
constructor(_options = {}) {
|
|
49
49
|
this._options = _options;
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
@@ -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.
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "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.
|
|
120
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "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,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments";
|
|
5
|
+
import * as core from "../../../../core";
|
|
6
|
+
import * as Vellum from "../../../index";
|
|
7
|
+
export declare namespace Workspaces {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
10
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
11
|
+
}
|
|
12
|
+
interface RequestOptions {
|
|
13
|
+
/** The maximum time to wait for a response in seconds. */
|
|
14
|
+
timeoutInSeconds?: number;
|
|
15
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
16
|
+
maxRetries?: number;
|
|
17
|
+
/** A hook to abort the request. */
|
|
18
|
+
abortSignal?: AbortSignal;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare class Workspaces {
|
|
22
|
+
protected readonly _options: Workspaces.Options;
|
|
23
|
+
constructor(_options?: Workspaces.Options);
|
|
24
|
+
/**
|
|
25
|
+
* Retrieves information about the active Workspace
|
|
26
|
+
*
|
|
27
|
+
* @param {Workspaces.RequestOptions} requestOptions - Request-specific configuration.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* await client.workspaces.workspaceIdentity()
|
|
31
|
+
*/
|
|
32
|
+
workspaceIdentity(requestOptions?: Workspaces.RequestOptions): Promise<Vellum.WorkspaceRead>;
|
|
33
|
+
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
34
|
+
X_API_KEY: string | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
38
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.Workspaces = void 0;
|
|
42
|
+
const environments = __importStar(require("../../../../environments"));
|
|
43
|
+
const core = __importStar(require("../../../../core"));
|
|
44
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
45
|
+
const serializers = __importStar(require("../../../../serialization/index"));
|
|
46
|
+
const errors = __importStar(require("../../../../errors/index"));
|
|
47
|
+
class Workspaces {
|
|
48
|
+
constructor(_options = {}) {
|
|
49
|
+
this._options = _options;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Retrieves information about the active Workspace
|
|
53
|
+
*
|
|
54
|
+
* @param {Workspaces.RequestOptions} requestOptions - Request-specific configuration.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* await client.workspaces.workspaceIdentity()
|
|
58
|
+
*/
|
|
59
|
+
workspaceIdentity(requestOptions) {
|
|
60
|
+
var _a;
|
|
61
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
+
const _response = yield core.fetcher({
|
|
63
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
64
|
+
.default, "v1/workspaces/identity"),
|
|
65
|
+
method: "GET",
|
|
66
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
67
|
+
contentType: "application/json",
|
|
68
|
+
requestType: "json",
|
|
69
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
70
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
71
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
72
|
+
});
|
|
73
|
+
if (_response.ok) {
|
|
74
|
+
return serializers.WorkspaceRead.parseOrThrow(_response.body, {
|
|
75
|
+
unrecognizedObjectKeys: "passthrough",
|
|
76
|
+
allowUnrecognizedUnionMembers: true,
|
|
77
|
+
allowUnrecognizedEnumValues: true,
|
|
78
|
+
breadcrumbsPrefix: ["response"],
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
if (_response.error.reason === "status-code") {
|
|
82
|
+
throw new errors.VellumError({
|
|
83
|
+
statusCode: _response.error.statusCode,
|
|
84
|
+
body: _response.error.body,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
switch (_response.error.reason) {
|
|
88
|
+
case "non-json":
|
|
89
|
+
throw new errors.VellumError({
|
|
90
|
+
statusCode: _response.error.statusCode,
|
|
91
|
+
body: _response.error.rawBody,
|
|
92
|
+
});
|
|
93
|
+
case "timeout":
|
|
94
|
+
throw new errors.VellumTimeoutError();
|
|
95
|
+
case "unknown":
|
|
96
|
+
throw new errors.VellumError({
|
|
97
|
+
message: _response.error.errorMessage,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
_getCustomAuthorizationHeaders() {
|
|
103
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
104
|
+
const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
|
|
105
|
+
return { X_API_KEY: apiKeyValue };
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.Workspaces = Workspaces;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* - `AUTO_ACCEPT_FROM_SHARED_DOMAIN` - Auto-Accept from Shared Domain
|
|
6
|
+
* - `ALLOW_REQUESTS_FROM_SHARED_DOMAIN` - Allows Requests from Shared Domains
|
|
7
|
+
* - `REQUIRE_EXPLICIT_INVITE` - Require Explicit Invite
|
|
8
|
+
*/
|
|
9
|
+
export declare type NewMemberJoinBehaviorEnum = "AUTO_ACCEPT_FROM_SHARED_DOMAIN" | "ALLOW_REQUESTS_FROM_SHARED_DOMAIN" | "REQUIRE_EXPLICIT_INVITE";
|
|
10
|
+
export declare const NewMemberJoinBehaviorEnum: {
|
|
11
|
+
readonly AutoAcceptFromSharedDomain: "AUTO_ACCEPT_FROM_SHARED_DOMAIN";
|
|
12
|
+
readonly AllowRequestsFromSharedDomain: "ALLOW_REQUESTS_FROM_SHARED_DOMAIN";
|
|
13
|
+
readonly RequireExplicitInvite: "REQUIRE_EXPLICIT_INVITE";
|
|
14
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.NewMemberJoinBehaviorEnum = void 0;
|
|
7
|
+
exports.NewMemberJoinBehaviorEnum = {
|
|
8
|
+
AutoAcceptFromSharedDomain: "AUTO_ACCEPT_FROM_SHARED_DOMAIN",
|
|
9
|
+
AllowRequestsFromSharedDomain: "ALLOW_REQUESTS_FROM_SHARED_DOMAIN",
|
|
10
|
+
RequireExplicitInvite: "REQUIRE_EXPLICIT_INVITE",
|
|
11
|
+
};
|
|
@@ -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 OrganizationRead {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
allowStaffAccess?: boolean;
|
|
9
|
+
newMemberJoinBehavior: Vellum.NewMemberJoinBehaviorEnum;
|
|
10
|
+
}
|
|
@@ -13,5 +13,5 @@ export interface WorkflowResultEventOutputDataArray {
|
|
|
13
13
|
/** The newly output string value. Only relevant for string outputs with a state of STREAMING. */
|
|
14
14
|
delta?: string;
|
|
15
15
|
type: "ARRAY";
|
|
16
|
-
value?: Vellum.
|
|
16
|
+
value?: Vellum.VellumValue[];
|
|
17
17
|
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -12,14 +12,11 @@ export * from "./ArrayChatMessageContentItem";
|
|
|
12
12
|
export * from "./ArrayChatMessageContentItemRequest";
|
|
13
13
|
export * from "./ArrayChatMessageContentRequest";
|
|
14
14
|
export * from "./ArrayInput";
|
|
15
|
-
export * from "./ArrayVariableValue";
|
|
16
|
-
export * from "./ArrayVariableValueItem";
|
|
17
15
|
export * from "./ArrayVellumValue";
|
|
18
16
|
export * from "./ArrayVellumValueRequest";
|
|
19
17
|
export * from "./AudioChatMessageContent";
|
|
20
18
|
export * from "./AudioChatMessageContentRequest";
|
|
21
19
|
export * from "./AudioPromptBlock";
|
|
22
|
-
export * from "./AudioVariableValue";
|
|
23
20
|
export * from "./AudioVellumValue";
|
|
24
21
|
export * from "./AudioVellumValueRequest";
|
|
25
22
|
export * from "./BasicVectorizerIntfloatMultilingualE5Large";
|
|
@@ -30,7 +27,6 @@ export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1";
|
|
|
30
27
|
export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request";
|
|
31
28
|
export * from "./ChatHistoryInput";
|
|
32
29
|
export * from "./ChatHistoryInputRequest";
|
|
33
|
-
export * from "./ChatHistoryVariableValue";
|
|
34
30
|
export * from "./ChatHistoryVellumValue";
|
|
35
31
|
export * from "./ChatHistoryVellumValueRequest";
|
|
36
32
|
export * from "./ChatMessage";
|
|
@@ -85,7 +81,6 @@ export * from "./EnvironmentEnum";
|
|
|
85
81
|
export * from "./EphemeralPromptCacheConfig";
|
|
86
82
|
export * from "./EphemeralPromptCacheConfigTypeEnum";
|
|
87
83
|
export * from "./ErrorInput";
|
|
88
|
-
export * from "./ErrorVariableValue";
|
|
89
84
|
export * from "./ErrorVellumValue";
|
|
90
85
|
export * from "./ErrorVellumValueRequest";
|
|
91
86
|
export * from "./ExecutePromptEvent";
|
|
@@ -129,7 +124,6 @@ export * from "./FunctionCallChatMessageContentValueRequest";
|
|
|
129
124
|
export * from "./FunctionCallInput";
|
|
130
125
|
export * from "./FunctionCallPromptBlock";
|
|
131
126
|
export * from "./FunctionCallRequest";
|
|
132
|
-
export * from "./FunctionCallVariableValue";
|
|
133
127
|
export * from "./FunctionCallVellumValue";
|
|
134
128
|
export * from "./FunctionCallVellumValueRequest";
|
|
135
129
|
export * from "./FunctionDefinition";
|
|
@@ -153,7 +147,6 @@ export * from "./HkunlpInstructorXlVectorizerRequest";
|
|
|
153
147
|
export * from "./ImageChatMessageContent";
|
|
154
148
|
export * from "./ImageChatMessageContentRequest";
|
|
155
149
|
export * from "./ImagePromptBlock";
|
|
156
|
-
export * from "./ImageVariableValue";
|
|
157
150
|
export * from "./ImageVellumValue";
|
|
158
151
|
export * from "./ImageVellumValueRequest";
|
|
159
152
|
export * from "./IndexingConfigVectorizer";
|
|
@@ -169,7 +162,6 @@ export * from "./IterationStateEnum";
|
|
|
169
162
|
export * from "./JsonInput";
|
|
170
163
|
export * from "./JsonInputRequest";
|
|
171
164
|
export * from "./JinjaPromptBlock";
|
|
172
|
-
export * from "./JsonVariableValue";
|
|
173
165
|
export * from "./JsonVellumValue";
|
|
174
166
|
export * from "./JsonVellumValueRequest";
|
|
175
167
|
export * from "./LogicalOperator";
|
|
@@ -210,6 +202,7 @@ export * from "./NamedTestCaseStringVariableValue";
|
|
|
210
202
|
export * from "./NamedTestCaseStringVariableValueRequest";
|
|
211
203
|
export * from "./NamedTestCaseVariableValue";
|
|
212
204
|
export * from "./NamedTestCaseVariableValueRequest";
|
|
205
|
+
export * from "./NewMemberJoinBehaviorEnum";
|
|
213
206
|
export * from "./NodeInputCompiledArrayValue";
|
|
214
207
|
export * from "./NodeInputCompiledChatHistoryValue";
|
|
215
208
|
export * from "./NodeInputCompiledErrorValue";
|
|
@@ -231,7 +224,6 @@ export * from "./NodeOutputCompiledValue";
|
|
|
231
224
|
export * from "./NormalizedLogProbs";
|
|
232
225
|
export * from "./NormalizedTokenLogProbs";
|
|
233
226
|
export * from "./NumberInput";
|
|
234
|
-
export * from "./NumberVariableValue";
|
|
235
227
|
export * from "./NumberVellumValue";
|
|
236
228
|
export * from "./NumberVellumValueRequest";
|
|
237
229
|
export * from "./OpenAiVectorizerConfig";
|
|
@@ -242,6 +234,7 @@ export * from "./OpenAiVectorizerTextEmbedding3Small";
|
|
|
242
234
|
export * from "./OpenAiVectorizerTextEmbedding3SmallRequest";
|
|
243
235
|
export * from "./OpenAiVectorizerTextEmbeddingAda002";
|
|
244
236
|
export * from "./OpenAiVectorizerTextEmbeddingAda002Request";
|
|
237
|
+
export * from "./OrganizationRead";
|
|
245
238
|
export * from "./PaginatedContainerImageReadList";
|
|
246
239
|
export * from "./PaginatedDeploymentReleaseTagReadList";
|
|
247
240
|
export * from "./PaginatedDocumentIndexReadList";
|
|
@@ -307,7 +300,6 @@ export * from "./ComponentsSchemasPdfSearchResultMetaSource";
|
|
|
307
300
|
export * from "./ComponentsSchemasPdfSearchResultMetaSourceRequest";
|
|
308
301
|
export * from "./SearchResultRequest";
|
|
309
302
|
export * from "./SearchResultsInput";
|
|
310
|
-
export * from "./SearchResultsVariableValue";
|
|
311
303
|
export * from "./SearchResultsVellumValue";
|
|
312
304
|
export * from "./SearchResultsVellumValueRequest";
|
|
313
305
|
export * from "./SearchWeightsRequest";
|
|
@@ -328,7 +320,6 @@ export * from "./StringChatMessageContent";
|
|
|
328
320
|
export * from "./StringChatMessageContentRequest";
|
|
329
321
|
export * from "./StringInput";
|
|
330
322
|
export * from "./StringInputRequest";
|
|
331
|
-
export * from "./StringVariableValue";
|
|
332
323
|
export * from "./StringVellumValue";
|
|
333
324
|
export * from "./StringVellumValueRequest";
|
|
334
325
|
export * from "./SubmitCompletionActualRequest";
|
|
@@ -492,4 +483,5 @@ export * from "./WorkflowResultEventOutputDataNumber";
|
|
|
492
483
|
export * from "./WorkflowResultEventOutputDataSearchResults";
|
|
493
484
|
export * from "./WorkflowResultEventOutputDataString";
|
|
494
485
|
export * from "./WorkflowStreamEvent";
|
|
486
|
+
export * from "./WorkspaceRead";
|
|
495
487
|
export * from "./WorkspaceSecretRead";
|