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 _0x0e6b=['delete','destroy','exports','multer','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','post','create','put','/:id'];(function(_0x5c0ca4,_0x52d589){var _0x3a7fef=function(_0x301773){while(--_0x301773){_0x5c0ca4['push'](_0x5c0ca4['shift']());}};_0x3a7fef(++_0x52d589);}(_0x0e6b,0x17d));var _0xb0e6=function(_0x47a5bd,_0x508329){_0x47a5bd=_0x47a5bd-0x0;var _0x5c2184=_0x0e6b[_0x47a5bd];return _0x5c2184;};'use strict';var multer=require(_0xb0e6('0x0'));var util=require('util');var path=require(_0xb0e6('0x1'));var timeout=require('connect-timeout');var express=require(_0xb0e6('0x2'));var router=express[_0xb0e6('0x3')]();var fs_extra=require(_0xb0e6('0x4'));var auth=require(_0xb0e6('0x5'));var interaction=require(_0xb0e6('0x6'));var config=require(_0xb0e6('0x7'));var controller=require('./cmHopperAdditionalPhone.controller');router[_0xb0e6('0x8')]('/',auth[_0xb0e6('0x9')](),controller[_0xb0e6('0xa')]);router[_0xb0e6('0x8')]('/:id',auth[_0xb0e6('0x9')](),controller['show']);router[_0xb0e6('0xb')]('/',auth[_0xb0e6('0x9')](),controller[_0xb0e6('0xc')]);router[_0xb0e6('0xd')](_0xb0e6('0xe'),auth[_0xb0e6('0x9')](),controller['update']);router[_0xb0e6('0xf')]('/:id',auth[_0xb0e6('0x9')](),controller[_0xb0e6('0x10')]);module[_0xb0e6('0x11')]=router;