X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Ffreshsales.js;h=b05989a63feadb3d59f0e8795e114aaf25bafa0a;hb=4baefdac9c37d4300115b8e539c5781a6d78e036;hp=7c0d74b0e9cf80d1d6ef6a583c629a207033bfff;hpb=8cdeeda1196ee7d2ad7723378ea9a4f6c5d1e83a;p=motion2.git diff --git a/server/services/ami/rpc/integrations/freshsales.js b/server/services/ami/rpc/integrations/freshsales.js index 7c0d74b..b05989a 100644 --- a/server/services/ami/rpc/integrations/freshsales.js +++ b/server/services/ami/rpc/integrations/freshsales.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8ca9=['key','keyType','keyContent','GetFreshsalesccount','../../client','getFreshsalesAccounts','Request','GetFreshsalesAccount','name','username','serverUrl','Configurations','FreshsalesField','Subjects','type','content','variableName','Variable','Descriptions'];(function(_0x113dd2,_0xcf5a46){var _0x3bdbcf=function(_0x2c0e7e){while(--_0x2c0e7e){_0x113dd2['push'](_0x113dd2['shift']());}};_0x3bdbcf(++_0xcf5a46);}(_0x8ca9,0x9c));var _0x98ca=function(_0x58ae9f,_0xcaa7d7){_0x58ae9f=_0x58ae9f-0x0;var _0x4c966d=_0x8ca9[_0x58ae9f];return _0x4c966d;};'use strict';var client=require(_0x98ca('0x0'));exports[_0x98ca('0x1')]=function(){return function(_0x3acd03){return client[_0x98ca('0x2')](_0x98ca('0x3'),{'options':{'raw':![],'attributes':['id',_0x98ca('0x4'),_0x98ca('0x5'),'apiKey','remoteUri',_0x98ca('0x6')],'include':[{'model':'FreshsalesConfiguration','as':_0x98ca('0x7'),'attributes':['id','name'],'include':[{'model':_0x98ca('0x8'),'as':_0x98ca('0x9'),'attributes':['id',_0x98ca('0xa'),_0x98ca('0xb'),_0x98ca('0xc')],'include':[{'model':_0x98ca('0xd'),'as':_0x98ca('0xd'),'attributes':['id',_0x98ca('0x4')]}]},{'model':_0x98ca('0x8'),'as':_0x98ca('0xe'),'attributes':['id',_0x98ca('0xa'),_0x98ca('0xb'),_0x98ca('0xf'),_0x98ca('0x10'),_0x98ca('0x11'),_0x98ca('0xc')],'include':[{'model':_0x98ca('0xd'),'as':_0x98ca('0xd'),'attributes':['id','name']}]}]}]},'log':_0x98ca('0x12')});};}; \ No newline at end of file +var _0xfc17=['Variable','Descriptions','keyContent','GetFreshsalesccount','../../client','getFreshsalesAccounts','Request','name','username','apiKey','remoteUri','serverUrl','FreshsalesConfiguration','FreshsalesField','Subjects','type','content','variableName'];(function(_0x30b701,_0x462383){var _0x2c89eb=function(_0x575520){while(--_0x575520){_0x30b701['push'](_0x30b701['shift']());}};_0x2c89eb(++_0x462383);}(_0xfc17,0x1b4));var _0x7fc1=function(_0x2c6cf2,_0x1905ae){_0x2c6cf2=_0x2c6cf2-0x0;var _0x1206ba=_0xfc17[_0x2c6cf2];return _0x1206ba;};'use strict';var client=require(_0x7fc1('0x0'));exports[_0x7fc1('0x1')]=function(){return function(_0x29db51){return client[_0x7fc1('0x2')]('GetFreshsalesAccount',{'options':{'raw':![],'attributes':['id',_0x7fc1('0x3'),_0x7fc1('0x4'),_0x7fc1('0x5'),_0x7fc1('0x6'),_0x7fc1('0x7')],'include':[{'model':_0x7fc1('0x8'),'as':'Configurations','attributes':['id',_0x7fc1('0x3')],'include':[{'model':_0x7fc1('0x9'),'as':_0x7fc1('0xa'),'attributes':['id',_0x7fc1('0xb'),_0x7fc1('0xc'),_0x7fc1('0xd')],'include':[{'model':_0x7fc1('0xe'),'as':'Variable','attributes':['id',_0x7fc1('0x3')]}]},{'model':_0x7fc1('0x9'),'as':_0x7fc1('0xf'),'attributes':['id','type',_0x7fc1('0xc'),'key','keyType',_0x7fc1('0x10'),_0x7fc1('0xd')],'include':[{'model':_0x7fc1('0xe'),'as':_0x7fc1('0xe'),'attributes':['id',_0x7fc1('0x3')]}]}]}]},'log':_0x7fc1('0x11')});};}; \ No newline at end of file