Built motion from commit 1fd437e9.|2.6.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 _0x66ef=['delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./pause.controller','get','isAuthenticated','/:id','show','create','put','update'];(function(_0x1373f8,_0x3102e3){var _0x588833=function(_0x51b547){while(--_0x51b547){_0x1373f8['push'](_0x1373f8['shift']());}};_0x588833(++_0x3102e3);}(_0x66ef,0x145));var _0xf66e=function(_0x28f9cd,_0x4141fa){_0x28f9cd=_0x28f9cd-0x0;var _0x23ca51=_0x66ef[_0x28f9cd];return _0x23ca51;};'use strict';var multer=require(_0xf66e('0x0'));var util=require(_0xf66e('0x1'));var path=require(_0xf66e('0x2'));var timeout=require(_0xf66e('0x3'));var express=require(_0xf66e('0x4'));var router=express[_0xf66e('0x5')]();var fs_extra=require(_0xf66e('0x6'));var auth=require(_0xf66e('0x7'));var interaction=require(_0xf66e('0x8'));var config=require('../../config/environment');var controller=require(_0xf66e('0x9'));router[_0xf66e('0xa')]('/',auth[_0xf66e('0xb')](),controller['index']);router[_0xf66e('0xa')](_0xf66e('0xc'),auth[_0xf66e('0xb')](),controller[_0xf66e('0xd')]);router['post']('/',auth[_0xf66e('0xb')](),controller[_0xf66e('0xe')]);router[_0xf66e('0xf')]('/:id',auth[_0xf66e('0xb')](),controller[_0xf66e('0x10')]);router[_0xf66e('0x11')]('/:id',auth[_0xf66e('0xb')](),controller[_0xf66e('0x12')]);module['exports']=router;