Built motion from commit 497d3d92.|2.5.43
[motion2.git] / server / services / ami / rpc / integrations / zoho.js
index a8d7661..7ffe0ab 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3ff2=['name','description','host','zone','clientSecret','serverUrl','code','refreshToken','ZohoConfiguration','Configurations','moduleSearch','ZohoField','type','content','variableName','Descriptions','key','Variable','Fields','idField','nameField','customField','GetZohoAccount','../../client','getZohoAccounts'];(function(_0x334fea,_0x1f1e18){var _0x3c5829=function(_0x4fd6ac){while(--_0x4fd6ac){_0x334fea['push'](_0x334fea['shift']());}};_0x3c5829(++_0x1f1e18);}(_0x3ff2,0xc6));var _0x23ff=function(_0x397e5f,_0x454c8f){_0x397e5f=_0x397e5f-0x0;var _0x5302b8=_0x3ff2[_0x397e5f];return _0x5302b8;};'use strict';var client=require(_0x23ff('0x0'));exports[_0x23ff('0x1')]=function(){return function(_0x3e3419){return client['Request']('GetZohoAccount',{'options':{'raw':![],'attributes':['id',_0x23ff('0x2'),_0x23ff('0x3'),_0x23ff('0x4'),_0x23ff('0x5'),'clientId',_0x23ff('0x6'),_0x23ff('0x7'),_0x23ff('0x8'),_0x23ff('0x9')],'include':[{'model':_0x23ff('0xa'),'as':_0x23ff('0xb'),'attributes':['id',_0x23ff('0x2'),'moduleCreate',_0x23ff('0xc'),'description'],'include':[{'model':_0x23ff('0xd'),'as':'Subjects','attributes':['id',_0x23ff('0xe'),_0x23ff('0xf'),_0x23ff('0x10')],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0x23ff('0x2')]}]},{'model':_0x23ff('0xd'),'as':_0x23ff('0x11'),'attributes':['id',_0x23ff('0xe'),_0x23ff('0xf'),_0x23ff('0x12'),'keyType','keyContent','variableName'],'include':[{'model':'Variable','as':_0x23ff('0x13'),'attributes':['id',_0x23ff('0x2')]}]},{'model':_0x23ff('0xd'),'as':_0x23ff('0x14'),'attributes':['id',_0x23ff('0xe'),_0x23ff('0xf'),_0x23ff('0x15'),_0x23ff('0x16'),_0x23ff('0x17'),_0x23ff('0x10')],'include':[{'model':'Variable','as':_0x23ff('0x13'),'attributes':['id',_0x23ff('0x2')]}]}]}]},'log':_0x23ff('0x18')});};};
\ No newline at end of file
+var _0xf183=['clientSecret','serverUrl','code','refreshToken','ZohoConfiguration','Configurations','name','moduleSearch','description','Subjects','type','content','Variable','Descriptions','key','keyType','keyContent','ZohoField','Fields','variableName','../../client','Request','GetZohoAccount','clientId'];(function(_0x202e21,_0x50da3a){var _0xf5d3ea=function(_0x413362){while(--_0x413362){_0x202e21['push'](_0x202e21['shift']());}};_0xf5d3ea(++_0x50da3a);}(_0xf183,0x1f4));var _0x3f18=function(_0x315b99,_0x2c1393){_0x315b99=_0x315b99-0x0;var _0x4108b6=_0xf183[_0x315b99];return _0x4108b6;};'use strict';var client=require(_0x3f18('0x0'));exports['getZohoAccounts']=function(){return function(_0x513dd9){return client[_0x3f18('0x1')](_0x3f18('0x2'),{'options':{'raw':![],'attributes':['id','name','description','host','zone',_0x3f18('0x3'),_0x3f18('0x4'),_0x3f18('0x5'),_0x3f18('0x6'),_0x3f18('0x7')],'include':[{'model':_0x3f18('0x8'),'as':_0x3f18('0x9'),'attributes':['id',_0x3f18('0xa'),'moduleCreate',_0x3f18('0xb'),_0x3f18('0xc')],'include':[{'model':'ZohoField','as':_0x3f18('0xd'),'attributes':['id',_0x3f18('0xe'),_0x3f18('0xf'),'variableName'],'include':[{'model':'Variable','as':_0x3f18('0x10'),'attributes':['id',_0x3f18('0xa')]}]},{'model':'ZohoField','as':_0x3f18('0x11'),'attributes':['id',_0x3f18('0xe'),'content',_0x3f18('0x12'),_0x3f18('0x13'),_0x3f18('0x14'),'variableName'],'include':[{'model':_0x3f18('0x10'),'as':_0x3f18('0x10'),'attributes':['id',_0x3f18('0xa')]}]},{'model':_0x3f18('0x15'),'as':_0x3f18('0x16'),'attributes':['id','type','content','idField','nameField','customField',_0x3f18('0x17')],'include':[{'model':_0x3f18('0x10'),'as':_0x3f18('0x10'),'attributes':['id',_0x3f18('0xa')]}]}]}]},'log':_0x3f18('0x2')});};};
\ No newline at end of file