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