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 _0x59c1=['../../components/interaction/service','./chatOfflineMessage.controller','isAuthenticated','index','get','/describe','/:id','show','update','delete','destroy','exports','multer','util','path','Router','../../components/auth/service'];(function(_0xa7e17d,_0x1a0c18){var _0x36a9e8=function(_0x3311ad){while(--_0x3311ad){_0xa7e17d['push'](_0xa7e17d['shift']());}};_0x36a9e8(++_0x1a0c18);}(_0x59c1,0x1e8));var _0x159c=function(_0x13617c,_0x2e6719){_0x13617c=_0x13617c-0x0;var _0x72cfb3=_0x59c1[_0x13617c];return _0x72cfb3;};'use strict';var multer=require(_0x159c('0x0'));var util=require(_0x159c('0x1'));var path=require(_0x159c('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x159c('0x3')]();var auth=require(_0x159c('0x4'));var interaction=require(_0x159c('0x5'));var config=require('../../config/environment');var controller=require(_0x159c('0x6'));router['get']('/',auth[_0x159c('0x7')](),controller[_0x159c('0x8')]);router[_0x159c('0x9')](_0x159c('0xa'),auth[_0x159c('0x7')](),controller['describe']);router[_0x159c('0x9')](_0x159c('0xb'),auth[_0x159c('0x7')](),controller[_0x159c('0xc')]);router['post']('/',auth[_0x159c('0x7')](),controller['create']);router['put']('/:id',auth[_0x159c('0x7')](),controller[_0x159c('0xd')]);router[_0x159c('0xe')]('/:id',auth[_0x159c('0x7')](),controller[_0x159c('0xf')]);module[_0x159c('0x10')]=router;