@absolutejs/voice 0.0.22-beta.106 → 0.0.22-beta.108
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/dist/campaign.d.ts +449 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +460 -88
- package/dist/simulationSuite.d.ts +15 -0
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ import type { VoiceTraceEventStore } from './trace';
|
|
|
7
7
|
import type { VoiceSessionRecord } from './types';
|
|
8
8
|
export type VoiceSimulationSuiteStatus = 'pass' | 'fail';
|
|
9
9
|
export type VoiceSimulationSuiteReport = {
|
|
10
|
+
actions: VoiceSimulationSuiteAction[];
|
|
10
11
|
checkedAt: number;
|
|
11
12
|
failed: number;
|
|
12
13
|
fixtures?: VoiceScenarioFixtureEvalReport;
|
|
@@ -25,6 +26,13 @@ export type VoiceSimulationSuiteReport = {
|
|
|
25
26
|
tools?: VoiceToolContractSuiteReport;
|
|
26
27
|
total: number;
|
|
27
28
|
};
|
|
29
|
+
export type VoiceSimulationSuiteAction = {
|
|
30
|
+
description: string;
|
|
31
|
+
href?: string;
|
|
32
|
+
label: string;
|
|
33
|
+
section: 'fixtures' | 'outcomes' | 'scenarios' | 'sessions' | 'tools';
|
|
34
|
+
severity: 'error' | 'warning';
|
|
35
|
+
};
|
|
28
36
|
export type VoiceSimulationSuiteSectionSummary = {
|
|
29
37
|
failed: number;
|
|
30
38
|
passed: number;
|
|
@@ -32,6 +40,13 @@ export type VoiceSimulationSuiteSectionSummary = {
|
|
|
32
40
|
total: number;
|
|
33
41
|
};
|
|
34
42
|
export type VoiceSimulationSuiteOptions<TSession extends VoiceSessionRecord = VoiceSessionRecord> = {
|
|
43
|
+
actionLinks?: {
|
|
44
|
+
fixtures?: string;
|
|
45
|
+
outcomes?: string;
|
|
46
|
+
scenarios?: string;
|
|
47
|
+
sessions?: string;
|
|
48
|
+
tools?: string;
|
|
49
|
+
};
|
|
35
50
|
fixtures?: VoiceScenarioFixture[];
|
|
36
51
|
fixtureStore?: VoiceScenarioFixtureStore;
|
|
37
52
|
include?: {
|