vellum-ai 0.8.30 → 0.9.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 +16 -42
- package/.mock/openapi/openapi.yml +3450 -3761
- package/Client.js +10 -10
- 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 +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 +1 -1
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/types/ArrayInputRequest.d.ts +1 -1
- package/api/types/ArrayVellumValue.d.ts +1 -1
- package/api/types/ArrayVellumValueRequest.d.ts +1 -1
- package/api/types/CodeExecutionNodeArrayResult.d.ts +1 -1
- package/api/types/ExecutionArrayVellumValue.d.ts +1 -1
- package/api/types/NamedTestCaseArrayVariableValue.d.ts +1 -1
- package/api/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -1
- package/api/types/NodeInputCompiledArrayValue.d.ts +1 -1
- package/api/types/NodeOutputCompiledArrayValue.d.ts +1 -1
- package/api/types/TemplatingNodeArrayResult.d.ts +1 -1
- package/api/types/TerminalNodeArrayResult.d.ts +1 -1
- package/api/types/TestCaseArrayVariableValue.d.ts +1 -1
- package/api/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -1
- package/api/types/VellumVariableType.d.ts +3 -1
- package/api/types/VellumVariableType.js +1 -0
- package/api/types/WorkflowOutputArray.d.ts +1 -1
- package/api/types/index.d.ts +0 -2
- package/api/types/index.js +0 -2
- package/dist/Client.js +10 -10
- 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 +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 +1 -1
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/types/ArrayInputRequest.d.ts +1 -1
- package/dist/api/types/ArrayVellumValue.d.ts +1 -1
- package/dist/api/types/ArrayVellumValueRequest.d.ts +1 -1
- package/dist/api/types/CodeExecutionNodeArrayResult.d.ts +1 -1
- package/dist/api/types/ExecutionArrayVellumValue.d.ts +1 -1
- package/dist/api/types/NamedTestCaseArrayVariableValue.d.ts +1 -1
- package/dist/api/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -1
- package/dist/api/types/NodeInputCompiledArrayValue.d.ts +1 -1
- package/dist/api/types/NodeOutputCompiledArrayValue.d.ts +1 -1
- package/dist/api/types/TemplatingNodeArrayResult.d.ts +1 -1
- package/dist/api/types/TerminalNodeArrayResult.d.ts +1 -1
- package/dist/api/types/TestCaseArrayVariableValue.d.ts +1 -1
- package/dist/api/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -1
- package/dist/api/types/VellumVariableType.d.ts +3 -1
- package/dist/api/types/VellumVariableType.js +1 -0
- package/dist/api/types/WorkflowOutputArray.d.ts +1 -1
- package/dist/api/types/index.d.ts +0 -2
- package/dist/api/types/index.js +0 -2
- package/dist/serialization/types/ArrayInputRequest.d.ts +1 -1
- package/dist/serialization/types/ArrayInputRequest.js +1 -1
- package/dist/serialization/types/ArrayVellumValue.d.ts +1 -1
- package/dist/serialization/types/ArrayVellumValue.js +1 -1
- package/dist/serialization/types/ArrayVellumValueRequest.d.ts +1 -1
- package/dist/serialization/types/ArrayVellumValueRequest.js +1 -1
- package/dist/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -1
- package/dist/serialization/types/CodeExecutionNodeArrayResult.js +1 -1
- package/dist/serialization/types/CodeExecutorResponse.d.ts +1 -2
- package/dist/serialization/types/CodeExecutorResponse.js +2 -2
- package/dist/serialization/types/ExecutionArrayVellumValue.d.ts +1 -1
- package/dist/serialization/types/ExecutionArrayVellumValue.js +1 -1
- package/dist/serialization/types/NamedTestCaseArrayVariableValue.d.ts +1 -1
- package/dist/serialization/types/NamedTestCaseArrayVariableValue.js +1 -1
- package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -1
- package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.js +1 -1
- package/dist/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -1
- package/dist/serialization/types/NodeInputCompiledArrayValue.js +1 -1
- package/dist/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -1
- package/dist/serialization/types/NodeOutputCompiledArrayValue.js +1 -1
- package/dist/serialization/types/TemplatingNodeArrayResult.d.ts +1 -1
- package/dist/serialization/types/TemplatingNodeArrayResult.js +1 -1
- package/dist/serialization/types/TerminalNodeArrayResult.d.ts +1 -1
- package/dist/serialization/types/TerminalNodeArrayResult.js +1 -1
- package/dist/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseArrayVariableValue.js +1 -1
- package/dist/serialization/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -1
- package/dist/serialization/types/TestSuiteRunExecutionArrayOutput.js +1 -1
- package/dist/serialization/types/VellumValueLogicalConditionRequest.d.ts +2 -3
- package/dist/serialization/types/VellumValueLogicalConditionRequest.js +3 -3
- package/dist/serialization/types/VellumVariable.d.ts +1 -2
- package/dist/serialization/types/VellumVariable.js +2 -2
- package/dist/serialization/types/VellumVariableRequest.d.ts +1 -2
- package/dist/serialization/types/VellumVariableRequest.js +2 -2
- package/dist/serialization/types/VellumVariableType.d.ts +1 -1
- package/dist/serialization/types/VellumVariableType.js +1 -0
- package/dist/serialization/types/WorkflowOutputArray.d.ts +1 -1
- package/dist/serialization/types/WorkflowOutputArray.js +1 -1
- package/dist/serialization/types/index.d.ts +0 -2
- package/dist/serialization/types/index.js +0 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/ArrayInputRequest.d.ts +1 -1
- package/serialization/types/ArrayInputRequest.js +1 -1
- package/serialization/types/ArrayVellumValue.d.ts +1 -1
- package/serialization/types/ArrayVellumValue.js +1 -1
- package/serialization/types/ArrayVellumValueRequest.d.ts +1 -1
- package/serialization/types/ArrayVellumValueRequest.js +1 -1
- package/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -1
- package/serialization/types/CodeExecutionNodeArrayResult.js +1 -1
- package/serialization/types/CodeExecutorResponse.d.ts +1 -2
- package/serialization/types/CodeExecutorResponse.js +2 -2
- package/serialization/types/ExecutionArrayVellumValue.d.ts +1 -1
- package/serialization/types/ExecutionArrayVellumValue.js +1 -1
- package/serialization/types/NamedTestCaseArrayVariableValue.d.ts +1 -1
- package/serialization/types/NamedTestCaseArrayVariableValue.js +1 -1
- package/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -1
- package/serialization/types/NamedTestCaseArrayVariableValueRequest.js +1 -1
- package/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -1
- package/serialization/types/NodeInputCompiledArrayValue.js +1 -1
- package/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -1
- package/serialization/types/NodeOutputCompiledArrayValue.js +1 -1
- package/serialization/types/TemplatingNodeArrayResult.d.ts +1 -1
- package/serialization/types/TemplatingNodeArrayResult.js +1 -1
- package/serialization/types/TerminalNodeArrayResult.d.ts +1 -1
- package/serialization/types/TerminalNodeArrayResult.js +1 -1
- package/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseArrayVariableValue.js +1 -1
- package/serialization/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -1
- package/serialization/types/TestSuiteRunExecutionArrayOutput.js +1 -1
- package/serialization/types/VellumValueLogicalConditionRequest.d.ts +2 -3
- package/serialization/types/VellumValueLogicalConditionRequest.js +3 -3
- package/serialization/types/VellumVariable.d.ts +1 -2
- package/serialization/types/VellumVariable.js +2 -2
- package/serialization/types/VellumVariableRequest.d.ts +1 -2
- package/serialization/types/VellumVariableRequest.js +2 -2
- package/serialization/types/VellumVariableType.d.ts +1 -1
- package/serialization/types/VellumVariableType.js +1 -0
- package/serialization/types/WorkflowOutputArray.d.ts +1 -1
- package/serialization/types/WorkflowOutputArray.js +1 -1
- package/serialization/types/index.d.ts +0 -2
- package/serialization/types/index.js +0 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/ArrayVellumValueItem.d.ts +0 -5
- package/api/types/ArrayVellumValueItem.js +0 -5
- package/api/types/ArrayVellumValueItemRequest.d.ts +0 -5
- package/api/types/ArrayVellumValueItemRequest.js +0 -5
- package/dist/api/types/ArrayVellumValueItem.d.ts +0 -5
- package/dist/api/types/ArrayVellumValueItem.js +0 -5
- package/dist/api/types/ArrayVellumValueItemRequest.d.ts +0 -5
- package/dist/api/types/ArrayVellumValueItemRequest.js +0 -5
- package/dist/serialization/types/ArrayVellumValueItem.d.ts +0 -18
- package/dist/serialization/types/ArrayVellumValueItem.js +0 -50
- package/dist/serialization/types/ArrayVellumValueItemRequest.d.ts +0 -18
- package/dist/serialization/types/ArrayVellumValueItemRequest.js +0 -50
- package/serialization/types/ArrayVellumValueItem.d.ts +0 -18
- package/serialization/types/ArrayVellumValueItem.js +0 -50
- package/serialization/types/ArrayVellumValueItemRequest.d.ts +0 -18
- package/serialization/types/ArrayVellumValueItemRequest.js +0 -50
|
@@ -15,8 +15,6 @@ export * from "./ArrayInputRequest";
|
|
|
15
15
|
export * from "./ArrayVariableValue";
|
|
16
16
|
export * from "./ArrayVariableValueItem";
|
|
17
17
|
export * from "./ArrayVellumValue";
|
|
18
|
-
export * from "./ArrayVellumValueItem";
|
|
19
|
-
export * from "./ArrayVellumValueItemRequest";
|
|
20
18
|
export * from "./ArrayVellumValueRequest";
|
|
21
19
|
export * from "./BasicVectorizerIntfloatMultilingualE5Large";
|
|
22
20
|
export * from "./BasicVectorizerIntfloatMultilingualE5LargeRequest";
|
|
@@ -31,8 +31,6 @@ __exportStar(require("./ArrayInputRequest"), exports);
|
|
|
31
31
|
__exportStar(require("./ArrayVariableValue"), exports);
|
|
32
32
|
__exportStar(require("./ArrayVariableValueItem"), exports);
|
|
33
33
|
__exportStar(require("./ArrayVellumValue"), exports);
|
|
34
|
-
__exportStar(require("./ArrayVellumValueItem"), exports);
|
|
35
|
-
__exportStar(require("./ArrayVellumValueItemRequest"), exports);
|
|
36
34
|
__exportStar(require("./ArrayVellumValueRequest"), exports);
|
|
37
35
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5Large"), exports);
|
|
38
36
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5LargeRequest"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.
|
|
1
|
+
export declare const SDK_VERSION = "0.9.0";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -32,5 +32,5 @@ const core = __importStar(require("../../core"));
|
|
|
32
32
|
exports.ArrayInputRequest = core.serialization.object({
|
|
33
33
|
name: core.serialization.string(),
|
|
34
34
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
35
|
-
value: core.serialization.list(core.serialization.lazy(() => serializers.
|
|
35
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValueRequest)),
|
|
36
36
|
});
|
|
@@ -8,6 +8,6 @@ export declare const ArrayVellumValue: core.serialization.ObjectSchema<serialize
|
|
|
8
8
|
export declare namespace ArrayVellumValue {
|
|
9
9
|
interface Raw {
|
|
10
10
|
type: "ARRAY";
|
|
11
|
-
value?: serializers.
|
|
11
|
+
value?: serializers.VellumValue.Raw[] | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -31,5 +31,5 @@ const serializers = __importStar(require("../index"));
|
|
|
31
31
|
const core = __importStar(require("../../core"));
|
|
32
32
|
exports.ArrayVellumValue = core.serialization.object({
|
|
33
33
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
34
|
-
value: core.serialization.list(core.serialization.lazy(() => serializers.
|
|
34
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
|
|
35
35
|
});
|
|
@@ -8,6 +8,6 @@ export declare const ArrayVellumValueRequest: core.serialization.ObjectSchema<se
|
|
|
8
8
|
export declare namespace ArrayVellumValueRequest {
|
|
9
9
|
interface Raw {
|
|
10
10
|
type: "ARRAY";
|
|
11
|
-
value?: serializers.
|
|
11
|
+
value?: serializers.VellumValueRequest.Raw[] | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -31,5 +31,5 @@ const serializers = __importStar(require("../index"));
|
|
|
31
31
|
const core = __importStar(require("../../core"));
|
|
32
32
|
exports.ArrayVellumValueRequest = core.serialization.object({
|
|
33
33
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
34
|
-
value: core.serialization.list(core.serialization.lazy(() => serializers.
|
|
34
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValueRequest)).optional(),
|
|
35
35
|
});
|
|
@@ -32,5 +32,5 @@ const core = __importStar(require("../../core"));
|
|
|
32
32
|
exports.CodeExecutionNodeArrayResult = core.serialization.object({
|
|
33
33
|
id: core.serialization.string(),
|
|
34
34
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
35
|
-
value: core.serialization.list(core.serialization.lazy(() => serializers.
|
|
35
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
|
|
36
36
|
});
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import { VellumValue } from "./VellumValue";
|
|
8
7
|
export declare const CodeExecutorResponse: core.serialization.ObjectSchema<serializers.CodeExecutorResponse.Raw, Vellum.CodeExecutorResponse>;
|
|
9
8
|
export declare namespace CodeExecutorResponse {
|
|
10
9
|
interface Raw {
|
|
11
10
|
log: string;
|
|
12
|
-
output: VellumValue.Raw;
|
|
11
|
+
output: serializers.VellumValue.Raw;
|
|
13
12
|
}
|
|
14
13
|
}
|
|
@@ -27,9 +27,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.CodeExecutorResponse = void 0;
|
|
30
|
+
const serializers = __importStar(require("../index"));
|
|
30
31
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const VellumValue_1 = require("./VellumValue");
|
|
32
32
|
exports.CodeExecutorResponse = core.serialization.object({
|
|
33
33
|
log: core.serialization.string(),
|
|
34
|
-
output:
|
|
34
|
+
output: core.serialization.lazy(() => serializers.VellumValue),
|
|
35
35
|
});
|
|
@@ -33,5 +33,5 @@ exports.ExecutionArrayVellumValue = 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(core.serialization.lazy(() => serializers.
|
|
36
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
|
|
37
37
|
});
|
|
@@ -8,7 +8,7 @@ export declare const NamedTestCaseArrayVariableValue: core.serialization.ObjectS
|
|
|
8
8
|
export declare namespace NamedTestCaseArrayVariableValue {
|
|
9
9
|
interface Raw {
|
|
10
10
|
type: "ARRAY";
|
|
11
|
-
value?: serializers.
|
|
11
|
+
value?: serializers.VellumValue.Raw[] | null;
|
|
12
12
|
name: string;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -31,6 +31,6 @@ const serializers = __importStar(require("../index"));
|
|
|
31
31
|
const core = __importStar(require("../../core"));
|
|
32
32
|
exports.NamedTestCaseArrayVariableValue = core.serialization.object({
|
|
33
33
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
34
|
-
value: core.serialization.list(core.serialization.lazy(() => serializers.
|
|
34
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
|
|
35
35
|
name: core.serialization.string(),
|
|
36
36
|
});
|
|
@@ -8,7 +8,7 @@ export declare const NamedTestCaseArrayVariableValueRequest: core.serialization.
|
|
|
8
8
|
export declare namespace NamedTestCaseArrayVariableValueRequest {
|
|
9
9
|
interface Raw {
|
|
10
10
|
type: "ARRAY";
|
|
11
|
-
value?: serializers.
|
|
11
|
+
value?: serializers.VellumValueRequest.Raw[] | null;
|
|
12
12
|
name: string;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -31,6 +31,6 @@ const serializers = __importStar(require("../index"));
|
|
|
31
31
|
const core = __importStar(require("../../core"));
|
|
32
32
|
exports.NamedTestCaseArrayVariableValueRequest = core.serialization.object({
|
|
33
33
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
34
|
-
value: core.serialization.list(core.serialization.lazy(() => serializers.
|
|
34
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValueRequest)).optional(),
|
|
35
35
|
name: core.serialization.string(),
|
|
36
36
|
});
|
|
@@ -33,5 +33,5 @@ exports.NodeInputCompiledArrayValue = core.serialization.object({
|
|
|
33
33
|
nodeInputId: core.serialization.property("node_input_id", core.serialization.string()),
|
|
34
34
|
key: core.serialization.string(),
|
|
35
35
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
36
|
-
value: core.serialization.list(core.serialization.lazy(() => serializers.
|
|
36
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
|
|
37
37
|
});
|
|
@@ -9,7 +9,7 @@ export declare const NodeOutputCompiledArrayValue: core.serialization.ObjectSche
|
|
|
9
9
|
export declare namespace NodeOutputCompiledArrayValue {
|
|
10
10
|
interface Raw {
|
|
11
11
|
type: "ARRAY";
|
|
12
|
-
value?: serializers.
|
|
12
|
+
value?: serializers.VellumValue.Raw[] | null;
|
|
13
13
|
node_output_id: string;
|
|
14
14
|
state?: WorkflowNodeResultEventState.Raw | null;
|
|
15
15
|
}
|
|
@@ -32,7 +32,7 @@ const core = __importStar(require("../../core"));
|
|
|
32
32
|
const WorkflowNodeResultEventState_1 = require("./WorkflowNodeResultEventState");
|
|
33
33
|
exports.NodeOutputCompiledArrayValue = core.serialization.object({
|
|
34
34
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
35
|
-
value: core.serialization.list(core.serialization.lazy(() => serializers.
|
|
35
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
|
|
36
36
|
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
37
37
|
state: WorkflowNodeResultEventState_1.WorkflowNodeResultEventState.optional(),
|
|
38
38
|
});
|
|
@@ -32,5 +32,5 @@ const core = __importStar(require("../../core"));
|
|
|
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(core.serialization.lazy(() => serializers.
|
|
35
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
|
|
36
36
|
});
|
|
@@ -33,5 +33,5 @@ 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(core.serialization.lazy(() => serializers.
|
|
36
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
|
|
37
37
|
});
|
|
@@ -33,5 +33,5 @@ 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(core.serialization.lazy(() => serializers.
|
|
36
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
|
|
37
37
|
});
|
|
@@ -32,6 +32,6 @@ const core = __importStar(require("../../core"));
|
|
|
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(core.serialization.lazy(() => serializers.
|
|
35
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
|
|
36
36
|
outputVariableId: core.serialization.property("output_variable_id", core.serialization.string()),
|
|
37
37
|
});
|
|
@@ -4,14 +4,13 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import { VellumValueRequest } from "./VellumValueRequest";
|
|
8
7
|
import { LogicalOperator } from "./LogicalOperator";
|
|
9
8
|
export declare const VellumValueLogicalConditionRequest: core.serialization.ObjectSchema<serializers.VellumValueLogicalConditionRequest.Raw, Vellum.VellumValueLogicalConditionRequest>;
|
|
10
9
|
export declare namespace VellumValueLogicalConditionRequest {
|
|
11
10
|
interface Raw {
|
|
12
11
|
type: "LOGICAL_CONDITION";
|
|
13
|
-
lhs_variable: VellumValueRequest.Raw;
|
|
12
|
+
lhs_variable: serializers.VellumValueRequest.Raw;
|
|
14
13
|
operator: LogicalOperator.Raw;
|
|
15
|
-
rhs_variable: VellumValueRequest.Raw;
|
|
14
|
+
rhs_variable: serializers.VellumValueRequest.Raw;
|
|
16
15
|
}
|
|
17
16
|
}
|
|
@@ -27,12 +27,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.VellumValueLogicalConditionRequest = void 0;
|
|
30
|
+
const serializers = __importStar(require("../index"));
|
|
30
31
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const VellumValueRequest_1 = require("./VellumValueRequest");
|
|
32
32
|
const LogicalOperator_1 = require("./LogicalOperator");
|
|
33
33
|
exports.VellumValueLogicalConditionRequest = core.serialization.object({
|
|
34
34
|
type: core.serialization.stringLiteral("LOGICAL_CONDITION"),
|
|
35
|
-
lhsVariable: core.serialization.property("lhs_variable",
|
|
35
|
+
lhsVariable: core.serialization.property("lhs_variable", core.serialization.lazy(() => serializers.VellumValueRequest)),
|
|
36
36
|
operator: LogicalOperator_1.LogicalOperator,
|
|
37
|
-
rhsVariable: core.serialization.property("rhs_variable",
|
|
37
|
+
rhsVariable: core.serialization.property("rhs_variable", core.serialization.lazy(() => serializers.VellumValueRequest)),
|
|
38
38
|
});
|
|
@@ -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 { VellumVariableType } from "./VellumVariableType";
|
|
8
|
-
import { VellumValue } from "./VellumValue";
|
|
9
8
|
import { VellumVariableExtensions } from "./VellumVariableExtensions";
|
|
10
9
|
export declare const VellumVariable: core.serialization.ObjectSchema<serializers.VellumVariable.Raw, Vellum.VellumVariable>;
|
|
11
10
|
export declare namespace VellumVariable {
|
|
@@ -14,7 +13,7 @@ export declare namespace VellumVariable {
|
|
|
14
13
|
key: string;
|
|
15
14
|
type: VellumVariableType.Raw;
|
|
16
15
|
required?: boolean | null;
|
|
17
|
-
default?: VellumValue.Raw | null;
|
|
16
|
+
default?: serializers.VellumValue.Raw | null;
|
|
18
17
|
extensions?: VellumVariableExtensions.Raw | null;
|
|
19
18
|
}
|
|
20
19
|
}
|
|
@@ -27,15 +27,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.VellumVariable = void 0;
|
|
30
|
+
const serializers = __importStar(require("../index"));
|
|
30
31
|
const core = __importStar(require("../../core"));
|
|
31
32
|
const VellumVariableType_1 = require("./VellumVariableType");
|
|
32
|
-
const VellumValue_1 = require("./VellumValue");
|
|
33
33
|
const VellumVariableExtensions_1 = require("./VellumVariableExtensions");
|
|
34
34
|
exports.VellumVariable = core.serialization.object({
|
|
35
35
|
id: core.serialization.string(),
|
|
36
36
|
key: core.serialization.string(),
|
|
37
37
|
type: VellumVariableType_1.VellumVariableType,
|
|
38
38
|
required: core.serialization.boolean().optional(),
|
|
39
|
-
default:
|
|
39
|
+
default: core.serialization.lazy(() => serializers.VellumValue).optional(),
|
|
40
40
|
extensions: VellumVariableExtensions_1.VellumVariableExtensions.optional(),
|
|
41
41
|
});
|
|
@@ -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 { VellumVariableType } from "./VellumVariableType";
|
|
8
|
-
import { VellumValueRequest } from "./VellumValueRequest";
|
|
9
8
|
import { VellumVariableExtensionsRequest } from "./VellumVariableExtensionsRequest";
|
|
10
9
|
export declare const VellumVariableRequest: core.serialization.ObjectSchema<serializers.VellumVariableRequest.Raw, Vellum.VellumVariableRequest>;
|
|
11
10
|
export declare namespace VellumVariableRequest {
|
|
@@ -14,7 +13,7 @@ export declare namespace VellumVariableRequest {
|
|
|
14
13
|
key: string;
|
|
15
14
|
type: VellumVariableType.Raw;
|
|
16
15
|
required?: boolean | null;
|
|
17
|
-
default?: VellumValueRequest.Raw | null;
|
|
16
|
+
default?: serializers.VellumValueRequest.Raw | null;
|
|
18
17
|
extensions?: VellumVariableExtensionsRequest.Raw | null;
|
|
19
18
|
}
|
|
20
19
|
}
|
|
@@ -27,15 +27,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.VellumVariableRequest = void 0;
|
|
30
|
+
const serializers = __importStar(require("../index"));
|
|
30
31
|
const core = __importStar(require("../../core"));
|
|
31
32
|
const VellumVariableType_1 = require("./VellumVariableType");
|
|
32
|
-
const VellumValueRequest_1 = require("./VellumValueRequest");
|
|
33
33
|
const VellumVariableExtensionsRequest_1 = require("./VellumVariableExtensionsRequest");
|
|
34
34
|
exports.VellumVariableRequest = core.serialization.object({
|
|
35
35
|
id: core.serialization.string(),
|
|
36
36
|
key: core.serialization.string(),
|
|
37
37
|
type: VellumVariableType_1.VellumVariableType,
|
|
38
38
|
required: core.serialization.boolean().optional(),
|
|
39
|
-
default:
|
|
39
|
+
default: core.serialization.lazy(() => serializers.VellumValueRequest).optional(),
|
|
40
40
|
extensions: VellumVariableExtensionsRequest_1.VellumVariableExtensionsRequest.optional(),
|
|
41
41
|
});
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const VellumVariableType: core.serialization.Schema<serializers.VellumVariableType.Raw, Vellum.VellumVariableType>;
|
|
8
8
|
export declare namespace VellumVariableType {
|
|
9
|
-
type Raw = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY" | "FUNCTION_CALL" | "IMAGE" | "NULL";
|
|
9
|
+
type Raw = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY" | "FUNCTION_CALL" | "IMAGE" | "AUDIO" | "NULL";
|
|
10
10
|
}
|
|
@@ -33,5 +33,5 @@ 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(core.serialization.lazy(() => serializers.
|
|
36
|
+
value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
|
|
37
37
|
});
|
|
@@ -15,8 +15,6 @@ export * from "./ArrayInputRequest";
|
|
|
15
15
|
export * from "./ArrayVariableValue";
|
|
16
16
|
export * from "./ArrayVariableValueItem";
|
|
17
17
|
export * from "./ArrayVellumValue";
|
|
18
|
-
export * from "./ArrayVellumValueItem";
|
|
19
|
-
export * from "./ArrayVellumValueItemRequest";
|
|
20
18
|
export * from "./ArrayVellumValueRequest";
|
|
21
19
|
export * from "./BasicVectorizerIntfloatMultilingualE5Large";
|
|
22
20
|
export * from "./BasicVectorizerIntfloatMultilingualE5LargeRequest";
|
|
@@ -31,8 +31,6 @@ __exportStar(require("./ArrayInputRequest"), exports);
|
|
|
31
31
|
__exportStar(require("./ArrayVariableValue"), exports);
|
|
32
32
|
__exportStar(require("./ArrayVariableValueItem"), exports);
|
|
33
33
|
__exportStar(require("./ArrayVellumValue"), exports);
|
|
34
|
-
__exportStar(require("./ArrayVellumValueItem"), exports);
|
|
35
|
-
__exportStar(require("./ArrayVellumValueItemRequest"), exports);
|
|
36
34
|
__exportStar(require("./ArrayVellumValueRequest"), exports);
|
|
37
35
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5Large"), exports);
|
|
38
36
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5LargeRequest"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.
|
|
1
|
+
export declare const SDK_VERSION = "0.9.0";
|
package/version.js
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Vellum from "../index";
|
|
5
|
-
export declare type ArrayVellumValueItem = Vellum.StringVellumValue | Vellum.NumberVellumValue | Vellum.JsonVellumValue | Vellum.ImageVellumValue | Vellum.FunctionCallVellumValue | Vellum.ErrorVellumValue | Vellum.ChatHistoryVellumValue | Vellum.SearchResultsVellumValue | Vellum.ArrayVellumValue;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Vellum from "../index";
|
|
5
|
-
export declare type ArrayVellumValueItemRequest = Vellum.StringVellumValueRequest | Vellum.NumberVellumValueRequest | Vellum.JsonVellumValueRequest | Vellum.ImageVellumValueRequest | Vellum.FunctionCallVellumValueRequest | Vellum.ErrorVellumValueRequest | Vellum.ChatHistoryVellumValueRequest | Vellum.SearchResultsVellumValueRequest | Vellum.ArrayVellumValueRequest;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Vellum from "../index";
|
|
5
|
-
export declare type ArrayVellumValueItem = Vellum.StringVellumValue | Vellum.NumberVellumValue | Vellum.JsonVellumValue | Vellum.ImageVellumValue | Vellum.FunctionCallVellumValue | Vellum.ErrorVellumValue | Vellum.ChatHistoryVellumValue | Vellum.SearchResultsVellumValue | Vellum.ArrayVellumValue;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Vellum from "../index";
|
|
5
|
-
export declare type ArrayVellumValueItemRequest = Vellum.StringVellumValueRequest | Vellum.NumberVellumValueRequest | Vellum.JsonVellumValueRequest | Vellum.ImageVellumValueRequest | Vellum.FunctionCallVellumValueRequest | Vellum.ErrorVellumValueRequest | Vellum.ChatHistoryVellumValueRequest | Vellum.SearchResultsVellumValueRequest | Vellum.ArrayVellumValueRequest;
|
|
@@ -1,18 +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 { StringVellumValue } from "./StringVellumValue";
|
|
8
|
-
import { NumberVellumValue } from "./NumberVellumValue";
|
|
9
|
-
import { JsonVellumValue } from "./JsonVellumValue";
|
|
10
|
-
import { ImageVellumValue } from "./ImageVellumValue";
|
|
11
|
-
import { FunctionCallVellumValue } from "./FunctionCallVellumValue";
|
|
12
|
-
import { ErrorVellumValue } from "./ErrorVellumValue";
|
|
13
|
-
import { ChatHistoryVellumValue } from "./ChatHistoryVellumValue";
|
|
14
|
-
import { SearchResultsVellumValue } from "./SearchResultsVellumValue";
|
|
15
|
-
export declare const ArrayVellumValueItem: core.serialization.Schema<serializers.ArrayVellumValueItem.Raw, Vellum.ArrayVellumValueItem>;
|
|
16
|
-
export declare namespace ArrayVellumValueItem {
|
|
17
|
-
type Raw = StringVellumValue.Raw | NumberVellumValue.Raw | JsonVellumValue.Raw | ImageVellumValue.Raw | FunctionCallVellumValue.Raw | ErrorVellumValue.Raw | ChatHistoryVellumValue.Raw | SearchResultsVellumValue.Raw | serializers.ArrayVellumValue.Raw;
|
|
18
|
-
}
|
|
@@ -1,50 +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.ArrayVellumValueItem = void 0;
|
|
30
|
-
const serializers = __importStar(require("../index"));
|
|
31
|
-
const core = __importStar(require("../../core"));
|
|
32
|
-
const StringVellumValue_1 = require("./StringVellumValue");
|
|
33
|
-
const NumberVellumValue_1 = require("./NumberVellumValue");
|
|
34
|
-
const JsonVellumValue_1 = require("./JsonVellumValue");
|
|
35
|
-
const ImageVellumValue_1 = require("./ImageVellumValue");
|
|
36
|
-
const FunctionCallVellumValue_1 = require("./FunctionCallVellumValue");
|
|
37
|
-
const ErrorVellumValue_1 = require("./ErrorVellumValue");
|
|
38
|
-
const ChatHistoryVellumValue_1 = require("./ChatHistoryVellumValue");
|
|
39
|
-
const SearchResultsVellumValue_1 = require("./SearchResultsVellumValue");
|
|
40
|
-
exports.ArrayVellumValueItem = core.serialization.undiscriminatedUnion([
|
|
41
|
-
StringVellumValue_1.StringVellumValue,
|
|
42
|
-
NumberVellumValue_1.NumberVellumValue,
|
|
43
|
-
JsonVellumValue_1.JsonVellumValue,
|
|
44
|
-
ImageVellumValue_1.ImageVellumValue,
|
|
45
|
-
FunctionCallVellumValue_1.FunctionCallVellumValue,
|
|
46
|
-
ErrorVellumValue_1.ErrorVellumValue,
|
|
47
|
-
ChatHistoryVellumValue_1.ChatHistoryVellumValue,
|
|
48
|
-
SearchResultsVellumValue_1.SearchResultsVellumValue,
|
|
49
|
-
core.serialization.lazyObject(() => serializers.ArrayVellumValue),
|
|
50
|
-
]);
|