f41b1ac12cb7fc7442720d80674f87ccb54ee402
[motion2.git] / server / api / openchannelQueueReport / 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 _0xaf7b=['util','path','express','Router','../../components/auth/service','./openchannelQueueReport.controller','get','isAuthenticated','index','post','put','/:id','update','delete','exports','multer'];(function(_0x14fa6f,_0x4a7797){var _0x48ec7a=function(_0x23a79e){while(--_0x23a79e){_0x14fa6f['push'](_0x14fa6f['shift']());}};_0x48ec7a(++_0x4a7797);}(_0xaf7b,0x15f));var _0xbaf7=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xaf7b[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0xbaf7('0x0'));var util=require(_0xbaf7('0x1'));var path=require(_0xbaf7('0x2'));var timeout=require('connect-timeout');var express=require(_0xbaf7('0x3'));var router=express[_0xbaf7('0x4')]();var auth=require(_0xbaf7('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xbaf7('0x6'));router[_0xbaf7('0x7')]('/',auth[_0xbaf7('0x8')](),controller[_0xbaf7('0x9')]);router['get']('/describe',auth[_0xbaf7('0x8')](),controller['describe']);router[_0xbaf7('0x7')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0xbaf7('0xa')]('/',auth[_0xbaf7('0x8')](),controller['create']);router[_0xbaf7('0xb')](_0xbaf7('0xc'),auth[_0xbaf7('0x8')](),controller[_0xbaf7('0xd')]);router[_0xbaf7('0xe')](_0xbaf7('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0xbaf7('0xf')]=router;