Built motion from commit c0cdc9d8.|2.6.28
[motion2.git] / server / services / ami / rpc / integrations / zoho.js
index a61d073..8b9b75c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfcdd=['idField','nameField','customField','../../client','GetZohoAccount','name','host','zone','refreshToken','moduleCreate','moduleSearch','description','ZohoField','Subjects','type','content','Variable','key','keyType','keyContent','variableName','Fields'];(function(_0x23ca63,_0x31c208){var _0x1a7bc8=function(_0x48ff77){while(--_0x48ff77){_0x23ca63['push'](_0x23ca63['shift']());}};_0x1a7bc8(++_0x31c208);}(_0xfcdd,0x9d));var _0xdfcd=function(_0x5224c6,_0x48c612){_0x5224c6=_0x5224c6-0x0;var _0x2d9f51=_0xfcdd[_0x5224c6];return _0x2d9f51;};'use strict';var client=require(_0xdfcd('0x0'));exports['getZohoAccounts']=function(){return function(_0x3bd67a){return client['Request'](_0xdfcd('0x1'),{'options':{'raw':![],'attributes':['id',_0xdfcd('0x2'),'description',_0xdfcd('0x3'),_0xdfcd('0x4'),'clientId','clientSecret','serverUrl','code',_0xdfcd('0x5')],'include':[{'model':'ZohoConfiguration','as':'Configurations','attributes':['id',_0xdfcd('0x2'),_0xdfcd('0x6'),_0xdfcd('0x7'),_0xdfcd('0x8')],'include':[{'model':_0xdfcd('0x9'),'as':_0xdfcd('0xa'),'attributes':['id',_0xdfcd('0xb'),_0xdfcd('0xc'),'variableName'],'include':[{'model':_0xdfcd('0xd'),'as':'Variable','attributes':['id',_0xdfcd('0x2')]}]},{'model':_0xdfcd('0x9'),'as':'Descriptions','attributes':['id',_0xdfcd('0xb'),_0xdfcd('0xc'),_0xdfcd('0xe'),_0xdfcd('0xf'),_0xdfcd('0x10'),_0xdfcd('0x11')],'include':[{'model':_0xdfcd('0xd'),'as':_0xdfcd('0xd'),'attributes':['id','name']}]},{'model':'ZohoField','as':_0xdfcd('0x12'),'attributes':['id',_0xdfcd('0xb'),'content',_0xdfcd('0x13'),_0xdfcd('0x14'),_0xdfcd('0x15'),_0xdfcd('0x11')],'include':[{'model':_0xdfcd('0xd'),'as':_0xdfcd('0xd'),'attributes':['id',_0xdfcd('0x2')]}]}]}]},'log':_0xdfcd('0x1')});};};
\ No newline at end of file
+var _0x8424=['idField','nameField','customField','../../client','getZohoAccounts','Request','GetZohoAccount','name','zone','clientId','serverUrl','refreshToken','ZohoConfiguration','Configurations','moduleCreate','moduleSearch','description','ZohoField','Subjects','type','variableName','Variable','Descriptions','content','key','keyType','Fields'];(function(_0x42debe,_0x327e93){var _0x27ba9e=function(_0x3be36d){while(--_0x3be36d){_0x42debe['push'](_0x42debe['shift']());}};_0x27ba9e(++_0x327e93);}(_0x8424,0x1e9));var _0x4842=function(_0x28e98f,_0x4e0d6d){_0x28e98f=_0x28e98f-0x0;var _0xc0ece8=_0x8424[_0x28e98f];return _0xc0ece8;};'use strict';var client=require(_0x4842('0x0'));exports[_0x4842('0x1')]=function(){return function(_0xf64165){return client[_0x4842('0x2')](_0x4842('0x3'),{'options':{'raw':![],'attributes':['id',_0x4842('0x4'),'description','host',_0x4842('0x5'),_0x4842('0x6'),'clientSecret',_0x4842('0x7'),'code',_0x4842('0x8')],'include':[{'model':_0x4842('0x9'),'as':_0x4842('0xa'),'attributes':['id',_0x4842('0x4'),_0x4842('0xb'),_0x4842('0xc'),_0x4842('0xd')],'include':[{'model':_0x4842('0xe'),'as':_0x4842('0xf'),'attributes':['id',_0x4842('0x10'),'content',_0x4842('0x11')],'include':[{'model':'Variable','as':_0x4842('0x12'),'attributes':['id',_0x4842('0x4')]}]},{'model':'ZohoField','as':_0x4842('0x13'),'attributes':['id','type',_0x4842('0x14'),_0x4842('0x15'),_0x4842('0x16'),'keyContent',_0x4842('0x11')],'include':[{'model':_0x4842('0x12'),'as':_0x4842('0x12'),'attributes':['id','name']}]},{'model':_0x4842('0xe'),'as':_0x4842('0x17'),'attributes':['id',_0x4842('0x10'),_0x4842('0x14'),_0x4842('0x18'),_0x4842('0x19'),_0x4842('0x1a'),_0x4842('0x11')],'include':[{'model':_0x4842('0x12'),'as':_0x4842('0x12'),'attributes':['id',_0x4842('0x4')]}]}]}]},'log':_0x4842('0x3')});};};
\ No newline at end of file