@absolutejs/voice 0.0.22-beta.152 → 0.0.22-beta.154

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.
@@ -1,8 +1,13 @@
1
1
  import { type VoiceDeliveryRuntimeClientOptions } from '../client/deliveryRuntime';
2
2
  export declare const useVoiceDeliveryRuntime: (path?: string, options?: VoiceDeliveryRuntimeClientOptions) => {
3
+ requeueDeadLetters: () => Promise<import("../client").VoiceDeliveryRuntimeActionResult | undefined>;
3
4
  refresh: () => Promise<import("..").VoiceDeliveryRuntimeReport | undefined>;
5
+ tick: () => Promise<import("../client").VoiceDeliveryRuntimeActionResult | undefined>;
6
+ actionError: string | null;
7
+ actionStatus: "idle" | "running" | "completed" | "failed";
4
8
  error: string | null;
5
9
  isLoading: boolean;
10
+ lastAction?: import("../client").VoiceDeliveryRuntimeActionResult;
6
11
  report?: import("..").VoiceDeliveryRuntimeReport;
7
12
  updatedAt?: number;
8
13
  };
@@ -0,0 +1,11 @@
1
+ import { type VoiceOpsActionCenterClientOptions } from '../client/opsActionCenter';
2
+ export declare const useVoiceOpsActionCenter: (options?: VoiceOpsActionCenterClientOptions) => {
3
+ run: (actionId: string) => Promise<import("../client").VoiceOpsActionRunResult | undefined>;
4
+ setActions: (actions: import("../client").VoiceOpsActionDescriptor[]) => void;
5
+ actions: import("../client").VoiceOpsActionDescriptor[];
6
+ error: string | null;
7
+ isRunning: boolean;
8
+ lastResult?: import("../client").VoiceOpsActionRunResult;
9
+ runningActionId?: string;
10
+ updatedAt?: number;
11
+ };
@@ -4,6 +4,8 @@ export declare const createVoiceDeliveryRuntime: (path?: string, options?: Voice
4
4
  getHTML: () => string;
5
5
  getSnapshot: () => import("../client").VoiceDeliveryRuntimeSnapshot;
6
6
  getViewModel: () => import("../client").VoiceDeliveryRuntimeViewModel;
7
+ requeueDeadLetters: () => Promise<import("../client").VoiceDeliveryRuntimeActionResult | undefined>;
7
8
  refresh: () => Promise<import("..").VoiceDeliveryRuntimeReport | undefined>;
8
9
  subscribe: (listener: () => void) => () => void;
10
+ tick: () => Promise<import("../client").VoiceDeliveryRuntimeActionResult | undefined>;
9
11
  };
@@ -0,0 +1,10 @@
1
+ import { type VoiceOpsActionCenterWidgetOptions } from '../client/opsActionCenterWidget';
2
+ export declare const createVoiceOpsActionCenter: (options?: VoiceOpsActionCenterWidgetOptions) => {
3
+ close: () => void;
4
+ getHTML: () => string;
5
+ getSnapshot: () => import("../client").VoiceOpsActionCenterSnapshot;
6
+ getViewModel: () => import("../client").VoiceOpsActionCenterViewModel;
7
+ run: (actionId: string) => Promise<import("../client").VoiceOpsActionRunResult | undefined>;
8
+ setActions: (actions: import("../client").VoiceOpsActionDescriptor[]) => void;
9
+ subscribe: (listener: () => void) => () => void;
10
+ };
@@ -1,5 +1,6 @@
1
1
  export { createVoiceCampaignDialerProof } from './createVoiceCampaignDialerProof';
2
2
  export { createVoiceDeliveryRuntime } from './createVoiceDeliveryRuntime';
3
+ export { createVoiceOpsActionCenter } from './createVoiceOpsActionCenter';
3
4
  export { createVoiceOpsStatus } from './createVoiceOpsStatus';
4
5
  export { createVoiceProviderSimulationControls } from './createVoiceProviderSimulationControls';
5
6
  export { createVoiceProviderCapabilities } from './createVoiceProviderCapabilities';