vellum-ai 0.14.89 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +24 -19
- package/api/resources/adHoc/client/Client.js +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/folderEntities/client/Client.js +2 -2
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/metricDefinitions/client/Client.js +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/organizations/client/Client.js +1 -1
- package/api/resources/prompts/client/Client.js +2 -2
- package/api/resources/releaseReviews/client/Client.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/workflowExecutions/client/Client.d.ts +44 -0
- package/api/resources/workflowExecutions/client/Client.js +131 -0
- package/api/resources/workflowExecutions/client/index.d.ts +1 -0
- package/api/resources/workflowExecutions/client/index.js +2 -0
- package/api/resources/workflowExecutions/index.d.ts +1 -0
- package/api/resources/workflowExecutions/index.js +17 -0
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/DeploymentRead.d.ts +1 -1
- package/api/types/NodeOutputCompiledThinkingValue.d.ts +13 -0
- package/api/types/NodeOutputCompiledThinkingValue.js +5 -0
- package/api/types/NodeOutputCompiledValue.d.ts +1 -1
- package/api/types/OrganizationLimitConfig.d.ts +10 -0
- package/api/types/OrganizationLimitConfig.js +5 -0
- package/api/types/OrganizationRead.d.ts +1 -0
- package/api/types/Quota.d.ts +8 -0
- package/api/types/Quota.js +5 -0
- package/api/types/SlimDeploymentRead.d.ts +1 -1
- package/api/types/SlimWorkflowDeployment.d.ts +1 -1
- package/api/types/VembdaServiceTierEnum.d.ts +12 -0
- package/api/types/VembdaServiceTierEnum.js +10 -0
- package/api/types/WorkflowDeploymentRead.d.ts +1 -1
- package/api/types/WorkflowExecutionActual.d.ts +1 -1
- package/api/types/WorkflowExecutionDetail.d.ts +16 -0
- package/api/types/WorkflowExecutionDetail.js +5 -0
- package/api/types/index.d.ts +5 -0
- package/api/types/index.js +5 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +24 -19
- 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/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/prompts/client/Client.js +2 -2
- package/dist/api/resources/releaseReviews/client/Client.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/workflowExecutions/client/Client.d.ts +44 -0
- package/dist/api/resources/workflowExecutions/client/Client.js +131 -0
- package/dist/api/resources/workflowExecutions/client/index.d.ts +1 -0
- package/dist/api/resources/workflowExecutions/client/index.js +2 -0
- package/dist/api/resources/workflowExecutions/index.d.ts +1 -0
- package/dist/api/resources/workflowExecutions/index.js +17 -0
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/DeploymentRead.d.ts +1 -1
- package/dist/api/types/NodeOutputCompiledThinkingValue.d.ts +13 -0
- package/dist/api/types/NodeOutputCompiledThinkingValue.js +5 -0
- package/dist/api/types/NodeOutputCompiledValue.d.ts +1 -1
- package/dist/api/types/OrganizationLimitConfig.d.ts +10 -0
- package/dist/api/types/OrganizationLimitConfig.js +5 -0
- package/dist/api/types/OrganizationRead.d.ts +1 -0
- package/dist/api/types/Quota.d.ts +8 -0
- package/dist/api/types/Quota.js +5 -0
- package/dist/api/types/SlimDeploymentRead.d.ts +1 -1
- package/dist/api/types/SlimWorkflowDeployment.d.ts +1 -1
- package/dist/api/types/VembdaServiceTierEnum.d.ts +12 -0
- package/dist/api/types/VembdaServiceTierEnum.js +10 -0
- package/dist/api/types/WorkflowDeploymentRead.d.ts +1 -1
- package/dist/api/types/WorkflowExecutionActual.d.ts +1 -1
- package/dist/api/types/WorkflowExecutionDetail.d.ts +16 -0
- package/dist/api/types/WorkflowExecutionDetail.js +5 -0
- package/dist/api/types/index.d.ts +5 -0
- package/dist/api/types/index.js +5 -0
- package/dist/serialization/types/DeploymentRead.d.ts +1 -1
- package/dist/serialization/types/DeploymentRead.js +1 -1
- package/dist/serialization/types/NodeOutputCompiledThinkingValue.d.ts +17 -0
- package/dist/serialization/types/NodeOutputCompiledThinkingValue.js +48 -0
- package/dist/serialization/types/NodeOutputCompiledValue.d.ts +2 -1
- package/dist/serialization/types/NodeOutputCompiledValue.js +2 -0
- package/dist/serialization/types/OrganizationLimitConfig.d.ts +17 -0
- package/dist/serialization/types/OrganizationLimitConfig.js +48 -0
- package/dist/serialization/types/OrganizationRead.d.ts +2 -0
- package/dist/serialization/types/OrganizationRead.js +2 -0
- package/dist/serialization/types/Quota.d.ts +14 -0
- package/dist/serialization/types/Quota.js +45 -0
- package/dist/serialization/types/SlimDeploymentRead.d.ts +1 -1
- package/dist/serialization/types/SlimDeploymentRead.js +1 -1
- package/dist/serialization/types/SlimWorkflowDeployment.d.ts +1 -1
- package/dist/serialization/types/SlimWorkflowDeployment.js +1 -1
- package/dist/serialization/types/VembdaServiceTierEnum.d.ts +10 -0
- package/dist/serialization/types/VembdaServiceTierEnum.js +41 -0
- package/dist/serialization/types/WorkflowDeploymentRead.d.ts +1 -1
- package/dist/serialization/types/WorkflowDeploymentRead.js +1 -1
- package/dist/serialization/types/WorkflowExecutionActual.d.ts +1 -1
- package/dist/serialization/types/WorkflowExecutionActual.js +1 -1
- package/dist/serialization/types/WorkflowExecutionDetail.d.ts +25 -0
- package/dist/serialization/types/WorkflowExecutionDetail.js +57 -0
- package/dist/serialization/types/index.d.ts +5 -0
- package/dist/serialization/types/index.js +5 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/ee/automation/.nvmrc +1 -0
- package/ee/automation/README.md +11 -0
- package/ee/automation/ci-workflow-server.yaml +46 -0
- package/ee/automation/package-lock.json +517 -0
- package/ee/automation/package.json +17 -0
- package/package.json +1 -1
- package/reference.md +50 -0
- package/serialization/types/DeploymentRead.d.ts +1 -1
- package/serialization/types/DeploymentRead.js +1 -1
- package/serialization/types/NodeOutputCompiledThinkingValue.d.ts +17 -0
- package/serialization/types/NodeOutputCompiledThinkingValue.js +48 -0
- package/serialization/types/NodeOutputCompiledValue.d.ts +2 -1
- package/serialization/types/NodeOutputCompiledValue.js +2 -0
- package/serialization/types/OrganizationLimitConfig.d.ts +17 -0
- package/serialization/types/OrganizationLimitConfig.js +48 -0
- package/serialization/types/OrganizationRead.d.ts +2 -0
- package/serialization/types/OrganizationRead.js +2 -0
- package/serialization/types/Quota.d.ts +14 -0
- package/serialization/types/Quota.js +45 -0
- package/serialization/types/SlimDeploymentRead.d.ts +1 -1
- package/serialization/types/SlimDeploymentRead.js +1 -1
- package/serialization/types/SlimWorkflowDeployment.d.ts +1 -1
- package/serialization/types/SlimWorkflowDeployment.js +1 -1
- package/serialization/types/VembdaServiceTierEnum.d.ts +10 -0
- package/serialization/types/VembdaServiceTierEnum.js +41 -0
- package/serialization/types/WorkflowDeploymentRead.d.ts +1 -1
- package/serialization/types/WorkflowDeploymentRead.js +1 -1
- package/serialization/types/WorkflowExecutionActual.d.ts +1 -1
- package/serialization/types/WorkflowExecutionActual.js +1 -1
- package/serialization/types/WorkflowExecutionDetail.d.ts +25 -0
- package/serialization/types/WorkflowExecutionDetail.js +57 -0
- package/serialization/types/index.d.ts +5 -0
- package/serialization/types/index.js +5 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -22,7 +22,7 @@ export interface WorkflowDeploymentRead {
|
|
|
22
22
|
* * `STAGING` - Staging
|
|
23
23
|
* * `PRODUCTION` - Production
|
|
24
24
|
*/
|
|
25
|
-
environment?: Vellum.EnvironmentEnum;
|
|
25
|
+
environment?: Vellum.EnvironmentEnum | null;
|
|
26
26
|
created: Date;
|
|
27
27
|
lastDeployedOn: Date;
|
|
28
28
|
/** The ID of the history item associated with this Workflow Deployment's LATEST Release Tag */
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface WorkflowExecutionDetail {
|
|
6
|
+
spanId: string;
|
|
7
|
+
parentContext?: Vellum.ParentContext | null;
|
|
8
|
+
start: Date;
|
|
9
|
+
end?: Date | null;
|
|
10
|
+
inputs: Vellum.ExecutionVellumValue[];
|
|
11
|
+
outputs: Vellum.ExecutionVellumValue[];
|
|
12
|
+
error?: Vellum.WorkflowError | null;
|
|
13
|
+
usageResults?: Vellum.WorkflowExecutionUsageResult[] | null;
|
|
14
|
+
spans: Vellum.VellumSpan[];
|
|
15
|
+
state?: Record<string, unknown> | null;
|
|
16
|
+
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -263,6 +263,7 @@ export * from "./NodeOutputCompiledJsonValue";
|
|
|
263
263
|
export * from "./NodeOutputCompiledNumberValue";
|
|
264
264
|
export * from "./NodeOutputCompiledSearchResultsValue";
|
|
265
265
|
export * from "./NodeOutputCompiledStringValue";
|
|
266
|
+
export * from "./NodeOutputCompiledThinkingValue";
|
|
266
267
|
export * from "./NodeOutputCompiledValue";
|
|
267
268
|
export * from "./NodeParentContext";
|
|
268
269
|
export * from "./NormalizedLogProbs";
|
|
@@ -278,6 +279,7 @@ export * from "./OpenAiVectorizerTextEmbedding3Small";
|
|
|
278
279
|
export * from "./OpenAiVectorizerTextEmbedding3SmallRequest";
|
|
279
280
|
export * from "./OpenAiVectorizerTextEmbeddingAda002";
|
|
280
281
|
export * from "./OpenAiVectorizerTextEmbeddingAda002Request";
|
|
282
|
+
export * from "./OrganizationLimitConfig";
|
|
281
283
|
export * from "./OrganizationRead";
|
|
282
284
|
export * from "./PaginatedContainerImageReadList";
|
|
283
285
|
export * from "./PaginatedDeploymentReleaseTagReadList";
|
|
@@ -319,6 +321,7 @@ export * from "./PromptRequestStringInput";
|
|
|
319
321
|
export * from "./PromptSettings";
|
|
320
322
|
export * from "./ComponentsSchemasPromptVersionBuildConfigSandbox";
|
|
321
323
|
export * from "./PromptVersionBuildConfigSandbox";
|
|
324
|
+
export * from "./Quota";
|
|
322
325
|
export * from "./RawPromptExecutionOverridesRequest";
|
|
323
326
|
export * from "./ReductoChunkerConfig";
|
|
324
327
|
export * from "./ReductoChunkerConfigRequest";
|
|
@@ -518,6 +521,7 @@ export * from "./VellumVariable";
|
|
|
518
521
|
export * from "./VellumVariableExtensions";
|
|
519
522
|
export * from "./VellumVariableType";
|
|
520
523
|
export * from "./VellumWorkflowExecutionEvent";
|
|
524
|
+
export * from "./VembdaServiceTierEnum";
|
|
521
525
|
export * from "./WorkflowDeploymentEventExecutionsResponse";
|
|
522
526
|
export * from "./WorkflowDeploymentHistoryItem";
|
|
523
527
|
export * from "./WorkflowDeploymentParentContext";
|
|
@@ -532,6 +536,7 @@ export * from "./WorkflowExecutionActual";
|
|
|
532
536
|
export * from "./WorkflowExecutionActualChatHistoryRequest";
|
|
533
537
|
export * from "./WorkflowExecutionActualJsonRequest";
|
|
534
538
|
export * from "./WorkflowExecutionActualStringRequest";
|
|
539
|
+
export * from "./WorkflowExecutionDetail";
|
|
535
540
|
export * from "./WorkflowExecutionEventErrorCode";
|
|
536
541
|
export * from "./WorkflowExecutionEventType";
|
|
537
542
|
export * from "./WorkflowExecutionFulfilledBody";
|
package/api/types/index.js
CHANGED
|
@@ -279,6 +279,7 @@ __exportStar(require("./NodeOutputCompiledJsonValue"), exports);
|
|
|
279
279
|
__exportStar(require("./NodeOutputCompiledNumberValue"), exports);
|
|
280
280
|
__exportStar(require("./NodeOutputCompiledSearchResultsValue"), exports);
|
|
281
281
|
__exportStar(require("./NodeOutputCompiledStringValue"), exports);
|
|
282
|
+
__exportStar(require("./NodeOutputCompiledThinkingValue"), exports);
|
|
282
283
|
__exportStar(require("./NodeOutputCompiledValue"), exports);
|
|
283
284
|
__exportStar(require("./NodeParentContext"), exports);
|
|
284
285
|
__exportStar(require("./NormalizedLogProbs"), exports);
|
|
@@ -294,6 +295,7 @@ __exportStar(require("./OpenAiVectorizerTextEmbedding3Small"), exports);
|
|
|
294
295
|
__exportStar(require("./OpenAiVectorizerTextEmbedding3SmallRequest"), exports);
|
|
295
296
|
__exportStar(require("./OpenAiVectorizerTextEmbeddingAda002"), exports);
|
|
296
297
|
__exportStar(require("./OpenAiVectorizerTextEmbeddingAda002Request"), exports);
|
|
298
|
+
__exportStar(require("./OrganizationLimitConfig"), exports);
|
|
297
299
|
__exportStar(require("./OrganizationRead"), exports);
|
|
298
300
|
__exportStar(require("./PaginatedContainerImageReadList"), exports);
|
|
299
301
|
__exportStar(require("./PaginatedDeploymentReleaseTagReadList"), exports);
|
|
@@ -335,6 +337,7 @@ __exportStar(require("./PromptRequestStringInput"), exports);
|
|
|
335
337
|
__exportStar(require("./PromptSettings"), exports);
|
|
336
338
|
__exportStar(require("./ComponentsSchemasPromptVersionBuildConfigSandbox"), exports);
|
|
337
339
|
__exportStar(require("./PromptVersionBuildConfigSandbox"), exports);
|
|
340
|
+
__exportStar(require("./Quota"), exports);
|
|
338
341
|
__exportStar(require("./RawPromptExecutionOverridesRequest"), exports);
|
|
339
342
|
__exportStar(require("./ReductoChunkerConfig"), exports);
|
|
340
343
|
__exportStar(require("./ReductoChunkerConfigRequest"), exports);
|
|
@@ -534,6 +537,7 @@ __exportStar(require("./VellumVariable"), exports);
|
|
|
534
537
|
__exportStar(require("./VellumVariableExtensions"), exports);
|
|
535
538
|
__exportStar(require("./VellumVariableType"), exports);
|
|
536
539
|
__exportStar(require("./VellumWorkflowExecutionEvent"), exports);
|
|
540
|
+
__exportStar(require("./VembdaServiceTierEnum"), exports);
|
|
537
541
|
__exportStar(require("./WorkflowDeploymentEventExecutionsResponse"), exports);
|
|
538
542
|
__exportStar(require("./WorkflowDeploymentHistoryItem"), exports);
|
|
539
543
|
__exportStar(require("./WorkflowDeploymentParentContext"), exports);
|
|
@@ -548,6 +552,7 @@ __exportStar(require("./WorkflowExecutionActual"), exports);
|
|
|
548
552
|
__exportStar(require("./WorkflowExecutionActualChatHistoryRequest"), exports);
|
|
549
553
|
__exportStar(require("./WorkflowExecutionActualJsonRequest"), exports);
|
|
550
554
|
__exportStar(require("./WorkflowExecutionActualStringRequest"), exports);
|
|
555
|
+
__exportStar(require("./WorkflowExecutionDetail"), exports);
|
|
551
556
|
__exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
552
557
|
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
|
553
558
|
__exportStar(require("./WorkflowExecutionFulfilledBody"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ import { TestSuiteRuns } from "./api/resources/testSuiteRuns/client/Client";
|
|
|
19
19
|
import { TestSuites } from "./api/resources/testSuites/client/Client";
|
|
20
20
|
import { WorkflowDeployments } from "./api/resources/workflowDeployments/client/Client";
|
|
21
21
|
import { ReleaseReviews } from "./api/resources/releaseReviews/client/Client";
|
|
22
|
+
import { WorkflowExecutions } from "./api/resources/workflowExecutions/client/Client";
|
|
22
23
|
import { WorkflowSandboxes } from "./api/resources/workflowSandboxes/client/Client";
|
|
23
24
|
import { Workflows } from "./api/resources/workflows/client/Client";
|
|
24
25
|
import { WorkspaceSecrets } from "./api/resources/workspaceSecrets/client/Client";
|
|
@@ -62,6 +63,7 @@ export declare class VellumClient {
|
|
|
62
63
|
protected _testSuites: TestSuites | undefined;
|
|
63
64
|
protected _workflowDeployments: WorkflowDeployments | undefined;
|
|
64
65
|
protected _releaseReviews: ReleaseReviews | undefined;
|
|
66
|
+
protected _workflowExecutions: WorkflowExecutions | undefined;
|
|
65
67
|
protected _workflowSandboxes: WorkflowSandboxes | undefined;
|
|
66
68
|
protected _workflows: Workflows | undefined;
|
|
67
69
|
protected _workspaceSecrets: WorkspaceSecrets | undefined;
|
|
@@ -82,6 +84,7 @@ export declare class VellumClient {
|
|
|
82
84
|
get testSuites(): TestSuites;
|
|
83
85
|
get workflowDeployments(): WorkflowDeployments;
|
|
84
86
|
get releaseReviews(): ReleaseReviews;
|
|
87
|
+
get workflowExecutions(): WorkflowExecutions;
|
|
85
88
|
get workflowSandboxes(): WorkflowSandboxes;
|
|
86
89
|
get workflows(): Workflows;
|
|
87
90
|
get workspaceSecrets(): WorkspaceSecrets;
|
package/dist/Client.js
CHANGED
|
@@ -70,10 +70,11 @@ const Client_12 = require("./api/resources/testSuiteRuns/client/Client");
|
|
|
70
70
|
const Client_13 = require("./api/resources/testSuites/client/Client");
|
|
71
71
|
const Client_14 = require("./api/resources/workflowDeployments/client/Client");
|
|
72
72
|
const Client_15 = require("./api/resources/releaseReviews/client/Client");
|
|
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/
|
|
73
|
+
const Client_16 = require("./api/resources/workflowExecutions/client/Client");
|
|
74
|
+
const Client_17 = require("./api/resources/workflowSandboxes/client/Client");
|
|
75
|
+
const Client_18 = require("./api/resources/workflows/client/Client");
|
|
76
|
+
const Client_19 = require("./api/resources/workspaceSecrets/client/Client");
|
|
77
|
+
const Client_20 = require("./api/resources/workspaces/client/Client");
|
|
77
78
|
class VellumClient {
|
|
78
79
|
constructor(_options) {
|
|
79
80
|
this._options = _options;
|
|
@@ -138,21 +139,25 @@ class VellumClient {
|
|
|
138
139
|
var _a;
|
|
139
140
|
return ((_a = this._releaseReviews) !== null && _a !== void 0 ? _a : (this._releaseReviews = new Client_15.ReleaseReviews(this._options)));
|
|
140
141
|
}
|
|
142
|
+
get workflowExecutions() {
|
|
143
|
+
var _a;
|
|
144
|
+
return ((_a = this._workflowExecutions) !== null && _a !== void 0 ? _a : (this._workflowExecutions = new Client_16.WorkflowExecutions(this._options)));
|
|
145
|
+
}
|
|
141
146
|
get workflowSandboxes() {
|
|
142
147
|
var _a;
|
|
143
|
-
return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new
|
|
148
|
+
return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new Client_17.WorkflowSandboxes(this._options)));
|
|
144
149
|
}
|
|
145
150
|
get workflows() {
|
|
146
151
|
var _a;
|
|
147
|
-
return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new
|
|
152
|
+
return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new Client_18.Workflows(this._options)));
|
|
148
153
|
}
|
|
149
154
|
get workspaceSecrets() {
|
|
150
155
|
var _a;
|
|
151
|
-
return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new
|
|
156
|
+
return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new Client_19.WorkspaceSecrets(this._options)));
|
|
152
157
|
}
|
|
153
158
|
get workspaces() {
|
|
154
159
|
var _a;
|
|
155
|
-
return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new
|
|
160
|
+
return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new Client_20.Workspaces(this._options)));
|
|
156
161
|
}
|
|
157
162
|
/**
|
|
158
163
|
* @param {Vellum.ExecuteApiRequest} request
|
|
@@ -177,7 +182,7 @@ class VellumClient {
|
|
|
177
182
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
178
183
|
unrecognizedObjectKeys: "strip",
|
|
179
184
|
})
|
|
180
|
-
:
|
|
185
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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),
|
|
181
186
|
contentType: "application/json",
|
|
182
187
|
requestType: "json",
|
|
183
188
|
body: serializers.ExecuteApiRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -263,7 +268,7 @@ class VellumClient {
|
|
|
263
268
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
264
269
|
unrecognizedObjectKeys: "strip",
|
|
265
270
|
})
|
|
266
|
-
:
|
|
271
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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),
|
|
267
272
|
contentType: "application/json",
|
|
268
273
|
requestType: "json",
|
|
269
274
|
body: serializers.CodeExecutor.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -349,7 +354,7 @@ class VellumClient {
|
|
|
349
354
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
350
355
|
unrecognizedObjectKeys: "strip",
|
|
351
356
|
})
|
|
352
|
-
:
|
|
357
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
353
358
|
contentType: "application/json",
|
|
354
359
|
requestType: "json",
|
|
355
360
|
body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -420,7 +425,7 @@ class VellumClient {
|
|
|
420
425
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
421
426
|
unrecognizedObjectKeys: "strip",
|
|
422
427
|
})
|
|
423
|
-
:
|
|
428
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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),
|
|
424
429
|
contentType: "application/json",
|
|
425
430
|
requestType: "json",
|
|
426
431
|
body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -522,7 +527,7 @@ class VellumClient {
|
|
|
522
527
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
523
528
|
unrecognizedObjectKeys: "strip",
|
|
524
529
|
})
|
|
525
|
-
:
|
|
530
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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),
|
|
526
531
|
contentType: "application/json",
|
|
527
532
|
requestType: "json",
|
|
528
533
|
body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -591,7 +596,7 @@ class VellumClient {
|
|
|
591
596
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
592
597
|
unrecognizedObjectKeys: "strip",
|
|
593
598
|
})
|
|
594
|
-
:
|
|
599
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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),
|
|
595
600
|
contentType: "application/json",
|
|
596
601
|
requestType: "json",
|
|
597
602
|
body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -699,7 +704,7 @@ class VellumClient {
|
|
|
699
704
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
700
705
|
unrecognizedObjectKeys: "strip",
|
|
701
706
|
})
|
|
702
|
-
:
|
|
707
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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),
|
|
703
708
|
contentType: "application/json",
|
|
704
709
|
requestType: "json",
|
|
705
710
|
body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -773,7 +778,7 @@ class VellumClient {
|
|
|
773
778
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
774
779
|
unrecognizedObjectKeys: "strip",
|
|
775
780
|
})
|
|
776
|
-
:
|
|
781
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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),
|
|
777
782
|
contentType: "application/json",
|
|
778
783
|
requestType: "json",
|
|
779
784
|
body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -867,7 +872,7 @@ class VellumClient {
|
|
|
867
872
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
868
873
|
unrecognizedObjectKeys: "strip",
|
|
869
874
|
})
|
|
870
|
-
:
|
|
875
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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),
|
|
871
876
|
contentType: "application/json",
|
|
872
877
|
requestType: "json",
|
|
873
878
|
body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -948,7 +953,7 @@ class VellumClient {
|
|
|
948
953
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
949
954
|
unrecognizedObjectKeys: "strip",
|
|
950
955
|
})
|
|
951
|
-
:
|
|
956
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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),
|
|
952
957
|
contentType: "application/json",
|
|
953
958
|
requestType: "json",
|
|
954
959
|
body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -1023,7 +1028,7 @@ class VellumClient {
|
|
|
1023
1028
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
1024
1029
|
unrecognizedObjectKeys: "strip",
|
|
1025
1030
|
})
|
|
1026
|
-
:
|
|
1031
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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),
|
|
1027
1032
|
contentType: "application/json",
|
|
1028
1033
|
requestType: "json",
|
|
1029
1034
|
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
|
-
:
|
|
115
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
181
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
95
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
161
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
223
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
290
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
101
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
167
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
234
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
316
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
383
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
450
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
519
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
608
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
103
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
178
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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" }),
|
|
@@ -241,7 +241,7 @@ class DocumentIndexes {
|
|
|
241
241
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
242
242
|
unrecognizedObjectKeys: "strip",
|
|
243
243
|
})
|
|
244
|
-
:
|
|
244
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -309,7 +309,7 @@ class DocumentIndexes {
|
|
|
309
309
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
310
310
|
unrecognizedObjectKeys: "strip",
|
|
311
311
|
})
|
|
312
|
-
:
|
|
312
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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),
|
|
313
313
|
contentType: "application/json",
|
|
314
314
|
requestType: "json",
|
|
315
315
|
body: serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -375,7 +375,7 @@ class DocumentIndexes {
|
|
|
375
375
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
376
376
|
unrecognizedObjectKeys: "strip",
|
|
377
377
|
})
|
|
378
|
-
:
|
|
378
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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),
|
|
379
379
|
contentType: "application/json",
|
|
380
380
|
requestType: "json",
|
|
381
381
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -433,7 +433,7 @@ class DocumentIndexes {
|
|
|
433
433
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
434
434
|
unrecognizedObjectKeys: "strip",
|
|
435
435
|
})
|
|
436
|
-
:
|
|
436
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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),
|
|
437
437
|
contentType: "application/json",
|
|
438
438
|
requestType: "json",
|
|
439
439
|
body: serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
|
|
@@ -502,7 +502,7 @@ class DocumentIndexes {
|
|
|
502
502
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
503
503
|
unrecognizedObjectKeys: "strip",
|
|
504
504
|
})
|
|
505
|
-
:
|
|
505
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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),
|
|
506
506
|
contentType: "application/json",
|
|
507
507
|
requestType: "json",
|
|
508
508
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -560,7 +560,7 @@ class DocumentIndexes {
|
|
|
560
560
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
561
561
|
unrecognizedObjectKeys: "strip",
|
|
562
562
|
})
|
|
563
|
-
:
|
|
563
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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),
|
|
564
564
|
contentType: "application/json",
|
|
565
565
|
requestType: "json",
|
|
566
566
|
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
|
-
:
|
|
102
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
168
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
233
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
291
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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
|
-
:
|
|
381
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.0.3", "User-Agent": "vellum-ai/1.0.3", "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,
|