Built motion from commit d5e4af8c.|2.6.23
[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 _0x48c8=['index','/describe','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./faxTransferReport.controller','isAuthenticated'];(function(_0x454cfb,_0x3246d4){var _0x5b7654=function(_0x8055dc){while(--_0x8055dc){_0x454cfb['push'](_0x454cfb['shift']());}};_0x5b7654(++_0x3246d4);}(_0x48c8,0x131));var _0x848c=function(_0x4a782b,_0x55584a){_0x4a782b=_0x4a782b-0x0;var _0x5cb5a0=_0x48c8[_0x4a782b];return _0x5cb5a0;};'use strict';var multer=require(_0x848c('0x0'));var util=require(_0x848c('0x1'));var path=require('path');var timeout=require(_0x848c('0x2'));var express=require(_0x848c('0x3'));var router=express[_0x848c('0x4')]();var fs_extra=require(_0x848c('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x848c('0x6'));var config=require(_0x848c('0x7'));var controller=require(_0x848c('0x8'));router['get']('/',auth[_0x848c('0x9')](),controller[_0x848c('0xa')]);router['get'](_0x848c('0xb'),auth[_0x848c('0x9')](),controller['describe']);router['get'](_0x848c('0xc'),auth['isAuthenticated'](),controller[_0x848c('0xd')]);router[_0x848c('0xe')]('/',auth[_0x848c('0x9')](),controller[_0x848c('0xf')]);router[_0x848c('0x10')](_0x848c('0xc'),auth['isAuthenticated'](),controller[_0x848c('0x11')]);router[_0x848c('0x12')](_0x848c('0xc'),auth[_0x848c('0x9')](),controller[_0x848c('0x13')]);module[_0x848c('0x14')]=router;