da009b9c7128476e42d7a132fd6d800ead962d01
[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 _0x1c72=['connect-timeout','Router','fs-extra','../../config/environment','get','index','/describe','isAuthenticated','describe','/:id','create','put','update','delete','destroy','multer','util','path'];(function(_0x26764,_0x4cd1c4){var _0x813712=function(_0x423f34){while(--_0x423f34){_0x26764['push'](_0x26764['shift']());}};_0x813712(++_0x4cd1c4);}(_0x1c72,0x153));var _0x21c7=function(_0x15615d,_0x3878e3){_0x15615d=_0x15615d-0x0;var _0xbb1987=_0x1c72[_0x15615d];return _0xbb1987;};'use strict';var multer=require(_0x21c7('0x0'));var util=require(_0x21c7('0x1'));var path=require(_0x21c7('0x2'));var timeout=require(_0x21c7('0x3'));var express=require('express');var router=express[_0x21c7('0x4')]();var fs_extra=require(_0x21c7('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x21c7('0x6'));var controller=require('./faxTransferReport.controller');router[_0x21c7('0x7')]('/',auth['isAuthenticated'](),controller[_0x21c7('0x8')]);router['get'](_0x21c7('0x9'),auth[_0x21c7('0xa')](),controller[_0x21c7('0xb')]);router['get'](_0x21c7('0xc'),auth[_0x21c7('0xa')](),controller['show']);router['post']('/',auth[_0x21c7('0xa')](),controller[_0x21c7('0xd')]);router[_0x21c7('0xe')](_0x21c7('0xc'),auth[_0x21c7('0xa')](),controller[_0x21c7('0xf')]);router[_0x21c7('0x10')](_0x21c7('0xc'),auth[_0x21c7('0xa')](),controller[_0x21c7('0x11')]);module['exports']=router;