@absolutejs/voice 0.0.22-beta.430 → 0.0.22-beta.432
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/incidentTimeline.d.ts +117 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +13911 -13510
- package/dist/operationalStatus.d.ts +87 -0
- package/package.json +1 -1
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { Elysia } from 'elysia';
|
|
2
|
+
import type { VoiceFailureReplayReport, VoiceOperationsRecord } from './operationsRecord';
|
|
3
|
+
import type { VoiceOperationalStatusReport } from './operationalStatus';
|
|
4
|
+
import type { VoiceOpsRecoveryReport } from './opsRecovery';
|
|
5
|
+
import type { VoiceMonitorIssue } from './voiceMonitoring';
|
|
6
|
+
export type VoiceIncidentTimelineStatus = 'fail' | 'pass' | 'warn';
|
|
7
|
+
export type VoiceIncidentTimelineSeverity = 'critical' | 'info' | 'warn';
|
|
8
|
+
export type VoiceIncidentTimelineAction = {
|
|
9
|
+
href?: string;
|
|
10
|
+
label: string;
|
|
11
|
+
method?: 'GET' | 'POST';
|
|
12
|
+
};
|
|
13
|
+
export type VoiceIncidentTimelineEvent = {
|
|
14
|
+
action?: VoiceIncidentTimelineAction;
|
|
15
|
+
at: number;
|
|
16
|
+
category: 'call' | 'delivery' | 'failure-replay' | 'monitor' | 'operational-status' | 'readiness' | 'recovery';
|
|
17
|
+
detail?: string;
|
|
18
|
+
href?: string;
|
|
19
|
+
id: string;
|
|
20
|
+
label: string;
|
|
21
|
+
sessionId?: string;
|
|
22
|
+
severity: VoiceIncidentTimelineSeverity;
|
|
23
|
+
source: string;
|
|
24
|
+
value?: number | string;
|
|
25
|
+
};
|
|
26
|
+
export type VoiceIncidentTimelineReport = {
|
|
27
|
+
events: VoiceIncidentTimelineEvent[];
|
|
28
|
+
generatedAt: number;
|
|
29
|
+
links: VoiceIncidentTimelineLinks;
|
|
30
|
+
status: VoiceIncidentTimelineStatus;
|
|
31
|
+
summary: {
|
|
32
|
+
critical: number;
|
|
33
|
+
info: number;
|
|
34
|
+
total: number;
|
|
35
|
+
warn: number;
|
|
36
|
+
};
|
|
37
|
+
windowMs?: number;
|
|
38
|
+
};
|
|
39
|
+
export type VoiceIncidentTimelineValue<TValue> = TValue | (() => Promise<TValue> | TValue);
|
|
40
|
+
export type VoiceIncidentTimelineLinks = {
|
|
41
|
+
callDebugger?: string | ((sessionId: string) => string);
|
|
42
|
+
deliveryRuntime?: string;
|
|
43
|
+
failureReplay?: string | ((sessionId: string) => string);
|
|
44
|
+
monitorIssues?: string;
|
|
45
|
+
operationalStatus?: string;
|
|
46
|
+
operationsRecords?: string | ((sessionId: string) => string);
|
|
47
|
+
productionReadiness?: string;
|
|
48
|
+
proofPack?: string;
|
|
49
|
+
supportBundle?: string | ((sessionId: string) => string);
|
|
50
|
+
};
|
|
51
|
+
export type VoiceIncidentTimelineOptions = {
|
|
52
|
+
failureReplays?: VoiceIncidentTimelineValue<readonly VoiceFailureReplayReport[]>;
|
|
53
|
+
links?: VoiceIncidentTimelineLinks;
|
|
54
|
+
limit?: number;
|
|
55
|
+
monitorIssues?: VoiceIncidentTimelineValue<readonly VoiceMonitorIssue[]>;
|
|
56
|
+
now?: number;
|
|
57
|
+
operationalStatus?: VoiceIncidentTimelineValue<VoiceOperationalStatusReport>;
|
|
58
|
+
operationsRecords?: VoiceIncidentTimelineValue<readonly VoiceOperationsRecord[]>;
|
|
59
|
+
opsRecovery?: VoiceIncidentTimelineValue<VoiceOpsRecoveryReport>;
|
|
60
|
+
windowMs?: number;
|
|
61
|
+
};
|
|
62
|
+
export type VoiceIncidentTimelineRoutesOptions = VoiceIncidentTimelineOptions & {
|
|
63
|
+
headers?: HeadersInit;
|
|
64
|
+
htmlPath?: false | string;
|
|
65
|
+
markdownPath?: false | string;
|
|
66
|
+
name?: string;
|
|
67
|
+
path?: string;
|
|
68
|
+
render?: (report: VoiceIncidentTimelineReport) => string | Promise<string>;
|
|
69
|
+
title?: string;
|
|
70
|
+
};
|
|
71
|
+
export declare const buildVoiceIncidentTimelineReport: (options: VoiceIncidentTimelineOptions) => Promise<VoiceIncidentTimelineReport>;
|
|
72
|
+
export declare const renderVoiceIncidentTimelineMarkdown: (report: VoiceIncidentTimelineReport, options?: {
|
|
73
|
+
title?: string;
|
|
74
|
+
}) => string;
|
|
75
|
+
export declare const renderVoiceIncidentTimelineHTML: (report: VoiceIncidentTimelineReport, options?: {
|
|
76
|
+
title?: string;
|
|
77
|
+
}) => string;
|
|
78
|
+
export declare const createVoiceIncidentTimelineRoutes: (options: VoiceIncidentTimelineRoutesOptions) => Elysia<"", {
|
|
79
|
+
decorator: {};
|
|
80
|
+
store: {};
|
|
81
|
+
derive: {};
|
|
82
|
+
resolve: {};
|
|
83
|
+
}, {
|
|
84
|
+
typebox: {};
|
|
85
|
+
error: {};
|
|
86
|
+
}, {
|
|
87
|
+
schema: {};
|
|
88
|
+
standaloneSchema: {};
|
|
89
|
+
macro: {};
|
|
90
|
+
macroFn: {};
|
|
91
|
+
parser: {};
|
|
92
|
+
response: {};
|
|
93
|
+
}, {
|
|
94
|
+
[x: string]: {
|
|
95
|
+
get: {
|
|
96
|
+
body: unknown;
|
|
97
|
+
params: {};
|
|
98
|
+
query: unknown;
|
|
99
|
+
headers: unknown;
|
|
100
|
+
response: {
|
|
101
|
+
200: Response;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}, {
|
|
106
|
+
derive: {};
|
|
107
|
+
resolve: {};
|
|
108
|
+
schema: {};
|
|
109
|
+
standaloneSchema: {};
|
|
110
|
+
response: {};
|
|
111
|
+
}, {
|
|
112
|
+
derive: {};
|
|
113
|
+
resolve: {};
|
|
114
|
+
schema: {};
|
|
115
|
+
standaloneSchema: {};
|
|
116
|
+
response: {};
|
|
117
|
+
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -51,12 +51,16 @@ export type { VoiceSloCalibrationMetricKey, VoiceSloCalibrationOptions, VoiceSlo
|
|
|
51
51
|
export { assertVoiceLiveOpsControlEvidence, assertVoiceLiveOpsEvidence, buildVoiceLiveOpsControlState, createVoiceLiveOpsController, createVoiceLiveOpsRoutes, createVoiceMemoryLiveOpsControlStore, evaluateVoiceLiveOpsControlEvidence, evaluateVoiceLiveOpsEvidence, getVoiceLiveOpsControlStatus, VOICE_LIVE_OPS_ACTIONS } from './liveOps';
|
|
52
52
|
export type { VoiceLiveOpsAction, VoiceLiveOpsActionInput, VoiceLiveOpsActionResult, VoiceLiveOpsControllerOptions, VoiceLiveOpsControlState, VoiceLiveOpsControlStatus, VoiceLiveOpsControlStore, VoiceLiveOpsControlEvidenceInput, VoiceLiveOpsControlEvidenceReport, VoiceLiveOpsEvidenceInput, VoiceLiveOpsEvidenceReport, VoiceLiveOpsRoutesOptions } from './liveOps';
|
|
53
53
|
export { buildVoiceDeliveryRuntimeReport, createVoiceDeliveryRuntime, createVoiceDeliveryRuntimePresetConfig, createVoiceDeliveryRuntimeRoutes, renderVoiceDeliveryRuntimeHTML } from './deliveryRuntime';
|
|
54
|
+
export { buildVoiceOperationalStatusReport, createVoiceOperationalStatusRoutes, renderVoiceOperationalStatusHTML } from './operationalStatus';
|
|
55
|
+
export { buildVoiceIncidentTimelineReport, createVoiceIncidentTimelineRoutes, renderVoiceIncidentTimelineHTML, renderVoiceIncidentTimelineMarkdown } from './incidentTimeline';
|
|
54
56
|
export { applyVoiceDataRetentionPolicy, assertVoiceDataControlEvidence, buildVoiceDataControlReport, buildVoiceDataRetentionPlan, createVoiceDataControlRoutes, createVoiceZeroRetentionPolicy, evaluateVoiceDataControlEvidence, renderVoiceDataControlHTML, renderVoiceDataControlMarkdown, voiceComplianceRedactionDefaults } from './dataControl';
|
|
55
57
|
export type { VoiceDataControlAssertionInput, VoiceDataControlAssertionReport, VoiceDataControlProviderKeySurface, VoiceDataControlReport, VoiceDataControlRoutesOptions, VoiceDataControlStorageSurface, VoiceDataRetentionPolicy, VoiceDataRetentionReport, VoiceDataRetentionScope, VoiceDataRetentionScopeReport, VoiceDataRetentionStores } from './dataControl';
|
|
56
58
|
export type { VoiceDemoReadyReport, VoiceDemoReadyRoutesOptions, VoiceDemoReadySection, VoiceDemoReadyStatus } from './demoReadyRoutes';
|
|
57
59
|
export type { VoiceDeliverySinkDescriptor, VoiceDeliverySinkDescriptorInput, VoiceDeliverySinkKind, VoiceDeliverySinkPairOptions, VoiceDeliverySinkReport, VoiceDeliverySinkRoutesOptions, VoiceTraceDeliverySinkSurface } from './deliverySinkRoutes';
|
|
58
60
|
export type { VoiceOpsActionAuditRecord, VoiceOpsActionAuditRoutesOptions, VoiceOpsActionHistoryEntry, VoiceOpsActionHistoryReport } from './opsActionAuditRoutes';
|
|
59
61
|
export type { VoiceDeliveryRuntime, VoiceDeliveryRuntimeAuditConfig, VoiceDeliveryRuntimeConfig, VoiceDeliveryRuntimeFilePresetOptions, VoiceDeliveryRuntimePresetLeaseConfig, VoiceDeliveryRuntimePresetMode, VoiceDeliveryRuntimePresetOptions, VoiceDeliveryRuntimeReport, VoiceDeliveryRuntimeRoutesOptions, VoiceDeliveryRuntimeS3PresetOptions, VoiceDeliveryRuntimeSummary, VoiceDeliveryRuntimeTickResult, VoiceDeliveryRuntimeTraceConfig, VoiceDeliveryRuntimeWebhookPresetOptions } from './deliveryRuntime';
|
|
62
|
+
export type { VoiceOperationalStatus, VoiceOperationalStatusCheck, VoiceOperationalStatusOptions, VoiceOperationalStatusReport, VoiceOperationalStatusRoutesOptions, VoiceOperationalStatusValue } from './operationalStatus';
|
|
63
|
+
export type { VoiceIncidentTimelineAction, VoiceIncidentTimelineEvent, VoiceIncidentTimelineLinks, VoiceIncidentTimelineOptions, VoiceIncidentTimelineReport, VoiceIncidentTimelineRoutesOptions, VoiceIncidentTimelineSeverity, VoiceIncidentTimelineStatus, VoiceIncidentTimelineValue } from './incidentTimeline';
|
|
60
64
|
export { compareVoiceEvalBaseline, createVoiceFileEvalBaselineStore, createVoiceFileScenarioFixtureStore, createVoiceEvalRoutes, renderVoiceEvalBaselineHTML, renderVoiceEvalHTML, renderVoiceScenarioEvalHTML, renderVoiceScenarioFixtureEvalHTML, runVoiceScenarioEvals, runVoiceScenarioFixtureEvals, runVoiceSessionEvals } from './evalRoutes';
|
|
61
65
|
export { assertVoiceSimulationSuiteEvidence, createVoiceSimulationSuiteRoutes, evaluateVoiceSimulationSuiteEvidence, renderVoiceSimulationSuiteHTML, runVoiceSimulationSuite } from './simulationSuite';
|
|
62
66
|
export { createVoiceWorkflowContract, createVoiceWorkflowContractHandler, createVoiceWorkflowContractPreset, createVoiceWorkflowScenario, recordVoiceWorkflowContractTrace, validateVoiceWorkflowRouteResult } from './workflowContract';
|