Built motion from commit 449495f6.|2.6.27
[motion2.git] / server / services / ami / rpc / integrations / zoho.js
index 96bcc2c..defd282 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb41f=['Descriptions','content','keyContent','ZohoField','Fields','nameField','customField','../../client','Request','GetZohoAccount','name','zone','clientId','serverUrl','refreshToken','ZohoConfiguration','Configurations','moduleCreate','moduleSearch','description','Subjects','type','variableName','Variable'];(function(_0x17f939,_0x1a6bb1){var _0x36b737=function(_0x4d79ef){while(--_0x4d79ef){_0x17f939['push'](_0x17f939['shift']());}};_0x36b737(++_0x1a6bb1);}(_0xb41f,0xdf));var _0xfb41=function(_0x2e37db,_0x4f8606){_0x2e37db=_0x2e37db-0x0;var _0x3a0c58=_0xb41f[_0x2e37db];return _0x3a0c58;};'use strict';var client=require(_0xfb41('0x0'));exports['getZohoAccounts']=function(){return function(_0x3f6e43){return client[_0xfb41('0x1')](_0xfb41('0x2'),{'options':{'raw':![],'attributes':['id',_0xfb41('0x3'),'description','host',_0xfb41('0x4'),_0xfb41('0x5'),'clientSecret',_0xfb41('0x6'),'code',_0xfb41('0x7')],'include':[{'model':_0xfb41('0x8'),'as':_0xfb41('0x9'),'attributes':['id',_0xfb41('0x3'),_0xfb41('0xa'),_0xfb41('0xb'),_0xfb41('0xc')],'include':[{'model':'ZohoField','as':_0xfb41('0xd'),'attributes':['id',_0xfb41('0xe'),'content',_0xfb41('0xf')],'include':[{'model':_0xfb41('0x10'),'as':_0xfb41('0x10'),'attributes':['id',_0xfb41('0x3')]}]},{'model':'ZohoField','as':_0xfb41('0x11'),'attributes':['id','type',_0xfb41('0x12'),'key','keyType',_0xfb41('0x13'),_0xfb41('0xf')],'include':[{'model':_0xfb41('0x10'),'as':_0xfb41('0x10'),'attributes':['id',_0xfb41('0x3')]}]},{'model':_0xfb41('0x14'),'as':_0xfb41('0x15'),'attributes':['id',_0xfb41('0xe'),_0xfb41('0x12'),'idField',_0xfb41('0x16'),_0xfb41('0x17'),_0xfb41('0xf')],'include':[{'model':_0xfb41('0x10'),'as':_0xfb41('0x10'),'attributes':['id','name']}]}]}]},'log':_0xfb41('0x2')});};};
\ 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