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 _0x7d80=['update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','/:id','isAuthenticated','show','put'];(function(_0x31bab3,_0x44554f){var _0x4fd382=function(_0x42b336){while(--_0x42b336){_0x31bab3['push'](_0x31bab3['shift']());}};_0x4fd382(++_0x44554f);}(_0x7d80,0xa6));var _0x07d8=function(_0x6eecec,_0x5624a1){_0x6eecec=_0x6eecec-0x0;var _0x151d8d=_0x7d80[_0x6eecec];return _0x151d8d;};'use strict';var multer=require(_0x07d8('0x0'));var util=require(_0x07d8('0x1'));var path=require(_0x07d8('0x2'));var timeout=require(_0x07d8('0x3'));var express=require(_0x07d8('0x4'));var router=express[_0x07d8('0x5')]();var fs_extra=require(_0x07d8('0x6'));var auth=require(_0x07d8('0x7'));var interaction=require(_0x07d8('0x8'));var config=require(_0x07d8('0x9'));var controller=require('./chatApplication.controller');router['get'](_0x07d8('0xa'),auth[_0x07d8('0xb')](),controller[_0x07d8('0xc')]);router[_0x07d8('0xd')](_0x07d8('0xa'),auth[_0x07d8('0xb')](),controller[_0x07d8('0xe')]);router[_0x07d8('0xf')](_0x07d8('0xa'),auth['isAuthenticated'](),controller[_0x07d8('0x10')]);module[_0x07d8('0x11')]=router;