Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / services / ami / rpc / integrations / servicenow.js
index 005063f..78ce549 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 _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