Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / services / ami / rpc / integrations / sugarcrm.js
index 29eb24c..10f5269 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 _0x66fa=['password','remoteUri','serverUrl','SugarcrmField','Subjects','type','content','Variable','Descriptions','keyType','keyContent','Fields','customField','../../client','getSugarcrmAccounts','Request','GetSugarcrmAccount','name','username'];(function(_0x3eeaee,_0x55727e){var _0x182ece=function(_0x402664){while(--_0x402664){_0x3eeaee['push'](_0x3eeaee['shift']());}};_0x182ece(++_0x55727e);}(_0x66fa,0x117));var _0xa66f=function(_0x30eac3,_0x24e0c9){_0x30eac3=_0x30eac3-0x0;var _0x3505ce=_0x66fa[_0x30eac3];return _0x3505ce;};'use strict';var client=require(_0xa66f('0x0'));exports[_0xa66f('0x1')]=function(){return function(_0x52947a){return client[_0xa66f('0x2')](_0xa66f('0x3'),{'options':{'raw':![],'attributes':['id',_0xa66f('0x4'),_0xa66f('0x5'),_0xa66f('0x6'),_0xa66f('0x7'),_0xa66f('0x8')],'include':[{'model':'SugarcrmConfiguration','as':'Configurations','attributes':['id',_0xa66f('0x4')],'include':[{'model':_0xa66f('0x9'),'as':_0xa66f('0xa'),'attributes':['id',_0xa66f('0xb'),_0xa66f('0xc'),'variableName'],'include':[{'model':_0xa66f('0xd'),'as':'Variable','attributes':['id',_0xa66f('0x4')]}]},{'model':'SugarcrmField','as':_0xa66f('0xe'),'attributes':['id','type','content','key',_0xa66f('0xf'),_0xa66f('0x10'),'variableName'],'include':[{'model':_0xa66f('0xd'),'as':'Variable','attributes':['id',_0xa66f('0x4')]}]},{'model':'SugarcrmField','as':_0xa66f('0x11'),'attributes':['id',_0xa66f('0xb'),_0xa66f('0xc'),'idField','nameField',_0xa66f('0x12'),'variableName'],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0xa66f('0x4')]}]}]}]},'log':_0xa66f('0x3')});};};
\ No newline at end of file