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 _0xc556=['../../config/environment','get','isAuthenticated','/describe','describe','/:id','show','create','update','destroy','exports','multer','express','Router','../../components/interaction/service'];(function(_0x3ba813,_0x4acfd9){var _0x499b77=function(_0x1aaef8){while(--_0x1aaef8){_0x3ba813['push'](_0x3ba813['shift']());}};_0x499b77(++_0x4acfd9);}(_0xc556,0x1eb));var _0x6c55=function(_0x1c19dc,_0x41a121){_0x1c19dc=_0x1c19dc-0x0;var _0x45410e=_0xc556[_0x1c19dc];return _0x45410e;};'use strict';var multer=require(_0x6c55('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x6c55('0x1'));var router=express[_0x6c55('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x6c55('0x3'));var config=require(_0x6c55('0x4'));var controller=require('./smsQueueReport.controller');router[_0x6c55('0x5')]('/',auth[_0x6c55('0x6')](),controller['index']);router['get'](_0x6c55('0x7'),auth['isAuthenticated'](),controller[_0x6c55('0x8')]);router[_0x6c55('0x5')](_0x6c55('0x9'),auth[_0x6c55('0x6')](),controller[_0x6c55('0xa')]);router['post']('/',auth['isAuthenticated'](),controller[_0x6c55('0xb')]);router['put']('/:id',auth[_0x6c55('0x6')](),controller[_0x6c55('0xc')]);router['delete'](_0x6c55('0x9'),auth[_0x6c55('0x6')](),controller[_0x6c55('0xd')]);module[_0x6c55('0xe')]=router;