53b2748920f4754da37e828b359337e0c94a1f0b
[motion2.git] / server / api / faxTransferReport / 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 _0x5637=['/:id','show','post','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','./faxTransferReport.controller','get','isAuthenticated','/describe','describe'];(function(_0x4d67ec,_0x1f4f90){var _0x34f0cf=function(_0x26ef04){while(--_0x26ef04){_0x4d67ec['push'](_0x4d67ec['shift']());}};_0x34f0cf(++_0x1f4f90);}(_0x5637,0xe4));var _0x7563=function(_0xf44d3,_0x442ed6){_0xf44d3=_0xf44d3-0x0;var _0x38b0cc=_0x5637[_0xf44d3];return _0x38b0cc;};'use strict';var multer=require(_0x7563('0x0'));var util=require(_0x7563('0x1'));var path=require(_0x7563('0x2'));var timeout=require(_0x7563('0x3'));var express=require(_0x7563('0x4'));var router=express[_0x7563('0x5')]();var fs_extra=require(_0x7563('0x6'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x7563('0x7'));router[_0x7563('0x8')]('/',auth[_0x7563('0x9')](),controller['index']);router[_0x7563('0x8')](_0x7563('0xa'),auth[_0x7563('0x9')](),controller[_0x7563('0xb')]);router[_0x7563('0x8')](_0x7563('0xc'),auth[_0x7563('0x9')](),controller[_0x7563('0xd')]);router[_0x7563('0xe')]('/',auth[_0x7563('0x9')](),controller['create']);router[_0x7563('0xf')](_0x7563('0xc'),auth[_0x7563('0x9')](),controller[_0x7563('0x10')]);router[_0x7563('0x11')](_0x7563('0xc'),auth['isAuthenticated'](),controller[_0x7563('0x12')]);module[_0x7563('0x13')]=router;