aecd24b3b9ef156350460bf666ad04f9ce7e72ba
[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 _0x88f3=['Router','../../components/auth/service','../../config/environment','./openchannelTransferReport.controller','isAuthenticated','index','/describe','describe','get','/:id','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','express'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0x88f3,0x160));var _0x388f=function(_0x37466a,_0x36a011){_0x37466a=_0x37466a-0x0;var _0x276dbf=_0x88f3[_0x37466a];return _0x276dbf;};'use strict';var multer=require(_0x388f('0x0'));var util=require(_0x388f('0x1'));var path=require(_0x388f('0x2'));var timeout=require(_0x388f('0x3'));var express=require(_0x388f('0x4'));var router=express[_0x388f('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x388f('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x388f('0x7'));var controller=require(_0x388f('0x8'));router['get']('/',auth[_0x388f('0x9')](),controller[_0x388f('0xa')]);router['get'](_0x388f('0xb'),auth[_0x388f('0x9')](),controller[_0x388f('0xc')]);router[_0x388f('0xd')](_0x388f('0xe'),auth[_0x388f('0x9')](),controller['show']);router[_0x388f('0xf')]('/',auth[_0x388f('0x9')](),controller[_0x388f('0x10')]);router[_0x388f('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x388f('0x12')]);router[_0x388f('0x13')](_0x388f('0xe'),auth[_0x388f('0x9')](),controller[_0x388f('0x14')]);module['exports']=router;