6657d67ab9185b2bb37be93d7b8be9bfb419fae3
[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 _0x8fbf=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./pause.controller','get','isAuthenticated','index','/:id','show','post','update','delete','destroy','exports','multer','util','path'];(function(_0x4b3edd,_0x415325){var _0x4baf90=function(_0x19e868){while(--_0x19e868){_0x4b3edd['push'](_0x4b3edd['shift']());}};_0x4baf90(++_0x415325);}(_0x8fbf,0x129));var _0xf8fb=function(_0xe01e28,_0x462ffb){_0xe01e28=_0xe01e28-0x0;var _0x1720dc=_0x8fbf[_0xe01e28];return _0x1720dc;};'use strict';var multer=require(_0xf8fb('0x0'));var util=require(_0xf8fb('0x1'));var path=require(_0xf8fb('0x2'));var timeout=require(_0xf8fb('0x3'));var express=require(_0xf8fb('0x4'));var router=express[_0xf8fb('0x5')]();var fs_extra=require(_0xf8fb('0x6'));var auth=require(_0xf8fb('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0xf8fb('0x8'));var controller=require(_0xf8fb('0x9'));router[_0xf8fb('0xa')]('/',auth[_0xf8fb('0xb')](),controller[_0xf8fb('0xc')]);router['get'](_0xf8fb('0xd'),auth['isAuthenticated'](),controller[_0xf8fb('0xe')]);router[_0xf8fb('0xf')]('/',auth[_0xf8fb('0xb')](),controller['create']);router['put']('/:id',auth[_0xf8fb('0xb')](),controller[_0xf8fb('0x10')]);router[_0xf8fb('0x11')](_0xf8fb('0xd'),auth[_0xf8fb('0xb')](),controller[_0xf8fb('0x12')]);module[_0xf8fb('0x13')]=router;