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