X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Fzoho.js;h=21af8d8051dc29ba69429831c5aa8d3efbd77cf8;hb=7b947914a77b8347fb1d6de0275fa1bbfcdf6ff9;hp=5f9ddf7571a8a677fb1448982abe12281245489f;hpb=915398debaad81c75775b080cc3e491fbaa835e5;p=motion2.git diff --git a/server/services/ami/rpc/integrations/zoho.js b/server/services/ami/rpc/integrations/zoho.js index 5f9ddf7..21af8d8 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 _0x8024=['idField','customField','Request','GetZohoAccount','name','description','zone','serverUrl','refreshToken','moduleCreate','ZohoField','Subjects','content','variableName','Variable','Descriptions','type','key','Fields'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x8024,0x191));var _0x4802=function(_0x1f86ee,_0x407388){_0x1f86ee=_0x1f86ee-0x0;var _0x733f0=_0x8024[_0x1f86ee];return _0x733f0;};'use strict';var client=require('../../client');exports['getZohoAccounts']=function(){return function(_0x43f73e){return client[_0x4802('0x0')](_0x4802('0x1'),{'options':{'raw':![],'attributes':['id',_0x4802('0x2'),_0x4802('0x3'),'host',_0x4802('0x4'),'clientId','clientSecret',_0x4802('0x5'),'code',_0x4802('0x6')],'include':[{'model':'ZohoConfiguration','as':'Configurations','attributes':['id',_0x4802('0x2'),_0x4802('0x7'),'moduleSearch',_0x4802('0x3')],'include':[{'model':_0x4802('0x8'),'as':_0x4802('0x9'),'attributes':['id','type',_0x4802('0xa'),_0x4802('0xb')],'include':[{'model':_0x4802('0xc'),'as':_0x4802('0xc'),'attributes':['id',_0x4802('0x2')]}]},{'model':_0x4802('0x8'),'as':_0x4802('0xd'),'attributes':['id',_0x4802('0xe'),_0x4802('0xa'),_0x4802('0xf'),'keyType','keyContent','variableName'],'include':[{'model':_0x4802('0xc'),'as':_0x4802('0xc'),'attributes':['id',_0x4802('0x2')]}]},{'model':_0x4802('0x8'),'as':_0x4802('0x10'),'attributes':['id',_0x4802('0xe'),_0x4802('0xa'),_0x4802('0x11'),'nameField',_0x4802('0x12'),_0x4802('0xb')],'include':[{'model':_0x4802('0xc'),'as':_0x4802('0xc'),'attributes':['id',_0x4802('0x2')]}]}]}]},'log':_0x4802('0x1')});};}; \ No newline at end of file +var _0xbcb2=['keyType','keyContent','ZohoField','Fields','idField','nameField','getZohoAccounts','Request','GetZohoAccount','name','description','host','zone','clientSecret','serverUrl','code','refreshToken','ZohoConfiguration','Configurations','moduleCreate','Subjects','variableName','Variable','type','content','key'];(function(_0x212fcc,_0x1a8867){var _0x4d8190=function(_0x347f7b){while(--_0x347f7b){_0x212fcc['push'](_0x212fcc['shift']());}};_0x4d8190(++_0x1a8867);}(_0xbcb2,0xf0));var _0x2bcb=function(_0x38c8d1,_0x4443f7){_0x38c8d1=_0x38c8d1-0x0;var _0x5684d7=_0xbcb2[_0x38c8d1];return _0x5684d7;};'use strict';var client=require('../../client');exports[_0x2bcb('0x0')]=function(){return function(_0x5571f2){return client[_0x2bcb('0x1')](_0x2bcb('0x2'),{'options':{'raw':![],'attributes':['id',_0x2bcb('0x3'),_0x2bcb('0x4'),_0x2bcb('0x5'),_0x2bcb('0x6'),'clientId',_0x2bcb('0x7'),_0x2bcb('0x8'),_0x2bcb('0x9'),_0x2bcb('0xa')],'include':[{'model':_0x2bcb('0xb'),'as':_0x2bcb('0xc'),'attributes':['id',_0x2bcb('0x3'),_0x2bcb('0xd'),'moduleSearch',_0x2bcb('0x4')],'include':[{'model':'ZohoField','as':_0x2bcb('0xe'),'attributes':['id','type','content',_0x2bcb('0xf')],'include':[{'model':_0x2bcb('0x10'),'as':_0x2bcb('0x10'),'attributes':['id',_0x2bcb('0x3')]}]},{'model':'ZohoField','as':'Descriptions','attributes':['id',_0x2bcb('0x11'),_0x2bcb('0x12'),_0x2bcb('0x13'),_0x2bcb('0x14'),_0x2bcb('0x15'),_0x2bcb('0xf')],'include':[{'model':_0x2bcb('0x10'),'as':'Variable','attributes':['id',_0x2bcb('0x3')]}]},{'model':_0x2bcb('0x16'),'as':_0x2bcb('0x17'),'attributes':['id',_0x2bcb('0x11'),_0x2bcb('0x12'),_0x2bcb('0x18'),_0x2bcb('0x19'),'customField',_0x2bcb('0xf')],'include':[{'model':'Variable','as':_0x2bcb('0x10'),'attributes':['id','name']}]}]}]},'log':_0x2bcb('0x2')});};}; \ No newline at end of file