Built motion from commit (unavailable).|2.5.16
[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 _0x46d6=['Router','../../components/interaction/service','./faxTransferReport.controller','isAuthenticated','/describe','describe','get','/:id','show','post','put','delete','destroy','exports','multer','path','express'];(function(_0x2a70a6,_0x527a79){var _0xaa61ee=function(_0x3b1b61){while(--_0x3b1b61){_0x2a70a6['push'](_0x2a70a6['shift']());}};_0xaa61ee(++_0x527a79);}(_0x46d6,0x1c8));var _0x646d=function(_0x3dbd97,_0x5a0738){_0x3dbd97=_0x3dbd97-0x0;var _0x44f649=_0x46d6[_0x3dbd97];return _0x44f649;};'use strict';var multer=require(_0x646d('0x0'));var util=require('util');var path=require(_0x646d('0x1'));var timeout=require('connect-timeout');var express=require(_0x646d('0x2'));var router=express[_0x646d('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x646d('0x4'));var config=require('../../config/environment');var controller=require(_0x646d('0x5'));router['get']('/',auth[_0x646d('0x6')](),controller['index']);router['get'](_0x646d('0x7'),auth[_0x646d('0x6')](),controller[_0x646d('0x8')]);router[_0x646d('0x9')](_0x646d('0xa'),auth['isAuthenticated'](),controller[_0x646d('0xb')]);router[_0x646d('0xc')]('/',auth[_0x646d('0x6')](),controller['create']);router[_0x646d('0xd')](_0x646d('0xa'),auth[_0x646d('0x6')](),controller['update']);router[_0x646d('0xe')](_0x646d('0xa'),auth['isAuthenticated'](),controller[_0x646d('0xf')]);module[_0x646d('0x10')]=router;