Built motion from commit 911eb874.|2.6.31
[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 _0x849b=['getPreviewRecall','post','create','/timezone','getTimezone','put','delete','destroy','exports','express','../../components/auth/service','./cmHopper.controller','get','isAuthenticated','index','/describe','describe','/opencontacts','/timezones','/:id','show'];(function(_0x15797a,_0x16274f){var _0x3e2618=function(_0x2b6e99){while(--_0x2b6e99){_0x15797a['push'](_0x15797a['shift']());}};_0x3e2618(++_0x16274f);}(_0x849b,0x11a));var _0xb849=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x849b[_0x3dd15e];return _0x231fd0;};'use strict';var express=require(_0xb849('0x0'));var router=express['Router']();var auth=require(_0xb849('0x1'));var controller=require(_0xb849('0x2'));router[_0xb849('0x3')]('/',auth[_0xb849('0x4')](),controller[_0xb849('0x5')]);router[_0xb849('0x3')](_0xb849('0x6'),auth[_0xb849('0x4')](),controller[_0xb849('0x7')]);router[_0xb849('0x3')](_0xb849('0x8'),auth[_0xb849('0x4')](),controller['getOpenContacts']);router[_0xb849('0x3')](_0xb849('0x9'),auth[_0xb849('0x4')](),controller['getTimezones']);router[_0xb849('0x3')](_0xb849('0xa'),auth[_0xb849('0x4')](),controller[_0xb849('0xb')]);router['get']('/:id/previewrecall',auth[_0xb849('0x4')](),controller[_0xb849('0xc')]);router[_0xb849('0xd')]('/',auth[_0xb849('0x4')](),controller[_0xb849('0xe')]);router['post']('/preview',auth[_0xb849('0x4')](),controller['getPreview']);router[_0xb849('0xd')](_0xb849('0xf'),auth[_0xb849('0x4')](),controller[_0xb849('0x10')]);router[_0xb849('0x11')](_0xb849('0xa'),auth[_0xb849('0x4')](),controller['update']);router[_0xb849('0x12')](_0xb849('0xa'),auth['isAuthenticated'](),controller[_0xb849('0x13')]);module[_0xb849('0x14')]=router;