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 _0xd2cc=['./chatApplication.controller','get','/:id','isAuthenticated','show','put','update','destroy','util','path','connect-timeout','Router','../../components/auth/service'];(function(_0x53abe5,_0x33a9e5){var _0xc1c37e=function(_0xd53c6e){while(--_0xd53c6e){_0x53abe5['push'](_0x53abe5['shift']());}};_0xc1c37e(++_0x33a9e5);}(_0xd2cc,0x14d));var _0xcd2c=function(_0x1dd175,_0x590a7b){_0x1dd175=_0x1dd175-0x0;var _0x53539a=_0xd2cc[_0x1dd175];return _0x53539a;};'use strict';var multer=require('multer');var util=require(_0xcd2c('0x0'));var path=require(_0xcd2c('0x1'));var timeout=require(_0xcd2c('0x2'));var express=require('express');var router=express[_0xcd2c('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xcd2c('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xcd2c('0x5'));router[_0xcd2c('0x6')](_0xcd2c('0x7'),auth[_0xcd2c('0x8')](),controller[_0xcd2c('0x9')]);router[_0xcd2c('0xa')](_0xcd2c('0x7'),auth['isAuthenticated'](),controller[_0xcd2c('0xb')]);router['delete'](_0xcd2c('0x7'),auth[_0xcd2c('0x8')](),controller[_0xcd2c('0xc')]);module['exports']=router;