Built motion from commit da24aabd.|2.6.20
[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 _0xa0de=['describe','/:id','show','post','put','update','delete','destroy','exports','multer','connect-timeout','fs-extra','../../config/environment','./voiceDialReport.controller','isAuthenticated','get','/describe'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0xa0de,0x1c3));var _0xea0d=function(_0x368a35,_0x26458b){_0x368a35=_0x368a35-0x0;var _0x1e03fc=_0xa0de[_0x368a35];return _0x1e03fc;};'use strict';var multer=require(_0xea0d('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xea0d('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xea0d('0x2'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xea0d('0x3'));var controller=require(_0xea0d('0x4'));router['get']('/',auth[_0xea0d('0x5')](),controller['index']);router[_0xea0d('0x6')](_0xea0d('0x7'),auth['isAuthenticated'](),controller[_0xea0d('0x8')]);router['get'](_0xea0d('0x9'),auth[_0xea0d('0x5')](),controller[_0xea0d('0xa')]);router[_0xea0d('0xb')]('/',auth[_0xea0d('0x5')](),controller['create']);router[_0xea0d('0xc')](_0xea0d('0x9'),auth[_0xea0d('0x5')](),controller[_0xea0d('0xd')]);router[_0xea0d('0xe')](_0xea0d('0x9'),auth[_0xea0d('0x5')](),controller[_0xea0d('0xf')]);module[_0xea0d('0x10')]=router;