Built motion from commit 449495f6.|2.6.27
[motion2.git] / server / api / voiceQueueReport / 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 _0xc58b=['update','delete','destroy','exports','multer','util','express','Router','../../components/interaction/service','../../config/environment','./voiceQueueReport.controller','get','isAuthenticated','index','describe','/index','getVoiceQueuesReport','/:id','show'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xc58b,0x1df));var _0xbc58=function(_0x1cee6a,_0x2f6a18){_0x1cee6a=_0x1cee6a-0x0;var _0x37c39e=_0xc58b[_0x1cee6a];return _0x37c39e;};'use strict';var multer=require(_0xbc58('0x0'));var util=require(_0xbc58('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xbc58('0x2'));var router=express[_0xbc58('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xbc58('0x4'));var config=require(_0xbc58('0x5'));var controller=require(_0xbc58('0x6'));router[_0xbc58('0x7')]('/',auth[_0xbc58('0x8')](),controller[_0xbc58('0x9')]);router['get']('/describe',auth['isAuthenticated'](),controller[_0xbc58('0xa')]);router[_0xbc58('0x7')](_0xbc58('0xb'),auth[_0xbc58('0x8')](),controller[_0xbc58('0xc')]);router[_0xbc58('0x7')](_0xbc58('0xd'),auth[_0xbc58('0x8')](),controller[_0xbc58('0xe')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router['put']('/:id',auth[_0xbc58('0x8')](),controller[_0xbc58('0xf')]);router[_0xbc58('0x10')](_0xbc58('0xd'),auth['isAuthenticated'](),controller[_0xbc58('0x11')]);module[_0xbc58('0x12')]=router;