Built motion from commit 5293bb2a.|2.6.30
[motion2.git] / server / services / ami / rpc / integrations / freshsales.js
index ef5f89d..2fc7a74 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0309=['username','apiKey','remoteUri','serverUrl','FreshsalesConfiguration','FreshsalesField','Subjects','content','Variable','Descriptions','type','keyType','keyContent','variableName','GetFreshsalesccount','../../client','GetFreshsalesAccount','name'];(function(_0x48163a,_0x27ccc){var _0x2aaeda=function(_0x3dfcbe){while(--_0x3dfcbe){_0x48163a['push'](_0x48163a['shift']());}};_0x2aaeda(++_0x27ccc);}(_0x0309,0x165));var _0x9030=function(_0x2b4186,_0x4fa2b1){_0x2b4186=_0x2b4186-0x0;var _0x1b074b=_0x0309[_0x2b4186];return _0x1b074b;};'use strict';var client=require(_0x9030('0x0'));exports['getFreshsalesAccounts']=function(){return function(_0x19fdcc){return client['Request'](_0x9030('0x1'),{'options':{'raw':![],'attributes':['id',_0x9030('0x2'),_0x9030('0x3'),_0x9030('0x4'),_0x9030('0x5'),_0x9030('0x6')],'include':[{'model':_0x9030('0x7'),'as':'Configurations','attributes':['id','name'],'include':[{'model':_0x9030('0x8'),'as':_0x9030('0x9'),'attributes':['id','type',_0x9030('0xa'),'variableName'],'include':[{'model':_0x9030('0xb'),'as':_0x9030('0xb'),'attributes':['id',_0x9030('0x2')]}]},{'model':'FreshsalesField','as':_0x9030('0xc'),'attributes':['id',_0x9030('0xd'),_0x9030('0xa'),'key',_0x9030('0xe'),_0x9030('0xf'),_0x9030('0x10')],'include':[{'model':_0x9030('0xb'),'as':_0x9030('0xb'),'attributes':['id',_0x9030('0x2')]}]}]}]},'log':_0x9030('0x11')});};};
\ No newline at end of file
+var _0x2bd8=['../../client','Request','GetFreshsalesAccount','name','username','apiKey','remoteUri','FreshsalesConfiguration','Configurations','Subjects','type','content','variableName','Variable','keyType','GetFreshsalesccount'];(function(_0x1254cf,_0x4c27a4){var _0x313442=function(_0x3faef5){while(--_0x3faef5){_0x1254cf['push'](_0x1254cf['shift']());}};_0x313442(++_0x4c27a4);}(_0x2bd8,0x130));var _0x82bd=function(_0xb83f94,_0x10b491){_0xb83f94=_0xb83f94-0x0;var _0x5030be=_0x2bd8[_0xb83f94];return _0x5030be;};'use strict';var client=require(_0x82bd('0x0'));exports['getFreshsalesAccounts']=function(){return function(_0x220cfa){return client[_0x82bd('0x1')](_0x82bd('0x2'),{'options':{'raw':![],'attributes':['id',_0x82bd('0x3'),_0x82bd('0x4'),_0x82bd('0x5'),_0x82bd('0x6'),'serverUrl'],'include':[{'model':_0x82bd('0x7'),'as':_0x82bd('0x8'),'attributes':['id',_0x82bd('0x3')],'include':[{'model':'FreshsalesField','as':_0x82bd('0x9'),'attributes':['id',_0x82bd('0xa'),_0x82bd('0xb'),_0x82bd('0xc')],'include':[{'model':'Variable','as':_0x82bd('0xd'),'attributes':['id','name']}]},{'model':'FreshsalesField','as':'Descriptions','attributes':['id',_0x82bd('0xa'),'content','key',_0x82bd('0xe'),'keyContent','variableName'],'include':[{'model':_0x82bd('0xd'),'as':_0x82bd('0xd'),'attributes':['id','name']}]}]}]},'log':_0x82bd('0xf')});};};
\ No newline at end of file