vellum-ai 0.6.3 → 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 +4 -6
- package/Client.js +13 -15
- package/api/resources/deployments/client/Client.js +5 -5
- 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/sandboxes/client/Client.js +3 -3
- 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/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/types/BulkCreateTestSuiteTestCaseDataRequest.d.ts +14 -0
- package/api/types/BulkCreateTestSuiteTestCaseDataRequest.js +5 -0
- package/api/types/BulkReplaceTestSuiteTestCaseDataRequest.d.ts +16 -0
- package/api/types/BulkReplaceTestSuiteTestCaseDataRequest.js +5 -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 +4 -6
- package/dist/Client.js +13 -15
- package/dist/api/resources/deployments/client/Client.js +5 -5
- 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/sandboxes/client/Client.js +3 -3
- 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/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- 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/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- 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/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/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- 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/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
|
@@ -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
|
+
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1";
|
|
|
14
14
|
export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request";
|
|
15
15
|
export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1";
|
|
16
16
|
export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request";
|
|
17
|
+
export * from "./BulkCreateTestSuiteTestCaseDataRequest";
|
|
18
|
+
export * from "./BulkReplaceTestSuiteTestCaseDataRequest";
|
|
17
19
|
export * from "./ChatHistoryEnum";
|
|
18
20
|
export * from "./ChatHistoryInputRequest";
|
|
19
21
|
export * from "./ChatMessage";
|
|
@@ -34,6 +36,10 @@ export * from "./CodeExecutionNodeSearchResultsResult";
|
|
|
34
36
|
export * from "./CodeExecutionNodeStringResult";
|
|
35
37
|
export * from "./ConditionalNodeResult";
|
|
36
38
|
export * from "./ConditionalNodeResultData";
|
|
39
|
+
export * from "./CreateEnum";
|
|
40
|
+
export * from "./CreatedEnum";
|
|
41
|
+
export * from "./DeleteEnum";
|
|
42
|
+
export * from "./DeletedEnum";
|
|
37
43
|
export * from "./DeploymentProviderPayloadResponse";
|
|
38
44
|
export * from "./DeploymentRead";
|
|
39
45
|
export * from "./DeploymentReleaseTagDeploymentHistoryItem";
|
|
@@ -202,6 +208,8 @@ export * from "./RejectedExecuteWorkflowWorkflowResultEvent";
|
|
|
202
208
|
export * from "./RejectedPromptExecutionMeta";
|
|
203
209
|
export * from "./RejectedWorkflowNodeResultEvent";
|
|
204
210
|
export * from "./ReleaseTagSource";
|
|
211
|
+
export * from "./ReplaceEnum";
|
|
212
|
+
export * from "./ReplacedEnum";
|
|
205
213
|
export * from "./SandboxScenario";
|
|
206
214
|
export * from "./ScenarioInput";
|
|
207
215
|
export * from "./ScenarioInputChatHistoryVariableValue";
|
|
@@ -311,6 +319,19 @@ export * from "./TestSuiteRunWorkflowReleaseTagExecConfigDataRequest";
|
|
|
311
319
|
export * from "./TestSuiteRunWorkflowReleaseTagExecConfigRequest";
|
|
312
320
|
export * from "./TestSuiteRunWorkflowReleaseTagExecConfigTypeEnum";
|
|
313
321
|
export * from "./TestSuiteTestCase";
|
|
322
|
+
export * from "./TestSuiteTestCaseBulkOperationRequest";
|
|
323
|
+
export * from "./TestSuiteTestCaseBulkResult";
|
|
324
|
+
export * from "./TestSuiteTestCaseCreateBulkOperationRequest";
|
|
325
|
+
export * from "./TestSuiteTestCaseCreatedBulkResult";
|
|
326
|
+
export * from "./TestSuiteTestCaseCreatedBulkResultData";
|
|
327
|
+
export * from "./TestSuiteTestCaseDeleteBulkOperationDataRequest";
|
|
328
|
+
export * from "./TestSuiteTestCaseDeleteBulkOperationRequest";
|
|
329
|
+
export * from "./TestSuiteTestCaseDeletedBulkResult";
|
|
330
|
+
export * from "./TestSuiteTestCaseDeletedBulkResultData";
|
|
331
|
+
export * from "./TestSuiteTestCaseRejectedBulkResult";
|
|
332
|
+
export * from "./TestSuiteTestCaseReplaceBulkOperationRequest";
|
|
333
|
+
export * from "./TestSuiteTestCaseReplacedBulkResult";
|
|
334
|
+
export * from "./TestSuiteTestCaseReplacedBulkResultData";
|
|
314
335
|
export * from "./TokenOverlappingWindowChunkerConfig";
|
|
315
336
|
export * from "./TokenOverlappingWindowChunkerConfigRequest";
|
|
316
337
|
export * from "./TokenOverlappingWindowChunking";
|
package/api/types/index.js
CHANGED
|
@@ -30,6 +30,8 @@ __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1
|
|
|
30
30
|
__exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request"), exports);
|
|
31
31
|
__exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1"), exports);
|
|
32
32
|
__exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request"), exports);
|
|
33
|
+
__exportStar(require("./BulkCreateTestSuiteTestCaseDataRequest"), exports);
|
|
34
|
+
__exportStar(require("./BulkReplaceTestSuiteTestCaseDataRequest"), exports);
|
|
33
35
|
__exportStar(require("./ChatHistoryEnum"), exports);
|
|
34
36
|
__exportStar(require("./ChatHistoryInputRequest"), exports);
|
|
35
37
|
__exportStar(require("./ChatMessage"), exports);
|
|
@@ -50,6 +52,10 @@ __exportStar(require("./CodeExecutionNodeSearchResultsResult"), exports);
|
|
|
50
52
|
__exportStar(require("./CodeExecutionNodeStringResult"), exports);
|
|
51
53
|
__exportStar(require("./ConditionalNodeResult"), exports);
|
|
52
54
|
__exportStar(require("./ConditionalNodeResultData"), exports);
|
|
55
|
+
__exportStar(require("./CreateEnum"), exports);
|
|
56
|
+
__exportStar(require("./CreatedEnum"), exports);
|
|
57
|
+
__exportStar(require("./DeleteEnum"), exports);
|
|
58
|
+
__exportStar(require("./DeletedEnum"), exports);
|
|
53
59
|
__exportStar(require("./DeploymentProviderPayloadResponse"), exports);
|
|
54
60
|
__exportStar(require("./DeploymentRead"), exports);
|
|
55
61
|
__exportStar(require("./DeploymentReleaseTagDeploymentHistoryItem"), exports);
|
|
@@ -218,6 +224,8 @@ __exportStar(require("./RejectedExecuteWorkflowWorkflowResultEvent"), exports);
|
|
|
218
224
|
__exportStar(require("./RejectedPromptExecutionMeta"), exports);
|
|
219
225
|
__exportStar(require("./RejectedWorkflowNodeResultEvent"), exports);
|
|
220
226
|
__exportStar(require("./ReleaseTagSource"), exports);
|
|
227
|
+
__exportStar(require("./ReplaceEnum"), exports);
|
|
228
|
+
__exportStar(require("./ReplacedEnum"), exports);
|
|
221
229
|
__exportStar(require("./SandboxScenario"), exports);
|
|
222
230
|
__exportStar(require("./ScenarioInput"), exports);
|
|
223
231
|
__exportStar(require("./ScenarioInputChatHistoryVariableValue"), exports);
|
|
@@ -327,6 +335,19 @@ __exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigDataRequest"), e
|
|
|
327
335
|
__exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigRequest"), exports);
|
|
328
336
|
__exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigTypeEnum"), exports);
|
|
329
337
|
__exportStar(require("./TestSuiteTestCase"), exports);
|
|
338
|
+
__exportStar(require("./TestSuiteTestCaseBulkOperationRequest"), exports);
|
|
339
|
+
__exportStar(require("./TestSuiteTestCaseBulkResult"), exports);
|
|
340
|
+
__exportStar(require("./TestSuiteTestCaseCreateBulkOperationRequest"), exports);
|
|
341
|
+
__exportStar(require("./TestSuiteTestCaseCreatedBulkResult"), exports);
|
|
342
|
+
__exportStar(require("./TestSuiteTestCaseCreatedBulkResultData"), exports);
|
|
343
|
+
__exportStar(require("./TestSuiteTestCaseDeleteBulkOperationDataRequest"), exports);
|
|
344
|
+
__exportStar(require("./TestSuiteTestCaseDeleteBulkOperationRequest"), exports);
|
|
345
|
+
__exportStar(require("./TestSuiteTestCaseDeletedBulkResult"), exports);
|
|
346
|
+
__exportStar(require("./TestSuiteTestCaseDeletedBulkResultData"), exports);
|
|
347
|
+
__exportStar(require("./TestSuiteTestCaseRejectedBulkResult"), exports);
|
|
348
|
+
__exportStar(require("./TestSuiteTestCaseReplaceBulkOperationRequest"), exports);
|
|
349
|
+
__exportStar(require("./TestSuiteTestCaseReplacedBulkResult"), exports);
|
|
350
|
+
__exportStar(require("./TestSuiteTestCaseReplacedBulkResultData"), exports);
|
|
330
351
|
__exportStar(require("./TokenOverlappingWindowChunkerConfig"), exports);
|
|
331
352
|
__exportStar(require("./TokenOverlappingWindowChunkerConfigRequest"), exports);
|
|
332
353
|
__exportStar(require("./TokenOverlappingWindowChunking"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -52,7 +52,8 @@ export declare class VellumClient {
|
|
|
52
52
|
/**
|
|
53
53
|
* Generate a completion using a previously defined deployment.
|
|
54
54
|
*
|
|
55
|
-
*
|
|
55
|
+
* Important: This endpoint is DEPRECATED and has been superseded by
|
|
56
|
+
* [execute-prompt](/api-reference/api-reference/execute-prompt).
|
|
56
57
|
* @throws {@link Vellum.BadRequestError}
|
|
57
58
|
* @throws {@link Vellum.ForbiddenError}
|
|
58
59
|
* @throws {@link Vellum.NotFoundError}
|
|
@@ -69,13 +70,12 @@ export declare class VellumClient {
|
|
|
69
70
|
/**
|
|
70
71
|
* Generate a stream of completions using a previously defined deployment.
|
|
71
72
|
*
|
|
72
|
-
*
|
|
73
|
+
* Important: This endpoint is DEPRECATED and has been superseded by
|
|
74
|
+
* [execute-prompt-stream](/api-reference/api-reference/execute-prompt-stream).
|
|
73
75
|
*/
|
|
74
76
|
generateStream(request: Vellum.GenerateStreamBodyRequest, requestOptions?: VellumClient.RequestOptions): Promise<core.Stream<Vellum.GenerateStreamResponse>>;
|
|
75
77
|
/**
|
|
76
78
|
* Perform a search against a document index.
|
|
77
|
-
*
|
|
78
|
-
* **Note:** Uses a base url of `https://predict.vellum.ai`.
|
|
79
79
|
* @throws {@link Vellum.BadRequestError}
|
|
80
80
|
* @throws {@link Vellum.NotFoundError}
|
|
81
81
|
* @throws {@link Vellum.InternalServerError}
|
|
@@ -88,8 +88,6 @@ export declare class VellumClient {
|
|
|
88
88
|
search(request: Vellum.SearchRequestBodyRequest, requestOptions?: VellumClient.RequestOptions): Promise<Vellum.SearchResponse>;
|
|
89
89
|
/**
|
|
90
90
|
* Used to submit feedback regarding the quality of previously generated completions.
|
|
91
|
-
*
|
|
92
|
-
* **Note:** Uses a base url of `https://predict.vellum.ai`.
|
|
93
91
|
* @throws {@link Vellum.BadRequestError}
|
|
94
92
|
* @throws {@link Vellum.NotFoundError}
|
|
95
93
|
* @throws {@link Vellum.InternalServerError}
|
package/dist/Client.js
CHANGED
|
@@ -72,7 +72,7 @@ class VellumClient {
|
|
|
72
72
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
73
73
|
.predict, "v1/execute-prompt"),
|
|
74
74
|
method: "POST",
|
|
75
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
75
|
+
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())),
|
|
76
76
|
contentType: "application/json",
|
|
77
77
|
body: yield serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
78
78
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -128,7 +128,7 @@ class VellumClient {
|
|
|
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
|
.predict, "v1/execute-prompt-stream"),
|
|
130
130
|
method: "POST",
|
|
131
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
131
|
+
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())),
|
|
132
132
|
contentType: "application/json",
|
|
133
133
|
body: yield serializers.ExecutePromptStreamRequest.jsonOrThrow(request, {
|
|
134
134
|
unrecognizedObjectKeys: "strip",
|
|
@@ -196,7 +196,7 @@ class VellumClient {
|
|
|
196
196
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
197
197
|
.predict, "v1/execute-workflow"),
|
|
198
198
|
method: "POST",
|
|
199
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
199
|
+
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())),
|
|
200
200
|
contentType: "application/json",
|
|
201
201
|
body: yield serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
202
202
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -250,7 +250,7 @@ class VellumClient {
|
|
|
250
250
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
251
251
|
.predict, "v1/execute-workflow-stream"),
|
|
252
252
|
method: "POST",
|
|
253
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
253
|
+
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())),
|
|
254
254
|
contentType: "application/json",
|
|
255
255
|
body: yield serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, {
|
|
256
256
|
unrecognizedObjectKeys: "strip",
|
|
@@ -306,7 +306,8 @@ class VellumClient {
|
|
|
306
306
|
/**
|
|
307
307
|
* Generate a completion using a previously defined deployment.
|
|
308
308
|
*
|
|
309
|
-
*
|
|
309
|
+
* Important: This endpoint is DEPRECATED and has been superseded by
|
|
310
|
+
* [execute-prompt](/api-reference/api-reference/execute-prompt).
|
|
310
311
|
* @throws {@link Vellum.BadRequestError}
|
|
311
312
|
* @throws {@link Vellum.ForbiddenError}
|
|
312
313
|
* @throws {@link Vellum.NotFoundError}
|
|
@@ -326,7 +327,7 @@ class VellumClient {
|
|
|
326
327
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
327
328
|
.predict, "v1/generate"),
|
|
328
329
|
method: "POST",
|
|
329
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
330
|
+
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())),
|
|
330
331
|
contentType: "application/json",
|
|
331
332
|
body: yield serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
332
333
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -375,7 +376,8 @@ class VellumClient {
|
|
|
375
376
|
/**
|
|
376
377
|
* Generate a stream of completions using a previously defined deployment.
|
|
377
378
|
*
|
|
378
|
-
*
|
|
379
|
+
* Important: This endpoint is DEPRECATED and has been superseded by
|
|
380
|
+
* [execute-prompt-stream](/api-reference/api-reference/execute-prompt-stream).
|
|
379
381
|
*/
|
|
380
382
|
generateStream(request, requestOptions) {
|
|
381
383
|
var _a;
|
|
@@ -384,7 +386,7 @@ class VellumClient {
|
|
|
384
386
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
385
387
|
.predict, "v1/generate-stream"),
|
|
386
388
|
method: "POST",
|
|
387
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
389
|
+
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())),
|
|
388
390
|
contentType: "application/json",
|
|
389
391
|
body: yield serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
390
392
|
responseType: "streaming",
|
|
@@ -439,8 +441,6 @@ class VellumClient {
|
|
|
439
441
|
}
|
|
440
442
|
/**
|
|
441
443
|
* Perform a search against a document index.
|
|
442
|
-
*
|
|
443
|
-
* **Note:** Uses a base url of `https://predict.vellum.ai`.
|
|
444
444
|
* @throws {@link Vellum.BadRequestError}
|
|
445
445
|
* @throws {@link Vellum.NotFoundError}
|
|
446
446
|
* @throws {@link Vellum.InternalServerError}
|
|
@@ -457,7 +457,7 @@ class VellumClient {
|
|
|
457
457
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
458
458
|
.predict, "v1/search"),
|
|
459
459
|
method: "POST",
|
|
460
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
460
|
+
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())),
|
|
461
461
|
contentType: "application/json",
|
|
462
462
|
body: yield serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
463
463
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -503,8 +503,6 @@ class VellumClient {
|
|
|
503
503
|
}
|
|
504
504
|
/**
|
|
505
505
|
* Used to submit feedback regarding the quality of previously generated completions.
|
|
506
|
-
*
|
|
507
|
-
* **Note:** Uses a base url of `https://predict.vellum.ai`.
|
|
508
506
|
* @throws {@link Vellum.BadRequestError}
|
|
509
507
|
* @throws {@link Vellum.NotFoundError}
|
|
510
508
|
* @throws {@link Vellum.InternalServerError}
|
|
@@ -521,7 +519,7 @@ class VellumClient {
|
|
|
521
519
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
522
520
|
.predict, "v1/submit-completion-actuals"),
|
|
523
521
|
method: "POST",
|
|
524
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
522
|
+
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())),
|
|
525
523
|
contentType: "application/json",
|
|
526
524
|
body: yield serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, {
|
|
527
525
|
unrecognizedObjectKeys: "strip",
|
|
@@ -579,7 +577,7 @@ class VellumClient {
|
|
|
579
577
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
580
578
|
.predict, "v1/submit-workflow-execution-actuals"),
|
|
581
579
|
method: "POST",
|
|
582
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.
|
|
580
|
+
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())),
|
|
583
581
|
contentType: "application/json",
|
|
584
582
|
body: yield serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
585
583
|
unrecognizedObjectKeys: "strip",
|