Built motion from commit dbf3a7e2.|2.6.30
[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 _0xcff2=['/:id','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','./voiceQueuesLog.controller','get','isAuthenticated','index','show','post','create','put'];(function(_0x260f28,_0x4e9b30){var _0x3aefcc=function(_0x223b18){while(--_0x223b18){_0x260f28['push'](_0x260f28['shift']());}};_0x3aefcc(++_0x4e9b30);}(_0xcff2,0x68));var _0x2cff=function(_0x531e48,_0x4bb96b){_0x531e48=_0x531e48-0x0;var _0x202971=_0xcff2[_0x531e48];return _0x202971;};'use strict';var multer=require(_0x2cff('0x0'));var util=require(_0x2cff('0x1'));var path=require(_0x2cff('0x2'));var timeout=require(_0x2cff('0x3'));var express=require(_0x2cff('0x4'));var router=express[_0x2cff('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x2cff('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x2cff('0x7'));router[_0x2cff('0x8')]('/',auth[_0x2cff('0x9')](),controller[_0x2cff('0xa')]);router[_0x2cff('0x8')]('/:id',auth[_0x2cff('0x9')](),controller[_0x2cff('0xb')]);router[_0x2cff('0xc')]('/',auth[_0x2cff('0x9')](),controller[_0x2cff('0xd')]);router[_0x2cff('0xe')](_0x2cff('0xf'),auth['isAuthenticated'](),controller['update']);router['delete']('/:id',auth[_0x2cff('0x9')](),controller['destroy']);module[_0x2cff('0x10')]=router;