vellum-ai 0.12.17 → 0.13.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 (218) hide show
  1. package/.mock/definition/__package__.yml +44 -78
  2. package/.mock/definition/organizations.yml +29 -0
  3. package/.mock/definition/workspaces.yml +29 -0
  4. package/.mock/openapi/openapi.yml +84 -148
  5. package/Client.d.ts +9 -3
  6. package/Client.js +35 -25
  7. package/api/resources/adHoc/client/Client.d.ts +3 -3
  8. package/api/resources/adHoc/client/Client.js +2 -2
  9. package/api/resources/containerImages/client/Client.d.ts +3 -3
  10. package/api/resources/containerImages/client/Client.js +5 -5
  11. package/api/resources/deployments/client/Client.d.ts +3 -3
  12. package/api/resources/deployments/client/Client.js +8 -8
  13. package/api/resources/documentIndexes/client/Client.d.ts +3 -3
  14. package/api/resources/documentIndexes/client/Client.js +9 -9
  15. package/api/resources/documents/client/Client.d.ts +3 -3
  16. package/api/resources/documents/client/Client.js +6 -6
  17. package/api/resources/folderEntities/client/Client.d.ts +3 -3
  18. package/api/resources/folderEntities/client/Client.js +3 -3
  19. package/api/resources/index.d.ts +2 -0
  20. package/api/resources/index.js +3 -1
  21. package/api/resources/metricDefinitions/client/Client.d.ts +3 -3
  22. package/api/resources/metricDefinitions/client/Client.js +3 -3
  23. package/api/resources/mlModels/client/Client.d.ts +3 -3
  24. package/api/resources/mlModels/client/Client.js +2 -2
  25. package/api/resources/organizations/client/Client.d.ts +36 -0
  26. package/api/resources/organizations/client/Client.js +109 -0
  27. package/api/resources/organizations/client/index.d.ts +1 -0
  28. package/api/resources/organizations/client/index.js +2 -0
  29. package/api/resources/organizations/index.d.ts +1 -0
  30. package/api/resources/organizations/index.js +17 -0
  31. package/api/resources/sandboxes/client/Client.d.ts +3 -3
  32. package/api/resources/sandboxes/client/Client.js +4 -4
  33. package/api/resources/testSuiteRuns/client/Client.d.ts +3 -3
  34. package/api/resources/testSuiteRuns/client/Client.js +4 -4
  35. package/api/resources/testSuites/client/Client.d.ts +3 -3
  36. package/api/resources/testSuites/client/Client.js +5 -5
  37. package/api/resources/workflowDeployments/client/Client.d.ts +3 -3
  38. package/api/resources/workflowDeployments/client/Client.js +7 -7
  39. package/api/resources/workflowSandboxes/client/Client.d.ts +3 -3
  40. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  41. package/api/resources/workflows/client/Client.d.ts +3 -3
  42. package/api/resources/workflows/client/Client.js +3 -3
  43. package/api/resources/workspaceSecrets/client/Client.d.ts +3 -3
  44. package/api/resources/workspaceSecrets/client/Client.js +3 -3
  45. package/api/resources/workspaces/client/Client.d.ts +36 -0
  46. package/api/resources/workspaces/client/Client.js +109 -0
  47. package/api/resources/workspaces/client/index.d.ts +1 -0
  48. package/api/resources/workspaces/client/index.js +2 -0
  49. package/api/resources/workspaces/index.d.ts +1 -0
  50. package/api/resources/workspaces/index.js +17 -0
  51. package/api/types/NewMemberJoinBehaviorEnum.d.ts +14 -0
  52. package/api/types/NewMemberJoinBehaviorEnum.js +11 -0
  53. package/api/types/OrganizationRead.d.ts +10 -0
  54. package/api/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
  55. package/api/types/WorkspaceRead.d.ts +10 -0
  56. package/api/types/index.d.ts +3 -11
  57. package/api/types/index.js +3 -11
  58. package/dist/Client.d.ts +9 -3
  59. package/dist/Client.js +35 -25
  60. package/dist/api/resources/adHoc/client/Client.d.ts +3 -3
  61. package/dist/api/resources/adHoc/client/Client.js +2 -2
  62. package/dist/api/resources/containerImages/client/Client.d.ts +3 -3
  63. package/dist/api/resources/containerImages/client/Client.js +5 -5
  64. package/dist/api/resources/deployments/client/Client.d.ts +3 -3
  65. package/dist/api/resources/deployments/client/Client.js +8 -8
  66. package/dist/api/resources/documentIndexes/client/Client.d.ts +3 -3
  67. package/dist/api/resources/documentIndexes/client/Client.js +9 -9
  68. package/dist/api/resources/documents/client/Client.d.ts +3 -3
  69. package/dist/api/resources/documents/client/Client.js +6 -6
  70. package/dist/api/resources/folderEntities/client/Client.d.ts +3 -3
  71. package/dist/api/resources/folderEntities/client/Client.js +3 -3
  72. package/dist/api/resources/index.d.ts +2 -0
  73. package/dist/api/resources/index.js +3 -1
  74. package/dist/api/resources/metricDefinitions/client/Client.d.ts +3 -3
  75. package/dist/api/resources/metricDefinitions/client/Client.js +3 -3
  76. package/dist/api/resources/mlModels/client/Client.d.ts +3 -3
  77. package/dist/api/resources/mlModels/client/Client.js +2 -2
  78. package/dist/api/resources/organizations/client/Client.d.ts +36 -0
  79. package/dist/api/resources/organizations/client/Client.js +109 -0
  80. package/dist/api/resources/organizations/client/index.d.ts +1 -0
  81. package/dist/api/resources/organizations/client/index.js +2 -0
  82. package/dist/api/resources/organizations/index.d.ts +1 -0
  83. package/dist/api/resources/organizations/index.js +17 -0
  84. package/dist/api/resources/sandboxes/client/Client.d.ts +3 -3
  85. package/dist/api/resources/sandboxes/client/Client.js +4 -4
  86. package/dist/api/resources/testSuiteRuns/client/Client.d.ts +3 -3
  87. package/dist/api/resources/testSuiteRuns/client/Client.js +4 -4
  88. package/dist/api/resources/testSuites/client/Client.d.ts +3 -3
  89. package/dist/api/resources/testSuites/client/Client.js +5 -5
  90. package/dist/api/resources/workflowDeployments/client/Client.d.ts +3 -3
  91. package/dist/api/resources/workflowDeployments/client/Client.js +7 -7
  92. package/dist/api/resources/workflowSandboxes/client/Client.d.ts +3 -3
  93. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  94. package/dist/api/resources/workflows/client/Client.d.ts +3 -3
  95. package/dist/api/resources/workflows/client/Client.js +3 -3
  96. package/dist/api/resources/workspaceSecrets/client/Client.d.ts +3 -3
  97. package/dist/api/resources/workspaceSecrets/client/Client.js +3 -3
  98. package/dist/api/resources/workspaces/client/Client.d.ts +36 -0
  99. package/dist/api/resources/workspaces/client/Client.js +109 -0
  100. package/dist/api/resources/workspaces/client/index.d.ts +1 -0
  101. package/dist/api/resources/workspaces/client/index.js +2 -0
  102. package/dist/api/resources/workspaces/index.d.ts +1 -0
  103. package/dist/api/resources/workspaces/index.js +17 -0
  104. package/dist/api/types/NewMemberJoinBehaviorEnum.d.ts +14 -0
  105. package/dist/api/types/NewMemberJoinBehaviorEnum.js +11 -0
  106. package/dist/api/types/OrganizationRead.d.ts +10 -0
  107. package/dist/api/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
  108. package/dist/api/types/WorkspaceRead.d.ts +10 -0
  109. package/dist/api/types/index.d.ts +3 -11
  110. package/dist/api/types/index.js +3 -11
  111. package/dist/serialization/types/NewMemberJoinBehaviorEnum.d.ts +10 -0
  112. package/dist/serialization/types/{JsonVariableValue.js → NewMemberJoinBehaviorEnum.js} +6 -5
  113. package/dist/serialization/types/OrganizationRead.d.ts +16 -0
  114. package/dist/serialization/types/{ArrayVariableValue.js → OrganizationRead.js} +7 -5
  115. package/dist/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
  116. package/dist/serialization/types/WorkflowResultEventOutputDataArray.js +1 -1
  117. package/dist/serialization/types/WorkspaceRead.d.ts +15 -0
  118. package/dist/serialization/types/{StringVariableValue.js → WorkspaceRead.js} +6 -4
  119. package/dist/serialization/types/index.d.ts +3 -11
  120. package/dist/serialization/types/index.js +3 -11
  121. package/dist/version.d.ts +1 -1
  122. package/dist/version.js +1 -1
  123. package/package.json +1 -1
  124. package/reference.md +114 -0
  125. package/serialization/types/NewMemberJoinBehaviorEnum.d.ts +10 -0
  126. package/{dist/serialization/types/NumberVariableValue.js → serialization/types/NewMemberJoinBehaviorEnum.js} +6 -5
  127. package/serialization/types/OrganizationRead.d.ts +16 -0
  128. package/{dist/serialization/types/ChatHistoryVariableValue.js → serialization/types/OrganizationRead.js} +7 -5
  129. package/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
  130. package/serialization/types/WorkflowResultEventOutputDataArray.js +1 -1
  131. package/serialization/types/WorkspaceRead.d.ts +15 -0
  132. package/serialization/types/{JsonVariableValue.js → WorkspaceRead.js} +6 -4
  133. package/serialization/types/index.d.ts +3 -11
  134. package/serialization/types/index.js +3 -11
  135. package/version.d.ts +1 -1
  136. package/version.js +1 -1
  137. package/api/types/ArrayVariableValue.d.ts +0 -8
  138. package/api/types/ArrayVariableValueItem.d.ts +0 -5
  139. package/api/types/AudioVariableValue.d.ts +0 -11
  140. package/api/types/ChatHistoryVariableValue.d.ts +0 -8
  141. package/api/types/ErrorVariableValue.d.ts +0 -8
  142. package/api/types/ErrorVariableValue.js +0 -5
  143. package/api/types/FunctionCallVariableValue.d.ts +0 -8
  144. package/api/types/FunctionCallVariableValue.js +0 -5
  145. package/api/types/ImageVariableValue.d.ts +0 -11
  146. package/api/types/ImageVariableValue.js +0 -5
  147. package/api/types/JsonVariableValue.d.ts +0 -7
  148. package/api/types/JsonVariableValue.js +0 -5
  149. package/api/types/NumberVariableValue.d.ts +0 -7
  150. package/api/types/NumberVariableValue.js +0 -5
  151. package/api/types/SearchResultsVariableValue.d.ts +0 -8
  152. package/api/types/SearchResultsVariableValue.js +0 -5
  153. package/api/types/StringVariableValue.d.ts +0 -7
  154. package/api/types/StringVariableValue.js +0 -5
  155. package/dist/api/types/ArrayVariableValue.d.ts +0 -8
  156. package/dist/api/types/ArrayVariableValue.js +0 -5
  157. package/dist/api/types/ArrayVariableValueItem.d.ts +0 -5
  158. package/dist/api/types/ArrayVariableValueItem.js +0 -5
  159. package/dist/api/types/AudioVariableValue.d.ts +0 -11
  160. package/dist/api/types/AudioVariableValue.js +0 -5
  161. package/dist/api/types/ChatHistoryVariableValue.d.ts +0 -8
  162. package/dist/api/types/ChatHistoryVariableValue.js +0 -5
  163. package/dist/api/types/ErrorVariableValue.d.ts +0 -8
  164. package/dist/api/types/ErrorVariableValue.js +0 -5
  165. package/dist/api/types/FunctionCallVariableValue.d.ts +0 -8
  166. package/dist/api/types/FunctionCallVariableValue.js +0 -5
  167. package/dist/api/types/ImageVariableValue.d.ts +0 -11
  168. package/dist/api/types/ImageVariableValue.js +0 -5
  169. package/dist/api/types/JsonVariableValue.d.ts +0 -7
  170. package/dist/api/types/JsonVariableValue.js +0 -5
  171. package/dist/api/types/NumberVariableValue.d.ts +0 -7
  172. package/dist/api/types/NumberVariableValue.js +0 -5
  173. package/dist/api/types/SearchResultsVariableValue.d.ts +0 -8
  174. package/dist/api/types/SearchResultsVariableValue.js +0 -5
  175. package/dist/api/types/StringVariableValue.d.ts +0 -7
  176. package/dist/api/types/StringVariableValue.js +0 -5
  177. package/dist/serialization/types/ArrayVariableValue.d.ts +0 -13
  178. package/dist/serialization/types/ArrayVariableValueItem.d.ts +0 -19
  179. package/dist/serialization/types/ArrayVariableValueItem.js +0 -52
  180. package/dist/serialization/types/AudioVariableValue.d.ts +0 -14
  181. package/dist/serialization/types/AudioVariableValue.js +0 -35
  182. package/dist/serialization/types/ChatHistoryVariableValue.d.ts +0 -14
  183. package/dist/serialization/types/ErrorVariableValue.d.ts +0 -14
  184. package/dist/serialization/types/ErrorVariableValue.js +0 -35
  185. package/dist/serialization/types/FunctionCallVariableValue.d.ts +0 -14
  186. package/dist/serialization/types/FunctionCallVariableValue.js +0 -35
  187. package/dist/serialization/types/ImageVariableValue.d.ts +0 -14
  188. package/dist/serialization/types/ImageVariableValue.js +0 -35
  189. package/dist/serialization/types/JsonVariableValue.d.ts +0 -13
  190. package/dist/serialization/types/NumberVariableValue.d.ts +0 -13
  191. package/dist/serialization/types/SearchResultsVariableValue.d.ts +0 -14
  192. package/dist/serialization/types/SearchResultsVariableValue.js +0 -35
  193. package/dist/serialization/types/StringVariableValue.d.ts +0 -13
  194. package/serialization/types/ArrayVariableValue.d.ts +0 -13
  195. package/serialization/types/ArrayVariableValue.js +0 -35
  196. package/serialization/types/ArrayVariableValueItem.d.ts +0 -19
  197. package/serialization/types/ArrayVariableValueItem.js +0 -52
  198. package/serialization/types/AudioVariableValue.d.ts +0 -14
  199. package/serialization/types/AudioVariableValue.js +0 -35
  200. package/serialization/types/ChatHistoryVariableValue.d.ts +0 -14
  201. package/serialization/types/ChatHistoryVariableValue.js +0 -35
  202. package/serialization/types/ErrorVariableValue.d.ts +0 -14
  203. package/serialization/types/ErrorVariableValue.js +0 -35
  204. package/serialization/types/FunctionCallVariableValue.d.ts +0 -14
  205. package/serialization/types/FunctionCallVariableValue.js +0 -35
  206. package/serialization/types/ImageVariableValue.d.ts +0 -14
  207. package/serialization/types/ImageVariableValue.js +0 -35
  208. package/serialization/types/JsonVariableValue.d.ts +0 -13
  209. package/serialization/types/NumberVariableValue.d.ts +0 -13
  210. package/serialization/types/NumberVariableValue.js +0 -34
  211. package/serialization/types/SearchResultsVariableValue.d.ts +0 -14
  212. package/serialization/types/SearchResultsVariableValue.js +0 -35
  213. package/serialization/types/StringVariableValue.d.ts +0 -13
  214. package/serialization/types/StringVariableValue.js +0 -34
  215. /package/api/types/{ArrayVariableValue.js → OrganizationRead.js} +0 -0
  216. /package/api/types/{ArrayVariableValueItem.js → WorkspaceRead.js} +0 -0
  217. /package/{api/types/AudioVariableValue.js → dist/api/types/OrganizationRead.js} +0 -0
  218. /package/{api/types/ChatHistoryVariableValue.js → dist/api/types/WorkspaceRead.js} +0 -0
@@ -28,14 +28,11 @@ __exportStar(require("./ArrayChatMessageContentItem"), exports);
28
28
  __exportStar(require("./ArrayChatMessageContentItemRequest"), exports);
29
29
  __exportStar(require("./ArrayChatMessageContentRequest"), exports);
30
30
  __exportStar(require("./ArrayInput"), exports);
31
- __exportStar(require("./ArrayVariableValue"), exports);
32
- __exportStar(require("./ArrayVariableValueItem"), exports);
33
31
  __exportStar(require("./ArrayVellumValue"), exports);
34
32
  __exportStar(require("./ArrayVellumValueRequest"), exports);
35
33
  __exportStar(require("./AudioChatMessageContent"), exports);
36
34
  __exportStar(require("./AudioChatMessageContentRequest"), exports);
37
35
  __exportStar(require("./AudioPromptBlock"), exports);
38
- __exportStar(require("./AudioVariableValue"), exports);
39
36
  __exportStar(require("./AudioVellumValue"), exports);
40
37
  __exportStar(require("./AudioVellumValueRequest"), exports);
41
38
  __exportStar(require("./BasicVectorizerIntfloatMultilingualE5Large"), exports);
@@ -46,7 +43,6 @@ __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1
46
43
  __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request"), exports);
47
44
  __exportStar(require("./ChatHistoryInput"), exports);
48
45
  __exportStar(require("./ChatHistoryInputRequest"), exports);
49
- __exportStar(require("./ChatHistoryVariableValue"), exports);
50
46
  __exportStar(require("./ChatHistoryVellumValue"), exports);
51
47
  __exportStar(require("./ChatHistoryVellumValueRequest"), exports);
52
48
  __exportStar(require("./ChatMessage"), exports);
@@ -101,7 +97,6 @@ __exportStar(require("./EnvironmentEnum"), exports);
101
97
  __exportStar(require("./EphemeralPromptCacheConfig"), exports);
102
98
  __exportStar(require("./EphemeralPromptCacheConfigTypeEnum"), exports);
103
99
  __exportStar(require("./ErrorInput"), exports);
104
- __exportStar(require("./ErrorVariableValue"), exports);
105
100
  __exportStar(require("./ErrorVellumValue"), exports);
106
101
  __exportStar(require("./ErrorVellumValueRequest"), exports);
107
102
  __exportStar(require("./ExecutePromptEvent"), exports);
@@ -145,7 +140,6 @@ __exportStar(require("./FunctionCallChatMessageContentValueRequest"), exports);
145
140
  __exportStar(require("./FunctionCallInput"), exports);
146
141
  __exportStar(require("./FunctionCallPromptBlock"), exports);
147
142
  __exportStar(require("./FunctionCallRequest"), exports);
148
- __exportStar(require("./FunctionCallVariableValue"), exports);
149
143
  __exportStar(require("./FunctionCallVellumValue"), exports);
150
144
  __exportStar(require("./FunctionCallVellumValueRequest"), exports);
151
145
  __exportStar(require("./FunctionDefinition"), exports);
@@ -169,7 +163,6 @@ __exportStar(require("./HkunlpInstructorXlVectorizerRequest"), exports);
169
163
  __exportStar(require("./ImageChatMessageContent"), exports);
170
164
  __exportStar(require("./ImageChatMessageContentRequest"), exports);
171
165
  __exportStar(require("./ImagePromptBlock"), exports);
172
- __exportStar(require("./ImageVariableValue"), exports);
173
166
  __exportStar(require("./ImageVellumValue"), exports);
174
167
  __exportStar(require("./ImageVellumValueRequest"), exports);
175
168
  __exportStar(require("./IndexingConfigVectorizer"), exports);
@@ -185,7 +178,6 @@ __exportStar(require("./IterationStateEnum"), exports);
185
178
  __exportStar(require("./JsonInput"), exports);
186
179
  __exportStar(require("./JsonInputRequest"), exports);
187
180
  __exportStar(require("./JinjaPromptBlock"), exports);
188
- __exportStar(require("./JsonVariableValue"), exports);
189
181
  __exportStar(require("./JsonVellumValue"), exports);
190
182
  __exportStar(require("./JsonVellumValueRequest"), exports);
191
183
  __exportStar(require("./LogicalOperator"), exports);
@@ -226,6 +218,7 @@ __exportStar(require("./NamedTestCaseStringVariableValue"), exports);
226
218
  __exportStar(require("./NamedTestCaseStringVariableValueRequest"), exports);
227
219
  __exportStar(require("./NamedTestCaseVariableValue"), exports);
228
220
  __exportStar(require("./NamedTestCaseVariableValueRequest"), exports);
221
+ __exportStar(require("./NewMemberJoinBehaviorEnum"), exports);
229
222
  __exportStar(require("./NodeInputCompiledArrayValue"), exports);
230
223
  __exportStar(require("./NodeInputCompiledChatHistoryValue"), exports);
231
224
  __exportStar(require("./NodeInputCompiledErrorValue"), exports);
@@ -247,7 +240,6 @@ __exportStar(require("./NodeOutputCompiledValue"), exports);
247
240
  __exportStar(require("./NormalizedLogProbs"), exports);
248
241
  __exportStar(require("./NormalizedTokenLogProbs"), exports);
249
242
  __exportStar(require("./NumberInput"), exports);
250
- __exportStar(require("./NumberVariableValue"), exports);
251
243
  __exportStar(require("./NumberVellumValue"), exports);
252
244
  __exportStar(require("./NumberVellumValueRequest"), exports);
253
245
  __exportStar(require("./OpenAiVectorizerConfig"), exports);
@@ -258,6 +250,7 @@ __exportStar(require("./OpenAiVectorizerTextEmbedding3Small"), exports);
258
250
  __exportStar(require("./OpenAiVectorizerTextEmbedding3SmallRequest"), exports);
259
251
  __exportStar(require("./OpenAiVectorizerTextEmbeddingAda002"), exports);
260
252
  __exportStar(require("./OpenAiVectorizerTextEmbeddingAda002Request"), exports);
253
+ __exportStar(require("./OrganizationRead"), exports);
261
254
  __exportStar(require("./PaginatedContainerImageReadList"), exports);
262
255
  __exportStar(require("./PaginatedDeploymentReleaseTagReadList"), exports);
263
256
  __exportStar(require("./PaginatedDocumentIndexReadList"), exports);
@@ -323,7 +316,6 @@ __exportStar(require("./ComponentsSchemasPdfSearchResultMetaSource"), exports);
323
316
  __exportStar(require("./ComponentsSchemasPdfSearchResultMetaSourceRequest"), exports);
324
317
  __exportStar(require("./SearchResultRequest"), exports);
325
318
  __exportStar(require("./SearchResultsInput"), exports);
326
- __exportStar(require("./SearchResultsVariableValue"), exports);
327
319
  __exportStar(require("./SearchResultsVellumValue"), exports);
328
320
  __exportStar(require("./SearchResultsVellumValueRequest"), exports);
329
321
  __exportStar(require("./SearchWeightsRequest"), exports);
@@ -344,7 +336,6 @@ __exportStar(require("./StringChatMessageContent"), exports);
344
336
  __exportStar(require("./StringChatMessageContentRequest"), exports);
345
337
  __exportStar(require("./StringInput"), exports);
346
338
  __exportStar(require("./StringInputRequest"), exports);
347
- __exportStar(require("./StringVariableValue"), exports);
348
339
  __exportStar(require("./StringVellumValue"), exports);
349
340
  __exportStar(require("./StringVellumValueRequest"), exports);
350
341
  __exportStar(require("./SubmitCompletionActualRequest"), exports);
@@ -508,4 +499,5 @@ __exportStar(require("./WorkflowResultEventOutputDataNumber"), exports);
508
499
  __exportStar(require("./WorkflowResultEventOutputDataSearchResults"), exports);
509
500
  __exportStar(require("./WorkflowResultEventOutputDataString"), exports);
510
501
  __exportStar(require("./WorkflowStreamEvent"), exports);
502
+ __exportStar(require("./WorkspaceRead"), exports);
511
503
  __exportStar(require("./WorkspaceSecretRead"), exports);
package/dist/Client.d.ts CHANGED
@@ -12,6 +12,7 @@ import { Documents } from "./api/resources/documents/client/Client";
12
12
  import { FolderEntities } from "./api/resources/folderEntities/client/Client";
13
13
  import { MetricDefinitions } from "./api/resources/metricDefinitions/client/Client";
14
14
  import { MlModels } from "./api/resources/mlModels/client/Client";
15
+ import { Organizations } from "./api/resources/organizations/client/Client";
15
16
  import { Sandboxes } from "./api/resources/sandboxes/client/Client";
16
17
  import { TestSuiteRuns } from "./api/resources/testSuiteRuns/client/Client";
17
18
  import { TestSuites } from "./api/resources/testSuites/client/Client";
@@ -19,10 +20,11 @@ import { WorkflowDeployments } from "./api/resources/workflowDeployments/client/
19
20
  import { WorkflowSandboxes } from "./api/resources/workflowSandboxes/client/Client";
20
21
  import { Workflows } from "./api/resources/workflows/client/Client";
21
22
  import { WorkspaceSecrets } from "./api/resources/workspaceSecrets/client/Client";
23
+ import { Workspaces } from "./api/resources/workspaces/client/Client";
22
24
  export declare namespace VellumClient {
23
25
  interface Options {
24
26
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
25
- apiKey: core.Supplier<string>;
27
+ apiKey?: core.Supplier<string | undefined>;
26
28
  }
27
29
  interface RequestOptions {
28
30
  /** The maximum time to wait for a response in seconds. */
@@ -35,7 +37,7 @@ export declare namespace VellumClient {
35
37
  }
36
38
  export declare class VellumClient {
37
39
  protected readonly _options: VellumClient.Options;
38
- constructor(_options: VellumClient.Options);
40
+ constructor(_options?: VellumClient.Options);
39
41
  /**
40
42
  * @param {Vellum.CodeExecutor} request
41
43
  * @param {VellumClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -203,6 +205,8 @@ export declare class VellumClient {
203
205
  get metricDefinitions(): MetricDefinitions;
204
206
  protected _mlModels: MlModels | undefined;
205
207
  get mlModels(): MlModels;
208
+ protected _organizations: Organizations | undefined;
209
+ get organizations(): Organizations;
206
210
  protected _sandboxes: Sandboxes | undefined;
207
211
  get sandboxes(): Sandboxes;
208
212
  protected _testSuiteRuns: TestSuiteRuns | undefined;
@@ -217,7 +221,9 @@ export declare class VellumClient {
217
221
  get workflows(): Workflows;
218
222
  protected _workspaceSecrets: WorkspaceSecrets | undefined;
219
223
  get workspaceSecrets(): WorkspaceSecrets;
224
+ protected _workspaces: Workspaces | undefined;
225
+ get workspaces(): Workspaces;
220
226
  protected _getCustomAuthorizationHeaders(): Promise<{
221
- X_API_KEY: string;
227
+ X_API_KEY: string | undefined;
222
228
  }>;
223
229
  }
package/dist/Client.js CHANGED
@@ -53,15 +53,17 @@ const Client_5 = require("./api/resources/documents/client/Client");
53
53
  const Client_6 = require("./api/resources/folderEntities/client/Client");
54
54
  const Client_7 = require("./api/resources/metricDefinitions/client/Client");
55
55
  const Client_8 = require("./api/resources/mlModels/client/Client");
56
- const Client_9 = require("./api/resources/sandboxes/client/Client");
57
- const Client_10 = require("./api/resources/testSuiteRuns/client/Client");
58
- const Client_11 = require("./api/resources/testSuites/client/Client");
59
- const Client_12 = require("./api/resources/workflowDeployments/client/Client");
60
- const Client_13 = require("./api/resources/workflowSandboxes/client/Client");
61
- const Client_14 = require("./api/resources/workflows/client/Client");
62
- const Client_15 = require("./api/resources/workspaceSecrets/client/Client");
56
+ const Client_9 = require("./api/resources/organizations/client/Client");
57
+ const Client_10 = require("./api/resources/sandboxes/client/Client");
58
+ const Client_11 = require("./api/resources/testSuiteRuns/client/Client");
59
+ const Client_12 = require("./api/resources/testSuites/client/Client");
60
+ const Client_13 = require("./api/resources/workflowDeployments/client/Client");
61
+ const Client_14 = require("./api/resources/workflowSandboxes/client/Client");
62
+ const Client_15 = require("./api/resources/workflows/client/Client");
63
+ const Client_16 = require("./api/resources/workspaceSecrets/client/Client");
64
+ const Client_17 = require("./api/resources/workspaces/client/Client");
63
65
  class VellumClient {
64
- constructor(_options) {
66
+ constructor(_options = {}) {
65
67
  this._options = _options;
66
68
  }
67
69
  /**
@@ -93,7 +95,7 @@ class VellumClient {
93
95
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
94
96
  .predict, "v1/execute-code"),
95
97
  method: "POST",
96
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
98
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
97
99
  contentType: "application/json",
98
100
  requestType: "json",
99
101
  body: serializers.CodeExecutor.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -162,7 +164,7 @@ class VellumClient {
162
164
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
163
165
  .predict, "v1/execute-prompt"),
164
166
  method: "POST",
165
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
167
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
166
168
  contentType: "application/json",
167
169
  requestType: "json",
168
170
  body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -220,7 +222,7 @@ class VellumClient {
220
222
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
221
223
  .predict, "v1/execute-prompt-stream"),
222
224
  method: "POST",
223
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
225
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
224
226
  contentType: "application/json",
225
227
  requestType: "json",
226
228
  body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -305,7 +307,7 @@ class VellumClient {
305
307
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
306
308
  .predict, "v1/execute-workflow"),
307
309
  method: "POST",
308
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
310
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
309
311
  contentType: "application/json",
310
312
  requestType: "json",
311
313
  body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -361,7 +363,7 @@ class VellumClient {
361
363
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
362
364
  .predict, "v1/execute-workflow-stream"),
363
365
  method: "POST",
364
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
366
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
365
367
  contentType: "application/json",
366
368
  requestType: "json",
367
369
  body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -448,7 +450,7 @@ class VellumClient {
448
450
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
449
451
  .predict, "v1/generate"),
450
452
  method: "POST",
451
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
453
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
452
454
  contentType: "application/json",
453
455
  requestType: "json",
454
456
  body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -509,7 +511,7 @@ class VellumClient {
509
511
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
510
512
  .predict, "v1/generate-stream"),
511
513
  method: "POST",
512
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
514
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
513
515
  contentType: "application/json",
514
516
  requestType: "json",
515
517
  body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -590,7 +592,7 @@ class VellumClient {
590
592
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
591
593
  .predict, "v1/search"),
592
594
  method: "POST",
593
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
595
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
594
596
  contentType: "application/json",
595
597
  requestType: "json",
596
598
  body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -658,7 +660,7 @@ class VellumClient {
658
660
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
659
661
  .predict, "v1/submit-completion-actuals"),
660
662
  method: "POST",
661
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
663
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
662
664
  contentType: "application/json",
663
665
  requestType: "json",
664
666
  body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -721,7 +723,7 @@ class VellumClient {
721
723
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
722
724
  .predict, "v1/submit-workflow-execution-actuals"),
723
725
  method: "POST",
724
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
726
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
725
727
  contentType: "application/json",
726
728
  requestType: "json",
727
729
  body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
@@ -787,33 +789,41 @@ class VellumClient {
787
789
  var _a;
788
790
  return ((_a = this._mlModels) !== null && _a !== void 0 ? _a : (this._mlModels = new Client_8.MlModels(this._options)));
789
791
  }
792
+ get organizations() {
793
+ var _a;
794
+ return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new Client_9.Organizations(this._options)));
795
+ }
790
796
  get sandboxes() {
791
797
  var _a;
792
- return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new Client_9.Sandboxes(this._options)));
798
+ return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new Client_10.Sandboxes(this._options)));
793
799
  }
794
800
  get testSuiteRuns() {
795
801
  var _a;
796
- return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new Client_10.TestSuiteRuns(this._options)));
802
+ return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new Client_11.TestSuiteRuns(this._options)));
797
803
  }
798
804
  get testSuites() {
799
805
  var _a;
800
- return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new Client_11.TestSuites(this._options)));
806
+ return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new Client_12.TestSuites(this._options)));
801
807
  }
802
808
  get workflowDeployments() {
803
809
  var _a;
804
- return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new Client_12.WorkflowDeployments(this._options)));
810
+ return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new Client_13.WorkflowDeployments(this._options)));
805
811
  }
806
812
  get workflowSandboxes() {
807
813
  var _a;
808
- return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new Client_13.WorkflowSandboxes(this._options)));
814
+ return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new Client_14.WorkflowSandboxes(this._options)));
809
815
  }
810
816
  get workflows() {
811
817
  var _a;
812
- return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new Client_14.Workflows(this._options)));
818
+ return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new Client_15.Workflows(this._options)));
813
819
  }
814
820
  get workspaceSecrets() {
815
821
  var _a;
816
- return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new Client_15.WorkspaceSecrets(this._options)));
822
+ return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new Client_16.WorkspaceSecrets(this._options)));
823
+ }
824
+ get workspaces() {
825
+ var _a;
826
+ return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new Client_17.Workspaces(this._options)));
817
827
  }
818
828
  _getCustomAuthorizationHeaders() {
819
829
  return __awaiter(this, void 0, void 0, function* () {
@@ -7,7 +7,7 @@ import * as Vellum from "../../../index";
7
7
  export declare namespace AdHoc {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
10
- apiKey: core.Supplier<string>;
10
+ apiKey?: core.Supplier<string | undefined>;
11
11
  }
12
12
  interface RequestOptions {
13
13
  /** The maximum time to wait for a response in seconds. */
@@ -20,9 +20,9 @@ export declare namespace AdHoc {
20
20
  }
21
21
  export declare class AdHoc {
22
22
  protected readonly _options: AdHoc.Options;
23
- constructor(_options: AdHoc.Options);
23
+ constructor(_options?: AdHoc.Options);
24
24
  adhocExecutePromptStream(request: Vellum.AdHocExecutePromptStream, requestOptions?: AdHoc.RequestOptions): Promise<core.Stream<Vellum.AdHocExecutePromptEvent>>;
25
25
  protected _getCustomAuthorizationHeaders(): Promise<{
26
- X_API_KEY: string;
26
+ X_API_KEY: string | undefined;
27
27
  }>;
28
28
  }
@@ -46,7 +46,7 @@ const serializers = __importStar(require("../../../../serialization/index"));
46
46
  const url_join_1 = __importDefault(require("url-join"));
47
47
  const errors = __importStar(require("../../../../errors/index"));
48
48
  class AdHoc {
49
- constructor(_options) {
49
+ constructor(_options = {}) {
50
50
  this._options = _options;
51
51
  }
52
52
  adhocExecutePromptStream(request, requestOptions) {
@@ -56,7 +56,7 @@ class AdHoc {
56
56
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
57
57
  .predict, "v1/ad-hoc/execute-prompt-stream"),
58
58
  method: "POST",
59
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
59
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
60
60
  contentType: "application/json",
61
61
  requestType: "json",
62
62
  body: serializers.AdHocExecutePromptStream.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -7,7 +7,7 @@ import * as Vellum from "../../../index";
7
7
  export declare namespace ContainerImages {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
10
- apiKey: core.Supplier<string>;
10
+ apiKey?: core.Supplier<string | undefined>;
11
11
  }
12
12
  interface RequestOptions {
13
13
  /** The maximum time to wait for a response in seconds. */
@@ -20,7 +20,7 @@ export declare namespace ContainerImages {
20
20
  }
21
21
  export declare class ContainerImages {
22
22
  protected readonly _options: ContainerImages.Options;
23
- constructor(_options: ContainerImages.Options);
23
+ constructor(_options?: ContainerImages.Options);
24
24
  /**
25
25
  * Retrieve a list of container images for the organization.
26
26
  *
@@ -61,6 +61,6 @@ export declare class ContainerImages {
61
61
  */
62
62
  pushContainerImage(request: Vellum.PushContainerImageRequest, requestOptions?: ContainerImages.RequestOptions): Promise<Vellum.ContainerImageRead>;
63
63
  protected _getCustomAuthorizationHeaders(): Promise<{
64
- X_API_KEY: string;
64
+ X_API_KEY: string | undefined;
65
65
  }>;
66
66
  }
@@ -45,7 +45,7 @@ const url_join_1 = __importDefault(require("url-join"));
45
45
  const serializers = __importStar(require("../../../../serialization/index"));
46
46
  const errors = __importStar(require("../../../../errors/index"));
47
47
  class ContainerImages {
48
- constructor(_options) {
48
+ constructor(_options = {}) {
49
49
  this._options = _options;
50
50
  }
51
51
  /**
@@ -75,7 +75,7 @@ class ContainerImages {
75
75
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
76
76
  .default, "v1/container-images"),
77
77
  method: "GET",
78
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
78
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
79
79
  contentType: "application/json",
80
80
  queryParameters: _queryParams,
81
81
  requestType: "json",
@@ -128,7 +128,7 @@ class ContainerImages {
128
128
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
129
129
  .default, `v1/container-images/${encodeURIComponent(id)}`),
130
130
  method: "GET",
131
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
131
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
132
132
  contentType: "application/json",
133
133
  requestType: "json",
134
134
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -177,7 +177,7 @@ class ContainerImages {
177
177
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
178
178
  .default, "v1/container-images/docker-service-token"),
179
179
  method: "GET",
180
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
180
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
181
181
  contentType: "application/json",
182
182
  requestType: "json",
183
183
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -231,7 +231,7 @@ class ContainerImages {
231
231
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
232
232
  .default, "v1/container-images/push"),
233
233
  method: "POST",
234
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
234
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
235
235
  contentType: "application/json",
236
236
  requestType: "json",
237
237
  body: serializers.PushContainerImageRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -7,7 +7,7 @@ import * as Vellum from "../../../index";
7
7
  export declare namespace Deployments {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
10
- apiKey: core.Supplier<string>;
10
+ apiKey?: core.Supplier<string | undefined>;
11
11
  }
12
12
  interface RequestOptions {
13
13
  /** The maximum time to wait for a response in seconds. */
@@ -20,7 +20,7 @@ export declare namespace Deployments {
20
20
  }
21
21
  export declare class Deployments {
22
22
  protected readonly _options: Deployments.Options;
23
- constructor(_options: Deployments.Options);
23
+ constructor(_options?: Deployments.Options);
24
24
  /**
25
25
  * Used to list all Prompt Deployments.
26
26
  *
@@ -117,6 +117,6 @@ export declare class Deployments {
117
117
  */
118
118
  retrieveProviderPayload(request: Vellum.DeploymentProviderPayloadRequest, requestOptions?: Deployments.RequestOptions): Promise<Vellum.DeploymentProviderPayloadResponse>;
119
119
  protected _getCustomAuthorizationHeaders(): Promise<{
120
- X_API_KEY: string;
120
+ X_API_KEY: string | undefined;
121
121
  }>;
122
122
  }
@@ -46,7 +46,7 @@ const url_join_1 = __importDefault(require("url-join"));
46
46
  const serializers = __importStar(require("../../../../serialization/index"));
47
47
  const errors = __importStar(require("../../../../errors/index"));
48
48
  class Deployments {
49
- constructor(_options) {
49
+ constructor(_options = {}) {
50
50
  this._options = _options;
51
51
  }
52
52
  /**
@@ -79,7 +79,7 @@ class Deployments {
79
79
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
80
80
  .default, "v1/deployments"),
81
81
  method: "GET",
82
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
83
83
  contentType: "application/json",
84
84
  queryParameters: _queryParams,
85
85
  requestType: "json",
@@ -132,7 +132,7 @@ class Deployments {
132
132
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
133
133
  .default, `v1/deployments/${encodeURIComponent(id)}`),
134
134
  method: "GET",
135
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
135
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
136
136
  contentType: "application/json",
137
137
  requestType: "json",
138
138
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -185,7 +185,7 @@ class Deployments {
185
185
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
186
186
  .default, `v1/deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
187
187
  method: "GET",
188
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
188
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
189
189
  contentType: "application/json",
190
190
  requestType: "json",
191
191
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -252,7 +252,7 @@ class Deployments {
252
252
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
253
253
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags`),
254
254
  method: "GET",
255
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
255
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
256
256
  contentType: "application/json",
257
257
  queryParameters: _queryParams,
258
258
  requestType: "json",
@@ -306,7 +306,7 @@ class Deployments {
306
306
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
307
307
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
308
308
  method: "GET",
309
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
309
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
310
310
  contentType: "application/json",
311
311
  requestType: "json",
312
312
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -360,7 +360,7 @@ class Deployments {
360
360
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
361
361
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
362
362
  method: "PATCH",
363
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
363
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
364
364
  contentType: "application/json",
365
365
  requestType: "json",
366
366
  body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -435,7 +435,7 @@ class Deployments {
435
435
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
436
436
  .default, "v1/deployments/provider-payload"),
437
437
  method: "POST",
438
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.12.17", "User-Agent": "vellum-ai/0.12.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
438
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.0", "User-Agent": "vellum-ai/0.13.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
439
439
  contentType: "application/json",
440
440
  requestType: "json",
441
441
  body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
@@ -7,7 +7,7 @@ import * as Vellum from "../../../index";
7
7
  export declare namespace DocumentIndexes {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
10
- apiKey: core.Supplier<string>;
10
+ apiKey?: core.Supplier<string | undefined>;
11
11
  }
12
12
  interface RequestOptions {
13
13
  /** The maximum time to wait for a response in seconds. */
@@ -20,7 +20,7 @@ export declare namespace DocumentIndexes {
20
20
  }
21
21
  export declare class DocumentIndexes {
22
22
  protected readonly _options: DocumentIndexes.Options;
23
- constructor(_options: DocumentIndexes.Options);
23
+ constructor(_options?: DocumentIndexes.Options);
24
24
  /**
25
25
  * Used to retrieve a list of Document Indexes.
26
26
  *
@@ -170,6 +170,6 @@ export declare class DocumentIndexes {
170
170
  */
171
171
  removeDocument(documentId: string, id: string, requestOptions?: DocumentIndexes.RequestOptions): Promise<void>;
172
172
  protected _getCustomAuthorizationHeaders(): Promise<{
173
- X_API_KEY: string;
173
+ X_API_KEY: string | undefined;
174
174
  }>;
175
175
  }