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