1644867f34b03b2072f01bc7fde4242864c6d4a0
[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 _0xa0df=['put','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./openchannelTransferReport.controller','isAuthenticated','index','/describe','/:id','show','post','create'];(function(_0xee68af,_0x8e4acc){var _0x18cc97=function(_0x4c6179){while(--_0x4c6179){_0xee68af['push'](_0xee68af['shift']());}};_0x18cc97(++_0x8e4acc);}(_0xa0df,0xd7));var _0xfa0d=function(_0xa78842,_0x4796a2){_0xa78842=_0xa78842-0x0;var _0x2abc00=_0xa0df[_0xa78842];return _0x2abc00;};'use strict';var multer=require(_0xfa0d('0x0'));var util=require(_0xfa0d('0x1'));var path=require(_0xfa0d('0x2'));var timeout=require('connect-timeout');var express=require(_0xfa0d('0x3'));var router=express[_0xfa0d('0x4')]();var fs_extra=require(_0xfa0d('0x5'));var auth=require(_0xfa0d('0x6'));var interaction=require(_0xfa0d('0x7'));var config=require('../../config/environment');var controller=require(_0xfa0d('0x8'));router['get']('/',auth[_0xfa0d('0x9')](),controller[_0xfa0d('0xa')]);router['get'](_0xfa0d('0xb'),auth['isAuthenticated'](),controller['describe']);router['get'](_0xfa0d('0xc'),auth[_0xfa0d('0x9')](),controller[_0xfa0d('0xd')]);router[_0xfa0d('0xe')]('/',auth[_0xfa0d('0x9')](),controller[_0xfa0d('0xf')]);router[_0xfa0d('0x10')]('/:id',auth[_0xfa0d('0x9')](),controller[_0xfa0d('0x11')]);router[_0xfa0d('0x12')](_0xfa0d('0xc'),auth[_0xfa0d('0x9')](),controller[_0xfa0d('0x13')]);module[_0xfa0d('0x14')]=router;