Built motion from commit a679711e.|2.6.15
[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 _0x5068=['/describe','describe','get','/:id','show','put','update','delete','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','isAuthenticated','index'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0x5068,0x16e));var _0x8506=function(_0x3410a7,_0x2f1a0e){_0x3410a7=_0x3410a7-0x0;var _0x4caea9=_0x5068[_0x3410a7];return _0x4caea9;};'use strict';var multer=require('multer');var util=require(_0x8506('0x0'));var path=require(_0x8506('0x1'));var timeout=require(_0x8506('0x2'));var express=require(_0x8506('0x3'));var router=express[_0x8506('0x4')]();var fs_extra=require(_0x8506('0x5'));var auth=require(_0x8506('0x6'));var interaction=require(_0x8506('0x7'));var config=require(_0x8506('0x8'));var controller=require(_0x8506('0x9'));router['get']('/',auth[_0x8506('0xa')](),controller[_0x8506('0xb')]);router['get'](_0x8506('0xc'),auth[_0x8506('0xa')](),controller[_0x8506('0xd')]);router[_0x8506('0xe')](_0x8506('0xf'),auth[_0x8506('0xa')](),controller[_0x8506('0x10')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x8506('0x11')](_0x8506('0xf'),auth[_0x8506('0xa')](),controller[_0x8506('0x12')]);router[_0x8506('0x13')]('/:id',auth[_0x8506('0xa')](),controller['destroy']);module[_0x8506('0x14')]=router;