1c85dee81c1aaadc0699487f7928503f2422b0aa
[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 _0xbd97=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxTransferReport.controller','isAuthenticated','get','/:id','show','post','create','put','update','destroy','util','path','connect-timeout','express','Router'];(function(_0x4bcf38,_0x3c12be){var _0x4a89be=function(_0x3215a6){while(--_0x3215a6){_0x4bcf38['push'](_0x4bcf38['shift']());}};_0x4a89be(++_0x3c12be);}(_0xbd97,0x164));var _0x7bd9=function(_0x2220e1,_0x5c5537){_0x2220e1=_0x2220e1-0x0;var _0x10314c=_0xbd97[_0x2220e1];return _0x10314c;};'use strict';var multer=require('multer');var util=require(_0x7bd9('0x0'));var path=require(_0x7bd9('0x1'));var timeout=require(_0x7bd9('0x2'));var express=require(_0x7bd9('0x3'));var router=express[_0x7bd9('0x4')]();var fs_extra=require(_0x7bd9('0x5'));var auth=require(_0x7bd9('0x6'));var interaction=require(_0x7bd9('0x7'));var config=require(_0x7bd9('0x8'));var controller=require(_0x7bd9('0x9'));router['get']('/',auth[_0x7bd9('0xa')](),controller['index']);router[_0x7bd9('0xb')]('/describe',auth[_0x7bd9('0xa')](),controller['describe']);router[_0x7bd9('0xb')](_0x7bd9('0xc'),auth[_0x7bd9('0xa')](),controller[_0x7bd9('0xd')]);router[_0x7bd9('0xe')]('/',auth['isAuthenticated'](),controller[_0x7bd9('0xf')]);router[_0x7bd9('0x10')]('/:id',auth[_0x7bd9('0xa')](),controller[_0x7bd9('0x11')]);router['delete'](_0x7bd9('0xc'),auth[_0x7bd9('0xa')](),controller[_0x7bd9('0x12')]);module['exports']=router;