Built motion from commit b58257bb.|2.5.37
[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 _0x6f5c=['./openchannelQueueReport.controller','get','isAuthenticated','index','post','create','/:id','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment'];(function(_0x5d6008,_0xd5985){var _0x308e0d=function(_0x11499a){while(--_0x11499a){_0x5d6008['push'](_0x5d6008['shift']());}};_0x308e0d(++_0xd5985);}(_0x6f5c,0x199));var _0xc6f5=function(_0x54c00e,_0x5bebe2){_0x54c00e=_0x54c00e-0x0;var _0x3dd1ad=_0x6f5c[_0x54c00e];return _0x3dd1ad;};'use strict';var multer=require(_0xc6f5('0x0'));var util=require(_0xc6f5('0x1'));var path=require(_0xc6f5('0x2'));var timeout=require(_0xc6f5('0x3'));var express=require(_0xc6f5('0x4'));var router=express[_0xc6f5('0x5')]();var fs_extra=require(_0xc6f5('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xc6f5('0x7'));var config=require(_0xc6f5('0x8'));var controller=require(_0xc6f5('0x9'));router[_0xc6f5('0xa')]('/',auth[_0xc6f5('0xb')](),controller[_0xc6f5('0xc')]);router[_0xc6f5('0xa')]('/describe',auth[_0xc6f5('0xb')](),controller['describe']);router['get']('/:id',auth[_0xc6f5('0xb')](),controller['show']);router[_0xc6f5('0xd')]('/',auth[_0xc6f5('0xb')](),controller[_0xc6f5('0xe')]);router['put'](_0xc6f5('0xf'),auth[_0xc6f5('0xb')](),controller['update']);router[_0xc6f5('0x10')](_0xc6f5('0xf'),auth[_0xc6f5('0xb')](),controller[_0xc6f5('0x11')]);module[_0xc6f5('0x12')]=router;