vellum-ai 1.0.5 → 1.0.7

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 (93) 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/OrganizationRead.d.ts +1 -1
  23. package/api/types/index.d.ts +0 -4
  24. package/api/types/index.js +0 -4
  25. package/dist/Client.js +11 -11
  26. package/dist/api/resources/adHoc/client/Client.js +2 -2
  27. package/dist/api/resources/containerImages/client/Client.js +4 -4
  28. package/dist/api/resources/deployments/client/Client.js +8 -8
  29. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  30. package/dist/api/resources/documents/client/Client.js +5 -5
  31. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  32. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  33. package/dist/api/resources/mlModels/client/Client.js +1 -1
  34. package/dist/api/resources/organizations/client/Client.js +1 -1
  35. package/dist/api/resources/prompts/client/Client.js +2 -2
  36. package/dist/api/resources/releaseReviews/client/Client.js +1 -1
  37. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  38. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  39. package/dist/api/resources/testSuites/client/Client.js +4 -4
  40. package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
  41. package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
  42. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  43. package/dist/api/resources/workflows/client/Client.js +2 -2
  44. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  45. package/dist/api/resources/workspaces/client/Client.js +1 -1
  46. package/dist/api/types/OrganizationRead.d.ts +1 -1
  47. package/dist/api/types/index.d.ts +0 -4
  48. package/dist/api/types/index.js +0 -4
  49. package/dist/serialization/types/OrganizationRead.d.ts +1 -2
  50. package/dist/serialization/types/OrganizationRead.js +1 -2
  51. package/dist/serialization/types/index.d.ts +0 -4
  52. package/dist/serialization/types/index.js +0 -4
  53. package/dist/version.d.ts +1 -1
  54. package/dist/version.js +1 -1
  55. package/package.json +1 -1
  56. package/serialization/types/OrganizationRead.d.ts +1 -2
  57. package/serialization/types/OrganizationRead.js +1 -2
  58. package/serialization/types/index.d.ts +0 -4
  59. package/serialization/types/index.js +0 -4
  60. package/version.d.ts +1 -1
  61. package/version.js +1 -1
  62. package/api/types/NameEnum.d.ts +0 -14
  63. package/api/types/NameEnum.js +0 -11
  64. package/api/types/OrganizationLimitConfig.d.ts +0 -11
  65. package/api/types/OrganizationLimitConfig.js +0 -5
  66. package/api/types/Quota.d.ts +0 -9
  67. package/api/types/Quota.js +0 -5
  68. package/api/types/VembdaServiceTierEnum.d.ts +0 -12
  69. package/api/types/VembdaServiceTierEnum.js +0 -10
  70. package/dist/api/types/NameEnum.d.ts +0 -14
  71. package/dist/api/types/NameEnum.js +0 -11
  72. package/dist/api/types/OrganizationLimitConfig.d.ts +0 -11
  73. package/dist/api/types/OrganizationLimitConfig.js +0 -5
  74. package/dist/api/types/Quota.d.ts +0 -9
  75. package/dist/api/types/Quota.js +0 -5
  76. package/dist/api/types/VembdaServiceTierEnum.d.ts +0 -12
  77. package/dist/api/types/VembdaServiceTierEnum.js +0 -10
  78. package/dist/serialization/types/NameEnum.d.ts +0 -10
  79. package/dist/serialization/types/NameEnum.js +0 -45
  80. package/dist/serialization/types/OrganizationLimitConfig.d.ts +0 -18
  81. package/dist/serialization/types/OrganizationLimitConfig.js +0 -49
  82. package/dist/serialization/types/Quota.d.ts +0 -15
  83. package/dist/serialization/types/Quota.js +0 -46
  84. package/dist/serialization/types/VembdaServiceTierEnum.d.ts +0 -10
  85. package/dist/serialization/types/VembdaServiceTierEnum.js +0 -41
  86. package/serialization/types/NameEnum.d.ts +0 -10
  87. package/serialization/types/NameEnum.js +0 -45
  88. package/serialization/types/OrganizationLimitConfig.d.ts +0 -18
  89. package/serialization/types/OrganizationLimitConfig.js +0 -49
  90. package/serialization/types/Quota.d.ts +0 -15
  91. package/serialization/types/Quota.js +0 -46
  92. package/serialization/types/VembdaServiceTierEnum.d.ts +0 -10
  93. package/serialization/types/VembdaServiceTierEnum.js +0 -41
@@ -5,7 +5,6 @@ import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { NewMemberJoinBehaviorEnum } from "./NewMemberJoinBehaviorEnum";
8
- import { OrganizationLimitConfig } from "./OrganizationLimitConfig";
9
8
  export declare const OrganizationRead: core.serialization.ObjectSchema<serializers.OrganizationRead.Raw, Vellum.OrganizationRead>;
10
9
  export declare namespace OrganizationRead {
11
10
  interface Raw {
@@ -13,6 +12,6 @@ export declare namespace OrganizationRead {
13
12
  name: string;
14
13
  allow_staff_access?: boolean | null;
15
14
  new_member_join_behavior: NewMemberJoinBehaviorEnum.Raw;
16
- limit_config: OrganizationLimitConfig.Raw;
15
+ limit_config?: Record<string, unknown> | null;
17
16
  }
18
17
  }
@@ -39,11 +39,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.OrganizationRead = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const NewMemberJoinBehaviorEnum_1 = require("./NewMemberJoinBehaviorEnum");
42
- const OrganizationLimitConfig_1 = require("./OrganizationLimitConfig");
43
42
  exports.OrganizationRead = core.serialization.object({
44
43
  id: core.serialization.string(),
45
44
  name: core.serialization.string(),
46
45
  allowStaffAccess: core.serialization.property("allow_staff_access", core.serialization.boolean().optional()),
47
46
  newMemberJoinBehavior: core.serialization.property("new_member_join_behavior", NewMemberJoinBehaviorEnum_1.NewMemberJoinBehaviorEnum),
48
- limitConfig: core.serialization.property("limit_config", OrganizationLimitConfig_1.OrganizationLimitConfig),
47
+ limitConfig: core.serialization.property("limit_config", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
49
48
  });
@@ -208,7 +208,6 @@ export * from "./MetricDefinitionExecution";
208
208
  export * from "./MetricDefinitionHistoryItem";
209
209
  export * from "./MetricDefinitionInput";
210
210
  export * from "./MetricNodeResult";
211
- export * from "./NameEnum";
212
211
  export * from "./NamedScenarioInputChatHistoryVariableValueRequest";
213
212
  export * from "./NamedScenarioInputJsonVariableValueRequest";
214
213
  export * from "./NamedScenarioInputRequest";
@@ -280,7 +279,6 @@ export * from "./OpenAiVectorizerTextEmbedding3Small";
280
279
  export * from "./OpenAiVectorizerTextEmbedding3SmallRequest";
281
280
  export * from "./OpenAiVectorizerTextEmbeddingAda002";
282
281
  export * from "./OpenAiVectorizerTextEmbeddingAda002Request";
283
- export * from "./OrganizationLimitConfig";
284
282
  export * from "./OrganizationRead";
285
283
  export * from "./PaginatedContainerImageReadList";
286
284
  export * from "./PaginatedDeploymentReleaseTagReadList";
@@ -322,7 +320,6 @@ export * from "./PromptRequestStringInput";
322
320
  export * from "./PromptSettings";
323
321
  export * from "./ComponentsSchemasPromptVersionBuildConfigSandbox";
324
322
  export * from "./PromptVersionBuildConfigSandbox";
325
- export * from "./Quota";
326
323
  export * from "./RawPromptExecutionOverridesRequest";
327
324
  export * from "./ReductoChunkerConfig";
328
325
  export * from "./ReductoChunkerConfigRequest";
@@ -522,7 +519,6 @@ export * from "./VellumVariable";
522
519
  export * from "./VellumVariableExtensions";
523
520
  export * from "./VellumVariableType";
524
521
  export * from "./VellumWorkflowExecutionEvent";
525
- export * from "./VembdaServiceTierEnum";
526
522
  export * from "./WorkflowDeploymentEventExecutionsResponse";
527
523
  export * from "./WorkflowDeploymentHistoryItem";
528
524
  export * from "./WorkflowDeploymentParentContext";
@@ -224,7 +224,6 @@ __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);
228
227
  __exportStar(require("./NamedScenarioInputChatHistoryVariableValueRequest"), exports);
229
228
  __exportStar(require("./NamedScenarioInputJsonVariableValueRequest"), exports);
230
229
  __exportStar(require("./NamedScenarioInputRequest"), exports);
@@ -296,7 +295,6 @@ __exportStar(require("./OpenAiVectorizerTextEmbedding3Small"), exports);
296
295
  __exportStar(require("./OpenAiVectorizerTextEmbedding3SmallRequest"), exports);
297
296
  __exportStar(require("./OpenAiVectorizerTextEmbeddingAda002"), exports);
298
297
  __exportStar(require("./OpenAiVectorizerTextEmbeddingAda002Request"), exports);
299
- __exportStar(require("./OrganizationLimitConfig"), exports);
300
298
  __exportStar(require("./OrganizationRead"), exports);
301
299
  __exportStar(require("./PaginatedContainerImageReadList"), exports);
302
300
  __exportStar(require("./PaginatedDeploymentReleaseTagReadList"), exports);
@@ -338,7 +336,6 @@ __exportStar(require("./PromptRequestStringInput"), exports);
338
336
  __exportStar(require("./PromptSettings"), exports);
339
337
  __exportStar(require("./ComponentsSchemasPromptVersionBuildConfigSandbox"), exports);
340
338
  __exportStar(require("./PromptVersionBuildConfigSandbox"), exports);
341
- __exportStar(require("./Quota"), exports);
342
339
  __exportStar(require("./RawPromptExecutionOverridesRequest"), exports);
343
340
  __exportStar(require("./ReductoChunkerConfig"), exports);
344
341
  __exportStar(require("./ReductoChunkerConfigRequest"), exports);
@@ -538,7 +535,6 @@ __exportStar(require("./VellumVariable"), exports);
538
535
  __exportStar(require("./VellumVariableExtensions"), exports);
539
536
  __exportStar(require("./VellumVariableType"), exports);
540
537
  __exportStar(require("./VellumWorkflowExecutionEvent"), exports);
541
- __exportStar(require("./VembdaServiceTierEnum"), exports);
542
538
  __exportStar(require("./WorkflowDeploymentEventExecutionsResponse"), exports);
543
539
  __exportStar(require("./WorkflowDeploymentHistoryItem"), exports);
544
540
  __exportStar(require("./WorkflowDeploymentParentContext"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.5";
1
+ export declare const SDK_VERSION = "1.0.7";
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.5";
4
+ exports.SDK_VERSION = "1.0.7";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",
@@ -5,7 +5,6 @@ import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { NewMemberJoinBehaviorEnum } from "./NewMemberJoinBehaviorEnum";
8
- import { OrganizationLimitConfig } from "./OrganizationLimitConfig";
9
8
  export declare const OrganizationRead: core.serialization.ObjectSchema<serializers.OrganizationRead.Raw, Vellum.OrganizationRead>;
10
9
  export declare namespace OrganizationRead {
11
10
  interface Raw {
@@ -13,6 +12,6 @@ export declare namespace OrganizationRead {
13
12
  name: string;
14
13
  allow_staff_access?: boolean | null;
15
14
  new_member_join_behavior: NewMemberJoinBehaviorEnum.Raw;
16
- limit_config: OrganizationLimitConfig.Raw;
15
+ limit_config?: Record<string, unknown> | null;
17
16
  }
18
17
  }
@@ -39,11 +39,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.OrganizationRead = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const NewMemberJoinBehaviorEnum_1 = require("./NewMemberJoinBehaviorEnum");
42
- const OrganizationLimitConfig_1 = require("./OrganizationLimitConfig");
43
42
  exports.OrganizationRead = core.serialization.object({
44
43
  id: core.serialization.string(),
45
44
  name: core.serialization.string(),
46
45
  allowStaffAccess: core.serialization.property("allow_staff_access", core.serialization.boolean().optional()),
47
46
  newMemberJoinBehavior: core.serialization.property("new_member_join_behavior", NewMemberJoinBehaviorEnum_1.NewMemberJoinBehaviorEnum),
48
- limitConfig: core.serialization.property("limit_config", OrganizationLimitConfig_1.OrganizationLimitConfig),
47
+ limitConfig: core.serialization.property("limit_config", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
49
48
  });
@@ -208,7 +208,6 @@ export * from "./MetricDefinitionExecution";
208
208
  export * from "./MetricDefinitionHistoryItem";
209
209
  export * from "./MetricDefinitionInput";
210
210
  export * from "./MetricNodeResult";
211
- export * from "./NameEnum";
212
211
  export * from "./NamedScenarioInputChatHistoryVariableValueRequest";
213
212
  export * from "./NamedScenarioInputJsonVariableValueRequest";
214
213
  export * from "./NamedScenarioInputRequest";
@@ -280,7 +279,6 @@ export * from "./OpenAiVectorizerTextEmbedding3Small";
280
279
  export * from "./OpenAiVectorizerTextEmbedding3SmallRequest";
281
280
  export * from "./OpenAiVectorizerTextEmbeddingAda002";
282
281
  export * from "./OpenAiVectorizerTextEmbeddingAda002Request";
283
- export * from "./OrganizationLimitConfig";
284
282
  export * from "./OrganizationRead";
285
283
  export * from "./PaginatedContainerImageReadList";
286
284
  export * from "./PaginatedDeploymentReleaseTagReadList";
@@ -322,7 +320,6 @@ export * from "./PromptRequestStringInput";
322
320
  export * from "./PromptSettings";
323
321
  export * from "./ComponentsSchemasPromptVersionBuildConfigSandbox";
324
322
  export * from "./PromptVersionBuildConfigSandbox";
325
- export * from "./Quota";
326
323
  export * from "./RawPromptExecutionOverridesRequest";
327
324
  export * from "./ReductoChunkerConfig";
328
325
  export * from "./ReductoChunkerConfigRequest";
@@ -522,7 +519,6 @@ export * from "./VellumVariable";
522
519
  export * from "./VellumVariableExtensions";
523
520
  export * from "./VellumVariableType";
524
521
  export * from "./VellumWorkflowExecutionEvent";
525
- export * from "./VembdaServiceTierEnum";
526
522
  export * from "./WorkflowDeploymentEventExecutionsResponse";
527
523
  export * from "./WorkflowDeploymentHistoryItem";
528
524
  export * from "./WorkflowDeploymentParentContext";
@@ -224,7 +224,6 @@ __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);
228
227
  __exportStar(require("./NamedScenarioInputChatHistoryVariableValueRequest"), exports);
229
228
  __exportStar(require("./NamedScenarioInputJsonVariableValueRequest"), exports);
230
229
  __exportStar(require("./NamedScenarioInputRequest"), exports);
@@ -296,7 +295,6 @@ __exportStar(require("./OpenAiVectorizerTextEmbedding3Small"), exports);
296
295
  __exportStar(require("./OpenAiVectorizerTextEmbedding3SmallRequest"), exports);
297
296
  __exportStar(require("./OpenAiVectorizerTextEmbeddingAda002"), exports);
298
297
  __exportStar(require("./OpenAiVectorizerTextEmbeddingAda002Request"), exports);
299
- __exportStar(require("./OrganizationLimitConfig"), exports);
300
298
  __exportStar(require("./OrganizationRead"), exports);
301
299
  __exportStar(require("./PaginatedContainerImageReadList"), exports);
302
300
  __exportStar(require("./PaginatedDeploymentReleaseTagReadList"), exports);
@@ -338,7 +336,6 @@ __exportStar(require("./PromptRequestStringInput"), exports);
338
336
  __exportStar(require("./PromptSettings"), exports);
339
337
  __exportStar(require("./ComponentsSchemasPromptVersionBuildConfigSandbox"), exports);
340
338
  __exportStar(require("./PromptVersionBuildConfigSandbox"), exports);
341
- __exportStar(require("./Quota"), exports);
342
339
  __exportStar(require("./RawPromptExecutionOverridesRequest"), exports);
343
340
  __exportStar(require("./ReductoChunkerConfig"), exports);
344
341
  __exportStar(require("./ReductoChunkerConfigRequest"), exports);
@@ -538,7 +535,6 @@ __exportStar(require("./VellumVariable"), exports);
538
535
  __exportStar(require("./VellumVariableExtensions"), exports);
539
536
  __exportStar(require("./VellumVariableType"), exports);
540
537
  __exportStar(require("./VellumWorkflowExecutionEvent"), exports);
541
- __exportStar(require("./VembdaServiceTierEnum"), exports);
542
538
  __exportStar(require("./WorkflowDeploymentEventExecutionsResponse"), exports);
543
539
  __exportStar(require("./WorkflowDeploymentHistoryItem"), exports);
544
540
  __exportStar(require("./WorkflowDeploymentParentContext"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.5";
1
+ export declare const SDK_VERSION = "1.0.7";
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.5";
4
+ exports.SDK_VERSION = "1.0.7";
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * * `workflow_executions` - WORKFLOW_EXECUTIONS
6
- * * `prompt_executions` - PROMPT_EXECUTIONS
7
- * * `workflow_runtime_seconds` - WORKFLOW_RUNTIME_SECONDS
8
- */
9
- export type NameEnum = "workflow_executions" | "prompt_executions" | "workflow_runtime_seconds";
10
- export declare const NameEnum: {
11
- readonly WorkflowExecutions: "workflow_executions";
12
- readonly PromptExecutions: "prompt_executions";
13
- readonly WorkflowRuntimeSeconds: "workflow_runtime_seconds";
14
- };
@@ -1,11 +0,0 @@
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.NameEnum = void 0;
7
- exports.NameEnum = {
8
- WorkflowExecutions: "workflow_executions",
9
- PromptExecutions: "prompt_executions",
10
- WorkflowRuntimeSeconds: "workflow_runtime_seconds",
11
- };
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Vellum from "../index";
5
- export interface OrganizationLimitConfig {
6
- vembdaServiceTier?: Vellum.VembdaServiceTierEnum;
7
- promptExecutionsQuota?: Vellum.Quota | null;
8
- workflowExecutionsQuota?: Vellum.Quota | null;
9
- workflowRuntimeSecondsQuota?: Vellum.Quota | null;
10
- maxWorkflowRuntimeSeconds?: number | null;
11
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Vellum from "../index";
5
- export interface Quota {
6
- name: Vellum.NameEnum;
7
- value?: number | null;
8
- periodSeconds?: number | null;
9
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * * `FREE` - FREE
6
- * * `PAID` - PAID
7
- */
8
- export type VembdaServiceTierEnum = "FREE" | "PAID";
9
- export declare const VembdaServiceTierEnum: {
10
- readonly Free: "FREE";
11
- readonly Paid: "PAID";
12
- };
@@ -1,10 +0,0 @@
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.VembdaServiceTierEnum = void 0;
7
- exports.VembdaServiceTierEnum = {
8
- Free: "FREE",
9
- Paid: "PAID",
10
- };
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * * `workflow_executions` - WORKFLOW_EXECUTIONS
6
- * * `prompt_executions` - PROMPT_EXECUTIONS
7
- * * `workflow_runtime_seconds` - WORKFLOW_RUNTIME_SECONDS
8
- */
9
- export type NameEnum = "workflow_executions" | "prompt_executions" | "workflow_runtime_seconds";
10
- export declare const NameEnum: {
11
- readonly WorkflowExecutions: "workflow_executions";
12
- readonly PromptExecutions: "prompt_executions";
13
- readonly WorkflowRuntimeSeconds: "workflow_runtime_seconds";
14
- };
@@ -1,11 +0,0 @@
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.NameEnum = void 0;
7
- exports.NameEnum = {
8
- WorkflowExecutions: "workflow_executions",
9
- PromptExecutions: "prompt_executions",
10
- WorkflowRuntimeSeconds: "workflow_runtime_seconds",
11
- };
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Vellum from "../index";
5
- export interface OrganizationLimitConfig {
6
- vembdaServiceTier?: Vellum.VembdaServiceTierEnum;
7
- promptExecutionsQuota?: Vellum.Quota | null;
8
- workflowExecutionsQuota?: Vellum.Quota | null;
9
- workflowRuntimeSecondsQuota?: Vellum.Quota | null;
10
- maxWorkflowRuntimeSeconds?: number | null;
11
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Vellum from "../index";
5
- export interface Quota {
6
- name: Vellum.NameEnum;
7
- value?: number | null;
8
- periodSeconds?: number | null;
9
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * * `FREE` - FREE
6
- * * `PAID` - PAID
7
- */
8
- export type VembdaServiceTierEnum = "FREE" | "PAID";
9
- export declare const VembdaServiceTierEnum: {
10
- readonly Free: "FREE";
11
- readonly Paid: "PAID";
12
- };
@@ -1,10 +0,0 @@
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.VembdaServiceTierEnum = void 0;
7
- exports.VembdaServiceTierEnum = {
8
- Free: "FREE",
9
- Paid: "PAID",
10
- };
@@ -1,10 +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
- 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
- }
@@ -1,45 +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 () {
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
- ]);
@@ -1,18 +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 { VembdaServiceTierEnum } from "./VembdaServiceTierEnum";
8
- import { Quota } from "./Quota";
9
- export declare const OrganizationLimitConfig: core.serialization.ObjectSchema<serializers.OrganizationLimitConfig.Raw, Vellum.OrganizationLimitConfig>;
10
- export declare namespace OrganizationLimitConfig {
11
- interface Raw {
12
- vembda_service_tier?: VembdaServiceTierEnum.Raw | null;
13
- prompt_executions_quota?: (Quota.Raw | null) | null;
14
- workflow_executions_quota?: (Quota.Raw | null) | null;
15
- workflow_runtime_seconds_quota?: (Quota.Raw | null) | null;
16
- max_workflow_runtime_seconds?: (number | null) | null;
17
- }
18
- }
@@ -1,49 +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 () {
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.OrganizationLimitConfig = void 0;
40
- const core = __importStar(require("../../core"));
41
- const VembdaServiceTierEnum_1 = require("./VembdaServiceTierEnum");
42
- const Quota_1 = require("./Quota");
43
- exports.OrganizationLimitConfig = core.serialization.object({
44
- vembdaServiceTier: core.serialization.property("vembda_service_tier", VembdaServiceTierEnum_1.VembdaServiceTierEnum.optional()),
45
- promptExecutionsQuota: core.serialization.property("prompt_executions_quota", Quota_1.Quota.optionalNullable()),
46
- workflowExecutionsQuota: core.serialization.property("workflow_executions_quota", Quota_1.Quota.optionalNullable()),
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()),
49
- });
@@ -1,15 +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 { NameEnum } from "./NameEnum";
8
- export declare const Quota: core.serialization.ObjectSchema<serializers.Quota.Raw, Vellum.Quota>;
9
- export declare namespace Quota {
10
- interface Raw {
11
- name: NameEnum.Raw;
12
- value?: (number | null) | null;
13
- period_seconds?: (number | null) | null;
14
- }
15
- }
@@ -1,46 +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 () {
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.Quota = void 0;
40
- const core = __importStar(require("../../core"));
41
- const NameEnum_1 = require("./NameEnum");
42
- exports.Quota = core.serialization.object({
43
- name: NameEnum_1.NameEnum,
44
- value: core.serialization.number().optionalNullable(),
45
- periodSeconds: core.serialization.property("period_seconds", core.serialization.number().optionalNullable()),
46
- });
@@ -1,10 +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
- export declare const VembdaServiceTierEnum: core.serialization.Schema<serializers.VembdaServiceTierEnum.Raw, Vellum.VembdaServiceTierEnum>;
8
- export declare namespace VembdaServiceTierEnum {
9
- type Raw = "FREE" | "PAID";
10
- }