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