Built motion from commit 4c281f94.|2.6.31
[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 _0x088c=['/:id','show','post','create','put','update','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index'];(function(_0x24033d,_0x1832fe){var _0x1f6fb5=function(_0x5e05a1){while(--_0x5e05a1){_0x24033d['push'](_0x24033d['shift']());}};_0x1f6fb5(++_0x1832fe);}(_0x088c,0x16f));var _0xc088=function(_0x3fb84d,_0x5e54bf){_0x3fb84d=_0x3fb84d-0x0;var _0x566803=_0x088c[_0x3fb84d];return _0x566803;};'use strict';var multer=require(_0xc088('0x0'));var util=require(_0xc088('0x1'));var path=require(_0xc088('0x2'));var timeout=require(_0xc088('0x3'));var express=require(_0xc088('0x4'));var router=express[_0xc088('0x5')]();var fs_extra=require(_0xc088('0x6'));var auth=require(_0xc088('0x7'));var interaction=require(_0xc088('0x8'));var config=require(_0xc088('0x9'));var controller=require('./chatTransferReport.controller');router[_0xc088('0xa')]('/',auth[_0xc088('0xb')](),controller[_0xc088('0xc')]);router[_0xc088('0xa')]('/describe',auth[_0xc088('0xb')](),controller['describe']);router['get'](_0xc088('0xd'),auth[_0xc088('0xb')](),controller[_0xc088('0xe')]);router[_0xc088('0xf')]('/',auth[_0xc088('0xb')](),controller[_0xc088('0x10')]);router[_0xc088('0x11')](_0xc088('0xd'),auth['isAuthenticated'](),controller[_0xc088('0x12')]);router['delete'](_0xc088('0xd'),auth[_0xc088('0xb')](),controller[_0xc088('0x13')]);module['exports']=router;