Built motion from commit 9d1906d1.|2.5.40
[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 _0x8de8=['destroy','exports','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatTransferReport.controller','isAuthenticated','get','describe','/:id','post','create','put','update','delete'];(function(_0x581e01,_0x241cbd){var _0x558b54=function(_0x22a370){while(--_0x22a370){_0x581e01['push'](_0x581e01['shift']());}};_0x558b54(++_0x241cbd);}(_0x8de8,0x7a));var _0x88de=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x8de8[_0x14add3];return _0x4a174f;};'use strict';var multer=require('multer');var util=require(_0x88de('0x0'));var path=require(_0x88de('0x1'));var timeout=require('connect-timeout');var express=require(_0x88de('0x2'));var router=express[_0x88de('0x3')]();var fs_extra=require(_0x88de('0x4'));var auth=require(_0x88de('0x5'));var interaction=require(_0x88de('0x6'));var config=require(_0x88de('0x7'));var controller=require(_0x88de('0x8'));router['get']('/',auth[_0x88de('0x9')](),controller['index']);router[_0x88de('0xa')]('/describe',auth[_0x88de('0x9')](),controller[_0x88de('0xb')]);router[_0x88de('0xa')](_0x88de('0xc'),auth[_0x88de('0x9')](),controller['show']);router[_0x88de('0xd')]('/',auth[_0x88de('0x9')](),controller[_0x88de('0xe')]);router[_0x88de('0xf')](_0x88de('0xc'),auth[_0x88de('0x9')](),controller[_0x88de('0x10')]);router[_0x88de('0x11')](_0x88de('0xc'),auth[_0x88de('0x9')](),controller[_0x88de('0x12')]);module[_0x88de('0x13')]=router;