41bc7121ef4946ff8ee69076379d02455113e5b7
[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 _0x9555=['clientSecret','code','refreshToken','Configurations','exports','name','description','host','zone','clientId'];(function(_0x4048e8,_0xad9040){var _0x1c843d=function(_0x23480f){while(--_0x23480f){_0x4048e8['push'](_0x4048e8['shift']());}};_0x1c843d(++_0xad9040);}(_0x9555,0xe1));var _0x5955=function(_0x2d47a3,_0x483bb3){_0x2d47a3=_0x2d47a3-0x0;var _0x50a7f6=_0x9555[_0x2d47a3];return _0x50a7f6;};'use strict';function ZohoAccount(_0x5d4a8d){this['id']=_0x5d4a8d['id']||0x0;this[_0x5955('0x0')]=_0x5d4a8d['name']||'';this[_0x5955('0x1')]=_0x5d4a8d['description']||'';this['host']=_0x5d4a8d[_0x5955('0x2')]||'';this[_0x5955('0x3')]=_0x5d4a8d['zone']||'';this[_0x5955('0x4')]=_0x5d4a8d[_0x5955('0x4')]||'';this[_0x5955('0x5')]=_0x5d4a8d['clientSecret']||'';this['serverUrl']=_0x5d4a8d['serverUrl']||'';this[_0x5955('0x6')]=_0x5d4a8d['code']||'';this[_0x5955('0x7')]=_0x5d4a8d[_0x5955('0x7')]||'';this[_0x5955('0x8')]=_0x5d4a8d[_0x5955('0x8')]||{};}module[_0x5955('0x9')]=ZohoAccount;