vellum-ai 0.0.28 → 0.0.29
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/types/WorkflowExecutionEventType.d.ts +12 -0
- package/api/types/WorkflowExecutionEventType.js +10 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -0
- package/dist/api/types/WorkflowExecutionEventType.d.ts +12 -0
- package/dist/api/types/WorkflowExecutionEventType.js +10 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -0
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.js +3 -0
- package/dist/serialization/types/WorkflowExecutionEventType.d.ts +10 -0
- package/dist/serialization/types/WorkflowExecutionEventType.js +31 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/package.json +1 -1
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -0
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.js +3 -0
- package/serialization/types/WorkflowExecutionEventType.d.ts +10 -0
- package/serialization/types/WorkflowExecutionEventType.js +31 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
|
@@ -12,4 +12,6 @@ export interface ExecuteWorkflowStreamRequest {
|
|
|
12
12
|
inputs: Vellum.WorkflowRequestInputRequest[];
|
|
13
13
|
/** Optionally include a unique identifier for tracking purposes. */
|
|
14
14
|
externalId?: string;
|
|
15
|
+
/** Optionally specify which events you want to receive. Defaults to only WORKFLOW events. Note that the schema of non-WORKFLOW events is unstable and should be used with caution. */
|
|
16
|
+
eventTypes?: Vellum.WorkflowExecutionEventType[];
|
|
15
17
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* * `NODE` - Node
|
|
6
|
+
* * `WORKFLOW` - Workflow
|
|
7
|
+
*/
|
|
8
|
+
export declare type WorkflowExecutionEventType = "NODE" | "WORKFLOW";
|
|
9
|
+
export declare const WorkflowExecutionEventType: {
|
|
10
|
+
readonly Node: "NODE";
|
|
11
|
+
readonly Workflow: "WORKFLOW";
|
|
12
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.WorkflowExecutionEventType = void 0;
|
|
7
|
+
exports.WorkflowExecutionEventType = {
|
|
8
|
+
Node: "NODE",
|
|
9
|
+
Workflow: "WORKFLOW",
|
|
10
|
+
};
|
package/api/types/index.d.ts
CHANGED
|
@@ -101,6 +101,7 @@ export * from "./UploadDocumentErrorResponse";
|
|
|
101
101
|
export * from "./UploadDocumentResponse";
|
|
102
102
|
export * from "./WorkflowEventError";
|
|
103
103
|
export * from "./WorkflowExecutionEventErrorCode";
|
|
104
|
+
export * from "./WorkflowExecutionEventType";
|
|
104
105
|
export * from "./WorkflowExecutionNodeResultEvent";
|
|
105
106
|
export * from "./WorkflowExecutionWorkflowResultEvent";
|
|
106
107
|
export * from "./WorkflowNodeResultData";
|
package/api/types/index.js
CHANGED
|
@@ -117,6 +117,7 @@ __exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
|
117
117
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
118
118
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
119
119
|
__exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
120
|
+
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
|
120
121
|
__exportStar(require("./WorkflowExecutionNodeResultEvent"), exports);
|
|
121
122
|
__exportStar(require("./WorkflowExecutionWorkflowResultEvent"), exports);
|
|
122
123
|
__exportStar(require("./WorkflowNodeResultData"), exports);
|
|
@@ -12,4 +12,6 @@ export interface ExecuteWorkflowStreamRequest {
|
|
|
12
12
|
inputs: Vellum.WorkflowRequestInputRequest[];
|
|
13
13
|
/** Optionally include a unique identifier for tracking purposes. */
|
|
14
14
|
externalId?: string;
|
|
15
|
+
/** Optionally specify which events you want to receive. Defaults to only WORKFLOW events. Note that the schema of non-WORKFLOW events is unstable and should be used with caution. */
|
|
16
|
+
eventTypes?: Vellum.WorkflowExecutionEventType[];
|
|
15
17
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* * `NODE` - Node
|
|
6
|
+
* * `WORKFLOW` - Workflow
|
|
7
|
+
*/
|
|
8
|
+
export declare type WorkflowExecutionEventType = "NODE" | "WORKFLOW";
|
|
9
|
+
export declare const WorkflowExecutionEventType: {
|
|
10
|
+
readonly Node: "NODE";
|
|
11
|
+
readonly Workflow: "WORKFLOW";
|
|
12
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.WorkflowExecutionEventType = void 0;
|
|
7
|
+
exports.WorkflowExecutionEventType = {
|
|
8
|
+
Node: "NODE",
|
|
9
|
+
Workflow: "WORKFLOW",
|
|
10
|
+
};
|
|
@@ -101,6 +101,7 @@ export * from "./UploadDocumentErrorResponse";
|
|
|
101
101
|
export * from "./UploadDocumentResponse";
|
|
102
102
|
export * from "./WorkflowEventError";
|
|
103
103
|
export * from "./WorkflowExecutionEventErrorCode";
|
|
104
|
+
export * from "./WorkflowExecutionEventType";
|
|
104
105
|
export * from "./WorkflowExecutionNodeResultEvent";
|
|
105
106
|
export * from "./WorkflowExecutionWorkflowResultEvent";
|
|
106
107
|
export * from "./WorkflowNodeResultData";
|
package/dist/api/types/index.js
CHANGED
|
@@ -117,6 +117,7 @@ __exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
|
117
117
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
118
118
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
119
119
|
__exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
120
|
+
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
|
120
121
|
__exportStar(require("./WorkflowExecutionNodeResultEvent"), exports);
|
|
121
122
|
__exportStar(require("./WorkflowExecutionWorkflowResultEvent"), exports);
|
|
122
123
|
__exportStar(require("./WorkflowNodeResultData"), exports);
|
|
@@ -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,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
|
+
}
|
|
@@ -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.WorkflowExecutionEventType = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.WorkflowExecutionEventType = core.serialization.enum_(["NODE", "WORKFLOW"]);
|
|
@@ -101,6 +101,7 @@ export * from "./UploadDocumentErrorResponse";
|
|
|
101
101
|
export * from "./UploadDocumentResponse";
|
|
102
102
|
export * from "./WorkflowEventError";
|
|
103
103
|
export * from "./WorkflowExecutionEventErrorCode";
|
|
104
|
+
export * from "./WorkflowExecutionEventType";
|
|
104
105
|
export * from "./WorkflowExecutionNodeResultEvent";
|
|
105
106
|
export * from "./WorkflowExecutionWorkflowResultEvent";
|
|
106
107
|
export * from "./WorkflowNodeResultData";
|
|
@@ -117,6 +117,7 @@ __exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
|
117
117
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
118
118
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
119
119
|
__exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
120
|
+
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
|
120
121
|
__exportStar(require("./WorkflowExecutionNodeResultEvent"), exports);
|
|
121
122
|
__exportStar(require("./WorkflowExecutionWorkflowResultEvent"), exports);
|
|
122
123
|
__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,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
|
+
}
|
|
@@ -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.WorkflowExecutionEventType = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.WorkflowExecutionEventType = core.serialization.enum_(["NODE", "WORKFLOW"]);
|
|
@@ -101,6 +101,7 @@ export * from "./UploadDocumentErrorResponse";
|
|
|
101
101
|
export * from "./UploadDocumentResponse";
|
|
102
102
|
export * from "./WorkflowEventError";
|
|
103
103
|
export * from "./WorkflowExecutionEventErrorCode";
|
|
104
|
+
export * from "./WorkflowExecutionEventType";
|
|
104
105
|
export * from "./WorkflowExecutionNodeResultEvent";
|
|
105
106
|
export * from "./WorkflowExecutionWorkflowResultEvent";
|
|
106
107
|
export * from "./WorkflowNodeResultData";
|
|
@@ -117,6 +117,7 @@ __exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
|
117
117
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
118
118
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
119
119
|
__exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
120
|
+
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
|
120
121
|
__exportStar(require("./WorkflowExecutionNodeResultEvent"), exports);
|
|
121
122
|
__exportStar(require("./WorkflowExecutionWorkflowResultEvent"), exports);
|
|
122
123
|
__exportStar(require("./WorkflowNodeResultData"), exports);
|