Built motion from commit d9028345.|2.5.43
[motion2.git] / server / api / voicePrefix / 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 _0x7d9a=['getTeams','post','create','addAgents','addTeams','put','destroy','delete','removeAgents','removeTeams','exports','multer','util','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voicePrefix.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/users','getAgents','/:id/teams'];(function(_0x4b1236,_0x5993a5){var _0x45d450=function(_0x4dd4cf){while(--_0x4dd4cf){_0x4b1236['push'](_0x4b1236['shift']());}};_0x45d450(++_0x5993a5);}(_0x7d9a,0x1be));var _0xa7d9=function(_0x5f4f8a,_0x1f972d){_0x5f4f8a=_0x5f4f8a-0x0;var _0x5aa449=_0x7d9a[_0x5f4f8a];return _0x5aa449;};'use strict';var multer=require(_0xa7d9('0x0'));var util=require(_0xa7d9('0x1'));var path=require('path');var timeout=require(_0xa7d9('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xa7d9('0x3'));var auth=require(_0xa7d9('0x4'));var interaction=require(_0xa7d9('0x5'));var config=require(_0xa7d9('0x6'));var controller=require(_0xa7d9('0x7'));router[_0xa7d9('0x8')]('/',auth[_0xa7d9('0x9')](),controller[_0xa7d9('0xa')]);router[_0xa7d9('0x8')](_0xa7d9('0xb'),auth[_0xa7d9('0x9')](),controller[_0xa7d9('0xc')]);router[_0xa7d9('0x8')](_0xa7d9('0xd'),auth[_0xa7d9('0x9')](),controller[_0xa7d9('0xe')]);router['get'](_0xa7d9('0xf'),auth[_0xa7d9('0x9')](),controller[_0xa7d9('0x10')]);router[_0xa7d9('0x8')](_0xa7d9('0x11'),auth[_0xa7d9('0x9')](),controller[_0xa7d9('0x12')]);router[_0xa7d9('0x13')]('/',auth[_0xa7d9('0x9')](),controller[_0xa7d9('0x14')]);router[_0xa7d9('0x13')](_0xa7d9('0xf'),auth[_0xa7d9('0x9')](),controller[_0xa7d9('0x15')]);router[_0xa7d9('0x13')](_0xa7d9('0x11'),auth[_0xa7d9('0x9')](),controller[_0xa7d9('0x16')]);router[_0xa7d9('0x17')](_0xa7d9('0xd'),auth[_0xa7d9('0x9')](),controller['update']);router['delete'](_0xa7d9('0xd'),auth[_0xa7d9('0x9')](),controller[_0xa7d9('0x18')]);router[_0xa7d9('0x19')]('/:id/users',auth[_0xa7d9('0x9')](),controller[_0xa7d9('0x1a')]);router[_0xa7d9('0x19')](_0xa7d9('0x11'),auth[_0xa7d9('0x9')](),controller[_0xa7d9('0x1b')]);module[_0xa7d9('0x1c')]=router;