vellum-ai 0.0.18 → 0.0.19
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/ConstantValueChatHistoryVariable.d.ts +7 -0
- package/api/types/ConstantValueChatHistoryVariable.js +5 -0
- package/api/types/ConstantValueJsonVariable.d.ts +6 -0
- package/api/types/ConstantValueJsonVariable.js +5 -0
- package/api/types/ConstantValueStringVariable.d.ts +6 -0
- package/api/types/ConstantValueStringVariable.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/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/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/ConstantValueChatHistoryVariable.d.ts +7 -0
- package/dist/api/types/ConstantValueChatHistoryVariable.js +5 -0
- package/dist/api/types/ConstantValueJsonVariable.d.ts +6 -0
- package/dist/api/types/ConstantValueJsonVariable.js +5 -0
- package/dist/api/types/ConstantValueStringVariable.d.ts +6 -0
- package/dist/api/types/ConstantValueStringVariable.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/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/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/ConstantValueChatHistoryVariable.d.ts +12 -0
- package/dist/serialization/types/ConstantValueChatHistoryVariable.js +35 -0
- package/dist/serialization/types/ConstantValueJsonVariable.d.ts +12 -0
- package/dist/serialization/types/ConstantValueJsonVariable.js +33 -0
- package/dist/serialization/types/ConstantValueStringVariable.d.ts +12 -0
- package/dist/serialization/types/ConstantValueStringVariable.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/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/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/ConstantValueChatHistoryVariable.d.ts +12 -0
- package/serialization/types/ConstantValueChatHistoryVariable.js +35 -0
- package/serialization/types/ConstantValueJsonVariable.d.ts +12 -0
- package/serialization/types/ConstantValueJsonVariable.js +33 -0
- package/serialization/types/ConstantValueStringVariable.d.ts +12 -0
- package/serialization/types/ConstantValueStringVariable.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/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/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,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 ConstantValueJsonVariable: core.serialization.ObjectSchema<serializers.ConstantValueJsonVariable.Raw, Vellum.ConstantValueJsonVariable>;
|
|
8
|
+
export declare namespace ConstantValueJsonVariable {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: Record<string, unknown> | null;
|
|
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.ConstantValueJsonVariable = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ConstantValueJsonVariable = core.serialization.object({
|
|
32
|
+
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
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 ConstantValueStringVariable: core.serialization.ObjectSchema<serializers.ConstantValueStringVariable.Raw, Vellum.ConstantValueStringVariable>;
|
|
8
|
+
export declare namespace ConstantValueStringVariable {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: string | null;
|
|
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.ConstantValueStringVariable = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ConstantValueStringVariable = core.serialization.object({
|
|
32
|
+
value: core.serialization.string().optional(),
|
|
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 DeploymentNodeResult: core.serialization.ObjectSchema<serializers.DeploymentNodeResult.Raw, Vellum.DeploymentNodeResult>;
|
|
8
|
+
export declare namespace DeploymentNodeResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
data: serializers.DeploymentNodeResultData.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.DeploymentNodeResult = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.DeploymentNodeResult = core.serialization.object({
|
|
32
|
+
data: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).DeploymentNodeResultData),
|
|
33
|
+
});
|
|
@@ -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 DeploymentNodeResultData: core.serialization.ObjectSchema<serializers.DeploymentNodeResultData.Raw, Vellum.DeploymentNodeResultData>;
|
|
8
|
+
export declare namespace DeploymentNodeResultData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
output_id: string;
|
|
11
|
+
text?: string | null;
|
|
12
|
+
delta?: string | null;
|
|
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.DeploymentNodeResultData = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.DeploymentNodeResultData = 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 PromptNodeResult: core.serialization.ObjectSchema<serializers.PromptNodeResult.Raw, Vellum.PromptNodeResult>;
|
|
8
|
+
export declare namespace PromptNodeResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
data: serializers.PromptNodeResultData.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.PromptNodeResult = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.PromptNodeResult = core.serialization.object({
|
|
32
|
+
data: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptNodeResultData),
|
|
33
|
+
});
|
|
@@ -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 PromptNodeResultData: core.serialization.ObjectSchema<serializers.PromptNodeResultData.Raw, Vellum.PromptNodeResultData>;
|
|
8
|
+
export declare namespace PromptNodeResultData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
output_id: string;
|
|
11
|
+
text?: string | null;
|
|
12
|
+
delta?: string | null;
|
|
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.PromptNodeResultData = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.PromptNodeResultData = 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 SandboxNodeResult: core.serialization.ObjectSchema<serializers.SandboxNodeResult.Raw, Vellum.SandboxNodeResult>;
|
|
8
|
+
export declare namespace SandboxNodeResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
data: serializers.SandboxNodeResultData.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.SandboxNodeResult = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.SandboxNodeResult = core.serialization.object({
|
|
32
|
+
data: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).SandboxNodeResultData),
|
|
33
|
+
});
|
|
@@ -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 SandboxNodeResultData: core.serialization.ObjectSchema<serializers.SandboxNodeResultData.Raw, Vellum.SandboxNodeResultData>;
|
|
8
|
+
export declare namespace SandboxNodeResultData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
output_id: string;
|
|
11
|
+
text?: string | null;
|
|
12
|
+
delta?: string | null;
|
|
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.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,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.ConstantValueStringVariable.Raw {
|
|
11
|
+
type: "STRING";
|
|
12
|
+
}
|
|
13
|
+
interface Json extends serializers.ConstantValueJsonVariable.Raw {
|
|
14
|
+
type: "JSON";
|
|
15
|
+
}
|
|
16
|
+
interface ChatHistory extends serializers.ConstantValueChatHistoryVariable.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("..")))).ConstantValueStringVariable),
|
|
34
|
+
JSON: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ConstantValueJsonVariable),
|
|
35
|
+
CHAT_HISTORY: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ConstantValueChatHistoryVariable),
|
|
36
|
+
})
|
|
37
|
+
.transform({
|
|
38
|
+
transform: (value) => value,
|
|
39
|
+
untransform: (value) => value,
|
|
40
|
+
});
|