vellum-ai 0.6.2 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +7 -9
- package/Client.js +26 -28
- package/api/resources/deployments/client/Client.d.ts +0 -1
- package/api/resources/deployments/client/Client.js +5 -49
- package/api/resources/deployments/client/requests/index.d.ts +0 -1
- package/api/resources/documentIndexes/client/Client.js +6 -6
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +1 -1
- package/api/resources/index.d.ts +2 -2
- package/api/resources/index.js +3 -3
- package/api/resources/sandboxes/client/Client.d.ts +1 -0
- package/api/resources/sandboxes/client/Client.js +46 -2
- package/api/resources/sandboxes/client/requests/index.d.ts +1 -0
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.d.ts +4 -0
- package/api/resources/testSuites/client/Client.js +57 -3
- package/api/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +3 -0
- package/api/resources/workflowDeployments/client/Client.js +4 -4
- package/{dist/api/resources/promptVersions → api/resources/workflowSandboxes}/client/Client.d.ts +5 -5
- package/{dist/api/resources/promptVersions → api/resources/workflowSandboxes}/client/Client.js +8 -8
- package/api/resources/workflowSandboxes/client/requests/index.d.ts +1 -0
- package/api/types/BulkCreateTestSuiteTestCaseDataRequest.d.ts +14 -0
- package/api/types/BulkReplaceTestSuiteTestCaseDataRequest.d.ts +16 -0
- package/api/types/CreateEnum.d.ts +4 -0
- package/api/types/CreateEnum.js +5 -0
- package/api/types/CreatedEnum.d.ts +4 -0
- package/api/types/CreatedEnum.js +5 -0
- package/api/types/DeleteEnum.d.ts +4 -0
- package/api/types/DeleteEnum.js +5 -0
- package/api/types/DeletedEnum.d.ts +4 -0
- package/api/types/DeletedEnum.js +5 -0
- package/api/types/ReplaceEnum.d.ts +4 -0
- package/api/types/ReplaceEnum.js +5 -0
- package/api/types/ReplacedEnum.d.ts +4 -0
- package/api/types/ReplacedEnum.js +5 -0
- package/api/types/TestSuiteTestCaseBulkOperationRequest.d.ts +16 -0
- package/api/types/TestSuiteTestCaseBulkOperationRequest.js +5 -0
- package/api/types/TestSuiteTestCaseBulkResult.d.ts +19 -0
- package/api/types/TestSuiteTestCaseBulkResult.js +5 -0
- package/api/types/TestSuiteTestCaseCreateBulkOperationRequest.d.ts +12 -0
- package/api/types/TestSuiteTestCaseCreateBulkOperationRequest.js +5 -0
- package/api/types/TestSuiteTestCaseCreatedBulkResult.d.ts +11 -0
- package/api/types/TestSuiteTestCaseCreatedBulkResult.js +5 -0
- package/api/types/TestSuiteTestCaseCreatedBulkResultData.d.ts +9 -0
- package/api/types/TestSuiteTestCaseCreatedBulkResultData.js +5 -0
- package/api/types/TestSuiteTestCaseDeleteBulkOperationDataRequest.d.ts +6 -0
- package/api/types/TestSuiteTestCaseDeleteBulkOperationDataRequest.js +5 -0
- package/api/types/TestSuiteTestCaseDeleteBulkOperationRequest.d.ts +13 -0
- package/api/types/TestSuiteTestCaseDeleteBulkOperationRequest.js +5 -0
- package/api/types/TestSuiteTestCaseDeletedBulkResult.d.ts +12 -0
- package/api/types/TestSuiteTestCaseDeletedBulkResult.js +5 -0
- package/api/types/TestSuiteTestCaseDeletedBulkResultData.d.ts +9 -0
- package/api/types/TestSuiteTestCaseDeletedBulkResultData.js +5 -0
- package/api/types/TestSuiteTestCaseRejectedBulkResult.d.ts +12 -0
- package/api/types/TestSuiteTestCaseRejectedBulkResult.js +5 -0
- package/api/types/TestSuiteTestCaseReplaceBulkOperationRequest.d.ts +12 -0
- package/api/types/TestSuiteTestCaseReplaceBulkOperationRequest.js +5 -0
- package/api/types/TestSuiteTestCaseReplacedBulkResult.d.ts +12 -0
- package/api/types/TestSuiteTestCaseReplacedBulkResult.js +5 -0
- package/api/types/TestSuiteTestCaseReplacedBulkResultData.d.ts +9 -0
- package/api/types/TestSuiteTestCaseReplacedBulkResultData.js +5 -0
- package/api/types/index.d.ts +21 -0
- package/api/types/index.js +21 -0
- package/dist/Client.d.ts +7 -9
- package/dist/Client.js +26 -28
- package/dist/api/resources/deployments/client/Client.d.ts +0 -1
- package/dist/api/resources/deployments/client/Client.js +5 -49
- package/dist/api/resources/deployments/client/requests/index.d.ts +0 -1
- package/dist/api/resources/documentIndexes/client/Client.js +6 -6
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +2 -2
- package/dist/api/resources/index.js +3 -3
- package/dist/api/resources/sandboxes/client/Client.d.ts +1 -0
- package/dist/api/resources/sandboxes/client/Client.js +46 -2
- package/dist/api/resources/sandboxes/client/requests/DeploySandboxPromptRequest.js +5 -0
- package/dist/api/resources/sandboxes/client/requests/index.d.ts +1 -0
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.d.ts +4 -0
- package/dist/api/resources/testSuites/client/Client.js +57 -3
- package/dist/api/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +3 -0
- package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
- package/{api/resources/promptVersions → dist/api/resources/workflowSandboxes}/client/Client.d.ts +5 -5
- package/{api/resources/promptVersions → dist/api/resources/workflowSandboxes}/client/Client.js +8 -8
- package/dist/api/resources/workflowSandboxes/client/requests/DeploySandboxWorkflowRequest.js +5 -0
- package/dist/api/resources/workflowSandboxes/client/requests/index.d.ts +1 -0
- package/dist/api/types/BulkCreateTestSuiteTestCaseDataRequest.d.ts +14 -0
- package/dist/api/types/BulkCreateTestSuiteTestCaseDataRequest.js +5 -0
- package/dist/api/types/BulkReplaceTestSuiteTestCaseDataRequest.d.ts +16 -0
- package/dist/api/types/BulkReplaceTestSuiteTestCaseDataRequest.js +5 -0
- package/dist/api/types/CreateEnum.d.ts +4 -0
- package/dist/api/types/CreateEnum.js +5 -0
- package/dist/api/types/CreatedEnum.d.ts +4 -0
- package/dist/api/types/CreatedEnum.js +5 -0
- package/dist/api/types/DeleteEnum.d.ts +4 -0
- package/dist/api/types/DeleteEnum.js +5 -0
- package/dist/api/types/DeletedEnum.d.ts +4 -0
- package/dist/api/types/DeletedEnum.js +5 -0
- package/dist/api/types/ReplaceEnum.d.ts +4 -0
- package/dist/api/types/ReplaceEnum.js +5 -0
- package/dist/api/types/ReplacedEnum.d.ts +4 -0
- package/dist/api/types/ReplacedEnum.js +5 -0
- package/dist/api/types/TestSuiteTestCaseBulkOperationRequest.d.ts +16 -0
- package/dist/api/types/TestSuiteTestCaseBulkOperationRequest.js +5 -0
- package/dist/api/types/TestSuiteTestCaseBulkResult.d.ts +19 -0
- package/dist/api/types/TestSuiteTestCaseBulkResult.js +5 -0
- package/dist/api/types/TestSuiteTestCaseCreateBulkOperationRequest.d.ts +12 -0
- package/dist/api/types/TestSuiteTestCaseCreateBulkOperationRequest.js +5 -0
- package/dist/api/types/TestSuiteTestCaseCreatedBulkResult.d.ts +11 -0
- package/dist/api/types/TestSuiteTestCaseCreatedBulkResult.js +5 -0
- package/dist/api/types/TestSuiteTestCaseCreatedBulkResultData.d.ts +9 -0
- package/dist/api/types/TestSuiteTestCaseCreatedBulkResultData.js +5 -0
- package/dist/api/types/TestSuiteTestCaseDeleteBulkOperationDataRequest.d.ts +6 -0
- package/dist/api/types/TestSuiteTestCaseDeleteBulkOperationDataRequest.js +5 -0
- package/dist/api/types/TestSuiteTestCaseDeleteBulkOperationRequest.d.ts +13 -0
- package/dist/api/types/TestSuiteTestCaseDeleteBulkOperationRequest.js +5 -0
- package/dist/api/types/TestSuiteTestCaseDeletedBulkResult.d.ts +12 -0
- package/dist/api/types/TestSuiteTestCaseDeletedBulkResult.js +5 -0
- package/dist/api/types/TestSuiteTestCaseDeletedBulkResultData.d.ts +9 -0
- package/dist/api/types/TestSuiteTestCaseDeletedBulkResultData.js +5 -0
- package/dist/api/types/TestSuiteTestCaseRejectedBulkResult.d.ts +12 -0
- package/dist/api/types/TestSuiteTestCaseRejectedBulkResult.js +5 -0
- package/dist/api/types/TestSuiteTestCaseReplaceBulkOperationRequest.d.ts +12 -0
- package/dist/api/types/TestSuiteTestCaseReplaceBulkOperationRequest.js +5 -0
- package/dist/api/types/TestSuiteTestCaseReplacedBulkResult.d.ts +12 -0
- package/dist/api/types/TestSuiteTestCaseReplacedBulkResult.js +5 -0
- package/dist/api/types/TestSuiteTestCaseReplacedBulkResultData.d.ts +9 -0
- package/dist/api/types/TestSuiteTestCaseReplacedBulkResultData.js +5 -0
- package/dist/api/types/index.d.ts +21 -0
- package/dist/api/types/index.js +21 -0
- package/dist/serialization/resources/deployments/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/deployments/client/requests/index.js +1 -3
- package/dist/serialization/resources/index.d.ts +3 -3
- package/dist/serialization/resources/index.js +4 -4
- package/dist/serialization/resources/sandboxes/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/sandboxes/client/requests/index.js +3 -1
- package/dist/serialization/resources/testSuites/client/index.d.ts +1 -0
- package/dist/serialization/resources/testSuites/client/index.js +14 -0
- package/dist/serialization/resources/testSuites/client/testSuiteTestCasesBulk.d.ts +16 -0
- package/dist/serialization/resources/testSuites/client/testSuiteTestCasesBulk.js +34 -0
- package/dist/serialization/resources/workflowSandboxes/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/workflowSandboxes/client/requests/index.js +5 -0
- package/dist/serialization/types/BulkCreateTestSuiteTestCaseDataRequest.d.ts +15 -0
- package/dist/serialization/types/BulkCreateTestSuiteTestCaseDataRequest.js +36 -0
- package/dist/serialization/types/BulkReplaceTestSuiteTestCaseDataRequest.d.ts +16 -0
- package/dist/serialization/types/BulkReplaceTestSuiteTestCaseDataRequest.js +37 -0
- package/dist/serialization/types/CreateEnum.d.ts +10 -0
- package/dist/serialization/types/CreateEnum.js +31 -0
- package/dist/serialization/types/CreatedEnum.d.ts +10 -0
- package/dist/serialization/types/CreatedEnum.js +31 -0
- package/dist/serialization/types/DeleteEnum.d.ts +10 -0
- package/dist/serialization/types/DeleteEnum.js +31 -0
- package/dist/serialization/types/DeletedEnum.d.ts +10 -0
- package/dist/serialization/types/DeletedEnum.js +31 -0
- package/dist/serialization/types/ReplaceEnum.d.ts +10 -0
- package/dist/serialization/types/ReplaceEnum.js +31 -0
- package/dist/serialization/types/ReplacedEnum.d.ts +10 -0
- package/dist/serialization/types/ReplacedEnum.js +31 -0
- package/dist/serialization/types/TestSuiteTestCaseBulkOperationRequest.d.ts +22 -0
- package/dist/serialization/types/TestSuiteTestCaseBulkOperationRequest.js +43 -0
- package/dist/serialization/types/TestSuiteTestCaseBulkResult.d.ts +26 -0
- package/dist/serialization/types/TestSuiteTestCaseBulkResult.js +45 -0
- package/dist/serialization/types/TestSuiteTestCaseCreateBulkOperationRequest.d.ts +14 -0
- package/dist/serialization/types/TestSuiteTestCaseCreateBulkOperationRequest.js +35 -0
- package/dist/serialization/types/TestSuiteTestCaseCreatedBulkResult.d.ts +14 -0
- package/dist/serialization/types/TestSuiteTestCaseCreatedBulkResult.js +35 -0
- package/dist/serialization/types/TestSuiteTestCaseCreatedBulkResultData.d.ts +12 -0
- package/dist/serialization/types/TestSuiteTestCaseCreatedBulkResultData.js +33 -0
- package/dist/serialization/types/TestSuiteTestCaseDeleteBulkOperationDataRequest.d.ts +12 -0
- package/dist/serialization/types/TestSuiteTestCaseDeleteBulkOperationDataRequest.js +33 -0
- package/dist/serialization/types/TestSuiteTestCaseDeleteBulkOperationRequest.d.ts +14 -0
- package/dist/serialization/types/TestSuiteTestCaseDeleteBulkOperationRequest.js +35 -0
- package/dist/serialization/types/TestSuiteTestCaseDeletedBulkResult.d.ts +14 -0
- package/dist/serialization/types/TestSuiteTestCaseDeletedBulkResult.js +35 -0
- package/dist/serialization/types/TestSuiteTestCaseDeletedBulkResultData.d.ts +12 -0
- package/dist/serialization/types/TestSuiteTestCaseDeletedBulkResultData.js +33 -0
- package/dist/serialization/types/TestSuiteTestCaseRejectedBulkResult.d.ts +13 -0
- package/dist/serialization/types/TestSuiteTestCaseRejectedBulkResult.js +34 -0
- package/dist/serialization/types/TestSuiteTestCaseReplaceBulkOperationRequest.d.ts +14 -0
- package/dist/serialization/types/TestSuiteTestCaseReplaceBulkOperationRequest.js +35 -0
- package/dist/serialization/types/TestSuiteTestCaseReplacedBulkResult.d.ts +14 -0
- package/dist/serialization/types/TestSuiteTestCaseReplacedBulkResult.js +35 -0
- package/dist/serialization/types/TestSuiteTestCaseReplacedBulkResultData.d.ts +12 -0
- package/dist/serialization/types/TestSuiteTestCaseReplacedBulkResultData.js +33 -0
- package/dist/serialization/types/index.d.ts +21 -0
- package/dist/serialization/types/index.js +21 -0
- package/package.json +1 -1
- package/serialization/resources/deployments/client/requests/index.d.ts +0 -1
- package/serialization/resources/deployments/client/requests/index.js +1 -3
- package/serialization/resources/index.d.ts +3 -3
- package/serialization/resources/index.js +4 -4
- package/serialization/resources/sandboxes/client/requests/index.d.ts +1 -0
- package/serialization/resources/sandboxes/client/requests/index.js +3 -1
- package/serialization/resources/testSuites/client/index.d.ts +1 -0
- package/serialization/resources/testSuites/client/index.js +14 -0
- package/serialization/resources/testSuites/client/testSuiteTestCasesBulk.d.ts +16 -0
- package/serialization/resources/testSuites/client/testSuiteTestCasesBulk.js +34 -0
- package/serialization/resources/workflowSandboxes/client/requests/index.d.ts +1 -0
- package/serialization/resources/workflowSandboxes/client/requests/index.js +5 -0
- package/serialization/types/BulkCreateTestSuiteTestCaseDataRequest.d.ts +15 -0
- package/serialization/types/BulkCreateTestSuiteTestCaseDataRequest.js +36 -0
- package/serialization/types/BulkReplaceTestSuiteTestCaseDataRequest.d.ts +16 -0
- package/serialization/types/BulkReplaceTestSuiteTestCaseDataRequest.js +37 -0
- package/serialization/types/CreateEnum.d.ts +10 -0
- package/serialization/types/CreateEnum.js +31 -0
- package/serialization/types/CreatedEnum.d.ts +10 -0
- package/serialization/types/CreatedEnum.js +31 -0
- package/serialization/types/DeleteEnum.d.ts +10 -0
- package/serialization/types/DeleteEnum.js +31 -0
- package/serialization/types/DeletedEnum.d.ts +10 -0
- package/serialization/types/DeletedEnum.js +31 -0
- package/serialization/types/ReplaceEnum.d.ts +10 -0
- package/serialization/types/ReplaceEnum.js +31 -0
- package/serialization/types/ReplacedEnum.d.ts +10 -0
- package/serialization/types/ReplacedEnum.js +31 -0
- package/serialization/types/TestSuiteTestCaseBulkOperationRequest.d.ts +22 -0
- package/serialization/types/TestSuiteTestCaseBulkOperationRequest.js +43 -0
- package/serialization/types/TestSuiteTestCaseBulkResult.d.ts +26 -0
- package/serialization/types/TestSuiteTestCaseBulkResult.js +45 -0
- package/serialization/types/TestSuiteTestCaseCreateBulkOperationRequest.d.ts +14 -0
- package/serialization/types/TestSuiteTestCaseCreateBulkOperationRequest.js +35 -0
- package/serialization/types/TestSuiteTestCaseCreatedBulkResult.d.ts +14 -0
- package/serialization/types/TestSuiteTestCaseCreatedBulkResult.js +35 -0
- package/serialization/types/TestSuiteTestCaseCreatedBulkResultData.d.ts +12 -0
- package/serialization/types/TestSuiteTestCaseCreatedBulkResultData.js +33 -0
- package/serialization/types/TestSuiteTestCaseDeleteBulkOperationDataRequest.d.ts +12 -0
- package/serialization/types/TestSuiteTestCaseDeleteBulkOperationDataRequest.js +33 -0
- package/serialization/types/TestSuiteTestCaseDeleteBulkOperationRequest.d.ts +14 -0
- package/serialization/types/TestSuiteTestCaseDeleteBulkOperationRequest.js +35 -0
- package/serialization/types/TestSuiteTestCaseDeletedBulkResult.d.ts +14 -0
- package/serialization/types/TestSuiteTestCaseDeletedBulkResult.js +35 -0
- package/serialization/types/TestSuiteTestCaseDeletedBulkResultData.d.ts +12 -0
- package/serialization/types/TestSuiteTestCaseDeletedBulkResultData.js +33 -0
- package/serialization/types/TestSuiteTestCaseRejectedBulkResult.d.ts +13 -0
- package/serialization/types/TestSuiteTestCaseRejectedBulkResult.js +34 -0
- package/serialization/types/TestSuiteTestCaseReplaceBulkOperationRequest.d.ts +14 -0
- package/serialization/types/TestSuiteTestCaseReplaceBulkOperationRequest.js +35 -0
- package/serialization/types/TestSuiteTestCaseReplacedBulkResult.d.ts +14 -0
- package/serialization/types/TestSuiteTestCaseReplacedBulkResult.js +35 -0
- package/serialization/types/TestSuiteTestCaseReplacedBulkResultData.d.ts +12 -0
- package/serialization/types/TestSuiteTestCaseReplacedBulkResultData.js +33 -0
- package/serialization/types/index.d.ts +21 -0
- package/serialization/types/index.js +21 -0
- package/api/resources/promptVersions/client/requests/index.d.ts +0 -1
- package/dist/api/resources/promptVersions/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/promptVersions/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/promptVersions/client/requests/index.js +0 -5
- package/serialization/resources/promptVersions/client/requests/index.d.ts +0 -1
- package/serialization/resources/promptVersions/client/requests/index.js +0 -5
- /package/api/resources/{promptVersions → sandboxes}/client/requests/DeploySandboxPromptRequest.d.ts +0 -0
- /package/api/resources/{promptVersions → sandboxes}/client/requests/DeploySandboxPromptRequest.js +0 -0
- /package/api/resources/{promptVersions → workflowSandboxes}/client/index.d.ts +0 -0
- /package/api/resources/{promptVersions → workflowSandboxes}/client/index.js +0 -0
- /package/api/resources/{deployments → workflowSandboxes}/client/requests/DeploySandboxWorkflowRequest.d.ts +0 -0
- /package/api/resources/{deployments → workflowSandboxes}/client/requests/DeploySandboxWorkflowRequest.js +0 -0
- /package/api/resources/{promptVersions → workflowSandboxes}/client/requests/index.js +0 -0
- /package/api/resources/{promptVersions → workflowSandboxes}/index.d.ts +0 -0
- /package/api/resources/{promptVersions → workflowSandboxes}/index.js +0 -0
- /package/{dist/api/resources/deployments/client/requests/DeploySandboxWorkflowRequest.js → api/types/BulkCreateTestSuiteTestCaseDataRequest.js} +0 -0
- /package/{dist/api/resources/promptVersions/client/requests/DeploySandboxPromptRequest.js → api/types/BulkReplaceTestSuiteTestCaseDataRequest.js} +0 -0
- /package/dist/api/resources/{promptVersions → sandboxes}/client/requests/DeploySandboxPromptRequest.d.ts +0 -0
- /package/dist/api/resources/{promptVersions → workflowSandboxes}/client/index.d.ts +0 -0
- /package/dist/api/resources/{promptVersions → workflowSandboxes}/client/index.js +0 -0
- /package/dist/api/resources/{deployments → workflowSandboxes}/client/requests/DeploySandboxWorkflowRequest.d.ts +0 -0
- /package/dist/api/resources/{promptVersions → workflowSandboxes}/client/requests/index.js +0 -0
- /package/dist/api/resources/{promptVersions → workflowSandboxes}/index.d.ts +0 -0
- /package/dist/api/resources/{promptVersions → workflowSandboxes}/index.js +0 -0
- /package/dist/serialization/resources/{promptVersions → sandboxes}/client/requests/DeploySandboxPromptRequest.d.ts +0 -0
- /package/dist/serialization/resources/{promptVersions → sandboxes}/client/requests/DeploySandboxPromptRequest.js +0 -0
- /package/dist/serialization/resources/{promptVersions → workflowSandboxes}/client/index.d.ts +0 -0
- /package/dist/serialization/resources/{promptVersions → workflowSandboxes}/client/index.js +0 -0
- /package/dist/serialization/resources/{deployments → workflowSandboxes}/client/requests/DeploySandboxWorkflowRequest.d.ts +0 -0
- /package/dist/serialization/resources/{deployments → workflowSandboxes}/client/requests/DeploySandboxWorkflowRequest.js +0 -0
- /package/dist/serialization/resources/{promptVersions → workflowSandboxes}/index.d.ts +0 -0
- /package/dist/serialization/resources/{promptVersions → workflowSandboxes}/index.js +0 -0
- /package/serialization/resources/{promptVersions → sandboxes}/client/requests/DeploySandboxPromptRequest.d.ts +0 -0
- /package/serialization/resources/{promptVersions → sandboxes}/client/requests/DeploySandboxPromptRequest.js +0 -0
- /package/serialization/resources/{promptVersions → workflowSandboxes}/client/index.d.ts +0 -0
- /package/serialization/resources/{promptVersions → workflowSandboxes}/client/index.js +0 -0
- /package/serialization/resources/{deployments → workflowSandboxes}/client/requests/DeploySandboxWorkflowRequest.d.ts +0 -0
- /package/serialization/resources/{deployments → workflowSandboxes}/client/requests/DeploySandboxWorkflowRequest.js +0 -0
- /package/serialization/resources/{promptVersions → workflowSandboxes}/index.d.ts +0 -0
- /package/serialization/resources/{promptVersions → workflowSandboxes}/index.js +0 -0
|
@@ -58,7 +58,7 @@ class TestSuiteRuns {
|
|
|
58
58
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
59
59
|
.default, "v1/test-suite-runs"),
|
|
60
60
|
method: "POST",
|
|
61
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
61
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
62
62
|
contentType: "application/json",
|
|
63
63
|
body: yield serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
64
64
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -106,7 +106,7 @@ class TestSuiteRuns {
|
|
|
106
106
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
107
107
|
.default, `v1/test-suite-runs/${id}`),
|
|
108
108
|
method: "GET",
|
|
109
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
109
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
110
110
|
contentType: "application/json",
|
|
111
111
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
112
112
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -163,7 +163,7 @@ class TestSuiteRuns {
|
|
|
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
|
.default, `v1/test-suite-runs/${id}/executions`),
|
|
165
165
|
method: "GET",
|
|
166
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
166
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
queryParameters: _queryParams,
|
|
169
169
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -40,6 +40,10 @@ export declare class TestSuites {
|
|
|
40
40
|
* })
|
|
41
41
|
*/
|
|
42
42
|
upsertTestSuiteTestCase(id: string, request: Vellum.UpsertTestSuiteTestCaseRequest, requestOptions?: TestSuites.RequestOptions): Promise<Vellum.TestSuiteTestCase>;
|
|
43
|
+
/**
|
|
44
|
+
* Created, replace, and delete Test Cases within the specified Test Suite in bulk
|
|
45
|
+
*/
|
|
46
|
+
testSuiteTestCasesBulk(id: string, request: Vellum.TestSuiteTestCaseBulkOperationRequest[], requestOptions?: TestSuites.RequestOptions): Promise<core.Stream<Vellum.TestSuiteTestCaseBulkResult[]>>;
|
|
43
47
|
/**
|
|
44
48
|
* Deletes an existing test case for a test suite, keying off of the test case id.
|
|
45
49
|
*
|
|
@@ -69,7 +69,7 @@ class TestSuites {
|
|
|
69
69
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
70
70
|
.default, `v1/test-suites/${id}/test-cases`),
|
|
71
71
|
method: "GET",
|
|
72
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
72
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
queryParameters: _queryParams,
|
|
75
75
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -126,7 +126,7 @@ class TestSuites {
|
|
|
126
126
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
127
127
|
.default, `v1/test-suites/${id}/test-cases`),
|
|
128
128
|
method: "POST",
|
|
129
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
129
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
130
130
|
contentType: "application/json",
|
|
131
131
|
body: yield serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, {
|
|
132
132
|
unrecognizedObjectKeys: "strip",
|
|
@@ -163,6 +163,60 @@ class TestSuites {
|
|
|
163
163
|
}
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* Created, replace, and delete Test Cases within the specified Test Suite in bulk
|
|
168
|
+
*/
|
|
169
|
+
testSuiteTestCasesBulk(id, request, requestOptions) {
|
|
170
|
+
var _a;
|
|
171
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
172
|
+
const _response = yield core.fetcher({
|
|
173
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
174
|
+
.default, `v1/test-suites/${id}/test-cases-bulk`),
|
|
175
|
+
method: "POST",
|
|
176
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
177
|
+
contentType: "application/json",
|
|
178
|
+
body: yield serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
|
|
179
|
+
unrecognizedObjectKeys: "strip",
|
|
180
|
+
}),
|
|
181
|
+
responseType: "streaming",
|
|
182
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
183
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
184
|
+
});
|
|
185
|
+
if (_response.ok) {
|
|
186
|
+
return new core.Stream({
|
|
187
|
+
stream: _response.body,
|
|
188
|
+
terminator: "\n",
|
|
189
|
+
parse: (data) => __awaiter(this, void 0, void 0, function* () {
|
|
190
|
+
return yield serializers.testSuites.testSuiteTestCasesBulk.StreamData.parseOrThrow(data, {
|
|
191
|
+
unrecognizedObjectKeys: "passthrough",
|
|
192
|
+
allowUnrecognizedUnionMembers: true,
|
|
193
|
+
allowUnrecognizedEnumValues: true,
|
|
194
|
+
breadcrumbsPrefix: ["response"],
|
|
195
|
+
});
|
|
196
|
+
}),
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
if (_response.error.reason === "status-code") {
|
|
200
|
+
throw new errors.VellumError({
|
|
201
|
+
statusCode: _response.error.statusCode,
|
|
202
|
+
body: _response.error.body,
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
switch (_response.error.reason) {
|
|
206
|
+
case "non-json":
|
|
207
|
+
throw new errors.VellumError({
|
|
208
|
+
statusCode: _response.error.statusCode,
|
|
209
|
+
body: _response.error.rawBody,
|
|
210
|
+
});
|
|
211
|
+
case "timeout":
|
|
212
|
+
throw new errors.VellumTimeoutError();
|
|
213
|
+
case "unknown":
|
|
214
|
+
throw new errors.VellumError({
|
|
215
|
+
message: _response.error.errorMessage,
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
});
|
|
219
|
+
}
|
|
166
220
|
/**
|
|
167
221
|
* Deletes an existing test case for a test suite, keying off of the test case id.
|
|
168
222
|
*
|
|
@@ -176,7 +230,7 @@ class TestSuites {
|
|
|
176
230
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
177
231
|
.default, `v1/test-suites/${id}/test-cases/${testCaseId}`),
|
|
178
232
|
method: "DELETE",
|
|
179
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
233
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
180
234
|
contentType: "application/json",
|
|
181
235
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
182
236
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -10,8 +10,11 @@ import * as Vellum from "../../../..";
|
|
|
10
10
|
* }
|
|
11
11
|
*/
|
|
12
12
|
export interface UpsertTestSuiteTestCaseRequest {
|
|
13
|
+
/** The ID of the Test Case to upsert. If specified and a match is found, the existing Test Case will be updated. If specified and no match is found, a Test Case will be created with the provided ID. If not provided, a new Test Case will be created with an auto-generated ID. */
|
|
13
14
|
upsertTestSuiteTestCaseRequestId?: string;
|
|
14
15
|
label?: string;
|
|
16
|
+
/** Values for each of the Test Case's input variables */
|
|
15
17
|
inputValues: Vellum.NamedTestCaseVariableValueRequest[];
|
|
18
|
+
/** Values for each of the Test Case's evaluation variables */
|
|
16
19
|
evaluationValues: Vellum.NamedTestCaseVariableValueRequest[];
|
|
17
20
|
}
|
|
@@ -69,7 +69,7 @@ class WorkflowDeployments {
|
|
|
69
69
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
70
70
|
.default, "v1/workflow-deployments"),
|
|
71
71
|
method: "GET",
|
|
72
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
72
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
queryParameters: _queryParams,
|
|
75
75
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -117,7 +117,7 @@ class WorkflowDeployments {
|
|
|
117
117
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
118
118
|
.default, `v1/workflow-deployments/${id}`),
|
|
119
119
|
method: "GET",
|
|
120
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
120
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
121
121
|
contentType: "application/json",
|
|
122
122
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
123
123
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -164,7 +164,7 @@ class WorkflowDeployments {
|
|
|
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
|
.default, `v1/workflow-deployments/${id}/release-tags/${name}`),
|
|
166
166
|
method: "GET",
|
|
167
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
167
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
168
168
|
contentType: "application/json",
|
|
169
169
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
170
170
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -211,7 +211,7 @@ class WorkflowDeployments {
|
|
|
211
211
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
212
212
|
.default, `v1/workflow-deployments/${id}/release-tags/${name}`),
|
|
213
213
|
method: "PATCH",
|
|
214
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
214
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
215
215
|
contentType: "application/json",
|
|
216
216
|
body: yield serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
217
217
|
unrecognizedObjectKeys: "strip",
|
package/{dist/api/resources/promptVersions → api/resources/workflowSandboxes}/client/Client.d.ts
RENAMED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as environments from "../../../../environments";
|
|
5
5
|
import * as core from "../../../../core";
|
|
6
6
|
import * as Vellum from "../../..";
|
|
7
|
-
export declare namespace
|
|
7
|
+
export declare namespace WorkflowSandboxes {
|
|
8
8
|
interface Options {
|
|
9
9
|
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
10
10
|
apiKey: core.Supplier<string>;
|
|
@@ -14,10 +14,10 @@ export declare namespace PromptVersions {
|
|
|
14
14
|
maxRetries?: number;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
export declare class
|
|
18
|
-
protected readonly _options:
|
|
19
|
-
constructor(_options:
|
|
20
|
-
|
|
17
|
+
export declare class WorkflowSandboxes {
|
|
18
|
+
protected readonly _options: WorkflowSandboxes.Options;
|
|
19
|
+
constructor(_options: WorkflowSandboxes.Options);
|
|
20
|
+
deployWorkflow(id: string, workflowId: string, request?: Vellum.DeploySandboxWorkflowRequest, requestOptions?: WorkflowSandboxes.RequestOptions): Promise<Vellum.WorkflowDeploymentRead>;
|
|
21
21
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
22
22
|
X_API_KEY: string;
|
|
23
23
|
}>;
|
package/{dist/api/resources/promptVersions → api/resources/workflowSandboxes}/client/Client.js
RENAMED
|
@@ -38,33 +38,33 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
38
38
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
39
39
|
};
|
|
40
40
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
-
exports.
|
|
41
|
+
exports.WorkflowSandboxes = void 0;
|
|
42
42
|
const environments = __importStar(require("../../../../environments"));
|
|
43
43
|
const core = __importStar(require("../../../../core"));
|
|
44
44
|
const serializers = __importStar(require("../../../../serialization"));
|
|
45
45
|
const url_join_1 = __importDefault(require("url-join"));
|
|
46
46
|
const errors = __importStar(require("../../../../errors"));
|
|
47
|
-
class
|
|
47
|
+
class WorkflowSandboxes {
|
|
48
48
|
constructor(_options) {
|
|
49
49
|
this._options = _options;
|
|
50
50
|
}
|
|
51
|
-
|
|
51
|
+
deployWorkflow(id, workflowId, request = {}, requestOptions) {
|
|
52
52
|
var _a;
|
|
53
53
|
return __awaiter(this, void 0, void 0, function* () {
|
|
54
54
|
const _response = yield core.fetcher({
|
|
55
55
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
56
|
-
.default, `v1/sandboxes/${id}/
|
|
56
|
+
.default, `v1/workflow-sandboxes/${id}/workflows/${workflowId}/deploy`),
|
|
57
57
|
method: "POST",
|
|
58
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
58
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
59
59
|
contentType: "application/json",
|
|
60
|
-
body: yield serializers.
|
|
60
|
+
body: yield serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, {
|
|
61
61
|
unrecognizedObjectKeys: "strip",
|
|
62
62
|
}),
|
|
63
63
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
64
64
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
65
65
|
});
|
|
66
66
|
if (_response.ok) {
|
|
67
|
-
return yield serializers.
|
|
67
|
+
return yield serializers.WorkflowDeploymentRead.parseOrThrow(_response.body, {
|
|
68
68
|
unrecognizedObjectKeys: "passthrough",
|
|
69
69
|
allowUnrecognizedUnionMembers: true,
|
|
70
70
|
allowUnrecognizedEnumValues: true,
|
|
@@ -99,4 +99,4 @@ class PromptVersions {
|
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
exports.
|
|
102
|
+
exports.WorkflowSandboxes = WorkflowSandboxes;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DeploySandboxWorkflowRequest } from "./DeploySandboxWorkflowRequest";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
/**
|
|
6
|
+
* Information about the Test Case to create
|
|
7
|
+
*/
|
|
8
|
+
export interface BulkCreateTestSuiteTestCaseDataRequest {
|
|
9
|
+
label?: string;
|
|
10
|
+
/** Values for each of the Test Case's input variables */
|
|
11
|
+
inputValues: Vellum.NamedTestCaseVariableValueRequest[];
|
|
12
|
+
/** Values for each of the Test Case's evaluation variables */
|
|
13
|
+
evaluationValues: Vellum.NamedTestCaseVariableValueRequest[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
/**
|
|
6
|
+
* Information about the Test Case to replace
|
|
7
|
+
*/
|
|
8
|
+
export interface BulkReplaceTestSuiteTestCaseDataRequest {
|
|
9
|
+
/** The ID of the Test Case to replace. */
|
|
10
|
+
id: string;
|
|
11
|
+
label?: string;
|
|
12
|
+
/** Values for each of the Test Case's input variables */
|
|
13
|
+
inputValues: Vellum.NamedTestCaseVariableValueRequest[];
|
|
14
|
+
/** Values for each of the Test Case's evaluation variables */
|
|
15
|
+
evaluationValues: Vellum.NamedTestCaseVariableValueRequest[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
export declare type TestSuiteTestCaseBulkOperationRequest = Vellum.TestSuiteTestCaseBulkOperationRequest.Create | Vellum.TestSuiteTestCaseBulkOperationRequest.Replace | Vellum.TestSuiteTestCaseBulkOperationRequest.Delete;
|
|
6
|
+
export declare namespace TestSuiteTestCaseBulkOperationRequest {
|
|
7
|
+
interface Create extends Vellum.TestSuiteTestCaseCreateBulkOperationRequest {
|
|
8
|
+
type: "CREATE";
|
|
9
|
+
}
|
|
10
|
+
interface Replace extends Vellum.TestSuiteTestCaseReplaceBulkOperationRequest {
|
|
11
|
+
type: "REPLACE";
|
|
12
|
+
}
|
|
13
|
+
interface Delete extends Vellum.TestSuiteTestCaseDeleteBulkOperationRequest {
|
|
14
|
+
type: "DELETE";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
export declare type TestSuiteTestCaseBulkResult = Vellum.TestSuiteTestCaseBulkResult.Created | Vellum.TestSuiteTestCaseBulkResult.Replaced | Vellum.TestSuiteTestCaseBulkResult.Deleted | Vellum.TestSuiteTestCaseBulkResult.Rejected;
|
|
6
|
+
export declare namespace TestSuiteTestCaseBulkResult {
|
|
7
|
+
interface Created extends Vellum.TestSuiteTestCaseCreatedBulkResult {
|
|
8
|
+
type: "CREATED";
|
|
9
|
+
}
|
|
10
|
+
interface Replaced extends Vellum.TestSuiteTestCaseReplacedBulkResult {
|
|
11
|
+
type: "REPLACED";
|
|
12
|
+
}
|
|
13
|
+
interface Deleted extends Vellum.TestSuiteTestCaseDeletedBulkResult {
|
|
14
|
+
type: "DELETED";
|
|
15
|
+
}
|
|
16
|
+
interface Rejected extends Vellum.TestSuiteTestCaseRejectedBulkResult {
|
|
17
|
+
type: "REJECTED";
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
/**
|
|
6
|
+
* A bulk operation that represents the creation of a Test Case.
|
|
7
|
+
*/
|
|
8
|
+
export interface TestSuiteTestCaseCreateBulkOperationRequest {
|
|
9
|
+
/** An ID representing this specific operation. Can later be used to look up information about the operation's success in the response. */
|
|
10
|
+
id: string;
|
|
11
|
+
data: Vellum.BulkCreateTestSuiteTestCaseDataRequest;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
/**
|
|
6
|
+
* The result of a bulk operation that created a Test Case.
|
|
7
|
+
*/
|
|
8
|
+
export interface TestSuiteTestCaseCreatedBulkResult {
|
|
9
|
+
id: string;
|
|
10
|
+
data: Vellum.TestSuiteTestCaseCreatedBulkResultData;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
/**
|
|
6
|
+
* A bulk operation that represents the deletion of a Test Case.
|
|
7
|
+
*/
|
|
8
|
+
export interface TestSuiteTestCaseDeleteBulkOperationRequest {
|
|
9
|
+
/** An ID representing this specific operation. Can later be used to look up information about the operation's success in the response. */
|
|
10
|
+
id: string;
|
|
11
|
+
/** Information about the Test Case to delete */
|
|
12
|
+
data: Vellum.TestSuiteTestCaseDeleteBulkOperationDataRequest;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
/**
|
|
6
|
+
* The result of a bulk operation that deleted a Test Case.
|
|
7
|
+
*/
|
|
8
|
+
export interface TestSuiteTestCaseDeletedBulkResult {
|
|
9
|
+
/** An ID that maps back to one of the initially supplied operations. Can be used to determine the result of a given operation. */
|
|
10
|
+
id: string;
|
|
11
|
+
data: Vellum.TestSuiteTestCaseDeletedBulkResultData;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The result of a bulk operation that failed to operate on a Test Case.
|
|
6
|
+
*/
|
|
7
|
+
export interface TestSuiteTestCaseRejectedBulkResult {
|
|
8
|
+
/** An ID that maps back to one of the initially supplied operations. Can be used to determine the result of a given operation. */
|
|
9
|
+
id: string;
|
|
10
|
+
/** Details about the error that occurred */
|
|
11
|
+
data: Record<string, unknown>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
/**
|
|
6
|
+
* A bulk operation that represents the replacing of a Test Case.
|
|
7
|
+
*/
|
|
8
|
+
export interface TestSuiteTestCaseReplaceBulkOperationRequest {
|
|
9
|
+
/** An ID representing this specific operation. Can later be used to look up information about the operation's success in the response. */
|
|
10
|
+
id: string;
|
|
11
|
+
data: Vellum.BulkReplaceTestSuiteTestCaseDataRequest;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
/**
|
|
6
|
+
* The result of a bulk operation that replaced a Test Case.
|
|
7
|
+
*/
|
|
8
|
+
export interface TestSuiteTestCaseReplacedBulkResult {
|
|
9
|
+
/** An ID that maps back to one of the initially supplied operations. Can be used to determine the result of a given operation. */
|
|
10
|
+
id: string;
|
|
11
|
+
data: Vellum.TestSuiteTestCaseReplacedBulkResultData;
|
|
12
|
+
}
|