eb04d6f452142832986c83fe2f154e0a0ba2219a
[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 _0x0d3e=['post','create','put','update','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatTransferReport.controller','isAuthenticated','get','describe','/:id','show'];(function(_0x3cb00f,_0x28e6d1){var _0x5ed655=function(_0x4b9f3e){while(--_0x4b9f3e){_0x3cb00f['push'](_0x3cb00f['shift']());}};_0x5ed655(++_0x28e6d1);}(_0x0d3e,0x74));var _0xe0d3=function(_0x51a6d6,_0x3c9c49){_0x51a6d6=_0x51a6d6-0x0;var _0x5ef1a8=_0x0d3e[_0x51a6d6];return _0x5ef1a8;};'use strict';var multer=require(_0xe0d3('0x0'));var util=require(_0xe0d3('0x1'));var path=require(_0xe0d3('0x2'));var timeout=require(_0xe0d3('0x3'));var express=require(_0xe0d3('0x4'));var router=express[_0xe0d3('0x5')]();var fs_extra=require(_0xe0d3('0x6'));var auth=require(_0xe0d3('0x7'));var interaction=require(_0xe0d3('0x8'));var config=require(_0xe0d3('0x9'));var controller=require(_0xe0d3('0xa'));router['get']('/',auth[_0xe0d3('0xb')](),controller['index']);router[_0xe0d3('0xc')]('/describe',auth[_0xe0d3('0xb')](),controller[_0xe0d3('0xd')]);router['get'](_0xe0d3('0xe'),auth[_0xe0d3('0xb')](),controller[_0xe0d3('0xf')]);router[_0xe0d3('0x10')]('/',auth['isAuthenticated'](),controller[_0xe0d3('0x11')]);router[_0xe0d3('0x12')]('/:id',auth[_0xe0d3('0xb')](),controller[_0xe0d3('0x13')]);router[_0xe0d3('0x14')](_0xe0d3('0xe'),auth[_0xe0d3('0xb')](),controller[_0xe0d3('0x15')]);module['exports']=router;