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 _0xc8b2=['isAuthenticated','index','/describe','describe','/opencontacts','getOpenContacts','/timezones','getTimezones','/:id','show','/:id/previewrecall','getPreviewRecall','post','create','/preview','getPreview','/timezone','getTimezone','put','update','delete','destroy','Router','./cmHopper.controller','get'];(function(_0x1695fa,_0x39e91a){var _0x5391ad=function(_0x497c44){while(--_0x497c44){_0x1695fa['push'](_0x1695fa['shift']());}};_0x5391ad(++_0x39e91a);}(_0xc8b2,0x142));var _0x2c8b=function(_0x20c55b,_0x4ea986){_0x20c55b=_0x20c55b-0x0;var _0x5002c2=_0xc8b2[_0x20c55b];return _0x5002c2;};'use strict';var express=require('express');var router=express[_0x2c8b('0x0')]();var auth=require('../../components/auth/service');var controller=require(_0x2c8b('0x1'));router[_0x2c8b('0x2')]('/',auth[_0x2c8b('0x3')](),controller[_0x2c8b('0x4')]);router[_0x2c8b('0x2')](_0x2c8b('0x5'),auth['isAuthenticated'](),controller[_0x2c8b('0x6')]);router[_0x2c8b('0x2')](_0x2c8b('0x7'),auth[_0x2c8b('0x3')](),controller[_0x2c8b('0x8')]);router[_0x2c8b('0x2')](_0x2c8b('0x9'),auth[_0x2c8b('0x3')](),controller[_0x2c8b('0xa')]);router[_0x2c8b('0x2')](_0x2c8b('0xb'),auth[_0x2c8b('0x3')](),controller[_0x2c8b('0xc')]);router[_0x2c8b('0x2')](_0x2c8b('0xd'),auth[_0x2c8b('0x3')](),controller[_0x2c8b('0xe')]);router[_0x2c8b('0xf')]('/',auth[_0x2c8b('0x3')](),controller[_0x2c8b('0x10')]);router[_0x2c8b('0xf')](_0x2c8b('0x11'),auth['isAuthenticated'](),controller[_0x2c8b('0x12')]);router[_0x2c8b('0xf')](_0x2c8b('0x13'),auth['isAuthenticated'](),controller[_0x2c8b('0x14')]);router[_0x2c8b('0x15')](_0x2c8b('0xb'),auth[_0x2c8b('0x3')](),controller[_0x2c8b('0x16')]);router[_0x2c8b('0x17')](_0x2c8b('0xb'),auth['isAuthenticated'](),controller[_0x2c8b('0x18')]);module['exports']=router;