96f19cc5566b2e6a5ba160a5e2eeea9d18fe60d3
[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 _0x2a4a=['create','put','delete','/:id','destroy','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','describe','show','post'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0x2a4a,0x113));var _0xa2a4=function(_0x20f897,_0x38582f){_0x20f897=_0x20f897-0x0;var _0x4cc564=_0x2a4a[_0x20f897];return _0x4cc564;};'use strict';var multer=require(_0xa2a4('0x0'));var util=require('util');var path=require(_0xa2a4('0x1'));var timeout=require(_0xa2a4('0x2'));var express=require(_0xa2a4('0x3'));var router=express[_0xa2a4('0x4')]();var fs_extra=require(_0xa2a4('0x5'));var auth=require(_0xa2a4('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xa2a4('0x7'));var controller=require('./openchannelTransferReport.controller');router[_0xa2a4('0x8')]('/',auth[_0xa2a4('0x9')](),controller['index']);router[_0xa2a4('0x8')]('/describe',auth[_0xa2a4('0x9')](),controller[_0xa2a4('0xa')]);router[_0xa2a4('0x8')]('/:id',auth['isAuthenticated'](),controller[_0xa2a4('0xb')]);router[_0xa2a4('0xc')]('/',auth[_0xa2a4('0x9')](),controller[_0xa2a4('0xd')]);router[_0xa2a4('0xe')]('/:id',auth[_0xa2a4('0x9')](),controller['update']);router[_0xa2a4('0xf')](_0xa2a4('0x10'),auth[_0xa2a4('0x9')](),controller[_0xa2a4('0x11')]);module['exports']=router;