@salesforce/agents 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/agentTester.d.ts +5 -5
- package/lib/index.d.ts +2 -2
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/agentTester.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { Connection } from '@salesforce/core';
|
|
2
2
|
import { Duration } from '@salesforce/kit';
|
|
3
3
|
type Format = 'human' | 'json';
|
|
4
|
-
type TestStatus = 'NEW' | 'IN_PROGRESS' | 'COMPLETED' | 'ERROR';
|
|
5
|
-
type AgentTestStartResponse = {
|
|
4
|
+
export type TestStatus = 'NEW' | 'IN_PROGRESS' | 'COMPLETED' | 'ERROR';
|
|
5
|
+
export type AgentTestStartResponse = {
|
|
6
6
|
aiEvaluationId: string;
|
|
7
7
|
status: TestStatus;
|
|
8
8
|
};
|
|
9
|
-
type AgentTestStatusResponse = {
|
|
9
|
+
export type AgentTestStatusResponse = {
|
|
10
10
|
status: TestStatus;
|
|
11
11
|
startTime: string;
|
|
12
12
|
endTime?: string;
|
|
13
13
|
errorMessage?: string;
|
|
14
14
|
};
|
|
15
|
-
type TestCaseResult = {
|
|
15
|
+
export type TestCaseResult = {
|
|
16
16
|
status: TestStatus;
|
|
17
17
|
number: string;
|
|
18
18
|
startTime: string;
|
|
@@ -40,7 +40,7 @@ type TestCaseResult = {
|
|
|
40
40
|
errorMessage?: string;
|
|
41
41
|
}>;
|
|
42
42
|
};
|
|
43
|
-
type AgentTestDetailsResponse = {
|
|
43
|
+
export type AgentTestDetailsResponse = {
|
|
44
44
|
status: TestStatus;
|
|
45
45
|
startTime: string;
|
|
46
46
|
endTime?: string;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { AgentCreateConfig, AgentCreateResponse, AgentJobSpec, AgentJobSpecCreateConfig, AgentJobSpecCreateResponse, SfAgent, } from './types';
|
|
1
|
+
export { type AgentCreateConfig, type AgentCreateResponse, type AgentJobSpec, type AgentJobSpecCreateConfig, type AgentJobSpecCreateResponse, SfAgent, } from './types';
|
|
2
2
|
export { Agent } from './agent';
|
|
3
|
-
export { AgentTester } from './agentTester';
|
|
3
|
+
export { AgentTester, type AgentTestDetailsResponse, type AgentTestStartResponse, type AgentTestStatusResponse, type TestCaseResult, type TestStatus, } from './agentTester';
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAUH,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAUH,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,6CAOuB;AANrB,0GAAA,WAAW,OAAA"}
|