Built motion from commit (unavailable).|2.5.31
[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 _0x6455=['isAuthenticated','index','/describe','/:id','show','/:id/users','post','create','put','update','delete','destroy','removeAgents','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./voicePrefix.controller','get'];(function(_0x57dbe8,_0x13bb27){var _0x4ac9d2=function(_0x206f2b){while(--_0x206f2b){_0x57dbe8['push'](_0x57dbe8['shift']());}};_0x4ac9d2(++_0x13bb27);}(_0x6455,0x97));var _0x5645=function(_0x24742b,_0x52a3a0){_0x24742b=_0x24742b-0x0;var _0x478c45=_0x6455[_0x24742b];return _0x478c45;};'use strict';var multer=require(_0x5645('0x0'));var util=require('util');var path=require(_0x5645('0x1'));var timeout=require(_0x5645('0x2'));var express=require(_0x5645('0x3'));var router=express[_0x5645('0x4')]();var fs_extra=require(_0x5645('0x5'));var auth=require(_0x5645('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x5645('0x7'));var controller=require(_0x5645('0x8'));router[_0x5645('0x9')]('/',auth[_0x5645('0xa')](),controller[_0x5645('0xb')]);router[_0x5645('0x9')](_0x5645('0xc'),auth[_0x5645('0xa')](),controller['describe']);router['get'](_0x5645('0xd'),auth[_0x5645('0xa')](),controller[_0x5645('0xe')]);router[_0x5645('0x9')](_0x5645('0xf'),auth[_0x5645('0xa')](),controller['getAgents']);router[_0x5645('0x10')]('/',auth[_0x5645('0xa')](),controller[_0x5645('0x11')]);router[_0x5645('0x10')]('/:id/users',auth[_0x5645('0xa')](),controller['addAgents']);router[_0x5645('0x12')](_0x5645('0xd'),auth[_0x5645('0xa')](),controller[_0x5645('0x13')]);router[_0x5645('0x14')](_0x5645('0xd'),auth[_0x5645('0xa')](),controller[_0x5645('0x15')]);router['delete'](_0x5645('0xf'),auth[_0x5645('0xa')](),controller[_0x5645('0x16')]);module['exports']=router;