aff2b379e069f9d30593ef3e3e886e435976d7a0
[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 _0x9926=['/:id','show','post','create','put','update','delete','exports','path','connect-timeout','express','Router','../../components/interaction/service','./voiceDialReport.controller','get','isAuthenticated','index','describe'];(function(_0x479509,_0x1daf8a){var _0x382da8=function(_0x39d77c){while(--_0x39d77c){_0x479509['push'](_0x479509['shift']());}};_0x382da8(++_0x1daf8a);}(_0x9926,0x104));var _0x6992=function(_0xf0b39e,_0xcf87c){_0xf0b39e=_0xf0b39e-0x0;var _0x141678=_0x9926[_0xf0b39e];return _0x141678;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x6992('0x0'));var timeout=require(_0x6992('0x1'));var express=require(_0x6992('0x2'));var router=express[_0x6992('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x6992('0x4'));var config=require('../../config/environment');var controller=require(_0x6992('0x5'));router[_0x6992('0x6')]('/',auth[_0x6992('0x7')](),controller[_0x6992('0x8')]);router[_0x6992('0x6')]('/describe',auth[_0x6992('0x7')](),controller[_0x6992('0x9')]);router[_0x6992('0x6')](_0x6992('0xa'),auth[_0x6992('0x7')](),controller[_0x6992('0xb')]);router[_0x6992('0xc')]('/',auth[_0x6992('0x7')](),controller[_0x6992('0xd')]);router[_0x6992('0xe')](_0x6992('0xa'),auth[_0x6992('0x7')](),controller[_0x6992('0xf')]);router[_0x6992('0x10')](_0x6992('0xa'),auth[_0x6992('0x7')](),controller['destroy']);module[_0x6992('0x11')]=router;