854027f53639dce8c578d2425112089991d48e0a
[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 _0xda34=['integrationTab','serverUrl','Configurations','exports','name','username','remoteUri','clientId','clientSecret','type'];(function(_0x1279f2,_0x428198){var _0x372389=function(_0xe5c416){while(--_0xe5c416){_0x1279f2['push'](_0x1279f2['shift']());}};_0x372389(++_0x428198);}(_0xda34,0x14e));var _0x4da3=function(_0x275f64,_0x499f01){_0x275f64=_0x275f64-0x0;var _0x23523a=_0xda34[_0x275f64];return _0x23523a;};'use strict';function SalesforceAccount(_0x5d3900){this['id']=_0x5d3900['id']||0x0;this['name']=_0x5d3900[_0x4da3('0x0')]||'';this[_0x4da3('0x1')]=_0x5d3900['username']||'';this[_0x4da3('0x2')]=_0x5d3900[_0x4da3('0x2')]||'';this['password']=_0x5d3900['password']||'';this[_0x4da3('0x3')]=_0x5d3900[_0x4da3('0x3')]||'';this[_0x4da3('0x4')]=_0x5d3900['clientSecret']||'';this['securityToken']=_0x5d3900['securityToken']||'';this['type']=_0x5d3900[_0x4da3('0x5')]||_0x4da3('0x6');this[_0x4da3('0x7')]=_0x5d3900['serverUrl']||'';this[_0x4da3('0x8')]=_0x5d3900['Configurations']||{};}module[_0x4da3('0x9')]=SalesforceAccount;