Built motion from commit f0b1811d.|2.6.6
[motion2.git] / server / api / openchannelTransferReport / 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 _0x90f0=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id','post','create','put','delete','destroy','exports','multer','util','connect-timeout','express','Router'];(function(_0x3c0053,_0x10e01d){var _0x44d745=function(_0x24ecd0){while(--_0x24ecd0){_0x3c0053['push'](_0x3c0053['shift']());}};_0x44d745(++_0x10e01d);}(_0x90f0,0x1c9));var _0x090f=function(_0x30428f,_0x46de51){_0x30428f=_0x30428f-0x0;var _0x42cf4f=_0x90f0[_0x30428f];return _0x42cf4f;};'use strict';var multer=require(_0x090f('0x0'));var util=require(_0x090f('0x1'));var path=require('path');var timeout=require(_0x090f('0x2'));var express=require(_0x090f('0x3'));var router=express[_0x090f('0x4')]();var fs_extra=require(_0x090f('0x5'));var auth=require(_0x090f('0x6'));var interaction=require(_0x090f('0x7'));var config=require(_0x090f('0x8'));var controller=require('./openchannelTransferReport.controller');router['get']('/',auth[_0x090f('0x9')](),controller[_0x090f('0xa')]);router[_0x090f('0xb')](_0x090f('0xc'),auth[_0x090f('0x9')](),controller[_0x090f('0xd')]);router['get'](_0x090f('0xe'),auth[_0x090f('0x9')](),controller['show']);router[_0x090f('0xf')]('/',auth[_0x090f('0x9')](),controller[_0x090f('0x10')]);router[_0x090f('0x11')]('/:id',auth[_0x090f('0x9')](),controller['update']);router[_0x090f('0x12')](_0x090f('0xe'),auth['isAuthenticated'](),controller[_0x090f('0x13')]);module[_0x090f('0x14')]=router;