Built motion from commit (unavailable).|2.5.25
[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 _0xc1cf=['path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller','isAuthenticated','/describe','describe','/:id','post','create','put','update','delete','destroy','exports','multer','util'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xc1cf,0x124));var _0xfc1c=function(_0x55bbfb,_0x3e5dcc){_0x55bbfb=_0x55bbfb-0x0;var _0x39a826=_0xc1cf[_0x55bbfb];return _0x39a826;};'use strict';var multer=require(_0xfc1c('0x0'));var util=require(_0xfc1c('0x1'));var path=require(_0xfc1c('0x2'));var timeout=require(_0xfc1c('0x3'));var express=require(_0xfc1c('0x4'));var router=express[_0xfc1c('0x5')]();var auth=require(_0xfc1c('0x6'));var interaction=require(_0xfc1c('0x7'));var config=require(_0xfc1c('0x8'));var controller=require(_0xfc1c('0x9'));router['get']('/',auth[_0xfc1c('0xa')](),controller['index']);router['get'](_0xfc1c('0xb'),auth[_0xfc1c('0xa')](),controller[_0xfc1c('0xc')]);router['get'](_0xfc1c('0xd'),auth[_0xfc1c('0xa')](),controller['show']);router[_0xfc1c('0xe')]('/',auth['isAuthenticated'](),controller[_0xfc1c('0xf')]);router[_0xfc1c('0x10')](_0xfc1c('0xd'),auth[_0xfc1c('0xa')](),controller[_0xfc1c('0x11')]);router[_0xfc1c('0x12')](_0xfc1c('0xd'),auth[_0xfc1c('0xa')](),controller[_0xfc1c('0x13')]);module[_0xfc1c('0x14')]=router;