8b6d4508aa5ba716610583d43ac49a87e358663c
[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 _0x8c6c=['username','remoteUri','password','clientId','clientSecret','type','integrationTab','serverUrl','Configurations','exports','name'];(function(_0x50c8c9,_0x550bf1){var _0x24da0e=function(_0x35a56a){while(--_0x35a56a){_0x50c8c9['push'](_0x50c8c9['shift']());}};_0x24da0e(++_0x550bf1);}(_0x8c6c,0x133));var _0xc8c6=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x8c6c[_0x321bb2];return _0x9c12ed;};'use strict';function SalesforceAccount(_0x584199){this['id']=_0x584199['id']||0x0;this[_0xc8c6('0x0')]=_0x584199['name']||'';this[_0xc8c6('0x1')]=_0x584199['username']||'';this[_0xc8c6('0x2')]=_0x584199['remoteUri']||'';this['password']=_0x584199[_0xc8c6('0x3')]||'';this[_0xc8c6('0x4')]=_0x584199[_0xc8c6('0x4')]||'';this['clientSecret']=_0x584199[_0xc8c6('0x5')]||'';this['securityToken']=_0x584199['securityToken']||'';this[_0xc8c6('0x6')]=_0x584199['type']||_0xc8c6('0x7');this[_0xc8c6('0x8')]=_0x584199[_0xc8c6('0x8')]||'';this[_0xc8c6('0x9')]=_0x584199['Configurations']||{};}module[_0xc8c6('0xa')]=SalesforceAccount;