6061c51a97366616d215f465e66c2a380755266f
[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 _0xcbf2=['exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','./smsQueueReport.controller','get','/describe','isAuthenticated','describe','post','create','put','/:id','update','delete','destroy'];(function(_0x3482a8,_0x1472e7){var _0x5c0db6=function(_0x1f05c5){while(--_0x1f05c5){_0x3482a8['push'](_0x3482a8['shift']());}};_0x5c0db6(++_0x1472e7);}(_0xcbf2,0x119));var _0x2cbf=function(_0x52ff45,_0xf649d2){_0x52ff45=_0x52ff45-0x0;var _0x24b5a1=_0xcbf2[_0x52ff45];return _0x24b5a1;};'use strict';var multer=require(_0x2cbf('0x0'));var util=require(_0x2cbf('0x1'));var path=require(_0x2cbf('0x2'));var timeout=require(_0x2cbf('0x3'));var express=require(_0x2cbf('0x4'));var router=express['Router']();var auth=require(_0x2cbf('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x2cbf('0x6'));var controller=require(_0x2cbf('0x7'));router[_0x2cbf('0x8')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x2cbf('0x9'),auth[_0x2cbf('0xa')](),controller[_0x2cbf('0xb')]);router['get']('/:id',auth['isAuthenticated'](),controller['show']);router[_0x2cbf('0xc')]('/',auth[_0x2cbf('0xa')](),controller[_0x2cbf('0xd')]);router[_0x2cbf('0xe')](_0x2cbf('0xf'),auth[_0x2cbf('0xa')](),controller[_0x2cbf('0x10')]);router[_0x2cbf('0x11')](_0x2cbf('0xf'),auth['isAuthenticated'](),controller[_0x2cbf('0x12')]);module[_0x2cbf('0x13')]=router;