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 _0xc024=['isAuthenticated','/:id','/:id/run','create','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./schedule.controller','get'];(function(_0x5f1fd3,_0x2592ea){var _0x5ecb14=function(_0x3c3972){while(--_0x3c3972){_0x5f1fd3['push'](_0x5f1fd3['shift']());}};_0x5ecb14(++_0x2592ea);}(_0xc024,0x19f));var _0x4c02=function(_0x279d37,_0x14de3f){_0x279d37=_0x279d37-0x0;var _0x530173=_0xc024[_0x279d37];return _0x530173;};'use strict';var multer=require('multer');var util=require(_0x4c02('0x0'));var path=require(_0x4c02('0x1'));var timeout=require(_0x4c02('0x2'));var express=require(_0x4c02('0x3'));var router=express[_0x4c02('0x4')]();var auth=require(_0x4c02('0x5'));var interaction=require(_0x4c02('0x6'));var config=require(_0x4c02('0x7'));var controller=require(_0x4c02('0x8'));router[_0x4c02('0x9')]('/',auth[_0x4c02('0xa')](),controller['index']);router[_0x4c02('0x9')](_0x4c02('0xb'),auth[_0x4c02('0xa')](),controller['show']);router[_0x4c02('0x9')](_0x4c02('0xc'),auth[_0x4c02('0xa')](),controller['run']);router['post']('/',auth['isAuthenticated'](),controller[_0x4c02('0xd')]);router['put'](_0x4c02('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x4c02('0xe')](_0x4c02('0xb'),auth[_0x4c02('0xa')](),controller[_0x4c02('0xf')]);module[_0x4c02('0x10')]=router;