78259205bab0d421f2bd24b5b32d2b7876394ab8
[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 _0x2d08=['password','clientId','securityToken','type','serverUrl','Configurations','exports','name','username','remoteUri'];(function(_0x583800,_0xef7e91){var _0x5720fb=function(_0x261e70){while(--_0x261e70){_0x583800['push'](_0x583800['shift']());}};_0x5720fb(++_0xef7e91);}(_0x2d08,0x129));var _0x82d0=function(_0x5a9d15,_0x23d58f){_0x5a9d15=_0x5a9d15-0x0;var _0x15cb4d=_0x2d08[_0x5a9d15];return _0x15cb4d;};'use strict';function SalesforceAccount(_0x4aa931){this['id']=_0x4aa931['id']||0x0;this[_0x82d0('0x0')]=_0x4aa931[_0x82d0('0x0')]||'';this[_0x82d0('0x1')]=_0x4aa931[_0x82d0('0x1')]||'';this[_0x82d0('0x2')]=_0x4aa931['remoteUri']||'';this[_0x82d0('0x3')]=_0x4aa931[_0x82d0('0x3')]||'';this['clientId']=_0x4aa931[_0x82d0('0x4')]||'';this['clientSecret']=_0x4aa931['clientSecret']||'';this['securityToken']=_0x4aa931[_0x82d0('0x5')]||'';this[_0x82d0('0x6')]=_0x4aa931['type']||'integrationTab';this[_0x82d0('0x7')]=_0x4aa931[_0x82d0('0x7')]||'';this['Configurations']=_0x4aa931[_0x82d0('0x8')]||{};}module[_0x82d0('0x9')]=SalesforceAccount;