d9dad8a521f0752aad303cdb102b00cf730126d1
[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 _0x78f4=['securityToken','type','serverUrl','Configurations','exports','name','username','remoteUri','password','clientId','clientSecret'];(function(_0x1f2935,_0xa47d27){var _0x4a9d5b=function(_0x5bfed2){while(--_0x5bfed2){_0x1f2935['push'](_0x1f2935['shift']());}};_0x4a9d5b(++_0xa47d27);}(_0x78f4,0x1c8));var _0x478f=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x78f4[_0x3dd15e];return _0x231fd0;};'use strict';function SalesforceAccount(_0x3c8f0c){this['id']=_0x3c8f0c['id']||0x0;this[_0x478f('0x0')]=_0x3c8f0c[_0x478f('0x0')]||'';this[_0x478f('0x1')]=_0x3c8f0c[_0x478f('0x1')]||'';this['remoteUri']=_0x3c8f0c[_0x478f('0x2')]||'';this['password']=_0x3c8f0c[_0x478f('0x3')]||'';this[_0x478f('0x4')]=_0x3c8f0c[_0x478f('0x4')]||'';this['clientSecret']=_0x3c8f0c[_0x478f('0x5')]||'';this[_0x478f('0x6')]=_0x3c8f0c['securityToken']||'';this[_0x478f('0x7')]=_0x3c8f0c['type']||'integrationTab';this[_0x478f('0x8')]=_0x3c8f0c['serverUrl']||'';this[_0x478f('0x9')]=_0x3c8f0c[_0x478f('0x9')]||{};}module[_0x478f('0xa')]=SalesforceAccount;