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 _0x2f0a=['../../components/interaction/service','./chatApplication.controller','get','/:id','show','isAuthenticated','update','destroy','exports','path','connect-timeout','../../components/auth/service'];(function(_0x303064,_0x12f0c2){var _0x5a1d3d=function(_0x5b9d81){while(--_0x5b9d81){_0x303064['push'](_0x303064['shift']());}};_0x5a1d3d(++_0x12f0c2);}(_0x2f0a,0x99));var _0xa2f0=function(_0x3eb7f4,_0x2e154a){_0x3eb7f4=_0x3eb7f4-0x0;var _0x2be6ce=_0x2f0a[_0x3eb7f4];return _0x2be6ce;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xa2f0('0x0'));var timeout=require(_0xa2f0('0x1'));var express=require('express');var router=express['Router']();var auth=require(_0xa2f0('0x2'));var interaction=require(_0xa2f0('0x3'));var config=require('../../config/environment');var controller=require(_0xa2f0('0x4'));router[_0xa2f0('0x5')](_0xa2f0('0x6'),auth['isAuthenticated'](),controller[_0xa2f0('0x7')]);router['put'](_0xa2f0('0x6'),auth[_0xa2f0('0x8')](),controller[_0xa2f0('0x9')]);router['delete'](_0xa2f0('0x6'),auth['isAuthenticated'](),controller[_0xa2f0('0xa')]);module[_0xa2f0('0xb')]=router;