@absolutejs/voice 0.0.22-beta.538 → 0.0.22-beta.539

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.
Files changed (45) hide show
  1. package/dist/angular/index.js +118 -0
  2. package/dist/client/callDebugger.d.ts +2 -0
  3. package/dist/client/campaignDialerProof.d.ts +2 -0
  4. package/dist/client/deliveryRuntime.d.ts +2 -0
  5. package/dist/client/index.d.ts +2 -0
  6. package/dist/client/index.js +258 -36
  7. package/dist/client/opsActionCenter.d.ts +2 -0
  8. package/dist/client/opsActionHistory.d.ts +2 -0
  9. package/dist/client/opsStatus.d.ts +2 -0
  10. package/dist/client/platformCoverage.d.ts +2 -0
  11. package/dist/client/profileComparison.d.ts +2 -0
  12. package/dist/client/profileSwitchRecommendation.d.ts +2 -0
  13. package/dist/client/proofTrends.d.ts +2 -0
  14. package/dist/client/providerCapabilities.d.ts +2 -0
  15. package/dist/client/providerContracts.d.ts +2 -0
  16. package/dist/client/providerStatus.d.ts +2 -0
  17. package/dist/client/reactiveSource.d.ts +8 -0
  18. package/dist/client/readinessFailures.d.ts +2 -0
  19. package/dist/client/reconnectProfileEvidence.d.ts +2 -0
  20. package/dist/client/routingStatus.d.ts +2 -0
  21. package/dist/client/sessionObservability.d.ts +2 -0
  22. package/dist/client/sessionSnapshot.d.ts +2 -0
  23. package/dist/client/traceTimeline.d.ts +2 -0
  24. package/dist/client/turnLatency.d.ts +2 -0
  25. package/dist/client/turnQuality.d.ts +2 -0
  26. package/dist/client/workflowStatus.d.ts +2 -0
  27. package/dist/react/index.js +252 -36
  28. package/dist/svelte/index.js +202 -24
  29. package/dist/vue/VoiceCallDebuggerLaunch.d.ts +4 -0
  30. package/dist/vue/VoiceDeliveryRuntime.d.ts +4 -0
  31. package/dist/vue/VoiceOpsStatus.d.ts +4 -0
  32. package/dist/vue/VoicePlatformCoverage.d.ts +4 -0
  33. package/dist/vue/VoiceProofTrends.d.ts +4 -0
  34. package/dist/vue/VoiceProviderCapabilities.d.ts +4 -0
  35. package/dist/vue/VoiceProviderContracts.d.ts +4 -0
  36. package/dist/vue/VoiceProviderStatus.d.ts +4 -0
  37. package/dist/vue/VoiceReadinessFailures.d.ts +4 -0
  38. package/dist/vue/VoiceReconnectProfileEvidence.d.ts +4 -0
  39. package/dist/vue/VoiceRoutingStatus.d.ts +4 -0
  40. package/dist/vue/VoiceSessionObservability.d.ts +4 -0
  41. package/dist/vue/VoiceSessionSnapshot.d.ts +4 -0
  42. package/dist/vue/VoiceTurnLatency.d.ts +4 -0
  43. package/dist/vue/VoiceTurnQuality.d.ts +4 -0
  44. package/dist/vue/index.js +261 -30
  45. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ import { type VoiceReactiveSource } from "./reactiveSource";
1
2
  export type VoiceOpsActionMethod = "GET" | "POST";
2
3
  export type VoiceOpsActionDescriptor = {
3
4
  description?: string;
@@ -13,6 +14,7 @@ export type VoiceOpsActionCenterClientOptions = {
13
14
  fetch?: typeof fetch;
14
15
  intervalMs?: number;
15
16
  onActionResult?: (result: VoiceOpsActionRunResult) => Promise<void> | void;
17
+ reactiveSource?: VoiceReactiveSource;
16
18
  };
17
19
  export type VoiceOpsActionRunResult = {
18
20
  actionId: string;
@@ -1,7 +1,9 @@
1
1
  import type { VoiceOpsActionHistoryReport } from "../core/opsActionAuditRoutes";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoiceOpsActionHistoryClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
6
+ reactiveSource?: VoiceReactiveSource;
5
7
  };
6
8
  export type VoiceOpsActionHistorySnapshot = {
7
9
  error: string | null;
@@ -1,7 +1,9 @@
1
1
  import type { VoiceOpsStatusReport } from "../core/opsStatus";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoiceOpsStatusClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
6
+ reactiveSource?: VoiceReactiveSource;
5
7
  };
6
8
  export type VoiceOpsStatusSnapshot = {
7
9
  error: string | null;
@@ -1,7 +1,9 @@
1
1
  import type { VoicePlatformCoverageSummary } from "../core/platformCoverage";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoicePlatformCoverageClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
6
+ reactiveSource?: VoiceReactiveSource;
5
7
  };
6
8
  export type VoicePlatformCoverageSnapshot = {
7
9
  error: string | null;
@@ -1,7 +1,9 @@
1
1
  import type { VoiceRealCallProfileHistoryReport } from "../core/proofTrends";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoiceProfileComparisonClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
6
+ reactiveSource?: VoiceReactiveSource;
5
7
  };
6
8
  export type VoiceProfileComparisonSnapshot = {
7
9
  error: string | null;
@@ -1,7 +1,9 @@
1
1
  import type { VoiceProfileSwitchRecommendation } from "../core/profileSwitchRecommendation";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoiceProfileSwitchRecommendationClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
6
+ reactiveSource?: VoiceReactiveSource;
5
7
  };
6
8
  export type VoiceProfileSwitchRecommendationSnapshot = {
7
9
  error: string | null;
@@ -1,7 +1,9 @@
1
1
  import type { VoiceProofTrendReport } from "../core/proofTrends";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoiceProofTrendsClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
6
+ reactiveSource?: VoiceReactiveSource;
5
7
  };
6
8
  export type VoiceProofTrendsSnapshot = {
7
9
  error: string | null;
@@ -1,7 +1,9 @@
1
1
  import type { VoiceProviderCapabilityReport } from "../core/providerCapabilities";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoiceProviderCapabilitiesClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
6
+ reactiveSource?: VoiceReactiveSource;
5
7
  };
6
8
  export type VoiceProviderCapabilitiesSnapshot<TProvider extends string = string> = {
7
9
  error: string | null;
@@ -1,7 +1,9 @@
1
1
  import type { VoiceProviderContractMatrixReport } from "../core/providerStackRecommendations";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoiceProviderContractsClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
6
+ reactiveSource?: VoiceReactiveSource;
5
7
  };
6
8
  export type VoiceProviderContractsSnapshot<TProvider extends string = string> = {
7
9
  error: string | null;
@@ -1,7 +1,9 @@
1
1
  import type { VoiceProviderHealthSummary } from "../core/providerHealth";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoiceProviderStatusClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
6
+ reactiveSource?: VoiceReactiveSource;
5
7
  };
6
8
  export type VoiceProviderStatusSnapshot<TProvider extends string = string> = {
7
9
  error: string | null;
@@ -0,0 +1,8 @@
1
+ export type VoiceReactiveSource = (refresh: () => void) => (() => void) | void;
2
+ export declare const bindVoiceReactiveSource: (refresh: () => void, source?: VoiceReactiveSource) => (() => void);
3
+ export type VoiceSseReactiveSourceOptions = {
4
+ path?: string;
5
+ withCredentials?: boolean;
6
+ eventSourceImpl?: typeof EventSource;
7
+ };
8
+ export declare const voiceSseReactiveSource: (topic: string, options?: VoiceSseReactiveSourceOptions) => VoiceReactiveSource;
@@ -1,7 +1,9 @@
1
1
  import type { VoiceProductionReadinessReport } from "../core/productionReadiness";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoiceReadinessFailuresClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
6
+ reactiveSource?: VoiceReactiveSource;
5
7
  };
6
8
  export type VoiceReadinessFailuresSnapshot = {
7
9
  error: string | null;
@@ -1,7 +1,9 @@
1
1
  import type { VoiceReconnectProfileEvidenceSummary } from "../core/proofTrends";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoiceReconnectProfileEvidenceClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
6
+ reactiveSource?: VoiceReactiveSource;
5
7
  };
6
8
  export type VoiceReconnectProfileEvidenceSnapshot = {
7
9
  error: string | null;
@@ -1,7 +1,9 @@
1
1
  import type { VoiceRoutingDecisionSummary } from "../core/resilienceRoutes";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoiceRoutingStatusClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
6
+ reactiveSource?: VoiceReactiveSource;
5
7
  };
6
8
  export type VoiceRoutingStatusSnapshot = {
7
9
  decision: VoiceRoutingDecisionSummary | null;
@@ -1,7 +1,9 @@
1
1
  import type { VoiceSessionObservabilityReport } from "../core/sessionObservability";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoiceSessionObservabilityClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
6
+ reactiveSource?: VoiceReactiveSource;
5
7
  };
6
8
  export type VoiceSessionObservabilitySnapshot = {
7
9
  error: string | null;
@@ -1,7 +1,9 @@
1
1
  import type { VoiceSessionSnapshot } from "../core/sessionSnapshot";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoiceSessionSnapshotClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
6
+ reactiveSource?: VoiceReactiveSource;
5
7
  turnId?: string;
6
8
  };
7
9
  export type VoiceSessionSnapshotClientState = {
@@ -1,7 +1,9 @@
1
1
  import type { VoiceTraceTimelineReport } from "../core/traceTimeline";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoiceTraceTimelineClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
6
+ reactiveSource?: VoiceReactiveSource;
5
7
  };
6
8
  export type VoiceTraceTimelineSnapshot = {
7
9
  error: string | null;
@@ -1,8 +1,10 @@
1
1
  import type { VoiceTurnLatencyReport } from "../core/turnLatency";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoiceTurnLatencyClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
5
6
  proofPath?: string;
7
+ reactiveSource?: VoiceReactiveSource;
6
8
  };
7
9
  export type VoiceTurnLatencySnapshot = {
8
10
  error: string | null;
@@ -1,7 +1,9 @@
1
1
  import type { VoiceTurnQualityReport } from "../core/turnQuality";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoiceTurnQualityClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
6
+ reactiveSource?: VoiceReactiveSource;
5
7
  };
6
8
  export type VoiceTurnQualitySnapshot = {
7
9
  error: string | null;
@@ -1,7 +1,9 @@
1
1
  import type { VoiceScenarioEvalReport } from "../core/evalRoutes";
2
+ import { type VoiceReactiveSource } from "./reactiveSource";
2
3
  export type VoiceWorkflowStatusClientOptions = {
3
4
  fetch?: typeof fetch;
4
5
  intervalMs?: number;
6
+ reactiveSource?: VoiceReactiveSource;
5
7
  };
6
8
  export type VoiceWorkflowStatusSnapshot = {
7
9
  error: string | null;