Built motion from commit 449495f6.|2.6.27
[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 _0x503a=['post','create','put','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','isAuthenticated','index','/describe','describe','/:id','show'];(function(_0x2f92e7,_0x572d0b){var _0x554de2=function(_0x1f33c4){while(--_0x1f33c4){_0x2f92e7['push'](_0x2f92e7['shift']());}};_0x554de2(++_0x572d0b);}(_0x503a,0xd6));var _0xa503=function(_0x44b3bd,_0x44c97d){_0x44b3bd=_0x44b3bd-0x0;var _0x1efc4a=_0x503a[_0x44b3bd];return _0x1efc4a;};'use strict';var multer=require(_0xa503('0x0'));var util=require(_0xa503('0x1'));var path=require(_0xa503('0x2'));var timeout=require(_0xa503('0x3'));var express=require(_0xa503('0x4'));var router=express[_0xa503('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xa503('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xa503('0x7'));var controller=require('./chatQueueReport.controller');router['get']('/',auth[_0xa503('0x8')](),controller[_0xa503('0x9')]);router['get'](_0xa503('0xa'),auth[_0xa503('0x8')](),controller[_0xa503('0xb')]);router['get'](_0xa503('0xc'),auth[_0xa503('0x8')](),controller[_0xa503('0xd')]);router[_0xa503('0xe')]('/',auth[_0xa503('0x8')](),controller[_0xa503('0xf')]);router[_0xa503('0x10')](_0xa503('0xc'),auth['isAuthenticated'](),controller['update']);router['delete'](_0xa503('0xc'),auth[_0xa503('0x8')](),controller[_0xa503('0x11')]);module[_0xa503('0x12')]=router;