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