vellum-ai 0.14.25 → 0.14.27
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 +32 -27
- 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 +3 -2
- package/api/resources/index.js +4 -3
- 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.d.ts +45 -0
- package/api/resources/prompts/client/Client.js +138 -0
- package/api/resources/prompts/client/index.d.ts +1 -0
- package/{dist/serialization/resources/workflows/types → api/resources/prompts/client}/index.js +1 -1
- package/api/resources/prompts/client/requests/PromptsPullRequest.d.ts +13 -0
- package/api/resources/prompts/client/requests/index.d.ts +1 -0
- package/api/resources/prompts/client/requests/index.js +2 -0
- package/api/resources/prompts/index.d.ts +1 -0
- package/{serialization/resources/workflows → api/resources/prompts}/index.js +1 -1
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +8 -8
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +4 -9
- package/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +0 -2
- package/api/resources/workflows/index.d.ts +0 -1
- package/api/resources/workflows/index.js +0 -1
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/DeploymentReleaseTagRead.d.ts +3 -1
- package/api/types/PromptExecConfig.d.ts +12 -0
- package/{dist/api/types/Release.d.ts → api/types/ReleaseTagRelease.d.ts} +1 -1
- package/{dist/api/resources/workflows/types/WorkflowsPullRequestFormat.js → api/types/ReleaseTagRelease.js} +0 -5
- package/api/types/WorkflowReleaseTagRead.d.ts +1 -1
- package/api/types/WorkflowReleaseTagWorkflowDeploymentHistoryItem.d.ts +0 -2
- package/api/types/index.d.ts +2 -1
- package/api/types/index.js +2 -1
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +32 -27
- 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 +3 -2
- package/dist/api/resources/index.js +4 -3
- 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.d.ts +45 -0
- package/dist/api/resources/prompts/client/Client.js +138 -0
- package/dist/api/resources/prompts/client/index.d.ts +1 -0
- package/{api/resources/workflows/types → dist/api/resources/prompts/client}/index.js +1 -1
- package/dist/api/resources/prompts/client/requests/PromptsPullRequest.d.ts +13 -0
- package/{api/resources/workflows/types/WorkflowsPullRequestFormat.js → dist/api/resources/prompts/client/requests/PromptsPullRequest.js} +0 -5
- package/dist/api/resources/prompts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/prompts/client/requests/index.js +2 -0
- package/dist/api/resources/prompts/index.d.ts +1 -0
- package/dist/{serialization/resources/workflows → api/resources/prompts}/index.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +4 -9
- package/dist/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +0 -2
- package/dist/api/resources/workflows/index.d.ts +0 -1
- package/dist/api/resources/workflows/index.js +0 -1
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/DeploymentReleaseTagRead.d.ts +3 -1
- package/dist/api/types/PromptExecConfig.d.ts +12 -0
- package/dist/api/types/PromptExecConfig.js +5 -0
- package/{api/types/Release.d.ts → dist/api/types/ReleaseTagRelease.d.ts} +1 -1
- package/dist/api/types/ReleaseTagRelease.js +5 -0
- package/dist/api/types/WorkflowReleaseTagRead.d.ts +1 -1
- package/dist/api/types/WorkflowReleaseTagWorkflowDeploymentHistoryItem.d.ts +0 -2
- package/dist/api/types/index.d.ts +2 -1
- package/dist/api/types/index.js +2 -1
- package/dist/serialization/resources/index.d.ts +0 -2
- package/dist/serialization/resources/index.js +1 -3
- package/dist/serialization/types/DeploymentReleaseTagRead.d.ts +2 -0
- package/dist/serialization/types/DeploymentReleaseTagRead.js +2 -0
- package/dist/serialization/types/PromptExecConfig.d.ts +21 -0
- package/dist/serialization/{resources/workflows/types/WorkflowsPullRequestFormat.js → types/PromptExecConfig.js} +15 -3
- package/dist/serialization/types/{Release.d.ts → ReleaseTagRelease.d.ts} +2 -2
- package/dist/serialization/types/{Release.js → ReleaseTagRelease.js} +2 -2
- package/dist/serialization/types/WorkflowReleaseTagRead.d.ts +2 -2
- package/dist/serialization/types/WorkflowReleaseTagRead.js +2 -2
- package/dist/serialization/types/index.d.ts +2 -1
- package/dist/serialization/types/index.js +2 -1
- 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/resources/index.d.ts +0 -2
- package/serialization/resources/index.js +1 -3
- package/serialization/types/DeploymentReleaseTagRead.d.ts +2 -0
- package/serialization/types/DeploymentReleaseTagRead.js +2 -0
- package/serialization/types/PromptExecConfig.d.ts +21 -0
- package/serialization/{resources/workflows/types/WorkflowsPullRequestFormat.js → types/PromptExecConfig.js} +15 -3
- package/serialization/types/{Release.d.ts → ReleaseTagRelease.d.ts} +2 -2
- package/serialization/types/{Release.js → ReleaseTagRelease.js} +2 -2
- package/serialization/types/WorkflowReleaseTagRead.d.ts +2 -2
- package/serialization/types/WorkflowReleaseTagRead.js +2 -2
- package/serialization/types/index.d.ts +2 -1
- package/serialization/types/index.js +2 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +0 -8
- package/api/resources/workflows/types/index.d.ts +0 -1
- package/dist/api/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +0 -8
- package/dist/api/resources/workflows/types/index.d.ts +0 -1
- package/dist/api/resources/workflows/types/index.js +0 -17
- package/dist/serialization/resources/workflows/index.d.ts +0 -1
- package/dist/serialization/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +0 -10
- package/dist/serialization/resources/workflows/types/index.d.ts +0 -1
- package/serialization/resources/workflows/index.d.ts +0 -1
- package/serialization/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +0 -10
- package/serialization/resources/workflows/types/index.d.ts +0 -1
- package/serialization/resources/workflows/types/index.js +0 -17
- /package/api/{types/Release.js → resources/prompts/client/requests/PromptsPullRequest.js} +0 -0
- /package/{dist/api/types/Release.js → api/types/PromptExecConfig.js} +0 -0
|
@@ -12,6 +12,8 @@ export interface DeploymentReleaseTagRead {
|
|
|
12
12
|
* * `USER` - User
|
|
13
13
|
*/
|
|
14
14
|
source: Vellum.ReleaseTagSource;
|
|
15
|
-
/**
|
|
15
|
+
/** Deprecated. Reference the `release` field instead. */
|
|
16
16
|
historyItem: Vellum.DeploymentReleaseTagDeploymentHistoryItem;
|
|
17
|
+
/** The Release that this Release Tag points to. */
|
|
18
|
+
release: Vellum.ReleaseTagRelease;
|
|
17
19
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface PromptExecConfig {
|
|
6
|
+
mlModel: string;
|
|
7
|
+
inputVariables: Vellum.VellumVariable[];
|
|
8
|
+
parameters: Vellum.PromptParameters;
|
|
9
|
+
settings?: Vellum.PromptSettings;
|
|
10
|
+
blocks: Vellum.PromptBlock[];
|
|
11
|
+
functions?: Vellum.FunctionDefinition[];
|
|
12
|
+
}
|
|
@@ -15,5 +15,5 @@ export interface WorkflowReleaseTagRead {
|
|
|
15
15
|
/** Deprecated. Reference the `release` field instead. */
|
|
16
16
|
historyItem: Vellum.WorkflowReleaseTagWorkflowDeploymentHistoryItem;
|
|
17
17
|
/** The Release that this Release Tag points to. */
|
|
18
|
-
release: Vellum.
|
|
18
|
+
release: Vellum.ReleaseTagRelease;
|
|
19
19
|
}
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface WorkflowReleaseTagWorkflowDeploymentHistoryItem {
|
|
5
|
-
/** The ID of the Workflow Deployment History Item */
|
|
6
5
|
id: string;
|
|
7
|
-
/** The timestamp representing when this History Item was created */
|
|
8
6
|
timestamp: Date;
|
|
9
7
|
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -292,6 +292,7 @@ export * from "./PromptBlockState";
|
|
|
292
292
|
export * from "./PromptDeploymentExpandMetaRequest";
|
|
293
293
|
export * from "./PromptDeploymentInputRequest";
|
|
294
294
|
export * from "./PromptDeploymentParentContext";
|
|
295
|
+
export * from "./PromptExecConfig";
|
|
295
296
|
export * from "./PromptExecutionMeta";
|
|
296
297
|
export * from "./PromptNodeExecutionMeta";
|
|
297
298
|
export * from "./PromptNodeResult";
|
|
@@ -314,7 +315,7 @@ export * from "./RejectedExecutePromptResponse";
|
|
|
314
315
|
export * from "./RejectedExecuteWorkflowWorkflowResultEvent";
|
|
315
316
|
export * from "./RejectedPromptExecutionMeta";
|
|
316
317
|
export * from "./RejectedWorkflowNodeResultEvent";
|
|
317
|
-
export * from "./
|
|
318
|
+
export * from "./ReleaseTagRelease";
|
|
318
319
|
export * from "./ReleaseTagSource";
|
|
319
320
|
export * from "./ReplaceTestSuiteTestCaseRequest";
|
|
320
321
|
export * from "./RichTextChildBlock";
|
package/api/types/index.js
CHANGED
|
@@ -308,6 +308,7 @@ __exportStar(require("./PromptBlockState"), exports);
|
|
|
308
308
|
__exportStar(require("./PromptDeploymentExpandMetaRequest"), exports);
|
|
309
309
|
__exportStar(require("./PromptDeploymentInputRequest"), exports);
|
|
310
310
|
__exportStar(require("./PromptDeploymentParentContext"), exports);
|
|
311
|
+
__exportStar(require("./PromptExecConfig"), exports);
|
|
311
312
|
__exportStar(require("./PromptExecutionMeta"), exports);
|
|
312
313
|
__exportStar(require("./PromptNodeExecutionMeta"), exports);
|
|
313
314
|
__exportStar(require("./PromptNodeResult"), exports);
|
|
@@ -330,7 +331,7 @@ __exportStar(require("./RejectedExecutePromptResponse"), exports);
|
|
|
330
331
|
__exportStar(require("./RejectedExecuteWorkflowWorkflowResultEvent"), exports);
|
|
331
332
|
__exportStar(require("./RejectedPromptExecutionMeta"), exports);
|
|
332
333
|
__exportStar(require("./RejectedWorkflowNodeResultEvent"), exports);
|
|
333
|
-
__exportStar(require("./
|
|
334
|
+
__exportStar(require("./ReleaseTagRelease"), exports);
|
|
334
335
|
__exportStar(require("./ReleaseTagSource"), exports);
|
|
335
336
|
__exportStar(require("./ReplaceTestSuiteTestCaseRequest"), exports);
|
|
336
337
|
__exportStar(require("./RichTextChildBlock"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import { FolderEntities } from "./api/resources/folderEntities/client/Client";
|
|
|
13
13
|
import { MetricDefinitions } from "./api/resources/metricDefinitions/client/Client";
|
|
14
14
|
import { MlModels } from "./api/resources/mlModels/client/Client";
|
|
15
15
|
import { Organizations } from "./api/resources/organizations/client/Client";
|
|
16
|
+
import { Prompts } from "./api/resources/prompts/client/Client";
|
|
16
17
|
import { Sandboxes } from "./api/resources/sandboxes/client/Client";
|
|
17
18
|
import { TestSuiteRuns } from "./api/resources/testSuiteRuns/client/Client";
|
|
18
19
|
import { TestSuites } from "./api/resources/testSuites/client/Client";
|
|
@@ -50,6 +51,7 @@ export declare class VellumClient {
|
|
|
50
51
|
protected _metricDefinitions: MetricDefinitions | undefined;
|
|
51
52
|
protected _mlModels: MlModels | undefined;
|
|
52
53
|
protected _organizations: Organizations | undefined;
|
|
54
|
+
protected _prompts: Prompts | undefined;
|
|
53
55
|
protected _sandboxes: Sandboxes | undefined;
|
|
54
56
|
protected _testSuiteRuns: TestSuiteRuns | undefined;
|
|
55
57
|
protected _testSuites: TestSuites | undefined;
|
|
@@ -68,6 +70,7 @@ export declare class VellumClient {
|
|
|
68
70
|
get metricDefinitions(): MetricDefinitions;
|
|
69
71
|
get mlModels(): MlModels;
|
|
70
72
|
get organizations(): Organizations;
|
|
73
|
+
get prompts(): Prompts;
|
|
71
74
|
get sandboxes(): Sandboxes;
|
|
72
75
|
get testSuiteRuns(): TestSuiteRuns;
|
|
73
76
|
get testSuites(): TestSuites;
|
package/dist/Client.js
CHANGED
|
@@ -64,14 +64,15 @@ const Client_6 = require("./api/resources/folderEntities/client/Client");
|
|
|
64
64
|
const Client_7 = require("./api/resources/metricDefinitions/client/Client");
|
|
65
65
|
const Client_8 = require("./api/resources/mlModels/client/Client");
|
|
66
66
|
const Client_9 = require("./api/resources/organizations/client/Client");
|
|
67
|
-
const Client_10 = require("./api/resources/
|
|
68
|
-
const Client_11 = require("./api/resources/
|
|
69
|
-
const Client_12 = require("./api/resources/
|
|
70
|
-
const Client_13 = require("./api/resources/
|
|
71
|
-
const Client_14 = require("./api/resources/
|
|
72
|
-
const Client_15 = require("./api/resources/
|
|
73
|
-
const Client_16 = require("./api/resources/
|
|
74
|
-
const Client_17 = require("./api/resources/
|
|
67
|
+
const Client_10 = require("./api/resources/prompts/client/Client");
|
|
68
|
+
const Client_11 = require("./api/resources/sandboxes/client/Client");
|
|
69
|
+
const Client_12 = require("./api/resources/testSuiteRuns/client/Client");
|
|
70
|
+
const Client_13 = require("./api/resources/testSuites/client/Client");
|
|
71
|
+
const Client_14 = require("./api/resources/workflowDeployments/client/Client");
|
|
72
|
+
const Client_15 = require("./api/resources/workflowSandboxes/client/Client");
|
|
73
|
+
const Client_16 = require("./api/resources/workflows/client/Client");
|
|
74
|
+
const Client_17 = require("./api/resources/workspaceSecrets/client/Client");
|
|
75
|
+
const Client_18 = require("./api/resources/workspaces/client/Client");
|
|
75
76
|
class VellumClient {
|
|
76
77
|
constructor(_options) {
|
|
77
78
|
this._options = _options;
|
|
@@ -112,37 +113,41 @@ class VellumClient {
|
|
|
112
113
|
var _a;
|
|
113
114
|
return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new Client_9.Organizations(this._options)));
|
|
114
115
|
}
|
|
116
|
+
get prompts() {
|
|
117
|
+
var _a;
|
|
118
|
+
return ((_a = this._prompts) !== null && _a !== void 0 ? _a : (this._prompts = new Client_10.Prompts(this._options)));
|
|
119
|
+
}
|
|
115
120
|
get sandboxes() {
|
|
116
121
|
var _a;
|
|
117
|
-
return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new
|
|
122
|
+
return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new Client_11.Sandboxes(this._options)));
|
|
118
123
|
}
|
|
119
124
|
get testSuiteRuns() {
|
|
120
125
|
var _a;
|
|
121
|
-
return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new
|
|
126
|
+
return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new Client_12.TestSuiteRuns(this._options)));
|
|
122
127
|
}
|
|
123
128
|
get testSuites() {
|
|
124
129
|
var _a;
|
|
125
|
-
return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new
|
|
130
|
+
return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new Client_13.TestSuites(this._options)));
|
|
126
131
|
}
|
|
127
132
|
get workflowDeployments() {
|
|
128
133
|
var _a;
|
|
129
|
-
return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new
|
|
134
|
+
return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new Client_14.WorkflowDeployments(this._options)));
|
|
130
135
|
}
|
|
131
136
|
get workflowSandboxes() {
|
|
132
137
|
var _a;
|
|
133
|
-
return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new
|
|
138
|
+
return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new Client_15.WorkflowSandboxes(this._options)));
|
|
134
139
|
}
|
|
135
140
|
get workflows() {
|
|
136
141
|
var _a;
|
|
137
|
-
return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new
|
|
142
|
+
return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new Client_16.Workflows(this._options)));
|
|
138
143
|
}
|
|
139
144
|
get workspaceSecrets() {
|
|
140
145
|
var _a;
|
|
141
|
-
return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new
|
|
146
|
+
return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new Client_17.WorkspaceSecrets(this._options)));
|
|
142
147
|
}
|
|
143
148
|
get workspaces() {
|
|
144
149
|
var _a;
|
|
145
|
-
return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new
|
|
150
|
+
return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new Client_18.Workspaces(this._options)));
|
|
146
151
|
}
|
|
147
152
|
/**
|
|
148
153
|
* @param {Vellum.ExecuteApiRequest} request
|
|
@@ -160,7 +165,7 @@ class VellumClient {
|
|
|
160
165
|
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)
|
|
161
166
|
.default, "v1/execute-api"),
|
|
162
167
|
method: "POST",
|
|
163
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
168
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
|
|
164
169
|
contentType: "application/json",
|
|
165
170
|
requestType: "json",
|
|
166
171
|
body: serializers.ExecuteApiRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -226,7 +231,7 @@ class VellumClient {
|
|
|
226
231
|
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)
|
|
227
232
|
.predict, "v1/execute-code"),
|
|
228
233
|
method: "POST",
|
|
229
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
234
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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
235
|
contentType: "application/json",
|
|
231
236
|
requestType: "json",
|
|
232
237
|
body: serializers.CodeExecutor.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -295,7 +300,7 @@ class VellumClient {
|
|
|
295
300
|
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)
|
|
296
301
|
.predict, "v1/execute-prompt"),
|
|
297
302
|
method: "POST",
|
|
298
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
303
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
|
|
299
304
|
contentType: "application/json",
|
|
300
305
|
requestType: "json",
|
|
301
306
|
body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -353,7 +358,7 @@ class VellumClient {
|
|
|
353
358
|
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)
|
|
354
359
|
.predict, "v1/execute-prompt-stream"),
|
|
355
360
|
method: "POST",
|
|
356
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
361
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
|
|
357
362
|
contentType: "application/json",
|
|
358
363
|
requestType: "json",
|
|
359
364
|
body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -438,7 +443,7 @@ class VellumClient {
|
|
|
438
443
|
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)
|
|
439
444
|
.predict, "v1/execute-workflow"),
|
|
440
445
|
method: "POST",
|
|
441
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
446
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
|
|
442
447
|
contentType: "application/json",
|
|
443
448
|
requestType: "json",
|
|
444
449
|
body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -494,7 +499,7 @@ class VellumClient {
|
|
|
494
499
|
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)
|
|
495
500
|
.predict, "v1/execute-workflow-stream"),
|
|
496
501
|
method: "POST",
|
|
497
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
502
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
|
|
498
503
|
contentType: "application/json",
|
|
499
504
|
requestType: "json",
|
|
500
505
|
body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -581,7 +586,7 @@ class VellumClient {
|
|
|
581
586
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
582
587
|
.predict, "v1/generate"),
|
|
583
588
|
method: "POST",
|
|
584
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
589
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
585
590
|
contentType: "application/json",
|
|
586
591
|
requestType: "json",
|
|
587
592
|
body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -642,7 +647,7 @@ class VellumClient {
|
|
|
642
647
|
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)
|
|
643
648
|
.predict, "v1/generate-stream"),
|
|
644
649
|
method: "POST",
|
|
645
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
650
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
|
|
646
651
|
contentType: "application/json",
|
|
647
652
|
requestType: "json",
|
|
648
653
|
body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -723,7 +728,7 @@ class VellumClient {
|
|
|
723
728
|
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)
|
|
724
729
|
.predict, "v1/search"),
|
|
725
730
|
method: "POST",
|
|
726
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
731
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
|
|
727
732
|
contentType: "application/json",
|
|
728
733
|
requestType: "json",
|
|
729
734
|
body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -791,7 +796,7 @@ class VellumClient {
|
|
|
791
796
|
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)
|
|
792
797
|
.predict, "v1/submit-completion-actuals"),
|
|
793
798
|
method: "POST",
|
|
794
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
799
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
|
|
795
800
|
contentType: "application/json",
|
|
796
801
|
requestType: "json",
|
|
797
802
|
body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -854,7 +859,7 @@ class VellumClient {
|
|
|
854
859
|
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)
|
|
855
860
|
.predict, "v1/submit-workflow-execution-actuals"),
|
|
856
861
|
method: "POST",
|
|
857
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
862
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
|
|
858
863
|
contentType: "application/json",
|
|
859
864
|
requestType: "json",
|
|
860
865
|
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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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.27", "User-Agent": "vellum-ai/0.14.27", "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" }),
|
|
@@ -334,7 +334,7 @@ class Documents {
|
|
|
334
334
|
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)
|
|
335
335
|
.documents, "v1/upload-document"),
|
|
336
336
|
method: "POST",
|
|
337
|
-
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
337
|
+
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
|
|
338
338
|
requestType: "file",
|
|
339
339
|
duplex: _maybeEncodedRequest.duplex,
|
|
340
340
|
body: _maybeEncodedRequest.body,
|