vellum-ai 0.9.13 → 0.9.16-pre2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/__package__.yml +61 -1
- package/.mock/definition/deployments.yml +40 -0
- package/.mock/definition/workflowDeployments.yml +47 -0
- package/.mock/definition/workflows.yml +6 -3
- package/.mock/openapi/openapi.yml +155 -3
- package/Client.js +10 -10
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +6 -6
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/metricDefinitions/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +5 -5
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.d.ts +6 -5
- package/api/resources/workflows/client/Client.js +22 -10
- package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -3
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/types/WorkflowPushExecConfig.d.ts +1 -1
- package/dist/Client.js +10 -10
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +6 -6
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +5 -5
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.d.ts +6 -5
- package/dist/api/resources/workflows/client/Client.js +22 -10
- package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -3
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/types/WorkflowPushExecConfig.d.ts +1 -1
- package/dist/serialization/resources/index.d.ts +0 -1
- package/dist/serialization/resources/index.js +0 -1
- package/dist/serialization/resources/workflows/index.d.ts +0 -1
- package/dist/serialization/resources/workflows/index.js +0 -1
- package/dist/serialization/types/WorkflowPushExecConfig.d.ts +1 -1
- package/dist/serialization/types/WorkflowPushExecConfig.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +11 -5
- package/serialization/resources/index.d.ts +0 -1
- package/serialization/resources/index.js +0 -1
- package/serialization/resources/workflows/index.d.ts +0 -1
- package/serialization/resources/workflows/index.js +0 -1
- package/serialization/types/WorkflowPushExecConfig.d.ts +1 -1
- package/serialization/types/WorkflowPushExecConfig.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/dist/serialization/resources/workflows/client/index.d.ts +0 -1
- package/dist/serialization/resources/workflows/client/index.js +0 -17
- package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +0 -17
- package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +0 -38
- package/dist/serialization/resources/workflows/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/workflows/client/requests/index.js +0 -5
- package/serialization/resources/workflows/client/index.d.ts +0 -1
- package/serialization/resources/workflows/client/index.js +0 -17
- package/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +0 -17
- package/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +0 -38
- package/serialization/resources/workflows/client/requests/index.d.ts +0 -1
- package/serialization/resources/workflows/client/requests/index.js +0 -5
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const WorkflowPushExecConfig: core.serialization.Schema<serializers.WorkflowPushExecConfig.Raw, Vellum.WorkflowPushExecConfig>;
|
|
8
8
|
export declare namespace WorkflowPushExecConfig {
|
|
9
|
-
type Raw =
|
|
9
|
+
type Raw = string;
|
|
10
10
|
}
|
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.WorkflowPushExecConfig = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.WorkflowPushExecConfig = core.serialization.
|
|
31
|
+
exports.WorkflowPushExecConfig = core.serialization.string();
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.9.
|
|
1
|
+
export declare const SDK_VERSION = "0.9.16-pre2";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -3270,7 +3270,7 @@ await client.workflows.pull("string", {
|
|
|
3270
3270
|
</dl>
|
|
3271
3271
|
</details>
|
|
3272
3272
|
|
|
3273
|
-
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">push</a>({ ...params }) -> Vellum.WorkflowPushResponse</code></summary>
|
|
3273
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">push</a>(artifact, { ...params }) -> Vellum.WorkflowPushResponse</code></summary>
|
|
3274
3274
|
<dl>
|
|
3275
3275
|
<dd>
|
|
3276
3276
|
|
|
@@ -3298,10 +3298,8 @@ An internal-only endpoint that's subject to breaking changes without notice. Not
|
|
|
3298
3298
|
<dd>
|
|
3299
3299
|
|
|
3300
3300
|
```typescript
|
|
3301
|
-
await client.workflows.push({
|
|
3302
|
-
execConfig:
|
|
3303
|
-
key: "value",
|
|
3304
|
-
},
|
|
3301
|
+
await client.workflows.push(fs.createReadStream("/path/to/your/file"), {
|
|
3302
|
+
execConfig: "exec_config",
|
|
3305
3303
|
label: "label",
|
|
3306
3304
|
});
|
|
3307
3305
|
```
|
|
@@ -3319,6 +3317,14 @@ await client.workflows.push({
|
|
|
3319
3317
|
<dl>
|
|
3320
3318
|
<dd>
|
|
3321
3319
|
|
|
3320
|
+
**artifact:** `File | fs.ReadStream | Blob | undefined`
|
|
3321
|
+
|
|
3322
|
+
</dd>
|
|
3323
|
+
</dl>
|
|
3324
|
+
|
|
3325
|
+
<dl>
|
|
3326
|
+
<dd>
|
|
3327
|
+
|
|
3322
3328
|
**request:** `Vellum.WorkflowPushRequest`
|
|
3323
3329
|
|
|
3324
3330
|
</dd>
|
|
@@ -27,6 +27,5 @@ export * from "./testSuiteRuns/client/requests";
|
|
|
27
27
|
export * from "./workflowDeployments/client/requests";
|
|
28
28
|
export * as workflowSandboxes from "./workflowSandboxes";
|
|
29
29
|
export * from "./workflowSandboxes/client/requests";
|
|
30
|
-
export * from "./workflows/client/requests";
|
|
31
30
|
export * as workspaceSecrets from "./workspaceSecrets";
|
|
32
31
|
export * from "./workspaceSecrets/client/requests";
|
|
@@ -56,6 +56,5 @@ __exportStar(require("./testSuiteRuns/client/requests"), exports);
|
|
|
56
56
|
__exportStar(require("./workflowDeployments/client/requests"), exports);
|
|
57
57
|
exports.workflowSandboxes = __importStar(require("./workflowSandboxes"));
|
|
58
58
|
__exportStar(require("./workflowSandboxes/client/requests"), exports);
|
|
59
|
-
__exportStar(require("./workflows/client/requests"), exports);
|
|
60
59
|
exports.workspaceSecrets = __importStar(require("./workspaceSecrets"));
|
|
61
60
|
__exportStar(require("./workspaceSecrets/client/requests"), exports);
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const WorkflowPushExecConfig: core.serialization.Schema<serializers.WorkflowPushExecConfig.Raw, Vellum.WorkflowPushExecConfig>;
|
|
8
8
|
export declare namespace WorkflowPushExecConfig {
|
|
9
|
-
type Raw =
|
|
9
|
+
type Raw = string;
|
|
10
10
|
}
|
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.WorkflowPushExecConfig = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.WorkflowPushExecConfig = core.serialization.
|
|
31
|
+
exports.WorkflowPushExecConfig = core.serialization.string();
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.9.
|
|
1
|
+
export declare const SDK_VERSION = "0.9.16-pre2";
|
package/version.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./requests";
|
|
@@ -1,17 +0,0 @@
|
|
|
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);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../../index";
|
|
5
|
-
import * as Vellum from "../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../core";
|
|
7
|
-
import { WorkflowPushExecConfig } from "../../../../types/WorkflowPushExecConfig";
|
|
8
|
-
import { WorkflowPushDeploymentConfigRequest } from "../../../../types/WorkflowPushDeploymentConfigRequest";
|
|
9
|
-
export declare const WorkflowPushRequest: core.serialization.Schema<serializers.WorkflowPushRequest.Raw, Vellum.WorkflowPushRequest>;
|
|
10
|
-
export declare namespace WorkflowPushRequest {
|
|
11
|
-
interface Raw {
|
|
12
|
-
exec_config: WorkflowPushExecConfig.Raw;
|
|
13
|
-
label: string;
|
|
14
|
-
workflow_sandbox_id?: string | null;
|
|
15
|
-
deployment_config?: WorkflowPushDeploymentConfigRequest.Raw | null;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
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.WorkflowPushRequest = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../../core"));
|
|
31
|
-
const WorkflowPushExecConfig_1 = require("../../../../types/WorkflowPushExecConfig");
|
|
32
|
-
const WorkflowPushDeploymentConfigRequest_1 = require("../../../../types/WorkflowPushDeploymentConfigRequest");
|
|
33
|
-
exports.WorkflowPushRequest = core.serialization.object({
|
|
34
|
-
execConfig: core.serialization.property("exec_config", WorkflowPushExecConfig_1.WorkflowPushExecConfig),
|
|
35
|
-
label: core.serialization.string(),
|
|
36
|
-
workflowSandboxId: core.serialization.property("workflow_sandbox_id", core.serialization.string().optional()),
|
|
37
|
-
deploymentConfig: core.serialization.property("deployment_config", WorkflowPushDeploymentConfigRequest_1.WorkflowPushDeploymentConfigRequest.optional()),
|
|
38
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { WorkflowPushRequest } from "./WorkflowPushRequest";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WorkflowPushRequest = void 0;
|
|
4
|
-
var WorkflowPushRequest_1 = require("./WorkflowPushRequest");
|
|
5
|
-
Object.defineProperty(exports, "WorkflowPushRequest", { enumerable: true, get: function () { return WorkflowPushRequest_1.WorkflowPushRequest; } });
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./requests";
|
|
@@ -1,17 +0,0 @@
|
|
|
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);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../../index";
|
|
5
|
-
import * as Vellum from "../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../core";
|
|
7
|
-
import { WorkflowPushExecConfig } from "../../../../types/WorkflowPushExecConfig";
|
|
8
|
-
import { WorkflowPushDeploymentConfigRequest } from "../../../../types/WorkflowPushDeploymentConfigRequest";
|
|
9
|
-
export declare const WorkflowPushRequest: core.serialization.Schema<serializers.WorkflowPushRequest.Raw, Vellum.WorkflowPushRequest>;
|
|
10
|
-
export declare namespace WorkflowPushRequest {
|
|
11
|
-
interface Raw {
|
|
12
|
-
exec_config: WorkflowPushExecConfig.Raw;
|
|
13
|
-
label: string;
|
|
14
|
-
workflow_sandbox_id?: string | null;
|
|
15
|
-
deployment_config?: WorkflowPushDeploymentConfigRequest.Raw | null;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
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.WorkflowPushRequest = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../../core"));
|
|
31
|
-
const WorkflowPushExecConfig_1 = require("../../../../types/WorkflowPushExecConfig");
|
|
32
|
-
const WorkflowPushDeploymentConfigRequest_1 = require("../../../../types/WorkflowPushDeploymentConfigRequest");
|
|
33
|
-
exports.WorkflowPushRequest = core.serialization.object({
|
|
34
|
-
execConfig: core.serialization.property("exec_config", WorkflowPushExecConfig_1.WorkflowPushExecConfig),
|
|
35
|
-
label: core.serialization.string(),
|
|
36
|
-
workflowSandboxId: core.serialization.property("workflow_sandbox_id", core.serialization.string().optional()),
|
|
37
|
-
deploymentConfig: core.serialization.property("deployment_config", WorkflowPushDeploymentConfigRequest_1.WorkflowPushDeploymentConfigRequest.optional()),
|
|
38
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { WorkflowPushRequest } from "./WorkflowPushRequest";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WorkflowPushRequest = void 0;
|
|
4
|
-
var WorkflowPushRequest_1 = require("./WorkflowPushRequest");
|
|
5
|
-
Object.defineProperty(exports, "WorkflowPushRequest", { enumerable: true, get: function () { return WorkflowPushRequest_1.WorkflowPushRequest; } });
|