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 _0x98e2=['destroy','multer','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatApplication.controller','/:id','isAuthenticated','put','delete'];(function(_0x2763f2,_0x416af8){var _0x3ef471=function(_0x288aa2){while(--_0x288aa2){_0x2763f2['push'](_0x2763f2['shift']());}};_0x3ef471(++_0x416af8);}(_0x98e2,0x151));var _0x298e=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x98e2[_0x321bb2];return _0x9c12ed;};'use strict';var multer=require(_0x298e('0x0'));var util=require(_0x298e('0x1'));var path=require(_0x298e('0x2'));var timeout=require(_0x298e('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x298e('0x4'));var auth=require(_0x298e('0x5'));var interaction=require(_0x298e('0x6'));var config=require(_0x298e('0x7'));var controller=require(_0x298e('0x8'));router['get'](_0x298e('0x9'),auth[_0x298e('0xa')](),controller['show']);router[_0x298e('0xb')](_0x298e('0x9'),auth[_0x298e('0xa')](),controller['update']);router[_0x298e('0xc')](_0x298e('0x9'),auth[_0x298e('0xa')](),controller[_0x298e('0xd')]);module['exports']=router;