@absolutejs/voice 0.0.22-beta.452 → 0.0.22-beta.454
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 +1 -0
- package/dist/angular/index.js +345 -224
- package/dist/angular/voice-reconnect-profile-evidence.service.d.ts +12 -0
- package/dist/client/index.d.ts +4 -0
- package/dist/client/index.js +543 -240
- package/dist/client/reconnectProfileEvidence.d.ts +19 -0
- package/dist/client/reconnectProfileEvidenceWidget.d.ts +39 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +107 -0
- package/dist/proofTrends.d.ts +53 -0
- package/dist/react/VoiceReconnectProfileEvidence.d.ts +6 -0
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +919 -526
- package/dist/react/useVoiceReconnectProfileEvidence.d.ts +8 -0
- package/dist/svelte/createVoiceReconnectProfileEvidence.d.ts +7 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +86 -0
- package/dist/vue/VoiceReconnectProfileEvidence.d.ts +21 -0
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.js +825 -438
- package/dist/vue/useVoiceReconnectProfileEvidence.d.ts +9 -0
- package/package.json +1 -1
package/dist/angular/index.js
CHANGED
|
@@ -442,9 +442,129 @@ VoiceProofTrendsService = __decorateElement(_init, 0, "VoiceProofTrendsService",
|
|
|
442
442
|
__runInitializers(_init, 1, VoiceProofTrendsService);
|
|
443
443
|
__decoratorMetadata(_init, VoiceProofTrendsService);
|
|
444
444
|
let _VoiceProofTrendsService = VoiceProofTrendsService;
|
|
445
|
-
// src/angular/voice-
|
|
445
|
+
// src/angular/voice-reconnect-profile-evidence.service.ts
|
|
446
446
|
import { computed as computed4, Injectable as Injectable4, signal as signal4 } from "@angular/core";
|
|
447
447
|
|
|
448
|
+
// src/client/reconnectProfileEvidence.ts
|
|
449
|
+
var fetchVoiceReconnectProfileEvidence = async (path = "/api/voice/reconnect-profile-evidence", options = {}) => {
|
|
450
|
+
const fetchImpl = options.fetch ?? globalThis.fetch;
|
|
451
|
+
const response = await fetchImpl(path);
|
|
452
|
+
if (!response.ok) {
|
|
453
|
+
throw new Error(`Voice reconnect profile evidence failed: HTTP ${response.status}`);
|
|
454
|
+
}
|
|
455
|
+
return await response.json();
|
|
456
|
+
};
|
|
457
|
+
var createVoiceReconnectProfileEvidenceStore = (path = "/api/voice/reconnect-profile-evidence", options = {}) => {
|
|
458
|
+
const listeners = new Set;
|
|
459
|
+
let closed = false;
|
|
460
|
+
let timer;
|
|
461
|
+
let snapshot = {
|
|
462
|
+
error: null,
|
|
463
|
+
isLoading: false
|
|
464
|
+
};
|
|
465
|
+
const emit = () => {
|
|
466
|
+
for (const listener of listeners) {
|
|
467
|
+
listener();
|
|
468
|
+
}
|
|
469
|
+
};
|
|
470
|
+
const refresh = async () => {
|
|
471
|
+
if (closed) {
|
|
472
|
+
return snapshot.report;
|
|
473
|
+
}
|
|
474
|
+
snapshot = { ...snapshot, error: null, isLoading: true };
|
|
475
|
+
emit();
|
|
476
|
+
try {
|
|
477
|
+
const report = await fetchVoiceReconnectProfileEvidence(path, options);
|
|
478
|
+
snapshot = {
|
|
479
|
+
error: null,
|
|
480
|
+
isLoading: false,
|
|
481
|
+
report,
|
|
482
|
+
updatedAt: Date.now()
|
|
483
|
+
};
|
|
484
|
+
emit();
|
|
485
|
+
return report;
|
|
486
|
+
} catch (error) {
|
|
487
|
+
snapshot = {
|
|
488
|
+
...snapshot,
|
|
489
|
+
error: error instanceof Error ? error.message : String(error),
|
|
490
|
+
isLoading: false
|
|
491
|
+
};
|
|
492
|
+
emit();
|
|
493
|
+
throw error;
|
|
494
|
+
}
|
|
495
|
+
};
|
|
496
|
+
const close = () => {
|
|
497
|
+
closed = true;
|
|
498
|
+
if (timer) {
|
|
499
|
+
clearInterval(timer);
|
|
500
|
+
timer = undefined;
|
|
501
|
+
}
|
|
502
|
+
listeners.clear();
|
|
503
|
+
};
|
|
504
|
+
if (typeof window !== "undefined" && options.intervalMs && options.intervalMs > 0) {
|
|
505
|
+
timer = setInterval(() => {
|
|
506
|
+
refresh().catch(() => {});
|
|
507
|
+
}, options.intervalMs);
|
|
508
|
+
}
|
|
509
|
+
return {
|
|
510
|
+
close,
|
|
511
|
+
getServerSnapshot: () => snapshot,
|
|
512
|
+
getSnapshot: () => snapshot,
|
|
513
|
+
refresh,
|
|
514
|
+
subscribe: (listener) => {
|
|
515
|
+
listeners.add(listener);
|
|
516
|
+
return () => {
|
|
517
|
+
listeners.delete(listener);
|
|
518
|
+
};
|
|
519
|
+
}
|
|
520
|
+
};
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
// src/angular/voice-reconnect-profile-evidence.service.ts
|
|
524
|
+
var _dec = [
|
|
525
|
+
Injectable4({ providedIn: "root" })
|
|
526
|
+
];
|
|
527
|
+
var _init = __decoratorStart(undefined);
|
|
528
|
+
|
|
529
|
+
class VoiceReconnectProfileEvidenceService {
|
|
530
|
+
connect(path = "/api/voice/reconnect-profile-evidence", options = {}) {
|
|
531
|
+
const store = createVoiceReconnectProfileEvidenceStore(path, options);
|
|
532
|
+
const errorSignal = signal4(null);
|
|
533
|
+
const isLoadingSignal = signal4(false);
|
|
534
|
+
const reportSignal = signal4(undefined);
|
|
535
|
+
const updatedAtSignal = signal4(undefined);
|
|
536
|
+
const sync = () => {
|
|
537
|
+
const snapshot = store.getSnapshot();
|
|
538
|
+
errorSignal.set(snapshot.error);
|
|
539
|
+
isLoadingSignal.set(snapshot.isLoading);
|
|
540
|
+
reportSignal.set(snapshot.report);
|
|
541
|
+
updatedAtSignal.set(snapshot.updatedAt);
|
|
542
|
+
};
|
|
543
|
+
const unsubscribe = store.subscribe(sync);
|
|
544
|
+
sync();
|
|
545
|
+
if (typeof window !== "undefined") {
|
|
546
|
+
store.refresh().catch(() => {});
|
|
547
|
+
}
|
|
548
|
+
return {
|
|
549
|
+
close: () => {
|
|
550
|
+
unsubscribe();
|
|
551
|
+
store.close();
|
|
552
|
+
},
|
|
553
|
+
error: computed4(() => errorSignal()),
|
|
554
|
+
isLoading: computed4(() => isLoadingSignal()),
|
|
555
|
+
refresh: store.refresh,
|
|
556
|
+
report: computed4(() => reportSignal()),
|
|
557
|
+
updatedAt: computed4(() => updatedAtSignal())
|
|
558
|
+
};
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
VoiceReconnectProfileEvidenceService = __decorateElement(_init, 0, "VoiceReconnectProfileEvidenceService", _dec, VoiceReconnectProfileEvidenceService);
|
|
562
|
+
__runInitializers(_init, 1, VoiceReconnectProfileEvidenceService);
|
|
563
|
+
__decoratorMetadata(_init, VoiceReconnectProfileEvidenceService);
|
|
564
|
+
let _VoiceReconnectProfileEvidenceService = VoiceReconnectProfileEvidenceService;
|
|
565
|
+
// src/angular/voice-call-debugger.service.ts
|
|
566
|
+
import { computed as computed5, Injectable as Injectable5, signal as signal5 } from "@angular/core";
|
|
567
|
+
|
|
448
568
|
// src/client/callDebugger.ts
|
|
449
569
|
var fetchVoiceCallDebugger = async (path, options = {}) => {
|
|
450
570
|
const fetchImpl = options.fetch ?? globalThis.fetch;
|
|
@@ -522,17 +642,17 @@ var createVoiceCallDebuggerStore = (path, options = {}) => {
|
|
|
522
642
|
|
|
523
643
|
// src/angular/voice-call-debugger.service.ts
|
|
524
644
|
var _dec = [
|
|
525
|
-
|
|
645
|
+
Injectable5({ providedIn: "root" })
|
|
526
646
|
];
|
|
527
647
|
var _init = __decoratorStart(undefined);
|
|
528
648
|
|
|
529
649
|
class VoiceCallDebuggerService {
|
|
530
650
|
connect(path, options = {}) {
|
|
531
651
|
const store = createVoiceCallDebuggerStore(path, options);
|
|
532
|
-
const errorSignal =
|
|
533
|
-
const isLoadingSignal =
|
|
534
|
-
const reportSignal =
|
|
535
|
-
const updatedAtSignal =
|
|
652
|
+
const errorSignal = signal5(null);
|
|
653
|
+
const isLoadingSignal = signal5(false);
|
|
654
|
+
const reportSignal = signal5(undefined);
|
|
655
|
+
const updatedAtSignal = signal5(undefined);
|
|
536
656
|
const sync = () => {
|
|
537
657
|
const state = store.getSnapshot();
|
|
538
658
|
errorSignal.set(state.error);
|
|
@@ -548,11 +668,11 @@ class VoiceCallDebuggerService {
|
|
|
548
668
|
unsubscribe();
|
|
549
669
|
store.close();
|
|
550
670
|
},
|
|
551
|
-
error:
|
|
552
|
-
isLoading:
|
|
671
|
+
error: computed5(() => errorSignal()),
|
|
672
|
+
isLoading: computed5(() => isLoadingSignal()),
|
|
553
673
|
refresh: store.refresh,
|
|
554
|
-
report:
|
|
555
|
-
updatedAt:
|
|
674
|
+
report: computed5(() => reportSignal()),
|
|
675
|
+
updatedAt: computed5(() => updatedAtSignal())
|
|
556
676
|
};
|
|
557
677
|
}
|
|
558
678
|
}
|
|
@@ -561,7 +681,7 @@ __runInitializers(_init, 1, VoiceCallDebuggerService);
|
|
|
561
681
|
__decoratorMetadata(_init, VoiceCallDebuggerService);
|
|
562
682
|
let _VoiceCallDebuggerService = VoiceCallDebuggerService;
|
|
563
683
|
// src/angular/voice-session-snapshot.service.ts
|
|
564
|
-
import { computed as
|
|
684
|
+
import { computed as computed6, Injectable as Injectable6, signal as signal6 } from "@angular/core";
|
|
565
685
|
|
|
566
686
|
// src/client/sessionSnapshot.ts
|
|
567
687
|
var withTurnId = (path, turnId) => {
|
|
@@ -658,17 +778,17 @@ var createVoiceSessionSnapshotStore = (path, options = {}) => {
|
|
|
658
778
|
|
|
659
779
|
// src/angular/voice-session-snapshot.service.ts
|
|
660
780
|
var _dec = [
|
|
661
|
-
|
|
781
|
+
Injectable6({ providedIn: "root" })
|
|
662
782
|
];
|
|
663
783
|
var _init = __decoratorStart(undefined);
|
|
664
784
|
|
|
665
785
|
class VoiceSessionSnapshotService {
|
|
666
786
|
connect(path, options = {}) {
|
|
667
787
|
const store = createVoiceSessionSnapshotStore(path, options);
|
|
668
|
-
const errorSignal =
|
|
669
|
-
const isLoadingSignal =
|
|
670
|
-
const snapshotSignal =
|
|
671
|
-
const updatedAtSignal =
|
|
788
|
+
const errorSignal = signal6(null);
|
|
789
|
+
const isLoadingSignal = signal6(false);
|
|
790
|
+
const snapshotSignal = signal6(undefined);
|
|
791
|
+
const updatedAtSignal = signal6(undefined);
|
|
672
792
|
const sync = () => {
|
|
673
793
|
const state = store.getSnapshot();
|
|
674
794
|
errorSignal.set(state.error);
|
|
@@ -685,11 +805,11 @@ class VoiceSessionSnapshotService {
|
|
|
685
805
|
store.close();
|
|
686
806
|
},
|
|
687
807
|
download: store.download,
|
|
688
|
-
error:
|
|
689
|
-
isLoading:
|
|
808
|
+
error: computed6(() => errorSignal()),
|
|
809
|
+
isLoading: computed6(() => isLoadingSignal()),
|
|
690
810
|
refresh: store.refresh,
|
|
691
|
-
snapshot:
|
|
692
|
-
updatedAt:
|
|
811
|
+
snapshot: computed6(() => snapshotSignal()),
|
|
812
|
+
updatedAt: computed6(() => updatedAtSignal())
|
|
693
813
|
};
|
|
694
814
|
}
|
|
695
815
|
}
|
|
@@ -698,7 +818,7 @@ __runInitializers(_init, 1, VoiceSessionSnapshotService);
|
|
|
698
818
|
__decoratorMetadata(_init, VoiceSessionSnapshotService);
|
|
699
819
|
let _VoiceSessionSnapshotService = VoiceSessionSnapshotService;
|
|
700
820
|
// src/angular/voice-profile-comparison.service.ts
|
|
701
|
-
import { computed as
|
|
821
|
+
import { computed as computed7, Injectable as Injectable7, signal as signal7 } from "@angular/core";
|
|
702
822
|
|
|
703
823
|
// src/client/profileComparison.ts
|
|
704
824
|
var fetchVoiceProfileComparison = async (path = "/api/voice/real-call-profile-history", options = {}) => {
|
|
@@ -777,17 +897,17 @@ var createVoiceProfileComparisonStore = (path = "/api/voice/real-call-profile-hi
|
|
|
777
897
|
|
|
778
898
|
// src/angular/voice-profile-comparison.service.ts
|
|
779
899
|
var _dec = [
|
|
780
|
-
|
|
900
|
+
Injectable7({ providedIn: "root" })
|
|
781
901
|
];
|
|
782
902
|
var _init = __decoratorStart(undefined);
|
|
783
903
|
|
|
784
904
|
class VoiceProfileComparisonService {
|
|
785
905
|
connect(path = "/api/voice/real-call-profile-history", options = {}) {
|
|
786
906
|
const store = createVoiceProfileComparisonStore(path, options);
|
|
787
|
-
const errorSignal =
|
|
788
|
-
const isLoadingSignal =
|
|
789
|
-
const reportSignal =
|
|
790
|
-
const updatedAtSignal =
|
|
907
|
+
const errorSignal = signal7(null);
|
|
908
|
+
const isLoadingSignal = signal7(false);
|
|
909
|
+
const reportSignal = signal7(undefined);
|
|
910
|
+
const updatedAtSignal = signal7(undefined);
|
|
791
911
|
const sync = () => {
|
|
792
912
|
const snapshot = store.getSnapshot();
|
|
793
913
|
errorSignal.set(snapshot.error);
|
|
@@ -805,11 +925,11 @@ class VoiceProfileComparisonService {
|
|
|
805
925
|
unsubscribe();
|
|
806
926
|
store.close();
|
|
807
927
|
},
|
|
808
|
-
error:
|
|
809
|
-
isLoading:
|
|
928
|
+
error: computed7(() => errorSignal()),
|
|
929
|
+
isLoading: computed7(() => isLoadingSignal()),
|
|
810
930
|
refresh: store.refresh,
|
|
811
|
-
report:
|
|
812
|
-
updatedAt:
|
|
931
|
+
report: computed7(() => reportSignal()),
|
|
932
|
+
updatedAt: computed7(() => updatedAtSignal())
|
|
813
933
|
};
|
|
814
934
|
}
|
|
815
935
|
}
|
|
@@ -818,7 +938,7 @@ __runInitializers(_init, 1, VoiceProfileComparisonService);
|
|
|
818
938
|
__decoratorMetadata(_init, VoiceProfileComparisonService);
|
|
819
939
|
let _VoiceProfileComparisonService = VoiceProfileComparisonService;
|
|
820
940
|
// src/angular/voice-readiness-failures.service.ts
|
|
821
|
-
import { computed as
|
|
941
|
+
import { computed as computed8, Injectable as Injectable8, signal as signal8 } from "@angular/core";
|
|
822
942
|
|
|
823
943
|
// src/client/readinessFailures.ts
|
|
824
944
|
var fetchVoiceReadinessFailures = async (path = "/api/production-readiness", options = {}) => {
|
|
@@ -897,17 +1017,17 @@ var createVoiceReadinessFailuresStore = (path = "/api/production-readiness", opt
|
|
|
897
1017
|
|
|
898
1018
|
// src/angular/voice-readiness-failures.service.ts
|
|
899
1019
|
var _dec = [
|
|
900
|
-
|
|
1020
|
+
Injectable8({ providedIn: "root" })
|
|
901
1021
|
];
|
|
902
1022
|
var _init = __decoratorStart(undefined);
|
|
903
1023
|
|
|
904
1024
|
class VoiceReadinessFailuresService {
|
|
905
1025
|
connect(path = "/api/production-readiness", options = {}) {
|
|
906
1026
|
const store = createVoiceReadinessFailuresStore(path, options);
|
|
907
|
-
const errorSignal =
|
|
908
|
-
const isLoadingSignal =
|
|
909
|
-
const reportSignal =
|
|
910
|
-
const updatedAtSignal =
|
|
1027
|
+
const errorSignal = signal8(null);
|
|
1028
|
+
const isLoadingSignal = signal8(false);
|
|
1029
|
+
const reportSignal = signal8(undefined);
|
|
1030
|
+
const updatedAtSignal = signal8(undefined);
|
|
911
1031
|
const sync = () => {
|
|
912
1032
|
const snapshot = store.getSnapshot();
|
|
913
1033
|
errorSignal.set(snapshot.error);
|
|
@@ -925,12 +1045,12 @@ class VoiceReadinessFailuresService {
|
|
|
925
1045
|
unsubscribe();
|
|
926
1046
|
store.close();
|
|
927
1047
|
},
|
|
928
|
-
error:
|
|
929
|
-
explanations:
|
|
930
|
-
isLoading:
|
|
1048
|
+
error: computed8(() => errorSignal()),
|
|
1049
|
+
explanations: computed8(() => reportSignal()?.checks.filter((check) => check.status !== "pass" && !!check.gateExplanation) ?? []),
|
|
1050
|
+
isLoading: computed8(() => isLoadingSignal()),
|
|
931
1051
|
refresh: store.refresh,
|
|
932
|
-
report:
|
|
933
|
-
updatedAt:
|
|
1052
|
+
report: computed8(() => reportSignal()),
|
|
1053
|
+
updatedAt: computed8(() => updatedAtSignal())
|
|
934
1054
|
};
|
|
935
1055
|
}
|
|
936
1056
|
}
|
|
@@ -939,7 +1059,7 @@ __runInitializers(_init, 1, VoiceReadinessFailuresService);
|
|
|
939
1059
|
__decoratorMetadata(_init, VoiceReadinessFailuresService);
|
|
940
1060
|
let _VoiceReadinessFailuresService = VoiceReadinessFailuresService;
|
|
941
1061
|
// src/angular/voice-ops-action-center.service.ts
|
|
942
|
-
import { computed as
|
|
1062
|
+
import { computed as computed9, Injectable as Injectable9, signal as signal9 } from "@angular/core";
|
|
943
1063
|
|
|
944
1064
|
// src/client/opsActionCenter.ts
|
|
945
1065
|
var recordVoiceOpsActionResult = async (result, options = {}) => {
|
|
@@ -1134,18 +1254,18 @@ var createVoiceOpsActionCenterStore = (options = {}) => {
|
|
|
1134
1254
|
|
|
1135
1255
|
// src/angular/voice-ops-action-center.service.ts
|
|
1136
1256
|
var _dec = [
|
|
1137
|
-
|
|
1257
|
+
Injectable9({ providedIn: "root" })
|
|
1138
1258
|
];
|
|
1139
1259
|
var _init = __decoratorStart(undefined);
|
|
1140
1260
|
|
|
1141
1261
|
class VoiceOpsActionCenterService {
|
|
1142
1262
|
connect(options = {}) {
|
|
1143
1263
|
const store = createVoiceOpsActionCenterStore(options);
|
|
1144
|
-
const actionsSignal =
|
|
1145
|
-
const errorSignal =
|
|
1146
|
-
const isRunningSignal =
|
|
1147
|
-
const lastResultSignal =
|
|
1148
|
-
const runningActionIdSignal =
|
|
1264
|
+
const actionsSignal = signal9([]);
|
|
1265
|
+
const errorSignal = signal9(null);
|
|
1266
|
+
const isRunningSignal = signal9(false);
|
|
1267
|
+
const lastResultSignal = signal9(undefined);
|
|
1268
|
+
const runningActionIdSignal = signal9(undefined);
|
|
1149
1269
|
const sync = () => {
|
|
1150
1270
|
const snapshot = store.getSnapshot();
|
|
1151
1271
|
actionsSignal.set(snapshot.actions);
|
|
@@ -1157,16 +1277,16 @@ class VoiceOpsActionCenterService {
|
|
|
1157
1277
|
const unsubscribe = store.subscribe(sync);
|
|
1158
1278
|
sync();
|
|
1159
1279
|
return {
|
|
1160
|
-
actions:
|
|
1280
|
+
actions: computed9(() => actionsSignal()),
|
|
1161
1281
|
close: () => {
|
|
1162
1282
|
unsubscribe();
|
|
1163
1283
|
store.close();
|
|
1164
1284
|
},
|
|
1165
|
-
error:
|
|
1166
|
-
isRunning:
|
|
1167
|
-
lastResult:
|
|
1285
|
+
error: computed9(() => errorSignal()),
|
|
1286
|
+
isRunning: computed9(() => isRunningSignal()),
|
|
1287
|
+
lastResult: computed9(() => lastResultSignal()),
|
|
1168
1288
|
run: store.run,
|
|
1169
|
-
runningActionId:
|
|
1289
|
+
runningActionId: computed9(() => runningActionIdSignal()),
|
|
1170
1290
|
setActions: store.setActions
|
|
1171
1291
|
};
|
|
1172
1292
|
}
|
|
@@ -1176,7 +1296,7 @@ __runInitializers(_init, 1, VoiceOpsActionCenterService);
|
|
|
1176
1296
|
__decoratorMetadata(_init, VoiceOpsActionCenterService);
|
|
1177
1297
|
let _VoiceOpsActionCenterService = VoiceOpsActionCenterService;
|
|
1178
1298
|
// src/angular/voice-live-ops.service.ts
|
|
1179
|
-
import { computed as
|
|
1299
|
+
import { computed as computed10, Injectable as Injectable10, signal as signal10 } from "@angular/core";
|
|
1180
1300
|
|
|
1181
1301
|
// src/client/liveOps.ts
|
|
1182
1302
|
var postVoiceLiveOpsAction = async (input, options = {}) => {
|
|
@@ -1266,17 +1386,17 @@ var createVoiceLiveOpsStore = (options = {}) => {
|
|
|
1266
1386
|
|
|
1267
1387
|
// src/angular/voice-live-ops.service.ts
|
|
1268
1388
|
var _dec = [
|
|
1269
|
-
|
|
1389
|
+
Injectable10({ providedIn: "root" })
|
|
1270
1390
|
];
|
|
1271
1391
|
var _init = __decoratorStart(undefined);
|
|
1272
1392
|
|
|
1273
1393
|
class VoiceLiveOpsService {
|
|
1274
1394
|
connect(options = {}) {
|
|
1275
1395
|
const store = createVoiceLiveOpsStore(options);
|
|
1276
|
-
const errorSignal =
|
|
1277
|
-
const isRunningSignal =
|
|
1278
|
-
const lastResultSignal =
|
|
1279
|
-
const runningActionSignal =
|
|
1396
|
+
const errorSignal = signal10(null);
|
|
1397
|
+
const isRunningSignal = signal10(false);
|
|
1398
|
+
const lastResultSignal = signal10(undefined);
|
|
1399
|
+
const runningActionSignal = signal10(undefined);
|
|
1280
1400
|
const sync = () => {
|
|
1281
1401
|
const snapshot = store.getSnapshot();
|
|
1282
1402
|
errorSignal.set(snapshot.error);
|
|
@@ -1291,11 +1411,11 @@ class VoiceLiveOpsService {
|
|
|
1291
1411
|
unsubscribe();
|
|
1292
1412
|
store.close();
|
|
1293
1413
|
},
|
|
1294
|
-
error:
|
|
1295
|
-
isRunning:
|
|
1296
|
-
lastResult:
|
|
1414
|
+
error: computed10(() => errorSignal()),
|
|
1415
|
+
isRunning: computed10(() => isRunningSignal()),
|
|
1416
|
+
lastResult: computed10(() => lastResultSignal()),
|
|
1297
1417
|
run: store.run,
|
|
1298
|
-
runningAction:
|
|
1418
|
+
runningAction: computed10(() => runningActionSignal())
|
|
1299
1419
|
};
|
|
1300
1420
|
}
|
|
1301
1421
|
}
|
|
@@ -1304,7 +1424,7 @@ __runInitializers(_init, 1, VoiceLiveOpsService);
|
|
|
1304
1424
|
__decoratorMetadata(_init, VoiceLiveOpsService);
|
|
1305
1425
|
let _VoiceLiveOpsService = VoiceLiveOpsService;
|
|
1306
1426
|
// src/angular/voice-delivery-runtime.service.ts
|
|
1307
|
-
import { computed as
|
|
1427
|
+
import { computed as computed11, Injectable as Injectable11, signal as signal11 } from "@angular/core";
|
|
1308
1428
|
|
|
1309
1429
|
// src/client/deliveryRuntime.ts
|
|
1310
1430
|
var getDefaultActionPath = (path, action, options) => {
|
|
@@ -1445,19 +1565,19 @@ var createVoiceDeliveryRuntimeStore = (path = "/api/voice-delivery-runtime", opt
|
|
|
1445
1565
|
|
|
1446
1566
|
// src/angular/voice-delivery-runtime.service.ts
|
|
1447
1567
|
var _dec = [
|
|
1448
|
-
|
|
1568
|
+
Injectable11({ providedIn: "root" })
|
|
1449
1569
|
];
|
|
1450
1570
|
var _init = __decoratorStart(undefined);
|
|
1451
1571
|
|
|
1452
1572
|
class VoiceDeliveryRuntimeService {
|
|
1453
1573
|
connect(path = "/api/voice-delivery-runtime", options = {}) {
|
|
1454
1574
|
const store = createVoiceDeliveryRuntimeStore(path, options);
|
|
1455
|
-
const actionErrorSignal =
|
|
1456
|
-
const actionStatusSignal =
|
|
1457
|
-
const errorSignal =
|
|
1458
|
-
const isLoadingSignal =
|
|
1459
|
-
const reportSignal =
|
|
1460
|
-
const updatedAtSignal =
|
|
1575
|
+
const actionErrorSignal = signal11(null);
|
|
1576
|
+
const actionStatusSignal = signal11("idle");
|
|
1577
|
+
const errorSignal = signal11(null);
|
|
1578
|
+
const isLoadingSignal = signal11(false);
|
|
1579
|
+
const reportSignal = signal11(undefined);
|
|
1580
|
+
const updatedAtSignal = signal11(undefined);
|
|
1461
1581
|
const sync = () => {
|
|
1462
1582
|
const snapshot = store.getSnapshot();
|
|
1463
1583
|
actionErrorSignal.set(snapshot.actionError);
|
|
@@ -1477,15 +1597,15 @@ class VoiceDeliveryRuntimeService {
|
|
|
1477
1597
|
unsubscribe();
|
|
1478
1598
|
store.close();
|
|
1479
1599
|
},
|
|
1480
|
-
error:
|
|
1481
|
-
actionError:
|
|
1482
|
-
actionStatus:
|
|
1483
|
-
isLoading:
|
|
1600
|
+
error: computed11(() => errorSignal()),
|
|
1601
|
+
actionError: computed11(() => actionErrorSignal()),
|
|
1602
|
+
actionStatus: computed11(() => actionStatusSignal()),
|
|
1603
|
+
isLoading: computed11(() => isLoadingSignal()),
|
|
1484
1604
|
requeueDeadLetters: store.requeueDeadLetters,
|
|
1485
1605
|
refresh: store.refresh,
|
|
1486
|
-
report:
|
|
1606
|
+
report: computed11(() => reportSignal()),
|
|
1487
1607
|
tick: store.tick,
|
|
1488
|
-
updatedAt:
|
|
1608
|
+
updatedAt: computed11(() => updatedAtSignal())
|
|
1489
1609
|
};
|
|
1490
1610
|
}
|
|
1491
1611
|
}
|
|
@@ -1494,7 +1614,7 @@ __runInitializers(_init, 1, VoiceDeliveryRuntimeService);
|
|
|
1494
1614
|
__decoratorMetadata(_init, VoiceDeliveryRuntimeService);
|
|
1495
1615
|
let _VoiceDeliveryRuntimeService = VoiceDeliveryRuntimeService;
|
|
1496
1616
|
// src/angular/voice-campaign-dialer-proof.service.ts
|
|
1497
|
-
import { computed as
|
|
1617
|
+
import { computed as computed12, Injectable as Injectable12, signal as signal12 } from "@angular/core";
|
|
1498
1618
|
|
|
1499
1619
|
// src/client/campaignDialerProof.ts
|
|
1500
1620
|
var fetchVoiceCampaignDialerProofStatus = async (path = "/api/voice/campaigns/dialer-proof", options = {}) => {
|
|
@@ -1616,18 +1736,18 @@ var createVoiceCampaignDialerProofStore = (path = "/api/voice/campaigns/dialer-p
|
|
|
1616
1736
|
|
|
1617
1737
|
// src/angular/voice-campaign-dialer-proof.service.ts
|
|
1618
1738
|
var _dec = [
|
|
1619
|
-
|
|
1739
|
+
Injectable12({ providedIn: "root" })
|
|
1620
1740
|
];
|
|
1621
1741
|
var _init = __decoratorStart(undefined);
|
|
1622
1742
|
|
|
1623
1743
|
class VoiceCampaignDialerProofService {
|
|
1624
1744
|
connect(path = "/api/voice/campaigns/dialer-proof", options = {}) {
|
|
1625
1745
|
const store = createVoiceCampaignDialerProofStore(path, options);
|
|
1626
|
-
const errorSignal =
|
|
1627
|
-
const isLoadingSignal =
|
|
1628
|
-
const reportSignal =
|
|
1629
|
-
const statusSignal =
|
|
1630
|
-
const updatedAtSignal =
|
|
1746
|
+
const errorSignal = signal12(null);
|
|
1747
|
+
const isLoadingSignal = signal12(false);
|
|
1748
|
+
const reportSignal = signal12(undefined);
|
|
1749
|
+
const statusSignal = signal12(undefined);
|
|
1750
|
+
const updatedAtSignal = signal12(undefined);
|
|
1631
1751
|
const sync = () => {
|
|
1632
1752
|
const snapshot = store.getSnapshot();
|
|
1633
1753
|
errorSignal.set(snapshot.error);
|
|
@@ -1644,13 +1764,13 @@ class VoiceCampaignDialerProofService {
|
|
|
1644
1764
|
unsubscribe();
|
|
1645
1765
|
store.close();
|
|
1646
1766
|
},
|
|
1647
|
-
error:
|
|
1648
|
-
isLoading:
|
|
1767
|
+
error: computed12(() => errorSignal()),
|
|
1768
|
+
isLoading: computed12(() => isLoadingSignal()),
|
|
1649
1769
|
refresh: store.refresh,
|
|
1650
|
-
report:
|
|
1770
|
+
report: computed12(() => reportSignal()),
|
|
1651
1771
|
runProof: store.runProof,
|
|
1652
|
-
status:
|
|
1653
|
-
updatedAt:
|
|
1772
|
+
status: computed12(() => statusSignal()),
|
|
1773
|
+
updatedAt: computed12(() => updatedAtSignal())
|
|
1654
1774
|
};
|
|
1655
1775
|
}
|
|
1656
1776
|
}
|
|
@@ -1659,7 +1779,7 @@ __runInitializers(_init, 1, VoiceCampaignDialerProofService);
|
|
|
1659
1779
|
__decoratorMetadata(_init, VoiceCampaignDialerProofService);
|
|
1660
1780
|
let _VoiceCampaignDialerProofService = VoiceCampaignDialerProofService;
|
|
1661
1781
|
// src/angular/voice-stream.service.ts
|
|
1662
|
-
import { computed as
|
|
1782
|
+
import { computed as computed13, Injectable as Injectable13, signal as signal13 } from "@angular/core";
|
|
1663
1783
|
|
|
1664
1784
|
// src/client/actions.ts
|
|
1665
1785
|
var normalizeErrorMessage = (value) => {
|
|
@@ -3063,24 +3183,24 @@ var createVoiceStream = (path, options = {}) => {
|
|
|
3063
3183
|
|
|
3064
3184
|
// src/angular/voice-stream.service.ts
|
|
3065
3185
|
var _dec = [
|
|
3066
|
-
|
|
3186
|
+
Injectable13({ providedIn: "root" })
|
|
3067
3187
|
];
|
|
3068
3188
|
var _init = __decoratorStart(undefined);
|
|
3069
3189
|
|
|
3070
3190
|
class VoiceStreamService {
|
|
3071
3191
|
connect(path, options = {}) {
|
|
3072
3192
|
const stream = createVoiceStream(path, options);
|
|
3073
|
-
const assistantAudioSignal =
|
|
3074
|
-
const assistantTextsSignal =
|
|
3075
|
-
const callSignal =
|
|
3076
|
-
const errorSignal =
|
|
3077
|
-
const isConnectedSignal =
|
|
3078
|
-
const partialSignal =
|
|
3079
|
-
const reconnectSignal =
|
|
3080
|
-
const sessionIdSignal =
|
|
3081
|
-
const sessionMetadataSignal =
|
|
3082
|
-
const statusSignal =
|
|
3083
|
-
const turnsSignal =
|
|
3193
|
+
const assistantAudioSignal = signal13([]);
|
|
3194
|
+
const assistantTextsSignal = signal13([]);
|
|
3195
|
+
const callSignal = signal13(null);
|
|
3196
|
+
const errorSignal = signal13(null);
|
|
3197
|
+
const isConnectedSignal = signal13(false);
|
|
3198
|
+
const partialSignal = signal13("");
|
|
3199
|
+
const reconnectSignal = signal13(stream.reconnect);
|
|
3200
|
+
const sessionIdSignal = signal13(stream.sessionId);
|
|
3201
|
+
const sessionMetadataSignal = signal13(stream.sessionMetadata);
|
|
3202
|
+
const statusSignal = signal13(stream.status);
|
|
3203
|
+
const turnsSignal = signal13([]);
|
|
3084
3204
|
const sync = () => {
|
|
3085
3205
|
assistantAudioSignal.set([...stream.assistantAudio]);
|
|
3086
3206
|
assistantTextsSignal.set([...stream.assistantTexts]);
|
|
@@ -3097,25 +3217,25 @@ class VoiceStreamService {
|
|
|
3097
3217
|
const unsubscribe = stream.subscribe(sync);
|
|
3098
3218
|
sync();
|
|
3099
3219
|
return {
|
|
3100
|
-
assistantAudio:
|
|
3101
|
-
assistantTexts:
|
|
3102
|
-
call:
|
|
3220
|
+
assistantAudio: computed13(() => assistantAudioSignal()),
|
|
3221
|
+
assistantTexts: computed13(() => assistantTextsSignal()),
|
|
3222
|
+
call: computed13(() => callSignal()),
|
|
3103
3223
|
callControl: (message) => stream.callControl(message),
|
|
3104
3224
|
close: () => {
|
|
3105
3225
|
unsubscribe();
|
|
3106
3226
|
stream.close();
|
|
3107
3227
|
},
|
|
3108
3228
|
endTurn: () => stream.endTurn(),
|
|
3109
|
-
error:
|
|
3110
|
-
isConnected:
|
|
3111
|
-
partial:
|
|
3112
|
-
reconnect:
|
|
3229
|
+
error: computed13(() => errorSignal()),
|
|
3230
|
+
isConnected: computed13(() => isConnectedSignal()),
|
|
3231
|
+
partial: computed13(() => partialSignal()),
|
|
3232
|
+
reconnect: computed13(() => reconnectSignal()),
|
|
3113
3233
|
sendAudio: (audio) => stream.sendAudio(audio),
|
|
3114
3234
|
simulateDisconnect: () => stream.simulateDisconnect(),
|
|
3115
|
-
sessionId:
|
|
3116
|
-
sessionMetadata:
|
|
3117
|
-
status:
|
|
3118
|
-
turns:
|
|
3235
|
+
sessionId: computed13(() => sessionIdSignal()),
|
|
3236
|
+
sessionMetadata: computed13(() => sessionMetadataSignal()),
|
|
3237
|
+
status: computed13(() => statusSignal()),
|
|
3238
|
+
turns: computed13(() => turnsSignal())
|
|
3119
3239
|
};
|
|
3120
3240
|
}
|
|
3121
3241
|
}
|
|
@@ -3124,7 +3244,7 @@ __runInitializers(_init, 1, VoiceStreamService);
|
|
|
3124
3244
|
__decoratorMetadata(_init, VoiceStreamService);
|
|
3125
3245
|
let _VoiceStreamService = VoiceStreamService;
|
|
3126
3246
|
// src/angular/voice-controller.service.ts
|
|
3127
|
-
import { computed as
|
|
3247
|
+
import { computed as computed14, Injectable as Injectable14, signal as signal14 } from "@angular/core";
|
|
3128
3248
|
|
|
3129
3249
|
// src/client/htmx.ts
|
|
3130
3250
|
var DEFAULT_EVENT_NAME = "voice-refresh";
|
|
@@ -3775,24 +3895,24 @@ var createVoiceController = (path, options = {}) => {
|
|
|
3775
3895
|
|
|
3776
3896
|
// src/angular/voice-controller.service.ts
|
|
3777
3897
|
var _dec = [
|
|
3778
|
-
|
|
3898
|
+
Injectable14({ providedIn: "root" })
|
|
3779
3899
|
];
|
|
3780
3900
|
var _init = __decoratorStart(undefined);
|
|
3781
3901
|
|
|
3782
3902
|
class VoiceControllerService {
|
|
3783
3903
|
connect(path, options = {}) {
|
|
3784
3904
|
const controller = createVoiceController(path, options);
|
|
3785
|
-
const assistantAudioSignal =
|
|
3786
|
-
const assistantTextsSignal =
|
|
3787
|
-
const errorSignal =
|
|
3788
|
-
const isConnectedSignal =
|
|
3789
|
-
const isRecordingSignal =
|
|
3790
|
-
const partialSignal =
|
|
3791
|
-
const reconnectSignal =
|
|
3792
|
-
const recordingErrorSignal =
|
|
3793
|
-
const sessionIdSignal =
|
|
3794
|
-
const statusSignal =
|
|
3795
|
-
const turnsSignal =
|
|
3905
|
+
const assistantAudioSignal = signal14([]);
|
|
3906
|
+
const assistantTextsSignal = signal14([]);
|
|
3907
|
+
const errorSignal = signal14(null);
|
|
3908
|
+
const isConnectedSignal = signal14(false);
|
|
3909
|
+
const isRecordingSignal = signal14(false);
|
|
3910
|
+
const partialSignal = signal14("");
|
|
3911
|
+
const reconnectSignal = signal14(controller.reconnect);
|
|
3912
|
+
const recordingErrorSignal = signal14(null);
|
|
3913
|
+
const sessionIdSignal = signal14(controller.sessionId);
|
|
3914
|
+
const statusSignal = signal14(controller.status);
|
|
3915
|
+
const turnsSignal = signal14([]);
|
|
3796
3916
|
const sync = () => {
|
|
3797
3917
|
assistantAudioSignal.set([...controller.assistantAudio]);
|
|
3798
3918
|
assistantTextsSignal.set([...controller.assistantTexts]);
|
|
@@ -3809,28 +3929,28 @@ class VoiceControllerService {
|
|
|
3809
3929
|
const unsubscribe = controller.subscribe(sync);
|
|
3810
3930
|
sync();
|
|
3811
3931
|
return {
|
|
3812
|
-
assistantAudio:
|
|
3813
|
-
assistantTexts:
|
|
3932
|
+
assistantAudio: computed14(() => assistantAudioSignal()),
|
|
3933
|
+
assistantTexts: computed14(() => assistantTextsSignal()),
|
|
3814
3934
|
bindHTMX: controller.bindHTMX,
|
|
3815
3935
|
close: () => {
|
|
3816
3936
|
unsubscribe();
|
|
3817
3937
|
controller.close();
|
|
3818
3938
|
},
|
|
3819
3939
|
endTurn: () => controller.endTurn(),
|
|
3820
|
-
error:
|
|
3821
|
-
isConnected:
|
|
3822
|
-
isRecording:
|
|
3823
|
-
partial:
|
|
3824
|
-
reconnect:
|
|
3825
|
-
recordingError:
|
|
3940
|
+
error: computed14(() => errorSignal()),
|
|
3941
|
+
isConnected: computed14(() => isConnectedSignal()),
|
|
3942
|
+
isRecording: computed14(() => isRecordingSignal()),
|
|
3943
|
+
partial: computed14(() => partialSignal()),
|
|
3944
|
+
reconnect: computed14(() => reconnectSignal()),
|
|
3945
|
+
recordingError: computed14(() => recordingErrorSignal()),
|
|
3826
3946
|
sendAudio: (audio) => controller.sendAudio(audio),
|
|
3827
3947
|
simulateDisconnect: () => controller.simulateDisconnect(),
|
|
3828
|
-
sessionId:
|
|
3948
|
+
sessionId: computed14(() => sessionIdSignal()),
|
|
3829
3949
|
startRecording: () => controller.startRecording(),
|
|
3830
|
-
status:
|
|
3950
|
+
status: computed14(() => statusSignal()),
|
|
3831
3951
|
stopRecording: () => controller.stopRecording(),
|
|
3832
3952
|
toggleRecording: () => controller.toggleRecording(),
|
|
3833
|
-
turns:
|
|
3953
|
+
turns: computed14(() => turnsSignal())
|
|
3834
3954
|
};
|
|
3835
3955
|
}
|
|
3836
3956
|
}
|
|
@@ -3839,7 +3959,7 @@ __runInitializers(_init, 1, VoiceControllerService);
|
|
|
3839
3959
|
__decoratorMetadata(_init, VoiceControllerService);
|
|
3840
3960
|
let _VoiceControllerService = VoiceControllerService;
|
|
3841
3961
|
// src/angular/voice-provider-capabilities.service.ts
|
|
3842
|
-
import { computed as
|
|
3962
|
+
import { computed as computed15, Injectable as Injectable15, signal as signal15 } from "@angular/core";
|
|
3843
3963
|
|
|
3844
3964
|
// src/client/providerCapabilities.ts
|
|
3845
3965
|
var fetchVoiceProviderCapabilities = async (path = "/api/provider-capabilities", options = {}) => {
|
|
@@ -3922,17 +4042,17 @@ var createVoiceProviderCapabilitiesStore = (path = "/api/provider-capabilities",
|
|
|
3922
4042
|
|
|
3923
4043
|
// src/angular/voice-provider-capabilities.service.ts
|
|
3924
4044
|
var _dec = [
|
|
3925
|
-
|
|
4045
|
+
Injectable15({ providedIn: "root" })
|
|
3926
4046
|
];
|
|
3927
4047
|
var _init = __decoratorStart(undefined);
|
|
3928
4048
|
|
|
3929
4049
|
class VoiceProviderCapabilitiesService {
|
|
3930
4050
|
connect(path = "/api/provider-capabilities", options = {}) {
|
|
3931
4051
|
const store = createVoiceProviderCapabilitiesStore(path, options);
|
|
3932
|
-
const errorSignal =
|
|
3933
|
-
const isLoadingSignal =
|
|
3934
|
-
const reportSignal =
|
|
3935
|
-
const updatedAtSignal =
|
|
4052
|
+
const errorSignal = signal15(null);
|
|
4053
|
+
const isLoadingSignal = signal15(false);
|
|
4054
|
+
const reportSignal = signal15(undefined);
|
|
4055
|
+
const updatedAtSignal = signal15(undefined);
|
|
3936
4056
|
const sync = () => {
|
|
3937
4057
|
const snapshot = store.getSnapshot();
|
|
3938
4058
|
errorSignal.set(snapshot.error);
|
|
@@ -3948,11 +4068,11 @@ class VoiceProviderCapabilitiesService {
|
|
|
3948
4068
|
unsubscribe();
|
|
3949
4069
|
store.close();
|
|
3950
4070
|
},
|
|
3951
|
-
error:
|
|
3952
|
-
isLoading:
|
|
4071
|
+
error: computed15(() => errorSignal()),
|
|
4072
|
+
isLoading: computed15(() => isLoadingSignal()),
|
|
3953
4073
|
refresh: store.refresh,
|
|
3954
|
-
report:
|
|
3955
|
-
updatedAt:
|
|
4074
|
+
report: computed15(() => reportSignal()),
|
|
4075
|
+
updatedAt: computed15(() => updatedAtSignal())
|
|
3956
4076
|
};
|
|
3957
4077
|
}
|
|
3958
4078
|
}
|
|
@@ -3961,7 +4081,7 @@ __runInitializers(_init, 1, VoiceProviderCapabilitiesService);
|
|
|
3961
4081
|
__decoratorMetadata(_init, VoiceProviderCapabilitiesService);
|
|
3962
4082
|
let _VoiceProviderCapabilitiesService = VoiceProviderCapabilitiesService;
|
|
3963
4083
|
// src/angular/voice-provider-contracts.service.ts
|
|
3964
|
-
import { computed as
|
|
4084
|
+
import { computed as computed16, Injectable as Injectable16, signal as signal16 } from "@angular/core";
|
|
3965
4085
|
|
|
3966
4086
|
// src/client/providerContracts.ts
|
|
3967
4087
|
var fetchVoiceProviderContracts = async (path = "/api/provider-contracts", options = {}) => {
|
|
@@ -4040,17 +4160,17 @@ var createVoiceProviderContractsStore = (path = "/api/provider-contracts", optio
|
|
|
4040
4160
|
|
|
4041
4161
|
// src/angular/voice-provider-contracts.service.ts
|
|
4042
4162
|
var _dec = [
|
|
4043
|
-
|
|
4163
|
+
Injectable16({ providedIn: "root" })
|
|
4044
4164
|
];
|
|
4045
4165
|
var _init = __decoratorStart(undefined);
|
|
4046
4166
|
|
|
4047
4167
|
class VoiceProviderContractsService {
|
|
4048
4168
|
connect(path = "/api/provider-contracts", options = {}) {
|
|
4049
4169
|
const store = createVoiceProviderContractsStore(path, options);
|
|
4050
|
-
const errorSignal =
|
|
4051
|
-
const isLoadingSignal =
|
|
4052
|
-
const reportSignal =
|
|
4053
|
-
const updatedAtSignal =
|
|
4170
|
+
const errorSignal = signal16(null);
|
|
4171
|
+
const isLoadingSignal = signal16(false);
|
|
4172
|
+
const reportSignal = signal16(undefined);
|
|
4173
|
+
const updatedAtSignal = signal16(undefined);
|
|
4054
4174
|
const sync = () => {
|
|
4055
4175
|
const snapshot = store.getSnapshot();
|
|
4056
4176
|
errorSignal.set(snapshot.error);
|
|
@@ -4066,11 +4186,11 @@ class VoiceProviderContractsService {
|
|
|
4066
4186
|
unsubscribe();
|
|
4067
4187
|
store.close();
|
|
4068
4188
|
},
|
|
4069
|
-
error:
|
|
4070
|
-
isLoading:
|
|
4189
|
+
error: computed16(() => errorSignal()),
|
|
4190
|
+
isLoading: computed16(() => isLoadingSignal()),
|
|
4071
4191
|
refresh: store.refresh,
|
|
4072
|
-
report:
|
|
4073
|
-
updatedAt:
|
|
4192
|
+
report: computed16(() => reportSignal()),
|
|
4193
|
+
updatedAt: computed16(() => updatedAtSignal())
|
|
4074
4194
|
};
|
|
4075
4195
|
}
|
|
4076
4196
|
}
|
|
@@ -4079,7 +4199,7 @@ __runInitializers(_init, 1, VoiceProviderContractsService);
|
|
|
4079
4199
|
__decoratorMetadata(_init, VoiceProviderContractsService);
|
|
4080
4200
|
let _VoiceProviderContractsService = VoiceProviderContractsService;
|
|
4081
4201
|
// src/angular/voice-provider-status.service.ts
|
|
4082
|
-
import { computed as
|
|
4202
|
+
import { computed as computed17, Injectable as Injectable17, signal as signal17 } from "@angular/core";
|
|
4083
4203
|
|
|
4084
4204
|
// src/client/providerStatus.ts
|
|
4085
4205
|
var fetchVoiceProviderStatus = async (path = "/api/provider-status", options = {}) => {
|
|
@@ -4163,17 +4283,17 @@ var createVoiceProviderStatusStore = (path = "/api/provider-status", options = {
|
|
|
4163
4283
|
|
|
4164
4284
|
// src/angular/voice-provider-status.service.ts
|
|
4165
4285
|
var _dec = [
|
|
4166
|
-
|
|
4286
|
+
Injectable17({ providedIn: "root" })
|
|
4167
4287
|
];
|
|
4168
4288
|
var _init = __decoratorStart(undefined);
|
|
4169
4289
|
|
|
4170
4290
|
class VoiceProviderStatusService {
|
|
4171
4291
|
connect(path = "/api/provider-status", options = {}) {
|
|
4172
4292
|
const store = createVoiceProviderStatusStore(path, options);
|
|
4173
|
-
const errorSignal =
|
|
4174
|
-
const isLoadingSignal =
|
|
4175
|
-
const providersSignal =
|
|
4176
|
-
const updatedAtSignal =
|
|
4293
|
+
const errorSignal = signal17(null);
|
|
4294
|
+
const isLoadingSignal = signal17(false);
|
|
4295
|
+
const providersSignal = signal17([]);
|
|
4296
|
+
const updatedAtSignal = signal17(undefined);
|
|
4177
4297
|
const sync = () => {
|
|
4178
4298
|
const snapshot = store.getSnapshot();
|
|
4179
4299
|
errorSignal.set(snapshot.error);
|
|
@@ -4189,11 +4309,11 @@ class VoiceProviderStatusService {
|
|
|
4189
4309
|
unsubscribe();
|
|
4190
4310
|
store.close();
|
|
4191
4311
|
},
|
|
4192
|
-
error:
|
|
4193
|
-
isLoading:
|
|
4194
|
-
providers:
|
|
4312
|
+
error: computed17(() => errorSignal()),
|
|
4313
|
+
isLoading: computed17(() => isLoadingSignal()),
|
|
4314
|
+
providers: computed17(() => providersSignal()),
|
|
4195
4315
|
refresh: store.refresh,
|
|
4196
|
-
updatedAt:
|
|
4316
|
+
updatedAt: computed17(() => updatedAtSignal())
|
|
4197
4317
|
};
|
|
4198
4318
|
}
|
|
4199
4319
|
}
|
|
@@ -4202,7 +4322,7 @@ __runInitializers(_init, 1, VoiceProviderStatusService);
|
|
|
4202
4322
|
__decoratorMetadata(_init, VoiceProviderStatusService);
|
|
4203
4323
|
let _VoiceProviderStatusService = VoiceProviderStatusService;
|
|
4204
4324
|
// src/angular/voice-routing-status.service.ts
|
|
4205
|
-
import { Injectable as
|
|
4325
|
+
import { Injectable as Injectable18, signal as signal18 } from "@angular/core";
|
|
4206
4326
|
|
|
4207
4327
|
// src/client/routingStatus.ts
|
|
4208
4328
|
var fetchVoiceRoutingStatus = async (path = "/api/routing/latest", options = {}) => {
|
|
@@ -4286,17 +4406,17 @@ var createVoiceRoutingStatusStore = (path = "/api/routing/latest", options = {})
|
|
|
4286
4406
|
|
|
4287
4407
|
// src/angular/voice-routing-status.service.ts
|
|
4288
4408
|
var _dec = [
|
|
4289
|
-
|
|
4409
|
+
Injectable18({ providedIn: "root" })
|
|
4290
4410
|
];
|
|
4291
4411
|
var _init = __decoratorStart(undefined);
|
|
4292
4412
|
|
|
4293
4413
|
class VoiceRoutingStatusService {
|
|
4294
4414
|
connect(path = "/api/routing/latest", options = {}) {
|
|
4295
4415
|
const store = createVoiceRoutingStatusStore(path, options);
|
|
4296
|
-
const decisionSignal =
|
|
4297
|
-
const errorSignal =
|
|
4298
|
-
const isLoadingSignal =
|
|
4299
|
-
const updatedAtSignal =
|
|
4416
|
+
const decisionSignal = signal18(null);
|
|
4417
|
+
const errorSignal = signal18(null);
|
|
4418
|
+
const isLoadingSignal = signal18(false);
|
|
4419
|
+
const updatedAtSignal = signal18(undefined);
|
|
4300
4420
|
const sync = () => {
|
|
4301
4421
|
const snapshot = store.getSnapshot();
|
|
4302
4422
|
decisionSignal.set(snapshot.decision);
|
|
@@ -4325,7 +4445,7 @@ __runInitializers(_init, 1, VoiceRoutingStatusService);
|
|
|
4325
4445
|
__decoratorMetadata(_init, VoiceRoutingStatusService);
|
|
4326
4446
|
let _VoiceRoutingStatusService = VoiceRoutingStatusService;
|
|
4327
4447
|
// src/angular/voice-trace-timeline.service.ts
|
|
4328
|
-
import { computed as
|
|
4448
|
+
import { computed as computed18, Injectable as Injectable19, signal as signal19 } from "@angular/core";
|
|
4329
4449
|
|
|
4330
4450
|
// src/client/traceTimeline.ts
|
|
4331
4451
|
var fetchVoiceTraceTimeline = async (path = "/api/voice-traces", options = {}) => {
|
|
@@ -4409,17 +4529,17 @@ var createVoiceTraceTimelineStore = (path = "/api/voice-traces", options = {}) =
|
|
|
4409
4529
|
|
|
4410
4530
|
// src/angular/voice-trace-timeline.service.ts
|
|
4411
4531
|
var _dec = [
|
|
4412
|
-
|
|
4532
|
+
Injectable19({ providedIn: "root" })
|
|
4413
4533
|
];
|
|
4414
4534
|
var _init = __decoratorStart(undefined);
|
|
4415
4535
|
|
|
4416
4536
|
class VoiceTraceTimelineService {
|
|
4417
4537
|
connect(path = "/api/voice-traces", options = {}) {
|
|
4418
4538
|
const store = createVoiceTraceTimelineStore(path, options);
|
|
4419
|
-
const errorSignal =
|
|
4420
|
-
const isLoadingSignal =
|
|
4421
|
-
const reportSignal =
|
|
4422
|
-
const updatedAtSignal =
|
|
4539
|
+
const errorSignal = signal19(null);
|
|
4540
|
+
const isLoadingSignal = signal19(false);
|
|
4541
|
+
const reportSignal = signal19(null);
|
|
4542
|
+
const updatedAtSignal = signal19(undefined);
|
|
4423
4543
|
const sync = () => {
|
|
4424
4544
|
const snapshot = store.getSnapshot();
|
|
4425
4545
|
errorSignal.set(snapshot.error);
|
|
@@ -4435,11 +4555,11 @@ class VoiceTraceTimelineService {
|
|
|
4435
4555
|
unsubscribe();
|
|
4436
4556
|
store.close();
|
|
4437
4557
|
},
|
|
4438
|
-
error:
|
|
4439
|
-
isLoading:
|
|
4558
|
+
error: computed18(() => errorSignal()),
|
|
4559
|
+
isLoading: computed18(() => isLoadingSignal()),
|
|
4440
4560
|
refresh: store.refresh,
|
|
4441
|
-
report:
|
|
4442
|
-
updatedAt:
|
|
4561
|
+
report: computed18(() => reportSignal()),
|
|
4562
|
+
updatedAt: computed18(() => updatedAtSignal())
|
|
4443
4563
|
};
|
|
4444
4564
|
}
|
|
4445
4565
|
}
|
|
@@ -4448,7 +4568,7 @@ __runInitializers(_init, 1, VoiceTraceTimelineService);
|
|
|
4448
4568
|
__decoratorMetadata(_init, VoiceTraceTimelineService);
|
|
4449
4569
|
let _VoiceTraceTimelineService = VoiceTraceTimelineService;
|
|
4450
4570
|
// src/angular/voice-agent-squad-status.service.ts
|
|
4451
|
-
import { computed as
|
|
4571
|
+
import { computed as computed19, Injectable as Injectable20, signal as signal20 } from "@angular/core";
|
|
4452
4572
|
|
|
4453
4573
|
// src/client/agentSquadStatus.ts
|
|
4454
4574
|
var getString = (value) => typeof value === "string" && value.trim() ? value.trim() : undefined;
|
|
@@ -4526,17 +4646,17 @@ var createVoiceAgentSquadStatusStore = (path = "/api/voice-traces", options = {}
|
|
|
4526
4646
|
|
|
4527
4647
|
// src/angular/voice-agent-squad-status.service.ts
|
|
4528
4648
|
var _dec = [
|
|
4529
|
-
|
|
4649
|
+
Injectable20({ providedIn: "root" })
|
|
4530
4650
|
];
|
|
4531
4651
|
var _init = __decoratorStart(undefined);
|
|
4532
4652
|
|
|
4533
4653
|
class VoiceAgentSquadStatusService {
|
|
4534
4654
|
connect(path = "/api/voice-traces", options = {}) {
|
|
4535
4655
|
const store = createVoiceAgentSquadStatusStore(path, options);
|
|
4536
|
-
const errorSignal =
|
|
4537
|
-
const isLoadingSignal =
|
|
4538
|
-
const reportSignal =
|
|
4539
|
-
const updatedAtSignal =
|
|
4656
|
+
const errorSignal = signal20(null);
|
|
4657
|
+
const isLoadingSignal = signal20(false);
|
|
4658
|
+
const reportSignal = signal20(undefined);
|
|
4659
|
+
const updatedAtSignal = signal20(undefined);
|
|
4540
4660
|
const sync = () => {
|
|
4541
4661
|
const snapshot = store.getSnapshot();
|
|
4542
4662
|
errorSignal.set(snapshot.error);
|
|
@@ -4552,12 +4672,12 @@ class VoiceAgentSquadStatusService {
|
|
|
4552
4672
|
unsubscribe();
|
|
4553
4673
|
store.close();
|
|
4554
4674
|
},
|
|
4555
|
-
current:
|
|
4556
|
-
error:
|
|
4557
|
-
isLoading:
|
|
4675
|
+
current: computed19(() => reportSignal()?.current),
|
|
4676
|
+
error: computed19(() => errorSignal()),
|
|
4677
|
+
isLoading: computed19(() => isLoadingSignal()),
|
|
4558
4678
|
refresh: store.refresh,
|
|
4559
|
-
report:
|
|
4560
|
-
updatedAt:
|
|
4679
|
+
report: computed19(() => reportSignal()),
|
|
4680
|
+
updatedAt: computed19(() => updatedAtSignal())
|
|
4561
4681
|
};
|
|
4562
4682
|
}
|
|
4563
4683
|
}
|
|
@@ -4566,7 +4686,7 @@ __runInitializers(_init, 1, VoiceAgentSquadStatusService);
|
|
|
4566
4686
|
__decoratorMetadata(_init, VoiceAgentSquadStatusService);
|
|
4567
4687
|
let _VoiceAgentSquadStatusService = VoiceAgentSquadStatusService;
|
|
4568
4688
|
// src/angular/voice-turn-latency.service.ts
|
|
4569
|
-
import { computed as
|
|
4689
|
+
import { computed as computed20, Injectable as Injectable21, signal as signal21 } from "@angular/core";
|
|
4570
4690
|
|
|
4571
4691
|
// src/client/turnLatency.ts
|
|
4572
4692
|
var fetchVoiceTurnLatency = async (path = "/api/turn-latency", options = {}) => {
|
|
@@ -4673,17 +4793,17 @@ var createVoiceTurnLatencyStore = (path = "/api/turn-latency", options = {}) =>
|
|
|
4673
4793
|
|
|
4674
4794
|
// src/angular/voice-turn-latency.service.ts
|
|
4675
4795
|
var _dec = [
|
|
4676
|
-
|
|
4796
|
+
Injectable21({ providedIn: "root" })
|
|
4677
4797
|
];
|
|
4678
4798
|
var _init = __decoratorStart(undefined);
|
|
4679
4799
|
|
|
4680
4800
|
class VoiceTurnLatencyService {
|
|
4681
4801
|
connect(path = "/api/turn-latency", options = {}) {
|
|
4682
4802
|
const store = createVoiceTurnLatencyStore(path, options);
|
|
4683
|
-
const errorSignal =
|
|
4684
|
-
const isLoadingSignal =
|
|
4685
|
-
const reportSignal =
|
|
4686
|
-
const updatedAtSignal =
|
|
4803
|
+
const errorSignal = signal21(null);
|
|
4804
|
+
const isLoadingSignal = signal21(false);
|
|
4805
|
+
const reportSignal = signal21(undefined);
|
|
4806
|
+
const updatedAtSignal = signal21(undefined);
|
|
4687
4807
|
const sync = () => {
|
|
4688
4808
|
const snapshot = store.getSnapshot();
|
|
4689
4809
|
errorSignal.set(snapshot.error);
|
|
@@ -4699,12 +4819,12 @@ class VoiceTurnLatencyService {
|
|
|
4699
4819
|
unsubscribe();
|
|
4700
4820
|
store.close();
|
|
4701
4821
|
},
|
|
4702
|
-
error:
|
|
4703
|
-
isLoading:
|
|
4822
|
+
error: computed20(() => errorSignal()),
|
|
4823
|
+
isLoading: computed20(() => isLoadingSignal()),
|
|
4704
4824
|
refresh: store.refresh,
|
|
4705
|
-
report:
|
|
4825
|
+
report: computed20(() => reportSignal()),
|
|
4706
4826
|
runProof: store.runProof,
|
|
4707
|
-
updatedAt:
|
|
4827
|
+
updatedAt: computed20(() => updatedAtSignal())
|
|
4708
4828
|
};
|
|
4709
4829
|
}
|
|
4710
4830
|
}
|
|
@@ -4713,7 +4833,7 @@ __runInitializers(_init, 1, VoiceTurnLatencyService);
|
|
|
4713
4833
|
__decoratorMetadata(_init, VoiceTurnLatencyService);
|
|
4714
4834
|
let _VoiceTurnLatencyService = VoiceTurnLatencyService;
|
|
4715
4835
|
// src/angular/voice-turn-quality.service.ts
|
|
4716
|
-
import { computed as
|
|
4836
|
+
import { computed as computed21, Injectable as Injectable22, signal as signal22 } from "@angular/core";
|
|
4717
4837
|
|
|
4718
4838
|
// src/client/turnQuality.ts
|
|
4719
4839
|
var fetchVoiceTurnQuality = async (path = "/api/turn-quality", options = {}) => {
|
|
@@ -4796,17 +4916,17 @@ var createVoiceTurnQualityStore = (path = "/api/turn-quality", options = {}) =>
|
|
|
4796
4916
|
|
|
4797
4917
|
// src/angular/voice-turn-quality.service.ts
|
|
4798
4918
|
var _dec = [
|
|
4799
|
-
|
|
4919
|
+
Injectable22({ providedIn: "root" })
|
|
4800
4920
|
];
|
|
4801
4921
|
var _init = __decoratorStart(undefined);
|
|
4802
4922
|
|
|
4803
4923
|
class VoiceTurnQualityService {
|
|
4804
4924
|
connect(path = "/api/turn-quality", options = {}) {
|
|
4805
4925
|
const store = createVoiceTurnQualityStore(path, options);
|
|
4806
|
-
const errorSignal =
|
|
4807
|
-
const isLoadingSignal =
|
|
4808
|
-
const reportSignal =
|
|
4809
|
-
const updatedAtSignal =
|
|
4926
|
+
const errorSignal = signal22(null);
|
|
4927
|
+
const isLoadingSignal = signal22(false);
|
|
4928
|
+
const reportSignal = signal22(undefined);
|
|
4929
|
+
const updatedAtSignal = signal22(undefined);
|
|
4810
4930
|
const sync = () => {
|
|
4811
4931
|
const snapshot = store.getSnapshot();
|
|
4812
4932
|
errorSignal.set(snapshot.error);
|
|
@@ -4822,11 +4942,11 @@ class VoiceTurnQualityService {
|
|
|
4822
4942
|
unsubscribe();
|
|
4823
4943
|
store.close();
|
|
4824
4944
|
},
|
|
4825
|
-
error:
|
|
4826
|
-
isLoading:
|
|
4945
|
+
error: computed21(() => errorSignal()),
|
|
4946
|
+
isLoading: computed21(() => isLoadingSignal()),
|
|
4827
4947
|
refresh: store.refresh,
|
|
4828
|
-
report:
|
|
4829
|
-
updatedAt:
|
|
4948
|
+
report: computed21(() => reportSignal()),
|
|
4949
|
+
updatedAt: computed21(() => updatedAtSignal())
|
|
4830
4950
|
};
|
|
4831
4951
|
}
|
|
4832
4952
|
}
|
|
@@ -4835,7 +4955,7 @@ __runInitializers(_init, 1, VoiceTurnQualityService);
|
|
|
4835
4955
|
__decoratorMetadata(_init, VoiceTurnQualityService);
|
|
4836
4956
|
let _VoiceTurnQualityService = VoiceTurnQualityService;
|
|
4837
4957
|
// src/angular/voice-workflow-status.service.ts
|
|
4838
|
-
import { computed as
|
|
4958
|
+
import { computed as computed22, Injectable as Injectable23, signal as signal23 } from "@angular/core";
|
|
4839
4959
|
|
|
4840
4960
|
// src/client/workflowStatus.ts
|
|
4841
4961
|
var fetchVoiceWorkflowStatus = async (path = "/evals/scenarios/json", options = {}) => {
|
|
@@ -4918,17 +5038,17 @@ var createVoiceWorkflowStatusStore = (path = "/evals/scenarios/json", options =
|
|
|
4918
5038
|
|
|
4919
5039
|
// src/angular/voice-workflow-status.service.ts
|
|
4920
5040
|
var _dec = [
|
|
4921
|
-
|
|
5041
|
+
Injectable23({ providedIn: "root" })
|
|
4922
5042
|
];
|
|
4923
5043
|
var _init = __decoratorStart(undefined);
|
|
4924
5044
|
|
|
4925
5045
|
class VoiceWorkflowStatusService {
|
|
4926
5046
|
connect(path = "/evals/scenarios/json", options = {}) {
|
|
4927
5047
|
const store = createVoiceWorkflowStatusStore(path, options);
|
|
4928
|
-
const errorSignal =
|
|
4929
|
-
const isLoadingSignal =
|
|
4930
|
-
const reportSignal =
|
|
4931
|
-
const updatedAtSignal =
|
|
5048
|
+
const errorSignal = signal23(null);
|
|
5049
|
+
const isLoadingSignal = signal23(false);
|
|
5050
|
+
const reportSignal = signal23(undefined);
|
|
5051
|
+
const updatedAtSignal = signal23(undefined);
|
|
4932
5052
|
const sync = () => {
|
|
4933
5053
|
const snapshot = store.getSnapshot();
|
|
4934
5054
|
errorSignal.set(snapshot.error);
|
|
@@ -4946,11 +5066,11 @@ class VoiceWorkflowStatusService {
|
|
|
4946
5066
|
unsubscribe();
|
|
4947
5067
|
store.close();
|
|
4948
5068
|
},
|
|
4949
|
-
error:
|
|
4950
|
-
isLoading:
|
|
5069
|
+
error: computed22(() => errorSignal()),
|
|
5070
|
+
isLoading: computed22(() => isLoadingSignal()),
|
|
4951
5071
|
refresh: store.refresh,
|
|
4952
|
-
report:
|
|
4953
|
-
updatedAt:
|
|
5072
|
+
report: computed22(() => reportSignal()),
|
|
5073
|
+
updatedAt: computed22(() => updatedAtSignal())
|
|
4954
5074
|
};
|
|
4955
5075
|
}
|
|
4956
5076
|
}
|
|
@@ -4966,6 +5086,7 @@ export {
|
|
|
4966
5086
|
VoiceStreamService,
|
|
4967
5087
|
VoiceSessionSnapshotService,
|
|
4968
5088
|
VoiceRoutingStatusService,
|
|
5089
|
+
VoiceReconnectProfileEvidenceService,
|
|
4969
5090
|
VoiceReadinessFailuresService,
|
|
4970
5091
|
VoiceProviderStatusService,
|
|
4971
5092
|
VoiceProviderContractsService,
|