be490772bb876e9598b74b38af4d0aed8bd5c68e
[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 _0x4e52=['clientId','clientSecret','securityToken','type','integrationTab','serverUrl','Configurations','exports','name','username','remoteUri','password'];(function(_0x5ec65a,_0x2d3d58){var _0x54aa32=function(_0x2018ba){while(--_0x2018ba){_0x5ec65a['push'](_0x5ec65a['shift']());}};_0x54aa32(++_0x2d3d58);}(_0x4e52,0x1b8));var _0x24e5=function(_0x1fca54,_0x40a8e3){_0x1fca54=_0x1fca54-0x0;var _0x453ac5=_0x4e52[_0x1fca54];return _0x453ac5;};'use strict';function SalesforceAccount(_0x3794df){this['id']=_0x3794df['id']||0x0;this[_0x24e5('0x0')]=_0x3794df['name']||'';this[_0x24e5('0x1')]=_0x3794df[_0x24e5('0x1')]||'';this[_0x24e5('0x2')]=_0x3794df[_0x24e5('0x2')]||'';this[_0x24e5('0x3')]=_0x3794df[_0x24e5('0x3')]||'';this['clientId']=_0x3794df[_0x24e5('0x4')]||'';this[_0x24e5('0x5')]=_0x3794df[_0x24e5('0x5')]||'';this[_0x24e5('0x6')]=_0x3794df['securityToken']||'';this['type']=_0x3794df[_0x24e5('0x7')]||_0x24e5('0x8');this[_0x24e5('0x9')]=_0x3794df['serverUrl']||'';this[_0x24e5('0xa')]=_0x3794df[_0x24e5('0xa')]||{};}module[_0x24e5('0xb')]=SalesforceAccount;