Built motion from commit 449495f6.|2.6.27
[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 _0xea25=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./chatTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','put','update','delete','destroy','util'];(function(_0xd2e2ab,_0x2440cf){var _0x1703a2=function(_0x23deba){while(--_0x23deba){_0xd2e2ab['push'](_0xd2e2ab['shift']());}};_0x1703a2(++_0x2440cf);}(_0xea25,0xc7));var _0x5ea2=function(_0x40bab2,_0x179993){_0x40bab2=_0x40bab2-0x0;var _0x101246=_0xea25[_0x40bab2];return _0x101246;};'use strict';var multer=require('multer');var util=require(_0x5ea2('0x0'));var path=require(_0x5ea2('0x1'));var timeout=require(_0x5ea2('0x2'));var express=require(_0x5ea2('0x3'));var router=express[_0x5ea2('0x4')]();var fs_extra=require(_0x5ea2('0x5'));var auth=require(_0x5ea2('0x6'));var interaction=require(_0x5ea2('0x7'));var config=require('../../config/environment');var controller=require(_0x5ea2('0x8'));router[_0x5ea2('0x9')]('/',auth[_0x5ea2('0xa')](),controller[_0x5ea2('0xb')]);router[_0x5ea2('0x9')](_0x5ea2('0xc'),auth[_0x5ea2('0xa')](),controller[_0x5ea2('0xd')]);router[_0x5ea2('0x9')](_0x5ea2('0xe'),auth['isAuthenticated'](),controller[_0x5ea2('0xf')]);router['post']('/',auth[_0x5ea2('0xa')](),controller['create']);router[_0x5ea2('0x10')](_0x5ea2('0xe'),auth[_0x5ea2('0xa')](),controller[_0x5ea2('0x11')]);router[_0x5ea2('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x5ea2('0x13')]);module['exports']=router;