Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / services / ami / rpc / integrations / servicenow.js
index b6d7c41..207f1b7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x00bb=['description','username','email','remoteUri','name','ServicenowField','Subjects','type','content','variableName','Descriptions','keyType','Variable','Fields','nameField','customField','../../client','getServicenowAccounts','GetServicenowAccount'];(function(_0x565c73,_0x15fdb7){var _0x1148b4=function(_0xa4836c){while(--_0xa4836c){_0x565c73['push'](_0x565c73['shift']());}};_0x1148b4(++_0x15fdb7);}(_0x00bb,0x1d8));var _0xb00b=function(_0x56482c,_0x16118d){_0x56482c=_0x56482c-0x0;var _0x5aae7a=_0x00bb[_0x56482c];return _0x5aae7a;};'use strict';var client=require(_0xb00b('0x0'));exports[_0xb00b('0x1')]=function(){return function(_0x468a51){return client['Request'](_0xb00b('0x2'),{'options':{'raw':![],'attributes':['id','name',_0xb00b('0x3'),_0xb00b('0x4'),'password',_0xb00b('0x5'),_0xb00b('0x6'),'serverUrl'],'include':[{'model':'ServicenowConfiguration','as':'Configurations','attributes':['id',_0xb00b('0x7')],'include':[{'model':_0xb00b('0x8'),'as':_0xb00b('0x9'),'attributes':['id',_0xb00b('0xa'),_0xb00b('0xb'),_0xb00b('0xc')],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0xb00b('0x7')]}]},{'model':_0xb00b('0x8'),'as':_0xb00b('0xd'),'attributes':['id',_0xb00b('0xa'),_0xb00b('0xb'),'key',_0xb00b('0xe'),'keyContent','variableName'],'include':[{'model':'Variable','as':_0xb00b('0xf'),'attributes':['id',_0xb00b('0x7')]}]},{'model':_0xb00b('0x8'),'as':_0xb00b('0x10'),'attributes':['id',_0xb00b('0xa'),_0xb00b('0xb'),'idField',_0xb00b('0x11'),_0xb00b('0x12'),'variableName'],'include':[{'model':_0xb00b('0xf'),'as':_0xb00b('0xf'),'attributes':['id','name']}]}]}]},'log':'GetServicenowkAccount'});};};
\ No newline at end of file
+var _0x326f=['variableName','GetServicenowkAccount','../../client','Request','GetServicenowAccount','name','description','username','password','email','remoteUri','serverUrl','ServicenowConfiguration','ServicenowField','Subjects','type','Variable','Descriptions','key','keyContent','content','idField','nameField'];(function(_0x11c1a1,_0x17ba8c){var _0x483746=function(_0x5253c3){while(--_0x5253c3){_0x11c1a1['push'](_0x11c1a1['shift']());}};_0x483746(++_0x17ba8c);}(_0x326f,0xd1));var _0xf326=function(_0x554f59,_0x3e3284){_0x554f59=_0x554f59-0x0;var _0x3edd1d=_0x326f[_0x554f59];return _0x3edd1d;};'use strict';var client=require(_0xf326('0x0'));exports['getServicenowAccounts']=function(){return function(_0x5452cc){return client[_0xf326('0x1')](_0xf326('0x2'),{'options':{'raw':![],'attributes':['id',_0xf326('0x3'),_0xf326('0x4'),_0xf326('0x5'),_0xf326('0x6'),_0xf326('0x7'),_0xf326('0x8'),_0xf326('0x9')],'include':[{'model':_0xf326('0xa'),'as':'Configurations','attributes':['id',_0xf326('0x3')],'include':[{'model':_0xf326('0xb'),'as':_0xf326('0xc'),'attributes':['id',_0xf326('0xd'),'content','variableName'],'include':[{'model':'Variable','as':_0xf326('0xe'),'attributes':['id',_0xf326('0x3')]}]},{'model':_0xf326('0xb'),'as':_0xf326('0xf'),'attributes':['id',_0xf326('0xd'),'content',_0xf326('0x10'),'keyType',_0xf326('0x11'),'variableName'],'include':[{'model':_0xf326('0xe'),'as':'Variable','attributes':['id',_0xf326('0x3')]}]},{'model':_0xf326('0xb'),'as':'Fields','attributes':['id',_0xf326('0xd'),_0xf326('0x12'),_0xf326('0x13'),_0xf326('0x14'),'customField',_0xf326('0x15')],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0xf326('0x3')]}]}]}]},'log':_0xf326('0x16')});};};
\ No newline at end of file