1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xd8cc=['exports','util','connect-timeout','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','/:id/run','run','post','create','put','update','delete','destroy'];(function(_0x3dfafc,_0x2e10d9){var _0x4e2352=function(_0x4f31cf){while(--_0x4f31cf){_0x3dfafc['push'](_0x3dfafc['shift']());}};_0x4e2352(++_0x2e10d9);}(_0xd8cc,0x1ee));var _0xcd8c=function(_0x271060,_0x3f86b1){_0x271060=_0x271060-0x0;var _0x40540b=_0xd8cc[_0x271060];return _0x40540b;};'use strict';var multer=require('multer');var util=require(_0xcd8c('0x0'));var path=require('path');var timeout=require(_0xcd8c('0x1'));var express=require('express');var router=express[_0xcd8c('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0xcd8c('0x3'));var config=require(_0xcd8c('0x4'));var controller=require('./schedule.controller');router[_0xcd8c('0x5')]('/',auth[_0xcd8c('0x6')](),controller['index']);router['get'](_0xcd8c('0x7'),auth[_0xcd8c('0x6')](),controller['show']);router[_0xcd8c('0x5')](_0xcd8c('0x8'),auth[_0xcd8c('0x6')](),controller[_0xcd8c('0x9')]);router[_0xcd8c('0xa')]('/',auth[_0xcd8c('0x6')](),controller[_0xcd8c('0xb')]);router[_0xcd8c('0xc')](_0xcd8c('0x7'),auth['isAuthenticated'](),controller[_0xcd8c('0xd')]);router[_0xcd8c('0xe')](_0xcd8c('0x7'),auth[_0xcd8c('0x6')](),controller[_0xcd8c('0xf')]);module[_0xcd8c('0x10')]=router;