ef7c6b274e894bf533acf118ca376c2a74fc23fb
[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 _0x4a29=['/:id','post','create','put','update','multer','util','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceQueuesLog.controller','get','isAuthenticated','index'];(function(_0x4733b6,_0x35291f){var _0x1c3f73=function(_0x442410){while(--_0x442410){_0x4733b6['push'](_0x4733b6['shift']());}};_0x1c3f73(++_0x35291f);}(_0x4a29,0xaf));var _0x94a2=function(_0x26e9d9,_0x158749){_0x26e9d9=_0x26e9d9-0x0;var _0x1bac13=_0x4a29[_0x26e9d9];return _0x1bac13;};'use strict';var multer=require(_0x94a2('0x0'));var util=require(_0x94a2('0x1'));var path=require('path');var timeout=require(_0x94a2('0x2'));var express=require(_0x94a2('0x3'));var router=express['Router']();var fs_extra=require(_0x94a2('0x4'));var auth=require(_0x94a2('0x5'));var interaction=require(_0x94a2('0x6'));var config=require(_0x94a2('0x7'));var controller=require(_0x94a2('0x8'));router[_0x94a2('0x9')]('/',auth[_0x94a2('0xa')](),controller[_0x94a2('0xb')]);router[_0x94a2('0x9')](_0x94a2('0xc'),auth['isAuthenticated'](),controller['show']);router[_0x94a2('0xd')]('/',auth['isAuthenticated'](),controller[_0x94a2('0xe')]);router[_0x94a2('0xf')](_0x94a2('0xc'),auth[_0x94a2('0xa')](),controller[_0x94a2('0x10')]);router['delete'](_0x94a2('0xc'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;