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