Built motion from commit (unavailable).|2.4.2
[motion2.git] / server / services / ami / rpc / integrations / sugarcrm.js
index a38c287..4142180 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5baf=['remoteUri','serverUrl','Subjects','type','content','variableName','Variable','SugarcrmField','keyType','keyContent','Fields','idField','getSugarcrmAccounts','Request','GetSugarcrmAccount','name','password'];(function(_0x9c2427,_0x17c865){var _0x51984f=function(_0x177af6){while(--_0x177af6){_0x9c2427['push'](_0x9c2427['shift']());}};_0x51984f(++_0x17c865);}(_0x5baf,0xfa));var _0xf5ba=function(_0x568d17,_0x5d0ec8){_0x568d17=_0x568d17-0x0;var _0x21c52b=_0x5baf[_0x568d17];return _0x21c52b;};'use strict';var client=require('../../client');exports[_0xf5ba('0x0')]=function(){return function(_0x458add){return client[_0xf5ba('0x1')](_0xf5ba('0x2'),{'options':{'raw':![],'attributes':['id',_0xf5ba('0x3'),'username',_0xf5ba('0x4'),_0xf5ba('0x5'),_0xf5ba('0x6')],'include':[{'model':'SugarcrmConfiguration','as':'Configurations','attributes':['id','name'],'include':[{'model':'SugarcrmField','as':_0xf5ba('0x7'),'attributes':['id',_0xf5ba('0x8'),_0xf5ba('0x9'),_0xf5ba('0xa')],'include':[{'model':_0xf5ba('0xb'),'as':_0xf5ba('0xb'),'attributes':['id',_0xf5ba('0x3')]}]},{'model':_0xf5ba('0xc'),'as':'Descriptions','attributes':['id',_0xf5ba('0x8'),_0xf5ba('0x9'),'key',_0xf5ba('0xd'),_0xf5ba('0xe'),_0xf5ba('0xa')],'include':[{'model':_0xf5ba('0xb'),'as':_0xf5ba('0xb'),'attributes':['id',_0xf5ba('0x3')]}]},{'model':_0xf5ba('0xc'),'as':_0xf5ba('0xf'),'attributes':['id','type',_0xf5ba('0x9'),_0xf5ba('0x10'),'nameField','customField',_0xf5ba('0xa')],'include':[{'model':_0xf5ba('0xb'),'as':_0xf5ba('0xb'),'attributes':['id',_0xf5ba('0x3')]}]}]}]},'log':_0xf5ba('0x2')});};};
\ No newline at end of file
+var _0x9eba=['content','variableName','Variable','type','key','keyContent','Fields','idField','nameField','customField','../../client','getSugarcrmAccounts','Request','GetSugarcrmAccount','name','username','password','remoteUri','serverUrl','Configurations','SugarcrmField','Subjects'];(function(_0x2acf14,_0x24caef){var _0x39e318=function(_0x2330b2){while(--_0x2330b2){_0x2acf14['push'](_0x2acf14['shift']());}};_0x39e318(++_0x24caef);}(_0x9eba,0x112));var _0xa9eb=function(_0x3bf83f,_0x181cac){_0x3bf83f=_0x3bf83f-0x0;var _0x22c4a9=_0x9eba[_0x3bf83f];return _0x22c4a9;};'use strict';var client=require(_0xa9eb('0x0'));exports[_0xa9eb('0x1')]=function(){return function(_0x5b1e59){return client[_0xa9eb('0x2')](_0xa9eb('0x3'),{'options':{'raw':![],'attributes':['id',_0xa9eb('0x4'),_0xa9eb('0x5'),_0xa9eb('0x6'),_0xa9eb('0x7'),_0xa9eb('0x8')],'include':[{'model':'SugarcrmConfiguration','as':_0xa9eb('0x9'),'attributes':['id','name'],'include':[{'model':_0xa9eb('0xa'),'as':_0xa9eb('0xb'),'attributes':['id','type',_0xa9eb('0xc'),_0xa9eb('0xd')],'include':[{'model':_0xa9eb('0xe'),'as':'Variable','attributes':['id','name']}]},{'model':_0xa9eb('0xa'),'as':'Descriptions','attributes':['id',_0xa9eb('0xf'),_0xa9eb('0xc'),_0xa9eb('0x10'),'keyType',_0xa9eb('0x11'),_0xa9eb('0xd')],'include':[{'model':'Variable','as':_0xa9eb('0xe'),'attributes':['id',_0xa9eb('0x4')]}]},{'model':_0xa9eb('0xa'),'as':_0xa9eb('0x12'),'attributes':['id',_0xa9eb('0xf'),_0xa9eb('0xc'),_0xa9eb('0x13'),_0xa9eb('0x14'),_0xa9eb('0x15'),_0xa9eb('0xd')],'include':[{'model':'Variable','as':_0xa9eb('0xe'),'attributes':['id',_0xa9eb('0x4')]}]}]}]},'log':_0xa9eb('0x3')});};};
\ No newline at end of file