Built motion from commit 1fa89557.|2.6.10
[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 _0x1352=['isAuthenticated','index','describe','/:id','/:id/users','getAgents','/:id/teams','getTeams','post','addAgents','addTeams','put','update','delete','destroy','removeAgents','removeTeams','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voicePrefix.controller','get'];(function(_0x197853,_0x24487b){var _0x1cbb30=function(_0x53bab3){while(--_0x53bab3){_0x197853['push'](_0x197853['shift']());}};_0x1cbb30(++_0x24487b);}(_0x1352,0x17a));var _0x2135=function(_0x5c351c,_0x2046d8){_0x5c351c=_0x5c351c-0x0;var _0x26f3b3=_0x1352[_0x5c351c];return _0x26f3b3;};'use strict';var multer=require(_0x2135('0x0'));var util=require(_0x2135('0x1'));var path=require(_0x2135('0x2'));var timeout=require(_0x2135('0x3'));var express=require(_0x2135('0x4'));var router=express[_0x2135('0x5')]();var fs_extra=require(_0x2135('0x6'));var auth=require(_0x2135('0x7'));var interaction=require(_0x2135('0x8'));var config=require(_0x2135('0x9'));var controller=require(_0x2135('0xa'));router[_0x2135('0xb')]('/',auth[_0x2135('0xc')](),controller[_0x2135('0xd')]);router[_0x2135('0xb')]('/describe',auth[_0x2135('0xc')](),controller[_0x2135('0xe')]);router['get'](_0x2135('0xf'),auth[_0x2135('0xc')](),controller['show']);router[_0x2135('0xb')](_0x2135('0x10'),auth[_0x2135('0xc')](),controller[_0x2135('0x11')]);router[_0x2135('0xb')](_0x2135('0x12'),auth[_0x2135('0xc')](),controller[_0x2135('0x13')]);router[_0x2135('0x14')]('/',auth['isAuthenticated'](),controller['create']);router[_0x2135('0x14')](_0x2135('0x10'),auth[_0x2135('0xc')](),controller[_0x2135('0x15')]);router['post'](_0x2135('0x12'),auth['isAuthenticated'](),controller[_0x2135('0x16')]);router[_0x2135('0x17')](_0x2135('0xf'),auth[_0x2135('0xc')](),controller[_0x2135('0x18')]);router[_0x2135('0x19')](_0x2135('0xf'),auth[_0x2135('0xc')](),controller[_0x2135('0x1a')]);router[_0x2135('0x19')]('/:id/users',auth['isAuthenticated'](),controller[_0x2135('0x1b')]);router[_0x2135('0x19')](_0x2135('0x12'),auth['isAuthenticated'](),controller[_0x2135('0x1c')]);module[_0x2135('0x1d')]=router;