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