Built motion from commit 994c64e1.|2.6.1
[motion2.git] / server / services / ami / rpc / integrations / sugarcrm.js
index 13b7471..dc606ab 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1f39=['type','key','keyContent','Fields','idField','nameField','customField','../../client','Request','GetSugarcrmAccount','name','username','remoteUri','serverUrl','SugarcrmField','Subjects','content','variableName','Variable','Descriptions'];(function(_0x4a2b3d,_0x2c15cd){var _0x5a2585=function(_0x43509e){while(--_0x43509e){_0x4a2b3d['push'](_0x4a2b3d['shift']());}};_0x5a2585(++_0x2c15cd);}(_0x1f39,0x1bf));var _0x91f3=function(_0x5890f9,_0xb07eff){_0x5890f9=_0x5890f9-0x0;var _0x119cd4=_0x1f39[_0x5890f9];return _0x119cd4;};'use strict';var client=require(_0x91f3('0x0'));exports['getSugarcrmAccounts']=function(){return function(_0x3f90a6){return client[_0x91f3('0x1')](_0x91f3('0x2'),{'options':{'raw':![],'attributes':['id',_0x91f3('0x3'),_0x91f3('0x4'),'password',_0x91f3('0x5'),_0x91f3('0x6')],'include':[{'model':'SugarcrmConfiguration','as':'Configurations','attributes':['id','name'],'include':[{'model':_0x91f3('0x7'),'as':_0x91f3('0x8'),'attributes':['id','type',_0x91f3('0x9'),_0x91f3('0xa')],'include':[{'model':_0x91f3('0xb'),'as':_0x91f3('0xb'),'attributes':['id',_0x91f3('0x3')]}]},{'model':'SugarcrmField','as':_0x91f3('0xc'),'attributes':['id',_0x91f3('0xd'),_0x91f3('0x9'),_0x91f3('0xe'),'keyType',_0x91f3('0xf'),_0x91f3('0xa')],'include':[{'model':_0x91f3('0xb'),'as':_0x91f3('0xb'),'attributes':['id',_0x91f3('0x3')]}]},{'model':'SugarcrmField','as':_0x91f3('0x10'),'attributes':['id',_0x91f3('0xd'),_0x91f3('0x9'),_0x91f3('0x11'),_0x91f3('0x12'),_0x91f3('0x13'),_0x91f3('0xa')],'include':[{'model':'Variable','as':_0x91f3('0xb'),'attributes':['id',_0x91f3('0x3')]}]}]}]},'log':_0x91f3('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(_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