Built motion from commit 013e4bb4.|2.6.18
[motion2.git] / server / api / chatQueueReport / 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 _0x37e7=['multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','get','index','/describe','isAuthenticated','/:id','show','put','update','exports'];(function(_0x126558,_0x143c9a){var _0x1f6d14=function(_0x2b0eea){while(--_0x2b0eea){_0x126558['push'](_0x126558['shift']());}};_0x1f6d14(++_0x143c9a);}(_0x37e7,0x110));var _0x737e=function(_0x3f4a1e,_0x297d58){_0x3f4a1e=_0x3f4a1e-0x0;var _0x2a0620=_0x37e7[_0x3f4a1e];return _0x2a0620;};'use strict';var multer=require(_0x737e('0x0'));var util=require(_0x737e('0x1'));var path=require(_0x737e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x737e('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x737e('0x4'));var interaction=require(_0x737e('0x5'));var config=require(_0x737e('0x6'));var controller=require(_0x737e('0x7'));router[_0x737e('0x8')]('/',auth['isAuthenticated'](),controller[_0x737e('0x9')]);router[_0x737e('0x8')](_0x737e('0xa'),auth[_0x737e('0xb')](),controller['describe']);router['get'](_0x737e('0xc'),auth[_0x737e('0xb')](),controller[_0x737e('0xd')]);router['post']('/',auth[_0x737e('0xb')](),controller['create']);router[_0x737e('0xe')](_0x737e('0xc'),auth['isAuthenticated'](),controller[_0x737e('0xf')]);router['delete'](_0x737e('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0x737e('0x10')]=router;