Built motion from commit ab870f9e.|2.5.44
[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 _0x9726=['multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./voiceDialReport.controller','get','isAuthenticated','index','describe','/:id','show','post','create','put','update','exports'];(function(_0x277af0,_0x1f0361){var _0x43bd7c=function(_0x3ad480){while(--_0x3ad480){_0x277af0['push'](_0x277af0['shift']());}};_0x43bd7c(++_0x1f0361);}(_0x9726,0xbe));var _0x6972=function(_0x462433,_0x3312e0){_0x462433=_0x462433-0x0;var _0x305e45=_0x9726[_0x462433];return _0x305e45;};'use strict';var multer=require(_0x6972('0x0'));var util=require('util');var path=require(_0x6972('0x1'));var timeout=require(_0x6972('0x2'));var express=require(_0x6972('0x3'));var router=express[_0x6972('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x6972('0x5'));var interaction=require(_0x6972('0x6'));var config=require('../../config/environment');var controller=require(_0x6972('0x7'));router[_0x6972('0x8')]('/',auth[_0x6972('0x9')](),controller[_0x6972('0xa')]);router[_0x6972('0x8')]('/describe',auth[_0x6972('0x9')](),controller[_0x6972('0xb')]);router[_0x6972('0x8')](_0x6972('0xc'),auth[_0x6972('0x9')](),controller[_0x6972('0xd')]);router[_0x6972('0xe')]('/',auth['isAuthenticated'](),controller[_0x6972('0xf')]);router[_0x6972('0x10')](_0x6972('0xc'),auth[_0x6972('0x9')](),controller[_0x6972('0x11')]);router['delete'](_0x6972('0xc'),auth[_0x6972('0x9')](),controller['destroy']);module[_0x6972('0x12')]=router;