75efb3a10908b5eb7554203cdbf859cb6b5752ea
[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 _0x12be=['describe','/:id','show','post','create','put','update','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','get','index','/describe','isAuthenticated'];(function(_0x2b9b7f,_0x4d47df){var _0x4ed19a=function(_0x72b5ff){while(--_0x72b5ff){_0x2b9b7f['push'](_0x2b9b7f['shift']());}};_0x4ed19a(++_0x4d47df);}(_0x12be,0x8c));var _0xe12b=function(_0x172660,_0x260d9b){_0x172660=_0x172660-0x0;var _0x83204f=_0x12be[_0x172660];return _0x83204f;};'use strict';var multer=require(_0xe12b('0x0'));var util=require(_0xe12b('0x1'));var path=require(_0xe12b('0x2'));var timeout=require(_0xe12b('0x3'));var express=require(_0xe12b('0x4'));var router=express[_0xe12b('0x5')]();var auth=require(_0xe12b('0x6'));var interaction=require(_0xe12b('0x7'));var config=require(_0xe12b('0x8'));var controller=require(_0xe12b('0x9'));router[_0xe12b('0xa')]('/',auth['isAuthenticated'](),controller[_0xe12b('0xb')]);router['get'](_0xe12b('0xc'),auth[_0xe12b('0xd')](),controller[_0xe12b('0xe')]);router[_0xe12b('0xa')](_0xe12b('0xf'),auth[_0xe12b('0xd')](),controller[_0xe12b('0x10')]);router[_0xe12b('0x11')]('/',auth[_0xe12b('0xd')](),controller[_0xe12b('0x12')]);router[_0xe12b('0x13')](_0xe12b('0xf'),auth[_0xe12b('0xd')](),controller[_0xe12b('0x14')]);router['delete'](_0xe12b('0xf'),auth['isAuthenticated'](),controller[_0xe12b('0x15')]);module['exports']=router;