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 _0x1a61=['/:id','show','post','delete','destroy','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/describe','describe'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x1a61,0x1e6));var _0x11a6=function(_0x1e817b,_0x2cfb68){_0x1e817b=_0x1e817b-0x0;var _0x48c766=_0x1a61[_0x1e817b];return _0x48c766;};'use strict';var multer=require(_0x11a6('0x0'));var util=require('util');var path=require(_0x11a6('0x1'));var timeout=require('connect-timeout');var express=require(_0x11a6('0x2'));var router=express[_0x11a6('0x3')]();var auth=require(_0x11a6('0x4'));var interaction=require(_0x11a6('0x5'));var config=require('../../config/environment');var controller=require('./smsQueueReport.controller');router[_0x11a6('0x6')]('/',auth[_0x11a6('0x7')](),controller['index']);router[_0x11a6('0x6')](_0x11a6('0x8'),auth[_0x11a6('0x7')](),controller[_0x11a6('0x9')]);router[_0x11a6('0x6')](_0x11a6('0xa'),auth[_0x11a6('0x7')](),controller[_0x11a6('0xb')]);router[_0x11a6('0xc')]('/',auth['isAuthenticated'](),controller['create']);router['put'](_0x11a6('0xa'),auth[_0x11a6('0x7')](),controller['update']);router[_0x11a6('0xd')](_0x11a6('0xa'),auth[_0x11a6('0x7')](),controller[_0x11a6('0xe')]);module[_0x11a6('0xf')]=router;