433bb6135e32c64ccced97ef772a3a90896f01ab
[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 _0x262c=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./faxTransferReport.controller','get','isAuthenticated','/describe','describe','/:id','post','create','update','destroy','multer','util','path'];(function(_0x20ea22,_0x12147f){var _0x34ac57=function(_0x5de3c8){while(--_0x5de3c8){_0x20ea22['push'](_0x20ea22['shift']());}};_0x34ac57(++_0x12147f);}(_0x262c,0x141));var _0xc262=function(_0xb5fc3e,_0x234703){_0xb5fc3e=_0xb5fc3e-0x0;var _0x2efc3c=_0x262c[_0xb5fc3e];return _0x2efc3c;};'use strict';var multer=require(_0xc262('0x0'));var util=require(_0xc262('0x1'));var path=require(_0xc262('0x2'));var timeout=require(_0xc262('0x3'));var express=require(_0xc262('0x4'));var router=express[_0xc262('0x5')]();var auth=require(_0xc262('0x6'));var interaction=require(_0xc262('0x7'));var config=require('../../config/environment');var controller=require(_0xc262('0x8'));router[_0xc262('0x9')]('/',auth[_0xc262('0xa')](),controller['index']);router[_0xc262('0x9')](_0xc262('0xb'),auth['isAuthenticated'](),controller[_0xc262('0xc')]);router['get'](_0xc262('0xd'),auth[_0xc262('0xa')](),controller['show']);router[_0xc262('0xe')]('/',auth[_0xc262('0xa')](),controller[_0xc262('0xf')]);router['put'](_0xc262('0xd'),auth[_0xc262('0xa')](),controller[_0xc262('0x10')]);router['delete']('/:id',auth[_0xc262('0xa')](),controller[_0xc262('0x11')]);module['exports']=router;