@absolutejs/voice 0.0.22-beta.141 → 0.0.22-beta.143
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/deliverySinkRoutes.d.ts +87 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +8495 -8379
- package/dist/opsConsoleRoutes.d.ts +3 -0
- package/dist/opsStatus.d.ts +8 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Elysia } from 'elysia';
|
|
2
|
+
import { type VoiceDeliverySinkReport, type VoiceDeliverySinkRoutesOptions } from './deliverySinkRoutes';
|
|
2
3
|
import { type VoiceQualityReport } from './qualityRoutes';
|
|
3
4
|
import { type VoiceRoutingEvent } from './resilienceRoutes';
|
|
4
5
|
import { type VoiceSessionListItem } from './sessionReplay';
|
|
@@ -17,6 +18,7 @@ export type VoiceOpsConsoleReport = {
|
|
|
17
18
|
total: number;
|
|
18
19
|
};
|
|
19
20
|
links: VoiceOpsConsoleLink[];
|
|
21
|
+
deliverySinks?: VoiceDeliverySinkReport;
|
|
20
22
|
providers: {
|
|
21
23
|
degraded: number;
|
|
22
24
|
healthy: number;
|
|
@@ -34,6 +36,7 @@ export type VoiceOpsConsoleReport = {
|
|
|
34
36
|
};
|
|
35
37
|
export type VoiceOpsConsoleRoutesOptions = {
|
|
36
38
|
headers?: HeadersInit;
|
|
39
|
+
deliverySinks?: false | VoiceDeliverySinkRoutesOptions;
|
|
37
40
|
links?: VoiceOpsConsoleLink[];
|
|
38
41
|
llmProviders?: readonly string[];
|
|
39
42
|
name?: string;
|
package/dist/opsStatus.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type VoiceEvalLink, type VoiceEvalRoutesOptions } from './evalRoutes';
|
|
2
|
+
import { type VoiceDeliverySinkRoutesOptions } from './deliverySinkRoutes';
|
|
2
3
|
import { type VoiceQualityRoutesOptions } from './qualityRoutes';
|
|
3
4
|
import { type VoiceProviderFallbackRecoverySummary } from './sessionReplay';
|
|
4
5
|
import { type VoiceTraceEventStore } from './trace';
|
|
@@ -8,8 +9,10 @@ export type VoiceOpsStatusLink = VoiceEvalLink & {
|
|
|
8
9
|
statusHref?: string;
|
|
9
10
|
};
|
|
10
11
|
export type VoiceOpsStatusOptions<TProvider extends string = string> = {
|
|
12
|
+
deliverySinks?: false | VoiceDeliverySinkRoutesOptions;
|
|
11
13
|
evals?: false | Partial<VoiceEvalRoutesOptions>;
|
|
12
14
|
include?: {
|
|
15
|
+
deliverySinks?: boolean;
|
|
13
16
|
handoffs?: boolean;
|
|
14
17
|
providers?: boolean;
|
|
15
18
|
providerRecovery?: boolean;
|
|
@@ -37,6 +40,11 @@ export type VoiceOpsStatusReport = {
|
|
|
37
40
|
status: VoiceOpsStatus;
|
|
38
41
|
total: number;
|
|
39
42
|
};
|
|
43
|
+
deliverySinks?: {
|
|
44
|
+
auditTotal: number;
|
|
45
|
+
status: VoiceOpsStatus;
|
|
46
|
+
traceTotal: number;
|
|
47
|
+
};
|
|
40
48
|
providers?: {
|
|
41
49
|
degraded: number;
|
|
42
50
|
status: VoiceOpsStatus;
|