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 _0xf438=['update','delete','destroy','exports','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceExtension.controller','get','index','/:id','isAuthenticated','post','/:id/applications','addApplications','put'];(function(_0x1c1323,_0x42fea6){var _0x11e773=function(_0x11395b){while(--_0x11395b){_0x1c1323['push'](_0x1c1323['shift']());}};_0x11e773(++_0x42fea6);}(_0xf438,0xe0));var _0x8f43=function(_0x32f7d7,_0x54231b){_0x32f7d7=_0x32f7d7-0x0;var _0x133d09=_0xf438[_0x32f7d7];return _0x133d09;};'use strict';var multer=require('multer');var util=require(_0x8f43('0x0'));var path=require(_0x8f43('0x1'));var timeout=require(_0x8f43('0x2'));var express=require(_0x8f43('0x3'));var router=express['Router']();var auth=require(_0x8f43('0x4'));var interaction=require(_0x8f43('0x5'));var config=require(_0x8f43('0x6'));var controller=require(_0x8f43('0x7'));router[_0x8f43('0x8')]('/',auth['isAuthenticated'](),controller[_0x8f43('0x9')]);router[_0x8f43('0x8')](_0x8f43('0xa'),auth[_0x8f43('0xb')](),controller['show']);router[_0x8f43('0xc')]('/',auth[_0x8f43('0xb')](),controller['create']);router[_0x8f43('0xc')](_0x8f43('0xd'),auth['isAuthenticated'](),controller[_0x8f43('0xe')]);router[_0x8f43('0xf')](_0x8f43('0xa'),auth[_0x8f43('0xb')](),controller[_0x8f43('0x10')]);router[_0x8f43('0x11')](_0x8f43('0xa'),auth[_0x8f43('0xb')](),controller[_0x8f43('0x12')]);module[_0x8f43('0x13')]=router;