Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / services / ami / rpc / integrations / zoho.js
index a391e62..04f57bf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x71ab=['ZohoField','type','Variable','Descriptions','key','variableName','Fields','content','idField','nameField','customField','../../client','Request','GetZohoAccount','name','description','zone','serverUrl','code','refreshToken','Configurations','moduleSearch'];(function(_0x545554,_0x49de47){var _0x408e0c=function(_0x2680b2){while(--_0x2680b2){_0x545554['push'](_0x545554['shift']());}};_0x408e0c(++_0x49de47);}(_0x71ab,0x13f));var _0xb71a=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0x71ab[_0x19e35c];return _0x3e1fe8;};'use strict';var client=require(_0xb71a('0x0'));exports['getZohoAccounts']=function(){return function(_0x5297af){return client[_0xb71a('0x1')](_0xb71a('0x2'),{'options':{'raw':![],'attributes':['id',_0xb71a('0x3'),_0xb71a('0x4'),'host',_0xb71a('0x5'),'clientId','clientSecret',_0xb71a('0x6'),_0xb71a('0x7'),_0xb71a('0x8')],'include':[{'model':'ZohoConfiguration','as':_0xb71a('0x9'),'attributes':['id',_0xb71a('0x3'),'moduleCreate',_0xb71a('0xa'),_0xb71a('0x4')],'include':[{'model':_0xb71a('0xb'),'as':'Subjects','attributes':['id',_0xb71a('0xc'),'content','variableName'],'include':[{'model':_0xb71a('0xd'),'as':_0xb71a('0xd'),'attributes':['id',_0xb71a('0x3')]}]},{'model':'ZohoField','as':_0xb71a('0xe'),'attributes':['id','type','content',_0xb71a('0xf'),'keyType','keyContent',_0xb71a('0x10')],'include':[{'model':_0xb71a('0xd'),'as':'Variable','attributes':['id',_0xb71a('0x3')]}]},{'model':_0xb71a('0xb'),'as':_0xb71a('0x11'),'attributes':['id','type',_0xb71a('0x12'),_0xb71a('0x13'),_0xb71a('0x14'),_0xb71a('0x15'),_0xb71a('0x10')],'include':[{'model':'Variable','as':_0xb71a('0xd'),'attributes':['id',_0xb71a('0x3')]}]}]}]},'log':_0xb71a('0x2')});};};
\ No newline at end of file
+var _0x3446=['description','zone','clientId','clientSecret','serverUrl','refreshToken','ZohoConfiguration','Configurations','name','ZohoField','Subjects','type','content','variableName','Variable','Descriptions','key','keyContent','idField','nameField','customField','../../client','getZohoAccounts','Request','GetZohoAccount'];(function(_0x312a82,_0x2b2c72){var _0x18fce9=function(_0x1b3b3b){while(--_0x1b3b3b){_0x312a82['push'](_0x312a82['shift']());}};_0x18fce9(++_0x2b2c72);}(_0x3446,0x10f));var _0x6344=function(_0x373cb3,_0xcafbd2){_0x373cb3=_0x373cb3-0x0;var _0x5884e3=_0x3446[_0x373cb3];return _0x5884e3;};'use strict';var client=require(_0x6344('0x0'));exports[_0x6344('0x1')]=function(){return function(_0x55818b){return client[_0x6344('0x2')](_0x6344('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x6344('0x4'),'host',_0x6344('0x5'),_0x6344('0x6'),_0x6344('0x7'),_0x6344('0x8'),'code',_0x6344('0x9')],'include':[{'model':_0x6344('0xa'),'as':_0x6344('0xb'),'attributes':['id',_0x6344('0xc'),'moduleCreate','moduleSearch',_0x6344('0x4')],'include':[{'model':_0x6344('0xd'),'as':_0x6344('0xe'),'attributes':['id',_0x6344('0xf'),_0x6344('0x10'),_0x6344('0x11')],'include':[{'model':_0x6344('0x12'),'as':'Variable','attributes':['id',_0x6344('0xc')]}]},{'model':_0x6344('0xd'),'as':_0x6344('0x13'),'attributes':['id',_0x6344('0xf'),'content',_0x6344('0x14'),'keyType',_0x6344('0x15'),_0x6344('0x11')],'include':[{'model':_0x6344('0x12'),'as':_0x6344('0x12'),'attributes':['id','name']}]},{'model':_0x6344('0xd'),'as':'Fields','attributes':['id',_0x6344('0xf'),_0x6344('0x10'),_0x6344('0x16'),_0x6344('0x17'),_0x6344('0x18'),_0x6344('0x11')],'include':[{'model':_0x6344('0x12'),'as':_0x6344('0x12'),'attributes':['id',_0x6344('0xc')]}]}]}]},'log':_0x6344('0x3')});};};
\ No newline at end of file