Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / services / ami / rpc / integrations / servicenow.js
index d0d1873..4a40886 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe5b3=['remoteUri','serverUrl','Configurations','Subjects','type','content','variableName','ServicenowField','Descriptions','keyType','Variable','Fields','idField','getServicenowAccounts','Request','GetServicenowAccount','name','description','username','password','email'];(function(_0x9b73ee,_0x471217){var _0x527aca=function(_0x3dd186){while(--_0x3dd186){_0x9b73ee['push'](_0x9b73ee['shift']());}};_0x527aca(++_0x471217);}(_0xe5b3,0x133));var _0x3e5b=function(_0x56a4f1,_0x40fb30){_0x56a4f1=_0x56a4f1-0x0;var _0x5b65b9=_0xe5b3[_0x56a4f1];return _0x5b65b9;};'use strict';var client=require('../../client');exports[_0x3e5b('0x0')]=function(){return function(_0xba44a0){return client[_0x3e5b('0x1')](_0x3e5b('0x2'),{'options':{'raw':![],'attributes':['id',_0x3e5b('0x3'),_0x3e5b('0x4'),_0x3e5b('0x5'),_0x3e5b('0x6'),_0x3e5b('0x7'),_0x3e5b('0x8'),_0x3e5b('0x9')],'include':[{'model':'ServicenowConfiguration','as':_0x3e5b('0xa'),'attributes':['id',_0x3e5b('0x3')],'include':[{'model':'ServicenowField','as':_0x3e5b('0xb'),'attributes':['id',_0x3e5b('0xc'),_0x3e5b('0xd'),_0x3e5b('0xe')],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0x3e5b('0x3')]}]},{'model':_0x3e5b('0xf'),'as':_0x3e5b('0x10'),'attributes':['id',_0x3e5b('0xc'),_0x3e5b('0xd'),'key',_0x3e5b('0x11'),'keyContent',_0x3e5b('0xe')],'include':[{'model':_0x3e5b('0x12'),'as':_0x3e5b('0x12'),'attributes':['id',_0x3e5b('0x3')]}]},{'model':_0x3e5b('0xf'),'as':_0x3e5b('0x13'),'attributes':['id',_0x3e5b('0xc'),'content',_0x3e5b('0x14'),'nameField','customField','variableName'],'include':[{'model':_0x3e5b('0x12'),'as':_0x3e5b('0x12'),'attributes':['id',_0x3e5b('0x3')]}]}]}]},'log':'GetServicenowkAccount'});};};
\ 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(_0x1ec518,_0x4f64f1){var _0x55fa84=function(_0x1cf084){while(--_0x1cf084){_0x1ec518['push'](_0x1ec518['shift']());}};_0x55fa84(++_0x4f64f1);}(_0x2ef3,0xba));var _0x32ef=function(_0x4919a2,_0xcd3b2c){_0x4919a2=_0x4919a2-0x0;var _0x56c465=_0x2ef3[_0x4919a2];return _0x56c465;};'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