Built motion from commit d69f4380.|2.6.29
[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 _0x6b2b=['express','Router','fs-extra','../../components/auth/service','./faxTransferReport.controller','get','/describe','isAuthenticated','describe','/:id','show','post','put','update','delete','destroy','multer','util','path','connect-timeout'];(function(_0x476c7,_0x298ee0){var _0x47ae56=function(_0x4acf5a){while(--_0x4acf5a){_0x476c7['push'](_0x476c7['shift']());}};_0x47ae56(++_0x298ee0);}(_0x6b2b,0x178));var _0xb6b2=function(_0x3740fe,_0x6c543c){_0x3740fe=_0x3740fe-0x0;var _0x55492b=_0x6b2b[_0x3740fe];return _0x55492b;};'use strict';var multer=require(_0xb6b2('0x0'));var util=require(_0xb6b2('0x1'));var path=require(_0xb6b2('0x2'));var timeout=require(_0xb6b2('0x3'));var express=require(_0xb6b2('0x4'));var router=express[_0xb6b2('0x5')]();var fs_extra=require(_0xb6b2('0x6'));var auth=require(_0xb6b2('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xb6b2('0x8'));router[_0xb6b2('0x9')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xb6b2('0xa'),auth[_0xb6b2('0xb')](),controller[_0xb6b2('0xc')]);router[_0xb6b2('0x9')](_0xb6b2('0xd'),auth[_0xb6b2('0xb')](),controller[_0xb6b2('0xe')]);router[_0xb6b2('0xf')]('/',auth[_0xb6b2('0xb')](),controller['create']);router[_0xb6b2('0x10')]('/:id',auth['isAuthenticated'](),controller[_0xb6b2('0x11')]);router[_0xb6b2('0x12')](_0xb6b2('0xd'),auth['isAuthenticated'](),controller[_0xb6b2('0x13')]);module['exports']=router;