X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Fservicenow.js;h=989faba496ebf58932a2d32c754eba34889e9669;hb=6b8dca8de1a6b807be7e36077511bb032e7382e5;hp=136a2b7eec848c0400b767df3442f339cc0c87a9;hpb=44bd2814959684a7f7b774f2c71a3b12f9ba5952;p=motion2.git diff --git a/server/services/ami/rpc/integrations/servicenow.js b/server/services/ami/rpc/integrations/servicenow.js index 136a2b7..989faba 100644 --- a/server/services/ami/rpc/integrations/servicenow.js +++ b/server/services/ami/rpc/integrations/servicenow.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3e74=['type','content','variableName','Variable','Descriptions','key','keyContent','name','Fields','idField','nameField','customField','GetServicenowkAccount','../../client','Request','GetServicenowAccount','username','email','remoteUri','serverUrl','ServicenowConfiguration','Configurations','ServicenowField','Subjects'];(function(_0x4c4042,_0x1ea485){var _0xbd10dc=function(_0x164b20){while(--_0x164b20){_0x4c4042['push'](_0x4c4042['shift']());}};_0xbd10dc(++_0x1ea485);}(_0x3e74,0x175));var _0x43e7=function(_0x27feca,_0x563c88){_0x27feca=_0x27feca-0x0;var _0xc8da48=_0x3e74[_0x27feca];return _0xc8da48;};'use strict';var client=require(_0x43e7('0x0'));exports['getServicenowAccounts']=function(){return function(_0x349480){return client[_0x43e7('0x1')](_0x43e7('0x2'),{'options':{'raw':![],'attributes':['id','name','description',_0x43e7('0x3'),'password',_0x43e7('0x4'),_0x43e7('0x5'),_0x43e7('0x6')],'include':[{'model':_0x43e7('0x7'),'as':_0x43e7('0x8'),'attributes':['id','name'],'include':[{'model':_0x43e7('0x9'),'as':_0x43e7('0xa'),'attributes':['id',_0x43e7('0xb'),_0x43e7('0xc'),_0x43e7('0xd')],'include':[{'model':'Variable','as':_0x43e7('0xe'),'attributes':['id','name']}]},{'model':'ServicenowField','as':_0x43e7('0xf'),'attributes':['id',_0x43e7('0xb'),'content',_0x43e7('0x10'),'keyType',_0x43e7('0x11'),_0x43e7('0xd')],'include':[{'model':'Variable','as':_0x43e7('0xe'),'attributes':['id',_0x43e7('0x12')]}]},{'model':_0x43e7('0x9'),'as':_0x43e7('0x13'),'attributes':['id','type','content',_0x43e7('0x14'),_0x43e7('0x15'),_0x43e7('0x16'),'variableName'],'include':[{'model':'Variable','as':_0x43e7('0xe'),'attributes':['id',_0x43e7('0x12')]}]}]}]},'log':_0x43e7('0x17')});};}; \ No newline at end of file +var _0x24ca=['nameField','customField','../../client','Request','GetServicenowAccount','description','username','password','email','remoteUri','serverUrl','ServicenowConfiguration','Configurations','name','ServicenowField','Subjects','content','variableName','Variable','Descriptions','type','key','keyType','keyContent','Fields','idField'];(function(_0x4f7357,_0x52af63){var _0x6c6008=function(_0x49fed5){while(--_0x49fed5){_0x4f7357['push'](_0x4f7357['shift']());}};_0x6c6008(++_0x52af63);}(_0x24ca,0x1bc));var _0xa24c=function(_0x1c289a,_0x277fe7){_0x1c289a=_0x1c289a-0x0;var _0x28d68e=_0x24ca[_0x1c289a];return _0x28d68e;};'use strict';var client=require(_0xa24c('0x0'));exports['getServicenowAccounts']=function(){return function(_0x2cf7df){return client[_0xa24c('0x1')](_0xa24c('0x2'),{'options':{'raw':![],'attributes':['id','name',_0xa24c('0x3'),_0xa24c('0x4'),_0xa24c('0x5'),_0xa24c('0x6'),_0xa24c('0x7'),_0xa24c('0x8')],'include':[{'model':_0xa24c('0x9'),'as':_0xa24c('0xa'),'attributes':['id',_0xa24c('0xb')],'include':[{'model':_0xa24c('0xc'),'as':_0xa24c('0xd'),'attributes':['id','type',_0xa24c('0xe'),_0xa24c('0xf')],'include':[{'model':_0xa24c('0x10'),'as':'Variable','attributes':['id',_0xa24c('0xb')]}]},{'model':_0xa24c('0xc'),'as':_0xa24c('0x11'),'attributes':['id',_0xa24c('0x12'),_0xa24c('0xe'),_0xa24c('0x13'),_0xa24c('0x14'),_0xa24c('0x15'),_0xa24c('0xf')],'include':[{'model':'Variable','as':_0xa24c('0x10'),'attributes':['id',_0xa24c('0xb')]}]},{'model':_0xa24c('0xc'),'as':_0xa24c('0x16'),'attributes':['id','type',_0xa24c('0xe'),_0xa24c('0x17'),_0xa24c('0x18'),_0xa24c('0x19'),_0xa24c('0xf')],'include':[{'model':_0xa24c('0x10'),'as':_0xa24c('0x10'),'attributes':['id','name']}]}]}]},'log':'GetServicenowkAccount'});};}; \ No newline at end of file