eaec7577b80c71e1f5f787a75b0417251de077ea
[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 _0xa13d=['name','username','apiKey','remoteUri','Configurations'];(function(_0x584700,_0x3dcb52){var _0x1a9a68=function(_0x2faec8){while(--_0x2faec8){_0x584700['push'](_0x584700['shift']());}};_0x1a9a68(++_0x3dcb52);}(_0xa13d,0x154));var _0xda13=function(_0x474c5b,_0x5ebd19){_0x474c5b=_0x474c5b-0x0;var _0x59ca1e=_0xa13d[_0x474c5b];return _0x59ca1e;};'use strict';function FreshsalesAccount(_0x1b09fa){this['id']=_0x1b09fa['id']||0x0;this['name']=_0x1b09fa[_0xda13('0x0')]||'';this[_0xda13('0x1')]=_0x1b09fa['username']||'';this[_0xda13('0x2')]=_0x1b09fa['token']||'';this[_0xda13('0x3')]=_0x1b09fa[_0xda13('0x3')]||'';this['serverUrl']=_0x1b09fa['serverUrl']||'';this[_0xda13('0x4')]=_0x1b09fa[_0xda13('0x4')]||{};}module['exports']=FreshsalesAccount;