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 _0x3260=['/:id','isAuthenticated','show','create','put','delete','destroy','multer','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get'];(function(_0x572dd4,_0x5407d1){var _0x405cd1=function(_0x5bcfde){while(--_0x5bcfde){_0x572dd4['push'](_0x572dd4['shift']());}};_0x405cd1(++_0x5407d1);}(_0x3260,0xd7));var _0x0326=function(_0x3e8b47,_0x503f70){_0x3e8b47=_0x3e8b47-0x0;var _0x3200c0=_0x3260[_0x3e8b47];return _0x3200c0;};'use strict';var multer=require(_0x0326('0x0'));var util=require(_0x0326('0x1'));var path=require(_0x0326('0x2'));var timeout=require(_0x0326('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x0326('0x4'));var auth=require(_0x0326('0x5'));var interaction=require(_0x0326('0x6'));var config=require(_0x0326('0x7'));var controller=require('./cmHopperAdditionalPhone.controller');router[_0x0326('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0x0326('0x8')](_0x0326('0x9'),auth[_0x0326('0xa')](),controller[_0x0326('0xb')]);router['post']('/',auth[_0x0326('0xa')](),controller[_0x0326('0xc')]);router[_0x0326('0xd')](_0x0326('0x9'),auth[_0x0326('0xa')](),controller['update']);router[_0x0326('0xe')](_0x0326('0x9'),auth[_0x0326('0xa')](),controller[_0x0326('0xf')]);module['exports']=router;