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 _0xb41e=['exports','multer','path','connect-timeout','express','fs-extra','../../components/interaction/service','get','isAuthenticated','index','show','post','create','/:id/applications','put','update','delete','destroy'];(function(_0x2074db,_0x10b81b){var _0x27324c=function(_0x5c3d5c){while(--_0x5c3d5c){_0x2074db['push'](_0x2074db['shift']());}};_0x27324c(++_0x10b81b);}(_0xb41e,0x145));var _0xeb41=function(_0x260075,_0x20e02a){_0x260075=_0x260075-0x0;var _0x17abbd=_0xb41e[_0x260075];return _0x17abbd;};'use strict';var multer=require(_0xeb41('0x0'));var util=require('util');var path=require(_0xeb41('0x1'));var timeout=require(_0xeb41('0x2'));var express=require(_0xeb41('0x3'));var router=express['Router']();var fs_extra=require(_0xeb41('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xeb41('0x5'));var config=require('../../config/environment');var controller=require('./voiceExtension.controller');router[_0xeb41('0x6')]('/',auth[_0xeb41('0x7')](),controller[_0xeb41('0x8')]);router[_0xeb41('0x6')]('/:id',auth[_0xeb41('0x7')](),controller[_0xeb41('0x9')]);router[_0xeb41('0xa')]('/',auth[_0xeb41('0x7')](),controller[_0xeb41('0xb')]);router[_0xeb41('0xa')](_0xeb41('0xc'),auth[_0xeb41('0x7')](),controller['addApplications']);router[_0xeb41('0xd')]('/:id',auth[_0xeb41('0x7')](),controller[_0xeb41('0xe')]);router[_0xeb41('0xf')]('/:id',auth[_0xeb41('0x7')](),controller[_0xeb41('0x10')]);module[_0xeb41('0x11')]=router;