vellum-ai 0.14.69 → 0.14.71
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/Client.js +11 -11
- package/api/resources/adHoc/client/Client.js +2 -2
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +8 -8
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/metricDefinitions/client/Client.js +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/organizations/client/Client.js +1 -1
- package/api/resources/prompts/client/Client.js +2 -2
- package/api/resources/releaseReviews/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +8 -8
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/ContainerImageRead.d.ts +1 -1
- package/api/types/DeploymentRead.d.ts +2 -2
- package/api/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
- package/api/types/DocumentIndexRead.d.ts +2 -2
- package/api/types/DocumentRead.d.ts +1 -1
- package/api/types/MetricDefinitionHistoryItem.d.ts +2 -2
- package/api/types/MlModelRead.d.ts +1 -1
- package/api/types/OrganizationRead.d.ts +1 -1
- package/api/types/PromptDeploymentRelease.d.ts +2 -2
- package/api/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
- package/api/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
- package/api/types/ReleaseCreatedBy.d.ts +1 -1
- package/api/types/ReleaseEnvironment.d.ts +1 -1
- package/api/types/ReleaseReviewReviewer.d.ts +1 -1
- package/api/types/SlimDeploymentRead.d.ts +2 -2
- package/api/types/SlimDocument.d.ts +1 -1
- package/api/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
- package/api/types/SlimReleaseReview.d.ts +2 -2
- package/api/types/SlimWorkflowDeployment.d.ts +2 -2
- package/api/types/TestCaseArrayVariableValue.d.ts +1 -1
- package/api/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
- package/api/types/TestCaseErrorVariableValue.d.ts +1 -1
- package/api/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
- package/api/types/TestCaseJsonVariableValue.d.ts +1 -1
- package/api/types/TestCaseNumberVariableValue.d.ts +1 -1
- package/api/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
- package/api/types/TestCaseStringVariableValue.d.ts +1 -1
- package/api/types/TestSuiteRunRead.d.ts +2 -2
- package/api/types/WorkflowDeploymentRead.d.ts +2 -2
- package/api/types/WorkflowDeploymentRelease.d.ts +2 -2
- package/api/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
- package/api/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
- package/api/types/WorkflowSandboxExample.d.ts +1 -1
- package/api/types/WorkspaceRead.d.ts +3 -3
- package/api/types/WorkspaceSecretRead.d.ts +2 -2
- package/dist/Client.js +11 -11
- package/dist/api/resources/adHoc/client/Client.js +2 -2
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +8 -8
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/prompts/client/Client.js +2 -2
- package/dist/api/resources/releaseReviews/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/ContainerImageRead.d.ts +1 -1
- package/dist/api/types/DeploymentRead.d.ts +2 -2
- package/dist/api/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
- package/dist/api/types/DocumentIndexRead.d.ts +2 -2
- package/dist/api/types/DocumentRead.d.ts +1 -1
- package/dist/api/types/MetricDefinitionHistoryItem.d.ts +2 -2
- package/dist/api/types/MlModelRead.d.ts +1 -1
- package/dist/api/types/OrganizationRead.d.ts +1 -1
- package/dist/api/types/PromptDeploymentRelease.d.ts +2 -2
- package/dist/api/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
- package/dist/api/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
- package/dist/api/types/ReleaseCreatedBy.d.ts +1 -1
- package/dist/api/types/ReleaseEnvironment.d.ts +1 -1
- package/dist/api/types/ReleaseReviewReviewer.d.ts +1 -1
- package/dist/api/types/SlimDeploymentRead.d.ts +2 -2
- package/dist/api/types/SlimDocument.d.ts +1 -1
- package/dist/api/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
- package/dist/api/types/SlimReleaseReview.d.ts +2 -2
- package/dist/api/types/SlimWorkflowDeployment.d.ts +2 -2
- package/dist/api/types/TestCaseArrayVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseErrorVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseJsonVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseNumberVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
- package/dist/api/types/TestCaseStringVariableValue.d.ts +1 -1
- package/dist/api/types/TestSuiteRunRead.d.ts +2 -2
- package/dist/api/types/WorkflowDeploymentRead.d.ts +2 -2
- package/dist/api/types/WorkflowDeploymentRelease.d.ts +2 -2
- package/dist/api/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
- package/dist/api/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
- package/dist/api/types/WorkflowSandboxExample.d.ts +1 -1
- package/dist/api/types/WorkspaceRead.d.ts +3 -3
- package/dist/api/types/WorkspaceSecretRead.d.ts +2 -2
- package/dist/serialization/types/ContainerImageRead.d.ts +1 -1
- package/dist/serialization/types/ContainerImageRead.js +1 -1
- package/dist/serialization/types/DeploymentRead.d.ts +2 -2
- package/dist/serialization/types/DeploymentRead.js +2 -2
- package/dist/serialization/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
- package/dist/serialization/types/DocumentDocumentToDocumentIndex.js +3 -3
- package/dist/serialization/types/DocumentIndexRead.d.ts +2 -2
- package/dist/serialization/types/DocumentIndexRead.js +2 -2
- package/dist/serialization/types/DocumentRead.d.ts +1 -1
- package/dist/serialization/types/DocumentRead.js +1 -1
- package/dist/serialization/types/MetricDefinitionHistoryItem.d.ts +2 -2
- package/dist/serialization/types/MetricDefinitionHistoryItem.js +2 -2
- package/dist/serialization/types/MlModelRead.d.ts +1 -1
- package/dist/serialization/types/MlModelRead.js +1 -1
- package/dist/serialization/types/OrganizationRead.d.ts +1 -1
- package/dist/serialization/types/OrganizationRead.js +1 -1
- package/dist/serialization/types/PromptDeploymentRelease.d.ts +2 -2
- package/dist/serialization/types/PromptDeploymentRelease.js +2 -2
- package/dist/serialization/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
- package/dist/serialization/types/PromptDeploymentReleasePromptDeployment.js +1 -1
- package/dist/serialization/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
- package/dist/serialization/types/PromptDeploymentReleasePromptVersion.js +2 -2
- package/dist/serialization/types/ReleaseCreatedBy.d.ts +1 -1
- package/dist/serialization/types/ReleaseCreatedBy.js +1 -1
- package/dist/serialization/types/ReleaseEnvironment.d.ts +1 -1
- package/dist/serialization/types/ReleaseEnvironment.js +1 -1
- package/dist/serialization/types/ReleaseReviewReviewer.d.ts +1 -1
- package/dist/serialization/types/ReleaseReviewReviewer.js +1 -1
- package/dist/serialization/types/SlimDeploymentRead.d.ts +2 -2
- package/dist/serialization/types/SlimDeploymentRead.js +2 -2
- package/dist/serialization/types/SlimDocument.d.ts +1 -1
- package/dist/serialization/types/SlimDocument.js +1 -1
- package/dist/serialization/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
- package/dist/serialization/types/SlimDocumentDocumentToDocumentIndex.js +3 -3
- package/dist/serialization/types/SlimReleaseReview.d.ts +2 -2
- package/dist/serialization/types/SlimReleaseReview.js +2 -2
- package/dist/serialization/types/SlimWorkflowDeployment.d.ts +2 -2
- package/dist/serialization/types/SlimWorkflowDeployment.js +2 -2
- package/dist/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseArrayVariableValue.js +1 -1
- package/dist/serialization/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseChatHistoryVariableValue.js +1 -1
- package/dist/serialization/types/TestCaseErrorVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseErrorVariableValue.js +1 -1
- package/dist/serialization/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseFunctionCallVariableValue.js +1 -1
- package/dist/serialization/types/TestCaseJsonVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseJsonVariableValue.js +1 -1
- package/dist/serialization/types/TestCaseNumberVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseNumberVariableValue.js +1 -1
- package/dist/serialization/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseSearchResultsVariableValue.js +1 -1
- package/dist/serialization/types/TestCaseStringVariableValue.d.ts +1 -1
- package/dist/serialization/types/TestCaseStringVariableValue.js +1 -1
- package/dist/serialization/types/TestSuiteRunRead.d.ts +2 -2
- package/dist/serialization/types/TestSuiteRunRead.js +2 -2
- package/dist/serialization/types/WorkflowDeploymentRead.d.ts +2 -2
- package/dist/serialization/types/WorkflowDeploymentRead.js +2 -2
- package/dist/serialization/types/WorkflowDeploymentRelease.d.ts +2 -2
- package/dist/serialization/types/WorkflowDeploymentRelease.js +2 -2
- package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
- package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.js +1 -1
- package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
- package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.js +3 -3
- package/dist/serialization/types/WorkflowSandboxExample.d.ts +1 -1
- package/dist/serialization/types/WorkflowSandboxExample.js +1 -1
- package/dist/serialization/types/WorkspaceRead.d.ts +3 -3
- package/dist/serialization/types/WorkspaceRead.js +3 -3
- package/dist/serialization/types/WorkspaceSecretRead.d.ts +2 -2
- package/dist/serialization/types/WorkspaceSecretRead.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/ContainerImageRead.d.ts +1 -1
- package/serialization/types/ContainerImageRead.js +1 -1
- package/serialization/types/DeploymentRead.d.ts +2 -2
- package/serialization/types/DeploymentRead.js +2 -2
- package/serialization/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
- package/serialization/types/DocumentDocumentToDocumentIndex.js +3 -3
- package/serialization/types/DocumentIndexRead.d.ts +2 -2
- package/serialization/types/DocumentIndexRead.js +2 -2
- package/serialization/types/DocumentRead.d.ts +1 -1
- package/serialization/types/DocumentRead.js +1 -1
- package/serialization/types/MetricDefinitionHistoryItem.d.ts +2 -2
- package/serialization/types/MetricDefinitionHistoryItem.js +2 -2
- package/serialization/types/MlModelRead.d.ts +1 -1
- package/serialization/types/MlModelRead.js +1 -1
- package/serialization/types/OrganizationRead.d.ts +1 -1
- package/serialization/types/OrganizationRead.js +1 -1
- package/serialization/types/PromptDeploymentRelease.d.ts +2 -2
- package/serialization/types/PromptDeploymentRelease.js +2 -2
- package/serialization/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
- package/serialization/types/PromptDeploymentReleasePromptDeployment.js +1 -1
- package/serialization/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
- package/serialization/types/PromptDeploymentReleasePromptVersion.js +2 -2
- package/serialization/types/ReleaseCreatedBy.d.ts +1 -1
- package/serialization/types/ReleaseCreatedBy.js +1 -1
- package/serialization/types/ReleaseEnvironment.d.ts +1 -1
- package/serialization/types/ReleaseEnvironment.js +1 -1
- package/serialization/types/ReleaseReviewReviewer.d.ts +1 -1
- package/serialization/types/ReleaseReviewReviewer.js +1 -1
- package/serialization/types/SlimDeploymentRead.d.ts +2 -2
- package/serialization/types/SlimDeploymentRead.js +2 -2
- package/serialization/types/SlimDocument.d.ts +1 -1
- package/serialization/types/SlimDocument.js +1 -1
- package/serialization/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
- package/serialization/types/SlimDocumentDocumentToDocumentIndex.js +3 -3
- package/serialization/types/SlimReleaseReview.d.ts +2 -2
- package/serialization/types/SlimReleaseReview.js +2 -2
- package/serialization/types/SlimWorkflowDeployment.d.ts +2 -2
- package/serialization/types/SlimWorkflowDeployment.js +2 -2
- package/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseArrayVariableValue.js +1 -1
- package/serialization/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseChatHistoryVariableValue.js +1 -1
- package/serialization/types/TestCaseErrorVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseErrorVariableValue.js +1 -1
- package/serialization/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseFunctionCallVariableValue.js +1 -1
- package/serialization/types/TestCaseJsonVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseJsonVariableValue.js +1 -1
- package/serialization/types/TestCaseNumberVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseNumberVariableValue.js +1 -1
- package/serialization/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseSearchResultsVariableValue.js +1 -1
- package/serialization/types/TestCaseStringVariableValue.d.ts +1 -1
- package/serialization/types/TestCaseStringVariableValue.js +1 -1
- package/serialization/types/TestSuiteRunRead.d.ts +2 -2
- package/serialization/types/TestSuiteRunRead.js +2 -2
- package/serialization/types/WorkflowDeploymentRead.d.ts +2 -2
- package/serialization/types/WorkflowDeploymentRead.js +2 -2
- package/serialization/types/WorkflowDeploymentRelease.d.ts +2 -2
- package/serialization/types/WorkflowDeploymentRelease.js +2 -2
- package/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
- package/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.js +1 -1
- package/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
- package/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.js +3 -3
- package/serialization/types/WorkflowSandboxExample.d.ts +1 -1
- package/serialization/types/WorkflowSandboxExample.js +1 -1
- package/serialization/types/WorkspaceRead.d.ts +3 -3
- package/serialization/types/WorkspaceRead.js +3 -3
- package/serialization/types/WorkspaceSecretRead.d.ts +2 -2
- package/serialization/types/WorkspaceSecretRead.js +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -9,7 +9,7 @@ import { ContainerImageContainerImageTag } from "./ContainerImageContainerImageT
|
|
|
9
9
|
export declare const ContainerImageRead: core.serialization.ObjectSchema<serializers.ContainerImageRead.Raw, Vellum.ContainerImageRead>;
|
|
10
10
|
export declare namespace ContainerImageRead {
|
|
11
11
|
interface Raw {
|
|
12
|
-
id
|
|
12
|
+
id?: string | null;
|
|
13
13
|
name: string;
|
|
14
14
|
visibility: EntityVisibility.Raw;
|
|
15
15
|
created: string;
|
|
@@ -41,7 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const EntityVisibility_1 = require("./EntityVisibility");
|
|
42
42
|
const ContainerImageContainerImageTag_1 = require("./ContainerImageContainerImageTag");
|
|
43
43
|
exports.ContainerImageRead = core.serialization.object({
|
|
44
|
-
id: core.serialization.string(),
|
|
44
|
+
id: core.serialization.string().optional(),
|
|
45
45
|
name: core.serialization.string(),
|
|
46
46
|
visibility: EntityVisibility_1.EntityVisibility,
|
|
47
47
|
created: core.serialization.date(),
|
|
@@ -10,8 +10,8 @@ import { VellumVariable } from "./VellumVariable";
|
|
|
10
10
|
export declare const DeploymentRead: core.serialization.ObjectSchema<serializers.DeploymentRead.Raw, Vellum.DeploymentRead>;
|
|
11
11
|
export declare namespace DeploymentRead {
|
|
12
12
|
interface Raw {
|
|
13
|
-
id
|
|
14
|
-
created
|
|
13
|
+
id?: string | null;
|
|
14
|
+
created?: string | null;
|
|
15
15
|
label: string;
|
|
16
16
|
name: string;
|
|
17
17
|
status?: EntityStatus.Raw | null;
|
|
@@ -42,8 +42,8 @@ const EntityStatus_1 = require("./EntityStatus");
|
|
|
42
42
|
const EnvironmentEnum_1 = require("./EnvironmentEnum");
|
|
43
43
|
const VellumVariable_1 = require("./VellumVariable");
|
|
44
44
|
exports.DeploymentRead = core.serialization.object({
|
|
45
|
-
id: core.serialization.string(),
|
|
46
|
-
created: core.serialization.date(),
|
|
45
|
+
id: core.serialization.string().optional(),
|
|
46
|
+
created: core.serialization.date().optional(),
|
|
47
47
|
label: core.serialization.string(),
|
|
48
48
|
name: core.serialization.string(),
|
|
49
49
|
status: EntityStatus_1.EntityStatus.optional(),
|
|
@@ -8,9 +8,9 @@ import { IndexingStateEnum } from "./IndexingStateEnum";
|
|
|
8
8
|
export declare const DocumentDocumentToDocumentIndex: core.serialization.ObjectSchema<serializers.DocumentDocumentToDocumentIndex.Raw, Vellum.DocumentDocumentToDocumentIndex>;
|
|
9
9
|
export declare namespace DocumentDocumentToDocumentIndex {
|
|
10
10
|
interface Raw {
|
|
11
|
-
id
|
|
12
|
-
environment_document_index_id
|
|
13
|
-
document_index_id
|
|
11
|
+
id?: string | null;
|
|
12
|
+
environment_document_index_id?: string | null;
|
|
13
|
+
document_index_id?: string | null;
|
|
14
14
|
indexing_state?: IndexingStateEnum.Raw | null;
|
|
15
15
|
extracted_text_file_url?: (string | null) | null;
|
|
16
16
|
}
|
|
@@ -40,9 +40,9 @@ exports.DocumentDocumentToDocumentIndex = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const IndexingStateEnum_1 = require("./IndexingStateEnum");
|
|
42
42
|
exports.DocumentDocumentToDocumentIndex = core.serialization.object({
|
|
43
|
-
id: core.serialization.string(),
|
|
44
|
-
environmentDocumentIndexId: core.serialization.property("environment_document_index_id", core.serialization.string()),
|
|
45
|
-
documentIndexId: core.serialization.property("document_index_id", core.serialization.string()),
|
|
43
|
+
id: core.serialization.string().optional(),
|
|
44
|
+
environmentDocumentIndexId: core.serialization.property("environment_document_index_id", core.serialization.string().optional()),
|
|
45
|
+
documentIndexId: core.serialization.property("document_index_id", core.serialization.string().optional()),
|
|
46
46
|
indexingState: core.serialization.property("indexing_state", IndexingStateEnum_1.IndexingStateEnum.optional()),
|
|
47
47
|
extractedTextFileUrl: core.serialization.property("extracted_text_file_url", core.serialization.string().optionalNullable()),
|
|
48
48
|
});
|
|
@@ -9,8 +9,8 @@ import { DocumentIndexIndexingConfig } from "./DocumentIndexIndexingConfig";
|
|
|
9
9
|
export declare const DocumentIndexRead: core.serialization.ObjectSchema<serializers.DocumentIndexRead.Raw, Vellum.DocumentIndexRead>;
|
|
10
10
|
export declare namespace DocumentIndexRead {
|
|
11
11
|
interface Raw {
|
|
12
|
-
id
|
|
13
|
-
created
|
|
12
|
+
id?: string | null;
|
|
13
|
+
created?: string | null;
|
|
14
14
|
label: string;
|
|
15
15
|
name: string;
|
|
16
16
|
status?: EntityStatus.Raw | null;
|
|
@@ -41,8 +41,8 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const EntityStatus_1 = require("./EntityStatus");
|
|
42
42
|
const DocumentIndexIndexingConfig_1 = require("./DocumentIndexIndexingConfig");
|
|
43
43
|
exports.DocumentIndexRead = core.serialization.object({
|
|
44
|
-
id: core.serialization.string(),
|
|
45
|
-
created: core.serialization.date(),
|
|
44
|
+
id: core.serialization.string().optional(),
|
|
45
|
+
created: core.serialization.date().optional(),
|
|
46
46
|
label: core.serialization.string(),
|
|
47
47
|
name: core.serialization.string(),
|
|
48
48
|
status: EntityStatus_1.EntityStatus.optional(),
|
|
@@ -10,7 +10,7 @@ import { DocumentDocumentToDocumentIndex } from "./DocumentDocumentToDocumentInd
|
|
|
10
10
|
export declare const DocumentRead: core.serialization.ObjectSchema<serializers.DocumentRead.Raw, Vellum.DocumentRead>;
|
|
11
11
|
export declare namespace DocumentRead {
|
|
12
12
|
interface Raw {
|
|
13
|
-
id
|
|
13
|
+
id?: string | null;
|
|
14
14
|
external_id?: (string | null) | null;
|
|
15
15
|
last_uploaded_at: string;
|
|
16
16
|
label: string;
|
|
@@ -42,7 +42,7 @@ const DocumentProcessingState_1 = require("./DocumentProcessingState");
|
|
|
42
42
|
const DocumentStatus_1 = require("./DocumentStatus");
|
|
43
43
|
const DocumentDocumentToDocumentIndex_1 = require("./DocumentDocumentToDocumentIndex");
|
|
44
44
|
exports.DocumentRead = core.serialization.object({
|
|
45
|
-
id: core.serialization.string(),
|
|
45
|
+
id: core.serialization.string().optional(),
|
|
46
46
|
externalId: core.serialization.property("external_id", core.serialization.string().optionalNullable()),
|
|
47
47
|
lastUploadedAt: core.serialization.property("last_uploaded_at", core.serialization.date()),
|
|
48
48
|
label: core.serialization.string(),
|
|
@@ -12,7 +12,7 @@ export declare namespace MetricDefinitionHistoryItem {
|
|
|
12
12
|
label: string;
|
|
13
13
|
name: string;
|
|
14
14
|
description: string;
|
|
15
|
-
input_variables
|
|
16
|
-
output_variables
|
|
15
|
+
input_variables?: VellumVariable.Raw[] | null;
|
|
16
|
+
output_variables?: VellumVariable.Raw[] | null;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -44,6 +44,6 @@ exports.MetricDefinitionHistoryItem = core.serialization.object({
|
|
|
44
44
|
label: core.serialization.string(),
|
|
45
45
|
name: core.serialization.string(),
|
|
46
46
|
description: core.serialization.string(),
|
|
47
|
-
inputVariables: core.serialization.property("input_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
|
|
48
|
-
outputVariables: core.serialization.property("output_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
|
|
47
|
+
inputVariables: core.serialization.property("input_variables", core.serialization.list(VellumVariable_1.VellumVariable).optional()),
|
|
48
|
+
outputVariables: core.serialization.property("output_variables", core.serialization.list(VellumVariable_1.VellumVariable).optional()),
|
|
49
49
|
});
|
|
@@ -7,7 +7,7 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const MlModelRead: core.serialization.ObjectSchema<serializers.MlModelRead.Raw, Vellum.MlModelRead>;
|
|
8
8
|
export declare namespace MlModelRead {
|
|
9
9
|
interface Raw {
|
|
10
|
-
id
|
|
10
|
+
id?: string | null;
|
|
11
11
|
name: string;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -39,6 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.MlModelRead = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.MlModelRead = core.serialization.object({
|
|
42
|
-
id: core.serialization.string(),
|
|
42
|
+
id: core.serialization.string().optional(),
|
|
43
43
|
name: core.serialization.string(),
|
|
44
44
|
});
|
|
@@ -8,7 +8,7 @@ import { NewMemberJoinBehaviorEnum } from "./NewMemberJoinBehaviorEnum";
|
|
|
8
8
|
export declare const OrganizationRead: core.serialization.ObjectSchema<serializers.OrganizationRead.Raw, Vellum.OrganizationRead>;
|
|
9
9
|
export declare namespace OrganizationRead {
|
|
10
10
|
interface Raw {
|
|
11
|
-
id
|
|
11
|
+
id?: string | null;
|
|
12
12
|
name: string;
|
|
13
13
|
allow_staff_access?: boolean | null;
|
|
14
14
|
new_member_join_behavior: NewMemberJoinBehaviorEnum.Raw;
|
|
@@ -40,7 +40,7 @@ exports.OrganizationRead = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const NewMemberJoinBehaviorEnum_1 = require("./NewMemberJoinBehaviorEnum");
|
|
42
42
|
exports.OrganizationRead = core.serialization.object({
|
|
43
|
-
id: core.serialization.string(),
|
|
43
|
+
id: core.serialization.string().optional(),
|
|
44
44
|
name: core.serialization.string(),
|
|
45
45
|
allowStaffAccess: core.serialization.property("allow_staff_access", core.serialization.boolean().optional()),
|
|
46
46
|
newMemberJoinBehavior: core.serialization.property("new_member_join_behavior", NewMemberJoinBehaviorEnum_1.NewMemberJoinBehaviorEnum),
|
|
@@ -13,8 +13,8 @@ import { SlimReleaseReview } from "./SlimReleaseReview";
|
|
|
13
13
|
export declare const PromptDeploymentRelease: core.serialization.ObjectSchema<serializers.PromptDeploymentRelease.Raw, Vellum.PromptDeploymentRelease>;
|
|
14
14
|
export declare namespace PromptDeploymentRelease {
|
|
15
15
|
interface Raw {
|
|
16
|
-
id
|
|
17
|
-
created
|
|
16
|
+
id?: string | null;
|
|
17
|
+
created?: string | null;
|
|
18
18
|
environment: ReleaseEnvironment.Raw;
|
|
19
19
|
created_by?: (ReleaseCreatedBy.Raw | null) | null;
|
|
20
20
|
prompt_version: PromptDeploymentReleasePromptVersion.Raw;
|
|
@@ -45,8 +45,8 @@ const PromptDeploymentReleasePromptDeployment_1 = require("./PromptDeploymentRel
|
|
|
45
45
|
const ReleaseReleaseTag_1 = require("./ReleaseReleaseTag");
|
|
46
46
|
const SlimReleaseReview_1 = require("./SlimReleaseReview");
|
|
47
47
|
exports.PromptDeploymentRelease = core.serialization.object({
|
|
48
|
-
id: core.serialization.string(),
|
|
49
|
-
created: core.serialization.date(),
|
|
48
|
+
id: core.serialization.string().optional(),
|
|
49
|
+
created: core.serialization.date().optional(),
|
|
50
50
|
environment: ReleaseEnvironment_1.ReleaseEnvironment,
|
|
51
51
|
createdBy: core.serialization.property("created_by", ReleaseCreatedBy_1.ReleaseCreatedBy.optionalNullable()),
|
|
52
52
|
promptVersion: core.serialization.property("prompt_version", PromptDeploymentReleasePromptVersion_1.PromptDeploymentReleasePromptVersion),
|
|
@@ -7,6 +7,6 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const PromptDeploymentReleasePromptDeployment: core.serialization.ObjectSchema<serializers.PromptDeploymentReleasePromptDeployment.Raw, Vellum.PromptDeploymentReleasePromptDeployment>;
|
|
8
8
|
export declare namespace PromptDeploymentReleasePromptDeployment {
|
|
9
9
|
interface Raw {
|
|
10
|
-
name
|
|
10
|
+
name?: string | null;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -39,5 +39,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.PromptDeploymentReleasePromptDeployment = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.PromptDeploymentReleasePromptDeployment = core.serialization.object({
|
|
42
|
-
name: core.serialization.string(),
|
|
42
|
+
name: core.serialization.string().optional(),
|
|
43
43
|
});
|
|
@@ -8,7 +8,7 @@ import { ComponentsSchemasPromptVersionBuildConfigSandbox } from "./ComponentsSc
|
|
|
8
8
|
export declare const PromptDeploymentReleasePromptVersion: core.serialization.ObjectSchema<serializers.PromptDeploymentReleasePromptVersion.Raw, Vellum.PromptDeploymentReleasePromptVersion>;
|
|
9
9
|
export declare namespace PromptDeploymentReleasePromptVersion {
|
|
10
10
|
interface Raw {
|
|
11
|
-
id
|
|
12
|
-
build_config
|
|
11
|
+
id?: string | null;
|
|
12
|
+
build_config?: ComponentsSchemasPromptVersionBuildConfigSandbox.Raw | null;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -40,6 +40,6 @@ exports.PromptDeploymentReleasePromptVersion = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const ComponentsSchemasPromptVersionBuildConfigSandbox_1 = require("./ComponentsSchemasPromptVersionBuildConfigSandbox");
|
|
42
42
|
exports.PromptDeploymentReleasePromptVersion = core.serialization.object({
|
|
43
|
-
id: core.serialization.string(),
|
|
44
|
-
buildConfig: core.serialization.property("build_config", ComponentsSchemasPromptVersionBuildConfigSandbox_1.ComponentsSchemasPromptVersionBuildConfigSandbox),
|
|
43
|
+
id: core.serialization.string().optional(),
|
|
44
|
+
buildConfig: core.serialization.property("build_config", ComponentsSchemasPromptVersionBuildConfigSandbox_1.ComponentsSchemasPromptVersionBuildConfigSandbox.optional()),
|
|
45
45
|
});
|
|
@@ -7,7 +7,7 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const ReleaseCreatedBy: core.serialization.ObjectSchema<serializers.ReleaseCreatedBy.Raw, Vellum.ReleaseCreatedBy>;
|
|
8
8
|
export declare namespace ReleaseCreatedBy {
|
|
9
9
|
interface Raw {
|
|
10
|
-
id
|
|
10
|
+
id?: string | null;
|
|
11
11
|
full_name?: string | null;
|
|
12
12
|
email: string;
|
|
13
13
|
}
|
|
@@ -39,7 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ReleaseCreatedBy = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.ReleaseCreatedBy = core.serialization.object({
|
|
42
|
-
id: core.serialization.string(),
|
|
42
|
+
id: core.serialization.string().optional(),
|
|
43
43
|
fullName: core.serialization.property("full_name", core.serialization.string().optional()),
|
|
44
44
|
email: core.serialization.string(),
|
|
45
45
|
});
|
|
@@ -7,7 +7,7 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const ReleaseEnvironment: core.serialization.ObjectSchema<serializers.ReleaseEnvironment.Raw, Vellum.ReleaseEnvironment>;
|
|
8
8
|
export declare namespace ReleaseEnvironment {
|
|
9
9
|
interface Raw {
|
|
10
|
-
id
|
|
10
|
+
id?: string | null;
|
|
11
11
|
name: string;
|
|
12
12
|
label: string;
|
|
13
13
|
}
|
|
@@ -39,7 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ReleaseEnvironment = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.ReleaseEnvironment = core.serialization.object({
|
|
42
|
-
id: core.serialization.string(),
|
|
42
|
+
id: core.serialization.string().optional(),
|
|
43
43
|
name: core.serialization.string(),
|
|
44
44
|
label: core.serialization.string(),
|
|
45
45
|
});
|
|
@@ -7,7 +7,7 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const ReleaseReviewReviewer: core.serialization.ObjectSchema<serializers.ReleaseReviewReviewer.Raw, Vellum.ReleaseReviewReviewer>;
|
|
8
8
|
export declare namespace ReleaseReviewReviewer {
|
|
9
9
|
interface Raw {
|
|
10
|
-
id
|
|
10
|
+
id?: string | null;
|
|
11
11
|
full_name?: string | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -39,6 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ReleaseReviewReviewer = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.ReleaseReviewReviewer = core.serialization.object({
|
|
42
|
-
id: core.serialization.string(),
|
|
42
|
+
id: core.serialization.string().optional(),
|
|
43
43
|
fullName: core.serialization.property("full_name", core.serialization.string().optional()),
|
|
44
44
|
});
|
|
@@ -10,8 +10,8 @@ import { VellumVariable } from "./VellumVariable";
|
|
|
10
10
|
export declare const SlimDeploymentRead: core.serialization.ObjectSchema<serializers.SlimDeploymentRead.Raw, Vellum.SlimDeploymentRead>;
|
|
11
11
|
export declare namespace SlimDeploymentRead {
|
|
12
12
|
interface Raw {
|
|
13
|
-
id
|
|
14
|
-
created
|
|
13
|
+
id?: string | null;
|
|
14
|
+
created?: string | null;
|
|
15
15
|
label: string;
|
|
16
16
|
name: string;
|
|
17
17
|
status?: EntityStatus.Raw | null;
|
|
@@ -42,8 +42,8 @@ const EntityStatus_1 = require("./EntityStatus");
|
|
|
42
42
|
const EnvironmentEnum_1 = require("./EnvironmentEnum");
|
|
43
43
|
const VellumVariable_1 = require("./VellumVariable");
|
|
44
44
|
exports.SlimDeploymentRead = core.serialization.object({
|
|
45
|
-
id: core.serialization.string(),
|
|
46
|
-
created: core.serialization.date(),
|
|
45
|
+
id: core.serialization.string().optional(),
|
|
46
|
+
created: core.serialization.date().optional(),
|
|
47
47
|
label: core.serialization.string(),
|
|
48
48
|
name: core.serialization.string(),
|
|
49
49
|
status: EntityStatus_1.EntityStatus.optional(),
|
|
@@ -11,7 +11,7 @@ import { SlimDocumentDocumentToDocumentIndex } from "./SlimDocumentDocumentToDoc
|
|
|
11
11
|
export declare const SlimDocument: core.serialization.ObjectSchema<serializers.SlimDocument.Raw, Vellum.SlimDocument>;
|
|
12
12
|
export declare namespace SlimDocument {
|
|
13
13
|
interface Raw {
|
|
14
|
-
id
|
|
14
|
+
id?: string | null;
|
|
15
15
|
external_id?: (string | null) | null;
|
|
16
16
|
last_uploaded_at: string;
|
|
17
17
|
label: string;
|
|
@@ -43,7 +43,7 @@ const ProcessingFailureReasonEnum_1 = require("./ProcessingFailureReasonEnum");
|
|
|
43
43
|
const DocumentStatus_1 = require("./DocumentStatus");
|
|
44
44
|
const SlimDocumentDocumentToDocumentIndex_1 = require("./SlimDocumentDocumentToDocumentIndex");
|
|
45
45
|
exports.SlimDocument = core.serialization.object({
|
|
46
|
-
id: core.serialization.string(),
|
|
46
|
+
id: core.serialization.string().optional(),
|
|
47
47
|
externalId: core.serialization.property("external_id", core.serialization.string().optionalNullable()),
|
|
48
48
|
lastUploadedAt: core.serialization.property("last_uploaded_at", core.serialization.date()),
|
|
49
49
|
label: core.serialization.string(),
|
|
@@ -8,9 +8,9 @@ import { IndexingStateEnum } from "./IndexingStateEnum";
|
|
|
8
8
|
export declare const SlimDocumentDocumentToDocumentIndex: core.serialization.ObjectSchema<serializers.SlimDocumentDocumentToDocumentIndex.Raw, Vellum.SlimDocumentDocumentToDocumentIndex>;
|
|
9
9
|
export declare namespace SlimDocumentDocumentToDocumentIndex {
|
|
10
10
|
interface Raw {
|
|
11
|
-
id
|
|
12
|
-
environment_document_index_id
|
|
13
|
-
document_index_id
|
|
11
|
+
id?: string | null;
|
|
12
|
+
environment_document_index_id?: string | null;
|
|
13
|
+
document_index_id?: string | null;
|
|
14
14
|
indexing_state?: IndexingStateEnum.Raw | null;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -40,8 +40,8 @@ exports.SlimDocumentDocumentToDocumentIndex = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const IndexingStateEnum_1 = require("./IndexingStateEnum");
|
|
42
42
|
exports.SlimDocumentDocumentToDocumentIndex = core.serialization.object({
|
|
43
|
-
id: core.serialization.string(),
|
|
44
|
-
environmentDocumentIndexId: core.serialization.property("environment_document_index_id", core.serialization.string()),
|
|
45
|
-
documentIndexId: core.serialization.property("document_index_id", core.serialization.string()),
|
|
43
|
+
id: core.serialization.string().optional(),
|
|
44
|
+
environmentDocumentIndexId: core.serialization.property("environment_document_index_id", core.serialization.string().optional()),
|
|
45
|
+
documentIndexId: core.serialization.property("document_index_id", core.serialization.string().optional()),
|
|
46
46
|
indexingState: core.serialization.property("indexing_state", IndexingStateEnum_1.IndexingStateEnum.optional()),
|
|
47
47
|
});
|
|
@@ -9,8 +9,8 @@ import { ReleaseReviewState } from "./ReleaseReviewState";
|
|
|
9
9
|
export declare const SlimReleaseReview: core.serialization.ObjectSchema<serializers.SlimReleaseReview.Raw, Vellum.SlimReleaseReview>;
|
|
10
10
|
export declare namespace SlimReleaseReview {
|
|
11
11
|
interface Raw {
|
|
12
|
-
id
|
|
13
|
-
created
|
|
12
|
+
id?: string | null;
|
|
13
|
+
created?: string | null;
|
|
14
14
|
reviewer: ReleaseReviewReviewer.Raw;
|
|
15
15
|
state: ReleaseReviewState.Raw;
|
|
16
16
|
}
|
|
@@ -41,8 +41,8 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const ReleaseReviewReviewer_1 = require("./ReleaseReviewReviewer");
|
|
42
42
|
const ReleaseReviewState_1 = require("./ReleaseReviewState");
|
|
43
43
|
exports.SlimReleaseReview = core.serialization.object({
|
|
44
|
-
id: core.serialization.string(),
|
|
45
|
-
created: core.serialization.date(),
|
|
44
|
+
id: core.serialization.string().optional(),
|
|
45
|
+
created: core.serialization.date().optional(),
|
|
46
46
|
reviewer: ReleaseReviewReviewer_1.ReleaseReviewReviewer,
|
|
47
47
|
state: ReleaseReviewState_1.ReleaseReviewState,
|
|
48
48
|
});
|
|
@@ -10,12 +10,12 @@ import { VellumVariable } from "./VellumVariable";
|
|
|
10
10
|
export declare const SlimWorkflowDeployment: core.serialization.ObjectSchema<serializers.SlimWorkflowDeployment.Raw, Vellum.SlimWorkflowDeployment>;
|
|
11
11
|
export declare namespace SlimWorkflowDeployment {
|
|
12
12
|
interface Raw {
|
|
13
|
-
id
|
|
13
|
+
id?: string | null;
|
|
14
14
|
name: string;
|
|
15
15
|
label: string;
|
|
16
16
|
status?: EntityStatus.Raw | null;
|
|
17
17
|
environment?: EnvironmentEnum.Raw | null;
|
|
18
|
-
created
|
|
18
|
+
created?: string | null;
|
|
19
19
|
last_deployed_on: string;
|
|
20
20
|
input_variables: VellumVariable.Raw[];
|
|
21
21
|
output_variables: VellumVariable.Raw[];
|
|
@@ -42,12 +42,12 @@ const EntityStatus_1 = require("./EntityStatus");
|
|
|
42
42
|
const EnvironmentEnum_1 = require("./EnvironmentEnum");
|
|
43
43
|
const VellumVariable_1 = require("./VellumVariable");
|
|
44
44
|
exports.SlimWorkflowDeployment = core.serialization.object({
|
|
45
|
-
id: core.serialization.string(),
|
|
45
|
+
id: core.serialization.string().optional(),
|
|
46
46
|
name: core.serialization.string(),
|
|
47
47
|
label: core.serialization.string(),
|
|
48
48
|
status: EntityStatus_1.EntityStatus.optional(),
|
|
49
49
|
environment: EnvironmentEnum_1.EnvironmentEnum.optional(),
|
|
50
|
-
created: core.serialization.date(),
|
|
50
|
+
created: core.serialization.date().optional(),
|
|
51
51
|
lastDeployedOn: core.serialization.property("last_deployed_on", core.serialization.date()),
|
|
52
52
|
inputVariables: core.serialization.property("input_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
|
|
53
53
|
outputVariables: core.serialization.property("output_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
|
|
@@ -8,7 +8,7 @@ export declare const TestCaseArrayVariableValue: core.serialization.ObjectSchema
|
|
|
8
8
|
export declare namespace TestCaseArrayVariableValue {
|
|
9
9
|
interface Raw {
|
|
10
10
|
variable_id: string;
|
|
11
|
-
name
|
|
11
|
+
name?: string | null;
|
|
12
12
|
type: "ARRAY";
|
|
13
13
|
value?: (serializers.VellumValue.Raw[] | null) | null;
|
|
14
14
|
}
|
|
@@ -41,7 +41,7 @@ const serializers = __importStar(require("../index"));
|
|
|
41
41
|
const core = __importStar(require("../../core"));
|
|
42
42
|
exports.TestCaseArrayVariableValue = core.serialization.object({
|
|
43
43
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
44
|
-
name: core.serialization.string(),
|
|
44
|
+
name: core.serialization.string().optional(),
|
|
45
45
|
type: core.serialization.stringLiteral("ARRAY"),
|
|
46
46
|
value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optionalNullable(),
|
|
47
47
|
});
|
|
@@ -9,7 +9,7 @@ export declare const TestCaseChatHistoryVariableValue: core.serialization.Object
|
|
|
9
9
|
export declare namespace TestCaseChatHistoryVariableValue {
|
|
10
10
|
interface Raw {
|
|
11
11
|
variable_id: string;
|
|
12
|
-
name
|
|
12
|
+
name?: string | null;
|
|
13
13
|
type: "CHAT_HISTORY";
|
|
14
14
|
value?: (ChatMessage.Raw[] | null) | null;
|
|
15
15
|
}
|
|
@@ -41,7 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const ChatMessage_1 = require("./ChatMessage");
|
|
42
42
|
exports.TestCaseChatHistoryVariableValue = core.serialization.object({
|
|
43
43
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
44
|
-
name: core.serialization.string(),
|
|
44
|
+
name: core.serialization.string().optional(),
|
|
45
45
|
type: core.serialization.stringLiteral("CHAT_HISTORY"),
|
|
46
46
|
value: core.serialization.list(ChatMessage_1.ChatMessage).optionalNullable(),
|
|
47
47
|
});
|
|
@@ -9,7 +9,7 @@ export declare const TestCaseErrorVariableValue: core.serialization.ObjectSchema
|
|
|
9
9
|
export declare namespace TestCaseErrorVariableValue {
|
|
10
10
|
interface Raw {
|
|
11
11
|
variable_id: string;
|
|
12
|
-
name
|
|
12
|
+
name?: string | null;
|
|
13
13
|
type: "ERROR";
|
|
14
14
|
value?: (VellumError.Raw | null) | null;
|
|
15
15
|
}
|
|
@@ -41,7 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const VellumError_1 = require("./VellumError");
|
|
42
42
|
exports.TestCaseErrorVariableValue = core.serialization.object({
|
|
43
43
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
44
|
-
name: core.serialization.string(),
|
|
44
|
+
name: core.serialization.string().optional(),
|
|
45
45
|
type: core.serialization.stringLiteral("ERROR"),
|
|
46
46
|
value: VellumError_1.VellumError.optionalNullable(),
|
|
47
47
|
});
|
|
@@ -9,7 +9,7 @@ export declare const TestCaseFunctionCallVariableValue: core.serialization.Objec
|
|
|
9
9
|
export declare namespace TestCaseFunctionCallVariableValue {
|
|
10
10
|
interface Raw {
|
|
11
11
|
variable_id: string;
|
|
12
|
-
name
|
|
12
|
+
name?: string | null;
|
|
13
13
|
type: "FUNCTION_CALL";
|
|
14
14
|
value?: (FunctionCall.Raw | null) | null;
|
|
15
15
|
}
|
|
@@ -41,7 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const FunctionCall_1 = require("./FunctionCall");
|
|
42
42
|
exports.TestCaseFunctionCallVariableValue = core.serialization.object({
|
|
43
43
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
44
|
-
name: core.serialization.string(),
|
|
44
|
+
name: core.serialization.string().optional(),
|
|
45
45
|
type: core.serialization.stringLiteral("FUNCTION_CALL"),
|
|
46
46
|
value: FunctionCall_1.FunctionCall.optionalNullable(),
|
|
47
47
|
});
|
|
@@ -40,7 +40,7 @@ exports.TestCaseJsonVariableValue = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.TestCaseJsonVariableValue = core.serialization.object({
|
|
42
42
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
43
|
-
name: core.serialization.string(),
|
|
43
|
+
name: core.serialization.string().optional(),
|
|
44
44
|
type: core.serialization.stringLiteral("JSON"),
|
|
45
45
|
value: core.serialization.unknown(),
|
|
46
46
|
});
|
|
@@ -8,7 +8,7 @@ export declare const TestCaseNumberVariableValue: core.serialization.ObjectSchem
|
|
|
8
8
|
export declare namespace TestCaseNumberVariableValue {
|
|
9
9
|
interface Raw {
|
|
10
10
|
variable_id: string;
|
|
11
|
-
name
|
|
11
|
+
name?: string | null;
|
|
12
12
|
type: "NUMBER";
|
|
13
13
|
value?: (number | null) | null;
|
|
14
14
|
}
|
|
@@ -40,7 +40,7 @@ exports.TestCaseNumberVariableValue = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.TestCaseNumberVariableValue = core.serialization.object({
|
|
42
42
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
43
|
-
name: core.serialization.string(),
|
|
43
|
+
name: core.serialization.string().optional(),
|
|
44
44
|
type: core.serialization.stringLiteral("NUMBER"),
|
|
45
45
|
value: core.serialization.number().optionalNullable(),
|
|
46
46
|
});
|
|
@@ -9,7 +9,7 @@ export declare const TestCaseSearchResultsVariableValue: core.serialization.Obje
|
|
|
9
9
|
export declare namespace TestCaseSearchResultsVariableValue {
|
|
10
10
|
interface Raw {
|
|
11
11
|
variable_id: string;
|
|
12
|
-
name
|
|
12
|
+
name?: string | null;
|
|
13
13
|
type: "SEARCH_RESULTS";
|
|
14
14
|
value?: (SearchResult.Raw[] | null) | null;
|
|
15
15
|
}
|
|
@@ -41,7 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const SearchResult_1 = require("./SearchResult");
|
|
42
42
|
exports.TestCaseSearchResultsVariableValue = core.serialization.object({
|
|
43
43
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
44
|
-
name: core.serialization.string(),
|
|
44
|
+
name: core.serialization.string().optional(),
|
|
45
45
|
type: core.serialization.stringLiteral("SEARCH_RESULTS"),
|
|
46
46
|
value: core.serialization.list(SearchResult_1.SearchResult).optionalNullable(),
|
|
47
47
|
});
|
|
@@ -8,7 +8,7 @@ export declare const TestCaseStringVariableValue: core.serialization.ObjectSchem
|
|
|
8
8
|
export declare namespace TestCaseStringVariableValue {
|
|
9
9
|
interface Raw {
|
|
10
10
|
variable_id: string;
|
|
11
|
-
name
|
|
11
|
+
name?: string | null;
|
|
12
12
|
type: "STRING";
|
|
13
13
|
value?: (string | null) | null;
|
|
14
14
|
}
|
|
@@ -40,7 +40,7 @@ exports.TestCaseStringVariableValue = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.TestCaseStringVariableValue = core.serialization.object({
|
|
42
42
|
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
43
|
-
name: core.serialization.string(),
|
|
43
|
+
name: core.serialization.string().optional(),
|
|
44
44
|
type: core.serialization.stringLiteral("STRING"),
|
|
45
45
|
value: core.serialization.string().optionalNullable(),
|
|
46
46
|
});
|
|
@@ -11,8 +11,8 @@ import { TestSuiteRunProgress } from "./TestSuiteRunProgress";
|
|
|
11
11
|
export declare const TestSuiteRunRead: core.serialization.ObjectSchema<serializers.TestSuiteRunRead.Raw, Vellum.TestSuiteRunRead>;
|
|
12
12
|
export declare namespace TestSuiteRunRead {
|
|
13
13
|
interface Raw {
|
|
14
|
-
id
|
|
15
|
-
created
|
|
14
|
+
id?: string | null;
|
|
15
|
+
created?: string | null;
|
|
16
16
|
test_suite: TestSuiteRunTestSuite.Raw;
|
|
17
17
|
state: TestSuiteRunState.Raw;
|
|
18
18
|
exec_config?: (TestSuiteRunExecConfig.Raw | null) | null;
|