Built motion from commit df3e9871f6bcc3432fec345b2f4facbd4dba8b5c. Version 3.0.0...
[motion-next.git] / server / services / ami / rpc / integrations / servicenow.js
index 6d81ef9..5383252 100644 (file)
@@ -1 +1 @@
-const a1113_0x57c3=['customField','variableName','description','password','GetServicenowAccount','nameField','key','email','name','Request','GetServicenowkAccount','keyContent','Subjects','ServicenowField','content','type','serverUrl','keyType','Variable'];(function(_0x34103f,_0x57c367){const _0x21131e=function(_0x4f6e0f){while(--_0x4f6e0f){_0x34103f['push'](_0x34103f['shift']());}};_0x21131e(++_0x57c367);}(a1113_0x57c3,0x17b));const a1113_0x2113=function(_0x34103f,_0x57c367){_0x34103f=_0x34103f-0x0;let _0x21131e=a1113_0x57c3[_0x34103f];return _0x21131e;};'use strict';const client=require('../../client');exports['getServicenowAccounts']=function(){return function(){const _0x3846f5=a1113_0x2113;return client[_0x3846f5('0xa')](_0x3846f5('0x5'),{'options':{'raw':![],'attributes':['id',_0x3846f5('0x9'),_0x3846f5('0x3'),'username',_0x3846f5('0x4'),_0x3846f5('0x8'),'remoteUri',_0x3846f5('0x11')],'include':[{'model':'ServicenowConfiguration','as':'Configurations','attributes':['id',_0x3846f5('0x9')],'include':[{'model':_0x3846f5('0xe'),'as':_0x3846f5('0xd'),'attributes':['id',_0x3846f5('0x10'),_0x3846f5('0xf'),_0x3846f5('0x2')],'include':[{'model':_0x3846f5('0x0'),'as':_0x3846f5('0x0'),'attributes':['id',_0x3846f5('0x9')]}]},{'model':_0x3846f5('0xe'),'as':'Descriptions','attributes':['id',_0x3846f5('0x10'),_0x3846f5('0xf'),_0x3846f5('0x7'),_0x3846f5('0x12'),_0x3846f5('0xc'),_0x3846f5('0x2')],'include':[{'model':'Variable','as':'Variable','attributes':['id','name']}]},{'model':_0x3846f5('0xe'),'as':'Fields','attributes':['id',_0x3846f5('0x10'),_0x3846f5('0xf'),'idField',_0x3846f5('0x6'),_0x3846f5('0x1'),_0x3846f5('0x2')],'include':[{'model':_0x3846f5('0x0'),'as':_0x3846f5('0x0'),'attributes':['id',_0x3846f5('0x9')]}]}]}]},'log':_0x3846f5('0xb')});};};
\ No newline at end of file
+const a1113_0x2dfe=['remoteUri','nameField','serverUrl','key','keyType','Subjects','idField','Descriptions','email','Fields','Configurations','name','ServicenowConfiguration','keyContent','Variable','GetServicenowkAccount','variableName','content','getServicenowAccounts','../../client','username','ServicenowField','type','customField'];(function(_0x40c7fb,_0x2dfebf){const _0x49e16e=function(_0x1543a2){while(--_0x1543a2){_0x40c7fb['push'](_0x40c7fb['shift']());}};_0x49e16e(++_0x2dfebf);}(a1113_0x2dfe,0x153));const a1113_0x49e1=function(_0x40c7fb,_0x2dfebf){_0x40c7fb=_0x40c7fb-0x0;let _0x49e16e=a1113_0x2dfe[_0x40c7fb];return _0x49e16e;};const _0x2e4352=a1113_0x49e1;'use strict';const client=require(_0x2e4352('0x10'));exports[_0x2e4352('0xf')]=function(){return function(){const _0x2a4e5c=a1113_0x49e1;return client['Request']('GetServicenowAccount',{'options':{'raw':![],'attributes':['id',_0x2a4e5c('0x8'),'description',_0x2a4e5c('0x11'),'password',_0x2a4e5c('0x5'),_0x2a4e5c('0x15'),_0x2a4e5c('0x17')],'include':[{'model':_0x2a4e5c('0x9'),'as':_0x2a4e5c('0x7'),'attributes':['id',_0x2a4e5c('0x8')],'include':[{'model':_0x2a4e5c('0x12'),'as':_0x2a4e5c('0x2'),'attributes':['id','type',_0x2a4e5c('0xe'),'variableName'],'include':[{'model':'Variable','as':_0x2a4e5c('0xb'),'attributes':['id',_0x2a4e5c('0x8')]}]},{'model':_0x2a4e5c('0x12'),'as':_0x2a4e5c('0x4'),'attributes':['id',_0x2a4e5c('0x13'),_0x2a4e5c('0xe'),_0x2a4e5c('0x0'),_0x2a4e5c('0x1'),_0x2a4e5c('0xa'),_0x2a4e5c('0xd')],'include':[{'model':_0x2a4e5c('0xb'),'as':'Variable','attributes':['id',_0x2a4e5c('0x8')]}]},{'model':_0x2a4e5c('0x12'),'as':_0x2a4e5c('0x6'),'attributes':['id','type',_0x2a4e5c('0xe'),_0x2a4e5c('0x3'),_0x2a4e5c('0x16'),_0x2a4e5c('0x14'),_0x2a4e5c('0xd')],'include':[{'model':_0x2a4e5c('0xb'),'as':'Variable','attributes':['id',_0x2a4e5c('0x8')]}]}]}]},'log':_0x2a4e5c('0xc')});};};
\ No newline at end of file