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