vellum-ai 0.8.29 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. package/.mock/definition/__package__.yml +33 -42
  2. package/.mock/definition/workspaceSecrets.yml +4 -1
  3. package/.mock/openapi/openapi.yml +43 -61
  4. package/Client.js +10 -10
  5. package/api/resources/adHoc/client/Client.js +1 -1
  6. package/api/resources/deployments/client/Client.js +5 -5
  7. package/api/resources/documentIndexes/client/Client.js +8 -8
  8. package/api/resources/documents/client/Client.js +5 -5
  9. package/api/resources/folderEntities/client/Client.js +2 -2
  10. package/api/resources/index.d.ts +1 -0
  11. package/api/resources/index.js +1 -0
  12. package/api/resources/metricDefinitions/client/Client.js +1 -1
  13. package/api/resources/sandboxes/client/Client.js +3 -3
  14. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  15. package/api/resources/testSuites/client/Client.js +4 -4
  16. package/api/resources/workflowDeployments/client/Client.js +4 -4
  17. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  18. package/api/resources/workflows/client/Client.js +1 -1
  19. package/api/resources/workspaceSecrets/client/Client.d.ts +11 -0
  20. package/api/resources/workspaceSecrets/client/Client.js +57 -1
  21. package/api/resources/workspaceSecrets/client/index.d.ts +1 -1
  22. package/api/resources/workspaceSecrets/client/index.js +15 -0
  23. package/api/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.d.ts +11 -0
  24. package/api/resources/workspaceSecrets/client/requests/index.d.ts +1 -0
  25. package/api/resources/workspaceSecrets/client/requests/index.js +2 -0
  26. package/api/types/ArrayInputRequest.d.ts +1 -1
  27. package/api/types/ArrayVellumValue.d.ts +1 -1
  28. package/api/types/ArrayVellumValueRequest.d.ts +1 -1
  29. package/api/types/CodeExecutionNodeArrayResult.d.ts +1 -1
  30. package/api/types/CodeExecutorInputRequest.d.ts +1 -1
  31. package/api/types/CodeExecutorSecretInputRequest.d.ts +12 -0
  32. package/api/types/ExecutionArrayVellumValue.d.ts +1 -1
  33. package/api/types/NamedTestCaseArrayVariableValue.d.ts +1 -1
  34. package/api/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -1
  35. package/api/types/NodeInputCompiledArrayValue.d.ts +1 -1
  36. package/api/types/NodeOutputCompiledArrayValue.d.ts +1 -1
  37. package/api/types/TemplatingNodeArrayResult.d.ts +1 -1
  38. package/api/types/TerminalNodeArrayResult.d.ts +1 -1
  39. package/api/types/TestCaseArrayVariableValue.d.ts +1 -1
  40. package/api/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -1
  41. package/api/types/VellumVariableType.d.ts +3 -1
  42. package/api/types/VellumVariableType.js +1 -0
  43. package/api/types/WorkflowOutputArray.d.ts +1 -1
  44. package/api/types/index.d.ts +1 -2
  45. package/api/types/index.js +1 -2
  46. package/dist/Client.js +10 -10
  47. package/dist/api/resources/adHoc/client/Client.js +1 -1
  48. package/dist/api/resources/deployments/client/Client.js +5 -5
  49. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  50. package/dist/api/resources/documents/client/Client.js +5 -5
  51. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  52. package/dist/api/resources/index.d.ts +1 -0
  53. package/dist/api/resources/index.js +1 -0
  54. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  55. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  56. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  57. package/dist/api/resources/testSuites/client/Client.js +4 -4
  58. package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
  59. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  60. package/dist/api/resources/workflows/client/Client.js +1 -1
  61. package/dist/api/resources/workspaceSecrets/client/Client.d.ts +11 -0
  62. package/dist/api/resources/workspaceSecrets/client/Client.js +57 -1
  63. package/dist/api/resources/workspaceSecrets/client/index.d.ts +1 -1
  64. package/dist/api/resources/workspaceSecrets/client/index.js +15 -0
  65. package/dist/api/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.d.ts +11 -0
  66. package/dist/api/resources/workspaceSecrets/client/requests/index.d.ts +1 -0
  67. package/dist/api/resources/workspaceSecrets/client/requests/index.js +2 -0
  68. package/dist/api/types/ArrayInputRequest.d.ts +1 -1
  69. package/dist/api/types/ArrayVellumValue.d.ts +1 -1
  70. package/dist/api/types/ArrayVellumValueRequest.d.ts +1 -1
  71. package/dist/api/types/CodeExecutionNodeArrayResult.d.ts +1 -1
  72. package/dist/api/types/CodeExecutorInputRequest.d.ts +1 -1
  73. package/dist/api/types/CodeExecutorSecretInputRequest.d.ts +12 -0
  74. package/dist/api/types/ExecutionArrayVellumValue.d.ts +1 -1
  75. package/dist/api/types/NamedTestCaseArrayVariableValue.d.ts +1 -1
  76. package/dist/api/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -1
  77. package/dist/api/types/NodeInputCompiledArrayValue.d.ts +1 -1
  78. package/dist/api/types/NodeOutputCompiledArrayValue.d.ts +1 -1
  79. package/dist/api/types/TemplatingNodeArrayResult.d.ts +1 -1
  80. package/dist/api/types/TerminalNodeArrayResult.d.ts +1 -1
  81. package/dist/api/types/TestCaseArrayVariableValue.d.ts +1 -1
  82. package/dist/api/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -1
  83. package/dist/api/types/VellumVariableType.d.ts +3 -1
  84. package/dist/api/types/VellumVariableType.js +1 -0
  85. package/dist/api/types/WorkflowOutputArray.d.ts +1 -1
  86. package/dist/api/types/index.d.ts +1 -2
  87. package/dist/api/types/index.js +1 -2
  88. package/dist/serialization/resources/index.d.ts +2 -0
  89. package/dist/serialization/resources/index.js +3 -1
  90. package/dist/serialization/resources/workspaceSecrets/client/index.d.ts +1 -0
  91. package/dist/serialization/resources/workspaceSecrets/client/index.js +17 -0
  92. package/dist/serialization/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.d.ts +13 -0
  93. package/dist/serialization/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.js +34 -0
  94. package/dist/serialization/resources/workspaceSecrets/client/requests/index.d.ts +1 -0
  95. package/dist/serialization/resources/workspaceSecrets/client/requests/index.js +5 -0
  96. package/dist/serialization/resources/workspaceSecrets/index.d.ts +1 -0
  97. package/dist/serialization/resources/workspaceSecrets/index.js +17 -0
  98. package/dist/serialization/types/ArrayInputRequest.d.ts +1 -1
  99. package/dist/serialization/types/ArrayInputRequest.js +1 -1
  100. package/dist/serialization/types/ArrayVellumValue.d.ts +1 -1
  101. package/dist/serialization/types/ArrayVellumValue.js +1 -1
  102. package/dist/serialization/types/ArrayVellumValueRequest.d.ts +1 -1
  103. package/dist/serialization/types/ArrayVellumValueRequest.js +1 -1
  104. package/dist/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -1
  105. package/dist/serialization/types/CodeExecutionNodeArrayResult.js +1 -1
  106. package/dist/serialization/types/CodeExecutorInputRequest.d.ts +2 -1
  107. package/dist/serialization/types/CodeExecutorInputRequest.js +2 -0
  108. package/dist/serialization/types/CodeExecutorResponse.d.ts +1 -2
  109. package/dist/serialization/types/CodeExecutorResponse.js +2 -2
  110. package/dist/serialization/types/CodeExecutorSecretInputRequest.d.ts +14 -0
  111. package/{serialization/types/ArrayVellumValueItem.js → dist/serialization/types/CodeExecutorSecretInputRequest.js} +6 -21
  112. package/dist/serialization/types/ExecutionArrayVellumValue.d.ts +1 -1
  113. package/dist/serialization/types/ExecutionArrayVellumValue.js +1 -1
  114. package/dist/serialization/types/NamedTestCaseArrayVariableValue.d.ts +1 -1
  115. package/dist/serialization/types/NamedTestCaseArrayVariableValue.js +1 -1
  116. package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -1
  117. package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.js +1 -1
  118. package/dist/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -1
  119. package/dist/serialization/types/NodeInputCompiledArrayValue.js +1 -1
  120. package/dist/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -1
  121. package/dist/serialization/types/NodeOutputCompiledArrayValue.js +1 -1
  122. package/dist/serialization/types/TemplatingNodeArrayResult.d.ts +1 -1
  123. package/dist/serialization/types/TemplatingNodeArrayResult.js +1 -1
  124. package/dist/serialization/types/TerminalNodeArrayResult.d.ts +1 -1
  125. package/dist/serialization/types/TerminalNodeArrayResult.js +1 -1
  126. package/dist/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
  127. package/dist/serialization/types/TestCaseArrayVariableValue.js +1 -1
  128. package/dist/serialization/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -1
  129. package/dist/serialization/types/TestSuiteRunExecutionArrayOutput.js +1 -1
  130. package/dist/serialization/types/VellumValueLogicalConditionRequest.d.ts +2 -3
  131. package/dist/serialization/types/VellumValueLogicalConditionRequest.js +3 -3
  132. package/dist/serialization/types/VellumVariable.d.ts +1 -2
  133. package/dist/serialization/types/VellumVariable.js +2 -2
  134. package/dist/serialization/types/VellumVariableRequest.d.ts +1 -2
  135. package/dist/serialization/types/VellumVariableRequest.js +2 -2
  136. package/dist/serialization/types/VellumVariableType.d.ts +1 -1
  137. package/dist/serialization/types/VellumVariableType.js +1 -0
  138. package/dist/serialization/types/WorkflowOutputArray.d.ts +1 -1
  139. package/dist/serialization/types/WorkflowOutputArray.js +1 -1
  140. package/dist/serialization/types/index.d.ts +1 -2
  141. package/dist/serialization/types/index.js +1 -2
  142. package/dist/version.d.ts +1 -1
  143. package/dist/version.js +1 -1
  144. package/package.json +1 -1
  145. package/reference.md +71 -0
  146. package/serialization/resources/index.d.ts +2 -0
  147. package/serialization/resources/index.js +3 -1
  148. package/serialization/resources/workspaceSecrets/client/index.d.ts +1 -0
  149. package/serialization/resources/workspaceSecrets/client/index.js +17 -0
  150. package/serialization/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.d.ts +13 -0
  151. package/serialization/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.js +34 -0
  152. package/serialization/resources/workspaceSecrets/client/requests/index.d.ts +1 -0
  153. package/serialization/resources/workspaceSecrets/client/requests/index.js +5 -0
  154. package/serialization/resources/workspaceSecrets/index.d.ts +1 -0
  155. package/serialization/resources/workspaceSecrets/index.js +17 -0
  156. package/serialization/types/ArrayInputRequest.d.ts +1 -1
  157. package/serialization/types/ArrayInputRequest.js +1 -1
  158. package/serialization/types/ArrayVellumValue.d.ts +1 -1
  159. package/serialization/types/ArrayVellumValue.js +1 -1
  160. package/serialization/types/ArrayVellumValueRequest.d.ts +1 -1
  161. package/serialization/types/ArrayVellumValueRequest.js +1 -1
  162. package/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -1
  163. package/serialization/types/CodeExecutionNodeArrayResult.js +1 -1
  164. package/serialization/types/CodeExecutorInputRequest.d.ts +2 -1
  165. package/serialization/types/CodeExecutorInputRequest.js +2 -0
  166. package/serialization/types/CodeExecutorResponse.d.ts +1 -2
  167. package/serialization/types/CodeExecutorResponse.js +2 -2
  168. package/serialization/types/CodeExecutorSecretInputRequest.d.ts +14 -0
  169. package/{dist/serialization/types/ArrayVellumValueItem.js → serialization/types/CodeExecutorSecretInputRequest.js} +6 -21
  170. package/serialization/types/ExecutionArrayVellumValue.d.ts +1 -1
  171. package/serialization/types/ExecutionArrayVellumValue.js +1 -1
  172. package/serialization/types/NamedTestCaseArrayVariableValue.d.ts +1 -1
  173. package/serialization/types/NamedTestCaseArrayVariableValue.js +1 -1
  174. package/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -1
  175. package/serialization/types/NamedTestCaseArrayVariableValueRequest.js +1 -1
  176. package/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -1
  177. package/serialization/types/NodeInputCompiledArrayValue.js +1 -1
  178. package/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -1
  179. package/serialization/types/NodeOutputCompiledArrayValue.js +1 -1
  180. package/serialization/types/TemplatingNodeArrayResult.d.ts +1 -1
  181. package/serialization/types/TemplatingNodeArrayResult.js +1 -1
  182. package/serialization/types/TerminalNodeArrayResult.d.ts +1 -1
  183. package/serialization/types/TerminalNodeArrayResult.js +1 -1
  184. package/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
  185. package/serialization/types/TestCaseArrayVariableValue.js +1 -1
  186. package/serialization/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -1
  187. package/serialization/types/TestSuiteRunExecutionArrayOutput.js +1 -1
  188. package/serialization/types/VellumValueLogicalConditionRequest.d.ts +2 -3
  189. package/serialization/types/VellumValueLogicalConditionRequest.js +3 -3
  190. package/serialization/types/VellumVariable.d.ts +1 -2
  191. package/serialization/types/VellumVariable.js +2 -2
  192. package/serialization/types/VellumVariableRequest.d.ts +1 -2
  193. package/serialization/types/VellumVariableRequest.js +2 -2
  194. package/serialization/types/VellumVariableType.d.ts +1 -1
  195. package/serialization/types/VellumVariableType.js +1 -0
  196. package/serialization/types/WorkflowOutputArray.d.ts +1 -1
  197. package/serialization/types/WorkflowOutputArray.js +1 -1
  198. package/serialization/types/index.d.ts +1 -2
  199. package/serialization/types/index.js +1 -2
  200. package/version.d.ts +1 -1
  201. package/version.js +1 -1
  202. package/api/types/ArrayVellumValueItem.d.ts +0 -5
  203. package/api/types/ArrayVellumValueItemRequest.d.ts +0 -5
  204. package/dist/api/types/ArrayVellumValueItem.d.ts +0 -5
  205. package/dist/api/types/ArrayVellumValueItemRequest.d.ts +0 -5
  206. package/dist/serialization/types/ArrayVellumValueItem.d.ts +0 -18
  207. package/dist/serialization/types/ArrayVellumValueItemRequest.d.ts +0 -18
  208. package/dist/serialization/types/ArrayVellumValueItemRequest.js +0 -50
  209. package/serialization/types/ArrayVellumValueItem.d.ts +0 -18
  210. package/serialization/types/ArrayVellumValueItemRequest.d.ts +0 -18
  211. package/serialization/types/ArrayVellumValueItemRequest.js +0 -50
  212. /package/api/{types/ArrayVellumValueItem.js → resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.js} +0 -0
  213. /package/api/types/{ArrayVellumValueItemRequest.js → CodeExecutorSecretInputRequest.js} +0 -0
  214. /package/dist/api/{types/ArrayVellumValueItem.js → resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.js} +0 -0
  215. /package/dist/api/types/{ArrayVellumValueItemRequest.js → CodeExecutorSecretInputRequest.js} +0 -0
@@ -803,7 +803,7 @@ types:
803
803
  validation:
804
804
  minLength: 1
805
805
  type: literal<"ARRAY">
806
- value: list<ArrayVellumValueItemRequest>
806
+ value: list<VellumValueRequest>
807
807
  source:
808
808
  openapi: openapi/openapi.yml
809
809
  ArrayVariableValue:
@@ -830,42 +830,14 @@ types:
830
830
  docs: A value representing an array of Vellum variable values.
831
831
  properties:
832
832
  type: literal<"ARRAY">
833
- value: optional<list<ArrayVellumValueItem>>
834
- source:
835
- openapi: openapi/openapi.yml
836
- ArrayVellumValueItem:
837
- discriminated: false
838
- union:
839
- - StringVellumValue
840
- - NumberVellumValue
841
- - JsonVellumValue
842
- - ImageVellumValue
843
- - FunctionCallVellumValue
844
- - ErrorVellumValue
845
- - ChatHistoryVellumValue
846
- - SearchResultsVellumValue
847
- - ArrayVellumValue
848
- source:
849
- openapi: openapi/openapi.yml
850
- ArrayVellumValueItemRequest:
851
- discriminated: false
852
- union:
853
- - StringVellumValueRequest
854
- - NumberVellumValueRequest
855
- - JsonVellumValueRequest
856
- - ImageVellumValueRequest
857
- - FunctionCallVellumValueRequest
858
- - ErrorVellumValueRequest
859
- - ChatHistoryVellumValueRequest
860
- - SearchResultsVellumValueRequest
861
- - ArrayVellumValueRequest
833
+ value: optional<list<VellumValue>>
862
834
  source:
863
835
  openapi: openapi/openapi.yml
864
836
  ArrayVellumValueRequest:
865
837
  docs: A value representing an array of Vellum variable values.
866
838
  properties:
867
839
  type: literal<"ARRAY">
868
- value: optional<list<ArrayVellumValueItemRequest>>
840
+ value: optional<list<VellumValueRequest>>
869
841
  source:
870
842
  openapi: openapi/openapi.yml
871
843
  BasicVectorizerIntfloatMultilingualE5Large:
@@ -1030,7 +1002,7 @@ types:
1030
1002
  properties:
1031
1003
  id: string
1032
1004
  type: literal<"ARRAY">
1033
- value: optional<list<ArrayVellumValueItem>>
1005
+ value: optional<list<VellumValue>>
1034
1006
  source:
1035
1007
  openapi: openapi/openapi.yml
1036
1008
  CodeExecutionNodeChatHistoryResult:
@@ -1146,6 +1118,7 @@ types:
1146
1118
  - ErrorInputRequest
1147
1119
  - ArrayInputRequest
1148
1120
  - FunctionCallInputRequest
1121
+ - CodeExecutorSecretInputRequest
1149
1122
  source:
1150
1123
  openapi: openapi/openapi.yml
1151
1124
  CodeExecutorResponse:
@@ -1154,6 +1127,21 @@ types:
1154
1127
  output: VellumValue
1155
1128
  source:
1156
1129
  openapi: openapi/openapi.yml
1130
+ CodeExecutorSecretInputRequest:
1131
+ docs: A user input representing a Vellum Workspace Secret value
1132
+ properties:
1133
+ name:
1134
+ type: string
1135
+ docs: The variable's name
1136
+ validation:
1137
+ minLength: 1
1138
+ type: literal<"SECRET">
1139
+ value:
1140
+ type: string
1141
+ validation:
1142
+ minLength: 1
1143
+ source:
1144
+ openapi: openapi/openapi.yml
1157
1145
  CompilePromptDeploymentExpandMetaRequest:
1158
1146
  properties:
1159
1147
  model_name:
@@ -1624,7 +1612,7 @@ types:
1624
1612
  docs: The variable's uniquely identifying internal id.
1625
1613
  name: string
1626
1614
  type: literal<"ARRAY">
1627
- value: optional<list<ArrayVellumValueItem>>
1615
+ value: optional<list<VellumValue>>
1628
1616
  source:
1629
1617
  openapi: openapi/openapi.yml
1630
1618
  ExecutionChatHistoryVellumValue:
@@ -2692,7 +2680,7 @@ types:
2692
2680
  docs: Named Test Case value that is of type ARRAY
2693
2681
  properties:
2694
2682
  type: literal<"ARRAY">
2695
- value: optional<list<ArrayVellumValueItem>>
2683
+ value: optional<list<VellumValue>>
2696
2684
  name: string
2697
2685
  source:
2698
2686
  openapi: openapi/openapi.yml
@@ -2700,7 +2688,7 @@ types:
2700
2688
  docs: Named Test Case value that is of type ARRAY
2701
2689
  properties:
2702
2690
  type: literal<"ARRAY">
2703
- value: optional<list<ArrayVellumValueItemRequest>>
2691
+ value: optional<list<VellumValueRequest>>
2704
2692
  name:
2705
2693
  type: string
2706
2694
  validation:
@@ -2871,7 +2859,7 @@ types:
2871
2859
  node_input_id: string
2872
2860
  key: string
2873
2861
  type: literal<"ARRAY">
2874
- value: optional<list<ArrayVellumValueItem>>
2862
+ value: optional<list<VellumValue>>
2875
2863
  source:
2876
2864
  openapi: openapi/openapi.yml
2877
2865
  NodeInputCompiledChatHistoryValue:
@@ -2947,7 +2935,7 @@ types:
2947
2935
  docs: An output returned by a node that is of type ARRAY.
2948
2936
  properties:
2949
2937
  type: literal<"ARRAY">
2950
- value: optional<list<ArrayVellumValueItem>>
2938
+ value: optional<list<VellumValue>>
2951
2939
  node_output_id: string
2952
2940
  state: optional<WorkflowNodeResultEventState>
2953
2941
  source:
@@ -3923,6 +3911,7 @@ types:
3923
3911
  max: 1
3924
3912
  source:
3925
3913
  openapi: openapi/openapi.yml
3914
+ SecretEnum: literal<"SECRET">
3926
3915
  SecretTypeEnum:
3927
3916
  enum:
3928
3917
  - USER_DEFINED
@@ -4307,7 +4296,7 @@ types:
4307
4296
  properties:
4308
4297
  id: string
4309
4298
  type: literal<"ARRAY">
4310
- value: optional<list<ArrayVellumValueItem>>
4299
+ value: optional<list<VellumValue>>
4311
4300
  source:
4312
4301
  openapi: openapi/openapi.yml
4313
4302
  TemplatingNodeChatHistoryResult:
@@ -4394,7 +4383,7 @@ types:
4394
4383
  type: string
4395
4384
  docs: The unique name given to the terminal node that produced this output.
4396
4385
  type: literal<"ARRAY">
4397
- value: optional<list<ArrayVellumValueItem>>
4386
+ value: optional<list<VellumValue>>
4398
4387
  source:
4399
4388
  openapi: openapi/openapi.yml
4400
4389
  TerminalNodeChatHistoryResult:
@@ -4519,7 +4508,7 @@ types:
4519
4508
  variable_id: string
4520
4509
  name: string
4521
4510
  type: literal<"ARRAY">
4522
- value: optional<list<ArrayVellumValueItem>>
4511
+ value: optional<list<VellumValue>>
4523
4512
  source:
4524
4513
  openapi: openapi/openapi.yml
4525
4514
  TestCaseChatHistoryVariableValue:
@@ -4697,7 +4686,7 @@ types:
4697
4686
  properties:
4698
4687
  name: string
4699
4688
  type: literal<"ARRAY">
4700
- value: optional<list<ArrayVellumValueItem>>
4689
+ value: optional<list<VellumValue>>
4701
4690
  output_variable_id:
4702
4691
  type: string
4703
4692
  validation:
@@ -5479,6 +5468,7 @@ types:
5479
5468
  - ARRAY
5480
5469
  - FUNCTION_CALL
5481
5470
  - IMAGE
5471
+ - AUDIO
5482
5472
  - 'NULL'
5483
5473
  docs: |-
5484
5474
  * `STRING` - STRING
@@ -5490,6 +5480,7 @@ types:
5490
5480
  * `ARRAY` - ARRAY
5491
5481
  * `FUNCTION_CALL` - FUNCTION_CALL
5492
5482
  * `IMAGE` - IMAGE
5483
+ * `AUDIO` - AUDIO
5493
5484
  * `NULL` - NULL
5494
5485
  source:
5495
5486
  openapi: openapi/openapi.yml
@@ -5796,7 +5787,7 @@ types:
5796
5787
  type: string
5797
5788
  docs: The output's name, as defined in the workflow
5798
5789
  type: literal<"ARRAY">
5799
- value: optional<list<ArrayVellumValueItem>>
5790
+ value: optional<list<VellumValue>>
5800
5791
  source:
5801
5792
  openapi: openapi/openapi.yml
5802
5793
  WorkflowOutputChatHistory:
@@ -29,7 +29,7 @@ service:
29
29
  label: label
30
30
  secret_type: USER_DEFINED
31
31
  audiences:
32
- - internal
32
+ - customers
33
33
  partialUpdate:
34
34
  path: /v1/workspace-secrets/{id}
35
35
  method: PATCH
@@ -55,6 +55,7 @@ service:
55
55
  docs: ''
56
56
  type: root.WorkspaceSecretRead
57
57
  url: Default
58
+ availability: pre-release
58
59
  examples:
59
60
  - path-parameters:
60
61
  id: id
@@ -66,5 +67,7 @@ service:
66
67
  name: name
67
68
  label: label
68
69
  secret_type: USER_DEFINED
70
+ audiences:
71
+ - customers
69
72
  source:
70
73
  openapi: openapi/openapi.yml
@@ -1976,7 +1976,7 @@ paths:
1976
1976
  description: ''
1977
1977
  x-fern-availability: beta
1978
1978
  x-fern-audiences:
1979
- - internal
1979
+ - customers
1980
1980
  patch:
1981
1981
  operationId: workspace_secrets_partial_update
1982
1982
  description: Used to update a Workspace Secret given its ID or name.
@@ -2003,6 +2003,9 @@ paths:
2003
2003
  schema:
2004
2004
  $ref: '#/components/schemas/WorkspaceSecretRead'
2005
2005
  description: ''
2006
+ x-fern-availability: beta
2007
+ x-fern-audiences:
2008
+ - customers
2006
2009
  components:
2007
2010
  schemas:
2008
2011
  AdHocExecutePromptEvent:
@@ -2235,7 +2238,7 @@ components:
2235
2238
  value:
2236
2239
  type: array
2237
2240
  items:
2238
- $ref: '#/components/schemas/ArrayVellumValueItemRequest'
2241
+ $ref: '#/components/schemas/VellumValueRequest'
2239
2242
  required:
2240
2243
  - name
2241
2244
  - type
@@ -2285,57 +2288,11 @@ components:
2285
2288
  value:
2286
2289
  type: array
2287
2290
  items:
2288
- $ref: '#/components/schemas/ArrayVellumValueItem'
2291
+ $ref: '#/components/schemas/VellumValue'
2289
2292
  nullable: true
2290
2293
  required:
2291
2294
  - type
2292
2295
  - value
2293
- ArrayVellumValueItem:
2294
- oneOf:
2295
- - $ref: '#/components/schemas/StringVellumValue'
2296
- - $ref: '#/components/schemas/NumberVellumValue'
2297
- - $ref: '#/components/schemas/JsonVellumValue'
2298
- - $ref: '#/components/schemas/ImageVellumValue'
2299
- - $ref: '#/components/schemas/FunctionCallVellumValue'
2300
- - $ref: '#/components/schemas/ErrorVellumValue'
2301
- - $ref: '#/components/schemas/ChatHistoryVellumValue'
2302
- - $ref: '#/components/schemas/SearchResultsVellumValue'
2303
- - $ref: '#/components/schemas/ArrayVellumValue'
2304
- discriminator:
2305
- propertyName: type
2306
- mapping:
2307
- STRING: '#/components/schemas/StringVellumValue'
2308
- NUMBER: '#/components/schemas/NumberVellumValue'
2309
- JSON: '#/components/schemas/JsonVellumValue'
2310
- IMAGE: '#/components/schemas/ImageVellumValue'
2311
- FUNCTION_CALL: '#/components/schemas/FunctionCallVellumValue'
2312
- ERROR: '#/components/schemas/ErrorVellumValue'
2313
- CHAT_HISTORY: '#/components/schemas/ChatHistoryVellumValue'
2314
- SEARCH_RESULTS: '#/components/schemas/SearchResultsVellumValue'
2315
- ARRAY: '#/components/schemas/ArrayVellumValue'
2316
- ArrayVellumValueItemRequest:
2317
- oneOf:
2318
- - $ref: '#/components/schemas/StringVellumValueRequest'
2319
- - $ref: '#/components/schemas/NumberVellumValueRequest'
2320
- - $ref: '#/components/schemas/JsonVellumValueRequest'
2321
- - $ref: '#/components/schemas/ImageVellumValueRequest'
2322
- - $ref: '#/components/schemas/FunctionCallVellumValueRequest'
2323
- - $ref: '#/components/schemas/ErrorVellumValueRequest'
2324
- - $ref: '#/components/schemas/ChatHistoryVellumValueRequest'
2325
- - $ref: '#/components/schemas/SearchResultsVellumValueRequest'
2326
- - $ref: '#/components/schemas/ArrayVellumValueRequest'
2327
- discriminator:
2328
- propertyName: type
2329
- mapping:
2330
- STRING: '#/components/schemas/StringVellumValueRequest'
2331
- NUMBER: '#/components/schemas/NumberVellumValueRequest'
2332
- JSON: '#/components/schemas/JsonVellumValueRequest'
2333
- IMAGE: '#/components/schemas/ImageVellumValueRequest'
2334
- FUNCTION_CALL: '#/components/schemas/FunctionCallVellumValueRequest'
2335
- ERROR: '#/components/schemas/ErrorVellumValueRequest'
2336
- CHAT_HISTORY: '#/components/schemas/ChatHistoryVellumValueRequest'
2337
- SEARCH_RESULTS: '#/components/schemas/SearchResultsVellumValueRequest'
2338
- ARRAY: '#/components/schemas/ArrayVellumValueRequest'
2339
2296
  ArrayVellumValueRequest:
2340
2297
  type: object
2341
2298
  description: A value representing an array of Vellum variable values.
@@ -2345,7 +2302,7 @@ components:
2345
2302
  value:
2346
2303
  type: array
2347
2304
  items:
2348
- $ref: '#/components/schemas/ArrayVellumValueItemRequest'
2305
+ $ref: '#/components/schemas/VellumValueRequest'
2349
2306
  nullable: true
2350
2307
  required:
2351
2308
  - type
@@ -2615,7 +2572,7 @@ components:
2615
2572
  value:
2616
2573
  type: array
2617
2574
  items:
2618
- $ref: '#/components/schemas/ArrayVellumValueItem'
2575
+ $ref: '#/components/schemas/VellumValue'
2619
2576
  nullable: true
2620
2577
  required:
2621
2578
  - id
@@ -2807,6 +2764,7 @@ components:
2807
2764
  - $ref: '#/components/schemas/ErrorInputRequest'
2808
2765
  - $ref: '#/components/schemas/ArrayInputRequest'
2809
2766
  - $ref: '#/components/schemas/FunctionCallInputRequest'
2767
+ - $ref: '#/components/schemas/CodeExecutorSecretInputRequest'
2810
2768
  discriminator:
2811
2769
  propertyName: type
2812
2770
  mapping:
@@ -2818,6 +2776,7 @@ components:
2818
2776
  ERROR: '#/components/schemas/ErrorInputRequest'
2819
2777
  ARRAY: '#/components/schemas/ArrayInputRequest'
2820
2778
  FUNCTION_CALL: '#/components/schemas/FunctionCallInputRequest'
2779
+ SECRET: '#/components/schemas/CodeExecutorSecretInputRequest'
2821
2780
  CodeExecutorRequest:
2822
2781
  type: object
2823
2782
  properties:
@@ -2852,6 +2811,23 @@ components:
2852
2811
  required:
2853
2812
  - log
2854
2813
  - output
2814
+ CodeExecutorSecretInputRequest:
2815
+ type: object
2816
+ description: A user input representing a Vellum Workspace Secret value
2817
+ properties:
2818
+ name:
2819
+ type: string
2820
+ minLength: 1
2821
+ description: The variable's name
2822
+ type:
2823
+ $ref: '#/components/schemas/SecretEnum'
2824
+ value:
2825
+ type: string
2826
+ minLength: 1
2827
+ required:
2828
+ - name
2829
+ - type
2830
+ - value
2855
2831
  CompilePromptDeploymentExpandMetaRequest:
2856
2832
  type: object
2857
2833
  properties:
@@ -3906,7 +3882,7 @@ components:
3906
3882
  value:
3907
3883
  type: array
3908
3884
  items:
3909
- $ref: '#/components/schemas/ArrayVellumValueItem'
3885
+ $ref: '#/components/schemas/VellumValue'
3910
3886
  nullable: true
3911
3887
  required:
3912
3888
  - id
@@ -5610,7 +5586,7 @@ components:
5610
5586
  value:
5611
5587
  type: array
5612
5588
  items:
5613
- $ref: '#/components/schemas/ArrayVellumValueItem'
5589
+ $ref: '#/components/schemas/VellumValue'
5614
5590
  nullable: true
5615
5591
  name:
5616
5592
  type: string
@@ -5627,7 +5603,7 @@ components:
5627
5603
  value:
5628
5604
  type: array
5629
5605
  items:
5630
- $ref: '#/components/schemas/ArrayVellumValueItemRequest'
5606
+ $ref: '#/components/schemas/VellumValueRequest'
5631
5607
  nullable: true
5632
5608
  name:
5633
5609
  type: string
@@ -5919,7 +5895,7 @@ components:
5919
5895
  value:
5920
5896
  type: array
5921
5897
  items:
5922
- $ref: '#/components/schemas/ArrayVellumValueItem'
5898
+ $ref: '#/components/schemas/VellumValue'
5923
5899
  nullable: true
5924
5900
  required:
5925
5901
  - key
@@ -6081,7 +6057,7 @@ components:
6081
6057
  value:
6082
6058
  type: array
6083
6059
  items:
6084
- $ref: '#/components/schemas/ArrayVellumValueItem'
6060
+ $ref: '#/components/schemas/VellumValue'
6085
6061
  nullable: true
6086
6062
  node_output_id:
6087
6063
  type: string
@@ -7692,6 +7668,10 @@ components:
7692
7668
  minimum: 0.0
7693
7669
  default: 0.2
7694
7670
  description: The relative weight to give to keywords
7671
+ SecretEnum:
7672
+ type: string
7673
+ enum:
7674
+ - SECRET
7695
7675
  SecretTypeEnum:
7696
7676
  enum:
7697
7677
  - USER_DEFINED
@@ -8252,7 +8232,7 @@ components:
8252
8232
  value:
8253
8233
  type: array
8254
8234
  items:
8255
- $ref: '#/components/schemas/ArrayVellumValueItem'
8235
+ $ref: '#/components/schemas/VellumValue'
8256
8236
  nullable: true
8257
8237
  required:
8258
8238
  - id
@@ -8417,7 +8397,7 @@ components:
8417
8397
  value:
8418
8398
  type: array
8419
8399
  items:
8420
- $ref: '#/components/schemas/ArrayVellumValueItem'
8400
+ $ref: '#/components/schemas/VellumValue'
8421
8401
  nullable: true
8422
8402
  required:
8423
8403
  - name
@@ -8622,7 +8602,7 @@ components:
8622
8602
  value:
8623
8603
  type: array
8624
8604
  items:
8625
- $ref: '#/components/schemas/ArrayVellumValueItem'
8605
+ $ref: '#/components/schemas/VellumValue'
8626
8606
  nullable: true
8627
8607
  required:
8628
8608
  - name
@@ -8936,7 +8916,7 @@ components:
8936
8916
  value:
8937
8917
  type: array
8938
8918
  items:
8939
- $ref: '#/components/schemas/ArrayVellumValueItem'
8919
+ $ref: '#/components/schemas/VellumValue'
8940
8920
  nullable: true
8941
8921
  output_variable_id:
8942
8922
  type: string
@@ -10076,6 +10056,7 @@ components:
10076
10056
  - ARRAY
10077
10057
  - FUNCTION_CALL
10078
10058
  - IMAGE
10059
+ - AUDIO
10079
10060
  - 'NULL'
10080
10061
  type: string
10081
10062
  description: |-
@@ -10088,6 +10069,7 @@ components:
10088
10069
  * `ARRAY` - ARRAY
10089
10070
  * `FUNCTION_CALL` - FUNCTION_CALL
10090
10071
  * `IMAGE` - IMAGE
10072
+ * `AUDIO` - AUDIO
10091
10073
  * `NULL` - NULL
10092
10074
  WorkflowDeploymentRead:
10093
10075
  type: object
@@ -10471,7 +10453,7 @@ components:
10471
10453
  value:
10472
10454
  type: array
10473
10455
  items:
10474
- $ref: '#/components/schemas/ArrayVellumValueItem'
10456
+ $ref: '#/components/schemas/VellumValue'
10475
10457
  nullable: true
10476
10458
  required:
10477
10459
  - id
package/Client.js CHANGED
@@ -93,7 +93,7 @@ class VellumClient {
93
93
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
94
94
  .default, "v1/execute-code"),
95
95
  method: "POST",
96
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
96
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
97
97
  contentType: "application/json",
98
98
  requestType: "json",
99
99
  body: serializers.CodeExecutorRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -162,7 +162,7 @@ class VellumClient {
162
162
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
163
163
  .predict, "v1/execute-prompt"),
164
164
  method: "POST",
165
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
165
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
166
166
  contentType: "application/json",
167
167
  requestType: "json",
168
168
  body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -220,7 +220,7 @@ class VellumClient {
220
220
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
221
221
  .predict, "v1/execute-prompt-stream"),
222
222
  method: "POST",
223
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
223
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
224
224
  contentType: "application/json",
225
225
  requestType: "json",
226
226
  body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -305,7 +305,7 @@ class VellumClient {
305
305
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
306
306
  .predict, "v1/execute-workflow"),
307
307
  method: "POST",
308
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
308
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
309
309
  contentType: "application/json",
310
310
  requestType: "json",
311
311
  body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -361,7 +361,7 @@ class VellumClient {
361
361
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
362
362
  .predict, "v1/execute-workflow-stream"),
363
363
  method: "POST",
364
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
364
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
365
365
  contentType: "application/json",
366
366
  requestType: "json",
367
367
  body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -448,7 +448,7 @@ class VellumClient {
448
448
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
449
449
  .predict, "v1/generate"),
450
450
  method: "POST",
451
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
451
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
452
452
  contentType: "application/json",
453
453
  requestType: "json",
454
454
  body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -509,7 +509,7 @@ class VellumClient {
509
509
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
510
510
  .predict, "v1/generate-stream"),
511
511
  method: "POST",
512
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
512
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
513
513
  contentType: "application/json",
514
514
  requestType: "json",
515
515
  body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -590,7 +590,7 @@ class VellumClient {
590
590
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
591
591
  .predict, "v1/search"),
592
592
  method: "POST",
593
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
593
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
594
594
  contentType: "application/json",
595
595
  requestType: "json",
596
596
  body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -658,7 +658,7 @@ class VellumClient {
658
658
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
659
659
  .predict, "v1/submit-completion-actuals"),
660
660
  method: "POST",
661
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
661
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
662
662
  contentType: "application/json",
663
663
  requestType: "json",
664
664
  body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -721,7 +721,7 @@ class VellumClient {
721
721
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
722
722
  .predict, "v1/submit-workflow-execution-actuals"),
723
723
  method: "POST",
724
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
724
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
725
725
  contentType: "application/json",
726
726
  requestType: "json",
727
727
  body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
@@ -59,7 +59,7 @@ class AdHoc {
59
59
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
60
60
  .default, "v1/ad-hoc/execute-prompt-stream"),
61
61
  method: "POST",
62
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
62
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
63
63
  contentType: "application/json",
64
64
  requestType: "json",
65
65
  body: serializers.AdHocExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -79,7 +79,7 @@ class Deployments {
79
79
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
80
80
  .default, "v1/deployments"),
81
81
  method: "GET",
82
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "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.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
83
83
  contentType: "application/json",
84
84
  queryParameters: _queryParams,
85
85
  requestType: "json",
@@ -132,7 +132,7 @@ class Deployments {
132
132
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
133
133
  .default, `v1/deployments/${encodeURIComponent(id)}`),
134
134
  method: "GET",
135
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "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.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
136
136
  contentType: "application/json",
137
137
  requestType: "json",
138
138
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -185,7 +185,7 @@ class Deployments {
185
185
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
186
186
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
187
187
  method: "GET",
188
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
188
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
189
189
  contentType: "application/json",
190
190
  requestType: "json",
191
191
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -239,7 +239,7 @@ class Deployments {
239
239
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
240
240
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
241
241
  method: "PATCH",
242
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
242
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
243
243
  contentType: "application/json",
244
244
  requestType: "json",
245
245
  body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -314,7 +314,7 @@ class Deployments {
314
314
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
315
315
  .default, "v1/deployments/provider-payload"),
316
316
  method: "POST",
317
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
317
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
318
318
  contentType: "application/json",
319
319
  requestType: "json",
320
320
  body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {