0c241425ec3aca8684f9eb984035c417af76cbff
[motion2.git] / server / services / ami / model / salesforceAccount.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 _0xaa60=['integrationTab','serverUrl','Configurations','name','username','remoteUri','password','clientId','clientSecret','securityToken','type'];(function(_0x182ae8,_0x2f34a8){var _0x4ea052=function(_0x36557f){while(--_0x36557f){_0x182ae8['push'](_0x182ae8['shift']());}};_0x4ea052(++_0x2f34a8);}(_0xaa60,0xa8));var _0x0aa6=function(_0x534e5a,_0x3e98bc){_0x534e5a=_0x534e5a-0x0;var _0x1f06f1=_0xaa60[_0x534e5a];return _0x1f06f1;};'use strict';function SalesforceAccount(_0x5036a4){this['id']=_0x5036a4['id']||0x0;this['name']=_0x5036a4[_0x0aa6('0x0')]||'';this[_0x0aa6('0x1')]=_0x5036a4[_0x0aa6('0x1')]||'';this[_0x0aa6('0x2')]=_0x5036a4[_0x0aa6('0x2')]||'';this[_0x0aa6('0x3')]=_0x5036a4['password']||'';this[_0x0aa6('0x4')]=_0x5036a4['clientId']||'';this[_0x0aa6('0x5')]=_0x5036a4[_0x0aa6('0x5')]||'';this[_0x0aa6('0x6')]=_0x5036a4['securityToken']||'';this[_0x0aa6('0x7')]=_0x5036a4[_0x0aa6('0x7')]||_0x0aa6('0x8');this['serverUrl']=_0x5036a4[_0x0aa6('0x9')]||'';this[_0x0aa6('0xa')]=_0x5036a4[_0x0aa6('0xa')]||{};}module['exports']=SalesforceAccount;