Built motion from commit 47436d59.|2.6.7
[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 _0xe96b=['multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./pause.controller','get','isAuthenticated','/:id','show','post','create','put','exports'];(function(_0x36da94,_0xe4c533){var _0x35a0ec=function(_0x25747c){while(--_0x25747c){_0x36da94['push'](_0x36da94['shift']());}};_0x35a0ec(++_0xe4c533);}(_0xe96b,0xbb));var _0xbe96=function(_0x25b9ac,_0x1da0ab){_0x25b9ac=_0x25b9ac-0x0;var _0x1d30e9=_0xe96b[_0x25b9ac];return _0x1d30e9;};'use strict';var multer=require(_0xbe96('0x0'));var util=require(_0xbe96('0x1'));var path=require('path');var timeout=require(_0xbe96('0x2'));var express=require(_0xbe96('0x3'));var router=express[_0xbe96('0x4')]();var fs_extra=require(_0xbe96('0x5'));var auth=require(_0xbe96('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xbe96('0x7'));var controller=require(_0xbe96('0x8'));router[_0xbe96('0x9')]('/',auth[_0xbe96('0xa')](),controller['index']);router[_0xbe96('0x9')](_0xbe96('0xb'),auth[_0xbe96('0xa')](),controller[_0xbe96('0xc')]);router[_0xbe96('0xd')]('/',auth[_0xbe96('0xa')](),controller[_0xbe96('0xe')]);router[_0xbe96('0xf')](_0xbe96('0xb'),auth[_0xbe96('0xa')](),controller['update']);router['delete']('/:id',auth[_0xbe96('0xa')](),controller['destroy']);module[_0xbe96('0x10')]=router;