c9bc8ec53c6b8454e2d7af1699d4dc8ea12bb5be
[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 _0x38df=['get','index','/describe','isAuthenticated','describe','/:id','show','post','create','put','delete','destroy','exports','multer','util','express','../../config/environment','./faxTransferReport.controller'];(function(_0x335348,_0x3f5544){var _0x188b9b=function(_0x50dfe7){while(--_0x50dfe7){_0x335348['push'](_0x335348['shift']());}};_0x188b9b(++_0x3f5544);}(_0x38df,0x1e1));var _0xf38d=function(_0x3ddbc4,_0xe5be24){_0x3ddbc4=_0x3ddbc4-0x0;var _0x4f51ff=_0x38df[_0x3ddbc4];return _0x4f51ff;};'use strict';var multer=require(_0xf38d('0x0'));var util=require(_0xf38d('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xf38d('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xf38d('0x3'));var controller=require(_0xf38d('0x4'));router[_0xf38d('0x5')]('/',auth['isAuthenticated'](),controller[_0xf38d('0x6')]);router[_0xf38d('0x5')](_0xf38d('0x7'),auth[_0xf38d('0x8')](),controller[_0xf38d('0x9')]);router[_0xf38d('0x5')](_0xf38d('0xa'),auth[_0xf38d('0x8')](),controller[_0xf38d('0xb')]);router[_0xf38d('0xc')]('/',auth[_0xf38d('0x8')](),controller[_0xf38d('0xd')]);router[_0xf38d('0xe')](_0xf38d('0xa'),auth[_0xf38d('0x8')](),controller['update']);router[_0xf38d('0xf')](_0xf38d('0xa'),auth[_0xf38d('0x8')](),controller[_0xf38d('0x10')]);module[_0xf38d('0x11')]=router;