vellum-ai 0.9.14 → 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.
- package/.mock/definition/__package__.yml +57 -0
- package/.mock/definition/deployments.yml +40 -0
- package/.mock/definition/workflowDeployments.yml +47 -0
- package/.mock/openapi/openapi.yml +143 -0
- package/Client.js +10 -10
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +6 -6
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/metricDefinitions/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +5 -5
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/Client.js +10 -10
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +6 -6
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +5 -5
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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:
|
|
@@ -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
|
|
@@ -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
|
|
@@ -3373,6 +3439,42 @@ components:
|
|
|
3373
3439
|
nullable: true
|
|
3374
3440
|
description: Optionally provide the release tags that you'd like to be associated
|
|
3375
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
|
|
3376
3478
|
DeploymentProviderPayloadRequest:
|
|
3377
3479
|
type: object
|
|
3378
3480
|
properties:
|
|
@@ -10528,6 +10630,47 @@ components:
|
|
|
10528
10630
|
* `IMAGE` - IMAGE
|
|
10529
10631
|
* `AUDIO` - AUDIO
|
|
10530
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
|
|
10531
10674
|
WorkflowDeploymentRead:
|
|
10532
10675
|
type: object
|
|
10533
10676
|
properties:
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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, {
|
|
@@ -81,7 +81,7 @@ class DocumentIndexes {
|
|
|
81
81
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
82
82
|
.default, "v1/document-indexes"),
|
|
83
83
|
method: "GET",
|
|
84
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
84
|
+
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())),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
queryParameters: _queryParams,
|
|
87
87
|
requestType: "json",
|
|
@@ -196,7 +196,7 @@ class DocumentIndexes {
|
|
|
196
196
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
197
197
|
.default, "v1/document-indexes"),
|
|
198
198
|
method: "POST",
|
|
199
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
199
|
+
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())),
|
|
200
200
|
contentType: "application/json",
|
|
201
201
|
requestType: "json",
|
|
202
202
|
body: serializers.DocumentIndexCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -249,7 +249,7 @@ class DocumentIndexes {
|
|
|
249
249
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
250
250
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
251
251
|
method: "GET",
|
|
252
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
252
|
+
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())),
|
|
253
253
|
contentType: "application/json",
|
|
254
254
|
requestType: "json",
|
|
255
255
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -304,7 +304,7 @@ class DocumentIndexes {
|
|
|
304
304
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
305
305
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
306
306
|
method: "PUT",
|
|
307
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
307
|
+
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())),
|
|
308
308
|
contentType: "application/json",
|
|
309
309
|
requestType: "json",
|
|
310
310
|
body: serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -357,7 +357,7 @@ class DocumentIndexes {
|
|
|
357
357
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
358
358
|
.documents, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
359
359
|
method: "DELETE",
|
|
360
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
360
|
+
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())),
|
|
361
361
|
contentType: "application/json",
|
|
362
362
|
requestType: "json",
|
|
363
363
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -405,7 +405,7 @@ class DocumentIndexes {
|
|
|
405
405
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
406
406
|
.default, `v1/document-indexes/${encodeURIComponent(id)}`),
|
|
407
407
|
method: "PATCH",
|
|
408
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
408
|
+
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())),
|
|
409
409
|
contentType: "application/json",
|
|
410
410
|
requestType: "json",
|
|
411
411
|
body: serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
|
|
@@ -461,7 +461,7 @@ class DocumentIndexes {
|
|
|
461
461
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
462
462
|
.default, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
|
|
463
463
|
method: "POST",
|
|
464
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
464
|
+
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())),
|
|
465
465
|
contentType: "application/json",
|
|
466
466
|
requestType: "json",
|
|
467
467
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -509,7 +509,7 @@ class DocumentIndexes {
|
|
|
509
509
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
510
510
|
.documents, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
|
|
511
511
|
method: "DELETE",
|
|
512
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
512
|
+
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())),
|
|
513
513
|
contentType: "application/json",
|
|
514
514
|
requestType: "json",
|
|
515
515
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|