d47f6158e9a3beea3efc48964b25e5b9666cfe5d
[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 _0xc274=['clientId','clientSecret','securityToken','type','serverUrl','Configurations','exports','name','username','remoteUri','password'];(function(_0x58b498,_0x3b410e){var _0xfb746=function(_0x150338){while(--_0x150338){_0x58b498['push'](_0x58b498['shift']());}};_0xfb746(++_0x3b410e);}(_0xc274,0x151));var _0x4c27=function(_0x4dee24,_0x41d00a){_0x4dee24=_0x4dee24-0x0;var _0x175ab3=_0xc274[_0x4dee24];return _0x175ab3;};'use strict';function SalesforceAccount(_0x4d1ac0){this['id']=_0x4d1ac0['id']||0x0;this[_0x4c27('0x0')]=_0x4d1ac0['name']||'';this['username']=_0x4d1ac0[_0x4c27('0x1')]||'';this[_0x4c27('0x2')]=_0x4d1ac0[_0x4c27('0x2')]||'';this[_0x4c27('0x3')]=_0x4d1ac0[_0x4c27('0x3')]||'';this[_0x4c27('0x4')]=_0x4d1ac0['clientId']||'';this[_0x4c27('0x5')]=_0x4d1ac0['clientSecret']||'';this[_0x4c27('0x6')]=_0x4d1ac0[_0x4c27('0x6')]||'';this[_0x4c27('0x7')]=_0x4d1ac0['type']||'integrationTab';this[_0x4c27('0x8')]=_0x4d1ac0['serverUrl']||'';this[_0x4c27('0x9')]=_0x4d1ac0[_0x4c27('0x9')]||{};}module[_0x4c27('0xa')]=SalesforceAccount;