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