7cfff402c3911def4eceeb19ba1d6eb91156340b
[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 _0xc7bf=['remoteUri','password','clientId','clientSecret','securityToken','type','integrationTab','serverUrl','Configurations','name'];(function(_0x53709f,_0x4a31b6){var _0x35b1a8=function(_0x789243){while(--_0x789243){_0x53709f['push'](_0x53709f['shift']());}};_0x35b1a8(++_0x4a31b6);}(_0xc7bf,0x149));var _0xfc7b=function(_0x32033a,_0x545fbb){_0x32033a=_0x32033a-0x0;var _0x34b89e=_0xc7bf[_0x32033a];return _0x34b89e;};'use strict';function SalesforceAccount(_0x5a75a2){this['id']=_0x5a75a2['id']||0x0;this[_0xfc7b('0x0')]=_0x5a75a2['name']||'';this['username']=_0x5a75a2['username']||'';this[_0xfc7b('0x1')]=_0x5a75a2['remoteUri']||'';this[_0xfc7b('0x2')]=_0x5a75a2['password']||'';this[_0xfc7b('0x3')]=_0x5a75a2[_0xfc7b('0x3')]||'';this[_0xfc7b('0x4')]=_0x5a75a2['clientSecret']||'';this['securityToken']=_0x5a75a2[_0xfc7b('0x5')]||'';this[_0xfc7b('0x6')]=_0x5a75a2['type']||_0xfc7b('0x7');this[_0xfc7b('0x8')]=_0x5a75a2[_0xfc7b('0x8')]||'';this[_0xfc7b('0x9')]=_0x5a75a2[_0xfc7b('0x9')]||{};}module['exports']=SalesforceAccount;