Built motion from commit 449495f6.|2.6.27
[motion2.git] / server / services / ami / rpc / integrations / zoho.js
index 7cf35b7..defd282 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0434=['nameField','customField','variableName','GetZohoAccount','../../client','name','description','zone','clientId','serverUrl','code','refreshToken','ZohoConfiguration','Configurations','moduleCreate','ZohoField','Subjects','type','Variable','content','key','keyType'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x0434,0x190));var _0x4043=function(_0x1793de,_0x4d7233){_0x1793de=_0x1793de-0x0;var _0x4f0309=_0x0434[_0x1793de];return _0x4f0309;};'use strict';var client=require(_0x4043('0x0'));exports['getZohoAccounts']=function(){return function(_0x4f8ec0){return client['Request']('GetZohoAccount',{'options':{'raw':![],'attributes':['id',_0x4043('0x1'),_0x4043('0x2'),'host',_0x4043('0x3'),_0x4043('0x4'),'clientSecret',_0x4043('0x5'),_0x4043('0x6'),_0x4043('0x7')],'include':[{'model':_0x4043('0x8'),'as':_0x4043('0x9'),'attributes':['id',_0x4043('0x1'),_0x4043('0xa'),'moduleSearch',_0x4043('0x2')],'include':[{'model':_0x4043('0xb'),'as':_0x4043('0xc'),'attributes':['id',_0x4043('0xd'),'content','variableName'],'include':[{'model':_0x4043('0xe'),'as':_0x4043('0xe'),'attributes':['id',_0x4043('0x1')]}]},{'model':_0x4043('0xb'),'as':'Descriptions','attributes':['id',_0x4043('0xd'),_0x4043('0xf'),_0x4043('0x10'),_0x4043('0x11'),'keyContent','variableName'],'include':[{'model':_0x4043('0xe'),'as':'Variable','attributes':['id',_0x4043('0x1')]}]},{'model':_0x4043('0xb'),'as':'Fields','attributes':['id',_0x4043('0xd'),_0x4043('0xf'),'idField',_0x4043('0x12'),_0x4043('0x13'),_0x4043('0x14')],'include':[{'model':_0x4043('0xe'),'as':'Variable','attributes':['id',_0x4043('0x1')]}]}]}]},'log':_0x4043('0x15')});};};
\ No newline at end of file
+var _0x7bba=['ZohoField','Subjects','type','variableName','Variable','content','key','keyType','keyContent','Fields','idField','nameField','customField','../../client','getZohoAccounts','Request','GetZohoAccount','description','zone','clientId','clientSecret','serverUrl','code','name','moduleSearch'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x7bba,0x139));var _0xa7bb=function(_0x14474a,_0x5be492){_0x14474a=_0x14474a-0x0;var _0x1f8b71=_0x7bba[_0x14474a];return _0x1f8b71;};'use strict';var client=require(_0xa7bb('0x0'));exports[_0xa7bb('0x1')]=function(){return function(_0x34c3cd){return client[_0xa7bb('0x2')](_0xa7bb('0x3'),{'options':{'raw':![],'attributes':['id','name',_0xa7bb('0x4'),'host',_0xa7bb('0x5'),_0xa7bb('0x6'),_0xa7bb('0x7'),_0xa7bb('0x8'),_0xa7bb('0x9'),'refreshToken'],'include':[{'model':'ZohoConfiguration','as':'Configurations','attributes':['id',_0xa7bb('0xa'),'moduleCreate',_0xa7bb('0xb'),_0xa7bb('0x4')],'include':[{'model':_0xa7bb('0xc'),'as':_0xa7bb('0xd'),'attributes':['id',_0xa7bb('0xe'),'content',_0xa7bb('0xf')],'include':[{'model':'Variable','as':_0xa7bb('0x10'),'attributes':['id','name']}]},{'model':_0xa7bb('0xc'),'as':'Descriptions','attributes':['id',_0xa7bb('0xe'),_0xa7bb('0x11'),_0xa7bb('0x12'),_0xa7bb('0x13'),_0xa7bb('0x14'),_0xa7bb('0xf')],'include':[{'model':_0xa7bb('0x10'),'as':_0xa7bb('0x10'),'attributes':['id',_0xa7bb('0xa')]}]},{'model':_0xa7bb('0xc'),'as':_0xa7bb('0x15'),'attributes':['id',_0xa7bb('0xe'),_0xa7bb('0x11'),_0xa7bb('0x16'),_0xa7bb('0x17'),_0xa7bb('0x18'),_0xa7bb('0xf')],'include':[{'model':'Variable','as':'Variable','attributes':['id','name']}]}]}]},'log':_0xa7bb('0x3')});};};
\ No newline at end of file