4650600df6a1f43569997265f950270432109c58
[motion2.git] / server / api / smsQueueReport / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x38c7=['../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','post','create','put','update','delete','destroy','exports','util','path','connect-timeout','Router'];(function(_0x5581ba,_0x268887){var _0x1e927f=function(_0x1803b2){while(--_0x1803b2){_0x5581ba['push'](_0x5581ba['shift']());}};_0x1e927f(++_0x268887);}(_0x38c7,0x106));var _0x738c=function(_0x13e366,_0x260779){_0x13e366=_0x13e366-0x0;var _0x540f15=_0x38c7[_0x13e366];return _0x540f15;};'use strict';var multer=require('multer');var util=require(_0x738c('0x0'));var path=require(_0x738c('0x1'));var timeout=require(_0x738c('0x2'));var express=require('express');var router=express[_0x738c('0x3')]();var auth=require(_0x738c('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x738c('0x5'));var controller=require('./smsQueueReport.controller');router[_0x738c('0x6')]('/',auth[_0x738c('0x7')](),controller[_0x738c('0x8')]);router[_0x738c('0x6')](_0x738c('0x9'),auth['isAuthenticated'](),controller[_0x738c('0xa')]);router[_0x738c('0x6')](_0x738c('0xb'),auth[_0x738c('0x7')](),controller['show']);router[_0x738c('0xc')]('/',auth[_0x738c('0x7')](),controller[_0x738c('0xd')]);router[_0x738c('0xe')]('/:id',auth[_0x738c('0x7')](),controller[_0x738c('0xf')]);router[_0x738c('0x10')](_0x738c('0xb'),auth[_0x738c('0x7')](),controller[_0x738c('0x11')]);module[_0x738c('0x12')]=router;