Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / api / faxQueueReport / 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 _0xb711=['../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id','show','post','create','update','delete','util','path','connect-timeout','express','Router'];(function(_0x36368c,_0x464b85){var _0x1b2107=function(_0x11983a){while(--_0x11983a){_0x36368c['push'](_0x36368c['shift']());}};_0x1b2107(++_0x464b85);}(_0xb711,0x163));var _0x1b71=function(_0x57bb9e,_0x1f1570){_0x57bb9e=_0x57bb9e-0x0;var _0x1f6e96=_0xb711[_0x57bb9e];return _0x1f6e96;};'use strict';var multer=require('multer');var util=require(_0x1b71('0x0'));var path=require(_0x1b71('0x1'));var timeout=require(_0x1b71('0x2'));var express=require(_0x1b71('0x3'));var router=express[_0x1b71('0x4')]();var auth=require(_0x1b71('0x5'));var interaction=require(_0x1b71('0x6'));var config=require(_0x1b71('0x7'));var controller=require('./faxQueueReport.controller');router[_0x1b71('0x8')]('/',auth[_0x1b71('0x9')](),controller[_0x1b71('0xa')]);router[_0x1b71('0x8')]('/describe',auth[_0x1b71('0x9')](),controller[_0x1b71('0xb')]);router[_0x1b71('0x8')](_0x1b71('0xc'),auth[_0x1b71('0x9')](),controller[_0x1b71('0xd')]);router[_0x1b71('0xe')]('/',auth[_0x1b71('0x9')](),controller[_0x1b71('0xf')]);router['put'](_0x1b71('0xc'),auth[_0x1b71('0x9')](),controller[_0x1b71('0x10')]);router[_0x1b71('0x11')]('/:id',auth[_0x1b71('0x9')](),controller['destroy']);module['exports']=router;