fb24027547f17f42ce31c23bb15f40cfe2a23e93
[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 _0x5a89=['fs-extra','../../components/auth/service','../../components/interaction/service','./smsQueueReport.controller','get','index','isAuthenticated','describe','post','create','put','/:id','exports','connect-timeout','express','Router'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0x5a89,0x18d));var _0x95a8=function(_0x4cb692,_0x4f0744){_0x4cb692=_0x4cb692-0x0;var _0x21cabf=_0x5a89[_0x4cb692];return _0x21cabf;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x95a8('0x0'));var express=require(_0x95a8('0x1'));var router=express[_0x95a8('0x2')]();var fs_extra=require(_0x95a8('0x3'));var auth=require(_0x95a8('0x4'));var interaction=require(_0x95a8('0x5'));var config=require('../../config/environment');var controller=require(_0x95a8('0x6'));router[_0x95a8('0x7')]('/',auth['isAuthenticated'](),controller[_0x95a8('0x8')]);router[_0x95a8('0x7')]('/describe',auth[_0x95a8('0x9')](),controller[_0x95a8('0xa')]);router[_0x95a8('0x7')]('/:id',auth[_0x95a8('0x9')](),controller['show']);router[_0x95a8('0xb')]('/',auth[_0x95a8('0x9')](),controller[_0x95a8('0xc')]);router[_0x95a8('0xd')](_0x95a8('0xe'),auth[_0x95a8('0x9')](),controller['update']);router['delete'](_0x95a8('0xe'),auth['isAuthenticated'](),controller['destroy']);module[_0x95a8('0xf')]=router;