Built motion from commit (unavailable).|2.3.4
[motion2.git] / server / api / chatOfflineMessage / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x8fcf=['util','path','express','../../config/environment','./chatOfflineMessage.controller','get','isAuthenticated','index','/describe','show','post','create','/:id','delete','destroy','exports','multer'];(function(_0x1c6f8,_0x18af22){var _0xc47f94=function(_0x280668){while(--_0x280668){_0x1c6f8['push'](_0x1c6f8['shift']());}};_0xc47f94(++_0x18af22);}(_0x8fcf,0x1db));var _0xf8fc=function(_0x53b1ab,_0x1e8030){_0x53b1ab=_0x53b1ab-0x0;var _0x415982=_0x8fcf[_0x53b1ab];return _0x415982;};'use strict';var multer=require(_0xf8fc('0x0'));var util=require(_0xf8fc('0x1'));var path=require(_0xf8fc('0x2'));var timeout=require('connect-timeout');var express=require(_0xf8fc('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xf8fc('0x4'));var controller=require(_0xf8fc('0x5'));router[_0xf8fc('0x6')]('/',auth[_0xf8fc('0x7')](),controller[_0xf8fc('0x8')]);router[_0xf8fc('0x6')](_0xf8fc('0x9'),auth[_0xf8fc('0x7')](),controller['describe']);router[_0xf8fc('0x6')]('/:id',auth[_0xf8fc('0x7')](),controller[_0xf8fc('0xa')]);router[_0xf8fc('0xb')]('/',auth[_0xf8fc('0x7')](),controller[_0xf8fc('0xc')]);router['put'](_0xf8fc('0xd'),auth[_0xf8fc('0x7')](),controller['update']);router[_0xf8fc('0xe')](_0xf8fc('0xd'),auth[_0xf8fc('0x7')](),controller[_0xf8fc('0xf')]);module[_0xf8fc('0x10')]=router;