Built motion from commit 3c2ce842.|2.6.31
[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 _0xbcf7=['destroy','exports','multer','util','path','express','Router','fs-extra','isAuthenticated','index','get','/describe','describe','show','create','put','update'];(function(_0x2be8c2,_0x14a4b5){var _0x97f531=function(_0xcee58d){while(--_0xcee58d){_0x2be8c2['push'](_0x2be8c2['shift']());}};_0x97f531(++_0x14a4b5);}(_0xbcf7,0x134));var _0x7bcf=function(_0x43c7a8,_0x1aa7e8){_0x43c7a8=_0x43c7a8-0x0;var _0x2ba767=_0xbcf7[_0x43c7a8];return _0x2ba767;};'use strict';var multer=require(_0x7bcf('0x0'));var util=require(_0x7bcf('0x1'));var path=require(_0x7bcf('0x2'));var timeout=require('connect-timeout');var express=require(_0x7bcf('0x3'));var router=express[_0x7bcf('0x4')]();var fs_extra=require(_0x7bcf('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./smsQueueReport.controller');router['get']('/',auth[_0x7bcf('0x6')](),controller[_0x7bcf('0x7')]);router[_0x7bcf('0x8')](_0x7bcf('0x9'),auth[_0x7bcf('0x6')](),controller[_0x7bcf('0xa')]);router[_0x7bcf('0x8')]('/:id',auth[_0x7bcf('0x6')](),controller[_0x7bcf('0xb')]);router['post']('/',auth[_0x7bcf('0x6')](),controller[_0x7bcf('0xc')]);router[_0x7bcf('0xd')]('/:id',auth[_0x7bcf('0x6')](),controller[_0x7bcf('0xe')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x7bcf('0xf')]);module[_0x7bcf('0x10')]=router;