dc6533f957606fea9aee951399b0a58d26a690ff
[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 _0x99df=['exports','name','username','remoteUri','password','clientId','clientSecret','securityToken','type','integrationTab','serverUrl','Configurations'];(function(_0x305d3d,_0x4cd35d){var _0x3ade52=function(_0x3510e7){while(--_0x3510e7){_0x305d3d['push'](_0x305d3d['shift']());}};_0x3ade52(++_0x4cd35d);}(_0x99df,0x85));var _0xf99d=function(_0x2b7764,_0x2606f1){_0x2b7764=_0x2b7764-0x0;var _0x848dcb=_0x99df[_0x2b7764];return _0x848dcb;};'use strict';function SalesforceAccount(_0x5be1ec){this['id']=_0x5be1ec['id']||0x0;this[_0xf99d('0x0')]=_0x5be1ec['name']||'';this['username']=_0x5be1ec[_0xf99d('0x1')]||'';this['remoteUri']=_0x5be1ec[_0xf99d('0x2')]||'';this[_0xf99d('0x3')]=_0x5be1ec[_0xf99d('0x3')]||'';this[_0xf99d('0x4')]=_0x5be1ec['clientId']||'';this[_0xf99d('0x5')]=_0x5be1ec['clientSecret']||'';this[_0xf99d('0x6')]=_0x5be1ec[_0xf99d('0x6')]||'';this[_0xf99d('0x7')]=_0x5be1ec[_0xf99d('0x7')]||_0xf99d('0x8');this[_0xf99d('0x9')]=_0x5be1ec['serverUrl']||'';this[_0xf99d('0xa')]=_0x5be1ec[_0xf99d('0xa')]||{};}module[_0xf99d('0xb')]=SalesforceAccount;