Built motion from commit 43538d75.|2.5.35
[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 _0x2260=['../../components/interaction/service','./chatTransferReport.controller','index','get','describe','/:id','isAuthenticated','show','create','update','destroy','exports','multer','util','path','Router','../../components/auth/service'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x2260,0x1b5));var _0x0226=function(_0x13b02f,_0x462a53){_0x13b02f=_0x13b02f-0x0;var _0x12e9a6=_0x2260[_0x13b02f];return _0x12e9a6;};'use strict';var multer=require(_0x0226('0x0'));var util=require(_0x0226('0x1'));var path=require(_0x0226('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0226('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x0226('0x4'));var interaction=require(_0x0226('0x5'));var config=require('../../config/environment');var controller=require(_0x0226('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0x0226('0x7')]);router[_0x0226('0x8')]('/describe',auth['isAuthenticated'](),controller[_0x0226('0x9')]);router['get'](_0x0226('0xa'),auth[_0x0226('0xb')](),controller[_0x0226('0xc')]);router['post']('/',auth[_0x0226('0xb')](),controller[_0x0226('0xd')]);router['put']('/:id',auth[_0x0226('0xb')](),controller[_0x0226('0xe')]);router['delete'](_0x0226('0xa'),auth[_0x0226('0xb')](),controller[_0x0226('0xf')]);module[_0x0226('0x10')]=router;