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 _0xb776=['connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./schedule.controller','isAuthenticated','get','/:id','show','run','post','create','put','multer','util','path'];(function(_0x78b7b1,_0x1cef2b){var _0x2b2d82=function(_0x5ea24e){while(--_0x5ea24e){_0x78b7b1['push'](_0x78b7b1['shift']());}};_0x2b2d82(++_0x1cef2b);}(_0xb776,0x140));var _0x6b77=function(_0x4d9ee6,_0x21df64){_0x4d9ee6=_0x4d9ee6-0x0;var _0x1f6cb0=_0xb776[_0x4d9ee6];return _0x1f6cb0;};'use strict';var multer=require(_0x6b77('0x0'));var util=require(_0x6b77('0x1'));var path=require(_0x6b77('0x2'));var timeout=require(_0x6b77('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x6b77('0x4'));var auth=require(_0x6b77('0x5'));var interaction=require(_0x6b77('0x6'));var config=require(_0x6b77('0x7'));var controller=require(_0x6b77('0x8'));router['get']('/',auth[_0x6b77('0x9')](),controller['index']);router[_0x6b77('0xa')](_0x6b77('0xb'),auth[_0x6b77('0x9')](),controller[_0x6b77('0xc')]);router[_0x6b77('0xa')]('/:id/run',auth['isAuthenticated'](),controller[_0x6b77('0xd')]);router[_0x6b77('0xe')]('/',auth[_0x6b77('0x9')](),controller[_0x6b77('0xf')]);router[_0x6b77('0x10')](_0x6b77('0xb'),auth[_0x6b77('0x9')](),controller['update']);router['delete'](_0x6b77('0xb'),auth[_0x6b77('0x9')](),controller['destroy']);module['exports']=router;