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