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 _0x9fce=['../../config/environment','./interval.controller','get','isAuthenticated','index','/:id','show','/:id/sub_intervals','getIntervals','post','create','addInterval','/:id/sub_intervals/create_many','addIntervals','put','update','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x9fce,0x99));var _0xe9fc=function(_0x205e5a,_0x5c19fb){_0x205e5a=_0x205e5a-0x0;var _0x10da58=_0x9fce[_0x205e5a];return _0x10da58;};'use strict';var multer=require(_0xe9fc('0x0'));var util=require(_0xe9fc('0x1'));var path=require(_0xe9fc('0x2'));var timeout=require(_0xe9fc('0x3'));var express=require(_0xe9fc('0x4'));var router=express[_0xe9fc('0x5')]();var fs_extra=require(_0xe9fc('0x6'));var auth=require(_0xe9fc('0x7'));var interaction=require(_0xe9fc('0x8'));var config=require(_0xe9fc('0x9'));var controller=require(_0xe9fc('0xa'));router[_0xe9fc('0xb')]('/',auth[_0xe9fc('0xc')](),controller[_0xe9fc('0xd')]);router['get'](_0xe9fc('0xe'),auth[_0xe9fc('0xc')](),controller[_0xe9fc('0xf')]);router[_0xe9fc('0xb')](_0xe9fc('0x10'),auth[_0xe9fc('0xc')](),controller[_0xe9fc('0x11')]);router[_0xe9fc('0x12')]('/',auth[_0xe9fc('0xc')](),controller[_0xe9fc('0x13')]);router[_0xe9fc('0x12')](_0xe9fc('0x10'),auth[_0xe9fc('0xc')](),controller[_0xe9fc('0x14')]);router['post'](_0xe9fc('0x15'),auth[_0xe9fc('0xc')](),controller[_0xe9fc('0x16')]);router[_0xe9fc('0x17')]('/:id',auth[_0xe9fc('0xc')](),controller[_0xe9fc('0x18')]);router[_0xe9fc('0x19')](_0xe9fc('0xe'),auth[_0xe9fc('0xc')](),controller[_0xe9fc('0x1a')]);module['exports']=router;