Built motion from commit (unavailable).|2.5.12
[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 _0xe145=['show','/:id/sounds','getSounds','post','create','addSound','put','update','delete','destroy','/:id/sounds/:id2','removeSound','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceMusicOnHold.controller','get','index','/:id','isAuthenticated'];(function(_0x41d955,_0x51ce7d){var _0x275647=function(_0x5e7a95){while(--_0x5e7a95){_0x41d955['push'](_0x41d955['shift']());}};_0x275647(++_0x51ce7d);}(_0xe145,0x8a));var _0x5e14=function(_0x2f17e7,_0x5af3e5){_0x2f17e7=_0x2f17e7-0x0;var _0x3b5f8f=_0xe145[_0x2f17e7];return _0x3b5f8f;};'use strict';var multer=require(_0x5e14('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x5e14('0x1'));var express=require(_0x5e14('0x2'));var router=express[_0x5e14('0x3')]();var auth=require(_0x5e14('0x4'));var interaction=require(_0x5e14('0x5'));var config=require(_0x5e14('0x6'));var controller=require(_0x5e14('0x7'));router[_0x5e14('0x8')]('/',auth['isAuthenticated'](),controller[_0x5e14('0x9')]);router['get'](_0x5e14('0xa'),auth[_0x5e14('0xb')](),controller[_0x5e14('0xc')]);router[_0x5e14('0x8')](_0x5e14('0xd'),auth[_0x5e14('0xb')](),controller[_0x5e14('0xe')]);router[_0x5e14('0xf')]('/',auth[_0x5e14('0xb')](),controller[_0x5e14('0x10')]);router['post'](_0x5e14('0xd'),auth['isAuthenticated'](),controller[_0x5e14('0x11')]);router[_0x5e14('0x12')](_0x5e14('0xa'),auth[_0x5e14('0xb')](),controller[_0x5e14('0x13')]);router[_0x5e14('0x14')](_0x5e14('0xa'),auth[_0x5e14('0xb')](),controller[_0x5e14('0x15')]);router[_0x5e14('0x14')](_0x5e14('0x16'),auth[_0x5e14('0xb')](),controller[_0x5e14('0x17')]);module[_0x5e14('0x18')]=router;