Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / services / ami / rpc / integrations / servicenow.js
index 9e4798b..78ce549 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3e74=['type','content','variableName','Variable','Descriptions','key','keyContent','name','Fields','idField','nameField','customField','GetServicenowkAccount','../../client','Request','GetServicenowAccount','username','email','remoteUri','serverUrl','ServicenowConfiguration','Configurations','ServicenowField','Subjects'];(function(_0x50cd41,_0x4874a7){var _0x399475=function(_0x1946da){while(--_0x1946da){_0x50cd41['push'](_0x50cd41['shift']());}};_0x399475(++_0x4874a7);}(_0x3e74,0x175));var _0x43e7=function(_0x56ca18,_0x427465){_0x56ca18=_0x56ca18-0x0;var _0x4f6336=_0x3e74[_0x56ca18];return _0x4f6336;};'use strict';var client=require(_0x43e7('0x0'));exports['getServicenowAccounts']=function(){return function(_0x349480){return client[_0x43e7('0x1')](_0x43e7('0x2'),{'options':{'raw':![],'attributes':['id','name','description',_0x43e7('0x3'),'password',_0x43e7('0x4'),_0x43e7('0x5'),_0x43e7('0x6')],'include':[{'model':_0x43e7('0x7'),'as':_0x43e7('0x8'),'attributes':['id','name'],'include':[{'model':_0x43e7('0x9'),'as':_0x43e7('0xa'),'attributes':['id',_0x43e7('0xb'),_0x43e7('0xc'),_0x43e7('0xd')],'include':[{'model':'Variable','as':_0x43e7('0xe'),'attributes':['id','name']}]},{'model':'ServicenowField','as':_0x43e7('0xf'),'attributes':['id',_0x43e7('0xb'),'content',_0x43e7('0x10'),'keyType',_0x43e7('0x11'),_0x43e7('0xd')],'include':[{'model':'Variable','as':_0x43e7('0xe'),'attributes':['id',_0x43e7('0x12')]}]},{'model':_0x43e7('0x9'),'as':_0x43e7('0x13'),'attributes':['id','type','content',_0x43e7('0x14'),_0x43e7('0x15'),_0x43e7('0x16'),'variableName'],'include':[{'model':'Variable','as':_0x43e7('0xe'),'attributes':['id',_0x43e7('0x12')]}]}]}]},'log':_0x43e7('0x17')});};};
\ No newline at end of file
+var _0x7a54=['GetServicenowAccount','name','username','password','email','remoteUri','serverUrl','Configurations','ServicenowField','Subjects','content','type','keyType','keyContent','variableName','Variable','idField','nameField','customField','GetServicenowkAccount','../../client','getServicenowAccounts'];(function(_0x53ccf2,_0x13cb67){var _0x5a2964=function(_0x3b0514){while(--_0x3b0514){_0x53ccf2['push'](_0x53ccf2['shift']());}};_0x5a2964(++_0x13cb67);}(_0x7a54,0x106));var _0x47a5=function(_0x48d426,_0x43bcda){_0x48d426=_0x48d426-0x0;var _0x40053a=_0x7a54[_0x48d426];return _0x40053a;};'use strict';var client=require(_0x47a5('0x0'));exports[_0x47a5('0x1')]=function(){return function(_0x44b31e){return client['Request'](_0x47a5('0x2'),{'options':{'raw':![],'attributes':['id',_0x47a5('0x3'),'description',_0x47a5('0x4'),_0x47a5('0x5'),_0x47a5('0x6'),_0x47a5('0x7'),_0x47a5('0x8')],'include':[{'model':'ServicenowConfiguration','as':_0x47a5('0x9'),'attributes':['id','name'],'include':[{'model':_0x47a5('0xa'),'as':_0x47a5('0xb'),'attributes':['id','type',_0x47a5('0xc'),'variableName'],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0x47a5('0x3')]}]},{'model':_0x47a5('0xa'),'as':'Descriptions','attributes':['id',_0x47a5('0xd'),'content','key',_0x47a5('0xe'),_0x47a5('0xf'),_0x47a5('0x10')],'include':[{'model':_0x47a5('0x11'),'as':_0x47a5('0x11'),'attributes':['id',_0x47a5('0x3')]}]},{'model':_0x47a5('0xa'),'as':'Fields','attributes':['id',_0x47a5('0xd'),_0x47a5('0xc'),_0x47a5('0x12'),_0x47a5('0x13'),_0x47a5('0x14'),_0x47a5('0x10')],'include':[{'model':_0x47a5('0x11'),'as':_0x47a5('0x11'),'attributes':['id','name']}]}]}]},'log':_0x47a5('0x15')});};};
\ No newline at end of file