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 _0x06e5=['index','get','/:id','isAuthenticated','show','/:id/run','run','post','create','put','update','delete','multer','util','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./schedule.controller'];(function(_0x46aebd,_0x488973){var _0x549577=function(_0x1dbcda){while(--_0x1dbcda){_0x46aebd['push'](_0x46aebd['shift']());}};_0x549577(++_0x488973);}(_0x06e5,0x70));var _0x506e=function(_0x22f8ab,_0x15d8ff){_0x22f8ab=_0x22f8ab-0x0;var _0x2a70e5=_0x06e5[_0x22f8ab];return _0x2a70e5;};'use strict';var multer=require(_0x506e('0x0'));var util=require(_0x506e('0x1'));var path=require('path');var timeout=require(_0x506e('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x506e('0x3'));var auth=require(_0x506e('0x4'));var interaction=require(_0x506e('0x5'));var config=require(_0x506e('0x6'));var controller=require(_0x506e('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x506e('0x8')]);router[_0x506e('0x9')](_0x506e('0xa'),auth[_0x506e('0xb')](),controller[_0x506e('0xc')]);router[_0x506e('0x9')](_0x506e('0xd'),auth[_0x506e('0xb')](),controller[_0x506e('0xe')]);router[_0x506e('0xf')]('/',auth[_0x506e('0xb')](),controller[_0x506e('0x10')]);router[_0x506e('0x11')]('/:id',auth[_0x506e('0xb')](),controller[_0x506e('0x12')]);router[_0x506e('0x13')](_0x506e('0xa'),auth[_0x506e('0xb')](),controller['destroy']);module['exports']=router;