5ce06f9e922a792757f27a521a087f55ea8ad9ee
[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 _0x31bd=['name','username','remoteUri','password','clientId','clientSecret','securityToken','integrationTab','serverUrl','Configurations','exports'];(function(_0xb8cfbe,_0x2e81b6){var _0x227d51=function(_0x5cb1ff){while(--_0x5cb1ff){_0xb8cfbe['push'](_0xb8cfbe['shift']());}};_0x227d51(++_0x2e81b6);}(_0x31bd,0xbb));var _0xd31b=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x31bd[_0x14add3];return _0x4a174f;};'use strict';function SalesforceAccount(_0x1c655d){this['id']=_0x1c655d['id']||0x0;this[_0xd31b('0x0')]=_0x1c655d[_0xd31b('0x0')]||'';this[_0xd31b('0x1')]=_0x1c655d['username']||'';this[_0xd31b('0x2')]=_0x1c655d['remoteUri']||'';this[_0xd31b('0x3')]=_0x1c655d[_0xd31b('0x3')]||'';this[_0xd31b('0x4')]=_0x1c655d[_0xd31b('0x4')]||'';this[_0xd31b('0x5')]=_0x1c655d['clientSecret']||'';this[_0xd31b('0x6')]=_0x1c655d[_0xd31b('0x6')]||'';this['type']=_0x1c655d['type']||_0xd31b('0x7');this[_0xd31b('0x8')]=_0x1c655d[_0xd31b('0x8')]||'';this[_0xd31b('0x9')]=_0x1c655d[_0xd31b('0x9')]||{};}module[_0xd31b('0xa')]=SalesforceAccount;