Built motion from commit 19a84241.|2.5.34
[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 _0x4932=['./chatTransferReport.controller','get','isAuthenticated','index','/describe','describe','show','post','create','put','update','delete','/:id','destroy','multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment'];(function(_0x5b7a83,_0x37f3b1){var _0x1dec84=function(_0x58d9cf){while(--_0x58d9cf){_0x5b7a83['push'](_0x5b7a83['shift']());}};_0x1dec84(++_0x37f3b1);}(_0x4932,0xa1));var _0x2493=function(_0x1a536e,_0x50ebe7){_0x1a536e=_0x1a536e-0x0;var _0x1e86d4=_0x4932[_0x1a536e];return _0x1e86d4;};'use strict';var multer=require(_0x2493('0x0'));var util=require(_0x2493('0x1'));var path=require(_0x2493('0x2'));var timeout=require(_0x2493('0x3'));var express=require(_0x2493('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x2493('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x2493('0x6'));var controller=require(_0x2493('0x7'));router[_0x2493('0x8')]('/',auth[_0x2493('0x9')](),controller[_0x2493('0xa')]);router['get'](_0x2493('0xb'),auth['isAuthenticated'](),controller[_0x2493('0xc')]);router['get']('/:id',auth[_0x2493('0x9')](),controller[_0x2493('0xd')]);router[_0x2493('0xe')]('/',auth[_0x2493('0x9')](),controller[_0x2493('0xf')]);router[_0x2493('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x2493('0x11')]);router[_0x2493('0x12')](_0x2493('0x13'),auth[_0x2493('0x9')](),controller[_0x2493('0x14')]);module['exports']=router;