Built motion from commit (unavailable).|2.5.1
[motion2.git] / server / services / ami / rpc / integrations / sugarcrm.js
index 29eb24c..be9a12a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf08f=['content','Variable','Descriptions','type','keyType','variableName','Fields','idField','customField','Request','GetSugarcrmAccount','name','username','remoteUri','serverUrl','SugarcrmField','Subjects'];(function(_0x4e6ae6,_0x49dba6){var _0x23c108=function(_0x1bc103){while(--_0x1bc103){_0x4e6ae6['push'](_0x4e6ae6['shift']());}};_0x23c108(++_0x49dba6);}(_0xf08f,0x1c3));var _0xff08=function(_0x770f7,_0x3af003){_0x770f7=_0x770f7-0x0;var _0xe797c6=_0xf08f[_0x770f7];return _0xe797c6;};'use strict';var client=require('../../client');exports['getSugarcrmAccounts']=function(){return function(_0x264b1e){return client[_0xff08('0x0')](_0xff08('0x1'),{'options':{'raw':![],'attributes':['id',_0xff08('0x2'),_0xff08('0x3'),'password',_0xff08('0x4'),_0xff08('0x5')],'include':[{'model':'SugarcrmConfiguration','as':'Configurations','attributes':['id',_0xff08('0x2')],'include':[{'model':_0xff08('0x6'),'as':_0xff08('0x7'),'attributes':['id','type',_0xff08('0x8'),'variableName'],'include':[{'model':'Variable','as':_0xff08('0x9'),'attributes':['id',_0xff08('0x2')]}]},{'model':'SugarcrmField','as':_0xff08('0xa'),'attributes':['id',_0xff08('0xb'),_0xff08('0x8'),'key',_0xff08('0xc'),'keyContent',_0xff08('0xd')],'include':[{'model':_0xff08('0x9'),'as':_0xff08('0x9'),'attributes':['id',_0xff08('0x2')]}]},{'model':_0xff08('0x6'),'as':_0xff08('0xe'),'attributes':['id',_0xff08('0xb'),_0xff08('0x8'),_0xff08('0xf'),'nameField',_0xff08('0x10'),_0xff08('0xd')],'include':[{'model':'Variable','as':_0xff08('0x9'),'attributes':['id','name']}]}]}]},'log':'GetSugarcrmAccount'});};};
\ No newline at end of file
+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