vellum-ai 1.1.2 → 1.1.4

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 (185) 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/folderEntities/client/Client.js +2 -2
  8. package/api/resources/metricDefinitions/client/Client.js +2 -2
  9. package/api/resources/mlModels/client/Client.js +1 -1
  10. package/api/resources/organizations/client/Client.js +1 -1
  11. package/api/resources/prompts/client/Client.js +2 -2
  12. package/api/resources/sandboxes/client/Client.js +3 -3
  13. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  14. package/api/resources/testSuites/client/Client.js +4 -4
  15. package/api/resources/workflowDeployments/client/Client.js +9 -9
  16. package/api/resources/workflowExecutions/client/Client.js +1 -1
  17. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  18. package/api/resources/workflows/client/Client.js +2 -2
  19. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  20. package/api/resources/workspaces/client/Client.js +1 -1
  21. package/api/types/ArrayChatMessageContentItem.d.ts +1 -1
  22. package/api/types/ArrayChatMessageContentItemRequest.d.ts +1 -1
  23. package/api/types/ChatMessageContent.d.ts +1 -1
  24. package/api/types/ChatMessageContentRequest.d.ts +1 -1
  25. package/api/types/MlModelRead.d.ts +1 -0
  26. package/api/types/NodeExecutionSpan.d.ts +1 -0
  27. package/api/types/PromptBlock.d.ts +1 -1
  28. package/api/types/VellumValue.d.ts +1 -1
  29. package/api/types/VellumValueRequest.d.ts +1 -1
  30. package/api/types/VellumVariableType.d.ts +5 -3
  31. package/api/types/VellumVariableType.js +2 -1
  32. package/api/types/VellumVideo.d.ts +8 -0
  33. package/api/types/VellumVideo.js +5 -0
  34. package/api/types/VellumVideoRequest.d.ts +8 -0
  35. package/api/types/VellumVideoRequest.js +5 -0
  36. package/api/types/VideoChatMessageContent.d.ts +11 -0
  37. package/api/types/VideoChatMessageContent.js +5 -0
  38. package/api/types/VideoChatMessageContentRequest.d.ts +11 -0
  39. package/api/types/VideoChatMessageContentRequest.js +5 -0
  40. package/api/types/VideoPromptBlock.d.ts +14 -0
  41. package/api/types/VideoPromptBlock.js +5 -0
  42. package/api/types/VideoVellumValue.d.ts +11 -0
  43. package/api/types/VideoVellumValue.js +5 -0
  44. package/api/types/VideoVellumValueRequest.d.ts +11 -0
  45. package/api/types/VideoVellumValueRequest.js +5 -0
  46. package/api/types/WorkflowExecutionSpan.d.ts +1 -0
  47. package/api/types/WorkflowExecutionUsageCalculationFulfilledBody.d.ts +8 -0
  48. package/api/types/WorkflowExecutionUsageCalculationFulfilledBody.js +5 -0
  49. package/api/types/index.d.ts +8 -0
  50. package/api/types/index.js +8 -0
  51. package/dist/Client.js +11 -11
  52. package/dist/api/resources/adHoc/client/Client.js +2 -2
  53. package/dist/api/resources/containerImages/client/Client.js +4 -4
  54. package/dist/api/resources/deployments/client/Client.js +8 -8
  55. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  56. package/dist/api/resources/documents/client/Client.js +5 -5
  57. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  58. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  59. package/dist/api/resources/mlModels/client/Client.js +1 -1
  60. package/dist/api/resources/organizations/client/Client.js +1 -1
  61. package/dist/api/resources/prompts/client/Client.js +2 -2
  62. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  63. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  64. package/dist/api/resources/testSuites/client/Client.js +4 -4
  65. package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
  66. package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
  67. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  68. package/dist/api/resources/workflows/client/Client.js +2 -2
  69. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  70. package/dist/api/resources/workspaces/client/Client.js +1 -1
  71. package/dist/api/types/ArrayChatMessageContentItem.d.ts +1 -1
  72. package/dist/api/types/ArrayChatMessageContentItemRequest.d.ts +1 -1
  73. package/dist/api/types/ChatMessageContent.d.ts +1 -1
  74. package/dist/api/types/ChatMessageContentRequest.d.ts +1 -1
  75. package/dist/api/types/MlModelRead.d.ts +1 -0
  76. package/dist/api/types/NodeExecutionSpan.d.ts +1 -0
  77. package/dist/api/types/PromptBlock.d.ts +1 -1
  78. package/dist/api/types/VellumValue.d.ts +1 -1
  79. package/dist/api/types/VellumValueRequest.d.ts +1 -1
  80. package/dist/api/types/VellumVariableType.d.ts +5 -3
  81. package/dist/api/types/VellumVariableType.js +2 -1
  82. package/dist/api/types/VellumVideo.d.ts +8 -0
  83. package/dist/api/types/VellumVideo.js +5 -0
  84. package/dist/api/types/VellumVideoRequest.d.ts +8 -0
  85. package/dist/api/types/VellumVideoRequest.js +5 -0
  86. package/dist/api/types/VideoChatMessageContent.d.ts +11 -0
  87. package/dist/api/types/VideoChatMessageContent.js +5 -0
  88. package/dist/api/types/VideoChatMessageContentRequest.d.ts +11 -0
  89. package/dist/api/types/VideoChatMessageContentRequest.js +5 -0
  90. package/dist/api/types/VideoPromptBlock.d.ts +14 -0
  91. package/dist/api/types/VideoPromptBlock.js +5 -0
  92. package/dist/api/types/VideoVellumValue.d.ts +11 -0
  93. package/dist/api/types/VideoVellumValue.js +5 -0
  94. package/dist/api/types/VideoVellumValueRequest.d.ts +11 -0
  95. package/dist/api/types/VideoVellumValueRequest.js +5 -0
  96. package/dist/api/types/WorkflowExecutionSpan.d.ts +1 -0
  97. package/dist/api/types/WorkflowExecutionUsageCalculationFulfilledBody.d.ts +8 -0
  98. package/dist/api/types/WorkflowExecutionUsageCalculationFulfilledBody.js +5 -0
  99. package/dist/api/types/index.d.ts +8 -0
  100. package/dist/api/types/index.js +8 -0
  101. package/dist/serialization/types/ArrayChatMessageContentItem.d.ts +3 -2
  102. package/dist/serialization/types/ArrayChatMessageContentItem.js +4 -2
  103. package/dist/serialization/types/ArrayChatMessageContentItemRequest.d.ts +3 -2
  104. package/dist/serialization/types/ArrayChatMessageContentItemRequest.js +4 -2
  105. package/dist/serialization/types/ChatMessageContent.d.ts +3 -2
  106. package/dist/serialization/types/ChatMessageContent.js +4 -2
  107. package/dist/serialization/types/ChatMessageContentRequest.d.ts +3 -2
  108. package/dist/serialization/types/ChatMessageContentRequest.js +4 -2
  109. package/dist/serialization/types/MlModelRead.d.ts +1 -0
  110. package/dist/serialization/types/MlModelRead.js +1 -0
  111. package/dist/serialization/types/NodeExecutionSpan.d.ts +2 -0
  112. package/dist/serialization/types/NodeExecutionSpan.js +2 -0
  113. package/dist/serialization/types/PromptBlock.d.ts +3 -2
  114. package/dist/serialization/types/PromptBlock.js +4 -2
  115. package/dist/serialization/types/VellumValue.d.ts +3 -2
  116. package/dist/serialization/types/VellumValue.js +4 -2
  117. package/dist/serialization/types/VellumValueRequest.d.ts +3 -2
  118. package/dist/serialization/types/VellumValueRequest.js +4 -2
  119. package/dist/serialization/types/VellumVariableType.d.ts +1 -1
  120. package/dist/serialization/types/VellumVariableType.js +2 -1
  121. package/dist/serialization/types/VellumVideo.d.ts +13 -0
  122. package/dist/serialization/types/VellumVideo.js +46 -0
  123. package/dist/serialization/types/VellumVideoRequest.d.ts +13 -0
  124. package/dist/serialization/types/VellumVideoRequest.js +44 -0
  125. package/dist/serialization/types/VideoChatMessageContent.d.ts +14 -0
  126. package/dist/serialization/types/VideoChatMessageContent.js +45 -0
  127. package/dist/serialization/types/VideoChatMessageContentRequest.d.ts +14 -0
  128. package/dist/serialization/types/VideoChatMessageContentRequest.js +45 -0
  129. package/dist/serialization/types/VideoPromptBlock.d.ts +18 -0
  130. package/dist/serialization/types/VideoPromptBlock.js +49 -0
  131. package/dist/serialization/types/VideoVellumValue.d.ts +14 -0
  132. package/dist/serialization/types/VideoVellumValue.js +45 -0
  133. package/dist/serialization/types/VideoVellumValueRequest.d.ts +14 -0
  134. package/dist/serialization/types/VideoVellumValueRequest.js +45 -0
  135. package/dist/serialization/types/WorkflowExecutionSpan.d.ts +2 -0
  136. package/dist/serialization/types/WorkflowExecutionSpan.js +2 -0
  137. package/dist/serialization/types/WorkflowExecutionUsageCalculationFulfilledBody.d.ts +15 -0
  138. package/dist/serialization/types/WorkflowExecutionUsageCalculationFulfilledBody.js +46 -0
  139. package/dist/serialization/types/index.d.ts +8 -0
  140. package/dist/serialization/types/index.js +8 -0
  141. package/dist/version.d.ts +1 -1
  142. package/dist/version.js +1 -1
  143. package/package.json +1 -1
  144. package/serialization/types/ArrayChatMessageContentItem.d.ts +3 -2
  145. package/serialization/types/ArrayChatMessageContentItem.js +4 -2
  146. package/serialization/types/ArrayChatMessageContentItemRequest.d.ts +3 -2
  147. package/serialization/types/ArrayChatMessageContentItemRequest.js +4 -2
  148. package/serialization/types/ChatMessageContent.d.ts +3 -2
  149. package/serialization/types/ChatMessageContent.js +4 -2
  150. package/serialization/types/ChatMessageContentRequest.d.ts +3 -2
  151. package/serialization/types/ChatMessageContentRequest.js +4 -2
  152. package/serialization/types/MlModelRead.d.ts +1 -0
  153. package/serialization/types/MlModelRead.js +1 -0
  154. package/serialization/types/NodeExecutionSpan.d.ts +2 -0
  155. package/serialization/types/NodeExecutionSpan.js +2 -0
  156. package/serialization/types/PromptBlock.d.ts +3 -2
  157. package/serialization/types/PromptBlock.js +4 -2
  158. package/serialization/types/VellumValue.d.ts +3 -2
  159. package/serialization/types/VellumValue.js +4 -2
  160. package/serialization/types/VellumValueRequest.d.ts +3 -2
  161. package/serialization/types/VellumValueRequest.js +4 -2
  162. package/serialization/types/VellumVariableType.d.ts +1 -1
  163. package/serialization/types/VellumVariableType.js +2 -1
  164. package/serialization/types/VellumVideo.d.ts +13 -0
  165. package/serialization/types/VellumVideo.js +46 -0
  166. package/serialization/types/VellumVideoRequest.d.ts +13 -0
  167. package/serialization/types/VellumVideoRequest.js +44 -0
  168. package/serialization/types/VideoChatMessageContent.d.ts +14 -0
  169. package/serialization/types/VideoChatMessageContent.js +45 -0
  170. package/serialization/types/VideoChatMessageContentRequest.d.ts +14 -0
  171. package/serialization/types/VideoChatMessageContentRequest.js +45 -0
  172. package/serialization/types/VideoPromptBlock.d.ts +18 -0
  173. package/serialization/types/VideoPromptBlock.js +49 -0
  174. package/serialization/types/VideoVellumValue.d.ts +14 -0
  175. package/serialization/types/VideoVellumValue.js +45 -0
  176. package/serialization/types/VideoVellumValueRequest.d.ts +14 -0
  177. package/serialization/types/VideoVellumValueRequest.js +45 -0
  178. package/serialization/types/WorkflowExecutionSpan.d.ts +2 -0
  179. package/serialization/types/WorkflowExecutionSpan.js +2 -0
  180. package/serialization/types/WorkflowExecutionUsageCalculationFulfilledBody.d.ts +15 -0
  181. package/serialization/types/WorkflowExecutionUsageCalculationFulfilledBody.js +46 -0
  182. package/serialization/types/index.d.ts +8 -0
  183. package/serialization/types/index.js +8 -0
  184. package/version.d.ts +1 -1
  185. package/version.js +1 -1
@@ -97,7 +97,7 @@ class WorkflowDeployments {
97
97
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
98
98
  unrecognizedObjectKeys: "strip",
99
99
  })
100
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "vellum-ai/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
100
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "vellum-ai/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
101
101
  contentType: "application/json",
102
102
  queryParameters: _queryParams,
103
103
  requestType: "json",
@@ -163,7 +163,7 @@ class WorkflowDeployments {
163
163
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
164
164
  unrecognizedObjectKeys: "strip",
165
165
  })
166
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "vellum-ai/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
166
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "vellum-ai/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
167
  contentType: "application/json",
168
168
  requestType: "json",
169
169
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -238,7 +238,7 @@ class WorkflowDeployments {
238
238
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
239
239
  unrecognizedObjectKeys: "strip",
240
240
  })
241
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "vellum-ai/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
241
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "vellum-ai/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
242
242
  contentType: "application/json",
243
243
  queryParameters: _queryParams,
244
244
  requestType: "json",
@@ -303,7 +303,7 @@ class WorkflowDeployments {
303
303
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
304
304
  unrecognizedObjectKeys: "strip",
305
305
  })
306
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "vellum-ai/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
306
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "vellum-ai/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
307
307
  contentType: "application/json",
308
308
  requestType: "json",
309
309
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -370,7 +370,7 @@ class WorkflowDeployments {
370
370
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
371
371
  unrecognizedObjectKeys: "strip",
372
372
  })
373
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "vellum-ai/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
373
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "vellum-ai/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
374
374
  contentType: "application/json",
375
375
  requestType: "json",
376
376
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -452,7 +452,7 @@ class WorkflowDeployments {
452
452
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
453
453
  unrecognizedObjectKeys: "strip",
454
454
  })
455
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "vellum-ai/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
455
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "vellum-ai/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
456
456
  contentType: "application/json",
457
457
  queryParameters: _queryParams,
458
458
  requestType: "json",
@@ -519,7 +519,7 @@ class WorkflowDeployments {
519
519
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
520
520
  unrecognizedObjectKeys: "strip",
521
521
  })
522
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "vellum-ai/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
522
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "vellum-ai/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
523
523
  contentType: "application/json",
524
524
  requestType: "json",
525
525
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -586,7 +586,7 @@ class WorkflowDeployments {
586
586
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
587
587
  unrecognizedObjectKeys: "strip",
588
588
  })
589
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "vellum-ai/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
589
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "vellum-ai/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
590
590
  contentType: "application/json",
591
591
  requestType: "json",
592
592
  body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -655,7 +655,7 @@ class WorkflowDeployments {
655
655
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
656
656
  unrecognizedObjectKeys: "strip",
657
657
  })
658
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "vellum-ai/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
658
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "vellum-ai/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
659
659
  contentType: "application/json",
660
660
  requestType: "json",
661
661
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -79,7 +79,7 @@ class WorkflowExecutions {
79
79
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
80
80
  unrecognizedObjectKeys: "strip",
81
81
  })
82
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "vellum-ai/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "vellum-ai/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
83
  contentType: "application/json",
84
84
  requestType: "json",
85
85
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -81,7 +81,7 @@ class WorkflowSandboxes {
81
81
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
82
82
  unrecognizedObjectKeys: "strip",
83
83
  })
84
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "vellum-ai/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "vellum-ai/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -163,7 +163,7 @@ class WorkflowSandboxes {
163
163
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
164
164
  unrecognizedObjectKeys: "strip",
165
165
  })
166
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "vellum-ai/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
166
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "vellum-ai/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
167
  contentType: "application/json",
168
168
  queryParameters: _queryParams,
169
169
  requestType: "json",
@@ -94,7 +94,7 @@ class Workflows {
94
94
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
95
95
  unrecognizedObjectKeys: "strip",
96
96
  })
97
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "vellum-ai/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "vellum-ai/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
98
98
  contentType: "application/json",
99
99
  queryParameters: _queryParams,
100
100
  requestType: "json",
@@ -174,7 +174,7 @@ class Workflows {
174
174
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
175
175
  unrecognizedObjectKeys: "strip",
176
176
  })
177
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "vellum-ai/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
177
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "vellum-ai/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
178
178
  requestType: "file",
179
179
  duplex: _maybeEncodedRequest.duplex,
180
180
  body: _maybeEncodedRequest.body,
@@ -81,7 +81,7 @@ class WorkspaceSecrets {
81
81
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
82
82
  unrecognizedObjectKeys: "strip",
83
83
  })
84
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "vellum-ai/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "vellum-ai/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -147,7 +147,7 @@ class WorkspaceSecrets {
147
147
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
148
148
  unrecognizedObjectKeys: "strip",
149
149
  })
150
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "vellum-ai/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
150
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "vellum-ai/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
151
151
  contentType: "application/json",
152
152
  requestType: "json",
153
153
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -80,7 +80,7 @@ class Workspaces {
80
80
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
81
81
  unrecognizedObjectKeys: "strip",
82
82
  })
83
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.2", "User-Agent": "vellum-ai/1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "vellum-ai/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
84
  contentType: "application/json",
85
85
  requestType: "json",
86
86
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export type ArrayChatMessageContentItem = Vellum.StringChatMessageContent | Vellum.FunctionCallChatMessageContent | Vellum.ImageChatMessageContent | Vellum.AudioChatMessageContent | Vellum.DocumentChatMessageContent;
5
+ export type ArrayChatMessageContentItem = Vellum.StringChatMessageContent | Vellum.FunctionCallChatMessageContent | Vellum.AudioChatMessageContent | Vellum.VideoChatMessageContent | Vellum.ImageChatMessageContent | Vellum.DocumentChatMessageContent;
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export type ArrayChatMessageContentItemRequest = Vellum.StringChatMessageContentRequest | Vellum.FunctionCallChatMessageContentRequest | Vellum.ImageChatMessageContentRequest | Vellum.AudioChatMessageContentRequest | Vellum.DocumentChatMessageContentRequest;
5
+ export type ArrayChatMessageContentItemRequest = Vellum.StringChatMessageContentRequest | Vellum.FunctionCallChatMessageContentRequest | Vellum.AudioChatMessageContentRequest | Vellum.VideoChatMessageContentRequest | Vellum.ImageChatMessageContentRequest | Vellum.DocumentChatMessageContentRequest;
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export type ChatMessageContent = Vellum.StringChatMessageContent | Vellum.FunctionCallChatMessageContent | Vellum.ArrayChatMessageContent | Vellum.ImageChatMessageContent | Vellum.AudioChatMessageContent | Vellum.DocumentChatMessageContent;
5
+ export type ChatMessageContent = Vellum.StringChatMessageContent | Vellum.FunctionCallChatMessageContent | Vellum.ArrayChatMessageContent | Vellum.AudioChatMessageContent | Vellum.VideoChatMessageContent | Vellum.ImageChatMessageContent | Vellum.DocumentChatMessageContent;
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export type ChatMessageContentRequest = Vellum.StringChatMessageContentRequest | Vellum.FunctionCallChatMessageContentRequest | Vellum.ArrayChatMessageContentRequest | Vellum.ImageChatMessageContentRequest | Vellum.AudioChatMessageContentRequest | Vellum.DocumentChatMessageContentRequest;
5
+ export type ChatMessageContentRequest = Vellum.StringChatMessageContentRequest | Vellum.FunctionCallChatMessageContentRequest | Vellum.ArrayChatMessageContentRequest | Vellum.AudioChatMessageContentRequest | Vellum.VideoChatMessageContentRequest | Vellum.ImageChatMessageContentRequest | Vellum.DocumentChatMessageContentRequest;
@@ -8,4 +8,5 @@ export interface MlModelRead {
8
8
  id: string;
9
9
  /** The unique name of the ML Model. */
10
10
  name: string;
11
+ introducedOn: Date;
11
12
  }
@@ -6,6 +6,7 @@ export interface NodeExecutionSpan {
6
6
  name: "node.execution";
7
7
  events: Vellum.VellumNodeExecutionEvent[];
8
8
  attributes: Vellum.NodeExecutionSpanAttributes;
9
+ usageResult?: Vellum.WorkflowExecutionUsageCalculationFulfilledBody | null;
9
10
  spanId: string;
10
11
  startTs: Date;
11
12
  endTs: Date;
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export type PromptBlock = Vellum.JinjaPromptBlock | Vellum.ChatMessagePromptBlock | Vellum.VariablePromptBlock | Vellum.RichTextPromptBlock | Vellum.AudioPromptBlock | Vellum.FunctionCallPromptBlock | Vellum.ImagePromptBlock | Vellum.DocumentPromptBlock;
5
+ export type PromptBlock = Vellum.JinjaPromptBlock | Vellum.ChatMessagePromptBlock | Vellum.VariablePromptBlock | Vellum.RichTextPromptBlock | Vellum.FunctionCallPromptBlock | Vellum.AudioPromptBlock | Vellum.VideoPromptBlock | Vellum.ImagePromptBlock | Vellum.DocumentPromptBlock;
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export type VellumValue = Vellum.StringVellumValue | Vellum.NumberVellumValue | Vellum.JsonVellumValue | Vellum.ImageVellumValue | Vellum.AudioVellumValue | Vellum.DocumentVellumValue | Vellum.FunctionCallVellumValue | Vellum.ErrorVellumValue | Vellum.ArrayVellumValue | Vellum.ChatHistoryVellumValue | Vellum.SearchResultsVellumValue | Vellum.ThinkingVellumValue;
5
+ export type VellumValue = Vellum.StringVellumValue | Vellum.NumberVellumValue | Vellum.JsonVellumValue | Vellum.AudioVellumValue | Vellum.VideoVellumValue | Vellum.ImageVellumValue | Vellum.DocumentVellumValue | Vellum.FunctionCallVellumValue | Vellum.ErrorVellumValue | Vellum.ArrayVellumValue | Vellum.ChatHistoryVellumValue | Vellum.SearchResultsVellumValue | Vellum.ThinkingVellumValue;
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export type VellumValueRequest = Vellum.StringVellumValueRequest | Vellum.NumberVellumValueRequest | Vellum.JsonVellumValueRequest | Vellum.ImageVellumValueRequest | Vellum.AudioVellumValueRequest | Vellum.DocumentVellumValueRequest | Vellum.FunctionCallVellumValueRequest | Vellum.ErrorVellumValueRequest | Vellum.ArrayVellumValueRequest | Vellum.ChatHistoryVellumValueRequest | Vellum.SearchResultsVellumValueRequest | Vellum.ThinkingVellumValueRequest;
5
+ export type VellumValueRequest = Vellum.StringVellumValueRequest | Vellum.NumberVellumValueRequest | Vellum.JsonVellumValueRequest | Vellum.AudioVellumValueRequest | Vellum.VideoVellumValueRequest | Vellum.ImageVellumValueRequest | Vellum.DocumentVellumValueRequest | Vellum.FunctionCallVellumValueRequest | Vellum.ErrorVellumValueRequest | Vellum.ArrayVellumValueRequest | Vellum.ChatHistoryVellumValueRequest | Vellum.SearchResultsVellumValueRequest | Vellum.ThinkingVellumValueRequest;
@@ -10,13 +10,14 @@
10
10
  * * `ERROR` - ERROR
11
11
  * * `ARRAY` - ARRAY
12
12
  * * `FUNCTION_CALL` - FUNCTION_CALL
13
- * * `IMAGE` - IMAGE
14
13
  * * `AUDIO` - AUDIO
14
+ * * `VIDEO` - VIDEO
15
+ * * `IMAGE` - IMAGE
15
16
  * * `DOCUMENT` - DOCUMENT
16
17
  * * `NULL` - NULL
17
18
  * * `THINKING` - THINKING
18
19
  */
19
- export type VellumVariableType = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY" | "FUNCTION_CALL" | "IMAGE" | "AUDIO" | "DOCUMENT" | "NULL" | "THINKING";
20
+ export type VellumVariableType = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY" | "FUNCTION_CALL" | "AUDIO" | "VIDEO" | "IMAGE" | "DOCUMENT" | "NULL" | "THINKING";
20
21
  export declare const VellumVariableType: {
21
22
  readonly String: "STRING";
22
23
  readonly Number: "NUMBER";
@@ -26,8 +27,9 @@ export declare const VellumVariableType: {
26
27
  readonly Error: "ERROR";
27
28
  readonly Array: "ARRAY";
28
29
  readonly FunctionCall: "FUNCTION_CALL";
29
- readonly Image: "IMAGE";
30
30
  readonly Audio: "AUDIO";
31
+ readonly Video: "VIDEO";
32
+ readonly Image: "IMAGE";
31
33
  readonly Document: "DOCUMENT";
32
34
  readonly Null: "NULL";
33
35
  readonly Thinking: "THINKING";
@@ -13,8 +13,9 @@ exports.VellumVariableType = {
13
13
  Error: "ERROR",
14
14
  Array: "ARRAY",
15
15
  FunctionCall: "FUNCTION_CALL",
16
- Image: "IMAGE",
17
16
  Audio: "AUDIO",
17
+ Video: "VIDEO",
18
+ Image: "IMAGE",
18
19
  Document: "DOCUMENT",
19
20
  Null: "NULL",
20
21
  Thinking: "THINKING",
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface VellumVideo {
5
+ /** A valid data URL containing the video data. */
6
+ src: string;
7
+ metadata?: Record<string, unknown> | null;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface VellumVideoRequest {
5
+ /** A valid data URL containing the video data. */
6
+ src: string;
7
+ metadata?: Record<string, unknown> | null;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A video value that is used in a chat message.
7
+ */
8
+ export interface VideoChatMessageContent {
9
+ type: "VIDEO";
10
+ value: Vellum.VellumVideo;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A video value that is used in a chat message.
7
+ */
8
+ export interface VideoChatMessageContentRequest {
9
+ type: "VIDEO";
10
+ value: Vellum.VellumVideoRequest;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A block that represents an video file in a prompt template.
7
+ */
8
+ export interface VideoPromptBlock {
9
+ blockType: "VIDEO";
10
+ state?: Vellum.PromptBlockState;
11
+ cacheConfig?: Vellum.EphemeralPromptCacheConfig | null;
12
+ src: string;
13
+ metadata?: Record<string, unknown> | null;
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A base Vellum primitive value representing a video.
7
+ */
8
+ export interface VideoVellumValue {
9
+ type: "VIDEO";
10
+ value?: Vellum.VellumVideo | null;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A base Vellum primitive value representing a video.
7
+ */
8
+ export interface VideoVellumValueRequest {
9
+ type: "VIDEO";
10
+ value?: Vellum.VellumVideoRequest | null;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,6 +6,7 @@ export interface WorkflowExecutionSpan {
6
6
  name: "workflow.execution";
7
7
  events: Vellum.VellumWorkflowExecutionEvent[];
8
8
  attributes: Vellum.WorkflowExecutionSpanAttributes;
9
+ usageResult?: Vellum.WorkflowExecutionUsageCalculationFulfilledBody | null;
9
10
  spanId: string;
10
11
  startTs: Date;
11
12
  endTs: Date;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export interface WorkflowExecutionUsageCalculationFulfilledBody {
6
+ usage: Vellum.MlModelUsageWrapper[];
7
+ cost: Vellum.Price[];
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -519,7 +519,14 @@ export * from "./VellumValueRequest";
519
519
  export * from "./VellumVariable";
520
520
  export * from "./VellumVariableExtensions";
521
521
  export * from "./VellumVariableType";
522
+ export * from "./VellumVideo";
523
+ export * from "./VellumVideoRequest";
522
524
  export * from "./VellumWorkflowExecutionEvent";
525
+ export * from "./VideoChatMessageContent";
526
+ export * from "./VideoChatMessageContentRequest";
527
+ export * from "./VideoPromptBlock";
528
+ export * from "./VideoVellumValue";
529
+ export * from "./VideoVellumValueRequest";
523
530
  export * from "./WorkflowDeploymentEventExecutionsResponse";
524
531
  export * from "./WorkflowDeploymentHistoryItem";
525
532
  export * from "./WorkflowDeploymentParentContext";
@@ -556,6 +563,7 @@ export * from "./WorkflowExecutionStreamingBody";
556
563
  export * from "./WorkflowExecutionStreamingEvent";
557
564
  export * from "./WorkflowExecutionUsageCalculationError";
558
565
  export * from "./WorkflowExecutionUsageCalculationErrorCodeEnum";
566
+ export * from "./WorkflowExecutionUsageCalculationFulfilledBody";
559
567
  export * from "./WorkflowExecutionUsageResult";
560
568
  export * from "./WorkflowExecutionViewOnlineEvalMetricResult";
561
569
  export * from "./WorkflowExecutionWorkflowResultEvent";
@@ -535,7 +535,14 @@ __exportStar(require("./VellumValueRequest"), exports);
535
535
  __exportStar(require("./VellumVariable"), exports);
536
536
  __exportStar(require("./VellumVariableExtensions"), exports);
537
537
  __exportStar(require("./VellumVariableType"), exports);
538
+ __exportStar(require("./VellumVideo"), exports);
539
+ __exportStar(require("./VellumVideoRequest"), exports);
538
540
  __exportStar(require("./VellumWorkflowExecutionEvent"), exports);
541
+ __exportStar(require("./VideoChatMessageContent"), exports);
542
+ __exportStar(require("./VideoChatMessageContentRequest"), exports);
543
+ __exportStar(require("./VideoPromptBlock"), exports);
544
+ __exportStar(require("./VideoVellumValue"), exports);
545
+ __exportStar(require("./VideoVellumValueRequest"), exports);
539
546
  __exportStar(require("./WorkflowDeploymentEventExecutionsResponse"), exports);
540
547
  __exportStar(require("./WorkflowDeploymentHistoryItem"), exports);
541
548
  __exportStar(require("./WorkflowDeploymentParentContext"), exports);
@@ -572,6 +579,7 @@ __exportStar(require("./WorkflowExecutionStreamingBody"), exports);
572
579
  __exportStar(require("./WorkflowExecutionStreamingEvent"), exports);
573
580
  __exportStar(require("./WorkflowExecutionUsageCalculationError"), exports);
574
581
  __exportStar(require("./WorkflowExecutionUsageCalculationErrorCodeEnum"), exports);
582
+ __exportStar(require("./WorkflowExecutionUsageCalculationFulfilledBody"), exports);
575
583
  __exportStar(require("./WorkflowExecutionUsageResult"), exports);
576
584
  __exportStar(require("./WorkflowExecutionViewOnlineEvalMetricResult"), exports);
577
585
  __exportStar(require("./WorkflowExecutionWorkflowResultEvent"), exports);