Built motion from commit (unavailable).|2.5.1
[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 _0x7c94=['path','connect-timeout','Router','../../components/auth/service','../../config/environment','./faxTransferReport.controller','isAuthenticated','index','get','/describe','describe','show','post','create','put','/:id','update','delete','exports','util'];(function(_0x3ae263,_0x4b3519){var _0x25a926=function(_0xc654f2){while(--_0xc654f2){_0x3ae263['push'](_0x3ae263['shift']());}};_0x25a926(++_0x4b3519);}(_0x7c94,0x1b7));var _0x47c9=function(_0x191b2d,_0x2a3125){_0x191b2d=_0x191b2d-0x0;var _0x95be63=_0x7c94[_0x191b2d];return _0x95be63;};'use strict';var multer=require('multer');var util=require(_0x47c9('0x0'));var path=require(_0x47c9('0x1'));var timeout=require(_0x47c9('0x2'));var express=require('express');var router=express[_0x47c9('0x3')]();var auth=require(_0x47c9('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x47c9('0x5'));var controller=require(_0x47c9('0x6'));router['get']('/',auth[_0x47c9('0x7')](),controller[_0x47c9('0x8')]);router[_0x47c9('0x9')](_0x47c9('0xa'),auth['isAuthenticated'](),controller[_0x47c9('0xb')]);router[_0x47c9('0x9')]('/:id',auth[_0x47c9('0x7')](),controller[_0x47c9('0xc')]);router[_0x47c9('0xd')]('/',auth[_0x47c9('0x7')](),controller[_0x47c9('0xe')]);router[_0x47c9('0xf')](_0x47c9('0x10'),auth[_0x47c9('0x7')](),controller[_0x47c9('0x11')]);router[_0x47c9('0x12')](_0x47c9('0x10'),auth[_0x47c9('0x7')](),controller['destroy']);module[_0x47c9('0x13')]=router;