vellum-ai 0.7.9 → 0.7.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.js +9 -9
- package/api/resources/deployments/client/Client.js +5 -5
- 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 +1 -1
- package/api/resources/mlModels/client/Client.js +5 -5
- package/api/resources/mlModels/client/requests/MlModelUpdateRequest.d.ts +4 -0
- package/api/resources/mlModels/client/requests/PatchedMlModelUpdateRequest.d.ts +4 -0
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +4 -4
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/types/MlModelDisplayConfigLabelled.d.ts +2 -0
- package/api/types/MlModelDisplayConfigRequest.d.ts +2 -0
- package/api/types/MlModelExecConfig.d.ts +2 -0
- package/api/types/MlModelExecConfigRequest.d.ts +2 -0
- package/api/types/OpenApiArrayProperty.d.ts +1 -1
- package/api/types/OpenApiArrayPropertyRequest.d.ts +1 -1
- package/api/types/OpenApiBooleanProperty.d.ts +1 -1
- package/api/types/OpenApiBooleanPropertyRequest.d.ts +1 -1
- package/api/types/OpenApiConstProperty.d.ts +1 -1
- package/api/types/OpenApiConstPropertyRequest.d.ts +1 -1
- package/api/types/OpenApiIntegerProperty.d.ts +1 -1
- package/api/types/OpenApiIntegerPropertyRequest.d.ts +1 -1
- package/api/types/OpenApiNumberProperty.d.ts +1 -1
- package/api/types/OpenApiNumberPropertyRequest.d.ts +1 -1
- package/api/types/OpenApiObjectProperty.d.ts +1 -1
- package/api/types/OpenApiObjectPropertyRequest.d.ts +1 -1
- package/api/types/OpenApiOneOfProperty.d.ts +1 -1
- package/api/types/OpenApiOneOfPropertyRequest.d.ts +1 -1
- package/api/types/OpenApiProperty.d.ts +4 -1
- package/api/types/OpenApiPropertyRequest.d.ts +4 -1
- package/api/types/OpenApiRefProperty.d.ts +11 -0
- package/api/types/OpenApiRefProperty.js +5 -0
- package/api/types/OpenApiRefPropertyRequest.d.ts +11 -0
- package/api/types/OpenApiRefPropertyRequest.js +5 -0
- package/api/types/OpenApiStringProperty.d.ts +1 -1
- package/api/types/OpenApiStringPropertyRequest.d.ts +1 -1
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -0
- package/dist/Client.js +9 -9
- package/dist/api/resources/deployments/client/Client.js +5 -5
- 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 +1 -1
- package/dist/api/resources/mlModels/client/Client.js +5 -5
- package/dist/api/resources/mlModels/client/requests/MlModelUpdateRequest.d.ts +4 -0
- package/dist/api/resources/mlModels/client/requests/PatchedMlModelUpdateRequest.d.ts +4 -0
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/types/MlModelDisplayConfigLabelled.d.ts +2 -0
- package/dist/api/types/MlModelDisplayConfigRequest.d.ts +2 -0
- package/dist/api/types/MlModelExecConfig.d.ts +2 -0
- package/dist/api/types/MlModelExecConfigRequest.d.ts +2 -0
- package/dist/api/types/OpenApiArrayProperty.d.ts +1 -1
- package/dist/api/types/OpenApiArrayPropertyRequest.d.ts +1 -1
- package/dist/api/types/OpenApiBooleanProperty.d.ts +1 -1
- package/dist/api/types/OpenApiBooleanPropertyRequest.d.ts +1 -1
- package/dist/api/types/OpenApiConstProperty.d.ts +1 -1
- package/dist/api/types/OpenApiConstPropertyRequest.d.ts +1 -1
- package/dist/api/types/OpenApiIntegerProperty.d.ts +1 -1
- package/dist/api/types/OpenApiIntegerPropertyRequest.d.ts +1 -1
- package/dist/api/types/OpenApiNumberProperty.d.ts +1 -1
- package/dist/api/types/OpenApiNumberPropertyRequest.d.ts +1 -1
- package/dist/api/types/OpenApiObjectProperty.d.ts +1 -1
- package/dist/api/types/OpenApiObjectPropertyRequest.d.ts +1 -1
- package/dist/api/types/OpenApiOneOfProperty.d.ts +1 -1
- package/dist/api/types/OpenApiOneOfPropertyRequest.d.ts +1 -1
- package/dist/api/types/OpenApiProperty.d.ts +4 -1
- package/dist/api/types/OpenApiPropertyRequest.d.ts +4 -1
- package/dist/api/types/OpenApiRefProperty.d.ts +11 -0
- package/dist/api/types/OpenApiRefProperty.js +5 -0
- package/dist/api/types/OpenApiRefPropertyRequest.d.ts +11 -0
- package/dist/api/types/OpenApiRefPropertyRequest.js +5 -0
- package/dist/api/types/OpenApiStringProperty.d.ts +1 -1
- package/dist/api/types/OpenApiStringPropertyRequest.d.ts +1 -1
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/serialization/resources/mlModels/client/requests/MlModelUpdateRequest.d.ts +4 -0
- package/dist/serialization/resources/mlModels/client/requests/MlModelUpdateRequest.js +4 -0
- package/dist/serialization/resources/mlModels/client/requests/PatchedMlModelUpdateRequest.d.ts +4 -0
- package/dist/serialization/resources/mlModels/client/requests/PatchedMlModelUpdateRequest.js +4 -0
- package/dist/serialization/types/MlModelDisplayConfigLabelled.d.ts +1 -0
- package/dist/serialization/types/MlModelDisplayConfigLabelled.js +1 -0
- package/dist/serialization/types/MlModelDisplayConfigRequest.d.ts +1 -0
- package/dist/serialization/types/MlModelDisplayConfigRequest.js +1 -0
- package/dist/serialization/types/MlModelExecConfig.d.ts +1 -0
- package/dist/serialization/types/MlModelExecConfig.js +1 -0
- package/dist/serialization/types/MlModelExecConfigRequest.d.ts +1 -0
- package/dist/serialization/types/MlModelExecConfigRequest.js +1 -0
- package/dist/serialization/types/OpenApiProperty.d.ts +5 -1
- package/dist/serialization/types/OpenApiProperty.js +2 -0
- package/dist/serialization/types/OpenApiPropertyRequest.d.ts +5 -1
- package/dist/serialization/types/OpenApiPropertyRequest.js +2 -0
- package/dist/serialization/types/OpenApiRefProperty.d.ts +14 -0
- package/dist/serialization/types/OpenApiRefProperty.js +35 -0
- package/dist/serialization/types/OpenApiRefPropertyRequest.d.ts +14 -0
- package/dist/serialization/types/OpenApiRefPropertyRequest.js +35 -0
- package/dist/serialization/types/index.d.ts +2 -0
- package/dist/serialization/types/index.js +2 -0
- package/package.json +1 -1
- package/serialization/resources/mlModels/client/requests/MlModelUpdateRequest.d.ts +4 -0
- package/serialization/resources/mlModels/client/requests/MlModelUpdateRequest.js +4 -0
- package/serialization/resources/mlModels/client/requests/PatchedMlModelUpdateRequest.d.ts +4 -0
- package/serialization/resources/mlModels/client/requests/PatchedMlModelUpdateRequest.js +4 -0
- package/serialization/types/MlModelDisplayConfigLabelled.d.ts +1 -0
- package/serialization/types/MlModelDisplayConfigLabelled.js +1 -0
- package/serialization/types/MlModelDisplayConfigRequest.d.ts +1 -0
- package/serialization/types/MlModelDisplayConfigRequest.js +1 -0
- package/serialization/types/MlModelExecConfig.d.ts +1 -0
- package/serialization/types/MlModelExecConfig.js +1 -0
- package/serialization/types/MlModelExecConfigRequest.d.ts +1 -0
- package/serialization/types/MlModelExecConfigRequest.js +1 -0
- package/serialization/types/OpenApiProperty.d.ts +5 -1
- package/serialization/types/OpenApiProperty.js +2 -0
- package/serialization/types/OpenApiPropertyRequest.d.ts +5 -1
- package/serialization/types/OpenApiPropertyRequest.js +2 -0
- package/serialization/types/OpenApiRefProperty.d.ts +14 -0
- package/serialization/types/OpenApiRefProperty.js +35 -0
- package/serialization/types/OpenApiRefPropertyRequest.d.ts +14 -0
- package/serialization/types/OpenApiRefPropertyRequest.js +35 -0
- package/serialization/types/index.d.ts +2 -0
- package/serialization/types/index.js +2 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* An OpenAPI specification of a
|
|
5
|
+
* An OpenAPI specification of a property with type 'const'
|
|
6
6
|
*/
|
|
7
7
|
export interface OpenApiConstPropertyRequest {
|
|
8
8
|
title?: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* An OpenAPI specification of a
|
|
5
|
+
* An OpenAPI specification of a property with type 'integer'
|
|
6
6
|
*/
|
|
7
7
|
export interface OpenApiIntegerProperty {
|
|
8
8
|
minimum?: number;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* An OpenAPI specification of a
|
|
5
|
+
* An OpenAPI specification of a property with type 'integer'
|
|
6
6
|
*/
|
|
7
7
|
export interface OpenApiIntegerPropertyRequest {
|
|
8
8
|
minimum?: number;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* An OpenAPI specification of a
|
|
5
|
+
* An OpenAPI specification of a property with type 'number'
|
|
6
6
|
*/
|
|
7
7
|
export interface OpenApiNumberProperty {
|
|
8
8
|
minimum?: number;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* An OpenAPI specification of a
|
|
5
|
+
* An OpenAPI specification of a property with type 'number'
|
|
6
6
|
*/
|
|
7
7
|
export interface OpenApiNumberPropertyRequest {
|
|
8
8
|
minimum?: number;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
5
|
/**
|
|
6
|
-
* An OpenAPI specification of a
|
|
6
|
+
* An OpenAPI specification of a property with type 'object'
|
|
7
7
|
*/
|
|
8
8
|
export interface OpenApiObjectProperty {
|
|
9
9
|
properties?: Record<string, Vellum.OpenApiProperty | undefined>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
5
|
/**
|
|
6
|
-
* An OpenAPI specification of a
|
|
6
|
+
* An OpenAPI specification of a property with type 'object'
|
|
7
7
|
*/
|
|
8
8
|
export interface OpenApiObjectPropertyRequest {
|
|
9
9
|
properties?: Record<string, Vellum.OpenApiPropertyRequest | undefined>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export declare type OpenApiProperty = Vellum.OpenApiProperty.Array | Vellum.OpenApiProperty.Object_ | Vellum.OpenApiProperty.Integer | Vellum.OpenApiProperty.Number | Vellum.OpenApiProperty.String | Vellum.OpenApiProperty.Boolean | Vellum.OpenApiProperty.OneOf | Vellum.OpenApiProperty.Const;
|
|
5
|
+
export declare type OpenApiProperty = Vellum.OpenApiProperty.Array | Vellum.OpenApiProperty.Object_ | Vellum.OpenApiProperty.Integer | Vellum.OpenApiProperty.Number | Vellum.OpenApiProperty.String | Vellum.OpenApiProperty.Boolean | Vellum.OpenApiProperty.OneOf | Vellum.OpenApiProperty.Const | Vellum.OpenApiProperty.Ref;
|
|
6
6
|
export declare namespace OpenApiProperty {
|
|
7
7
|
interface Array extends Vellum.OpenApiArrayProperty {
|
|
8
8
|
type: "array";
|
|
@@ -28,4 +28,7 @@ export declare namespace OpenApiProperty {
|
|
|
28
28
|
interface Const extends Vellum.OpenApiConstProperty {
|
|
29
29
|
type: "const";
|
|
30
30
|
}
|
|
31
|
+
interface Ref extends Vellum.OpenApiRefProperty {
|
|
32
|
+
type: "ref";
|
|
33
|
+
}
|
|
31
34
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export declare type OpenApiPropertyRequest = Vellum.OpenApiPropertyRequest.Array | Vellum.OpenApiPropertyRequest.Object_ | Vellum.OpenApiPropertyRequest.Integer | Vellum.OpenApiPropertyRequest.Number | Vellum.OpenApiPropertyRequest.String | Vellum.OpenApiPropertyRequest.Boolean | Vellum.OpenApiPropertyRequest.OneOf | Vellum.OpenApiPropertyRequest.Const;
|
|
5
|
+
export declare type OpenApiPropertyRequest = Vellum.OpenApiPropertyRequest.Array | Vellum.OpenApiPropertyRequest.Object_ | Vellum.OpenApiPropertyRequest.Integer | Vellum.OpenApiPropertyRequest.Number | Vellum.OpenApiPropertyRequest.String | Vellum.OpenApiPropertyRequest.Boolean | Vellum.OpenApiPropertyRequest.OneOf | Vellum.OpenApiPropertyRequest.Const | Vellum.OpenApiPropertyRequest.Ref;
|
|
6
6
|
export declare namespace OpenApiPropertyRequest {
|
|
7
7
|
interface Array extends Vellum.OpenApiArrayPropertyRequest {
|
|
8
8
|
type: "array";
|
|
@@ -28,4 +28,7 @@ export declare namespace OpenApiPropertyRequest {
|
|
|
28
28
|
interface Const extends Vellum.OpenApiConstPropertyRequest {
|
|
29
29
|
type: "const";
|
|
30
30
|
}
|
|
31
|
+
interface Ref extends Vellum.OpenApiRefPropertyRequest {
|
|
32
|
+
type: "ref";
|
|
33
|
+
}
|
|
31
34
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* An OpenAPI specification of a property that is a URI-reference to another schema
|
|
6
|
+
*/
|
|
7
|
+
export interface OpenApiRefProperty {
|
|
8
|
+
title?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
ref: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* An OpenAPI specification of a property that is a URI-reference to another schema
|
|
6
|
+
*/
|
|
7
|
+
export interface OpenApiRefPropertyRequest {
|
|
8
|
+
title?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
ref: string;
|
|
11
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* An OpenAPI specification of a
|
|
5
|
+
* An OpenAPI specification of a property with type 'string'
|
|
6
6
|
*/
|
|
7
7
|
export interface OpenApiStringProperty {
|
|
8
8
|
minLength?: number;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* An OpenAPI specification of a
|
|
5
|
+
* An OpenAPI specification of a property with type 'string'
|
|
6
6
|
*/
|
|
7
7
|
export interface OpenApiStringPropertyRequest {
|
|
8
8
|
minLength?: number;
|
package/api/types/index.d.ts
CHANGED
|
@@ -221,6 +221,8 @@ export * from "./OpenApiOneOfProperty";
|
|
|
221
221
|
export * from "./OpenApiOneOfPropertyRequest";
|
|
222
222
|
export * from "./OpenApiProperty";
|
|
223
223
|
export * from "./OpenApiPropertyRequest";
|
|
224
|
+
export * from "./OpenApiRefProperty";
|
|
225
|
+
export * from "./OpenApiRefPropertyRequest";
|
|
224
226
|
export * from "./OpenApiStringProperty";
|
|
225
227
|
export * from "./OpenApiStringPropertyRequest";
|
|
226
228
|
export * from "./PaginatedDocumentIndexReadList";
|
package/api/types/index.js
CHANGED
|
@@ -237,6 +237,8 @@ __exportStar(require("./OpenApiOneOfProperty"), exports);
|
|
|
237
237
|
__exportStar(require("./OpenApiOneOfPropertyRequest"), exports);
|
|
238
238
|
__exportStar(require("./OpenApiProperty"), exports);
|
|
239
239
|
__exportStar(require("./OpenApiPropertyRequest"), exports);
|
|
240
|
+
__exportStar(require("./OpenApiRefProperty"), exports);
|
|
241
|
+
__exportStar(require("./OpenApiRefPropertyRequest"), exports);
|
|
240
242
|
__exportStar(require("./OpenApiStringProperty"), exports);
|
|
241
243
|
__exportStar(require("./OpenApiStringPropertyRequest"), exports);
|
|
242
244
|
__exportStar(require("./PaginatedDocumentIndexReadList"), exports);
|
package/dist/Client.js
CHANGED
|
@@ -117,7 +117,7 @@ class VellumClient {
|
|
|
117
117
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
118
118
|
.predict, "v1/execute-prompt"),
|
|
119
119
|
method: "POST",
|
|
120
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
120
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
121
121
|
contentType: "application/json",
|
|
122
122
|
requestType: "json",
|
|
123
123
|
body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -175,7 +175,7 @@ class VellumClient {
|
|
|
175
175
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
176
176
|
.predict, "v1/execute-prompt-stream"),
|
|
177
177
|
method: "POST",
|
|
178
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
178
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
179
179
|
contentType: "application/json",
|
|
180
180
|
requestType: "json",
|
|
181
181
|
body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -267,7 +267,7 @@ class VellumClient {
|
|
|
267
267
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
268
268
|
.predict, "v1/execute-workflow"),
|
|
269
269
|
method: "POST",
|
|
270
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
270
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
271
271
|
contentType: "application/json",
|
|
272
272
|
requestType: "json",
|
|
273
273
|
body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -323,7 +323,7 @@ class VellumClient {
|
|
|
323
323
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
324
324
|
.predict, "v1/execute-workflow-stream"),
|
|
325
325
|
method: "POST",
|
|
326
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
326
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
327
327
|
contentType: "application/json",
|
|
328
328
|
requestType: "json",
|
|
329
329
|
body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -410,7 +410,7 @@ class VellumClient {
|
|
|
410
410
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
411
411
|
.predict, "v1/generate"),
|
|
412
412
|
method: "POST",
|
|
413
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
413
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
414
414
|
contentType: "application/json",
|
|
415
415
|
requestType: "json",
|
|
416
416
|
body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -471,7 +471,7 @@ class VellumClient {
|
|
|
471
471
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
472
472
|
.predict, "v1/generate-stream"),
|
|
473
473
|
method: "POST",
|
|
474
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
474
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
475
475
|
contentType: "application/json",
|
|
476
476
|
requestType: "json",
|
|
477
477
|
body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -552,7 +552,7 @@ class VellumClient {
|
|
|
552
552
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
553
553
|
.predict, "v1/search"),
|
|
554
554
|
method: "POST",
|
|
555
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
555
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
556
556
|
contentType: "application/json",
|
|
557
557
|
requestType: "json",
|
|
558
558
|
body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -620,7 +620,7 @@ class VellumClient {
|
|
|
620
620
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
621
621
|
.predict, "v1/submit-completion-actuals"),
|
|
622
622
|
method: "POST",
|
|
623
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
623
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
624
624
|
contentType: "application/json",
|
|
625
625
|
requestType: "json",
|
|
626
626
|
body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -681,7 +681,7 @@ class VellumClient {
|
|
|
681
681
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
682
682
|
.predict, "v1/submit-workflow-execution-actuals"),
|
|
683
683
|
method: "POST",
|
|
684
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
684
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
685
685
|
contentType: "application/json",
|
|
686
686
|
requestType: "json",
|
|
687
687
|
body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -79,7 +79,7 @@ class Deployments {
|
|
|
79
79
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
80
80
|
.default, "v1/deployments"),
|
|
81
81
|
method: "GET",
|
|
82
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
82
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
83
83
|
contentType: "application/json",
|
|
84
84
|
queryParameters: _queryParams,
|
|
85
85
|
requestType: "json",
|
|
@@ -132,7 +132,7 @@ class Deployments {
|
|
|
132
132
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
133
133
|
.default, `v1/deployments/${encodeURIComponent(id)}`),
|
|
134
134
|
method: "GET",
|
|
135
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
135
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
136
136
|
contentType: "application/json",
|
|
137
137
|
requestType: "json",
|
|
138
138
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -185,7 +185,7 @@ class Deployments {
|
|
|
185
185
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
186
186
|
.default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
187
187
|
method: "GET",
|
|
188
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
188
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
189
189
|
contentType: "application/json",
|
|
190
190
|
requestType: "json",
|
|
191
191
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -239,7 +239,7 @@ class Deployments {
|
|
|
239
239
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
240
240
|
.default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
241
241
|
method: "PATCH",
|
|
242
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
242
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
243
243
|
contentType: "application/json",
|
|
244
244
|
requestType: "json",
|
|
245
245
|
body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -310,7 +310,7 @@ class Deployments {
|
|
|
310
310
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
311
311
|
.default, "v1/deployments/provider-payload"),
|
|
312
312
|
method: "POST",
|
|
313
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
313
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
314
314
|
contentType: "application/json",
|
|
315
315
|
requestType: "json",
|
|
316
316
|
body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|
|
@@ -81,7 +81,7 @@ class DocumentIndexes {
|
|
|
81
81
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
82
82
|
.default, "v1/document-indexes"),
|
|
83
83
|
method: "GET",
|
|
84
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
84
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
queryParameters: _queryParams,
|
|
87
87
|
requestType: "json",
|
|
@@ -148,7 +148,7 @@ class DocumentIndexes {
|
|
|
148
148
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
149
149
|
.default, "v1/document-indexes"),
|
|
150
150
|
method: "POST",
|
|
151
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
151
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
152
152
|
contentType: "application/json",
|
|
153
153
|
requestType: "json",
|
|
154
154
|
body: serializers.DocumentIndexCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -201,7 +201,7 @@ class DocumentIndexes {
|
|
|
201
201
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
202
202
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
203
203
|
method: "GET",
|
|
204
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
204
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
205
205
|
contentType: "application/json",
|
|
206
206
|
requestType: "json",
|
|
207
207
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -258,7 +258,7 @@ class DocumentIndexes {
|
|
|
258
258
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
259
259
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
260
260
|
method: "PUT",
|
|
261
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
261
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
262
262
|
contentType: "application/json",
|
|
263
263
|
requestType: "json",
|
|
264
264
|
body: serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -311,7 +311,7 @@ class DocumentIndexes {
|
|
|
311
311
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
312
312
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
313
313
|
method: "DELETE",
|
|
314
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
314
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
315
315
|
contentType: "application/json",
|
|
316
316
|
requestType: "json",
|
|
317
317
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -363,7 +363,7 @@ class DocumentIndexes {
|
|
|
363
363
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
364
364
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
365
365
|
method: "PATCH",
|
|
366
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
366
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
367
367
|
contentType: "application/json",
|
|
368
368
|
requestType: "json",
|
|
369
369
|
body: serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
|
|
@@ -419,7 +419,7 @@ class DocumentIndexes {
|
|
|
419
419
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
420
420
|
.default, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
|
|
421
421
|
method: "POST",
|
|
422
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
422
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
423
423
|
contentType: "application/json",
|
|
424
424
|
requestType: "json",
|
|
425
425
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -467,7 +467,7 @@ class DocumentIndexes {
|
|
|
467
467
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
468
468
|
.default, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
|
|
469
469
|
method: "DELETE",
|
|
470
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
470
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
471
471
|
contentType: "application/json",
|
|
472
472
|
requestType: "json",
|
|
473
473
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -79,7 +79,7 @@ class Documents {
|
|
|
79
79
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
80
80
|
.default, "v1/documents"),
|
|
81
81
|
method: "GET",
|
|
82
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
82
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
83
83
|
contentType: "application/json",
|
|
84
84
|
queryParameters: _queryParams,
|
|
85
85
|
requestType: "json",
|
|
@@ -132,7 +132,7 @@ class Documents {
|
|
|
132
132
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
133
133
|
.default, `v1/documents/${encodeURIComponent(id)}`),
|
|
134
134
|
method: "GET",
|
|
135
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
135
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
136
136
|
contentType: "application/json",
|
|
137
137
|
requestType: "json",
|
|
138
138
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -184,7 +184,7 @@ class Documents {
|
|
|
184
184
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
185
185
|
.default, `v1/documents/${encodeURIComponent(id)}`),
|
|
186
186
|
method: "DELETE",
|
|
187
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
187
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
188
188
|
contentType: "application/json",
|
|
189
189
|
requestType: "json",
|
|
190
190
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -232,7 +232,7 @@ class Documents {
|
|
|
232
232
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
233
233
|
.default, `v1/documents/${encodeURIComponent(id)}`),
|
|
234
234
|
method: "PATCH",
|
|
235
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
235
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
236
236
|
contentType: "application/json",
|
|
237
237
|
requestType: "json",
|
|
238
238
|
body: serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -322,7 +322,7 @@ class Documents {
|
|
|
322
322
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
323
323
|
.documents, "v1/upload-document"),
|
|
324
324
|
method: "POST",
|
|
325
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
325
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), (yield _maybeEncodedRequest.headers)),
|
|
326
326
|
requestType: "file",
|
|
327
327
|
body: yield _maybeEncodedRequest.body,
|
|
328
328
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -69,7 +69,7 @@ class FolderEntities {
|
|
|
69
69
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
70
70
|
.default, `v1/folders/${encodeURIComponent(folderId)}/add-entity`),
|
|
71
71
|
method: "POST",
|
|
72
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
72
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
requestType: "json",
|
|
75
75
|
body: serializers.AddEntityToFolderRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -75,7 +75,7 @@ class MlModels {
|
|
|
75
75
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
76
76
|
.default, "v1/ml-models"),
|
|
77
77
|
method: "GET",
|
|
78
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
78
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
queryParameters: _queryParams,
|
|
81
81
|
requestType: "json",
|
|
@@ -141,7 +141,7 @@ class MlModels {
|
|
|
141
141
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
142
142
|
.default, "v1/ml-models"),
|
|
143
143
|
method: "POST",
|
|
144
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
144
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
145
145
|
contentType: "application/json",
|
|
146
146
|
requestType: "json",
|
|
147
147
|
body: serializers.MlModelCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -194,7 +194,7 @@ class MlModels {
|
|
|
194
194
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
195
195
|
.default, `v1/ml-models/${encodeURIComponent(id)}`),
|
|
196
196
|
method: "GET",
|
|
197
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
197
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
198
198
|
contentType: "application/json",
|
|
199
199
|
requestType: "json",
|
|
200
200
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -247,7 +247,7 @@ class MlModels {
|
|
|
247
247
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
248
248
|
.default, `v1/ml-models/${encodeURIComponent(id)}`),
|
|
249
249
|
method: "PUT",
|
|
250
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
250
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
251
251
|
contentType: "application/json",
|
|
252
252
|
requestType: "json",
|
|
253
253
|
body: serializers.MlModelUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -301,7 +301,7 @@ class MlModels {
|
|
|
301
301
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
302
302
|
.default, `v1/ml-models/${encodeURIComponent(id)}`),
|
|
303
303
|
method: "PATCH",
|
|
304
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
304
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
305
305
|
contentType: "application/json",
|
|
306
306
|
requestType: "json",
|
|
307
307
|
body: serializers.PatchedMlModelUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -7,6 +7,10 @@ import * as Vellum from "../../../../index";
|
|
|
7
7
|
* {}
|
|
8
8
|
*/
|
|
9
9
|
export interface MlModelUpdateRequest {
|
|
10
|
+
/** Configuration for how to execute the ML Model. */
|
|
11
|
+
execConfig?: Vellum.MlModelExecConfigRequest;
|
|
12
|
+
/** Configuration for the ML Model's parameters. */
|
|
13
|
+
parameterConfig?: Vellum.MlModelParameterConfigRequest;
|
|
10
14
|
/** Configuration for how to display the ML Model. */
|
|
11
15
|
displayConfig?: Vellum.MlModelDisplayConfigRequest;
|
|
12
16
|
/**
|
|
@@ -7,6 +7,10 @@ import * as Vellum from "../../../../index";
|
|
|
7
7
|
* {}
|
|
8
8
|
*/
|
|
9
9
|
export interface PatchedMlModelUpdateRequest {
|
|
10
|
+
/** Configuration for how to execute the ML Model. */
|
|
11
|
+
execConfig?: Vellum.MlModelExecConfigRequest;
|
|
12
|
+
/** Configuration for the ML Model's parameters. */
|
|
13
|
+
parameterConfig?: Vellum.MlModelParameterConfigRequest;
|
|
10
14
|
/** Configuration for how to display the ML Model. */
|
|
11
15
|
displayConfig?: Vellum.MlModelDisplayConfigRequest;
|
|
12
16
|
/**
|
|
@@ -64,7 +64,7 @@ class Sandboxes {
|
|
|
64
64
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
65
65
|
.default, `v1/sandboxes/${encodeURIComponent(id)}/prompts/${encodeURIComponent(promptVariantId)}/deploy`),
|
|
66
66
|
method: "POST",
|
|
67
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
68
68
|
contentType: "application/json",
|
|
69
69
|
requestType: "json",
|
|
70
70
|
body: serializers.DeploySandboxPromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -133,7 +133,7 @@ class Sandboxes {
|
|
|
133
133
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
134
134
|
.default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios`),
|
|
135
135
|
method: "POST",
|
|
136
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
136
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
137
137
|
contentType: "application/json",
|
|
138
138
|
requestType: "json",
|
|
139
139
|
body: serializers.UpsertSandboxScenarioRequestRequest.jsonOrThrow(request, {
|
|
@@ -189,7 +189,7 @@ class Sandboxes {
|
|
|
189
189
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
190
190
|
.default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios/${encodeURIComponent(scenarioId)}`),
|
|
191
191
|
method: "DELETE",
|
|
192
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
192
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
193
193
|
contentType: "application/json",
|
|
194
194
|
requestType: "json",
|
|
195
195
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|