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 _0x01c5=['../../components/interaction/service','../../config/environment','get','/:id','isAuthenticated','show','update','delete','destroy','exports','multer','util','path','express','../../components/auth/service'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0x01c5,0x145));var _0x501c=function(_0x249607,_0x51b312){_0x249607=_0x249607-0x0;var _0x586fd7=_0x01c5[_0x249607];return _0x586fd7;};'use strict';var multer=require(_0x501c('0x0'));var util=require(_0x501c('0x1'));var path=require(_0x501c('0x2'));var timeout=require('connect-timeout');var express=require(_0x501c('0x3'));var router=express['Router']();var auth=require(_0x501c('0x4'));var interaction=require(_0x501c('0x5'));var config=require(_0x501c('0x6'));var controller=require('./chatApplication.controller');router[_0x501c('0x7')](_0x501c('0x8'),auth[_0x501c('0x9')](),controller[_0x501c('0xa')]);router['put'](_0x501c('0x8'),auth['isAuthenticated'](),controller[_0x501c('0xb')]);router[_0x501c('0xc')](_0x501c('0x8'),auth[_0x501c('0x9')](),controller[_0x501c('0xd')]);module[_0x501c('0xe')]=router;