Built motion from commit cf5ff673.|2.5.41
[motion2.git] / server / services / ami / rpc / integrations / freshsales.js
index 447fade..55c1f18 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0e4b=['getFreshsalesAccounts','GetFreshsalesAccount','serverUrl','FreshsalesConfiguration','name','FreshsalesField','Subjects','type','content','Variable','Descriptions','key','keyType','keyContent','variableName','GetFreshsalesccount','../../client'];(function(_0x46e363,_0x45d7e2){var _0x3fb059=function(_0x5e6274){while(--_0x5e6274){_0x46e363['push'](_0x46e363['shift']());}};_0x3fb059(++_0x45d7e2);}(_0x0e4b,0xdc));var _0xb0e4=function(_0x1e7325,_0x492282){_0x1e7325=_0x1e7325-0x0;var _0x24f443=_0x0e4b[_0x1e7325];return _0x24f443;};'use strict';var client=require(_0xb0e4('0x0'));exports[_0xb0e4('0x1')]=function(){return function(_0x65d4d1){return client['Request'](_0xb0e4('0x2'),{'options':{'raw':![],'attributes':['id','name','username','apiKey','remoteUri',_0xb0e4('0x3')],'include':[{'model':_0xb0e4('0x4'),'as':'Configurations','attributes':['id',_0xb0e4('0x5')],'include':[{'model':_0xb0e4('0x6'),'as':_0xb0e4('0x7'),'attributes':['id',_0xb0e4('0x8'),_0xb0e4('0x9'),'variableName'],'include':[{'model':'Variable','as':_0xb0e4('0xa'),'attributes':['id',_0xb0e4('0x5')]}]},{'model':_0xb0e4('0x6'),'as':_0xb0e4('0xb'),'attributes':['id',_0xb0e4('0x8'),_0xb0e4('0x9'),_0xb0e4('0xc'),_0xb0e4('0xd'),_0xb0e4('0xe'),_0xb0e4('0xf')],'include':[{'model':_0xb0e4('0xa'),'as':_0xb0e4('0xa'),'attributes':['id',_0xb0e4('0x5')]}]}]}]},'log':_0xb0e4('0x10')});};};
\ No newline at end of file
+var _0x4975=['remoteUri','serverUrl','FreshsalesConfiguration','Configurations','FreshsalesField','type','content','variableName','Variable','Descriptions','key','keyType','keyContent','GetFreshsalesccount','../../client','Request','GetFreshsalesAccount','name','username','apiKey'];(function(_0x4ad6f2,_0x1a7325){var _0x299fb4=function(_0x33d37b){while(--_0x33d37b){_0x4ad6f2['push'](_0x4ad6f2['shift']());}};_0x299fb4(++_0x1a7325);}(_0x4975,0x86));var _0x5497=function(_0x35af76,_0x4f91ad){_0x35af76=_0x35af76-0x0;var _0x4414fe=_0x4975[_0x35af76];return _0x4414fe;};'use strict';var client=require(_0x5497('0x0'));exports['getFreshsalesAccounts']=function(){return function(_0x474989){return client[_0x5497('0x1')](_0x5497('0x2'),{'options':{'raw':![],'attributes':['id',_0x5497('0x3'),_0x5497('0x4'),_0x5497('0x5'),_0x5497('0x6'),_0x5497('0x7')],'include':[{'model':_0x5497('0x8'),'as':_0x5497('0x9'),'attributes':['id','name'],'include':[{'model':_0x5497('0xa'),'as':'Subjects','attributes':['id',_0x5497('0xb'),_0x5497('0xc'),_0x5497('0xd')],'include':[{'model':'Variable','as':_0x5497('0xe'),'attributes':['id','name']}]},{'model':_0x5497('0xa'),'as':_0x5497('0xf'),'attributes':['id',_0x5497('0xb'),_0x5497('0xc'),_0x5497('0x10'),_0x5497('0x11'),_0x5497('0x12'),_0x5497('0xd')],'include':[{'model':'Variable','as':'Variable','attributes':['id','name']}]}]}]},'log':_0x5497('0x13')});};};
\ No newline at end of file