Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / services / ami / rpc / integrations / vtiger.js
index 78476a1..8a57914 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa22e=['key','keyType','keyContent','Fields','nameField','customField','GetVtigerAccount','name','description','accessKey','remoteUri','serverUrl','VtigerConfiguration','Configurations','VtigerField','Subjects','type','content','variableName','Variable','Descriptions'];(function(_0x4bca73,_0xf4d6c6){var _0x656bcf=function(_0xfb3805){while(--_0xfb3805){_0x4bca73['push'](_0x4bca73['shift']());}};_0x656bcf(++_0xf4d6c6);}(_0xa22e,0x1aa));var _0xea22=function(_0x578658,_0x5b432b){_0x578658=_0x578658-0x0;var _0x18555f=_0xa22e[_0x578658];return _0x18555f;};'use strict';var client=require('../../client');exports['getVtigerAccounts']=function(){return function(_0x1fbd93){return client['Request'](_0xea22('0x0'),{'options':{'raw':![],'attributes':['id',_0xea22('0x1'),_0xea22('0x2'),'username',_0xea22('0x3'),_0xea22('0x4'),_0xea22('0x5')],'include':[{'model':_0xea22('0x6'),'as':_0xea22('0x7'),'attributes':['id','name'],'include':[{'model':_0xea22('0x8'),'as':_0xea22('0x9'),'attributes':['id',_0xea22('0xa'),_0xea22('0xb'),_0xea22('0xc')],'include':[{'model':_0xea22('0xd'),'as':_0xea22('0xd'),'attributes':['id',_0xea22('0x1')]}]},{'model':_0xea22('0x8'),'as':_0xea22('0xe'),'attributes':['id',_0xea22('0xa'),'content',_0xea22('0xf'),_0xea22('0x10'),_0xea22('0x11'),_0xea22('0xc')],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0xea22('0x1')]}]},{'model':_0xea22('0x8'),'as':_0xea22('0x12'),'attributes':['id',_0xea22('0xa'),_0xea22('0xb'),'idField',_0xea22('0x13'),_0xea22('0x14'),_0xea22('0xc')],'include':[{'model':_0xea22('0xd'),'as':_0xea22('0xd'),'attributes':['id',_0xea22('0x1')]}]}]}]},'log':'GetVtigerAccount'});};};
\ No newline at end of file
+var _0xbb6b=['getVtigerAccounts','Request','name','description','accessKey','serverUrl','VtigerField','Subjects','type','content','variableName','Variable','key','idField','nameField','customField','GetVtigerAccount','../../client'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xbb6b,0x179));var _0xbbb6=function(_0x5d4d43,_0x3a83c5){_0x5d4d43=_0x5d4d43-0x0;var _0x41feda=_0xbb6b[_0x5d4d43];return _0x41feda;};'use strict';var client=require(_0xbbb6('0x0'));exports[_0xbbb6('0x1')]=function(){return function(_0x5ea59b){return client[_0xbbb6('0x2')]('GetVtigerAccount',{'options':{'raw':![],'attributes':['id',_0xbbb6('0x3'),_0xbbb6('0x4'),'username',_0xbbb6('0x5'),'remoteUri',_0xbbb6('0x6')],'include':[{'model':'VtigerConfiguration','as':'Configurations','attributes':['id',_0xbbb6('0x3')],'include':[{'model':_0xbbb6('0x7'),'as':_0xbbb6('0x8'),'attributes':['id',_0xbbb6('0x9'),_0xbbb6('0xa'),_0xbbb6('0xb')],'include':[{'model':_0xbbb6('0xc'),'as':'Variable','attributes':['id',_0xbbb6('0x3')]}]},{'model':_0xbbb6('0x7'),'as':'Descriptions','attributes':['id','type',_0xbbb6('0xa'),_0xbbb6('0xd'),'keyType','keyContent',_0xbbb6('0xb')],'include':[{'model':_0xbbb6('0xc'),'as':_0xbbb6('0xc'),'attributes':['id',_0xbbb6('0x3')]}]},{'model':'VtigerField','as':'Fields','attributes':['id',_0xbbb6('0x9'),_0xbbb6('0xa'),_0xbbb6('0xe'),_0xbbb6('0xf'),_0xbbb6('0x10'),'variableName'],'include':[{'model':_0xbbb6('0xc'),'as':'Variable','attributes':['id',_0xbbb6('0x3')]}]}]}]},'log':_0xbbb6('0x11')});};};
\ No newline at end of file