Built motion from commit (unavailable).|2.5.27
[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 _0x6afc=['../../components/interaction/service','../../config/environment','./voiceQueuesLog.controller','isAuthenticated','index','get','/:id','show','create','update','destroy','multer','path','express','Router','../../components/auth/service'];(function(_0x2eae6d,_0xd60dce){var _0x554c75=function(_0x19c92c){while(--_0x19c92c){_0x2eae6d['push'](_0x2eae6d['shift']());}};_0x554c75(++_0xd60dce);}(_0x6afc,0x16b));var _0xc6af=function(_0x24de29,_0xba28f3){_0x24de29=_0x24de29-0x0;var _0x560a81=_0x6afc[_0x24de29];return _0x560a81;};'use strict';var multer=require(_0xc6af('0x0'));var util=require('util');var path=require(_0xc6af('0x1'));var timeout=require('connect-timeout');var express=require(_0xc6af('0x2'));var router=express[_0xc6af('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xc6af('0x4'));var interaction=require(_0xc6af('0x5'));var config=require(_0xc6af('0x6'));var controller=require(_0xc6af('0x7'));router['get']('/',auth[_0xc6af('0x8')](),controller[_0xc6af('0x9')]);router[_0xc6af('0xa')](_0xc6af('0xb'),auth[_0xc6af('0x8')](),controller[_0xc6af('0xc')]);router['post']('/',auth[_0xc6af('0x8')](),controller[_0xc6af('0xd')]);router['put']('/:id',auth[_0xc6af('0x8')](),controller[_0xc6af('0xe')]);router['delete'](_0xc6af('0xb'),auth[_0xc6af('0x8')](),controller[_0xc6af('0xf')]);module['exports']=router;