Built motion from commit 092f8824.|2.5.49
[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 _0xa39d=['isAuthenticated','index','/describe','describe','/:id','show','post','create','put','delete','destroy','exports','multer','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxTransferReport.controller','get'];(function(_0x50b302,_0x54ae50){var _0x36bd0c=function(_0x1082b2){while(--_0x1082b2){_0x50b302['push'](_0x50b302['shift']());}};_0x36bd0c(++_0x54ae50);}(_0xa39d,0xc9));var _0xda39=function(_0x326739,_0x52ad2b){_0x326739=_0x326739-0x0;var _0x1aebd6=_0xa39d[_0x326739];return _0x1aebd6;};'use strict';var multer=require(_0xda39('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xda39('0x1'));var router=express[_0xda39('0x2')]();var fs_extra=require(_0xda39('0x3'));var auth=require(_0xda39('0x4'));var interaction=require(_0xda39('0x5'));var config=require(_0xda39('0x6'));var controller=require(_0xda39('0x7'));router[_0xda39('0x8')]('/',auth[_0xda39('0x9')](),controller[_0xda39('0xa')]);router['get'](_0xda39('0xb'),auth['isAuthenticated'](),controller[_0xda39('0xc')]);router['get'](_0xda39('0xd'),auth[_0xda39('0x9')](),controller[_0xda39('0xe')]);router[_0xda39('0xf')]('/',auth[_0xda39('0x9')](),controller[_0xda39('0x10')]);router[_0xda39('0x11')]('/:id',auth[_0xda39('0x9')](),controller['update']);router[_0xda39('0x12')](_0xda39('0xd'),auth['isAuthenticated'](),controller[_0xda39('0x13')]);module[_0xda39('0x14')]=router;