Built motion from commit (unavailable).|2.5.2
[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 _0x0dff=['connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./openchannelQueueReport.controller','get','isAuthenticated','describe','/:id','show','post','create','put','update','delete','destroy','exports'];(function(_0x15c3cc,_0x3d4173){var _0x6e211a=function(_0x314245){while(--_0x314245){_0x15c3cc['push'](_0x15c3cc['shift']());}};_0x6e211a(++_0x3d4173);}(_0x0dff,0x154));var _0xf0df=function(_0x3516a0,_0x5eae31){_0x3516a0=_0x3516a0-0x0;var _0x486af5=_0x0dff[_0x3516a0];return _0x486af5;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xf0df('0x0'));var express=require('express');var router=express[_0xf0df('0x1')]();var auth=require(_0xf0df('0x2'));var interaction=require(_0xf0df('0x3'));var config=require('../../config/environment');var controller=require(_0xf0df('0x4'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0xf0df('0x5')]('/describe',auth[_0xf0df('0x6')](),controller[_0xf0df('0x7')]);router['get'](_0xf0df('0x8'),auth[_0xf0df('0x6')](),controller[_0xf0df('0x9')]);router[_0xf0df('0xa')]('/',auth[_0xf0df('0x6')](),controller[_0xf0df('0xb')]);router[_0xf0df('0xc')](_0xf0df('0x8'),auth['isAuthenticated'](),controller[_0xf0df('0xd')]);router[_0xf0df('0xe')](_0xf0df('0x8'),auth['isAuthenticated'](),controller[_0xf0df('0xf')]);module[_0xf0df('0x10')]=router;