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 _0xd721=['delete','destroy','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./schedule.controller','get','isAuthenticated','index','/:id','show','/:id/run','run','post','create','put','update'];(function(_0x5f56bb,_0x1c65ec){var _0x3a44e5=function(_0x460d5c){while(--_0x460d5c){_0x5f56bb['push'](_0x5f56bb['shift']());}};_0x3a44e5(++_0x1c65ec);}(_0xd721,0x75));var _0x1d72=function(_0x461dc0,_0x279393){_0x461dc0=_0x461dc0-0x0;var _0x2dc250=_0xd721[_0x461dc0];return _0x2dc250;};'use strict';var multer=require(_0x1d72('0x0'));var util=require(_0x1d72('0x1'));var path=require(_0x1d72('0x2'));var timeout=require(_0x1d72('0x3'));var express=require('express');var router=express[_0x1d72('0x4')]();var fs_extra=require(_0x1d72('0x5'));var auth=require(_0x1d72('0x6'));var interaction=require(_0x1d72('0x7'));var config=require(_0x1d72('0x8'));var controller=require(_0x1d72('0x9'));router[_0x1d72('0xa')]('/',auth[_0x1d72('0xb')](),controller[_0x1d72('0xc')]);router[_0x1d72('0xa')](_0x1d72('0xd'),auth[_0x1d72('0xb')](),controller[_0x1d72('0xe')]);router['get'](_0x1d72('0xf'),auth[_0x1d72('0xb')](),controller[_0x1d72('0x10')]);router[_0x1d72('0x11')]('/',auth['isAuthenticated'](),controller[_0x1d72('0x12')]);router[_0x1d72('0x13')](_0x1d72('0xd'),auth[_0x1d72('0xb')](),controller[_0x1d72('0x14')]);router[_0x1d72('0x15')](_0x1d72('0xd'),auth['isAuthenticated'](),controller[_0x1d72('0x16')]);module['exports']=router;