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 _0xcae1=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','put','update','delete','destroy','multer','util','path','connect-timeout'];(function(_0x57d13b,_0x52d8cb){var _0x467696=function(_0x153000){while(--_0x153000){_0x57d13b['push'](_0x57d13b['shift']());}};_0x467696(++_0x52d8cb);}(_0xcae1,0x13f));var _0x1cae=function(_0x2aec52,_0x59d962){_0x2aec52=_0x2aec52-0x0;var _0x3b8835=_0xcae1[_0x2aec52];return _0x3b8835;};'use strict';var multer=require(_0x1cae('0x0'));var util=require(_0x1cae('0x1'));var path=require(_0x1cae('0x2'));var timeout=require(_0x1cae('0x3'));var express=require(_0x1cae('0x4'));var router=express[_0x1cae('0x5')]();var auth=require(_0x1cae('0x6'));var interaction=require(_0x1cae('0x7'));var config=require(_0x1cae('0x8'));var controller=require('./smsQueueReport.controller');router[_0x1cae('0x9')]('/',auth[_0x1cae('0xa')](),controller[_0x1cae('0xb')]);router[_0x1cae('0x9')](_0x1cae('0xc'),auth[_0x1cae('0xa')](),controller[_0x1cae('0xd')]);router['get'](_0x1cae('0xe'),auth[_0x1cae('0xa')](),controller['show']);router['post']('/',auth[_0x1cae('0xa')](),controller['create']);router[_0x1cae('0xf')](_0x1cae('0xe'),auth['isAuthenticated'](),controller[_0x1cae('0x10')]);router[_0x1cae('0x11')](_0x1cae('0xe'),auth[_0x1cae('0xa')](),controller[_0x1cae('0x12')]);module['exports']=router;