Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / services / ami / rpc / integrations / vtiger.js
index 20b6e5d..8a57914 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x58e4=['key','keyType','keyContent','Fields','idField','nameField','customField','../../client','Request','GetVtigerAccount','description','username','accessKey','remoteUri','serverUrl','VtigerConfiguration','Configurations','name','VtigerField','Subjects','type','content','variableName','Variable'];(function(_0x296754,_0x5befe9){var _0x1d9f1d=function(_0x3f033e){while(--_0x3f033e){_0x296754['push'](_0x296754['shift']());}};_0x1d9f1d(++_0x5befe9);}(_0x58e4,0x157));var _0x458e=function(_0x3d4e7b,_0x18868d){_0x3d4e7b=_0x3d4e7b-0x0;var _0x490999=_0x58e4[_0x3d4e7b];return _0x490999;};'use strict';var client=require(_0x458e('0x0'));exports['getVtigerAccounts']=function(){return function(_0x5e0880){return client[_0x458e('0x1')](_0x458e('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x458e('0x3'),_0x458e('0x4'),_0x458e('0x5'),_0x458e('0x6'),_0x458e('0x7')],'include':[{'model':_0x458e('0x8'),'as':_0x458e('0x9'),'attributes':['id',_0x458e('0xa')],'include':[{'model':_0x458e('0xb'),'as':_0x458e('0xc'),'attributes':['id',_0x458e('0xd'),_0x458e('0xe'),_0x458e('0xf')],'include':[{'model':_0x458e('0x10'),'as':_0x458e('0x10'),'attributes':['id',_0x458e('0xa')]}]},{'model':_0x458e('0xb'),'as':'Descriptions','attributes':['id',_0x458e('0xd'),_0x458e('0xe'),_0x458e('0x11'),_0x458e('0x12'),_0x458e('0x13'),_0x458e('0xf')],'include':[{'model':'Variable','as':_0x458e('0x10'),'attributes':['id',_0x458e('0xa')]}]},{'model':_0x458e('0xb'),'as':_0x458e('0x14'),'attributes':['id','type',_0x458e('0xe'),_0x458e('0x15'),_0x458e('0x16'),_0x458e('0x17'),_0x458e('0xf')],'include':[{'model':_0x458e('0x10'),'as':_0x458e('0x10'),'attributes':['id',_0x458e('0xa')]}]}]}]},'log':_0x458e('0x2')});};};
\ 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