vellum-ai 0.9.16 → 0.10.1

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 (95) hide show
  1. package/.mock/definition/__package__.yml +12 -0
  2. package/.mock/definition/deployments.yml +3 -0
  3. package/.mock/definition/mlModels.yml +34 -0
  4. package/.mock/definition/workflowDeployments.yml +3 -0
  5. package/.mock/openapi/openapi.yml +48 -1
  6. package/Client.d.ts +3 -0
  7. package/Client.js +29 -24
  8. package/api/resources/adHoc/client/Client.js +1 -1
  9. package/api/resources/containerImages/client/Client.js +4 -4
  10. package/api/resources/deployments/client/Client.d.ts +11 -0
  11. package/api/resources/deployments/client/Client.js +59 -6
  12. package/api/resources/documentIndexes/client/Client.js +8 -8
  13. package/api/resources/documents/client/Client.js +5 -5
  14. package/api/resources/folderEntities/client/Client.js +2 -2
  15. package/api/resources/index.d.ts +1 -0
  16. package/api/resources/index.js +2 -1
  17. package/api/resources/metricDefinitions/client/Client.js +1 -1
  18. package/api/resources/mlModels/client/Client.d.ts +37 -0
  19. package/api/resources/mlModels/client/Client.js +110 -0
  20. package/api/resources/mlModels/client/index.d.ts +1 -0
  21. package/api/resources/mlModels/client/index.js +2 -0
  22. package/api/resources/mlModels/index.d.ts +1 -0
  23. package/api/resources/mlModels/index.js +17 -0
  24. package/api/resources/sandboxes/client/Client.js +3 -3
  25. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  26. package/api/resources/testSuites/client/Client.js +4 -4
  27. package/api/resources/workflowDeployments/client/Client.d.ts +11 -0
  28. package/api/resources/workflowDeployments/client/Client.js +58 -5
  29. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  30. package/api/resources/workflows/client/Client.js +2 -2
  31. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  32. package/api/types/DeploymentHistoryItem.d.ts +16 -0
  33. package/api/types/DeploymentHistoryItem.js +5 -0
  34. package/api/types/MlModelRead.d.ts +11 -0
  35. package/api/types/MlModelRead.js +5 -0
  36. package/api/types/WorkflowDeploymentHistoryItem.d.ts +17 -0
  37. package/api/types/WorkflowDeploymentHistoryItem.js +5 -0
  38. package/api/types/index.d.ts +3 -0
  39. package/api/types/index.js +3 -0
  40. package/dist/Client.d.ts +3 -0
  41. package/dist/Client.js +29 -24
  42. package/dist/api/resources/adHoc/client/Client.js +1 -1
  43. package/dist/api/resources/containerImages/client/Client.js +4 -4
  44. package/dist/api/resources/deployments/client/Client.d.ts +11 -0
  45. package/dist/api/resources/deployments/client/Client.js +59 -6
  46. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  47. package/dist/api/resources/documents/client/Client.js +5 -5
  48. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  49. package/dist/api/resources/index.d.ts +1 -0
  50. package/dist/api/resources/index.js +2 -1
  51. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  52. package/dist/api/resources/mlModels/client/Client.d.ts +37 -0
  53. package/dist/api/resources/mlModels/client/Client.js +110 -0
  54. package/dist/api/resources/mlModels/client/index.d.ts +1 -0
  55. package/dist/api/resources/mlModels/client/index.js +2 -0
  56. package/dist/api/resources/mlModels/index.d.ts +1 -0
  57. package/dist/api/resources/mlModels/index.js +17 -0
  58. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  59. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  60. package/dist/api/resources/testSuites/client/Client.js +4 -4
  61. package/dist/api/resources/workflowDeployments/client/Client.d.ts +11 -0
  62. package/dist/api/resources/workflowDeployments/client/Client.js +58 -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/DeploymentHistoryItem.d.ts +16 -0
  67. package/dist/api/types/DeploymentHistoryItem.js +5 -0
  68. package/dist/api/types/MlModelRead.d.ts +11 -0
  69. package/dist/api/types/MlModelRead.js +5 -0
  70. package/dist/api/types/WorkflowDeploymentHistoryItem.d.ts +17 -0
  71. package/dist/api/types/WorkflowDeploymentHistoryItem.js +5 -0
  72. package/dist/api/types/index.d.ts +3 -0
  73. package/dist/api/types/index.js +3 -0
  74. package/dist/serialization/types/DeploymentHistoryItem.d.ts +19 -0
  75. package/dist/serialization/types/DeploymentHistoryItem.js +40 -0
  76. package/dist/serialization/types/MlModelRead.d.ts +13 -0
  77. package/dist/serialization/types/MlModelRead.js +34 -0
  78. package/dist/serialization/types/WorkflowDeploymentHistoryItem.d.ts +20 -0
  79. package/dist/serialization/types/WorkflowDeploymentHistoryItem.js +41 -0
  80. package/dist/serialization/types/index.d.ts +3 -0
  81. package/dist/serialization/types/index.js +3 -0
  82. package/dist/version.d.ts +1 -1
  83. package/dist/version.js +1 -1
  84. package/package.json +1 -1
  85. package/reference.md +207 -0
  86. package/serialization/types/DeploymentHistoryItem.d.ts +19 -0
  87. package/serialization/types/DeploymentHistoryItem.js +40 -0
  88. package/serialization/types/MlModelRead.d.ts +13 -0
  89. package/serialization/types/MlModelRead.js +34 -0
  90. package/serialization/types/WorkflowDeploymentHistoryItem.d.ts +20 -0
  91. package/serialization/types/WorkflowDeploymentHistoryItem.js +41 -0
  92. package/serialization/types/index.d.ts +3 -0
  93. package/serialization/types/index.js +3 -0
  94. package/version.d.ts +1 -1
  95. package/version.js +1 -1
@@ -2638,6 +2638,18 @@ types:
2638
2638
  * `NONE` - NONE
2639
2639
  source:
2640
2640
  openapi: openapi/openapi.yml
2641
+ MlModelRead:
2642
+ docs: An ML Model that your Workspace has access to.
2643
+ properties:
2644
+ id:
2645
+ type: string
2646
+ validation:
2647
+ format: uuid
2648
+ name:
2649
+ type: string
2650
+ docs: The unique name of the ML Model.
2651
+ source:
2652
+ openapi: openapi/openapi.yml
2641
2653
  MlModelUsage:
2642
2654
  properties:
2643
2655
  output_token_count: optional<integer>
@@ -123,6 +123,7 @@ service:
123
123
  docs: ''
124
124
  type: root.DeploymentHistoryItem
125
125
  url: Default
126
+ availability: pre-release
126
127
  examples:
127
128
  - path-parameters:
128
129
  history_id_or_release_tag: history_id_or_release_tag
@@ -142,6 +143,8 @@ service:
142
143
  default:
143
144
  type: STRING
144
145
  description: description
146
+ audiences:
147
+ - customers
145
148
  list_deployment_release_tags:
146
149
  path: /v1/deployments/{id}/release-tags
147
150
  method: GET
@@ -0,0 +1,34 @@
1
+ imports:
2
+ root: __package__.yml
3
+ service:
4
+ auth: false
5
+ base-path: ''
6
+ endpoints:
7
+ retrieve:
8
+ path: /v1/ml-models/{id}
9
+ method: GET
10
+ auth: true
11
+ docs: |
12
+ Retrieve details about an ML Model
13
+ path-parameters:
14
+ id:
15
+ type: string
16
+ docs: >-
17
+ Either the ML Model's ID, its unique name, or its ID in the
18
+ workspace.
19
+ response:
20
+ docs: ''
21
+ type: root.MlModelRead
22
+ url: Default
23
+ availability: pre-release
24
+ examples:
25
+ - path-parameters:
26
+ id: id
27
+ response:
28
+ body:
29
+ id: id
30
+ name: name
31
+ audiences:
32
+ - internal
33
+ source:
34
+ openapi: openapi/openapi.yml
@@ -132,6 +132,7 @@ service:
132
132
  docs: ''
133
133
  type: root.WorkflowDeploymentHistoryItem
134
134
  url: Default
135
+ availability: pre-release
135
136
  examples:
136
137
  - path-parameters:
137
138
  history_id_or_release_tag: history_id_or_release_tag
@@ -158,6 +159,8 @@ service:
158
159
  default:
159
160
  type: STRING
160
161
  description: description
162
+ audiences:
163
+ - customers
161
164
  list_workflow_release_tags:
162
165
  path: /v1/workflow-deployments/{id}/release-tags
163
166
  method: GET
@@ -29,7 +29,7 @@ info:
29
29
  ### Official API Clients:
30
30
  Vellum maintains official API clients for Python and Node/Typescript. We recommend using these clients to interact
31
31
  with all stable endpoints. You can find them here:
32
- - [Python](https://github.com/vellum-ai/vellum-client-python)
32
+ - [Python](https://github.com/vellum-ai/vellum-python-sdks)
33
33
  - [Node/Typescript](https://github.com/vellum-ai/vellum-client-node)
34
34
  contact:
35
35
  name: devops@vellum.ai
@@ -293,6 +293,9 @@ paths:
293
293
  schema:
294
294
  $ref: '#/components/schemas/DeploymentHistoryItem'
295
295
  description: ''
296
+ x-fern-availability: beta
297
+ x-fern-audiences:
298
+ - customers
296
299
  /v1/deployments/{id}/release-tags:
297
300
  get:
298
301
  operationId: list_deployment_release_tags
@@ -1382,6 +1385,33 @@ paths:
1382
1385
  x-fern-availability: beta
1383
1386
  x-fern-audiences:
1384
1387
  - internal
1388
+ /v1/ml-models/{id}:
1389
+ get:
1390
+ operationId: ml_models_retrieve
1391
+ description: |
1392
+ Retrieve details about an ML Model
1393
+ parameters:
1394
+ - in: path
1395
+ name: id
1396
+ schema:
1397
+ type: string
1398
+ description: Either the ML Model's ID, its unique name, or its ID in the workspace.
1399
+ required: true
1400
+ tags:
1401
+ - ml-models
1402
+ - ml-model-to-workspaces
1403
+ security:
1404
+ - apiKeyAuth: []
1405
+ responses:
1406
+ '200':
1407
+ content:
1408
+ application/json:
1409
+ schema:
1410
+ $ref: '#/components/schemas/MLModelRead'
1411
+ description: ''
1412
+ x-fern-availability: beta
1413
+ x-fern-audiences:
1414
+ - internal
1385
1415
  /v1/sandboxes/{id}/prompts/{prompt_variant_id}/deploy:
1386
1416
  post:
1387
1417
  operationId: deploy_prompt
@@ -2041,6 +2071,9 @@ paths:
2041
2071
  schema:
2042
2072
  $ref: '#/components/schemas/WorkflowDeploymentHistoryItem'
2043
2073
  description: ''
2074
+ x-fern-availability: beta
2075
+ x-fern-audiences:
2076
+ - customers
2044
2077
  /v1/workflow-deployments/{id}/release-tags:
2045
2078
  get:
2046
2079
  operationId: list_workflow_release_tags
@@ -5833,6 +5866,20 @@ components:
5833
5866
  description: |-
5834
5867
  * `ALL` - ALL
5835
5868
  * `NONE` - NONE
5869
+ MLModelRead:
5870
+ type: object
5871
+ description: An ML Model that your Workspace has access to.
5872
+ properties:
5873
+ id:
5874
+ type: string
5875
+ format: uuid
5876
+ readOnly: true
5877
+ name:
5878
+ type: string
5879
+ description: The unique name of the ML Model.
5880
+ required:
5881
+ - id
5882
+ - name
5836
5883
  MLModelUsage:
5837
5884
  type: object
5838
5885
  properties:
package/Client.d.ts CHANGED
@@ -11,6 +11,7 @@ import { DocumentIndexes } from "./api/resources/documentIndexes/client/Client";
11
11
  import { Documents } from "./api/resources/documents/client/Client";
12
12
  import { FolderEntities } from "./api/resources/folderEntities/client/Client";
13
13
  import { MetricDefinitions } from "./api/resources/metricDefinitions/client/Client";
14
+ import { MlModels } from "./api/resources/mlModels/client/Client";
14
15
  import { Sandboxes } from "./api/resources/sandboxes/client/Client";
15
16
  import { TestSuiteRuns } from "./api/resources/testSuiteRuns/client/Client";
16
17
  import { TestSuites } from "./api/resources/testSuites/client/Client";
@@ -202,6 +203,8 @@ export declare class VellumClient {
202
203
  get folderEntities(): FolderEntities;
203
204
  protected _metricDefinitions: MetricDefinitions | undefined;
204
205
  get metricDefinitions(): MetricDefinitions;
206
+ protected _mlModels: MlModels | undefined;
207
+ get mlModels(): MlModels;
205
208
  protected _sandboxes: Sandboxes | undefined;
206
209
  get sandboxes(): Sandboxes;
207
210
  protected _testSuiteRuns: TestSuiteRuns | undefined;
package/Client.js CHANGED
@@ -52,13 +52,14 @@ const Client_4 = require("./api/resources/documentIndexes/client/Client");
52
52
  const Client_5 = require("./api/resources/documents/client/Client");
53
53
  const Client_6 = require("./api/resources/folderEntities/client/Client");
54
54
  const Client_7 = require("./api/resources/metricDefinitions/client/Client");
55
- const Client_8 = require("./api/resources/sandboxes/client/Client");
56
- const Client_9 = require("./api/resources/testSuiteRuns/client/Client");
57
- const Client_10 = require("./api/resources/testSuites/client/Client");
58
- const Client_11 = require("./api/resources/workflowDeployments/client/Client");
59
- const Client_12 = require("./api/resources/workflowSandboxes/client/Client");
60
- const Client_13 = require("./api/resources/workflows/client/Client");
61
- const Client_14 = require("./api/resources/workspaceSecrets/client/Client");
55
+ const Client_8 = require("./api/resources/mlModels/client/Client");
56
+ const Client_9 = require("./api/resources/sandboxes/client/Client");
57
+ const Client_10 = require("./api/resources/testSuiteRuns/client/Client");
58
+ const Client_11 = require("./api/resources/testSuites/client/Client");
59
+ const Client_12 = require("./api/resources/workflowDeployments/client/Client");
60
+ const Client_13 = require("./api/resources/workflowSandboxes/client/Client");
61
+ const Client_14 = require("./api/resources/workflows/client/Client");
62
+ const Client_15 = require("./api/resources/workspaceSecrets/client/Client");
62
63
  class VellumClient {
63
64
  constructor(_options = {}) {
64
65
  this._options = _options;
@@ -94,7 +95,7 @@ class VellumClient {
94
95
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
95
96
  .default, "v1/execute-code"),
96
97
  method: "POST",
97
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
98
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
98
99
  contentType: "application/json",
99
100
  requestType: "json",
100
101
  body: serializers.CodeExecutor.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -163,7 +164,7 @@ class VellumClient {
163
164
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
164
165
  .predict, "v1/execute-prompt"),
165
166
  method: "POST",
166
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
167
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
167
168
  contentType: "application/json",
168
169
  requestType: "json",
169
170
  body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -221,7 +222,7 @@ class VellumClient {
221
222
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
222
223
  .predict, "v1/execute-prompt-stream"),
223
224
  method: "POST",
224
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
225
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
225
226
  contentType: "application/json",
226
227
  requestType: "json",
227
228
  body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -306,7 +307,7 @@ class VellumClient {
306
307
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
307
308
  .predict, "v1/execute-workflow"),
308
309
  method: "POST",
309
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
310
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
310
311
  contentType: "application/json",
311
312
  requestType: "json",
312
313
  body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -362,7 +363,7 @@ class VellumClient {
362
363
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
363
364
  .predict, "v1/execute-workflow-stream"),
364
365
  method: "POST",
365
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
366
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
366
367
  contentType: "application/json",
367
368
  requestType: "json",
368
369
  body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -449,7 +450,7 @@ class VellumClient {
449
450
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
450
451
  .predict, "v1/generate"),
451
452
  method: "POST",
452
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
453
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
453
454
  contentType: "application/json",
454
455
  requestType: "json",
455
456
  body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -510,7 +511,7 @@ class VellumClient {
510
511
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
511
512
  .predict, "v1/generate-stream"),
512
513
  method: "POST",
513
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
514
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
514
515
  contentType: "application/json",
515
516
  requestType: "json",
516
517
  body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -591,7 +592,7 @@ class VellumClient {
591
592
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
592
593
  .predict, "v1/search"),
593
594
  method: "POST",
594
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
595
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
595
596
  contentType: "application/json",
596
597
  requestType: "json",
597
598
  body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -659,7 +660,7 @@ class VellumClient {
659
660
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
660
661
  .predict, "v1/submit-completion-actuals"),
661
662
  method: "POST",
662
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
663
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
663
664
  contentType: "application/json",
664
665
  requestType: "json",
665
666
  body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -722,7 +723,7 @@ class VellumClient {
722
723
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
723
724
  .predict, "v1/submit-workflow-execution-actuals"),
724
725
  method: "POST",
725
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
726
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
726
727
  contentType: "application/json",
727
728
  requestType: "json",
728
729
  body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
@@ -784,33 +785,37 @@ class VellumClient {
784
785
  var _a;
785
786
  return ((_a = this._metricDefinitions) !== null && _a !== void 0 ? _a : (this._metricDefinitions = new Client_7.MetricDefinitions(this._options)));
786
787
  }
788
+ get mlModels() {
789
+ var _a;
790
+ return ((_a = this._mlModels) !== null && _a !== void 0 ? _a : (this._mlModels = new Client_8.MlModels(this._options)));
791
+ }
787
792
  get sandboxes() {
788
793
  var _a;
789
- return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new Client_8.Sandboxes(this._options)));
794
+ return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new Client_9.Sandboxes(this._options)));
790
795
  }
791
796
  get testSuiteRuns() {
792
797
  var _a;
793
- return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new Client_9.TestSuiteRuns(this._options)));
798
+ return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new Client_10.TestSuiteRuns(this._options)));
794
799
  }
795
800
  get testSuites() {
796
801
  var _a;
797
- return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new Client_10.TestSuites(this._options)));
802
+ return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new Client_11.TestSuites(this._options)));
798
803
  }
799
804
  get workflowDeployments() {
800
805
  var _a;
801
- return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new Client_11.WorkflowDeployments(this._options)));
806
+ return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new Client_12.WorkflowDeployments(this._options)));
802
807
  }
803
808
  get workflowSandboxes() {
804
809
  var _a;
805
- return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new Client_12.WorkflowSandboxes(this._options)));
810
+ return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new Client_13.WorkflowSandboxes(this._options)));
806
811
  }
807
812
  get workflows() {
808
813
  var _a;
809
- return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new Client_13.Workflows(this._options)));
814
+ return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new Client_14.Workflows(this._options)));
810
815
  }
811
816
  get workspaceSecrets() {
812
817
  var _a;
813
- return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new Client_14.WorkspaceSecrets(this._options)));
818
+ return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new Client_15.WorkspaceSecrets(this._options)));
814
819
  }
815
820
  _getCustomAuthorizationHeaders() {
816
821
  return __awaiter(this, void 0, void 0, function* () {
@@ -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.9.16", "User-Agent": "vellum-ai/0.9.16", "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.10.1", "User-Agent": "vellum-ai/0.10.1", "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.AdHocExecutePromptStream.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -75,7 +75,7 @@ class ContainerImages {
75
75
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
76
76
  .default, "v1/container-images"),
77
77
  method: "GET",
78
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
78
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
79
79
  contentType: "application/json",
80
80
  queryParameters: _queryParams,
81
81
  requestType: "json",
@@ -128,7 +128,7 @@ class ContainerImages {
128
128
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
129
129
  .default, `v1/container-images/${encodeURIComponent(id)}`),
130
130
  method: "GET",
131
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
131
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
132
132
  contentType: "application/json",
133
133
  requestType: "json",
134
134
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -179,7 +179,7 @@ class ContainerImages {
179
179
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
180
180
  .default, "v1/container-images/docker-service-token"),
181
181
  method: "GET",
182
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
182
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
183
183
  contentType: "application/json",
184
184
  requestType: "json",
185
185
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -235,7 +235,7 @@ class ContainerImages {
235
235
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
236
236
  .default, "v1/container-images/push"),
237
237
  method: "POST",
238
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
238
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
239
239
  contentType: "application/json",
240
240
  requestType: "json",
241
241
  body: serializers.PushContainerImageRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -41,6 +41,17 @@ export declare class Deployments {
41
41
  * await client.deployments.retrieve("id")
42
42
  */
43
43
  retrieve(id: string, requestOptions?: Deployments.RequestOptions): Promise<Vellum.DeploymentRead>;
44
+ /**
45
+ * Retrieve a specific Deployment History Item by either its UUID or the name of a Release Tag that points to it.
46
+ *
47
+ * @param {string} historyIdOrReleaseTag - Either the UUID of Deployment History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Deployment History Item you'd like to retrieve.
48
+ * @param {string} id - A UUID string identifying this deployment.
49
+ * @param {Deployments.RequestOptions} requestOptions - Request-specific configuration.
50
+ *
51
+ * @example
52
+ * await client.deployments.deploymentHistoryItemRetrieve("history_id_or_release_tag", "id")
53
+ */
54
+ deploymentHistoryItemRetrieve(historyIdOrReleaseTag: string, id: string, requestOptions?: Deployments.RequestOptions): Promise<Vellum.DeploymentHistoryItem>;
44
55
  /**
45
56
  * List Release Tags associated with the specified Prompt Deployment
46
57
  *
@@ -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.9.16", "User-Agent": "vellum-ai/0.9.16", "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.10.1", "User-Agent": "vellum-ai/0.10.1", "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.9.16", "User-Agent": "vellum-ai/0.9.16", "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.10.1", "User-Agent": "vellum-ai/0.10.1", "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,
@@ -168,6 +168,59 @@ class Deployments {
168
168
  }
169
169
  });
170
170
  }
171
+ /**
172
+ * Retrieve a specific Deployment History Item by either its UUID or the name of a Release Tag that points to it.
173
+ *
174
+ * @param {string} historyIdOrReleaseTag - Either the UUID of Deployment History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Deployment History Item you'd like to retrieve.
175
+ * @param {string} id - A UUID string identifying this deployment.
176
+ * @param {Deployments.RequestOptions} requestOptions - Request-specific configuration.
177
+ *
178
+ * @example
179
+ * await client.deployments.deploymentHistoryItemRetrieve("history_id_or_release_tag", "id")
180
+ */
181
+ deploymentHistoryItemRetrieve(historyIdOrReleaseTag, id, requestOptions) {
182
+ var _a;
183
+ return __awaiter(this, void 0, void 0, function* () {
184
+ const _response = yield core.fetcher({
185
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
186
+ .default, `v1/deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
187
+ method: "GET",
188
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
189
+ contentType: "application/json",
190
+ requestType: "json",
191
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
192
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
193
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
194
+ });
195
+ if (_response.ok) {
196
+ return serializers.DeploymentHistoryItem.parseOrThrow(_response.body, {
197
+ unrecognizedObjectKeys: "passthrough",
198
+ allowUnrecognizedUnionMembers: true,
199
+ allowUnrecognizedEnumValues: true,
200
+ breadcrumbsPrefix: ["response"],
201
+ });
202
+ }
203
+ if (_response.error.reason === "status-code") {
204
+ throw new errors.VellumError({
205
+ statusCode: _response.error.statusCode,
206
+ body: _response.error.body,
207
+ });
208
+ }
209
+ switch (_response.error.reason) {
210
+ case "non-json":
211
+ throw new errors.VellumError({
212
+ statusCode: _response.error.statusCode,
213
+ body: _response.error.rawBody,
214
+ });
215
+ case "timeout":
216
+ throw new errors.VellumTimeoutError();
217
+ case "unknown":
218
+ throw new errors.VellumError({
219
+ message: _response.error.errorMessage,
220
+ });
221
+ }
222
+ });
223
+ }
171
224
  /**
172
225
  * List Release Tags associated with the specified Prompt Deployment
173
226
  *
@@ -199,7 +252,7 @@ class Deployments {
199
252
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
200
253
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags`),
201
254
  method: "GET",
202
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "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.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
203
256
  contentType: "application/json",
204
257
  queryParameters: _queryParams,
205
258
  requestType: "json",
@@ -253,7 +306,7 @@ class Deployments {
253
306
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
254
307
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
255
308
  method: "GET",
256
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "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.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
257
310
  contentType: "application/json",
258
311
  requestType: "json",
259
312
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -307,7 +360,7 @@ class Deployments {
307
360
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
308
361
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
309
362
  method: "PATCH",
310
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
363
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
311
364
  contentType: "application/json",
312
365
  requestType: "json",
313
366
  body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -382,7 +435,7 @@ class Deployments {
382
435
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
383
436
  .default, "v1/deployments/provider-payload"),
384
437
  method: "POST",
385
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16", "User-Agent": "vellum-ai/0.9.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
438
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.10.1", "User-Agent": "vellum-ai/0.10.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
386
439
  contentType: "application/json",
387
440
  requestType: "json",
388
441
  body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {