d91f9706a395d1467082f8d2164571d1e1f4269e
[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 _0x5543=['fs-extra','../../config/environment','./chatTransferReport.controller','get','index','/describe','isAuthenticated','describe','post','create','put','/:id','update','delete','destroy','multer','util','path','connect-timeout'];(function(_0x52d18d,_0x2bdf0d){var _0x3fada0=function(_0x223b8c){while(--_0x223b8c){_0x52d18d['push'](_0x52d18d['shift']());}};_0x3fada0(++_0x2bdf0d);}(_0x5543,0x119));var _0x3554=function(_0x79cd47,_0x16102d){_0x79cd47=_0x79cd47-0x0;var _0x3b9484=_0x5543[_0x79cd47];return _0x3b9484;};'use strict';var multer=require(_0x3554('0x0'));var util=require(_0x3554('0x1'));var path=require(_0x3554('0x2'));var timeout=require(_0x3554('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x3554('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x3554('0x5'));var controller=require(_0x3554('0x6'));router[_0x3554('0x7')]('/',auth['isAuthenticated'](),controller[_0x3554('0x8')]);router[_0x3554('0x7')](_0x3554('0x9'),auth[_0x3554('0xa')](),controller[_0x3554('0xb')]);router[_0x3554('0x7')]('/:id',auth[_0x3554('0xa')](),controller['show']);router[_0x3554('0xc')]('/',auth[_0x3554('0xa')](),controller[_0x3554('0xd')]);router[_0x3554('0xe')](_0x3554('0xf'),auth[_0x3554('0xa')](),controller[_0x3554('0x10')]);router[_0x3554('0x11')]('/:id',auth[_0x3554('0xa')](),controller[_0x3554('0x12')]);module['exports']=router;