Built motion from commit (unavailable).|2.5.3
[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 _0x4279=['/:id','post','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller','get','isAuthenticated','index','/describe','describe'];(function(_0x30c0ab,_0x5e60df){var _0x7d821=function(_0x367c1d){while(--_0x367c1d){_0x30c0ab['push'](_0x30c0ab['shift']());}};_0x7d821(++_0x5e60df);}(_0x4279,0x1a7));var _0x9427=function(_0x2b0ffe,_0x98835a){_0x2b0ffe=_0x2b0ffe-0x0;var _0x1094b7=_0x4279[_0x2b0ffe];return _0x1094b7;};'use strict';var multer=require('multer');var util=require(_0x9427('0x0'));var path=require(_0x9427('0x1'));var timeout=require(_0x9427('0x2'));var express=require(_0x9427('0x3'));var router=express[_0x9427('0x4')]();var auth=require(_0x9427('0x5'));var interaction=require(_0x9427('0x6'));var config=require(_0x9427('0x7'));var controller=require(_0x9427('0x8'));router[_0x9427('0x9')]('/',auth[_0x9427('0xa')](),controller[_0x9427('0xb')]);router[_0x9427('0x9')](_0x9427('0xc'),auth[_0x9427('0xa')](),controller[_0x9427('0xd')]);router[_0x9427('0x9')](_0x9427('0xe'),auth['isAuthenticated'](),controller['show']);router[_0x9427('0xf')]('/',auth[_0x9427('0xa')](),controller['create']);router['put'](_0x9427('0xe'),auth[_0x9427('0xa')](),controller['update']);router[_0x9427('0x10')](_0x9427('0xe'),auth[_0x9427('0xa')](),controller[_0x9427('0x11')]);module[_0x9427('0x12')]=router;