vellum-ai 0.7.8 → 0.7.9

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 (49) 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/sandboxes/client/Client.js +3 -3
  8. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  9. package/api/resources/testSuites/client/Client.js +4 -4
  10. package/api/resources/workflowDeployments/client/Client.js +4 -4
  11. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  12. package/dist/Client.js +9 -9
  13. package/dist/api/resources/deployments/client/Client.js +5 -5
  14. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  15. package/dist/api/resources/documents/client/Client.js +5 -5
  16. package/dist/api/resources/folderEntities/client/Client.js +1 -1
  17. package/dist/api/resources/mlModels/client/Client.js +5 -5
  18. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  19. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  20. package/dist/api/resources/testSuites/client/Client.js +4 -4
  21. package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
  22. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  23. package/dist/terraform/data-vellum-document-index/index.d.ts +5 -5
  24. package/dist/terraform/data-vellum-document-index/index.js +5 -5
  25. package/dist/terraform/data-vellum-ml-model/index.d.ts +61 -0
  26. package/dist/terraform/data-vellum-ml-model/index.js +152 -0
  27. package/dist/terraform/document-index/index.d.ts +8 -8
  28. package/dist/terraform/document-index/index.js +5 -5
  29. package/dist/terraform/index.d.ts +2 -0
  30. package/dist/terraform/index.js +3 -1
  31. package/dist/terraform/lazy-index.js +2 -0
  32. package/dist/terraform/ml-model/index.d.ts +148 -0
  33. package/dist/terraform/ml-model/index.js +354 -0
  34. package/dist/terraform/provider/index.d.ts +16 -5
  35. package/dist/terraform/provider/index.js +26 -5
  36. package/package.json +1 -1
  37. package/terraform/data-vellum-document-index/index.d.ts +5 -5
  38. package/terraform/data-vellum-document-index/index.js +5 -5
  39. package/terraform/data-vellum-ml-model/index.d.ts +61 -0
  40. package/terraform/data-vellum-ml-model/index.js +152 -0
  41. package/terraform/document-index/index.d.ts +8 -8
  42. package/terraform/document-index/index.js +5 -5
  43. package/terraform/index.d.ts +2 -0
  44. package/terraform/index.js +3 -1
  45. package/terraform/lazy-index.js +2 -0
  46. package/terraform/ml-model/index.d.ts +148 -0
  47. package/terraform/ml-model/index.js +354 -0
  48. package/terraform/provider/index.d.ts +16 -5
  49. package/terraform/provider/index.js +26 -5
@@ -0,0 +1,354 @@
1
+ "use strict";
2
+ // https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/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.MlModel = exports.MlModelExecConfigOutputReference = exports.mlModelExecConfigToHclTerraform = exports.mlModelExecConfigToTerraform = void 0;
29
+ const cdktf = __importStar(require("cdktf"));
30
+ function mlModelExecConfigToTerraform(struct) {
31
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
32
+ return struct;
33
+ }
34
+ if (cdktf.isComplexElement(struct)) {
35
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
36
+ }
37
+ return {
38
+ base_url: cdktf.stringToTerraform(struct.baseUrl),
39
+ features: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.features),
40
+ metadata: cdktf.hashMapper(cdktf.stringToTerraform)(struct.metadata),
41
+ model_identifier: cdktf.stringToTerraform(struct.modelIdentifier),
42
+ };
43
+ }
44
+ exports.mlModelExecConfigToTerraform = mlModelExecConfigToTerraform;
45
+ function mlModelExecConfigToHclTerraform(struct) {
46
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
47
+ return struct;
48
+ }
49
+ if (cdktf.isComplexElement(struct)) {
50
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
51
+ }
52
+ const attrs = {
53
+ base_url: {
54
+ value: cdktf.stringToHclTerraform(struct.baseUrl),
55
+ isBlock: false,
56
+ type: "simple",
57
+ storageClassType: "string",
58
+ },
59
+ features: {
60
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.features),
61
+ isBlock: false,
62
+ type: "list",
63
+ storageClassType: "stringList",
64
+ },
65
+ metadata: {
66
+ value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(struct.metadata),
67
+ isBlock: false,
68
+ type: "map",
69
+ storageClassType: "stringMap",
70
+ },
71
+ model_identifier: {
72
+ value: cdktf.stringToHclTerraform(struct.modelIdentifier),
73
+ isBlock: false,
74
+ type: "simple",
75
+ storageClassType: "string",
76
+ },
77
+ };
78
+ // remove undefined attributes
79
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
80
+ }
81
+ exports.mlModelExecConfigToHclTerraform = mlModelExecConfigToHclTerraform;
82
+ class MlModelExecConfigOutputReference extends cdktf.ComplexObject {
83
+ /**
84
+ * @param terraformResource The parent resource
85
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
86
+ */
87
+ constructor(terraformResource, terraformAttribute) {
88
+ super(terraformResource, terraformAttribute, false);
89
+ this.isEmptyObject = false;
90
+ }
91
+ get internalValue() {
92
+ if (this.resolvableValue) {
93
+ return this.resolvableValue;
94
+ }
95
+ let hasAnyValues = this.isEmptyObject;
96
+ const internalValueResult = {};
97
+ if (this._baseUrl !== undefined) {
98
+ hasAnyValues = true;
99
+ internalValueResult.baseUrl = this._baseUrl;
100
+ }
101
+ if (this._features !== undefined) {
102
+ hasAnyValues = true;
103
+ internalValueResult.features = this._features;
104
+ }
105
+ if (this._metadata !== undefined) {
106
+ hasAnyValues = true;
107
+ internalValueResult.metadata = this._metadata;
108
+ }
109
+ if (this._modelIdentifier !== undefined) {
110
+ hasAnyValues = true;
111
+ internalValueResult.modelIdentifier = this._modelIdentifier;
112
+ }
113
+ return hasAnyValues ? internalValueResult : undefined;
114
+ }
115
+ set internalValue(value) {
116
+ if (value === undefined) {
117
+ this.isEmptyObject = false;
118
+ this.resolvableValue = undefined;
119
+ this._baseUrl = undefined;
120
+ this._features = undefined;
121
+ this._metadata = undefined;
122
+ this._modelIdentifier = undefined;
123
+ }
124
+ else if (cdktf.Tokenization.isResolvable(value)) {
125
+ this.isEmptyObject = false;
126
+ this.resolvableValue = value;
127
+ }
128
+ else {
129
+ this.isEmptyObject = Object.keys(value).length === 0;
130
+ this.resolvableValue = undefined;
131
+ this._baseUrl = value.baseUrl;
132
+ this._features = value.features;
133
+ this._metadata = value.metadata;
134
+ this._modelIdentifier = value.modelIdentifier;
135
+ }
136
+ }
137
+ get baseUrl() {
138
+ return this.getStringAttribute('base_url');
139
+ }
140
+ set baseUrl(value) {
141
+ this._baseUrl = value;
142
+ }
143
+ // Temporarily expose input value. Use with caution.
144
+ get baseUrlInput() {
145
+ return this._baseUrl;
146
+ }
147
+ get features() {
148
+ return this.getListAttribute('features');
149
+ }
150
+ set features(value) {
151
+ this._features = value;
152
+ }
153
+ // Temporarily expose input value. Use with caution.
154
+ get featuresInput() {
155
+ return this._features;
156
+ }
157
+ get metadata() {
158
+ return this.getStringMapAttribute('metadata');
159
+ }
160
+ set metadata(value) {
161
+ this._metadata = value;
162
+ }
163
+ // Temporarily expose input value. Use with caution.
164
+ get metadataInput() {
165
+ return this._metadata;
166
+ }
167
+ get modelIdentifier() {
168
+ return this.getStringAttribute('model_identifier');
169
+ }
170
+ set modelIdentifier(value) {
171
+ this._modelIdentifier = value;
172
+ }
173
+ // Temporarily expose input value. Use with caution.
174
+ get modelIdentifierInput() {
175
+ return this._modelIdentifier;
176
+ }
177
+ }
178
+ exports.MlModelExecConfigOutputReference = MlModelExecConfigOutputReference;
179
+ /**
180
+ * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model vellum_ml_model}
181
+ */
182
+ class MlModel extends cdktf.TerraformResource {
183
+ // ===========
184
+ // INITIALIZER
185
+ // ===========
186
+ /**
187
+ * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model vellum_ml_model} Resource
188
+ *
189
+ * @param scope The scope in which to define this construct
190
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
191
+ * @param options MlModelConfig
192
+ */
193
+ constructor(scope, id, config) {
194
+ super(scope, id, {
195
+ terraformResourceType: 'vellum_ml_model',
196
+ terraformGeneratorMetadata: {
197
+ providerName: 'vellum',
198
+ providerVersion: '0.0.7'
199
+ },
200
+ provider: config.provider,
201
+ dependsOn: config.dependsOn,
202
+ count: config.count,
203
+ lifecycle: config.lifecycle,
204
+ provisioners: config.provisioners,
205
+ connection: config.connection,
206
+ forEach: config.forEach
207
+ });
208
+ // exec_config - computed: false, optional: false, required: true
209
+ this._execConfig = new MlModelExecConfigOutputReference(this, "exec_config");
210
+ this._developedBy = config.developedBy;
211
+ this._execConfig.internalValue = config.execConfig;
212
+ this._family = config.family;
213
+ this._hostedBy = config.hostedBy;
214
+ this._name = config.name;
215
+ this._visibility = config.visibility;
216
+ }
217
+ // ==============
218
+ // STATIC Methods
219
+ // ==============
220
+ /**
221
+ * Generates CDKTF code for importing a MlModel resource upon running "cdktf plan <stack-name>"
222
+ * @param scope The scope in which to define this construct
223
+ * @param importToId The construct id used in the generated config for the MlModel to import
224
+ * @param importFromId The id of the existing MlModel that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/resources/ml_model#import import section} in the documentation of this resource for the id to use
225
+ * @param provider? Optional instance of the provider where the MlModel to import is found
226
+ */
227
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
228
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "vellum_ml_model", importId: importFromId, provider });
229
+ }
230
+ get developedBy() {
231
+ return this.getStringAttribute('developed_by');
232
+ }
233
+ set developedBy(value) {
234
+ this._developedBy = value;
235
+ }
236
+ // Temporarily expose input value. Use with caution.
237
+ get developedByInput() {
238
+ return this._developedBy;
239
+ }
240
+ get execConfig() {
241
+ return this._execConfig;
242
+ }
243
+ putExecConfig(value) {
244
+ this._execConfig.internalValue = value;
245
+ }
246
+ // Temporarily expose input value. Use with caution.
247
+ get execConfigInput() {
248
+ return this._execConfig.internalValue;
249
+ }
250
+ get family() {
251
+ return this.getStringAttribute('family');
252
+ }
253
+ set family(value) {
254
+ this._family = value;
255
+ }
256
+ // Temporarily expose input value. Use with caution.
257
+ get familyInput() {
258
+ return this._family;
259
+ }
260
+ get hostedBy() {
261
+ return this.getStringAttribute('hosted_by');
262
+ }
263
+ set hostedBy(value) {
264
+ this._hostedBy = value;
265
+ }
266
+ // Temporarily expose input value. Use with caution.
267
+ get hostedByInput() {
268
+ return this._hostedBy;
269
+ }
270
+ // id - computed: true, optional: false, required: false
271
+ get id() {
272
+ return this.getStringAttribute('id');
273
+ }
274
+ get name() {
275
+ return this.getStringAttribute('name');
276
+ }
277
+ set name(value) {
278
+ this._name = value;
279
+ }
280
+ // Temporarily expose input value. Use with caution.
281
+ get nameInput() {
282
+ return this._name;
283
+ }
284
+ get visibility() {
285
+ return this.getStringAttribute('visibility');
286
+ }
287
+ set visibility(value) {
288
+ this._visibility = value;
289
+ }
290
+ // Temporarily expose input value. Use with caution.
291
+ get visibilityInput() {
292
+ return this._visibility;
293
+ }
294
+ // =========
295
+ // SYNTHESIS
296
+ // =========
297
+ synthesizeAttributes() {
298
+ return {
299
+ developed_by: cdktf.stringToTerraform(this._developedBy),
300
+ exec_config: mlModelExecConfigToTerraform(this._execConfig.internalValue),
301
+ family: cdktf.stringToTerraform(this._family),
302
+ hosted_by: cdktf.stringToTerraform(this._hostedBy),
303
+ name: cdktf.stringToTerraform(this._name),
304
+ visibility: cdktf.stringToTerraform(this._visibility),
305
+ };
306
+ }
307
+ synthesizeHclAttributes() {
308
+ const attrs = {
309
+ developed_by: {
310
+ value: cdktf.stringToHclTerraform(this._developedBy),
311
+ isBlock: false,
312
+ type: "simple",
313
+ storageClassType: "string",
314
+ },
315
+ exec_config: {
316
+ value: mlModelExecConfigToHclTerraform(this._execConfig.internalValue),
317
+ isBlock: true,
318
+ type: "struct",
319
+ storageClassType: "MlModelExecConfig",
320
+ },
321
+ family: {
322
+ value: cdktf.stringToHclTerraform(this._family),
323
+ isBlock: false,
324
+ type: "simple",
325
+ storageClassType: "string",
326
+ },
327
+ hosted_by: {
328
+ value: cdktf.stringToHclTerraform(this._hostedBy),
329
+ isBlock: false,
330
+ type: "simple",
331
+ storageClassType: "string",
332
+ },
333
+ name: {
334
+ value: cdktf.stringToHclTerraform(this._name),
335
+ isBlock: false,
336
+ type: "simple",
337
+ storageClassType: "string",
338
+ },
339
+ visibility: {
340
+ value: cdktf.stringToHclTerraform(this._visibility),
341
+ isBlock: false,
342
+ type: "simple",
343
+ storageClassType: "string",
344
+ },
345
+ };
346
+ // remove undefined attributes
347
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
348
+ }
349
+ }
350
+ exports.MlModel = MlModel;
351
+ // =================
352
+ // STATIC PROPERTIES
353
+ // =================
354
+ MlModel.tfResourceType = "vellum_ml_model";
@@ -4,18 +4,24 @@ export interface VellumProviderConfig {
4
4
  /**
5
5
  * API Key to authenticate with the Vellum API
6
6
  *
7
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs#api_key VellumProvider#api_key}
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs#api_key VellumProvider#api_key}
8
8
  */
9
9
  readonly apiKey?: string;
10
10
  /**
11
+ * Base URL to use with the Vellum API
12
+ *
13
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs#base_url VellumProvider#base_url}
14
+ */
15
+ readonly baseUrl?: string;
16
+ /**
11
17
  * Alias name
12
18
  *
13
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs#alias VellumProvider#alias}
19
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs#alias VellumProvider#alias}
14
20
  */
15
21
  readonly alias?: string;
16
22
  }
17
23
  /**
18
- * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs vellum}
24
+ * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs vellum}
19
25
  */
20
26
  export declare class VellumProvider extends cdktf.TerraformProvider {
21
27
  static readonly tfResourceType = "vellum";
@@ -23,12 +29,12 @@ export declare class VellumProvider extends cdktf.TerraformProvider {
23
29
  * Generates CDKTF code for importing a VellumProvider resource upon running "cdktf plan <stack-name>"
24
30
  * @param scope The scope in which to define this construct
25
31
  * @param importToId The construct id used in the generated config for the VellumProvider to import
26
- * @param importFromId The id of the existing VellumProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs#import import section} in the documentation of this resource for the id to use
32
+ * @param importFromId The id of the existing VellumProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs#import import section} in the documentation of this resource for the id to use
27
33
  * @param provider? Optional instance of the provider where the VellumProvider to import is found
28
34
  */
29
35
  static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
30
36
  /**
31
- * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs vellum} Resource
37
+ * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs vellum} Resource
32
38
  *
33
39
  * @param scope The scope in which to define this construct
34
40
  * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
@@ -40,6 +46,11 @@ export declare class VellumProvider extends cdktf.TerraformProvider {
40
46
  set apiKey(value: string | undefined);
41
47
  resetApiKey(): void;
42
48
  get apiKeyInput(): string | undefined;
49
+ private _baseUrl?;
50
+ get baseUrl(): string | undefined;
51
+ set baseUrl(value: string | undefined);
52
+ resetBaseUrl(): void;
53
+ get baseUrlInput(): string | undefined;
43
54
  private _alias?;
44
55
  get alias(): string | undefined;
45
56
  set alias(value: string | undefined);
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs
2
+ // https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs
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.VellumProvider = 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 vellum}
31
+ * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs vellum}
32
32
  */
33
33
  class VellumProvider extends cdktf.TerraformProvider {
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 vellum} Resource
38
+ * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs vellum} 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,11 +46,12 @@ class VellumProvider extends cdktf.TerraformProvider {
46
46
  terraformResourceType: 'vellum',
47
47
  terraformGeneratorMetadata: {
48
48
  providerName: 'vellum',
49
- providerVersion: '0.0.2'
49
+ providerVersion: '0.0.7'
50
50
  },
51
51
  terraformProviderSource: 'vellum-ai/vellum'
52
52
  });
53
53
  this._apiKey = config.apiKey;
54
+ this._baseUrl = config.baseUrl;
54
55
  this._alias = config.alias;
55
56
  }
56
57
  // ==============
@@ -60,7 +61,7 @@ class VellumProvider extends cdktf.TerraformProvider {
60
61
  * Generates CDKTF code for importing a VellumProvider resource upon running "cdktf plan <stack-name>"
61
62
  * @param scope The scope in which to define this construct
62
63
  * @param importToId The construct id used in the generated config for the VellumProvider to import
63
- * @param importFromId The id of the existing VellumProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.2/docs#import import section} in the documentation of this resource for the id to use
64
+ * @param importFromId The id of the existing VellumProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs#import import section} in the documentation of this resource for the id to use
64
65
  * @param provider? Optional instance of the provider where the VellumProvider to import is found
65
66
  */
66
67
  static generateConfigForImport(scope, importToId, importFromId, provider) {
@@ -79,6 +80,19 @@ class VellumProvider extends cdktf.TerraformProvider {
79
80
  get apiKeyInput() {
80
81
  return this._apiKey;
81
82
  }
83
+ get baseUrl() {
84
+ return this._baseUrl;
85
+ }
86
+ set baseUrl(value) {
87
+ this._baseUrl = value;
88
+ }
89
+ resetBaseUrl() {
90
+ this._baseUrl = undefined;
91
+ }
92
+ // Temporarily expose input value. Use with caution.
93
+ get baseUrlInput() {
94
+ return this._baseUrl;
95
+ }
82
96
  get alias() {
83
97
  return this._alias;
84
98
  }
@@ -98,6 +112,7 @@ class VellumProvider extends cdktf.TerraformProvider {
98
112
  synthesizeAttributes() {
99
113
  return {
100
114
  api_key: cdktf.stringToTerraform(this._apiKey),
115
+ base_url: cdktf.stringToTerraform(this._baseUrl),
101
116
  alias: cdktf.stringToTerraform(this._alias),
102
117
  };
103
118
  }
@@ -109,6 +124,12 @@ class VellumProvider extends cdktf.TerraformProvider {
109
124
  type: "simple",
110
125
  storageClassType: "string",
111
126
  },
127
+ base_url: {
128
+ value: cdktf.stringToHclTerraform(this._baseUrl),
129
+ isBlock: false,
130
+ type: "simple",
131
+ storageClassType: "string",
132
+ },
112
133
  alias: {
113
134
  value: cdktf.stringToHclTerraform(this._alias),
114
135
  isBlock: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "0.7.8",
3
+ "version": "0.7.9",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",
@@ -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
+ }