Built motion from commit 8356fca3.|2.6.19
[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 _0xd8af=['connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./smsQueueReport.controller','isAuthenticated','get','/describe','describe','/:id','show','post','create','update','delete','exports','multer','util','path'];(function(_0x425e0c,_0x99e535){var _0x2bd841=function(_0x3a6715){while(--_0x3a6715){_0x425e0c['push'](_0x425e0c['shift']());}};_0x2bd841(++_0x99e535);}(_0xd8af,0x18d));var _0xfd8a=function(_0x4c18c6,_0x3790e3){_0x4c18c6=_0x4c18c6-0x0;var _0x20a09c=_0xd8af[_0x4c18c6];return _0x20a09c;};'use strict';var multer=require(_0xfd8a('0x0'));var util=require(_0xfd8a('0x1'));var path=require(_0xfd8a('0x2'));var timeout=require(_0xfd8a('0x3'));var express=require(_0xfd8a('0x4'));var router=express['Router']();var fs_extra=require(_0xfd8a('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xfd8a('0x6'));var config=require(_0xfd8a('0x7'));var controller=require(_0xfd8a('0x8'));router['get']('/',auth[_0xfd8a('0x9')](),controller['index']);router[_0xfd8a('0xa')](_0xfd8a('0xb'),auth[_0xfd8a('0x9')](),controller[_0xfd8a('0xc')]);router['get'](_0xfd8a('0xd'),auth[_0xfd8a('0x9')](),controller[_0xfd8a('0xe')]);router[_0xfd8a('0xf')]('/',auth[_0xfd8a('0x9')](),controller[_0xfd8a('0x10')]);router['put']('/:id',auth[_0xfd8a('0x9')](),controller[_0xfd8a('0x11')]);router[_0xfd8a('0x12')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0xfd8a('0x13')]=router;