457739404d7682675ca4519930b9595f962fb657
[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 _0x0d04=['./openchannelTransferReport.controller','isAuthenticated','index','get','/describe','describe','/:id','post','create','put','update','delete','destroy','multer','util','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x10fd54,_0x20e3b9){var _0x9df0d3=function(_0x414c2d){while(--_0x414c2d){_0x10fd54['push'](_0x10fd54['shift']());}};_0x9df0d3(++_0x20e3b9);}(_0x0d04,0x172));var _0x40d0=function(_0x78a8f4,_0x259809){_0x78a8f4=_0x78a8f4-0x0;var _0x2b3291=_0x0d04[_0x78a8f4];return _0x2b3291;};'use strict';var multer=require(_0x40d0('0x0'));var util=require(_0x40d0('0x1'));var path=require(_0x40d0('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x40d0('0x3')]();var fs_extra=require(_0x40d0('0x4'));var auth=require(_0x40d0('0x5'));var interaction=require(_0x40d0('0x6'));var config=require(_0x40d0('0x7'));var controller=require(_0x40d0('0x8'));router['get']('/',auth[_0x40d0('0x9')](),controller[_0x40d0('0xa')]);router[_0x40d0('0xb')](_0x40d0('0xc'),auth[_0x40d0('0x9')](),controller[_0x40d0('0xd')]);router[_0x40d0('0xb')](_0x40d0('0xe'),auth[_0x40d0('0x9')](),controller['show']);router[_0x40d0('0xf')]('/',auth[_0x40d0('0x9')](),controller[_0x40d0('0x10')]);router[_0x40d0('0x11')]('/:id',auth[_0x40d0('0x9')](),controller[_0x40d0('0x12')]);router[_0x40d0('0x13')](_0x40d0('0xe'),auth[_0x40d0('0x9')](),controller[_0x40d0('0x14')]);module['exports']=router;