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
@@ -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";
@@ -8,19 +8,19 @@ export interface DocumentIndexConfig extends cdktf.TerraformMetaArguments {
8
8
  * * `STAGING` - Staging
9
9
  * * `PRODUCTION` - Production
10
10
  *
11
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index#environment DocumentIndex#environment}
11
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index#environment DocumentIndex#environment}
12
12
  */
13
13
  readonly environment?: string;
14
14
  /**
15
- * A human-readable label for the document index
15
+ * A human-readable label for the Document Index
16
16
  *
17
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index#label DocumentIndex#label}
17
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index#label DocumentIndex#label}
18
18
  */
19
19
  readonly label: string;
20
20
  /**
21
21
  * A name that uniquely identifies this index within its workspace
22
22
  *
23
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index#name DocumentIndex#name}
23
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index#name DocumentIndex#name}
24
24
  */
25
25
  readonly name: string;
26
26
  /**
@@ -29,12 +29,12 @@ export interface DocumentIndexConfig extends cdktf.TerraformMetaArguments {
29
29
  * * `ACTIVE` - Active
30
30
  * * `ARCHIVED` - Archived
31
31
  *
32
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index#status DocumentIndex#status}
32
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index#status DocumentIndex#status}
33
33
  */
34
34
  readonly status?: string;
35
35
  }
36
36
  /**
37
- * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index vellum_document_index}
37
+ * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index vellum_document_index}
38
38
  */
39
39
  export declare class DocumentIndex extends cdktf.TerraformResource {
40
40
  static readonly tfResourceType = "vellum_document_index";
@@ -42,12 +42,12 @@ export declare class DocumentIndex extends cdktf.TerraformResource {
42
42
  * Generates CDKTF code for importing a DocumentIndex resource upon running "cdktf plan <stack-name>"
43
43
  * @param scope The scope in which to define this construct
44
44
  * @param importToId The construct id used in the generated config for the DocumentIndex to import
45
- * @param importFromId The id of the existing DocumentIndex that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index#import import section} in the documentation of this resource for the id to use
45
+ * @param importFromId The id of the existing DocumentIndex that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index#import import section} in the documentation of this resource for the id to use
46
46
  * @param provider? Optional instance of the provider where the DocumentIndex to import is found
47
47
  */
48
48
  static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
49
49
  /**
50
- * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index vellum_document_index} Resource
50
+ * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index vellum_document_index} Resource
51
51
  *
52
52
  * @param scope The scope in which to define this construct
53
53
  * @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/resources/document_index
2
+ // https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/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.DocumentIndex = 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/resources/document_index vellum_document_index}
31
+ * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index vellum_document_index}
32
32
  */
33
33
  class DocumentIndex extends cdktf.TerraformResource {
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/resources/document_index vellum_document_index} Resource
38
+ * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index vellum_document_index} Resource
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 DocumentIndex extends cdktf.TerraformResource {
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,
@@ -68,7 +68,7 @@ class DocumentIndex extends cdktf.TerraformResource {
68
68
  * Generates CDKTF code for importing a DocumentIndex resource upon running "cdktf plan <stack-name>"
69
69
  * @param scope The scope in which to define this construct
70
70
  * @param importToId The construct id used in the generated config for the DocumentIndex to import
71
- * @param importFromId The id of the existing DocumentIndex that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs/resources/document_index#import import section} in the documentation of this resource for the id to use
71
+ * @param importFromId The id of the existing DocumentIndex that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/document_index#import import section} in the documentation of this resource for the id to use
72
72
  * @param provider? Optional instance of the provider where the DocumentIndex to import is found
73
73
  */
74
74
  static generateConfigForImport(scope, importToId, importFromId, provider) {
@@ -1,3 +1,5 @@
1
1
  export * as documentIndex from './document-index';
2
+ export * as mlModel from './ml-model';
2
3
  export * as dataVellumDocumentIndex from './data-vellum-document-index';
4
+ export * as dataVellumMlModel from './data-vellum-ml-model';
3
5
  export * as provider from './provider';
@@ -23,8 +23,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.provider = exports.dataVellumDocumentIndex = exports.documentIndex = void 0;
26
+ exports.provider = exports.dataVellumMlModel = exports.dataVellumDocumentIndex = exports.mlModel = exports.documentIndex = void 0;
27
27
  // generated by cdktf get
28
28
  exports.documentIndex = __importStar(require("./document-index"));
29
+ exports.mlModel = __importStar(require("./ml-model"));
29
30
  exports.dataVellumDocumentIndex = __importStar(require("./data-vellum-document-index"));
31
+ exports.dataVellumMlModel = __importStar(require("./data-vellum-ml-model"));
30
32
  exports.provider = __importStar(require("./provider"));
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  // generated by cdktf get
3
3
  Object.defineProperty(exports, 'documentIndex', { get: function () { return require('./document-index'); } });
4
+ Object.defineProperty(exports, 'mlModel', { get: function () { return require('./ml-model'); } });
4
5
  Object.defineProperty(exports, 'dataVellumDocumentIndex', { get: function () { return require('./data-vellum-document-index'); } });
6
+ Object.defineProperty(exports, 'dataVellumMlModel', { get: function () { return require('./data-vellum-ml-model'); } });
5
7
  Object.defineProperty(exports, 'provider', { get: function () { return require('./provider'); } });