Built motion from commit d6d69adf.|2.6.33
[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 _0x6b24=['/:id','show','post','update','delete','destroy','exports','multer','util','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe'];(function(_0x1dfd1d,_0x305800){var _0x26d4d1=function(_0x3d1218){while(--_0x3d1218){_0x1dfd1d['push'](_0x1dfd1d['shift']());}};_0x26d4d1(++_0x305800);}(_0x6b24,0xf7));var _0x46b2=function(_0x19cf7a,_0x1dd21e){_0x19cf7a=_0x19cf7a-0x0;var _0x1a75bb=_0x6b24[_0x19cf7a];return _0x1a75bb;};'use strict';var multer=require(_0x46b2('0x0'));var util=require(_0x46b2('0x1'));var path=require(_0x46b2('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x46b2('0x3')]();var fs_extra=require(_0x46b2('0x4'));var auth=require(_0x46b2('0x5'));var interaction=require(_0x46b2('0x6'));var config=require(_0x46b2('0x7'));var controller=require('./smsQueueReport.controller');router[_0x46b2('0x8')]('/',auth[_0x46b2('0x9')](),controller[_0x46b2('0xa')]);router[_0x46b2('0x8')](_0x46b2('0xb'),auth['isAuthenticated'](),controller[_0x46b2('0xc')]);router[_0x46b2('0x8')](_0x46b2('0xd'),auth[_0x46b2('0x9')](),controller[_0x46b2('0xe')]);router[_0x46b2('0xf')]('/',auth[_0x46b2('0x9')](),controller['create']);router['put']('/:id',auth[_0x46b2('0x9')](),controller[_0x46b2('0x10')]);router[_0x46b2('0x11')](_0x46b2('0xd'),auth[_0x46b2('0x9')](),controller[_0x46b2('0x12')]);module[_0x46b2('0x13')]=router;