X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Fzoho.js;h=f249942021bf616c9f793460c54e563a72b436ae;hb=d0a5f290c38808a51b2a974ceac262033db82ac8;hp=96bcc2c9f9ba8f432c929772945838fccdf6fdc6;hpb=fbc87b59ef94ef6130a71493194cc41e82b19e21;p=motion2.git diff --git a/server/services/ami/rpc/integrations/zoho.js b/server/services/ami/rpc/integrations/zoho.js index 96bcc2c..f249942 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 _0xb41f=['Descriptions','content','keyContent','ZohoField','Fields','nameField','customField','../../client','Request','GetZohoAccount','name','zone','clientId','serverUrl','refreshToken','ZohoConfiguration','Configurations','moduleCreate','moduleSearch','description','Subjects','type','variableName','Variable'];(function(_0x17f939,_0x1a6bb1){var _0x36b737=function(_0x4d79ef){while(--_0x4d79ef){_0x17f939['push'](_0x17f939['shift']());}};_0x36b737(++_0x1a6bb1);}(_0xb41f,0xdf));var _0xfb41=function(_0x2e37db,_0x4f8606){_0x2e37db=_0x2e37db-0x0;var _0x3a0c58=_0xb41f[_0x2e37db];return _0x3a0c58;};'use strict';var client=require(_0xfb41('0x0'));exports['getZohoAccounts']=function(){return function(_0x3f6e43){return client[_0xfb41('0x1')](_0xfb41('0x2'),{'options':{'raw':![],'attributes':['id',_0xfb41('0x3'),'description','host',_0xfb41('0x4'),_0xfb41('0x5'),'clientSecret',_0xfb41('0x6'),'code',_0xfb41('0x7')],'include':[{'model':_0xfb41('0x8'),'as':_0xfb41('0x9'),'attributes':['id',_0xfb41('0x3'),_0xfb41('0xa'),_0xfb41('0xb'),_0xfb41('0xc')],'include':[{'model':'ZohoField','as':_0xfb41('0xd'),'attributes':['id',_0xfb41('0xe'),'content',_0xfb41('0xf')],'include':[{'model':_0xfb41('0x10'),'as':_0xfb41('0x10'),'attributes':['id',_0xfb41('0x3')]}]},{'model':'ZohoField','as':_0xfb41('0x11'),'attributes':['id','type',_0xfb41('0x12'),'key','keyType',_0xfb41('0x13'),_0xfb41('0xf')],'include':[{'model':_0xfb41('0x10'),'as':_0xfb41('0x10'),'attributes':['id',_0xfb41('0x3')]}]},{'model':_0xfb41('0x14'),'as':_0xfb41('0x15'),'attributes':['id',_0xfb41('0xe'),_0xfb41('0x12'),'idField',_0xfb41('0x16'),_0xfb41('0x17'),_0xfb41('0xf')],'include':[{'model':_0xfb41('0x10'),'as':_0xfb41('0x10'),'attributes':['id','name']}]}]}]},'log':_0xfb41('0x2')});};}; \ No newline at end of file +var _0x6cf9=['ZohoField','key','keyType','keyContent','nameField','customField','../../client','Request','GetZohoAccount','name','description','host','serverUrl','code','refreshToken','ZohoConfiguration','Configurations','moduleCreate','moduleSearch','Subjects','type','content','variableName','Variable'];(function(_0x1fc4e2,_0x493c3b){var _0x2ba184=function(_0x58e64f){while(--_0x58e64f){_0x1fc4e2['push'](_0x1fc4e2['shift']());}};_0x2ba184(++_0x493c3b);}(_0x6cf9,0xde));var _0x96cf=function(_0x4a96d2,_0x689504){_0x4a96d2=_0x4a96d2-0x0;var _0x38af04=_0x6cf9[_0x4a96d2];return _0x38af04;};'use strict';var client=require(_0x96cf('0x0'));exports['getZohoAccounts']=function(){return function(_0xa71874){return client[_0x96cf('0x1')](_0x96cf('0x2'),{'options':{'raw':![],'attributes':['id',_0x96cf('0x3'),_0x96cf('0x4'),_0x96cf('0x5'),'zone','clientId','clientSecret',_0x96cf('0x6'),_0x96cf('0x7'),_0x96cf('0x8')],'include':[{'model':_0x96cf('0x9'),'as':_0x96cf('0xa'),'attributes':['id',_0x96cf('0x3'),_0x96cf('0xb'),_0x96cf('0xc'),_0x96cf('0x4')],'include':[{'model':'ZohoField','as':_0x96cf('0xd'),'attributes':['id',_0x96cf('0xe'),_0x96cf('0xf'),_0x96cf('0x10')],'include':[{'model':_0x96cf('0x11'),'as':'Variable','attributes':['id',_0x96cf('0x3')]}]},{'model':_0x96cf('0x12'),'as':'Descriptions','attributes':['id',_0x96cf('0xe'),'content',_0x96cf('0x13'),_0x96cf('0x14'),_0x96cf('0x15'),_0x96cf('0x10')],'include':[{'model':_0x96cf('0x11'),'as':_0x96cf('0x11'),'attributes':['id','name']}]},{'model':'ZohoField','as':'Fields','attributes':['id',_0x96cf('0xe'),'content','idField',_0x96cf('0x16'),_0x96cf('0x17'),'variableName'],'include':[{'model':_0x96cf('0x11'),'as':'Variable','attributes':['id','name']}]}]}]},'log':'GetZohoAccount'});};}; \ No newline at end of file