vellum-ai 0.0.28 → 0.0.30
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/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -0
- package/api/resources/documents/client/Client.d.ts +8 -0
- package/api/resources/documents/client/Client.js +46 -0
- package/api/resources/documents/client/requests/PatchedDocumentUpdateRequest.d.ts +16 -0
- package/api/resources/documents/client/requests/index.d.ts +1 -0
- package/api/types/DeploymentRead.d.ts +1 -1
- package/api/types/{DeploymentReadStatusEnum.d.ts → DeploymentStatus.d.ts} +2 -2
- package/{dist/api/types/DeploymentReadStatusEnum.js → api/types/DeploymentStatus.js} +2 -2
- package/api/types/DocumentRead.d.ts +32 -0
- package/{dist/api/types/SlimDocumentStatusEnum.d.ts → api/types/DocumentStatus.d.ts} +1 -1
- package/api/types/DocumentStatus.js +5 -0
- package/api/types/SlimDocument.d.ts +1 -1
- package/api/types/WorkflowExecutionEventType.d.ts +12 -0
- package/api/types/WorkflowExecutionEventType.js +10 -0
- package/api/types/index.d.ts +4 -2
- package/api/types/index.js +4 -2
- package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -0
- package/dist/api/resources/documents/client/Client.d.ts +8 -0
- package/dist/api/resources/documents/client/Client.js +46 -0
- package/dist/api/resources/documents/client/requests/PatchedDocumentUpdateRequest.d.ts +16 -0
- package/dist/api/resources/documents/client/requests/PatchedDocumentUpdateRequest.js +5 -0
- package/dist/api/resources/documents/client/requests/index.d.ts +1 -0
- package/dist/api/types/DeploymentRead.d.ts +1 -1
- package/dist/api/types/{DeploymentReadStatusEnum.d.ts → DeploymentStatus.d.ts} +2 -2
- package/{api/types/DeploymentReadStatusEnum.js → dist/api/types/DeploymentStatus.js} +2 -2
- package/dist/api/types/DocumentRead.d.ts +32 -0
- package/dist/api/types/DocumentRead.js +5 -0
- package/{api/types/SlimDocumentStatusEnum.d.ts → dist/api/types/DocumentStatus.d.ts} +1 -1
- package/dist/api/types/DocumentStatus.js +5 -0
- package/dist/api/types/SlimDocument.d.ts +1 -1
- package/dist/api/types/WorkflowExecutionEventType.d.ts +12 -0
- package/dist/api/types/WorkflowExecutionEventType.js +10 -0
- package/dist/api/types/index.d.ts +4 -2
- package/dist/api/types/index.js +4 -2
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -0
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.js +3 -0
- package/dist/serialization/resources/documents/client/index.d.ts +1 -0
- package/dist/serialization/resources/documents/client/index.js +17 -0
- package/dist/serialization/resources/documents/client/requests/PatchedDocumentUpdateRequest.d.ts +14 -0
- package/dist/serialization/resources/documents/client/requests/PatchedDocumentUpdateRequest.js +35 -0
- package/dist/serialization/resources/documents/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/documents/client/requests/index.js +5 -0
- package/dist/serialization/resources/documents/index.d.ts +1 -0
- package/dist/serialization/resources/documents/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/types/DeploymentRead.d.ts +1 -1
- package/dist/serialization/types/DeploymentRead.js +1 -1
- package/dist/serialization/types/{DeploymentReadStatusEnum.d.ts → DeploymentStatus.d.ts} +2 -2
- package/dist/serialization/types/{DeploymentReadStatusEnum.js → DeploymentStatus.js} +2 -2
- package/dist/serialization/types/DocumentRead.d.ts +21 -0
- package/dist/serialization/types/DocumentRead.js +42 -0
- package/dist/serialization/types/{SlimDocumentStatusEnum.d.ts → DocumentStatus.d.ts} +2 -2
- package/dist/serialization/types/{SlimDocumentStatusEnum.js → DocumentStatus.js} +2 -2
- package/dist/serialization/types/SlimDocument.d.ts +1 -1
- package/dist/serialization/types/SlimDocument.js +1 -1
- package/dist/serialization/types/WorkflowExecutionEventType.d.ts +10 -0
- package/{serialization/types/DeploymentReadStatusEnum.js → dist/serialization/types/WorkflowExecutionEventType.js} +2 -2
- package/dist/serialization/types/index.d.ts +4 -2
- package/dist/serialization/types/index.js +4 -2
- package/package.json +1 -1
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -0
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.js +3 -0
- package/serialization/resources/documents/client/index.d.ts +1 -0
- package/serialization/resources/documents/client/index.js +17 -0
- package/serialization/resources/documents/client/requests/PatchedDocumentUpdateRequest.d.ts +14 -0
- package/serialization/resources/documents/client/requests/PatchedDocumentUpdateRequest.js +35 -0
- package/serialization/resources/documents/client/requests/index.d.ts +1 -0
- package/serialization/resources/documents/client/requests/index.js +5 -0
- package/serialization/resources/documents/index.d.ts +1 -0
- package/serialization/resources/documents/index.js +17 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/types/DeploymentRead.d.ts +1 -1
- package/serialization/types/DeploymentRead.js +1 -1
- package/serialization/types/{DeploymentReadStatusEnum.d.ts → DeploymentStatus.d.ts} +2 -2
- package/serialization/types/DeploymentStatus.js +31 -0
- package/serialization/types/DocumentRead.d.ts +21 -0
- package/serialization/types/DocumentRead.js +42 -0
- package/serialization/types/{SlimDocumentStatusEnum.d.ts → DocumentStatus.d.ts} +2 -2
- package/serialization/types/{SlimDocumentStatusEnum.js → DocumentStatus.js} +2 -2
- package/serialization/types/SlimDocument.d.ts +1 -1
- package/serialization/types/SlimDocument.js +1 -1
- package/serialization/types/WorkflowExecutionEventType.d.ts +10 -0
- package/serialization/types/WorkflowExecutionEventType.js +31 -0
- package/serialization/types/index.d.ts +4 -2
- package/serialization/types/index.js +4 -2
- /package/api/{types/SlimDocumentStatusEnum.js → resources/documents/client/requests/PatchedDocumentUpdateRequest.js} +0 -0
- /package/{dist/api/types/SlimDocumentStatusEnum.js → api/types/DocumentRead.js} +0 -0
package/dist/serialization/resources/documents/client/requests/PatchedDocumentUpdateRequest.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PatchedDocumentUpdateRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
exports.PatchedDocumentUpdateRequest = core.serialization.object({
|
|
32
|
+
label: core.serialization.string().optional(),
|
|
33
|
+
status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../..")))).DocumentStatus).optional(),
|
|
34
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
35
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PatchedDocumentUpdateRequest } from "./PatchedDocumentUpdateRequest";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PatchedDocumentUpdateRequest = void 0;
|
|
4
|
+
var PatchedDocumentUpdateRequest_1 = require("./PatchedDocumentUpdateRequest");
|
|
5
|
+
Object.defineProperty(exports, "PatchedDocumentUpdateRequest", { enumerable: true, get: function () { return PatchedDocumentUpdateRequest_1.PatchedDocumentUpdateRequest; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -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("./client"), exports);
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * as documentIndexes from "./documentIndexes";
|
|
2
2
|
export * from "./documentIndexes/client/requests";
|
|
3
|
+
export * as documents from "./documents";
|
|
4
|
+
export * from "./documents/client/requests";
|
|
3
5
|
export * as modelVersions from "./modelVersions";
|
|
4
6
|
export * from "./modelVersions/client/requests";
|
|
5
7
|
export * as registeredPrompts from "./registeredPrompts";
|
|
@@ -26,9 +26,11 @@ 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.testSuites = exports.sandboxes = exports.registeredPrompts = exports.modelVersions = exports.documentIndexes = void 0;
|
|
29
|
+
exports.testSuites = exports.sandboxes = exports.registeredPrompts = exports.modelVersions = exports.documents = exports.documentIndexes = void 0;
|
|
30
30
|
exports.documentIndexes = __importStar(require("./documentIndexes"));
|
|
31
31
|
__exportStar(require("./documentIndexes/client/requests"), exports);
|
|
32
|
+
exports.documents = __importStar(require("./documents"));
|
|
33
|
+
__exportStar(require("./documents/client/requests"), exports);
|
|
32
34
|
exports.modelVersions = __importStar(require("./modelVersions"));
|
|
33
35
|
__exportStar(require("./modelVersions/client/requests"), exports);
|
|
34
36
|
exports.registeredPrompts = __importStar(require("./registeredPrompts"));
|
|
@@ -11,7 +11,7 @@ export declare namespace DeploymentRead {
|
|
|
11
11
|
created: string;
|
|
12
12
|
label: string;
|
|
13
13
|
name: string;
|
|
14
|
-
status?: serializers.
|
|
14
|
+
status?: serializers.DeploymentStatus.Raw | null;
|
|
15
15
|
environment?: serializers.EnvironmentEnum.Raw | null;
|
|
16
16
|
model_type: serializers.ModelTypeEnum.Raw;
|
|
17
17
|
active_model_version_ids: string[];
|
|
@@ -33,7 +33,7 @@ exports.DeploymentRead = core.serialization.object({
|
|
|
33
33
|
created: core.serialization.string(),
|
|
34
34
|
label: core.serialization.string(),
|
|
35
35
|
name: core.serialization.string(),
|
|
36
|
-
status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
36
|
+
status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).DeploymentStatus).optional(),
|
|
37
37
|
environment: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).EnvironmentEnum).optional(),
|
|
38
38
|
modelType: core.serialization.property("model_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ModelTypeEnum)),
|
|
39
39
|
activeModelVersionIds: core.serialization.property("active_model_version_ids", core.serialization.list(core.serialization.string())),
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const DeploymentStatus: core.serialization.Schema<serializers.DeploymentStatus.Raw, Vellum.DeploymentStatus>;
|
|
8
|
+
export declare namespace DeploymentStatus {
|
|
9
9
|
type Raw = "ACTIVE" | "INACTIVE" | "ARCHIVED";
|
|
10
10
|
}
|
|
@@ -26,6 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.DeploymentStatus = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.DeploymentStatus = core.serialization.enum_(["ACTIVE", "INACTIVE", "ARCHIVED"]);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const DocumentRead: core.serialization.ObjectSchema<serializers.DocumentRead.Raw, Vellum.DocumentRead>;
|
|
8
|
+
export declare namespace DocumentRead {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
external_id?: string | null;
|
|
12
|
+
last_uploaded_at: string;
|
|
13
|
+
label: string;
|
|
14
|
+
processing_state?: serializers.ProcessingStateEnum.Raw | null;
|
|
15
|
+
status?: serializers.DocumentStatus.Raw | null;
|
|
16
|
+
original_file_url?: string | null;
|
|
17
|
+
processed_file_url?: string | null;
|
|
18
|
+
document_to_document_indexes: serializers.DocumentDocumentToDocumentIndex.Raw[];
|
|
19
|
+
metadata?: Record<string, unknown> | null;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.DocumentRead = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.DocumentRead = core.serialization.object({
|
|
32
|
+
id: core.serialization.string(),
|
|
33
|
+
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
34
|
+
lastUploadedAt: core.serialization.property("last_uploaded_at", core.serialization.string()),
|
|
35
|
+
label: core.serialization.string(),
|
|
36
|
+
processingState: core.serialization.property("processing_state", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ProcessingStateEnum).optional()),
|
|
37
|
+
status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).DocumentStatus).optional(),
|
|
38
|
+
originalFileUrl: core.serialization.property("original_file_url", core.serialization.string().optional()),
|
|
39
|
+
processedFileUrl: core.serialization.property("processed_file_url", core.serialization.string().optional()),
|
|
40
|
+
documentToDocumentIndexes: core.serialization.property("document_to_document_indexes", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).DocumentDocumentToDocumentIndex))),
|
|
41
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
42
|
+
});
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const DocumentStatus: core.serialization.Schema<serializers.DocumentStatus.Raw, Vellum.DocumentStatus>;
|
|
8
|
+
export declare namespace DocumentStatus {
|
|
9
9
|
type Raw = "ACTIVE";
|
|
10
10
|
}
|
|
@@ -26,6 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.DocumentStatus = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.DocumentStatus = core.serialization.stringLiteral("ACTIVE");
|
|
@@ -13,7 +13,7 @@ export declare namespace SlimDocument {
|
|
|
13
13
|
label: string;
|
|
14
14
|
processing_state?: serializers.ProcessingStateEnum.Raw | null;
|
|
15
15
|
processing_failure_reason?: serializers.ProcessingFailureReasonEnum.Raw | null;
|
|
16
|
-
status?: serializers.
|
|
16
|
+
status?: serializers.DocumentStatus.Raw | null;
|
|
17
17
|
keywords?: string[] | null;
|
|
18
18
|
document_to_document_indexes: serializers.DocumentDocumentToDocumentIndex.Raw[];
|
|
19
19
|
}
|
|
@@ -35,7 +35,7 @@ exports.SlimDocument = core.serialization.object({
|
|
|
35
35
|
label: core.serialization.string(),
|
|
36
36
|
processingState: core.serialization.property("processing_state", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ProcessingStateEnum).optional()),
|
|
37
37
|
processingFailureReason: core.serialization.property("processing_failure_reason", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ProcessingFailureReasonEnum).optional()),
|
|
38
|
-
status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
38
|
+
status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).DocumentStatus).optional(),
|
|
39
39
|
keywords: core.serialization.list(core.serialization.string()).optional(),
|
|
40
40
|
documentToDocumentIndexes: core.serialization.property("document_to_document_indexes", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).DocumentDocumentToDocumentIndex))),
|
|
41
41
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const WorkflowExecutionEventType: core.serialization.Schema<serializers.WorkflowExecutionEventType.Raw, Vellum.WorkflowExecutionEventType>;
|
|
8
|
+
export declare namespace WorkflowExecutionEventType {
|
|
9
|
+
type Raw = "NODE" | "WORKFLOW";
|
|
10
|
+
}
|
|
@@ -26,6 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.WorkflowExecutionEventType = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.WorkflowExecutionEventType = core.serialization.enum_(["NODE", "WORKFLOW"]);
|
|
@@ -8,11 +8,13 @@ export * from "./ContentType";
|
|
|
8
8
|
export * from "./DeploymentNodeResult";
|
|
9
9
|
export * from "./DeploymentNodeResultData";
|
|
10
10
|
export * from "./DeploymentRead";
|
|
11
|
-
export * from "./
|
|
11
|
+
export * from "./DeploymentStatus";
|
|
12
12
|
export * from "./Document";
|
|
13
13
|
export * from "./DocumentDocumentToDocumentIndex";
|
|
14
14
|
export * from "./DocumentIndexRead";
|
|
15
15
|
export * from "./DocumentIndexStatus";
|
|
16
|
+
export * from "./DocumentRead";
|
|
17
|
+
export * from "./DocumentStatus";
|
|
16
18
|
export * from "./EnrichedNormalizedCompletion";
|
|
17
19
|
export * from "./EnvironmentEnum";
|
|
18
20
|
export * from "./EvaluationParams";
|
|
@@ -87,7 +89,6 @@ export * from "./SearchResult";
|
|
|
87
89
|
export * from "./SearchResultMergingRequest";
|
|
88
90
|
export * from "./SearchWeightsRequest";
|
|
89
91
|
export * from "./SlimDocument";
|
|
90
|
-
export * from "./SlimDocumentStatusEnum";
|
|
91
92
|
export * from "./SubmitCompletionActualRequest";
|
|
92
93
|
export * from "./SubmitCompletionActualsErrorResponse";
|
|
93
94
|
export * from "./TerminalNodeChatHistoryResult";
|
|
@@ -101,6 +102,7 @@ export * from "./UploadDocumentErrorResponse";
|
|
|
101
102
|
export * from "./UploadDocumentResponse";
|
|
102
103
|
export * from "./WorkflowEventError";
|
|
103
104
|
export * from "./WorkflowExecutionEventErrorCode";
|
|
105
|
+
export * from "./WorkflowExecutionEventType";
|
|
104
106
|
export * from "./WorkflowExecutionNodeResultEvent";
|
|
105
107
|
export * from "./WorkflowExecutionWorkflowResultEvent";
|
|
106
108
|
export * from "./WorkflowNodeResultData";
|
|
@@ -24,11 +24,13 @@ __exportStar(require("./ContentType"), exports);
|
|
|
24
24
|
__exportStar(require("./DeploymentNodeResult"), exports);
|
|
25
25
|
__exportStar(require("./DeploymentNodeResultData"), exports);
|
|
26
26
|
__exportStar(require("./DeploymentRead"), exports);
|
|
27
|
-
__exportStar(require("./
|
|
27
|
+
__exportStar(require("./DeploymentStatus"), exports);
|
|
28
28
|
__exportStar(require("./Document"), exports);
|
|
29
29
|
__exportStar(require("./DocumentDocumentToDocumentIndex"), exports);
|
|
30
30
|
__exportStar(require("./DocumentIndexRead"), exports);
|
|
31
31
|
__exportStar(require("./DocumentIndexStatus"), exports);
|
|
32
|
+
__exportStar(require("./DocumentRead"), exports);
|
|
33
|
+
__exportStar(require("./DocumentStatus"), exports);
|
|
32
34
|
__exportStar(require("./EnrichedNormalizedCompletion"), exports);
|
|
33
35
|
__exportStar(require("./EnvironmentEnum"), exports);
|
|
34
36
|
__exportStar(require("./EvaluationParams"), exports);
|
|
@@ -103,7 +105,6 @@ __exportStar(require("./SearchResult"), exports);
|
|
|
103
105
|
__exportStar(require("./SearchResultMergingRequest"), exports);
|
|
104
106
|
__exportStar(require("./SearchWeightsRequest"), exports);
|
|
105
107
|
__exportStar(require("./SlimDocument"), exports);
|
|
106
|
-
__exportStar(require("./SlimDocumentStatusEnum"), exports);
|
|
107
108
|
__exportStar(require("./SubmitCompletionActualRequest"), exports);
|
|
108
109
|
__exportStar(require("./SubmitCompletionActualsErrorResponse"), exports);
|
|
109
110
|
__exportStar(require("./TerminalNodeChatHistoryResult"), exports);
|
|
@@ -117,6 +118,7 @@ __exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
|
117
118
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
118
119
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
119
120
|
__exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
121
|
+
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
|
120
122
|
__exportStar(require("./WorkflowExecutionNodeResultEvent"), exports);
|
|
121
123
|
__exportStar(require("./WorkflowExecutionWorkflowResultEvent"), exports);
|
|
122
124
|
__exportStar(require("./WorkflowNodeResultData"), exports);
|
package/package.json
CHANGED
|
@@ -34,4 +34,7 @@ exports.ExecuteWorkflowStreamRequest = core.serialization.object({
|
|
|
34
34
|
releaseTag: core.serialization.property("release_tag", core.serialization.string().optional()),
|
|
35
35
|
inputs: core.serialization.list(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../..")))).WorkflowRequestInputRequest)),
|
|
36
36
|
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
37
|
+
eventTypes: core.serialization.property("event_types", core.serialization
|
|
38
|
+
.list(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../..")))).WorkflowExecutionEventType))
|
|
39
|
+
.optional()),
|
|
37
40
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -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("./requests"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../..";
|
|
5
|
+
import * as Vellum from "../../../../../api";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const PatchedDocumentUpdateRequest: core.serialization.Schema<serializers.PatchedDocumentUpdateRequest.Raw, Vellum.PatchedDocumentUpdateRequest>;
|
|
8
|
+
export declare namespace PatchedDocumentUpdateRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
label?: string | null;
|
|
11
|
+
status?: serializers.DocumentStatus.Raw | null;
|
|
12
|
+
metadata?: Record<string, unknown> | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PatchedDocumentUpdateRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
exports.PatchedDocumentUpdateRequest = core.serialization.object({
|
|
32
|
+
label: core.serialization.string().optional(),
|
|
33
|
+
status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../..")))).DocumentStatus).optional(),
|
|
34
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
35
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PatchedDocumentUpdateRequest } from "./PatchedDocumentUpdateRequest";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PatchedDocumentUpdateRequest = void 0;
|
|
4
|
+
var PatchedDocumentUpdateRequest_1 = require("./PatchedDocumentUpdateRequest");
|
|
5
|
+
Object.defineProperty(exports, "PatchedDocumentUpdateRequest", { enumerable: true, get: function () { return PatchedDocumentUpdateRequest_1.PatchedDocumentUpdateRequest; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -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("./client"), exports);
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * as documentIndexes from "./documentIndexes";
|
|
2
2
|
export * from "./documentIndexes/client/requests";
|
|
3
|
+
export * as documents from "./documents";
|
|
4
|
+
export * from "./documents/client/requests";
|
|
3
5
|
export * as modelVersions from "./modelVersions";
|
|
4
6
|
export * from "./modelVersions/client/requests";
|
|
5
7
|
export * as registeredPrompts from "./registeredPrompts";
|
|
@@ -26,9 +26,11 @@ 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.testSuites = exports.sandboxes = exports.registeredPrompts = exports.modelVersions = exports.documentIndexes = void 0;
|
|
29
|
+
exports.testSuites = exports.sandboxes = exports.registeredPrompts = exports.modelVersions = exports.documents = exports.documentIndexes = void 0;
|
|
30
30
|
exports.documentIndexes = __importStar(require("./documentIndexes"));
|
|
31
31
|
__exportStar(require("./documentIndexes/client/requests"), exports);
|
|
32
|
+
exports.documents = __importStar(require("./documents"));
|
|
33
|
+
__exportStar(require("./documents/client/requests"), exports);
|
|
32
34
|
exports.modelVersions = __importStar(require("./modelVersions"));
|
|
33
35
|
__exportStar(require("./modelVersions/client/requests"), exports);
|
|
34
36
|
exports.registeredPrompts = __importStar(require("./registeredPrompts"));
|
|
@@ -11,7 +11,7 @@ export declare namespace DeploymentRead {
|
|
|
11
11
|
created: string;
|
|
12
12
|
label: string;
|
|
13
13
|
name: string;
|
|
14
|
-
status?: serializers.
|
|
14
|
+
status?: serializers.DeploymentStatus.Raw | null;
|
|
15
15
|
environment?: serializers.EnvironmentEnum.Raw | null;
|
|
16
16
|
model_type: serializers.ModelTypeEnum.Raw;
|
|
17
17
|
active_model_version_ids: string[];
|
|
@@ -33,7 +33,7 @@ exports.DeploymentRead = core.serialization.object({
|
|
|
33
33
|
created: core.serialization.string(),
|
|
34
34
|
label: core.serialization.string(),
|
|
35
35
|
name: core.serialization.string(),
|
|
36
|
-
status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
36
|
+
status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).DeploymentStatus).optional(),
|
|
37
37
|
environment: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).EnvironmentEnum).optional(),
|
|
38
38
|
modelType: core.serialization.property("model_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ModelTypeEnum)),
|
|
39
39
|
activeModelVersionIds: core.serialization.property("active_model_version_ids", core.serialization.list(core.serialization.string())),
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const DeploymentStatus: core.serialization.Schema<serializers.DeploymentStatus.Raw, Vellum.DeploymentStatus>;
|
|
8
|
+
export declare namespace DeploymentStatus {
|
|
9
9
|
type Raw = "ACTIVE" | "INACTIVE" | "ARCHIVED";
|
|
10
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.DeploymentStatus = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.DeploymentStatus = core.serialization.enum_(["ACTIVE", "INACTIVE", "ARCHIVED"]);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const DocumentRead: core.serialization.ObjectSchema<serializers.DocumentRead.Raw, Vellum.DocumentRead>;
|
|
8
|
+
export declare namespace DocumentRead {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
external_id?: string | null;
|
|
12
|
+
last_uploaded_at: string;
|
|
13
|
+
label: string;
|
|
14
|
+
processing_state?: serializers.ProcessingStateEnum.Raw | null;
|
|
15
|
+
status?: serializers.DocumentStatus.Raw | null;
|
|
16
|
+
original_file_url?: string | null;
|
|
17
|
+
processed_file_url?: string | null;
|
|
18
|
+
document_to_document_indexes: serializers.DocumentDocumentToDocumentIndex.Raw[];
|
|
19
|
+
metadata?: Record<string, unknown> | null;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.DocumentRead = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.DocumentRead = core.serialization.object({
|
|
32
|
+
id: core.serialization.string(),
|
|
33
|
+
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
34
|
+
lastUploadedAt: core.serialization.property("last_uploaded_at", core.serialization.string()),
|
|
35
|
+
label: core.serialization.string(),
|
|
36
|
+
processingState: core.serialization.property("processing_state", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ProcessingStateEnum).optional()),
|
|
37
|
+
status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).DocumentStatus).optional(),
|
|
38
|
+
originalFileUrl: core.serialization.property("original_file_url", core.serialization.string().optional()),
|
|
39
|
+
processedFileUrl: core.serialization.property("processed_file_url", core.serialization.string().optional()),
|
|
40
|
+
documentToDocumentIndexes: core.serialization.property("document_to_document_indexes", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).DocumentDocumentToDocumentIndex))),
|
|
41
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
42
|
+
});
|