Built motion from commit 3d6333b4.|2.6.31
[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 _0x705a=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','create','put','update','destroy','exports','util','path','connect-timeout','express','Router'];(function(_0x40f25f,_0x52c3bb){var _0x4d7906=function(_0x82fe40){while(--_0x82fe40){_0x40f25f['push'](_0x40f25f['shift']());}};_0x4d7906(++_0x52c3bb);}(_0x705a,0x7f));var _0xa705=function(_0x5400fc,_0x5dfbee){_0x5400fc=_0x5400fc-0x0;var _0x3d4e54=_0x705a[_0x5400fc];return _0x3d4e54;};'use strict';var multer=require('multer');var util=require(_0xa705('0x0'));var path=require(_0xa705('0x1'));var timeout=require(_0xa705('0x2'));var express=require(_0xa705('0x3'));var router=express[_0xa705('0x4')]();var fs_extra=require(_0xa705('0x5'));var auth=require(_0xa705('0x6'));var interaction=require(_0xa705('0x7'));var config=require(_0xa705('0x8'));var controller=require(_0xa705('0x9'));router[_0xa705('0xa')]('/',auth[_0xa705('0xb')](),controller[_0xa705('0xc')]);router[_0xa705('0xa')](_0xa705('0xd'),auth['isAuthenticated'](),controller[_0xa705('0xe')]);router['get'](_0xa705('0xf'),auth[_0xa705('0xb')](),controller[_0xa705('0x10')]);router['post']('/',auth[_0xa705('0xb')](),controller[_0xa705('0x11')]);router[_0xa705('0x12')](_0xa705('0xf'),auth[_0xa705('0xb')](),controller[_0xa705('0x13')]);router['delete'](_0xa705('0xf'),auth['isAuthenticated'](),controller[_0xa705('0x14')]);module[_0xa705('0x15')]=router;