ad30f574ec23e609ad627ea9506b806c94beb7f5
[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 _0xa3fe=['clientId','clientSecret','securityToken','type','integrationTab','serverUrl','Configurations','name','username','remoteUri','password'];(function(_0x2d1cf4,_0x2ea9ee){var _0x554a7c=function(_0x55cc39){while(--_0x55cc39){_0x2d1cf4['push'](_0x2d1cf4['shift']());}};_0x554a7c(++_0x2ea9ee);}(_0xa3fe,0xd8));var _0xea3f=function(_0x3c709f,_0xc72a5a){_0x3c709f=_0x3c709f-0x0;var _0x3df4b0=_0xa3fe[_0x3c709f];return _0x3df4b0;};'use strict';function SalesforceAccount(_0x3dd988){this['id']=_0x3dd988['id']||0x0;this['name']=_0x3dd988[_0xea3f('0x0')]||'';this[_0xea3f('0x1')]=_0x3dd988['username']||'';this[_0xea3f('0x2')]=_0x3dd988[_0xea3f('0x2')]||'';this[_0xea3f('0x3')]=_0x3dd988['password']||'';this[_0xea3f('0x4')]=_0x3dd988['clientId']||'';this[_0xea3f('0x5')]=_0x3dd988[_0xea3f('0x5')]||'';this[_0xea3f('0x6')]=_0x3dd988['securityToken']||'';this['type']=_0x3dd988[_0xea3f('0x7')]||_0xea3f('0x8');this[_0xea3f('0x9')]=_0x3dd988['serverUrl']||'';this['Configurations']=_0x3dd988[_0xea3f('0xa')]||{};}module['exports']=SalesforceAccount;