37ad5dce5dbce78d34172a0b3e2338cd2fb8383d
[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 _0x6108=['remoteUri','Configurations','exports','name','username'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0x6108,0xbc));var _0x8610=function(_0x57d23b,_0x277e13){_0x57d23b=_0x57d23b-0x0;var _0x1a6dfe=_0x6108[_0x57d23b];return _0x1a6dfe;};'use strict';function FreshsalesAccount(_0x55d46e){this['id']=_0x55d46e['id']||0x0;this['name']=_0x55d46e[_0x8610('0x0')]||'';this[_0x8610('0x1')]=_0x55d46e[_0x8610('0x1')]||'';this['apiKey']=_0x55d46e['token']||'';this[_0x8610('0x2')]=_0x55d46e[_0x8610('0x2')]||'';this['serverUrl']=_0x55d46e['serverUrl']||'';this[_0x8610('0x3')]=_0x55d46e[_0x8610('0x3')]||{};}module[_0x8610('0x4')]=FreshsalesAccount;