Built motion from commit (unavailable).|2.5.22
[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 _0x7214=['./pause.controller','get','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','../../components/auth/service'];(function(_0x417bd6,_0x130030){var _0x3ff500=function(_0x47975e){while(--_0x47975e){_0x417bd6['push'](_0x417bd6['shift']());}};_0x3ff500(++_0x130030);}(_0x7214,0x6c));var _0x4721=function(_0x429e65,_0x2dd590){_0x429e65=_0x429e65-0x0;var _0xfaa37f=_0x7214[_0x429e65];return _0xfaa37f;};'use strict';var multer=require(_0x4721('0x0'));var util=require(_0x4721('0x1'));var path=require('path');var timeout=require(_0x4721('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x4721('0x3'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x4721('0x4'));router[_0x4721('0x5')]('/',auth[_0x4721('0x6')](),controller['index']);router[_0x4721('0x5')](_0x4721('0x7'),auth[_0x4721('0x6')](),controller[_0x4721('0x8')]);router[_0x4721('0x9')]('/',auth[_0x4721('0x6')](),controller[_0x4721('0xa')]);router[_0x4721('0xb')](_0x4721('0x7'),auth['isAuthenticated'](),controller[_0x4721('0xc')]);router[_0x4721('0xd')]('/:id',auth[_0x4721('0x6')](),controller[_0x4721('0xe')]);module[_0x4721('0xf')]=router;