Built motion from commit da617fac.|2.6.6
[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 _0x8cbb=['/describe','/:id','post','create','put','update','delete','multer','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./faxTransferReport.controller','get','isAuthenticated','index'];(function(_0x5a3a81,_0x5e862f){var _0x59f7fa=function(_0x445a70){while(--_0x445a70){_0x5a3a81['push'](_0x5a3a81['shift']());}};_0x59f7fa(++_0x5e862f);}(_0x8cbb,0x193));var _0xb8cb=function(_0x40f50f,_0x49df69){_0x40f50f=_0x40f50f-0x0;var _0x5e82b8=_0x8cbb[_0x40f50f];return _0x5e82b8;};'use strict';var multer=require(_0xb8cb('0x0'));var util=require(_0xb8cb('0x1'));var path=require('path');var timeout=require(_0xb8cb('0x2'));var express=require(_0xb8cb('0x3'));var router=express[_0xb8cb('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xb8cb('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xb8cb('0x6'));var controller=require(_0xb8cb('0x7'));router[_0xb8cb('0x8')]('/',auth[_0xb8cb('0x9')](),controller[_0xb8cb('0xa')]);router['get'](_0xb8cb('0xb'),auth[_0xb8cb('0x9')](),controller['describe']);router[_0xb8cb('0x8')](_0xb8cb('0xc'),auth[_0xb8cb('0x9')](),controller['show']);router[_0xb8cb('0xd')]('/',auth['isAuthenticated'](),controller[_0xb8cb('0xe')]);router[_0xb8cb('0xf')](_0xb8cb('0xc'),auth[_0xb8cb('0x9')](),controller[_0xb8cb('0x10')]);router[_0xb8cb('0x11')](_0xb8cb('0xc'),auth[_0xb8cb('0x9')](),controller['destroy']);module['exports']=router;