vellum-ai 0.14.73 → 0.14.75
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.js +11 -11
- package/api/resources/adHoc/client/Client.js +2 -2
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +8 -8
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/metricDefinitions/client/Client.js +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/organizations/client/Client.js +1 -1
- package/api/resources/prompts/client/Client.js +2 -2
- package/api/resources/prompts/client/requests/PromptPush.d.ts +4 -1
- package/api/resources/releaseReviews/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +8 -8
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
- package/api/types/DocumentIndexRead.d.ts +2 -2
- package/api/types/DocumentRead.d.ts +1 -1
- package/api/types/MetricDefinitionHistoryItem.d.ts +2 -2
- package/api/types/MlModelRead.d.ts +1 -1
- package/api/types/PromptDeploymentRelease.d.ts +2 -2
- package/api/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
- package/api/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
- package/api/types/ReleaseCreatedBy.d.ts +1 -1
- package/api/types/ReleaseEnvironment.d.ts +1 -1
- package/api/types/ReleaseReviewReviewer.d.ts +1 -1
- package/api/types/SecretTypeEnum.d.ts +3 -1
- package/api/types/SecretTypeEnum.js +1 -0
- package/api/types/SlimDocument.d.ts +1 -1
- package/api/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
- package/api/types/SlimReleaseReview.d.ts +2 -2
- package/api/types/SlimWorkflowDeployment.d.ts +2 -2
- package/api/types/TestCaseArrayVariableValue.d.ts +1 -1
- package/api/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
- package/api/types/TestCaseErrorVariableValue.d.ts +1 -1
- package/api/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
- package/api/types/TestCaseJsonVariableValue.d.ts +1 -1
- package/api/types/TestCaseNumberVariableValue.d.ts +1 -1
- package/api/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
- package/api/types/TestCaseStringVariableValue.d.ts +1 -1
- package/api/types/TestSuiteRunRead.d.ts +2 -2
- package/api/types/WorkflowDeploymentRead.d.ts +2 -2
- package/api/types/WorkflowDeploymentRelease.d.ts +2 -2
- package/api/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
- package/api/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
- package/api/types/WorkflowSandboxExample.d.ts +1 -1
- package/api/types/WorkspaceRead.d.ts +3 -3
- package/api/types/WorkspaceSecretRead.d.ts +2 -2
- package/dist/Client.js +11 -11
- package/dist/api/resources/adHoc/client/Client.js +2 -2
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +8 -8
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/prompts/client/Client.js +2 -2
- package/dist/api/resources/prompts/client/requests/PromptPush.d.ts +4 -1
- package/dist/api/resources/releaseReviews/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
- package/dist/api/types/DocumentIndexRead.d.ts +2 -2
- package/dist/api/types/DocumentRead.d.ts +1 -1
- package/dist/api/types/MetricDefinitionHistoryItem.d.ts +2 -2
- package/dist/api/types/MlModelRead.d.ts +1 -1
- package/dist/api/types/PromptDeploymentRelease.d.ts +2 -2
- package/dist/api/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
- package/dist/api/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
- package/dist/api/types/ReleaseCreatedBy.d.ts +1 -1
- package/dist/api/types/ReleaseEnvironment.d.ts +1 -1
- package/dist/api/types/ReleaseReviewReviewer.d.ts +1 -1
- package/dist/api/types/SecretTypeEnum.d.ts +3 -1
- package/dist/api/types/SecretTypeEnum.js +1 -0
- package/dist/api/types/SlimDocument.d.ts +1 -1
- package/dist/api/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
- package/dist/api/types/SlimReleaseReview.d.ts +2 -2
- package/dist/api/types/SlimWorkflowDeployment.d.ts +2 -2
- package/dist/api/types/TestCaseArrayVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseErrorVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseJsonVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseNumberVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseStringVariableValue.d.ts +1 -1
- package/dist/api/types/TestSuiteRunRead.d.ts +2 -2
- package/dist/api/types/WorkflowDeploymentRead.d.ts +2 -2
- package/dist/api/types/WorkflowDeploymentRelease.d.ts +2 -2
- package/dist/api/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
- package/dist/api/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
- package/dist/api/types/WorkflowSandboxExample.d.ts +1 -1
- package/dist/api/types/WorkspaceRead.d.ts +3 -3
- package/dist/api/types/WorkspaceSecretRead.d.ts +2 -2
- package/dist/serialization/resources/prompts/client/requests/PromptPush.d.ts +2 -1
- package/dist/serialization/resources/prompts/client/requests/PromptPush.js +2 -1
- package/dist/serialization/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
- package/dist/serialization/types/DocumentDocumentToDocumentIndex.js +3 -3
- package/dist/serialization/types/DocumentIndexRead.d.ts +2 -2
- package/dist/serialization/types/DocumentIndexRead.js +2 -2
- package/dist/serialization/types/DocumentRead.d.ts +1 -1
- package/dist/serialization/types/DocumentRead.js +1 -1
- package/dist/serialization/types/MetricDefinitionHistoryItem.d.ts +2 -2
- package/dist/serialization/types/MetricDefinitionHistoryItem.js +2 -2
- package/dist/serialization/types/MlModelRead.d.ts +1 -1
- package/dist/serialization/types/MlModelRead.js +1 -1
- package/dist/serialization/types/PromptDeploymentRelease.d.ts +2 -2
- package/dist/serialization/types/PromptDeploymentRelease.js +2 -2
- package/dist/serialization/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
- package/dist/serialization/types/PromptDeploymentReleasePromptDeployment.js +1 -1
- package/dist/serialization/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
- package/dist/serialization/types/PromptDeploymentReleasePromptVersion.js +2 -2
- package/dist/serialization/types/ReleaseCreatedBy.d.ts +1 -1
- package/dist/serialization/types/ReleaseCreatedBy.js +1 -1
- package/dist/serialization/types/ReleaseEnvironment.d.ts +1 -1
- package/dist/serialization/types/ReleaseEnvironment.js +1 -1
- package/dist/serialization/types/ReleaseReviewReviewer.d.ts +1 -1
- package/dist/serialization/types/ReleaseReviewReviewer.js +1 -1
- package/dist/serialization/types/SecretTypeEnum.d.ts +1 -1
- package/dist/serialization/types/SecretTypeEnum.js +1 -1
- package/dist/serialization/types/SlimDocument.d.ts +1 -1
- package/dist/serialization/types/SlimDocument.js +1 -1
- package/dist/serialization/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
- package/dist/serialization/types/SlimDocumentDocumentToDocumentIndex.js +3 -3
- package/dist/serialization/types/SlimReleaseReview.d.ts +2 -2
- package/dist/serialization/types/SlimReleaseReview.js +2 -2
- package/dist/serialization/types/SlimWorkflowDeployment.d.ts +2 -2
- package/dist/serialization/types/SlimWorkflowDeployment.js +2 -2
- package/dist/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseArrayVariableValue.js +1 -1
- package/dist/serialization/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseChatHistoryVariableValue.js +1 -1
- package/dist/serialization/types/TestCaseErrorVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseErrorVariableValue.js +1 -1
- package/dist/serialization/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseFunctionCallVariableValue.js +1 -1
- package/dist/serialization/types/TestCaseJsonVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseJsonVariableValue.js +1 -1
- package/dist/serialization/types/TestCaseNumberVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseNumberVariableValue.js +1 -1
- package/dist/serialization/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseSearchResultsVariableValue.js +1 -1
- package/dist/serialization/types/TestCaseStringVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseStringVariableValue.js +1 -1
- package/dist/serialization/types/TestSuiteRunRead.d.ts +2 -2
- package/dist/serialization/types/TestSuiteRunRead.js +2 -2
- package/dist/serialization/types/WorkflowDeploymentRead.d.ts +2 -2
- package/dist/serialization/types/WorkflowDeploymentRead.js +2 -2
- package/dist/serialization/types/WorkflowDeploymentRelease.d.ts +2 -2
- package/dist/serialization/types/WorkflowDeploymentRelease.js +2 -2
- package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
- package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.js +1 -1
- package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
- package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.js +3 -3
- package/dist/serialization/types/WorkflowSandboxExample.d.ts +1 -1
- package/dist/serialization/types/WorkflowSandboxExample.js +1 -1
- package/dist/serialization/types/WorkspaceRead.d.ts +3 -3
- package/dist/serialization/types/WorkspaceRead.js +3 -3
- package/dist/serialization/types/WorkspaceSecretRead.d.ts +2 -2
- package/dist/serialization/types/WorkspaceSecretRead.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/prompts/client/requests/PromptPush.d.ts +2 -1
- package/serialization/resources/prompts/client/requests/PromptPush.js +2 -1
- package/serialization/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
- package/serialization/types/DocumentDocumentToDocumentIndex.js +3 -3
- package/serialization/types/DocumentIndexRead.d.ts +2 -2
- package/serialization/types/DocumentIndexRead.js +2 -2
- package/serialization/types/DocumentRead.d.ts +1 -1
- package/serialization/types/DocumentRead.js +1 -1
- package/serialization/types/MetricDefinitionHistoryItem.d.ts +2 -2
- package/serialization/types/MetricDefinitionHistoryItem.js +2 -2
- package/serialization/types/MlModelRead.d.ts +1 -1
- package/serialization/types/MlModelRead.js +1 -1
- package/serialization/types/PromptDeploymentRelease.d.ts +2 -2
- package/serialization/types/PromptDeploymentRelease.js +2 -2
- package/serialization/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
- package/serialization/types/PromptDeploymentReleasePromptDeployment.js +1 -1
- package/serialization/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
- package/serialization/types/PromptDeploymentReleasePromptVersion.js +2 -2
- package/serialization/types/ReleaseCreatedBy.d.ts +1 -1
- package/serialization/types/ReleaseCreatedBy.js +1 -1
- package/serialization/types/ReleaseEnvironment.d.ts +1 -1
- package/serialization/types/ReleaseEnvironment.js +1 -1
- package/serialization/types/ReleaseReviewReviewer.d.ts +1 -1
- package/serialization/types/ReleaseReviewReviewer.js +1 -1
- package/serialization/types/SecretTypeEnum.d.ts +1 -1
- package/serialization/types/SecretTypeEnum.js +1 -1
- package/serialization/types/SlimDocument.d.ts +1 -1
- package/serialization/types/SlimDocument.js +1 -1
- package/serialization/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
- package/serialization/types/SlimDocumentDocumentToDocumentIndex.js +3 -3
- package/serialization/types/SlimReleaseReview.d.ts +2 -2
- package/serialization/types/SlimReleaseReview.js +2 -2
- package/serialization/types/SlimWorkflowDeployment.d.ts +2 -2
- package/serialization/types/SlimWorkflowDeployment.js +2 -2
- package/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseArrayVariableValue.js +1 -1
- package/serialization/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseChatHistoryVariableValue.js +1 -1
- package/serialization/types/TestCaseErrorVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseErrorVariableValue.js +1 -1
- package/serialization/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseFunctionCallVariableValue.js +1 -1
- package/serialization/types/TestCaseJsonVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseJsonVariableValue.js +1 -1
- package/serialization/types/TestCaseNumberVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseNumberVariableValue.js +1 -1
- package/serialization/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseSearchResultsVariableValue.js +1 -1
- package/serialization/types/TestCaseStringVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseStringVariableValue.js +1 -1
- package/serialization/types/TestSuiteRunRead.d.ts +2 -2
- package/serialization/types/TestSuiteRunRead.js +2 -2
- package/serialization/types/WorkflowDeploymentRead.d.ts +2 -2
- package/serialization/types/WorkflowDeploymentRead.js +2 -2
- package/serialization/types/WorkflowDeploymentRelease.d.ts +2 -2
- package/serialization/types/WorkflowDeploymentRelease.js +2 -2
- package/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
- package/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.js +1 -1
- package/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
- package/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.js +3 -3
- package/serialization/types/WorkflowSandboxExample.d.ts +1 -1
- package/serialization/types/WorkflowSandboxExample.js +1 -1
- package/serialization/types/WorkspaceRead.d.ts +3 -3
- package/serialization/types/WorkspaceRead.js +3 -3
- package/serialization/types/WorkspaceSecretRead.d.ts +2 -2
- package/serialization/types/WorkspaceSecretRead.js +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -84,7 +84,7 @@ class TestSuiteRuns {
|
|
|
84
84
|
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)
|
|
85
85
|
.default, "v1/test-suite-runs"),
|
|
86
86
|
method: "POST",
|
|
87
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
87
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
88
88
|
contentType: "application/json",
|
|
89
89
|
requestType: "json",
|
|
90
90
|
body: serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -146,7 +146,7 @@ class TestSuiteRuns {
|
|
|
146
146
|
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)
|
|
147
147
|
.default, `v1/test-suite-runs/${encodeURIComponent(id)}`),
|
|
148
148
|
method: "GET",
|
|
149
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
149
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
150
150
|
contentType: "application/json",
|
|
151
151
|
requestType: "json",
|
|
152
152
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -222,7 +222,7 @@ class TestSuiteRuns {
|
|
|
222
222
|
url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
|
|
223
223
|
.default, `v1/test-suite-runs/${encodeURIComponent(id)}/executions`),
|
|
224
224
|
method: "GET",
|
|
225
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
225
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
226
226
|
contentType: "application/json",
|
|
227
227
|
queryParameters: _queryParams,
|
|
228
228
|
requestType: "json",
|
|
@@ -86,7 +86,7 @@ class TestSuites {
|
|
|
86
86
|
url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
|
|
87
87
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
|
|
88
88
|
method: "GET",
|
|
89
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
89
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
queryParameters: _queryParams,
|
|
92
92
|
requestType: "json",
|
|
@@ -176,7 +176,7 @@ class TestSuites {
|
|
|
176
176
|
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)
|
|
177
177
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
|
|
178
178
|
method: "POST",
|
|
179
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
179
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
180
180
|
contentType: "application/json",
|
|
181
181
|
requestType: "json",
|
|
182
182
|
body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -232,7 +232,7 @@ class TestSuites {
|
|
|
232
232
|
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)
|
|
233
233
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases-bulk`),
|
|
234
234
|
method: "POST",
|
|
235
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
235
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
236
236
|
contentType: "application/x-ndjson",
|
|
237
237
|
requestType: "json",
|
|
238
238
|
body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
|
|
@@ -308,7 +308,7 @@ class TestSuites {
|
|
|
308
308
|
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)
|
|
309
309
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases/${encodeURIComponent(testCaseId)}`),
|
|
310
310
|
method: "DELETE",
|
|
311
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
311
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
312
312
|
contentType: "application/json",
|
|
313
313
|
requestType: "json",
|
|
314
314
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -93,7 +93,7 @@ class WorkflowDeployments {
|
|
|
93
93
|
url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
|
|
94
94
|
.default, "v1/workflow-deployments"),
|
|
95
95
|
method: "GET",
|
|
96
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
96
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
97
97
|
contentType: "application/json",
|
|
98
98
|
queryParameters: _queryParams,
|
|
99
99
|
requestType: "json",
|
|
@@ -155,7 +155,7 @@ class WorkflowDeployments {
|
|
|
155
155
|
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)
|
|
156
156
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
|
|
157
157
|
method: "GET",
|
|
158
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
158
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
159
159
|
contentType: "application/json",
|
|
160
160
|
requestType: "json",
|
|
161
161
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -226,7 +226,7 @@ class WorkflowDeployments {
|
|
|
226
226
|
url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
|
|
227
227
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/execution-events`),
|
|
228
228
|
method: "GET",
|
|
229
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
229
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
230
230
|
contentType: "application/json",
|
|
231
231
|
queryParameters: _queryParams,
|
|
232
232
|
requestType: "json",
|
|
@@ -287,7 +287,7 @@ class WorkflowDeployments {
|
|
|
287
287
|
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)
|
|
288
288
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/execution-events/${encodeURIComponent(executionId)}`),
|
|
289
289
|
method: "GET",
|
|
290
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
290
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
291
291
|
contentType: "application/json",
|
|
292
292
|
requestType: "json",
|
|
293
293
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -350,7 +350,7 @@ class WorkflowDeployments {
|
|
|
350
350
|
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)
|
|
351
351
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
|
|
352
352
|
method: "GET",
|
|
353
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
353
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
354
354
|
contentType: "application/json",
|
|
355
355
|
requestType: "json",
|
|
356
356
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -428,7 +428,7 @@ class WorkflowDeployments {
|
|
|
428
428
|
url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
|
|
429
429
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
|
|
430
430
|
method: "GET",
|
|
431
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
431
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
432
432
|
contentType: "application/json",
|
|
433
433
|
queryParameters: _queryParams,
|
|
434
434
|
requestType: "json",
|
|
@@ -491,7 +491,7 @@ class WorkflowDeployments {
|
|
|
491
491
|
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)
|
|
492
492
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
493
493
|
method: "GET",
|
|
494
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
494
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
495
495
|
contentType: "application/json",
|
|
496
496
|
requestType: "json",
|
|
497
497
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -554,7 +554,7 @@ class WorkflowDeployments {
|
|
|
554
554
|
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)
|
|
555
555
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
556
556
|
method: "PATCH",
|
|
557
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
557
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
558
558
|
contentType: "application/json",
|
|
559
559
|
requestType: "json",
|
|
560
560
|
body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -77,7 +77,7 @@ class WorkflowSandboxes {
|
|
|
77
77
|
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)
|
|
78
78
|
.default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
|
|
79
79
|
method: "POST",
|
|
80
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
80
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -155,7 +155,7 @@ class WorkflowSandboxes {
|
|
|
155
155
|
url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
|
|
156
156
|
.default, "v1/workflow-sandboxes/examples"),
|
|
157
157
|
method: "GET",
|
|
158
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
158
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
159
159
|
contentType: "application/json",
|
|
160
160
|
queryParameters: _queryParams,
|
|
161
161
|
requestType: "json",
|
|
@@ -87,7 +87,7 @@ class Workflows {
|
|
|
87
87
|
url: (0, url_join_1.default)((_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : ((_f = (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.VellumEnvironment.Production)
|
|
88
88
|
.default, `v1/workflows/${encodeURIComponent(id)}/pull`),
|
|
89
89
|
method: "GET",
|
|
90
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
90
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
91
91
|
contentType: "application/json",
|
|
92
92
|
queryParameters: _queryParams,
|
|
93
93
|
requestType: "json",
|
|
@@ -168,7 +168,7 @@ class Workflows {
|
|
|
168
168
|
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)
|
|
169
169
|
.default, "v1/workflows/push"),
|
|
170
170
|
method: "POST",
|
|
171
|
-
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
171
|
+
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
172
172
|
requestType: "file",
|
|
173
173
|
duplex: _maybeEncodedRequest.duplex,
|
|
174
174
|
body: _maybeEncodedRequest.body,
|
|
@@ -77,7 +77,7 @@ class WorkspaceSecrets {
|
|
|
77
77
|
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)
|
|
78
78
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
79
79
|
method: "GET",
|
|
80
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
80
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -139,7 +139,7 @@ class WorkspaceSecrets {
|
|
|
139
139
|
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)
|
|
140
140
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
141
141
|
method: "PATCH",
|
|
142
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
142
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
143
143
|
contentType: "application/json",
|
|
144
144
|
requestType: "json",
|
|
145
145
|
body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
|
|
@@ -76,7 +76,7 @@ class Workspaces {
|
|
|
76
76
|
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)
|
|
77
77
|
.default, "v1/workspaces/identity"),
|
|
78
78
|
method: "GET",
|
|
79
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
79
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.75", "User-Agent": "vellum-ai/0.14.75", "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),
|
|
80
80
|
contentType: "application/json",
|
|
81
81
|
requestType: "json",
|
|
82
82
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -7,11 +7,11 @@ import * as Vellum from "../index";
|
|
|
7
7
|
*/
|
|
8
8
|
export interface DocumentDocumentToDocumentIndex {
|
|
9
9
|
/** Vellum-generated ID that uniquely identifies this link. */
|
|
10
|
-
id
|
|
10
|
+
id: string;
|
|
11
11
|
/** Vellum-generated ID that uniquely identifies the environment index this document is included in. */
|
|
12
|
-
environmentDocumentIndexId
|
|
12
|
+
environmentDocumentIndexId: string;
|
|
13
13
|
/** Vellum-generated ID that uniquely identifies the index this document is included in. */
|
|
14
|
-
documentIndexId
|
|
14
|
+
documentIndexId: string;
|
|
15
15
|
/**
|
|
16
16
|
* An enum value representing where this document is along its indexing lifecycle for this index.
|
|
17
17
|
*
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
5
|
export interface DocumentIndexRead {
|
|
6
|
-
id
|
|
7
|
-
created
|
|
6
|
+
id: string;
|
|
7
|
+
created: Date;
|
|
8
8
|
/** A human-readable label for the document index */
|
|
9
9
|
label: string;
|
|
10
10
|
/** A name that uniquely identifies this index within its workspace */
|
|
@@ -9,6 +9,6 @@ export interface MetricDefinitionHistoryItem {
|
|
|
9
9
|
/** A name that uniquely identifies this metric within its workspace */
|
|
10
10
|
name: string;
|
|
11
11
|
description: string;
|
|
12
|
-
inputVariables
|
|
13
|
-
outputVariables
|
|
12
|
+
inputVariables: Vellum.VellumVariable[];
|
|
13
|
+
outputVariables: Vellum.VellumVariable[];
|
|
14
14
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
5
|
export interface PromptDeploymentRelease {
|
|
6
|
-
id
|
|
7
|
-
created
|
|
6
|
+
id: string;
|
|
7
|
+
created: Date;
|
|
8
8
|
environment: Vellum.ReleaseEnvironment;
|
|
9
9
|
createdBy?: Vellum.ReleaseCreatedBy | null;
|
|
10
10
|
promptVersion: Vellum.PromptDeploymentReleasePromptVersion;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
5
|
export interface PromptDeploymentReleasePromptVersion {
|
|
6
|
-
id
|
|
6
|
+
id: string;
|
|
7
7
|
/** Configuration used to build this prompt version. */
|
|
8
|
-
buildConfig
|
|
8
|
+
buildConfig: Vellum.ComponentsSchemasPromptVersionBuildConfigSandbox;
|
|
9
9
|
}
|
|
@@ -5,10 +5,12 @@
|
|
|
5
5
|
* * `USER_DEFINED` - User Defined
|
|
6
6
|
* * `HMAC` - Hmac
|
|
7
7
|
* * `INTERNAL_API_KEY` - Internal Api Key
|
|
8
|
+
* * `EXTERNALLY_PROVISIONED` - Externally Provisioned
|
|
8
9
|
*/
|
|
9
|
-
export type SecretTypeEnum = "USER_DEFINED" | "HMAC" | "INTERNAL_API_KEY";
|
|
10
|
+
export type SecretTypeEnum = "USER_DEFINED" | "HMAC" | "INTERNAL_API_KEY" | "EXTERNALLY_PROVISIONED";
|
|
10
11
|
export declare const SecretTypeEnum: {
|
|
11
12
|
readonly UserDefined: "USER_DEFINED";
|
|
12
13
|
readonly Hmac: "HMAC";
|
|
13
14
|
readonly InternalApiKey: "INTERNAL_API_KEY";
|
|
15
|
+
readonly ExternallyProvisioned: "EXTERNALLY_PROVISIONED";
|
|
14
16
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
5
|
export interface SlimDocument {
|
|
6
6
|
/** Vellum-generated ID that uniquely identifies this document. */
|
|
7
|
-
id
|
|
7
|
+
id: string;
|
|
8
8
|
/** The external ID that was originally provided when uploading the document. */
|
|
9
9
|
externalId?: string | null;
|
|
10
10
|
/** A timestamp representing when this document was most recently uploaded. */
|
|
@@ -7,11 +7,11 @@ import * as Vellum from "../index";
|
|
|
7
7
|
*/
|
|
8
8
|
export interface SlimDocumentDocumentToDocumentIndex {
|
|
9
9
|
/** Vellum-generated ID that uniquely identifies this link. */
|
|
10
|
-
id
|
|
10
|
+
id: string;
|
|
11
11
|
/** Vellum-generated ID that uniquely identifies the environment index this document is included in. */
|
|
12
|
-
environmentDocumentIndexId
|
|
12
|
+
environmentDocumentIndexId: string;
|
|
13
13
|
/** Vellum-generated ID that uniquely identifies the index this document is included in. */
|
|
14
|
-
documentIndexId
|
|
14
|
+
documentIndexId: string;
|
|
15
15
|
/**
|
|
16
16
|
* An enum value representing where this document is along its indexing lifecycle for this index.
|
|
17
17
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
5
|
export interface SlimWorkflowDeployment {
|
|
6
|
-
id
|
|
6
|
+
id: string;
|
|
7
7
|
/** A name that uniquely identifies this workflow deployment within its workspace */
|
|
8
8
|
name: string;
|
|
9
9
|
/** A human-readable label for the workflow deployment */
|
|
@@ -23,7 +23,7 @@ export interface SlimWorkflowDeployment {
|
|
|
23
23
|
* * `PRODUCTION` - Production
|
|
24
24
|
*/
|
|
25
25
|
environment?: Vellum.EnvironmentEnum;
|
|
26
|
-
created
|
|
26
|
+
created: Date;
|
|
27
27
|
lastDeployedOn: Date;
|
|
28
28
|
/** The input variables this Workflow Deployment expects to receive values for when it is executed. */
|
|
29
29
|
inputVariables: Vellum.VellumVariable[];
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
5
|
export interface WorkflowDeploymentRead {
|
|
6
|
-
id
|
|
6
|
+
id: string;
|
|
7
7
|
/** A name that uniquely identifies this workflow deployment within its workspace */
|
|
8
8
|
name: string;
|
|
9
9
|
/** A human-readable label for the workflow deployment */
|
|
@@ -23,7 +23,7 @@ export interface WorkflowDeploymentRead {
|
|
|
23
23
|
* * `PRODUCTION` - Production
|
|
24
24
|
*/
|
|
25
25
|
environment?: Vellum.EnvironmentEnum;
|
|
26
|
-
created
|
|
26
|
+
created: Date;
|
|
27
27
|
lastDeployedOn: Date;
|
|
28
28
|
/** The ID of the history item associated with this Workflow Deployment's LATEST Release Tag */
|
|
29
29
|
lastDeployedHistoryItemId: string;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
5
|
export interface WorkflowDeploymentRelease {
|
|
6
|
-
id
|
|
7
|
-
created
|
|
6
|
+
id: string;
|
|
7
|
+
created: Date;
|
|
8
8
|
environment: Vellum.ReleaseEnvironment;
|
|
9
9
|
createdBy?: Vellum.ReleaseCreatedBy | null;
|
|
10
10
|
workflowVersion: Vellum.WorkflowDeploymentReleaseWorkflowVersion;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
5
|
export interface WorkflowDeploymentReleaseWorkflowVersion {
|
|
6
|
-
id
|
|
7
|
-
inputVariables
|
|
8
|
-
outputVariables
|
|
6
|
+
id: string;
|
|
7
|
+
inputVariables: Vellum.VellumVariable[];
|
|
8
|
+
outputVariables: Vellum.VellumVariable[];
|
|
9
9
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface WorkspaceRead {
|
|
5
|
-
id
|
|
5
|
+
id: string;
|
|
6
6
|
/** The name of the Workspace. */
|
|
7
7
|
name: string;
|
|
8
|
-
label
|
|
9
|
-
created
|
|
8
|
+
label: string;
|
|
9
|
+
created: Date;
|
|
10
10
|
}
|