e139933d56d6ccca438fd86508b50303d106b8db
[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 _0x0789=['put','update','destroy','multer','util','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./pause.controller','get','isAuthenticated','/:id','show','create'];(function(_0x2eaac4,_0x535ffa){var _0x163878=function(_0x46bcfb){while(--_0x46bcfb){_0x2eaac4['push'](_0x2eaac4['shift']());}};_0x163878(++_0x535ffa);}(_0x0789,0x124));var _0x9078=function(_0x281bb2,_0x27f29a){_0x281bb2=_0x281bb2-0x0;var _0x1f5828=_0x0789[_0x281bb2];return _0x1f5828;};'use strict';var multer=require(_0x9078('0x0'));var util=require(_0x9078('0x1'));var path=require('path');var timeout=require(_0x9078('0x2'));var express=require(_0x9078('0x3'));var router=express['Router']();var fs_extra=require(_0x9078('0x4'));var auth=require(_0x9078('0x5'));var interaction=require(_0x9078('0x6'));var config=require(_0x9078('0x7'));var controller=require(_0x9078('0x8'));router[_0x9078('0x9')]('/',auth[_0x9078('0xa')](),controller['index']);router[_0x9078('0x9')](_0x9078('0xb'),auth[_0x9078('0xa')](),controller[_0x9078('0xc')]);router['post']('/',auth[_0x9078('0xa')](),controller[_0x9078('0xd')]);router[_0x9078('0xe')]('/:id',auth[_0x9078('0xa')](),controller[_0x9078('0xf')]);router['delete']('/:id',auth[_0x9078('0xa')](),controller[_0x9078('0x10')]);module['exports']=router;