366c0f83d2d75da7da7e244b94afd6a8e3ed52e0
[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 _0x93b8=['./faxTransferReport.controller','get','/describe','isAuthenticated','describe','/:id','post','create','update','delete','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x1177d5,_0x22b649){var _0xc3ddc2=function(_0x43ff95){while(--_0x43ff95){_0x1177d5['push'](_0x1177d5['shift']());}};_0xc3ddc2(++_0x22b649);}(_0x93b8,0x118));var _0x893b=function(_0x267ad4,_0x1d1b88){_0x267ad4=_0x267ad4-0x0;var _0x2f3a7b=_0x93b8[_0x267ad4];return _0x2f3a7b;};'use strict';var multer=require(_0x893b('0x0'));var util=require(_0x893b('0x1'));var path=require(_0x893b('0x2'));var timeout=require(_0x893b('0x3'));var express=require(_0x893b('0x4'));var router=express[_0x893b('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x893b('0x6'));var interaction=require(_0x893b('0x7'));var config=require('../../config/environment');var controller=require(_0x893b('0x8'));router[_0x893b('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0x893b('0x9')](_0x893b('0xa'),auth[_0x893b('0xb')](),controller[_0x893b('0xc')]);router[_0x893b('0x9')](_0x893b('0xd'),auth[_0x893b('0xb')](),controller['show']);router[_0x893b('0xe')]('/',auth[_0x893b('0xb')](),controller[_0x893b('0xf')]);router['put'](_0x893b('0xd'),auth[_0x893b('0xb')](),controller[_0x893b('0x10')]);router[_0x893b('0x11')]('/:id',auth['isAuthenticated'](),controller['destroy']);module['exports']=router;