Built motion from commit (unavailable).|2.5.15
[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 _0x9c2b=['isAuthenticated','show','post','/:id','update','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./openchannelQueueReport.controller','index','get','/describe'];(function(_0x5687f9,_0x3fd6fc){var _0x4b14d0=function(_0x317c74){while(--_0x317c74){_0x5687f9['push'](_0x5687f9['shift']());}};_0x4b14d0(++_0x3fd6fc);}(_0x9c2b,0x1e2));var _0xb9c2=function(_0x25e7cb,_0x3579b7){_0x25e7cb=_0x25e7cb-0x0;var _0x375d92=_0x9c2b[_0x25e7cb];return _0x375d92;};'use strict';var multer=require(_0xb9c2('0x0'));var util=require(_0xb9c2('0x1'));var path=require(_0xb9c2('0x2'));var timeout=require(_0xb9c2('0x3'));var express=require(_0xb9c2('0x4'));var router=express[_0xb9c2('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xb9c2('0x6'));var config=require(_0xb9c2('0x7'));var controller=require(_0xb9c2('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0xb9c2('0x9')]);router[_0xb9c2('0xa')](_0xb9c2('0xb'),auth[_0xb9c2('0xc')](),controller['describe']);router[_0xb9c2('0xa')]('/:id',auth[_0xb9c2('0xc')](),controller[_0xb9c2('0xd')]);router[_0xb9c2('0xe')]('/',auth[_0xb9c2('0xc')](),controller['create']);router['put'](_0xb9c2('0xf'),auth[_0xb9c2('0xc')](),controller[_0xb9c2('0x10')]);router[_0xb9c2('0x11')](_0xb9c2('0xf'),auth[_0xb9c2('0xc')](),controller[_0xb9c2('0x12')]);module['exports']=router;