Built motion from commit 43538d75.|2.5.35
[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 _0x565f=['isAuthenticated','describe','/:id','show','create','put','update','destroy','exports','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','index','/describe'];(function(_0x3b7b8a,_0x52c3b0){var _0x441206=function(_0x5d34d3){while(--_0x5d34d3){_0x3b7b8a['push'](_0x3b7b8a['shift']());}};_0x441206(++_0x52c3b0);}(_0x565f,0x68));var _0xf565=function(_0x2c4ec3,_0x2adc37){_0x2c4ec3=_0x2c4ec3-0x0;var _0x378c12=_0x565f[_0x2c4ec3];return _0x378c12;};'use strict';var multer=require('multer');var util=require(_0xf565('0x0'));var path=require(_0xf565('0x1'));var timeout=require(_0xf565('0x2'));var express=require('express');var router=express[_0xf565('0x3')]();var fs_extra=require(_0xf565('0x4'));var auth=require(_0xf565('0x5'));var interaction=require(_0xf565('0x6'));var config=require(_0xf565('0x7'));var controller=require('./smsQueueReport.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xf565('0x8')]);router['get'](_0xf565('0x9'),auth[_0xf565('0xa')](),controller[_0xf565('0xb')]);router['get'](_0xf565('0xc'),auth['isAuthenticated'](),controller[_0xf565('0xd')]);router['post']('/',auth[_0xf565('0xa')](),controller[_0xf565('0xe')]);router[_0xf565('0xf')](_0xf565('0xc'),auth[_0xf565('0xa')](),controller[_0xf565('0x10')]);router['delete']('/:id',auth[_0xf565('0xa')](),controller[_0xf565('0x11')]);module[_0xf565('0x12')]=router;