vellum-ai 0.7.8 → 0.7.10

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 (153) hide show
  1. package/Client.js +9 -9
  2. package/api/resources/deployments/client/Client.js +5 -5
  3. package/api/resources/documentIndexes/client/Client.js +8 -8
  4. package/api/resources/documents/client/Client.js +5 -5
  5. package/api/resources/folderEntities/client/Client.js +1 -1
  6. package/api/resources/mlModels/client/Client.js +5 -5
  7. package/api/resources/mlModels/client/requests/MlModelUpdateRequest.d.ts +4 -0
  8. package/api/resources/mlModels/client/requests/PatchedMlModelUpdateRequest.d.ts +4 -0
  9. package/api/resources/sandboxes/client/Client.js +3 -3
  10. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  11. package/api/resources/testSuites/client/Client.js +4 -4
  12. package/api/resources/workflowDeployments/client/Client.js +4 -4
  13. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  14. package/api/types/MlModelDisplayConfigLabelled.d.ts +2 -0
  15. package/api/types/MlModelDisplayConfigRequest.d.ts +2 -0
  16. package/api/types/MlModelExecConfig.d.ts +2 -0
  17. package/api/types/MlModelExecConfigRequest.d.ts +2 -0
  18. package/api/types/OpenApiArrayProperty.d.ts +1 -1
  19. package/api/types/OpenApiArrayPropertyRequest.d.ts +1 -1
  20. package/api/types/OpenApiBooleanProperty.d.ts +1 -1
  21. package/api/types/OpenApiBooleanPropertyRequest.d.ts +1 -1
  22. package/api/types/OpenApiConstProperty.d.ts +1 -1
  23. package/api/types/OpenApiConstPropertyRequest.d.ts +1 -1
  24. package/api/types/OpenApiIntegerProperty.d.ts +1 -1
  25. package/api/types/OpenApiIntegerPropertyRequest.d.ts +1 -1
  26. package/api/types/OpenApiNumberProperty.d.ts +1 -1
  27. package/api/types/OpenApiNumberPropertyRequest.d.ts +1 -1
  28. package/api/types/OpenApiObjectProperty.d.ts +1 -1
  29. package/api/types/OpenApiObjectPropertyRequest.d.ts +1 -1
  30. package/api/types/OpenApiOneOfProperty.d.ts +1 -1
  31. package/api/types/OpenApiOneOfPropertyRequest.d.ts +1 -1
  32. package/api/types/OpenApiProperty.d.ts +4 -1
  33. package/api/types/OpenApiPropertyRequest.d.ts +4 -1
  34. package/api/types/OpenApiRefProperty.d.ts +11 -0
  35. package/api/types/OpenApiRefProperty.js +5 -0
  36. package/api/types/OpenApiRefPropertyRequest.d.ts +11 -0
  37. package/api/types/OpenApiRefPropertyRequest.js +5 -0
  38. package/api/types/OpenApiStringProperty.d.ts +1 -1
  39. package/api/types/OpenApiStringPropertyRequest.d.ts +1 -1
  40. package/api/types/index.d.ts +2 -0
  41. package/api/types/index.js +2 -0
  42. package/dist/Client.js +9 -9
  43. package/dist/api/resources/deployments/client/Client.js +5 -5
  44. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  45. package/dist/api/resources/documents/client/Client.js +5 -5
  46. package/dist/api/resources/folderEntities/client/Client.js +1 -1
  47. package/dist/api/resources/mlModels/client/Client.js +5 -5
  48. package/dist/api/resources/mlModels/client/requests/MlModelUpdateRequest.d.ts +4 -0
  49. package/dist/api/resources/mlModels/client/requests/PatchedMlModelUpdateRequest.d.ts +4 -0
  50. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  51. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  52. package/dist/api/resources/testSuites/client/Client.js +4 -4
  53. package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
  54. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  55. package/dist/api/types/MlModelDisplayConfigLabelled.d.ts +2 -0
  56. package/dist/api/types/MlModelDisplayConfigRequest.d.ts +2 -0
  57. package/dist/api/types/MlModelExecConfig.d.ts +2 -0
  58. package/dist/api/types/MlModelExecConfigRequest.d.ts +2 -0
  59. package/dist/api/types/OpenApiArrayProperty.d.ts +1 -1
  60. package/dist/api/types/OpenApiArrayPropertyRequest.d.ts +1 -1
  61. package/dist/api/types/OpenApiBooleanProperty.d.ts +1 -1
  62. package/dist/api/types/OpenApiBooleanPropertyRequest.d.ts +1 -1
  63. package/dist/api/types/OpenApiConstProperty.d.ts +1 -1
  64. package/dist/api/types/OpenApiConstPropertyRequest.d.ts +1 -1
  65. package/dist/api/types/OpenApiIntegerProperty.d.ts +1 -1
  66. package/dist/api/types/OpenApiIntegerPropertyRequest.d.ts +1 -1
  67. package/dist/api/types/OpenApiNumberProperty.d.ts +1 -1
  68. package/dist/api/types/OpenApiNumberPropertyRequest.d.ts +1 -1
  69. package/dist/api/types/OpenApiObjectProperty.d.ts +1 -1
  70. package/dist/api/types/OpenApiObjectPropertyRequest.d.ts +1 -1
  71. package/dist/api/types/OpenApiOneOfProperty.d.ts +1 -1
  72. package/dist/api/types/OpenApiOneOfPropertyRequest.d.ts +1 -1
  73. package/dist/api/types/OpenApiProperty.d.ts +4 -1
  74. package/dist/api/types/OpenApiPropertyRequest.d.ts +4 -1
  75. package/dist/api/types/OpenApiRefProperty.d.ts +11 -0
  76. package/dist/api/types/OpenApiRefProperty.js +5 -0
  77. package/dist/api/types/OpenApiRefPropertyRequest.d.ts +11 -0
  78. package/dist/api/types/OpenApiRefPropertyRequest.js +5 -0
  79. package/dist/api/types/OpenApiStringProperty.d.ts +1 -1
  80. package/dist/api/types/OpenApiStringPropertyRequest.d.ts +1 -1
  81. package/dist/api/types/index.d.ts +2 -0
  82. package/dist/api/types/index.js +2 -0
  83. package/dist/serialization/resources/mlModels/client/requests/MlModelUpdateRequest.d.ts +4 -0
  84. package/dist/serialization/resources/mlModels/client/requests/MlModelUpdateRequest.js +4 -0
  85. package/dist/serialization/resources/mlModels/client/requests/PatchedMlModelUpdateRequest.d.ts +4 -0
  86. package/dist/serialization/resources/mlModels/client/requests/PatchedMlModelUpdateRequest.js +4 -0
  87. package/dist/serialization/types/MlModelDisplayConfigLabelled.d.ts +1 -0
  88. package/dist/serialization/types/MlModelDisplayConfigLabelled.js +1 -0
  89. package/dist/serialization/types/MlModelDisplayConfigRequest.d.ts +1 -0
  90. package/dist/serialization/types/MlModelDisplayConfigRequest.js +1 -0
  91. package/dist/serialization/types/MlModelExecConfig.d.ts +1 -0
  92. package/dist/serialization/types/MlModelExecConfig.js +1 -0
  93. package/dist/serialization/types/MlModelExecConfigRequest.d.ts +1 -0
  94. package/dist/serialization/types/MlModelExecConfigRequest.js +1 -0
  95. package/dist/serialization/types/OpenApiProperty.d.ts +5 -1
  96. package/dist/serialization/types/OpenApiProperty.js +2 -0
  97. package/dist/serialization/types/OpenApiPropertyRequest.d.ts +5 -1
  98. package/dist/serialization/types/OpenApiPropertyRequest.js +2 -0
  99. package/dist/serialization/types/OpenApiRefProperty.d.ts +14 -0
  100. package/dist/serialization/types/OpenApiRefProperty.js +35 -0
  101. package/dist/serialization/types/OpenApiRefPropertyRequest.d.ts +14 -0
  102. package/dist/serialization/types/OpenApiRefPropertyRequest.js +35 -0
  103. package/dist/serialization/types/index.d.ts +2 -0
  104. package/dist/serialization/types/index.js +2 -0
  105. package/dist/terraform/data-vellum-document-index/index.d.ts +5 -5
  106. package/dist/terraform/data-vellum-document-index/index.js +5 -5
  107. package/dist/terraform/data-vellum-ml-model/index.d.ts +61 -0
  108. package/dist/terraform/data-vellum-ml-model/index.js +152 -0
  109. package/dist/terraform/document-index/index.d.ts +8 -8
  110. package/dist/terraform/document-index/index.js +5 -5
  111. package/dist/terraform/index.d.ts +2 -0
  112. package/dist/terraform/index.js +3 -1
  113. package/dist/terraform/lazy-index.js +2 -0
  114. package/dist/terraform/ml-model/index.d.ts +148 -0
  115. package/dist/terraform/ml-model/index.js +354 -0
  116. package/dist/terraform/provider/index.d.ts +16 -5
  117. package/dist/terraform/provider/index.js +26 -5
  118. package/package.json +1 -1
  119. package/serialization/resources/mlModels/client/requests/MlModelUpdateRequest.d.ts +4 -0
  120. package/serialization/resources/mlModels/client/requests/MlModelUpdateRequest.js +4 -0
  121. package/serialization/resources/mlModels/client/requests/PatchedMlModelUpdateRequest.d.ts +4 -0
  122. package/serialization/resources/mlModels/client/requests/PatchedMlModelUpdateRequest.js +4 -0
  123. package/serialization/types/MlModelDisplayConfigLabelled.d.ts +1 -0
  124. package/serialization/types/MlModelDisplayConfigLabelled.js +1 -0
  125. package/serialization/types/MlModelDisplayConfigRequest.d.ts +1 -0
  126. package/serialization/types/MlModelDisplayConfigRequest.js +1 -0
  127. package/serialization/types/MlModelExecConfig.d.ts +1 -0
  128. package/serialization/types/MlModelExecConfig.js +1 -0
  129. package/serialization/types/MlModelExecConfigRequest.d.ts +1 -0
  130. package/serialization/types/MlModelExecConfigRequest.js +1 -0
  131. package/serialization/types/OpenApiProperty.d.ts +5 -1
  132. package/serialization/types/OpenApiProperty.js +2 -0
  133. package/serialization/types/OpenApiPropertyRequest.d.ts +5 -1
  134. package/serialization/types/OpenApiPropertyRequest.js +2 -0
  135. package/serialization/types/OpenApiRefProperty.d.ts +14 -0
  136. package/serialization/types/OpenApiRefProperty.js +35 -0
  137. package/serialization/types/OpenApiRefPropertyRequest.d.ts +14 -0
  138. package/serialization/types/OpenApiRefPropertyRequest.js +35 -0
  139. package/serialization/types/index.d.ts +2 -0
  140. package/serialization/types/index.js +2 -0
  141. package/terraform/data-vellum-document-index/index.d.ts +5 -5
  142. package/terraform/data-vellum-document-index/index.js +5 -5
  143. package/terraform/data-vellum-ml-model/index.d.ts +61 -0
  144. package/terraform/data-vellum-ml-model/index.js +152 -0
  145. package/terraform/document-index/index.d.ts +8 -8
  146. package/terraform/document-index/index.js +5 -5
  147. package/terraform/index.d.ts +2 -0
  148. package/terraform/index.js +3 -1
  149. package/terraform/lazy-index.js +2 -0
  150. package/terraform/ml-model/index.d.ts +148 -0
  151. package/terraform/ml-model/index.js +354 -0
  152. package/terraform/provider/index.d.ts +16 -5
  153. package/terraform/provider/index.js +26 -5
@@ -28,9 +28,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.MlModelUpdateRequest = void 0;
30
30
  const core = __importStar(require("../../../../../core"));
31
+ const MlModelExecConfigRequest_1 = require("../../../../types/MlModelExecConfigRequest");
32
+ const MlModelParameterConfigRequest_1 = require("../../../../types/MlModelParameterConfigRequest");
31
33
  const MlModelDisplayConfigRequest_1 = require("../../../../types/MlModelDisplayConfigRequest");
32
34
  const VisibilityEnum_1 = require("../../../../types/VisibilityEnum");
33
35
  exports.MlModelUpdateRequest = core.serialization.object({
36
+ execConfig: core.serialization.property("exec_config", MlModelExecConfigRequest_1.MlModelExecConfigRequest.optional()),
37
+ parameterConfig: core.serialization.property("parameter_config", MlModelParameterConfigRequest_1.MlModelParameterConfigRequest.optional()),
34
38
  displayConfig: core.serialization.property("display_config", MlModelDisplayConfigRequest_1.MlModelDisplayConfigRequest.optional()),
35
39
  visibility: VisibilityEnum_1.VisibilityEnum.optional(),
36
40
  });
@@ -4,11 +4,15 @@
4
4
  import * as serializers from "../../../../index";
5
5
  import * as Vellum from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
+ import { MlModelExecConfigRequest } from "../../../../types/MlModelExecConfigRequest";
8
+ import { MlModelParameterConfigRequest } from "../../../../types/MlModelParameterConfigRequest";
7
9
  import { MlModelDisplayConfigRequest } from "../../../../types/MlModelDisplayConfigRequest";
8
10
  import { VisibilityEnum } from "../../../../types/VisibilityEnum";
9
11
  export declare const PatchedMlModelUpdateRequest: core.serialization.Schema<serializers.PatchedMlModelUpdateRequest.Raw, Vellum.PatchedMlModelUpdateRequest>;
10
12
  export declare namespace PatchedMlModelUpdateRequest {
11
13
  interface Raw {
14
+ exec_config?: MlModelExecConfigRequest.Raw | null;
15
+ parameter_config?: MlModelParameterConfigRequest.Raw | null;
12
16
  display_config?: MlModelDisplayConfigRequest.Raw | null;
13
17
  visibility?: VisibilityEnum.Raw | null;
14
18
  }
@@ -28,9 +28,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.PatchedMlModelUpdateRequest = void 0;
30
30
  const core = __importStar(require("../../../../../core"));
31
+ const MlModelExecConfigRequest_1 = require("../../../../types/MlModelExecConfigRequest");
32
+ const MlModelParameterConfigRequest_1 = require("../../../../types/MlModelParameterConfigRequest");
31
33
  const MlModelDisplayConfigRequest_1 = require("../../../../types/MlModelDisplayConfigRequest");
32
34
  const VisibilityEnum_1 = require("../../../../types/VisibilityEnum");
33
35
  exports.PatchedMlModelUpdateRequest = core.serialization.object({
36
+ execConfig: core.serialization.property("exec_config", MlModelExecConfigRequest_1.MlModelExecConfigRequest.optional()),
37
+ parameterConfig: core.serialization.property("parameter_config", MlModelParameterConfigRequest_1.MlModelParameterConfigRequest.optional()),
34
38
  displayConfig: core.serialization.property("display_config", MlModelDisplayConfigRequest_1.MlModelDisplayConfigRequest.optional()),
35
39
  visibility: VisibilityEnum_1.VisibilityEnum.optional(),
36
40
  });
@@ -11,5 +11,6 @@ export declare namespace MlModelDisplayConfigLabelled {
11
11
  label: string;
12
12
  description: string;
13
13
  tags: MlModelDisplayTagEnumValueLabel.Raw[];
14
+ default_display_priority?: number | null;
14
15
  }
15
16
  }
@@ -33,4 +33,5 @@ exports.MlModelDisplayConfigLabelled = core.serialization.object({
33
33
  label: core.serialization.string(),
34
34
  description: core.serialization.string(),
35
35
  tags: core.serialization.list(MlModelDisplayTagEnumValueLabel_1.MlModelDisplayTagEnumValueLabel),
36
+ defaultDisplayPriority: core.serialization.property("default_display_priority", core.serialization.number().optional()),
36
37
  });
@@ -11,5 +11,6 @@ export declare namespace MlModelDisplayConfigRequest {
11
11
  label: string;
12
12
  description: string;
13
13
  tags: MlModelDisplayTag.Raw[];
14
+ default_display_priority?: number | null;
14
15
  }
15
16
  }
@@ -33,4 +33,5 @@ exports.MlModelDisplayConfigRequest = core.serialization.object({
33
33
  label: core.serialization.string(),
34
34
  description: core.serialization.string(),
35
35
  tags: core.serialization.list(MlModelDisplayTag_1.MlModelDisplayTag),
36
+ defaultDisplayPriority: core.serialization.property("default_display_priority", core.serialization.number().optional()),
36
37
  });
@@ -15,6 +15,7 @@ export declare namespace MlModelExecConfig {
15
15
  base_url: string;
16
16
  metadata: Record<string, unknown>;
17
17
  features: MlModelFeature.Raw[];
18
+ force_system_credentials?: boolean | null;
18
19
  tokenizer_config?: MlModelTokenizerConfig.Raw | null;
19
20
  request_config?: MlModelRequestConfig.Raw | null;
20
21
  response_config?: MlModelResponseConfig.Raw | null;
@@ -37,6 +37,7 @@ exports.MlModelExecConfig = core.serialization.object({
37
37
  baseUrl: core.serialization.property("base_url", core.serialization.string()),
38
38
  metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
39
39
  features: core.serialization.list(MlModelFeature_1.MlModelFeature),
40
+ forceSystemCredentials: core.serialization.property("force_system_credentials", core.serialization.boolean().optional()),
40
41
  tokenizerConfig: core.serialization.property("tokenizer_config", MlModelTokenizerConfig_1.MlModelTokenizerConfig.optional()),
41
42
  requestConfig: core.serialization.property("request_config", MlModelRequestConfig_1.MlModelRequestConfig.optional()),
42
43
  responseConfig: core.serialization.property("response_config", MlModelResponseConfig_1.MlModelResponseConfig.optional()),
@@ -15,6 +15,7 @@ export declare namespace MlModelExecConfigRequest {
15
15
  base_url: string;
16
16
  metadata: Record<string, unknown>;
17
17
  features: MlModelFeature.Raw[];
18
+ force_system_credentials?: boolean | null;
18
19
  tokenizer_config?: MlModelTokenizerConfigRequest.Raw | null;
19
20
  request_config?: MlModelRequestConfigRequest.Raw | null;
20
21
  response_config?: MlModelResponseConfigRequest.Raw | null;
@@ -37,6 +37,7 @@ exports.MlModelExecConfigRequest = core.serialization.object({
37
37
  baseUrl: core.serialization.property("base_url", core.serialization.string()),
38
38
  metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
39
39
  features: core.serialization.list(MlModelFeature_1.MlModelFeature),
40
+ forceSystemCredentials: core.serialization.property("force_system_credentials", core.serialization.boolean().optional()),
40
41
  tokenizerConfig: core.serialization.property("tokenizer_config", MlModelTokenizerConfigRequest_1.MlModelTokenizerConfigRequest.optional()),
41
42
  requestConfig: core.serialization.property("request_config", MlModelRequestConfigRequest_1.MlModelRequestConfigRequest.optional()),
42
43
  responseConfig: core.serialization.property("response_config", MlModelResponseConfigRequest_1.MlModelResponseConfigRequest.optional()),
@@ -9,9 +9,10 @@ import { OpenApiNumberProperty } from "./OpenApiNumberProperty";
9
9
  import { OpenApiStringProperty } from "./OpenApiStringProperty";
10
10
  import { OpenApiBooleanProperty } from "./OpenApiBooleanProperty";
11
11
  import { OpenApiConstProperty } from "./OpenApiConstProperty";
12
+ import { OpenApiRefProperty } from "./OpenApiRefProperty";
12
13
  export declare const OpenApiProperty: core.serialization.Schema<serializers.OpenApiProperty.Raw, Vellum.OpenApiProperty>;
13
14
  export declare namespace OpenApiProperty {
14
- type Raw = OpenApiProperty.Array | OpenApiProperty.Object | OpenApiProperty.Integer | OpenApiProperty.Number | OpenApiProperty.String | OpenApiProperty.Boolean | OpenApiProperty.OneOf | OpenApiProperty.Const;
15
+ type Raw = OpenApiProperty.Array | OpenApiProperty.Object | OpenApiProperty.Integer | OpenApiProperty.Number | OpenApiProperty.String | OpenApiProperty.Boolean | OpenApiProperty.OneOf | OpenApiProperty.Const | OpenApiProperty.Ref;
15
16
  interface Array extends serializers.OpenApiArrayProperty.Raw {
16
17
  type: "array";
17
18
  }
@@ -36,4 +37,7 @@ export declare namespace OpenApiProperty {
36
37
  interface Const extends OpenApiConstProperty.Raw {
37
38
  type: "const";
38
39
  }
40
+ interface Ref extends OpenApiRefProperty.Raw {
41
+ type: "ref";
42
+ }
39
43
  }
@@ -34,6 +34,7 @@ const OpenApiNumberProperty_1 = require("./OpenApiNumberProperty");
34
34
  const OpenApiStringProperty_1 = require("./OpenApiStringProperty");
35
35
  const OpenApiBooleanProperty_1 = require("./OpenApiBooleanProperty");
36
36
  const OpenApiConstProperty_1 = require("./OpenApiConstProperty");
37
+ const OpenApiRefProperty_1 = require("./OpenApiRefProperty");
37
38
  exports.OpenApiProperty = core.serialization
38
39
  .union("type", {
39
40
  array: core.serialization.lazyObject(() => serializers.OpenApiArrayProperty),
@@ -44,6 +45,7 @@ exports.OpenApiProperty = core.serialization
44
45
  boolean: OpenApiBooleanProperty_1.OpenApiBooleanProperty,
45
46
  oneOf: core.serialization.lazyObject(() => serializers.OpenApiOneOfProperty),
46
47
  const: OpenApiConstProperty_1.OpenApiConstProperty,
48
+ ref: OpenApiRefProperty_1.OpenApiRefProperty,
47
49
  })
48
50
  .transform({
49
51
  transform: (value) => value,
@@ -9,9 +9,10 @@ import { OpenApiNumberPropertyRequest } from "./OpenApiNumberPropertyRequest";
9
9
  import { OpenApiStringPropertyRequest } from "./OpenApiStringPropertyRequest";
10
10
  import { OpenApiBooleanPropertyRequest } from "./OpenApiBooleanPropertyRequest";
11
11
  import { OpenApiConstPropertyRequest } from "./OpenApiConstPropertyRequest";
12
+ import { OpenApiRefPropertyRequest } from "./OpenApiRefPropertyRequest";
12
13
  export declare const OpenApiPropertyRequest: core.serialization.Schema<serializers.OpenApiPropertyRequest.Raw, Vellum.OpenApiPropertyRequest>;
13
14
  export declare namespace OpenApiPropertyRequest {
14
- type Raw = OpenApiPropertyRequest.Array | OpenApiPropertyRequest.Object | OpenApiPropertyRequest.Integer | OpenApiPropertyRequest.Number | OpenApiPropertyRequest.String | OpenApiPropertyRequest.Boolean | OpenApiPropertyRequest.OneOf | OpenApiPropertyRequest.Const;
15
+ type Raw = OpenApiPropertyRequest.Array | OpenApiPropertyRequest.Object | OpenApiPropertyRequest.Integer | OpenApiPropertyRequest.Number | OpenApiPropertyRequest.String | OpenApiPropertyRequest.Boolean | OpenApiPropertyRequest.OneOf | OpenApiPropertyRequest.Const | OpenApiPropertyRequest.Ref;
15
16
  interface Array extends serializers.OpenApiArrayPropertyRequest.Raw {
16
17
  type: "array";
17
18
  }
@@ -36,4 +37,7 @@ export declare namespace OpenApiPropertyRequest {
36
37
  interface Const extends OpenApiConstPropertyRequest.Raw {
37
38
  type: "const";
38
39
  }
40
+ interface Ref extends OpenApiRefPropertyRequest.Raw {
41
+ type: "ref";
42
+ }
39
43
  }
@@ -34,6 +34,7 @@ const OpenApiNumberPropertyRequest_1 = require("./OpenApiNumberPropertyRequest")
34
34
  const OpenApiStringPropertyRequest_1 = require("./OpenApiStringPropertyRequest");
35
35
  const OpenApiBooleanPropertyRequest_1 = require("./OpenApiBooleanPropertyRequest");
36
36
  const OpenApiConstPropertyRequest_1 = require("./OpenApiConstPropertyRequest");
37
+ const OpenApiRefPropertyRequest_1 = require("./OpenApiRefPropertyRequest");
37
38
  exports.OpenApiPropertyRequest = core.serialization
38
39
  .union("type", {
39
40
  array: core.serialization.lazyObject(() => serializers.OpenApiArrayPropertyRequest),
@@ -44,6 +45,7 @@ exports.OpenApiPropertyRequest = core.serialization
44
45
  boolean: OpenApiBooleanPropertyRequest_1.OpenApiBooleanPropertyRequest,
45
46
  oneOf: core.serialization.lazyObject(() => serializers.OpenApiOneOfPropertyRequest),
46
47
  const: OpenApiConstPropertyRequest_1.OpenApiConstPropertyRequest,
48
+ ref: OpenApiRefPropertyRequest_1.OpenApiRefPropertyRequest,
47
49
  })
48
50
  .transform({
49
51
  transform: (value) => value,
@@ -0,0 +1,14 @@
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 OpenApiRefProperty: core.serialization.ObjectSchema<serializers.OpenApiRefProperty.Raw, Vellum.OpenApiRefProperty>;
8
+ export declare namespace OpenApiRefProperty {
9
+ interface Raw {
10
+ title?: string | null;
11
+ description?: string | null;
12
+ ref: string;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
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.OpenApiRefProperty = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.OpenApiRefProperty = core.serialization.object({
32
+ title: core.serialization.string().optional(),
33
+ description: core.serialization.string().optional(),
34
+ ref: core.serialization.string(),
35
+ });
@@ -0,0 +1,14 @@
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 OpenApiRefPropertyRequest: core.serialization.ObjectSchema<serializers.OpenApiRefPropertyRequest.Raw, Vellum.OpenApiRefPropertyRequest>;
8
+ export declare namespace OpenApiRefPropertyRequest {
9
+ interface Raw {
10
+ title?: string | null;
11
+ description?: string | null;
12
+ ref: string;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
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.OpenApiRefPropertyRequest = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.OpenApiRefPropertyRequest = core.serialization.object({
32
+ title: core.serialization.string().optional(),
33
+ description: core.serialization.string().optional(),
34
+ ref: core.serialization.string(),
35
+ });
@@ -221,6 +221,8 @@ export * from "./OpenApiOneOfProperty";
221
221
  export * from "./OpenApiOneOfPropertyRequest";
222
222
  export * from "./OpenApiProperty";
223
223
  export * from "./OpenApiPropertyRequest";
224
+ export * from "./OpenApiRefProperty";
225
+ export * from "./OpenApiRefPropertyRequest";
224
226
  export * from "./OpenApiStringProperty";
225
227
  export * from "./OpenApiStringPropertyRequest";
226
228
  export * from "./PaginatedDocumentIndexReadList";
@@ -237,6 +237,8 @@ __exportStar(require("./OpenApiOneOfProperty"), exports);
237
237
  __exportStar(require("./OpenApiOneOfPropertyRequest"), exports);
238
238
  __exportStar(require("./OpenApiProperty"), exports);
239
239
  __exportStar(require("./OpenApiPropertyRequest"), exports);
240
+ __exportStar(require("./OpenApiRefProperty"), exports);
241
+ __exportStar(require("./OpenApiRefPropertyRequest"), exports);
240
242
  __exportStar(require("./OpenApiStringProperty"), exports);
241
243
  __exportStar(require("./OpenApiStringPropertyRequest"), exports);
242
244
  __exportStar(require("./PaginatedDocumentIndexReadList"), exports);
@@ -4,7 +4,7 @@ export interface DataVellumDocumentIndexConfig extends cdktf.TerraformMetaArgume
4
4
  /**
5
5
  * The Document Index's ID
6
6
  *
7
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index#id DataVellumDocumentIndex#id}
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index#id DataVellumDocumentIndex#id}
8
8
  *
9
9
  * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
10
10
  * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
@@ -13,12 +13,12 @@ export interface DataVellumDocumentIndexConfig extends cdktf.TerraformMetaArgume
13
13
  /**
14
14
  * A name that uniquely identifies this index within its workspace
15
15
  *
16
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index#name DataVellumDocumentIndex#name}
16
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index#name DataVellumDocumentIndex#name}
17
17
  */
18
18
  readonly name?: string;
19
19
  }
20
20
  /**
21
- * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index vellum_document_index}
21
+ * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index vellum_document_index}
22
22
  */
23
23
  export declare class DataVellumDocumentIndex extends cdktf.TerraformDataSource {
24
24
  static readonly tfResourceType = "vellum_document_index";
@@ -26,12 +26,12 @@ export declare class DataVellumDocumentIndex extends cdktf.TerraformDataSource {
26
26
  * Generates CDKTF code for importing a DataVellumDocumentIndex resource upon running "cdktf plan <stack-name>"
27
27
  * @param scope The scope in which to define this construct
28
28
  * @param importToId The construct id used in the generated config for the DataVellumDocumentIndex to import
29
- * @param importFromId The id of the existing DataVellumDocumentIndex that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index#import import section} in the documentation of this resource for the id to use
29
+ * @param importFromId The id of the existing DataVellumDocumentIndex that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index#import import section} in the documentation of this resource for the id to use
30
30
  * @param provider? Optional instance of the provider where the DataVellumDocumentIndex to import is found
31
31
  */
32
32
  static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
33
33
  /**
34
- * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index vellum_document_index} Data Source
34
+ * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index vellum_document_index} Data Source
35
35
  *
36
36
  * @param scope The scope in which to define this construct
37
37
  * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index
2
+ // https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index
3
3
  // generated from terraform resource schema
4
4
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
5
  if (k2 === undefined) k2 = k;
@@ -28,14 +28,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
28
28
  exports.DataVellumDocumentIndex = void 0;
29
29
  const cdktf = __importStar(require("cdktf"));
30
30
  /**
31
- * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index vellum_document_index}
31
+ * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index vellum_document_index}
32
32
  */
33
33
  class DataVellumDocumentIndex extends cdktf.TerraformDataSource {
34
34
  // ===========
35
35
  // INITIALIZER
36
36
  // ===========
37
37
  /**
38
- * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index vellum_document_index} Data Source
38
+ * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index vellum_document_index} Data Source
39
39
  *
40
40
  * @param scope The scope in which to define this construct
41
41
  * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
@@ -46,7 +46,7 @@ class DataVellumDocumentIndex extends cdktf.TerraformDataSource {
46
46
  terraformResourceType: 'vellum_document_index',
47
47
  terraformGeneratorMetadata: {
48
48
  providerName: 'vellum',
49
- providerVersion: '0.0.2'
49
+ providerVersion: '0.0.7'
50
50
  },
51
51
  provider: config.provider,
52
52
  dependsOn: config.dependsOn,
@@ -66,7 +66,7 @@ class DataVellumDocumentIndex extends cdktf.TerraformDataSource {
66
66
  * Generates CDKTF code for importing a DataVellumDocumentIndex resource upon running "cdktf plan <stack-name>"
67
67
  * @param scope The scope in which to define this construct
68
68
  * @param importToId The construct id used in the generated config for the DataVellumDocumentIndex to import
69
- * @param importFromId The id of the existing DataVellumDocumentIndex that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/data-sources/document_index#import import section} in the documentation of this resource for the id to use
69
+ * @param importFromId The id of the existing DataVellumDocumentIndex that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index#import import section} in the documentation of this resource for the id to use
70
70
  * @param provider? Optional instance of the provider where the DataVellumDocumentIndex to import is found
71
71
  */
72
72
  static generateConfigForImport(scope, importToId, importFromId, provider) {
@@ -0,0 +1,61 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface DataVellumMlModelConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * The ML Model's ID
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model#id DataVellumMlModel#id}
8
+ *
9
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
10
+ * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
11
+ */
12
+ readonly id?: string;
13
+ /**
14
+ * A name that uniquely identifies this ML Model
15
+ *
16
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model#name DataVellumMlModel#name}
17
+ */
18
+ readonly name?: string;
19
+ }
20
+ /**
21
+ * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model vellum_ml_model}
22
+ */
23
+ export declare class DataVellumMlModel extends cdktf.TerraformDataSource {
24
+ static readonly tfResourceType = "vellum_ml_model";
25
+ /**
26
+ * Generates CDKTF code for importing a DataVellumMlModel resource upon running "cdktf plan <stack-name>"
27
+ * @param scope The scope in which to define this construct
28
+ * @param importToId The construct id used in the generated config for the DataVellumMlModel to import
29
+ * @param importFromId The id of the existing DataVellumMlModel that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model#import import section} in the documentation of this resource for the id to use
30
+ * @param provider? Optional instance of the provider where the DataVellumMlModel to import is found
31
+ */
32
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
33
+ /**
34
+ * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model vellum_ml_model} Data Source
35
+ *
36
+ * @param scope The scope in which to define this construct
37
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
38
+ * @param options DataVellumMlModelConfig = {}
39
+ */
40
+ constructor(scope: Construct, id: string, config?: DataVellumMlModelConfig);
41
+ get developedBy(): string;
42
+ get family(): string;
43
+ get hostedBy(): string;
44
+ private _id?;
45
+ get id(): string;
46
+ set id(value: string);
47
+ resetId(): void;
48
+ get idInput(): string | undefined;
49
+ private _name?;
50
+ get name(): string;
51
+ set name(value: string);
52
+ resetName(): void;
53
+ get nameInput(): string | undefined;
54
+ get visibility(): string;
55
+ protected synthesizeAttributes(): {
56
+ [name: string]: any;
57
+ };
58
+ protected synthesizeHclAttributes(): {
59
+ [name: string]: any;
60
+ };
61
+ }
@@ -0,0 +1,152 @@
1
+ "use strict";
2
+ // https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model
3
+ // generated from terraform resource schema
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.DataVellumMlModel = void 0;
29
+ const cdktf = __importStar(require("cdktf"));
30
+ /**
31
+ * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model vellum_ml_model}
32
+ */
33
+ class DataVellumMlModel extends cdktf.TerraformDataSource {
34
+ // ===========
35
+ // INITIALIZER
36
+ // ===========
37
+ /**
38
+ * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model vellum_ml_model} Data Source
39
+ *
40
+ * @param scope The scope in which to define this construct
41
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
42
+ * @param options DataVellumMlModelConfig = {}
43
+ */
44
+ constructor(scope, id, config = {}) {
45
+ super(scope, id, {
46
+ terraformResourceType: 'vellum_ml_model',
47
+ terraformGeneratorMetadata: {
48
+ providerName: 'vellum',
49
+ providerVersion: '0.0.7'
50
+ },
51
+ provider: config.provider,
52
+ dependsOn: config.dependsOn,
53
+ count: config.count,
54
+ lifecycle: config.lifecycle,
55
+ provisioners: config.provisioners,
56
+ connection: config.connection,
57
+ forEach: config.forEach
58
+ });
59
+ this._id = config.id;
60
+ this._name = config.name;
61
+ }
62
+ // ==============
63
+ // STATIC Methods
64
+ // ==============
65
+ /**
66
+ * Generates CDKTF code for importing a DataVellumMlModel resource upon running "cdktf plan <stack-name>"
67
+ * @param scope The scope in which to define this construct
68
+ * @param importToId The construct id used in the generated config for the DataVellumMlModel to import
69
+ * @param importFromId The id of the existing DataVellumMlModel that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model#import import section} in the documentation of this resource for the id to use
70
+ * @param provider? Optional instance of the provider where the DataVellumMlModel to import is found
71
+ */
72
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
73
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "vellum_ml_model", importId: importFromId, provider });
74
+ }
75
+ // ==========
76
+ // ATTRIBUTES
77
+ // ==========
78
+ // developed_by - computed: true, optional: false, required: false
79
+ get developedBy() {
80
+ return this.getStringAttribute('developed_by');
81
+ }
82
+ // family - computed: true, optional: false, required: false
83
+ get family() {
84
+ return this.getStringAttribute('family');
85
+ }
86
+ // hosted_by - computed: true, optional: false, required: false
87
+ get hostedBy() {
88
+ return this.getStringAttribute('hosted_by');
89
+ }
90
+ get id() {
91
+ return this.getStringAttribute('id');
92
+ }
93
+ set id(value) {
94
+ this._id = value;
95
+ }
96
+ resetId() {
97
+ this._id = undefined;
98
+ }
99
+ // Temporarily expose input value. Use with caution.
100
+ get idInput() {
101
+ return this._id;
102
+ }
103
+ get name() {
104
+ return this.getStringAttribute('name');
105
+ }
106
+ set name(value) {
107
+ this._name = value;
108
+ }
109
+ resetName() {
110
+ this._name = undefined;
111
+ }
112
+ // Temporarily expose input value. Use with caution.
113
+ get nameInput() {
114
+ return this._name;
115
+ }
116
+ // visibility - computed: true, optional: false, required: false
117
+ get visibility() {
118
+ return this.getStringAttribute('visibility');
119
+ }
120
+ // =========
121
+ // SYNTHESIS
122
+ // =========
123
+ synthesizeAttributes() {
124
+ return {
125
+ id: cdktf.stringToTerraform(this._id),
126
+ name: cdktf.stringToTerraform(this._name),
127
+ };
128
+ }
129
+ synthesizeHclAttributes() {
130
+ const attrs = {
131
+ id: {
132
+ value: cdktf.stringToHclTerraform(this._id),
133
+ isBlock: false,
134
+ type: "simple",
135
+ storageClassType: "string",
136
+ },
137
+ name: {
138
+ value: cdktf.stringToHclTerraform(this._name),
139
+ isBlock: false,
140
+ type: "simple",
141
+ storageClassType: "string",
142
+ },
143
+ };
144
+ // remove undefined attributes
145
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
146
+ }
147
+ }
148
+ exports.DataVellumMlModel = DataVellumMlModel;
149
+ // =================
150
+ // STATIC PROPERTIES
151
+ // =================
152
+ DataVellumMlModel.tfResourceType = "vellum_ml_model";