Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / services / ami / rpc / integrations / zoho.js
index 14586b8..29536e1 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 _0xa789=['../../client','getZohoAccounts','Request','name','description','host','clientId','clientSecret','serverUrl','code','ZohoConfiguration','Configurations','moduleSearch','ZohoField','Subjects','type','variableName','Descriptions','content','key','keyType','keyContent','Variable','idField','nameField','customField','GetZohoAccount'];(function(_0x5f2744,_0x5ee56a){var _0x288f74=function(_0x3104b8){while(--_0x3104b8){_0x5f2744['push'](_0x5f2744['shift']());}};_0x288f74(++_0x5ee56a);}(_0xa789,0xd8));var _0x9a78=function(_0x4d5bba,_0xbb0bda){_0x4d5bba=_0x4d5bba-0x0;var _0x3cf73b=_0xa789[_0x4d5bba];return _0x3cf73b;};'use strict';var client=require(_0x9a78('0x0'));exports[_0x9a78('0x1')]=function(){return function(_0x521deb){return client[_0x9a78('0x2')]('GetZohoAccount',{'options':{'raw':![],'attributes':['id',_0x9a78('0x3'),_0x9a78('0x4'),_0x9a78('0x5'),'zone',_0x9a78('0x6'),_0x9a78('0x7'),_0x9a78('0x8'),_0x9a78('0x9'),'refreshToken'],'include':[{'model':_0x9a78('0xa'),'as':_0x9a78('0xb'),'attributes':['id',_0x9a78('0x3'),'moduleCreate',_0x9a78('0xc'),_0x9a78('0x4')],'include':[{'model':_0x9a78('0xd'),'as':_0x9a78('0xe'),'attributes':['id',_0x9a78('0xf'),'content',_0x9a78('0x10')],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0x9a78('0x3')]}]},{'model':_0x9a78('0xd'),'as':_0x9a78('0x11'),'attributes':['id',_0x9a78('0xf'),_0x9a78('0x12'),_0x9a78('0x13'),_0x9a78('0x14'),_0x9a78('0x15'),_0x9a78('0x10')],'include':[{'model':_0x9a78('0x16'),'as':_0x9a78('0x16'),'attributes':['id',_0x9a78('0x3')]}]},{'model':'ZohoField','as':'Fields','attributes':['id','type',_0x9a78('0x12'),_0x9a78('0x17'),_0x9a78('0x18'),_0x9a78('0x19'),_0x9a78('0x10')],'include':[{'model':_0x9a78('0x16'),'as':'Variable','attributes':['id',_0x9a78('0x3')]}]}]}]},'log':_0x9a78('0x1a')});};};
\ No newline at end of file