vellum-ai 0.9.7 → 0.9.8

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 (165) hide show
  1. package/.mock/definition/__package__.yml +2 -2
  2. package/.mock/definition/adHoc.yml +1 -1
  3. package/.mock/openapi/openapi.yml +1 -1
  4. package/Client.js +10 -10
  5. package/api/resources/adHoc/client/Client.js +1 -1
  6. package/api/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +10 -2
  7. package/api/resources/containerImages/client/Client.js +4 -4
  8. package/api/resources/deployments/client/Client.js +6 -6
  9. package/api/resources/documentIndexes/client/Client.js +8 -8
  10. package/api/resources/documents/client/Client.js +5 -5
  11. package/api/resources/folderEntities/client/Client.js +2 -2
  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 +5 -5
  17. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  18. package/api/resources/workflows/client/Client.js +2 -2
  19. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  20. package/api/types/ChatMessagePromptBlock.d.ts +13 -0
  21. package/api/types/ChatMessagePromptBlock.js +5 -0
  22. package/api/types/ChatMessagePromptBlockProperties.d.ts +13 -0
  23. package/api/types/ChatMessagePromptBlockProperties.js +5 -0
  24. package/api/types/EphemeralPromptCacheConfig.d.ts +7 -0
  25. package/api/types/EphemeralPromptCacheConfig.js +5 -0
  26. package/api/types/EphemeralPromptCacheConfigTypeEnum.d.ts +7 -0
  27. package/api/types/EphemeralPromptCacheConfigTypeEnum.js +5 -0
  28. package/api/types/FunctionDefinitionPromptBlock.d.ts +13 -0
  29. package/api/types/FunctionDefinitionPromptBlock.js +5 -0
  30. package/api/types/FunctionDefinitionPromptBlockProperties.d.ts +15 -0
  31. package/api/types/FunctionDefinitionPromptBlockProperties.js +5 -0
  32. package/api/types/JinjaPromptBlock.d.ts +13 -0
  33. package/api/types/JinjaPromptBlock.js +5 -0
  34. package/api/types/JinjaPromptBlockProperties.d.ts +8 -0
  35. package/api/types/JinjaPromptBlockProperties.js +5 -0
  36. package/api/types/PlainTextPromptBlock.d.ts +13 -0
  37. package/api/types/PlainTextPromptBlock.js +5 -0
  38. package/api/types/PromptBlock.d.ts +5 -0
  39. package/api/types/PromptBlock.js +5 -0
  40. package/api/types/PromptBlockState.d.ts +12 -0
  41. package/api/types/PromptBlockState.js +10 -0
  42. package/api/types/RichTextChildBlock.d.ts +5 -0
  43. package/api/types/RichTextChildBlock.js +5 -0
  44. package/api/types/RichTextPromptBlock.d.ts +13 -0
  45. package/api/types/RichTextPromptBlock.js +5 -0
  46. package/api/types/VariablePromptBlock.d.ts +13 -0
  47. package/api/types/VariablePromptBlock.js +5 -0
  48. package/api/types/index.d.ts +14 -0
  49. package/api/types/index.js +14 -0
  50. package/dist/Client.js +10 -10
  51. package/dist/api/resources/adHoc/client/Client.js +1 -1
  52. package/dist/api/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +10 -2
  53. package/dist/api/resources/containerImages/client/Client.js +4 -4
  54. package/dist/api/resources/deployments/client/Client.js +6 -6
  55. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  56. package/dist/api/resources/documents/client/Client.js +5 -5
  57. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  58. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  59. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  60. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  61. package/dist/api/resources/testSuites/client/Client.js +4 -4
  62. package/dist/api/resources/workflowDeployments/client/Client.js +5 -5
  63. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  64. package/dist/api/resources/workflows/client/Client.js +2 -2
  65. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  66. package/dist/api/types/ChatMessagePromptBlock.d.ts +13 -0
  67. package/dist/api/types/ChatMessagePromptBlock.js +5 -0
  68. package/dist/api/types/ChatMessagePromptBlockProperties.d.ts +13 -0
  69. package/dist/api/types/ChatMessagePromptBlockProperties.js +5 -0
  70. package/dist/api/types/EphemeralPromptCacheConfig.d.ts +7 -0
  71. package/dist/api/types/EphemeralPromptCacheConfig.js +5 -0
  72. package/dist/api/types/EphemeralPromptCacheConfigTypeEnum.d.ts +7 -0
  73. package/dist/api/types/EphemeralPromptCacheConfigTypeEnum.js +5 -0
  74. package/dist/api/types/FunctionDefinitionPromptBlock.d.ts +13 -0
  75. package/dist/api/types/FunctionDefinitionPromptBlock.js +5 -0
  76. package/dist/api/types/FunctionDefinitionPromptBlockProperties.d.ts +15 -0
  77. package/dist/api/types/FunctionDefinitionPromptBlockProperties.js +5 -0
  78. package/dist/api/types/JinjaPromptBlock.d.ts +13 -0
  79. package/dist/api/types/JinjaPromptBlock.js +5 -0
  80. package/dist/api/types/JinjaPromptBlockProperties.d.ts +8 -0
  81. package/dist/api/types/JinjaPromptBlockProperties.js +5 -0
  82. package/dist/api/types/PlainTextPromptBlock.d.ts +13 -0
  83. package/dist/api/types/PlainTextPromptBlock.js +5 -0
  84. package/dist/api/types/PromptBlock.d.ts +5 -0
  85. package/dist/api/types/PromptBlock.js +5 -0
  86. package/dist/api/types/PromptBlockState.d.ts +12 -0
  87. package/dist/api/types/PromptBlockState.js +10 -0
  88. package/dist/api/types/RichTextChildBlock.d.ts +5 -0
  89. package/dist/api/types/RichTextChildBlock.js +5 -0
  90. package/dist/api/types/RichTextPromptBlock.d.ts +13 -0
  91. package/dist/api/types/RichTextPromptBlock.js +5 -0
  92. package/dist/api/types/VariablePromptBlock.d.ts +13 -0
  93. package/dist/api/types/VariablePromptBlock.js +5 -0
  94. package/dist/api/types/index.d.ts +14 -0
  95. package/dist/api/types/index.js +14 -0
  96. package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +1 -1
  97. package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js +2 -1
  98. package/dist/serialization/types/ChatMessagePromptBlock.d.ts +17 -0
  99. package/dist/serialization/types/ChatMessagePromptBlock.js +39 -0
  100. package/dist/serialization/types/ChatMessagePromptBlockProperties.d.ts +16 -0
  101. package/dist/serialization/types/ChatMessagePromptBlockProperties.js +38 -0
  102. package/dist/serialization/types/EphemeralPromptCacheConfig.d.ts +13 -0
  103. package/dist/serialization/types/EphemeralPromptCacheConfig.js +34 -0
  104. package/dist/serialization/types/EphemeralPromptCacheConfigTypeEnum.d.ts +10 -0
  105. package/dist/serialization/types/EphemeralPromptCacheConfigTypeEnum.js +31 -0
  106. package/dist/serialization/types/FunctionDefinitionPromptBlock.d.ts +18 -0
  107. package/dist/serialization/types/FunctionDefinitionPromptBlock.js +39 -0
  108. package/dist/serialization/types/FunctionDefinitionPromptBlockProperties.d.ts +16 -0
  109. package/dist/serialization/types/FunctionDefinitionPromptBlockProperties.js +37 -0
  110. package/dist/serialization/types/JinjaPromptBlock.d.ts +18 -0
  111. package/dist/serialization/types/JinjaPromptBlock.js +39 -0
  112. package/dist/serialization/types/JinjaPromptBlockProperties.d.ts +14 -0
  113. package/dist/serialization/types/JinjaPromptBlockProperties.js +35 -0
  114. package/dist/serialization/types/PlainTextPromptBlock.d.ts +17 -0
  115. package/dist/serialization/types/PlainTextPromptBlock.js +38 -0
  116. package/dist/serialization/types/PromptBlock.d.ts +14 -0
  117. package/dist/serialization/types/PromptBlock.js +42 -0
  118. package/dist/serialization/types/PromptBlockState.d.ts +10 -0
  119. package/dist/serialization/types/PromptBlockState.js +31 -0
  120. package/dist/serialization/types/RichTextChildBlock.d.ts +12 -0
  121. package/dist/serialization/types/RichTextChildBlock.js +33 -0
  122. package/dist/serialization/types/RichTextPromptBlock.d.ts +18 -0
  123. package/dist/serialization/types/RichTextPromptBlock.js +39 -0
  124. package/dist/serialization/types/VariablePromptBlock.d.ts +17 -0
  125. package/dist/serialization/types/VariablePromptBlock.js +38 -0
  126. package/dist/serialization/types/index.d.ts +14 -0
  127. package/dist/serialization/types/index.js +14 -0
  128. package/dist/version.d.ts +1 -1
  129. package/dist/version.js +1 -1
  130. package/package.json +1 -1
  131. package/reference.md +9 -1
  132. package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +1 -1
  133. package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js +2 -1
  134. package/serialization/types/ChatMessagePromptBlock.d.ts +17 -0
  135. package/serialization/types/ChatMessagePromptBlock.js +39 -0
  136. package/serialization/types/ChatMessagePromptBlockProperties.d.ts +16 -0
  137. package/serialization/types/ChatMessagePromptBlockProperties.js +38 -0
  138. package/serialization/types/EphemeralPromptCacheConfig.d.ts +13 -0
  139. package/serialization/types/EphemeralPromptCacheConfig.js +34 -0
  140. package/serialization/types/EphemeralPromptCacheConfigTypeEnum.d.ts +10 -0
  141. package/serialization/types/EphemeralPromptCacheConfigTypeEnum.js +31 -0
  142. package/serialization/types/FunctionDefinitionPromptBlock.d.ts +18 -0
  143. package/serialization/types/FunctionDefinitionPromptBlock.js +39 -0
  144. package/serialization/types/FunctionDefinitionPromptBlockProperties.d.ts +16 -0
  145. package/serialization/types/FunctionDefinitionPromptBlockProperties.js +37 -0
  146. package/serialization/types/JinjaPromptBlock.d.ts +18 -0
  147. package/serialization/types/JinjaPromptBlock.js +39 -0
  148. package/serialization/types/JinjaPromptBlockProperties.d.ts +14 -0
  149. package/serialization/types/JinjaPromptBlockProperties.js +35 -0
  150. package/serialization/types/PlainTextPromptBlock.d.ts +17 -0
  151. package/serialization/types/PlainTextPromptBlock.js +38 -0
  152. package/serialization/types/PromptBlock.d.ts +14 -0
  153. package/serialization/types/PromptBlock.js +42 -0
  154. package/serialization/types/PromptBlockState.d.ts +10 -0
  155. package/serialization/types/PromptBlockState.js +31 -0
  156. package/serialization/types/RichTextChildBlock.d.ts +12 -0
  157. package/serialization/types/RichTextChildBlock.js +33 -0
  158. package/serialization/types/RichTextPromptBlock.d.ts +18 -0
  159. package/serialization/types/RichTextPromptBlock.js +39 -0
  160. package/serialization/types/VariablePromptBlock.d.ts +17 -0
  161. package/serialization/types/VariablePromptBlock.js +38 -0
  162. package/serialization/types/index.d.ts +14 -0
  163. package/serialization/types/index.js +14 -0
  164. package/version.d.ts +1 -1
  165. package/version.js +1 -1
@@ -78,7 +78,7 @@ class WorkflowDeployments {
78
78
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
79
79
  .default, "v1/workflow-deployments"),
80
80
  method: "GET",
81
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
81
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
82
  contentType: "application/json",
83
83
  queryParameters: _queryParams,
84
84
  requestType: "json",
@@ -131,7 +131,7 @@ class WorkflowDeployments {
131
131
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
132
132
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
133
133
  method: "GET",
134
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
134
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
135
135
  contentType: "application/json",
136
136
  requestType: "json",
137
137
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -198,7 +198,7 @@ class WorkflowDeployments {
198
198
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
199
199
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
200
200
  method: "GET",
201
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
201
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
202
202
  contentType: "application/json",
203
203
  queryParameters: _queryParams,
204
204
  requestType: "json",
@@ -252,7 +252,7 @@ class WorkflowDeployments {
252
252
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
253
253
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
254
254
  method: "GET",
255
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
255
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
256
256
  contentType: "application/json",
257
257
  requestType: "json",
258
258
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -306,7 +306,7 @@ class WorkflowDeployments {
306
306
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
307
307
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
308
308
  method: "PATCH",
309
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
309
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
310
310
  contentType: "application/json",
311
311
  requestType: "json",
312
312
  body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -64,7 +64,7 @@ class WorkflowSandboxes {
64
64
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
65
65
  .default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
66
66
  method: "POST",
67
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "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.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
68
68
  contentType: "application/json",
69
69
  requestType: "json",
70
70
  body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -65,7 +65,7 @@ class Workflows {
65
65
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
66
66
  .default, `v1/workflows/${encodeURIComponent(id)}/pull`),
67
67
  method: "GET",
68
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
68
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
69
69
  contentType: "application/json",
70
70
  queryParameters: _queryParams,
71
71
  requestType: "json",
@@ -124,7 +124,7 @@ class Workflows {
124
124
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
125
125
  .default, "v1/workflows/push"),
126
126
  method: "POST",
127
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
127
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
128
128
  contentType: "application/json",
129
129
  requestType: "json",
130
130
  body: serializers.WorkflowPushRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -64,7 +64,7 @@ class WorkspaceSecrets {
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/workspace-secrets/${encodeURIComponent(id)}`),
66
66
  method: "GET",
67
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "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.9.8", "User-Agent": "vellum-ai/0.9.8", "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
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -117,7 +117,7 @@ class WorkspaceSecrets {
117
117
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
118
118
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
119
119
  method: "PATCH",
120
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
120
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
121
121
  contentType: "application/json",
122
122
  requestType: "json",
123
123
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A block that represents a chat message in a prompt template.
7
+ */
8
+ export interface ChatMessagePromptBlock {
9
+ state?: Vellum.PromptBlockState;
10
+ cacheConfig?: Vellum.EphemeralPromptCacheConfig;
11
+ blockType: "CHAT_MESSAGE";
12
+ properties: Vellum.ChatMessagePromptBlockProperties;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * The properties of a ChatMessagePromptTemplateBlock
7
+ */
8
+ export interface ChatMessagePromptBlockProperties {
9
+ blocks: Vellum.PromptBlock[];
10
+ chatRole?: Vellum.ChatMessageRole;
11
+ chatSource?: string;
12
+ chatMessageUnterminated?: boolean;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export interface EphemeralPromptCacheConfig {
6
+ type?: Vellum.EphemeralPromptCacheConfigTypeEnum;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * - `EPHEMERAL` - EPHEMERAL
6
+ */
7
+ export declare type EphemeralPromptCacheConfigTypeEnum = "EPHEMERAL";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A block that represents a function definition in a prompt template.
7
+ */
8
+ export interface FunctionDefinitionPromptBlock {
9
+ state?: Vellum.PromptBlockState;
10
+ cacheConfig?: Vellum.EphemeralPromptCacheConfig;
11
+ blockType: "FUNCTION_DEFINITION";
12
+ properties: Vellum.FunctionDefinitionPromptBlockProperties;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface FunctionDefinitionPromptBlockProperties {
5
+ /** The name identifying the function. */
6
+ functionName?: string;
7
+ /** A description to help guide the model when to invoke this function. */
8
+ functionDescription?: string;
9
+ /** An OpenAPI specification of parameters that are supported by this function. */
10
+ functionParameters?: Record<string, unknown>;
11
+ /** Set this option to true to force the model to return a function call of this function. */
12
+ functionForced?: boolean;
13
+ /** Set this option to use strict schema decoding when available. */
14
+ functionStrict?: boolean;
15
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A block of Jinja template code that is used to generate a prompt
7
+ */
8
+ export interface JinjaPromptBlock {
9
+ state?: Vellum.PromptBlockState;
10
+ cacheConfig?: Vellum.EphemeralPromptCacheConfig;
11
+ blockType: "JINJA";
12
+ properties: Vellum.JinjaPromptBlockProperties;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export interface JinjaPromptBlockProperties {
6
+ template?: string;
7
+ templateType?: Vellum.VellumVariableType;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A block that holds a plain text string value.
7
+ */
8
+ export interface PlainTextPromptBlock {
9
+ state?: Vellum.PromptBlockState;
10
+ cacheConfig?: Vellum.EphemeralPromptCacheConfig;
11
+ blockType: "PLAIN_TEXT";
12
+ text: string;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export declare type PromptBlock = Vellum.JinjaPromptBlock | Vellum.ChatMessagePromptBlock | Vellum.FunctionDefinitionPromptBlock | Vellum.VariablePromptBlock | Vellum.RichTextPromptBlock;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * - `ENABLED` - ENABLED
6
+ * - `DISABLED` - DISABLED
7
+ */
8
+ export declare type PromptBlockState = "ENABLED" | "DISABLED";
9
+ export declare const PromptBlockState: {
10
+ readonly Enabled: "ENABLED";
11
+ readonly Disabled: "DISABLED";
12
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PromptBlockState = void 0;
7
+ exports.PromptBlockState = {
8
+ Enabled: "ENABLED",
9
+ Disabled: "DISABLED",
10
+ };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export declare type RichTextChildBlock = Vellum.VariablePromptBlock | Vellum.PlainTextPromptBlock;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A block that includes a combination of plain text and variable blocks.
7
+ */
8
+ export interface RichTextPromptBlock {
9
+ state?: Vellum.PromptBlockState;
10
+ cacheConfig?: Vellum.EphemeralPromptCacheConfig;
11
+ blockType: "RICH_TEXT";
12
+ blocks: Vellum.RichTextChildBlock[];
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A block that represents a variable in a prompt template.
7
+ */
8
+ export interface VariablePromptBlock {
9
+ state?: Vellum.PromptBlockState;
10
+ cacheConfig?: Vellum.EphemeralPromptCacheConfig;
11
+ blockType: "VARIABLE";
12
+ inputVariableId: string;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -34,6 +34,8 @@ export * from "./ChatHistoryVellumValueRequest";
34
34
  export * from "./ChatMessage";
35
35
  export * from "./ChatMessageContent";
36
36
  export * from "./ChatMessageContentRequest";
37
+ export * from "./ChatMessagePromptBlock";
38
+ export * from "./ChatMessagePromptBlockProperties";
37
39
  export * from "./ChatMessageRequest";
38
40
  export * from "./ChatMessageRole";
39
41
  export * from "./CodeExecutionNodeArrayResult";
@@ -77,6 +79,8 @@ export * from "./EnrichedNormalizedCompletion";
77
79
  export * from "./EntityStatus";
78
80
  export * from "./EntityVisibility";
79
81
  export * from "./EnvironmentEnum";
82
+ export * from "./EphemeralPromptCacheConfig";
83
+ export * from "./EphemeralPromptCacheConfigTypeEnum";
80
84
  export * from "./ErrorInputRequest";
81
85
  export * from "./ErrorVariableValue";
82
86
  export * from "./ErrorVellumValue";
@@ -125,6 +129,8 @@ export * from "./FunctionCallRequest";
125
129
  export * from "./FunctionCallVariableValue";
126
130
  export * from "./FunctionCallVellumValue";
127
131
  export * from "./FunctionCallVellumValueRequest";
132
+ export * from "./FunctionDefinitionPromptBlock";
133
+ export * from "./FunctionDefinitionPromptBlockProperties";
128
134
  export * from "./GenerateOptionsRequest";
129
135
  export * from "./GenerateRequest";
130
136
  export * from "./GenerateResponse";
@@ -158,6 +164,8 @@ export * from "./InstructorVectorizerConfig";
158
164
  export * from "./InstructorVectorizerConfigRequest";
159
165
  export * from "./IterationStateEnum";
160
166
  export * from "./JsonInputRequest";
167
+ export * from "./JinjaPromptBlock";
168
+ export * from "./JinjaPromptBlockProperties";
161
169
  export * from "./JsonVariableValue";
162
170
  export * from "./JsonVellumValue";
163
171
  export * from "./JsonVellumValueRequest";
@@ -241,9 +249,12 @@ export * from "./PaginatedTestSuiteTestCaseList";
241
249
  export * from "./PaginatedWorkflowReleaseTagReadList";
242
250
  export * from "./PdfSearchResultMetaSource";
243
251
  export * from "./PdfSearchResultMetaSourceRequest";
252
+ export * from "./PlainTextPromptBlock";
244
253
  export * from "./Price";
245
254
  export * from "./ProcessingFailureReasonEnum";
246
255
  export * from "./ProcessingStateEnum";
256
+ export * from "./PromptBlock";
257
+ export * from "./PromptBlockState";
247
258
  export * from "./PromptDeploymentExpandMetaRequest";
248
259
  export * from "./PromptDeploymentInputRequest";
249
260
  export * from "./PromptExecutionMeta";
@@ -270,6 +281,8 @@ export * from "./RejectedPromptExecutionMeta";
270
281
  export * from "./RejectedWorkflowNodeResultEvent";
271
282
  export * from "./ReleaseTagSource";
272
283
  export * from "./ReplaceTestSuiteTestCaseRequest";
284
+ export * from "./RichTextChildBlock";
285
+ export * from "./RichTextPromptBlock";
273
286
  export * from "./SandboxScenario";
274
287
  export * from "./ScenarioInput";
275
288
  export * from "./ScenarioInputChatHistoryVariableValue";
@@ -403,6 +416,7 @@ export * from "./TokenOverlappingWindowChunkingRequest";
403
416
  export * from "./UnitEnum";
404
417
  export * from "./UploadDocumentResponse";
405
418
  export * from "./UpsertTestSuiteTestCaseRequest";
419
+ export * from "./VariablePromptBlock";
406
420
  export * from "./VellumAudio";
407
421
  export * from "./VellumAudioRequest";
408
422
  export * from "./VellumError";
@@ -50,6 +50,8 @@ __exportStar(require("./ChatHistoryVellumValueRequest"), exports);
50
50
  __exportStar(require("./ChatMessage"), exports);
51
51
  __exportStar(require("./ChatMessageContent"), exports);
52
52
  __exportStar(require("./ChatMessageContentRequest"), exports);
53
+ __exportStar(require("./ChatMessagePromptBlock"), exports);
54
+ __exportStar(require("./ChatMessagePromptBlockProperties"), exports);
53
55
  __exportStar(require("./ChatMessageRequest"), exports);
54
56
  __exportStar(require("./ChatMessageRole"), exports);
55
57
  __exportStar(require("./CodeExecutionNodeArrayResult"), exports);
@@ -93,6 +95,8 @@ __exportStar(require("./EnrichedNormalizedCompletion"), exports);
93
95
  __exportStar(require("./EntityStatus"), exports);
94
96
  __exportStar(require("./EntityVisibility"), exports);
95
97
  __exportStar(require("./EnvironmentEnum"), exports);
98
+ __exportStar(require("./EphemeralPromptCacheConfig"), exports);
99
+ __exportStar(require("./EphemeralPromptCacheConfigTypeEnum"), exports);
96
100
  __exportStar(require("./ErrorInputRequest"), exports);
97
101
  __exportStar(require("./ErrorVariableValue"), exports);
98
102
  __exportStar(require("./ErrorVellumValue"), exports);
@@ -141,6 +145,8 @@ __exportStar(require("./FunctionCallRequest"), exports);
141
145
  __exportStar(require("./FunctionCallVariableValue"), exports);
142
146
  __exportStar(require("./FunctionCallVellumValue"), exports);
143
147
  __exportStar(require("./FunctionCallVellumValueRequest"), exports);
148
+ __exportStar(require("./FunctionDefinitionPromptBlock"), exports);
149
+ __exportStar(require("./FunctionDefinitionPromptBlockProperties"), exports);
144
150
  __exportStar(require("./GenerateOptionsRequest"), exports);
145
151
  __exportStar(require("./GenerateRequest"), exports);
146
152
  __exportStar(require("./GenerateResponse"), exports);
@@ -174,6 +180,8 @@ __exportStar(require("./InstructorVectorizerConfig"), exports);
174
180
  __exportStar(require("./InstructorVectorizerConfigRequest"), exports);
175
181
  __exportStar(require("./IterationStateEnum"), exports);
176
182
  __exportStar(require("./JsonInputRequest"), exports);
183
+ __exportStar(require("./JinjaPromptBlock"), exports);
184
+ __exportStar(require("./JinjaPromptBlockProperties"), exports);
177
185
  __exportStar(require("./JsonVariableValue"), exports);
178
186
  __exportStar(require("./JsonVellumValue"), exports);
179
187
  __exportStar(require("./JsonVellumValueRequest"), exports);
@@ -257,9 +265,12 @@ __exportStar(require("./PaginatedTestSuiteTestCaseList"), exports);
257
265
  __exportStar(require("./PaginatedWorkflowReleaseTagReadList"), exports);
258
266
  __exportStar(require("./PdfSearchResultMetaSource"), exports);
259
267
  __exportStar(require("./PdfSearchResultMetaSourceRequest"), exports);
268
+ __exportStar(require("./PlainTextPromptBlock"), exports);
260
269
  __exportStar(require("./Price"), exports);
261
270
  __exportStar(require("./ProcessingFailureReasonEnum"), exports);
262
271
  __exportStar(require("./ProcessingStateEnum"), exports);
272
+ __exportStar(require("./PromptBlock"), exports);
273
+ __exportStar(require("./PromptBlockState"), exports);
263
274
  __exportStar(require("./PromptDeploymentExpandMetaRequest"), exports);
264
275
  __exportStar(require("./PromptDeploymentInputRequest"), exports);
265
276
  __exportStar(require("./PromptExecutionMeta"), exports);
@@ -286,6 +297,8 @@ __exportStar(require("./RejectedPromptExecutionMeta"), exports);
286
297
  __exportStar(require("./RejectedWorkflowNodeResultEvent"), exports);
287
298
  __exportStar(require("./ReleaseTagSource"), exports);
288
299
  __exportStar(require("./ReplaceTestSuiteTestCaseRequest"), exports);
300
+ __exportStar(require("./RichTextChildBlock"), exports);
301
+ __exportStar(require("./RichTextPromptBlock"), exports);
289
302
  __exportStar(require("./SandboxScenario"), exports);
290
303
  __exportStar(require("./ScenarioInput"), exports);
291
304
  __exportStar(require("./ScenarioInputChatHistoryVariableValue"), exports);
@@ -419,6 +432,7 @@ __exportStar(require("./TokenOverlappingWindowChunkingRequest"), exports);
419
432
  __exportStar(require("./UnitEnum"), exports);
420
433
  __exportStar(require("./UploadDocumentResponse"), exports);
421
434
  __exportStar(require("./UpsertTestSuiteTestCaseRequest"), exports);
435
+ __exportStar(require("./VariablePromptBlock"), exports);
422
436
  __exportStar(require("./VellumAudio"), exports);
423
437
  __exportStar(require("./VellumAudioRequest"), exports);
424
438
  __exportStar(require("./VellumError"), exports);
package/dist/Client.js CHANGED
@@ -94,7 +94,7 @@ class VellumClient {
94
94
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
95
95
  .default, "v1/execute-code"),
96
96
  method: "POST",
97
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
97
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
98
98
  contentType: "application/json",
99
99
  requestType: "json",
100
100
  body: serializers.CodeExecutorRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -163,7 +163,7 @@ class VellumClient {
163
163
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
164
164
  .predict, "v1/execute-prompt"),
165
165
  method: "POST",
166
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
166
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
167
167
  contentType: "application/json",
168
168
  requestType: "json",
169
169
  body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -221,7 +221,7 @@ class VellumClient {
221
221
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
222
222
  .predict, "v1/execute-prompt-stream"),
223
223
  method: "POST",
224
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
224
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
225
225
  contentType: "application/json",
226
226
  requestType: "json",
227
227
  body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -306,7 +306,7 @@ class VellumClient {
306
306
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
307
307
  .predict, "v1/execute-workflow"),
308
308
  method: "POST",
309
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
309
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
310
310
  contentType: "application/json",
311
311
  requestType: "json",
312
312
  body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -362,7 +362,7 @@ class VellumClient {
362
362
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
363
363
  .predict, "v1/execute-workflow-stream"),
364
364
  method: "POST",
365
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
365
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
366
366
  contentType: "application/json",
367
367
  requestType: "json",
368
368
  body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -449,7 +449,7 @@ class VellumClient {
449
449
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
450
450
  .predict, "v1/generate"),
451
451
  method: "POST",
452
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
452
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
453
453
  contentType: "application/json",
454
454
  requestType: "json",
455
455
  body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -510,7 +510,7 @@ class VellumClient {
510
510
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
511
511
  .predict, "v1/generate-stream"),
512
512
  method: "POST",
513
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
513
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
514
514
  contentType: "application/json",
515
515
  requestType: "json",
516
516
  body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -591,7 +591,7 @@ class VellumClient {
591
591
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
592
592
  .predict, "v1/search"),
593
593
  method: "POST",
594
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
594
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
595
595
  contentType: "application/json",
596
596
  requestType: "json",
597
597
  body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -659,7 +659,7 @@ class VellumClient {
659
659
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
660
660
  .predict, "v1/submit-completion-actuals"),
661
661
  method: "POST",
662
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
662
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
663
663
  contentType: "application/json",
664
664
  requestType: "json",
665
665
  body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -722,7 +722,7 @@ class VellumClient {
722
722
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
723
723
  .predict, "v1/submit-workflow-execution-actuals"),
724
724
  method: "POST",
725
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
725
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
726
726
  contentType: "application/json",
727
727
  requestType: "json",
728
728
  body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {