Built motion from commit 10af8726.|2.6.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 _0x2caa=['isAuthenticated','/:id','show','post','create','put','update','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./chatOfflineMessage.controller','get'];(function(_0x2b4411,_0x2625ed){var _0x8e41ef=function(_0x2aa8c1){while(--_0x2aa8c1){_0x2b4411['push'](_0x2b4411['shift']());}};_0x8e41ef(++_0x2625ed);}(_0x2caa,0x1d1));var _0xa2ca=function(_0x336376,_0xe4b28d){_0x336376=_0x336376-0x0;var _0x1d2a8e=_0x2caa[_0x336376];return _0x1d2a8e;};'use strict';var multer=require(_0xa2ca('0x0'));var util=require('util');var path=require(_0xa2ca('0x1'));var timeout=require(_0xa2ca('0x2'));var express=require(_0xa2ca('0x3'));var router=express[_0xa2ca('0x4')]();var fs_extra=require(_0xa2ca('0x5'));var auth=require(_0xa2ca('0x6'));var interaction=require(_0xa2ca('0x7'));var config=require('../../config/environment');var controller=require(_0xa2ca('0x8'));router[_0xa2ca('0x9')]('/',auth[_0xa2ca('0xa')](),controller['index']);router['get']('/describe',auth[_0xa2ca('0xa')](),controller['describe']);router[_0xa2ca('0x9')](_0xa2ca('0xb'),auth['isAuthenticated'](),controller[_0xa2ca('0xc')]);router[_0xa2ca('0xd')]('/',auth['isAuthenticated'](),controller[_0xa2ca('0xe')]);router[_0xa2ca('0xf')](_0xa2ca('0xb'),auth[_0xa2ca('0xa')](),controller[_0xa2ca('0x10')]);router['delete']('/:id',auth[_0xa2ca('0xa')](),controller[_0xa2ca('0x11')]);module[_0xa2ca('0x12')]=router;