57bc066cc44dfad211aa43f23e67c5c690a36e63
[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 _0x04ea=['exports','username','remoteUri','authType','password','consumerKey','consumerSecret','token','tokenSecret','type','serverUrl','Configurations'];(function(_0x36dfbd,_0x5bfe2d){var _0x4ecad9=function(_0x5230da){while(--_0x5230da){_0x36dfbd['push'](_0x36dfbd['shift']());}};_0x4ecad9(++_0x5bfe2d);}(_0x04ea,0x1bd));var _0xa04e=function(_0xbca80b,_0x5cd39f){_0xbca80b=_0xbca80b-0x0;var _0x484524=_0x04ea[_0xbca80b];return _0x484524;};'use strict';function DeskAccount(_0x5ebd21){this['id']=_0x5ebd21['id']||0x0;this['name']=_0x5ebd21['name']||'';this[_0xa04e('0x0')]=_0x5ebd21['username']||'';this[_0xa04e('0x1')]=_0x5ebd21['remoteUri']||'';this[_0xa04e('0x2')]=_0x5ebd21[_0xa04e('0x2')]||'';this[_0xa04e('0x3')]=_0x5ebd21[_0xa04e('0x3')]||'';this['consumerKey']=_0x5ebd21[_0xa04e('0x4')]||'';this[_0xa04e('0x5')]=_0x5ebd21[_0xa04e('0x5')]||'';this[_0xa04e('0x6')]=_0x5ebd21[_0xa04e('0x6')]||'';this['tokenSecret']=_0x5ebd21[_0xa04e('0x7')]||'';this[_0xa04e('0x8')]=_0x5ebd21[_0xa04e('0x8')]||'';this[_0xa04e('0x9')]=_0x5ebd21[_0xa04e('0x9')]||'';this[_0xa04e('0xa')]=_0x5ebd21['Configurations']||{};}module[_0xa04e('0xb')]=DeskAccount;