Built motion from commit 616d3211.|2.6.4
[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 _0x435a=['delete','destroy','multer','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','get','index','/describe','isAuthenticated','describe','show','post','create','put'];(function(_0x1d3577,_0x17a32e){var _0x277d9a=function(_0x4b4144){while(--_0x4b4144){_0x1d3577['push'](_0x1d3577['shift']());}};_0x277d9a(++_0x17a32e);}(_0x435a,0x112));var _0xa435=function(_0x24125c,_0x4fdcf0){_0x24125c=_0x24125c-0x0;var _0x48cc4a=_0x435a[_0x24125c];return _0x48cc4a;};'use strict';var multer=require(_0xa435('0x0'));var util=require('util');var path=require(_0xa435('0x1'));var timeout=require(_0xa435('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xa435('0x3'));var auth=require(_0xa435('0x4'));var interaction=require(_0xa435('0x5'));var config=require('../../config/environment');var controller=require('./chatTransferReport.controller');router[_0xa435('0x6')]('/',auth['isAuthenticated'](),controller[_0xa435('0x7')]);router['get'](_0xa435('0x8'),auth[_0xa435('0x9')](),controller[_0xa435('0xa')]);router[_0xa435('0x6')]('/:id',auth[_0xa435('0x9')](),controller[_0xa435('0xb')]);router[_0xa435('0xc')]('/',auth[_0xa435('0x9')](),controller[_0xa435('0xd')]);router[_0xa435('0xe')]('/:id',auth[_0xa435('0x9')](),controller['update']);router[_0xa435('0xf')]('/:id',auth[_0xa435('0x9')](),controller[_0xa435('0x10')]);module['exports']=router;