74c829c8501535be2ee3ad6f339c55cde561229a
[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 _0x7b27=['name','username','apiKey','remoteUri','serverUrl','Configurations'];(function(_0x5131ca,_0x5a31db){var _0x51cb56=function(_0x1e5db9){while(--_0x1e5db9){_0x5131ca['push'](_0x5131ca['shift']());}};_0x51cb56(++_0x5a31db);}(_0x7b27,0x186));var _0x77b2=function(_0x1235a6,_0x52bcac){_0x1235a6=_0x1235a6-0x0;var _0x387652=_0x7b27[_0x1235a6];return _0x387652;};'use strict';function FreshsalesAccount(_0x24c18e){this['id']=_0x24c18e['id']||0x0;this['name']=_0x24c18e[_0x77b2('0x0')]||'';this[_0x77b2('0x1')]=_0x24c18e[_0x77b2('0x1')]||'';this[_0x77b2('0x2')]=_0x24c18e['token']||'';this[_0x77b2('0x3')]=_0x24c18e[_0x77b2('0x3')]||'';this['serverUrl']=_0x24c18e[_0x77b2('0x4')]||'';this[_0x77b2('0x5')]=_0x24c18e[_0x77b2('0x5')]||{};}module['exports']=FreshsalesAccount;