Built motion from commit (unavailable).|2.5.13
[motion2.git] / server / services / ami / rpc / integrations / sugarcrm.js
index be9a12a..62944c9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xed29=['keyType','keyContent','idField','nameField','GetSugarcrmAccount','Request','remoteUri','SugarcrmConfiguration','SugarcrmField','Subjects','type','variableName','Variable','name','Descriptions','content'];(function(_0x2c8251,_0x53636e){var _0x2a74b3=function(_0x388bf2){while(--_0x388bf2){_0x2c8251['push'](_0x2c8251['shift']());}};_0x2a74b3(++_0x53636e);}(_0xed29,0xc5));var _0x9ed2=function(_0x1bab18,_0xcf062){_0x1bab18=_0x1bab18-0x0;var _0x464bd7=_0xed29[_0x1bab18];return _0x464bd7;};'use strict';var client=require('../../client');exports['getSugarcrmAccounts']=function(){return function(_0x1eb8e9){return client[_0x9ed2('0x0')]('GetSugarcrmAccount',{'options':{'raw':![],'attributes':['id','name','username','password',_0x9ed2('0x1'),'serverUrl'],'include':[{'model':_0x9ed2('0x2'),'as':'Configurations','attributes':['id','name'],'include':[{'model':_0x9ed2('0x3'),'as':_0x9ed2('0x4'),'attributes':['id',_0x9ed2('0x5'),'content',_0x9ed2('0x6')],'include':[{'model':_0x9ed2('0x7'),'as':_0x9ed2('0x7'),'attributes':['id',_0x9ed2('0x8')]}]},{'model':_0x9ed2('0x3'),'as':_0x9ed2('0x9'),'attributes':['id','type',_0x9ed2('0xa'),'key',_0x9ed2('0xb'),_0x9ed2('0xc'),'variableName'],'include':[{'model':_0x9ed2('0x7'),'as':_0x9ed2('0x7'),'attributes':['id','name']}]},{'model':_0x9ed2('0x3'),'as':'Fields','attributes':['id','type',_0x9ed2('0xa'),_0x9ed2('0xd'),_0x9ed2('0xe'),'customField',_0x9ed2('0x6')],'include':[{'model':_0x9ed2('0x7'),'as':_0x9ed2('0x7'),'attributes':['id','name']}]}]}]},'log':_0x9ed2('0xf')});};};
\ No newline at end of file
+var _0x1361=['GetSugarcrmAccount','../../client','remoteUri','serverUrl','SugarcrmConfiguration','Configurations','name','type','content','variableName','Variable','Descriptions','key','keyType','keyContent','SugarcrmField','Fields','idField','nameField','customField'];(function(_0x14282a,_0x61007f){var _0x298c2f=function(_0x5a997a){while(--_0x5a997a){_0x14282a['push'](_0x14282a['shift']());}};_0x298c2f(++_0x61007f);}(_0x1361,0x141));var _0x1136=function(_0x3e92c4,_0x47cc76){_0x3e92c4=_0x3e92c4-0x0;var _0x2ada99=_0x1361[_0x3e92c4];return _0x2ada99;};'use strict';var client=require(_0x1136('0x0'));exports['getSugarcrmAccounts']=function(){return function(_0x4c71f0){return client['Request']('GetSugarcrmAccount',{'options':{'raw':![],'attributes':['id','name','username','password',_0x1136('0x1'),_0x1136('0x2')],'include':[{'model':_0x1136('0x3'),'as':_0x1136('0x4'),'attributes':['id',_0x1136('0x5')],'include':[{'model':'SugarcrmField','as':'Subjects','attributes':['id',_0x1136('0x6'),_0x1136('0x7'),_0x1136('0x8')],'include':[{'model':_0x1136('0x9'),'as':'Variable','attributes':['id',_0x1136('0x5')]}]},{'model':'SugarcrmField','as':_0x1136('0xa'),'attributes':['id',_0x1136('0x6'),_0x1136('0x7'),_0x1136('0xb'),_0x1136('0xc'),_0x1136('0xd'),_0x1136('0x8')],'include':[{'model':_0x1136('0x9'),'as':_0x1136('0x9'),'attributes':['id',_0x1136('0x5')]}]},{'model':_0x1136('0xe'),'as':_0x1136('0xf'),'attributes':['id',_0x1136('0x6'),_0x1136('0x7'),_0x1136('0x10'),_0x1136('0x11'),_0x1136('0x12'),_0x1136('0x8')],'include':[{'model':_0x1136('0x9'),'as':_0x1136('0x9'),'attributes':['id',_0x1136('0x5')]}]}]}]},'log':_0x1136('0x13')});};};
\ No newline at end of file