30bc6de861e234986b7561cf8dad1d207f525c2f
[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 _0xde9c=['post','create','put','/:id','update','exports','multer','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','show'];(function(_0x47b9d3,_0x18f3a1){var _0xfa7c91=function(_0x51e0d2){while(--_0x51e0d2){_0x47b9d3['push'](_0x47b9d3['shift']());}};_0xfa7c91(++_0x18f3a1);}(_0xde9c,0x149));var _0xcde9=function(_0x2a850a,_0x8ac048){_0x2a850a=_0x2a850a-0x0;var _0x2805a0=_0xde9c[_0x2a850a];return _0x2805a0;};'use strict';var multer=require(_0xcde9('0x0'));var util=require('util');var path=require(_0xcde9('0x1'));var timeout=require('connect-timeout');var express=require(_0xcde9('0x2'));var router=express[_0xcde9('0x3')]();var fs_extra=require(_0xcde9('0x4'));var auth=require(_0xcde9('0x5'));var interaction=require(_0xcde9('0x6'));var config=require(_0xcde9('0x7'));var controller=require('./faxTransferReport.controller');router[_0xcde9('0x8')]('/',auth[_0xcde9('0x9')](),controller[_0xcde9('0xa')]);router['get']('/describe',auth[_0xcde9('0x9')](),controller[_0xcde9('0xb')]);router[_0xcde9('0x8')]('/:id',auth['isAuthenticated'](),controller[_0xcde9('0xc')]);router[_0xcde9('0xd')]('/',auth['isAuthenticated'](),controller[_0xcde9('0xe')]);router[_0xcde9('0xf')](_0xcde9('0x10'),auth[_0xcde9('0x9')](),controller[_0xcde9('0x11')]);router['delete'](_0xcde9('0x10'),auth[_0xcde9('0x9')](),controller['destroy']);module[_0xcde9('0x12')]=router;