Built motion from commit (unavailable).|2.5.24
[motion2.git] / server / services / ami / rpc / integrations / zoho.js
index c30ea71..96bcc2c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd8f2=['key','keyType','keyContent','Fields','idField','../../client','getZohoAccounts','GetZohoAccount','name','description','host','clientId','clientSecret','code','Configurations','moduleCreate','Subjects','type','content','variableName','Variable','ZohoField'];(function(_0x9d074d,_0x191369){var _0x185ddb=function(_0x350bce){while(--_0x350bce){_0x9d074d['push'](_0x9d074d['shift']());}};_0x185ddb(++_0x191369);}(_0xd8f2,0x14f));var _0x2d8f=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0xd8f2[_0x19e35c];return _0x3e1fe8;};'use strict';var client=require(_0x2d8f('0x0'));exports[_0x2d8f('0x1')]=function(){return function(_0x147b36){return client['Request'](_0x2d8f('0x2'),{'options':{'raw':![],'attributes':['id',_0x2d8f('0x3'),_0x2d8f('0x4'),_0x2d8f('0x5'),'zone',_0x2d8f('0x6'),_0x2d8f('0x7'),'serverUrl',_0x2d8f('0x8'),'refreshToken'],'include':[{'model':'ZohoConfiguration','as':_0x2d8f('0x9'),'attributes':['id',_0x2d8f('0x3'),_0x2d8f('0xa'),'moduleSearch',_0x2d8f('0x4')],'include':[{'model':'ZohoField','as':_0x2d8f('0xb'),'attributes':['id',_0x2d8f('0xc'),_0x2d8f('0xd'),_0x2d8f('0xe')],'include':[{'model':_0x2d8f('0xf'),'as':_0x2d8f('0xf'),'attributes':['id',_0x2d8f('0x3')]}]},{'model':_0x2d8f('0x10'),'as':'Descriptions','attributes':['id',_0x2d8f('0xc'),_0x2d8f('0xd'),_0x2d8f('0x11'),_0x2d8f('0x12'),_0x2d8f('0x13'),_0x2d8f('0xe')],'include':[{'model':_0x2d8f('0xf'),'as':_0x2d8f('0xf'),'attributes':['id',_0x2d8f('0x3')]}]},{'model':_0x2d8f('0x10'),'as':_0x2d8f('0x14'),'attributes':['id','type',_0x2d8f('0xd'),_0x2d8f('0x15'),'nameField','customField','variableName'],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0x2d8f('0x3')]}]}]}]},'log':_0x2d8f('0x2')});};};
\ No newline at end of file
+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