Built motion from commit a61a4a20.|2.5.46
[motion2.git] / server / services / ami / rpc / integrations / freshsales.js
index 7140634..9629ece 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1623=['GetFreshsalesccount','../../client','Request','GetFreshsalesAccount','name','username','apiKey','FreshsalesConfiguration','FreshsalesField','type','content','variableName','Variable','Descriptions','key','keyType','keyContent'];(function(_0x56444d,_0x5c8e0c){var _0x3862df=function(_0x5932c5){while(--_0x5932c5){_0x56444d['push'](_0x56444d['shift']());}};_0x3862df(++_0x5c8e0c);}(_0x1623,0xab));var _0x3162=function(_0x898ca9,_0x49a4cd){_0x898ca9=_0x898ca9-0x0;var _0x5684f0=_0x1623[_0x898ca9];return _0x5684f0;};'use strict';var client=require(_0x3162('0x0'));exports['getFreshsalesAccounts']=function(){return function(_0x5b17d4){return client[_0x3162('0x1')](_0x3162('0x2'),{'options':{'raw':![],'attributes':['id',_0x3162('0x3'),_0x3162('0x4'),_0x3162('0x5'),'remoteUri','serverUrl'],'include':[{'model':_0x3162('0x6'),'as':'Configurations','attributes':['id',_0x3162('0x3')],'include':[{'model':_0x3162('0x7'),'as':'Subjects','attributes':['id',_0x3162('0x8'),_0x3162('0x9'),_0x3162('0xa')],'include':[{'model':_0x3162('0xb'),'as':_0x3162('0xb'),'attributes':['id',_0x3162('0x3')]}]},{'model':_0x3162('0x7'),'as':_0x3162('0xc'),'attributes':['id','type','content',_0x3162('0xd'),_0x3162('0xe'),_0x3162('0xf'),_0x3162('0xa')],'include':[{'model':_0x3162('0xb'),'as':_0x3162('0xb'),'attributes':['id',_0x3162('0x3')]}]}]}]},'log':_0x3162('0x10')});};};
\ No newline at end of file
+var _0xe626=['name','username','apiKey','remoteUri','serverUrl','FreshsalesField','Subjects','content','variableName','Variable','Descriptions','keyType','GetFreshsalesccount','../../client','getFreshsalesAccounts','Request'];(function(_0x385c76,_0xb97335){var _0x5c8367=function(_0xdfcd3){while(--_0xdfcd3){_0x385c76['push'](_0x385c76['shift']());}};_0x5c8367(++_0xb97335);}(_0xe626,0x9d));var _0x6e62=function(_0x5cfd7d,_0x48813e){_0x5cfd7d=_0x5cfd7d-0x0;var _0x53a82a=_0xe626[_0x5cfd7d];return _0x53a82a;};'use strict';var client=require(_0x6e62('0x0'));exports[_0x6e62('0x1')]=function(){return function(_0x14eb81){return client[_0x6e62('0x2')]('GetFreshsalesAccount',{'options':{'raw':![],'attributes':['id',_0x6e62('0x3'),_0x6e62('0x4'),_0x6e62('0x5'),_0x6e62('0x6'),_0x6e62('0x7')],'include':[{'model':'FreshsalesConfiguration','as':'Configurations','attributes':['id','name'],'include':[{'model':_0x6e62('0x8'),'as':_0x6e62('0x9'),'attributes':['id','type',_0x6e62('0xa'),_0x6e62('0xb')],'include':[{'model':_0x6e62('0xc'),'as':_0x6e62('0xc'),'attributes':['id','name']}]},{'model':_0x6e62('0x8'),'as':_0x6e62('0xd'),'attributes':['id','type',_0x6e62('0xa'),'key',_0x6e62('0xe'),'keyContent',_0x6e62('0xb')],'include':[{'model':'Variable','as':_0x6e62('0xc'),'attributes':['id',_0x6e62('0x3')]}]}]}]},'log':_0x6e62('0xf')});};};
\ No newline at end of file