86785ab2c5693df65bf3874d38e6815fca167f51
[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 _0xf466=['./voiceDialReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','create','put','update','destroy','exports','multer','util','path','connect-timeout','express','../../config/environment'];(function(_0x15e0d2,_0x8333c){var _0x45bb73=function(_0x52cb41){while(--_0x52cb41){_0x15e0d2['push'](_0x15e0d2['shift']());}};_0x45bb73(++_0x8333c);}(_0xf466,0x19c));var _0x6f46=function(_0x6eff5b,_0x3976fa){_0x6eff5b=_0x6eff5b-0x0;var _0x40af9f=_0xf466[_0x6eff5b];return _0x40af9f;};'use strict';var multer=require(_0x6f46('0x0'));var util=require(_0x6f46('0x1'));var path=require(_0x6f46('0x2'));var timeout=require(_0x6f46('0x3'));var express=require(_0x6f46('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x6f46('0x5'));var controller=require(_0x6f46('0x6'));router[_0x6f46('0x7')]('/',auth['isAuthenticated'](),controller[_0x6f46('0x8')]);router[_0x6f46('0x7')](_0x6f46('0x9'),auth[_0x6f46('0xa')](),controller[_0x6f46('0xb')]);router[_0x6f46('0x7')](_0x6f46('0xc'),auth['isAuthenticated'](),controller[_0x6f46('0xd')]);router['post']('/',auth[_0x6f46('0xa')](),controller[_0x6f46('0xe')]);router[_0x6f46('0xf')](_0x6f46('0xc'),auth['isAuthenticated'](),controller[_0x6f46('0x10')]);router['delete'](_0x6f46('0xc'),auth[_0x6f46('0xa')](),controller[_0x6f46('0x11')]);module[_0x6f46('0x12')]=router;