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 _0x6566=['get','/:id','isAuthenticated','show','put','update','delete','destroy','exports','util','path','express','Router','../../components/interaction/service','./chatApplication.controller'];(function(_0xa455d,_0x39459f){var _0x170400=function(_0x320408){while(--_0x320408){_0xa455d['push'](_0xa455d['shift']());}};_0x170400(++_0x39459f);}(_0x6566,0x171));var _0x6656=function(_0x65c50e,_0x1aa926){_0x65c50e=_0x65c50e-0x0;var _0x4573e7=_0x6566[_0x65c50e];return _0x4573e7;};'use strict';var multer=require('multer');var util=require(_0x6656('0x0'));var path=require(_0x6656('0x1'));var timeout=require('connect-timeout');var express=require(_0x6656('0x2'));var router=express[_0x6656('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x6656('0x4'));var config=require('../../config/environment');var controller=require(_0x6656('0x5'));router[_0x6656('0x6')](_0x6656('0x7'),auth[_0x6656('0x8')](),controller[_0x6656('0x9')]);router[_0x6656('0xa')](_0x6656('0x7'),auth[_0x6656('0x8')](),controller[_0x6656('0xb')]);router[_0x6656('0xc')](_0x6656('0x7'),auth[_0x6656('0x8')](),controller[_0x6656('0xd')]);module[_0x6656('0xe')]=router;