vellum-ai 0.8.14 → 0.8.15

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 (171) hide show
  1. package/.mock/definition/__package__.yml +69 -0
  2. package/.mock/openapi/openapi.yml +141 -0
  3. package/Client.js +9 -9
  4. package/api/resources/adHoc/client/Client.js +1 -1
  5. package/api/resources/deployments/client/Client.js +5 -5
  6. package/api/resources/documentIndexes/client/Client.js +8 -8
  7. package/api/resources/documents/client/Client.js +5 -5
  8. package/api/resources/folderEntities/client/Client.js +1 -1
  9. package/api/resources/sandboxes/client/Client.js +3 -3
  10. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  11. package/api/resources/testSuites/client/Client.js +4 -4
  12. package/api/resources/workflowDeployments/client/Client.js +4 -4
  13. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  14. package/api/types/ArrayVariableValue.d.ts +8 -0
  15. package/api/types/ArrayVariableValue.js +5 -0
  16. package/api/types/ArrayVariableValueItem.d.ts +1 -1
  17. package/api/types/ArrayVellumValue.d.ts +11 -0
  18. package/api/types/ArrayVellumValue.js +5 -0
  19. package/api/types/ArrayVellumValueItem.d.ts +1 -1
  20. package/api/types/ArrayVellumValueItemRequest.d.ts +1 -1
  21. package/api/types/ArrayVellumValueRequest.d.ts +11 -0
  22. package/api/types/ArrayVellumValueRequest.js +5 -0
  23. package/api/types/ChatHistoryVariableValue.d.ts +8 -0
  24. package/api/types/ChatHistoryVariableValue.js +5 -0
  25. package/api/types/ChatHistoryVellumValue.d.ts +11 -0
  26. package/api/types/ChatHistoryVellumValue.js +5 -0
  27. package/api/types/ChatHistoryVellumValueRequest.d.ts +11 -0
  28. package/api/types/ChatHistoryVellumValueRequest.js +5 -0
  29. package/api/types/SearchResultsVariableValue.d.ts +8 -0
  30. package/api/types/SearchResultsVariableValue.js +5 -0
  31. package/api/types/SearchResultsVellumValue.d.ts +11 -0
  32. package/api/types/SearchResultsVellumValue.js +5 -0
  33. package/api/types/SearchResultsVellumValueRequest.d.ts +11 -0
  34. package/api/types/SearchResultsVellumValueRequest.js +5 -0
  35. package/api/types/index.d.ts +9 -0
  36. package/api/types/index.js +9 -0
  37. package/dist/Client.js +9 -9
  38. package/dist/api/resources/adHoc/client/Client.js +1 -1
  39. package/dist/api/resources/deployments/client/Client.js +5 -5
  40. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  41. package/dist/api/resources/documents/client/Client.js +5 -5
  42. package/dist/api/resources/folderEntities/client/Client.js +1 -1
  43. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  44. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  45. package/dist/api/resources/testSuites/client/Client.js +4 -4
  46. package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
  47. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  48. package/dist/api/types/ArrayVariableValue.d.ts +8 -0
  49. package/dist/api/types/ArrayVariableValue.js +5 -0
  50. package/dist/api/types/ArrayVariableValueItem.d.ts +1 -1
  51. package/dist/api/types/ArrayVellumValue.d.ts +11 -0
  52. package/dist/api/types/ArrayVellumValue.js +5 -0
  53. package/dist/api/types/ArrayVellumValueItem.d.ts +1 -1
  54. package/dist/api/types/ArrayVellumValueItemRequest.d.ts +1 -1
  55. package/dist/api/types/ArrayVellumValueRequest.d.ts +11 -0
  56. package/dist/api/types/ArrayVellumValueRequest.js +5 -0
  57. package/dist/api/types/ChatHistoryVariableValue.d.ts +8 -0
  58. package/dist/api/types/ChatHistoryVariableValue.js +5 -0
  59. package/dist/api/types/ChatHistoryVellumValue.d.ts +11 -0
  60. package/dist/api/types/ChatHistoryVellumValue.js +5 -0
  61. package/dist/api/types/ChatHistoryVellumValueRequest.d.ts +11 -0
  62. package/dist/api/types/ChatHistoryVellumValueRequest.js +5 -0
  63. package/dist/api/types/SearchResultsVariableValue.d.ts +8 -0
  64. package/dist/api/types/SearchResultsVariableValue.js +5 -0
  65. package/dist/api/types/SearchResultsVellumValue.d.ts +11 -0
  66. package/dist/api/types/SearchResultsVellumValue.js +5 -0
  67. package/dist/api/types/SearchResultsVellumValueRequest.d.ts +11 -0
  68. package/dist/api/types/SearchResultsVellumValueRequest.js +5 -0
  69. package/dist/api/types/index.d.ts +9 -0
  70. package/dist/api/types/index.js +9 -0
  71. package/dist/serialization/types/ArrayVariableValue.d.ts +13 -0
  72. package/dist/serialization/types/ArrayVariableValue.js +35 -0
  73. package/dist/serialization/types/ArrayVariableValueItem.d.ts +3 -1
  74. package/dist/serialization/types/ArrayVariableValueItem.js +6 -0
  75. package/dist/serialization/types/ArrayVellumValue.d.ts +13 -0
  76. package/dist/serialization/types/ArrayVellumValue.js +35 -0
  77. package/dist/serialization/types/ArrayVellumValueItem.d.ts +3 -1
  78. package/dist/serialization/types/ArrayVellumValueItem.js +6 -0
  79. package/dist/serialization/types/ArrayVellumValueItemRequest.d.ts +3 -1
  80. package/dist/serialization/types/ArrayVellumValueItemRequest.js +6 -0
  81. package/dist/serialization/types/ArrayVellumValueRequest.d.ts +13 -0
  82. package/dist/serialization/types/ArrayVellumValueRequest.js +35 -0
  83. package/dist/serialization/types/ChatHistoryVariableValue.d.ts +14 -0
  84. package/dist/serialization/types/ChatHistoryVariableValue.js +35 -0
  85. package/dist/serialization/types/ChatHistoryVellumValue.d.ts +14 -0
  86. package/dist/serialization/types/ChatHistoryVellumValue.js +35 -0
  87. package/dist/serialization/types/ChatHistoryVellumValueRequest.d.ts +14 -0
  88. package/dist/serialization/types/ChatHistoryVellumValueRequest.js +35 -0
  89. package/dist/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -2
  90. package/dist/serialization/types/CodeExecutionNodeArrayResult.js +2 -2
  91. package/dist/serialization/types/ExecutionArrayVellumValue.d.ts +1 -2
  92. package/dist/serialization/types/ExecutionArrayVellumValue.js +2 -2
  93. package/dist/serialization/types/NamedTestCaseArrayVariableValue.d.ts +1 -2
  94. package/dist/serialization/types/NamedTestCaseArrayVariableValue.js +2 -2
  95. package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -2
  96. package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.js +2 -2
  97. package/dist/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -2
  98. package/dist/serialization/types/NodeInputCompiledArrayValue.js +2 -2
  99. package/dist/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -2
  100. package/dist/serialization/types/NodeOutputCompiledArrayValue.js +2 -2
  101. package/dist/serialization/types/SearchResultsVariableValue.d.ts +14 -0
  102. package/dist/serialization/types/SearchResultsVariableValue.js +35 -0
  103. package/dist/serialization/types/SearchResultsVellumValue.d.ts +14 -0
  104. package/dist/serialization/types/SearchResultsVellumValue.js +35 -0
  105. package/dist/serialization/types/SearchResultsVellumValueRequest.d.ts +14 -0
  106. package/dist/serialization/types/SearchResultsVellumValueRequest.js +35 -0
  107. package/dist/serialization/types/TemplatingNodeArrayResult.d.ts +1 -2
  108. package/dist/serialization/types/TemplatingNodeArrayResult.js +2 -2
  109. package/dist/serialization/types/TerminalNodeArrayResult.d.ts +1 -2
  110. package/dist/serialization/types/TerminalNodeArrayResult.js +2 -2
  111. package/dist/serialization/types/TestCaseArrayVariableValue.d.ts +1 -2
  112. package/dist/serialization/types/TestCaseArrayVariableValue.js +2 -2
  113. package/dist/serialization/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -2
  114. package/dist/serialization/types/TestSuiteRunExecutionArrayOutput.js +2 -2
  115. package/dist/serialization/types/WorkflowOutputArray.d.ts +1 -2
  116. package/dist/serialization/types/WorkflowOutputArray.js +2 -2
  117. package/dist/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -2
  118. package/dist/serialization/types/WorkflowResultEventOutputDataArray.js +2 -2
  119. package/dist/serialization/types/index.d.ts +9 -0
  120. package/dist/serialization/types/index.js +9 -0
  121. package/package.json +1 -1
  122. package/serialization/types/ArrayVariableValue.d.ts +13 -0
  123. package/serialization/types/ArrayVariableValue.js +35 -0
  124. package/serialization/types/ArrayVariableValueItem.d.ts +3 -1
  125. package/serialization/types/ArrayVariableValueItem.js +6 -0
  126. package/serialization/types/ArrayVellumValue.d.ts +13 -0
  127. package/serialization/types/ArrayVellumValue.js +35 -0
  128. package/serialization/types/ArrayVellumValueItem.d.ts +3 -1
  129. package/serialization/types/ArrayVellumValueItem.js +6 -0
  130. package/serialization/types/ArrayVellumValueItemRequest.d.ts +3 -1
  131. package/serialization/types/ArrayVellumValueItemRequest.js +6 -0
  132. package/serialization/types/ArrayVellumValueRequest.d.ts +13 -0
  133. package/serialization/types/ArrayVellumValueRequest.js +35 -0
  134. package/serialization/types/ChatHistoryVariableValue.d.ts +14 -0
  135. package/serialization/types/ChatHistoryVariableValue.js +35 -0
  136. package/serialization/types/ChatHistoryVellumValue.d.ts +14 -0
  137. package/serialization/types/ChatHistoryVellumValue.js +35 -0
  138. package/serialization/types/ChatHistoryVellumValueRequest.d.ts +14 -0
  139. package/serialization/types/ChatHistoryVellumValueRequest.js +35 -0
  140. package/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -2
  141. package/serialization/types/CodeExecutionNodeArrayResult.js +2 -2
  142. package/serialization/types/ExecutionArrayVellumValue.d.ts +1 -2
  143. package/serialization/types/ExecutionArrayVellumValue.js +2 -2
  144. package/serialization/types/NamedTestCaseArrayVariableValue.d.ts +1 -2
  145. package/serialization/types/NamedTestCaseArrayVariableValue.js +2 -2
  146. package/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -2
  147. package/serialization/types/NamedTestCaseArrayVariableValueRequest.js +2 -2
  148. package/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -2
  149. package/serialization/types/NodeInputCompiledArrayValue.js +2 -2
  150. package/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -2
  151. package/serialization/types/NodeOutputCompiledArrayValue.js +2 -2
  152. package/serialization/types/SearchResultsVariableValue.d.ts +14 -0
  153. package/serialization/types/SearchResultsVariableValue.js +35 -0
  154. package/serialization/types/SearchResultsVellumValue.d.ts +14 -0
  155. package/serialization/types/SearchResultsVellumValue.js +35 -0
  156. package/serialization/types/SearchResultsVellumValueRequest.d.ts +14 -0
  157. package/serialization/types/SearchResultsVellumValueRequest.js +35 -0
  158. package/serialization/types/TemplatingNodeArrayResult.d.ts +1 -2
  159. package/serialization/types/TemplatingNodeArrayResult.js +2 -2
  160. package/serialization/types/TerminalNodeArrayResult.d.ts +1 -2
  161. package/serialization/types/TerminalNodeArrayResult.js +2 -2
  162. package/serialization/types/TestCaseArrayVariableValue.d.ts +1 -2
  163. package/serialization/types/TestCaseArrayVariableValue.js +2 -2
  164. package/serialization/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -2
  165. package/serialization/types/TestSuiteRunExecutionArrayOutput.js +2 -2
  166. package/serialization/types/WorkflowOutputArray.d.ts +1 -2
  167. package/serialization/types/WorkflowOutputArray.js +2 -2
  168. package/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -2
  169. package/serialization/types/WorkflowResultEventOutputDataArray.js +2 -2
  170. package/serialization/types/index.d.ts +9 -0
  171. package/serialization/types/index.js +9 -0
@@ -748,6 +748,12 @@ types:
748
748
  source:
749
749
  openapi: openapi/openapi.yml
750
750
  ArrayEnum: literal<"ARRAY">
751
+ ArrayVariableValue:
752
+ properties:
753
+ type: literal<"ARRAY">
754
+ value: optional<list<ArrayVariableValueItem>>
755
+ source:
756
+ openapi: openapi/openapi.yml
751
757
  ArrayVariableValueItem:
752
758
  discriminated: false
753
759
  union:
@@ -757,6 +763,16 @@ types:
757
763
  - ErrorVariableValue
758
764
  - FunctionCallVariableValue
759
765
  - ImageVariableValue
766
+ - ChatHistoryVariableValue
767
+ - SearchResultsVariableValue
768
+ - ArrayVariableValue
769
+ source:
770
+ openapi: openapi/openapi.yml
771
+ ArrayVellumValue:
772
+ docs: A value representing an array of Vellum variable values.
773
+ properties:
774
+ type: literal<"ARRAY">
775
+ value: optional<list<ArrayVellumValueItem>>
760
776
  source:
761
777
  openapi: openapi/openapi.yml
762
778
  ArrayVellumValueItem:
@@ -768,6 +784,9 @@ types:
768
784
  - ImageVellumValue
769
785
  - FunctionCallVellumValue
770
786
  - ErrorVellumValue
787
+ - ChatHistoryVellumValue
788
+ - SearchResultsVellumValue
789
+ - ArrayVellumValue
771
790
  source:
772
791
  openapi: openapi/openapi.yml
773
792
  ArrayVellumValueItemRequest:
@@ -779,6 +798,16 @@ types:
779
798
  - ImageVellumValueRequest
780
799
  - FunctionCallVellumValueRequest
781
800
  - ErrorVellumValueRequest
801
+ - ChatHistoryVellumValueRequest
802
+ - SearchResultsVellumValueRequest
803
+ - ArrayVellumValueRequest
804
+ source:
805
+ openapi: openapi/openapi.yml
806
+ ArrayVellumValueRequest:
807
+ docs: A value representing an array of Vellum variable values.
808
+ properties:
809
+ type: literal<"ARRAY">
810
+ value: optional<list<ArrayVellumValueItemRequest>>
782
811
  source:
783
812
  openapi: openapi/openapi.yml
784
813
  BasicVectorizerIntfloatMultilingualE5Large:
@@ -836,6 +865,26 @@ types:
836
865
  value: list<ChatMessageRequest>
837
866
  source:
838
867
  openapi: openapi/openapi.yml
868
+ ChatHistoryVariableValue:
869
+ properties:
870
+ type: literal<"CHAT_HISTORY">
871
+ value: optional<list<ChatMessage>>
872
+ source:
873
+ openapi: openapi/openapi.yml
874
+ ChatHistoryVellumValue:
875
+ docs: A value representing Chat History.
876
+ properties:
877
+ type: literal<"CHAT_HISTORY">
878
+ value: optional<list<ChatMessage>>
879
+ source:
880
+ openapi: openapi/openapi.yml
881
+ ChatHistoryVellumValueRequest:
882
+ docs: A value representing Chat History.
883
+ properties:
884
+ type: literal<"CHAT_HISTORY">
885
+ value: optional<list<ChatMessageRequest>>
886
+ source:
887
+ openapi: openapi/openapi.yml
839
888
  ChatMessage:
840
889
  properties:
841
890
  text: optional<string>
@@ -3455,6 +3504,26 @@ types:
3455
3504
  source:
3456
3505
  openapi: openapi/openapi.yml
3457
3506
  SearchResultsEnum: literal<"SEARCH_RESULTS">
3507
+ SearchResultsVariableValue:
3508
+ properties:
3509
+ type: literal<"SEARCH_RESULTS">
3510
+ value: optional<list<SearchResult>>
3511
+ source:
3512
+ openapi: openapi/openapi.yml
3513
+ SearchResultsVellumValue:
3514
+ docs: A value representing Search Results.
3515
+ properties:
3516
+ type: literal<"SEARCH_RESULTS">
3517
+ value: optional<list<SearchResult>>
3518
+ source:
3519
+ openapi: openapi/openapi.yml
3520
+ SearchResultsVellumValueRequest:
3521
+ docs: A value representing Search Results.
3522
+ properties:
3523
+ type: literal<"SEARCH_RESULTS">
3524
+ value: optional<list<SearchResultRequest>>
3525
+ source:
3526
+ openapi: openapi/openapi.yml
3458
3527
  SearchWeightsRequest:
3459
3528
  properties:
3460
3529
  semantic_similarity:
@@ -2017,6 +2017,19 @@ components:
2017
2017
  type: string
2018
2018
  enum:
2019
2019
  - ARRAY
2020
+ ArrayVariableValue:
2021
+ type: object
2022
+ properties:
2023
+ type:
2024
+ type: string
2025
+ value:
2026
+ type: array
2027
+ items:
2028
+ $ref: '#/components/schemas/ArrayVariableValueItem'
2029
+ nullable: true
2030
+ required:
2031
+ - type
2032
+ - value
2020
2033
  ArrayVariableValueItem:
2021
2034
  oneOf:
2022
2035
  - $ref: '#/components/schemas/StringVariableValue'
@@ -2025,6 +2038,9 @@ components:
2025
2038
  - $ref: '#/components/schemas/ErrorVariableValue'
2026
2039
  - $ref: '#/components/schemas/FunctionCallVariableValue'
2027
2040
  - $ref: '#/components/schemas/ImageVariableValue'
2041
+ - $ref: '#/components/schemas/ChatHistoryVariableValue'
2042
+ - $ref: '#/components/schemas/SearchResultsVariableValue'
2043
+ - $ref: '#/components/schemas/ArrayVariableValue'
2028
2044
  discriminator:
2029
2045
  propertyName: type
2030
2046
  mapping:
@@ -2034,6 +2050,23 @@ components:
2034
2050
  ERROR: '#/components/schemas/ErrorVariableValue'
2035
2051
  FUNCTION_CALL: '#/components/schemas/FunctionCallVariableValue'
2036
2052
  IMAGE: '#/components/schemas/ImageVariableValue'
2053
+ CHAT_HISTORY: '#/components/schemas/ChatHistoryVariableValue'
2054
+ SEARCH_RESULTS: '#/components/schemas/SearchResultsVariableValue'
2055
+ ARRAY: '#/components/schemas/ArrayVariableValue'
2056
+ ArrayVellumValue:
2057
+ type: object
2058
+ description: A value representing an array of Vellum variable values.
2059
+ properties:
2060
+ type:
2061
+ $ref: '#/components/schemas/ArrayEnum'
2062
+ value:
2063
+ type: array
2064
+ items:
2065
+ $ref: '#/components/schemas/ArrayVellumValueItem'
2066
+ nullable: true
2067
+ required:
2068
+ - type
2069
+ - value
2037
2070
  ArrayVellumValueItem:
2038
2071
  oneOf:
2039
2072
  - $ref: '#/components/schemas/StringVellumValue'
@@ -2042,6 +2075,9 @@ components:
2042
2075
  - $ref: '#/components/schemas/ImageVellumValue'
2043
2076
  - $ref: '#/components/schemas/FunctionCallVellumValue'
2044
2077
  - $ref: '#/components/schemas/ErrorVellumValue'
2078
+ - $ref: '#/components/schemas/ChatHistoryVellumValue'
2079
+ - $ref: '#/components/schemas/SearchResultsVellumValue'
2080
+ - $ref: '#/components/schemas/ArrayVellumValue'
2045
2081
  discriminator:
2046
2082
  propertyName: type
2047
2083
  mapping:
@@ -2051,6 +2087,9 @@ components:
2051
2087
  IMAGE: '#/components/schemas/ImageVellumValue'
2052
2088
  FUNCTION_CALL: '#/components/schemas/FunctionCallVellumValue'
2053
2089
  ERROR: '#/components/schemas/ErrorVellumValue'
2090
+ CHAT_HISTORY: '#/components/schemas/ChatHistoryVellumValue'
2091
+ SEARCH_RESULTS: '#/components/schemas/SearchResultsVellumValue'
2092
+ ARRAY: '#/components/schemas/ArrayVellumValue'
2054
2093
  ArrayVellumValueItemRequest:
2055
2094
  oneOf:
2056
2095
  - $ref: '#/components/schemas/StringVellumValueRequest'
@@ -2059,6 +2098,9 @@ components:
2059
2098
  - $ref: '#/components/schemas/ImageVellumValueRequest'
2060
2099
  - $ref: '#/components/schemas/FunctionCallVellumValueRequest'
2061
2100
  - $ref: '#/components/schemas/ErrorVellumValueRequest'
2101
+ - $ref: '#/components/schemas/ChatHistoryVellumValueRequest'
2102
+ - $ref: '#/components/schemas/SearchResultsVellumValueRequest'
2103
+ - $ref: '#/components/schemas/ArrayVellumValueRequest'
2062
2104
  discriminator:
2063
2105
  propertyName: type
2064
2106
  mapping:
@@ -2068,6 +2110,23 @@ components:
2068
2110
  IMAGE: '#/components/schemas/ImageVellumValueRequest'
2069
2111
  FUNCTION_CALL: '#/components/schemas/FunctionCallVellumValueRequest'
2070
2112
  ERROR: '#/components/schemas/ErrorVellumValueRequest'
2113
+ CHAT_HISTORY: '#/components/schemas/ChatHistoryVellumValueRequest'
2114
+ SEARCH_RESULTS: '#/components/schemas/SearchResultsVellumValueRequest'
2115
+ ARRAY: '#/components/schemas/ArrayVellumValueRequest'
2116
+ ArrayVellumValueRequest:
2117
+ type: object
2118
+ description: A value representing an array of Vellum variable values.
2119
+ properties:
2120
+ type:
2121
+ $ref: '#/components/schemas/ArrayEnum'
2122
+ value:
2123
+ type: array
2124
+ items:
2125
+ $ref: '#/components/schemas/ArrayVellumValueItemRequest'
2126
+ nullable: true
2127
+ required:
2128
+ - type
2129
+ - value
2071
2130
  BasicVectorizerIntfloatMultilingualE5Large:
2072
2131
  type: object
2073
2132
  description: Basic vectorizer for intfloat/multilingual-e5-large.
@@ -2162,6 +2221,47 @@ components:
2162
2221
  - name
2163
2222
  - type
2164
2223
  - value
2224
+ ChatHistoryVariableValue:
2225
+ type: object
2226
+ properties:
2227
+ type:
2228
+ type: string
2229
+ value:
2230
+ type: array
2231
+ items:
2232
+ $ref: '#/components/schemas/ChatMessage'
2233
+ nullable: true
2234
+ required:
2235
+ - type
2236
+ - value
2237
+ ChatHistoryVellumValue:
2238
+ type: object
2239
+ description: A value representing Chat History.
2240
+ properties:
2241
+ type:
2242
+ $ref: '#/components/schemas/ChatHistoryEnum'
2243
+ value:
2244
+ type: array
2245
+ items:
2246
+ $ref: '#/components/schemas/ChatMessage'
2247
+ nullable: true
2248
+ required:
2249
+ - type
2250
+ - value
2251
+ ChatHistoryVellumValueRequest:
2252
+ type: object
2253
+ description: A value representing Chat History.
2254
+ properties:
2255
+ type:
2256
+ $ref: '#/components/schemas/ChatHistoryEnum'
2257
+ value:
2258
+ type: array
2259
+ items:
2260
+ $ref: '#/components/schemas/ChatMessageRequest'
2261
+ nullable: true
2262
+ required:
2263
+ - type
2264
+ - value
2165
2265
  ChatMessage:
2166
2266
  type: object
2167
2267
  properties:
@@ -6781,6 +6881,47 @@ components:
6781
6881
  type: string
6782
6882
  enum:
6783
6883
  - SEARCH_RESULTS
6884
+ SearchResultsVariableValue:
6885
+ type: object
6886
+ properties:
6887
+ type:
6888
+ type: string
6889
+ value:
6890
+ type: array
6891
+ items:
6892
+ $ref: '#/components/schemas/SearchResult'
6893
+ nullable: true
6894
+ required:
6895
+ - type
6896
+ - value
6897
+ SearchResultsVellumValue:
6898
+ type: object
6899
+ description: A value representing Search Results.
6900
+ properties:
6901
+ type:
6902
+ $ref: '#/components/schemas/SearchResultsEnum'
6903
+ value:
6904
+ type: array
6905
+ items:
6906
+ $ref: '#/components/schemas/SearchResult'
6907
+ nullable: true
6908
+ required:
6909
+ - type
6910
+ - value
6911
+ SearchResultsVellumValueRequest:
6912
+ type: object
6913
+ description: A value representing Search Results.
6914
+ properties:
6915
+ type:
6916
+ $ref: '#/components/schemas/SearchResultsEnum'
6917
+ value:
6918
+ type: array
6919
+ items:
6920
+ $ref: '#/components/schemas/SearchResultRequest'
6921
+ nullable: true
6922
+ required:
6923
+ - type
6924
+ - value
6784
6925
  SearchWeightsRequest:
6785
6926
  type: object
6786
6927
  properties:
package/Client.js CHANGED
@@ -86,7 +86,7 @@ class VellumClient {
86
86
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
87
87
  .predict, "v1/execute-prompt"),
88
88
  method: "POST",
89
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
89
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
90
90
  contentType: "application/json",
91
91
  requestType: "json",
92
92
  body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -144,7 +144,7 @@ class VellumClient {
144
144
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
145
145
  .predict, "v1/execute-prompt-stream"),
146
146
  method: "POST",
147
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
147
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
148
148
  contentType: "application/json",
149
149
  requestType: "json",
150
150
  body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -229,7 +229,7 @@ class VellumClient {
229
229
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
230
230
  .predict, "v1/execute-workflow"),
231
231
  method: "POST",
232
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
232
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
233
233
  contentType: "application/json",
234
234
  requestType: "json",
235
235
  body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -285,7 +285,7 @@ class VellumClient {
285
285
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
286
286
  .predict, "v1/execute-workflow-stream"),
287
287
  method: "POST",
288
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
288
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
289
289
  contentType: "application/json",
290
290
  requestType: "json",
291
291
  body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -372,7 +372,7 @@ class VellumClient {
372
372
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
373
373
  .predict, "v1/generate"),
374
374
  method: "POST",
375
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
375
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
376
376
  contentType: "application/json",
377
377
  requestType: "json",
378
378
  body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -433,7 +433,7 @@ class VellumClient {
433
433
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
434
434
  .predict, "v1/generate-stream"),
435
435
  method: "POST",
436
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
436
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
437
437
  contentType: "application/json",
438
438
  requestType: "json",
439
439
  body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -514,7 +514,7 @@ class VellumClient {
514
514
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
515
515
  .predict, "v1/search"),
516
516
  method: "POST",
517
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
517
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
518
518
  contentType: "application/json",
519
519
  requestType: "json",
520
520
  body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -582,7 +582,7 @@ class VellumClient {
582
582
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
583
583
  .predict, "v1/submit-completion-actuals"),
584
584
  method: "POST",
585
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
585
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
586
586
  contentType: "application/json",
587
587
  requestType: "json",
588
588
  body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -645,7 +645,7 @@ class VellumClient {
645
645
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
646
646
  .predict, "v1/submit-workflow-execution-actuals"),
647
647
  method: "POST",
648
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
648
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
649
649
  contentType: "application/json",
650
650
  requestType: "json",
651
651
  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.14", "User-Agent": "vellum-ai/0.8.14", "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.8.15", "User-Agent": "vellum-ai/0.8.15", "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.14", "User-Agent": "vellum-ai/0.8.14", "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.8.15", "User-Agent": "vellum-ai/0.8.15", "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.14", "User-Agent": "vellum-ai/0.8.14", "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.8.15", "User-Agent": "vellum-ai/0.8.15", "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.14", "User-Agent": "vellum-ai/0.8.14", "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.8.15", "User-Agent": "vellum-ai/0.8.15", "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.14", "User-Agent": "vellum-ai/0.8.14", "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.8.15", "User-Agent": "vellum-ai/0.8.15", "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.14", "User-Agent": "vellum-ai/0.8.14", "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.8.15", "User-Agent": "vellum-ai/0.8.15", "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, {
@@ -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.8.14", "User-Agent": "vellum-ai/0.8.14", "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.8.15", "User-Agent": "vellum-ai/0.8.15", "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",
@@ -196,7 +196,7 @@ class DocumentIndexes {
196
196
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
197
197
  .default, "v1/document-indexes"),
198
198
  method: "POST",
199
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
199
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
200
200
  contentType: "application/json",
201
201
  requestType: "json",
202
202
  body: serializers.DocumentIndexCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -249,7 +249,7 @@ class DocumentIndexes {
249
249
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
250
250
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
251
251
  method: "GET",
252
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
252
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
253
253
  contentType: "application/json",
254
254
  requestType: "json",
255
255
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -304,7 +304,7 @@ class DocumentIndexes {
304
304
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
305
305
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
306
306
  method: "PUT",
307
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
307
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
308
308
  contentType: "application/json",
309
309
  requestType: "json",
310
310
  body: serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -357,7 +357,7 @@ class DocumentIndexes {
357
357
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
358
358
  .documents, `v1/document-indexes/${encodeURIComponent(id)}`),
359
359
  method: "DELETE",
360
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
360
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
361
361
  contentType: "application/json",
362
362
  requestType: "json",
363
363
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -405,7 +405,7 @@ class DocumentIndexes {
405
405
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
406
406
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
407
407
  method: "PATCH",
408
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
408
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
409
409
  contentType: "application/json",
410
410
  requestType: "json",
411
411
  body: serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
@@ -461,7 +461,7 @@ class DocumentIndexes {
461
461
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
462
462
  .default, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
463
463
  method: "POST",
464
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
464
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
465
465
  contentType: "application/json",
466
466
  requestType: "json",
467
467
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -509,7 +509,7 @@ class DocumentIndexes {
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
  .documents, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
511
511
  method: "DELETE",
512
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "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.8.15", "User-Agent": "vellum-ai/0.8.15", "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
  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.8.14", "User-Agent": "vellum-ai/0.8.14", "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.8.15", "User-Agent": "vellum-ai/0.8.15", "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.8.14", "User-Agent": "vellum-ai/0.8.14", "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.8.15", "User-Agent": "vellum-ai/0.8.15", "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
  .documents, `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.8.14", "User-Agent": "vellum-ai/0.8.14", "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.8.15", "User-Agent": "vellum-ai/0.8.15", "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.8.14", "User-Agent": "vellum-ai/0.8.14", "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.8.15", "User-Agent": "vellum-ai/0.8.15", "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.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
325
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
326
326
  requestType: "file",
327
327
  duplex: _maybeEncodedRequest.duplex,
328
328
  body: _maybeEncodedRequest.body,
@@ -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.8.14", "User-Agent": "vellum-ai/0.8.14", "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.8.15", "User-Agent": "vellum-ai/0.8.15", "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(promptVariantId)}/deploy`),
66
66
  method: "POST",
67
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "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.8.15", "User-Agent": "vellum-ai/0.8.15", "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" }),
@@ -151,7 +151,7 @@ class Sandboxes {
151
151
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
152
152
  .default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios`),
153
153
  method: "POST",
154
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
154
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
155
155
  contentType: "application/json",
156
156
  requestType: "json",
157
157
  body: serializers.UpsertSandboxScenarioRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -205,7 +205,7 @@ class Sandboxes {
205
205
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
206
206
  .default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios/${encodeURIComponent(scenarioId)}`),
207
207
  method: "DELETE",
208
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.14", "User-Agent": "vellum-ai/0.8.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
208
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.15", "User-Agent": "vellum-ai/0.8.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
209
209
  contentType: "application/json",
210
210
  requestType: "json",
211
211
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,