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 _0xba5f=['express','Router','fs-extra','../../components/interaction/service','../../config/environment','./contactItemType.controller','get','isAuthenticated','index','/:id','post','create','put','update','delete','destroy','multer','util','path'];(function(_0x344e95,_0x55b113){var _0x2761b4=function(_0x1b0f49){while(--_0x1b0f49){_0x344e95['push'](_0x344e95['shift']());}};_0x2761b4(++_0x55b113);}(_0xba5f,0xbb));var _0xfba5=function(_0x4acecd,_0x2092df){_0x4acecd=_0x4acecd-0x0;var _0x5b414f=_0xba5f[_0x4acecd];return _0x5b414f;};'use strict';var multer=require(_0xfba5('0x0'));var util=require(_0xfba5('0x1'));var path=require(_0xfba5('0x2'));var timeout=require('connect-timeout');var express=require(_0xfba5('0x3'));var router=express[_0xfba5('0x4')]();var fs_extra=require(_0xfba5('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xfba5('0x6'));var config=require(_0xfba5('0x7'));var controller=require(_0xfba5('0x8'));router[_0xfba5('0x9')]('/',auth[_0xfba5('0xa')](),controller[_0xfba5('0xb')]);router[_0xfba5('0x9')](_0xfba5('0xc'),auth[_0xfba5('0xa')](),controller['show']);router[_0xfba5('0xd')]('/',auth[_0xfba5('0xa')](),controller[_0xfba5('0xe')]);router[_0xfba5('0xf')](_0xfba5('0xc'),auth[_0xfba5('0xa')](),controller[_0xfba5('0x10')]);router[_0xfba5('0x11')](_0xfba5('0xc'),auth[_0xfba5('0xa')](),controller[_0xfba5('0x12')]);module['exports']=router;