X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Fzoho.js;h=7cf35b7de3771d32dcaa0a68c710046af91be1c9;hb=bb4ed137b40a5e77cec195be87f1b347330d2766;hp=4864b3877e0a40cb871db516b1476b8176fc7be9;hpb=bbf2934691a4ec9ff4842d68e55333ba589f6077;p=motion2.git diff --git a/server/services/ami/rpc/integrations/zoho.js b/server/services/ami/rpc/integrations/zoho.js index 4864b38..7cf35b7 100644 --- a/server/services/ami/rpc/integrations/zoho.js +++ b/server/services/ami/rpc/integrations/zoho.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4997=['ZohoConfiguration','moduleCreate','moduleSearch','description','type','content','variableName','Variable','Descriptions','key','keyType','keyContent','ZohoField','Fields','idField','nameField','customField','../../client','getZohoAccounts','Request','name','host','zone','clientId','serverUrl','code','refreshToken'];(function(_0x3f3f40,_0x4c71f4){var _0x403b7a=function(_0x509014){while(--_0x509014){_0x3f3f40['push'](_0x3f3f40['shift']());}};_0x403b7a(++_0x4c71f4);}(_0x4997,0x104));var _0x7499=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x4997[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x7499('0x0'));exports[_0x7499('0x1')]=function(){return function(_0x2e13cf){return client[_0x7499('0x2')]('GetZohoAccount',{'options':{'raw':![],'attributes':['id',_0x7499('0x3'),'description',_0x7499('0x4'),_0x7499('0x5'),_0x7499('0x6'),'clientSecret',_0x7499('0x7'),_0x7499('0x8'),_0x7499('0x9')],'include':[{'model':_0x7499('0xa'),'as':'Configurations','attributes':['id','name',_0x7499('0xb'),_0x7499('0xc'),_0x7499('0xd')],'include':[{'model':'ZohoField','as':'Subjects','attributes':['id',_0x7499('0xe'),_0x7499('0xf'),_0x7499('0x10')],'include':[{'model':_0x7499('0x11'),'as':'Variable','attributes':['id',_0x7499('0x3')]}]},{'model':'ZohoField','as':_0x7499('0x12'),'attributes':['id',_0x7499('0xe'),_0x7499('0xf'),_0x7499('0x13'),_0x7499('0x14'),_0x7499('0x15'),_0x7499('0x10')],'include':[{'model':_0x7499('0x11'),'as':_0x7499('0x11'),'attributes':['id',_0x7499('0x3')]}]},{'model':_0x7499('0x16'),'as':_0x7499('0x17'),'attributes':['id',_0x7499('0xe'),'content',_0x7499('0x18'),_0x7499('0x19'),_0x7499('0x1a'),_0x7499('0x10')],'include':[{'model':_0x7499('0x11'),'as':'Variable','attributes':['id',_0x7499('0x3')]}]}]}]},'log':'GetZohoAccount'});};}; \ No newline at end of file +var _0x0434=['nameField','customField','variableName','GetZohoAccount','../../client','name','description','zone','clientId','serverUrl','code','refreshToken','ZohoConfiguration','Configurations','moduleCreate','ZohoField','Subjects','type','Variable','content','key','keyType'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x0434,0x190));var _0x4043=function(_0x1793de,_0x4d7233){_0x1793de=_0x1793de-0x0;var _0x4f0309=_0x0434[_0x1793de];return _0x4f0309;};'use strict';var client=require(_0x4043('0x0'));exports['getZohoAccounts']=function(){return function(_0x4f8ec0){return client['Request']('GetZohoAccount',{'options':{'raw':![],'attributes':['id',_0x4043('0x1'),_0x4043('0x2'),'host',_0x4043('0x3'),_0x4043('0x4'),'clientSecret',_0x4043('0x5'),_0x4043('0x6'),_0x4043('0x7')],'include':[{'model':_0x4043('0x8'),'as':_0x4043('0x9'),'attributes':['id',_0x4043('0x1'),_0x4043('0xa'),'moduleSearch',_0x4043('0x2')],'include':[{'model':_0x4043('0xb'),'as':_0x4043('0xc'),'attributes':['id',_0x4043('0xd'),'content','variableName'],'include':[{'model':_0x4043('0xe'),'as':_0x4043('0xe'),'attributes':['id',_0x4043('0x1')]}]},{'model':_0x4043('0xb'),'as':'Descriptions','attributes':['id',_0x4043('0xd'),_0x4043('0xf'),_0x4043('0x10'),_0x4043('0x11'),'keyContent','variableName'],'include':[{'model':_0x4043('0xe'),'as':'Variable','attributes':['id',_0x4043('0x1')]}]},{'model':_0x4043('0xb'),'as':'Fields','attributes':['id',_0x4043('0xd'),_0x4043('0xf'),'idField',_0x4043('0x12'),_0x4043('0x13'),_0x4043('0x14')],'include':[{'model':_0x4043('0xe'),'as':'Variable','attributes':['id',_0x4043('0x1')]}]}]}]},'log':_0x4043('0x15')});};}; \ No newline at end of file