95aaa762b04ee1aa0fd24dfcd9c1af0948f44336
[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 _0x35ad=['description','host','zone','clientId','clientSecret','serverUrl','code','refreshToken','Configurations','exports','name'];(function(_0x106ef9,_0x59f2d3){var _0xe0ccc2=function(_0x5741ce){while(--_0x5741ce){_0x106ef9['push'](_0x106ef9['shift']());}};_0xe0ccc2(++_0x59f2d3);}(_0x35ad,0x128));var _0xd35a=function(_0x1da527,_0x2dc953){_0x1da527=_0x1da527-0x0;var _0x40fc7c=_0x35ad[_0x1da527];return _0x40fc7c;};'use strict';function ZohoAccount(_0x163200){this['id']=_0x163200['id']||0x0;this[_0xd35a('0x0')]=_0x163200['name']||'';this[_0xd35a('0x1')]=_0x163200[_0xd35a('0x1')]||'';this[_0xd35a('0x2')]=_0x163200['host']||'';this['zone']=_0x163200[_0xd35a('0x3')]||'';this[_0xd35a('0x4')]=_0x163200[_0xd35a('0x4')]||'';this[_0xd35a('0x5')]=_0x163200[_0xd35a('0x5')]||'';this[_0xd35a('0x6')]=_0x163200[_0xd35a('0x6')]||'';this[_0xd35a('0x7')]=_0x163200['code']||'';this[_0xd35a('0x8')]=_0x163200['refreshToken']||'';this[_0xd35a('0x9')]=_0x163200[_0xd35a('0x9')]||{};}module[_0xd35a('0xa')]=ZohoAccount;