Built motion from commit 9d1906d1.|2.5.40
[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 _0xdf46=['show','post','create','delete','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./voiceQueuesLog.controller','get','isAuthenticated','index','/:id'];(function(_0x497a16,_0x58d3cd){var _0x230d4=function(_0x258a64){while(--_0x258a64){_0x497a16['push'](_0x497a16['shift']());}};_0x230d4(++_0x58d3cd);}(_0xdf46,0x16f));var _0x6df4=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0xdf46[_0x17d9e3];return _0x14192d;};'use strict';var multer=require(_0x6df4('0x0'));var util=require(_0x6df4('0x1'));var path=require(_0x6df4('0x2'));var timeout=require(_0x6df4('0x3'));var express=require('express');var router=express[_0x6df4('0x4')]();var fs_extra=require(_0x6df4('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x6df4('0x6'));var config=require(_0x6df4('0x7'));var controller=require(_0x6df4('0x8'));router[_0x6df4('0x9')]('/',auth[_0x6df4('0xa')](),controller[_0x6df4('0xb')]);router[_0x6df4('0x9')](_0x6df4('0xc'),auth['isAuthenticated'](),controller[_0x6df4('0xd')]);router[_0x6df4('0xe')]('/',auth[_0x6df4('0xa')](),controller[_0x6df4('0xf')]);router['put'](_0x6df4('0xc'),auth[_0x6df4('0xa')](),controller['update']);router[_0x6df4('0x10')](_0x6df4('0xc'),auth[_0x6df4('0xa')](),controller[_0x6df4('0x11')]);module[_0x6df4('0x12')]=router;