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 _0x11e4=['isAuthenticated','/describe','describe','/:id','show','create','put','delete','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./cdr.controller','get'];(function(_0x57d3d9,_0x2d605b){var _0x46730c=function(_0x1e7019){while(--_0x1e7019){_0x57d3d9['push'](_0x57d3d9['shift']());}};_0x46730c(++_0x2d605b);}(_0x11e4,0xc8));var _0x411e=function(_0x2e4aa2,_0x11956a){_0x2e4aa2=_0x2e4aa2-0x0;var _0x5e6092=_0x11e4[_0x2e4aa2];return _0x5e6092;};'use strict';var multer=require(_0x411e('0x0'));var util=require(_0x411e('0x1'));var path=require(_0x411e('0x2'));var timeout=require(_0x411e('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x411e('0x4'));var interaction=require(_0x411e('0x5'));var config=require(_0x411e('0x6'));var controller=require(_0x411e('0x7'));router[_0x411e('0x8')]('/',auth[_0x411e('0x9')](),controller['index']);router['get'](_0x411e('0xa'),auth['isAuthenticated'](),controller[_0x411e('0xb')]);router[_0x411e('0x8')](_0x411e('0xc'),auth[_0x411e('0x9')](),controller[_0x411e('0xd')]);router['post']('/',auth[_0x411e('0x9')](),controller[_0x411e('0xe')]);router[_0x411e('0xf')](_0x411e('0xc'),auth['isAuthenticated'](),controller['update']);router[_0x411e('0x10')]('/:id',auth[_0x411e('0x9')](),controller[_0x411e('0x11')]);module[_0x411e('0x12')]=router;