Built motion from commit 994c64e1.|2.6.1
[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 _0xac9d=['util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxQueueReport.controller','get','isAuthenticated','describe','/:id','post','create','update','exports','multer'];(function(_0x53aee9,_0x5a22b3){var _0x3e9631=function(_0x57e852){while(--_0x57e852){_0x53aee9['push'](_0x53aee9['shift']());}};_0x3e9631(++_0x5a22b3);}(_0xac9d,0x1d3));var _0xdac9=function(_0xdd0313,_0x251c2b){_0xdd0313=_0xdd0313-0x0;var _0x2bd7e8=_0xac9d[_0xdd0313];return _0x2bd7e8;};'use strict';var multer=require(_0xdac9('0x0'));var util=require(_0xdac9('0x1'));var path=require(_0xdac9('0x2'));var timeout=require(_0xdac9('0x3'));var express=require('express');var router=express[_0xdac9('0x4')]();var fs_extra=require(_0xdac9('0x5'));var auth=require(_0xdac9('0x6'));var interaction=require(_0xdac9('0x7'));var config=require(_0xdac9('0x8'));var controller=require(_0xdac9('0x9'));router[_0xdac9('0xa')]('/',auth[_0xdac9('0xb')](),controller['index']);router[_0xdac9('0xa')]('/describe',auth['isAuthenticated'](),controller[_0xdac9('0xc')]);router['get'](_0xdac9('0xd'),auth[_0xdac9('0xb')](),controller['show']);router[_0xdac9('0xe')]('/',auth[_0xdac9('0xb')](),controller[_0xdac9('0xf')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0xdac9('0x10')]);router['delete']('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0xdac9('0x11')]=router;