vellum-ai 0.9.1 → 0.9.2

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 (108) hide show
  1. package/.mock/definition/__package__.yml +34 -0
  2. package/.mock/definition/workflows.yml +4 -0
  3. package/.mock/openapi/openapi.yml +61 -0
  4. package/Client.js +10 -10
  5. package/api/resources/adHoc/client/Client.js +1 -1
  6. package/api/resources/containerImages/client/Client.js +3 -3
  7. package/api/resources/deployments/client/Client.js +5 -5
  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 +4 -4
  16. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  17. package/api/resources/workflows/client/Client.js +1 -1
  18. package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
  19. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  20. package/api/types/ArrayChatMessageContentItem.d.ts +1 -1
  21. package/api/types/ArrayChatMessageContentItemRequest.d.ts +1 -1
  22. package/api/types/AudioChatMessageContent.d.ts +11 -0
  23. package/api/types/AudioChatMessageContent.js +5 -0
  24. package/api/types/AudioChatMessageContentRequest.d.ts +11 -0
  25. package/api/types/AudioChatMessageContentRequest.js +5 -0
  26. package/api/types/ChatMessageContent.d.ts +1 -1
  27. package/api/types/ChatMessageContentRequest.d.ts +1 -1
  28. package/api/types/VellumAudio.d.ts +7 -0
  29. package/api/types/VellumAudio.js +5 -0
  30. package/api/types/VellumAudioRequest.d.ts +7 -0
  31. package/api/types/VellumAudioRequest.js +5 -0
  32. package/api/types/index.d.ts +4 -0
  33. package/api/types/index.js +4 -0
  34. package/dist/Client.js +10 -10
  35. package/dist/api/resources/adHoc/client/Client.js +1 -1
  36. package/dist/api/resources/containerImages/client/Client.js +3 -3
  37. package/dist/api/resources/deployments/client/Client.js +5 -5
  38. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  39. package/dist/api/resources/documents/client/Client.js +5 -5
  40. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  41. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  42. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  43. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  44. package/dist/api/resources/testSuites/client/Client.js +4 -4
  45. package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
  46. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  47. package/dist/api/resources/workflows/client/Client.js +1 -1
  48. package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
  49. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  50. package/dist/api/types/ArrayChatMessageContentItem.d.ts +1 -1
  51. package/dist/api/types/ArrayChatMessageContentItemRequest.d.ts +1 -1
  52. package/dist/api/types/AudioChatMessageContent.d.ts +11 -0
  53. package/dist/api/types/AudioChatMessageContent.js +5 -0
  54. package/dist/api/types/AudioChatMessageContentRequest.d.ts +11 -0
  55. package/dist/api/types/AudioChatMessageContentRequest.js +5 -0
  56. package/dist/api/types/ChatMessageContent.d.ts +1 -1
  57. package/dist/api/types/ChatMessageContentRequest.d.ts +1 -1
  58. package/dist/api/types/VellumAudio.d.ts +7 -0
  59. package/dist/api/types/VellumAudio.js +5 -0
  60. package/dist/api/types/VellumAudioRequest.d.ts +7 -0
  61. package/dist/api/types/VellumAudioRequest.js +5 -0
  62. package/dist/api/types/index.d.ts +4 -0
  63. package/dist/api/types/index.js +4 -0
  64. package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
  65. package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +1 -0
  66. package/dist/serialization/types/ArrayChatMessageContentItem.d.ts +2 -1
  67. package/dist/serialization/types/ArrayChatMessageContentItem.js +2 -0
  68. package/dist/serialization/types/ArrayChatMessageContentItemRequest.d.ts +2 -1
  69. package/dist/serialization/types/ArrayChatMessageContentItemRequest.js +2 -0
  70. package/dist/serialization/types/AudioChatMessageContent.d.ts +14 -0
  71. package/dist/serialization/types/AudioChatMessageContent.js +35 -0
  72. package/dist/serialization/types/AudioChatMessageContentRequest.d.ts +14 -0
  73. package/dist/serialization/types/AudioChatMessageContentRequest.js +35 -0
  74. package/dist/serialization/types/ChatMessageContent.d.ts +2 -1
  75. package/dist/serialization/types/ChatMessageContent.js +2 -0
  76. package/dist/serialization/types/ChatMessageContentRequest.d.ts +2 -1
  77. package/dist/serialization/types/ChatMessageContentRequest.js +2 -0
  78. package/dist/serialization/types/VellumAudio.d.ts +13 -0
  79. package/dist/serialization/types/VellumAudio.js +34 -0
  80. package/dist/serialization/types/VellumAudioRequest.d.ts +13 -0
  81. package/dist/serialization/types/VellumAudioRequest.js +34 -0
  82. package/dist/serialization/types/index.d.ts +4 -0
  83. package/dist/serialization/types/index.js +4 -0
  84. package/dist/version.d.ts +1 -1
  85. package/dist/version.js +1 -1
  86. package/package.json +1 -1
  87. package/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
  88. package/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +1 -0
  89. package/serialization/types/ArrayChatMessageContentItem.d.ts +2 -1
  90. package/serialization/types/ArrayChatMessageContentItem.js +2 -0
  91. package/serialization/types/ArrayChatMessageContentItemRequest.d.ts +2 -1
  92. package/serialization/types/ArrayChatMessageContentItemRequest.js +2 -0
  93. package/serialization/types/AudioChatMessageContent.d.ts +14 -0
  94. package/serialization/types/AudioChatMessageContent.js +35 -0
  95. package/serialization/types/AudioChatMessageContentRequest.d.ts +14 -0
  96. package/serialization/types/AudioChatMessageContentRequest.js +35 -0
  97. package/serialization/types/ChatMessageContent.d.ts +2 -1
  98. package/serialization/types/ChatMessageContent.js +2 -0
  99. package/serialization/types/ChatMessageContentRequest.d.ts +2 -1
  100. package/serialization/types/ChatMessageContentRequest.js +2 -0
  101. package/serialization/types/VellumAudio.d.ts +13 -0
  102. package/serialization/types/VellumAudio.js +34 -0
  103. package/serialization/types/VellumAudioRequest.d.ts +13 -0
  104. package/serialization/types/VellumAudioRequest.js +34 -0
  105. package/serialization/types/index.d.ts +4 -0
  106. package/serialization/types/index.js +4 -0
  107. package/version.d.ts +1 -1
  108. package/version.js +1 -1
@@ -776,6 +776,7 @@ types:
776
776
  - StringChatMessageContent
777
777
  - FunctionCallChatMessageContent
778
778
  - ImageChatMessageContent
779
+ - AudioChatMessageContent
779
780
  source:
780
781
  openapi: openapi/openapi.yml
781
782
  ArrayChatMessageContentItemRequest:
@@ -784,6 +785,7 @@ types:
784
785
  - StringChatMessageContentRequest
785
786
  - FunctionCallChatMessageContentRequest
786
787
  - ImageChatMessageContentRequest
788
+ - AudioChatMessageContentRequest
787
789
  source:
788
790
  openapi: openapi/openapi.yml
789
791
  ArrayChatMessageContentRequest:
@@ -840,6 +842,21 @@ types:
840
842
  value: optional<list<VellumValueRequest>>
841
843
  source:
842
844
  openapi: openapi/openapi.yml
845
+ AudioChatMessageContent:
846
+ docs: An audio value that is used in a chat message.
847
+ properties:
848
+ type: literal<"AUDIO">
849
+ value: VellumAudio
850
+ source:
851
+ openapi: openapi/openapi.yml
852
+ AudioChatMessageContentRequest:
853
+ docs: An audio value that is used in a chat message.
854
+ properties:
855
+ type: literal<"AUDIO">
856
+ value: VellumAudioRequest
857
+ source:
858
+ openapi: openapi/openapi.yml
859
+ AudioEnum: literal<"AUDIO">
843
860
  BasicVectorizerIntfloatMultilingualE5Large:
844
861
  docs: Basic vectorizer for intfloat/multilingual-e5-large.
845
862
  properties:
@@ -934,6 +951,7 @@ types:
934
951
  - FunctionCallChatMessageContent
935
952
  - ArrayChatMessageContent
936
953
  - ImageChatMessageContent
954
+ - AudioChatMessageContent
937
955
  source:
938
956
  openapi: openapi/openapi.yml
939
957
  ChatMessageContentRequest:
@@ -943,6 +961,7 @@ types:
943
961
  - FunctionCallChatMessageContentRequest
944
962
  - ArrayChatMessageContentRequest
945
963
  - ImageChatMessageContentRequest
964
+ - AudioChatMessageContentRequest
946
965
  source:
947
966
  openapi: openapi/openapi.yml
948
967
  ChatMessageEnum: literal<"CHAT_MESSAGE">
@@ -5370,6 +5389,21 @@ types:
5370
5389
  format: uuid
5371
5390
  source:
5372
5391
  openapi: openapi/openapi.yml
5392
+ VellumAudio:
5393
+ properties:
5394
+ src: string
5395
+ metadata: optional<map<string, unknown>>
5396
+ source:
5397
+ openapi: openapi/openapi.yml
5398
+ VellumAudioRequest:
5399
+ properties:
5400
+ src:
5401
+ type: string
5402
+ validation:
5403
+ minLength: 1
5404
+ metadata: optional<map<string, unknown>>
5405
+ source:
5406
+ openapi: openapi/openapi.yml
5373
5407
  VellumError:
5374
5408
  properties:
5375
5409
  message: string
@@ -20,6 +20,10 @@ service:
20
20
  type: string
21
21
  validation:
22
22
  minLength: 1
23
+ workflow_sandbox_id:
24
+ type: optional<string>
25
+ validation:
26
+ format: uuid
23
27
  response:
24
28
  docs: ''
25
29
  type: root.WorkflowPushResponse
@@ -2280,23 +2280,27 @@ components:
2280
2280
  - $ref: '#/components/schemas/StringChatMessageContent'
2281
2281
  - $ref: '#/components/schemas/FunctionCallChatMessageContent'
2282
2282
  - $ref: '#/components/schemas/ImageChatMessageContent'
2283
+ - $ref: '#/components/schemas/AudioChatMessageContent'
2283
2284
  discriminator:
2284
2285
  propertyName: type
2285
2286
  mapping:
2286
2287
  STRING: '#/components/schemas/StringChatMessageContent'
2287
2288
  FUNCTION_CALL: '#/components/schemas/FunctionCallChatMessageContent'
2288
2289
  IMAGE: '#/components/schemas/ImageChatMessageContent'
2290
+ AUDIO: '#/components/schemas/AudioChatMessageContent'
2289
2291
  ArrayChatMessageContentItemRequest:
2290
2292
  oneOf:
2291
2293
  - $ref: '#/components/schemas/StringChatMessageContentRequest'
2292
2294
  - $ref: '#/components/schemas/FunctionCallChatMessageContentRequest'
2293
2295
  - $ref: '#/components/schemas/ImageChatMessageContentRequest'
2296
+ - $ref: '#/components/schemas/AudioChatMessageContentRequest'
2294
2297
  discriminator:
2295
2298
  propertyName: type
2296
2299
  mapping:
2297
2300
  STRING: '#/components/schemas/StringChatMessageContentRequest'
2298
2301
  FUNCTION_CALL: '#/components/schemas/FunctionCallChatMessageContentRequest'
2299
2302
  IMAGE: '#/components/schemas/ImageChatMessageContentRequest'
2303
+ AUDIO: '#/components/schemas/AudioChatMessageContentRequest'
2300
2304
  ArrayChatMessageContentRequest:
2301
2305
  type: object
2302
2306
  description: A list of chat message content items.
@@ -2396,6 +2400,32 @@ components:
2396
2400
  required:
2397
2401
  - type
2398
2402
  - value
2403
+ AudioChatMessageContent:
2404
+ type: object
2405
+ description: An audio value that is used in a chat message.
2406
+ properties:
2407
+ type:
2408
+ $ref: '#/components/schemas/AudioEnum'
2409
+ value:
2410
+ $ref: '#/components/schemas/VellumAudio'
2411
+ required:
2412
+ - type
2413
+ - value
2414
+ AudioChatMessageContentRequest:
2415
+ type: object
2416
+ description: An audio value that is used in a chat message.
2417
+ properties:
2418
+ type:
2419
+ $ref: '#/components/schemas/AudioEnum'
2420
+ value:
2421
+ $ref: '#/components/schemas/VellumAudioRequest'
2422
+ required:
2423
+ - type
2424
+ - value
2425
+ AudioEnum:
2426
+ type: string
2427
+ enum:
2428
+ - AUDIO
2399
2429
  BasicVectorizerIntfloatMultilingualE5Large:
2400
2430
  type: object
2401
2431
  description: Basic vectorizer for intfloat/multilingual-e5-large.
@@ -2555,6 +2585,7 @@ components:
2555
2585
  - $ref: '#/components/schemas/FunctionCallChatMessageContent'
2556
2586
  - $ref: '#/components/schemas/ArrayChatMessageContent'
2557
2587
  - $ref: '#/components/schemas/ImageChatMessageContent'
2588
+ - $ref: '#/components/schemas/AudioChatMessageContent'
2558
2589
  discriminator:
2559
2590
  propertyName: type
2560
2591
  mapping:
@@ -2562,12 +2593,14 @@ components:
2562
2593
  FUNCTION_CALL: '#/components/schemas/FunctionCallChatMessageContent'
2563
2594
  ARRAY: '#/components/schemas/ArrayChatMessageContent'
2564
2595
  IMAGE: '#/components/schemas/ImageChatMessageContent'
2596
+ AUDIO: '#/components/schemas/AudioChatMessageContent'
2565
2597
  ChatMessageContentRequest:
2566
2598
  oneOf:
2567
2599
  - $ref: '#/components/schemas/StringChatMessageContentRequest'
2568
2600
  - $ref: '#/components/schemas/FunctionCallChatMessageContentRequest'
2569
2601
  - $ref: '#/components/schemas/ArrayChatMessageContentRequest'
2570
2602
  - $ref: '#/components/schemas/ImageChatMessageContentRequest'
2603
+ - $ref: '#/components/schemas/AudioChatMessageContentRequest'
2571
2604
  discriminator:
2572
2605
  propertyName: type
2573
2606
  mapping:
@@ -2575,6 +2608,7 @@ components:
2575
2608
  FUNCTION_CALL: '#/components/schemas/FunctionCallChatMessageContentRequest'
2576
2609
  ARRAY: '#/components/schemas/ArrayChatMessageContentRequest'
2577
2610
  IMAGE: '#/components/schemas/ImageChatMessageContentRequest'
2611
+ AUDIO: '#/components/schemas/AudioChatMessageContentRequest'
2578
2612
  ChatMessageEnum:
2579
2613
  type: string
2580
2614
  enum:
@@ -10008,6 +10042,29 @@ components:
10008
10042
  - block_type
10009
10043
  - id
10010
10044
  - input_variable_id
10045
+ VellumAudio:
10046
+ type: object
10047
+ properties:
10048
+ src:
10049
+ type: string
10050
+ metadata:
10051
+ type: object
10052
+ additionalProperties: {}
10053
+ nullable: true
10054
+ required:
10055
+ - src
10056
+ VellumAudioRequest:
10057
+ type: object
10058
+ properties:
10059
+ src:
10060
+ type: string
10061
+ minLength: 1
10062
+ metadata:
10063
+ type: object
10064
+ additionalProperties: {}
10065
+ nullable: true
10066
+ required:
10067
+ - src
10011
10068
  VellumError:
10012
10069
  type: object
10013
10070
  properties:
@@ -10815,6 +10872,10 @@ components:
10815
10872
  label:
10816
10873
  type: string
10817
10874
  minLength: 1
10875
+ workflow_sandbox_id:
10876
+ type: string
10877
+ format: uuid
10878
+ nullable: true
10818
10879
  required:
10819
10880
  - exec_config
10820
10881
  - label
package/Client.js CHANGED
@@ -94,7 +94,7 @@ class VellumClient {
94
94
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
95
95
  .default, "v1/execute-code"),
96
96
  method: "POST",
97
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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,
@@ -184,7 +184,7 @@ class ContainerImages {
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
  .default, "v1/container-images/push"),
186
186
  method: "POST",
187
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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
  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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
188
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
242
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
317
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "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.2", "User-Agent": "vellum-ai/0.9.2", "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" }),
@@ -64,7 +64,7 @@ class Sandboxes {
64
64
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
65
65
  .default, `v1/sandboxes/${encodeURIComponent(id)}/prompts/${encodeURIComponent(promptVariantId)}/deploy`),
66
66
  method: "POST",
67
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
67
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
68
68
  contentType: "application/json",
69
69
  requestType: "json",
70
70
  body: serializers.DeploySandboxPromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -151,7 +151,7 @@ class Sandboxes {
151
151
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
152
152
  .default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios`),
153
153
  method: "POST",
154
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
154
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
155
155
  contentType: "application/json",
156
156
  requestType: "json",
157
157
  body: serializers.UpsertSandboxScenarioRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -205,7 +205,7 @@ class Sandboxes {
205
205
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
206
206
  .default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios/${encodeURIComponent(scenarioId)}`),
207
207
  method: "DELETE",
208
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "v0.9.1", "User-Agent": "vellum-ai/v0.9.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
208
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.2", "User-Agent": "vellum-ai/0.9.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
209
209
  contentType: "application/json",
210
210
  requestType: "json",
211
211
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,