Built motion from commit b5996064.|2.6.21
[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 _0xf5a7=['/describe','describe','/:id','show','post','put','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./openchannelTransferReport.controller','get','isAuthenticated','index'];(function(_0x140d7f,_0x220ce9){var _0x602a5c=function(_0x9640d2){while(--_0x9640d2){_0x140d7f['push'](_0x140d7f['shift']());}};_0x602a5c(++_0x220ce9);}(_0xf5a7,0x12f));var _0x7f5a=function(_0x5d50bd,_0x33347c){_0x5d50bd=_0x5d50bd-0x0;var _0x40b317=_0xf5a7[_0x5d50bd];return _0x40b317;};'use strict';var multer=require(_0x7f5a('0x0'));var util=require(_0x7f5a('0x1'));var path=require(_0x7f5a('0x2'));var timeout=require('connect-timeout');var express=require(_0x7f5a('0x3'));var router=express[_0x7f5a('0x4')]();var fs_extra=require(_0x7f5a('0x5'));var auth=require(_0x7f5a('0x6'));var interaction=require(_0x7f5a('0x7'));var config=require('../../config/environment');var controller=require(_0x7f5a('0x8'));router[_0x7f5a('0x9')]('/',auth[_0x7f5a('0xa')](),controller[_0x7f5a('0xb')]);router[_0x7f5a('0x9')](_0x7f5a('0xc'),auth['isAuthenticated'](),controller[_0x7f5a('0xd')]);router[_0x7f5a('0x9')](_0x7f5a('0xe'),auth[_0x7f5a('0xa')](),controller[_0x7f5a('0xf')]);router[_0x7f5a('0x10')]('/',auth[_0x7f5a('0xa')](),controller['create']);router[_0x7f5a('0x11')]('/:id',auth[_0x7f5a('0xa')](),controller['update']);router[_0x7f5a('0x12')](_0x7f5a('0xe'),auth[_0x7f5a('0xa')](),controller[_0x7f5a('0x13')]);module[_0x7f5a('0x14')]=router;