Built motion from commit (unavailable).|2.5.30
[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 _0xfbc5=['path','express','Router','fs-extra','../../components/auth/service','../../config/environment','./smsQueueReport.controller','get','isAuthenticated','index','/describe','describe','put','/:id','delete','destroy','multer'];(function(_0x4e676e,_0x2a7c6d){var _0x336a3c=function(_0x4767c4){while(--_0x4767c4){_0x4e676e['push'](_0x4e676e['shift']());}};_0x336a3c(++_0x2a7c6d);}(_0xfbc5,0x98));var _0x5fbc=function(_0x37e68c,_0x2acb4e){_0x37e68c=_0x37e68c-0x0;var _0xe91fe6=_0xfbc5[_0x37e68c];return _0xe91fe6;};'use strict';var multer=require(_0x5fbc('0x0'));var util=require('util');var path=require(_0x5fbc('0x1'));var timeout=require('connect-timeout');var express=require(_0x5fbc('0x2'));var router=express[_0x5fbc('0x3')]();var fs_extra=require(_0x5fbc('0x4'));var auth=require(_0x5fbc('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x5fbc('0x6'));var controller=require(_0x5fbc('0x7'));router[_0x5fbc('0x8')]('/',auth[_0x5fbc('0x9')](),controller[_0x5fbc('0xa')]);router[_0x5fbc('0x8')](_0x5fbc('0xb'),auth[_0x5fbc('0x9')](),controller[_0x5fbc('0xc')]);router['get']('/:id',auth[_0x5fbc('0x9')](),controller['show']);router['post']('/',auth[_0x5fbc('0x9')](),controller['create']);router[_0x5fbc('0xd')](_0x5fbc('0xe'),auth['isAuthenticated'](),controller['update']);router[_0x5fbc('0xf')](_0x5fbc('0xe'),auth['isAuthenticated'](),controller[_0x5fbc('0x10')]);module['exports']=router;