9c14514202006e4b116393903838c4e87ceb646b
[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 _0x45b8=['isAuthenticated','index','/describe','describe','/:id','show','create','put','update','delete','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./chatTransferReport.controller','get'];(function(_0x33c638,_0x462bff){var _0x18a079=function(_0x336610){while(--_0x336610){_0x33c638['push'](_0x33c638['shift']());}};_0x18a079(++_0x462bff);}(_0x45b8,0x1d7));var _0x845b=function(_0x9cd4c3,_0x1c9b2c){_0x9cd4c3=_0x9cd4c3-0x0;var _0x4c9025=_0x45b8[_0x9cd4c3];return _0x4c9025;};'use strict';var multer=require('multer');var util=require(_0x845b('0x0'));var path=require(_0x845b('0x1'));var timeout=require(_0x845b('0x2'));var express=require(_0x845b('0x3'));var router=express[_0x845b('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x845b('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x845b('0x6'));var controller=require(_0x845b('0x7'));router[_0x845b('0x8')]('/',auth[_0x845b('0x9')](),controller[_0x845b('0xa')]);router['get'](_0x845b('0xb'),auth[_0x845b('0x9')](),controller[_0x845b('0xc')]);router['get'](_0x845b('0xd'),auth[_0x845b('0x9')](),controller[_0x845b('0xe')]);router['post']('/',auth[_0x845b('0x9')](),controller[_0x845b('0xf')]);router[_0x845b('0x10')](_0x845b('0xd'),auth[_0x845b('0x9')](),controller[_0x845b('0x11')]);router[_0x845b('0x12')](_0x845b('0xd'),auth[_0x845b('0x9')](),controller['destroy']);module[_0x845b('0x13')]=router;