vellum-ai 1.2.4 → 1.3.0

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 (382) hide show
  1. package/Client.js +11 -11
  2. package/api/resources/adHoc/client/Client.js +2 -2
  3. package/api/resources/containerImages/client/Client.js +4 -4
  4. package/api/resources/deployments/client/Client.js +8 -8
  5. package/api/resources/documentIndexes/client/Client.js +8 -8
  6. package/api/resources/documents/client/Client.js +5 -5
  7. package/api/resources/events/client/Client.js +1 -1
  8. package/api/resources/folderEntities/client/Client.js +2 -2
  9. package/api/resources/metricDefinitions/client/Client.js +2 -2
  10. package/api/resources/mlModels/client/Client.js +1 -1
  11. package/api/resources/organizations/client/Client.js +1 -1
  12. package/api/resources/prompts/client/Client.js +2 -2
  13. package/api/resources/sandboxes/client/Client.js +3 -3
  14. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  15. package/api/resources/testSuites/client/Client.js +4 -4
  16. package/api/resources/workflowDeployments/client/Client.js +9 -9
  17. package/api/resources/workflowExecutions/client/Client.js +1 -1
  18. package/api/resources/workflowSandboxes/client/Client.d.ts +2 -3
  19. package/api/resources/workflowSandboxes/client/Client.js +9 -10
  20. package/api/resources/workflows/client/Client.js +9 -3
  21. package/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +8 -0
  22. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  23. package/api/resources/workspaces/client/Client.js +1 -1
  24. package/api/types/AudioInput.d.ts +13 -0
  25. package/api/types/AudioInput.js +5 -0
  26. package/api/types/CodeExecutorInput.d.ts +1 -1
  27. package/api/types/DeploymentRead.d.ts +4 -7
  28. package/api/types/DocumentInput.d.ts +13 -0
  29. package/api/types/DocumentInput.js +5 -0
  30. package/api/types/EnvironmentEnum.d.ts +0 -5
  31. package/api/types/ImageInput.d.ts +13 -0
  32. package/api/types/ImageInput.js +5 -0
  33. package/api/types/NamedScenarioInputAudioVariableValueRequest.d.ts +9 -0
  34. package/api/types/NamedScenarioInputAudioVariableValueRequest.js +5 -0
  35. package/api/types/NamedScenarioInputDocumentVariableValueRequest.d.ts +9 -0
  36. package/api/types/NamedScenarioInputDocumentVariableValueRequest.js +5 -0
  37. package/api/types/NamedScenarioInputImageVariableValueRequest.d.ts +9 -0
  38. package/api/types/NamedScenarioInputImageVariableValueRequest.js +5 -0
  39. package/api/types/NamedScenarioInputRequest.d.ts +1 -1
  40. package/api/types/NamedScenarioInputVideoVariableValueRequest.d.ts +9 -0
  41. package/api/types/NamedScenarioInputVideoVariableValueRequest.js +5 -0
  42. package/api/types/NamedTestCaseAudioVariableValue.d.ts +12 -0
  43. package/api/types/NamedTestCaseAudioVariableValue.js +5 -0
  44. package/api/types/NamedTestCaseAudioVariableValueRequest.d.ts +12 -0
  45. package/api/types/NamedTestCaseAudioVariableValueRequest.js +5 -0
  46. package/api/types/NamedTestCaseDocumentVariableValue.d.ts +9 -0
  47. package/api/types/NamedTestCaseDocumentVariableValue.js +5 -0
  48. package/api/types/NamedTestCaseDocumentVariableValueRequest.d.ts +9 -0
  49. package/api/types/NamedTestCaseDocumentVariableValueRequest.js +5 -0
  50. package/api/types/NamedTestCaseImageVariableValue.d.ts +9 -0
  51. package/api/types/NamedTestCaseImageVariableValue.js +5 -0
  52. package/api/types/NamedTestCaseImageVariableValueRequest.d.ts +9 -0
  53. package/api/types/NamedTestCaseImageVariableValueRequest.js +5 -0
  54. package/api/types/NamedTestCaseVariableValue.d.ts +1 -1
  55. package/api/types/NamedTestCaseVariableValueRequest.d.ts +1 -1
  56. package/api/types/NamedTestCaseVideoVariableValue.d.ts +9 -0
  57. package/api/types/NamedTestCaseVideoVariableValue.js +5 -0
  58. package/api/types/NamedTestCaseVideoVariableValueRequest.d.ts +9 -0
  59. package/api/types/NamedTestCaseVideoVariableValueRequest.js +5 -0
  60. package/api/types/NodeExecutionSpanAttributes.d.ts +1 -0
  61. package/api/types/ScenarioInput.d.ts +1 -1
  62. package/api/types/ScenarioInputAudioVariableValue.d.ts +9 -0
  63. package/api/types/ScenarioInputAudioVariableValue.js +5 -0
  64. package/api/types/ScenarioInputDocumentVariableValue.d.ts +9 -0
  65. package/api/types/ScenarioInputDocumentVariableValue.js +5 -0
  66. package/api/types/ScenarioInputImageVariableValue.d.ts +9 -0
  67. package/api/types/ScenarioInputImageVariableValue.js +5 -0
  68. package/api/types/ScenarioInputVideoVariableValue.d.ts +9 -0
  69. package/api/types/ScenarioInputVideoVariableValue.js +5 -0
  70. package/api/types/SlimDeploymentRead.d.ts +4 -7
  71. package/api/types/SlimWorkflowDeployment.d.ts +4 -7
  72. package/api/types/SpanLinkTypeEnum.d.ts +8 -1
  73. package/api/types/SpanLinkTypeEnum.js +6 -0
  74. package/api/types/TestCaseAudioVariableValue.d.ts +13 -0
  75. package/api/types/TestCaseAudioVariableValue.js +5 -0
  76. package/api/types/TestCaseDocumentVariableValue.d.ts +13 -0
  77. package/api/types/TestCaseDocumentVariableValue.js +5 -0
  78. package/api/types/TestCaseImageVariableValue.d.ts +13 -0
  79. package/api/types/TestCaseImageVariableValue.js +5 -0
  80. package/api/types/TestCaseVariableValue.d.ts +1 -1
  81. package/api/types/TestCaseVideoVariableValue.d.ts +13 -0
  82. package/api/types/TestCaseVideoVariableValue.js +5 -0
  83. package/api/types/VideoInput.d.ts +13 -0
  84. package/api/types/VideoInput.js +5 -0
  85. package/api/types/WorkflowDeploymentRead.d.ts +4 -7
  86. package/api/types/WorkflowPushDeploymentConfigRequest.d.ts +1 -0
  87. package/api/types/WorkflowRequestAudioInputRequest.d.ts +13 -0
  88. package/api/types/WorkflowRequestAudioInputRequest.js +5 -0
  89. package/api/types/WorkflowRequestDocumentInputRequest.d.ts +13 -0
  90. package/api/types/WorkflowRequestDocumentInputRequest.js +5 -0
  91. package/api/types/WorkflowRequestImageInputRequest.d.ts +13 -0
  92. package/api/types/WorkflowRequestImageInputRequest.js +5 -0
  93. package/api/types/WorkflowRequestInputRequest.d.ts +1 -1
  94. package/api/types/WorkflowRequestVideoInputRequest.d.ts +13 -0
  95. package/api/types/WorkflowRequestVideoInputRequest.js +5 -0
  96. package/api/types/index.d.ts +28 -0
  97. package/api/types/index.js +28 -0
  98. package/dist/Client.js +11 -11
  99. package/dist/api/resources/adHoc/client/Client.js +2 -2
  100. package/dist/api/resources/containerImages/client/Client.js +4 -4
  101. package/dist/api/resources/deployments/client/Client.js +8 -8
  102. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  103. package/dist/api/resources/documents/client/Client.js +5 -5
  104. package/dist/api/resources/events/client/Client.js +1 -1
  105. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  106. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  107. package/dist/api/resources/mlModels/client/Client.js +1 -1
  108. package/dist/api/resources/organizations/client/Client.js +1 -1
  109. package/dist/api/resources/prompts/client/Client.js +2 -2
  110. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  111. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  112. package/dist/api/resources/testSuites/client/Client.js +4 -4
  113. package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
  114. package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
  115. package/dist/api/resources/workflowSandboxes/client/Client.d.ts +2 -3
  116. package/dist/api/resources/workflowSandboxes/client/Client.js +9 -10
  117. package/dist/api/resources/workflows/client/Client.js +9 -3
  118. package/dist/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +8 -0
  119. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  120. package/dist/api/resources/workspaces/client/Client.js +1 -1
  121. package/dist/api/types/AudioInput.d.ts +13 -0
  122. package/dist/api/types/AudioInput.js +5 -0
  123. package/dist/api/types/CodeExecutorInput.d.ts +1 -1
  124. package/dist/api/types/DeploymentRead.d.ts +4 -7
  125. package/dist/api/types/DocumentInput.d.ts +13 -0
  126. package/dist/api/types/DocumentInput.js +5 -0
  127. package/dist/api/types/EnvironmentEnum.d.ts +0 -5
  128. package/dist/api/types/ImageInput.d.ts +13 -0
  129. package/dist/api/types/ImageInput.js +5 -0
  130. package/dist/api/types/NamedScenarioInputAudioVariableValueRequest.d.ts +9 -0
  131. package/dist/api/types/NamedScenarioInputAudioVariableValueRequest.js +5 -0
  132. package/dist/api/types/NamedScenarioInputDocumentVariableValueRequest.d.ts +9 -0
  133. package/dist/api/types/NamedScenarioInputDocumentVariableValueRequest.js +5 -0
  134. package/dist/api/types/NamedScenarioInputImageVariableValueRequest.d.ts +9 -0
  135. package/dist/api/types/NamedScenarioInputImageVariableValueRequest.js +5 -0
  136. package/dist/api/types/NamedScenarioInputRequest.d.ts +1 -1
  137. package/dist/api/types/NamedScenarioInputVideoVariableValueRequest.d.ts +9 -0
  138. package/dist/api/types/NamedScenarioInputVideoVariableValueRequest.js +5 -0
  139. package/dist/api/types/NamedTestCaseAudioVariableValue.d.ts +12 -0
  140. package/dist/api/types/NamedTestCaseAudioVariableValue.js +5 -0
  141. package/dist/api/types/NamedTestCaseAudioVariableValueRequest.d.ts +12 -0
  142. package/dist/api/types/NamedTestCaseAudioVariableValueRequest.js +5 -0
  143. package/dist/api/types/NamedTestCaseDocumentVariableValue.d.ts +9 -0
  144. package/dist/api/types/NamedTestCaseDocumentVariableValue.js +5 -0
  145. package/dist/api/types/NamedTestCaseDocumentVariableValueRequest.d.ts +9 -0
  146. package/dist/api/types/NamedTestCaseDocumentVariableValueRequest.js +5 -0
  147. package/dist/api/types/NamedTestCaseImageVariableValue.d.ts +9 -0
  148. package/dist/api/types/NamedTestCaseImageVariableValue.js +5 -0
  149. package/dist/api/types/NamedTestCaseImageVariableValueRequest.d.ts +9 -0
  150. package/dist/api/types/NamedTestCaseImageVariableValueRequest.js +5 -0
  151. package/dist/api/types/NamedTestCaseVariableValue.d.ts +1 -1
  152. package/dist/api/types/NamedTestCaseVariableValueRequest.d.ts +1 -1
  153. package/dist/api/types/NamedTestCaseVideoVariableValue.d.ts +9 -0
  154. package/dist/api/types/NamedTestCaseVideoVariableValue.js +5 -0
  155. package/dist/api/types/NamedTestCaseVideoVariableValueRequest.d.ts +9 -0
  156. package/dist/api/types/NamedTestCaseVideoVariableValueRequest.js +5 -0
  157. package/dist/api/types/NodeExecutionSpanAttributes.d.ts +1 -0
  158. package/dist/api/types/ScenarioInput.d.ts +1 -1
  159. package/dist/api/types/ScenarioInputAudioVariableValue.d.ts +9 -0
  160. package/dist/api/types/ScenarioInputAudioVariableValue.js +5 -0
  161. package/dist/api/types/ScenarioInputDocumentVariableValue.d.ts +9 -0
  162. package/dist/api/types/ScenarioInputDocumentVariableValue.js +5 -0
  163. package/dist/api/types/ScenarioInputImageVariableValue.d.ts +9 -0
  164. package/dist/api/types/ScenarioInputImageVariableValue.js +5 -0
  165. package/dist/api/types/ScenarioInputVideoVariableValue.d.ts +9 -0
  166. package/dist/api/types/ScenarioInputVideoVariableValue.js +5 -0
  167. package/dist/api/types/SlimDeploymentRead.d.ts +4 -7
  168. package/dist/api/types/SlimWorkflowDeployment.d.ts +4 -7
  169. package/dist/api/types/SpanLinkTypeEnum.d.ts +8 -1
  170. package/dist/api/types/SpanLinkTypeEnum.js +6 -0
  171. package/dist/api/types/TestCaseAudioVariableValue.d.ts +13 -0
  172. package/dist/api/types/TestCaseAudioVariableValue.js +5 -0
  173. package/dist/api/types/TestCaseDocumentVariableValue.d.ts +13 -0
  174. package/dist/api/types/TestCaseDocumentVariableValue.js +5 -0
  175. package/dist/api/types/TestCaseImageVariableValue.d.ts +13 -0
  176. package/dist/api/types/TestCaseImageVariableValue.js +5 -0
  177. package/dist/api/types/TestCaseVariableValue.d.ts +1 -1
  178. package/dist/api/types/TestCaseVideoVariableValue.d.ts +13 -0
  179. package/dist/api/types/TestCaseVideoVariableValue.js +5 -0
  180. package/dist/api/types/VideoInput.d.ts +13 -0
  181. package/dist/api/types/VideoInput.js +5 -0
  182. package/dist/api/types/WorkflowDeploymentRead.d.ts +4 -7
  183. package/dist/api/types/WorkflowPushDeploymentConfigRequest.d.ts +1 -0
  184. package/dist/api/types/WorkflowRequestAudioInputRequest.d.ts +13 -0
  185. package/dist/api/types/WorkflowRequestAudioInputRequest.js +5 -0
  186. package/dist/api/types/WorkflowRequestDocumentInputRequest.d.ts +13 -0
  187. package/dist/api/types/WorkflowRequestDocumentInputRequest.js +5 -0
  188. package/dist/api/types/WorkflowRequestImageInputRequest.d.ts +13 -0
  189. package/dist/api/types/WorkflowRequestImageInputRequest.js +5 -0
  190. package/dist/api/types/WorkflowRequestInputRequest.d.ts +1 -1
  191. package/dist/api/types/WorkflowRequestVideoInputRequest.d.ts +13 -0
  192. package/dist/api/types/WorkflowRequestVideoInputRequest.js +5 -0
  193. package/dist/api/types/index.d.ts +28 -0
  194. package/dist/api/types/index.js +28 -0
  195. package/dist/serialization/types/AudioInput.d.ts +15 -0
  196. package/dist/{terraform/index.js → serialization/types/AudioInput.js} +11 -7
  197. package/dist/serialization/types/CodeExecutorInput.d.ts +5 -1
  198. package/dist/serialization/types/CodeExecutorInput.js +8 -0
  199. package/dist/serialization/types/DocumentInput.d.ts +15 -0
  200. package/{terraform/index.js → dist/serialization/types/DocumentInput.js} +11 -7
  201. package/dist/serialization/types/ImageInput.d.ts +15 -0
  202. package/dist/serialization/types/ImageInput.js +46 -0
  203. package/dist/serialization/types/NamedScenarioInputAudioVariableValueRequest.d.ts +15 -0
  204. package/dist/serialization/types/NamedScenarioInputAudioVariableValueRequest.js +46 -0
  205. package/dist/serialization/types/NamedScenarioInputDocumentVariableValueRequest.d.ts +15 -0
  206. package/dist/serialization/types/NamedScenarioInputDocumentVariableValueRequest.js +46 -0
  207. package/dist/serialization/types/NamedScenarioInputImageVariableValueRequest.d.ts +15 -0
  208. package/dist/serialization/types/NamedScenarioInputImageVariableValueRequest.js +46 -0
  209. package/dist/serialization/types/NamedScenarioInputRequest.d.ts +5 -1
  210. package/dist/serialization/types/NamedScenarioInputRequest.js +8 -0
  211. package/dist/serialization/types/NamedScenarioInputVideoVariableValueRequest.d.ts +15 -0
  212. package/dist/serialization/types/NamedScenarioInputVideoVariableValueRequest.js +46 -0
  213. package/dist/serialization/types/NamedTestCaseAudioVariableValue.d.ts +15 -0
  214. package/dist/serialization/types/NamedTestCaseAudioVariableValue.js +46 -0
  215. package/dist/serialization/types/NamedTestCaseAudioVariableValueRequest.d.ts +15 -0
  216. package/dist/serialization/types/NamedTestCaseAudioVariableValueRequest.js +46 -0
  217. package/dist/serialization/types/NamedTestCaseDocumentVariableValue.d.ts +15 -0
  218. package/dist/serialization/types/NamedTestCaseDocumentVariableValue.js +46 -0
  219. package/dist/serialization/types/NamedTestCaseDocumentVariableValueRequest.d.ts +15 -0
  220. package/dist/serialization/types/NamedTestCaseDocumentVariableValueRequest.js +46 -0
  221. package/dist/serialization/types/NamedTestCaseImageVariableValue.d.ts +15 -0
  222. package/dist/serialization/types/NamedTestCaseImageVariableValue.js +46 -0
  223. package/dist/serialization/types/NamedTestCaseImageVariableValueRequest.d.ts +15 -0
  224. package/dist/serialization/types/NamedTestCaseImageVariableValueRequest.js +46 -0
  225. package/dist/serialization/types/NamedTestCaseVariableValue.d.ts +5 -1
  226. package/dist/serialization/types/NamedTestCaseVariableValue.js +8 -0
  227. package/dist/serialization/types/NamedTestCaseVariableValueRequest.d.ts +5 -1
  228. package/dist/serialization/types/NamedTestCaseVariableValueRequest.js +8 -0
  229. package/dist/serialization/types/NamedTestCaseVideoVariableValue.d.ts +15 -0
  230. package/dist/serialization/types/NamedTestCaseVideoVariableValue.js +46 -0
  231. package/dist/serialization/types/NamedTestCaseVideoVariableValueRequest.d.ts +15 -0
  232. package/dist/serialization/types/NamedTestCaseVideoVariableValueRequest.js +46 -0
  233. package/dist/serialization/types/NodeExecutionSpanAttributes.d.ts +1 -0
  234. package/dist/serialization/types/NodeExecutionSpanAttributes.js +1 -0
  235. package/dist/serialization/types/ScenarioInput.d.ts +5 -1
  236. package/dist/serialization/types/ScenarioInput.js +8 -0
  237. package/dist/serialization/types/ScenarioInputAudioVariableValue.d.ts +15 -0
  238. package/dist/serialization/types/ScenarioInputAudioVariableValue.js +46 -0
  239. package/dist/serialization/types/ScenarioInputDocumentVariableValue.d.ts +15 -0
  240. package/dist/serialization/types/ScenarioInputDocumentVariableValue.js +46 -0
  241. package/dist/serialization/types/ScenarioInputImageVariableValue.d.ts +15 -0
  242. package/dist/serialization/types/ScenarioInputImageVariableValue.js +46 -0
  243. package/dist/serialization/types/ScenarioInputVideoVariableValue.d.ts +15 -0
  244. package/dist/serialization/types/ScenarioInputVideoVariableValue.js +46 -0
  245. package/dist/serialization/types/SpanLinkTypeEnum.d.ts +1 -1
  246. package/dist/serialization/types/SpanLinkTypeEnum.js +1 -1
  247. package/dist/serialization/types/TestCaseAudioVariableValue.d.ts +16 -0
  248. package/dist/serialization/types/TestCaseAudioVariableValue.js +47 -0
  249. package/dist/serialization/types/TestCaseDocumentVariableValue.d.ts +16 -0
  250. package/dist/serialization/types/TestCaseDocumentVariableValue.js +47 -0
  251. package/dist/serialization/types/TestCaseImageVariableValue.d.ts +16 -0
  252. package/dist/serialization/types/TestCaseImageVariableValue.js +47 -0
  253. package/dist/serialization/types/TestCaseVariableValue.d.ts +5 -1
  254. package/dist/serialization/types/TestCaseVariableValue.js +8 -0
  255. package/dist/serialization/types/TestCaseVideoVariableValue.d.ts +16 -0
  256. package/dist/serialization/types/TestCaseVideoVariableValue.js +47 -0
  257. package/dist/serialization/types/VideoInput.d.ts +15 -0
  258. package/dist/serialization/types/VideoInput.js +46 -0
  259. package/dist/serialization/types/WorkflowPushDeploymentConfigRequest.d.ts +1 -0
  260. package/dist/serialization/types/WorkflowPushDeploymentConfigRequest.js +1 -0
  261. package/dist/serialization/types/WorkflowRequestAudioInputRequest.d.ts +15 -0
  262. package/dist/serialization/types/WorkflowRequestAudioInputRequest.js +46 -0
  263. package/dist/serialization/types/WorkflowRequestDocumentInputRequest.d.ts +15 -0
  264. package/dist/serialization/types/WorkflowRequestDocumentInputRequest.js +46 -0
  265. package/dist/serialization/types/WorkflowRequestImageInputRequest.d.ts +15 -0
  266. package/dist/serialization/types/WorkflowRequestImageInputRequest.js +46 -0
  267. package/dist/serialization/types/WorkflowRequestInputRequest.d.ts +5 -1
  268. package/dist/serialization/types/WorkflowRequestInputRequest.js +8 -0
  269. package/dist/serialization/types/WorkflowRequestVideoInputRequest.d.ts +15 -0
  270. package/dist/serialization/types/WorkflowRequestVideoInputRequest.js +46 -0
  271. package/dist/serialization/types/index.d.ts +28 -0
  272. package/dist/serialization/types/index.js +28 -0
  273. package/dist/version.d.ts +1 -1
  274. package/dist/version.js +1 -1
  275. package/package.json +1 -3
  276. package/reference.md +2 -10
  277. package/serialization/types/AudioInput.d.ts +15 -0
  278. package/serialization/types/AudioInput.js +46 -0
  279. package/serialization/types/CodeExecutorInput.d.ts +5 -1
  280. package/serialization/types/CodeExecutorInput.js +8 -0
  281. package/serialization/types/DocumentInput.d.ts +15 -0
  282. package/serialization/types/DocumentInput.js +46 -0
  283. package/serialization/types/ImageInput.d.ts +15 -0
  284. package/serialization/types/ImageInput.js +46 -0
  285. package/serialization/types/NamedScenarioInputAudioVariableValueRequest.d.ts +15 -0
  286. package/serialization/types/NamedScenarioInputAudioVariableValueRequest.js +46 -0
  287. package/serialization/types/NamedScenarioInputDocumentVariableValueRequest.d.ts +15 -0
  288. package/serialization/types/NamedScenarioInputDocumentVariableValueRequest.js +46 -0
  289. package/serialization/types/NamedScenarioInputImageVariableValueRequest.d.ts +15 -0
  290. package/serialization/types/NamedScenarioInputImageVariableValueRequest.js +46 -0
  291. package/serialization/types/NamedScenarioInputRequest.d.ts +5 -1
  292. package/serialization/types/NamedScenarioInputRequest.js +8 -0
  293. package/serialization/types/NamedScenarioInputVideoVariableValueRequest.d.ts +15 -0
  294. package/serialization/types/NamedScenarioInputVideoVariableValueRequest.js +46 -0
  295. package/serialization/types/NamedTestCaseAudioVariableValue.d.ts +15 -0
  296. package/serialization/types/NamedTestCaseAudioVariableValue.js +46 -0
  297. package/serialization/types/NamedTestCaseAudioVariableValueRequest.d.ts +15 -0
  298. package/serialization/types/NamedTestCaseAudioVariableValueRequest.js +46 -0
  299. package/serialization/types/NamedTestCaseDocumentVariableValue.d.ts +15 -0
  300. package/serialization/types/NamedTestCaseDocumentVariableValue.js +46 -0
  301. package/serialization/types/NamedTestCaseDocumentVariableValueRequest.d.ts +15 -0
  302. package/serialization/types/NamedTestCaseDocumentVariableValueRequest.js +46 -0
  303. package/serialization/types/NamedTestCaseImageVariableValue.d.ts +15 -0
  304. package/serialization/types/NamedTestCaseImageVariableValue.js +46 -0
  305. package/serialization/types/NamedTestCaseImageVariableValueRequest.d.ts +15 -0
  306. package/serialization/types/NamedTestCaseImageVariableValueRequest.js +46 -0
  307. package/serialization/types/NamedTestCaseVariableValue.d.ts +5 -1
  308. package/serialization/types/NamedTestCaseVariableValue.js +8 -0
  309. package/serialization/types/NamedTestCaseVariableValueRequest.d.ts +5 -1
  310. package/serialization/types/NamedTestCaseVariableValueRequest.js +8 -0
  311. package/serialization/types/NamedTestCaseVideoVariableValue.d.ts +15 -0
  312. package/serialization/types/NamedTestCaseVideoVariableValue.js +46 -0
  313. package/serialization/types/NamedTestCaseVideoVariableValueRequest.d.ts +15 -0
  314. package/serialization/types/NamedTestCaseVideoVariableValueRequest.js +46 -0
  315. package/serialization/types/NodeExecutionSpanAttributes.d.ts +1 -0
  316. package/serialization/types/NodeExecutionSpanAttributes.js +1 -0
  317. package/serialization/types/ScenarioInput.d.ts +5 -1
  318. package/serialization/types/ScenarioInput.js +8 -0
  319. package/serialization/types/ScenarioInputAudioVariableValue.d.ts +15 -0
  320. package/serialization/types/ScenarioInputAudioVariableValue.js +46 -0
  321. package/serialization/types/ScenarioInputDocumentVariableValue.d.ts +15 -0
  322. package/serialization/types/ScenarioInputDocumentVariableValue.js +46 -0
  323. package/serialization/types/ScenarioInputImageVariableValue.d.ts +15 -0
  324. package/serialization/types/ScenarioInputImageVariableValue.js +46 -0
  325. package/serialization/types/ScenarioInputVideoVariableValue.d.ts +15 -0
  326. package/serialization/types/ScenarioInputVideoVariableValue.js +46 -0
  327. package/serialization/types/SpanLinkTypeEnum.d.ts +1 -1
  328. package/serialization/types/SpanLinkTypeEnum.js +1 -1
  329. package/serialization/types/TestCaseAudioVariableValue.d.ts +16 -0
  330. package/serialization/types/TestCaseAudioVariableValue.js +47 -0
  331. package/serialization/types/TestCaseDocumentVariableValue.d.ts +16 -0
  332. package/serialization/types/TestCaseDocumentVariableValue.js +47 -0
  333. package/serialization/types/TestCaseImageVariableValue.d.ts +16 -0
  334. package/serialization/types/TestCaseImageVariableValue.js +47 -0
  335. package/serialization/types/TestCaseVariableValue.d.ts +5 -1
  336. package/serialization/types/TestCaseVariableValue.js +8 -0
  337. package/serialization/types/TestCaseVideoVariableValue.d.ts +16 -0
  338. package/serialization/types/TestCaseVideoVariableValue.js +47 -0
  339. package/serialization/types/VideoInput.d.ts +15 -0
  340. package/serialization/types/VideoInput.js +46 -0
  341. package/serialization/types/WorkflowPushDeploymentConfigRequest.d.ts +1 -0
  342. package/serialization/types/WorkflowPushDeploymentConfigRequest.js +1 -0
  343. package/serialization/types/WorkflowRequestAudioInputRequest.d.ts +15 -0
  344. package/serialization/types/WorkflowRequestAudioInputRequest.js +46 -0
  345. package/serialization/types/WorkflowRequestDocumentInputRequest.d.ts +15 -0
  346. package/serialization/types/WorkflowRequestDocumentInputRequest.js +46 -0
  347. package/serialization/types/WorkflowRequestImageInputRequest.d.ts +15 -0
  348. package/serialization/types/WorkflowRequestImageInputRequest.js +46 -0
  349. package/serialization/types/WorkflowRequestInputRequest.d.ts +5 -1
  350. package/serialization/types/WorkflowRequestInputRequest.js +8 -0
  351. package/serialization/types/WorkflowRequestVideoInputRequest.d.ts +15 -0
  352. package/serialization/types/WorkflowRequestVideoInputRequest.js +46 -0
  353. package/serialization/types/index.d.ts +28 -0
  354. package/serialization/types/index.js +28 -0
  355. package/version.d.ts +1 -1
  356. package/version.js +1 -1
  357. package/dist/terraform/data-vellum-document-index/index.d.ts +0 -61
  358. package/dist/terraform/data-vellum-document-index/index.js +0 -162
  359. package/dist/terraform/data-vellum-ml-model/index.d.ts +0 -61
  360. package/dist/terraform/data-vellum-ml-model/index.js +0 -162
  361. package/dist/terraform/document-index/index.d.ts +0 -83
  362. package/dist/terraform/document-index/index.js +0 -190
  363. package/dist/terraform/index.d.ts +0 -5
  364. package/dist/terraform/lazy-index.d.ts +0 -0
  365. package/dist/terraform/lazy-index.js +0 -7
  366. package/dist/terraform/ml-model/index.d.ts +0 -148
  367. package/dist/terraform/ml-model/index.js +0 -364
  368. package/dist/terraform/provider/index.d.ts +0 -65
  369. package/dist/terraform/provider/index.js +0 -158
  370. package/terraform/data-vellum-document-index/index.d.ts +0 -61
  371. package/terraform/data-vellum-document-index/index.js +0 -162
  372. package/terraform/data-vellum-ml-model/index.d.ts +0 -61
  373. package/terraform/data-vellum-ml-model/index.js +0 -162
  374. package/terraform/document-index/index.d.ts +0 -83
  375. package/terraform/document-index/index.js +0 -190
  376. package/terraform/index.d.ts +0 -5
  377. package/terraform/lazy-index.d.ts +0 -0
  378. package/terraform/lazy-index.js +0 -7
  379. package/terraform/ml-model/index.d.ts +0 -148
  380. package/terraform/ml-model/index.js +0 -364
  381. package/terraform/provider/index.d.ts +0 -65
  382. package/terraform/provider/index.js +0 -158
@@ -1,158 +0,0 @@
1
- "use strict";
2
- // https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs
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 () {
21
- var ownKeys = function(o) {
22
- ownKeys = Object.getOwnPropertyNames || function (o) {
23
- var ar = [];
24
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
25
- return ar;
26
- };
27
- return ownKeys(o);
28
- };
29
- return function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- })();
37
- Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.VellumProvider = void 0;
39
- const cdktf = __importStar(require("cdktf"));
40
- /**
41
- * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs vellum}
42
- */
43
- class VellumProvider extends cdktf.TerraformProvider {
44
- // ==============
45
- // STATIC Methods
46
- // ==============
47
- /**
48
- * Generates CDKTF code for importing a VellumProvider resource upon running "cdktf plan <stack-name>"
49
- * @param scope The scope in which to define this construct
50
- * @param importToId The construct id used in the generated config for the VellumProvider to import
51
- * @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
52
- * @param provider? Optional instance of the provider where the VellumProvider to import is found
53
- */
54
- static generateConfigForImport(scope, importToId, importFromId, provider) {
55
- return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "vellum", importId: importFromId, provider });
56
- }
57
- // ===========
58
- // INITIALIZER
59
- // ===========
60
- /**
61
- * Create a new {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs vellum} Resource
62
- *
63
- * @param scope The scope in which to define this construct
64
- * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
65
- * @param options VellumProviderConfig = {}
66
- */
67
- constructor(scope, id, config = {}) {
68
- super(scope, id, {
69
- terraformResourceType: 'vellum',
70
- terraformGeneratorMetadata: {
71
- providerName: 'vellum',
72
- providerVersion: '0.0.7'
73
- },
74
- terraformProviderSource: 'vellum-ai/vellum'
75
- });
76
- this._apiKey = config.apiKey;
77
- this._baseUrl = config.baseUrl;
78
- this._alias = config.alias;
79
- }
80
- get apiKey() {
81
- return this._apiKey;
82
- }
83
- set apiKey(value) {
84
- this._apiKey = value;
85
- }
86
- resetApiKey() {
87
- this._apiKey = undefined;
88
- }
89
- // Temporarily expose input value. Use with caution.
90
- get apiKeyInput() {
91
- return this._apiKey;
92
- }
93
- get baseUrl() {
94
- return this._baseUrl;
95
- }
96
- set baseUrl(value) {
97
- this._baseUrl = value;
98
- }
99
- resetBaseUrl() {
100
- this._baseUrl = undefined;
101
- }
102
- // Temporarily expose input value. Use with caution.
103
- get baseUrlInput() {
104
- return this._baseUrl;
105
- }
106
- get alias() {
107
- return this._alias;
108
- }
109
- set alias(value) {
110
- this._alias = value;
111
- }
112
- resetAlias() {
113
- this._alias = undefined;
114
- }
115
- // Temporarily expose input value. Use with caution.
116
- get aliasInput() {
117
- return this._alias;
118
- }
119
- // =========
120
- // SYNTHESIS
121
- // =========
122
- synthesizeAttributes() {
123
- return {
124
- api_key: cdktf.stringToTerraform(this._apiKey),
125
- base_url: cdktf.stringToTerraform(this._baseUrl),
126
- alias: cdktf.stringToTerraform(this._alias),
127
- };
128
- }
129
- synthesizeHclAttributes() {
130
- const attrs = {
131
- api_key: {
132
- value: cdktf.stringToHclTerraform(this._apiKey),
133
- isBlock: false,
134
- type: "simple",
135
- storageClassType: "string",
136
- },
137
- base_url: {
138
- value: cdktf.stringToHclTerraform(this._baseUrl),
139
- isBlock: false,
140
- type: "simple",
141
- storageClassType: "string",
142
- },
143
- alias: {
144
- value: cdktf.stringToHclTerraform(this._alias),
145
- isBlock: false,
146
- type: "simple",
147
- storageClassType: "string",
148
- },
149
- };
150
- // remove undefined attributes
151
- return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
152
- }
153
- }
154
- exports.VellumProvider = VellumProvider;
155
- // =================
156
- // STATIC PROPERTIES
157
- // =================
158
- VellumProvider.tfResourceType = "vellum";
@@ -1,61 +0,0 @@
1
- import { Construct } from 'constructs';
2
- import * as cdktf from 'cdktf';
3
- export interface DataVellumDocumentIndexConfig extends cdktf.TerraformMetaArguments {
4
- /**
5
- * The Document Index's ID
6
- *
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
- *
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 index within its workspace
15
- *
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
- */
18
- readonly name?: string;
19
- }
20
- /**
21
- * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index vellum_document_index}
22
- */
23
- export declare class DataVellumDocumentIndex extends cdktf.TerraformDataSource {
24
- static readonly tfResourceType = "vellum_document_index";
25
- /**
26
- * Generates CDKTF code for importing a DataVellumDocumentIndex 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 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.7/docs/data-sources/document_index#import import section} in the documentation of this resource for the id to use
30
- * @param provider? Optional instance of the provider where the DataVellumDocumentIndex 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/document_index vellum_document_index} 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 DataVellumDocumentIndexConfig = {}
39
- */
40
- constructor(scope: Construct, id: string, config?: DataVellumDocumentIndexConfig);
41
- get created(): string;
42
- get environment(): string;
43
- private _id?;
44
- get id(): string;
45
- set id(value: string);
46
- resetId(): void;
47
- get idInput(): string | undefined;
48
- get label(): string;
49
- private _name?;
50
- get name(): string;
51
- set name(value: string);
52
- resetName(): void;
53
- get nameInput(): string | undefined;
54
- get status(): string;
55
- protected synthesizeAttributes(): {
56
- [name: string]: any;
57
- };
58
- protected synthesizeHclAttributes(): {
59
- [name: string]: any;
60
- };
61
- }
@@ -1,162 +0,0 @@
1
- "use strict";
2
- // https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index
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 () {
21
- var ownKeys = function(o) {
22
- ownKeys = Object.getOwnPropertyNames || function (o) {
23
- var ar = [];
24
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
25
- return ar;
26
- };
27
- return ownKeys(o);
28
- };
29
- return function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- })();
37
- Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.DataVellumDocumentIndex = void 0;
39
- const cdktf = __importStar(require("cdktf"));
40
- /**
41
- * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/document_index vellum_document_index}
42
- */
43
- class DataVellumDocumentIndex extends cdktf.TerraformDataSource {
44
- // ==============
45
- // STATIC Methods
46
- // ==============
47
- /**
48
- * Generates CDKTF code for importing a DataVellumDocumentIndex resource upon running "cdktf plan <stack-name>"
49
- * @param scope The scope in which to define this construct
50
- * @param importToId The construct id used in the generated config for the DataVellumDocumentIndex to import
51
- * @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
52
- * @param provider? Optional instance of the provider where the DataVellumDocumentIndex to import is found
53
- */
54
- static generateConfigForImport(scope, importToId, importFromId, provider) {
55
- return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "vellum_document_index", importId: importFromId, provider });
56
- }
57
- // ===========
58
- // INITIALIZER
59
- // ===========
60
- /**
61
- * 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
62
- *
63
- * @param scope The scope in which to define this construct
64
- * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
65
- * @param options DataVellumDocumentIndexConfig = {}
66
- */
67
- constructor(scope, id, config = {}) {
68
- super(scope, id, {
69
- terraformResourceType: 'vellum_document_index',
70
- terraformGeneratorMetadata: {
71
- providerName: 'vellum',
72
- providerVersion: '0.0.7'
73
- },
74
- provider: config.provider,
75
- dependsOn: config.dependsOn,
76
- count: config.count,
77
- lifecycle: config.lifecycle,
78
- provisioners: config.provisioners,
79
- connection: config.connection,
80
- forEach: config.forEach
81
- });
82
- this._id = config.id;
83
- this._name = config.name;
84
- }
85
- // ==========
86
- // ATTRIBUTES
87
- // ==========
88
- // created - computed: true, optional: false, required: false
89
- get created() {
90
- return this.getStringAttribute('created');
91
- }
92
- // environment - computed: true, optional: false, required: false
93
- get environment() {
94
- return this.getStringAttribute('environment');
95
- }
96
- get id() {
97
- return this.getStringAttribute('id');
98
- }
99
- set id(value) {
100
- this._id = value;
101
- }
102
- resetId() {
103
- this._id = undefined;
104
- }
105
- // Temporarily expose input value. Use with caution.
106
- get idInput() {
107
- return this._id;
108
- }
109
- // label - computed: true, optional: false, required: false
110
- get label() {
111
- return this.getStringAttribute('label');
112
- }
113
- get name() {
114
- return this.getStringAttribute('name');
115
- }
116
- set name(value) {
117
- this._name = value;
118
- }
119
- resetName() {
120
- this._name = undefined;
121
- }
122
- // Temporarily expose input value. Use with caution.
123
- get nameInput() {
124
- return this._name;
125
- }
126
- // status - computed: true, optional: false, required: false
127
- get status() {
128
- return this.getStringAttribute('status');
129
- }
130
- // =========
131
- // SYNTHESIS
132
- // =========
133
- synthesizeAttributes() {
134
- return {
135
- id: cdktf.stringToTerraform(this._id),
136
- name: cdktf.stringToTerraform(this._name),
137
- };
138
- }
139
- synthesizeHclAttributes() {
140
- const attrs = {
141
- id: {
142
- value: cdktf.stringToHclTerraform(this._id),
143
- isBlock: false,
144
- type: "simple",
145
- storageClassType: "string",
146
- },
147
- name: {
148
- value: cdktf.stringToHclTerraform(this._name),
149
- isBlock: false,
150
- type: "simple",
151
- storageClassType: "string",
152
- },
153
- };
154
- // remove undefined attributes
155
- return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
156
- }
157
- }
158
- exports.DataVellumDocumentIndex = DataVellumDocumentIndex;
159
- // =================
160
- // STATIC PROPERTIES
161
- // =================
162
- DataVellumDocumentIndex.tfResourceType = "vellum_document_index";
@@ -1,61 +0,0 @@
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
- }
@@ -1,162 +0,0 @@
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 () {
21
- var ownKeys = function(o) {
22
- ownKeys = Object.getOwnPropertyNames || function (o) {
23
- var ar = [];
24
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
25
- return ar;
26
- };
27
- return ownKeys(o);
28
- };
29
- return function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- })();
37
- Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.DataVellumMlModel = void 0;
39
- const cdktf = __importStar(require("cdktf"));
40
- /**
41
- * Represents a {@link https://registry.terraform.io/providers/vellum-ai/vellum/0.0.7/docs/data-sources/ml_model vellum_ml_model}
42
- */
43
- class DataVellumMlModel extends cdktf.TerraformDataSource {
44
- // ==============
45
- // STATIC Methods
46
- // ==============
47
- /**
48
- * Generates CDKTF code for importing a DataVellumMlModel resource upon running "cdktf plan <stack-name>"
49
- * @param scope The scope in which to define this construct
50
- * @param importToId The construct id used in the generated config for the DataVellumMlModel to import
51
- * @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
52
- * @param provider? Optional instance of the provider where the DataVellumMlModel to import is found
53
- */
54
- static generateConfigForImport(scope, importToId, importFromId, provider) {
55
- return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "vellum_ml_model", importId: importFromId, provider });
56
- }
57
- // ===========
58
- // INITIALIZER
59
- // ===========
60
- /**
61
- * 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
62
- *
63
- * @param scope The scope in which to define this construct
64
- * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
65
- * @param options DataVellumMlModelConfig = {}
66
- */
67
- constructor(scope, id, config = {}) {
68
- super(scope, id, {
69
- terraformResourceType: 'vellum_ml_model',
70
- terraformGeneratorMetadata: {
71
- providerName: 'vellum',
72
- providerVersion: '0.0.7'
73
- },
74
- provider: config.provider,
75
- dependsOn: config.dependsOn,
76
- count: config.count,
77
- lifecycle: config.lifecycle,
78
- provisioners: config.provisioners,
79
- connection: config.connection,
80
- forEach: config.forEach
81
- });
82
- this._id = config.id;
83
- this._name = config.name;
84
- }
85
- // ==========
86
- // ATTRIBUTES
87
- // ==========
88
- // developed_by - computed: true, optional: false, required: false
89
- get developedBy() {
90
- return this.getStringAttribute('developed_by');
91
- }
92
- // family - computed: true, optional: false, required: false
93
- get family() {
94
- return this.getStringAttribute('family');
95
- }
96
- // hosted_by - computed: true, optional: false, required: false
97
- get hostedBy() {
98
- return this.getStringAttribute('hosted_by');
99
- }
100
- get id() {
101
- return this.getStringAttribute('id');
102
- }
103
- set id(value) {
104
- this._id = value;
105
- }
106
- resetId() {
107
- this._id = undefined;
108
- }
109
- // Temporarily expose input value. Use with caution.
110
- get idInput() {
111
- return this._id;
112
- }
113
- get name() {
114
- return this.getStringAttribute('name');
115
- }
116
- set name(value) {
117
- this._name = value;
118
- }
119
- resetName() {
120
- this._name = undefined;
121
- }
122
- // Temporarily expose input value. Use with caution.
123
- get nameInput() {
124
- return this._name;
125
- }
126
- // visibility - computed: true, optional: false, required: false
127
- get visibility() {
128
- return this.getStringAttribute('visibility');
129
- }
130
- // =========
131
- // SYNTHESIS
132
- // =========
133
- synthesizeAttributes() {
134
- return {
135
- id: cdktf.stringToTerraform(this._id),
136
- name: cdktf.stringToTerraform(this._name),
137
- };
138
- }
139
- synthesizeHclAttributes() {
140
- const attrs = {
141
- id: {
142
- value: cdktf.stringToHclTerraform(this._id),
143
- isBlock: false,
144
- type: "simple",
145
- storageClassType: "string",
146
- },
147
- name: {
148
- value: cdktf.stringToHclTerraform(this._name),
149
- isBlock: false,
150
- type: "simple",
151
- storageClassType: "string",
152
- },
153
- };
154
- // remove undefined attributes
155
- return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
156
- }
157
- }
158
- exports.DataVellumMlModel = DataVellumMlModel;
159
- // =================
160
- // STATIC PROPERTIES
161
- // =================
162
- DataVellumMlModel.tfResourceType = "vellum_ml_model";