Built motion from commit 9d0783e6.|2.6.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 _0x554d=['post','create','put','update','delete','destroy','multer','path','connect-timeout','Router','fs-extra','./voiceDialReport.controller','isAuthenticated','get','/describe','describe','/:id','show'];(function(_0x48b598,_0x2a5afb){var _0x580c58=function(_0x157d4c){while(--_0x157d4c){_0x48b598['push'](_0x48b598['shift']());}};_0x580c58(++_0x2a5afb);}(_0x554d,0x1c8));var _0xd554=function(_0x399194,_0x57df7b){_0x399194=_0x399194-0x0;var _0x8384ee=_0x554d[_0x399194];return _0x8384ee;};'use strict';var multer=require(_0xd554('0x0'));var util=require('util');var path=require(_0xd554('0x1'));var timeout=require(_0xd554('0x2'));var express=require('express');var router=express[_0xd554('0x3')]();var fs_extra=require(_0xd554('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xd554('0x5'));router['get']('/',auth[_0xd554('0x6')](),controller['index']);router[_0xd554('0x7')](_0xd554('0x8'),auth[_0xd554('0x6')](),controller[_0xd554('0x9')]);router[_0xd554('0x7')](_0xd554('0xa'),auth[_0xd554('0x6')](),controller[_0xd554('0xb')]);router[_0xd554('0xc')]('/',auth[_0xd554('0x6')](),controller[_0xd554('0xd')]);router[_0xd554('0xe')]('/:id',auth[_0xd554('0x6')](),controller[_0xd554('0xf')]);router[_0xd554('0x10')](_0xd554('0xa'),auth[_0xd554('0x6')](),controller[_0xd554('0x11')]);module['exports']=router;