d75717c4471c4cdae13e2fcd6f050d9eaa0f923d
[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 _0xb41f=['../../components/auth/service','../../config/environment','./faxTransferReport.controller','get','isAuthenticated','index','/describe','describe','show','post','create','put','/:id','update','destroy','exports','util','path','express','Router'];(function(_0x15cc87,_0x40e876){var _0x99d1f0=function(_0x6b27b6){while(--_0x6b27b6){_0x15cc87['push'](_0x15cc87['shift']());}};_0x99d1f0(++_0x40e876);}(_0xb41f,0xec));var _0xfb41=function(_0x138e4d,_0x5454d0){_0x138e4d=_0x138e4d-0x0;var _0x44c62b=_0xb41f[_0x138e4d];return _0x44c62b;};'use strict';var multer=require('multer');var util=require(_0xfb41('0x0'));var path=require(_0xfb41('0x1'));var timeout=require('connect-timeout');var express=require(_0xfb41('0x2'));var router=express[_0xfb41('0x3')]();var auth=require(_0xfb41('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xfb41('0x5'));var controller=require(_0xfb41('0x6'));router[_0xfb41('0x7')]('/',auth[_0xfb41('0x8')](),controller[_0xfb41('0x9')]);router[_0xfb41('0x7')](_0xfb41('0xa'),auth[_0xfb41('0x8')](),controller[_0xfb41('0xb')]);router['get']('/:id',auth[_0xfb41('0x8')](),controller[_0xfb41('0xc')]);router[_0xfb41('0xd')]('/',auth['isAuthenticated'](),controller[_0xfb41('0xe')]);router[_0xfb41('0xf')](_0xfb41('0x10'),auth[_0xfb41('0x8')](),controller[_0xfb41('0x11')]);router['delete'](_0xfb41('0x10'),auth['isAuthenticated'](),controller[_0xfb41('0x12')]);module[_0xfb41('0x13')]=router;