Built motion from commit (unavailable).|2.5.26
[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 _0xa340=['create','update','delete','exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','./openchannelQueueReport.controller','get','index','/describe','isAuthenticated','/:id','show','post'];(function(_0xb344db,_0x366644){var _0xbc04d9=function(_0xdf4e30){while(--_0xdf4e30){_0xb344db['push'](_0xb344db['shift']());}};_0xbc04d9(++_0x366644);}(_0xa340,0x1a2));var _0x0a34=function(_0x1b42d3,_0x373a21){_0x1b42d3=_0x1b42d3-0x0;var _0x409b46=_0xa340[_0x1b42d3];return _0x409b46;};'use strict';var multer=require(_0x0a34('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x0a34('0x1'));var express=require(_0x0a34('0x2'));var router=express[_0x0a34('0x3')]();var fs_extra=require(_0x0a34('0x4'));var auth=require(_0x0a34('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x0a34('0x6'));router[_0x0a34('0x7')]('/',auth['isAuthenticated'](),controller[_0x0a34('0x8')]);router[_0x0a34('0x7')](_0x0a34('0x9'),auth[_0x0a34('0xa')](),controller['describe']);router[_0x0a34('0x7')](_0x0a34('0xb'),auth[_0x0a34('0xa')](),controller[_0x0a34('0xc')]);router[_0x0a34('0xd')]('/',auth['isAuthenticated'](),controller[_0x0a34('0xe')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0x0a34('0xf')]);router[_0x0a34('0x10')]('/:id',auth[_0x0a34('0xa')](),controller['destroy']);module[_0x0a34('0x11')]=router;