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