c2324f04f8f6cab723678cfac27828f88d7f9e3a
[motion2.git] / server / api / voiceQueuesLog / 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 _0x3b18=['isAuthenticated','show','post','create','put','update','delete','destroy','exports','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./voiceQueuesLog.controller','get','/:id'];(function(_0x32b542,_0x4512fa){var _0x554d54=function(_0x35cdfc){while(--_0x35cdfc){_0x32b542['push'](_0x32b542['shift']());}};_0x554d54(++_0x4512fa);}(_0x3b18,0x1d4));var _0x83b1=function(_0x3de5f0,_0x7a560b){_0x3de5f0=_0x3de5f0-0x0;var _0x31a522=_0x3b18[_0x3de5f0];return _0x31a522;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x83b1('0x0'));var express=require(_0x83b1('0x1'));var router=express[_0x83b1('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x83b1('0x3'));var interaction=require(_0x83b1('0x4'));var config=require('../../config/environment');var controller=require(_0x83b1('0x5'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x83b1('0x6')](_0x83b1('0x7'),auth[_0x83b1('0x8')](),controller[_0x83b1('0x9')]);router[_0x83b1('0xa')]('/',auth[_0x83b1('0x8')](),controller[_0x83b1('0xb')]);router[_0x83b1('0xc')](_0x83b1('0x7'),auth[_0x83b1('0x8')](),controller[_0x83b1('0xd')]);router[_0x83b1('0xe')]('/:id',auth[_0x83b1('0x8')](),controller[_0x83b1('0xf')]);module[_0x83b1('0x10')]=router;