vellum-ai 0.14.31 → 0.14.33
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 -0
- package/Client.js +24 -19
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +7 -7
- 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 -0
- package/api/resources/index.js +2 -1
- 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 +1 -1
- package/api/resources/releaseReviews/client/Client.d.ts +42 -0
- package/api/resources/releaseReviews/client/Client.js +121 -0
- package/api/resources/releaseReviews/client/index.d.ts +1 -0
- package/api/resources/releaseReviews/client/index.js +2 -0
- package/api/resources/releaseReviews/index.d.ts +1 -0
- package/api/resources/releaseReviews/index.js +17 -0
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +8 -8
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/ReleaseCreatedBy.d.ts +8 -0
- package/api/types/ReleaseCreatedBy.js +5 -0
- package/api/types/ReleaseEnvironment.d.ts +8 -0
- package/api/types/ReleaseEnvironment.js +5 -0
- package/api/types/ReleaseReleaseTag.d.ts +15 -0
- package/api/types/ReleaseReleaseTag.js +5 -0
- package/api/types/ReleaseReviewReviewer.d.ts +7 -0
- package/api/types/ReleaseReviewReviewer.js +5 -0
- package/api/types/ReleaseReviewState.d.ts +14 -0
- package/api/types/ReleaseReviewState.js +11 -0
- package/api/types/SlimReleaseReview.d.ts +10 -0
- package/api/types/SlimReleaseReview.js +5 -0
- package/api/types/WorkflowDeploymentRelease.d.ts +14 -0
- package/api/types/WorkflowDeploymentRelease.js +5 -0
- package/api/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +6 -0
- package/api/types/WorkflowDeploymentReleaseWorkflowVersion.js +5 -0
- package/api/types/index.d.ts +8 -0
- package/api/types/index.js +8 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +24 -19
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +7 -7
- 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 -0
- package/dist/api/resources/index.js +2 -1
- 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 +1 -1
- package/dist/api/resources/releaseReviews/client/Client.d.ts +42 -0
- package/dist/api/resources/releaseReviews/client/Client.js +121 -0
- package/dist/api/resources/releaseReviews/client/index.d.ts +1 -0
- package/dist/api/resources/releaseReviews/client/index.js +2 -0
- package/dist/api/resources/releaseReviews/index.d.ts +1 -0
- package/dist/api/resources/releaseReviews/index.js +17 -0
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/ReleaseCreatedBy.d.ts +8 -0
- package/dist/api/types/ReleaseCreatedBy.js +5 -0
- package/dist/api/types/ReleaseEnvironment.d.ts +8 -0
- package/dist/api/types/ReleaseEnvironment.js +5 -0
- package/dist/api/types/ReleaseReleaseTag.d.ts +15 -0
- package/dist/api/types/ReleaseReleaseTag.js +5 -0
- package/dist/api/types/ReleaseReviewReviewer.d.ts +7 -0
- package/dist/api/types/ReleaseReviewReviewer.js +5 -0
- package/dist/api/types/ReleaseReviewState.d.ts +14 -0
- package/dist/api/types/ReleaseReviewState.js +11 -0
- package/dist/api/types/SlimReleaseReview.d.ts +10 -0
- package/dist/api/types/SlimReleaseReview.js +5 -0
- package/dist/api/types/WorkflowDeploymentRelease.d.ts +14 -0
- package/dist/api/types/WorkflowDeploymentRelease.js +5 -0
- package/dist/api/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +6 -0
- package/dist/api/types/WorkflowDeploymentReleaseWorkflowVersion.js +5 -0
- package/dist/api/types/index.d.ts +8 -0
- package/dist/api/types/index.js +8 -0
- package/dist/serialization/types/ReleaseCreatedBy.d.ts +14 -0
- package/dist/serialization/types/ReleaseCreatedBy.js +45 -0
- package/dist/serialization/types/ReleaseEnvironment.d.ts +14 -0
- package/dist/serialization/types/ReleaseEnvironment.js +45 -0
- package/dist/serialization/types/ReleaseReleaseTag.d.ts +14 -0
- package/dist/serialization/types/ReleaseReleaseTag.js +45 -0
- package/dist/serialization/types/ReleaseReviewReviewer.d.ts +13 -0
- package/dist/serialization/types/ReleaseReviewReviewer.js +44 -0
- package/dist/serialization/types/ReleaseReviewState.d.ts +10 -0
- package/dist/serialization/types/ReleaseReviewState.js +41 -0
- package/dist/serialization/types/SlimReleaseReview.d.ts +17 -0
- package/dist/serialization/types/SlimReleaseReview.js +48 -0
- package/dist/serialization/types/WorkflowDeploymentRelease.d.ts +24 -0
- package/dist/serialization/types/WorkflowDeploymentRelease.js +55 -0
- package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +12 -0
- package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.js +43 -0
- package/dist/serialization/types/index.d.ts +8 -0
- package/dist/serialization/types/index.js +8 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +73 -0
- package/serialization/types/ReleaseCreatedBy.d.ts +14 -0
- package/serialization/types/ReleaseCreatedBy.js +45 -0
- package/serialization/types/ReleaseEnvironment.d.ts +14 -0
- package/serialization/types/ReleaseEnvironment.js +45 -0
- package/serialization/types/ReleaseReleaseTag.d.ts +14 -0
- package/serialization/types/ReleaseReleaseTag.js +45 -0
- package/serialization/types/ReleaseReviewReviewer.d.ts +13 -0
- package/serialization/types/ReleaseReviewReviewer.js +44 -0
- package/serialization/types/ReleaseReviewState.d.ts +10 -0
- package/serialization/types/ReleaseReviewState.js +41 -0
- package/serialization/types/SlimReleaseReview.d.ts +17 -0
- package/serialization/types/SlimReleaseReview.js +48 -0
- package/serialization/types/WorkflowDeploymentRelease.d.ts +24 -0
- package/serialization/types/WorkflowDeploymentRelease.js +55 -0
- package/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +12 -0
- package/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.js +43 -0
- package/serialization/types/index.d.ts +8 -0
- package/serialization/types/index.js +8 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/api/types/index.d.ts
CHANGED
|
@@ -315,6 +315,11 @@ export * from "./RejectedExecutePromptResponse";
|
|
|
315
315
|
export * from "./RejectedExecuteWorkflowWorkflowResultEvent";
|
|
316
316
|
export * from "./RejectedPromptExecutionMeta";
|
|
317
317
|
export * from "./RejectedWorkflowNodeResultEvent";
|
|
318
|
+
export * from "./ReleaseCreatedBy";
|
|
319
|
+
export * from "./ReleaseEnvironment";
|
|
320
|
+
export * from "./ReleaseReleaseTag";
|
|
321
|
+
export * from "./ReleaseReviewReviewer";
|
|
322
|
+
export * from "./ReleaseReviewState";
|
|
318
323
|
export * from "./ReleaseTagRelease";
|
|
319
324
|
export * from "./ReleaseTagSource";
|
|
320
325
|
export * from "./ReplaceTestSuiteTestCaseRequest";
|
|
@@ -351,6 +356,7 @@ export * from "./SentenceChunkingRequest";
|
|
|
351
356
|
export * from "./SlimDeploymentRead";
|
|
352
357
|
export * from "./SlimDocument";
|
|
353
358
|
export * from "./SlimDocumentDocumentToDocumentIndex";
|
|
359
|
+
export * from "./SlimReleaseReview";
|
|
354
360
|
export * from "./SlimWorkflowDeployment";
|
|
355
361
|
export * from "./SlimWorkflowExecutionRead";
|
|
356
362
|
export * from "./SpanLink";
|
|
@@ -494,6 +500,8 @@ export * from "./WorkflowDeploymentEventExecutionsResponse";
|
|
|
494
500
|
export * from "./WorkflowDeploymentHistoryItem";
|
|
495
501
|
export * from "./WorkflowDeploymentParentContext";
|
|
496
502
|
export * from "./WorkflowDeploymentRead";
|
|
503
|
+
export * from "./WorkflowDeploymentRelease";
|
|
504
|
+
export * from "./WorkflowDeploymentReleaseWorkflowVersion";
|
|
497
505
|
export * from "./WorkflowError";
|
|
498
506
|
export * from "./WorkflowEventDisplayContext";
|
|
499
507
|
export * from "./WorkflowEventError";
|
package/api/types/index.js
CHANGED
|
@@ -331,6 +331,11 @@ __exportStar(require("./RejectedExecutePromptResponse"), exports);
|
|
|
331
331
|
__exportStar(require("./RejectedExecuteWorkflowWorkflowResultEvent"), exports);
|
|
332
332
|
__exportStar(require("./RejectedPromptExecutionMeta"), exports);
|
|
333
333
|
__exportStar(require("./RejectedWorkflowNodeResultEvent"), exports);
|
|
334
|
+
__exportStar(require("./ReleaseCreatedBy"), exports);
|
|
335
|
+
__exportStar(require("./ReleaseEnvironment"), exports);
|
|
336
|
+
__exportStar(require("./ReleaseReleaseTag"), exports);
|
|
337
|
+
__exportStar(require("./ReleaseReviewReviewer"), exports);
|
|
338
|
+
__exportStar(require("./ReleaseReviewState"), exports);
|
|
334
339
|
__exportStar(require("./ReleaseTagRelease"), exports);
|
|
335
340
|
__exportStar(require("./ReleaseTagSource"), exports);
|
|
336
341
|
__exportStar(require("./ReplaceTestSuiteTestCaseRequest"), exports);
|
|
@@ -367,6 +372,7 @@ __exportStar(require("./SentenceChunkingRequest"), exports);
|
|
|
367
372
|
__exportStar(require("./SlimDeploymentRead"), exports);
|
|
368
373
|
__exportStar(require("./SlimDocument"), exports);
|
|
369
374
|
__exportStar(require("./SlimDocumentDocumentToDocumentIndex"), exports);
|
|
375
|
+
__exportStar(require("./SlimReleaseReview"), exports);
|
|
370
376
|
__exportStar(require("./SlimWorkflowDeployment"), exports);
|
|
371
377
|
__exportStar(require("./SlimWorkflowExecutionRead"), exports);
|
|
372
378
|
__exportStar(require("./SpanLink"), exports);
|
|
@@ -510,6 +516,8 @@ __exportStar(require("./WorkflowDeploymentEventExecutionsResponse"), exports);
|
|
|
510
516
|
__exportStar(require("./WorkflowDeploymentHistoryItem"), exports);
|
|
511
517
|
__exportStar(require("./WorkflowDeploymentParentContext"), exports);
|
|
512
518
|
__exportStar(require("./WorkflowDeploymentRead"), exports);
|
|
519
|
+
__exportStar(require("./WorkflowDeploymentRelease"), exports);
|
|
520
|
+
__exportStar(require("./WorkflowDeploymentReleaseWorkflowVersion"), exports);
|
|
513
521
|
__exportStar(require("./WorkflowError"), exports);
|
|
514
522
|
__exportStar(require("./WorkflowEventDisplayContext"), exports);
|
|
515
523
|
__exportStar(require("./WorkflowEventError"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { Sandboxes } from "./api/resources/sandboxes/client/Client";
|
|
|
18
18
|
import { TestSuiteRuns } from "./api/resources/testSuiteRuns/client/Client";
|
|
19
19
|
import { TestSuites } from "./api/resources/testSuites/client/Client";
|
|
20
20
|
import { WorkflowDeployments } from "./api/resources/workflowDeployments/client/Client";
|
|
21
|
+
import { ReleaseReviews } from "./api/resources/releaseReviews/client/Client";
|
|
21
22
|
import { WorkflowSandboxes } from "./api/resources/workflowSandboxes/client/Client";
|
|
22
23
|
import { Workflows } from "./api/resources/workflows/client/Client";
|
|
23
24
|
import { WorkspaceSecrets } from "./api/resources/workspaceSecrets/client/Client";
|
|
@@ -56,6 +57,7 @@ export declare class VellumClient {
|
|
|
56
57
|
protected _testSuiteRuns: TestSuiteRuns | undefined;
|
|
57
58
|
protected _testSuites: TestSuites | undefined;
|
|
58
59
|
protected _workflowDeployments: WorkflowDeployments | undefined;
|
|
60
|
+
protected _releaseReviews: ReleaseReviews | undefined;
|
|
59
61
|
protected _workflowSandboxes: WorkflowSandboxes | undefined;
|
|
60
62
|
protected _workflows: Workflows | undefined;
|
|
61
63
|
protected _workspaceSecrets: WorkspaceSecrets | undefined;
|
|
@@ -75,6 +77,7 @@ export declare class VellumClient {
|
|
|
75
77
|
get testSuiteRuns(): TestSuiteRuns;
|
|
76
78
|
get testSuites(): TestSuites;
|
|
77
79
|
get workflowDeployments(): WorkflowDeployments;
|
|
80
|
+
get releaseReviews(): ReleaseReviews;
|
|
78
81
|
get workflowSandboxes(): WorkflowSandboxes;
|
|
79
82
|
get workflows(): Workflows;
|
|
80
83
|
get workspaceSecrets(): WorkspaceSecrets;
|
package/dist/Client.js
CHANGED
|
@@ -69,10 +69,11 @@ const Client_11 = require("./api/resources/sandboxes/client/Client");
|
|
|
69
69
|
const Client_12 = require("./api/resources/testSuiteRuns/client/Client");
|
|
70
70
|
const Client_13 = require("./api/resources/testSuites/client/Client");
|
|
71
71
|
const Client_14 = require("./api/resources/workflowDeployments/client/Client");
|
|
72
|
-
const Client_15 = require("./api/resources/
|
|
73
|
-
const Client_16 = require("./api/resources/
|
|
74
|
-
const Client_17 = require("./api/resources/
|
|
75
|
-
const Client_18 = require("./api/resources/
|
|
72
|
+
const Client_15 = require("./api/resources/releaseReviews/client/Client");
|
|
73
|
+
const Client_16 = require("./api/resources/workflowSandboxes/client/Client");
|
|
74
|
+
const Client_17 = require("./api/resources/workflows/client/Client");
|
|
75
|
+
const Client_18 = require("./api/resources/workspaceSecrets/client/Client");
|
|
76
|
+
const Client_19 = require("./api/resources/workspaces/client/Client");
|
|
76
77
|
class VellumClient {
|
|
77
78
|
constructor(_options) {
|
|
78
79
|
this._options = _options;
|
|
@@ -133,21 +134,25 @@ class VellumClient {
|
|
|
133
134
|
var _a;
|
|
134
135
|
return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new Client_14.WorkflowDeployments(this._options)));
|
|
135
136
|
}
|
|
137
|
+
get releaseReviews() {
|
|
138
|
+
var _a;
|
|
139
|
+
return ((_a = this._releaseReviews) !== null && _a !== void 0 ? _a : (this._releaseReviews = new Client_15.ReleaseReviews(this._options)));
|
|
140
|
+
}
|
|
136
141
|
get workflowSandboxes() {
|
|
137
142
|
var _a;
|
|
138
|
-
return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new
|
|
143
|
+
return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new Client_16.WorkflowSandboxes(this._options)));
|
|
139
144
|
}
|
|
140
145
|
get workflows() {
|
|
141
146
|
var _a;
|
|
142
|
-
return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new
|
|
147
|
+
return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new Client_17.Workflows(this._options)));
|
|
143
148
|
}
|
|
144
149
|
get workspaceSecrets() {
|
|
145
150
|
var _a;
|
|
146
|
-
return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new
|
|
151
|
+
return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new Client_18.WorkspaceSecrets(this._options)));
|
|
147
152
|
}
|
|
148
153
|
get workspaces() {
|
|
149
154
|
var _a;
|
|
150
|
-
return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new
|
|
155
|
+
return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new Client_19.Workspaces(this._options)));
|
|
151
156
|
}
|
|
152
157
|
/**
|
|
153
158
|
* @param {Vellum.ExecuteApiRequest} request
|
|
@@ -165,7 +170,7 @@ class VellumClient {
|
|
|
165
170
|
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)
|
|
166
171
|
.default, "v1/execute-api"),
|
|
167
172
|
method: "POST",
|
|
168
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
173
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
169
174
|
contentType: "application/json",
|
|
170
175
|
requestType: "json",
|
|
171
176
|
body: serializers.ExecuteApiRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -231,7 +236,7 @@ class VellumClient {
|
|
|
231
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)
|
|
232
237
|
.predict, "v1/execute-code"),
|
|
233
238
|
method: "POST",
|
|
234
|
-
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.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
235
240
|
contentType: "application/json",
|
|
236
241
|
requestType: "json",
|
|
237
242
|
body: serializers.CodeExecutor.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -300,7 +305,7 @@ class VellumClient {
|
|
|
300
305
|
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)
|
|
301
306
|
.predict, "v1/execute-prompt"),
|
|
302
307
|
method: "POST",
|
|
303
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
308
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
304
309
|
contentType: "application/json",
|
|
305
310
|
requestType: "json",
|
|
306
311
|
body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -358,7 +363,7 @@ class VellumClient {
|
|
|
358
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)
|
|
359
364
|
.predict, "v1/execute-prompt-stream"),
|
|
360
365
|
method: "POST",
|
|
361
|
-
headers: 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({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
362
367
|
contentType: "application/json",
|
|
363
368
|
requestType: "json",
|
|
364
369
|
body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -443,7 +448,7 @@ class VellumClient {
|
|
|
443
448
|
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)
|
|
444
449
|
.predict, "v1/execute-workflow"),
|
|
445
450
|
method: "POST",
|
|
446
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
451
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
447
452
|
contentType: "application/json",
|
|
448
453
|
requestType: "json",
|
|
449
454
|
body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -499,7 +504,7 @@ class VellumClient {
|
|
|
499
504
|
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)
|
|
500
505
|
.predict, "v1/execute-workflow-stream"),
|
|
501
506
|
method: "POST",
|
|
502
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
507
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
503
508
|
contentType: "application/json",
|
|
504
509
|
requestType: "json",
|
|
505
510
|
body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -586,7 +591,7 @@ class VellumClient {
|
|
|
586
591
|
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)
|
|
587
592
|
.predict, "v1/generate"),
|
|
588
593
|
method: "POST",
|
|
589
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
594
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
590
595
|
contentType: "application/json",
|
|
591
596
|
requestType: "json",
|
|
592
597
|
body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -647,7 +652,7 @@ class VellumClient {
|
|
|
647
652
|
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)
|
|
648
653
|
.predict, "v1/generate-stream"),
|
|
649
654
|
method: "POST",
|
|
650
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
655
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
651
656
|
contentType: "application/json",
|
|
652
657
|
requestType: "json",
|
|
653
658
|
body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -728,7 +733,7 @@ class VellumClient {
|
|
|
728
733
|
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)
|
|
729
734
|
.predict, "v1/search"),
|
|
730
735
|
method: "POST",
|
|
731
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
736
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
732
737
|
contentType: "application/json",
|
|
733
738
|
requestType: "json",
|
|
734
739
|
body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -796,7 +801,7 @@ class VellumClient {
|
|
|
796
801
|
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)
|
|
797
802
|
.predict, "v1/submit-completion-actuals"),
|
|
798
803
|
method: "POST",
|
|
799
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
804
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
800
805
|
contentType: "application/json",
|
|
801
806
|
requestType: "json",
|
|
802
807
|
body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -859,7 +864,7 @@ class VellumClient {
|
|
|
859
864
|
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)
|
|
860
865
|
.predict, "v1/submit-workflow-execution-actuals"),
|
|
861
866
|
method: "POST",
|
|
862
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
867
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
863
868
|
contentType: "application/json",
|
|
864
869
|
requestType: "json",
|
|
865
870
|
body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -66,7 +66,7 @@ class AdHoc {
|
|
|
66
66
|
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)
|
|
67
67
|
.predict, "v1/ad-hoc/execute-prompt-stream"),
|
|
68
68
|
method: "POST",
|
|
69
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
69
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
requestType: "json",
|
|
72
72
|
body: serializers.AdHocExecutePromptStream.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -85,7 +85,7 @@ class ContainerImages {
|
|
|
85
85
|
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)
|
|
86
86
|
.default, "v1/container-images"),
|
|
87
87
|
method: "GET",
|
|
88
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
88
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
89
89
|
contentType: "application/json",
|
|
90
90
|
queryParameters: _queryParams,
|
|
91
91
|
requestType: "json",
|
|
@@ -138,7 +138,7 @@ class ContainerImages {
|
|
|
138
138
|
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)
|
|
139
139
|
.default, `v1/container-images/${encodeURIComponent(id)}`),
|
|
140
140
|
method: "GET",
|
|
141
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
141
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
142
142
|
contentType: "application/json",
|
|
143
143
|
requestType: "json",
|
|
144
144
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -187,7 +187,7 @@ class ContainerImages {
|
|
|
187
187
|
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)
|
|
188
188
|
.default, "v1/container-images/docker-service-token"),
|
|
189
189
|
method: "GET",
|
|
190
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
190
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
191
191
|
contentType: "application/json",
|
|
192
192
|
requestType: "json",
|
|
193
193
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -241,7 +241,7 @@ class ContainerImages {
|
|
|
241
241
|
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)
|
|
242
242
|
.default, "v1/container-images/push"),
|
|
243
243
|
method: "POST",
|
|
244
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
244
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
245
245
|
contentType: "application/json",
|
|
246
246
|
requestType: "json",
|
|
247
247
|
body: serializers.PushContainerImageRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -91,7 +91,7 @@ class Deployments {
|
|
|
91
91
|
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)
|
|
92
92
|
.default, "v1/deployments"),
|
|
93
93
|
method: "GET",
|
|
94
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
94
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
95
95
|
contentType: "application/json",
|
|
96
96
|
queryParameters: _queryParams,
|
|
97
97
|
requestType: "json",
|
|
@@ -144,7 +144,7 @@ class Deployments {
|
|
|
144
144
|
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)
|
|
145
145
|
.default, `v1/deployments/${encodeURIComponent(id)}`),
|
|
146
146
|
method: "GET",
|
|
147
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
147
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
148
148
|
contentType: "application/json",
|
|
149
149
|
requestType: "json",
|
|
150
150
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -197,7 +197,7 @@ class Deployments {
|
|
|
197
197
|
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)
|
|
198
198
|
.default, `v1/deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
|
|
199
199
|
method: "GET",
|
|
200
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
200
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
201
201
|
contentType: "application/json",
|
|
202
202
|
requestType: "json",
|
|
203
203
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -266,7 +266,7 @@ class Deployments {
|
|
|
266
266
|
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)
|
|
267
267
|
.default, `v1/deployments/${encodeURIComponent(id)}/release-tags`),
|
|
268
268
|
method: "GET",
|
|
269
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
269
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
270
270
|
contentType: "application/json",
|
|
271
271
|
queryParameters: _queryParams,
|
|
272
272
|
requestType: "json",
|
|
@@ -320,7 +320,7 @@ class Deployments {
|
|
|
320
320
|
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)
|
|
321
321
|
.default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
322
322
|
method: "GET",
|
|
323
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
323
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
324
324
|
contentType: "application/json",
|
|
325
325
|
requestType: "json",
|
|
326
326
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -374,7 +374,7 @@ class Deployments {
|
|
|
374
374
|
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)
|
|
375
375
|
.default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
376
376
|
method: "PATCH",
|
|
377
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
377
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
378
378
|
contentType: "application/json",
|
|
379
379
|
requestType: "json",
|
|
380
380
|
body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -449,7 +449,7 @@ class Deployments {
|
|
|
449
449
|
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)
|
|
450
450
|
.default, "v1/deployments/provider-payload"),
|
|
451
451
|
method: "POST",
|
|
452
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
452
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
453
453
|
contentType: "application/json",
|
|
454
454
|
requestType: "json",
|
|
455
455
|
body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|
|
@@ -93,7 +93,7 @@ class DocumentIndexes {
|
|
|
93
93
|
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)
|
|
94
94
|
.default, "v1/document-indexes"),
|
|
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.33", "User-Agent": "vellum-ai/0.14.33", "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",
|
|
@@ -208,7 +208,7 @@ class DocumentIndexes {
|
|
|
208
208
|
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)
|
|
209
209
|
.default, "v1/document-indexes"),
|
|
210
210
|
method: "POST",
|
|
211
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
211
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
212
212
|
contentType: "application/json",
|
|
213
213
|
requestType: "json",
|
|
214
214
|
body: serializers.DocumentIndexCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -261,7 +261,7 @@ class DocumentIndexes {
|
|
|
261
261
|
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)
|
|
262
262
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
263
263
|
method: "GET",
|
|
264
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
264
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
265
265
|
contentType: "application/json",
|
|
266
266
|
requestType: "json",
|
|
267
267
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -316,7 +316,7 @@ class DocumentIndexes {
|
|
|
316
316
|
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)
|
|
317
317
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
318
318
|
method: "PUT",
|
|
319
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
319
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
320
320
|
contentType: "application/json",
|
|
321
321
|
requestType: "json",
|
|
322
322
|
body: serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -369,7 +369,7 @@ class DocumentIndexes {
|
|
|
369
369
|
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)
|
|
370
370
|
.documents, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
371
371
|
method: "DELETE",
|
|
372
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
372
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
373
373
|
contentType: "application/json",
|
|
374
374
|
requestType: "json",
|
|
375
375
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -417,7 +417,7 @@ class DocumentIndexes {
|
|
|
417
417
|
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)
|
|
418
418
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
419
419
|
method: "PATCH",
|
|
420
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
420
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
421
421
|
contentType: "application/json",
|
|
422
422
|
requestType: "json",
|
|
423
423
|
body: serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
|
|
@@ -473,7 +473,7 @@ class DocumentIndexes {
|
|
|
473
473
|
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)
|
|
474
474
|
.default, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
|
|
475
475
|
method: "POST",
|
|
476
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
476
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
477
477
|
contentType: "application/json",
|
|
478
478
|
requestType: "json",
|
|
479
479
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -521,7 +521,7 @@ class DocumentIndexes {
|
|
|
521
521
|
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)
|
|
522
522
|
.documents, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
|
|
523
523
|
method: "DELETE",
|
|
524
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
524
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
525
525
|
contentType: "application/json",
|
|
526
526
|
requestType: "json",
|
|
527
527
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -92,7 +92,7 @@ class Documents {
|
|
|
92
92
|
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)
|
|
93
93
|
.default, "v1/documents"),
|
|
94
94
|
method: "GET",
|
|
95
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
95
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
96
96
|
contentType: "application/json",
|
|
97
97
|
queryParameters: _queryParams,
|
|
98
98
|
requestType: "json",
|
|
@@ -145,7 +145,7 @@ class Documents {
|
|
|
145
145
|
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)
|
|
146
146
|
.default, `v1/documents/${encodeURIComponent(id)}`),
|
|
147
147
|
method: "GET",
|
|
148
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
148
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
149
149
|
contentType: "application/json",
|
|
150
150
|
requestType: "json",
|
|
151
151
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -197,7 +197,7 @@ class Documents {
|
|
|
197
197
|
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)
|
|
198
198
|
.documents, `v1/documents/${encodeURIComponent(id)}`),
|
|
199
199
|
method: "DELETE",
|
|
200
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
200
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
201
201
|
contentType: "application/json",
|
|
202
202
|
requestType: "json",
|
|
203
203
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -245,7 +245,7 @@ class Documents {
|
|
|
245
245
|
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)
|
|
246
246
|
.default, `v1/documents/${encodeURIComponent(id)}`),
|
|
247
247
|
method: "PATCH",
|
|
248
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
248
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
249
249
|
contentType: "application/json",
|
|
250
250
|
requestType: "json",
|
|
251
251
|
body: serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -327,7 +327,7 @@ class Documents {
|
|
|
327
327
|
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)
|
|
328
328
|
.documents, "v1/upload-document"),
|
|
329
329
|
method: "POST",
|
|
330
|
-
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
330
|
+
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
331
331
|
requestType: "file",
|
|
332
332
|
duplex: _maybeEncodedRequest.duplex,
|
|
333
333
|
body: _maybeEncodedRequest.body,
|
|
@@ -91,7 +91,7 @@ class FolderEntities {
|
|
|
91
91
|
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)
|
|
92
92
|
.default, "v1/folder-entities"),
|
|
93
93
|
method: "GET",
|
|
94
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
94
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
95
95
|
contentType: "application/json",
|
|
96
96
|
queryParameters: _queryParams,
|
|
97
97
|
requestType: "json",
|
|
@@ -154,7 +154,7 @@ class FolderEntities {
|
|
|
154
154
|
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)
|
|
155
155
|
.default, `v1/folders/${encodeURIComponent(folderId)}/add-entity`),
|
|
156
156
|
method: "POST",
|
|
157
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
157
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.33", "User-Agent": "vellum-ai/0.14.33", "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),
|
|
158
158
|
contentType: "application/json",
|
|
159
159
|
requestType: "json",
|
|
160
160
|
body: serializers.AddEntityToFolderRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -18,6 +18,7 @@ export * as prompts from "./prompts";
|
|
|
18
18
|
export * as sandboxes from "./sandboxes";
|
|
19
19
|
export * as testSuiteRuns from "./testSuiteRuns";
|
|
20
20
|
export * as testSuites from "./testSuites";
|
|
21
|
+
export * as releaseReviews from "./releaseReviews";
|
|
21
22
|
export * as workflows from "./workflows";
|
|
22
23
|
export * as workspaceSecrets from "./workspaceSecrets";
|
|
23
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.containerImages = exports.adHoc = exports.workflowSandboxes = exports.workflowDeployments = exports.folderEntities = exports.documentIndexes = exports.deployments = void 0;
|
|
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"));
|
|
@@ -57,6 +57,7 @@ exports.prompts = __importStar(require("./prompts"));
|
|
|
57
57
|
exports.sandboxes = __importStar(require("./sandboxes"));
|
|
58
58
|
exports.testSuiteRuns = __importStar(require("./testSuiteRuns"));
|
|
59
59
|
exports.testSuites = __importStar(require("./testSuites"));
|
|
60
|
+
exports.releaseReviews = __importStar(require("./releaseReviews"));
|
|
60
61
|
exports.workflows = __importStar(require("./workflows"));
|
|
61
62
|
exports.workspaceSecrets = __importStar(require("./workspaceSecrets"));
|
|
62
63
|
exports.workspaces = __importStar(require("./workspaces"));
|