vellum-ai 0.2.0 → 0.2.1
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 +7 -0
- package/Client.js +70 -8
- package/api/client/requests/ExecuteWorkflowRequest.d.ts +16 -0
- package/api/client/requests/ExecuteWorkflowRequest.js +5 -0
- package/api/client/requests/index.d.ts +1 -0
- package/api/resources/deployments/client/Client.js +3 -3
- package/api/resources/documentIndexes/client/Client.js +2 -2
- package/api/resources/documents/client/Client.js +4 -4
- 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 +1 -1
- package/api/types/ArrayEnum.d.ts +4 -0
- package/api/types/ArrayEnum.js +5 -0
- package/api/types/ArrayVariableValue.d.ts +7 -0
- package/api/types/ArrayVariableValue.js +5 -0
- package/api/types/ChatHistoryEnum.d.ts +4 -0
- package/api/types/ChatHistoryEnum.js +5 -0
- package/api/types/ChatHistoryVariableValue.d.ts +7 -0
- package/api/types/ChatHistoryVariableValue.js +5 -0
- package/api/types/ErrorEnum.d.ts +4 -0
- package/api/types/ErrorEnum.js +5 -0
- package/api/types/ExecuteWorkflowErrorResponse.d.ts +7 -0
- package/api/types/ExecuteWorkflowErrorResponse.js +5 -0
- package/api/types/ExecuteWorkflowResponse.d.ts +10 -0
- package/api/types/ExecuteWorkflowResponse.js +5 -0
- package/api/types/ExecuteWorkflowWorkflowResultEvent.d.ts +13 -0
- package/api/types/ExecuteWorkflowWorkflowResultEvent.js +5 -0
- package/api/types/FulfilledExecuteWorkflowWorkflowResultEvent.d.ts +12 -0
- package/api/types/FulfilledExecuteWorkflowWorkflowResultEvent.js +5 -0
- package/api/types/JsonEnum.d.ts +4 -0
- package/api/types/JsonEnum.js +5 -0
- package/api/types/NumberEnum.d.ts +4 -0
- package/api/types/NumberEnum.js +5 -0
- package/api/types/NumberVariableValue.d.ts +6 -0
- package/api/types/NumberVariableValue.js +5 -0
- package/api/types/RejectedExecuteWorkflowWorkflowResultEvent.d.ts +12 -0
- package/api/types/RejectedExecuteWorkflowWorkflowResultEvent.js +5 -0
- package/api/types/ScenarioInputTypeEnum.d.ts +2 -2
- package/api/types/SearchResultsEnum.d.ts +4 -0
- package/api/types/SearchResultsEnum.js +5 -0
- package/api/types/SearchResultsVariableValue.d.ts +7 -0
- package/api/types/SearchResultsVariableValue.js +5 -0
- package/api/types/VariableValue.d.ts +31 -0
- package/api/types/VariableValue.js +5 -0
- package/api/types/WorkflowOutput.d.ts +34 -0
- package/api/types/WorkflowOutput.js +5 -0
- package/api/types/WorkflowOutputArray.d.ts +13 -0
- package/api/types/WorkflowOutputArray.js +5 -0
- package/api/types/WorkflowOutputChatHistory.d.ts +13 -0
- package/api/types/WorkflowOutputChatHistory.js +5 -0
- package/api/types/WorkflowOutputError.d.ts +13 -0
- package/api/types/WorkflowOutputError.js +5 -0
- package/api/types/WorkflowOutputFunctionCall.d.ts +13 -0
- package/api/types/WorkflowOutputFunctionCall.js +5 -0
- package/api/types/WorkflowOutputImage.d.ts +13 -0
- package/api/types/WorkflowOutputImage.js +5 -0
- package/api/types/WorkflowOutputJson.d.ts +12 -0
- package/api/types/WorkflowOutputJson.js +5 -0
- package/api/types/WorkflowOutputNumber.d.ts +12 -0
- package/api/types/WorkflowOutputNumber.js +5 -0
- package/api/types/WorkflowOutputSearchResults.d.ts +13 -0
- package/api/types/WorkflowOutputSearchResults.js +5 -0
- package/api/types/WorkflowOutputString.d.ts +12 -0
- package/api/types/WorkflowOutputString.js +5 -0
- package/api/types/WorkflowResultEvent.d.ts +1 -0
- package/api/types/index.d.ts +26 -0
- package/api/types/index.js +26 -0
- package/dist/Client.d.ts +7 -0
- package/dist/Client.js +70 -8
- package/dist/api/client/requests/ExecuteWorkflowRequest.d.ts +16 -0
- package/dist/api/client/requests/ExecuteWorkflowRequest.js +5 -0
- package/dist/api/client/requests/index.d.ts +1 -0
- package/dist/api/resources/deployments/client/Client.js +3 -3
- package/dist/api/resources/documentIndexes/client/Client.js +2 -2
- package/dist/api/resources/documents/client/Client.js +4 -4
- 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 +1 -1
- package/dist/api/types/ArrayEnum.d.ts +4 -0
- package/dist/api/types/ArrayEnum.js +5 -0
- package/dist/api/types/ArrayVariableValue.d.ts +7 -0
- package/dist/api/types/ArrayVariableValue.js +5 -0
- package/dist/api/types/ChatHistoryEnum.d.ts +4 -0
- package/dist/api/types/ChatHistoryEnum.js +5 -0
- package/dist/api/types/ChatHistoryVariableValue.d.ts +7 -0
- package/dist/api/types/ChatHistoryVariableValue.js +5 -0
- package/dist/api/types/ErrorEnum.d.ts +4 -0
- package/dist/api/types/ErrorEnum.js +5 -0
- package/dist/api/types/ExecuteWorkflowErrorResponse.d.ts +7 -0
- package/dist/api/types/ExecuteWorkflowErrorResponse.js +5 -0
- package/dist/api/types/ExecuteWorkflowResponse.d.ts +10 -0
- package/dist/api/types/ExecuteWorkflowResponse.js +5 -0
- package/dist/api/types/ExecuteWorkflowWorkflowResultEvent.d.ts +13 -0
- package/dist/api/types/ExecuteWorkflowWorkflowResultEvent.js +5 -0
- package/dist/api/types/FulfilledExecuteWorkflowWorkflowResultEvent.d.ts +12 -0
- package/dist/api/types/FulfilledExecuteWorkflowWorkflowResultEvent.js +5 -0
- package/dist/api/types/JsonEnum.d.ts +4 -0
- package/dist/api/types/JsonEnum.js +5 -0
- package/dist/api/types/NumberEnum.d.ts +4 -0
- package/dist/api/types/NumberEnum.js +5 -0
- package/dist/api/types/NumberVariableValue.d.ts +6 -0
- package/dist/api/types/NumberVariableValue.js +5 -0
- package/dist/api/types/RejectedExecuteWorkflowWorkflowResultEvent.d.ts +12 -0
- package/dist/api/types/RejectedExecuteWorkflowWorkflowResultEvent.js +5 -0
- package/dist/api/types/ScenarioInputTypeEnum.d.ts +2 -2
- package/dist/api/types/SearchResultsEnum.d.ts +4 -0
- package/dist/api/types/SearchResultsEnum.js +5 -0
- package/dist/api/types/SearchResultsVariableValue.d.ts +7 -0
- package/dist/api/types/SearchResultsVariableValue.js +5 -0
- package/dist/api/types/VariableValue.d.ts +31 -0
- package/dist/api/types/VariableValue.js +5 -0
- package/dist/api/types/WorkflowOutput.d.ts +34 -0
- package/dist/api/types/WorkflowOutput.js +5 -0
- package/dist/api/types/WorkflowOutputArray.d.ts +13 -0
- package/dist/api/types/WorkflowOutputArray.js +5 -0
- package/dist/api/types/WorkflowOutputChatHistory.d.ts +13 -0
- package/dist/api/types/WorkflowOutputChatHistory.js +5 -0
- package/dist/api/types/WorkflowOutputError.d.ts +13 -0
- package/dist/api/types/WorkflowOutputError.js +5 -0
- package/dist/api/types/WorkflowOutputFunctionCall.d.ts +13 -0
- package/dist/api/types/WorkflowOutputFunctionCall.js +5 -0
- package/dist/api/types/WorkflowOutputImage.d.ts +13 -0
- package/dist/api/types/WorkflowOutputImage.js +5 -0
- package/dist/api/types/WorkflowOutputJson.d.ts +12 -0
- package/dist/api/types/WorkflowOutputJson.js +5 -0
- package/dist/api/types/WorkflowOutputNumber.d.ts +12 -0
- package/dist/api/types/WorkflowOutputNumber.js +5 -0
- package/dist/api/types/WorkflowOutputSearchResults.d.ts +13 -0
- package/dist/api/types/WorkflowOutputSearchResults.js +5 -0
- package/dist/api/types/WorkflowOutputString.d.ts +12 -0
- package/dist/api/types/WorkflowOutputString.js +5 -0
- package/dist/api/types/WorkflowResultEvent.d.ts +1 -0
- package/dist/api/types/index.d.ts +26 -0
- package/dist/api/types/index.js +26 -0
- package/dist/serialization/client/requests/ExecuteWorkflowRequest.d.ts +16 -0
- package/dist/serialization/client/requests/ExecuteWorkflowRequest.js +46 -0
- package/dist/serialization/client/requests/index.d.ts +1 -0
- package/dist/serialization/client/requests/index.js +3 -1
- package/dist/serialization/types/ArrayEnum.d.ts +10 -0
- package/dist/serialization/types/ArrayEnum.js +31 -0
- package/dist/serialization/types/ArrayVariableValue.d.ts +12 -0
- package/dist/serialization/types/ArrayVariableValue.js +42 -0
- package/dist/serialization/types/ChatHistoryEnum.d.ts +10 -0
- package/dist/serialization/types/ChatHistoryEnum.js +31 -0
- package/dist/serialization/types/ChatHistoryVariableValue.d.ts +12 -0
- package/dist/serialization/types/ChatHistoryVariableValue.js +44 -0
- package/dist/serialization/types/ErrorEnum.d.ts +10 -0
- package/dist/serialization/types/ErrorEnum.js +31 -0
- package/dist/serialization/types/ExecuteWorkflowErrorResponse.d.ts +12 -0
- package/dist/serialization/types/ExecuteWorkflowErrorResponse.js +33 -0
- package/dist/serialization/types/ExecuteWorkflowResponse.d.ts +15 -0
- package/dist/serialization/types/ExecuteWorkflowResponse.js +45 -0
- package/dist/serialization/types/ExecuteWorkflowWorkflowResultEvent.d.ts +16 -0
- package/dist/serialization/types/ExecuteWorkflowWorkflowResultEvent.js +48 -0
- package/dist/serialization/types/FulfilledExecuteWorkflowWorkflowResultEvent.d.ts +14 -0
- package/dist/serialization/types/FulfilledExecuteWorkflowWorkflowResultEvent.js +44 -0
- package/dist/serialization/types/JsonEnum.d.ts +10 -0
- package/dist/serialization/types/JsonEnum.js +31 -0
- package/dist/serialization/types/NumberEnum.d.ts +10 -0
- package/dist/serialization/types/NumberEnum.js +31 -0
- package/dist/serialization/types/NumberVariableValue.d.ts +12 -0
- package/dist/serialization/types/NumberVariableValue.js +33 -0
- package/dist/serialization/types/RejectedExecuteWorkflowWorkflowResultEvent.d.ts +14 -0
- package/dist/serialization/types/RejectedExecuteWorkflowWorkflowResultEvent.js +44 -0
- package/dist/serialization/types/SearchResultsEnum.d.ts +10 -0
- package/dist/serialization/types/SearchResultsEnum.js +31 -0
- package/dist/serialization/types/SearchResultsVariableValue.d.ts +12 -0
- package/dist/serialization/types/SearchResultsVariableValue.js +44 -0
- package/dist/serialization/types/VariableValue.d.ts +34 -0
- package/dist/serialization/types/VariableValue.js +54 -0
- package/dist/serialization/types/WorkflowOutput.d.ts +37 -0
- package/dist/serialization/types/WorkflowOutput.js +55 -0
- package/dist/serialization/types/WorkflowOutputArray.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputArray.js +44 -0
- package/dist/serialization/types/WorkflowOutputChatHistory.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputChatHistory.js +44 -0
- package/dist/serialization/types/WorkflowOutputError.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputError.js +44 -0
- package/dist/serialization/types/WorkflowOutputFunctionCall.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputFunctionCall.js +44 -0
- package/dist/serialization/types/WorkflowOutputImage.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputImage.js +44 -0
- package/dist/serialization/types/WorkflowOutputJson.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputJson.js +35 -0
- package/dist/serialization/types/WorkflowOutputNumber.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputNumber.js +35 -0
- package/dist/serialization/types/WorkflowOutputSearchResults.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputSearchResults.js +44 -0
- package/dist/serialization/types/WorkflowOutputString.d.ts +14 -0
- package/dist/serialization/types/WorkflowOutputString.js +35 -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 +26 -0
- package/dist/serialization/types/index.js +26 -0
- package/package.json +1 -1
- package/serialization/client/requests/ExecuteWorkflowRequest.d.ts +16 -0
- package/serialization/client/requests/ExecuteWorkflowRequest.js +46 -0
- package/serialization/client/requests/index.d.ts +1 -0
- package/serialization/client/requests/index.js +3 -1
- package/serialization/types/ArrayEnum.d.ts +10 -0
- package/serialization/types/ArrayEnum.js +31 -0
- package/serialization/types/ArrayVariableValue.d.ts +12 -0
- package/serialization/types/ArrayVariableValue.js +42 -0
- package/serialization/types/ChatHistoryEnum.d.ts +10 -0
- package/serialization/types/ChatHistoryEnum.js +31 -0
- package/serialization/types/ChatHistoryVariableValue.d.ts +12 -0
- package/serialization/types/ChatHistoryVariableValue.js +44 -0
- package/serialization/types/ErrorEnum.d.ts +10 -0
- package/serialization/types/ErrorEnum.js +31 -0
- package/serialization/types/ExecuteWorkflowErrorResponse.d.ts +12 -0
- package/serialization/types/ExecuteWorkflowErrorResponse.js +33 -0
- package/serialization/types/ExecuteWorkflowResponse.d.ts +15 -0
- package/serialization/types/ExecuteWorkflowResponse.js +45 -0
- package/serialization/types/ExecuteWorkflowWorkflowResultEvent.d.ts +16 -0
- package/serialization/types/ExecuteWorkflowWorkflowResultEvent.js +48 -0
- package/serialization/types/FulfilledExecuteWorkflowWorkflowResultEvent.d.ts +14 -0
- package/serialization/types/FulfilledExecuteWorkflowWorkflowResultEvent.js +44 -0
- package/serialization/types/JsonEnum.d.ts +10 -0
- package/serialization/types/JsonEnum.js +31 -0
- package/serialization/types/NumberEnum.d.ts +10 -0
- package/serialization/types/NumberEnum.js +31 -0
- package/serialization/types/NumberVariableValue.d.ts +12 -0
- package/serialization/types/NumberVariableValue.js +33 -0
- package/serialization/types/RejectedExecuteWorkflowWorkflowResultEvent.d.ts +14 -0
- package/serialization/types/RejectedExecuteWorkflowWorkflowResultEvent.js +44 -0
- package/serialization/types/SearchResultsEnum.d.ts +10 -0
- package/serialization/types/SearchResultsEnum.js +31 -0
- package/serialization/types/SearchResultsVariableValue.d.ts +12 -0
- package/serialization/types/SearchResultsVariableValue.js +44 -0
- package/serialization/types/VariableValue.d.ts +34 -0
- package/serialization/types/VariableValue.js +54 -0
- package/serialization/types/WorkflowOutput.d.ts +37 -0
- package/serialization/types/WorkflowOutput.js +55 -0
- package/serialization/types/WorkflowOutputArray.d.ts +14 -0
- package/serialization/types/WorkflowOutputArray.js +44 -0
- package/serialization/types/WorkflowOutputChatHistory.d.ts +14 -0
- package/serialization/types/WorkflowOutputChatHistory.js +44 -0
- package/serialization/types/WorkflowOutputError.d.ts +14 -0
- package/serialization/types/WorkflowOutputError.js +44 -0
- package/serialization/types/WorkflowOutputFunctionCall.d.ts +14 -0
- package/serialization/types/WorkflowOutputFunctionCall.js +44 -0
- package/serialization/types/WorkflowOutputImage.d.ts +14 -0
- package/serialization/types/WorkflowOutputImage.js +44 -0
- package/serialization/types/WorkflowOutputJson.d.ts +14 -0
- package/serialization/types/WorkflowOutputJson.js +35 -0
- package/serialization/types/WorkflowOutputNumber.d.ts +14 -0
- package/serialization/types/WorkflowOutputNumber.js +35 -0
- package/serialization/types/WorkflowOutputSearchResults.d.ts +14 -0
- package/serialization/types/WorkflowOutputSearchResults.js +44 -0
- package/serialization/types/WorkflowOutputString.d.ts +14 -0
- package/serialization/types/WorkflowOutputString.js +35 -0
- package/serialization/types/WorkflowResultEvent.d.ts +1 -0
- package/serialization/types/WorkflowResultEvent.js +3 -0
- package/serialization/types/index.d.ts +26 -0
- package/serialization/types/index.js +26 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.WorkflowOutputArray = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.WorkflowOutputArray = core.serialization.object({
|
|
41
|
+
id: core.serialization.string(),
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
value: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VariableValue; }))),
|
|
44
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 WorkflowOutputChatHistory: core.serialization.ObjectSchema<serializers.WorkflowOutputChatHistory.Raw, Vellum.WorkflowOutputChatHistory>;
|
|
8
|
+
export declare namespace WorkflowOutputChatHistory {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
value: serializers.ChatMessage.Raw[];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.WorkflowOutputChatHistory = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.WorkflowOutputChatHistory = core.serialization.object({
|
|
41
|
+
id: core.serialization.string(),
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
value: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessage; }))),
|
|
44
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 WorkflowOutputError: core.serialization.ObjectSchema<serializers.WorkflowOutputError.Raw, Vellum.WorkflowOutputError>;
|
|
8
|
+
export declare namespace WorkflowOutputError {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
value: serializers.VellumError.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.WorkflowOutputError = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.WorkflowOutputError = core.serialization.object({
|
|
41
|
+
id: core.serialization.string(),
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
value: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VellumError; })),
|
|
44
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 WorkflowOutputFunctionCall: core.serialization.ObjectSchema<serializers.WorkflowOutputFunctionCall.Raw, Vellum.WorkflowOutputFunctionCall>;
|
|
8
|
+
export declare namespace WorkflowOutputFunctionCall {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
value: serializers.FunctionCall.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.WorkflowOutputFunctionCall = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.WorkflowOutputFunctionCall = core.serialization.object({
|
|
41
|
+
id: core.serialization.string(),
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
value: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FunctionCall; })),
|
|
44
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 WorkflowOutputImage: core.serialization.ObjectSchema<serializers.WorkflowOutputImage.Raw, Vellum.WorkflowOutputImage>;
|
|
8
|
+
export declare namespace WorkflowOutputImage {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
value: serializers.VellumImage.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.WorkflowOutputImage = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.WorkflowOutputImage = core.serialization.object({
|
|
41
|
+
id: core.serialization.string(),
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
value: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VellumImage; })),
|
|
44
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 WorkflowOutputJson: core.serialization.ObjectSchema<serializers.WorkflowOutputJson.Raw, Vellum.WorkflowOutputJson>;
|
|
8
|
+
export declare namespace WorkflowOutputJson {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
value: Record<string, unknown>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.WorkflowOutputJson = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.WorkflowOutputJson = core.serialization.object({
|
|
32
|
+
id: core.serialization.string(),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
|
+
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
35
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 WorkflowOutputNumber: core.serialization.ObjectSchema<serializers.WorkflowOutputNumber.Raw, Vellum.WorkflowOutputNumber>;
|
|
8
|
+
export declare namespace WorkflowOutputNumber {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
value: number;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.WorkflowOutputNumber = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.WorkflowOutputNumber = core.serialization.object({
|
|
32
|
+
id: core.serialization.string(),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
|
+
value: core.serialization.number(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 WorkflowOutputSearchResults: core.serialization.ObjectSchema<serializers.WorkflowOutputSearchResults.Raw, Vellum.WorkflowOutputSearchResults>;
|
|
8
|
+
export declare namespace WorkflowOutputSearchResults {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
value: serializers.SearchResult.Raw[];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.WorkflowOutputSearchResults = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.WorkflowOutputSearchResults = core.serialization.object({
|
|
41
|
+
id: core.serialization.string(),
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
value: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).SearchResult; }))),
|
|
44
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 WorkflowOutputString: core.serialization.ObjectSchema<serializers.WorkflowOutputString.Raw, Vellum.WorkflowOutputString>;
|
|
8
|
+
export declare namespace WorkflowOutputString {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.WorkflowOutputString = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.WorkflowOutputString = core.serialization.object({
|
|
32
|
+
id: core.serialization.string(),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
|
+
value: core.serialization.string(),
|
|
35
|
+
});
|
|
@@ -43,4 +43,7 @@ exports.WorkflowResultEvent = core.serialization.object({
|
|
|
43
43
|
ts: core.serialization.date(),
|
|
44
44
|
output: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowResultEventOutputData; })).optional(),
|
|
45
45
|
error: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowEventError; })).optional(),
|
|
46
|
+
outputs: core.serialization
|
|
47
|
+
.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowOutput; })))
|
|
48
|
+
.optional(),
|
|
46
49
|
});
|
|
@@ -4,8 +4,12 @@ export * from "./ArrayChatMessageContent";
|
|
|
4
4
|
export * from "./ArrayChatMessageContentItem";
|
|
5
5
|
export * from "./ArrayChatMessageContentItemRequest";
|
|
6
6
|
export * from "./ArrayChatMessageContentRequest";
|
|
7
|
+
export * from "./ArrayEnum";
|
|
8
|
+
export * from "./ArrayVariableValue";
|
|
7
9
|
export * from "./BlockTypeEnum";
|
|
10
|
+
export * from "./ChatHistoryEnum";
|
|
8
11
|
export * from "./ChatHistoryInputRequest";
|
|
12
|
+
export * from "./ChatHistoryVariableValue";
|
|
9
13
|
export * from "./ChatMessage";
|
|
10
14
|
export * from "./ChatMessageContent";
|
|
11
15
|
export * from "./ChatMessageContentRequest";
|
|
@@ -31,17 +35,22 @@ export * from "./DocumentStatus";
|
|
|
31
35
|
export * from "./EnrichedNormalizedCompletion";
|
|
32
36
|
export * from "./EntityStatus";
|
|
33
37
|
export * from "./EnvironmentEnum";
|
|
38
|
+
export * from "./ErrorEnum";
|
|
34
39
|
export * from "./ErrorVariableValue";
|
|
35
40
|
export * from "./EvaluationParams";
|
|
36
41
|
export * from "./EvaluationParamsRequest";
|
|
37
42
|
export * from "./ExecutePromptApiErrorResponse";
|
|
38
43
|
export * from "./ExecutePromptEvent";
|
|
39
44
|
export * from "./ExecutePromptResponse";
|
|
45
|
+
export * from "./ExecuteWorkflowErrorResponse";
|
|
46
|
+
export * from "./ExecuteWorkflowResponse";
|
|
40
47
|
export * from "./ExecuteWorkflowStreamErrorResponse";
|
|
48
|
+
export * from "./ExecuteWorkflowWorkflowResultEvent";
|
|
41
49
|
export * from "./FinishReasonEnum";
|
|
42
50
|
export * from "./FulfilledEnum";
|
|
43
51
|
export * from "./FulfilledExecutePromptEvent";
|
|
44
52
|
export * from "./FulfilledExecutePromptResponse";
|
|
53
|
+
export * from "./FulfilledExecuteWorkflowWorkflowResultEvent";
|
|
45
54
|
export * from "./FulfilledFunctionCall";
|
|
46
55
|
export * from "./FulfilledPromptExecutionMeta";
|
|
47
56
|
export * from "./FunctionCall";
|
|
@@ -69,6 +78,7 @@ export * from "./InitiatedEnum";
|
|
|
69
78
|
export * from "./InitiatedExecutePromptEvent";
|
|
70
79
|
export * from "./InitiatedPromptExecutionMeta";
|
|
71
80
|
export * from "./JsonInputRequest";
|
|
81
|
+
export * from "./JsonEnum";
|
|
72
82
|
export * from "./JsonVariableValue";
|
|
73
83
|
export * from "./LogicalOperator";
|
|
74
84
|
export * from "./LogprobsEnum";
|
|
@@ -97,6 +107,8 @@ export * from "./NodeInputCompiledStringValue";
|
|
|
97
107
|
export * from "./NodeInputVariableCompiledValue";
|
|
98
108
|
export * from "./NormalizedLogProbs";
|
|
99
109
|
export * from "./NormalizedTokenLogProbs";
|
|
110
|
+
export * from "./NumberEnum";
|
|
111
|
+
export * from "./NumberVariableValue";
|
|
100
112
|
export * from "./PaginatedSlimDeploymentReadList";
|
|
101
113
|
export * from "./PaginatedSlimDocumentList";
|
|
102
114
|
export * from "./PaginatedSlimWorkflowDeploymentList";
|
|
@@ -129,6 +141,7 @@ export * from "./RegisteredPromptSandboxSnapshot";
|
|
|
129
141
|
export * from "./RejectedEnum";
|
|
130
142
|
export * from "./RejectedExecutePromptEvent";
|
|
131
143
|
export * from "./RejectedExecutePromptResponse";
|
|
144
|
+
export * from "./RejectedExecuteWorkflowWorkflowResultEvent";
|
|
132
145
|
export * from "./RejectedFunctionCall";
|
|
133
146
|
export * from "./RejectedPromptExecutionMeta";
|
|
134
147
|
export * from "./SandboxMetricInputParams";
|
|
@@ -148,6 +161,8 @@ export * from "./SearchResultDocument";
|
|
|
148
161
|
export * from "./SearchResultDocumentRequest";
|
|
149
162
|
export * from "./SearchResultMergingRequest";
|
|
150
163
|
export * from "./SearchResultRequest";
|
|
164
|
+
export * from "./SearchResultsEnum";
|
|
165
|
+
export * from "./SearchResultsVariableValue";
|
|
151
166
|
export * from "./SearchWeightsRequest";
|
|
152
167
|
export * from "./SlimDeploymentRead";
|
|
153
168
|
export * from "./SlimDocument";
|
|
@@ -191,6 +206,7 @@ export * from "./TestCaseVariableValue";
|
|
|
191
206
|
export * from "./TestSuiteTestCase";
|
|
192
207
|
export * from "./UploadDocumentErrorResponse";
|
|
193
208
|
export * from "./UploadDocumentResponse";
|
|
209
|
+
export * from "./VariableValue";
|
|
194
210
|
export * from "./VellumError";
|
|
195
211
|
export * from "./VellumErrorCodeEnum";
|
|
196
212
|
export * from "./VellumErrorRequest";
|
|
@@ -209,6 +225,16 @@ export * from "./WorkflowExecutionWorkflowResultEvent";
|
|
|
209
225
|
export * from "./WorkflowNodeResultData";
|
|
210
226
|
export * from "./WorkflowNodeResultEvent";
|
|
211
227
|
export * from "./WorkflowNodeResultEventState";
|
|
228
|
+
export * from "./WorkflowOutput";
|
|
229
|
+
export * from "./WorkflowOutputArray";
|
|
230
|
+
export * from "./WorkflowOutputChatHistory";
|
|
231
|
+
export * from "./WorkflowOutputError";
|
|
232
|
+
export * from "./WorkflowOutputFunctionCall";
|
|
233
|
+
export * from "./WorkflowOutputImage";
|
|
234
|
+
export * from "./WorkflowOutputJson";
|
|
235
|
+
export * from "./WorkflowOutputNumber";
|
|
236
|
+
export * from "./WorkflowOutputSearchResults";
|
|
237
|
+
export * from "./WorkflowOutputString";
|
|
212
238
|
export * from "./WorkflowRequestChatHistoryInputRequest";
|
|
213
239
|
export * from "./WorkflowRequestInputRequest";
|
|
214
240
|
export * from "./WorkflowRequestJsonInputRequest";
|