Built motion from commit 67e5df37.|2.0.66
[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 _0x929e=['path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/:id','isAuthenticated','show','post','create','put','update','delete','destroy','exports','multer','util'];(function(_0x4e7fcd,_0x5eaa94){var _0x1cded2=function(_0xc7d629){while(--_0xc7d629){_0x4e7fcd['push'](_0x4e7fcd['shift']());}};_0x1cded2(++_0x5eaa94);}(_0x929e,0xb2));var _0xe929=function(_0x5de792,_0x5a18ad){_0x5de792=_0x5de792-0x0;var _0x4eddb1=_0x929e[_0x5de792];return _0x4eddb1;};'use strict';var multer=require(_0xe929('0x0'));var util=require(_0xe929('0x1'));var path=require(_0xe929('0x2'));var express=require(_0xe929('0x3'));var router=express[_0xe929('0x4')]();var auth=require(_0xe929('0x5'));var interaction=require(_0xe929('0x6'));var config=require(_0xe929('0x7'));var controller=require('./pause.controller');router[_0xe929('0x8')]('/',auth['isAuthenticated'](),controller[_0xe929('0x9')]);router['get'](_0xe929('0xa'),auth[_0xe929('0xb')](),controller[_0xe929('0xc')]);router[_0xe929('0xd')]('/',auth[_0xe929('0xb')](),controller[_0xe929('0xe')]);router[_0xe929('0xf')]('/:id',auth[_0xe929('0xb')](),controller[_0xe929('0x10')]);router[_0xe929('0x11')](_0xe929('0xa'),auth['isAuthenticated'](),controller[_0xe929('0x12')]);module[_0xe929('0x13')]=router;