Built motion from commit (unavailable).|2.5.11
[motion2.git] / server / services / ami / rpc / integrations / zoho.js
index 14586b8..8dcc72b 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 _0xefe7=['idField','nameField','customField','../../client','getZohoAccounts','Request','GetZohoAccount','name','host','zone','clientId','clientSecret','serverUrl','code','refreshToken','ZohoConfiguration','moduleCreate','moduleSearch','description','ZohoField','Subjects','type','content','variableName','Descriptions','key','keyType','keyContent','Variable','Fields'];(function(_0x3e44bd,_0x565a00){var _0x2d32be=function(_0x3001e9){while(--_0x3001e9){_0x3e44bd['push'](_0x3e44bd['shift']());}};_0x2d32be(++_0x565a00);}(_0xefe7,0x1a7));var _0x7efe=function(_0x532b6f,_0x362086){_0x532b6f=_0x532b6f-0x0;var _0x5b9986=_0xefe7[_0x532b6f];return _0x5b9986;};'use strict';var client=require(_0x7efe('0x0'));exports[_0x7efe('0x1')]=function(){return function(_0x317fc2){return client[_0x7efe('0x2')](_0x7efe('0x3'),{'options':{'raw':![],'attributes':['id',_0x7efe('0x4'),'description',_0x7efe('0x5'),_0x7efe('0x6'),_0x7efe('0x7'),_0x7efe('0x8'),_0x7efe('0x9'),_0x7efe('0xa'),_0x7efe('0xb')],'include':[{'model':_0x7efe('0xc'),'as':'Configurations','attributes':['id','name',_0x7efe('0xd'),_0x7efe('0xe'),_0x7efe('0xf')],'include':[{'model':_0x7efe('0x10'),'as':_0x7efe('0x11'),'attributes':['id',_0x7efe('0x12'),_0x7efe('0x13'),_0x7efe('0x14')],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0x7efe('0x4')]}]},{'model':_0x7efe('0x10'),'as':_0x7efe('0x15'),'attributes':['id','type',_0x7efe('0x13'),_0x7efe('0x16'),_0x7efe('0x17'),_0x7efe('0x18'),_0x7efe('0x14')],'include':[{'model':_0x7efe('0x19'),'as':_0x7efe('0x19'),'attributes':['id',_0x7efe('0x4')]}]},{'model':_0x7efe('0x10'),'as':_0x7efe('0x1a'),'attributes':['id','type',_0x7efe('0x13'),_0x7efe('0x1b'),_0x7efe('0x1c'),_0x7efe('0x1d'),_0x7efe('0x14')],'include':[{'model':_0x7efe('0x19'),'as':'Variable','attributes':['id',_0x7efe('0x4')]}]}]}]},'log':_0x7efe('0x3')});};};
\ No newline at end of file