c4a54c5005d9001f33c4ff819c4094f30bf0a9b2
[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 _0xcfe1=['authType','password','consumerSecret','token','tokenSecret','type','serverUrl','name','username','remoteUri'];(function(_0xf3896e,_0x1a7207){var _0x32422e=function(_0x360694){while(--_0x360694){_0xf3896e['push'](_0xf3896e['shift']());}};_0x32422e(++_0x1a7207);}(_0xcfe1,0xb1));var _0x1cfe=function(_0x5a80e1,_0x28c735){_0x5a80e1=_0x5a80e1-0x0;var _0x30d553=_0xcfe1[_0x5a80e1];return _0x30d553;};'use strict';function DeskAccount(_0xba5c15){this['id']=_0xba5c15['id']||0x0;this[_0x1cfe('0x0')]=_0xba5c15[_0x1cfe('0x0')]||'';this[_0x1cfe('0x1')]=_0xba5c15['username']||'';this['remoteUri']=_0xba5c15[_0x1cfe('0x2')]||'';this[_0x1cfe('0x3')]=_0xba5c15['authType']||'';this[_0x1cfe('0x4')]=_0xba5c15[_0x1cfe('0x4')]||'';this['consumerKey']=_0xba5c15['consumerKey']||'';this[_0x1cfe('0x5')]=_0xba5c15['consumerSecret']||'';this[_0x1cfe('0x6')]=_0xba5c15[_0x1cfe('0x6')]||'';this[_0x1cfe('0x7')]=_0xba5c15[_0x1cfe('0x7')]||'';this[_0x1cfe('0x8')]=_0xba5c15[_0x1cfe('0x8')]||'';this['serverUrl']=_0xba5c15[_0x1cfe('0x9')]||'';this['Configurations']=_0xba5c15['Configurations']||{};}module['exports']=DeskAccount;