Built motion from commit (unavailable).|2.0.70
[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 _0x0813=['/:id/sounds/:id2','removeSound','exports','util','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceMusicOnHold.controller','isAuthenticated','index','get','/:id','show','/:id/sounds','getSounds','post','create','addSound','put','update','delete','destroy'];(function(_0x1c7b33,_0x381cc5){var _0x154be0=function(_0x3e7baf){while(--_0x3e7baf){_0x1c7b33['push'](_0x1c7b33['shift']());}};_0x154be0(++_0x381cc5);}(_0x0813,0x7b));var _0x3081=function(_0x551562,_0x24199b){_0x551562=_0x551562-0x0;var _0xd6a239=_0x0813[_0x551562];return _0xd6a239;};'use strict';var multer=require('multer');var util=require(_0x3081('0x0'));var path=require(_0x3081('0x1'));var express=require(_0x3081('0x2'));var router=express['Router']();var auth=require(_0x3081('0x3'));var interaction=require(_0x3081('0x4'));var config=require(_0x3081('0x5'));var controller=require(_0x3081('0x6'));router['get']('/',auth[_0x3081('0x7')](),controller[_0x3081('0x8')]);router[_0x3081('0x9')](_0x3081('0xa'),auth[_0x3081('0x7')](),controller[_0x3081('0xb')]);router[_0x3081('0x9')](_0x3081('0xc'),auth[_0x3081('0x7')](),controller[_0x3081('0xd')]);router[_0x3081('0xe')]('/',auth[_0x3081('0x7')](),controller[_0x3081('0xf')]);router[_0x3081('0xe')](_0x3081('0xc'),auth[_0x3081('0x7')](),controller[_0x3081('0x10')]);router[_0x3081('0x11')](_0x3081('0xa'),auth[_0x3081('0x7')](),controller[_0x3081('0x12')]);router[_0x3081('0x13')](_0x3081('0xa'),auth[_0x3081('0x7')](),controller[_0x3081('0x14')]);router[_0x3081('0x13')](_0x3081('0x15'),auth[_0x3081('0x7')](),controller[_0x3081('0x16')]);module[_0x3081('0x17')]=router;