Built motion from commit (unavailable).|2.5.20
[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 _0x86ab=['update','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','./chatOfflineMessage.controller','get','isAuthenticated','index','describe','/:id','post','put'];(function(_0x9c4a83,_0x484a5c){var _0x4969a8=function(_0x533134){while(--_0x533134){_0x9c4a83['push'](_0x9c4a83['shift']());}};_0x4969a8(++_0x484a5c);}(_0x86ab,0x100));var _0xb86a=function(_0x4d1e19,_0x28035b){_0x4d1e19=_0x4d1e19-0x0;var _0x2e4e12=_0x86ab[_0x4d1e19];return _0x2e4e12;};'use strict';var multer=require(_0xb86a('0x0'));var util=require('util');var path=require(_0xb86a('0x1'));var timeout=require(_0xb86a('0x2'));var express=require(_0xb86a('0x3'));var router=express[_0xb86a('0x4')]();var auth=require(_0xb86a('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xb86a('0x6'));router[_0xb86a('0x7')]('/',auth[_0xb86a('0x8')](),controller[_0xb86a('0x9')]);router[_0xb86a('0x7')]('/describe',auth[_0xb86a('0x8')](),controller[_0xb86a('0xa')]);router['get'](_0xb86a('0xb'),auth['isAuthenticated'](),controller['show']);router[_0xb86a('0xc')]('/',auth[_0xb86a('0x8')](),controller['create']);router[_0xb86a('0xd')]('/:id',auth['isAuthenticated'](),controller[_0xb86a('0xe')]);router[_0xb86a('0xf')](_0xb86a('0xb'),auth[_0xb86a('0x8')](),controller[_0xb86a('0x10')]);module[_0xb86a('0x11')]=router;