Built motion from commit (unavailable).|2.5.18
[motion2.git] / server / api / voiceDialReport / 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 _0x534b=['index','get','describe','/:id','show','post','put','update','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./voiceDialReport.controller','isAuthenticated'];(function(_0x56b891,_0x2f117e){var _0x41d994=function(_0x4f641a){while(--_0x4f641a){_0x56b891['push'](_0x56b891['shift']());}};_0x41d994(++_0x2f117e);}(_0x534b,0x1ae));var _0xb534=function(_0x165349,_0x195081){_0x165349=_0x165349-0x0;var _0x50b4c5=_0x534b[_0x165349];return _0x50b4c5;};'use strict';var multer=require(_0xb534('0x0'));var util=require(_0xb534('0x1'));var path=require(_0xb534('0x2'));var timeout=require(_0xb534('0x3'));var express=require(_0xb534('0x4'));var router=express[_0xb534('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xb534('0x6'));var config=require(_0xb534('0x7'));var controller=require(_0xb534('0x8'));router['get']('/',auth[_0xb534('0x9')](),controller[_0xb534('0xa')]);router[_0xb534('0xb')]('/describe',auth[_0xb534('0x9')](),controller[_0xb534('0xc')]);router['get'](_0xb534('0xd'),auth[_0xb534('0x9')](),controller[_0xb534('0xe')]);router[_0xb534('0xf')]('/',auth[_0xb534('0x9')](),controller['create']);router[_0xb534('0x10')](_0xb534('0xd'),auth[_0xb534('0x9')](),controller[_0xb534('0x11')]);router[_0xb534('0x12')](_0xb534('0xd'),auth[_0xb534('0x9')](),controller[_0xb534('0x13')]);module['exports']=router;