vellum-ai 0.7.0 → 0.7.2

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 (179) hide show
  1. package/Client.d.ts +6 -3
  2. package/Client.js +15 -12
  3. package/api/client/requests/ExecutePromptRequest.d.ts +3 -3
  4. package/api/client/requests/ExecutePromptStreamRequest.d.ts +3 -3
  5. package/api/client/requests/ExecuteWorkflowRequest.d.ts +5 -0
  6. package/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +5 -0
  7. package/api/resources/deployments/client/Client.js +5 -5
  8. package/api/resources/documentIndexes/client/Client.js +8 -8
  9. package/api/resources/documents/client/Client.js +5 -5
  10. package/api/resources/folderEntities/client/Client.js +1 -1
  11. package/api/resources/sandboxes/client/Client.js +3 -3
  12. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  13. package/api/resources/testSuites/client/Client.js +4 -4
  14. package/api/resources/workflowDeployments/client/Client.js +4 -4
  15. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  16. package/api/types/ArrayVellumValueItemRequest.d.ts +25 -0
  17. package/api/types/ArrayVellumValueItemRequest.js +5 -0
  18. package/api/types/ErrorVellumValueRequest.d.ts +10 -0
  19. package/api/types/ErrorVellumValueRequest.js +5 -0
  20. package/api/types/FunctionCallVellumValueRequest.d.ts +10 -0
  21. package/api/types/FunctionCallVellumValueRequest.js +5 -0
  22. package/api/types/ImageVellumValueRequest.d.ts +10 -0
  23. package/api/types/ImageVellumValueRequest.js +5 -0
  24. package/api/types/JsonVellumValueRequest.d.ts +9 -0
  25. package/api/types/JsonVellumValueRequest.js +5 -0
  26. package/api/types/NamedTestCaseArrayVariableValue.d.ts +11 -0
  27. package/api/types/NamedTestCaseArrayVariableValue.js +5 -0
  28. package/api/types/NamedTestCaseArrayVariableValueRequest.d.ts +11 -0
  29. package/api/types/NamedTestCaseArrayVariableValueRequest.js +5 -0
  30. package/api/types/NamedTestCaseVariableValue.d.ts +4 -1
  31. package/api/types/NamedTestCaseVariableValueRequest.d.ts +4 -1
  32. package/api/types/NumberVellumValueRequest.d.ts +9 -0
  33. package/api/types/NumberVellumValueRequest.js +5 -0
  34. package/api/types/PromptDeploymentExpandMetaRequestRequest.d.ts +5 -5
  35. package/api/types/PromptExecutionMeta.d.ts +1 -1
  36. package/api/types/PromptNodeExecutionMeta.d.ts +10 -0
  37. package/api/types/PromptNodeExecutionMeta.js +5 -0
  38. package/api/types/PromptNodeResultData.d.ts +2 -0
  39. package/api/types/StringVellumValueRequest.d.ts +9 -0
  40. package/api/types/StringVellumValueRequest.js +5 -0
  41. package/api/types/TestCaseArrayVariableValue.d.ts +12 -0
  42. package/api/types/TestCaseArrayVariableValue.js +5 -0
  43. package/api/types/TestCaseVariableValue.d.ts +4 -1
  44. package/api/types/WorkflowExpandMetaRequest.d.ts +7 -0
  45. package/api/types/WorkflowExpandMetaRequest.js +5 -0
  46. package/api/types/index.d.ts +12 -0
  47. package/api/types/index.js +12 -0
  48. package/dist/Client.d.ts +6 -3
  49. package/dist/Client.js +15 -12
  50. package/dist/api/client/requests/ExecutePromptRequest.d.ts +3 -3
  51. package/dist/api/client/requests/ExecutePromptStreamRequest.d.ts +3 -3
  52. package/dist/api/client/requests/ExecuteWorkflowRequest.d.ts +5 -0
  53. package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +5 -0
  54. package/dist/api/resources/deployments/client/Client.js +5 -5
  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 +1 -1
  58. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  59. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  60. package/dist/api/resources/testSuites/client/Client.js +4 -4
  61. package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
  62. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  63. package/dist/api/types/ArrayVellumValueItemRequest.d.ts +25 -0
  64. package/dist/api/types/ArrayVellumValueItemRequest.js +5 -0
  65. package/dist/api/types/ErrorVellumValueRequest.d.ts +10 -0
  66. package/dist/api/types/ErrorVellumValueRequest.js +5 -0
  67. package/dist/api/types/FunctionCallVellumValueRequest.d.ts +10 -0
  68. package/dist/api/types/FunctionCallVellumValueRequest.js +5 -0
  69. package/dist/api/types/ImageVellumValueRequest.d.ts +10 -0
  70. package/dist/api/types/ImageVellumValueRequest.js +5 -0
  71. package/dist/api/types/JsonVellumValueRequest.d.ts +9 -0
  72. package/dist/api/types/JsonVellumValueRequest.js +5 -0
  73. package/dist/api/types/NamedTestCaseArrayVariableValue.d.ts +11 -0
  74. package/dist/api/types/NamedTestCaseArrayVariableValue.js +5 -0
  75. package/dist/api/types/NamedTestCaseArrayVariableValueRequest.d.ts +11 -0
  76. package/dist/api/types/NamedTestCaseArrayVariableValueRequest.js +5 -0
  77. package/dist/api/types/NamedTestCaseVariableValue.d.ts +4 -1
  78. package/dist/api/types/NamedTestCaseVariableValueRequest.d.ts +4 -1
  79. package/dist/api/types/NumberVellumValueRequest.d.ts +9 -0
  80. package/dist/api/types/NumberVellumValueRequest.js +5 -0
  81. package/dist/api/types/PromptDeploymentExpandMetaRequestRequest.d.ts +5 -5
  82. package/dist/api/types/PromptExecutionMeta.d.ts +1 -1
  83. package/dist/api/types/PromptNodeExecutionMeta.d.ts +10 -0
  84. package/dist/api/types/PromptNodeExecutionMeta.js +5 -0
  85. package/dist/api/types/PromptNodeResultData.d.ts +2 -0
  86. package/dist/api/types/StringVellumValueRequest.d.ts +9 -0
  87. package/dist/api/types/StringVellumValueRequest.js +5 -0
  88. package/dist/api/types/TestCaseArrayVariableValue.d.ts +12 -0
  89. package/dist/api/types/TestCaseArrayVariableValue.js +5 -0
  90. package/dist/api/types/TestCaseVariableValue.d.ts +4 -1
  91. package/dist/api/types/WorkflowExpandMetaRequest.d.ts +7 -0
  92. package/dist/api/types/WorkflowExpandMetaRequest.js +5 -0
  93. package/dist/api/types/index.d.ts +12 -0
  94. package/dist/api/types/index.js +12 -0
  95. package/dist/serialization/client/requests/ExecuteWorkflowRequest.d.ts +2 -0
  96. package/dist/serialization/client/requests/ExecuteWorkflowRequest.js +2 -0
  97. package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -0
  98. package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.js +2 -0
  99. package/dist/serialization/types/ArrayVellumValueItemRequest.d.ts +34 -0
  100. package/dist/serialization/types/ArrayVellumValueItemRequest.js +49 -0
  101. package/dist/serialization/types/ErrorVellumValueRequest.d.ts +13 -0
  102. package/dist/serialization/types/ErrorVellumValueRequest.js +34 -0
  103. package/dist/serialization/types/FunctionCallVellumValueRequest.d.ts +13 -0
  104. package/dist/serialization/types/FunctionCallVellumValueRequest.js +34 -0
  105. package/dist/serialization/types/ImageVellumValueRequest.d.ts +13 -0
  106. package/dist/serialization/types/ImageVellumValueRequest.js +34 -0
  107. package/dist/serialization/types/JsonVellumValueRequest.d.ts +12 -0
  108. package/dist/serialization/types/JsonVellumValueRequest.js +33 -0
  109. package/dist/serialization/types/NamedTestCaseArrayVariableValue.d.ts +14 -0
  110. package/dist/serialization/types/NamedTestCaseArrayVariableValue.js +35 -0
  111. package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +14 -0
  112. package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.js +35 -0
  113. package/dist/serialization/types/NamedTestCaseVariableValue.d.ts +5 -1
  114. package/dist/serialization/types/NamedTestCaseVariableValue.js +2 -0
  115. package/dist/serialization/types/NamedTestCaseVariableValueRequest.d.ts +5 -1
  116. package/dist/serialization/types/NamedTestCaseVariableValueRequest.js +2 -0
  117. package/dist/serialization/types/NumberVellumValueRequest.d.ts +12 -0
  118. package/dist/serialization/types/NumberVellumValueRequest.js +33 -0
  119. package/dist/serialization/types/PromptDeploymentExpandMetaRequestRequest.d.ts +2 -2
  120. package/dist/serialization/types/PromptDeploymentExpandMetaRequestRequest.js +2 -2
  121. package/dist/serialization/types/PromptExecutionMeta.d.ts +2 -2
  122. package/dist/serialization/types/PromptExecutionMeta.js +2 -2
  123. package/dist/serialization/types/PromptNodeExecutionMeta.d.ts +13 -0
  124. package/dist/serialization/types/PromptNodeExecutionMeta.js +34 -0
  125. package/dist/serialization/types/PromptNodeResultData.d.ts +2 -0
  126. package/dist/serialization/types/PromptNodeResultData.js +2 -0
  127. package/dist/serialization/types/StringVellumValueRequest.d.ts +12 -0
  128. package/dist/serialization/types/StringVellumValueRequest.js +33 -0
  129. package/dist/serialization/types/TestCaseArrayVariableValue.d.ts +15 -0
  130. package/dist/serialization/types/TestCaseArrayVariableValue.js +36 -0
  131. package/dist/serialization/types/TestCaseVariableValue.d.ts +5 -1
  132. package/dist/serialization/types/TestCaseVariableValue.js +2 -0
  133. package/dist/serialization/types/WorkflowExpandMetaRequest.d.ts +12 -0
  134. package/dist/serialization/types/WorkflowExpandMetaRequest.js +33 -0
  135. package/dist/serialization/types/index.d.ts +12 -0
  136. package/dist/serialization/types/index.js +12 -0
  137. package/package.json +1 -1
  138. package/serialization/client/requests/ExecuteWorkflowRequest.d.ts +2 -0
  139. package/serialization/client/requests/ExecuteWorkflowRequest.js +2 -0
  140. package/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -0
  141. package/serialization/client/requests/ExecuteWorkflowStreamRequest.js +2 -0
  142. package/serialization/types/ArrayVellumValueItemRequest.d.ts +34 -0
  143. package/serialization/types/ArrayVellumValueItemRequest.js +49 -0
  144. package/serialization/types/ErrorVellumValueRequest.d.ts +13 -0
  145. package/serialization/types/ErrorVellumValueRequest.js +34 -0
  146. package/serialization/types/FunctionCallVellumValueRequest.d.ts +13 -0
  147. package/serialization/types/FunctionCallVellumValueRequest.js +34 -0
  148. package/serialization/types/ImageVellumValueRequest.d.ts +13 -0
  149. package/serialization/types/ImageVellumValueRequest.js +34 -0
  150. package/serialization/types/JsonVellumValueRequest.d.ts +12 -0
  151. package/serialization/types/JsonVellumValueRequest.js +33 -0
  152. package/serialization/types/NamedTestCaseArrayVariableValue.d.ts +14 -0
  153. package/serialization/types/NamedTestCaseArrayVariableValue.js +35 -0
  154. package/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +14 -0
  155. package/serialization/types/NamedTestCaseArrayVariableValueRequest.js +35 -0
  156. package/serialization/types/NamedTestCaseVariableValue.d.ts +5 -1
  157. package/serialization/types/NamedTestCaseVariableValue.js +2 -0
  158. package/serialization/types/NamedTestCaseVariableValueRequest.d.ts +5 -1
  159. package/serialization/types/NamedTestCaseVariableValueRequest.js +2 -0
  160. package/serialization/types/NumberVellumValueRequest.d.ts +12 -0
  161. package/serialization/types/NumberVellumValueRequest.js +33 -0
  162. package/serialization/types/PromptDeploymentExpandMetaRequestRequest.d.ts +2 -2
  163. package/serialization/types/PromptDeploymentExpandMetaRequestRequest.js +2 -2
  164. package/serialization/types/PromptExecutionMeta.d.ts +2 -2
  165. package/serialization/types/PromptExecutionMeta.js +2 -2
  166. package/serialization/types/PromptNodeExecutionMeta.d.ts +13 -0
  167. package/serialization/types/PromptNodeExecutionMeta.js +34 -0
  168. package/serialization/types/PromptNodeResultData.d.ts +2 -0
  169. package/serialization/types/PromptNodeResultData.js +2 -0
  170. package/serialization/types/StringVellumValueRequest.d.ts +12 -0
  171. package/serialization/types/StringVellumValueRequest.js +33 -0
  172. package/serialization/types/TestCaseArrayVariableValue.d.ts +15 -0
  173. package/serialization/types/TestCaseArrayVariableValue.js +36 -0
  174. package/serialization/types/TestCaseVariableValue.d.ts +5 -1
  175. package/serialization/types/TestCaseVariableValue.js +2 -0
  176. package/serialization/types/WorkflowExpandMetaRequest.d.ts +12 -0
  177. package/serialization/types/WorkflowExpandMetaRequest.js +33 -0
  178. package/serialization/types/index.d.ts +12 -0
  179. package/serialization/types/index.js +12 -0
package/Client.d.ts CHANGED
@@ -54,11 +54,11 @@ export declare class VellumClient {
54
54
  * externalId: "string",
55
55
  * expandMeta: {
56
56
  * modelName: true,
57
+ * usage: true,
58
+ * finishReason: true,
57
59
  * latency: true,
58
60
  * deploymentReleaseTag: true,
59
- * promptVersionId: true,
60
- * finishReason: true,
61
- * usage: true
61
+ * promptVersionId: true
62
62
  * },
63
63
  * rawOverrides: {
64
64
  * body: {
@@ -103,6 +103,9 @@ export declare class VellumClient {
103
103
  * name: "string",
104
104
  * value: "string"
105
105
  * }],
106
+ * expandMeta: {
107
+ * usage: true
108
+ * },
106
109
  * workflowDeploymentId: "string",
107
110
  * workflowDeploymentName: "string",
108
111
  * releaseTag: "string",
package/Client.js CHANGED
@@ -82,11 +82,11 @@ class VellumClient {
82
82
  * externalId: "string",
83
83
  * expandMeta: {
84
84
  * modelName: true,
85
+ * usage: true,
86
+ * finishReason: true,
85
87
  * latency: true,
86
88
  * deploymentReleaseTag: true,
87
- * promptVersionId: true,
88
- * finishReason: true,
89
- * usage: true
89
+ * promptVersionId: true
90
90
  * },
91
91
  * rawOverrides: {
92
92
  * body: {
@@ -116,7 +116,7 @@ class VellumClient {
116
116
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
117
117
  .predict, "v1/execute-prompt"),
118
118
  method: "POST",
119
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
119
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
120
120
  contentType: "application/json",
121
121
  requestType: "json",
122
122
  body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -174,7 +174,7 @@ class VellumClient {
174
174
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
175
175
  .predict, "v1/execute-prompt-stream"),
176
176
  method: "POST",
177
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
177
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
178
178
  contentType: "application/json",
179
179
  requestType: "json",
180
180
  body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -250,6 +250,9 @@ class VellumClient {
250
250
  * name: "string",
251
251
  * value: "string"
252
252
  * }],
253
+ * expandMeta: {
254
+ * usage: true
255
+ * },
253
256
  * workflowDeploymentId: "string",
254
257
  * workflowDeploymentName: "string",
255
258
  * releaseTag: "string",
@@ -263,7 +266,7 @@ class VellumClient {
263
266
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
264
267
  .predict, "v1/execute-workflow"),
265
268
  method: "POST",
266
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
269
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
267
270
  contentType: "application/json",
268
271
  requestType: "json",
269
272
  body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -319,7 +322,7 @@ class VellumClient {
319
322
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
320
323
  .predict, "v1/execute-workflow-stream"),
321
324
  method: "POST",
322
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
325
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
323
326
  contentType: "application/json",
324
327
  requestType: "json",
325
328
  body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -404,7 +407,7 @@ class VellumClient {
404
407
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
405
408
  .predict, "v1/generate"),
406
409
  method: "POST",
407
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
410
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
408
411
  contentType: "application/json",
409
412
  requestType: "json",
410
413
  body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -465,7 +468,7 @@ class VellumClient {
465
468
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
466
469
  .predict, "v1/generate-stream"),
467
470
  method: "POST",
468
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
471
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
469
472
  contentType: "application/json",
470
473
  requestType: "json",
471
474
  body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -546,7 +549,7 @@ class VellumClient {
546
549
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
547
550
  .predict, "v1/search"),
548
551
  method: "POST",
549
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
552
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
550
553
  contentType: "application/json",
551
554
  requestType: "json",
552
555
  body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -614,7 +617,7 @@ class VellumClient {
614
617
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
615
618
  .predict, "v1/submit-completion-actuals"),
616
619
  method: "POST",
617
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
620
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
618
621
  contentType: "application/json",
619
622
  requestType: "json",
620
623
  body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -675,7 +678,7 @@ class VellumClient {
675
678
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
676
679
  .predict, "v1/submit-workflow-execution-actuals"),
677
680
  method: "POST",
678
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
681
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
679
682
  contentType: "application/json",
680
683
  requestType: "json",
681
684
  body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
@@ -16,11 +16,11 @@ import * as Vellum from "../../index";
16
16
  * externalId: "string",
17
17
  * expandMeta: {
18
18
  * modelName: true,
19
+ * usage: true,
20
+ * finishReason: true,
19
21
  * latency: true,
20
22
  * deploymentReleaseTag: true,
21
- * promptVersionId: true,
22
- * finishReason: true,
23
- * usage: true
23
+ * promptVersionId: true
24
24
  * },
25
25
  * rawOverrides: {
26
26
  * body: {
@@ -16,11 +16,11 @@ import * as Vellum from "../../index";
16
16
  * externalId: "string",
17
17
  * expandMeta: {
18
18
  * modelName: true,
19
+ * usage: true,
20
+ * finishReason: true,
19
21
  * latency: true,
20
22
  * deploymentReleaseTag: true,
21
- * promptVersionId: true,
22
- * finishReason: true,
23
- * usage: true
23
+ * promptVersionId: true
24
24
  * },
25
25
  * rawOverrides: {
26
26
  * body: {
@@ -10,6 +10,9 @@ import * as Vellum from "../../index";
10
10
  * name: "string",
11
11
  * value: "string"
12
12
  * }],
13
+ * expandMeta: {
14
+ * usage: true
15
+ * },
13
16
  * workflowDeploymentId: "string",
14
17
  * workflowDeploymentName: "string",
15
18
  * releaseTag: "string",
@@ -19,6 +22,8 @@ import * as Vellum from "../../index";
19
22
  export interface ExecuteWorkflowRequest {
20
23
  /** The list of inputs defined in the Workflow's Deployment with their corresponding values. */
21
24
  inputs: Vellum.WorkflowRequestInputRequest[];
25
+ /** An optionally specified configuration used to opt in to including additional metadata about this workflow execution in the API response. Corresponding values will be returned under the `execution_meta` key within NODE events in the response stream. */
26
+ expandMeta?: Vellum.WorkflowExpandMetaRequest;
22
27
  /** The ID of the Workflow Deployment. Must provide either this or workflow_deployment_name. */
23
28
  workflowDeploymentId?: string;
24
29
  /** The name of the Workflow Deployment. Must provide either this or workflow_deployment_id. */
@@ -10,6 +10,9 @@ import * as Vellum from "../../index";
10
10
  * name: "string",
11
11
  * value: "string"
12
12
  * }],
13
+ * expandMeta: {
14
+ * usage: true
15
+ * },
13
16
  * workflowDeploymentId: "string",
14
17
  * workflowDeploymentName: "string",
15
18
  * releaseTag: "string",
@@ -20,6 +23,8 @@ import * as Vellum from "../../index";
20
23
  export interface ExecuteWorkflowStreamRequest {
21
24
  /** The list of inputs defined in the Workflow's Deployment with their corresponding values. */
22
25
  inputs: Vellum.WorkflowRequestInputRequest[];
26
+ /** An optionally specified configuration used to opt in to including additional metadata about this workflow execution in the API response. Corresponding values will be returned under the `execution_meta` key within NODE events in the response stream. */
27
+ expandMeta?: Vellum.WorkflowExpandMetaRequest;
23
28
  /** The ID of the Workflow Deployment. Must provide either this or workflow_deployment_name. */
24
29
  workflowDeploymentId?: string;
25
30
  /** The name of the Workflow Deployment. Must provide either this or workflow_deployment_id. */
@@ -77,7 +77,7 @@ class Deployments {
77
77
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
78
78
  .default, "v1/deployments"),
79
79
  method: "GET",
80
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
80
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
81
81
  contentType: "application/json",
82
82
  queryParameters: _queryParams,
83
83
  requestType: "json",
@@ -130,7 +130,7 @@ class Deployments {
130
130
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
131
131
  .default, `v1/deployments/${encodeURIComponent(id)}`),
132
132
  method: "GET",
133
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
133
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
134
134
  contentType: "application/json",
135
135
  requestType: "json",
136
136
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -183,7 +183,7 @@ class Deployments {
183
183
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
184
184
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
185
185
  method: "GET",
186
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
186
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
187
187
  contentType: "application/json",
188
188
  requestType: "json",
189
189
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -237,7 +237,7 @@ class Deployments {
237
237
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
238
238
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
239
239
  method: "PATCH",
240
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
240
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
241
241
  contentType: "application/json",
242
242
  requestType: "json",
243
243
  body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -297,7 +297,7 @@ class Deployments {
297
297
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
298
298
  .default, "v1/deployments/provider-payload"),
299
299
  method: "POST",
300
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
300
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
301
301
  contentType: "application/json",
302
302
  requestType: "json",
303
303
  body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
@@ -81,7 +81,7 @@ class DocumentIndexes {
81
81
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
82
82
  .default, "v1/document-indexes"),
83
83
  method: "GET",
84
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
84
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
85
85
  contentType: "application/json",
86
86
  queryParameters: _queryParams,
87
87
  requestType: "json",
@@ -148,7 +148,7 @@ class DocumentIndexes {
148
148
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
149
149
  .default, "v1/document-indexes"),
150
150
  method: "POST",
151
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
151
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
152
152
  contentType: "application/json",
153
153
  requestType: "json",
154
154
  body: serializers.DocumentIndexCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -201,7 +201,7 @@ class DocumentIndexes {
201
201
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
202
202
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
203
203
  method: "GET",
204
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
204
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
205
205
  contentType: "application/json",
206
206
  requestType: "json",
207
207
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -258,7 +258,7 @@ class DocumentIndexes {
258
258
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
259
259
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
260
260
  method: "PUT",
261
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
261
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
262
262
  contentType: "application/json",
263
263
  requestType: "json",
264
264
  body: serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -311,7 +311,7 @@ class DocumentIndexes {
311
311
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
312
312
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
313
313
  method: "DELETE",
314
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
314
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
315
315
  contentType: "application/json",
316
316
  requestType: "json",
317
317
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -363,7 +363,7 @@ class DocumentIndexes {
363
363
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
364
364
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
365
365
  method: "PATCH",
366
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "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.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
367
367
  contentType: "application/json",
368
368
  requestType: "json",
369
369
  body: serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
@@ -419,7 +419,7 @@ class DocumentIndexes {
419
419
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
420
420
  .default, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
421
421
  method: "POST",
422
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
422
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
423
423
  contentType: "application/json",
424
424
  requestType: "json",
425
425
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -467,7 +467,7 @@ class DocumentIndexes {
467
467
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
468
468
  .default, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
469
469
  method: "DELETE",
470
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
470
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
471
471
  contentType: "application/json",
472
472
  requestType: "json",
473
473
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -79,7 +79,7 @@ class Documents {
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/documents"),
81
81
  method: "GET",
82
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "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.7.2", "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 Documents {
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/documents/${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.7.0", "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.7.2", "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,
@@ -184,7 +184,7 @@ class Documents {
184
184
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
185
185
  .default, `v1/documents/${encodeURIComponent(id)}`),
186
186
  method: "DELETE",
187
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
187
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
188
188
  contentType: "application/json",
189
189
  requestType: "json",
190
190
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -232,7 +232,7 @@ class Documents {
232
232
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
233
233
  .default, `v1/documents/${encodeURIComponent(id)}`),
234
234
  method: "PATCH",
235
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
235
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
236
236
  contentType: "application/json",
237
237
  requestType: "json",
238
238
  body: serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -322,7 +322,7 @@ class Documents {
322
322
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
323
323
  .documents, "v1/upload-document"),
324
324
  method: "POST",
325
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), (yield _maybeEncodedRequest.headers)),
325
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), (yield _maybeEncodedRequest.headers)),
326
326
  requestType: "file",
327
327
  body: yield _maybeEncodedRequest.body,
328
328
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -69,7 +69,7 @@ class FolderEntities {
69
69
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
70
70
  .default, `v1/folders/${encodeURIComponent(folderId)}/add-entity`),
71
71
  method: "POST",
72
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
72
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
73
73
  contentType: "application/json",
74
74
  requestType: "json",
75
75
  body: serializers.AddEntityToFolderRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -64,7 +64,7 @@ class Sandboxes {
64
64
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
65
65
  .default, `v1/sandboxes/${encodeURIComponent(id)}/prompts/${encodeURIComponent(promptId)}/deploy`),
66
66
  method: "POST",
67
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
67
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
68
68
  contentType: "application/json",
69
69
  requestType: "json",
70
70
  body: serializers.DeploySandboxPromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -133,7 +133,7 @@ class Sandboxes {
133
133
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
134
134
  .default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios`),
135
135
  method: "POST",
136
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
136
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
137
137
  contentType: "application/json",
138
138
  requestType: "json",
139
139
  body: serializers.UpsertSandboxScenarioRequestRequest.jsonOrThrow(request, {
@@ -189,7 +189,7 @@ class Sandboxes {
189
189
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
190
190
  .default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios/${encodeURIComponent(scenarioId)}`),
191
191
  method: "DELETE",
192
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
192
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
193
193
  contentType: "application/json",
194
194
  requestType: "json",
195
195
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -74,7 +74,7 @@ class TestSuiteRuns {
74
74
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
75
75
  .default, "v1/test-suite-runs"),
76
76
  method: "POST",
77
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
77
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
78
78
  contentType: "application/json",
79
79
  requestType: "json",
80
80
  body: serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -127,7 +127,7 @@ class TestSuiteRuns {
127
127
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
128
128
  .default, `v1/test-suite-runs/${encodeURIComponent(id)}`),
129
129
  method: "GET",
130
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
130
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
131
131
  contentType: "application/json",
132
132
  requestType: "json",
133
133
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -194,7 +194,7 @@ class TestSuiteRuns {
194
194
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
195
195
  .default, `v1/test-suite-runs/${encodeURIComponent(id)}/executions`),
196
196
  method: "GET",
197
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
197
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
198
198
  contentType: "application/json",
199
199
  queryParameters: _queryParams,
200
200
  requestType: "json",
@@ -73,7 +73,7 @@ class TestSuites {
73
73
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
74
74
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
75
75
  method: "GET",
76
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
76
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
77
77
  contentType: "application/json",
78
78
  queryParameters: _queryParams,
79
79
  requestType: "json",
@@ -136,7 +136,7 @@ class TestSuites {
136
136
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
137
137
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
138
138
  method: "POST",
139
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
139
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
140
140
  contentType: "application/json",
141
141
  requestType: "json",
142
142
  body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -183,7 +183,7 @@ class TestSuites {
183
183
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
184
184
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases-bulk`),
185
185
  method: "POST",
186
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
186
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
187
187
  contentType: "application/json",
188
188
  requestType: "json",
189
189
  body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
@@ -250,7 +250,7 @@ class TestSuites {
250
250
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
251
251
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases/${encodeURIComponent(testCaseId)}`),
252
252
  method: "DELETE",
253
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
253
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
254
254
  contentType: "application/json",
255
255
  requestType: "json",
256
256
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -76,7 +76,7 @@ class WorkflowDeployments {
76
76
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
77
77
  .default, "v1/workflow-deployments"),
78
78
  method: "GET",
79
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
79
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
80
80
  contentType: "application/json",
81
81
  queryParameters: _queryParams,
82
82
  requestType: "json",
@@ -129,7 +129,7 @@ class WorkflowDeployments {
129
129
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
130
130
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
131
131
  method: "GET",
132
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
132
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
133
133
  contentType: "application/json",
134
134
  requestType: "json",
135
135
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -182,7 +182,7 @@ class WorkflowDeployments {
182
182
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
183
183
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
184
184
  method: "GET",
185
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
185
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
186
186
  contentType: "application/json",
187
187
  requestType: "json",
188
188
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -236,7 +236,7 @@ class WorkflowDeployments {
236
236
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
237
237
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
238
238
  method: "PATCH",
239
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
239
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
240
240
  contentType: "application/json",
241
241
  requestType: "json",
242
242
  body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -64,7 +64,7 @@ class WorkflowSandboxes {
64
64
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
65
65
  .default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
66
66
  method: "POST",
67
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
67
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
68
68
  contentType: "application/json",
69
69
  requestType: "json",
70
70
  body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export declare type ArrayVellumValueItemRequest = Vellum.ArrayVellumValueItemRequest.String | Vellum.ArrayVellumValueItemRequest.Number | Vellum.ArrayVellumValueItemRequest.Json | Vellum.ArrayVellumValueItemRequest.Image | Vellum.ArrayVellumValueItemRequest.FunctionCall | Vellum.ArrayVellumValueItemRequest.Error_;
6
+ export declare namespace ArrayVellumValueItemRequest {
7
+ interface String extends Vellum.StringVellumValueRequest {
8
+ type: "STRING";
9
+ }
10
+ interface Number extends Vellum.NumberVellumValueRequest {
11
+ type: "NUMBER";
12
+ }
13
+ interface Json extends Vellum.JsonVellumValueRequest {
14
+ type: "JSON";
15
+ }
16
+ interface Image extends Vellum.ImageVellumValueRequest {
17
+ type: "IMAGE";
18
+ }
19
+ interface FunctionCall extends Vellum.FunctionCallVellumValueRequest {
20
+ type: "FUNCTION_CALL";
21
+ }
22
+ interface Error_ extends Vellum.ErrorVellumValueRequest {
23
+ type: "ERROR";
24
+ }
25
+ }
@@ -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,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A value representing an Error.
7
+ */
8
+ export interface ErrorVellumValueRequest {
9
+ value?: Vellum.VellumErrorRequest;
10
+ }
@@ -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 });