vellum-ai 0.14.58 → 0.14.60
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.d.ts +5 -5
- package/api/resources/deployments/client/Client.js +13 -13
- 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/releaseReviews/client/Client.d.ts +1 -1
- package/api/resources/releaseReviews/client/Client.js +2 -2
- 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 +3 -3
- package/api/resources/workflowDeployments/client/Client.js +11 -11
- 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 +2 -0
- package/api/types/SlimDocumentDocumentToDocumentIndex.d.ts +2 -0
- 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.d.ts +5 -5
- package/dist/api/resources/deployments/client/Client.js +13 -13
- 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/releaseReviews/client/Client.d.ts +1 -1
- package/dist/api/resources/releaseReviews/client/Client.js +2 -2
- 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 +3 -3
- package/dist/api/resources/workflowDeployments/client/Client.js +11 -11
- 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 +2 -0
- package/dist/api/types/SlimDocumentDocumentToDocumentIndex.d.ts +2 -0
- package/dist/serialization/types/DocumentDocumentToDocumentIndex.d.ts +1 -0
- package/dist/serialization/types/DocumentDocumentToDocumentIndex.js +1 -0
- package/dist/serialization/types/SlimDocumentDocumentToDocumentIndex.d.ts +1 -0
- package/dist/serialization/types/SlimDocumentDocumentToDocumentIndex.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +9 -9
- package/serialization/types/DocumentDocumentToDocumentIndex.d.ts +1 -0
- package/serialization/types/DocumentDocumentToDocumentIndex.js +1 -0
- package/serialization/types/SlimDocumentDocumentToDocumentIndex.d.ts +1 -0
- package/serialization/types/SlimDocumentDocumentToDocumentIndex.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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.60", "User-Agent": "vellum-ai/0.14.60", "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.60", "User-Agent": "vellum-ai/0.14.60", "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.60", "User-Agent": "vellum-ai/0.14.60", "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.60", "User-Agent": "vellum-ai/0.14.60", "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,
|
|
@@ -334,7 +334,7 @@ class WorkflowDeployments {
|
|
|
334
334
|
* `retrieve_workflow_deployment_release` endpoint instead.
|
|
335
335
|
*
|
|
336
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.
|
|
337
|
-
* @param {string} id -
|
|
337
|
+
* @param {string} id - Either the Workflow Deployment's ID or its unique name
|
|
338
338
|
* @param {WorkflowDeployments.RequestOptions} requestOptions - Request-specific configuration.
|
|
339
339
|
*
|
|
340
340
|
* @example
|
|
@@ -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.60", "User-Agent": "vellum-ai/0.14.60", "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.60", "User-Agent": "vellum-ai/0.14.60", "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",
|
|
@@ -474,7 +474,7 @@ class WorkflowDeployments {
|
|
|
474
474
|
/**
|
|
475
475
|
* Retrieve a Workflow Release Tag by tag name, associated with a specified Workflow Deployment.
|
|
476
476
|
*
|
|
477
|
-
* @param {string} id -
|
|
477
|
+
* @param {string} id - Either the Workflow Deployment's ID or its unique name
|
|
478
478
|
* @param {string} name - The name of the Release Tag associated with this Workflow Deployment that you'd like to retrieve.
|
|
479
479
|
* @param {WorkflowDeployments.RequestOptions} requestOptions - Request-specific configuration.
|
|
480
480
|
*
|
|
@@ -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.60", "User-Agent": "vellum-ai/0.14.60", "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,
|
|
@@ -536,7 +536,7 @@ class WorkflowDeployments {
|
|
|
536
536
|
/**
|
|
537
537
|
* Updates an existing Release Tag associated with the specified Workflow Deployment.
|
|
538
538
|
*
|
|
539
|
-
* @param {string} id -
|
|
539
|
+
* @param {string} id - Either the Workflow Deployment's ID or its unique name
|
|
540
540
|
* @param {string} name - The name of the Release Tag associated with this Workflow Deployment that you'd like to update.
|
|
541
541
|
* @param {Vellum.PatchedWorkflowReleaseTagUpdateRequest} request
|
|
542
542
|
* @param {WorkflowDeployments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -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.60", "User-Agent": "vellum-ai/0.14.60", "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.60", "User-Agent": "vellum-ai/0.14.60", "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.60", "User-Agent": "vellum-ai/0.14.60", "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.60", "User-Agent": "vellum-ai/0.14.60", "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.60", "User-Agent": "vellum-ai/0.14.60", "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.60", "User-Agent": "vellum-ai/0.14.60", "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.60", "User-Agent": "vellum-ai/0.14.60", "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.60", "User-Agent": "vellum-ai/0.14.60", "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,
|
|
@@ -8,6 +8,8 @@ import * as Vellum from "../index";
|
|
|
8
8
|
export interface DocumentDocumentToDocumentIndex {
|
|
9
9
|
/** Vellum-generated ID that uniquely identifies this link. */
|
|
10
10
|
id: string;
|
|
11
|
+
/** Vellum-generated ID that uniquely identifies the environment index this document is included in. */
|
|
12
|
+
environmentDocumentIndexId: string;
|
|
11
13
|
/** Vellum-generated ID that uniquely identifies the index this document is included in. */
|
|
12
14
|
documentIndexId: string;
|
|
13
15
|
/**
|
|
@@ -8,6 +8,8 @@ import * as Vellum from "../index";
|
|
|
8
8
|
export interface SlimDocumentDocumentToDocumentIndex {
|
|
9
9
|
/** Vellum-generated ID that uniquely identifies this link. */
|
|
10
10
|
id: string;
|
|
11
|
+
/** Vellum-generated ID that uniquely identifies the environment index this document is included in. */
|
|
12
|
+
environmentDocumentIndexId: string;
|
|
11
13
|
/** Vellum-generated ID that uniquely identifies the index this document is included in. */
|
|
12
14
|
documentIndexId: string;
|
|
13
15
|
/**
|
|
@@ -9,6 +9,7 @@ export declare const DocumentDocumentToDocumentIndex: core.serialization.ObjectS
|
|
|
9
9
|
export declare namespace DocumentDocumentToDocumentIndex {
|
|
10
10
|
interface Raw {
|
|
11
11
|
id: string;
|
|
12
|
+
environment_document_index_id: string;
|
|
12
13
|
document_index_id: string;
|
|
13
14
|
indexing_state?: IndexingStateEnum.Raw | null;
|
|
14
15
|
extracted_text_file_url?: (string | null) | null;
|
|
@@ -41,6 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const IndexingStateEnum_1 = require("./IndexingStateEnum");
|
|
42
42
|
exports.DocumentDocumentToDocumentIndex = core.serialization.object({
|
|
43
43
|
id: core.serialization.string(),
|
|
44
|
+
environmentDocumentIndexId: core.serialization.property("environment_document_index_id", core.serialization.string()),
|
|
44
45
|
documentIndexId: core.serialization.property("document_index_id", core.serialization.string()),
|
|
45
46
|
indexingState: core.serialization.property("indexing_state", IndexingStateEnum_1.IndexingStateEnum.optional()),
|
|
46
47
|
extractedTextFileUrl: core.serialization.property("extracted_text_file_url", core.serialization.string().optionalNullable()),
|
|
@@ -9,6 +9,7 @@ export declare const SlimDocumentDocumentToDocumentIndex: core.serialization.Obj
|
|
|
9
9
|
export declare namespace SlimDocumentDocumentToDocumentIndex {
|
|
10
10
|
interface Raw {
|
|
11
11
|
id: string;
|
|
12
|
+
environment_document_index_id: string;
|
|
12
13
|
document_index_id: string;
|
|
13
14
|
indexing_state?: IndexingStateEnum.Raw | null;
|
|
14
15
|
}
|
|
@@ -41,6 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const IndexingStateEnum_1 = require("./IndexingStateEnum");
|
|
42
42
|
exports.SlimDocumentDocumentToDocumentIndex = core.serialization.object({
|
|
43
43
|
id: core.serialization.string(),
|
|
44
|
+
environmentDocumentIndexId: core.serialization.property("environment_document_index_id", core.serialization.string()),
|
|
44
45
|
documentIndexId: core.serialization.property("document_index_id", core.serialization.string()),
|
|
45
46
|
indexingState: core.serialization.property("indexing_state", IndexingStateEnum_1.IndexingStateEnum.optional()),
|
|
46
47
|
});
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.14.
|
|
1
|
+
export declare const SDK_VERSION = "0.14.60";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -549,7 +549,7 @@ await client.deployments.retrieve("id");
|
|
|
549
549
|
<dl>
|
|
550
550
|
<dd>
|
|
551
551
|
|
|
552
|
-
**id:** `string` — Either the Deployment's ID or its unique name
|
|
552
|
+
**id:** `string` — Either the Prompt Deployment's ID or its unique name
|
|
553
553
|
|
|
554
554
|
</dd>
|
|
555
555
|
</dl>
|
|
@@ -621,7 +621,7 @@ await client.deployments.deploymentHistoryItemRetrieve("history_id_or_release_ta
|
|
|
621
621
|
<dl>
|
|
622
622
|
<dd>
|
|
623
623
|
|
|
624
|
-
**id:** `string` —
|
|
624
|
+
**id:** `string` — Either the Prompt Deployment's ID or its unique name
|
|
625
625
|
|
|
626
626
|
</dd>
|
|
627
627
|
</dl>
|
|
@@ -755,7 +755,7 @@ await client.deployments.retrieveDeploymentReleaseTag("id", "name");
|
|
|
755
755
|
<dl>
|
|
756
756
|
<dd>
|
|
757
757
|
|
|
758
|
-
**id:** `string` —
|
|
758
|
+
**id:** `string` — Either the Prompt Deployment's ID or its unique name
|
|
759
759
|
|
|
760
760
|
</dd>
|
|
761
761
|
</dl>
|
|
@@ -826,7 +826,7 @@ await client.deployments.updateDeploymentReleaseTag("id", "name");
|
|
|
826
826
|
<dl>
|
|
827
827
|
<dd>
|
|
828
828
|
|
|
829
|
-
**id:** `string` —
|
|
829
|
+
**id:** `string` — Either the Prompt Deployment's ID or its unique name
|
|
830
830
|
|
|
831
831
|
</dd>
|
|
832
832
|
</dl>
|
|
@@ -905,7 +905,7 @@ await client.deployments.retrievePromptDeploymentRelease("id", "release_id_or_re
|
|
|
905
905
|
<dl>
|
|
906
906
|
<dd>
|
|
907
907
|
|
|
908
|
-
**id:** `string` —
|
|
908
|
+
**id:** `string` — Either the Prompt Deployment's ID or its unique name
|
|
909
909
|
|
|
910
910
|
</dd>
|
|
911
911
|
</dl>
|
|
@@ -3512,7 +3512,7 @@ await client.workflowDeployments.workflowDeploymentHistoryItemRetrieve("history_
|
|
|
3512
3512
|
<dl>
|
|
3513
3513
|
<dd>
|
|
3514
3514
|
|
|
3515
|
-
**id:** `string` —
|
|
3515
|
+
**id:** `string` — Either the Workflow Deployment's ID or its unique name
|
|
3516
3516
|
|
|
3517
3517
|
</dd>
|
|
3518
3518
|
</dl>
|
|
@@ -3646,7 +3646,7 @@ await client.workflowDeployments.retrieveWorkflowReleaseTag("id", "name");
|
|
|
3646
3646
|
<dl>
|
|
3647
3647
|
<dd>
|
|
3648
3648
|
|
|
3649
|
-
**id:** `string` —
|
|
3649
|
+
**id:** `string` — Either the Workflow Deployment's ID or its unique name
|
|
3650
3650
|
|
|
3651
3651
|
</dd>
|
|
3652
3652
|
</dl>
|
|
@@ -3717,7 +3717,7 @@ await client.workflowDeployments.updateWorkflowReleaseTag("id", "name");
|
|
|
3717
3717
|
<dl>
|
|
3718
3718
|
<dd>
|
|
3719
3719
|
|
|
3720
|
-
**id:** `string` —
|
|
3720
|
+
**id:** `string` — Either the Workflow Deployment's ID or its unique name
|
|
3721
3721
|
|
|
3722
3722
|
</dd>
|
|
3723
3723
|
</dl>
|
|
@@ -3798,7 +3798,7 @@ await client.releaseReviews.retrieveWorkflowDeploymentRelease("id", "release_id_
|
|
|
3798
3798
|
<dl>
|
|
3799
3799
|
<dd>
|
|
3800
3800
|
|
|
3801
|
-
**id:** `string` —
|
|
3801
|
+
**id:** `string` — Either the Workflow Deployment's ID or its unique name
|
|
3802
3802
|
|
|
3803
3803
|
</dd>
|
|
3804
3804
|
</dl>
|
|
@@ -9,6 +9,7 @@ export declare const DocumentDocumentToDocumentIndex: core.serialization.ObjectS
|
|
|
9
9
|
export declare namespace DocumentDocumentToDocumentIndex {
|
|
10
10
|
interface Raw {
|
|
11
11
|
id: string;
|
|
12
|
+
environment_document_index_id: string;
|
|
12
13
|
document_index_id: string;
|
|
13
14
|
indexing_state?: IndexingStateEnum.Raw | null;
|
|
14
15
|
extracted_text_file_url?: (string | null) | null;
|
|
@@ -41,6 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const IndexingStateEnum_1 = require("./IndexingStateEnum");
|
|
42
42
|
exports.DocumentDocumentToDocumentIndex = core.serialization.object({
|
|
43
43
|
id: core.serialization.string(),
|
|
44
|
+
environmentDocumentIndexId: core.serialization.property("environment_document_index_id", core.serialization.string()),
|
|
44
45
|
documentIndexId: core.serialization.property("document_index_id", core.serialization.string()),
|
|
45
46
|
indexingState: core.serialization.property("indexing_state", IndexingStateEnum_1.IndexingStateEnum.optional()),
|
|
46
47
|
extractedTextFileUrl: core.serialization.property("extracted_text_file_url", core.serialization.string().optionalNullable()),
|
|
@@ -9,6 +9,7 @@ export declare const SlimDocumentDocumentToDocumentIndex: core.serialization.Obj
|
|
|
9
9
|
export declare namespace SlimDocumentDocumentToDocumentIndex {
|
|
10
10
|
interface Raw {
|
|
11
11
|
id: string;
|
|
12
|
+
environment_document_index_id: string;
|
|
12
13
|
document_index_id: string;
|
|
13
14
|
indexing_state?: IndexingStateEnum.Raw | null;
|
|
14
15
|
}
|
|
@@ -41,6 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const IndexingStateEnum_1 = require("./IndexingStateEnum");
|
|
42
42
|
exports.SlimDocumentDocumentToDocumentIndex = core.serialization.object({
|
|
43
43
|
id: core.serialization.string(),
|
|
44
|
+
environmentDocumentIndexId: core.serialization.property("environment_document_index_id", core.serialization.string()),
|
|
44
45
|
documentIndexId: core.serialization.property("document_index_id", core.serialization.string()),
|
|
45
46
|
indexingState: core.serialization.property("indexing_state", IndexingStateEnum_1.IndexingStateEnum.optional()),
|
|
46
47
|
});
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.14.
|
|
1
|
+
export declare const SDK_VERSION = "0.14.60";
|
package/version.js
CHANGED