Built motion from commit (unavailable).|2.5.30
[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 _0xca10=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatTransferReport.controller','get','isAuthenticated','/describe','/:id','show','post','create','delete','destroy','exports','util','path'];(function(_0x187ee1,_0x3fd1e6){var _0x388160=function(_0x542dd2){while(--_0x542dd2){_0x187ee1['push'](_0x187ee1['shift']());}};_0x388160(++_0x3fd1e6);}(_0xca10,0x76));var _0x0ca1=function(_0x5f3819,_0x5a824e){_0x5f3819=_0x5f3819-0x0;var _0x2f6253=_0xca10[_0x5f3819];return _0x2f6253;};'use strict';var multer=require('multer');var util=require(_0x0ca1('0x0'));var path=require(_0x0ca1('0x1'));var timeout=require(_0x0ca1('0x2'));var express=require(_0x0ca1('0x3'));var router=express[_0x0ca1('0x4')]();var fs_extra=require(_0x0ca1('0x5'));var auth=require(_0x0ca1('0x6'));var interaction=require(_0x0ca1('0x7'));var config=require(_0x0ca1('0x8'));var controller=require(_0x0ca1('0x9'));router[_0x0ca1('0xa')]('/',auth[_0x0ca1('0xb')](),controller['index']);router[_0x0ca1('0xa')](_0x0ca1('0xc'),auth[_0x0ca1('0xb')](),controller['describe']);router['get'](_0x0ca1('0xd'),auth[_0x0ca1('0xb')](),controller[_0x0ca1('0xe')]);router[_0x0ca1('0xf')]('/',auth['isAuthenticated'](),controller[_0x0ca1('0x10')]);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0x0ca1('0x11')](_0x0ca1('0xd'),auth[_0x0ca1('0xb')](),controller[_0x0ca1('0x12')]);module[_0x0ca1('0x13')]=router;