Built motion from commit (unavailable).|2.5.15
[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 _0xa387=['get','index','/describe','isAuthenticated','describe','/:id','show','post','create','put','delete','destroy','exports','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x2b4411,_0x2625ed){var _0x8e41ef=function(_0x2aa8c1){while(--_0x2aa8c1){_0x2b4411['push'](_0x2b4411['shift']());}};_0x8e41ef(++_0x2625ed);}(_0xa387,0x19d));var _0x7a38=function(_0x32f407,_0x54763a){_0x32f407=_0x32f407-0x0;var _0x3094cc=_0xa387[_0x32f407];return _0x3094cc;};'use strict';var multer=require('multer');var util=require(_0x7a38('0x0'));var path=require(_0x7a38('0x1'));var timeout=require(_0x7a38('0x2'));var express=require(_0x7a38('0x3'));var router=express['Router']();var auth=require(_0x7a38('0x4'));var interaction=require(_0x7a38('0x5'));var config=require(_0x7a38('0x6'));var controller=require('./faxTransferReport.controller');router[_0x7a38('0x7')]('/',auth['isAuthenticated'](),controller[_0x7a38('0x8')]);router[_0x7a38('0x7')](_0x7a38('0x9'),auth[_0x7a38('0xa')](),controller[_0x7a38('0xb')]);router[_0x7a38('0x7')](_0x7a38('0xc'),auth[_0x7a38('0xa')](),controller[_0x7a38('0xd')]);router[_0x7a38('0xe')]('/',auth[_0x7a38('0xa')](),controller[_0x7a38('0xf')]);router[_0x7a38('0x10')](_0x7a38('0xc'),auth['isAuthenticated'](),controller['update']);router[_0x7a38('0x11')](_0x7a38('0xc'),auth[_0x7a38('0xa')](),controller[_0x7a38('0x12')]);module[_0x7a38('0x13')]=router;