Built motion from commit 9d0783e6.|2.6.13
[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 _0x891e=['get','isAuthenticated','index','/describe','show','post','create','put','/:id','update','delete','destroy','exports','multer','util','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatTransferReport.controller'];(function(_0x8854f2,_0x79542c){var _0x38505d=function(_0x5af02b){while(--_0x5af02b){_0x8854f2['push'](_0x8854f2['shift']());}};_0x38505d(++_0x79542c);}(_0x891e,0xff));var _0xe891=function(_0x575a31,_0x56336f){_0x575a31=_0x575a31-0x0;var _0x5d7dad=_0x891e[_0x575a31];return _0x5d7dad;};'use strict';var multer=require(_0xe891('0x0'));var util=require(_0xe891('0x1'));var path=require(_0xe891('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xe891('0x3')]();var fs_extra=require(_0xe891('0x4'));var auth=require(_0xe891('0x5'));var interaction=require(_0xe891('0x6'));var config=require(_0xe891('0x7'));var controller=require(_0xe891('0x8'));router[_0xe891('0x9')]('/',auth[_0xe891('0xa')](),controller[_0xe891('0xb')]);router[_0xe891('0x9')](_0xe891('0xc'),auth['isAuthenticated'](),controller['describe']);router[_0xe891('0x9')]('/:id',auth[_0xe891('0xa')](),controller[_0xe891('0xd')]);router[_0xe891('0xe')]('/',auth[_0xe891('0xa')](),controller[_0xe891('0xf')]);router[_0xe891('0x10')](_0xe891('0x11'),auth[_0xe891('0xa')](),controller[_0xe891('0x12')]);router[_0xe891('0x13')]('/:id',auth['isAuthenticated'](),controller[_0xe891('0x14')]);module[_0xe891('0x15')]=router;