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