eddfebe628e27221c17c6444569ae5cc9fa52393
[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 _0xc627=['clientId','clientSecret','type','serverUrl','Configurations','name','remoteUri','password'];(function(_0x54500e,_0x2546c6){var _0x56482d=function(_0x4b4991){while(--_0x4b4991){_0x54500e['push'](_0x54500e['shift']());}};_0x56482d(++_0x2546c6);}(_0xc627,0x1bd));var _0x7c62=function(_0x51134f,_0x5b257d){_0x51134f=_0x51134f-0x0;var _0x43bcd6=_0xc627[_0x51134f];return _0x43bcd6;};'use strict';function SalesforceAccount(_0x1400fd){this['id']=_0x1400fd['id']||0x0;this[_0x7c62('0x0')]=_0x1400fd[_0x7c62('0x0')]||'';this['username']=_0x1400fd['username']||'';this[_0x7c62('0x1')]=_0x1400fd[_0x7c62('0x1')]||'';this[_0x7c62('0x2')]=_0x1400fd['password']||'';this[_0x7c62('0x3')]=_0x1400fd[_0x7c62('0x3')]||'';this[_0x7c62('0x4')]=_0x1400fd[_0x7c62('0x4')]||'';this['securityToken']=_0x1400fd['securityToken']||'';this['type']=_0x1400fd[_0x7c62('0x5')]||'integrationTab';this['serverUrl']=_0x1400fd[_0x7c62('0x6')]||'';this[_0x7c62('0x7')]=_0x1400fd['Configurations']||{};}module['exports']=SalesforceAccount;