Built motion from commit da617fac.|2.6.6
[motion2.git] / server / services / ami / rpc / integrations / servicenow.js
index 72464ce..324bac2 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(_0x2cde74,_0x55cf68){var _0x39ee49=function(_0x1e312e){while(--_0x1e312e){_0x2cde74['push'](_0x2cde74['shift']());}};_0x39ee49(++_0x55cf68);}(_0xb821,0xa7));var _0x1b82=function(_0x58ca95,_0x2e7405){_0x58ca95=_0x58ca95-0x0;var _0x2c7c34=_0xb821[_0x58ca95];return _0x2c7c34;};'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 _0x2ef3=['Variable','key','keyType','keyContent','Fields','nameField','../../client','getServicenowAccounts','Request','GetServicenowAccount','name','username','password','remoteUri','serverUrl','ServicenowField','Subjects','type','content','variableName'];(function(_0xd21eb,_0xabd03b){var _0x4eccce=function(_0x2aadcc){while(--_0x2aadcc){_0xd21eb['push'](_0xd21eb['shift']());}};_0x4eccce(++_0xabd03b);}(_0x2ef3,0xba));var _0x32ef=function(_0x3cc812,_0x466e65){_0x3cc812=_0x3cc812-0x0;var _0x98216b=_0x2ef3[_0x3cc812];return _0x98216b;};'use strict';var client=require(_0x32ef('0x0'));exports[_0x32ef('0x1')]=function(){return function(_0x47513a){return client[_0x32ef('0x2')](_0x32ef('0x3'),{'options':{'raw':![],'attributes':['id',_0x32ef('0x4'),'description',_0x32ef('0x5'),_0x32ef('0x6'),'email',_0x32ef('0x7'),_0x32ef('0x8')],'include':[{'model':'ServicenowConfiguration','as':'Configurations','attributes':['id',_0x32ef('0x4')],'include':[{'model':_0x32ef('0x9'),'as':_0x32ef('0xa'),'attributes':['id',_0x32ef('0xb'),_0x32ef('0xc'),_0x32ef('0xd')],'include':[{'model':_0x32ef('0xe'),'as':_0x32ef('0xe'),'attributes':['id',_0x32ef('0x4')]}]},{'model':_0x32ef('0x9'),'as':'Descriptions','attributes':['id','type',_0x32ef('0xc'),_0x32ef('0xf'),_0x32ef('0x10'),_0x32ef('0x11'),'variableName'],'include':[{'model':_0x32ef('0xe'),'as':'Variable','attributes':['id',_0x32ef('0x4')]}]},{'model':'ServicenowField','as':_0x32ef('0x12'),'attributes':['id',_0x32ef('0xb'),'content','idField',_0x32ef('0x13'),'customField',_0x32ef('0xd')],'include':[{'model':_0x32ef('0xe'),'as':_0x32ef('0xe'),'attributes':['id',_0x32ef('0x4')]}]}]}]},'log':'GetServicenowkAccount'});};};
\ No newline at end of file