Built motion from commit c738b9ac.|2.6.25
[motion2.git] / server / services / ami / model / deskAccount.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xad5c=['consumerKey','consumerSecret','token','tokenSecret','type','serverUrl','Configurations','exports','name','username','remoteUri','authType'];(function(_0x346836,_0x5b7cd8){var _0x2f6fa2=function(_0x19c348){while(--_0x19c348){_0x346836['push'](_0x346836['shift']());}};_0x2f6fa2(++_0x5b7cd8);}(_0xad5c,0xb0));var _0xcad5=function(_0x411eba,_0x33c0fd){_0x411eba=_0x411eba-0x0;var _0x56353d=_0xad5c[_0x411eba];return _0x56353d;};'use strict';function DeskAccount(_0x1b2cb4){this['id']=_0x1b2cb4['id']||0x0;this['name']=_0x1b2cb4[_0xcad5('0x0')]||'';this[_0xcad5('0x1')]=_0x1b2cb4[_0xcad5('0x1')]||'';this['remoteUri']=_0x1b2cb4[_0xcad5('0x2')]||'';this[_0xcad5('0x3')]=_0x1b2cb4[_0xcad5('0x3')]||'';this['password']=_0x1b2cb4['password']||'';this[_0xcad5('0x4')]=_0x1b2cb4[_0xcad5('0x4')]||'';this[_0xcad5('0x5')]=_0x1b2cb4[_0xcad5('0x5')]||'';this[_0xcad5('0x6')]=_0x1b2cb4[_0xcad5('0x6')]||'';this['tokenSecret']=_0x1b2cb4[_0xcad5('0x7')]||'';this[_0xcad5('0x8')]=_0x1b2cb4[_0xcad5('0x8')]||'';this[_0xcad5('0x9')]=_0x1b2cb4[_0xcad5('0x9')]||'';this[_0xcad5('0xa')]=_0x1b2cb4[_0xcad5('0xa')]||{};}module[_0xcad5('0xb')]=DeskAccount;