vellum-ai 0.0.18 → 0.0.20
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 +8 -0
- package/Client.js +42 -0
- package/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +15 -0
- package/api/client/requests/ExecuteWorkflowStreamRequest.js +5 -0
- package/api/client/requests/index.d.ts +1 -0
- package/api/errors/ForbiddenError.d.ts +8 -0
- package/api/errors/ForbiddenError.js +41 -0
- package/api/errors/index.d.ts +1 -0
- package/api/errors/index.js +1 -0
- package/api/types/ConditionalNodeResult.d.ts +7 -0
- package/api/types/ConditionalNodeResult.js +5 -0
- package/api/types/ConditionalNodeResultData.d.ts +6 -0
- package/api/types/ConditionalNodeResultData.js +5 -0
- package/api/types/DeploymentNodeResult.d.ts +7 -0
- package/api/types/DeploymentNodeResult.js +5 -0
- package/api/types/DeploymentNodeResultData.d.ts +8 -0
- package/api/types/DeploymentNodeResultData.js +5 -0
- package/api/types/PromptNodeResult.d.ts +7 -0
- package/api/types/PromptNodeResult.js +5 -0
- package/api/types/PromptNodeResultData.d.ts +8 -0
- package/api/types/PromptNodeResultData.js +5 -0
- package/api/types/SandboxNodeResult.d.ts +7 -0
- package/api/types/SandboxNodeResult.js +5 -0
- package/api/types/SandboxNodeResultData.d.ts +8 -0
- package/api/types/SandboxNodeResultData.js +5 -0
- package/api/types/SearchNodeResult.d.ts +7 -0
- package/api/types/SearchNodeResult.js +5 -0
- package/api/types/SearchNodeResultData.d.ts +9 -0
- package/api/types/SearchNodeResultData.js +5 -0
- package/api/types/TerminalNodeChatHistoryResult.d.ts +9 -0
- package/api/types/TerminalNodeChatHistoryResult.js +5 -0
- package/api/types/TerminalNodeJsonResult.d.ts +8 -0
- package/api/types/TerminalNodeJsonResult.js +5 -0
- package/api/types/TerminalNodeResult.d.ts +7 -0
- package/api/types/TerminalNodeResult.js +5 -0
- package/api/types/TerminalNodeResultData.d.ts +7 -0
- package/api/types/TerminalNodeResultData.js +5 -0
- package/api/types/TerminalNodeResultOutput.d.ts +16 -0
- package/api/types/TerminalNodeResultOutput.js +5 -0
- package/api/types/TerminalNodeStringResult.d.ts +8 -0
- package/api/types/TerminalNodeStringResult.js +5 -0
- package/api/types/WorkflowExecutionNodeResultEvent.d.ts +9 -0
- package/api/types/WorkflowExecutionNodeResultEvent.js +5 -0
- package/api/types/WorkflowExecutionWorkflowResultEvent.d.ts +9 -0
- package/api/types/WorkflowExecutionWorkflowResultEvent.js +5 -0
- package/api/types/WorkflowNodeResultData.d.ts +25 -0
- package/api/types/WorkflowNodeResultData.js +5 -0
- package/api/types/WorkflowNodeResultEvent.d.ts +13 -0
- package/api/types/WorkflowNodeResultEvent.js +5 -0
- package/api/types/WorkflowNodeResultEventStateEnum.d.ts +16 -0
- package/api/types/WorkflowNodeResultEventStateEnum.js +12 -0
- package/api/types/WorkflowRequestChatHistoryInputRequest.d.ts +9 -0
- package/api/types/WorkflowRequestChatHistoryInputRequest.js +5 -0
- package/api/types/WorkflowRequestInputRequest.d.ts +16 -0
- package/api/types/WorkflowRequestInputRequest.js +5 -0
- package/api/types/WorkflowRequestJsonInputRequest.d.ts +8 -0
- package/api/types/WorkflowRequestJsonInputRequest.js +5 -0
- package/api/types/WorkflowRequestStringInputRequest.d.ts +8 -0
- package/api/types/WorkflowRequestStringInputRequest.js +5 -0
- package/api/types/WorkflowResultEvent.d.ts +10 -0
- package/api/types/WorkflowResultEvent.js +5 -0
- package/api/types/WorkflowResultEventStateEnum.d.ts +14 -0
- package/api/types/WorkflowResultEventStateEnum.js +11 -0
- package/api/types/WorkflowStreamEvent.d.ts +13 -0
- package/api/types/WorkflowStreamEvent.js +5 -0
- package/api/types/index.d.ts +28 -0
- package/api/types/index.js +28 -0
- package/dist/Client.d.ts +8 -0
- package/dist/Client.js +42 -0
- package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +15 -0
- package/dist/api/client/requests/ExecuteWorkflowStreamRequest.js +5 -0
- package/dist/api/client/requests/index.d.ts +1 -0
- package/dist/api/errors/ForbiddenError.d.ts +8 -0
- package/dist/api/errors/ForbiddenError.js +41 -0
- package/dist/api/errors/index.d.ts +1 -0
- package/dist/api/errors/index.js +1 -0
- package/dist/api/types/ConditionalNodeResult.d.ts +7 -0
- package/dist/api/types/ConditionalNodeResult.js +5 -0
- package/dist/api/types/ConditionalNodeResultData.d.ts +6 -0
- package/dist/api/types/ConditionalNodeResultData.js +5 -0
- package/dist/api/types/DeploymentNodeResult.d.ts +7 -0
- package/dist/api/types/DeploymentNodeResult.js +5 -0
- package/dist/api/types/DeploymentNodeResultData.d.ts +8 -0
- package/dist/api/types/DeploymentNodeResultData.js +5 -0
- package/dist/api/types/PromptNodeResult.d.ts +7 -0
- package/dist/api/types/PromptNodeResult.js +5 -0
- package/dist/api/types/PromptNodeResultData.d.ts +8 -0
- package/dist/api/types/PromptNodeResultData.js +5 -0
- package/dist/api/types/SandboxNodeResult.d.ts +7 -0
- package/dist/api/types/SandboxNodeResult.js +5 -0
- package/dist/api/types/SandboxNodeResultData.d.ts +8 -0
- package/dist/api/types/SandboxNodeResultData.js +5 -0
- package/dist/api/types/SearchNodeResult.d.ts +7 -0
- package/dist/api/types/SearchNodeResult.js +5 -0
- package/dist/api/types/SearchNodeResultData.d.ts +9 -0
- package/dist/api/types/SearchNodeResultData.js +5 -0
- package/dist/api/types/TerminalNodeChatHistoryResult.d.ts +9 -0
- package/dist/api/types/TerminalNodeChatHistoryResult.js +5 -0
- package/dist/api/types/TerminalNodeJsonResult.d.ts +8 -0
- package/dist/api/types/TerminalNodeJsonResult.js +5 -0
- package/dist/api/types/TerminalNodeResult.d.ts +7 -0
- package/dist/api/types/TerminalNodeResult.js +5 -0
- package/dist/api/types/TerminalNodeResultData.d.ts +7 -0
- package/dist/api/types/TerminalNodeResultData.js +5 -0
- package/dist/api/types/TerminalNodeResultOutput.d.ts +16 -0
- package/dist/api/types/TerminalNodeResultOutput.js +5 -0
- package/dist/api/types/TerminalNodeStringResult.d.ts +8 -0
- package/dist/api/types/TerminalNodeStringResult.js +5 -0
- package/dist/api/types/WorkflowExecutionNodeResultEvent.d.ts +9 -0
- package/dist/api/types/WorkflowExecutionNodeResultEvent.js +5 -0
- package/dist/api/types/WorkflowExecutionWorkflowResultEvent.d.ts +9 -0
- package/dist/api/types/WorkflowExecutionWorkflowResultEvent.js +5 -0
- package/dist/api/types/WorkflowNodeResultData.d.ts +25 -0
- package/dist/api/types/WorkflowNodeResultData.js +5 -0
- package/dist/api/types/WorkflowNodeResultEvent.d.ts +13 -0
- package/dist/api/types/WorkflowNodeResultEvent.js +5 -0
- package/dist/api/types/WorkflowNodeResultEventStateEnum.d.ts +16 -0
- package/dist/api/types/WorkflowNodeResultEventStateEnum.js +12 -0
- package/dist/api/types/WorkflowRequestChatHistoryInputRequest.d.ts +9 -0
- package/dist/api/types/WorkflowRequestChatHistoryInputRequest.js +5 -0
- package/dist/api/types/WorkflowRequestInputRequest.d.ts +16 -0
- package/dist/api/types/WorkflowRequestInputRequest.js +5 -0
- package/dist/api/types/WorkflowRequestJsonInputRequest.d.ts +8 -0
- package/dist/api/types/WorkflowRequestJsonInputRequest.js +5 -0
- package/dist/api/types/WorkflowRequestStringInputRequest.d.ts +8 -0
- package/dist/api/types/WorkflowRequestStringInputRequest.js +5 -0
- package/dist/api/types/WorkflowResultEvent.d.ts +10 -0
- package/dist/api/types/WorkflowResultEvent.js +5 -0
- package/dist/api/types/WorkflowResultEventStateEnum.d.ts +14 -0
- package/dist/api/types/WorkflowResultEventStateEnum.js +11 -0
- package/dist/api/types/WorkflowStreamEvent.d.ts +13 -0
- package/dist/api/types/WorkflowStreamEvent.js +5 -0
- package/dist/api/types/index.d.ts +28 -0
- package/dist/api/types/index.js +28 -0
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +16 -0
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.js +37 -0
- package/dist/serialization/client/requests/index.d.ts +1 -0
- package/dist/serialization/client/requests/index.js +3 -1
- package/dist/serialization/types/ConditionalNodeResult.d.ts +12 -0
- package/dist/serialization/types/ConditionalNodeResult.js +33 -0
- package/dist/serialization/types/ConditionalNodeResultData.d.ts +12 -0
- package/dist/serialization/types/ConditionalNodeResultData.js +33 -0
- package/dist/serialization/types/DeploymentNodeResult.d.ts +12 -0
- package/dist/serialization/types/DeploymentNodeResult.js +33 -0
- package/dist/serialization/types/DeploymentNodeResultData.d.ts +14 -0
- package/dist/serialization/types/DeploymentNodeResultData.js +35 -0
- package/dist/serialization/types/PromptNodeResult.d.ts +12 -0
- package/dist/serialization/types/PromptNodeResult.js +33 -0
- package/dist/serialization/types/PromptNodeResultData.d.ts +14 -0
- package/dist/serialization/types/PromptNodeResultData.js +35 -0
- package/dist/serialization/types/SandboxNodeResult.d.ts +12 -0
- package/dist/serialization/types/SandboxNodeResult.js +33 -0
- package/dist/serialization/types/SandboxNodeResultData.d.ts +14 -0
- package/dist/serialization/types/SandboxNodeResultData.js +35 -0
- package/dist/serialization/types/SearchNodeResult.d.ts +12 -0
- package/dist/serialization/types/SearchNodeResult.js +33 -0
- package/dist/serialization/types/SearchNodeResultData.d.ts +15 -0
- package/dist/serialization/types/SearchNodeResultData.js +36 -0
- package/dist/serialization/types/TerminalNodeChatHistoryResult.d.ts +13 -0
- package/dist/serialization/types/TerminalNodeChatHistoryResult.js +34 -0
- package/dist/serialization/types/TerminalNodeJsonResult.d.ts +13 -0
- package/dist/serialization/types/TerminalNodeJsonResult.js +34 -0
- package/dist/serialization/types/TerminalNodeResult.d.ts +12 -0
- package/dist/serialization/types/TerminalNodeResult.js +33 -0
- package/dist/serialization/types/TerminalNodeResultData.d.ts +12 -0
- package/dist/serialization/types/TerminalNodeResultData.js +33 -0
- package/dist/serialization/types/TerminalNodeResultOutput.d.ts +19 -0
- package/dist/serialization/types/TerminalNodeResultOutput.js +40 -0
- package/dist/serialization/types/TerminalNodeStringResult.d.ts +13 -0
- package/dist/serialization/types/TerminalNodeStringResult.js +34 -0
- package/dist/serialization/types/WorkflowExecutionNodeResultEvent.d.ts +14 -0
- package/dist/serialization/types/WorkflowExecutionNodeResultEvent.js +35 -0
- package/dist/serialization/types/WorkflowExecutionWorkflowResultEvent.d.ts +14 -0
- package/dist/serialization/types/WorkflowExecutionWorkflowResultEvent.js +35 -0
- package/dist/serialization/types/WorkflowNodeResultData.d.ts +28 -0
- package/dist/serialization/types/WorkflowNodeResultData.js +43 -0
- package/dist/serialization/types/WorkflowNodeResultEvent.d.ts +18 -0
- package/dist/serialization/types/WorkflowNodeResultEvent.js +39 -0
- package/dist/serialization/types/WorkflowNodeResultEventStateEnum.d.ts +10 -0
- package/dist/serialization/types/WorkflowNodeResultEventStateEnum.js +31 -0
- package/dist/serialization/types/WorkflowRequestChatHistoryInputRequest.d.ts +13 -0
- package/dist/serialization/types/WorkflowRequestChatHistoryInputRequest.js +34 -0
- package/dist/serialization/types/WorkflowRequestInputRequest.d.ts +19 -0
- package/dist/serialization/types/WorkflowRequestInputRequest.js +40 -0
- package/dist/serialization/types/WorkflowRequestJsonInputRequest.d.ts +13 -0
- package/dist/serialization/types/WorkflowRequestJsonInputRequest.js +34 -0
- package/dist/serialization/types/WorkflowRequestStringInputRequest.d.ts +13 -0
- package/dist/serialization/types/WorkflowRequestStringInputRequest.js +34 -0
- package/dist/serialization/types/WorkflowResultEvent.d.ts +15 -0
- package/dist/serialization/types/WorkflowResultEvent.js +36 -0
- package/dist/serialization/types/WorkflowResultEventStateEnum.d.ts +10 -0
- package/dist/serialization/types/WorkflowResultEventStateEnum.js +31 -0
- package/dist/serialization/types/WorkflowStreamEvent.d.ts +16 -0
- package/dist/serialization/types/WorkflowStreamEvent.js +39 -0
- package/dist/serialization/types/index.d.ts +28 -0
- package/dist/serialization/types/index.js +28 -0
- package/package.json +1 -1
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +16 -0
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.js +37 -0
- package/serialization/client/requests/index.d.ts +1 -0
- package/serialization/client/requests/index.js +3 -1
- package/serialization/types/ConditionalNodeResult.d.ts +12 -0
- package/serialization/types/ConditionalNodeResult.js +33 -0
- package/serialization/types/ConditionalNodeResultData.d.ts +12 -0
- package/serialization/types/ConditionalNodeResultData.js +33 -0
- package/serialization/types/DeploymentNodeResult.d.ts +12 -0
- package/serialization/types/DeploymentNodeResult.js +33 -0
- package/serialization/types/DeploymentNodeResultData.d.ts +14 -0
- package/serialization/types/DeploymentNodeResultData.js +35 -0
- package/serialization/types/PromptNodeResult.d.ts +12 -0
- package/serialization/types/PromptNodeResult.js +33 -0
- package/serialization/types/PromptNodeResultData.d.ts +14 -0
- package/serialization/types/PromptNodeResultData.js +35 -0
- package/serialization/types/SandboxNodeResult.d.ts +12 -0
- package/serialization/types/SandboxNodeResult.js +33 -0
- package/serialization/types/SandboxNodeResultData.d.ts +14 -0
- package/serialization/types/SandboxNodeResultData.js +35 -0
- package/serialization/types/SearchNodeResult.d.ts +12 -0
- package/serialization/types/SearchNodeResult.js +33 -0
- package/serialization/types/SearchNodeResultData.d.ts +15 -0
- package/serialization/types/SearchNodeResultData.js +36 -0
- package/serialization/types/TerminalNodeChatHistoryResult.d.ts +13 -0
- package/serialization/types/TerminalNodeChatHistoryResult.js +34 -0
- package/serialization/types/TerminalNodeJsonResult.d.ts +13 -0
- package/serialization/types/TerminalNodeJsonResult.js +34 -0
- package/serialization/types/TerminalNodeResult.d.ts +12 -0
- package/serialization/types/TerminalNodeResult.js +33 -0
- package/serialization/types/TerminalNodeResultData.d.ts +12 -0
- package/serialization/types/TerminalNodeResultData.js +33 -0
- package/serialization/types/TerminalNodeResultOutput.d.ts +19 -0
- package/serialization/types/TerminalNodeResultOutput.js +40 -0
- package/serialization/types/TerminalNodeStringResult.d.ts +13 -0
- package/serialization/types/TerminalNodeStringResult.js +34 -0
- package/serialization/types/WorkflowExecutionNodeResultEvent.d.ts +14 -0
- package/serialization/types/WorkflowExecutionNodeResultEvent.js +35 -0
- package/serialization/types/WorkflowExecutionWorkflowResultEvent.d.ts +14 -0
- package/serialization/types/WorkflowExecutionWorkflowResultEvent.js +35 -0
- package/serialization/types/WorkflowNodeResultData.d.ts +28 -0
- package/serialization/types/WorkflowNodeResultData.js +43 -0
- package/serialization/types/WorkflowNodeResultEvent.d.ts +18 -0
- package/serialization/types/WorkflowNodeResultEvent.js +39 -0
- package/serialization/types/WorkflowNodeResultEventStateEnum.d.ts +10 -0
- package/serialization/types/WorkflowNodeResultEventStateEnum.js +31 -0
- package/serialization/types/WorkflowRequestChatHistoryInputRequest.d.ts +13 -0
- package/serialization/types/WorkflowRequestChatHistoryInputRequest.js +34 -0
- package/serialization/types/WorkflowRequestInputRequest.d.ts +19 -0
- package/serialization/types/WorkflowRequestInputRequest.js +40 -0
- package/serialization/types/WorkflowRequestJsonInputRequest.d.ts +13 -0
- package/serialization/types/WorkflowRequestJsonInputRequest.js +34 -0
- package/serialization/types/WorkflowRequestStringInputRequest.d.ts +13 -0
- package/serialization/types/WorkflowRequestStringInputRequest.js +34 -0
- package/serialization/types/WorkflowResultEvent.d.ts +15 -0
- package/serialization/types/WorkflowResultEvent.js +36 -0
- package/serialization/types/WorkflowResultEventStateEnum.d.ts +10 -0
- package/serialization/types/WorkflowResultEventStateEnum.js +31 -0
- package/serialization/types/WorkflowStreamEvent.d.ts +16 -0
- package/serialization/types/WorkflowStreamEvent.js +39 -0
- package/serialization/types/index.d.ts +28 -0
- package/serialization/types/index.js +28 -0
|
@@ -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.SandboxNodeResultData = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.SandboxNodeResultData = core.serialization.object({
|
|
32
|
+
outputId: core.serialization.property("output_id", core.serialization.string()),
|
|
33
|
+
text: core.serialization.string().optional(),
|
|
34
|
+
delta: core.serialization.string().optional(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
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 SearchNodeResult: core.serialization.ObjectSchema<serializers.SearchNodeResult.Raw, Vellum.SearchNodeResult>;
|
|
8
|
+
export declare namespace SearchNodeResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
data: serializers.SearchNodeResultData.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.SearchNodeResult = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.SearchNodeResult = core.serialization.object({
|
|
32
|
+
data: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).SearchNodeResultData),
|
|
33
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
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 SearchNodeResultData: core.serialization.ObjectSchema<serializers.SearchNodeResultData.Raw, Vellum.SearchNodeResultData>;
|
|
8
|
+
export declare namespace SearchNodeResultData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
results_output_id: string;
|
|
11
|
+
results: Record<string, unknown>[];
|
|
12
|
+
text_output_id?: string | null;
|
|
13
|
+
text?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.SearchNodeResultData = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.SearchNodeResultData = core.serialization.object({
|
|
32
|
+
resultsOutputId: core.serialization.property("results_output_id", core.serialization.string()),
|
|
33
|
+
results: core.serialization.list(core.serialization.record(core.serialization.string(), core.serialization.unknown())),
|
|
34
|
+
textOutputId: core.serialization.property("text_output_id", core.serialization.string().optional()),
|
|
35
|
+
text: core.serialization.string().optional(),
|
|
36
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 TerminalNodeChatHistoryResult: core.serialization.ObjectSchema<serializers.TerminalNodeChatHistoryResult.Raw, Vellum.TerminalNodeChatHistoryResult>;
|
|
8
|
+
export declare namespace TerminalNodeChatHistoryResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
value: serializers.ChatMessage.Raw[];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.TerminalNodeChatHistoryResult = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.TerminalNodeChatHistoryResult = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
value: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ChatMessage)),
|
|
34
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 TerminalNodeJsonResult: core.serialization.ObjectSchema<serializers.TerminalNodeJsonResult.Raw, Vellum.TerminalNodeJsonResult>;
|
|
8
|
+
export declare namespace TerminalNodeJsonResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
value: Record<string, unknown>;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.TerminalNodeJsonResult = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.TerminalNodeJsonResult = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
34
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
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 TerminalNodeResult: core.serialization.ObjectSchema<serializers.TerminalNodeResult.Raw, Vellum.TerminalNodeResult>;
|
|
8
|
+
export declare namespace TerminalNodeResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
data: serializers.TerminalNodeResultData.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.TerminalNodeResult = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.TerminalNodeResult = core.serialization.object({
|
|
32
|
+
data: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).TerminalNodeResultData),
|
|
33
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
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 TerminalNodeResultData: core.serialization.ObjectSchema<serializers.TerminalNodeResultData.Raw, Vellum.TerminalNodeResultData>;
|
|
8
|
+
export declare namespace TerminalNodeResultData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
output: serializers.TerminalNodeResultOutput.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.TerminalNodeResultData = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.TerminalNodeResultData = core.serialization.object({
|
|
32
|
+
output: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).TerminalNodeResultOutput),
|
|
33
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
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 TerminalNodeResultOutput: core.serialization.Schema<serializers.TerminalNodeResultOutput.Raw, Vellum.TerminalNodeResultOutput>;
|
|
8
|
+
export declare namespace TerminalNodeResultOutput {
|
|
9
|
+
type Raw = TerminalNodeResultOutput.String | TerminalNodeResultOutput.Json | TerminalNodeResultOutput.ChatHistory;
|
|
10
|
+
interface String extends serializers.TerminalNodeStringResult.Raw {
|
|
11
|
+
type: "STRING";
|
|
12
|
+
}
|
|
13
|
+
interface Json extends serializers.TerminalNodeJsonResult.Raw {
|
|
14
|
+
type: "JSON";
|
|
15
|
+
}
|
|
16
|
+
interface ChatHistory extends serializers.TerminalNodeChatHistoryResult.Raw {
|
|
17
|
+
type: "CHAT_HISTORY";
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.TerminalNodeResultOutput = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.TerminalNodeResultOutput = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
STRING: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).TerminalNodeStringResult),
|
|
34
|
+
JSON: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).TerminalNodeJsonResult),
|
|
35
|
+
CHAT_HISTORY: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).TerminalNodeChatHistoryResult),
|
|
36
|
+
})
|
|
37
|
+
.transform({
|
|
38
|
+
transform: (value) => value,
|
|
39
|
+
untransform: (value) => value,
|
|
40
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 TerminalNodeStringResult: core.serialization.ObjectSchema<serializers.TerminalNodeStringResult.Raw, Vellum.TerminalNodeStringResult>;
|
|
8
|
+
export declare namespace TerminalNodeStringResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.TerminalNodeStringResult = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.TerminalNodeStringResult = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
value: core.serialization.string(),
|
|
34
|
+
});
|
|
@@ -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 WorkflowExecutionNodeResultEvent: core.serialization.ObjectSchema<serializers.WorkflowExecutionNodeResultEvent.Raw, Vellum.WorkflowExecutionNodeResultEvent>;
|
|
8
|
+
export declare namespace WorkflowExecutionNodeResultEvent {
|
|
9
|
+
interface Raw {
|
|
10
|
+
run_id: string;
|
|
11
|
+
external_id?: string | null;
|
|
12
|
+
data: serializers.WorkflowNodeResultEvent.Raw;
|
|
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.WorkflowExecutionNodeResultEvent = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.WorkflowExecutionNodeResultEvent = core.serialization.object({
|
|
32
|
+
runId: core.serialization.property("run_id", core.serialization.string()),
|
|
33
|
+
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
34
|
+
data: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).WorkflowNodeResultEvent),
|
|
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 WorkflowExecutionWorkflowResultEvent: core.serialization.ObjectSchema<serializers.WorkflowExecutionWorkflowResultEvent.Raw, Vellum.WorkflowExecutionWorkflowResultEvent>;
|
|
8
|
+
export declare namespace WorkflowExecutionWorkflowResultEvent {
|
|
9
|
+
interface Raw {
|
|
10
|
+
run_id: string;
|
|
11
|
+
external_id?: string | null;
|
|
12
|
+
data: serializers.WorkflowResultEvent.Raw;
|
|
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.WorkflowExecutionWorkflowResultEvent = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.WorkflowExecutionWorkflowResultEvent = core.serialization.object({
|
|
32
|
+
runId: core.serialization.property("run_id", core.serialization.string()),
|
|
33
|
+
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
34
|
+
data: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).WorkflowResultEvent),
|
|
35
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
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 WorkflowNodeResultData: core.serialization.Schema<serializers.WorkflowNodeResultData.Raw, Vellum.WorkflowNodeResultData>;
|
|
8
|
+
export declare namespace WorkflowNodeResultData {
|
|
9
|
+
type Raw = WorkflowNodeResultData.Prompt | WorkflowNodeResultData.Sandbox | WorkflowNodeResultData.Deployment | WorkflowNodeResultData.Search | WorkflowNodeResultData.Conditional | WorkflowNodeResultData.Terminal;
|
|
10
|
+
interface Prompt extends serializers.PromptNodeResult.Raw {
|
|
11
|
+
type: "PROMPT";
|
|
12
|
+
}
|
|
13
|
+
interface Sandbox extends serializers.SandboxNodeResult.Raw {
|
|
14
|
+
type: "SANDBOX";
|
|
15
|
+
}
|
|
16
|
+
interface Deployment extends serializers.DeploymentNodeResult.Raw {
|
|
17
|
+
type: "DEPLOYMENT";
|
|
18
|
+
}
|
|
19
|
+
interface Search extends serializers.SearchNodeResult.Raw {
|
|
20
|
+
type: "SEARCH";
|
|
21
|
+
}
|
|
22
|
+
interface Conditional extends serializers.ConditionalNodeResult.Raw {
|
|
23
|
+
type: "CONDITIONAL";
|
|
24
|
+
}
|
|
25
|
+
interface Terminal extends serializers.TerminalNodeResult.Raw {
|
|
26
|
+
type: "TERMINAL";
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.WorkflowNodeResultData = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.WorkflowNodeResultData = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
PROMPT: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptNodeResult),
|
|
34
|
+
SANDBOX: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).SandboxNodeResult),
|
|
35
|
+
DEPLOYMENT: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).DeploymentNodeResult),
|
|
36
|
+
SEARCH: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).SearchNodeResult),
|
|
37
|
+
CONDITIONAL: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ConditionalNodeResult),
|
|
38
|
+
TERMINAL: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).TerminalNodeResult),
|
|
39
|
+
})
|
|
40
|
+
.transform({
|
|
41
|
+
transform: (value) => value,
|
|
42
|
+
untransform: (value) => value,
|
|
43
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
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 WorkflowNodeResultEvent: core.serialization.ObjectSchema<serializers.WorkflowNodeResultEvent.Raw, Vellum.WorkflowNodeResultEvent>;
|
|
8
|
+
export declare namespace WorkflowNodeResultEvent {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
node_id: string;
|
|
12
|
+
node_result_id: string;
|
|
13
|
+
state: serializers.WorkflowNodeResultEventStateEnum.Raw;
|
|
14
|
+
ts?: string | null;
|
|
15
|
+
data?: serializers.WorkflowNodeResultData.Raw | null;
|
|
16
|
+
error?: string | null;
|
|
17
|
+
}
|
|
18
|
+
}
|