Built motion from commit 5b761a7b.|2.5.36
[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 _0x2a88=['../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','get','isAuthenticated','/describe','describe','/:id','create','put','update','destroy','exports','multer','util','path','connect-timeout','express','fs-extra'];(function(_0x50cfc3,_0x526cc6){var _0x5c11ef=function(_0xeaf96a){while(--_0xeaf96a){_0x50cfc3['push'](_0x50cfc3['shift']());}};_0x5c11ef(++_0x526cc6);}(_0x2a88,0x14e));var _0x82a8=function(_0x54752b,_0x133e91){_0x54752b=_0x54752b-0x0;var _0x1ad013=_0x2a88[_0x54752b];return _0x1ad013;};'use strict';var multer=require(_0x82a8('0x0'));var util=require(_0x82a8('0x1'));var path=require(_0x82a8('0x2'));var timeout=require(_0x82a8('0x3'));var express=require(_0x82a8('0x4'));var router=express['Router']();var fs_extra=require(_0x82a8('0x5'));var auth=require(_0x82a8('0x6'));var interaction=require(_0x82a8('0x7'));var config=require(_0x82a8('0x8'));var controller=require(_0x82a8('0x9'));router[_0x82a8('0xa')]('/',auth[_0x82a8('0xb')](),controller['index']);router[_0x82a8('0xa')](_0x82a8('0xc'),auth[_0x82a8('0xb')](),controller[_0x82a8('0xd')]);router[_0x82a8('0xa')](_0x82a8('0xe'),auth[_0x82a8('0xb')](),controller['show']);router['post']('/',auth['isAuthenticated'](),controller[_0x82a8('0xf')]);router[_0x82a8('0x10')]('/:id',auth[_0x82a8('0xb')](),controller[_0x82a8('0x11')]);router['delete'](_0x82a8('0xe'),auth[_0x82a8('0xb')](),controller[_0x82a8('0x12')]);module[_0x82a8('0x13')]=router;