Built motion from commit e38a297d.|2.6.18
[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 _0xe178=['username','remoteUri','authType','password','consumerKey','consumerSecret','token','tokenSecret','type','serverUrl','Configurations','exports','name'];(function(_0x31a834,_0x356389){var _0xc6355a=function(_0xb0a63){while(--_0xb0a63){_0x31a834['push'](_0x31a834['shift']());}};_0xc6355a(++_0x356389);}(_0xe178,0x192));var _0x8e17=function(_0xb7bbe1,_0x46e8a9){_0xb7bbe1=_0xb7bbe1-0x0;var _0x5ac791=_0xe178[_0xb7bbe1];return _0x5ac791;};'use strict';function DeskAccount(_0x182160){this['id']=_0x182160['id']||0x0;this['name']=_0x182160[_0x8e17('0x0')]||'';this[_0x8e17('0x1')]=_0x182160['username']||'';this[_0x8e17('0x2')]=_0x182160[_0x8e17('0x2')]||'';this['authType']=_0x182160[_0x8e17('0x3')]||'';this[_0x8e17('0x4')]=_0x182160[_0x8e17('0x4')]||'';this[_0x8e17('0x5')]=_0x182160[_0x8e17('0x5')]||'';this[_0x8e17('0x6')]=_0x182160[_0x8e17('0x6')]||'';this[_0x8e17('0x7')]=_0x182160['token']||'';this[_0x8e17('0x8')]=_0x182160[_0x8e17('0x8')]||'';this[_0x8e17('0x9')]=_0x182160['type']||'';this[_0x8e17('0xa')]=_0x182160[_0x8e17('0xa')]||'';this[_0x8e17('0xb')]=_0x182160[_0x8e17('0xb')]||{};}module[_0x8e17('0xc')]=DeskAccount;