Built motion from commit (unavailable).|2.5.27
[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 _0xc59f=['delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./faxTransferReport.controller','get','isAuthenticated','/describe','describe','show','create','put','/:id','update'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xc59f,0x1a7));var _0xfc59=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xc59f[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xfc59('0x0'));var util=require('util');var path=require(_0xfc59('0x1'));var timeout=require(_0xfc59('0x2'));var express=require(_0xfc59('0x3'));var router=express[_0xfc59('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xfc59('0x5'));var config=require(_0xfc59('0x6'));var controller=require(_0xfc59('0x7'));router[_0xfc59('0x8')]('/',auth[_0xfc59('0x9')](),controller['index']);router['get'](_0xfc59('0xa'),auth[_0xfc59('0x9')](),controller[_0xfc59('0xb')]);router[_0xfc59('0x8')]('/:id',auth['isAuthenticated'](),controller[_0xfc59('0xc')]);router['post']('/',auth[_0xfc59('0x9')](),controller[_0xfc59('0xd')]);router[_0xfc59('0xe')](_0xfc59('0xf'),auth['isAuthenticated'](),controller[_0xfc59('0x10')]);router[_0xfc59('0x11')]('/:id',auth['isAuthenticated'](),controller[_0xfc59('0x12')]);module[_0xfc59('0x13')]=router;