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