Built motion from commit 994c64e1.|2.6.1
[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 _0x613a=['/describe','isAuthenticated','describe','/:id','post','create','put','update','delete','destroy','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsQueueReport.controller','get','index'];(function(_0x52be2b,_0x1da94c){var _0x355cd3=function(_0x24da80){while(--_0x24da80){_0x52be2b['push'](_0x52be2b['shift']());}};_0x355cd3(++_0x1da94c);}(_0x613a,0xba));var _0xa613=function(_0x5df858,_0x46a311){_0x5df858=_0x5df858-0x0;var _0x2b3c48=_0x613a[_0x5df858];return _0x2b3c48;};'use strict';var multer=require('multer');var util=require(_0xa613('0x0'));var path=require(_0xa613('0x1'));var timeout=require(_0xa613('0x2'));var express=require(_0xa613('0x3'));var router=express[_0xa613('0x4')]();var fs_extra=require(_0xa613('0x5'));var auth=require(_0xa613('0x6'));var interaction=require(_0xa613('0x7'));var config=require(_0xa613('0x8'));var controller=require(_0xa613('0x9'));router[_0xa613('0xa')]('/',auth['isAuthenticated'](),controller[_0xa613('0xb')]);router[_0xa613('0xa')](_0xa613('0xc'),auth[_0xa613('0xd')](),controller[_0xa613('0xe')]);router[_0xa613('0xa')](_0xa613('0xf'),auth[_0xa613('0xd')](),controller['show']);router[_0xa613('0x10')]('/',auth['isAuthenticated'](),controller[_0xa613('0x11')]);router[_0xa613('0x12')]('/:id',auth[_0xa613('0xd')](),controller[_0xa613('0x13')]);router[_0xa613('0x14')](_0xa613('0xf'),auth['isAuthenticated'](),controller[_0xa613('0x15')]);module['exports']=router;