vellum-ai 0.8.14 → 0.8.16
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/.mock/definition/__package__.yml +69 -0
- package/.mock/openapi/openapi.yml +141 -0
- package/Client.js +9 -9
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/deployments/client/Client.js +5 -5
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +4 -4
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/types/ArrayVariableValue.d.ts +8 -0
- package/api/types/ArrayVariableValue.js +5 -0
- package/api/types/ArrayVariableValueItem.d.ts +1 -1
- package/api/types/ArrayVellumValue.d.ts +11 -0
- package/api/types/ArrayVellumValue.js +5 -0
- package/api/types/ArrayVellumValueItem.d.ts +1 -1
- package/api/types/ArrayVellumValueItemRequest.d.ts +1 -1
- package/api/types/ArrayVellumValueRequest.d.ts +11 -0
- package/api/types/ArrayVellumValueRequest.js +5 -0
- package/api/types/ChatHistoryVariableValue.d.ts +8 -0
- package/api/types/ChatHistoryVariableValue.js +5 -0
- package/api/types/ChatHistoryVellumValue.d.ts +11 -0
- package/api/types/ChatHistoryVellumValue.js +5 -0
- package/api/types/ChatHistoryVellumValueRequest.d.ts +11 -0
- package/api/types/ChatHistoryVellumValueRequest.js +5 -0
- package/api/types/SearchResultsVariableValue.d.ts +8 -0
- package/api/types/SearchResultsVariableValue.js +5 -0
- package/api/types/SearchResultsVellumValue.d.ts +11 -0
- package/api/types/SearchResultsVellumValue.js +5 -0
- package/api/types/SearchResultsVellumValueRequest.d.ts +11 -0
- package/api/types/SearchResultsVellumValueRequest.js +5 -0
- package/api/types/index.d.ts +9 -0
- package/api/types/index.js +9 -0
- package/dist/Client.js +9 -9
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/deployments/client/Client.js +5 -5
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/types/ArrayVariableValue.d.ts +8 -0
- package/dist/api/types/ArrayVariableValue.js +5 -0
- package/dist/api/types/ArrayVariableValueItem.d.ts +1 -1
- package/dist/api/types/ArrayVellumValue.d.ts +11 -0
- package/dist/api/types/ArrayVellumValue.js +5 -0
- package/dist/api/types/ArrayVellumValueItem.d.ts +1 -1
- package/dist/api/types/ArrayVellumValueItemRequest.d.ts +1 -1
- package/dist/api/types/ArrayVellumValueRequest.d.ts +11 -0
- package/dist/api/types/ArrayVellumValueRequest.js +5 -0
- package/dist/api/types/ChatHistoryVariableValue.d.ts +8 -0
- package/dist/api/types/ChatHistoryVariableValue.js +5 -0
- package/dist/api/types/ChatHistoryVellumValue.d.ts +11 -0
- package/dist/api/types/ChatHistoryVellumValue.js +5 -0
- package/dist/api/types/ChatHistoryVellumValueRequest.d.ts +11 -0
- package/dist/api/types/ChatHistoryVellumValueRequest.js +5 -0
- package/dist/api/types/SearchResultsVariableValue.d.ts +8 -0
- package/dist/api/types/SearchResultsVariableValue.js +5 -0
- package/dist/api/types/SearchResultsVellumValue.d.ts +11 -0
- package/dist/api/types/SearchResultsVellumValue.js +5 -0
- package/dist/api/types/SearchResultsVellumValueRequest.d.ts +11 -0
- package/dist/api/types/SearchResultsVellumValueRequest.js +5 -0
- package/dist/api/types/index.d.ts +9 -0
- package/dist/api/types/index.js +9 -0
- package/dist/serialization/types/ArrayVariableValue.d.ts +13 -0
- package/dist/serialization/types/ArrayVariableValue.js +35 -0
- package/dist/serialization/types/ArrayVariableValueItem.d.ts +3 -1
- package/dist/serialization/types/ArrayVariableValueItem.js +6 -0
- package/dist/serialization/types/ArrayVellumValue.d.ts +13 -0
- package/dist/serialization/types/ArrayVellumValue.js +35 -0
- package/dist/serialization/types/ArrayVellumValueItem.d.ts +3 -1
- package/dist/serialization/types/ArrayVellumValueItem.js +6 -0
- package/dist/serialization/types/ArrayVellumValueItemRequest.d.ts +3 -1
- package/dist/serialization/types/ArrayVellumValueItemRequest.js +6 -0
- package/dist/serialization/types/ArrayVellumValueRequest.d.ts +13 -0
- package/dist/serialization/types/ArrayVellumValueRequest.js +35 -0
- package/dist/serialization/types/ChatHistoryVariableValue.d.ts +14 -0
- package/dist/serialization/types/ChatHistoryVariableValue.js +35 -0
- package/dist/serialization/types/ChatHistoryVellumValue.d.ts +14 -0
- package/dist/serialization/types/ChatHistoryVellumValue.js +35 -0
- package/dist/serialization/types/ChatHistoryVellumValueRequest.d.ts +14 -0
- package/dist/serialization/types/ChatHistoryVellumValueRequest.js +35 -0
- package/dist/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -2
- package/dist/serialization/types/CodeExecutionNodeArrayResult.js +2 -2
- package/dist/serialization/types/ExecutionArrayVellumValue.d.ts +1 -2
- package/dist/serialization/types/ExecutionArrayVellumValue.js +2 -2
- package/dist/serialization/types/NamedTestCaseArrayVariableValue.d.ts +1 -2
- package/dist/serialization/types/NamedTestCaseArrayVariableValue.js +2 -2
- package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -2
- package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.js +2 -2
- package/dist/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -2
- package/dist/serialization/types/NodeInputCompiledArrayValue.js +2 -2
- package/dist/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -2
- package/dist/serialization/types/NodeOutputCompiledArrayValue.js +2 -2
- package/dist/serialization/types/SearchResultsVariableValue.d.ts +14 -0
- package/dist/serialization/types/SearchResultsVariableValue.js +35 -0
- package/dist/serialization/types/SearchResultsVellumValue.d.ts +14 -0
- package/dist/serialization/types/SearchResultsVellumValue.js +35 -0
- package/dist/serialization/types/SearchResultsVellumValueRequest.d.ts +14 -0
- package/dist/serialization/types/SearchResultsVellumValueRequest.js +35 -0
- package/dist/serialization/types/TemplatingNodeArrayResult.d.ts +1 -2
- package/dist/serialization/types/TemplatingNodeArrayResult.js +2 -2
- package/dist/serialization/types/TerminalNodeArrayResult.d.ts +1 -2
- package/dist/serialization/types/TerminalNodeArrayResult.js +2 -2
- package/dist/serialization/types/TestCaseArrayVariableValue.d.ts +1 -2
- package/dist/serialization/types/TestCaseArrayVariableValue.js +2 -2
- package/dist/serialization/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -2
- package/dist/serialization/types/TestSuiteRunExecutionArrayOutput.js +2 -2
- package/dist/serialization/types/WorkflowOutputArray.d.ts +1 -2
- package/dist/serialization/types/WorkflowOutputArray.js +2 -2
- package/dist/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -2
- package/dist/serialization/types/WorkflowResultEventOutputDataArray.js +2 -2
- package/dist/serialization/types/index.d.ts +9 -0
- package/dist/serialization/types/index.js +9 -0
- package/package.json +1 -1
- package/serialization/types/ArrayVariableValue.d.ts +13 -0
- package/serialization/types/ArrayVariableValue.js +35 -0
- package/serialization/types/ArrayVariableValueItem.d.ts +3 -1
- package/serialization/types/ArrayVariableValueItem.js +6 -0
- package/serialization/types/ArrayVellumValue.d.ts +13 -0
- package/serialization/types/ArrayVellumValue.js +35 -0
- package/serialization/types/ArrayVellumValueItem.d.ts +3 -1
- package/serialization/types/ArrayVellumValueItem.js +6 -0
- package/serialization/types/ArrayVellumValueItemRequest.d.ts +3 -1
- package/serialization/types/ArrayVellumValueItemRequest.js +6 -0
- package/serialization/types/ArrayVellumValueRequest.d.ts +13 -0
- package/serialization/types/ArrayVellumValueRequest.js +35 -0
- package/serialization/types/ChatHistoryVariableValue.d.ts +14 -0
- package/serialization/types/ChatHistoryVariableValue.js +35 -0
- package/serialization/types/ChatHistoryVellumValue.d.ts +14 -0
- package/serialization/types/ChatHistoryVellumValue.js +35 -0
- package/serialization/types/ChatHistoryVellumValueRequest.d.ts +14 -0
- package/serialization/types/ChatHistoryVellumValueRequest.js +35 -0
- package/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -2
- package/serialization/types/CodeExecutionNodeArrayResult.js +2 -2
- package/serialization/types/ExecutionArrayVellumValue.d.ts +1 -2
- package/serialization/types/ExecutionArrayVellumValue.js +2 -2
- package/serialization/types/NamedTestCaseArrayVariableValue.d.ts +1 -2
- package/serialization/types/NamedTestCaseArrayVariableValue.js +2 -2
- package/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -2
- package/serialization/types/NamedTestCaseArrayVariableValueRequest.js +2 -2
- package/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -2
- package/serialization/types/NodeInputCompiledArrayValue.js +2 -2
- package/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -2
- package/serialization/types/NodeOutputCompiledArrayValue.js +2 -2
- package/serialization/types/SearchResultsVariableValue.d.ts +14 -0
- package/serialization/types/SearchResultsVariableValue.js +35 -0
- package/serialization/types/SearchResultsVellumValue.d.ts +14 -0
- package/serialization/types/SearchResultsVellumValue.js +35 -0
- package/serialization/types/SearchResultsVellumValueRequest.d.ts +14 -0
- package/serialization/types/SearchResultsVellumValueRequest.js +35 -0
- package/serialization/types/TemplatingNodeArrayResult.d.ts +1 -2
- package/serialization/types/TemplatingNodeArrayResult.js +2 -2
- package/serialization/types/TerminalNodeArrayResult.d.ts +1 -2
- package/serialization/types/TerminalNodeArrayResult.js +2 -2
- package/serialization/types/TestCaseArrayVariableValue.d.ts +1 -2
- package/serialization/types/TestCaseArrayVariableValue.js +2 -2
- package/serialization/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -2
- package/serialization/types/TestSuiteRunExecutionArrayOutput.js +2 -2
- package/serialization/types/WorkflowOutputArray.d.ts +1 -2
- package/serialization/types/WorkflowOutputArray.js +2 -2
- package/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -2
- package/serialization/types/WorkflowResultEventOutputDataArray.js +2 -2
- package/serialization/types/index.d.ts +9 -0
- package/serialization/types/index.js +9 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.SearchResultsVellumValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const SearchResult_1 = require("./SearchResult");
|
|
32
|
+
exports.SearchResultsVellumValue = core.serialization.object({
|
|
33
|
+
type: core.serialization.stringLiteral("SEARCH_RESULTS"),
|
|
34
|
+
value: core.serialization.list(SearchResult_1.SearchResult).optional(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { SearchResultRequest } from "./SearchResultRequest";
|
|
8
|
+
export declare const SearchResultsVellumValueRequest: core.serialization.ObjectSchema<serializers.SearchResultsVellumValueRequest.Raw, Vellum.SearchResultsVellumValueRequest>;
|
|
9
|
+
export declare namespace SearchResultsVellumValueRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: "SEARCH_RESULTS";
|
|
12
|
+
value?: SearchResultRequest.Raw[] | 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.SearchResultsVellumValueRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const SearchResultRequest_1 = require("./SearchResultRequest");
|
|
32
|
+
exports.SearchResultsVellumValueRequest = core.serialization.object({
|
|
33
|
+
type: core.serialization.stringLiteral("SEARCH_RESULTS"),
|
|
34
|
+
value: core.serialization.list(SearchResultRequest_1.SearchResultRequest).optional(),
|
|
35
|
+
});
|
|
@@ -4,12 +4,11 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import { ArrayVariableValueItem } from "./ArrayVariableValueItem";
|
|
8
7
|
export declare const TemplatingNodeArrayResult: core.serialization.ObjectSchema<serializers.TemplatingNodeArrayResult.Raw, Vellum.TemplatingNodeArrayResult>;
|
|
9
8
|
export declare namespace TemplatingNodeArrayResult {
|
|
10
9
|
interface Raw {
|
|
11
10
|
id: string;
|
|
12
11
|
type: "ARRAY";
|
|
13
|
-
value?: ArrayVariableValueItem.Raw[] | null;
|
|
12
|
+
value?: serializers.ArrayVariableValueItem.Raw[] | null;
|
|
14
13
|
}
|
|
15
14
|
}
|
|
@@ -27,10 +27,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.TemplatingNodeArrayResult = void 0;
|
|
30
|
+
const serializers = __importStar(require("../index"));
|
|
30
31
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const ArrayVariableValueItem_1 = require("./ArrayVariableValueItem");
|
|
32
32
|
exports.TemplatingNodeArrayResult = core.serialization.object({
|
|
33
33
|
id: core.serialization.string(),
|
|
34
34
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
35
|
-
value: core.serialization.list(
|
|
35
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVariableValueItem)).optional(),
|
|
36
36
|
});
|
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import { ArrayVariableValueItem } from "./ArrayVariableValueItem";
|
|
8
7
|
export declare const TerminalNodeArrayResult: core.serialization.ObjectSchema<serializers.TerminalNodeArrayResult.Raw, Vellum.TerminalNodeArrayResult>;
|
|
9
8
|
export declare namespace TerminalNodeArrayResult {
|
|
10
9
|
interface Raw {
|
|
11
10
|
id?: string | null;
|
|
12
11
|
name: string;
|
|
13
12
|
type: "ARRAY";
|
|
14
|
-
value?: ArrayVariableValueItem.Raw[] | null;
|
|
13
|
+
value?: serializers.ArrayVariableValueItem.Raw[] | null;
|
|
15
14
|
}
|
|
16
15
|
}
|
|
@@ -27,11 +27,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.TerminalNodeArrayResult = void 0;
|
|
30
|
+
const serializers = __importStar(require("../index"));
|
|
30
31
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const ArrayVariableValueItem_1 = require("./ArrayVariableValueItem");
|
|
32
32
|
exports.TerminalNodeArrayResult = core.serialization.object({
|
|
33
33
|
id: core.serialization.string().optional(),
|
|
34
34
|
name: core.serialization.string(),
|
|
35
35
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
36
|
-
value: core.serialization.list(
|
|
36
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVariableValueItem)).optional(),
|
|
37
37
|
});
|
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import { ArrayVellumValueItem } from "./ArrayVellumValueItem";
|
|
8
7
|
export declare const TestCaseArrayVariableValue: core.serialization.ObjectSchema<serializers.TestCaseArrayVariableValue.Raw, Vellum.TestCaseArrayVariableValue>;
|
|
9
8
|
export declare namespace TestCaseArrayVariableValue {
|
|
10
9
|
interface Raw {
|
|
11
10
|
variable_id: string;
|
|
12
11
|
name: string;
|
|
13
12
|
type: "ARRAY";
|
|
14
|
-
value?: ArrayVellumValueItem.Raw[] | null;
|
|
13
|
+
value?: serializers.ArrayVellumValueItem.Raw[] | null;
|
|
15
14
|
}
|
|
16
15
|
}
|
|
@@ -27,11 +27,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.TestCaseArrayVariableValue = void 0;
|
|
30
|
+
const serializers = __importStar(require("../index"));
|
|
30
31
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const ArrayVellumValueItem_1 = require("./ArrayVellumValueItem");
|
|
32
32
|
exports.TestCaseArrayVariableValue = core.serialization.object({
|
|
33
33
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
34
34
|
name: core.serialization.string(),
|
|
35
35
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
36
|
-
value: core.serialization.list(
|
|
36
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
|
|
37
37
|
});
|
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import { ArrayVellumValueItem } from "./ArrayVellumValueItem";
|
|
8
7
|
export declare const TestSuiteRunExecutionArrayOutput: core.serialization.ObjectSchema<serializers.TestSuiteRunExecutionArrayOutput.Raw, Vellum.TestSuiteRunExecutionArrayOutput>;
|
|
9
8
|
export declare namespace TestSuiteRunExecutionArrayOutput {
|
|
10
9
|
interface Raw {
|
|
11
10
|
name: string;
|
|
12
11
|
type: "ARRAY";
|
|
13
|
-
value?: ArrayVellumValueItem.Raw[] | null;
|
|
12
|
+
value?: serializers.ArrayVellumValueItem.Raw[] | null;
|
|
14
13
|
output_variable_id: string;
|
|
15
14
|
}
|
|
16
15
|
}
|
|
@@ -27,11 +27,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.TestSuiteRunExecutionArrayOutput = void 0;
|
|
30
|
+
const serializers = __importStar(require("../index"));
|
|
30
31
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const ArrayVellumValueItem_1 = require("./ArrayVellumValueItem");
|
|
32
32
|
exports.TestSuiteRunExecutionArrayOutput = core.serialization.object({
|
|
33
33
|
name: core.serialization.string(),
|
|
34
34
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
35
|
-
value: core.serialization.list(
|
|
35
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
|
|
36
36
|
outputVariableId: core.serialization.property("output_variable_id", core.serialization.string()),
|
|
37
37
|
});
|
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import { ArrayVellumValueItem } from "./ArrayVellumValueItem";
|
|
8
7
|
export declare const WorkflowOutputArray: core.serialization.ObjectSchema<serializers.WorkflowOutputArray.Raw, Vellum.WorkflowOutputArray>;
|
|
9
8
|
export declare namespace WorkflowOutputArray {
|
|
10
9
|
interface Raw {
|
|
11
10
|
id: string;
|
|
12
11
|
name: string;
|
|
13
12
|
type: "ARRAY";
|
|
14
|
-
value?: ArrayVellumValueItem.Raw[] | null;
|
|
13
|
+
value?: serializers.ArrayVellumValueItem.Raw[] | null;
|
|
15
14
|
}
|
|
16
15
|
}
|
|
@@ -27,11 +27,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.WorkflowOutputArray = void 0;
|
|
30
|
+
const serializers = __importStar(require("../index"));
|
|
30
31
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const ArrayVellumValueItem_1 = require("./ArrayVellumValueItem");
|
|
32
32
|
exports.WorkflowOutputArray = core.serialization.object({
|
|
33
33
|
id: core.serialization.string(),
|
|
34
34
|
name: core.serialization.string(),
|
|
35
35
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
36
|
-
value: core.serialization.list(
|
|
36
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
|
|
37
37
|
});
|
|
@@ -5,7 +5,6 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { WorkflowNodeResultEventState } from "./WorkflowNodeResultEventState";
|
|
8
|
-
import { ArrayVariableValueItem } from "./ArrayVariableValueItem";
|
|
9
8
|
export declare const WorkflowResultEventOutputDataArray: core.serialization.ObjectSchema<serializers.WorkflowResultEventOutputDataArray.Raw, Vellum.WorkflowResultEventOutputDataArray>;
|
|
10
9
|
export declare namespace WorkflowResultEventOutputDataArray {
|
|
11
10
|
interface Raw {
|
|
@@ -15,6 +14,6 @@ export declare namespace WorkflowResultEventOutputDataArray {
|
|
|
15
14
|
node_id: string;
|
|
16
15
|
delta?: string | null;
|
|
17
16
|
type: "ARRAY";
|
|
18
|
-
value?: ArrayVariableValueItem.Raw[] | null;
|
|
17
|
+
value?: serializers.ArrayVariableValueItem.Raw[] | null;
|
|
19
18
|
}
|
|
20
19
|
}
|
|
@@ -27,9 +27,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.WorkflowResultEventOutputDataArray = void 0;
|
|
30
|
+
const serializers = __importStar(require("../index"));
|
|
30
31
|
const core = __importStar(require("../../core"));
|
|
31
32
|
const WorkflowNodeResultEventState_1 = require("./WorkflowNodeResultEventState");
|
|
32
|
-
const ArrayVariableValueItem_1 = require("./ArrayVariableValueItem");
|
|
33
33
|
exports.WorkflowResultEventOutputDataArray = core.serialization.object({
|
|
34
34
|
id: core.serialization.string().optional(),
|
|
35
35
|
name: core.serialization.string(),
|
|
@@ -37,5 +37,5 @@ exports.WorkflowResultEventOutputDataArray = core.serialization.object({
|
|
|
37
37
|
nodeId: core.serialization.property("node_id", core.serialization.string()),
|
|
38
38
|
delta: core.serialization.string().optional(),
|
|
39
39
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
40
|
-
value: core.serialization.list(
|
|
40
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVariableValueItem)).optional(),
|
|
41
41
|
});
|
|
@@ -11,9 +11,12 @@ export * from "./ArrayChatMessageContent";
|
|
|
11
11
|
export * from "./ArrayChatMessageContentItem";
|
|
12
12
|
export * from "./ArrayChatMessageContentItemRequest";
|
|
13
13
|
export * from "./ArrayChatMessageContentRequest";
|
|
14
|
+
export * from "./ArrayVariableValue";
|
|
14
15
|
export * from "./ArrayVariableValueItem";
|
|
16
|
+
export * from "./ArrayVellumValue";
|
|
15
17
|
export * from "./ArrayVellumValueItem";
|
|
16
18
|
export * from "./ArrayVellumValueItemRequest";
|
|
19
|
+
export * from "./ArrayVellumValueRequest";
|
|
17
20
|
export * from "./BasicVectorizerIntfloatMultilingualE5Large";
|
|
18
21
|
export * from "./BasicVectorizerIntfloatMultilingualE5LargeRequest";
|
|
19
22
|
export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1";
|
|
@@ -21,6 +24,9 @@ export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request
|
|
|
21
24
|
export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1";
|
|
22
25
|
export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request";
|
|
23
26
|
export * from "./ChatHistoryInputRequest";
|
|
27
|
+
export * from "./ChatHistoryVariableValue";
|
|
28
|
+
export * from "./ChatHistoryVellumValue";
|
|
29
|
+
export * from "./ChatHistoryVellumValueRequest";
|
|
24
30
|
export * from "./ChatMessage";
|
|
25
31
|
export * from "./ChatMessageContent";
|
|
26
32
|
export * from "./ChatMessageContentRequest";
|
|
@@ -255,6 +261,9 @@ export * from "./SearchResultMetaRequest";
|
|
|
255
261
|
export * from "./ComponentsSchemasPdfSearchResultMetaSource";
|
|
256
262
|
export * from "./ComponentsSchemasPdfSearchResultMetaSourceRequest";
|
|
257
263
|
export * from "./SearchResultRequest";
|
|
264
|
+
export * from "./SearchResultsVariableValue";
|
|
265
|
+
export * from "./SearchResultsVellumValue";
|
|
266
|
+
export * from "./SearchResultsVellumValueRequest";
|
|
258
267
|
export * from "./SearchWeightsRequest";
|
|
259
268
|
export * from "./SentenceChunkerConfig";
|
|
260
269
|
export * from "./SentenceChunkerConfigRequest";
|
|
@@ -27,9 +27,12 @@ __exportStar(require("./ArrayChatMessageContent"), exports);
|
|
|
27
27
|
__exportStar(require("./ArrayChatMessageContentItem"), exports);
|
|
28
28
|
__exportStar(require("./ArrayChatMessageContentItemRequest"), exports);
|
|
29
29
|
__exportStar(require("./ArrayChatMessageContentRequest"), exports);
|
|
30
|
+
__exportStar(require("./ArrayVariableValue"), exports);
|
|
30
31
|
__exportStar(require("./ArrayVariableValueItem"), exports);
|
|
32
|
+
__exportStar(require("./ArrayVellumValue"), exports);
|
|
31
33
|
__exportStar(require("./ArrayVellumValueItem"), exports);
|
|
32
34
|
__exportStar(require("./ArrayVellumValueItemRequest"), exports);
|
|
35
|
+
__exportStar(require("./ArrayVellumValueRequest"), exports);
|
|
33
36
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5Large"), exports);
|
|
34
37
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5LargeRequest"), exports);
|
|
35
38
|
__exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1"), exports);
|
|
@@ -37,6 +40,9 @@ __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1
|
|
|
37
40
|
__exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1"), exports);
|
|
38
41
|
__exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request"), exports);
|
|
39
42
|
__exportStar(require("./ChatHistoryInputRequest"), exports);
|
|
43
|
+
__exportStar(require("./ChatHistoryVariableValue"), exports);
|
|
44
|
+
__exportStar(require("./ChatHistoryVellumValue"), exports);
|
|
45
|
+
__exportStar(require("./ChatHistoryVellumValueRequest"), exports);
|
|
40
46
|
__exportStar(require("./ChatMessage"), exports);
|
|
41
47
|
__exportStar(require("./ChatMessageContent"), exports);
|
|
42
48
|
__exportStar(require("./ChatMessageContentRequest"), exports);
|
|
@@ -271,6 +277,9 @@ __exportStar(require("./SearchResultMetaRequest"), exports);
|
|
|
271
277
|
__exportStar(require("./ComponentsSchemasPdfSearchResultMetaSource"), exports);
|
|
272
278
|
__exportStar(require("./ComponentsSchemasPdfSearchResultMetaSourceRequest"), exports);
|
|
273
279
|
__exportStar(require("./SearchResultRequest"), exports);
|
|
280
|
+
__exportStar(require("./SearchResultsVariableValue"), exports);
|
|
281
|
+
__exportStar(require("./SearchResultsVellumValue"), exports);
|
|
282
|
+
__exportStar(require("./SearchResultsVellumValueRequest"), exports);
|
|
274
283
|
__exportStar(require("./SearchWeightsRequest"), exports);
|
|
275
284
|
__exportStar(require("./SentenceChunkerConfig"), exports);
|
|
276
285
|
__exportStar(require("./SentenceChunkerConfigRequest"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ArrayVariableValue: core.serialization.ObjectSchema<serializers.ArrayVariableValue.Raw, Vellum.ArrayVariableValue>;
|
|
8
|
+
export declare namespace ArrayVariableValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
type: "ARRAY";
|
|
11
|
+
value?: serializers.ArrayVariableValueItem.Raw[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -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.ArrayVariableValue = void 0;
|
|
30
|
+
const serializers = __importStar(require("../index"));
|
|
31
|
+
const core = __importStar(require("../../core"));
|
|
32
|
+
exports.ArrayVariableValue = core.serialization.object({
|
|
33
|
+
type: core.serialization.stringLiteral("ARRAY"),
|
|
34
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVariableValueItem)).optional(),
|
|
35
|
+
});
|
|
@@ -10,7 +10,9 @@ import { JsonVariableValue } from "./JsonVariableValue";
|
|
|
10
10
|
import { ErrorVariableValue } from "./ErrorVariableValue";
|
|
11
11
|
import { FunctionCallVariableValue } from "./FunctionCallVariableValue";
|
|
12
12
|
import { ImageVariableValue } from "./ImageVariableValue";
|
|
13
|
+
import { ChatHistoryVariableValue } from "./ChatHistoryVariableValue";
|
|
14
|
+
import { SearchResultsVariableValue } from "./SearchResultsVariableValue";
|
|
13
15
|
export declare const ArrayVariableValueItem: core.serialization.Schema<serializers.ArrayVariableValueItem.Raw, Vellum.ArrayVariableValueItem>;
|
|
14
16
|
export declare namespace ArrayVariableValueItem {
|
|
15
|
-
type Raw = StringVariableValue.Raw | NumberVariableValue.Raw | JsonVariableValue.Raw | ErrorVariableValue.Raw | FunctionCallVariableValue.Raw | ImageVariableValue.Raw;
|
|
17
|
+
type Raw = StringVariableValue.Raw | NumberVariableValue.Raw | JsonVariableValue.Raw | ErrorVariableValue.Raw | FunctionCallVariableValue.Raw | ImageVariableValue.Raw | ChatHistoryVariableValue.Raw | SearchResultsVariableValue.Raw | serializers.ArrayVariableValue.Raw;
|
|
16
18
|
}
|
|
@@ -27,6 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ArrayVariableValueItem = void 0;
|
|
30
|
+
const serializers = __importStar(require("../index"));
|
|
30
31
|
const core = __importStar(require("../../core"));
|
|
31
32
|
const StringVariableValue_1 = require("./StringVariableValue");
|
|
32
33
|
const NumberVariableValue_1 = require("./NumberVariableValue");
|
|
@@ -34,6 +35,8 @@ const JsonVariableValue_1 = require("./JsonVariableValue");
|
|
|
34
35
|
const ErrorVariableValue_1 = require("./ErrorVariableValue");
|
|
35
36
|
const FunctionCallVariableValue_1 = require("./FunctionCallVariableValue");
|
|
36
37
|
const ImageVariableValue_1 = require("./ImageVariableValue");
|
|
38
|
+
const ChatHistoryVariableValue_1 = require("./ChatHistoryVariableValue");
|
|
39
|
+
const SearchResultsVariableValue_1 = require("./SearchResultsVariableValue");
|
|
37
40
|
exports.ArrayVariableValueItem = core.serialization.undiscriminatedUnion([
|
|
38
41
|
StringVariableValue_1.StringVariableValue,
|
|
39
42
|
NumberVariableValue_1.NumberVariableValue,
|
|
@@ -41,4 +44,7 @@ exports.ArrayVariableValueItem = core.serialization.undiscriminatedUnion([
|
|
|
41
44
|
ErrorVariableValue_1.ErrorVariableValue,
|
|
42
45
|
FunctionCallVariableValue_1.FunctionCallVariableValue,
|
|
43
46
|
ImageVariableValue_1.ImageVariableValue,
|
|
47
|
+
ChatHistoryVariableValue_1.ChatHistoryVariableValue,
|
|
48
|
+
SearchResultsVariableValue_1.SearchResultsVariableValue,
|
|
49
|
+
core.serialization.lazyObject(() => serializers.ArrayVariableValue),
|
|
44
50
|
]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ArrayVellumValue: core.serialization.ObjectSchema<serializers.ArrayVellumValue.Raw, Vellum.ArrayVellumValue>;
|
|
8
|
+
export declare namespace ArrayVellumValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
type: "ARRAY";
|
|
11
|
+
value?: serializers.ArrayVellumValueItem.Raw[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -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.ArrayVellumValue = void 0;
|
|
30
|
+
const serializers = __importStar(require("../index"));
|
|
31
|
+
const core = __importStar(require("../../core"));
|
|
32
|
+
exports.ArrayVellumValue = core.serialization.object({
|
|
33
|
+
type: core.serialization.stringLiteral("ARRAY"),
|
|
34
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
|
|
35
|
+
});
|
|
@@ -10,7 +10,9 @@ import { JsonVellumValue } from "./JsonVellumValue";
|
|
|
10
10
|
import { ImageVellumValue } from "./ImageVellumValue";
|
|
11
11
|
import { FunctionCallVellumValue } from "./FunctionCallVellumValue";
|
|
12
12
|
import { ErrorVellumValue } from "./ErrorVellumValue";
|
|
13
|
+
import { ChatHistoryVellumValue } from "./ChatHistoryVellumValue";
|
|
14
|
+
import { SearchResultsVellumValue } from "./SearchResultsVellumValue";
|
|
13
15
|
export declare const ArrayVellumValueItem: core.serialization.Schema<serializers.ArrayVellumValueItem.Raw, Vellum.ArrayVellumValueItem>;
|
|
14
16
|
export declare namespace ArrayVellumValueItem {
|
|
15
|
-
type Raw = StringVellumValue.Raw | NumberVellumValue.Raw | JsonVellumValue.Raw | ImageVellumValue.Raw | FunctionCallVellumValue.Raw | ErrorVellumValue.Raw;
|
|
17
|
+
type Raw = StringVellumValue.Raw | NumberVellumValue.Raw | JsonVellumValue.Raw | ImageVellumValue.Raw | FunctionCallVellumValue.Raw | ErrorVellumValue.Raw | ChatHistoryVellumValue.Raw | SearchResultsVellumValue.Raw | serializers.ArrayVellumValue.Raw;
|
|
16
18
|
}
|
|
@@ -27,6 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ArrayVellumValueItem = void 0;
|
|
30
|
+
const serializers = __importStar(require("../index"));
|
|
30
31
|
const core = __importStar(require("../../core"));
|
|
31
32
|
const StringVellumValue_1 = require("./StringVellumValue");
|
|
32
33
|
const NumberVellumValue_1 = require("./NumberVellumValue");
|
|
@@ -34,6 +35,8 @@ const JsonVellumValue_1 = require("./JsonVellumValue");
|
|
|
34
35
|
const ImageVellumValue_1 = require("./ImageVellumValue");
|
|
35
36
|
const FunctionCallVellumValue_1 = require("./FunctionCallVellumValue");
|
|
36
37
|
const ErrorVellumValue_1 = require("./ErrorVellumValue");
|
|
38
|
+
const ChatHistoryVellumValue_1 = require("./ChatHistoryVellumValue");
|
|
39
|
+
const SearchResultsVellumValue_1 = require("./SearchResultsVellumValue");
|
|
37
40
|
exports.ArrayVellumValueItem = core.serialization.undiscriminatedUnion([
|
|
38
41
|
StringVellumValue_1.StringVellumValue,
|
|
39
42
|
NumberVellumValue_1.NumberVellumValue,
|
|
@@ -41,4 +44,7 @@ exports.ArrayVellumValueItem = core.serialization.undiscriminatedUnion([
|
|
|
41
44
|
ImageVellumValue_1.ImageVellumValue,
|
|
42
45
|
FunctionCallVellumValue_1.FunctionCallVellumValue,
|
|
43
46
|
ErrorVellumValue_1.ErrorVellumValue,
|
|
47
|
+
ChatHistoryVellumValue_1.ChatHistoryVellumValue,
|
|
48
|
+
SearchResultsVellumValue_1.SearchResultsVellumValue,
|
|
49
|
+
core.serialization.lazyObject(() => serializers.ArrayVellumValue),
|
|
44
50
|
]);
|
|
@@ -10,7 +10,9 @@ import { JsonVellumValueRequest } from "./JsonVellumValueRequest";
|
|
|
10
10
|
import { ImageVellumValueRequest } from "./ImageVellumValueRequest";
|
|
11
11
|
import { FunctionCallVellumValueRequest } from "./FunctionCallVellumValueRequest";
|
|
12
12
|
import { ErrorVellumValueRequest } from "./ErrorVellumValueRequest";
|
|
13
|
+
import { ChatHistoryVellumValueRequest } from "./ChatHistoryVellumValueRequest";
|
|
14
|
+
import { SearchResultsVellumValueRequest } from "./SearchResultsVellumValueRequest";
|
|
13
15
|
export declare const ArrayVellumValueItemRequest: core.serialization.Schema<serializers.ArrayVellumValueItemRequest.Raw, Vellum.ArrayVellumValueItemRequest>;
|
|
14
16
|
export declare namespace ArrayVellumValueItemRequest {
|
|
15
|
-
type Raw = StringVellumValueRequest.Raw | NumberVellumValueRequest.Raw | JsonVellumValueRequest.Raw | ImageVellumValueRequest.Raw | FunctionCallVellumValueRequest.Raw | ErrorVellumValueRequest.Raw;
|
|
17
|
+
type Raw = StringVellumValueRequest.Raw | NumberVellumValueRequest.Raw | JsonVellumValueRequest.Raw | ImageVellumValueRequest.Raw | FunctionCallVellumValueRequest.Raw | ErrorVellumValueRequest.Raw | ChatHistoryVellumValueRequest.Raw | SearchResultsVellumValueRequest.Raw | serializers.ArrayVellumValueRequest.Raw;
|
|
16
18
|
}
|
|
@@ -27,6 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ArrayVellumValueItemRequest = void 0;
|
|
30
|
+
const serializers = __importStar(require("../index"));
|
|
30
31
|
const core = __importStar(require("../../core"));
|
|
31
32
|
const StringVellumValueRequest_1 = require("./StringVellumValueRequest");
|
|
32
33
|
const NumberVellumValueRequest_1 = require("./NumberVellumValueRequest");
|
|
@@ -34,6 +35,8 @@ const JsonVellumValueRequest_1 = require("./JsonVellumValueRequest");
|
|
|
34
35
|
const ImageVellumValueRequest_1 = require("./ImageVellumValueRequest");
|
|
35
36
|
const FunctionCallVellumValueRequest_1 = require("./FunctionCallVellumValueRequest");
|
|
36
37
|
const ErrorVellumValueRequest_1 = require("./ErrorVellumValueRequest");
|
|
38
|
+
const ChatHistoryVellumValueRequest_1 = require("./ChatHistoryVellumValueRequest");
|
|
39
|
+
const SearchResultsVellumValueRequest_1 = require("./SearchResultsVellumValueRequest");
|
|
37
40
|
exports.ArrayVellumValueItemRequest = core.serialization.undiscriminatedUnion([
|
|
38
41
|
StringVellumValueRequest_1.StringVellumValueRequest,
|
|
39
42
|
NumberVellumValueRequest_1.NumberVellumValueRequest,
|
|
@@ -41,4 +44,7 @@ exports.ArrayVellumValueItemRequest = core.serialization.undiscriminatedUnion([
|
|
|
41
44
|
ImageVellumValueRequest_1.ImageVellumValueRequest,
|
|
42
45
|
FunctionCallVellumValueRequest_1.FunctionCallVellumValueRequest,
|
|
43
46
|
ErrorVellumValueRequest_1.ErrorVellumValueRequest,
|
|
47
|
+
ChatHistoryVellumValueRequest_1.ChatHistoryVellumValueRequest,
|
|
48
|
+
SearchResultsVellumValueRequest_1.SearchResultsVellumValueRequest,
|
|
49
|
+
core.serialization.lazyObject(() => serializers.ArrayVellumValueRequest),
|
|
44
50
|
]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ArrayVellumValueRequest: core.serialization.ObjectSchema<serializers.ArrayVellumValueRequest.Raw, Vellum.ArrayVellumValueRequest>;
|
|
8
|
+
export declare namespace ArrayVellumValueRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
type: "ARRAY";
|
|
11
|
+
value?: serializers.ArrayVellumValueItemRequest.Raw[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -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.ArrayVellumValueRequest = void 0;
|
|
30
|
+
const serializers = __importStar(require("../index"));
|
|
31
|
+
const core = __importStar(require("../../core"));
|
|
32
|
+
exports.ArrayVellumValueRequest = core.serialization.object({
|
|
33
|
+
type: core.serialization.stringLiteral("ARRAY"),
|
|
34
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItemRequest)).optional(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { ChatMessage } from "./ChatMessage";
|
|
8
|
+
export declare const ChatHistoryVariableValue: core.serialization.ObjectSchema<serializers.ChatHistoryVariableValue.Raw, Vellum.ChatHistoryVariableValue>;
|
|
9
|
+
export declare namespace ChatHistoryVariableValue {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: "CHAT_HISTORY";
|
|
12
|
+
value?: ChatMessage.Raw[] | null;
|
|
13
|
+
}
|
|
14
|
+
}
|