Built motion from commit 85328c08.|2.5.50
[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 _0xfaba=['put','update','delete','destroy','exports','multer','util','Router','fs-extra','../../components/auth/service','./pause.controller','get','isAuthenticated','/:id','show','post','create'];(function(_0x5ace67,_0x32afe6){var _0x9a5c29=function(_0x4f001e){while(--_0x4f001e){_0x5ace67['push'](_0x5ace67['shift']());}};_0x9a5c29(++_0x32afe6);}(_0xfaba,0x16a));var _0xafab=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xfaba[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xafab('0x0'));var util=require(_0xafab('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xafab('0x2')]();var fs_extra=require(_0xafab('0x3'));var auth=require(_0xafab('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xafab('0x5'));router[_0xafab('0x6')]('/',auth[_0xafab('0x7')](),controller['index']);router[_0xafab('0x6')](_0xafab('0x8'),auth['isAuthenticated'](),controller[_0xafab('0x9')]);router[_0xafab('0xa')]('/',auth['isAuthenticated'](),controller[_0xafab('0xb')]);router[_0xafab('0xc')](_0xafab('0x8'),auth['isAuthenticated'](),controller[_0xafab('0xd')]);router[_0xafab('0xe')](_0xafab('0x8'),auth[_0xafab('0x7')](),controller[_0xafab('0xf')]);module[_0xafab('0x10')]=router;