Built motion from commit (unavailable).|2.5.4
[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 _0xd723=['path','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/describe','describe','/:id','show','post','put','update','delete','destroy','exports','multer'];(function(_0x4e6eb2,_0x16a451){var _0x4e0c1c=function(_0x59f144){while(--_0x59f144){_0x4e6eb2['push'](_0x4e6eb2['shift']());}};_0x4e0c1c(++_0x16a451);}(_0xd723,0xfb));var _0x3d72=function(_0x4c12ec,_0x2e9103){_0x4c12ec=_0x4c12ec-0x0;var _0x3ae42c=_0xd723[_0x4c12ec];return _0x3ae42c;};'use strict';var multer=require(_0x3d72('0x0'));var util=require('util');var path=require(_0x3d72('0x1'));var timeout=require('connect-timeout');var express=require(_0x3d72('0x2'));var router=express[_0x3d72('0x3')]();var auth=require(_0x3d72('0x4'));var interaction=require(_0x3d72('0x5'));var config=require('../../config/environment');var controller=require('./faxQueueReport.controller');router[_0x3d72('0x6')]('/',auth[_0x3d72('0x7')](),controller['index']);router[_0x3d72('0x6')](_0x3d72('0x8'),auth['isAuthenticated'](),controller[_0x3d72('0x9')]);router[_0x3d72('0x6')](_0x3d72('0xa'),auth[_0x3d72('0x7')](),controller[_0x3d72('0xb')]);router[_0x3d72('0xc')]('/',auth[_0x3d72('0x7')](),controller['create']);router[_0x3d72('0xd')](_0x3d72('0xa'),auth[_0x3d72('0x7')](),controller[_0x3d72('0xe')]);router[_0x3d72('0xf')]('/:id',auth[_0x3d72('0x7')](),controller[_0x3d72('0x10')]);module[_0x3d72('0x11')]=router;