Built motion from commit e1760111.|2.6.18
[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 _0xb65d=['../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete','destroy','multer','util','connect-timeout','Router','fs-extra'];(function(_0x5b9692,_0x1e4e4c){var _0x4a32f0=function(_0x234655){while(--_0x234655){_0x5b9692['push'](_0x5b9692['shift']());}};_0x4a32f0(++_0x1e4e4c);}(_0xb65d,0x14f));var _0xdb65=function(_0x18f861,_0x5ba24f){_0x18f861=_0x18f861-0x0;var _0x51f967=_0xb65d[_0x18f861];return _0x51f967;};'use strict';var multer=require(_0xdb65('0x0'));var util=require(_0xdb65('0x1'));var path=require('path');var timeout=require(_0xdb65('0x2'));var express=require('express');var router=express[_0xdb65('0x3')]();var fs_extra=require(_0xdb65('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xdb65('0x5'));var config=require(_0xdb65('0x6'));var controller=require('./faxTransferReport.controller');router[_0xdb65('0x7')]('/',auth[_0xdb65('0x8')](),controller[_0xdb65('0x9')]);router['get'](_0xdb65('0xa'),auth[_0xdb65('0x8')](),controller[_0xdb65('0xb')]);router[_0xdb65('0x7')](_0xdb65('0xc'),auth[_0xdb65('0x8')](),controller[_0xdb65('0xd')]);router[_0xdb65('0xe')]('/',auth[_0xdb65('0x8')](),controller[_0xdb65('0xf')]);router[_0xdb65('0x10')](_0xdb65('0xc'),auth[_0xdb65('0x8')](),controller[_0xdb65('0x11')]);router[_0xdb65('0x12')](_0xdb65('0xc'),auth['isAuthenticated'](),controller[_0xdb65('0x13')]);module['exports']=router;