696fe530af0247c84ec14f0922b4d42ff6dc12a4
[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 _0x452d=['index','/describe','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./chatTransferReport.controller','get'];(function(_0x1a428e,_0x10fd4){var _0x48f6f8=function(_0x4af645){while(--_0x4af645){_0x1a428e['push'](_0x1a428e['shift']());}};_0x48f6f8(++_0x10fd4);}(_0x452d,0xfe));var _0xd452=function(_0xb8107f,_0x380f83){_0xb8107f=_0xb8107f-0x0;var _0x5fef2f=_0x452d[_0xb8107f];return _0x5fef2f;};'use strict';var multer=require(_0xd452('0x0'));var util=require(_0xd452('0x1'));var path=require(_0xd452('0x2'));var timeout=require('connect-timeout');var express=require(_0xd452('0x3'));var router=express[_0xd452('0x4')]();var fs_extra=require(_0xd452('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xd452('0x6'));var config=require(_0xd452('0x7'));var controller=require(_0xd452('0x8'));router[_0xd452('0x9')]('/',auth['isAuthenticated'](),controller[_0xd452('0xa')]);router[_0xd452('0x9')](_0xd452('0xb'),auth[_0xd452('0xc')](),controller['describe']);router['get'](_0xd452('0xd'),auth[_0xd452('0xc')](),controller[_0xd452('0xe')]);router[_0xd452('0xf')]('/',auth[_0xd452('0xc')](),controller[_0xd452('0x10')]);router[_0xd452('0x11')](_0xd452('0xd'),auth[_0xd452('0xc')](),controller[_0xd452('0x12')]);router[_0xd452('0x13')](_0xd452('0xd'),auth[_0xd452('0xc')](),controller[_0xd452('0x14')]);module[_0xd452('0x15')]=router;