Built motion from commit e6806ed6.|2.6.0
[motion2.git] / server / services / ami / rpc / integrations / sugarcrm.js
index 67563c4..ed36c01 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb0d7=['customField','variableName','../../client','Request','GetSugarcrmAccount','name','username','remoteUri','serverUrl','SugarcrmConfiguration','Configurations','SugarcrmField','Subjects','type','Variable','Descriptions','content','key','keyType','keyContent','Fields','idField'];(function(_0x1acb0e,_0x17d78e){var _0x339f50=function(_0x452ced){while(--_0x452ced){_0x1acb0e['push'](_0x1acb0e['shift']());}};_0x339f50(++_0x17d78e);}(_0xb0d7,0x178));var _0x7b0d=function(_0xa10502,_0x29c854){_0xa10502=_0xa10502-0x0;var _0x3b909d=_0xb0d7[_0xa10502];return _0x3b909d;};'use strict';var client=require(_0x7b0d('0x0'));exports['getSugarcrmAccounts']=function(){return function(_0x20aca8){return client[_0x7b0d('0x1')](_0x7b0d('0x2'),{'options':{'raw':![],'attributes':['id',_0x7b0d('0x3'),_0x7b0d('0x4'),'password',_0x7b0d('0x5'),_0x7b0d('0x6')],'include':[{'model':_0x7b0d('0x7'),'as':_0x7b0d('0x8'),'attributes':['id',_0x7b0d('0x3')],'include':[{'model':_0x7b0d('0x9'),'as':_0x7b0d('0xa'),'attributes':['id',_0x7b0d('0xb'),'content','variableName'],'include':[{'model':_0x7b0d('0xc'),'as':_0x7b0d('0xc'),'attributes':['id',_0x7b0d('0x3')]}]},{'model':_0x7b0d('0x9'),'as':_0x7b0d('0xd'),'attributes':['id',_0x7b0d('0xb'),_0x7b0d('0xe'),_0x7b0d('0xf'),_0x7b0d('0x10'),_0x7b0d('0x11'),'variableName'],'include':[{'model':_0x7b0d('0xc'),'as':_0x7b0d('0xc'),'attributes':['id',_0x7b0d('0x3')]}]},{'model':'SugarcrmField','as':_0x7b0d('0x12'),'attributes':['id','type',_0x7b0d('0xe'),_0x7b0d('0x13'),'nameField',_0x7b0d('0x14'),_0x7b0d('0x15')],'include':[{'model':'Variable','as':_0x7b0d('0xc'),'attributes':['id','name']}]}]}]},'log':_0x7b0d('0x2')});};};
\ 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