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