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