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.
Files changed (75) hide show
  1. package/Client.js +11 -11
  2. package/api/resources/adHoc/client/Client.js +2 -2
  3. package/api/resources/containerImages/client/Client.js +4 -4
  4. package/api/resources/deployments/client/Client.js +8 -8
  5. package/api/resources/documentIndexes/client/Client.js +8 -8
  6. package/api/resources/documents/client/Client.js +5 -5
  7. package/api/resources/folderEntities/client/Client.js +2 -2
  8. package/api/resources/metricDefinitions/client/Client.js +2 -2
  9. package/api/resources/mlModels/client/Client.js +1 -1
  10. package/api/resources/organizations/client/Client.js +1 -1
  11. package/api/resources/prompts/client/Client.js +2 -2
  12. package/api/resources/releaseReviews/client/Client.js +1 -1
  13. package/api/resources/sandboxes/client/Client.js +3 -3
  14. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  15. package/api/resources/testSuites/client/Client.js +4 -4
  16. package/api/resources/workflowDeployments/client/Client.js +8 -8
  17. package/api/resources/workflowExecutions/client/Client.js +1 -1
  18. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  19. package/api/resources/workflows/client/Client.js +2 -2
  20. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  21. package/api/resources/workspaces/client/Client.js +1 -1
  22. package/api/types/NameEnum.d.ts +14 -0
  23. package/api/types/NameEnum.js +11 -0
  24. package/api/types/OrganizationLimitConfig.d.ts +1 -0
  25. package/api/types/Quota.d.ts +2 -1
  26. package/api/types/index.d.ts +1 -0
  27. package/api/types/index.js +1 -0
  28. package/dist/Client.js +11 -11
  29. package/dist/api/resources/adHoc/client/Client.js +2 -2
  30. package/dist/api/resources/containerImages/client/Client.js +4 -4
  31. package/dist/api/resources/deployments/client/Client.js +8 -8
  32. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  33. package/dist/api/resources/documents/client/Client.js +5 -5
  34. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  35. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  36. package/dist/api/resources/mlModels/client/Client.js +1 -1
  37. package/dist/api/resources/organizations/client/Client.js +1 -1
  38. package/dist/api/resources/prompts/client/Client.js +2 -2
  39. package/dist/api/resources/releaseReviews/client/Client.js +1 -1
  40. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  41. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  42. package/dist/api/resources/testSuites/client/Client.js +4 -4
  43. package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
  44. package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
  45. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  46. package/dist/api/resources/workflows/client/Client.js +2 -2
  47. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  48. package/dist/api/resources/workspaces/client/Client.js +1 -1
  49. package/dist/api/types/NameEnum.d.ts +14 -0
  50. package/dist/api/types/NameEnum.js +11 -0
  51. package/dist/api/types/OrganizationLimitConfig.d.ts +1 -0
  52. package/dist/api/types/Quota.d.ts +2 -1
  53. package/dist/api/types/index.d.ts +1 -0
  54. package/dist/api/types/index.js +1 -0
  55. package/dist/serialization/types/NameEnum.d.ts +10 -0
  56. package/dist/serialization/types/NameEnum.js +45 -0
  57. package/dist/serialization/types/OrganizationLimitConfig.d.ts +1 -0
  58. package/dist/serialization/types/OrganizationLimitConfig.js +1 -0
  59. package/dist/serialization/types/Quota.d.ts +2 -1
  60. package/dist/serialization/types/Quota.js +2 -1
  61. package/dist/serialization/types/index.d.ts +1 -0
  62. package/dist/serialization/types/index.js +1 -0
  63. package/dist/version.d.ts +1 -1
  64. package/dist/version.js +1 -1
  65. package/package.json +1 -1
  66. package/serialization/types/NameEnum.d.ts +10 -0
  67. package/serialization/types/NameEnum.js +45 -0
  68. package/serialization/types/OrganizationLimitConfig.d.ts +1 -0
  69. package/serialization/types/OrganizationLimitConfig.js +1 -0
  70. package/serialization/types/Quota.d.ts +2 -1
  71. package/serialization/types/Quota.js +2 -1
  72. package/serialization/types/index.d.ts +1 -0
  73. package/serialization/types/index.js +1 -0
  74. package/version.d.ts +1 -1
  75. 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: string;
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: core.serialization.string(),
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.3";
1
+ export declare const SDK_VERSION = "1.0.5";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.0.3";
4
+ exports.SDK_VERSION = "1.0.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",
@@ -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: string;
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: core.serialization.string(),
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.3";
1
+ export declare const SDK_VERSION = "1.0.5";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.0.3";
4
+ exports.SDK_VERSION = "1.0.5";