vellum-ai 0.9.3 → 0.9.4
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 +49 -1
- package/.mock/definition/workflows.yml +2 -0
- package/.mock/openapi/openapi.yml +76 -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 +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/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.js +2 -2
- package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/types/ArrayVariableValueItem.d.ts +1 -1
- package/api/types/AudioVariableValue.d.ts +11 -0
- package/api/types/AudioVariableValue.js +5 -0
- package/api/types/AudioVellumValue.d.ts +11 -0
- package/api/types/AudioVellumValue.js +5 -0
- package/api/types/AudioVellumValueRequest.d.ts +11 -0
- package/api/types/AudioVellumValueRequest.js +5 -0
- package/api/types/VellumAudio.d.ts +1 -0
- package/api/types/VellumAudioRequest.d.ts +1 -0
- package/api/types/VellumValue.d.ts +1 -1
- package/api/types/VellumValueRequest.d.ts +1 -1
- package/api/types/WorkflowPushDeploymentConfigRequest.d.ts +9 -0
- package/api/types/WorkflowPushDeploymentConfigRequest.js +5 -0
- package/api/types/WorkflowPushResponse.d.ts +1 -0
- package/api/types/index.d.ts +4 -0
- package/api/types/index.js +4 -0
- 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 +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/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.js +2 -2
- package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/types/ArrayVariableValueItem.d.ts +1 -1
- package/dist/api/types/AudioVariableValue.d.ts +11 -0
- package/dist/api/types/AudioVariableValue.js +5 -0
- package/dist/api/types/AudioVellumValue.d.ts +11 -0
- package/dist/api/types/AudioVellumValue.js +5 -0
- package/dist/api/types/AudioVellumValueRequest.d.ts +11 -0
- package/dist/api/types/AudioVellumValueRequest.js +5 -0
- package/dist/api/types/VellumAudio.d.ts +1 -0
- package/dist/api/types/VellumAudioRequest.d.ts +1 -0
- package/dist/api/types/VellumValue.d.ts +1 -1
- package/dist/api/types/VellumValueRequest.d.ts +1 -1
- package/dist/api/types/WorkflowPushDeploymentConfigRequest.d.ts +9 -0
- package/dist/api/types/WorkflowPushDeploymentConfigRequest.js +5 -0
- package/dist/api/types/WorkflowPushResponse.d.ts +1 -0
- package/dist/api/types/index.d.ts +4 -0
- package/dist/api/types/index.js +4 -0
- package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -0
- package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +2 -0
- package/dist/serialization/types/ArrayVariableValueItem.d.ts +2 -1
- package/dist/serialization/types/ArrayVariableValueItem.js +2 -0
- package/dist/serialization/types/AudioVariableValue.d.ts +14 -0
- package/dist/serialization/types/AudioVariableValue.js +35 -0
- package/dist/serialization/types/AudioVellumValue.d.ts +14 -0
- package/dist/serialization/types/AudioVellumValue.js +35 -0
- package/dist/serialization/types/AudioVellumValueRequest.d.ts +14 -0
- package/dist/serialization/types/AudioVellumValueRequest.js +35 -0
- package/dist/serialization/types/VellumValue.d.ts +2 -1
- package/dist/serialization/types/VellumValue.js +2 -0
- package/dist/serialization/types/VellumValueRequest.d.ts +2 -1
- package/dist/serialization/types/VellumValueRequest.js +2 -0
- package/dist/serialization/types/WorkflowPushDeploymentConfigRequest.d.ts +15 -0
- package/dist/serialization/types/WorkflowPushDeploymentConfigRequest.js +36 -0
- package/dist/serialization/types/WorkflowPushResponse.d.ts +1 -0
- package/dist/serialization/types/WorkflowPushResponse.js +1 -0
- package/dist/serialization/types/index.d.ts +4 -0
- package/dist/serialization/types/index.js +4 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -0
- package/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +2 -0
- package/serialization/types/ArrayVariableValueItem.d.ts +2 -1
- package/serialization/types/ArrayVariableValueItem.js +2 -0
- package/serialization/types/AudioVariableValue.d.ts +14 -0
- package/serialization/types/AudioVariableValue.js +35 -0
- package/serialization/types/AudioVellumValue.d.ts +14 -0
- package/serialization/types/AudioVellumValue.js +35 -0
- package/serialization/types/AudioVellumValueRequest.d.ts +14 -0
- package/serialization/types/AudioVellumValueRequest.js +35 -0
- package/serialization/types/VellumValue.d.ts +2 -1
- package/serialization/types/VellumValue.js +2 -0
- package/serialization/types/VellumValueRequest.d.ts +2 -1
- package/serialization/types/VellumValueRequest.js +2 -0
- package/serialization/types/WorkflowPushDeploymentConfigRequest.d.ts +15 -0
- package/serialization/types/WorkflowPushDeploymentConfigRequest.js +36 -0
- package/serialization/types/WorkflowPushResponse.d.ts +1 -0
- package/serialization/types/WorkflowPushResponse.js +1 -0
- package/serialization/types/index.d.ts +4 -0
- package/serialization/types/index.js +4 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -822,6 +822,7 @@ types:
|
|
|
822
822
|
- ErrorVariableValue
|
|
823
823
|
- FunctionCallVariableValue
|
|
824
824
|
- ImageVariableValue
|
|
825
|
+
- AudioVariableValue
|
|
825
826
|
- ChatHistoryVariableValue
|
|
826
827
|
- SearchResultsVariableValue
|
|
827
828
|
- ArrayVariableValue
|
|
@@ -856,6 +857,27 @@ types:
|
|
|
856
857
|
source:
|
|
857
858
|
openapi: openapi/openapi.yml
|
|
858
859
|
AudioEnum: literal<"AUDIO">
|
|
860
|
+
AudioVariableValue:
|
|
861
|
+
docs: A base Vellum primitive value representing audio.
|
|
862
|
+
properties:
|
|
863
|
+
type: literal<"AUDIO">
|
|
864
|
+
value: optional<VellumAudio>
|
|
865
|
+
source:
|
|
866
|
+
openapi: openapi/openapi.yml
|
|
867
|
+
AudioVellumValue:
|
|
868
|
+
docs: A base Vellum primitive value representing audio.
|
|
869
|
+
properties:
|
|
870
|
+
type: literal<"AUDIO">
|
|
871
|
+
value: optional<VellumAudio>
|
|
872
|
+
source:
|
|
873
|
+
openapi: openapi/openapi.yml
|
|
874
|
+
AudioVellumValueRequest:
|
|
875
|
+
docs: A base Vellum primitive value representing audio.
|
|
876
|
+
properties:
|
|
877
|
+
type: literal<"AUDIO">
|
|
878
|
+
value: optional<VellumAudioRequest>
|
|
879
|
+
source:
|
|
880
|
+
openapi: openapi/openapi.yml
|
|
859
881
|
BasicVectorizerIntfloatMultilingualE5Large:
|
|
860
882
|
docs: Basic vectorizer for intfloat/multilingual-e5-large.
|
|
861
883
|
properties:
|
|
@@ -5397,7 +5419,9 @@ types:
|
|
|
5397
5419
|
openapi: openapi/openapi.yml
|
|
5398
5420
|
VellumAudio:
|
|
5399
5421
|
properties:
|
|
5400
|
-
src:
|
|
5422
|
+
src:
|
|
5423
|
+
type: string
|
|
5424
|
+
docs: A valid data URL containing the audio data.
|
|
5401
5425
|
metadata: optional<map<string, unknown>>
|
|
5402
5426
|
source:
|
|
5403
5427
|
openapi: openapi/openapi.yml
|
|
@@ -5405,6 +5429,7 @@ types:
|
|
|
5405
5429
|
properties:
|
|
5406
5430
|
src:
|
|
5407
5431
|
type: string
|
|
5432
|
+
docs: A valid data URL containing the audio data.
|
|
5408
5433
|
validation:
|
|
5409
5434
|
minLength: 1
|
|
5410
5435
|
metadata: optional<map<string, unknown>>
|
|
@@ -5462,6 +5487,7 @@ types:
|
|
|
5462
5487
|
- NumberVellumValue
|
|
5463
5488
|
- JsonVellumValue
|
|
5464
5489
|
- ImageVellumValue
|
|
5490
|
+
- AudioVellumValue
|
|
5465
5491
|
- FunctionCallVellumValue
|
|
5466
5492
|
- ErrorVellumValue
|
|
5467
5493
|
- ArrayVellumValue
|
|
@@ -5503,6 +5529,7 @@ types:
|
|
|
5503
5529
|
- NumberVellumValueRequest
|
|
5504
5530
|
- JsonVellumValueRequest
|
|
5505
5531
|
- ImageVellumValueRequest
|
|
5532
|
+
- AudioVellumValueRequest
|
|
5506
5533
|
- FunctionCallVellumValueRequest
|
|
5507
5534
|
- ErrorVellumValueRequest
|
|
5508
5535
|
- ArrayVellumValueRequest
|
|
@@ -5993,6 +6020,23 @@ types:
|
|
|
5993
6020
|
value: optional<string>
|
|
5994
6021
|
source:
|
|
5995
6022
|
openapi: openapi/openapi.yml
|
|
6023
|
+
WorkflowPushDeploymentConfigRequest:
|
|
6024
|
+
properties:
|
|
6025
|
+
label:
|
|
6026
|
+
type: optional<string>
|
|
6027
|
+
validation:
|
|
6028
|
+
minLength: 1
|
|
6029
|
+
name:
|
|
6030
|
+
type: optional<string>
|
|
6031
|
+
validation:
|
|
6032
|
+
minLength: 1
|
|
6033
|
+
description:
|
|
6034
|
+
type: optional<string>
|
|
6035
|
+
validation:
|
|
6036
|
+
minLength: 1
|
|
6037
|
+
release_tags: optional<list<string>>
|
|
6038
|
+
source:
|
|
6039
|
+
openapi: openapi/openapi.yml
|
|
5996
6040
|
WorkflowPushExecConfig: map<string, unknown>
|
|
5997
6041
|
WorkflowPushResponse:
|
|
5998
6042
|
properties:
|
|
@@ -6000,6 +6044,10 @@ types:
|
|
|
6000
6044
|
type: string
|
|
6001
6045
|
validation:
|
|
6002
6046
|
format: uuid
|
|
6047
|
+
workflow_deployment_id:
|
|
6048
|
+
type: optional<string>
|
|
6049
|
+
validation:
|
|
6050
|
+
format: uuid
|
|
6003
6051
|
source:
|
|
6004
6052
|
openapi: openapi/openapi.yml
|
|
6005
6053
|
WorkflowReleaseTagRead:
|
|
@@ -40,6 +40,7 @@ service:
|
|
|
40
40
|
type: optional<string>
|
|
41
41
|
validation:
|
|
42
42
|
format: uuid
|
|
43
|
+
deployment_config: optional<root.WorkflowPushDeploymentConfigRequest>
|
|
43
44
|
response:
|
|
44
45
|
docs: ''
|
|
45
46
|
type: root.WorkflowPushResponse
|
|
@@ -53,6 +54,7 @@ service:
|
|
|
53
54
|
response:
|
|
54
55
|
body:
|
|
55
56
|
workflow_sandbox_id: workflow_sandbox_id
|
|
57
|
+
workflow_deployment_id: workflow_deployment_id
|
|
56
58
|
audiences:
|
|
57
59
|
- internal
|
|
58
60
|
source:
|
|
@@ -2403,6 +2403,7 @@ components:
|
|
|
2403
2403
|
- $ref: '#/components/schemas/ErrorVariableValue'
|
|
2404
2404
|
- $ref: '#/components/schemas/FunctionCallVariableValue'
|
|
2405
2405
|
- $ref: '#/components/schemas/ImageVariableValue'
|
|
2406
|
+
- $ref: '#/components/schemas/AudioVariableValue'
|
|
2406
2407
|
- $ref: '#/components/schemas/ChatHistoryVariableValue'
|
|
2407
2408
|
- $ref: '#/components/schemas/SearchResultsVariableValue'
|
|
2408
2409
|
- $ref: '#/components/schemas/ArrayVariableValue'
|
|
@@ -2415,6 +2416,7 @@ components:
|
|
|
2415
2416
|
ERROR: '#/components/schemas/ErrorVariableValue'
|
|
2416
2417
|
FUNCTION_CALL: '#/components/schemas/FunctionCallVariableValue'
|
|
2417
2418
|
IMAGE: '#/components/schemas/ImageVariableValue'
|
|
2419
|
+
AUDIO: '#/components/schemas/AudioVariableValue'
|
|
2418
2420
|
CHAT_HISTORY: '#/components/schemas/ChatHistoryVariableValue'
|
|
2419
2421
|
SEARCH_RESULTS: '#/components/schemas/SearchResultsVariableValue'
|
|
2420
2422
|
ARRAY: '#/components/schemas/ArrayVariableValue'
|
|
@@ -2472,6 +2474,45 @@ components:
|
|
|
2472
2474
|
type: string
|
|
2473
2475
|
enum:
|
|
2474
2476
|
- AUDIO
|
|
2477
|
+
AudioVariableValue:
|
|
2478
|
+
type: object
|
|
2479
|
+
description: A base Vellum primitive value representing audio.
|
|
2480
|
+
properties:
|
|
2481
|
+
type:
|
|
2482
|
+
$ref: '#/components/schemas/AudioEnum'
|
|
2483
|
+
value:
|
|
2484
|
+
allOf:
|
|
2485
|
+
- $ref: '#/components/schemas/VellumAudio'
|
|
2486
|
+
nullable: true
|
|
2487
|
+
required:
|
|
2488
|
+
- type
|
|
2489
|
+
- value
|
|
2490
|
+
AudioVellumValue:
|
|
2491
|
+
type: object
|
|
2492
|
+
description: A base Vellum primitive value representing audio.
|
|
2493
|
+
properties:
|
|
2494
|
+
type:
|
|
2495
|
+
$ref: '#/components/schemas/AudioEnum'
|
|
2496
|
+
value:
|
|
2497
|
+
allOf:
|
|
2498
|
+
- $ref: '#/components/schemas/VellumAudio'
|
|
2499
|
+
nullable: true
|
|
2500
|
+
required:
|
|
2501
|
+
- type
|
|
2502
|
+
- value
|
|
2503
|
+
AudioVellumValueRequest:
|
|
2504
|
+
type: object
|
|
2505
|
+
description: A base Vellum primitive value representing audio.
|
|
2506
|
+
properties:
|
|
2507
|
+
type:
|
|
2508
|
+
$ref: '#/components/schemas/AudioEnum'
|
|
2509
|
+
value:
|
|
2510
|
+
allOf:
|
|
2511
|
+
- $ref: '#/components/schemas/VellumAudioRequest'
|
|
2512
|
+
nullable: true
|
|
2513
|
+
required:
|
|
2514
|
+
- type
|
|
2515
|
+
- value
|
|
2475
2516
|
BasicVectorizerIntfloatMultilingualE5Large:
|
|
2476
2517
|
type: object
|
|
2477
2518
|
description: Basic vectorizer for intfloat/multilingual-e5-large.
|
|
@@ -10107,6 +10148,7 @@ components:
|
|
|
10107
10148
|
properties:
|
|
10108
10149
|
src:
|
|
10109
10150
|
type: string
|
|
10151
|
+
description: A valid data URL containing the audio data.
|
|
10110
10152
|
metadata:
|
|
10111
10153
|
type: object
|
|
10112
10154
|
additionalProperties: {}
|
|
@@ -10119,6 +10161,7 @@ components:
|
|
|
10119
10161
|
src:
|
|
10120
10162
|
type: string
|
|
10121
10163
|
minLength: 1
|
|
10164
|
+
description: A valid data URL containing the audio data.
|
|
10122
10165
|
metadata:
|
|
10123
10166
|
type: object
|
|
10124
10167
|
additionalProperties: {}
|
|
@@ -10189,6 +10232,7 @@ components:
|
|
|
10189
10232
|
- $ref: '#/components/schemas/NumberVellumValue'
|
|
10190
10233
|
- $ref: '#/components/schemas/JsonVellumValue'
|
|
10191
10234
|
- $ref: '#/components/schemas/ImageVellumValue'
|
|
10235
|
+
- $ref: '#/components/schemas/AudioVellumValue'
|
|
10192
10236
|
- $ref: '#/components/schemas/FunctionCallVellumValue'
|
|
10193
10237
|
- $ref: '#/components/schemas/ErrorVellumValue'
|
|
10194
10238
|
- $ref: '#/components/schemas/ArrayVellumValue'
|
|
@@ -10201,6 +10245,7 @@ components:
|
|
|
10201
10245
|
NUMBER: '#/components/schemas/NumberVellumValue'
|
|
10202
10246
|
JSON: '#/components/schemas/JsonVellumValue'
|
|
10203
10247
|
IMAGE: '#/components/schemas/ImageVellumValue'
|
|
10248
|
+
AUDIO: '#/components/schemas/AudioVellumValue'
|
|
10204
10249
|
FUNCTION_CALL: '#/components/schemas/FunctionCallVellumValue'
|
|
10205
10250
|
ERROR: '#/components/schemas/ErrorVellumValue'
|
|
10206
10251
|
ARRAY: '#/components/schemas/ArrayVellumValue'
|
|
@@ -10258,6 +10303,7 @@ components:
|
|
|
10258
10303
|
- $ref: '#/components/schemas/NumberVellumValueRequest'
|
|
10259
10304
|
- $ref: '#/components/schemas/JsonVellumValueRequest'
|
|
10260
10305
|
- $ref: '#/components/schemas/ImageVellumValueRequest'
|
|
10306
|
+
- $ref: '#/components/schemas/AudioVellumValueRequest'
|
|
10261
10307
|
- $ref: '#/components/schemas/FunctionCallVellumValueRequest'
|
|
10262
10308
|
- $ref: '#/components/schemas/ErrorVellumValueRequest'
|
|
10263
10309
|
- $ref: '#/components/schemas/ArrayVellumValueRequest'
|
|
@@ -10270,6 +10316,7 @@ components:
|
|
|
10270
10316
|
NUMBER: '#/components/schemas/NumberVellumValueRequest'
|
|
10271
10317
|
JSON: '#/components/schemas/JsonVellumValueRequest'
|
|
10272
10318
|
IMAGE: '#/components/schemas/ImageVellumValueRequest'
|
|
10319
|
+
AUDIO: '#/components/schemas/AudioVellumValueRequest'
|
|
10273
10320
|
FUNCTION_CALL: '#/components/schemas/FunctionCallVellumValueRequest'
|
|
10274
10321
|
ERROR: '#/components/schemas/ErrorVellumValueRequest'
|
|
10275
10322
|
ARRAY: '#/components/schemas/ArrayVellumValueRequest'
|
|
@@ -10921,6 +10968,27 @@ components:
|
|
|
10921
10968
|
- name
|
|
10922
10969
|
- type
|
|
10923
10970
|
- value
|
|
10971
|
+
WorkflowPushDeploymentConfigRequest:
|
|
10972
|
+
type: object
|
|
10973
|
+
properties:
|
|
10974
|
+
label:
|
|
10975
|
+
type: string
|
|
10976
|
+
nullable: true
|
|
10977
|
+
minLength: 1
|
|
10978
|
+
name:
|
|
10979
|
+
type: string
|
|
10980
|
+
nullable: true
|
|
10981
|
+
minLength: 1
|
|
10982
|
+
description:
|
|
10983
|
+
type: string
|
|
10984
|
+
nullable: true
|
|
10985
|
+
minLength: 1
|
|
10986
|
+
release_tags:
|
|
10987
|
+
type: array
|
|
10988
|
+
items:
|
|
10989
|
+
type: string
|
|
10990
|
+
minLength: 1
|
|
10991
|
+
nullable: true
|
|
10924
10992
|
WorkflowPushExecConfig:
|
|
10925
10993
|
type: object
|
|
10926
10994
|
additionalProperties: {}
|
|
@@ -10936,6 +11004,10 @@ components:
|
|
|
10936
11004
|
type: string
|
|
10937
11005
|
format: uuid
|
|
10938
11006
|
nullable: true
|
|
11007
|
+
deployment_config:
|
|
11008
|
+
allOf:
|
|
11009
|
+
- $ref: '#/components/schemas/WorkflowPushDeploymentConfigRequest'
|
|
11010
|
+
nullable: true
|
|
10939
11011
|
required:
|
|
10940
11012
|
- exec_config
|
|
10941
11013
|
- label
|
|
@@ -10945,6 +11017,10 @@ components:
|
|
|
10945
11017
|
workflow_sandbox_id:
|
|
10946
11018
|
type: string
|
|
10947
11019
|
format: uuid
|
|
11020
|
+
workflow_deployment_id:
|
|
11021
|
+
type: string
|
|
11022
|
+
format: uuid
|
|
11023
|
+
nullable: true
|
|
10948
11024
|
required:
|
|
10949
11025
|
- workflow_sandbox_id
|
|
10950
11026
|
WorkflowReleaseTagRead:
|
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": "
|
|
97
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
98
98
|
contentType: "application/json",
|
|
99
99
|
requestType: "json",
|
|
100
100
|
body: serializers.CodeExecutorRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -163,7 +163,7 @@ class VellumClient {
|
|
|
163
163
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
164
164
|
.predict, "v1/execute-prompt"),
|
|
165
165
|
method: "POST",
|
|
166
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
166
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
224
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
309
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
365
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
452
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
513
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
594
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
662
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
725
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
62
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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" }),
|
|
@@ -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": "
|
|
78
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
131
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
182
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
238
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
82
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
135
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
188
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
242
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
317
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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, {
|
|
@@ -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": "
|
|
84
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
199
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
252
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
307
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
360
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
408
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
464
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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": "
|
|
512
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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,
|
|
@@ -79,7 +79,7 @@ class Documents {
|
|
|
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/documents"),
|
|
81
81
|
method: "GET",
|
|
82
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
82
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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 Documents {
|
|
|
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/documents/${encodeURIComponent(id)}`),
|
|
134
134
|
method: "GET",
|
|
135
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
135
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "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,
|
|
@@ -184,7 +184,7 @@ class Documents {
|
|
|
184
184
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
185
185
|
.documents, `v1/documents/${encodeURIComponent(id)}`),
|
|
186
186
|
method: "DELETE",
|
|
187
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
187
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
188
188
|
contentType: "application/json",
|
|
189
189
|
requestType: "json",
|
|
190
190
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -232,7 +232,7 @@ class Documents {
|
|
|
232
232
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
233
233
|
.default, `v1/documents/${encodeURIComponent(id)}`),
|
|
234
234
|
method: "PATCH",
|
|
235
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
235
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
236
236
|
contentType: "application/json",
|
|
237
237
|
requestType: "json",
|
|
238
238
|
body: serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -322,7 +322,7 @@ class Documents {
|
|
|
322
322
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
323
323
|
.documents, "v1/upload-document"),
|
|
324
324
|
method: "POST",
|
|
325
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
325
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.4", "User-Agent": "vellum-ai/0.9.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
|
|
326
326
|
requestType: "file",
|
|
327
327
|
duplex: _maybeEncodedRequest.duplex,
|
|
328
328
|
body: _maybeEncodedRequest.body,
|