@webex/cc-store 1.28.0-ccwidgets.61 → 1.28.0-ccwidgets.63

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.
@@ -0,0 +1,71 @@
1
+ /*!
2
+ * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
3
+ */
4
+
5
+ /*!
6
+ * Copyright (c) 2015-2024 Cisco Systems, Inc. See LICENSE file.
7
+ */
8
+
9
+ /*!
10
+ * Platform.js v1.3.6
11
+ * Copyright 2014-2020 Benjamin Tan
12
+ * Copyright 2011-2013 John-David Dalton
13
+ * Available under MIT license
14
+ */
15
+
16
+ /*!
17
+ * The buffer module from node.js, for the browser.
18
+ *
19
+ * @author Feross Aboukhadijeh <https://feross.org>
20
+ * @license MIT
21
+ */
22
+
23
+ /*!
24
+ * js-logger - http://github.com/jonnyreeves/js-logger
25
+ * Jonny Reeves, http://jonnyreeves.co.uk/
26
+ * js-logger may be freely distributed under the MIT license.
27
+ */
28
+
29
+ /*!
30
+ * urlsafe-base64
31
+ */
32
+
33
+ /*! *****************************************************************************
34
+ Copyright (c) Microsoft Corporation.
35
+
36
+ Permission to use, copy, modify, and/or distribute this software for any
37
+ purpose with or without fee is hereby granted.
38
+
39
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
40
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
41
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
42
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
43
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
44
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
45
+ PERFORMANCE OF THIS SOFTWARE.
46
+ ***************************************************************************** */
47
+
48
+ /*! https://mths.be/punycode v1.4.1 by @mathias */
49
+
50
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
51
+
52
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
53
+
54
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
55
+
56
+ /**
57
+ * @license
58
+ * Lodash <https://lodash.com/>
59
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
60
+ * Released under MIT license <https://lodash.com/license>
61
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
62
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
63
+ */
64
+
65
+ /**
66
+ * core-decorators.js
67
+ * (c) 2017 Jay Phelps and contributors
68
+ * MIT Licensed
69
+ * https://github.com/jayphelps/core-decorators.js
70
+ * @license
71
+ */
@@ -13,6 +13,7 @@ declare class Store implements IStore {
13
13
  currentTask: ITask;
14
14
  isAgentLoggedIn: boolean;
15
15
  deviceType: string;
16
+ teamId: string;
16
17
  taskList: Record<string, ITask>;
17
18
  dialNumber: string;
18
19
  currentState: string;
@@ -48,6 +48,7 @@ interface IStore {
48
48
  taskMetaData: Record<string, TaskMetaData>;
49
49
  isAgentLoggedIn: boolean;
50
50
  deviceType: string;
51
+ teamId: string;
51
52
  dialNumber: string;
52
53
  currentState: string;
53
54
  lastStateChangeTimestamp?: number;
@@ -88,6 +89,7 @@ interface IStoreWrapper extends IStore {
88
89
  setConsultAccepted(value: boolean): void;
89
90
  setConsultStartTimeStamp(timestamp: number): void;
90
91
  setAgentProfile(profile: Profile): void;
92
+ setTeamId(id: string): void;
91
93
  }
92
94
  interface IWrapupCode {
93
95
  id: string;
@@ -17,6 +17,7 @@ declare class StoreWrapper implements IStoreWrapper {
17
17
  get idleCodes(): IdleCode[];
18
18
  get agentId(): string;
19
19
  get deviceType(): string;
20
+ get teamId(): string;
20
21
  get dialNumber(): string;
21
22
  get wrapupCodes(): IWrapupCode[];
22
23
  get currentTask(): ITask;
@@ -44,6 +45,7 @@ declare class StoreWrapper implements IStoreWrapper {
44
45
  setCurrentTheme: (theme: string) => void;
45
46
  setShowMultipleLoginAlert: (value: boolean) => void;
46
47
  setDeviceType: (option: string) => void;
48
+ setTeamId: (id: string) => void;
47
49
  setDialNumber: (input: string) => void;
48
50
  setCurrentState: (state: string) => void;
49
51
  setLastStateChangeTimestamp: (timestamp: number) => void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webex/cc-store",
3
3
  "description": "Webex Contact Center Widgets: Widgets Store",
4
- "version": "1.28.0-ccwidgets.61",
4
+ "version": "1.28.0-ccwidgets.63",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
7
7
  "publishConfig": {
@@ -21,7 +21,7 @@
21
21
  "test:styles": "eslint"
22
22
  },
23
23
  "dependencies": {
24
- "@webex/plugin-cc": "3.8.0-next.48",
24
+ "@webex/plugin-cc": "3.8.0-next.53",
25
25
  "mobx": "6.13.5",
26
26
  "typescript": "5.6.3"
27
27
  },
@@ -56,12 +56,5 @@
56
56
  "webpack": "5.94.0",
57
57
  "webpack-cli": "5.1.4",
58
58
  "webpack-merge": "6.0.1"
59
- },
60
- "jest": {
61
- "testEnvironment": "jsdom",
62
- "testMatch": [
63
- "**/tests/**/*.ts",
64
- "**/tests/**/*.tsx"
65
- ]
66
59
  }
67
60
  }