Built motion from commit 19a84241.|2.5.34
[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 _0x01be=['describe','/:id','post','create','put','update','delete','destroy','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./chatOfflineMessage.controller','get','isAuthenticated','/describe'];(function(_0xdcbbb,_0x39b964){var _0x19bb4e=function(_0x4952b7){while(--_0x4952b7){_0xdcbbb['push'](_0xdcbbb['shift']());}};_0x19bb4e(++_0x39b964);}(_0x01be,0xed));var _0xe01b=function(_0x6b6618,_0x39c4a2){_0x6b6618=_0x6b6618-0x0;var _0x130219=_0x01be[_0x6b6618];return _0x130219;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xe01b('0x0'));var timeout=require(_0xe01b('0x1'));var express=require(_0xe01b('0x2'));var router=express[_0xe01b('0x3')]();var fs_extra=require(_0xe01b('0x4'));var auth=require(_0xe01b('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xe01b('0x6'));router[_0xe01b('0x7')]('/',auth[_0xe01b('0x8')](),controller['index']);router[_0xe01b('0x7')](_0xe01b('0x9'),auth[_0xe01b('0x8')](),controller[_0xe01b('0xa')]);router[_0xe01b('0x7')](_0xe01b('0xb'),auth[_0xe01b('0x8')](),controller['show']);router[_0xe01b('0xc')]('/',auth[_0xe01b('0x8')](),controller[_0xe01b('0xd')]);router[_0xe01b('0xe')](_0xe01b('0xb'),auth[_0xe01b('0x8')](),controller[_0xe01b('0xf')]);router[_0xe01b('0x10')](_0xe01b('0xb'),auth['isAuthenticated'](),controller[_0xe01b('0x11')]);module[_0xe01b('0x12')]=router;