vellum-ai 0.9.5 → 0.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/.mock/definition/__package__.yml +9 -29
  2. package/.mock/openapi/openapi.yml +18 -38
  3. package/Client.js +10 -10
  4. package/api/resources/adHoc/client/Client.js +1 -1
  5. package/api/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +5 -6
  6. package/api/resources/containerImages/client/Client.js +4 -4
  7. package/api/resources/deployments/client/Client.js +6 -6
  8. package/api/resources/documentIndexes/client/Client.js +8 -8
  9. package/api/resources/documents/client/Client.js +5 -5
  10. package/api/resources/folderEntities/client/Client.js +2 -2
  11. package/api/resources/metricDefinitions/client/Client.js +1 -1
  12. package/api/resources/sandboxes/client/Client.js +3 -3
  13. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  14. package/api/resources/testSuites/client/Client.js +4 -4
  15. package/api/resources/workflowDeployments/client/Client.js +5 -5
  16. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  17. package/api/resources/workflows/client/Client.js +2 -2
  18. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  19. package/api/types/ChatMessagePromptBlockRequest.d.ts +2 -3
  20. package/api/types/FunctionDefinitionPromptBlockRequest.d.ts +2 -3
  21. package/api/types/JinjaPromptBlockRequest.d.ts +2 -3
  22. package/api/types/PlainTextPromptBlockRequest.d.ts +2 -3
  23. package/api/types/VariablePromptBlockRequest.d.ts +1 -2
  24. package/dist/Client.js +10 -10
  25. package/dist/api/resources/adHoc/client/Client.js +1 -1
  26. package/dist/api/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +5 -6
  27. package/dist/api/resources/containerImages/client/Client.js +4 -4
  28. package/dist/api/resources/deployments/client/Client.js +6 -6
  29. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  30. package/dist/api/resources/documents/client/Client.js +5 -5
  31. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  32. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  33. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  34. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  35. package/dist/api/resources/testSuites/client/Client.js +4 -4
  36. package/dist/api/resources/workflowDeployments/client/Client.js +5 -5
  37. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  38. package/dist/api/resources/workflows/client/Client.js +2 -2
  39. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  40. package/dist/api/types/ChatMessagePromptBlockRequest.d.ts +2 -3
  41. package/dist/api/types/FunctionDefinitionPromptBlockRequest.d.ts +2 -3
  42. package/dist/api/types/JinjaPromptBlockRequest.d.ts +2 -3
  43. package/dist/api/types/PlainTextPromptBlockRequest.d.ts +2 -3
  44. package/dist/api/types/VariablePromptBlockRequest.d.ts +1 -2
  45. package/dist/serialization/types/ChatMessagePromptBlockRequest.d.ts +2 -3
  46. package/dist/serialization/types/ChatMessagePromptBlockRequest.js +2 -3
  47. package/dist/serialization/types/FunctionDefinitionPromptBlockRequest.d.ts +3 -4
  48. package/dist/serialization/types/FunctionDefinitionPromptBlockRequest.js +3 -4
  49. package/dist/serialization/types/JinjaPromptBlockRequest.d.ts +3 -4
  50. package/dist/serialization/types/JinjaPromptBlockRequest.js +3 -4
  51. package/dist/serialization/types/PlainTextPromptBlockRequest.d.ts +2 -3
  52. package/dist/serialization/types/PlainTextPromptBlockRequest.js +2 -3
  53. package/dist/serialization/types/VariablePromptBlockRequest.d.ts +1 -2
  54. package/dist/serialization/types/VariablePromptBlockRequest.js +1 -2
  55. package/dist/version.d.ts +1 -1
  56. package/dist/version.js +1 -1
  57. package/package.json +1 -1
  58. package/reference.md +5 -6
  59. package/serialization/types/ChatMessagePromptBlockRequest.d.ts +2 -3
  60. package/serialization/types/ChatMessagePromptBlockRequest.js +2 -3
  61. package/serialization/types/FunctionDefinitionPromptBlockRequest.d.ts +3 -4
  62. package/serialization/types/FunctionDefinitionPromptBlockRequest.js +3 -4
  63. package/serialization/types/JinjaPromptBlockRequest.d.ts +3 -4
  64. package/serialization/types/JinjaPromptBlockRequest.js +3 -4
  65. package/serialization/types/PlainTextPromptBlockRequest.d.ts +2 -3
  66. package/serialization/types/PlainTextPromptBlockRequest.js +2 -3
  67. package/serialization/types/VariablePromptBlockRequest.d.ts +1 -2
  68. package/serialization/types/VariablePromptBlockRequest.js +1 -2
  69. package/version.d.ts +1 -1
  70. package/version.js +1 -1
@@ -1003,14 +1003,10 @@ types:
1003
1003
  ChatMessagePromptBlockRequest:
1004
1004
  docs: A block that represents a chat message in a prompt template.
1005
1005
  properties:
1006
- block_type: literal<"CHAT_MESSAGE">
1007
- properties: ChatMessagePromptBlockPropertiesRequest
1008
- id:
1009
- type: string
1010
- validation:
1011
- minLength: 1
1012
1006
  state: optional<PromptBlockState>
1013
1007
  cache_config: optional<EphemeralPromptCacheConfigRequest>
1008
+ block_type: literal<"CHAT_MESSAGE">
1009
+ properties: ChatMessagePromptBlockPropertiesRequest
1014
1010
  source:
1015
1011
  openapi: openapi/openapi.yml
1016
1012
  ChatMessageRequest:
@@ -2148,14 +2144,10 @@ types:
2148
2144
  FunctionDefinitionPromptBlockRequest:
2149
2145
  docs: A block that represents a function definition in a prompt template.
2150
2146
  properties:
2151
- block_type: literal<"FUNCTION_DEFINITION">
2152
- properties: FunctionDefinitionPromptBlockPropertiesRequest
2153
- id:
2154
- type: string
2155
- validation:
2156
- minLength: 1
2157
2147
  state: optional<PromptBlockState>
2158
2148
  cache_config: optional<EphemeralPromptCacheConfigRequest>
2149
+ block_type: literal<"FUNCTION_DEFINITION">
2150
+ properties: FunctionDefinitionPromptBlockPropertiesRequest
2159
2151
  source:
2160
2152
  openapi: openapi/openapi.yml
2161
2153
  GenerateErrorResponse:
@@ -2486,14 +2478,10 @@ types:
2486
2478
  JinjaPromptBlockRequest:
2487
2479
  docs: A block of Jinja template code that is used to generate a prompt
2488
2480
  properties:
2489
- block_type: literal<"JINJA">
2490
- properties: JinjaPromptBlockPropertiesRequest
2491
- id:
2492
- type: string
2493
- validation:
2494
- minLength: 1
2495
2481
  state: optional<PromptBlockState>
2496
2482
  cache_config: optional<EphemeralPromptCacheConfigRequest>
2483
+ block_type: literal<"JINJA">
2484
+ properties: JinjaPromptBlockPropertiesRequest
2497
2485
  source:
2498
2486
  openapi: openapi/openapi.yml
2499
2487
  JsonEnum: literal<"JSON">
@@ -3378,14 +3366,10 @@ types:
3378
3366
  PlainTextPromptBlockRequest:
3379
3367
  docs: A block that holds a plain text string value.
3380
3368
  properties:
3381
- block_type: literal<"PLAIN_TEXT">
3382
- text: string
3383
- id:
3384
- type: string
3385
- validation:
3386
- minLength: 1
3387
3369
  state: optional<PromptBlockState>
3388
3370
  cache_config: optional<EphemeralPromptCacheConfigRequest>
3371
+ block_type: literal<"PLAIN_TEXT">
3372
+ text: string
3389
3373
  source:
3390
3374
  openapi: openapi/openapi.yml
3391
3375
  Price:
@@ -5432,13 +5416,9 @@ types:
5432
5416
  VariablePromptBlockRequest:
5433
5417
  docs: A block that represents a variable in a prompt template.
5434
5418
  properties:
5435
- block_type: literal<"VARIABLE">
5436
- id:
5437
- type: string
5438
- validation:
5439
- minLength: 1
5440
5419
  state: optional<PromptBlockState>
5441
5420
  cache_config: optional<EphemeralPromptCacheConfigRequest>
5421
+ block_type: literal<"VARIABLE">
5442
5422
  input_variable_id:
5443
5423
  type: string
5444
5424
  validation:
@@ -2840,22 +2840,18 @@ components:
2840
2840
  type: object
2841
2841
  description: A block that represents a chat message in a prompt template.
2842
2842
  properties:
2843
- block_type:
2844
- $ref: '#/components/schemas/ChatMessageEnum'
2845
- properties:
2846
- $ref: '#/components/schemas/ChatMessagePromptBlockPropertiesRequest'
2847
- id:
2848
- type: string
2849
- minLength: 1
2850
2843
  state:
2851
2844
  $ref: '#/components/schemas/PromptBlockState'
2852
2845
  cache_config:
2853
2846
  allOf:
2854
2847
  - $ref: '#/components/schemas/EphemeralPromptCacheConfigRequest'
2855
2848
  nullable: true
2849
+ block_type:
2850
+ $ref: '#/components/schemas/ChatMessageEnum'
2851
+ properties:
2852
+ $ref: '#/components/schemas/ChatMessagePromptBlockPropertiesRequest'
2856
2853
  required:
2857
2854
  - block_type
2858
- - id
2859
2855
  - properties
2860
2856
  ChatMessageRequest:
2861
2857
  type: object
@@ -5012,22 +5008,18 @@ components:
5012
5008
  type: object
5013
5009
  description: A block that represents a function definition in a prompt template.
5014
5010
  properties:
5015
- block_type:
5016
- $ref: '#/components/schemas/FunctionDefinitionEnum'
5017
- properties:
5018
- $ref: '#/components/schemas/FunctionDefinitionPromptBlockPropertiesRequest'
5019
- id:
5020
- type: string
5021
- minLength: 1
5022
5011
  state:
5023
5012
  $ref: '#/components/schemas/PromptBlockState'
5024
5013
  cache_config:
5025
5014
  allOf:
5026
5015
  - $ref: '#/components/schemas/EphemeralPromptCacheConfigRequest'
5027
5016
  nullable: true
5017
+ block_type:
5018
+ $ref: '#/components/schemas/FunctionDefinitionEnum'
5019
+ properties:
5020
+ $ref: '#/components/schemas/FunctionDefinitionPromptBlockPropertiesRequest'
5028
5021
  required:
5029
5022
  - block_type
5030
- - id
5031
5023
  - properties
5032
5024
  GenerateBodyRequest:
5033
5025
  type: object
@@ -5562,22 +5554,18 @@ components:
5562
5554
  type: object
5563
5555
  description: A block of Jinja template code that is used to generate a prompt
5564
5556
  properties:
5565
- block_type:
5566
- $ref: '#/components/schemas/JinjaEnum'
5567
- properties:
5568
- $ref: '#/components/schemas/JinjaPromptBlockPropertiesRequest'
5569
- id:
5570
- type: string
5571
- minLength: 1
5572
5557
  state:
5573
5558
  $ref: '#/components/schemas/PromptBlockState'
5574
5559
  cache_config:
5575
5560
  allOf:
5576
5561
  - $ref: '#/components/schemas/EphemeralPromptCacheConfigRequest'
5577
5562
  nullable: true
5563
+ block_type:
5564
+ $ref: '#/components/schemas/JinjaEnum'
5565
+ properties:
5566
+ $ref: '#/components/schemas/JinjaPromptBlockPropertiesRequest'
5578
5567
  required:
5579
5568
  - block_type
5580
- - id
5581
5569
  - properties
5582
5570
  JsonEnum:
5583
5571
  type: string
@@ -7112,22 +7100,18 @@ components:
7112
7100
  type: object
7113
7101
  description: A block that holds a plain text string value.
7114
7102
  properties:
7115
- block_type:
7116
- $ref: '#/components/schemas/PlainTextEnum'
7117
- text:
7118
- type: string
7119
- id:
7120
- type: string
7121
- minLength: 1
7122
7103
  state:
7123
7104
  $ref: '#/components/schemas/PromptBlockState'
7124
7105
  cache_config:
7125
7106
  allOf:
7126
7107
  - $ref: '#/components/schemas/EphemeralPromptCacheConfigRequest'
7127
7108
  nullable: true
7109
+ block_type:
7110
+ $ref: '#/components/schemas/PlainTextEnum'
7111
+ text:
7112
+ type: string
7128
7113
  required:
7129
7114
  - block_type
7130
- - id
7131
7115
  - text
7132
7116
  Price:
7133
7117
  type: object
@@ -10280,23 +10264,19 @@ components:
10280
10264
  type: object
10281
10265
  description: A block that represents a variable in a prompt template.
10282
10266
  properties:
10283
- block_type:
10284
- $ref: '#/components/schemas/VariableEnum'
10285
- id:
10286
- type: string
10287
- minLength: 1
10288
10267
  state:
10289
10268
  $ref: '#/components/schemas/PromptBlockState'
10290
10269
  cache_config:
10291
10270
  allOf:
10292
10271
  - $ref: '#/components/schemas/EphemeralPromptCacheConfigRequest'
10293
10272
  nullable: true
10273
+ block_type:
10274
+ $ref: '#/components/schemas/VariableEnum'
10294
10275
  input_variable_id:
10295
10276
  type: string
10296
10277
  format: uuid
10297
10278
  required:
10298
10279
  - block_type
10299
- - id
10300
10280
  - input_variable_id
10301
10281
  VellumAudio:
10302
10282
  type: object
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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
97
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
166
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
224
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
309
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
365
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
452
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
513
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
594
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
662
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
725
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
62
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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" }),
@@ -47,17 +47,16 @@ import * as Vellum from "../../../../index";
47
47
  * timeout: 1.1
48
48
  * },
49
49
  * blocks: [{
50
- * blockType: "JINJA",
51
- * properties: {
52
- * template: "string",
53
- * templateType: "STRING"
54
- * },
55
- * id: "string",
56
50
  * state: "ENABLED",
57
51
  * cacheConfig: {
58
52
  * type: {
59
53
  * "key": "value"
60
54
  * }
55
+ * },
56
+ * blockType: "JINJA",
57
+ * properties: {
58
+ * template: "string",
59
+ * templateType: "STRING"
61
60
  * }
62
61
  * }],
63
62
  * expandMeta: {
@@ -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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
78
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
131
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
182
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
238
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
135
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
202
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
256
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
310
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
385
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
84
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
199
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
252
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
307
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
360
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
408
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
464
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
512
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
135
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
187
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
235
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
325
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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,
@@ -81,7 +81,7 @@ class FolderEntities {
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/folder-entities"),
83
83
  method: "GET",
84
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
84
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "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",
@@ -145,7 +145,7 @@ class FolderEntities {
145
145
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
146
146
  .default, `v1/folders/${encodeURIComponent(folderId)}/add-entity`),
147
147
  method: "POST",
148
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
148
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
149
149
  contentType: "application/json",
150
150
  requestType: "json",
151
151
  body: serializers.AddEntityToFolderRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -71,7 +71,7 @@ class MetricDefinitions {
71
71
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
72
72
  .default, `v1/metric-definitions/${encodeURIComponent(id)}/execute`),
73
73
  method: "POST",
74
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
74
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  body: serializers.ExecuteMetricDefinitionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),