Built motion from commit 47436d59.|2.6.7
[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 _0xbc39=['get','index','/describe','isAuthenticated','describe','/:id','show','post','create','update','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./openchannelTransferReport.controller'];(function(_0x83c716,_0x25152d){var _0xab9893=function(_0x9b3f0a){while(--_0x9b3f0a){_0x83c716['push'](_0x83c716['shift']());}};_0xab9893(++_0x25152d);}(_0xbc39,0x127));var _0x9bc3=function(_0x3f78b0,_0x3e102f){_0x3f78b0=_0x3f78b0-0x0;var _0x226432=_0xbc39[_0x3f78b0];return _0x226432;};'use strict';var multer=require(_0x9bc3('0x0'));var util=require(_0x9bc3('0x1'));var path=require(_0x9bc3('0x2'));var timeout=require(_0x9bc3('0x3'));var express=require(_0x9bc3('0x4'));var router=express[_0x9bc3('0x5')]();var fs_extra=require(_0x9bc3('0x6'));var auth=require(_0x9bc3('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x9bc3('0x8'));router[_0x9bc3('0x9')]('/',auth['isAuthenticated'](),controller[_0x9bc3('0xa')]);router[_0x9bc3('0x9')](_0x9bc3('0xb'),auth[_0x9bc3('0xc')](),controller[_0x9bc3('0xd')]);router['get'](_0x9bc3('0xe'),auth[_0x9bc3('0xc')](),controller[_0x9bc3('0xf')]);router[_0x9bc3('0x10')]('/',auth[_0x9bc3('0xc')](),controller[_0x9bc3('0x11')]);router['put']('/:id',auth[_0x9bc3('0xc')](),controller[_0x9bc3('0x12')]);router['delete']('/:id',auth[_0x9bc3('0xc')](),controller['destroy']);module['exports']=router;