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