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 _0x3cf2=['get','isAuthenticated','index','describe','/:id','create','put','update','destroy','exports','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller'];(function(_0x1162f9,_0x35f87c){var _0x75257c=function(_0x11ac6b){while(--_0x11ac6b){_0x1162f9['push'](_0x1162f9['shift']());}};_0x75257c(++_0x35f87c);}(_0x3cf2,0x1de));var _0x23cf=function(_0x45394c,_0x4015ed){_0x45394c=_0x45394c-0x0;var _0x321ea8=_0x3cf2[_0x45394c];return _0x321ea8;};'use strict';var multer=require('multer');var util=require(_0x23cf('0x0'));var path=require('path');var timeout=require(_0x23cf('0x1'));var express=require(_0x23cf('0x2'));var router=express[_0x23cf('0x3')]();var auth=require(_0x23cf('0x4'));var interaction=require(_0x23cf('0x5'));var config=require(_0x23cf('0x6'));var controller=require(_0x23cf('0x7'));router[_0x23cf('0x8')]('/',auth[_0x23cf('0x9')](),controller[_0x23cf('0xa')]);router['get']('/describe',auth[_0x23cf('0x9')](),controller[_0x23cf('0xb')]);router[_0x23cf('0x8')](_0x23cf('0xc'),auth[_0x23cf('0x9')](),controller['show']);router['post']('/',auth[_0x23cf('0x9')](),controller[_0x23cf('0xd')]);router[_0x23cf('0xe')](_0x23cf('0xc'),auth[_0x23cf('0x9')](),controller[_0x23cf('0xf')]);router['delete'](_0x23cf('0xc'),auth[_0x23cf('0x9')](),controller[_0x23cf('0x10')]);module[_0x23cf('0x11')]=router;