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 _0x696c=['./chatApplication.controller','get','/:id','put','isAuthenticated','update','destroy','exports','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x4b2863,_0x494899){var _0x567d67=function(_0x751f03){while(--_0x751f03){_0x4b2863['push'](_0x4b2863['shift']());}};_0x567d67(++_0x494899);}(_0x696c,0x134));var _0xc696=function(_0xa98302,_0x844f27){_0xa98302=_0xa98302-0x0;var _0x1ad8e3=_0x696c[_0xa98302];return _0x1ad8e3;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xc696('0x0'));var timeout=require(_0xc696('0x1'));var express=require('express');var router=express[_0xc696('0x2')]();var fs_extra=require(_0xc696('0x3'));var auth=require(_0xc696('0x4'));var interaction=require(_0xc696('0x5'));var config=require(_0xc696('0x6'));var controller=require(_0xc696('0x7'));router[_0xc696('0x8')](_0xc696('0x9'),auth['isAuthenticated'](),controller['show']);router[_0xc696('0xa')]('/:id',auth[_0xc696('0xb')](),controller[_0xc696('0xc')]);router['delete'](_0xc696('0x9'),auth[_0xc696('0xb')](),controller[_0xc696('0xd')]);module[_0xc696('0xe')]=router;