f0ac003aa6d0a17877ce2190680c0da0a869281c
[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 _0x9ac3=['multer','path','Router','fs-extra','../../components/interaction/service','../../config/environment','./faxTransferReport.controller','get','isAuthenticated','describe','/:id','show','post','create','update','delete','destroy','exports'];(function(_0x603641,_0x529e6){var _0x4e6e1b=function(_0x3b8072){while(--_0x3b8072){_0x603641['push'](_0x603641['shift']());}};_0x4e6e1b(++_0x529e6);}(_0x9ac3,0x168));var _0x39ac=function(_0x3e8270,_0x293590){_0x3e8270=_0x3e8270-0x0;var _0x1ccde9=_0x9ac3[_0x3e8270];return _0x1ccde9;};'use strict';var multer=require(_0x39ac('0x0'));var util=require('util');var path=require(_0x39ac('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x39ac('0x2')]();var fs_extra=require(_0x39ac('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x39ac('0x4'));var config=require(_0x39ac('0x5'));var controller=require(_0x39ac('0x6'));router[_0x39ac('0x7')]('/',auth[_0x39ac('0x8')](),controller['index']);router['get']('/describe',auth[_0x39ac('0x8')](),controller[_0x39ac('0x9')]);router[_0x39ac('0x7')](_0x39ac('0xa'),auth[_0x39ac('0x8')](),controller[_0x39ac('0xb')]);router[_0x39ac('0xc')]('/',auth['isAuthenticated'](),controller[_0x39ac('0xd')]);router['put'](_0x39ac('0xa'),auth[_0x39ac('0x8')](),controller[_0x39ac('0xe')]);router[_0x39ac('0xf')](_0x39ac('0xa'),auth['isAuthenticated'](),controller[_0x39ac('0x10')]);module[_0x39ac('0x11')]=router;