Built motion from commit (unavailable).|2.4.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 _0x5e03=['/:id/users','getAgents','post','create','delete','removeAgents','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voicePrefix.controller','isAuthenticated','index','get','/describe','describe','/:id','show'];(function(_0x54710d,_0x49b46b){var _0x37d0a2=function(_0x510603){while(--_0x510603){_0x54710d['push'](_0x54710d['shift']());}};_0x37d0a2(++_0x49b46b);}(_0x5e03,0xbf));var _0x35e0=function(_0x2188be,_0x205d35){_0x2188be=_0x2188be-0x0;var _0x255199=_0x5e03[_0x2188be];return _0x255199;};'use strict';var multer=require('multer');var util=require(_0x35e0('0x0'));var path=require(_0x35e0('0x1'));var timeout=require(_0x35e0('0x2'));var express=require(_0x35e0('0x3'));var router=express[_0x35e0('0x4')]();var auth=require(_0x35e0('0x5'));var interaction=require(_0x35e0('0x6'));var config=require(_0x35e0('0x7'));var controller=require(_0x35e0('0x8'));router['get']('/',auth[_0x35e0('0x9')](),controller[_0x35e0('0xa')]);router[_0x35e0('0xb')](_0x35e0('0xc'),auth[_0x35e0('0x9')](),controller[_0x35e0('0xd')]);router[_0x35e0('0xb')](_0x35e0('0xe'),auth[_0x35e0('0x9')](),controller[_0x35e0('0xf')]);router['get'](_0x35e0('0x10'),auth[_0x35e0('0x9')](),controller[_0x35e0('0x11')]);router[_0x35e0('0x12')]('/',auth[_0x35e0('0x9')](),controller[_0x35e0('0x13')]);router[_0x35e0('0x12')](_0x35e0('0x10'),auth[_0x35e0('0x9')](),controller['addAgents']);router['put'](_0x35e0('0xe'),auth['isAuthenticated'](),controller['update']);router[_0x35e0('0x14')](_0x35e0('0xe'),auth['isAuthenticated'](),controller['destroy']);router[_0x35e0('0x14')](_0x35e0('0x10'),auth[_0x35e0('0x9')](),controller[_0x35e0('0x15')]);module[_0x35e0('0x16')]=router;