Built motion from commit (unavailable).|2.5.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 _0xc3db=['./pause.controller','get','isAuthenticated','index','/:id','show','post','create','update','destroy','exports','multer','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x5407e6,_0x18fcc6){var _0x215815=function(_0x204cdf){while(--_0x204cdf){_0x5407e6['push'](_0x5407e6['shift']());}};_0x215815(++_0x18fcc6);}(_0xc3db,0x1a3));var _0xbc3d=function(_0x339129,_0x86dcc6){_0x339129=_0x339129-0x0;var _0x1570df=_0xc3db[_0x339129];return _0x1570df;};'use strict';var multer=require(_0xbc3d('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xbc3d('0x1')]();var fs_extra=require(_0xbc3d('0x2'));var auth=require(_0xbc3d('0x3'));var interaction=require(_0xbc3d('0x4'));var config=require(_0xbc3d('0x5'));var controller=require(_0xbc3d('0x6'));router[_0xbc3d('0x7')]('/',auth[_0xbc3d('0x8')](),controller[_0xbc3d('0x9')]);router[_0xbc3d('0x7')](_0xbc3d('0xa'),auth['isAuthenticated'](),controller[_0xbc3d('0xb')]);router[_0xbc3d('0xc')]('/',auth['isAuthenticated'](),controller[_0xbc3d('0xd')]);router['put']('/:id',auth[_0xbc3d('0x8')](),controller[_0xbc3d('0xe')]);router['delete']('/:id',auth[_0xbc3d('0x8')](),controller[_0xbc3d('0xf')]);module[_0xbc3d('0x10')]=router;