Built motion from commit (unavailable).|2.5.4
[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 _0x6e5e=['connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./pause.controller','isAuthenticated','index','get','show','create','put','/:id','update','delete','destroy','exports','multer','path'];(function(_0x1275ad,_0x3b4a8f){var _0x4e167a=function(_0x4f9386){while(--_0x4f9386){_0x1275ad['push'](_0x1275ad['shift']());}};_0x4e167a(++_0x3b4a8f);}(_0x6e5e,0xe2));var _0xe6e5=function(_0x26ec4d,_0x14513a){_0x26ec4d=_0x26ec4d-0x0;var _0x1ac9c5=_0x6e5e[_0x26ec4d];return _0x1ac9c5;};'use strict';var multer=require(_0xe6e5('0x0'));var util=require('util');var path=require(_0xe6e5('0x1'));var timeout=require(_0xe6e5('0x2'));var express=require(_0xe6e5('0x3'));var router=express['Router']();var auth=require(_0xe6e5('0x4'));var interaction=require(_0xe6e5('0x5'));var config=require(_0xe6e5('0x6'));var controller=require(_0xe6e5('0x7'));router['get']('/',auth[_0xe6e5('0x8')](),controller[_0xe6e5('0x9')]);router[_0xe6e5('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xe6e5('0xb')]);router['post']('/',auth[_0xe6e5('0x8')](),controller[_0xe6e5('0xc')]);router[_0xe6e5('0xd')](_0xe6e5('0xe'),auth['isAuthenticated'](),controller[_0xe6e5('0xf')]);router[_0xe6e5('0x10')](_0xe6e5('0xe'),auth[_0xe6e5('0x8')](),controller[_0xe6e5('0x11')]);module[_0xe6e5('0x12')]=router;