@absolutejs/voice 0.0.22-beta.504 → 0.0.22-beta.506
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/angular/index.d.ts +2 -0
- package/dist/angular/index.js +463 -277
- package/dist/angular/voice-call-player.service.d.ts +19 -0
- package/dist/assistantExperiment.d.ts +41 -0
- package/dist/client/callPlayer.d.ts +41 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +398 -2
- package/dist/phoneProvisioning.d.ts +29 -0
- package/dist/react/VoiceCallPlayer.d.ts +11 -0
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +433 -55
- package/dist/svelte/createVoiceCallPlayer.d.ts +33 -0
- package/dist/svelte/index.d.ts +2 -0
- package/dist/svelte/index.js +379 -190
- package/dist/vue/VoiceCallPlayer.d.ts +40 -0
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.js +412 -69
- package/dist/webhookFanout.d.ts +48 -0
- package/package.json +1 -1
package/dist/angular/index.js
CHANGED
|
@@ -1766,9 +1766,194 @@ VoiceWidgetService = __decorateElement(_init, 0, "VoiceWidgetService", _dec, Voi
|
|
|
1766
1766
|
__runInitializers(_init, 1, VoiceWidgetService);
|
|
1767
1767
|
__decoratorMetadata(_init, VoiceWidgetService);
|
|
1768
1768
|
let _VoiceWidgetService = VoiceWidgetService;
|
|
1769
|
-
// src/angular/voice-
|
|
1769
|
+
// src/angular/voice-call-player.service.ts
|
|
1770
1770
|
import { computed as computed3, Injectable as Injectable3, signal as signal3 } from "@angular/core";
|
|
1771
1771
|
|
|
1772
|
+
// src/client/callPlayer.ts
|
|
1773
|
+
var cloneState = (state) => ({
|
|
1774
|
+
...state
|
|
1775
|
+
});
|
|
1776
|
+
var normalizeTranscriptTimes = (transcripts, baseEpoch) => {
|
|
1777
|
+
if (typeof baseEpoch !== "number") {
|
|
1778
|
+
return transcripts;
|
|
1779
|
+
}
|
|
1780
|
+
return transcripts.map((transcript) => {
|
|
1781
|
+
const adjusted = { ...transcript };
|
|
1782
|
+
if (typeof adjusted.startedAtMs === "number" && adjusted.startedAtMs >= baseEpoch) {
|
|
1783
|
+
adjusted.startedAtMs = adjusted.startedAtMs - baseEpoch;
|
|
1784
|
+
}
|
|
1785
|
+
if (typeof adjusted.endedAtMs === "number" && adjusted.endedAtMs >= baseEpoch) {
|
|
1786
|
+
adjusted.endedAtMs = adjusted.endedAtMs - baseEpoch;
|
|
1787
|
+
}
|
|
1788
|
+
return adjusted;
|
|
1789
|
+
});
|
|
1790
|
+
};
|
|
1791
|
+
var findActiveTranscript = (transcripts, positionMs) => {
|
|
1792
|
+
let candidate;
|
|
1793
|
+
for (let index = 0;index < transcripts.length; index += 1) {
|
|
1794
|
+
const transcript = transcripts[index];
|
|
1795
|
+
if (typeof transcript.startedAtMs !== "number")
|
|
1796
|
+
continue;
|
|
1797
|
+
if (transcript.startedAtMs > positionMs)
|
|
1798
|
+
break;
|
|
1799
|
+
if (typeof transcript.endedAtMs === "number" && transcript.endedAtMs < positionMs) {
|
|
1800
|
+
continue;
|
|
1801
|
+
}
|
|
1802
|
+
candidate = { id: transcript.id, index };
|
|
1803
|
+
}
|
|
1804
|
+
return candidate ?? {};
|
|
1805
|
+
};
|
|
1806
|
+
var createVoiceCallPlayer = (options = {}) => {
|
|
1807
|
+
let transcripts = normalizeTranscriptTimes(options.transcripts ?? [], options.recordingStartedAtEpochMs);
|
|
1808
|
+
let state = {
|
|
1809
|
+
audioUrl: options.audioUrl,
|
|
1810
|
+
buffered: 0,
|
|
1811
|
+
currentTimeMs: 0,
|
|
1812
|
+
durationMs: 0,
|
|
1813
|
+
isPlaying: false,
|
|
1814
|
+
isReady: false,
|
|
1815
|
+
playbackRate: options.initialPlaybackRate ?? 1
|
|
1816
|
+
};
|
|
1817
|
+
const listeners = new Set;
|
|
1818
|
+
const notify = () => {
|
|
1819
|
+
for (const listener of listeners)
|
|
1820
|
+
listener();
|
|
1821
|
+
};
|
|
1822
|
+
const update = (next) => {
|
|
1823
|
+
state = { ...state, ...next };
|
|
1824
|
+
notify();
|
|
1825
|
+
};
|
|
1826
|
+
const refreshActive = () => {
|
|
1827
|
+
const { id, index } = findActiveTranscript(transcripts, state.currentTimeMs);
|
|
1828
|
+
if (id !== state.activeTranscriptId || index !== state.activeTranscriptIndex) {
|
|
1829
|
+
state = {
|
|
1830
|
+
...state,
|
|
1831
|
+
activeTranscriptId: id,
|
|
1832
|
+
activeTranscriptIndex: index
|
|
1833
|
+
};
|
|
1834
|
+
notify();
|
|
1835
|
+
}
|
|
1836
|
+
};
|
|
1837
|
+
return {
|
|
1838
|
+
getState: () => cloneState(state),
|
|
1839
|
+
pause: () => {
|
|
1840
|
+
if (!state.isPlaying)
|
|
1841
|
+
return;
|
|
1842
|
+
update({ isPlaying: false });
|
|
1843
|
+
},
|
|
1844
|
+
play: async () => {
|
|
1845
|
+
update({ isPlaying: true });
|
|
1846
|
+
},
|
|
1847
|
+
reset: () => {
|
|
1848
|
+
state = {
|
|
1849
|
+
audioUrl: state.audioUrl,
|
|
1850
|
+
buffered: 0,
|
|
1851
|
+
currentTimeMs: 0,
|
|
1852
|
+
durationMs: 0,
|
|
1853
|
+
isPlaying: false,
|
|
1854
|
+
isReady: false,
|
|
1855
|
+
playbackRate: 1
|
|
1856
|
+
};
|
|
1857
|
+
notify();
|
|
1858
|
+
},
|
|
1859
|
+
seekMs: (positionMs) => {
|
|
1860
|
+
const clamped = Math.max(0, Math.min(state.durationMs || Number.POSITIVE_INFINITY, positionMs));
|
|
1861
|
+
update({ currentTimeMs: clamped });
|
|
1862
|
+
refreshActive();
|
|
1863
|
+
},
|
|
1864
|
+
seekToTranscript: (transcriptId) => {
|
|
1865
|
+
const found = transcripts.find((t) => t.id === transcriptId);
|
|
1866
|
+
if (!found || typeof found.startedAtMs !== "number") {
|
|
1867
|
+
return;
|
|
1868
|
+
}
|
|
1869
|
+
update({ currentTimeMs: Math.max(0, found.startedAtMs) });
|
|
1870
|
+
refreshActive();
|
|
1871
|
+
},
|
|
1872
|
+
setAudioUrl: (url) => {
|
|
1873
|
+
update({ audioUrl: url, isReady: false });
|
|
1874
|
+
},
|
|
1875
|
+
setBuffered: (seconds) => {
|
|
1876
|
+
update({ buffered: Math.max(0, seconds) });
|
|
1877
|
+
},
|
|
1878
|
+
setDuration: (durationMs) => {
|
|
1879
|
+
update({ durationMs: Math.max(0, durationMs) });
|
|
1880
|
+
},
|
|
1881
|
+
setError: (error) => {
|
|
1882
|
+
update({ error });
|
|
1883
|
+
},
|
|
1884
|
+
setPlaybackRate: (rate) => {
|
|
1885
|
+
update({ playbackRate: Math.max(0.25, Math.min(4, rate)) });
|
|
1886
|
+
},
|
|
1887
|
+
setPlaying: (playing) => {
|
|
1888
|
+
if (playing === state.isPlaying)
|
|
1889
|
+
return;
|
|
1890
|
+
update({ isPlaying: playing });
|
|
1891
|
+
},
|
|
1892
|
+
setReady: (ready) => {
|
|
1893
|
+
update({ isReady: ready });
|
|
1894
|
+
},
|
|
1895
|
+
setTime: (positionMs) => {
|
|
1896
|
+
const next = Math.max(0, positionMs);
|
|
1897
|
+
if (next === state.currentTimeMs)
|
|
1898
|
+
return;
|
|
1899
|
+
update({ currentTimeMs: next });
|
|
1900
|
+
refreshActive();
|
|
1901
|
+
},
|
|
1902
|
+
setTranscripts: (next) => {
|
|
1903
|
+
transcripts = normalizeTranscriptTimes(next, options.recordingStartedAtEpochMs);
|
|
1904
|
+
refreshActive();
|
|
1905
|
+
},
|
|
1906
|
+
subscribe: (listener) => {
|
|
1907
|
+
listeners.add(listener);
|
|
1908
|
+
return () => {
|
|
1909
|
+
listeners.delete(listener);
|
|
1910
|
+
};
|
|
1911
|
+
},
|
|
1912
|
+
transcripts: () => transcripts
|
|
1913
|
+
};
|
|
1914
|
+
};
|
|
1915
|
+
var formatVoiceCallPlayerTimestamp = (ms) => {
|
|
1916
|
+
const seconds = Math.max(0, Math.floor(ms / 1000));
|
|
1917
|
+
const minutes = Math.floor(seconds / 60);
|
|
1918
|
+
const remaining = seconds % 60;
|
|
1919
|
+
return `${String(minutes).padStart(2, "0")}:${String(remaining).padStart(2, "0")}`;
|
|
1920
|
+
};
|
|
1921
|
+
|
|
1922
|
+
// src/angular/voice-call-player.service.ts
|
|
1923
|
+
var _dec = [
|
|
1924
|
+
Injectable3({ providedIn: "root" })
|
|
1925
|
+
];
|
|
1926
|
+
var _init = __decoratorStart(undefined);
|
|
1927
|
+
|
|
1928
|
+
class VoiceCallPlayerService {
|
|
1929
|
+
build(options = {}) {
|
|
1930
|
+
const player = createVoiceCallPlayer(options);
|
|
1931
|
+
const stateSignal = signal3(player.getState());
|
|
1932
|
+
const unsubscribe = player.subscribe(() => {
|
|
1933
|
+
stateSignal.set(player.getState());
|
|
1934
|
+
});
|
|
1935
|
+
return {
|
|
1936
|
+
formatTimestamp: formatVoiceCallPlayerTimestamp,
|
|
1937
|
+
pause: () => player.pause(),
|
|
1938
|
+
play: () => player.play(),
|
|
1939
|
+
seekMs: (ms) => player.seekMs(ms),
|
|
1940
|
+
seekToTranscript: (id) => player.seekToTranscript(id),
|
|
1941
|
+
setPlaybackRate: (rate) => player.setPlaybackRate(rate),
|
|
1942
|
+
setTime: (ms) => player.setTime(ms),
|
|
1943
|
+
state: computed3(() => stateSignal()),
|
|
1944
|
+
stop: () => unsubscribe(),
|
|
1945
|
+
title: options.title ?? "Call replay",
|
|
1946
|
+
transcripts: () => player.transcripts()
|
|
1947
|
+
};
|
|
1948
|
+
}
|
|
1949
|
+
}
|
|
1950
|
+
VoiceCallPlayerService = __decorateElement(_init, 0, "VoiceCallPlayerService", _dec, VoiceCallPlayerService);
|
|
1951
|
+
__runInitializers(_init, 1, VoiceCallPlayerService);
|
|
1952
|
+
__decoratorMetadata(_init, VoiceCallPlayerService);
|
|
1953
|
+
let _VoiceCallPlayerService = VoiceCallPlayerService;
|
|
1954
|
+
// src/angular/voice-cost-dashboard.service.ts
|
|
1955
|
+
import { computed as computed4, Injectable as Injectable4, signal as signal4 } from "@angular/core";
|
|
1956
|
+
|
|
1772
1957
|
// src/client/costDashboard.ts
|
|
1773
1958
|
var padTwo = (value) => String(value).padStart(2, "0");
|
|
1774
1959
|
var formatBucketKey = (epochMs, bucketBy) => {
|
|
@@ -1851,19 +2036,19 @@ var buildVoiceCostDashboardReport = (options) => {
|
|
|
1851
2036
|
|
|
1852
2037
|
// src/angular/voice-cost-dashboard.service.ts
|
|
1853
2038
|
var _dec = [
|
|
1854
|
-
|
|
2039
|
+
Injectable4({ providedIn: "root" })
|
|
1855
2040
|
];
|
|
1856
2041
|
var _init = __decoratorStart(undefined);
|
|
1857
2042
|
|
|
1858
2043
|
class VoiceCostDashboardService {
|
|
1859
2044
|
build(options) {
|
|
1860
|
-
const events =
|
|
1861
|
-
const filters =
|
|
2045
|
+
const events = signal4(options.events);
|
|
2046
|
+
const filters = signal4({
|
|
1862
2047
|
bucketBy: options.bucketBy,
|
|
1863
2048
|
fromMs: options.fromMs,
|
|
1864
2049
|
toMs: options.toMs
|
|
1865
2050
|
});
|
|
1866
|
-
const report =
|
|
2051
|
+
const report = computed4(() => {
|
|
1867
2052
|
const f = filters();
|
|
1868
2053
|
return buildVoiceCostDashboardReport({
|
|
1869
2054
|
bucketBy: f.bucketBy,
|
|
@@ -1891,7 +2076,7 @@ __runInitializers(_init, 1, VoiceCostDashboardService);
|
|
|
1891
2076
|
__decoratorMetadata(_init, VoiceCostDashboardService);
|
|
1892
2077
|
let _VoiceCostDashboardService = VoiceCostDashboardService;
|
|
1893
2078
|
// src/angular/voice-live-call-viewer.service.ts
|
|
1894
|
-
import { computed as
|
|
2079
|
+
import { computed as computed5, Injectable as Injectable5, signal as signal5 } from "@angular/core";
|
|
1895
2080
|
|
|
1896
2081
|
// src/client/liveCallViewer.ts
|
|
1897
2082
|
var EVENT_BUFFER_LIMIT = 200;
|
|
@@ -2003,14 +2188,14 @@ var createLiveCallViewer = (options) => {
|
|
|
2003
2188
|
|
|
2004
2189
|
// src/angular/voice-live-call-viewer.service.ts
|
|
2005
2190
|
var _dec = [
|
|
2006
|
-
|
|
2191
|
+
Injectable5({ providedIn: "root" })
|
|
2007
2192
|
];
|
|
2008
2193
|
var _init = __decoratorStart(undefined);
|
|
2009
2194
|
|
|
2010
2195
|
class VoiceLiveCallViewerService {
|
|
2011
2196
|
build(options) {
|
|
2012
2197
|
const viewer = options.viewer ?? createLiveCallViewer(options);
|
|
2013
|
-
const stateSignal =
|
|
2198
|
+
const stateSignal = signal5(viewer.getState());
|
|
2014
2199
|
const unsubscribe = viewer.subscribe(() => {
|
|
2015
2200
|
stateSignal.set(viewer.getState());
|
|
2016
2201
|
});
|
|
@@ -2019,7 +2204,7 @@ class VoiceLiveCallViewerService {
|
|
|
2019
2204
|
notePartial: (text, at) => viewer.notePartial(text, at),
|
|
2020
2205
|
noteTranscript: (text, at) => viewer.noteTranscript(text, at),
|
|
2021
2206
|
reset: (sessionId, startedAt) => viewer.reset(sessionId, startedAt),
|
|
2022
|
-
state:
|
|
2207
|
+
state: computed5(() => stateSignal()),
|
|
2023
2208
|
stop: () => unsubscribe(),
|
|
2024
2209
|
title: options.title ?? "Live call"
|
|
2025
2210
|
};
|
|
@@ -2030,7 +2215,7 @@ __runInitializers(_init, 1, VoiceLiveCallViewerService);
|
|
|
2030
2215
|
__decoratorMetadata(_init, VoiceLiveCallViewerService);
|
|
2031
2216
|
let _VoiceLiveCallViewerService = VoiceLiveCallViewerService;
|
|
2032
2217
|
// src/angular/voice-replay-timeline.service.ts
|
|
2033
|
-
import { computed as
|
|
2218
|
+
import { computed as computed6, Injectable as Injectable6, signal as signal6 } from "@angular/core";
|
|
2034
2219
|
|
|
2035
2220
|
// src/client/replayTimeline.ts
|
|
2036
2221
|
var categorize = (entry) => {
|
|
@@ -2085,14 +2270,14 @@ var buildReplayTimelineReport = (input) => {
|
|
|
2085
2270
|
|
|
2086
2271
|
// src/angular/voice-replay-timeline.service.ts
|
|
2087
2272
|
var _dec = [
|
|
2088
|
-
|
|
2273
|
+
Injectable6({ providedIn: "root" })
|
|
2089
2274
|
];
|
|
2090
2275
|
var _init = __decoratorStart(undefined);
|
|
2091
2276
|
|
|
2092
2277
|
class VoiceReplayTimelineService {
|
|
2093
2278
|
build(options) {
|
|
2094
|
-
const artifact =
|
|
2095
|
-
const report =
|
|
2279
|
+
const artifact = signal6(options.artifact);
|
|
2280
|
+
const report = computed6(() => buildReplayTimelineReport({ artifact: artifact() }));
|
|
2096
2281
|
return {
|
|
2097
2282
|
report,
|
|
2098
2283
|
setArtifact: (next) => artifact.set(next),
|
|
@@ -2105,7 +2290,7 @@ __runInitializers(_init, 1, VoiceReplayTimelineService);
|
|
|
2105
2290
|
__decoratorMetadata(_init, VoiceReplayTimelineService);
|
|
2106
2291
|
let _VoiceReplayTimelineService = VoiceReplayTimelineService;
|
|
2107
2292
|
// src/angular/voice-platform-coverage.service.ts
|
|
2108
|
-
import { computed as
|
|
2293
|
+
import { computed as computed7, Injectable as Injectable7, signal as signal7 } from "@angular/core";
|
|
2109
2294
|
|
|
2110
2295
|
// src/client/platformCoverage.ts
|
|
2111
2296
|
var fetchVoicePlatformCoverage = async (path = "/api/voice/platform-coverage", options = {}) => {
|
|
@@ -2188,17 +2373,17 @@ var createVoicePlatformCoverageStore = (path = "/api/voice/platform-coverage", o
|
|
|
2188
2373
|
|
|
2189
2374
|
// src/angular/voice-platform-coverage.service.ts
|
|
2190
2375
|
var _dec = [
|
|
2191
|
-
|
|
2376
|
+
Injectable7({ providedIn: "root" })
|
|
2192
2377
|
];
|
|
2193
2378
|
var _init = __decoratorStart(undefined);
|
|
2194
2379
|
|
|
2195
2380
|
class VoicePlatformCoverageService {
|
|
2196
2381
|
connect(path = "/api/voice/platform-coverage", options = {}) {
|
|
2197
2382
|
const store = createVoicePlatformCoverageStore(path, options);
|
|
2198
|
-
const errorSignal =
|
|
2199
|
-
const isLoadingSignal =
|
|
2200
|
-
const reportSignal =
|
|
2201
|
-
const updatedAtSignal =
|
|
2383
|
+
const errorSignal = signal7(null);
|
|
2384
|
+
const isLoadingSignal = signal7(false);
|
|
2385
|
+
const reportSignal = signal7(undefined);
|
|
2386
|
+
const updatedAtSignal = signal7(undefined);
|
|
2202
2387
|
const sync = () => {
|
|
2203
2388
|
const snapshot = store.getSnapshot();
|
|
2204
2389
|
errorSignal.set(snapshot.error);
|
|
@@ -2216,11 +2401,11 @@ class VoicePlatformCoverageService {
|
|
|
2216
2401
|
unsubscribe();
|
|
2217
2402
|
store.close();
|
|
2218
2403
|
},
|
|
2219
|
-
error:
|
|
2220
|
-
isLoading:
|
|
2404
|
+
error: computed7(() => errorSignal()),
|
|
2405
|
+
isLoading: computed7(() => isLoadingSignal()),
|
|
2221
2406
|
refresh: store.refresh,
|
|
2222
|
-
report:
|
|
2223
|
-
updatedAt:
|
|
2407
|
+
report: computed7(() => reportSignal()),
|
|
2408
|
+
updatedAt: computed7(() => updatedAtSignal())
|
|
2224
2409
|
};
|
|
2225
2410
|
}
|
|
2226
2411
|
}
|
|
@@ -2229,7 +2414,7 @@ __runInitializers(_init, 1, VoicePlatformCoverageService);
|
|
|
2229
2414
|
__decoratorMetadata(_init, VoicePlatformCoverageService);
|
|
2230
2415
|
let _VoicePlatformCoverageService = VoicePlatformCoverageService;
|
|
2231
2416
|
// src/angular/voice-proof-trends.service.ts
|
|
2232
|
-
import { computed as
|
|
2417
|
+
import { computed as computed8, Injectable as Injectable8, signal as signal8 } from "@angular/core";
|
|
2233
2418
|
|
|
2234
2419
|
// src/client/proofTrends.ts
|
|
2235
2420
|
var fetchVoiceProofTrends = async (path = "/api/voice/proof-trends", options = {}) => {
|
|
@@ -2312,17 +2497,17 @@ var createVoiceProofTrendsStore = (path = "/api/voice/proof-trends", options = {
|
|
|
2312
2497
|
|
|
2313
2498
|
// src/angular/voice-proof-trends.service.ts
|
|
2314
2499
|
var _dec = [
|
|
2315
|
-
|
|
2500
|
+
Injectable8({ providedIn: "root" })
|
|
2316
2501
|
];
|
|
2317
2502
|
var _init = __decoratorStart(undefined);
|
|
2318
2503
|
|
|
2319
2504
|
class VoiceProofTrendsService {
|
|
2320
2505
|
connect(path = "/api/voice/proof-trends", options = {}) {
|
|
2321
2506
|
const store = createVoiceProofTrendsStore(path, options);
|
|
2322
|
-
const errorSignal =
|
|
2323
|
-
const isLoadingSignal =
|
|
2324
|
-
const reportSignal =
|
|
2325
|
-
const updatedAtSignal =
|
|
2507
|
+
const errorSignal = signal8(null);
|
|
2508
|
+
const isLoadingSignal = signal8(false);
|
|
2509
|
+
const reportSignal = signal8(undefined);
|
|
2510
|
+
const updatedAtSignal = signal8(undefined);
|
|
2326
2511
|
const sync = () => {
|
|
2327
2512
|
const snapshot = store.getSnapshot();
|
|
2328
2513
|
errorSignal.set(snapshot.error);
|
|
@@ -2340,11 +2525,11 @@ class VoiceProofTrendsService {
|
|
|
2340
2525
|
unsubscribe();
|
|
2341
2526
|
store.close();
|
|
2342
2527
|
},
|
|
2343
|
-
error:
|
|
2344
|
-
isLoading:
|
|
2528
|
+
error: computed8(() => errorSignal()),
|
|
2529
|
+
isLoading: computed8(() => isLoadingSignal()),
|
|
2345
2530
|
refresh: store.refresh,
|
|
2346
|
-
report:
|
|
2347
|
-
updatedAt:
|
|
2531
|
+
report: computed8(() => reportSignal()),
|
|
2532
|
+
updatedAt: computed8(() => updatedAtSignal())
|
|
2348
2533
|
};
|
|
2349
2534
|
}
|
|
2350
2535
|
}
|
|
@@ -2353,7 +2538,7 @@ __runInitializers(_init, 1, VoiceProofTrendsService);
|
|
|
2353
2538
|
__decoratorMetadata(_init, VoiceProofTrendsService);
|
|
2354
2539
|
let _VoiceProofTrendsService = VoiceProofTrendsService;
|
|
2355
2540
|
// src/angular/voice-reconnect-profile-evidence.service.ts
|
|
2356
|
-
import { computed as
|
|
2541
|
+
import { computed as computed9, Injectable as Injectable9, signal as signal9 } from "@angular/core";
|
|
2357
2542
|
|
|
2358
2543
|
// src/client/reconnectProfileEvidence.ts
|
|
2359
2544
|
var fetchVoiceReconnectProfileEvidence = async (path = "/api/voice/reconnect-profile-evidence", options = {}) => {
|
|
@@ -2432,17 +2617,17 @@ var createVoiceReconnectProfileEvidenceStore = (path = "/api/voice/reconnect-pro
|
|
|
2432
2617
|
|
|
2433
2618
|
// src/angular/voice-reconnect-profile-evidence.service.ts
|
|
2434
2619
|
var _dec = [
|
|
2435
|
-
|
|
2620
|
+
Injectable9({ providedIn: "root" })
|
|
2436
2621
|
];
|
|
2437
2622
|
var _init = __decoratorStart(undefined);
|
|
2438
2623
|
|
|
2439
2624
|
class VoiceReconnectProfileEvidenceService {
|
|
2440
2625
|
connect(path = "/api/voice/reconnect-profile-evidence", options = {}) {
|
|
2441
2626
|
const store = createVoiceReconnectProfileEvidenceStore(path, options);
|
|
2442
|
-
const errorSignal =
|
|
2443
|
-
const isLoadingSignal =
|
|
2444
|
-
const reportSignal =
|
|
2445
|
-
const updatedAtSignal =
|
|
2627
|
+
const errorSignal = signal9(null);
|
|
2628
|
+
const isLoadingSignal = signal9(false);
|
|
2629
|
+
const reportSignal = signal9(undefined);
|
|
2630
|
+
const updatedAtSignal = signal9(undefined);
|
|
2446
2631
|
const sync = () => {
|
|
2447
2632
|
const snapshot = store.getSnapshot();
|
|
2448
2633
|
errorSignal.set(snapshot.error);
|
|
@@ -2460,11 +2645,11 @@ class VoiceReconnectProfileEvidenceService {
|
|
|
2460
2645
|
unsubscribe();
|
|
2461
2646
|
store.close();
|
|
2462
2647
|
},
|
|
2463
|
-
error:
|
|
2464
|
-
isLoading:
|
|
2648
|
+
error: computed9(() => errorSignal()),
|
|
2649
|
+
isLoading: computed9(() => isLoadingSignal()),
|
|
2465
2650
|
refresh: store.refresh,
|
|
2466
|
-
report:
|
|
2467
|
-
updatedAt:
|
|
2651
|
+
report: computed9(() => reportSignal()),
|
|
2652
|
+
updatedAt: computed9(() => updatedAtSignal())
|
|
2468
2653
|
};
|
|
2469
2654
|
}
|
|
2470
2655
|
}
|
|
@@ -2473,7 +2658,7 @@ __runInitializers(_init, 1, VoiceReconnectProfileEvidenceService);
|
|
|
2473
2658
|
__decoratorMetadata(_init, VoiceReconnectProfileEvidenceService);
|
|
2474
2659
|
let _VoiceReconnectProfileEvidenceService = VoiceReconnectProfileEvidenceService;
|
|
2475
2660
|
// src/angular/voice-call-debugger.service.ts
|
|
2476
|
-
import { computed as
|
|
2661
|
+
import { computed as computed10, Injectable as Injectable10, signal as signal10 } from "@angular/core";
|
|
2477
2662
|
|
|
2478
2663
|
// src/client/callDebugger.ts
|
|
2479
2664
|
var fetchVoiceCallDebugger = async (path, options = {}) => {
|
|
@@ -2552,17 +2737,17 @@ var createVoiceCallDebuggerStore = (path, options = {}) => {
|
|
|
2552
2737
|
|
|
2553
2738
|
// src/angular/voice-call-debugger.service.ts
|
|
2554
2739
|
var _dec = [
|
|
2555
|
-
|
|
2740
|
+
Injectable10({ providedIn: "root" })
|
|
2556
2741
|
];
|
|
2557
2742
|
var _init = __decoratorStart(undefined);
|
|
2558
2743
|
|
|
2559
2744
|
class VoiceCallDebuggerService {
|
|
2560
2745
|
connect(path, options = {}) {
|
|
2561
2746
|
const store = createVoiceCallDebuggerStore(path, options);
|
|
2562
|
-
const errorSignal =
|
|
2563
|
-
const isLoadingSignal =
|
|
2564
|
-
const reportSignal =
|
|
2565
|
-
const updatedAtSignal =
|
|
2747
|
+
const errorSignal = signal10(null);
|
|
2748
|
+
const isLoadingSignal = signal10(false);
|
|
2749
|
+
const reportSignal = signal10(undefined);
|
|
2750
|
+
const updatedAtSignal = signal10(undefined);
|
|
2566
2751
|
const sync = () => {
|
|
2567
2752
|
const state = store.getSnapshot();
|
|
2568
2753
|
errorSignal.set(state.error);
|
|
@@ -2578,11 +2763,11 @@ class VoiceCallDebuggerService {
|
|
|
2578
2763
|
unsubscribe();
|
|
2579
2764
|
store.close();
|
|
2580
2765
|
},
|
|
2581
|
-
error:
|
|
2582
|
-
isLoading:
|
|
2766
|
+
error: computed10(() => errorSignal()),
|
|
2767
|
+
isLoading: computed10(() => isLoadingSignal()),
|
|
2583
2768
|
refresh: store.refresh,
|
|
2584
|
-
report:
|
|
2585
|
-
updatedAt:
|
|
2769
|
+
report: computed10(() => reportSignal()),
|
|
2770
|
+
updatedAt: computed10(() => updatedAtSignal())
|
|
2586
2771
|
};
|
|
2587
2772
|
}
|
|
2588
2773
|
}
|
|
@@ -2591,7 +2776,7 @@ __runInitializers(_init, 1, VoiceCallDebuggerService);
|
|
|
2591
2776
|
__decoratorMetadata(_init, VoiceCallDebuggerService);
|
|
2592
2777
|
let _VoiceCallDebuggerService = VoiceCallDebuggerService;
|
|
2593
2778
|
// src/angular/voice-session-snapshot.service.ts
|
|
2594
|
-
import { computed as
|
|
2779
|
+
import { computed as computed11, Injectable as Injectable11, signal as signal11 } from "@angular/core";
|
|
2595
2780
|
|
|
2596
2781
|
// src/client/sessionSnapshot.ts
|
|
2597
2782
|
var withTurnId = (path, turnId) => {
|
|
@@ -2688,17 +2873,17 @@ var createVoiceSessionSnapshotStore = (path, options = {}) => {
|
|
|
2688
2873
|
|
|
2689
2874
|
// src/angular/voice-session-snapshot.service.ts
|
|
2690
2875
|
var _dec = [
|
|
2691
|
-
|
|
2876
|
+
Injectable11({ providedIn: "root" })
|
|
2692
2877
|
];
|
|
2693
2878
|
var _init = __decoratorStart(undefined);
|
|
2694
2879
|
|
|
2695
2880
|
class VoiceSessionSnapshotService {
|
|
2696
2881
|
connect(path, options = {}) {
|
|
2697
2882
|
const store = createVoiceSessionSnapshotStore(path, options);
|
|
2698
|
-
const errorSignal =
|
|
2699
|
-
const isLoadingSignal =
|
|
2700
|
-
const snapshotSignal =
|
|
2701
|
-
const updatedAtSignal =
|
|
2883
|
+
const errorSignal = signal11(null);
|
|
2884
|
+
const isLoadingSignal = signal11(false);
|
|
2885
|
+
const snapshotSignal = signal11(undefined);
|
|
2886
|
+
const updatedAtSignal = signal11(undefined);
|
|
2702
2887
|
const sync = () => {
|
|
2703
2888
|
const state = store.getSnapshot();
|
|
2704
2889
|
errorSignal.set(state.error);
|
|
@@ -2715,11 +2900,11 @@ class VoiceSessionSnapshotService {
|
|
|
2715
2900
|
store.close();
|
|
2716
2901
|
},
|
|
2717
2902
|
download: store.download,
|
|
2718
|
-
error:
|
|
2719
|
-
isLoading:
|
|
2903
|
+
error: computed11(() => errorSignal()),
|
|
2904
|
+
isLoading: computed11(() => isLoadingSignal()),
|
|
2720
2905
|
refresh: store.refresh,
|
|
2721
|
-
snapshot:
|
|
2722
|
-
updatedAt:
|
|
2906
|
+
snapshot: computed11(() => snapshotSignal()),
|
|
2907
|
+
updatedAt: computed11(() => updatedAtSignal())
|
|
2723
2908
|
};
|
|
2724
2909
|
}
|
|
2725
2910
|
}
|
|
@@ -2728,7 +2913,7 @@ __runInitializers(_init, 1, VoiceSessionSnapshotService);
|
|
|
2728
2913
|
__decoratorMetadata(_init, VoiceSessionSnapshotService);
|
|
2729
2914
|
let _VoiceSessionSnapshotService = VoiceSessionSnapshotService;
|
|
2730
2915
|
// src/angular/voice-session-observability.service.ts
|
|
2731
|
-
import { computed as
|
|
2916
|
+
import { computed as computed12, Injectable as Injectable12, signal as signal12 } from "@angular/core";
|
|
2732
2917
|
|
|
2733
2918
|
// src/client/sessionObservability.ts
|
|
2734
2919
|
var fetchVoiceSessionObservability = async (path, options = {}) => {
|
|
@@ -2812,17 +2997,17 @@ var createVoiceSessionObservabilityStore = (path, options = {}) => {
|
|
|
2812
2997
|
|
|
2813
2998
|
// src/angular/voice-session-observability.service.ts
|
|
2814
2999
|
var _dec = [
|
|
2815
|
-
|
|
3000
|
+
Injectable12({ providedIn: "root" })
|
|
2816
3001
|
];
|
|
2817
3002
|
var _init = __decoratorStart(undefined);
|
|
2818
3003
|
|
|
2819
3004
|
class VoiceSessionObservabilityService {
|
|
2820
3005
|
connect(path = "/api/voice/session-observability/latest", options = {}) {
|
|
2821
3006
|
const store = createVoiceSessionObservabilityStore(path, options);
|
|
2822
|
-
const errorSignal =
|
|
2823
|
-
const isLoadingSignal =
|
|
2824
|
-
const reportSignal =
|
|
2825
|
-
const updatedAtSignal =
|
|
3007
|
+
const errorSignal = signal12(null);
|
|
3008
|
+
const isLoadingSignal = signal12(false);
|
|
3009
|
+
const reportSignal = signal12(null);
|
|
3010
|
+
const updatedAtSignal = signal12(undefined);
|
|
2826
3011
|
const sync = () => {
|
|
2827
3012
|
const snapshot = store.getSnapshot();
|
|
2828
3013
|
errorSignal.set(snapshot.error);
|
|
@@ -2838,11 +3023,11 @@ class VoiceSessionObservabilityService {
|
|
|
2838
3023
|
unsubscribe();
|
|
2839
3024
|
store.close();
|
|
2840
3025
|
},
|
|
2841
|
-
error:
|
|
2842
|
-
isLoading:
|
|
3026
|
+
error: computed12(() => errorSignal()),
|
|
3027
|
+
isLoading: computed12(() => isLoadingSignal()),
|
|
2843
3028
|
refresh: store.refresh,
|
|
2844
|
-
report:
|
|
2845
|
-
updatedAt:
|
|
3029
|
+
report: computed12(() => reportSignal()),
|
|
3030
|
+
updatedAt: computed12(() => updatedAtSignal())
|
|
2846
3031
|
};
|
|
2847
3032
|
}
|
|
2848
3033
|
}
|
|
@@ -2851,7 +3036,7 @@ __runInitializers(_init, 1, VoiceSessionObservabilityService);
|
|
|
2851
3036
|
__decoratorMetadata(_init, VoiceSessionObservabilityService);
|
|
2852
3037
|
let _VoiceSessionObservabilityService = VoiceSessionObservabilityService;
|
|
2853
3038
|
// src/angular/voice-profile-comparison.service.ts
|
|
2854
|
-
import { computed as
|
|
3039
|
+
import { computed as computed13, Injectable as Injectable13, signal as signal13 } from "@angular/core";
|
|
2855
3040
|
|
|
2856
3041
|
// src/client/profileComparison.ts
|
|
2857
3042
|
var fetchVoiceProfileComparison = async (path = "/api/voice/real-call-profile-history", options = {}) => {
|
|
@@ -2930,17 +3115,17 @@ var createVoiceProfileComparisonStore = (path = "/api/voice/real-call-profile-hi
|
|
|
2930
3115
|
|
|
2931
3116
|
// src/angular/voice-profile-comparison.service.ts
|
|
2932
3117
|
var _dec = [
|
|
2933
|
-
|
|
3118
|
+
Injectable13({ providedIn: "root" })
|
|
2934
3119
|
];
|
|
2935
3120
|
var _init = __decoratorStart(undefined);
|
|
2936
3121
|
|
|
2937
3122
|
class VoiceProfileComparisonService {
|
|
2938
3123
|
connect(path = "/api/voice/real-call-profile-history", options = {}) {
|
|
2939
3124
|
const store = createVoiceProfileComparisonStore(path, options);
|
|
2940
|
-
const errorSignal =
|
|
2941
|
-
const isLoadingSignal =
|
|
2942
|
-
const reportSignal =
|
|
2943
|
-
const updatedAtSignal =
|
|
3125
|
+
const errorSignal = signal13(null);
|
|
3126
|
+
const isLoadingSignal = signal13(false);
|
|
3127
|
+
const reportSignal = signal13(undefined);
|
|
3128
|
+
const updatedAtSignal = signal13(undefined);
|
|
2944
3129
|
const sync = () => {
|
|
2945
3130
|
const snapshot = store.getSnapshot();
|
|
2946
3131
|
errorSignal.set(snapshot.error);
|
|
@@ -2958,11 +3143,11 @@ class VoiceProfileComparisonService {
|
|
|
2958
3143
|
unsubscribe();
|
|
2959
3144
|
store.close();
|
|
2960
3145
|
},
|
|
2961
|
-
error:
|
|
2962
|
-
isLoading:
|
|
3146
|
+
error: computed13(() => errorSignal()),
|
|
3147
|
+
isLoading: computed13(() => isLoadingSignal()),
|
|
2963
3148
|
refresh: store.refresh,
|
|
2964
|
-
report:
|
|
2965
|
-
updatedAt:
|
|
3149
|
+
report: computed13(() => reportSignal()),
|
|
3150
|
+
updatedAt: computed13(() => updatedAtSignal())
|
|
2966
3151
|
};
|
|
2967
3152
|
}
|
|
2968
3153
|
}
|
|
@@ -2971,7 +3156,7 @@ __runInitializers(_init, 1, VoiceProfileComparisonService);
|
|
|
2971
3156
|
__decoratorMetadata(_init, VoiceProfileComparisonService);
|
|
2972
3157
|
let _VoiceProfileComparisonService = VoiceProfileComparisonService;
|
|
2973
3158
|
// src/angular/voice-readiness-failures.service.ts
|
|
2974
|
-
import { computed as
|
|
3159
|
+
import { computed as computed14, Injectable as Injectable14, signal as signal14 } from "@angular/core";
|
|
2975
3160
|
|
|
2976
3161
|
// src/client/readinessFailures.ts
|
|
2977
3162
|
var fetchVoiceReadinessFailures = async (path = "/api/production-readiness", options = {}) => {
|
|
@@ -3050,17 +3235,17 @@ var createVoiceReadinessFailuresStore = (path = "/api/production-readiness", opt
|
|
|
3050
3235
|
|
|
3051
3236
|
// src/angular/voice-readiness-failures.service.ts
|
|
3052
3237
|
var _dec = [
|
|
3053
|
-
|
|
3238
|
+
Injectable14({ providedIn: "root" })
|
|
3054
3239
|
];
|
|
3055
3240
|
var _init = __decoratorStart(undefined);
|
|
3056
3241
|
|
|
3057
3242
|
class VoiceReadinessFailuresService {
|
|
3058
3243
|
connect(path = "/api/production-readiness", options = {}) {
|
|
3059
3244
|
const store = createVoiceReadinessFailuresStore(path, options);
|
|
3060
|
-
const errorSignal =
|
|
3061
|
-
const isLoadingSignal =
|
|
3062
|
-
const reportSignal =
|
|
3063
|
-
const updatedAtSignal =
|
|
3245
|
+
const errorSignal = signal14(null);
|
|
3246
|
+
const isLoadingSignal = signal14(false);
|
|
3247
|
+
const reportSignal = signal14(undefined);
|
|
3248
|
+
const updatedAtSignal = signal14(undefined);
|
|
3064
3249
|
const sync = () => {
|
|
3065
3250
|
const snapshot = store.getSnapshot();
|
|
3066
3251
|
errorSignal.set(snapshot.error);
|
|
@@ -3078,12 +3263,12 @@ class VoiceReadinessFailuresService {
|
|
|
3078
3263
|
unsubscribe();
|
|
3079
3264
|
store.close();
|
|
3080
3265
|
},
|
|
3081
|
-
error:
|
|
3082
|
-
explanations:
|
|
3083
|
-
isLoading:
|
|
3266
|
+
error: computed14(() => errorSignal()),
|
|
3267
|
+
explanations: computed14(() => reportSignal()?.checks.filter((check) => check.status !== "pass" && !!check.gateExplanation) ?? []),
|
|
3268
|
+
isLoading: computed14(() => isLoadingSignal()),
|
|
3084
3269
|
refresh: store.refresh,
|
|
3085
|
-
report:
|
|
3086
|
-
updatedAt:
|
|
3270
|
+
report: computed14(() => reportSignal()),
|
|
3271
|
+
updatedAt: computed14(() => updatedAtSignal())
|
|
3087
3272
|
};
|
|
3088
3273
|
}
|
|
3089
3274
|
}
|
|
@@ -3092,7 +3277,7 @@ __runInitializers(_init, 1, VoiceReadinessFailuresService);
|
|
|
3092
3277
|
__decoratorMetadata(_init, VoiceReadinessFailuresService);
|
|
3093
3278
|
let _VoiceReadinessFailuresService = VoiceReadinessFailuresService;
|
|
3094
3279
|
// src/angular/voice-ops-action-center.service.ts
|
|
3095
|
-
import { computed as
|
|
3280
|
+
import { computed as computed15, Injectable as Injectable15, signal as signal15 } from "@angular/core";
|
|
3096
3281
|
|
|
3097
3282
|
// src/client/opsActionCenter.ts
|
|
3098
3283
|
var recordVoiceOpsActionResult = async (result, options = {}) => {
|
|
@@ -3287,18 +3472,18 @@ var createVoiceOpsActionCenterStore = (options = {}) => {
|
|
|
3287
3472
|
|
|
3288
3473
|
// src/angular/voice-ops-action-center.service.ts
|
|
3289
3474
|
var _dec = [
|
|
3290
|
-
|
|
3475
|
+
Injectable15({ providedIn: "root" })
|
|
3291
3476
|
];
|
|
3292
3477
|
var _init = __decoratorStart(undefined);
|
|
3293
3478
|
|
|
3294
3479
|
class VoiceOpsActionCenterService {
|
|
3295
3480
|
connect(options = {}) {
|
|
3296
3481
|
const store = createVoiceOpsActionCenterStore(options);
|
|
3297
|
-
const actionsSignal =
|
|
3298
|
-
const errorSignal =
|
|
3299
|
-
const isRunningSignal =
|
|
3300
|
-
const lastResultSignal =
|
|
3301
|
-
const runningActionIdSignal =
|
|
3482
|
+
const actionsSignal = signal15([]);
|
|
3483
|
+
const errorSignal = signal15(null);
|
|
3484
|
+
const isRunningSignal = signal15(false);
|
|
3485
|
+
const lastResultSignal = signal15(undefined);
|
|
3486
|
+
const runningActionIdSignal = signal15(undefined);
|
|
3302
3487
|
const sync = () => {
|
|
3303
3488
|
const snapshot = store.getSnapshot();
|
|
3304
3489
|
actionsSignal.set(snapshot.actions);
|
|
@@ -3310,16 +3495,16 @@ class VoiceOpsActionCenterService {
|
|
|
3310
3495
|
const unsubscribe = store.subscribe(sync);
|
|
3311
3496
|
sync();
|
|
3312
3497
|
return {
|
|
3313
|
-
actions:
|
|
3498
|
+
actions: computed15(() => actionsSignal()),
|
|
3314
3499
|
close: () => {
|
|
3315
3500
|
unsubscribe();
|
|
3316
3501
|
store.close();
|
|
3317
3502
|
},
|
|
3318
|
-
error:
|
|
3319
|
-
isRunning:
|
|
3320
|
-
lastResult:
|
|
3503
|
+
error: computed15(() => errorSignal()),
|
|
3504
|
+
isRunning: computed15(() => isRunningSignal()),
|
|
3505
|
+
lastResult: computed15(() => lastResultSignal()),
|
|
3321
3506
|
run: store.run,
|
|
3322
|
-
runningActionId:
|
|
3507
|
+
runningActionId: computed15(() => runningActionIdSignal()),
|
|
3323
3508
|
setActions: store.setActions
|
|
3324
3509
|
};
|
|
3325
3510
|
}
|
|
@@ -3329,7 +3514,7 @@ __runInitializers(_init, 1, VoiceOpsActionCenterService);
|
|
|
3329
3514
|
__decoratorMetadata(_init, VoiceOpsActionCenterService);
|
|
3330
3515
|
let _VoiceOpsActionCenterService = VoiceOpsActionCenterService;
|
|
3331
3516
|
// src/angular/voice-live-ops.service.ts
|
|
3332
|
-
import { computed as
|
|
3517
|
+
import { computed as computed16, Injectable as Injectable16, signal as signal16 } from "@angular/core";
|
|
3333
3518
|
|
|
3334
3519
|
// src/client/liveOps.ts
|
|
3335
3520
|
var postVoiceLiveOpsAction = async (input, options = {}) => {
|
|
@@ -3419,17 +3604,17 @@ var createVoiceLiveOpsStore = (options = {}) => {
|
|
|
3419
3604
|
|
|
3420
3605
|
// src/angular/voice-live-ops.service.ts
|
|
3421
3606
|
var _dec = [
|
|
3422
|
-
|
|
3607
|
+
Injectable16({ providedIn: "root" })
|
|
3423
3608
|
];
|
|
3424
3609
|
var _init = __decoratorStart(undefined);
|
|
3425
3610
|
|
|
3426
3611
|
class VoiceLiveOpsService {
|
|
3427
3612
|
connect(options = {}) {
|
|
3428
3613
|
const store = createVoiceLiveOpsStore(options);
|
|
3429
|
-
const errorSignal =
|
|
3430
|
-
const isRunningSignal =
|
|
3431
|
-
const lastResultSignal =
|
|
3432
|
-
const runningActionSignal =
|
|
3614
|
+
const errorSignal = signal16(null);
|
|
3615
|
+
const isRunningSignal = signal16(false);
|
|
3616
|
+
const lastResultSignal = signal16(undefined);
|
|
3617
|
+
const runningActionSignal = signal16(undefined);
|
|
3433
3618
|
const sync = () => {
|
|
3434
3619
|
const snapshot = store.getSnapshot();
|
|
3435
3620
|
errorSignal.set(snapshot.error);
|
|
@@ -3444,11 +3629,11 @@ class VoiceLiveOpsService {
|
|
|
3444
3629
|
unsubscribe();
|
|
3445
3630
|
store.close();
|
|
3446
3631
|
},
|
|
3447
|
-
error:
|
|
3448
|
-
isRunning:
|
|
3449
|
-
lastResult:
|
|
3632
|
+
error: computed16(() => errorSignal()),
|
|
3633
|
+
isRunning: computed16(() => isRunningSignal()),
|
|
3634
|
+
lastResult: computed16(() => lastResultSignal()),
|
|
3450
3635
|
run: store.run,
|
|
3451
|
-
runningAction:
|
|
3636
|
+
runningAction: computed16(() => runningActionSignal())
|
|
3452
3637
|
};
|
|
3453
3638
|
}
|
|
3454
3639
|
}
|
|
@@ -3457,7 +3642,7 @@ __runInitializers(_init, 1, VoiceLiveOpsService);
|
|
|
3457
3642
|
__decoratorMetadata(_init, VoiceLiveOpsService);
|
|
3458
3643
|
let _VoiceLiveOpsService = VoiceLiveOpsService;
|
|
3459
3644
|
// src/angular/voice-delivery-runtime.service.ts
|
|
3460
|
-
import { computed as
|
|
3645
|
+
import { computed as computed17, Injectable as Injectable17, signal as signal17 } from "@angular/core";
|
|
3461
3646
|
|
|
3462
3647
|
// src/client/deliveryRuntime.ts
|
|
3463
3648
|
var getDefaultActionPath = (path, action, options) => {
|
|
@@ -3598,19 +3783,19 @@ var createVoiceDeliveryRuntimeStore = (path = "/api/voice-delivery-runtime", opt
|
|
|
3598
3783
|
|
|
3599
3784
|
// src/angular/voice-delivery-runtime.service.ts
|
|
3600
3785
|
var _dec = [
|
|
3601
|
-
|
|
3786
|
+
Injectable17({ providedIn: "root" })
|
|
3602
3787
|
];
|
|
3603
3788
|
var _init = __decoratorStart(undefined);
|
|
3604
3789
|
|
|
3605
3790
|
class VoiceDeliveryRuntimeService {
|
|
3606
3791
|
connect(path = "/api/voice-delivery-runtime", options = {}) {
|
|
3607
3792
|
const store = createVoiceDeliveryRuntimeStore(path, options);
|
|
3608
|
-
const actionErrorSignal =
|
|
3609
|
-
const actionStatusSignal =
|
|
3610
|
-
const errorSignal =
|
|
3611
|
-
const isLoadingSignal =
|
|
3612
|
-
const reportSignal =
|
|
3613
|
-
const updatedAtSignal =
|
|
3793
|
+
const actionErrorSignal = signal17(null);
|
|
3794
|
+
const actionStatusSignal = signal17("idle");
|
|
3795
|
+
const errorSignal = signal17(null);
|
|
3796
|
+
const isLoadingSignal = signal17(false);
|
|
3797
|
+
const reportSignal = signal17(undefined);
|
|
3798
|
+
const updatedAtSignal = signal17(undefined);
|
|
3614
3799
|
const sync = () => {
|
|
3615
3800
|
const snapshot = store.getSnapshot();
|
|
3616
3801
|
actionErrorSignal.set(snapshot.actionError);
|
|
@@ -3630,15 +3815,15 @@ class VoiceDeliveryRuntimeService {
|
|
|
3630
3815
|
unsubscribe();
|
|
3631
3816
|
store.close();
|
|
3632
3817
|
},
|
|
3633
|
-
error:
|
|
3634
|
-
actionError:
|
|
3635
|
-
actionStatus:
|
|
3636
|
-
isLoading:
|
|
3818
|
+
error: computed17(() => errorSignal()),
|
|
3819
|
+
actionError: computed17(() => actionErrorSignal()),
|
|
3820
|
+
actionStatus: computed17(() => actionStatusSignal()),
|
|
3821
|
+
isLoading: computed17(() => isLoadingSignal()),
|
|
3637
3822
|
requeueDeadLetters: store.requeueDeadLetters,
|
|
3638
3823
|
refresh: store.refresh,
|
|
3639
|
-
report:
|
|
3824
|
+
report: computed17(() => reportSignal()),
|
|
3640
3825
|
tick: store.tick,
|
|
3641
|
-
updatedAt:
|
|
3826
|
+
updatedAt: computed17(() => updatedAtSignal())
|
|
3642
3827
|
};
|
|
3643
3828
|
}
|
|
3644
3829
|
}
|
|
@@ -3647,7 +3832,7 @@ __runInitializers(_init, 1, VoiceDeliveryRuntimeService);
|
|
|
3647
3832
|
__decoratorMetadata(_init, VoiceDeliveryRuntimeService);
|
|
3648
3833
|
let _VoiceDeliveryRuntimeService = VoiceDeliveryRuntimeService;
|
|
3649
3834
|
// src/angular/voice-campaign-dialer-proof.service.ts
|
|
3650
|
-
import { computed as
|
|
3835
|
+
import { computed as computed18, Injectable as Injectable18, signal as signal18 } from "@angular/core";
|
|
3651
3836
|
|
|
3652
3837
|
// src/client/campaignDialerProof.ts
|
|
3653
3838
|
var fetchVoiceCampaignDialerProofStatus = async (path = "/api/voice/campaigns/dialer-proof", options = {}) => {
|
|
@@ -3769,18 +3954,18 @@ var createVoiceCampaignDialerProofStore = (path = "/api/voice/campaigns/dialer-p
|
|
|
3769
3954
|
|
|
3770
3955
|
// src/angular/voice-campaign-dialer-proof.service.ts
|
|
3771
3956
|
var _dec = [
|
|
3772
|
-
|
|
3957
|
+
Injectable18({ providedIn: "root" })
|
|
3773
3958
|
];
|
|
3774
3959
|
var _init = __decoratorStart(undefined);
|
|
3775
3960
|
|
|
3776
3961
|
class VoiceCampaignDialerProofService {
|
|
3777
3962
|
connect(path = "/api/voice/campaigns/dialer-proof", options = {}) {
|
|
3778
3963
|
const store = createVoiceCampaignDialerProofStore(path, options);
|
|
3779
|
-
const errorSignal =
|
|
3780
|
-
const isLoadingSignal =
|
|
3781
|
-
const reportSignal =
|
|
3782
|
-
const statusSignal =
|
|
3783
|
-
const updatedAtSignal =
|
|
3964
|
+
const errorSignal = signal18(null);
|
|
3965
|
+
const isLoadingSignal = signal18(false);
|
|
3966
|
+
const reportSignal = signal18(undefined);
|
|
3967
|
+
const statusSignal = signal18(undefined);
|
|
3968
|
+
const updatedAtSignal = signal18(undefined);
|
|
3784
3969
|
const sync = () => {
|
|
3785
3970
|
const snapshot = store.getSnapshot();
|
|
3786
3971
|
errorSignal.set(snapshot.error);
|
|
@@ -3797,13 +3982,13 @@ class VoiceCampaignDialerProofService {
|
|
|
3797
3982
|
unsubscribe();
|
|
3798
3983
|
store.close();
|
|
3799
3984
|
},
|
|
3800
|
-
error:
|
|
3801
|
-
isLoading:
|
|
3985
|
+
error: computed18(() => errorSignal()),
|
|
3986
|
+
isLoading: computed18(() => isLoadingSignal()),
|
|
3802
3987
|
refresh: store.refresh,
|
|
3803
|
-
report:
|
|
3988
|
+
report: computed18(() => reportSignal()),
|
|
3804
3989
|
runProof: store.runProof,
|
|
3805
|
-
status:
|
|
3806
|
-
updatedAt:
|
|
3990
|
+
status: computed18(() => statusSignal()),
|
|
3991
|
+
updatedAt: computed18(() => updatedAtSignal())
|
|
3807
3992
|
};
|
|
3808
3993
|
}
|
|
3809
3994
|
}
|
|
@@ -3812,26 +3997,26 @@ __runInitializers(_init, 1, VoiceCampaignDialerProofService);
|
|
|
3812
3997
|
__decoratorMetadata(_init, VoiceCampaignDialerProofService);
|
|
3813
3998
|
let _VoiceCampaignDialerProofService = VoiceCampaignDialerProofService;
|
|
3814
3999
|
// src/angular/voice-stream.service.ts
|
|
3815
|
-
import { computed as
|
|
4000
|
+
import { computed as computed19, Injectable as Injectable19, signal as signal19 } from "@angular/core";
|
|
3816
4001
|
var _dec = [
|
|
3817
|
-
|
|
4002
|
+
Injectable19({ providedIn: "root" })
|
|
3818
4003
|
];
|
|
3819
4004
|
var _init = __decoratorStart(undefined);
|
|
3820
4005
|
|
|
3821
4006
|
class VoiceStreamService {
|
|
3822
4007
|
connect(path, options = {}) {
|
|
3823
4008
|
const stream = createVoiceStream(path, options);
|
|
3824
|
-
const assistantAudioSignal =
|
|
3825
|
-
const assistantTextsSignal =
|
|
3826
|
-
const callSignal =
|
|
3827
|
-
const errorSignal =
|
|
3828
|
-
const isConnectedSignal =
|
|
3829
|
-
const partialSignal =
|
|
3830
|
-
const reconnectSignal =
|
|
3831
|
-
const sessionIdSignal =
|
|
3832
|
-
const sessionMetadataSignal =
|
|
3833
|
-
const statusSignal =
|
|
3834
|
-
const turnsSignal =
|
|
4009
|
+
const assistantAudioSignal = signal19([]);
|
|
4010
|
+
const assistantTextsSignal = signal19([]);
|
|
4011
|
+
const callSignal = signal19(null);
|
|
4012
|
+
const errorSignal = signal19(null);
|
|
4013
|
+
const isConnectedSignal = signal19(false);
|
|
4014
|
+
const partialSignal = signal19("");
|
|
4015
|
+
const reconnectSignal = signal19(stream.reconnect);
|
|
4016
|
+
const sessionIdSignal = signal19(stream.sessionId);
|
|
4017
|
+
const sessionMetadataSignal = signal19(stream.sessionMetadata);
|
|
4018
|
+
const statusSignal = signal19(stream.status);
|
|
4019
|
+
const turnsSignal = signal19([]);
|
|
3835
4020
|
const sync = () => {
|
|
3836
4021
|
assistantAudioSignal.set([...stream.assistantAudio]);
|
|
3837
4022
|
assistantTextsSignal.set([...stream.assistantTexts]);
|
|
@@ -3848,25 +4033,25 @@ class VoiceStreamService {
|
|
|
3848
4033
|
const unsubscribe = stream.subscribe(sync);
|
|
3849
4034
|
sync();
|
|
3850
4035
|
return {
|
|
3851
|
-
assistantAudio:
|
|
3852
|
-
assistantTexts:
|
|
3853
|
-
call:
|
|
4036
|
+
assistantAudio: computed19(() => assistantAudioSignal()),
|
|
4037
|
+
assistantTexts: computed19(() => assistantTextsSignal()),
|
|
4038
|
+
call: computed19(() => callSignal()),
|
|
3854
4039
|
callControl: (message) => stream.callControl(message),
|
|
3855
4040
|
close: () => {
|
|
3856
4041
|
unsubscribe();
|
|
3857
4042
|
stream.close();
|
|
3858
4043
|
},
|
|
3859
4044
|
endTurn: () => stream.endTurn(),
|
|
3860
|
-
error:
|
|
3861
|
-
isConnected:
|
|
3862
|
-
partial:
|
|
3863
|
-
reconnect:
|
|
4045
|
+
error: computed19(() => errorSignal()),
|
|
4046
|
+
isConnected: computed19(() => isConnectedSignal()),
|
|
4047
|
+
partial: computed19(() => partialSignal()),
|
|
4048
|
+
reconnect: computed19(() => reconnectSignal()),
|
|
3864
4049
|
sendAudio: (audio) => stream.sendAudio(audio),
|
|
3865
4050
|
simulateDisconnect: () => stream.simulateDisconnect(),
|
|
3866
|
-
sessionId:
|
|
3867
|
-
sessionMetadata:
|
|
3868
|
-
status:
|
|
3869
|
-
turns:
|
|
4051
|
+
sessionId: computed19(() => sessionIdSignal()),
|
|
4052
|
+
sessionMetadata: computed19(() => sessionMetadataSignal()),
|
|
4053
|
+
status: computed19(() => statusSignal()),
|
|
4054
|
+
turns: computed19(() => turnsSignal())
|
|
3870
4055
|
};
|
|
3871
4056
|
}
|
|
3872
4057
|
}
|
|
@@ -3875,26 +4060,26 @@ __runInitializers(_init, 1, VoiceStreamService);
|
|
|
3875
4060
|
__decoratorMetadata(_init, VoiceStreamService);
|
|
3876
4061
|
let _VoiceStreamService = VoiceStreamService;
|
|
3877
4062
|
// src/angular/voice-controller.service.ts
|
|
3878
|
-
import { computed as
|
|
4063
|
+
import { computed as computed20, Injectable as Injectable20, signal as signal20 } from "@angular/core";
|
|
3879
4064
|
var _dec = [
|
|
3880
|
-
|
|
4065
|
+
Injectable20({ providedIn: "root" })
|
|
3881
4066
|
];
|
|
3882
4067
|
var _init = __decoratorStart(undefined);
|
|
3883
4068
|
|
|
3884
4069
|
class VoiceControllerService {
|
|
3885
4070
|
connect(path, options = {}) {
|
|
3886
4071
|
const controller = createVoiceController(path, options);
|
|
3887
|
-
const assistantAudioSignal =
|
|
3888
|
-
const assistantTextsSignal =
|
|
3889
|
-
const errorSignal =
|
|
3890
|
-
const isConnectedSignal =
|
|
3891
|
-
const isRecordingSignal =
|
|
3892
|
-
const partialSignal =
|
|
3893
|
-
const reconnectSignal =
|
|
3894
|
-
const recordingErrorSignal =
|
|
3895
|
-
const sessionIdSignal =
|
|
3896
|
-
const statusSignal =
|
|
3897
|
-
const turnsSignal =
|
|
4072
|
+
const assistantAudioSignal = signal20([]);
|
|
4073
|
+
const assistantTextsSignal = signal20([]);
|
|
4074
|
+
const errorSignal = signal20(null);
|
|
4075
|
+
const isConnectedSignal = signal20(false);
|
|
4076
|
+
const isRecordingSignal = signal20(false);
|
|
4077
|
+
const partialSignal = signal20("");
|
|
4078
|
+
const reconnectSignal = signal20(controller.reconnect);
|
|
4079
|
+
const recordingErrorSignal = signal20(null);
|
|
4080
|
+
const sessionIdSignal = signal20(controller.sessionId);
|
|
4081
|
+
const statusSignal = signal20(controller.status);
|
|
4082
|
+
const turnsSignal = signal20([]);
|
|
3898
4083
|
const sync = () => {
|
|
3899
4084
|
assistantAudioSignal.set([...controller.assistantAudio]);
|
|
3900
4085
|
assistantTextsSignal.set([...controller.assistantTexts]);
|
|
@@ -3911,28 +4096,28 @@ class VoiceControllerService {
|
|
|
3911
4096
|
const unsubscribe = controller.subscribe(sync);
|
|
3912
4097
|
sync();
|
|
3913
4098
|
return {
|
|
3914
|
-
assistantAudio:
|
|
3915
|
-
assistantTexts:
|
|
4099
|
+
assistantAudio: computed20(() => assistantAudioSignal()),
|
|
4100
|
+
assistantTexts: computed20(() => assistantTextsSignal()),
|
|
3916
4101
|
bindHTMX: controller.bindHTMX,
|
|
3917
4102
|
close: () => {
|
|
3918
4103
|
unsubscribe();
|
|
3919
4104
|
controller.close();
|
|
3920
4105
|
},
|
|
3921
4106
|
endTurn: () => controller.endTurn(),
|
|
3922
|
-
error:
|
|
3923
|
-
isConnected:
|
|
3924
|
-
isRecording:
|
|
3925
|
-
partial:
|
|
3926
|
-
reconnect:
|
|
3927
|
-
recordingError:
|
|
4107
|
+
error: computed20(() => errorSignal()),
|
|
4108
|
+
isConnected: computed20(() => isConnectedSignal()),
|
|
4109
|
+
isRecording: computed20(() => isRecordingSignal()),
|
|
4110
|
+
partial: computed20(() => partialSignal()),
|
|
4111
|
+
reconnect: computed20(() => reconnectSignal()),
|
|
4112
|
+
recordingError: computed20(() => recordingErrorSignal()),
|
|
3928
4113
|
sendAudio: (audio) => controller.sendAudio(audio),
|
|
3929
4114
|
simulateDisconnect: () => controller.simulateDisconnect(),
|
|
3930
|
-
sessionId:
|
|
4115
|
+
sessionId: computed20(() => sessionIdSignal()),
|
|
3931
4116
|
startRecording: () => controller.startRecording(),
|
|
3932
|
-
status:
|
|
4117
|
+
status: computed20(() => statusSignal()),
|
|
3933
4118
|
stopRecording: () => controller.stopRecording(),
|
|
3934
4119
|
toggleRecording: () => controller.toggleRecording(),
|
|
3935
|
-
turns:
|
|
4120
|
+
turns: computed20(() => turnsSignal())
|
|
3936
4121
|
};
|
|
3937
4122
|
}
|
|
3938
4123
|
}
|
|
@@ -3941,7 +4126,7 @@ __runInitializers(_init, 1, VoiceControllerService);
|
|
|
3941
4126
|
__decoratorMetadata(_init, VoiceControllerService);
|
|
3942
4127
|
let _VoiceControllerService = VoiceControllerService;
|
|
3943
4128
|
// src/angular/voice-provider-capabilities.service.ts
|
|
3944
|
-
import { computed as
|
|
4129
|
+
import { computed as computed21, Injectable as Injectable21, signal as signal21 } from "@angular/core";
|
|
3945
4130
|
|
|
3946
4131
|
// src/client/providerCapabilities.ts
|
|
3947
4132
|
var fetchVoiceProviderCapabilities = async (path = "/api/provider-capabilities", options = {}) => {
|
|
@@ -4024,17 +4209,17 @@ var createVoiceProviderCapabilitiesStore = (path = "/api/provider-capabilities",
|
|
|
4024
4209
|
|
|
4025
4210
|
// src/angular/voice-provider-capabilities.service.ts
|
|
4026
4211
|
var _dec = [
|
|
4027
|
-
|
|
4212
|
+
Injectable21({ providedIn: "root" })
|
|
4028
4213
|
];
|
|
4029
4214
|
var _init = __decoratorStart(undefined);
|
|
4030
4215
|
|
|
4031
4216
|
class VoiceProviderCapabilitiesService {
|
|
4032
4217
|
connect(path = "/api/provider-capabilities", options = {}) {
|
|
4033
4218
|
const store = createVoiceProviderCapabilitiesStore(path, options);
|
|
4034
|
-
const errorSignal =
|
|
4035
|
-
const isLoadingSignal =
|
|
4036
|
-
const reportSignal =
|
|
4037
|
-
const updatedAtSignal =
|
|
4219
|
+
const errorSignal = signal21(null);
|
|
4220
|
+
const isLoadingSignal = signal21(false);
|
|
4221
|
+
const reportSignal = signal21(undefined);
|
|
4222
|
+
const updatedAtSignal = signal21(undefined);
|
|
4038
4223
|
const sync = () => {
|
|
4039
4224
|
const snapshot = store.getSnapshot();
|
|
4040
4225
|
errorSignal.set(snapshot.error);
|
|
@@ -4050,11 +4235,11 @@ class VoiceProviderCapabilitiesService {
|
|
|
4050
4235
|
unsubscribe();
|
|
4051
4236
|
store.close();
|
|
4052
4237
|
},
|
|
4053
|
-
error:
|
|
4054
|
-
isLoading:
|
|
4238
|
+
error: computed21(() => errorSignal()),
|
|
4239
|
+
isLoading: computed21(() => isLoadingSignal()),
|
|
4055
4240
|
refresh: store.refresh,
|
|
4056
|
-
report:
|
|
4057
|
-
updatedAt:
|
|
4241
|
+
report: computed21(() => reportSignal()),
|
|
4242
|
+
updatedAt: computed21(() => updatedAtSignal())
|
|
4058
4243
|
};
|
|
4059
4244
|
}
|
|
4060
4245
|
}
|
|
@@ -4063,7 +4248,7 @@ __runInitializers(_init, 1, VoiceProviderCapabilitiesService);
|
|
|
4063
4248
|
__decoratorMetadata(_init, VoiceProviderCapabilitiesService);
|
|
4064
4249
|
let _VoiceProviderCapabilitiesService = VoiceProviderCapabilitiesService;
|
|
4065
4250
|
// src/angular/voice-provider-contracts.service.ts
|
|
4066
|
-
import { computed as
|
|
4251
|
+
import { computed as computed22, Injectable as Injectable22, signal as signal22 } from "@angular/core";
|
|
4067
4252
|
|
|
4068
4253
|
// src/client/providerContracts.ts
|
|
4069
4254
|
var fetchVoiceProviderContracts = async (path = "/api/provider-contracts", options = {}) => {
|
|
@@ -4142,17 +4327,17 @@ var createVoiceProviderContractsStore = (path = "/api/provider-contracts", optio
|
|
|
4142
4327
|
|
|
4143
4328
|
// src/angular/voice-provider-contracts.service.ts
|
|
4144
4329
|
var _dec = [
|
|
4145
|
-
|
|
4330
|
+
Injectable22({ providedIn: "root" })
|
|
4146
4331
|
];
|
|
4147
4332
|
var _init = __decoratorStart(undefined);
|
|
4148
4333
|
|
|
4149
4334
|
class VoiceProviderContractsService {
|
|
4150
4335
|
connect(path = "/api/provider-contracts", options = {}) {
|
|
4151
4336
|
const store = createVoiceProviderContractsStore(path, options);
|
|
4152
|
-
const errorSignal =
|
|
4153
|
-
const isLoadingSignal =
|
|
4154
|
-
const reportSignal =
|
|
4155
|
-
const updatedAtSignal =
|
|
4337
|
+
const errorSignal = signal22(null);
|
|
4338
|
+
const isLoadingSignal = signal22(false);
|
|
4339
|
+
const reportSignal = signal22(undefined);
|
|
4340
|
+
const updatedAtSignal = signal22(undefined);
|
|
4156
4341
|
const sync = () => {
|
|
4157
4342
|
const snapshot = store.getSnapshot();
|
|
4158
4343
|
errorSignal.set(snapshot.error);
|
|
@@ -4168,11 +4353,11 @@ class VoiceProviderContractsService {
|
|
|
4168
4353
|
unsubscribe();
|
|
4169
4354
|
store.close();
|
|
4170
4355
|
},
|
|
4171
|
-
error:
|
|
4172
|
-
isLoading:
|
|
4356
|
+
error: computed22(() => errorSignal()),
|
|
4357
|
+
isLoading: computed22(() => isLoadingSignal()),
|
|
4173
4358
|
refresh: store.refresh,
|
|
4174
|
-
report:
|
|
4175
|
-
updatedAt:
|
|
4359
|
+
report: computed22(() => reportSignal()),
|
|
4360
|
+
updatedAt: computed22(() => updatedAtSignal())
|
|
4176
4361
|
};
|
|
4177
4362
|
}
|
|
4178
4363
|
}
|
|
@@ -4181,7 +4366,7 @@ __runInitializers(_init, 1, VoiceProviderContractsService);
|
|
|
4181
4366
|
__decoratorMetadata(_init, VoiceProviderContractsService);
|
|
4182
4367
|
let _VoiceProviderContractsService = VoiceProviderContractsService;
|
|
4183
4368
|
// src/angular/voice-provider-status.service.ts
|
|
4184
|
-
import { computed as
|
|
4369
|
+
import { computed as computed23, Injectable as Injectable23, signal as signal23 } from "@angular/core";
|
|
4185
4370
|
|
|
4186
4371
|
// src/client/providerStatus.ts
|
|
4187
4372
|
var fetchVoiceProviderStatus = async (path = "/api/provider-status", options = {}) => {
|
|
@@ -4265,17 +4450,17 @@ var createVoiceProviderStatusStore = (path = "/api/provider-status", options = {
|
|
|
4265
4450
|
|
|
4266
4451
|
// src/angular/voice-provider-status.service.ts
|
|
4267
4452
|
var _dec = [
|
|
4268
|
-
|
|
4453
|
+
Injectable23({ providedIn: "root" })
|
|
4269
4454
|
];
|
|
4270
4455
|
var _init = __decoratorStart(undefined);
|
|
4271
4456
|
|
|
4272
4457
|
class VoiceProviderStatusService {
|
|
4273
4458
|
connect(path = "/api/provider-status", options = {}) {
|
|
4274
4459
|
const store = createVoiceProviderStatusStore(path, options);
|
|
4275
|
-
const errorSignal =
|
|
4276
|
-
const isLoadingSignal =
|
|
4277
|
-
const providersSignal =
|
|
4278
|
-
const updatedAtSignal =
|
|
4460
|
+
const errorSignal = signal23(null);
|
|
4461
|
+
const isLoadingSignal = signal23(false);
|
|
4462
|
+
const providersSignal = signal23([]);
|
|
4463
|
+
const updatedAtSignal = signal23(undefined);
|
|
4279
4464
|
const sync = () => {
|
|
4280
4465
|
const snapshot = store.getSnapshot();
|
|
4281
4466
|
errorSignal.set(snapshot.error);
|
|
@@ -4291,11 +4476,11 @@ class VoiceProviderStatusService {
|
|
|
4291
4476
|
unsubscribe();
|
|
4292
4477
|
store.close();
|
|
4293
4478
|
},
|
|
4294
|
-
error:
|
|
4295
|
-
isLoading:
|
|
4296
|
-
providers:
|
|
4479
|
+
error: computed23(() => errorSignal()),
|
|
4480
|
+
isLoading: computed23(() => isLoadingSignal()),
|
|
4481
|
+
providers: computed23(() => providersSignal()),
|
|
4297
4482
|
refresh: store.refresh,
|
|
4298
|
-
updatedAt:
|
|
4483
|
+
updatedAt: computed23(() => updatedAtSignal())
|
|
4299
4484
|
};
|
|
4300
4485
|
}
|
|
4301
4486
|
}
|
|
@@ -4304,7 +4489,7 @@ __runInitializers(_init, 1, VoiceProviderStatusService);
|
|
|
4304
4489
|
__decoratorMetadata(_init, VoiceProviderStatusService);
|
|
4305
4490
|
let _VoiceProviderStatusService = VoiceProviderStatusService;
|
|
4306
4491
|
// src/angular/voice-routing-status.service.ts
|
|
4307
|
-
import { Injectable as
|
|
4492
|
+
import { Injectable as Injectable24, signal as signal24 } from "@angular/core";
|
|
4308
4493
|
|
|
4309
4494
|
// src/client/routingStatus.ts
|
|
4310
4495
|
var fetchVoiceRoutingStatus = async (path = "/api/routing/latest", options = {}) => {
|
|
@@ -4388,17 +4573,17 @@ var createVoiceRoutingStatusStore = (path = "/api/routing/latest", options = {})
|
|
|
4388
4573
|
|
|
4389
4574
|
// src/angular/voice-routing-status.service.ts
|
|
4390
4575
|
var _dec = [
|
|
4391
|
-
|
|
4576
|
+
Injectable24({ providedIn: "root" })
|
|
4392
4577
|
];
|
|
4393
4578
|
var _init = __decoratorStart(undefined);
|
|
4394
4579
|
|
|
4395
4580
|
class VoiceRoutingStatusService {
|
|
4396
4581
|
connect(path = "/api/routing/latest", options = {}) {
|
|
4397
4582
|
const store = createVoiceRoutingStatusStore(path, options);
|
|
4398
|
-
const decisionSignal =
|
|
4399
|
-
const errorSignal =
|
|
4400
|
-
const isLoadingSignal =
|
|
4401
|
-
const updatedAtSignal =
|
|
4583
|
+
const decisionSignal = signal24(null);
|
|
4584
|
+
const errorSignal = signal24(null);
|
|
4585
|
+
const isLoadingSignal = signal24(false);
|
|
4586
|
+
const updatedAtSignal = signal24(undefined);
|
|
4402
4587
|
const sync = () => {
|
|
4403
4588
|
const snapshot = store.getSnapshot();
|
|
4404
4589
|
decisionSignal.set(snapshot.decision);
|
|
@@ -4427,7 +4612,7 @@ __runInitializers(_init, 1, VoiceRoutingStatusService);
|
|
|
4427
4612
|
__decoratorMetadata(_init, VoiceRoutingStatusService);
|
|
4428
4613
|
let _VoiceRoutingStatusService = VoiceRoutingStatusService;
|
|
4429
4614
|
// src/angular/voice-trace-timeline.service.ts
|
|
4430
|
-
import { computed as
|
|
4615
|
+
import { computed as computed24, Injectable as Injectable25, signal as signal25 } from "@angular/core";
|
|
4431
4616
|
|
|
4432
4617
|
// src/client/traceTimeline.ts
|
|
4433
4618
|
var fetchVoiceTraceTimeline = async (path = "/api/voice-traces", options = {}) => {
|
|
@@ -4511,17 +4696,17 @@ var createVoiceTraceTimelineStore = (path = "/api/voice-traces", options = {}) =
|
|
|
4511
4696
|
|
|
4512
4697
|
// src/angular/voice-trace-timeline.service.ts
|
|
4513
4698
|
var _dec = [
|
|
4514
|
-
|
|
4699
|
+
Injectable25({ providedIn: "root" })
|
|
4515
4700
|
];
|
|
4516
4701
|
var _init = __decoratorStart(undefined);
|
|
4517
4702
|
|
|
4518
4703
|
class VoiceTraceTimelineService {
|
|
4519
4704
|
connect(path = "/api/voice-traces", options = {}) {
|
|
4520
4705
|
const store = createVoiceTraceTimelineStore(path, options);
|
|
4521
|
-
const errorSignal =
|
|
4522
|
-
const isLoadingSignal =
|
|
4523
|
-
const reportSignal =
|
|
4524
|
-
const updatedAtSignal =
|
|
4706
|
+
const errorSignal = signal25(null);
|
|
4707
|
+
const isLoadingSignal = signal25(false);
|
|
4708
|
+
const reportSignal = signal25(null);
|
|
4709
|
+
const updatedAtSignal = signal25(undefined);
|
|
4525
4710
|
const sync = () => {
|
|
4526
4711
|
const snapshot = store.getSnapshot();
|
|
4527
4712
|
errorSignal.set(snapshot.error);
|
|
@@ -4537,11 +4722,11 @@ class VoiceTraceTimelineService {
|
|
|
4537
4722
|
unsubscribe();
|
|
4538
4723
|
store.close();
|
|
4539
4724
|
},
|
|
4540
|
-
error:
|
|
4541
|
-
isLoading:
|
|
4725
|
+
error: computed24(() => errorSignal()),
|
|
4726
|
+
isLoading: computed24(() => isLoadingSignal()),
|
|
4542
4727
|
refresh: store.refresh,
|
|
4543
|
-
report:
|
|
4544
|
-
updatedAt:
|
|
4728
|
+
report: computed24(() => reportSignal()),
|
|
4729
|
+
updatedAt: computed24(() => updatedAtSignal())
|
|
4545
4730
|
};
|
|
4546
4731
|
}
|
|
4547
4732
|
}
|
|
@@ -4550,7 +4735,7 @@ __runInitializers(_init, 1, VoiceTraceTimelineService);
|
|
|
4550
4735
|
__decoratorMetadata(_init, VoiceTraceTimelineService);
|
|
4551
4736
|
let _VoiceTraceTimelineService = VoiceTraceTimelineService;
|
|
4552
4737
|
// src/angular/voice-agent-squad-status.service.ts
|
|
4553
|
-
import { computed as
|
|
4738
|
+
import { computed as computed25, Injectable as Injectable26, signal as signal26 } from "@angular/core";
|
|
4554
4739
|
|
|
4555
4740
|
// src/client/agentSquadStatus.ts
|
|
4556
4741
|
var getString = (value) => typeof value === "string" && value.trim() ? value.trim() : undefined;
|
|
@@ -4628,17 +4813,17 @@ var createVoiceAgentSquadStatusStore = (path = "/api/voice-traces", options = {}
|
|
|
4628
4813
|
|
|
4629
4814
|
// src/angular/voice-agent-squad-status.service.ts
|
|
4630
4815
|
var _dec = [
|
|
4631
|
-
|
|
4816
|
+
Injectable26({ providedIn: "root" })
|
|
4632
4817
|
];
|
|
4633
4818
|
var _init = __decoratorStart(undefined);
|
|
4634
4819
|
|
|
4635
4820
|
class VoiceAgentSquadStatusService {
|
|
4636
4821
|
connect(path = "/api/voice-traces", options = {}) {
|
|
4637
4822
|
const store = createVoiceAgentSquadStatusStore(path, options);
|
|
4638
|
-
const errorSignal =
|
|
4639
|
-
const isLoadingSignal =
|
|
4640
|
-
const reportSignal =
|
|
4641
|
-
const updatedAtSignal =
|
|
4823
|
+
const errorSignal = signal26(null);
|
|
4824
|
+
const isLoadingSignal = signal26(false);
|
|
4825
|
+
const reportSignal = signal26(undefined);
|
|
4826
|
+
const updatedAtSignal = signal26(undefined);
|
|
4642
4827
|
const sync = () => {
|
|
4643
4828
|
const snapshot = store.getSnapshot();
|
|
4644
4829
|
errorSignal.set(snapshot.error);
|
|
@@ -4654,12 +4839,12 @@ class VoiceAgentSquadStatusService {
|
|
|
4654
4839
|
unsubscribe();
|
|
4655
4840
|
store.close();
|
|
4656
4841
|
},
|
|
4657
|
-
current:
|
|
4658
|
-
error:
|
|
4659
|
-
isLoading:
|
|
4842
|
+
current: computed25(() => reportSignal()?.current),
|
|
4843
|
+
error: computed25(() => errorSignal()),
|
|
4844
|
+
isLoading: computed25(() => isLoadingSignal()),
|
|
4660
4845
|
refresh: store.refresh,
|
|
4661
|
-
report:
|
|
4662
|
-
updatedAt:
|
|
4846
|
+
report: computed25(() => reportSignal()),
|
|
4847
|
+
updatedAt: computed25(() => updatedAtSignal())
|
|
4663
4848
|
};
|
|
4664
4849
|
}
|
|
4665
4850
|
}
|
|
@@ -4668,7 +4853,7 @@ __runInitializers(_init, 1, VoiceAgentSquadStatusService);
|
|
|
4668
4853
|
__decoratorMetadata(_init, VoiceAgentSquadStatusService);
|
|
4669
4854
|
let _VoiceAgentSquadStatusService = VoiceAgentSquadStatusService;
|
|
4670
4855
|
// src/angular/voice-turn-latency.service.ts
|
|
4671
|
-
import { computed as
|
|
4856
|
+
import { computed as computed26, Injectable as Injectable27, signal as signal27 } from "@angular/core";
|
|
4672
4857
|
|
|
4673
4858
|
// src/client/turnLatency.ts
|
|
4674
4859
|
var fetchVoiceTurnLatency = async (path = "/api/turn-latency", options = {}) => {
|
|
@@ -4775,17 +4960,17 @@ var createVoiceTurnLatencyStore = (path = "/api/turn-latency", options = {}) =>
|
|
|
4775
4960
|
|
|
4776
4961
|
// src/angular/voice-turn-latency.service.ts
|
|
4777
4962
|
var _dec = [
|
|
4778
|
-
|
|
4963
|
+
Injectable27({ providedIn: "root" })
|
|
4779
4964
|
];
|
|
4780
4965
|
var _init = __decoratorStart(undefined);
|
|
4781
4966
|
|
|
4782
4967
|
class VoiceTurnLatencyService {
|
|
4783
4968
|
connect(path = "/api/turn-latency", options = {}) {
|
|
4784
4969
|
const store = createVoiceTurnLatencyStore(path, options);
|
|
4785
|
-
const errorSignal =
|
|
4786
|
-
const isLoadingSignal =
|
|
4787
|
-
const reportSignal =
|
|
4788
|
-
const updatedAtSignal =
|
|
4970
|
+
const errorSignal = signal27(null);
|
|
4971
|
+
const isLoadingSignal = signal27(false);
|
|
4972
|
+
const reportSignal = signal27(undefined);
|
|
4973
|
+
const updatedAtSignal = signal27(undefined);
|
|
4789
4974
|
const sync = () => {
|
|
4790
4975
|
const snapshot = store.getSnapshot();
|
|
4791
4976
|
errorSignal.set(snapshot.error);
|
|
@@ -4801,12 +4986,12 @@ class VoiceTurnLatencyService {
|
|
|
4801
4986
|
unsubscribe();
|
|
4802
4987
|
store.close();
|
|
4803
4988
|
},
|
|
4804
|
-
error:
|
|
4805
|
-
isLoading:
|
|
4989
|
+
error: computed26(() => errorSignal()),
|
|
4990
|
+
isLoading: computed26(() => isLoadingSignal()),
|
|
4806
4991
|
refresh: store.refresh,
|
|
4807
|
-
report:
|
|
4992
|
+
report: computed26(() => reportSignal()),
|
|
4808
4993
|
runProof: store.runProof,
|
|
4809
|
-
updatedAt:
|
|
4994
|
+
updatedAt: computed26(() => updatedAtSignal())
|
|
4810
4995
|
};
|
|
4811
4996
|
}
|
|
4812
4997
|
}
|
|
@@ -4815,7 +5000,7 @@ __runInitializers(_init, 1, VoiceTurnLatencyService);
|
|
|
4815
5000
|
__decoratorMetadata(_init, VoiceTurnLatencyService);
|
|
4816
5001
|
let _VoiceTurnLatencyService = VoiceTurnLatencyService;
|
|
4817
5002
|
// src/angular/voice-turn-quality.service.ts
|
|
4818
|
-
import { computed as
|
|
5003
|
+
import { computed as computed27, Injectable as Injectable28, signal as signal28 } from "@angular/core";
|
|
4819
5004
|
|
|
4820
5005
|
// src/client/turnQuality.ts
|
|
4821
5006
|
var fetchVoiceTurnQuality = async (path = "/api/turn-quality", options = {}) => {
|
|
@@ -4898,17 +5083,17 @@ var createVoiceTurnQualityStore = (path = "/api/turn-quality", options = {}) =>
|
|
|
4898
5083
|
|
|
4899
5084
|
// src/angular/voice-turn-quality.service.ts
|
|
4900
5085
|
var _dec = [
|
|
4901
|
-
|
|
5086
|
+
Injectable28({ providedIn: "root" })
|
|
4902
5087
|
];
|
|
4903
5088
|
var _init = __decoratorStart(undefined);
|
|
4904
5089
|
|
|
4905
5090
|
class VoiceTurnQualityService {
|
|
4906
5091
|
connect(path = "/api/turn-quality", options = {}) {
|
|
4907
5092
|
const store = createVoiceTurnQualityStore(path, options);
|
|
4908
|
-
const errorSignal =
|
|
4909
|
-
const isLoadingSignal =
|
|
4910
|
-
const reportSignal =
|
|
4911
|
-
const updatedAtSignal =
|
|
5093
|
+
const errorSignal = signal28(null);
|
|
5094
|
+
const isLoadingSignal = signal28(false);
|
|
5095
|
+
const reportSignal = signal28(undefined);
|
|
5096
|
+
const updatedAtSignal = signal28(undefined);
|
|
4912
5097
|
const sync = () => {
|
|
4913
5098
|
const snapshot = store.getSnapshot();
|
|
4914
5099
|
errorSignal.set(snapshot.error);
|
|
@@ -4924,11 +5109,11 @@ class VoiceTurnQualityService {
|
|
|
4924
5109
|
unsubscribe();
|
|
4925
5110
|
store.close();
|
|
4926
5111
|
},
|
|
4927
|
-
error:
|
|
4928
|
-
isLoading:
|
|
5112
|
+
error: computed27(() => errorSignal()),
|
|
5113
|
+
isLoading: computed27(() => isLoadingSignal()),
|
|
4929
5114
|
refresh: store.refresh,
|
|
4930
|
-
report:
|
|
4931
|
-
updatedAt:
|
|
5115
|
+
report: computed27(() => reportSignal()),
|
|
5116
|
+
updatedAt: computed27(() => updatedAtSignal())
|
|
4932
5117
|
};
|
|
4933
5118
|
}
|
|
4934
5119
|
}
|
|
@@ -4937,7 +5122,7 @@ __runInitializers(_init, 1, VoiceTurnQualityService);
|
|
|
4937
5122
|
__decoratorMetadata(_init, VoiceTurnQualityService);
|
|
4938
5123
|
let _VoiceTurnQualityService = VoiceTurnQualityService;
|
|
4939
5124
|
// src/angular/voice-workflow-status.service.ts
|
|
4940
|
-
import { computed as
|
|
5125
|
+
import { computed as computed28, Injectable as Injectable29, signal as signal29 } from "@angular/core";
|
|
4941
5126
|
|
|
4942
5127
|
// src/client/workflowStatus.ts
|
|
4943
5128
|
var fetchVoiceWorkflowStatus = async (path = "/evals/scenarios/json", options = {}) => {
|
|
@@ -5020,17 +5205,17 @@ var createVoiceWorkflowStatusStore = (path = "/evals/scenarios/json", options =
|
|
|
5020
5205
|
|
|
5021
5206
|
// src/angular/voice-workflow-status.service.ts
|
|
5022
5207
|
var _dec = [
|
|
5023
|
-
|
|
5208
|
+
Injectable29({ providedIn: "root" })
|
|
5024
5209
|
];
|
|
5025
5210
|
var _init = __decoratorStart(undefined);
|
|
5026
5211
|
|
|
5027
5212
|
class VoiceWorkflowStatusService {
|
|
5028
5213
|
connect(path = "/evals/scenarios/json", options = {}) {
|
|
5029
5214
|
const store = createVoiceWorkflowStatusStore(path, options);
|
|
5030
|
-
const errorSignal =
|
|
5031
|
-
const isLoadingSignal =
|
|
5032
|
-
const reportSignal =
|
|
5033
|
-
const updatedAtSignal =
|
|
5215
|
+
const errorSignal = signal29(null);
|
|
5216
|
+
const isLoadingSignal = signal29(false);
|
|
5217
|
+
const reportSignal = signal29(undefined);
|
|
5218
|
+
const updatedAtSignal = signal29(undefined);
|
|
5034
5219
|
const sync = () => {
|
|
5035
5220
|
const snapshot = store.getSnapshot();
|
|
5036
5221
|
errorSignal.set(snapshot.error);
|
|
@@ -5048,11 +5233,11 @@ class VoiceWorkflowStatusService {
|
|
|
5048
5233
|
unsubscribe();
|
|
5049
5234
|
store.close();
|
|
5050
5235
|
},
|
|
5051
|
-
error:
|
|
5052
|
-
isLoading:
|
|
5236
|
+
error: computed28(() => errorSignal()),
|
|
5237
|
+
isLoading: computed28(() => isLoadingSignal()),
|
|
5053
5238
|
refresh: store.refresh,
|
|
5054
|
-
report:
|
|
5055
|
-
updatedAt:
|
|
5239
|
+
report: computed28(() => reportSignal()),
|
|
5240
|
+
updatedAt: computed28(() => updatedAtSignal())
|
|
5056
5241
|
};
|
|
5057
5242
|
}
|
|
5058
5243
|
}
|
|
@@ -5087,6 +5272,7 @@ export {
|
|
|
5087
5272
|
VoiceCostDashboardService,
|
|
5088
5273
|
VoiceControllerService,
|
|
5089
5274
|
VoiceCampaignDialerProofService,
|
|
5275
|
+
VoiceCallPlayerService,
|
|
5090
5276
|
VoiceCallDebuggerService,
|
|
5091
5277
|
VoiceAgentSquadStatusService
|
|
5092
5278
|
};
|