a72ec0e8c98c1785f8a67c64e05605ad59e7574f
[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 _0xa61f=['../../components/auth/service','../../config/environment','isAuthenticated','index','get','/describe','/:id','show','create','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra'];(function(_0x5cf613,_0xec497f){var _0x52d105=function(_0x17e1ed){while(--_0x17e1ed){_0x5cf613['push'](_0x5cf613['shift']());}};_0x52d105(++_0xec497f);}(_0xa61f,0x14d));var _0xfa61=function(_0x42cae2,_0x284ef8){_0x42cae2=_0x42cae2-0x0;var _0x5f256f=_0xa61f[_0x42cae2];return _0x5f256f;};'use strict';var multer=require(_0xfa61('0x0'));var util=require(_0xfa61('0x1'));var path=require(_0xfa61('0x2'));var timeout=require(_0xfa61('0x3'));var express=require(_0xfa61('0x4'));var router=express[_0xfa61('0x5')]();var fs_extra=require(_0xfa61('0x6'));var auth=require(_0xfa61('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0xfa61('0x8'));var controller=require('./smsQueueReport.controller');router['get']('/',auth[_0xfa61('0x9')](),controller[_0xfa61('0xa')]);router[_0xfa61('0xb')](_0xfa61('0xc'),auth[_0xfa61('0x9')](),controller['describe']);router[_0xfa61('0xb')](_0xfa61('0xd'),auth[_0xfa61('0x9')](),controller[_0xfa61('0xe')]);router['post']('/',auth[_0xfa61('0x9')](),controller[_0xfa61('0xf')]);router['put'](_0xfa61('0xd'),auth[_0xfa61('0x9')](),controller[_0xfa61('0x10')]);router[_0xfa61('0x11')](_0xfa61('0xd'),auth['isAuthenticated'](),controller[_0xfa61('0x12')]);module[_0xfa61('0x13')]=router;