Built motion from commit e1760111.|2.6.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 _0x4f09=['fs-extra','../../config/environment','./voiceDialReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','post','put','update','destroy','exports','multer','path','connect-timeout','Router'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0x4f09,0x18b));var _0x94f0=function(_0x30be39,_0xfb49ad){_0x30be39=_0x30be39-0x0;var _0x4d99d6=_0x4f09[_0x30be39];return _0x4d99d6;};'use strict';var multer=require(_0x94f0('0x0'));var util=require('util');var path=require(_0x94f0('0x1'));var timeout=require(_0x94f0('0x2'));var express=require('express');var router=express[_0x94f0('0x3')]();var fs_extra=require(_0x94f0('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x94f0('0x5'));var controller=require(_0x94f0('0x6'));router[_0x94f0('0x7')]('/',auth['isAuthenticated'](),controller[_0x94f0('0x8')]);router['get'](_0x94f0('0x9'),auth[_0x94f0('0xa')](),controller[_0x94f0('0xb')]);router[_0x94f0('0x7')](_0x94f0('0xc'),auth[_0x94f0('0xa')](),controller[_0x94f0('0xd')]);router[_0x94f0('0xe')]('/',auth[_0x94f0('0xa')](),controller['create']);router[_0x94f0('0xf')](_0x94f0('0xc'),auth[_0x94f0('0xa')](),controller[_0x94f0('0x10')]);router['delete']('/:id',auth[_0x94f0('0xa')](),controller[_0x94f0('0x11')]);module[_0x94f0('0x12')]=router;