Built motion from commit f7863d46.|2.5.41
[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 _0xd36f=['../../components/auth/service','../../config/environment','get','index','/describe','isAuthenticated','describe','show','post','create','put','/:id','update','delete','exports','util','path','express','Router'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xd36f,0xf3));var _0xfd36=function(_0x279f7f,_0x3fdf13){_0x279f7f=_0x279f7f-0x0;var _0x257495=_0xd36f[_0x279f7f];return _0x257495;};'use strict';var multer=require('multer');var util=require(_0xfd36('0x0'));var path=require(_0xfd36('0x1'));var timeout=require('connect-timeout');var express=require(_0xfd36('0x2'));var router=express[_0xfd36('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xfd36('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xfd36('0x5'));var controller=require('./chatTransferReport.controller');router[_0xfd36('0x6')]('/',auth['isAuthenticated'](),controller[_0xfd36('0x7')]);router[_0xfd36('0x6')](_0xfd36('0x8'),auth[_0xfd36('0x9')](),controller[_0xfd36('0xa')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0xfd36('0xb')]);router[_0xfd36('0xc')]('/',auth[_0xfd36('0x9')](),controller[_0xfd36('0xd')]);router[_0xfd36('0xe')](_0xfd36('0xf'),auth[_0xfd36('0x9')](),controller[_0xfd36('0x10')]);router[_0xfd36('0x11')]('/:id',auth[_0xfd36('0x9')](),controller['destroy']);module[_0xfd36('0x12')]=router;