Built motion from commit e6806ed6.|2.6.0
[motion2.git] / server / services / ami / rpc / integrations / sugarcrm.js
index c624ea8..ed36c01 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x142b=['keyContent','Fields','type','idField','nameField','customField','GetSugarcrmAccount','name','username','password','remoteUri','SugarcrmConfiguration','Configurations','SugarcrmField','content','variableName','Variable','key','keyType'];(function(_0x85f059,_0x27d70e){var _0x3520f7=function(_0x5b7c68){while(--_0x5b7c68){_0x85f059['push'](_0x85f059['shift']());}};_0x3520f7(++_0x27d70e);}(_0x142b,0x1bb));var _0xb142=function(_0x5a59cc,_0x3834fe){_0x5a59cc=_0x5a59cc-0x0;var _0x439407=_0x142b[_0x5a59cc];return _0x439407;};'use strict';var client=require('../../client');exports['getSugarcrmAccounts']=function(){return function(_0x596146){return client['Request'](_0xb142('0x0'),{'options':{'raw':![],'attributes':['id',_0xb142('0x1'),_0xb142('0x2'),_0xb142('0x3'),_0xb142('0x4'),'serverUrl'],'include':[{'model':_0xb142('0x5'),'as':_0xb142('0x6'),'attributes':['id',_0xb142('0x1')],'include':[{'model':_0xb142('0x7'),'as':'Subjects','attributes':['id','type',_0xb142('0x8'),_0xb142('0x9')],'include':[{'model':'Variable','as':_0xb142('0xa'),'attributes':['id',_0xb142('0x1')]}]},{'model':_0xb142('0x7'),'as':'Descriptions','attributes':['id','type','content',_0xb142('0xb'),_0xb142('0xc'),_0xb142('0xd'),'variableName'],'include':[{'model':_0xb142('0xa'),'as':'Variable','attributes':['id','name']}]},{'model':'SugarcrmField','as':_0xb142('0xe'),'attributes':['id',_0xb142('0xf'),'content',_0xb142('0x10'),_0xb142('0x11'),_0xb142('0x12'),'variableName'],'include':[{'model':_0xb142('0xa'),'as':_0xb142('0xa'),'attributes':['id',_0xb142('0x1')]}]}]}]},'log':'GetSugarcrmAccount'});};};
\ No newline at end of file
+var _0x5f2f=['username','password','SugarcrmConfiguration','Configurations','SugarcrmField','Subjects','type','variableName','Variable','Descriptions','key','Fields','content','idField','customField','../../client','getSugarcrmAccounts','Request','GetSugarcrmAccount','name'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x5f2f,0x73));var _0xf5f2=function(_0x516a70,_0x397494){_0x516a70=_0x516a70-0x0;var _0x2d9b64=_0x5f2f[_0x516a70];return _0x2d9b64;};'use strict';var client=require(_0xf5f2('0x0'));exports[_0xf5f2('0x1')]=function(){return function(_0x2dcf60){return client[_0xf5f2('0x2')](_0xf5f2('0x3'),{'options':{'raw':![],'attributes':['id',_0xf5f2('0x4'),_0xf5f2('0x5'),_0xf5f2('0x6'),'remoteUri','serverUrl'],'include':[{'model':_0xf5f2('0x7'),'as':_0xf5f2('0x8'),'attributes':['id',_0xf5f2('0x4')],'include':[{'model':_0xf5f2('0x9'),'as':_0xf5f2('0xa'),'attributes':['id',_0xf5f2('0xb'),'content',_0xf5f2('0xc')],'include':[{'model':_0xf5f2('0xd'),'as':_0xf5f2('0xd'),'attributes':['id','name']}]},{'model':_0xf5f2('0x9'),'as':_0xf5f2('0xe'),'attributes':['id',_0xf5f2('0xb'),'content',_0xf5f2('0xf'),'keyType','keyContent',_0xf5f2('0xc')],'include':[{'model':_0xf5f2('0xd'),'as':'Variable','attributes':['id',_0xf5f2('0x4')]}]},{'model':_0xf5f2('0x9'),'as':_0xf5f2('0x10'),'attributes':['id',_0xf5f2('0xb'),_0xf5f2('0x11'),_0xf5f2('0x12'),'nameField',_0xf5f2('0x13'),_0xf5f2('0xc')],'include':[{'model':_0xf5f2('0xd'),'as':_0xf5f2('0xd'),'attributes':['id',_0xf5f2('0x4')]}]}]}]},'log':'GetSugarcrmAccount'});};};
\ No newline at end of file