28e15c8503b5b8c51080cce597f59e8de1104a7b
[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 _0x7ad5=['../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','post','update','delete','destroy','exports','multer','path','connect-timeout','Router','../../components/auth/service'];(function(_0x488f95,_0x31d5d6){var _0x7e8972=function(_0x595f9e){while(--_0x595f9e){_0x488f95['push'](_0x488f95['shift']());}};_0x7e8972(++_0x31d5d6);}(_0x7ad5,0x1bd));var _0x57ad=function(_0x3c2a69,_0x4c8b41){_0x3c2a69=_0x3c2a69-0x0;var _0x596bc8=_0x7ad5[_0x3c2a69];return _0x596bc8;};'use strict';var multer=require(_0x57ad('0x0'));var util=require('util');var path=require(_0x57ad('0x1'));var timeout=require(_0x57ad('0x2'));var express=require('express');var router=express[_0x57ad('0x3')]();var auth=require(_0x57ad('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x57ad('0x5'));var controller=require('./smsQueueReport.controller');router[_0x57ad('0x6')]('/',auth[_0x57ad('0x7')](),controller[_0x57ad('0x8')]);router[_0x57ad('0x6')](_0x57ad('0x9'),auth[_0x57ad('0x7')](),controller[_0x57ad('0xa')]);router[_0x57ad('0x6')](_0x57ad('0xb'),auth[_0x57ad('0x7')](),controller[_0x57ad('0xc')]);router[_0x57ad('0xd')]('/',auth[_0x57ad('0x7')](),controller['create']);router['put'](_0x57ad('0xb'),auth[_0x57ad('0x7')](),controller[_0x57ad('0xe')]);router[_0x57ad('0xf')]('/:id',auth[_0x57ad('0x7')](),controller[_0x57ad('0x10')]);module[_0x57ad('0x11')]=router;