vellum-ai 0.9.13 → 0.9.16-pre2

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 (71) hide show
  1. package/.mock/definition/__package__.yml +61 -1
  2. package/.mock/definition/deployments.yml +40 -0
  3. package/.mock/definition/workflowDeployments.yml +47 -0
  4. package/.mock/definition/workflows.yml +6 -3
  5. package/.mock/openapi/openapi.yml +155 -3
  6. package/Client.js +10 -10
  7. package/api/resources/adHoc/client/Client.js +1 -1
  8. package/api/resources/containerImages/client/Client.js +4 -4
  9. package/api/resources/deployments/client/Client.js +6 -6
  10. package/api/resources/documentIndexes/client/Client.js +8 -8
  11. package/api/resources/documents/client/Client.js +5 -5
  12. package/api/resources/folderEntities/client/Client.js +2 -2
  13. package/api/resources/metricDefinitions/client/Client.js +1 -1
  14. package/api/resources/sandboxes/client/Client.js +3 -3
  15. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  16. package/api/resources/testSuites/client/Client.js +4 -4
  17. package/api/resources/workflowDeployments/client/Client.js +5 -5
  18. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  19. package/api/resources/workflows/client/Client.d.ts +6 -5
  20. package/api/resources/workflows/client/Client.js +22 -10
  21. package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -3
  22. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  23. package/api/types/WorkflowPushExecConfig.d.ts +1 -1
  24. package/dist/Client.js +10 -10
  25. package/dist/api/resources/adHoc/client/Client.js +1 -1
  26. package/dist/api/resources/containerImages/client/Client.js +4 -4
  27. package/dist/api/resources/deployments/client/Client.js +6 -6
  28. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  29. package/dist/api/resources/documents/client/Client.js +5 -5
  30. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  31. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  32. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  33. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  34. package/dist/api/resources/testSuites/client/Client.js +4 -4
  35. package/dist/api/resources/workflowDeployments/client/Client.js +5 -5
  36. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  37. package/dist/api/resources/workflows/client/Client.d.ts +6 -5
  38. package/dist/api/resources/workflows/client/Client.js +22 -10
  39. package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -3
  40. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  41. package/dist/api/types/WorkflowPushExecConfig.d.ts +1 -1
  42. package/dist/serialization/resources/index.d.ts +0 -1
  43. package/dist/serialization/resources/index.js +0 -1
  44. package/dist/serialization/resources/workflows/index.d.ts +0 -1
  45. package/dist/serialization/resources/workflows/index.js +0 -1
  46. package/dist/serialization/types/WorkflowPushExecConfig.d.ts +1 -1
  47. package/dist/serialization/types/WorkflowPushExecConfig.js +1 -1
  48. package/dist/version.d.ts +1 -1
  49. package/dist/version.js +1 -1
  50. package/package.json +1 -1
  51. package/reference.md +11 -5
  52. package/serialization/resources/index.d.ts +0 -1
  53. package/serialization/resources/index.js +0 -1
  54. package/serialization/resources/workflows/index.d.ts +0 -1
  55. package/serialization/resources/workflows/index.js +0 -1
  56. package/serialization/types/WorkflowPushExecConfig.d.ts +1 -1
  57. package/serialization/types/WorkflowPushExecConfig.js +1 -1
  58. package/version.d.ts +1 -1
  59. package/version.js +1 -1
  60. package/dist/serialization/resources/workflows/client/index.d.ts +0 -1
  61. package/dist/serialization/resources/workflows/client/index.js +0 -17
  62. package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +0 -17
  63. package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +0 -38
  64. package/dist/serialization/resources/workflows/client/requests/index.d.ts +0 -1
  65. package/dist/serialization/resources/workflows/client/requests/index.js +0 -5
  66. package/serialization/resources/workflows/client/index.d.ts +0 -1
  67. package/serialization/resources/workflows/client/index.js +0 -17
  68. package/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +0 -17
  69. package/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +0 -38
  70. package/serialization/resources/workflows/client/requests/index.d.ts +0 -1
  71. package/serialization/resources/workflows/client/requests/index.js +0 -5
@@ -1284,6 +1284,33 @@ types:
1284
1284
  CreatedEnum: literal<"CREATED">
1285
1285
  DeleteEnum: literal<"DELETE">
1286
1286
  DeletedEnum: literal<"DELETED">
1287
+ DeploymentHistoryItem:
1288
+ properties:
1289
+ id:
1290
+ type: string
1291
+ validation:
1292
+ format: uuid
1293
+ deployment_id:
1294
+ type: string
1295
+ validation:
1296
+ format: uuid
1297
+ timestamp: datetime
1298
+ label:
1299
+ type: string
1300
+ docs: A human-readable label for the deployment
1301
+ validation:
1302
+ maxLength: 150
1303
+ name:
1304
+ type: string
1305
+ docs: A name that uniquely identifies this deployment within its workspace
1306
+ validation:
1307
+ maxLength: 150
1308
+ input_variables: list<VellumVariable>
1309
+ description:
1310
+ type: optional<string>
1311
+ docs: A human-readable description of the deployment
1312
+ source:
1313
+ openapi: openapi/openapi.yml
1287
1314
  DeploymentProviderPayloadResponsePayload:
1288
1315
  discriminated: false
1289
1316
  union:
@@ -5601,6 +5628,36 @@ types:
5601
5628
  * `NULL` - NULL
5602
5629
  source:
5603
5630
  openapi: openapi/openapi.yml
5631
+ WorkflowDeploymentHistoryItem:
5632
+ properties:
5633
+ id:
5634
+ type: string
5635
+ validation:
5636
+ format: uuid
5637
+ workflow_deployment_id:
5638
+ type: string
5639
+ validation:
5640
+ format: uuid
5641
+ timestamp: datetime
5642
+ label:
5643
+ type: string
5644
+ docs: A human-readable label for the workflow deployment
5645
+ validation:
5646
+ maxLength: 150
5647
+ name:
5648
+ type: string
5649
+ docs: >-
5650
+ A name that uniquely identifies this workflow deployment within its
5651
+ workspace
5652
+ validation:
5653
+ maxLength: 150
5654
+ input_variables: list<VellumVariable>
5655
+ output_variables: list<VellumVariable>
5656
+ description:
5657
+ type: optional<string>
5658
+ docs: A human-readable description of the workflow deployment
5659
+ source:
5660
+ openapi: openapi/openapi.yml
5604
5661
  WorkflowDeploymentRead:
5605
5662
  properties:
5606
5663
  id:
@@ -6036,7 +6093,10 @@ types:
6036
6093
  release_tags: optional<list<string>>
6037
6094
  source:
6038
6095
  openapi: openapi/openapi.yml
6039
- WorkflowPushExecConfig: map<string, unknown>
6096
+ WorkflowPushExecConfig:
6097
+ type: string
6098
+ validation:
6099
+ minLength: 1
6040
6100
  WorkflowPushResponse:
6041
6101
  properties:
6042
6102
  workflow_sandbox_id:
@@ -102,6 +102,46 @@ service:
102
102
  last_deployed_history_item_id: last_deployed_history_item_id
103
103
  audiences:
104
104
  - customers
105
+ deployment_history_item_retrieve:
106
+ path: /v1/deployments/{id}/history/{history_id_or_release_tag}
107
+ method: GET
108
+ auth: true
109
+ docs: >-
110
+ Retrieve a specific Deployment History Item by either its UUID or the
111
+ name of a Release Tag that points to it.
112
+ path-parameters:
113
+ history_id_or_release_tag:
114
+ type: string
115
+ docs: >-
116
+ Either the UUID of Deployment History Item you'd like to retrieve,
117
+ or the name of a Release Tag that's pointing to the Deployment
118
+ History Item you'd like to retrieve.
119
+ id:
120
+ type: string
121
+ docs: A UUID string identifying this deployment.
122
+ response:
123
+ docs: ''
124
+ type: root.DeploymentHistoryItem
125
+ url: Default
126
+ examples:
127
+ - path-parameters:
128
+ history_id_or_release_tag: history_id_or_release_tag
129
+ id: id
130
+ response:
131
+ body:
132
+ id: id
133
+ deployment_id: deployment_id
134
+ timestamp: '2024-01-15T09:30:00Z'
135
+ label: label
136
+ name: name
137
+ input_variables:
138
+ - id: id
139
+ key: key
140
+ type: STRING
141
+ required: true
142
+ default:
143
+ type: STRING
144
+ description: description
105
145
  list_deployment_release_tags:
106
146
  path: /v1/deployments/{id}/release-tags
107
147
  method: GET
@@ -111,6 +111,53 @@ service:
111
111
  description: description
112
112
  audiences:
113
113
  - customers
114
+ workflow_deployment_history_item_retrieve:
115
+ path: /v1/workflow-deployments/{id}/history/{history_id_or_release_tag}
116
+ method: GET
117
+ auth: true
118
+ docs: >-
119
+ Retrieve a specific Workflow Deployment History Item by either its UUID
120
+ or the name of a Release Tag that points to it.
121
+ path-parameters:
122
+ history_id_or_release_tag:
123
+ type: string
124
+ docs: >-
125
+ Either the UUID of Workflow Deployment History Item you'd like to
126
+ retrieve, or the name of a Release Tag that's pointing to the
127
+ Workflow Deployment History Item you'd like to retrieve.
128
+ id:
129
+ type: string
130
+ docs: A UUID string identifying this workflow deployment.
131
+ response:
132
+ docs: ''
133
+ type: root.WorkflowDeploymentHistoryItem
134
+ url: Default
135
+ examples:
136
+ - path-parameters:
137
+ history_id_or_release_tag: history_id_or_release_tag
138
+ id: id
139
+ response:
140
+ body:
141
+ id: id
142
+ workflow_deployment_id: workflow_deployment_id
143
+ timestamp: '2024-01-15T09:30:00Z'
144
+ label: label
145
+ name: name
146
+ input_variables:
147
+ - id: id
148
+ key: key
149
+ type: STRING
150
+ required: true
151
+ default:
152
+ type: STRING
153
+ output_variables:
154
+ - id: id
155
+ key: key
156
+ type: STRING
157
+ required: true
158
+ default:
159
+ type: STRING
160
+ description: description
114
161
  list_workflow_release_tags:
115
162
  path: /v1/workflow-deployments/{id}/release-tags
116
163
  method: GET
@@ -46,7 +46,9 @@ service:
46
46
  name: WorkflowPushRequest
47
47
  body:
48
48
  properties:
49
- exec_config: root.WorkflowPushExecConfig
49
+ exec_config:
50
+ type: root.WorkflowPushExecConfig
51
+ docs: The execution configuration of the workflow.
50
52
  label:
51
53
  type: string
52
54
  validation:
@@ -56,6 +58,8 @@ service:
56
58
  validation:
57
59
  format: uuid
58
60
  deployment_config: optional<root.WorkflowPushDeploymentConfigRequest>
61
+ artifact: optional<file>
62
+ content-type: multipart/form-data
59
63
  response:
60
64
  docs: ''
61
65
  type: root.WorkflowPushResponse
@@ -63,8 +67,7 @@ service:
63
67
  availability: pre-release
64
68
  examples:
65
69
  - request:
66
- exec_config:
67
- key: value
70
+ exec_config: exec_config
68
71
  label: label
69
72
  response:
70
73
  body:
@@ -260,6 +260,39 @@ paths:
260
260
  x-fern-availability: beta
261
261
  x-fern-audiences:
262
262
  - customers
263
+ /v1/deployments/{id}/history/{history_id_or_release_tag}:
264
+ get:
265
+ operationId: deployment_history_item_retrieve
266
+ description: Retrieve a specific Deployment History Item by either its UUID
267
+ or the name of a Release Tag that points to it.
268
+ parameters:
269
+ - in: path
270
+ name: history_id_or_release_tag
271
+ schema:
272
+ type: string
273
+ format: uuid
274
+ description: Either the UUID of Deployment History Item you'd like to retrieve,
275
+ or the name of a Release Tag that's pointing to the Deployment History Item
276
+ you'd like to retrieve.
277
+ required: true
278
+ - in: path
279
+ name: id
280
+ schema:
281
+ type: string
282
+ format: uuid
283
+ description: A UUID string identifying this deployment.
284
+ required: true
285
+ tags:
286
+ - deployments
287
+ security:
288
+ - apiKeyAuth: []
289
+ responses:
290
+ '200':
291
+ content:
292
+ application/json:
293
+ schema:
294
+ $ref: '#/components/schemas/DeploymentHistoryItem'
295
+ description: ''
263
296
  /v1/deployments/{id}/release-tags:
264
297
  get:
265
298
  operationId: list_deployment_release_tags
@@ -1975,6 +2008,39 @@ paths:
1975
2008
  x-fern-availability: beta
1976
2009
  x-fern-audiences:
1977
2010
  - customers
2011
+ /v1/workflow-deployments/{id}/history/{history_id_or_release_tag}:
2012
+ get:
2013
+ operationId: workflow_deployment_history_item_retrieve
2014
+ description: Retrieve a specific Workflow Deployment History Item by either
2015
+ its UUID or the name of a Release Tag that points to it.
2016
+ parameters:
2017
+ - in: path
2018
+ name: history_id_or_release_tag
2019
+ schema:
2020
+ type: string
2021
+ format: uuid
2022
+ description: Either the UUID of Workflow Deployment History Item you'd like
2023
+ to retrieve, or the name of a Release Tag that's pointing to the Workflow
2024
+ Deployment History Item you'd like to retrieve.
2025
+ required: true
2026
+ - in: path
2027
+ name: id
2028
+ schema:
2029
+ type: string
2030
+ format: uuid
2031
+ description: A UUID string identifying this workflow deployment.
2032
+ required: true
2033
+ tags:
2034
+ - workflow-deployments
2035
+ security:
2036
+ - apiKeyAuth: []
2037
+ responses:
2038
+ '200':
2039
+ content:
2040
+ application/json:
2041
+ schema:
2042
+ $ref: '#/components/schemas/WorkflowDeploymentHistoryItem'
2043
+ description: ''
1978
2044
  /v1/workflow-deployments/{id}/release-tags:
1979
2045
  get:
1980
2046
  operationId: list_workflow_release_tags
@@ -2186,6 +2252,9 @@ paths:
2186
2252
  - workflows
2187
2253
  requestBody:
2188
2254
  content:
2255
+ multipart/form-data:
2256
+ schema:
2257
+ $ref: '#/components/schemas/WorkflowPushRequest'
2189
2258
  application/json:
2190
2259
  schema:
2191
2260
  $ref: '#/components/schemas/WorkflowPushRequest'
@@ -3370,6 +3439,42 @@ components:
3370
3439
  nullable: true
3371
3440
  description: Optionally provide the release tags that you'd like to be associated
3372
3441
  with the latest release of the created/updated Prompt Deployment.
3442
+ DeploymentHistoryItem:
3443
+ type: object
3444
+ properties:
3445
+ id:
3446
+ type: string
3447
+ format: uuid
3448
+ deployment_id:
3449
+ type: string
3450
+ format: uuid
3451
+ timestamp:
3452
+ type: string
3453
+ format: date-time
3454
+ label:
3455
+ type: string
3456
+ description: A human-readable label for the deployment
3457
+ maxLength: 150
3458
+ name:
3459
+ type: string
3460
+ description: A name that uniquely identifies this deployment within its
3461
+ workspace
3462
+ maxLength: 150
3463
+ input_variables:
3464
+ type: array
3465
+ items:
3466
+ $ref: '#/components/schemas/VellumVariable'
3467
+ description:
3468
+ type: string
3469
+ nullable: true
3470
+ description: A human-readable description of the deployment
3471
+ required:
3472
+ - deployment_id
3473
+ - id
3474
+ - input_variables
3475
+ - label
3476
+ - name
3477
+ - timestamp
3373
3478
  DeploymentProviderPayloadRequest:
3374
3479
  type: object
3375
3480
  properties:
@@ -10525,6 +10630,47 @@ components:
10525
10630
  * `IMAGE` - IMAGE
10526
10631
  * `AUDIO` - AUDIO
10527
10632
  * `NULL` - NULL
10633
+ WorkflowDeploymentHistoryItem:
10634
+ type: object
10635
+ properties:
10636
+ id:
10637
+ type: string
10638
+ format: uuid
10639
+ workflow_deployment_id:
10640
+ type: string
10641
+ format: uuid
10642
+ timestamp:
10643
+ type: string
10644
+ format: date-time
10645
+ label:
10646
+ type: string
10647
+ description: A human-readable label for the workflow deployment
10648
+ maxLength: 150
10649
+ name:
10650
+ type: string
10651
+ description: A name that uniquely identifies this workflow deployment within
10652
+ its workspace
10653
+ maxLength: 150
10654
+ input_variables:
10655
+ type: array
10656
+ items:
10657
+ $ref: '#/components/schemas/VellumVariable'
10658
+ output_variables:
10659
+ type: array
10660
+ items:
10661
+ $ref: '#/components/schemas/VellumVariable'
10662
+ description:
10663
+ type: string
10664
+ nullable: true
10665
+ description: A human-readable description of the workflow deployment
10666
+ required:
10667
+ - id
10668
+ - input_variables
10669
+ - label
10670
+ - name
10671
+ - output_variables
10672
+ - timestamp
10673
+ - workflow_deployment_id
10528
10674
  WorkflowDeploymentRead:
10529
10675
  type: object
10530
10676
  properties:
@@ -11103,13 +11249,15 @@ components:
11103
11249
  minLength: 1
11104
11250
  nullable: true
11105
11251
  WorkflowPushExecConfig:
11106
- type: object
11107
- additionalProperties: {}
11252
+ type: string
11253
+ minLength: 1
11108
11254
  WorkflowPushRequest:
11109
11255
  type: object
11110
11256
  properties:
11111
11257
  exec_config:
11112
- $ref: '#/components/schemas/WorkflowPushExecConfig'
11258
+ allOf:
11259
+ - $ref: '#/components/schemas/WorkflowPushExecConfig'
11260
+ description: The execution configuration of the workflow.
11113
11261
  label:
11114
11262
  type: string
11115
11263
  minLength: 1
@@ -11121,6 +11269,10 @@ components:
11121
11269
  allOf:
11122
11270
  - $ref: '#/components/schemas/WorkflowPushDeploymentConfigRequest'
11123
11271
  nullable: true
11272
+ artifact:
11273
+ type: string
11274
+ format: binary
11275
+ description: The contents of the artifact tar.gz file.
11124
11276
  required:
11125
11277
  - exec_config
11126
11278
  - label
package/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.13", "User-Agent": "vellum-ai/0.9.13", "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.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "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.CodeExecutor.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.13", "User-Agent": "vellum-ai/0.9.13", "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.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "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, {
@@ -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.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
62
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "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" }),
@@ -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.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "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.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
135
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "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,
@@ -199,7 +199,7 @@ class Deployments {
199
199
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
200
200
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags`),
201
201
  method: "GET",
202
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
202
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
203
203
  contentType: "application/json",
204
204
  queryParameters: _queryParams,
205
205
  requestType: "json",
@@ -253,7 +253,7 @@ class Deployments {
253
253
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
254
254
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
255
255
  method: "GET",
256
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
256
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
257
257
  contentType: "application/json",
258
258
  requestType: "json",
259
259
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -307,7 +307,7 @@ class Deployments {
307
307
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
308
308
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
309
309
  method: "PATCH",
310
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "vellum-ai/0.9.13", "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.9.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
311
311
  contentType: "application/json",
312
312
  requestType: "json",
313
313
  body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -382,7 +382,7 @@ class Deployments {
382
382
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
383
383
  .default, "v1/deployments/provider-payload"),
384
384
  method: "POST",
385
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
385
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.16-pre2", "User-Agent": "vellum-ai/0.9.16-pre2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
386
386
  contentType: "application/json",
387
387
  requestType: "json",
388
388
  body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {