Built motion from commit (unavailable).|2.5.14
[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 _0x3f91=['Router','../../components/auth/service','../../config/environment','get','index','isAuthenticated','post','create','put','/:id','update','delete','destroy','exports','multer','express'];(function(_0x31330c,_0x5dfce3){var _0x50472b=function(_0x50506e){while(--_0x50506e){_0x31330c['push'](_0x31330c['shift']());}};_0x50472b(++_0x5dfce3);}(_0x3f91,0x9e));var _0x13f9=function(_0xa148b7,_0x2f3eb2){_0xa148b7=_0xa148b7-0x0;var _0x51efd3=_0x3f91[_0xa148b7];return _0x51efd3;};'use strict';var multer=require(_0x13f9('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x13f9('0x1'));var router=express[_0x13f9('0x2')]();var auth=require(_0x13f9('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x13f9('0x4'));var controller=require('./pause.controller');router[_0x13f9('0x5')]('/',auth['isAuthenticated'](),controller[_0x13f9('0x6')]);router[_0x13f9('0x5')]('/:id',auth[_0x13f9('0x7')](),controller['show']);router[_0x13f9('0x8')]('/',auth[_0x13f9('0x7')](),controller[_0x13f9('0x9')]);router[_0x13f9('0xa')](_0x13f9('0xb'),auth[_0x13f9('0x7')](),controller[_0x13f9('0xc')]);router[_0x13f9('0xd')](_0x13f9('0xb'),auth[_0x13f9('0x7')](),controller[_0x13f9('0xe')]);module[_0x13f9('0xf')]=router;