Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / services / ami / rpc / integrations / servicenow.js
index 973548b..8b1d4d9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf3cd=['password','email','serverUrl','ServicenowConfiguration','Configurations','ServicenowField','Subjects','content','Variable','Descriptions','type','key','keyType','keyContent','variableName','Fields','idField','nameField','customField','GetServicenowkAccount','../../client','getServicenowAccounts','Request','GetServicenowAccount','name','username'];(function(_0x4fedd4,_0x1dbf05){var _0x5dce0d=function(_0x28f99e){while(--_0x28f99e){_0x4fedd4['push'](_0x4fedd4['shift']());}};_0x5dce0d(++_0x1dbf05);}(_0xf3cd,0xfe));var _0xdf3c=function(_0x291f8b,_0x3b5591){_0x291f8b=_0x291f8b-0x0;var _0x275171=_0xf3cd[_0x291f8b];return _0x275171;};'use strict';var client=require(_0xdf3c('0x0'));exports[_0xdf3c('0x1')]=function(){return function(_0x31e5a5){return client[_0xdf3c('0x2')](_0xdf3c('0x3'),{'options':{'raw':![],'attributes':['id',_0xdf3c('0x4'),'description',_0xdf3c('0x5'),_0xdf3c('0x6'),_0xdf3c('0x7'),'remoteUri',_0xdf3c('0x8')],'include':[{'model':_0xdf3c('0x9'),'as':_0xdf3c('0xa'),'attributes':['id',_0xdf3c('0x4')],'include':[{'model':_0xdf3c('0xb'),'as':_0xdf3c('0xc'),'attributes':['id','type',_0xdf3c('0xd'),'variableName'],'include':[{'model':'Variable','as':_0xdf3c('0xe'),'attributes':['id',_0xdf3c('0x4')]}]},{'model':'ServicenowField','as':_0xdf3c('0xf'),'attributes':['id',_0xdf3c('0x10'),_0xdf3c('0xd'),_0xdf3c('0x11'),_0xdf3c('0x12'),_0xdf3c('0x13'),_0xdf3c('0x14')],'include':[{'model':_0xdf3c('0xe'),'as':'Variable','attributes':['id',_0xdf3c('0x4')]}]},{'model':_0xdf3c('0xb'),'as':_0xdf3c('0x15'),'attributes':['id',_0xdf3c('0x10'),'content',_0xdf3c('0x16'),_0xdf3c('0x17'),_0xdf3c('0x18'),'variableName'],'include':[{'model':_0xdf3c('0xe'),'as':_0xdf3c('0xe'),'attributes':['id',_0xdf3c('0x4')]}]}]}]},'log':_0xdf3c('0x19')});};};
\ No newline at end of file
+var _0x2675=['ServicenowField','type','content','Variable','Descriptions','keyType','variableName','Fields','idField','nameField','customField','GetServicenowkAccount','../../client','GetServicenowAccount','name','username','password','remoteUri','serverUrl','ServicenowConfiguration','Configurations'];(function(_0x37842a,_0x2210b4){var _0x26175a=function(_0x3e4a36){while(--_0x3e4a36){_0x37842a['push'](_0x37842a['shift']());}};_0x26175a(++_0x2210b4);}(_0x2675,0x75));var _0x5267=function(_0x28e758,_0x4494b2){_0x28e758=_0x28e758-0x0;var _0x1b6949=_0x2675[_0x28e758];return _0x1b6949;};'use strict';var client=require(_0x5267('0x0'));exports['getServicenowAccounts']=function(){return function(_0x53e71f){return client['Request'](_0x5267('0x1'),{'options':{'raw':![],'attributes':['id',_0x5267('0x2'),'description',_0x5267('0x3'),_0x5267('0x4'),'email',_0x5267('0x5'),_0x5267('0x6')],'include':[{'model':_0x5267('0x7'),'as':_0x5267('0x8'),'attributes':['id',_0x5267('0x2')],'include':[{'model':_0x5267('0x9'),'as':'Subjects','attributes':['id',_0x5267('0xa'),_0x5267('0xb'),'variableName'],'include':[{'model':_0x5267('0xc'),'as':'Variable','attributes':['id',_0x5267('0x2')]}]},{'model':_0x5267('0x9'),'as':_0x5267('0xd'),'attributes':['id','type',_0x5267('0xb'),'key',_0x5267('0xe'),'keyContent',_0x5267('0xf')],'include':[{'model':_0x5267('0xc'),'as':_0x5267('0xc'),'attributes':['id',_0x5267('0x2')]}]},{'model':_0x5267('0x9'),'as':_0x5267('0x10'),'attributes':['id',_0x5267('0xa'),_0x5267('0xb'),_0x5267('0x11'),_0x5267('0x12'),_0x5267('0x13'),_0x5267('0xf')],'include':[{'model':_0x5267('0xc'),'as':'Variable','attributes':['id','name']}]}]}]},'log':_0x5267('0x14')});};};
\ No newline at end of file