├── .gitignore
├── Screenshots
├── agent-blank.png
├── Agent-active.png
└── supervisor-gadget.png
├── smsGadget
├── 10.5
│ ├── poweredbycisco.png
│ ├── TropoGadget.css
│ ├── supTropoGadget.xml
│ ├── agentTropoGadget.xml
│ ├── supTropoGadget.js
│ └── agentTropoGadget.js
├── 10.6.1
│ ├── poweredbycisco.png
│ ├── TropoGadget.css
│ ├── supTropoGadget.xml
│ ├── agentTropoGadget.xml
│ ├── supTropoGadget.js
│ └── agentTropoGadget.js
├── 11.0.1
│ ├── poweredbycisco.png
│ ├── TropoGadget.css
│ ├── supTropoGadget.xml
│ ├── agentTropoGadget.xml
│ ├── supTropoGadget.js
│ └── agentTropoGadget.js
└── 11.5
│ ├── poweredbycisco.png
│ ├── TropoGadget.css
│ ├── supTropoGadget.xml
│ ├── agentTropoGadget.xml
│ ├── supTropoGadget.js
│ └── agentTropoGadget.js
├── tropo.js
├── callHistoryGadget
├── 10.5
│ ├── callHistoryConfig.js
│ ├── callHistoryGadget.css
│ ├── callHistoryGadget.xml
│ └── callHistoryGadget.js
├── 10.6
│ ├── callHistoryConfig.js
│ ├── callHistoryGadget.css
│ ├── callHistoryGadget.xml
│ └── callHistoryGadget.js
└── 11.x
│ ├── callHistoryConfig.js
│ ├── callHistoryGadget.css
│ ├── callHistoryGadget.xml
│ └── callHistoryGadget.js
├── README.md
└── LICENSE
/.gitignore:
--------------------------------------------------------------------------------
1 | Alpha/*
2 |
--------------------------------------------------------------------------------
/Screenshots/agent-blank.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CiscoSE/finesseGadgets/HEAD/Screenshots/agent-blank.png
--------------------------------------------------------------------------------
/Screenshots/Agent-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CiscoSE/finesseGadgets/HEAD/Screenshots/Agent-active.png
--------------------------------------------------------------------------------
/Screenshots/supervisor-gadget.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CiscoSE/finesseGadgets/HEAD/Screenshots/supervisor-gadget.png
--------------------------------------------------------------------------------
/smsGadget/10.5/poweredbycisco.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CiscoSE/finesseGadgets/HEAD/smsGadget/10.5/poweredbycisco.png
--------------------------------------------------------------------------------
/smsGadget/10.6.1/poweredbycisco.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CiscoSE/finesseGadgets/HEAD/smsGadget/10.6.1/poweredbycisco.png
--------------------------------------------------------------------------------
/smsGadget/11.0.1/poweredbycisco.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CiscoSE/finesseGadgets/HEAD/smsGadget/11.0.1/poweredbycisco.png
--------------------------------------------------------------------------------
/smsGadget/11.5/poweredbycisco.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CiscoSE/finesseGadgets/HEAD/smsGadget/11.5/poweredbycisco.png
--------------------------------------------------------------------------------
/smsGadget/10.5/TropoGadget.css:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2018 Cisco and/or its affiliates.
3 |
4 | This software is licensed to you under the terms of the Cisco Sample
5 | Code License, Version 1.0 (the "License"). You may obtain a copy of the
6 | License at
7 |
8 | https://developer.cisco.com/docs/licenses
9 |
10 | All use of the material herein must be in accordance with the terms of
11 | the License. All rights not expressly granted by the License are
12 | reserved. Unless required by applicable law or agreed to separately in
13 | writing, software distributed under the License is distributed on an "AS
14 | IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
15 | or implied.
16 | */
17 | body {
18 | background: none transparent;
19 | padding: 10px;
20 | }
21 |
--------------------------------------------------------------------------------
/smsGadget/10.6.1/TropoGadget.css:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2018 Cisco and/or its affiliates.
3 |
4 | This software is licensed to you under the terms of the Cisco Sample
5 | Code License, Version 1.0 (the "License"). You may obtain a copy of the
6 | License at
7 |
8 | https://developer.cisco.com/docs/licenses
9 |
10 | All use of the material herein must be in accordance with the terms of
11 | the License. All rights not expressly granted by the License are
12 | reserved. Unless required by applicable law or agreed to separately in
13 | writing, software distributed under the License is distributed on an "AS
14 | IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
15 | or implied.
16 | */
17 | body {
18 | background: none transparent;
19 | padding: 10px;
20 | }
21 |
--------------------------------------------------------------------------------
/smsGadget/11.0.1/TropoGadget.css:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2018 Cisco and/or its affiliates.
3 |
4 | This software is licensed to you under the terms of the Cisco Sample
5 | Code License, Version 1.0 (the "License"). You may obtain a copy of the
6 | License at
7 |
8 | https://developer.cisco.com/docs/licenses
9 |
10 | All use of the material herein must be in accordance with the terms of
11 | the License. All rights not expressly granted by the License are
12 | reserved. Unless required by applicable law or agreed to separately in
13 | writing, software distributed under the License is distributed on an "AS
14 | IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
15 | or implied.
16 | */
17 | body {
18 | background: none transparent;
19 | padding: 10px;
20 | }
21 |
--------------------------------------------------------------------------------
/smsGadget/11.5/TropoGadget.css:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2018 Cisco and/or its affiliates.
3 |
4 | This software is licensed to you under the terms of the Cisco Sample
5 | Code License, Version 1.0 (the "License"). You may obtain a copy of the
6 | License at
7 |
8 | https://developer.cisco.com/docs/licenses
9 |
10 | All use of the material herein must be in accordance with the terms of
11 | the License. All rights not expressly granted by the License are
12 | reserved. Unless required by applicable law or agreed to separately in
13 | writing, software distributed under the License is distributed on an "AS
14 | IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
15 | or implied.
16 | */
17 | body {
18 | background: none transparent;
19 | padding: 10px;
20 | }
21 |
--------------------------------------------------------------------------------
/tropo.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2018 Cisco and/or its affiliates.
3 |
4 | This software is licensed to you under the terms of the Cisco Sample
5 | Code License, Version 1.0 (the "License"). You may obtain a copy of the
6 | License at
7 |
8 | https://developer.cisco.com/docs/licenses
9 |
10 | All use of the material herein must be in accordance with the terms of
11 | the License. All rights not expressly granted by the License are
12 | reserved. Unless required by applicable law or agreed to separately in
13 | writing, software distributed under the License is distributed on an "AS
14 | IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
15 | or implied.
16 | */
17 |
18 | incoming = currentCall
19 | if (incoming === null){
20 | message(msg, {network: "SMS", to: to});
21 | }else{
22 | say("This number does not accept SMS. Please call us at (###) ###-####");
23 | }
--------------------------------------------------------------------------------
/callHistoryGadget/10.5/callHistoryConfig.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2018 Cisco and/or its affiliates.
3 |
4 | This software is licensed to you under the terms of the Cisco Sample
5 | Code License, Version 1.0 (the "License"). You may obtain a copy of the
6 | License at
7 |
8 | https://developer.cisco.com/docs/licenses
9 |
10 | All use of the material herein must be in accordance with the terms of
11 | the License. All rights not expressly granted by the License are
12 | reserved. Unless required by applicable law or agreed to separately in
13 | writing, software distributed under the License is distributed on an "AS
14 | IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
15 | or implied.
16 | */
17 |
18 | var config = {
19 | "accessCode": "9", // access Code - When set, the access code will be prepending to the callback number. For Example "9"
20 | "reasonID": {"id": '5'}, //var reasonID = { id: '5' }; // This reasonID must be created in UCCX
21 | "callDetail": "callVariable6", // Call Variable to place in the Detail field
22 | "validate": true
23 | };
--------------------------------------------------------------------------------
/callHistoryGadget/10.6/callHistoryConfig.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2018 Cisco and/or its affiliates.
3 |
4 | This software is licensed to you under the terms of the Cisco Sample
5 | Code License, Version 1.0 (the "License"). You may obtain a copy of the
6 | License at
7 |
8 | https://developer.cisco.com/docs/licenses
9 |
10 | All use of the material herein must be in accordance with the terms of
11 | the License. All rights not expressly granted by the License are
12 | reserved. Unless required by applicable law or agreed to separately in
13 | writing, software distributed under the License is distributed on an "AS
14 | IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
15 | or implied.
16 | */
17 |
18 | var config = {
19 | "accessCode": "9", // access Code - When set, the access code will be prepending to the callback number. For Example "9"
20 | "reasonID": {"id": '5'}, //var reasonID = { id: '5' }; // This reasonID must be created in UCCX
21 | "callDetail": "callVariable6", // Call Variable to place in the Detail field
22 | "validate": true
23 | };
--------------------------------------------------------------------------------
/callHistoryGadget/11.x/callHistoryConfig.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2018 Cisco and/or its affiliates.
3 |
4 | This software is licensed to you under the terms of the Cisco Sample
5 | Code License, Version 1.0 (the "License"). You may obtain a copy of the
6 | License at
7 |
8 | https://developer.cisco.com/docs/licenses
9 |
10 | All use of the material herein must be in accordance with the terms of
11 | the License. All rights not expressly granted by the License are
12 | reserved. Unless required by applicable law or agreed to separately in
13 | writing, software distributed under the License is distributed on an "AS
14 | IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
15 | or implied.
16 | */
17 |
18 | var config = {
19 | "accessCode": "9", // access Code - When set, the access code will be prepending to the callback number. For Example "9"
20 | "reasonID": {"id": '5'}, //var reasonID = { id: '5' }; // This reasonID must be created in UCCX
21 | "callDetail": "callVariable6", // Call Variable to place in the Detail field
22 | "validate": true
23 | };
--------------------------------------------------------------------------------
/callHistoryGadget/10.5/callHistoryGadget.css:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2018 Cisco and/or its affiliates.
3 |
4 | This software is licensed to you under the terms of the Cisco Sample
5 | Code License, Version 1.0 (the "License"). You may obtain a copy of the
6 | License at
7 |
8 | https://developer.cisco.com/docs/licenses
9 |
10 | All use of the material herein must be in accordance with the terms of
11 | the License. All rights not expressly granted by the License are
12 | reserved. Unless required by applicable law or agreed to separately in
13 | writing, software distributed under the License is distributed on an "AS
14 | IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
15 | or implied.
16 | */
17 |
18 | body {
19 | background: none transparent;
20 | padding: 0px;
21 | margin: 0px;
22 | font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
23 | }
24 |
25 | th {
26 | background-color: #4489B6;
27 | color: #FFF;
28 | font-size: 11pt;
29 | padding: 0px;
30 |
31 | }
32 |
33 | td {
34 | font-family: Geneva,Arial,Helvetica,sans-serif;
35 | font-size: 9pt;
36 | color: #333;
37 | padding-left: 0px;
38 | }
39 |
40 | .sort {
41 |
42 | }
43 | .sort:hover {
44 | text-decoration: none;
45 | border-bottom: 2px solid grey;
46 | }
47 |
48 | .sort.desc:after {
49 | width: 0;
50 | height: 0;
51 | border-left: 5px solid transparent;
52 | border-right: 5px solid transparent;
53 | border-top: 5px solid black;
54 | content:"";
55 | position: relative;
56 | top:13px;
57 | right:-5px;
58 | }
59 | .sort.asc:after {
60 | width: 0;
61 | height: 0;
62 | border-left: 5px solid transparent;
63 | border-right: 5px solid transparent;
64 | border-bottom: 5px solid black;
65 | content:"";
66 | position: relative;
67 | top:-10px;
68 | right:-5px;
69 | }
--------------------------------------------------------------------------------
/callHistoryGadget/10.6/callHistoryGadget.css:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2018 Cisco and/or its affiliates.
3 |
4 | This software is licensed to you under the terms of the Cisco Sample
5 | Code License, Version 1.0 (the "License"). You may obtain a copy of the
6 | License at
7 |
8 | https://developer.cisco.com/docs/licenses
9 |
10 | All use of the material herein must be in accordance with the terms of
11 | the License. All rights not expressly granted by the License are
12 | reserved. Unless required by applicable law or agreed to separately in
13 | writing, software distributed under the License is distributed on an "AS
14 | IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
15 | or implied.
16 | */
17 |
18 | body {
19 | background: none transparent;
20 | padding: 0px;
21 | margin: 0px;
22 | font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
23 | }
24 |
25 | th {
26 | background-color: #4489B6;
27 | color: #FFF;
28 | font-size: 11pt;
29 | padding: 0px;
30 |
31 | }
32 |
33 | td {
34 | font-family: Geneva,Arial,Helvetica,sans-serif;
35 | font-size: 9pt;
36 | color: #333;
37 | padding-left: 0px;
38 | }
39 |
40 | .sort {
41 |
42 | }
43 | .sort:hover {
44 | text-decoration: none;
45 | border-bottom: 2px solid grey;
46 | }
47 |
48 | .sort.desc:after {
49 | width: 0;
50 | height: 0;
51 | border-left: 5px solid transparent;
52 | border-right: 5px solid transparent;
53 | border-top: 5px solid black;
54 | content:"";
55 | position: relative;
56 | top:13px;
57 | right:-5px;
58 | }
59 | .sort.asc:after {
60 | width: 0;
61 | height: 0;
62 | border-left: 5px solid transparent;
63 | border-right: 5px solid transparent;
64 | border-bottom: 5px solid black;
65 | content:"";
66 | position: relative;
67 | top:-10px;
68 | right:-5px;
69 | }
--------------------------------------------------------------------------------
/callHistoryGadget/11.x/callHistoryGadget.css:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2018 Cisco and/or its affiliates.
3 |
4 | This software is licensed to you under the terms of the Cisco Sample
5 | Code License, Version 1.0 (the "License"). You may obtain a copy of the
6 | License at
7 |
8 | https://developer.cisco.com/docs/licenses
9 |
10 | All use of the material herein must be in accordance with the terms of
11 | the License. All rights not expressly granted by the License are
12 | reserved. Unless required by applicable law or agreed to separately in
13 | writing, software distributed under the License is distributed on an "AS
14 | IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
15 | or implied.
16 | */
17 |
18 | body {
19 | background: none transparent;
20 | padding: 0px;
21 | margin: 0px;
22 | font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
23 | }
24 |
25 | th {
26 | background-color: #4489B6;
27 | color: #FFF;
28 | font-size: 11pt;
29 | padding: 0px;
30 |
31 | }
32 |
33 | td {
34 | font-family: Geneva,Arial,Helvetica,sans-serif;
35 | font-size: 9pt;
36 | color: #333;
37 | padding-left: 0px;
38 | }
39 |
40 | .sort {
41 |
42 | }
43 | .sort:hover {
44 | text-decoration: none;
45 | border-bottom: 2px solid grey;
46 | }
47 |
48 | .sort.desc:after {
49 | width: 0;
50 | height: 0;
51 | border-left: 5px solid transparent;
52 | border-right: 5px solid transparent;
53 | border-top: 5px solid black;
54 | content:"";
55 | position: relative;
56 | top:13px;
57 | right:-5px;
58 | }
59 | .sort.asc:after {
60 | width: 0;
61 | height: 0;
62 | border-left: 5px solid transparent;
63 | border-right: 5px solid transparent;
64 | border-bottom: 5px solid black;
65 | content:"";
66 | position: relative;
67 | top:-10px;
68 | right:-5px;
69 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Call History Gadget
2 | 
3 |
4 | ### Finesse now offers a native call history gadget in 11.6.
5 | See the [Release Notes](https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cust_contact/contact_center/crs/express_11_6/release/guide/uccx_b_release-notes-for-uccx-116/uccx_b_release-notes-for-uccx-116_chapter_011.html) for complete details.
6 |
7 | 1. Tally of the agents total inbound/outbound calls and duration for the day
8 | 2. Data can be sorted by clicking on the table header
9 | 3. The Detail field can show information captured by the IVR. For Example an account number
10 | 4. The Call Back button puts the agents in a not ready state of your choosing, prepends an access code for external numbers, places the call, and then puts the agent back into a ready state when the call is complete.
11 |
12 | Installation instructions are Here
13 |
14 | # Cisco SMS Gadget - *Discontinued!*
15 | 
16 |
17 | ## 10/1/18 - Update
18 | This gadget was built with Tropo as the SMS platform. Due to a change in Tropo's service offerings, This gadget will not work as is. I am leaving it online for people that would like to adapt it to work with other SMS platforms. For further details on the Tropo changes. Please read [THIS](http://blog.tropo.com/2018/10/01/tropo-winding-down-operations/) post.
19 |
20 |
21 | SMS Gadget Installation Guide is available Here
22 |
23 | If you run into any issues/bugs, please add an issues so I can track it.
24 |
25 | Send your questions/feedback to bmcallis@cisco.com or @bmcallister
26 |
27 | Enjoy,
28 |
29 | -Brad
30 |
--------------------------------------------------------------------------------
/callHistoryGadget/10.5/callHistoryGadget.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
19 |
20 |
21 |
22 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
62 |
96 |
97 |
103 | ]]>
104 |
105 |
106 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | CISCO SAMPLE CODE LICENSE
2 | Version 1.0
3 | Copyright (c) 2017 Cisco and/or its affiliates
4 |
5 | These terms govern this Cisco example or demo source code and its
6 | associated documentation (together, the "Sample Code"). By downloading,
7 | copying, modifying, compiling, or redistributing the Sample Code, you
8 | accept and agree to be bound by the following terms and conditions (the
9 | "License"). If you are accepting the License on behalf of an entity, you
10 | represent that you have the authority to do so (either you or the entity,
11 | "you"). Sample Code is not supported by Cisco TAC and is not tested for
12 | quality or performance. This is your only license to the Sample Code and
13 | all rights not expressly granted are reserved.
14 |
15 | 1. LICENSE GRANT: Subject to the terms and conditions of this License,
16 | Cisco hereby grants to you a perpetual, worldwide, non-exclusive, non-
17 | transferable, non-sublicensable, royalty-free license to copy and
18 | modify the Sample Code in source code form, and compile and
19 | redistribute the Sample Code in binary/object code or other executable
20 | forms, in whole or in part, solely for use with Cisco products and
21 | services. For interpreted languages like Java and Python, the
22 | executable form of the software may include source code and
23 | compilation is not required.
24 |
25 | 2. CONDITIONS: You shall not use the Sample Code independent of, or to
26 | replicate or compete with, a Cisco product or service. Cisco products
27 | and services are licensed under their own separate terms and you shall
28 | not use the Sample Code in any way that violates or is inconsistent
29 | with those terms (for more information, please visit:
30 | www.cisco.com/go/terms.
31 |
32 | 3. OWNERSHIP: Cisco retains sole and exclusive ownership of the Sample
33 | Code, including all intellectual property rights therein, except with
34 | respect to any third-party material that may be used in or by the
35 | Sample Code. Any such third-party material is licensed under its own
36 | separate terms (such as an open source license) and all use must be in
37 | full accordance with the applicable license. This License does not
38 | grant you permission to use any trade names, trademarks, service
39 | marks, or product names of Cisco. If you provide any feedback to Cisco
40 | regarding the Sample Code, you agree that Cisco, its partners, and its
41 | customers shall be free to use and incorporate such feedback into the
42 | Sample Code, and Cisco products and services, for any purpose, and
43 | without restriction, payment, or additional consideration of any kind.
44 | If you initiate or participate in any litigation against Cisco, its
45 | partners, or its customers (including cross-claims and counter-claims)
46 | alleging that the Sample Code and/or its use infringe any patent,
47 | copyright, or other intellectual property right, then all rights
48 | granted to you under this License shall terminate immediately without
49 | notice.
50 |
51 | 4. LIMITATION OF LIABILITY: CISCO SHALL HAVE NO LIABILITY IN CONNECTION
52 | WITH OR RELATING TO THIS LICENSE OR USE OF THE SAMPLE CODE, FOR
53 | DAMAGES OF ANY KIND, INCLUDING BUT NOT LIMITED TO DIRECT, INCIDENTAL,
54 | AND CONSEQUENTIAL DAMAGES, OR FOR ANY LOSS OF USE, DATA, INFORMATION,
55 | PROFITS, BUSINESS, OR GOODWILL, HOWEVER CAUSED, EVEN IF ADVISED OF THE
56 | POSSIBILITY OF SUCH DAMAGES.
57 |
58 | 5. DISCLAIMER OF WARRANTY: SAMPLE CODE IS INTENDED FOR EXAMPLE PURPOSES
59 | ONLY AND IS PROVIDED BY CISCO "AS IS" WITH ALL FAULTS AND WITHOUT
60 | WARRANTY OR SUPPORT OF ANY KIND. TO THE MAXIMUM EXTENT PERMITTED BY
61 | LAW, ALL EXPRESS AND IMPLIED CONDITIONS, REPRESENTATIONS, AND
62 | WARRANTIES INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTY OR
63 | CONDITION OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-
64 | INFRINGEMENT, SATISFACTORY QUALITY, NON-INTERFERENCE, AND ACCURACY,
65 | ARE HEREBY EXCLUDED AND EXPRESSLY DISCLAIMED BY CISCO. CISCO DOES NOT
66 | WARRANT THAT THE SAMPLE CODE IS SUITABLE FOR PRODUCTION OR COMMERCIAL
67 | USE, WILL OPERATE PROPERLY, IS ACCURATE OR COMPLETE, OR IS WITHOUT
68 | ERROR OR DEFECT.
69 |
70 | 6. GENERAL: This License shall be governed by and interpreted in
71 | accordance with the laws of the State of California, excluding its
72 | conflict of laws provisions. You agree to comply with all applicable
73 | United States export laws, rules, and regulations. If any provision of
74 | this License is judged illegal, invalid, or otherwise unenforceable,
75 | that provision shall be severed and the rest of the License shall
76 | remain in full force and effect. No failure by Cisco to enforce any of
77 | its rights related to the Sample Code or to a breach of this License
78 | in a particular situation will act as a waiver of such rights. In the
79 | event of any inconsistencies with any other terms, this License shall
80 | take precedence.
--------------------------------------------------------------------------------
/smsGadget/11.5/agentTropoGadget.xml:
--------------------------------------------------------------------------------
1 |
15 |
16 |
17 |
18 |
19 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
118 |
119 |
120 |
125 | ]]>
126 |
127 |
128 |
--------------------------------------------------------------------------------
/smsGadget/11.5/supTropoGadget.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2018 Cisco and/or its affiliates.
3 |
4 | This software is licensed to you under the terms of the Cisco Sample
5 | Code License, Version 1.0 (the "License"). You may obtain a copy of the
6 | License at
7 |
8 | https://developer.cisco.com/docs/licenses
9 |
10 | All use of the material herein must be in accordance with the terms of
11 | the License. All rights not expressly granted by the License are
12 | reserved. Unless required by applicable law or agreed to separately in
13 | writing, software distributed under the License is distributed on an "AS
14 | IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
15 | or implied.
16 | */
17 |
18 | ////////////////////////////
19 | ///// API Keys Go Here /////
20 | ///////////////////////////
21 | var email = ""; // defined via firebase authentication console
22 | var password = ""; // defined via firebase authentication console
23 |
24 | // firebase config values are found in the firebase web console.
25 | var fireBaseConfig = {
26 | apiKey: "",
27 | authDomain: "",
28 | databaseURL: "",
29 | storageBucket: ""
30 | };
31 |
32 | var finesse = finesse || {};
33 | finesse.gadget = finesse.gadget || {};
34 | finesse.container = finesse.container || {};
35 | clientLogs = finesse.cslogger.ClientLogger || {}; // for logging
36 |
37 | /** @namespace */
38 | finesse.modules = finesse.modules || {};
39 | finesse.modules.TropoGadget = (function ($) {
40 | var user, interactionData,
41 |
42 | render = function () {
43 |
44 | // build list of the supervisor's teams
45 | var myTeams = user.getSupervisedTeams();
46 | var teamArray = [];
47 | $.each(myTeams, function (i, item) {
48 | teamArray.push(item.id);
49 | $('#team').append($('