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 _0x0ca3=['show','post','create','update','delete','destroy','exports','path','../../components/auth/service','../../components/interaction/service','../../config/environment','./cdr.controller','get','index','isAuthenticated','describe','/:id'];(function(_0x4bcb8c,_0x42faab){var _0x134f1d=function(_0x1c2070){while(--_0x1c2070){_0x4bcb8c['push'](_0x4bcb8c['shift']());}};_0x134f1d(++_0x42faab);}(_0x0ca3,0x17d));var _0x30ca=function(_0x291d3f,_0x3ef99f){_0x291d3f=_0x291d3f-0x0;var _0x242080=_0x0ca3[_0x291d3f];return _0x242080;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x30ca('0x0'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x30ca('0x1'));var interaction=require(_0x30ca('0x2'));var config=require(_0x30ca('0x3'));var controller=require(_0x30ca('0x4'));router[_0x30ca('0x5')]('/',auth['isAuthenticated'](),controller[_0x30ca('0x6')]);router[_0x30ca('0x5')]('/describe',auth[_0x30ca('0x7')](),controller[_0x30ca('0x8')]);router[_0x30ca('0x5')](_0x30ca('0x9'),auth[_0x30ca('0x7')](),controller[_0x30ca('0xa')]);router[_0x30ca('0xb')]('/',auth[_0x30ca('0x7')](),controller[_0x30ca('0xc')]);router['put'](_0x30ca('0x9'),auth[_0x30ca('0x7')](),controller[_0x30ca('0xd')]);router[_0x30ca('0xe')](_0x30ca('0x9'),auth[_0x30ca('0x7')](),controller[_0x30ca('0xf')]);module[_0x30ca('0x10')]=router;