vellum-ai 0.9.3 → 0.9.4
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 +49 -1
- package/.mock/definition/workflows.yml +2 -0
- package/.mock/openapi/openapi.yml +76 -0
- package/Client.js +10 -10
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/containerImages/client/Client.js +4 -4
- 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 +2 -2
- package/api/resources/metricDefinitions/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/resources/workflows/client/Client.js +2 -2
- package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/types/ArrayVariableValueItem.d.ts +1 -1
- package/api/types/AudioVariableValue.d.ts +11 -0
- package/api/types/AudioVariableValue.js +5 -0
- package/api/types/AudioVellumValue.d.ts +11 -0
- package/api/types/AudioVellumValue.js +5 -0
- package/api/types/AudioVellumValueRequest.d.ts +11 -0
- package/api/types/AudioVellumValueRequest.js +5 -0
- package/api/types/VellumAudio.d.ts +1 -0
- package/api/types/VellumAudioRequest.d.ts +1 -0
- package/api/types/VellumValue.d.ts +1 -1
- package/api/types/VellumValueRequest.d.ts +1 -1
- package/api/types/WorkflowPushDeploymentConfigRequest.d.ts +9 -0
- package/api/types/WorkflowPushDeploymentConfigRequest.js +5 -0
- package/api/types/WorkflowPushResponse.d.ts +1 -0
- package/api/types/index.d.ts +4 -0
- package/api/types/index.js +4 -0
- package/dist/Client.js +10 -10
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- 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 +2 -2
- package/dist/api/resources/metricDefinitions/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/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/types/ArrayVariableValueItem.d.ts +1 -1
- package/dist/api/types/AudioVariableValue.d.ts +11 -0
- package/dist/api/types/AudioVariableValue.js +5 -0
- package/dist/api/types/AudioVellumValue.d.ts +11 -0
- package/dist/api/types/AudioVellumValue.js +5 -0
- package/dist/api/types/AudioVellumValueRequest.d.ts +11 -0
- package/dist/api/types/AudioVellumValueRequest.js +5 -0
- package/dist/api/types/VellumAudio.d.ts +1 -0
- package/dist/api/types/VellumAudioRequest.d.ts +1 -0
- package/dist/api/types/VellumValue.d.ts +1 -1
- package/dist/api/types/VellumValueRequest.d.ts +1 -1
- package/dist/api/types/WorkflowPushDeploymentConfigRequest.d.ts +9 -0
- package/dist/api/types/WorkflowPushDeploymentConfigRequest.js +5 -0
- package/dist/api/types/WorkflowPushResponse.d.ts +1 -0
- package/dist/api/types/index.d.ts +4 -0
- package/dist/api/types/index.js +4 -0
- package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -0
- package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +2 -0
- package/dist/serialization/types/ArrayVariableValueItem.d.ts +2 -1
- package/dist/serialization/types/ArrayVariableValueItem.js +2 -0
- package/dist/serialization/types/AudioVariableValue.d.ts +14 -0
- package/dist/serialization/types/AudioVariableValue.js +35 -0
- package/dist/serialization/types/AudioVellumValue.d.ts +14 -0
- package/dist/serialization/types/AudioVellumValue.js +35 -0
- package/dist/serialization/types/AudioVellumValueRequest.d.ts +14 -0
- package/dist/serialization/types/AudioVellumValueRequest.js +35 -0
- package/dist/serialization/types/VellumValue.d.ts +2 -1
- package/dist/serialization/types/VellumValue.js +2 -0
- package/dist/serialization/types/VellumValueRequest.d.ts +2 -1
- package/dist/serialization/types/VellumValueRequest.js +2 -0
- package/dist/serialization/types/WorkflowPushDeploymentConfigRequest.d.ts +15 -0
- package/dist/serialization/types/WorkflowPushDeploymentConfigRequest.js +36 -0
- package/dist/serialization/types/WorkflowPushResponse.d.ts +1 -0
- package/dist/serialization/types/WorkflowPushResponse.js +1 -0
- package/dist/serialization/types/index.d.ts +4 -0
- package/dist/serialization/types/index.js +4 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -0
- package/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +2 -0
- package/serialization/types/ArrayVariableValueItem.d.ts +2 -1
- package/serialization/types/ArrayVariableValueItem.js +2 -0
- package/serialization/types/AudioVariableValue.d.ts +14 -0
- package/serialization/types/AudioVariableValue.js +35 -0
- package/serialization/types/AudioVellumValue.d.ts +14 -0
- package/serialization/types/AudioVellumValue.js +35 -0
- package/serialization/types/AudioVellumValueRequest.d.ts +14 -0
- package/serialization/types/AudioVellumValueRequest.js +35 -0
- package/serialization/types/VellumValue.d.ts +2 -1
- package/serialization/types/VellumValue.js +2 -0
- package/serialization/types/VellumValueRequest.d.ts +2 -1
- package/serialization/types/VellumValueRequest.js +2 -0
- package/serialization/types/WorkflowPushDeploymentConfigRequest.d.ts +15 -0
- package/serialization/types/WorkflowPushDeploymentConfigRequest.js +36 -0
- package/serialization/types/WorkflowPushResponse.d.ts +1 -0
- package/serialization/types/WorkflowPushResponse.js +1 -0
- package/serialization/types/index.d.ts +4 -0
- package/serialization/types/index.js +4 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -5,11 +5,13 @@ import * as serializers from "../../../../index";
|
|
|
5
5
|
import * as Vellum from "../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
7
|
import { WorkflowPushExecConfig } from "../../../../types/WorkflowPushExecConfig";
|
|
8
|
+
import { WorkflowPushDeploymentConfigRequest } from "../../../../types/WorkflowPushDeploymentConfigRequest";
|
|
8
9
|
export declare const WorkflowPushRequest: core.serialization.Schema<serializers.WorkflowPushRequest.Raw, Vellum.WorkflowPushRequest>;
|
|
9
10
|
export declare namespace WorkflowPushRequest {
|
|
10
11
|
interface Raw {
|
|
11
12
|
exec_config: WorkflowPushExecConfig.Raw;
|
|
12
13
|
label: string;
|
|
13
14
|
workflow_sandbox_id?: string | null;
|
|
15
|
+
deployment_config?: WorkflowPushDeploymentConfigRequest.Raw | null;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -29,8 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.WorkflowPushRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
|
31
31
|
const WorkflowPushExecConfig_1 = require("../../../../types/WorkflowPushExecConfig");
|
|
32
|
+
const WorkflowPushDeploymentConfigRequest_1 = require("../../../../types/WorkflowPushDeploymentConfigRequest");
|
|
32
33
|
exports.WorkflowPushRequest = core.serialization.object({
|
|
33
34
|
execConfig: core.serialization.property("exec_config", WorkflowPushExecConfig_1.WorkflowPushExecConfig),
|
|
34
35
|
label: core.serialization.string(),
|
|
35
36
|
workflowSandboxId: core.serialization.property("workflow_sandbox_id", core.serialization.string().optional()),
|
|
37
|
+
deploymentConfig: core.serialization.property("deployment_config", WorkflowPushDeploymentConfigRequest_1.WorkflowPushDeploymentConfigRequest.optional()),
|
|
36
38
|
});
|
|
@@ -10,9 +10,10 @@ import { JsonVariableValue } from "./JsonVariableValue";
|
|
|
10
10
|
import { ErrorVariableValue } from "./ErrorVariableValue";
|
|
11
11
|
import { FunctionCallVariableValue } from "./FunctionCallVariableValue";
|
|
12
12
|
import { ImageVariableValue } from "./ImageVariableValue";
|
|
13
|
+
import { AudioVariableValue } from "./AudioVariableValue";
|
|
13
14
|
import { ChatHistoryVariableValue } from "./ChatHistoryVariableValue";
|
|
14
15
|
import { SearchResultsVariableValue } from "./SearchResultsVariableValue";
|
|
15
16
|
export declare const ArrayVariableValueItem: core.serialization.Schema<serializers.ArrayVariableValueItem.Raw, Vellum.ArrayVariableValueItem>;
|
|
16
17
|
export declare namespace ArrayVariableValueItem {
|
|
17
|
-
type Raw = StringVariableValue.Raw | NumberVariableValue.Raw | JsonVariableValue.Raw | ErrorVariableValue.Raw | FunctionCallVariableValue.Raw | ImageVariableValue.Raw | ChatHistoryVariableValue.Raw | SearchResultsVariableValue.Raw | serializers.ArrayVariableValue.Raw;
|
|
18
|
+
type Raw = StringVariableValue.Raw | NumberVariableValue.Raw | JsonVariableValue.Raw | ErrorVariableValue.Raw | FunctionCallVariableValue.Raw | ImageVariableValue.Raw | AudioVariableValue.Raw | ChatHistoryVariableValue.Raw | SearchResultsVariableValue.Raw | serializers.ArrayVariableValue.Raw;
|
|
18
19
|
}
|
|
@@ -35,6 +35,7 @@ const JsonVariableValue_1 = require("./JsonVariableValue");
|
|
|
35
35
|
const ErrorVariableValue_1 = require("./ErrorVariableValue");
|
|
36
36
|
const FunctionCallVariableValue_1 = require("./FunctionCallVariableValue");
|
|
37
37
|
const ImageVariableValue_1 = require("./ImageVariableValue");
|
|
38
|
+
const AudioVariableValue_1 = require("./AudioVariableValue");
|
|
38
39
|
const ChatHistoryVariableValue_1 = require("./ChatHistoryVariableValue");
|
|
39
40
|
const SearchResultsVariableValue_1 = require("./SearchResultsVariableValue");
|
|
40
41
|
exports.ArrayVariableValueItem = core.serialization.undiscriminatedUnion([
|
|
@@ -44,6 +45,7 @@ exports.ArrayVariableValueItem = core.serialization.undiscriminatedUnion([
|
|
|
44
45
|
ErrorVariableValue_1.ErrorVariableValue,
|
|
45
46
|
FunctionCallVariableValue_1.FunctionCallVariableValue,
|
|
46
47
|
ImageVariableValue_1.ImageVariableValue,
|
|
48
|
+
AudioVariableValue_1.AudioVariableValue,
|
|
47
49
|
ChatHistoryVariableValue_1.ChatHistoryVariableValue,
|
|
48
50
|
SearchResultsVariableValue_1.SearchResultsVariableValue,
|
|
49
51
|
core.serialization.lazyObject(() => serializers.ArrayVariableValue),
|
|
@@ -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 { 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
|
+
}
|
|
@@ -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.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
|
+
});
|
|
@@ -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 { VellumAudio } from "./VellumAudio";
|
|
8
|
+
export declare const AudioVellumValue: core.serialization.ObjectSchema<serializers.AudioVellumValue.Raw, Vellum.AudioVellumValue>;
|
|
9
|
+
export declare namespace AudioVellumValue {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: "AUDIO";
|
|
12
|
+
value?: VellumAudio.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.AudioVellumValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const VellumAudio_1 = require("./VellumAudio");
|
|
32
|
+
exports.AudioVellumValue = core.serialization.object({
|
|
33
|
+
type: core.serialization.stringLiteral("AUDIO"),
|
|
34
|
+
value: VellumAudio_1.VellumAudio.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 { VellumAudioRequest } from "./VellumAudioRequest";
|
|
8
|
+
export declare const AudioVellumValueRequest: core.serialization.ObjectSchema<serializers.AudioVellumValueRequest.Raw, Vellum.AudioVellumValueRequest>;
|
|
9
|
+
export declare namespace AudioVellumValueRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: "AUDIO";
|
|
12
|
+
value?: VellumAudioRequest.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.AudioVellumValueRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const VellumAudioRequest_1 = require("./VellumAudioRequest");
|
|
32
|
+
exports.AudioVellumValueRequest = core.serialization.object({
|
|
33
|
+
type: core.serialization.stringLiteral("AUDIO"),
|
|
34
|
+
value: VellumAudioRequest_1.VellumAudioRequest.optional(),
|
|
35
|
+
});
|
|
@@ -8,11 +8,12 @@ import { StringVellumValue } from "./StringVellumValue";
|
|
|
8
8
|
import { NumberVellumValue } from "./NumberVellumValue";
|
|
9
9
|
import { JsonVellumValue } from "./JsonVellumValue";
|
|
10
10
|
import { ImageVellumValue } from "./ImageVellumValue";
|
|
11
|
+
import { AudioVellumValue } from "./AudioVellumValue";
|
|
11
12
|
import { FunctionCallVellumValue } from "./FunctionCallVellumValue";
|
|
12
13
|
import { ErrorVellumValue } from "./ErrorVellumValue";
|
|
13
14
|
import { ChatHistoryVellumValue } from "./ChatHistoryVellumValue";
|
|
14
15
|
import { SearchResultsVellumValue } from "./SearchResultsVellumValue";
|
|
15
16
|
export declare const VellumValue: core.serialization.Schema<serializers.VellumValue.Raw, Vellum.VellumValue>;
|
|
16
17
|
export declare namespace VellumValue {
|
|
17
|
-
type Raw = StringVellumValue.Raw | NumberVellumValue.Raw | JsonVellumValue.Raw | ImageVellumValue.Raw | FunctionCallVellumValue.Raw | ErrorVellumValue.Raw | serializers.ArrayVellumValue.Raw | ChatHistoryVellumValue.Raw | SearchResultsVellumValue.Raw;
|
|
18
|
+
type Raw = StringVellumValue.Raw | NumberVellumValue.Raw | JsonVellumValue.Raw | ImageVellumValue.Raw | AudioVellumValue.Raw | FunctionCallVellumValue.Raw | ErrorVellumValue.Raw | serializers.ArrayVellumValue.Raw | ChatHistoryVellumValue.Raw | SearchResultsVellumValue.Raw;
|
|
18
19
|
}
|
|
@@ -33,6 +33,7 @@ const StringVellumValue_1 = require("./StringVellumValue");
|
|
|
33
33
|
const NumberVellumValue_1 = require("./NumberVellumValue");
|
|
34
34
|
const JsonVellumValue_1 = require("./JsonVellumValue");
|
|
35
35
|
const ImageVellumValue_1 = require("./ImageVellumValue");
|
|
36
|
+
const AudioVellumValue_1 = require("./AudioVellumValue");
|
|
36
37
|
const FunctionCallVellumValue_1 = require("./FunctionCallVellumValue");
|
|
37
38
|
const ErrorVellumValue_1 = require("./ErrorVellumValue");
|
|
38
39
|
const ChatHistoryVellumValue_1 = require("./ChatHistoryVellumValue");
|
|
@@ -42,6 +43,7 @@ exports.VellumValue = core.serialization.undiscriminatedUnion([
|
|
|
42
43
|
NumberVellumValue_1.NumberVellumValue,
|
|
43
44
|
JsonVellumValue_1.JsonVellumValue,
|
|
44
45
|
ImageVellumValue_1.ImageVellumValue,
|
|
46
|
+
AudioVellumValue_1.AudioVellumValue,
|
|
45
47
|
FunctionCallVellumValue_1.FunctionCallVellumValue,
|
|
46
48
|
ErrorVellumValue_1.ErrorVellumValue,
|
|
47
49
|
core.serialization.lazyObject(() => serializers.ArrayVellumValue),
|
|
@@ -8,11 +8,12 @@ import { StringVellumValueRequest } from "./StringVellumValueRequest";
|
|
|
8
8
|
import { NumberVellumValueRequest } from "./NumberVellumValueRequest";
|
|
9
9
|
import { JsonVellumValueRequest } from "./JsonVellumValueRequest";
|
|
10
10
|
import { ImageVellumValueRequest } from "./ImageVellumValueRequest";
|
|
11
|
+
import { AudioVellumValueRequest } from "./AudioVellumValueRequest";
|
|
11
12
|
import { FunctionCallVellumValueRequest } from "./FunctionCallVellumValueRequest";
|
|
12
13
|
import { ErrorVellumValueRequest } from "./ErrorVellumValueRequest";
|
|
13
14
|
import { ChatHistoryVellumValueRequest } from "./ChatHistoryVellumValueRequest";
|
|
14
15
|
import { SearchResultsVellumValueRequest } from "./SearchResultsVellumValueRequest";
|
|
15
16
|
export declare const VellumValueRequest: core.serialization.Schema<serializers.VellumValueRequest.Raw, Vellum.VellumValueRequest>;
|
|
16
17
|
export declare namespace VellumValueRequest {
|
|
17
|
-
type Raw = StringVellumValueRequest.Raw | NumberVellumValueRequest.Raw | JsonVellumValueRequest.Raw | ImageVellumValueRequest.Raw | FunctionCallVellumValueRequest.Raw | ErrorVellumValueRequest.Raw | serializers.ArrayVellumValueRequest.Raw | ChatHistoryVellumValueRequest.Raw | SearchResultsVellumValueRequest.Raw;
|
|
18
|
+
type Raw = StringVellumValueRequest.Raw | NumberVellumValueRequest.Raw | JsonVellumValueRequest.Raw | ImageVellumValueRequest.Raw | AudioVellumValueRequest.Raw | FunctionCallVellumValueRequest.Raw | ErrorVellumValueRequest.Raw | serializers.ArrayVellumValueRequest.Raw | ChatHistoryVellumValueRequest.Raw | SearchResultsVellumValueRequest.Raw;
|
|
18
19
|
}
|
|
@@ -33,6 +33,7 @@ const StringVellumValueRequest_1 = require("./StringVellumValueRequest");
|
|
|
33
33
|
const NumberVellumValueRequest_1 = require("./NumberVellumValueRequest");
|
|
34
34
|
const JsonVellumValueRequest_1 = require("./JsonVellumValueRequest");
|
|
35
35
|
const ImageVellumValueRequest_1 = require("./ImageVellumValueRequest");
|
|
36
|
+
const AudioVellumValueRequest_1 = require("./AudioVellumValueRequest");
|
|
36
37
|
const FunctionCallVellumValueRequest_1 = require("./FunctionCallVellumValueRequest");
|
|
37
38
|
const ErrorVellumValueRequest_1 = require("./ErrorVellumValueRequest");
|
|
38
39
|
const ChatHistoryVellumValueRequest_1 = require("./ChatHistoryVellumValueRequest");
|
|
@@ -42,6 +43,7 @@ exports.VellumValueRequest = core.serialization.undiscriminatedUnion([
|
|
|
42
43
|
NumberVellumValueRequest_1.NumberVellumValueRequest,
|
|
43
44
|
JsonVellumValueRequest_1.JsonVellumValueRequest,
|
|
44
45
|
ImageVellumValueRequest_1.ImageVellumValueRequest,
|
|
46
|
+
AudioVellumValueRequest_1.AudioVellumValueRequest,
|
|
45
47
|
FunctionCallVellumValueRequest_1.FunctionCallVellumValueRequest,
|
|
46
48
|
ErrorVellumValueRequest_1.ErrorVellumValueRequest,
|
|
47
49
|
core.serialization.lazyObject(() => serializers.ArrayVellumValueRequest),
|
|
@@ -0,0 +1,15 @@
|
|
|
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 WorkflowPushDeploymentConfigRequest: core.serialization.ObjectSchema<serializers.WorkflowPushDeploymentConfigRequest.Raw, Vellum.WorkflowPushDeploymentConfigRequest>;
|
|
8
|
+
export declare namespace WorkflowPushDeploymentConfigRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
label?: string | null;
|
|
11
|
+
name?: string | null;
|
|
12
|
+
description?: string | null;
|
|
13
|
+
release_tags?: string[] | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.WorkflowPushDeploymentConfigRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.WorkflowPushDeploymentConfigRequest = core.serialization.object({
|
|
32
|
+
label: core.serialization.string().optional(),
|
|
33
|
+
name: core.serialization.string().optional(),
|
|
34
|
+
description: core.serialization.string().optional(),
|
|
35
|
+
releaseTags: core.serialization.property("release_tags", core.serialization.list(core.serialization.string()).optional()),
|
|
36
|
+
});
|
|
@@ -30,4 +30,5 @@ exports.WorkflowPushResponse = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.WorkflowPushResponse = core.serialization.object({
|
|
32
32
|
workflowSandboxId: core.serialization.property("workflow_sandbox_id", core.serialization.string()),
|
|
33
|
+
workflowDeploymentId: core.serialization.property("workflow_deployment_id", core.serialization.string().optional()),
|
|
33
34
|
});
|
|
@@ -18,6 +18,9 @@ export * from "./ArrayVellumValue";
|
|
|
18
18
|
export * from "./ArrayVellumValueRequest";
|
|
19
19
|
export * from "./AudioChatMessageContent";
|
|
20
20
|
export * from "./AudioChatMessageContentRequest";
|
|
21
|
+
export * from "./AudioVariableValue";
|
|
22
|
+
export * from "./AudioVellumValue";
|
|
23
|
+
export * from "./AudioVellumValueRequest";
|
|
21
24
|
export * from "./BasicVectorizerIntfloatMultilingualE5Large";
|
|
22
25
|
export * from "./BasicVectorizerIntfloatMultilingualE5LargeRequest";
|
|
23
26
|
export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1";
|
|
@@ -452,6 +455,7 @@ export * from "./WorkflowOutputJson";
|
|
|
452
455
|
export * from "./WorkflowOutputNumber";
|
|
453
456
|
export * from "./WorkflowOutputSearchResults";
|
|
454
457
|
export * from "./WorkflowOutputString";
|
|
458
|
+
export * from "./WorkflowPushDeploymentConfigRequest";
|
|
455
459
|
export * from "./WorkflowPushExecConfig";
|
|
456
460
|
export * from "./WorkflowPushResponse";
|
|
457
461
|
export * from "./WorkflowReleaseTagRead";
|
|
@@ -34,6 +34,9 @@ __exportStar(require("./ArrayVellumValue"), exports);
|
|
|
34
34
|
__exportStar(require("./ArrayVellumValueRequest"), exports);
|
|
35
35
|
__exportStar(require("./AudioChatMessageContent"), exports);
|
|
36
36
|
__exportStar(require("./AudioChatMessageContentRequest"), exports);
|
|
37
|
+
__exportStar(require("./AudioVariableValue"), exports);
|
|
38
|
+
__exportStar(require("./AudioVellumValue"), exports);
|
|
39
|
+
__exportStar(require("./AudioVellumValueRequest"), exports);
|
|
37
40
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5Large"), exports);
|
|
38
41
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5LargeRequest"), exports);
|
|
39
42
|
__exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1"), exports);
|
|
@@ -468,6 +471,7 @@ __exportStar(require("./WorkflowOutputJson"), exports);
|
|
|
468
471
|
__exportStar(require("./WorkflowOutputNumber"), exports);
|
|
469
472
|
__exportStar(require("./WorkflowOutputSearchResults"), exports);
|
|
470
473
|
__exportStar(require("./WorkflowOutputString"), exports);
|
|
474
|
+
__exportStar(require("./WorkflowPushDeploymentConfigRequest"), exports);
|
|
471
475
|
__exportStar(require("./WorkflowPushExecConfig"), exports);
|
|
472
476
|
__exportStar(require("./WorkflowPushResponse"), exports);
|
|
473
477
|
__exportStar(require("./WorkflowReleaseTagRead"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "0.9.4";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -5,11 +5,13 @@ import * as serializers from "../../../../index";
|
|
|
5
5
|
import * as Vellum from "../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
7
|
import { WorkflowPushExecConfig } from "../../../../types/WorkflowPushExecConfig";
|
|
8
|
+
import { WorkflowPushDeploymentConfigRequest } from "../../../../types/WorkflowPushDeploymentConfigRequest";
|
|
8
9
|
export declare const WorkflowPushRequest: core.serialization.Schema<serializers.WorkflowPushRequest.Raw, Vellum.WorkflowPushRequest>;
|
|
9
10
|
export declare namespace WorkflowPushRequest {
|
|
10
11
|
interface Raw {
|
|
11
12
|
exec_config: WorkflowPushExecConfig.Raw;
|
|
12
13
|
label: string;
|
|
13
14
|
workflow_sandbox_id?: string | null;
|
|
15
|
+
deployment_config?: WorkflowPushDeploymentConfigRequest.Raw | null;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -29,8 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.WorkflowPushRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
|
31
31
|
const WorkflowPushExecConfig_1 = require("../../../../types/WorkflowPushExecConfig");
|
|
32
|
+
const WorkflowPushDeploymentConfigRequest_1 = require("../../../../types/WorkflowPushDeploymentConfigRequest");
|
|
32
33
|
exports.WorkflowPushRequest = core.serialization.object({
|
|
33
34
|
execConfig: core.serialization.property("exec_config", WorkflowPushExecConfig_1.WorkflowPushExecConfig),
|
|
34
35
|
label: core.serialization.string(),
|
|
35
36
|
workflowSandboxId: core.serialization.property("workflow_sandbox_id", core.serialization.string().optional()),
|
|
37
|
+
deploymentConfig: core.serialization.property("deployment_config", WorkflowPushDeploymentConfigRequest_1.WorkflowPushDeploymentConfigRequest.optional()),
|
|
36
38
|
});
|
|
@@ -10,9 +10,10 @@ import { JsonVariableValue } from "./JsonVariableValue";
|
|
|
10
10
|
import { ErrorVariableValue } from "./ErrorVariableValue";
|
|
11
11
|
import { FunctionCallVariableValue } from "./FunctionCallVariableValue";
|
|
12
12
|
import { ImageVariableValue } from "./ImageVariableValue";
|
|
13
|
+
import { AudioVariableValue } from "./AudioVariableValue";
|
|
13
14
|
import { ChatHistoryVariableValue } from "./ChatHistoryVariableValue";
|
|
14
15
|
import { SearchResultsVariableValue } from "./SearchResultsVariableValue";
|
|
15
16
|
export declare const ArrayVariableValueItem: core.serialization.Schema<serializers.ArrayVariableValueItem.Raw, Vellum.ArrayVariableValueItem>;
|
|
16
17
|
export declare namespace ArrayVariableValueItem {
|
|
17
|
-
type Raw = StringVariableValue.Raw | NumberVariableValue.Raw | JsonVariableValue.Raw | ErrorVariableValue.Raw | FunctionCallVariableValue.Raw | ImageVariableValue.Raw | ChatHistoryVariableValue.Raw | SearchResultsVariableValue.Raw | serializers.ArrayVariableValue.Raw;
|
|
18
|
+
type Raw = StringVariableValue.Raw | NumberVariableValue.Raw | JsonVariableValue.Raw | ErrorVariableValue.Raw | FunctionCallVariableValue.Raw | ImageVariableValue.Raw | AudioVariableValue.Raw | ChatHistoryVariableValue.Raw | SearchResultsVariableValue.Raw | serializers.ArrayVariableValue.Raw;
|
|
18
19
|
}
|
|
@@ -35,6 +35,7 @@ const JsonVariableValue_1 = require("./JsonVariableValue");
|
|
|
35
35
|
const ErrorVariableValue_1 = require("./ErrorVariableValue");
|
|
36
36
|
const FunctionCallVariableValue_1 = require("./FunctionCallVariableValue");
|
|
37
37
|
const ImageVariableValue_1 = require("./ImageVariableValue");
|
|
38
|
+
const AudioVariableValue_1 = require("./AudioVariableValue");
|
|
38
39
|
const ChatHistoryVariableValue_1 = require("./ChatHistoryVariableValue");
|
|
39
40
|
const SearchResultsVariableValue_1 = require("./SearchResultsVariableValue");
|
|
40
41
|
exports.ArrayVariableValueItem = core.serialization.undiscriminatedUnion([
|
|
@@ -44,6 +45,7 @@ exports.ArrayVariableValueItem = core.serialization.undiscriminatedUnion([
|
|
|
44
45
|
ErrorVariableValue_1.ErrorVariableValue,
|
|
45
46
|
FunctionCallVariableValue_1.FunctionCallVariableValue,
|
|
46
47
|
ImageVariableValue_1.ImageVariableValue,
|
|
48
|
+
AudioVariableValue_1.AudioVariableValue,
|
|
47
49
|
ChatHistoryVariableValue_1.ChatHistoryVariableValue,
|
|
48
50
|
SearchResultsVariableValue_1.SearchResultsVariableValue,
|
|
49
51
|
core.serialization.lazyObject(() => serializers.ArrayVariableValue),
|
|
@@ -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 { 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
|
+
}
|
|
@@ -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.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
|
+
});
|
|
@@ -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 { VellumAudio } from "./VellumAudio";
|
|
8
|
+
export declare const AudioVellumValue: core.serialization.ObjectSchema<serializers.AudioVellumValue.Raw, Vellum.AudioVellumValue>;
|
|
9
|
+
export declare namespace AudioVellumValue {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: "AUDIO";
|
|
12
|
+
value?: VellumAudio.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.AudioVellumValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const VellumAudio_1 = require("./VellumAudio");
|
|
32
|
+
exports.AudioVellumValue = core.serialization.object({
|
|
33
|
+
type: core.serialization.stringLiteral("AUDIO"),
|
|
34
|
+
value: VellumAudio_1.VellumAudio.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 { VellumAudioRequest } from "./VellumAudioRequest";
|
|
8
|
+
export declare const AudioVellumValueRequest: core.serialization.ObjectSchema<serializers.AudioVellumValueRequest.Raw, Vellum.AudioVellumValueRequest>;
|
|
9
|
+
export declare namespace AudioVellumValueRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: "AUDIO";
|
|
12
|
+
value?: VellumAudioRequest.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.AudioVellumValueRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const VellumAudioRequest_1 = require("./VellumAudioRequest");
|
|
32
|
+
exports.AudioVellumValueRequest = core.serialization.object({
|
|
33
|
+
type: core.serialization.stringLiteral("AUDIO"),
|
|
34
|
+
value: VellumAudioRequest_1.VellumAudioRequest.optional(),
|
|
35
|
+
});
|