Built motion from commit ddca4d0d.|2.5.47
[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 _0x25ca=['path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsQueueReport.controller','isAuthenticated','/describe','describe','get','/:id','show','post','create','put','update','delete','exports','multer','util'];(function(_0x216811,_0x5598cb){var _0x49f79f=function(_0x55f523){while(--_0x55f523){_0x216811['push'](_0x216811['shift']());}};_0x49f79f(++_0x5598cb);}(_0x25ca,0xf0));var _0xa25c=function(_0x2be8c2,_0x14a4b5){_0x2be8c2=_0x2be8c2-0x0;var _0x97f531=_0x25ca[_0x2be8c2];return _0x97f531;};'use strict';var multer=require(_0xa25c('0x0'));var util=require(_0xa25c('0x1'));var path=require(_0xa25c('0x2'));var timeout=require(_0xa25c('0x3'));var express=require(_0xa25c('0x4'));var router=express[_0xa25c('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xa25c('0x6'));var interaction=require(_0xa25c('0x7'));var config=require(_0xa25c('0x8'));var controller=require(_0xa25c('0x9'));router['get']('/',auth[_0xa25c('0xa')](),controller['index']);router['get'](_0xa25c('0xb'),auth[_0xa25c('0xa')](),controller[_0xa25c('0xc')]);router[_0xa25c('0xd')](_0xa25c('0xe'),auth[_0xa25c('0xa')](),controller[_0xa25c('0xf')]);router[_0xa25c('0x10')]('/',auth[_0xa25c('0xa')](),controller[_0xa25c('0x11')]);router[_0xa25c('0x12')]('/:id',auth[_0xa25c('0xa')](),controller[_0xa25c('0x13')]);router[_0xa25c('0x14')](_0xa25c('0xe'),auth['isAuthenticated'](),controller['destroy']);module[_0xa25c('0x15')]=router;