fab7434f5d3544130905e6e549bd73f06d524c65
[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 _0x4cdc=['clientSecret','securityToken','type','integrationTab','serverUrl','Configurations','name','username','remoteUri','password','clientId'];(function(_0x1053ce,_0x19467d){var _0x1e381d=function(_0x549d59){while(--_0x549d59){_0x1053ce['push'](_0x1053ce['shift']());}};_0x1e381d(++_0x19467d);}(_0x4cdc,0x13a));var _0xc4cd=function(_0x26a5b0,_0x467fab){_0x26a5b0=_0x26a5b0-0x0;var _0x34e9e9=_0x4cdc[_0x26a5b0];return _0x34e9e9;};'use strict';function SalesforceAccount(_0xe1aa59){this['id']=_0xe1aa59['id']||0x0;this[_0xc4cd('0x0')]=_0xe1aa59['name']||'';this['username']=_0xe1aa59[_0xc4cd('0x1')]||'';this[_0xc4cd('0x2')]=_0xe1aa59['remoteUri']||'';this[_0xc4cd('0x3')]=_0xe1aa59[_0xc4cd('0x3')]||'';this[_0xc4cd('0x4')]=_0xe1aa59[_0xc4cd('0x4')]||'';this[_0xc4cd('0x5')]=_0xe1aa59[_0xc4cd('0x5')]||'';this[_0xc4cd('0x6')]=_0xe1aa59[_0xc4cd('0x6')]||'';this[_0xc4cd('0x7')]=_0xe1aa59['type']||_0xc4cd('0x8');this[_0xc4cd('0x9')]=_0xe1aa59['serverUrl']||'';this[_0xc4cd('0xa')]=_0xe1aa59[_0xc4cd('0xa')]||{};}module['exports']=SalesforceAccount;