a13ea04dc81f8d055ebd715b0529fa9ff1ae713c
[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 _0x3630=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller','get','isAuthenticated','/describe','describe','show','post','create','put','/:id','update','delete','destroy','multer','path','connect-timeout'];(function(_0x2ea4a8,_0x1492b7){var _0x4c5d54=function(_0x5e7726){while(--_0x5e7726){_0x2ea4a8['push'](_0x2ea4a8['shift']());}};_0x4c5d54(++_0x1492b7);}(_0x3630,0x66));var _0x0363=function(_0x2f801f,_0x4c6074){_0x2f801f=_0x2f801f-0x0;var _0x5a3ecc=_0x3630[_0x2f801f];return _0x5a3ecc;};'use strict';var multer=require(_0x0363('0x0'));var util=require('util');var path=require(_0x0363('0x1'));var timeout=require(_0x0363('0x2'));var express=require(_0x0363('0x3'));var router=express[_0x0363('0x4')]();var auth=require(_0x0363('0x5'));var interaction=require(_0x0363('0x6'));var config=require(_0x0363('0x7'));var controller=require(_0x0363('0x8'));router[_0x0363('0x9')]('/',auth[_0x0363('0xa')](),controller['index']);router[_0x0363('0x9')](_0x0363('0xb'),auth[_0x0363('0xa')](),controller[_0x0363('0xc')]);router[_0x0363('0x9')]('/:id',auth[_0x0363('0xa')](),controller[_0x0363('0xd')]);router[_0x0363('0xe')]('/',auth['isAuthenticated'](),controller[_0x0363('0xf')]);router[_0x0363('0x10')](_0x0363('0x11'),auth[_0x0363('0xa')](),controller[_0x0363('0x12')]);router[_0x0363('0x13')]('/:id',auth['isAuthenticated'](),controller[_0x0363('0x14')]);module['exports']=router;