@absolutejs/voice 0.0.22-beta.238 → 0.0.22-beta.239

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.
@@ -193,9 +193,133 @@ VoiceOpsStatusService = __decorateElement(_init, 0, "VoiceOpsStatusService", _de
193
193
  __runInitializers(_init, 1, VoiceOpsStatusService);
194
194
  __decoratorMetadata(_init, VoiceOpsStatusService);
195
195
  let _VoiceOpsStatusService = VoiceOpsStatusService;
196
- // src/angular/voice-ops-action-center.service.ts
196
+ // src/angular/voice-platform-coverage.service.ts
197
197
  import { computed as computed2, Injectable as Injectable2, signal as signal2 } from "@angular/core";
198
198
 
199
+ // src/client/platformCoverage.ts
200
+ var fetchVoicePlatformCoverage = async (path = "/api/voice/platform-coverage", options = {}) => {
201
+ const fetchImpl = options.fetch ?? globalThis.fetch;
202
+ const response = await fetchImpl(path);
203
+ if (!response.ok) {
204
+ throw new Error(`Voice platform coverage failed: HTTP ${response.status}`);
205
+ }
206
+ return await response.json();
207
+ };
208
+ var createVoicePlatformCoverageStore = (path = "/api/voice/platform-coverage", options = {}) => {
209
+ const listeners = new Set;
210
+ let closed = false;
211
+ let timer;
212
+ let snapshot = {
213
+ error: null,
214
+ isLoading: false
215
+ };
216
+ const emit = () => {
217
+ for (const listener of listeners) {
218
+ listener();
219
+ }
220
+ };
221
+ const refresh = async () => {
222
+ if (closed) {
223
+ return snapshot.report;
224
+ }
225
+ snapshot = {
226
+ ...snapshot,
227
+ error: null,
228
+ isLoading: true
229
+ };
230
+ emit();
231
+ try {
232
+ const report = await fetchVoicePlatformCoverage(path, options);
233
+ snapshot = {
234
+ error: null,
235
+ isLoading: false,
236
+ report,
237
+ updatedAt: Date.now()
238
+ };
239
+ emit();
240
+ return report;
241
+ } catch (error) {
242
+ snapshot = {
243
+ ...snapshot,
244
+ error: error instanceof Error ? error.message : String(error),
245
+ isLoading: false
246
+ };
247
+ emit();
248
+ throw error;
249
+ }
250
+ };
251
+ const close = () => {
252
+ closed = true;
253
+ if (timer) {
254
+ clearInterval(timer);
255
+ timer = undefined;
256
+ }
257
+ listeners.clear();
258
+ };
259
+ if (typeof window !== "undefined" && options.intervalMs && options.intervalMs > 0) {
260
+ timer = setInterval(() => {
261
+ refresh().catch(() => {});
262
+ }, options.intervalMs);
263
+ }
264
+ return {
265
+ close,
266
+ getServerSnapshot: () => snapshot,
267
+ getSnapshot: () => snapshot,
268
+ refresh,
269
+ subscribe: (listener) => {
270
+ listeners.add(listener);
271
+ return () => {
272
+ listeners.delete(listener);
273
+ };
274
+ }
275
+ };
276
+ };
277
+
278
+ // src/angular/voice-platform-coverage.service.ts
279
+ var _dec = [
280
+ Injectable2({ providedIn: "root" })
281
+ ];
282
+ var _init = __decoratorStart(undefined);
283
+
284
+ class VoicePlatformCoverageService {
285
+ connect(path = "/api/voice/platform-coverage", options = {}) {
286
+ const store = createVoicePlatformCoverageStore(path, options);
287
+ const errorSignal = signal2(null);
288
+ const isLoadingSignal = signal2(false);
289
+ const reportSignal = signal2(undefined);
290
+ const updatedAtSignal = signal2(undefined);
291
+ const sync = () => {
292
+ const snapshot = store.getSnapshot();
293
+ errorSignal.set(snapshot.error);
294
+ isLoadingSignal.set(snapshot.isLoading);
295
+ reportSignal.set(snapshot.report);
296
+ updatedAtSignal.set(snapshot.updatedAt);
297
+ };
298
+ const unsubscribe = store.subscribe(sync);
299
+ sync();
300
+ if (typeof window !== "undefined") {
301
+ store.refresh().catch(() => {});
302
+ }
303
+ return {
304
+ close: () => {
305
+ unsubscribe();
306
+ store.close();
307
+ },
308
+ error: computed2(() => errorSignal()),
309
+ isLoading: computed2(() => isLoadingSignal()),
310
+ refresh: store.refresh,
311
+ report: computed2(() => reportSignal()),
312
+ updatedAt: computed2(() => updatedAtSignal())
313
+ };
314
+ }
315
+ }
316
+ VoicePlatformCoverageService = __decorateElement(_init, 0, "VoicePlatformCoverageService", _dec, VoicePlatformCoverageService);
317
+ __runInitializers(_init, 1, VoicePlatformCoverageService);
318
+ __decoratorMetadata(_init, VoicePlatformCoverageService);
319
+ let _VoicePlatformCoverageService = VoicePlatformCoverageService;
320
+ // src/angular/voice-ops-action-center.service.ts
321
+ import { computed as computed3, Injectable as Injectable3, signal as signal3 } from "@angular/core";
322
+
199
323
  // src/client/opsActionCenter.ts
200
324
  var recordVoiceOpsActionResult = async (result, options = {}) => {
201
325
  if (options.auditPath === false) {
@@ -389,18 +513,18 @@ var createVoiceOpsActionCenterStore = (options = {}) => {
389
513
 
390
514
  // src/angular/voice-ops-action-center.service.ts
391
515
  var _dec = [
392
- Injectable2({ providedIn: "root" })
516
+ Injectable3({ providedIn: "root" })
393
517
  ];
394
518
  var _init = __decoratorStart(undefined);
395
519
 
396
520
  class VoiceOpsActionCenterService {
397
521
  connect(options = {}) {
398
522
  const store = createVoiceOpsActionCenterStore(options);
399
- const actionsSignal = signal2([]);
400
- const errorSignal = signal2(null);
401
- const isRunningSignal = signal2(false);
402
- const lastResultSignal = signal2(undefined);
403
- const runningActionIdSignal = signal2(undefined);
523
+ const actionsSignal = signal3([]);
524
+ const errorSignal = signal3(null);
525
+ const isRunningSignal = signal3(false);
526
+ const lastResultSignal = signal3(undefined);
527
+ const runningActionIdSignal = signal3(undefined);
404
528
  const sync = () => {
405
529
  const snapshot = store.getSnapshot();
406
530
  actionsSignal.set(snapshot.actions);
@@ -412,16 +536,16 @@ class VoiceOpsActionCenterService {
412
536
  const unsubscribe = store.subscribe(sync);
413
537
  sync();
414
538
  return {
415
- actions: computed2(() => actionsSignal()),
539
+ actions: computed3(() => actionsSignal()),
416
540
  close: () => {
417
541
  unsubscribe();
418
542
  store.close();
419
543
  },
420
- error: computed2(() => errorSignal()),
421
- isRunning: computed2(() => isRunningSignal()),
422
- lastResult: computed2(() => lastResultSignal()),
544
+ error: computed3(() => errorSignal()),
545
+ isRunning: computed3(() => isRunningSignal()),
546
+ lastResult: computed3(() => lastResultSignal()),
423
547
  run: store.run,
424
- runningActionId: computed2(() => runningActionIdSignal()),
548
+ runningActionId: computed3(() => runningActionIdSignal()),
425
549
  setActions: store.setActions
426
550
  };
427
551
  }
@@ -431,7 +555,7 @@ __runInitializers(_init, 1, VoiceOpsActionCenterService);
431
555
  __decoratorMetadata(_init, VoiceOpsActionCenterService);
432
556
  let _VoiceOpsActionCenterService = VoiceOpsActionCenterService;
433
557
  // src/angular/voice-live-ops.service.ts
434
- import { computed as computed3, Injectable as Injectable3, signal as signal3 } from "@angular/core";
558
+ import { computed as computed4, Injectable as Injectable4, signal as signal4 } from "@angular/core";
435
559
 
436
560
  // src/client/liveOps.ts
437
561
  var postVoiceLiveOpsAction = async (input, options = {}) => {
@@ -521,17 +645,17 @@ var createVoiceLiveOpsStore = (options = {}) => {
521
645
 
522
646
  // src/angular/voice-live-ops.service.ts
523
647
  var _dec = [
524
- Injectable3({ providedIn: "root" })
648
+ Injectable4({ providedIn: "root" })
525
649
  ];
526
650
  var _init = __decoratorStart(undefined);
527
651
 
528
652
  class VoiceLiveOpsService {
529
653
  connect(options = {}) {
530
654
  const store = createVoiceLiveOpsStore(options);
531
- const errorSignal = signal3(null);
532
- const isRunningSignal = signal3(false);
533
- const lastResultSignal = signal3(undefined);
534
- const runningActionSignal = signal3(undefined);
655
+ const errorSignal = signal4(null);
656
+ const isRunningSignal = signal4(false);
657
+ const lastResultSignal = signal4(undefined);
658
+ const runningActionSignal = signal4(undefined);
535
659
  const sync = () => {
536
660
  const snapshot = store.getSnapshot();
537
661
  errorSignal.set(snapshot.error);
@@ -546,11 +670,11 @@ class VoiceLiveOpsService {
546
670
  unsubscribe();
547
671
  store.close();
548
672
  },
549
- error: computed3(() => errorSignal()),
550
- isRunning: computed3(() => isRunningSignal()),
551
- lastResult: computed3(() => lastResultSignal()),
673
+ error: computed4(() => errorSignal()),
674
+ isRunning: computed4(() => isRunningSignal()),
675
+ lastResult: computed4(() => lastResultSignal()),
552
676
  run: store.run,
553
- runningAction: computed3(() => runningActionSignal())
677
+ runningAction: computed4(() => runningActionSignal())
554
678
  };
555
679
  }
556
680
  }
@@ -559,7 +683,7 @@ __runInitializers(_init, 1, VoiceLiveOpsService);
559
683
  __decoratorMetadata(_init, VoiceLiveOpsService);
560
684
  let _VoiceLiveOpsService = VoiceLiveOpsService;
561
685
  // src/angular/voice-delivery-runtime.service.ts
562
- import { computed as computed4, Injectable as Injectable4, signal as signal4 } from "@angular/core";
686
+ import { computed as computed5, Injectable as Injectable5, signal as signal5 } from "@angular/core";
563
687
 
564
688
  // src/client/deliveryRuntime.ts
565
689
  var getDefaultActionPath = (path, action, options) => {
@@ -700,19 +824,19 @@ var createVoiceDeliveryRuntimeStore = (path = "/api/voice-delivery-runtime", opt
700
824
 
701
825
  // src/angular/voice-delivery-runtime.service.ts
702
826
  var _dec = [
703
- Injectable4({ providedIn: "root" })
827
+ Injectable5({ providedIn: "root" })
704
828
  ];
705
829
  var _init = __decoratorStart(undefined);
706
830
 
707
831
  class VoiceDeliveryRuntimeService {
708
832
  connect(path = "/api/voice-delivery-runtime", options = {}) {
709
833
  const store = createVoiceDeliveryRuntimeStore(path, options);
710
- const actionErrorSignal = signal4(null);
711
- const actionStatusSignal = signal4("idle");
712
- const errorSignal = signal4(null);
713
- const isLoadingSignal = signal4(false);
714
- const reportSignal = signal4(undefined);
715
- const updatedAtSignal = signal4(undefined);
834
+ const actionErrorSignal = signal5(null);
835
+ const actionStatusSignal = signal5("idle");
836
+ const errorSignal = signal5(null);
837
+ const isLoadingSignal = signal5(false);
838
+ const reportSignal = signal5(undefined);
839
+ const updatedAtSignal = signal5(undefined);
716
840
  const sync = () => {
717
841
  const snapshot = store.getSnapshot();
718
842
  actionErrorSignal.set(snapshot.actionError);
@@ -732,15 +856,15 @@ class VoiceDeliveryRuntimeService {
732
856
  unsubscribe();
733
857
  store.close();
734
858
  },
735
- error: computed4(() => errorSignal()),
736
- actionError: computed4(() => actionErrorSignal()),
737
- actionStatus: computed4(() => actionStatusSignal()),
738
- isLoading: computed4(() => isLoadingSignal()),
859
+ error: computed5(() => errorSignal()),
860
+ actionError: computed5(() => actionErrorSignal()),
861
+ actionStatus: computed5(() => actionStatusSignal()),
862
+ isLoading: computed5(() => isLoadingSignal()),
739
863
  requeueDeadLetters: store.requeueDeadLetters,
740
864
  refresh: store.refresh,
741
- report: computed4(() => reportSignal()),
865
+ report: computed5(() => reportSignal()),
742
866
  tick: store.tick,
743
- updatedAt: computed4(() => updatedAtSignal())
867
+ updatedAt: computed5(() => updatedAtSignal())
744
868
  };
745
869
  }
746
870
  }
@@ -749,7 +873,7 @@ __runInitializers(_init, 1, VoiceDeliveryRuntimeService);
749
873
  __decoratorMetadata(_init, VoiceDeliveryRuntimeService);
750
874
  let _VoiceDeliveryRuntimeService = VoiceDeliveryRuntimeService;
751
875
  // src/angular/voice-campaign-dialer-proof.service.ts
752
- import { computed as computed5, Injectable as Injectable5, signal as signal5 } from "@angular/core";
876
+ import { computed as computed6, Injectable as Injectable6, signal as signal6 } from "@angular/core";
753
877
 
754
878
  // src/client/campaignDialerProof.ts
755
879
  var fetchVoiceCampaignDialerProofStatus = async (path = "/api/voice/campaigns/dialer-proof", options = {}) => {
@@ -871,18 +995,18 @@ var createVoiceCampaignDialerProofStore = (path = "/api/voice/campaigns/dialer-p
871
995
 
872
996
  // src/angular/voice-campaign-dialer-proof.service.ts
873
997
  var _dec = [
874
- Injectable5({ providedIn: "root" })
998
+ Injectable6({ providedIn: "root" })
875
999
  ];
876
1000
  var _init = __decoratorStart(undefined);
877
1001
 
878
1002
  class VoiceCampaignDialerProofService {
879
1003
  connect(path = "/api/voice/campaigns/dialer-proof", options = {}) {
880
1004
  const store = createVoiceCampaignDialerProofStore(path, options);
881
- const errorSignal = signal5(null);
882
- const isLoadingSignal = signal5(false);
883
- const reportSignal = signal5(undefined);
884
- const statusSignal = signal5(undefined);
885
- const updatedAtSignal = signal5(undefined);
1005
+ const errorSignal = signal6(null);
1006
+ const isLoadingSignal = signal6(false);
1007
+ const reportSignal = signal6(undefined);
1008
+ const statusSignal = signal6(undefined);
1009
+ const updatedAtSignal = signal6(undefined);
886
1010
  const sync = () => {
887
1011
  const snapshot = store.getSnapshot();
888
1012
  errorSignal.set(snapshot.error);
@@ -899,13 +1023,13 @@ class VoiceCampaignDialerProofService {
899
1023
  unsubscribe();
900
1024
  store.close();
901
1025
  },
902
- error: computed5(() => errorSignal()),
903
- isLoading: computed5(() => isLoadingSignal()),
1026
+ error: computed6(() => errorSignal()),
1027
+ isLoading: computed6(() => isLoadingSignal()),
904
1028
  refresh: store.refresh,
905
- report: computed5(() => reportSignal()),
1029
+ report: computed6(() => reportSignal()),
906
1030
  runProof: store.runProof,
907
- status: computed5(() => statusSignal()),
908
- updatedAt: computed5(() => updatedAtSignal())
1031
+ status: computed6(() => statusSignal()),
1032
+ updatedAt: computed6(() => updatedAtSignal())
909
1033
  };
910
1034
  }
911
1035
  }
@@ -914,7 +1038,7 @@ __runInitializers(_init, 1, VoiceCampaignDialerProofService);
914
1038
  __decoratorMetadata(_init, VoiceCampaignDialerProofService);
915
1039
  let _VoiceCampaignDialerProofService = VoiceCampaignDialerProofService;
916
1040
  // src/angular/voice-stream.service.ts
917
- import { computed as computed6, Injectable as Injectable6, signal as signal6 } from "@angular/core";
1041
+ import { computed as computed7, Injectable as Injectable7, signal as signal7 } from "@angular/core";
918
1042
 
919
1043
  // src/client/actions.ts
920
1044
  var normalizeErrorMessage = (value) => {
@@ -1558,23 +1682,23 @@ var createVoiceStream = (path, options = {}) => {
1558
1682
 
1559
1683
  // src/angular/voice-stream.service.ts
1560
1684
  var _dec = [
1561
- Injectable6({ providedIn: "root" })
1685
+ Injectable7({ providedIn: "root" })
1562
1686
  ];
1563
1687
  var _init = __decoratorStart(undefined);
1564
1688
 
1565
1689
  class VoiceStreamService {
1566
1690
  connect(path, options = {}) {
1567
1691
  const stream = createVoiceStream(path, options);
1568
- const assistantAudioSignal = signal6([]);
1569
- const assistantTextsSignal = signal6([]);
1570
- const callSignal = signal6(null);
1571
- const errorSignal = signal6(null);
1572
- const isConnectedSignal = signal6(false);
1573
- const partialSignal = signal6("");
1574
- const reconnectSignal = signal6(stream.reconnect);
1575
- const sessionIdSignal = signal6(stream.sessionId);
1576
- const statusSignal = signal6(stream.status);
1577
- const turnsSignal = signal6([]);
1692
+ const assistantAudioSignal = signal7([]);
1693
+ const assistantTextsSignal = signal7([]);
1694
+ const callSignal = signal7(null);
1695
+ const errorSignal = signal7(null);
1696
+ const isConnectedSignal = signal7(false);
1697
+ const partialSignal = signal7("");
1698
+ const reconnectSignal = signal7(stream.reconnect);
1699
+ const sessionIdSignal = signal7(stream.sessionId);
1700
+ const statusSignal = signal7(stream.status);
1701
+ const turnsSignal = signal7([]);
1578
1702
  const sync = () => {
1579
1703
  assistantAudioSignal.set([...stream.assistantAudio]);
1580
1704
  assistantTextsSignal.set([...stream.assistantTexts]);
@@ -1590,23 +1714,23 @@ class VoiceStreamService {
1590
1714
  const unsubscribe = stream.subscribe(sync);
1591
1715
  sync();
1592
1716
  return {
1593
- assistantAudio: computed6(() => assistantAudioSignal()),
1594
- assistantTexts: computed6(() => assistantTextsSignal()),
1595
- call: computed6(() => callSignal()),
1717
+ assistantAudio: computed7(() => assistantAudioSignal()),
1718
+ assistantTexts: computed7(() => assistantTextsSignal()),
1719
+ call: computed7(() => callSignal()),
1596
1720
  callControl: (message) => stream.callControl(message),
1597
1721
  close: () => {
1598
1722
  unsubscribe();
1599
1723
  stream.close();
1600
1724
  },
1601
1725
  endTurn: () => stream.endTurn(),
1602
- error: computed6(() => errorSignal()),
1603
- isConnected: computed6(() => isConnectedSignal()),
1604
- partial: computed6(() => partialSignal()),
1605
- reconnect: computed6(() => reconnectSignal()),
1726
+ error: computed7(() => errorSignal()),
1727
+ isConnected: computed7(() => isConnectedSignal()),
1728
+ partial: computed7(() => partialSignal()),
1729
+ reconnect: computed7(() => reconnectSignal()),
1606
1730
  sendAudio: (audio) => stream.sendAudio(audio),
1607
- sessionId: computed6(() => sessionIdSignal()),
1608
- status: computed6(() => statusSignal()),
1609
- turns: computed6(() => turnsSignal())
1731
+ sessionId: computed7(() => sessionIdSignal()),
1732
+ status: computed7(() => statusSignal()),
1733
+ turns: computed7(() => turnsSignal())
1610
1734
  };
1611
1735
  }
1612
1736
  }
@@ -1615,7 +1739,7 @@ __runInitializers(_init, 1, VoiceStreamService);
1615
1739
  __decoratorMetadata(_init, VoiceStreamService);
1616
1740
  let _VoiceStreamService = VoiceStreamService;
1617
1741
  // src/angular/voice-controller.service.ts
1618
- import { computed as computed7, Injectable as Injectable7, signal as signal7 } from "@angular/core";
1742
+ import { computed as computed8, Injectable as Injectable8, signal as signal8 } from "@angular/core";
1619
1743
 
1620
1744
  // src/client/htmx.ts
1621
1745
  var DEFAULT_EVENT_NAME = "voice-refresh";
@@ -2260,24 +2384,24 @@ var createVoiceController = (path, options = {}) => {
2260
2384
 
2261
2385
  // src/angular/voice-controller.service.ts
2262
2386
  var _dec = [
2263
- Injectable7({ providedIn: "root" })
2387
+ Injectable8({ providedIn: "root" })
2264
2388
  ];
2265
2389
  var _init = __decoratorStart(undefined);
2266
2390
 
2267
2391
  class VoiceControllerService {
2268
2392
  connect(path, options = {}) {
2269
2393
  const controller = createVoiceController(path, options);
2270
- const assistantAudioSignal = signal7([]);
2271
- const assistantTextsSignal = signal7([]);
2272
- const errorSignal = signal7(null);
2273
- const isConnectedSignal = signal7(false);
2274
- const isRecordingSignal = signal7(false);
2275
- const partialSignal = signal7("");
2276
- const reconnectSignal = signal7(controller.reconnect);
2277
- const recordingErrorSignal = signal7(null);
2278
- const sessionIdSignal = signal7(controller.sessionId);
2279
- const statusSignal = signal7(controller.status);
2280
- const turnsSignal = signal7([]);
2394
+ const assistantAudioSignal = signal8([]);
2395
+ const assistantTextsSignal = signal8([]);
2396
+ const errorSignal = signal8(null);
2397
+ const isConnectedSignal = signal8(false);
2398
+ const isRecordingSignal = signal8(false);
2399
+ const partialSignal = signal8("");
2400
+ const reconnectSignal = signal8(controller.reconnect);
2401
+ const recordingErrorSignal = signal8(null);
2402
+ const sessionIdSignal = signal8(controller.sessionId);
2403
+ const statusSignal = signal8(controller.status);
2404
+ const turnsSignal = signal8([]);
2281
2405
  const sync = () => {
2282
2406
  assistantAudioSignal.set([...controller.assistantAudio]);
2283
2407
  assistantTextsSignal.set([...controller.assistantTexts]);
@@ -2294,27 +2418,27 @@ class VoiceControllerService {
2294
2418
  const unsubscribe = controller.subscribe(sync);
2295
2419
  sync();
2296
2420
  return {
2297
- assistantAudio: computed7(() => assistantAudioSignal()),
2298
- assistantTexts: computed7(() => assistantTextsSignal()),
2421
+ assistantAudio: computed8(() => assistantAudioSignal()),
2422
+ assistantTexts: computed8(() => assistantTextsSignal()),
2299
2423
  bindHTMX: controller.bindHTMX,
2300
2424
  close: () => {
2301
2425
  unsubscribe();
2302
2426
  controller.close();
2303
2427
  },
2304
2428
  endTurn: () => controller.endTurn(),
2305
- error: computed7(() => errorSignal()),
2306
- isConnected: computed7(() => isConnectedSignal()),
2307
- isRecording: computed7(() => isRecordingSignal()),
2308
- partial: computed7(() => partialSignal()),
2309
- reconnect: computed7(() => reconnectSignal()),
2310
- recordingError: computed7(() => recordingErrorSignal()),
2429
+ error: computed8(() => errorSignal()),
2430
+ isConnected: computed8(() => isConnectedSignal()),
2431
+ isRecording: computed8(() => isRecordingSignal()),
2432
+ partial: computed8(() => partialSignal()),
2433
+ reconnect: computed8(() => reconnectSignal()),
2434
+ recordingError: computed8(() => recordingErrorSignal()),
2311
2435
  sendAudio: (audio) => controller.sendAudio(audio),
2312
- sessionId: computed7(() => sessionIdSignal()),
2436
+ sessionId: computed8(() => sessionIdSignal()),
2313
2437
  startRecording: () => controller.startRecording(),
2314
- status: computed7(() => statusSignal()),
2438
+ status: computed8(() => statusSignal()),
2315
2439
  stopRecording: () => controller.stopRecording(),
2316
2440
  toggleRecording: () => controller.toggleRecording(),
2317
- turns: computed7(() => turnsSignal())
2441
+ turns: computed8(() => turnsSignal())
2318
2442
  };
2319
2443
  }
2320
2444
  }
@@ -2323,7 +2447,7 @@ __runInitializers(_init, 1, VoiceControllerService);
2323
2447
  __decoratorMetadata(_init, VoiceControllerService);
2324
2448
  let _VoiceControllerService = VoiceControllerService;
2325
2449
  // src/angular/voice-provider-capabilities.service.ts
2326
- import { computed as computed8, Injectable as Injectable8, signal as signal8 } from "@angular/core";
2450
+ import { computed as computed9, Injectable as Injectable9, signal as signal9 } from "@angular/core";
2327
2451
 
2328
2452
  // src/client/providerCapabilities.ts
2329
2453
  var fetchVoiceProviderCapabilities = async (path = "/api/provider-capabilities", options = {}) => {
@@ -2406,17 +2530,17 @@ var createVoiceProviderCapabilitiesStore = (path = "/api/provider-capabilities",
2406
2530
 
2407
2531
  // src/angular/voice-provider-capabilities.service.ts
2408
2532
  var _dec = [
2409
- Injectable8({ providedIn: "root" })
2533
+ Injectable9({ providedIn: "root" })
2410
2534
  ];
2411
2535
  var _init = __decoratorStart(undefined);
2412
2536
 
2413
2537
  class VoiceProviderCapabilitiesService {
2414
2538
  connect(path = "/api/provider-capabilities", options = {}) {
2415
2539
  const store = createVoiceProviderCapabilitiesStore(path, options);
2416
- const errorSignal = signal8(null);
2417
- const isLoadingSignal = signal8(false);
2418
- const reportSignal = signal8(undefined);
2419
- const updatedAtSignal = signal8(undefined);
2540
+ const errorSignal = signal9(null);
2541
+ const isLoadingSignal = signal9(false);
2542
+ const reportSignal = signal9(undefined);
2543
+ const updatedAtSignal = signal9(undefined);
2420
2544
  const sync = () => {
2421
2545
  const snapshot = store.getSnapshot();
2422
2546
  errorSignal.set(snapshot.error);
@@ -2432,11 +2556,11 @@ class VoiceProviderCapabilitiesService {
2432
2556
  unsubscribe();
2433
2557
  store.close();
2434
2558
  },
2435
- error: computed8(() => errorSignal()),
2436
- isLoading: computed8(() => isLoadingSignal()),
2559
+ error: computed9(() => errorSignal()),
2560
+ isLoading: computed9(() => isLoadingSignal()),
2437
2561
  refresh: store.refresh,
2438
- report: computed8(() => reportSignal()),
2439
- updatedAt: computed8(() => updatedAtSignal())
2562
+ report: computed9(() => reportSignal()),
2563
+ updatedAt: computed9(() => updatedAtSignal())
2440
2564
  };
2441
2565
  }
2442
2566
  }
@@ -2445,7 +2569,7 @@ __runInitializers(_init, 1, VoiceProviderCapabilitiesService);
2445
2569
  __decoratorMetadata(_init, VoiceProviderCapabilitiesService);
2446
2570
  let _VoiceProviderCapabilitiesService = VoiceProviderCapabilitiesService;
2447
2571
  // src/angular/voice-provider-contracts.service.ts
2448
- import { computed as computed9, Injectable as Injectable9, signal as signal9 } from "@angular/core";
2572
+ import { computed as computed10, Injectable as Injectable10, signal as signal10 } from "@angular/core";
2449
2573
 
2450
2574
  // src/client/providerContracts.ts
2451
2575
  var fetchVoiceProviderContracts = async (path = "/api/provider-contracts", options = {}) => {
@@ -2524,17 +2648,17 @@ var createVoiceProviderContractsStore = (path = "/api/provider-contracts", optio
2524
2648
 
2525
2649
  // src/angular/voice-provider-contracts.service.ts
2526
2650
  var _dec = [
2527
- Injectable9({ providedIn: "root" })
2651
+ Injectable10({ providedIn: "root" })
2528
2652
  ];
2529
2653
  var _init = __decoratorStart(undefined);
2530
2654
 
2531
2655
  class VoiceProviderContractsService {
2532
2656
  connect(path = "/api/provider-contracts", options = {}) {
2533
2657
  const store = createVoiceProviderContractsStore(path, options);
2534
- const errorSignal = signal9(null);
2535
- const isLoadingSignal = signal9(false);
2536
- const reportSignal = signal9(undefined);
2537
- const updatedAtSignal = signal9(undefined);
2658
+ const errorSignal = signal10(null);
2659
+ const isLoadingSignal = signal10(false);
2660
+ const reportSignal = signal10(undefined);
2661
+ const updatedAtSignal = signal10(undefined);
2538
2662
  const sync = () => {
2539
2663
  const snapshot = store.getSnapshot();
2540
2664
  errorSignal.set(snapshot.error);
@@ -2550,11 +2674,11 @@ class VoiceProviderContractsService {
2550
2674
  unsubscribe();
2551
2675
  store.close();
2552
2676
  },
2553
- error: computed9(() => errorSignal()),
2554
- isLoading: computed9(() => isLoadingSignal()),
2677
+ error: computed10(() => errorSignal()),
2678
+ isLoading: computed10(() => isLoadingSignal()),
2555
2679
  refresh: store.refresh,
2556
- report: computed9(() => reportSignal()),
2557
- updatedAt: computed9(() => updatedAtSignal())
2680
+ report: computed10(() => reportSignal()),
2681
+ updatedAt: computed10(() => updatedAtSignal())
2558
2682
  };
2559
2683
  }
2560
2684
  }
@@ -2563,7 +2687,7 @@ __runInitializers(_init, 1, VoiceProviderContractsService);
2563
2687
  __decoratorMetadata(_init, VoiceProviderContractsService);
2564
2688
  let _VoiceProviderContractsService = VoiceProviderContractsService;
2565
2689
  // src/angular/voice-provider-status.service.ts
2566
- import { computed as computed10, Injectable as Injectable10, signal as signal10 } from "@angular/core";
2690
+ import { computed as computed11, Injectable as Injectable11, signal as signal11 } from "@angular/core";
2567
2691
 
2568
2692
  // src/client/providerStatus.ts
2569
2693
  var fetchVoiceProviderStatus = async (path = "/api/provider-status", options = {}) => {
@@ -2647,17 +2771,17 @@ var createVoiceProviderStatusStore = (path = "/api/provider-status", options = {
2647
2771
 
2648
2772
  // src/angular/voice-provider-status.service.ts
2649
2773
  var _dec = [
2650
- Injectable10({ providedIn: "root" })
2774
+ Injectable11({ providedIn: "root" })
2651
2775
  ];
2652
2776
  var _init = __decoratorStart(undefined);
2653
2777
 
2654
2778
  class VoiceProviderStatusService {
2655
2779
  connect(path = "/api/provider-status", options = {}) {
2656
2780
  const store = createVoiceProviderStatusStore(path, options);
2657
- const errorSignal = signal10(null);
2658
- const isLoadingSignal = signal10(false);
2659
- const providersSignal = signal10([]);
2660
- const updatedAtSignal = signal10(undefined);
2781
+ const errorSignal = signal11(null);
2782
+ const isLoadingSignal = signal11(false);
2783
+ const providersSignal = signal11([]);
2784
+ const updatedAtSignal = signal11(undefined);
2661
2785
  const sync = () => {
2662
2786
  const snapshot = store.getSnapshot();
2663
2787
  errorSignal.set(snapshot.error);
@@ -2673,11 +2797,11 @@ class VoiceProviderStatusService {
2673
2797
  unsubscribe();
2674
2798
  store.close();
2675
2799
  },
2676
- error: computed10(() => errorSignal()),
2677
- isLoading: computed10(() => isLoadingSignal()),
2678
- providers: computed10(() => providersSignal()),
2800
+ error: computed11(() => errorSignal()),
2801
+ isLoading: computed11(() => isLoadingSignal()),
2802
+ providers: computed11(() => providersSignal()),
2679
2803
  refresh: store.refresh,
2680
- updatedAt: computed10(() => updatedAtSignal())
2804
+ updatedAt: computed11(() => updatedAtSignal())
2681
2805
  };
2682
2806
  }
2683
2807
  }
@@ -2686,7 +2810,7 @@ __runInitializers(_init, 1, VoiceProviderStatusService);
2686
2810
  __decoratorMetadata(_init, VoiceProviderStatusService);
2687
2811
  let _VoiceProviderStatusService = VoiceProviderStatusService;
2688
2812
  // src/angular/voice-routing-status.service.ts
2689
- import { Injectable as Injectable11, signal as signal11 } from "@angular/core";
2813
+ import { Injectable as Injectable12, signal as signal12 } from "@angular/core";
2690
2814
 
2691
2815
  // src/client/routingStatus.ts
2692
2816
  var fetchVoiceRoutingStatus = async (path = "/api/routing/latest", options = {}) => {
@@ -2770,17 +2894,17 @@ var createVoiceRoutingStatusStore = (path = "/api/routing/latest", options = {})
2770
2894
 
2771
2895
  // src/angular/voice-routing-status.service.ts
2772
2896
  var _dec = [
2773
- Injectable11({ providedIn: "root" })
2897
+ Injectable12({ providedIn: "root" })
2774
2898
  ];
2775
2899
  var _init = __decoratorStart(undefined);
2776
2900
 
2777
2901
  class VoiceRoutingStatusService {
2778
2902
  connect(path = "/api/routing/latest", options = {}) {
2779
2903
  const store = createVoiceRoutingStatusStore(path, options);
2780
- const decisionSignal = signal11(null);
2781
- const errorSignal = signal11(null);
2782
- const isLoadingSignal = signal11(false);
2783
- const updatedAtSignal = signal11(undefined);
2904
+ const decisionSignal = signal12(null);
2905
+ const errorSignal = signal12(null);
2906
+ const isLoadingSignal = signal12(false);
2907
+ const updatedAtSignal = signal12(undefined);
2784
2908
  const sync = () => {
2785
2909
  const snapshot = store.getSnapshot();
2786
2910
  decisionSignal.set(snapshot.decision);
@@ -2809,7 +2933,7 @@ __runInitializers(_init, 1, VoiceRoutingStatusService);
2809
2933
  __decoratorMetadata(_init, VoiceRoutingStatusService);
2810
2934
  let _VoiceRoutingStatusService = VoiceRoutingStatusService;
2811
2935
  // src/angular/voice-trace-timeline.service.ts
2812
- import { computed as computed11, Injectable as Injectable12, signal as signal12 } from "@angular/core";
2936
+ import { computed as computed12, Injectable as Injectable13, signal as signal13 } from "@angular/core";
2813
2937
 
2814
2938
  // src/client/traceTimeline.ts
2815
2939
  var fetchVoiceTraceTimeline = async (path = "/api/voice-traces", options = {}) => {
@@ -2893,17 +3017,17 @@ var createVoiceTraceTimelineStore = (path = "/api/voice-traces", options = {}) =
2893
3017
 
2894
3018
  // src/angular/voice-trace-timeline.service.ts
2895
3019
  var _dec = [
2896
- Injectable12({ providedIn: "root" })
3020
+ Injectable13({ providedIn: "root" })
2897
3021
  ];
2898
3022
  var _init = __decoratorStart(undefined);
2899
3023
 
2900
3024
  class VoiceTraceTimelineService {
2901
3025
  connect(path = "/api/voice-traces", options = {}) {
2902
3026
  const store = createVoiceTraceTimelineStore(path, options);
2903
- const errorSignal = signal12(null);
2904
- const isLoadingSignal = signal12(false);
2905
- const reportSignal = signal12(null);
2906
- const updatedAtSignal = signal12(undefined);
3027
+ const errorSignal = signal13(null);
3028
+ const isLoadingSignal = signal13(false);
3029
+ const reportSignal = signal13(null);
3030
+ const updatedAtSignal = signal13(undefined);
2907
3031
  const sync = () => {
2908
3032
  const snapshot = store.getSnapshot();
2909
3033
  errorSignal.set(snapshot.error);
@@ -2919,11 +3043,11 @@ class VoiceTraceTimelineService {
2919
3043
  unsubscribe();
2920
3044
  store.close();
2921
3045
  },
2922
- error: computed11(() => errorSignal()),
2923
- isLoading: computed11(() => isLoadingSignal()),
3046
+ error: computed12(() => errorSignal()),
3047
+ isLoading: computed12(() => isLoadingSignal()),
2924
3048
  refresh: store.refresh,
2925
- report: computed11(() => reportSignal()),
2926
- updatedAt: computed11(() => updatedAtSignal())
3049
+ report: computed12(() => reportSignal()),
3050
+ updatedAt: computed12(() => updatedAtSignal())
2927
3051
  };
2928
3052
  }
2929
3053
  }
@@ -2932,7 +3056,7 @@ __runInitializers(_init, 1, VoiceTraceTimelineService);
2932
3056
  __decoratorMetadata(_init, VoiceTraceTimelineService);
2933
3057
  let _VoiceTraceTimelineService = VoiceTraceTimelineService;
2934
3058
  // src/angular/voice-agent-squad-status.service.ts
2935
- import { computed as computed12, Injectable as Injectable13, signal as signal13 } from "@angular/core";
3059
+ import { computed as computed13, Injectable as Injectable14, signal as signal14 } from "@angular/core";
2936
3060
 
2937
3061
  // src/client/agentSquadStatus.ts
2938
3062
  var getString = (value) => typeof value === "string" && value.trim() ? value.trim() : undefined;
@@ -3010,17 +3134,17 @@ var createVoiceAgentSquadStatusStore = (path = "/api/voice-traces", options = {}
3010
3134
 
3011
3135
  // src/angular/voice-agent-squad-status.service.ts
3012
3136
  var _dec = [
3013
- Injectable13({ providedIn: "root" })
3137
+ Injectable14({ providedIn: "root" })
3014
3138
  ];
3015
3139
  var _init = __decoratorStart(undefined);
3016
3140
 
3017
3141
  class VoiceAgentSquadStatusService {
3018
3142
  connect(path = "/api/voice-traces", options = {}) {
3019
3143
  const store = createVoiceAgentSquadStatusStore(path, options);
3020
- const errorSignal = signal13(null);
3021
- const isLoadingSignal = signal13(false);
3022
- const reportSignal = signal13(undefined);
3023
- const updatedAtSignal = signal13(undefined);
3144
+ const errorSignal = signal14(null);
3145
+ const isLoadingSignal = signal14(false);
3146
+ const reportSignal = signal14(undefined);
3147
+ const updatedAtSignal = signal14(undefined);
3024
3148
  const sync = () => {
3025
3149
  const snapshot = store.getSnapshot();
3026
3150
  errorSignal.set(snapshot.error);
@@ -3036,12 +3160,12 @@ class VoiceAgentSquadStatusService {
3036
3160
  unsubscribe();
3037
3161
  store.close();
3038
3162
  },
3039
- current: computed12(() => reportSignal()?.current),
3040
- error: computed12(() => errorSignal()),
3041
- isLoading: computed12(() => isLoadingSignal()),
3163
+ current: computed13(() => reportSignal()?.current),
3164
+ error: computed13(() => errorSignal()),
3165
+ isLoading: computed13(() => isLoadingSignal()),
3042
3166
  refresh: store.refresh,
3043
- report: computed12(() => reportSignal()),
3044
- updatedAt: computed12(() => updatedAtSignal())
3167
+ report: computed13(() => reportSignal()),
3168
+ updatedAt: computed13(() => updatedAtSignal())
3045
3169
  };
3046
3170
  }
3047
3171
  }
@@ -3050,7 +3174,7 @@ __runInitializers(_init, 1, VoiceAgentSquadStatusService);
3050
3174
  __decoratorMetadata(_init, VoiceAgentSquadStatusService);
3051
3175
  let _VoiceAgentSquadStatusService = VoiceAgentSquadStatusService;
3052
3176
  // src/angular/voice-turn-latency.service.ts
3053
- import { computed as computed13, Injectable as Injectable14, signal as signal14 } from "@angular/core";
3177
+ import { computed as computed14, Injectable as Injectable15, signal as signal15 } from "@angular/core";
3054
3178
 
3055
3179
  // src/client/turnLatency.ts
3056
3180
  var fetchVoiceTurnLatency = async (path = "/api/turn-latency", options = {}) => {
@@ -3157,17 +3281,17 @@ var createVoiceTurnLatencyStore = (path = "/api/turn-latency", options = {}) =>
3157
3281
 
3158
3282
  // src/angular/voice-turn-latency.service.ts
3159
3283
  var _dec = [
3160
- Injectable14({ providedIn: "root" })
3284
+ Injectable15({ providedIn: "root" })
3161
3285
  ];
3162
3286
  var _init = __decoratorStart(undefined);
3163
3287
 
3164
3288
  class VoiceTurnLatencyService {
3165
3289
  connect(path = "/api/turn-latency", options = {}) {
3166
3290
  const store = createVoiceTurnLatencyStore(path, options);
3167
- const errorSignal = signal14(null);
3168
- const isLoadingSignal = signal14(false);
3169
- const reportSignal = signal14(undefined);
3170
- const updatedAtSignal = signal14(undefined);
3291
+ const errorSignal = signal15(null);
3292
+ const isLoadingSignal = signal15(false);
3293
+ const reportSignal = signal15(undefined);
3294
+ const updatedAtSignal = signal15(undefined);
3171
3295
  const sync = () => {
3172
3296
  const snapshot = store.getSnapshot();
3173
3297
  errorSignal.set(snapshot.error);
@@ -3183,12 +3307,12 @@ class VoiceTurnLatencyService {
3183
3307
  unsubscribe();
3184
3308
  store.close();
3185
3309
  },
3186
- error: computed13(() => errorSignal()),
3187
- isLoading: computed13(() => isLoadingSignal()),
3310
+ error: computed14(() => errorSignal()),
3311
+ isLoading: computed14(() => isLoadingSignal()),
3188
3312
  refresh: store.refresh,
3189
- report: computed13(() => reportSignal()),
3313
+ report: computed14(() => reportSignal()),
3190
3314
  runProof: store.runProof,
3191
- updatedAt: computed13(() => updatedAtSignal())
3315
+ updatedAt: computed14(() => updatedAtSignal())
3192
3316
  };
3193
3317
  }
3194
3318
  }
@@ -3197,7 +3321,7 @@ __runInitializers(_init, 1, VoiceTurnLatencyService);
3197
3321
  __decoratorMetadata(_init, VoiceTurnLatencyService);
3198
3322
  let _VoiceTurnLatencyService = VoiceTurnLatencyService;
3199
3323
  // src/angular/voice-turn-quality.service.ts
3200
- import { computed as computed14, Injectable as Injectable15, signal as signal15 } from "@angular/core";
3324
+ import { computed as computed15, Injectable as Injectable16, signal as signal16 } from "@angular/core";
3201
3325
 
3202
3326
  // src/client/turnQuality.ts
3203
3327
  var fetchVoiceTurnQuality = async (path = "/api/turn-quality", options = {}) => {
@@ -3280,17 +3404,17 @@ var createVoiceTurnQualityStore = (path = "/api/turn-quality", options = {}) =>
3280
3404
 
3281
3405
  // src/angular/voice-turn-quality.service.ts
3282
3406
  var _dec = [
3283
- Injectable15({ providedIn: "root" })
3407
+ Injectable16({ providedIn: "root" })
3284
3408
  ];
3285
3409
  var _init = __decoratorStart(undefined);
3286
3410
 
3287
3411
  class VoiceTurnQualityService {
3288
3412
  connect(path = "/api/turn-quality", options = {}) {
3289
3413
  const store = createVoiceTurnQualityStore(path, options);
3290
- const errorSignal = signal15(null);
3291
- const isLoadingSignal = signal15(false);
3292
- const reportSignal = signal15(undefined);
3293
- const updatedAtSignal = signal15(undefined);
3414
+ const errorSignal = signal16(null);
3415
+ const isLoadingSignal = signal16(false);
3416
+ const reportSignal = signal16(undefined);
3417
+ const updatedAtSignal = signal16(undefined);
3294
3418
  const sync = () => {
3295
3419
  const snapshot = store.getSnapshot();
3296
3420
  errorSignal.set(snapshot.error);
@@ -3306,11 +3430,11 @@ class VoiceTurnQualityService {
3306
3430
  unsubscribe();
3307
3431
  store.close();
3308
3432
  },
3309
- error: computed14(() => errorSignal()),
3310
- isLoading: computed14(() => isLoadingSignal()),
3433
+ error: computed15(() => errorSignal()),
3434
+ isLoading: computed15(() => isLoadingSignal()),
3311
3435
  refresh: store.refresh,
3312
- report: computed14(() => reportSignal()),
3313
- updatedAt: computed14(() => updatedAtSignal())
3436
+ report: computed15(() => reportSignal()),
3437
+ updatedAt: computed15(() => updatedAtSignal())
3314
3438
  };
3315
3439
  }
3316
3440
  }
@@ -3319,7 +3443,7 @@ __runInitializers(_init, 1, VoiceTurnQualityService);
3319
3443
  __decoratorMetadata(_init, VoiceTurnQualityService);
3320
3444
  let _VoiceTurnQualityService = VoiceTurnQualityService;
3321
3445
  // src/angular/voice-workflow-status.service.ts
3322
- import { computed as computed15, Injectable as Injectable16, signal as signal16 } from "@angular/core";
3446
+ import { computed as computed16, Injectable as Injectable17, signal as signal17 } from "@angular/core";
3323
3447
 
3324
3448
  // src/client/workflowStatus.ts
3325
3449
  var fetchVoiceWorkflowStatus = async (path = "/evals/scenarios/json", options = {}) => {
@@ -3402,17 +3526,17 @@ var createVoiceWorkflowStatusStore = (path = "/evals/scenarios/json", options =
3402
3526
 
3403
3527
  // src/angular/voice-workflow-status.service.ts
3404
3528
  var _dec = [
3405
- Injectable16({ providedIn: "root" })
3529
+ Injectable17({ providedIn: "root" })
3406
3530
  ];
3407
3531
  var _init = __decoratorStart(undefined);
3408
3532
 
3409
3533
  class VoiceWorkflowStatusService {
3410
3534
  connect(path = "/evals/scenarios/json", options = {}) {
3411
3535
  const store = createVoiceWorkflowStatusStore(path, options);
3412
- const errorSignal = signal16(null);
3413
- const isLoadingSignal = signal16(false);
3414
- const reportSignal = signal16(undefined);
3415
- const updatedAtSignal = signal16(undefined);
3536
+ const errorSignal = signal17(null);
3537
+ const isLoadingSignal = signal17(false);
3538
+ const reportSignal = signal17(undefined);
3539
+ const updatedAtSignal = signal17(undefined);
3416
3540
  const sync = () => {
3417
3541
  const snapshot = store.getSnapshot();
3418
3542
  errorSignal.set(snapshot.error);
@@ -3430,11 +3554,11 @@ class VoiceWorkflowStatusService {
3430
3554
  unsubscribe();
3431
3555
  store.close();
3432
3556
  },
3433
- error: computed15(() => errorSignal()),
3434
- isLoading: computed15(() => isLoadingSignal()),
3557
+ error: computed16(() => errorSignal()),
3558
+ isLoading: computed16(() => isLoadingSignal()),
3435
3559
  refresh: store.refresh,
3436
- report: computed15(() => reportSignal()),
3437
- updatedAt: computed15(() => updatedAtSignal())
3560
+ report: computed16(() => reportSignal()),
3561
+ updatedAt: computed16(() => updatedAtSignal())
3438
3562
  };
3439
3563
  }
3440
3564
  }
@@ -3452,6 +3576,7 @@ export {
3452
3576
  VoiceProviderStatusService,
3453
3577
  VoiceProviderContractsService,
3454
3578
  VoiceProviderCapabilitiesService,
3579
+ VoicePlatformCoverageService,
3455
3580
  VoiceOpsStatusService,
3456
3581
  VoiceOpsActionCenterService,
3457
3582
  VoiceLiveOpsService,