vellum-ai 0.10.9 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/__package__.yml +138 -0
- package/.mock/openapi/openapi.yml +156 -0
- package/Client.js +10 -10
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +7 -7
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/metricDefinitions/client/Client.js +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +6 -6
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/types/TestSuiteRunExecConfig.d.ts +1 -1
- package/api/types/TestSuiteRunExecConfigRequest.d.ts +1 -1
- package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.d.ts +13 -0
- package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.js +5 -0
- package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.d.ts +9 -0
- package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.js +5 -0
- package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.d.ts +9 -0
- package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.js +5 -0
- package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.d.ts +13 -0
- package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.js +5 -0
- package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.d.ts +13 -0
- package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.js +5 -0
- package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.d.ts +9 -0
- package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.js +5 -0
- package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.d.ts +9 -0
- package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.js +5 -0
- package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.d.ts +13 -0
- package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.js +5 -0
- package/api/types/index.d.ts +8 -0
- package/api/types/index.js +8 -0
- package/dist/Client.js +10 -10
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +7 -7
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +6 -6
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/types/TestSuiteRunExecConfig.d.ts +1 -1
- package/dist/api/types/TestSuiteRunExecConfigRequest.d.ts +1 -1
- package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.d.ts +13 -0
- package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.js +5 -0
- package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.d.ts +9 -0
- package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.js +5 -0
- package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.d.ts +9 -0
- package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.js +5 -0
- package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.d.ts +13 -0
- package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.js +5 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.d.ts +13 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.js +5 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.d.ts +9 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.js +5 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.d.ts +9 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.js +5 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.d.ts +13 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.js +5 -0
- package/dist/api/types/index.d.ts +8 -0
- package/dist/api/types/index.js +8 -0
- package/dist/serialization/types/TestSuiteRunExecConfig.d.ts +3 -1
- package/dist/serialization/types/TestSuiteRunExecConfig.js +4 -0
- package/dist/serialization/types/TestSuiteRunExecConfigRequest.d.ts +3 -1
- package/dist/serialization/types/TestSuiteRunExecConfigRequest.js +4 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.d.ts +15 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.js +36 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.d.ts +13 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.js +34 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.d.ts +13 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.js +34 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.d.ts +15 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.js +36 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.d.ts +15 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.js +36 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.d.ts +13 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.js +34 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.d.ts +13 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.js +34 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.d.ts +15 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.js +36 -0
- package/dist/serialization/types/index.d.ts +8 -0
- package/dist/serialization/types/index.js +8 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/TestSuiteRunExecConfig.d.ts +3 -1
- package/serialization/types/TestSuiteRunExecConfig.js +4 -0
- package/serialization/types/TestSuiteRunExecConfigRequest.d.ts +3 -1
- package/serialization/types/TestSuiteRunExecConfigRequest.js +4 -0
- package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.d.ts +15 -0
- package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.js +36 -0
- package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.d.ts +13 -0
- package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.js +34 -0
- package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.d.ts +13 -0
- package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.js +34 -0
- package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.d.ts +15 -0
- package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.js +36 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.d.ts +15 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.js +36 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.d.ts +13 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.js +34 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.d.ts +13 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.js +34 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.d.ts +15 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.js +36 -0
- package/serialization/types/index.d.ts +8 -0
- package/serialization/types/index.js +8 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -4950,7 +4950,9 @@ types:
|
|
|
4950
4950
|
discriminated: false
|
|
4951
4951
|
union:
|
|
4952
4952
|
- TestSuiteRunDeploymentReleaseTagExecConfig
|
|
4953
|
+
- TestSuiteRunPromptSandboxHistoryItemExecConfig
|
|
4953
4954
|
- TestSuiteRunWorkflowReleaseTagExecConfig
|
|
4955
|
+
- TestSuiteRunWorkflowSandboxHistoryItemExecConfig
|
|
4954
4956
|
- TestSuiteRunExternalExecConfig
|
|
4955
4957
|
source:
|
|
4956
4958
|
openapi: openapi/openapi.yml
|
|
@@ -4958,7 +4960,9 @@ types:
|
|
|
4958
4960
|
discriminated: false
|
|
4959
4961
|
union:
|
|
4960
4962
|
- TestSuiteRunDeploymentReleaseTagExecConfigRequest
|
|
4963
|
+
- TestSuiteRunPromptSandboxHistoryItemExecConfigRequest
|
|
4961
4964
|
- TestSuiteRunWorkflowReleaseTagExecConfigRequest
|
|
4965
|
+
- TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest
|
|
4962
4966
|
- TestSuiteRunExternalExecConfigRequest
|
|
4963
4967
|
source:
|
|
4964
4968
|
openapi: openapi/openapi.yml
|
|
@@ -5218,6 +5222,73 @@ types:
|
|
|
5218
5222
|
TestSuiteRunMetricStringOutputTypeEnum:
|
|
5219
5223
|
type: literal<"STRING">
|
|
5220
5224
|
docs: '* `STRING` - STRING'
|
|
5225
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfig:
|
|
5226
|
+
docs: >-
|
|
5227
|
+
Execution configuration for running a Test Suite against a Prompt Sandbox
|
|
5228
|
+
History Item
|
|
5229
|
+
properties:
|
|
5230
|
+
type: literal<"PROMPT_SANDBOX_HISTORY_ITEM">
|
|
5231
|
+
data: TestSuiteRunPromptSandboxHistoryItemExecConfigData
|
|
5232
|
+
test_case_ids:
|
|
5233
|
+
type: optional<list<string>>
|
|
5234
|
+
docs: >-
|
|
5235
|
+
Optionally specify a subset of test case ids to run. If not provided,
|
|
5236
|
+
all test cases within the test suite will be run by default.
|
|
5237
|
+
source:
|
|
5238
|
+
openapi: openapi/openapi.yml
|
|
5239
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfigData:
|
|
5240
|
+
properties:
|
|
5241
|
+
history_item_id:
|
|
5242
|
+
type: string
|
|
5243
|
+
docs: >-
|
|
5244
|
+
The ID of the Prompt Sandbox History Item that the Test Suite will run
|
|
5245
|
+
against.
|
|
5246
|
+
validation:
|
|
5247
|
+
format: uuid
|
|
5248
|
+
prompt_variant_id:
|
|
5249
|
+
type: string
|
|
5250
|
+
docs: >-
|
|
5251
|
+
The ID of the Prompt Variant within the Prompt Sandbox History Item
|
|
5252
|
+
that you'd like to run the Test Suite against.
|
|
5253
|
+
validation:
|
|
5254
|
+
format: uuid
|
|
5255
|
+
source:
|
|
5256
|
+
openapi: openapi/openapi.yml
|
|
5257
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest:
|
|
5258
|
+
properties:
|
|
5259
|
+
history_item_id:
|
|
5260
|
+
type: string
|
|
5261
|
+
docs: >-
|
|
5262
|
+
The ID of the Prompt Sandbox History Item that the Test Suite will run
|
|
5263
|
+
against.
|
|
5264
|
+
validation:
|
|
5265
|
+
format: uuid
|
|
5266
|
+
prompt_variant_id:
|
|
5267
|
+
type: string
|
|
5268
|
+
docs: >-
|
|
5269
|
+
The ID of the Prompt Variant within the Prompt Sandbox History Item
|
|
5270
|
+
that you'd like to run the Test Suite against.
|
|
5271
|
+
validation:
|
|
5272
|
+
format: uuid
|
|
5273
|
+
source:
|
|
5274
|
+
openapi: openapi/openapi.yml
|
|
5275
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfigRequest:
|
|
5276
|
+
docs: >-
|
|
5277
|
+
Execution configuration for running a Test Suite against a Prompt Sandbox
|
|
5278
|
+
History Item
|
|
5279
|
+
properties:
|
|
5280
|
+
type: literal<"PROMPT_SANDBOX_HISTORY_ITEM">
|
|
5281
|
+
data: TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest
|
|
5282
|
+
test_case_ids:
|
|
5283
|
+
type: optional<list<string>>
|
|
5284
|
+
docs: >-
|
|
5285
|
+
Optionally specify a subset of test case ids to run. If not provided,
|
|
5286
|
+
all test cases within the test suite will be run by default.
|
|
5287
|
+
source:
|
|
5288
|
+
openapi: openapi/openapi.yml
|
|
5289
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfigTypeEnum:
|
|
5290
|
+
type: literal<"PROMPT_SANDBOX_HISTORY_ITEM">
|
|
5291
|
+
docs: '* `PROMPT_SANDBOX_HISTORY_ITEM` - PROMPT_SANDBOX_HISTORY_ITEM'
|
|
5221
5292
|
TestSuiteRunRead:
|
|
5222
5293
|
properties:
|
|
5223
5294
|
id:
|
|
@@ -5334,6 +5405,73 @@ types:
|
|
|
5334
5405
|
TestSuiteRunWorkflowReleaseTagExecConfigTypeEnum:
|
|
5335
5406
|
type: literal<"WORKFLOW_RELEASE_TAG">
|
|
5336
5407
|
docs: '* `WORKFLOW_RELEASE_TAG` - WORKFLOW_RELEASE_TAG'
|
|
5408
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfig:
|
|
5409
|
+
docs: >-
|
|
5410
|
+
Execution configuration for running a Test Suite against a Workflow
|
|
5411
|
+
Sandbox History Item
|
|
5412
|
+
properties:
|
|
5413
|
+
type: literal<"WORKFLOW_SANDBOX_HISTORY_ITEM">
|
|
5414
|
+
data: TestSuiteRunWorkflowSandboxHistoryItemExecConfigData
|
|
5415
|
+
test_case_ids:
|
|
5416
|
+
type: optional<list<string>>
|
|
5417
|
+
docs: >-
|
|
5418
|
+
Optionally specify a subset of test case ids to run. If not provided,
|
|
5419
|
+
all test cases within the test suite will be run by default.
|
|
5420
|
+
source:
|
|
5421
|
+
openapi: openapi/openapi.yml
|
|
5422
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfigData:
|
|
5423
|
+
properties:
|
|
5424
|
+
history_item_id:
|
|
5425
|
+
type: string
|
|
5426
|
+
docs: >-
|
|
5427
|
+
The ID of the Workflow Sandbox History Item that the Test Suite will
|
|
5428
|
+
run against.
|
|
5429
|
+
validation:
|
|
5430
|
+
format: uuid
|
|
5431
|
+
workflow_variant_id:
|
|
5432
|
+
type: string
|
|
5433
|
+
docs: >-
|
|
5434
|
+
The ID of the Workflow Variant within the Workflow Sandbox History
|
|
5435
|
+
Item that you'd like to run the Test Suite against.
|
|
5436
|
+
validation:
|
|
5437
|
+
format: uuid
|
|
5438
|
+
source:
|
|
5439
|
+
openapi: openapi/openapi.yml
|
|
5440
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest:
|
|
5441
|
+
properties:
|
|
5442
|
+
history_item_id:
|
|
5443
|
+
type: string
|
|
5444
|
+
docs: >-
|
|
5445
|
+
The ID of the Workflow Sandbox History Item that the Test Suite will
|
|
5446
|
+
run against.
|
|
5447
|
+
validation:
|
|
5448
|
+
format: uuid
|
|
5449
|
+
workflow_variant_id:
|
|
5450
|
+
type: string
|
|
5451
|
+
docs: >-
|
|
5452
|
+
The ID of the Workflow Variant within the Workflow Sandbox History
|
|
5453
|
+
Item that you'd like to run the Test Suite against.
|
|
5454
|
+
validation:
|
|
5455
|
+
format: uuid
|
|
5456
|
+
source:
|
|
5457
|
+
openapi: openapi/openapi.yml
|
|
5458
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest:
|
|
5459
|
+
docs: >-
|
|
5460
|
+
Execution configuration for running a Test Suite against a Workflow
|
|
5461
|
+
Sandbox History Item
|
|
5462
|
+
properties:
|
|
5463
|
+
type: literal<"WORKFLOW_SANDBOX_HISTORY_ITEM">
|
|
5464
|
+
data: TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest
|
|
5465
|
+
test_case_ids:
|
|
5466
|
+
type: optional<list<string>>
|
|
5467
|
+
docs: >-
|
|
5468
|
+
Optionally specify a subset of test case ids to run. If not provided,
|
|
5469
|
+
all test cases within the test suite will be run by default.
|
|
5470
|
+
source:
|
|
5471
|
+
openapi: openapi/openapi.yml
|
|
5472
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfigTypeEnum:
|
|
5473
|
+
type: literal<"WORKFLOW_SANDBOX_HISTORY_ITEM">
|
|
5474
|
+
docs: '* `WORKFLOW_SANDBOX_HISTORY_ITEM` - WORKFLOW_SANDBOX_HISTORY_ITEM'
|
|
5337
5475
|
TestSuiteTestCase:
|
|
5338
5476
|
properties:
|
|
5339
5477
|
id: optional<string>
|
|
@@ -9542,24 +9542,32 @@ components:
|
|
|
9542
9542
|
TestSuiteRunExecConfig:
|
|
9543
9543
|
oneOf:
|
|
9544
9544
|
- $ref: '#/components/schemas/TestSuiteRunDeploymentReleaseTagExecConfig'
|
|
9545
|
+
- $ref: '#/components/schemas/TestSuiteRunPromptSandboxHistoryItemExecConfig'
|
|
9545
9546
|
- $ref: '#/components/schemas/TestSuiteRunWorkflowReleaseTagExecConfig'
|
|
9547
|
+
- $ref: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfig'
|
|
9546
9548
|
- $ref: '#/components/schemas/TestSuiteRunExternalExecConfig'
|
|
9547
9549
|
discriminator:
|
|
9548
9550
|
propertyName: type
|
|
9549
9551
|
mapping:
|
|
9550
9552
|
DEPLOYMENT_RELEASE_TAG: '#/components/schemas/TestSuiteRunDeploymentReleaseTagExecConfig'
|
|
9553
|
+
PROMPT_SANDBOX_HISTORY_ITEM: '#/components/schemas/TestSuiteRunPromptSandboxHistoryItemExecConfig'
|
|
9551
9554
|
WORKFLOW_RELEASE_TAG: '#/components/schemas/TestSuiteRunWorkflowReleaseTagExecConfig'
|
|
9555
|
+
WORKFLOW_SANDBOX_HISTORY_ITEM: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfig'
|
|
9552
9556
|
EXTERNAL: '#/components/schemas/TestSuiteRunExternalExecConfig'
|
|
9553
9557
|
TestSuiteRunExecConfigRequest:
|
|
9554
9558
|
oneOf:
|
|
9555
9559
|
- $ref: '#/components/schemas/TestSuiteRunDeploymentReleaseTagExecConfigRequest'
|
|
9560
|
+
- $ref: '#/components/schemas/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest'
|
|
9556
9561
|
- $ref: '#/components/schemas/TestSuiteRunWorkflowReleaseTagExecConfigRequest'
|
|
9562
|
+
- $ref: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest'
|
|
9557
9563
|
- $ref: '#/components/schemas/TestSuiteRunExternalExecConfigRequest'
|
|
9558
9564
|
discriminator:
|
|
9559
9565
|
propertyName: type
|
|
9560
9566
|
mapping:
|
|
9561
9567
|
DEPLOYMENT_RELEASE_TAG: '#/components/schemas/TestSuiteRunDeploymentReleaseTagExecConfigRequest'
|
|
9568
|
+
PROMPT_SANDBOX_HISTORY_ITEM: '#/components/schemas/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest'
|
|
9562
9569
|
WORKFLOW_RELEASE_TAG: '#/components/schemas/TestSuiteRunWorkflowReleaseTagExecConfigRequest'
|
|
9570
|
+
WORKFLOW_SANDBOX_HISTORY_ITEM: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest'
|
|
9563
9571
|
EXTERNAL: '#/components/schemas/TestSuiteRunExternalExecConfigRequest'
|
|
9564
9572
|
TestSuiteRunExecution:
|
|
9565
9573
|
type: object
|
|
@@ -9949,6 +9957,80 @@ components:
|
|
|
9949
9957
|
- STRING
|
|
9950
9958
|
type: string
|
|
9951
9959
|
description: '* `STRING` - STRING'
|
|
9960
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfig:
|
|
9961
|
+
type: object
|
|
9962
|
+
description: Execution configuration for running a Test Suite against a Prompt
|
|
9963
|
+
Sandbox History Item
|
|
9964
|
+
properties:
|
|
9965
|
+
type:
|
|
9966
|
+
$ref: '#/components/schemas/TestSuiteRunPromptSandboxHistoryItemExecConfigTypeEnum'
|
|
9967
|
+
data:
|
|
9968
|
+
$ref: '#/components/schemas/TestSuiteRunPromptSandboxHistoryItemExecConfigData'
|
|
9969
|
+
test_case_ids:
|
|
9970
|
+
type: array
|
|
9971
|
+
items:
|
|
9972
|
+
type: string
|
|
9973
|
+
nullable: true
|
|
9974
|
+
description: Optionally specify a subset of test case ids to run. If not
|
|
9975
|
+
provided, all test cases within the test suite will be run by default.
|
|
9976
|
+
required:
|
|
9977
|
+
- data
|
|
9978
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfigData:
|
|
9979
|
+
type: object
|
|
9980
|
+
properties:
|
|
9981
|
+
history_item_id:
|
|
9982
|
+
type: string
|
|
9983
|
+
format: uuid
|
|
9984
|
+
description: The ID of the Prompt Sandbox History Item that the Test Suite
|
|
9985
|
+
will run against.
|
|
9986
|
+
prompt_variant_id:
|
|
9987
|
+
type: string
|
|
9988
|
+
format: uuid
|
|
9989
|
+
description: The ID of the Prompt Variant within the Prompt Sandbox History
|
|
9990
|
+
Item that you'd like to run the Test Suite against.
|
|
9991
|
+
required:
|
|
9992
|
+
- history_item_id
|
|
9993
|
+
- prompt_variant_id
|
|
9994
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest:
|
|
9995
|
+
type: object
|
|
9996
|
+
properties:
|
|
9997
|
+
history_item_id:
|
|
9998
|
+
type: string
|
|
9999
|
+
format: uuid
|
|
10000
|
+
description: The ID of the Prompt Sandbox History Item that the Test Suite
|
|
10001
|
+
will run against.
|
|
10002
|
+
prompt_variant_id:
|
|
10003
|
+
type: string
|
|
10004
|
+
format: uuid
|
|
10005
|
+
description: The ID of the Prompt Variant within the Prompt Sandbox History
|
|
10006
|
+
Item that you'd like to run the Test Suite against.
|
|
10007
|
+
required:
|
|
10008
|
+
- history_item_id
|
|
10009
|
+
- prompt_variant_id
|
|
10010
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfigRequest:
|
|
10011
|
+
type: object
|
|
10012
|
+
description: Execution configuration for running a Test Suite against a Prompt
|
|
10013
|
+
Sandbox History Item
|
|
10014
|
+
properties:
|
|
10015
|
+
type:
|
|
10016
|
+
$ref: '#/components/schemas/TestSuiteRunPromptSandboxHistoryItemExecConfigTypeEnum'
|
|
10017
|
+
data:
|
|
10018
|
+
$ref: '#/components/schemas/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest'
|
|
10019
|
+
test_case_ids:
|
|
10020
|
+
type: array
|
|
10021
|
+
items:
|
|
10022
|
+
type: string
|
|
10023
|
+
minLength: 1
|
|
10024
|
+
nullable: true
|
|
10025
|
+
description: Optionally specify a subset of test case ids to run. If not
|
|
10026
|
+
provided, all test cases within the test suite will be run by default.
|
|
10027
|
+
required:
|
|
10028
|
+
- data
|
|
10029
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfigTypeEnum:
|
|
10030
|
+
enum:
|
|
10031
|
+
- PROMPT_SANDBOX_HISTORY_ITEM
|
|
10032
|
+
type: string
|
|
10033
|
+
description: '* `PROMPT_SANDBOX_HISTORY_ITEM` - PROMPT_SANDBOX_HISTORY_ITEM'
|
|
9952
10034
|
TestSuiteRunRead:
|
|
9953
10035
|
type: object
|
|
9954
10036
|
properties:
|
|
@@ -10085,6 +10167,80 @@ components:
|
|
|
10085
10167
|
- WORKFLOW_RELEASE_TAG
|
|
10086
10168
|
type: string
|
|
10087
10169
|
description: '* `WORKFLOW_RELEASE_TAG` - WORKFLOW_RELEASE_TAG'
|
|
10170
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfig:
|
|
10171
|
+
type: object
|
|
10172
|
+
description: Execution configuration for running a Test Suite against a Workflow
|
|
10173
|
+
Sandbox History Item
|
|
10174
|
+
properties:
|
|
10175
|
+
type:
|
|
10176
|
+
$ref: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfigTypeEnum'
|
|
10177
|
+
data:
|
|
10178
|
+
$ref: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData'
|
|
10179
|
+
test_case_ids:
|
|
10180
|
+
type: array
|
|
10181
|
+
items:
|
|
10182
|
+
type: string
|
|
10183
|
+
nullable: true
|
|
10184
|
+
description: Optionally specify a subset of test case ids to run. If not
|
|
10185
|
+
provided, all test cases within the test suite will be run by default.
|
|
10186
|
+
required:
|
|
10187
|
+
- data
|
|
10188
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfigData:
|
|
10189
|
+
type: object
|
|
10190
|
+
properties:
|
|
10191
|
+
history_item_id:
|
|
10192
|
+
type: string
|
|
10193
|
+
format: uuid
|
|
10194
|
+
description: The ID of the Workflow Sandbox History Item that the Test Suite
|
|
10195
|
+
will run against.
|
|
10196
|
+
workflow_variant_id:
|
|
10197
|
+
type: string
|
|
10198
|
+
format: uuid
|
|
10199
|
+
description: The ID of the Workflow Variant within the Workflow Sandbox
|
|
10200
|
+
History Item that you'd like to run the Test Suite against.
|
|
10201
|
+
required:
|
|
10202
|
+
- history_item_id
|
|
10203
|
+
- workflow_variant_id
|
|
10204
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest:
|
|
10205
|
+
type: object
|
|
10206
|
+
properties:
|
|
10207
|
+
history_item_id:
|
|
10208
|
+
type: string
|
|
10209
|
+
format: uuid
|
|
10210
|
+
description: The ID of the Workflow Sandbox History Item that the Test Suite
|
|
10211
|
+
will run against.
|
|
10212
|
+
workflow_variant_id:
|
|
10213
|
+
type: string
|
|
10214
|
+
format: uuid
|
|
10215
|
+
description: The ID of the Workflow Variant within the Workflow Sandbox
|
|
10216
|
+
History Item that you'd like to run the Test Suite against.
|
|
10217
|
+
required:
|
|
10218
|
+
- history_item_id
|
|
10219
|
+
- workflow_variant_id
|
|
10220
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest:
|
|
10221
|
+
type: object
|
|
10222
|
+
description: Execution configuration for running a Test Suite against a Workflow
|
|
10223
|
+
Sandbox History Item
|
|
10224
|
+
properties:
|
|
10225
|
+
type:
|
|
10226
|
+
$ref: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfigTypeEnum'
|
|
10227
|
+
data:
|
|
10228
|
+
$ref: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest'
|
|
10229
|
+
test_case_ids:
|
|
10230
|
+
type: array
|
|
10231
|
+
items:
|
|
10232
|
+
type: string
|
|
10233
|
+
minLength: 1
|
|
10234
|
+
nullable: true
|
|
10235
|
+
description: Optionally specify a subset of test case ids to run. If not
|
|
10236
|
+
provided, all test cases within the test suite will be run by default.
|
|
10237
|
+
required:
|
|
10238
|
+
- data
|
|
10239
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfigTypeEnum:
|
|
10240
|
+
enum:
|
|
10241
|
+
- WORKFLOW_SANDBOX_HISTORY_ITEM
|
|
10242
|
+
type: string
|
|
10243
|
+
description: '* `WORKFLOW_SANDBOX_HISTORY_ITEM` - WORKFLOW_SANDBOX_HISTORY_ITEM'
|
|
10088
10244
|
TestSuiteTestCase:
|
|
10089
10245
|
type: object
|
|
10090
10246
|
properties:
|
package/Client.js
CHANGED
|
@@ -95,7 +95,7 @@ class VellumClient {
|
|
|
95
95
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
96
96
|
.default, "v1/execute-code"),
|
|
97
97
|
method: "POST",
|
|
98
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
98
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
99
99
|
contentType: "application/json",
|
|
100
100
|
requestType: "json",
|
|
101
101
|
body: serializers.CodeExecutor.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -164,7 +164,7 @@ class VellumClient {
|
|
|
164
164
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
165
165
|
.predict, "v1/execute-prompt"),
|
|
166
166
|
method: "POST",
|
|
167
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
167
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
168
168
|
contentType: "application/json",
|
|
169
169
|
requestType: "json",
|
|
170
170
|
body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -222,7 +222,7 @@ class VellumClient {
|
|
|
222
222
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
223
223
|
.predict, "v1/execute-prompt-stream"),
|
|
224
224
|
method: "POST",
|
|
225
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
225
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
226
226
|
contentType: "application/json",
|
|
227
227
|
requestType: "json",
|
|
228
228
|
body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -307,7 +307,7 @@ class VellumClient {
|
|
|
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
|
.predict, "v1/execute-workflow"),
|
|
309
309
|
method: "POST",
|
|
310
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
310
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "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.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -363,7 +363,7 @@ class VellumClient {
|
|
|
363
363
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
364
364
|
.predict, "v1/execute-workflow-stream"),
|
|
365
365
|
method: "POST",
|
|
366
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
366
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
367
367
|
contentType: "application/json",
|
|
368
368
|
requestType: "json",
|
|
369
369
|
body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -450,7 +450,7 @@ class VellumClient {
|
|
|
450
450
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
451
451
|
.predict, "v1/generate"),
|
|
452
452
|
method: "POST",
|
|
453
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
453
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
454
454
|
contentType: "application/json",
|
|
455
455
|
requestType: "json",
|
|
456
456
|
body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -511,7 +511,7 @@ class VellumClient {
|
|
|
511
511
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
512
512
|
.predict, "v1/generate-stream"),
|
|
513
513
|
method: "POST",
|
|
514
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
514
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
515
515
|
contentType: "application/json",
|
|
516
516
|
requestType: "json",
|
|
517
517
|
body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -592,7 +592,7 @@ class VellumClient {
|
|
|
592
592
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
593
593
|
.predict, "v1/search"),
|
|
594
594
|
method: "POST",
|
|
595
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
595
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
596
596
|
contentType: "application/json",
|
|
597
597
|
requestType: "json",
|
|
598
598
|
body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -660,7 +660,7 @@ class VellumClient {
|
|
|
660
660
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
661
661
|
.predict, "v1/submit-completion-actuals"),
|
|
662
662
|
method: "POST",
|
|
663
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
663
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
664
664
|
contentType: "application/json",
|
|
665
665
|
requestType: "json",
|
|
666
666
|
body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -723,7 +723,7 @@ class VellumClient {
|
|
|
723
723
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
724
724
|
.predict, "v1/submit-workflow-execution-actuals"),
|
|
725
725
|
method: "POST",
|
|
726
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
726
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
727
727
|
contentType: "application/json",
|
|
728
728
|
requestType: "json",
|
|
729
729
|
body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -59,7 +59,7 @@ class AdHoc {
|
|
|
59
59
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
60
60
|
.default, "v1/ad-hoc/execute-prompt-stream"),
|
|
61
61
|
method: "POST",
|
|
62
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
62
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
63
63
|
contentType: "application/json",
|
|
64
64
|
requestType: "json",
|
|
65
65
|
body: serializers.AdHocExecutePromptStream.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -75,7 +75,7 @@ class ContainerImages {
|
|
|
75
75
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
76
76
|
.default, "v1/container-images"),
|
|
77
77
|
method: "GET",
|
|
78
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
78
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
queryParameters: _queryParams,
|
|
81
81
|
requestType: "json",
|
|
@@ -128,7 +128,7 @@ class ContainerImages {
|
|
|
128
128
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
129
129
|
.default, `v1/container-images/${encodeURIComponent(id)}`),
|
|
130
130
|
method: "GET",
|
|
131
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
131
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
132
132
|
contentType: "application/json",
|
|
133
133
|
requestType: "json",
|
|
134
134
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -179,7 +179,7 @@ class ContainerImages {
|
|
|
179
179
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
180
180
|
.default, "v1/container-images/docker-service-token"),
|
|
181
181
|
method: "GET",
|
|
182
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
182
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
183
183
|
contentType: "application/json",
|
|
184
184
|
requestType: "json",
|
|
185
185
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -235,7 +235,7 @@ class ContainerImages {
|
|
|
235
235
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
236
236
|
.default, "v1/container-images/push"),
|
|
237
237
|
method: "POST",
|
|
238
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
238
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
239
239
|
contentType: "application/json",
|
|
240
240
|
requestType: "json",
|
|
241
241
|
body: serializers.PushContainerImageRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -79,7 +79,7 @@ class Deployments {
|
|
|
79
79
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
80
80
|
.default, "v1/deployments"),
|
|
81
81
|
method: "GET",
|
|
82
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
82
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
83
83
|
contentType: "application/json",
|
|
84
84
|
queryParameters: _queryParams,
|
|
85
85
|
requestType: "json",
|
|
@@ -132,7 +132,7 @@ class Deployments {
|
|
|
132
132
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
133
133
|
.default, `v1/deployments/${encodeURIComponent(id)}`),
|
|
134
134
|
method: "GET",
|
|
135
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
135
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "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)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
|
|
187
187
|
method: "GET",
|
|
188
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
188
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "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,
|
|
@@ -252,7 +252,7 @@ class Deployments {
|
|
|
252
252
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
253
253
|
.default, `v1/deployments/${encodeURIComponent(id)}/release-tags`),
|
|
254
254
|
method: "GET",
|
|
255
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
255
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
256
256
|
contentType: "application/json",
|
|
257
257
|
queryParameters: _queryParams,
|
|
258
258
|
requestType: "json",
|
|
@@ -306,7 +306,7 @@ class Deployments {
|
|
|
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
|
.default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
308
308
|
method: "GET",
|
|
309
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
309
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "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
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -360,7 +360,7 @@ class Deployments {
|
|
|
360
360
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
361
361
|
.default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
362
362
|
method: "PATCH",
|
|
363
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
363
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
364
364
|
contentType: "application/json",
|
|
365
365
|
requestType: "json",
|
|
366
366
|
body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -435,7 +435,7 @@ class Deployments {
|
|
|
435
435
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
436
436
|
.default, "v1/deployments/provider-payload"),
|
|
437
437
|
method: "POST",
|
|
438
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "
|
|
438
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.1", "User-Agent": "vellum-ai/0.11.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
439
439
|
contentType: "application/json",
|
|
440
440
|
requestType: "json",
|
|
441
441
|
body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|