Built motion from commit b5996064.|2.6.21
[motion2.git] / server / api / cmHopper / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x3504=['getPreviewRecall','post','/preview','getPreview','put','update','delete','destroy','exports','express','Router','../../components/auth/service','./cmHopper.controller','get','isAuthenticated','index','/describe','describe','getOpenContacts','/timezones','getTimezones','/:id','show','/:id/previewrecall'];(function(_0x436adc,_0x5c9ae1){var _0x421a87=function(_0x29c7b9){while(--_0x29c7b9){_0x436adc['push'](_0x436adc['shift']());}};_0x421a87(++_0x5c9ae1);}(_0x3504,0x1d1));var _0x4350=function(_0x284af9,_0x5a0a8f){_0x284af9=_0x284af9-0x0;var _0x37e968=_0x3504[_0x284af9];return _0x37e968;};'use strict';var express=require(_0x4350('0x0'));var router=express[_0x4350('0x1')]();var auth=require(_0x4350('0x2'));var controller=require(_0x4350('0x3'));router[_0x4350('0x4')]('/',auth[_0x4350('0x5')](),controller[_0x4350('0x6')]);router[_0x4350('0x4')](_0x4350('0x7'),auth[_0x4350('0x5')](),controller[_0x4350('0x8')]);router[_0x4350('0x4')]('/opencontacts',auth['isAuthenticated'](),controller[_0x4350('0x9')]);router[_0x4350('0x4')](_0x4350('0xa'),auth[_0x4350('0x5')](),controller[_0x4350('0xb')]);router[_0x4350('0x4')](_0x4350('0xc'),auth['isAuthenticated'](),controller[_0x4350('0xd')]);router['get'](_0x4350('0xe'),auth[_0x4350('0x5')](),controller[_0x4350('0xf')]);router[_0x4350('0x10')]('/',auth[_0x4350('0x5')](),controller['create']);router[_0x4350('0x10')](_0x4350('0x11'),auth[_0x4350('0x5')](),controller[_0x4350('0x12')]);router['post']('/timezone',auth[_0x4350('0x5')](),controller['getTimezone']);router[_0x4350('0x13')]('/:id',auth[_0x4350('0x5')](),controller[_0x4350('0x14')]);router[_0x4350('0x15')](_0x4350('0xc'),auth[_0x4350('0x5')](),controller[_0x4350('0x16')]);module[_0x4350('0x17')]=router;