Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / services / ami / rpc / integrations / servicenow.js
index fbe74d0..f4a25e2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb821=['Descriptions','key','keyType','keyContent','Fields','customField','GetServicenowkAccount','getServicenowAccounts','name','password','email','remoteUri','serverUrl','Configurations','ServicenowField','Subjects','type','content','variableName','Variable'];(function(_0xb83ec2,_0x18e73b){var _0x4d2fbf=function(_0x16538a){while(--_0x16538a){_0xb83ec2['push'](_0xb83ec2['shift']());}};_0x4d2fbf(++_0x18e73b);}(_0xb821,0xa7));var _0x1b82=function(_0x2ff9c6,_0x295db1){_0x2ff9c6=_0x2ff9c6-0x0;var _0x36242f=_0xb821[_0x2ff9c6];return _0x36242f;};'use strict';var client=require('../../client');exports[_0x1b82('0x0')]=function(){return function(_0x4f6190){return client['Request']('GetServicenowAccount',{'options':{'raw':![],'attributes':['id',_0x1b82('0x1'),'description','username',_0x1b82('0x2'),_0x1b82('0x3'),_0x1b82('0x4'),_0x1b82('0x5')],'include':[{'model':'ServicenowConfiguration','as':_0x1b82('0x6'),'attributes':['id',_0x1b82('0x1')],'include':[{'model':_0x1b82('0x7'),'as':_0x1b82('0x8'),'attributes':['id',_0x1b82('0x9'),_0x1b82('0xa'),_0x1b82('0xb')],'include':[{'model':_0x1b82('0xc'),'as':_0x1b82('0xc'),'attributes':['id','name']}]},{'model':_0x1b82('0x7'),'as':_0x1b82('0xd'),'attributes':['id',_0x1b82('0x9'),_0x1b82('0xa'),_0x1b82('0xe'),_0x1b82('0xf'),_0x1b82('0x10'),_0x1b82('0xb')],'include':[{'model':'Variable','as':_0x1b82('0xc'),'attributes':['id',_0x1b82('0x1')]}]},{'model':_0x1b82('0x7'),'as':_0x1b82('0x11'),'attributes':['id','type',_0x1b82('0xa'),'idField','nameField',_0x1b82('0x12'),'variableName'],'include':[{'model':_0x1b82('0xc'),'as':_0x1b82('0xc'),'attributes':['id','name']}]}]}]},'log':_0x1b82('0x13')});};};
\ 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(_0x461c18,_0x5605b9){var _0x35501c=function(_0x1cd251){while(--_0x1cd251){_0x461c18['push'](_0x461c18['shift']());}};_0x35501c(++_0x5605b9);}(_0x326f,0xd1));var _0xf326=function(_0x1bdfda,_0xd212ec){_0x1bdfda=_0x1bdfda-0x0;var _0xcc66ac=_0x326f[_0x1bdfda];return _0xcc66ac;};'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