Built motion from commit 25580385.|2.6.2
[motion2.git] / server / services / ami / rpc / integrations / freshsales.js
index e9a9c98..64730ac 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf72b=['apiKey','remoteUri','serverUrl','FreshsalesConfiguration','Configurations','Subjects','type','content','variableName','Variable','FreshsalesField','keyType','keyContent','GetFreshsalesccount','../../client','GetFreshsalesAccount','name'];(function(_0x28e2d5,_0x2e95d1){var _0x3a8409=function(_0x4652dc){while(--_0x4652dc){_0x28e2d5['push'](_0x28e2d5['shift']());}};_0x3a8409(++_0x2e95d1);}(_0xf72b,0x1d9));var _0xbf72=function(_0x4dba84,_0x332b86){_0x4dba84=_0x4dba84-0x0;var _0x4b4aa4=_0xf72b[_0x4dba84];return _0x4b4aa4;};'use strict';var client=require(_0xbf72('0x0'));exports['getFreshsalesAccounts']=function(){return function(_0x16c3ad){return client['Request'](_0xbf72('0x1'),{'options':{'raw':![],'attributes':['id',_0xbf72('0x2'),'username',_0xbf72('0x3'),_0xbf72('0x4'),_0xbf72('0x5')],'include':[{'model':_0xbf72('0x6'),'as':_0xbf72('0x7'),'attributes':['id',_0xbf72('0x2')],'include':[{'model':'FreshsalesField','as':_0xbf72('0x8'),'attributes':['id',_0xbf72('0x9'),_0xbf72('0xa'),_0xbf72('0xb')],'include':[{'model':_0xbf72('0xc'),'as':_0xbf72('0xc'),'attributes':['id','name']}]},{'model':_0xbf72('0xd'),'as':'Descriptions','attributes':['id',_0xbf72('0x9'),_0xbf72('0xa'),'key',_0xbf72('0xe'),_0xbf72('0xf'),_0xbf72('0xb')],'include':[{'model':_0xbf72('0xc'),'as':_0xbf72('0xc'),'attributes':['id',_0xbf72('0x2')]}]}]}]},'log':_0xbf72('0x10')});};};
\ 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