1f66bc7a0ee641a07d6699c0477bcc8fec7621c4
[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 _0x73a0=['../../components/auth/service','../../config/environment','get','isAuthenticated','describe','show','post','create','/:id','update','delete','exports','multer','util','path','express','Router','fs-extra'];(function(_0xf4f985,_0x21a7f4){var _0x56d65a=function(_0x1f5185){while(--_0x1f5185){_0xf4f985['push'](_0xf4f985['shift']());}};_0x56d65a(++_0x21a7f4);}(_0x73a0,0x108));var _0x073a=function(_0x2d24ab,_0x493fce){_0x2d24ab=_0x2d24ab-0x0;var _0x1b9390=_0x73a0[_0x2d24ab];return _0x1b9390;};'use strict';var multer=require(_0x073a('0x0'));var util=require(_0x073a('0x1'));var path=require(_0x073a('0x2'));var timeout=require('connect-timeout');var express=require(_0x073a('0x3'));var router=express[_0x073a('0x4')]();var fs_extra=require(_0x073a('0x5'));var auth=require(_0x073a('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x073a('0x7'));var controller=require('./openchannelTransferReport.controller');router[_0x073a('0x8')]('/',auth[_0x073a('0x9')](),controller['index']);router[_0x073a('0x8')]('/describe',auth[_0x073a('0x9')](),controller[_0x073a('0xa')]);router[_0x073a('0x8')]('/:id',auth[_0x073a('0x9')](),controller[_0x073a('0xb')]);router[_0x073a('0xc')]('/',auth[_0x073a('0x9')](),controller[_0x073a('0xd')]);router['put'](_0x073a('0xe'),auth[_0x073a('0x9')](),controller[_0x073a('0xf')]);router[_0x073a('0x10')](_0x073a('0xe'),auth[_0x073a('0x9')](),controller['destroy']);module[_0x073a('0x11')]=router;