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 _0xd6d6=['post','/preview','getPreview','/timezone','getTimezone','update','delete','destroy','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopper.controller','get','isAuthenticated','/describe','describe','/opencontacts','/timezones','getTimezones','/:id','show'];(function(_0x5b788c,_0x246974){var _0x4736d1=function(_0x30e1ce){while(--_0x30e1ce){_0x5b788c['push'](_0x5b788c['shift']());}};_0x4736d1(++_0x246974);}(_0xd6d6,0xbe));var _0x6d6d=function(_0x176190,_0xf8b205){_0x176190=_0x176190-0x0;var _0x2c2068=_0xd6d6[_0x176190];return _0x2c2068;};'use strict';var multer=require(_0x6d6d('0x0'));var util=require(_0x6d6d('0x1'));var path=require(_0x6d6d('0x2'));var timeout=require(_0x6d6d('0x3'));var express=require('express');var router=express[_0x6d6d('0x4')]();var auth=require(_0x6d6d('0x5'));var interaction=require(_0x6d6d('0x6'));var config=require(_0x6d6d('0x7'));var controller=require(_0x6d6d('0x8'));router[_0x6d6d('0x9')]('/',auth[_0x6d6d('0xa')](),controller['index']);router[_0x6d6d('0x9')](_0x6d6d('0xb'),auth[_0x6d6d('0xa')](),controller[_0x6d6d('0xc')]);router[_0x6d6d('0x9')](_0x6d6d('0xd'),auth[_0x6d6d('0xa')](),controller['getOpenContacts']);router['get'](_0x6d6d('0xe'),auth[_0x6d6d('0xa')](),controller[_0x6d6d('0xf')]);router[_0x6d6d('0x9')](_0x6d6d('0x10'),auth['isAuthenticated'](),controller[_0x6d6d('0x11')]);router[_0x6d6d('0x12')]('/',auth['isAuthenticated'](),controller['create']);router[_0x6d6d('0x12')](_0x6d6d('0x13'),auth[_0x6d6d('0xa')](),controller[_0x6d6d('0x14')]);router[_0x6d6d('0x12')](_0x6d6d('0x15'),auth[_0x6d6d('0xa')](),controller[_0x6d6d('0x16')]);router['put'](_0x6d6d('0x10'),auth[_0x6d6d('0xa')](),controller[_0x6d6d('0x17')]);router[_0x6d6d('0x18')](_0x6d6d('0x10'),auth['isAuthenticated'](),controller[_0x6d6d('0x19')]);module['exports']=router;