389e7ba8c9917adcfb8a91f906150e5bda0ebc14
[motion2.git] / server / api / chatQueueReport / 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 _0xc6bb=['../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','get','isAuthenticated','/describe','describe','/:id','show','post','create','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra'];(function(_0x5ad771,_0x34186f){var _0x5b5dce=function(_0x5ad0fb){while(--_0x5ad0fb){_0x5ad771['push'](_0x5ad771['shift']());}};_0x5b5dce(++_0x34186f);}(_0xc6bb,0x102));var _0xbc6b=function(_0xbeb3df,_0x38c760){_0xbeb3df=_0xbeb3df-0x0;var _0x21a83c=_0xc6bb[_0xbeb3df];return _0x21a83c;};'use strict';var multer=require(_0xbc6b('0x0'));var util=require(_0xbc6b('0x1'));var path=require(_0xbc6b('0x2'));var timeout=require('connect-timeout');var express=require(_0xbc6b('0x3'));var router=express[_0xbc6b('0x4')]();var fs_extra=require(_0xbc6b('0x5'));var auth=require(_0xbc6b('0x6'));var interaction=require(_0xbc6b('0x7'));var config=require(_0xbc6b('0x8'));var controller=require(_0xbc6b('0x9'));router[_0xbc6b('0xa')]('/',auth[_0xbc6b('0xb')](),controller['index']);router[_0xbc6b('0xa')](_0xbc6b('0xc'),auth['isAuthenticated'](),controller[_0xbc6b('0xd')]);router[_0xbc6b('0xa')](_0xbc6b('0xe'),auth['isAuthenticated'](),controller[_0xbc6b('0xf')]);router[_0xbc6b('0x10')]('/',auth[_0xbc6b('0xb')](),controller[_0xbc6b('0x11')]);router['put'](_0xbc6b('0xe'),auth[_0xbc6b('0xb')](),controller[_0xbc6b('0x12')]);router[_0xbc6b('0x13')]('/:id',auth['isAuthenticated'](),controller[_0xbc6b('0x14')]);module[_0xbc6b('0x15')]=router;