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 _0xb1d5=['get','isAuthenticated','index','show','post','put','/:id','update','delete','destroy','exports','multer','util','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x5c1b0c,_0x12cfba){var _0x268a79=function(_0x30af08){while(--_0x30af08){_0x5c1b0c['push'](_0x5c1b0c['shift']());}};_0x268a79(++_0x12cfba);}(_0xb1d5,0x187));var _0x5b1d=function(_0x8b8f41,_0x56e288){_0x8b8f41=_0x8b8f41-0x0;var _0xe6645f=_0xb1d5[_0x8b8f41];return _0xe6645f;};'use strict';var multer=require(_0x5b1d('0x0'));var util=require(_0x5b1d('0x1'));var path=require(_0x5b1d('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x5b1d('0x3')]();var fs_extra=require(_0x5b1d('0x4'));var auth=require(_0x5b1d('0x5'));var interaction=require(_0x5b1d('0x6'));var config=require(_0x5b1d('0x7'));var controller=require('./cmHopperAdditionalPhone.controller');router[_0x5b1d('0x8')]('/',auth[_0x5b1d('0x9')](),controller[_0x5b1d('0xa')]);router[_0x5b1d('0x8')]('/:id',auth[_0x5b1d('0x9')](),controller[_0x5b1d('0xb')]);router[_0x5b1d('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0x5b1d('0xd')](_0x5b1d('0xe'),auth['isAuthenticated'](),controller[_0x5b1d('0xf')]);router[_0x5b1d('0x10')]('/:id',auth[_0x5b1d('0x9')](),controller[_0x5b1d('0x11')]);module[_0x5b1d('0x12')]=router;