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 _0x8504=['put','update','delete','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatInternalMessage.controller','isAuthenticated','get','/describe','describe','/users','getUsers','/:id','show','post','create'];(function(_0x5b893a,_0x181a26){var _0x17d001=function(_0x380ca6){while(--_0x380ca6){_0x5b893a['push'](_0x5b893a['shift']());}};_0x17d001(++_0x181a26);}(_0x8504,0xac));var _0x4850=function(_0xf785ae,_0x211032){_0xf785ae=_0xf785ae-0x0;var _0x2e9f79=_0x8504[_0xf785ae];return _0x2e9f79;};'use strict';var multer=require(_0x4850('0x0'));var util=require('util');var path=require(_0x4850('0x1'));var timeout=require(_0x4850('0x2'));var express=require(_0x4850('0x3'));var router=express[_0x4850('0x4')]();var fs_extra=require(_0x4850('0x5'));var auth=require(_0x4850('0x6'));var interaction=require(_0x4850('0x7'));var config=require(_0x4850('0x8'));var controller=require(_0x4850('0x9'));router['get']('/',auth[_0x4850('0xa')](),controller['index']);router[_0x4850('0xb')](_0x4850('0xc'),auth[_0x4850('0xa')](),controller[_0x4850('0xd')]);router[_0x4850('0xb')](_0x4850('0xe'),auth[_0x4850('0xa')](),controller[_0x4850('0xf')]);router[_0x4850('0xb')](_0x4850('0x10'),auth[_0x4850('0xa')](),controller[_0x4850('0x11')]);router[_0x4850('0x12')]('/',auth[_0x4850('0xa')](),controller[_0x4850('0x13')]);router[_0x4850('0x14')](_0x4850('0x10'),controller[_0x4850('0x15')]);router[_0x4850('0x16')](_0x4850('0x10'),auth['isAuthenticated'](),controller['destroy']);module[_0x4850('0x17')]=router;