6e38cbc7e330556c51268a787099699f92c1731c
[motion2.git] / server / services / ami / model / zohoAccount.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 _0x29a5=['name','description','host','zone','clientId','serverUrl','code','refreshToken','Configurations','exports'];(function(_0x279c9a,_0x2095ce){var _0x4b712b=function(_0x391c9b){while(--_0x391c9b){_0x279c9a['push'](_0x279c9a['shift']());}};_0x4b712b(++_0x2095ce);}(_0x29a5,0x19a));var _0x529a=function(_0xa8883,_0x1f107f){_0xa8883=_0xa8883-0x0;var _0x479426=_0x29a5[_0xa8883];return _0x479426;};'use strict';function ZohoAccount(_0x49b04a){this['id']=_0x49b04a['id']||0x0;this[_0x529a('0x0')]=_0x49b04a['name']||'';this[_0x529a('0x1')]=_0x49b04a[_0x529a('0x1')]||'';this[_0x529a('0x2')]=_0x49b04a[_0x529a('0x2')]||'';this[_0x529a('0x3')]=_0x49b04a[_0x529a('0x3')]||'';this[_0x529a('0x4')]=_0x49b04a['clientId']||'';this['clientSecret']=_0x49b04a['clientSecret']||'';this[_0x529a('0x5')]=_0x49b04a[_0x529a('0x5')]||'';this[_0x529a('0x6')]=_0x49b04a[_0x529a('0x6')]||'';this['refreshToken']=_0x49b04a[_0x529a('0x7')]||'';this[_0x529a('0x8')]=_0x49b04a[_0x529a('0x8')]||{};}module[_0x529a('0x9')]=ZohoAccount;