@absolutejs/voice 0.0.22-beta.404 → 0.0.22-beta.405
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 +333 -214
- package/dist/angular/voice-call-debugger.service.d.ts +12 -0
- package/dist/react/VoiceCallDebuggerLaunch.d.ts +6 -0
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +739 -483
- package/dist/react/useVoiceCallDebugger.d.ts +8 -0
- package/dist/svelte/createVoiceCallDebugger.d.ts +12 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +338 -152
- package/dist/vue/VoiceCallDebuggerLaunch.d.ts +68 -0
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.js +628 -364
- package/dist/vue/useVoiceCallDebugger.d.ts +10 -0
- package/package.json +1 -1
package/dist/angular/index.js
CHANGED
|
@@ -442,9 +442,127 @@ 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-call-debugger.service.ts
|
|
446
446
|
import { computed as computed4, Injectable as Injectable4, signal as signal4 } from "@angular/core";
|
|
447
447
|
|
|
448
|
+
// src/client/callDebugger.ts
|
|
449
|
+
var fetchVoiceCallDebugger = async (path, options = {}) => {
|
|
450
|
+
const fetchImpl = options.fetch ?? globalThis.fetch;
|
|
451
|
+
const response = await fetchImpl(path);
|
|
452
|
+
if (!response.ok) {
|
|
453
|
+
throw new Error(`Voice call debugger failed: HTTP ${response.status}`);
|
|
454
|
+
}
|
|
455
|
+
return await response.json();
|
|
456
|
+
};
|
|
457
|
+
var createVoiceCallDebuggerStore = (path, 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 fetchVoiceCallDebugger(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 (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-call-debugger.service.ts
|
|
524
|
+
var _dec = [
|
|
525
|
+
Injectable4({ providedIn: "root" })
|
|
526
|
+
];
|
|
527
|
+
var _init = __decoratorStart(undefined);
|
|
528
|
+
|
|
529
|
+
class VoiceCallDebuggerService {
|
|
530
|
+
connect(path, options = {}) {
|
|
531
|
+
const store = createVoiceCallDebuggerStore(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 state = store.getSnapshot();
|
|
538
|
+
errorSignal.set(state.error);
|
|
539
|
+
isLoadingSignal.set(state.isLoading);
|
|
540
|
+
reportSignal.set(state.report);
|
|
541
|
+
updatedAtSignal.set(state.updatedAt);
|
|
542
|
+
};
|
|
543
|
+
const unsubscribe = store.subscribe(sync);
|
|
544
|
+
sync();
|
|
545
|
+
store.refresh().catch(() => {});
|
|
546
|
+
return {
|
|
547
|
+
close: () => {
|
|
548
|
+
unsubscribe();
|
|
549
|
+
store.close();
|
|
550
|
+
},
|
|
551
|
+
error: computed4(() => errorSignal()),
|
|
552
|
+
isLoading: computed4(() => isLoadingSignal()),
|
|
553
|
+
refresh: store.refresh,
|
|
554
|
+
report: computed4(() => reportSignal()),
|
|
555
|
+
updatedAt: computed4(() => updatedAtSignal())
|
|
556
|
+
};
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
VoiceCallDebuggerService = __decorateElement(_init, 0, "VoiceCallDebuggerService", _dec, VoiceCallDebuggerService);
|
|
560
|
+
__runInitializers(_init, 1, VoiceCallDebuggerService);
|
|
561
|
+
__decoratorMetadata(_init, VoiceCallDebuggerService);
|
|
562
|
+
let _VoiceCallDebuggerService = VoiceCallDebuggerService;
|
|
563
|
+
// src/angular/voice-session-snapshot.service.ts
|
|
564
|
+
import { computed as computed5, Injectable as Injectable5, signal as signal5 } from "@angular/core";
|
|
565
|
+
|
|
448
566
|
// src/client/sessionSnapshot.ts
|
|
449
567
|
var withTurnId = (path, turnId) => {
|
|
450
568
|
if (!turnId) {
|
|
@@ -540,17 +658,17 @@ var createVoiceSessionSnapshotStore = (path, options = {}) => {
|
|
|
540
658
|
|
|
541
659
|
// src/angular/voice-session-snapshot.service.ts
|
|
542
660
|
var _dec = [
|
|
543
|
-
|
|
661
|
+
Injectable5({ providedIn: "root" })
|
|
544
662
|
];
|
|
545
663
|
var _init = __decoratorStart(undefined);
|
|
546
664
|
|
|
547
665
|
class VoiceSessionSnapshotService {
|
|
548
666
|
connect(path, options = {}) {
|
|
549
667
|
const store = createVoiceSessionSnapshotStore(path, options);
|
|
550
|
-
const errorSignal =
|
|
551
|
-
const isLoadingSignal =
|
|
552
|
-
const snapshotSignal =
|
|
553
|
-
const updatedAtSignal =
|
|
668
|
+
const errorSignal = signal5(null);
|
|
669
|
+
const isLoadingSignal = signal5(false);
|
|
670
|
+
const snapshotSignal = signal5(undefined);
|
|
671
|
+
const updatedAtSignal = signal5(undefined);
|
|
554
672
|
const sync = () => {
|
|
555
673
|
const state = store.getSnapshot();
|
|
556
674
|
errorSignal.set(state.error);
|
|
@@ -567,11 +685,11 @@ class VoiceSessionSnapshotService {
|
|
|
567
685
|
store.close();
|
|
568
686
|
},
|
|
569
687
|
download: store.download,
|
|
570
|
-
error:
|
|
571
|
-
isLoading:
|
|
688
|
+
error: computed5(() => errorSignal()),
|
|
689
|
+
isLoading: computed5(() => isLoadingSignal()),
|
|
572
690
|
refresh: store.refresh,
|
|
573
|
-
snapshot:
|
|
574
|
-
updatedAt:
|
|
691
|
+
snapshot: computed5(() => snapshotSignal()),
|
|
692
|
+
updatedAt: computed5(() => updatedAtSignal())
|
|
575
693
|
};
|
|
576
694
|
}
|
|
577
695
|
}
|
|
@@ -580,7 +698,7 @@ __runInitializers(_init, 1, VoiceSessionSnapshotService);
|
|
|
580
698
|
__decoratorMetadata(_init, VoiceSessionSnapshotService);
|
|
581
699
|
let _VoiceSessionSnapshotService = VoiceSessionSnapshotService;
|
|
582
700
|
// src/angular/voice-profile-comparison.service.ts
|
|
583
|
-
import { computed as
|
|
701
|
+
import { computed as computed6, Injectable as Injectable6, signal as signal6 } from "@angular/core";
|
|
584
702
|
|
|
585
703
|
// src/client/profileComparison.ts
|
|
586
704
|
var fetchVoiceProfileComparison = async (path = "/api/voice/real-call-profile-history", options = {}) => {
|
|
@@ -659,17 +777,17 @@ var createVoiceProfileComparisonStore = (path = "/api/voice/real-call-profile-hi
|
|
|
659
777
|
|
|
660
778
|
// src/angular/voice-profile-comparison.service.ts
|
|
661
779
|
var _dec = [
|
|
662
|
-
|
|
780
|
+
Injectable6({ providedIn: "root" })
|
|
663
781
|
];
|
|
664
782
|
var _init = __decoratorStart(undefined);
|
|
665
783
|
|
|
666
784
|
class VoiceProfileComparisonService {
|
|
667
785
|
connect(path = "/api/voice/real-call-profile-history", options = {}) {
|
|
668
786
|
const store = createVoiceProfileComparisonStore(path, options);
|
|
669
|
-
const errorSignal =
|
|
670
|
-
const isLoadingSignal =
|
|
671
|
-
const reportSignal =
|
|
672
|
-
const updatedAtSignal =
|
|
787
|
+
const errorSignal = signal6(null);
|
|
788
|
+
const isLoadingSignal = signal6(false);
|
|
789
|
+
const reportSignal = signal6(undefined);
|
|
790
|
+
const updatedAtSignal = signal6(undefined);
|
|
673
791
|
const sync = () => {
|
|
674
792
|
const snapshot = store.getSnapshot();
|
|
675
793
|
errorSignal.set(snapshot.error);
|
|
@@ -687,11 +805,11 @@ class VoiceProfileComparisonService {
|
|
|
687
805
|
unsubscribe();
|
|
688
806
|
store.close();
|
|
689
807
|
},
|
|
690
|
-
error:
|
|
691
|
-
isLoading:
|
|
808
|
+
error: computed6(() => errorSignal()),
|
|
809
|
+
isLoading: computed6(() => isLoadingSignal()),
|
|
692
810
|
refresh: store.refresh,
|
|
693
|
-
report:
|
|
694
|
-
updatedAt:
|
|
811
|
+
report: computed6(() => reportSignal()),
|
|
812
|
+
updatedAt: computed6(() => updatedAtSignal())
|
|
695
813
|
};
|
|
696
814
|
}
|
|
697
815
|
}
|
|
@@ -700,7 +818,7 @@ __runInitializers(_init, 1, VoiceProfileComparisonService);
|
|
|
700
818
|
__decoratorMetadata(_init, VoiceProfileComparisonService);
|
|
701
819
|
let _VoiceProfileComparisonService = VoiceProfileComparisonService;
|
|
702
820
|
// src/angular/voice-readiness-failures.service.ts
|
|
703
|
-
import { computed as
|
|
821
|
+
import { computed as computed7, Injectable as Injectable7, signal as signal7 } from "@angular/core";
|
|
704
822
|
|
|
705
823
|
// src/client/readinessFailures.ts
|
|
706
824
|
var fetchVoiceReadinessFailures = async (path = "/api/production-readiness", options = {}) => {
|
|
@@ -779,17 +897,17 @@ var createVoiceReadinessFailuresStore = (path = "/api/production-readiness", opt
|
|
|
779
897
|
|
|
780
898
|
// src/angular/voice-readiness-failures.service.ts
|
|
781
899
|
var _dec = [
|
|
782
|
-
|
|
900
|
+
Injectable7({ providedIn: "root" })
|
|
783
901
|
];
|
|
784
902
|
var _init = __decoratorStart(undefined);
|
|
785
903
|
|
|
786
904
|
class VoiceReadinessFailuresService {
|
|
787
905
|
connect(path = "/api/production-readiness", options = {}) {
|
|
788
906
|
const store = createVoiceReadinessFailuresStore(path, options);
|
|
789
|
-
const errorSignal =
|
|
790
|
-
const isLoadingSignal =
|
|
791
|
-
const reportSignal =
|
|
792
|
-
const updatedAtSignal =
|
|
907
|
+
const errorSignal = signal7(null);
|
|
908
|
+
const isLoadingSignal = signal7(false);
|
|
909
|
+
const reportSignal = signal7(undefined);
|
|
910
|
+
const updatedAtSignal = signal7(undefined);
|
|
793
911
|
const sync = () => {
|
|
794
912
|
const snapshot = store.getSnapshot();
|
|
795
913
|
errorSignal.set(snapshot.error);
|
|
@@ -807,12 +925,12 @@ class VoiceReadinessFailuresService {
|
|
|
807
925
|
unsubscribe();
|
|
808
926
|
store.close();
|
|
809
927
|
},
|
|
810
|
-
error:
|
|
811
|
-
explanations:
|
|
812
|
-
isLoading:
|
|
928
|
+
error: computed7(() => errorSignal()),
|
|
929
|
+
explanations: computed7(() => reportSignal()?.checks.filter((check) => check.status !== "pass" && !!check.gateExplanation) ?? []),
|
|
930
|
+
isLoading: computed7(() => isLoadingSignal()),
|
|
813
931
|
refresh: store.refresh,
|
|
814
|
-
report:
|
|
815
|
-
updatedAt:
|
|
932
|
+
report: computed7(() => reportSignal()),
|
|
933
|
+
updatedAt: computed7(() => updatedAtSignal())
|
|
816
934
|
};
|
|
817
935
|
}
|
|
818
936
|
}
|
|
@@ -821,7 +939,7 @@ __runInitializers(_init, 1, VoiceReadinessFailuresService);
|
|
|
821
939
|
__decoratorMetadata(_init, VoiceReadinessFailuresService);
|
|
822
940
|
let _VoiceReadinessFailuresService = VoiceReadinessFailuresService;
|
|
823
941
|
// src/angular/voice-ops-action-center.service.ts
|
|
824
|
-
import { computed as
|
|
942
|
+
import { computed as computed8, Injectable as Injectable8, signal as signal8 } from "@angular/core";
|
|
825
943
|
|
|
826
944
|
// src/client/opsActionCenter.ts
|
|
827
945
|
var recordVoiceOpsActionResult = async (result, options = {}) => {
|
|
@@ -1016,18 +1134,18 @@ var createVoiceOpsActionCenterStore = (options = {}) => {
|
|
|
1016
1134
|
|
|
1017
1135
|
// src/angular/voice-ops-action-center.service.ts
|
|
1018
1136
|
var _dec = [
|
|
1019
|
-
|
|
1137
|
+
Injectable8({ providedIn: "root" })
|
|
1020
1138
|
];
|
|
1021
1139
|
var _init = __decoratorStart(undefined);
|
|
1022
1140
|
|
|
1023
1141
|
class VoiceOpsActionCenterService {
|
|
1024
1142
|
connect(options = {}) {
|
|
1025
1143
|
const store = createVoiceOpsActionCenterStore(options);
|
|
1026
|
-
const actionsSignal =
|
|
1027
|
-
const errorSignal =
|
|
1028
|
-
const isRunningSignal =
|
|
1029
|
-
const lastResultSignal =
|
|
1030
|
-
const runningActionIdSignal =
|
|
1144
|
+
const actionsSignal = signal8([]);
|
|
1145
|
+
const errorSignal = signal8(null);
|
|
1146
|
+
const isRunningSignal = signal8(false);
|
|
1147
|
+
const lastResultSignal = signal8(undefined);
|
|
1148
|
+
const runningActionIdSignal = signal8(undefined);
|
|
1031
1149
|
const sync = () => {
|
|
1032
1150
|
const snapshot = store.getSnapshot();
|
|
1033
1151
|
actionsSignal.set(snapshot.actions);
|
|
@@ -1039,16 +1157,16 @@ class VoiceOpsActionCenterService {
|
|
|
1039
1157
|
const unsubscribe = store.subscribe(sync);
|
|
1040
1158
|
sync();
|
|
1041
1159
|
return {
|
|
1042
|
-
actions:
|
|
1160
|
+
actions: computed8(() => actionsSignal()),
|
|
1043
1161
|
close: () => {
|
|
1044
1162
|
unsubscribe();
|
|
1045
1163
|
store.close();
|
|
1046
1164
|
},
|
|
1047
|
-
error:
|
|
1048
|
-
isRunning:
|
|
1049
|
-
lastResult:
|
|
1165
|
+
error: computed8(() => errorSignal()),
|
|
1166
|
+
isRunning: computed8(() => isRunningSignal()),
|
|
1167
|
+
lastResult: computed8(() => lastResultSignal()),
|
|
1050
1168
|
run: store.run,
|
|
1051
|
-
runningActionId:
|
|
1169
|
+
runningActionId: computed8(() => runningActionIdSignal()),
|
|
1052
1170
|
setActions: store.setActions
|
|
1053
1171
|
};
|
|
1054
1172
|
}
|
|
@@ -1058,7 +1176,7 @@ __runInitializers(_init, 1, VoiceOpsActionCenterService);
|
|
|
1058
1176
|
__decoratorMetadata(_init, VoiceOpsActionCenterService);
|
|
1059
1177
|
let _VoiceOpsActionCenterService = VoiceOpsActionCenterService;
|
|
1060
1178
|
// src/angular/voice-live-ops.service.ts
|
|
1061
|
-
import { computed as
|
|
1179
|
+
import { computed as computed9, Injectable as Injectable9, signal as signal9 } from "@angular/core";
|
|
1062
1180
|
|
|
1063
1181
|
// src/client/liveOps.ts
|
|
1064
1182
|
var postVoiceLiveOpsAction = async (input, options = {}) => {
|
|
@@ -1148,17 +1266,17 @@ var createVoiceLiveOpsStore = (options = {}) => {
|
|
|
1148
1266
|
|
|
1149
1267
|
// src/angular/voice-live-ops.service.ts
|
|
1150
1268
|
var _dec = [
|
|
1151
|
-
|
|
1269
|
+
Injectable9({ providedIn: "root" })
|
|
1152
1270
|
];
|
|
1153
1271
|
var _init = __decoratorStart(undefined);
|
|
1154
1272
|
|
|
1155
1273
|
class VoiceLiveOpsService {
|
|
1156
1274
|
connect(options = {}) {
|
|
1157
1275
|
const store = createVoiceLiveOpsStore(options);
|
|
1158
|
-
const errorSignal =
|
|
1159
|
-
const isRunningSignal =
|
|
1160
|
-
const lastResultSignal =
|
|
1161
|
-
const runningActionSignal =
|
|
1276
|
+
const errorSignal = signal9(null);
|
|
1277
|
+
const isRunningSignal = signal9(false);
|
|
1278
|
+
const lastResultSignal = signal9(undefined);
|
|
1279
|
+
const runningActionSignal = signal9(undefined);
|
|
1162
1280
|
const sync = () => {
|
|
1163
1281
|
const snapshot = store.getSnapshot();
|
|
1164
1282
|
errorSignal.set(snapshot.error);
|
|
@@ -1173,11 +1291,11 @@ class VoiceLiveOpsService {
|
|
|
1173
1291
|
unsubscribe();
|
|
1174
1292
|
store.close();
|
|
1175
1293
|
},
|
|
1176
|
-
error:
|
|
1177
|
-
isRunning:
|
|
1178
|
-
lastResult:
|
|
1294
|
+
error: computed9(() => errorSignal()),
|
|
1295
|
+
isRunning: computed9(() => isRunningSignal()),
|
|
1296
|
+
lastResult: computed9(() => lastResultSignal()),
|
|
1179
1297
|
run: store.run,
|
|
1180
|
-
runningAction:
|
|
1298
|
+
runningAction: computed9(() => runningActionSignal())
|
|
1181
1299
|
};
|
|
1182
1300
|
}
|
|
1183
1301
|
}
|
|
@@ -1186,7 +1304,7 @@ __runInitializers(_init, 1, VoiceLiveOpsService);
|
|
|
1186
1304
|
__decoratorMetadata(_init, VoiceLiveOpsService);
|
|
1187
1305
|
let _VoiceLiveOpsService = VoiceLiveOpsService;
|
|
1188
1306
|
// src/angular/voice-delivery-runtime.service.ts
|
|
1189
|
-
import { computed as
|
|
1307
|
+
import { computed as computed10, Injectable as Injectable10, signal as signal10 } from "@angular/core";
|
|
1190
1308
|
|
|
1191
1309
|
// src/client/deliveryRuntime.ts
|
|
1192
1310
|
var getDefaultActionPath = (path, action, options) => {
|
|
@@ -1327,19 +1445,19 @@ var createVoiceDeliveryRuntimeStore = (path = "/api/voice-delivery-runtime", opt
|
|
|
1327
1445
|
|
|
1328
1446
|
// src/angular/voice-delivery-runtime.service.ts
|
|
1329
1447
|
var _dec = [
|
|
1330
|
-
|
|
1448
|
+
Injectable10({ providedIn: "root" })
|
|
1331
1449
|
];
|
|
1332
1450
|
var _init = __decoratorStart(undefined);
|
|
1333
1451
|
|
|
1334
1452
|
class VoiceDeliveryRuntimeService {
|
|
1335
1453
|
connect(path = "/api/voice-delivery-runtime", options = {}) {
|
|
1336
1454
|
const store = createVoiceDeliveryRuntimeStore(path, options);
|
|
1337
|
-
const actionErrorSignal =
|
|
1338
|
-
const actionStatusSignal =
|
|
1339
|
-
const errorSignal =
|
|
1340
|
-
const isLoadingSignal =
|
|
1341
|
-
const reportSignal =
|
|
1342
|
-
const updatedAtSignal =
|
|
1455
|
+
const actionErrorSignal = signal10(null);
|
|
1456
|
+
const actionStatusSignal = signal10("idle");
|
|
1457
|
+
const errorSignal = signal10(null);
|
|
1458
|
+
const isLoadingSignal = signal10(false);
|
|
1459
|
+
const reportSignal = signal10(undefined);
|
|
1460
|
+
const updatedAtSignal = signal10(undefined);
|
|
1343
1461
|
const sync = () => {
|
|
1344
1462
|
const snapshot = store.getSnapshot();
|
|
1345
1463
|
actionErrorSignal.set(snapshot.actionError);
|
|
@@ -1359,15 +1477,15 @@ class VoiceDeliveryRuntimeService {
|
|
|
1359
1477
|
unsubscribe();
|
|
1360
1478
|
store.close();
|
|
1361
1479
|
},
|
|
1362
|
-
error:
|
|
1363
|
-
actionError:
|
|
1364
|
-
actionStatus:
|
|
1365
|
-
isLoading:
|
|
1480
|
+
error: computed10(() => errorSignal()),
|
|
1481
|
+
actionError: computed10(() => actionErrorSignal()),
|
|
1482
|
+
actionStatus: computed10(() => actionStatusSignal()),
|
|
1483
|
+
isLoading: computed10(() => isLoadingSignal()),
|
|
1366
1484
|
requeueDeadLetters: store.requeueDeadLetters,
|
|
1367
1485
|
refresh: store.refresh,
|
|
1368
|
-
report:
|
|
1486
|
+
report: computed10(() => reportSignal()),
|
|
1369
1487
|
tick: store.tick,
|
|
1370
|
-
updatedAt:
|
|
1488
|
+
updatedAt: computed10(() => updatedAtSignal())
|
|
1371
1489
|
};
|
|
1372
1490
|
}
|
|
1373
1491
|
}
|
|
@@ -1376,7 +1494,7 @@ __runInitializers(_init, 1, VoiceDeliveryRuntimeService);
|
|
|
1376
1494
|
__decoratorMetadata(_init, VoiceDeliveryRuntimeService);
|
|
1377
1495
|
let _VoiceDeliveryRuntimeService = VoiceDeliveryRuntimeService;
|
|
1378
1496
|
// src/angular/voice-campaign-dialer-proof.service.ts
|
|
1379
|
-
import { computed as
|
|
1497
|
+
import { computed as computed11, Injectable as Injectable11, signal as signal11 } from "@angular/core";
|
|
1380
1498
|
|
|
1381
1499
|
// src/client/campaignDialerProof.ts
|
|
1382
1500
|
var fetchVoiceCampaignDialerProofStatus = async (path = "/api/voice/campaigns/dialer-proof", options = {}) => {
|
|
@@ -1498,18 +1616,18 @@ var createVoiceCampaignDialerProofStore = (path = "/api/voice/campaigns/dialer-p
|
|
|
1498
1616
|
|
|
1499
1617
|
// src/angular/voice-campaign-dialer-proof.service.ts
|
|
1500
1618
|
var _dec = [
|
|
1501
|
-
|
|
1619
|
+
Injectable11({ providedIn: "root" })
|
|
1502
1620
|
];
|
|
1503
1621
|
var _init = __decoratorStart(undefined);
|
|
1504
1622
|
|
|
1505
1623
|
class VoiceCampaignDialerProofService {
|
|
1506
1624
|
connect(path = "/api/voice/campaigns/dialer-proof", options = {}) {
|
|
1507
1625
|
const store = createVoiceCampaignDialerProofStore(path, options);
|
|
1508
|
-
const errorSignal =
|
|
1509
|
-
const isLoadingSignal =
|
|
1510
|
-
const reportSignal =
|
|
1511
|
-
const statusSignal =
|
|
1512
|
-
const updatedAtSignal =
|
|
1626
|
+
const errorSignal = signal11(null);
|
|
1627
|
+
const isLoadingSignal = signal11(false);
|
|
1628
|
+
const reportSignal = signal11(undefined);
|
|
1629
|
+
const statusSignal = signal11(undefined);
|
|
1630
|
+
const updatedAtSignal = signal11(undefined);
|
|
1513
1631
|
const sync = () => {
|
|
1514
1632
|
const snapshot = store.getSnapshot();
|
|
1515
1633
|
errorSignal.set(snapshot.error);
|
|
@@ -1526,13 +1644,13 @@ class VoiceCampaignDialerProofService {
|
|
|
1526
1644
|
unsubscribe();
|
|
1527
1645
|
store.close();
|
|
1528
1646
|
},
|
|
1529
|
-
error:
|
|
1530
|
-
isLoading:
|
|
1647
|
+
error: computed11(() => errorSignal()),
|
|
1648
|
+
isLoading: computed11(() => isLoadingSignal()),
|
|
1531
1649
|
refresh: store.refresh,
|
|
1532
|
-
report:
|
|
1650
|
+
report: computed11(() => reportSignal()),
|
|
1533
1651
|
runProof: store.runProof,
|
|
1534
|
-
status:
|
|
1535
|
-
updatedAt:
|
|
1652
|
+
status: computed11(() => statusSignal()),
|
|
1653
|
+
updatedAt: computed11(() => updatedAtSignal())
|
|
1536
1654
|
};
|
|
1537
1655
|
}
|
|
1538
1656
|
}
|
|
@@ -1541,7 +1659,7 @@ __runInitializers(_init, 1, VoiceCampaignDialerProofService);
|
|
|
1541
1659
|
__decoratorMetadata(_init, VoiceCampaignDialerProofService);
|
|
1542
1660
|
let _VoiceCampaignDialerProofService = VoiceCampaignDialerProofService;
|
|
1543
1661
|
// src/angular/voice-stream.service.ts
|
|
1544
|
-
import { computed as
|
|
1662
|
+
import { computed as computed12, Injectable as Injectable12, signal as signal12 } from "@angular/core";
|
|
1545
1663
|
|
|
1546
1664
|
// src/client/actions.ts
|
|
1547
1665
|
var normalizeErrorMessage = (value) => {
|
|
@@ -2935,24 +3053,24 @@ var createVoiceStream = (path, options = {}) => {
|
|
|
2935
3053
|
|
|
2936
3054
|
// src/angular/voice-stream.service.ts
|
|
2937
3055
|
var _dec = [
|
|
2938
|
-
|
|
3056
|
+
Injectable12({ providedIn: "root" })
|
|
2939
3057
|
];
|
|
2940
3058
|
var _init = __decoratorStart(undefined);
|
|
2941
3059
|
|
|
2942
3060
|
class VoiceStreamService {
|
|
2943
3061
|
connect(path, options = {}) {
|
|
2944
3062
|
const stream = createVoiceStream(path, options);
|
|
2945
|
-
const assistantAudioSignal =
|
|
2946
|
-
const assistantTextsSignal =
|
|
2947
|
-
const callSignal =
|
|
2948
|
-
const errorSignal =
|
|
2949
|
-
const isConnectedSignal =
|
|
2950
|
-
const partialSignal =
|
|
2951
|
-
const reconnectSignal =
|
|
2952
|
-
const sessionIdSignal =
|
|
2953
|
-
const sessionMetadataSignal =
|
|
2954
|
-
const statusSignal =
|
|
2955
|
-
const turnsSignal =
|
|
3063
|
+
const assistantAudioSignal = signal12([]);
|
|
3064
|
+
const assistantTextsSignal = signal12([]);
|
|
3065
|
+
const callSignal = signal12(null);
|
|
3066
|
+
const errorSignal = signal12(null);
|
|
3067
|
+
const isConnectedSignal = signal12(false);
|
|
3068
|
+
const partialSignal = signal12("");
|
|
3069
|
+
const reconnectSignal = signal12(stream.reconnect);
|
|
3070
|
+
const sessionIdSignal = signal12(stream.sessionId);
|
|
3071
|
+
const sessionMetadataSignal = signal12(stream.sessionMetadata);
|
|
3072
|
+
const statusSignal = signal12(stream.status);
|
|
3073
|
+
const turnsSignal = signal12([]);
|
|
2956
3074
|
const sync = () => {
|
|
2957
3075
|
assistantAudioSignal.set([...stream.assistantAudio]);
|
|
2958
3076
|
assistantTextsSignal.set([...stream.assistantTexts]);
|
|
@@ -2969,24 +3087,24 @@ class VoiceStreamService {
|
|
|
2969
3087
|
const unsubscribe = stream.subscribe(sync);
|
|
2970
3088
|
sync();
|
|
2971
3089
|
return {
|
|
2972
|
-
assistantAudio:
|
|
2973
|
-
assistantTexts:
|
|
2974
|
-
call:
|
|
3090
|
+
assistantAudio: computed12(() => assistantAudioSignal()),
|
|
3091
|
+
assistantTexts: computed12(() => assistantTextsSignal()),
|
|
3092
|
+
call: computed12(() => callSignal()),
|
|
2975
3093
|
callControl: (message) => stream.callControl(message),
|
|
2976
3094
|
close: () => {
|
|
2977
3095
|
unsubscribe();
|
|
2978
3096
|
stream.close();
|
|
2979
3097
|
},
|
|
2980
3098
|
endTurn: () => stream.endTurn(),
|
|
2981
|
-
error:
|
|
2982
|
-
isConnected:
|
|
2983
|
-
partial:
|
|
2984
|
-
reconnect:
|
|
3099
|
+
error: computed12(() => errorSignal()),
|
|
3100
|
+
isConnected: computed12(() => isConnectedSignal()),
|
|
3101
|
+
partial: computed12(() => partialSignal()),
|
|
3102
|
+
reconnect: computed12(() => reconnectSignal()),
|
|
2985
3103
|
sendAudio: (audio) => stream.sendAudio(audio),
|
|
2986
|
-
sessionId:
|
|
2987
|
-
sessionMetadata:
|
|
2988
|
-
status:
|
|
2989
|
-
turns:
|
|
3104
|
+
sessionId: computed12(() => sessionIdSignal()),
|
|
3105
|
+
sessionMetadata: computed12(() => sessionMetadataSignal()),
|
|
3106
|
+
status: computed12(() => statusSignal()),
|
|
3107
|
+
turns: computed12(() => turnsSignal())
|
|
2990
3108
|
};
|
|
2991
3109
|
}
|
|
2992
3110
|
}
|
|
@@ -2995,7 +3113,7 @@ __runInitializers(_init, 1, VoiceStreamService);
|
|
|
2995
3113
|
__decoratorMetadata(_init, VoiceStreamService);
|
|
2996
3114
|
let _VoiceStreamService = VoiceStreamService;
|
|
2997
3115
|
// src/angular/voice-controller.service.ts
|
|
2998
|
-
import { computed as
|
|
3116
|
+
import { computed as computed13, Injectable as Injectable13, signal as signal13 } from "@angular/core";
|
|
2999
3117
|
|
|
3000
3118
|
// src/client/htmx.ts
|
|
3001
3119
|
var DEFAULT_EVENT_NAME = "voice-refresh";
|
|
@@ -3645,24 +3763,24 @@ var createVoiceController = (path, options = {}) => {
|
|
|
3645
3763
|
|
|
3646
3764
|
// src/angular/voice-controller.service.ts
|
|
3647
3765
|
var _dec = [
|
|
3648
|
-
|
|
3766
|
+
Injectable13({ providedIn: "root" })
|
|
3649
3767
|
];
|
|
3650
3768
|
var _init = __decoratorStart(undefined);
|
|
3651
3769
|
|
|
3652
3770
|
class VoiceControllerService {
|
|
3653
3771
|
connect(path, options = {}) {
|
|
3654
3772
|
const controller = createVoiceController(path, options);
|
|
3655
|
-
const assistantAudioSignal =
|
|
3656
|
-
const assistantTextsSignal =
|
|
3657
|
-
const errorSignal =
|
|
3658
|
-
const isConnectedSignal =
|
|
3659
|
-
const isRecordingSignal =
|
|
3660
|
-
const partialSignal =
|
|
3661
|
-
const reconnectSignal =
|
|
3662
|
-
const recordingErrorSignal =
|
|
3663
|
-
const sessionIdSignal =
|
|
3664
|
-
const statusSignal =
|
|
3665
|
-
const turnsSignal =
|
|
3773
|
+
const assistantAudioSignal = signal13([]);
|
|
3774
|
+
const assistantTextsSignal = signal13([]);
|
|
3775
|
+
const errorSignal = signal13(null);
|
|
3776
|
+
const isConnectedSignal = signal13(false);
|
|
3777
|
+
const isRecordingSignal = signal13(false);
|
|
3778
|
+
const partialSignal = signal13("");
|
|
3779
|
+
const reconnectSignal = signal13(controller.reconnect);
|
|
3780
|
+
const recordingErrorSignal = signal13(null);
|
|
3781
|
+
const sessionIdSignal = signal13(controller.sessionId);
|
|
3782
|
+
const statusSignal = signal13(controller.status);
|
|
3783
|
+
const turnsSignal = signal13([]);
|
|
3666
3784
|
const sync = () => {
|
|
3667
3785
|
assistantAudioSignal.set([...controller.assistantAudio]);
|
|
3668
3786
|
assistantTextsSignal.set([...controller.assistantTexts]);
|
|
@@ -3679,27 +3797,27 @@ class VoiceControllerService {
|
|
|
3679
3797
|
const unsubscribe = controller.subscribe(sync);
|
|
3680
3798
|
sync();
|
|
3681
3799
|
return {
|
|
3682
|
-
assistantAudio:
|
|
3683
|
-
assistantTexts:
|
|
3800
|
+
assistantAudio: computed13(() => assistantAudioSignal()),
|
|
3801
|
+
assistantTexts: computed13(() => assistantTextsSignal()),
|
|
3684
3802
|
bindHTMX: controller.bindHTMX,
|
|
3685
3803
|
close: () => {
|
|
3686
3804
|
unsubscribe();
|
|
3687
3805
|
controller.close();
|
|
3688
3806
|
},
|
|
3689
3807
|
endTurn: () => controller.endTurn(),
|
|
3690
|
-
error:
|
|
3691
|
-
isConnected:
|
|
3692
|
-
isRecording:
|
|
3693
|
-
partial:
|
|
3694
|
-
reconnect:
|
|
3695
|
-
recordingError:
|
|
3808
|
+
error: computed13(() => errorSignal()),
|
|
3809
|
+
isConnected: computed13(() => isConnectedSignal()),
|
|
3810
|
+
isRecording: computed13(() => isRecordingSignal()),
|
|
3811
|
+
partial: computed13(() => partialSignal()),
|
|
3812
|
+
reconnect: computed13(() => reconnectSignal()),
|
|
3813
|
+
recordingError: computed13(() => recordingErrorSignal()),
|
|
3696
3814
|
sendAudio: (audio) => controller.sendAudio(audio),
|
|
3697
|
-
sessionId:
|
|
3815
|
+
sessionId: computed13(() => sessionIdSignal()),
|
|
3698
3816
|
startRecording: () => controller.startRecording(),
|
|
3699
|
-
status:
|
|
3817
|
+
status: computed13(() => statusSignal()),
|
|
3700
3818
|
stopRecording: () => controller.stopRecording(),
|
|
3701
3819
|
toggleRecording: () => controller.toggleRecording(),
|
|
3702
|
-
turns:
|
|
3820
|
+
turns: computed13(() => turnsSignal())
|
|
3703
3821
|
};
|
|
3704
3822
|
}
|
|
3705
3823
|
}
|
|
@@ -3708,7 +3826,7 @@ __runInitializers(_init, 1, VoiceControllerService);
|
|
|
3708
3826
|
__decoratorMetadata(_init, VoiceControllerService);
|
|
3709
3827
|
let _VoiceControllerService = VoiceControllerService;
|
|
3710
3828
|
// src/angular/voice-provider-capabilities.service.ts
|
|
3711
|
-
import { computed as
|
|
3829
|
+
import { computed as computed14, Injectable as Injectable14, signal as signal14 } from "@angular/core";
|
|
3712
3830
|
|
|
3713
3831
|
// src/client/providerCapabilities.ts
|
|
3714
3832
|
var fetchVoiceProviderCapabilities = async (path = "/api/provider-capabilities", options = {}) => {
|
|
@@ -3791,17 +3909,17 @@ var createVoiceProviderCapabilitiesStore = (path = "/api/provider-capabilities",
|
|
|
3791
3909
|
|
|
3792
3910
|
// src/angular/voice-provider-capabilities.service.ts
|
|
3793
3911
|
var _dec = [
|
|
3794
|
-
|
|
3912
|
+
Injectable14({ providedIn: "root" })
|
|
3795
3913
|
];
|
|
3796
3914
|
var _init = __decoratorStart(undefined);
|
|
3797
3915
|
|
|
3798
3916
|
class VoiceProviderCapabilitiesService {
|
|
3799
3917
|
connect(path = "/api/provider-capabilities", options = {}) {
|
|
3800
3918
|
const store = createVoiceProviderCapabilitiesStore(path, options);
|
|
3801
|
-
const errorSignal =
|
|
3802
|
-
const isLoadingSignal =
|
|
3803
|
-
const reportSignal =
|
|
3804
|
-
const updatedAtSignal =
|
|
3919
|
+
const errorSignal = signal14(null);
|
|
3920
|
+
const isLoadingSignal = signal14(false);
|
|
3921
|
+
const reportSignal = signal14(undefined);
|
|
3922
|
+
const updatedAtSignal = signal14(undefined);
|
|
3805
3923
|
const sync = () => {
|
|
3806
3924
|
const snapshot = store.getSnapshot();
|
|
3807
3925
|
errorSignal.set(snapshot.error);
|
|
@@ -3817,11 +3935,11 @@ class VoiceProviderCapabilitiesService {
|
|
|
3817
3935
|
unsubscribe();
|
|
3818
3936
|
store.close();
|
|
3819
3937
|
},
|
|
3820
|
-
error:
|
|
3821
|
-
isLoading:
|
|
3938
|
+
error: computed14(() => errorSignal()),
|
|
3939
|
+
isLoading: computed14(() => isLoadingSignal()),
|
|
3822
3940
|
refresh: store.refresh,
|
|
3823
|
-
report:
|
|
3824
|
-
updatedAt:
|
|
3941
|
+
report: computed14(() => reportSignal()),
|
|
3942
|
+
updatedAt: computed14(() => updatedAtSignal())
|
|
3825
3943
|
};
|
|
3826
3944
|
}
|
|
3827
3945
|
}
|
|
@@ -3830,7 +3948,7 @@ __runInitializers(_init, 1, VoiceProviderCapabilitiesService);
|
|
|
3830
3948
|
__decoratorMetadata(_init, VoiceProviderCapabilitiesService);
|
|
3831
3949
|
let _VoiceProviderCapabilitiesService = VoiceProviderCapabilitiesService;
|
|
3832
3950
|
// src/angular/voice-provider-contracts.service.ts
|
|
3833
|
-
import { computed as
|
|
3951
|
+
import { computed as computed15, Injectable as Injectable15, signal as signal15 } from "@angular/core";
|
|
3834
3952
|
|
|
3835
3953
|
// src/client/providerContracts.ts
|
|
3836
3954
|
var fetchVoiceProviderContracts = async (path = "/api/provider-contracts", options = {}) => {
|
|
@@ -3909,17 +4027,17 @@ var createVoiceProviderContractsStore = (path = "/api/provider-contracts", optio
|
|
|
3909
4027
|
|
|
3910
4028
|
// src/angular/voice-provider-contracts.service.ts
|
|
3911
4029
|
var _dec = [
|
|
3912
|
-
|
|
4030
|
+
Injectable15({ providedIn: "root" })
|
|
3913
4031
|
];
|
|
3914
4032
|
var _init = __decoratorStart(undefined);
|
|
3915
4033
|
|
|
3916
4034
|
class VoiceProviderContractsService {
|
|
3917
4035
|
connect(path = "/api/provider-contracts", options = {}) {
|
|
3918
4036
|
const store = createVoiceProviderContractsStore(path, options);
|
|
3919
|
-
const errorSignal =
|
|
3920
|
-
const isLoadingSignal =
|
|
3921
|
-
const reportSignal =
|
|
3922
|
-
const updatedAtSignal =
|
|
4037
|
+
const errorSignal = signal15(null);
|
|
4038
|
+
const isLoadingSignal = signal15(false);
|
|
4039
|
+
const reportSignal = signal15(undefined);
|
|
4040
|
+
const updatedAtSignal = signal15(undefined);
|
|
3923
4041
|
const sync = () => {
|
|
3924
4042
|
const snapshot = store.getSnapshot();
|
|
3925
4043
|
errorSignal.set(snapshot.error);
|
|
@@ -3935,11 +4053,11 @@ class VoiceProviderContractsService {
|
|
|
3935
4053
|
unsubscribe();
|
|
3936
4054
|
store.close();
|
|
3937
4055
|
},
|
|
3938
|
-
error:
|
|
3939
|
-
isLoading:
|
|
4056
|
+
error: computed15(() => errorSignal()),
|
|
4057
|
+
isLoading: computed15(() => isLoadingSignal()),
|
|
3940
4058
|
refresh: store.refresh,
|
|
3941
|
-
report:
|
|
3942
|
-
updatedAt:
|
|
4059
|
+
report: computed15(() => reportSignal()),
|
|
4060
|
+
updatedAt: computed15(() => updatedAtSignal())
|
|
3943
4061
|
};
|
|
3944
4062
|
}
|
|
3945
4063
|
}
|
|
@@ -3948,7 +4066,7 @@ __runInitializers(_init, 1, VoiceProviderContractsService);
|
|
|
3948
4066
|
__decoratorMetadata(_init, VoiceProviderContractsService);
|
|
3949
4067
|
let _VoiceProviderContractsService = VoiceProviderContractsService;
|
|
3950
4068
|
// src/angular/voice-provider-status.service.ts
|
|
3951
|
-
import { computed as
|
|
4069
|
+
import { computed as computed16, Injectable as Injectable16, signal as signal16 } from "@angular/core";
|
|
3952
4070
|
|
|
3953
4071
|
// src/client/providerStatus.ts
|
|
3954
4072
|
var fetchVoiceProviderStatus = async (path = "/api/provider-status", options = {}) => {
|
|
@@ -4032,17 +4150,17 @@ var createVoiceProviderStatusStore = (path = "/api/provider-status", options = {
|
|
|
4032
4150
|
|
|
4033
4151
|
// src/angular/voice-provider-status.service.ts
|
|
4034
4152
|
var _dec = [
|
|
4035
|
-
|
|
4153
|
+
Injectable16({ providedIn: "root" })
|
|
4036
4154
|
];
|
|
4037
4155
|
var _init = __decoratorStart(undefined);
|
|
4038
4156
|
|
|
4039
4157
|
class VoiceProviderStatusService {
|
|
4040
4158
|
connect(path = "/api/provider-status", options = {}) {
|
|
4041
4159
|
const store = createVoiceProviderStatusStore(path, options);
|
|
4042
|
-
const errorSignal =
|
|
4043
|
-
const isLoadingSignal =
|
|
4044
|
-
const providersSignal =
|
|
4045
|
-
const updatedAtSignal =
|
|
4160
|
+
const errorSignal = signal16(null);
|
|
4161
|
+
const isLoadingSignal = signal16(false);
|
|
4162
|
+
const providersSignal = signal16([]);
|
|
4163
|
+
const updatedAtSignal = signal16(undefined);
|
|
4046
4164
|
const sync = () => {
|
|
4047
4165
|
const snapshot = store.getSnapshot();
|
|
4048
4166
|
errorSignal.set(snapshot.error);
|
|
@@ -4058,11 +4176,11 @@ class VoiceProviderStatusService {
|
|
|
4058
4176
|
unsubscribe();
|
|
4059
4177
|
store.close();
|
|
4060
4178
|
},
|
|
4061
|
-
error:
|
|
4062
|
-
isLoading:
|
|
4063
|
-
providers:
|
|
4179
|
+
error: computed16(() => errorSignal()),
|
|
4180
|
+
isLoading: computed16(() => isLoadingSignal()),
|
|
4181
|
+
providers: computed16(() => providersSignal()),
|
|
4064
4182
|
refresh: store.refresh,
|
|
4065
|
-
updatedAt:
|
|
4183
|
+
updatedAt: computed16(() => updatedAtSignal())
|
|
4066
4184
|
};
|
|
4067
4185
|
}
|
|
4068
4186
|
}
|
|
@@ -4071,7 +4189,7 @@ __runInitializers(_init, 1, VoiceProviderStatusService);
|
|
|
4071
4189
|
__decoratorMetadata(_init, VoiceProviderStatusService);
|
|
4072
4190
|
let _VoiceProviderStatusService = VoiceProviderStatusService;
|
|
4073
4191
|
// src/angular/voice-routing-status.service.ts
|
|
4074
|
-
import { Injectable as
|
|
4192
|
+
import { Injectable as Injectable17, signal as signal17 } from "@angular/core";
|
|
4075
4193
|
|
|
4076
4194
|
// src/client/routingStatus.ts
|
|
4077
4195
|
var fetchVoiceRoutingStatus = async (path = "/api/routing/latest", options = {}) => {
|
|
@@ -4155,17 +4273,17 @@ var createVoiceRoutingStatusStore = (path = "/api/routing/latest", options = {})
|
|
|
4155
4273
|
|
|
4156
4274
|
// src/angular/voice-routing-status.service.ts
|
|
4157
4275
|
var _dec = [
|
|
4158
|
-
|
|
4276
|
+
Injectable17({ providedIn: "root" })
|
|
4159
4277
|
];
|
|
4160
4278
|
var _init = __decoratorStart(undefined);
|
|
4161
4279
|
|
|
4162
4280
|
class VoiceRoutingStatusService {
|
|
4163
4281
|
connect(path = "/api/routing/latest", options = {}) {
|
|
4164
4282
|
const store = createVoiceRoutingStatusStore(path, options);
|
|
4165
|
-
const decisionSignal =
|
|
4166
|
-
const errorSignal =
|
|
4167
|
-
const isLoadingSignal =
|
|
4168
|
-
const updatedAtSignal =
|
|
4283
|
+
const decisionSignal = signal17(null);
|
|
4284
|
+
const errorSignal = signal17(null);
|
|
4285
|
+
const isLoadingSignal = signal17(false);
|
|
4286
|
+
const updatedAtSignal = signal17(undefined);
|
|
4169
4287
|
const sync = () => {
|
|
4170
4288
|
const snapshot = store.getSnapshot();
|
|
4171
4289
|
decisionSignal.set(snapshot.decision);
|
|
@@ -4194,7 +4312,7 @@ __runInitializers(_init, 1, VoiceRoutingStatusService);
|
|
|
4194
4312
|
__decoratorMetadata(_init, VoiceRoutingStatusService);
|
|
4195
4313
|
let _VoiceRoutingStatusService = VoiceRoutingStatusService;
|
|
4196
4314
|
// src/angular/voice-trace-timeline.service.ts
|
|
4197
|
-
import { computed as
|
|
4315
|
+
import { computed as computed17, Injectable as Injectable18, signal as signal18 } from "@angular/core";
|
|
4198
4316
|
|
|
4199
4317
|
// src/client/traceTimeline.ts
|
|
4200
4318
|
var fetchVoiceTraceTimeline = async (path = "/api/voice-traces", options = {}) => {
|
|
@@ -4278,17 +4396,17 @@ var createVoiceTraceTimelineStore = (path = "/api/voice-traces", options = {}) =
|
|
|
4278
4396
|
|
|
4279
4397
|
// src/angular/voice-trace-timeline.service.ts
|
|
4280
4398
|
var _dec = [
|
|
4281
|
-
|
|
4399
|
+
Injectable18({ providedIn: "root" })
|
|
4282
4400
|
];
|
|
4283
4401
|
var _init = __decoratorStart(undefined);
|
|
4284
4402
|
|
|
4285
4403
|
class VoiceTraceTimelineService {
|
|
4286
4404
|
connect(path = "/api/voice-traces", options = {}) {
|
|
4287
4405
|
const store = createVoiceTraceTimelineStore(path, options);
|
|
4288
|
-
const errorSignal =
|
|
4289
|
-
const isLoadingSignal =
|
|
4290
|
-
const reportSignal =
|
|
4291
|
-
const updatedAtSignal =
|
|
4406
|
+
const errorSignal = signal18(null);
|
|
4407
|
+
const isLoadingSignal = signal18(false);
|
|
4408
|
+
const reportSignal = signal18(null);
|
|
4409
|
+
const updatedAtSignal = signal18(undefined);
|
|
4292
4410
|
const sync = () => {
|
|
4293
4411
|
const snapshot = store.getSnapshot();
|
|
4294
4412
|
errorSignal.set(snapshot.error);
|
|
@@ -4304,11 +4422,11 @@ class VoiceTraceTimelineService {
|
|
|
4304
4422
|
unsubscribe();
|
|
4305
4423
|
store.close();
|
|
4306
4424
|
},
|
|
4307
|
-
error:
|
|
4308
|
-
isLoading:
|
|
4425
|
+
error: computed17(() => errorSignal()),
|
|
4426
|
+
isLoading: computed17(() => isLoadingSignal()),
|
|
4309
4427
|
refresh: store.refresh,
|
|
4310
|
-
report:
|
|
4311
|
-
updatedAt:
|
|
4428
|
+
report: computed17(() => reportSignal()),
|
|
4429
|
+
updatedAt: computed17(() => updatedAtSignal())
|
|
4312
4430
|
};
|
|
4313
4431
|
}
|
|
4314
4432
|
}
|
|
@@ -4317,7 +4435,7 @@ __runInitializers(_init, 1, VoiceTraceTimelineService);
|
|
|
4317
4435
|
__decoratorMetadata(_init, VoiceTraceTimelineService);
|
|
4318
4436
|
let _VoiceTraceTimelineService = VoiceTraceTimelineService;
|
|
4319
4437
|
// src/angular/voice-agent-squad-status.service.ts
|
|
4320
|
-
import { computed as
|
|
4438
|
+
import { computed as computed18, Injectable as Injectable19, signal as signal19 } from "@angular/core";
|
|
4321
4439
|
|
|
4322
4440
|
// src/client/agentSquadStatus.ts
|
|
4323
4441
|
var getString = (value) => typeof value === "string" && value.trim() ? value.trim() : undefined;
|
|
@@ -4395,17 +4513,17 @@ var createVoiceAgentSquadStatusStore = (path = "/api/voice-traces", options = {}
|
|
|
4395
4513
|
|
|
4396
4514
|
// src/angular/voice-agent-squad-status.service.ts
|
|
4397
4515
|
var _dec = [
|
|
4398
|
-
|
|
4516
|
+
Injectable19({ providedIn: "root" })
|
|
4399
4517
|
];
|
|
4400
4518
|
var _init = __decoratorStart(undefined);
|
|
4401
4519
|
|
|
4402
4520
|
class VoiceAgentSquadStatusService {
|
|
4403
4521
|
connect(path = "/api/voice-traces", options = {}) {
|
|
4404
4522
|
const store = createVoiceAgentSquadStatusStore(path, options);
|
|
4405
|
-
const errorSignal =
|
|
4406
|
-
const isLoadingSignal =
|
|
4407
|
-
const reportSignal =
|
|
4408
|
-
const updatedAtSignal =
|
|
4523
|
+
const errorSignal = signal19(null);
|
|
4524
|
+
const isLoadingSignal = signal19(false);
|
|
4525
|
+
const reportSignal = signal19(undefined);
|
|
4526
|
+
const updatedAtSignal = signal19(undefined);
|
|
4409
4527
|
const sync = () => {
|
|
4410
4528
|
const snapshot = store.getSnapshot();
|
|
4411
4529
|
errorSignal.set(snapshot.error);
|
|
@@ -4421,12 +4539,12 @@ class VoiceAgentSquadStatusService {
|
|
|
4421
4539
|
unsubscribe();
|
|
4422
4540
|
store.close();
|
|
4423
4541
|
},
|
|
4424
|
-
current:
|
|
4425
|
-
error:
|
|
4426
|
-
isLoading:
|
|
4542
|
+
current: computed18(() => reportSignal()?.current),
|
|
4543
|
+
error: computed18(() => errorSignal()),
|
|
4544
|
+
isLoading: computed18(() => isLoadingSignal()),
|
|
4427
4545
|
refresh: store.refresh,
|
|
4428
|
-
report:
|
|
4429
|
-
updatedAt:
|
|
4546
|
+
report: computed18(() => reportSignal()),
|
|
4547
|
+
updatedAt: computed18(() => updatedAtSignal())
|
|
4430
4548
|
};
|
|
4431
4549
|
}
|
|
4432
4550
|
}
|
|
@@ -4435,7 +4553,7 @@ __runInitializers(_init, 1, VoiceAgentSquadStatusService);
|
|
|
4435
4553
|
__decoratorMetadata(_init, VoiceAgentSquadStatusService);
|
|
4436
4554
|
let _VoiceAgentSquadStatusService = VoiceAgentSquadStatusService;
|
|
4437
4555
|
// src/angular/voice-turn-latency.service.ts
|
|
4438
|
-
import { computed as
|
|
4556
|
+
import { computed as computed19, Injectable as Injectable20, signal as signal20 } from "@angular/core";
|
|
4439
4557
|
|
|
4440
4558
|
// src/client/turnLatency.ts
|
|
4441
4559
|
var fetchVoiceTurnLatency = async (path = "/api/turn-latency", options = {}) => {
|
|
@@ -4542,17 +4660,17 @@ var createVoiceTurnLatencyStore = (path = "/api/turn-latency", options = {}) =>
|
|
|
4542
4660
|
|
|
4543
4661
|
// src/angular/voice-turn-latency.service.ts
|
|
4544
4662
|
var _dec = [
|
|
4545
|
-
|
|
4663
|
+
Injectable20({ providedIn: "root" })
|
|
4546
4664
|
];
|
|
4547
4665
|
var _init = __decoratorStart(undefined);
|
|
4548
4666
|
|
|
4549
4667
|
class VoiceTurnLatencyService {
|
|
4550
4668
|
connect(path = "/api/turn-latency", options = {}) {
|
|
4551
4669
|
const store = createVoiceTurnLatencyStore(path, options);
|
|
4552
|
-
const errorSignal =
|
|
4553
|
-
const isLoadingSignal =
|
|
4554
|
-
const reportSignal =
|
|
4555
|
-
const updatedAtSignal =
|
|
4670
|
+
const errorSignal = signal20(null);
|
|
4671
|
+
const isLoadingSignal = signal20(false);
|
|
4672
|
+
const reportSignal = signal20(undefined);
|
|
4673
|
+
const updatedAtSignal = signal20(undefined);
|
|
4556
4674
|
const sync = () => {
|
|
4557
4675
|
const snapshot = store.getSnapshot();
|
|
4558
4676
|
errorSignal.set(snapshot.error);
|
|
@@ -4568,12 +4686,12 @@ class VoiceTurnLatencyService {
|
|
|
4568
4686
|
unsubscribe();
|
|
4569
4687
|
store.close();
|
|
4570
4688
|
},
|
|
4571
|
-
error:
|
|
4572
|
-
isLoading:
|
|
4689
|
+
error: computed19(() => errorSignal()),
|
|
4690
|
+
isLoading: computed19(() => isLoadingSignal()),
|
|
4573
4691
|
refresh: store.refresh,
|
|
4574
|
-
report:
|
|
4692
|
+
report: computed19(() => reportSignal()),
|
|
4575
4693
|
runProof: store.runProof,
|
|
4576
|
-
updatedAt:
|
|
4694
|
+
updatedAt: computed19(() => updatedAtSignal())
|
|
4577
4695
|
};
|
|
4578
4696
|
}
|
|
4579
4697
|
}
|
|
@@ -4582,7 +4700,7 @@ __runInitializers(_init, 1, VoiceTurnLatencyService);
|
|
|
4582
4700
|
__decoratorMetadata(_init, VoiceTurnLatencyService);
|
|
4583
4701
|
let _VoiceTurnLatencyService = VoiceTurnLatencyService;
|
|
4584
4702
|
// src/angular/voice-turn-quality.service.ts
|
|
4585
|
-
import { computed as
|
|
4703
|
+
import { computed as computed20, Injectable as Injectable21, signal as signal21 } from "@angular/core";
|
|
4586
4704
|
|
|
4587
4705
|
// src/client/turnQuality.ts
|
|
4588
4706
|
var fetchVoiceTurnQuality = async (path = "/api/turn-quality", options = {}) => {
|
|
@@ -4665,17 +4783,17 @@ var createVoiceTurnQualityStore = (path = "/api/turn-quality", options = {}) =>
|
|
|
4665
4783
|
|
|
4666
4784
|
// src/angular/voice-turn-quality.service.ts
|
|
4667
4785
|
var _dec = [
|
|
4668
|
-
|
|
4786
|
+
Injectable21({ providedIn: "root" })
|
|
4669
4787
|
];
|
|
4670
4788
|
var _init = __decoratorStart(undefined);
|
|
4671
4789
|
|
|
4672
4790
|
class VoiceTurnQualityService {
|
|
4673
4791
|
connect(path = "/api/turn-quality", options = {}) {
|
|
4674
4792
|
const store = createVoiceTurnQualityStore(path, options);
|
|
4675
|
-
const errorSignal =
|
|
4676
|
-
const isLoadingSignal =
|
|
4677
|
-
const reportSignal =
|
|
4678
|
-
const updatedAtSignal =
|
|
4793
|
+
const errorSignal = signal21(null);
|
|
4794
|
+
const isLoadingSignal = signal21(false);
|
|
4795
|
+
const reportSignal = signal21(undefined);
|
|
4796
|
+
const updatedAtSignal = signal21(undefined);
|
|
4679
4797
|
const sync = () => {
|
|
4680
4798
|
const snapshot = store.getSnapshot();
|
|
4681
4799
|
errorSignal.set(snapshot.error);
|
|
@@ -4691,11 +4809,11 @@ class VoiceTurnQualityService {
|
|
|
4691
4809
|
unsubscribe();
|
|
4692
4810
|
store.close();
|
|
4693
4811
|
},
|
|
4694
|
-
error:
|
|
4695
|
-
isLoading:
|
|
4812
|
+
error: computed20(() => errorSignal()),
|
|
4813
|
+
isLoading: computed20(() => isLoadingSignal()),
|
|
4696
4814
|
refresh: store.refresh,
|
|
4697
|
-
report:
|
|
4698
|
-
updatedAt:
|
|
4815
|
+
report: computed20(() => reportSignal()),
|
|
4816
|
+
updatedAt: computed20(() => updatedAtSignal())
|
|
4699
4817
|
};
|
|
4700
4818
|
}
|
|
4701
4819
|
}
|
|
@@ -4704,7 +4822,7 @@ __runInitializers(_init, 1, VoiceTurnQualityService);
|
|
|
4704
4822
|
__decoratorMetadata(_init, VoiceTurnQualityService);
|
|
4705
4823
|
let _VoiceTurnQualityService = VoiceTurnQualityService;
|
|
4706
4824
|
// src/angular/voice-workflow-status.service.ts
|
|
4707
|
-
import { computed as
|
|
4825
|
+
import { computed as computed21, Injectable as Injectable22, signal as signal22 } from "@angular/core";
|
|
4708
4826
|
|
|
4709
4827
|
// src/client/workflowStatus.ts
|
|
4710
4828
|
var fetchVoiceWorkflowStatus = async (path = "/evals/scenarios/json", options = {}) => {
|
|
@@ -4787,17 +4905,17 @@ var createVoiceWorkflowStatusStore = (path = "/evals/scenarios/json", options =
|
|
|
4787
4905
|
|
|
4788
4906
|
// src/angular/voice-workflow-status.service.ts
|
|
4789
4907
|
var _dec = [
|
|
4790
|
-
|
|
4908
|
+
Injectable22({ providedIn: "root" })
|
|
4791
4909
|
];
|
|
4792
4910
|
var _init = __decoratorStart(undefined);
|
|
4793
4911
|
|
|
4794
4912
|
class VoiceWorkflowStatusService {
|
|
4795
4913
|
connect(path = "/evals/scenarios/json", options = {}) {
|
|
4796
4914
|
const store = createVoiceWorkflowStatusStore(path, options);
|
|
4797
|
-
const errorSignal =
|
|
4798
|
-
const isLoadingSignal =
|
|
4799
|
-
const reportSignal =
|
|
4800
|
-
const updatedAtSignal =
|
|
4915
|
+
const errorSignal = signal22(null);
|
|
4916
|
+
const isLoadingSignal = signal22(false);
|
|
4917
|
+
const reportSignal = signal22(undefined);
|
|
4918
|
+
const updatedAtSignal = signal22(undefined);
|
|
4801
4919
|
const sync = () => {
|
|
4802
4920
|
const snapshot = store.getSnapshot();
|
|
4803
4921
|
errorSignal.set(snapshot.error);
|
|
@@ -4815,11 +4933,11 @@ class VoiceWorkflowStatusService {
|
|
|
4815
4933
|
unsubscribe();
|
|
4816
4934
|
store.close();
|
|
4817
4935
|
},
|
|
4818
|
-
error:
|
|
4819
|
-
isLoading:
|
|
4936
|
+
error: computed21(() => errorSignal()),
|
|
4937
|
+
isLoading: computed21(() => isLoadingSignal()),
|
|
4820
4938
|
refresh: store.refresh,
|
|
4821
|
-
report:
|
|
4822
|
-
updatedAt:
|
|
4939
|
+
report: computed21(() => reportSignal()),
|
|
4940
|
+
updatedAt: computed21(() => updatedAtSignal())
|
|
4823
4941
|
};
|
|
4824
4942
|
}
|
|
4825
4943
|
}
|
|
@@ -4848,5 +4966,6 @@ export {
|
|
|
4848
4966
|
VoiceDeliveryRuntimeService,
|
|
4849
4967
|
VoiceControllerService,
|
|
4850
4968
|
VoiceCampaignDialerProofService,
|
|
4969
|
+
VoiceCallDebuggerService,
|
|
4851
4970
|
VoiceAgentSquadStatusService
|
|
4852
4971
|
};
|