934aacb906a32ce83370af215db8ce5c2924eeab
[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 _0x36d4=['consumerSecret','token','tokenSecret','type','serverUrl','Configurations','name','username','remoteUri','authType','password','consumerKey'];(function(_0x40b7ec,_0x307707){var _0x72b976=function(_0x5bfcc3){while(--_0x5bfcc3){_0x40b7ec['push'](_0x40b7ec['shift']());}};_0x72b976(++_0x307707);}(_0x36d4,0x11a));var _0x436d=function(_0x29a91c,_0x5ac2c5){_0x29a91c=_0x29a91c-0x0;var _0x2ab4ff=_0x36d4[_0x29a91c];return _0x2ab4ff;};'use strict';function DeskAccount(_0x1108bc){this['id']=_0x1108bc['id']||0x0;this['name']=_0x1108bc[_0x436d('0x0')]||'';this[_0x436d('0x1')]=_0x1108bc[_0x436d('0x1')]||'';this[_0x436d('0x2')]=_0x1108bc['remoteUri']||'';this[_0x436d('0x3')]=_0x1108bc[_0x436d('0x3')]||'';this[_0x436d('0x4')]=_0x1108bc[_0x436d('0x4')]||'';this[_0x436d('0x5')]=_0x1108bc[_0x436d('0x5')]||'';this[_0x436d('0x6')]=_0x1108bc[_0x436d('0x6')]||'';this[_0x436d('0x7')]=_0x1108bc['token']||'';this[_0x436d('0x8')]=_0x1108bc[_0x436d('0x8')]||'';this[_0x436d('0x9')]=_0x1108bc['type']||'';this[_0x436d('0xa')]=_0x1108bc[_0x436d('0xa')]||'';this[_0x436d('0xb')]=_0x1108bc[_0x436d('0xb')]||{};}module['exports']=DeskAccount;