Built motion from commit d1eab355.|2.6.28
[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 _0x5a81=['update','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./chatTransferReport.controller','index','isAuthenticated','get','/:id','show','post','create','put'];(function(_0x449a3a,_0x4a0312){var _0x343d86=function(_0x381a25){while(--_0x381a25){_0x449a3a['push'](_0x449a3a['shift']());}};_0x343d86(++_0x4a0312);}(_0x5a81,0x1cf));var _0x15a8=function(_0x3c05d5,_0x2bc685){_0x3c05d5=_0x3c05d5-0x0;var _0x4ffd0f=_0x5a81[_0x3c05d5];return _0x4ffd0f;};'use strict';var multer=require(_0x15a8('0x0'));var util=require(_0x15a8('0x1'));var path=require(_0x15a8('0x2'));var timeout=require('connect-timeout');var express=require(_0x15a8('0x3'));var router=express[_0x15a8('0x4')]();var fs_extra=require(_0x15a8('0x5'));var auth=require(_0x15a8('0x6'));var interaction=require(_0x15a8('0x7'));var config=require('../../config/environment');var controller=require(_0x15a8('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0x15a8('0x9')]);router['get']('/describe',auth[_0x15a8('0xa')](),controller['describe']);router[_0x15a8('0xb')](_0x15a8('0xc'),auth[_0x15a8('0xa')](),controller[_0x15a8('0xd')]);router[_0x15a8('0xe')]('/',auth[_0x15a8('0xa')](),controller[_0x15a8('0xf')]);router[_0x15a8('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x15a8('0x11')]);router['delete']('/:id',auth[_0x15a8('0xa')](),controller[_0x15a8('0x12')]);module[_0x15a8('0x13')]=router;