vellum-ai 0.13.18 → 0.13.20
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 +10 -1
- package/.mock/definition/containerImages.yml +6 -3
- package/.mock/definition/testSuites.yml +14 -4
- package/.mock/openapi/openapi.yml +34 -2
- 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 +7 -7
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/metricDefinitions/client/Client.js +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/organizations/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.d.ts +15 -3
- package/api/resources/testSuites/client/Client.js +19 -7
- package/api/resources/workflowDeployments/client/Client.js +6 -6
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/ContainerImageContainerImageTag.d.ts +7 -0
- package/api/types/ContainerImageContainerImageTag.js +5 -0
- package/api/types/ContainerImageRead.d.ts +1 -1
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- 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 +7 -7
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.d.ts +15 -3
- package/dist/api/resources/testSuites/client/Client.js +19 -7
- package/dist/api/resources/workflowDeployments/client/Client.js +6 -6
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/ContainerImageContainerImageTag.d.ts +7 -0
- package/dist/api/types/ContainerImageContainerImageTag.js +5 -0
- package/dist/api/types/ContainerImageRead.d.ts +1 -1
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/types/ContainerImageContainerImageTag.d.ts +13 -0
- package/dist/serialization/types/ContainerImageContainerImageTag.js +44 -0
- package/dist/serialization/types/ContainerImageRead.d.ts +2 -1
- package/dist/serialization/types/ContainerImageRead.js +2 -1
- 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/reference.md +19 -3
- package/serialization/types/ContainerImageContainerImageTag.d.ts +13 -0
- package/serialization/types/ContainerImageContainerImageTag.js +44 -0
- package/serialization/types/ContainerImageRead.d.ts +2 -1
- package/serialization/types/ContainerImageRead.js +2 -1
- 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
|
@@ -0,0 +1,44 @@
|
|
|
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.ContainerImageContainerImageTag = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ContainerImageContainerImageTag = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
modified: core.serialization.date(),
|
|
44
|
+
});
|
|
@@ -5,6 +5,7 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { EntityVisibility } from "./EntityVisibility";
|
|
8
|
+
import { ContainerImageContainerImageTag } from "./ContainerImageContainerImageTag";
|
|
8
9
|
export declare const ContainerImageRead: core.serialization.ObjectSchema<serializers.ContainerImageRead.Raw, Vellum.ContainerImageRead>;
|
|
9
10
|
export declare namespace ContainerImageRead {
|
|
10
11
|
interface Raw {
|
|
@@ -15,6 +16,6 @@ export declare namespace ContainerImageRead {
|
|
|
15
16
|
modified: string;
|
|
16
17
|
repository: string;
|
|
17
18
|
sha: string;
|
|
18
|
-
tags:
|
|
19
|
+
tags: ContainerImageContainerImageTag.Raw[];
|
|
19
20
|
}
|
|
20
21
|
}
|
|
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ContainerImageRead = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const EntityVisibility_1 = require("./EntityVisibility");
|
|
42
|
+
const ContainerImageContainerImageTag_1 = require("./ContainerImageContainerImageTag");
|
|
42
43
|
exports.ContainerImageRead = core.serialization.object({
|
|
43
44
|
id: core.serialization.string(),
|
|
44
45
|
name: core.serialization.string(),
|
|
@@ -47,5 +48,5 @@ exports.ContainerImageRead = core.serialization.object({
|
|
|
47
48
|
modified: core.serialization.date(),
|
|
48
49
|
repository: core.serialization.string(),
|
|
49
50
|
sha: core.serialization.string(),
|
|
50
|
-
tags: core.serialization.list(
|
|
51
|
+
tags: core.serialization.list(ContainerImageContainerImageTag_1.ContainerImageContainerImageTag),
|
|
51
52
|
});
|
|
@@ -56,6 +56,7 @@ export * from "./CompilePromptMeta";
|
|
|
56
56
|
export * from "./ConditionCombinator";
|
|
57
57
|
export * from "./ConditionalNodeResult";
|
|
58
58
|
export * from "./ConditionalNodeResultData";
|
|
59
|
+
export * from "./ContainerImageContainerImageTag";
|
|
59
60
|
export * from "./ContainerImageRead";
|
|
60
61
|
export * from "./CreateTestSuiteTestCaseRequest";
|
|
61
62
|
export * from "./DeploymentHistoryItem";
|
|
@@ -72,6 +72,7 @@ __exportStar(require("./CompilePromptMeta"), exports);
|
|
|
72
72
|
__exportStar(require("./ConditionCombinator"), exports);
|
|
73
73
|
__exportStar(require("./ConditionalNodeResult"), exports);
|
|
74
74
|
__exportStar(require("./ConditionalNodeResultData"), exports);
|
|
75
|
+
__exportStar(require("./ContainerImageContainerImageTag"), exports);
|
|
75
76
|
__exportStar(require("./ContainerImageRead"), exports);
|
|
76
77
|
__exportStar(require("./CreateTestSuiteTestCaseRequest"), exports);
|
|
77
78
|
__exportStar(require("./DeploymentHistoryItem"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.13.
|
|
1
|
+
export declare const SDK_VERSION = "0.13.20";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -2694,16 +2694,32 @@ or overwritten with default values.
|
|
|
2694
2694
|
|
|
2695
2695
|
```typescript
|
|
2696
2696
|
await client.testSuites.upsertTestSuiteTestCase("id", {
|
|
2697
|
+
label: "Test Case 1",
|
|
2697
2698
|
inputValues: [
|
|
2698
2699
|
{
|
|
2699
2700
|
type: "STRING",
|
|
2700
|
-
|
|
2701
|
+
value: "What are your favorite colors?",
|
|
2702
|
+
name: "var_1",
|
|
2701
2703
|
},
|
|
2702
2704
|
],
|
|
2703
2705
|
evaluationValues: [
|
|
2704
2706
|
{
|
|
2705
|
-
type: "
|
|
2706
|
-
|
|
2707
|
+
type: "ARRAY",
|
|
2708
|
+
value: [
|
|
2709
|
+
{
|
|
2710
|
+
type: "STRING",
|
|
2711
|
+
value: "Red",
|
|
2712
|
+
},
|
|
2713
|
+
{
|
|
2714
|
+
type: "STRING",
|
|
2715
|
+
value: "Green",
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
type: "STRING",
|
|
2719
|
+
value: "Blue",
|
|
2720
|
+
},
|
|
2721
|
+
],
|
|
2722
|
+
name: "var_2",
|
|
2707
2723
|
},
|
|
2708
2724
|
],
|
|
2709
2725
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 ContainerImageContainerImageTag: core.serialization.ObjectSchema<serializers.ContainerImageContainerImageTag.Raw, Vellum.ContainerImageContainerImageTag>;
|
|
8
|
+
export declare namespace ContainerImageContainerImageTag {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
modified: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.ContainerImageContainerImageTag = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ContainerImageContainerImageTag = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
modified: core.serialization.date(),
|
|
44
|
+
});
|
|
@@ -5,6 +5,7 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { EntityVisibility } from "./EntityVisibility";
|
|
8
|
+
import { ContainerImageContainerImageTag } from "./ContainerImageContainerImageTag";
|
|
8
9
|
export declare const ContainerImageRead: core.serialization.ObjectSchema<serializers.ContainerImageRead.Raw, Vellum.ContainerImageRead>;
|
|
9
10
|
export declare namespace ContainerImageRead {
|
|
10
11
|
interface Raw {
|
|
@@ -15,6 +16,6 @@ export declare namespace ContainerImageRead {
|
|
|
15
16
|
modified: string;
|
|
16
17
|
repository: string;
|
|
17
18
|
sha: string;
|
|
18
|
-
tags:
|
|
19
|
+
tags: ContainerImageContainerImageTag.Raw[];
|
|
19
20
|
}
|
|
20
21
|
}
|
|
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ContainerImageRead = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const EntityVisibility_1 = require("./EntityVisibility");
|
|
42
|
+
const ContainerImageContainerImageTag_1 = require("./ContainerImageContainerImageTag");
|
|
42
43
|
exports.ContainerImageRead = core.serialization.object({
|
|
43
44
|
id: core.serialization.string(),
|
|
44
45
|
name: core.serialization.string(),
|
|
@@ -47,5 +48,5 @@ exports.ContainerImageRead = core.serialization.object({
|
|
|
47
48
|
modified: core.serialization.date(),
|
|
48
49
|
repository: core.serialization.string(),
|
|
49
50
|
sha: core.serialization.string(),
|
|
50
|
-
tags: core.serialization.list(
|
|
51
|
+
tags: core.serialization.list(ContainerImageContainerImageTag_1.ContainerImageContainerImageTag),
|
|
51
52
|
});
|
|
@@ -56,6 +56,7 @@ export * from "./CompilePromptMeta";
|
|
|
56
56
|
export * from "./ConditionCombinator";
|
|
57
57
|
export * from "./ConditionalNodeResult";
|
|
58
58
|
export * from "./ConditionalNodeResultData";
|
|
59
|
+
export * from "./ContainerImageContainerImageTag";
|
|
59
60
|
export * from "./ContainerImageRead";
|
|
60
61
|
export * from "./CreateTestSuiteTestCaseRequest";
|
|
61
62
|
export * from "./DeploymentHistoryItem";
|
|
@@ -72,6 +72,7 @@ __exportStar(require("./CompilePromptMeta"), exports);
|
|
|
72
72
|
__exportStar(require("./ConditionCombinator"), exports);
|
|
73
73
|
__exportStar(require("./ConditionalNodeResult"), exports);
|
|
74
74
|
__exportStar(require("./ConditionalNodeResultData"), exports);
|
|
75
|
+
__exportStar(require("./ContainerImageContainerImageTag"), exports);
|
|
75
76
|
__exportStar(require("./ContainerImageRead"), exports);
|
|
76
77
|
__exportStar(require("./CreateTestSuiteTestCaseRequest"), exports);
|
|
77
78
|
__exportStar(require("./DeploymentHistoryItem"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.13.
|
|
1
|
+
export declare const SDK_VERSION = "0.13.20";
|
package/version.js
CHANGED