Built motion from commit 67e5df37.|2.0.66
[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 _0xaf80=['delete','destroy','multer','util','path','express','../../config/environment','./smsQueueReport.controller','get','isAuthenticated','index','describe','/:id','show','create','put','update'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xaf80,0x1ef));var _0x0af8=function(_0x269389,_0x2425da){_0x269389=_0x269389-0x0;var _0x20d807=_0xaf80[_0x269389];return _0x20d807;};'use strict';var multer=require(_0x0af8('0x0'));var util=require(_0x0af8('0x1'));var path=require(_0x0af8('0x2'));var express=require(_0x0af8('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x0af8('0x4'));var controller=require(_0x0af8('0x5'));router[_0x0af8('0x6')]('/',auth[_0x0af8('0x7')](),controller[_0x0af8('0x8')]);router[_0x0af8('0x6')]('/describe',auth['isAuthenticated'](),controller[_0x0af8('0x9')]);router['get'](_0x0af8('0xa'),auth[_0x0af8('0x7')](),controller[_0x0af8('0xb')]);router['post']('/',auth[_0x0af8('0x7')](),controller[_0x0af8('0xc')]);router[_0x0af8('0xd')]('/:id',auth['isAuthenticated'](),controller[_0x0af8('0xe')]);router[_0x0af8('0xf')](_0x0af8('0xa'),auth[_0x0af8('0x7')](),controller[_0x0af8('0x10')]);module['exports']=router;