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 _0x88bc=['util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./cdr.controller','get','isAuthenticated','index','describe','/:id','show','post','create','put','update','delete','destroy','multer'];(function(_0x5224ba,_0x3fb4e1){var _0x459bd2=function(_0x61be43){while(--_0x61be43){_0x5224ba['push'](_0x5224ba['shift']());}};_0x459bd2(++_0x3fb4e1);}(_0x88bc,0x68));var _0xc88b=function(_0x4f32de,_0x5bd4a){_0x4f32de=_0x4f32de-0x0;var _0x149821=_0x88bc[_0x4f32de];return _0x149821;};'use strict';var multer=require(_0xc88b('0x0'));var util=require(_0xc88b('0x1'));var path=require(_0xc88b('0x2'));var timeout=require(_0xc88b('0x3'));var express=require(_0xc88b('0x4'));var router=express[_0xc88b('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xc88b('0x6'));var config=require(_0xc88b('0x7'));var controller=require(_0xc88b('0x8'));router[_0xc88b('0x9')]('/',auth[_0xc88b('0xa')](),controller[_0xc88b('0xb')]);router[_0xc88b('0x9')]('/describe',auth['isAuthenticated'](),controller[_0xc88b('0xc')]);router[_0xc88b('0x9')](_0xc88b('0xd'),auth[_0xc88b('0xa')](),controller[_0xc88b('0xe')]);router[_0xc88b('0xf')]('/',auth[_0xc88b('0xa')](),controller[_0xc88b('0x10')]);router[_0xc88b('0x11')](_0xc88b('0xd'),auth['isAuthenticated'](),controller[_0xc88b('0x12')]);router[_0xc88b('0x13')](_0xc88b('0xd'),auth['isAuthenticated'](),controller[_0xc88b('0x14')]);module['exports']=router;