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 _0x72da=['./chatOfflineMessage.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment'];(function(_0x387517,_0x302240){var _0x5aaacc=function(_0x3e0b7a){while(--_0x3e0b7a){_0x387517['push'](_0x387517['shift']());}};_0x5aaacc(++_0x302240);}(_0x72da,0x117));var _0xa72d=function(_0x119d13,_0x263cd2){_0x119d13=_0x119d13-0x0;var _0x333c35=_0x72da[_0x119d13];return _0x333c35;};'use strict';var multer=require(_0xa72d('0x0'));var util=require(_0xa72d('0x1'));var path=require('path');var timeout=require(_0xa72d('0x2'));var express=require('express');var router=express[_0xa72d('0x3')]();var fs_extra=require(_0xa72d('0x4'));var auth=require(_0xa72d('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xa72d('0x6'));var controller=require(_0xa72d('0x7'));router[_0xa72d('0x8')]('/',auth[_0xa72d('0x9')](),controller[_0xa72d('0xa')]);router['get'](_0xa72d('0xb'),auth[_0xa72d('0x9')](),controller[_0xa72d('0xc')]);router['get'](_0xa72d('0xd'),auth[_0xa72d('0x9')](),controller[_0xa72d('0xe')]);router[_0xa72d('0xf')]('/',auth['isAuthenticated'](),controller[_0xa72d('0x10')]);router[_0xa72d('0x11')](_0xa72d('0xd'),auth[_0xa72d('0x9')](),controller[_0xa72d('0x12')]);router[_0xa72d('0x13')](_0xa72d('0xd'),auth[_0xa72d('0x9')](),controller[_0xa72d('0x14')]);module[_0xa72d('0x15')]=router;