Built motion from commit da24aabd.|2.6.20
[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 _0x9b8a=['isAuthenticated','index','get','/describe','describe','/:id','show','post','create','delete','multer','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','./smsQueueReport.controller'];(function(_0x309279,_0x35327c){var _0xe8a8d5=function(_0x137269){while(--_0x137269){_0x309279['push'](_0x309279['shift']());}};_0xe8a8d5(++_0x35327c);}(_0x9b8a,0x106));var _0xa9b8=function(_0x441eab,_0x583ba5){_0x441eab=_0x441eab-0x0;var _0xe6ff41=_0x9b8a[_0x441eab];return _0xe6ff41;};'use strict';var multer=require(_0xa9b8('0x0'));var util=require(_0xa9b8('0x1'));var path=require(_0xa9b8('0x2'));var timeout=require(_0xa9b8('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xa9b8('0x4'));var auth=require(_0xa9b8('0x5'));var interaction=require(_0xa9b8('0x6'));var config=require('../../config/environment');var controller=require(_0xa9b8('0x7'));router['get']('/',auth[_0xa9b8('0x8')](),controller[_0xa9b8('0x9')]);router[_0xa9b8('0xa')](_0xa9b8('0xb'),auth['isAuthenticated'](),controller[_0xa9b8('0xc')]);router[_0xa9b8('0xa')](_0xa9b8('0xd'),auth[_0xa9b8('0x8')](),controller[_0xa9b8('0xe')]);router[_0xa9b8('0xf')]('/',auth[_0xa9b8('0x8')](),controller[_0xa9b8('0x10')]);router['put'](_0xa9b8('0xd'),auth[_0xa9b8('0x8')](),controller['update']);router[_0xa9b8('0x11')](_0xa9b8('0xd'),auth[_0xa9b8('0x8')](),controller['destroy']);module['exports']=router;