Built motion from commit b5413ace.|2.6.9
[motion2.git] / server / api / voiceTransferReport / 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 _0xad10=['exports','multer','util','Router','../../components/auth/service','../../config/environment','./voiceTransferReport.controller','isAuthenticated','index','get','/describe','/:id','show','post','put','update','destroy'];(function(_0x3c3d6a,_0x315117){var _0xc8484=function(_0x10588e){while(--_0x10588e){_0x3c3d6a['push'](_0x3c3d6a['shift']());}};_0xc8484(++_0x315117);}(_0xad10,0x1aa));var _0x0ad1=function(_0x122df2,_0x28ca7c){_0x122df2=_0x122df2-0x0;var _0x340c94=_0xad10[_0x122df2];return _0x340c94;};'use strict';var multer=require(_0x0ad1('0x0'));var util=require(_0x0ad1('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0ad1('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x0ad1('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x0ad1('0x4'));var controller=require(_0x0ad1('0x5'));router['get']('/',auth[_0x0ad1('0x6')](),controller[_0x0ad1('0x7')]);router[_0x0ad1('0x8')](_0x0ad1('0x9'),auth['isAuthenticated'](),controller['describe']);router[_0x0ad1('0x8')](_0x0ad1('0xa'),auth[_0x0ad1('0x6')](),controller[_0x0ad1('0xb')]);router[_0x0ad1('0xc')]('/',auth[_0x0ad1('0x6')](),controller['create']);router[_0x0ad1('0xd')]('/:id',auth[_0x0ad1('0x6')](),controller[_0x0ad1('0xe')]);router['delete'](_0x0ad1('0xa'),auth[_0x0ad1('0x6')](),controller[_0x0ad1('0xf')]);module[_0x0ad1('0x10')]=router;