vellum-ai 1.7.10 → 1.7.12
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/events/client/Client.js +1 -1
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/integrationAuthConfigs/client/Client.js +1 -1
- package/api/resources/integrationProviders/client/Client.js +2 -2
- package/api/resources/integrations/client/Client.js +4 -4
- 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/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 +10 -10
- package/api/resources/workflowExecutions/client/Client.js +1 -1
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +4 -4
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/AuthTypeEnum.d.ts +12 -0
- package/api/types/AuthTypeEnum.js +10 -0
- package/api/types/IntegrationName.d.ts +9 -1
- package/api/types/IntegrationName.js +4 -0
- package/api/types/SlimIntegrationAuthConfigRead.d.ts +1 -0
- package/api/types/SlimWorkflowExecutionRead.d.ts +2 -2
- package/api/types/VellumErrorCodeEnum.d.ts +3 -1
- package/api/types/VellumErrorCodeEnum.js +1 -0
- package/api/types/VellumSdkErrorCodeEnum.d.ts +3 -1
- package/api/types/VellumSdkErrorCodeEnum.js +1 -0
- package/api/types/WorkflowEventExecutionRead.d.ts +2 -2
- package/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
- package/api/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/api/types/WorkflowExecutionSnapshottedBody.d.ts +1 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- 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/events/client/Client.js +1 -1
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/integrationAuthConfigs/client/Client.js +1 -1
- package/dist/api/resources/integrationProviders/client/Client.js +2 -2
- package/dist/api/resources/integrations/client/Client.js +4 -4
- 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/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 +10 -10
- package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +4 -4
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/AuthTypeEnum.d.ts +12 -0
- package/dist/api/types/AuthTypeEnum.js +10 -0
- package/dist/api/types/IntegrationName.d.ts +9 -1
- package/dist/api/types/IntegrationName.js +4 -0
- package/dist/api/types/SlimIntegrationAuthConfigRead.d.ts +1 -0
- package/dist/api/types/SlimWorkflowExecutionRead.d.ts +2 -2
- package/dist/api/types/VellumErrorCodeEnum.d.ts +3 -1
- package/dist/api/types/VellumErrorCodeEnum.js +1 -0
- package/dist/api/types/VellumSdkErrorCodeEnum.d.ts +3 -1
- package/dist/api/types/VellumSdkErrorCodeEnum.js +1 -0
- package/dist/api/types/WorkflowEventExecutionRead.d.ts +2 -2
- package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
- package/dist/api/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/dist/api/types/WorkflowExecutionSnapshottedBody.d.ts +1 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/types/AuthTypeEnum.d.ts +10 -0
- package/dist/serialization/types/AuthTypeEnum.js +41 -0
- package/dist/serialization/types/IntegrationName.d.ts +1 -1
- package/dist/serialization/types/IntegrationName.js +4 -0
- package/dist/serialization/types/SlimIntegrationAuthConfigRead.d.ts +2 -0
- package/dist/serialization/types/SlimIntegrationAuthConfigRead.js +2 -0
- package/dist/serialization/types/SlimWorkflowExecutionRead.d.ts +3 -3
- package/dist/serialization/types/SlimWorkflowExecutionRead.js +3 -3
- package/dist/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
- package/dist/serialization/types/VellumErrorCodeEnum.js +1 -0
- package/dist/serialization/types/VellumSdkErrorCodeEnum.d.ts +1 -1
- package/dist/serialization/types/VellumSdkErrorCodeEnum.js +1 -0
- package/dist/serialization/types/WorkflowEventExecutionRead.d.ts +3 -3
- package/dist/serialization/types/WorkflowEventExecutionRead.js +3 -3
- package/dist/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
- package/dist/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/dist/serialization/types/WorkflowExecutionSnapshottedBody.d.ts +1 -0
- package/dist/serialization/types/WorkflowExecutionSnapshottedBody.js +1 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/AuthTypeEnum.d.ts +10 -0
- package/serialization/types/AuthTypeEnum.js +41 -0
- package/serialization/types/IntegrationName.d.ts +1 -1
- package/serialization/types/IntegrationName.js +4 -0
- package/serialization/types/SlimIntegrationAuthConfigRead.d.ts +2 -0
- package/serialization/types/SlimIntegrationAuthConfigRead.js +2 -0
- package/serialization/types/SlimWorkflowExecutionRead.d.ts +3 -3
- package/serialization/types/SlimWorkflowExecutionRead.js +3 -3
- package/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
- package/serialization/types/VellumErrorCodeEnum.js +1 -0
- package/serialization/types/VellumSdkErrorCodeEnum.d.ts +1 -1
- package/serialization/types/VellumSdkErrorCodeEnum.js +1 -0
- package/serialization/types/WorkflowEventExecutionRead.d.ts +3 -3
- package/serialization/types/WorkflowEventExecutionRead.js +3 -3
- package/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
- package/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/serialization/types/WorkflowExecutionSnapshottedBody.d.ts +1 -0
- package/serialization/types/WorkflowExecutionSnapshottedBody.js +1 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -6,6 +6,7 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { IntegrationAuthConfigIntegration } from "./IntegrationAuthConfigIntegration";
|
|
8
8
|
import { IntegrationAuthConfigIntegrationCredential } from "./IntegrationAuthConfigIntegrationCredential";
|
|
9
|
+
import { AuthTypeEnum } from "./AuthTypeEnum";
|
|
9
10
|
import { IntegrationCredentialAccessType } from "./IntegrationCredentialAccessType";
|
|
10
11
|
export declare const SlimIntegrationAuthConfigRead: core.serialization.ObjectSchema<serializers.SlimIntegrationAuthConfigRead.Raw, Vellum.SlimIntegrationAuthConfigRead>;
|
|
11
12
|
export declare namespace SlimIntegrationAuthConfigRead {
|
|
@@ -13,6 +14,7 @@ export declare namespace SlimIntegrationAuthConfigRead {
|
|
|
13
14
|
id: string;
|
|
14
15
|
integration: IntegrationAuthConfigIntegration.Raw;
|
|
15
16
|
integration_credentials?: (IntegrationAuthConfigIntegrationCredential.Raw[] | null) | null;
|
|
17
|
+
auth_type?: AuthTypeEnum.Raw | null;
|
|
16
18
|
default_access_type?: IntegrationCredentialAccessType.Raw | null;
|
|
17
19
|
}
|
|
18
20
|
}
|
|
@@ -40,10 +40,12 @@ exports.SlimIntegrationAuthConfigRead = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const IntegrationAuthConfigIntegration_1 = require("./IntegrationAuthConfigIntegration");
|
|
42
42
|
const IntegrationAuthConfigIntegrationCredential_1 = require("./IntegrationAuthConfigIntegrationCredential");
|
|
43
|
+
const AuthTypeEnum_1 = require("./AuthTypeEnum");
|
|
43
44
|
const IntegrationCredentialAccessType_1 = require("./IntegrationCredentialAccessType");
|
|
44
45
|
exports.SlimIntegrationAuthConfigRead = core.serialization.object({
|
|
45
46
|
id: core.serialization.string(),
|
|
46
47
|
integration: IntegrationAuthConfigIntegration_1.IntegrationAuthConfigIntegration,
|
|
47
48
|
integrationCredentials: core.serialization.property("integration_credentials", core.serialization.list(IntegrationAuthConfigIntegrationCredential_1.IntegrationAuthConfigIntegrationCredential).optionalNullable()),
|
|
49
|
+
authType: core.serialization.property("auth_type", AuthTypeEnum_1.AuthTypeEnum.optional()),
|
|
48
50
|
defaultAccessType: core.serialization.property("default_access_type", IntegrationCredentialAccessType_1.IntegrationCredentialAccessType.optional()),
|
|
49
51
|
});
|
|
@@ -6,21 +6,21 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ExecutionVellumValue } from "./ExecutionVellumValue";
|
|
8
8
|
import { WorkflowError } from "./WorkflowError";
|
|
9
|
+
import { WorkflowExecutionUsageResult } from "./WorkflowExecutionUsageResult";
|
|
9
10
|
import { WorkflowExecutionActual } from "./WorkflowExecutionActual";
|
|
10
11
|
import { WorkflowExecutionViewOnlineEvalMetricResult } from "./WorkflowExecutionViewOnlineEvalMetricResult";
|
|
11
|
-
import { WorkflowExecutionUsageResult } from "./WorkflowExecutionUsageResult";
|
|
12
12
|
export declare const SlimWorkflowExecutionRead: core.serialization.ObjectSchema<serializers.SlimWorkflowExecutionRead.Raw, Vellum.SlimWorkflowExecutionRead>;
|
|
13
13
|
export declare namespace SlimWorkflowExecutionRead {
|
|
14
14
|
interface Raw {
|
|
15
15
|
span_id: string;
|
|
16
|
-
parent_context?: (serializers.WorkflowDeploymentParentContext.Raw | null) | null;
|
|
17
16
|
start: string;
|
|
18
17
|
end?: (string | null) | null;
|
|
19
18
|
inputs: ExecutionVellumValue.Raw[];
|
|
20
19
|
outputs: ExecutionVellumValue.Raw[];
|
|
21
20
|
error?: (WorkflowError.Raw | null) | null;
|
|
21
|
+
usage_results?: (WorkflowExecutionUsageResult.Raw[] | null) | null;
|
|
22
|
+
parent_context?: (serializers.WorkflowDeploymentParentContext.Raw | null) | null;
|
|
22
23
|
latest_actual?: (WorkflowExecutionActual.Raw | null) | null;
|
|
23
24
|
metric_results: WorkflowExecutionViewOnlineEvalMetricResult.Raw[];
|
|
24
|
-
usage_results?: (WorkflowExecutionUsageResult.Raw[] | null) | null;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -41,18 +41,18 @@ const serializers = __importStar(require("../index"));
|
|
|
41
41
|
const core = __importStar(require("../../core"));
|
|
42
42
|
const ExecutionVellumValue_1 = require("./ExecutionVellumValue");
|
|
43
43
|
const WorkflowError_1 = require("./WorkflowError");
|
|
44
|
+
const WorkflowExecutionUsageResult_1 = require("./WorkflowExecutionUsageResult");
|
|
44
45
|
const WorkflowExecutionActual_1 = require("./WorkflowExecutionActual");
|
|
45
46
|
const WorkflowExecutionViewOnlineEvalMetricResult_1 = require("./WorkflowExecutionViewOnlineEvalMetricResult");
|
|
46
|
-
const WorkflowExecutionUsageResult_1 = require("./WorkflowExecutionUsageResult");
|
|
47
47
|
exports.SlimWorkflowExecutionRead = core.serialization.object({
|
|
48
48
|
spanId: core.serialization.property("span_id", core.serialization.string()),
|
|
49
|
-
parentContext: core.serialization.property("parent_context", core.serialization.lazyObject(() => serializers.WorkflowDeploymentParentContext).optionalNullable()),
|
|
50
49
|
start: core.serialization.date(),
|
|
51
50
|
end: core.serialization.date().optionalNullable(),
|
|
52
51
|
inputs: core.serialization.list(ExecutionVellumValue_1.ExecutionVellumValue),
|
|
53
52
|
outputs: core.serialization.list(ExecutionVellumValue_1.ExecutionVellumValue),
|
|
54
53
|
error: WorkflowError_1.WorkflowError.optionalNullable(),
|
|
54
|
+
usageResults: core.serialization.property("usage_results", core.serialization.list(WorkflowExecutionUsageResult_1.WorkflowExecutionUsageResult).optionalNullable()),
|
|
55
|
+
parentContext: core.serialization.property("parent_context", core.serialization.lazyObject(() => serializers.WorkflowDeploymentParentContext).optionalNullable()),
|
|
55
56
|
latestActual: core.serialization.property("latest_actual", WorkflowExecutionActual_1.WorkflowExecutionActual.optionalNullable()),
|
|
56
57
|
metricResults: core.serialization.property("metric_results", core.serialization.list(WorkflowExecutionViewOnlineEvalMetricResult_1.WorkflowExecutionViewOnlineEvalMetricResult)),
|
|
57
|
-
usageResults: core.serialization.property("usage_results", core.serialization.list(WorkflowExecutionUsageResult_1.WorkflowExecutionUsageResult).optionalNullable()),
|
|
58
58
|
});
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const VellumErrorCodeEnum: core.serialization.Schema<serializers.VellumErrorCodeEnum.Raw, Vellum.VellumErrorCodeEnum>;
|
|
8
8
|
export declare namespace VellumErrorCodeEnum {
|
|
9
|
-
type Raw = "INVALID_REQUEST" | "INVALID_INPUTS" | "PROVIDER_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_CANCELLED";
|
|
9
|
+
type Raw = "INVALID_REQUEST" | "INVALID_INPUTS" | "PROVIDER_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_CANCELLED" | "PROVIDER_QUOTA_EXCEEDED";
|
|
10
10
|
}
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const VellumSdkErrorCodeEnum: core.serialization.Schema<serializers.VellumSdkErrorCodeEnum.Raw, Vellum.VellumSdkErrorCodeEnum>;
|
|
8
8
|
export declare namespace VellumSdkErrorCodeEnum {
|
|
9
|
-
type Raw = "INVALID_WORKFLOW" | "INVALID_INPUTS" | "INVALID_OUTPUTS" | "INVALID_STATE" | "INVALID_CODE" | "INVALID_TEMPLATE" | "INTERNAL_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "PROVIDER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_CANCELLED" | "NODE_EXECUTION";
|
|
9
|
+
type Raw = "INVALID_WORKFLOW" | "INVALID_INPUTS" | "INVALID_OUTPUTS" | "INVALID_STATE" | "INVALID_CODE" | "INVALID_TEMPLATE" | "INTERNAL_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "PROVIDER_ERROR" | "PROVIDER_QUOTA_EXCEEDED" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_CANCELLED" | "NODE_EXECUTION";
|
|
10
10
|
}
|
|
@@ -49,6 +49,7 @@ exports.VellumSdkErrorCodeEnum = core.serialization.enum_([
|
|
|
49
49
|
"PROVIDER_CREDENTIALS_UNAVAILABLE",
|
|
50
50
|
"INTEGRATION_CREDENTIALS_UNAVAILABLE",
|
|
51
51
|
"PROVIDER_ERROR",
|
|
52
|
+
"PROVIDER_QUOTA_EXCEEDED",
|
|
52
53
|
"USER_DEFINED_ERROR",
|
|
53
54
|
"WORKFLOW_CANCELLED",
|
|
54
55
|
"NODE_CANCELLED",
|
|
@@ -6,23 +6,23 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ExecutionVellumValue } from "./ExecutionVellumValue";
|
|
8
8
|
import { WorkflowError } from "./WorkflowError";
|
|
9
|
+
import { WorkflowExecutionUsageResult } from "./WorkflowExecutionUsageResult";
|
|
9
10
|
import { WorkflowExecutionActual } from "./WorkflowExecutionActual";
|
|
10
11
|
import { WorkflowExecutionViewOnlineEvalMetricResult } from "./WorkflowExecutionViewOnlineEvalMetricResult";
|
|
11
|
-
import { WorkflowExecutionUsageResult } from "./WorkflowExecutionUsageResult";
|
|
12
12
|
import { VellumSpan } from "./VellumSpan";
|
|
13
13
|
export declare const WorkflowEventExecutionRead: core.serialization.ObjectSchema<serializers.WorkflowEventExecutionRead.Raw, Vellum.WorkflowEventExecutionRead>;
|
|
14
14
|
export declare namespace WorkflowEventExecutionRead {
|
|
15
15
|
interface Raw {
|
|
16
16
|
span_id: string;
|
|
17
|
-
parent_context?: (serializers.WorkflowDeploymentParentContext.Raw | null) | null;
|
|
18
17
|
start: string;
|
|
19
18
|
end?: (string | null) | null;
|
|
20
19
|
inputs: ExecutionVellumValue.Raw[];
|
|
21
20
|
outputs: ExecutionVellumValue.Raw[];
|
|
22
21
|
error?: (WorkflowError.Raw | null) | null;
|
|
22
|
+
usage_results?: (WorkflowExecutionUsageResult.Raw[] | null) | null;
|
|
23
|
+
parent_context?: (serializers.WorkflowDeploymentParentContext.Raw | null) | null;
|
|
23
24
|
latest_actual?: (WorkflowExecutionActual.Raw | null) | null;
|
|
24
25
|
metric_results: WorkflowExecutionViewOnlineEvalMetricResult.Raw[];
|
|
25
|
-
usage_results?: (WorkflowExecutionUsageResult.Raw[] | null) | null;
|
|
26
26
|
spans: VellumSpan.Raw[];
|
|
27
27
|
state?: (Record<string, unknown> | null) | null;
|
|
28
28
|
}
|
|
@@ -41,21 +41,21 @@ const serializers = __importStar(require("../index"));
|
|
|
41
41
|
const core = __importStar(require("../../core"));
|
|
42
42
|
const ExecutionVellumValue_1 = require("./ExecutionVellumValue");
|
|
43
43
|
const WorkflowError_1 = require("./WorkflowError");
|
|
44
|
+
const WorkflowExecutionUsageResult_1 = require("./WorkflowExecutionUsageResult");
|
|
44
45
|
const WorkflowExecutionActual_1 = require("./WorkflowExecutionActual");
|
|
45
46
|
const WorkflowExecutionViewOnlineEvalMetricResult_1 = require("./WorkflowExecutionViewOnlineEvalMetricResult");
|
|
46
|
-
const WorkflowExecutionUsageResult_1 = require("./WorkflowExecutionUsageResult");
|
|
47
47
|
const VellumSpan_1 = require("./VellumSpan");
|
|
48
48
|
exports.WorkflowEventExecutionRead = core.serialization.object({
|
|
49
49
|
spanId: core.serialization.property("span_id", core.serialization.string()),
|
|
50
|
-
parentContext: core.serialization.property("parent_context", core.serialization.lazyObject(() => serializers.WorkflowDeploymentParentContext).optionalNullable()),
|
|
51
50
|
start: core.serialization.date(),
|
|
52
51
|
end: core.serialization.date().optionalNullable(),
|
|
53
52
|
inputs: core.serialization.list(ExecutionVellumValue_1.ExecutionVellumValue),
|
|
54
53
|
outputs: core.serialization.list(ExecutionVellumValue_1.ExecutionVellumValue),
|
|
55
54
|
error: WorkflowError_1.WorkflowError.optionalNullable(),
|
|
55
|
+
usageResults: core.serialization.property("usage_results", core.serialization.list(WorkflowExecutionUsageResult_1.WorkflowExecutionUsageResult).optionalNullable()),
|
|
56
|
+
parentContext: core.serialization.property("parent_context", core.serialization.lazyObject(() => serializers.WorkflowDeploymentParentContext).optionalNullable()),
|
|
56
57
|
latestActual: core.serialization.property("latest_actual", WorkflowExecutionActual_1.WorkflowExecutionActual.optionalNullable()),
|
|
57
58
|
metricResults: core.serialization.property("metric_results", core.serialization.list(WorkflowExecutionViewOnlineEvalMetricResult_1.WorkflowExecutionViewOnlineEvalMetricResult)),
|
|
58
|
-
usageResults: core.serialization.property("usage_results", core.serialization.list(WorkflowExecutionUsageResult_1.WorkflowExecutionUsageResult).optionalNullable()),
|
|
59
59
|
spans: core.serialization.list(VellumSpan_1.VellumSpan),
|
|
60
60
|
state: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optionalNullable(),
|
|
61
61
|
});
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const WorkflowExecutionEventErrorCode: core.serialization.Schema<serializers.WorkflowExecutionEventErrorCode.Raw, Vellum.WorkflowExecutionEventErrorCode>;
|
|
8
8
|
export declare namespace WorkflowExecutionEventErrorCode {
|
|
9
|
-
type Raw = "WORKFLOW_INITIALIZATION" | "WORKFLOW_CANCELLED" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "INTERNAL_SERVER_ERROR" | "NODE_EXECUTION" | "NODE_CANCELLED" | "LLM_PROVIDER" | "INVALID_TEMPLATE" | "INVALID_INPUTS" | "USER_DEFINED_ERROR";
|
|
9
|
+
type Raw = "WORKFLOW_INITIALIZATION" | "WORKFLOW_CANCELLED" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "INTERNAL_SERVER_ERROR" | "NODE_EXECUTION" | "NODE_CANCELLED" | "LLM_PROVIDER" | "INVALID_TEMPLATE" | "INVALID_INPUTS" | "PROVIDER_QUOTA_EXCEEDED" | "USER_DEFINED_ERROR";
|
|
10
10
|
}
|
|
@@ -9,6 +9,7 @@ export declare const WorkflowExecutionSnapshottedBody: core.serialization.Object
|
|
|
9
9
|
export declare namespace WorkflowExecutionSnapshottedBody {
|
|
10
10
|
interface Raw {
|
|
11
11
|
workflow_definition: VellumCodeResourceDefinition.Raw;
|
|
12
|
+
edited_by?: (VellumCodeResourceDefinition.Raw | null) | null;
|
|
12
13
|
state: Record<string, unknown>;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
@@ -41,5 +41,6 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const VellumCodeResourceDefinition_1 = require("./VellumCodeResourceDefinition");
|
|
42
42
|
exports.WorkflowExecutionSnapshottedBody = core.serialization.object({
|
|
43
43
|
workflowDefinition: core.serialization.property("workflow_definition", VellumCodeResourceDefinition_1.VellumCodeResourceDefinition),
|
|
44
|
+
editedBy: core.serialization.property("edited_by", VellumCodeResourceDefinition_1.VellumCodeResourceDefinition.optionalNullable()),
|
|
44
45
|
state: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
45
46
|
});
|
|
@@ -26,6 +26,7 @@ export * from "./AudioInputRequest";
|
|
|
26
26
|
export * from "./AudioPromptBlock";
|
|
27
27
|
export * from "./AudioVellumValue";
|
|
28
28
|
export * from "./AudioVellumValueRequest";
|
|
29
|
+
export * from "./AuthTypeEnum";
|
|
29
30
|
export * from "./BaseOutput";
|
|
30
31
|
export * from "./BasicVectorizerIntfloatMultilingualE5Large";
|
|
31
32
|
export * from "./BasicVectorizerIntfloatMultilingualE5LargeRequest";
|
|
@@ -42,6 +42,7 @@ __exportStar(require("./AudioInputRequest"), exports);
|
|
|
42
42
|
__exportStar(require("./AudioPromptBlock"), exports);
|
|
43
43
|
__exportStar(require("./AudioVellumValue"), exports);
|
|
44
44
|
__exportStar(require("./AudioVellumValueRequest"), exports);
|
|
45
|
+
__exportStar(require("./AuthTypeEnum"), exports);
|
|
45
46
|
__exportStar(require("./BaseOutput"), exports);
|
|
46
47
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5Large"), exports);
|
|
47
48
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5LargeRequest"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.7.
|
|
1
|
+
export declare const SDK_VERSION = "1.7.12";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -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 AuthTypeEnum: core.serialization.Schema<serializers.AuthTypeEnum.Raw, Vellum.AuthTypeEnum>;
|
|
8
|
+
export declare namespace AuthTypeEnum {
|
|
9
|
+
type Raw = "API_KEY" | "OAUTH2";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AuthTypeEnum = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.AuthTypeEnum = core.serialization.enum_(["API_KEY", "OAUTH2"]);
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const IntegrationName: core.serialization.Schema<serializers.IntegrationName.Raw, Vellum.IntegrationName>;
|
|
8
8
|
export declare namespace IntegrationName {
|
|
9
|
-
type Raw = "SLACK" | "NOTION" | "GOOGLE" | "CALENDLY" | "HUBSPOT" | "LINEAR" | "GITHUB" | "GOOGLE_SHEETS" | "GOOGLE_CALENDAR" | "GOOGLE_DRIVE" | "GMAIL" | "AIRTABLE";
|
|
9
|
+
type Raw = "SLACK" | "NOTION" | "GOOGLE" | "CALENDLY" | "HUBSPOT" | "LINEAR" | "GITHUB" | "GOOGLE_SHEETS" | "GOOGLE_CALENDAR" | "GOOGLE_DRIVE" | "GMAIL" | "AIRTABLE" | "GAMMA" | "FIRECRAWL" | "PERPLEXITY" | "SERPAPI";
|
|
10
10
|
}
|
|
@@ -6,6 +6,7 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { IntegrationAuthConfigIntegration } from "./IntegrationAuthConfigIntegration";
|
|
8
8
|
import { IntegrationAuthConfigIntegrationCredential } from "./IntegrationAuthConfigIntegrationCredential";
|
|
9
|
+
import { AuthTypeEnum } from "./AuthTypeEnum";
|
|
9
10
|
import { IntegrationCredentialAccessType } from "./IntegrationCredentialAccessType";
|
|
10
11
|
export declare const SlimIntegrationAuthConfigRead: core.serialization.ObjectSchema<serializers.SlimIntegrationAuthConfigRead.Raw, Vellum.SlimIntegrationAuthConfigRead>;
|
|
11
12
|
export declare namespace SlimIntegrationAuthConfigRead {
|
|
@@ -13,6 +14,7 @@ export declare namespace SlimIntegrationAuthConfigRead {
|
|
|
13
14
|
id: string;
|
|
14
15
|
integration: IntegrationAuthConfigIntegration.Raw;
|
|
15
16
|
integration_credentials?: (IntegrationAuthConfigIntegrationCredential.Raw[] | null) | null;
|
|
17
|
+
auth_type?: AuthTypeEnum.Raw | null;
|
|
16
18
|
default_access_type?: IntegrationCredentialAccessType.Raw | null;
|
|
17
19
|
}
|
|
18
20
|
}
|
|
@@ -40,10 +40,12 @@ exports.SlimIntegrationAuthConfigRead = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const IntegrationAuthConfigIntegration_1 = require("./IntegrationAuthConfigIntegration");
|
|
42
42
|
const IntegrationAuthConfigIntegrationCredential_1 = require("./IntegrationAuthConfigIntegrationCredential");
|
|
43
|
+
const AuthTypeEnum_1 = require("./AuthTypeEnum");
|
|
43
44
|
const IntegrationCredentialAccessType_1 = require("./IntegrationCredentialAccessType");
|
|
44
45
|
exports.SlimIntegrationAuthConfigRead = core.serialization.object({
|
|
45
46
|
id: core.serialization.string(),
|
|
46
47
|
integration: IntegrationAuthConfigIntegration_1.IntegrationAuthConfigIntegration,
|
|
47
48
|
integrationCredentials: core.serialization.property("integration_credentials", core.serialization.list(IntegrationAuthConfigIntegrationCredential_1.IntegrationAuthConfigIntegrationCredential).optionalNullable()),
|
|
49
|
+
authType: core.serialization.property("auth_type", AuthTypeEnum_1.AuthTypeEnum.optional()),
|
|
48
50
|
defaultAccessType: core.serialization.property("default_access_type", IntegrationCredentialAccessType_1.IntegrationCredentialAccessType.optional()),
|
|
49
51
|
});
|
|
@@ -6,21 +6,21 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ExecutionVellumValue } from "./ExecutionVellumValue";
|
|
8
8
|
import { WorkflowError } from "./WorkflowError";
|
|
9
|
+
import { WorkflowExecutionUsageResult } from "./WorkflowExecutionUsageResult";
|
|
9
10
|
import { WorkflowExecutionActual } from "./WorkflowExecutionActual";
|
|
10
11
|
import { WorkflowExecutionViewOnlineEvalMetricResult } from "./WorkflowExecutionViewOnlineEvalMetricResult";
|
|
11
|
-
import { WorkflowExecutionUsageResult } from "./WorkflowExecutionUsageResult";
|
|
12
12
|
export declare const SlimWorkflowExecutionRead: core.serialization.ObjectSchema<serializers.SlimWorkflowExecutionRead.Raw, Vellum.SlimWorkflowExecutionRead>;
|
|
13
13
|
export declare namespace SlimWorkflowExecutionRead {
|
|
14
14
|
interface Raw {
|
|
15
15
|
span_id: string;
|
|
16
|
-
parent_context?: (serializers.WorkflowDeploymentParentContext.Raw | null) | null;
|
|
17
16
|
start: string;
|
|
18
17
|
end?: (string | null) | null;
|
|
19
18
|
inputs: ExecutionVellumValue.Raw[];
|
|
20
19
|
outputs: ExecutionVellumValue.Raw[];
|
|
21
20
|
error?: (WorkflowError.Raw | null) | null;
|
|
21
|
+
usage_results?: (WorkflowExecutionUsageResult.Raw[] | null) | null;
|
|
22
|
+
parent_context?: (serializers.WorkflowDeploymentParentContext.Raw | null) | null;
|
|
22
23
|
latest_actual?: (WorkflowExecutionActual.Raw | null) | null;
|
|
23
24
|
metric_results: WorkflowExecutionViewOnlineEvalMetricResult.Raw[];
|
|
24
|
-
usage_results?: (WorkflowExecutionUsageResult.Raw[] | null) | null;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -41,18 +41,18 @@ const serializers = __importStar(require("../index"));
|
|
|
41
41
|
const core = __importStar(require("../../core"));
|
|
42
42
|
const ExecutionVellumValue_1 = require("./ExecutionVellumValue");
|
|
43
43
|
const WorkflowError_1 = require("./WorkflowError");
|
|
44
|
+
const WorkflowExecutionUsageResult_1 = require("./WorkflowExecutionUsageResult");
|
|
44
45
|
const WorkflowExecutionActual_1 = require("./WorkflowExecutionActual");
|
|
45
46
|
const WorkflowExecutionViewOnlineEvalMetricResult_1 = require("./WorkflowExecutionViewOnlineEvalMetricResult");
|
|
46
|
-
const WorkflowExecutionUsageResult_1 = require("./WorkflowExecutionUsageResult");
|
|
47
47
|
exports.SlimWorkflowExecutionRead = core.serialization.object({
|
|
48
48
|
spanId: core.serialization.property("span_id", core.serialization.string()),
|
|
49
|
-
parentContext: core.serialization.property("parent_context", core.serialization.lazyObject(() => serializers.WorkflowDeploymentParentContext).optionalNullable()),
|
|
50
49
|
start: core.serialization.date(),
|
|
51
50
|
end: core.serialization.date().optionalNullable(),
|
|
52
51
|
inputs: core.serialization.list(ExecutionVellumValue_1.ExecutionVellumValue),
|
|
53
52
|
outputs: core.serialization.list(ExecutionVellumValue_1.ExecutionVellumValue),
|
|
54
53
|
error: WorkflowError_1.WorkflowError.optionalNullable(),
|
|
54
|
+
usageResults: core.serialization.property("usage_results", core.serialization.list(WorkflowExecutionUsageResult_1.WorkflowExecutionUsageResult).optionalNullable()),
|
|
55
|
+
parentContext: core.serialization.property("parent_context", core.serialization.lazyObject(() => serializers.WorkflowDeploymentParentContext).optionalNullable()),
|
|
55
56
|
latestActual: core.serialization.property("latest_actual", WorkflowExecutionActual_1.WorkflowExecutionActual.optionalNullable()),
|
|
56
57
|
metricResults: core.serialization.property("metric_results", core.serialization.list(WorkflowExecutionViewOnlineEvalMetricResult_1.WorkflowExecutionViewOnlineEvalMetricResult)),
|
|
57
|
-
usageResults: core.serialization.property("usage_results", core.serialization.list(WorkflowExecutionUsageResult_1.WorkflowExecutionUsageResult).optionalNullable()),
|
|
58
58
|
});
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const VellumErrorCodeEnum: core.serialization.Schema<serializers.VellumErrorCodeEnum.Raw, Vellum.VellumErrorCodeEnum>;
|
|
8
8
|
export declare namespace VellumErrorCodeEnum {
|
|
9
|
-
type Raw = "INVALID_REQUEST" | "INVALID_INPUTS" | "PROVIDER_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_CANCELLED";
|
|
9
|
+
type Raw = "INVALID_REQUEST" | "INVALID_INPUTS" | "PROVIDER_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_CANCELLED" | "PROVIDER_QUOTA_EXCEEDED";
|
|
10
10
|
}
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const VellumSdkErrorCodeEnum: core.serialization.Schema<serializers.VellumSdkErrorCodeEnum.Raw, Vellum.VellumSdkErrorCodeEnum>;
|
|
8
8
|
export declare namespace VellumSdkErrorCodeEnum {
|
|
9
|
-
type Raw = "INVALID_WORKFLOW" | "INVALID_INPUTS" | "INVALID_OUTPUTS" | "INVALID_STATE" | "INVALID_CODE" | "INVALID_TEMPLATE" | "INTERNAL_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "PROVIDER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_CANCELLED" | "NODE_EXECUTION";
|
|
9
|
+
type Raw = "INVALID_WORKFLOW" | "INVALID_INPUTS" | "INVALID_OUTPUTS" | "INVALID_STATE" | "INVALID_CODE" | "INVALID_TEMPLATE" | "INTERNAL_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "PROVIDER_ERROR" | "PROVIDER_QUOTA_EXCEEDED" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_CANCELLED" | "NODE_EXECUTION";
|
|
10
10
|
}
|
|
@@ -49,6 +49,7 @@ exports.VellumSdkErrorCodeEnum = core.serialization.enum_([
|
|
|
49
49
|
"PROVIDER_CREDENTIALS_UNAVAILABLE",
|
|
50
50
|
"INTEGRATION_CREDENTIALS_UNAVAILABLE",
|
|
51
51
|
"PROVIDER_ERROR",
|
|
52
|
+
"PROVIDER_QUOTA_EXCEEDED",
|
|
52
53
|
"USER_DEFINED_ERROR",
|
|
53
54
|
"WORKFLOW_CANCELLED",
|
|
54
55
|
"NODE_CANCELLED",
|
|
@@ -6,23 +6,23 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ExecutionVellumValue } from "./ExecutionVellumValue";
|
|
8
8
|
import { WorkflowError } from "./WorkflowError";
|
|
9
|
+
import { WorkflowExecutionUsageResult } from "./WorkflowExecutionUsageResult";
|
|
9
10
|
import { WorkflowExecutionActual } from "./WorkflowExecutionActual";
|
|
10
11
|
import { WorkflowExecutionViewOnlineEvalMetricResult } from "./WorkflowExecutionViewOnlineEvalMetricResult";
|
|
11
|
-
import { WorkflowExecutionUsageResult } from "./WorkflowExecutionUsageResult";
|
|
12
12
|
import { VellumSpan } from "./VellumSpan";
|
|
13
13
|
export declare const WorkflowEventExecutionRead: core.serialization.ObjectSchema<serializers.WorkflowEventExecutionRead.Raw, Vellum.WorkflowEventExecutionRead>;
|
|
14
14
|
export declare namespace WorkflowEventExecutionRead {
|
|
15
15
|
interface Raw {
|
|
16
16
|
span_id: string;
|
|
17
|
-
parent_context?: (serializers.WorkflowDeploymentParentContext.Raw | null) | null;
|
|
18
17
|
start: string;
|
|
19
18
|
end?: (string | null) | null;
|
|
20
19
|
inputs: ExecutionVellumValue.Raw[];
|
|
21
20
|
outputs: ExecutionVellumValue.Raw[];
|
|
22
21
|
error?: (WorkflowError.Raw | null) | null;
|
|
22
|
+
usage_results?: (WorkflowExecutionUsageResult.Raw[] | null) | null;
|
|
23
|
+
parent_context?: (serializers.WorkflowDeploymentParentContext.Raw | null) | null;
|
|
23
24
|
latest_actual?: (WorkflowExecutionActual.Raw | null) | null;
|
|
24
25
|
metric_results: WorkflowExecutionViewOnlineEvalMetricResult.Raw[];
|
|
25
|
-
usage_results?: (WorkflowExecutionUsageResult.Raw[] | null) | null;
|
|
26
26
|
spans: VellumSpan.Raw[];
|
|
27
27
|
state?: (Record<string, unknown> | null) | null;
|
|
28
28
|
}
|
|
@@ -41,21 +41,21 @@ const serializers = __importStar(require("../index"));
|
|
|
41
41
|
const core = __importStar(require("../../core"));
|
|
42
42
|
const ExecutionVellumValue_1 = require("./ExecutionVellumValue");
|
|
43
43
|
const WorkflowError_1 = require("./WorkflowError");
|
|
44
|
+
const WorkflowExecutionUsageResult_1 = require("./WorkflowExecutionUsageResult");
|
|
44
45
|
const WorkflowExecutionActual_1 = require("./WorkflowExecutionActual");
|
|
45
46
|
const WorkflowExecutionViewOnlineEvalMetricResult_1 = require("./WorkflowExecutionViewOnlineEvalMetricResult");
|
|
46
|
-
const WorkflowExecutionUsageResult_1 = require("./WorkflowExecutionUsageResult");
|
|
47
47
|
const VellumSpan_1 = require("./VellumSpan");
|
|
48
48
|
exports.WorkflowEventExecutionRead = core.serialization.object({
|
|
49
49
|
spanId: core.serialization.property("span_id", core.serialization.string()),
|
|
50
|
-
parentContext: core.serialization.property("parent_context", core.serialization.lazyObject(() => serializers.WorkflowDeploymentParentContext).optionalNullable()),
|
|
51
50
|
start: core.serialization.date(),
|
|
52
51
|
end: core.serialization.date().optionalNullable(),
|
|
53
52
|
inputs: core.serialization.list(ExecutionVellumValue_1.ExecutionVellumValue),
|
|
54
53
|
outputs: core.serialization.list(ExecutionVellumValue_1.ExecutionVellumValue),
|
|
55
54
|
error: WorkflowError_1.WorkflowError.optionalNullable(),
|
|
55
|
+
usageResults: core.serialization.property("usage_results", core.serialization.list(WorkflowExecutionUsageResult_1.WorkflowExecutionUsageResult).optionalNullable()),
|
|
56
|
+
parentContext: core.serialization.property("parent_context", core.serialization.lazyObject(() => serializers.WorkflowDeploymentParentContext).optionalNullable()),
|
|
56
57
|
latestActual: core.serialization.property("latest_actual", WorkflowExecutionActual_1.WorkflowExecutionActual.optionalNullable()),
|
|
57
58
|
metricResults: core.serialization.property("metric_results", core.serialization.list(WorkflowExecutionViewOnlineEvalMetricResult_1.WorkflowExecutionViewOnlineEvalMetricResult)),
|
|
58
|
-
usageResults: core.serialization.property("usage_results", core.serialization.list(WorkflowExecutionUsageResult_1.WorkflowExecutionUsageResult).optionalNullable()),
|
|
59
59
|
spans: core.serialization.list(VellumSpan_1.VellumSpan),
|
|
60
60
|
state: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optionalNullable(),
|
|
61
61
|
});
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const WorkflowExecutionEventErrorCode: core.serialization.Schema<serializers.WorkflowExecutionEventErrorCode.Raw, Vellum.WorkflowExecutionEventErrorCode>;
|
|
8
8
|
export declare namespace WorkflowExecutionEventErrorCode {
|
|
9
|
-
type Raw = "WORKFLOW_INITIALIZATION" | "WORKFLOW_CANCELLED" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "INTERNAL_SERVER_ERROR" | "NODE_EXECUTION" | "NODE_CANCELLED" | "LLM_PROVIDER" | "INVALID_TEMPLATE" | "INVALID_INPUTS" | "USER_DEFINED_ERROR";
|
|
9
|
+
type Raw = "WORKFLOW_INITIALIZATION" | "WORKFLOW_CANCELLED" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "INTEGRATION_CREDENTIALS_UNAVAILABLE" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "INTERNAL_SERVER_ERROR" | "NODE_EXECUTION" | "NODE_CANCELLED" | "LLM_PROVIDER" | "INVALID_TEMPLATE" | "INVALID_INPUTS" | "PROVIDER_QUOTA_EXCEEDED" | "USER_DEFINED_ERROR";
|
|
10
10
|
}
|
|
@@ -9,6 +9,7 @@ export declare const WorkflowExecutionSnapshottedBody: core.serialization.Object
|
|
|
9
9
|
export declare namespace WorkflowExecutionSnapshottedBody {
|
|
10
10
|
interface Raw {
|
|
11
11
|
workflow_definition: VellumCodeResourceDefinition.Raw;
|
|
12
|
+
edited_by?: (VellumCodeResourceDefinition.Raw | null) | null;
|
|
12
13
|
state: Record<string, unknown>;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
@@ -41,5 +41,6 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const VellumCodeResourceDefinition_1 = require("./VellumCodeResourceDefinition");
|
|
42
42
|
exports.WorkflowExecutionSnapshottedBody = core.serialization.object({
|
|
43
43
|
workflowDefinition: core.serialization.property("workflow_definition", VellumCodeResourceDefinition_1.VellumCodeResourceDefinition),
|
|
44
|
+
editedBy: core.serialization.property("edited_by", VellumCodeResourceDefinition_1.VellumCodeResourceDefinition.optionalNullable()),
|
|
44
45
|
state: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
45
46
|
});
|
|
@@ -26,6 +26,7 @@ export * from "./AudioInputRequest";
|
|
|
26
26
|
export * from "./AudioPromptBlock";
|
|
27
27
|
export * from "./AudioVellumValue";
|
|
28
28
|
export * from "./AudioVellumValueRequest";
|
|
29
|
+
export * from "./AuthTypeEnum";
|
|
29
30
|
export * from "./BaseOutput";
|
|
30
31
|
export * from "./BasicVectorizerIntfloatMultilingualE5Large";
|
|
31
32
|
export * from "./BasicVectorizerIntfloatMultilingualE5LargeRequest";
|
|
@@ -42,6 +42,7 @@ __exportStar(require("./AudioInputRequest"), exports);
|
|
|
42
42
|
__exportStar(require("./AudioPromptBlock"), exports);
|
|
43
43
|
__exportStar(require("./AudioVellumValue"), exports);
|
|
44
44
|
__exportStar(require("./AudioVellumValueRequest"), exports);
|
|
45
|
+
__exportStar(require("./AuthTypeEnum"), exports);
|
|
45
46
|
__exportStar(require("./BaseOutput"), exports);
|
|
46
47
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5Large"), exports);
|
|
47
48
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5LargeRequest"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.7.
|
|
1
|
+
export declare const SDK_VERSION = "1.7.12";
|
package/version.js
CHANGED