Built motion from commit cb845558.|2.6.34
[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 _0xa888=['create','put','update','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./faxQueueReport.controller','isAuthenticated','index','get','describe','/:id','show'];(function(_0x53ccf2,_0x13cb67){var _0x5a2964=function(_0x3b0514){while(--_0x3b0514){_0x53ccf2['push'](_0x53ccf2['shift']());}};_0x5a2964(++_0x13cb67);}(_0xa888,0x16d));var _0x8a88=function(_0x38c058,_0xb15a7d){_0x38c058=_0x38c058-0x0;var _0x495d22=_0xa888[_0x38c058];return _0x495d22;};'use strict';var multer=require(_0x8a88('0x0'));var util=require(_0x8a88('0x1'));var path=require(_0x8a88('0x2'));var timeout=require(_0x8a88('0x3'));var express=require('express');var router=express[_0x8a88('0x4')]();var fs_extra=require(_0x8a88('0x5'));var auth=require(_0x8a88('0x6'));var interaction=require(_0x8a88('0x7'));var config=require('../../config/environment');var controller=require(_0x8a88('0x8'));router['get']('/',auth[_0x8a88('0x9')](),controller[_0x8a88('0xa')]);router[_0x8a88('0xb')]('/describe',auth['isAuthenticated'](),controller[_0x8a88('0xc')]);router[_0x8a88('0xb')](_0x8a88('0xd'),auth[_0x8a88('0x9')](),controller[_0x8a88('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0x8a88('0xf')]);router[_0x8a88('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x8a88('0x11')]);router['delete'](_0x8a88('0xd'),auth[_0x8a88('0x9')](),controller[_0x8a88('0x12')]);module[_0x8a88('0x13')]=router;