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 _0xfbb0=['isAuthenticated','index','/:id','/:id/run','run','post','create','put','update','delete','destroy','exports','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./schedule.controller','get'];(function(_0x4f5780,_0x552e47){var _0x2a41b0=function(_0x58e311){while(--_0x58e311){_0x4f5780['push'](_0x4f5780['shift']());}};_0x2a41b0(++_0x552e47);}(_0xfbb0,0x14c));var _0x0fbb=function(_0x3afecd,_0x493864){_0x3afecd=_0x3afecd-0x0;var _0x337bd0=_0xfbb0[_0x3afecd];return _0x337bd0;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x0fbb('0x0'));var timeout=require('connect-timeout');var express=require(_0x0fbb('0x1'));var router=express[_0x0fbb('0x2')]();var auth=require(_0x0fbb('0x3'));var interaction=require(_0x0fbb('0x4'));var config=require(_0x0fbb('0x5'));var controller=require(_0x0fbb('0x6'));router[_0x0fbb('0x7')]('/',auth[_0x0fbb('0x8')](),controller[_0x0fbb('0x9')]);router[_0x0fbb('0x7')](_0x0fbb('0xa'),auth[_0x0fbb('0x8')](),controller['show']);router['get'](_0x0fbb('0xb'),auth[_0x0fbb('0x8')](),controller[_0x0fbb('0xc')]);router[_0x0fbb('0xd')]('/',auth[_0x0fbb('0x8')](),controller[_0x0fbb('0xe')]);router[_0x0fbb('0xf')](_0x0fbb('0xa'),auth['isAuthenticated'](),controller[_0x0fbb('0x10')]);router[_0x0fbb('0x11')](_0x0fbb('0xa'),auth[_0x0fbb('0x8')](),controller[_0x0fbb('0x12')]);module[_0x0fbb('0x13')]=router;