140eefacc0b3433b07e7781d9b121fe83a395062
[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 _0x4546=['update','delete','/:id','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./faxTransferReport.controller','isAuthenticated','get','/describe','describe','show','post','create','put'];(function(_0x3c88c7,_0x535903){var _0x3e6552=function(_0x49f68b){while(--_0x49f68b){_0x3c88c7['push'](_0x3c88c7['shift']());}};_0x3e6552(++_0x535903);}(_0x4546,0x9f));var _0x6454=function(_0xfa7a21,_0x54ae66){_0xfa7a21=_0xfa7a21-0x0;var _0x915d81=_0x4546[_0xfa7a21];return _0x915d81;};'use strict';var multer=require('multer');var util=require(_0x6454('0x0'));var path=require(_0x6454('0x1'));var timeout=require(_0x6454('0x2'));var express=require(_0x6454('0x3'));var router=express[_0x6454('0x4')]();var fs_extra=require(_0x6454('0x5'));var auth=require(_0x6454('0x6'));var interaction=require(_0x6454('0x7'));var config=require('../../config/environment');var controller=require(_0x6454('0x8'));router['get']('/',auth[_0x6454('0x9')](),controller['index']);router[_0x6454('0xa')](_0x6454('0xb'),auth[_0x6454('0x9')](),controller[_0x6454('0xc')]);router[_0x6454('0xa')]('/:id',auth[_0x6454('0x9')](),controller[_0x6454('0xd')]);router[_0x6454('0xe')]('/',auth[_0x6454('0x9')](),controller[_0x6454('0xf')]);router[_0x6454('0x10')]('/:id',auth[_0x6454('0x9')](),controller[_0x6454('0x11')]);router[_0x6454('0x12')](_0x6454('0x13'),auth[_0x6454('0x9')](),controller[_0x6454('0x14')]);module[_0x6454('0x15')]=router;