68164f902e1ce19ad4c4f7c6ce8d8c261b9ae5c7
[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 _0xc8ba=['../../components/interaction/service','./smsQueueReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','Router','fs-extra','../../components/auth/service'];(function(_0x3fba9f,_0x3b7b9b){var _0x192cf1=function(_0x557290){while(--_0x557290){_0x3fba9f['push'](_0x3fba9f['shift']());}};_0x192cf1(++_0x3b7b9b);}(_0xc8ba,0x186));var _0xac8b=function(_0x2fb87c,_0x2dee49){_0x2fb87c=_0x2fb87c-0x0;var _0x43038b=_0xc8ba[_0x2fb87c];return _0x43038b;};'use strict';var multer=require(_0xac8b('0x0'));var util=require(_0xac8b('0x1'));var path=require(_0xac8b('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xac8b('0x3')]();var fs_extra=require(_0xac8b('0x4'));var auth=require(_0xac8b('0x5'));var interaction=require(_0xac8b('0x6'));var config=require('../../config/environment');var controller=require(_0xac8b('0x7'));router[_0xac8b('0x8')]('/',auth['isAuthenticated'](),controller[_0xac8b('0x9')]);router['get'](_0xac8b('0xa'),auth[_0xac8b('0xb')](),controller[_0xac8b('0xc')]);router['get'](_0xac8b('0xd'),auth[_0xac8b('0xb')](),controller[_0xac8b('0xe')]);router[_0xac8b('0xf')]('/',auth[_0xac8b('0xb')](),controller[_0xac8b('0x10')]);router[_0xac8b('0x11')](_0xac8b('0xd'),auth[_0xac8b('0xb')](),controller[_0xac8b('0x12')]);router[_0xac8b('0x13')](_0xac8b('0xd'),auth['isAuthenticated'](),controller[_0xac8b('0x14')]);module[_0xac8b('0x15')]=router;