Built motion from commit 52c8a02d.|2.6.29
[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 _0x8eb4=['../../config/environment','get','index','/describe','isAuthenticated','describe','/:id','show','post','create','delete','destroy','exports','multer','util','path','../../components/interaction/service'];(function(_0x15c5b8,_0x3b670f){var _0xd45fe6=function(_0x15a775){while(--_0x15a775){_0x15c5b8['push'](_0x15c5b8['shift']());}};_0xd45fe6(++_0x3b670f);}(_0x8eb4,0x1a5));var _0x48eb=function(_0x26da89,_0x264785){_0x26da89=_0x26da89-0x0;var _0xc95b7b=_0x8eb4[_0x26da89];return _0xc95b7b;};'use strict';var multer=require(_0x48eb('0x0'));var util=require(_0x48eb('0x1'));var path=require(_0x48eb('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x48eb('0x3'));var config=require(_0x48eb('0x4'));var controller=require('./faxTransferReport.controller');router[_0x48eb('0x5')]('/',auth['isAuthenticated'](),controller[_0x48eb('0x6')]);router[_0x48eb('0x5')](_0x48eb('0x7'),auth[_0x48eb('0x8')](),controller[_0x48eb('0x9')]);router['get'](_0x48eb('0xa'),auth['isAuthenticated'](),controller[_0x48eb('0xb')]);router[_0x48eb('0xc')]('/',auth[_0x48eb('0x8')](),controller[_0x48eb('0xd')]);router['put'](_0x48eb('0xa'),auth['isAuthenticated'](),controller['update']);router[_0x48eb('0xe')]('/:id',auth['isAuthenticated'](),controller[_0x48eb('0xf')]);module[_0x48eb('0x10')]=router;