61e488b8b1b9cd579bb1f9162229dc4cca3e1d3f
[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 _0x36c0=['/describe','describe','/:id','show','create','put','update','delete','destroy','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service','./smsQueueReport.controller','isAuthenticated','index','get'];(function(_0x25b430,_0x342119){var _0x32d9e3=function(_0x5960bd){while(--_0x5960bd){_0x25b430['push'](_0x25b430['shift']());}};_0x32d9e3(++_0x342119);}(_0x36c0,0x6e));var _0x036c=function(_0x2b6910,_0x48080f){_0x2b6910=_0x2b6910-0x0;var _0x58638a=_0x36c0[_0x2b6910];return _0x58638a;};'use strict';var multer=require(_0x036c('0x0'));var util=require('util');var path=require(_0x036c('0x1'));var timeout=require('connect-timeout');var express=require(_0x036c('0x2'));var router=express[_0x036c('0x3')]();var auth=require(_0x036c('0x4'));var interaction=require(_0x036c('0x5'));var config=require('../../config/environment');var controller=require(_0x036c('0x6'));router['get']('/',auth[_0x036c('0x7')](),controller[_0x036c('0x8')]);router[_0x036c('0x9')](_0x036c('0xa'),auth['isAuthenticated'](),controller[_0x036c('0xb')]);router[_0x036c('0x9')](_0x036c('0xc'),auth[_0x036c('0x7')](),controller[_0x036c('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0x036c('0xe')]);router[_0x036c('0xf')](_0x036c('0xc'),auth[_0x036c('0x7')](),controller[_0x036c('0x10')]);router[_0x036c('0x11')](_0x036c('0xc'),auth[_0x036c('0x7')](),controller[_0x036c('0x12')]);module[_0x036c('0x13')]=router;