e0d5abde4fa7d5e9299278e585a65937354386b5
[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 _0xffc7=['name','username','remoteUri','authType','password','consumerKey','consumerSecret','token','tokenSecret','type','serverUrl','Configurations','exports'];(function(_0x41ba7c,_0x21b2bb){var _0xb1bf6a=function(_0x879cc7){while(--_0x879cc7){_0x41ba7c['push'](_0x41ba7c['shift']());}};_0xb1bf6a(++_0x21b2bb);}(_0xffc7,0x1e1));var _0x7ffc=function(_0x58c55e,_0x1dd270){_0x58c55e=_0x58c55e-0x0;var _0xfa7df3=_0xffc7[_0x58c55e];return _0xfa7df3;};'use strict';function DeskAccount(_0x358e44){this['id']=_0x358e44['id']||0x0;this[_0x7ffc('0x0')]=_0x358e44[_0x7ffc('0x0')]||'';this['username']=_0x358e44[_0x7ffc('0x1')]||'';this[_0x7ffc('0x2')]=_0x358e44[_0x7ffc('0x2')]||'';this[_0x7ffc('0x3')]=_0x358e44[_0x7ffc('0x3')]||'';this[_0x7ffc('0x4')]=_0x358e44[_0x7ffc('0x4')]||'';this[_0x7ffc('0x5')]=_0x358e44[_0x7ffc('0x5')]||'';this[_0x7ffc('0x6')]=_0x358e44['consumerSecret']||'';this['token']=_0x358e44[_0x7ffc('0x7')]||'';this[_0x7ffc('0x8')]=_0x358e44[_0x7ffc('0x8')]||'';this['type']=_0x358e44[_0x7ffc('0x9')]||'';this[_0x7ffc('0xa')]=_0x358e44['serverUrl']||'';this['Configurations']=_0x358e44[_0x7ffc('0xb')]||{};}module[_0x7ffc('0xc')]=DeskAccount;