5ac2802ec5f74c114905d008985dfabf7325c061
[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 _0xa723=['util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','get','isAuthenticated','describe','show','post','create','/:id','update','destroy','exports','multer'];(function(_0x311909,_0x414bf7){var _0x8d3163=function(_0x226f55){while(--_0x226f55){_0x311909['push'](_0x311909['shift']());}};_0x8d3163(++_0x414bf7);}(_0xa723,0xc7));var _0x3a72=function(_0xbec8e6,_0x2841b5){_0xbec8e6=_0xbec8e6-0x0;var _0x4aa6f2=_0xa723[_0xbec8e6];return _0x4aa6f2;};'use strict';var multer=require(_0x3a72('0x0'));var util=require(_0x3a72('0x1'));var path=require(_0x3a72('0x2'));var timeout=require(_0x3a72('0x3'));var express=require('express');var router=express[_0x3a72('0x4')]();var fs_extra=require(_0x3a72('0x5'));var auth=require(_0x3a72('0x6'));var interaction=require(_0x3a72('0x7'));var config=require(_0x3a72('0x8'));var controller=require(_0x3a72('0x9'));router[_0x3a72('0xa')]('/',auth[_0x3a72('0xb')](),controller['index']);router[_0x3a72('0xa')]('/describe',auth[_0x3a72('0xb')](),controller[_0x3a72('0xc')]);router[_0x3a72('0xa')]('/:id',auth[_0x3a72('0xb')](),controller[_0x3a72('0xd')]);router[_0x3a72('0xe')]('/',auth[_0x3a72('0xb')](),controller[_0x3a72('0xf')]);router['put'](_0x3a72('0x10'),auth[_0x3a72('0xb')](),controller[_0x3a72('0x11')]);router['delete'](_0x3a72('0x10'),auth[_0x3a72('0xb')](),controller[_0x3a72('0x12')]);module[_0x3a72('0x13')]=router;