Built motion from commit 25580385.|2.6.2
[motion2.git] / server / services / ami / rpc / integrations / freshsales.js
index a6f2bef..64730ac 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x98b7=['serverUrl','FreshsalesConfiguration','Configurations','FreshsalesField','type','content','variableName','Variable','key','keyType','keyContent','name','GetFreshsalesccount','../../client','getFreshsalesAccounts','Request','apiKey','remoteUri'];(function(_0x42bdad,_0x12836c){var _0x122626=function(_0x2eb29c){while(--_0x2eb29c){_0x42bdad['push'](_0x42bdad['shift']());}};_0x122626(++_0x12836c);}(_0x98b7,0xc1));var _0x798b=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0x98b7[_0x2c91e9];return _0x13f0ff;};'use strict';var client=require(_0x798b('0x0'));exports[_0x798b('0x1')]=function(){return function(_0x622719){return client[_0x798b('0x2')]('GetFreshsalesAccount',{'options':{'raw':![],'attributes':['id','name','username',_0x798b('0x3'),_0x798b('0x4'),_0x798b('0x5')],'include':[{'model':_0x798b('0x6'),'as':_0x798b('0x7'),'attributes':['id','name'],'include':[{'model':_0x798b('0x8'),'as':'Subjects','attributes':['id',_0x798b('0x9'),_0x798b('0xa'),_0x798b('0xb')],'include':[{'model':_0x798b('0xc'),'as':_0x798b('0xc'),'attributes':['id','name']}]},{'model':_0x798b('0x8'),'as':'Descriptions','attributes':['id',_0x798b('0x9'),'content',_0x798b('0xd'),_0x798b('0xe'),_0x798b('0xf'),'variableName'],'include':[{'model':'Variable','as':_0x798b('0xc'),'attributes':['id',_0x798b('0x10')]}]}]}]},'log':_0x798b('0x11')});};};
\ No newline at end of file
+var _0x5d58=['username','remoteUri','serverUrl','Configurations','FreshsalesField','Subjects','content','variableName','Variable','Descriptions','type','keyContent','GetFreshsalesccount','name'];(function(_0x2e2ea3,_0x142fc6){var _0x3487f0=function(_0x501ceb){while(--_0x501ceb){_0x2e2ea3['push'](_0x2e2ea3['shift']());}};_0x3487f0(++_0x142fc6);}(_0x5d58,0x187));var _0x85d5=function(_0x10a2e6,_0x573d72){_0x10a2e6=_0x10a2e6-0x0;var _0x1aaac1=_0x5d58[_0x10a2e6];return _0x1aaac1;};'use strict';var client=require('../../client');exports['getFreshsalesAccounts']=function(){return function(_0x5e2da7){return client['Request']('GetFreshsalesAccount',{'options':{'raw':![],'attributes':['id',_0x85d5('0x0'),_0x85d5('0x1'),'apiKey',_0x85d5('0x2'),_0x85d5('0x3')],'include':[{'model':'FreshsalesConfiguration','as':_0x85d5('0x4'),'attributes':['id',_0x85d5('0x0')],'include':[{'model':_0x85d5('0x5'),'as':_0x85d5('0x6'),'attributes':['id','type',_0x85d5('0x7'),_0x85d5('0x8')],'include':[{'model':'Variable','as':_0x85d5('0x9'),'attributes':['id','name']}]},{'model':_0x85d5('0x5'),'as':_0x85d5('0xa'),'attributes':['id',_0x85d5('0xb'),'content','key','keyType',_0x85d5('0xc'),_0x85d5('0x8')],'include':[{'model':_0x85d5('0x9'),'as':_0x85d5('0x9'),'attributes':['id',_0x85d5('0x0')]}]}]}]},'log':_0x85d5('0xd')});};};
\ No newline at end of file