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,55 @@
|
|
|
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.WorkflowOutput = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.WorkflowOutput = core.serialization
|
|
41
|
+
.union("type", {
|
|
42
|
+
STRING: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowOutputString; })),
|
|
43
|
+
NUMBER: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowOutputNumber; })),
|
|
44
|
+
JSON: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowOutputJson; })),
|
|
45
|
+
CHAT_HISTORY: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowOutputChatHistory; })),
|
|
46
|
+
SEARCH_RESULTS: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowOutputSearchResults; })),
|
|
47
|
+
ERROR: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowOutputError; })),
|
|
48
|
+
ARRAY: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowOutputArray; })),
|
|
49
|
+
FUNCTION_CALL: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowOutputFunctionCall; })),
|
|
50
|
+
IMAGE: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowOutputImage; })),
|
|
51
|
+
})
|
|
52
|
+
.transform({
|
|
53
|
+
transform: (value) => value,
|
|
54
|
+
untransform: (value) => value,
|
|
55
|
+
});
|
|
@@ -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 WorkflowOutputArray: core.serialization.ObjectSchema<serializers.WorkflowOutputArray.Raw, Vellum.WorkflowOutputArray>;
|
|
8
|
+
export declare namespace WorkflowOutputArray {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
value: serializers.VariableValue.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.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
|
});
|