Built motion from commit da617fac.|2.6.6
[motion2.git] / server / services / ami / rpc / integrations / vtiger.js
index 75ccbf9..449420c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb741=['keyType','idField','nameField','customField','../../client','Request','GetVtigerAccount','username','remoteUri','serverUrl','VtigerConfiguration','Configurations','name','Subjects','type','content','variableName','Variable','VtigerField','key'];(function(_0x5d9173,_0x15aa34){var _0x18c5a2=function(_0x207320){while(--_0x207320){_0x5d9173['push'](_0x5d9173['shift']());}};_0x18c5a2(++_0x15aa34);}(_0xb741,0x1a8));var _0x1b74=function(_0xbef090,_0x25cc96){_0xbef090=_0xbef090-0x0;var _0x547a50=_0xb741[_0xbef090];return _0x547a50;};'use strict';var client=require(_0x1b74('0x0'));exports['getVtigerAccounts']=function(){return function(_0x35ee9a){return client[_0x1b74('0x1')](_0x1b74('0x2'),{'options':{'raw':![],'attributes':['id','name','description',_0x1b74('0x3'),'accessKey',_0x1b74('0x4'),_0x1b74('0x5')],'include':[{'model':_0x1b74('0x6'),'as':_0x1b74('0x7'),'attributes':['id',_0x1b74('0x8')],'include':[{'model':'VtigerField','as':_0x1b74('0x9'),'attributes':['id',_0x1b74('0xa'),_0x1b74('0xb'),_0x1b74('0xc')],'include':[{'model':_0x1b74('0xd'),'as':_0x1b74('0xd'),'attributes':['id','name']}]},{'model':_0x1b74('0xe'),'as':'Descriptions','attributes':['id',_0x1b74('0xa'),'content',_0x1b74('0xf'),_0x1b74('0x10'),'keyContent',_0x1b74('0xc')],'include':[{'model':_0x1b74('0xd'),'as':'Variable','attributes':['id',_0x1b74('0x8')]}]},{'model':_0x1b74('0xe'),'as':'Fields','attributes':['id',_0x1b74('0xa'),_0x1b74('0xb'),_0x1b74('0x11'),_0x1b74('0x12'),_0x1b74('0x13'),_0x1b74('0xc')],'include':[{'model':_0x1b74('0xd'),'as':'Variable','attributes':['id','name']}]}]}]},'log':'GetVtigerAccount'});};};
\ No newline at end of file
+var _0xe55b=['key','keyType','keyContent','idField','nameField','../../client','getVtigerAccounts','GetVtigerAccount','name','description','username','accessKey','remoteUri','serverUrl','VtigerConfiguration','Configurations','Subjects','content','variableName','Variable','VtigerField','type'];(function(_0x1766c1,_0x4fac8f){var _0x74fac0=function(_0x1fcf21){while(--_0x1fcf21){_0x1766c1['push'](_0x1766c1['shift']());}};_0x74fac0(++_0x4fac8f);}(_0xe55b,0x89));var _0xbe55=function(_0x23884b,_0x50c307){_0x23884b=_0x23884b-0x0;var _0x28113b=_0xe55b[_0x23884b];return _0x28113b;};'use strict';var client=require(_0xbe55('0x0'));exports[_0xbe55('0x1')]=function(){return function(_0x801474){return client['Request'](_0xbe55('0x2'),{'options':{'raw':![],'attributes':['id',_0xbe55('0x3'),_0xbe55('0x4'),_0xbe55('0x5'),_0xbe55('0x6'),_0xbe55('0x7'),_0xbe55('0x8')],'include':[{'model':_0xbe55('0x9'),'as':_0xbe55('0xa'),'attributes':['id',_0xbe55('0x3')],'include':[{'model':'VtigerField','as':_0xbe55('0xb'),'attributes':['id','type',_0xbe55('0xc'),_0xbe55('0xd')],'include':[{'model':_0xbe55('0xe'),'as':_0xbe55('0xe'),'attributes':['id','name']}]},{'model':_0xbe55('0xf'),'as':'Descriptions','attributes':['id',_0xbe55('0x10'),'content',_0xbe55('0x11'),_0xbe55('0x12'),_0xbe55('0x13'),_0xbe55('0xd')],'include':[{'model':_0xbe55('0xe'),'as':_0xbe55('0xe'),'attributes':['id',_0xbe55('0x3')]}]},{'model':'VtigerField','as':'Fields','attributes':['id','type','content',_0xbe55('0x14'),_0xbe55('0x15'),'customField',_0xbe55('0xd')],'include':[{'model':_0xbe55('0xe'),'as':_0xbe55('0xe'),'attributes':['id','name']}]}]}]},'log':'GetVtigerAccount'});};};
\ No newline at end of file