@webex/cc-components 1.28.0-next.35 → 1.28.0-next.37

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.
@@ -36,6 +36,8 @@ export declare const RONA = "RONA:";
36
36
  export declare const TIME_LEFT = "Time left:";
37
37
  export declare const CAMPAIGN_ACCEPT = "Accept";
38
38
  export declare const CAMPAIGN_CONNECTING = "Connecting...";
39
+ export declare const CAMPAIGN_SKIPPING = "Skipping...";
40
+ export declare const CAMPAIGN_REMOVING = "Removing...";
39
41
  export declare const CAMPAIGN_SKIP = "Skip";
40
42
  export declare const CAMPAIGN_SKIP_TOOLTIP = "Skip this contact";
41
43
  export declare const CAMPAIGN_SKIP_DISABLED_TOOLTIP = "Can't skip this contact";
@@ -772,6 +772,11 @@ export interface GlobalVariablesPanelProps {
772
772
  * Matches the values from callProcessingDetails.campaignPreviewAutoAction.
773
773
  */
774
774
  export type CampaignAutoAction = 'ACCEPT' | 'SKIP' | 'REMOVE';
775
+ /**
776
+ * Indicates which campaign preview action is currently in progress.
777
+ * Used to display contextual status text ("Connecting...", "Skipping...", "Removing...").
778
+ */
779
+ export type CampaignPendingAction = CampaignAutoAction | null;
775
780
  /**
776
781
  * Maps a CampaignAutoAction to the corresponding CampaignErrorType
777
782
  * used when the auto-action or manual action fails.
@@ -879,6 +884,8 @@ export interface CampaignTaskPopoverProps {
879
884
  triggerId: string;
880
885
  /** Whether the Accept button has been clicked (shows "Connecting..." state). */
881
886
  isAcceptClicked: boolean;
887
+ /** Which campaign action is currently in progress, or null if none. */
888
+ pendingAction?: CampaignPendingAction;
882
889
  /** Whether the campaign preview has been accepted by the backend (call controls visible). */
883
890
  isAccepted: boolean;
884
891
  /** Whether the Accept button is disabled. */
@@ -916,6 +923,8 @@ export interface CampaignTaskListItemProps {
916
923
  timeoutTimestamp?: string;
917
924
  /** Whether the Accept button has been clicked (shows "Connecting..." state). */
918
925
  isAcceptClicked: boolean;
926
+ /** Which campaign action is currently in progress, or null if none. */
927
+ pendingAction?: CampaignPendingAction;
919
928
  /** Whether the campaign preview has been accepted by the backend (call controls visible). */
920
929
  isAccepted: boolean;
921
930
  /** Whether the Accept button is disabled. */