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