Built motion from commit 5b761a7b.|2.5.36
[motion2.git] / server / services / ami / rpc / integrations / zoho.js
index c30ea71..4436786 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 _0xc1a2=['keyContent','Fields','idField','nameField','customField','../../client','Request','GetZohoAccount','name','description','zone','clientId','clientSecret','serverUrl','code','refreshToken','ZohoConfiguration','Configurations','moduleCreate','Subjects','content','variableName','Variable','ZohoField','type','key','keyType'];(function(_0x3d779a,_0x4a3d3f){var _0x5e83ff=function(_0x8bc7df){while(--_0x8bc7df){_0x3d779a['push'](_0x3d779a['shift']());}};_0x5e83ff(++_0x4a3d3f);}(_0xc1a2,0x1eb));var _0x2c1a=function(_0x376224,_0x1669b7){_0x376224=_0x376224-0x0;var _0x228adb=_0xc1a2[_0x376224];return _0x228adb;};'use strict';var client=require(_0x2c1a('0x0'));exports['getZohoAccounts']=function(){return function(_0x5b9eb1){return client[_0x2c1a('0x1')](_0x2c1a('0x2'),{'options':{'raw':![],'attributes':['id',_0x2c1a('0x3'),_0x2c1a('0x4'),'host',_0x2c1a('0x5'),_0x2c1a('0x6'),_0x2c1a('0x7'),_0x2c1a('0x8'),_0x2c1a('0x9'),_0x2c1a('0xa')],'include':[{'model':_0x2c1a('0xb'),'as':_0x2c1a('0xc'),'attributes':['id',_0x2c1a('0x3'),_0x2c1a('0xd'),'moduleSearch',_0x2c1a('0x4')],'include':[{'model':'ZohoField','as':_0x2c1a('0xe'),'attributes':['id','type',_0x2c1a('0xf'),_0x2c1a('0x10')],'include':[{'model':_0x2c1a('0x11'),'as':'Variable','attributes':['id',_0x2c1a('0x3')]}]},{'model':_0x2c1a('0x12'),'as':'Descriptions','attributes':['id',_0x2c1a('0x13'),_0x2c1a('0xf'),_0x2c1a('0x14'),_0x2c1a('0x15'),_0x2c1a('0x16'),_0x2c1a('0x10')],'include':[{'model':_0x2c1a('0x11'),'as':'Variable','attributes':['id',_0x2c1a('0x3')]}]},{'model':'ZohoField','as':_0x2c1a('0x17'),'attributes':['id',_0x2c1a('0x13'),_0x2c1a('0xf'),_0x2c1a('0x18'),_0x2c1a('0x19'),_0x2c1a('0x1a'),'variableName'],'include':[{'model':'Variable','as':'Variable','attributes':['id','name']}]}]}]},'log':'GetZohoAccount'});};};
\ No newline at end of file