X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Fzoho.js;h=04f57bf9549c84f3fefc8b3b92c09575776fc611;hb=0fe7d63fdd24ac799f5260a5b10b06097955b09f;hp=c4b7a5c04d2fb7067d5082b53c45f1823ba9f9e6;hpb=5f45565bbb2b5703cd70578e7b3fd5f6753b6a10;p=motion2.git diff --git a/server/services/ami/rpc/integrations/zoho.js b/server/services/ami/rpc/integrations/zoho.js index c4b7a5c..04f57bf 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 _0x66a1=['type','variableName','Variable','ZohoField','Descriptions','content','key','keyType','keyContent','Fields','idField','nameField','../../client','getZohoAccounts','GetZohoAccount','name','description','host','zone','clientId','clientSecret','serverUrl','refreshToken','Configurations','moduleCreate','moduleSearch'];(function(_0x72ebdc,_0xebba9d){var _0x14dd5b=function(_0x10e70c){while(--_0x10e70c){_0x72ebdc['push'](_0x72ebdc['shift']());}};_0x14dd5b(++_0xebba9d);}(_0x66a1,0x74));var _0x166a=function(_0x46d797,_0x2abc85){_0x46d797=_0x46d797-0x0;var _0x24f190=_0x66a1[_0x46d797];return _0x24f190;};'use strict';var client=require(_0x166a('0x0'));exports[_0x166a('0x1')]=function(){return function(_0x4d43e5){return client['Request'](_0x166a('0x2'),{'options':{'raw':![],'attributes':['id',_0x166a('0x3'),_0x166a('0x4'),_0x166a('0x5'),_0x166a('0x6'),_0x166a('0x7'),_0x166a('0x8'),_0x166a('0x9'),'code',_0x166a('0xa')],'include':[{'model':'ZohoConfiguration','as':_0x166a('0xb'),'attributes':['id',_0x166a('0x3'),_0x166a('0xc'),_0x166a('0xd'),_0x166a('0x4')],'include':[{'model':'ZohoField','as':'Subjects','attributes':['id',_0x166a('0xe'),'content',_0x166a('0xf')],'include':[{'model':_0x166a('0x10'),'as':_0x166a('0x10'),'attributes':['id','name']}]},{'model':_0x166a('0x11'),'as':_0x166a('0x12'),'attributes':['id',_0x166a('0xe'),_0x166a('0x13'),_0x166a('0x14'),_0x166a('0x15'),_0x166a('0x16'),_0x166a('0xf')],'include':[{'model':_0x166a('0x10'),'as':_0x166a('0x10'),'attributes':['id',_0x166a('0x3')]}]},{'model':_0x166a('0x11'),'as':_0x166a('0x17'),'attributes':['id',_0x166a('0xe'),_0x166a('0x13'),_0x166a('0x18'),_0x166a('0x19'),'customField',_0x166a('0xf')],'include':[{'model':_0x166a('0x10'),'as':_0x166a('0x10'),'attributes':['id',_0x166a('0x3')]}]}]}]},'log':_0x166a('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