Built motion from commit (unavailable).|2.5.4
[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 _0x36fb=['connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','/describe','describe','get','show','post','put','/:id','delete','destroy','exports','multer','util','path'];(function(_0x279d37,_0x14de3f){var _0x530173=function(_0x37fc79){while(--_0x37fc79){_0x279d37['push'](_0x279d37['shift']());}};_0x530173(++_0x14de3f);}(_0x36fb,0x115));var _0xb36f=function(_0x345458,_0x2b1c17){_0x345458=_0x345458-0x0;var _0x5d814f=_0x36fb[_0x345458];return _0x5d814f;};'use strict';var multer=require(_0xb36f('0x0'));var util=require(_0xb36f('0x1'));var path=require(_0xb36f('0x2'));var timeout=require(_0xb36f('0x3'));var express=require(_0xb36f('0x4'));var router=express['Router']();var auth=require(_0xb36f('0x5'));var interaction=require(_0xb36f('0x6'));var config=require(_0xb36f('0x7'));var controller=require('./smsQueueReport.controller');router['get']('/',auth[_0xb36f('0x8')](),controller[_0xb36f('0x9')]);router['get'](_0xb36f('0xa'),auth[_0xb36f('0x8')](),controller[_0xb36f('0xb')]);router[_0xb36f('0xc')]('/:id',auth['isAuthenticated'](),controller[_0xb36f('0xd')]);router[_0xb36f('0xe')]('/',auth[_0xb36f('0x8')](),controller['create']);router[_0xb36f('0xf')](_0xb36f('0x10'),auth[_0xb36f('0x8')](),controller['update']);router[_0xb36f('0x11')]('/:id',auth[_0xb36f('0x8')](),controller[_0xb36f('0x12')]);module[_0xb36f('0x13')]=router;