vellum-ai 0.3.9 → 0.3.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/client/requests/ExecuteWorkflowRequest.d.ts +3 -3
- package/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -2
- package/api/resources/deployments/client/Client.d.ts +11 -0
- package/api/resources/deployments/client/Client.js +30 -7
- package/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +2 -0
- package/api/resources/documentIndexes/client/Client.d.ts +7 -0
- package/api/resources/documentIndexes/client/Client.js +72 -3
- package/api/resources/documentIndexes/client/requests/DocumentIndexesListRequest.d.ts +29 -0
- package/api/resources/documentIndexes/client/requests/DocumentIndexesListRequest.js +5 -0
- package/api/resources/documentIndexes/client/requests/index.d.ts +1 -0
- package/api/resources/documentIndexes/index.d.ts +1 -0
- package/api/resources/documentIndexes/index.js +1 -0
- package/api/resources/documentIndexes/types/DocumentIndexesListRequestStatus.d.ts +8 -0
- package/api/resources/documentIndexes/types/DocumentIndexesListRequestStatus.js +10 -0
- package/api/resources/documentIndexes/types/index.d.ts +1 -0
- package/api/resources/documentIndexes/types/index.js +17 -0
- package/api/resources/documents/client/Client.js +4 -4
- package/api/resources/folderEntities/client/Client.js +1 -1
- package/api/resources/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/modelVersions/client/Client.js +1 -1
- package/api/resources/registeredPrompts/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +2 -2
- package/api/resources/testSuites/client/Client.js +2 -2
- package/api/resources/workflowDeployments/client/Client.js +2 -2
- package/api/types/ChatMessage.d.ts +2 -0
- package/api/types/ChatMessageRequest.d.ts +2 -0
- package/api/types/ExecutionArrayVellumValue.d.ts +10 -0
- package/api/types/ExecutionArrayVellumValue.js +5 -0
- package/api/types/ExecutionChatHistoryVellumValue.d.ts +10 -0
- package/api/types/ExecutionChatHistoryVellumValue.js +5 -0
- package/api/types/ExecutionErrorVellumValue.d.ts +10 -0
- package/api/types/ExecutionErrorVellumValue.js +5 -0
- package/api/types/ExecutionFunctionCallVellumValue.d.ts +10 -0
- package/api/types/ExecutionFunctionCallVellumValue.js +5 -0
- package/api/types/ExecutionJsonVellumValue.d.ts +9 -0
- package/api/types/ExecutionJsonVellumValue.js +5 -0
- package/api/types/ExecutionNumberVellumValue.d.ts +9 -0
- package/api/types/ExecutionNumberVellumValue.js +5 -0
- package/api/types/ExecutionSearchResultsVellumValue.d.ts +10 -0
- package/api/types/ExecutionSearchResultsVellumValue.js +5 -0
- package/api/types/ExecutionStringVellumValue.d.ts +9 -0
- package/api/types/ExecutionStringVellumValue.js +5 -0
- package/api/types/ExecutionVellumValue.d.ts +31 -0
- package/api/types/ExecutionVellumValue.js +5 -0
- package/api/types/PaginatedDocumentIndexReadList.d.ts +10 -0
- package/api/types/PaginatedDocumentIndexReadList.js +5 -0
- package/api/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/api/types/WorkflowExecutionEventType.d.ts +2 -2
- package/api/types/WorkflowResultEvent.d.ts +1 -0
- package/api/types/index.d.ts +10 -0
- package/api/types/index.js +10 -0
- package/dist/Client.js +9 -9
- package/dist/api/client/requests/ExecuteWorkflowRequest.d.ts +3 -3
- package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -2
- package/dist/api/resources/deployments/client/Client.d.ts +11 -0
- package/dist/api/resources/deployments/client/Client.js +30 -7
- package/dist/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +2 -0
- package/dist/api/resources/documentIndexes/client/Client.d.ts +7 -0
- package/dist/api/resources/documentIndexes/client/Client.js +72 -3
- package/dist/api/resources/documentIndexes/client/requests/DocumentIndexesListRequest.d.ts +29 -0
- package/dist/api/resources/documentIndexes/client/requests/DocumentIndexesListRequest.js +5 -0
- package/dist/api/resources/documentIndexes/client/requests/index.d.ts +1 -0
- package/dist/api/resources/documentIndexes/index.d.ts +1 -0
- package/dist/api/resources/documentIndexes/index.js +1 -0
- package/dist/api/resources/documentIndexes/types/DocumentIndexesListRequestStatus.d.ts +8 -0
- package/dist/api/resources/documentIndexes/types/DocumentIndexesListRequestStatus.js +10 -0
- package/dist/api/resources/documentIndexes/types/index.d.ts +1 -0
- package/dist/api/resources/documentIndexes/types/index.js +17 -0
- package/dist/api/resources/documents/client/Client.js +4 -4
- package/dist/api/resources/folderEntities/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/modelVersions/client/Client.js +1 -1
- package/dist/api/resources/registeredPrompts/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +2 -2
- package/dist/api/resources/testSuites/client/Client.js +2 -2
- package/dist/api/resources/workflowDeployments/client/Client.js +2 -2
- package/dist/api/types/ChatMessage.d.ts +2 -0
- package/dist/api/types/ChatMessageRequest.d.ts +2 -0
- package/dist/api/types/ExecutionArrayVellumValue.d.ts +10 -0
- package/dist/api/types/ExecutionArrayVellumValue.js +5 -0
- package/dist/api/types/ExecutionChatHistoryVellumValue.d.ts +10 -0
- package/dist/api/types/ExecutionChatHistoryVellumValue.js +5 -0
- package/dist/api/types/ExecutionErrorVellumValue.d.ts +10 -0
- package/dist/api/types/ExecutionErrorVellumValue.js +5 -0
- package/dist/api/types/ExecutionFunctionCallVellumValue.d.ts +10 -0
- package/dist/api/types/ExecutionFunctionCallVellumValue.js +5 -0
- package/dist/api/types/ExecutionJsonVellumValue.d.ts +9 -0
- package/dist/api/types/ExecutionJsonVellumValue.js +5 -0
- package/dist/api/types/ExecutionNumberVellumValue.d.ts +9 -0
- package/dist/api/types/ExecutionNumberVellumValue.js +5 -0
- package/dist/api/types/ExecutionSearchResultsVellumValue.d.ts +10 -0
- package/dist/api/types/ExecutionSearchResultsVellumValue.js +5 -0
- package/dist/api/types/ExecutionStringVellumValue.d.ts +9 -0
- package/dist/api/types/ExecutionStringVellumValue.js +5 -0
- package/dist/api/types/ExecutionVellumValue.d.ts +31 -0
- package/dist/api/types/ExecutionVellumValue.js +5 -0
- package/dist/api/types/PaginatedDocumentIndexReadList.d.ts +10 -0
- package/dist/api/types/PaginatedDocumentIndexReadList.js +5 -0
- package/dist/api/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/dist/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/dist/api/types/WorkflowExecutionEventType.d.ts +2 -2
- package/dist/api/types/WorkflowResultEvent.d.ts +1 -0
- package/dist/api/types/index.d.ts +10 -0
- package/dist/api/types/index.js +10 -0
- package/dist/serialization/client/requests/ExecuteWorkflowRequest.d.ts +1 -1
- package/dist/serialization/client/requests/ExecuteWorkflowRequest.js +1 -1
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -1
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.js +1 -1
- package/dist/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +1 -0
- package/dist/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js +1 -0
- package/dist/serialization/resources/documentIndexes/index.d.ts +1 -0
- package/dist/serialization/resources/documentIndexes/index.js +1 -0
- package/dist/serialization/resources/documentIndexes/types/DocumentIndexesListRequestStatus.d.ts +10 -0
- package/dist/serialization/resources/documentIndexes/types/DocumentIndexesListRequestStatus.js +31 -0
- package/dist/serialization/resources/documentIndexes/types/index.d.ts +1 -0
- package/dist/serialization/resources/documentIndexes/types/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/types/ChatMessage.d.ts +1 -0
- package/dist/serialization/types/ChatMessage.js +1 -0
- package/dist/serialization/types/ChatMessageRequest.d.ts +1 -0
- package/dist/serialization/types/ChatMessageRequest.js +1 -0
- package/dist/serialization/types/ExecutionArrayVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionArrayVellumValue.js +46 -0
- package/dist/serialization/types/ExecutionChatHistoryVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionChatHistoryVellumValue.js +46 -0
- package/dist/serialization/types/ExecutionErrorVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionErrorVellumValue.js +44 -0
- package/dist/serialization/types/ExecutionFunctionCallVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionFunctionCallVellumValue.js +44 -0
- package/dist/serialization/types/ExecutionJsonVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionJsonVellumValue.js +35 -0
- package/dist/serialization/types/ExecutionNumberVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionNumberVellumValue.js +35 -0
- package/dist/serialization/types/ExecutionSearchResultsVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionSearchResultsVellumValue.js +46 -0
- package/dist/serialization/types/ExecutionStringVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionStringVellumValue.js +35 -0
- package/dist/serialization/types/ExecutionVellumValue.d.ts +34 -0
- package/dist/serialization/types/ExecutionVellumValue.js +54 -0
- package/dist/serialization/types/PaginatedDocumentIndexReadList.d.ts +15 -0
- package/dist/serialization/types/PaginatedDocumentIndexReadList.js +47 -0
- package/dist/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/dist/serialization/types/PromptTemplateBlockProperties.js +1 -0
- package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
- package/dist/serialization/types/WorkflowResultEvent.d.ts +1 -0
- package/dist/serialization/types/WorkflowResultEvent.js +3 -0
- package/dist/serialization/types/index.d.ts +10 -0
- package/dist/serialization/types/index.js +10 -0
- package/package.json +1 -1
- package/serialization/client/requests/ExecuteWorkflowRequest.d.ts +1 -1
- package/serialization/client/requests/ExecuteWorkflowRequest.js +1 -1
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -1
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.js +1 -1
- package/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +1 -0
- package/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js +1 -0
- package/serialization/resources/documentIndexes/index.d.ts +1 -0
- package/serialization/resources/documentIndexes/index.js +1 -0
- package/serialization/resources/documentIndexes/types/DocumentIndexesListRequestStatus.d.ts +10 -0
- package/serialization/resources/documentIndexes/types/DocumentIndexesListRequestStatus.js +31 -0
- package/serialization/resources/documentIndexes/types/index.d.ts +1 -0
- package/serialization/resources/documentIndexes/types/index.js +17 -0
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +3 -2
- package/serialization/types/ChatMessage.d.ts +1 -0
- package/serialization/types/ChatMessage.js +1 -0
- package/serialization/types/ChatMessageRequest.d.ts +1 -0
- package/serialization/types/ChatMessageRequest.js +1 -0
- package/serialization/types/ExecutionArrayVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionArrayVellumValue.js +46 -0
- package/serialization/types/ExecutionChatHistoryVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionChatHistoryVellumValue.js +46 -0
- package/serialization/types/ExecutionErrorVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionErrorVellumValue.js +44 -0
- package/serialization/types/ExecutionFunctionCallVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionFunctionCallVellumValue.js +44 -0
- package/serialization/types/ExecutionJsonVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionJsonVellumValue.js +35 -0
- package/serialization/types/ExecutionNumberVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionNumberVellumValue.js +35 -0
- package/serialization/types/ExecutionSearchResultsVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionSearchResultsVellumValue.js +46 -0
- package/serialization/types/ExecutionStringVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionStringVellumValue.js +35 -0
- package/serialization/types/ExecutionVellumValue.d.ts +34 -0
- package/serialization/types/ExecutionVellumValue.js +54 -0
- package/serialization/types/PaginatedDocumentIndexReadList.d.ts +15 -0
- package/serialization/types/PaginatedDocumentIndexReadList.js +47 -0
- package/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/serialization/types/PromptTemplateBlockProperties.js +1 -0
- package/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
- package/serialization/types/WorkflowResultEvent.d.ts +1 -0
- package/serialization/types/WorkflowResultEvent.js +3 -0
- package/serialization/types/index.d.ts +10 -0
- package/serialization/types/index.js +10 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type DocumentIndexesListRequestStatus = "ACTIVE" | "ARCHIVED";
|
|
5
|
+
export declare const DocumentIndexesListRequestStatus: {
|
|
6
|
+
readonly Active: "ACTIVE";
|
|
7
|
+
readonly Archived: "ARCHIVED";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.DocumentIndexesListRequestStatus = void 0;
|
|
7
|
+
exports.DocumentIndexesListRequestStatus = {
|
|
8
|
+
Active: "ACTIVE",
|
|
9
|
+
Archived: "ARCHIVED",
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./DocumentIndexesListRequestStatus";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./DocumentIndexesListRequestStatus"), exports);
|
|
@@ -81,7 +81,7 @@ class Documents {
|
|
|
81
81
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
82
82
|
"X-Fern-Language": "JavaScript",
|
|
83
83
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
84
|
-
"X-Fern-SDK-Version": "0.3.
|
|
84
|
+
"X-Fern-SDK-Version": "0.3.11",
|
|
85
85
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
86
86
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
87
87
|
},
|
|
@@ -130,7 +130,7 @@ class Documents {
|
|
|
130
130
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
131
131
|
"X-Fern-Language": "JavaScript",
|
|
132
132
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
133
|
-
"X-Fern-SDK-Version": "0.3.
|
|
133
|
+
"X-Fern-SDK-Version": "0.3.11",
|
|
134
134
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
135
135
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
136
136
|
},
|
|
@@ -179,7 +179,7 @@ class Documents {
|
|
|
179
179
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
180
180
|
"X-Fern-Language": "JavaScript",
|
|
181
181
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
182
|
-
"X-Fern-SDK-Version": "0.3.
|
|
182
|
+
"X-Fern-SDK-Version": "0.3.11",
|
|
183
183
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
184
184
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
185
185
|
},
|
|
@@ -265,7 +265,7 @@ class Documents {
|
|
|
265
265
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
266
266
|
"X-Fern-Language": "JavaScript",
|
|
267
267
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
268
|
-
"X-Fern-SDK-Version": "0.3.
|
|
268
|
+
"X-Fern-SDK-Version": "0.3.11",
|
|
269
269
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
270
270
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
271
271
|
},
|
|
@@ -69,7 +69,7 @@ class FolderEntities {
|
|
|
69
69
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
70
70
|
"X-Fern-Language": "JavaScript",
|
|
71
71
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
72
|
-
"X-Fern-SDK-Version": "0.3.
|
|
72
|
+
"X-Fern-SDK-Version": "0.3.11",
|
|
73
73
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
74
74
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
75
75
|
},
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export * as deployments from "./deployments";
|
|
2
2
|
export * from "./deployments/types";
|
|
3
|
+
export * as documentIndexes from "./documentIndexes";
|
|
4
|
+
export * from "./documentIndexes/types";
|
|
3
5
|
export * as workflowDeployments from "./workflowDeployments";
|
|
4
6
|
export * from "./workflowDeployments/types";
|
|
5
|
-
export * as documentIndexes from "./documentIndexes";
|
|
6
7
|
export * as documents from "./documents";
|
|
7
8
|
export * as folderEntities from "./folderEntities";
|
|
8
9
|
export * as modelVersions from "./modelVersions";
|
|
@@ -26,12 +26,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.testSuites = exports.sandboxes = exports.registeredPrompts = exports.modelVersions = exports.folderEntities = exports.documents = exports.
|
|
29
|
+
exports.testSuites = exports.sandboxes = exports.registeredPrompts = exports.modelVersions = exports.folderEntities = exports.documents = exports.workflowDeployments = exports.documentIndexes = exports.deployments = void 0;
|
|
30
30
|
exports.deployments = __importStar(require("./deployments"));
|
|
31
31
|
__exportStar(require("./deployments/types"), exports);
|
|
32
|
+
exports.documentIndexes = __importStar(require("./documentIndexes"));
|
|
33
|
+
__exportStar(require("./documentIndexes/types"), exports);
|
|
32
34
|
exports.workflowDeployments = __importStar(require("./workflowDeployments"));
|
|
33
35
|
__exportStar(require("./workflowDeployments/types"), exports);
|
|
34
|
-
exports.documentIndexes = __importStar(require("./documentIndexes"));
|
|
35
36
|
exports.documents = __importStar(require("./documents"));
|
|
36
37
|
exports.folderEntities = __importStar(require("./folderEntities"));
|
|
37
38
|
exports.modelVersions = __importStar(require("./modelVersions"));
|
|
@@ -65,7 +65,7 @@ class ModelVersions {
|
|
|
65
65
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
66
66
|
"X-Fern-Language": "JavaScript",
|
|
67
67
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
68
|
-
"X-Fern-SDK-Version": "0.3.
|
|
68
|
+
"X-Fern-SDK-Version": "0.3.11",
|
|
69
69
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
70
70
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
71
71
|
},
|
|
@@ -96,7 +96,7 @@ class RegisteredPrompts {
|
|
|
96
96
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
97
97
|
"X-Fern-Language": "JavaScript",
|
|
98
98
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
99
|
-
"X-Fern-SDK-Version": "0.3.
|
|
99
|
+
"X-Fern-SDK-Version": "0.3.11",
|
|
100
100
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
101
101
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
102
102
|
},
|
|
@@ -84,7 +84,7 @@ class Sandboxes {
|
|
|
84
84
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
85
85
|
"X-Fern-Language": "JavaScript",
|
|
86
86
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
87
|
-
"X-Fern-SDK-Version": "0.3.
|
|
87
|
+
"X-Fern-SDK-Version": "0.3.11",
|
|
88
88
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
89
89
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
90
90
|
},
|
|
@@ -141,7 +141,7 @@ class Sandboxes {
|
|
|
141
141
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
142
142
|
"X-Fern-Language": "JavaScript",
|
|
143
143
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
144
|
-
"X-Fern-SDK-Version": "0.3.
|
|
144
|
+
"X-Fern-SDK-Version": "0.3.11",
|
|
145
145
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
146
146
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
147
147
|
},
|
|
@@ -74,7 +74,7 @@ class TestSuites {
|
|
|
74
74
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
75
75
|
"X-Fern-Language": "JavaScript",
|
|
76
76
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
77
|
-
"X-Fern-SDK-Version": "0.3.
|
|
77
|
+
"X-Fern-SDK-Version": "0.3.11",
|
|
78
78
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
79
79
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
80
80
|
},
|
|
@@ -131,7 +131,7 @@ class TestSuites {
|
|
|
131
131
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
132
132
|
"X-Fern-Language": "JavaScript",
|
|
133
133
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
134
|
-
"X-Fern-SDK-Version": "0.3.
|
|
134
|
+
"X-Fern-SDK-Version": "0.3.11",
|
|
135
135
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
136
136
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
137
137
|
},
|
|
@@ -73,7 +73,7 @@ class WorkflowDeployments {
|
|
|
73
73
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
74
74
|
"X-Fern-Language": "JavaScript",
|
|
75
75
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
76
|
-
"X-Fern-SDK-Version": "0.3.
|
|
76
|
+
"X-Fern-SDK-Version": "0.3.11",
|
|
77
77
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
78
78
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
79
79
|
},
|
|
@@ -128,7 +128,7 @@ class WorkflowDeployments {
|
|
|
128
128
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
129
129
|
"X-Fern-Language": "JavaScript",
|
|
130
130
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
131
|
-
"X-Fern-SDK-Version": "0.3.
|
|
131
|
+
"X-Fern-SDK-Version": "0.3.11",
|
|
132
132
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
133
133
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
134
134
|
},
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
export interface ExecutionArrayVellumValue {
|
|
6
|
+
/** The variable's uniquely identifying internal id. */
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
value?: Vellum.ArrayVariableValueItem[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
export interface ExecutionChatHistoryVellumValue {
|
|
6
|
+
/** The variable's uniquely identifying internal id. */
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
value?: Vellum.ChatMessage[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
export interface ExecutionErrorVellumValue {
|
|
6
|
+
/** The variable's uniquely identifying internal id. */
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
value?: Vellum.VellumError;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
export interface ExecutionFunctionCallVellumValue {
|
|
6
|
+
/** The variable's uniquely identifying internal id. */
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
value?: Vellum.FunctionCall;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
export interface ExecutionSearchResultsVellumValue {
|
|
6
|
+
/** The variable's uniquely identifying internal id. */
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
value?: Vellum.SearchResult[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
export declare type ExecutionVellumValue = Vellum.ExecutionVellumValue.String | Vellum.ExecutionVellumValue.Number | Vellum.ExecutionVellumValue.Json | Vellum.ExecutionVellumValue.ChatHistory | Vellum.ExecutionVellumValue.SearchResults | Vellum.ExecutionVellumValue.Error_ | Vellum.ExecutionVellumValue.Array | Vellum.ExecutionVellumValue.FunctionCall;
|
|
6
|
+
export declare namespace ExecutionVellumValue {
|
|
7
|
+
interface String extends Vellum.ExecutionStringVellumValue {
|
|
8
|
+
type: "STRING";
|
|
9
|
+
}
|
|
10
|
+
interface Number extends Vellum.ExecutionNumberVellumValue {
|
|
11
|
+
type: "NUMBER";
|
|
12
|
+
}
|
|
13
|
+
interface Json extends Vellum.ExecutionJsonVellumValue {
|
|
14
|
+
type: "JSON";
|
|
15
|
+
}
|
|
16
|
+
interface ChatHistory extends Vellum.ExecutionChatHistoryVellumValue {
|
|
17
|
+
type: "CHAT_HISTORY";
|
|
18
|
+
}
|
|
19
|
+
interface SearchResults extends Vellum.ExecutionSearchResultsVellumValue {
|
|
20
|
+
type: "SEARCH_RESULTS";
|
|
21
|
+
}
|
|
22
|
+
interface Error_ extends Vellum.ExecutionErrorVellumValue {
|
|
23
|
+
type: "ERROR";
|
|
24
|
+
}
|
|
25
|
+
interface Array extends Vellum.ExecutionArrayVellumValue {
|
|
26
|
+
type: "ARRAY";
|
|
27
|
+
}
|
|
28
|
+
interface FunctionCall extends Vellum.ExecutionFunctionCallVellumValue {
|
|
29
|
+
type: "FUNCTION_CALL";
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -5,6 +5,7 @@ import * as Vellum from "..";
|
|
|
5
5
|
export interface PromptTemplateBlockProperties {
|
|
6
6
|
chatRole?: Vellum.ChatMessageRole;
|
|
7
7
|
chatMessageUnterminated?: boolean;
|
|
8
|
+
chatSource?: string;
|
|
8
9
|
template?: string;
|
|
9
10
|
templateType?: Vellum.VellumVariableType;
|
|
10
11
|
functionName?: string;
|
|
@@ -5,6 +5,7 @@ import * as Vellum from "..";
|
|
|
5
5
|
export interface PromptTemplateBlockPropertiesRequest {
|
|
6
6
|
chatRole?: Vellum.ChatMessageRole;
|
|
7
7
|
chatMessageUnterminated?: boolean;
|
|
8
|
+
chatSource?: string;
|
|
8
9
|
template?: string;
|
|
9
10
|
templateType?: Vellum.VellumVariableType;
|
|
10
11
|
functionName?: string;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* - `NODE` -
|
|
6
|
-
* - `WORKFLOW` -
|
|
5
|
+
* - `NODE` - NODE
|
|
6
|
+
* - `WORKFLOW` - WORKFLOW
|
|
7
7
|
*/
|
|
8
8
|
export declare type WorkflowExecutionEventType = "NODE" | "WORKFLOW";
|
|
9
9
|
export declare const WorkflowExecutionEventType: {
|
|
@@ -44,6 +44,15 @@ export * from "./ExecuteWorkflowErrorResponse";
|
|
|
44
44
|
export * from "./ExecuteWorkflowResponse";
|
|
45
45
|
export * from "./ExecuteWorkflowStreamErrorResponse";
|
|
46
46
|
export * from "./ExecuteWorkflowWorkflowResultEvent";
|
|
47
|
+
export * from "./ExecutionArrayVellumValue";
|
|
48
|
+
export * from "./ExecutionChatHistoryVellumValue";
|
|
49
|
+
export * from "./ExecutionErrorVellumValue";
|
|
50
|
+
export * from "./ExecutionFunctionCallVellumValue";
|
|
51
|
+
export * from "./ExecutionJsonVellumValue";
|
|
52
|
+
export * from "./ExecutionNumberVellumValue";
|
|
53
|
+
export * from "./ExecutionSearchResultsVellumValue";
|
|
54
|
+
export * from "./ExecutionStringVellumValue";
|
|
55
|
+
export * from "./ExecutionVellumValue";
|
|
47
56
|
export * from "./FinishReasonEnum";
|
|
48
57
|
export * from "./FulfilledEnum";
|
|
49
58
|
export * from "./FulfilledExecutePromptEvent";
|
|
@@ -119,6 +128,7 @@ export * from "./NormalizedLogProbs";
|
|
|
119
128
|
export * from "./NormalizedTokenLogProbs";
|
|
120
129
|
export * from "./NumberEnum";
|
|
121
130
|
export * from "./NumberVariableValue";
|
|
131
|
+
export * from "./PaginatedDocumentIndexReadList";
|
|
122
132
|
export * from "./PaginatedSlimDeploymentReadList";
|
|
123
133
|
export * from "./PaginatedSlimDocumentList";
|
|
124
134
|
export * from "./PaginatedSlimWorkflowDeploymentList";
|
package/dist/api/types/index.js
CHANGED
|
@@ -60,6 +60,15 @@ __exportStar(require("./ExecuteWorkflowErrorResponse"), exports);
|
|
|
60
60
|
__exportStar(require("./ExecuteWorkflowResponse"), exports);
|
|
61
61
|
__exportStar(require("./ExecuteWorkflowStreamErrorResponse"), exports);
|
|
62
62
|
__exportStar(require("./ExecuteWorkflowWorkflowResultEvent"), exports);
|
|
63
|
+
__exportStar(require("./ExecutionArrayVellumValue"), exports);
|
|
64
|
+
__exportStar(require("./ExecutionChatHistoryVellumValue"), exports);
|
|
65
|
+
__exportStar(require("./ExecutionErrorVellumValue"), exports);
|
|
66
|
+
__exportStar(require("./ExecutionFunctionCallVellumValue"), exports);
|
|
67
|
+
__exportStar(require("./ExecutionJsonVellumValue"), exports);
|
|
68
|
+
__exportStar(require("./ExecutionNumberVellumValue"), exports);
|
|
69
|
+
__exportStar(require("./ExecutionSearchResultsVellumValue"), exports);
|
|
70
|
+
__exportStar(require("./ExecutionStringVellumValue"), exports);
|
|
71
|
+
__exportStar(require("./ExecutionVellumValue"), exports);
|
|
63
72
|
__exportStar(require("./FinishReasonEnum"), exports);
|
|
64
73
|
__exportStar(require("./FulfilledEnum"), exports);
|
|
65
74
|
__exportStar(require("./FulfilledExecutePromptEvent"), exports);
|
|
@@ -135,6 +144,7 @@ __exportStar(require("./NormalizedLogProbs"), exports);
|
|
|
135
144
|
__exportStar(require("./NormalizedTokenLogProbs"), exports);
|
|
136
145
|
__exportStar(require("./NumberEnum"), exports);
|
|
137
146
|
__exportStar(require("./NumberVariableValue"), exports);
|
|
147
|
+
__exportStar(require("./PaginatedDocumentIndexReadList"), exports);
|
|
138
148
|
__exportStar(require("./PaginatedSlimDeploymentReadList"), exports);
|
|
139
149
|
__exportStar(require("./PaginatedSlimDocumentList"), exports);
|
|
140
150
|
__exportStar(require("./PaginatedSlimWorkflowDeploymentList"), exports);
|
|
@@ -7,10 +7,10 @@ import * as core from "../../../core";
|
|
|
7
7
|
export declare const ExecuteWorkflowRequest: core.serialization.Schema<serializers.ExecuteWorkflowRequest.Raw, Vellum.ExecuteWorkflowRequest>;
|
|
8
8
|
export declare namespace ExecuteWorkflowRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
+
inputs: serializers.WorkflowRequestInputRequest.Raw[];
|
|
10
11
|
workflow_deployment_id?: string | null;
|
|
11
12
|
workflow_deployment_name?: string | null;
|
|
12
13
|
release_tag?: string | null;
|
|
13
|
-
inputs: serializers.WorkflowRequestInputRequest.Raw[];
|
|
14
14
|
external_id?: string | null;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -38,9 +38,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
38
38
|
exports.ExecuteWorkflowRequest = void 0;
|
|
39
39
|
const core = __importStar(require("../../../core"));
|
|
40
40
|
exports.ExecuteWorkflowRequest = core.serialization.object({
|
|
41
|
+
inputs: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../..")))).WorkflowRequestInputRequest; }))),
|
|
41
42
|
workflowDeploymentId: core.serialization.property("workflow_deployment_id", core.serialization.string().optional()),
|
|
42
43
|
workflowDeploymentName: core.serialization.property("workflow_deployment_name", core.serialization.string().optional()),
|
|
43
44
|
releaseTag: core.serialization.property("release_tag", core.serialization.string().optional()),
|
|
44
|
-
inputs: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../..")))).WorkflowRequestInputRequest; }))),
|
|
45
45
|
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
46
46
|
});
|
|
@@ -7,10 +7,10 @@ import * as core from "../../../core";
|
|
|
7
7
|
export declare const ExecuteWorkflowStreamRequest: core.serialization.Schema<serializers.ExecuteWorkflowStreamRequest.Raw, Vellum.ExecuteWorkflowStreamRequest>;
|
|
8
8
|
export declare namespace ExecuteWorkflowStreamRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
+
inputs: serializers.WorkflowRequestInputRequest.Raw[];
|
|
10
11
|
workflow_deployment_id?: string | null;
|
|
11
12
|
workflow_deployment_name?: string | null;
|
|
12
13
|
release_tag?: string | null;
|
|
13
|
-
inputs: serializers.WorkflowRequestInputRequest.Raw[];
|
|
14
14
|
external_id?: string | null;
|
|
15
15
|
event_types?: serializers.WorkflowExecutionEventType.Raw[] | null;
|
|
16
16
|
}
|
|
@@ -38,10 +38,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
38
38
|
exports.ExecuteWorkflowStreamRequest = void 0;
|
|
39
39
|
const core = __importStar(require("../../../core"));
|
|
40
40
|
exports.ExecuteWorkflowStreamRequest = core.serialization.object({
|
|
41
|
+
inputs: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../..")))).WorkflowRequestInputRequest; }))),
|
|
41
42
|
workflowDeploymentId: core.serialization.property("workflow_deployment_id", core.serialization.string().optional()),
|
|
42
43
|
workflowDeploymentName: core.serialization.property("workflow_deployment_name", core.serialization.string().optional()),
|
|
43
44
|
releaseTag: core.serialization.property("release_tag", core.serialization.string().optional()),
|
|
44
|
-
inputs: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../..")))).WorkflowRequestInputRequest; }))),
|
|
45
45
|
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
46
46
|
eventTypes: core.serialization.property("event_types", core.serialization
|
|
47
47
|
.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../..")))).WorkflowExecutionEventType; })))
|
package/dist/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js
CHANGED
|
@@ -41,4 +41,5 @@ exports.DeploymentProviderPayloadRequest = core.serialization.object({
|
|
|
41
41
|
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
42
42
|
deploymentName: core.serialization.property("deployment_name", core.serialization.string().optional()),
|
|
43
43
|
inputs: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).PromptDeploymentInputRequest; }))),
|
|
44
|
+
releaseTag: core.serialization.property("release_tag", core.serialization.string().optional()),
|
|
44
45
|
});
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
17
18
|
__exportStar(require("./client"), exports);
|
package/dist/serialization/resources/documentIndexes/types/DocumentIndexesListRequestStatus.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as Vellum from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const DocumentIndexesListRequestStatus: core.serialization.Schema<serializers.DocumentIndexesListRequestStatus.Raw, Vellum.DocumentIndexesListRequestStatus>;
|
|
8
|
+
export declare namespace DocumentIndexesListRequestStatus {
|
|
9
|
+
type Raw = "ACTIVE" | "ARCHIVED";
|
|
10
|
+
}
|