62643e0f8f865140af75680dcdd43e015ace7fcb
[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 _0x9bf8=['exports','multer','util','path','connect-timeout','fs-extra','../../components/auth/service','../../config/environment','get','index','/describe','describe','/:id','isAuthenticated','show','post','create','put','update','delete','destroy'];(function(_0x1158d5,_0x4e7ee8){var _0x3e9d61=function(_0x182cc7){while(--_0x182cc7){_0x1158d5['push'](_0x1158d5['shift']());}};_0x3e9d61(++_0x4e7ee8);}(_0x9bf8,0x7f));var _0x89bf=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0x9bf8[_0x2c91e9];return _0x13f0ff;};'use strict';var multer=require(_0x89bf('0x0'));var util=require(_0x89bf('0x1'));var path=require(_0x89bf('0x2'));var timeout=require(_0x89bf('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x89bf('0x4'));var auth=require(_0x89bf('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x89bf('0x6'));var controller=require('./chatTransferReport.controller');router[_0x89bf('0x7')]('/',auth['isAuthenticated'](),controller[_0x89bf('0x8')]);router[_0x89bf('0x7')](_0x89bf('0x9'),auth['isAuthenticated'](),controller[_0x89bf('0xa')]);router[_0x89bf('0x7')](_0x89bf('0xb'),auth[_0x89bf('0xc')](),controller[_0x89bf('0xd')]);router[_0x89bf('0xe')]('/',auth[_0x89bf('0xc')](),controller[_0x89bf('0xf')]);router[_0x89bf('0x10')](_0x89bf('0xb'),auth[_0x89bf('0xc')](),controller[_0x89bf('0x11')]);router[_0x89bf('0x12')](_0x89bf('0xb'),auth[_0x89bf('0xc')](),controller[_0x89bf('0x13')]);module[_0x89bf('0x14')]=router;