47370a74e682ae75d8f2eeb61edb02a5fcef4212
[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 _0x893d=['update','delete','destroy','exports','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceQueuesLog.controller','get','isAuthenticated','index','/:id','show','post','create','put'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x893d,0x180));var _0xd893=function(_0x35aecf,_0xe3784d){_0x35aecf=_0x35aecf-0x0;var _0x2562c8=_0x893d[_0x35aecf];return _0x2562c8;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xd893('0x0'));var express=require(_0xd893('0x1'));var router=express[_0xd893('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0xd893('0x3'));var interaction=require(_0xd893('0x4'));var config=require(_0xd893('0x5'));var controller=require(_0xd893('0x6'));router[_0xd893('0x7')]('/',auth[_0xd893('0x8')](),controller[_0xd893('0x9')]);router[_0xd893('0x7')](_0xd893('0xa'),auth['isAuthenticated'](),controller[_0xd893('0xb')]);router[_0xd893('0xc')]('/',auth[_0xd893('0x8')](),controller[_0xd893('0xd')]);router[_0xd893('0xe')]('/:id',auth['isAuthenticated'](),controller[_0xd893('0xf')]);router[_0xd893('0x10')](_0xd893('0xa'),auth[_0xd893('0x8')](),controller[_0xd893('0x11')]);module[_0xd893('0x12')]=router;