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 _0x254a=['../../components/auth/service','../../components/interaction/service','../../config/environment','./chatApplication.controller','get','isAuthenticated','show','put','/:id','delete','destroy','exports','util','path','connect-timeout','express','fs-extra'];(function(_0x4cbf8d,_0xfed709){var _0x3f1ef8=function(_0x2ac7f2){while(--_0x2ac7f2){_0x4cbf8d['push'](_0x4cbf8d['shift']());}};_0x3f1ef8(++_0xfed709);}(_0x254a,0x182));var _0xa254=function(_0x4ea17a,_0x4b9c83){_0x4ea17a=_0x4ea17a-0x0;var _0x58e65f=_0x254a[_0x4ea17a];return _0x58e65f;};'use strict';var multer=require('multer');var util=require(_0xa254('0x0'));var path=require(_0xa254('0x1'));var timeout=require(_0xa254('0x2'));var express=require(_0xa254('0x3'));var router=express['Router']();var fs_extra=require(_0xa254('0x4'));var auth=require(_0xa254('0x5'));var interaction=require(_0xa254('0x6'));var config=require(_0xa254('0x7'));var controller=require(_0xa254('0x8'));router[_0xa254('0x9')]('/:id',auth[_0xa254('0xa')](),controller[_0xa254('0xb')]);router[_0xa254('0xc')](_0xa254('0xd'),auth['isAuthenticated'](),controller['update']);router[_0xa254('0xe')](_0xa254('0xd'),auth[_0xa254('0xa')](),controller[_0xa254('0xf')]);module[_0xa254('0x10')]=router;