6925448b3bc7993889b1dd53e7412d0d2fcc4618
[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 _0xa88f=['delete','destroy','exports','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./pause.controller','get','isAuthenticated','index','show','post','create','put','update'];(function(_0x3f834a,_0x35def8){var _0x40fc2e=function(_0x396fff){while(--_0x396fff){_0x3f834a['push'](_0x3f834a['shift']());}};_0x40fc2e(++_0x35def8);}(_0xa88f,0xb7));var _0xfa88=function(_0x41fe09,_0xbe6e1d){_0x41fe09=_0x41fe09-0x0;var _0x4b120d=_0xa88f[_0x41fe09];return _0x4b120d;};'use strict';var multer=require('multer');var util=require(_0xfa88('0x0'));var path=require(_0xfa88('0x1'));var timeout=require(_0xfa88('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0xfa88('0x3'));var interaction=require(_0xfa88('0x4'));var config=require(_0xfa88('0x5'));var controller=require(_0xfa88('0x6'));router[_0xfa88('0x7')]('/',auth[_0xfa88('0x8')](),controller[_0xfa88('0x9')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0xfa88('0xa')]);router[_0xfa88('0xb')]('/',auth[_0xfa88('0x8')](),controller[_0xfa88('0xc')]);router[_0xfa88('0xd')]('/:id',auth['isAuthenticated'](),controller[_0xfa88('0xe')]);router[_0xfa88('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xfa88('0x10')]);module[_0xfa88('0x11')]=router;