vellum-ai 1.7.13 → 1.7.14
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 +48 -43
- package/api/resources/adHoc/client/Client.js +2 -2
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +8 -8
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/environments/client/Client.d.ts +45 -0
- package/api/resources/environments/client/Client.js +132 -0
- package/api/resources/environments/client/index.d.ts +1 -0
- package/api/resources/environments/client/index.js +2 -0
- package/api/resources/environments/index.d.ts +1 -0
- package/api/resources/environments/index.js +17 -0
- package/api/resources/events/client/Client.js +1 -1
- 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/integrationAuthConfigs/client/Client.js +1 -1
- package/api/resources/integrationProviders/client/Client.js +2 -2
- package/api/resources/integrations/client/Client.js +4 -4
- package/api/resources/metricDefinitions/client/Client.js +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/organizations/client/Client.js +1 -1
- package/api/resources/prompts/client/Client.js +2 -2
- package/api/resources/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 +10 -10
- package/api/resources/workflowExecutions/client/Client.js +1 -1
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +9 -4
- package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -0
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/DatasetRowPushRequest.d.ts +7 -0
- package/api/types/DatasetRowPushRequest.js +5 -0
- package/api/types/EnvironmentDisplayConfig.d.ts +6 -0
- package/api/types/EnvironmentDisplayConfig.js +5 -0
- package/api/types/EnvironmentRead.d.ts +10 -0
- package/api/types/EnvironmentRead.js +5 -0
- package/api/types/IntegrationName.d.ts +31 -1
- package/api/types/IntegrationName.js +15 -0
- package/api/types/VellumDocument.d.ts +1 -0
- package/api/types/VellumDocumentRequest.d.ts +1 -0
- package/api/types/VellumImage.d.ts +1 -0
- package/api/types/VellumImageRequest.d.ts +1 -0
- package/api/types/WorkflowExecutionFulfilledBody.d.ts +1 -0
- package/api/types/index.d.ts +3 -0
- package/api/types/index.js +3 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +48 -43
- package/dist/api/resources/adHoc/client/Client.js +2 -2
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +8 -8
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/environments/client/Client.d.ts +45 -0
- package/dist/api/resources/environments/client/Client.js +132 -0
- package/dist/api/resources/environments/client/index.d.ts +1 -0
- package/dist/api/resources/environments/client/index.js +2 -0
- package/dist/api/resources/environments/index.d.ts +1 -0
- package/dist/api/resources/environments/index.js +17 -0
- package/dist/api/resources/events/client/Client.js +1 -1
- 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/integrationAuthConfigs/client/Client.js +1 -1
- package/dist/api/resources/integrationProviders/client/Client.js +2 -2
- package/dist/api/resources/integrations/client/Client.js +4 -4
- package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/prompts/client/Client.js +2 -2
- package/dist/api/resources/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 +10 -10
- package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +9 -4
- package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -0
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/DatasetRowPushRequest.d.ts +7 -0
- package/dist/api/types/DatasetRowPushRequest.js +5 -0
- package/dist/api/types/EnvironmentDisplayConfig.d.ts +6 -0
- package/dist/api/types/EnvironmentDisplayConfig.js +5 -0
- package/dist/api/types/EnvironmentRead.d.ts +10 -0
- package/dist/api/types/EnvironmentRead.js +5 -0
- package/dist/api/types/IntegrationName.d.ts +31 -1
- package/dist/api/types/IntegrationName.js +15 -0
- package/dist/api/types/VellumDocument.d.ts +1 -0
- package/dist/api/types/VellumDocumentRequest.d.ts +1 -0
- package/dist/api/types/VellumImage.d.ts +1 -0
- package/dist/api/types/VellumImageRequest.d.ts +1 -0
- package/dist/api/types/WorkflowExecutionFulfilledBody.d.ts +1 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/types/DatasetRowPushRequest.d.ts +13 -0
- package/dist/serialization/types/DatasetRowPushRequest.js +44 -0
- package/dist/serialization/types/EnvironmentDisplayConfig.d.ts +12 -0
- package/dist/serialization/types/EnvironmentDisplayConfig.js +43 -0
- package/dist/serialization/types/EnvironmentRead.d.ts +16 -0
- package/dist/serialization/types/EnvironmentRead.js +47 -0
- package/dist/serialization/types/IntegrationName.d.ts +1 -1
- package/dist/serialization/types/IntegrationName.js +15 -0
- package/dist/serialization/types/WorkflowExecutionFulfilledBody.d.ts +1 -0
- package/dist/serialization/types/WorkflowExecutionFulfilledBody.js +1 -0
- package/dist/serialization/types/index.d.ts +3 -0
- package/dist/serialization/types/index.js +3 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +57 -0
- package/serialization/types/DatasetRowPushRequest.d.ts +13 -0
- package/serialization/types/DatasetRowPushRequest.js +44 -0
- package/serialization/types/EnvironmentDisplayConfig.d.ts +12 -0
- package/serialization/types/EnvironmentDisplayConfig.js +43 -0
- package/serialization/types/EnvironmentRead.d.ts +16 -0
- package/serialization/types/EnvironmentRead.js +47 -0
- package/serialization/types/IntegrationName.d.ts +1 -1
- package/serialization/types/IntegrationName.js +15 -0
- package/serialization/types/WorkflowExecutionFulfilledBody.d.ts +1 -0
- package/serialization/types/WorkflowExecutionFulfilledBody.js +1 -0
- package/serialization/types/index.d.ts +3 -0
- package/serialization/types/index.js +3 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/Client.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { ContainerImages } from "./api/resources/containerImages/client/Client";
|
|
|
11
11
|
import { Deployments } from "./api/resources/deployments/client/Client";
|
|
12
12
|
import { DocumentIndexes } from "./api/resources/documentIndexes/client/Client";
|
|
13
13
|
import { Documents } from "./api/resources/documents/client/Client";
|
|
14
|
+
import { Environments } from "./api/resources/environments/client/Client";
|
|
14
15
|
import { FolderEntities } from "./api/resources/folderEntities/client/Client";
|
|
15
16
|
import { IntegrationAuthConfigs } from "./api/resources/integrationAuthConfigs/client/Client";
|
|
16
17
|
import { IntegrationProviders } from "./api/resources/integrationProviders/client/Client";
|
|
@@ -58,6 +59,7 @@ export declare class VellumClient {
|
|
|
58
59
|
protected _deployments: Deployments | undefined;
|
|
59
60
|
protected _documentIndexes: DocumentIndexes | undefined;
|
|
60
61
|
protected _documents: Documents | undefined;
|
|
62
|
+
protected _environments: Environments | undefined;
|
|
61
63
|
protected _folderEntities: FolderEntities | undefined;
|
|
62
64
|
protected _integrationAuthConfigs: IntegrationAuthConfigs | undefined;
|
|
63
65
|
protected _integrationProviders: IntegrationProviders | undefined;
|
|
@@ -82,6 +84,7 @@ export declare class VellumClient {
|
|
|
82
84
|
get deployments(): Deployments;
|
|
83
85
|
get documentIndexes(): DocumentIndexes;
|
|
84
86
|
get documents(): Documents;
|
|
87
|
+
get environments(): Environments;
|
|
85
88
|
get folderEntities(): FolderEntities;
|
|
86
89
|
get integrationAuthConfigs(): IntegrationAuthConfigs;
|
|
87
90
|
get integrationProviders(): IntegrationProviders;
|
package/Client.js
CHANGED
|
@@ -62,22 +62,23 @@ const Client_4 = require("./api/resources/containerImages/client/Client");
|
|
|
62
62
|
const Client_5 = require("./api/resources/deployments/client/Client");
|
|
63
63
|
const Client_6 = require("./api/resources/documentIndexes/client/Client");
|
|
64
64
|
const Client_7 = require("./api/resources/documents/client/Client");
|
|
65
|
-
const Client_8 = require("./api/resources/
|
|
66
|
-
const Client_9 = require("./api/resources/
|
|
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/
|
|
75
|
-
const Client_18 = require("./api/resources/
|
|
76
|
-
const Client_19 = require("./api/resources/
|
|
77
|
-
const Client_20 = require("./api/resources/
|
|
78
|
-
const Client_21 = require("./api/resources/
|
|
79
|
-
const Client_22 = require("./api/resources/
|
|
80
|
-
const Client_23 = require("./api/resources/
|
|
65
|
+
const Client_8 = require("./api/resources/environments/client/Client");
|
|
66
|
+
const Client_9 = require("./api/resources/folderEntities/client/Client");
|
|
67
|
+
const Client_10 = require("./api/resources/integrationAuthConfigs/client/Client");
|
|
68
|
+
const Client_11 = require("./api/resources/integrationProviders/client/Client");
|
|
69
|
+
const Client_12 = require("./api/resources/metricDefinitions/client/Client");
|
|
70
|
+
const Client_13 = require("./api/resources/mlModels/client/Client");
|
|
71
|
+
const Client_14 = require("./api/resources/organizations/client/Client");
|
|
72
|
+
const Client_15 = require("./api/resources/prompts/client/Client");
|
|
73
|
+
const Client_16 = require("./api/resources/sandboxes/client/Client");
|
|
74
|
+
const Client_17 = require("./api/resources/testSuiteRuns/client/Client");
|
|
75
|
+
const Client_18 = require("./api/resources/testSuites/client/Client");
|
|
76
|
+
const Client_19 = require("./api/resources/workflowDeployments/client/Client");
|
|
77
|
+
const Client_20 = require("./api/resources/workflowExecutions/client/Client");
|
|
78
|
+
const Client_21 = require("./api/resources/workflowSandboxes/client/Client");
|
|
79
|
+
const Client_22 = require("./api/resources/workflows/client/Client");
|
|
80
|
+
const Client_23 = require("./api/resources/workspaceSecrets/client/Client");
|
|
81
|
+
const Client_24 = require("./api/resources/workspaces/client/Client");
|
|
81
82
|
class VellumClient {
|
|
82
83
|
constructor(_options) {
|
|
83
84
|
this._options = _options;
|
|
@@ -110,69 +111,73 @@ class VellumClient {
|
|
|
110
111
|
var _a;
|
|
111
112
|
return ((_a = this._documents) !== null && _a !== void 0 ? _a : (this._documents = new Client_7.Documents(this._options)));
|
|
112
113
|
}
|
|
114
|
+
get environments() {
|
|
115
|
+
var _a;
|
|
116
|
+
return ((_a = this._environments) !== null && _a !== void 0 ? _a : (this._environments = new Client_8.Environments(this._options)));
|
|
117
|
+
}
|
|
113
118
|
get folderEntities() {
|
|
114
119
|
var _a;
|
|
115
|
-
return ((_a = this._folderEntities) !== null && _a !== void 0 ? _a : (this._folderEntities = new
|
|
120
|
+
return ((_a = this._folderEntities) !== null && _a !== void 0 ? _a : (this._folderEntities = new Client_9.FolderEntities(this._options)));
|
|
116
121
|
}
|
|
117
122
|
get integrationAuthConfigs() {
|
|
118
123
|
var _a;
|
|
119
|
-
return ((_a = this._integrationAuthConfigs) !== null && _a !== void 0 ? _a : (this._integrationAuthConfigs = new
|
|
124
|
+
return ((_a = this._integrationAuthConfigs) !== null && _a !== void 0 ? _a : (this._integrationAuthConfigs = new Client_10.IntegrationAuthConfigs(this._options)));
|
|
120
125
|
}
|
|
121
126
|
get integrationProviders() {
|
|
122
127
|
var _a;
|
|
123
|
-
return ((_a = this._integrationProviders) !== null && _a !== void 0 ? _a : (this._integrationProviders = new
|
|
128
|
+
return ((_a = this._integrationProviders) !== null && _a !== void 0 ? _a : (this._integrationProviders = new Client_11.IntegrationProviders(this._options)));
|
|
124
129
|
}
|
|
125
130
|
get metricDefinitions() {
|
|
126
131
|
var _a;
|
|
127
|
-
return ((_a = this._metricDefinitions) !== null && _a !== void 0 ? _a : (this._metricDefinitions = new
|
|
132
|
+
return ((_a = this._metricDefinitions) !== null && _a !== void 0 ? _a : (this._metricDefinitions = new Client_12.MetricDefinitions(this._options)));
|
|
128
133
|
}
|
|
129
134
|
get mlModels() {
|
|
130
135
|
var _a;
|
|
131
|
-
return ((_a = this._mlModels) !== null && _a !== void 0 ? _a : (this._mlModels = new
|
|
136
|
+
return ((_a = this._mlModels) !== null && _a !== void 0 ? _a : (this._mlModels = new Client_13.MlModels(this._options)));
|
|
132
137
|
}
|
|
133
138
|
get organizations() {
|
|
134
139
|
var _a;
|
|
135
|
-
return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new
|
|
140
|
+
return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new Client_14.Organizations(this._options)));
|
|
136
141
|
}
|
|
137
142
|
get prompts() {
|
|
138
143
|
var _a;
|
|
139
|
-
return ((_a = this._prompts) !== null && _a !== void 0 ? _a : (this._prompts = new
|
|
144
|
+
return ((_a = this._prompts) !== null && _a !== void 0 ? _a : (this._prompts = new Client_15.Prompts(this._options)));
|
|
140
145
|
}
|
|
141
146
|
get sandboxes() {
|
|
142
147
|
var _a;
|
|
143
|
-
return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new
|
|
148
|
+
return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new Client_16.Sandboxes(this._options)));
|
|
144
149
|
}
|
|
145
150
|
get testSuiteRuns() {
|
|
146
151
|
var _a;
|
|
147
|
-
return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new
|
|
152
|
+
return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new Client_17.TestSuiteRuns(this._options)));
|
|
148
153
|
}
|
|
149
154
|
get testSuites() {
|
|
150
155
|
var _a;
|
|
151
|
-
return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new
|
|
156
|
+
return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new Client_18.TestSuites(this._options)));
|
|
152
157
|
}
|
|
153
158
|
get workflowDeployments() {
|
|
154
159
|
var _a;
|
|
155
|
-
return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new
|
|
160
|
+
return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new Client_19.WorkflowDeployments(this._options)));
|
|
156
161
|
}
|
|
157
162
|
get workflowExecutions() {
|
|
158
163
|
var _a;
|
|
159
|
-
return ((_a = this._workflowExecutions) !== null && _a !== void 0 ? _a : (this._workflowExecutions = new
|
|
164
|
+
return ((_a = this._workflowExecutions) !== null && _a !== void 0 ? _a : (this._workflowExecutions = new Client_20.WorkflowExecutions(this._options)));
|
|
160
165
|
}
|
|
161
166
|
get workflowSandboxes() {
|
|
162
167
|
var _a;
|
|
163
|
-
return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new
|
|
168
|
+
return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new Client_21.WorkflowSandboxes(this._options)));
|
|
164
169
|
}
|
|
165
170
|
get workflows() {
|
|
166
171
|
var _a;
|
|
167
|
-
return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new
|
|
172
|
+
return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new Client_22.Workflows(this._options)));
|
|
168
173
|
}
|
|
169
174
|
get workspaceSecrets() {
|
|
170
175
|
var _a;
|
|
171
|
-
return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new
|
|
176
|
+
return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new Client_23.WorkspaceSecrets(this._options)));
|
|
172
177
|
}
|
|
173
178
|
get workspaces() {
|
|
174
179
|
var _a;
|
|
175
|
-
return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new
|
|
180
|
+
return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new Client_24.Workspaces(this._options)));
|
|
176
181
|
}
|
|
177
182
|
/**
|
|
178
183
|
* @param {Vellum.ExecuteApiRequest} request
|
|
@@ -197,7 +202,7 @@ class VellumClient {
|
|
|
197
202
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
198
203
|
unrecognizedObjectKeys: "strip",
|
|
199
204
|
})
|
|
200
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
205
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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
206
|
contentType: "application/json",
|
|
202
207
|
requestType: "json",
|
|
203
208
|
body: serializers.ExecuteApiRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -283,7 +288,7 @@ class VellumClient {
|
|
|
283
288
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
284
289
|
unrecognizedObjectKeys: "strip",
|
|
285
290
|
})
|
|
286
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
291
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
287
292
|
contentType: "application/json",
|
|
288
293
|
requestType: "json",
|
|
289
294
|
body: serializers.CodeExecutor.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -369,7 +374,7 @@ class VellumClient {
|
|
|
369
374
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
370
375
|
unrecognizedObjectKeys: "strip",
|
|
371
376
|
})
|
|
372
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
377
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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
378
|
contentType: "application/json",
|
|
374
379
|
requestType: "json",
|
|
375
380
|
body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -440,7 +445,7 @@ class VellumClient {
|
|
|
440
445
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
441
446
|
unrecognizedObjectKeys: "strip",
|
|
442
447
|
})
|
|
443
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
448
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
444
449
|
contentType: "application/json",
|
|
445
450
|
requestType: "json",
|
|
446
451
|
body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -542,7 +547,7 @@ class VellumClient {
|
|
|
542
547
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
543
548
|
unrecognizedObjectKeys: "strip",
|
|
544
549
|
})
|
|
545
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
550
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
546
551
|
contentType: "application/json",
|
|
547
552
|
requestType: "json",
|
|
548
553
|
body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -611,7 +616,7 @@ class VellumClient {
|
|
|
611
616
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
612
617
|
unrecognizedObjectKeys: "strip",
|
|
613
618
|
})
|
|
614
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
619
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
615
620
|
contentType: "application/json",
|
|
616
621
|
requestType: "json",
|
|
617
622
|
body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -719,7 +724,7 @@ class VellumClient {
|
|
|
719
724
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
720
725
|
unrecognizedObjectKeys: "strip",
|
|
721
726
|
})
|
|
722
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
727
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
723
728
|
contentType: "application/json",
|
|
724
729
|
requestType: "json",
|
|
725
730
|
body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -793,7 +798,7 @@ class VellumClient {
|
|
|
793
798
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
794
799
|
unrecognizedObjectKeys: "strip",
|
|
795
800
|
})
|
|
796
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
801
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
797
802
|
contentType: "application/json",
|
|
798
803
|
requestType: "json",
|
|
799
804
|
body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -887,7 +892,7 @@ class VellumClient {
|
|
|
887
892
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
888
893
|
unrecognizedObjectKeys: "strip",
|
|
889
894
|
})
|
|
890
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
895
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
891
896
|
contentType: "application/json",
|
|
892
897
|
requestType: "json",
|
|
893
898
|
body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -968,7 +973,7 @@ class VellumClient {
|
|
|
968
973
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
969
974
|
unrecognizedObjectKeys: "strip",
|
|
970
975
|
})
|
|
971
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
976
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
972
977
|
contentType: "application/json",
|
|
973
978
|
requestType: "json",
|
|
974
979
|
body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -1043,7 +1048,7 @@ class VellumClient {
|
|
|
1043
1048
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
1044
1049
|
unrecognizedObjectKeys: "strip",
|
|
1045
1050
|
})
|
|
1046
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
1051
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
1047
1052
|
contentType: "application/json",
|
|
1048
1053
|
requestType: "json",
|
|
1049
1054
|
body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -112,7 +112,7 @@ class AdHoc {
|
|
|
112
112
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
113
113
|
unrecognizedObjectKeys: "strip",
|
|
114
114
|
})
|
|
115
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
115
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
116
116
|
contentType: "application/json",
|
|
117
117
|
requestType: "json",
|
|
118
118
|
body: serializers.AdHocExecutePrompt.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -178,7 +178,7 @@ class AdHoc {
|
|
|
178
178
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
179
179
|
unrecognizedObjectKeys: "strip",
|
|
180
180
|
})
|
|
181
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
181
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
requestType: "json",
|
|
184
184
|
body: serializers.AdHocExecutePromptStream.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -92,7 +92,7 @@ class ContainerImages {
|
|
|
92
92
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
93
93
|
unrecognizedObjectKeys: "strip",
|
|
94
94
|
})
|
|
95
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
95
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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",
|
|
@@ -158,7 +158,7 @@ class ContainerImages {
|
|
|
158
158
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
159
159
|
unrecognizedObjectKeys: "strip",
|
|
160
160
|
})
|
|
161
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
161
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
162
162
|
contentType: "application/json",
|
|
163
163
|
requestType: "json",
|
|
164
164
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -220,7 +220,7 @@ class ContainerImages {
|
|
|
220
220
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
221
221
|
unrecognizedObjectKeys: "strip",
|
|
222
222
|
})
|
|
223
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
223
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
224
224
|
contentType: "application/json",
|
|
225
225
|
requestType: "json",
|
|
226
226
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -287,7 +287,7 @@ class ContainerImages {
|
|
|
287
287
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
288
288
|
unrecognizedObjectKeys: "strip",
|
|
289
289
|
})
|
|
290
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
290
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
291
291
|
contentType: "application/json",
|
|
292
292
|
requestType: "json",
|
|
293
293
|
body: serializers.PushContainerImageRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -98,7 +98,7 @@ class Deployments {
|
|
|
98
98
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
99
99
|
unrecognizedObjectKeys: "strip",
|
|
100
100
|
})
|
|
101
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
101
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
102
102
|
contentType: "application/json",
|
|
103
103
|
queryParameters: _queryParams,
|
|
104
104
|
requestType: "json",
|
|
@@ -164,7 +164,7 @@ class Deployments {
|
|
|
164
164
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
165
165
|
unrecognizedObjectKeys: "strip",
|
|
166
166
|
})
|
|
167
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
167
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
168
168
|
contentType: "application/json",
|
|
169
169
|
requestType: "json",
|
|
170
170
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -231,7 +231,7 @@ class Deployments {
|
|
|
231
231
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
232
232
|
unrecognizedObjectKeys: "strip",
|
|
233
233
|
})
|
|
234
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
234
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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
235
|
contentType: "application/json",
|
|
236
236
|
requestType: "json",
|
|
237
237
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -313,7 +313,7 @@ class Deployments {
|
|
|
313
313
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
314
314
|
unrecognizedObjectKeys: "strip",
|
|
315
315
|
})
|
|
316
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
316
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
317
317
|
contentType: "application/json",
|
|
318
318
|
queryParameters: _queryParams,
|
|
319
319
|
requestType: "json",
|
|
@@ -380,7 +380,7 @@ class Deployments {
|
|
|
380
380
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
381
381
|
unrecognizedObjectKeys: "strip",
|
|
382
382
|
})
|
|
383
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
383
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
384
384
|
contentType: "application/json",
|
|
385
385
|
requestType: "json",
|
|
386
386
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -447,7 +447,7 @@ class Deployments {
|
|
|
447
447
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
448
448
|
unrecognizedObjectKeys: "strip",
|
|
449
449
|
})
|
|
450
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
450
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
451
451
|
contentType: "application/json",
|
|
452
452
|
requestType: "json",
|
|
453
453
|
body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -516,7 +516,7 @@ class Deployments {
|
|
|
516
516
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
517
517
|
unrecognizedObjectKeys: "strip",
|
|
518
518
|
})
|
|
519
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
519
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
520
520
|
contentType: "application/json",
|
|
521
521
|
requestType: "json",
|
|
522
522
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -605,7 +605,7 @@ class Deployments {
|
|
|
605
605
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
606
606
|
unrecognizedObjectKeys: "strip",
|
|
607
607
|
})
|
|
608
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
608
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
609
609
|
contentType: "application/json",
|
|
610
610
|
requestType: "json",
|
|
611
611
|
body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|
|
@@ -100,7 +100,7 @@ class DocumentIndexes {
|
|
|
100
100
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
101
101
|
unrecognizedObjectKeys: "strip",
|
|
102
102
|
})
|
|
103
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
103
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
104
104
|
contentType: "application/json",
|
|
105
105
|
queryParameters: _queryParams,
|
|
106
106
|
requestType: "json",
|
|
@@ -175,7 +175,7 @@ class DocumentIndexes {
|
|
|
175
175
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
176
176
|
unrecognizedObjectKeys: "strip",
|
|
177
177
|
})
|
|
178
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
178
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
179
179
|
contentType: "application/json",
|
|
180
180
|
requestType: "json",
|
|
181
181
|
body: serializers.DocumentIndexCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -247,7 +247,7 @@ class DocumentIndexes {
|
|
|
247
247
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
248
248
|
unrecognizedObjectKeys: "strip",
|
|
249
249
|
})
|
|
250
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
250
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
251
251
|
contentType: "application/json",
|
|
252
252
|
queryParameters: _queryParams,
|
|
253
253
|
requestType: "json",
|
|
@@ -316,7 +316,7 @@ class DocumentIndexes {
|
|
|
316
316
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
317
317
|
unrecognizedObjectKeys: "strip",
|
|
318
318
|
})
|
|
319
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
319
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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" }),
|
|
@@ -382,7 +382,7 @@ class DocumentIndexes {
|
|
|
382
382
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
383
383
|
unrecognizedObjectKeys: "strip",
|
|
384
384
|
})
|
|
385
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
385
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
386
386
|
contentType: "application/json",
|
|
387
387
|
requestType: "json",
|
|
388
388
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -440,7 +440,7 @@ class DocumentIndexes {
|
|
|
440
440
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
441
441
|
unrecognizedObjectKeys: "strip",
|
|
442
442
|
})
|
|
443
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
443
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
444
444
|
contentType: "application/json",
|
|
445
445
|
requestType: "json",
|
|
446
446
|
body: serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
|
|
@@ -509,7 +509,7 @@ class DocumentIndexes {
|
|
|
509
509
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
510
510
|
unrecognizedObjectKeys: "strip",
|
|
511
511
|
})
|
|
512
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
512
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
513
513
|
contentType: "application/json",
|
|
514
514
|
requestType: "json",
|
|
515
515
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -567,7 +567,7 @@ class DocumentIndexes {
|
|
|
567
567
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
568
568
|
unrecognizedObjectKeys: "strip",
|
|
569
569
|
})
|
|
570
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
570
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
571
571
|
contentType: "application/json",
|
|
572
572
|
requestType: "json",
|
|
573
573
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -99,7 +99,7 @@ class Documents {
|
|
|
99
99
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
100
100
|
unrecognizedObjectKeys: "strip",
|
|
101
101
|
})
|
|
102
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
102
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
103
103
|
contentType: "application/json",
|
|
104
104
|
queryParameters: _queryParams,
|
|
105
105
|
requestType: "json",
|
|
@@ -165,7 +165,7 @@ class Documents {
|
|
|
165
165
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
166
166
|
unrecognizedObjectKeys: "strip",
|
|
167
167
|
})
|
|
168
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
168
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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
169
|
contentType: "application/json",
|
|
170
170
|
requestType: "json",
|
|
171
171
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -230,7 +230,7 @@ class Documents {
|
|
|
230
230
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
231
231
|
unrecognizedObjectKeys: "strip",
|
|
232
232
|
})
|
|
233
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
233
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
234
234
|
contentType: "application/json",
|
|
235
235
|
requestType: "json",
|
|
236
236
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -288,7 +288,7 @@ class Documents {
|
|
|
288
288
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
289
289
|
unrecognizedObjectKeys: "strip",
|
|
290
290
|
})
|
|
291
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
291
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
292
292
|
contentType: "application/json",
|
|
293
293
|
requestType: "json",
|
|
294
294
|
body: serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -378,7 +378,7 @@ class Documents {
|
|
|
378
378
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
379
379
|
unrecognizedObjectKeys: "strip",
|
|
380
380
|
})
|
|
381
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.
|
|
381
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.7.14", "User-Agent": "vellum-ai/1.7.14", "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),
|
|
382
382
|
requestType: "file",
|
|
383
383
|
duplex: _maybeEncodedRequest.duplex,
|
|
384
384
|
body: _maybeEncodedRequest.body,
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments";
|
|
5
|
+
import * as core from "../../../../core";
|
|
6
|
+
import * as Vellum from "../../../index";
|
|
7
|
+
export declare namespace Environments {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
apiKey: core.Supplier<string>;
|
|
13
|
+
/** Override the X-API-Version header */
|
|
14
|
+
apiVersion?: core.Supplier<Vellum.ApiVersionEnum | undefined>;
|
|
15
|
+
}
|
|
16
|
+
interface RequestOptions {
|
|
17
|
+
/** The maximum time to wait for a response in seconds. */
|
|
18
|
+
timeoutInSeconds?: number;
|
|
19
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
20
|
+
maxRetries?: number;
|
|
21
|
+
/** A hook to abort the request. */
|
|
22
|
+
abortSignal?: AbortSignal;
|
|
23
|
+
/** Override the X-API-Version header */
|
|
24
|
+
apiVersion?: Vellum.ApiVersionEnum | undefined;
|
|
25
|
+
/** Additional headers to include in the request. */
|
|
26
|
+
headers?: Record<string, string>;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare class Environments {
|
|
30
|
+
protected readonly _options: Environments.Options;
|
|
31
|
+
constructor(_options: Environments.Options);
|
|
32
|
+
/**
|
|
33
|
+
* Retrieves information about the active Environment
|
|
34
|
+
*
|
|
35
|
+
* @param {Environments.RequestOptions} requestOptions - Request-specific configuration.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* await client.environments.environmentIdentity()
|
|
39
|
+
*/
|
|
40
|
+
environmentIdentity(requestOptions?: Environments.RequestOptions): core.HttpResponsePromise<Vellum.EnvironmentRead>;
|
|
41
|
+
private __environmentIdentity;
|
|
42
|
+
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
43
|
+
"X-API-KEY": string;
|
|
44
|
+
}>;
|
|
45
|
+
}
|