1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x1dfa=['getZohoAccounts','Request','GetZohoAccount','name','host','clientSecret','code','refreshToken','ZohoConfiguration','ZohoField','content','variableName','Variable','Descriptions','key','keyContent','Fields','nameField','customField','../../client'];(function(_0x2b884e,_0x2030d2){var _0x3c5640=function(_0x2ee556){while(--_0x2ee556){_0x2b884e['push'](_0x2b884e['shift']());}};_0x3c5640(++_0x2030d2);}(_0x1dfa,0x17b));var _0xa1df=function(_0x298ed3,_0x4ab5e1){_0x298ed3=_0x298ed3-0x0;var _0x5aad28=_0x1dfa[_0x298ed3];return _0x5aad28;};'use strict';var client=require(_0xa1df('0x0'));exports[_0xa1df('0x1')]=function(){return function(_0x2b6dac){return client[_0xa1df('0x2')](_0xa1df('0x3'),{'options':{'raw':![],'attributes':['id',_0xa1df('0x4'),'description',_0xa1df('0x5'),'zone','clientId',_0xa1df('0x6'),'serverUrl',_0xa1df('0x7'),_0xa1df('0x8')],'include':[{'model':_0xa1df('0x9'),'as':'Configurations','attributes':['id','name'],'include':[{'model':_0xa1df('0xa'),'as':'Subjects','attributes':['id','type',_0xa1df('0xb'),_0xa1df('0xc')],'include':[{'model':_0xa1df('0xd'),'as':_0xa1df('0xd'),'attributes':['id',_0xa1df('0x4')]}]},{'model':'ZohoField','as':_0xa1df('0xe'),'attributes':['id','type',_0xa1df('0xb'),_0xa1df('0xf'),'keyType',_0xa1df('0x10'),'variableName'],'include':[{'model':_0xa1df('0xd'),'as':_0xa1df('0xd'),'attributes':['id','name']}]},{'model':_0xa1df('0xa'),'as':_0xa1df('0x11'),'attributes':['id','type',_0xa1df('0xb'),'idField',_0xa1df('0x12'),_0xa1df('0x13'),_0xa1df('0xc')],'include':[{'model':_0xa1df('0xd'),'as':_0xa1df('0xd'),'attributes':['id',_0xa1df('0x4')]}]}]}]},'log':_0xa1df('0x3')});};};