Built motion from commit (unavailable).|2.5.0
[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 _0x0296=['update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','/:id','show','post','create','put'];(function(_0x57d4ed,_0x41abfd){var _0x593ca9=function(_0x377dec){while(--_0x377dec){_0x57d4ed['push'](_0x57d4ed['shift']());}};_0x593ca9(++_0x41abfd);}(_0x0296,0x8f));var _0x6029=function(_0xad57ee,_0x2823a6){_0xad57ee=_0xad57ee-0x0;var _0x3eaea9=_0x0296[_0xad57ee];return _0x3eaea9;};'use strict';var multer=require(_0x6029('0x0'));var util=require(_0x6029('0x1'));var path=require(_0x6029('0x2'));var timeout=require(_0x6029('0x3'));var express=require(_0x6029('0x4'));var router=express[_0x6029('0x5')]();var auth=require(_0x6029('0x6'));var interaction=require(_0x6029('0x7'));var config=require('../../config/environment');var controller=require('./faxTransferReport.controller');router[_0x6029('0x8')]('/',auth[_0x6029('0x9')](),controller[_0x6029('0xa')]);router[_0x6029('0x8')](_0x6029('0xb'),auth[_0x6029('0x9')](),controller['describe']);router[_0x6029('0x8')](_0x6029('0xc'),auth[_0x6029('0x9')](),controller[_0x6029('0xd')]);router[_0x6029('0xe')]('/',auth[_0x6029('0x9')](),controller[_0x6029('0xf')]);router[_0x6029('0x10')](_0x6029('0xc'),auth['isAuthenticated'](),controller[_0x6029('0x11')]);router[_0x6029('0x12')](_0x6029('0xc'),auth[_0x6029('0x9')](),controller['destroy']);module[_0x6029('0x13')]=router;