Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / services / ami / rpc / integrations / servicenow.js
index 005063f..fbe74d0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6aa7=['nameField','GetServicenowkAccount','../../client','Request','GetServicenowAccount','name','username','password','email','ServicenowConfiguration','ServicenowField','Subjects','content','variableName','Variable','Descriptions','type','key','keyType','keyContent','Fields','idField'];(function(_0x1cdd37,_0xd90036){var _0x4dc40f=function(_0x5c6fdf){while(--_0x5c6fdf){_0x1cdd37['push'](_0x1cdd37['shift']());}};_0x4dc40f(++_0xd90036);}(_0x6aa7,0x178));var _0x76aa=function(_0xb1b434,_0x4952d1){_0xb1b434=_0xb1b434-0x0;var _0x5f2b73=_0x6aa7[_0xb1b434];return _0x5f2b73;};'use strict';var client=require(_0x76aa('0x0'));exports['getServicenowAccounts']=function(){return function(_0x2cbbdd){return client[_0x76aa('0x1')](_0x76aa('0x2'),{'options':{'raw':![],'attributes':['id',_0x76aa('0x3'),'description',_0x76aa('0x4'),_0x76aa('0x5'),_0x76aa('0x6'),'remoteUri','serverUrl'],'include':[{'model':_0x76aa('0x7'),'as':'Configurations','attributes':['id',_0x76aa('0x3')],'include':[{'model':_0x76aa('0x8'),'as':_0x76aa('0x9'),'attributes':['id','type',_0x76aa('0xa'),_0x76aa('0xb')],'include':[{'model':_0x76aa('0xc'),'as':'Variable','attributes':['id',_0x76aa('0x3')]}]},{'model':_0x76aa('0x8'),'as':_0x76aa('0xd'),'attributes':['id',_0x76aa('0xe'),_0x76aa('0xa'),_0x76aa('0xf'),_0x76aa('0x10'),_0x76aa('0x11'),_0x76aa('0xb')],'include':[{'model':_0x76aa('0xc'),'as':'Variable','attributes':['id',_0x76aa('0x3')]}]},{'model':'ServicenowField','as':_0x76aa('0x12'),'attributes':['id',_0x76aa('0xe'),_0x76aa('0xa'),_0x76aa('0x13'),_0x76aa('0x14'),'customField','variableName'],'include':[{'model':_0x76aa('0xc'),'as':'Variable','attributes':['id',_0x76aa('0x3')]}]}]}]},'log':_0x76aa('0x15')});};};
\ No newline at end of file
+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