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 _0xc34c=['exports','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cdr.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','update','delete'];(function(_0x4b93ba,_0x498acd){var _0x12999c=function(_0x4f58d5){while(--_0x4f58d5){_0x4b93ba['push'](_0x4b93ba['shift']());}};_0x12999c(++_0x498acd);}(_0xc34c,0xa1));var _0xcc34=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0xc34c[_0x57b54c];return _0x59cc19;};'use strict';var multer=require('multer');var util=require(_0xcc34('0x0'));var path=require('path');var timeout=require(_0xcc34('0x1'));var express=require(_0xcc34('0x2'));var router=express[_0xcc34('0x3')]();var auth=require(_0xcc34('0x4'));var interaction=require(_0xcc34('0x5'));var config=require(_0xcc34('0x6'));var controller=require(_0xcc34('0x7'));router[_0xcc34('0x8')]('/',auth[_0xcc34('0x9')](),controller[_0xcc34('0xa')]);router[_0xcc34('0x8')](_0xcc34('0xb'),auth[_0xcc34('0x9')](),controller[_0xcc34('0xc')]);router[_0xcc34('0x8')](_0xcc34('0xd'),auth['isAuthenticated'](),controller[_0xcc34('0xe')]);router[_0xcc34('0xf')]('/',auth[_0xcc34('0x9')](),controller[_0xcc34('0x10')]);router['put'](_0xcc34('0xd'),auth['isAuthenticated'](),controller[_0xcc34('0x11')]);router[_0xcc34('0x12')](_0xcc34('0xd'),auth[_0xcc34('0x9')](),controller['destroy']);module[_0xcc34('0x13')]=router;