ddabfcaeae8ca8343d1add78176a21bb18eb100b
[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 _0x68cf=['show','create','put','/:id','update','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxTransferReport.controller','isAuthenticated','index','get','/describe','describe'];(function(_0x442473,_0x15141a){var _0x325c23=function(_0x626fcc){while(--_0x626fcc){_0x442473['push'](_0x442473['shift']());}};_0x325c23(++_0x15141a);}(_0x68cf,0xba));var _0xf68c=function(_0x45e153,_0x4646b2){_0x45e153=_0x45e153-0x0;var _0xd29ed3=_0x68cf[_0x45e153];return _0xd29ed3;};'use strict';var multer=require(_0xf68c('0x0'));var util=require(_0xf68c('0x1'));var path=require(_0xf68c('0x2'));var timeout=require(_0xf68c('0x3'));var express=require('express');var router=express[_0xf68c('0x4')]();var auth=require(_0xf68c('0x5'));var interaction=require(_0xf68c('0x6'));var config=require(_0xf68c('0x7'));var controller=require(_0xf68c('0x8'));router['get']('/',auth[_0xf68c('0x9')](),controller[_0xf68c('0xa')]);router[_0xf68c('0xb')](_0xf68c('0xc'),auth[_0xf68c('0x9')](),controller[_0xf68c('0xd')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0xf68c('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0xf68c('0xf')]);router[_0xf68c('0x10')](_0xf68c('0x11'),auth['isAuthenticated'](),controller[_0xf68c('0x12')]);router['delete']('/:id',auth[_0xf68c('0x9')](),controller['destroy']);module[_0xf68c('0x13')]=router;