Built motion from commit (unavailable).|2.4.7
[motion2.git] / server / services / ami / rpc / integrations / zoho.js
index ca9a7d3..5e02852 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x58cc=['ZohoField','Descriptions','content','keyType','keyContent','Fields','nameField','../../client','getZohoAccounts','Request','GetZohoAccount','name','host','zone','clientId','clientSecret','serverUrl','code','Configurations','Subjects','type','variableName','Variable'];(function(_0x2a92f5,_0x2fab20){var _0x25c155=function(_0xc19efa){while(--_0xc19efa){_0x2a92f5['push'](_0x2a92f5['shift']());}};_0x25c155(++_0x2fab20);}(_0x58cc,0x7a));var _0xc58c=function(_0x934425,_0x5af72f){_0x934425=_0x934425-0x0;var _0x31d596=_0x58cc[_0x934425];return _0x31d596;};'use strict';var client=require(_0xc58c('0x0'));exports[_0xc58c('0x1')]=function(){return function(_0x1f4d9d){return client[_0xc58c('0x2')](_0xc58c('0x3'),{'options':{'raw':![],'attributes':['id',_0xc58c('0x4'),'description',_0xc58c('0x5'),_0xc58c('0x6'),_0xc58c('0x7'),_0xc58c('0x8'),_0xc58c('0x9'),_0xc58c('0xa'),'refreshToken'],'include':[{'model':'ZohoConfiguration','as':_0xc58c('0xb'),'attributes':['id',_0xc58c('0x4')],'include':[{'model':'ZohoField','as':_0xc58c('0xc'),'attributes':['id',_0xc58c('0xd'),'content',_0xc58c('0xe')],'include':[{'model':'Variable','as':_0xc58c('0xf'),'attributes':['id',_0xc58c('0x4')]}]},{'model':_0xc58c('0x10'),'as':_0xc58c('0x11'),'attributes':['id',_0xc58c('0xd'),_0xc58c('0x12'),'key',_0xc58c('0x13'),_0xc58c('0x14'),_0xc58c('0xe')],'include':[{'model':_0xc58c('0xf'),'as':_0xc58c('0xf'),'attributes':['id',_0xc58c('0x4')]}]},{'model':_0xc58c('0x10'),'as':_0xc58c('0x15'),'attributes':['id',_0xc58c('0xd'),_0xc58c('0x12'),'idField',_0xc58c('0x16'),'customField',_0xc58c('0xe')],'include':[{'model':_0xc58c('0xf'),'as':_0xc58c('0xf'),'attributes':['id',_0xc58c('0x4')]}]}]}]},'log':_0xc58c('0x3')});};};
\ No newline at end of file
+var _0x7a09=['Variable','content','key','keyType','keyContent','variableName','Fields','idField','nameField','Request','name','host','clientId','serverUrl','code','refreshToken','ZohoConfiguration','Configurations','moduleCreate','description','ZohoField','type'];(function(_0x525004,_0x4f2d19){var _0x36d345=function(_0x29196a){while(--_0x29196a){_0x525004['push'](_0x525004['shift']());}};_0x36d345(++_0x4f2d19);}(_0x7a09,0xa3));var _0x97a0=function(_0x2becba,_0x4ea656){_0x2becba=_0x2becba-0x0;var _0x90b5dd=_0x7a09[_0x2becba];return _0x90b5dd;};'use strict';var client=require('../../client');exports['getZohoAccounts']=function(){return function(_0x4f83a6){return client[_0x97a0('0x0')]('GetZohoAccount',{'options':{'raw':![],'attributes':['id',_0x97a0('0x1'),'description',_0x97a0('0x2'),'zone',_0x97a0('0x3'),'clientSecret',_0x97a0('0x4'),_0x97a0('0x5'),_0x97a0('0x6')],'include':[{'model':_0x97a0('0x7'),'as':_0x97a0('0x8'),'attributes':['id','name',_0x97a0('0x9'),_0x97a0('0xa')],'include':[{'model':_0x97a0('0xb'),'as':'Subjects','attributes':['id',_0x97a0('0xc'),'content','variableName'],'include':[{'model':_0x97a0('0xd'),'as':_0x97a0('0xd'),'attributes':['id',_0x97a0('0x1')]}]},{'model':'ZohoField','as':'Descriptions','attributes':['id',_0x97a0('0xc'),_0x97a0('0xe'),_0x97a0('0xf'),_0x97a0('0x10'),_0x97a0('0x11'),_0x97a0('0x12')],'include':[{'model':_0x97a0('0xd'),'as':'Variable','attributes':['id','name']}]},{'model':_0x97a0('0xb'),'as':_0x97a0('0x13'),'attributes':['id',_0x97a0('0xc'),'content',_0x97a0('0x14'),_0x97a0('0x15'),'customField',_0x97a0('0x12')],'include':[{'model':_0x97a0('0xd'),'as':_0x97a0('0xd'),'attributes':['id',_0x97a0('0x1')]}]}]}]},'log':'GetZohoAccount'});};};
\ No newline at end of file