X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Fzoho.js;h=99dfa1add0d99db06e6e4cf6708d635ab9fb7e09;hb=b2ace134e5eb466deeb396f27c0c22876a7ffeae;hp=ea6bd8ab3670c88252614de28999766c5af77cef;hpb=1cbea9968374417f5ef7ed28a7dcafc2708baa38;p=motion2.git diff --git a/server/services/ami/rpc/integrations/zoho.js b/server/services/ami/rpc/integrations/zoho.js index ea6bd8a..99dfa1a 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 _0xbfcc=['host','zone','clientId','clientSecret','serverUrl','ZohoConfiguration','Configurations','moduleCreate','moduleSearch','description','ZohoField','content','variableName','Variable','name','Descriptions','type','key','keyType','keyContent','Fields','idField','nameField','customField','../../client','getZohoAccounts','Request','GetZohoAccount'];(function(_0x252cd1,_0x4712d1){var _0x2e3cc1=function(_0x50262e){while(--_0x50262e){_0x252cd1['push'](_0x252cd1['shift']());}};_0x2e3cc1(++_0x4712d1);}(_0xbfcc,0x6c));var _0xcbfc=function(_0x4eec9b,_0x4aea09){_0x4eec9b=_0x4eec9b-0x0;var _0x2e3849=_0xbfcc[_0x4eec9b];return _0x2e3849;};'use strict';var client=require(_0xcbfc('0x0'));exports[_0xcbfc('0x1')]=function(){return function(_0x17bc60){return client[_0xcbfc('0x2')](_0xcbfc('0x3'),{'options':{'raw':![],'attributes':['id','name','description',_0xcbfc('0x4'),_0xcbfc('0x5'),_0xcbfc('0x6'),_0xcbfc('0x7'),_0xcbfc('0x8'),'code','refreshToken'],'include':[{'model':_0xcbfc('0x9'),'as':_0xcbfc('0xa'),'attributes':['id','name',_0xcbfc('0xb'),_0xcbfc('0xc'),_0xcbfc('0xd')],'include':[{'model':_0xcbfc('0xe'),'as':'Subjects','attributes':['id','type',_0xcbfc('0xf'),_0xcbfc('0x10')],'include':[{'model':_0xcbfc('0x11'),'as':_0xcbfc('0x11'),'attributes':['id',_0xcbfc('0x12')]}]},{'model':'ZohoField','as':_0xcbfc('0x13'),'attributes':['id',_0xcbfc('0x14'),'content',_0xcbfc('0x15'),_0xcbfc('0x16'),_0xcbfc('0x17'),_0xcbfc('0x10')],'include':[{'model':_0xcbfc('0x11'),'as':'Variable','attributes':['id',_0xcbfc('0x12')]}]},{'model':_0xcbfc('0xe'),'as':_0xcbfc('0x18'),'attributes':['id',_0xcbfc('0x14'),'content',_0xcbfc('0x19'),_0xcbfc('0x1a'),_0xcbfc('0x1b'),_0xcbfc('0x10')],'include':[{'model':_0xcbfc('0x11'),'as':'Variable','attributes':['id',_0xcbfc('0x12')]}]}]}]},'log':_0xcbfc('0x3')});};}; \ No newline at end of file +var _0xbdee=['name','description','host','clientId','clientSecret','serverUrl','code','refreshToken','ZohoConfiguration','Configurations','moduleCreate','moduleSearch','content','variableName','Variable','Descriptions','type','keyContent','ZohoField','Fields','idField','customField','../../client','getZohoAccounts','Request'];(function(_0x34e198,_0x50a639){var _0xa381e9=function(_0x3b3817){while(--_0x3b3817){_0x34e198['push'](_0x34e198['shift']());}};_0xa381e9(++_0x50a639);}(_0xbdee,0x174));var _0xebde=function(_0x4360c4,_0x2f8209){_0x4360c4=_0x4360c4-0x0;var _0x3168c8=_0xbdee[_0x4360c4];return _0x3168c8;};'use strict';var client=require(_0xebde('0x0'));exports[_0xebde('0x1')]=function(){return function(_0x3ad643){return client[_0xebde('0x2')]('GetZohoAccount',{'options':{'raw':![],'attributes':['id',_0xebde('0x3'),_0xebde('0x4'),_0xebde('0x5'),'zone',_0xebde('0x6'),_0xebde('0x7'),_0xebde('0x8'),_0xebde('0x9'),_0xebde('0xa')],'include':[{'model':_0xebde('0xb'),'as':_0xebde('0xc'),'attributes':['id',_0xebde('0x3'),_0xebde('0xd'),_0xebde('0xe'),'description'],'include':[{'model':'ZohoField','as':'Subjects','attributes':['id','type',_0xebde('0xf'),_0xebde('0x10')],'include':[{'model':_0xebde('0x11'),'as':'Variable','attributes':['id',_0xebde('0x3')]}]},{'model':'ZohoField','as':_0xebde('0x12'),'attributes':['id',_0xebde('0x13'),'content','key','keyType',_0xebde('0x14'),_0xebde('0x10')],'include':[{'model':_0xebde('0x11'),'as':'Variable','attributes':['id',_0xebde('0x3')]}]},{'model':_0xebde('0x15'),'as':_0xebde('0x16'),'attributes':['id',_0xebde('0x13'),_0xebde('0xf'),_0xebde('0x17'),'nameField',_0xebde('0x18'),_0xebde('0x10')],'include':[{'model':_0xebde('0x11'),'as':'Variable','attributes':['id',_0xebde('0x3')]}]}]}]},'log':'GetZohoAccount'});};}; \ No newline at end of file