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 _0x5d73=['get','isAuthenticated','index','/:id','show','post','put','update','delete','destroy','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./schedule.controller'];(function(_0xe3509d,_0x5d0023){var _0x177b11=function(_0x4cb089){while(--_0x4cb089){_0xe3509d['push'](_0xe3509d['shift']());}};_0x177b11(++_0x5d0023);}(_0x5d73,0x118));var _0x35d7=function(_0x43dbc2,_0x2525a7){_0x43dbc2=_0x43dbc2-0x0;var _0x3929b7=_0x5d73[_0x43dbc2];return _0x3929b7;};'use strict';var multer=require(_0x35d7('0x0'));var util=require(_0x35d7('0x1'));var path=require('path');var timeout=require(_0x35d7('0x2'));var express=require(_0x35d7('0x3'));var router=express['Router']();var auth=require(_0x35d7('0x4'));var interaction=require(_0x35d7('0x5'));var config=require(_0x35d7('0x6'));var controller=require(_0x35d7('0x7'));router[_0x35d7('0x8')]('/',auth[_0x35d7('0x9')](),controller[_0x35d7('0xa')]);router[_0x35d7('0x8')](_0x35d7('0xb'),auth[_0x35d7('0x9')](),controller[_0x35d7('0xc')]);router[_0x35d7('0x8')]('/:id/run',auth['isAuthenticated'](),controller['run']);router[_0x35d7('0xd')]('/',auth[_0x35d7('0x9')](),controller['create']);router[_0x35d7('0xe')](_0x35d7('0xb'),auth[_0x35d7('0x9')](),controller[_0x35d7('0xf')]);router[_0x35d7('0x10')](_0x35d7('0xb'),auth[_0x35d7('0x9')](),controller[_0x35d7('0x11')]);module['exports']=router;