d6c9f068f36add906611ada6e569943a1591e4aa
[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 _0x30b6=['/:id','create','put','update','delete','destroy','exports','multer','express','Router','fs-extra','../../components/auth/service','./smsQueueReport.controller','isAuthenticated','index','get','/describe','describe'];(function(_0x221f9d,_0xd4acca){var _0x1c9326=function(_0x1788dd){while(--_0x1788dd){_0x221f9d['push'](_0x221f9d['shift']());}};_0x1c9326(++_0xd4acca);}(_0x30b6,0x16f));var _0x630b=function(_0x85953f,_0x2decd2){_0x85953f=_0x85953f-0x0;var _0x35a9c5=_0x30b6[_0x85953f];return _0x35a9c5;};'use strict';var multer=require(_0x630b('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x630b('0x1'));var router=express[_0x630b('0x2')]();var fs_extra=require(_0x630b('0x3'));var auth=require(_0x630b('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x630b('0x5'));router['get']('/',auth[_0x630b('0x6')](),controller[_0x630b('0x7')]);router[_0x630b('0x8')](_0x630b('0x9'),auth[_0x630b('0x6')](),controller[_0x630b('0xa')]);router[_0x630b('0x8')](_0x630b('0xb'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0x630b('0x6')](),controller[_0x630b('0xc')]);router[_0x630b('0xd')](_0x630b('0xb'),auth['isAuthenticated'](),controller[_0x630b('0xe')]);router[_0x630b('0xf')](_0x630b('0xb'),auth['isAuthenticated'](),controller[_0x630b('0x10')]);module[_0x630b('0x11')]=router;