Built motion from commit 97f2f211.|2.6.31
[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 _0x63cf=['exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./pause.controller','get','isAuthenticated','index','show','post','create','put','/:id','update','delete'];(function(_0x25f84e,_0x2f3f00){var _0x31c58e=function(_0x4a4a8d){while(--_0x4a4a8d){_0x25f84e['push'](_0x25f84e['shift']());}};_0x31c58e(++_0x2f3f00);}(_0x63cf,0xc9));var _0xf63c=function(_0x2aa0e7,_0x4e5145){_0x2aa0e7=_0x2aa0e7-0x0;var _0x1472c0=_0x63cf[_0x2aa0e7];return _0x1472c0;};'use strict';var multer=require(_0xf63c('0x0'));var util=require(_0xf63c('0x1'));var path=require(_0xf63c('0x2'));var timeout=require(_0xf63c('0x3'));var express=require(_0xf63c('0x4'));var router=express[_0xf63c('0x5')]();var fs_extra=require(_0xf63c('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xf63c('0x7'));var config=require('../../config/environment');var controller=require(_0xf63c('0x8'));router[_0xf63c('0x9')]('/',auth[_0xf63c('0xa')](),controller[_0xf63c('0xb')]);router[_0xf63c('0x9')]('/:id',auth[_0xf63c('0xa')](),controller[_0xf63c('0xc')]);router[_0xf63c('0xd')]('/',auth[_0xf63c('0xa')](),controller[_0xf63c('0xe')]);router[_0xf63c('0xf')](_0xf63c('0x10'),auth[_0xf63c('0xa')](),controller[_0xf63c('0x11')]);router[_0xf63c('0x12')](_0xf63c('0x10'),auth['isAuthenticated'](),controller['destroy']);module[_0xf63c('0x13')]=router;