Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / services / ami / rpc / integrations / sugarcrm.js
index 1f7c99b..7a8e1b0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4975=['username','password','remoteUri','serverUrl','SugarcrmConfiguration','Configurations','SugarcrmField','type','content','variableName','Variable','Descriptions','key','keyType','keyContent','Fields','idField','nameField','customField','../../client','Request','GetSugarcrmAccount','name'];(function(_0x4d4ff3,_0x2d3fe5){var _0x4e530f=function(_0x307fd3){while(--_0x307fd3){_0x4d4ff3['push'](_0x4d4ff3['shift']());}};_0x4e530f(++_0x2d3fe5);}(_0x4975,0x86));var _0x5497=function(_0x48cc75,_0x15707a){_0x48cc75=_0x48cc75-0x0;var _0x1d181f=_0x4975[_0x48cc75];return _0x1d181f;};'use strict';var client=require(_0x5497('0x0'));exports['getSugarcrmAccounts']=function(){return function(_0x474989){return client[_0x5497('0x1')](_0x5497('0x2'),{'options':{'raw':![],'attributes':['id',_0x5497('0x3'),_0x5497('0x4'),_0x5497('0x5'),_0x5497('0x6'),_0x5497('0x7')],'include':[{'model':_0x5497('0x8'),'as':_0x5497('0x9'),'attributes':['id','name'],'include':[{'model':_0x5497('0xa'),'as':'Subjects','attributes':['id',_0x5497('0xb'),_0x5497('0xc'),_0x5497('0xd')],'include':[{'model':'Variable','as':_0x5497('0xe'),'attributes':['id','name']}]},{'model':_0x5497('0xa'),'as':_0x5497('0xf'),'attributes':['id',_0x5497('0xb'),_0x5497('0xc'),_0x5497('0x10'),_0x5497('0x11'),_0x5497('0x12'),_0x5497('0xd')],'include':[{'model':'Variable','as':'Variable','attributes':['id','name']}]},{'model':_0x5497('0xa'),'as':_0x5497('0x13'),'attributes':['id',_0x5497('0xb'),_0x5497('0xc'),_0x5497('0x14'),_0x5497('0x15'),_0x5497('0x16'),_0x5497('0xd')],'include':[{'model':_0x5497('0xe'),'as':_0x5497('0xe'),'attributes':['id','name']}]}]}]},'log':_0x5497('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(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x5f2f,0x73));var _0xf5f2=function(_0x1fadd8,_0x33062b){_0x1fadd8=_0x1fadd8-0x0;var _0x5c83b6=_0x5f2f[_0x1fadd8];return _0x5c83b6;};'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