Built motion from commit (unavailable).|2.5.25
[motion2.git] / server / api / voiceAgentReport / 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 _0x425b=['exports','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./voiceAgentReport.controller','get','isAuthenticated','index','/describe','show','post','create','put','update','delete','/:id','destroy'];(function(_0x2bc4af,_0x2e5304){var _0x6f8e72=function(_0x49f3c8){while(--_0x49f3c8){_0x2bc4af['push'](_0x2bc4af['shift']());}};_0x6f8e72(++_0x2e5304);}(_0x425b,0xa1));var _0xb425=function(_0x44aa58,_0x211ecd){_0x44aa58=_0x44aa58-0x0;var _0x43e9cf=_0x425b[_0x44aa58];return _0x43e9cf;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xb425('0x0'));var timeout=require(_0xb425('0x1'));var express=require(_0xb425('0x2'));var router=express[_0xb425('0x3')]();var auth=require(_0xb425('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xb425('0x5'));var controller=require(_0xb425('0x6'));router[_0xb425('0x7')]('/',auth[_0xb425('0x8')](),controller[_0xb425('0x9')]);router[_0xb425('0x7')](_0xb425('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0xb425('0x7')]('/:id',auth[_0xb425('0x8')](),controller[_0xb425('0xb')]);router[_0xb425('0xc')]('/',auth['isAuthenticated'](),controller[_0xb425('0xd')]);router[_0xb425('0xe')]('/:id',auth[_0xb425('0x8')](),controller[_0xb425('0xf')]);router[_0xb425('0x10')](_0xb425('0x11'),auth['isAuthenticated'](),controller[_0xb425('0x12')]);module[_0xb425('0x13')]=router;