Built motion from commit 0c5f406c.|2.6.29
[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 _0x9ad2=['../../config/environment','./faxQueueReport.controller','get','index','/describe','isAuthenticated','describe','create','put','/:id','update','delete','destroy','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x5a8315,_0x9ef47d){var _0x5cc037=function(_0x4fe62e){while(--_0x4fe62e){_0x5a8315['push'](_0x5a8315['shift']());}};_0x5cc037(++_0x9ef47d);}(_0x9ad2,0xcb));var _0x29ad=function(_0x457234,_0x24b725){_0x457234=_0x457234-0x0;var _0x2dc041=_0x9ad2[_0x457234];return _0x2dc041;};'use strict';var multer=require('multer');var util=require(_0x29ad('0x0'));var path=require('path');var timeout=require(_0x29ad('0x1'));var express=require(_0x29ad('0x2'));var router=express[_0x29ad('0x3')]();var fs_extra=require(_0x29ad('0x4'));var auth=require(_0x29ad('0x5'));var interaction=require(_0x29ad('0x6'));var config=require(_0x29ad('0x7'));var controller=require(_0x29ad('0x8'));router[_0x29ad('0x9')]('/',auth['isAuthenticated'](),controller[_0x29ad('0xa')]);router[_0x29ad('0x9')](_0x29ad('0xb'),auth[_0x29ad('0xc')](),controller[_0x29ad('0xd')]);router['get']('/:id',auth[_0x29ad('0xc')](),controller['show']);router['post']('/',auth[_0x29ad('0xc')](),controller[_0x29ad('0xe')]);router[_0x29ad('0xf')](_0x29ad('0x10'),auth['isAuthenticated'](),controller[_0x29ad('0x11')]);router[_0x29ad('0x12')](_0x29ad('0x10'),auth[_0x29ad('0xc')](),controller[_0x29ad('0x13')]);module[_0x29ad('0x14')]=router;