c49483f0fb774224a4a765c206d0ffb3fc43a689
[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 _0xb226=['securityToken','type','serverUrl','exports','name','username','remoteUri','password','clientId','clientSecret'];(function(_0xbad8b7,_0x25d498){var _0x78bf1c=function(_0x34c837){while(--_0x34c837){_0xbad8b7['push'](_0xbad8b7['shift']());}};_0x78bf1c(++_0x25d498);}(_0xb226,0x18a));var _0x6b22=function(_0x59b606,_0x32f840){_0x59b606=_0x59b606-0x0;var _0x48f8d8=_0xb226[_0x59b606];return _0x48f8d8;};'use strict';function SalesforceAccount(_0x2dc1a0){this['id']=_0x2dc1a0['id']||0x0;this[_0x6b22('0x0')]=_0x2dc1a0[_0x6b22('0x0')]||'';this[_0x6b22('0x1')]=_0x2dc1a0[_0x6b22('0x1')]||'';this['remoteUri']=_0x2dc1a0[_0x6b22('0x2')]||'';this[_0x6b22('0x3')]=_0x2dc1a0[_0x6b22('0x3')]||'';this[_0x6b22('0x4')]=_0x2dc1a0['clientId']||'';this['clientSecret']=_0x2dc1a0[_0x6b22('0x5')]||'';this['securityToken']=_0x2dc1a0[_0x6b22('0x6')]||'';this[_0x6b22('0x7')]=_0x2dc1a0[_0x6b22('0x7')]||'integrationTab';this[_0x6b22('0x8')]=_0x2dc1a0[_0x6b22('0x8')]||'';this['Configurations']=_0x2dc1a0['Configurations']||{};}module[_0x6b22('0x9')]=SalesforceAccount;