Built motion from commit (unavailable).|2.5.13
[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 _0x3224=['isAuthenticated','/describe','describe','/:id','show','post','create','put','update','destroy','util','connect-timeout','Router','../../components/auth/service','./voiceDialReport.controller','get'];(function(_0x5c41c1,_0x11413f){var _0x5575eb=function(_0xcbea65){while(--_0xcbea65){_0x5c41c1['push'](_0x5c41c1['shift']());}};_0x5575eb(++_0x11413f);}(_0x3224,0x7a));var _0x4322=function(_0x4cc492,_0x162c85){_0x4cc492=_0x4cc492-0x0;var _0x1f36b9=_0x3224[_0x4cc492];return _0x1f36b9;};'use strict';var multer=require('multer');var util=require(_0x4322('0x0'));var path=require('path');var timeout=require(_0x4322('0x1'));var express=require('express');var router=express[_0x4322('0x2')]();var auth=require(_0x4322('0x3'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x4322('0x4'));router[_0x4322('0x5')]('/',auth[_0x4322('0x6')](),controller['index']);router[_0x4322('0x5')](_0x4322('0x7'),auth['isAuthenticated'](),controller[_0x4322('0x8')]);router[_0x4322('0x5')](_0x4322('0x9'),auth[_0x4322('0x6')](),controller[_0x4322('0xa')]);router[_0x4322('0xb')]('/',auth[_0x4322('0x6')](),controller[_0x4322('0xc')]);router[_0x4322('0xd')]('/:id',auth[_0x4322('0x6')](),controller[_0x4322('0xe')]);router['delete'](_0x4322('0x9'),auth[_0x4322('0x6')](),controller[_0x4322('0xf')]);module['exports']=router;