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