Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / services / ami / rpc / integrations / zoho.js
index cd76e7c..04f57bf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xffd4=['ZohoField','Subjects','type','content','variableName','Variable','keyType','keyContent','Fields','customField','../../client','Request','GetZohoAccount','name','description','host','zone','clientId','clientSecret','serverUrl','code','refreshToken','ZohoConfiguration','Configurations','moduleCreate'];(function(_0x44d5b1,_0x24f8dd){var _0x204fd0=function(_0x5a2159){while(--_0x5a2159){_0x44d5b1['push'](_0x44d5b1['shift']());}};_0x204fd0(++_0x24f8dd);}(_0xffd4,0x6e));var _0x4ffd=function(_0xd50a73,_0x18b0c9){_0xd50a73=_0xd50a73-0x0;var _0x2246ab=_0xffd4[_0xd50a73];return _0x2246ab;};'use strict';var client=require(_0x4ffd('0x0'));exports['getZohoAccounts']=function(){return function(_0xb9da14){return client[_0x4ffd('0x1')](_0x4ffd('0x2'),{'options':{'raw':![],'attributes':['id',_0x4ffd('0x3'),_0x4ffd('0x4'),_0x4ffd('0x5'),_0x4ffd('0x6'),_0x4ffd('0x7'),_0x4ffd('0x8'),_0x4ffd('0x9'),_0x4ffd('0xa'),_0x4ffd('0xb')],'include':[{'model':_0x4ffd('0xc'),'as':_0x4ffd('0xd'),'attributes':['id',_0x4ffd('0x3'),_0x4ffd('0xe'),'moduleSearch',_0x4ffd('0x4')],'include':[{'model':_0x4ffd('0xf'),'as':_0x4ffd('0x10'),'attributes':['id',_0x4ffd('0x11'),_0x4ffd('0x12'),_0x4ffd('0x13')],'include':[{'model':'Variable','as':_0x4ffd('0x14'),'attributes':['id',_0x4ffd('0x3')]}]},{'model':_0x4ffd('0xf'),'as':'Descriptions','attributes':['id','type',_0x4ffd('0x12'),'key',_0x4ffd('0x15'),_0x4ffd('0x16'),_0x4ffd('0x13')],'include':[{'model':'Variable','as':_0x4ffd('0x14'),'attributes':['id',_0x4ffd('0x3')]}]},{'model':'ZohoField','as':_0x4ffd('0x17'),'attributes':['id','type',_0x4ffd('0x12'),'idField','nameField',_0x4ffd('0x18'),_0x4ffd('0x13')],'include':[{'model':'Variable','as':_0x4ffd('0x14'),'attributes':['id',_0x4ffd('0x3')]}]}]}]},'log':_0x4ffd('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