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 _0x169f=['put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','show','post'];(function(_0x2abdcb,_0x4a5307){var _0x2276c0=function(_0x168dce){while(--_0x168dce){_0x2abdcb['push'](_0x2abdcb['shift']());}};_0x2276c0(++_0x4a5307);}(_0x169f,0x15c));var _0xf169=function(_0x42fd3a,_0x4cbdab){_0x42fd3a=_0x42fd3a-0x0;var _0x1f7f53=_0x169f[_0x42fd3a];return _0x1f7f53;};'use strict';var multer=require(_0xf169('0x0'));var util=require(_0xf169('0x1'));var path=require(_0xf169('0x2'));var timeout=require(_0xf169('0x3'));var express=require('express');var router=express[_0xf169('0x4')]();var auth=require(_0xf169('0x5'));var interaction=require(_0xf169('0x6'));var config=require(_0xf169('0x7'));var controller=require('./contactItemType.controller');router[_0xf169('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0xf169('0x8')]('/:id',auth[_0xf169('0x9')](),controller[_0xf169('0xa')]);router[_0xf169('0xb')]('/',auth[_0xf169('0x9')](),controller['create']);router[_0xf169('0xc')](_0xf169('0xd'),auth[_0xf169('0x9')](),controller[_0xf169('0xe')]);router[_0xf169('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xf169('0x10')]);module[_0xf169('0x11')]=router;