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 _0x4cac=['update','delete','destroy','exports','multer','path','connect-timeout','express','../../components/interaction/service','../../config/environment','./voiceChanSpy.controller','get','isAuthenticated','index','/:id','show','post','create','put'];(function(_0x52a2be,_0x4bd252){var _0x246f1d=function(_0x410395){while(--_0x410395){_0x52a2be['push'](_0x52a2be['shift']());}};_0x246f1d(++_0x4bd252);}(_0x4cac,0x89));var _0xc4ca=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x4cac[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0xc4ca('0x0'));var util=require('util');var path=require(_0xc4ca('0x1'));var timeout=require(_0xc4ca('0x2'));var express=require(_0xc4ca('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xc4ca('0x4'));var config=require(_0xc4ca('0x5'));var controller=require(_0xc4ca('0x6'));router[_0xc4ca('0x7')]('/',auth[_0xc4ca('0x8')](),controller[_0xc4ca('0x9')]);router[_0xc4ca('0x7')](_0xc4ca('0xa'),auth['isAuthenticated'](),controller[_0xc4ca('0xb')]);router[_0xc4ca('0xc')]('/',auth[_0xc4ca('0x8')](),controller[_0xc4ca('0xd')]);router[_0xc4ca('0xe')](_0xc4ca('0xa'),auth['isAuthenticated'](),controller[_0xc4ca('0xf')]);router[_0xc4ca('0x10')](_0xc4ca('0xa'),auth[_0xc4ca('0x8')](),controller[_0xc4ca('0x11')]);module[_0xc4ca('0x12')]=router;