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 _0x44b4=['connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','index','get','/:id','isAuthenticated','show','post','create','put','update','multer','path'];(function(_0x6465b0,_0x45653a){var _0x4884fe=function(_0x427085){while(--_0x427085){_0x6465b0['push'](_0x6465b0['shift']());}};_0x4884fe(++_0x45653a);}(_0x44b4,0x185));var _0x444b=function(_0xd26bdb,_0x1db47a){_0xd26bdb=_0xd26bdb-0x0;var _0x3e3611=_0x44b4[_0xd26bdb];return _0x3e3611;};'use strict';var multer=require(_0x444b('0x0'));var util=require('util');var path=require(_0x444b('0x1'));var timeout=require(_0x444b('0x2'));var express=require('express');var router=express[_0x444b('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x444b('0x4'));var interaction=require(_0x444b('0x5'));var config=require(_0x444b('0x6'));var controller=require(_0x444b('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x444b('0x8')]);router[_0x444b('0x9')](_0x444b('0xa'),auth[_0x444b('0xb')](),controller[_0x444b('0xc')]);router[_0x444b('0xd')]('/',auth[_0x444b('0xb')](),controller[_0x444b('0xe')]);router[_0x444b('0xf')](_0x444b('0xa'),auth[_0x444b('0xb')](),controller[_0x444b('0x10')]);router['delete'](_0x444b('0xa'),auth[_0x444b('0xb')](),controller['destroy']);module['exports']=router;