Built motion from commit 0900f080.|2.5.45
[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 _0x1c3a=['express','Router','fs-extra','../../components/auth/service','../../config/environment','get','index','/describe','isAuthenticated','describe','/:id','show','post','create','put','update','destroy','multer','util','path'];(function(_0x3ef4ce,_0x5b4e3e){var _0x414d9d=function(_0x28e388){while(--_0x28e388){_0x3ef4ce['push'](_0x3ef4ce['shift']());}};_0x414d9d(++_0x5b4e3e);}(_0x1c3a,0x9d));var _0xa1c3=function(_0xd73be6,_0x15e94d){_0xd73be6=_0xd73be6-0x0;var _0x155ad0=_0x1c3a[_0xd73be6];return _0x155ad0;};'use strict';var multer=require(_0xa1c3('0x0'));var util=require(_0xa1c3('0x1'));var path=require(_0xa1c3('0x2'));var timeout=require('connect-timeout');var express=require(_0xa1c3('0x3'));var router=express[_0xa1c3('0x4')]();var fs_extra=require(_0xa1c3('0x5'));var auth=require(_0xa1c3('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xa1c3('0x7'));var controller=require('./smsQueueReport.controller');router[_0xa1c3('0x8')]('/',auth['isAuthenticated'](),controller[_0xa1c3('0x9')]);router[_0xa1c3('0x8')](_0xa1c3('0xa'),auth[_0xa1c3('0xb')](),controller[_0xa1c3('0xc')]);router[_0xa1c3('0x8')](_0xa1c3('0xd'),auth['isAuthenticated'](),controller[_0xa1c3('0xe')]);router[_0xa1c3('0xf')]('/',auth[_0xa1c3('0xb')](),controller[_0xa1c3('0x10')]);router[_0xa1c3('0x11')](_0xa1c3('0xd'),auth[_0xa1c3('0xb')](),controller[_0xa1c3('0x12')]);router['delete']('/:id',auth[_0xa1c3('0xb')](),controller[_0xa1c3('0x13')]);module['exports']=router;