vellum-ai 0.9.3 → 0.9.5
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 +77 -1
- package/.mock/definition/deployments.yml +50 -1
- package/.mock/definition/workflowDeployments.yml +49 -0
- package/.mock/definition/workflows.yml +17 -2
- package/.mock/openapi/openapi.yml +232 -1
- 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.d.ts +12 -1
- package/api/resources/deployments/client/Client.js +74 -6
- package/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.d.ts +23 -0
- package/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.js +5 -0
- package/api/resources/deployments/client/requests/index.d.ts +1 -0
- package/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +8 -0
- package/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +10 -0
- package/api/resources/deployments/types/index.d.ts +1 -0
- package/api/resources/deployments/types/index.js +1 -0
- 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/index.d.ts +2 -1
- package/api/resources/index.js +3 -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.d.ts +11 -0
- package/api/resources/workflowDeployments/client/Client.js +72 -4
- package/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.d.ts +23 -0
- package/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.js +5 -0
- package/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
- package/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +8 -0
- package/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +10 -0
- package/api/resources/workflowDeployments/types/index.d.ts +1 -0
- package/api/resources/workflowDeployments/types/index.js +1 -0
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.d.ts +3 -2
- package/api/resources/workflows/client/Client.js +20 -7
- package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
- package/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +13 -0
- package/api/resources/workflows/client/requests/WorkflowsPullRequest.js +5 -0
- package/api/resources/workflows/client/requests/index.d.ts +1 -0
- package/api/resources/workflows/index.d.ts +1 -0
- package/api/resources/workflows/index.js +1 -0
- package/api/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +8 -0
- package/api/resources/workflows/types/WorkflowsPullRequestFormat.js +10 -0
- package/api/resources/workflows/types/index.d.ts +1 -0
- package/api/resources/workflows/types/index.js +17 -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/PaginatedDeploymentReleaseTagReadList.d.ts +10 -0
- package/api/types/PaginatedDeploymentReleaseTagReadList.js +5 -0
- package/api/types/PaginatedWorkflowReleaseTagReadList.d.ts +10 -0
- package/api/types/PaginatedWorkflowReleaseTagReadList.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 +6 -0
- package/api/types/index.js +6 -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.d.ts +12 -1
- package/dist/api/resources/deployments/client/Client.js +74 -6
- package/dist/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.d.ts +23 -0
- package/dist/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.js +5 -0
- package/dist/api/resources/deployments/client/requests/index.d.ts +1 -0
- package/dist/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +8 -0
- package/dist/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +10 -0
- package/dist/api/resources/deployments/types/index.d.ts +1 -0
- package/dist/api/resources/deployments/types/index.js +1 -0
- 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/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -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.d.ts +11 -0
- package/dist/api/resources/workflowDeployments/client/Client.js +72 -4
- package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.d.ts +23 -0
- package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.js +5 -0
- package/dist/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +8 -0
- package/dist/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +10 -0
- package/dist/api/resources/workflowDeployments/types/index.d.ts +1 -0
- package/dist/api/resources/workflowDeployments/types/index.js +1 -0
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.d.ts +3 -2
- package/dist/api/resources/workflows/client/Client.js +20 -7
- package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
- package/dist/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +13 -0
- package/dist/api/resources/workflows/client/requests/WorkflowsPullRequest.js +5 -0
- package/dist/api/resources/workflows/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workflows/index.d.ts +1 -0
- package/dist/api/resources/workflows/index.js +1 -0
- package/dist/api/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +8 -0
- package/dist/api/resources/workflows/types/WorkflowsPullRequestFormat.js +10 -0
- package/dist/api/resources/workflows/types/index.d.ts +1 -0
- package/dist/api/resources/workflows/types/index.js +17 -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/PaginatedDeploymentReleaseTagReadList.d.ts +10 -0
- package/dist/api/types/PaginatedDeploymentReleaseTagReadList.js +5 -0
- package/dist/api/types/PaginatedWorkflowReleaseTagReadList.d.ts +10 -0
- package/dist/api/types/PaginatedWorkflowReleaseTagReadList.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 +6 -0
- package/dist/api/types/index.js +6 -0
- package/dist/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +10 -0
- package/dist/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +31 -0
- package/dist/serialization/resources/deployments/types/index.d.ts +1 -0
- package/dist/serialization/resources/deployments/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +10 -0
- package/dist/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +31 -0
- package/dist/serialization/resources/workflowDeployments/types/index.d.ts +1 -0
- package/dist/serialization/resources/workflowDeployments/types/index.js +1 -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/resources/workflows/index.d.ts +1 -0
- package/dist/serialization/resources/workflows/index.js +1 -0
- package/dist/serialization/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +10 -0
- package/dist/serialization/resources/workflows/types/WorkflowsPullRequestFormat.js +31 -0
- package/dist/serialization/resources/workflows/types/index.d.ts +1 -0
- package/dist/serialization/resources/workflows/types/index.js +17 -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/PaginatedDeploymentReleaseTagReadList.d.ts +16 -0
- package/dist/serialization/types/PaginatedDeploymentReleaseTagReadList.js +37 -0
- package/dist/serialization/types/PaginatedWorkflowReleaseTagReadList.d.ts +16 -0
- package/dist/serialization/types/PaginatedWorkflowReleaseTagReadList.js +37 -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 +6 -0
- package/dist/serialization/types/index.js +6 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +155 -3
- package/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +10 -0
- package/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +31 -0
- package/serialization/resources/deployments/types/index.d.ts +1 -0
- package/serialization/resources/deployments/types/index.js +1 -0
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +10 -0
- package/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +31 -0
- package/serialization/resources/workflowDeployments/types/index.d.ts +1 -0
- package/serialization/resources/workflowDeployments/types/index.js +1 -0
- package/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -0
- package/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +2 -0
- package/serialization/resources/workflows/index.d.ts +1 -0
- package/serialization/resources/workflows/index.js +1 -0
- package/serialization/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +10 -0
- package/serialization/resources/workflows/types/WorkflowsPullRequestFormat.js +31 -0
- package/serialization/resources/workflows/types/index.d.ts +1 -0
- package/serialization/resources/workflows/types/index.js +17 -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/PaginatedDeploymentReleaseTagReadList.d.ts +16 -0
- package/serialization/types/PaginatedDeploymentReleaseTagReadList.js +37 -0
- package/serialization/types/PaginatedWorkflowReleaseTagReadList.d.ts +16 -0
- package/serialization/types/PaginatedWorkflowReleaseTagReadList.js +37 -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 +6 -0
- package/serialization/types/index.js +6 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./WorkflowsPullRequestFormat"), exports);
|
|
@@ -64,7 +64,7 @@ class WorkspaceSecrets {
|
|
|
64
64
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
65
65
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
66
66
|
method: "GET",
|
|
67
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
68
68
|
contentType: "application/json",
|
|
69
69
|
requestType: "json",
|
|
70
70
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -117,7 +117,7 @@ class WorkspaceSecrets {
|
|
|
117
117
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
118
118
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
119
119
|
method: "PATCH",
|
|
120
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
120
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
121
121
|
contentType: "application/json",
|
|
122
122
|
requestType: "json",
|
|
123
123
|
body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export declare type ArrayVariableValueItem = Vellum.StringVariableValue | Vellum.NumberVariableValue | Vellum.JsonVariableValue | Vellum.ErrorVariableValue | Vellum.FunctionCallVariableValue | Vellum.ImageVariableValue | Vellum.ChatHistoryVariableValue | Vellum.SearchResultsVariableValue | Vellum.ArrayVariableValue;
|
|
5
|
+
export declare type ArrayVariableValueItem = Vellum.StringVariableValue | Vellum.NumberVariableValue | Vellum.JsonVariableValue | Vellum.ErrorVariableValue | Vellum.FunctionCallVariableValue | Vellum.ImageVariableValue | Vellum.AudioVariableValue | Vellum.ChatHistoryVariableValue | Vellum.SearchResultsVariableValue | Vellum.ArrayVariableValue;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A base Vellum primitive value representing audio.
|
|
7
|
+
*/
|
|
8
|
+
export interface AudioVariableValue {
|
|
9
|
+
type: "AUDIO";
|
|
10
|
+
value?: Vellum.VellumAudio;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A base Vellum primitive value representing audio.
|
|
7
|
+
*/
|
|
8
|
+
export interface AudioVellumValue {
|
|
9
|
+
type: "AUDIO";
|
|
10
|
+
value?: Vellum.VellumAudio;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A base Vellum primitive value representing audio.
|
|
7
|
+
*/
|
|
8
|
+
export interface AudioVellumValueRequest {
|
|
9
|
+
type: "AUDIO";
|
|
10
|
+
value?: Vellum.VellumAudioRequest;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface PaginatedDeploymentReleaseTagReadList {
|
|
6
|
+
count?: number;
|
|
7
|
+
next?: string;
|
|
8
|
+
previous?: string;
|
|
9
|
+
results?: Vellum.DeploymentReleaseTagRead[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface PaginatedWorkflowReleaseTagReadList {
|
|
6
|
+
count?: number;
|
|
7
|
+
next?: string;
|
|
8
|
+
previous?: string;
|
|
9
|
+
results?: Vellum.WorkflowReleaseTagRead[];
|
|
10
|
+
}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export declare type VellumValue = Vellum.StringVellumValue | Vellum.NumberVellumValue | Vellum.JsonVellumValue | Vellum.ImageVellumValue | Vellum.FunctionCallVellumValue | Vellum.ErrorVellumValue | Vellum.ArrayVellumValue | Vellum.ChatHistoryVellumValue | Vellum.SearchResultsVellumValue;
|
|
5
|
+
export declare type VellumValue = Vellum.StringVellumValue | Vellum.NumberVellumValue | Vellum.JsonVellumValue | Vellum.ImageVellumValue | Vellum.AudioVellumValue | Vellum.FunctionCallVellumValue | Vellum.ErrorVellumValue | Vellum.ArrayVellumValue | Vellum.ChatHistoryVellumValue | Vellum.SearchResultsVellumValue;
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export declare type VellumValueRequest = Vellum.StringVellumValueRequest | Vellum.NumberVellumValueRequest | Vellum.JsonVellumValueRequest | Vellum.ImageVellumValueRequest | Vellum.FunctionCallVellumValueRequest | Vellum.ErrorVellumValueRequest | Vellum.ArrayVellumValueRequest | Vellum.ChatHistoryVellumValueRequest | Vellum.SearchResultsVellumValueRequest;
|
|
5
|
+
export declare type VellumValueRequest = Vellum.StringVellumValueRequest | Vellum.NumberVellumValueRequest | Vellum.JsonVellumValueRequest | Vellum.ImageVellumValueRequest | Vellum.AudioVellumValueRequest | Vellum.FunctionCallVellumValueRequest | Vellum.ErrorVellumValueRequest | Vellum.ArrayVellumValueRequest | Vellum.ChatHistoryVellumValueRequest | Vellum.SearchResultsVellumValueRequest;
|
|
@@ -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";
|
|
@@ -235,6 +238,7 @@ export * from "./OpenAiVectorizerTextEmbedding3SmallRequest";
|
|
|
235
238
|
export * from "./OpenAiVectorizerTextEmbeddingAda002";
|
|
236
239
|
export * from "./OpenAiVectorizerTextEmbeddingAda002Request";
|
|
237
240
|
export * from "./PaginatedContainerImageReadList";
|
|
241
|
+
export * from "./PaginatedDeploymentReleaseTagReadList";
|
|
238
242
|
export * from "./PaginatedDocumentIndexReadList";
|
|
239
243
|
export * from "./PaginatedFolderEntityList";
|
|
240
244
|
export * from "./PaginatedSlimDeploymentReadList";
|
|
@@ -242,6 +246,7 @@ export * from "./PaginatedSlimDocumentList";
|
|
|
242
246
|
export * from "./PaginatedSlimWorkflowDeploymentList";
|
|
243
247
|
export * from "./PaginatedTestSuiteRunExecutionList";
|
|
244
248
|
export * from "./PaginatedTestSuiteTestCaseList";
|
|
249
|
+
export * from "./PaginatedWorkflowReleaseTagReadList";
|
|
245
250
|
export * from "./PdfSearchResultMetaSource";
|
|
246
251
|
export * from "./PdfSearchResultMetaSourceRequest";
|
|
247
252
|
export * from "./PlainTextPromptBlockRequest";
|
|
@@ -452,6 +457,7 @@ export * from "./WorkflowOutputJson";
|
|
|
452
457
|
export * from "./WorkflowOutputNumber";
|
|
453
458
|
export * from "./WorkflowOutputSearchResults";
|
|
454
459
|
export * from "./WorkflowOutputString";
|
|
460
|
+
export * from "./WorkflowPushDeploymentConfigRequest";
|
|
455
461
|
export * from "./WorkflowPushExecConfig";
|
|
456
462
|
export * from "./WorkflowPushResponse";
|
|
457
463
|
export * from "./WorkflowReleaseTagRead";
|
package/dist/api/types/index.js
CHANGED
|
@@ -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);
|
|
@@ -251,6 +254,7 @@ __exportStar(require("./OpenAiVectorizerTextEmbedding3SmallRequest"), exports);
|
|
|
251
254
|
__exportStar(require("./OpenAiVectorizerTextEmbeddingAda002"), exports);
|
|
252
255
|
__exportStar(require("./OpenAiVectorizerTextEmbeddingAda002Request"), exports);
|
|
253
256
|
__exportStar(require("./PaginatedContainerImageReadList"), exports);
|
|
257
|
+
__exportStar(require("./PaginatedDeploymentReleaseTagReadList"), exports);
|
|
254
258
|
__exportStar(require("./PaginatedDocumentIndexReadList"), exports);
|
|
255
259
|
__exportStar(require("./PaginatedFolderEntityList"), exports);
|
|
256
260
|
__exportStar(require("./PaginatedSlimDeploymentReadList"), exports);
|
|
@@ -258,6 +262,7 @@ __exportStar(require("./PaginatedSlimDocumentList"), exports);
|
|
|
258
262
|
__exportStar(require("./PaginatedSlimWorkflowDeploymentList"), exports);
|
|
259
263
|
__exportStar(require("./PaginatedTestSuiteRunExecutionList"), exports);
|
|
260
264
|
__exportStar(require("./PaginatedTestSuiteTestCaseList"), exports);
|
|
265
|
+
__exportStar(require("./PaginatedWorkflowReleaseTagReadList"), exports);
|
|
261
266
|
__exportStar(require("./PdfSearchResultMetaSource"), exports);
|
|
262
267
|
__exportStar(require("./PdfSearchResultMetaSourceRequest"), exports);
|
|
263
268
|
__exportStar(require("./PlainTextPromptBlockRequest"), exports);
|
|
@@ -468,6 +473,7 @@ __exportStar(require("./WorkflowOutputJson"), exports);
|
|
|
468
473
|
__exportStar(require("./WorkflowOutputNumber"), exports);
|
|
469
474
|
__exportStar(require("./WorkflowOutputSearchResults"), exports);
|
|
470
475
|
__exportStar(require("./WorkflowOutputString"), exports);
|
|
476
|
+
__exportStar(require("./WorkflowPushDeploymentConfigRequest"), exports);
|
|
471
477
|
__exportStar(require("./WorkflowPushExecConfig"), exports);
|
|
472
478
|
__exportStar(require("./WorkflowPushResponse"), exports);
|
|
473
479
|
__exportStar(require("./WorkflowReleaseTagRead"), exports);
|
package/dist/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
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 ListDeploymentReleaseTagsRequestSource: core.serialization.Schema<serializers.ListDeploymentReleaseTagsRequestSource.Raw, Vellum.ListDeploymentReleaseTagsRequestSource>;
|
|
8
|
+
export declare namespace ListDeploymentReleaseTagsRequestSource {
|
|
9
|
+
type Raw = "SYSTEM" | "USER";
|
|
10
|
+
}
|
package/dist/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ListDeploymentReleaseTagsRequestSource = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ListDeploymentReleaseTagsRequestSource = core.serialization.enum_(["SYSTEM", "USER"]);
|
|
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./DeploymentsListRequestStatus"), exports);
|
|
18
|
+
__exportStar(require("./ListDeploymentReleaseTagsRequestSource"), exports);
|
|
@@ -6,6 +6,8 @@ export * as folderEntities from "./folderEntities";
|
|
|
6
6
|
export * from "./folderEntities/types";
|
|
7
7
|
export * as workflowDeployments from "./workflowDeployments";
|
|
8
8
|
export * from "./workflowDeployments/types";
|
|
9
|
+
export * as workflows from "./workflows";
|
|
10
|
+
export * from "./workflows/types";
|
|
9
11
|
export * as testSuites from "./testSuites";
|
|
10
12
|
export * as adHoc from "./adHoc";
|
|
11
13
|
export * from "./adHoc/client/requests";
|
|
@@ -25,7 +27,6 @@ export * from "./testSuiteRuns/client/requests";
|
|
|
25
27
|
export * from "./workflowDeployments/client/requests";
|
|
26
28
|
export * as workflowSandboxes from "./workflowSandboxes";
|
|
27
29
|
export * from "./workflowSandboxes/client/requests";
|
|
28
|
-
export * as workflows from "./workflows";
|
|
29
30
|
export * from "./workflows/client/requests";
|
|
30
31
|
export * as workspaceSecrets from "./workspaceSecrets";
|
|
31
32
|
export * from "./workspaceSecrets/client/requests";
|
|
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.workspaceSecrets = exports.
|
|
29
|
+
exports.workspaceSecrets = exports.workflowSandboxes = exports.testSuiteRuns = exports.sandboxes = exports.metricDefinitions = exports.documents = exports.containerImages = exports.adHoc = exports.testSuites = exports.workflows = exports.workflowDeployments = exports.folderEntities = exports.documentIndexes = exports.deployments = void 0;
|
|
30
30
|
exports.deployments = __importStar(require("./deployments"));
|
|
31
31
|
__exportStar(require("./deployments/types"), exports);
|
|
32
32
|
exports.documentIndexes = __importStar(require("./documentIndexes"));
|
|
@@ -35,6 +35,8 @@ exports.folderEntities = __importStar(require("./folderEntities"));
|
|
|
35
35
|
__exportStar(require("./folderEntities/types"), exports);
|
|
36
36
|
exports.workflowDeployments = __importStar(require("./workflowDeployments"));
|
|
37
37
|
__exportStar(require("./workflowDeployments/types"), exports);
|
|
38
|
+
exports.workflows = __importStar(require("./workflows"));
|
|
39
|
+
__exportStar(require("./workflows/types"), exports);
|
|
38
40
|
exports.testSuites = __importStar(require("./testSuites"));
|
|
39
41
|
exports.adHoc = __importStar(require("./adHoc"));
|
|
40
42
|
__exportStar(require("./adHoc/client/requests"), exports);
|
|
@@ -54,7 +56,6 @@ __exportStar(require("./testSuiteRuns/client/requests"), exports);
|
|
|
54
56
|
__exportStar(require("./workflowDeployments/client/requests"), exports);
|
|
55
57
|
exports.workflowSandboxes = __importStar(require("./workflowSandboxes"));
|
|
56
58
|
__exportStar(require("./workflowSandboxes/client/requests"), exports);
|
|
57
|
-
exports.workflows = __importStar(require("./workflows"));
|
|
58
59
|
__exportStar(require("./workflows/client/requests"), exports);
|
|
59
60
|
exports.workspaceSecrets = __importStar(require("./workspaceSecrets"));
|
|
60
61
|
__exportStar(require("./workspaceSecrets/client/requests"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ListWorkflowReleaseTagsRequestSource: core.serialization.Schema<serializers.ListWorkflowReleaseTagsRequestSource.Raw, Vellum.ListWorkflowReleaseTagsRequestSource>;
|
|
8
|
+
export declare namespace ListWorkflowReleaseTagsRequestSource {
|
|
9
|
+
type Raw = "SYSTEM" | "USER";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ListWorkflowReleaseTagsRequestSource = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ListWorkflowReleaseTagsRequestSource = core.serialization.enum_(["SYSTEM", "USER"]);
|
|
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./WorkflowDeploymentsListRequestStatus"), exports);
|
|
18
|
+
__exportStar(require("./ListWorkflowReleaseTagsRequestSource"), exports);
|
|
@@ -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
|
});
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
17
18
|
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
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 WorkflowsPullRequestFormat: core.serialization.Schema<serializers.WorkflowsPullRequestFormat.Raw, Vellum.WorkflowsPullRequestFormat>;
|
|
8
|
+
export declare namespace WorkflowsPullRequestFormat {
|
|
9
|
+
type Raw = "json" | "zip";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.WorkflowsPullRequestFormat = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.WorkflowsPullRequestFormat = core.serialization.enum_(["json", "zip"]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./WorkflowsPullRequestFormat";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./WorkflowsPullRequestFormat"), exports);
|
|
@@ -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
|
+
});
|