vellum-ai 0.14.54 → 0.14.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -3
- package/Client.js +38 -38
- package/api/resources/adHoc/client/Client.js +2 -2
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.d.ts +14 -1
- package/api/resources/deployments/client/Client.js +71 -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/index.d.ts +1 -1
- package/api/resources/index.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/releaseReviews/client/Client.d.ts +0 -12
- package/api/resources/releaseReviews/client/Client.js +1 -63
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.d.ts +2 -1
- package/api/resources/workflowDeployments/client/Client.js +10 -9
- 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/ComponentsSchemasPromptVersionBuildConfigSandbox.d.ts +5 -0
- package/api/types/ComponentsSchemasPromptVersionBuildConfigSandbox.js +5 -0
- package/api/types/ExecuteApiRequestBody.d.ts +1 -1
- package/api/types/PromptDeploymentReleasePromptVersion.d.ts +3 -0
- package/api/types/PromptVersionBuildConfigSandbox.d.ts +9 -0
- package/api/types/PromptVersionBuildConfigSandbox.js +5 -0
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -0
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +38 -38
- 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.d.ts +14 -1
- package/dist/api/resources/deployments/client/Client.js +71 -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/index.d.ts +1 -1
- package/dist/api/resources/index.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/releaseReviews/client/Client.d.ts +0 -12
- package/dist/api/resources/releaseReviews/client/Client.js +1 -63
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.d.ts +2 -1
- package/dist/api/resources/workflowDeployments/client/Client.js +10 -9
- 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/ComponentsSchemasPromptVersionBuildConfigSandbox.d.ts +5 -0
- package/dist/api/types/ComponentsSchemasPromptVersionBuildConfigSandbox.js +5 -0
- package/dist/api/types/ExecuteApiRequestBody.d.ts +1 -1
- package/dist/api/types/PromptDeploymentReleasePromptVersion.d.ts +3 -0
- package/dist/api/types/PromptVersionBuildConfigSandbox.d.ts +9 -0
- package/dist/api/types/PromptVersionBuildConfigSandbox.js +5 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/serialization/types/ComponentsSchemasPromptVersionBuildConfigSandbox.d.ts +11 -0
- package/dist/serialization/types/ComponentsSchemasPromptVersionBuildConfigSandbox.js +8 -0
- package/dist/serialization/types/ExecuteApiRequestBody.d.ts +1 -1
- package/dist/serialization/types/ExecuteApiRequestBody.js +1 -0
- package/dist/serialization/types/PromptDeploymentReleasePromptVersion.d.ts +2 -0
- package/dist/serialization/types/PromptDeploymentReleasePromptVersion.js +2 -0
- package/dist/serialization/types/PromptVersionBuildConfigSandbox.d.ts +15 -0
- package/dist/serialization/types/PromptVersionBuildConfigSandbox.js +46 -0
- package/dist/serialization/types/index.d.ts +2 -0
- package/dist/serialization/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +102 -100
- package/serialization/types/ComponentsSchemasPromptVersionBuildConfigSandbox.d.ts +11 -0
- package/serialization/types/ComponentsSchemasPromptVersionBuildConfigSandbox.js +8 -0
- package/serialization/types/ExecuteApiRequestBody.d.ts +1 -1
- package/serialization/types/ExecuteApiRequestBody.js +1 -0
- package/serialization/types/PromptDeploymentReleasePromptVersion.d.ts +2 -0
- package/serialization/types/PromptDeploymentReleasePromptVersion.js +2 -0
- package/serialization/types/PromptVersionBuildConfigSandbox.d.ts +15 -0
- package/serialization/types/PromptVersionBuildConfigSandbox.js +46 -0
- package/serialization/types/index.d.ts +2 -0
- package/serialization/types/index.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -96,7 +96,7 @@ class DocumentIndexes {
|
|
|
96
96
|
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)
|
|
97
97
|
.default, "v1/document-indexes"),
|
|
98
98
|
method: "GET",
|
|
99
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
99
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
100
100
|
contentType: "application/json",
|
|
101
101
|
queryParameters: _queryParams,
|
|
102
102
|
requestType: "json",
|
|
@@ -220,7 +220,7 @@ class DocumentIndexes {
|
|
|
220
220
|
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)
|
|
221
221
|
.default, "v1/document-indexes"),
|
|
222
222
|
method: "POST",
|
|
223
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
223
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
224
224
|
contentType: "application/json",
|
|
225
225
|
requestType: "json",
|
|
226
226
|
body: serializers.DocumentIndexCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -282,7 +282,7 @@ class DocumentIndexes {
|
|
|
282
282
|
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)
|
|
283
283
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
284
284
|
method: "GET",
|
|
285
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
285
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
286
286
|
contentType: "application/json",
|
|
287
287
|
requestType: "json",
|
|
288
288
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -346,7 +346,7 @@ class DocumentIndexes {
|
|
|
346
346
|
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)
|
|
347
347
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
348
348
|
method: "PUT",
|
|
349
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
349
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
350
350
|
contentType: "application/json",
|
|
351
351
|
requestType: "json",
|
|
352
352
|
body: serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -408,7 +408,7 @@ class DocumentIndexes {
|
|
|
408
408
|
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)
|
|
409
409
|
.documents, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
410
410
|
method: "DELETE",
|
|
411
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
411
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
412
412
|
contentType: "application/json",
|
|
413
413
|
requestType: "json",
|
|
414
414
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -462,7 +462,7 @@ class DocumentIndexes {
|
|
|
462
462
|
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)
|
|
463
463
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
464
464
|
method: "PATCH",
|
|
465
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
465
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
466
466
|
contentType: "application/json",
|
|
467
467
|
requestType: "json",
|
|
468
468
|
body: serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
|
|
@@ -527,7 +527,7 @@ class DocumentIndexes {
|
|
|
527
527
|
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)
|
|
528
528
|
.default, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
|
|
529
529
|
method: "POST",
|
|
530
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
530
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
531
531
|
contentType: "application/json",
|
|
532
532
|
requestType: "json",
|
|
533
533
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -581,7 +581,7 @@ class DocumentIndexes {
|
|
|
581
581
|
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)
|
|
582
582
|
.documents, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
|
|
583
583
|
method: "DELETE",
|
|
584
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
584
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
585
585
|
contentType: "application/json",
|
|
586
586
|
requestType: "json",
|
|
587
587
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -95,7 +95,7 @@ class Documents {
|
|
|
95
95
|
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)
|
|
96
96
|
.default, "v1/documents"),
|
|
97
97
|
method: "GET",
|
|
98
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
98
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
99
99
|
contentType: "application/json",
|
|
100
100
|
queryParameters: _queryParams,
|
|
101
101
|
requestType: "json",
|
|
@@ -157,7 +157,7 @@ class Documents {
|
|
|
157
157
|
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)
|
|
158
158
|
.default, `v1/documents/${encodeURIComponent(id)}`),
|
|
159
159
|
method: "GET",
|
|
160
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
160
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
161
161
|
contentType: "application/json",
|
|
162
162
|
requestType: "json",
|
|
163
163
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -218,7 +218,7 @@ class Documents {
|
|
|
218
218
|
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)
|
|
219
219
|
.documents, `v1/documents/${encodeURIComponent(id)}`),
|
|
220
220
|
method: "DELETE",
|
|
221
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
221
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
222
222
|
contentType: "application/json",
|
|
223
223
|
requestType: "json",
|
|
224
224
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -272,7 +272,7 @@ class Documents {
|
|
|
272
272
|
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)
|
|
273
273
|
.default, `v1/documents/${encodeURIComponent(id)}`),
|
|
274
274
|
method: "PATCH",
|
|
275
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
275
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
276
276
|
contentType: "application/json",
|
|
277
277
|
requestType: "json",
|
|
278
278
|
body: serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -363,7 +363,7 @@ class Documents {
|
|
|
363
363
|
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)
|
|
364
364
|
.documents, "v1/upload-document"),
|
|
365
365
|
method: "POST",
|
|
366
|
-
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
366
|
+
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
367
367
|
requestType: "file",
|
|
368
368
|
duplex: _maybeEncodedRequest.duplex,
|
|
369
369
|
body: _maybeEncodedRequest.body,
|
|
@@ -94,7 +94,7 @@ class FolderEntities {
|
|
|
94
94
|
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)
|
|
95
95
|
.default, "v1/folder-entities"),
|
|
96
96
|
method: "GET",
|
|
97
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
97
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
98
98
|
contentType: "application/json",
|
|
99
99
|
queryParameters: _queryParams,
|
|
100
100
|
requestType: "json",
|
|
@@ -166,7 +166,7 @@ class FolderEntities {
|
|
|
166
166
|
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)
|
|
167
167
|
.default, `v1/folders/${encodeURIComponent(folderId)}/add-entity`),
|
|
168
168
|
method: "POST",
|
|
169
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
169
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
170
170
|
contentType: "application/json",
|
|
171
171
|
requestType: "json",
|
|
172
172
|
body: serializers.AddEntityToFolderRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -10,7 +10,6 @@ export * as workflowSandboxes from "./workflowSandboxes";
|
|
|
10
10
|
export * from "./workflowSandboxes/types";
|
|
11
11
|
export * as adHoc from "./adHoc";
|
|
12
12
|
export * as containerImages from "./containerImages";
|
|
13
|
-
export * as releaseReviews from "./releaseReviews";
|
|
14
13
|
export * as documents from "./documents";
|
|
15
14
|
export * as metricDefinitions from "./metricDefinitions";
|
|
16
15
|
export * as mlModels from "./mlModels";
|
|
@@ -19,6 +18,7 @@ export * as prompts from "./prompts";
|
|
|
19
18
|
export * as sandboxes from "./sandboxes";
|
|
20
19
|
export * as testSuiteRuns from "./testSuiteRuns";
|
|
21
20
|
export * as testSuites from "./testSuites";
|
|
21
|
+
export * as releaseReviews from "./releaseReviews";
|
|
22
22
|
export * as workflows from "./workflows";
|
|
23
23
|
export * as workspaceSecrets from "./workspaceSecrets";
|
|
24
24
|
export * as workspaces from "./workspaces";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.workspaces = exports.workspaceSecrets = exports.workflows = exports.testSuites = exports.testSuiteRuns = exports.sandboxes = exports.prompts = exports.organizations = exports.mlModels = exports.metricDefinitions = exports.documents = exports.
|
|
39
|
+
exports.workspaces = exports.workspaceSecrets = exports.workflows = exports.releaseReviews = exports.testSuites = exports.testSuiteRuns = exports.sandboxes = exports.prompts = exports.organizations = exports.mlModels = exports.metricDefinitions = exports.documents = exports.containerImages = exports.adHoc = exports.workflowSandboxes = exports.workflowDeployments = exports.folderEntities = exports.documentIndexes = exports.deployments = void 0;
|
|
40
40
|
exports.deployments = __importStar(require("./deployments"));
|
|
41
41
|
__exportStar(require("./deployments/types"), exports);
|
|
42
42
|
exports.documentIndexes = __importStar(require("./documentIndexes"));
|
|
@@ -49,7 +49,6 @@ exports.workflowSandboxes = __importStar(require("./workflowSandboxes"));
|
|
|
49
49
|
__exportStar(require("./workflowSandboxes/types"), exports);
|
|
50
50
|
exports.adHoc = __importStar(require("./adHoc"));
|
|
51
51
|
exports.containerImages = __importStar(require("./containerImages"));
|
|
52
|
-
exports.releaseReviews = __importStar(require("./releaseReviews"));
|
|
53
52
|
exports.documents = __importStar(require("./documents"));
|
|
54
53
|
exports.metricDefinitions = __importStar(require("./metricDefinitions"));
|
|
55
54
|
exports.mlModels = __importStar(require("./mlModels"));
|
|
@@ -58,6 +57,7 @@ exports.prompts = __importStar(require("./prompts"));
|
|
|
58
57
|
exports.sandboxes = __importStar(require("./sandboxes"));
|
|
59
58
|
exports.testSuiteRuns = __importStar(require("./testSuiteRuns"));
|
|
60
59
|
exports.testSuites = __importStar(require("./testSuites"));
|
|
60
|
+
exports.releaseReviews = __importStar(require("./releaseReviews"));
|
|
61
61
|
exports.workflows = __importStar(require("./workflows"));
|
|
62
62
|
exports.workspaceSecrets = __importStar(require("./workspaceSecrets"));
|
|
63
63
|
exports.workspaces = __importStar(require("./workspaces"));
|
|
@@ -82,7 +82,7 @@ class MetricDefinitions {
|
|
|
82
82
|
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)
|
|
83
83
|
.predict, `v1/metric-definitions/${encodeURIComponent(id)}/execute`),
|
|
84
84
|
method: "POST",
|
|
85
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
85
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
86
86
|
contentType: "application/json",
|
|
87
87
|
requestType: "json",
|
|
88
88
|
body: serializers.ExecuteMetricDefinition.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -143,7 +143,7 @@ class MetricDefinitions {
|
|
|
143
143
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
144
144
|
.default, `v1/metric-definitions/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
|
|
145
145
|
method: "GET",
|
|
146
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
146
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
requestType: "json",
|
|
149
149
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -77,7 +77,7 @@ class MlModels {
|
|
|
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/ml-models/${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.55", "User-Agent": "vellum-ai/0.14.55", "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,
|
|
@@ -76,7 +76,7 @@ class Organizations {
|
|
|
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/organizations/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.55", "User-Agent": "vellum-ai/0.14.55", "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,
|
|
@@ -87,7 +87,7 @@ class Prompts {
|
|
|
87
87
|
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)
|
|
88
88
|
.default, `v1/prompts/${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.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, Accept: "application/json" }, (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",
|
|
@@ -173,7 +173,7 @@ class Prompts {
|
|
|
173
173
|
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)
|
|
174
174
|
.default, "v1/prompts/push"),
|
|
175
175
|
method: "POST",
|
|
176
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
176
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
177
177
|
contentType: "application/json",
|
|
178
178
|
requestType: "json",
|
|
179
179
|
body: serializers.PromptPush.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -25,18 +25,6 @@ export declare namespace ReleaseReviews {
|
|
|
25
25
|
export declare class ReleaseReviews {
|
|
26
26
|
protected readonly _options: ReleaseReviews.Options;
|
|
27
27
|
constructor(_options: ReleaseReviews.Options);
|
|
28
|
-
/**
|
|
29
|
-
* Retrieve a specific Prompt Deployment Release by either its UUID or the name of a Release Tag that points to it.
|
|
30
|
-
*
|
|
31
|
-
* @param {string} id - A UUID string identifying this deployment.
|
|
32
|
-
* @param {string} releaseIdOrReleaseTag - Either the UUID of Prompt Deployment Release you'd like to retrieve, or the name of a Release Tag that's pointing to the Prompt Deployment Release you'd like to retrieve.
|
|
33
|
-
* @param {ReleaseReviews.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* await client.releaseReviews.retrievePromptDeploymentRelease("id", "release_id_or_release_tag")
|
|
37
|
-
*/
|
|
38
|
-
retrievePromptDeploymentRelease(id: string, releaseIdOrReleaseTag: string, requestOptions?: ReleaseReviews.RequestOptions): core.HttpResponsePromise<Vellum.PromptDeploymentRelease>;
|
|
39
|
-
private __retrievePromptDeploymentRelease;
|
|
40
28
|
/**
|
|
41
29
|
* Retrieve a specific Workflow Deployment Release by either its UUID or the name of a Release Tag that points to it.
|
|
42
30
|
*
|
|
@@ -58,68 +58,6 @@ class ReleaseReviews {
|
|
|
58
58
|
constructor(_options) {
|
|
59
59
|
this._options = _options;
|
|
60
60
|
}
|
|
61
|
-
/**
|
|
62
|
-
* Retrieve a specific Prompt Deployment Release by either its UUID or the name of a Release Tag that points to it.
|
|
63
|
-
*
|
|
64
|
-
* @param {string} id - A UUID string identifying this deployment.
|
|
65
|
-
* @param {string} releaseIdOrReleaseTag - Either the UUID of Prompt Deployment Release you'd like to retrieve, or the name of a Release Tag that's pointing to the Prompt Deployment Release you'd like to retrieve.
|
|
66
|
-
* @param {ReleaseReviews.RequestOptions} requestOptions - Request-specific configuration.
|
|
67
|
-
*
|
|
68
|
-
* @example
|
|
69
|
-
* await client.releaseReviews.retrievePromptDeploymentRelease("id", "release_id_or_release_tag")
|
|
70
|
-
*/
|
|
71
|
-
retrievePromptDeploymentRelease(id, releaseIdOrReleaseTag, requestOptions) {
|
|
72
|
-
return core.HttpResponsePromise.fromPromise(this.__retrievePromptDeploymentRelease(id, releaseIdOrReleaseTag, requestOptions));
|
|
73
|
-
}
|
|
74
|
-
__retrievePromptDeploymentRelease(id, releaseIdOrReleaseTag, requestOptions) {
|
|
75
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
76
|
-
var _a, _b;
|
|
77
|
-
const _response = yield core.fetcher({
|
|
78
|
-
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)
|
|
79
|
-
.default, `v1/deployments/${encodeURIComponent(id)}/releases/${encodeURIComponent(releaseIdOrReleaseTag)}`),
|
|
80
|
-
method: "GET",
|
|
81
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "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),
|
|
82
|
-
contentType: "application/json",
|
|
83
|
-
requestType: "json",
|
|
84
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
85
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
86
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
87
|
-
});
|
|
88
|
-
if (_response.ok) {
|
|
89
|
-
return {
|
|
90
|
-
data: serializers.PromptDeploymentRelease.parseOrThrow(_response.body, {
|
|
91
|
-
unrecognizedObjectKeys: "passthrough",
|
|
92
|
-
allowUnrecognizedUnionMembers: true,
|
|
93
|
-
allowUnrecognizedEnumValues: true,
|
|
94
|
-
breadcrumbsPrefix: ["response"],
|
|
95
|
-
}),
|
|
96
|
-
rawResponse: _response.rawResponse,
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
if (_response.error.reason === "status-code") {
|
|
100
|
-
throw new errors.VellumError({
|
|
101
|
-
statusCode: _response.error.statusCode,
|
|
102
|
-
body: _response.error.body,
|
|
103
|
-
rawResponse: _response.rawResponse,
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
switch (_response.error.reason) {
|
|
107
|
-
case "non-json":
|
|
108
|
-
throw new errors.VellumError({
|
|
109
|
-
statusCode: _response.error.statusCode,
|
|
110
|
-
body: _response.error.rawBody,
|
|
111
|
-
rawResponse: _response.rawResponse,
|
|
112
|
-
});
|
|
113
|
-
case "timeout":
|
|
114
|
-
throw new errors.VellumTimeoutError("Timeout exceeded when calling GET /v1/deployments/{id}/releases/{release_id_or_release_tag}.");
|
|
115
|
-
case "unknown":
|
|
116
|
-
throw new errors.VellumError({
|
|
117
|
-
message: _response.error.errorMessage,
|
|
118
|
-
rawResponse: _response.rawResponse,
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
61
|
/**
|
|
124
62
|
* Retrieve a specific Workflow Deployment Release by either its UUID or the name of a Release Tag that points to it.
|
|
125
63
|
*
|
|
@@ -140,7 +78,7 @@ class ReleaseReviews {
|
|
|
140
78
|
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)
|
|
141
79
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/releases/${encodeURIComponent(releaseIdOrReleaseTag)}`),
|
|
142
80
|
method: "GET",
|
|
143
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
81
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
144
82
|
contentType: "application/json",
|
|
145
83
|
requestType: "json",
|
|
146
84
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -77,7 +77,7 @@ class Sandboxes {
|
|
|
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/sandboxes/${encodeURIComponent(id)}/prompts/${encodeURIComponent(promptVariantId)}/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.55", "User-Agent": "vellum-ai/0.14.55", "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.DeploySandboxPromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -173,7 +173,7 @@ class Sandboxes {
|
|
|
173
173
|
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)
|
|
174
174
|
.default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios`),
|
|
175
175
|
method: "POST",
|
|
176
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
176
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
177
177
|
contentType: "application/json",
|
|
178
178
|
requestType: "json",
|
|
179
179
|
body: serializers.UpsertSandboxScenarioRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -236,7 +236,7 @@ class Sandboxes {
|
|
|
236
236
|
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)
|
|
237
237
|
.default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios/${encodeURIComponent(scenarioId)}`),
|
|
238
238
|
method: "DELETE",
|
|
239
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
239
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
240
240
|
contentType: "application/json",
|
|
241
241
|
requestType: "json",
|
|
242
242
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -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.55", "User-Agent": "vellum-ai/0.14.55", "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.55", "User-Agent": "vellum-ai/0.14.55", "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.55", "User-Agent": "vellum-ai/0.14.55", "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.55", "User-Agent": "vellum-ai/0.14.55", "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.55", "User-Agent": "vellum-ai/0.14.55", "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.55", "User-Agent": "vellum-ai/0.14.55", "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.55", "User-Agent": "vellum-ai/0.14.55", "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,
|
|
@@ -68,7 +68,8 @@ export declare class WorkflowDeployments {
|
|
|
68
68
|
workflowDeploymentEventExecution(executionId: string, id: string, requestOptions?: WorkflowDeployments.RequestOptions): core.HttpResponsePromise<Vellum.WorkflowEventExecutionRead>;
|
|
69
69
|
private __workflowDeploymentEventExecution;
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* DEPRECATED: This endpoint is deprecated and will be removed in a future release. Please use the
|
|
72
|
+
* `retrieve_workflow_deployment_release` endpoint instead.
|
|
72
73
|
*
|
|
73
74
|
* @param {string} historyIdOrReleaseTag - Either the UUID of Workflow Deployment History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Workflow Deployment History Item you'd like to retrieve.
|
|
74
75
|
* @param {string} id - A UUID string identifying this workflow deployment.
|
|
@@ -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.55", "User-Agent": "vellum-ai/0.14.55", "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.55", "User-Agent": "vellum-ai/0.14.55", "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.55", "User-Agent": "vellum-ai/0.14.55", "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.55", "User-Agent": "vellum-ai/0.14.55", "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,
|
|
@@ -330,7 +330,8 @@ class WorkflowDeployments {
|
|
|
330
330
|
});
|
|
331
331
|
}
|
|
332
332
|
/**
|
|
333
|
-
*
|
|
333
|
+
* DEPRECATED: This endpoint is deprecated and will be removed in a future release. Please use the
|
|
334
|
+
* `retrieve_workflow_deployment_release` endpoint instead.
|
|
334
335
|
*
|
|
335
336
|
* @param {string} historyIdOrReleaseTag - Either the UUID of Workflow Deployment History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Workflow Deployment History Item you'd like to retrieve.
|
|
336
337
|
* @param {string} id - A UUID string identifying this workflow deployment.
|
|
@@ -349,7 +350,7 @@ class WorkflowDeployments {
|
|
|
349
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)
|
|
350
351
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
|
|
351
352
|
method: "GET",
|
|
352
|
-
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.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
353
354
|
contentType: "application/json",
|
|
354
355
|
requestType: "json",
|
|
355
356
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -427,7 +428,7 @@ class WorkflowDeployments {
|
|
|
427
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)
|
|
428
429
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
|
|
429
430
|
method: "GET",
|
|
430
|
-
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.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
431
432
|
contentType: "application/json",
|
|
432
433
|
queryParameters: _queryParams,
|
|
433
434
|
requestType: "json",
|
|
@@ -490,7 +491,7 @@ class WorkflowDeployments {
|
|
|
490
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)
|
|
491
492
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
492
493
|
method: "GET",
|
|
493
|
-
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.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
494
495
|
contentType: "application/json",
|
|
495
496
|
requestType: "json",
|
|
496
497
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -553,7 +554,7 @@ class WorkflowDeployments {
|
|
|
553
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)
|
|
554
555
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
555
556
|
method: "PATCH",
|
|
556
|
-
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.55", "User-Agent": "vellum-ai/0.14.55", "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),
|
|
557
558
|
contentType: "application/json",
|
|
558
559
|
requestType: "json",
|
|
559
560
|
body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
|