Built motion from commit d1eab355.|2.6.28
[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 _0xba7a=['isAuthenticated','index','/describe','describe','/:id','show','create','update','delete','exports','util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','get'];(function(_0x584ce3,_0x4d3e29){var _0x13ba43=function(_0x4e887b){while(--_0x4e887b){_0x584ce3['push'](_0x584ce3['shift']());}};_0x13ba43(++_0x4d3e29);}(_0xba7a,0x184));var _0xaba7=function(_0x4cb601,_0x3986b4){_0x4cb601=_0x4cb601-0x0;var _0x39f873=_0xba7a[_0x4cb601];return _0x39f873;};'use strict';var multer=require('multer');var util=require(_0xaba7('0x0'));var path=require('path');var timeout=require(_0xaba7('0x1'));var express=require(_0xaba7('0x2'));var router=express[_0xaba7('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xaba7('0x4'));var config=require(_0xaba7('0x5'));var controller=require(_0xaba7('0x6'));router[_0xaba7('0x7')]('/',auth[_0xaba7('0x8')](),controller[_0xaba7('0x9')]);router[_0xaba7('0x7')](_0xaba7('0xa'),auth[_0xaba7('0x8')](),controller[_0xaba7('0xb')]);router[_0xaba7('0x7')](_0xaba7('0xc'),auth[_0xaba7('0x8')](),controller[_0xaba7('0xd')]);router['post']('/',auth[_0xaba7('0x8')](),controller[_0xaba7('0xe')]);router['put'](_0xaba7('0xc'),auth[_0xaba7('0x8')](),controller[_0xaba7('0xf')]);router[_0xaba7('0x10')](_0xaba7('0xc'),auth[_0xaba7('0x8')](),controller['destroy']);module[_0xaba7('0x11')]=router;