1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x1fac=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowField.controller','get','isAuthenticated','index','/:id','show','post','create','destroy','exports','multer','path','connect-timeout','express'];(function(_0x335ccb,_0x32ba13){var _0x3f712c=function(_0x12af0d){while(--_0x12af0d){_0x335ccb['push'](_0x335ccb['shift']());}};_0x3f712c(++_0x32ba13);}(_0x1fac,0x68));var _0xc1fa=function(_0x2195b3,_0x169994){_0x2195b3=_0x2195b3-0x0;var _0x343c56=_0x1fac[_0x2195b3];return _0x343c56;};'use strict';var multer=require(_0xc1fa('0x0'));var util=require('util');var path=require(_0xc1fa('0x1'));var timeout=require(_0xc1fa('0x2'));var express=require(_0xc1fa('0x3'));var router=express[_0xc1fa('0x4')]();var auth=require(_0xc1fa('0x5'));var interaction=require(_0xc1fa('0x6'));var config=require(_0xc1fa('0x7'));var controller=require(_0xc1fa('0x8'));router[_0xc1fa('0x9')]('/',auth[_0xc1fa('0xa')](),controller[_0xc1fa('0xb')]);router['get'](_0xc1fa('0xc'),auth[_0xc1fa('0xa')](),controller[_0xc1fa('0xd')]);router[_0xc1fa('0xe')]('/',auth[_0xc1fa('0xa')](),controller[_0xc1fa('0xf')]);router['put'](_0xc1fa('0xc'),auth[_0xc1fa('0xa')](),controller['update']);router['delete'](_0xc1fa('0xc'),auth[_0xc1fa('0xa')](),controller[_0xc1fa('0x10')]);module[_0xc1fa('0x11')]=router;