7d020755f1c226e9ccc533283336615eac6ab752
[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 _0xd819=['token','tokenSecret','serverUrl','Configurations','exports','name','username','remoteUri','authType','password','consumerKey','consumerSecret'];(function(_0x27828f,_0x2617e2){var _0x4c8b4f=function(_0x18c0b2){while(--_0x18c0b2){_0x27828f['push'](_0x27828f['shift']());}};_0x4c8b4f(++_0x2617e2);}(_0xd819,0x131));var _0x9d81=function(_0x1e8b1e,_0x407bbd){_0x1e8b1e=_0x1e8b1e-0x0;var _0x4a0fde=_0xd819[_0x1e8b1e];return _0x4a0fde;};'use strict';function DeskAccount(_0x1bcd23){this['id']=_0x1bcd23['id']||0x0;this[_0x9d81('0x0')]=_0x1bcd23[_0x9d81('0x0')]||'';this['username']=_0x1bcd23[_0x9d81('0x1')]||'';this[_0x9d81('0x2')]=_0x1bcd23['remoteUri']||'';this[_0x9d81('0x3')]=_0x1bcd23[_0x9d81('0x3')]||'';this[_0x9d81('0x4')]=_0x1bcd23[_0x9d81('0x4')]||'';this[_0x9d81('0x5')]=_0x1bcd23[_0x9d81('0x5')]||'';this[_0x9d81('0x6')]=_0x1bcd23['consumerSecret']||'';this['token']=_0x1bcd23[_0x9d81('0x7')]||'';this[_0x9d81('0x8')]=_0x1bcd23[_0x9d81('0x8')]||'';this['type']=_0x1bcd23['type']||'';this[_0x9d81('0x9')]=_0x1bcd23['serverUrl']||'';this[_0x9d81('0xa')]=_0x1bcd23[_0x9d81('0xa')]||{};}module[_0x9d81('0xb')]=DeskAccount;