@webex/cc-task 1.28.0-ccconnectors.3 → 1.28.0-ccconnectors.5
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/index.js +102 -2423
- package/dist/index.js.LICENSE.txt +37 -0
- package/dist/types/helper.d.ts +1 -4
- package/dist/types/task.types.d.ts +7 -7
- package/package.json +4 -4
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-is.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @license React
|
|
13
|
+
* react-jsx-runtime.production.min.js
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the MIT license found in the
|
|
18
|
+
* LICENSE file in the root directory of this source tree.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @license React
|
|
23
|
+
* use-sync-external-store-shim.production.js
|
|
24
|
+
*
|
|
25
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
26
|
+
*
|
|
27
|
+
* This source code is licensed under the MIT license found in the
|
|
28
|
+
* LICENSE file in the root directory of this source tree.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @mui/styled-engine v6.4.2
|
|
33
|
+
*
|
|
34
|
+
* @license MIT
|
|
35
|
+
* This source code is licensed under the MIT license found in the
|
|
36
|
+
* LICENSE file in the root directory of this source tree.
|
|
37
|
+
*/
|
package/dist/types/helper.d.ts
CHANGED
|
@@ -7,9 +7,7 @@ export declare const useTaskList: (props: UseTaskListProps) => {
|
|
|
7
7
|
isBrowser: boolean;
|
|
8
8
|
};
|
|
9
9
|
export declare const useIncomingTask: (props: UseTaskProps) => {
|
|
10
|
-
incomingTask:
|
|
11
|
-
isAnswered: boolean;
|
|
12
|
-
isEnded: boolean;
|
|
10
|
+
incomingTask: ITask;
|
|
13
11
|
accept: () => void;
|
|
14
12
|
decline: () => void;
|
|
15
13
|
isBrowser: boolean;
|
|
@@ -21,5 +19,4 @@ export declare const useCallControl: (props: useCallControlProps) => {
|
|
|
21
19
|
toggleHold: (hold: boolean) => void;
|
|
22
20
|
toggleRecording: (pause: boolean) => void;
|
|
23
21
|
wrapupCall: (wrapUpReason: string, auxCodeId: string) => void;
|
|
24
|
-
wrapupRequired: boolean;
|
|
25
22
|
};
|
|
@@ -63,7 +63,7 @@ export interface TaskProps {
|
|
|
63
63
|
/**
|
|
64
64
|
* Selected login option
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
deviceType: string;
|
|
67
67
|
/**
|
|
68
68
|
* List of tasks
|
|
69
69
|
*/
|
|
@@ -73,9 +73,9 @@ export interface TaskProps {
|
|
|
73
73
|
*/
|
|
74
74
|
logger: ILogger;
|
|
75
75
|
}
|
|
76
|
-
export type UseTaskProps = Pick<TaskProps, 'cc' | 'onAccepted' | 'onDeclined' | '
|
|
77
|
-
export type UseTaskListProps = Pick<TaskProps, 'cc' | '
|
|
78
|
-
export type IncomingTaskPresentationalProps = Pick<TaskProps, 'incomingTask' | 'isBrowser' | '
|
|
76
|
+
export type UseTaskProps = Pick<TaskProps, 'cc' | 'incomingTask' | 'onAccepted' | 'onDeclined' | 'deviceType' | 'logger'>;
|
|
77
|
+
export type UseTaskListProps = Pick<TaskProps, 'cc' | 'taskList' | 'deviceType' | 'onTaskAccepted' | 'onTaskDeclined' | 'logger'>;
|
|
78
|
+
export type IncomingTaskPresentationalProps = Pick<TaskProps, 'incomingTask' | 'isBrowser' | 'accept' | 'decline'>;
|
|
79
79
|
export type IncomingTaskProps = Pick<TaskProps, 'onAccepted' | 'onDeclined'>;
|
|
80
80
|
export type TaskListProps = Pick<TaskProps, 'onTaskAccepted' | 'onTaskDeclined'>;
|
|
81
81
|
export type TaskListPresentationalProps = Pick<TaskProps, 'currentTask' | 'taskList' | 'isBrowser' | 'acceptTask' | 'declineTask'>;
|
|
@@ -108,15 +108,15 @@ export interface ControlProps {
|
|
|
108
108
|
/**
|
|
109
109
|
* Function to handle hold/resume actions.
|
|
110
110
|
*/
|
|
111
|
-
onHoldResume
|
|
111
|
+
onHoldResume?: () => void;
|
|
112
112
|
/**
|
|
113
113
|
* Function to handle ending the task.
|
|
114
114
|
*/
|
|
115
|
-
onEnd
|
|
115
|
+
onEnd?: () => void;
|
|
116
116
|
/**
|
|
117
117
|
* Function to handle wrapping up the task.
|
|
118
118
|
*/
|
|
119
|
-
onWrapUp
|
|
119
|
+
onWrapUp?: () => void;
|
|
120
120
|
/**
|
|
121
121
|
* Logger instance for logging purposes.
|
|
122
122
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webex/cc-task",
|
|
3
3
|
"description": "Webex Contact Center Widgets: Task",
|
|
4
|
-
"version": "1.28.0-ccconnectors.
|
|
4
|
+
"version": "1.28.0-ccconnectors.5",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"test:unit": "jest --coverage"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@webex/cc-store": "1.28.0-ccconnectors.
|
|
22
|
+
"@webex/cc-store": "1.28.0-ccconnectors.5",
|
|
23
23
|
"mobx-react-lite": "^4.1.0",
|
|
24
|
-
"webex": "3.7.0-wxcc.
|
|
24
|
+
"webex": "3.7.0-wxcc.12"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@babel/core": "7.25.2",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"^.+\\.(css|less|scss)$": "babel-jest"
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
|
-
"stableVersion": "1.28.0-ccconnectors.
|
|
65
|
+
"stableVersion": "1.28.0-ccconnectors.4"
|
|
66
66
|
}
|