Built motion from commit 351e7f9c.|2.6.31
[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 _0x4264=['../../components/auth/service','../../components/interaction/service','isAuthenticated','get','/describe','describe','/:id','show','post','create','update','delete','destroy','exports','multer','util','path','Router','fs-extra'];(function(_0x28efd7,_0x4e7732){var _0x5914a3=function(_0x5b63b1){while(--_0x5b63b1){_0x28efd7['push'](_0x28efd7['shift']());}};_0x5914a3(++_0x4e7732);}(_0x4264,0xf2));var _0x4426=function(_0xea97a,_0x46a48b){_0xea97a=_0xea97a-0x0;var _0x5e1bba=_0x4264[_0xea97a];return _0x5e1bba;};'use strict';var multer=require(_0x4426('0x0'));var util=require(_0x4426('0x1'));var path=require(_0x4426('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x4426('0x3')]();var fs_extra=require(_0x4426('0x4'));var auth=require(_0x4426('0x5'));var interaction=require(_0x4426('0x6'));var config=require('../../config/environment');var controller=require('./faxTransferReport.controller');router['get']('/',auth[_0x4426('0x7')](),controller['index']);router[_0x4426('0x8')](_0x4426('0x9'),auth[_0x4426('0x7')](),controller[_0x4426('0xa')]);router[_0x4426('0x8')](_0x4426('0xb'),auth[_0x4426('0x7')](),controller[_0x4426('0xc')]);router[_0x4426('0xd')]('/',auth[_0x4426('0x7')](),controller[_0x4426('0xe')]);router['put'](_0x4426('0xb'),auth[_0x4426('0x7')](),controller[_0x4426('0xf')]);router[_0x4426('0x10')](_0x4426('0xb'),auth['isAuthenticated'](),controller[_0x4426('0x11')]);module[_0x4426('0x12')]=router;