Built motion from commit e6806ed6.|2.6.0
[motion2.git] / server / services / ami / rpc / integrations / sugarcrm.js
index 29eb24c..ed36c01 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 _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(_0x516a70,_0x397494){_0x516a70=_0x516a70-0x0;var _0x2d9b64=_0x5f2f[_0x516a70];return _0x2d9b64;};'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