4638546b1e256448ea1693531541b184924c9275
[motion2.git] / server / services / ami / model / freshsalesAccount.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 _0xe0ae=['username','apiKey','remoteUri','serverUrl','exports','name'];(function(_0x168fd1,_0x4f2489){var _0x262412=function(_0x6ee57c){while(--_0x6ee57c){_0x168fd1['push'](_0x168fd1['shift']());}};_0x262412(++_0x4f2489);}(_0xe0ae,0xa1));var _0xee0a=function(_0x43a6cd,_0x503d1a){_0x43a6cd=_0x43a6cd-0x0;var _0x5acb36=_0xe0ae[_0x43a6cd];return _0x5acb36;};'use strict';function FreshsalesAccount(_0x2a3755){this['id']=_0x2a3755['id']||0x0;this['name']=_0x2a3755[_0xee0a('0x0')]||'';this[_0xee0a('0x1')]=_0x2a3755['username']||'';this[_0xee0a('0x2')]=_0x2a3755['token']||'';this[_0xee0a('0x3')]=_0x2a3755[_0xee0a('0x3')]||'';this['serverUrl']=_0x2a3755[_0xee0a('0x4')]||'';this['Configurations']=_0x2a3755['Configurations']||{};}module[_0xee0a('0x5')]=FreshsalesAccount;