284f0dae3926a107de7517ad26c22147604586fa
[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 _0x375e=['./faxTransferReport.controller','get','/describe','isAuthenticated','describe','/:id','show','create','put','update','delete','destroy','exports','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x53ccf2,_0x13cb67){var _0x5a2964=function(_0x3b0514){while(--_0x3b0514){_0x53ccf2['push'](_0x53ccf2['shift']());}};_0x5a2964(++_0x13cb67);}(_0x375e,0x151));var _0xe375=function(_0x2e1307,_0x23a9e1){_0x2e1307=_0x2e1307-0x0;var _0x4afadb=_0x375e[_0x2e1307];return _0x4afadb;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xe375('0x0'));var express=require(_0xe375('0x1'));var router=express[_0xe375('0x2')]();var auth=require(_0xe375('0x3'));var interaction=require(_0xe375('0x4'));var config=require('../../config/environment');var controller=require(_0xe375('0x5'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0xe375('0x6')](_0xe375('0x7'),auth[_0xe375('0x8')](),controller[_0xe375('0x9')]);router[_0xe375('0x6')](_0xe375('0xa'),auth[_0xe375('0x8')](),controller[_0xe375('0xb')]);router['post']('/',auth[_0xe375('0x8')](),controller[_0xe375('0xc')]);router[_0xe375('0xd')](_0xe375('0xa'),auth[_0xe375('0x8')](),controller[_0xe375('0xe')]);router[_0xe375('0xf')](_0xe375('0xa'),auth['isAuthenticated'](),controller[_0xe375('0x10')]);module[_0xe375('0x11')]=router;