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
@@ -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,