Built motion from commit 994c64e1.|2.6.1
[motion2.git] / server / services / ami / rpc / integrations / sugarcrm.js
index fdce376..dc606ab 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0e22=['name','username','remoteUri','SugarcrmConfiguration','Configurations','variableName','Variable','SugarcrmField','Descriptions','content','key','keyContent','Fields','type','idField','nameField','customField','../../client','GetSugarcrmAccount'];(function(_0x12db95,_0x43c770){var _0x2c530b=function(_0x3e7ebb){while(--_0x3e7ebb){_0x12db95['push'](_0x12db95['shift']());}};_0x2c530b(++_0x43c770);}(_0x0e22,0xe2));var _0x20e2=function(_0x3cb09b,_0x31c2a5){_0x3cb09b=_0x3cb09b-0x0;var _0x242048=_0x0e22[_0x3cb09b];return _0x242048;};'use strict';var client=require(_0x20e2('0x0'));exports['getSugarcrmAccounts']=function(){return function(_0x5c86f2){return client['Request'](_0x20e2('0x1'),{'options':{'raw':![],'attributes':['id',_0x20e2('0x2'),_0x20e2('0x3'),'password',_0x20e2('0x4'),'serverUrl'],'include':[{'model':_0x20e2('0x5'),'as':_0x20e2('0x6'),'attributes':['id',_0x20e2('0x2')],'include':[{'model':'SugarcrmField','as':'Subjects','attributes':['id','type','content',_0x20e2('0x7')],'include':[{'model':_0x20e2('0x8'),'as':_0x20e2('0x8'),'attributes':['id',_0x20e2('0x2')]}]},{'model':_0x20e2('0x9'),'as':_0x20e2('0xa'),'attributes':['id','type',_0x20e2('0xb'),_0x20e2('0xc'),'keyType',_0x20e2('0xd'),'variableName'],'include':[{'model':_0x20e2('0x8'),'as':_0x20e2('0x8'),'attributes':['id',_0x20e2('0x2')]}]},{'model':_0x20e2('0x9'),'as':_0x20e2('0xe'),'attributes':['id',_0x20e2('0xf'),_0x20e2('0xb'),_0x20e2('0x10'),_0x20e2('0x11'),_0x20e2('0x12'),'variableName'],'include':[{'model':'Variable','as':'Variable','attributes':['id','name']}]}]}]},'log':_0x20e2('0x1')});};};
\ 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(_0x44ba85,_0x478695){_0x44ba85=_0x44ba85-0x0;var _0x32545d=_0x5f2f[_0x44ba85];return _0x32545d;};'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