581ee1a70e9e0ceb8e116b88bbde4ec51d6f2e45
[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 _0xaa4a=['post','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./voiceDialReport.controller','isAuthenticated','index','get','/describe','/:id','show'];(function(_0x1c2049,_0x494699){var _0x407e84=function(_0x452af7){while(--_0x452af7){_0x1c2049['push'](_0x1c2049['shift']());}};_0x407e84(++_0x494699);}(_0xaa4a,0x9b));var _0xaaa4=function(_0x397e5f,_0x454c8f){_0x397e5f=_0x397e5f-0x0;var _0x5302b8=_0xaa4a[_0x397e5f];return _0x5302b8;};'use strict';var multer=require(_0xaaa4('0x0'));var util=require(_0xaaa4('0x1'));var path=require(_0xaaa4('0x2'));var timeout=require(_0xaaa4('0x3'));var express=require(_0xaaa4('0x4'));var router=express[_0xaaa4('0x5')]();var fs_extra=require(_0xaaa4('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xaaa4('0x7'));var config=require(_0xaaa4('0x8'));var controller=require(_0xaaa4('0x9'));router['get']('/',auth[_0xaaa4('0xa')](),controller[_0xaaa4('0xb')]);router[_0xaaa4('0xc')](_0xaaa4('0xd'),auth[_0xaaa4('0xa')](),controller['describe']);router[_0xaaa4('0xc')](_0xaaa4('0xe'),auth[_0xaaa4('0xa')](),controller[_0xaaa4('0xf')]);router[_0xaaa4('0x10')]('/',auth[_0xaaa4('0xa')](),controller['create']);router['put']('/:id',auth[_0xaaa4('0xa')](),controller['update']);router[_0xaaa4('0x11')](_0xaaa4('0xe'),auth[_0xaaa4('0xa')](),controller[_0xaaa4('0x12')]);module['exports']=router;