Built motion from commit 53172ac8.|2.6.30
[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 _0x6f74=['./voiceDialReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x44281c,_0x46437f){var _0x209a89=function(_0x59e165){while(--_0x59e165){_0x44281c['push'](_0x44281c['shift']());}};_0x209a89(++_0x46437f);}(_0x6f74,0x16f));var _0x46f7=function(_0x40c760,_0x156f78){_0x40c760=_0x40c760-0x0;var _0x3fa39a=_0x6f74[_0x40c760];return _0x3fa39a;};'use strict';var multer=require(_0x46f7('0x0'));var util=require(_0x46f7('0x1'));var path=require('path');var timeout=require(_0x46f7('0x2'));var express=require(_0x46f7('0x3'));var router=express[_0x46f7('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x46f7('0x5'));var interaction=require(_0x46f7('0x6'));var config=require('../../config/environment');var controller=require(_0x46f7('0x7'));router[_0x46f7('0x8')]('/',auth['isAuthenticated'](),controller[_0x46f7('0x9')]);router['get'](_0x46f7('0xa'),auth[_0x46f7('0xb')](),controller[_0x46f7('0xc')]);router[_0x46f7('0x8')](_0x46f7('0xd'),auth[_0x46f7('0xb')](),controller[_0x46f7('0xe')]);router[_0x46f7('0xf')]('/',auth['isAuthenticated'](),controller[_0x46f7('0x10')]);router[_0x46f7('0x11')]('/:id',auth[_0x46f7('0xb')](),controller[_0x46f7('0x12')]);router[_0x46f7('0x13')](_0x46f7('0xd'),auth[_0x46f7('0xb')](),controller[_0x46f7('0x14')]);module[_0x46f7('0x15')]=router;