@webex/cc-store 1.28.0-next.2 → 1.28.0-next.3

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.
@@ -46,3 +46,12 @@ export declare function isInteractionOnHold(task: ITask): boolean;
46
46
  export declare const setmTypeForEPDN: (task: ITask, mType: string) => string;
47
47
  export declare const findMediaResourceId: (task: ITask, mType: string) => string;
48
48
  export declare const findHoldStatus: (task: ITask, mType: string, agentId: string) => boolean;
49
+ /**
50
+ * Finds the hold timestamp for a specific media type (mainCall, consult, etc.)
51
+ * Used for timer alignment in Consult & Conference scenarios to match Agent Desktop behavior.
52
+ *
53
+ * @param task - The task object containing interaction data
54
+ * @param mType - The media type to search for ('mainCall', 'consult', 'conference')
55
+ * @returns The hold timestamp in milliseconds or null if not on hold
56
+ */
57
+ export declare const findHoldTimestamp: (task: ITask, mType: string) => number | null;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@webex/cc-store",
3
3
  "description": "Webex Contact Center Widgets: Widgets Store",
4
4
  "license": "Cisco's General Terms (https://www.cisco.com/site/us/en/about/legal/contract-experience/index.html)",
5
- "version": "1.28.0-next.2",
5
+ "version": "1.28.0-next.3",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/types/index.d.ts",
8
8
  "publishConfig": {