170578089f232842b8b38a4158053144ca77ac72
[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 _0x1932=['put','update','delete','destroy','exports','multer','path','connect-timeout','Router','fs-extra','../../components/interaction/service','./faxTransferReport.controller','get','isAuthenticated','/describe','describe','/:id','post','create'];(function(_0x1e9d62,_0x25bb8e){var _0x56c490=function(_0x19f4e7){while(--_0x19f4e7){_0x1e9d62['push'](_0x1e9d62['shift']());}};_0x56c490(++_0x25bb8e);}(_0x1932,0xd6));var _0x2193=function(_0x565c49,_0x54acd0){_0x565c49=_0x565c49-0x0;var _0x20ca34=_0x1932[_0x565c49];return _0x20ca34;};'use strict';var multer=require(_0x2193('0x0'));var util=require('util');var path=require(_0x2193('0x1'));var timeout=require(_0x2193('0x2'));var express=require('express');var router=express[_0x2193('0x3')]();var fs_extra=require(_0x2193('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x2193('0x5'));var config=require('../../config/environment');var controller=require(_0x2193('0x6'));router[_0x2193('0x7')]('/',auth[_0x2193('0x8')](),controller['index']);router[_0x2193('0x7')](_0x2193('0x9'),auth[_0x2193('0x8')](),controller[_0x2193('0xa')]);router[_0x2193('0x7')](_0x2193('0xb'),auth['isAuthenticated'](),controller['show']);router[_0x2193('0xc')]('/',auth['isAuthenticated'](),controller[_0x2193('0xd')]);router[_0x2193('0xe')]('/:id',auth[_0x2193('0x8')](),controller[_0x2193('0xf')]);router[_0x2193('0x10')](_0x2193('0xb'),auth['isAuthenticated'](),controller[_0x2193('0x11')]);module[_0x2193('0x12')]=router;