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 _0xa762=['post','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','describe','/:id'];(function(_0x6131cd,_0x4c26a1){var _0x47e916=function(_0x1f2bce){while(--_0x1f2bce){_0x6131cd['push'](_0x6131cd['shift']());}};_0x47e916(++_0x4c26a1);}(_0xa762,0x114));var _0x2a76=function(_0x551f7a,_0x3556e3){_0x551f7a=_0x551f7a-0x0;var _0x35b174=_0xa762[_0x551f7a];return _0x35b174;};'use strict';var multer=require(_0x2a76('0x0'));var util=require(_0x2a76('0x1'));var path=require(_0x2a76('0x2'));var timeout=require(_0x2a76('0x3'));var express=require('express');var router=express[_0x2a76('0x4')]();var auth=require(_0x2a76('0x5'));var interaction=require(_0x2a76('0x6'));var config=require('../../config/environment');var controller=require('./smsQueueReport.controller');router[_0x2a76('0x7')]('/',auth[_0x2a76('0x8')](),controller[_0x2a76('0x9')]);router[_0x2a76('0x7')]('/describe',auth['isAuthenticated'](),controller[_0x2a76('0xa')]);router[_0x2a76('0x7')](_0x2a76('0xb'),auth[_0x2a76('0x8')](),controller['show']);router[_0x2a76('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0x2a76('0xd')](_0x2a76('0xb'),auth['isAuthenticated'](),controller[_0x2a76('0xe')]);router[_0x2a76('0xf')](_0x2a76('0xb'),auth['isAuthenticated'](),controller[_0x2a76('0x10')]);module[_0x2a76('0x11')]=router;