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 _0x28a6=['fs-extra','../../components/interaction/service','index','get','/:id','isAuthenticated','show','post','create','put','delete','destroy','exports','util','express'];(function(_0x208719,_0x52bc04){var _0x5752e2=function(_0x310784){while(--_0x310784){_0x208719['push'](_0x208719['shift']());}};_0x5752e2(++_0x52bc04);}(_0x28a6,0x166));var _0x628a=function(_0x5b45da,_0x52bb87){_0x5b45da=_0x5b45da-0x0;var _0x2327f7=_0x28a6[_0x5b45da];return _0x2327f7;};'use strict';var multer=require('multer');var util=require(_0x628a('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x628a('0x1'));var router=express['Router']();var fs_extra=require(_0x628a('0x2'));var auth=require('../../components/auth/service');var interaction=require(_0x628a('0x3'));var config=require('../../config/environment');var controller=require('./cmHopperAdditionalPhone.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x628a('0x4')]);router[_0x628a('0x5')](_0x628a('0x6'),auth[_0x628a('0x7')](),controller[_0x628a('0x8')]);router[_0x628a('0x9')]('/',auth[_0x628a('0x7')](),controller[_0x628a('0xa')]);router[_0x628a('0xb')](_0x628a('0x6'),auth[_0x628a('0x7')](),controller['update']);router[_0x628a('0xc')]('/:id',auth[_0x628a('0x7')](),controller[_0x628a('0xd')]);module[_0x628a('0xe')]=router;