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 _0x742b=['index','isAuthenticated','show','post','put','/:id','update','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','get'];(function(_0x464bf4,_0xad3695){var _0x3bc2ca=function(_0x15f906){while(--_0x15f906){_0x464bf4['push'](_0x464bf4['shift']());}};_0x3bc2ca(++_0xad3695);}(_0x742b,0x13b));var _0xb742=function(_0x432682,_0x253044){_0x432682=_0x432682-0x0;var _0x463d05=_0x742b[_0x432682];return _0x463d05;};'use strict';var multer=require(_0xb742('0x0'));var util=require(_0xb742('0x1'));var path=require(_0xb742('0x2'));var timeout=require(_0xb742('0x3'));var express=require(_0xb742('0x4'));var router=express[_0xb742('0x5')]();var fs_extra=require(_0xb742('0x6'));var auth=require(_0xb742('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./contactItemType.controller');router[_0xb742('0x8')]('/',auth['isAuthenticated'](),controller[_0xb742('0x9')]);router[_0xb742('0x8')]('/:id',auth[_0xb742('0xa')](),controller[_0xb742('0xb')]);router[_0xb742('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0xb742('0xd')](_0xb742('0xe'),auth[_0xb742('0xa')](),controller[_0xb742('0xf')]);router['delete'](_0xb742('0xe'),auth[_0xb742('0xa')](),controller[_0xb742('0x10')]);module[_0xb742('0x11')]=router;