800d94313e03553b3bb0159b546aa02ce0fb6093
[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 _0x47df=['connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','put','update','exports','multer','path'];(function(_0x4dd23f,_0x37910f){var _0x565bd0=function(_0x5629b7){while(--_0x5629b7){_0x4dd23f['push'](_0x4dd23f['shift']());}};_0x565bd0(++_0x37910f);}(_0x47df,0x108));var _0xf47d=function(_0x4f49a7,_0x1606f8){_0x4f49a7=_0x4f49a7-0x0;var _0x2687d0=_0x47df[_0x4f49a7];return _0x2687d0;};'use strict';var multer=require(_0xf47d('0x0'));var util=require('util');var path=require(_0xf47d('0x1'));var timeout=require(_0xf47d('0x2'));var express=require(_0xf47d('0x3'));var router=express['Router']();var fs_extra=require(_0xf47d('0x4'));var auth=require(_0xf47d('0x5'));var interaction=require(_0xf47d('0x6'));var config=require(_0xf47d('0x7'));var controller=require(_0xf47d('0x8'));router[_0xf47d('0x9')]('/',auth[_0xf47d('0xa')](),controller[_0xf47d('0xb')]);router['get'](_0xf47d('0xc'),auth[_0xf47d('0xa')](),controller[_0xf47d('0xd')]);router[_0xf47d('0x9')](_0xf47d('0xe'),auth['isAuthenticated'](),controller[_0xf47d('0xf')]);router['post']('/',auth[_0xf47d('0xa')](),controller['create']);router[_0xf47d('0x10')](_0xf47d('0xe'),auth[_0xf47d('0xa')](),controller[_0xf47d('0x11')]);router['delete'](_0xf47d('0xe'),auth[_0xf47d('0xa')](),controller['destroy']);module[_0xf47d('0x12')]=router;