cb0e4bcf26efb2e6f68488f54db634687f2c5cda
[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 _0xda2f=['post','put','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./chatTransferReport.controller','get','isAuthenticated','index','describe','/:id','show'];(function(_0x558371,_0x1e87d1){var _0x477157=function(_0x5abbc5){while(--_0x5abbc5){_0x558371['push'](_0x558371['shift']());}};_0x477157(++_0x1e87d1);}(_0xda2f,0xdc));var _0xfda2=function(_0x2868cb,_0x3f8bd5){_0x2868cb=_0x2868cb-0x0;var _0x48fbf2=_0xda2f[_0x2868cb];return _0x48fbf2;};'use strict';var multer=require(_0xfda2('0x0'));var util=require('util');var path=require(_0xfda2('0x1'));var timeout=require(_0xfda2('0x2'));var express=require(_0xfda2('0x3'));var router=express[_0xfda2('0x4')]();var fs_extra=require(_0xfda2('0x5'));var auth=require(_0xfda2('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xfda2('0x7'));router[_0xfda2('0x8')]('/',auth[_0xfda2('0x9')](),controller[_0xfda2('0xa')]);router[_0xfda2('0x8')]('/describe',auth['isAuthenticated'](),controller[_0xfda2('0xb')]);router['get'](_0xfda2('0xc'),auth[_0xfda2('0x9')](),controller[_0xfda2('0xd')]);router[_0xfda2('0xe')]('/',auth[_0xfda2('0x9')](),controller['create']);router[_0xfda2('0xf')]('/:id',auth['isAuthenticated'](),controller['update']);router['delete'](_0xfda2('0xc'),auth[_0xfda2('0x9')](),controller[_0xfda2('0x10')]);module[_0xfda2('0x11')]=router;