Built motion from commit (unavailable).|2.4.19
[motion2.git] / server / api / pause / 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 _0xbba4=['path','express','Router','../../components/auth/service','../../config/environment','./pause.controller','isAuthenticated','index','get','/:id','show','post','create','put','update','delete','multer'];(function(_0x45ddf2,_0xde40f8){var _0x5b2585=function(_0x5ce238){while(--_0x5ce238){_0x45ddf2['push'](_0x45ddf2['shift']());}};_0x5b2585(++_0xde40f8);}(_0xbba4,0x65));var _0x4bba=function(_0x4ea02f,_0x1af93f){_0x4ea02f=_0x4ea02f-0x0;var _0x246c58=_0xbba4[_0x4ea02f];return _0x246c58;};'use strict';var multer=require(_0x4bba('0x0'));var util=require('util');var path=require(_0x4bba('0x1'));var timeout=require('connect-timeout');var express=require(_0x4bba('0x2'));var router=express[_0x4bba('0x3')]();var auth=require(_0x4bba('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x4bba('0x5'));var controller=require(_0x4bba('0x6'));router['get']('/',auth[_0x4bba('0x7')](),controller[_0x4bba('0x8')]);router[_0x4bba('0x9')](_0x4bba('0xa'),auth['isAuthenticated'](),controller[_0x4bba('0xb')]);router[_0x4bba('0xc')]('/',auth['isAuthenticated'](),controller[_0x4bba('0xd')]);router[_0x4bba('0xe')]('/:id',auth[_0x4bba('0x7')](),controller[_0x4bba('0xf')]);router[_0x4bba('0x10')](_0x4bba('0xa'),auth[_0x4bba('0x7')](),controller['destroy']);module['exports']=router;