Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / services / ami / rpc / integrations / zoho.js
index 14586b8..3987665 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe283=['ZohoField','Subjects','variableName','Variable','content','key','keyType','keyContent','Fields','nameField','Request','GetZohoAccount','name','description','zone','clientSecret','serverUrl','code','refreshToken','ZohoConfiguration','moduleCreate','moduleSearch'];(function(_0x13e94e,_0x3f28b9){var _0x4a00a6=function(_0x59312b){while(--_0x59312b){_0x13e94e['push'](_0x13e94e['shift']());}};_0x4a00a6(++_0x3f28b9);}(_0xe283,0x196));var _0x3e28=function(_0xfd5f37,_0x24a79c){_0xfd5f37=_0xfd5f37-0x0;var _0x11bd01=_0xe283[_0xfd5f37];return _0x11bd01;};'use strict';var client=require('../../client');exports['getZohoAccounts']=function(){return function(_0x43900b){return client[_0x3e28('0x0')](_0x3e28('0x1'),{'options':{'raw':![],'attributes':['id',_0x3e28('0x2'),_0x3e28('0x3'),'host',_0x3e28('0x4'),'clientId',_0x3e28('0x5'),_0x3e28('0x6'),_0x3e28('0x7'),_0x3e28('0x8')],'include':[{'model':_0x3e28('0x9'),'as':'Configurations','attributes':['id',_0x3e28('0x2'),_0x3e28('0xa'),_0x3e28('0xb'),_0x3e28('0x3')],'include':[{'model':_0x3e28('0xc'),'as':_0x3e28('0xd'),'attributes':['id','type','content',_0x3e28('0xe')],'include':[{'model':'Variable','as':_0x3e28('0xf'),'attributes':['id',_0x3e28('0x2')]}]},{'model':'ZohoField','as':'Descriptions','attributes':['id','type',_0x3e28('0x10'),_0x3e28('0x11'),_0x3e28('0x12'),_0x3e28('0x13'),'variableName'],'include':[{'model':_0x3e28('0xf'),'as':_0x3e28('0xf'),'attributes':['id','name']}]},{'model':_0x3e28('0xc'),'as':_0x3e28('0x14'),'attributes':['id','type','content','idField',_0x3e28('0x15'),'customField','variableName'],'include':[{'model':_0x3e28('0xf'),'as':_0x3e28('0xf'),'attributes':['id',_0x3e28('0x2')]}]}]}]},'log':_0x3e28('0x1')});};};
\ No newline at end of file
+var _0x7e37=['nameField','customField','../../client','getZohoAccounts','description','zone','clientId','serverUrl','code','refreshToken','ZohoConfiguration','Configurations','name','moduleCreate','moduleSearch','ZohoField','type','content','variableName','Variable','Descriptions','keyContent','idField'];(function(_0x4b0162,_0x5ee404){var _0x20e12d=function(_0x16e28a){while(--_0x16e28a){_0x4b0162['push'](_0x4b0162['shift']());}};_0x20e12d(++_0x5ee404);}(_0x7e37,0x189));var _0x77e3=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x7e37[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x77e3('0x0'));exports[_0x77e3('0x1')]=function(){return function(_0x4cc8ae){return client['Request']('GetZohoAccount',{'options':{'raw':![],'attributes':['id','name',_0x77e3('0x2'),'host',_0x77e3('0x3'),_0x77e3('0x4'),'clientSecret',_0x77e3('0x5'),_0x77e3('0x6'),_0x77e3('0x7')],'include':[{'model':_0x77e3('0x8'),'as':_0x77e3('0x9'),'attributes':['id',_0x77e3('0xa'),_0x77e3('0xb'),_0x77e3('0xc'),_0x77e3('0x2')],'include':[{'model':_0x77e3('0xd'),'as':'Subjects','attributes':['id',_0x77e3('0xe'),_0x77e3('0xf'),_0x77e3('0x10')],'include':[{'model':'Variable','as':_0x77e3('0x11'),'attributes':['id',_0x77e3('0xa')]}]},{'model':_0x77e3('0xd'),'as':_0x77e3('0x12'),'attributes':['id',_0x77e3('0xe'),'content','key','keyType',_0x77e3('0x13'),'variableName'],'include':[{'model':_0x77e3('0x11'),'as':'Variable','attributes':['id',_0x77e3('0xa')]}]},{'model':_0x77e3('0xd'),'as':'Fields','attributes':['id',_0x77e3('0xe'),_0x77e3('0xf'),_0x77e3('0x14'),_0x77e3('0x15'),_0x77e3('0x16'),'variableName'],'include':[{'model':_0x77e3('0x11'),'as':_0x77e3('0x11'),'attributes':['id',_0x77e3('0xa')]}]}]}]},'log':'GetZohoAccount'});};};
\ No newline at end of file