Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / api / voiceMusicOnHold / 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 _0x66cd=['removeSound','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./voiceMusicOnHold.controller','get','isAuthenticated','index','/:id','show','/:id/sounds','getSounds','post','create','addSound','put','update','delete','destroy','/:id/sounds/:id2'];(function(_0x1a31a8,_0x3b5148){var _0x3bf43d=function(_0x385a58){while(--_0x385a58){_0x1a31a8['push'](_0x1a31a8['shift']());}};_0x3bf43d(++_0x3b5148);}(_0x66cd,0x1b2));var _0xd66c=function(_0x5ddb1c,_0x5ea4df){_0x5ddb1c=_0x5ddb1c-0x0;var _0x354adc=_0x66cd[_0x5ddb1c];return _0x354adc;};'use strict';var multer=require(_0xd66c('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xd66c('0x1'));var express=require(_0xd66c('0x2'));var router=express[_0xd66c('0x3')]();var auth=require(_0xd66c('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xd66c('0x5'));var controller=require(_0xd66c('0x6'));router[_0xd66c('0x7')]('/',auth[_0xd66c('0x8')](),controller[_0xd66c('0x9')]);router['get'](_0xd66c('0xa'),auth[_0xd66c('0x8')](),controller[_0xd66c('0xb')]);router[_0xd66c('0x7')](_0xd66c('0xc'),auth['isAuthenticated'](),controller[_0xd66c('0xd')]);router[_0xd66c('0xe')]('/',auth[_0xd66c('0x8')](),controller[_0xd66c('0xf')]);router['post'](_0xd66c('0xc'),auth[_0xd66c('0x8')](),controller[_0xd66c('0x10')]);router[_0xd66c('0x11')](_0xd66c('0xa'),auth[_0xd66c('0x8')](),controller[_0xd66c('0x12')]);router[_0xd66c('0x13')](_0xd66c('0xa'),auth['isAuthenticated'](),controller[_0xd66c('0x14')]);router[_0xd66c('0x13')](_0xd66c('0x15'),auth[_0xd66c('0x8')](),controller[_0xd66c('0x16')]);module[_0xd66c('0x17')]=router;