14c3e7e79f315eabd29b995bf423535f363ffd73
[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 _0x4a25=['describe','post','put','/:id','update','delete','destroy','exports','multer','path','express','Router','fs-extra','../../components/auth/service','../../config/environment','./smsQueueReport.controller','get','isAuthenticated','index','/describe'];(function(_0x3ec271,_0x304bad){var _0x4648e5=function(_0x133dd1){while(--_0x133dd1){_0x3ec271['push'](_0x3ec271['shift']());}};_0x4648e5(++_0x304bad);}(_0x4a25,0x1d4));var _0x54a2=function(_0x176d14,_0x3984ea){_0x176d14=_0x176d14-0x0;var _0x89522c=_0x4a25[_0x176d14];return _0x89522c;};'use strict';var multer=require(_0x54a2('0x0'));var util=require('util');var path=require(_0x54a2('0x1'));var timeout=require('connect-timeout');var express=require(_0x54a2('0x2'));var router=express[_0x54a2('0x3')]();var fs_extra=require(_0x54a2('0x4'));var auth=require(_0x54a2('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x54a2('0x6'));var controller=require(_0x54a2('0x7'));router[_0x54a2('0x8')]('/',auth[_0x54a2('0x9')](),controller[_0x54a2('0xa')]);router['get'](_0x54a2('0xb'),auth[_0x54a2('0x9')](),controller[_0x54a2('0xc')]);router['get']('/:id',auth[_0x54a2('0x9')](),controller['show']);router[_0x54a2('0xd')]('/',auth[_0x54a2('0x9')](),controller['create']);router[_0x54a2('0xe')](_0x54a2('0xf'),auth['isAuthenticated'](),controller[_0x54a2('0x10')]);router[_0x54a2('0x11')]('/:id',auth[_0x54a2('0x9')](),controller[_0x54a2('0x12')]);module[_0x54a2('0x13')]=router;