Built motion from commit e781dc3c.|2.5.42
[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 _0xd0a8=['index','/describe','/:id','show','post','create','update','multer','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatTransferReport.controller','get','isAuthenticated'];(function(_0x5a348e,_0x242e7e){var _0x1d4721=function(_0x562c20){while(--_0x562c20){_0x5a348e['push'](_0x5a348e['shift']());}};_0x1d4721(++_0x242e7e);}(_0xd0a8,0x14b));var _0x8d0a=function(_0x17b347,_0x53e8c7){_0x17b347=_0x17b347-0x0;var _0x303b29=_0xd0a8[_0x17b347];return _0x303b29;};'use strict';var multer=require(_0x8d0a('0x0'));var util=require(_0x8d0a('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x8d0a('0x2'));var router=express[_0x8d0a('0x3')]();var fs_extra=require(_0x8d0a('0x4'));var auth=require(_0x8d0a('0x5'));var interaction=require(_0x8d0a('0x6'));var config=require(_0x8d0a('0x7'));var controller=require(_0x8d0a('0x8'));router[_0x8d0a('0x9')]('/',auth[_0x8d0a('0xa')](),controller[_0x8d0a('0xb')]);router[_0x8d0a('0x9')](_0x8d0a('0xc'),auth[_0x8d0a('0xa')](),controller['describe']);router[_0x8d0a('0x9')](_0x8d0a('0xd'),auth[_0x8d0a('0xa')](),controller[_0x8d0a('0xe')]);router[_0x8d0a('0xf')]('/',auth[_0x8d0a('0xa')](),controller[_0x8d0a('0x10')]);router['put'](_0x8d0a('0xd'),auth['isAuthenticated'](),controller[_0x8d0a('0x11')]);router['delete'](_0x8d0a('0xd'),auth[_0x8d0a('0xa')](),controller['destroy']);module['exports']=router;