Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / services / ami / rpc / integrations / vtiger.js
index 78476a1..a28ba55 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 _0xda9c=['content','key','keyType','idField','nameField','customField','../../client','getVtigerAccounts','Request','GetVtigerAccount','name','description','username','accessKey','remoteUri','serverUrl','VtigerConfiguration','Configurations','Subjects','type','variableName','Variable','VtigerField','Descriptions'];(function(_0x107f10,_0x5529f2){var _0x811cab=function(_0xc160ea){while(--_0xc160ea){_0x107f10['push'](_0x107f10['shift']());}};_0x811cab(++_0x5529f2);}(_0xda9c,0x126));var _0xcda9=function(_0x3bb1d9,_0x45e447){_0x3bb1d9=_0x3bb1d9-0x0;var _0x53448d=_0xda9c[_0x3bb1d9];return _0x53448d;};'use strict';var client=require(_0xcda9('0x0'));exports[_0xcda9('0x1')]=function(){return function(_0x1a4189){return client[_0xcda9('0x2')](_0xcda9('0x3'),{'options':{'raw':![],'attributes':['id',_0xcda9('0x4'),_0xcda9('0x5'),_0xcda9('0x6'),_0xcda9('0x7'),_0xcda9('0x8'),_0xcda9('0x9')],'include':[{'model':_0xcda9('0xa'),'as':_0xcda9('0xb'),'attributes':['id','name'],'include':[{'model':'VtigerField','as':_0xcda9('0xc'),'attributes':['id',_0xcda9('0xd'),'content',_0xcda9('0xe')],'include':[{'model':_0xcda9('0xf'),'as':_0xcda9('0xf'),'attributes':['id',_0xcda9('0x4')]}]},{'model':_0xcda9('0x10'),'as':_0xcda9('0x11'),'attributes':['id',_0xcda9('0xd'),_0xcda9('0x12'),_0xcda9('0x13'),_0xcda9('0x14'),'keyContent','variableName'],'include':[{'model':_0xcda9('0xf'),'as':'Variable','attributes':['id',_0xcda9('0x4')]}]},{'model':_0xcda9('0x10'),'as':'Fields','attributes':['id','type',_0xcda9('0x12'),_0xcda9('0x15'),_0xcda9('0x16'),_0xcda9('0x17'),_0xcda9('0xe')],'include':[{'model':_0xcda9('0xf'),'as':'Variable','attributes':['id',_0xcda9('0x4')]}]}]}]},'log':_0xcda9('0x3')});};};
\ No newline at end of file