Built motion from commit (unavailable).|2.5.16
[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 _0x82e5=['destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./openchannelQueueReport.controller','get','isAuthenticated','index','/describe','describe','show','post','create','put','/:id','delete'];(function(_0x46a1af,_0x1fc9e0){var _0x53035c=function(_0x44adf8){while(--_0x44adf8){_0x46a1af['push'](_0x46a1af['shift']());}};_0x53035c(++_0x1fc9e0);}(_0x82e5,0x190));var _0x582e=function(_0xc6be3a,_0x540e05){_0xc6be3a=_0xc6be3a-0x0;var _0x56a310=_0x82e5[_0xc6be3a];return _0x56a310;};'use strict';var multer=require(_0x582e('0x0'));var util=require(_0x582e('0x1'));var path=require(_0x582e('0x2'));var timeout=require(_0x582e('0x3'));var express=require(_0x582e('0x4'));var router=express[_0x582e('0x5')]();var auth=require(_0x582e('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x582e('0x7'));var controller=require(_0x582e('0x8'));router[_0x582e('0x9')]('/',auth[_0x582e('0xa')](),controller[_0x582e('0xb')]);router[_0x582e('0x9')](_0x582e('0xc'),auth[_0x582e('0xa')](),controller[_0x582e('0xd')]);router[_0x582e('0x9')]('/:id',auth[_0x582e('0xa')](),controller[_0x582e('0xe')]);router[_0x582e('0xf')]('/',auth[_0x582e('0xa')](),controller[_0x582e('0x10')]);router[_0x582e('0x11')](_0x582e('0x12'),auth['isAuthenticated'](),controller['update']);router[_0x582e('0x13')]('/:id',auth[_0x582e('0xa')](),controller[_0x582e('0x14')]);module['exports']=router;