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