Built motion from commit 47436d59.|2.6.7
[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 _0x255e=['put','update','delete','express','Router','../../components/auth/service','./cmHopper.controller','get','isAuthenticated','index','/describe','describe','/opencontacts','getOpenContacts','/timezones','getTimezones','/:id','show','/:id/previewrecall','getPreviewRecall','post','create','/preview','getPreview','/timezone','getTimezone'];(function(_0x35afe0,_0x2dde70){var _0x3e294f=function(_0x247af5){while(--_0x247af5){_0x35afe0['push'](_0x35afe0['shift']());}};_0x3e294f(++_0x2dde70);}(_0x255e,0x1a3));var _0xe255=function(_0x1b916d,_0x14a75c){_0x1b916d=_0x1b916d-0x0;var _0x28f3e2=_0x255e[_0x1b916d];return _0x28f3e2;};'use strict';var express=require(_0xe255('0x0'));var router=express[_0xe255('0x1')]();var auth=require(_0xe255('0x2'));var controller=require(_0xe255('0x3'));router[_0xe255('0x4')]('/',auth[_0xe255('0x5')](),controller[_0xe255('0x6')]);router[_0xe255('0x4')](_0xe255('0x7'),auth[_0xe255('0x5')](),controller[_0xe255('0x8')]);router[_0xe255('0x4')](_0xe255('0x9'),auth[_0xe255('0x5')](),controller[_0xe255('0xa')]);router[_0xe255('0x4')](_0xe255('0xb'),auth['isAuthenticated'](),controller[_0xe255('0xc')]);router[_0xe255('0x4')](_0xe255('0xd'),auth[_0xe255('0x5')](),controller[_0xe255('0xe')]);router[_0xe255('0x4')](_0xe255('0xf'),auth[_0xe255('0x5')](),controller[_0xe255('0x10')]);router[_0xe255('0x11')]('/',auth[_0xe255('0x5')](),controller[_0xe255('0x12')]);router['post'](_0xe255('0x13'),auth[_0xe255('0x5')](),controller[_0xe255('0x14')]);router[_0xe255('0x11')](_0xe255('0x15'),auth[_0xe255('0x5')](),controller[_0xe255('0x16')]);router[_0xe255('0x17')](_0xe255('0xd'),auth[_0xe255('0x5')](),controller[_0xe255('0x18')]);router[_0xe255('0x19')](_0xe255('0xd'),auth[_0xe255('0x5')](),controller['destroy']);module['exports']=router;