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 _0x252e=['get','isAuthenticated','index','show','post','create','put','/:id','update','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceExtension.controller'];(function(_0x2fdf91,_0x4b03b8){var _0x41847c=function(_0x402213){while(--_0x402213){_0x2fdf91['push'](_0x2fdf91['shift']());}};_0x41847c(++_0x4b03b8);}(_0x252e,0x1ed));var _0xe252=function(_0x172952,_0x46fc74){_0x172952=_0x172952-0x0;var _0x330333=_0x252e[_0x172952];return _0x330333;};'use strict';var multer=require(_0xe252('0x0'));var util=require(_0xe252('0x1'));var path=require(_0xe252('0x2'));var timeout=require(_0xe252('0x3'));var express=require(_0xe252('0x4'));var router=express[_0xe252('0x5')]();var fs_extra=require(_0xe252('0x6'));var auth=require(_0xe252('0x7'));var interaction=require(_0xe252('0x8'));var config=require(_0xe252('0x9'));var controller=require(_0xe252('0xa'));router[_0xe252('0xb')]('/',auth[_0xe252('0xc')](),controller[_0xe252('0xd')]);router[_0xe252('0xb')]('/:id',auth[_0xe252('0xc')](),controller[_0xe252('0xe')]);router[_0xe252('0xf')]('/',auth['isAuthenticated'](),controller[_0xe252('0x10')]);router[_0xe252('0xf')]('/:id/applications',auth[_0xe252('0xc')](),controller['addApplications']);router[_0xe252('0x11')](_0xe252('0x12'),auth['isAuthenticated'](),controller[_0xe252('0x13')]);router['delete'](_0xe252('0x12'),auth[_0xe252('0xc')](),controller['destroy']);module[_0xe252('0x14')]=router;