vellum-ai 0.8.25 → 0.8.27
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 +43 -1
- package/.mock/definition/adHoc.yml +1 -0
- package/.mock/definition/workflows.yml +39 -0
- package/.mock/definition/workspaceSecrets.yml +34 -0
- package/.mock/openapi/openapi.yml +121 -4
- package/Client.d.ts +6 -0
- package/Client.js +20 -10
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +4 -0
- package/api/resources/deployments/client/Client.js +5 -5
- 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/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- 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 +4 -4
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.d.ts +42 -0
- package/api/resources/workflows/client/Client.js +116 -0
- package/api/resources/workflows/client/index.d.ts +1 -0
- package/api/resources/workflows/client/index.js +17 -0
- package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +17 -0
- package/api/resources/workflows/client/requests/WorkflowPushRequest.js +5 -0
- package/api/resources/workflows/client/requests/index.d.ts +1 -0
- package/api/resources/workflows/client/requests/index.js +2 -0
- package/api/resources/workflows/index.d.ts +1 -0
- package/api/resources/workflows/index.js +17 -0
- package/api/resources/workspaceSecrets/client/Client.d.ts +37 -0
- package/api/resources/workspaceSecrets/client/Client.js +110 -0
- package/api/resources/workspaceSecrets/client/index.d.ts +1 -0
- package/api/resources/workspaceSecrets/client/index.js +2 -0
- package/api/resources/workspaceSecrets/index.d.ts +1 -0
- package/api/resources/workspaceSecrets/index.js +17 -0
- package/api/types/ApiNodeResultData.d.ts +1 -1
- package/api/types/PromptSettingsRequest.d.ts +6 -0
- package/api/types/PromptSettingsRequest.js +5 -0
- package/api/types/SecretTypeEnum.d.ts +14 -0
- package/api/types/SecretTypeEnum.js +11 -0
- package/api/types/VellumErrorCodeEnum.d.ts +3 -1
- package/api/types/VellumErrorCodeEnum.js +1 -0
- package/api/types/WorkflowPushExecConfig.d.ts +4 -0
- package/api/types/WorkflowPushExecConfig.js +5 -0
- package/api/types/WorkflowPushResponse.d.ts +6 -0
- package/api/types/WorkflowPushResponse.js +5 -0
- package/api/types/WorkspaceSecretRead.d.ts +11 -0
- package/api/types/WorkspaceSecretRead.js +5 -0
- package/api/types/index.d.ts +5 -0
- package/api/types/index.js +5 -0
- package/dist/Client.d.ts +6 -0
- package/dist/Client.js +20 -10
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +4 -0
- package/dist/api/resources/deployments/client/Client.js +5 -5
- 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/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- 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 +4 -4
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.d.ts +42 -0
- package/dist/api/resources/workflows/client/Client.js +116 -0
- package/dist/api/resources/workflows/client/index.d.ts +1 -0
- package/dist/api/resources/workflows/client/index.js +17 -0
- package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +17 -0
- package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.js +5 -0
- package/dist/api/resources/workflows/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workflows/client/requests/index.js +2 -0
- package/dist/api/resources/workflows/index.d.ts +1 -0
- package/dist/api/resources/workflows/index.js +17 -0
- package/dist/api/resources/workspaceSecrets/client/Client.d.ts +37 -0
- package/dist/api/resources/workspaceSecrets/client/Client.js +110 -0
- package/dist/api/resources/workspaceSecrets/client/index.d.ts +1 -0
- package/dist/api/resources/workspaceSecrets/client/index.js +2 -0
- package/dist/api/resources/workspaceSecrets/index.d.ts +1 -0
- package/dist/api/resources/workspaceSecrets/index.js +17 -0
- package/dist/api/types/ApiNodeResultData.d.ts +1 -1
- package/dist/api/types/PromptSettingsRequest.d.ts +6 -0
- package/dist/api/types/PromptSettingsRequest.js +5 -0
- package/dist/api/types/SecretTypeEnum.d.ts +14 -0
- package/dist/api/types/SecretTypeEnum.js +11 -0
- package/dist/api/types/VellumErrorCodeEnum.d.ts +3 -1
- package/dist/api/types/VellumErrorCodeEnum.js +1 -0
- package/dist/api/types/WorkflowPushExecConfig.d.ts +4 -0
- package/dist/api/types/WorkflowPushExecConfig.js +5 -0
- package/dist/api/types/WorkflowPushResponse.d.ts +6 -0
- package/dist/api/types/WorkflowPushResponse.js +5 -0
- package/dist/api/types/WorkspaceSecretRead.d.ts +11 -0
- package/dist/api/types/WorkspaceSecretRead.js +5 -0
- package/dist/api/types/index.d.ts +5 -0
- package/dist/api/types/index.js +5 -0
- package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +2 -0
- package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js +2 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/workflows/client/index.d.ts +1 -0
- package/dist/serialization/resources/workflows/client/index.js +17 -0
- package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +14 -0
- package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +35 -0
- package/dist/serialization/resources/workflows/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/workflows/client/requests/index.js +5 -0
- package/dist/serialization/resources/workflows/index.d.ts +1 -0
- package/dist/serialization/resources/workflows/index.js +17 -0
- package/dist/serialization/types/ApiNodeResultData.d.ts +1 -1
- package/dist/serialization/types/ApiNodeResultData.js +1 -1
- package/dist/serialization/types/PromptSettingsRequest.d.ts +12 -0
- package/dist/serialization/types/PromptSettingsRequest.js +33 -0
- package/dist/serialization/types/SecretTypeEnum.d.ts +10 -0
- package/dist/serialization/types/SecretTypeEnum.js +31 -0
- package/dist/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
- package/dist/serialization/types/VellumErrorCodeEnum.js +7 -1
- package/dist/serialization/types/WorkflowPushExecConfig.d.ts +10 -0
- package/dist/serialization/types/WorkflowPushExecConfig.js +31 -0
- package/dist/serialization/types/WorkflowPushResponse.d.ts +12 -0
- package/dist/serialization/types/WorkflowPushResponse.js +33 -0
- package/dist/serialization/types/WorkspaceSecretRead.d.ts +17 -0
- package/dist/serialization/types/WorkspaceSecretRead.js +38 -0
- package/dist/serialization/types/index.d.ts +5 -0
- package/dist/serialization/types/index.js +5 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +138 -0
- package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +2 -0
- package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js +2 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/workflows/client/index.d.ts +1 -0
- package/serialization/resources/workflows/client/index.js +17 -0
- package/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +14 -0
- package/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +35 -0
- package/serialization/resources/workflows/client/requests/index.d.ts +1 -0
- package/serialization/resources/workflows/client/requests/index.js +5 -0
- package/serialization/resources/workflows/index.d.ts +1 -0
- package/serialization/resources/workflows/index.js +17 -0
- package/serialization/types/ApiNodeResultData.d.ts +1 -1
- package/serialization/types/ApiNodeResultData.js +1 -1
- package/serialization/types/PromptSettingsRequest.d.ts +12 -0
- package/serialization/types/PromptSettingsRequest.js +33 -0
- package/serialization/types/SecretTypeEnum.d.ts +10 -0
- package/serialization/types/SecretTypeEnum.js +31 -0
- package/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
- package/serialization/types/VellumErrorCodeEnum.js +7 -1
- package/serialization/types/WorkflowPushExecConfig.d.ts +10 -0
- package/serialization/types/WorkflowPushExecConfig.js +31 -0
- package/serialization/types/WorkflowPushResponse.d.ts +12 -0
- package/serialization/types/WorkflowPushResponse.js +33 -0
- package/serialization/types/WorkspaceSecretRead.d.ts +17 -0
- package/serialization/types/WorkspaceSecretRead.js +38 -0
- package/serialization/types/index.d.ts +5 -0
- package/serialization/types/index.js +5 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -755,10 +755,10 @@ types:
|
|
|
755
755
|
openapi: openapi/openapi.yml
|
|
756
756
|
ApiNodeResultData:
|
|
757
757
|
properties:
|
|
758
|
+
json: optional<map<string, unknown>>
|
|
758
759
|
text_output_id: string
|
|
759
760
|
text: optional<string>
|
|
760
761
|
json_output_id: string
|
|
761
|
-
json: optional<map<string, unknown>>
|
|
762
762
|
status_code_output_id: string
|
|
763
763
|
status_code: integer
|
|
764
764
|
source:
|
|
@@ -3470,6 +3470,11 @@ types:
|
|
|
3470
3470
|
value: string
|
|
3471
3471
|
source:
|
|
3472
3472
|
openapi: openapi/openapi.yml
|
|
3473
|
+
PromptSettingsRequest:
|
|
3474
|
+
properties:
|
|
3475
|
+
timeout: optional<double>
|
|
3476
|
+
source:
|
|
3477
|
+
openapi: openapi/openapi.yml
|
|
3473
3478
|
RawPromptExecutionOverridesRequest:
|
|
3474
3479
|
properties:
|
|
3475
3480
|
body: optional<map<string, unknown>>
|
|
@@ -3918,6 +3923,17 @@ types:
|
|
|
3918
3923
|
max: 1
|
|
3919
3924
|
source:
|
|
3920
3925
|
openapi: openapi/openapi.yml
|
|
3926
|
+
SecretTypeEnum:
|
|
3927
|
+
enum:
|
|
3928
|
+
- USER_DEFINED
|
|
3929
|
+
- HMAC
|
|
3930
|
+
- INTERNAL_API_KEY
|
|
3931
|
+
docs: |-
|
|
3932
|
+
* `USER_DEFINED` - User Defined
|
|
3933
|
+
* `HMAC` - Hmac
|
|
3934
|
+
* `INTERNAL_API_KEY` - Internal Api Key
|
|
3935
|
+
source:
|
|
3936
|
+
openapi: openapi/openapi.yml
|
|
3921
3937
|
SentenceChunkerConfig:
|
|
3922
3938
|
docs: Configuration for sentence chunking
|
|
3923
3939
|
properties:
|
|
@@ -5324,11 +5340,13 @@ types:
|
|
|
5324
5340
|
enum:
|
|
5325
5341
|
- INVALID_REQUEST
|
|
5326
5342
|
- PROVIDER_ERROR
|
|
5343
|
+
- REQUEST_TIMEOUT
|
|
5327
5344
|
- INTERNAL_SERVER_ERROR
|
|
5328
5345
|
- USER_DEFINED_ERROR
|
|
5329
5346
|
docs: |-
|
|
5330
5347
|
* `INVALID_REQUEST` - INVALID_REQUEST
|
|
5331
5348
|
* `PROVIDER_ERROR` - PROVIDER_ERROR
|
|
5349
|
+
* `REQUEST_TIMEOUT` - REQUEST_TIMEOUT
|
|
5332
5350
|
* `INTERNAL_SERVER_ERROR` - INTERNAL_SERVER_ERROR
|
|
5333
5351
|
* `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
|
|
5334
5352
|
source:
|
|
@@ -5893,6 +5911,15 @@ types:
|
|
|
5893
5911
|
value: optional<string>
|
|
5894
5912
|
source:
|
|
5895
5913
|
openapi: openapi/openapi.yml
|
|
5914
|
+
WorkflowPushExecConfig: map<string, unknown>
|
|
5915
|
+
WorkflowPushResponse:
|
|
5916
|
+
properties:
|
|
5917
|
+
workflow_sandbox_id:
|
|
5918
|
+
type: string
|
|
5919
|
+
validation:
|
|
5920
|
+
format: uuid
|
|
5921
|
+
source:
|
|
5922
|
+
openapi: openapi/openapi.yml
|
|
5896
5923
|
WorkflowReleaseTagRead:
|
|
5897
5924
|
properties:
|
|
5898
5925
|
name:
|
|
@@ -6168,6 +6195,21 @@ types:
|
|
|
6168
6195
|
- WorkflowExecutionNodeResultEvent
|
|
6169
6196
|
source:
|
|
6170
6197
|
openapi: openapi/openapi.yml
|
|
6198
|
+
WorkspaceSecretRead:
|
|
6199
|
+
properties:
|
|
6200
|
+
id:
|
|
6201
|
+
type: string
|
|
6202
|
+
validation:
|
|
6203
|
+
format: uuid
|
|
6204
|
+
modified: datetime
|
|
6205
|
+
name:
|
|
6206
|
+
type: string
|
|
6207
|
+
validation:
|
|
6208
|
+
maxLength: 250
|
|
6209
|
+
label: string
|
|
6210
|
+
secret_type: SecretTypeEnum
|
|
6211
|
+
source:
|
|
6212
|
+
openapi: openapi/openapi.yml
|
|
6171
6213
|
HkunlpInstructorXlEnum: literal<"hkunlp/instructor-xl">
|
|
6172
6214
|
IntfloatMultilingualE5LargeEnum: literal<"intfloat/multilingual-e5-large">
|
|
6173
6215
|
ReductoChunkerEnum: literal<"reducto-chunker">
|
|
@@ -22,6 +22,7 @@ service:
|
|
|
22
22
|
input_values: list<root.PromptRequestInputRequest>
|
|
23
23
|
input_variables: list<root.VellumVariableRequest>
|
|
24
24
|
parameters: root.PromptParametersRequest
|
|
25
|
+
settings: optional<root.PromptSettingsRequest>
|
|
25
26
|
blocks: list<root.PromptBlockRequest>
|
|
26
27
|
expand_meta: optional<root.AdHocExpandMetaRequest>
|
|
27
28
|
response-stream:
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
imports:
|
|
2
|
+
root: __package__.yml
|
|
3
|
+
service:
|
|
4
|
+
auth: false
|
|
5
|
+
base-path: ''
|
|
6
|
+
endpoints:
|
|
7
|
+
push:
|
|
8
|
+
path: /v1/workflows/push
|
|
9
|
+
method: POST
|
|
10
|
+
auth: true
|
|
11
|
+
docs: >-
|
|
12
|
+
An internal-only endpoint that's subject to breaking changes without
|
|
13
|
+
notice. Not intended for public use.
|
|
14
|
+
request:
|
|
15
|
+
name: WorkflowPushRequest
|
|
16
|
+
body:
|
|
17
|
+
properties:
|
|
18
|
+
exec_config: root.WorkflowPushExecConfig
|
|
19
|
+
label:
|
|
20
|
+
type: string
|
|
21
|
+
validation:
|
|
22
|
+
minLength: 1
|
|
23
|
+
response:
|
|
24
|
+
docs: ''
|
|
25
|
+
type: root.WorkflowPushResponse
|
|
26
|
+
url: Default
|
|
27
|
+
availability: pre-release
|
|
28
|
+
examples:
|
|
29
|
+
- request:
|
|
30
|
+
exec_config:
|
|
31
|
+
key: value
|
|
32
|
+
label: label
|
|
33
|
+
response:
|
|
34
|
+
body:
|
|
35
|
+
workflow_sandbox_id: workflow_sandbox_id
|
|
36
|
+
audiences:
|
|
37
|
+
- internal
|
|
38
|
+
source:
|
|
39
|
+
openapi: openapi/openapi.yml
|
|
@@ -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/workspace-secrets/{id}
|
|
9
|
+
method: GET
|
|
10
|
+
auth: false
|
|
11
|
+
docs: Used to retrieve a Workspace Secret given its ID or name.
|
|
12
|
+
path-parameters:
|
|
13
|
+
id:
|
|
14
|
+
type: string
|
|
15
|
+
docs: Either the Workspace Secret's ID or its unique name
|
|
16
|
+
response:
|
|
17
|
+
docs: ''
|
|
18
|
+
type: root.WorkspaceSecretRead
|
|
19
|
+
url: Default
|
|
20
|
+
availability: pre-release
|
|
21
|
+
examples:
|
|
22
|
+
- path-parameters:
|
|
23
|
+
id: id
|
|
24
|
+
response:
|
|
25
|
+
body:
|
|
26
|
+
id: id
|
|
27
|
+
modified: '2024-01-15T09:30:00Z'
|
|
28
|
+
name: name
|
|
29
|
+
label: label
|
|
30
|
+
secret_type: USER_DEFINED
|
|
31
|
+
audiences:
|
|
32
|
+
- internal
|
|
33
|
+
source:
|
|
34
|
+
openapi: openapi/openapi.yml
|
|
@@ -1927,6 +1927,54 @@ paths:
|
|
|
1927
1927
|
x-fern-availability: beta
|
|
1928
1928
|
x-fern-audiences:
|
|
1929
1929
|
- customers
|
|
1930
|
+
/v1/workflows/push:
|
|
1931
|
+
post:
|
|
1932
|
+
operationId: push
|
|
1933
|
+
description: An internal-only endpoint that's subject to breaking changes without
|
|
1934
|
+
notice. Not intended for public use.
|
|
1935
|
+
tags:
|
|
1936
|
+
- workflows
|
|
1937
|
+
requestBody:
|
|
1938
|
+
content:
|
|
1939
|
+
application/json:
|
|
1940
|
+
schema:
|
|
1941
|
+
$ref: '#/components/schemas/WorkflowPushRequest'
|
|
1942
|
+
required: true
|
|
1943
|
+
security:
|
|
1944
|
+
- apiKeyAuth: []
|
|
1945
|
+
responses:
|
|
1946
|
+
'200':
|
|
1947
|
+
content:
|
|
1948
|
+
application/json:
|
|
1949
|
+
schema:
|
|
1950
|
+
$ref: '#/components/schemas/WorkflowPushResponse'
|
|
1951
|
+
description: ''
|
|
1952
|
+
x-fern-availability: beta
|
|
1953
|
+
x-fern-audiences:
|
|
1954
|
+
- internal
|
|
1955
|
+
/v1/workspace-secrets/{id}:
|
|
1956
|
+
get:
|
|
1957
|
+
operationId: workspace_secrets_retrieve
|
|
1958
|
+
description: Used to retrieve a Workspace Secret given its ID or name.
|
|
1959
|
+
parameters:
|
|
1960
|
+
- in: path
|
|
1961
|
+
name: id
|
|
1962
|
+
schema:
|
|
1963
|
+
type: string
|
|
1964
|
+
description: Either the Workspace Secret's ID or its unique name
|
|
1965
|
+
required: true
|
|
1966
|
+
tags:
|
|
1967
|
+
- workspace-secrets
|
|
1968
|
+
responses:
|
|
1969
|
+
'200':
|
|
1970
|
+
content:
|
|
1971
|
+
application/json:
|
|
1972
|
+
schema:
|
|
1973
|
+
$ref: '#/components/schemas/WorkspaceSecretRead'
|
|
1974
|
+
description: ''
|
|
1975
|
+
x-fern-availability: beta
|
|
1976
|
+
x-fern-audiences:
|
|
1977
|
+
- internal
|
|
1930
1978
|
components:
|
|
1931
1979
|
schemas:
|
|
1932
1980
|
AdHocExecutePromptEvent:
|
|
@@ -1958,6 +2006,10 @@ components:
|
|
|
1958
2006
|
$ref: '#/components/schemas/VellumVariableRequest'
|
|
1959
2007
|
parameters:
|
|
1960
2008
|
$ref: '#/components/schemas/PromptParametersRequest'
|
|
2009
|
+
settings:
|
|
2010
|
+
allOf:
|
|
2011
|
+
- $ref: '#/components/schemas/PromptSettingsRequest'
|
|
2012
|
+
nullable: true
|
|
1961
2013
|
blocks:
|
|
1962
2014
|
type: array
|
|
1963
2015
|
items:
|
|
@@ -2070,6 +2122,10 @@ components:
|
|
|
2070
2122
|
ApiNodeResultData:
|
|
2071
2123
|
type: object
|
|
2072
2124
|
properties:
|
|
2125
|
+
json:
|
|
2126
|
+
type: object
|
|
2127
|
+
additionalProperties: {}
|
|
2128
|
+
nullable: true
|
|
2073
2129
|
text_output_id:
|
|
2074
2130
|
type: string
|
|
2075
2131
|
text:
|
|
@@ -2077,10 +2133,6 @@ components:
|
|
|
2077
2133
|
nullable: true
|
|
2078
2134
|
json_output_id:
|
|
2079
2135
|
type: string
|
|
2080
|
-
json:
|
|
2081
|
-
type: object
|
|
2082
|
-
additionalProperties: {}
|
|
2083
|
-
nullable: true
|
|
2084
2136
|
status_code_output_id:
|
|
2085
2137
|
type: string
|
|
2086
2138
|
status_code:
|
|
@@ -6901,6 +6953,13 @@ components:
|
|
|
6901
6953
|
- key
|
|
6902
6954
|
- type
|
|
6903
6955
|
- value
|
|
6956
|
+
PromptSettingsRequest:
|
|
6957
|
+
type: object
|
|
6958
|
+
properties:
|
|
6959
|
+
timeout:
|
|
6960
|
+
type: number
|
|
6961
|
+
format: double
|
|
6962
|
+
nullable: true
|
|
6904
6963
|
RawPromptExecutionOverridesRequest:
|
|
6905
6964
|
type: object
|
|
6906
6965
|
properties:
|
|
@@ -7595,6 +7654,16 @@ components:
|
|
|
7595
7654
|
minimum: 0.0
|
|
7596
7655
|
default: 0.2
|
|
7597
7656
|
description: The relative weight to give to keywords
|
|
7657
|
+
SecretTypeEnum:
|
|
7658
|
+
enum:
|
|
7659
|
+
- USER_DEFINED
|
|
7660
|
+
- HMAC
|
|
7661
|
+
- INTERNAL_API_KEY
|
|
7662
|
+
type: string
|
|
7663
|
+
description: |-
|
|
7664
|
+
* `USER_DEFINED` - User Defined
|
|
7665
|
+
* `HMAC` - Hmac
|
|
7666
|
+
* `INTERNAL_API_KEY` - Internal Api Key
|
|
7598
7667
|
SentenceChunkerConfig:
|
|
7599
7668
|
type: object
|
|
7600
7669
|
description: Configuration for sentence chunking
|
|
@@ -9758,12 +9827,14 @@ components:
|
|
|
9758
9827
|
enum:
|
|
9759
9828
|
- INVALID_REQUEST
|
|
9760
9829
|
- PROVIDER_ERROR
|
|
9830
|
+
- REQUEST_TIMEOUT
|
|
9761
9831
|
- INTERNAL_SERVER_ERROR
|
|
9762
9832
|
- USER_DEFINED_ERROR
|
|
9763
9833
|
type: string
|
|
9764
9834
|
description: |-
|
|
9765
9835
|
* `INVALID_REQUEST` - INVALID_REQUEST
|
|
9766
9836
|
* `PROVIDER_ERROR` - PROVIDER_ERROR
|
|
9837
|
+
* `REQUEST_TIMEOUT` - REQUEST_TIMEOUT
|
|
9767
9838
|
* `INTERNAL_SERVER_ERROR` - INTERNAL_SERVER_ERROR
|
|
9768
9839
|
* `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
|
|
9769
9840
|
VellumErrorRequest:
|
|
@@ -10536,6 +10607,28 @@ components:
|
|
|
10536
10607
|
- name
|
|
10537
10608
|
- type
|
|
10538
10609
|
- value
|
|
10610
|
+
WorkflowPushExecConfig:
|
|
10611
|
+
type: object
|
|
10612
|
+
additionalProperties: {}
|
|
10613
|
+
WorkflowPushRequest:
|
|
10614
|
+
type: object
|
|
10615
|
+
properties:
|
|
10616
|
+
exec_config:
|
|
10617
|
+
$ref: '#/components/schemas/WorkflowPushExecConfig'
|
|
10618
|
+
label:
|
|
10619
|
+
type: string
|
|
10620
|
+
minLength: 1
|
|
10621
|
+
required:
|
|
10622
|
+
- exec_config
|
|
10623
|
+
- label
|
|
10624
|
+
WorkflowPushResponse:
|
|
10625
|
+
type: object
|
|
10626
|
+
properties:
|
|
10627
|
+
workflow_sandbox_id:
|
|
10628
|
+
type: string
|
|
10629
|
+
format: uuid
|
|
10630
|
+
required:
|
|
10631
|
+
- workflow_sandbox_id
|
|
10539
10632
|
WorkflowReleaseTagRead:
|
|
10540
10633
|
type: object
|
|
10541
10634
|
properties:
|
|
@@ -10980,6 +11073,30 @@ components:
|
|
|
10980
11073
|
mapping:
|
|
10981
11074
|
WORKFLOW: '#/components/schemas/WorkflowExecutionWorkflowResultEvent'
|
|
10982
11075
|
NODE: '#/components/schemas/WorkflowExecutionNodeResultEvent'
|
|
11076
|
+
WorkspaceSecretRead:
|
|
11077
|
+
type: object
|
|
11078
|
+
properties:
|
|
11079
|
+
id:
|
|
11080
|
+
type: string
|
|
11081
|
+
format: uuid
|
|
11082
|
+
readOnly: true
|
|
11083
|
+
modified:
|
|
11084
|
+
type: string
|
|
11085
|
+
format: date-time
|
|
11086
|
+
readOnly: true
|
|
11087
|
+
name:
|
|
11088
|
+
type: string
|
|
11089
|
+
maxLength: 250
|
|
11090
|
+
label:
|
|
11091
|
+
type: string
|
|
11092
|
+
secret_type:
|
|
11093
|
+
$ref: '#/components/schemas/SecretTypeEnum'
|
|
11094
|
+
required:
|
|
11095
|
+
- id
|
|
11096
|
+
- label
|
|
11097
|
+
- modified
|
|
11098
|
+
- name
|
|
11099
|
+
- secret_type
|
|
10983
11100
|
hkunlp-instructor-xlEnum:
|
|
10984
11101
|
type: string
|
|
10985
11102
|
enum:
|
package/Client.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ import { TestSuiteRuns } from "./api/resources/testSuiteRuns/client/Client";
|
|
|
15
15
|
import { TestSuites } from "./api/resources/testSuites/client/Client";
|
|
16
16
|
import { WorkflowDeployments } from "./api/resources/workflowDeployments/client/Client";
|
|
17
17
|
import { WorkflowSandboxes } from "./api/resources/workflowSandboxes/client/Client";
|
|
18
|
+
import { Workflows } from "./api/resources/workflows/client/Client";
|
|
19
|
+
import { WorkspaceSecrets } from "./api/resources/workspaceSecrets/client/Client";
|
|
18
20
|
export declare namespace VellumClient {
|
|
19
21
|
interface Options {
|
|
20
22
|
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
@@ -207,6 +209,10 @@ export declare class VellumClient {
|
|
|
207
209
|
get workflowDeployments(): WorkflowDeployments;
|
|
208
210
|
protected _workflowSandboxes: WorkflowSandboxes | undefined;
|
|
209
211
|
get workflowSandboxes(): WorkflowSandboxes;
|
|
212
|
+
protected _workflows: Workflows | undefined;
|
|
213
|
+
get workflows(): Workflows;
|
|
214
|
+
protected _workspaceSecrets: WorkspaceSecrets | undefined;
|
|
215
|
+
get workspaceSecrets(): WorkspaceSecrets;
|
|
210
216
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
211
217
|
X_API_KEY: string | undefined;
|
|
212
218
|
}>;
|
package/Client.js
CHANGED
|
@@ -56,6 +56,8 @@ const Client_8 = require("./api/resources/testSuiteRuns/client/Client");
|
|
|
56
56
|
const Client_9 = require("./api/resources/testSuites/client/Client");
|
|
57
57
|
const Client_10 = require("./api/resources/workflowDeployments/client/Client");
|
|
58
58
|
const Client_11 = require("./api/resources/workflowSandboxes/client/Client");
|
|
59
|
+
const Client_12 = require("./api/resources/workflows/client/Client");
|
|
60
|
+
const Client_13 = require("./api/resources/workspaceSecrets/client/Client");
|
|
59
61
|
class VellumClient {
|
|
60
62
|
constructor(_options = {}) {
|
|
61
63
|
this._options = _options;
|
|
@@ -91,7 +93,7 @@ class VellumClient {
|
|
|
91
93
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
92
94
|
.default, "v1/execute-code"),
|
|
93
95
|
method: "POST",
|
|
94
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
96
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.27", "User-Agent": "vellum-ai/0.8.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
95
97
|
contentType: "application/json",
|
|
96
98
|
requestType: "json",
|
|
97
99
|
body: serializers.CodeExecutorRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -160,7 +162,7 @@ class VellumClient {
|
|
|
160
162
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
161
163
|
.predict, "v1/execute-prompt"),
|
|
162
164
|
method: "POST",
|
|
163
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
165
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.27", "User-Agent": "vellum-ai/0.8.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
164
166
|
contentType: "application/json",
|
|
165
167
|
requestType: "json",
|
|
166
168
|
body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -218,7 +220,7 @@ class VellumClient {
|
|
|
218
220
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
219
221
|
.predict, "v1/execute-prompt-stream"),
|
|
220
222
|
method: "POST",
|
|
221
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
223
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.27", "User-Agent": "vellum-ai/0.8.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
222
224
|
contentType: "application/json",
|
|
223
225
|
requestType: "json",
|
|
224
226
|
body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -303,7 +305,7 @@ class VellumClient {
|
|
|
303
305
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
304
306
|
.predict, "v1/execute-workflow"),
|
|
305
307
|
method: "POST",
|
|
306
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
308
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.27", "User-Agent": "vellum-ai/0.8.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
307
309
|
contentType: "application/json",
|
|
308
310
|
requestType: "json",
|
|
309
311
|
body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -359,7 +361,7 @@ class VellumClient {
|
|
|
359
361
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
360
362
|
.predict, "v1/execute-workflow-stream"),
|
|
361
363
|
method: "POST",
|
|
362
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
364
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.27", "User-Agent": "vellum-ai/0.8.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
363
365
|
contentType: "application/json",
|
|
364
366
|
requestType: "json",
|
|
365
367
|
body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -446,7 +448,7 @@ class VellumClient {
|
|
|
446
448
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
447
449
|
.predict, "v1/generate"),
|
|
448
450
|
method: "POST",
|
|
449
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
451
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.27", "User-Agent": "vellum-ai/0.8.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
450
452
|
contentType: "application/json",
|
|
451
453
|
requestType: "json",
|
|
452
454
|
body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -507,7 +509,7 @@ class VellumClient {
|
|
|
507
509
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
508
510
|
.predict, "v1/generate-stream"),
|
|
509
511
|
method: "POST",
|
|
510
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
512
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.27", "User-Agent": "vellum-ai/0.8.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
511
513
|
contentType: "application/json",
|
|
512
514
|
requestType: "json",
|
|
513
515
|
body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -588,7 +590,7 @@ class VellumClient {
|
|
|
588
590
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
589
591
|
.predict, "v1/search"),
|
|
590
592
|
method: "POST",
|
|
591
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
593
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.27", "User-Agent": "vellum-ai/0.8.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
592
594
|
contentType: "application/json",
|
|
593
595
|
requestType: "json",
|
|
594
596
|
body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -656,7 +658,7 @@ class VellumClient {
|
|
|
656
658
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
657
659
|
.predict, "v1/submit-completion-actuals"),
|
|
658
660
|
method: "POST",
|
|
659
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
661
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.27", "User-Agent": "vellum-ai/0.8.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
660
662
|
contentType: "application/json",
|
|
661
663
|
requestType: "json",
|
|
662
664
|
body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -719,7 +721,7 @@ class VellumClient {
|
|
|
719
721
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
720
722
|
.predict, "v1/submit-workflow-execution-actuals"),
|
|
721
723
|
method: "POST",
|
|
722
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
724
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.27", "User-Agent": "vellum-ai/0.8.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
723
725
|
contentType: "application/json",
|
|
724
726
|
requestType: "json",
|
|
725
727
|
body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -797,6 +799,14 @@ class VellumClient {
|
|
|
797
799
|
var _a;
|
|
798
800
|
return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new Client_11.WorkflowSandboxes(this._options)));
|
|
799
801
|
}
|
|
802
|
+
get workflows() {
|
|
803
|
+
var _a;
|
|
804
|
+
return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new Client_12.Workflows(this._options)));
|
|
805
|
+
}
|
|
806
|
+
get workspaceSecrets() {
|
|
807
|
+
var _a;
|
|
808
|
+
return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new Client_13.WorkspaceSecrets(this._options)));
|
|
809
|
+
}
|
|
800
810
|
_getCustomAuthorizationHeaders() {
|
|
801
811
|
return __awaiter(this, void 0, void 0, function* () {
|
|
802
812
|
const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
|
|
@@ -59,7 +59,7 @@ class AdHoc {
|
|
|
59
59
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
60
60
|
.default, "v1/ad-hoc/execute-prompt-stream"),
|
|
61
61
|
method: "POST",
|
|
62
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
62
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.27", "User-Agent": "vellum-ai/0.8.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
63
63
|
contentType: "application/json",
|
|
64
64
|
requestType: "json",
|
|
65
65
|
body: serializers.AdHocExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -43,6 +43,9 @@ import * as Vellum from "../../../../index";
|
|
|
43
43
|
* }
|
|
44
44
|
* }
|
|
45
45
|
* },
|
|
46
|
+
* settings: {
|
|
47
|
+
* timeout: 1.1
|
|
48
|
+
* },
|
|
46
49
|
* blocks: [{
|
|
47
50
|
* blockType: "JINJA",
|
|
48
51
|
* properties: {
|
|
@@ -70,6 +73,7 @@ export interface AdHocExecutePromptStreamRequest {
|
|
|
70
73
|
inputValues: Vellum.PromptRequestInputRequest[];
|
|
71
74
|
inputVariables: Vellum.VellumVariableRequest[];
|
|
72
75
|
parameters: Vellum.PromptParametersRequest;
|
|
76
|
+
settings?: Vellum.PromptSettingsRequest;
|
|
73
77
|
blocks: Vellum.PromptBlockRequest[];
|
|
74
78
|
expandMeta?: Vellum.AdHocExpandMetaRequest;
|
|
75
79
|
}
|
|
@@ -79,7 +79,7 @@ class Deployments {
|
|
|
79
79
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
80
80
|
.default, "v1/deployments"),
|
|
81
81
|
method: "GET",
|
|
82
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
82
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.27", "User-Agent": "vellum-ai/0.8.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
83
83
|
contentType: "application/json",
|
|
84
84
|
queryParameters: _queryParams,
|
|
85
85
|
requestType: "json",
|
|
@@ -132,7 +132,7 @@ class Deployments {
|
|
|
132
132
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
133
133
|
.default, `v1/deployments/${encodeURIComponent(id)}`),
|
|
134
134
|
method: "GET",
|
|
135
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
135
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.27", "User-Agent": "vellum-ai/0.8.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
136
136
|
contentType: "application/json",
|
|
137
137
|
requestType: "json",
|
|
138
138
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -185,7 +185,7 @@ class Deployments {
|
|
|
185
185
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
186
186
|
.default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
187
187
|
method: "GET",
|
|
188
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
188
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.27", "User-Agent": "vellum-ai/0.8.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
189
189
|
contentType: "application/json",
|
|
190
190
|
requestType: "json",
|
|
191
191
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -239,7 +239,7 @@ class Deployments {
|
|
|
239
239
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
240
240
|
.default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
241
241
|
method: "PATCH",
|
|
242
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
242
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.27", "User-Agent": "vellum-ai/0.8.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
243
243
|
contentType: "application/json",
|
|
244
244
|
requestType: "json",
|
|
245
245
|
body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -314,7 +314,7 @@ class Deployments {
|
|
|
314
314
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
315
315
|
.default, "v1/deployments/provider-payload"),
|
|
316
316
|
method: "POST",
|
|
317
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.
|
|
317
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.27", "User-Agent": "vellum-ai/0.8.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
318
318
|
contentType: "application/json",
|
|
319
319
|
requestType: "json",
|
|
320
320
|
body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|