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 _0xf825=['isAuthenticated','index','/describe','describe','/:id','show','create','put','update','destroy','exports','multer','path','express','Router','fs-extra','../../components/auth/service','./chatOfflineMessage.controller','get'];(function(_0x55f262,_0x128c2a){var _0x87c97=function(_0x291176){while(--_0x291176){_0x55f262['push'](_0x55f262['shift']());}};_0x87c97(++_0x128c2a);}(_0xf825,0x128));var _0x5f82=function(_0x95a30d,_0x4f7559){_0x95a30d=_0x95a30d-0x0;var _0x12f1d3=_0xf825[_0x95a30d];return _0x12f1d3;};'use strict';var multer=require(_0x5f82('0x0'));var util=require('util');var path=require(_0x5f82('0x1'));var timeout=require('connect-timeout');var express=require(_0x5f82('0x2'));var router=express[_0x5f82('0x3')]();var fs_extra=require(_0x5f82('0x4'));var auth=require(_0x5f82('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x5f82('0x6'));router[_0x5f82('0x7')]('/',auth[_0x5f82('0x8')](),controller[_0x5f82('0x9')]);router[_0x5f82('0x7')](_0x5f82('0xa'),auth[_0x5f82('0x8')](),controller[_0x5f82('0xb')]);router[_0x5f82('0x7')](_0x5f82('0xc'),auth[_0x5f82('0x8')](),controller[_0x5f82('0xd')]);router['post']('/',auth[_0x5f82('0x8')](),controller[_0x5f82('0xe')]);router[_0x5f82('0xf')](_0x5f82('0xc'),auth[_0x5f82('0x8')](),controller[_0x5f82('0x10')]);router['delete'](_0x5f82('0xc'),auth[_0x5f82('0x8')](),controller[_0x5f82('0x11')]);module[_0x5f82('0x12')]=router;