@absolutejs/voice 0.0.22-beta.150 → 0.0.22-beta.152
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/README.md +151 -0
- package/dist/angular/index.d.ts +2 -0
- package/dist/angular/index.js +479 -124
- package/dist/angular/voice-delivery-runtime.component.d.ts +14 -0
- package/dist/angular/voice-delivery-runtime.service.d.ts +12 -0
- package/dist/client/deliveryRuntime.d.ts +19 -0
- package/dist/client/deliveryRuntimeWidget.d.ts +34 -0
- package/dist/client/index.d.ts +4 -0
- package/dist/client/index.js +287 -100
- package/dist/deliveryRuntime.d.ts +1 -1
- package/dist/react/VoiceDeliveryRuntime.d.ts +6 -0
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +520 -256
- package/dist/react/useVoiceDeliveryRuntime.d.ts +8 -0
- package/dist/svelte/createVoiceDeliveryRuntime.d.ts +9 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +309 -114
- package/dist/vue/VoiceDeliveryRuntime.d.ts +21 -0
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.js +534 -261
- package/dist/vue/useVoiceDeliveryRuntime.d.ts +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { type VoiceDeliveryRuntimeViewModel } from '../client/deliveryRuntimeWidget';
|
|
3
|
+
export declare class VoiceDeliveryRuntimeComponent implements OnDestroy, OnInit {
|
|
4
|
+
description?: string;
|
|
5
|
+
intervalMs?: number;
|
|
6
|
+
path: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
private cleanup;
|
|
9
|
+
private store?;
|
|
10
|
+
model: import("@angular/core").WritableSignal<VoiceDeliveryRuntimeViewModel>;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
private options;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type VoiceDeliveryRuntimeClientOptions } from '../client/deliveryRuntime';
|
|
2
|
+
import type { VoiceDeliveryRuntimeReport } from '../deliveryRuntime';
|
|
3
|
+
export declare class VoiceDeliveryRuntimeService {
|
|
4
|
+
connect(path?: string, options?: VoiceDeliveryRuntimeClientOptions): {
|
|
5
|
+
close: () => void;
|
|
6
|
+
error: import("@angular/core").Signal<string | null>;
|
|
7
|
+
isLoading: import("@angular/core").Signal<boolean>;
|
|
8
|
+
refresh: () => Promise<VoiceDeliveryRuntimeReport | undefined>;
|
|
9
|
+
report: import("@angular/core").Signal<VoiceDeliveryRuntimeReport | undefined>;
|
|
10
|
+
updatedAt: import("@angular/core").Signal<number | undefined>;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { VoiceDeliveryRuntimeReport } from '../deliveryRuntime';
|
|
2
|
+
export type VoiceDeliveryRuntimeClientOptions = {
|
|
3
|
+
fetch?: typeof fetch;
|
|
4
|
+
intervalMs?: number;
|
|
5
|
+
};
|
|
6
|
+
export type VoiceDeliveryRuntimeSnapshot = {
|
|
7
|
+
error: string | null;
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
report?: VoiceDeliveryRuntimeReport;
|
|
10
|
+
updatedAt?: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const fetchVoiceDeliveryRuntime: (path?: string, options?: Pick<VoiceDeliveryRuntimeClientOptions, "fetch">) => Promise<VoiceDeliveryRuntimeReport>;
|
|
13
|
+
export declare const createVoiceDeliveryRuntimeStore: (path?: string, options?: VoiceDeliveryRuntimeClientOptions) => {
|
|
14
|
+
close: () => void;
|
|
15
|
+
getServerSnapshot: () => VoiceDeliveryRuntimeSnapshot;
|
|
16
|
+
getSnapshot: () => VoiceDeliveryRuntimeSnapshot;
|
|
17
|
+
refresh: () => Promise<VoiceDeliveryRuntimeReport | undefined>;
|
|
18
|
+
subscribe: (listener: () => void) => () => void;
|
|
19
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type VoiceDeliveryRuntimeClientOptions, type VoiceDeliveryRuntimeSnapshot } from './deliveryRuntime';
|
|
2
|
+
export type VoiceDeliveryRuntimeSurfaceView = {
|
|
3
|
+
deadLettered: number;
|
|
4
|
+
detail: string;
|
|
5
|
+
failed: number;
|
|
6
|
+
id: 'audit' | 'trace';
|
|
7
|
+
label: string;
|
|
8
|
+
pending: number;
|
|
9
|
+
status: 'pass' | 'warn' | 'disabled';
|
|
10
|
+
total: number;
|
|
11
|
+
};
|
|
12
|
+
export type VoiceDeliveryRuntimeViewModel = {
|
|
13
|
+
description: string;
|
|
14
|
+
error: string | null;
|
|
15
|
+
isLoading: boolean;
|
|
16
|
+
isRunning: boolean;
|
|
17
|
+
label: string;
|
|
18
|
+
status: 'pass' | 'warn' | 'loading' | 'error';
|
|
19
|
+
surfaces: VoiceDeliveryRuntimeSurfaceView[];
|
|
20
|
+
title: string;
|
|
21
|
+
updatedAt?: number;
|
|
22
|
+
};
|
|
23
|
+
export type VoiceDeliveryRuntimeWidgetOptions = VoiceDeliveryRuntimeClientOptions & {
|
|
24
|
+
description?: string;
|
|
25
|
+
title?: string;
|
|
26
|
+
};
|
|
27
|
+
export declare const createVoiceDeliveryRuntimeViewModel: (snapshot: VoiceDeliveryRuntimeSnapshot, options?: VoiceDeliveryRuntimeWidgetOptions) => VoiceDeliveryRuntimeViewModel;
|
|
28
|
+
export declare const renderVoiceDeliveryRuntimeHTML: (snapshot: VoiceDeliveryRuntimeSnapshot, options?: VoiceDeliveryRuntimeWidgetOptions) => string;
|
|
29
|
+
export declare const getVoiceDeliveryRuntimeCSS: () => string;
|
|
30
|
+
export declare const mountVoiceDeliveryRuntime: (element: Element, path?: string, options?: VoiceDeliveryRuntimeWidgetOptions) => {
|
|
31
|
+
close: () => void;
|
|
32
|
+
refresh: () => Promise<import("..").VoiceDeliveryRuntimeReport | undefined>;
|
|
33
|
+
};
|
|
34
|
+
export declare const defineVoiceDeliveryRuntimeElement: (tagName?: string) => void;
|
package/dist/client/index.d.ts
CHANGED
|
@@ -8,7 +8,9 @@ export { createMicrophoneCapture } from './microphone';
|
|
|
8
8
|
export { createVoiceBargeInMonitor } from './bargeInMonitor';
|
|
9
9
|
export { createVoiceLiveTurnLatencyMonitor } from './liveTurnLatency';
|
|
10
10
|
export { createVoiceOpsStatusStore, fetchVoiceOpsStatus } from './opsStatus';
|
|
11
|
+
export { createVoiceDeliveryRuntimeStore, fetchVoiceDeliveryRuntime } from './deliveryRuntime';
|
|
11
12
|
export { createVoiceOpsStatusViewModel, defineVoiceOpsStatusElement, getVoiceOpsStatusCSS, getVoiceOpsStatusLabel, mountVoiceOpsStatus, renderVoiceOpsStatusHTML } from './opsStatusWidget';
|
|
13
|
+
export { createVoiceDeliveryRuntimeViewModel, defineVoiceDeliveryRuntimeElement, getVoiceDeliveryRuntimeCSS, mountVoiceDeliveryRuntime, renderVoiceDeliveryRuntimeHTML } from './deliveryRuntimeWidget';
|
|
12
14
|
export { createVoiceRoutingStatusStore, fetchVoiceRoutingStatus } from './routingStatus';
|
|
13
15
|
export { createVoiceRoutingStatusViewModel, defineVoiceRoutingStatusElement, getVoiceRoutingStatusCSS, mountVoiceRoutingStatus, renderVoiceRoutingStatusHTML } from './routingStatusWidget';
|
|
14
16
|
export { createVoiceProviderStatusStore, fetchVoiceProviderStatus } from './providerStatus';
|
|
@@ -26,9 +28,11 @@ export { createVoiceTurnLatencyViewModel, defineVoiceTurnLatencyElement, mountVo
|
|
|
26
28
|
export { createVoiceTraceTimelineViewModel, defineVoiceTraceTimelineElement, getVoiceTraceTimelineCSS, mountVoiceTraceTimeline, renderVoiceTraceTimelineWidgetHTML } from './traceTimelineWidget';
|
|
27
29
|
export { createVoiceWorkflowStatusStore, fetchVoiceWorkflowStatus } from './workflowStatus';
|
|
28
30
|
export type { VoiceOpsStatusClientOptions, VoiceOpsStatusSnapshot } from './opsStatus';
|
|
31
|
+
export type { VoiceDeliveryRuntimeClientOptions, VoiceDeliveryRuntimeSnapshot } from './deliveryRuntime';
|
|
29
32
|
export type { VoiceBargeInMonitorOptions } from './bargeInMonitor';
|
|
30
33
|
export type { VoiceLiveTurnLatencyEvent, VoiceLiveTurnLatencyMonitorOptions, VoiceLiveTurnLatencySnapshot, VoiceLiveTurnLatencyStatus } from './liveTurnLatency';
|
|
31
34
|
export type { VoiceOpsStatusSurfaceView, VoiceOpsStatusViewModel, VoiceOpsStatusWidgetOptions } from './opsStatusWidget';
|
|
35
|
+
export type { VoiceDeliveryRuntimeSurfaceView, VoiceDeliveryRuntimeViewModel, VoiceDeliveryRuntimeWidgetOptions } from './deliveryRuntimeWidget';
|
|
32
36
|
export type { VoiceRoutingStatusClientOptions, VoiceRoutingStatusSnapshot } from './routingStatus';
|
|
33
37
|
export type { VoiceRoutingStatusViewModel, VoiceRoutingStatusWidgetOptions } from './routingStatusWidget';
|
|
34
38
|
export type { VoiceProviderStatusClientOptions, VoiceProviderStatusSnapshot } from './providerStatus';
|