vellum-ai 0.9.4 → 0.9.6
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 +37 -29
- package/.mock/definition/deployments.yml +50 -1
- package/.mock/definition/workflowDeployments.yml +49 -0
- package/.mock/definition/workflows.yml +15 -2
- package/.mock/openapi/openapi.yml +174 -39
- package/Client.js +10 -10
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +5 -6
- 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/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/ChatMessagePromptBlockRequest.d.ts +2 -3
- package/api/types/FunctionDefinitionPromptBlockRequest.d.ts +2 -3
- package/api/types/JinjaPromptBlockRequest.d.ts +2 -3
- 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/PlainTextPromptBlockRequest.d.ts +2 -3
- package/api/types/VariablePromptBlockRequest.d.ts +1 -2
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -0
- package/dist/Client.js +10 -10
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +5 -6
- 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/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/ChatMessagePromptBlockRequest.d.ts +2 -3
- package/dist/api/types/FunctionDefinitionPromptBlockRequest.d.ts +2 -3
- package/dist/api/types/JinjaPromptBlockRequest.d.ts +2 -3
- 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/PlainTextPromptBlockRequest.d.ts +2 -3
- package/dist/api/types/VariablePromptBlockRequest.d.ts +1 -2
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -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/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/ChatMessagePromptBlockRequest.d.ts +2 -3
- package/dist/serialization/types/ChatMessagePromptBlockRequest.js +2 -3
- package/dist/serialization/types/FunctionDefinitionPromptBlockRequest.d.ts +3 -4
- package/dist/serialization/types/FunctionDefinitionPromptBlockRequest.js +3 -4
- package/dist/serialization/types/JinjaPromptBlockRequest.d.ts +3 -4
- package/dist/serialization/types/JinjaPromptBlockRequest.js +3 -4
- 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/PlainTextPromptBlockRequest.d.ts +2 -3
- package/dist/serialization/types/PlainTextPromptBlockRequest.js +2 -3
- package/dist/serialization/types/VariablePromptBlockRequest.d.ts +1 -2
- package/dist/serialization/types/VariablePromptBlockRequest.js +1 -2
- package/dist/serialization/types/index.d.ts +2 -0
- package/dist/serialization/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +160 -9
- 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/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/ChatMessagePromptBlockRequest.d.ts +2 -3
- package/serialization/types/ChatMessagePromptBlockRequest.js +2 -3
- package/serialization/types/FunctionDefinitionPromptBlockRequest.d.ts +3 -4
- package/serialization/types/FunctionDefinitionPromptBlockRequest.js +3 -4
- package/serialization/types/JinjaPromptBlockRequest.d.ts +3 -4
- package/serialization/types/JinjaPromptBlockRequest.js +3 -4
- 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/PlainTextPromptBlockRequest.d.ts +2 -3
- package/serialization/types/PlainTextPromptBlockRequest.js +2 -3
- package/serialization/types/VariablePromptBlockRequest.d.ts +1 -2
- package/serialization/types/VariablePromptBlockRequest.js +1 -2
- package/serialization/types/index.d.ts +2 -0
- package/serialization/types/index.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -6,9 +6,8 @@ import * as Vellum from "../index";
|
|
|
6
6
|
* A block that holds a plain text string value.
|
|
7
7
|
*/
|
|
8
8
|
export interface PlainTextPromptBlockRequest {
|
|
9
|
-
blockType: "PLAIN_TEXT";
|
|
10
|
-
text: string;
|
|
11
|
-
id: string;
|
|
12
9
|
state?: Vellum.PromptBlockState;
|
|
13
10
|
cacheConfig?: Vellum.EphemeralPromptCacheConfigRequest;
|
|
11
|
+
blockType: "PLAIN_TEXT";
|
|
12
|
+
text: string;
|
|
14
13
|
}
|
|
@@ -6,9 +6,8 @@ import * as Vellum from "../index";
|
|
|
6
6
|
* A block that represents a variable in a prompt template.
|
|
7
7
|
*/
|
|
8
8
|
export interface VariablePromptBlockRequest {
|
|
9
|
-
blockType: "VARIABLE";
|
|
10
|
-
id: string;
|
|
11
9
|
state?: Vellum.PromptBlockState;
|
|
12
10
|
cacheConfig?: Vellum.EphemeralPromptCacheConfigRequest;
|
|
11
|
+
blockType: "VARIABLE";
|
|
13
12
|
inputVariableId: string;
|
|
14
13
|
}
|
|
@@ -238,6 +238,7 @@ export * from "./OpenAiVectorizerTextEmbedding3SmallRequest";
|
|
|
238
238
|
export * from "./OpenAiVectorizerTextEmbeddingAda002";
|
|
239
239
|
export * from "./OpenAiVectorizerTextEmbeddingAda002Request";
|
|
240
240
|
export * from "./PaginatedContainerImageReadList";
|
|
241
|
+
export * from "./PaginatedDeploymentReleaseTagReadList";
|
|
241
242
|
export * from "./PaginatedDocumentIndexReadList";
|
|
242
243
|
export * from "./PaginatedFolderEntityList";
|
|
243
244
|
export * from "./PaginatedSlimDeploymentReadList";
|
|
@@ -245,6 +246,7 @@ export * from "./PaginatedSlimDocumentList";
|
|
|
245
246
|
export * from "./PaginatedSlimWorkflowDeploymentList";
|
|
246
247
|
export * from "./PaginatedTestSuiteRunExecutionList";
|
|
247
248
|
export * from "./PaginatedTestSuiteTestCaseList";
|
|
249
|
+
export * from "./PaginatedWorkflowReleaseTagReadList";
|
|
248
250
|
export * from "./PdfSearchResultMetaSource";
|
|
249
251
|
export * from "./PdfSearchResultMetaSourceRequest";
|
|
250
252
|
export * from "./PlainTextPromptBlockRequest";
|
package/dist/api/types/index.js
CHANGED
|
@@ -254,6 +254,7 @@ __exportStar(require("./OpenAiVectorizerTextEmbedding3SmallRequest"), exports);
|
|
|
254
254
|
__exportStar(require("./OpenAiVectorizerTextEmbeddingAda002"), exports);
|
|
255
255
|
__exportStar(require("./OpenAiVectorizerTextEmbeddingAda002Request"), exports);
|
|
256
256
|
__exportStar(require("./PaginatedContainerImageReadList"), exports);
|
|
257
|
+
__exportStar(require("./PaginatedDeploymentReleaseTagReadList"), exports);
|
|
257
258
|
__exportStar(require("./PaginatedDocumentIndexReadList"), exports);
|
|
258
259
|
__exportStar(require("./PaginatedFolderEntityList"), exports);
|
|
259
260
|
__exportStar(require("./PaginatedSlimDeploymentReadList"), exports);
|
|
@@ -261,6 +262,7 @@ __exportStar(require("./PaginatedSlimDocumentList"), exports);
|
|
|
261
262
|
__exportStar(require("./PaginatedSlimWorkflowDeploymentList"), exports);
|
|
262
263
|
__exportStar(require("./PaginatedTestSuiteRunExecutionList"), exports);
|
|
263
264
|
__exportStar(require("./PaginatedTestSuiteTestCaseList"), exports);
|
|
265
|
+
__exportStar(require("./PaginatedWorkflowReleaseTagReadList"), exports);
|
|
264
266
|
__exportStar(require("./PdfSearchResultMetaSource"), exports);
|
|
265
267
|
__exportStar(require("./PdfSearchResultMetaSourceRequest"), exports);
|
|
266
268
|
__exportStar(require("./PlainTextPromptBlockRequest"), 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);
|
|
@@ -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);
|
|
@@ -9,10 +9,9 @@ import { EphemeralPromptCacheConfigRequest } from "./EphemeralPromptCacheConfigR
|
|
|
9
9
|
export declare const ChatMessagePromptBlockRequest: core.serialization.ObjectSchema<serializers.ChatMessagePromptBlockRequest.Raw, Vellum.ChatMessagePromptBlockRequest>;
|
|
10
10
|
export declare namespace ChatMessagePromptBlockRequest {
|
|
11
11
|
interface Raw {
|
|
12
|
-
block_type: "CHAT_MESSAGE";
|
|
13
|
-
properties: serializers.ChatMessagePromptBlockPropertiesRequest.Raw;
|
|
14
|
-
id: string;
|
|
15
12
|
state?: PromptBlockState.Raw | null;
|
|
16
13
|
cache_config?: EphemeralPromptCacheConfigRequest.Raw | null;
|
|
14
|
+
block_type: "CHAT_MESSAGE";
|
|
15
|
+
properties: serializers.ChatMessagePromptBlockPropertiesRequest.Raw;
|
|
17
16
|
}
|
|
18
17
|
}
|
|
@@ -32,9 +32,8 @@ const core = __importStar(require("../../core"));
|
|
|
32
32
|
const PromptBlockState_1 = require("./PromptBlockState");
|
|
33
33
|
const EphemeralPromptCacheConfigRequest_1 = require("./EphemeralPromptCacheConfigRequest");
|
|
34
34
|
exports.ChatMessagePromptBlockRequest = core.serialization.object({
|
|
35
|
-
blockType: core.serialization.property("block_type", core.serialization.stringLiteral("CHAT_MESSAGE")),
|
|
36
|
-
properties: core.serialization.lazyObject(() => serializers.ChatMessagePromptBlockPropertiesRequest),
|
|
37
|
-
id: core.serialization.string(),
|
|
38
35
|
state: PromptBlockState_1.PromptBlockState.optional(),
|
|
39
36
|
cacheConfig: core.serialization.property("cache_config", EphemeralPromptCacheConfigRequest_1.EphemeralPromptCacheConfigRequest.optional()),
|
|
37
|
+
blockType: core.serialization.property("block_type", core.serialization.stringLiteral("CHAT_MESSAGE")),
|
|
38
|
+
properties: core.serialization.lazyObject(() => serializers.ChatMessagePromptBlockPropertiesRequest),
|
|
40
39
|
});
|
|
@@ -4,16 +4,15 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import { FunctionDefinitionPromptBlockPropertiesRequest } from "./FunctionDefinitionPromptBlockPropertiesRequest";
|
|
8
7
|
import { PromptBlockState } from "./PromptBlockState";
|
|
9
8
|
import { EphemeralPromptCacheConfigRequest } from "./EphemeralPromptCacheConfigRequest";
|
|
9
|
+
import { FunctionDefinitionPromptBlockPropertiesRequest } from "./FunctionDefinitionPromptBlockPropertiesRequest";
|
|
10
10
|
export declare const FunctionDefinitionPromptBlockRequest: core.serialization.ObjectSchema<serializers.FunctionDefinitionPromptBlockRequest.Raw, Vellum.FunctionDefinitionPromptBlockRequest>;
|
|
11
11
|
export declare namespace FunctionDefinitionPromptBlockRequest {
|
|
12
12
|
interface Raw {
|
|
13
|
-
block_type: "FUNCTION_DEFINITION";
|
|
14
|
-
properties: FunctionDefinitionPromptBlockPropertiesRequest.Raw;
|
|
15
|
-
id: string;
|
|
16
13
|
state?: PromptBlockState.Raw | null;
|
|
17
14
|
cache_config?: EphemeralPromptCacheConfigRequest.Raw | null;
|
|
15
|
+
block_type: "FUNCTION_DEFINITION";
|
|
16
|
+
properties: FunctionDefinitionPromptBlockPropertiesRequest.Raw;
|
|
18
17
|
}
|
|
19
18
|
}
|
|
@@ -28,13 +28,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.FunctionDefinitionPromptBlockRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const FunctionDefinitionPromptBlockPropertiesRequest_1 = require("./FunctionDefinitionPromptBlockPropertiesRequest");
|
|
32
31
|
const PromptBlockState_1 = require("./PromptBlockState");
|
|
33
32
|
const EphemeralPromptCacheConfigRequest_1 = require("./EphemeralPromptCacheConfigRequest");
|
|
33
|
+
const FunctionDefinitionPromptBlockPropertiesRequest_1 = require("./FunctionDefinitionPromptBlockPropertiesRequest");
|
|
34
34
|
exports.FunctionDefinitionPromptBlockRequest = core.serialization.object({
|
|
35
|
-
blockType: core.serialization.property("block_type", core.serialization.stringLiteral("FUNCTION_DEFINITION")),
|
|
36
|
-
properties: FunctionDefinitionPromptBlockPropertiesRequest_1.FunctionDefinitionPromptBlockPropertiesRequest,
|
|
37
|
-
id: core.serialization.string(),
|
|
38
35
|
state: PromptBlockState_1.PromptBlockState.optional(),
|
|
39
36
|
cacheConfig: core.serialization.property("cache_config", EphemeralPromptCacheConfigRequest_1.EphemeralPromptCacheConfigRequest.optional()),
|
|
37
|
+
blockType: core.serialization.property("block_type", core.serialization.stringLiteral("FUNCTION_DEFINITION")),
|
|
38
|
+
properties: FunctionDefinitionPromptBlockPropertiesRequest_1.FunctionDefinitionPromptBlockPropertiesRequest,
|
|
40
39
|
});
|
|
@@ -4,16 +4,15 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import { JinjaPromptBlockPropertiesRequest } from "./JinjaPromptBlockPropertiesRequest";
|
|
8
7
|
import { PromptBlockState } from "./PromptBlockState";
|
|
9
8
|
import { EphemeralPromptCacheConfigRequest } from "./EphemeralPromptCacheConfigRequest";
|
|
9
|
+
import { JinjaPromptBlockPropertiesRequest } from "./JinjaPromptBlockPropertiesRequest";
|
|
10
10
|
export declare const JinjaPromptBlockRequest: core.serialization.ObjectSchema<serializers.JinjaPromptBlockRequest.Raw, Vellum.JinjaPromptBlockRequest>;
|
|
11
11
|
export declare namespace JinjaPromptBlockRequest {
|
|
12
12
|
interface Raw {
|
|
13
|
-
block_type: "JINJA";
|
|
14
|
-
properties: JinjaPromptBlockPropertiesRequest.Raw;
|
|
15
|
-
id: string;
|
|
16
13
|
state?: PromptBlockState.Raw | null;
|
|
17
14
|
cache_config?: EphemeralPromptCacheConfigRequest.Raw | null;
|
|
15
|
+
block_type: "JINJA";
|
|
16
|
+
properties: JinjaPromptBlockPropertiesRequest.Raw;
|
|
18
17
|
}
|
|
19
18
|
}
|
|
@@ -28,13 +28,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.JinjaPromptBlockRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const JinjaPromptBlockPropertiesRequest_1 = require("./JinjaPromptBlockPropertiesRequest");
|
|
32
31
|
const PromptBlockState_1 = require("./PromptBlockState");
|
|
33
32
|
const EphemeralPromptCacheConfigRequest_1 = require("./EphemeralPromptCacheConfigRequest");
|
|
33
|
+
const JinjaPromptBlockPropertiesRequest_1 = require("./JinjaPromptBlockPropertiesRequest");
|
|
34
34
|
exports.JinjaPromptBlockRequest = core.serialization.object({
|
|
35
|
-
blockType: core.serialization.property("block_type", core.serialization.stringLiteral("JINJA")),
|
|
36
|
-
properties: JinjaPromptBlockPropertiesRequest_1.JinjaPromptBlockPropertiesRequest,
|
|
37
|
-
id: core.serialization.string(),
|
|
38
35
|
state: PromptBlockState_1.PromptBlockState.optional(),
|
|
39
36
|
cacheConfig: core.serialization.property("cache_config", EphemeralPromptCacheConfigRequest_1.EphemeralPromptCacheConfigRequest.optional()),
|
|
37
|
+
blockType: core.serialization.property("block_type", core.serialization.stringLiteral("JINJA")),
|
|
38
|
+
properties: JinjaPromptBlockPropertiesRequest_1.JinjaPromptBlockPropertiesRequest,
|
|
40
39
|
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { DeploymentReleaseTagRead } from "./DeploymentReleaseTagRead";
|
|
8
|
+
export declare const PaginatedDeploymentReleaseTagReadList: core.serialization.ObjectSchema<serializers.PaginatedDeploymentReleaseTagReadList.Raw, Vellum.PaginatedDeploymentReleaseTagReadList>;
|
|
9
|
+
export declare namespace PaginatedDeploymentReleaseTagReadList {
|
|
10
|
+
interface Raw {
|
|
11
|
+
count?: number | null;
|
|
12
|
+
next?: string | null;
|
|
13
|
+
previous?: string | null;
|
|
14
|
+
results?: DeploymentReleaseTagRead.Raw[] | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.PaginatedDeploymentReleaseTagReadList = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const DeploymentReleaseTagRead_1 = require("./DeploymentReleaseTagRead");
|
|
32
|
+
exports.PaginatedDeploymentReleaseTagReadList = core.serialization.object({
|
|
33
|
+
count: core.serialization.number().optional(),
|
|
34
|
+
next: core.serialization.string().optional(),
|
|
35
|
+
previous: core.serialization.string().optional(),
|
|
36
|
+
results: core.serialization.list(DeploymentReleaseTagRead_1.DeploymentReleaseTagRead).optional(),
|
|
37
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { WorkflowReleaseTagRead } from "./WorkflowReleaseTagRead";
|
|
8
|
+
export declare const PaginatedWorkflowReleaseTagReadList: core.serialization.ObjectSchema<serializers.PaginatedWorkflowReleaseTagReadList.Raw, Vellum.PaginatedWorkflowReleaseTagReadList>;
|
|
9
|
+
export declare namespace PaginatedWorkflowReleaseTagReadList {
|
|
10
|
+
interface Raw {
|
|
11
|
+
count?: number | null;
|
|
12
|
+
next?: string | null;
|
|
13
|
+
previous?: string | null;
|
|
14
|
+
results?: WorkflowReleaseTagRead.Raw[] | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.PaginatedWorkflowReleaseTagReadList = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const WorkflowReleaseTagRead_1 = require("./WorkflowReleaseTagRead");
|
|
32
|
+
exports.PaginatedWorkflowReleaseTagReadList = core.serialization.object({
|
|
33
|
+
count: core.serialization.number().optional(),
|
|
34
|
+
next: core.serialization.string().optional(),
|
|
35
|
+
previous: core.serialization.string().optional(),
|
|
36
|
+
results: core.serialization.list(WorkflowReleaseTagRead_1.WorkflowReleaseTagRead).optional(),
|
|
37
|
+
});
|
|
@@ -9,10 +9,9 @@ import { EphemeralPromptCacheConfigRequest } from "./EphemeralPromptCacheConfigR
|
|
|
9
9
|
export declare const PlainTextPromptBlockRequest: core.serialization.ObjectSchema<serializers.PlainTextPromptBlockRequest.Raw, Vellum.PlainTextPromptBlockRequest>;
|
|
10
10
|
export declare namespace PlainTextPromptBlockRequest {
|
|
11
11
|
interface Raw {
|
|
12
|
-
block_type: "PLAIN_TEXT";
|
|
13
|
-
text: string;
|
|
14
|
-
id: string;
|
|
15
12
|
state?: PromptBlockState.Raw | null;
|
|
16
13
|
cache_config?: EphemeralPromptCacheConfigRequest.Raw | null;
|
|
14
|
+
block_type: "PLAIN_TEXT";
|
|
15
|
+
text: string;
|
|
17
16
|
}
|
|
18
17
|
}
|
|
@@ -31,9 +31,8 @@ const core = __importStar(require("../../core"));
|
|
|
31
31
|
const PromptBlockState_1 = require("./PromptBlockState");
|
|
32
32
|
const EphemeralPromptCacheConfigRequest_1 = require("./EphemeralPromptCacheConfigRequest");
|
|
33
33
|
exports.PlainTextPromptBlockRequest = core.serialization.object({
|
|
34
|
-
blockType: core.serialization.property("block_type", core.serialization.stringLiteral("PLAIN_TEXT")),
|
|
35
|
-
text: core.serialization.string(),
|
|
36
|
-
id: core.serialization.string(),
|
|
37
34
|
state: PromptBlockState_1.PromptBlockState.optional(),
|
|
38
35
|
cacheConfig: core.serialization.property("cache_config", EphemeralPromptCacheConfigRequest_1.EphemeralPromptCacheConfigRequest.optional()),
|
|
36
|
+
blockType: core.serialization.property("block_type", core.serialization.stringLiteral("PLAIN_TEXT")),
|
|
37
|
+
text: core.serialization.string(),
|
|
39
38
|
});
|
|
@@ -9,10 +9,9 @@ import { EphemeralPromptCacheConfigRequest } from "./EphemeralPromptCacheConfigR
|
|
|
9
9
|
export declare const VariablePromptBlockRequest: core.serialization.ObjectSchema<serializers.VariablePromptBlockRequest.Raw, Vellum.VariablePromptBlockRequest>;
|
|
10
10
|
export declare namespace VariablePromptBlockRequest {
|
|
11
11
|
interface Raw {
|
|
12
|
-
block_type: "VARIABLE";
|
|
13
|
-
id: string;
|
|
14
12
|
state?: PromptBlockState.Raw | null;
|
|
15
13
|
cache_config?: EphemeralPromptCacheConfigRequest.Raw | null;
|
|
14
|
+
block_type: "VARIABLE";
|
|
16
15
|
input_variable_id: string;
|
|
17
16
|
}
|
|
18
17
|
}
|
|
@@ -31,9 +31,8 @@ const core = __importStar(require("../../core"));
|
|
|
31
31
|
const PromptBlockState_1 = require("./PromptBlockState");
|
|
32
32
|
const EphemeralPromptCacheConfigRequest_1 = require("./EphemeralPromptCacheConfigRequest");
|
|
33
33
|
exports.VariablePromptBlockRequest = core.serialization.object({
|
|
34
|
-
blockType: core.serialization.property("block_type", core.serialization.stringLiteral("VARIABLE")),
|
|
35
|
-
id: core.serialization.string(),
|
|
36
34
|
state: PromptBlockState_1.PromptBlockState.optional(),
|
|
37
35
|
cacheConfig: core.serialization.property("cache_config", EphemeralPromptCacheConfigRequest_1.EphemeralPromptCacheConfigRequest.optional()),
|
|
36
|
+
blockType: core.serialization.property("block_type", core.serialization.stringLiteral("VARIABLE")),
|
|
38
37
|
inputVariableId: core.serialization.property("input_variable_id", core.serialization.string()),
|
|
39
38
|
});
|
|
@@ -238,6 +238,7 @@ export * from "./OpenAiVectorizerTextEmbedding3SmallRequest";
|
|
|
238
238
|
export * from "./OpenAiVectorizerTextEmbeddingAda002";
|
|
239
239
|
export * from "./OpenAiVectorizerTextEmbeddingAda002Request";
|
|
240
240
|
export * from "./PaginatedContainerImageReadList";
|
|
241
|
+
export * from "./PaginatedDeploymentReleaseTagReadList";
|
|
241
242
|
export * from "./PaginatedDocumentIndexReadList";
|
|
242
243
|
export * from "./PaginatedFolderEntityList";
|
|
243
244
|
export * from "./PaginatedSlimDeploymentReadList";
|
|
@@ -245,6 +246,7 @@ export * from "./PaginatedSlimDocumentList";
|
|
|
245
246
|
export * from "./PaginatedSlimWorkflowDeploymentList";
|
|
246
247
|
export * from "./PaginatedTestSuiteRunExecutionList";
|
|
247
248
|
export * from "./PaginatedTestSuiteTestCaseList";
|
|
249
|
+
export * from "./PaginatedWorkflowReleaseTagReadList";
|
|
248
250
|
export * from "./PdfSearchResultMetaSource";
|
|
249
251
|
export * from "./PdfSearchResultMetaSourceRequest";
|
|
250
252
|
export * from "./PlainTextPromptBlockRequest";
|
|
@@ -254,6 +254,7 @@ __exportStar(require("./OpenAiVectorizerTextEmbedding3SmallRequest"), exports);
|
|
|
254
254
|
__exportStar(require("./OpenAiVectorizerTextEmbeddingAda002"), exports);
|
|
255
255
|
__exportStar(require("./OpenAiVectorizerTextEmbeddingAda002Request"), exports);
|
|
256
256
|
__exportStar(require("./PaginatedContainerImageReadList"), exports);
|
|
257
|
+
__exportStar(require("./PaginatedDeploymentReleaseTagReadList"), exports);
|
|
257
258
|
__exportStar(require("./PaginatedDocumentIndexReadList"), exports);
|
|
258
259
|
__exportStar(require("./PaginatedFolderEntityList"), exports);
|
|
259
260
|
__exportStar(require("./PaginatedSlimDeploymentReadList"), exports);
|
|
@@ -261,6 +262,7 @@ __exportStar(require("./PaginatedSlimDocumentList"), exports);
|
|
|
261
262
|
__exportStar(require("./PaginatedSlimWorkflowDeploymentList"), exports);
|
|
262
263
|
__exportStar(require("./PaginatedTestSuiteRunExecutionList"), exports);
|
|
263
264
|
__exportStar(require("./PaginatedTestSuiteTestCaseList"), exports);
|
|
265
|
+
__exportStar(require("./PaginatedWorkflowReleaseTagReadList"), exports);
|
|
264
266
|
__exportStar(require("./PdfSearchResultMetaSource"), exports);
|
|
265
267
|
__exportStar(require("./PdfSearchResultMetaSourceRequest"), exports);
|
|
266
268
|
__exportStar(require("./PlainTextPromptBlockRequest"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.9.
|
|
1
|
+
export declare const SDK_VERSION = "0.9.6";
|
package/dist/version.js
CHANGED