99593ef7c2fc936e5aed61bdd92a2478dd90a674
[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 _0x4a58=['post','create','put','update','delete','destroy','util','path','connect-timeout','express','Router','../../config/environment','./chatQueueReport.controller','get','isAuthenticated','index','/:id','show'];(function(_0xc7679b,_0x2511a2){var _0x4e8f0b=function(_0x166401){while(--_0x166401){_0xc7679b['push'](_0xc7679b['shift']());}};_0x4e8f0b(++_0x2511a2);}(_0x4a58,0x72));var _0x84a5=function(_0x2e69fb,_0x4359e3){_0x2e69fb=_0x2e69fb-0x0;var _0x4d2404=_0x4a58[_0x2e69fb];return _0x4d2404;};'use strict';var multer=require('multer');var util=require(_0x84a5('0x0'));var path=require(_0x84a5('0x1'));var timeout=require(_0x84a5('0x2'));var express=require(_0x84a5('0x3'));var router=express[_0x84a5('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x84a5('0x5'));var controller=require(_0x84a5('0x6'));router[_0x84a5('0x7')]('/',auth[_0x84a5('0x8')](),controller[_0x84a5('0x9')]);router['get']('/describe',auth[_0x84a5('0x8')](),controller['describe']);router[_0x84a5('0x7')](_0x84a5('0xa'),auth['isAuthenticated'](),controller[_0x84a5('0xb')]);router[_0x84a5('0xc')]('/',auth['isAuthenticated'](),controller[_0x84a5('0xd')]);router[_0x84a5('0xe')](_0x84a5('0xa'),auth[_0x84a5('0x8')](),controller[_0x84a5('0xf')]);router[_0x84a5('0x10')](_0x84a5('0xa'),auth[_0x84a5('0x8')](),controller[_0x84a5('0x11')]);module['exports']=router;