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 _0xffea=['create','put','/:id','update','delete','exports','path','connect-timeout','express','Router','../../components/interaction/service','./pause.controller','get','index','show','post','isAuthenticated'];(function(_0x39f7e2,_0x57d23b){var _0xdcdc85=function(_0x27b586){while(--_0x27b586){_0x39f7e2['push'](_0x39f7e2['shift']());}};_0xdcdc85(++_0x57d23b);}(_0xffea,0x1af));var _0xaffe=function(_0xec0a3f,_0x5468a9){_0xec0a3f=_0xec0a3f-0x0;var _0x4c73cc=_0xffea[_0xec0a3f];return _0x4c73cc;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xaffe('0x0'));var timeout=require(_0xaffe('0x1'));var express=require(_0xaffe('0x2'));var router=express[_0xaffe('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xaffe('0x4'));var config=require('../../config/environment');var controller=require(_0xaffe('0x5'));router[_0xaffe('0x6')]('/',auth['isAuthenticated'](),controller[_0xaffe('0x7')]);router[_0xaffe('0x6')]('/:id',auth['isAuthenticated'](),controller[_0xaffe('0x8')]);router[_0xaffe('0x9')]('/',auth[_0xaffe('0xa')](),controller[_0xaffe('0xb')]);router[_0xaffe('0xc')](_0xaffe('0xd'),auth[_0xaffe('0xa')](),controller[_0xaffe('0xe')]);router[_0xaffe('0xf')]('/:id',auth[_0xaffe('0xa')](),controller['destroy']);module[_0xaffe('0x10')]=router;