@absolutejs/voice 0.0.22-beta.507 → 0.0.22-beta.508
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/angular/index.d.ts +2 -0
- package/dist/angular/index.js +374 -272
- package/dist/angular/voice-live-agent-console.service.d.ts +16 -0
- package/dist/dtmfCollector.d.ts +37 -0
- package/dist/holdAudio.d.ts +23 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +563 -0
- package/dist/postCallSurvey.d.ts +41 -0
- package/dist/promptInjectionGuard.d.ts +30 -0
- package/dist/react/VoiceLiveAgentConsole.d.ts +11 -0
- package/dist/svelte/createVoiceLiveAgentConsole.d.ts +23 -0
- package/dist/svelte/index.d.ts +2 -0
- package/dist/svelte/index.js +291 -180
- package/dist/vue/VoiceLiveAgentConsole.d.ts +50 -0
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.js +250 -32
- package/package.json +1 -1
package/dist/angular/index.js
CHANGED
|
@@ -2075,7 +2075,7 @@ VoiceCostDashboardService = __decorateElement(_init, 0, "VoiceCostDashboardServi
|
|
|
2075
2075
|
__runInitializers(_init, 1, VoiceCostDashboardService);
|
|
2076
2076
|
__decoratorMetadata(_init, VoiceCostDashboardService);
|
|
2077
2077
|
let _VoiceCostDashboardService = VoiceCostDashboardService;
|
|
2078
|
-
// src/angular/voice-live-
|
|
2078
|
+
// src/angular/voice-live-agent-console.service.ts
|
|
2079
2079
|
import { computed as computed5, Injectable as Injectable5, signal as signal5 } from "@angular/core";
|
|
2080
2080
|
|
|
2081
2081
|
// src/client/liveCallViewer.ts
|
|
@@ -2186,16 +2186,117 @@ var createLiveCallViewer = (options) => {
|
|
|
2186
2186
|
};
|
|
2187
2187
|
};
|
|
2188
2188
|
|
|
2189
|
-
// src/
|
|
2189
|
+
// src/client/liveAgentConsole.ts
|
|
2190
|
+
var createLiveAgentConsole = (options) => {
|
|
2191
|
+
const viewer = createLiveCallViewer(options);
|
|
2192
|
+
const recentLimit = Math.max(1, options.recentLimit ?? 12);
|
|
2193
|
+
let caller;
|
|
2194
|
+
let hasTakeover = false;
|
|
2195
|
+
let takeoverAt;
|
|
2196
|
+
let takeoverReason;
|
|
2197
|
+
const subscribers = new Set;
|
|
2198
|
+
const buildState = () => {
|
|
2199
|
+
const view = viewer.getState();
|
|
2200
|
+
return {
|
|
2201
|
+
caller,
|
|
2202
|
+
hasTakeover,
|
|
2203
|
+
recentTimeline: view.events.slice(-recentLimit),
|
|
2204
|
+
takeoverAt,
|
|
2205
|
+
takeoverReason,
|
|
2206
|
+
view
|
|
2207
|
+
};
|
|
2208
|
+
};
|
|
2209
|
+
const notify = () => {
|
|
2210
|
+
for (const subscriber of subscribers)
|
|
2211
|
+
subscriber();
|
|
2212
|
+
};
|
|
2213
|
+
const unsubscribeViewer = viewer.subscribe(() => {
|
|
2214
|
+
notify();
|
|
2215
|
+
});
|
|
2216
|
+
if (options.resolveCaller) {
|
|
2217
|
+
Promise.resolve(options.resolveCaller()).then((snapshot) => {
|
|
2218
|
+
caller = snapshot;
|
|
2219
|
+
notify();
|
|
2220
|
+
});
|
|
2221
|
+
}
|
|
2222
|
+
return {
|
|
2223
|
+
getState: buildState,
|
|
2224
|
+
noteAgentAudio: (at) => viewer.noteAgentAudio(at),
|
|
2225
|
+
notePartial: (text, at) => viewer.notePartial(text, at),
|
|
2226
|
+
noteTranscript: (text, at) => viewer.noteTranscript(text, at),
|
|
2227
|
+
releaseTakeover: () => {
|
|
2228
|
+
if (!hasTakeover)
|
|
2229
|
+
return;
|
|
2230
|
+
hasTakeover = false;
|
|
2231
|
+
takeoverAt = undefined;
|
|
2232
|
+
takeoverReason = undefined;
|
|
2233
|
+
viewer.applyControl({ reason: "released", type: "takeover.release" });
|
|
2234
|
+
notify();
|
|
2235
|
+
},
|
|
2236
|
+
setCaller: (snapshot) => {
|
|
2237
|
+
caller = snapshot;
|
|
2238
|
+
notify();
|
|
2239
|
+
},
|
|
2240
|
+
subscribe: (listener) => {
|
|
2241
|
+
subscribers.add(listener);
|
|
2242
|
+
return () => {
|
|
2243
|
+
subscribers.delete(listener);
|
|
2244
|
+
if (subscribers.size === 0)
|
|
2245
|
+
unsubscribeViewer();
|
|
2246
|
+
};
|
|
2247
|
+
},
|
|
2248
|
+
takeover: (reason) => {
|
|
2249
|
+
if (hasTakeover)
|
|
2250
|
+
return;
|
|
2251
|
+
hasTakeover = true;
|
|
2252
|
+
takeoverAt = Date.now();
|
|
2253
|
+
takeoverReason = reason;
|
|
2254
|
+
viewer.applyControl({ reason, type: "takeover.engaged" });
|
|
2255
|
+
notify();
|
|
2256
|
+
},
|
|
2257
|
+
viewer
|
|
2258
|
+
};
|
|
2259
|
+
};
|
|
2260
|
+
|
|
2261
|
+
// src/angular/voice-live-agent-console.service.ts
|
|
2190
2262
|
var _dec = [
|
|
2191
2263
|
Injectable5({ providedIn: "root" })
|
|
2192
2264
|
];
|
|
2193
2265
|
var _init = __decoratorStart(undefined);
|
|
2194
2266
|
|
|
2267
|
+
class VoiceLiveAgentConsoleService {
|
|
2268
|
+
build(options) {
|
|
2269
|
+
const console = createLiveAgentConsole(options);
|
|
2270
|
+
const stateSignal = signal5(console.getState());
|
|
2271
|
+
const unsubscribe = console.subscribe(() => {
|
|
2272
|
+
stateSignal.set(console.getState());
|
|
2273
|
+
});
|
|
2274
|
+
return {
|
|
2275
|
+
releaseTakeover: () => console.releaseTakeover(),
|
|
2276
|
+
setCaller: (caller) => console.setCaller(caller),
|
|
2277
|
+
state: computed5(() => stateSignal()),
|
|
2278
|
+
stop: () => unsubscribe(),
|
|
2279
|
+
takeover: (reason) => console.takeover(reason),
|
|
2280
|
+
takeoverButtonLabel: options.takeoverButtonLabel ?? "Take over",
|
|
2281
|
+
title: options.title ?? "Live agent console"
|
|
2282
|
+
};
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2285
|
+
VoiceLiveAgentConsoleService = __decorateElement(_init, 0, "VoiceLiveAgentConsoleService", _dec, VoiceLiveAgentConsoleService);
|
|
2286
|
+
__runInitializers(_init, 1, VoiceLiveAgentConsoleService);
|
|
2287
|
+
__decoratorMetadata(_init, VoiceLiveAgentConsoleService);
|
|
2288
|
+
let _VoiceLiveAgentConsoleService = VoiceLiveAgentConsoleService;
|
|
2289
|
+
// src/angular/voice-live-call-viewer.service.ts
|
|
2290
|
+
import { computed as computed6, Injectable as Injectable6, signal as signal6 } from "@angular/core";
|
|
2291
|
+
var _dec = [
|
|
2292
|
+
Injectable6({ providedIn: "root" })
|
|
2293
|
+
];
|
|
2294
|
+
var _init = __decoratorStart(undefined);
|
|
2295
|
+
|
|
2195
2296
|
class VoiceLiveCallViewerService {
|
|
2196
2297
|
build(options) {
|
|
2197
2298
|
const viewer = options.viewer ?? createLiveCallViewer(options);
|
|
2198
|
-
const stateSignal =
|
|
2299
|
+
const stateSignal = signal6(viewer.getState());
|
|
2199
2300
|
const unsubscribe = viewer.subscribe(() => {
|
|
2200
2301
|
stateSignal.set(viewer.getState());
|
|
2201
2302
|
});
|
|
@@ -2204,7 +2305,7 @@ class VoiceLiveCallViewerService {
|
|
|
2204
2305
|
notePartial: (text, at) => viewer.notePartial(text, at),
|
|
2205
2306
|
noteTranscript: (text, at) => viewer.noteTranscript(text, at),
|
|
2206
2307
|
reset: (sessionId, startedAt) => viewer.reset(sessionId, startedAt),
|
|
2207
|
-
state:
|
|
2308
|
+
state: computed6(() => stateSignal()),
|
|
2208
2309
|
stop: () => unsubscribe(),
|
|
2209
2310
|
title: options.title ?? "Live call"
|
|
2210
2311
|
};
|
|
@@ -2215,7 +2316,7 @@ __runInitializers(_init, 1, VoiceLiveCallViewerService);
|
|
|
2215
2316
|
__decoratorMetadata(_init, VoiceLiveCallViewerService);
|
|
2216
2317
|
let _VoiceLiveCallViewerService = VoiceLiveCallViewerService;
|
|
2217
2318
|
// src/angular/voice-replay-timeline.service.ts
|
|
2218
|
-
import { computed as
|
|
2319
|
+
import { computed as computed7, Injectable as Injectable7, signal as signal7 } from "@angular/core";
|
|
2219
2320
|
|
|
2220
2321
|
// src/client/replayTimeline.ts
|
|
2221
2322
|
var categorize = (entry) => {
|
|
@@ -2270,14 +2371,14 @@ var buildReplayTimelineReport = (input) => {
|
|
|
2270
2371
|
|
|
2271
2372
|
// src/angular/voice-replay-timeline.service.ts
|
|
2272
2373
|
var _dec = [
|
|
2273
|
-
|
|
2374
|
+
Injectable7({ providedIn: "root" })
|
|
2274
2375
|
];
|
|
2275
2376
|
var _init = __decoratorStart(undefined);
|
|
2276
2377
|
|
|
2277
2378
|
class VoiceReplayTimelineService {
|
|
2278
2379
|
build(options) {
|
|
2279
|
-
const artifact =
|
|
2280
|
-
const report =
|
|
2380
|
+
const artifact = signal7(options.artifact);
|
|
2381
|
+
const report = computed7(() => buildReplayTimelineReport({ artifact: artifact() }));
|
|
2281
2382
|
return {
|
|
2282
2383
|
report,
|
|
2283
2384
|
setArtifact: (next) => artifact.set(next),
|
|
@@ -2290,7 +2391,7 @@ __runInitializers(_init, 1, VoiceReplayTimelineService);
|
|
|
2290
2391
|
__decoratorMetadata(_init, VoiceReplayTimelineService);
|
|
2291
2392
|
let _VoiceReplayTimelineService = VoiceReplayTimelineService;
|
|
2292
2393
|
// src/angular/voice-platform-coverage.service.ts
|
|
2293
|
-
import { computed as
|
|
2394
|
+
import { computed as computed8, Injectable as Injectable8, signal as signal8 } from "@angular/core";
|
|
2294
2395
|
|
|
2295
2396
|
// src/client/platformCoverage.ts
|
|
2296
2397
|
var fetchVoicePlatformCoverage = async (path = "/api/voice/platform-coverage", options = {}) => {
|
|
@@ -2373,17 +2474,17 @@ var createVoicePlatformCoverageStore = (path = "/api/voice/platform-coverage", o
|
|
|
2373
2474
|
|
|
2374
2475
|
// src/angular/voice-platform-coverage.service.ts
|
|
2375
2476
|
var _dec = [
|
|
2376
|
-
|
|
2477
|
+
Injectable8({ providedIn: "root" })
|
|
2377
2478
|
];
|
|
2378
2479
|
var _init = __decoratorStart(undefined);
|
|
2379
2480
|
|
|
2380
2481
|
class VoicePlatformCoverageService {
|
|
2381
2482
|
connect(path = "/api/voice/platform-coverage", options = {}) {
|
|
2382
2483
|
const store = createVoicePlatformCoverageStore(path, options);
|
|
2383
|
-
const errorSignal =
|
|
2384
|
-
const isLoadingSignal =
|
|
2385
|
-
const reportSignal =
|
|
2386
|
-
const updatedAtSignal =
|
|
2484
|
+
const errorSignal = signal8(null);
|
|
2485
|
+
const isLoadingSignal = signal8(false);
|
|
2486
|
+
const reportSignal = signal8(undefined);
|
|
2487
|
+
const updatedAtSignal = signal8(undefined);
|
|
2387
2488
|
const sync = () => {
|
|
2388
2489
|
const snapshot = store.getSnapshot();
|
|
2389
2490
|
errorSignal.set(snapshot.error);
|
|
@@ -2401,11 +2502,11 @@ class VoicePlatformCoverageService {
|
|
|
2401
2502
|
unsubscribe();
|
|
2402
2503
|
store.close();
|
|
2403
2504
|
},
|
|
2404
|
-
error:
|
|
2405
|
-
isLoading:
|
|
2505
|
+
error: computed8(() => errorSignal()),
|
|
2506
|
+
isLoading: computed8(() => isLoadingSignal()),
|
|
2406
2507
|
refresh: store.refresh,
|
|
2407
|
-
report:
|
|
2408
|
-
updatedAt:
|
|
2508
|
+
report: computed8(() => reportSignal()),
|
|
2509
|
+
updatedAt: computed8(() => updatedAtSignal())
|
|
2409
2510
|
};
|
|
2410
2511
|
}
|
|
2411
2512
|
}
|
|
@@ -2414,7 +2515,7 @@ __runInitializers(_init, 1, VoicePlatformCoverageService);
|
|
|
2414
2515
|
__decoratorMetadata(_init, VoicePlatformCoverageService);
|
|
2415
2516
|
let _VoicePlatformCoverageService = VoicePlatformCoverageService;
|
|
2416
2517
|
// src/angular/voice-proof-trends.service.ts
|
|
2417
|
-
import { computed as
|
|
2518
|
+
import { computed as computed9, Injectable as Injectable9, signal as signal9 } from "@angular/core";
|
|
2418
2519
|
|
|
2419
2520
|
// src/client/proofTrends.ts
|
|
2420
2521
|
var fetchVoiceProofTrends = async (path = "/api/voice/proof-trends", options = {}) => {
|
|
@@ -2497,17 +2598,17 @@ var createVoiceProofTrendsStore = (path = "/api/voice/proof-trends", options = {
|
|
|
2497
2598
|
|
|
2498
2599
|
// src/angular/voice-proof-trends.service.ts
|
|
2499
2600
|
var _dec = [
|
|
2500
|
-
|
|
2601
|
+
Injectable9({ providedIn: "root" })
|
|
2501
2602
|
];
|
|
2502
2603
|
var _init = __decoratorStart(undefined);
|
|
2503
2604
|
|
|
2504
2605
|
class VoiceProofTrendsService {
|
|
2505
2606
|
connect(path = "/api/voice/proof-trends", options = {}) {
|
|
2506
2607
|
const store = createVoiceProofTrendsStore(path, options);
|
|
2507
|
-
const errorSignal =
|
|
2508
|
-
const isLoadingSignal =
|
|
2509
|
-
const reportSignal =
|
|
2510
|
-
const updatedAtSignal =
|
|
2608
|
+
const errorSignal = signal9(null);
|
|
2609
|
+
const isLoadingSignal = signal9(false);
|
|
2610
|
+
const reportSignal = signal9(undefined);
|
|
2611
|
+
const updatedAtSignal = signal9(undefined);
|
|
2511
2612
|
const sync = () => {
|
|
2512
2613
|
const snapshot = store.getSnapshot();
|
|
2513
2614
|
errorSignal.set(snapshot.error);
|
|
@@ -2525,11 +2626,11 @@ class VoiceProofTrendsService {
|
|
|
2525
2626
|
unsubscribe();
|
|
2526
2627
|
store.close();
|
|
2527
2628
|
},
|
|
2528
|
-
error:
|
|
2529
|
-
isLoading:
|
|
2629
|
+
error: computed9(() => errorSignal()),
|
|
2630
|
+
isLoading: computed9(() => isLoadingSignal()),
|
|
2530
2631
|
refresh: store.refresh,
|
|
2531
|
-
report:
|
|
2532
|
-
updatedAt:
|
|
2632
|
+
report: computed9(() => reportSignal()),
|
|
2633
|
+
updatedAt: computed9(() => updatedAtSignal())
|
|
2533
2634
|
};
|
|
2534
2635
|
}
|
|
2535
2636
|
}
|
|
@@ -2538,7 +2639,7 @@ __runInitializers(_init, 1, VoiceProofTrendsService);
|
|
|
2538
2639
|
__decoratorMetadata(_init, VoiceProofTrendsService);
|
|
2539
2640
|
let _VoiceProofTrendsService = VoiceProofTrendsService;
|
|
2540
2641
|
// src/angular/voice-reconnect-profile-evidence.service.ts
|
|
2541
|
-
import { computed as
|
|
2642
|
+
import { computed as computed10, Injectable as Injectable10, signal as signal10 } from "@angular/core";
|
|
2542
2643
|
|
|
2543
2644
|
// src/client/reconnectProfileEvidence.ts
|
|
2544
2645
|
var fetchVoiceReconnectProfileEvidence = async (path = "/api/voice/reconnect-profile-evidence", options = {}) => {
|
|
@@ -2617,17 +2718,17 @@ var createVoiceReconnectProfileEvidenceStore = (path = "/api/voice/reconnect-pro
|
|
|
2617
2718
|
|
|
2618
2719
|
// src/angular/voice-reconnect-profile-evidence.service.ts
|
|
2619
2720
|
var _dec = [
|
|
2620
|
-
|
|
2721
|
+
Injectable10({ providedIn: "root" })
|
|
2621
2722
|
];
|
|
2622
2723
|
var _init = __decoratorStart(undefined);
|
|
2623
2724
|
|
|
2624
2725
|
class VoiceReconnectProfileEvidenceService {
|
|
2625
2726
|
connect(path = "/api/voice/reconnect-profile-evidence", options = {}) {
|
|
2626
2727
|
const store = createVoiceReconnectProfileEvidenceStore(path, options);
|
|
2627
|
-
const errorSignal =
|
|
2628
|
-
const isLoadingSignal =
|
|
2629
|
-
const reportSignal =
|
|
2630
|
-
const updatedAtSignal =
|
|
2728
|
+
const errorSignal = signal10(null);
|
|
2729
|
+
const isLoadingSignal = signal10(false);
|
|
2730
|
+
const reportSignal = signal10(undefined);
|
|
2731
|
+
const updatedAtSignal = signal10(undefined);
|
|
2631
2732
|
const sync = () => {
|
|
2632
2733
|
const snapshot = store.getSnapshot();
|
|
2633
2734
|
errorSignal.set(snapshot.error);
|
|
@@ -2645,11 +2746,11 @@ class VoiceReconnectProfileEvidenceService {
|
|
|
2645
2746
|
unsubscribe();
|
|
2646
2747
|
store.close();
|
|
2647
2748
|
},
|
|
2648
|
-
error:
|
|
2649
|
-
isLoading:
|
|
2749
|
+
error: computed10(() => errorSignal()),
|
|
2750
|
+
isLoading: computed10(() => isLoadingSignal()),
|
|
2650
2751
|
refresh: store.refresh,
|
|
2651
|
-
report:
|
|
2652
|
-
updatedAt:
|
|
2752
|
+
report: computed10(() => reportSignal()),
|
|
2753
|
+
updatedAt: computed10(() => updatedAtSignal())
|
|
2653
2754
|
};
|
|
2654
2755
|
}
|
|
2655
2756
|
}
|
|
@@ -2658,7 +2759,7 @@ __runInitializers(_init, 1, VoiceReconnectProfileEvidenceService);
|
|
|
2658
2759
|
__decoratorMetadata(_init, VoiceReconnectProfileEvidenceService);
|
|
2659
2760
|
let _VoiceReconnectProfileEvidenceService = VoiceReconnectProfileEvidenceService;
|
|
2660
2761
|
// src/angular/voice-call-debugger.service.ts
|
|
2661
|
-
import { computed as
|
|
2762
|
+
import { computed as computed11, Injectable as Injectable11, signal as signal11 } from "@angular/core";
|
|
2662
2763
|
|
|
2663
2764
|
// src/client/callDebugger.ts
|
|
2664
2765
|
var fetchVoiceCallDebugger = async (path, options = {}) => {
|
|
@@ -2737,17 +2838,17 @@ var createVoiceCallDebuggerStore = (path, options = {}) => {
|
|
|
2737
2838
|
|
|
2738
2839
|
// src/angular/voice-call-debugger.service.ts
|
|
2739
2840
|
var _dec = [
|
|
2740
|
-
|
|
2841
|
+
Injectable11({ providedIn: "root" })
|
|
2741
2842
|
];
|
|
2742
2843
|
var _init = __decoratorStart(undefined);
|
|
2743
2844
|
|
|
2744
2845
|
class VoiceCallDebuggerService {
|
|
2745
2846
|
connect(path, options = {}) {
|
|
2746
2847
|
const store = createVoiceCallDebuggerStore(path, options);
|
|
2747
|
-
const errorSignal =
|
|
2748
|
-
const isLoadingSignal =
|
|
2749
|
-
const reportSignal =
|
|
2750
|
-
const updatedAtSignal =
|
|
2848
|
+
const errorSignal = signal11(null);
|
|
2849
|
+
const isLoadingSignal = signal11(false);
|
|
2850
|
+
const reportSignal = signal11(undefined);
|
|
2851
|
+
const updatedAtSignal = signal11(undefined);
|
|
2751
2852
|
const sync = () => {
|
|
2752
2853
|
const state = store.getSnapshot();
|
|
2753
2854
|
errorSignal.set(state.error);
|
|
@@ -2763,11 +2864,11 @@ class VoiceCallDebuggerService {
|
|
|
2763
2864
|
unsubscribe();
|
|
2764
2865
|
store.close();
|
|
2765
2866
|
},
|
|
2766
|
-
error:
|
|
2767
|
-
isLoading:
|
|
2867
|
+
error: computed11(() => errorSignal()),
|
|
2868
|
+
isLoading: computed11(() => isLoadingSignal()),
|
|
2768
2869
|
refresh: store.refresh,
|
|
2769
|
-
report:
|
|
2770
|
-
updatedAt:
|
|
2870
|
+
report: computed11(() => reportSignal()),
|
|
2871
|
+
updatedAt: computed11(() => updatedAtSignal())
|
|
2771
2872
|
};
|
|
2772
2873
|
}
|
|
2773
2874
|
}
|
|
@@ -2776,7 +2877,7 @@ __runInitializers(_init, 1, VoiceCallDebuggerService);
|
|
|
2776
2877
|
__decoratorMetadata(_init, VoiceCallDebuggerService);
|
|
2777
2878
|
let _VoiceCallDebuggerService = VoiceCallDebuggerService;
|
|
2778
2879
|
// src/angular/voice-session-snapshot.service.ts
|
|
2779
|
-
import { computed as
|
|
2880
|
+
import { computed as computed12, Injectable as Injectable12, signal as signal12 } from "@angular/core";
|
|
2780
2881
|
|
|
2781
2882
|
// src/client/sessionSnapshot.ts
|
|
2782
2883
|
var withTurnId = (path, turnId) => {
|
|
@@ -2873,17 +2974,17 @@ var createVoiceSessionSnapshotStore = (path, options = {}) => {
|
|
|
2873
2974
|
|
|
2874
2975
|
// src/angular/voice-session-snapshot.service.ts
|
|
2875
2976
|
var _dec = [
|
|
2876
|
-
|
|
2977
|
+
Injectable12({ providedIn: "root" })
|
|
2877
2978
|
];
|
|
2878
2979
|
var _init = __decoratorStart(undefined);
|
|
2879
2980
|
|
|
2880
2981
|
class VoiceSessionSnapshotService {
|
|
2881
2982
|
connect(path, options = {}) {
|
|
2882
2983
|
const store = createVoiceSessionSnapshotStore(path, options);
|
|
2883
|
-
const errorSignal =
|
|
2884
|
-
const isLoadingSignal =
|
|
2885
|
-
const snapshotSignal =
|
|
2886
|
-
const updatedAtSignal =
|
|
2984
|
+
const errorSignal = signal12(null);
|
|
2985
|
+
const isLoadingSignal = signal12(false);
|
|
2986
|
+
const snapshotSignal = signal12(undefined);
|
|
2987
|
+
const updatedAtSignal = signal12(undefined);
|
|
2887
2988
|
const sync = () => {
|
|
2888
2989
|
const state = store.getSnapshot();
|
|
2889
2990
|
errorSignal.set(state.error);
|
|
@@ -2900,11 +3001,11 @@ class VoiceSessionSnapshotService {
|
|
|
2900
3001
|
store.close();
|
|
2901
3002
|
},
|
|
2902
3003
|
download: store.download,
|
|
2903
|
-
error:
|
|
2904
|
-
isLoading:
|
|
3004
|
+
error: computed12(() => errorSignal()),
|
|
3005
|
+
isLoading: computed12(() => isLoadingSignal()),
|
|
2905
3006
|
refresh: store.refresh,
|
|
2906
|
-
snapshot:
|
|
2907
|
-
updatedAt:
|
|
3007
|
+
snapshot: computed12(() => snapshotSignal()),
|
|
3008
|
+
updatedAt: computed12(() => updatedAtSignal())
|
|
2908
3009
|
};
|
|
2909
3010
|
}
|
|
2910
3011
|
}
|
|
@@ -2913,7 +3014,7 @@ __runInitializers(_init, 1, VoiceSessionSnapshotService);
|
|
|
2913
3014
|
__decoratorMetadata(_init, VoiceSessionSnapshotService);
|
|
2914
3015
|
let _VoiceSessionSnapshotService = VoiceSessionSnapshotService;
|
|
2915
3016
|
// src/angular/voice-session-observability.service.ts
|
|
2916
|
-
import { computed as
|
|
3017
|
+
import { computed as computed13, Injectable as Injectable13, signal as signal13 } from "@angular/core";
|
|
2917
3018
|
|
|
2918
3019
|
// src/client/sessionObservability.ts
|
|
2919
3020
|
var fetchVoiceSessionObservability = async (path, options = {}) => {
|
|
@@ -2997,17 +3098,17 @@ var createVoiceSessionObservabilityStore = (path, options = {}) => {
|
|
|
2997
3098
|
|
|
2998
3099
|
// src/angular/voice-session-observability.service.ts
|
|
2999
3100
|
var _dec = [
|
|
3000
|
-
|
|
3101
|
+
Injectable13({ providedIn: "root" })
|
|
3001
3102
|
];
|
|
3002
3103
|
var _init = __decoratorStart(undefined);
|
|
3003
3104
|
|
|
3004
3105
|
class VoiceSessionObservabilityService {
|
|
3005
3106
|
connect(path = "/api/voice/session-observability/latest", options = {}) {
|
|
3006
3107
|
const store = createVoiceSessionObservabilityStore(path, options);
|
|
3007
|
-
const errorSignal =
|
|
3008
|
-
const isLoadingSignal =
|
|
3009
|
-
const reportSignal =
|
|
3010
|
-
const updatedAtSignal =
|
|
3108
|
+
const errorSignal = signal13(null);
|
|
3109
|
+
const isLoadingSignal = signal13(false);
|
|
3110
|
+
const reportSignal = signal13(null);
|
|
3111
|
+
const updatedAtSignal = signal13(undefined);
|
|
3011
3112
|
const sync = () => {
|
|
3012
3113
|
const snapshot = store.getSnapshot();
|
|
3013
3114
|
errorSignal.set(snapshot.error);
|
|
@@ -3023,11 +3124,11 @@ class VoiceSessionObservabilityService {
|
|
|
3023
3124
|
unsubscribe();
|
|
3024
3125
|
store.close();
|
|
3025
3126
|
},
|
|
3026
|
-
error:
|
|
3027
|
-
isLoading:
|
|
3127
|
+
error: computed13(() => errorSignal()),
|
|
3128
|
+
isLoading: computed13(() => isLoadingSignal()),
|
|
3028
3129
|
refresh: store.refresh,
|
|
3029
|
-
report:
|
|
3030
|
-
updatedAt:
|
|
3130
|
+
report: computed13(() => reportSignal()),
|
|
3131
|
+
updatedAt: computed13(() => updatedAtSignal())
|
|
3031
3132
|
};
|
|
3032
3133
|
}
|
|
3033
3134
|
}
|
|
@@ -3036,7 +3137,7 @@ __runInitializers(_init, 1, VoiceSessionObservabilityService);
|
|
|
3036
3137
|
__decoratorMetadata(_init, VoiceSessionObservabilityService);
|
|
3037
3138
|
let _VoiceSessionObservabilityService = VoiceSessionObservabilityService;
|
|
3038
3139
|
// src/angular/voice-profile-comparison.service.ts
|
|
3039
|
-
import { computed as
|
|
3140
|
+
import { computed as computed14, Injectable as Injectable14, signal as signal14 } from "@angular/core";
|
|
3040
3141
|
|
|
3041
3142
|
// src/client/profileComparison.ts
|
|
3042
3143
|
var fetchVoiceProfileComparison = async (path = "/api/voice/real-call-profile-history", options = {}) => {
|
|
@@ -3115,17 +3216,17 @@ var createVoiceProfileComparisonStore = (path = "/api/voice/real-call-profile-hi
|
|
|
3115
3216
|
|
|
3116
3217
|
// src/angular/voice-profile-comparison.service.ts
|
|
3117
3218
|
var _dec = [
|
|
3118
|
-
|
|
3219
|
+
Injectable14({ providedIn: "root" })
|
|
3119
3220
|
];
|
|
3120
3221
|
var _init = __decoratorStart(undefined);
|
|
3121
3222
|
|
|
3122
3223
|
class VoiceProfileComparisonService {
|
|
3123
3224
|
connect(path = "/api/voice/real-call-profile-history", options = {}) {
|
|
3124
3225
|
const store = createVoiceProfileComparisonStore(path, options);
|
|
3125
|
-
const errorSignal =
|
|
3126
|
-
const isLoadingSignal =
|
|
3127
|
-
const reportSignal =
|
|
3128
|
-
const updatedAtSignal =
|
|
3226
|
+
const errorSignal = signal14(null);
|
|
3227
|
+
const isLoadingSignal = signal14(false);
|
|
3228
|
+
const reportSignal = signal14(undefined);
|
|
3229
|
+
const updatedAtSignal = signal14(undefined);
|
|
3129
3230
|
const sync = () => {
|
|
3130
3231
|
const snapshot = store.getSnapshot();
|
|
3131
3232
|
errorSignal.set(snapshot.error);
|
|
@@ -3143,11 +3244,11 @@ class VoiceProfileComparisonService {
|
|
|
3143
3244
|
unsubscribe();
|
|
3144
3245
|
store.close();
|
|
3145
3246
|
},
|
|
3146
|
-
error:
|
|
3147
|
-
isLoading:
|
|
3247
|
+
error: computed14(() => errorSignal()),
|
|
3248
|
+
isLoading: computed14(() => isLoadingSignal()),
|
|
3148
3249
|
refresh: store.refresh,
|
|
3149
|
-
report:
|
|
3150
|
-
updatedAt:
|
|
3250
|
+
report: computed14(() => reportSignal()),
|
|
3251
|
+
updatedAt: computed14(() => updatedAtSignal())
|
|
3151
3252
|
};
|
|
3152
3253
|
}
|
|
3153
3254
|
}
|
|
@@ -3156,7 +3257,7 @@ __runInitializers(_init, 1, VoiceProfileComparisonService);
|
|
|
3156
3257
|
__decoratorMetadata(_init, VoiceProfileComparisonService);
|
|
3157
3258
|
let _VoiceProfileComparisonService = VoiceProfileComparisonService;
|
|
3158
3259
|
// src/angular/voice-readiness-failures.service.ts
|
|
3159
|
-
import { computed as
|
|
3260
|
+
import { computed as computed15, Injectable as Injectable15, signal as signal15 } from "@angular/core";
|
|
3160
3261
|
|
|
3161
3262
|
// src/client/readinessFailures.ts
|
|
3162
3263
|
var fetchVoiceReadinessFailures = async (path = "/api/production-readiness", options = {}) => {
|
|
@@ -3235,17 +3336,17 @@ var createVoiceReadinessFailuresStore = (path = "/api/production-readiness", opt
|
|
|
3235
3336
|
|
|
3236
3337
|
// src/angular/voice-readiness-failures.service.ts
|
|
3237
3338
|
var _dec = [
|
|
3238
|
-
|
|
3339
|
+
Injectable15({ providedIn: "root" })
|
|
3239
3340
|
];
|
|
3240
3341
|
var _init = __decoratorStart(undefined);
|
|
3241
3342
|
|
|
3242
3343
|
class VoiceReadinessFailuresService {
|
|
3243
3344
|
connect(path = "/api/production-readiness", options = {}) {
|
|
3244
3345
|
const store = createVoiceReadinessFailuresStore(path, options);
|
|
3245
|
-
const errorSignal =
|
|
3246
|
-
const isLoadingSignal =
|
|
3247
|
-
const reportSignal =
|
|
3248
|
-
const updatedAtSignal =
|
|
3346
|
+
const errorSignal = signal15(null);
|
|
3347
|
+
const isLoadingSignal = signal15(false);
|
|
3348
|
+
const reportSignal = signal15(undefined);
|
|
3349
|
+
const updatedAtSignal = signal15(undefined);
|
|
3249
3350
|
const sync = () => {
|
|
3250
3351
|
const snapshot = store.getSnapshot();
|
|
3251
3352
|
errorSignal.set(snapshot.error);
|
|
@@ -3263,12 +3364,12 @@ class VoiceReadinessFailuresService {
|
|
|
3263
3364
|
unsubscribe();
|
|
3264
3365
|
store.close();
|
|
3265
3366
|
},
|
|
3266
|
-
error:
|
|
3267
|
-
explanations:
|
|
3268
|
-
isLoading:
|
|
3367
|
+
error: computed15(() => errorSignal()),
|
|
3368
|
+
explanations: computed15(() => reportSignal()?.checks.filter((check) => check.status !== "pass" && !!check.gateExplanation) ?? []),
|
|
3369
|
+
isLoading: computed15(() => isLoadingSignal()),
|
|
3269
3370
|
refresh: store.refresh,
|
|
3270
|
-
report:
|
|
3271
|
-
updatedAt:
|
|
3371
|
+
report: computed15(() => reportSignal()),
|
|
3372
|
+
updatedAt: computed15(() => updatedAtSignal())
|
|
3272
3373
|
};
|
|
3273
3374
|
}
|
|
3274
3375
|
}
|
|
@@ -3277,7 +3378,7 @@ __runInitializers(_init, 1, VoiceReadinessFailuresService);
|
|
|
3277
3378
|
__decoratorMetadata(_init, VoiceReadinessFailuresService);
|
|
3278
3379
|
let _VoiceReadinessFailuresService = VoiceReadinessFailuresService;
|
|
3279
3380
|
// src/angular/voice-ops-action-center.service.ts
|
|
3280
|
-
import { computed as
|
|
3381
|
+
import { computed as computed16, Injectable as Injectable16, signal as signal16 } from "@angular/core";
|
|
3281
3382
|
|
|
3282
3383
|
// src/client/opsActionCenter.ts
|
|
3283
3384
|
var recordVoiceOpsActionResult = async (result, options = {}) => {
|
|
@@ -3472,18 +3573,18 @@ var createVoiceOpsActionCenterStore = (options = {}) => {
|
|
|
3472
3573
|
|
|
3473
3574
|
// src/angular/voice-ops-action-center.service.ts
|
|
3474
3575
|
var _dec = [
|
|
3475
|
-
|
|
3576
|
+
Injectable16({ providedIn: "root" })
|
|
3476
3577
|
];
|
|
3477
3578
|
var _init = __decoratorStart(undefined);
|
|
3478
3579
|
|
|
3479
3580
|
class VoiceOpsActionCenterService {
|
|
3480
3581
|
connect(options = {}) {
|
|
3481
3582
|
const store = createVoiceOpsActionCenterStore(options);
|
|
3482
|
-
const actionsSignal =
|
|
3483
|
-
const errorSignal =
|
|
3484
|
-
const isRunningSignal =
|
|
3485
|
-
const lastResultSignal =
|
|
3486
|
-
const runningActionIdSignal =
|
|
3583
|
+
const actionsSignal = signal16([]);
|
|
3584
|
+
const errorSignal = signal16(null);
|
|
3585
|
+
const isRunningSignal = signal16(false);
|
|
3586
|
+
const lastResultSignal = signal16(undefined);
|
|
3587
|
+
const runningActionIdSignal = signal16(undefined);
|
|
3487
3588
|
const sync = () => {
|
|
3488
3589
|
const snapshot = store.getSnapshot();
|
|
3489
3590
|
actionsSignal.set(snapshot.actions);
|
|
@@ -3495,16 +3596,16 @@ class VoiceOpsActionCenterService {
|
|
|
3495
3596
|
const unsubscribe = store.subscribe(sync);
|
|
3496
3597
|
sync();
|
|
3497
3598
|
return {
|
|
3498
|
-
actions:
|
|
3599
|
+
actions: computed16(() => actionsSignal()),
|
|
3499
3600
|
close: () => {
|
|
3500
3601
|
unsubscribe();
|
|
3501
3602
|
store.close();
|
|
3502
3603
|
},
|
|
3503
|
-
error:
|
|
3504
|
-
isRunning:
|
|
3505
|
-
lastResult:
|
|
3604
|
+
error: computed16(() => errorSignal()),
|
|
3605
|
+
isRunning: computed16(() => isRunningSignal()),
|
|
3606
|
+
lastResult: computed16(() => lastResultSignal()),
|
|
3506
3607
|
run: store.run,
|
|
3507
|
-
runningActionId:
|
|
3608
|
+
runningActionId: computed16(() => runningActionIdSignal()),
|
|
3508
3609
|
setActions: store.setActions
|
|
3509
3610
|
};
|
|
3510
3611
|
}
|
|
@@ -3514,7 +3615,7 @@ __runInitializers(_init, 1, VoiceOpsActionCenterService);
|
|
|
3514
3615
|
__decoratorMetadata(_init, VoiceOpsActionCenterService);
|
|
3515
3616
|
let _VoiceOpsActionCenterService = VoiceOpsActionCenterService;
|
|
3516
3617
|
// src/angular/voice-live-ops.service.ts
|
|
3517
|
-
import { computed as
|
|
3618
|
+
import { computed as computed17, Injectable as Injectable17, signal as signal17 } from "@angular/core";
|
|
3518
3619
|
|
|
3519
3620
|
// src/client/liveOps.ts
|
|
3520
3621
|
var postVoiceLiveOpsAction = async (input, options = {}) => {
|
|
@@ -3604,17 +3705,17 @@ var createVoiceLiveOpsStore = (options = {}) => {
|
|
|
3604
3705
|
|
|
3605
3706
|
// src/angular/voice-live-ops.service.ts
|
|
3606
3707
|
var _dec = [
|
|
3607
|
-
|
|
3708
|
+
Injectable17({ providedIn: "root" })
|
|
3608
3709
|
];
|
|
3609
3710
|
var _init = __decoratorStart(undefined);
|
|
3610
3711
|
|
|
3611
3712
|
class VoiceLiveOpsService {
|
|
3612
3713
|
connect(options = {}) {
|
|
3613
3714
|
const store = createVoiceLiveOpsStore(options);
|
|
3614
|
-
const errorSignal =
|
|
3615
|
-
const isRunningSignal =
|
|
3616
|
-
const lastResultSignal =
|
|
3617
|
-
const runningActionSignal =
|
|
3715
|
+
const errorSignal = signal17(null);
|
|
3716
|
+
const isRunningSignal = signal17(false);
|
|
3717
|
+
const lastResultSignal = signal17(undefined);
|
|
3718
|
+
const runningActionSignal = signal17(undefined);
|
|
3618
3719
|
const sync = () => {
|
|
3619
3720
|
const snapshot = store.getSnapshot();
|
|
3620
3721
|
errorSignal.set(snapshot.error);
|
|
@@ -3629,11 +3730,11 @@ class VoiceLiveOpsService {
|
|
|
3629
3730
|
unsubscribe();
|
|
3630
3731
|
store.close();
|
|
3631
3732
|
},
|
|
3632
|
-
error:
|
|
3633
|
-
isRunning:
|
|
3634
|
-
lastResult:
|
|
3733
|
+
error: computed17(() => errorSignal()),
|
|
3734
|
+
isRunning: computed17(() => isRunningSignal()),
|
|
3735
|
+
lastResult: computed17(() => lastResultSignal()),
|
|
3635
3736
|
run: store.run,
|
|
3636
|
-
runningAction:
|
|
3737
|
+
runningAction: computed17(() => runningActionSignal())
|
|
3637
3738
|
};
|
|
3638
3739
|
}
|
|
3639
3740
|
}
|
|
@@ -3642,7 +3743,7 @@ __runInitializers(_init, 1, VoiceLiveOpsService);
|
|
|
3642
3743
|
__decoratorMetadata(_init, VoiceLiveOpsService);
|
|
3643
3744
|
let _VoiceLiveOpsService = VoiceLiveOpsService;
|
|
3644
3745
|
// src/angular/voice-delivery-runtime.service.ts
|
|
3645
|
-
import { computed as
|
|
3746
|
+
import { computed as computed18, Injectable as Injectable18, signal as signal18 } from "@angular/core";
|
|
3646
3747
|
|
|
3647
3748
|
// src/client/deliveryRuntime.ts
|
|
3648
3749
|
var getDefaultActionPath = (path, action, options) => {
|
|
@@ -3783,19 +3884,19 @@ var createVoiceDeliveryRuntimeStore = (path = "/api/voice-delivery-runtime", opt
|
|
|
3783
3884
|
|
|
3784
3885
|
// src/angular/voice-delivery-runtime.service.ts
|
|
3785
3886
|
var _dec = [
|
|
3786
|
-
|
|
3887
|
+
Injectable18({ providedIn: "root" })
|
|
3787
3888
|
];
|
|
3788
3889
|
var _init = __decoratorStart(undefined);
|
|
3789
3890
|
|
|
3790
3891
|
class VoiceDeliveryRuntimeService {
|
|
3791
3892
|
connect(path = "/api/voice-delivery-runtime", options = {}) {
|
|
3792
3893
|
const store = createVoiceDeliveryRuntimeStore(path, options);
|
|
3793
|
-
const actionErrorSignal =
|
|
3794
|
-
const actionStatusSignal =
|
|
3795
|
-
const errorSignal =
|
|
3796
|
-
const isLoadingSignal =
|
|
3797
|
-
const reportSignal =
|
|
3798
|
-
const updatedAtSignal =
|
|
3894
|
+
const actionErrorSignal = signal18(null);
|
|
3895
|
+
const actionStatusSignal = signal18("idle");
|
|
3896
|
+
const errorSignal = signal18(null);
|
|
3897
|
+
const isLoadingSignal = signal18(false);
|
|
3898
|
+
const reportSignal = signal18(undefined);
|
|
3899
|
+
const updatedAtSignal = signal18(undefined);
|
|
3799
3900
|
const sync = () => {
|
|
3800
3901
|
const snapshot = store.getSnapshot();
|
|
3801
3902
|
actionErrorSignal.set(snapshot.actionError);
|
|
@@ -3815,15 +3916,15 @@ class VoiceDeliveryRuntimeService {
|
|
|
3815
3916
|
unsubscribe();
|
|
3816
3917
|
store.close();
|
|
3817
3918
|
},
|
|
3818
|
-
error:
|
|
3819
|
-
actionError:
|
|
3820
|
-
actionStatus:
|
|
3821
|
-
isLoading:
|
|
3919
|
+
error: computed18(() => errorSignal()),
|
|
3920
|
+
actionError: computed18(() => actionErrorSignal()),
|
|
3921
|
+
actionStatus: computed18(() => actionStatusSignal()),
|
|
3922
|
+
isLoading: computed18(() => isLoadingSignal()),
|
|
3822
3923
|
requeueDeadLetters: store.requeueDeadLetters,
|
|
3823
3924
|
refresh: store.refresh,
|
|
3824
|
-
report:
|
|
3925
|
+
report: computed18(() => reportSignal()),
|
|
3825
3926
|
tick: store.tick,
|
|
3826
|
-
updatedAt:
|
|
3927
|
+
updatedAt: computed18(() => updatedAtSignal())
|
|
3827
3928
|
};
|
|
3828
3929
|
}
|
|
3829
3930
|
}
|
|
@@ -3832,7 +3933,7 @@ __runInitializers(_init, 1, VoiceDeliveryRuntimeService);
|
|
|
3832
3933
|
__decoratorMetadata(_init, VoiceDeliveryRuntimeService);
|
|
3833
3934
|
let _VoiceDeliveryRuntimeService = VoiceDeliveryRuntimeService;
|
|
3834
3935
|
// src/angular/voice-campaign-dialer-proof.service.ts
|
|
3835
|
-
import { computed as
|
|
3936
|
+
import { computed as computed19, Injectable as Injectable19, signal as signal19 } from "@angular/core";
|
|
3836
3937
|
|
|
3837
3938
|
// src/client/campaignDialerProof.ts
|
|
3838
3939
|
var fetchVoiceCampaignDialerProofStatus = async (path = "/api/voice/campaigns/dialer-proof", options = {}) => {
|
|
@@ -3954,18 +4055,18 @@ var createVoiceCampaignDialerProofStore = (path = "/api/voice/campaigns/dialer-p
|
|
|
3954
4055
|
|
|
3955
4056
|
// src/angular/voice-campaign-dialer-proof.service.ts
|
|
3956
4057
|
var _dec = [
|
|
3957
|
-
|
|
4058
|
+
Injectable19({ providedIn: "root" })
|
|
3958
4059
|
];
|
|
3959
4060
|
var _init = __decoratorStart(undefined);
|
|
3960
4061
|
|
|
3961
4062
|
class VoiceCampaignDialerProofService {
|
|
3962
4063
|
connect(path = "/api/voice/campaigns/dialer-proof", options = {}) {
|
|
3963
4064
|
const store = createVoiceCampaignDialerProofStore(path, options);
|
|
3964
|
-
const errorSignal =
|
|
3965
|
-
const isLoadingSignal =
|
|
3966
|
-
const reportSignal =
|
|
3967
|
-
const statusSignal =
|
|
3968
|
-
const updatedAtSignal =
|
|
4065
|
+
const errorSignal = signal19(null);
|
|
4066
|
+
const isLoadingSignal = signal19(false);
|
|
4067
|
+
const reportSignal = signal19(undefined);
|
|
4068
|
+
const statusSignal = signal19(undefined);
|
|
4069
|
+
const updatedAtSignal = signal19(undefined);
|
|
3969
4070
|
const sync = () => {
|
|
3970
4071
|
const snapshot = store.getSnapshot();
|
|
3971
4072
|
errorSignal.set(snapshot.error);
|
|
@@ -3982,13 +4083,13 @@ class VoiceCampaignDialerProofService {
|
|
|
3982
4083
|
unsubscribe();
|
|
3983
4084
|
store.close();
|
|
3984
4085
|
},
|
|
3985
|
-
error:
|
|
3986
|
-
isLoading:
|
|
4086
|
+
error: computed19(() => errorSignal()),
|
|
4087
|
+
isLoading: computed19(() => isLoadingSignal()),
|
|
3987
4088
|
refresh: store.refresh,
|
|
3988
|
-
report:
|
|
4089
|
+
report: computed19(() => reportSignal()),
|
|
3989
4090
|
runProof: store.runProof,
|
|
3990
|
-
status:
|
|
3991
|
-
updatedAt:
|
|
4091
|
+
status: computed19(() => statusSignal()),
|
|
4092
|
+
updatedAt: computed19(() => updatedAtSignal())
|
|
3992
4093
|
};
|
|
3993
4094
|
}
|
|
3994
4095
|
}
|
|
@@ -3997,26 +4098,26 @@ __runInitializers(_init, 1, VoiceCampaignDialerProofService);
|
|
|
3997
4098
|
__decoratorMetadata(_init, VoiceCampaignDialerProofService);
|
|
3998
4099
|
let _VoiceCampaignDialerProofService = VoiceCampaignDialerProofService;
|
|
3999
4100
|
// src/angular/voice-stream.service.ts
|
|
4000
|
-
import { computed as
|
|
4101
|
+
import { computed as computed20, Injectable as Injectable20, signal as signal20 } from "@angular/core";
|
|
4001
4102
|
var _dec = [
|
|
4002
|
-
|
|
4103
|
+
Injectable20({ providedIn: "root" })
|
|
4003
4104
|
];
|
|
4004
4105
|
var _init = __decoratorStart(undefined);
|
|
4005
4106
|
|
|
4006
4107
|
class VoiceStreamService {
|
|
4007
4108
|
connect(path, options = {}) {
|
|
4008
4109
|
const stream = createVoiceStream(path, options);
|
|
4009
|
-
const assistantAudioSignal =
|
|
4010
|
-
const assistantTextsSignal =
|
|
4011
|
-
const callSignal =
|
|
4012
|
-
const errorSignal =
|
|
4013
|
-
const isConnectedSignal =
|
|
4014
|
-
const partialSignal =
|
|
4015
|
-
const reconnectSignal =
|
|
4016
|
-
const sessionIdSignal =
|
|
4017
|
-
const sessionMetadataSignal =
|
|
4018
|
-
const statusSignal =
|
|
4019
|
-
const turnsSignal =
|
|
4110
|
+
const assistantAudioSignal = signal20([]);
|
|
4111
|
+
const assistantTextsSignal = signal20([]);
|
|
4112
|
+
const callSignal = signal20(null);
|
|
4113
|
+
const errorSignal = signal20(null);
|
|
4114
|
+
const isConnectedSignal = signal20(false);
|
|
4115
|
+
const partialSignal = signal20("");
|
|
4116
|
+
const reconnectSignal = signal20(stream.reconnect);
|
|
4117
|
+
const sessionIdSignal = signal20(stream.sessionId);
|
|
4118
|
+
const sessionMetadataSignal = signal20(stream.sessionMetadata);
|
|
4119
|
+
const statusSignal = signal20(stream.status);
|
|
4120
|
+
const turnsSignal = signal20([]);
|
|
4020
4121
|
const sync = () => {
|
|
4021
4122
|
assistantAudioSignal.set([...stream.assistantAudio]);
|
|
4022
4123
|
assistantTextsSignal.set([...stream.assistantTexts]);
|
|
@@ -4033,25 +4134,25 @@ class VoiceStreamService {
|
|
|
4033
4134
|
const unsubscribe = stream.subscribe(sync);
|
|
4034
4135
|
sync();
|
|
4035
4136
|
return {
|
|
4036
|
-
assistantAudio:
|
|
4037
|
-
assistantTexts:
|
|
4038
|
-
call:
|
|
4137
|
+
assistantAudio: computed20(() => assistantAudioSignal()),
|
|
4138
|
+
assistantTexts: computed20(() => assistantTextsSignal()),
|
|
4139
|
+
call: computed20(() => callSignal()),
|
|
4039
4140
|
callControl: (message) => stream.callControl(message),
|
|
4040
4141
|
close: () => {
|
|
4041
4142
|
unsubscribe();
|
|
4042
4143
|
stream.close();
|
|
4043
4144
|
},
|
|
4044
4145
|
endTurn: () => stream.endTurn(),
|
|
4045
|
-
error:
|
|
4046
|
-
isConnected:
|
|
4047
|
-
partial:
|
|
4048
|
-
reconnect:
|
|
4146
|
+
error: computed20(() => errorSignal()),
|
|
4147
|
+
isConnected: computed20(() => isConnectedSignal()),
|
|
4148
|
+
partial: computed20(() => partialSignal()),
|
|
4149
|
+
reconnect: computed20(() => reconnectSignal()),
|
|
4049
4150
|
sendAudio: (audio) => stream.sendAudio(audio),
|
|
4050
4151
|
simulateDisconnect: () => stream.simulateDisconnect(),
|
|
4051
|
-
sessionId:
|
|
4052
|
-
sessionMetadata:
|
|
4053
|
-
status:
|
|
4054
|
-
turns:
|
|
4152
|
+
sessionId: computed20(() => sessionIdSignal()),
|
|
4153
|
+
sessionMetadata: computed20(() => sessionMetadataSignal()),
|
|
4154
|
+
status: computed20(() => statusSignal()),
|
|
4155
|
+
turns: computed20(() => turnsSignal())
|
|
4055
4156
|
};
|
|
4056
4157
|
}
|
|
4057
4158
|
}
|
|
@@ -4060,26 +4161,26 @@ __runInitializers(_init, 1, VoiceStreamService);
|
|
|
4060
4161
|
__decoratorMetadata(_init, VoiceStreamService);
|
|
4061
4162
|
let _VoiceStreamService = VoiceStreamService;
|
|
4062
4163
|
// src/angular/voice-controller.service.ts
|
|
4063
|
-
import { computed as
|
|
4164
|
+
import { computed as computed21, Injectable as Injectable21, signal as signal21 } from "@angular/core";
|
|
4064
4165
|
var _dec = [
|
|
4065
|
-
|
|
4166
|
+
Injectable21({ providedIn: "root" })
|
|
4066
4167
|
];
|
|
4067
4168
|
var _init = __decoratorStart(undefined);
|
|
4068
4169
|
|
|
4069
4170
|
class VoiceControllerService {
|
|
4070
4171
|
connect(path, options = {}) {
|
|
4071
4172
|
const controller = createVoiceController(path, options);
|
|
4072
|
-
const assistantAudioSignal =
|
|
4073
|
-
const assistantTextsSignal =
|
|
4074
|
-
const errorSignal =
|
|
4075
|
-
const isConnectedSignal =
|
|
4076
|
-
const isRecordingSignal =
|
|
4077
|
-
const partialSignal =
|
|
4078
|
-
const reconnectSignal =
|
|
4079
|
-
const recordingErrorSignal =
|
|
4080
|
-
const sessionIdSignal =
|
|
4081
|
-
const statusSignal =
|
|
4082
|
-
const turnsSignal =
|
|
4173
|
+
const assistantAudioSignal = signal21([]);
|
|
4174
|
+
const assistantTextsSignal = signal21([]);
|
|
4175
|
+
const errorSignal = signal21(null);
|
|
4176
|
+
const isConnectedSignal = signal21(false);
|
|
4177
|
+
const isRecordingSignal = signal21(false);
|
|
4178
|
+
const partialSignal = signal21("");
|
|
4179
|
+
const reconnectSignal = signal21(controller.reconnect);
|
|
4180
|
+
const recordingErrorSignal = signal21(null);
|
|
4181
|
+
const sessionIdSignal = signal21(controller.sessionId);
|
|
4182
|
+
const statusSignal = signal21(controller.status);
|
|
4183
|
+
const turnsSignal = signal21([]);
|
|
4083
4184
|
const sync = () => {
|
|
4084
4185
|
assistantAudioSignal.set([...controller.assistantAudio]);
|
|
4085
4186
|
assistantTextsSignal.set([...controller.assistantTexts]);
|
|
@@ -4096,28 +4197,28 @@ class VoiceControllerService {
|
|
|
4096
4197
|
const unsubscribe = controller.subscribe(sync);
|
|
4097
4198
|
sync();
|
|
4098
4199
|
return {
|
|
4099
|
-
assistantAudio:
|
|
4100
|
-
assistantTexts:
|
|
4200
|
+
assistantAudio: computed21(() => assistantAudioSignal()),
|
|
4201
|
+
assistantTexts: computed21(() => assistantTextsSignal()),
|
|
4101
4202
|
bindHTMX: controller.bindHTMX,
|
|
4102
4203
|
close: () => {
|
|
4103
4204
|
unsubscribe();
|
|
4104
4205
|
controller.close();
|
|
4105
4206
|
},
|
|
4106
4207
|
endTurn: () => controller.endTurn(),
|
|
4107
|
-
error:
|
|
4108
|
-
isConnected:
|
|
4109
|
-
isRecording:
|
|
4110
|
-
partial:
|
|
4111
|
-
reconnect:
|
|
4112
|
-
recordingError:
|
|
4208
|
+
error: computed21(() => errorSignal()),
|
|
4209
|
+
isConnected: computed21(() => isConnectedSignal()),
|
|
4210
|
+
isRecording: computed21(() => isRecordingSignal()),
|
|
4211
|
+
partial: computed21(() => partialSignal()),
|
|
4212
|
+
reconnect: computed21(() => reconnectSignal()),
|
|
4213
|
+
recordingError: computed21(() => recordingErrorSignal()),
|
|
4113
4214
|
sendAudio: (audio) => controller.sendAudio(audio),
|
|
4114
4215
|
simulateDisconnect: () => controller.simulateDisconnect(),
|
|
4115
|
-
sessionId:
|
|
4216
|
+
sessionId: computed21(() => sessionIdSignal()),
|
|
4116
4217
|
startRecording: () => controller.startRecording(),
|
|
4117
|
-
status:
|
|
4218
|
+
status: computed21(() => statusSignal()),
|
|
4118
4219
|
stopRecording: () => controller.stopRecording(),
|
|
4119
4220
|
toggleRecording: () => controller.toggleRecording(),
|
|
4120
|
-
turns:
|
|
4221
|
+
turns: computed21(() => turnsSignal())
|
|
4121
4222
|
};
|
|
4122
4223
|
}
|
|
4123
4224
|
}
|
|
@@ -4126,7 +4227,7 @@ __runInitializers(_init, 1, VoiceControllerService);
|
|
|
4126
4227
|
__decoratorMetadata(_init, VoiceControllerService);
|
|
4127
4228
|
let _VoiceControllerService = VoiceControllerService;
|
|
4128
4229
|
// src/angular/voice-provider-capabilities.service.ts
|
|
4129
|
-
import { computed as
|
|
4230
|
+
import { computed as computed22, Injectable as Injectable22, signal as signal22 } from "@angular/core";
|
|
4130
4231
|
|
|
4131
4232
|
// src/client/providerCapabilities.ts
|
|
4132
4233
|
var fetchVoiceProviderCapabilities = async (path = "/api/provider-capabilities", options = {}) => {
|
|
@@ -4209,17 +4310,17 @@ var createVoiceProviderCapabilitiesStore = (path = "/api/provider-capabilities",
|
|
|
4209
4310
|
|
|
4210
4311
|
// src/angular/voice-provider-capabilities.service.ts
|
|
4211
4312
|
var _dec = [
|
|
4212
|
-
|
|
4313
|
+
Injectable22({ providedIn: "root" })
|
|
4213
4314
|
];
|
|
4214
4315
|
var _init = __decoratorStart(undefined);
|
|
4215
4316
|
|
|
4216
4317
|
class VoiceProviderCapabilitiesService {
|
|
4217
4318
|
connect(path = "/api/provider-capabilities", options = {}) {
|
|
4218
4319
|
const store = createVoiceProviderCapabilitiesStore(path, options);
|
|
4219
|
-
const errorSignal =
|
|
4220
|
-
const isLoadingSignal =
|
|
4221
|
-
const reportSignal =
|
|
4222
|
-
const updatedAtSignal =
|
|
4320
|
+
const errorSignal = signal22(null);
|
|
4321
|
+
const isLoadingSignal = signal22(false);
|
|
4322
|
+
const reportSignal = signal22(undefined);
|
|
4323
|
+
const updatedAtSignal = signal22(undefined);
|
|
4223
4324
|
const sync = () => {
|
|
4224
4325
|
const snapshot = store.getSnapshot();
|
|
4225
4326
|
errorSignal.set(snapshot.error);
|
|
@@ -4235,11 +4336,11 @@ class VoiceProviderCapabilitiesService {
|
|
|
4235
4336
|
unsubscribe();
|
|
4236
4337
|
store.close();
|
|
4237
4338
|
},
|
|
4238
|
-
error:
|
|
4239
|
-
isLoading:
|
|
4339
|
+
error: computed22(() => errorSignal()),
|
|
4340
|
+
isLoading: computed22(() => isLoadingSignal()),
|
|
4240
4341
|
refresh: store.refresh,
|
|
4241
|
-
report:
|
|
4242
|
-
updatedAt:
|
|
4342
|
+
report: computed22(() => reportSignal()),
|
|
4343
|
+
updatedAt: computed22(() => updatedAtSignal())
|
|
4243
4344
|
};
|
|
4244
4345
|
}
|
|
4245
4346
|
}
|
|
@@ -4248,7 +4349,7 @@ __runInitializers(_init, 1, VoiceProviderCapabilitiesService);
|
|
|
4248
4349
|
__decoratorMetadata(_init, VoiceProviderCapabilitiesService);
|
|
4249
4350
|
let _VoiceProviderCapabilitiesService = VoiceProviderCapabilitiesService;
|
|
4250
4351
|
// src/angular/voice-provider-contracts.service.ts
|
|
4251
|
-
import { computed as
|
|
4352
|
+
import { computed as computed23, Injectable as Injectable23, signal as signal23 } from "@angular/core";
|
|
4252
4353
|
|
|
4253
4354
|
// src/client/providerContracts.ts
|
|
4254
4355
|
var fetchVoiceProviderContracts = async (path = "/api/provider-contracts", options = {}) => {
|
|
@@ -4327,17 +4428,17 @@ var createVoiceProviderContractsStore = (path = "/api/provider-contracts", optio
|
|
|
4327
4428
|
|
|
4328
4429
|
// src/angular/voice-provider-contracts.service.ts
|
|
4329
4430
|
var _dec = [
|
|
4330
|
-
|
|
4431
|
+
Injectable23({ providedIn: "root" })
|
|
4331
4432
|
];
|
|
4332
4433
|
var _init = __decoratorStart(undefined);
|
|
4333
4434
|
|
|
4334
4435
|
class VoiceProviderContractsService {
|
|
4335
4436
|
connect(path = "/api/provider-contracts", options = {}) {
|
|
4336
4437
|
const store = createVoiceProviderContractsStore(path, options);
|
|
4337
|
-
const errorSignal =
|
|
4338
|
-
const isLoadingSignal =
|
|
4339
|
-
const reportSignal =
|
|
4340
|
-
const updatedAtSignal =
|
|
4438
|
+
const errorSignal = signal23(null);
|
|
4439
|
+
const isLoadingSignal = signal23(false);
|
|
4440
|
+
const reportSignal = signal23(undefined);
|
|
4441
|
+
const updatedAtSignal = signal23(undefined);
|
|
4341
4442
|
const sync = () => {
|
|
4342
4443
|
const snapshot = store.getSnapshot();
|
|
4343
4444
|
errorSignal.set(snapshot.error);
|
|
@@ -4353,11 +4454,11 @@ class VoiceProviderContractsService {
|
|
|
4353
4454
|
unsubscribe();
|
|
4354
4455
|
store.close();
|
|
4355
4456
|
},
|
|
4356
|
-
error:
|
|
4357
|
-
isLoading:
|
|
4457
|
+
error: computed23(() => errorSignal()),
|
|
4458
|
+
isLoading: computed23(() => isLoadingSignal()),
|
|
4358
4459
|
refresh: store.refresh,
|
|
4359
|
-
report:
|
|
4360
|
-
updatedAt:
|
|
4460
|
+
report: computed23(() => reportSignal()),
|
|
4461
|
+
updatedAt: computed23(() => updatedAtSignal())
|
|
4361
4462
|
};
|
|
4362
4463
|
}
|
|
4363
4464
|
}
|
|
@@ -4366,7 +4467,7 @@ __runInitializers(_init, 1, VoiceProviderContractsService);
|
|
|
4366
4467
|
__decoratorMetadata(_init, VoiceProviderContractsService);
|
|
4367
4468
|
let _VoiceProviderContractsService = VoiceProviderContractsService;
|
|
4368
4469
|
// src/angular/voice-provider-status.service.ts
|
|
4369
|
-
import { computed as
|
|
4470
|
+
import { computed as computed24, Injectable as Injectable24, signal as signal24 } from "@angular/core";
|
|
4370
4471
|
|
|
4371
4472
|
// src/client/providerStatus.ts
|
|
4372
4473
|
var fetchVoiceProviderStatus = async (path = "/api/provider-status", options = {}) => {
|
|
@@ -4450,17 +4551,17 @@ var createVoiceProviderStatusStore = (path = "/api/provider-status", options = {
|
|
|
4450
4551
|
|
|
4451
4552
|
// src/angular/voice-provider-status.service.ts
|
|
4452
4553
|
var _dec = [
|
|
4453
|
-
|
|
4554
|
+
Injectable24({ providedIn: "root" })
|
|
4454
4555
|
];
|
|
4455
4556
|
var _init = __decoratorStart(undefined);
|
|
4456
4557
|
|
|
4457
4558
|
class VoiceProviderStatusService {
|
|
4458
4559
|
connect(path = "/api/provider-status", options = {}) {
|
|
4459
4560
|
const store = createVoiceProviderStatusStore(path, options);
|
|
4460
|
-
const errorSignal =
|
|
4461
|
-
const isLoadingSignal =
|
|
4462
|
-
const providersSignal =
|
|
4463
|
-
const updatedAtSignal =
|
|
4561
|
+
const errorSignal = signal24(null);
|
|
4562
|
+
const isLoadingSignal = signal24(false);
|
|
4563
|
+
const providersSignal = signal24([]);
|
|
4564
|
+
const updatedAtSignal = signal24(undefined);
|
|
4464
4565
|
const sync = () => {
|
|
4465
4566
|
const snapshot = store.getSnapshot();
|
|
4466
4567
|
errorSignal.set(snapshot.error);
|
|
@@ -4476,11 +4577,11 @@ class VoiceProviderStatusService {
|
|
|
4476
4577
|
unsubscribe();
|
|
4477
4578
|
store.close();
|
|
4478
4579
|
},
|
|
4479
|
-
error:
|
|
4480
|
-
isLoading:
|
|
4481
|
-
providers:
|
|
4580
|
+
error: computed24(() => errorSignal()),
|
|
4581
|
+
isLoading: computed24(() => isLoadingSignal()),
|
|
4582
|
+
providers: computed24(() => providersSignal()),
|
|
4482
4583
|
refresh: store.refresh,
|
|
4483
|
-
updatedAt:
|
|
4584
|
+
updatedAt: computed24(() => updatedAtSignal())
|
|
4484
4585
|
};
|
|
4485
4586
|
}
|
|
4486
4587
|
}
|
|
@@ -4489,7 +4590,7 @@ __runInitializers(_init, 1, VoiceProviderStatusService);
|
|
|
4489
4590
|
__decoratorMetadata(_init, VoiceProviderStatusService);
|
|
4490
4591
|
let _VoiceProviderStatusService = VoiceProviderStatusService;
|
|
4491
4592
|
// src/angular/voice-routing-status.service.ts
|
|
4492
|
-
import { Injectable as
|
|
4593
|
+
import { Injectable as Injectable25, signal as signal25 } from "@angular/core";
|
|
4493
4594
|
|
|
4494
4595
|
// src/client/routingStatus.ts
|
|
4495
4596
|
var fetchVoiceRoutingStatus = async (path = "/api/routing/latest", options = {}) => {
|
|
@@ -4573,17 +4674,17 @@ var createVoiceRoutingStatusStore = (path = "/api/routing/latest", options = {})
|
|
|
4573
4674
|
|
|
4574
4675
|
// src/angular/voice-routing-status.service.ts
|
|
4575
4676
|
var _dec = [
|
|
4576
|
-
|
|
4677
|
+
Injectable25({ providedIn: "root" })
|
|
4577
4678
|
];
|
|
4578
4679
|
var _init = __decoratorStart(undefined);
|
|
4579
4680
|
|
|
4580
4681
|
class VoiceRoutingStatusService {
|
|
4581
4682
|
connect(path = "/api/routing/latest", options = {}) {
|
|
4582
4683
|
const store = createVoiceRoutingStatusStore(path, options);
|
|
4583
|
-
const decisionSignal =
|
|
4584
|
-
const errorSignal =
|
|
4585
|
-
const isLoadingSignal =
|
|
4586
|
-
const updatedAtSignal =
|
|
4684
|
+
const decisionSignal = signal25(null);
|
|
4685
|
+
const errorSignal = signal25(null);
|
|
4686
|
+
const isLoadingSignal = signal25(false);
|
|
4687
|
+
const updatedAtSignal = signal25(undefined);
|
|
4587
4688
|
const sync = () => {
|
|
4588
4689
|
const snapshot = store.getSnapshot();
|
|
4589
4690
|
decisionSignal.set(snapshot.decision);
|
|
@@ -4612,7 +4713,7 @@ __runInitializers(_init, 1, VoiceRoutingStatusService);
|
|
|
4612
4713
|
__decoratorMetadata(_init, VoiceRoutingStatusService);
|
|
4613
4714
|
let _VoiceRoutingStatusService = VoiceRoutingStatusService;
|
|
4614
4715
|
// src/angular/voice-trace-timeline.service.ts
|
|
4615
|
-
import { computed as
|
|
4716
|
+
import { computed as computed25, Injectable as Injectable26, signal as signal26 } from "@angular/core";
|
|
4616
4717
|
|
|
4617
4718
|
// src/client/traceTimeline.ts
|
|
4618
4719
|
var fetchVoiceTraceTimeline = async (path = "/api/voice-traces", options = {}) => {
|
|
@@ -4696,17 +4797,17 @@ var createVoiceTraceTimelineStore = (path = "/api/voice-traces", options = {}) =
|
|
|
4696
4797
|
|
|
4697
4798
|
// src/angular/voice-trace-timeline.service.ts
|
|
4698
4799
|
var _dec = [
|
|
4699
|
-
|
|
4800
|
+
Injectable26({ providedIn: "root" })
|
|
4700
4801
|
];
|
|
4701
4802
|
var _init = __decoratorStart(undefined);
|
|
4702
4803
|
|
|
4703
4804
|
class VoiceTraceTimelineService {
|
|
4704
4805
|
connect(path = "/api/voice-traces", options = {}) {
|
|
4705
4806
|
const store = createVoiceTraceTimelineStore(path, options);
|
|
4706
|
-
const errorSignal =
|
|
4707
|
-
const isLoadingSignal =
|
|
4708
|
-
const reportSignal =
|
|
4709
|
-
const updatedAtSignal =
|
|
4807
|
+
const errorSignal = signal26(null);
|
|
4808
|
+
const isLoadingSignal = signal26(false);
|
|
4809
|
+
const reportSignal = signal26(null);
|
|
4810
|
+
const updatedAtSignal = signal26(undefined);
|
|
4710
4811
|
const sync = () => {
|
|
4711
4812
|
const snapshot = store.getSnapshot();
|
|
4712
4813
|
errorSignal.set(snapshot.error);
|
|
@@ -4722,11 +4823,11 @@ class VoiceTraceTimelineService {
|
|
|
4722
4823
|
unsubscribe();
|
|
4723
4824
|
store.close();
|
|
4724
4825
|
},
|
|
4725
|
-
error:
|
|
4726
|
-
isLoading:
|
|
4826
|
+
error: computed25(() => errorSignal()),
|
|
4827
|
+
isLoading: computed25(() => isLoadingSignal()),
|
|
4727
4828
|
refresh: store.refresh,
|
|
4728
|
-
report:
|
|
4729
|
-
updatedAt:
|
|
4829
|
+
report: computed25(() => reportSignal()),
|
|
4830
|
+
updatedAt: computed25(() => updatedAtSignal())
|
|
4730
4831
|
};
|
|
4731
4832
|
}
|
|
4732
4833
|
}
|
|
@@ -4735,7 +4836,7 @@ __runInitializers(_init, 1, VoiceTraceTimelineService);
|
|
|
4735
4836
|
__decoratorMetadata(_init, VoiceTraceTimelineService);
|
|
4736
4837
|
let _VoiceTraceTimelineService = VoiceTraceTimelineService;
|
|
4737
4838
|
// src/angular/voice-agent-squad-status.service.ts
|
|
4738
|
-
import { computed as
|
|
4839
|
+
import { computed as computed26, Injectable as Injectable27, signal as signal27 } from "@angular/core";
|
|
4739
4840
|
|
|
4740
4841
|
// src/client/agentSquadStatus.ts
|
|
4741
4842
|
var getString = (value) => typeof value === "string" && value.trim() ? value.trim() : undefined;
|
|
@@ -4813,17 +4914,17 @@ var createVoiceAgentSquadStatusStore = (path = "/api/voice-traces", options = {}
|
|
|
4813
4914
|
|
|
4814
4915
|
// src/angular/voice-agent-squad-status.service.ts
|
|
4815
4916
|
var _dec = [
|
|
4816
|
-
|
|
4917
|
+
Injectable27({ providedIn: "root" })
|
|
4817
4918
|
];
|
|
4818
4919
|
var _init = __decoratorStart(undefined);
|
|
4819
4920
|
|
|
4820
4921
|
class VoiceAgentSquadStatusService {
|
|
4821
4922
|
connect(path = "/api/voice-traces", options = {}) {
|
|
4822
4923
|
const store = createVoiceAgentSquadStatusStore(path, options);
|
|
4823
|
-
const errorSignal =
|
|
4824
|
-
const isLoadingSignal =
|
|
4825
|
-
const reportSignal =
|
|
4826
|
-
const updatedAtSignal =
|
|
4924
|
+
const errorSignal = signal27(null);
|
|
4925
|
+
const isLoadingSignal = signal27(false);
|
|
4926
|
+
const reportSignal = signal27(undefined);
|
|
4927
|
+
const updatedAtSignal = signal27(undefined);
|
|
4827
4928
|
const sync = () => {
|
|
4828
4929
|
const snapshot = store.getSnapshot();
|
|
4829
4930
|
errorSignal.set(snapshot.error);
|
|
@@ -4839,12 +4940,12 @@ class VoiceAgentSquadStatusService {
|
|
|
4839
4940
|
unsubscribe();
|
|
4840
4941
|
store.close();
|
|
4841
4942
|
},
|
|
4842
|
-
current:
|
|
4843
|
-
error:
|
|
4844
|
-
isLoading:
|
|
4943
|
+
current: computed26(() => reportSignal()?.current),
|
|
4944
|
+
error: computed26(() => errorSignal()),
|
|
4945
|
+
isLoading: computed26(() => isLoadingSignal()),
|
|
4845
4946
|
refresh: store.refresh,
|
|
4846
|
-
report:
|
|
4847
|
-
updatedAt:
|
|
4947
|
+
report: computed26(() => reportSignal()),
|
|
4948
|
+
updatedAt: computed26(() => updatedAtSignal())
|
|
4848
4949
|
};
|
|
4849
4950
|
}
|
|
4850
4951
|
}
|
|
@@ -4853,7 +4954,7 @@ __runInitializers(_init, 1, VoiceAgentSquadStatusService);
|
|
|
4853
4954
|
__decoratorMetadata(_init, VoiceAgentSquadStatusService);
|
|
4854
4955
|
let _VoiceAgentSquadStatusService = VoiceAgentSquadStatusService;
|
|
4855
4956
|
// src/angular/voice-turn-latency.service.ts
|
|
4856
|
-
import { computed as
|
|
4957
|
+
import { computed as computed27, Injectable as Injectable28, signal as signal28 } from "@angular/core";
|
|
4857
4958
|
|
|
4858
4959
|
// src/client/turnLatency.ts
|
|
4859
4960
|
var fetchVoiceTurnLatency = async (path = "/api/turn-latency", options = {}) => {
|
|
@@ -4960,17 +5061,17 @@ var createVoiceTurnLatencyStore = (path = "/api/turn-latency", options = {}) =>
|
|
|
4960
5061
|
|
|
4961
5062
|
// src/angular/voice-turn-latency.service.ts
|
|
4962
5063
|
var _dec = [
|
|
4963
|
-
|
|
5064
|
+
Injectable28({ providedIn: "root" })
|
|
4964
5065
|
];
|
|
4965
5066
|
var _init = __decoratorStart(undefined);
|
|
4966
5067
|
|
|
4967
5068
|
class VoiceTurnLatencyService {
|
|
4968
5069
|
connect(path = "/api/turn-latency", options = {}) {
|
|
4969
5070
|
const store = createVoiceTurnLatencyStore(path, options);
|
|
4970
|
-
const errorSignal =
|
|
4971
|
-
const isLoadingSignal =
|
|
4972
|
-
const reportSignal =
|
|
4973
|
-
const updatedAtSignal =
|
|
5071
|
+
const errorSignal = signal28(null);
|
|
5072
|
+
const isLoadingSignal = signal28(false);
|
|
5073
|
+
const reportSignal = signal28(undefined);
|
|
5074
|
+
const updatedAtSignal = signal28(undefined);
|
|
4974
5075
|
const sync = () => {
|
|
4975
5076
|
const snapshot = store.getSnapshot();
|
|
4976
5077
|
errorSignal.set(snapshot.error);
|
|
@@ -4986,12 +5087,12 @@ class VoiceTurnLatencyService {
|
|
|
4986
5087
|
unsubscribe();
|
|
4987
5088
|
store.close();
|
|
4988
5089
|
},
|
|
4989
|
-
error:
|
|
4990
|
-
isLoading:
|
|
5090
|
+
error: computed27(() => errorSignal()),
|
|
5091
|
+
isLoading: computed27(() => isLoadingSignal()),
|
|
4991
5092
|
refresh: store.refresh,
|
|
4992
|
-
report:
|
|
5093
|
+
report: computed27(() => reportSignal()),
|
|
4993
5094
|
runProof: store.runProof,
|
|
4994
|
-
updatedAt:
|
|
5095
|
+
updatedAt: computed27(() => updatedAtSignal())
|
|
4995
5096
|
};
|
|
4996
5097
|
}
|
|
4997
5098
|
}
|
|
@@ -5000,7 +5101,7 @@ __runInitializers(_init, 1, VoiceTurnLatencyService);
|
|
|
5000
5101
|
__decoratorMetadata(_init, VoiceTurnLatencyService);
|
|
5001
5102
|
let _VoiceTurnLatencyService = VoiceTurnLatencyService;
|
|
5002
5103
|
// src/angular/voice-turn-quality.service.ts
|
|
5003
|
-
import { computed as
|
|
5104
|
+
import { computed as computed28, Injectable as Injectable29, signal as signal29 } from "@angular/core";
|
|
5004
5105
|
|
|
5005
5106
|
// src/client/turnQuality.ts
|
|
5006
5107
|
var fetchVoiceTurnQuality = async (path = "/api/turn-quality", options = {}) => {
|
|
@@ -5083,17 +5184,17 @@ var createVoiceTurnQualityStore = (path = "/api/turn-quality", options = {}) =>
|
|
|
5083
5184
|
|
|
5084
5185
|
// src/angular/voice-turn-quality.service.ts
|
|
5085
5186
|
var _dec = [
|
|
5086
|
-
|
|
5187
|
+
Injectable29({ providedIn: "root" })
|
|
5087
5188
|
];
|
|
5088
5189
|
var _init = __decoratorStart(undefined);
|
|
5089
5190
|
|
|
5090
5191
|
class VoiceTurnQualityService {
|
|
5091
5192
|
connect(path = "/api/turn-quality", options = {}) {
|
|
5092
5193
|
const store = createVoiceTurnQualityStore(path, options);
|
|
5093
|
-
const errorSignal =
|
|
5094
|
-
const isLoadingSignal =
|
|
5095
|
-
const reportSignal =
|
|
5096
|
-
const updatedAtSignal =
|
|
5194
|
+
const errorSignal = signal29(null);
|
|
5195
|
+
const isLoadingSignal = signal29(false);
|
|
5196
|
+
const reportSignal = signal29(undefined);
|
|
5197
|
+
const updatedAtSignal = signal29(undefined);
|
|
5097
5198
|
const sync = () => {
|
|
5098
5199
|
const snapshot = store.getSnapshot();
|
|
5099
5200
|
errorSignal.set(snapshot.error);
|
|
@@ -5109,11 +5210,11 @@ class VoiceTurnQualityService {
|
|
|
5109
5210
|
unsubscribe();
|
|
5110
5211
|
store.close();
|
|
5111
5212
|
},
|
|
5112
|
-
error:
|
|
5113
|
-
isLoading:
|
|
5213
|
+
error: computed28(() => errorSignal()),
|
|
5214
|
+
isLoading: computed28(() => isLoadingSignal()),
|
|
5114
5215
|
refresh: store.refresh,
|
|
5115
|
-
report:
|
|
5116
|
-
updatedAt:
|
|
5216
|
+
report: computed28(() => reportSignal()),
|
|
5217
|
+
updatedAt: computed28(() => updatedAtSignal())
|
|
5117
5218
|
};
|
|
5118
5219
|
}
|
|
5119
5220
|
}
|
|
@@ -5122,7 +5223,7 @@ __runInitializers(_init, 1, VoiceTurnQualityService);
|
|
|
5122
5223
|
__decoratorMetadata(_init, VoiceTurnQualityService);
|
|
5123
5224
|
let _VoiceTurnQualityService = VoiceTurnQualityService;
|
|
5124
5225
|
// src/angular/voice-workflow-status.service.ts
|
|
5125
|
-
import { computed as
|
|
5226
|
+
import { computed as computed29, Injectable as Injectable30, signal as signal30 } from "@angular/core";
|
|
5126
5227
|
|
|
5127
5228
|
// src/client/workflowStatus.ts
|
|
5128
5229
|
var fetchVoiceWorkflowStatus = async (path = "/evals/scenarios/json", options = {}) => {
|
|
@@ -5205,17 +5306,17 @@ var createVoiceWorkflowStatusStore = (path = "/evals/scenarios/json", options =
|
|
|
5205
5306
|
|
|
5206
5307
|
// src/angular/voice-workflow-status.service.ts
|
|
5207
5308
|
var _dec = [
|
|
5208
|
-
|
|
5309
|
+
Injectable30({ providedIn: "root" })
|
|
5209
5310
|
];
|
|
5210
5311
|
var _init = __decoratorStart(undefined);
|
|
5211
5312
|
|
|
5212
5313
|
class VoiceWorkflowStatusService {
|
|
5213
5314
|
connect(path = "/evals/scenarios/json", options = {}) {
|
|
5214
5315
|
const store = createVoiceWorkflowStatusStore(path, options);
|
|
5215
|
-
const errorSignal =
|
|
5216
|
-
const isLoadingSignal =
|
|
5217
|
-
const reportSignal =
|
|
5218
|
-
const updatedAtSignal =
|
|
5316
|
+
const errorSignal = signal30(null);
|
|
5317
|
+
const isLoadingSignal = signal30(false);
|
|
5318
|
+
const reportSignal = signal30(undefined);
|
|
5319
|
+
const updatedAtSignal = signal30(undefined);
|
|
5219
5320
|
const sync = () => {
|
|
5220
5321
|
const snapshot = store.getSnapshot();
|
|
5221
5322
|
errorSignal.set(snapshot.error);
|
|
@@ -5233,11 +5334,11 @@ class VoiceWorkflowStatusService {
|
|
|
5233
5334
|
unsubscribe();
|
|
5234
5335
|
store.close();
|
|
5235
5336
|
},
|
|
5236
|
-
error:
|
|
5237
|
-
isLoading:
|
|
5337
|
+
error: computed29(() => errorSignal()),
|
|
5338
|
+
isLoading: computed29(() => isLoadingSignal()),
|
|
5238
5339
|
refresh: store.refresh,
|
|
5239
|
-
report:
|
|
5240
|
-
updatedAt:
|
|
5340
|
+
report: computed29(() => reportSignal()),
|
|
5341
|
+
updatedAt: computed29(() => updatedAtSignal())
|
|
5241
5342
|
};
|
|
5242
5343
|
}
|
|
5243
5344
|
}
|
|
@@ -5268,6 +5369,7 @@ export {
|
|
|
5268
5369
|
VoiceOpsActionCenterService,
|
|
5269
5370
|
VoiceLiveOpsService,
|
|
5270
5371
|
VoiceLiveCallViewerService,
|
|
5372
|
+
VoiceLiveAgentConsoleService,
|
|
5271
5373
|
VoiceDeliveryRuntimeService,
|
|
5272
5374
|
VoiceCostDashboardService,
|
|
5273
5375
|
VoiceControllerService,
|