Built motion from commit 25580385.|2.6.2
[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 _0x69a6=['describe','/:id','post','create','put','delete','destroy','exports','multer','util','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./chatTransferReport.controller','get','isAuthenticated','index'];(function(_0x7df55d,_0x373a9d){var _0x4790cc=function(_0x10f39a){while(--_0x10f39a){_0x7df55d['push'](_0x7df55d['shift']());}};_0x4790cc(++_0x373a9d);}(_0x69a6,0x15e));var _0x669a=function(_0xd42196,_0x525a06){_0xd42196=_0xd42196-0x0;var _0x234e57=_0x69a6[_0xd42196];return _0x234e57;};'use strict';var multer=require(_0x669a('0x0'));var util=require(_0x669a('0x1'));var path=require('path');var timeout=require(_0x669a('0x2'));var express=require('express');var router=express[_0x669a('0x3')]();var fs_extra=require(_0x669a('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x669a('0x5'));var config=require(_0x669a('0x6'));var controller=require(_0x669a('0x7'));router[_0x669a('0x8')]('/',auth[_0x669a('0x9')](),controller[_0x669a('0xa')]);router['get']('/describe',auth[_0x669a('0x9')](),controller[_0x669a('0xb')]);router[_0x669a('0x8')](_0x669a('0xc'),auth[_0x669a('0x9')](),controller['show']);router[_0x669a('0xd')]('/',auth[_0x669a('0x9')](),controller[_0x669a('0xe')]);router[_0x669a('0xf')](_0x669a('0xc'),auth['isAuthenticated'](),controller['update']);router[_0x669a('0x10')]('/:id',auth[_0x669a('0x9')](),controller[_0x669a('0x11')]);module[_0x669a('0x12')]=router;