Built motion from commit 67e5df37.|2.0.66
[motion2.git] / server / api / voiceDisposition / 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 _0x511f=['show','post','create','update','delete','destroy','exports','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceDisposition.controller','get','isAuthenticated','/:id'];(function(_0x252eae,_0x157ec8){var _0x3c21ad=function(_0x5329b2){while(--_0x5329b2){_0x252eae['push'](_0x252eae['shift']());}};_0x3c21ad(++_0x157ec8);}(_0x511f,0xf1));var _0xf511=function(_0x922177,_0x585e4e){_0x922177=_0x922177-0x0;var _0x2fff86=_0x511f[_0x922177];return _0x2fff86;};'use strict';var multer=require(_0xf511('0x0'));var util=require(_0xf511('0x1'));var path=require('path');var express=require(_0xf511('0x2'));var router=express[_0xf511('0x3')]();var auth=require(_0xf511('0x4'));var interaction=require(_0xf511('0x5'));var config=require(_0xf511('0x6'));var controller=require(_0xf511('0x7'));router[_0xf511('0x8')]('/',auth[_0xf511('0x9')](),controller['index']);router[_0xf511('0x8')](_0xf511('0xa'),auth[_0xf511('0x9')](),controller[_0xf511('0xb')]);router[_0xf511('0xc')]('/',auth[_0xf511('0x9')](),controller[_0xf511('0xd')]);router['put'](_0xf511('0xa'),auth[_0xf511('0x9')](),controller[_0xf511('0xe')]);router[_0xf511('0xf')]('/:id',auth[_0xf511('0x9')](),controller[_0xf511('0x10')]);module[_0xf511('0x11')]=router;