vellum-ai 0.12.16 → 0.13.0
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 +44 -78
- package/.mock/definition/organizations.yml +29 -0
- package/.mock/definition/workspaces.yml +29 -0
- package/.mock/openapi/openapi.yml +84 -148
- package/Client.d.ts +9 -3
- package/Client.js +35 -25
- package/api/resources/adHoc/client/Client.d.ts +3 -3
- package/api/resources/adHoc/client/Client.js +2 -2
- package/api/resources/containerImages/client/Client.d.ts +3 -3
- package/api/resources/containerImages/client/Client.js +5 -5
- package/api/resources/deployments/client/Client.d.ts +3 -3
- package/api/resources/deployments/client/Client.js +8 -8
- package/api/resources/documentIndexes/client/Client.d.ts +3 -3
- package/api/resources/documentIndexes/client/Client.js +9 -9
- package/api/resources/documents/client/Client.d.ts +3 -3
- package/api/resources/documents/client/Client.js +6 -6
- package/api/resources/folderEntities/client/Client.d.ts +3 -3
- package/api/resources/folderEntities/client/Client.js +3 -3
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/metricDefinitions/client/Client.d.ts +3 -3
- package/api/resources/metricDefinitions/client/Client.js +3 -3
- package/api/resources/mlModels/client/Client.d.ts +3 -3
- package/api/resources/mlModels/client/Client.js +2 -2
- package/api/resources/organizations/client/Client.d.ts +36 -0
- package/api/resources/organizations/client/Client.js +109 -0
- package/api/resources/organizations/client/index.d.ts +1 -0
- package/api/resources/organizations/client/index.js +2 -0
- package/api/resources/organizations/index.d.ts +1 -0
- package/api/resources/organizations/index.js +17 -0
- package/api/resources/sandboxes/client/Client.d.ts +3 -3
- package/api/resources/sandboxes/client/Client.js +4 -4
- package/api/resources/testSuiteRuns/client/Client.d.ts +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +4 -4
- package/api/resources/testSuites/client/Client.d.ts +3 -3
- package/api/resources/testSuites/client/Client.js +5 -5
- package/api/resources/workflowDeployments/client/Client.d.ts +3 -3
- package/api/resources/workflowDeployments/client/Client.js +7 -7
- package/api/resources/workflowSandboxes/client/Client.d.ts +3 -3
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.d.ts +3 -3
- package/api/resources/workflows/client/Client.js +3 -3
- package/api/resources/workspaceSecrets/client/Client.d.ts +3 -3
- package/api/resources/workspaceSecrets/client/Client.js +3 -3
- package/api/resources/workspaces/client/Client.d.ts +36 -0
- package/api/resources/workspaces/client/Client.js +109 -0
- package/api/resources/workspaces/client/index.d.ts +1 -0
- package/api/resources/workspaces/client/index.js +2 -0
- package/api/resources/workspaces/index.d.ts +1 -0
- package/api/resources/workspaces/index.js +17 -0
- package/api/types/NewMemberJoinBehaviorEnum.d.ts +14 -0
- package/api/types/NewMemberJoinBehaviorEnum.js +11 -0
- package/api/types/OrganizationRead.d.ts +10 -0
- package/api/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
- package/api/types/WorkspaceRead.d.ts +10 -0
- package/api/types/index.d.ts +3 -11
- package/api/types/index.js +3 -11
- package/dist/Client.d.ts +9 -3
- package/dist/Client.js +35 -25
- package/dist/api/resources/adHoc/client/Client.d.ts +3 -3
- package/dist/api/resources/adHoc/client/Client.js +2 -2
- package/dist/api/resources/containerImages/client/Client.d.ts +3 -3
- package/dist/api/resources/containerImages/client/Client.js +5 -5
- package/dist/api/resources/deployments/client/Client.d.ts +3 -3
- package/dist/api/resources/deployments/client/Client.js +8 -8
- package/dist/api/resources/documentIndexes/client/Client.d.ts +3 -3
- package/dist/api/resources/documentIndexes/client/Client.js +9 -9
- package/dist/api/resources/documents/client/Client.d.ts +3 -3
- package/dist/api/resources/documents/client/Client.js +6 -6
- package/dist/api/resources/folderEntities/client/Client.d.ts +3 -3
- package/dist/api/resources/folderEntities/client/Client.js +3 -3
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/metricDefinitions/client/Client.d.ts +3 -3
- package/dist/api/resources/metricDefinitions/client/Client.js +3 -3
- package/dist/api/resources/mlModels/client/Client.d.ts +3 -3
- package/dist/api/resources/mlModels/client/Client.js +2 -2
- package/dist/api/resources/organizations/client/Client.d.ts +36 -0
- package/dist/api/resources/organizations/client/Client.js +109 -0
- package/dist/api/resources/organizations/client/index.d.ts +1 -0
- package/dist/api/resources/organizations/client/index.js +2 -0
- package/dist/api/resources/organizations/index.d.ts +1 -0
- package/dist/api/resources/organizations/index.js +17 -0
- package/dist/api/resources/sandboxes/client/Client.d.ts +3 -3
- package/dist/api/resources/sandboxes/client/Client.js +4 -4
- package/dist/api/resources/testSuiteRuns/client/Client.d.ts +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +4 -4
- package/dist/api/resources/testSuites/client/Client.d.ts +3 -3
- package/dist/api/resources/testSuites/client/Client.js +5 -5
- package/dist/api/resources/workflowDeployments/client/Client.d.ts +3 -3
- package/dist/api/resources/workflowDeployments/client/Client.js +7 -7
- package/dist/api/resources/workflowSandboxes/client/Client.d.ts +3 -3
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.d.ts +3 -3
- package/dist/api/resources/workflows/client/Client.js +3 -3
- package/dist/api/resources/workspaceSecrets/client/Client.d.ts +3 -3
- package/dist/api/resources/workspaceSecrets/client/Client.js +3 -3
- package/dist/api/resources/workspaces/client/Client.d.ts +36 -0
- package/dist/api/resources/workspaces/client/Client.js +109 -0
- package/dist/api/resources/workspaces/client/index.d.ts +1 -0
- package/dist/api/resources/workspaces/client/index.js +2 -0
- package/dist/api/resources/workspaces/index.d.ts +1 -0
- package/dist/api/resources/workspaces/index.js +17 -0
- package/dist/api/types/NewMemberJoinBehaviorEnum.d.ts +14 -0
- package/dist/api/types/NewMemberJoinBehaviorEnum.js +11 -0
- package/dist/api/types/OrganizationRead.d.ts +10 -0
- package/dist/api/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
- package/dist/api/types/WorkspaceRead.d.ts +10 -0
- package/dist/api/types/index.d.ts +3 -11
- package/dist/api/types/index.js +3 -11
- package/dist/serialization/types/NewMemberJoinBehaviorEnum.d.ts +10 -0
- package/dist/serialization/types/{JsonVariableValue.js → NewMemberJoinBehaviorEnum.js} +6 -5
- package/dist/serialization/types/OrganizationRead.d.ts +16 -0
- package/dist/serialization/types/{ArrayVariableValue.js → OrganizationRead.js} +7 -5
- package/dist/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
- package/dist/serialization/types/WorkflowResultEventOutputDataArray.js +1 -1
- package/dist/serialization/types/WorkspaceRead.d.ts +15 -0
- package/dist/serialization/types/{StringVariableValue.js → WorkspaceRead.js} +6 -4
- package/dist/serialization/types/index.d.ts +3 -11
- package/dist/serialization/types/index.js +3 -11
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +114 -0
- package/serialization/types/NewMemberJoinBehaviorEnum.d.ts +10 -0
- package/{dist/serialization/types/NumberVariableValue.js → serialization/types/NewMemberJoinBehaviorEnum.js} +6 -5
- package/serialization/types/OrganizationRead.d.ts +16 -0
- package/{dist/serialization/types/ChatHistoryVariableValue.js → serialization/types/OrganizationRead.js} +7 -5
- package/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
- package/serialization/types/WorkflowResultEventOutputDataArray.js +1 -1
- package/serialization/types/WorkspaceRead.d.ts +15 -0
- package/serialization/types/{JsonVariableValue.js → WorkspaceRead.js} +6 -4
- package/serialization/types/index.d.ts +3 -11
- package/serialization/types/index.js +3 -11
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/ArrayVariableValue.d.ts +0 -8
- package/api/types/ArrayVariableValueItem.d.ts +0 -5
- package/api/types/AudioVariableValue.d.ts +0 -11
- package/api/types/ChatHistoryVariableValue.d.ts +0 -8
- package/api/types/ErrorVariableValue.d.ts +0 -8
- package/api/types/ErrorVariableValue.js +0 -5
- package/api/types/FunctionCallVariableValue.d.ts +0 -8
- package/api/types/FunctionCallVariableValue.js +0 -5
- package/api/types/ImageVariableValue.d.ts +0 -11
- package/api/types/ImageVariableValue.js +0 -5
- package/api/types/JsonVariableValue.d.ts +0 -7
- package/api/types/JsonVariableValue.js +0 -5
- package/api/types/NumberVariableValue.d.ts +0 -7
- package/api/types/NumberVariableValue.js +0 -5
- package/api/types/SearchResultsVariableValue.d.ts +0 -8
- package/api/types/SearchResultsVariableValue.js +0 -5
- package/api/types/StringVariableValue.d.ts +0 -7
- package/api/types/StringVariableValue.js +0 -5
- package/dist/api/types/ArrayVariableValue.d.ts +0 -8
- package/dist/api/types/ArrayVariableValue.js +0 -5
- package/dist/api/types/ArrayVariableValueItem.d.ts +0 -5
- package/dist/api/types/ArrayVariableValueItem.js +0 -5
- package/dist/api/types/AudioVariableValue.d.ts +0 -11
- package/dist/api/types/AudioVariableValue.js +0 -5
- package/dist/api/types/ChatHistoryVariableValue.d.ts +0 -8
- package/dist/api/types/ChatHistoryVariableValue.js +0 -5
- package/dist/api/types/ErrorVariableValue.d.ts +0 -8
- package/dist/api/types/ErrorVariableValue.js +0 -5
- package/dist/api/types/FunctionCallVariableValue.d.ts +0 -8
- package/dist/api/types/FunctionCallVariableValue.js +0 -5
- package/dist/api/types/ImageVariableValue.d.ts +0 -11
- package/dist/api/types/ImageVariableValue.js +0 -5
- package/dist/api/types/JsonVariableValue.d.ts +0 -7
- package/dist/api/types/JsonVariableValue.js +0 -5
- package/dist/api/types/NumberVariableValue.d.ts +0 -7
- package/dist/api/types/NumberVariableValue.js +0 -5
- package/dist/api/types/SearchResultsVariableValue.d.ts +0 -8
- package/dist/api/types/SearchResultsVariableValue.js +0 -5
- package/dist/api/types/StringVariableValue.d.ts +0 -7
- package/dist/api/types/StringVariableValue.js +0 -5
- package/dist/serialization/types/ArrayVariableValue.d.ts +0 -13
- package/dist/serialization/types/ArrayVariableValueItem.d.ts +0 -19
- package/dist/serialization/types/ArrayVariableValueItem.js +0 -52
- package/dist/serialization/types/AudioVariableValue.d.ts +0 -14
- package/dist/serialization/types/AudioVariableValue.js +0 -35
- package/dist/serialization/types/ChatHistoryVariableValue.d.ts +0 -14
- package/dist/serialization/types/ErrorVariableValue.d.ts +0 -14
- package/dist/serialization/types/ErrorVariableValue.js +0 -35
- package/dist/serialization/types/FunctionCallVariableValue.d.ts +0 -14
- package/dist/serialization/types/FunctionCallVariableValue.js +0 -35
- package/dist/serialization/types/ImageVariableValue.d.ts +0 -14
- package/dist/serialization/types/ImageVariableValue.js +0 -35
- package/dist/serialization/types/JsonVariableValue.d.ts +0 -13
- package/dist/serialization/types/NumberVariableValue.d.ts +0 -13
- package/dist/serialization/types/SearchResultsVariableValue.d.ts +0 -14
- package/dist/serialization/types/SearchResultsVariableValue.js +0 -35
- package/dist/serialization/types/StringVariableValue.d.ts +0 -13
- package/serialization/types/ArrayVariableValue.d.ts +0 -13
- package/serialization/types/ArrayVariableValue.js +0 -35
- package/serialization/types/ArrayVariableValueItem.d.ts +0 -19
- package/serialization/types/ArrayVariableValueItem.js +0 -52
- package/serialization/types/AudioVariableValue.d.ts +0 -14
- package/serialization/types/AudioVariableValue.js +0 -35
- package/serialization/types/ChatHistoryVariableValue.d.ts +0 -14
- package/serialization/types/ChatHistoryVariableValue.js +0 -35
- package/serialization/types/ErrorVariableValue.d.ts +0 -14
- package/serialization/types/ErrorVariableValue.js +0 -35
- package/serialization/types/FunctionCallVariableValue.d.ts +0 -14
- package/serialization/types/FunctionCallVariableValue.js +0 -35
- package/serialization/types/ImageVariableValue.d.ts +0 -14
- package/serialization/types/ImageVariableValue.js +0 -35
- package/serialization/types/JsonVariableValue.d.ts +0 -13
- package/serialization/types/NumberVariableValue.d.ts +0 -13
- package/serialization/types/NumberVariableValue.js +0 -34
- package/serialization/types/SearchResultsVariableValue.d.ts +0 -14
- package/serialization/types/SearchResultsVariableValue.js +0 -35
- package/serialization/types/StringVariableValue.d.ts +0 -13
- package/serialization/types/StringVariableValue.js +0 -34
- /package/api/types/{ArrayVariableValue.js → OrganizationRead.js} +0 -0
- /package/api/types/{ArrayVariableValueItem.js → WorkspaceRead.js} +0 -0
- /package/{api/types/AudioVariableValue.js → dist/api/types/OrganizationRead.js} +0 -0
- /package/{api/types/ChatHistoryVariableValue.js → dist/api/types/WorkspaceRead.js} +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
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 { StringVariableValue } from "./StringVariableValue";
|
|
8
|
-
import { NumberVariableValue } from "./NumberVariableValue";
|
|
9
|
-
import { JsonVariableValue } from "./JsonVariableValue";
|
|
10
|
-
import { ErrorVariableValue } from "./ErrorVariableValue";
|
|
11
|
-
import { FunctionCallVariableValue } from "./FunctionCallVariableValue";
|
|
12
|
-
import { ImageVariableValue } from "./ImageVariableValue";
|
|
13
|
-
import { AudioVariableValue } from "./AudioVariableValue";
|
|
14
|
-
import { ChatHistoryVariableValue } from "./ChatHistoryVariableValue";
|
|
15
|
-
import { SearchResultsVariableValue } from "./SearchResultsVariableValue";
|
|
16
|
-
export declare const ArrayVariableValueItem: core.serialization.Schema<serializers.ArrayVariableValueItem.Raw, Vellum.ArrayVariableValueItem>;
|
|
17
|
-
export declare namespace ArrayVariableValueItem {
|
|
18
|
-
type Raw = StringVariableValue.Raw | NumberVariableValue.Raw | JsonVariableValue.Raw | ErrorVariableValue.Raw | FunctionCallVariableValue.Raw | ImageVariableValue.Raw | AudioVariableValue.Raw | ChatHistoryVariableValue.Raw | SearchResultsVariableValue.Raw | serializers.ArrayVariableValue.Raw;
|
|
19
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
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.ArrayVariableValueItem = void 0;
|
|
30
|
-
const serializers = __importStar(require("../index"));
|
|
31
|
-
const core = __importStar(require("../../core"));
|
|
32
|
-
const StringVariableValue_1 = require("./StringVariableValue");
|
|
33
|
-
const NumberVariableValue_1 = require("./NumberVariableValue");
|
|
34
|
-
const JsonVariableValue_1 = require("./JsonVariableValue");
|
|
35
|
-
const ErrorVariableValue_1 = require("./ErrorVariableValue");
|
|
36
|
-
const FunctionCallVariableValue_1 = require("./FunctionCallVariableValue");
|
|
37
|
-
const ImageVariableValue_1 = require("./ImageVariableValue");
|
|
38
|
-
const AudioVariableValue_1 = require("./AudioVariableValue");
|
|
39
|
-
const ChatHistoryVariableValue_1 = require("./ChatHistoryVariableValue");
|
|
40
|
-
const SearchResultsVariableValue_1 = require("./SearchResultsVariableValue");
|
|
41
|
-
exports.ArrayVariableValueItem = core.serialization.undiscriminatedUnion([
|
|
42
|
-
StringVariableValue_1.StringVariableValue,
|
|
43
|
-
NumberVariableValue_1.NumberVariableValue,
|
|
44
|
-
JsonVariableValue_1.JsonVariableValue,
|
|
45
|
-
ErrorVariableValue_1.ErrorVariableValue,
|
|
46
|
-
FunctionCallVariableValue_1.FunctionCallVariableValue,
|
|
47
|
-
ImageVariableValue_1.ImageVariableValue,
|
|
48
|
-
AudioVariableValue_1.AudioVariableValue,
|
|
49
|
-
ChatHistoryVariableValue_1.ChatHistoryVariableValue,
|
|
50
|
-
SearchResultsVariableValue_1.SearchResultsVariableValue,
|
|
51
|
-
core.serialization.lazyObject(() => serializers.ArrayVariableValue),
|
|
52
|
-
]);
|
|
@@ -1,14 +0,0 @@
|
|
|
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 { VellumAudio } from "./VellumAudio";
|
|
8
|
-
export declare const AudioVariableValue: core.serialization.ObjectSchema<serializers.AudioVariableValue.Raw, Vellum.AudioVariableValue>;
|
|
9
|
-
export declare namespace AudioVariableValue {
|
|
10
|
-
interface Raw {
|
|
11
|
-
type: "AUDIO";
|
|
12
|
-
value?: VellumAudio.Raw | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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.AudioVariableValue = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
const VellumAudio_1 = require("./VellumAudio");
|
|
32
|
-
exports.AudioVariableValue = core.serialization.object({
|
|
33
|
-
type: core.serialization.stringLiteral("AUDIO"),
|
|
34
|
-
value: VellumAudio_1.VellumAudio.optional(),
|
|
35
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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 { VellumError } from "./VellumError";
|
|
8
|
-
export declare const ErrorVariableValue: core.serialization.ObjectSchema<serializers.ErrorVariableValue.Raw, Vellum.ErrorVariableValue>;
|
|
9
|
-
export declare namespace ErrorVariableValue {
|
|
10
|
-
interface Raw {
|
|
11
|
-
type: "ERROR";
|
|
12
|
-
value?: VellumError.Raw | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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.ErrorVariableValue = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
const VellumError_1 = require("./VellumError");
|
|
32
|
-
exports.ErrorVariableValue = core.serialization.object({
|
|
33
|
-
type: core.serialization.stringLiteral("ERROR"),
|
|
34
|
-
value: VellumError_1.VellumError.optional(),
|
|
35
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
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 { FunctionCall } from "./FunctionCall";
|
|
8
|
-
export declare const FunctionCallVariableValue: core.serialization.ObjectSchema<serializers.FunctionCallVariableValue.Raw, Vellum.FunctionCallVariableValue>;
|
|
9
|
-
export declare namespace FunctionCallVariableValue {
|
|
10
|
-
interface Raw {
|
|
11
|
-
type: "FUNCTION_CALL";
|
|
12
|
-
value?: FunctionCall.Raw | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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.FunctionCallVariableValue = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
const FunctionCall_1 = require("./FunctionCall");
|
|
32
|
-
exports.FunctionCallVariableValue = core.serialization.object({
|
|
33
|
-
type: core.serialization.stringLiteral("FUNCTION_CALL"),
|
|
34
|
-
value: FunctionCall_1.FunctionCall.optional(),
|
|
35
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
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 { VellumImage } from "./VellumImage";
|
|
8
|
-
export declare const ImageVariableValue: core.serialization.ObjectSchema<serializers.ImageVariableValue.Raw, Vellum.ImageVariableValue>;
|
|
9
|
-
export declare namespace ImageVariableValue {
|
|
10
|
-
interface Raw {
|
|
11
|
-
type: "IMAGE";
|
|
12
|
-
value?: VellumImage.Raw | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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.ImageVariableValue = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
const VellumImage_1 = require("./VellumImage");
|
|
32
|
-
exports.ImageVariableValue = core.serialization.object({
|
|
33
|
-
type: core.serialization.stringLiteral("IMAGE"),
|
|
34
|
-
value: VellumImage_1.VellumImage.optional(),
|
|
35
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
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 JsonVariableValue: core.serialization.ObjectSchema<serializers.JsonVariableValue.Raw, Vellum.JsonVariableValue>;
|
|
8
|
-
export declare namespace JsonVariableValue {
|
|
9
|
-
interface Raw {
|
|
10
|
-
type: "JSON";
|
|
11
|
-
value?: unknown;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 NumberVariableValue: core.serialization.ObjectSchema<serializers.NumberVariableValue.Raw, Vellum.NumberVariableValue>;
|
|
8
|
-
export declare namespace NumberVariableValue {
|
|
9
|
-
interface Raw {
|
|
10
|
-
type: "NUMBER";
|
|
11
|
-
value?: number | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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 { SearchResult } from "./SearchResult";
|
|
8
|
-
export declare const SearchResultsVariableValue: core.serialization.ObjectSchema<serializers.SearchResultsVariableValue.Raw, Vellum.SearchResultsVariableValue>;
|
|
9
|
-
export declare namespace SearchResultsVariableValue {
|
|
10
|
-
interface Raw {
|
|
11
|
-
type: "SEARCH_RESULTS";
|
|
12
|
-
value?: SearchResult.Raw[] | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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.SearchResultsVariableValue = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
const SearchResult_1 = require("./SearchResult");
|
|
32
|
-
exports.SearchResultsVariableValue = core.serialization.object({
|
|
33
|
-
type: core.serialization.stringLiteral("SEARCH_RESULTS"),
|
|
34
|
-
value: core.serialization.list(SearchResult_1.SearchResult).optional(),
|
|
35
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
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 StringVariableValue: core.serialization.ObjectSchema<serializers.StringVariableValue.Raw, Vellum.StringVariableValue>;
|
|
8
|
-
export declare namespace StringVariableValue {
|
|
9
|
-
interface Raw {
|
|
10
|
-
type: "STRING";
|
|
11
|
-
value?: string | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,19 +0,0 @@
|
|
|
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 { StringVariableValue } from "./StringVariableValue";
|
|
8
|
-
import { NumberVariableValue } from "./NumberVariableValue";
|
|
9
|
-
import { JsonVariableValue } from "./JsonVariableValue";
|
|
10
|
-
import { ErrorVariableValue } from "./ErrorVariableValue";
|
|
11
|
-
import { FunctionCallVariableValue } from "./FunctionCallVariableValue";
|
|
12
|
-
import { ImageVariableValue } from "./ImageVariableValue";
|
|
13
|
-
import { AudioVariableValue } from "./AudioVariableValue";
|
|
14
|
-
import { ChatHistoryVariableValue } from "./ChatHistoryVariableValue";
|
|
15
|
-
import { SearchResultsVariableValue } from "./SearchResultsVariableValue";
|
|
16
|
-
export declare const ArrayVariableValueItem: core.serialization.Schema<serializers.ArrayVariableValueItem.Raw, Vellum.ArrayVariableValueItem>;
|
|
17
|
-
export declare namespace ArrayVariableValueItem {
|
|
18
|
-
type Raw = StringVariableValue.Raw | NumberVariableValue.Raw | JsonVariableValue.Raw | ErrorVariableValue.Raw | FunctionCallVariableValue.Raw | ImageVariableValue.Raw | AudioVariableValue.Raw | ChatHistoryVariableValue.Raw | SearchResultsVariableValue.Raw | serializers.ArrayVariableValue.Raw;
|
|
19
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
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.ArrayVariableValueItem = void 0;
|
|
30
|
-
const serializers = __importStar(require("../index"));
|
|
31
|
-
const core = __importStar(require("../../core"));
|
|
32
|
-
const StringVariableValue_1 = require("./StringVariableValue");
|
|
33
|
-
const NumberVariableValue_1 = require("./NumberVariableValue");
|
|
34
|
-
const JsonVariableValue_1 = require("./JsonVariableValue");
|
|
35
|
-
const ErrorVariableValue_1 = require("./ErrorVariableValue");
|
|
36
|
-
const FunctionCallVariableValue_1 = require("./FunctionCallVariableValue");
|
|
37
|
-
const ImageVariableValue_1 = require("./ImageVariableValue");
|
|
38
|
-
const AudioVariableValue_1 = require("./AudioVariableValue");
|
|
39
|
-
const ChatHistoryVariableValue_1 = require("./ChatHistoryVariableValue");
|
|
40
|
-
const SearchResultsVariableValue_1 = require("./SearchResultsVariableValue");
|
|
41
|
-
exports.ArrayVariableValueItem = core.serialization.undiscriminatedUnion([
|
|
42
|
-
StringVariableValue_1.StringVariableValue,
|
|
43
|
-
NumberVariableValue_1.NumberVariableValue,
|
|
44
|
-
JsonVariableValue_1.JsonVariableValue,
|
|
45
|
-
ErrorVariableValue_1.ErrorVariableValue,
|
|
46
|
-
FunctionCallVariableValue_1.FunctionCallVariableValue,
|
|
47
|
-
ImageVariableValue_1.ImageVariableValue,
|
|
48
|
-
AudioVariableValue_1.AudioVariableValue,
|
|
49
|
-
ChatHistoryVariableValue_1.ChatHistoryVariableValue,
|
|
50
|
-
SearchResultsVariableValue_1.SearchResultsVariableValue,
|
|
51
|
-
core.serialization.lazyObject(() => serializers.ArrayVariableValue),
|
|
52
|
-
]);
|
|
@@ -1,14 +0,0 @@
|
|
|
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 { VellumAudio } from "./VellumAudio";
|
|
8
|
-
export declare const AudioVariableValue: core.serialization.ObjectSchema<serializers.AudioVariableValue.Raw, Vellum.AudioVariableValue>;
|
|
9
|
-
export declare namespace AudioVariableValue {
|
|
10
|
-
interface Raw {
|
|
11
|
-
type: "AUDIO";
|
|
12
|
-
value?: VellumAudio.Raw | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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.AudioVariableValue = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
const VellumAudio_1 = require("./VellumAudio");
|
|
32
|
-
exports.AudioVariableValue = core.serialization.object({
|
|
33
|
-
type: core.serialization.stringLiteral("AUDIO"),
|
|
34
|
-
value: VellumAudio_1.VellumAudio.optional(),
|
|
35
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
}
|