Built motion from commit 092f8824.|2.5.49
[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 _0x41b7=['isAuthenticated','index','describe','get','/:id','show','post','create','delete','destroy','exports','multer','util','path','connect-timeout','fs-extra','../../config/environment'];(function(_0x4614eb,_0x58c4d4){var _0x51d6c2=function(_0x328b1a){while(--_0x328b1a){_0x4614eb['push'](_0x4614eb['shift']());}};_0x51d6c2(++_0x58c4d4);}(_0x41b7,0x1e7));var _0x741b=function(_0x3b89d5,_0x3ce186){_0x3b89d5=_0x3b89d5-0x0;var _0x5192e1=_0x41b7[_0x3b89d5];return _0x5192e1;};'use strict';var multer=require(_0x741b('0x0'));var util=require(_0x741b('0x1'));var path=require(_0x741b('0x2'));var timeout=require(_0x741b('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x741b('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x741b('0x5'));var controller=require('./openchannelTransferReport.controller');router['get']('/',auth[_0x741b('0x6')](),controller[_0x741b('0x7')]);router['get']('/describe',auth['isAuthenticated'](),controller[_0x741b('0x8')]);router[_0x741b('0x9')](_0x741b('0xa'),auth[_0x741b('0x6')](),controller[_0x741b('0xb')]);router[_0x741b('0xc')]('/',auth[_0x741b('0x6')](),controller[_0x741b('0xd')]);router['put'](_0x741b('0xa'),auth[_0x741b('0x6')](),controller['update']);router[_0x741b('0xe')](_0x741b('0xa'),auth[_0x741b('0x6')](),controller[_0x741b('0xf')]);module[_0x741b('0x10')]=router;