89fbc9e3b74ac680c2656a61298b2752fd51aa1f
[motion2.git] / server / api / chatTransferReport / 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 _0x82a9=['isAuthenticated','index','get','describe','/:id','create','put','update','delete','destroy','exports','util','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','./chatTransferReport.controller'];(function(_0x554047,_0x46ec41){var _0x5d11e4=function(_0x5a026e){while(--_0x5a026e){_0x554047['push'](_0x554047['shift']());}};_0x5d11e4(++_0x46ec41);}(_0x82a9,0x1bb));var _0x982a=function(_0x5cdeb7,_0x19194b){_0x5cdeb7=_0x5cdeb7-0x0;var _0x1ad6a5=_0x82a9[_0x5cdeb7];return _0x1ad6a5;};'use strict';var multer=require('multer');var util=require(_0x982a('0x0'));var path=require('path');var timeout=require(_0x982a('0x1'));var express=require(_0x982a('0x2'));var router=express['Router']();var fs_extra=require(_0x982a('0x3'));var auth=require(_0x982a('0x4'));var interaction=require(_0x982a('0x5'));var config=require('../../config/environment');var controller=require(_0x982a('0x6'));router['get']('/',auth[_0x982a('0x7')](),controller[_0x982a('0x8')]);router[_0x982a('0x9')]('/describe',auth['isAuthenticated'](),controller[_0x982a('0xa')]);router['get'](_0x982a('0xb'),auth[_0x982a('0x7')](),controller['show']);router['post']('/',auth[_0x982a('0x7')](),controller[_0x982a('0xc')]);router[_0x982a('0xd')](_0x982a('0xb'),auth[_0x982a('0x7')](),controller[_0x982a('0xe')]);router[_0x982a('0xf')](_0x982a('0xb'),auth['isAuthenticated'](),controller[_0x982a('0x10')]);module[_0x982a('0x11')]=router;