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 _0xb7a7=['multer','util','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/describe','describe','/:id','show','create','put','update','delete','destroy','exports'];(function(_0x128495,_0x25a304){var _0xcb1a0e=function(_0x451f3f){while(--_0x451f3f){_0x128495['push'](_0x128495['shift']());}};_0xcb1a0e(++_0x25a304);}(_0xb7a7,0xaa));var _0x7b7a=function(_0x29c9b5,_0x112417){_0x29c9b5=_0x29c9b5-0x0;var _0x71018=_0xb7a7[_0x29c9b5];return _0x71018;};'use strict';var multer=require(_0x7b7a('0x0'));var util=require(_0x7b7a('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x7b7a('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x7b7a('0x3'));var interaction=require(_0x7b7a('0x4'));var config=require('../../config/environment');var controller=require('./smsQueueReport.controller');router[_0x7b7a('0x5')]('/',auth[_0x7b7a('0x6')](),controller['index']);router[_0x7b7a('0x5')](_0x7b7a('0x7'),auth[_0x7b7a('0x6')](),controller[_0x7b7a('0x8')]);router[_0x7b7a('0x5')](_0x7b7a('0x9'),auth[_0x7b7a('0x6')](),controller[_0x7b7a('0xa')]);router['post']('/',auth[_0x7b7a('0x6')](),controller[_0x7b7a('0xb')]);router[_0x7b7a('0xc')]('/:id',auth[_0x7b7a('0x6')](),controller[_0x7b7a('0xd')]);router[_0x7b7a('0xe')](_0x7b7a('0x9'),auth[_0x7b7a('0x6')](),controller[_0x7b7a('0xf')]);module[_0x7b7a('0x10')]=router;