vellum-ai 0.3.6 → 0.3.8
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 +5 -2
- package/Client.js +25 -20
- package/api/client/requests/ExecutePromptRequest.d.ts +1 -0
- package/api/client/requests/ExecutePromptStreamRequest.d.ts +1 -0
- package/api/client/requests/ExecuteWorkflowRequest.d.ts +1 -1
- package/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -1
- package/api/resources/deployments/client/Client.d.ts +2 -2
- package/api/resources/deployments/client/Client.js +4 -4
- package/api/resources/deployments/client/requests/DeploymentsListRequest.d.ts +1 -1
- package/api/resources/documentIndexes/client/Client.d.ts +2 -2
- package/api/resources/documentIndexes/client/Client.js +3 -3
- package/api/resources/documents/client/Client.d.ts +2 -2
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.d.ts +31 -0
- package/api/resources/folderEntities/client/Client.js +106 -0
- package/api/resources/folderEntities/client/index.d.ts +1 -0
- package/api/resources/folderEntities/client/index.js +17 -0
- package/api/resources/folderEntities/client/requests/AddEntityToFolderRequest.d.ts +13 -0
- package/api/resources/folderEntities/client/requests/AddEntityToFolderRequest.js +5 -0
- package/api/resources/folderEntities/client/requests/index.d.ts +1 -0
- package/api/resources/folderEntities/client/requests/index.js +2 -0
- package/api/resources/folderEntities/index.d.ts +1 -0
- package/api/resources/folderEntities/index.js +17 -0
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/modelVersions/client/Client.d.ts +2 -2
- package/api/resources/modelVersions/client/Client.js +2 -2
- package/api/resources/registeredPrompts/client/Client.d.ts +2 -2
- package/api/resources/registeredPrompts/client/Client.js +2 -2
- package/api/resources/sandboxes/client/Client.d.ts +2 -2
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.d.ts +2 -2
- package/api/resources/testSuites/client/Client.js +3 -3
- package/api/resources/workflowDeployments/client/Client.d.ts +9 -2
- package/api/resources/workflowDeployments/client/Client.js +56 -2
- package/api/resources/workflowDeployments/client/requests/WorkflowDeploymentsListRequest.d.ts +1 -4
- package/api/types/ArrayEnum.d.ts +4 -0
- package/api/types/ArrayEnum.js +5 -0
- package/api/types/ArrayVariableValueItem.d.ts +28 -0
- package/api/types/ArrayVariableValueItem.js +5 -0
- package/api/types/ChatHistoryVariableValue.d.ts +7 -0
- package/api/types/ChatHistoryVariableValue.js +5 -0
- package/api/types/NodeInputCompiledArrayValue.d.ts +9 -0
- package/api/types/NodeInputCompiledArrayValue.js +5 -0
- package/api/types/NodeInputVariableCompiledValue.d.ts +4 -1
- package/api/types/NodeOutputCompiledArrayValue.d.ts +8 -0
- package/api/types/NodeOutputCompiledArrayValue.js +5 -0
- package/api/types/NodeOutputCompiledFunctionValue.d.ts +8 -0
- package/api/types/NodeOutputCompiledFunctionValue.js +5 -0
- package/api/types/NodeOutputCompiledValue.d.ts +7 -1
- package/api/types/NumberVariableValue.d.ts +6 -0
- package/api/types/NumberVariableValue.js +5 -0
- package/api/types/PromptNodeResultData.d.ts +1 -0
- package/api/types/SearchResultsVariableValue.d.ts +7 -0
- package/api/types/SearchResultsVariableValue.js +5 -0
- package/api/types/WorkflowDeploymentRead.d.ts +32 -0
- package/api/types/WorkflowDeploymentRead.js +5 -0
- package/api/types/WorkflowRequestChatHistoryInputRequest.d.ts +3 -0
- package/api/types/WorkflowRequestJsonInputRequest.d.ts +3 -0
- package/api/types/WorkflowRequestNumberInputRequest.d.ts +3 -0
- package/api/types/WorkflowRequestStringInputRequest.d.ts +3 -0
- package/api/types/index.d.ts +9 -0
- package/api/types/index.js +9 -0
- package/dist/Client.d.ts +5 -2
- package/dist/Client.js +25 -20
- package/dist/api/client/requests/ExecutePromptRequest.d.ts +1 -0
- package/dist/api/client/requests/ExecutePromptStreamRequest.d.ts +1 -0
- package/dist/api/client/requests/ExecuteWorkflowRequest.d.ts +1 -1
- package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -1
- package/dist/api/resources/deployments/client/Client.d.ts +2 -2
- package/dist/api/resources/deployments/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/requests/DeploymentsListRequest.d.ts +1 -1
- package/dist/api/resources/documentIndexes/client/Client.d.ts +2 -2
- package/dist/api/resources/documentIndexes/client/Client.js +3 -3
- package/dist/api/resources/documents/client/Client.d.ts +2 -2
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.d.ts +31 -0
- package/dist/api/resources/folderEntities/client/Client.js +106 -0
- package/dist/api/resources/folderEntities/client/index.d.ts +1 -0
- package/dist/api/resources/folderEntities/client/index.js +17 -0
- package/dist/api/resources/folderEntities/client/requests/AddEntityToFolderRequest.d.ts +13 -0
- package/dist/api/resources/folderEntities/client/requests/AddEntityToFolderRequest.js +5 -0
- package/dist/api/resources/folderEntities/client/requests/index.d.ts +1 -0
- package/dist/api/resources/folderEntities/client/requests/index.js +2 -0
- package/dist/api/resources/folderEntities/index.d.ts +1 -0
- package/dist/api/resources/folderEntities/index.js +17 -0
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/modelVersions/client/Client.d.ts +2 -2
- package/dist/api/resources/modelVersions/client/Client.js +2 -2
- package/dist/api/resources/registeredPrompts/client/Client.d.ts +2 -2
- package/dist/api/resources/registeredPrompts/client/Client.js +2 -2
- package/dist/api/resources/sandboxes/client/Client.d.ts +2 -2
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.d.ts +2 -2
- package/dist/api/resources/testSuites/client/Client.js +3 -3
- package/dist/api/resources/workflowDeployments/client/Client.d.ts +9 -2
- package/dist/api/resources/workflowDeployments/client/Client.js +56 -2
- package/dist/api/resources/workflowDeployments/client/requests/WorkflowDeploymentsListRequest.d.ts +1 -4
- package/dist/api/types/ArrayEnum.d.ts +4 -0
- package/dist/api/types/ArrayEnum.js +5 -0
- package/dist/api/types/ArrayVariableValueItem.d.ts +28 -0
- package/dist/api/types/ArrayVariableValueItem.js +5 -0
- package/dist/api/types/ChatHistoryVariableValue.d.ts +7 -0
- package/dist/api/types/ChatHistoryVariableValue.js +5 -0
- package/dist/api/types/NodeInputCompiledArrayValue.d.ts +9 -0
- package/dist/api/types/NodeInputCompiledArrayValue.js +5 -0
- package/dist/api/types/NodeInputVariableCompiledValue.d.ts +4 -1
- package/dist/api/types/NodeOutputCompiledArrayValue.d.ts +8 -0
- package/dist/api/types/NodeOutputCompiledArrayValue.js +5 -0
- package/dist/api/types/NodeOutputCompiledFunctionValue.d.ts +8 -0
- package/dist/api/types/NodeOutputCompiledFunctionValue.js +5 -0
- package/dist/api/types/NodeOutputCompiledValue.d.ts +7 -1
- package/dist/api/types/NumberVariableValue.d.ts +6 -0
- package/dist/api/types/NumberVariableValue.js +5 -0
- package/dist/api/types/PromptNodeResultData.d.ts +1 -0
- package/dist/api/types/SearchResultsVariableValue.d.ts +7 -0
- package/dist/api/types/SearchResultsVariableValue.js +5 -0
- package/dist/api/types/WorkflowDeploymentRead.d.ts +32 -0
- package/dist/api/types/WorkflowDeploymentRead.js +5 -0
- package/dist/api/types/WorkflowRequestChatHistoryInputRequest.d.ts +3 -0
- package/dist/api/types/WorkflowRequestJsonInputRequest.d.ts +3 -0
- package/dist/api/types/WorkflowRequestNumberInputRequest.d.ts +3 -0
- package/dist/api/types/WorkflowRequestStringInputRequest.d.ts +3 -0
- package/dist/api/types/index.d.ts +9 -0
- package/dist/api/types/index.js +9 -0
- package/dist/serialization/resources/folderEntities/client/index.d.ts +1 -0
- package/dist/serialization/resources/folderEntities/client/index.js +17 -0
- package/dist/serialization/resources/folderEntities/client/requests/AddEntityToFolderRequest.d.ts +12 -0
- package/dist/serialization/resources/folderEntities/client/requests/AddEntityToFolderRequest.js +33 -0
- package/dist/serialization/resources/folderEntities/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/folderEntities/client/requests/index.js +5 -0
- package/dist/serialization/resources/folderEntities/index.d.ts +1 -0
- package/dist/serialization/resources/folderEntities/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/types/ArrayEnum.d.ts +10 -0
- package/dist/serialization/types/ArrayEnum.js +31 -0
- package/dist/serialization/types/ArrayVariableValueItem.d.ts +31 -0
- package/dist/serialization/types/ArrayVariableValueItem.js +53 -0
- package/dist/serialization/types/ChatHistoryVariableValue.d.ts +12 -0
- package/dist/serialization/types/ChatHistoryVariableValue.js +44 -0
- package/dist/serialization/types/NodeInputCompiledArrayValue.d.ts +14 -0
- package/dist/serialization/types/NodeInputCompiledArrayValue.js +44 -0
- package/dist/serialization/types/NodeInputVariableCompiledValue.d.ts +4 -1
- package/dist/serialization/types/NodeInputVariableCompiledValue.js +1 -0
- package/dist/serialization/types/NodeOutputCompiledArrayValue.d.ts +13 -0
- package/dist/serialization/types/NodeOutputCompiledArrayValue.js +43 -0
- package/dist/serialization/types/NodeOutputCompiledFunctionValue.d.ts +13 -0
- package/dist/serialization/types/NodeOutputCompiledFunctionValue.js +43 -0
- package/dist/serialization/types/NodeOutputCompiledValue.d.ts +7 -1
- package/dist/serialization/types/NodeOutputCompiledValue.js +2 -0
- package/dist/serialization/types/NumberVariableValue.d.ts +12 -0
- package/dist/serialization/types/NumberVariableValue.js +33 -0
- package/dist/serialization/types/PromptNodeResultData.d.ts +1 -0
- package/dist/serialization/types/PromptNodeResultData.js +1 -0
- package/dist/serialization/types/SearchResultsVariableValue.d.ts +12 -0
- package/dist/serialization/types/SearchResultsVariableValue.js +44 -0
- package/dist/serialization/types/WorkflowDeploymentRead.d.ts +20 -0
- package/dist/serialization/types/WorkflowDeploymentRead.js +50 -0
- package/dist/serialization/types/index.d.ts +9 -0
- package/dist/serialization/types/index.js +9 -0
- package/package.json +1 -1
- package/serialization/resources/folderEntities/client/index.d.ts +1 -0
- package/serialization/resources/folderEntities/client/index.js +17 -0
- package/serialization/resources/folderEntities/client/requests/AddEntityToFolderRequest.d.ts +12 -0
- package/serialization/resources/folderEntities/client/requests/AddEntityToFolderRequest.js +33 -0
- package/serialization/resources/folderEntities/client/requests/index.d.ts +1 -0
- package/serialization/resources/folderEntities/client/requests/index.js +5 -0
- package/serialization/resources/folderEntities/index.d.ts +1 -0
- package/serialization/resources/folderEntities/index.js +17 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/types/ArrayEnum.d.ts +10 -0
- package/serialization/types/ArrayEnum.js +31 -0
- package/serialization/types/ArrayVariableValueItem.d.ts +31 -0
- package/serialization/types/ArrayVariableValueItem.js +53 -0
- package/serialization/types/ChatHistoryVariableValue.d.ts +12 -0
- package/serialization/types/ChatHistoryVariableValue.js +44 -0
- package/serialization/types/NodeInputCompiledArrayValue.d.ts +14 -0
- package/serialization/types/NodeInputCompiledArrayValue.js +44 -0
- package/serialization/types/NodeInputVariableCompiledValue.d.ts +4 -1
- package/serialization/types/NodeInputVariableCompiledValue.js +1 -0
- package/serialization/types/NodeOutputCompiledArrayValue.d.ts +13 -0
- package/serialization/types/NodeOutputCompiledArrayValue.js +43 -0
- package/serialization/types/NodeOutputCompiledFunctionValue.d.ts +13 -0
- package/serialization/types/NodeOutputCompiledFunctionValue.js +43 -0
- package/serialization/types/NodeOutputCompiledValue.d.ts +7 -1
- package/serialization/types/NodeOutputCompiledValue.js +2 -0
- package/serialization/types/NumberVariableValue.d.ts +12 -0
- package/serialization/types/NumberVariableValue.js +33 -0
- package/serialization/types/PromptNodeResultData.d.ts +1 -0
- package/serialization/types/PromptNodeResultData.js +1 -0
- package/serialization/types/SearchResultsVariableValue.d.ts +12 -0
- package/serialization/types/SearchResultsVariableValue.js +44 -0
- package/serialization/types/WorkflowDeploymentRead.d.ts +20 -0
- package/serialization/types/WorkflowDeploymentRead.js +50 -0
- package/serialization/types/index.d.ts +9 -0
- package/serialization/types/index.js +9 -0
|
@@ -6,7 +6,7 @@ import * as Vellum from "../../api";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const NodeOutputCompiledValue: core.serialization.Schema<serializers.NodeOutputCompiledValue.Raw, Vellum.NodeOutputCompiledValue>;
|
|
8
8
|
export declare namespace NodeOutputCompiledValue {
|
|
9
|
-
type Raw = NodeOutputCompiledValue.String | NodeOutputCompiledValue.Number | NodeOutputCompiledValue.Json | NodeOutputCompiledValue.ChatHistory | NodeOutputCompiledValue.SearchResults | NodeOutputCompiledValue.Error;
|
|
9
|
+
type Raw = NodeOutputCompiledValue.String | NodeOutputCompiledValue.Number | NodeOutputCompiledValue.Json | NodeOutputCompiledValue.ChatHistory | NodeOutputCompiledValue.SearchResults | NodeOutputCompiledValue.Error | NodeOutputCompiledValue.Array | NodeOutputCompiledValue.FunctionCall;
|
|
10
10
|
interface String extends serializers.NodeOutputCompiledStringValue.Raw {
|
|
11
11
|
type: "STRING";
|
|
12
12
|
}
|
|
@@ -25,4 +25,10 @@ export declare namespace NodeOutputCompiledValue {
|
|
|
25
25
|
interface Error extends serializers.NodeOutputCompiledErrorValue.Raw {
|
|
26
26
|
type: "ERROR";
|
|
27
27
|
}
|
|
28
|
+
interface Array extends serializers.NodeOutputCompiledArrayValue.Raw {
|
|
29
|
+
type: "ARRAY";
|
|
30
|
+
}
|
|
31
|
+
interface FunctionCall extends serializers.NodeOutputCompiledFunctionValue.Raw {
|
|
32
|
+
type: "FUNCTION_CALL";
|
|
33
|
+
}
|
|
28
34
|
}
|
|
@@ -45,6 +45,8 @@ exports.NodeOutputCompiledValue = core.serialization
|
|
|
45
45
|
CHAT_HISTORY: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeOutputCompiledChatHistoryValue; })),
|
|
46
46
|
SEARCH_RESULTS: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeOutputCompiledSearchResultsValue; })),
|
|
47
47
|
ERROR: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeOutputCompiledErrorValue; })),
|
|
48
|
+
ARRAY: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeOutputCompiledArrayValue; })),
|
|
49
|
+
FUNCTION_CALL: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeOutputCompiledFunctionValue; })),
|
|
48
50
|
})
|
|
49
51
|
.transform({
|
|
50
52
|
transform: (value) => value,
|
|
@@ -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 NumberVariableValue: core.serialization.ObjectSchema<serializers.NumberVariableValue.Raw, Vellum.NumberVariableValue>;
|
|
8
|
+
export declare namespace NumberVariableValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: number | 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.NumberVariableValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.NumberVariableValue = core.serialization.object({
|
|
32
|
+
value: core.serialization.number().optional(),
|
|
33
|
+
});
|
|
@@ -30,6 +30,7 @@ exports.PromptNodeResultData = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.PromptNodeResultData = core.serialization.object({
|
|
32
32
|
outputId: core.serialization.property("output_id", core.serialization.string()),
|
|
33
|
+
arrayOutputId: core.serialization.property("array_output_id", core.serialization.string().optional()),
|
|
33
34
|
text: core.serialization.string().optional(),
|
|
34
35
|
delta: core.serialization.string().optional(),
|
|
35
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 SearchResultsVariableValue: core.serialization.ObjectSchema<serializers.SearchResultsVariableValue.Raw, Vellum.SearchResultsVariableValue>;
|
|
8
|
+
export declare namespace SearchResultsVariableValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: serializers.SearchResult.Raw[] | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.SearchResultsVariableValue = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.SearchResultsVariableValue = core.serialization.object({
|
|
41
|
+
value: core.serialization
|
|
42
|
+
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).SearchResult; })))
|
|
43
|
+
.optional(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
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 WorkflowDeploymentRead: core.serialization.ObjectSchema<serializers.WorkflowDeploymentRead.Raw, Vellum.WorkflowDeploymentRead>;
|
|
8
|
+
export declare namespace WorkflowDeploymentRead {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
label: string;
|
|
13
|
+
status?: serializers.EntityStatus.Raw | null;
|
|
14
|
+
environment?: serializers.EnvironmentEnum.Raw | null;
|
|
15
|
+
created: string;
|
|
16
|
+
last_deployed_on: string;
|
|
17
|
+
input_variables: serializers.VellumVariable.Raw[];
|
|
18
|
+
output_variables: serializers.VellumVariable.Raw[];
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.WorkflowDeploymentRead = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.WorkflowDeploymentRead = core.serialization.object({
|
|
41
|
+
id: core.serialization.string(),
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
label: core.serialization.string(),
|
|
44
|
+
status: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EntityStatus; })).optional(),
|
|
45
|
+
environment: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EnvironmentEnum; })).optional(),
|
|
46
|
+
created: core.serialization.date(),
|
|
47
|
+
lastDeployedOn: core.serialization.property("last_deployed_on", core.serialization.date()),
|
|
48
|
+
inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VellumVariable; })))),
|
|
49
|
+
outputVariables: core.serialization.property("output_variables", core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VellumVariable; })))),
|
|
50
|
+
});
|
|
@@ -4,9 +4,12 @@ export * from "./ArrayChatMessageContent";
|
|
|
4
4
|
export * from "./ArrayChatMessageContentItem";
|
|
5
5
|
export * from "./ArrayChatMessageContentItemRequest";
|
|
6
6
|
export * from "./ArrayChatMessageContentRequest";
|
|
7
|
+
export * from "./ArrayEnum";
|
|
8
|
+
export * from "./ArrayVariableValueItem";
|
|
7
9
|
export * from "./BlockTypeEnum";
|
|
8
10
|
export * from "./ChatHistoryEnum";
|
|
9
11
|
export * from "./ChatHistoryInputRequest";
|
|
12
|
+
export * from "./ChatHistoryVariableValue";
|
|
10
13
|
export * from "./ChatMessage";
|
|
11
14
|
export * from "./ChatMessageContent";
|
|
12
15
|
export * from "./ChatMessageContentRequest";
|
|
@@ -95,6 +98,7 @@ export * from "./NamedTestCaseNumberVariableValueRequest";
|
|
|
95
98
|
export * from "./NamedTestCaseSearchResultsVariableValueRequest";
|
|
96
99
|
export * from "./NamedTestCaseStringVariableValueRequest";
|
|
97
100
|
export * from "./NamedTestCaseVariableValueRequest";
|
|
101
|
+
export * from "./NodeInputCompiledArrayValue";
|
|
98
102
|
export * from "./NodeInputCompiledChatHistoryValue";
|
|
99
103
|
export * from "./NodeInputCompiledErrorValue";
|
|
100
104
|
export * from "./NodeInputCompiledJsonValue";
|
|
@@ -102,8 +106,10 @@ export * from "./NodeInputCompiledNumberValue";
|
|
|
102
106
|
export * from "./NodeInputCompiledSearchResultsValue";
|
|
103
107
|
export * from "./NodeInputCompiledStringValue";
|
|
104
108
|
export * from "./NodeInputVariableCompiledValue";
|
|
109
|
+
export * from "./NodeOutputCompiledArrayValue";
|
|
105
110
|
export * from "./NodeOutputCompiledChatHistoryValue";
|
|
106
111
|
export * from "./NodeOutputCompiledErrorValue";
|
|
112
|
+
export * from "./NodeOutputCompiledFunctionValue";
|
|
107
113
|
export * from "./NodeOutputCompiledJsonValue";
|
|
108
114
|
export * from "./NodeOutputCompiledNumberValue";
|
|
109
115
|
export * from "./NodeOutputCompiledSearchResultsValue";
|
|
@@ -112,6 +118,7 @@ export * from "./NodeOutputCompiledValue";
|
|
|
112
118
|
export * from "./NormalizedLogProbs";
|
|
113
119
|
export * from "./NormalizedTokenLogProbs";
|
|
114
120
|
export * from "./NumberEnum";
|
|
121
|
+
export * from "./NumberVariableValue";
|
|
115
122
|
export * from "./PaginatedSlimDeploymentReadList";
|
|
116
123
|
export * from "./PaginatedSlimDocumentList";
|
|
117
124
|
export * from "./PaginatedSlimWorkflowDeploymentList";
|
|
@@ -164,6 +171,7 @@ export * from "./SearchResultDocumentRequest";
|
|
|
164
171
|
export * from "./SearchResultMergingRequest";
|
|
165
172
|
export * from "./SearchResultRequest";
|
|
166
173
|
export * from "./SearchResultsEnum";
|
|
174
|
+
export * from "./SearchResultsVariableValue";
|
|
167
175
|
export * from "./SearchWeightsRequest";
|
|
168
176
|
export * from "./SlimDeploymentRead";
|
|
169
177
|
export * from "./SlimDocument";
|
|
@@ -215,6 +223,7 @@ export * from "./VellumImage";
|
|
|
215
223
|
export * from "./VellumImageRequest";
|
|
216
224
|
export * from "./VellumVariable";
|
|
217
225
|
export * from "./VellumVariableType";
|
|
226
|
+
export * from "./WorkflowDeploymentRead";
|
|
218
227
|
export * from "./WorkflowEventError";
|
|
219
228
|
export * from "./WorkflowExecutionActualChatHistoryRequest";
|
|
220
229
|
export * from "./WorkflowExecutionActualJsonRequest";
|
|
@@ -20,9 +20,12 @@ __exportStar(require("./ArrayChatMessageContent"), exports);
|
|
|
20
20
|
__exportStar(require("./ArrayChatMessageContentItem"), exports);
|
|
21
21
|
__exportStar(require("./ArrayChatMessageContentItemRequest"), exports);
|
|
22
22
|
__exportStar(require("./ArrayChatMessageContentRequest"), exports);
|
|
23
|
+
__exportStar(require("./ArrayEnum"), exports);
|
|
24
|
+
__exportStar(require("./ArrayVariableValueItem"), exports);
|
|
23
25
|
__exportStar(require("./BlockTypeEnum"), exports);
|
|
24
26
|
__exportStar(require("./ChatHistoryEnum"), exports);
|
|
25
27
|
__exportStar(require("./ChatHistoryInputRequest"), exports);
|
|
28
|
+
__exportStar(require("./ChatHistoryVariableValue"), exports);
|
|
26
29
|
__exportStar(require("./ChatMessage"), exports);
|
|
27
30
|
__exportStar(require("./ChatMessageContent"), exports);
|
|
28
31
|
__exportStar(require("./ChatMessageContentRequest"), exports);
|
|
@@ -111,6 +114,7 @@ __exportStar(require("./NamedTestCaseNumberVariableValueRequest"), exports);
|
|
|
111
114
|
__exportStar(require("./NamedTestCaseSearchResultsVariableValueRequest"), exports);
|
|
112
115
|
__exportStar(require("./NamedTestCaseStringVariableValueRequest"), exports);
|
|
113
116
|
__exportStar(require("./NamedTestCaseVariableValueRequest"), exports);
|
|
117
|
+
__exportStar(require("./NodeInputCompiledArrayValue"), exports);
|
|
114
118
|
__exportStar(require("./NodeInputCompiledChatHistoryValue"), exports);
|
|
115
119
|
__exportStar(require("./NodeInputCompiledErrorValue"), exports);
|
|
116
120
|
__exportStar(require("./NodeInputCompiledJsonValue"), exports);
|
|
@@ -118,8 +122,10 @@ __exportStar(require("./NodeInputCompiledNumberValue"), exports);
|
|
|
118
122
|
__exportStar(require("./NodeInputCompiledSearchResultsValue"), exports);
|
|
119
123
|
__exportStar(require("./NodeInputCompiledStringValue"), exports);
|
|
120
124
|
__exportStar(require("./NodeInputVariableCompiledValue"), exports);
|
|
125
|
+
__exportStar(require("./NodeOutputCompiledArrayValue"), exports);
|
|
121
126
|
__exportStar(require("./NodeOutputCompiledChatHistoryValue"), exports);
|
|
122
127
|
__exportStar(require("./NodeOutputCompiledErrorValue"), exports);
|
|
128
|
+
__exportStar(require("./NodeOutputCompiledFunctionValue"), exports);
|
|
123
129
|
__exportStar(require("./NodeOutputCompiledJsonValue"), exports);
|
|
124
130
|
__exportStar(require("./NodeOutputCompiledNumberValue"), exports);
|
|
125
131
|
__exportStar(require("./NodeOutputCompiledSearchResultsValue"), exports);
|
|
@@ -128,6 +134,7 @@ __exportStar(require("./NodeOutputCompiledValue"), exports);
|
|
|
128
134
|
__exportStar(require("./NormalizedLogProbs"), exports);
|
|
129
135
|
__exportStar(require("./NormalizedTokenLogProbs"), exports);
|
|
130
136
|
__exportStar(require("./NumberEnum"), exports);
|
|
137
|
+
__exportStar(require("./NumberVariableValue"), exports);
|
|
131
138
|
__exportStar(require("./PaginatedSlimDeploymentReadList"), exports);
|
|
132
139
|
__exportStar(require("./PaginatedSlimDocumentList"), exports);
|
|
133
140
|
__exportStar(require("./PaginatedSlimWorkflowDeploymentList"), exports);
|
|
@@ -180,6 +187,7 @@ __exportStar(require("./SearchResultDocumentRequest"), exports);
|
|
|
180
187
|
__exportStar(require("./SearchResultMergingRequest"), exports);
|
|
181
188
|
__exportStar(require("./SearchResultRequest"), exports);
|
|
182
189
|
__exportStar(require("./SearchResultsEnum"), exports);
|
|
190
|
+
__exportStar(require("./SearchResultsVariableValue"), exports);
|
|
183
191
|
__exportStar(require("./SearchWeightsRequest"), exports);
|
|
184
192
|
__exportStar(require("./SlimDeploymentRead"), exports);
|
|
185
193
|
__exportStar(require("./SlimDocument"), exports);
|
|
@@ -231,6 +239,7 @@ __exportStar(require("./VellumImage"), exports);
|
|
|
231
239
|
__exportStar(require("./VellumImageRequest"), exports);
|
|
232
240
|
__exportStar(require("./VellumVariable"), exports);
|
|
233
241
|
__exportStar(require("./VellumVariableType"), exports);
|
|
242
|
+
__exportStar(require("./WorkflowDeploymentRead"), exports);
|
|
234
243
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
235
244
|
__exportStar(require("./WorkflowExecutionActualChatHistoryRequest"), exports);
|
|
236
245
|
__exportStar(require("./WorkflowExecutionActualJsonRequest"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -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 AddEntityToFolderRequest: core.serialization.Schema<serializers.AddEntityToFolderRequest.Raw, Vellum.AddEntityToFolderRequest>;
|
|
8
|
+
export declare namespace AddEntityToFolderRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
entity_id: string;
|
|
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.AddEntityToFolderRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
exports.AddEntityToFolderRequest = core.serialization.object({
|
|
32
|
+
entityId: core.serialization.property("entity_id", core.serialization.string()),
|
|
33
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AddEntityToFolderRequest } from "./AddEntityToFolderRequest";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddEntityToFolderRequest = void 0;
|
|
4
|
+
var AddEntityToFolderRequest_1 = require("./AddEntityToFolderRequest");
|
|
5
|
+
Object.defineProperty(exports, "AddEntityToFolderRequest", { enumerable: true, get: function () { return AddEntityToFolderRequest_1.AddEntityToFolderRequest; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -7,6 +7,8 @@ export * as documentIndexes from "./documentIndexes";
|
|
|
7
7
|
export * from "./documentIndexes/client/requests";
|
|
8
8
|
export * as documents from "./documents";
|
|
9
9
|
export * from "./documents/client/requests";
|
|
10
|
+
export * as folderEntities from "./folderEntities";
|
|
11
|
+
export * from "./folderEntities/client/requests";
|
|
10
12
|
export * as registeredPrompts from "./registeredPrompts";
|
|
11
13
|
export * from "./registeredPrompts/client/requests";
|
|
12
14
|
export * as sandboxes from "./sandboxes";
|
|
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.testSuites = exports.sandboxes = exports.registeredPrompts = exports.documents = exports.documentIndexes = exports.workflowDeployments = exports.deployments = void 0;
|
|
29
|
+
exports.testSuites = exports.sandboxes = exports.registeredPrompts = exports.folderEntities = exports.documents = exports.documentIndexes = exports.workflowDeployments = exports.deployments = void 0;
|
|
30
30
|
exports.deployments = __importStar(require("./deployments"));
|
|
31
31
|
__exportStar(require("./deployments/types"), exports);
|
|
32
32
|
exports.workflowDeployments = __importStar(require("./workflowDeployments"));
|
|
@@ -36,6 +36,8 @@ exports.documentIndexes = __importStar(require("./documentIndexes"));
|
|
|
36
36
|
__exportStar(require("./documentIndexes/client/requests"), exports);
|
|
37
37
|
exports.documents = __importStar(require("./documents"));
|
|
38
38
|
__exportStar(require("./documents/client/requests"), exports);
|
|
39
|
+
exports.folderEntities = __importStar(require("./folderEntities"));
|
|
40
|
+
__exportStar(require("./folderEntities/client/requests"), exports);
|
|
39
41
|
exports.registeredPrompts = __importStar(require("./registeredPrompts"));
|
|
40
42
|
__exportStar(require("./registeredPrompts/client/requests"), exports);
|
|
41
43
|
exports.sandboxes = __importStar(require("./sandboxes"));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ArrayEnum: core.serialization.Schema<serializers.ArrayEnum.Raw, Vellum.ArrayEnum>;
|
|
8
|
+
export declare namespace ArrayEnum {
|
|
9
|
+
type Raw = "ARRAY";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.ArrayEnum = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ArrayEnum = core.serialization.stringLiteral("ARRAY");
|
|
@@ -0,0 +1,31 @@
|
|
|
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 ArrayVariableValueItem: core.serialization.Schema<serializers.ArrayVariableValueItem.Raw, Vellum.ArrayVariableValueItem>;
|
|
8
|
+
export declare namespace ArrayVariableValueItem {
|
|
9
|
+
type Raw = ArrayVariableValueItem.String | ArrayVariableValueItem.Number | ArrayVariableValueItem.Json | ArrayVariableValueItem.ChatHistory | ArrayVariableValueItem.SearchResults | ArrayVariableValueItem.Error | ArrayVariableValueItem.FunctionCall;
|
|
10
|
+
interface String extends serializers.StringVariableValue.Raw {
|
|
11
|
+
type: "STRING";
|
|
12
|
+
}
|
|
13
|
+
interface Number extends serializers.NumberVariableValue.Raw {
|
|
14
|
+
type: "NUMBER";
|
|
15
|
+
}
|
|
16
|
+
interface Json extends serializers.JsonVariableValue.Raw {
|
|
17
|
+
type: "JSON";
|
|
18
|
+
}
|
|
19
|
+
interface ChatHistory extends serializers.ChatHistoryVariableValue.Raw {
|
|
20
|
+
type: "CHAT_HISTORY";
|
|
21
|
+
}
|
|
22
|
+
interface SearchResults extends serializers.SearchResultsVariableValue.Raw {
|
|
23
|
+
type: "SEARCH_RESULTS";
|
|
24
|
+
}
|
|
25
|
+
interface Error extends serializers.ErrorVariableValue.Raw {
|
|
26
|
+
type: "ERROR";
|
|
27
|
+
}
|
|
28
|
+
interface FunctionCall extends serializers.FunctionCallVariableValue.Raw {
|
|
29
|
+
type: "FUNCTION_CALL";
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ArrayVariableValueItem = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ArrayVariableValueItem = core.serialization
|
|
41
|
+
.union("type", {
|
|
42
|
+
STRING: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).StringVariableValue; })),
|
|
43
|
+
NUMBER: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NumberVariableValue; })),
|
|
44
|
+
JSON: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).JsonVariableValue; })),
|
|
45
|
+
CHAT_HISTORY: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatHistoryVariableValue; })),
|
|
46
|
+
SEARCH_RESULTS: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).SearchResultsVariableValue; })),
|
|
47
|
+
ERROR: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ErrorVariableValue; })),
|
|
48
|
+
FUNCTION_CALL: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FunctionCallVariableValue; })),
|
|
49
|
+
})
|
|
50
|
+
.transform({
|
|
51
|
+
transform: (value) => value,
|
|
52
|
+
untransform: (value) => value,
|
|
53
|
+
});
|
|
@@ -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 ChatHistoryVariableValue: core.serialization.ObjectSchema<serializers.ChatHistoryVariableValue.Raw, Vellum.ChatHistoryVariableValue>;
|
|
8
|
+
export declare namespace ChatHistoryVariableValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: serializers.ChatMessage.Raw[] | null;
|
|
11
|
+
}
|
|
12
|
+
}
|