vellum-ai 1.0.3 → 1.0.5
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/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/prompts/client/Client.js +2 -2
- package/api/resources/releaseReviews/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 +8 -8
- 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 +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/NameEnum.d.ts +14 -0
- package/api/types/NameEnum.js +11 -0
- package/api/types/OrganizationLimitConfig.d.ts +1 -0
- package/api/types/Quota.d.ts +2 -1
- 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/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/prompts/client/Client.js +2 -2
- package/dist/api/resources/releaseReviews/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 +8 -8
- 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 +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/NameEnum.d.ts +14 -0
- package/dist/api/types/NameEnum.js +11 -0
- package/dist/api/types/OrganizationLimitConfig.d.ts +1 -0
- package/dist/api/types/Quota.d.ts +2 -1
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/types/NameEnum.d.ts +10 -0
- package/dist/serialization/types/NameEnum.js +45 -0
- package/dist/serialization/types/OrganizationLimitConfig.d.ts +1 -0
- package/dist/serialization/types/OrganizationLimitConfig.js +1 -0
- package/dist/serialization/types/Quota.d.ts +2 -1
- package/dist/serialization/types/Quota.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/serialization/types/NameEnum.d.ts +10 -0
- package/serialization/types/NameEnum.js +45 -0
- package/serialization/types/OrganizationLimitConfig.d.ts +1 -0
- package/serialization/types/OrganizationLimitConfig.js +1 -0
- package/serialization/types/Quota.d.ts +2 -1
- package/serialization/types/Quota.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,45 @@
|
|
|
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.NameEnum = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.NameEnum = core.serialization.enum_([
|
|
42
|
+
"workflow_executions",
|
|
43
|
+
"prompt_executions",
|
|
44
|
+
"workflow_runtime_seconds",
|
|
45
|
+
]);
|
|
@@ -13,5 +13,6 @@ export declare namespace OrganizationLimitConfig {
|
|
|
13
13
|
prompt_executions_quota?: (Quota.Raw | null) | null;
|
|
14
14
|
workflow_executions_quota?: (Quota.Raw | null) | null;
|
|
15
15
|
workflow_runtime_seconds_quota?: (Quota.Raw | null) | null;
|
|
16
|
+
max_workflow_runtime_seconds?: (number | null) | null;
|
|
16
17
|
}
|
|
17
18
|
}
|
|
@@ -45,4 +45,5 @@ exports.OrganizationLimitConfig = core.serialization.object({
|
|
|
45
45
|
promptExecutionsQuota: core.serialization.property("prompt_executions_quota", Quota_1.Quota.optionalNullable()),
|
|
46
46
|
workflowExecutionsQuota: core.serialization.property("workflow_executions_quota", Quota_1.Quota.optionalNullable()),
|
|
47
47
|
workflowRuntimeSecondsQuota: core.serialization.property("workflow_runtime_seconds_quota", Quota_1.Quota.optionalNullable()),
|
|
48
|
+
maxWorkflowRuntimeSeconds: core.serialization.property("max_workflow_runtime_seconds", core.serialization.number().optionalNullable()),
|
|
48
49
|
});
|
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { NameEnum } from "./NameEnum";
|
|
7
8
|
export declare const Quota: core.serialization.ObjectSchema<serializers.Quota.Raw, Vellum.Quota>;
|
|
8
9
|
export declare namespace Quota {
|
|
9
10
|
interface Raw {
|
|
10
|
-
name:
|
|
11
|
+
name: NameEnum.Raw;
|
|
11
12
|
value?: (number | null) | null;
|
|
12
13
|
period_seconds?: (number | null) | null;
|
|
13
14
|
}
|
|
@@ -38,8 +38,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.Quota = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
+
const NameEnum_1 = require("./NameEnum");
|
|
41
42
|
exports.Quota = core.serialization.object({
|
|
42
|
-
name:
|
|
43
|
+
name: NameEnum_1.NameEnum,
|
|
43
44
|
value: core.serialization.number().optionalNullable(),
|
|
44
45
|
periodSeconds: core.serialization.property("period_seconds", core.serialization.number().optionalNullable()),
|
|
45
46
|
});
|
|
@@ -208,6 +208,7 @@ export * from "./MetricDefinitionExecution";
|
|
|
208
208
|
export * from "./MetricDefinitionHistoryItem";
|
|
209
209
|
export * from "./MetricDefinitionInput";
|
|
210
210
|
export * from "./MetricNodeResult";
|
|
211
|
+
export * from "./NameEnum";
|
|
211
212
|
export * from "./NamedScenarioInputChatHistoryVariableValueRequest";
|
|
212
213
|
export * from "./NamedScenarioInputJsonVariableValueRequest";
|
|
213
214
|
export * from "./NamedScenarioInputRequest";
|
|
@@ -224,6 +224,7 @@ __exportStar(require("./MetricDefinitionExecution"), exports);
|
|
|
224
224
|
__exportStar(require("./MetricDefinitionHistoryItem"), exports);
|
|
225
225
|
__exportStar(require("./MetricDefinitionInput"), exports);
|
|
226
226
|
__exportStar(require("./MetricNodeResult"), exports);
|
|
227
|
+
__exportStar(require("./NameEnum"), exports);
|
|
227
228
|
__exportStar(require("./NamedScenarioInputChatHistoryVariableValueRequest"), exports);
|
|
228
229
|
__exportStar(require("./NamedScenarioInputJsonVariableValueRequest"), exports);
|
|
229
230
|
__exportStar(require("./NamedScenarioInputRequest"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.
|
|
1
|
+
export declare const SDK_VERSION = "1.0.5";
|
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 NameEnum: core.serialization.Schema<serializers.NameEnum.Raw, Vellum.NameEnum>;
|
|
8
|
+
export declare namespace NameEnum {
|
|
9
|
+
type Raw = "workflow_executions" | "prompt_executions" | "workflow_runtime_seconds";
|
|
10
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.NameEnum = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.NameEnum = core.serialization.enum_([
|
|
42
|
+
"workflow_executions",
|
|
43
|
+
"prompt_executions",
|
|
44
|
+
"workflow_runtime_seconds",
|
|
45
|
+
]);
|
|
@@ -13,5 +13,6 @@ export declare namespace OrganizationLimitConfig {
|
|
|
13
13
|
prompt_executions_quota?: (Quota.Raw | null) | null;
|
|
14
14
|
workflow_executions_quota?: (Quota.Raw | null) | null;
|
|
15
15
|
workflow_runtime_seconds_quota?: (Quota.Raw | null) | null;
|
|
16
|
+
max_workflow_runtime_seconds?: (number | null) | null;
|
|
16
17
|
}
|
|
17
18
|
}
|
|
@@ -45,4 +45,5 @@ exports.OrganizationLimitConfig = core.serialization.object({
|
|
|
45
45
|
promptExecutionsQuota: core.serialization.property("prompt_executions_quota", Quota_1.Quota.optionalNullable()),
|
|
46
46
|
workflowExecutionsQuota: core.serialization.property("workflow_executions_quota", Quota_1.Quota.optionalNullable()),
|
|
47
47
|
workflowRuntimeSecondsQuota: core.serialization.property("workflow_runtime_seconds_quota", Quota_1.Quota.optionalNullable()),
|
|
48
|
+
maxWorkflowRuntimeSeconds: core.serialization.property("max_workflow_runtime_seconds", core.serialization.number().optionalNullable()),
|
|
48
49
|
});
|
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { NameEnum } from "./NameEnum";
|
|
7
8
|
export declare const Quota: core.serialization.ObjectSchema<serializers.Quota.Raw, Vellum.Quota>;
|
|
8
9
|
export declare namespace Quota {
|
|
9
10
|
interface Raw {
|
|
10
|
-
name:
|
|
11
|
+
name: NameEnum.Raw;
|
|
11
12
|
value?: (number | null) | null;
|
|
12
13
|
period_seconds?: (number | null) | null;
|
|
13
14
|
}
|
|
@@ -38,8 +38,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.Quota = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
+
const NameEnum_1 = require("./NameEnum");
|
|
41
42
|
exports.Quota = core.serialization.object({
|
|
42
|
-
name:
|
|
43
|
+
name: NameEnum_1.NameEnum,
|
|
43
44
|
value: core.serialization.number().optionalNullable(),
|
|
44
45
|
periodSeconds: core.serialization.property("period_seconds", core.serialization.number().optionalNullable()),
|
|
45
46
|
});
|
|
@@ -208,6 +208,7 @@ export * from "./MetricDefinitionExecution";
|
|
|
208
208
|
export * from "./MetricDefinitionHistoryItem";
|
|
209
209
|
export * from "./MetricDefinitionInput";
|
|
210
210
|
export * from "./MetricNodeResult";
|
|
211
|
+
export * from "./NameEnum";
|
|
211
212
|
export * from "./NamedScenarioInputChatHistoryVariableValueRequest";
|
|
212
213
|
export * from "./NamedScenarioInputJsonVariableValueRequest";
|
|
213
214
|
export * from "./NamedScenarioInputRequest";
|
|
@@ -224,6 +224,7 @@ __exportStar(require("./MetricDefinitionExecution"), exports);
|
|
|
224
224
|
__exportStar(require("./MetricDefinitionHistoryItem"), exports);
|
|
225
225
|
__exportStar(require("./MetricDefinitionInput"), exports);
|
|
226
226
|
__exportStar(require("./MetricNodeResult"), exports);
|
|
227
|
+
__exportStar(require("./NameEnum"), exports);
|
|
227
228
|
__exportStar(require("./NamedScenarioInputChatHistoryVariableValueRequest"), exports);
|
|
228
229
|
__exportStar(require("./NamedScenarioInputJsonVariableValueRequest"), exports);
|
|
229
230
|
__exportStar(require("./NamedScenarioInputRequest"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.
|
|
1
|
+
export declare const SDK_VERSION = "1.0.5";
|
package/version.js
CHANGED