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 _0xf4a2=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/:id','isAuthenticated','show','post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x3d854b,_0x5aa03d){var _0x21d12f=function(_0x272b76){while(--_0x272b76){_0x3d854b['push'](_0x3d854b['shift']());}};_0x21d12f(++_0x5aa03d);}(_0xf4a2,0x78));var _0x2f4a=function(_0xb7a459,_0xc13228){_0xb7a459=_0xb7a459-0x0;var _0x104ab5=_0xf4a2[_0xb7a459];return _0x104ab5;};'use strict';var multer=require(_0x2f4a('0x0'));var util=require(_0x2f4a('0x1'));var path=require(_0x2f4a('0x2'));var timeout=require(_0x2f4a('0x3'));var express=require(_0x2f4a('0x4'));var router=express[_0x2f4a('0x5')]();var fs_extra=require(_0x2f4a('0x6'));var auth=require(_0x2f4a('0x7'));var interaction=require(_0x2f4a('0x8'));var config=require(_0x2f4a('0x9'));var controller=require('./contactItemType.controller');router[_0x2f4a('0xa')]('/',auth['isAuthenticated'](),controller[_0x2f4a('0xb')]);router[_0x2f4a('0xa')](_0x2f4a('0xc'),auth[_0x2f4a('0xd')](),controller[_0x2f4a('0xe')]);router[_0x2f4a('0xf')]('/',auth[_0x2f4a('0xd')](),controller[_0x2f4a('0x10')]);router[_0x2f4a('0x11')]('/:id',auth[_0x2f4a('0xd')](),controller['update']);router[_0x2f4a('0x12')](_0x2f4a('0xc'),auth['isAuthenticated'](),controller[_0x2f4a('0x13')]);module[_0x2f4a('0x14')]=router;