Built motion from commit 85328c08.|2.5.50
[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 _0xa1fd=['multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','post','put','update','destroy','exports'];(function(_0x4cfdfe,_0x55a62b){var _0x4eea9d=function(_0x32e668){while(--_0x32e668){_0x4cfdfe['push'](_0x4cfdfe['shift']());}};_0x4eea9d(++_0x55a62b);}(_0xa1fd,0x1b9));var _0xda1f=function(_0x4baf36,_0x4e3e17){_0x4baf36=_0x4baf36-0x0;var _0x5a029f=_0xa1fd[_0x4baf36];return _0x5a029f;};'use strict';var multer=require(_0xda1f('0x0'));var util=require(_0xda1f('0x1'));var path=require(_0xda1f('0x2'));var timeout=require(_0xda1f('0x3'));var express=require('express');var router=express[_0xda1f('0x4')]();var fs_extra=require(_0xda1f('0x5'));var auth=require(_0xda1f('0x6'));var interaction=require(_0xda1f('0x7'));var config=require(_0xda1f('0x8'));var controller=require('./voiceDialReport.controller');router[_0xda1f('0x9')]('/',auth[_0xda1f('0xa')](),controller[_0xda1f('0xb')]);router['get'](_0xda1f('0xc'),auth[_0xda1f('0xa')](),controller[_0xda1f('0xd')]);router[_0xda1f('0x9')](_0xda1f('0xe'),auth[_0xda1f('0xa')](),controller[_0xda1f('0xf')]);router[_0xda1f('0x10')]('/',auth[_0xda1f('0xa')](),controller['create']);router[_0xda1f('0x11')](_0xda1f('0xe'),auth[_0xda1f('0xa')](),controller[_0xda1f('0x12')]);router['delete']('/:id',auth[_0xda1f('0xa')](),controller[_0xda1f('0x13')]);module[_0xda1f('0x14')]=router;