X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Fservicenow.js;h=9e4798b363558b9d2d150916748fb498e06f7691;hb=877636f71ea4e4a4bfc9f2950f78c09e94a43e10;hp=e7c9c9dcf6595e7aff09574ec3adafcb09faae2e;hpb=dfacf7f441a092a1e235cb444060bf10fa72e39a;p=motion2.git diff --git a/server/services/ami/rpc/integrations/servicenow.js b/server/services/ami/rpc/integrations/servicenow.js index e7c9c9d..9e4798b 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 _0x00bb=['description','username','email','remoteUri','name','ServicenowField','Subjects','type','content','variableName','Descriptions','keyType','Variable','Fields','nameField','customField','../../client','getServicenowAccounts','GetServicenowAccount'];(function(_0x45063a,_0x23dd7c){var _0x20043a=function(_0x2d81ee){while(--_0x2d81ee){_0x45063a['push'](_0x45063a['shift']());}};_0x20043a(++_0x23dd7c);}(_0x00bb,0x1d8));var _0xb00b=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x00bb[_0x14add3];return _0x4a174f;};'use strict';var client=require(_0xb00b('0x0'));exports[_0xb00b('0x1')]=function(){return function(_0x468a51){return client['Request'](_0xb00b('0x2'),{'options':{'raw':![],'attributes':['id','name',_0xb00b('0x3'),_0xb00b('0x4'),'password',_0xb00b('0x5'),_0xb00b('0x6'),'serverUrl'],'include':[{'model':'ServicenowConfiguration','as':'Configurations','attributes':['id',_0xb00b('0x7')],'include':[{'model':_0xb00b('0x8'),'as':_0xb00b('0x9'),'attributes':['id',_0xb00b('0xa'),_0xb00b('0xb'),_0xb00b('0xc')],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0xb00b('0x7')]}]},{'model':_0xb00b('0x8'),'as':_0xb00b('0xd'),'attributes':['id',_0xb00b('0xa'),_0xb00b('0xb'),'key',_0xb00b('0xe'),'keyContent','variableName'],'include':[{'model':'Variable','as':_0xb00b('0xf'),'attributes':['id',_0xb00b('0x7')]}]},{'model':_0xb00b('0x8'),'as':_0xb00b('0x10'),'attributes':['id',_0xb00b('0xa'),_0xb00b('0xb'),'idField',_0xb00b('0x11'),_0xb00b('0x12'),'variableName'],'include':[{'model':_0xb00b('0xf'),'as':_0xb00b('0xf'),'attributes':['id','name']}]}]}]},'log':'GetServicenowkAccount'});};}; \ No newline at end of file +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(_0x50cd41,_0x4874a7){var _0x399475=function(_0x1946da){while(--_0x1946da){_0x50cd41['push'](_0x50cd41['shift']());}};_0x399475(++_0x4874a7);}(_0x3e74,0x175));var _0x43e7=function(_0x56ca18,_0x427465){_0x56ca18=_0x56ca18-0x0;var _0x4f6336=_0x3e74[_0x56ca18];return _0x4f6336;};'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