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 _0xa39f=['put','update','delete','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperAdditionalPhone.controller','get','/:id','isAuthenticated','show','post','create'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xa39f,0x1e4));var _0xfa39=function(_0x2e5405,_0x42ec09){_0x2e5405=_0x2e5405-0x0;var _0x2f0270=_0xa39f[_0x2e5405];return _0x2f0270;};'use strict';var multer=require(_0xfa39('0x0'));var util=require(_0xfa39('0x1'));var path=require(_0xfa39('0x2'));var timeout=require('connect-timeout');var express=require(_0xfa39('0x3'));var router=express[_0xfa39('0x4')]();var fs_extra=require(_0xfa39('0x5'));var auth=require(_0xfa39('0x6'));var interaction=require(_0xfa39('0x7'));var config=require(_0xfa39('0x8'));var controller=require(_0xfa39('0x9'));router[_0xfa39('0xa')]('/',auth['isAuthenticated'](),controller['index']);router[_0xfa39('0xa')](_0xfa39('0xb'),auth[_0xfa39('0xc')](),controller[_0xfa39('0xd')]);router[_0xfa39('0xe')]('/',auth['isAuthenticated'](),controller[_0xfa39('0xf')]);router[_0xfa39('0x10')](_0xfa39('0xb'),auth[_0xfa39('0xc')](),controller[_0xfa39('0x11')]);router[_0xfa39('0x12')](_0xfa39('0xb'),auth[_0xfa39('0xc')](),controller['destroy']);module[_0xfa39('0x13')]=router;