Built motion from commit (unavailable).|2.2.0
[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 _0x2d01=['post','/:id','update','delete','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','get','isAuthenticated','index','/describe','describe','show'];(function(_0xf72f50,_0x1b374d){var _0x9fa4e6=function(_0x50cf6d){while(--_0x50cf6d){_0xf72f50['push'](_0xf72f50['shift']());}};_0x9fa4e6(++_0x1b374d);}(_0x2d01,0x7d));var _0x12d0=function(_0x385359,_0x325c57){_0x385359=_0x385359-0x0;var _0x2ea4dd=_0x2d01[_0x385359];return _0x2ea4dd;};'use strict';var multer=require(_0x12d0('0x0'));var util=require(_0x12d0('0x1'));var path=require(_0x12d0('0x2'));var timeout=require('connect-timeout');var express=require(_0x12d0('0x3'));var router=express[_0x12d0('0x4')]();var auth=require(_0x12d0('0x5'));var interaction=require(_0x12d0('0x6'));var config=require(_0x12d0('0x7'));var controller=require(_0x12d0('0x8'));router[_0x12d0('0x9')]('/',auth[_0x12d0('0xa')](),controller[_0x12d0('0xb')]);router[_0x12d0('0x9')](_0x12d0('0xc'),auth['isAuthenticated'](),controller[_0x12d0('0xd')]);router[_0x12d0('0x9')]('/:id',auth[_0x12d0('0xa')](),controller[_0x12d0('0xe')]);router[_0x12d0('0xf')]('/',auth[_0x12d0('0xa')](),controller['create']);router['put'](_0x12d0('0x10'),auth[_0x12d0('0xa')](),controller[_0x12d0('0x11')]);router[_0x12d0('0x12')]('/:id',auth[_0x12d0('0xa')](),controller['destroy']);module[_0x12d0('0x13')]=router;