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 _0x5c7e=['post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','describe','/:id','show'];(function(_0x2a8eea,_0x2b46bc){var _0x74c112=function(_0x29e9be){while(--_0x29e9be){_0x2a8eea['push'](_0x2a8eea['shift']());}};_0x74c112(++_0x2b46bc);}(_0x5c7e,0x1eb));var _0xe5c7=function(_0x19dd7a,_0x51de21){_0x19dd7a=_0x19dd7a-0x0;var _0x3feb6a=_0x5c7e[_0x19dd7a];return _0x3feb6a;};'use strict';var multer=require(_0xe5c7('0x0'));var util=require(_0xe5c7('0x1'));var path=require(_0xe5c7('0x2'));var timeout=require(_0xe5c7('0x3'));var express=require(_0xe5c7('0x4'));var router=express[_0xe5c7('0x5')]();var auth=require(_0xe5c7('0x6'));var interaction=require(_0xe5c7('0x7'));var config=require(_0xe5c7('0x8'));var controller=require('./cdr.controller');router['get']('/',auth[_0xe5c7('0x9')](),controller[_0xe5c7('0xa')]);router[_0xe5c7('0xb')]('/describe',auth[_0xe5c7('0x9')](),controller[_0xe5c7('0xc')]);router['get'](_0xe5c7('0xd'),auth[_0xe5c7('0x9')](),controller[_0xe5c7('0xe')]);router[_0xe5c7('0xf')]('/',auth[_0xe5c7('0x9')](),controller[_0xe5c7('0x10')]);router[_0xe5c7('0x11')](_0xe5c7('0xd'),auth[_0xe5c7('0x9')](),controller[_0xe5c7('0x12')]);router[_0xe5c7('0x13')](_0xe5c7('0xd'),auth[_0xe5c7('0x9')](),controller[_0xe5c7('0x14')]);module[_0xe5c7('0x15')]=router;