Built motion from commit ddca4d0d.|2.5.47
[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 _0x280c=['../../components/auth/service','../../components/interaction/service','./chatTransferReport.controller','isAuthenticated','index','get','/describe','describe','/:id','post','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x10d6f2,_0x18ae62){var _0x59e5c7=function(_0x3edf41){while(--_0x3edf41){_0x10d6f2['push'](_0x10d6f2['shift']());}};_0x59e5c7(++_0x18ae62);}(_0x280c,0x9a));var _0xc280=function(_0x1e60f6,_0x8a1ec7){_0x1e60f6=_0x1e60f6-0x0;var _0x595244=_0x280c[_0x1e60f6];return _0x595244;};'use strict';var multer=require(_0xc280('0x0'));var util=require(_0xc280('0x1'));var path=require(_0xc280('0x2'));var timeout=require(_0xc280('0x3'));var express=require(_0xc280('0x4'));var router=express[_0xc280('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xc280('0x6'));var interaction=require(_0xc280('0x7'));var config=require('../../config/environment');var controller=require(_0xc280('0x8'));router['get']('/',auth[_0xc280('0x9')](),controller[_0xc280('0xa')]);router[_0xc280('0xb')](_0xc280('0xc'),auth['isAuthenticated'](),controller[_0xc280('0xd')]);router[_0xc280('0xb')](_0xc280('0xe'),auth[_0xc280('0x9')](),controller['show']);router[_0xc280('0xf')]('/',auth['isAuthenticated'](),controller['create']);router[_0xc280('0x10')](_0xc280('0xe'),auth[_0xc280('0x9')](),controller['update']);router[_0xc280('0x11')]('/:id',auth['isAuthenticated'](),controller[_0xc280('0x12')]);module[_0xc280('0x13')]=router;