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 _0xc682=['isAuthenticated','index','/:id','show','get','/:id/run','post','create','put','update','delete','destroy','exports','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./schedule.controller'];(function(_0x4d07cc,_0x587613){var _0x42de3b=function(_0x201f78){while(--_0x201f78){_0x4d07cc['push'](_0x4d07cc['shift']());}};_0x42de3b(++_0x587613);}(_0xc682,0x1c6));var _0x2c68=function(_0x577103,_0x33f378){_0x577103=_0x577103-0x0;var _0x273936=_0xc682[_0x577103];return _0x273936;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x2c68('0x0'));var timeout=require('connect-timeout');var express=require(_0x2c68('0x1'));var router=express[_0x2c68('0x2')]();var fs_extra=require(_0x2c68('0x3'));var auth=require(_0x2c68('0x4'));var interaction=require(_0x2c68('0x5'));var config=require(_0x2c68('0x6'));var controller=require(_0x2c68('0x7'));router['get']('/',auth[_0x2c68('0x8')](),controller[_0x2c68('0x9')]);router['get'](_0x2c68('0xa'),auth[_0x2c68('0x8')](),controller[_0x2c68('0xb')]);router[_0x2c68('0xc')](_0x2c68('0xd'),auth[_0x2c68('0x8')](),controller['run']);router[_0x2c68('0xe')]('/',auth[_0x2c68('0x8')](),controller[_0x2c68('0xf')]);router[_0x2c68('0x10')]('/:id',auth[_0x2c68('0x8')](),controller[_0x2c68('0x11')]);router[_0x2c68('0x12')](_0x2c68('0xa'),auth['isAuthenticated'](),controller[_0x2c68('0x13')]);module[_0x2c68('0x14')]=router;