b9ffd68ddbbe6c7b52935eefecbf7e0f66a2d20b
[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 _0x06cb=['delete','destroy','exports','path','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./faxQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','post','create','put','update'];(function(_0x3e62c0,_0x15520c){var _0x12b53e=function(_0x5aeccd){while(--_0x5aeccd){_0x3e62c0['push'](_0x3e62c0['shift']());}};_0x12b53e(++_0x15520c);}(_0x06cb,0x67));var _0xb06c=function(_0x54788f,_0x4e4f54){_0x54788f=_0x54788f-0x0;var _0x2df294=_0x06cb[_0x54788f];return _0x2df294;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xb06c('0x0'));var timeout=require(_0xb06c('0x1'));var express=require('express');var router=express[_0xb06c('0x2')]();var fs_extra=require(_0xb06c('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xb06c('0x4'));var config=require(_0xb06c('0x5'));var controller=require(_0xb06c('0x6'));router[_0xb06c('0x7')]('/',auth[_0xb06c('0x8')](),controller[_0xb06c('0x9')]);router[_0xb06c('0x7')](_0xb06c('0xa'),auth[_0xb06c('0x8')](),controller[_0xb06c('0xb')]);router[_0xb06c('0x7')](_0xb06c('0xc'),auth[_0xb06c('0x8')](),controller['show']);router[_0xb06c('0xd')]('/',auth['isAuthenticated'](),controller[_0xb06c('0xe')]);router[_0xb06c('0xf')]('/:id',auth[_0xb06c('0x8')](),controller[_0xb06c('0x10')]);router[_0xb06c('0x11')](_0xb06c('0xc'),auth['isAuthenticated'](),controller[_0xb06c('0x12')]);module[_0xb06c('0x13')]=router;