Built motion from commit 8271bb6f.|2.6.28
[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 _0x805b=['../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','describe','/:id','show','post','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra'];(function(_0x4c566a,_0x317001){var _0x33a0b5=function(_0x24178a){while(--_0x24178a){_0x4c566a['push'](_0x4c566a['shift']());}};_0x33a0b5(++_0x317001);}(_0x805b,0xad));var _0xb805=function(_0x5b9256,_0x1eed86){_0x5b9256=_0x5b9256-0x0;var _0x1da886=_0x805b[_0x5b9256];return _0x1da886;};'use strict';var multer=require(_0xb805('0x0'));var util=require(_0xb805('0x1'));var path=require(_0xb805('0x2'));var timeout=require(_0xb805('0x3'));var express=require(_0xb805('0x4'));var router=express[_0xb805('0x5')]();var fs_extra=require(_0xb805('0x6'));var auth=require(_0xb805('0x7'));var interaction=require(_0xb805('0x8'));var config=require(_0xb805('0x9'));var controller=require('./smsQueueReport.controller');router[_0xb805('0xa')]('/',auth[_0xb805('0xb')](),controller['index']);router[_0xb805('0xa')](_0xb805('0xc'),auth['isAuthenticated'](),controller[_0xb805('0xd')]);router[_0xb805('0xa')](_0xb805('0xe'),auth[_0xb805('0xb')](),controller[_0xb805('0xf')]);router[_0xb805('0x10')]('/',auth[_0xb805('0xb')](),controller['create']);router['put']('/:id',auth[_0xb805('0xb')](),controller['update']);router[_0xb805('0x11')](_0xb805('0xe'),auth[_0xb805('0xb')](),controller[_0xb805('0x12')]);module[_0xb805('0x13')]=router;